diff --git a/.env b/.env index 07f6cf8661..2e5c45603c 100644 --- a/.env +++ b/.env @@ -15,6 +15,7 @@ _APP_SYSTEM_TEAM_EMAIL=team@appwrite.io _APP_EMAIL_SECURITY=security@appwrite.io _APP_EMAIL_CERTIFICATES=certificates@appwrite.io _APP_SYSTEM_RESPONSE_FORMAT= +_APP_CUSTOM_DOMAIN_DENY_LIST= _APP_OPTIONS_ABUSE=disabled _APP_OPTIONS_ROUTER_PROTECTION=disabled _APP_OPTIONS_FORCE_HTTPS=disabled diff --git a/Dockerfile b/Dockerfile index 17f66b6074..30b017b573 100755 --- a/Dockerfile +++ b/Dockerfile @@ -89,7 +89,6 @@ RUN chmod +x /usr/local/bin/doctor && \ chmod +x /usr/local/bin/worker-migrations && \ chmod +x /usr/local/bin/worker-webhooks && \ chmod +x /usr/local/bin/worker-stats-usage && \ - chmod +x /usr/local/bin/worker-stats-usage-dump && \ chmod +x /usr/local/bin/stats-resources && \ chmod +x /usr/local/bin/worker-stats-resources diff --git a/app/cli.php b/app/cli.php index b0e976451b..d1e439cac4 100644 --- a/app/cli.php +++ b/app/cli.php @@ -219,6 +219,13 @@ CLI::setResource('queueForCertificates', function (Publisher $publisher) { }, ['publisher']); CLI::setResource('logError', function (Registry $register) { return function (Throwable $error, string $namespace, string $action) use ($register) { + Console::error('[Error] Timestamp: ' . date('c', time())); + Console::error('[Error] Type: ' . get_class($error)); + Console::error('[Error] Message: ' . $error->getMessage()); + Console::error('[Error] File: ' . $error->getFile()); + Console::error('[Error] Line: ' . $error->getLine()); + Console::error('[Error] Trace: ' . $error->getTraceAsString()); + $logger = $register->get('logger'); if ($logger) { @@ -237,6 +244,7 @@ CLI::setResource('logError', function (Registry $register) { $log->addExtra('file', $error->getFile()); $log->addExtra('line', $error->getLine()); $log->addExtra('trace', $error->getTraceAsString()); + $log->addExtra('detailedTrace', $error->getTrace()); $log->setAction($action); @@ -250,24 +258,34 @@ CLI::setResource('logError', function (Registry $register) { Console::error('Error pushing log: ' . $th->getMessage()); } } - - Console::warning("Failed: {$error->getMessage()}"); - Console::warning($error->getTraceAsString()); }; }, ['register']); CLI::setResource('executor', fn () => new Executor(fn (string $projectId, string $deploymentId) => System::getEnv('_APP_EXECUTOR_HOST'))); $platform = new Appwrite(); -$platform->init(Service::TYPE_TASK); +$args = $platform->getEnv('argv'); +if (!isset($args[0])) { + Console::error('Missing task name'); + Console::exit(1); +} + +\array_shift($args); +$taskName = $args[0]; +$platform->init(Service::TYPE_TASK); $cli = $platform->getCli(); $cli ->error() ->inject('error') - ->action(function (Throwable $error) { - Console::error($error->getMessage()); + ->inject('logError') + ->action(function (Throwable $error, callable $logError) use ($taskName) { + call_user_func_array($logError, [ + $error, + 'Task', + $taskName, + ]); }); $cli->run(); diff --git a/app/config/collections/platform.php b/app/config/collections/platform.php index ce8be6a874..e53194c513 100644 --- a/app/config/collections/platform.php +++ b/app/config/collections/platform.php @@ -1148,7 +1148,7 @@ return [ 'format' => '', 'size' => 32, 'signed' => true, - 'required' => true, + 'required' => false, 'default' => null, 'array' => false, 'filters' => [], diff --git a/app/config/errors.php b/app/config/errors.php index 949b11e8d1..9d30170c2d 100644 --- a/app/config/errors.php +++ b/app/config/errors.php @@ -651,6 +651,11 @@ return [ 'description' => 'Database timed out. Try adjusting your queries or adding an index.', 'code' => 408 ], + Exception::DATABASE_QUERY_ORDER_NULL => [ + 'name' => Exception::DATABASE_QUERY_ORDER_NULL, + 'description' => 'The order attribute had a null value. Cursor pagination requires all documents order attribute values are non-null.', + 'code' => 400, + ], /** Collections */ Exception::COLLECTION_NOT_FOUND => [ diff --git a/app/config/oAuthProviders.php b/app/config/oAuthProviders.php index 9d7efc2f1e..261df5c07e 100644 --- a/app/config/oAuthProviders.php +++ b/app/config/oAuthProviders.php @@ -142,6 +142,16 @@ return [ 'beta' => false, 'mock' => false, ], + 'figma' => [ + 'name' => 'Figma', + 'developers' => 'https://www.figma.com/developers/api#oauth2', + 'icon' => 'icon-figma', + 'enabled' => true, + 'sandbox' => false, + 'form' => false, + 'beta' => false, + 'mock' => false, + ], 'github' => [ 'name' => 'GitHub', 'developers' => 'https://developer.github.com/', diff --git a/app/config/platforms.php b/app/config/platforms.php index 86f0a756c9..ec280196fa 100644 --- a/app/config/platforms.php +++ b/app/config/platforms.php @@ -11,7 +11,7 @@ return [ [ 'key' => 'web', 'name' => 'Web', - 'version' => '17.0.1', + 'version' => '17.0.2', 'url' => 'https://github.com/appwrite/sdk-for-web', 'package' => 'https://www.npmjs.com/package/appwrite', 'enabled' => true, @@ -59,7 +59,7 @@ return [ [ 'key' => 'flutter', 'name' => 'Flutter', - 'version' => '15.0.0', + 'version' => '15.0.1', 'url' => 'https://github.com/appwrite/sdk-for-flutter', 'package' => 'https://pub.dev/packages/appwrite', 'enabled' => true, @@ -77,7 +77,7 @@ return [ [ 'key' => 'apple', 'name' => 'Apple', - 'version' => '9.0.0', + 'version' => '9.0.1', 'url' => 'https://github.com/appwrite/sdk-for-apple', 'package' => 'https://github.com/appwrite/sdk-for-apple', 'enabled' => true, @@ -112,7 +112,7 @@ return [ [ 'key' => 'android', 'name' => 'Android', - 'version' => '6.1.0', + 'version' => '7.0.1', 'url' => 'https://github.com/appwrite/sdk-for-android', 'package' => 'https://search.maven.org/artifact/io.appwrite/sdk-for-android', 'enabled' => true, @@ -134,7 +134,7 @@ return [ [ 'key' => 'react-native', 'name' => 'React Native', - 'version' => '0.7.1', + 'version' => '0.7.3', 'url' => 'https://github.com/appwrite/sdk-for-react-native', 'package' => 'https://npmjs.com/package/react-native-appwrite', 'enabled' => true, @@ -217,7 +217,7 @@ return [ [ 'key' => 'cli', 'name' => 'Command Line', - 'version' => '6.2.2', + 'version' => '6.2.3', 'url' => 'https://github.com/appwrite/sdk-for-cli', 'package' => 'https://www.npmjs.com/package/appwrite-cli', 'enabled' => true, @@ -245,7 +245,7 @@ return [ [ 'key' => 'nodejs', 'name' => 'Node.js', - 'version' => '15.0.1', + 'version' => '16.0.0', 'url' => 'https://github.com/appwrite/sdk-for-node', 'package' => 'https://www.npmjs.com/package/node-appwrite', 'enabled' => true, @@ -263,7 +263,7 @@ return [ [ 'key' => 'deno', 'name' => 'Deno', - 'version' => '12.2.0', + 'version' => '14.0.0', 'url' => 'https://github.com/appwrite/sdk-for-deno', 'package' => 'https://deno.land/x/appwrite', 'enabled' => true, @@ -281,7 +281,7 @@ return [ [ 'key' => 'php', 'name' => 'PHP', - 'version' => '12.2.0', + 'version' => '14.0.0', 'url' => 'https://github.com/appwrite/sdk-for-php', 'package' => 'https://packagist.org/packages/appwrite/appwrite', 'enabled' => true, @@ -299,7 +299,7 @@ return [ [ 'key' => 'python', 'name' => 'Python', - 'version' => '9.0.2', + 'version' => '10.0.0', 'url' => 'https://github.com/appwrite/sdk-for-python', 'package' => 'https://pypi.org/project/appwrite/', 'enabled' => true, @@ -317,7 +317,7 @@ return [ [ 'key' => 'ruby', 'name' => 'Ruby', - 'version' => '12.2.0', + 'version' => '15.0.0', 'url' => 'https://github.com/appwrite/sdk-for-ruby', 'package' => 'https://rubygems.org/gems/appwrite', 'enabled' => true, @@ -335,7 +335,7 @@ return [ [ 'key' => 'go', 'name' => 'Go', - 'version' => '0.3.0', + 'version' => '0.5.0', 'url' => 'https://github.com/appwrite/sdk-for-go', 'package' => 'https://github.com/appwrite/sdk-for-go', 'enabled' => true, @@ -353,7 +353,7 @@ return [ [ 'key' => 'dotnet', 'name' => '.NET', - 'version' => '0.11.0', + 'version' => '0.12.0', 'url' => 'https://github.com/appwrite/sdk-for-dotnet', 'package' => 'https://www.nuget.org/packages/Appwrite', 'enabled' => true, @@ -371,7 +371,7 @@ return [ [ 'key' => 'dart', 'name' => 'Dart', - 'version' => '14.0.0', + 'version' => '15.0.0', 'url' => 'https://github.com/appwrite/sdk-for-dart', 'package' => 'https://pub.dev/packages/dart_appwrite', 'enabled' => true, @@ -389,7 +389,7 @@ return [ [ 'key' => 'kotlin', 'name' => 'Kotlin', - 'version' => '6.2.0', + 'version' => '8.0.0', 'url' => 'https://github.com/appwrite/sdk-for-kotlin', 'package' => 'https://search.maven.org/artifact/io.appwrite/sdk-for-kotlin', 'enabled' => true, @@ -411,7 +411,7 @@ return [ [ 'key' => 'swift', 'name' => 'Swift', - 'version' => '8.0.0', + 'version' => '9.0.0', 'url' => 'https://github.com/appwrite/sdk-for-swift', 'package' => 'https://github.com/appwrite/sdk-for-swift', 'enabled' => true, diff --git a/app/config/specs/open-api3-1.5.x-client.json b/app/config/specs/open-api3-1.5.x-client.json index 60fb7b4f32..4a9f55f9cc 100644 --- a/app/config/specs/open-api3-1.5.x-client.json +++ b/app/config/specs/open-api3-1.5.x-client.json @@ -1 +1,9715 @@ -{"openapi":"3.0.0","info":{"version":"1.5.8","title":"Appwrite","description":"Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https:\/\/appwrite.io\/docs](https:\/\/appwrite.io\/docs)","termsOfService":"https:\/\/appwrite.io\/policy\/terms","contact":{"name":"Appwrite Team","url":"https:\/\/appwrite.io\/support","email":"team@appwrite.io"},"license":{"name":"BSD-3-Clause","url":"https:\/\/raw.githubusercontent.com\/appwrite\/appwrite\/master\/LICENSE"}},"servers":[{"url":"https:\/\/cloud.appwrite.io\/v1"}],"paths":{"\/account":{"get":{"summary":"Get account","operationId":"accountGet","tags":["account"],"description":"Get the currently logged in user.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"get","weight":8,"cookies":false,"type":"","deprecated":false,"demo":"account\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]},"post":{"summary":"Create account","operationId":"accountCreate","tags":["account"],"description":"Use this endpoint to allow a new user to register a new account in your project. After the user registration completes successfully, you can use the [\/account\/verfication](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createVerification) route to start verifying the user email address. To allow the new user to login to their new account, you need to create a new [account session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createEmailSession).","responses":{"201":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"create","weight":7,"cookies":false,"type":"","deprecated":false,"demo":"account\/create.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":""},"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"password":{"type":"string","description":"New user password. Must be between 8 and 256 chars.","x-example":null},"name":{"type":"string","description":"User name. Max length: 128 chars.","x-example":""}},"required":["userId","email","password"]}}}}}},"\/account\/email":{"patch":{"summary":"Update email","operationId":"accountUpdateEmail","tags":["account"],"description":"Update currently logged in user account email address. After changing user address, the user confirmation status will get reset. A new confirmation email is not sent automatically however you can use the send confirmation email endpoint again to send the confirmation email. For security measures, user password is required to complete this request.\nThis endpoint can also be used to convert an anonymous account to a normal one, by passing an email address and a new password.\n","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updateEmail","weight":33,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-email.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"password":{"type":"string","description":"User password. Must be at least 8 chars.","x-example":"password"}},"required":["email","password"]}}}}}},"\/account\/identities":{"get":{"summary":"List Identities","operationId":"accountListIdentities","tags":["account"],"description":"Get the list of identities for the currently logged in user.","responses":{"200":{"description":"Identities List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/identityList"}}}}},"x-appwrite":{"method":"listIdentities","weight":56,"cookies":false,"type":"","deprecated":false,"demo":"account\/list-identities.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-identities.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account\/identities","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, provider, providerUid, providerEmail, providerAccessTokenExpiry","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]}},"\/account\/identities\/{identityId}":{"delete":{"summary":"Delete identity","operationId":"accountDeleteIdentity","tags":["account"],"description":"Delete an identity by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteIdentity","weight":57,"cookies":false,"type":"","deprecated":false,"demo":"account\/delete-identity.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-identity.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"identityId","description":"Identity ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]}},"\/account\/jwt":{"post":{"summary":"Create JWT","operationId":"accountCreateJWT","tags":["account"],"description":"Use this endpoint to create a JSON Web Token. You can use the resulting JWT to authenticate on behalf of the current user when working with the Appwrite server-side API and SDKs. The JWT secret is valid for 15 minutes from its creation and will be invalid if the user will logout in that time frame.","responses":{"201":{"description":"JWT","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/jwt"}}}}},"x-appwrite":{"method":"createJWT","weight":28,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-j-w-t.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md","rate-limit":100,"rate-time":3600,"rate-key":"url:{url},userId:{userId}","scope":"account","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}]}},"\/account\/logs":{"get":{"summary":"List logs","operationId":"accountListLogs","tags":["account"],"description":"Get the list of latest security activity logs for the currently logged in user. Each log returns user IP address, location and date and time of log.","responses":{"200":{"description":"Logs List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/logList"}}}}},"x-appwrite":{"method":"listLogs","weight":30,"cookies":false,"type":"","deprecated":false,"demo":"account\/list-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]}},"\/account\/mfa":{"patch":{"summary":"Update MFA","operationId":"accountUpdateMFA","tags":["account"],"description":"Enable or disable MFA on an account.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updateMFA","weight":43,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-m-f-a.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"mfa":{"type":"boolean","description":"Enable or disable MFA.","x-example":false}},"required":["mfa"]}}}}}},"\/account\/mfa\/authenticators\/{type}":{"post":{"summary":"Create Authenticator","operationId":"accountCreateMfaAuthenticator","tags":["account"],"description":"Add an authenticator app to be used as an MFA factor. Verify the authenticator using the [verify authenticator](\/docs\/references\/cloud\/client-web\/account#updateMfaAuthenticator) method.","responses":{"200":{"description":"MFAType","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/mfaType"}}}}},"x-appwrite":{"method":"createMfaAuthenticator","weight":45,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-mfa-authenticator.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-authenticator.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"type","description":"Type of authenticator. Must be `totp`","required":true,"schema":{"type":"string","x-example":"totp","enum":["totp"],"x-enum-name":"AuthenticatorType","x-enum-keys":[]},"in":"path"}]},"put":{"summary":"Verify Authenticator","operationId":"accountUpdateMfaAuthenticator","tags":["account"],"description":"Verify an authenticator app after adding it using the [add authenticator](\/docs\/references\/cloud\/client-web\/account#createMfaAuthenticator) method.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updateMfaAuthenticator","weight":46,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-mfa-authenticator.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-authenticator.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"type","description":"Type of authenticator.","required":true,"schema":{"type":"string","x-example":"totp","enum":["totp"],"x-enum-name":"AuthenticatorType","x-enum-keys":[]},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"otp":{"type":"string","description":"Valid verification token.","x-example":""}},"required":["otp"]}}}}},"delete":{"summary":"Delete Authenticator","operationId":"accountDeleteMfaAuthenticator","tags":["account"],"description":"Delete an authenticator for a user by ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteMfaAuthenticator","weight":50,"cookies":false,"type":"","deprecated":false,"demo":"account\/delete-mfa-authenticator.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-mfa-authenticator.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"type","description":"Type of authenticator.","required":true,"schema":{"type":"string","x-example":"totp","enum":["totp"],"x-enum-name":"AuthenticatorType","x-enum-keys":[]},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"otp":{"type":"string","description":"Valid verification token.","x-example":""}},"required":["otp"]}}}}}},"\/account\/mfa\/challenge":{"post":{"summary":"Create MFA Challenge","operationId":"accountCreateMfaChallenge","tags":["account"],"description":"Begin the process of MFA verification after sign-in. Finish the flow with [updateMfaChallenge](\/docs\/references\/cloud\/client-web\/account#updateMfaChallenge) method.","responses":{"201":{"description":"MFA Challenge","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/mfaChallenge"}}}}},"x-appwrite":{"method":"createMfaChallenge","weight":51,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-mfa-challenge.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},token:{param-token}","scope":"account","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"factor":{"type":"string","description":"Factor used for verification. Must be one of following: `email`, `phone`, `totp`, `recoveryCode`.","x-example":"email","enum":["email","phone","totp","recoverycode"],"x-enum-name":"AuthenticationFactor","x-enum-keys":[]}},"required":["factor"]}}}}},"put":{"summary":"Create MFA Challenge (confirmation)","operationId":"accountUpdateMfaChallenge","tags":["account"],"description":"Complete the MFA challenge by providing the one-time password. Finish the process of MFA verification by providing the one-time password. To begin the flow, use [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method.","responses":{"204":{"description":"No content","content":{"":{"schema":{"$ref":"#\/components\/schemas\/session"}}}}},"x-appwrite":{"method":"updateMfaChallenge","weight":52,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-mfa-challenge.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md","rate-limit":10,"rate-time":3600,"rate-key":"userId:{param-userId}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"challengeId":{"type":"string","description":"ID of the challenge.","x-example":""},"otp":{"type":"string","description":"Valid verification token.","x-example":""}},"required":["challengeId","otp"]}}}}}},"\/account\/mfa\/factors":{"get":{"summary":"List Factors","operationId":"accountListMfaFactors","tags":["account"],"description":"List the factors available on the account to be used as a MFA challange.","responses":{"200":{"description":"MFAFactors","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/mfaFactors"}}}}},"x-appwrite":{"method":"listMfaFactors","weight":44,"cookies":false,"type":"","deprecated":false,"demo":"account\/list-mfa-factors.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-mfa-factors.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/account\/mfa\/recovery-codes":{"get":{"summary":"Get MFA Recovery Codes","operationId":"accountGetMfaRecoveryCodes","tags":["account"],"description":"Get recovery codes that can be used as backup for MFA flow. Before getting codes, they must be generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method. An OTP challenge is required to read recovery codes.","responses":{"200":{"description":"MFA Recovery Codes","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/mfaRecoveryCodes"}}}}},"x-appwrite":{"method":"getMfaRecoveryCodes","weight":49,"cookies":false,"type":"","deprecated":false,"demo":"account\/get-mfa-recovery-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-mfa-recovery-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]},"post":{"summary":"Create MFA Recovery Codes","operationId":"accountCreateMfaRecoveryCodes","tags":["account"],"description":"Generate recovery codes as backup for MFA flow. It's recommended to generate and show then immediately after user successfully adds their authehticator. Recovery codes can be used as a MFA verification type in [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method.","responses":{"201":{"description":"MFA Recovery Codes","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/mfaRecoveryCodes"}}}}},"x-appwrite":{"method":"createMfaRecoveryCodes","weight":47,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-mfa-recovery-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-recovery-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]},"patch":{"summary":"Regenerate MFA Recovery Codes","operationId":"accountUpdateMfaRecoveryCodes","tags":["account"],"description":"Regenerate recovery codes that can be used as backup for MFA flow. Before regenerating codes, they must be first generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method. An OTP challenge is required to regenreate recovery codes.","responses":{"200":{"description":"MFA Recovery Codes","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/mfaRecoveryCodes"}}}}},"x-appwrite":{"method":"updateMfaRecoveryCodes","weight":48,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-mfa-recovery-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-recovery-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/account\/name":{"patch":{"summary":"Update name","operationId":"accountUpdateName","tags":["account"],"description":"Update currently logged in user account name.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updateName","weight":31,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-name.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-name.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"User name. Max length: 128 chars.","x-example":""}},"required":["name"]}}}}}},"\/account\/password":{"patch":{"summary":"Update password","operationId":"accountUpdatePassword","tags":["account"],"description":"Update currently logged in user password. For validation, user is required to pass in the new password, and the old password. For users created with OAuth, Team Invites and Magic URL, oldPassword is optional.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updatePassword","weight":32,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-password.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-password.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"password":{"type":"string","description":"New user password. Must be at least 8 chars.","x-example":null},"oldPassword":{"type":"string","description":"Current user password. Must be at least 8 chars.","x-example":"password"}},"required":["password"]}}}}}},"\/account\/phone":{"patch":{"summary":"Update phone","operationId":"accountUpdatePhone","tags":["account"],"description":"Update the currently logged in user's phone number. After updating the phone number, the phone verification status will be reset. A confirmation SMS is not sent automatically, however you can use the [POST \/account\/verification\/phone](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createPhoneVerification) endpoint to send a confirmation SMS.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updatePhone","weight":34,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-phone.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"phone":{"type":"string","description":"Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","x-example":"+12065550100"},"password":{"type":"string","description":"User password. Must be at least 8 chars.","x-example":"password"}},"required":["phone","password"]}}}}}},"\/account\/prefs":{"get":{"summary":"Get account preferences","operationId":"accountGetPrefs","tags":["account"],"description":"Get the preferences as a key-value object for the currently logged in user.","responses":{"200":{"description":"Preferences","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/preferences"}}}}},"x-appwrite":{"method":"getPrefs","weight":29,"cookies":false,"type":"","deprecated":false,"demo":"account\/get-prefs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-prefs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account\/prefs","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]},"patch":{"summary":"Update preferences","operationId":"accountUpdatePrefs","tags":["account"],"description":"Update currently logged in user account preferences. The object you pass is stored as is, and replaces any previous value. The maximum allowed prefs size is 64kB and throws error if exceeded.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updatePrefs","weight":35,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-prefs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-prefs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account\/prefs","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"prefs":{"type":"object","description":"Prefs key-value JSON object.","x-example":"{}"}},"required":["prefs"]}}}}}},"\/account\/recovery":{"post":{"summary":"Create password recovery","operationId":"accountCreateRecovery","tags":["account"],"description":"Sends the user an email with a temporary secret key for password reset. When the user clicks the confirmation link he is redirected back to your app password reset URL with the secret key and email address values attached to the URL query string. Use the query string params to submit a request to the [PUT \/account\/recovery](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateRecovery) endpoint to complete the process. The verification link sent to the user's email address is valid for 1 hour.","responses":{"201":{"description":"Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/token"}}}}},"x-appwrite":{"method":"createRecovery","weight":37,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-recovery.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-recovery.md","rate-limit":10,"rate-time":3600,"rate-key":["url:{url},email:{param-email}","url:{url},ip:{ip}"],"scope":"sessions.write","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"url":{"type":"string","description":"URL to redirect the user back to your app from the recovery email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","x-example":"https:\/\/example.com"}},"required":["email","url"]}}}}},"put":{"summary":"Create password recovery (confirmation)","operationId":"accountUpdateRecovery","tags":["account"],"description":"Use this endpoint to complete the user account password reset. Both the **userId** and **secret** arguments will be passed as query parameters to the redirect URL you have provided when sending your request to the [POST \/account\/recovery](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createRecovery) endpoint.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md) the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.","responses":{"200":{"description":"Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/token"}}}}},"x-appwrite":{"method":"updateRecovery","weight":38,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-recovery.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-recovery.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},userId:{param-userId}","scope":"sessions.write","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID.","x-example":""},"secret":{"type":"string","description":"Valid reset token.","x-example":""},"password":{"type":"string","description":"New user password. Must be between 8 and 256 chars.","x-example":null}},"required":["userId","secret","password"]}}}}}},"\/account\/sessions":{"get":{"summary":"List sessions","operationId":"accountListSessions","tags":["account"],"description":"Get the list of active sessions across different devices for the currently logged in user.","responses":{"200":{"description":"Sessions List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/sessionList"}}}}},"x-appwrite":{"method":"listSessions","weight":10,"cookies":false,"type":"","deprecated":false,"demo":"account\/list-sessions.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-sessions.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account\/sessions","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]},"delete":{"summary":"Delete sessions","operationId":"accountDeleteSessions","tags":["account"],"description":"Delete all sessions from the user account and remove any sessions cookies from the end client.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteSessions","weight":11,"cookies":false,"type":"","deprecated":false,"demo":"account\/delete-sessions.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-sessions.md","rate-limit":100,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/account\/sessions\/anonymous":{"post":{"summary":"Create anonymous session","operationId":"accountCreateAnonymousSession","tags":["account"],"description":"Use this endpoint to allow a new user to register an anonymous account in your project. This route will also create a new session for the user. To allow the new user to convert an anonymous account to a normal account, you need to update its [email and password](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateEmail) or create an [OAuth2 session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#CreateOAuth2Session).","responses":{"201":{"description":"Session","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/session"}}}}},"x-appwrite":{"method":"createAnonymousSession","weight":16,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-anonymous-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-anonymous.md","rate-limit":50,"rate-time":3600,"rate-key":"ip:{ip}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}]}},"\/account\/sessions\/email":{"post":{"summary":"Create email password session","operationId":"accountCreateEmailPasswordSession","tags":["account"],"description":"Allow the user to login into their account by providing a valid email and password combination. This route will create a new session for the user.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).","responses":{"201":{"description":"Session","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/session"}}}}},"x-appwrite":{"method":"createEmailPasswordSession","weight":15,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-email-password-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-email-password.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},email:{param-email}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"password":{"type":"string","description":"User password. Must be at least 8 chars.","x-example":"password"}},"required":["email","password"]}}}}}},"\/account\/sessions\/magic-url":{"put":{"summary":"Update magic URL session","operationId":"accountUpdateMagicURLSession","tags":["account"],"description":"Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.","responses":{"201":{"description":"Session","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/session"}}}}},"x-appwrite":{"method":"updateMagicURLSession","weight":25,"cookies":false,"type":"","deprecated":true,"demo":"account\/update-magic-u-r-l-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md","rate-limit":10,"rate-time":3600,"rate-key":"ip:{ip},userId:{param-userId}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":""},"secret":{"type":"string","description":"Valid verification token.","x-example":""}},"required":["userId","secret"]}}}}}},"\/account\/sessions\/oauth2\/{provider}":{"get":{"summary":"Create OAuth2 session","operationId":"accountCreateOAuth2Session","tags":["account"],"description":"Allow the user to login to their account using the OAuth2 provider of their choice. Each OAuth2 provider should be enabled from the Appwrite console first. Use the success and failure arguments to provide a redirect URL's back to your app when login is completed.\n\nIf there is already an active session, the new session will be attached to the logged-in account. If there are no active sessions, the server will attempt to look for a user with the same email address as the email received from the OAuth2 provider and attach the new session to the existing user. If no matching user is found - the server will create a new user.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).\n","responses":{"301":{"description":"File"}},"x-appwrite":{"method":"createOAuth2Session","weight":18,"cookies":false,"type":"webAuth","deprecated":false,"demo":"account\/create-o-auth2session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-oauth2.md","rate-limit":50,"rate-time":3600,"rate-key":"ip:{ip}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"provider","description":"OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.","required":true,"schema":{"type":"string","x-example":"amazon","enum":["amazon","apple","auth0","authentik","autodesk","bitbucket","bitly","box","dailymotion","discord","disqus","dropbox","etsy","facebook","github","gitlab","google","linkedin","microsoft","notion","oidc","okta","paypal","paypalSandbox","podio","salesforce","slack","spotify","stripe","tradeshift","tradeshiftBox","twitch","wordpress","yahoo","yammer","yandex","zoho","zoom","mock"],"x-enum-name":"OAuthProvider","x-enum-keys":[]},"in":"path"},{"name":"success","description":"URL to redirect back to your app after a successful login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","required":false,"schema":{"type":"string","format":"url","x-example":"https:\/\/example.com","default":""},"in":"query"},{"name":"failure","description":"URL to redirect back to your app after a failed login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","required":false,"schema":{"type":"string","format":"url","x-example":"https:\/\/example.com","default":""},"in":"query"},{"name":"scopes","description":"A list of custom OAuth2 scopes. Check each provider internal docs for a list of supported scopes. Maximum of 100 scopes are allowed, each 4096 characters long.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]}},"\/account\/sessions\/phone":{"put":{"summary":"Update phone session","operationId":"accountUpdatePhoneSession","tags":["account"],"description":"Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.","responses":{"201":{"description":"Session","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/session"}}}}},"x-appwrite":{"method":"updatePhoneSession","weight":26,"cookies":false,"type":"","deprecated":true,"demo":"account\/update-phone-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md","rate-limit":10,"rate-time":3600,"rate-key":"ip:{ip},userId:{param-userId}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":""},"secret":{"type":"string","description":"Valid verification token.","x-example":""}},"required":["userId","secret"]}}}}}},"\/account\/sessions\/token":{"post":{"summary":"Create session","operationId":"accountCreateSession","tags":["account"],"description":"Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.","responses":{"201":{"description":"Session","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/session"}}}}},"x-appwrite":{"method":"createSession","weight":17,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md","rate-limit":10,"rate-time":3600,"rate-key":"ip:{ip},userId:{param-userId}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":""},"secret":{"type":"string","description":"Secret of a token generated by login methods. For example, the `createMagicURLToken` or `createPhoneToken` methods.","x-example":""}},"required":["userId","secret"]}}}}}},"\/account\/sessions\/{sessionId}":{"get":{"summary":"Get session","operationId":"accountGetSession","tags":["account"],"description":"Use this endpoint to get a logged in user's session using a Session ID. Inputting 'current' will return the current session being used.","responses":{"200":{"description":"Session","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/session"}}}}},"x-appwrite":{"method":"getSession","weight":12,"cookies":false,"type":"","deprecated":false,"demo":"account\/get-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-session.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account\/sessions","offline-key":"{sessionId}","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"sessionId","description":"Session ID. Use the string 'current' to get the current device session.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]},"patch":{"summary":"Update session","operationId":"accountUpdateSession","tags":["account"],"description":"Use this endpoint to extend a session's length. Extending a session is useful when session expiry is short. If the session was created using an OAuth provider, this endpoint refreshes the access token from the provider.","responses":{"200":{"description":"Session","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/session"}}}}},"x-appwrite":{"method":"updateSession","weight":14,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-session.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"sessionId","description":"Session ID. Use the string 'current' to update the current device session.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]},"delete":{"summary":"Delete session","operationId":"accountDeleteSession","tags":["account"],"description":"Logout the user. Use 'current' as the session ID to logout on this device, use a session ID to logout on another device. If you're looking to logout the user on all devices, use [Delete Sessions](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#deleteSessions) instead.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteSession","weight":13,"cookies":false,"type":"","deprecated":false,"demo":"account\/delete-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-session.md","rate-limit":100,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"sessionId","description":"Session ID. Use the string 'current' to delete the current device session.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]}},"\/account\/status":{"patch":{"summary":"Update status","operationId":"accountUpdateStatus","tags":["account"],"description":"Block the currently logged in user account. Behind the scene, the user record is not deleted but permanently blocked from any access. To completely delete a user, use the Users API instead.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updateStatus","weight":36,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-status.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-status.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/account\/targets\/push":{"post":{"summary":"Create push target","operationId":"accountCreatePushTarget","tags":["account"],"description":"","responses":{"201":{"description":"Target","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/target"}}}}},"x-appwrite":{"method":"createPushTarget","weight":53,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-push-target.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"targets.write","platforms":["client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"targetId":{"type":"string","description":"Target ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":""},"identifier":{"type":"string","description":"The target identifier (token, email, phone etc.)","x-example":""},"providerId":{"type":"string","description":"Provider ID. Message will be sent to this target from the specified provider ID. If no provider ID is set the first setup provider will be used.","x-example":""}},"required":["targetId","identifier"]}}}}}},"\/account\/targets\/{targetId}\/push":{"put":{"summary":"Update push target","operationId":"accountUpdatePushTarget","tags":["account"],"description":"","responses":{"200":{"description":"Target","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/target"}}}}},"x-appwrite":{"method":"updatePushTarget","weight":54,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-push-target.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"targets.write","platforms":["client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[]}],"parameters":[{"name":"targetId","description":"Target ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"identifier":{"type":"string","description":"The target identifier (token, email, phone etc.)","x-example":""}},"required":["identifier"]}}}}},"delete":{"summary":"Delete push target","operationId":"accountDeletePushTarget","tags":["account"],"description":"","responses":{"204":{"description":"No content","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/target"}}}}},"x-appwrite":{"method":"deletePushTarget","weight":55,"cookies":false,"type":"","deprecated":false,"demo":"account\/delete-push-target.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"targets.write","platforms":["client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[]}],"parameters":[{"name":"targetId","description":"Target ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]}},"\/account\/tokens\/email":{"post":{"summary":"Create email token (OTP)","operationId":"accountCreateEmailToken","tags":["account"],"description":"Sends the user an email with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's email is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).","responses":{"201":{"description":"Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/token"}}}}},"x-appwrite":{"method":"createEmailToken","weight":24,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-email-token.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-email.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},email:{param-email}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":""},"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"phrase":{"type":"boolean","description":"Toggle for security phrase. If enabled, email will be send with a randomly generated phrase and the phrase will also be included in the response. Confirming phrases match increases the security of your authentication flow.","x-example":false}},"required":["userId","email"]}}}}}},"\/account\/tokens\/magic-url":{"post":{"summary":"Create magic URL token","operationId":"accountCreateMagicURLToken","tags":["account"],"description":"Sends the user an email with a secret key for creating a session. If the provided user ID has not been registered, a new user will be created. When the user clicks the link in the email, the user is redirected back to the URL you provided with the secret key and userId values attached to the URL query string. Use the query string parameters to submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The link sent to the user's email address is valid for 1 hour. If you are on a mobile device you can leave the URL parameter empty, so that the login completion will be handled by your Appwrite instance by default.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).\n","responses":{"201":{"description":"Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/token"}}}}},"x-appwrite":{"method":"createMagicURLToken","weight":23,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-magic-u-r-l-token.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-magic-url.md","rate-limit":60,"rate-time":3600,"rate-key":["url:{url},email:{param-email}","url:{url},ip:{ip}"],"scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":""},"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"url":{"type":"string","description":"URL to redirect the user back to your app from the magic URL login. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","x-example":"https:\/\/example.com"},"phrase":{"type":"boolean","description":"Toggle for security phrase. If enabled, email will be send with a randomly generated phrase and the phrase will also be included in the response. Confirming phrases match increases the security of your authentication flow.","x-example":false}},"required":["userId","email"]}}}}}},"\/account\/tokens\/oauth2\/{provider}":{"get":{"summary":"Create OAuth2 token","operationId":"accountCreateOAuth2Token","tags":["account"],"description":"Allow the user to login to their account using the OAuth2 provider of their choice. Each OAuth2 provider should be enabled from the Appwrite console first. Use the success and failure arguments to provide a redirect URL's back to your app when login is completed. \n\nIf authentication succeeds, `userId` and `secret` of a token will be appended to the success URL as query parameters. These can be used to create a new session using the [Create session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).","responses":{"301":{"description":"File"}},"x-appwrite":{"method":"createOAuth2Token","weight":22,"cookies":false,"type":"webAuth","deprecated":false,"demo":"account\/create-o-auth2token.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-oauth2.md","rate-limit":50,"rate-time":3600,"rate-key":"ip:{ip}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"provider","description":"OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.","required":true,"schema":{"type":"string","x-example":"amazon","enum":["amazon","apple","auth0","authentik","autodesk","bitbucket","bitly","box","dailymotion","discord","disqus","dropbox","etsy","facebook","github","gitlab","google","linkedin","microsoft","notion","oidc","okta","paypal","paypalSandbox","podio","salesforce","slack","spotify","stripe","tradeshift","tradeshiftBox","twitch","wordpress","yahoo","yammer","yandex","zoho","zoom","mock"],"x-enum-name":"OAuthProvider","x-enum-keys":[]},"in":"path"},{"name":"success","description":"URL to redirect back to your app after a successful login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","required":false,"schema":{"type":"string","format":"url","x-example":"https:\/\/example.com","default":""},"in":"query"},{"name":"failure","description":"URL to redirect back to your app after a failed login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","required":false,"schema":{"type":"string","format":"url","x-example":"https:\/\/example.com","default":""},"in":"query"},{"name":"scopes","description":"A list of custom OAuth2 scopes. Check each provider internal docs for a list of supported scopes. Maximum of 100 scopes are allowed, each 4096 characters long.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]}},"\/account\/tokens\/phone":{"post":{"summary":"Create phone token","operationId":"accountCreatePhoneToken","tags":["account"],"description":"Sends the user an SMS with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's phone is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).","responses":{"201":{"description":"Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/token"}}}}},"x-appwrite":{"method":"createPhoneToken","weight":27,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-phone-token.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-phone.md","rate-limit":10,"rate-time":3600,"rate-key":["url:{url},phone:{param-phone}","url:{url},ip:{ip}"],"scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":""},"phone":{"type":"string","description":"Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","x-example":"+12065550100"}},"required":["userId","phone"]}}}}}},"\/account\/verification":{"post":{"summary":"Create email verification","operationId":"accountCreateVerification","tags":["account"],"description":"Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n","responses":{"201":{"description":"Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/token"}}}}},"x-appwrite":{"method":"createVerification","weight":39,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},userId:{userId}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"url":{"type":"string","description":"URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","x-example":"https:\/\/example.com"}},"required":["url"]}}}}},"put":{"summary":"Create email verification (confirmation)","operationId":"accountUpdateVerification","tags":["account"],"description":"Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.","responses":{"200":{"description":"Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/token"}}}}},"x-appwrite":{"method":"updateVerification","weight":40,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},userId:{param-userId}","scope":"public","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID.","x-example":""},"secret":{"type":"string","description":"Valid verification token.","x-example":""}},"required":["userId","secret"]}}}}}},"\/account\/verification\/phone":{"post":{"summary":"Create phone verification","operationId":"accountCreatePhoneVerification","tags":["account"],"description":"Use this endpoint to send a verification SMS to the currently logged in user. This endpoint is meant for use after updating a user's phone number using the [accountUpdatePhone](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updatePhone) endpoint. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updatePhoneVerification). The verification code sent to the user's phone number is valid for 15 minutes.","responses":{"201":{"description":"Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/token"}}}}},"x-appwrite":{"method":"createPhoneVerification","weight":41,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-phone-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-phone-verification.md","rate-limit":10,"rate-time":3600,"rate-key":["url:{url},userId:{userId}","url:{url},ip:{ip}"],"scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]},"put":{"summary":"Update phone verification (confirmation)","operationId":"accountUpdatePhoneVerification","tags":["account"],"description":"Use this endpoint to complete the user phone verification process. Use the **userId** and **secret** that were sent to your user's phone number to verify the user email ownership. If confirmed this route will return a 200 status code.","responses":{"200":{"description":"Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/token"}}}}},"x-appwrite":{"method":"updatePhoneVerification","weight":42,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-phone-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone-verification.md","rate-limit":10,"rate-time":3600,"rate-key":"userId:{param-userId}","scope":"public","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID.","x-example":""},"secret":{"type":"string","description":"Valid verification token.","x-example":""}},"required":["userId","secret"]}}}}}},"\/avatars\/browsers\/{code}":{"get":{"summary":"Get browser icon","operationId":"avatarsGetBrowser","tags":["avatars"],"description":"You can use this endpoint to show different browser icons to your users. The code argument receives the browser code as it appears in your user [GET \/account\/sessions](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#getSessions) endpoint. Use width, height and quality arguments to change the output settings.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.","responses":{"200":{"description":"Image"}},"x-appwrite":{"method":"getBrowser","weight":59,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-browser.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-browser.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"code","description":"Browser Code.","required":true,"schema":{"type":"string","x-example":"aa","enum":["aa","an","ch","ci","cm","cr","ff","sf","mf","ps","oi","om","op","on"],"x-enum-name":"Browser","x-enum-keys":["Avant Browser","Android WebView Beta","Google Chrome","Google Chrome (iOS)","Google Chrome (Mobile)","Chromium","Mozilla Firefox","Safari","Mobile Safari","Microsoft Edge","Microsoft Edge (iOS)","Opera Mini","Opera","Opera (Next)"]},"in":"path"},{"name":"width","description":"Image width. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":100},"in":"query"},{"name":"height","description":"Image height. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":100},"in":"query"},{"name":"quality","description":"Image quality. Pass an integer between 0 to 100. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":100},"in":"query"}]}},"\/avatars\/credit-cards\/{code}":{"get":{"summary":"Get credit card icon","operationId":"avatarsGetCreditCard","tags":["avatars"],"description":"The credit card endpoint will return you the icon of the credit card provider you need. Use width, height and quality arguments to change the output settings.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n","responses":{"200":{"description":"Image"}},"x-appwrite":{"method":"getCreditCard","weight":58,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-credit-card.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-credit-card.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"code","description":"Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, union-china-pay, visa, mir, maestro.","required":true,"schema":{"type":"string","x-example":"amex","enum":["amex","argencard","cabal","cencosud","diners","discover","elo","hipercard","jcb","mastercard","naranja","targeta-shopping","union-china-pay","visa","mir","maestro"],"x-enum-name":"CreditCard","x-enum-keys":["American Express","Argencard","Cabal","Cencosud","Diners Club","Discover","Elo","Hipercard","JCB","Mastercard","Naranja","Tarjeta Shopping","Union China Pay","Visa","MIR","Maestro"]},"in":"path"},{"name":"width","description":"Image width. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":100},"in":"query"},{"name":"height","description":"Image height. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":100},"in":"query"},{"name":"quality","description":"Image quality. Pass an integer between 0 to 100. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":100},"in":"query"}]}},"\/avatars\/favicon":{"get":{"summary":"Get favicon","operationId":"avatarsGetFavicon","tags":["avatars"],"description":"Use this endpoint to fetch the favorite icon (AKA favicon) of any remote website URL.\n","responses":{"200":{"description":"Image"}},"x-appwrite":{"method":"getFavicon","weight":62,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-favicon.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-favicon.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"url","description":"Website URL which you want to fetch the favicon from.","required":true,"schema":{"type":"string","format":"url","x-example":"https:\/\/example.com"},"in":"query"}]}},"\/avatars\/flags\/{code}":{"get":{"summary":"Get country flag","operationId":"avatarsGetFlag","tags":["avatars"],"description":"You can use this endpoint to show different country flags icons to your users. The code argument receives the 2 letter country code. Use width, height and quality arguments to change the output settings. Country codes follow the [ISO 3166-1](https:\/\/en.wikipedia.org\/wiki\/ISO_3166-1) standard.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n","responses":{"200":{"description":"Image"}},"x-appwrite":{"method":"getFlag","weight":60,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-flag.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-flag.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"code","description":"Country Code. ISO Alpha-2 country code format.","required":true,"schema":{"type":"string","x-example":"af","enum":["af","ao","al","ad","ae","ar","am","ag","au","at","az","bi","be","bj","bf","bd","bg","bh","bs","ba","by","bz","bo","br","bb","bn","bt","bw","cf","ca","ch","cl","cn","ci","cm","cd","cg","co","km","cv","cr","cu","cy","cz","de","dj","dm","dk","do","dz","ec","eg","er","es","ee","et","fi","fj","fr","fm","ga","gb","ge","gh","gn","gm","gw","gq","gr","gd","gt","gy","hn","hr","ht","hu","id","in","ie","ir","iq","is","il","it","jm","jo","jp","kz","ke","kg","kh","ki","kn","kr","kw","la","lb","lr","ly","lc","li","lk","ls","lt","lu","lv","ma","mc","md","mg","mv","mx","mh","mk","ml","mt","mm","me","mn","mz","mr","mu","mw","my","na","ne","ng","ni","nl","no","np","nr","nz","om","pk","pa","pe","ph","pw","pg","pl","pf","kp","pt","py","qa","ro","ru","rw","sa","sd","sn","sg","sb","sl","sv","sm","so","rs","ss","st","sr","sk","si","se","sz","sc","sy","td","tg","th","tj","tm","tl","to","tt","tn","tr","tv","tz","ug","ua","uy","us","uz","va","vc","ve","vn","vu","ws","ye","za","zm","zw"],"x-enum-name":"Flag","x-enum-keys":["Afghanistan","Angola","Albania","Andorra","United Arab Emirates","Argentina","Armenia","Antigua and Barbuda","Australia","Austria","Azerbaijan","Burundi","Belgium","Benin","Burkina Faso","Bangladesh","Bulgaria","Bahrain","Bahamas","Bosnia and Herzegovina","Belarus","Belize","Bolivia","Brazil","Barbados","Brunei Darussalam","Bhutan","Botswana","Central African Republic","Canada","Switzerland","Chile","China","C\u00f4te d'Ivoire","Cameroon","Democratic Republic of the Congo","Republic of the Congo","Colombia","Comoros","Cape Verde","Costa Rica","Cuba","Cyprus","Czech Republic","Germany","Djibouti","Dominica","Denmark","Dominican Republic","Algeria","Ecuador","Egypt","Eritrea","Spain","Estonia","Ethiopia","Finland","Fiji","France","Micronesia (Federated States of)","Gabon","United Kingdom","Georgia","Ghana","Guinea","Gambia","Guinea-Bissau","Equatorial Guinea","Greece","Grenada","Guatemala","Guyana","Honduras","Croatia","Haiti","Hungary","Indonesia","India","Ireland","Iran (Islamic Republic of)","Iraq","Iceland","Israel","Italy","Jamaica","Jordan","Japan","Kazakhstan","Kenya","Kyrgyzstan","Cambodia","Kiribati","Saint Kitts and Nevis","South Korea","Kuwait","Lao People's Democratic Republic","Lebanon","Liberia","Libya","Saint Lucia","Liechtenstein","Sri Lanka","Lesotho","Lithuania","Luxembourg","Latvia","Morocco","Monaco","Moldova","Madagascar","Maldives","Mexico","Marshall Islands","North Macedonia","Mali","Malta","Myanmar","Montenegro","Mongolia","Mozambique","Mauritania","Mauritius","Malawi","Malaysia","Namibia","Niger","Nigeria","Nicaragua","Netherlands","Norway","Nepal","Nauru","New Zealand","Oman","Pakistan","Panama","Peru","Philippines","Palau","Papua New Guinea","Poland","French Polynesia","North Korea","Portugal","Paraguay","Qatar","Romania","Russia","Rwanda","Saudi Arabia","Sudan","Senegal","Singapore","Solomon Islands","Sierra Leone","El Salvador","San Marino","Somalia","Serbia","South Sudan","Sao Tome and Principe","Suriname","Slovakia","Slovenia","Sweden","Eswatini","Seychelles","Syria","Chad","Togo","Thailand","Tajikistan","Turkmenistan","Timor-Leste","Tonga","Trinidad and Tobago","Tunisia","Turkey","Tuvalu","Tanzania","Uganda","Ukraine","Uruguay","United States","Uzbekistan","Vatican City","Saint Vincent and the Grenadines","Venezuela","Vietnam","Vanuatu","Samoa","Yemen","South Africa","Zambia","Zimbabwe"]},"in":"path"},{"name":"width","description":"Image width. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":100},"in":"query"},{"name":"height","description":"Image height. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":100},"in":"query"},{"name":"quality","description":"Image quality. Pass an integer between 0 to 100. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":100},"in":"query"}]}},"\/avatars\/image":{"get":{"summary":"Get image from URL","operationId":"avatarsGetImage","tags":["avatars"],"description":"Use this endpoint to fetch a remote image URL and crop it to any image size you want. This endpoint is very useful if you need to crop and display remote images in your app or in case you want to make sure a 3rd party image is properly served using a TLS protocol.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 400x400px.\n","responses":{"200":{"description":"Image"}},"x-appwrite":{"method":"getImage","weight":61,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-image.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-image.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"url","description":"Image URL which you want to crop.","required":true,"schema":{"type":"string","format":"url","x-example":"https:\/\/example.com"},"in":"query"},{"name":"width","description":"Resize preview image width, Pass an integer between 0 to 2000. Defaults to 400.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":400},"in":"query"},{"name":"height","description":"Resize preview image height, Pass an integer between 0 to 2000. Defaults to 400.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":400},"in":"query"}]}},"\/avatars\/initials":{"get":{"summary":"Get user initials","operationId":"avatarsGetInitials","tags":["avatars"],"description":"Use this endpoint to show your user initials avatar icon on your website or app. By default, this route will try to print your logged-in user name or email initials. You can also overwrite the user name if you pass the 'name' parameter. If no name is given and no user is logged, an empty avatar will be returned.\n\nYou can use the color and background params to change the avatar colors. By default, a random theme will be selected. The random theme will persist for the user's initials when reloading the same theme will always return for the same initials.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n","responses":{"200":{"description":"Image"}},"x-appwrite":{"method":"getInitials","weight":64,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-initials.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-initials.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"name","description":"Full Name. When empty, current user name or email will be used. Max length: 128 chars.","required":false,"schema":{"type":"string","x-example":"","default":""},"in":"query"},{"name":"width","description":"Image width. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":500},"in":"query"},{"name":"height","description":"Image height. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":500},"in":"query"},{"name":"background","description":"Changes background color. By default a random color will be picked and stay will persistent to the given name.","required":false,"schema":{"type":"string","default":""},"in":"query"}]}},"\/avatars\/qr":{"get":{"summary":"Get QR code","operationId":"avatarsGetQR","tags":["avatars"],"description":"Converts a given plain text to a QR code image. You can use the query parameters to change the size and style of the resulting image.\n","responses":{"200":{"description":"Image"}},"x-appwrite":{"method":"getQR","weight":63,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-q-r.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-qr.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"text","description":"Plain text to be converted to QR code image.","required":true,"schema":{"type":"string","x-example":""},"in":"query"},{"name":"size","description":"QR code size. Pass an integer between 1 to 1000. Defaults to 400.","required":false,"schema":{"type":"integer","format":"int32","x-example":1,"default":400},"in":"query"},{"name":"margin","description":"Margin from edge. Pass an integer between 0 to 10. Defaults to 1.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":1},"in":"query"},{"name":"download","description":"Return resulting image with 'Content-Disposition: attachment ' headers for the browser to start downloading it. Pass 0 for no header, or 1 for otherwise. Default value is set to 0.","required":false,"schema":{"type":"boolean","x-example":false,"default":false},"in":"query"}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/documents":{"get":{"summary":"List documents","operationId":"databasesListDocuments","tags":["databases"],"description":"Get a list of all the user's documents in a given collection. You can use the query params to filter your results.","responses":{"200":{"description":"Documents List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/documentList"}}}}},"x-appwrite":{"method":"listDocuments","weight":108,"cookies":false,"type":"","deprecated":false,"demo":"databases\/list-documents.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-documents.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"documents.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/databases\/{databaseId}\/collections\/{collectionId}\/documents","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]},"post":{"summary":"Create document","operationId":"databasesCreateDocument","tags":["databases"],"description":"Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.","responses":{"201":{"description":"Document","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/document"}}}}},"x-appwrite":{"method":"createDocument","weight":107,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-document.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-document.md","rate-limit":120,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId}","scope":"documents.write","platforms":["client","server","server"],"packaging":false,"offline-model":"\/databases\/{databaseId}\/collections\/{collectionId}\/documents","offline-key":"{documentId}","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection). Make sure to define attributes before creating documents.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"documentId":{"type":"string","description":"Document ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":""},"data":{"type":"object","description":"Document data as JSON object.","x-example":"{}"},"permissions":{"type":"array","description":"An array of permissions strings. By default, only the current user is granted all permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":"[\"read(\"any\")\"]","items":{"type":"string"}}},"required":["documentId","data"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}":{"get":{"summary":"Get document","operationId":"databasesGetDocument","tags":["databases"],"description":"Get a document by its unique ID. This endpoint response returns a JSON object with the document data.","responses":{"200":{"description":"Document","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/document"}}}}},"x-appwrite":{"method":"getDocument","weight":109,"cookies":false,"type":"","deprecated":false,"demo":"databases\/get-document.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"documents.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/databases\/{databaseId}\/collections\/{collectionId}\/documents","offline-key":"{documentId}","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"documentId","description":"Document ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]},"patch":{"summary":"Update document","operationId":"databasesUpdateDocument","tags":["databases"],"description":"Update a document by its unique ID. Using the patch method you can pass only specific fields that will get updated.","responses":{"200":{"description":"Document","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/document"}}}}},"x-appwrite":{"method":"updateDocument","weight":111,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-document.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-document.md","rate-limit":120,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId}","scope":"documents.write","platforms":["client","server","server"],"packaging":false,"offline-model":"\/databases\/{databaseId}\/collections\/{collectionId}\/documents","offline-key":"{documentId}","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"documentId","description":"Document ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"object","description":"Document data as JSON object. Include only attribute and value pairs to be updated.","x-example":"{}"},"permissions":{"type":"array","description":"An array of permissions strings. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":"[\"read(\"any\")\"]","items":{"type":"string"}}}}}}}},"delete":{"summary":"Delete document","operationId":"databasesDeleteDocument","tags":["databases"],"description":"Delete a document by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteDocument","weight":112,"cookies":false,"type":"","deprecated":false,"demo":"databases\/delete-document.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-document.md","rate-limit":60,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId}","scope":"documents.write","platforms":["client","server","server"],"packaging":false,"offline-model":"\/databases\/{databaseId}\/collections\/{collectionId}\/documents","offline-key":"{documentId}","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"documentId","description":"Document ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]}},"\/functions\/{functionId}\/executions":{"get":{"summary":"List executions","operationId":"functionsListExecutions","tags":["functions"],"description":"Get a list of all the current user function execution logs. You can use the query params to filter your results.","responses":{"200":{"description":"Executions List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/executionList"}}}}},"x-appwrite":{"method":"listExecutions","weight":297,"cookies":false,"type":"","deprecated":false,"demo":"functions\/list-executions.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-executions.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"execution.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: trigger, status, responseStatusCode, duration","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"","default":""},"in":"query"}]},"post":{"summary":"Create execution","operationId":"functionsCreateExecution","tags":["functions"],"description":"Trigger a function execution. The returned object will return you the current execution status. You can ping the `Get Execution` endpoint to get updates on the current execution status. Once this endpoint is called, your function execution process will start asynchronously.","responses":{"201":{"description":"Execution","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/execution"}}}}},"x-appwrite":{"method":"createExecution","weight":296,"cookies":false,"type":"","deprecated":false,"demo":"functions\/create-execution.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-execution.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"execution.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"body":{"type":"string","description":"HTTP body of execution. Default value is empty string.","x-example":""},"async":{"type":"boolean","description":"Execute code in the background. Default value is false.","x-example":false},"path":{"type":"string","description":"HTTP path of execution. Path can include query params. Default value is \/","x-example":""},"method":{"type":"string","description":"HTTP method of execution. Default value is GET.","x-example":"GET","enum":["GET","POST","PUT","PATCH","DELETE","OPTIONS"],"x-enum-name":"ExecutionMethod","x-enum-keys":[]},"headers":{"type":"object","description":"HTTP headers of execution. Defaults to empty.","x-example":"{}"}}}}}}}},"\/functions\/{functionId}\/executions\/{executionId}":{"get":{"summary":"Get execution","operationId":"functionsGetExecution","tags":["functions"],"description":"Get a function execution log by its unique ID.","responses":{"200":{"description":"Execution","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/execution"}}}}},"x-appwrite":{"method":"getExecution","weight":298,"cookies":false,"type":"","deprecated":false,"demo":"functions\/get-execution.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-execution.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"execution.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"executionId","description":"Execution ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]}},"\/graphql":{"post":{"summary":"GraphQL endpoint","operationId":"graphqlQuery","tags":["graphql"],"description":"Execute a GraphQL mutation.","responses":{"200":{"description":"Any","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/any"}}}}},"x-appwrite":{"method":"query","weight":318,"cookies":false,"type":"graphql","deprecated":false,"demo":"graphql\/query.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md","rate-limit":60,"rate-time":60,"rate-key":"url:{url},ip:{ip}","scope":"graphql","platforms":["server","client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/graphql\/mutation":{"post":{"summary":"GraphQL endpoint","operationId":"graphqlMutation","tags":["graphql"],"description":"Execute a GraphQL mutation.","responses":{"200":{"description":"Any","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/any"}}}}},"x-appwrite":{"method":"mutation","weight":317,"cookies":false,"type":"graphql","deprecated":false,"demo":"graphql\/mutation.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md","rate-limit":60,"rate-time":60,"rate-key":"url:{url},ip:{ip}","scope":"graphql","platforms":["server","client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/locale":{"get":{"summary":"Get user locale","operationId":"localeGet","tags":["locale"],"description":"Get the current user location based on IP. Returns an object with user country code, country name, continent name, continent code, ip address and suggested currency. You can use the locale header to get the data in a supported language.\n\n([IP Geolocation by DB-IP](https:\/\/db-ip.com))","responses":{"200":{"description":"Locale","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/locale"}}}}},"x-appwrite":{"method":"get","weight":116,"cookies":false,"type":"","deprecated":false,"demo":"locale\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/get-locale.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/localed","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/locale\/codes":{"get":{"summary":"List Locale Codes","operationId":"localeListCodes","tags":["locale"],"description":"List of all locale codes in [ISO 639-1](https:\/\/en.wikipedia.org\/wiki\/List_of_ISO_639-1_codes).","responses":{"200":{"description":"Locale codes list","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/localeCodeList"}}}}},"x-appwrite":{"method":"listCodes","weight":117,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-locale-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/localeCode","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/locale\/continents":{"get":{"summary":"List continents","operationId":"localeListContinents","tags":["locale"],"description":"List of all continents. You can use the locale header to get the data in a supported language.","responses":{"200":{"description":"Continents List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/continentList"}}}}},"x-appwrite":{"method":"listContinents","weight":121,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-continents.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-continents.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/continents","offline-key":"","offline-response-key":"code","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/locale\/countries":{"get":{"summary":"List countries","operationId":"localeListCountries","tags":["locale"],"description":"List of all countries. You can use the locale header to get the data in a supported language.","responses":{"200":{"description":"Countries List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/countryList"}}}}},"x-appwrite":{"method":"listCountries","weight":118,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-countries.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/countries","offline-key":"","offline-response-key":"code","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/locale\/countries\/eu":{"get":{"summary":"List EU countries","operationId":"localeListCountriesEU","tags":["locale"],"description":"List of all countries that are currently members of the EU. You can use the locale header to get the data in a supported language.","responses":{"200":{"description":"Countries List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/countryList"}}}}},"x-appwrite":{"method":"listCountriesEU","weight":119,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-countries-e-u.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-eu.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/countries\/eu","offline-key":"","offline-response-key":"code","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/locale\/countries\/phones":{"get":{"summary":"List countries phone codes","operationId":"localeListCountriesPhones","tags":["locale"],"description":"List of all countries phone codes. You can use the locale header to get the data in a supported language.","responses":{"200":{"description":"Phones List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/phoneList"}}}}},"x-appwrite":{"method":"listCountriesPhones","weight":120,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-countries-phones.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-phones.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/countries\/phones","offline-key":"","offline-response-key":"countryCode","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/locale\/currencies":{"get":{"summary":"List currencies","operationId":"localeListCurrencies","tags":["locale"],"description":"List of all currencies, including currency symbol, name, plural, and decimal digits for all major and minor currencies. You can use the locale header to get the data in a supported language.","responses":{"200":{"description":"Currencies List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/currencyList"}}}}},"x-appwrite":{"method":"listCurrencies","weight":122,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-currencies.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-currencies.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/currencies","offline-key":"","offline-response-key":"code","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/locale\/languages":{"get":{"summary":"List languages","operationId":"localeListLanguages","tags":["locale"],"description":"List of all languages classified by ISO 639-1 including 2-letter code, name in English, and name in the respective language.","responses":{"200":{"description":"Languages List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/languageList"}}}}},"x-appwrite":{"method":"listLanguages","weight":123,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-languages.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-languages.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/languages","offline-key":"","offline-response-key":"code","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/messaging\/topics\/{topicId}\/subscribers":{"post":{"summary":"Create subscriber","operationId":"messagingCreateSubscriber","tags":["messaging"],"description":"Create a new subscriber.","responses":{"201":{"description":"Subscriber","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/subscriber"}}}}},"x-appwrite":{"method":"createSubscriber","weight":369,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-subscriber.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-subscriber.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"subscribers.write","platforms":["server","client","console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[],"Session":[]}],"parameters":[{"name":"topicId","description":"Topic ID. The topic ID to subscribe to.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"subscriberId":{"type":"string","description":"Subscriber ID. Choose a custom Subscriber ID or a new Subscriber ID.","x-example":""},"targetId":{"type":"string","description":"Target ID. The target ID to link to the specified Topic ID.","x-example":""}},"required":["subscriberId","targetId"]}}}}}},"\/messaging\/topics\/{topicId}\/subscribers\/{subscriberId}":{"delete":{"summary":"Delete subscriber","operationId":"messagingDeleteSubscriber","tags":["messaging"],"description":"Delete a subscriber by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteSubscriber","weight":373,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/delete-subscriber.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-subscriber.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"subscribers.write","platforms":["server","client","console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[],"Session":[]}],"parameters":[{"name":"topicId","description":"Topic ID. The topic ID subscribed to.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"subscriberId","description":"Subscriber ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]}},"\/storage\/buckets\/{bucketId}\/files":{"get":{"summary":"List files","operationId":"storageListFiles","tags":["storage"],"description":"Get a list of all the user files. You can use the query params to filter your results.","responses":{"200":{"description":"Files List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/fileList"}}}}},"x-appwrite":{"method":"listFiles","weight":203,"cookies":false,"type":"","deprecated":false,"demo":"storage\/list-files.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-files.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, signature, mimeType, sizeOriginal, chunksTotal, chunksUploaded","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"","default":""},"in":"query"}]},"post":{"summary":"Create file","operationId":"storageCreateFile","tags":["storage"],"description":"Create a new file. Before using this route, you should create a new bucket resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/storage#storageCreateBucket) API or directly from your Appwrite console.\n\nLarger files should be uploaded using multiple requests with the [content-range](https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTTP\/Headers\/Content-Range) header to send a partial request with a maximum supported chunk of `5MB`. The `content-range` header values should always be in bytes.\n\nWhen the first request is sent, the server will return the **File** object, and the subsequent part request must include the file's **id** in `x-appwrite-id` header to allow the server to know that the partial upload is for the existing file and not for a new one.\n\nIf you're creating a new file using one of the Appwrite SDKs, all the chunking logic will be managed by the SDK internally.\n","responses":{"201":{"description":"File","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/file"}}}}},"x-appwrite":{"method":"createFile","weight":202,"cookies":false,"type":"upload","deprecated":false,"demo":"storage\/create-file.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-file.md","rate-limit":60,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId},chunkId:{chunkId}","scope":"files.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"fileId":{"type":"string","description":"File ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"","x-upload-id":true},"file":{"type":"string","description":"Binary file. Appwrite SDKs provide helpers to handle file input. [Learn about file input](https:\/\/appwrite.io\/docs\/products\/storage\/upload-download#input-file).","x-example":null},"permissions":{"type":"array","description":"An array of permission strings. By default, only the current user is granted all permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":"[\"read(\"any\")\"]","items":{"type":"string"}}},"required":["fileId","file"]}}}}}},"\/storage\/buckets\/{bucketId}\/files\/{fileId}":{"get":{"summary":"Get file","operationId":"storageGetFile","tags":["storage"],"description":"Get a file by its unique ID. This endpoint response returns a JSON object with the file metadata.","responses":{"200":{"description":"File","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/file"}}}}},"x-appwrite":{"method":"getFile","weight":204,"cookies":false,"type":"","deprecated":false,"demo":"storage\/get-file.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"fileId","description":"File ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]},"put":{"summary":"Update file","operationId":"storageUpdateFile","tags":["storage"],"description":"Update a file by its unique ID. Only users with write permissions have access to update this resource.","responses":{"200":{"description":"File","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/file"}}}}},"x-appwrite":{"method":"updateFile","weight":209,"cookies":false,"type":"","deprecated":false,"demo":"storage\/update-file.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-file.md","rate-limit":60,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId}","scope":"files.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"fileId","description":"File unique ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Name of the file","x-example":""},"permissions":{"type":"array","description":"An array of permission string. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":"[\"read(\"any\")\"]","items":{"type":"string"}}}}}}}},"delete":{"summary":"Delete File","operationId":"storageDeleteFile","tags":["storage"],"description":"Delete a file by its unique ID. Only users with write permissions have access to delete this resource.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteFile","weight":210,"cookies":false,"type":"","deprecated":false,"demo":"storage\/delete-file.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-file.md","rate-limit":60,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId}","scope":"files.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"fileId","description":"File ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]}},"\/storage\/buckets\/{bucketId}\/files\/{fileId}\/download":{"get":{"summary":"Get file for download","operationId":"storageGetFileDownload","tags":["storage"],"description":"Get a file content by its unique ID. The endpoint response return with a 'Content-Disposition: attachment' header that tells the browser to start downloading the file to user downloads directory.","responses":{"200":{"description":"File"}},"x-appwrite":{"method":"getFileDownload","weight":206,"cookies":false,"type":"location","deprecated":false,"demo":"storage\/get-file-download.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-download.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"fileId","description":"File ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]}},"\/storage\/buckets\/{bucketId}\/files\/{fileId}\/preview":{"get":{"summary":"Get file preview","operationId":"storageGetFilePreview","tags":["storage"],"description":"Get a file preview image. Currently, this method supports preview for image files (jpg, png, and gif), other supported formats, like pdf, docs, slides, and spreadsheets, will return the file icon image. You can also pass query string arguments for cutting and resizing your preview image. Preview is supported only for image files smaller than 10MB.","responses":{"200":{"description":"Image"}},"x-appwrite":{"method":"getFilePreview","weight":205,"cookies":false,"type":"location","deprecated":false,"demo":"storage\/get-file-preview.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-preview.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"fileId","description":"File ID","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"width","description":"Resize preview image width, Pass an integer between 0 to 4000.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":0},"in":"query"},{"name":"height","description":"Resize preview image height, Pass an integer between 0 to 4000.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":0},"in":"query"},{"name":"gravity","description":"Image crop gravity. Can be one of center,top-left,top,top-right,left,right,bottom-left,bottom,bottom-right","required":false,"schema":{"type":"string","x-example":"center","enum":["center","top-left","top","top-right","left","right","bottom-left","bottom","bottom-right"],"x-enum-name":"ImageGravity","x-enum-keys":[],"default":"center"},"in":"query"},{"name":"quality","description":"Preview image quality. Pass an integer between 0 to 100. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":100},"in":"query"},{"name":"borderWidth","description":"Preview image border in pixels. Pass an integer between 0 to 100. Defaults to 0.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":0},"in":"query"},{"name":"borderColor","description":"Preview image border color. Use a valid HEX color, no # is needed for prefix.","required":false,"schema":{"type":"string","default":""},"in":"query"},{"name":"borderRadius","description":"Preview image border radius in pixels. Pass an integer between 0 to 4000.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":0},"in":"query"},{"name":"opacity","description":"Preview image opacity. Only works with images having an alpha channel (like png). Pass a number between 0 to 1.","required":false,"schema":{"type":"number","format":"float","x-example":0,"default":1},"in":"query"},{"name":"rotation","description":"Preview image rotation in degrees. Pass an integer between -360 and 360.","required":false,"schema":{"type":"integer","format":"int32","x-example":-360,"default":0},"in":"query"},{"name":"background","description":"Preview image background color. Only works with transparent images (png). Use a valid HEX color, no # is needed for prefix.","required":false,"schema":{"type":"string","default":""},"in":"query"},{"name":"output","description":"Output format type (jpeg, jpg, png, gif and webp).","required":false,"schema":{"type":"string","x-example":"jpg","enum":["jpg","jpeg","gif","png","webp"],"x-enum-name":"ImageFormat","x-enum-keys":[],"default":""},"in":"query"}]}},"\/storage\/buckets\/{bucketId}\/files\/{fileId}\/view":{"get":{"summary":"Get file for view","operationId":"storageGetFileView","tags":["storage"],"description":"Get a file content by its unique ID. This endpoint is similar to the download method but returns with no 'Content-Disposition: attachment' header.","responses":{"200":{"description":"File"}},"x-appwrite":{"method":"getFileView","weight":207,"cookies":false,"type":"location","deprecated":false,"demo":"storage\/get-file-view.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-view.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"fileId","description":"File ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]}},"\/teams":{"get":{"summary":"List teams","operationId":"teamsList","tags":["teams"],"description":"Get a list of all the teams in which the current user is a member. You can use the parameters to filter your results.","responses":{"200":{"description":"Teams List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/teamList"}}}}},"x-appwrite":{"method":"list","weight":214,"cookies":false,"type":"","deprecated":false,"demo":"teams\/list.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-teams.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/teams","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, total, billingPlan","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"","default":""},"in":"query"}]},"post":{"summary":"Create team","operationId":"teamsCreate","tags":["teams"],"description":"Create a new team. The user who creates the team will automatically be assigned as the owner of the team. Only the users with the owner role can invite new members, add new owners and delete or update the team.","responses":{"201":{"description":"Team","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/team"}}}}},"x-appwrite":{"method":"create","weight":213,"cookies":false,"type":"","deprecated":false,"demo":"teams\/create.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"teamId":{"type":"string","description":"Team ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":""},"name":{"type":"string","description":"Team name. Max length: 128 chars.","x-example":""},"roles":{"type":"array","description":"Array of strings. Use this param to set the roles in the team for the user who created it. The default role is **owner**. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.","x-example":null,"items":{"type":"string"}}},"required":["teamId","name"]}}}}}},"\/teams\/{teamId}":{"get":{"summary":"Get team","operationId":"teamsGet","tags":["teams"],"description":"Get a team by its ID. All team members have read access for this resource.","responses":{"200":{"description":"Team","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/team"}}}}},"x-appwrite":{"method":"get","weight":215,"cookies":false,"type":"","deprecated":false,"demo":"teams\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/teams","offline-key":"{teamId}","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]},"put":{"summary":"Update name","operationId":"teamsUpdateName","tags":["teams"],"description":"Update the team's name by its unique ID.","responses":{"200":{"description":"Team","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/team"}}}}},"x-appwrite":{"method":"updateName","weight":217,"cookies":false,"type":"","deprecated":false,"demo":"teams\/update-name.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-name.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"\/teams","offline-key":"{teamId}","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"New team name. Max length: 128 chars.","x-example":""}},"required":["name"]}}}}},"delete":{"summary":"Delete team","operationId":"teamsDelete","tags":["teams"],"description":"Delete a team using its ID. Only team members with the owner role can delete the team.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"delete","weight":219,"cookies":false,"type":"","deprecated":false,"demo":"teams\/delete.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]}},"\/teams\/{teamId}\/memberships":{"get":{"summary":"List team memberships","operationId":"teamsListMemberships","tags":["teams"],"description":"Use this endpoint to list a team's members using the team's ID. All team members have read access to this endpoint.","responses":{"200":{"description":"Memberships List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/membershipList"}}}}},"x-appwrite":{"method":"listMemberships","weight":221,"cookies":false,"type":"","deprecated":false,"demo":"teams\/list-memberships.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-team-members.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/teams\/{teamId}\/memberships","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, teamId, invited, joined, confirm","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"","default":""},"in":"query"}]},"post":{"summary":"Create team membership","operationId":"teamsCreateMembership","tags":["teams"],"description":"Invite a new member to join your team. Provide an ID for existing users, or invite unregistered users using an email or phone number. If initiated from a Client SDK, Appwrite will send an email or sms with a link to join the team to the invited user, and an account will be created for them if one doesn't exist. If initiated from a Server SDK, the new member will be added automatically to the team.\n\nYou only need to provide one of a user ID, email, or phone number. Appwrite will prioritize accepting the user ID > email > phone number if you provide more than one of these parameters.\n\nUse the `url` parameter to redirect the user from the invitation email to your app. After the user is redirected, use the [Update Team Membership Status](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/teams#updateMembershipStatus) endpoint to allow the user to accept the invitation to the team. \n\nPlease note that to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md) Appwrite will accept the only redirect URLs under the domains you have added as a platform on the Appwrite Console.\n","responses":{"201":{"description":"Membership","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/membership"}}}}},"x-appwrite":{"method":"createMembership","weight":220,"cookies":false,"type":"","deprecated":false,"demo":"teams\/create-membership.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team-membership.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"email":{"type":"string","description":"Email of the new team member.","x-example":"email@example.com"},"userId":{"type":"string","description":"ID of the user to be added to a team.","x-example":""},"phone":{"type":"string","description":"Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","x-example":"+12065550100"},"roles":{"type":"array","description":"Array of strings. Use this param to set the user roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.","x-example":null,"items":{"type":"string"}},"url":{"type":"string","description":"URL to redirect the user back to your app from the invitation email. This parameter is not required when an API key is supplied. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","x-example":"https:\/\/example.com"},"name":{"type":"string","description":"Name of the new team member. Max length: 128 chars.","x-example":""}},"required":["roles"]}}}}}},"\/teams\/{teamId}\/memberships\/{membershipId}":{"get":{"summary":"Get team membership","operationId":"teamsGetMembership","tags":["teams"],"description":"Get a team member by the membership unique id. All team members have read access for this resource.","responses":{"200":{"description":"Membership","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/membership"}}}}},"x-appwrite":{"method":"getMembership","weight":222,"cookies":false,"type":"","deprecated":false,"demo":"teams\/get-membership.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-member.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/teams\/{teamId}\/memberships","offline-key":"{membershipId}","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"membershipId","description":"Membership ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]},"patch":{"summary":"Update membership","operationId":"teamsUpdateMembership","tags":["teams"],"description":"Modify the roles of a team member. Only team members with the owner role have access to this endpoint. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions).\n","responses":{"200":{"description":"Membership","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/membership"}}}}},"x-appwrite":{"method":"updateMembership","weight":223,"cookies":false,"type":"","deprecated":false,"demo":"teams\/update-membership.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"membershipId","description":"Membership ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"roles":{"type":"array","description":"An array of strings. Use this param to set the user's roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.","x-example":null,"items":{"type":"string"}}},"required":["roles"]}}}}},"delete":{"summary":"Delete team membership","operationId":"teamsDeleteMembership","tags":["teams"],"description":"This endpoint allows a user to leave a team or for a team owner to delete the membership of any other team member. You can also use this endpoint to delete a user membership even if it is not accepted.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteMembership","weight":225,"cookies":false,"type":"","deprecated":false,"demo":"teams\/delete-membership.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team-membership.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"membershipId","description":"Membership ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]}},"\/teams\/{teamId}\/memberships\/{membershipId}\/status":{"patch":{"summary":"Update team membership status","operationId":"teamsUpdateMembershipStatus","tags":["teams"],"description":"Use this endpoint to allow a user to accept an invitation to join a team after being redirected back to your app from the invitation email received by the user.\n\nIf the request is successful, a session for the user is automatically created.\n","responses":{"200":{"description":"Membership","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/membership"}}}}},"x-appwrite":{"method":"updateMembershipStatus","weight":224,"cookies":false,"type":"","deprecated":false,"demo":"teams\/update-membership-status.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership-status.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"public","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"membershipId","description":"Membership ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID.","x-example":""},"secret":{"type":"string","description":"Secret key.","x-example":""}},"required":["userId","secret"]}}}}}},"\/teams\/{teamId}\/prefs":{"get":{"summary":"Get team preferences","operationId":"teamsGetPrefs","tags":["teams"],"description":"Get the team's shared preferences by its unique ID. If a preference doesn't need to be shared by all team members, prefer storing them in [user preferences](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#getPrefs).","responses":{"200":{"description":"Preferences","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/preferences"}}}}},"x-appwrite":{"method":"getPrefs","weight":216,"cookies":false,"type":"","deprecated":false,"demo":"teams\/get-prefs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-prefs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.read","platforms":["client","server"],"packaging":false,"offline-model":"\/teams\/{teamId}\/prefs","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]},"put":{"summary":"Update preferences","operationId":"teamsUpdatePrefs","tags":["teams"],"description":"Update the team's preferences by its unique ID. The object you pass is stored as is and replaces any previous value. The maximum allowed prefs size is 64kB and throws an error if exceeded.","responses":{"200":{"description":"Preferences","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/preferences"}}}}},"x-appwrite":{"method":"updatePrefs","weight":218,"cookies":false,"type":"","deprecated":false,"demo":"teams\/update-prefs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-prefs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server"],"packaging":false,"offline-model":"\/teams\/{teamId}\/prefs","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"prefs":{"type":"object","description":"Prefs key-value JSON object.","x-example":"{}"}},"required":["prefs"]}}}}}}},"tags":[{"name":"account","description":"The Account service allows you to authenticate and manage a user account.","x-globalAttributes":[]},{"name":"avatars","description":"The Avatars service aims to help you complete everyday tasks related to your app image, icons, and avatars.","x-globalAttributes":[]},{"name":"databases","description":"The Databases service allows you to create structured collections of documents, query and filter lists of documents","x-globalAttributes":["databaseId"]},{"name":"locale","description":"The Locale service allows you to customize your app based on your users' location.","x-globalAttributes":[]},{"name":"health","description":"The Health service allows you to both validate and monitor your Appwrite server's health.","x-globalAttributes":[]},{"name":"projects","description":"The Project service allows you to manage all the projects in your Appwrite server.","x-globalAttributes":[]},{"name":"project","description":"The Project service allows you to manage all the projects in your Appwrite server.","x-globalAttributes":[]},{"name":"storage","description":"The Storage service allows you to manage your project files.","x-globalAttributes":[]},{"name":"teams","description":"The Teams service allows you to group users of your project and to enable them to share read and write access to your project resources","x-globalAttributes":[]},{"name":"users","description":"The Users service allows you to manage your project users.","x-globalAttributes":[]},{"name":"functions","description":"The Functions Service allows you view, create and manage your Cloud Functions.","x-globalAttributes":[]},{"name":"proxy","description":"The Proxy Service allows you to configure actions for your domains beyond DNS configuration.","x-globalAttributes":[]},{"name":"graphql","description":"The GraphQL API allows you to query and mutate your Appwrite server using GraphQL.","x-globalAttributes":[]},{"name":"console","description":"The Console service allows you to interact with console relevant informations.","x-globalAttributes":[]},{"name":"migrations","description":"The Migrations service allows you to migrate third-party data to your Appwrite project.","x-globalAttributes":[]},{"name":"messaging","description":"The Messaging service allows you to send messages to any provider type (SMTP, push notification, SMS, etc.).","x-globalAttributes":[]}],"components":{"schemas":{"any":{"description":"Any","type":"object","additionalProperties":true},"error":{"description":"Error","type":"object","properties":{"message":{"type":"string","description":"Error message.","x-example":"Not found"},"code":{"type":"string","description":"Error code.","x-example":"404"},"type":{"type":"string","description":"Error type. You can learn more about all the error types at https:\/\/appwrite.io\/docs\/error-codes#errorTypes","x-example":"not_found"},"version":{"type":"string","description":"Server version number.","x-example":"1.0"}},"required":["message","code","type","version"]},"documentList":{"description":"Documents List","type":"object","properties":{"total":{"type":"integer","description":"Total number of documents documents that matched your query.","x-example":5,"format":"int32"},"documents":{"type":"array","description":"List of documents.","items":{"$ref":"#\/components\/schemas\/document"},"x-example":""}},"required":["total","documents"]},"sessionList":{"description":"Sessions List","type":"object","properties":{"total":{"type":"integer","description":"Total number of sessions documents that matched your query.","x-example":5,"format":"int32"},"sessions":{"type":"array","description":"List of sessions.","items":{"$ref":"#\/components\/schemas\/session"},"x-example":""}},"required":["total","sessions"]},"identityList":{"description":"Identities List","type":"object","properties":{"total":{"type":"integer","description":"Total number of identities documents that matched your query.","x-example":5,"format":"int32"},"identities":{"type":"array","description":"List of identities.","items":{"$ref":"#\/components\/schemas\/identity"},"x-example":""}},"required":["total","identities"]},"logList":{"description":"Logs List","type":"object","properties":{"total":{"type":"integer","description":"Total number of logs documents that matched your query.","x-example":5,"format":"int32"},"logs":{"type":"array","description":"List of logs.","items":{"$ref":"#\/components\/schemas\/log"},"x-example":""}},"required":["total","logs"]},"fileList":{"description":"Files List","type":"object","properties":{"total":{"type":"integer","description":"Total number of files documents that matched your query.","x-example":5,"format":"int32"},"files":{"type":"array","description":"List of files.","items":{"$ref":"#\/components\/schemas\/file"},"x-example":""}},"required":["total","files"]},"teamList":{"description":"Teams List","type":"object","properties":{"total":{"type":"integer","description":"Total number of teams documents that matched your query.","x-example":5,"format":"int32"},"teams":{"type":"array","description":"List of teams.","items":{"$ref":"#\/components\/schemas\/team"},"x-example":""}},"required":["total","teams"]},"membershipList":{"description":"Memberships List","type":"object","properties":{"total":{"type":"integer","description":"Total number of memberships documents that matched your query.","x-example":5,"format":"int32"},"memberships":{"type":"array","description":"List of memberships.","items":{"$ref":"#\/components\/schemas\/membership"},"x-example":""}},"required":["total","memberships"]},"executionList":{"description":"Executions List","type":"object","properties":{"total":{"type":"integer","description":"Total number of executions documents that matched your query.","x-example":5,"format":"int32"},"executions":{"type":"array","description":"List of executions.","items":{"$ref":"#\/components\/schemas\/execution"},"x-example":""}},"required":["total","executions"]},"countryList":{"description":"Countries List","type":"object","properties":{"total":{"type":"integer","description":"Total number of countries documents that matched your query.","x-example":5,"format":"int32"},"countries":{"type":"array","description":"List of countries.","items":{"$ref":"#\/components\/schemas\/country"},"x-example":""}},"required":["total","countries"]},"continentList":{"description":"Continents List","type":"object","properties":{"total":{"type":"integer","description":"Total number of continents documents that matched your query.","x-example":5,"format":"int32"},"continents":{"type":"array","description":"List of continents.","items":{"$ref":"#\/components\/schemas\/continent"},"x-example":""}},"required":["total","continents"]},"languageList":{"description":"Languages List","type":"object","properties":{"total":{"type":"integer","description":"Total number of languages documents that matched your query.","x-example":5,"format":"int32"},"languages":{"type":"array","description":"List of languages.","items":{"$ref":"#\/components\/schemas\/language"},"x-example":""}},"required":["total","languages"]},"currencyList":{"description":"Currencies List","type":"object","properties":{"total":{"type":"integer","description":"Total number of currencies documents that matched your query.","x-example":5,"format":"int32"},"currencies":{"type":"array","description":"List of currencies.","items":{"$ref":"#\/components\/schemas\/currency"},"x-example":""}},"required":["total","currencies"]},"phoneList":{"description":"Phones List","type":"object","properties":{"total":{"type":"integer","description":"Total number of phones documents that matched your query.","x-example":5,"format":"int32"},"phones":{"type":"array","description":"List of phones.","items":{"$ref":"#\/components\/schemas\/phone"},"x-example":""}},"required":["total","phones"]},"localeCodeList":{"description":"Locale codes list","type":"object","properties":{"total":{"type":"integer","description":"Total number of localeCodes documents that matched your query.","x-example":5,"format":"int32"},"localeCodes":{"type":"array","description":"List of localeCodes.","items":{"$ref":"#\/components\/schemas\/localeCode"},"x-example":""}},"required":["total","localeCodes"]},"document":{"description":"Document","type":"object","properties":{"$id":{"type":"string","description":"Document ID.","x-example":"5e5ea5c16897e"},"$collectionId":{"type":"string","description":"Collection ID.","x-example":"5e5ea5c15117e"},"$databaseId":{"type":"string","description":"Database ID.","x-example":"5e5ea5c15117e"},"$createdAt":{"type":"string","description":"Document creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Document update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$permissions":{"type":"array","description":"Document permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","items":{"type":"string"},"x-example":["read(\"any\")"]}},"additionalProperties":true,"required":["$id","$collectionId","$databaseId","$createdAt","$updatedAt","$permissions"]},"log":{"description":"Log","type":"object","properties":{"event":{"type":"string","description":"Event name.","x-example":"account.sessions.create"},"userId":{"type":"string","description":"User ID.","x-example":"610fc2f985ee0"},"userEmail":{"type":"string","description":"User Email.","x-example":"john@appwrite.io"},"userName":{"type":"string","description":"User Name.","x-example":"John Doe"},"mode":{"type":"string","description":"API mode when event triggered.","x-example":"admin"},"ip":{"type":"string","description":"IP session in use when the session was created.","x-example":"127.0.0.1"},"time":{"type":"string","description":"Log creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"osCode":{"type":"string","description":"Operating system code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/os.json).","x-example":"Mac"},"osName":{"type":"string","description":"Operating system name.","x-example":"Mac"},"osVersion":{"type":"string","description":"Operating system version.","x-example":"Mac"},"clientType":{"type":"string","description":"Client type.","x-example":"browser"},"clientCode":{"type":"string","description":"Client code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/clients.json).","x-example":"CM"},"clientName":{"type":"string","description":"Client name.","x-example":"Chrome Mobile iOS"},"clientVersion":{"type":"string","description":"Client version.","x-example":"84.0"},"clientEngine":{"type":"string","description":"Client engine name.","x-example":"WebKit"},"clientEngineVersion":{"type":"string","description":"Client engine name.","x-example":"605.1.15"},"deviceName":{"type":"string","description":"Device name.","x-example":"smartphone"},"deviceBrand":{"type":"string","description":"Device brand name.","x-example":"Google"},"deviceModel":{"type":"string","description":"Device model name.","x-example":"Nexus 5"},"countryCode":{"type":"string","description":"Country two-character ISO 3166-1 alpha code.","x-example":"US"},"countryName":{"type":"string","description":"Country name.","x-example":"United States"}},"required":["event","userId","userEmail","userName","mode","ip","time","osCode","osName","osVersion","clientType","clientCode","clientName","clientVersion","clientEngine","clientEngineVersion","deviceName","deviceBrand","deviceModel","countryCode","countryName"]},"user":{"description":"User","type":"object","properties":{"$id":{"type":"string","description":"User ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"User creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"User update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"User name.","x-example":"John Doe"},"password":{"type":"string","description":"Hashed user password.","x-example":"$argon2id$v=19$m=2048,t=4,p=3$aUZjLnliVWRINmFNTWMudg$5S+x+7uA31xFnrHFT47yFwcJeaP0w92L\/4LdgrVRXxE","nullable":true},"hash":{"type":"string","description":"Password hashing algorithm.","x-example":"argon2","nullable":true},"hashOptions":{"type":"object","description":"Password hashing algorithm configuration.","x-example":{},"items":{"oneOf":[{"$ref":"#\/components\/schemas\/algoArgon2"},{"$ref":"#\/components\/schemas\/algoScrypt"},{"$ref":"#\/components\/schemas\/algoScryptModified"},{"$ref":"#\/components\/schemas\/algoBcrypt"},{"$ref":"#\/components\/schemas\/algoPhpass"},{"$ref":"#\/components\/schemas\/algoSha"},{"$ref":"#\/components\/schemas\/algoMd5"}]},"nullable":true},"registration":{"type":"string","description":"User registration date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"status":{"type":"boolean","description":"User status. Pass `true` for enabled and `false` for disabled.","x-example":true},"labels":{"type":"array","description":"Labels for the user.","items":{"type":"string"},"x-example":["vip"]},"passwordUpdate":{"type":"string","description":"Password update time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"email":{"type":"string","description":"User email address.","x-example":"john@appwrite.io"},"phone":{"type":"string","description":"User phone number in E.164 format.","x-example":"+4930901820"},"emailVerification":{"type":"boolean","description":"Email verification status.","x-example":true},"phoneVerification":{"type":"boolean","description":"Phone verification status.","x-example":true},"mfa":{"type":"boolean","description":"Multi factor authentication status.","x-example":true},"prefs":{"type":"object","description":"User preferences as a key-value object","x-example":{"theme":"pink","timezone":"UTC"},"items":{"$ref":"#\/components\/schemas\/preferences"}},"targets":{"type":"array","description":"A user-owned message receiver. A single user may have multiple e.g. emails, phones, and a browser. Each target is registered with a single provider.","items":{"$ref":"#\/components\/schemas\/target"},"x-example":[]},"accessedAt":{"type":"string","description":"Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.","x-example":"2020-10-15T06:38:00.000+00:00"}},"required":["$id","$createdAt","$updatedAt","name","registration","status","labels","passwordUpdate","email","phone","emailVerification","phoneVerification","mfa","prefs","targets","accessedAt"]},"algoMd5":{"description":"AlgoMD5","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"md5"}},"required":["type"]},"algoSha":{"description":"AlgoSHA","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"sha"}},"required":["type"]},"algoPhpass":{"description":"AlgoPHPass","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"phpass"}},"required":["type"]},"algoBcrypt":{"description":"AlgoBcrypt","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"bcrypt"}},"required":["type"]},"algoScrypt":{"description":"AlgoScrypt","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"scrypt"},"costCpu":{"type":"integer","description":"CPU complexity of computed hash.","x-example":8,"format":"int32"},"costMemory":{"type":"integer","description":"Memory complexity of computed hash.","x-example":14,"format":"int32"},"costParallel":{"type":"integer","description":"Parallelization of computed hash.","x-example":1,"format":"int32"},"length":{"type":"integer","description":"Length used to compute hash.","x-example":64,"format":"int32"}},"required":["type","costCpu","costMemory","costParallel","length"]},"algoScryptModified":{"description":"AlgoScryptModified","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"scryptMod"},"salt":{"type":"string","description":"Salt used to compute hash.","x-example":"UxLMreBr6tYyjQ=="},"saltSeparator":{"type":"string","description":"Separator used to compute hash.","x-example":"Bw=="},"signerKey":{"type":"string","description":"Key used to compute hash.","x-example":"XyEKE9RcTDeLEsL\/RjwPDBv\/RqDl8fb3gpYEOQaPihbxf1ZAtSOHCjuAAa7Q3oHpCYhXSN9tizHgVOwn6krflQ=="}},"required":["type","salt","saltSeparator","signerKey"]},"algoArgon2":{"description":"AlgoArgon2","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"argon2"},"memoryCost":{"type":"integer","description":"Memory used to compute hash.","x-example":65536,"format":"int32"},"timeCost":{"type":"integer","description":"Amount of time consumed to compute hash","x-example":4,"format":"int32"},"threads":{"type":"integer","description":"Number of threads used to compute hash.","x-example":3,"format":"int32"}},"required":["type","memoryCost","timeCost","threads"]},"preferences":{"description":"Preferences","type":"object","additionalProperties":true},"session":{"description":"Session","type":"object","properties":{"$id":{"type":"string","description":"Session ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Session creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Session update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"userId":{"type":"string","description":"User ID.","x-example":"5e5bb8c16897e"},"expire":{"type":"string","description":"Session expiration date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"provider":{"type":"string","description":"Session Provider.","x-example":"email"},"providerUid":{"type":"string","description":"Session Provider User ID.","x-example":"user@example.com"},"providerAccessToken":{"type":"string","description":"Session Provider Access Token.","x-example":"MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3"},"providerAccessTokenExpiry":{"type":"string","description":"The date of when the access token expires in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"providerRefreshToken":{"type":"string","description":"Session Provider Refresh Token.","x-example":"MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3"},"ip":{"type":"string","description":"IP in use when the session was created.","x-example":"127.0.0.1"},"osCode":{"type":"string","description":"Operating system code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/os.json).","x-example":"Mac"},"osName":{"type":"string","description":"Operating system name.","x-example":"Mac"},"osVersion":{"type":"string","description":"Operating system version.","x-example":"Mac"},"clientType":{"type":"string","description":"Client type.","x-example":"browser"},"clientCode":{"type":"string","description":"Client code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/clients.json).","x-example":"CM"},"clientName":{"type":"string","description":"Client name.","x-example":"Chrome Mobile iOS"},"clientVersion":{"type":"string","description":"Client version.","x-example":"84.0"},"clientEngine":{"type":"string","description":"Client engine name.","x-example":"WebKit"},"clientEngineVersion":{"type":"string","description":"Client engine name.","x-example":"605.1.15"},"deviceName":{"type":"string","description":"Device name.","x-example":"smartphone"},"deviceBrand":{"type":"string","description":"Device brand name.","x-example":"Google"},"deviceModel":{"type":"string","description":"Device model name.","x-example":"Nexus 5"},"countryCode":{"type":"string","description":"Country two-character ISO 3166-1 alpha code.","x-example":"US"},"countryName":{"type":"string","description":"Country name.","x-example":"United States"},"current":{"type":"boolean","description":"Returns true if this the current user session.","x-example":true},"factors":{"type":"array","description":"Returns a list of active session factors.","items":{"type":"string"},"x-example":["email"]},"secret":{"type":"string","description":"Secret used to authenticate the user. Only included if the request was made with an API key","x-example":"5e5bb8c16897e"},"mfaUpdatedAt":{"type":"string","description":"Most recent date in ISO 8601 format when the session successfully passed MFA challenge.","x-example":"2020-10-15T06:38:00.000+00:00"}},"required":["$id","$createdAt","$updatedAt","userId","expire","provider","providerUid","providerAccessToken","providerAccessTokenExpiry","providerRefreshToken","ip","osCode","osName","osVersion","clientType","clientCode","clientName","clientVersion","clientEngine","clientEngineVersion","deviceName","deviceBrand","deviceModel","countryCode","countryName","current","factors","secret","mfaUpdatedAt"]},"identity":{"description":"Identity","type":"object","properties":{"$id":{"type":"string","description":"Identity ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Identity creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Identity update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"userId":{"type":"string","description":"User ID.","x-example":"5e5bb8c16897e"},"provider":{"type":"string","description":"Identity Provider.","x-example":"email"},"providerUid":{"type":"string","description":"ID of the User in the Identity Provider.","x-example":"5e5bb8c16897e"},"providerEmail":{"type":"string","description":"Email of the User in the Identity Provider.","x-example":"user@example.com"},"providerAccessToken":{"type":"string","description":"Identity Provider Access Token.","x-example":"MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3"},"providerAccessTokenExpiry":{"type":"string","description":"The date of when the access token expires in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"providerRefreshToken":{"type":"string","description":"Identity Provider Refresh Token.","x-example":"MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3"}},"required":["$id","$createdAt","$updatedAt","userId","provider","providerUid","providerEmail","providerAccessToken","providerAccessTokenExpiry","providerRefreshToken"]},"token":{"description":"Token","type":"object","properties":{"$id":{"type":"string","description":"Token ID.","x-example":"bb8ea5c16897e"},"$createdAt":{"type":"string","description":"Token creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"userId":{"type":"string","description":"User ID.","x-example":"5e5ea5c168bb8"},"secret":{"type":"string","description":"Token secret key. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.","x-example":""},"expire":{"type":"string","description":"Token expiration date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"phrase":{"type":"string","description":"Security phrase of a token. Empty if security phrase was not requested when creating a token. It includes randomly generated phrase which is also sent in the external resource such as email.","x-example":"Golden Fox"}},"required":["$id","$createdAt","userId","secret","expire","phrase"]},"jwt":{"description":"JWT","type":"object","properties":{"jwt":{"type":"string","description":"JWT encoded string.","x-example":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"}},"required":["jwt"]},"locale":{"description":"Locale","type":"object","properties":{"ip":{"type":"string","description":"User IP address.","x-example":"127.0.0.1"},"countryCode":{"type":"string","description":"Country code in [ISO 3166-1](http:\/\/en.wikipedia.org\/wiki\/ISO_3166-1) two-character format","x-example":"US"},"country":{"type":"string","description":"Country name. This field support localization.","x-example":"United States"},"continentCode":{"type":"string","description":"Continent code. A two character continent code \"AF\" for Africa, \"AN\" for Antarctica, \"AS\" for Asia, \"EU\" for Europe, \"NA\" for North America, \"OC\" for Oceania, and \"SA\" for South America.","x-example":"NA"},"continent":{"type":"string","description":"Continent name. This field support localization.","x-example":"North America"},"eu":{"type":"boolean","description":"True if country is part of the European Union.","x-example":false},"currency":{"type":"string","description":"Currency code in [ISO 4217-1](http:\/\/en.wikipedia.org\/wiki\/ISO_4217) three-character format","x-example":"USD"}},"required":["ip","countryCode","country","continentCode","continent","eu","currency"]},"localeCode":{"description":"LocaleCode","type":"object","properties":{"code":{"type":"string","description":"Locale codes in [ISO 639-1](https:\/\/en.wikipedia.org\/wiki\/List_of_ISO_639-1_codes)","x-example":"en-us"},"name":{"type":"string","description":"Locale name","x-example":"US"}},"required":["code","name"]},"file":{"description":"File","type":"object","properties":{"$id":{"type":"string","description":"File ID.","x-example":"5e5ea5c16897e"},"bucketId":{"type":"string","description":"Bucket ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"File creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"File update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$permissions":{"type":"array","description":"File permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","items":{"type":"string"},"x-example":["read(\"any\")"]},"name":{"type":"string","description":"File name.","x-example":"Pink.png"},"signature":{"type":"string","description":"File MD5 signature.","x-example":"5d529fd02b544198ae075bd57c1762bb"},"mimeType":{"type":"string","description":"File mime type.","x-example":"image\/png"},"sizeOriginal":{"type":"integer","description":"File original size in bytes.","x-example":17890,"format":"int32"},"chunksTotal":{"type":"integer","description":"Total number of chunks available","x-example":17890,"format":"int32"},"chunksUploaded":{"type":"integer","description":"Total number of chunks uploaded","x-example":17890,"format":"int32"}},"required":["$id","bucketId","$createdAt","$updatedAt","$permissions","name","signature","mimeType","sizeOriginal","chunksTotal","chunksUploaded"]},"team":{"description":"Team","type":"object","properties":{"$id":{"type":"string","description":"Team ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Team creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Team update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"Team name.","x-example":"VIP"},"total":{"type":"integer","description":"Total number of team members.","x-example":7,"format":"int32"},"prefs":{"type":"object","description":"Team preferences as a key-value object","x-example":{"theme":"pink","timezone":"UTC"},"items":{"$ref":"#\/components\/schemas\/preferences"}}},"required":["$id","$createdAt","$updatedAt","name","total","prefs"]},"membership":{"description":"Membership","type":"object","properties":{"$id":{"type":"string","description":"Membership ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Membership creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Membership update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"userId":{"type":"string","description":"User ID.","x-example":"5e5ea5c16897e"},"userName":{"type":"string","description":"User name.","x-example":"John Doe"},"userEmail":{"type":"string","description":"User email address.","x-example":"john@appwrite.io"},"teamId":{"type":"string","description":"Team ID.","x-example":"5e5ea5c16897e"},"teamName":{"type":"string","description":"Team name.","x-example":"VIP"},"invited":{"type":"string","description":"Date, the user has been invited to join the team in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"joined":{"type":"string","description":"Date, the user has accepted the invitation to join the team in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"confirm":{"type":"boolean","description":"User confirmation status, true if the user has joined the team or false otherwise.","x-example":false},"mfa":{"type":"boolean","description":"Multi factor authentication status, true if the user has MFA enabled or false otherwise.","x-example":false},"roles":{"type":"array","description":"User list of roles","items":{"type":"string"},"x-example":["owner"]}},"required":["$id","$createdAt","$updatedAt","userId","userName","userEmail","teamId","teamName","invited","joined","confirm","mfa","roles"]},"execution":{"description":"Execution","type":"object","properties":{"$id":{"type":"string","description":"Execution ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Execution creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Execution upate date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$permissions":{"type":"array","description":"Execution roles.","items":{"type":"string"},"x-example":["any"]},"functionId":{"type":"string","description":"Function ID.","x-example":"5e5ea6g16897e"},"trigger":{"type":"string","description":"The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.","x-example":"http"},"status":{"type":"string","description":"The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, or `failed`.","x-example":"processing"},"requestMethod":{"type":"string","description":"HTTP request method type.","x-example":"GET"},"requestPath":{"type":"string","description":"HTTP request path and query.","x-example":"\/articles?id=5"},"requestHeaders":{"type":"array","description":"HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.","items":{"$ref":"#\/components\/schemas\/headers"},"x-example":[{"Content-Type":"application\/json"}]},"responseStatusCode":{"type":"integer","description":"HTTP response status code.","x-example":200,"format":"int32"},"responseBody":{"type":"string","description":"HTTP response body. This will return empty unless execution is created as synchronous.","x-example":"Developers are awesome."},"responseHeaders":{"type":"array","description":"HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.","items":{"$ref":"#\/components\/schemas\/headers"},"x-example":[{"Content-Type":"application\/json"}]},"logs":{"type":"string","description":"Function logs. Includes the last 4,000 characters. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.","x-example":""},"errors":{"type":"string","description":"Function errors. Includes the last 4,000 characters. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.","x-example":""},"duration":{"type":"number","description":"Function execution duration in seconds.","x-example":0.4,"format":"double"}},"required":["$id","$createdAt","$updatedAt","$permissions","functionId","trigger","status","requestMethod","requestPath","requestHeaders","responseStatusCode","responseBody","responseHeaders","logs","errors","duration"]},"country":{"description":"Country","type":"object","properties":{"name":{"type":"string","description":"Country name.","x-example":"United States"},"code":{"type":"string","description":"Country two-character ISO 3166-1 alpha code.","x-example":"US"}},"required":["name","code"]},"continent":{"description":"Continent","type":"object","properties":{"name":{"type":"string","description":"Continent name.","x-example":"Europe"},"code":{"type":"string","description":"Continent two letter code.","x-example":"EU"}},"required":["name","code"]},"language":{"description":"Language","type":"object","properties":{"name":{"type":"string","description":"Language name.","x-example":"Italian"},"code":{"type":"string","description":"Language two-character ISO 639-1 codes.","x-example":"it"},"nativeName":{"type":"string","description":"Language native name.","x-example":"Italiano"}},"required":["name","code","nativeName"]},"currency":{"description":"Currency","type":"object","properties":{"symbol":{"type":"string","description":"Currency symbol.","x-example":"$"},"name":{"type":"string","description":"Currency name.","x-example":"US dollar"},"symbolNative":{"type":"string","description":"Currency native symbol.","x-example":"$"},"decimalDigits":{"type":"integer","description":"Number of decimal digits.","x-example":2,"format":"int32"},"rounding":{"type":"number","description":"Currency digit rounding.","x-example":0,"format":"double"},"code":{"type":"string","description":"Currency code in [ISO 4217-1](http:\/\/en.wikipedia.org\/wiki\/ISO_4217) three-character format.","x-example":"USD"},"namePlural":{"type":"string","description":"Currency plural name","x-example":"US dollars"}},"required":["symbol","name","symbolNative","decimalDigits","rounding","code","namePlural"]},"phone":{"description":"Phone","type":"object","properties":{"code":{"type":"string","description":"Phone code.","x-example":"+1"},"countryCode":{"type":"string","description":"Country two-character ISO 3166-1 alpha code.","x-example":"US"},"countryName":{"type":"string","description":"Country name.","x-example":"United States"}},"required":["code","countryCode","countryName"]},"headers":{"description":"Headers","type":"object","properties":{"name":{"type":"string","description":"Header name.","x-example":"Content-Type"},"value":{"type":"string","description":"Header value.","x-example":"application\/json"}},"required":["name","value"]},"mfaChallenge":{"description":"MFA Challenge","type":"object","properties":{"$id":{"type":"string","description":"Token ID.","x-example":"bb8ea5c16897e"},"$createdAt":{"type":"string","description":"Token creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"userId":{"type":"string","description":"User ID.","x-example":"5e5ea5c168bb8"},"expire":{"type":"string","description":"Token expiration date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"}},"required":["$id","$createdAt","userId","expire"]},"mfaRecoveryCodes":{"description":"MFA Recovery Codes","type":"object","properties":{"recoveryCodes":{"type":"array","description":"Recovery codes.","items":{"type":"string"},"x-example":["a3kf0-s0cl2","s0co1-as98s"]}},"required":["recoveryCodes"]},"mfaType":{"description":"MFAType","type":"object","properties":{"secret":{"type":"string","description":"Secret token used for TOTP factor.","x-example":true},"uri":{"type":"string","description":"URI for authenticator apps.","x-example":true}},"required":["secret","uri"]},"mfaFactors":{"description":"MFAFactors","type":"object","properties":{"totp":{"type":"boolean","description":"Can TOTP be used for MFA challenge for this account.","x-example":true},"phone":{"type":"boolean","description":"Can phone (SMS) be used for MFA challenge for this account.","x-example":true},"email":{"type":"boolean","description":"Can email be used for MFA challenge for this account.","x-example":true},"recoveryCode":{"type":"boolean","description":"Can recovery code be used for MFA challenge for this account.","x-example":true}},"required":["totp","phone","email","recoveryCode"]},"subscriber":{"description":"Subscriber","type":"object","properties":{"$id":{"type":"string","description":"Subscriber ID.","x-example":"259125845563242502"},"$createdAt":{"type":"string","description":"Subscriber creation time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Subscriber update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"targetId":{"type":"string","description":"Target ID.","x-example":"259125845563242502"},"target":{"type":"object","description":"Target.","x-example":{"$id":"259125845563242502","$createdAt":"2020-10-15T06:38:00.000+00:00","$updatedAt":"2020-10-15T06:38:00.000+00:00","providerType":"email","providerId":"259125845563242502","name":"ageon-app-email","identifier":"random-mail@email.org","userId":"5e5ea5c16897e"},"items":{"$ref":"#\/components\/schemas\/target"}},"userId":{"type":"string","description":"Topic ID.","x-example":"5e5ea5c16897e"},"userName":{"type":"string","description":"User Name.","x-example":"Aegon Targaryen"},"topicId":{"type":"string","description":"Topic ID.","x-example":"259125845563242502"},"providerType":{"type":"string","description":"The target provider type. Can be one of the following: `email`, `sms` or `push`.","x-example":"email"}},"required":["$id","$createdAt","$updatedAt","targetId","target","userId","userName","topicId","providerType"]},"target":{"description":"Target","type":"object","properties":{"$id":{"type":"string","description":"Target ID.","x-example":"259125845563242502"},"$createdAt":{"type":"string","description":"Target creation time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Target update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"Target Name.","x-example":"Aegon apple token"},"userId":{"type":"string","description":"User ID.","x-example":"259125845563242502"},"providerId":{"type":"string","description":"Provider ID.","x-example":"259125845563242502","nullable":true},"providerType":{"type":"string","description":"The target provider type. Can be one of the following: `email`, `sms` or `push`.","x-example":"email"},"identifier":{"type":"string","description":"The target identifier.","x-example":"token"}},"required":["$id","$createdAt","$updatedAt","name","userId","providerType","identifier"]}},"securitySchemes":{"Project":{"type":"apiKey","name":"X-Appwrite-Project","description":"Your project ID","in":"header","x-appwrite":{"demo":""}},"JWT":{"type":"apiKey","name":"X-Appwrite-JWT","description":"Your secret JSON Web Token","in":"header"},"Locale":{"type":"apiKey","name":"X-Appwrite-Locale","description":"","in":"header","x-appwrite":{"demo":"en"}},"Session":{"type":"apiKey","name":"X-Appwrite-Session","description":"The user session to authenticate with","in":"header"}}},"externalDocs":{"description":"Full API docs, specs and tutorials","url":"https:\/\/appwrite.io\/docs"}} \ No newline at end of file +{ + "openapi": "3.0.0", + "info": { + "version": "1.6.2", + "title": "Appwrite", + "description": "Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https:\/\/appwrite.io\/docs](https:\/\/appwrite.io\/docs)", + "termsOfService": "https:\/\/appwrite.io\/policy\/terms", + "contact": { + "name": "Appwrite Team", + "url": "https:\/\/appwrite.io\/support", + "email": "team@appwrite.io" + }, + "license": { + "name": "BSD-3-Clause", + "url": "https:\/\/raw.githubusercontent.com\/appwrite\/appwrite\/master\/LICENSE" + } + }, + "servers": [ + { + "url": "https:\/\/.cloud.appwrite.io\/v1" + } + ], + "paths": { + "\/account": { + "get": { + "summary": "Get account", + "operationId": "accountGet", + "tags": [ + "account" + ], + "description": "Get the currently logged in user.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "get", + "group": "account", + "weight": 9, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + }, + "post": { + "summary": "Create account", + "operationId": "accountCreate", + "tags": [ + "account" + ], + "description": "Use this endpoint to allow a new user to register a new account in your project. After the user registration completes successfully, you can use the [\/account\/verfication](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createVerification) route to start verifying the user email address. To allow the new user to login to their new account, you need to create a new [account session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createEmailSession).", + "responses": { + "201": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "create", + "group": "account", + "weight": 8, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "" + }, + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "New user password. Must be between 8 and 256 chars.", + "x-example": null + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "x-example": "" + } + }, + "required": [ + "userId", + "email", + "password" + ] + } + } + } + } + } + }, + "\/account\/email": { + "patch": { + "summary": "Update email", + "operationId": "accountUpdateEmail", + "tags": [ + "account" + ], + "description": "Update currently logged in user account email address. After changing user address, the user confirmation status will get reset. A new confirmation email is not sent automatically however you can use the send confirmation email endpoint again to send the confirmation email. For security measures, user password is required to complete this request.\nThis endpoint can also be used to convert an anonymous account to a normal one, by passing an email address and a new password.\n", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updateEmail", + "group": "account", + "weight": 34, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-email.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password. Must be at least 8 chars.", + "x-example": "password" + } + }, + "required": [ + "email", + "password" + ] + } + } + } + } + } + }, + "\/account\/identities": { + "get": { + "summary": "List identities", + "operationId": "accountListIdentities", + "tags": [ + "account" + ], + "description": "Get the list of identities for the currently logged in user.", + "responses": { + "200": { + "description": "Identities List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/identityList" + } + } + } + } + }, + "x-appwrite": { + "method": "listIdentities", + "group": "identities", + "weight": 57, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/list-identities.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-identities.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, provider, providerUid, providerEmail, providerAccessTokenExpiry", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + } + }, + "\/account\/identities\/{identityId}": { + "delete": { + "summary": "Delete identity", + "operationId": "accountDeleteIdentity", + "tags": [ + "account" + ], + "description": "Delete an identity by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteIdentity", + "group": "identities", + "weight": 58, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/delete-identity.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-identity.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "identityId", + "description": "Identity ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ] + } + }, + "\/account\/jwts": { + "post": { + "summary": "Create JWT", + "operationId": "accountCreateJWT", + "tags": [ + "account" + ], + "description": "Use this endpoint to create a JSON Web Token. You can use the resulting JWT to authenticate on behalf of the current user when working with the Appwrite server-side API and SDKs. The JWT secret is valid for 15 minutes from its creation and will be invalid if the user will logout in that time frame.", + "responses": { + "201": { + "description": "JWT", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/jwt" + } + } + } + } + }, + "x-appwrite": { + "method": "createJWT", + "group": "tokens", + "weight": 29, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-j-w-t.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md", + "rate-limit": 100, + "rate-time": 3600, + "rate-key": "url:{url},userId:{userId}", + "scope": "account", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ] + } + }, + "\/account\/logs": { + "get": { + "summary": "List logs", + "operationId": "accountListLogs", + "tags": [ + "account" + ], + "description": "Get the list of latest security activity logs for the currently logged in user. Each log returns user IP address, location and date and time of log.", + "responses": { + "200": { + "description": "Logs List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/logList" + } + } + } + } + }, + "x-appwrite": { + "method": "listLogs", + "group": "logs", + "weight": 31, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/list-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + } + }, + "\/account\/mfa": { + "patch": { + "summary": "Update MFA", + "operationId": "accountUpdateMFA", + "tags": [ + "account" + ], + "description": "Enable or disable MFA on an account.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updateMFA", + "group": "mfa", + "weight": 44, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-m-f-a.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "mfa": { + "type": "boolean", + "description": "Enable or disable MFA.", + "x-example": false + } + }, + "required": [ + "mfa" + ] + } + } + } + } + } + }, + "\/account\/mfa\/authenticators\/{type}": { + "post": { + "summary": "Create authenticator", + "operationId": "accountCreateMfaAuthenticator", + "tags": [ + "account" + ], + "description": "Add an authenticator app to be used as an MFA factor. Verify the authenticator using the [verify authenticator](\/docs\/references\/cloud\/client-web\/account#updateMfaAuthenticator) method.", + "responses": { + "200": { + "description": "MFAType", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/mfaType" + } + } + } + } + }, + "x-appwrite": { + "method": "createMfaAuthenticator", + "group": "mfa", + "weight": 46, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-mfa-authenticator.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-authenticator.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "type", + "description": "Type of authenticator. Must be `totp`", + "required": true, + "schema": { + "type": "string", + "x-example": "totp", + "enum": [ + "totp" + ], + "x-enum-name": "AuthenticatorType", + "x-enum-keys": [] + }, + "in": "path" + } + ] + }, + "put": { + "summary": "Update authenticator (confirmation)", + "operationId": "accountUpdateMfaAuthenticator", + "tags": [ + "account" + ], + "description": "Verify an authenticator app after adding it using the [add authenticator](\/docs\/references\/cloud\/client-web\/account#createMfaAuthenticator) method.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updateMfaAuthenticator", + "group": "mfa", + "weight": 47, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-mfa-authenticator.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-authenticator.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "type", + "description": "Type of authenticator.", + "required": true, + "schema": { + "type": "string", + "x-example": "totp", + "enum": [ + "totp" + ], + "x-enum-name": "AuthenticatorType", + "x-enum-keys": [] + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "otp": { + "type": "string", + "description": "Valid verification token.", + "x-example": "" + } + }, + "required": [ + "otp" + ] + } + } + } + } + }, + "delete": { + "summary": "Delete authenticator", + "operationId": "accountDeleteMfaAuthenticator", + "tags": [ + "account" + ], + "description": "Delete an authenticator for a user by ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteMfaAuthenticator", + "group": "mfa", + "weight": 51, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/delete-mfa-authenticator.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-mfa-authenticator.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "type", + "description": "Type of authenticator.", + "required": true, + "schema": { + "type": "string", + "x-example": "totp", + "enum": [ + "totp" + ], + "x-enum-name": "AuthenticatorType", + "x-enum-keys": [] + }, + "in": "path" + } + ] + } + }, + "\/account\/mfa\/challenge": { + "post": { + "summary": "Create MFA challenge", + "operationId": "accountCreateMfaChallenge", + "tags": [ + "account" + ], + "description": "Begin the process of MFA verification after sign-in. Finish the flow with [updateMfaChallenge](\/docs\/references\/cloud\/client-web\/account#updateMfaChallenge) method.", + "responses": { + "201": { + "description": "MFA Challenge", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/mfaChallenge" + } + } + } + } + }, + "x-appwrite": { + "method": "createMfaChallenge", + "group": "mfa", + "weight": 52, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-mfa-challenge.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},userId:{userId}", + "scope": "account", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "factor": { + "type": "string", + "description": "Factor used for verification. Must be one of following: `email`, `phone`, `totp`, `recoveryCode`.", + "x-example": "email", + "enum": [ + "email", + "phone", + "totp", + "recoverycode" + ], + "x-enum-name": "AuthenticationFactor", + "x-enum-keys": [] + } + }, + "required": [ + "factor" + ] + } + } + } + } + }, + "put": { + "summary": "Update MFA challenge (confirmation)", + "operationId": "accountUpdateMfaChallenge", + "tags": [ + "account" + ], + "description": "Complete the MFA challenge by providing the one-time password. Finish the process of MFA verification by providing the one-time password. To begin the flow, use [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method.", + "responses": { + "200": { + "description": "Session", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/session" + } + } + } + } + }, + "x-appwrite": { + "method": "updateMfaChallenge", + "group": "mfa", + "weight": 53, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-mfa-challenge.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},challengeId:{param-challengeId}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "challengeId": { + "type": "string", + "description": "ID of the challenge.", + "x-example": "" + }, + "otp": { + "type": "string", + "description": "Valid verification token.", + "x-example": "" + } + }, + "required": [ + "challengeId", + "otp" + ] + } + } + } + } + } + }, + "\/account\/mfa\/factors": { + "get": { + "summary": "List factors", + "operationId": "accountListMfaFactors", + "tags": [ + "account" + ], + "description": "List the factors available on the account to be used as a MFA challange.", + "responses": { + "200": { + "description": "MFAFactors", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/mfaFactors" + } + } + } + } + }, + "x-appwrite": { + "method": "listMfaFactors", + "group": "mfa", + "weight": 45, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/list-mfa-factors.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-mfa-factors.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/account\/mfa\/recovery-codes": { + "get": { + "summary": "List MFA recovery codes", + "operationId": "accountGetMfaRecoveryCodes", + "tags": [ + "account" + ], + "description": "Get recovery codes that can be used as backup for MFA flow. Before getting codes, they must be generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method. An OTP challenge is required to read recovery codes.", + "responses": { + "200": { + "description": "MFA Recovery Codes", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/mfaRecoveryCodes" + } + } + } + } + }, + "x-appwrite": { + "method": "getMfaRecoveryCodes", + "group": "mfa", + "weight": 50, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/get-mfa-recovery-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-mfa-recovery-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + }, + "post": { + "summary": "Create MFA recovery codes", + "operationId": "accountCreateMfaRecoveryCodes", + "tags": [ + "account" + ], + "description": "Generate recovery codes as backup for MFA flow. It's recommended to generate and show then immediately after user successfully adds their authehticator. Recovery codes can be used as a MFA verification type in [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method.", + "responses": { + "201": { + "description": "MFA Recovery Codes", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/mfaRecoveryCodes" + } + } + } + } + }, + "x-appwrite": { + "method": "createMfaRecoveryCodes", + "group": "mfa", + "weight": 48, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-mfa-recovery-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-recovery-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + }, + "patch": { + "summary": "Update MFA recovery codes (regenerate)", + "operationId": "accountUpdateMfaRecoveryCodes", + "tags": [ + "account" + ], + "description": "Regenerate recovery codes that can be used as backup for MFA flow. Before regenerating codes, they must be first generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method. An OTP challenge is required to regenreate recovery codes.", + "responses": { + "200": { + "description": "MFA Recovery Codes", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/mfaRecoveryCodes" + } + } + } + } + }, + "x-appwrite": { + "method": "updateMfaRecoveryCodes", + "group": "mfa", + "weight": 49, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-mfa-recovery-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-recovery-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/account\/name": { + "patch": { + "summary": "Update name", + "operationId": "accountUpdateName", + "tags": [ + "account" + ], + "description": "Update currently logged in user account name.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updateName", + "group": "account", + "weight": 32, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-name.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-name.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "x-example": "" + } + }, + "required": [ + "name" + ] + } + } + } + } + } + }, + "\/account\/password": { + "patch": { + "summary": "Update password", + "operationId": "accountUpdatePassword", + "tags": [ + "account" + ], + "description": "Update currently logged in user password. For validation, user is required to pass in the new password, and the old password. For users created with OAuth, Team Invites and Magic URL, oldPassword is optional.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updatePassword", + "group": "account", + "weight": 33, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-password.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-password.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "password": { + "type": "string", + "description": "New user password. Must be at least 8 chars.", + "x-example": null + }, + "oldPassword": { + "type": "string", + "description": "Current user password. Must be at least 8 chars.", + "x-example": "password" + } + }, + "required": [ + "password" + ] + } + } + } + } + } + }, + "\/account\/phone": { + "patch": { + "summary": "Update phone", + "operationId": "accountUpdatePhone", + "tags": [ + "account" + ], + "description": "Update the currently logged in user's phone number. After updating the phone number, the phone verification status will be reset. A confirmation SMS is not sent automatically, however you can use the [POST \/account\/verification\/phone](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createPhoneVerification) endpoint to send a confirmation SMS.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updatePhone", + "group": "account", + "weight": 35, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-phone.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "phone": { + "type": "string", + "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "x-example": "+12065550100" + }, + "password": { + "type": "string", + "description": "User password. Must be at least 8 chars.", + "x-example": "password" + } + }, + "required": [ + "phone", + "password" + ] + } + } + } + } + } + }, + "\/account\/prefs": { + "get": { + "summary": "Get account preferences", + "operationId": "accountGetPrefs", + "tags": [ + "account" + ], + "description": "Get the preferences as a key-value object for the currently logged in user.", + "responses": { + "200": { + "description": "Preferences", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/preferences" + } + } + } + } + }, + "x-appwrite": { + "method": "getPrefs", + "group": "account", + "weight": 30, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/get-prefs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-prefs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + }, + "patch": { + "summary": "Update preferences", + "operationId": "accountUpdatePrefs", + "tags": [ + "account" + ], + "description": "Update currently logged in user account preferences. The object you pass is stored as is, and replaces any previous value. The maximum allowed prefs size is 64kB and throws error if exceeded.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updatePrefs", + "group": "account", + "weight": 36, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-prefs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-prefs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "prefs": { + "type": "object", + "description": "Prefs key-value JSON object.", + "x-example": "{}" + } + }, + "required": [ + "prefs" + ] + } + } + } + } + } + }, + "\/account\/recovery": { + "post": { + "summary": "Create password recovery", + "operationId": "accountCreateRecovery", + "tags": [ + "account" + ], + "description": "Sends the user an email with a temporary secret key for password reset. When the user clicks the confirmation link he is redirected back to your app password reset URL with the secret key and email address values attached to the URL query string. Use the query string params to submit a request to the [PUT \/account\/recovery](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateRecovery) endpoint to complete the process. The verification link sent to the user's email address is valid for 1 hour.", + "responses": { + "201": { + "description": "Token", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/token" + } + } + } + } + }, + "x-appwrite": { + "method": "createRecovery", + "group": "recovery", + "weight": 38, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-recovery.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-recovery.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": [ + "url:{url},email:{param-email}", + "url:{url},ip:{ip}" + ], + "scope": "sessions.write", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "url": { + "type": "string", + "description": "URL to redirect the user back to your app from the recovery email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "x-example": "https:\/\/example.com" + } + }, + "required": [ + "email", + "url" + ] + } + } + } + } + }, + "put": { + "summary": "Update password recovery (confirmation)", + "operationId": "accountUpdateRecovery", + "tags": [ + "account" + ], + "description": "Use this endpoint to complete the user account password reset. Both the **userId** and **secret** arguments will be passed as query parameters to the redirect URL you have provided when sending your request to the [POST \/account\/recovery](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createRecovery) endpoint.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md) the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.", + "responses": { + "200": { + "description": "Token", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/token" + } + } + } + } + }, + "x-appwrite": { + "method": "updateRecovery", + "group": "recovery", + "weight": 39, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-recovery.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-recovery.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},userId:{param-userId}", + "scope": "sessions.write", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "" + }, + "secret": { + "type": "string", + "description": "Valid reset token.", + "x-example": "" + }, + "password": { + "type": "string", + "description": "New user password. Must be between 8 and 256 chars.", + "x-example": null + } + }, + "required": [ + "userId", + "secret", + "password" + ] + } + } + } + } + } + }, + "\/account\/sessions": { + "get": { + "summary": "List sessions", + "operationId": "accountListSessions", + "tags": [ + "account" + ], + "description": "Get the list of active sessions across different devices for the currently logged in user.", + "responses": { + "200": { + "description": "Sessions List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/sessionList" + } + } + } + } + }, + "x-appwrite": { + "method": "listSessions", + "group": "sessions", + "weight": 11, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/list-sessions.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-sessions.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + }, + "delete": { + "summary": "Delete sessions", + "operationId": "accountDeleteSessions", + "tags": [ + "account" + ], + "description": "Delete all sessions from the user account and remove any sessions cookies from the end client.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteSessions", + "group": "sessions", + "weight": 12, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/delete-sessions.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-sessions.md", + "rate-limit": 100, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/account\/sessions\/anonymous": { + "post": { + "summary": "Create anonymous session", + "operationId": "accountCreateAnonymousSession", + "tags": [ + "account" + ], + "description": "Use this endpoint to allow a new user to register an anonymous account in your project. This route will also create a new session for the user. To allow the new user to convert an anonymous account to a normal account, you need to update its [email and password](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateEmail) or create an [OAuth2 session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#CreateOAuth2Session).", + "responses": { + "201": { + "description": "Session", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/session" + } + } + } + } + }, + "x-appwrite": { + "method": "createAnonymousSession", + "group": "sessions", + "weight": 17, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-anonymous-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-anonymous.md", + "rate-limit": 50, + "rate-time": 3600, + "rate-key": "ip:{ip}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ] + } + }, + "\/account\/sessions\/email": { + "post": { + "summary": "Create email password session", + "operationId": "accountCreateEmailPasswordSession", + "tags": [ + "account" + ], + "description": "Allow the user to login into their account by providing a valid email and password combination. This route will create a new session for the user.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).", + "responses": { + "201": { + "description": "Session", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/session" + } + } + } + } + }, + "x-appwrite": { + "method": "createEmailPasswordSession", + "group": "sessions", + "weight": 16, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-email-password-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-email-password.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},email:{param-email}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password. Must be at least 8 chars.", + "x-example": "password" + } + }, + "required": [ + "email", + "password" + ] + } + } + } + } + } + }, + "\/account\/sessions\/magic-url": { + "put": { + "summary": "Update magic URL session", + "operationId": "accountUpdateMagicURLSession", + "tags": [ + "account" + ], + "description": "Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.", + "responses": { + "201": { + "description": "Session", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/session" + } + } + } + } + }, + "x-appwrite": { + "method": "updateMagicURLSession", + "group": "sessions", + "weight": 26, + "cookies": false, + "type": "", + "deprecated": true, + "demo": "account\/update-magic-u-r-l-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "ip:{ip},userId:{param-userId}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "" + }, + "secret": { + "type": "string", + "description": "Valid verification token.", + "x-example": "" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + } + } + } + }, + "\/account\/sessions\/oauth2\/{provider}": { + "get": { + "summary": "Create OAuth2 session", + "operationId": "accountCreateOAuth2Session", + "tags": [ + "account" + ], + "description": "Allow the user to login to their account using the OAuth2 provider of their choice. Each OAuth2 provider should be enabled from the Appwrite console first. Use the success and failure arguments to provide a redirect URL's back to your app when login is completed.\n\nIf there is already an active session, the new session will be attached to the logged-in account. If there are no active sessions, the server will attempt to look for a user with the same email address as the email received from the OAuth2 provider and attach the new session to the existing user. If no matching user is found - the server will create a new user.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).\n", + "responses": { + "301": { + "description": "File" + } + }, + "x-appwrite": { + "method": "createOAuth2Session", + "group": "sessions", + "weight": 19, + "cookies": false, + "type": "webAuth", + "deprecated": false, + "demo": "account\/create-o-auth2session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-oauth2.md", + "rate-limit": 50, + "rate-time": 3600, + "rate-key": "ip:{ip}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "provider", + "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", + "required": true, + "schema": { + "type": "string", + "x-example": "amazon", + "enum": [ + "amazon", + "apple", + "auth0", + "authentik", + "autodesk", + "bitbucket", + "bitly", + "box", + "dailymotion", + "discord", + "disqus", + "dropbox", + "etsy", + "facebook", + "figma", + "github", + "gitlab", + "google", + "linkedin", + "microsoft", + "notion", + "oidc", + "okta", + "paypal", + "paypalSandbox", + "podio", + "salesforce", + "slack", + "spotify", + "stripe", + "tradeshift", + "tradeshiftBox", + "twitch", + "wordpress", + "yahoo", + "yammer", + "yandex", + "zoho", + "zoom", + "mock" + ], + "x-enum-name": "OAuthProvider", + "x-enum-keys": [] + }, + "in": "path" + }, + { + "name": "success", + "description": "URL to redirect back to your app after a successful login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "required": false, + "schema": { + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com", + "default": "" + }, + "in": "query" + }, + { + "name": "failure", + "description": "URL to redirect back to your app after a failed login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "required": false, + "schema": { + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com", + "default": "" + }, + "in": "query" + }, + { + "name": "scopes", + "description": "A list of custom OAuth2 scopes. Check each provider internal docs for a list of supported scopes. Maximum of 100 scopes are allowed, each 4096 characters long.", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + } + }, + "\/account\/sessions\/phone": { + "put": { + "summary": "Update phone session", + "operationId": "accountUpdatePhoneSession", + "tags": [ + "account" + ], + "description": "Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.", + "responses": { + "201": { + "description": "Session", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/session" + } + } + } + } + }, + "x-appwrite": { + "method": "updatePhoneSession", + "group": "sessions", + "weight": 27, + "cookies": false, + "type": "", + "deprecated": true, + "demo": "account\/update-phone-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "ip:{ip},userId:{param-userId}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "" + }, + "secret": { + "type": "string", + "description": "Valid verification token.", + "x-example": "" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + } + } + } + }, + "\/account\/sessions\/token": { + "post": { + "summary": "Create session", + "operationId": "accountCreateSession", + "tags": [ + "account" + ], + "description": "Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.", + "responses": { + "201": { + "description": "Session", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/session" + } + } + } + } + }, + "x-appwrite": { + "method": "createSession", + "group": "sessions", + "weight": 18, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "ip:{ip},userId:{param-userId}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "" + }, + "secret": { + "type": "string", + "description": "Secret of a token generated by login methods. For example, the `createMagicURLToken` or `createPhoneToken` methods.", + "x-example": "" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + } + } + } + }, + "\/account\/sessions\/{sessionId}": { + "get": { + "summary": "Get session", + "operationId": "accountGetSession", + "tags": [ + "account" + ], + "description": "Use this endpoint to get a logged in user's session using a Session ID. Inputting 'current' will return the current session being used.", + "responses": { + "200": { + "description": "Session", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/session" + } + } + } + } + }, + "x-appwrite": { + "method": "getSession", + "group": "sessions", + "weight": 13, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/get-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-session.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "sessionId", + "description": "Session ID. Use the string 'current' to get the current device session.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ] + }, + "patch": { + "summary": "Update session", + "operationId": "accountUpdateSession", + "tags": [ + "account" + ], + "description": "Use this endpoint to extend a session's length. Extending a session is useful when session expiry is short. If the session was created using an OAuth provider, this endpoint refreshes the access token from the provider.", + "responses": { + "200": { + "description": "Session", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/session" + } + } + } + } + }, + "x-appwrite": { + "method": "updateSession", + "group": "sessions", + "weight": 15, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-session.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "sessionId", + "description": "Session ID. Use the string 'current' to update the current device session.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete session", + "operationId": "accountDeleteSession", + "tags": [ + "account" + ], + "description": "Logout the user. Use 'current' as the session ID to logout on this device, use a session ID to logout on another device. If you're looking to logout the user on all devices, use [Delete Sessions](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#deleteSessions) instead.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteSession", + "group": "sessions", + "weight": 14, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/delete-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-session.md", + "rate-limit": 100, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "sessionId", + "description": "Session ID. Use the string 'current' to delete the current device session.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ] + } + }, + "\/account\/status": { + "patch": { + "summary": "Update status", + "operationId": "accountUpdateStatus", + "tags": [ + "account" + ], + "description": "Block the currently logged in user account. Behind the scene, the user record is not deleted but permanently blocked from any access. To completely delete a user, use the Users API instead.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updateStatus", + "group": "account", + "weight": 37, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-status.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-status.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/account\/targets\/push": { + "post": { + "summary": "Create push target", + "operationId": "accountCreatePushTarget", + "tags": [ + "account" + ], + "description": "Use this endpoint to register a device for push notifications. Provide a target ID (custom or generated using ID.unique()), a device identifier (usually a device token), and optionally specify which provider should send notifications to this target. The target is automatically linked to the current session and includes device information like brand and model.", + "responses": { + "201": { + "description": "Target", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/target" + } + } + } + } + }, + "x-appwrite": { + "method": "createPushTarget", + "group": "pushTargets", + "weight": 54, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-push-target.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-push-target.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "targets.write", + "platforms": [ + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "targetId": { + "type": "string", + "description": "Target ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "" + }, + "identifier": { + "type": "string", + "description": "The target identifier (token, email, phone etc.)", + "x-example": "" + }, + "providerId": { + "type": "string", + "description": "Provider ID. Message will be sent to this target from the specified provider ID. If no provider ID is set the first setup provider will be used.", + "x-example": "" + } + }, + "required": [ + "targetId", + "identifier" + ] + } + } + } + } + } + }, + "\/account\/targets\/{targetId}\/push": { + "put": { + "summary": "Update push target", + "operationId": "accountUpdatePushTarget", + "tags": [ + "account" + ], + "description": "Update the currently logged in user's push notification target. You can modify the target's identifier (device token) and provider ID (token, email, phone etc.). The target must exist and belong to the current user. If you change the provider ID, notifications will be sent through the new messaging provider instead.", + "responses": { + "200": { + "description": "Target", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/target" + } + } + } + } + }, + "x-appwrite": { + "method": "updatePushTarget", + "group": "pushTargets", + "weight": 55, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-push-target.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-push-target.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "targets.write", + "platforms": [ + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [] + } + ], + "parameters": [ + { + "name": "targetId", + "description": "Target ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "identifier": { + "type": "string", + "description": "The target identifier (token, email, phone etc.)", + "x-example": "" + } + }, + "required": [ + "identifier" + ] + } + } + } + } + }, + "delete": { + "summary": "Delete push target", + "operationId": "accountDeletePushTarget", + "tags": [ + "account" + ], + "description": "Delete a push notification target for the currently logged in user. After deletion, the device will no longer receive push notifications. The target must exist and belong to the current user.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deletePushTarget", + "group": "pushTargets", + "weight": 56, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/delete-push-target.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-push-target.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "targets.write", + "platforms": [ + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [] + } + ], + "parameters": [ + { + "name": "targetId", + "description": "Target ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ] + } + }, + "\/account\/tokens\/email": { + "post": { + "summary": "Create email token (OTP)", + "operationId": "accountCreateEmailToken", + "tags": [ + "account" + ], + "description": "Sends the user an email with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's email is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).", + "responses": { + "201": { + "description": "Token", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/token" + } + } + } + } + }, + "x-appwrite": { + "method": "createEmailToken", + "group": "tokens", + "weight": 25, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-email-token.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-email.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},email:{param-email}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "" + }, + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "phrase": { + "type": "boolean", + "description": "Toggle for security phrase. If enabled, email will be send with a randomly generated phrase and the phrase will also be included in the response. Confirming phrases match increases the security of your authentication flow.", + "x-example": false + } + }, + "required": [ + "userId", + "email" + ] + } + } + } + } + } + }, + "\/account\/tokens\/magic-url": { + "post": { + "summary": "Create magic URL token", + "operationId": "accountCreateMagicURLToken", + "tags": [ + "account" + ], + "description": "Sends the user an email with a secret key for creating a session. If the provided user ID has not been registered, a new user will be created. When the user clicks the link in the email, the user is redirected back to the URL you provided with the secret key and userId values attached to the URL query string. Use the query string parameters to submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The link sent to the user's email address is valid for 1 hour.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).\n", + "responses": { + "201": { + "description": "Token", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/token" + } + } + } + } + }, + "x-appwrite": { + "method": "createMagicURLToken", + "group": "tokens", + "weight": 24, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-magic-u-r-l-token.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-magic-url.md", + "rate-limit": 60, + "rate-time": 3600, + "rate-key": [ + "url:{url},email:{param-email}", + "url:{url},ip:{ip}" + ], + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "" + }, + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "url": { + "type": "string", + "description": "URL to redirect the user back to your app from the magic URL login. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "x-example": "https:\/\/example.com" + }, + "phrase": { + "type": "boolean", + "description": "Toggle for security phrase. If enabled, email will be send with a randomly generated phrase and the phrase will also be included in the response. Confirming phrases match increases the security of your authentication flow.", + "x-example": false + } + }, + "required": [ + "userId", + "email" + ] + } + } + } + } + } + }, + "\/account\/tokens\/oauth2\/{provider}": { + "get": { + "summary": "Create OAuth2 token", + "operationId": "accountCreateOAuth2Token", + "tags": [ + "account" + ], + "description": "Allow the user to login to their account using the OAuth2 provider of their choice. Each OAuth2 provider should be enabled from the Appwrite console first. Use the success and failure arguments to provide a redirect URL's back to your app when login is completed. \n\nIf authentication succeeds, `userId` and `secret` of a token will be appended to the success URL as query parameters. These can be used to create a new session using the [Create session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).", + "responses": { + "301": { + "description": "File" + } + }, + "x-appwrite": { + "method": "createOAuth2Token", + "group": "tokens", + "weight": 23, + "cookies": false, + "type": "webAuth", + "deprecated": false, + "demo": "account\/create-o-auth2token.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-oauth2.md", + "rate-limit": 50, + "rate-time": 3600, + "rate-key": "ip:{ip}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "provider", + "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", + "required": true, + "schema": { + "type": "string", + "x-example": "amazon", + "enum": [ + "amazon", + "apple", + "auth0", + "authentik", + "autodesk", + "bitbucket", + "bitly", + "box", + "dailymotion", + "discord", + "disqus", + "dropbox", + "etsy", + "facebook", + "figma", + "github", + "gitlab", + "google", + "linkedin", + "microsoft", + "notion", + "oidc", + "okta", + "paypal", + "paypalSandbox", + "podio", + "salesforce", + "slack", + "spotify", + "stripe", + "tradeshift", + "tradeshiftBox", + "twitch", + "wordpress", + "yahoo", + "yammer", + "yandex", + "zoho", + "zoom", + "mock" + ], + "x-enum-name": "OAuthProvider", + "x-enum-keys": [] + }, + "in": "path" + }, + { + "name": "success", + "description": "URL to redirect back to your app after a successful login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "required": false, + "schema": { + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com", + "default": "" + }, + "in": "query" + }, + { + "name": "failure", + "description": "URL to redirect back to your app after a failed login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "required": false, + "schema": { + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com", + "default": "" + }, + "in": "query" + }, + { + "name": "scopes", + "description": "A list of custom OAuth2 scopes. Check each provider internal docs for a list of supported scopes. Maximum of 100 scopes are allowed, each 4096 characters long.", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + } + }, + "\/account\/tokens\/phone": { + "post": { + "summary": "Create phone token", + "operationId": "accountCreatePhoneToken", + "tags": [ + "account" + ], + "description": "Sends the user an SMS with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's phone is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).", + "responses": { + "201": { + "description": "Token", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/token" + } + } + } + } + }, + "x-appwrite": { + "method": "createPhoneToken", + "group": "tokens", + "weight": 28, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-phone-token.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-phone.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": [ + "url:{url},phone:{param-phone}", + "url:{url},ip:{ip}" + ], + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "" + }, + "phone": { + "type": "string", + "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "x-example": "+12065550100" + } + }, + "required": [ + "userId", + "phone" + ] + } + } + } + } + } + }, + "\/account\/verification": { + "post": { + "summary": "Create email verification", + "operationId": "accountCreateVerification", + "tags": [ + "account" + ], + "description": "Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n", + "responses": { + "201": { + "description": "Token", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/token" + } + } + } + } + }, + "x-appwrite": { + "method": "createVerification", + "group": "verification", + "weight": 40, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},userId:{userId}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "url": { + "type": "string", + "description": "URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "x-example": "https:\/\/example.com" + } + }, + "required": [ + "url" + ] + } + } + } + } + }, + "put": { + "summary": "Update email verification (confirmation)", + "operationId": "accountUpdateVerification", + "tags": [ + "account" + ], + "description": "Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.", + "responses": { + "200": { + "description": "Token", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/token" + } + } + } + } + }, + "x-appwrite": { + "method": "updateVerification", + "group": "verification", + "weight": 41, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},userId:{param-userId}", + "scope": "public", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "" + }, + "secret": { + "type": "string", + "description": "Valid verification token.", + "x-example": "" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + } + } + } + }, + "\/account\/verification\/phone": { + "post": { + "summary": "Create phone verification", + "operationId": "accountCreatePhoneVerification", + "tags": [ + "account" + ], + "description": "Use this endpoint to send a verification SMS to the currently logged in user. This endpoint is meant for use after updating a user's phone number using the [accountUpdatePhone](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updatePhone) endpoint. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updatePhoneVerification). The verification code sent to the user's phone number is valid for 15 minutes.", + "responses": { + "201": { + "description": "Token", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/token" + } + } + } + } + }, + "x-appwrite": { + "method": "createPhoneVerification", + "group": "verification", + "weight": 42, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-phone-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-phone-verification.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": [ + "url:{url},userId:{userId}", + "url:{url},ip:{ip}" + ], + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + }, + "put": { + "summary": "Update phone verification (confirmation)", + "operationId": "accountUpdatePhoneVerification", + "tags": [ + "account" + ], + "description": "Use this endpoint to complete the user phone verification process. Use the **userId** and **secret** that were sent to your user's phone number to verify the user email ownership. If confirmed this route will return a 200 status code.", + "responses": { + "200": { + "description": "Token", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/token" + } + } + } + } + }, + "x-appwrite": { + "method": "updatePhoneVerification", + "group": "verification", + "weight": 43, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-phone-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone-verification.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "userId:{param-userId}", + "scope": "public", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "" + }, + "secret": { + "type": "string", + "description": "Valid verification token.", + "x-example": "" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + } + } + } + }, + "\/avatars\/browsers\/{code}": { + "get": { + "summary": "Get browser icon", + "operationId": "avatarsGetBrowser", + "tags": [ + "avatars" + ], + "description": "You can use this endpoint to show different browser icons to your users. The code argument receives the browser code as it appears in your user [GET \/account\/sessions](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#getSessions) endpoint. Use width, height and quality arguments to change the output settings.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.", + "responses": { + "200": { + "description": "Image" + } + }, + "x-appwrite": { + "method": "getBrowser", + "group": null, + "weight": 60, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-browser.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-browser.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "code", + "description": "Browser Code.", + "required": true, + "schema": { + "type": "string", + "x-example": "aa", + "enum": [ + "aa", + "an", + "ch", + "ci", + "cm", + "cr", + "ff", + "sf", + "mf", + "ps", + "oi", + "om", + "op", + "on" + ], + "x-enum-name": "Browser", + "x-enum-keys": [ + "Avant Browser", + "Android WebView Beta", + "Google Chrome", + "Google Chrome (iOS)", + "Google Chrome (Mobile)", + "Chromium", + "Mozilla Firefox", + "Safari", + "Mobile Safari", + "Microsoft Edge", + "Microsoft Edge (iOS)", + "Opera Mini", + "Opera", + "Opera (Next)" + ] + }, + "in": "path" + }, + { + "name": "width", + "description": "Image width. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100 + }, + "in": "query" + }, + { + "name": "height", + "description": "Image height. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100 + }, + "in": "query" + }, + { + "name": "quality", + "description": "Image quality. Pass an integer between 0 to 100. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100 + }, + "in": "query" + } + ] + } + }, + "\/avatars\/credit-cards\/{code}": { + "get": { + "summary": "Get credit card icon", + "operationId": "avatarsGetCreditCard", + "tags": [ + "avatars" + ], + "description": "The credit card endpoint will return you the icon of the credit card provider you need. Use width, height and quality arguments to change the output settings.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n", + "responses": { + "200": { + "description": "Image" + } + }, + "x-appwrite": { + "method": "getCreditCard", + "group": null, + "weight": 59, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-credit-card.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-credit-card.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "code", + "description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, union-china-pay, visa, mir, maestro, rupay.", + "required": true, + "schema": { + "type": "string", + "x-example": "amex", + "enum": [ + "amex", + "argencard", + "cabal", + "cencosud", + "diners", + "discover", + "elo", + "hipercard", + "jcb", + "mastercard", + "naranja", + "targeta-shopping", + "union-china-pay", + "visa", + "mir", + "maestro", + "rupay" + ], + "x-enum-name": "CreditCard", + "x-enum-keys": [ + "American Express", + "Argencard", + "Cabal", + "Cencosud", + "Diners Club", + "Discover", + "Elo", + "Hipercard", + "JCB", + "Mastercard", + "Naranja", + "Tarjeta Shopping", + "Union China Pay", + "Visa", + "MIR", + "Maestro", + "Rupay" + ] + }, + "in": "path" + }, + { + "name": "width", + "description": "Image width. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100 + }, + "in": "query" + }, + { + "name": "height", + "description": "Image height. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100 + }, + "in": "query" + }, + { + "name": "quality", + "description": "Image quality. Pass an integer between 0 to 100. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100 + }, + "in": "query" + } + ] + } + }, + "\/avatars\/favicon": { + "get": { + "summary": "Get favicon", + "operationId": "avatarsGetFavicon", + "tags": [ + "avatars" + ], + "description": "Use this endpoint to fetch the favorite icon (AKA favicon) of any remote website URL.\n\nThis endpoint does not follow HTTP redirects.", + "responses": { + "200": { + "description": "Image" + } + }, + "x-appwrite": { + "method": "getFavicon", + "group": null, + "weight": 63, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-favicon.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-favicon.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "url", + "description": "Website URL which you want to fetch the favicon from.", + "required": true, + "schema": { + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com" + }, + "in": "query" + } + ] + } + }, + "\/avatars\/flags\/{code}": { + "get": { + "summary": "Get country flag", + "operationId": "avatarsGetFlag", + "tags": [ + "avatars" + ], + "description": "You can use this endpoint to show different country flags icons to your users. The code argument receives the 2 letter country code. Use width, height and quality arguments to change the output settings. Country codes follow the [ISO 3166-1](https:\/\/en.wikipedia.org\/wiki\/ISO_3166-1) standard.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n", + "responses": { + "200": { + "description": "Image" + } + }, + "x-appwrite": { + "method": "getFlag", + "group": null, + "weight": 61, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-flag.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-flag.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "code", + "description": "Country Code. ISO Alpha-2 country code format.", + "required": true, + "schema": { + "type": "string", + "x-example": "af", + "enum": [ + "af", + "ao", + "al", + "ad", + "ae", + "ar", + "am", + "ag", + "au", + "at", + "az", + "bi", + "be", + "bj", + "bf", + "bd", + "bg", + "bh", + "bs", + "ba", + "by", + "bz", + "bo", + "br", + "bb", + "bn", + "bt", + "bw", + "cf", + "ca", + "ch", + "cl", + "cn", + "ci", + "cm", + "cd", + "cg", + "co", + "km", + "cv", + "cr", + "cu", + "cy", + "cz", + "de", + "dj", + "dm", + "dk", + "do", + "dz", + "ec", + "eg", + "er", + "es", + "ee", + "et", + "fi", + "fj", + "fr", + "fm", + "ga", + "gb", + "ge", + "gh", + "gn", + "gm", + "gw", + "gq", + "gr", + "gd", + "gt", + "gy", + "hn", + "hr", + "ht", + "hu", + "id", + "in", + "ie", + "ir", + "iq", + "is", + "il", + "it", + "jm", + "jo", + "jp", + "kz", + "ke", + "kg", + "kh", + "ki", + "kn", + "kr", + "kw", + "la", + "lb", + "lr", + "ly", + "lc", + "li", + "lk", + "ls", + "lt", + "lu", + "lv", + "ma", + "mc", + "md", + "mg", + "mv", + "mx", + "mh", + "mk", + "ml", + "mt", + "mm", + "me", + "mn", + "mz", + "mr", + "mu", + "mw", + "my", + "na", + "ne", + "ng", + "ni", + "nl", + "no", + "np", + "nr", + "nz", + "om", + "pk", + "pa", + "pe", + "ph", + "pw", + "pg", + "pl", + "pf", + "kp", + "pt", + "py", + "qa", + "ro", + "ru", + "rw", + "sa", + "sd", + "sn", + "sg", + "sb", + "sl", + "sv", + "sm", + "so", + "rs", + "ss", + "st", + "sr", + "sk", + "si", + "se", + "sz", + "sc", + "sy", + "td", + "tg", + "th", + "tj", + "tm", + "tl", + "to", + "tt", + "tn", + "tr", + "tv", + "tz", + "ug", + "ua", + "uy", + "us", + "uz", + "va", + "vc", + "ve", + "vn", + "vu", + "ws", + "ye", + "za", + "zm", + "zw" + ], + "x-enum-name": "Flag", + "x-enum-keys": [ + "Afghanistan", + "Angola", + "Albania", + "Andorra", + "United Arab Emirates", + "Argentina", + "Armenia", + "Antigua and Barbuda", + "Australia", + "Austria", + "Azerbaijan", + "Burundi", + "Belgium", + "Benin", + "Burkina Faso", + "Bangladesh", + "Bulgaria", + "Bahrain", + "Bahamas", + "Bosnia and Herzegovina", + "Belarus", + "Belize", + "Bolivia", + "Brazil", + "Barbados", + "Brunei Darussalam", + "Bhutan", + "Botswana", + "Central African Republic", + "Canada", + "Switzerland", + "Chile", + "China", + "C\u00f4te d'Ivoire", + "Cameroon", + "Democratic Republic of the Congo", + "Republic of the Congo", + "Colombia", + "Comoros", + "Cape Verde", + "Costa Rica", + "Cuba", + "Cyprus", + "Czech Republic", + "Germany", + "Djibouti", + "Dominica", + "Denmark", + "Dominican Republic", + "Algeria", + "Ecuador", + "Egypt", + "Eritrea", + "Spain", + "Estonia", + "Ethiopia", + "Finland", + "Fiji", + "France", + "Micronesia (Federated States of)", + "Gabon", + "United Kingdom", + "Georgia", + "Ghana", + "Guinea", + "Gambia", + "Guinea-Bissau", + "Equatorial Guinea", + "Greece", + "Grenada", + "Guatemala", + "Guyana", + "Honduras", + "Croatia", + "Haiti", + "Hungary", + "Indonesia", + "India", + "Ireland", + "Iran (Islamic Republic of)", + "Iraq", + "Iceland", + "Israel", + "Italy", + "Jamaica", + "Jordan", + "Japan", + "Kazakhstan", + "Kenya", + "Kyrgyzstan", + "Cambodia", + "Kiribati", + "Saint Kitts and Nevis", + "South Korea", + "Kuwait", + "Lao People's Democratic Republic", + "Lebanon", + "Liberia", + "Libya", + "Saint Lucia", + "Liechtenstein", + "Sri Lanka", + "Lesotho", + "Lithuania", + "Luxembourg", + "Latvia", + "Morocco", + "Monaco", + "Moldova", + "Madagascar", + "Maldives", + "Mexico", + "Marshall Islands", + "North Macedonia", + "Mali", + "Malta", + "Myanmar", + "Montenegro", + "Mongolia", + "Mozambique", + "Mauritania", + "Mauritius", + "Malawi", + "Malaysia", + "Namibia", + "Niger", + "Nigeria", + "Nicaragua", + "Netherlands", + "Norway", + "Nepal", + "Nauru", + "New Zealand", + "Oman", + "Pakistan", + "Panama", + "Peru", + "Philippines", + "Palau", + "Papua New Guinea", + "Poland", + "French Polynesia", + "North Korea", + "Portugal", + "Paraguay", + "Qatar", + "Romania", + "Russia", + "Rwanda", + "Saudi Arabia", + "Sudan", + "Senegal", + "Singapore", + "Solomon Islands", + "Sierra Leone", + "El Salvador", + "San Marino", + "Somalia", + "Serbia", + "South Sudan", + "Sao Tome and Principe", + "Suriname", + "Slovakia", + "Slovenia", + "Sweden", + "Eswatini", + "Seychelles", + "Syria", + "Chad", + "Togo", + "Thailand", + "Tajikistan", + "Turkmenistan", + "Timor-Leste", + "Tonga", + "Trinidad and Tobago", + "Tunisia", + "Turkey", + "Tuvalu", + "Tanzania", + "Uganda", + "Ukraine", + "Uruguay", + "United States", + "Uzbekistan", + "Vatican City", + "Saint Vincent and the Grenadines", + "Venezuela", + "Vietnam", + "Vanuatu", + "Samoa", + "Yemen", + "South Africa", + "Zambia", + "Zimbabwe" + ] + }, + "in": "path" + }, + { + "name": "width", + "description": "Image width. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100 + }, + "in": "query" + }, + { + "name": "height", + "description": "Image height. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100 + }, + "in": "query" + }, + { + "name": "quality", + "description": "Image quality. Pass an integer between 0 to 100. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100 + }, + "in": "query" + } + ] + } + }, + "\/avatars\/image": { + "get": { + "summary": "Get image from URL", + "operationId": "avatarsGetImage", + "tags": [ + "avatars" + ], + "description": "Use this endpoint to fetch a remote image URL and crop it to any image size you want. This endpoint is very useful if you need to crop and display remote images in your app or in case you want to make sure a 3rd party image is properly served using a TLS protocol.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 400x400px.\n\nThis endpoint does not follow HTTP redirects.", + "responses": { + "200": { + "description": "Image" + } + }, + "x-appwrite": { + "method": "getImage", + "group": null, + "weight": 62, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-image.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-image.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "url", + "description": "Image URL which you want to crop.", + "required": true, + "schema": { + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com" + }, + "in": "query" + }, + { + "name": "width", + "description": "Resize preview image width, Pass an integer between 0 to 2000. Defaults to 400.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 400 + }, + "in": "query" + }, + { + "name": "height", + "description": "Resize preview image height, Pass an integer between 0 to 2000. Defaults to 400.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 400 + }, + "in": "query" + } + ] + } + }, + "\/avatars\/initials": { + "get": { + "summary": "Get user initials", + "operationId": "avatarsGetInitials", + "tags": [ + "avatars" + ], + "description": "Use this endpoint to show your user initials avatar icon on your website or app. By default, this route will try to print your logged-in user name or email initials. You can also overwrite the user name if you pass the 'name' parameter. If no name is given and no user is logged, an empty avatar will be returned.\n\nYou can use the color and background params to change the avatar colors. By default, a random theme will be selected. The random theme will persist for the user's initials when reloading the same theme will always return for the same initials.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n", + "responses": { + "200": { + "description": "Image" + } + }, + "x-appwrite": { + "method": "getInitials", + "group": null, + "weight": 65, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-initials.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-initials.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "name", + "description": "Full Name. When empty, current user name or email will be used. Max length: 128 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "", + "default": "" + }, + "in": "query" + }, + { + "name": "width", + "description": "Image width. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 500 + }, + "in": "query" + }, + { + "name": "height", + "description": "Image height. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 500 + }, + "in": "query" + }, + { + "name": "background", + "description": "Changes background color. By default a random color will be picked and stay will persistent to the given name.", + "required": false, + "schema": { + "type": "string", + "default": "" + }, + "in": "query" + } + ] + } + }, + "\/avatars\/qr": { + "get": { + "summary": "Get QR code", + "operationId": "avatarsGetQR", + "tags": [ + "avatars" + ], + "description": "Converts a given plain text to a QR code image. You can use the query parameters to change the size and style of the resulting image.\n", + "responses": { + "200": { + "description": "Image" + } + }, + "x-appwrite": { + "method": "getQR", + "group": null, + "weight": 64, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-q-r.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-qr.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "text", + "description": "Plain text to be converted to QR code image.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "query" + }, + { + "name": "size", + "description": "QR code size. Pass an integer between 1 to 1000. Defaults to 400.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 1, + "default": 400 + }, + "in": "query" + }, + { + "name": "margin", + "description": "Margin from edge. Pass an integer between 0 to 10. Defaults to 1.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 1 + }, + "in": "query" + }, + { + "name": "download", + "description": "Return resulting image with 'Content-Disposition: attachment ' headers for the browser to start downloading it. Pass 0 for no header, or 1 for otherwise. Default value is set to 0.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": false + }, + "in": "query" + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/documents": { + "get": { + "summary": "List documents", + "operationId": "databasesListDocuments", + "tags": [ + "databases" + ], + "description": "Get a list of all the user's documents in a given collection. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Documents List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/documentList" + } + } + } + } + }, + "x-appwrite": { + "method": "listDocuments", + "group": "documents", + "weight": 109, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/list-documents.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-documents.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "documents.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create document", + "operationId": "databasesCreateDocument", + "tags": [ + "databases" + ], + "description": "Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.\n", + "responses": { + "201": { + "description": "Document", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/document" + } + } + } + } + }, + "x-appwrite": { + "method": "createDocument", + "group": "documents", + "weight": 108, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-document.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-document.md", + "rate-limit": 120, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", + "scope": "documents.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection). Make sure to define attributes before creating documents.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "documentId": { + "type": "string", + "description": "Document ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "" + }, + "data": { + "type": "object", + "description": "Document data as JSON object.", + "x-example": "{}" + }, + "permissions": { + "type": "array", + "description": "An array of permissions strings. By default, only the current user is granted all permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + } + }, + "required": [ + "documentId", + "data" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}": { + "get": { + "summary": "Get document", + "operationId": "databasesGetDocument", + "tags": [ + "databases" + ], + "description": "Get a document by its unique ID. This endpoint response returns a JSON object with the document data.", + "responses": { + "200": { + "description": "Document", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/document" + } + } + } + } + }, + "x-appwrite": { + "method": "getDocument", + "group": "documents", + "weight": 110, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/get-document.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "documents.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + }, + { + "name": "documentId", + "description": "Document ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + }, + "patch": { + "summary": "Update document", + "operationId": "databasesUpdateDocument", + "tags": [ + "databases" + ], + "description": "Update a document by its unique ID. Using the patch method you can pass only specific fields that will get updated.", + "responses": { + "200": { + "description": "Document", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/document" + } + } + } + } + }, + "x-appwrite": { + "method": "updateDocument", + "group": "documents", + "weight": 112, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-document.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-document.md", + "rate-limit": 120, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", + "scope": "documents.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + }, + { + "name": "documentId", + "description": "Document ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "description": "Document data as JSON object. Include only attribute and value pairs to be updated.", + "x-example": "{}" + }, + "permissions": { + "type": "array", + "description": "An array of permissions strings. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete document", + "operationId": "databasesDeleteDocument", + "tags": [ + "databases" + ], + "description": "Delete a document by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteDocument", + "group": "documents", + "weight": 113, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/delete-document.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-document.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", + "scope": "documents.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + }, + { + "name": "documentId", + "description": "Document ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ] + } + }, + "\/functions\/{functionId}\/executions": { + "get": { + "summary": "List executions", + "operationId": "functionsListExecutions", + "tags": [ + "functions" + ], + "description": "Get a list of all the current user function execution logs. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Executions List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/executionList" + } + } + } + } + }, + "x-appwrite": { + "method": "listExecutions", + "group": "executions", + "weight": 305, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/list-executions.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-executions.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "execution.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: trigger, status, responseStatusCode, duration, requestMethod, requestPath, deploymentId", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "", + "default": "" + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create execution", + "operationId": "functionsCreateExecution", + "tags": [ + "functions" + ], + "description": "Trigger a function execution. The returned object will return you the current execution status. You can ping the `Get Execution` endpoint to get updates on the current execution status. Once this endpoint is called, your function execution process will start asynchronously.", + "responses": { + "201": { + "description": "Execution", + "content": { + "multipart\/form-data": { + "schema": { + "$ref": "#\/components\/schemas\/execution" + } + } + } + } + }, + "x-appwrite": { + "method": "createExecution", + "group": "executions", + "weight": 304, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/create-execution.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-execution.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "execution.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "HTTP body of execution. Default value is empty string.", + "x-example": "" + }, + "async": { + "type": "boolean", + "description": "Execute code in the background. Default value is false.", + "x-example": false + }, + "path": { + "type": "string", + "description": "HTTP path of execution. Path can include query params. Default value is \/", + "x-example": "" + }, + "method": { + "type": "string", + "description": "HTTP method of execution. Default value is GET.", + "x-example": "GET", + "enum": [ + "GET", + "POST", + "PUT", + "PATCH", + "DELETE", + "OPTIONS" + ], + "x-enum-name": "ExecutionMethod", + "x-enum-keys": [] + }, + "headers": { + "type": "string", + "description": "HTTP headers of execution. Defaults to empty.", + "x-example": null + }, + "scheduledAt": { + "type": "string", + "description": "Scheduled execution time in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future with precision in minutes.", + "x-example": null + } + } + } + } + } + } + } + }, + "\/functions\/{functionId}\/executions\/{executionId}": { + "get": { + "summary": "Get execution", + "operationId": "functionsGetExecution", + "tags": [ + "functions" + ], + "description": "Get a function execution log by its unique ID.", + "responses": { + "200": { + "description": "Execution", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/execution" + } + } + } + } + }, + "x-appwrite": { + "method": "getExecution", + "group": "executions", + "weight": 306, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/get-execution.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-execution.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "execution.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + }, + { + "name": "executionId", + "description": "Execution ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ] + } + }, + "\/graphql": { + "post": { + "summary": "GraphQL endpoint", + "operationId": "graphqlQuery", + "tags": [ + "graphql" + ], + "description": "Execute a GraphQL mutation.", + "responses": { + "200": { + "description": "Any", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/any" + } + } + } + } + }, + "x-appwrite": { + "method": "query", + "group": "graphql", + "weight": 330, + "cookies": false, + "type": "graphql", + "deprecated": false, + "demo": "graphql\/query.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "url:{url},ip:{ip}", + "scope": "graphql", + "platforms": [ + "server", + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/graphql\/mutation": { + "post": { + "summary": "GraphQL endpoint", + "operationId": "graphqlMutation", + "tags": [ + "graphql" + ], + "description": "Execute a GraphQL mutation.", + "responses": { + "200": { + "description": "Any", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/any" + } + } + } + } + }, + "x-appwrite": { + "method": "mutation", + "group": "graphql", + "weight": 329, + "cookies": false, + "type": "graphql", + "deprecated": false, + "demo": "graphql\/mutation.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "url:{url},ip:{ip}", + "scope": "graphql", + "platforms": [ + "server", + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/locale": { + "get": { + "summary": "Get user locale", + "operationId": "localeGet", + "tags": [ + "locale" + ], + "description": "Get the current user location based on IP. Returns an object with user country code, country name, continent name, continent code, ip address and suggested currency. You can use the locale header to get the data in a supported language.\n\n([IP Geolocation by DB-IP](https:\/\/db-ip.com))", + "responses": { + "200": { + "description": "Locale", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/locale" + } + } + } + } + }, + "x-appwrite": { + "method": "get", + "group": null, + "weight": 117, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/get-locale.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/locale\/codes": { + "get": { + "summary": "List locale codes", + "operationId": "localeListCodes", + "tags": [ + "locale" + ], + "description": "List of all locale codes in [ISO 639-1](https:\/\/en.wikipedia.org\/wiki\/List_of_ISO_639-1_codes).", + "responses": { + "200": { + "description": "Locale codes list", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/localeCodeList" + } + } + } + } + }, + "x-appwrite": { + "method": "listCodes", + "group": null, + "weight": 118, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-locale-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/locale\/continents": { + "get": { + "summary": "List continents", + "operationId": "localeListContinents", + "tags": [ + "locale" + ], + "description": "List of all continents. You can use the locale header to get the data in a supported language.", + "responses": { + "200": { + "description": "Continents List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/continentList" + } + } + } + } + }, + "x-appwrite": { + "method": "listContinents", + "group": null, + "weight": 122, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-continents.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-continents.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/locale\/countries": { + "get": { + "summary": "List countries", + "operationId": "localeListCountries", + "tags": [ + "locale" + ], + "description": "List of all countries. You can use the locale header to get the data in a supported language.", + "responses": { + "200": { + "description": "Countries List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/countryList" + } + } + } + } + }, + "x-appwrite": { + "method": "listCountries", + "group": null, + "weight": 119, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-countries.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/locale\/countries\/eu": { + "get": { + "summary": "List EU countries", + "operationId": "localeListCountriesEU", + "tags": [ + "locale" + ], + "description": "List of all countries that are currently members of the EU. You can use the locale header to get the data in a supported language.", + "responses": { + "200": { + "description": "Countries List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/countryList" + } + } + } + } + }, + "x-appwrite": { + "method": "listCountriesEU", + "group": null, + "weight": 120, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-countries-e-u.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-eu.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/locale\/countries\/phones": { + "get": { + "summary": "List countries phone codes", + "operationId": "localeListCountriesPhones", + "tags": [ + "locale" + ], + "description": "List of all countries phone codes. You can use the locale header to get the data in a supported language.", + "responses": { + "200": { + "description": "Phones List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/phoneList" + } + } + } + } + }, + "x-appwrite": { + "method": "listCountriesPhones", + "group": null, + "weight": 121, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-countries-phones.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-phones.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/locale\/currencies": { + "get": { + "summary": "List currencies", + "operationId": "localeListCurrencies", + "tags": [ + "locale" + ], + "description": "List of all currencies, including currency symbol, name, plural, and decimal digits for all major and minor currencies. You can use the locale header to get the data in a supported language.", + "responses": { + "200": { + "description": "Currencies List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/currencyList" + } + } + } + } + }, + "x-appwrite": { + "method": "listCurrencies", + "group": null, + "weight": 123, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-currencies.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-currencies.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/locale\/languages": { + "get": { + "summary": "List languages", + "operationId": "localeListLanguages", + "tags": [ + "locale" + ], + "description": "List of all languages classified by ISO 639-1 including 2-letter code, name in English, and name in the respective language.", + "responses": { + "200": { + "description": "Languages List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/languageList" + } + } + } + } + }, + "x-appwrite": { + "method": "listLanguages", + "group": null, + "weight": 124, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-languages.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-languages.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/messaging\/topics\/{topicId}\/subscribers": { + "post": { + "summary": "Create subscriber", + "operationId": "messagingCreateSubscriber", + "tags": [ + "messaging" + ], + "description": "Create a new subscriber.", + "responses": { + "201": { + "description": "Subscriber", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/subscriber" + } + } + } + } + }, + "x-appwrite": { + "method": "createSubscriber", + "group": "subscribers", + "weight": 375, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-subscriber.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-subscriber.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "subscribers.write", + "platforms": [ + "server", + "client", + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [], + "Session": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID. The topic ID to subscribe to.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "subscriberId": { + "type": "string", + "description": "Subscriber ID. Choose a custom Subscriber ID or a new Subscriber ID.", + "x-example": "" + }, + "targetId": { + "type": "string", + "description": "Target ID. The target ID to link to the specified Topic ID.", + "x-example": "" + } + }, + "required": [ + "subscriberId", + "targetId" + ] + } + } + } + } + } + }, + "\/messaging\/topics\/{topicId}\/subscribers\/{subscriberId}": { + "delete": { + "summary": "Delete subscriber", + "operationId": "messagingDeleteSubscriber", + "tags": [ + "messaging" + ], + "description": "Delete a subscriber by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteSubscriber", + "group": "subscribers", + "weight": 379, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/delete-subscriber.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-subscriber.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "subscribers.write", + "platforms": [ + "server", + "client", + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [], + "Session": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID. The topic ID subscribed to.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + }, + { + "name": "subscriberId", + "description": "Subscriber ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ] + } + }, + "\/storage\/buckets\/{bucketId}\/files": { + "get": { + "summary": "List files", + "operationId": "storageListFiles", + "tags": [ + "storage" + ], + "description": "Get a list of all the user files. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Files List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/fileList" + } + } + } + } + }, + "x-appwrite": { + "method": "listFiles", + "group": "files", + "weight": 207, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/list-files.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-files.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, signature, mimeType, sizeOriginal, chunksTotal, chunksUploaded", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "", + "default": "" + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create file", + "operationId": "storageCreateFile", + "tags": [ + "storage" + ], + "description": "Create a new file. Before using this route, you should create a new bucket resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/storage#storageCreateBucket) API or directly from your Appwrite console.\n\nLarger files should be uploaded using multiple requests with the [content-range](https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTTP\/Headers\/Content-Range) header to send a partial request with a maximum supported chunk of `5MB`. The `content-range` header values should always be in bytes.\n\nWhen the first request is sent, the server will return the **File** object, and the subsequent part request must include the file's **id** in `x-appwrite-id` header to allow the server to know that the partial upload is for the existing file and not for a new one.\n\nIf you're creating a new file using one of the Appwrite SDKs, all the chunking logic will be managed by the SDK internally.\n", + "responses": { + "201": { + "description": "File", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/file" + } + } + } + } + }, + "x-appwrite": { + "method": "createFile", + "group": "files", + "weight": 206, + "cookies": false, + "type": "upload", + "deprecated": false, + "demo": "storage\/create-file.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-file.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId},chunkId:{chunkId}", + "scope": "files.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "multipart\/form-data": { + "schema": { + "type": "object", + "properties": { + "fileId": { + "type": "string", + "description": "File ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "", + "x-upload-id": true + }, + "file": { + "type": "string", + "description": "Binary file. Appwrite SDKs provide helpers to handle file input. [Learn about file input](https:\/\/appwrite.io\/docs\/products\/storage\/upload-download#input-file).", + "x-example": null + }, + "permissions": { + "type": "array", + "description": "An array of permission strings. By default, only the current user is granted all permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + } + }, + "required": [ + "fileId", + "file" + ] + } + } + } + } + } + }, + "\/storage\/buckets\/{bucketId}\/files\/{fileId}": { + "get": { + "summary": "Get file", + "operationId": "storageGetFile", + "tags": [ + "storage" + ], + "description": "Get a file by its unique ID. This endpoint response returns a JSON object with the file metadata.", + "responses": { + "200": { + "description": "File", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/file" + } + } + } + } + }, + "x-appwrite": { + "method": "getFile", + "group": "files", + "weight": 208, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/get-file.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + }, + { + "name": "fileId", + "description": "File ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ] + }, + "put": { + "summary": "Update file", + "operationId": "storageUpdateFile", + "tags": [ + "storage" + ], + "description": "Update a file by its unique ID. Only users with write permissions have access to update this resource.", + "responses": { + "200": { + "description": "File", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/file" + } + } + } + } + }, + "x-appwrite": { + "method": "updateFile", + "group": "files", + "weight": 213, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/update-file.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-file.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", + "scope": "files.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + }, + { + "name": "fileId", + "description": "File unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the file", + "x-example": "" + }, + "permissions": { + "type": "array", + "description": "An array of permission string. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete file", + "operationId": "storageDeleteFile", + "tags": [ + "storage" + ], + "description": "Delete a file by its unique ID. Only users with write permissions have access to delete this resource.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteFile", + "group": "files", + "weight": 214, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/delete-file.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-file.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", + "scope": "files.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + }, + { + "name": "fileId", + "description": "File ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ] + } + }, + "\/storage\/buckets\/{bucketId}\/files\/{fileId}\/download": { + "get": { + "summary": "Get file for download", + "operationId": "storageGetFileDownload", + "tags": [ + "storage" + ], + "description": "Get a file content by its unique ID. The endpoint response return with a 'Content-Disposition: attachment' header that tells the browser to start downloading the file to user downloads directory.", + "responses": { + "200": { + "description": "File" + } + }, + "x-appwrite": { + "method": "getFileDownload", + "group": "files", + "weight": 210, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "storage\/get-file-download.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-download.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + }, + { + "name": "fileId", + "description": "File ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ] + } + }, + "\/storage\/buckets\/{bucketId}\/files\/{fileId}\/preview": { + "get": { + "summary": "Get file preview", + "operationId": "storageGetFilePreview", + "tags": [ + "storage" + ], + "description": "Get a file preview image. Currently, this method supports preview for image files (jpg, png, and gif), other supported formats, like pdf, docs, slides, and spreadsheets, will return the file icon image. You can also pass query string arguments for cutting and resizing your preview image. Preview is supported only for image files smaller than 10MB.", + "responses": { + "200": { + "description": "Image" + } + }, + "x-appwrite": { + "method": "getFilePreview", + "group": "files", + "weight": 209, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "storage\/get-file-preview.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-preview.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + }, + { + "name": "fileId", + "description": "File ID", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + }, + { + "name": "width", + "description": "Resize preview image width, Pass an integer between 0 to 4000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 0 + }, + "in": "query" + }, + { + "name": "height", + "description": "Resize preview image height, Pass an integer between 0 to 4000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 0 + }, + "in": "query" + }, + { + "name": "gravity", + "description": "Image crop gravity. Can be one of center,top-left,top,top-right,left,right,bottom-left,bottom,bottom-right", + "required": false, + "schema": { + "type": "string", + "x-example": "center", + "enum": [ + "center", + "top-left", + "top", + "top-right", + "left", + "right", + "bottom-left", + "bottom", + "bottom-right" + ], + "x-enum-name": "ImageGravity", + "x-enum-keys": [], + "default": "center" + }, + "in": "query" + }, + { + "name": "quality", + "description": "Preview image quality. Pass an integer between 0 to 100. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100 + }, + "in": "query" + }, + { + "name": "borderWidth", + "description": "Preview image border in pixels. Pass an integer between 0 to 100. Defaults to 0.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 0 + }, + "in": "query" + }, + { + "name": "borderColor", + "description": "Preview image border color. Use a valid HEX color, no # is needed for prefix.", + "required": false, + "schema": { + "type": "string", + "default": "" + }, + "in": "query" + }, + { + "name": "borderRadius", + "description": "Preview image border radius in pixels. Pass an integer between 0 to 4000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 0 + }, + "in": "query" + }, + { + "name": "opacity", + "description": "Preview image opacity. Only works with images having an alpha channel (like png). Pass a number between 0 to 1.", + "required": false, + "schema": { + "type": "number", + "format": "float", + "x-example": 0, + "default": 1 + }, + "in": "query" + }, + { + "name": "rotation", + "description": "Preview image rotation in degrees. Pass an integer between -360 and 360.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": -360, + "default": 0 + }, + "in": "query" + }, + { + "name": "background", + "description": "Preview image background color. Only works with transparent images (png). Use a valid HEX color, no # is needed for prefix.", + "required": false, + "schema": { + "type": "string", + "default": "" + }, + "in": "query" + }, + { + "name": "output", + "description": "Output format type (jpeg, jpg, png, gif and webp).", + "required": false, + "schema": { + "type": "string", + "x-example": "jpg", + "enum": [ + "jpg", + "jpeg", + "gif", + "png", + "webp", + "heic", + "avif" + ], + "x-enum-name": "ImageFormat", + "x-enum-keys": [], + "default": "" + }, + "in": "query" + } + ] + } + }, + "\/storage\/buckets\/{bucketId}\/files\/{fileId}\/view": { + "get": { + "summary": "Get file for view", + "operationId": "storageGetFileView", + "tags": [ + "storage" + ], + "description": "Get a file content by its unique ID. This endpoint is similar to the download method but returns with no 'Content-Disposition: attachment' header.", + "responses": { + "200": { + "description": "File" + } + }, + "x-appwrite": { + "method": "getFileView", + "group": "files", + "weight": 211, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "storage\/get-file-view.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-view.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + }, + { + "name": "fileId", + "description": "File ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ] + } + }, + "\/teams": { + "get": { + "summary": "List teams", + "operationId": "teamsList", + "tags": [ + "teams" + ], + "description": "Get a list of all the teams in which the current user is a member. You can use the parameters to filter your results.", + "responses": { + "200": { + "description": "Teams List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/teamList" + } + } + } + } + }, + "x-appwrite": { + "method": "list", + "group": "teams", + "weight": 218, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/list.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-teams.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, total, billingPlan", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "", + "default": "" + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create team", + "operationId": "teamsCreate", + "tags": [ + "teams" + ], + "description": "Create a new team. The user who creates the team will automatically be assigned as the owner of the team. Only the users with the owner role can invite new members, add new owners and delete or update the team.", + "responses": { + "201": { + "description": "Team", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/team" + } + } + } + } + }, + "x-appwrite": { + "method": "create", + "group": "teams", + "weight": 217, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/create.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "teamId": { + "type": "string", + "description": "Team ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "" + }, + "name": { + "type": "string", + "description": "Team name. Max length: 128 chars.", + "x-example": "" + }, + "roles": { + "type": "array", + "description": "Array of strings. Use this param to set the roles in the team for the user who created it. The default role is **owner**. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.", + "x-example": null, + "items": { + "type": "string" + } + } + }, + "required": [ + "teamId", + "name" + ] + } + } + } + } + } + }, + "\/teams\/{teamId}": { + "get": { + "summary": "Get team", + "operationId": "teamsGet", + "tags": [ + "teams" + ], + "description": "Get a team by its ID. All team members have read access for this resource.", + "responses": { + "200": { + "description": "Team", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/team" + } + } + } + } + }, + "x-appwrite": { + "method": "get", + "group": "teams", + "weight": 219, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ] + }, + "put": { + "summary": "Update name", + "operationId": "teamsUpdateName", + "tags": [ + "teams" + ], + "description": "Update the team's name by its unique ID.", + "responses": { + "200": { + "description": "Team", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/team" + } + } + } + } + }, + "x-appwrite": { + "method": "updateName", + "group": "teams", + "weight": 221, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/update-name.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-name.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "New team name. Max length: 128 chars.", + "x-example": "" + } + }, + "required": [ + "name" + ] + } + } + } + } + }, + "delete": { + "summary": "Delete team", + "operationId": "teamsDelete", + "tags": [ + "teams" + ], + "description": "Delete a team using its ID. Only team members with the owner role can delete the team.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "delete", + "group": "teams", + "weight": 223, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/delete.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ] + } + }, + "\/teams\/{teamId}\/memberships": { + "get": { + "summary": "List team memberships", + "operationId": "teamsListMemberships", + "tags": [ + "teams" + ], + "description": "Use this endpoint to list a team's members using the team's ID. All team members have read access to this endpoint. Hide sensitive attributes from the response by toggling membership privacy in the Console.", + "responses": { + "200": { + "description": "Memberships List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/membershipList" + } + } + } + } + }, + "x-appwrite": { + "method": "listMemberships", + "group": "memberships", + "weight": 225, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/list-memberships.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-team-members.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, teamId, invited, joined, confirm", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "", + "default": "" + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create team membership", + "operationId": "teamsCreateMembership", + "tags": [ + "teams" + ], + "description": "Invite a new member to join your team. Provide an ID for existing users, or invite unregistered users using an email or phone number. If initiated from a Client SDK, Appwrite will send an email or sms with a link to join the team to the invited user, and an account will be created for them if one doesn't exist. If initiated from a Server SDK, the new member will be added automatically to the team.\n\nYou only need to provide one of a user ID, email, or phone number. Appwrite will prioritize accepting the user ID > email > phone number if you provide more than one of these parameters.\n\nUse the `url` parameter to redirect the user from the invitation email to your app. After the user is redirected, use the [Update Team Membership Status](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/teams#updateMembershipStatus) endpoint to allow the user to accept the invitation to the team. \n\nPlease note that to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md) Appwrite will accept the only redirect URLs under the domains you have added as a platform on the Appwrite Console.\n", + "responses": { + "201": { + "description": "Membership", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/membership" + } + } + } + } + }, + "x-appwrite": { + "method": "createMembership", + "group": "memberships", + "weight": 224, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/create-membership.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team-membership.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "email": { + "type": "string", + "description": "Email of the new team member.", + "x-example": "email@example.com" + }, + "userId": { + "type": "string", + "description": "ID of the user to be added to a team.", + "x-example": "" + }, + "phone": { + "type": "string", + "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "x-example": "+12065550100" + }, + "roles": { + "type": "array", + "description": "Array of strings. Use this param to set the user roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.", + "x-example": null, + "items": { + "type": "string" + } + }, + "url": { + "type": "string", + "description": "URL to redirect the user back to your app from the invitation email. This parameter is not required when an API key is supplied. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "x-example": "https:\/\/example.com" + }, + "name": { + "type": "string", + "description": "Name of the new team member. Max length: 128 chars.", + "x-example": "" + } + }, + "required": [ + "roles" + ] + } + } + } + } + } + }, + "\/teams\/{teamId}\/memberships\/{membershipId}": { + "get": { + "summary": "Get team membership", + "operationId": "teamsGetMembership", + "tags": [ + "teams" + ], + "description": "Get a team member by the membership unique id. All team members have read access for this resource. Hide sensitive attributes from the response by toggling membership privacy in the Console.", + "responses": { + "200": { + "description": "Membership", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/membership" + } + } + } + } + }, + "x-appwrite": { + "method": "getMembership", + "group": "memberships", + "weight": 226, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/get-membership.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-member.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + }, + { + "name": "membershipId", + "description": "Membership ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ] + }, + "patch": { + "summary": "Update membership", + "operationId": "teamsUpdateMembership", + "tags": [ + "teams" + ], + "description": "Modify the roles of a team member. Only team members with the owner role have access to this endpoint. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions).\n", + "responses": { + "200": { + "description": "Membership", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/membership" + } + } + } + } + }, + "x-appwrite": { + "method": "updateMembership", + "group": "memberships", + "weight": 227, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/update-membership.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + }, + { + "name": "membershipId", + "description": "Membership ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "roles": { + "type": "array", + "description": "An array of strings. Use this param to set the user's roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.", + "x-example": null, + "items": { + "type": "string" + } + } + }, + "required": [ + "roles" + ] + } + } + } + } + }, + "delete": { + "summary": "Delete team membership", + "operationId": "teamsDeleteMembership", + "tags": [ + "teams" + ], + "description": "This endpoint allows a user to leave a team or for a team owner to delete the membership of any other team member. You can also use this endpoint to delete a user membership even if it is not accepted.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteMembership", + "group": "memberships", + "weight": 229, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/delete-membership.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team-membership.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + }, + { + "name": "membershipId", + "description": "Membership ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ] + } + }, + "\/teams\/{teamId}\/memberships\/{membershipId}\/status": { + "patch": { + "summary": "Update team membership status", + "operationId": "teamsUpdateMembershipStatus", + "tags": [ + "teams" + ], + "description": "Use this endpoint to allow a user to accept an invitation to join a team after being redirected back to your app from the invitation email received by the user.\n\nIf the request is successful, a session for the user is automatically created.\n", + "responses": { + "200": { + "description": "Membership", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/membership" + } + } + } + } + }, + "x-appwrite": { + "method": "updateMembershipStatus", + "group": "memberships", + "weight": 228, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/update-membership-status.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership-status.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "public", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + }, + { + "name": "membershipId", + "description": "Membership ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "" + }, + "secret": { + "type": "string", + "description": "Secret key.", + "x-example": "" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + } + } + } + }, + "\/teams\/{teamId}\/prefs": { + "get": { + "summary": "Get team preferences", + "operationId": "teamsGetPrefs", + "tags": [ + "teams" + ], + "description": "Get the team's shared preferences by its unique ID. If a preference doesn't need to be shared by all team members, prefer storing them in [user preferences](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#getPrefs).", + "responses": { + "200": { + "description": "Preferences", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/preferences" + } + } + } + } + }, + "x-appwrite": { + "method": "getPrefs", + "group": "teams", + "weight": 220, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/get-prefs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-prefs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.read", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ] + }, + "put": { + "summary": "Update preferences", + "operationId": "teamsUpdatePrefs", + "tags": [ + "teams" + ], + "description": "Update the team's preferences by its unique ID. The object you pass is stored as is and replaces any previous value. The maximum allowed prefs size is 64kB and throws an error if exceeded.", + "responses": { + "200": { + "description": "Preferences", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/preferences" + } + } + } + } + }, + "x-appwrite": { + "method": "updatePrefs", + "group": "teams", + "weight": 222, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/update-prefs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-prefs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "prefs": { + "type": "object", + "description": "Prefs key-value JSON object.", + "x-example": "{}" + } + }, + "required": [ + "prefs" + ] + } + } + } + } + } + } + }, + "tags": [ + { + "name": "account", + "description": "The Account service allows you to authenticate and manage a user account.", + "x-globalAttributes": [] + }, + { + "name": "avatars", + "description": "The Avatars service aims to help you complete everyday tasks related to your app image, icons, and avatars.", + "x-globalAttributes": [] + }, + { + "name": "databases", + "description": "The Databases service allows you to create structured collections of documents, query and filter lists of documents", + "x-globalAttributes": [ + "databaseId" + ] + }, + { + "name": "locale", + "description": "The Locale service allows you to customize your app based on your users' location.", + "x-globalAttributes": [] + }, + { + "name": "health", + "description": "The Health service allows you to both validate and monitor your Appwrite server's health.", + "x-globalAttributes": [] + }, + { + "name": "projects", + "description": "The Project service allows you to manage all the projects in your Appwrite server.", + "x-globalAttributes": [] + }, + { + "name": "project", + "description": "The Project service allows you to manage all the projects in your Appwrite server.", + "x-globalAttributes": [] + }, + { + "name": "storage", + "description": "The Storage service allows you to manage your project files.", + "x-globalAttributes": [] + }, + { + "name": "teams", + "description": "The Teams service allows you to group users of your project and to enable them to share read and write access to your project resources", + "x-globalAttributes": [] + }, + { + "name": "users", + "description": "The Users service allows you to manage your project users.", + "x-globalAttributes": [] + }, + { + "name": "functions", + "description": "The Functions Service allows you view, create and manage your Cloud Functions.", + "x-globalAttributes": [] + }, + { + "name": "proxy", + "description": "The Proxy Service allows you to configure actions for your domains beyond DNS configuration.", + "x-globalAttributes": [] + }, + { + "name": "graphql", + "description": "The GraphQL API allows you to query and mutate your Appwrite server using GraphQL.", + "x-globalAttributes": [] + }, + { + "name": "console", + "description": "The Console service allows you to interact with console relevant informations.", + "x-globalAttributes": [] + }, + { + "name": "migrations", + "description": "The Migrations service allows you to migrate third-party data to your Appwrite project.", + "x-globalAttributes": [] + }, + { + "name": "messaging", + "description": "The Messaging service allows you to send messages to any provider type (SMTP, push notification, SMS, etc.).", + "x-globalAttributes": [] + } + ], + "components": { + "schemas": { + "any": { + "description": "Any", + "type": "object", + "additionalProperties": true + }, + "error": { + "description": "Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "description": "Error message.", + "x-example": "Not found" + }, + "code": { + "type": "string", + "description": "Error code.", + "x-example": "404" + }, + "type": { + "type": "string", + "description": "Error type. You can learn more about all the error types at https:\/\/appwrite.io\/docs\/error-codes#errorTypes", + "x-example": "not_found" + }, + "version": { + "type": "string", + "description": "Server version number.", + "x-example": "1.0" + } + }, + "required": [ + "message", + "code", + "type", + "version" + ] + }, + "documentList": { + "description": "Documents List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of documents documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "documents": { + "type": "array", + "description": "List of documents.", + "items": { + "$ref": "#\/components\/schemas\/document" + }, + "x-example": "" + } + }, + "required": [ + "total", + "documents" + ] + }, + "sessionList": { + "description": "Sessions List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of sessions documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "sessions": { + "type": "array", + "description": "List of sessions.", + "items": { + "$ref": "#\/components\/schemas\/session" + }, + "x-example": "" + } + }, + "required": [ + "total", + "sessions" + ] + }, + "identityList": { + "description": "Identities List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of identities documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "identities": { + "type": "array", + "description": "List of identities.", + "items": { + "$ref": "#\/components\/schemas\/identity" + }, + "x-example": "" + } + }, + "required": [ + "total", + "identities" + ] + }, + "logList": { + "description": "Logs List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of logs documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "logs": { + "type": "array", + "description": "List of logs.", + "items": { + "$ref": "#\/components\/schemas\/log" + }, + "x-example": "" + } + }, + "required": [ + "total", + "logs" + ] + }, + "fileList": { + "description": "Files List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of files documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "files": { + "type": "array", + "description": "List of files.", + "items": { + "$ref": "#\/components\/schemas\/file" + }, + "x-example": "" + } + }, + "required": [ + "total", + "files" + ] + }, + "teamList": { + "description": "Teams List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of teams documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "teams": { + "type": "array", + "description": "List of teams.", + "items": { + "$ref": "#\/components\/schemas\/team" + }, + "x-example": "" + } + }, + "required": [ + "total", + "teams" + ] + }, + "membershipList": { + "description": "Memberships List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of memberships documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "memberships": { + "type": "array", + "description": "List of memberships.", + "items": { + "$ref": "#\/components\/schemas\/membership" + }, + "x-example": "" + } + }, + "required": [ + "total", + "memberships" + ] + }, + "executionList": { + "description": "Executions List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of executions documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "executions": { + "type": "array", + "description": "List of executions.", + "items": { + "$ref": "#\/components\/schemas\/execution" + }, + "x-example": "" + } + }, + "required": [ + "total", + "executions" + ] + }, + "countryList": { + "description": "Countries List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of countries documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "countries": { + "type": "array", + "description": "List of countries.", + "items": { + "$ref": "#\/components\/schemas\/country" + }, + "x-example": "" + } + }, + "required": [ + "total", + "countries" + ] + }, + "continentList": { + "description": "Continents List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of continents documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "continents": { + "type": "array", + "description": "List of continents.", + "items": { + "$ref": "#\/components\/schemas\/continent" + }, + "x-example": "" + } + }, + "required": [ + "total", + "continents" + ] + }, + "languageList": { + "description": "Languages List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of languages documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "languages": { + "type": "array", + "description": "List of languages.", + "items": { + "$ref": "#\/components\/schemas\/language" + }, + "x-example": "" + } + }, + "required": [ + "total", + "languages" + ] + }, + "currencyList": { + "description": "Currencies List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of currencies documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "currencies": { + "type": "array", + "description": "List of currencies.", + "items": { + "$ref": "#\/components\/schemas\/currency" + }, + "x-example": "" + } + }, + "required": [ + "total", + "currencies" + ] + }, + "phoneList": { + "description": "Phones List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of phones documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "phones": { + "type": "array", + "description": "List of phones.", + "items": { + "$ref": "#\/components\/schemas\/phone" + }, + "x-example": "" + } + }, + "required": [ + "total", + "phones" + ] + }, + "localeCodeList": { + "description": "Locale codes list", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of localeCodes documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "localeCodes": { + "type": "array", + "description": "List of localeCodes.", + "items": { + "$ref": "#\/components\/schemas\/localeCode" + }, + "x-example": "" + } + }, + "required": [ + "total", + "localeCodes" + ] + }, + "document": { + "description": "Document", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Document ID.", + "x-example": "5e5ea5c16897e" + }, + "$collectionId": { + "type": "string", + "description": "Collection ID.", + "x-example": "5e5ea5c15117e" + }, + "$databaseId": { + "type": "string", + "description": "Database ID.", + "x-example": "5e5ea5c15117e" + }, + "$createdAt": { + "type": "string", + "description": "Document creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Document update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$permissions": { + "type": "array", + "description": "Document permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "items": { + "type": "string" + }, + "x-example": [ + "read(\"any\")" + ] + } + }, + "additionalProperties": true, + "required": [ + "$id", + "$collectionId", + "$databaseId", + "$createdAt", + "$updatedAt", + "$permissions" + ] + }, + "log": { + "description": "Log", + "type": "object", + "properties": { + "event": { + "type": "string", + "description": "Event name.", + "x-example": "account.sessions.create" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "610fc2f985ee0" + }, + "userEmail": { + "type": "string", + "description": "User Email.", + "x-example": "john@appwrite.io" + }, + "userName": { + "type": "string", + "description": "User Name.", + "x-example": "John Doe" + }, + "mode": { + "type": "string", + "description": "API mode when event triggered.", + "x-example": "admin" + }, + "ip": { + "type": "string", + "description": "IP session in use when the session was created.", + "x-example": "127.0.0.1" + }, + "time": { + "type": "string", + "description": "Log creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "osCode": { + "type": "string", + "description": "Operating system code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/os.json).", + "x-example": "Mac" + }, + "osName": { + "type": "string", + "description": "Operating system name.", + "x-example": "Mac" + }, + "osVersion": { + "type": "string", + "description": "Operating system version.", + "x-example": "Mac" + }, + "clientType": { + "type": "string", + "description": "Client type.", + "x-example": "browser" + }, + "clientCode": { + "type": "string", + "description": "Client code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/clients.json).", + "x-example": "CM" + }, + "clientName": { + "type": "string", + "description": "Client name.", + "x-example": "Chrome Mobile iOS" + }, + "clientVersion": { + "type": "string", + "description": "Client version.", + "x-example": "84.0" + }, + "clientEngine": { + "type": "string", + "description": "Client engine name.", + "x-example": "WebKit" + }, + "clientEngineVersion": { + "type": "string", + "description": "Client engine name.", + "x-example": "605.1.15" + }, + "deviceName": { + "type": "string", + "description": "Device name.", + "x-example": "smartphone" + }, + "deviceBrand": { + "type": "string", + "description": "Device brand name.", + "x-example": "Google" + }, + "deviceModel": { + "type": "string", + "description": "Device model name.", + "x-example": "Nexus 5" + }, + "countryCode": { + "type": "string", + "description": "Country two-character ISO 3166-1 alpha code.", + "x-example": "US" + }, + "countryName": { + "type": "string", + "description": "Country name.", + "x-example": "United States" + } + }, + "required": [ + "event", + "userId", + "userEmail", + "userName", + "mode", + "ip", + "time", + "osCode", + "osName", + "osVersion", + "clientType", + "clientCode", + "clientName", + "clientVersion", + "clientEngine", + "clientEngineVersion", + "deviceName", + "deviceBrand", + "deviceModel", + "countryCode", + "countryName" + ] + }, + "user": { + "description": "User", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "User ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "User creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "User update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "User name.", + "x-example": "John Doe" + }, + "password": { + "type": "string", + "description": "Hashed user password.", + "x-example": "$argon2id$v=19$m=2048,t=4,p=3$aUZjLnliVWRINmFNTWMudg$5S+x+7uA31xFnrHFT47yFwcJeaP0w92L\/4LdgrVRXxE", + "nullable": true + }, + "hash": { + "type": "string", + "description": "Password hashing algorithm.", + "x-example": "argon2", + "nullable": true + }, + "hashOptions": { + "type": "object", + "description": "Password hashing algorithm configuration.", + "x-example": {}, + "items": { + "oneOf": [ + { + "$ref": "#\/components\/schemas\/algoArgon2" + }, + { + "$ref": "#\/components\/schemas\/algoScrypt" + }, + { + "$ref": "#\/components\/schemas\/algoScryptModified" + }, + { + "$ref": "#\/components\/schemas\/algoBcrypt" + }, + { + "$ref": "#\/components\/schemas\/algoPhpass" + }, + { + "$ref": "#\/components\/schemas\/algoSha" + }, + { + "$ref": "#\/components\/schemas\/algoMd5" + } + ] + }, + "nullable": true + }, + "registration": { + "type": "string", + "description": "User registration date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "status": { + "type": "boolean", + "description": "User status. Pass `true` for enabled and `false` for disabled.", + "x-example": true + }, + "labels": { + "type": "array", + "description": "Labels for the user.", + "items": { + "type": "string" + }, + "x-example": [ + "vip" + ] + }, + "passwordUpdate": { + "type": "string", + "description": "Password update time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "email": { + "type": "string", + "description": "User email address.", + "x-example": "john@appwrite.io" + }, + "phone": { + "type": "string", + "description": "User phone number in E.164 format.", + "x-example": "+4930901820" + }, + "emailVerification": { + "type": "boolean", + "description": "Email verification status.", + "x-example": true + }, + "phoneVerification": { + "type": "boolean", + "description": "Phone verification status.", + "x-example": true + }, + "mfa": { + "type": "boolean", + "description": "Multi factor authentication status.", + "x-example": true + }, + "prefs": { + "type": "object", + "description": "User preferences as a key-value object", + "x-example": { + "theme": "pink", + "timezone": "UTC" + }, + "items": { + "$ref": "#\/components\/schemas\/preferences" + } + }, + "targets": { + "type": "array", + "description": "A user-owned message receiver. A single user may have multiple e.g. emails, phones, and a browser. Each target is registered with a single provider.", + "items": { + "$ref": "#\/components\/schemas\/target" + }, + "x-example": [] + }, + "accessedAt": { + "type": "string", + "description": "Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.", + "x-example": "2020-10-15T06:38:00.000+00:00" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "registration", + "status", + "labels", + "passwordUpdate", + "email", + "phone", + "emailVerification", + "phoneVerification", + "mfa", + "prefs", + "targets", + "accessedAt" + ] + }, + "algoMd5": { + "description": "AlgoMD5", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "md5" + } + }, + "required": [ + "type" + ] + }, + "algoSha": { + "description": "AlgoSHA", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "sha" + } + }, + "required": [ + "type" + ] + }, + "algoPhpass": { + "description": "AlgoPHPass", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "phpass" + } + }, + "required": [ + "type" + ] + }, + "algoBcrypt": { + "description": "AlgoBcrypt", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "bcrypt" + } + }, + "required": [ + "type" + ] + }, + "algoScrypt": { + "description": "AlgoScrypt", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "scrypt" + }, + "costCpu": { + "type": "integer", + "description": "CPU complexity of computed hash.", + "x-example": 8, + "format": "int32" + }, + "costMemory": { + "type": "integer", + "description": "Memory complexity of computed hash.", + "x-example": 14, + "format": "int32" + }, + "costParallel": { + "type": "integer", + "description": "Parallelization of computed hash.", + "x-example": 1, + "format": "int32" + }, + "length": { + "type": "integer", + "description": "Length used to compute hash.", + "x-example": 64, + "format": "int32" + } + }, + "required": [ + "type", + "costCpu", + "costMemory", + "costParallel", + "length" + ] + }, + "algoScryptModified": { + "description": "AlgoScryptModified", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "scryptMod" + }, + "salt": { + "type": "string", + "description": "Salt used to compute hash.", + "x-example": "UxLMreBr6tYyjQ==" + }, + "saltSeparator": { + "type": "string", + "description": "Separator used to compute hash.", + "x-example": "Bw==" + }, + "signerKey": { + "type": "string", + "description": "Key used to compute hash.", + "x-example": "XyEKE9RcTDeLEsL\/RjwPDBv\/RqDl8fb3gpYEOQaPihbxf1ZAtSOHCjuAAa7Q3oHpCYhXSN9tizHgVOwn6krflQ==" + } + }, + "required": [ + "type", + "salt", + "saltSeparator", + "signerKey" + ] + }, + "algoArgon2": { + "description": "AlgoArgon2", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "argon2" + }, + "memoryCost": { + "type": "integer", + "description": "Memory used to compute hash.", + "x-example": 65536, + "format": "int32" + }, + "timeCost": { + "type": "integer", + "description": "Amount of time consumed to compute hash", + "x-example": 4, + "format": "int32" + }, + "threads": { + "type": "integer", + "description": "Number of threads used to compute hash.", + "x-example": 3, + "format": "int32" + } + }, + "required": [ + "type", + "memoryCost", + "timeCost", + "threads" + ] + }, + "preferences": { + "description": "Preferences", + "type": "object", + "additionalProperties": true + }, + "session": { + "description": "Session", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Session ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Session creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Session update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "5e5bb8c16897e" + }, + "expire": { + "type": "string", + "description": "Session expiration date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "provider": { + "type": "string", + "description": "Session Provider.", + "x-example": "email" + }, + "providerUid": { + "type": "string", + "description": "Session Provider User ID.", + "x-example": "user@example.com" + }, + "providerAccessToken": { + "type": "string", + "description": "Session Provider Access Token.", + "x-example": "MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3" + }, + "providerAccessTokenExpiry": { + "type": "string", + "description": "The date of when the access token expires in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "providerRefreshToken": { + "type": "string", + "description": "Session Provider Refresh Token.", + "x-example": "MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3" + }, + "ip": { + "type": "string", + "description": "IP in use when the session was created.", + "x-example": "127.0.0.1" + }, + "osCode": { + "type": "string", + "description": "Operating system code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/os.json).", + "x-example": "Mac" + }, + "osName": { + "type": "string", + "description": "Operating system name.", + "x-example": "Mac" + }, + "osVersion": { + "type": "string", + "description": "Operating system version.", + "x-example": "Mac" + }, + "clientType": { + "type": "string", + "description": "Client type.", + "x-example": "browser" + }, + "clientCode": { + "type": "string", + "description": "Client code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/clients.json).", + "x-example": "CM" + }, + "clientName": { + "type": "string", + "description": "Client name.", + "x-example": "Chrome Mobile iOS" + }, + "clientVersion": { + "type": "string", + "description": "Client version.", + "x-example": "84.0" + }, + "clientEngine": { + "type": "string", + "description": "Client engine name.", + "x-example": "WebKit" + }, + "clientEngineVersion": { + "type": "string", + "description": "Client engine name.", + "x-example": "605.1.15" + }, + "deviceName": { + "type": "string", + "description": "Device name.", + "x-example": "smartphone" + }, + "deviceBrand": { + "type": "string", + "description": "Device brand name.", + "x-example": "Google" + }, + "deviceModel": { + "type": "string", + "description": "Device model name.", + "x-example": "Nexus 5" + }, + "countryCode": { + "type": "string", + "description": "Country two-character ISO 3166-1 alpha code.", + "x-example": "US" + }, + "countryName": { + "type": "string", + "description": "Country name.", + "x-example": "United States" + }, + "current": { + "type": "boolean", + "description": "Returns true if this the current user session.", + "x-example": true + }, + "factors": { + "type": "array", + "description": "Returns a list of active session factors.", + "items": { + "type": "string" + }, + "x-example": [ + "email" + ] + }, + "secret": { + "type": "string", + "description": "Secret used to authenticate the user. Only included if the request was made with an API key", + "x-example": "5e5bb8c16897e" + }, + "mfaUpdatedAt": { + "type": "string", + "description": "Most recent date in ISO 8601 format when the session successfully passed MFA challenge.", + "x-example": "2020-10-15T06:38:00.000+00:00" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "userId", + "expire", + "provider", + "providerUid", + "providerAccessToken", + "providerAccessTokenExpiry", + "providerRefreshToken", + "ip", + "osCode", + "osName", + "osVersion", + "clientType", + "clientCode", + "clientName", + "clientVersion", + "clientEngine", + "clientEngineVersion", + "deviceName", + "deviceBrand", + "deviceModel", + "countryCode", + "countryName", + "current", + "factors", + "secret", + "mfaUpdatedAt" + ] + }, + "identity": { + "description": "Identity", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Identity ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Identity creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Identity update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "5e5bb8c16897e" + }, + "provider": { + "type": "string", + "description": "Identity Provider.", + "x-example": "email" + }, + "providerUid": { + "type": "string", + "description": "ID of the User in the Identity Provider.", + "x-example": "5e5bb8c16897e" + }, + "providerEmail": { + "type": "string", + "description": "Email of the User in the Identity Provider.", + "x-example": "user@example.com" + }, + "providerAccessToken": { + "type": "string", + "description": "Identity Provider Access Token.", + "x-example": "MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3" + }, + "providerAccessTokenExpiry": { + "type": "string", + "description": "The date of when the access token expires in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "providerRefreshToken": { + "type": "string", + "description": "Identity Provider Refresh Token.", + "x-example": "MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "userId", + "provider", + "providerUid", + "providerEmail", + "providerAccessToken", + "providerAccessTokenExpiry", + "providerRefreshToken" + ] + }, + "token": { + "description": "Token", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Token ID.", + "x-example": "bb8ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Token creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "5e5ea5c168bb8" + }, + "secret": { + "type": "string", + "description": "Token secret key. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.", + "x-example": "" + }, + "expire": { + "type": "string", + "description": "Token expiration date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "phrase": { + "type": "string", + "description": "Security phrase of a token. Empty if security phrase was not requested when creating a token. It includes randomly generated phrase which is also sent in the external resource such as email.", + "x-example": "Golden Fox" + } + }, + "required": [ + "$id", + "$createdAt", + "userId", + "secret", + "expire", + "phrase" + ] + }, + "jwt": { + "description": "JWT", + "type": "object", + "properties": { + "jwt": { + "type": "string", + "description": "JWT encoded string.", + "x-example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c" + } + }, + "required": [ + "jwt" + ] + }, + "locale": { + "description": "Locale", + "type": "object", + "properties": { + "ip": { + "type": "string", + "description": "User IP address.", + "x-example": "127.0.0.1" + }, + "countryCode": { + "type": "string", + "description": "Country code in [ISO 3166-1](http:\/\/en.wikipedia.org\/wiki\/ISO_3166-1) two-character format", + "x-example": "US" + }, + "country": { + "type": "string", + "description": "Country name. This field support localization.", + "x-example": "United States" + }, + "continentCode": { + "type": "string", + "description": "Continent code. A two character continent code \"AF\" for Africa, \"AN\" for Antarctica, \"AS\" for Asia, \"EU\" for Europe, \"NA\" for North America, \"OC\" for Oceania, and \"SA\" for South America.", + "x-example": "NA" + }, + "continent": { + "type": "string", + "description": "Continent name. This field support localization.", + "x-example": "North America" + }, + "eu": { + "type": "boolean", + "description": "True if country is part of the European Union.", + "x-example": false + }, + "currency": { + "type": "string", + "description": "Currency code in [ISO 4217-1](http:\/\/en.wikipedia.org\/wiki\/ISO_4217) three-character format", + "x-example": "USD" + } + }, + "required": [ + "ip", + "countryCode", + "country", + "continentCode", + "continent", + "eu", + "currency" + ] + }, + "localeCode": { + "description": "LocaleCode", + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Locale codes in [ISO 639-1](https:\/\/en.wikipedia.org\/wiki\/List_of_ISO_639-1_codes)", + "x-example": "en-us" + }, + "name": { + "type": "string", + "description": "Locale name", + "x-example": "US" + } + }, + "required": [ + "code", + "name" + ] + }, + "file": { + "description": "File", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "File ID.", + "x-example": "5e5ea5c16897e" + }, + "bucketId": { + "type": "string", + "description": "Bucket ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "File creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "File update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$permissions": { + "type": "array", + "description": "File permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "items": { + "type": "string" + }, + "x-example": [ + "read(\"any\")" + ] + }, + "name": { + "type": "string", + "description": "File name.", + "x-example": "Pink.png" + }, + "signature": { + "type": "string", + "description": "File MD5 signature.", + "x-example": "5d529fd02b544198ae075bd57c1762bb" + }, + "mimeType": { + "type": "string", + "description": "File mime type.", + "x-example": "image\/png" + }, + "sizeOriginal": { + "type": "integer", + "description": "File original size in bytes.", + "x-example": 17890, + "format": "int32" + }, + "chunksTotal": { + "type": "integer", + "description": "Total number of chunks available", + "x-example": 17890, + "format": "int32" + }, + "chunksUploaded": { + "type": "integer", + "description": "Total number of chunks uploaded", + "x-example": 17890, + "format": "int32" + } + }, + "required": [ + "$id", + "bucketId", + "$createdAt", + "$updatedAt", + "$permissions", + "name", + "signature", + "mimeType", + "sizeOriginal", + "chunksTotal", + "chunksUploaded" + ] + }, + "team": { + "description": "Team", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Team ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Team creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Team update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "Team name.", + "x-example": "VIP" + }, + "total": { + "type": "integer", + "description": "Total number of team members.", + "x-example": 7, + "format": "int32" + }, + "prefs": { + "type": "object", + "description": "Team preferences as a key-value object", + "x-example": { + "theme": "pink", + "timezone": "UTC" + }, + "items": { + "$ref": "#\/components\/schemas\/preferences" + } + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "total", + "prefs" + ] + }, + "membership": { + "description": "Membership", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Membership ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Membership creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Membership update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "5e5ea5c16897e" + }, + "userName": { + "type": "string", + "description": "User name. Hide this attribute by toggling membership privacy in the Console.", + "x-example": "John Doe" + }, + "userEmail": { + "type": "string", + "description": "User email address. Hide this attribute by toggling membership privacy in the Console.", + "x-example": "john@appwrite.io" + }, + "teamId": { + "type": "string", + "description": "Team ID.", + "x-example": "5e5ea5c16897e" + }, + "teamName": { + "type": "string", + "description": "Team name.", + "x-example": "VIP" + }, + "invited": { + "type": "string", + "description": "Date, the user has been invited to join the team in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "joined": { + "type": "string", + "description": "Date, the user has accepted the invitation to join the team in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "confirm": { + "type": "boolean", + "description": "User confirmation status, true if the user has joined the team or false otherwise.", + "x-example": false + }, + "mfa": { + "type": "boolean", + "description": "Multi factor authentication status, true if the user has MFA enabled or false otherwise. Hide this attribute by toggling membership privacy in the Console.", + "x-example": false + }, + "roles": { + "type": "array", + "description": "User list of roles", + "items": { + "type": "string" + }, + "x-example": [ + "owner" + ] + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "userId", + "userName", + "userEmail", + "teamId", + "teamName", + "invited", + "joined", + "confirm", + "mfa", + "roles" + ] + }, + "execution": { + "description": "Execution", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Execution ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Execution creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Execution upate date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$permissions": { + "type": "array", + "description": "Execution roles.", + "items": { + "type": "string" + }, + "x-example": [ + "any" + ] + }, + "functionId": { + "type": "string", + "description": "Function ID.", + "x-example": "5e5ea6g16897e" + }, + "trigger": { + "type": "string", + "description": "The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.", + "x-example": "http" + }, + "status": { + "type": "string", + "description": "The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, or `failed`.", + "x-example": "processing" + }, + "requestMethod": { + "type": "string", + "description": "HTTP request method type.", + "x-example": "GET" + }, + "requestPath": { + "type": "string", + "description": "HTTP request path and query.", + "x-example": "\/articles?id=5" + }, + "requestHeaders": { + "type": "array", + "description": "HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.", + "items": { + "$ref": "#\/components\/schemas\/headers" + }, + "x-example": [ + { + "Content-Type": "application\/json" + } + ] + }, + "responseStatusCode": { + "type": "integer", + "description": "HTTP response status code.", + "x-example": 200, + "format": "int32" + }, + "responseBody": { + "type": "string", + "description": "HTTP response body. This will return empty unless execution is created as synchronous.", + "x-example": "" + }, + "responseHeaders": { + "type": "array", + "description": "HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.", + "items": { + "$ref": "#\/components\/schemas\/headers" + }, + "x-example": [ + { + "Content-Type": "application\/json" + } + ] + }, + "logs": { + "type": "string", + "description": "Function logs. Includes the last 4,000 characters. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.", + "x-example": "" + }, + "errors": { + "type": "string", + "description": "Function errors. Includes the last 4,000 characters. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.", + "x-example": "" + }, + "duration": { + "type": "number", + "description": "Function execution duration in seconds.", + "x-example": 0.4, + "format": "double" + }, + "scheduledAt": { + "type": "string", + "description": "The scheduled time for execution. If left empty, execution will be queued immediately.", + "x-example": "2020-10-15T06:38:00.000+00:00", + "nullable": true + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "$permissions", + "functionId", + "trigger", + "status", + "requestMethod", + "requestPath", + "requestHeaders", + "responseStatusCode", + "responseBody", + "responseHeaders", + "logs", + "errors", + "duration" + ] + }, + "country": { + "description": "Country", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Country name.", + "x-example": "United States" + }, + "code": { + "type": "string", + "description": "Country two-character ISO 3166-1 alpha code.", + "x-example": "US" + } + }, + "required": [ + "name", + "code" + ] + }, + "continent": { + "description": "Continent", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Continent name.", + "x-example": "Europe" + }, + "code": { + "type": "string", + "description": "Continent two letter code.", + "x-example": "EU" + } + }, + "required": [ + "name", + "code" + ] + }, + "language": { + "description": "Language", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Language name.", + "x-example": "Italian" + }, + "code": { + "type": "string", + "description": "Language two-character ISO 639-1 codes.", + "x-example": "it" + }, + "nativeName": { + "type": "string", + "description": "Language native name.", + "x-example": "Italiano" + } + }, + "required": [ + "name", + "code", + "nativeName" + ] + }, + "currency": { + "description": "Currency", + "type": "object", + "properties": { + "symbol": { + "type": "string", + "description": "Currency symbol.", + "x-example": "$" + }, + "name": { + "type": "string", + "description": "Currency name.", + "x-example": "US dollar" + }, + "symbolNative": { + "type": "string", + "description": "Currency native symbol.", + "x-example": "$" + }, + "decimalDigits": { + "type": "integer", + "description": "Number of decimal digits.", + "x-example": 2, + "format": "int32" + }, + "rounding": { + "type": "number", + "description": "Currency digit rounding.", + "x-example": 0, + "format": "double" + }, + "code": { + "type": "string", + "description": "Currency code in [ISO 4217-1](http:\/\/en.wikipedia.org\/wiki\/ISO_4217) three-character format.", + "x-example": "USD" + }, + "namePlural": { + "type": "string", + "description": "Currency plural name", + "x-example": "US dollars" + } + }, + "required": [ + "symbol", + "name", + "symbolNative", + "decimalDigits", + "rounding", + "code", + "namePlural" + ] + }, + "phone": { + "description": "Phone", + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Phone code.", + "x-example": "+1" + }, + "countryCode": { + "type": "string", + "description": "Country two-character ISO 3166-1 alpha code.", + "x-example": "US" + }, + "countryName": { + "type": "string", + "description": "Country name.", + "x-example": "United States" + } + }, + "required": [ + "code", + "countryCode", + "countryName" + ] + }, + "headers": { + "description": "Headers", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Header name.", + "x-example": "Content-Type" + }, + "value": { + "type": "string", + "description": "Header value.", + "x-example": "application\/json" + } + }, + "required": [ + "name", + "value" + ] + }, + "mfaChallenge": { + "description": "MFA Challenge", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Token ID.", + "x-example": "bb8ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Token creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "5e5ea5c168bb8" + }, + "expire": { + "type": "string", + "description": "Token expiration date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + } + }, + "required": [ + "$id", + "$createdAt", + "userId", + "expire" + ] + }, + "mfaRecoveryCodes": { + "description": "MFA Recovery Codes", + "type": "object", + "properties": { + "recoveryCodes": { + "type": "array", + "description": "Recovery codes.", + "items": { + "type": "string" + }, + "x-example": [ + "a3kf0-s0cl2", + "s0co1-as98s" + ] + } + }, + "required": [ + "recoveryCodes" + ] + }, + "mfaType": { + "description": "MFAType", + "type": "object", + "properties": { + "secret": { + "type": "string", + "description": "Secret token used for TOTP factor.", + "x-example": true + }, + "uri": { + "type": "string", + "description": "URI for authenticator apps.", + "x-example": true + } + }, + "required": [ + "secret", + "uri" + ] + }, + "mfaFactors": { + "description": "MFAFactors", + "type": "object", + "properties": { + "totp": { + "type": "boolean", + "description": "Can TOTP be used for MFA challenge for this account.", + "x-example": true + }, + "phone": { + "type": "boolean", + "description": "Can phone (SMS) be used for MFA challenge for this account.", + "x-example": true + }, + "email": { + "type": "boolean", + "description": "Can email be used for MFA challenge for this account.", + "x-example": true + }, + "recoveryCode": { + "type": "boolean", + "description": "Can recovery code be used for MFA challenge for this account.", + "x-example": true + } + }, + "required": [ + "totp", + "phone", + "email", + "recoveryCode" + ] + }, + "subscriber": { + "description": "Subscriber", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Subscriber ID.", + "x-example": "259125845563242502" + }, + "$createdAt": { + "type": "string", + "description": "Subscriber creation time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Subscriber update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "targetId": { + "type": "string", + "description": "Target ID.", + "x-example": "259125845563242502" + }, + "target": { + "type": "object", + "description": "Target.", + "x-example": { + "$id": "259125845563242502", + "$createdAt": "2020-10-15T06:38:00.000+00:00", + "$updatedAt": "2020-10-15T06:38:00.000+00:00", + "providerType": "email", + "providerId": "259125845563242502", + "name": "ageon-app-email", + "identifier": "random-mail@email.org", + "userId": "5e5ea5c16897e" + }, + "items": { + "$ref": "#\/components\/schemas\/target" + } + }, + "userId": { + "type": "string", + "description": "Topic ID.", + "x-example": "5e5ea5c16897e" + }, + "userName": { + "type": "string", + "description": "User Name.", + "x-example": "Aegon Targaryen" + }, + "topicId": { + "type": "string", + "description": "Topic ID.", + "x-example": "259125845563242502" + }, + "providerType": { + "type": "string", + "description": "The target provider type. Can be one of the following: `email`, `sms` or `push`.", + "x-example": "email" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "targetId", + "target", + "userId", + "userName", + "topicId", + "providerType" + ] + }, + "target": { + "description": "Target", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Target ID.", + "x-example": "259125845563242502" + }, + "$createdAt": { + "type": "string", + "description": "Target creation time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Target update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "Target Name.", + "x-example": "Apple iPhone 12" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "259125845563242502" + }, + "providerId": { + "type": "string", + "description": "Provider ID.", + "x-example": "259125845563242502", + "nullable": true + }, + "providerType": { + "type": "string", + "description": "The target provider type. Can be one of the following: `email`, `sms` or `push`.", + "x-example": "email" + }, + "identifier": { + "type": "string", + "description": "The target identifier.", + "x-example": "token" + }, + "expired": { + "type": "boolean", + "description": "Is the target expired.", + "x-example": false + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "userId", + "providerType", + "identifier", + "expired" + ] + } + }, + "securitySchemes": { + "Project": { + "type": "apiKey", + "name": "X-Appwrite-Project", + "description": "Your project ID", + "in": "header", + "x-appwrite": { + "demo": "" + } + }, + "JWT": { + "type": "apiKey", + "name": "X-Appwrite-JWT", + "description": "Your secret JSON Web Token", + "in": "header" + }, + "Locale": { + "type": "apiKey", + "name": "X-Appwrite-Locale", + "description": "", + "in": "header", + "x-appwrite": { + "demo": "en" + } + }, + "Session": { + "type": "apiKey", + "name": "X-Appwrite-Session", + "description": "The user session to authenticate with", + "in": "header" + } + } + }, + "externalDocs": { + "description": "Full API docs, specs and tutorials", + "url": "https:\/\/appwrite.io\/docs" + } +} \ No newline at end of file diff --git a/app/config/specs/open-api3-1.5.x-console.json b/app/config/specs/open-api3-1.5.x-console.json index 0fc72dbdb3..00cddd7195 100644 --- a/app/config/specs/open-api3-1.5.x-console.json +++ b/app/config/specs/open-api3-1.5.x-console.json @@ -1 +1,37904 @@ -{"openapi":"3.0.0","info":{"version":"1.5.8","title":"Appwrite","description":"Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https:\/\/appwrite.io\/docs](https:\/\/appwrite.io\/docs)","termsOfService":"https:\/\/appwrite.io\/policy\/terms","contact":{"name":"Appwrite Team","url":"https:\/\/appwrite.io\/support","email":"team@appwrite.io"},"license":{"name":"BSD-3-Clause","url":"https:\/\/raw.githubusercontent.com\/appwrite\/appwrite\/master\/LICENSE"}},"servers":[{"url":"https:\/\/cloud.appwrite.io\/v1"}],"paths":{"\/account":{"get":{"summary":"Get account","operationId":"accountGet","tags":["account"],"description":"Get the currently logged in user.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"get","weight":8,"cookies":false,"type":"","deprecated":false,"demo":"account\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}]},"post":{"summary":"Create account","operationId":"accountCreate","tags":["account"],"description":"Use this endpoint to allow a new user to register a new account in your project. After the user registration completes successfully, you can use the [\/account\/verfication](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createVerification) route to start verifying the user email address. To allow the new user to login to their new account, you need to create a new [account session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createEmailSession).","responses":{"201":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"create","weight":7,"cookies":false,"type":"","deprecated":false,"demo":"account\/create.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":""},"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"password":{"type":"string","description":"New user password. Must be between 8 and 256 chars.","x-example":null},"name":{"type":"string","description":"User name. Max length: 128 chars.","x-example":""}},"required":["userId","email","password"]}}}}},"delete":{"summary":"Delete account","operationId":"accountDelete","tags":["account"],"description":"Delete the currently logged in user.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"delete","weight":9,"cookies":false,"type":"","deprecated":false,"demo":"account\/delete.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}]}},"\/account\/email":{"patch":{"summary":"Update email","operationId":"accountUpdateEmail","tags":["account"],"description":"Update currently logged in user account email address. After changing user address, the user confirmation status will get reset. A new confirmation email is not sent automatically however you can use the send confirmation email endpoint again to send the confirmation email. For security measures, user password is required to complete this request.\nThis endpoint can also be used to convert an anonymous account to a normal one, by passing an email address and a new password.\n","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updateEmail","weight":33,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-email.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"password":{"type":"string","description":"User password. Must be at least 8 chars.","x-example":"password"}},"required":["email","password"]}}}}}},"\/account\/identities":{"get":{"summary":"List Identities","operationId":"accountListIdentities","tags":["account"],"description":"Get the list of identities for the currently logged in user.","responses":{"200":{"description":"Identities List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/identityList"}}}}},"x-appwrite":{"method":"listIdentities","weight":56,"cookies":false,"type":"","deprecated":false,"demo":"account\/list-identities.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-identities.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account\/identities","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, provider, providerUid, providerEmail, providerAccessTokenExpiry","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]}},"\/account\/identities\/{identityId}":{"delete":{"summary":"Delete identity","operationId":"accountDeleteIdentity","tags":["account"],"description":"Delete an identity by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteIdentity","weight":57,"cookies":false,"type":"","deprecated":false,"demo":"account\/delete-identity.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-identity.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"identityId","description":"Identity ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]}},"\/account\/jwt":{"post":{"summary":"Create JWT","operationId":"accountCreateJWT","tags":["account"],"description":"Use this endpoint to create a JSON Web Token. You can use the resulting JWT to authenticate on behalf of the current user when working with the Appwrite server-side API and SDKs. The JWT secret is valid for 15 minutes from its creation and will be invalid if the user will logout in that time frame.","responses":{"201":{"description":"JWT","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/jwt"}}}}},"x-appwrite":{"method":"createJWT","weight":28,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-j-w-t.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md","rate-limit":100,"rate-time":3600,"rate-key":"url:{url},userId:{userId}","scope":"account","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}]}},"\/account\/logs":{"get":{"summary":"List logs","operationId":"accountListLogs","tags":["account"],"description":"Get the list of latest security activity logs for the currently logged in user. Each log returns user IP address, location and date and time of log.","responses":{"200":{"description":"Logs List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/logList"}}}}},"x-appwrite":{"method":"listLogs","weight":30,"cookies":false,"type":"","deprecated":false,"demo":"account\/list-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]}},"\/account\/mfa":{"patch":{"summary":"Update MFA","operationId":"accountUpdateMFA","tags":["account"],"description":"Enable or disable MFA on an account.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updateMFA","weight":43,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-m-f-a.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"mfa":{"type":"boolean","description":"Enable or disable MFA.","x-example":false}},"required":["mfa"]}}}}}},"\/account\/mfa\/authenticators\/{type}":{"post":{"summary":"Create Authenticator","operationId":"accountCreateMfaAuthenticator","tags":["account"],"description":"Add an authenticator app to be used as an MFA factor. Verify the authenticator using the [verify authenticator](\/docs\/references\/cloud\/client-web\/account#updateMfaAuthenticator) method.","responses":{"200":{"description":"MFAType","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/mfaType"}}}}},"x-appwrite":{"method":"createMfaAuthenticator","weight":45,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-mfa-authenticator.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-authenticator.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"type","description":"Type of authenticator. Must be `totp`","required":true,"schema":{"type":"string","x-example":"totp","enum":["totp"],"x-enum-name":"AuthenticatorType","x-enum-keys":[]},"in":"path"}]},"put":{"summary":"Verify Authenticator","operationId":"accountUpdateMfaAuthenticator","tags":["account"],"description":"Verify an authenticator app after adding it using the [add authenticator](\/docs\/references\/cloud\/client-web\/account#createMfaAuthenticator) method.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updateMfaAuthenticator","weight":46,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-mfa-authenticator.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-authenticator.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"type","description":"Type of authenticator.","required":true,"schema":{"type":"string","x-example":"totp","enum":["totp"],"x-enum-name":"AuthenticatorType","x-enum-keys":[]},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"otp":{"type":"string","description":"Valid verification token.","x-example":""}},"required":["otp"]}}}}},"delete":{"summary":"Delete Authenticator","operationId":"accountDeleteMfaAuthenticator","tags":["account"],"description":"Delete an authenticator for a user by ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteMfaAuthenticator","weight":50,"cookies":false,"type":"","deprecated":false,"demo":"account\/delete-mfa-authenticator.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-mfa-authenticator.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"type","description":"Type of authenticator.","required":true,"schema":{"type":"string","x-example":"totp","enum":["totp"],"x-enum-name":"AuthenticatorType","x-enum-keys":[]},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"otp":{"type":"string","description":"Valid verification token.","x-example":""}},"required":["otp"]}}}}}},"\/account\/mfa\/challenge":{"post":{"summary":"Create MFA Challenge","operationId":"accountCreateMfaChallenge","tags":["account"],"description":"Begin the process of MFA verification after sign-in. Finish the flow with [updateMfaChallenge](\/docs\/references\/cloud\/client-web\/account#updateMfaChallenge) method.","responses":{"201":{"description":"MFA Challenge","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/mfaChallenge"}}}}},"x-appwrite":{"method":"createMfaChallenge","weight":51,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-mfa-challenge.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},token:{param-token}","scope":"account","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"factor":{"type":"string","description":"Factor used for verification. Must be one of following: `email`, `phone`, `totp`, `recoveryCode`.","x-example":"email","enum":["email","phone","totp","recoverycode"],"x-enum-name":"AuthenticationFactor","x-enum-keys":[]}},"required":["factor"]}}}}},"put":{"summary":"Create MFA Challenge (confirmation)","operationId":"accountUpdateMfaChallenge","tags":["account"],"description":"Complete the MFA challenge by providing the one-time password. Finish the process of MFA verification by providing the one-time password. To begin the flow, use [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method.","responses":{"204":{"description":"No content","content":{"":{"schema":{"$ref":"#\/components\/schemas\/session"}}}}},"x-appwrite":{"method":"updateMfaChallenge","weight":52,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-mfa-challenge.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md","rate-limit":10,"rate-time":3600,"rate-key":"userId:{param-userId}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"challengeId":{"type":"string","description":"ID of the challenge.","x-example":""},"otp":{"type":"string","description":"Valid verification token.","x-example":""}},"required":["challengeId","otp"]}}}}}},"\/account\/mfa\/factors":{"get":{"summary":"List Factors","operationId":"accountListMfaFactors","tags":["account"],"description":"List the factors available on the account to be used as a MFA challange.","responses":{"200":{"description":"MFAFactors","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/mfaFactors"}}}}},"x-appwrite":{"method":"listMfaFactors","weight":44,"cookies":false,"type":"","deprecated":false,"demo":"account\/list-mfa-factors.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-mfa-factors.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}]}},"\/account\/mfa\/recovery-codes":{"get":{"summary":"Get MFA Recovery Codes","operationId":"accountGetMfaRecoveryCodes","tags":["account"],"description":"Get recovery codes that can be used as backup for MFA flow. Before getting codes, they must be generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method. An OTP challenge is required to read recovery codes.","responses":{"200":{"description":"MFA Recovery Codes","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/mfaRecoveryCodes"}}}}},"x-appwrite":{"method":"getMfaRecoveryCodes","weight":49,"cookies":false,"type":"","deprecated":false,"demo":"account\/get-mfa-recovery-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-mfa-recovery-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}]},"post":{"summary":"Create MFA Recovery Codes","operationId":"accountCreateMfaRecoveryCodes","tags":["account"],"description":"Generate recovery codes as backup for MFA flow. It's recommended to generate and show then immediately after user successfully adds their authehticator. Recovery codes can be used as a MFA verification type in [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method.","responses":{"201":{"description":"MFA Recovery Codes","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/mfaRecoveryCodes"}}}}},"x-appwrite":{"method":"createMfaRecoveryCodes","weight":47,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-mfa-recovery-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-recovery-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}]},"patch":{"summary":"Regenerate MFA Recovery Codes","operationId":"accountUpdateMfaRecoveryCodes","tags":["account"],"description":"Regenerate recovery codes that can be used as backup for MFA flow. Before regenerating codes, they must be first generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method. An OTP challenge is required to regenreate recovery codes.","responses":{"200":{"description":"MFA Recovery Codes","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/mfaRecoveryCodes"}}}}},"x-appwrite":{"method":"updateMfaRecoveryCodes","weight":48,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-mfa-recovery-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-recovery-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}]}},"\/account\/name":{"patch":{"summary":"Update name","operationId":"accountUpdateName","tags":["account"],"description":"Update currently logged in user account name.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updateName","weight":31,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-name.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-name.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"User name. Max length: 128 chars.","x-example":""}},"required":["name"]}}}}}},"\/account\/password":{"patch":{"summary":"Update password","operationId":"accountUpdatePassword","tags":["account"],"description":"Update currently logged in user password. For validation, user is required to pass in the new password, and the old password. For users created with OAuth, Team Invites and Magic URL, oldPassword is optional.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updatePassword","weight":32,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-password.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-password.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"password":{"type":"string","description":"New user password. Must be at least 8 chars.","x-example":null},"oldPassword":{"type":"string","description":"Current user password. Must be at least 8 chars.","x-example":"password"}},"required":["password"]}}}}}},"\/account\/phone":{"patch":{"summary":"Update phone","operationId":"accountUpdatePhone","tags":["account"],"description":"Update the currently logged in user's phone number. After updating the phone number, the phone verification status will be reset. A confirmation SMS is not sent automatically, however you can use the [POST \/account\/verification\/phone](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createPhoneVerification) endpoint to send a confirmation SMS.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updatePhone","weight":34,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-phone.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"phone":{"type":"string","description":"Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","x-example":"+12065550100"},"password":{"type":"string","description":"User password. Must be at least 8 chars.","x-example":"password"}},"required":["phone","password"]}}}}}},"\/account\/prefs":{"get":{"summary":"Get account preferences","operationId":"accountGetPrefs","tags":["account"],"description":"Get the preferences as a key-value object for the currently logged in user.","responses":{"200":{"description":"Preferences","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/preferences"}}}}},"x-appwrite":{"method":"getPrefs","weight":29,"cookies":false,"type":"","deprecated":false,"demo":"account\/get-prefs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-prefs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account\/prefs","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}]},"patch":{"summary":"Update preferences","operationId":"accountUpdatePrefs","tags":["account"],"description":"Update currently logged in user account preferences. The object you pass is stored as is, and replaces any previous value. The maximum allowed prefs size is 64kB and throws error if exceeded.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updatePrefs","weight":35,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-prefs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-prefs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account\/prefs","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"prefs":{"type":"object","description":"Prefs key-value JSON object.","x-example":"{}"}},"required":["prefs"]}}}}}},"\/account\/recovery":{"post":{"summary":"Create password recovery","operationId":"accountCreateRecovery","tags":["account"],"description":"Sends the user an email with a temporary secret key for password reset. When the user clicks the confirmation link he is redirected back to your app password reset URL with the secret key and email address values attached to the URL query string. Use the query string params to submit a request to the [PUT \/account\/recovery](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateRecovery) endpoint to complete the process. The verification link sent to the user's email address is valid for 1 hour.","responses":{"201":{"description":"Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/token"}}}}},"x-appwrite":{"method":"createRecovery","weight":37,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-recovery.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-recovery.md","rate-limit":10,"rate-time":3600,"rate-key":["url:{url},email:{param-email}","url:{url},ip:{ip}"],"scope":"sessions.write","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"url":{"type":"string","description":"URL to redirect the user back to your app from the recovery email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","x-example":"https:\/\/example.com"}},"required":["email","url"]}}}}},"put":{"summary":"Create password recovery (confirmation)","operationId":"accountUpdateRecovery","tags":["account"],"description":"Use this endpoint to complete the user account password reset. Both the **userId** and **secret** arguments will be passed as query parameters to the redirect URL you have provided when sending your request to the [POST \/account\/recovery](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createRecovery) endpoint.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md) the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.","responses":{"200":{"description":"Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/token"}}}}},"x-appwrite":{"method":"updateRecovery","weight":38,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-recovery.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-recovery.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},userId:{param-userId}","scope":"sessions.write","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID.","x-example":""},"secret":{"type":"string","description":"Valid reset token.","x-example":""},"password":{"type":"string","description":"New user password. Must be between 8 and 256 chars.","x-example":null}},"required":["userId","secret","password"]}}}}}},"\/account\/sessions":{"get":{"summary":"List sessions","operationId":"accountListSessions","tags":["account"],"description":"Get the list of active sessions across different devices for the currently logged in user.","responses":{"200":{"description":"Sessions List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/sessionList"}}}}},"x-appwrite":{"method":"listSessions","weight":10,"cookies":false,"type":"","deprecated":false,"demo":"account\/list-sessions.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-sessions.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account\/sessions","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}]},"delete":{"summary":"Delete sessions","operationId":"accountDeleteSessions","tags":["account"],"description":"Delete all sessions from the user account and remove any sessions cookies from the end client.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteSessions","weight":11,"cookies":false,"type":"","deprecated":false,"demo":"account\/delete-sessions.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-sessions.md","rate-limit":100,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}]}},"\/account\/sessions\/anonymous":{"post":{"summary":"Create anonymous session","operationId":"accountCreateAnonymousSession","tags":["account"],"description":"Use this endpoint to allow a new user to register an anonymous account in your project. This route will also create a new session for the user. To allow the new user to convert an anonymous account to a normal account, you need to update its [email and password](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateEmail) or create an [OAuth2 session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#CreateOAuth2Session).","responses":{"201":{"description":"Session","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/session"}}}}},"x-appwrite":{"method":"createAnonymousSession","weight":16,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-anonymous-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-anonymous.md","rate-limit":50,"rate-time":3600,"rate-key":"ip:{ip}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}]}},"\/account\/sessions\/email":{"post":{"summary":"Create email password session","operationId":"accountCreateEmailPasswordSession","tags":["account"],"description":"Allow the user to login into their account by providing a valid email and password combination. This route will create a new session for the user.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).","responses":{"201":{"description":"Session","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/session"}}}}},"x-appwrite":{"method":"createEmailPasswordSession","weight":15,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-email-password-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-email-password.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},email:{param-email}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"password":{"type":"string","description":"User password. Must be at least 8 chars.","x-example":"password"}},"required":["email","password"]}}}}}},"\/account\/sessions\/magic-url":{"put":{"summary":"Update magic URL session","operationId":"accountUpdateMagicURLSession","tags":["account"],"description":"Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.","responses":{"201":{"description":"Session","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/session"}}}}},"x-appwrite":{"method":"updateMagicURLSession","weight":25,"cookies":false,"type":"","deprecated":true,"demo":"account\/update-magic-u-r-l-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md","rate-limit":10,"rate-time":3600,"rate-key":"ip:{ip},userId:{param-userId}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":""},"secret":{"type":"string","description":"Valid verification token.","x-example":""}},"required":["userId","secret"]}}}}}},"\/account\/sessions\/oauth2\/{provider}":{"get":{"summary":"Create OAuth2 session","operationId":"accountCreateOAuth2Session","tags":["account"],"description":"Allow the user to login to their account using the OAuth2 provider of their choice. Each OAuth2 provider should be enabled from the Appwrite console first. Use the success and failure arguments to provide a redirect URL's back to your app when login is completed.\n\nIf there is already an active session, the new session will be attached to the logged-in account. If there are no active sessions, the server will attempt to look for a user with the same email address as the email received from the OAuth2 provider and attach the new session to the existing user. If no matching user is found - the server will create a new user.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).\n","responses":{"301":{"description":"File"}},"x-appwrite":{"method":"createOAuth2Session","weight":18,"cookies":false,"type":"webAuth","deprecated":false,"demo":"account\/create-o-auth2session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-oauth2.md","rate-limit":50,"rate-time":3600,"rate-key":"ip:{ip}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"provider","description":"OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.","required":true,"schema":{"type":"string","x-example":"amazon","enum":["amazon","apple","auth0","authentik","autodesk","bitbucket","bitly","box","dailymotion","discord","disqus","dropbox","etsy","facebook","github","gitlab","google","linkedin","microsoft","notion","oidc","okta","paypal","paypalSandbox","podio","salesforce","slack","spotify","stripe","tradeshift","tradeshiftBox","twitch","wordpress","yahoo","yammer","yandex","zoho","zoom","mock"],"x-enum-name":"OAuthProvider","x-enum-keys":[]},"in":"path"},{"name":"success","description":"URL to redirect back to your app after a successful login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","required":false,"schema":{"type":"string","format":"url","x-example":"https:\/\/example.com","default":""},"in":"query"},{"name":"failure","description":"URL to redirect back to your app after a failed login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","required":false,"schema":{"type":"string","format":"url","x-example":"https:\/\/example.com","default":""},"in":"query"},{"name":"scopes","description":"A list of custom OAuth2 scopes. Check each provider internal docs for a list of supported scopes. Maximum of 100 scopes are allowed, each 4096 characters long.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]}},"\/account\/sessions\/phone":{"put":{"summary":"Update phone session","operationId":"accountUpdatePhoneSession","tags":["account"],"description":"Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.","responses":{"201":{"description":"Session","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/session"}}}}},"x-appwrite":{"method":"updatePhoneSession","weight":26,"cookies":false,"type":"","deprecated":true,"demo":"account\/update-phone-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md","rate-limit":10,"rate-time":3600,"rate-key":"ip:{ip},userId:{param-userId}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":""},"secret":{"type":"string","description":"Valid verification token.","x-example":""}},"required":["userId","secret"]}}}}}},"\/account\/sessions\/token":{"post":{"summary":"Create session","operationId":"accountCreateSession","tags":["account"],"description":"Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.","responses":{"201":{"description":"Session","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/session"}}}}},"x-appwrite":{"method":"createSession","weight":17,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md","rate-limit":10,"rate-time":3600,"rate-key":"ip:{ip},userId:{param-userId}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":""},"secret":{"type":"string","description":"Secret of a token generated by login methods. For example, the `createMagicURLToken` or `createPhoneToken` methods.","x-example":""}},"required":["userId","secret"]}}}}}},"\/account\/sessions\/{sessionId}":{"get":{"summary":"Get session","operationId":"accountGetSession","tags":["account"],"description":"Use this endpoint to get a logged in user's session using a Session ID. Inputting 'current' will return the current session being used.","responses":{"200":{"description":"Session","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/session"}}}}},"x-appwrite":{"method":"getSession","weight":12,"cookies":false,"type":"","deprecated":false,"demo":"account\/get-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-session.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account\/sessions","offline-key":"{sessionId}","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"sessionId","description":"Session ID. Use the string 'current' to get the current device session.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]},"patch":{"summary":"Update session","operationId":"accountUpdateSession","tags":["account"],"description":"Use this endpoint to extend a session's length. Extending a session is useful when session expiry is short. If the session was created using an OAuth provider, this endpoint refreshes the access token from the provider.","responses":{"200":{"description":"Session","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/session"}}}}},"x-appwrite":{"method":"updateSession","weight":14,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-session.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"sessionId","description":"Session ID. Use the string 'current' to update the current device session.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]},"delete":{"summary":"Delete session","operationId":"accountDeleteSession","tags":["account"],"description":"Logout the user. Use 'current' as the session ID to logout on this device, use a session ID to logout on another device. If you're looking to logout the user on all devices, use [Delete Sessions](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#deleteSessions) instead.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteSession","weight":13,"cookies":false,"type":"","deprecated":false,"demo":"account\/delete-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-session.md","rate-limit":100,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"sessionId","description":"Session ID. Use the string 'current' to delete the current device session.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]}},"\/account\/status":{"patch":{"summary":"Update status","operationId":"accountUpdateStatus","tags":["account"],"description":"Block the currently logged in user account. Behind the scene, the user record is not deleted but permanently blocked from any access. To completely delete a user, use the Users API instead.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updateStatus","weight":36,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-status.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-status.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}]}},"\/account\/targets\/push":{"post":{"summary":"Create push target","operationId":"accountCreatePushTarget","tags":["account"],"description":"","responses":{"201":{"description":"Target","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/target"}}}}},"x-appwrite":{"method":"createPushTarget","weight":53,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-push-target.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"targets.write","platforms":["client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"targetId":{"type":"string","description":"Target ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":""},"identifier":{"type":"string","description":"The target identifier (token, email, phone etc.)","x-example":""},"providerId":{"type":"string","description":"Provider ID. Message will be sent to this target from the specified provider ID. If no provider ID is set the first setup provider will be used.","x-example":""}},"required":["targetId","identifier"]}}}}}},"\/account\/targets\/{targetId}\/push":{"put":{"summary":"Update push target","operationId":"accountUpdatePushTarget","tags":["account"],"description":"","responses":{"200":{"description":"Target","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/target"}}}}},"x-appwrite":{"method":"updatePushTarget","weight":54,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-push-target.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"targets.write","platforms":["client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"targetId","description":"Target ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"identifier":{"type":"string","description":"The target identifier (token, email, phone etc.)","x-example":""}},"required":["identifier"]}}}}},"delete":{"summary":"Delete push target","operationId":"accountDeletePushTarget","tags":["account"],"description":"","responses":{"204":{"description":"No content","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/target"}}}}},"x-appwrite":{"method":"deletePushTarget","weight":55,"cookies":false,"type":"","deprecated":false,"demo":"account\/delete-push-target.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"targets.write","platforms":["client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"targetId","description":"Target ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]}},"\/account\/tokens\/email":{"post":{"summary":"Create email token (OTP)","operationId":"accountCreateEmailToken","tags":["account"],"description":"Sends the user an email with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's email is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).","responses":{"201":{"description":"Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/token"}}}}},"x-appwrite":{"method":"createEmailToken","weight":24,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-email-token.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-email.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},email:{param-email}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":""},"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"phrase":{"type":"boolean","description":"Toggle for security phrase. If enabled, email will be send with a randomly generated phrase and the phrase will also be included in the response. Confirming phrases match increases the security of your authentication flow.","x-example":false}},"required":["userId","email"]}}}}}},"\/account\/tokens\/magic-url":{"post":{"summary":"Create magic URL token","operationId":"accountCreateMagicURLToken","tags":["account"],"description":"Sends the user an email with a secret key for creating a session. If the provided user ID has not been registered, a new user will be created. When the user clicks the link in the email, the user is redirected back to the URL you provided with the secret key and userId values attached to the URL query string. Use the query string parameters to submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The link sent to the user's email address is valid for 1 hour. If you are on a mobile device you can leave the URL parameter empty, so that the login completion will be handled by your Appwrite instance by default.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).\n","responses":{"201":{"description":"Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/token"}}}}},"x-appwrite":{"method":"createMagicURLToken","weight":23,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-magic-u-r-l-token.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-magic-url.md","rate-limit":60,"rate-time":3600,"rate-key":["url:{url},email:{param-email}","url:{url},ip:{ip}"],"scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":""},"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"url":{"type":"string","description":"URL to redirect the user back to your app from the magic URL login. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","x-example":"https:\/\/example.com"},"phrase":{"type":"boolean","description":"Toggle for security phrase. If enabled, email will be send with a randomly generated phrase and the phrase will also be included in the response. Confirming phrases match increases the security of your authentication flow.","x-example":false}},"required":["userId","email"]}}}}}},"\/account\/tokens\/oauth2\/{provider}":{"get":{"summary":"Create OAuth2 token","operationId":"accountCreateOAuth2Token","tags":["account"],"description":"Allow the user to login to their account using the OAuth2 provider of their choice. Each OAuth2 provider should be enabled from the Appwrite console first. Use the success and failure arguments to provide a redirect URL's back to your app when login is completed. \n\nIf authentication succeeds, `userId` and `secret` of a token will be appended to the success URL as query parameters. These can be used to create a new session using the [Create session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).","responses":{"301":{"description":"File"}},"x-appwrite":{"method":"createOAuth2Token","weight":22,"cookies":false,"type":"webAuth","deprecated":false,"demo":"account\/create-o-auth2token.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-oauth2.md","rate-limit":50,"rate-time":3600,"rate-key":"ip:{ip}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"provider","description":"OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.","required":true,"schema":{"type":"string","x-example":"amazon","enum":["amazon","apple","auth0","authentik","autodesk","bitbucket","bitly","box","dailymotion","discord","disqus","dropbox","etsy","facebook","github","gitlab","google","linkedin","microsoft","notion","oidc","okta","paypal","paypalSandbox","podio","salesforce","slack","spotify","stripe","tradeshift","tradeshiftBox","twitch","wordpress","yahoo","yammer","yandex","zoho","zoom","mock"],"x-enum-name":"OAuthProvider","x-enum-keys":[]},"in":"path"},{"name":"success","description":"URL to redirect back to your app after a successful login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","required":false,"schema":{"type":"string","format":"url","x-example":"https:\/\/example.com","default":""},"in":"query"},{"name":"failure","description":"URL to redirect back to your app after a failed login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","required":false,"schema":{"type":"string","format":"url","x-example":"https:\/\/example.com","default":""},"in":"query"},{"name":"scopes","description":"A list of custom OAuth2 scopes. Check each provider internal docs for a list of supported scopes. Maximum of 100 scopes are allowed, each 4096 characters long.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]}},"\/account\/tokens\/phone":{"post":{"summary":"Create phone token","operationId":"accountCreatePhoneToken","tags":["account"],"description":"Sends the user an SMS with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's phone is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).","responses":{"201":{"description":"Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/token"}}}}},"x-appwrite":{"method":"createPhoneToken","weight":27,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-phone-token.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-phone.md","rate-limit":10,"rate-time":3600,"rate-key":["url:{url},phone:{param-phone}","url:{url},ip:{ip}"],"scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":""},"phone":{"type":"string","description":"Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","x-example":"+12065550100"}},"required":["userId","phone"]}}}}}},"\/account\/verification":{"post":{"summary":"Create email verification","operationId":"accountCreateVerification","tags":["account"],"description":"Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n","responses":{"201":{"description":"Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/token"}}}}},"x-appwrite":{"method":"createVerification","weight":39,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},userId:{userId}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"url":{"type":"string","description":"URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","x-example":"https:\/\/example.com"}},"required":["url"]}}}}},"put":{"summary":"Create email verification (confirmation)","operationId":"accountUpdateVerification","tags":["account"],"description":"Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.","responses":{"200":{"description":"Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/token"}}}}},"x-appwrite":{"method":"updateVerification","weight":40,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},userId:{param-userId}","scope":"public","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID.","x-example":""},"secret":{"type":"string","description":"Valid verification token.","x-example":""}},"required":["userId","secret"]}}}}}},"\/account\/verification\/phone":{"post":{"summary":"Create phone verification","operationId":"accountCreatePhoneVerification","tags":["account"],"description":"Use this endpoint to send a verification SMS to the currently logged in user. This endpoint is meant for use after updating a user's phone number using the [accountUpdatePhone](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updatePhone) endpoint. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updatePhoneVerification). The verification code sent to the user's phone number is valid for 15 minutes.","responses":{"201":{"description":"Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/token"}}}}},"x-appwrite":{"method":"createPhoneVerification","weight":41,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-phone-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-phone-verification.md","rate-limit":10,"rate-time":3600,"rate-key":["url:{url},userId:{userId}","url:{url},ip:{ip}"],"scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}]},"put":{"summary":"Update phone verification (confirmation)","operationId":"accountUpdatePhoneVerification","tags":["account"],"description":"Use this endpoint to complete the user phone verification process. Use the **userId** and **secret** that were sent to your user's phone number to verify the user email ownership. If confirmed this route will return a 200 status code.","responses":{"200":{"description":"Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/token"}}}}},"x-appwrite":{"method":"updatePhoneVerification","weight":42,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-phone-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone-verification.md","rate-limit":10,"rate-time":3600,"rate-key":"userId:{param-userId}","scope":"public","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID.","x-example":""},"secret":{"type":"string","description":"Valid verification token.","x-example":""}},"required":["userId","secret"]}}}}}},"\/avatars\/browsers\/{code}":{"get":{"summary":"Get browser icon","operationId":"avatarsGetBrowser","tags":["avatars"],"description":"You can use this endpoint to show different browser icons to your users. The code argument receives the browser code as it appears in your user [GET \/account\/sessions](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#getSessions) endpoint. Use width, height and quality arguments to change the output settings.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.","responses":{"200":{"description":"Image"}},"x-appwrite":{"method":"getBrowser","weight":59,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-browser.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-browser.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"code","description":"Browser Code.","required":true,"schema":{"type":"string","x-example":"aa","enum":["aa","an","ch","ci","cm","cr","ff","sf","mf","ps","oi","om","op","on"],"x-enum-name":"Browser","x-enum-keys":["Avant Browser","Android WebView Beta","Google Chrome","Google Chrome (iOS)","Google Chrome (Mobile)","Chromium","Mozilla Firefox","Safari","Mobile Safari","Microsoft Edge","Microsoft Edge (iOS)","Opera Mini","Opera","Opera (Next)"]},"in":"path"},{"name":"width","description":"Image width. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":100},"in":"query"},{"name":"height","description":"Image height. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":100},"in":"query"},{"name":"quality","description":"Image quality. Pass an integer between 0 to 100. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":100},"in":"query"}]}},"\/avatars\/credit-cards\/{code}":{"get":{"summary":"Get credit card icon","operationId":"avatarsGetCreditCard","tags":["avatars"],"description":"The credit card endpoint will return you the icon of the credit card provider you need. Use width, height and quality arguments to change the output settings.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n","responses":{"200":{"description":"Image"}},"x-appwrite":{"method":"getCreditCard","weight":58,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-credit-card.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-credit-card.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"code","description":"Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, union-china-pay, visa, mir, maestro.","required":true,"schema":{"type":"string","x-example":"amex","enum":["amex","argencard","cabal","cencosud","diners","discover","elo","hipercard","jcb","mastercard","naranja","targeta-shopping","union-china-pay","visa","mir","maestro"],"x-enum-name":"CreditCard","x-enum-keys":["American Express","Argencard","Cabal","Cencosud","Diners Club","Discover","Elo","Hipercard","JCB","Mastercard","Naranja","Tarjeta Shopping","Union China Pay","Visa","MIR","Maestro"]},"in":"path"},{"name":"width","description":"Image width. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":100},"in":"query"},{"name":"height","description":"Image height. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":100},"in":"query"},{"name":"quality","description":"Image quality. Pass an integer between 0 to 100. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":100},"in":"query"}]}},"\/avatars\/favicon":{"get":{"summary":"Get favicon","operationId":"avatarsGetFavicon","tags":["avatars"],"description":"Use this endpoint to fetch the favorite icon (AKA favicon) of any remote website URL.\n","responses":{"200":{"description":"Image"}},"x-appwrite":{"method":"getFavicon","weight":62,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-favicon.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-favicon.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"url","description":"Website URL which you want to fetch the favicon from.","required":true,"schema":{"type":"string","format":"url","x-example":"https:\/\/example.com"},"in":"query"}]}},"\/avatars\/flags\/{code}":{"get":{"summary":"Get country flag","operationId":"avatarsGetFlag","tags":["avatars"],"description":"You can use this endpoint to show different country flags icons to your users. The code argument receives the 2 letter country code. Use width, height and quality arguments to change the output settings. Country codes follow the [ISO 3166-1](https:\/\/en.wikipedia.org\/wiki\/ISO_3166-1) standard.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n","responses":{"200":{"description":"Image"}},"x-appwrite":{"method":"getFlag","weight":60,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-flag.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-flag.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"code","description":"Country Code. ISO Alpha-2 country code format.","required":true,"schema":{"type":"string","x-example":"af","enum":["af","ao","al","ad","ae","ar","am","ag","au","at","az","bi","be","bj","bf","bd","bg","bh","bs","ba","by","bz","bo","br","bb","bn","bt","bw","cf","ca","ch","cl","cn","ci","cm","cd","cg","co","km","cv","cr","cu","cy","cz","de","dj","dm","dk","do","dz","ec","eg","er","es","ee","et","fi","fj","fr","fm","ga","gb","ge","gh","gn","gm","gw","gq","gr","gd","gt","gy","hn","hr","ht","hu","id","in","ie","ir","iq","is","il","it","jm","jo","jp","kz","ke","kg","kh","ki","kn","kr","kw","la","lb","lr","ly","lc","li","lk","ls","lt","lu","lv","ma","mc","md","mg","mv","mx","mh","mk","ml","mt","mm","me","mn","mz","mr","mu","mw","my","na","ne","ng","ni","nl","no","np","nr","nz","om","pk","pa","pe","ph","pw","pg","pl","pf","kp","pt","py","qa","ro","ru","rw","sa","sd","sn","sg","sb","sl","sv","sm","so","rs","ss","st","sr","sk","si","se","sz","sc","sy","td","tg","th","tj","tm","tl","to","tt","tn","tr","tv","tz","ug","ua","uy","us","uz","va","vc","ve","vn","vu","ws","ye","za","zm","zw"],"x-enum-name":"Flag","x-enum-keys":["Afghanistan","Angola","Albania","Andorra","United Arab Emirates","Argentina","Armenia","Antigua and Barbuda","Australia","Austria","Azerbaijan","Burundi","Belgium","Benin","Burkina Faso","Bangladesh","Bulgaria","Bahrain","Bahamas","Bosnia and Herzegovina","Belarus","Belize","Bolivia","Brazil","Barbados","Brunei Darussalam","Bhutan","Botswana","Central African Republic","Canada","Switzerland","Chile","China","C\u00f4te d'Ivoire","Cameroon","Democratic Republic of the Congo","Republic of the Congo","Colombia","Comoros","Cape Verde","Costa Rica","Cuba","Cyprus","Czech Republic","Germany","Djibouti","Dominica","Denmark","Dominican Republic","Algeria","Ecuador","Egypt","Eritrea","Spain","Estonia","Ethiopia","Finland","Fiji","France","Micronesia (Federated States of)","Gabon","United Kingdom","Georgia","Ghana","Guinea","Gambia","Guinea-Bissau","Equatorial Guinea","Greece","Grenada","Guatemala","Guyana","Honduras","Croatia","Haiti","Hungary","Indonesia","India","Ireland","Iran (Islamic Republic of)","Iraq","Iceland","Israel","Italy","Jamaica","Jordan","Japan","Kazakhstan","Kenya","Kyrgyzstan","Cambodia","Kiribati","Saint Kitts and Nevis","South Korea","Kuwait","Lao People's Democratic Republic","Lebanon","Liberia","Libya","Saint Lucia","Liechtenstein","Sri Lanka","Lesotho","Lithuania","Luxembourg","Latvia","Morocco","Monaco","Moldova","Madagascar","Maldives","Mexico","Marshall Islands","North Macedonia","Mali","Malta","Myanmar","Montenegro","Mongolia","Mozambique","Mauritania","Mauritius","Malawi","Malaysia","Namibia","Niger","Nigeria","Nicaragua","Netherlands","Norway","Nepal","Nauru","New Zealand","Oman","Pakistan","Panama","Peru","Philippines","Palau","Papua New Guinea","Poland","French Polynesia","North Korea","Portugal","Paraguay","Qatar","Romania","Russia","Rwanda","Saudi Arabia","Sudan","Senegal","Singapore","Solomon Islands","Sierra Leone","El Salvador","San Marino","Somalia","Serbia","South Sudan","Sao Tome and Principe","Suriname","Slovakia","Slovenia","Sweden","Eswatini","Seychelles","Syria","Chad","Togo","Thailand","Tajikistan","Turkmenistan","Timor-Leste","Tonga","Trinidad and Tobago","Tunisia","Turkey","Tuvalu","Tanzania","Uganda","Ukraine","Uruguay","United States","Uzbekistan","Vatican City","Saint Vincent and the Grenadines","Venezuela","Vietnam","Vanuatu","Samoa","Yemen","South Africa","Zambia","Zimbabwe"]},"in":"path"},{"name":"width","description":"Image width. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":100},"in":"query"},{"name":"height","description":"Image height. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":100},"in":"query"},{"name":"quality","description":"Image quality. Pass an integer between 0 to 100. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":100},"in":"query"}]}},"\/avatars\/image":{"get":{"summary":"Get image from URL","operationId":"avatarsGetImage","tags":["avatars"],"description":"Use this endpoint to fetch a remote image URL and crop it to any image size you want. This endpoint is very useful if you need to crop and display remote images in your app or in case you want to make sure a 3rd party image is properly served using a TLS protocol.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 400x400px.\n","responses":{"200":{"description":"Image"}},"x-appwrite":{"method":"getImage","weight":61,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-image.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-image.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"url","description":"Image URL which you want to crop.","required":true,"schema":{"type":"string","format":"url","x-example":"https:\/\/example.com"},"in":"query"},{"name":"width","description":"Resize preview image width, Pass an integer between 0 to 2000. Defaults to 400.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":400},"in":"query"},{"name":"height","description":"Resize preview image height, Pass an integer between 0 to 2000. Defaults to 400.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":400},"in":"query"}]}},"\/avatars\/initials":{"get":{"summary":"Get user initials","operationId":"avatarsGetInitials","tags":["avatars"],"description":"Use this endpoint to show your user initials avatar icon on your website or app. By default, this route will try to print your logged-in user name or email initials. You can also overwrite the user name if you pass the 'name' parameter. If no name is given and no user is logged, an empty avatar will be returned.\n\nYou can use the color and background params to change the avatar colors. By default, a random theme will be selected. The random theme will persist for the user's initials when reloading the same theme will always return for the same initials.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n","responses":{"200":{"description":"Image"}},"x-appwrite":{"method":"getInitials","weight":64,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-initials.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-initials.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"name","description":"Full Name. When empty, current user name or email will be used. Max length: 128 chars.","required":false,"schema":{"type":"string","x-example":"","default":""},"in":"query"},{"name":"width","description":"Image width. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":500},"in":"query"},{"name":"height","description":"Image height. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":500},"in":"query"},{"name":"background","description":"Changes background color. By default a random color will be picked and stay will persistent to the given name.","required":false,"schema":{"type":"string","default":""},"in":"query"}]}},"\/avatars\/qr":{"get":{"summary":"Get QR code","operationId":"avatarsGetQR","tags":["avatars"],"description":"Converts a given plain text to a QR code image. You can use the query parameters to change the size and style of the resulting image.\n","responses":{"200":{"description":"Image"}},"x-appwrite":{"method":"getQR","weight":63,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-q-r.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-qr.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"text","description":"Plain text to be converted to QR code image.","required":true,"schema":{"type":"string","x-example":""},"in":"query"},{"name":"size","description":"QR code size. Pass an integer between 1 to 1000. Defaults to 400.","required":false,"schema":{"type":"integer","format":"int32","x-example":1,"default":400},"in":"query"},{"name":"margin","description":"Margin from edge. Pass an integer between 0 to 10. Defaults to 1.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":1},"in":"query"},{"name":"download","description":"Return resulting image with 'Content-Disposition: attachment ' headers for the browser to start downloading it. Pass 0 for no header, or 1 for otherwise. Default value is set to 0.","required":false,"schema":{"type":"boolean","x-example":false,"default":false},"in":"query"}]}},"\/console\/assistant":{"post":{"summary":"Ask Query","operationId":"assistantChat","tags":["assistant"],"description":"","responses":{"200":{"description":"File"}},"x-appwrite":{"method":"chat","weight":320,"cookies":false,"type":"","deprecated":false,"demo":"assistant\/chat.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/assistant\/chat.md","rate-limit":15,"rate-time":3600,"rate-key":"userId:{userId}","scope":"assistant.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"prompt":{"type":"string","description":"Prompt. A string containing questions asked to the AI assistant.","x-example":""}},"required":["prompt"]}}}}}},"\/console\/variables":{"get":{"summary":"Get variables","operationId":"consoleVariables","tags":["console"],"description":"Get all Environment Variables that are relevant for the console.","responses":{"200":{"description":"Console Variables","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/consoleVariables"}}}}},"x-appwrite":{"method":"variables","weight":319,"cookies":false,"type":"","deprecated":false,"demo":"console\/variables.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/console\/variables.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}]}},"\/databases":{"get":{"summary":"List databases","operationId":"databasesList","tags":["databases"],"description":"Get a list of all databases from the current Appwrite project. You can use the search parameter to filter your results.","responses":{"200":{"description":"Databases List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/databaseList"}}}}},"x-appwrite":{"method":"list","weight":69,"cookies":false,"type":"","deprecated":false,"demo":"databases\/list.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"databases.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"","default":""},"in":"query"}]},"post":{"summary":"Create database","operationId":"databasesCreate","tags":["databases"],"description":"Create a new Database.\n","responses":{"201":{"description":"Database","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/database"}}}}},"x-appwrite":{"method":"create","weight":68,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"databases.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"databaseId":{"type":"string","description":"Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":""},"name":{"type":"string","description":"Database name. Max length: 128 chars.","x-example":""},"enabled":{"type":"boolean","description":"Is the database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.","x-example":false}},"required":["databaseId","name"]}}}}}},"\/databases\/usage":{"get":{"summary":"Get databases usage stats","operationId":"databasesGetUsage","tags":["databases"],"description":"","responses":{"200":{"description":"UsageDatabases","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/usageDatabases"}}}}},"x-appwrite":{"method":"getUsage","weight":113,"cookies":false,"type":"","deprecated":false,"demo":"databases\/get-usage.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"range","description":"`Date range.","required":false,"schema":{"type":"string","x-example":"24h","enum":["24h","30d","90d"],"x-enum-name":"DatabaseUsageRange","x-enum-keys":["Twenty Four Hours","Thirty Days","Ninety Days"],"default":"30d"},"in":"query"}]}},"\/databases\/{databaseId}":{"get":{"summary":"Get database","operationId":"databasesGet","tags":["databases"],"description":"Get a database by its unique ID. This endpoint response returns a JSON object with the database metadata.","responses":{"200":{"description":"Database","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/database"}}}}},"x-appwrite":{"method":"get","weight":70,"cookies":false,"type":"","deprecated":false,"demo":"databases\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"databases.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]},"put":{"summary":"Update database","operationId":"databasesUpdate","tags":["databases"],"description":"Update a database by its unique ID.","responses":{"200":{"description":"Database","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/database"}}}}},"x-appwrite":{"method":"update","weight":72,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"databases.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Database name. Max length: 128 chars.","x-example":""},"enabled":{"type":"boolean","description":"Is database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.","x-example":false}},"required":["name"]}}}}},"delete":{"summary":"Delete database","operationId":"databasesDelete","tags":["databases"],"description":"Delete a database by its unique ID. Only API keys with with databases.write scope can delete a database.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"delete","weight":73,"cookies":false,"type":"","deprecated":false,"demo":"databases\/delete.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"databases.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]}},"\/databases\/{databaseId}\/collections":{"get":{"summary":"List collections","operationId":"databasesListCollections","tags":["databases"],"description":"Get a list of all collections that belong to the provided databaseId. You can use the search parameter to filter your results.","responses":{"200":{"description":"Collections List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/collectionList"}}}}},"x-appwrite":{"method":"listCollections","weight":75,"cookies":false,"type":"","deprecated":false,"demo":"databases\/list-collections.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-collections.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, enabled, documentSecurity","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"","default":""},"in":"query"}]},"post":{"summary":"Create collection","operationId":"databasesCreateCollection","tags":["databases"],"description":"Create a new Collection. Before using this route, you should create a new database resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.","responses":{"201":{"description":"Collection","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/collection"}}}}},"x-appwrite":{"method":"createCollection","weight":74,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-collection.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-collection.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"collectionId":{"type":"string","description":"Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":""},"name":{"type":"string","description":"Collection name. Max length: 128 chars.","x-example":""},"permissions":{"type":"array","description":"An array of permissions strings. By default, no user is granted with any permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":"[\"read(\"any\")\"]","items":{"type":"string"}},"documentSecurity":{"type":"boolean","description":"Enables configuring permissions for individual documents. A user needs one of document or collection level permissions to access a document. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":false},"enabled":{"type":"boolean","description":"Is collection enabled? When set to 'disabled', users cannot access the collection but Server SDKs with and API key can still read and write to the collection. No data is lost when this is toggled.","x-example":false}},"required":["collectionId","name"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}":{"get":{"summary":"Get collection","operationId":"databasesGetCollection","tags":["databases"],"description":"Get a collection by its unique ID. This endpoint response returns a JSON object with the collection metadata.","responses":{"200":{"description":"Collection","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/collection"}}}}},"x-appwrite":{"method":"getCollection","weight":76,"cookies":false,"type":"","deprecated":false,"demo":"databases\/get-collection.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]},"put":{"summary":"Update collection","operationId":"databasesUpdateCollection","tags":["databases"],"description":"Update a collection by its unique ID.","responses":{"200":{"description":"Collection","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/collection"}}}}},"x-appwrite":{"method":"updateCollection","weight":78,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-collection.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-collection.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Collection name. Max length: 128 chars.","x-example":""},"permissions":{"type":"array","description":"An array of permission strings. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":"[\"read(\"any\")\"]","items":{"type":"string"}},"documentSecurity":{"type":"boolean","description":"Enables configuring permissions for individual documents. A user needs one of document or collection level permissions to access a document. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":false},"enabled":{"type":"boolean","description":"Is collection enabled? When set to 'disabled', users cannot access the collection but Server SDKs with and API key can still read and write to the collection. No data is lost when this is toggled.","x-example":false}},"required":["name"]}}}}},"delete":{"summary":"Delete collection","operationId":"databasesDeleteCollection","tags":["databases"],"description":"Delete a collection by its unique ID. Only users with write permissions have access to delete this resource.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteCollection","weight":79,"cookies":false,"type":"","deprecated":false,"demo":"databases\/delete-collection.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-collection.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes":{"get":{"summary":"List attributes","operationId":"databasesListAttributes","tags":["databases"],"description":"List attributes in the collection.","responses":{"200":{"description":"Attributes List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/attributeList"}}}}},"x-appwrite":{"method":"listAttributes","weight":90,"cookies":false,"type":"","deprecated":false,"demo":"databases\/list-attributes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-attributes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, size, required, array, status, error","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/boolean":{"post":{"summary":"Create boolean attribute","operationId":"databasesCreateBooleanAttribute","tags":["databases"],"description":"Create a boolean attribute.\n","responses":{"202":{"description":"AttributeBoolean","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/attributeBoolean"}}}}},"x-appwrite":{"method":"createBooleanAttribute","weight":87,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-boolean-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-boolean-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":null},"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"default":{"type":"boolean","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":false},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false}},"required":["key","required"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/boolean\/{key}":{"patch":{"summary":"Update boolean attribute","operationId":"databasesUpdateBooleanAttribute","tags":["databases"],"description":"Update a boolean attribute. Changing the `default` value will not update already existing documents.","responses":{"200":{"description":"AttributeBoolean","content":{"":{"schema":{"$ref":"#\/components\/schemas\/attributeBoolean"}}}}},"x-appwrite":{"method":"updateBooleanAttribute","weight":99,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-boolean-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-boolean-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"key","description":"Attribute Key.","required":true,"schema":{"type":"string"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"default":{"type":"boolean","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":false,"x-nullable":true}},"required":["required","default"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/datetime":{"post":{"summary":"Create datetime attribute","operationId":"databasesCreateDatetimeAttribute","tags":["databases"],"description":"Create a date time attribute according to the ISO 8601 standard.","responses":{"202":{"description":"AttributeDatetime","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/attributeDatetime"}}}}},"x-appwrite":{"method":"createDatetimeAttribute","weight":88,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-datetime-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-datetime-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":null},"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"default":{"type":"string","description":"Default value for the attribute in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. Cannot be set when attribute is required.","x-example":null},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false}},"required":["key","required"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/datetime\/{key}":{"patch":{"summary":"Update dateTime attribute","operationId":"databasesUpdateDatetimeAttribute","tags":["databases"],"description":"Update a date time attribute. Changing the `default` value will not update already existing documents.","responses":{"200":{"description":"AttributeDatetime","content":{"":{"schema":{"$ref":"#\/components\/schemas\/attributeDatetime"}}}}},"x-appwrite":{"method":"updateDatetimeAttribute","weight":100,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-datetime-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-datetime-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"key","description":"Attribute Key.","required":true,"schema":{"type":"string"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":null,"x-nullable":true}},"required":["required","default"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/email":{"post":{"summary":"Create email attribute","operationId":"databasesCreateEmailAttribute","tags":["databases"],"description":"Create an email attribute.\n","responses":{"202":{"description":"AttributeEmail","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/attributeEmail"}}}}},"x-appwrite":{"method":"createEmailAttribute","weight":81,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-email-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-email-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":null},"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"email@example.com"},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false}},"required":["key","required"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/email\/{key}":{"patch":{"summary":"Update email attribute","operationId":"databasesUpdateEmailAttribute","tags":["databases"],"description":"Update an email attribute. Changing the `default` value will not update already existing documents.\n","responses":{"200":{"description":"AttributeEmail","content":{"":{"schema":{"$ref":"#\/components\/schemas\/attributeEmail"}}}}},"x-appwrite":{"method":"updateEmailAttribute","weight":93,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-email-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-email-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"key","description":"Attribute Key.","required":true,"schema":{"type":"string"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"email@example.com","x-nullable":true}},"required":["required","default"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/enum":{"post":{"summary":"Create enum attribute","operationId":"databasesCreateEnumAttribute","tags":["databases"],"description":"Create an enumeration attribute. The `elements` param acts as a white-list of accepted values for this attribute. \n","responses":{"202":{"description":"AttributeEnum","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/attributeEnum"}}}}},"x-appwrite":{"method":"createEnumAttribute","weight":82,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-enum-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-attribute-enum.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":null},"elements":{"type":"array","description":"Array of elements in enumerated type. Uses length of longest element to determine size. Maximum of 100 elements are allowed, each 255 characters long.","x-example":null,"items":{"type":"string"}},"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":""},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false}},"required":["key","elements","required"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/enum\/{key}":{"patch":{"summary":"Update enum attribute","operationId":"databasesUpdateEnumAttribute","tags":["databases"],"description":"Update an enum attribute. Changing the `default` value will not update already existing documents.\n","responses":{"200":{"description":"AttributeEnum","content":{"":{"schema":{"$ref":"#\/components\/schemas\/attributeEnum"}}}}},"x-appwrite":{"method":"updateEnumAttribute","weight":94,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-enum-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-enum-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"key","description":"Attribute Key.","required":true,"schema":{"type":"string"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"elements":{"type":"array","description":"Array of elements in enumerated type. Uses length of longest element to determine size. Maximum of 100 elements are allowed, each 255 characters long.","x-example":null,"items":{"type":"string"}},"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"","x-nullable":true}},"required":["elements","required","default"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/float":{"post":{"summary":"Create float attribute","operationId":"databasesCreateFloatAttribute","tags":["databases"],"description":"Create a float attribute. Optionally, minimum and maximum values can be provided.\n","responses":{"202":{"description":"AttributeFloat","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/attributeFloat"}}}}},"x-appwrite":{"method":"createFloatAttribute","weight":86,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-float-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-float-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":null},"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"min":{"type":"number","description":"Minimum value to enforce on new documents","x-example":null},"max":{"type":"number","description":"Maximum value to enforce on new documents","x-example":null},"default":{"type":"number","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":null},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false}},"required":["key","required"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/float\/{key}":{"patch":{"summary":"Update float attribute","operationId":"databasesUpdateFloatAttribute","tags":["databases"],"description":"Update a float attribute. Changing the `default` value will not update already existing documents.\n","responses":{"200":{"description":"AttributeFloat","content":{"":{"schema":{"$ref":"#\/components\/schemas\/attributeFloat"}}}}},"x-appwrite":{"method":"updateFloatAttribute","weight":98,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-float-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-float-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"key","description":"Attribute Key.","required":true,"schema":{"type":"string"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"min":{"type":"number","description":"Minimum value to enforce on new documents","x-example":null},"max":{"type":"number","description":"Maximum value to enforce on new documents","x-example":null},"default":{"type":"number","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":null,"x-nullable":true}},"required":["required","min","max","default"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/integer":{"post":{"summary":"Create integer attribute","operationId":"databasesCreateIntegerAttribute","tags":["databases"],"description":"Create an integer attribute. Optionally, minimum and maximum values can be provided.\n","responses":{"202":{"description":"AttributeInteger","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/attributeInteger"}}}}},"x-appwrite":{"method":"createIntegerAttribute","weight":85,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-integer-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-integer-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":null},"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"min":{"type":"integer","description":"Minimum value to enforce on new documents","x-example":null},"max":{"type":"integer","description":"Maximum value to enforce on new documents","x-example":null},"default":{"type":"integer","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":null},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false}},"required":["key","required"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/integer\/{key}":{"patch":{"summary":"Update integer attribute","operationId":"databasesUpdateIntegerAttribute","tags":["databases"],"description":"Update an integer attribute. Changing the `default` value will not update already existing documents.\n","responses":{"200":{"description":"AttributeInteger","content":{"":{"schema":{"$ref":"#\/components\/schemas\/attributeInteger"}}}}},"x-appwrite":{"method":"updateIntegerAttribute","weight":97,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-integer-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-integer-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"key","description":"Attribute Key.","required":true,"schema":{"type":"string"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"min":{"type":"integer","description":"Minimum value to enforce on new documents","x-example":null},"max":{"type":"integer","description":"Maximum value to enforce on new documents","x-example":null},"default":{"type":"integer","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":null,"x-nullable":true}},"required":["required","min","max","default"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/ip":{"post":{"summary":"Create IP address attribute","operationId":"databasesCreateIpAttribute","tags":["databases"],"description":"Create IP address attribute.\n","responses":{"202":{"description":"AttributeIP","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/attributeIp"}}}}},"x-appwrite":{"method":"createIpAttribute","weight":83,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-ip-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-ip-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":null},"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":null},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false}},"required":["key","required"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/ip\/{key}":{"patch":{"summary":"Update IP address attribute","operationId":"databasesUpdateIpAttribute","tags":["databases"],"description":"Update an ip attribute. Changing the `default` value will not update already existing documents.\n","responses":{"200":{"description":"AttributeIP","content":{"":{"schema":{"$ref":"#\/components\/schemas\/attributeIp"}}}}},"x-appwrite":{"method":"updateIpAttribute","weight":95,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-ip-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-ip-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"key","description":"Attribute Key.","required":true,"schema":{"type":"string"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":null,"x-nullable":true}},"required":["required","default"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/relationship":{"post":{"summary":"Create relationship attribute","operationId":"databasesCreateRelationshipAttribute","tags":["databases"],"description":"Create relationship attribute. [Learn more about relationship attributes](https:\/\/appwrite.io\/docs\/databases-relationships#relationship-attributes).\n","responses":{"202":{"description":"AttributeRelationship","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/attributeRelationship"}}}}},"x-appwrite":{"method":"createRelationshipAttribute","weight":89,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-relationship-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-relationship-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"relatedCollectionId":{"type":"string","description":"Related Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","x-example":""},"type":{"type":"string","description":"Relation type","x-example":"oneToOne","enum":["oneToOne","manyToOne","manyToMany","oneToMany"],"x-enum-name":"RelationshipType","x-enum-keys":[]},"twoWay":{"type":"boolean","description":"Is Two Way?","x-example":false},"key":{"type":"string","description":"Attribute Key.","x-example":null},"twoWayKey":{"type":"string","description":"Two Way Attribute Key.","x-example":null},"onDelete":{"type":"string","description":"Constraints option","x-example":"cascade","enum":["cascade","restrict","setNull"],"x-enum-name":"RelationMutate","x-enum-keys":[]}},"required":["relatedCollectionId","type"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/string":{"post":{"summary":"Create string attribute","operationId":"databasesCreateStringAttribute","tags":["databases"],"description":"Create a string attribute.\n","responses":{"202":{"description":"AttributeString","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/attributeString"}}}}},"x-appwrite":{"method":"createStringAttribute","weight":80,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-string-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-string-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":null},"size":{"type":"integer","description":"Attribute size for text attributes, in number of characters.","x-example":1},"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":""},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false},"encrypt":{"type":"boolean","description":"Toggle encryption for the attribute. Encryption enhances security by not storing any plain text values in the database. However, encrypted attributes cannot be queried.","x-example":false}},"required":["key","size","required"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/string\/{key}":{"patch":{"summary":"Update string attribute","operationId":"databasesUpdateStringAttribute","tags":["databases"],"description":"Update a string attribute. Changing the `default` value will not update already existing documents.\n","responses":{"200":{"description":"AttributeString","content":{"":{"schema":{"$ref":"#\/components\/schemas\/attributeString"}}}}},"x-appwrite":{"method":"updateStringAttribute","weight":92,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-string-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-string-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"key","description":"Attribute Key.","required":true,"schema":{"type":"string"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"","x-nullable":true}},"required":["required","default"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/url":{"post":{"summary":"Create URL attribute","operationId":"databasesCreateUrlAttribute","tags":["databases"],"description":"Create a URL attribute.\n","responses":{"202":{"description":"AttributeURL","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/attributeUrl"}}}}},"x-appwrite":{"method":"createUrlAttribute","weight":84,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-url-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-url-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":null},"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"https:\/\/example.com"},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false}},"required":["key","required"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/url\/{key}":{"patch":{"summary":"Update URL attribute","operationId":"databasesUpdateUrlAttribute","tags":["databases"],"description":"Update an url attribute. Changing the `default` value will not update already existing documents.\n","responses":{"200":{"description":"AttributeURL","content":{"":{"schema":{"$ref":"#\/components\/schemas\/attributeUrl"}}}}},"x-appwrite":{"method":"updateUrlAttribute","weight":96,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-url-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-url-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"key","description":"Attribute Key.","required":true,"schema":{"type":"string"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"https:\/\/example.com","x-nullable":true}},"required":["required","default"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/{key}":{"get":{"summary":"Get attribute","operationId":"databasesGetAttribute","tags":["databases"],"description":"Get attribute by ID.","responses":{"200":{"description":"AttributeBoolean, or AttributeInteger, or AttributeFloat, or AttributeEmail, or AttributeEnum, or AttributeURL, or AttributeIP, or AttributeDatetime, or AttributeRelationship, or AttributeString","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/attributeBoolean"},{"$ref":"#\/components\/schemas\/attributeInteger"},{"$ref":"#\/components\/schemas\/attributeFloat"},{"$ref":"#\/components\/schemas\/attributeEmail"},{"$ref":"#\/components\/schemas\/attributeEnum"},{"$ref":"#\/components\/schemas\/attributeUrl"},{"$ref":"#\/components\/schemas\/attributeIp"},{"$ref":"#\/components\/schemas\/attributeDatetime"},{"$ref":"#\/components\/schemas\/attributeRelationship"},{"$ref":"#\/components\/schemas\/attributeString"}]}}}}},"x-appwrite":{"method":"getAttribute","weight":91,"cookies":false,"type":"","deprecated":false,"demo":"databases\/get-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"key","description":"Attribute Key.","required":true,"schema":{"type":"string"},"in":"path"}]},"delete":{"summary":"Delete attribute","operationId":"databasesDeleteAttribute","tags":["databases"],"description":"Deletes an attribute.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteAttribute","weight":102,"cookies":false,"type":"","deprecated":false,"demo":"databases\/delete-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"key","description":"Attribute Key.","required":true,"schema":{"type":"string"},"in":"path"}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/{key}\/relationship":{"patch":{"summary":"Update relationship attribute","operationId":"databasesUpdateRelationshipAttribute","tags":["databases"],"description":"Update relationship attribute. [Learn more about relationship attributes](https:\/\/appwrite.io\/docs\/databases-relationships#relationship-attributes).\n","responses":{"200":{"description":"AttributeRelationship","content":{"":{"schema":{"$ref":"#\/components\/schemas\/attributeRelationship"}}}}},"x-appwrite":{"method":"updateRelationshipAttribute","weight":101,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-relationship-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-relationship-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"key","description":"Attribute Key.","required":true,"schema":{"type":"string"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"onDelete":{"type":"string","description":"Constraints option","x-example":"cascade","enum":["cascade","restrict","setNull"],"x-enum-name":"RelationMutate","x-enum-keys":[]}}}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/documents":{"get":{"summary":"List documents","operationId":"databasesListDocuments","tags":["databases"],"description":"Get a list of all the user's documents in a given collection. You can use the query params to filter your results.","responses":{"200":{"description":"Documents List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/documentList"}}}}},"x-appwrite":{"method":"listDocuments","weight":108,"cookies":false,"type":"","deprecated":false,"demo":"databases\/list-documents.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-documents.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"documents.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/databases\/{databaseId}\/collections\/{collectionId}\/documents","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]},"post":{"summary":"Create document","operationId":"databasesCreateDocument","tags":["databases"],"description":"Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.","responses":{"201":{"description":"Document","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/document"}}}}},"x-appwrite":{"method":"createDocument","weight":107,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-document.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-document.md","rate-limit":120,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId}","scope":"documents.write","platforms":["client","server","server"],"packaging":false,"offline-model":"\/databases\/{databaseId}\/collections\/{collectionId}\/documents","offline-key":"{documentId}","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection). Make sure to define attributes before creating documents.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"documentId":{"type":"string","description":"Document ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":""},"data":{"type":"object","description":"Document data as JSON object.","x-example":"{}"},"permissions":{"type":"array","description":"An array of permissions strings. By default, only the current user is granted all permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":"[\"read(\"any\")\"]","items":{"type":"string"}}},"required":["documentId","data"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}":{"get":{"summary":"Get document","operationId":"databasesGetDocument","tags":["databases"],"description":"Get a document by its unique ID. This endpoint response returns a JSON object with the document data.","responses":{"200":{"description":"Document","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/document"}}}}},"x-appwrite":{"method":"getDocument","weight":109,"cookies":false,"type":"","deprecated":false,"demo":"databases\/get-document.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"documents.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/databases\/{databaseId}\/collections\/{collectionId}\/documents","offline-key":"{documentId}","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"documentId","description":"Document ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]},"patch":{"summary":"Update document","operationId":"databasesUpdateDocument","tags":["databases"],"description":"Update a document by its unique ID. Using the patch method you can pass only specific fields that will get updated.","responses":{"200":{"description":"Document","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/document"}}}}},"x-appwrite":{"method":"updateDocument","weight":111,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-document.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-document.md","rate-limit":120,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId}","scope":"documents.write","platforms":["client","server","server"],"packaging":false,"offline-model":"\/databases\/{databaseId}\/collections\/{collectionId}\/documents","offline-key":"{documentId}","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"documentId","description":"Document ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"object","description":"Document data as JSON object. Include only attribute and value pairs to be updated.","x-example":"{}"},"permissions":{"type":"array","description":"An array of permissions strings. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":"[\"read(\"any\")\"]","items":{"type":"string"}}}}}}}},"delete":{"summary":"Delete document","operationId":"databasesDeleteDocument","tags":["databases"],"description":"Delete a document by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteDocument","weight":112,"cookies":false,"type":"","deprecated":false,"demo":"databases\/delete-document.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-document.md","rate-limit":60,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId}","scope":"documents.write","platforms":["client","server","server"],"packaging":false,"offline-model":"\/databases\/{databaseId}\/collections\/{collectionId}\/documents","offline-key":"{documentId}","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"documentId","description":"Document ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}\/logs":{"get":{"summary":"List document logs","operationId":"databasesListDocumentLogs","tags":["databases"],"description":"Get the document activity logs list by its unique ID.","responses":{"200":{"description":"Logs List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/logList"}}}}},"x-appwrite":{"method":"listDocumentLogs","weight":110,"cookies":false,"type":"","deprecated":false,"demo":"databases\/list-document-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"documents.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"documentId","description":"Document ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/indexes":{"get":{"summary":"List indexes","operationId":"databasesListIndexes","tags":["databases"],"description":"List indexes in the collection.","responses":{"200":{"description":"Indexes List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/indexList"}}}}},"x-appwrite":{"method":"listIndexes","weight":104,"cookies":false,"type":"","deprecated":false,"demo":"databases\/list-indexes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-indexes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, status, attributes, error","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]},"post":{"summary":"Create index","operationId":"databasesCreateIndex","tags":["databases"],"description":"Creates an index on the attributes listed. Your index should include all the attributes you will query in a single request.\nAttributes can be `key`, `fulltext`, and `unique`.","responses":{"202":{"description":"Index","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/index"}}}}},"x-appwrite":{"method":"createIndex","weight":103,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-index.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-index.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"key":{"type":"string","description":"Index Key.","x-example":null},"type":{"type":"string","description":"Index type.","x-example":"key","enum":["key","fulltext","unique"],"x-enum-name":"IndexType","x-enum-keys":[]},"attributes":{"type":"array","description":"Array of attributes to index. Maximum of 100 attributes are allowed, each 32 characters long.","x-example":null,"items":{"type":"string"}},"orders":{"type":"array","description":"Array of index orders. Maximum of 100 orders are allowed.","x-example":null,"items":{"type":"string"}}},"required":["key","type","attributes"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/indexes\/{key}":{"get":{"summary":"Get index","operationId":"databasesGetIndex","tags":["databases"],"description":"Get index by ID.","responses":{"200":{"description":"Index","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/index"}}}}},"x-appwrite":{"method":"getIndex","weight":105,"cookies":false,"type":"","deprecated":false,"demo":"databases\/get-index.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-index.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"key","description":"Index Key.","required":true,"schema":{"type":"string"},"in":"path"}]},"delete":{"summary":"Delete index","operationId":"databasesDeleteIndex","tags":["databases"],"description":"Delete an index.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteIndex","weight":106,"cookies":false,"type":"","deprecated":false,"demo":"databases\/delete-index.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-index.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"key","description":"Index Key.","required":true,"schema":{"type":"string"},"in":"path"}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/logs":{"get":{"summary":"List collection logs","operationId":"databasesListCollectionLogs","tags":["databases"],"description":"Get the collection activity logs list by its unique ID.","responses":{"200":{"description":"Logs List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/logList"}}}}},"x-appwrite":{"method":"listCollectionLogs","weight":77,"cookies":false,"type":"","deprecated":false,"demo":"databases\/list-collection-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"collectionId","description":"Collection ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/usage":{"get":{"summary":"Get collection usage stats","operationId":"databasesGetCollectionUsage","tags":["databases"],"description":"","responses":{"200":{"description":"UsageCollection","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/usageCollection"}}}}},"x-appwrite":{"method":"getCollectionUsage","weight":115,"cookies":false,"type":"","deprecated":false,"demo":"databases\/get-collection-usage.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"range","description":"Date range.","required":false,"schema":{"type":"string","x-example":"24h","enum":["24h","30d","90d"],"x-enum-name":"DatabaseUsageRange","x-enum-keys":["Twenty Four Hours","Thirty Days","Ninety Days"],"default":"30d"},"in":"query"},{"name":"collectionId","description":"Collection ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]}},"\/databases\/{databaseId}\/logs":{"get":{"summary":"List database logs","operationId":"databasesListLogs","tags":["databases"],"description":"Get the database activity logs list by its unique ID.","responses":{"200":{"description":"Logs List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/logList"}}}}},"x-appwrite":{"method":"listLogs","weight":71,"cookies":false,"type":"","deprecated":false,"demo":"databases\/list-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"databases.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]}},"\/databases\/{databaseId}\/usage":{"get":{"summary":"Get database usage stats","operationId":"databasesGetDatabaseUsage","tags":["databases"],"description":"","responses":{"200":{"description":"UsageDatabase","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/usageDatabase"}}}}},"x-appwrite":{"method":"getDatabaseUsage","weight":114,"cookies":false,"type":"","deprecated":false,"demo":"databases\/get-database-usage.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"range","description":"`Date range.","required":false,"schema":{"type":"string","x-example":"24h","enum":["24h","30d","90d"],"x-enum-name":"DatabaseUsageRange","x-enum-keys":["Twenty Four Hours","Thirty Days","Ninety Days"],"default":"30d"},"in":"query"}]}},"\/functions":{"get":{"summary":"List functions","operationId":"functionsList","tags":["functions"],"description":"Get a list of all the project's functions. You can use the query params to filter your results.","responses":{"200":{"description":"Functions List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/functionList"}}}}},"x-appwrite":{"method":"list","weight":282,"cookies":false,"type":"","deprecated":false,"demo":"functions\/list.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-functions.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, enabled, runtime, deployment, schedule, scheduleNext, schedulePrevious, timeout, entrypoint, commands, installationId","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"","default":""},"in":"query"}]},"post":{"summary":"Create function","operationId":"functionsCreate","tags":["functions"],"description":"Create a new function. You can pass a list of [permissions](https:\/\/appwrite.io\/docs\/permissions) to allow different project users or team with access to execute the function using the client API.","responses":{"201":{"description":"Function","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/function"}}}}},"x-appwrite":{"method":"create","weight":281,"cookies":false,"type":"","deprecated":false,"demo":"functions\/create.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-function.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"functionId":{"type":"string","description":"Function ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":""},"name":{"type":"string","description":"Function name. Max length: 128 chars.","x-example":""},"runtime":{"type":"string","description":"Execution runtime.","x-example":"node-14.5","enum":["node-14.5","node-16.0","node-18.0","node-19.0","node-20.0","node-21.0","php-8.0","php-8.1","php-8.2","php-8.3","ruby-3.0","ruby-3.1","ruby-3.2","ruby-3.3","python-3.8","python-3.9","python-3.10","python-3.11","python-3.12","python-ml-3.11","deno-1.21","deno-1.24","deno-1.35","deno-1.40","dart-2.15","dart-2.16","dart-2.17","dart-2.18","dart-3.0","dart-3.1","dart-3.3","dotnet-3.1","dotnet-6.0","dotnet-7.0","java-8.0","java-11.0","java-17.0","java-18.0","java-21.0","swift-5.5","swift-5.8","swift-5.9","kotlin-1.6","kotlin-1.8","kotlin-1.9","cpp-17","cpp-20","bun-1.0"],"x-enum-name":null,"x-enum-keys":[]},"execute":{"type":"array","description":"An array of role strings with execution permissions. By default no user is granted with any execute permissions. [learn more about roles](https:\/\/appwrite.io\/docs\/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.","x-example":"[\"any\"]","items":{"type":"string"}},"events":{"type":"array","description":"Events list. Maximum of 100 events are allowed.","x-example":null,"items":{"type":"string"}},"schedule":{"type":"string","description":"Schedule CRON syntax.","x-example":null},"timeout":{"type":"integer","description":"Function maximum execution time in seconds.","x-example":1},"enabled":{"type":"boolean","description":"Is function enabled? When set to 'disabled', users cannot access the function but Server SDKs with and API key can still access the function. No data is lost when this is toggled.","x-example":false},"logging":{"type":"boolean","description":"Whether executions will be logged. When set to false, executions will not be logged, but will reduce resource used by your Appwrite project.","x-example":false},"entrypoint":{"type":"string","description":"Entrypoint File. This path is relative to the \"providerRootDirectory\".","x-example":""},"commands":{"type":"string","description":"Build Commands.","x-example":""},"installationId":{"type":"string","description":"Appwrite Installation ID for VCS (Version Control System) deployment.","x-example":""},"providerRepositoryId":{"type":"string","description":"Repository ID of the repo linked to the function.","x-example":""},"providerBranch":{"type":"string","description":"Production branch for the repo linked to the function.","x-example":""},"providerSilentMode":{"type":"boolean","description":"Is the VCS (Version Control System) connection in silent mode for the repo linked to the function? In silent mode, comments will not be made on commits and pull requests.","x-example":false},"providerRootDirectory":{"type":"string","description":"Path to function code in the linked repo.","x-example":""},"templateRepository":{"type":"string","description":"Repository name of the template.","x-example":""},"templateOwner":{"type":"string","description":"The name of the owner of the template.","x-example":""},"templateRootDirectory":{"type":"string","description":"Path to function code in the template repo.","x-example":""},"templateBranch":{"type":"string","description":"Production branch for the repo linked to the function template.","x-example":""}},"required":["functionId","name","runtime"]}}}}}},"\/functions\/runtimes":{"get":{"summary":"List runtimes","operationId":"functionsListRuntimes","tags":["functions"],"description":"Get a list of all runtimes that are currently active on your instance.","responses":{"200":{"description":"Runtimes List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/runtimeList"}}}}},"x-appwrite":{"method":"listRuntimes","weight":283,"cookies":false,"type":"","deprecated":false,"demo":"functions\/list-runtimes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-runtimes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}]}},"\/functions\/usage":{"get":{"summary":"Get functions usage","operationId":"functionsGetUsage","tags":["functions"],"description":"","responses":{"200":{"description":"UsageFunctions","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/usageFunctions"}}}}},"x-appwrite":{"method":"getUsage","weight":286,"cookies":false,"type":"","deprecated":false,"demo":"functions\/get-usage.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"range","description":"Date range.","required":false,"schema":{"type":"string","x-example":"24h","enum":["24h","30d","90d"],"x-enum-name":"FunctionUsageRange","x-enum-keys":["Twenty Four Hours","Thirty Days","Ninety Days"],"default":"30d"},"in":"query"}]}},"\/functions\/{functionId}":{"get":{"summary":"Get function","operationId":"functionsGet","tags":["functions"],"description":"Get a function by its unique ID.","responses":{"200":{"description":"Function","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/function"}}}}},"x-appwrite":{"method":"get","weight":284,"cookies":false,"type":"","deprecated":false,"demo":"functions\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-function.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]},"put":{"summary":"Update function","operationId":"functionsUpdate","tags":["functions"],"description":"Update function by its unique ID.","responses":{"200":{"description":"Function","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/function"}}}}},"x-appwrite":{"method":"update","weight":287,"cookies":false,"type":"","deprecated":false,"demo":"functions\/update.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/update-function.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Function name. Max length: 128 chars.","x-example":""},"runtime":{"type":"string","description":"Execution runtime.","x-example":"node-14.5","enum":["node-14.5","node-16.0","node-18.0","node-19.0","node-20.0","node-21.0","php-8.0","php-8.1","php-8.2","php-8.3","ruby-3.0","ruby-3.1","ruby-3.2","ruby-3.3","python-3.8","python-3.9","python-3.10","python-3.11","python-3.12","python-ml-3.11","deno-1.21","deno-1.24","deno-1.35","deno-1.40","dart-2.15","dart-2.16","dart-2.17","dart-2.18","dart-3.0","dart-3.1","dart-3.3","dotnet-3.1","dotnet-6.0","dotnet-7.0","java-8.0","java-11.0","java-17.0","java-18.0","java-21.0","swift-5.5","swift-5.8","swift-5.9","kotlin-1.6","kotlin-1.8","kotlin-1.9","cpp-17","cpp-20","bun-1.0"],"x-enum-name":null,"x-enum-keys":[]},"execute":{"type":"array","description":"An array of role strings with execution permissions. By default no user is granted with any execute permissions. [learn more about roles](https:\/\/appwrite.io\/docs\/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.","x-example":"[\"any\"]","items":{"type":"string"}},"events":{"type":"array","description":"Events list. Maximum of 100 events are allowed.","x-example":null,"items":{"type":"string"}},"schedule":{"type":"string","description":"Schedule CRON syntax.","x-example":null},"timeout":{"type":"integer","description":"Maximum execution time in seconds.","x-example":1},"enabled":{"type":"boolean","description":"Is function enabled? When set to 'disabled', users cannot access the function but Server SDKs with and API key can still access the function. No data is lost when this is toggled.","x-example":false},"logging":{"type":"boolean","description":"Whether executions will be logged. When set to false, executions will not be logged, but will reduce resource used by your Appwrite project.","x-example":false},"entrypoint":{"type":"string","description":"Entrypoint File. This path is relative to the \"providerRootDirectory\".","x-example":""},"commands":{"type":"string","description":"Build Commands.","x-example":""},"installationId":{"type":"string","description":"Appwrite Installation ID for VCS (Version Controle System) deployment.","x-example":""},"providerRepositoryId":{"type":"string","description":"Repository ID of the repo linked to the function","x-example":""},"providerBranch":{"type":"string","description":"Production branch for the repo linked to the function","x-example":""},"providerSilentMode":{"type":"boolean","description":"Is the VCS (Version Control System) connection in silent mode for the repo linked to the function? In silent mode, comments will not be made on commits and pull requests.","x-example":false},"providerRootDirectory":{"type":"string","description":"Path to function code in the linked repo.","x-example":""}},"required":["name"]}}}}},"delete":{"summary":"Delete function","operationId":"functionsDelete","tags":["functions"],"description":"Delete a function by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"delete","weight":290,"cookies":false,"type":"","deprecated":false,"demo":"functions\/delete.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/delete-function.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]}},"\/functions\/{functionId}\/deployments":{"get":{"summary":"List deployments","operationId":"functionsListDeployments","tags":["functions"],"description":"Get a list of all the project's code deployments. You can use the query params to filter your results.","responses":{"200":{"description":"Deployments List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/deploymentList"}}}}},"x-appwrite":{"method":"listDeployments","weight":292,"cookies":false,"type":"","deprecated":false,"demo":"functions\/list-deployments.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-deployments.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: size, buildId, activate, entrypoint, commands","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"","default":""},"in":"query"}]},"post":{"summary":"Create deployment","operationId":"functionsCreateDeployment","tags":["functions"],"description":"Create a new function code deployment. Use this endpoint to upload a new version of your code function. To execute your newly uploaded code, you'll need to update the function's deployment to use your new deployment UID.\n\nThis endpoint accepts a tar.gz file compressed with your code. Make sure to include any dependencies your code has within the compressed file. You can learn more about code packaging in the [Appwrite Cloud Functions tutorial](https:\/\/appwrite.io\/docs\/functions).\n\nUse the \"command\" param to set the entrypoint used to execute your code.","responses":{"202":{"description":"Deployment","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/deployment"}}}}},"x-appwrite":{"method":"createDeployment","weight":291,"cookies":false,"type":"","deprecated":false,"demo":"functions\/create-deployment.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-deployment.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":true,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"entrypoint":{"type":"string","description":"Entrypoint File.","x-example":""},"commands":{"type":"string","description":"Build Commands.","x-example":""},"code":{"type":"string","description":"Gzip file with your code package. When used with the Appwrite CLI, pass the path to your code directory, and the CLI will automatically package your code. Use a path that is within the current directory.","x-example":null},"activate":{"type":"boolean","description":"Automatically activate the deployment when it is finished building.","x-example":false}},"required":["code","activate"]}}}}}},"\/functions\/{functionId}\/deployments\/{deploymentId}":{"get":{"summary":"Get deployment","operationId":"functionsGetDeployment","tags":["functions"],"description":"Get a code deployment by its unique ID.","responses":{"200":{"description":"Deployment","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/deployment"}}}}},"x-appwrite":{"method":"getDeployment","weight":293,"cookies":false,"type":"","deprecated":false,"demo":"functions\/get-deployment.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-deployment.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"deploymentId","description":"Deployment ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]},"patch":{"summary":"Update deployment","operationId":"functionsUpdateDeployment","tags":["functions"],"description":"Update the function code deployment ID using the unique function ID. Use this endpoint to switch the code deployment that should be executed by the execution endpoint.","responses":{"200":{"description":"Function","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/function"}}}}},"x-appwrite":{"method":"updateDeployment","weight":289,"cookies":false,"type":"","deprecated":false,"demo":"functions\/update-deployment.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/update-function-deployment.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"deploymentId","description":"Deployment ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]},"delete":{"summary":"Delete deployment","operationId":"functionsDeleteDeployment","tags":["functions"],"description":"Delete a code deployment by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteDeployment","weight":294,"cookies":false,"type":"","deprecated":false,"demo":"functions\/delete-deployment.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/delete-deployment.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"deploymentId","description":"Deployment ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]}},"\/functions\/{functionId}\/deployments\/{deploymentId}\/builds\/{buildId}":{"post":{"summary":"Create build","operationId":"functionsCreateBuild","tags":["functions"],"description":"Create a new build for an Appwrite Function deployment. This endpoint can be used to retry a failed build.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"createBuild","weight":295,"cookies":false,"type":"","deprecated":false,"demo":"functions\/create-build.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-build.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"deploymentId","description":"Deployment ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"buildId","description":"Build unique ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]}},"\/functions\/{functionId}\/deployments\/{deploymentId}\/download":{"get":{"summary":"Download deployment","operationId":"functionsDownloadDeployment","tags":["functions"],"description":"Get a Deployment's contents by its unique ID. This endpoint supports range requests for partial or streaming file download.","responses":{"200":{"description":"File"}},"x-appwrite":{"method":"downloadDeployment","weight":288,"cookies":false,"type":"location","deprecated":false,"demo":"functions\/download-deployment.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/download-deployment.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"deploymentId","description":"Deployment ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]}},"\/functions\/{functionId}\/executions":{"get":{"summary":"List executions","operationId":"functionsListExecutions","tags":["functions"],"description":"Get a list of all the current user function execution logs. You can use the query params to filter your results.","responses":{"200":{"description":"Executions List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/executionList"}}}}},"x-appwrite":{"method":"listExecutions","weight":297,"cookies":false,"type":"","deprecated":false,"demo":"functions\/list-executions.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-executions.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"execution.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: trigger, status, responseStatusCode, duration","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"","default":""},"in":"query"}]},"post":{"summary":"Create execution","operationId":"functionsCreateExecution","tags":["functions"],"description":"Trigger a function execution. The returned object will return you the current execution status. You can ping the `Get Execution` endpoint to get updates on the current execution status. Once this endpoint is called, your function execution process will start asynchronously.","responses":{"201":{"description":"Execution","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/execution"}}}}},"x-appwrite":{"method":"createExecution","weight":296,"cookies":false,"type":"","deprecated":false,"demo":"functions\/create-execution.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-execution.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"execution.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"body":{"type":"string","description":"HTTP body of execution. Default value is empty string.","x-example":""},"async":{"type":"boolean","description":"Execute code in the background. Default value is false.","x-example":false},"path":{"type":"string","description":"HTTP path of execution. Path can include query params. Default value is \/","x-example":""},"method":{"type":"string","description":"HTTP method of execution. Default value is GET.","x-example":"GET","enum":["GET","POST","PUT","PATCH","DELETE","OPTIONS"],"x-enum-name":"ExecutionMethod","x-enum-keys":[]},"headers":{"type":"object","description":"HTTP headers of execution. Defaults to empty.","x-example":"{}"}}}}}}}},"\/functions\/{functionId}\/executions\/{executionId}":{"get":{"summary":"Get execution","operationId":"functionsGetExecution","tags":["functions"],"description":"Get a function execution log by its unique ID.","responses":{"200":{"description":"Execution","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/execution"}}}}},"x-appwrite":{"method":"getExecution","weight":298,"cookies":false,"type":"","deprecated":false,"demo":"functions\/get-execution.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-execution.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"execution.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"executionId","description":"Execution ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]}},"\/functions\/{functionId}\/usage":{"get":{"summary":"Get function usage","operationId":"functionsGetFunctionUsage","tags":["functions"],"description":"","responses":{"200":{"description":"UsageFunction","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/usageFunction"}}}}},"x-appwrite":{"method":"getFunctionUsage","weight":285,"cookies":false,"type":"","deprecated":false,"demo":"functions\/get-function-usage.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"range","description":"Date range.","required":false,"schema":{"type":"string","x-example":"24h","enum":["24h","30d","90d"],"x-enum-name":"FunctionUsageRange","x-enum-keys":["Twenty Four Hours","Thirty Days","Ninety Days"],"default":"30d"},"in":"query"}]}},"\/functions\/{functionId}\/variables":{"get":{"summary":"List variables","operationId":"functionsListVariables","tags":["functions"],"description":"Get a list of all variables of a specific function.","responses":{"200":{"description":"Variables List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/variableList"}}}}},"x-appwrite":{"method":"listVariables","weight":300,"cookies":false,"type":"","deprecated":false,"demo":"functions\/list-variables.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-variables.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function unique ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]},"post":{"summary":"Create variable","operationId":"functionsCreateVariable","tags":["functions"],"description":"Create a new function environment variable. These variables can be accessed in the function at runtime as environment variables.","responses":{"201":{"description":"Variable","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/variable"}}}}},"x-appwrite":{"method":"createVariable","weight":299,"cookies":false,"type":"","deprecated":false,"demo":"functions\/create-variable.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-variable.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function unique ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"key":{"type":"string","description":"Variable key. Max length: 255 chars.","x-example":""},"value":{"type":"string","description":"Variable value. Max length: 8192 chars.","x-example":""}},"required":["key","value"]}}}}}},"\/functions\/{functionId}\/variables\/{variableId}":{"get":{"summary":"Get variable","operationId":"functionsGetVariable","tags":["functions"],"description":"Get a variable by its unique ID.","responses":{"200":{"description":"Variable","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/variable"}}}}},"x-appwrite":{"method":"getVariable","weight":301,"cookies":false,"type":"","deprecated":false,"demo":"functions\/get-variable.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-variable.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function unique ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"variableId","description":"Variable unique ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]},"put":{"summary":"Update variable","operationId":"functionsUpdateVariable","tags":["functions"],"description":"Update variable by its unique ID.","responses":{"200":{"description":"Variable","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/variable"}}}}},"x-appwrite":{"method":"updateVariable","weight":302,"cookies":false,"type":"","deprecated":false,"demo":"functions\/update-variable.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/update-variable.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function unique ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"variableId","description":"Variable unique ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"key":{"type":"string","description":"Variable key. Max length: 255 chars.","x-example":""},"value":{"type":"string","description":"Variable value. Max length: 8192 chars.","x-example":""}},"required":["key"]}}}}},"delete":{"summary":"Delete variable","operationId":"functionsDeleteVariable","tags":["functions"],"description":"Delete a variable by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteVariable","weight":303,"cookies":false,"type":"","deprecated":false,"demo":"functions\/delete-variable.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/delete-variable.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function unique ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"},{"name":"variableId","description":"Variable unique ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}]}},"\/graphql":{"post":{"summary":"GraphQL endpoint","operationId":"graphqlQuery","tags":["graphql"],"description":"Execute a GraphQL mutation.","responses":{"200":{"description":"Any","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/any"}}}}},"x-appwrite":{"method":"query","weight":318,"cookies":false,"type":"graphql","deprecated":false,"demo":"graphql\/query.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md","rate-limit":60,"rate-time":60,"rate-key":"url:{url},ip:{ip}","scope":"graphql","platforms":["server","client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}]}},"\/graphql\/mutation":{"post":{"summary":"GraphQL endpoint","operationId":"graphqlMutation","tags":["graphql"],"description":"Execute a GraphQL mutation.","responses":{"200":{"description":"Any","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/any"}}}}},"x-appwrite":{"method":"mutation","weight":317,"cookies":false,"type":"graphql","deprecated":false,"demo":"graphql\/mutation.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md","rate-limit":60,"rate-time":60,"rate-key":"url:{url},ip:{ip}","scope":"graphql","platforms":["server","client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}]}},"\/health":{"get":{"summary":"Get HTTP","operationId":"healthGet","tags":["health"],"description":"Check the Appwrite HTTP server is up and responsive.","responses":{"200":{"description":"Health Status","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthStatus"}}}}},"x-appwrite":{"method":"get","weight":124,"cookies":false,"type":"","deprecated":false,"demo":"health\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}]}},"\/health\/anti-virus":{"get":{"summary":"Get antivirus","operationId":"healthGetAntivirus","tags":["health"],"description":"Check the Appwrite Antivirus server is up and connection is successful.","responses":{"200":{"description":"Health Antivirus","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthAntivirus"}}}}},"x-appwrite":{"method":"getAntivirus","weight":146,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-antivirus.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage-anti-virus.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}]}},"\/health\/cache":{"get":{"summary":"Get cache","operationId":"healthGetCache","tags":["health"],"description":"Check the Appwrite in-memory cache servers are up and connection is successful.","responses":{"200":{"description":"Health Status","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthStatus"}}}}},"x-appwrite":{"method":"getCache","weight":127,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-cache.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-cache.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}]}},"\/health\/certificate":{"get":{"summary":"Get the SSL certificate for a domain","operationId":"healthGetCertificate","tags":["health"],"description":"Get the SSL certificate for a domain","responses":{"200":{"description":"Health Certificate","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthCertificate"}}}}},"x-appwrite":{"method":"getCertificate","weight":133,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-certificate.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-certificate.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"domain","description":"string","required":false,"schema":{"type":"string"},"in":"query"}]}},"\/health\/db":{"get":{"summary":"Get DB","operationId":"healthGetDB","tags":["health"],"description":"Check the Appwrite database servers are up and connection is successful.","responses":{"200":{"description":"Health Status","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthStatus"}}}}},"x-appwrite":{"method":"getDB","weight":126,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-d-b.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-db.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}]}},"\/health\/pubsub":{"get":{"summary":"Get pubsub","operationId":"healthGetPubSub","tags":["health"],"description":"Check the Appwrite pub-sub servers are up and connection is successful.","responses":{"200":{"description":"Health Status","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthStatus"}}}}},"x-appwrite":{"method":"getPubSub","weight":129,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-pub-sub.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-pubsub.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}]}},"\/health\/queue":{"get":{"summary":"Get queue","operationId":"healthGetQueue","tags":["health"],"description":"Check the Appwrite queue messaging servers are up and connection is successful.","responses":{"200":{"description":"Health Status","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthStatus"}}}}},"x-appwrite":{"method":"getQueue","weight":128,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}]}},"\/health\/queue\/builds":{"get":{"summary":"Get builds queue","operationId":"healthGetQueueBuilds","tags":["health"],"description":"Get the number of builds that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthQueue"}}}}},"x-appwrite":{"method":"getQueueBuilds","weight":135,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-builds.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-builds.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"schema":{"type":"integer","format":"int32","default":5000},"in":"query"}]}},"\/health\/queue\/certificates":{"get":{"summary":"Get certificates queue","operationId":"healthGetQueueCertificates","tags":["health"],"description":"Get the number of certificates that are waiting to be issued against [Letsencrypt](https:\/\/letsencrypt.org\/) in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthQueue"}}}}},"x-appwrite":{"method":"getQueueCertificates","weight":134,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-certificates.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-certificates.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"schema":{"type":"integer","format":"int32","default":5000},"in":"query"}]}},"\/health\/queue\/databases":{"get":{"summary":"Get databases queue","operationId":"healthGetQueueDatabases","tags":["health"],"description":"Get the number of database changes that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthQueue"}}}}},"x-appwrite":{"method":"getQueueDatabases","weight":136,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-databases.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-databases.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"name","description":"Queue name for which to check the queue size","required":false,"schema":{"type":"string","x-example":"","default":"database_db_main"},"in":"query"},{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"schema":{"type":"integer","format":"int32","default":5000},"in":"query"}]}},"\/health\/queue\/deletes":{"get":{"summary":"Get deletes queue","operationId":"healthGetQueueDeletes","tags":["health"],"description":"Get the number of background destructive changes that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthQueue"}}}}},"x-appwrite":{"method":"getQueueDeletes","weight":137,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-deletes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-deletes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"schema":{"type":"integer","format":"int32","default":5000},"in":"query"}]}},"\/health\/queue\/failed\/{name}":{"get":{"summary":"Get number of failed queue jobs","operationId":"healthGetFailedJobs","tags":["health"],"description":"Returns the amount of failed jobs in a given queue.\n","responses":{"200":{"description":"Health Queue","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthQueue"}}}}},"x-appwrite":{"method":"getFailedJobs","weight":147,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-failed-jobs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-failed-queue-jobs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"name","description":"The name of the queue","required":true,"schema":{"type":"string","x-example":"v1-database","enum":["v1-database","v1-deletes","v1-audits","v1-mails","v1-functions","v1-usage","v1-usage-dump","v1-webhooks","v1-certificates","v1-builds","v1-messaging","v1-migrations"],"x-enum-name":null,"x-enum-keys":[]},"in":"path"},{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"schema":{"type":"integer","format":"int32","default":5000},"in":"query"}]}},"\/health\/queue\/functions":{"get":{"summary":"Get functions queue","operationId":"healthGetQueueFunctions","tags":["health"],"description":"Get the number of function executions that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthQueue"}}}}},"x-appwrite":{"method":"getQueueFunctions","weight":141,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-functions.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-functions.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"schema":{"type":"integer","format":"int32","default":5000},"in":"query"}]}},"\/health\/queue\/logs":{"get":{"summary":"Get logs queue","operationId":"healthGetQueueLogs","tags":["health"],"description":"Get the number of logs that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthQueue"}}}}},"x-appwrite":{"method":"getQueueLogs","weight":132,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"schema":{"type":"integer","format":"int32","default":5000},"in":"query"}]}},"\/health\/queue\/mails":{"get":{"summary":"Get mails queue","operationId":"healthGetQueueMails","tags":["health"],"description":"Get the number of mails that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthQueue"}}}}},"x-appwrite":{"method":"getQueueMails","weight":138,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-mails.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-mails.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"schema":{"type":"integer","format":"int32","default":5000},"in":"query"}]}},"\/health\/queue\/messaging":{"get":{"summary":"Get messaging queue","operationId":"healthGetQueueMessaging","tags":["health"],"description":"Get the number of messages that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthQueue"}}}}},"x-appwrite":{"method":"getQueueMessaging","weight":139,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-messaging.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-messaging.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"schema":{"type":"integer","format":"int32","default":5000},"in":"query"}]}},"\/health\/queue\/migrations":{"get":{"summary":"Get migrations queue","operationId":"healthGetQueueMigrations","tags":["health"],"description":"Get the number of migrations that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthQueue"}}}}},"x-appwrite":{"method":"getQueueMigrations","weight":140,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-migrations.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-migrations.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"schema":{"type":"integer","format":"int32","default":5000},"in":"query"}]}},"\/health\/queue\/usage":{"get":{"summary":"Get usage queue","operationId":"healthGetQueueUsage","tags":["health"],"description":"Get the number of metrics that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthQueue"}}}}},"x-appwrite":{"method":"getQueueUsage","weight":142,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-usage.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-usage.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"schema":{"type":"integer","format":"int32","default":5000},"in":"query"}]}},"\/health\/queue\/usage-dump":{"get":{"summary":"Get usage dump queue","operationId":"healthGetQueueUsageDump","tags":["health"],"description":"Get the number of projects containing metrics that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthQueue"}}}}},"x-appwrite":{"method":"getQueueUsageDump","weight":143,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-usage-dump.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-usage-dump.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"schema":{"type":"integer","format":"int32","default":5000},"in":"query"}]}},"\/health\/queue\/webhooks":{"get":{"summary":"Get webhooks queue","operationId":"healthGetQueueWebhooks","tags":["health"],"description":"Get the number of webhooks that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthQueue"}}}}},"x-appwrite":{"method":"getQueueWebhooks","weight":131,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-webhooks.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-webhooks.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"schema":{"type":"integer","format":"int32","default":5000},"in":"query"}]}},"\/health\/storage":{"get":{"summary":"Get storage","operationId":"healthGetStorage","tags":["health"],"description":"Check the Appwrite storage device is up and connection is successful.","responses":{"200":{"description":"Health Status","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthStatus"}}}}},"x-appwrite":{"method":"getStorage","weight":145,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-storage.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}]}},"\/health\/storage\/local":{"get":{"summary":"Get local storage","operationId":"healthGetStorageLocal","tags":["health"],"description":"Check the Appwrite local storage device is up and connection is successful.","responses":{"200":{"description":"Health Status","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthStatus"}}}}},"x-appwrite":{"method":"getStorageLocal","weight":144,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-storage-local.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage-local.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}]}},"\/health\/time":{"get":{"summary":"Get time","operationId":"healthGetTime","tags":["health"],"description":"Check the Appwrite server time is synced with Google remote NTP server. We use this technology to smoothly handle leap seconds with no disruptive events. The [Network Time Protocol](https:\/\/en.wikipedia.org\/wiki\/Network_Time_Protocol) (NTP) is used by hundreds of millions of computers and devices to synchronize their clocks over the Internet. If your computer sets its own clock, it likely uses NTP.","responses":{"200":{"description":"Health Time","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthTime"}}}}},"x-appwrite":{"method":"getTime","weight":130,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-time.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-time.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}]}},"\/locale":{"get":{"summary":"Get user locale","operationId":"localeGet","tags":["locale"],"description":"Get the current user location based on IP. Returns an object with user country code, country name, continent name, continent code, ip address and suggested currency. You can use the locale header to get the data in a supported language.\n\n([IP Geolocation by DB-IP](https:\/\/db-ip.com))","responses":{"200":{"description":"Locale","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/locale"}}}}},"x-appwrite":{"method":"get","weight":116,"cookies":false,"type":"","deprecated":false,"demo":"locale\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/get-locale.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/localed","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}]}},"\/locale\/codes":{"get":{"summary":"List Locale Codes","operationId":"localeListCodes","tags":["locale"],"description":"List of all locale codes in [ISO 639-1](https:\/\/en.wikipedia.org\/wiki\/List_of_ISO_639-1_codes).","responses":{"200":{"description":"Locale codes list","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/localeCodeList"}}}}},"x-appwrite":{"method":"listCodes","weight":117,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-locale-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/localeCode","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}]}},"\/locale\/continents":{"get":{"summary":"List continents","operationId":"localeListContinents","tags":["locale"],"description":"List of all continents. You can use the locale header to get the data in a supported language.","responses":{"200":{"description":"Continents List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/continentList"}}}}},"x-appwrite":{"method":"listContinents","weight":121,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-continents.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-continents.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/continents","offline-key":"","offline-response-key":"code","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}]}},"\/locale\/countries":{"get":{"summary":"List countries","operationId":"localeListCountries","tags":["locale"],"description":"List of all countries. You can use the locale header to get the data in a supported language.","responses":{"200":{"description":"Countries List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/countryList"}}}}},"x-appwrite":{"method":"listCountries","weight":118,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-countries.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/countries","offline-key":"","offline-response-key":"code","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}]}},"\/locale\/countries\/eu":{"get":{"summary":"List EU countries","operationId":"localeListCountriesEU","tags":["locale"],"description":"List of all countries that are currently members of the EU. You can use the locale header to get the data in a supported language.","responses":{"200":{"description":"Countries List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/countryList"}}}}},"x-appwrite":{"method":"listCountriesEU","weight":119,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-countries-e-u.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-eu.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/countries\/eu","offline-key":"","offline-response-key":"code","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}]}},"\/locale\/countries\/phones":{"get":{"summary":"List countries phone codes","operationId":"localeListCountriesPhones","tags":["locale"],"description":"List of all countries phone codes. You can use the locale header to get the data in a supported language.","responses":{"200":{"description":"Phones List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/phoneList"}}}}},"x-appwrite":{"method":"listCountriesPhones","weight":120,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-countries-phones.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-phones.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/countries\/phones","offline-key":"","offline-response-key":"countryCode","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}]}},"\/locale\/currencies":{"get":{"summary":"List currencies","operationId":"localeListCurrencies","tags":["locale"],"description":"List of all currencies, including currency symbol, name, plural, and decimal digits for all major and minor currencies. You can use the locale header to get the data in a supported language.","responses":{"200":{"description":"Currencies List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/currencyList"}}}}},"x-appwrite":{"method":"listCurrencies","weight":122,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-currencies.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-currencies.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/currencies","offline-key":"","offline-response-key":"code","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}]}},"\/locale\/languages":{"get":{"summary":"List languages","operationId":"localeListLanguages","tags":["locale"],"description":"List of all languages classified by ISO 639-1 including 2-letter code, name in English, and name in the respective language.","responses":{"200":{"description":"Languages List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/languageList"}}}}},"x-appwrite":{"method":"listLanguages","weight":123,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-languages.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-languages.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/languages","offline-key":"","offline-response-key":"code","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}]}},"\/messaging\/messages":{"get":{"summary":"List messages","operationId":"messagingListMessages","tags":["messaging"],"description":"Get a list of all messages from the current Appwrite project.","responses":{"200":{"description":"Message list","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/messageList"}}}}},"x-appwrite":{"method":"listMessages","weight":377,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-messages.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-messages.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: scheduledAt, deliveredAt, deliveredTotal, status, description, providerType","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"","default":""},"in":"query"}]}},"\/messaging\/messages\/email":{"post":{"summary":"Create email","operationId":"messagingCreateEmail","tags":["messaging"],"description":"Create a new email message.","responses":{"201":{"description":"Message","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/message"}}}}},"x-appwrite":{"method":"createEmail","weight":374,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-email.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-email.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"messageId":{"type":"string","description":"Message ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":""},"subject":{"type":"string","description":"Email Subject.","x-example":""},"content":{"type":"string","description":"Email Content.","x-example":""},"topics":{"type":"array","description":"List of Topic IDs.","x-example":null,"items":{"type":"string"}},"users":{"type":"array","description":"List of User IDs.","x-example":null,"items":{"type":"string"}},"targets":{"type":"array","description":"List of Targets IDs.","x-example":null,"items":{"type":"string"}},"cc":{"type":"array","description":"Array of target IDs to be added as CC.","x-example":null,"items":{"type":"string"}},"bcc":{"type":"array","description":"Array of target IDs to be added as BCC.","x-example":null,"items":{"type":"string"}},"attachments":{"type":"array","description":"Array of compound ID strings of bucket IDs and file IDs to be attached to the email. They should be formatted as :.","x-example":null,"items":{"type":"string"}},"draft":{"type":"boolean","description":"Is message a draft","x-example":false},"html":{"type":"boolean","description":"Is content of type HTML","x-example":false},"scheduledAt":{"type":"string","description":"Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.","x-example":null}},"required":["messageId","subject","content"]}}}}}},"\/messaging\/messages\/email\/{messageId}":{"patch":{"summary":"Update email","operationId":"messagingUpdateEmail","tags":["messaging"],"description":"Update an email message by its unique ID.\n","responses":{"200":{"description":"Message","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/message"}}}}},"x-appwrite":{"method":"updateEmail","weight":381,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-email.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-email.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"messageId","description":"Message ID.","required":true,"schema":{"type":"string","x-example":""},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"topics":{"type":"array","description":"List of Topic IDs.","x-example":null,"items":{"type":"string"}},"users":{"type":"array","description":"List of User IDs.","x-example":null,"items":{"type":"string"}},"targets":{"type":"array","description":"List of Targets IDs.","x-example":null,"items":{"type":"string"}},"subject":{"type":"string","description":"Email Subject.","x-example":""},"content":{"type":"string","description":"Email Content.","x-example":""},"draft":{"type":"boolean","description":"Is message a draft","x-example":false},"html":{"type":"boolean","description":"Is content of type HTML","x-example":false},"cc":{"type":"array","description":"Array of target IDs to be added as CC.","x-example":null,"items":{"type":"string"}},"bcc":{"type":"array","description":"Array of target IDs to be added as BCC.","x-example":null,"items":{"type":"string"}},"scheduledAt":{"type":"string","description":"Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.","x-example":null},"attachments":{"type":"array","description":"Array of compound ID strings of bucket IDs and file IDs to be attached to the email. They should be formatted as :.","x-example":null,"items":{"type":"string"}}}}}}}}},"\/messaging\/messages\/push":{"post":{"summary":"Create push notification","operationId":"messagingCreatePush","tags":["messaging"],"description":"Create a new push notification.","responses":{"201":{"description":"Message","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/message"}}}}},"x-appwrite":{"method":"createPush","weight":376,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-push.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-push.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"messageId":{"type":"string","description":"Message ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":""},"title":{"type":"string","description":"Title for push notification.","x-example":""},"body":{"type":"string","description":"Body for push notification.","x-example":"<BODY>"},"topics":{"type":"array","description":"List of Topic IDs.","x-example":null,"items":{"type":"string"}},"users":{"type":"array","description":"List of User IDs.","x-example":null,"items":{"type":"string"}},"targets":{"type":"array","description":"List of Targets IDs.","x-example":null,"items":{"type":"string"}},"data":{"type":"object","description":"Additional Data for push notification.","x-example":"{}"},"action":{"type":"string","description":"Action for push notification.","x-example":"<ACTION>"},"image":{"type":"string","description":"Image for push notification. Must be a compound bucket ID to file ID of a jpeg, png, or bmp image in Appwrite Storage. It should be formatted as <BUCKET_ID>:<FILE_ID>.","x-example":"[ID1:ID2]"},"icon":{"type":"string","description":"Icon for push notification. Available only for Android and Web Platform.","x-example":"<ICON>"},"sound":{"type":"string","description":"Sound for push notification. Available only for Android and IOS Platform.","x-example":"<SOUND>"},"color":{"type":"string","description":"Color for push notification. Available only for Android Platform.","x-example":"<COLOR>"},"tag":{"type":"string","description":"Tag for push notification. Available only for Android Platform.","x-example":"<TAG>"},"badge":{"type":"string","description":"Badge for push notification. Available only for IOS Platform.","x-example":"<BADGE>"},"draft":{"type":"boolean","description":"Is message a draft","x-example":false},"scheduledAt":{"type":"string","description":"Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.","x-example":null}},"required":["messageId","title","body"]}}}}}},"\/messaging\/messages\/push\/{messageId}":{"patch":{"summary":"Update push notification","operationId":"messagingUpdatePush","tags":["messaging"],"description":"Update a push notification by its unique ID.\n","responses":{"200":{"description":"Message","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/message"}}}}},"x-appwrite":{"method":"updatePush","weight":383,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-push.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-push.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"messageId","description":"Message ID.","required":true,"schema":{"type":"string","x-example":"<MESSAGE_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"topics":{"type":"array","description":"List of Topic IDs.","x-example":null,"items":{"type":"string"}},"users":{"type":"array","description":"List of User IDs.","x-example":null,"items":{"type":"string"}},"targets":{"type":"array","description":"List of Targets IDs.","x-example":null,"items":{"type":"string"}},"title":{"type":"string","description":"Title for push notification.","x-example":"<TITLE>"},"body":{"type":"string","description":"Body for push notification.","x-example":"<BODY>"},"data":{"type":"object","description":"Additional Data for push notification.","x-example":"{}"},"action":{"type":"string","description":"Action for push notification.","x-example":"<ACTION>"},"image":{"type":"string","description":"Image for push notification. Must be a compound bucket ID to file ID of a jpeg, png, or bmp image in Appwrite Storage. It should be formatted as <BUCKET_ID>:<FILE_ID>.","x-example":"[ID1:ID2]"},"icon":{"type":"string","description":"Icon for push notification. Available only for Android and Web platforms.","x-example":"<ICON>"},"sound":{"type":"string","description":"Sound for push notification. Available only for Android and iOS platforms.","x-example":"<SOUND>"},"color":{"type":"string","description":"Color for push notification. Available only for Android platforms.","x-example":"<COLOR>"},"tag":{"type":"string","description":"Tag for push notification. Available only for Android platforms.","x-example":"<TAG>"},"badge":{"type":"integer","description":"Badge for push notification. Available only for iOS platforms.","x-example":null},"draft":{"type":"boolean","description":"Is message a draft","x-example":false},"scheduledAt":{"type":"string","description":"Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.","x-example":null}}}}}}}},"\/messaging\/messages\/sms":{"post":{"summary":"Create SMS","operationId":"messagingCreateSms","tags":["messaging"],"description":"Create a new SMS message.","responses":{"201":{"description":"Message","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/message"}}}}},"x-appwrite":{"method":"createSms","weight":375,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-sms.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-sms.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"messageId":{"type":"string","description":"Message ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<MESSAGE_ID>"},"content":{"type":"string","description":"SMS Content.","x-example":"<CONTENT>"},"topics":{"type":"array","description":"List of Topic IDs.","x-example":null,"items":{"type":"string"}},"users":{"type":"array","description":"List of User IDs.","x-example":null,"items":{"type":"string"}},"targets":{"type":"array","description":"List of Targets IDs.","x-example":null,"items":{"type":"string"}},"draft":{"type":"boolean","description":"Is message a draft","x-example":false},"scheduledAt":{"type":"string","description":"Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.","x-example":null}},"required":["messageId","content"]}}}}}},"\/messaging\/messages\/sms\/{messageId}":{"patch":{"summary":"Update SMS","operationId":"messagingUpdateSms","tags":["messaging"],"description":"Update an email message by its unique ID.\n","responses":{"200":{"description":"Message","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/message"}}}}},"x-appwrite":{"method":"updateSms","weight":382,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-sms.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-email.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"messageId","description":"Message ID.","required":true,"schema":{"type":"string","x-example":"<MESSAGE_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"topics":{"type":"array","description":"List of Topic IDs.","x-example":null,"items":{"type":"string"}},"users":{"type":"array","description":"List of User IDs.","x-example":null,"items":{"type":"string"}},"targets":{"type":"array","description":"List of Targets IDs.","x-example":null,"items":{"type":"string"}},"content":{"type":"string","description":"Email Content.","x-example":"<CONTENT>"},"draft":{"type":"boolean","description":"Is message a draft","x-example":false},"scheduledAt":{"type":"string","description":"Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.","x-example":null}}}}}}}},"\/messaging\/messages\/{messageId}":{"get":{"summary":"Get message","operationId":"messagingGetMessage","tags":["messaging"],"description":"Get a message by its unique ID.\n","responses":{"200":{"description":"Message","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/message"}}}}},"x-appwrite":{"method":"getMessage","weight":380,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/get-message.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-message.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"messageId","description":"Message ID.","required":true,"schema":{"type":"string","x-example":"<MESSAGE_ID>"},"in":"path"}]},"delete":{"summary":"Delete message","operationId":"messagingDelete","tags":["messaging"],"description":"Delete a message. If the message is not a draft or scheduled, but has been sent, this will not recall the message.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"delete","weight":384,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/delete.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-message.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"messageId","description":"Message ID.","required":true,"schema":{"type":"string","x-example":"<MESSAGE_ID>"},"in":"path"}]}},"\/messaging\/messages\/{messageId}\/logs":{"get":{"summary":"List message logs","operationId":"messagingListMessageLogs","tags":["messaging"],"description":"Get the message activity logs listed by its unique ID.","responses":{"200":{"description":"Logs List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/logList"}}}}},"x-appwrite":{"method":"listMessageLogs","weight":378,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-message-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-message-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"messageId","description":"Message ID.","required":true,"schema":{"type":"string","x-example":"<MESSAGE_ID>"},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]}},"\/messaging\/messages\/{messageId}\/targets":{"get":{"summary":"List message targets","operationId":"messagingListTargets","tags":["messaging"],"description":"Get a list of the targets associated with a message.","responses":{"200":{"description":"Target list","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/targetList"}}}}},"x-appwrite":{"method":"listTargets","weight":379,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-targets.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-message-targets.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"messageId","description":"Message ID.","required":true,"schema":{"type":"string","x-example":"<MESSAGE_ID>"},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, providerId, identifier, providerType","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]}},"\/messaging\/providers":{"get":{"summary":"List providers","operationId":"messagingListProviders","tags":["messaging"],"description":"Get a list of all providers from the current Appwrite project.","responses":{"200":{"description":"Provider list","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/providerList"}}}}},"x-appwrite":{"method":"listProviders","weight":349,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-providers.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-providers.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, provider, type, enabled","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"<SEARCH>","default":""},"in":"query"}]}},"\/messaging\/providers\/apns":{"post":{"summary":"Create APNS provider","operationId":"messagingCreateApnsProvider","tags":["messaging"],"description":"Create a new Apple Push Notification service provider.","responses":{"201":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"createApnsProvider","weight":348,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-apns-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-apns-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"authKey":{"type":"string","description":"APNS authentication key.","x-example":"<AUTH_KEY>"},"authKeyId":{"type":"string","description":"APNS authentication key ID.","x-example":"<AUTH_KEY_ID>"},"teamId":{"type":"string","description":"APNS team ID.","x-example":"<TEAM_ID>"},"bundleId":{"type":"string","description":"APNS bundle ID.","x-example":"<BUNDLE_ID>"},"sandbox":{"type":"boolean","description":"Use APNS sandbox environment.","x-example":false},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false}},"required":["providerId","name"]}}}}}},"\/messaging\/providers\/apns\/{providerId}":{"patch":{"summary":"Update APNS provider","operationId":"messagingUpdateApnsProvider","tags":["messaging"],"description":"Update a Apple Push Notification service provider by its unique ID.","responses":{"200":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"updateApnsProvider","weight":361,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-apns-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-apns-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"schema":{"type":"string","x-example":"<PROVIDER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false},"authKey":{"type":"string","description":"APNS authentication key.","x-example":"<AUTH_KEY>"},"authKeyId":{"type":"string","description":"APNS authentication key ID.","x-example":"<AUTH_KEY_ID>"},"teamId":{"type":"string","description":"APNS team ID.","x-example":"<TEAM_ID>"},"bundleId":{"type":"string","description":"APNS bundle ID.","x-example":"<BUNDLE_ID>"},"sandbox":{"type":"boolean","description":"Use APNS sandbox environment.","x-example":false}}}}}}}},"\/messaging\/providers\/fcm":{"post":{"summary":"Create FCM provider","operationId":"messagingCreateFcmProvider","tags":["messaging"],"description":"Create a new Firebase Cloud Messaging provider.","responses":{"201":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"createFcmProvider","weight":347,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-fcm-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-fcm-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"serviceAccountJSON":{"type":"object","description":"FCM service account JSON.","x-example":"{}"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false}},"required":["providerId","name"]}}}}}},"\/messaging\/providers\/fcm\/{providerId}":{"patch":{"summary":"Update FCM provider","operationId":"messagingUpdateFcmProvider","tags":["messaging"],"description":"Update a Firebase Cloud Messaging provider by its unique ID.","responses":{"200":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"updateFcmProvider","weight":360,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-fcm-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-fcm-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"schema":{"type":"string","x-example":"<PROVIDER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false},"serviceAccountJSON":{"type":"object","description":"FCM service account JSON.","x-example":"{}"}}}}}}}},"\/messaging\/providers\/mailgun":{"post":{"summary":"Create Mailgun provider","operationId":"messagingCreateMailgunProvider","tags":["messaging"],"description":"Create a new Mailgun provider.","responses":{"201":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"createMailgunProvider","weight":339,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-mailgun-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-mailgun-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"apiKey":{"type":"string","description":"Mailgun API Key.","x-example":"<API_KEY>"},"domain":{"type":"string","description":"Mailgun Domain.","x-example":"<DOMAIN>"},"isEuRegion":{"type":"boolean","description":"Set as EU region.","x-example":false},"fromName":{"type":"string","description":"Sender Name.","x-example":"<FROM_NAME>"},"fromEmail":{"type":"string","description":"Sender email address.","x-example":"email@example.com"},"replyToName":{"type":"string","description":"Name set in the reply to field for the mail. Default value is sender name. Reply to name must have reply to email as well.","x-example":"<REPLY_TO_NAME>"},"replyToEmail":{"type":"string","description":"Email set in the reply to field for the mail. Default value is sender email. Reply to email must have reply to name as well.","x-example":"email@example.com"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false}},"required":["providerId","name"]}}}}}},"\/messaging\/providers\/mailgun\/{providerId}":{"patch":{"summary":"Update Mailgun provider","operationId":"messagingUpdateMailgunProvider","tags":["messaging"],"description":"Update a Mailgun provider by its unique ID.","responses":{"200":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"updateMailgunProvider","weight":352,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-mailgun-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-mailgun-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"schema":{"type":"string","x-example":"<PROVIDER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"apiKey":{"type":"string","description":"Mailgun API Key.","x-example":"<API_KEY>"},"domain":{"type":"string","description":"Mailgun Domain.","x-example":"<DOMAIN>"},"isEuRegion":{"type":"boolean","description":"Set as EU region.","x-example":false},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false},"fromName":{"type":"string","description":"Sender Name.","x-example":"<FROM_NAME>"},"fromEmail":{"type":"string","description":"Sender email address.","x-example":"email@example.com"},"replyToName":{"type":"string","description":"Name set in the reply to field for the mail. Default value is sender name.","x-example":"<REPLY_TO_NAME>"},"replyToEmail":{"type":"string","description":"Email set in the reply to field for the mail. Default value is sender email.","x-example":"<REPLY_TO_EMAIL>"}}}}}}}},"\/messaging\/providers\/msg91":{"post":{"summary":"Create Msg91 provider","operationId":"messagingCreateMsg91Provider","tags":["messaging"],"description":"Create a new MSG91 provider.","responses":{"201":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"createMsg91Provider","weight":342,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-msg91provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-msg91-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"templateId":{"type":"string","description":"Msg91 template ID","x-example":"<TEMPLATE_ID>"},"senderId":{"type":"string","description":"Msg91 sender ID.","x-example":"<SENDER_ID>"},"authKey":{"type":"string","description":"Msg91 auth key.","x-example":"<AUTH_KEY>"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false}},"required":["providerId","name"]}}}}}},"\/messaging\/providers\/msg91\/{providerId}":{"patch":{"summary":"Update Msg91 provider","operationId":"messagingUpdateMsg91Provider","tags":["messaging"],"description":"Update a MSG91 provider by its unique ID.","responses":{"200":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"updateMsg91Provider","weight":355,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-msg91provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-msg91-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"schema":{"type":"string","x-example":"<PROVIDER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false},"templateId":{"type":"string","description":"Msg91 template ID.","x-example":"<TEMPLATE_ID>"},"senderId":{"type":"string","description":"Msg91 sender ID.","x-example":"<SENDER_ID>"},"authKey":{"type":"string","description":"Msg91 auth key.","x-example":"<AUTH_KEY>"}}}}}}}},"\/messaging\/providers\/sendgrid":{"post":{"summary":"Create Sendgrid provider","operationId":"messagingCreateSendgridProvider","tags":["messaging"],"description":"Create a new Sendgrid provider.","responses":{"201":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"createSendgridProvider","weight":340,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-sendgrid-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-sendgrid-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"apiKey":{"type":"string","description":"Sendgrid API key.","x-example":"<API_KEY>"},"fromName":{"type":"string","description":"Sender Name.","x-example":"<FROM_NAME>"},"fromEmail":{"type":"string","description":"Sender email address.","x-example":"email@example.com"},"replyToName":{"type":"string","description":"Name set in the reply to field for the mail. Default value is sender name.","x-example":"<REPLY_TO_NAME>"},"replyToEmail":{"type":"string","description":"Email set in the reply to field for the mail. Default value is sender email.","x-example":"email@example.com"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false}},"required":["providerId","name"]}}}}}},"\/messaging\/providers\/sendgrid\/{providerId}":{"patch":{"summary":"Update Sendgrid provider","operationId":"messagingUpdateSendgridProvider","tags":["messaging"],"description":"Update a Sendgrid provider by its unique ID.","responses":{"200":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"updateSendgridProvider","weight":353,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-sendgrid-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-sendgrid-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"schema":{"type":"string","x-example":"<PROVIDER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false},"apiKey":{"type":"string","description":"Sendgrid API key.","x-example":"<API_KEY>"},"fromName":{"type":"string","description":"Sender Name.","x-example":"<FROM_NAME>"},"fromEmail":{"type":"string","description":"Sender email address.","x-example":"email@example.com"},"replyToName":{"type":"string","description":"Name set in the Reply To field for the mail. Default value is Sender Name.","x-example":"<REPLY_TO_NAME>"},"replyToEmail":{"type":"string","description":"Email set in the Reply To field for the mail. Default value is Sender Email.","x-example":"<REPLY_TO_EMAIL>"}}}}}}}},"\/messaging\/providers\/smtp":{"post":{"summary":"Create SMTP provider","operationId":"messagingCreateSmtpProvider","tags":["messaging"],"description":"Create a new SMTP provider.","responses":{"201":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"createSmtpProvider","weight":341,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-smtp-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-smtp-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"host":{"type":"string","description":"SMTP hosts. Either a single hostname or multiple semicolon-delimited hostnames. You can also specify a different port for each host such as `smtp1.example.com:25;smtp2.example.com`. You can also specify encryption type, for example: `tls:\/\/smtp1.example.com:587;ssl:\/\/smtp2.example.com:465\"`. Hosts will be tried in order.","x-example":"<HOST>"},"port":{"type":"integer","description":"The default SMTP server port.","x-example":1},"username":{"type":"string","description":"Authentication username.","x-example":"<USERNAME>"},"password":{"type":"string","description":"Authentication password.","x-example":"<PASSWORD>"},"encryption":{"type":"string","description":"Encryption type. Can be omitted, 'ssl', or 'tls'","x-example":"none","enum":["none","ssl","tls"],"x-enum-name":"SmtpEncryption","x-enum-keys":[]},"autoTLS":{"type":"boolean","description":"Enable SMTP AutoTLS feature.","x-example":false},"mailer":{"type":"string","description":"The value to use for the X-Mailer header.","x-example":"<MAILER>"},"fromName":{"type":"string","description":"Sender Name.","x-example":"<FROM_NAME>"},"fromEmail":{"type":"string","description":"Sender email address.","x-example":"email@example.com"},"replyToName":{"type":"string","description":"Name set in the reply to field for the mail. Default value is sender name.","x-example":"<REPLY_TO_NAME>"},"replyToEmail":{"type":"string","description":"Email set in the reply to field for the mail. Default value is sender email.","x-example":"email@example.com"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false}},"required":["providerId","name","host"]}}}}}},"\/messaging\/providers\/smtp\/{providerId}":{"patch":{"summary":"Update SMTP provider","operationId":"messagingUpdateSmtpProvider","tags":["messaging"],"description":"Update a SMTP provider by its unique ID.","responses":{"200":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"updateSmtpProvider","weight":354,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-smtp-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-smtp-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"schema":{"type":"string","x-example":"<PROVIDER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"host":{"type":"string","description":"SMTP hosts. Either a single hostname or multiple semicolon-delimited hostnames. You can also specify a different port for each host such as `smtp1.example.com:25;smtp2.example.com`. You can also specify encryption type, for example: `tls:\/\/smtp1.example.com:587;ssl:\/\/smtp2.example.com:465\"`. Hosts will be tried in order.","x-example":"<HOST>"},"port":{"type":"integer","description":"SMTP port.","x-example":1},"username":{"type":"string","description":"Authentication username.","x-example":"<USERNAME>"},"password":{"type":"string","description":"Authentication password.","x-example":"<PASSWORD>"},"encryption":{"type":"string","description":"Encryption type. Can be 'ssl' or 'tls'","x-example":"none","enum":["none","ssl","tls"],"x-enum-name":"SmtpEncryption","x-enum-keys":[]},"autoTLS":{"type":"boolean","description":"Enable SMTP AutoTLS feature.","x-example":false},"mailer":{"type":"string","description":"The value to use for the X-Mailer header.","x-example":"<MAILER>"},"fromName":{"type":"string","description":"Sender Name.","x-example":"<FROM_NAME>"},"fromEmail":{"type":"string","description":"Sender email address.","x-example":"email@example.com"},"replyToName":{"type":"string","description":"Name set in the Reply To field for the mail. Default value is Sender Name.","x-example":"<REPLY_TO_NAME>"},"replyToEmail":{"type":"string","description":"Email set in the Reply To field for the mail. Default value is Sender Email.","x-example":"<REPLY_TO_EMAIL>"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false}}}}}}}},"\/messaging\/providers\/telesign":{"post":{"summary":"Create Telesign provider","operationId":"messagingCreateTelesignProvider","tags":["messaging"],"description":"Create a new Telesign provider.","responses":{"201":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"createTelesignProvider","weight":343,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-telesign-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-telesign-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"from":{"type":"string","description":"Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","x-example":"+12065550100"},"customerId":{"type":"string","description":"Telesign customer ID.","x-example":"<CUSTOMER_ID>"},"apiKey":{"type":"string","description":"Telesign API key.","x-example":"<API_KEY>"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false}},"required":["providerId","name"]}}}}}},"\/messaging\/providers\/telesign\/{providerId}":{"patch":{"summary":"Update Telesign provider","operationId":"messagingUpdateTelesignProvider","tags":["messaging"],"description":"Update a Telesign provider by its unique ID.","responses":{"200":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"updateTelesignProvider","weight":356,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-telesign-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-telesign-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"schema":{"type":"string","x-example":"<PROVIDER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false},"customerId":{"type":"string","description":"Telesign customer ID.","x-example":"<CUSTOMER_ID>"},"apiKey":{"type":"string","description":"Telesign API key.","x-example":"<API_KEY>"},"from":{"type":"string","description":"Sender number.","x-example":"<FROM>"}}}}}}}},"\/messaging\/providers\/textmagic":{"post":{"summary":"Create Textmagic provider","operationId":"messagingCreateTextmagicProvider","tags":["messaging"],"description":"Create a new Textmagic provider.","responses":{"201":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"createTextmagicProvider","weight":344,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-textmagic-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-textmagic-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"from":{"type":"string","description":"Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","x-example":"+12065550100"},"username":{"type":"string","description":"Textmagic username.","x-example":"<USERNAME>"},"apiKey":{"type":"string","description":"Textmagic apiKey.","x-example":"<API_KEY>"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false}},"required":["providerId","name"]}}}}}},"\/messaging\/providers\/textmagic\/{providerId}":{"patch":{"summary":"Update Textmagic provider","operationId":"messagingUpdateTextmagicProvider","tags":["messaging"],"description":"Update a Textmagic provider by its unique ID.","responses":{"200":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"updateTextmagicProvider","weight":357,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-textmagic-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-textmagic-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"schema":{"type":"string","x-example":"<PROVIDER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false},"username":{"type":"string","description":"Textmagic username.","x-example":"<USERNAME>"},"apiKey":{"type":"string","description":"Textmagic apiKey.","x-example":"<API_KEY>"},"from":{"type":"string","description":"Sender number.","x-example":"<FROM>"}}}}}}}},"\/messaging\/providers\/twilio":{"post":{"summary":"Create Twilio provider","operationId":"messagingCreateTwilioProvider","tags":["messaging"],"description":"Create a new Twilio provider.","responses":{"201":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"createTwilioProvider","weight":345,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-twilio-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-twilio-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"from":{"type":"string","description":"Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","x-example":"+12065550100"},"accountSid":{"type":"string","description":"Twilio account secret ID.","x-example":"<ACCOUNT_SID>"},"authToken":{"type":"string","description":"Twilio authentication token.","x-example":"<AUTH_TOKEN>"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false}},"required":["providerId","name"]}}}}}},"\/messaging\/providers\/twilio\/{providerId}":{"patch":{"summary":"Update Twilio provider","operationId":"messagingUpdateTwilioProvider","tags":["messaging"],"description":"Update a Twilio provider by its unique ID.","responses":{"200":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"updateTwilioProvider","weight":358,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-twilio-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-twilio-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"schema":{"type":"string","x-example":"<PROVIDER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false},"accountSid":{"type":"string","description":"Twilio account secret ID.","x-example":"<ACCOUNT_SID>"},"authToken":{"type":"string","description":"Twilio authentication token.","x-example":"<AUTH_TOKEN>"},"from":{"type":"string","description":"Sender number.","x-example":"<FROM>"}}}}}}}},"\/messaging\/providers\/vonage":{"post":{"summary":"Create Vonage provider","operationId":"messagingCreateVonageProvider","tags":["messaging"],"description":"Create a new Vonage provider.","responses":{"201":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"createVonageProvider","weight":346,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-vonage-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-vonage-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"from":{"type":"string","description":"Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","x-example":"+12065550100"},"apiKey":{"type":"string","description":"Vonage API key.","x-example":"<API_KEY>"},"apiSecret":{"type":"string","description":"Vonage API secret.","x-example":"<API_SECRET>"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false}},"required":["providerId","name"]}}}}}},"\/messaging\/providers\/vonage\/{providerId}":{"patch":{"summary":"Update Vonage provider","operationId":"messagingUpdateVonageProvider","tags":["messaging"],"description":"Update a Vonage provider by its unique ID.","responses":{"200":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"updateVonageProvider","weight":359,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-vonage-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-vonage-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"schema":{"type":"string","x-example":"<PROVIDER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false},"apiKey":{"type":"string","description":"Vonage API key.","x-example":"<API_KEY>"},"apiSecret":{"type":"string","description":"Vonage API secret.","x-example":"<API_SECRET>"},"from":{"type":"string","description":"Sender number.","x-example":"<FROM>"}}}}}}}},"\/messaging\/providers\/{providerId}":{"get":{"summary":"Get provider","operationId":"messagingGetProvider","tags":["messaging"],"description":"Get a provider by its unique ID.\n","responses":{"200":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"getProvider","weight":351,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/get-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"schema":{"type":"string","x-example":"<PROVIDER_ID>"},"in":"path"}]},"delete":{"summary":"Delete provider","operationId":"messagingDeleteProvider","tags":["messaging"],"description":"Delete a provider by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteProvider","weight":362,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/delete-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"schema":{"type":"string","x-example":"<PROVIDER_ID>"},"in":"path"}]}},"\/messaging\/providers\/{providerId}\/logs":{"get":{"summary":"List provider logs","operationId":"messagingListProviderLogs","tags":["messaging"],"description":"Get the provider activity logs listed by its unique ID.","responses":{"200":{"description":"Logs List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/logList"}}}}},"x-appwrite":{"method":"listProviderLogs","weight":350,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-provider-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-provider-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"schema":{"type":"string","x-example":"<PROVIDER_ID>"},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]}},"\/messaging\/subscribers\/{subscriberId}\/logs":{"get":{"summary":"List subscriber logs","operationId":"messagingListSubscriberLogs","tags":["messaging"],"description":"Get the subscriber activity logs listed by its unique ID.","responses":{"200":{"description":"Logs List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/logList"}}}}},"x-appwrite":{"method":"listSubscriberLogs","weight":371,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-subscriber-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-subscriber-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"subscribers.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"subscriberId","description":"Subscriber ID.","required":true,"schema":{"type":"string","x-example":"<SUBSCRIBER_ID>"},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]}},"\/messaging\/topics":{"get":{"summary":"List topics","operationId":"messagingListTopics","tags":["messaging"],"description":"Get a list of all topics from the current Appwrite project.","responses":{"200":{"description":"Topic list","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/topicList"}}}}},"x-appwrite":{"method":"listTopics","weight":364,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-topics.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-topics.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"topics.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, description, emailTotal, smsTotal, pushTotal","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"<SEARCH>","default":""},"in":"query"}]},"post":{"summary":"Create topic","operationId":"messagingCreateTopic","tags":["messaging"],"description":"Create a new topic.","responses":{"201":{"description":"Topic","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/topic"}}}}},"x-appwrite":{"method":"createTopic","weight":363,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-topic.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-topic.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"topics.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"topicId":{"type":"string","description":"Topic ID. Choose a custom Topic ID or a new Topic ID.","x-example":"<TOPIC_ID>"},"name":{"type":"string","description":"Topic Name.","x-example":"<NAME>"},"subscribe":{"type":"array","description":"An array of role strings with subscribe permission. By default all users are granted with any subscribe permission. [learn more about roles](https:\/\/appwrite.io\/docs\/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.","x-example":"[\"any\"]","items":{"type":"string"}}},"required":["topicId","name"]}}}}}},"\/messaging\/topics\/{topicId}":{"get":{"summary":"Get topic","operationId":"messagingGetTopic","tags":["messaging"],"description":"Get a topic by its unique ID.\n","responses":{"200":{"description":"Topic","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/topic"}}}}},"x-appwrite":{"method":"getTopic","weight":366,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/get-topic.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-topic.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"topics.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"topicId","description":"Topic ID.","required":true,"schema":{"type":"string","x-example":"<TOPIC_ID>"},"in":"path"}]},"patch":{"summary":"Update topic","operationId":"messagingUpdateTopic","tags":["messaging"],"description":"Update a topic by its unique ID.\n","responses":{"200":{"description":"Topic","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/topic"}}}}},"x-appwrite":{"method":"updateTopic","weight":367,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-topic.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-topic.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"topics.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"topicId","description":"Topic ID.","required":true,"schema":{"type":"string","x-example":"<TOPIC_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Topic Name.","x-example":"<NAME>"},"subscribe":{"type":"array","description":"An array of role strings with subscribe permission. By default all users are granted with any subscribe permission. [learn more about roles](https:\/\/appwrite.io\/docs\/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.","x-example":"[\"any\"]","items":{"type":"string"}}}}}}}},"delete":{"summary":"Delete topic","operationId":"messagingDeleteTopic","tags":["messaging"],"description":"Delete a topic by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteTopic","weight":368,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/delete-topic.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-topic.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"topics.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"topicId","description":"Topic ID.","required":true,"schema":{"type":"string","x-example":"<TOPIC_ID>"},"in":"path"}]}},"\/messaging\/topics\/{topicId}\/logs":{"get":{"summary":"List topic logs","operationId":"messagingListTopicLogs","tags":["messaging"],"description":"Get the topic activity logs listed by its unique ID.","responses":{"200":{"description":"Logs List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/logList"}}}}},"x-appwrite":{"method":"listTopicLogs","weight":365,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-topic-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-topic-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"topics.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"topicId","description":"Topic ID.","required":true,"schema":{"type":"string","x-example":"<TOPIC_ID>"},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]}},"\/messaging\/topics\/{topicId}\/subscribers":{"get":{"summary":"List subscribers","operationId":"messagingListSubscribers","tags":["messaging"],"description":"Get a list of all subscribers from the current Appwrite project.","responses":{"200":{"description":"Subscriber list","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/subscriberList"}}}}},"x-appwrite":{"method":"listSubscribers","weight":370,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-subscribers.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-subscribers.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"subscribers.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"topicId","description":"Topic ID. The topic ID subscribed to.","required":true,"schema":{"type":"string","x-example":"<TOPIC_ID>"},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, provider, type, enabled","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"<SEARCH>","default":""},"in":"query"}]},"post":{"summary":"Create subscriber","operationId":"messagingCreateSubscriber","tags":["messaging"],"description":"Create a new subscriber.","responses":{"201":{"description":"Subscriber","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/subscriber"}}}}},"x-appwrite":{"method":"createSubscriber","weight":369,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-subscriber.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-subscriber.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"subscribers.write","platforms":["server","client","console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[],"Key":[]}],"parameters":[{"name":"topicId","description":"Topic ID. The topic ID to subscribe to.","required":true,"schema":{"type":"string","x-example":"<TOPIC_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"subscriberId":{"type":"string","description":"Subscriber ID. Choose a custom Subscriber ID or a new Subscriber ID.","x-example":"<SUBSCRIBER_ID>"},"targetId":{"type":"string","description":"Target ID. The target ID to link to the specified Topic ID.","x-example":"<TARGET_ID>"}},"required":["subscriberId","targetId"]}}}}}},"\/messaging\/topics\/{topicId}\/subscribers\/{subscriberId}":{"get":{"summary":"Get subscriber","operationId":"messagingGetSubscriber","tags":["messaging"],"description":"Get a subscriber by its unique ID.\n","responses":{"200":{"description":"Subscriber","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/subscriber"}}}}},"x-appwrite":{"method":"getSubscriber","weight":372,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/get-subscriber.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-subscriber.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"subscribers.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"topicId","description":"Topic ID. The topic ID subscribed to.","required":true,"schema":{"type":"string","x-example":"<TOPIC_ID>"},"in":"path"},{"name":"subscriberId","description":"Subscriber ID.","required":true,"schema":{"type":"string","x-example":"<SUBSCRIBER_ID>"},"in":"path"}]},"delete":{"summary":"Delete subscriber","operationId":"messagingDeleteSubscriber","tags":["messaging"],"description":"Delete a subscriber by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteSubscriber","weight":373,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/delete-subscriber.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-subscriber.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"subscribers.write","platforms":["server","client","console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[],"Key":[]}],"parameters":[{"name":"topicId","description":"Topic ID. The topic ID subscribed to.","required":true,"schema":{"type":"string","x-example":"<TOPIC_ID>"},"in":"path"},{"name":"subscriberId","description":"Subscriber ID.","required":true,"schema":{"type":"string","x-example":"<SUBSCRIBER_ID>"},"in":"path"}]}},"\/migrations":{"get":{"summary":"List Migrations","operationId":"migrationsList","tags":["migrations"],"description":"","responses":{"200":{"description":"Migrations List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/migrationList"}}}}},"x-appwrite":{"method":"list","weight":326,"cookies":false,"type":"","deprecated":false,"demo":"migrations\/list.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/list-migrations.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"migrations.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/databases#querying-documents). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: status, stage, source, resources, statusCounters, resourceData, errors","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"<SEARCH>","default":""},"in":"query"}]}},"\/migrations\/appwrite":{"post":{"summary":"Migrate Appwrite Data","operationId":"migrationsCreateAppwriteMigration","tags":["migrations"],"description":"","responses":{"202":{"description":"Migration","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/migration"}}}}},"x-appwrite":{"method":"createAppwriteMigration","weight":321,"cookies":false,"type":"","deprecated":false,"demo":"migrations\/create-appwrite-migration.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-appwrite.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"migrations.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"resources":{"type":"array","description":"List of resources to migrate","x-example":null,"items":{"type":"string"}},"endpoint":{"type":"string","description":"Source's Appwrite Endpoint","x-example":"https:\/\/example.com"},"projectId":{"type":"string","description":"Source's Project ID","x-example":"<PROJECT_ID>"},"apiKey":{"type":"string","description":"Source's API Key","x-example":"<API_KEY>"}},"required":["resources","endpoint","projectId","apiKey"]}}}}}},"\/migrations\/appwrite\/report":{"get":{"summary":"Generate a report on Appwrite Data","operationId":"migrationsGetAppwriteReport","tags":["migrations"],"description":"","responses":{"200":{"description":"Migration Report","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/migrationReport"}}}}},"x-appwrite":{"method":"getAppwriteReport","weight":328,"cookies":false,"type":"","deprecated":false,"demo":"migrations\/get-appwrite-report.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-appwrite-report.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"migrations.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"resources","description":"List of resources to migrate","required":true,"schema":{"type":"array","items":{"type":"string"}},"in":"query"},{"name":"endpoint","description":"Source's Appwrite Endpoint","required":true,"schema":{"type":"string","format":"url","x-example":"https:\/\/example.com"},"in":"query"},{"name":"projectID","description":"Source's Project ID","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"query"},{"name":"key","description":"Source's API Key","required":true,"schema":{"type":"string","x-example":"<KEY>"},"in":"query"}]}},"\/migrations\/firebase":{"post":{"summary":"Migrate Firebase Data (Service Account)","operationId":"migrationsCreateFirebaseMigration","tags":["migrations"],"description":"","responses":{"202":{"description":"Migration","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/migration"}}}}},"x-appwrite":{"method":"createFirebaseMigration","weight":323,"cookies":false,"type":"","deprecated":false,"demo":"migrations\/create-firebase-migration.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-firebase.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"migrations.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"resources":{"type":"array","description":"List of resources to migrate","x-example":null,"items":{"type":"string"}},"serviceAccount":{"type":"string","description":"JSON of the Firebase service account credentials","x-example":"<SERVICE_ACCOUNT>"}},"required":["resources","serviceAccount"]}}}}}},"\/migrations\/firebase\/deauthorize":{"get":{"summary":"Revoke Appwrite's authorization to access Firebase Projects","operationId":"migrationsDeleteFirebaseAuth","tags":["migrations"],"description":"","responses":{"200":{"description":"File"}},"x-appwrite":{"method":"deleteFirebaseAuth","weight":334,"cookies":false,"type":"","deprecated":false,"demo":"migrations\/delete-firebase-auth.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"migrations.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}]}},"\/migrations\/firebase\/oauth":{"post":{"summary":"Migrate Firebase Data (OAuth)","operationId":"migrationsCreateFirebaseOAuthMigration","tags":["migrations"],"description":"","responses":{"202":{"description":"Migration","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/migration"}}}}},"x-appwrite":{"method":"createFirebaseOAuthMigration","weight":322,"cookies":false,"type":"","deprecated":false,"demo":"migrations\/create-firebase-o-auth-migration.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-firebase.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"migrations.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"resources":{"type":"array","description":"List of resources to migrate","x-example":null,"items":{"type":"string"}},"projectId":{"type":"string","description":"Project ID of the Firebase Project","x-example":"<PROJECT_ID>"}},"required":["resources","projectId"]}}}}}},"\/migrations\/firebase\/projects":{"get":{"summary":"List Firebase Projects","operationId":"migrationsListFirebaseProjects","tags":["migrations"],"description":"","responses":{"200":{"description":"Migrations Firebase Projects List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/firebaseProjectList"}}}}},"x-appwrite":{"method":"listFirebaseProjects","weight":333,"cookies":false,"type":"","deprecated":false,"demo":"migrations\/list-firebase-projects.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"migrations.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}]}},"\/migrations\/firebase\/report":{"get":{"summary":"Generate a report on Firebase Data","operationId":"migrationsGetFirebaseReport","tags":["migrations"],"description":"","responses":{"200":{"description":"Migration Report","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/migrationReport"}}}}},"x-appwrite":{"method":"getFirebaseReport","weight":329,"cookies":false,"type":"","deprecated":false,"demo":"migrations\/get-firebase-report.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-firebase-report.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"migrations.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"resources","description":"List of resources to migrate","required":true,"schema":{"type":"array","items":{"type":"string"}},"in":"query"},{"name":"serviceAccount","description":"JSON of the Firebase service account credentials","required":true,"schema":{"type":"string","x-example":"<SERVICE_ACCOUNT>"},"in":"query"}]}},"\/migrations\/firebase\/report\/oauth":{"get":{"summary":"Generate a report on Firebase Data using OAuth","operationId":"migrationsGetFirebaseReportOAuth","tags":["migrations"],"description":"","responses":{"200":{"description":"Migration Report","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/migrationReport"}}}}},"x-appwrite":{"method":"getFirebaseReportOAuth","weight":330,"cookies":false,"type":"","deprecated":false,"demo":"migrations\/get-firebase-report-o-auth.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-firebase-report.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"migrations.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"resources","description":"List of resources to migrate","required":true,"schema":{"type":"array","items":{"type":"string"}},"in":"query"},{"name":"projectId","description":"Project ID","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"query"}]}},"\/migrations\/nhost":{"post":{"summary":"Migrate NHost Data","operationId":"migrationsCreateNHostMigration","tags":["migrations"],"description":"","responses":{"202":{"description":"Migration","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/migration"}}}}},"x-appwrite":{"method":"createNHostMigration","weight":325,"cookies":false,"type":"","deprecated":false,"demo":"migrations\/create-n-host-migration.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-nhost.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"migrations.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"resources":{"type":"array","description":"List of resources to migrate","x-example":null,"items":{"type":"string"}},"subdomain":{"type":"string","description":"Source's Subdomain","x-example":"<SUBDOMAIN>"},"region":{"type":"string","description":"Source's Region","x-example":"<REGION>"},"adminSecret":{"type":"string","description":"Source's Admin Secret","x-example":"<ADMIN_SECRET>"},"database":{"type":"string","description":"Source's Database Name","x-example":"<DATABASE>"},"username":{"type":"string","description":"Source's Database Username","x-example":"<USERNAME>"},"password":{"type":"string","description":"Source's Database Password","x-example":"<PASSWORD>"},"port":{"type":"integer","description":"Source's Database Port","x-example":null}},"required":["resources","subdomain","region","adminSecret","database","username","password"]}}}}}},"\/migrations\/nhost\/report":{"get":{"summary":"Generate a report on NHost Data","operationId":"migrationsGetNHostReport","tags":["migrations"],"description":"","responses":{"200":{"description":"Migration Report","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/migrationReport"}}}}},"x-appwrite":{"method":"getNHostReport","weight":336,"cookies":false,"type":"","deprecated":false,"demo":"migrations\/get-n-host-report.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-nhost-report.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"migrations.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"resources","description":"List of resources to migrate.","required":true,"schema":{"type":"array","items":{"type":"string"}},"in":"query"},{"name":"subdomain","description":"Source's Subdomain.","required":true,"schema":{"type":"string","x-example":"<SUBDOMAIN>"},"in":"query"},{"name":"region","description":"Source's Region.","required":true,"schema":{"type":"string","x-example":"<REGION>"},"in":"query"},{"name":"adminSecret","description":"Source's Admin Secret.","required":true,"schema":{"type":"string","x-example":"<ADMIN_SECRET>"},"in":"query"},{"name":"database","description":"Source's Database Name.","required":true,"schema":{"type":"string","x-example":"<DATABASE>"},"in":"query"},{"name":"username","description":"Source's Database Username.","required":true,"schema":{"type":"string","x-example":"<USERNAME>"},"in":"query"},{"name":"password","description":"Source's Database Password.","required":true,"schema":{"type":"string","x-example":"<PASSWORD>"},"in":"query"},{"name":"port","description":"Source's Database Port.","required":false,"schema":{"type":"integer","format":"int32","default":5432},"in":"query"}]}},"\/migrations\/supabase":{"post":{"summary":"Migrate Supabase Data","operationId":"migrationsCreateSupabaseMigration","tags":["migrations"],"description":"","responses":{"202":{"description":"Migration","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/migration"}}}}},"x-appwrite":{"method":"createSupabaseMigration","weight":324,"cookies":false,"type":"","deprecated":false,"demo":"migrations\/create-supabase-migration.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-supabase.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"migrations.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"resources":{"type":"array","description":"List of resources to migrate","x-example":null,"items":{"type":"string"}},"endpoint":{"type":"string","description":"Source's Supabase Endpoint","x-example":"https:\/\/example.com"},"apiKey":{"type":"string","description":"Source's API Key","x-example":"<API_KEY>"},"databaseHost":{"type":"string","description":"Source's Database Host","x-example":"<DATABASE_HOST>"},"username":{"type":"string","description":"Source's Database Username","x-example":"<USERNAME>"},"password":{"type":"string","description":"Source's Database Password","x-example":"<PASSWORD>"},"port":{"type":"integer","description":"Source's Database Port","x-example":null}},"required":["resources","endpoint","apiKey","databaseHost","username","password"]}}}}}},"\/migrations\/supabase\/report":{"get":{"summary":"Generate a report on Supabase Data","operationId":"migrationsGetSupabaseReport","tags":["migrations"],"description":"","responses":{"200":{"description":"Migration Report","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/migrationReport"}}}}},"x-appwrite":{"method":"getSupabaseReport","weight":335,"cookies":false,"type":"","deprecated":false,"demo":"migrations\/get-supabase-report.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-supabase-report.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"migrations.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"resources","description":"List of resources to migrate","required":true,"schema":{"type":"array","items":{"type":"string"}},"in":"query"},{"name":"endpoint","description":"Source's Supabase Endpoint.","required":true,"schema":{"type":"string","format":"url","x-example":"https:\/\/example.com"},"in":"query"},{"name":"apiKey","description":"Source's API Key.","required":true,"schema":{"type":"string","x-example":"<API_KEY>"},"in":"query"},{"name":"databaseHost","description":"Source's Database Host.","required":true,"schema":{"type":"string","x-example":"<DATABASE_HOST>"},"in":"query"},{"name":"username","description":"Source's Database Username.","required":true,"schema":{"type":"string","x-example":"<USERNAME>"},"in":"query"},{"name":"password","description":"Source's Database Password.","required":true,"schema":{"type":"string","x-example":"<PASSWORD>"},"in":"query"},{"name":"port","description":"Source's Database Port.","required":false,"schema":{"type":"integer","format":"int32","default":5432},"in":"query"}]}},"\/migrations\/{migrationId}":{"get":{"summary":"Get Migration","operationId":"migrationsGet","tags":["migrations"],"description":"","responses":{"200":{"description":"Migration","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/migration"}}}}},"x-appwrite":{"method":"get","weight":327,"cookies":false,"type":"","deprecated":false,"demo":"migrations\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/get-migration.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"migrations.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"migrationId","description":"Migration unique ID.","required":true,"schema":{"type":"string","x-example":"<MIGRATION_ID>"},"in":"path"}]},"patch":{"summary":"Retry Migration","operationId":"migrationsRetry","tags":["migrations"],"description":"","responses":{"202":{"description":"Migration","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/migration"}}}}},"x-appwrite":{"method":"retry","weight":337,"cookies":false,"type":"","deprecated":false,"demo":"migrations\/retry.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/retry-migration.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"migrations.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"migrationId","description":"Migration unique ID.","required":true,"schema":{"type":"string","x-example":"<MIGRATION_ID>"},"in":"path"}]},"delete":{"summary":"Delete Migration","operationId":"migrationsDelete","tags":["migrations"],"description":"","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"delete","weight":338,"cookies":false,"type":"","deprecated":false,"demo":"migrations\/delete.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/delete-migration.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"migrations.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"migrationId","description":"Migration ID.","required":true,"schema":{"type":"string","x-example":"<MIGRATION_ID>"},"in":"path"}]}},"\/project\/usage":{"get":{"summary":"Get project usage stats","operationId":"projectGetUsage","tags":["project"],"description":"","responses":{"200":{"description":"UsageProject","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/usageProject"}}}}},"x-appwrite":{"method":"getUsage","weight":191,"cookies":false,"type":"","deprecated":false,"demo":"project\/get-usage.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"startDate","description":"Starting date for the usage","required":true,"schema":{"type":"string"},"in":"query"},{"name":"endDate","description":"End date for the usage","required":true,"schema":{"type":"string"},"in":"query"},{"name":"period","description":"Period used","required":false,"schema":{"type":"string","x-example":"1h","enum":["1h","1d"],"x-enum-name":"ProjectUsageRange","x-enum-keys":["One Hour","One Day"],"default":"1d"},"in":"query"}]}},"\/project\/variables":{"get":{"summary":"List Variables","operationId":"projectListVariables","tags":["project"],"description":"Get a list of all project variables. These variables will be accessible in all Appwrite Functions at runtime.","responses":{"200":{"description":"Variables List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/variableList"}}}}},"x-appwrite":{"method":"listVariables","weight":193,"cookies":false,"type":"","deprecated":false,"demo":"project\/list-variables.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/list-variables.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}]},"post":{"summary":"Create Variable","operationId":"projectCreateVariable","tags":["project"],"description":"Create a new project variable. This variable will be accessible in all Appwrite Functions at runtime.","responses":{"201":{"description":"Variable","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/variable"}}}}},"x-appwrite":{"method":"createVariable","weight":192,"cookies":false,"type":"","deprecated":false,"demo":"project\/create-variable.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/create-variable.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"key":{"type":"string","description":"Variable key. Max length: 255 chars.","x-example":"<KEY>"},"value":{"type":"string","description":"Variable value. Max length: 8192 chars.","x-example":"<VALUE>"}},"required":["key","value"]}}}}}},"\/project\/variables\/{variableId}":{"get":{"summary":"Get Variable","operationId":"projectGetVariable","tags":["project"],"description":"Get a project variable by its unique ID.","responses":{"200":{"description":"Variable","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/variable"}}}}},"x-appwrite":{"method":"getVariable","weight":194,"cookies":false,"type":"","deprecated":false,"demo":"project\/get-variable.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/get-variable.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"variableId","description":"Variable unique ID.","required":true,"schema":{"type":"string","x-example":"<VARIABLE_ID>"},"in":"path"}]},"put":{"summary":"Update Variable","operationId":"projectUpdateVariable","tags":["project"],"description":"Update project variable by its unique ID. This variable will be accessible in all Appwrite Functions at runtime.","responses":{"200":{"description":"Variable","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/variable"}}}}},"x-appwrite":{"method":"updateVariable","weight":195,"cookies":false,"type":"","deprecated":false,"demo":"project\/update-variable.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/update-variable.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"variableId","description":"Variable unique ID.","required":true,"schema":{"type":"string","x-example":"<VARIABLE_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"key":{"type":"string","description":"Variable key. Max length: 255 chars.","x-example":"<KEY>"},"value":{"type":"string","description":"Variable value. Max length: 8192 chars.","x-example":"<VALUE>"}},"required":["key"]}}}}},"delete":{"summary":"Delete Variable","operationId":"projectDeleteVariable","tags":["project"],"description":"Delete a project variable by its unique ID. ","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteVariable","weight":196,"cookies":false,"type":"","deprecated":false,"demo":"project\/delete-variable.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/delete-variable.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"variableId","description":"Variable unique ID.","required":true,"schema":{"type":"string","x-example":"<VARIABLE_ID>"},"in":"path"}]}},"\/projects":{"get":{"summary":"List projects","operationId":"projectsList","tags":["projects"],"description":"","responses":{"200":{"description":"Projects List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/projectList"}}}}},"x-appwrite":{"method":"list","weight":150,"cookies":false,"type":"","deprecated":false,"demo":"projects\/list.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, teamId","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"<SEARCH>","default":""},"in":"query"}]},"post":{"summary":"Create project","operationId":"projectsCreate","tags":["projects"],"description":"","responses":{"201":{"description":"Project","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/project"}}}}},"x-appwrite":{"method":"create","weight":149,"cookies":false,"type":"","deprecated":false,"demo":"projects\/create.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"projectId":{"type":"string","description":"Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, and hyphen. Can't start with a special char. Max length is 36 chars.","x-example":null},"name":{"type":"string","description":"Project name. Max length: 128 chars.","x-example":"<NAME>"},"teamId":{"type":"string","description":"Team unique ID.","x-example":"<TEAM_ID>"},"region":{"type":"string","description":"Project Region.","x-example":"default","enum":["default","fra"],"x-enum-name":null,"x-enum-keys":[]},"description":{"type":"string","description":"Project description. Max length: 256 chars.","x-example":"<DESCRIPTION>"},"logo":{"type":"string","description":"Project logo.","x-example":"<LOGO>"},"url":{"type":"string","description":"Project URL.","x-example":"https:\/\/example.com"},"legalName":{"type":"string","description":"Project legal Name. Max length: 256 chars.","x-example":"<LEGAL_NAME>"},"legalCountry":{"type":"string","description":"Project legal Country. Max length: 256 chars.","x-example":"<LEGAL_COUNTRY>"},"legalState":{"type":"string","description":"Project legal State. Max length: 256 chars.","x-example":"<LEGAL_STATE>"},"legalCity":{"type":"string","description":"Project legal City. Max length: 256 chars.","x-example":"<LEGAL_CITY>"},"legalAddress":{"type":"string","description":"Project legal Address. Max length: 256 chars.","x-example":"<LEGAL_ADDRESS>"},"legalTaxId":{"type":"string","description":"Project legal Tax ID. Max length: 256 chars.","x-example":"<LEGAL_TAX_ID>"}},"required":["projectId","name","teamId"]}}}}}},"\/projects\/{projectId}":{"get":{"summary":"Get project","operationId":"projectsGet","tags":["projects"],"description":"","responses":{"200":{"description":"Project","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/project"}}}}},"x-appwrite":{"method":"get","weight":151,"cookies":false,"type":"","deprecated":false,"demo":"projects\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"}]},"patch":{"summary":"Update project","operationId":"projectsUpdate","tags":["projects"],"description":"","responses":{"200":{"description":"Project","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/project"}}}}},"x-appwrite":{"method":"update","weight":152,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Project name. Max length: 128 chars.","x-example":"<NAME>"},"description":{"type":"string","description":"Project description. Max length: 256 chars.","x-example":"<DESCRIPTION>"},"logo":{"type":"string","description":"Project logo.","x-example":"<LOGO>"},"url":{"type":"string","description":"Project URL.","x-example":"https:\/\/example.com"},"legalName":{"type":"string","description":"Project legal name. Max length: 256 chars.","x-example":"<LEGAL_NAME>"},"legalCountry":{"type":"string","description":"Project legal country. Max length: 256 chars.","x-example":"<LEGAL_COUNTRY>"},"legalState":{"type":"string","description":"Project legal state. Max length: 256 chars.","x-example":"<LEGAL_STATE>"},"legalCity":{"type":"string","description":"Project legal city. Max length: 256 chars.","x-example":"<LEGAL_CITY>"},"legalAddress":{"type":"string","description":"Project legal address. Max length: 256 chars.","x-example":"<LEGAL_ADDRESS>"},"legalTaxId":{"type":"string","description":"Project legal tax ID. Max length: 256 chars.","x-example":"<LEGAL_TAX_ID>"}},"required":["name"]}}}}},"delete":{"summary":"Delete project","operationId":"projectsDelete","tags":["projects"],"description":"","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"delete","weight":166,"cookies":false,"type":"","deprecated":false,"demo":"projects\/delete.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"}]}},"\/projects\/{projectId}\/api":{"patch":{"summary":"Update API status","operationId":"projectsUpdateApiStatus","tags":["projects"],"description":"","responses":{"200":{"description":"Project","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/project"}}}}},"x-appwrite":{"method":"updateApiStatus","weight":156,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-api-status.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"api":{"type":"string","description":"API name.","x-example":"rest","enum":["rest","graphql","realtime"],"x-enum-name":null,"x-enum-keys":[]},"status":{"type":"boolean","description":"API status.","x-example":false}},"required":["api","status"]}}}}}},"\/projects\/{projectId}\/api\/all":{"patch":{"summary":"Update all API status","operationId":"projectsUpdateApiStatusAll","tags":["projects"],"description":"","responses":{"200":{"description":"Project","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/project"}}}}},"x-appwrite":{"method":"updateApiStatusAll","weight":157,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-api-status-all.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"status":{"type":"boolean","description":"API status.","x-example":false}},"required":["status"]}}}}}},"\/projects\/{projectId}\/auth\/duration":{"patch":{"summary":"Update project authentication duration","operationId":"projectsUpdateAuthDuration","tags":["projects"],"description":"","responses":{"200":{"description":"Project","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/project"}}}}},"x-appwrite":{"method":"updateAuthDuration","weight":160,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-auth-duration.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"duration":{"type":"integer","description":"Project session length in seconds. Max length: 31536000 seconds.","x-example":0}},"required":["duration"]}}}}}},"\/projects\/{projectId}\/auth\/limit":{"patch":{"summary":"Update project users limit","operationId":"projectsUpdateAuthLimit","tags":["projects"],"description":"","responses":{"200":{"description":"Project","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/project"}}}}},"x-appwrite":{"method":"updateAuthLimit","weight":159,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-auth-limit.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","description":"Set the max number of users allowed in this project. Use 0 for unlimited.","x-example":0}},"required":["limit"]}}}}}},"\/projects\/{projectId}\/auth\/max-sessions":{"patch":{"summary":"Update project user sessions limit","operationId":"projectsUpdateAuthSessionsLimit","tags":["projects"],"description":"","responses":{"200":{"description":"Project","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/project"}}}}},"x-appwrite":{"method":"updateAuthSessionsLimit","weight":165,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-auth-sessions-limit.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","description":"Set the max number of users allowed in this project. Value allowed is between 1-100. Default is 10","x-example":1}},"required":["limit"]}}}}}},"\/projects\/{projectId}\/auth\/password-dictionary":{"patch":{"summary":"Update authentication password dictionary status. Use this endpoint to enable or disable the dicitonary check for user password","operationId":"projectsUpdateAuthPasswordDictionary","tags":["projects"],"description":"","responses":{"200":{"description":"Project","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/project"}}}}},"x-appwrite":{"method":"updateAuthPasswordDictionary","weight":163,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-auth-password-dictionary.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Set whether or not to enable checking user's password against most commonly used passwords. Default is false.","x-example":false}},"required":["enabled"]}}}}}},"\/projects\/{projectId}\/auth\/password-history":{"patch":{"summary":"Update authentication password history. Use this endpoint to set the number of password history to save and 0 to disable password history.","operationId":"projectsUpdateAuthPasswordHistory","tags":["projects"],"description":"","responses":{"200":{"description":"Project","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/project"}}}}},"x-appwrite":{"method":"updateAuthPasswordHistory","weight":162,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-auth-password-history.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","description":"Set the max number of passwords to store in user history. User can't choose a new password that is already stored in the password history list. Max number of passwords allowed in history is20. Default value is 0","x-example":0}},"required":["limit"]}}}}}},"\/projects\/{projectId}\/auth\/personal-data":{"patch":{"summary":"Enable or disable checking user passwords for similarity with their personal data.","operationId":"projectsUpdatePersonalDataCheck","tags":["projects"],"description":"","responses":{"200":{"description":"Project","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/project"}}}}},"x-appwrite":{"method":"updatePersonalDataCheck","weight":164,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-personal-data-check.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Set whether or not to check a password for similarity with personal data. Default is false.","x-example":false}},"required":["enabled"]}}}}}},"\/projects\/{projectId}\/auth\/{method}":{"patch":{"summary":"Update project auth method status. Use this endpoint to enable or disable a given auth method for this project.","operationId":"projectsUpdateAuthStatus","tags":["projects"],"description":"","responses":{"200":{"description":"Project","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/project"}}}}},"x-appwrite":{"method":"updateAuthStatus","weight":161,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-auth-status.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"},{"name":"method","description":"Auth Method. Possible values: email-password,magic-url,email-otp,anonymous,invites,jwt,phone","required":true,"schema":{"type":"string","x-example":"email-password","enum":["email-password","magic-url","email-otp","anonymous","invites","jwt","phone"],"x-enum-name":"AuthMethod","x-enum-keys":[]},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"status":{"type":"boolean","description":"Set the status of this auth method.","x-example":false}},"required":["status"]}}}}}},"\/projects\/{projectId}\/keys":{"get":{"summary":"List keys","operationId":"projectsListKeys","tags":["projects"],"description":"","responses":{"200":{"description":"API Keys List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/keyList"}}}}},"x-appwrite":{"method":"listKeys","weight":174,"cookies":false,"type":"","deprecated":false,"demo":"projects\/list-keys.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"}]},"post":{"summary":"Create key","operationId":"projectsCreateKey","tags":["projects"],"description":"","responses":{"201":{"description":"Key","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/key"}}}}},"x-appwrite":{"method":"createKey","weight":173,"cookies":false,"type":"","deprecated":false,"demo":"projects\/create-key.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Key name. Max length: 128 chars.","x-example":"<NAME>"},"scopes":{"type":"array","description":"Key scopes list. Maximum of 100 scopes are allowed.","x-example":null,"items":{"type":"string"}},"expire":{"type":"string","description":"Expiration time in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. Use null for unlimited expiration.","x-example":null}},"required":["name","scopes"]}}}}}},"\/projects\/{projectId}\/keys\/{keyId}":{"get":{"summary":"Get key","operationId":"projectsGetKey","tags":["projects"],"description":"","responses":{"200":{"description":"Key","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/key"}}}}},"x-appwrite":{"method":"getKey","weight":175,"cookies":false,"type":"","deprecated":false,"demo":"projects\/get-key.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"},{"name":"keyId","description":"Key unique ID.","required":true,"schema":{"type":"string","x-example":"<KEY_ID>"},"in":"path"}]},"put":{"summary":"Update key","operationId":"projectsUpdateKey","tags":["projects"],"description":"","responses":{"200":{"description":"Key","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/key"}}}}},"x-appwrite":{"method":"updateKey","weight":176,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-key.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"},{"name":"keyId","description":"Key unique ID.","required":true,"schema":{"type":"string","x-example":"<KEY_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Key name. Max length: 128 chars.","x-example":"<NAME>"},"scopes":{"type":"array","description":"Key scopes list. Maximum of 100 events are allowed.","x-example":null,"items":{"type":"string"}},"expire":{"type":"string","description":"Expiration time in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. Use null for unlimited expiration.","x-example":null}},"required":["name","scopes"]}}}}},"delete":{"summary":"Delete key","operationId":"projectsDeleteKey","tags":["projects"],"description":"","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteKey","weight":177,"cookies":false,"type":"","deprecated":false,"demo":"projects\/delete-key.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"},{"name":"keyId","description":"Key unique ID.","required":true,"schema":{"type":"string","x-example":"<KEY_ID>"},"in":"path"}]}},"\/projects\/{projectId}\/oauth2":{"patch":{"summary":"Update project OAuth2","operationId":"projectsUpdateOAuth2","tags":["projects"],"description":"","responses":{"200":{"description":"Project","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/project"}}}}},"x-appwrite":{"method":"updateOAuth2","weight":158,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-o-auth2.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"provider":{"type":"string","description":"Provider Name","x-example":"amazon","enum":["amazon","apple","auth0","authentik","autodesk","bitbucket","bitly","box","dailymotion","discord","disqus","dropbox","etsy","facebook","github","gitlab","google","linkedin","microsoft","notion","oidc","okta","paypal","paypalSandbox","podio","salesforce","slack","spotify","stripe","tradeshift","tradeshiftBox","twitch","wordpress","yahoo","yammer","yandex","zoho","zoom","mock"],"x-enum-name":"OAuthProvider","x-enum-keys":[]},"appId":{"type":"string","description":"Provider app ID. Max length: 256 chars.","x-example":"<APP_ID>"},"secret":{"type":"string","description":"Provider secret key. Max length: 512 chars.","x-example":"<SECRET>"},"enabled":{"type":"boolean","description":"Provider status. Set to 'false' to disable new session creation.","x-example":false}},"required":["provider"]}}}}}},"\/projects\/{projectId}\/platforms":{"get":{"summary":"List platforms","operationId":"projectsListPlatforms","tags":["projects"],"description":"","responses":{"200":{"description":"Platforms List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/platformList"}}}}},"x-appwrite":{"method":"listPlatforms","weight":179,"cookies":false,"type":"","deprecated":false,"demo":"projects\/list-platforms.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"}]},"post":{"summary":"Create platform","operationId":"projectsCreatePlatform","tags":["projects"],"description":"","responses":{"201":{"description":"Platform","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/platform"}}}}},"x-appwrite":{"method":"createPlatform","weight":178,"cookies":false,"type":"","deprecated":false,"demo":"projects\/create-platform.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"type":{"type":"string","description":"Platform type.","x-example":"web","enum":["web","flutter-web","flutter-ios","flutter-android","flutter-linux","flutter-macos","flutter-windows","apple-ios","apple-macos","apple-watchos","apple-tvos","android","unity"],"x-enum-name":"PlatformType","x-enum-keys":[]},"name":{"type":"string","description":"Platform name. Max length: 128 chars.","x-example":"<NAME>"},"key":{"type":"string","description":"Package name for Android or bundle ID for iOS or macOS. Max length: 256 chars.","x-example":"<KEY>"},"store":{"type":"string","description":"App store or Google Play store ID. Max length: 256 chars.","x-example":"<STORE>"},"hostname":{"type":"string","description":"Platform client hostname. Max length: 256 chars.","x-example":null}},"required":["type","name"]}}}}}},"\/projects\/{projectId}\/platforms\/{platformId}":{"get":{"summary":"Get platform","operationId":"projectsGetPlatform","tags":["projects"],"description":"","responses":{"200":{"description":"Platform","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/platform"}}}}},"x-appwrite":{"method":"getPlatform","weight":180,"cookies":false,"type":"","deprecated":false,"demo":"projects\/get-platform.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"},{"name":"platformId","description":"Platform unique ID.","required":true,"schema":{"type":"string","x-example":"<PLATFORM_ID>"},"in":"path"}]},"put":{"summary":"Update platform","operationId":"projectsUpdatePlatform","tags":["projects"],"description":"","responses":{"200":{"description":"Platform","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/platform"}}}}},"x-appwrite":{"method":"updatePlatform","weight":181,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-platform.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"},{"name":"platformId","description":"Platform unique ID.","required":true,"schema":{"type":"string","x-example":"<PLATFORM_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Platform name. Max length: 128 chars.","x-example":"<NAME>"},"key":{"type":"string","description":"Package name for android or bundle ID for iOS. Max length: 256 chars.","x-example":"<KEY>"},"store":{"type":"string","description":"App store or Google Play store ID. Max length: 256 chars.","x-example":"<STORE>"},"hostname":{"type":"string","description":"Platform client URL. Max length: 256 chars.","x-example":null}},"required":["name"]}}}}},"delete":{"summary":"Delete platform","operationId":"projectsDeletePlatform","tags":["projects"],"description":"","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deletePlatform","weight":182,"cookies":false,"type":"","deprecated":false,"demo":"projects\/delete-platform.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"},{"name":"platformId","description":"Platform unique ID.","required":true,"schema":{"type":"string","x-example":"<PLATFORM_ID>"},"in":"path"}]}},"\/projects\/{projectId}\/service":{"patch":{"summary":"Update service status","operationId":"projectsUpdateServiceStatus","tags":["projects"],"description":"","responses":{"200":{"description":"Project","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/project"}}}}},"x-appwrite":{"method":"updateServiceStatus","weight":154,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-service-status.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"service":{"type":"string","description":"Service name.","x-example":"account","enum":["account","avatars","databases","locale","health","storage","teams","users","functions","graphql","messaging"],"x-enum-name":"ApiService","x-enum-keys":[]},"status":{"type":"boolean","description":"Service status.","x-example":false}},"required":["service","status"]}}}}}},"\/projects\/{projectId}\/service\/all":{"patch":{"summary":"Update all service status","operationId":"projectsUpdateServiceStatusAll","tags":["projects"],"description":"","responses":{"200":{"description":"Project","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/project"}}}}},"x-appwrite":{"method":"updateServiceStatusAll","weight":155,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-service-status-all.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"status":{"type":"boolean","description":"Service status.","x-example":false}},"required":["status"]}}}}}},"\/projects\/{projectId}\/smtp":{"patch":{"summary":"Update SMTP","operationId":"projectsUpdateSmtp","tags":["projects"],"description":"","responses":{"200":{"description":"Project","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/project"}}}}},"x-appwrite":{"method":"updateSmtp","weight":183,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-smtp.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Enable custom SMTP service","x-example":false},"senderName":{"type":"string","description":"Name of the email sender","x-example":"<SENDER_NAME>"},"senderEmail":{"type":"string","description":"Email of the sender","x-example":"email@example.com"},"replyTo":{"type":"string","description":"Reply to email","x-example":"email@example.com"},"host":{"type":"string","description":"SMTP server host name","x-example":null},"port":{"type":"integer","description":"SMTP server port","x-example":null},"username":{"type":"string","description":"SMTP server username","x-example":"<USERNAME>"},"password":{"type":"string","description":"SMTP server password","x-example":"<PASSWORD>"},"secure":{"type":"string","description":"Does SMTP server use secure connection","x-example":"tls","enum":["tls","ssl"],"x-enum-name":"SMTPSecure","x-enum-keys":[]}},"required":["enabled"]}}}}}},"\/projects\/{projectId}\/smtp\/tests":{"post":{"summary":"Create SMTP test","operationId":"projectsCreateSmtpTest","tags":["projects"],"description":"","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"createSmtpTest","weight":184,"cookies":false,"type":"","deprecated":false,"demo":"projects\/create-smtp-test.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"emails":{"type":"array","description":"Array of emails to send test email to. Maximum of 10 emails are allowed.","x-example":null,"items":{"type":"string"}},"senderName":{"type":"string","description":"Name of the email sender","x-example":"<SENDER_NAME>"},"senderEmail":{"type":"string","description":"Email of the sender","x-example":"email@example.com"},"replyTo":{"type":"string","description":"Reply to email","x-example":"email@example.com"},"host":{"type":"string","description":"SMTP server host name","x-example":null},"port":{"type":"integer","description":"SMTP server port","x-example":null},"username":{"type":"string","description":"SMTP server username","x-example":"<USERNAME>"},"password":{"type":"string","description":"SMTP server password","x-example":"<PASSWORD>"},"secure":{"type":"string","description":"Does SMTP server use secure connection","x-example":"tls","enum":["tls"],"x-enum-name":"SMTPSecure","x-enum-keys":[]}},"required":["emails","senderName","senderEmail","host"]}}}}}},"\/projects\/{projectId}\/team":{"patch":{"summary":"Update Project Team","operationId":"projectsUpdateTeam","tags":["projects"],"description":"","responses":{"200":{"description":"Project","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/project"}}}}},"x-appwrite":{"method":"updateTeam","weight":153,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-team.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"teamId":{"type":"string","description":"Team ID of the team to transfer project to.","x-example":"<TEAM_ID>"}},"required":["teamId"]}}}}}},"\/projects\/{projectId}\/templates\/email\/{type}\/{locale}":{"get":{"summary":"Get custom email template","operationId":"projectsGetEmailTemplate","tags":["projects"],"description":"","responses":{"200":{"description":"EmailTemplate","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/emailTemplate"}}}}},"x-appwrite":{"method":"getEmailTemplate","weight":186,"cookies":false,"type":"","deprecated":false,"demo":"projects\/get-email-template.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"},{"name":"type","description":"Template type","required":true,"schema":{"type":"string","x-example":"verification","enum":["verification","magicsession","recovery","invitation","mfachallenge"],"x-enum-name":"EmailTemplateType","x-enum-keys":[]},"in":"path"},{"name":"locale","description":"Template locale","required":true,"schema":{"type":"string","x-example":"af","enum":["af","ar-ae","ar-bh","ar-dz","ar-eg","ar-iq","ar-jo","ar-kw","ar-lb","ar-ly","ar-ma","ar-om","ar-qa","ar-sa","ar-sy","ar-tn","ar-ye","as","az","be","bg","bh","bn","bs","ca","cs","cy","da","de","de-at","de-ch","de-li","de-lu","el","en","en-au","en-bz","en-ca","en-gb","en-ie","en-jm","en-nz","en-tt","en-us","en-za","eo","es","es-ar","es-bo","es-cl","es-co","es-cr","es-do","es-ec","es-gt","es-hn","es-mx","es-ni","es-pa","es-pe","es-pr","es-py","es-sv","es-uy","es-ve","et","eu","fa","fi","fo","fr","fr-be","fr-ca","fr-ch","fr-lu","ga","gd","he","hi","hr","hu","id","is","it","it-ch","ja","ji","ko","ku","lt","lv","mk","ml","ms","mt","nb","ne","nl","nl-be","nn","no","pa","pl","pt","pt-br","rm","ro","ro-md","ru","ru-md","sb","sk","sl","sq","sr","sv","sv-fi","th","tn","tr","ts","ua","ur","ve","vi","xh","zh-cn","zh-hk","zh-sg","zh-tw","zu"],"x-enum-name":"EmailTemplateLocale","x-enum-keys":[]},"in":"path"}]},"patch":{"summary":"Update custom email templates","operationId":"projectsUpdateEmailTemplate","tags":["projects"],"description":"","responses":{"200":{"description":"Project","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/project"}}}}},"x-appwrite":{"method":"updateEmailTemplate","weight":188,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-email-template.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"},{"name":"type","description":"Template type","required":true,"schema":{"type":"string","x-example":"verification","enum":["verification","magicsession","recovery","invitation","mfachallenge"],"x-enum-name":"EmailTemplateType","x-enum-keys":[]},"in":"path"},{"name":"locale","description":"Template locale","required":true,"schema":{"type":"string","x-example":"af","enum":["af","ar-ae","ar-bh","ar-dz","ar-eg","ar-iq","ar-jo","ar-kw","ar-lb","ar-ly","ar-ma","ar-om","ar-qa","ar-sa","ar-sy","ar-tn","ar-ye","as","az","be","bg","bh","bn","bs","ca","cs","cy","da","de","de-at","de-ch","de-li","de-lu","el","en","en-au","en-bz","en-ca","en-gb","en-ie","en-jm","en-nz","en-tt","en-us","en-za","eo","es","es-ar","es-bo","es-cl","es-co","es-cr","es-do","es-ec","es-gt","es-hn","es-mx","es-ni","es-pa","es-pe","es-pr","es-py","es-sv","es-uy","es-ve","et","eu","fa","fi","fo","fr","fr-be","fr-ca","fr-ch","fr-lu","ga","gd","he","hi","hr","hu","id","is","it","it-ch","ja","ji","ko","ku","lt","lv","mk","ml","ms","mt","nb","ne","nl","nl-be","nn","no","pa","pl","pt","pt-br","rm","ro","ro-md","ru","ru-md","sb","sk","sl","sq","sr","sv","sv-fi","th","tn","tr","ts","ua","ur","ve","vi","xh","zh-cn","zh-hk","zh-sg","zh-tw","zu"],"x-enum-name":"EmailTemplateLocale","x-enum-keys":[]},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"subject":{"type":"string","description":"Email Subject","x-example":"<SUBJECT>"},"message":{"type":"string","description":"Template message","x-example":"<MESSAGE>"},"senderName":{"type":"string","description":"Name of the email sender","x-example":"<SENDER_NAME>"},"senderEmail":{"type":"string","description":"Email of the sender","x-example":"email@example.com"},"replyTo":{"type":"string","description":"Reply to email","x-example":"email@example.com"}},"required":["subject","message"]}}}}},"delete":{"summary":"Reset custom email template","operationId":"projectsDeleteEmailTemplate","tags":["projects"],"description":"","responses":{"200":{"description":"EmailTemplate","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/emailTemplate"}}}}},"x-appwrite":{"method":"deleteEmailTemplate","weight":190,"cookies":false,"type":"","deprecated":false,"demo":"projects\/delete-email-template.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"},{"name":"type","description":"Template type","required":true,"schema":{"type":"string","x-example":"verification","enum":["verification","magicsession","recovery","invitation","mfachallenge"],"x-enum-name":"EmailTemplateType","x-enum-keys":[]},"in":"path"},{"name":"locale","description":"Template locale","required":true,"schema":{"type":"string","x-example":"af","enum":["af","ar-ae","ar-bh","ar-dz","ar-eg","ar-iq","ar-jo","ar-kw","ar-lb","ar-ly","ar-ma","ar-om","ar-qa","ar-sa","ar-sy","ar-tn","ar-ye","as","az","be","bg","bh","bn","bs","ca","cs","cy","da","de","de-at","de-ch","de-li","de-lu","el","en","en-au","en-bz","en-ca","en-gb","en-ie","en-jm","en-nz","en-tt","en-us","en-za","eo","es","es-ar","es-bo","es-cl","es-co","es-cr","es-do","es-ec","es-gt","es-hn","es-mx","es-ni","es-pa","es-pe","es-pr","es-py","es-sv","es-uy","es-ve","et","eu","fa","fi","fo","fr","fr-be","fr-ca","fr-ch","fr-lu","ga","gd","he","hi","hr","hu","id","is","it","it-ch","ja","ji","ko","ku","lt","lv","mk","ml","ms","mt","nb","ne","nl","nl-be","nn","no","pa","pl","pt","pt-br","rm","ro","ro-md","ru","ru-md","sb","sk","sl","sq","sr","sv","sv-fi","th","tn","tr","ts","ua","ur","ve","vi","xh","zh-cn","zh-hk","zh-sg","zh-tw","zu"],"x-enum-name":"EmailTemplateLocale","x-enum-keys":[]},"in":"path"}]}},"\/projects\/{projectId}\/templates\/sms\/{type}\/{locale}":{"get":{"summary":"Get custom SMS template","operationId":"projectsGetSmsTemplate","tags":["projects"],"description":"","responses":{"200":{"description":"SmsTemplate","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/smsTemplate"}}}}},"x-appwrite":{"method":"getSmsTemplate","weight":185,"cookies":false,"type":"","deprecated":false,"demo":"projects\/get-sms-template.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"},{"name":"type","description":"Template type","required":true,"schema":{"type":"string","x-example":"verification","enum":["verification","login","invitation","mfachallenge"],"x-enum-name":"SmsTemplateType","x-enum-keys":[]},"in":"path"},{"name":"locale","description":"Template locale","required":true,"schema":{"type":"string","x-example":"af","enum":["af","ar-ae","ar-bh","ar-dz","ar-eg","ar-iq","ar-jo","ar-kw","ar-lb","ar-ly","ar-ma","ar-om","ar-qa","ar-sa","ar-sy","ar-tn","ar-ye","as","az","be","bg","bh","bn","bs","ca","cs","cy","da","de","de-at","de-ch","de-li","de-lu","el","en","en-au","en-bz","en-ca","en-gb","en-ie","en-jm","en-nz","en-tt","en-us","en-za","eo","es","es-ar","es-bo","es-cl","es-co","es-cr","es-do","es-ec","es-gt","es-hn","es-mx","es-ni","es-pa","es-pe","es-pr","es-py","es-sv","es-uy","es-ve","et","eu","fa","fi","fo","fr","fr-be","fr-ca","fr-ch","fr-lu","ga","gd","he","hi","hr","hu","id","is","it","it-ch","ja","ji","ko","ku","lt","lv","mk","ml","ms","mt","nb","ne","nl","nl-be","nn","no","pa","pl","pt","pt-br","rm","ro","ro-md","ru","ru-md","sb","sk","sl","sq","sr","sv","sv-fi","th","tn","tr","ts","ua","ur","ve","vi","xh","zh-cn","zh-hk","zh-sg","zh-tw","zu"],"x-enum-name":"SmsTemplateLocale","x-enum-keys":[]},"in":"path"}]},"patch":{"summary":"Update custom SMS template","operationId":"projectsUpdateSmsTemplate","tags":["projects"],"description":"","responses":{"200":{"description":"SmsTemplate","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/smsTemplate"}}}}},"x-appwrite":{"method":"updateSmsTemplate","weight":187,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-sms-template.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"},{"name":"type","description":"Template type","required":true,"schema":{"type":"string","x-example":"verification","enum":["verification","login","invitation","mfachallenge"],"x-enum-name":"SmsTemplateType","x-enum-keys":[]},"in":"path"},{"name":"locale","description":"Template locale","required":true,"schema":{"type":"string","x-example":"af","enum":["af","ar-ae","ar-bh","ar-dz","ar-eg","ar-iq","ar-jo","ar-kw","ar-lb","ar-ly","ar-ma","ar-om","ar-qa","ar-sa","ar-sy","ar-tn","ar-ye","as","az","be","bg","bh","bn","bs","ca","cs","cy","da","de","de-at","de-ch","de-li","de-lu","el","en","en-au","en-bz","en-ca","en-gb","en-ie","en-jm","en-nz","en-tt","en-us","en-za","eo","es","es-ar","es-bo","es-cl","es-co","es-cr","es-do","es-ec","es-gt","es-hn","es-mx","es-ni","es-pa","es-pe","es-pr","es-py","es-sv","es-uy","es-ve","et","eu","fa","fi","fo","fr","fr-be","fr-ca","fr-ch","fr-lu","ga","gd","he","hi","hr","hu","id","is","it","it-ch","ja","ji","ko","ku","lt","lv","mk","ml","ms","mt","nb","ne","nl","nl-be","nn","no","pa","pl","pt","pt-br","rm","ro","ro-md","ru","ru-md","sb","sk","sl","sq","sr","sv","sv-fi","th","tn","tr","ts","ua","ur","ve","vi","xh","zh-cn","zh-hk","zh-sg","zh-tw","zu"],"x-enum-name":"SmsTemplateLocale","x-enum-keys":[]},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Template message","x-example":"<MESSAGE>"}},"required":["message"]}}}}},"delete":{"summary":"Reset custom SMS template","operationId":"projectsDeleteSmsTemplate","tags":["projects"],"description":"","responses":{"200":{"description":"SmsTemplate","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/smsTemplate"}}}}},"x-appwrite":{"method":"deleteSmsTemplate","weight":189,"cookies":false,"type":"","deprecated":false,"demo":"projects\/delete-sms-template.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"},{"name":"type","description":"Template type","required":true,"schema":{"type":"string","x-example":"verification","enum":["verification","login","invitation","mfachallenge"],"x-enum-name":"SmsTemplateType","x-enum-keys":[]},"in":"path"},{"name":"locale","description":"Template locale","required":true,"schema":{"type":"string","x-example":"af","enum":["af","ar-ae","ar-bh","ar-dz","ar-eg","ar-iq","ar-jo","ar-kw","ar-lb","ar-ly","ar-ma","ar-om","ar-qa","ar-sa","ar-sy","ar-tn","ar-ye","as","az","be","bg","bh","bn","bs","ca","cs","cy","da","de","de-at","de-ch","de-li","de-lu","el","en","en-au","en-bz","en-ca","en-gb","en-ie","en-jm","en-nz","en-tt","en-us","en-za","eo","es","es-ar","es-bo","es-cl","es-co","es-cr","es-do","es-ec","es-gt","es-hn","es-mx","es-ni","es-pa","es-pe","es-pr","es-py","es-sv","es-uy","es-ve","et","eu","fa","fi","fo","fr","fr-be","fr-ca","fr-ch","fr-lu","ga","gd","he","hi","hr","hu","id","is","it","it-ch","ja","ji","ko","ku","lt","lv","mk","ml","ms","mt","nb","ne","nl","nl-be","nn","no","pa","pl","pt","pt-br","rm","ro","ro-md","ru","ru-md","sb","sk","sl","sq","sr","sv","sv-fi","th","tn","tr","ts","ua","ur","ve","vi","xh","zh-cn","zh-hk","zh-sg","zh-tw","zu"],"x-enum-name":"SmsTemplateLocale","x-enum-keys":[]},"in":"path"}]}},"\/projects\/{projectId}\/webhooks":{"get":{"summary":"List webhooks","operationId":"projectsListWebhooks","tags":["projects"],"description":"","responses":{"200":{"description":"Webhooks List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/webhookList"}}}}},"x-appwrite":{"method":"listWebhooks","weight":168,"cookies":false,"type":"","deprecated":false,"demo":"projects\/list-webhooks.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"}]},"post":{"summary":"Create webhook","operationId":"projectsCreateWebhook","tags":["projects"],"description":"","responses":{"201":{"description":"Webhook","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/webhook"}}}}},"x-appwrite":{"method":"createWebhook","weight":167,"cookies":false,"type":"","deprecated":false,"demo":"projects\/create-webhook.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Webhook name. Max length: 128 chars.","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Enable or disable a webhook.","x-example":false},"events":{"type":"array","description":"Events list. Maximum of 100 events are allowed.","x-example":null,"items":{"type":"string"}},"url":{"type":"string","description":"Webhook URL.","x-example":null},"security":{"type":"boolean","description":"Certificate verification, false for disabled or true for enabled.","x-example":false},"httpUser":{"type":"string","description":"Webhook HTTP user. Max length: 256 chars.","x-example":"<HTTP_USER>"},"httpPass":{"type":"string","description":"Webhook HTTP password. Max length: 256 chars.","x-example":"<HTTP_PASS>"}},"required":["name","events","url","security"]}}}}}},"\/projects\/{projectId}\/webhooks\/{webhookId}":{"get":{"summary":"Get webhook","operationId":"projectsGetWebhook","tags":["projects"],"description":"","responses":{"200":{"description":"Webhook","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/webhook"}}}}},"x-appwrite":{"method":"getWebhook","weight":169,"cookies":false,"type":"","deprecated":false,"demo":"projects\/get-webhook.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"},{"name":"webhookId","description":"Webhook unique ID.","required":true,"schema":{"type":"string","x-example":"<WEBHOOK_ID>"},"in":"path"}]},"put":{"summary":"Update webhook","operationId":"projectsUpdateWebhook","tags":["projects"],"description":"","responses":{"200":{"description":"Webhook","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/webhook"}}}}},"x-appwrite":{"method":"updateWebhook","weight":170,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-webhook.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"},{"name":"webhookId","description":"Webhook unique ID.","required":true,"schema":{"type":"string","x-example":"<WEBHOOK_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Webhook name. Max length: 128 chars.","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Enable or disable a webhook.","x-example":false},"events":{"type":"array","description":"Events list. Maximum of 100 events are allowed.","x-example":null,"items":{"type":"string"}},"url":{"type":"string","description":"Webhook URL.","x-example":null},"security":{"type":"boolean","description":"Certificate verification, false for disabled or true for enabled.","x-example":false},"httpUser":{"type":"string","description":"Webhook HTTP user. Max length: 256 chars.","x-example":"<HTTP_USER>"},"httpPass":{"type":"string","description":"Webhook HTTP password. Max length: 256 chars.","x-example":"<HTTP_PASS>"}},"required":["name","events","url","security"]}}}}},"delete":{"summary":"Delete webhook","operationId":"projectsDeleteWebhook","tags":["projects"],"description":"","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteWebhook","weight":172,"cookies":false,"type":"","deprecated":false,"demo":"projects\/delete-webhook.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"},{"name":"webhookId","description":"Webhook unique ID.","required":true,"schema":{"type":"string","x-example":"<WEBHOOK_ID>"},"in":"path"}]}},"\/projects\/{projectId}\/webhooks\/{webhookId}\/signature":{"patch":{"summary":"Update webhook signature key","operationId":"projectsUpdateWebhookSignature","tags":["projects"],"description":"","responses":{"200":{"description":"Webhook","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/webhook"}}}}},"x-appwrite":{"method":"updateWebhookSignature","weight":171,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-webhook-signature.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"schema":{"type":"string","x-example":"<PROJECT_ID>"},"in":"path"},{"name":"webhookId","description":"Webhook unique ID.","required":true,"schema":{"type":"string","x-example":"<WEBHOOK_ID>"},"in":"path"}]}},"\/proxy\/rules":{"get":{"summary":"List Rules","operationId":"proxyListRules","tags":["proxy"],"description":"Get a list of all the proxy rules. You can use the query params to filter your results.","responses":{"200":{"description":"Rule List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/proxyRuleList"}}}}},"x-appwrite":{"method":"listRules","weight":305,"cookies":false,"type":"","deprecated":false,"demo":"proxy\/list-rules.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/proxy\/list-rules.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"rules.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/databases#querying-documents). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: domain, resourceType, resourceId, url","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"<SEARCH>","default":""},"in":"query"}]},"post":{"summary":"Create Rule","operationId":"proxyCreateRule","tags":["proxy"],"description":"Create a new proxy rule.","responses":{"201":{"description":"Rule","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/proxyRule"}}}}},"x-appwrite":{"method":"createRule","weight":304,"cookies":false,"type":"","deprecated":false,"demo":"proxy\/create-rule.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/proxy\/create-rule.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"rules.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"domain":{"type":"string","description":"Domain name.","x-example":null},"resourceType":{"type":"string","description":"Action definition for the rule. Possible values are \"api\", \"function\"","x-example":"api","enum":["api","function"],"x-enum-name":null,"x-enum-keys":[]},"resourceId":{"type":"string","description":"ID of resource for the action type. If resourceType is \"api\", leave empty. If resourceType is \"function\", provide ID of the function.","x-example":"<RESOURCE_ID>"}},"required":["domain","resourceType"]}}}}}},"\/proxy\/rules\/{ruleId}":{"get":{"summary":"Get Rule","operationId":"proxyGetRule","tags":["proxy"],"description":"Get a proxy rule by its unique ID.","responses":{"200":{"description":"Rule","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/proxyRule"}}}}},"x-appwrite":{"method":"getRule","weight":306,"cookies":false,"type":"","deprecated":false,"demo":"proxy\/get-rule.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/proxy\/get-rule.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"rules.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"ruleId","description":"Rule ID.","required":true,"schema":{"type":"string","x-example":"<RULE_ID>"},"in":"path"}]},"delete":{"summary":"Delete Rule","operationId":"proxyDeleteRule","tags":["proxy"],"description":"Delete a proxy rule by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteRule","weight":307,"cookies":false,"type":"","deprecated":false,"demo":"proxy\/delete-rule.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/proxy\/delete-rule.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"rules.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"ruleId","description":"Rule ID.","required":true,"schema":{"type":"string","x-example":"<RULE_ID>"},"in":"path"}]}},"\/proxy\/rules\/{ruleId}\/verification":{"patch":{"summary":"Update Rule Verification Status","operationId":"proxyUpdateRuleVerification","tags":["proxy"],"description":"","responses":{"200":{"description":"Rule","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/proxyRule"}}}}},"x-appwrite":{"method":"updateRuleVerification","weight":308,"cookies":false,"type":"","deprecated":false,"demo":"proxy\/update-rule-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"rules.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"ruleId","description":"Rule ID.","required":true,"schema":{"type":"string","x-example":"<RULE_ID>"},"in":"path"}]}},"\/storage\/buckets":{"get":{"summary":"List buckets","operationId":"storageListBuckets","tags":["storage"],"description":"Get a list of all the storage buckets. You can use the query params to filter your results.","responses":{"200":{"description":"Buckets List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/bucketList"}}}}},"x-appwrite":{"method":"listBuckets","weight":198,"cookies":false,"type":"","deprecated":false,"demo":"storage\/list-buckets.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-buckets.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"buckets.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: enabled, name, fileSecurity, maximumFileSize, encryption, antivirus","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"<SEARCH>","default":""},"in":"query"}]},"post":{"summary":"Create bucket","operationId":"storageCreateBucket","tags":["storage"],"description":"Create a new storage bucket.","responses":{"201":{"description":"Bucket","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/bucket"}}}}},"x-appwrite":{"method":"createBucket","weight":197,"cookies":false,"type":"","deprecated":false,"demo":"storage\/create-bucket.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-bucket.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"buckets.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"bucketId":{"type":"string","description":"Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<BUCKET_ID>"},"name":{"type":"string","description":"Bucket name","x-example":"<NAME>"},"permissions":{"type":"array","description":"An array of permission strings. By default, no user is granted with any permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":"[\"read(\"any\")\"]","items":{"type":"string"}},"fileSecurity":{"type":"boolean","description":"Enables configuring permissions for individual file. A user needs one of file or bucket level permissions to access a file. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":false},"enabled":{"type":"boolean","description":"Is bucket enabled? When set to 'disabled', users cannot access the files in this bucket but Server SDKs with and API key can still access the bucket. No files are lost when this is toggled.","x-example":false},"maximumFileSize":{"type":"integer","description":"Maximum file size allowed in bytes. Maximum allowed value is 30MB.","x-example":1},"allowedFileExtensions":{"type":"array","description":"Allowed file extensions. Maximum of 100 extensions are allowed, each 64 characters long.","x-example":null,"items":{"type":"string"}},"compression":{"type":"string","description":"Compression algorithm choosen for compression. Can be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd), For file size above 20MB compression is skipped even if it's enabled","x-example":"none","enum":["none","gzip","zstd"],"x-enum-name":null,"x-enum-keys":[]},"encryption":{"type":"boolean","description":"Is encryption enabled? For file size above 20MB encryption is skipped even if it's enabled","x-example":false},"antivirus":{"type":"boolean","description":"Is virus scanning enabled? For file size above 20MB AntiVirus scanning is skipped even if it's enabled","x-example":false}},"required":["bucketId","name"]}}}}}},"\/storage\/buckets\/{bucketId}":{"get":{"summary":"Get bucket","operationId":"storageGetBucket","tags":["storage"],"description":"Get a storage bucket by its unique ID. This endpoint response returns a JSON object with the storage bucket metadata.","responses":{"200":{"description":"Bucket","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/bucket"}}}}},"x-appwrite":{"method":"getBucket","weight":199,"cookies":false,"type":"","deprecated":false,"demo":"storage\/get-bucket.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-bucket.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"buckets.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"bucketId","description":"Bucket unique ID.","required":true,"schema":{"type":"string","x-example":"<BUCKET_ID>"},"in":"path"}]},"put":{"summary":"Update bucket","operationId":"storageUpdateBucket","tags":["storage"],"description":"Update a storage bucket by its unique ID.","responses":{"200":{"description":"Bucket","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/bucket"}}}}},"x-appwrite":{"method":"updateBucket","weight":200,"cookies":false,"type":"","deprecated":false,"demo":"storage\/update-bucket.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-bucket.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"buckets.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"bucketId","description":"Bucket unique ID.","required":true,"schema":{"type":"string","x-example":"<BUCKET_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Bucket name","x-example":"<NAME>"},"permissions":{"type":"array","description":"An array of permission strings. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":"[\"read(\"any\")\"]","items":{"type":"string"}},"fileSecurity":{"type":"boolean","description":"Enables configuring permissions for individual file. A user needs one of file or bucket level permissions to access a file. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":false},"enabled":{"type":"boolean","description":"Is bucket enabled? When set to 'disabled', users cannot access the files in this bucket but Server SDKs with and API key can still access the bucket. No files are lost when this is toggled.","x-example":false},"maximumFileSize":{"type":"integer","description":"Maximum file size allowed in bytes. Maximum allowed value is 30MB.","x-example":1},"allowedFileExtensions":{"type":"array","description":"Allowed file extensions. Maximum of 100 extensions are allowed, each 64 characters long.","x-example":null,"items":{"type":"string"}},"compression":{"type":"string","description":"Compression algorithm choosen for compression. Can be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd), For file size above 20MB compression is skipped even if it's enabled","x-example":"none","enum":["none","gzip","zstd"],"x-enum-name":null,"x-enum-keys":[]},"encryption":{"type":"boolean","description":"Is encryption enabled? For file size above 20MB encryption is skipped even if it's enabled","x-example":false},"antivirus":{"type":"boolean","description":"Is virus scanning enabled? For file size above 20MB AntiVirus scanning is skipped even if it's enabled","x-example":false}},"required":["name"]}}}}},"delete":{"summary":"Delete bucket","operationId":"storageDeleteBucket","tags":["storage"],"description":"Delete a storage bucket by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteBucket","weight":201,"cookies":false,"type":"","deprecated":false,"demo":"storage\/delete-bucket.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-bucket.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"buckets.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"bucketId","description":"Bucket unique ID.","required":true,"schema":{"type":"string","x-example":"<BUCKET_ID>"},"in":"path"}]}},"\/storage\/buckets\/{bucketId}\/files":{"get":{"summary":"List files","operationId":"storageListFiles","tags":["storage"],"description":"Get a list of all the user files. You can use the query params to filter your results.","responses":{"200":{"description":"Files List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/fileList"}}}}},"x-appwrite":{"method":"listFiles","weight":203,"cookies":false,"type":"","deprecated":false,"demo":"storage\/list-files.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-files.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"schema":{"type":"string","x-example":"<BUCKET_ID>"},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, signature, mimeType, sizeOriginal, chunksTotal, chunksUploaded","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"<SEARCH>","default":""},"in":"query"}]},"post":{"summary":"Create file","operationId":"storageCreateFile","tags":["storage"],"description":"Create a new file. Before using this route, you should create a new bucket resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/storage#storageCreateBucket) API or directly from your Appwrite console.\n\nLarger files should be uploaded using multiple requests with the [content-range](https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTTP\/Headers\/Content-Range) header to send a partial request with a maximum supported chunk of `5MB`. The `content-range` header values should always be in bytes.\n\nWhen the first request is sent, the server will return the **File** object, and the subsequent part request must include the file's **id** in `x-appwrite-id` header to allow the server to know that the partial upload is for the existing file and not for a new one.\n\nIf you're creating a new file using one of the Appwrite SDKs, all the chunking logic will be managed by the SDK internally.\n","responses":{"201":{"description":"File","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/file"}}}}},"x-appwrite":{"method":"createFile","weight":202,"cookies":false,"type":"upload","deprecated":false,"demo":"storage\/create-file.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-file.md","rate-limit":60,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId},chunkId:{chunkId}","scope":"files.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"schema":{"type":"string","x-example":"<BUCKET_ID>"},"in":"path"}],"requestBody":{"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"fileId":{"type":"string","description":"File ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<FILE_ID>","x-upload-id":true},"file":{"type":"string","description":"Binary file. Appwrite SDKs provide helpers to handle file input. [Learn about file input](https:\/\/appwrite.io\/docs\/products\/storage\/upload-download#input-file).","x-example":null},"permissions":{"type":"array","description":"An array of permission strings. By default, only the current user is granted all permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":"[\"read(\"any\")\"]","items":{"type":"string"}}},"required":["fileId","file"]}}}}}},"\/storage\/buckets\/{bucketId}\/files\/{fileId}":{"get":{"summary":"Get file","operationId":"storageGetFile","tags":["storage"],"description":"Get a file by its unique ID. This endpoint response returns a JSON object with the file metadata.","responses":{"200":{"description":"File","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/file"}}}}},"x-appwrite":{"method":"getFile","weight":204,"cookies":false,"type":"","deprecated":false,"demo":"storage\/get-file.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"schema":{"type":"string","x-example":"<BUCKET_ID>"},"in":"path"},{"name":"fileId","description":"File ID.","required":true,"schema":{"type":"string","x-example":"<FILE_ID>"},"in":"path"}]},"put":{"summary":"Update file","operationId":"storageUpdateFile","tags":["storage"],"description":"Update a file by its unique ID. Only users with write permissions have access to update this resource.","responses":{"200":{"description":"File","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/file"}}}}},"x-appwrite":{"method":"updateFile","weight":209,"cookies":false,"type":"","deprecated":false,"demo":"storage\/update-file.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-file.md","rate-limit":60,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId}","scope":"files.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"schema":{"type":"string","x-example":"<BUCKET_ID>"},"in":"path"},{"name":"fileId","description":"File unique ID.","required":true,"schema":{"type":"string","x-example":"<FILE_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Name of the file","x-example":"<NAME>"},"permissions":{"type":"array","description":"An array of permission string. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":"[\"read(\"any\")\"]","items":{"type":"string"}}}}}}}},"delete":{"summary":"Delete File","operationId":"storageDeleteFile","tags":["storage"],"description":"Delete a file by its unique ID. Only users with write permissions have access to delete this resource.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteFile","weight":210,"cookies":false,"type":"","deprecated":false,"demo":"storage\/delete-file.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-file.md","rate-limit":60,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId}","scope":"files.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"schema":{"type":"string","x-example":"<BUCKET_ID>"},"in":"path"},{"name":"fileId","description":"File ID.","required":true,"schema":{"type":"string","x-example":"<FILE_ID>"},"in":"path"}]}},"\/storage\/buckets\/{bucketId}\/files\/{fileId}\/download":{"get":{"summary":"Get file for download","operationId":"storageGetFileDownload","tags":["storage"],"description":"Get a file content by its unique ID. The endpoint response return with a 'Content-Disposition: attachment' header that tells the browser to start downloading the file to user downloads directory.","responses":{"200":{"description":"File"}},"x-appwrite":{"method":"getFileDownload","weight":206,"cookies":false,"type":"location","deprecated":false,"demo":"storage\/get-file-download.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-download.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"schema":{"type":"string","x-example":"<BUCKET_ID>"},"in":"path"},{"name":"fileId","description":"File ID.","required":true,"schema":{"type":"string","x-example":"<FILE_ID>"},"in":"path"}]}},"\/storage\/buckets\/{bucketId}\/files\/{fileId}\/preview":{"get":{"summary":"Get file preview","operationId":"storageGetFilePreview","tags":["storage"],"description":"Get a file preview image. Currently, this method supports preview for image files (jpg, png, and gif), other supported formats, like pdf, docs, slides, and spreadsheets, will return the file icon image. You can also pass query string arguments for cutting and resizing your preview image. Preview is supported only for image files smaller than 10MB.","responses":{"200":{"description":"Image"}},"x-appwrite":{"method":"getFilePreview","weight":205,"cookies":false,"type":"location","deprecated":false,"demo":"storage\/get-file-preview.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-preview.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"schema":{"type":"string","x-example":"<BUCKET_ID>"},"in":"path"},{"name":"fileId","description":"File ID","required":true,"schema":{"type":"string","x-example":"<FILE_ID>"},"in":"path"},{"name":"width","description":"Resize preview image width, Pass an integer between 0 to 4000.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":0},"in":"query"},{"name":"height","description":"Resize preview image height, Pass an integer between 0 to 4000.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":0},"in":"query"},{"name":"gravity","description":"Image crop gravity. Can be one of center,top-left,top,top-right,left,right,bottom-left,bottom,bottom-right","required":false,"schema":{"type":"string","x-example":"center","enum":["center","top-left","top","top-right","left","right","bottom-left","bottom","bottom-right"],"x-enum-name":"ImageGravity","x-enum-keys":[],"default":"center"},"in":"query"},{"name":"quality","description":"Preview image quality. Pass an integer between 0 to 100. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":100},"in":"query"},{"name":"borderWidth","description":"Preview image border in pixels. Pass an integer between 0 to 100. Defaults to 0.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":0},"in":"query"},{"name":"borderColor","description":"Preview image border color. Use a valid HEX color, no # is needed for prefix.","required":false,"schema":{"type":"string","default":""},"in":"query"},{"name":"borderRadius","description":"Preview image border radius in pixels. Pass an integer between 0 to 4000.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":0},"in":"query"},{"name":"opacity","description":"Preview image opacity. Only works with images having an alpha channel (like png). Pass a number between 0 to 1.","required":false,"schema":{"type":"number","format":"float","x-example":0,"default":1},"in":"query"},{"name":"rotation","description":"Preview image rotation in degrees. Pass an integer between -360 and 360.","required":false,"schema":{"type":"integer","format":"int32","x-example":-360,"default":0},"in":"query"},{"name":"background","description":"Preview image background color. Only works with transparent images (png). Use a valid HEX color, no # is needed for prefix.","required":false,"schema":{"type":"string","default":""},"in":"query"},{"name":"output","description":"Output format type (jpeg, jpg, png, gif and webp).","required":false,"schema":{"type":"string","x-example":"jpg","enum":["jpg","jpeg","gif","png","webp"],"x-enum-name":"ImageFormat","x-enum-keys":[],"default":""},"in":"query"}]}},"\/storage\/buckets\/{bucketId}\/files\/{fileId}\/view":{"get":{"summary":"Get file for view","operationId":"storageGetFileView","tags":["storage"],"description":"Get a file content by its unique ID. This endpoint is similar to the download method but returns with no 'Content-Disposition: attachment' header.","responses":{"200":{"description":"File"}},"x-appwrite":{"method":"getFileView","weight":207,"cookies":false,"type":"location","deprecated":false,"demo":"storage\/get-file-view.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-view.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"schema":{"type":"string","x-example":"<BUCKET_ID>"},"in":"path"},{"name":"fileId","description":"File ID.","required":true,"schema":{"type":"string","x-example":"<FILE_ID>"},"in":"path"}]}},"\/storage\/usage":{"get":{"summary":"Get storage usage stats","operationId":"storageGetUsage","tags":["storage"],"description":"","responses":{"200":{"description":"StorageUsage","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/usageStorage"}}}}},"x-appwrite":{"method":"getUsage","weight":211,"cookies":false,"type":"","deprecated":false,"demo":"storage\/get-usage.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"range","description":"Date range.","required":false,"schema":{"type":"string","x-example":"24h","enum":["24h","30d","90d"],"x-enum-name":"StorageUsageRange","x-enum-keys":["Twenty Four Hours","Thirty Days","Ninety Days"],"default":"30d"},"in":"query"}]}},"\/storage\/{bucketId}\/usage":{"get":{"summary":"Get bucket usage stats","operationId":"storageGetBucketUsage","tags":["storage"],"description":"","responses":{"200":{"description":"UsageBuckets","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/usageBuckets"}}}}},"x-appwrite":{"method":"getBucketUsage","weight":212,"cookies":false,"type":"","deprecated":false,"demo":"storage\/get-bucket-usage.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"bucketId","description":"Bucket ID.","required":true,"schema":{"type":"string","x-example":"<BUCKET_ID>"},"in":"path"},{"name":"range","description":"Date range.","required":false,"schema":{"type":"string","x-example":"24h","enum":["24h","30d","90d"],"x-enum-name":"StorageUsageRange","x-enum-keys":["Twenty Four Hours","Thirty Days","Ninety Days"],"default":"30d"},"in":"query"}]}},"\/teams":{"get":{"summary":"List teams","operationId":"teamsList","tags":["teams"],"description":"Get a list of all the teams in which the current user is a member. You can use the parameters to filter your results.","responses":{"200":{"description":"Teams List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/teamList"}}}}},"x-appwrite":{"method":"list","weight":214,"cookies":false,"type":"","deprecated":false,"demo":"teams\/list.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-teams.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/teams","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, total, billingPlan","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"<SEARCH>","default":""},"in":"query"}]},"post":{"summary":"Create team","operationId":"teamsCreate","tags":["teams"],"description":"Create a new team. The user who creates the team will automatically be assigned as the owner of the team. Only the users with the owner role can invite new members, add new owners and delete or update the team.","responses":{"201":{"description":"Team","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/team"}}}}},"x-appwrite":{"method":"create","weight":213,"cookies":false,"type":"","deprecated":false,"demo":"teams\/create.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"teamId":{"type":"string","description":"Team ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<TEAM_ID>"},"name":{"type":"string","description":"Team name. Max length: 128 chars.","x-example":"<NAME>"},"roles":{"type":"array","description":"Array of strings. Use this param to set the roles in the team for the user who created it. The default role is **owner**. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.","x-example":null,"items":{"type":"string"}}},"required":["teamId","name"]}}}}}},"\/teams\/{teamId}":{"get":{"summary":"Get team","operationId":"teamsGet","tags":["teams"],"description":"Get a team by its ID. All team members have read access for this resource.","responses":{"200":{"description":"Team","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/team"}}}}},"x-appwrite":{"method":"get","weight":215,"cookies":false,"type":"","deprecated":false,"demo":"teams\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/teams","offline-key":"{teamId}","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":"<TEAM_ID>"},"in":"path"}]},"put":{"summary":"Update name","operationId":"teamsUpdateName","tags":["teams"],"description":"Update the team's name by its unique ID.","responses":{"200":{"description":"Team","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/team"}}}}},"x-appwrite":{"method":"updateName","weight":217,"cookies":false,"type":"","deprecated":false,"demo":"teams\/update-name.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-name.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"\/teams","offline-key":"{teamId}","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":"<TEAM_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"New team name. Max length: 128 chars.","x-example":"<NAME>"}},"required":["name"]}}}}},"delete":{"summary":"Delete team","operationId":"teamsDelete","tags":["teams"],"description":"Delete a team using its ID. Only team members with the owner role can delete the team.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"delete","weight":219,"cookies":false,"type":"","deprecated":false,"demo":"teams\/delete.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":"<TEAM_ID>"},"in":"path"}]}},"\/teams\/{teamId}\/logs":{"get":{"summary":"List team logs","operationId":"teamsListLogs","tags":["teams"],"description":"Get the team activity logs list by its unique ID.","responses":{"200":{"description":"Logs List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/logList"}}}}},"x-appwrite":{"method":"listLogs","weight":226,"cookies":false,"type":"","deprecated":false,"demo":"teams\/list-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":"<TEAM_ID>"},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]}},"\/teams\/{teamId}\/memberships":{"get":{"summary":"List team memberships","operationId":"teamsListMemberships","tags":["teams"],"description":"Use this endpoint to list a team's members using the team's ID. All team members have read access to this endpoint.","responses":{"200":{"description":"Memberships List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/membershipList"}}}}},"x-appwrite":{"method":"listMemberships","weight":221,"cookies":false,"type":"","deprecated":false,"demo":"teams\/list-memberships.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-team-members.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/teams\/{teamId}\/memberships","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":"<TEAM_ID>"},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, teamId, invited, joined, confirm","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"<SEARCH>","default":""},"in":"query"}]},"post":{"summary":"Create team membership","operationId":"teamsCreateMembership","tags":["teams"],"description":"Invite a new member to join your team. Provide an ID for existing users, or invite unregistered users using an email or phone number. If initiated from a Client SDK, Appwrite will send an email or sms with a link to join the team to the invited user, and an account will be created for them if one doesn't exist. If initiated from a Server SDK, the new member will be added automatically to the team.\n\nYou only need to provide one of a user ID, email, or phone number. Appwrite will prioritize accepting the user ID > email > phone number if you provide more than one of these parameters.\n\nUse the `url` parameter to redirect the user from the invitation email to your app. After the user is redirected, use the [Update Team Membership Status](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/teams#updateMembershipStatus) endpoint to allow the user to accept the invitation to the team. \n\nPlease note that to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md) Appwrite will accept the only redirect URLs under the domains you have added as a platform on the Appwrite Console.\n","responses":{"201":{"description":"Membership","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/membership"}}}}},"x-appwrite":{"method":"createMembership","weight":220,"cookies":false,"type":"","deprecated":false,"demo":"teams\/create-membership.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team-membership.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":"<TEAM_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"email":{"type":"string","description":"Email of the new team member.","x-example":"email@example.com"},"userId":{"type":"string","description":"ID of the user to be added to a team.","x-example":"<USER_ID>"},"phone":{"type":"string","description":"Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","x-example":"+12065550100"},"roles":{"type":"array","description":"Array of strings. Use this param to set the user roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.","x-example":null,"items":{"type":"string"}},"url":{"type":"string","description":"URL to redirect the user back to your app from the invitation email. This parameter is not required when an API key is supplied. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","x-example":"https:\/\/example.com"},"name":{"type":"string","description":"Name of the new team member. Max length: 128 chars.","x-example":"<NAME>"}},"required":["roles"]}}}}}},"\/teams\/{teamId}\/memberships\/{membershipId}":{"get":{"summary":"Get team membership","operationId":"teamsGetMembership","tags":["teams"],"description":"Get a team member by the membership unique id. All team members have read access for this resource.","responses":{"200":{"description":"Membership","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/membership"}}}}},"x-appwrite":{"method":"getMembership","weight":222,"cookies":false,"type":"","deprecated":false,"demo":"teams\/get-membership.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-member.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/teams\/{teamId}\/memberships","offline-key":"{membershipId}","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":"<TEAM_ID>"},"in":"path"},{"name":"membershipId","description":"Membership ID.","required":true,"schema":{"type":"string","x-example":"<MEMBERSHIP_ID>"},"in":"path"}]},"patch":{"summary":"Update membership","operationId":"teamsUpdateMembership","tags":["teams"],"description":"Modify the roles of a team member. Only team members with the owner role have access to this endpoint. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions).\n","responses":{"200":{"description":"Membership","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/membership"}}}}},"x-appwrite":{"method":"updateMembership","weight":223,"cookies":false,"type":"","deprecated":false,"demo":"teams\/update-membership.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":"<TEAM_ID>"},"in":"path"},{"name":"membershipId","description":"Membership ID.","required":true,"schema":{"type":"string","x-example":"<MEMBERSHIP_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"roles":{"type":"array","description":"An array of strings. Use this param to set the user's roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.","x-example":null,"items":{"type":"string"}}},"required":["roles"]}}}}},"delete":{"summary":"Delete team membership","operationId":"teamsDeleteMembership","tags":["teams"],"description":"This endpoint allows a user to leave a team or for a team owner to delete the membership of any other team member. You can also use this endpoint to delete a user membership even if it is not accepted.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteMembership","weight":225,"cookies":false,"type":"","deprecated":false,"demo":"teams\/delete-membership.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team-membership.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":"<TEAM_ID>"},"in":"path"},{"name":"membershipId","description":"Membership ID.","required":true,"schema":{"type":"string","x-example":"<MEMBERSHIP_ID>"},"in":"path"}]}},"\/teams\/{teamId}\/memberships\/{membershipId}\/status":{"patch":{"summary":"Update team membership status","operationId":"teamsUpdateMembershipStatus","tags":["teams"],"description":"Use this endpoint to allow a user to accept an invitation to join a team after being redirected back to your app from the invitation email received by the user.\n\nIf the request is successful, a session for the user is automatically created.\n","responses":{"200":{"description":"Membership","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/membership"}}}}},"x-appwrite":{"method":"updateMembershipStatus","weight":224,"cookies":false,"type":"","deprecated":false,"demo":"teams\/update-membership-status.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership-status.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"public","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":"<TEAM_ID>"},"in":"path"},{"name":"membershipId","description":"Membership ID.","required":true,"schema":{"type":"string","x-example":"<MEMBERSHIP_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID.","x-example":"<USER_ID>"},"secret":{"type":"string","description":"Secret key.","x-example":"<SECRET>"}},"required":["userId","secret"]}}}}}},"\/teams\/{teamId}\/prefs":{"get":{"summary":"Get team preferences","operationId":"teamsGetPrefs","tags":["teams"],"description":"Get the team's shared preferences by its unique ID. If a preference doesn't need to be shared by all team members, prefer storing them in [user preferences](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#getPrefs).","responses":{"200":{"description":"Preferences","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/preferences"}}}}},"x-appwrite":{"method":"getPrefs","weight":216,"cookies":false,"type":"","deprecated":false,"demo":"teams\/get-prefs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-prefs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.read","platforms":["client","server"],"packaging":false,"offline-model":"\/teams\/{teamId}\/prefs","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":"<TEAM_ID>"},"in":"path"}]},"put":{"summary":"Update preferences","operationId":"teamsUpdatePrefs","tags":["teams"],"description":"Update the team's preferences by its unique ID. The object you pass is stored as is and replaces any previous value. The maximum allowed prefs size is 64kB and throws an error if exceeded.","responses":{"200":{"description":"Preferences","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/preferences"}}}}},"x-appwrite":{"method":"updatePrefs","weight":218,"cookies":false,"type":"","deprecated":false,"demo":"teams\/update-prefs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-prefs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server"],"packaging":false,"offline-model":"\/teams\/{teamId}\/prefs","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":"<TEAM_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"prefs":{"type":"object","description":"Prefs key-value JSON object.","x-example":"{}"}},"required":["prefs"]}}}}}},"\/users":{"get":{"summary":"List users","operationId":"usersList","tags":["users"],"description":"Get a list of all the project's users. You can use the query params to filter your results.","responses":{"200":{"description":"Users List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/userList"}}}}},"x-appwrite":{"method":"list","weight":236,"cookies":false,"type":"","deprecated":false,"demo":"users\/list.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-users.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, email, phone, status, passwordUpdate, registration, emailVerification, phoneVerification, labels","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"<SEARCH>","default":""},"in":"query"}]},"post":{"summary":"Create user","operationId":"usersCreate","tags":["users"],"description":"Create a new user.","responses":{"201":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"create","weight":227,"cookies":false,"type":"","deprecated":false,"demo":"users\/create.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"phone":{"type":"string","description":"Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","x-example":"+12065550100"},"password":{"type":"string","description":"Plain text user password. Must be at least 8 chars.","x-example":null},"name":{"type":"string","description":"User name. Max length: 128 chars.","x-example":"<NAME>"}},"required":["userId"]}}}}}},"\/users\/argon2":{"post":{"summary":"Create user with Argon2 password","operationId":"usersCreateArgon2User","tags":["users"],"description":"Create a new user. Password provided must be hashed with the [Argon2](https:\/\/en.wikipedia.org\/wiki\/Argon2) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.","responses":{"201":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"createArgon2User","weight":230,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-argon2user.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-argon2-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"password":{"type":"string","description":"User password hashed using Argon2.","x-example":"password"},"name":{"type":"string","description":"User name. Max length: 128 chars.","x-example":"<NAME>"}},"required":["userId","email","password"]}}}}}},"\/users\/bcrypt":{"post":{"summary":"Create user with bcrypt password","operationId":"usersCreateBcryptUser","tags":["users"],"description":"Create a new user. Password provided must be hashed with the [Bcrypt](https:\/\/en.wikipedia.org\/wiki\/Bcrypt) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.","responses":{"201":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"createBcryptUser","weight":228,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-bcrypt-user.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-bcrypt-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"password":{"type":"string","description":"User password hashed using Bcrypt.","x-example":"password"},"name":{"type":"string","description":"User name. Max length: 128 chars.","x-example":"<NAME>"}},"required":["userId","email","password"]}}}}}},"\/users\/identities":{"get":{"summary":"List Identities","operationId":"usersListIdentities","tags":["users"],"description":"Get identities for all users.","responses":{"200":{"description":"Identities List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/identityList"}}}}},"x-appwrite":{"method":"listIdentities","weight":244,"cookies":false,"type":"","deprecated":false,"demo":"users\/list-identities.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-identities.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, provider, providerUid, providerEmail, providerAccessTokenExpiry","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"<SEARCH>","default":""},"in":"query"}]}},"\/users\/identities\/{identityId}":{"delete":{"summary":"Delete identity","operationId":"usersDeleteIdentity","tags":["users"],"description":"Delete an identity by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteIdentity","weight":267,"cookies":false,"type":"","deprecated":false,"demo":"users\/delete-identity.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-identity.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"identityId","description":"Identity ID.","required":true,"schema":{"type":"string","x-example":"<IDENTITY_ID>"},"in":"path"}]}},"\/users\/md5":{"post":{"summary":"Create user with MD5 password","operationId":"usersCreateMD5User","tags":["users"],"description":"Create a new user. Password provided must be hashed with the [MD5](https:\/\/en.wikipedia.org\/wiki\/MD5) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.","responses":{"201":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"createMD5User","weight":229,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-m-d5user.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-md5-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"password":{"type":"string","description":"User password hashed using MD5.","x-example":"password"},"name":{"type":"string","description":"User name. Max length: 128 chars.","x-example":"<NAME>"}},"required":["userId","email","password"]}}}}}},"\/users\/phpass":{"post":{"summary":"Create user with PHPass password","operationId":"usersCreatePHPassUser","tags":["users"],"description":"Create a new user. Password provided must be hashed with the [PHPass](https:\/\/www.openwall.com\/phpass\/) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.","responses":{"201":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"createPHPassUser","weight":232,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-p-h-pass-user.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-phpass-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or pass the string `ID.unique()`to auto generate it. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"password":{"type":"string","description":"User password hashed using PHPass.","x-example":"password"},"name":{"type":"string","description":"User name. Max length: 128 chars.","x-example":"<NAME>"}},"required":["userId","email","password"]}}}}}},"\/users\/scrypt":{"post":{"summary":"Create user with Scrypt password","operationId":"usersCreateScryptUser","tags":["users"],"description":"Create a new user. Password provided must be hashed with the [Scrypt](https:\/\/github.com\/Tarsnap\/scrypt) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.","responses":{"201":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"createScryptUser","weight":233,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-scrypt-user.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-scrypt-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"password":{"type":"string","description":"User password hashed using Scrypt.","x-example":"password"},"passwordSalt":{"type":"string","description":"Optional salt used to hash password.","x-example":"<PASSWORD_SALT>"},"passwordCpu":{"type":"integer","description":"Optional CPU cost used to hash password.","x-example":null},"passwordMemory":{"type":"integer","description":"Optional memory cost used to hash password.","x-example":null},"passwordParallel":{"type":"integer","description":"Optional parallelization cost used to hash password.","x-example":null},"passwordLength":{"type":"integer","description":"Optional hash length used to hash password.","x-example":null},"name":{"type":"string","description":"User name. Max length: 128 chars.","x-example":"<NAME>"}},"required":["userId","email","password","passwordSalt","passwordCpu","passwordMemory","passwordParallel","passwordLength"]}}}}}},"\/users\/scrypt-modified":{"post":{"summary":"Create user with Scrypt modified password","operationId":"usersCreateScryptModifiedUser","tags":["users"],"description":"Create a new user. Password provided must be hashed with the [Scrypt Modified](https:\/\/gist.github.com\/Meldiron\/eecf84a0225eccb5a378d45bb27462cc) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.","responses":{"201":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"createScryptModifiedUser","weight":234,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-scrypt-modified-user.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-scrypt-modified-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"password":{"type":"string","description":"User password hashed using Scrypt Modified.","x-example":"password"},"passwordSalt":{"type":"string","description":"Salt used to hash password.","x-example":"<PASSWORD_SALT>"},"passwordSaltSeparator":{"type":"string","description":"Salt separator used to hash password.","x-example":"<PASSWORD_SALT_SEPARATOR>"},"passwordSignerKey":{"type":"string","description":"Signer key used to hash password.","x-example":"<PASSWORD_SIGNER_KEY>"},"name":{"type":"string","description":"User name. Max length: 128 chars.","x-example":"<NAME>"}},"required":["userId","email","password","passwordSalt","passwordSaltSeparator","passwordSignerKey"]}}}}}},"\/users\/sha":{"post":{"summary":"Create user with SHA password","operationId":"usersCreateSHAUser","tags":["users"],"description":"Create a new user. Password provided must be hashed with the [SHA](https:\/\/en.wikipedia.org\/wiki\/Secure_Hash_Algorithm) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.","responses":{"201":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"createSHAUser","weight":231,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-s-h-a-user.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-sha-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"password":{"type":"string","description":"User password hashed using SHA.","x-example":"password"},"passwordVersion":{"type":"string","description":"Optional SHA version used to hash password. Allowed values are: 'sha1', 'sha224', 'sha256', 'sha384', 'sha512\/224', 'sha512\/256', 'sha512', 'sha3-224', 'sha3-256', 'sha3-384', 'sha3-512'","x-example":"sha1","enum":["sha1","sha224","sha256","sha384","sha512\/224","sha512\/256","sha512","sha3-224","sha3-256","sha3-384","sha3-512"],"x-enum-name":"PasswordHash","x-enum-keys":[]},"name":{"type":"string","description":"User name. Max length: 128 chars.","x-example":"<NAME>"}},"required":["userId","email","password"]}}}}}},"\/users\/usage":{"get":{"summary":"Get users usage stats","operationId":"usersGetUsage","tags":["users"],"description":"","responses":{"200":{"description":"UsageUsers","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/usageUsers"}}}}},"x-appwrite":{"method":"getUsage","weight":268,"cookies":false,"type":"","deprecated":false,"demo":"users\/get-usage.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"range","description":"Date range.","required":false,"schema":{"type":"string","x-example":"24h","enum":["24h","30d","90d"],"x-enum-name":"UserUsageRange","x-enum-keys":["Twenty Four Hours","Thirty Days","Ninety Days"],"default":"30d"},"in":"query"}]}},"\/users\/{userId}":{"get":{"summary":"Get user","operationId":"usersGet","tags":["users"],"description":"Get a user by its unique ID.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"get","weight":237,"cookies":false,"type":"","deprecated":false,"demo":"users\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}]},"delete":{"summary":"Delete user","operationId":"usersDelete","tags":["users"],"description":"Delete a user by its unique ID, thereby releasing it's ID. Since ID is released and can be reused, all user-related resources like documents or storage files should be deleted before user deletion. If you want to keep ID reserved, use the [updateStatus](https:\/\/appwrite.io\/docs\/server\/users#usersUpdateStatus) endpoint instead.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"delete","weight":265,"cookies":false,"type":"","deprecated":false,"demo":"users\/delete.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}]}},"\/users\/{userId}\/email":{"patch":{"summary":"Update email","operationId":"usersUpdateEmail","tags":["users"],"description":"Update the user email by its unique ID.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updateEmail","weight":250,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-email.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-email.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"email":{"type":"string","description":"User email.","x-example":"email@example.com"}},"required":["email"]}}}}}},"\/users\/{userId}\/labels":{"put":{"summary":"Update user labels","operationId":"usersUpdateLabels","tags":["users"],"description":"Update the user labels by its unique ID. \n\nLabels can be used to grant access to resources. While teams are a way for user's to share access to a resource, labels can be defined by the developer to grant access without an invitation. See the [Permissions docs](https:\/\/appwrite.io\/docs\/permissions) for more info.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updateLabels","weight":246,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-labels.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-labels.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"labels":{"type":"array","description":"Array of user labels. Replaces the previous labels. Maximum of 1000 labels are allowed, each up to 36 alphanumeric characters long.","x-example":null,"items":{"type":"string"}}},"required":["labels"]}}}}}},"\/users\/{userId}\/logs":{"get":{"summary":"List user logs","operationId":"usersListLogs","tags":["users"],"description":"Get the user activity logs list by its unique ID.","responses":{"200":{"description":"Logs List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/logList"}}}}},"x-appwrite":{"method":"listLogs","weight":242,"cookies":false,"type":"","deprecated":false,"demo":"users\/list-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]}},"\/users\/{userId}\/memberships":{"get":{"summary":"List user memberships","operationId":"usersListMemberships","tags":["users"],"description":"Get the user membership list by its unique ID.","responses":{"200":{"description":"Memberships List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/membershipList"}}}}},"x-appwrite":{"method":"listMemberships","weight":241,"cookies":false,"type":"","deprecated":false,"demo":"users\/list-memberships.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-memberships.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}]}},"\/users\/{userId}\/mfa":{"patch":{"summary":"Update MFA","operationId":"usersUpdateMfa","tags":["users"],"description":"Enable or disable MFA on a user account.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updateMfa","weight":255,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-mfa.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-mfa.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"mfa":{"type":"boolean","description":"Enable or disable MFA.","x-example":false}},"required":["mfa"]}}}}}},"\/users\/{userId}\/mfa\/authenticators\/{type}":{"delete":{"summary":"Delete Authenticator","operationId":"usersDeleteMfaAuthenticator","tags":["users"],"description":"Delete an authenticator app.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"deleteMfaAuthenticator","weight":260,"cookies":false,"type":"","deprecated":false,"demo":"users\/delete-mfa-authenticator.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-mfa-authenticator.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"},{"name":"type","description":"Type of authenticator.","required":true,"schema":{"type":"string","x-example":"totp","enum":["totp"],"x-enum-name":"AuthenticatorType","x-enum-keys":[]},"in":"path"}]}},"\/users\/{userId}\/mfa\/factors":{"get":{"summary":"List Factors","operationId":"usersListMfaFactors","tags":["users"],"description":"List the factors available on the account to be used as a MFA challange.","responses":{"200":{"description":"MFAFactors","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/mfaFactors"}}}}},"x-appwrite":{"method":"listMfaFactors","weight":256,"cookies":false,"type":"","deprecated":false,"demo":"users\/list-mfa-factors.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-mfa-factors.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}]}},"\/users\/{userId}\/mfa\/recovery-codes":{"get":{"summary":"Get MFA Recovery Codes","operationId":"usersGetMfaRecoveryCodes","tags":["users"],"description":"Get recovery codes that can be used as backup for MFA flow by User ID. Before getting codes, they must be generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method.","responses":{"200":{"description":"MFA Recovery Codes","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/mfaRecoveryCodes"}}}}},"x-appwrite":{"method":"getMfaRecoveryCodes","weight":257,"cookies":false,"type":"","deprecated":false,"demo":"users\/get-mfa-recovery-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-mfa-recovery-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}]},"put":{"summary":"Regenerate MFA Recovery Codes","operationId":"usersUpdateMfaRecoveryCodes","tags":["users"],"description":"Regenerate recovery codes that can be used as backup for MFA flow by User ID. Before regenerating codes, they must be first generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method.","responses":{"200":{"description":"MFA Recovery Codes","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/mfaRecoveryCodes"}}}}},"x-appwrite":{"method":"updateMfaRecoveryCodes","weight":259,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-mfa-recovery-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-mfa-recovery-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}]},"patch":{"summary":"Create MFA Recovery Codes","operationId":"usersCreateMfaRecoveryCodes","tags":["users"],"description":"Generate recovery codes used as backup for MFA flow for User ID. Recovery codes can be used as a MFA verification type in [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method by client SDK.","responses":{"201":{"description":"MFA Recovery Codes","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/mfaRecoveryCodes"}}}}},"x-appwrite":{"method":"createMfaRecoveryCodes","weight":258,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-mfa-recovery-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-mfa-recovery-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}]}},"\/users\/{userId}\/name":{"patch":{"summary":"Update name","operationId":"usersUpdateName","tags":["users"],"description":"Update the user name by its unique ID.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updateName","weight":248,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-name.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-name.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"User name. Max length: 128 chars.","x-example":"<NAME>"}},"required":["name"]}}}}}},"\/users\/{userId}\/password":{"patch":{"summary":"Update password","operationId":"usersUpdatePassword","tags":["users"],"description":"Update the user password by its unique ID.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updatePassword","weight":249,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-password.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-password.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"password":{"type":"string","description":"New user password. Must be at least 8 chars.","x-example":null}},"required":["password"]}}}}}},"\/users\/{userId}\/phone":{"patch":{"summary":"Update phone","operationId":"usersUpdatePhone","tags":["users"],"description":"Update the user phone by its unique ID.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updatePhone","weight":251,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-phone.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-phone.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"number":{"type":"string","description":"User phone number.","x-example":"+12065550100"}},"required":["number"]}}}}}},"\/users\/{userId}\/prefs":{"get":{"summary":"Get user preferences","operationId":"usersGetPrefs","tags":["users"],"description":"Get the user preferences by its unique ID.","responses":{"200":{"description":"Preferences","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/preferences"}}}}},"x-appwrite":{"method":"getPrefs","weight":238,"cookies":false,"type":"","deprecated":false,"demo":"users\/get-prefs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user-prefs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}]},"patch":{"summary":"Update user preferences","operationId":"usersUpdatePrefs","tags":["users"],"description":"Update the user preferences by its unique ID. The object you pass is stored as is, and replaces any previous value. The maximum allowed prefs size is 64kB and throws error if exceeded.","responses":{"200":{"description":"Preferences","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/preferences"}}}}},"x-appwrite":{"method":"updatePrefs","weight":253,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-prefs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-prefs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"prefs":{"type":"object","description":"Prefs key-value JSON object.","x-example":"{}"}},"required":["prefs"]}}}}}},"\/users\/{userId}\/sessions":{"get":{"summary":"List user sessions","operationId":"usersListSessions","tags":["users"],"description":"Get the user sessions list by its unique ID.","responses":{"200":{"description":"Sessions List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/sessionList"}}}}},"x-appwrite":{"method":"listSessions","weight":240,"cookies":false,"type":"","deprecated":false,"demo":"users\/list-sessions.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-sessions.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}]},"post":{"summary":"Create session","operationId":"usersCreateSession","tags":["users"],"description":"Creates a session for a user. Returns an immediately usable session object.\n\nIf you want to generate a token for a custom authentication flow, use the [POST \/users\/{userId}\/tokens](https:\/\/appwrite.io\/docs\/server\/users#createToken) endpoint.","responses":{"201":{"description":"Session","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/session"}}}}},"x-appwrite":{"method":"createSession","weight":261,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-session.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}]},"delete":{"summary":"Delete user sessions","operationId":"usersDeleteSessions","tags":["users"],"description":"Delete all user's sessions by using the user's unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteSessions","weight":264,"cookies":false,"type":"","deprecated":false,"demo":"users\/delete-sessions.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-user-sessions.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}]}},"\/users\/{userId}\/sessions\/{sessionId}":{"delete":{"summary":"Delete user session","operationId":"usersDeleteSession","tags":["users"],"description":"Delete a user sessions by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteSession","weight":263,"cookies":false,"type":"","deprecated":false,"demo":"users\/delete-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-user-session.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"},{"name":"sessionId","description":"Session ID.","required":true,"schema":{"type":"string","x-example":"<SESSION_ID>"},"in":"path"}]}},"\/users\/{userId}\/status":{"patch":{"summary":"Update user status","operationId":"usersUpdateStatus","tags":["users"],"description":"Update the user status by its unique ID. Use this endpoint as an alternative to deleting a user if you want to keep user's ID reserved.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updateStatus","weight":245,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-status.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-status.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"status":{"type":"boolean","description":"User Status. To activate the user pass `true` and to block the user pass `false`.","x-example":false}},"required":["status"]}}}}}},"\/users\/{userId}\/targets":{"get":{"summary":"List User Targets","operationId":"usersListTargets","tags":["users"],"description":"List the messaging targets that are associated with a user.","responses":{"200":{"description":"Target list","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/targetList"}}}}},"x-appwrite":{"method":"listTargets","weight":243,"cookies":false,"type":"","deprecated":false,"demo":"users\/list-targets.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-targets.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"targets.read","platforms":["server","console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, email, phone, status, passwordUpdate, registration, emailVerification, phoneVerification, labels","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]},"post":{"summary":"Create User Target","operationId":"usersCreateTarget","tags":["users"],"description":"Create a messaging target.","responses":{"201":{"description":"Target","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/target"}}}}},"x-appwrite":{"method":"createTarget","weight":235,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-target.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-target.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"targets.write","platforms":["server","console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"targetId":{"type":"string","description":"Target ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<TARGET_ID>"},"providerType":{"type":"string","description":"The target provider type. Can be one of the following: `email`, `sms` or `push`.","x-example":"email","enum":["email","sms","push"],"x-enum-name":"MessagingProviderType","x-enum-keys":[]},"identifier":{"type":"string","description":"The target identifier (token, email, phone etc.)","x-example":"<IDENTIFIER>"},"providerId":{"type":"string","description":"Provider ID. Message will be sent to this target from the specified provider ID. If no provider ID is set the first setup provider will be used.","x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Target name. Max length: 128 chars. For example: My Awesome App Galaxy S23.","x-example":"<NAME>"}},"required":["targetId","providerType","identifier"]}}}}}},"\/users\/{userId}\/targets\/{targetId}":{"get":{"summary":"Get User Target","operationId":"usersGetTarget","tags":["users"],"description":"Get a user's push notification target by ID.","responses":{"200":{"description":"Target","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/target"}}}}},"x-appwrite":{"method":"getTarget","weight":239,"cookies":false,"type":"","deprecated":false,"demo":"users\/get-target.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user-target.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"targets.read","platforms":["server","console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"},{"name":"targetId","description":"Target ID.","required":true,"schema":{"type":"string","x-example":"<TARGET_ID>"},"in":"path"}]},"patch":{"summary":"Update User target","operationId":"usersUpdateTarget","tags":["users"],"description":"Update a messaging target.","responses":{"200":{"description":"Target","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/target"}}}}},"x-appwrite":{"method":"updateTarget","weight":254,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-target.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-target.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"targets.write","platforms":["server","console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"},{"name":"targetId","description":"Target ID.","required":true,"schema":{"type":"string","x-example":"<TARGET_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"identifier":{"type":"string","description":"The target identifier (token, email, phone etc.)","x-example":"<IDENTIFIER>"},"providerId":{"type":"string","description":"Provider ID. Message will be sent to this target from the specified provider ID. If no provider ID is set the first setup provider will be used.","x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Target name. Max length: 128 chars. For example: My Awesome App Galaxy S23.","x-example":"<NAME>"}}}}}}},"delete":{"summary":"Delete user target","operationId":"usersDeleteTarget","tags":["users"],"description":"Delete a messaging target.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteTarget","weight":266,"cookies":false,"type":"","deprecated":false,"demo":"users\/delete-target.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-target.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"targets.write","platforms":["server","console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"},{"name":"targetId","description":"Target ID.","required":true,"schema":{"type":"string","x-example":"<TARGET_ID>"},"in":"path"}]}},"\/users\/{userId}\/tokens":{"post":{"summary":"Create token","operationId":"usersCreateToken","tags":["users"],"description":"Returns a token with a secret key for creating a session. Use the user ID and secret and submit a request to the [PUT \/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process.\n","responses":{"201":{"description":"Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/token"}}}}},"x-appwrite":{"method":"createToken","weight":262,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-token.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-token.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"length":{"type":"integer","description":"Token length in characters. The default length is 6 characters","x-example":4},"expire":{"type":"integer","description":"Token expiration period in seconds. The default expiration is 15 minutes.","x-example":60}}}}}}}},"\/users\/{userId}\/verification":{"patch":{"summary":"Update email verification","operationId":"usersUpdateEmailVerification","tags":["users"],"description":"Update the user email verification status by its unique ID.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updateEmailVerification","weight":252,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-email-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-email-verification.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"emailVerification":{"type":"boolean","description":"User email verification status.","x-example":false}},"required":["emailVerification"]}}}}}},"\/users\/{userId}\/verification\/phone":{"patch":{"summary":"Update phone verification","operationId":"usersUpdatePhoneVerification","tags":["users"],"description":"Update the user phone verification status by its unique ID.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updatePhoneVerification","weight":247,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-phone-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-phone-verification.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"phoneVerification":{"type":"boolean","description":"User phone verification status.","x-example":false}},"required":["phoneVerification"]}}}}}},"\/vcs\/github\/installations\/{installationId}\/providerRepositories":{"get":{"summary":"List Repositories","operationId":"vcsListRepositories","tags":["vcs"],"description":"","responses":{"200":{"description":"Provider Repositories List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/providerRepositoryList"}}}}},"x-appwrite":{"method":"listRepositories","weight":272,"cookies":false,"type":"","deprecated":false,"demo":"vcs\/list-repositories.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"vcs.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"installationId","description":"Installation Id","required":true,"schema":{"type":"string","x-example":"<INSTALLATION_ID>"},"in":"path"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"<SEARCH>","default":""},"in":"query"}]},"post":{"summary":"Create repository","operationId":"vcsCreateRepository","tags":["vcs"],"description":"","responses":{"200":{"description":"ProviderRepository","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/providerRepository"}}}}},"x-appwrite":{"method":"createRepository","weight":273,"cookies":false,"type":"","deprecated":false,"demo":"vcs\/create-repository.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"vcs.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"installationId","description":"Installation Id","required":true,"schema":{"type":"string","x-example":"<INSTALLATION_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Repository name (slug)","x-example":"<NAME>"},"private":{"type":"boolean","description":"Mark repository public or private","x-example":false}},"required":["name","private"]}}}}}},"\/vcs\/github\/installations\/{installationId}\/providerRepositories\/{providerRepositoryId}":{"get":{"summary":"Get repository","operationId":"vcsGetRepository","tags":["vcs"],"description":"","responses":{"200":{"description":"ProviderRepository","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/providerRepository"}}}}},"x-appwrite":{"method":"getRepository","weight":274,"cookies":false,"type":"","deprecated":false,"demo":"vcs\/get-repository.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"vcs.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"installationId","description":"Installation Id","required":true,"schema":{"type":"string","x-example":"<INSTALLATION_ID>"},"in":"path"},{"name":"providerRepositoryId","description":"Repository Id","required":true,"schema":{"type":"string","x-example":"<PROVIDER_REPOSITORY_ID>"},"in":"path"}]}},"\/vcs\/github\/installations\/{installationId}\/providerRepositories\/{providerRepositoryId}\/branches":{"get":{"summary":"List Repository Branches","operationId":"vcsListRepositoryBranches","tags":["vcs"],"description":"","responses":{"200":{"description":"Branches List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/branchList"}}}}},"x-appwrite":{"method":"listRepositoryBranches","weight":275,"cookies":false,"type":"","deprecated":false,"demo":"vcs\/list-repository-branches.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"vcs.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"installationId","description":"Installation Id","required":true,"schema":{"type":"string","x-example":"<INSTALLATION_ID>"},"in":"path"},{"name":"providerRepositoryId","description":"Repository Id","required":true,"schema":{"type":"string","x-example":"<PROVIDER_REPOSITORY_ID>"},"in":"path"}]}},"\/vcs\/github\/installations\/{installationId}\/providerRepositories\/{providerRepositoryId}\/detection":{"post":{"summary":"Detect runtime settings from source code","operationId":"vcsCreateRepositoryDetection","tags":["vcs"],"description":"","responses":{"200":{"description":"Detection","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/detection"}}}}},"x-appwrite":{"method":"createRepositoryDetection","weight":271,"cookies":false,"type":"","deprecated":false,"demo":"vcs\/create-repository-detection.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"vcs.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"installationId","description":"Installation Id","required":true,"schema":{"type":"string","x-example":"<INSTALLATION_ID>"},"in":"path"},{"name":"providerRepositoryId","description":"Repository Id","required":true,"schema":{"type":"string","x-example":"<PROVIDER_REPOSITORY_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"providerRootDirectory":{"type":"string","description":"Path to Root Directory","x-example":"<PROVIDER_ROOT_DIRECTORY>"}}}}}}}},"\/vcs\/github\/installations\/{installationId}\/repositories\/{repositoryId}":{"patch":{"summary":"Authorize external deployment","operationId":"vcsUpdateExternalDeployments","tags":["vcs"],"description":"","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"updateExternalDeployments","weight":280,"cookies":false,"type":"","deprecated":false,"demo":"vcs\/update-external-deployments.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"vcs.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"installationId","description":"Installation Id","required":true,"schema":{"type":"string","x-example":"<INSTALLATION_ID>"},"in":"path"},{"name":"repositoryId","description":"VCS Repository Id","required":true,"schema":{"type":"string","x-example":"<REPOSITORY_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"providerPullRequestId":{"type":"string","description":"GitHub Pull Request Id","x-example":"<PROVIDER_PULL_REQUEST_ID>"}},"required":["providerPullRequestId"]}}}}}},"\/vcs\/installations":{"get":{"summary":"List installations","operationId":"vcsListInstallations","tags":["vcs"],"description":"","responses":{"200":{"description":"Installations List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/installationList"}}}}},"x-appwrite":{"method":"listInstallations","weight":277,"cookies":false,"type":"","deprecated":false,"demo":"vcs\/list-installations.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/list-installations.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"vcs.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: provider, organization","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"<SEARCH>","default":""},"in":"query"}]}},"\/vcs\/installations\/{installationId}":{"get":{"summary":"Get installation","operationId":"vcsGetInstallation","tags":["vcs"],"description":"","responses":{"200":{"description":"Installation","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/installation"}}}}},"x-appwrite":{"method":"getInstallation","weight":278,"cookies":false,"type":"","deprecated":false,"demo":"vcs\/get-installation.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/get-installation.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"vcs.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"installationId","description":"Installation Id","required":true,"schema":{"type":"string","x-example":"<INSTALLATION_ID>"},"in":"path"}]},"delete":{"summary":"Delete Installation","operationId":"vcsDeleteInstallation","tags":["vcs"],"description":"","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteInstallation","weight":279,"cookies":false,"type":"","deprecated":false,"demo":"vcs\/delete-installation.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/delete-installation.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"vcs.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"installationId","description":"Installation Id","required":true,"schema":{"type":"string","x-example":"<INSTALLATION_ID>"},"in":"path"}]}}},"tags":[{"name":"account","description":"The Account service allows you to authenticate and manage a user account.","x-globalAttributes":[]},{"name":"avatars","description":"The Avatars service aims to help you complete everyday tasks related to your app image, icons, and avatars.","x-globalAttributes":[]},{"name":"databases","description":"The Databases service allows you to create structured collections of documents, query and filter lists of documents","x-globalAttributes":["databaseId"]},{"name":"locale","description":"The Locale service allows you to customize your app based on your users' location.","x-globalAttributes":[]},{"name":"health","description":"The Health service allows you to both validate and monitor your Appwrite server's health.","x-globalAttributes":[]},{"name":"projects","description":"The Project service allows you to manage all the projects in your Appwrite server.","x-globalAttributes":[]},{"name":"project","description":"The Project service allows you to manage all the projects in your Appwrite server.","x-globalAttributes":[]},{"name":"storage","description":"The Storage service allows you to manage your project files.","x-globalAttributes":[]},{"name":"teams","description":"The Teams service allows you to group users of your project and to enable them to share read and write access to your project resources","x-globalAttributes":[]},{"name":"users","description":"The Users service allows you to manage your project users.","x-globalAttributes":[]},{"name":"functions","description":"The Functions Service allows you view, create and manage your Cloud Functions.","x-globalAttributes":[]},{"name":"proxy","description":"The Proxy Service allows you to configure actions for your domains beyond DNS configuration.","x-globalAttributes":[]},{"name":"graphql","description":"The GraphQL API allows you to query and mutate your Appwrite server using GraphQL.","x-globalAttributes":[]},{"name":"console","description":"The Console service allows you to interact with console relevant informations.","x-globalAttributes":[]},{"name":"migrations","description":"The Migrations service allows you to migrate third-party data to your Appwrite project.","x-globalAttributes":[]},{"name":"messaging","description":"The Messaging service allows you to send messages to any provider type (SMTP, push notification, SMS, etc.).","x-globalAttributes":[]}],"components":{"schemas":{"any":{"description":"Any","type":"object","additionalProperties":true},"error":{"description":"Error","type":"object","properties":{"message":{"type":"string","description":"Error message.","x-example":"Not found"},"code":{"type":"string","description":"Error code.","x-example":"404"},"type":{"type":"string","description":"Error type. You can learn more about all the error types at https:\/\/appwrite.io\/docs\/error-codes#errorTypes","x-example":"not_found"},"version":{"type":"string","description":"Server version number.","x-example":"1.0"}},"required":["message","code","type","version"]},"documentList":{"description":"Documents List","type":"object","properties":{"total":{"type":"integer","description":"Total number of documents documents that matched your query.","x-example":5,"format":"int32"},"documents":{"type":"array","description":"List of documents.","items":{"$ref":"#\/components\/schemas\/document"},"x-example":""}},"required":["total","documents"]},"collectionList":{"description":"Collections List","type":"object","properties":{"total":{"type":"integer","description":"Total number of collections documents that matched your query.","x-example":5,"format":"int32"},"collections":{"type":"array","description":"List of collections.","items":{"$ref":"#\/components\/schemas\/collection"},"x-example":""}},"required":["total","collections"]},"databaseList":{"description":"Databases List","type":"object","properties":{"total":{"type":"integer","description":"Total number of databases documents that matched your query.","x-example":5,"format":"int32"},"databases":{"type":"array","description":"List of databases.","items":{"$ref":"#\/components\/schemas\/database"},"x-example":""}},"required":["total","databases"]},"indexList":{"description":"Indexes List","type":"object","properties":{"total":{"type":"integer","description":"Total number of indexes documents that matched your query.","x-example":5,"format":"int32"},"indexes":{"type":"array","description":"List of indexes.","items":{"$ref":"#\/components\/schemas\/index"},"x-example":""}},"required":["total","indexes"]},"userList":{"description":"Users List","type":"object","properties":{"total":{"type":"integer","description":"Total number of users documents that matched your query.","x-example":5,"format":"int32"},"users":{"type":"array","description":"List of users.","items":{"$ref":"#\/components\/schemas\/user"},"x-example":""}},"required":["total","users"]},"sessionList":{"description":"Sessions List","type":"object","properties":{"total":{"type":"integer","description":"Total number of sessions documents that matched your query.","x-example":5,"format":"int32"},"sessions":{"type":"array","description":"List of sessions.","items":{"$ref":"#\/components\/schemas\/session"},"x-example":""}},"required":["total","sessions"]},"identityList":{"description":"Identities List","type":"object","properties":{"total":{"type":"integer","description":"Total number of identities documents that matched your query.","x-example":5,"format":"int32"},"identities":{"type":"array","description":"List of identities.","items":{"$ref":"#\/components\/schemas\/identity"},"x-example":""}},"required":["total","identities"]},"logList":{"description":"Logs List","type":"object","properties":{"total":{"type":"integer","description":"Total number of logs documents that matched your query.","x-example":5,"format":"int32"},"logs":{"type":"array","description":"List of logs.","items":{"$ref":"#\/components\/schemas\/log"},"x-example":""}},"required":["total","logs"]},"fileList":{"description":"Files List","type":"object","properties":{"total":{"type":"integer","description":"Total number of files documents that matched your query.","x-example":5,"format":"int32"},"files":{"type":"array","description":"List of files.","items":{"$ref":"#\/components\/schemas\/file"},"x-example":""}},"required":["total","files"]},"bucketList":{"description":"Buckets List","type":"object","properties":{"total":{"type":"integer","description":"Total number of buckets documents that matched your query.","x-example":5,"format":"int32"},"buckets":{"type":"array","description":"List of buckets.","items":{"$ref":"#\/components\/schemas\/bucket"},"x-example":""}},"required":["total","buckets"]},"teamList":{"description":"Teams List","type":"object","properties":{"total":{"type":"integer","description":"Total number of teams documents that matched your query.","x-example":5,"format":"int32"},"teams":{"type":"array","description":"List of teams.","items":{"$ref":"#\/components\/schemas\/team"},"x-example":""}},"required":["total","teams"]},"membershipList":{"description":"Memberships List","type":"object","properties":{"total":{"type":"integer","description":"Total number of memberships documents that matched your query.","x-example":5,"format":"int32"},"memberships":{"type":"array","description":"List of memberships.","items":{"$ref":"#\/components\/schemas\/membership"},"x-example":""}},"required":["total","memberships"]},"functionList":{"description":"Functions List","type":"object","properties":{"total":{"type":"integer","description":"Total number of functions documents that matched your query.","x-example":5,"format":"int32"},"functions":{"type":"array","description":"List of functions.","items":{"$ref":"#\/components\/schemas\/function"},"x-example":""}},"required":["total","functions"]},"installationList":{"description":"Installations List","type":"object","properties":{"total":{"type":"integer","description":"Total number of installations documents that matched your query.","x-example":5,"format":"int32"},"installations":{"type":"array","description":"List of installations.","items":{"$ref":"#\/components\/schemas\/installation"},"x-example":""}},"required":["total","installations"]},"providerRepositoryList":{"description":"Provider Repositories List","type":"object","properties":{"total":{"type":"integer","description":"Total number of providerRepositories documents that matched your query.","x-example":5,"format":"int32"},"providerRepositories":{"type":"array","description":"List of providerRepositories.","items":{"$ref":"#\/components\/schemas\/providerRepository"},"x-example":""}},"required":["total","providerRepositories"]},"branchList":{"description":"Branches List","type":"object","properties":{"total":{"type":"integer","description":"Total number of branches documents that matched your query.","x-example":5,"format":"int32"},"branches":{"type":"array","description":"List of branches.","items":{"$ref":"#\/components\/schemas\/branch"},"x-example":""}},"required":["total","branches"]},"runtimeList":{"description":"Runtimes List","type":"object","properties":{"total":{"type":"integer","description":"Total number of runtimes documents that matched your query.","x-example":5,"format":"int32"},"runtimes":{"type":"array","description":"List of runtimes.","items":{"$ref":"#\/components\/schemas\/runtime"},"x-example":""}},"required":["total","runtimes"]},"deploymentList":{"description":"Deployments List","type":"object","properties":{"total":{"type":"integer","description":"Total number of deployments documents that matched your query.","x-example":5,"format":"int32"},"deployments":{"type":"array","description":"List of deployments.","items":{"$ref":"#\/components\/schemas\/deployment"},"x-example":""}},"required":["total","deployments"]},"executionList":{"description":"Executions List","type":"object","properties":{"total":{"type":"integer","description":"Total number of executions documents that matched your query.","x-example":5,"format":"int32"},"executions":{"type":"array","description":"List of executions.","items":{"$ref":"#\/components\/schemas\/execution"},"x-example":""}},"required":["total","executions"]},"projectList":{"description":"Projects List","type":"object","properties":{"total":{"type":"integer","description":"Total number of projects documents that matched your query.","x-example":5,"format":"int32"},"projects":{"type":"array","description":"List of projects.","items":{"$ref":"#\/components\/schemas\/project"},"x-example":""}},"required":["total","projects"]},"webhookList":{"description":"Webhooks List","type":"object","properties":{"total":{"type":"integer","description":"Total number of webhooks documents that matched your query.","x-example":5,"format":"int32"},"webhooks":{"type":"array","description":"List of webhooks.","items":{"$ref":"#\/components\/schemas\/webhook"},"x-example":""}},"required":["total","webhooks"]},"keyList":{"description":"API Keys List","type":"object","properties":{"total":{"type":"integer","description":"Total number of keys documents that matched your query.","x-example":5,"format":"int32"},"keys":{"type":"array","description":"List of keys.","items":{"$ref":"#\/components\/schemas\/key"},"x-example":""}},"required":["total","keys"]},"platformList":{"description":"Platforms List","type":"object","properties":{"total":{"type":"integer","description":"Total number of platforms documents that matched your query.","x-example":5,"format":"int32"},"platforms":{"type":"array","description":"List of platforms.","items":{"$ref":"#\/components\/schemas\/platform"},"x-example":""}},"required":["total","platforms"]},"countryList":{"description":"Countries List","type":"object","properties":{"total":{"type":"integer","description":"Total number of countries documents that matched your query.","x-example":5,"format":"int32"},"countries":{"type":"array","description":"List of countries.","items":{"$ref":"#\/components\/schemas\/country"},"x-example":""}},"required":["total","countries"]},"continentList":{"description":"Continents List","type":"object","properties":{"total":{"type":"integer","description":"Total number of continents documents that matched your query.","x-example":5,"format":"int32"},"continents":{"type":"array","description":"List of continents.","items":{"$ref":"#\/components\/schemas\/continent"},"x-example":""}},"required":["total","continents"]},"languageList":{"description":"Languages List","type":"object","properties":{"total":{"type":"integer","description":"Total number of languages documents that matched your query.","x-example":5,"format":"int32"},"languages":{"type":"array","description":"List of languages.","items":{"$ref":"#\/components\/schemas\/language"},"x-example":""}},"required":["total","languages"]},"currencyList":{"description":"Currencies List","type":"object","properties":{"total":{"type":"integer","description":"Total number of currencies documents that matched your query.","x-example":5,"format":"int32"},"currencies":{"type":"array","description":"List of currencies.","items":{"$ref":"#\/components\/schemas\/currency"},"x-example":""}},"required":["total","currencies"]},"phoneList":{"description":"Phones List","type":"object","properties":{"total":{"type":"integer","description":"Total number of phones documents that matched your query.","x-example":5,"format":"int32"},"phones":{"type":"array","description":"List of phones.","items":{"$ref":"#\/components\/schemas\/phone"},"x-example":""}},"required":["total","phones"]},"variableList":{"description":"Variables List","type":"object","properties":{"total":{"type":"integer","description":"Total number of variables documents that matched your query.","x-example":5,"format":"int32"},"variables":{"type":"array","description":"List of variables.","items":{"$ref":"#\/components\/schemas\/variable"},"x-example":""}},"required":["total","variables"]},"proxyRuleList":{"description":"Rule List","type":"object","properties":{"total":{"type":"integer","description":"Total number of rules documents that matched your query.","x-example":5,"format":"int32"},"rules":{"type":"array","description":"List of rules.","items":{"$ref":"#\/components\/schemas\/proxyRule"},"x-example":""}},"required":["total","rules"]},"localeCodeList":{"description":"Locale codes list","type":"object","properties":{"total":{"type":"integer","description":"Total number of localeCodes documents that matched your query.","x-example":5,"format":"int32"},"localeCodes":{"type":"array","description":"List of localeCodes.","items":{"$ref":"#\/components\/schemas\/localeCode"},"x-example":""}},"required":["total","localeCodes"]},"providerList":{"description":"Provider list","type":"object","properties":{"total":{"type":"integer","description":"Total number of providers documents that matched your query.","x-example":5,"format":"int32"},"providers":{"type":"array","description":"List of providers.","items":{"$ref":"#\/components\/schemas\/provider"},"x-example":""}},"required":["total","providers"]},"messageList":{"description":"Message list","type":"object","properties":{"total":{"type":"integer","description":"Total number of messages documents that matched your query.","x-example":5,"format":"int32"},"messages":{"type":"array","description":"List of messages.","items":{"$ref":"#\/components\/schemas\/message"},"x-example":""}},"required":["total","messages"]},"topicList":{"description":"Topic list","type":"object","properties":{"total":{"type":"integer","description":"Total number of topics documents that matched your query.","x-example":5,"format":"int32"},"topics":{"type":"array","description":"List of topics.","items":{"$ref":"#\/components\/schemas\/topic"},"x-example":""}},"required":["total","topics"]},"subscriberList":{"description":"Subscriber list","type":"object","properties":{"total":{"type":"integer","description":"Total number of subscribers documents that matched your query.","x-example":5,"format":"int32"},"subscribers":{"type":"array","description":"List of subscribers.","items":{"$ref":"#\/components\/schemas\/subscriber"},"x-example":""}},"required":["total","subscribers"]},"targetList":{"description":"Target list","type":"object","properties":{"total":{"type":"integer","description":"Total number of targets documents that matched your query.","x-example":5,"format":"int32"},"targets":{"type":"array","description":"List of targets.","items":{"$ref":"#\/components\/schemas\/target"},"x-example":""}},"required":["total","targets"]},"migrationList":{"description":"Migrations List","type":"object","properties":{"total":{"type":"integer","description":"Total number of migrations documents that matched your query.","x-example":5,"format":"int32"},"migrations":{"type":"array","description":"List of migrations.","items":{"$ref":"#\/components\/schemas\/migration"},"x-example":""}},"required":["total","migrations"]},"firebaseProjectList":{"description":"Migrations Firebase Projects List","type":"object","properties":{"total":{"type":"integer","description":"Total number of projects documents that matched your query.","x-example":5,"format":"int32"},"projects":{"type":"array","description":"List of projects.","items":{"$ref":"#\/components\/schemas\/firebaseProject"},"x-example":""}},"required":["total","projects"]},"database":{"description":"Database","type":"object","properties":{"$id":{"type":"string","description":"Database ID.","x-example":"5e5ea5c16897e"},"name":{"type":"string","description":"Database name.","x-example":"My Database"},"$createdAt":{"type":"string","description":"Database creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Database update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"enabled":{"type":"boolean","description":"If database is enabled. Can be 'enabled' or 'disabled'. When disabled, the database is inaccessible to users, but remains accessible to Server SDKs using API keys.","x-example":false}},"required":["$id","name","$createdAt","$updatedAt","enabled"]},"collection":{"description":"Collection","type":"object","properties":{"$id":{"type":"string","description":"Collection ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Collection creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Collection update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$permissions":{"type":"array","description":"Collection permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","items":{"type":"string"},"x-example":["read(\"any\")"]},"databaseId":{"type":"string","description":"Database ID.","x-example":"5e5ea5c16897e"},"name":{"type":"string","description":"Collection name.","x-example":"My Collection"},"enabled":{"type":"boolean","description":"Collection enabled. Can be 'enabled' or 'disabled'. When disabled, the collection is inaccessible to users, but remains accessible to Server SDKs using API keys.","x-example":false},"documentSecurity":{"type":"boolean","description":"Whether document-level permissions are enabled. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":true},"attributes":{"type":"array","description":"Collection attributes.","items":{"anyOf":[{"$ref":"#\/components\/schemas\/attributeBoolean"},{"$ref":"#\/components\/schemas\/attributeInteger"},{"$ref":"#\/components\/schemas\/attributeFloat"},{"$ref":"#\/components\/schemas\/attributeEmail"},{"$ref":"#\/components\/schemas\/attributeEnum"},{"$ref":"#\/components\/schemas\/attributeUrl"},{"$ref":"#\/components\/schemas\/attributeIp"},{"$ref":"#\/components\/schemas\/attributeDatetime"},{"$ref":"#\/components\/schemas\/attributeRelationship"},{"$ref":"#\/components\/schemas\/attributeString"}]},"x-example":{}},"indexes":{"type":"array","description":"Collection indexes.","items":{"$ref":"#\/components\/schemas\/index"},"x-example":{}}},"required":["$id","$createdAt","$updatedAt","$permissions","databaseId","name","enabled","documentSecurity","attributes","indexes"]},"attributeList":{"description":"Attributes List","type":"object","properties":{"total":{"type":"integer","description":"Total number of attributes in the given collection.","x-example":5,"format":"int32"},"attributes":{"type":"array","description":"List of attributes.","items":{"anyOf":[{"$ref":"#\/components\/schemas\/attributeBoolean"},{"$ref":"#\/components\/schemas\/attributeInteger"},{"$ref":"#\/components\/schemas\/attributeFloat"},{"$ref":"#\/components\/schemas\/attributeEmail"},{"$ref":"#\/components\/schemas\/attributeEnum"},{"$ref":"#\/components\/schemas\/attributeUrl"},{"$ref":"#\/components\/schemas\/attributeIp"},{"$ref":"#\/components\/schemas\/attributeDatetime"},{"$ref":"#\/components\/schemas\/attributeRelationship"},{"$ref":"#\/components\/schemas\/attributeString"}]},"x-example":""}},"required":["total","attributes"]},"attributeString":{"description":"AttributeString","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"fullName"},"type":{"type":"string","description":"Attribute type.","x-example":"string"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"nullable":true},"size":{"type":"integer","description":"Attribute size.","x-example":128,"format":"int32"},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"default","nullable":true}},"required":["key","type","status","error","required","size"]},"attributeInteger":{"description":"AttributeInteger","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"count"},"type":{"type":"string","description":"Attribute type.","x-example":"integer"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"nullable":true},"min":{"type":"integer","description":"Minimum value to enforce for new documents.","x-example":1,"format":"int32","nullable":true},"max":{"type":"integer","description":"Maximum value to enforce for new documents.","x-example":10,"format":"int32","nullable":true},"default":{"type":"integer","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":10,"format":"int32","nullable":true}},"required":["key","type","status","error","required"]},"attributeFloat":{"description":"AttributeFloat","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"percentageCompleted"},"type":{"type":"string","description":"Attribute type.","x-example":"double"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"nullable":true},"min":{"type":"number","description":"Minimum value to enforce for new documents.","x-example":1.5,"format":"double","nullable":true},"max":{"type":"number","description":"Maximum value to enforce for new documents.","x-example":10.5,"format":"double","nullable":true},"default":{"type":"number","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":2.5,"format":"double","nullable":true}},"required":["key","type","status","error","required"]},"attributeBoolean":{"description":"AttributeBoolean","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"isEnabled"},"type":{"type":"string","description":"Attribute type.","x-example":"boolean"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"nullable":true},"default":{"type":"boolean","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":false,"nullable":true}},"required":["key","type","status","error","required"]},"attributeEmail":{"description":"AttributeEmail","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"userEmail"},"type":{"type":"string","description":"Attribute type.","x-example":"string"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"nullable":true},"format":{"type":"string","description":"String format.","x-example":"email"},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"default@example.com","nullable":true}},"required":["key","type","status","error","required","format"]},"attributeEnum":{"description":"AttributeEnum","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"status"},"type":{"type":"string","description":"Attribute type.","x-example":"string"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"nullable":true},"elements":{"type":"array","description":"Array of elements in enumerated type.","items":{"type":"string"},"x-example":"element"},"format":{"type":"string","description":"String format.","x-example":"enum"},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"element","nullable":true}},"required":["key","type","status","error","required","elements","format"]},"attributeIp":{"description":"AttributeIP","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"ipAddress"},"type":{"type":"string","description":"Attribute type.","x-example":"string"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"nullable":true},"format":{"type":"string","description":"String format.","x-example":"ip"},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"192.0.2.0","nullable":true}},"required":["key","type","status","error","required","format"]},"attributeUrl":{"description":"AttributeURL","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"githubUrl"},"type":{"type":"string","description":"Attribute type.","x-example":"string"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"nullable":true},"format":{"type":"string","description":"String format.","x-example":"url"},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"http:\/\/example.com","nullable":true}},"required":["key","type","status","error","required","format"]},"attributeDatetime":{"description":"AttributeDatetime","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"birthDay"},"type":{"type":"string","description":"Attribute type.","x-example":"datetime"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"nullable":true},"format":{"type":"string","description":"ISO 8601 format.","x-example":"datetime"},"default":{"type":"string","description":"Default value for attribute when not provided. Only null is optional","x-example":"2020-10-15T06:38:00.000+00:00","nullable":true}},"required":["key","type","status","error","required","format"]},"attributeRelationship":{"description":"AttributeRelationship","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"fullName"},"type":{"type":"string","description":"Attribute type.","x-example":"string"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"nullable":true},"relatedCollection":{"type":"string","description":"The ID of the related collection.","x-example":"collection"},"relationType":{"type":"string","description":"The type of the relationship.","x-example":"oneToOne|oneToMany|manyToOne|manyToMany"},"twoWay":{"type":"boolean","description":"Is the relationship two-way?","x-example":false},"twoWayKey":{"type":"string","description":"The key of the two-way relationship.","x-example":"string"},"onDelete":{"type":"string","description":"How deleting the parent document will propagate to child documents.","x-example":"restrict|cascade|setNull"},"side":{"type":"string","description":"Whether this is the parent or child side of the relationship","x-example":"parent|child"}},"required":["key","type","status","error","required","relatedCollection","relationType","twoWay","twoWayKey","onDelete","side"]},"index":{"description":"Index","type":"object","properties":{"key":{"type":"string","description":"Index Key.","x-example":"index1"},"type":{"type":"string","description":"Index type.","x-example":"primary"},"status":{"type":"string","description":"Index status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an index.","x-example":"string"},"attributes":{"type":"array","description":"Index attributes.","items":{"type":"string"},"x-example":[]},"orders":{"type":"array","description":"Index orders.","items":{"type":"string"},"x-example":[],"nullable":true}},"required":["key","type","status","error","attributes"]},"document":{"description":"Document","type":"object","properties":{"$id":{"type":"string","description":"Document ID.","x-example":"5e5ea5c16897e"},"$collectionId":{"type":"string","description":"Collection ID.","x-example":"5e5ea5c15117e"},"$databaseId":{"type":"string","description":"Database ID.","x-example":"5e5ea5c15117e"},"$createdAt":{"type":"string","description":"Document creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Document update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$permissions":{"type":"array","description":"Document permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","items":{"type":"string"},"x-example":["read(\"any\")"]}},"additionalProperties":true,"required":["$id","$collectionId","$databaseId","$createdAt","$updatedAt","$permissions"]},"log":{"description":"Log","type":"object","properties":{"event":{"type":"string","description":"Event name.","x-example":"account.sessions.create"},"userId":{"type":"string","description":"User ID.","x-example":"610fc2f985ee0"},"userEmail":{"type":"string","description":"User Email.","x-example":"john@appwrite.io"},"userName":{"type":"string","description":"User Name.","x-example":"John Doe"},"mode":{"type":"string","description":"API mode when event triggered.","x-example":"admin"},"ip":{"type":"string","description":"IP session in use when the session was created.","x-example":"127.0.0.1"},"time":{"type":"string","description":"Log creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"osCode":{"type":"string","description":"Operating system code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/os.json).","x-example":"Mac"},"osName":{"type":"string","description":"Operating system name.","x-example":"Mac"},"osVersion":{"type":"string","description":"Operating system version.","x-example":"Mac"},"clientType":{"type":"string","description":"Client type.","x-example":"browser"},"clientCode":{"type":"string","description":"Client code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/clients.json).","x-example":"CM"},"clientName":{"type":"string","description":"Client name.","x-example":"Chrome Mobile iOS"},"clientVersion":{"type":"string","description":"Client version.","x-example":"84.0"},"clientEngine":{"type":"string","description":"Client engine name.","x-example":"WebKit"},"clientEngineVersion":{"type":"string","description":"Client engine name.","x-example":"605.1.15"},"deviceName":{"type":"string","description":"Device name.","x-example":"smartphone"},"deviceBrand":{"type":"string","description":"Device brand name.","x-example":"Google"},"deviceModel":{"type":"string","description":"Device model name.","x-example":"Nexus 5"},"countryCode":{"type":"string","description":"Country two-character ISO 3166-1 alpha code.","x-example":"US"},"countryName":{"type":"string","description":"Country name.","x-example":"United States"}},"required":["event","userId","userEmail","userName","mode","ip","time","osCode","osName","osVersion","clientType","clientCode","clientName","clientVersion","clientEngine","clientEngineVersion","deviceName","deviceBrand","deviceModel","countryCode","countryName"]},"user":{"description":"User","type":"object","properties":{"$id":{"type":"string","description":"User ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"User creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"User update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"User name.","x-example":"John Doe"},"password":{"type":"string","description":"Hashed user password.","x-example":"$argon2id$v=19$m=2048,t=4,p=3$aUZjLnliVWRINmFNTWMudg$5S+x+7uA31xFnrHFT47yFwcJeaP0w92L\/4LdgrVRXxE","nullable":true},"hash":{"type":"string","description":"Password hashing algorithm.","x-example":"argon2","nullable":true},"hashOptions":{"type":"object","description":"Password hashing algorithm configuration.","x-example":{},"items":{"oneOf":[{"$ref":"#\/components\/schemas\/algoArgon2"},{"$ref":"#\/components\/schemas\/algoScrypt"},{"$ref":"#\/components\/schemas\/algoScryptModified"},{"$ref":"#\/components\/schemas\/algoBcrypt"},{"$ref":"#\/components\/schemas\/algoPhpass"},{"$ref":"#\/components\/schemas\/algoSha"},{"$ref":"#\/components\/schemas\/algoMd5"}]},"nullable":true},"registration":{"type":"string","description":"User registration date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"status":{"type":"boolean","description":"User status. Pass `true` for enabled and `false` for disabled.","x-example":true},"labels":{"type":"array","description":"Labels for the user.","items":{"type":"string"},"x-example":["vip"]},"passwordUpdate":{"type":"string","description":"Password update time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"email":{"type":"string","description":"User email address.","x-example":"john@appwrite.io"},"phone":{"type":"string","description":"User phone number in E.164 format.","x-example":"+4930901820"},"emailVerification":{"type":"boolean","description":"Email verification status.","x-example":true},"phoneVerification":{"type":"boolean","description":"Phone verification status.","x-example":true},"mfa":{"type":"boolean","description":"Multi factor authentication status.","x-example":true},"prefs":{"type":"object","description":"User preferences as a key-value object","x-example":{"theme":"pink","timezone":"UTC"},"items":{"$ref":"#\/components\/schemas\/preferences"}},"targets":{"type":"array","description":"A user-owned message receiver. A single user may have multiple e.g. emails, phones, and a browser. Each target is registered with a single provider.","items":{"$ref":"#\/components\/schemas\/target"},"x-example":[]},"accessedAt":{"type":"string","description":"Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.","x-example":"2020-10-15T06:38:00.000+00:00"}},"required":["$id","$createdAt","$updatedAt","name","registration","status","labels","passwordUpdate","email","phone","emailVerification","phoneVerification","mfa","prefs","targets","accessedAt"]},"algoMd5":{"description":"AlgoMD5","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"md5"}},"required":["type"]},"algoSha":{"description":"AlgoSHA","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"sha"}},"required":["type"]},"algoPhpass":{"description":"AlgoPHPass","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"phpass"}},"required":["type"]},"algoBcrypt":{"description":"AlgoBcrypt","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"bcrypt"}},"required":["type"]},"algoScrypt":{"description":"AlgoScrypt","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"scrypt"},"costCpu":{"type":"integer","description":"CPU complexity of computed hash.","x-example":8,"format":"int32"},"costMemory":{"type":"integer","description":"Memory complexity of computed hash.","x-example":14,"format":"int32"},"costParallel":{"type":"integer","description":"Parallelization of computed hash.","x-example":1,"format":"int32"},"length":{"type":"integer","description":"Length used to compute hash.","x-example":64,"format":"int32"}},"required":["type","costCpu","costMemory","costParallel","length"]},"algoScryptModified":{"description":"AlgoScryptModified","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"scryptMod"},"salt":{"type":"string","description":"Salt used to compute hash.","x-example":"UxLMreBr6tYyjQ=="},"saltSeparator":{"type":"string","description":"Separator used to compute hash.","x-example":"Bw=="},"signerKey":{"type":"string","description":"Key used to compute hash.","x-example":"XyEKE9RcTDeLEsL\/RjwPDBv\/RqDl8fb3gpYEOQaPihbxf1ZAtSOHCjuAAa7Q3oHpCYhXSN9tizHgVOwn6krflQ=="}},"required":["type","salt","saltSeparator","signerKey"]},"algoArgon2":{"description":"AlgoArgon2","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"argon2"},"memoryCost":{"type":"integer","description":"Memory used to compute hash.","x-example":65536,"format":"int32"},"timeCost":{"type":"integer","description":"Amount of time consumed to compute hash","x-example":4,"format":"int32"},"threads":{"type":"integer","description":"Number of threads used to compute hash.","x-example":3,"format":"int32"}},"required":["type","memoryCost","timeCost","threads"]},"preferences":{"description":"Preferences","type":"object","additionalProperties":true},"session":{"description":"Session","type":"object","properties":{"$id":{"type":"string","description":"Session ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Session creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Session update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"userId":{"type":"string","description":"User ID.","x-example":"5e5bb8c16897e"},"expire":{"type":"string","description":"Session expiration date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"provider":{"type":"string","description":"Session Provider.","x-example":"email"},"providerUid":{"type":"string","description":"Session Provider User ID.","x-example":"user@example.com"},"providerAccessToken":{"type":"string","description":"Session Provider Access Token.","x-example":"MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3"},"providerAccessTokenExpiry":{"type":"string","description":"The date of when the access token expires in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"providerRefreshToken":{"type":"string","description":"Session Provider Refresh Token.","x-example":"MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3"},"ip":{"type":"string","description":"IP in use when the session was created.","x-example":"127.0.0.1"},"osCode":{"type":"string","description":"Operating system code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/os.json).","x-example":"Mac"},"osName":{"type":"string","description":"Operating system name.","x-example":"Mac"},"osVersion":{"type":"string","description":"Operating system version.","x-example":"Mac"},"clientType":{"type":"string","description":"Client type.","x-example":"browser"},"clientCode":{"type":"string","description":"Client code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/clients.json).","x-example":"CM"},"clientName":{"type":"string","description":"Client name.","x-example":"Chrome Mobile iOS"},"clientVersion":{"type":"string","description":"Client version.","x-example":"84.0"},"clientEngine":{"type":"string","description":"Client engine name.","x-example":"WebKit"},"clientEngineVersion":{"type":"string","description":"Client engine name.","x-example":"605.1.15"},"deviceName":{"type":"string","description":"Device name.","x-example":"smartphone"},"deviceBrand":{"type":"string","description":"Device brand name.","x-example":"Google"},"deviceModel":{"type":"string","description":"Device model name.","x-example":"Nexus 5"},"countryCode":{"type":"string","description":"Country two-character ISO 3166-1 alpha code.","x-example":"US"},"countryName":{"type":"string","description":"Country name.","x-example":"United States"},"current":{"type":"boolean","description":"Returns true if this the current user session.","x-example":true},"factors":{"type":"array","description":"Returns a list of active session factors.","items":{"type":"string"},"x-example":["email"]},"secret":{"type":"string","description":"Secret used to authenticate the user. Only included if the request was made with an API key","x-example":"5e5bb8c16897e"},"mfaUpdatedAt":{"type":"string","description":"Most recent date in ISO 8601 format when the session successfully passed MFA challenge.","x-example":"2020-10-15T06:38:00.000+00:00"}},"required":["$id","$createdAt","$updatedAt","userId","expire","provider","providerUid","providerAccessToken","providerAccessTokenExpiry","providerRefreshToken","ip","osCode","osName","osVersion","clientType","clientCode","clientName","clientVersion","clientEngine","clientEngineVersion","deviceName","deviceBrand","deviceModel","countryCode","countryName","current","factors","secret","mfaUpdatedAt"]},"identity":{"description":"Identity","type":"object","properties":{"$id":{"type":"string","description":"Identity ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Identity creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Identity update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"userId":{"type":"string","description":"User ID.","x-example":"5e5bb8c16897e"},"provider":{"type":"string","description":"Identity Provider.","x-example":"email"},"providerUid":{"type":"string","description":"ID of the User in the Identity Provider.","x-example":"5e5bb8c16897e"},"providerEmail":{"type":"string","description":"Email of the User in the Identity Provider.","x-example":"user@example.com"},"providerAccessToken":{"type":"string","description":"Identity Provider Access Token.","x-example":"MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3"},"providerAccessTokenExpiry":{"type":"string","description":"The date of when the access token expires in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"providerRefreshToken":{"type":"string","description":"Identity Provider Refresh Token.","x-example":"MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3"}},"required":["$id","$createdAt","$updatedAt","userId","provider","providerUid","providerEmail","providerAccessToken","providerAccessTokenExpiry","providerRefreshToken"]},"token":{"description":"Token","type":"object","properties":{"$id":{"type":"string","description":"Token ID.","x-example":"bb8ea5c16897e"},"$createdAt":{"type":"string","description":"Token creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"userId":{"type":"string","description":"User ID.","x-example":"5e5ea5c168bb8"},"secret":{"type":"string","description":"Token secret key. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.","x-example":""},"expire":{"type":"string","description":"Token expiration date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"phrase":{"type":"string","description":"Security phrase of a token. Empty if security phrase was not requested when creating a token. It includes randomly generated phrase which is also sent in the external resource such as email.","x-example":"Golden Fox"}},"required":["$id","$createdAt","userId","secret","expire","phrase"]},"jwt":{"description":"JWT","type":"object","properties":{"jwt":{"type":"string","description":"JWT encoded string.","x-example":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"}},"required":["jwt"]},"locale":{"description":"Locale","type":"object","properties":{"ip":{"type":"string","description":"User IP address.","x-example":"127.0.0.1"},"countryCode":{"type":"string","description":"Country code in [ISO 3166-1](http:\/\/en.wikipedia.org\/wiki\/ISO_3166-1) two-character format","x-example":"US"},"country":{"type":"string","description":"Country name. This field support localization.","x-example":"United States"},"continentCode":{"type":"string","description":"Continent code. A two character continent code \"AF\" for Africa, \"AN\" for Antarctica, \"AS\" for Asia, \"EU\" for Europe, \"NA\" for North America, \"OC\" for Oceania, and \"SA\" for South America.","x-example":"NA"},"continent":{"type":"string","description":"Continent name. This field support localization.","x-example":"North America"},"eu":{"type":"boolean","description":"True if country is part of the European Union.","x-example":false},"currency":{"type":"string","description":"Currency code in [ISO 4217-1](http:\/\/en.wikipedia.org\/wiki\/ISO_4217) three-character format","x-example":"USD"}},"required":["ip","countryCode","country","continentCode","continent","eu","currency"]},"localeCode":{"description":"LocaleCode","type":"object","properties":{"code":{"type":"string","description":"Locale codes in [ISO 639-1](https:\/\/en.wikipedia.org\/wiki\/List_of_ISO_639-1_codes)","x-example":"en-us"},"name":{"type":"string","description":"Locale name","x-example":"US"}},"required":["code","name"]},"file":{"description":"File","type":"object","properties":{"$id":{"type":"string","description":"File ID.","x-example":"5e5ea5c16897e"},"bucketId":{"type":"string","description":"Bucket ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"File creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"File update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$permissions":{"type":"array","description":"File permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","items":{"type":"string"},"x-example":["read(\"any\")"]},"name":{"type":"string","description":"File name.","x-example":"Pink.png"},"signature":{"type":"string","description":"File MD5 signature.","x-example":"5d529fd02b544198ae075bd57c1762bb"},"mimeType":{"type":"string","description":"File mime type.","x-example":"image\/png"},"sizeOriginal":{"type":"integer","description":"File original size in bytes.","x-example":17890,"format":"int32"},"chunksTotal":{"type":"integer","description":"Total number of chunks available","x-example":17890,"format":"int32"},"chunksUploaded":{"type":"integer","description":"Total number of chunks uploaded","x-example":17890,"format":"int32"}},"required":["$id","bucketId","$createdAt","$updatedAt","$permissions","name","signature","mimeType","sizeOriginal","chunksTotal","chunksUploaded"]},"bucket":{"description":"Bucket","type":"object","properties":{"$id":{"type":"string","description":"Bucket ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Bucket creation time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Bucket update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$permissions":{"type":"array","description":"Bucket permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","items":{"type":"string"},"x-example":["read(\"any\")"]},"fileSecurity":{"type":"boolean","description":"Whether file-level security is enabled. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":true},"name":{"type":"string","description":"Bucket name.","x-example":"Documents"},"enabled":{"type":"boolean","description":"Bucket enabled.","x-example":false},"maximumFileSize":{"type":"integer","description":"Maximum file size supported.","x-example":100,"format":"int32"},"allowedFileExtensions":{"type":"array","description":"Allowed file extensions.","items":{"type":"string"},"x-example":["jpg","png"]},"compression":{"type":"string","description":"Compression algorithm choosen for compression. Will be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd).","x-example":"gzip"},"encryption":{"type":"boolean","description":"Bucket is encrypted.","x-example":false},"antivirus":{"type":"boolean","description":"Virus scanning is enabled.","x-example":false}},"required":["$id","$createdAt","$updatedAt","$permissions","fileSecurity","name","enabled","maximumFileSize","allowedFileExtensions","compression","encryption","antivirus"]},"team":{"description":"Team","type":"object","properties":{"$id":{"type":"string","description":"Team ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Team creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Team update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"Team name.","x-example":"VIP"},"total":{"type":"integer","description":"Total number of team members.","x-example":7,"format":"int32"},"prefs":{"type":"object","description":"Team preferences as a key-value object","x-example":{"theme":"pink","timezone":"UTC"},"items":{"$ref":"#\/components\/schemas\/preferences"}}},"required":["$id","$createdAt","$updatedAt","name","total","prefs"]},"membership":{"description":"Membership","type":"object","properties":{"$id":{"type":"string","description":"Membership ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Membership creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Membership update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"userId":{"type":"string","description":"User ID.","x-example":"5e5ea5c16897e"},"userName":{"type":"string","description":"User name.","x-example":"John Doe"},"userEmail":{"type":"string","description":"User email address.","x-example":"john@appwrite.io"},"teamId":{"type":"string","description":"Team ID.","x-example":"5e5ea5c16897e"},"teamName":{"type":"string","description":"Team name.","x-example":"VIP"},"invited":{"type":"string","description":"Date, the user has been invited to join the team in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"joined":{"type":"string","description":"Date, the user has accepted the invitation to join the team in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"confirm":{"type":"boolean","description":"User confirmation status, true if the user has joined the team or false otherwise.","x-example":false},"mfa":{"type":"boolean","description":"Multi factor authentication status, true if the user has MFA enabled or false otherwise.","x-example":false},"roles":{"type":"array","description":"User list of roles","items":{"type":"string"},"x-example":["owner"]}},"required":["$id","$createdAt","$updatedAt","userId","userName","userEmail","teamId","teamName","invited","joined","confirm","mfa","roles"]},"function":{"description":"Function","type":"object","properties":{"$id":{"type":"string","description":"Function ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Function creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Function update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"execute":{"type":"array","description":"Execution permissions.","items":{"type":"string"},"x-example":"users"},"name":{"type":"string","description":"Function name.","x-example":"My Function"},"enabled":{"type":"boolean","description":"Function enabled.","x-example":false},"live":{"type":"boolean","description":"Is the function deployed with the latest configuration? This is set to false if you've changed an environment variables, entrypoint, commands, or other settings that needs redeploy to be applied. When the value is false, redeploy the function to update it with the latest configuration.","x-example":false},"logging":{"type":"boolean","description":"Whether executions will be logged. When set to false, executions will not be logged, but will reduce resource used by your Appwrite project.","x-example":false},"runtime":{"type":"string","description":"Function execution runtime.","x-example":"python-3.8"},"deployment":{"type":"string","description":"Function's active deployment ID.","x-example":"5e5ea5c16897e"},"vars":{"type":"array","description":"Function variables.","items":{"$ref":"#\/components\/schemas\/variable"},"x-example":[]},"events":{"type":"array","description":"Function trigger events.","items":{"type":"string"},"x-example":"account.create"},"schedule":{"type":"string","description":"Function execution schedult in CRON format.","x-example":"5 4 * * *"},"timeout":{"type":"integer","description":"Function execution timeout in seconds.","x-example":300,"format":"int32"},"entrypoint":{"type":"string","description":"The entrypoint file used to execute the deployment.","x-example":"index.js"},"commands":{"type":"string","description":"The build command used to build the deployment.","x-example":"npm install"},"version":{"type":"string","description":"Version of Open Runtimes used for the function.","x-example":"v2"},"installationId":{"type":"string","description":"Function VCS (Version Control System) installation id.","x-example":"6m40at4ejk5h2u9s1hboo"},"providerRepositoryId":{"type":"string","description":"VCS (Version Control System) Repository ID","x-example":"appwrite"},"providerBranch":{"type":"string","description":"VCS (Version Control System) branch name","x-example":"main"},"providerRootDirectory":{"type":"string","description":"Path to function in VCS (Version Control System) repository","x-example":"functions\/helloWorld"},"providerSilentMode":{"type":"boolean","description":"Is VCS (Version Control System) connection is in silent mode? When in silence mode, no comments will be posted on the repository pull or merge requests","x-example":false}},"required":["$id","$createdAt","$updatedAt","execute","name","enabled","live","logging","runtime","deployment","vars","events","schedule","timeout","entrypoint","commands","version","installationId","providerRepositoryId","providerBranch","providerRootDirectory","providerSilentMode"]},"installation":{"description":"Installation","type":"object","properties":{"$id":{"type":"string","description":"Function ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Function creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Function update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"provider":{"type":"string","description":"VCS (Version Control System) provider name.","x-example":"github"},"organization":{"type":"string","description":"VCS (Version Control System) organization name.","x-example":"appwrite"},"providerInstallationId":{"type":"string","description":"VCS (Version Control System) installation ID.","x-example":"5322"}},"required":["$id","$createdAt","$updatedAt","provider","organization","providerInstallationId"]},"providerRepository":{"description":"ProviderRepository","type":"object","properties":{"id":{"type":"string","description":"VCS (Version Control System) repository ID.","x-example":"5e5ea5c16897e"},"name":{"type":"string","description":"VCS (Version Control System) repository name.","x-example":"appwrite"},"organization":{"type":"string","description":"VCS (Version Control System) organization name","x-example":"appwrite"},"provider":{"type":"string","description":"VCS (Version Control System) provider name.","x-example":"github"},"private":{"type":"boolean","description":"Is VCS (Version Control System) repository private?","x-example":true},"runtime":{"type":"string","description":"Auto-detected runtime suggestion. Empty if getting response of getRuntime().","x-example":"node"},"pushedAt":{"type":"string","description":"Last commit date in ISO 8601 format.","x-example":"datetime"}},"required":["id","name","organization","provider","private","runtime","pushedAt"]},"detection":{"description":"Detection","type":"object","properties":{"runtime":{"type":"string","description":"Runtime","x-example":"node"}},"required":["runtime"]},"branch":{"description":"Branch","type":"object","properties":{"name":{"type":"string","description":"Branch Name.","x-example":"main"}},"required":["name"]},"runtime":{"description":"Runtime","type":"object","properties":{"$id":{"type":"string","description":"Runtime ID.","x-example":"python-3.8"},"name":{"type":"string","description":"Runtime Name.","x-example":"Python"},"version":{"type":"string","description":"Runtime version.","x-example":"3.8"},"base":{"type":"string","description":"Base Docker image used to build the runtime.","x-example":"python:3.8-alpine"},"image":{"type":"string","description":"Image name of Docker Hub.","x-example":"appwrite\\\/runtime-for-python:3.8"},"logo":{"type":"string","description":"Name of the logo image.","x-example":"python.png"},"supports":{"type":"array","description":"List of supported architectures.","items":{"type":"string"},"x-example":"amd64"}},"required":["$id","name","version","base","image","logo","supports"]},"deployment":{"description":"Deployment","type":"object","properties":{"$id":{"type":"string","description":"Deployment ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Deployment creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Deployment update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"type":{"type":"string","description":"Type of deployment.","x-example":"vcs"},"resourceId":{"type":"string","description":"Resource ID.","x-example":"5e5ea6g16897e"},"resourceType":{"type":"string","description":"Resource type.","x-example":"functions"},"entrypoint":{"type":"string","description":"The entrypoint file to use to execute the deployment code.","x-example":"index.js"},"size":{"type":"integer","description":"The code size in bytes.","x-example":128,"format":"int32"},"buildId":{"type":"string","description":"The current build ID.","x-example":"5e5ea5c16897e"},"activate":{"type":"boolean","description":"Whether the deployment should be automatically activated.","x-example":true},"status":{"type":"string","description":"The deployment status. Possible values are \"processing\", \"building\", \"waiting\", \"ready\", and \"failed\".","x-example":"ready"},"buildLogs":{"type":"string","description":"The build logs.","x-example":"Compiling source files..."},"buildTime":{"type":"integer","description":"The current build time in seconds.","x-example":128,"format":"int32"},"providerRepositoryName":{"type":"string","description":"The name of the vcs provider repository","x-example":"database"},"providerRepositoryOwner":{"type":"string","description":"The name of the vcs provider repository owner","x-example":"utopia"},"providerRepositoryUrl":{"type":"string","description":"The url of the vcs provider repository","x-example":"https:\/\/github.com\/vermakhushboo\/g4-node-function"},"providerBranch":{"type":"string","description":"The branch of the vcs repository","x-example":"0.7.x"},"providerCommitHash":{"type":"string","description":"The commit hash of the vcs commit","x-example":"7c3f25d"},"providerCommitAuthorUrl":{"type":"string","description":"The url of vcs commit author","x-example":"https:\/\/github.com\/vermakhushboo"},"providerCommitAuthor":{"type":"string","description":"The name of vcs commit author","x-example":"Khushboo Verma"},"providerCommitMessage":{"type":"string","description":"The commit message","x-example":"Update index.js"},"providerCommitUrl":{"type":"string","description":"The url of the vcs commit","x-example":"https:\/\/github.com\/vermakhushboo\/g4-node-function\/commit\/60c0416257a9cbcdd96b2d370c38d8f8d150ccfb"},"providerBranchUrl":{"type":"string","description":"The branch of the vcs repository","x-example":"https:\/\/github.com\/vermakhushboo\/appwrite\/tree\/0.7.x"}},"required":["$id","$createdAt","$updatedAt","type","resourceId","resourceType","entrypoint","size","buildId","activate","status","buildLogs","buildTime","providerRepositoryName","providerRepositoryOwner","providerRepositoryUrl","providerBranch","providerCommitHash","providerCommitAuthorUrl","providerCommitAuthor","providerCommitMessage","providerCommitUrl","providerBranchUrl"]},"execution":{"description":"Execution","type":"object","properties":{"$id":{"type":"string","description":"Execution ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Execution creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Execution upate date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$permissions":{"type":"array","description":"Execution roles.","items":{"type":"string"},"x-example":["any"]},"functionId":{"type":"string","description":"Function ID.","x-example":"5e5ea6g16897e"},"trigger":{"type":"string","description":"The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.","x-example":"http"},"status":{"type":"string","description":"The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, or `failed`.","x-example":"processing"},"requestMethod":{"type":"string","description":"HTTP request method type.","x-example":"GET"},"requestPath":{"type":"string","description":"HTTP request path and query.","x-example":"\/articles?id=5"},"requestHeaders":{"type":"array","description":"HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.","items":{"$ref":"#\/components\/schemas\/headers"},"x-example":[{"Content-Type":"application\/json"}]},"responseStatusCode":{"type":"integer","description":"HTTP response status code.","x-example":200,"format":"int32"},"responseBody":{"type":"string","description":"HTTP response body. This will return empty unless execution is created as synchronous.","x-example":"Developers are awesome."},"responseHeaders":{"type":"array","description":"HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.","items":{"$ref":"#\/components\/schemas\/headers"},"x-example":[{"Content-Type":"application\/json"}]},"logs":{"type":"string","description":"Function logs. Includes the last 4,000 characters. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.","x-example":""},"errors":{"type":"string","description":"Function errors. Includes the last 4,000 characters. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.","x-example":""},"duration":{"type":"number","description":"Function execution duration in seconds.","x-example":0.4,"format":"double"}},"required":["$id","$createdAt","$updatedAt","$permissions","functionId","trigger","status","requestMethod","requestPath","requestHeaders","responseStatusCode","responseBody","responseHeaders","logs","errors","duration"]},"project":{"description":"Project","type":"object","properties":{"$id":{"type":"string","description":"Project ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Project creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Project update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"Project name.","x-example":"New Project"},"description":{"type":"string","description":"Project description.","x-example":"This is a new project."},"teamId":{"type":"string","description":"Project team ID.","x-example":"1592981250"},"logo":{"type":"string","description":"Project logo file ID.","x-example":"5f5c451b403cb"},"url":{"type":"string","description":"Project website URL.","x-example":"5f5c451b403cb"},"legalName":{"type":"string","description":"Company legal name.","x-example":"Company LTD."},"legalCountry":{"type":"string","description":"Country code in [ISO 3166-1](http:\/\/en.wikipedia.org\/wiki\/ISO_3166-1) two-character format.","x-example":"US"},"legalState":{"type":"string","description":"State name.","x-example":"New York"},"legalCity":{"type":"string","description":"City name.","x-example":"New York City."},"legalAddress":{"type":"string","description":"Company Address.","x-example":"620 Eighth Avenue, New York, NY 10018"},"legalTaxId":{"type":"string","description":"Company Tax ID.","x-example":"131102020"},"authDuration":{"type":"integer","description":"Session duration in seconds.","x-example":60,"format":"int32"},"authLimit":{"type":"integer","description":"Max users allowed. 0 is unlimited.","x-example":100,"format":"int32"},"authSessionsLimit":{"type":"integer","description":"Max sessions allowed per user. 100 maximum.","x-example":10,"format":"int32"},"authPasswordHistory":{"type":"integer","description":"Max allowed passwords in the history list per user. Max passwords limit allowed in history is 20. Use 0 for disabling password history.","x-example":5,"format":"int32"},"authPasswordDictionary":{"type":"boolean","description":"Whether or not to check user's password against most commonly used passwords.","x-example":true},"authPersonalDataCheck":{"type":"boolean","description":"Whether or not to check the user password for similarity with their personal data.","x-example":true},"oAuthProviders":{"type":"array","description":"List of Auth Providers.","items":{"$ref":"#\/components\/schemas\/authProvider"},"x-example":[{}]},"platforms":{"type":"array","description":"List of Platforms.","items":{"$ref":"#\/components\/schemas\/platform"},"x-example":{}},"webhooks":{"type":"array","description":"List of Webhooks.","items":{"$ref":"#\/components\/schemas\/webhook"},"x-example":{}},"keys":{"type":"array","description":"List of API Keys.","items":{"$ref":"#\/components\/schemas\/key"},"x-example":{}},"smtpEnabled":{"type":"boolean","description":"Status for custom SMTP","x-example":false},"smtpSenderName":{"type":"string","description":"SMTP sender name","x-example":"John Appwrite"},"smtpSenderEmail":{"type":"string","description":"SMTP sender email","x-example":"john@appwrite.io"},"smtpReplyTo":{"type":"string","description":"SMTP reply to email","x-example":"support@appwrite.io"},"smtpHost":{"type":"string","description":"SMTP server host name","x-example":"mail.appwrite.io"},"smtpPort":{"type":"integer","description":"SMTP server port","x-example":25,"format":"int32"},"smtpUsername":{"type":"string","description":"SMTP server username","x-example":"emailuser"},"smtpPassword":{"type":"string","description":"SMTP server password","x-example":"securepassword"},"smtpSecure":{"type":"string","description":"SMTP server secure protocol","x-example":"tls"},"authEmailPassword":{"type":"boolean","description":"Email\/Password auth method status","x-example":true},"authUsersAuthMagicURL":{"type":"boolean","description":"Magic URL auth method status","x-example":true},"authEmailOtp":{"type":"boolean","description":"Email (OTP) auth method status","x-example":true},"authAnonymous":{"type":"boolean","description":"Anonymous auth method status","x-example":true},"authInvites":{"type":"boolean","description":"Invites auth method status","x-example":true},"authJWT":{"type":"boolean","description":"JWT auth method status","x-example":true},"authPhone":{"type":"boolean","description":"Phone auth method status","x-example":true},"serviceStatusForAccount":{"type":"boolean","description":"Account service status","x-example":true},"serviceStatusForAvatars":{"type":"boolean","description":"Avatars service status","x-example":true},"serviceStatusForDatabases":{"type":"boolean","description":"Databases service status","x-example":true},"serviceStatusForLocale":{"type":"boolean","description":"Locale service status","x-example":true},"serviceStatusForHealth":{"type":"boolean","description":"Health service status","x-example":true},"serviceStatusForStorage":{"type":"boolean","description":"Storage service status","x-example":true},"serviceStatusForTeams":{"type":"boolean","description":"Teams service status","x-example":true},"serviceStatusForUsers":{"type":"boolean","description":"Users service status","x-example":true},"serviceStatusForFunctions":{"type":"boolean","description":"Functions service status","x-example":true},"serviceStatusForGraphql":{"type":"boolean","description":"GraphQL service status","x-example":true},"serviceStatusForMessaging":{"type":"boolean","description":"Messaging service status","x-example":true}},"required":["$id","$createdAt","$updatedAt","name","description","teamId","logo","url","legalName","legalCountry","legalState","legalCity","legalAddress","legalTaxId","authDuration","authLimit","authSessionsLimit","authPasswordHistory","authPasswordDictionary","authPersonalDataCheck","oAuthProviders","platforms","webhooks","keys","smtpEnabled","smtpSenderName","smtpSenderEmail","smtpReplyTo","smtpHost","smtpPort","smtpUsername","smtpPassword","smtpSecure","authEmailPassword","authUsersAuthMagicURL","authEmailOtp","authAnonymous","authInvites","authJWT","authPhone","serviceStatusForAccount","serviceStatusForAvatars","serviceStatusForDatabases","serviceStatusForLocale","serviceStatusForHealth","serviceStatusForStorage","serviceStatusForTeams","serviceStatusForUsers","serviceStatusForFunctions","serviceStatusForGraphql","serviceStatusForMessaging"]},"webhook":{"description":"Webhook","type":"object","properties":{"$id":{"type":"string","description":"Webhook ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Webhook creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Webhook update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"Webhook name.","x-example":"My Webhook"},"url":{"type":"string","description":"Webhook URL endpoint.","x-example":"https:\/\/example.com\/webhook"},"events":{"type":"array","description":"Webhook trigger events.","items":{"type":"string"},"x-example":"database.collections.update"},"security":{"type":"boolean","description":"Indicated if SSL \/ TLS Certificate verification is enabled.","x-example":true},"httpUser":{"type":"string","description":"HTTP basic authentication username.","x-example":"username"},"httpPass":{"type":"string","description":"HTTP basic authentication password.","x-example":"password"},"signatureKey":{"type":"string","description":"Signature key which can be used to validated incoming","x-example":"ad3d581ca230e2b7059c545e5a"},"enabled":{"type":"boolean","description":"Indicates if this webhook is enabled.","x-example":true},"logs":{"type":"string","description":"Webhook error logs from the most recent failure.","x-example":"Failed to connect to remote server."},"attempts":{"type":"integer","description":"Number of consecutive failed webhook attempts.","x-example":10,"format":"int32"}},"required":["$id","$createdAt","$updatedAt","name","url","events","security","httpUser","httpPass","signatureKey","enabled","logs","attempts"]},"key":{"description":"Key","type":"object","properties":{"$id":{"type":"string","description":"Key ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Key creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Key update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"Key name.","x-example":"My API Key"},"expire":{"type":"string","description":"Key expiration date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"scopes":{"type":"array","description":"Allowed permission scopes.","items":{"type":"string"},"x-example":"users.read"},"secret":{"type":"string","description":"Secret key.","x-example":"919c2d18fb5d4...a2ae413da83346ad2"},"accessedAt":{"type":"string","description":"Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.","x-example":"2020-10-15T06:38:00.000+00:00"},"sdks":{"type":"array","description":"List of SDK user agents that used this key.","items":{"type":"string"},"x-example":"appwrite:flutter"}},"required":["$id","$createdAt","$updatedAt","name","expire","scopes","secret","accessedAt","sdks"]},"authProvider":{"description":"AuthProvider","type":"object","properties":{"key":{"type":"string","description":"Auth Provider.","x-example":"github"},"name":{"type":"string","description":"Auth Provider name.","x-example":"GitHub"},"appId":{"type":"string","description":"OAuth 2.0 application ID.","x-example":"259125845563242502"},"secret":{"type":"string","description":"OAuth 2.0 application secret. Might be JSON string if provider requires extra configuration.","x-example":"Bpw_g9c2TGXxfgLshDbSaL8tsCcqgczQ"},"enabled":{"type":"boolean","description":"Auth Provider is active and can be used to create session.","x-example":""}},"required":["key","name","appId","secret","enabled"]},"platform":{"description":"Platform","type":"object","properties":{"$id":{"type":"string","description":"Platform ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Platform creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Platform update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"Platform name.","x-example":"My Web App"},"type":{"type":"string","description":"Platform type. Possible values are: web, flutter-web, flutter-ios, flutter-android, ios, android, and unity.","x-example":"web"},"key":{"type":"string","description":"Platform Key. iOS bundle ID or Android package name. Empty string for other platforms.","x-example":"com.company.appname"},"store":{"type":"string","description":"App store or Google Play store ID.","x-example":""},"hostname":{"type":"string","description":"Web app hostname. Empty string for other platforms.","x-example":true},"httpUser":{"type":"string","description":"HTTP basic authentication username.","x-example":"username"},"httpPass":{"type":"string","description":"HTTP basic authentication password.","x-example":"password"}},"required":["$id","$createdAt","$updatedAt","name","type","key","store","hostname","httpUser","httpPass"]},"variable":{"description":"Variable","type":"object","properties":{"$id":{"type":"string","description":"Variable ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Variable creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Variable creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"key":{"type":"string","description":"Variable key.","x-example":"API_KEY"},"value":{"type":"string","description":"Variable value.","x-example":"myPa$$word1"},"resourceType":{"type":"string","description":"Service to which the variable belongs. Possible values are \"project\", \"function\"","x-example":"function"},"resourceId":{"type":"string","description":"ID of resource to which the variable belongs. If resourceType is \"project\", it is empty. If resourceType is \"function\", it is ID of the function.","x-example":"myAwesomeFunction"}},"required":["$id","$createdAt","$updatedAt","key","value","resourceType","resourceId"]},"country":{"description":"Country","type":"object","properties":{"name":{"type":"string","description":"Country name.","x-example":"United States"},"code":{"type":"string","description":"Country two-character ISO 3166-1 alpha code.","x-example":"US"}},"required":["name","code"]},"continent":{"description":"Continent","type":"object","properties":{"name":{"type":"string","description":"Continent name.","x-example":"Europe"},"code":{"type":"string","description":"Continent two letter code.","x-example":"EU"}},"required":["name","code"]},"language":{"description":"Language","type":"object","properties":{"name":{"type":"string","description":"Language name.","x-example":"Italian"},"code":{"type":"string","description":"Language two-character ISO 639-1 codes.","x-example":"it"},"nativeName":{"type":"string","description":"Language native name.","x-example":"Italiano"}},"required":["name","code","nativeName"]},"currency":{"description":"Currency","type":"object","properties":{"symbol":{"type":"string","description":"Currency symbol.","x-example":"$"},"name":{"type":"string","description":"Currency name.","x-example":"US dollar"},"symbolNative":{"type":"string","description":"Currency native symbol.","x-example":"$"},"decimalDigits":{"type":"integer","description":"Number of decimal digits.","x-example":2,"format":"int32"},"rounding":{"type":"number","description":"Currency digit rounding.","x-example":0,"format":"double"},"code":{"type":"string","description":"Currency code in [ISO 4217-1](http:\/\/en.wikipedia.org\/wiki\/ISO_4217) three-character format.","x-example":"USD"},"namePlural":{"type":"string","description":"Currency plural name","x-example":"US dollars"}},"required":["symbol","name","symbolNative","decimalDigits","rounding","code","namePlural"]},"phone":{"description":"Phone","type":"object","properties":{"code":{"type":"string","description":"Phone code.","x-example":"+1"},"countryCode":{"type":"string","description":"Country two-character ISO 3166-1 alpha code.","x-example":"US"},"countryName":{"type":"string","description":"Country name.","x-example":"United States"}},"required":["code","countryCode","countryName"]},"healthAntivirus":{"description":"Health Antivirus","type":"object","properties":{"version":{"type":"string","description":"Antivirus version.","x-example":"1.0.0"},"status":{"type":"string","description":"Antivirus status. Possible values can are: `disabled`, `offline`, `online`","x-example":"online"}},"required":["version","status"]},"healthQueue":{"description":"Health Queue","type":"object","properties":{"size":{"type":"integer","description":"Amount of actions in the queue.","x-example":8,"format":"int32"}},"required":["size"]},"healthStatus":{"description":"Health Status","type":"object","properties":{"name":{"type":"string","description":"Name of the service.","x-example":"database"},"ping":{"type":"integer","description":"Duration in milliseconds how long the health check took.","x-example":128,"format":"int32"},"status":{"type":"string","description":"Service status. Possible values can are: `pass`, `fail`","x-example":"pass"}},"required":["name","ping","status"]},"healthCertificate":{"description":"Health Certificate","type":"object","properties":{"name":{"type":"string","description":"Certificate name","x-example":"\/CN=www.google.com"},"subjectSN":{"type":"string","description":"Subject SN","x-example":""},"issuerOrganisation":{"type":"string","description":"Issuer organisation","x-example":""},"validFrom":{"type":"string","description":"Valid from","x-example":"1704200998"},"validTo":{"type":"string","description":"Valid to","x-example":"1711458597"},"signatureTypeSN":{"type":"string","description":"Signature type SN","x-example":"RSA-SHA256"}},"required":["name","subjectSN","issuerOrganisation","validFrom","validTo","signatureTypeSN"]},"healthTime":{"description":"Health Time","type":"object","properties":{"remoteTime":{"type":"integer","description":"Current unix timestamp on trustful remote server.","x-example":1639490751,"format":"int32"},"localTime":{"type":"integer","description":"Current unix timestamp of local server where Appwrite runs.","x-example":1639490844,"format":"int32"},"diff":{"type":"integer","description":"Difference of unix remote and local timestamps in milliseconds.","x-example":93,"format":"int32"}},"required":["remoteTime","localTime","diff"]},"metric":{"description":"Metric","type":"object","properties":{"value":{"type":"integer","description":"The value of this metric at the timestamp.","x-example":1,"format":"int32"},"date":{"type":"string","description":"The date at which this metric was aggregated in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"}},"required":["value","date"]},"metricBreakdown":{"description":"Metric Breakdown","type":"object","properties":{"resourceId":{"type":"string","description":"Resource ID.","x-example":"5e5ea5c16897e"},"name":{"type":"string","description":"Resource name.","x-example":"Documents"},"value":{"type":"integer","description":"The value of this metric at the timestamp.","x-example":1,"format":"int32"}},"required":["resourceId","name","value"]},"usageDatabases":{"description":"UsageDatabases","type":"object","properties":{"range":{"type":"string","description":"Time range of the usage stats.","x-example":"30d"},"databasesTotal":{"type":"integer","description":"Total aggregated number of databases.","x-example":0,"format":"int32"},"collectionsTotal":{"type":"integer","description":"Total aggregated number of collections.","x-example":0,"format":"int32"},"documentsTotal":{"type":"integer","description":"Total aggregated number of documents.","x-example":0,"format":"int32"},"databases":{"type":"array","description":"Aggregated number of databases per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]},"collections":{"type":"array","description":"Aggregated number of collections per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]},"documents":{"type":"array","description":"Aggregated number of documents per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]}},"required":["range","databasesTotal","collectionsTotal","documentsTotal","databases","collections","documents"]},"usageDatabase":{"description":"UsageDatabase","type":"object","properties":{"range":{"type":"string","description":"Time range of the usage stats.","x-example":"30d"},"collectionsTotal":{"type":"integer","description":"Total aggregated number of collections.","x-example":0,"format":"int32"},"documentsTotal":{"type":"integer","description":"Total aggregated number of documents.","x-example":0,"format":"int32"},"collections":{"type":"array","description":"Aggregated number of collections per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]},"documents":{"type":"array","description":"Aggregated number of documents per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]}},"required":["range","collectionsTotal","documentsTotal","collections","documents"]},"usageCollection":{"description":"UsageCollection","type":"object","properties":{"range":{"type":"string","description":"Time range of the usage stats.","x-example":"30d"},"documentsTotal":{"type":"integer","description":"Total aggregated number of of documents.","x-example":0,"format":"int32"},"documents":{"type":"array","description":"Aggregated number of documents per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]}},"required":["range","documentsTotal","documents"]},"usageUsers":{"description":"UsageUsers","type":"object","properties":{"range":{"type":"string","description":"Time range of the usage stats.","x-example":"30d"},"usersTotal":{"type":"integer","description":"Total aggregated number of statistics of users.","x-example":0,"format":"int32"},"sessionsTotal":{"type":"integer","description":"Total aggregated number of active sessions.","x-example":0,"format":"int32"},"users":{"type":"array","description":"Aggregated number of users per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]},"sessions":{"type":"array","description":"Aggregated number of active sessions per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]}},"required":["range","usersTotal","sessionsTotal","users","sessions"]},"usageStorage":{"description":"StorageUsage","type":"object","properties":{"range":{"type":"string","description":"Time range of the usage stats.","x-example":"30d"},"bucketsTotal":{"type":"integer","description":"Total aggregated number of buckets","x-example":0,"format":"int32"},"filesTotal":{"type":"integer","description":"Total aggregated number of files.","x-example":0,"format":"int32"},"filesStorageTotal":{"type":"integer","description":"Total aggregated number of files storage (in bytes).","x-example":0,"format":"int32"},"buckets":{"type":"array","description":"Aggregated number of buckets per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]},"files":{"type":"array","description":"Aggregated number of files per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]},"storage":{"type":"array","description":"Aggregated number of files storage (in bytes) per period .","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]}},"required":["range","bucketsTotal","filesTotal","filesStorageTotal","buckets","files","storage"]},"usageBuckets":{"description":"UsageBuckets","type":"object","properties":{"range":{"type":"string","description":"Time range of the usage stats.","x-example":"30d"},"filesTotal":{"type":"integer","description":"Total aggregated number of bucket files.","x-example":0,"format":"int32"},"filesStorageTotal":{"type":"integer","description":"Total aggregated number of bucket files storage (in bytes).","x-example":0,"format":"int32"},"files":{"type":"array","description":"Aggregated number of bucket files per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]},"storage":{"type":"array","description":"Aggregated number of bucket storage files (in bytes) per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]}},"required":["range","filesTotal","filesStorageTotal","files","storage"]},"usageFunctions":{"description":"UsageFunctions","type":"object","properties":{"range":{"type":"string","description":"Time range of the usage stats.","x-example":"30d"},"functionsTotal":{"type":"integer","description":"Total aggregated number of functions.","x-example":0,"format":"int32"},"deploymentsTotal":{"type":"integer","description":"Total aggregated number of functions deployments.","x-example":0,"format":"int32"},"deploymentsStorageTotal":{"type":"integer","description":"Total aggregated sum of functions deployment storage.","x-example":0,"format":"int32"},"buildsTotal":{"type":"integer","description":"Total aggregated number of functions build.","x-example":0,"format":"int32"},"buildsStorageTotal":{"type":"integer","description":"total aggregated sum of functions build storage.","x-example":0,"format":"int32"},"buildsTimeTotal":{"type":"integer","description":"Total aggregated sum of functions build compute time.","x-example":0,"format":"int32"},"buildsMbSecondsTotal":{"type":"integer","description":"Total aggregated sum of functions build mbSeconds.","x-example":0,"format":"int32"},"executionsTotal":{"type":"integer","description":"Total aggregated number of functions execution.","x-example":0,"format":"int32"},"executionsTimeTotal":{"type":"integer","description":"Total aggregated sum of functions execution compute time.","x-example":0,"format":"int32"},"executionsMbSecondsTotal":{"type":"integer","description":"Total aggregated sum of functions execution mbSeconds.","x-example":0,"format":"int32"},"functions":{"type":"array","description":"Aggregated number of functions per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":0},"deployments":{"type":"array","description":"Aggregated number of functions deployment per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]},"deploymentsStorage":{"type":"array","description":"Aggregated number of functions deployment storage per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]},"builds":{"type":"array","description":"Aggregated number of functions build per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]},"buildsStorage":{"type":"array","description":"Aggregated sum of functions build storage per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]},"buildsTime":{"type":"array","description":"Aggregated sum of functions build compute time per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]},"buildsMbSeconds":{"type":"array","description":"Aggregated sum of functions build mbSeconds per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]},"executions":{"type":"array","description":"Aggregated number of functions execution per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]},"executionsTime":{"type":"array","description":"Aggregated number of functions execution compute time per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]},"executionsMbSeconds":{"type":"array","description":"Aggregated number of functions mbSeconds per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]}},"required":["range","functionsTotal","deploymentsTotal","deploymentsStorageTotal","buildsTotal","buildsStorageTotal","buildsTimeTotal","buildsMbSecondsTotal","executionsTotal","executionsTimeTotal","executionsMbSecondsTotal","functions","deployments","deploymentsStorage","builds","buildsStorage","buildsTime","buildsMbSeconds","executions","executionsTime","executionsMbSeconds"]},"usageFunction":{"description":"UsageFunction","type":"object","properties":{"range":{"type":"string","description":"The time range of the usage stats.","x-example":"30d"},"deploymentsTotal":{"type":"integer","description":"Total aggregated number of function deployments.","x-example":0,"format":"int32"},"deploymentsStorageTotal":{"type":"integer","description":"Total aggregated sum of function deployments storage.","x-example":0,"format":"int32"},"buildsTotal":{"type":"integer","description":"Total aggregated number of function builds.","x-example":0,"format":"int32"},"buildsStorageTotal":{"type":"integer","description":"total aggregated sum of function builds storage.","x-example":0,"format":"int32"},"buildsTimeTotal":{"type":"integer","description":"Total aggregated sum of function builds compute time.","x-example":0,"format":"int32"},"buildsMbSecondsTotal":{"type":"integer","description":"Total aggregated sum of function builds mbSeconds.","x-example":0,"format":"int32"},"executionsTotal":{"type":"integer","description":"Total aggregated number of function executions.","x-example":0,"format":"int32"},"executionsTimeTotal":{"type":"integer","description":"Total aggregated sum of function executions compute time.","x-example":0,"format":"int32"},"executionsMbSecondsTotal":{"type":"integer","description":"Total aggregated sum of function executions mbSeconds.","x-example":0,"format":"int32"},"deployments":{"type":"array","description":"Aggregated number of function deployments per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]},"deploymentsStorage":{"type":"array","description":"Aggregated number of function deployments storage per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]},"builds":{"type":"array","description":"Aggregated number of function builds per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]},"buildsStorage":{"type":"array","description":"Aggregated sum of function builds storage per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]},"buildsTime":{"type":"array","description":"Aggregated sum of function builds compute time per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]},"buildsMbSeconds":{"type":"array","description":"Aggregated number of function builds mbSeconds per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]},"executions":{"type":"array","description":"Aggregated number of function executions per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]},"executionsTime":{"type":"array","description":"Aggregated number of function executions compute time per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]},"executionsMbSeconds":{"type":"array","description":"Aggregated number of function mbSeconds per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]}},"required":["range","deploymentsTotal","deploymentsStorageTotal","buildsTotal","buildsStorageTotal","buildsTimeTotal","buildsMbSecondsTotal","executionsTotal","executionsTimeTotal","executionsMbSecondsTotal","deployments","deploymentsStorage","builds","buildsStorage","buildsTime","buildsMbSeconds","executions","executionsTime","executionsMbSeconds"]},"usageProject":{"description":"UsageProject","type":"object","properties":{"executionsTotal":{"type":"integer","description":"Total aggregated number of function executions.","x-example":0,"format":"int32"},"documentsTotal":{"type":"integer","description":"Total aggregated number of documents.","x-example":0,"format":"int32"},"databasesTotal":{"type":"integer","description":"Total aggregated number of databases.","x-example":0,"format":"int32"},"usersTotal":{"type":"integer","description":"Total aggregated number of users.","x-example":0,"format":"int32"},"filesStorageTotal":{"type":"integer","description":"Total aggregated sum of files storage size (in bytes).","x-example":0,"format":"int32"},"deploymentsStorageTotal":{"type":"integer","description":"Total aggregated sum of deployments storage size (in bytes).","x-example":0,"format":"int32"},"bucketsTotal":{"type":"integer","description":"Total aggregated number of buckets.","x-example":0,"format":"int32"},"executionsMbSecondsTotal":{"type":"integer","description":"Total aggregated number of function executions mbSeconds.","x-example":0,"format":"int32"},"buildsMbSecondsTotal":{"type":"integer","description":"Total aggregated number of function builds mbSeconds.","x-example":0,"format":"int32"},"requests":{"type":"array","description":"Aggregated number of requests per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]},"network":{"type":"array","description":"Aggregated number of consumed bandwidth per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]},"users":{"type":"array","description":"Aggregated number of users per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]},"executions":{"type":"array","description":"Aggregated number of executions per period.","items":{"$ref":"#\/components\/schemas\/metric"},"x-example":[]},"executionsBreakdown":{"type":"array","description":"Aggregated breakdown in totals of executions by functions.","items":{"$ref":"#\/components\/schemas\/metricBreakdown"},"x-example":[]},"bucketsBreakdown":{"type":"array","description":"Aggregated breakdown in totals of usage by buckets.","items":{"$ref":"#\/components\/schemas\/metricBreakdown"},"x-example":[]},"executionsMbSecondsBreakdown":{"type":"array","description":"Aggregated breakdown in totals of execution mbSeconds by functions.","items":{"$ref":"#\/components\/schemas\/metricBreakdown"},"x-example":[]},"buildsMbSecondsBreakdown":{"type":"array","description":"Aggregated breakdown in totals of build mbSeconds by functions.","items":{"$ref":"#\/components\/schemas\/metricBreakdown"},"x-example":[]},"deploymentsStorageBreakdown":{"type":"array","description":"Aggregated breakdown in totals of deployments storage size (in bytes).","items":{"$ref":"#\/components\/schemas\/metricBreakdown"},"x-example":[]}},"required":["executionsTotal","documentsTotal","databasesTotal","usersTotal","filesStorageTotal","deploymentsStorageTotal","bucketsTotal","executionsMbSecondsTotal","buildsMbSecondsTotal","requests","network","users","executions","executionsBreakdown","bucketsBreakdown","executionsMbSecondsBreakdown","buildsMbSecondsBreakdown","deploymentsStorageBreakdown"]},"headers":{"description":"Headers","type":"object","properties":{"name":{"type":"string","description":"Header name.","x-example":"Content-Type"},"value":{"type":"string","description":"Header value.","x-example":"application\/json"}},"required":["name","value"]},"proxyRule":{"description":"Rule","type":"object","properties":{"$id":{"type":"string","description":"Rule ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Rule creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Rule update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"domain":{"type":"string","description":"Domain name.","x-example":"appwrite.company.com"},"resourceType":{"type":"string","description":"Action definition for the rule. Possible values are \"api\", \"function\", or \"redirect\"","x-example":"function"},"resourceId":{"type":"string","description":"ID of resource for the action type. If resourceType is \"api\" or \"url\", it is empty. If resourceType is \"function\", it is ID of the function.","x-example":"myAwesomeFunction"},"status":{"type":"string","description":"Domain verification status. Possible values are \"created\", \"verifying\", \"verified\" and \"unverified\"","x-example":"verified"},"logs":{"type":"string","description":"Certificate generation logs. This will return an empty string if generation did not run, or succeeded.","x-example":"HTTP challegne failed."},"renewAt":{"type":"string","description":"Certificate auto-renewal date in ISO 8601 format.","x-example":"datetime"}},"required":["$id","$createdAt","$updatedAt","domain","resourceType","resourceId","status","logs","renewAt"]},"smsTemplate":{"description":"SmsTemplate","type":"object","properties":{"type":{"type":"string","description":"Template type","x-example":"verification"},"locale":{"type":"string","description":"Template locale","x-example":"en_us"},"message":{"type":"string","description":"Template message","x-example":"Click on the link to verify your account."}},"required":["type","locale","message"]},"emailTemplate":{"description":"EmailTemplate","type":"object","properties":{"type":{"type":"string","description":"Template type","x-example":"verification"},"locale":{"type":"string","description":"Template locale","x-example":"en_us"},"message":{"type":"string","description":"Template message","x-example":"Click on the link to verify your account."},"senderName":{"type":"string","description":"Name of the sender","x-example":"My User"},"senderEmail":{"type":"string","description":"Email of the sender","x-example":"mail@appwrite.io"},"replyTo":{"type":"string","description":"Reply to email address","x-example":"emails@appwrite.io"},"subject":{"type":"string","description":"Email subject","x-example":"Please verify your email address"}},"required":["type","locale","message","senderName","senderEmail","replyTo","subject"]},"consoleVariables":{"description":"Console Variables","type":"object","properties":{"_APP_DOMAIN_TARGET":{"type":"string","description":"CNAME target for your Appwrite custom domains.","x-example":"appwrite.io"},"_APP_STORAGE_LIMIT":{"type":"integer","description":"Maximum file size allowed for file upload in bytes.","x-example":"30000000","format":"int32"},"_APP_FUNCTIONS_SIZE_LIMIT":{"type":"integer","description":"Maximum file size allowed for deployment in bytes.","x-example":"30000000","format":"int32"},"_APP_USAGE_STATS":{"type":"string","description":"Defines if usage stats are enabled. This value is set to 'enabled' by default, to disable the usage stats set the value to 'disabled'.","x-example":"enabled"},"_APP_VCS_ENABLED":{"type":"boolean","description":"Defines if VCS (Version Control System) is enabled.","x-example":true},"_APP_DOMAIN_ENABLED":{"type":"boolean","description":"Defines if main domain is configured. If so, custom domains can be created.","x-example":true},"_APP_ASSISTANT_ENABLED":{"type":"boolean","description":"Defines if AI assistant is enabled.","x-example":true}},"required":["_APP_DOMAIN_TARGET","_APP_STORAGE_LIMIT","_APP_FUNCTIONS_SIZE_LIMIT","_APP_USAGE_STATS","_APP_VCS_ENABLED","_APP_DOMAIN_ENABLED","_APP_ASSISTANT_ENABLED"]},"mfaChallenge":{"description":"MFA Challenge","type":"object","properties":{"$id":{"type":"string","description":"Token ID.","x-example":"bb8ea5c16897e"},"$createdAt":{"type":"string","description":"Token creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"userId":{"type":"string","description":"User ID.","x-example":"5e5ea5c168bb8"},"expire":{"type":"string","description":"Token expiration date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"}},"required":["$id","$createdAt","userId","expire"]},"mfaRecoveryCodes":{"description":"MFA Recovery Codes","type":"object","properties":{"recoveryCodes":{"type":"array","description":"Recovery codes.","items":{"type":"string"},"x-example":["a3kf0-s0cl2","s0co1-as98s"]}},"required":["recoveryCodes"]},"mfaType":{"description":"MFAType","type":"object","properties":{"secret":{"type":"string","description":"Secret token used for TOTP factor.","x-example":true},"uri":{"type":"string","description":"URI for authenticator apps.","x-example":true}},"required":["secret","uri"]},"mfaFactors":{"description":"MFAFactors","type":"object","properties":{"totp":{"type":"boolean","description":"Can TOTP be used for MFA challenge for this account.","x-example":true},"phone":{"type":"boolean","description":"Can phone (SMS) be used for MFA challenge for this account.","x-example":true},"email":{"type":"boolean","description":"Can email be used for MFA challenge for this account.","x-example":true},"recoveryCode":{"type":"boolean","description":"Can recovery code be used for MFA challenge for this account.","x-example":true}},"required":["totp","phone","email","recoveryCode"]},"provider":{"description":"Provider","type":"object","properties":{"$id":{"type":"string","description":"Provider ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Provider creation time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Provider update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"The name for the provider instance.","x-example":"Mailgun"},"provider":{"type":"string","description":"The name of the provider service.","x-example":"mailgun"},"enabled":{"type":"boolean","description":"Is provider enabled?","x-example":true},"type":{"type":"string","description":"Type of provider.","x-example":"sms"},"credentials":{"type":"object","description":"Provider credentials.","x-example":{"key":"123456789"}},"options":{"type":"object","description":"Provider options.","x-example":{"from":"sender-email@mydomain"},"nullable":true}},"required":["$id","$createdAt","$updatedAt","name","provider","enabled","type","credentials"]},"message":{"description":"Message","type":"object","properties":{"$id":{"type":"string","description":"Message ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Message creation time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Message update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"providerType":{"type":"string","description":"Message provider type.","x-example":"email"},"topics":{"type":"array","description":"Topic IDs set as recipients.","items":{"type":"string"},"x-example":["5e5ea5c16897e"]},"users":{"type":"array","description":"User IDs set as recipients.","items":{"type":"string"},"x-example":["5e5ea5c16897e"]},"targets":{"type":"array","description":"Target IDs set as recipients.","items":{"type":"string"},"x-example":["5e5ea5c16897e"]},"scheduledAt":{"type":"string","description":"The scheduled time for message.","x-example":"2020-10-15T06:38:00.000+00:00","nullable":true},"deliveredAt":{"type":"string","description":"The time when the message was delivered.","x-example":"2020-10-15T06:38:00.000+00:00","nullable":true},"deliveryErrors":{"type":"array","description":"Delivery errors if any.","items":{"type":"string"},"x-example":["Failed to send message to target 5e5ea5c16897e: Credentials not valid."],"nullable":true},"deliveredTotal":{"type":"integer","description":"Number of recipients the message was delivered to.","x-example":1,"format":"int32"},"data":{"type":"object","description":"Data of the message.","x-example":{"subject":"Welcome to Appwrite","content":"Hi there, welcome to Appwrite family."}},"status":{"type":"string","description":"Status of delivery.","x-example":"Message status can be one of the following: draft, processing, scheduled, sent, or failed."}},"required":["$id","$createdAt","$updatedAt","providerType","topics","users","targets","deliveredTotal","data","status"]},"topic":{"description":"Topic","type":"object","properties":{"$id":{"type":"string","description":"Topic ID.","x-example":"259125845563242502"},"$createdAt":{"type":"string","description":"Topic creation time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Topic update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"The name of the topic.","x-example":"events"},"emailTotal":{"type":"integer","description":"Total count of email subscribers subscribed to the topic.","x-example":100,"format":"int32"},"smsTotal":{"type":"integer","description":"Total count of SMS subscribers subscribed to the topic.","x-example":100,"format":"int32"},"pushTotal":{"type":"integer","description":"Total count of push subscribers subscribed to the topic.","x-example":100,"format":"int32"},"subscribe":{"type":"array","description":"Subscribe permissions.","items":{"type":"string"},"x-example":"users"}},"required":["$id","$createdAt","$updatedAt","name","emailTotal","smsTotal","pushTotal","subscribe"]},"subscriber":{"description":"Subscriber","type":"object","properties":{"$id":{"type":"string","description":"Subscriber ID.","x-example":"259125845563242502"},"$createdAt":{"type":"string","description":"Subscriber creation time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Subscriber update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"targetId":{"type":"string","description":"Target ID.","x-example":"259125845563242502"},"target":{"type":"object","description":"Target.","x-example":{"$id":"259125845563242502","$createdAt":"2020-10-15T06:38:00.000+00:00","$updatedAt":"2020-10-15T06:38:00.000+00:00","providerType":"email","providerId":"259125845563242502","name":"ageon-app-email","identifier":"random-mail@email.org","userId":"5e5ea5c16897e"},"items":{"$ref":"#\/components\/schemas\/target"}},"userId":{"type":"string","description":"Topic ID.","x-example":"5e5ea5c16897e"},"userName":{"type":"string","description":"User Name.","x-example":"Aegon Targaryen"},"topicId":{"type":"string","description":"Topic ID.","x-example":"259125845563242502"},"providerType":{"type":"string","description":"The target provider type. Can be one of the following: `email`, `sms` or `push`.","x-example":"email"}},"required":["$id","$createdAt","$updatedAt","targetId","target","userId","userName","topicId","providerType"]},"target":{"description":"Target","type":"object","properties":{"$id":{"type":"string","description":"Target ID.","x-example":"259125845563242502"},"$createdAt":{"type":"string","description":"Target creation time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Target update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"Target Name.","x-example":"Aegon apple token"},"userId":{"type":"string","description":"User ID.","x-example":"259125845563242502"},"providerId":{"type":"string","description":"Provider ID.","x-example":"259125845563242502","nullable":true},"providerType":{"type":"string","description":"The target provider type. Can be one of the following: `email`, `sms` or `push`.","x-example":"email"},"identifier":{"type":"string","description":"The target identifier.","x-example":"token"}},"required":["$id","$createdAt","$updatedAt","name","userId","providerType","identifier"]},"migration":{"description":"Migration","type":"object","properties":{"$id":{"type":"string","description":"Migration ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Variable creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Variable creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"status":{"type":"string","description":"Migration status ( pending, processing, failed, completed ) ","x-example":"pending"},"stage":{"type":"string","description":"Migration stage ( init, processing, source-check, destination-check, migrating, finished )","x-example":"init"},"source":{"type":"string","description":"A string containing the type of source of the migration.","x-example":"Appwrite"},"resources":{"type":"array","description":"Resources to migration.","items":{"type":"string"},"x-example":["user"]},"statusCounters":{"type":"object","description":"A group of counters that represent the total progress of the migration.","x-example":"{\"Database\": {\"PENDING\": 0, \"SUCCESS\": 1, \"ERROR\": 0, \"SKIP\": 0, \"PROCESSING\": 0, \"WARNING\": 0}}"},"resourceData":{"type":"object","description":"An array of objects containing the report data of the resources that were migrated.","x-example":"[{\"resource\":\"Database\",\"id\":\"public\",\"status\":\"SUCCESS\",\"message\":\"\"}]"},"errors":{"type":"array","description":"All errors that occurred during the migration process.","items":{"type":"string"},"x-example":[]}},"required":["$id","$createdAt","$updatedAt","status","stage","source","resources","statusCounters","resourceData","errors"]},"migrationReport":{"description":"Migration Report","type":"object","properties":{"user":{"type":"integer","description":"Number of users to be migrated.","x-example":20,"format":"int32"},"team":{"type":"integer","description":"Number of teams to be migrated.","x-example":20,"format":"int32"},"database":{"type":"integer","description":"Number of databases to be migrated.","x-example":20,"format":"int32"},"document":{"type":"integer","description":"Number of documents to be migrated.","x-example":20,"format":"int32"},"file":{"type":"integer","description":"Number of files to be migrated.","x-example":20,"format":"int32"},"bucket":{"type":"integer","description":"Number of buckets to be migrated.","x-example":20,"format":"int32"},"function":{"type":"integer","description":"Number of functions to be migrated.","x-example":20,"format":"int32"},"size":{"type":"integer","description":"Size of files to be migrated in mb.","x-example":30000,"format":"int32"},"version":{"type":"string","description":"Version of the Appwrite instance to be migrated.","x-example":"1.4.0"}},"required":["user","team","database","document","file","bucket","function","size","version"]},"firebaseProject":{"description":"MigrationFirebaseProject","type":"object","properties":{"projectId":{"type":"string","description":"Project ID.","x-example":"my-project"},"displayName":{"type":"string","description":"Project display name.","x-example":"My Project"}},"required":["projectId","displayName"]}},"securitySchemes":{"Project":{"type":"apiKey","name":"X-Appwrite-Project","description":"Your project ID","in":"header","x-appwrite":{"demo":"<YOUR_PROJECT_ID>"}},"Key":{"type":"apiKey","name":"X-Appwrite-Key","description":"Your secret API key","in":"header","x-appwrite":{"demo":"<YOUR_API_KEY>"}},"JWT":{"type":"apiKey","name":"X-Appwrite-JWT","description":"Your secret JSON Web Token","in":"header"},"Locale":{"type":"apiKey","name":"X-Appwrite-Locale","description":"","in":"header","x-appwrite":{"demo":"en"}},"Mode":{"type":"apiKey","name":"X-Appwrite-Mode","description":"","in":"header","x-appwrite":{"demo":""}}}},"externalDocs":{"description":"Full API docs, specs and tutorials","url":"https:\/\/appwrite.io\/docs"}} \ No newline at end of file +{ + "openapi": "3.0.0", + "info": { + "version": "1.6.2", + "title": "Appwrite", + "description": "Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https:\/\/appwrite.io\/docs](https:\/\/appwrite.io\/docs)", + "termsOfService": "https:\/\/appwrite.io\/policy\/terms", + "contact": { + "name": "Appwrite Team", + "url": "https:\/\/appwrite.io\/support", + "email": "team@appwrite.io" + }, + "license": { + "name": "BSD-3-Clause", + "url": "https:\/\/raw.githubusercontent.com\/appwrite\/appwrite\/master\/LICENSE" + } + }, + "servers": [ + { + "url": "https:\/\/<REGION>.cloud.appwrite.io\/v1" + } + ], + "paths": { + "\/account": { + "get": { + "summary": "Get account", + "operationId": "accountGet", + "tags": [ + "account" + ], + "description": "Get the currently logged in user.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "get", + "group": "account", + "weight": 9, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ] + }, + "post": { + "summary": "Create account", + "operationId": "accountCreate", + "tags": [ + "account" + ], + "description": "Use this endpoint to allow a new user to register a new account in your project. After the user registration completes successfully, you can use the [\/account\/verfication](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createVerification) route to start verifying the user email address. To allow the new user to login to their new account, you need to create a new [account session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createEmailSession).", + "responses": { + "201": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "create", + "group": "account", + "weight": 8, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "New user password. Must be between 8 and 256 chars.", + "x-example": null + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "x-example": "<NAME>" + } + }, + "required": [ + "userId", + "email", + "password" + ] + } + } + } + } + }, + "delete": { + "summary": "Delete account", + "operationId": "accountDelete", + "tags": [ + "account" + ], + "description": "Delete the currently logged in user.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "delete", + "group": "account", + "weight": 10, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/delete.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ] + } + }, + "\/account\/email": { + "patch": { + "summary": "Update email", + "operationId": "accountUpdateEmail", + "tags": [ + "account" + ], + "description": "Update currently logged in user account email address. After changing user address, the user confirmation status will get reset. A new confirmation email is not sent automatically however you can use the send confirmation email endpoint again to send the confirmation email. For security measures, user password is required to complete this request.\nThis endpoint can also be used to convert an anonymous account to a normal one, by passing an email address and a new password.\n", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updateEmail", + "group": "account", + "weight": 34, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-email.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password. Must be at least 8 chars.", + "x-example": "password" + } + }, + "required": [ + "email", + "password" + ] + } + } + } + } + } + }, + "\/account\/identities": { + "get": { + "summary": "List identities", + "operationId": "accountListIdentities", + "tags": [ + "account" + ], + "description": "Get the list of identities for the currently logged in user.", + "responses": { + "200": { + "description": "Identities List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/identityList" + } + } + } + } + }, + "x-appwrite": { + "method": "listIdentities", + "group": "identities", + "weight": 57, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/list-identities.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-identities.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, provider, providerUid, providerEmail, providerAccessTokenExpiry", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + } + }, + "\/account\/identities\/{identityId}": { + "delete": { + "summary": "Delete identity", + "operationId": "accountDeleteIdentity", + "tags": [ + "account" + ], + "description": "Delete an identity by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteIdentity", + "group": "identities", + "weight": 58, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/delete-identity.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-identity.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "identityId", + "description": "Identity ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<IDENTITY_ID>" + }, + "in": "path" + } + ] + } + }, + "\/account\/jwts": { + "post": { + "summary": "Create JWT", + "operationId": "accountCreateJWT", + "tags": [ + "account" + ], + "description": "Use this endpoint to create a JSON Web Token. You can use the resulting JWT to authenticate on behalf of the current user when working with the Appwrite server-side API and SDKs. The JWT secret is valid for 15 minutes from its creation and will be invalid if the user will logout in that time frame.", + "responses": { + "201": { + "description": "JWT", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/jwt" + } + } + } + } + }, + "x-appwrite": { + "method": "createJWT", + "group": "tokens", + "weight": 29, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-j-w-t.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md", + "rate-limit": 100, + "rate-time": 3600, + "rate-key": "url:{url},userId:{userId}", + "scope": "account", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ] + } + }, + "\/account\/logs": { + "get": { + "summary": "List logs", + "operationId": "accountListLogs", + "tags": [ + "account" + ], + "description": "Get the list of latest security activity logs for the currently logged in user. Each log returns user IP address, location and date and time of log.", + "responses": { + "200": { + "description": "Logs List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/logList" + } + } + } + } + }, + "x-appwrite": { + "method": "listLogs", + "group": "logs", + "weight": 31, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/list-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + } + }, + "\/account\/mfa": { + "patch": { + "summary": "Update MFA", + "operationId": "accountUpdateMFA", + "tags": [ + "account" + ], + "description": "Enable or disable MFA on an account.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updateMFA", + "group": "mfa", + "weight": 44, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-m-f-a.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "mfa": { + "type": "boolean", + "description": "Enable or disable MFA.", + "x-example": false + } + }, + "required": [ + "mfa" + ] + } + } + } + } + } + }, + "\/account\/mfa\/authenticators\/{type}": { + "post": { + "summary": "Create authenticator", + "operationId": "accountCreateMfaAuthenticator", + "tags": [ + "account" + ], + "description": "Add an authenticator app to be used as an MFA factor. Verify the authenticator using the [verify authenticator](\/docs\/references\/cloud\/client-web\/account#updateMfaAuthenticator) method.", + "responses": { + "200": { + "description": "MFAType", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/mfaType" + } + } + } + } + }, + "x-appwrite": { + "method": "createMfaAuthenticator", + "group": "mfa", + "weight": 46, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-mfa-authenticator.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-authenticator.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "type", + "description": "Type of authenticator. Must be `totp`", + "required": true, + "schema": { + "type": "string", + "x-example": "totp", + "enum": [ + "totp" + ], + "x-enum-name": "AuthenticatorType", + "x-enum-keys": [] + }, + "in": "path" + } + ] + }, + "put": { + "summary": "Update authenticator (confirmation)", + "operationId": "accountUpdateMfaAuthenticator", + "tags": [ + "account" + ], + "description": "Verify an authenticator app after adding it using the [add authenticator](\/docs\/references\/cloud\/client-web\/account#createMfaAuthenticator) method.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updateMfaAuthenticator", + "group": "mfa", + "weight": 47, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-mfa-authenticator.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-authenticator.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "type", + "description": "Type of authenticator.", + "required": true, + "schema": { + "type": "string", + "x-example": "totp", + "enum": [ + "totp" + ], + "x-enum-name": "AuthenticatorType", + "x-enum-keys": [] + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "otp": { + "type": "string", + "description": "Valid verification token.", + "x-example": "<OTP>" + } + }, + "required": [ + "otp" + ] + } + } + } + } + }, + "delete": { + "summary": "Delete authenticator", + "operationId": "accountDeleteMfaAuthenticator", + "tags": [ + "account" + ], + "description": "Delete an authenticator for a user by ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteMfaAuthenticator", + "group": "mfa", + "weight": 51, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/delete-mfa-authenticator.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-mfa-authenticator.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "type", + "description": "Type of authenticator.", + "required": true, + "schema": { + "type": "string", + "x-example": "totp", + "enum": [ + "totp" + ], + "x-enum-name": "AuthenticatorType", + "x-enum-keys": [] + }, + "in": "path" + } + ] + } + }, + "\/account\/mfa\/challenge": { + "post": { + "summary": "Create MFA challenge", + "operationId": "accountCreateMfaChallenge", + "tags": [ + "account" + ], + "description": "Begin the process of MFA verification after sign-in. Finish the flow with [updateMfaChallenge](\/docs\/references\/cloud\/client-web\/account#updateMfaChallenge) method.", + "responses": { + "201": { + "description": "MFA Challenge", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/mfaChallenge" + } + } + } + } + }, + "x-appwrite": { + "method": "createMfaChallenge", + "group": "mfa", + "weight": 52, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-mfa-challenge.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},userId:{userId}", + "scope": "account", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "factor": { + "type": "string", + "description": "Factor used for verification. Must be one of following: `email`, `phone`, `totp`, `recoveryCode`.", + "x-example": "email", + "enum": [ + "email", + "phone", + "totp", + "recoverycode" + ], + "x-enum-name": "AuthenticationFactor", + "x-enum-keys": [] + } + }, + "required": [ + "factor" + ] + } + } + } + } + }, + "put": { + "summary": "Update MFA challenge (confirmation)", + "operationId": "accountUpdateMfaChallenge", + "tags": [ + "account" + ], + "description": "Complete the MFA challenge by providing the one-time password. Finish the process of MFA verification by providing the one-time password. To begin the flow, use [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method.", + "responses": { + "200": { + "description": "Session", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/session" + } + } + } + } + }, + "x-appwrite": { + "method": "updateMfaChallenge", + "group": "mfa", + "weight": 53, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-mfa-challenge.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},challengeId:{param-challengeId}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "challengeId": { + "type": "string", + "description": "ID of the challenge.", + "x-example": "<CHALLENGE_ID>" + }, + "otp": { + "type": "string", + "description": "Valid verification token.", + "x-example": "<OTP>" + } + }, + "required": [ + "challengeId", + "otp" + ] + } + } + } + } + } + }, + "\/account\/mfa\/factors": { + "get": { + "summary": "List factors", + "operationId": "accountListMfaFactors", + "tags": [ + "account" + ], + "description": "List the factors available on the account to be used as a MFA challange.", + "responses": { + "200": { + "description": "MFAFactors", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/mfaFactors" + } + } + } + } + }, + "x-appwrite": { + "method": "listMfaFactors", + "group": "mfa", + "weight": 45, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/list-mfa-factors.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-mfa-factors.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ] + } + }, + "\/account\/mfa\/recovery-codes": { + "get": { + "summary": "List MFA recovery codes", + "operationId": "accountGetMfaRecoveryCodes", + "tags": [ + "account" + ], + "description": "Get recovery codes that can be used as backup for MFA flow. Before getting codes, they must be generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method. An OTP challenge is required to read recovery codes.", + "responses": { + "200": { + "description": "MFA Recovery Codes", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/mfaRecoveryCodes" + } + } + } + } + }, + "x-appwrite": { + "method": "getMfaRecoveryCodes", + "group": "mfa", + "weight": 50, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/get-mfa-recovery-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-mfa-recovery-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ] + }, + "post": { + "summary": "Create MFA recovery codes", + "operationId": "accountCreateMfaRecoveryCodes", + "tags": [ + "account" + ], + "description": "Generate recovery codes as backup for MFA flow. It's recommended to generate and show then immediately after user successfully adds their authehticator. Recovery codes can be used as a MFA verification type in [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method.", + "responses": { + "201": { + "description": "MFA Recovery Codes", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/mfaRecoveryCodes" + } + } + } + } + }, + "x-appwrite": { + "method": "createMfaRecoveryCodes", + "group": "mfa", + "weight": 48, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-mfa-recovery-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-recovery-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ] + }, + "patch": { + "summary": "Update MFA recovery codes (regenerate)", + "operationId": "accountUpdateMfaRecoveryCodes", + "tags": [ + "account" + ], + "description": "Regenerate recovery codes that can be used as backup for MFA flow. Before regenerating codes, they must be first generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method. An OTP challenge is required to regenreate recovery codes.", + "responses": { + "200": { + "description": "MFA Recovery Codes", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/mfaRecoveryCodes" + } + } + } + } + }, + "x-appwrite": { + "method": "updateMfaRecoveryCodes", + "group": "mfa", + "weight": 49, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-mfa-recovery-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-recovery-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ] + } + }, + "\/account\/name": { + "patch": { + "summary": "Update name", + "operationId": "accountUpdateName", + "tags": [ + "account" + ], + "description": "Update currently logged in user account name.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updateName", + "group": "account", + "weight": 32, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-name.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-name.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "x-example": "<NAME>" + } + }, + "required": [ + "name" + ] + } + } + } + } + } + }, + "\/account\/password": { + "patch": { + "summary": "Update password", + "operationId": "accountUpdatePassword", + "tags": [ + "account" + ], + "description": "Update currently logged in user password. For validation, user is required to pass in the new password, and the old password. For users created with OAuth, Team Invites and Magic URL, oldPassword is optional.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updatePassword", + "group": "account", + "weight": 33, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-password.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-password.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "password": { + "type": "string", + "description": "New user password. Must be at least 8 chars.", + "x-example": null + }, + "oldPassword": { + "type": "string", + "description": "Current user password. Must be at least 8 chars.", + "x-example": "password" + } + }, + "required": [ + "password" + ] + } + } + } + } + } + }, + "\/account\/phone": { + "patch": { + "summary": "Update phone", + "operationId": "accountUpdatePhone", + "tags": [ + "account" + ], + "description": "Update the currently logged in user's phone number. After updating the phone number, the phone verification status will be reset. A confirmation SMS is not sent automatically, however you can use the [POST \/account\/verification\/phone](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createPhoneVerification) endpoint to send a confirmation SMS.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updatePhone", + "group": "account", + "weight": 35, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-phone.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "phone": { + "type": "string", + "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "x-example": "+12065550100" + }, + "password": { + "type": "string", + "description": "User password. Must be at least 8 chars.", + "x-example": "password" + } + }, + "required": [ + "phone", + "password" + ] + } + } + } + } + } + }, + "\/account\/prefs": { + "get": { + "summary": "Get account preferences", + "operationId": "accountGetPrefs", + "tags": [ + "account" + ], + "description": "Get the preferences as a key-value object for the currently logged in user.", + "responses": { + "200": { + "description": "Preferences", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/preferences" + } + } + } + } + }, + "x-appwrite": { + "method": "getPrefs", + "group": "account", + "weight": 30, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/get-prefs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-prefs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ] + }, + "patch": { + "summary": "Update preferences", + "operationId": "accountUpdatePrefs", + "tags": [ + "account" + ], + "description": "Update currently logged in user account preferences. The object you pass is stored as is, and replaces any previous value. The maximum allowed prefs size is 64kB and throws error if exceeded.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updatePrefs", + "group": "account", + "weight": 36, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-prefs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-prefs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "prefs": { + "type": "object", + "description": "Prefs key-value JSON object.", + "x-example": "{}" + } + }, + "required": [ + "prefs" + ] + } + } + } + } + } + }, + "\/account\/recovery": { + "post": { + "summary": "Create password recovery", + "operationId": "accountCreateRecovery", + "tags": [ + "account" + ], + "description": "Sends the user an email with a temporary secret key for password reset. When the user clicks the confirmation link he is redirected back to your app password reset URL with the secret key and email address values attached to the URL query string. Use the query string params to submit a request to the [PUT \/account\/recovery](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateRecovery) endpoint to complete the process. The verification link sent to the user's email address is valid for 1 hour.", + "responses": { + "201": { + "description": "Token", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/token" + } + } + } + } + }, + "x-appwrite": { + "method": "createRecovery", + "group": "recovery", + "weight": 38, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-recovery.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-recovery.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": [ + "url:{url},email:{param-email}", + "url:{url},ip:{ip}" + ], + "scope": "sessions.write", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "url": { + "type": "string", + "description": "URL to redirect the user back to your app from the recovery email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "x-example": "https:\/\/example.com" + } + }, + "required": [ + "email", + "url" + ] + } + } + } + } + }, + "put": { + "summary": "Update password recovery (confirmation)", + "operationId": "accountUpdateRecovery", + "tags": [ + "account" + ], + "description": "Use this endpoint to complete the user account password reset. Both the **userId** and **secret** arguments will be passed as query parameters to the redirect URL you have provided when sending your request to the [POST \/account\/recovery](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createRecovery) endpoint.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md) the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.", + "responses": { + "200": { + "description": "Token", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/token" + } + } + } + } + }, + "x-appwrite": { + "method": "updateRecovery", + "group": "recovery", + "weight": 39, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-recovery.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-recovery.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},userId:{param-userId}", + "scope": "sessions.write", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Valid reset token.", + "x-example": "<SECRET>" + }, + "password": { + "type": "string", + "description": "New user password. Must be between 8 and 256 chars.", + "x-example": null + } + }, + "required": [ + "userId", + "secret", + "password" + ] + } + } + } + } + } + }, + "\/account\/sessions": { + "get": { + "summary": "List sessions", + "operationId": "accountListSessions", + "tags": [ + "account" + ], + "description": "Get the list of active sessions across different devices for the currently logged in user.", + "responses": { + "200": { + "description": "Sessions List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/sessionList" + } + } + } + } + }, + "x-appwrite": { + "method": "listSessions", + "group": "sessions", + "weight": 11, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/list-sessions.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-sessions.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ] + }, + "delete": { + "summary": "Delete sessions", + "operationId": "accountDeleteSessions", + "tags": [ + "account" + ], + "description": "Delete all sessions from the user account and remove any sessions cookies from the end client.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteSessions", + "group": "sessions", + "weight": 12, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/delete-sessions.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-sessions.md", + "rate-limit": 100, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ] + } + }, + "\/account\/sessions\/anonymous": { + "post": { + "summary": "Create anonymous session", + "operationId": "accountCreateAnonymousSession", + "tags": [ + "account" + ], + "description": "Use this endpoint to allow a new user to register an anonymous account in your project. This route will also create a new session for the user. To allow the new user to convert an anonymous account to a normal account, you need to update its [email and password](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateEmail) or create an [OAuth2 session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#CreateOAuth2Session).", + "responses": { + "201": { + "description": "Session", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/session" + } + } + } + } + }, + "x-appwrite": { + "method": "createAnonymousSession", + "group": "sessions", + "weight": 17, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-anonymous-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-anonymous.md", + "rate-limit": 50, + "rate-time": 3600, + "rate-key": "ip:{ip}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ] + } + }, + "\/account\/sessions\/email": { + "post": { + "summary": "Create email password session", + "operationId": "accountCreateEmailPasswordSession", + "tags": [ + "account" + ], + "description": "Allow the user to login into their account by providing a valid email and password combination. This route will create a new session for the user.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).", + "responses": { + "201": { + "description": "Session", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/session" + } + } + } + } + }, + "x-appwrite": { + "method": "createEmailPasswordSession", + "group": "sessions", + "weight": 16, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-email-password-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-email-password.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},email:{param-email}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password. Must be at least 8 chars.", + "x-example": "password" + } + }, + "required": [ + "email", + "password" + ] + } + } + } + } + } + }, + "\/account\/sessions\/magic-url": { + "put": { + "summary": "Update magic URL session", + "operationId": "accountUpdateMagicURLSession", + "tags": [ + "account" + ], + "description": "Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.", + "responses": { + "201": { + "description": "Session", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/session" + } + } + } + } + }, + "x-appwrite": { + "method": "updateMagicURLSession", + "group": "sessions", + "weight": 26, + "cookies": false, + "type": "", + "deprecated": true, + "demo": "account\/update-magic-u-r-l-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "ip:{ip},userId:{param-userId}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Valid verification token.", + "x-example": "<SECRET>" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + } + } + } + }, + "\/account\/sessions\/oauth2\/{provider}": { + "get": { + "summary": "Create OAuth2 session", + "operationId": "accountCreateOAuth2Session", + "tags": [ + "account" + ], + "description": "Allow the user to login to their account using the OAuth2 provider of their choice. Each OAuth2 provider should be enabled from the Appwrite console first. Use the success and failure arguments to provide a redirect URL's back to your app when login is completed.\n\nIf there is already an active session, the new session will be attached to the logged-in account. If there are no active sessions, the server will attempt to look for a user with the same email address as the email received from the OAuth2 provider and attach the new session to the existing user. If no matching user is found - the server will create a new user.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).\n", + "responses": { + "301": { + "description": "File" + } + }, + "x-appwrite": { + "method": "createOAuth2Session", + "group": "sessions", + "weight": 19, + "cookies": false, + "type": "webAuth", + "deprecated": false, + "demo": "account\/create-o-auth2session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-oauth2.md", + "rate-limit": 50, + "rate-time": 3600, + "rate-key": "ip:{ip}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "provider", + "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", + "required": true, + "schema": { + "type": "string", + "x-example": "amazon", + "enum": [ + "amazon", + "apple", + "auth0", + "authentik", + "autodesk", + "bitbucket", + "bitly", + "box", + "dailymotion", + "discord", + "disqus", + "dropbox", + "etsy", + "facebook", + "figma", + "github", + "gitlab", + "google", + "linkedin", + "microsoft", + "notion", + "oidc", + "okta", + "paypal", + "paypalSandbox", + "podio", + "salesforce", + "slack", + "spotify", + "stripe", + "tradeshift", + "tradeshiftBox", + "twitch", + "wordpress", + "yahoo", + "yammer", + "yandex", + "zoho", + "zoom", + "mock" + ], + "x-enum-name": "OAuthProvider", + "x-enum-keys": [] + }, + "in": "path" + }, + { + "name": "success", + "description": "URL to redirect back to your app after a successful login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "required": false, + "schema": { + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com", + "default": "" + }, + "in": "query" + }, + { + "name": "failure", + "description": "URL to redirect back to your app after a failed login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "required": false, + "schema": { + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com", + "default": "" + }, + "in": "query" + }, + { + "name": "scopes", + "description": "A list of custom OAuth2 scopes. Check each provider internal docs for a list of supported scopes. Maximum of 100 scopes are allowed, each 4096 characters long.", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + } + }, + "\/account\/sessions\/phone": { + "put": { + "summary": "Update phone session", + "operationId": "accountUpdatePhoneSession", + "tags": [ + "account" + ], + "description": "Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.", + "responses": { + "201": { + "description": "Session", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/session" + } + } + } + } + }, + "x-appwrite": { + "method": "updatePhoneSession", + "group": "sessions", + "weight": 27, + "cookies": false, + "type": "", + "deprecated": true, + "demo": "account\/update-phone-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "ip:{ip},userId:{param-userId}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Valid verification token.", + "x-example": "<SECRET>" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + } + } + } + }, + "\/account\/sessions\/token": { + "post": { + "summary": "Create session", + "operationId": "accountCreateSession", + "tags": [ + "account" + ], + "description": "Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.", + "responses": { + "201": { + "description": "Session", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/session" + } + } + } + } + }, + "x-appwrite": { + "method": "createSession", + "group": "sessions", + "weight": 18, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "ip:{ip},userId:{param-userId}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Secret of a token generated by login methods. For example, the `createMagicURLToken` or `createPhoneToken` methods.", + "x-example": "<SECRET>" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + } + } + } + }, + "\/account\/sessions\/{sessionId}": { + "get": { + "summary": "Get session", + "operationId": "accountGetSession", + "tags": [ + "account" + ], + "description": "Use this endpoint to get a logged in user's session using a Session ID. Inputting 'current' will return the current session being used.", + "responses": { + "200": { + "description": "Session", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/session" + } + } + } + } + }, + "x-appwrite": { + "method": "getSession", + "group": "sessions", + "weight": 13, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/get-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-session.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "sessionId", + "description": "Session ID. Use the string 'current' to get the current device session.", + "required": true, + "schema": { + "type": "string", + "x-example": "<SESSION_ID>" + }, + "in": "path" + } + ] + }, + "patch": { + "summary": "Update session", + "operationId": "accountUpdateSession", + "tags": [ + "account" + ], + "description": "Use this endpoint to extend a session's length. Extending a session is useful when session expiry is short. If the session was created using an OAuth provider, this endpoint refreshes the access token from the provider.", + "responses": { + "200": { + "description": "Session", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/session" + } + } + } + } + }, + "x-appwrite": { + "method": "updateSession", + "group": "sessions", + "weight": 15, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-session.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "sessionId", + "description": "Session ID. Use the string 'current' to update the current device session.", + "required": true, + "schema": { + "type": "string", + "x-example": "<SESSION_ID>" + }, + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete session", + "operationId": "accountDeleteSession", + "tags": [ + "account" + ], + "description": "Logout the user. Use 'current' as the session ID to logout on this device, use a session ID to logout on another device. If you're looking to logout the user on all devices, use [Delete Sessions](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#deleteSessions) instead.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteSession", + "group": "sessions", + "weight": 14, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/delete-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-session.md", + "rate-limit": 100, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "sessionId", + "description": "Session ID. Use the string 'current' to delete the current device session.", + "required": true, + "schema": { + "type": "string", + "x-example": "<SESSION_ID>" + }, + "in": "path" + } + ] + } + }, + "\/account\/status": { + "patch": { + "summary": "Update status", + "operationId": "accountUpdateStatus", + "tags": [ + "account" + ], + "description": "Block the currently logged in user account. Behind the scene, the user record is not deleted but permanently blocked from any access. To completely delete a user, use the Users API instead.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updateStatus", + "group": "account", + "weight": 37, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-status.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-status.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ] + } + }, + "\/account\/targets\/push": { + "post": { + "summary": "Create push target", + "operationId": "accountCreatePushTarget", + "tags": [ + "account" + ], + "description": "Use this endpoint to register a device for push notifications. Provide a target ID (custom or generated using ID.unique()), a device identifier (usually a device token), and optionally specify which provider should send notifications to this target. The target is automatically linked to the current session and includes device information like brand and model.", + "responses": { + "201": { + "description": "Target", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/target" + } + } + } + } + }, + "x-appwrite": { + "method": "createPushTarget", + "group": "pushTargets", + "weight": 54, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-push-target.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-push-target.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "targets.write", + "platforms": [ + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "targetId": { + "type": "string", + "description": "Target ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<TARGET_ID>" + }, + "identifier": { + "type": "string", + "description": "The target identifier (token, email, phone etc.)", + "x-example": "<IDENTIFIER>" + }, + "providerId": { + "type": "string", + "description": "Provider ID. Message will be sent to this target from the specified provider ID. If no provider ID is set the first setup provider will be used.", + "x-example": "<PROVIDER_ID>" + } + }, + "required": [ + "targetId", + "identifier" + ] + } + } + } + } + } + }, + "\/account\/targets\/{targetId}\/push": { + "put": { + "summary": "Update push target", + "operationId": "accountUpdatePushTarget", + "tags": [ + "account" + ], + "description": "Update the currently logged in user's push notification target. You can modify the target's identifier (device token) and provider ID (token, email, phone etc.). The target must exist and belong to the current user. If you change the provider ID, notifications will be sent through the new messaging provider instead.", + "responses": { + "200": { + "description": "Target", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/target" + } + } + } + } + }, + "x-appwrite": { + "method": "updatePushTarget", + "group": "pushTargets", + "weight": 55, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-push-target.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-push-target.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "targets.write", + "platforms": [ + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "targetId", + "description": "Target ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TARGET_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "identifier": { + "type": "string", + "description": "The target identifier (token, email, phone etc.)", + "x-example": "<IDENTIFIER>" + } + }, + "required": [ + "identifier" + ] + } + } + } + } + }, + "delete": { + "summary": "Delete push target", + "operationId": "accountDeletePushTarget", + "tags": [ + "account" + ], + "description": "Delete a push notification target for the currently logged in user. After deletion, the device will no longer receive push notifications. The target must exist and belong to the current user.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deletePushTarget", + "group": "pushTargets", + "weight": 56, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/delete-push-target.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-push-target.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "targets.write", + "platforms": [ + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "targetId", + "description": "Target ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TARGET_ID>" + }, + "in": "path" + } + ] + } + }, + "\/account\/tokens\/email": { + "post": { + "summary": "Create email token (OTP)", + "operationId": "accountCreateEmailToken", + "tags": [ + "account" + ], + "description": "Sends the user an email with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's email is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).", + "responses": { + "201": { + "description": "Token", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/token" + } + } + } + } + }, + "x-appwrite": { + "method": "createEmailToken", + "group": "tokens", + "weight": 25, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-email-token.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-email.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},email:{param-email}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "phrase": { + "type": "boolean", + "description": "Toggle for security phrase. If enabled, email will be send with a randomly generated phrase and the phrase will also be included in the response. Confirming phrases match increases the security of your authentication flow.", + "x-example": false + } + }, + "required": [ + "userId", + "email" + ] + } + } + } + } + } + }, + "\/account\/tokens\/magic-url": { + "post": { + "summary": "Create magic URL token", + "operationId": "accountCreateMagicURLToken", + "tags": [ + "account" + ], + "description": "Sends the user an email with a secret key for creating a session. If the provided user ID has not been registered, a new user will be created. When the user clicks the link in the email, the user is redirected back to the URL you provided with the secret key and userId values attached to the URL query string. Use the query string parameters to submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The link sent to the user's email address is valid for 1 hour.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).\n", + "responses": { + "201": { + "description": "Token", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/token" + } + } + } + } + }, + "x-appwrite": { + "method": "createMagicURLToken", + "group": "tokens", + "weight": 24, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-magic-u-r-l-token.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-magic-url.md", + "rate-limit": 60, + "rate-time": 3600, + "rate-key": [ + "url:{url},email:{param-email}", + "url:{url},ip:{ip}" + ], + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "url": { + "type": "string", + "description": "URL to redirect the user back to your app from the magic URL login. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "x-example": "https:\/\/example.com" + }, + "phrase": { + "type": "boolean", + "description": "Toggle for security phrase. If enabled, email will be send with a randomly generated phrase and the phrase will also be included in the response. Confirming phrases match increases the security of your authentication flow.", + "x-example": false + } + }, + "required": [ + "userId", + "email" + ] + } + } + } + } + } + }, + "\/account\/tokens\/oauth2\/{provider}": { + "get": { + "summary": "Create OAuth2 token", + "operationId": "accountCreateOAuth2Token", + "tags": [ + "account" + ], + "description": "Allow the user to login to their account using the OAuth2 provider of their choice. Each OAuth2 provider should be enabled from the Appwrite console first. Use the success and failure arguments to provide a redirect URL's back to your app when login is completed. \n\nIf authentication succeeds, `userId` and `secret` of a token will be appended to the success URL as query parameters. These can be used to create a new session using the [Create session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).", + "responses": { + "301": { + "description": "File" + } + }, + "x-appwrite": { + "method": "createOAuth2Token", + "group": "tokens", + "weight": 23, + "cookies": false, + "type": "webAuth", + "deprecated": false, + "demo": "account\/create-o-auth2token.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-oauth2.md", + "rate-limit": 50, + "rate-time": 3600, + "rate-key": "ip:{ip}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "provider", + "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", + "required": true, + "schema": { + "type": "string", + "x-example": "amazon", + "enum": [ + "amazon", + "apple", + "auth0", + "authentik", + "autodesk", + "bitbucket", + "bitly", + "box", + "dailymotion", + "discord", + "disqus", + "dropbox", + "etsy", + "facebook", + "figma", + "github", + "gitlab", + "google", + "linkedin", + "microsoft", + "notion", + "oidc", + "okta", + "paypal", + "paypalSandbox", + "podio", + "salesforce", + "slack", + "spotify", + "stripe", + "tradeshift", + "tradeshiftBox", + "twitch", + "wordpress", + "yahoo", + "yammer", + "yandex", + "zoho", + "zoom", + "mock" + ], + "x-enum-name": "OAuthProvider", + "x-enum-keys": [] + }, + "in": "path" + }, + { + "name": "success", + "description": "URL to redirect back to your app after a successful login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "required": false, + "schema": { + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com", + "default": "" + }, + "in": "query" + }, + { + "name": "failure", + "description": "URL to redirect back to your app after a failed login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "required": false, + "schema": { + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com", + "default": "" + }, + "in": "query" + }, + { + "name": "scopes", + "description": "A list of custom OAuth2 scopes. Check each provider internal docs for a list of supported scopes. Maximum of 100 scopes are allowed, each 4096 characters long.", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + } + }, + "\/account\/tokens\/phone": { + "post": { + "summary": "Create phone token", + "operationId": "accountCreatePhoneToken", + "tags": [ + "account" + ], + "description": "Sends the user an SMS with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's phone is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).", + "responses": { + "201": { + "description": "Token", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/token" + } + } + } + } + }, + "x-appwrite": { + "method": "createPhoneToken", + "group": "tokens", + "weight": 28, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-phone-token.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-phone.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": [ + "url:{url},phone:{param-phone}", + "url:{url},ip:{ip}" + ], + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<USER_ID>" + }, + "phone": { + "type": "string", + "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "x-example": "+12065550100" + } + }, + "required": [ + "userId", + "phone" + ] + } + } + } + } + } + }, + "\/account\/verification": { + "post": { + "summary": "Create email verification", + "operationId": "accountCreateVerification", + "tags": [ + "account" + ], + "description": "Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n", + "responses": { + "201": { + "description": "Token", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/token" + } + } + } + } + }, + "x-appwrite": { + "method": "createVerification", + "group": "verification", + "weight": 40, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},userId:{userId}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "url": { + "type": "string", + "description": "URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "x-example": "https:\/\/example.com" + } + }, + "required": [ + "url" + ] + } + } + } + } + }, + "put": { + "summary": "Update email verification (confirmation)", + "operationId": "accountUpdateVerification", + "tags": [ + "account" + ], + "description": "Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.", + "responses": { + "200": { + "description": "Token", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/token" + } + } + } + } + }, + "x-appwrite": { + "method": "updateVerification", + "group": "verification", + "weight": 41, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},userId:{param-userId}", + "scope": "public", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Valid verification token.", + "x-example": "<SECRET>" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + } + } + } + }, + "\/account\/verification\/phone": { + "post": { + "summary": "Create phone verification", + "operationId": "accountCreatePhoneVerification", + "tags": [ + "account" + ], + "description": "Use this endpoint to send a verification SMS to the currently logged in user. This endpoint is meant for use after updating a user's phone number using the [accountUpdatePhone](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updatePhone) endpoint. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updatePhoneVerification). The verification code sent to the user's phone number is valid for 15 minutes.", + "responses": { + "201": { + "description": "Token", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/token" + } + } + } + } + }, + "x-appwrite": { + "method": "createPhoneVerification", + "group": "verification", + "weight": 42, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-phone-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-phone-verification.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": [ + "url:{url},userId:{userId}", + "url:{url},ip:{ip}" + ], + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ] + }, + "put": { + "summary": "Update phone verification (confirmation)", + "operationId": "accountUpdatePhoneVerification", + "tags": [ + "account" + ], + "description": "Use this endpoint to complete the user phone verification process. Use the **userId** and **secret** that were sent to your user's phone number to verify the user email ownership. If confirmed this route will return a 200 status code.", + "responses": { + "200": { + "description": "Token", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/token" + } + } + } + } + }, + "x-appwrite": { + "method": "updatePhoneVerification", + "group": "verification", + "weight": 43, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-phone-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone-verification.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "userId:{param-userId}", + "scope": "public", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Valid verification token.", + "x-example": "<SECRET>" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + } + } + } + }, + "\/avatars\/browsers\/{code}": { + "get": { + "summary": "Get browser icon", + "operationId": "avatarsGetBrowser", + "tags": [ + "avatars" + ], + "description": "You can use this endpoint to show different browser icons to your users. The code argument receives the browser code as it appears in your user [GET \/account\/sessions](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#getSessions) endpoint. Use width, height and quality arguments to change the output settings.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.", + "responses": { + "200": { + "description": "Image" + } + }, + "x-appwrite": { + "method": "getBrowser", + "group": null, + "weight": 60, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-browser.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-browser.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "code", + "description": "Browser Code.", + "required": true, + "schema": { + "type": "string", + "x-example": "aa", + "enum": [ + "aa", + "an", + "ch", + "ci", + "cm", + "cr", + "ff", + "sf", + "mf", + "ps", + "oi", + "om", + "op", + "on" + ], + "x-enum-name": "Browser", + "x-enum-keys": [ + "Avant Browser", + "Android WebView Beta", + "Google Chrome", + "Google Chrome (iOS)", + "Google Chrome (Mobile)", + "Chromium", + "Mozilla Firefox", + "Safari", + "Mobile Safari", + "Microsoft Edge", + "Microsoft Edge (iOS)", + "Opera Mini", + "Opera", + "Opera (Next)" + ] + }, + "in": "path" + }, + { + "name": "width", + "description": "Image width. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100 + }, + "in": "query" + }, + { + "name": "height", + "description": "Image height. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100 + }, + "in": "query" + }, + { + "name": "quality", + "description": "Image quality. Pass an integer between 0 to 100. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100 + }, + "in": "query" + } + ] + } + }, + "\/avatars\/credit-cards\/{code}": { + "get": { + "summary": "Get credit card icon", + "operationId": "avatarsGetCreditCard", + "tags": [ + "avatars" + ], + "description": "The credit card endpoint will return you the icon of the credit card provider you need. Use width, height and quality arguments to change the output settings.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n", + "responses": { + "200": { + "description": "Image" + } + }, + "x-appwrite": { + "method": "getCreditCard", + "group": null, + "weight": 59, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-credit-card.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-credit-card.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "code", + "description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, union-china-pay, visa, mir, maestro, rupay.", + "required": true, + "schema": { + "type": "string", + "x-example": "amex", + "enum": [ + "amex", + "argencard", + "cabal", + "cencosud", + "diners", + "discover", + "elo", + "hipercard", + "jcb", + "mastercard", + "naranja", + "targeta-shopping", + "union-china-pay", + "visa", + "mir", + "maestro", + "rupay" + ], + "x-enum-name": "CreditCard", + "x-enum-keys": [ + "American Express", + "Argencard", + "Cabal", + "Cencosud", + "Diners Club", + "Discover", + "Elo", + "Hipercard", + "JCB", + "Mastercard", + "Naranja", + "Tarjeta Shopping", + "Union China Pay", + "Visa", + "MIR", + "Maestro", + "Rupay" + ] + }, + "in": "path" + }, + { + "name": "width", + "description": "Image width. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100 + }, + "in": "query" + }, + { + "name": "height", + "description": "Image height. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100 + }, + "in": "query" + }, + { + "name": "quality", + "description": "Image quality. Pass an integer between 0 to 100. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100 + }, + "in": "query" + } + ] + } + }, + "\/avatars\/favicon": { + "get": { + "summary": "Get favicon", + "operationId": "avatarsGetFavicon", + "tags": [ + "avatars" + ], + "description": "Use this endpoint to fetch the favorite icon (AKA favicon) of any remote website URL.\n\nThis endpoint does not follow HTTP redirects.", + "responses": { + "200": { + "description": "Image" + } + }, + "x-appwrite": { + "method": "getFavicon", + "group": null, + "weight": 63, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-favicon.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-favicon.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "url", + "description": "Website URL which you want to fetch the favicon from.", + "required": true, + "schema": { + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com" + }, + "in": "query" + } + ] + } + }, + "\/avatars\/flags\/{code}": { + "get": { + "summary": "Get country flag", + "operationId": "avatarsGetFlag", + "tags": [ + "avatars" + ], + "description": "You can use this endpoint to show different country flags icons to your users. The code argument receives the 2 letter country code. Use width, height and quality arguments to change the output settings. Country codes follow the [ISO 3166-1](https:\/\/en.wikipedia.org\/wiki\/ISO_3166-1) standard.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n", + "responses": { + "200": { + "description": "Image" + } + }, + "x-appwrite": { + "method": "getFlag", + "group": null, + "weight": 61, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-flag.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-flag.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "code", + "description": "Country Code. ISO Alpha-2 country code format.", + "required": true, + "schema": { + "type": "string", + "x-example": "af", + "enum": [ + "af", + "ao", + "al", + "ad", + "ae", + "ar", + "am", + "ag", + "au", + "at", + "az", + "bi", + "be", + "bj", + "bf", + "bd", + "bg", + "bh", + "bs", + "ba", + "by", + "bz", + "bo", + "br", + "bb", + "bn", + "bt", + "bw", + "cf", + "ca", + "ch", + "cl", + "cn", + "ci", + "cm", + "cd", + "cg", + "co", + "km", + "cv", + "cr", + "cu", + "cy", + "cz", + "de", + "dj", + "dm", + "dk", + "do", + "dz", + "ec", + "eg", + "er", + "es", + "ee", + "et", + "fi", + "fj", + "fr", + "fm", + "ga", + "gb", + "ge", + "gh", + "gn", + "gm", + "gw", + "gq", + "gr", + "gd", + "gt", + "gy", + "hn", + "hr", + "ht", + "hu", + "id", + "in", + "ie", + "ir", + "iq", + "is", + "il", + "it", + "jm", + "jo", + "jp", + "kz", + "ke", + "kg", + "kh", + "ki", + "kn", + "kr", + "kw", + "la", + "lb", + "lr", + "ly", + "lc", + "li", + "lk", + "ls", + "lt", + "lu", + "lv", + "ma", + "mc", + "md", + "mg", + "mv", + "mx", + "mh", + "mk", + "ml", + "mt", + "mm", + "me", + "mn", + "mz", + "mr", + "mu", + "mw", + "my", + "na", + "ne", + "ng", + "ni", + "nl", + "no", + "np", + "nr", + "nz", + "om", + "pk", + "pa", + "pe", + "ph", + "pw", + "pg", + "pl", + "pf", + "kp", + "pt", + "py", + "qa", + "ro", + "ru", + "rw", + "sa", + "sd", + "sn", + "sg", + "sb", + "sl", + "sv", + "sm", + "so", + "rs", + "ss", + "st", + "sr", + "sk", + "si", + "se", + "sz", + "sc", + "sy", + "td", + "tg", + "th", + "tj", + "tm", + "tl", + "to", + "tt", + "tn", + "tr", + "tv", + "tz", + "ug", + "ua", + "uy", + "us", + "uz", + "va", + "vc", + "ve", + "vn", + "vu", + "ws", + "ye", + "za", + "zm", + "zw" + ], + "x-enum-name": "Flag", + "x-enum-keys": [ + "Afghanistan", + "Angola", + "Albania", + "Andorra", + "United Arab Emirates", + "Argentina", + "Armenia", + "Antigua and Barbuda", + "Australia", + "Austria", + "Azerbaijan", + "Burundi", + "Belgium", + "Benin", + "Burkina Faso", + "Bangladesh", + "Bulgaria", + "Bahrain", + "Bahamas", + "Bosnia and Herzegovina", + "Belarus", + "Belize", + "Bolivia", + "Brazil", + "Barbados", + "Brunei Darussalam", + "Bhutan", + "Botswana", + "Central African Republic", + "Canada", + "Switzerland", + "Chile", + "China", + "C\u00f4te d'Ivoire", + "Cameroon", + "Democratic Republic of the Congo", + "Republic of the Congo", + "Colombia", + "Comoros", + "Cape Verde", + "Costa Rica", + "Cuba", + "Cyprus", + "Czech Republic", + "Germany", + "Djibouti", + "Dominica", + "Denmark", + "Dominican Republic", + "Algeria", + "Ecuador", + "Egypt", + "Eritrea", + "Spain", + "Estonia", + "Ethiopia", + "Finland", + "Fiji", + "France", + "Micronesia (Federated States of)", + "Gabon", + "United Kingdom", + "Georgia", + "Ghana", + "Guinea", + "Gambia", + "Guinea-Bissau", + "Equatorial Guinea", + "Greece", + "Grenada", + "Guatemala", + "Guyana", + "Honduras", + "Croatia", + "Haiti", + "Hungary", + "Indonesia", + "India", + "Ireland", + "Iran (Islamic Republic of)", + "Iraq", + "Iceland", + "Israel", + "Italy", + "Jamaica", + "Jordan", + "Japan", + "Kazakhstan", + "Kenya", + "Kyrgyzstan", + "Cambodia", + "Kiribati", + "Saint Kitts and Nevis", + "South Korea", + "Kuwait", + "Lao People's Democratic Republic", + "Lebanon", + "Liberia", + "Libya", + "Saint Lucia", + "Liechtenstein", + "Sri Lanka", + "Lesotho", + "Lithuania", + "Luxembourg", + "Latvia", + "Morocco", + "Monaco", + "Moldova", + "Madagascar", + "Maldives", + "Mexico", + "Marshall Islands", + "North Macedonia", + "Mali", + "Malta", + "Myanmar", + "Montenegro", + "Mongolia", + "Mozambique", + "Mauritania", + "Mauritius", + "Malawi", + "Malaysia", + "Namibia", + "Niger", + "Nigeria", + "Nicaragua", + "Netherlands", + "Norway", + "Nepal", + "Nauru", + "New Zealand", + "Oman", + "Pakistan", + "Panama", + "Peru", + "Philippines", + "Palau", + "Papua New Guinea", + "Poland", + "French Polynesia", + "North Korea", + "Portugal", + "Paraguay", + "Qatar", + "Romania", + "Russia", + "Rwanda", + "Saudi Arabia", + "Sudan", + "Senegal", + "Singapore", + "Solomon Islands", + "Sierra Leone", + "El Salvador", + "San Marino", + "Somalia", + "Serbia", + "South Sudan", + "Sao Tome and Principe", + "Suriname", + "Slovakia", + "Slovenia", + "Sweden", + "Eswatini", + "Seychelles", + "Syria", + "Chad", + "Togo", + "Thailand", + "Tajikistan", + "Turkmenistan", + "Timor-Leste", + "Tonga", + "Trinidad and Tobago", + "Tunisia", + "Turkey", + "Tuvalu", + "Tanzania", + "Uganda", + "Ukraine", + "Uruguay", + "United States", + "Uzbekistan", + "Vatican City", + "Saint Vincent and the Grenadines", + "Venezuela", + "Vietnam", + "Vanuatu", + "Samoa", + "Yemen", + "South Africa", + "Zambia", + "Zimbabwe" + ] + }, + "in": "path" + }, + { + "name": "width", + "description": "Image width. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100 + }, + "in": "query" + }, + { + "name": "height", + "description": "Image height. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100 + }, + "in": "query" + }, + { + "name": "quality", + "description": "Image quality. Pass an integer between 0 to 100. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100 + }, + "in": "query" + } + ] + } + }, + "\/avatars\/image": { + "get": { + "summary": "Get image from URL", + "operationId": "avatarsGetImage", + "tags": [ + "avatars" + ], + "description": "Use this endpoint to fetch a remote image URL and crop it to any image size you want. This endpoint is very useful if you need to crop and display remote images in your app or in case you want to make sure a 3rd party image is properly served using a TLS protocol.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 400x400px.\n\nThis endpoint does not follow HTTP redirects.", + "responses": { + "200": { + "description": "Image" + } + }, + "x-appwrite": { + "method": "getImage", + "group": null, + "weight": 62, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-image.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-image.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "url", + "description": "Image URL which you want to crop.", + "required": true, + "schema": { + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com" + }, + "in": "query" + }, + { + "name": "width", + "description": "Resize preview image width, Pass an integer between 0 to 2000. Defaults to 400.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 400 + }, + "in": "query" + }, + { + "name": "height", + "description": "Resize preview image height, Pass an integer between 0 to 2000. Defaults to 400.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 400 + }, + "in": "query" + } + ] + } + }, + "\/avatars\/initials": { + "get": { + "summary": "Get user initials", + "operationId": "avatarsGetInitials", + "tags": [ + "avatars" + ], + "description": "Use this endpoint to show your user initials avatar icon on your website or app. By default, this route will try to print your logged-in user name or email initials. You can also overwrite the user name if you pass the 'name' parameter. If no name is given and no user is logged, an empty avatar will be returned.\n\nYou can use the color and background params to change the avatar colors. By default, a random theme will be selected. The random theme will persist for the user's initials when reloading the same theme will always return for the same initials.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n", + "responses": { + "200": { + "description": "Image" + } + }, + "x-appwrite": { + "method": "getInitials", + "group": null, + "weight": 65, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-initials.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-initials.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "name", + "description": "Full Name. When empty, current user name or email will be used. Max length: 128 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<NAME>", + "default": "" + }, + "in": "query" + }, + { + "name": "width", + "description": "Image width. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 500 + }, + "in": "query" + }, + { + "name": "height", + "description": "Image height. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 500 + }, + "in": "query" + }, + { + "name": "background", + "description": "Changes background color. By default a random color will be picked and stay will persistent to the given name.", + "required": false, + "schema": { + "type": "string", + "default": "" + }, + "in": "query" + } + ] + } + }, + "\/avatars\/qr": { + "get": { + "summary": "Get QR code", + "operationId": "avatarsGetQR", + "tags": [ + "avatars" + ], + "description": "Converts a given plain text to a QR code image. You can use the query parameters to change the size and style of the resulting image.\n", + "responses": { + "200": { + "description": "Image" + } + }, + "x-appwrite": { + "method": "getQR", + "group": null, + "weight": 64, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-q-r.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-qr.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "text", + "description": "Plain text to be converted to QR code image.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TEXT>" + }, + "in": "query" + }, + { + "name": "size", + "description": "QR code size. Pass an integer between 1 to 1000. Defaults to 400.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 1, + "default": 400 + }, + "in": "query" + }, + { + "name": "margin", + "description": "Margin from edge. Pass an integer between 0 to 10. Defaults to 1.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 1 + }, + "in": "query" + }, + { + "name": "download", + "description": "Return resulting image with 'Content-Disposition: attachment ' headers for the browser to start downloading it. Pass 0 for no header, or 1 for otherwise. Default value is set to 0.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": false + }, + "in": "query" + } + ] + } + }, + "\/console\/assistant": { + "post": { + "summary": "Create assistant query", + "operationId": "assistantChat", + "tags": [ + "assistant" + ], + "description": "Send a prompt to the AI assistant and receive a response. This endpoint allows you to interact with Appwrite's AI assistant by sending questions or prompts and receiving helpful responses in real-time through a server-sent events stream. ", + "responses": { + "200": { + "description": "File" + } + }, + "x-appwrite": { + "method": "chat", + "group": "console", + "weight": 332, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "assistant\/chat.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/assistant\/chat.md", + "rate-limit": 15, + "rate-time": 3600, + "rate-key": "userId:{userId}", + "scope": "assistant.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "prompt": { + "type": "string", + "description": "Prompt. A string containing questions asked to the AI assistant.", + "x-example": "<PROMPT>" + } + }, + "required": [ + "prompt" + ] + } + } + } + } + } + }, + "\/console\/variables": { + "get": { + "summary": "Get variables", + "operationId": "consoleVariables", + "tags": [ + "console" + ], + "description": "Get all Environment Variables that are relevant for the console.", + "responses": { + "200": { + "description": "Console Variables", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/consoleVariables" + } + } + } + } + }, + "x-appwrite": { + "method": "variables", + "group": "console", + "weight": 331, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "console\/variables.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/console\/variables.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ] + } + }, + "\/databases": { + "get": { + "summary": "List databases", + "operationId": "databasesList", + "tags": [ + "databases" + ], + "description": "Get a list of all databases from the current Appwrite project. You can use the search parameter to filter your results.", + "responses": { + "200": { + "description": "Databases List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/databaseList" + } + } + } + } + }, + "x-appwrite": { + "method": "list", + "group": "databases", + "weight": 70, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/list.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "databases.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create database", + "operationId": "databasesCreate", + "tags": [ + "databases" + ], + "description": "Create a new Database.\n", + "responses": { + "201": { + "description": "Database", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/database" + } + } + } + } + }, + "x-appwrite": { + "method": "create", + "group": "databases", + "weight": 69, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "databases.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "databaseId": { + "type": "string", + "description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<DATABASE_ID>" + }, + "name": { + "type": "string", + "description": "Database name. Max length: 128 chars.", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Is the database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.", + "x-example": false + } + }, + "required": [ + "databaseId", + "name" + ] + } + } + } + } + } + }, + "\/databases\/usage": { + "get": { + "summary": "Get databases usage stats", + "operationId": "databasesGetUsage", + "tags": [ + "databases" + ], + "description": "Get usage metrics and statistics for all databases in the project. You can view the total number of databases, collections, documents, and storage usage. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days.", + "responses": { + "200": { + "description": "UsageDatabases", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/usageDatabases" + } + } + } + } + }, + "x-appwrite": { + "method": "getUsage", + "group": null, + "weight": 114, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/get-usage.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-usage.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "range", + "description": "`Date range.", + "required": false, + "schema": { + "type": "string", + "x-example": "24h", + "enum": [ + "24h", + "30d", + "90d" + ], + "x-enum-name": "DatabaseUsageRange", + "x-enum-keys": [ + "Twenty Four Hours", + "Thirty Days", + "Ninety Days" + ], + "default": "30d" + }, + "in": "query" + } + ] + } + }, + "\/databases\/{databaseId}": { + "get": { + "summary": "Get database", + "operationId": "databasesGet", + "tags": [ + "databases" + ], + "description": "Get a database by its unique ID. This endpoint response returns a JSON object with the database metadata.", + "responses": { + "200": { + "description": "Database", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/database" + } + } + } + } + }, + "x-appwrite": { + "method": "get", + "group": "databases", + "weight": 71, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "databases.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + } + ] + }, + "put": { + "summary": "Update database", + "operationId": "databasesUpdate", + "tags": [ + "databases" + ], + "description": "Update a database by its unique ID.", + "responses": { + "200": { + "description": "Database", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/database" + } + } + } + } + }, + "x-appwrite": { + "method": "update", + "group": "databases", + "weight": 73, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "databases.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Database name. Max length: 128 chars.", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Is database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.", + "x-example": false + } + }, + "required": [ + "name" + ] + } + } + } + } + }, + "delete": { + "summary": "Delete database", + "operationId": "databasesDelete", + "tags": [ + "databases" + ], + "description": "Delete a database by its unique ID. Only API keys with with databases.write scope can delete a database.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "delete", + "group": "databases", + "weight": 74, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/delete.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "databases.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + } + ] + } + }, + "\/databases\/{databaseId}\/collections": { + "get": { + "summary": "List collections", + "operationId": "databasesListCollections", + "tags": [ + "databases" + ], + "description": "Get a list of all collections that belong to the provided databaseId. You can use the search parameter to filter your results.", + "responses": { + "200": { + "description": "Collections List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/collectionList" + } + } + } + } + }, + "x-appwrite": { + "method": "listCollections", + "group": "collections", + "weight": 76, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/list-collections.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-collections.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, enabled, documentSecurity", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create collection", + "operationId": "databasesCreateCollection", + "tags": [ + "databases" + ], + "description": "Create a new Collection. Before using this route, you should create a new database resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.", + "responses": { + "201": { + "description": "Collection", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/collection" + } + } + } + } + }, + "x-appwrite": { + "method": "createCollection", + "group": "collections", + "weight": 75, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-collection.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-collection.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "collectionId": { + "type": "string", + "description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<COLLECTION_ID>" + }, + "name": { + "type": "string", + "description": "Collection name. Max length: 128 chars.", + "x-example": "<NAME>" + }, + "permissions": { + "type": "array", + "description": "An array of permissions strings. By default, no user is granted with any permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + }, + "documentSecurity": { + "type": "boolean", + "description": "Enables configuring permissions for individual documents. A user needs one of document or collection level permissions to access a document. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": false + }, + "enabled": { + "type": "boolean", + "description": "Is collection enabled? When set to 'disabled', users cannot access the collection but Server SDKs with and API key can still read and write to the collection. No data is lost when this is toggled.", + "x-example": false + } + }, + "required": [ + "collectionId", + "name" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}": { + "get": { + "summary": "Get collection", + "operationId": "databasesGetCollection", + "tags": [ + "databases" + ], + "description": "Get a collection by its unique ID. This endpoint response returns a JSON object with the collection metadata.", + "responses": { + "200": { + "description": "Collection", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/collection" + } + } + } + } + }, + "x-appwrite": { + "method": "getCollection", + "group": "collections", + "weight": 77, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/get-collection.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + } + ] + }, + "put": { + "summary": "Update collection", + "operationId": "databasesUpdateCollection", + "tags": [ + "databases" + ], + "description": "Update a collection by its unique ID.", + "responses": { + "200": { + "description": "Collection", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/collection" + } + } + } + } + }, + "x-appwrite": { + "method": "updateCollection", + "group": "collections", + "weight": 79, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-collection.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-collection.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Collection name. Max length: 128 chars.", + "x-example": "<NAME>" + }, + "permissions": { + "type": "array", + "description": "An array of permission strings. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + }, + "documentSecurity": { + "type": "boolean", + "description": "Enables configuring permissions for individual documents. A user needs one of document or collection level permissions to access a document. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": false + }, + "enabled": { + "type": "boolean", + "description": "Is collection enabled? When set to 'disabled', users cannot access the collection but Server SDKs with and API key can still read and write to the collection. No data is lost when this is toggled.", + "x-example": false + } + }, + "required": [ + "name" + ] + } + } + } + } + }, + "delete": { + "summary": "Delete collection", + "operationId": "databasesDeleteCollection", + "tags": [ + "databases" + ], + "description": "Delete a collection by its unique ID. Only users with write permissions have access to delete this resource.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteCollection", + "group": "collections", + "weight": 80, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/delete-collection.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-collection.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes": { + "get": { + "summary": "List attributes", + "operationId": "databasesListAttributes", + "tags": [ + "databases" + ], + "description": "List attributes in the collection.", + "responses": { + "200": { + "description": "Attributes List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeList" + } + } + } + } + }, + "x-appwrite": { + "method": "listAttributes", + "group": "attributes", + "weight": 91, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/list-attributes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-attributes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, size, required, array, status, error", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/boolean": { + "post": { + "summary": "Create boolean attribute", + "operationId": "databasesCreateBooleanAttribute", + "tags": [ + "databases" + ], + "description": "Create a boolean attribute.\n", + "responses": { + "202": { + "description": "AttributeBoolean", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeBoolean" + } + } + } + } + }, + "x-appwrite": { + "method": "createBooleanAttribute", + "group": "attributes", + "weight": 88, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-boolean-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-boolean-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": null + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "default": { + "type": "boolean", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": false + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false + } + }, + "required": [ + "key", + "required" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/boolean\/{key}": { + "patch": { + "summary": "Update boolean attribute", + "operationId": "databasesUpdateBooleanAttribute", + "tags": [ + "databases" + ], + "description": "Update a boolean attribute. Changing the `default` value will not update already existing documents.", + "responses": { + "200": { + "description": "AttributeBoolean", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeBoolean" + } + } + } + } + }, + "x-appwrite": { + "method": "updateBooleanAttribute", + "group": "attributes", + "weight": 100, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-boolean-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-boolean-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "schema": { + "type": "string" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "default": { + "type": "boolean", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": false, + "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null + } + }, + "required": [ + "required", + "default" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/datetime": { + "post": { + "summary": "Create datetime attribute", + "operationId": "databasesCreateDatetimeAttribute", + "tags": [ + "databases" + ], + "description": "Create a date time attribute according to the ISO 8601 standard.", + "responses": { + "202": { + "description": "AttributeDatetime", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeDatetime" + } + } + } + } + }, + "x-appwrite": { + "method": "createDatetimeAttribute", + "group": "attributes", + "weight": 89, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-datetime-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-datetime-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": null + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for the attribute in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. Cannot be set when attribute is required.", + "x-example": null + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false + } + }, + "required": [ + "key", + "required" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/datetime\/{key}": { + "patch": { + "summary": "Update dateTime attribute", + "operationId": "databasesUpdateDatetimeAttribute", + "tags": [ + "databases" + ], + "description": "Update a date time attribute. Changing the `default` value will not update already existing documents.", + "responses": { + "200": { + "description": "AttributeDatetime", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeDatetime" + } + } + } + } + }, + "x-appwrite": { + "method": "updateDatetimeAttribute", + "group": "attributes", + "weight": 101, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-datetime-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-datetime-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "schema": { + "type": "string" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": null, + "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null + } + }, + "required": [ + "required", + "default" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/email": { + "post": { + "summary": "Create email attribute", + "operationId": "databasesCreateEmailAttribute", + "tags": [ + "databases" + ], + "description": "Create an email attribute.\n", + "responses": { + "202": { + "description": "AttributeEmail", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeEmail" + } + } + } + } + }, + "x-appwrite": { + "method": "createEmailAttribute", + "group": "attributes", + "weight": 82, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-email-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-email-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": null + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "email@example.com" + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false + } + }, + "required": [ + "key", + "required" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/email\/{key}": { + "patch": { + "summary": "Update email attribute", + "operationId": "databasesUpdateEmailAttribute", + "tags": [ + "databases" + ], + "description": "Update an email attribute. Changing the `default` value will not update already existing documents.\n", + "responses": { + "200": { + "description": "AttributeEmail", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeEmail" + } + } + } + } + }, + "x-appwrite": { + "method": "updateEmailAttribute", + "group": "attributes", + "weight": 94, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-email-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-email-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "schema": { + "type": "string" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "email@example.com", + "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null + } + }, + "required": [ + "required", + "default" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/enum": { + "post": { + "summary": "Create enum attribute", + "operationId": "databasesCreateEnumAttribute", + "tags": [ + "databases" + ], + "description": "Create an enumeration attribute. The `elements` param acts as a white-list of accepted values for this attribute. \n", + "responses": { + "202": { + "description": "AttributeEnum", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeEnum" + } + } + } + } + }, + "x-appwrite": { + "method": "createEnumAttribute", + "group": "attributes", + "weight": 83, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-enum-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-attribute-enum.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": null + }, + "elements": { + "type": "array", + "description": "Array of elements in enumerated type. Uses length of longest element to determine size. Maximum of 100 elements are allowed, each 255 characters long.", + "x-example": null, + "items": { + "type": "string" + } + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "<DEFAULT>" + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false + } + }, + "required": [ + "key", + "elements", + "required" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/enum\/{key}": { + "patch": { + "summary": "Update enum attribute", + "operationId": "databasesUpdateEnumAttribute", + "tags": [ + "databases" + ], + "description": "Update an enum attribute. Changing the `default` value will not update already existing documents.\n", + "responses": { + "200": { + "description": "AttributeEnum", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeEnum" + } + } + } + } + }, + "x-appwrite": { + "method": "updateEnumAttribute", + "group": "attributes", + "weight": 95, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-enum-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-enum-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "schema": { + "type": "string" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "elements": { + "type": "array", + "description": "Array of elements in enumerated type. Uses length of longest element to determine size. Maximum of 100 elements are allowed, each 255 characters long.", + "x-example": null, + "items": { + "type": "string" + } + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "<DEFAULT>", + "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null + } + }, + "required": [ + "elements", + "required", + "default" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/float": { + "post": { + "summary": "Create float attribute", + "operationId": "databasesCreateFloatAttribute", + "tags": [ + "databases" + ], + "description": "Create a float attribute. Optionally, minimum and maximum values can be provided.\n", + "responses": { + "202": { + "description": "AttributeFloat", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeFloat" + } + } + } + } + }, + "x-appwrite": { + "method": "createFloatAttribute", + "group": "attributes", + "weight": 87, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-float-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-float-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": null + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "min": { + "type": "number", + "description": "Minimum value to enforce on new documents", + "x-example": null + }, + "max": { + "type": "number", + "description": "Maximum value to enforce on new documents", + "x-example": null + }, + "default": { + "type": "number", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": null + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false + } + }, + "required": [ + "key", + "required" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/float\/{key}": { + "patch": { + "summary": "Update float attribute", + "operationId": "databasesUpdateFloatAttribute", + "tags": [ + "databases" + ], + "description": "Update a float attribute. Changing the `default` value will not update already existing documents.\n", + "responses": { + "200": { + "description": "AttributeFloat", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeFloat" + } + } + } + } + }, + "x-appwrite": { + "method": "updateFloatAttribute", + "group": "attributes", + "weight": 99, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-float-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-float-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "schema": { + "type": "string" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "min": { + "type": "number", + "description": "Minimum value to enforce on new documents", + "x-example": null + }, + "max": { + "type": "number", + "description": "Maximum value to enforce on new documents", + "x-example": null + }, + "default": { + "type": "number", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": null, + "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null + } + }, + "required": [ + "required", + "default" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/integer": { + "post": { + "summary": "Create integer attribute", + "operationId": "databasesCreateIntegerAttribute", + "tags": [ + "databases" + ], + "description": "Create an integer attribute. Optionally, minimum and maximum values can be provided.\n", + "responses": { + "202": { + "description": "AttributeInteger", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeInteger" + } + } + } + } + }, + "x-appwrite": { + "method": "createIntegerAttribute", + "group": "attributes", + "weight": 86, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-integer-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-integer-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": null + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "min": { + "type": "integer", + "description": "Minimum value to enforce on new documents", + "x-example": null + }, + "max": { + "type": "integer", + "description": "Maximum value to enforce on new documents", + "x-example": null + }, + "default": { + "type": "integer", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": null + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false + } + }, + "required": [ + "key", + "required" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/integer\/{key}": { + "patch": { + "summary": "Update integer attribute", + "operationId": "databasesUpdateIntegerAttribute", + "tags": [ + "databases" + ], + "description": "Update an integer attribute. Changing the `default` value will not update already existing documents.\n", + "responses": { + "200": { + "description": "AttributeInteger", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeInteger" + } + } + } + } + }, + "x-appwrite": { + "method": "updateIntegerAttribute", + "group": "attributes", + "weight": 98, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-integer-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-integer-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "schema": { + "type": "string" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "min": { + "type": "integer", + "description": "Minimum value to enforce on new documents", + "x-example": null + }, + "max": { + "type": "integer", + "description": "Maximum value to enforce on new documents", + "x-example": null + }, + "default": { + "type": "integer", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": null, + "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null + } + }, + "required": [ + "required", + "default" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/ip": { + "post": { + "summary": "Create IP address attribute", + "operationId": "databasesCreateIpAttribute", + "tags": [ + "databases" + ], + "description": "Create IP address attribute.\n", + "responses": { + "202": { + "description": "AttributeIP", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeIp" + } + } + } + } + }, + "x-appwrite": { + "method": "createIpAttribute", + "group": "attributes", + "weight": 84, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-ip-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-ip-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": null + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": null + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false + } + }, + "required": [ + "key", + "required" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/ip\/{key}": { + "patch": { + "summary": "Update IP address attribute", + "operationId": "databasesUpdateIpAttribute", + "tags": [ + "databases" + ], + "description": "Update an ip attribute. Changing the `default` value will not update already existing documents.\n", + "responses": { + "200": { + "description": "AttributeIP", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeIp" + } + } + } + } + }, + "x-appwrite": { + "method": "updateIpAttribute", + "group": "attributes", + "weight": 96, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-ip-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-ip-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "schema": { + "type": "string" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": null, + "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null + } + }, + "required": [ + "required", + "default" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/relationship": { + "post": { + "summary": "Create relationship attribute", + "operationId": "databasesCreateRelationshipAttribute", + "tags": [ + "databases" + ], + "description": "Create relationship attribute. [Learn more about relationship attributes](https:\/\/appwrite.io\/docs\/databases-relationships#relationship-attributes).\n", + "responses": { + "202": { + "description": "AttributeRelationship", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeRelationship" + } + } + } + } + }, + "x-appwrite": { + "method": "createRelationshipAttribute", + "group": "attributes", + "weight": 90, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-relationship-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-relationship-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "relatedCollectionId": { + "type": "string", + "description": "Related Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "x-example": "<RELATED_COLLECTION_ID>" + }, + "type": { + "type": "string", + "description": "Relation type", + "x-example": "oneToOne", + "enum": [ + "oneToOne", + "manyToOne", + "manyToMany", + "oneToMany" + ], + "x-enum-name": "RelationshipType", + "x-enum-keys": [] + }, + "twoWay": { + "type": "boolean", + "description": "Is Two Way?", + "x-example": false + }, + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": null + }, + "twoWayKey": { + "type": "string", + "description": "Two Way Attribute Key.", + "x-example": null + }, + "onDelete": { + "type": "string", + "description": "Constraints option", + "x-example": "cascade", + "enum": [ + "cascade", + "restrict", + "setNull" + ], + "x-enum-name": "RelationMutate", + "x-enum-keys": [] + } + }, + "required": [ + "relatedCollectionId", + "type" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/string": { + "post": { + "summary": "Create string attribute", + "operationId": "databasesCreateStringAttribute", + "tags": [ + "databases" + ], + "description": "Create a string attribute.\n", + "responses": { + "202": { + "description": "AttributeString", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeString" + } + } + } + } + }, + "x-appwrite": { + "method": "createStringAttribute", + "group": "attributes", + "weight": 81, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-string-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-string-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": null + }, + "size": { + "type": "integer", + "description": "Attribute size for text attributes, in number of characters.", + "x-example": 1 + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "<DEFAULT>" + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false + }, + "encrypt": { + "type": "boolean", + "description": "Toggle encryption for the attribute. Encryption enhances security by not storing any plain text values in the database. However, encrypted attributes cannot be queried.", + "x-example": false + } + }, + "required": [ + "key", + "size", + "required" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/string\/{key}": { + "patch": { + "summary": "Update string attribute", + "operationId": "databasesUpdateStringAttribute", + "tags": [ + "databases" + ], + "description": "Update a string attribute. Changing the `default` value will not update already existing documents.\n", + "responses": { + "200": { + "description": "AttributeString", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeString" + } + } + } + } + }, + "x-appwrite": { + "method": "updateStringAttribute", + "group": "attributes", + "weight": 93, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-string-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-string-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "schema": { + "type": "string" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "<DEFAULT>", + "x-nullable": true + }, + "size": { + "type": "integer", + "description": "Maximum size of the string attribute.", + "x-example": 1 + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null + } + }, + "required": [ + "required", + "default" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/url": { + "post": { + "summary": "Create URL attribute", + "operationId": "databasesCreateUrlAttribute", + "tags": [ + "databases" + ], + "description": "Create a URL attribute.\n", + "responses": { + "202": { + "description": "AttributeURL", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeUrl" + } + } + } + } + }, + "x-appwrite": { + "method": "createUrlAttribute", + "group": "attributes", + "weight": 85, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-url-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-url-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": null + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "https:\/\/example.com" + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false + } + }, + "required": [ + "key", + "required" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/url\/{key}": { + "patch": { + "summary": "Update URL attribute", + "operationId": "databasesUpdateUrlAttribute", + "tags": [ + "databases" + ], + "description": "Update an url attribute. Changing the `default` value will not update already existing documents.\n", + "responses": { + "200": { + "description": "AttributeURL", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeUrl" + } + } + } + } + }, + "x-appwrite": { + "method": "updateUrlAttribute", + "group": "attributes", + "weight": 97, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-url-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-url-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "schema": { + "type": "string" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "https:\/\/example.com", + "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null + } + }, + "required": [ + "required", + "default" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/{key}": { + "get": { + "summary": "Get attribute", + "operationId": "databasesGetAttribute", + "tags": [ + "databases" + ], + "description": "Get attribute by ID.", + "responses": { + "200": { + "description": "AttributeBoolean, or AttributeInteger, or AttributeFloat, or AttributeEmail, or AttributeEnum, or AttributeURL, or AttributeIP, or AttributeDatetime, or AttributeRelationship, or AttributeString", + "content": { + "application\/json": { + "schema": { + "oneOf": [ + { + "$ref": "#\/components\/schemas\/attributeBoolean" + }, + { + "$ref": "#\/components\/schemas\/attributeInteger" + }, + { + "$ref": "#\/components\/schemas\/attributeFloat" + }, + { + "$ref": "#\/components\/schemas\/attributeEmail" + }, + { + "$ref": "#\/components\/schemas\/attributeEnum" + }, + { + "$ref": "#\/components\/schemas\/attributeUrl" + }, + { + "$ref": "#\/components\/schemas\/attributeIp" + }, + { + "$ref": "#\/components\/schemas\/attributeDatetime" + }, + { + "$ref": "#\/components\/schemas\/attributeRelationship" + }, + { + "$ref": "#\/components\/schemas\/attributeString" + } + ] + } + } + } + } + }, + "x-appwrite": { + "method": "getAttribute", + "group": "attributes", + "weight": 92, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/get-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "schema": { + "type": "string" + }, + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete attribute", + "operationId": "databasesDeleteAttribute", + "tags": [ + "databases" + ], + "description": "Deletes an attribute.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteAttribute", + "group": "attributes", + "weight": 103, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/delete-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "schema": { + "type": "string" + }, + "in": "path" + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/{key}\/relationship": { + "patch": { + "summary": "Update relationship attribute", + "operationId": "databasesUpdateRelationshipAttribute", + "tags": [ + "databases" + ], + "description": "Update relationship attribute. [Learn more about relationship attributes](https:\/\/appwrite.io\/docs\/databases-relationships#relationship-attributes).\n", + "responses": { + "200": { + "description": "AttributeRelationship", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeRelationship" + } + } + } + } + }, + "x-appwrite": { + "method": "updateRelationshipAttribute", + "group": "attributes", + "weight": 102, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-relationship-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-relationship-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "schema": { + "type": "string" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "onDelete": { + "type": "string", + "description": "Constraints option", + "x-example": "cascade", + "enum": [ + "cascade", + "restrict", + "setNull" + ], + "x-enum-name": "RelationMutate", + "x-enum-keys": [] + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null + } + } + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/documents": { + "get": { + "summary": "List documents", + "operationId": "databasesListDocuments", + "tags": [ + "databases" + ], + "description": "Get a list of all the user's documents in a given collection. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Documents List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/documentList" + } + } + } + } + }, + "x-appwrite": { + "method": "listDocuments", + "group": "documents", + "weight": 109, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/list-documents.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-documents.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "documents.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create document", + "operationId": "databasesCreateDocument", + "tags": [ + "databases" + ], + "description": "Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.\n", + "responses": { + "201": { + "description": "Document", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/document" + } + } + } + } + }, + "x-appwrite": { + "method": "createDocument", + "group": "documents", + "weight": 108, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-document.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-document.md", + "rate-limit": 120, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", + "scope": "documents.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection). Make sure to define attributes before creating documents.", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "documentId": { + "type": "string", + "description": "Document ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<DOCUMENT_ID>" + }, + "data": { + "type": "object", + "description": "Document data as JSON object.", + "x-example": "{}" + }, + "permissions": { + "type": "array", + "description": "An array of permissions strings. By default, only the current user is granted all permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + } + }, + "required": [ + "documentId", + "data" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}": { + "get": { + "summary": "Get document", + "operationId": "databasesGetDocument", + "tags": [ + "databases" + ], + "description": "Get a document by its unique ID. This endpoint response returns a JSON object with the document data.", + "responses": { + "200": { + "description": "Document", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/document" + } + } + } + } + }, + "x-appwrite": { + "method": "getDocument", + "group": "documents", + "weight": 110, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/get-document.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "documents.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "documentId", + "description": "Document ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DOCUMENT_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + }, + "patch": { + "summary": "Update document", + "operationId": "databasesUpdateDocument", + "tags": [ + "databases" + ], + "description": "Update a document by its unique ID. Using the patch method you can pass only specific fields that will get updated.", + "responses": { + "200": { + "description": "Document", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/document" + } + } + } + } + }, + "x-appwrite": { + "method": "updateDocument", + "group": "documents", + "weight": 112, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-document.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-document.md", + "rate-limit": 120, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", + "scope": "documents.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "documentId", + "description": "Document ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DOCUMENT_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "description": "Document data as JSON object. Include only attribute and value pairs to be updated.", + "x-example": "{}" + }, + "permissions": { + "type": "array", + "description": "An array of permissions strings. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete document", + "operationId": "databasesDeleteDocument", + "tags": [ + "databases" + ], + "description": "Delete a document by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteDocument", + "group": "documents", + "weight": 113, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/delete-document.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-document.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", + "scope": "documents.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "documentId", + "description": "Document ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DOCUMENT_ID>" + }, + "in": "path" + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}\/logs": { + "get": { + "summary": "List document logs", + "operationId": "databasesListDocumentLogs", + "tags": [ + "databases" + ], + "description": "Get the document activity logs list by its unique ID.", + "responses": { + "200": { + "description": "Logs List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/logList" + } + } + } + } + }, + "x-appwrite": { + "method": "listDocumentLogs", + "group": "logs", + "weight": 111, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/list-document-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "documents.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "documentId", + "description": "Document ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DOCUMENT_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/indexes": { + "get": { + "summary": "List indexes", + "operationId": "databasesListIndexes", + "tags": [ + "databases" + ], + "description": "List indexes in the collection.", + "responses": { + "200": { + "description": "Indexes List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/indexList" + } + } + } + } + }, + "x-appwrite": { + "method": "listIndexes", + "group": "indexes", + "weight": 105, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/list-indexes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-indexes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, status, attributes, error", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create index", + "operationId": "databasesCreateIndex", + "tags": [ + "databases" + ], + "description": "Creates an index on the attributes listed. Your index should include all the attributes you will query in a single request.\nAttributes can be `key`, `fulltext`, and `unique`.", + "responses": { + "202": { + "description": "Index", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/index" + } + } + } + } + }, + "x-appwrite": { + "method": "createIndex", + "group": "collections", + "weight": 104, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-index.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-index.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Index Key.", + "x-example": null + }, + "type": { + "type": "string", + "description": "Index type.", + "x-example": "key", + "enum": [ + "key", + "fulltext", + "unique" + ], + "x-enum-name": "IndexType", + "x-enum-keys": [] + }, + "attributes": { + "type": "array", + "description": "Array of attributes to index. Maximum of 100 attributes are allowed, each 32 characters long.", + "x-example": null, + "items": { + "type": "string" + } + }, + "orders": { + "type": "array", + "description": "Array of index orders. Maximum of 100 orders are allowed.", + "x-example": null, + "items": { + "type": "string" + } + } + }, + "required": [ + "key", + "type", + "attributes" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/indexes\/{key}": { + "get": { + "summary": "Get index", + "operationId": "databasesGetIndex", + "tags": [ + "databases" + ], + "description": "Get index by ID.", + "responses": { + "200": { + "description": "Index", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/index" + } + } + } + } + }, + "x-appwrite": { + "method": "getIndex", + "group": "indexes", + "weight": 106, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/get-index.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-index.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "key", + "description": "Index Key.", + "required": true, + "schema": { + "type": "string" + }, + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete index", + "operationId": "databasesDeleteIndex", + "tags": [ + "databases" + ], + "description": "Delete an index.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteIndex", + "group": "indexes", + "weight": 107, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/delete-index.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-index.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "key", + "description": "Index Key.", + "required": true, + "schema": { + "type": "string" + }, + "in": "path" + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/logs": { + "get": { + "summary": "List collection logs", + "operationId": "databasesListCollectionLogs", + "tags": [ + "databases" + ], + "description": "Get the collection activity logs list by its unique ID.", + "responses": { + "200": { + "description": "Logs List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/logList" + } + } + } + } + }, + "x-appwrite": { + "method": "listCollectionLogs", + "group": "collections", + "weight": 78, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/list-collection-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/usage": { + "get": { + "summary": "Get collection usage stats", + "operationId": "databasesGetCollectionUsage", + "tags": [ + "databases" + ], + "description": "Get usage metrics and statistics for a collection. Returning the total number of documents. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days.", + "responses": { + "200": { + "description": "UsageCollection", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/usageCollection" + } + } + } + } + }, + "x-appwrite": { + "method": "getCollectionUsage", + "group": null, + "weight": 116, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/get-collection-usage.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection-usage.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "range", + "description": "Date range.", + "required": false, + "schema": { + "type": "string", + "x-example": "24h", + "enum": [ + "24h", + "30d", + "90d" + ], + "x-enum-name": "DatabaseUsageRange", + "x-enum-keys": [ + "Twenty Four Hours", + "Thirty Days", + "Ninety Days" + ], + "default": "30d" + }, + "in": "query" + }, + { + "name": "collectionId", + "description": "Collection ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + } + ] + } + }, + "\/databases\/{databaseId}\/logs": { + "get": { + "summary": "List database logs", + "operationId": "databasesListLogs", + "tags": [ + "databases" + ], + "description": "Get the database activity logs list by its unique ID.", + "responses": { + "200": { + "description": "Logs List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/logList" + } + } + } + } + }, + "x-appwrite": { + "method": "listLogs", + "group": "logs", + "weight": 72, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/list-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "databases.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + } + }, + "\/databases\/{databaseId}\/usage": { + "get": { + "summary": "Get database usage stats", + "operationId": "databasesGetDatabaseUsage", + "tags": [ + "databases" + ], + "description": "Get usage metrics and statistics for a database. You can view the total number of collections, documents, and storage usage. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days.", + "responses": { + "200": { + "description": "UsageDatabase", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/usageDatabase" + } + } + } + } + }, + "x-appwrite": { + "method": "getDatabaseUsage", + "group": null, + "weight": 115, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/get-database-usage.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-database-usage.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "range", + "description": "`Date range.", + "required": false, + "schema": { + "type": "string", + "x-example": "24h", + "enum": [ + "24h", + "30d", + "90d" + ], + "x-enum-name": "DatabaseUsageRange", + "x-enum-keys": [ + "Twenty Four Hours", + "Thirty Days", + "Ninety Days" + ], + "default": "30d" + }, + "in": "query" + } + ] + } + }, + "\/functions": { + "get": { + "summary": "List functions", + "operationId": "functionsList", + "tags": [ + "functions" + ], + "description": "Get a list of all the project's functions. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Functions List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/functionList" + } + } + } + } + }, + "x-appwrite": { + "method": "list", + "group": "functions", + "weight": 288, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/list.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-functions.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, enabled, runtime, deployment, schedule, scheduleNext, schedulePrevious, timeout, entrypoint, commands, installationId", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create function", + "operationId": "functionsCreate", + "tags": [ + "functions" + ], + "description": "Create a new function. You can pass a list of [permissions](https:\/\/appwrite.io\/docs\/permissions) to allow different project users or team with access to execute the function using the client API.", + "responses": { + "201": { + "description": "Function", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/function" + } + } + } + } + }, + "x-appwrite": { + "method": "create", + "group": "functions", + "weight": 287, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/create.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-function.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "functionId": { + "type": "string", + "description": "Function ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<FUNCTION_ID>" + }, + "name": { + "type": "string", + "description": "Function name. Max length: 128 chars.", + "x-example": "<NAME>" + }, + "runtime": { + "type": "string", + "description": "Execution runtime.", + "x-example": "node-14.5", + "enum": [ + "node-14.5", + "node-16.0", + "node-18.0", + "node-19.0", + "node-20.0", + "node-21.0", + "node-22", + "php-8.0", + "php-8.1", + "php-8.2", + "php-8.3", + "ruby-3.0", + "ruby-3.1", + "ruby-3.2", + "ruby-3.3", + "python-3.8", + "python-3.9", + "python-3.10", + "python-3.11", + "python-3.12", + "python-ml-3.11", + "deno-1.21", + "deno-1.24", + "deno-1.35", + "deno-1.40", + "deno-1.46", + "deno-2.0", + "dart-2.15", + "dart-2.16", + "dart-2.17", + "dart-2.18", + "dart-3.0", + "dart-3.1", + "dart-3.3", + "dart-3.5", + "dotnet-6.0", + "dotnet-7.0", + "dotnet-8.0", + "java-8.0", + "java-11.0", + "java-17.0", + "java-18.0", + "java-21.0", + "java-22", + "swift-5.5", + "swift-5.8", + "swift-5.9", + "swift-5.10", + "kotlin-1.6", + "kotlin-1.8", + "kotlin-1.9", + "kotlin-2.0", + "cpp-17", + "cpp-20", + "bun-1.0", + "bun-1.1", + "go-1.23", + "static-1", + "flutter-3.24" + ], + "x-enum-name": null, + "x-enum-keys": [] + }, + "execute": { + "type": "array", + "description": "An array of role strings with execution permissions. By default no user is granted with any execute permissions. [learn more about roles](https:\/\/appwrite.io\/docs\/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.", + "x-example": "[\"any\"]", + "items": { + "type": "string" + } + }, + "events": { + "type": "array", + "description": "Events list. Maximum of 100 events are allowed.", + "x-example": null, + "items": { + "type": "string" + } + }, + "schedule": { + "type": "string", + "description": "Schedule CRON syntax.", + "x-example": null + }, + "timeout": { + "type": "integer", + "description": "Function maximum execution time in seconds.", + "x-example": 1 + }, + "enabled": { + "type": "boolean", + "description": "Is function enabled? When set to 'disabled', users cannot access the function but Server SDKs with and API key can still access the function. No data is lost when this is toggled.", + "x-example": false + }, + "logging": { + "type": "boolean", + "description": "Whether executions will be logged. When set to false, executions will not be logged, but will reduce resource used by your Appwrite project.", + "x-example": false + }, + "entrypoint": { + "type": "string", + "description": "Entrypoint File. This path is relative to the \"providerRootDirectory\".", + "x-example": "<ENTRYPOINT>" + }, + "commands": { + "type": "string", + "description": "Build Commands.", + "x-example": "<COMMANDS>" + }, + "scopes": { + "type": "array", + "description": "List of scopes allowed for API key auto-generated for every execution. Maximum of 100 scopes are allowed.", + "x-example": null, + "items": { + "type": "string" + } + }, + "installationId": { + "type": "string", + "description": "Appwrite Installation ID for VCS (Version Control System) deployment.", + "x-example": "<INSTALLATION_ID>" + }, + "providerRepositoryId": { + "type": "string", + "description": "Repository ID of the repo linked to the function.", + "x-example": "<PROVIDER_REPOSITORY_ID>" + }, + "providerBranch": { + "type": "string", + "description": "Production branch for the repo linked to the function.", + "x-example": "<PROVIDER_BRANCH>" + }, + "providerSilentMode": { + "type": "boolean", + "description": "Is the VCS (Version Control System) connection in silent mode for the repo linked to the function? In silent mode, comments will not be made on commits and pull requests.", + "x-example": false + }, + "providerRootDirectory": { + "type": "string", + "description": "Path to function code in the linked repo.", + "x-example": "<PROVIDER_ROOT_DIRECTORY>" + }, + "templateRepository": { + "type": "string", + "description": "Repository name of the template.", + "x-example": "<TEMPLATE_REPOSITORY>" + }, + "templateOwner": { + "type": "string", + "description": "The name of the owner of the template.", + "x-example": "<TEMPLATE_OWNER>" + }, + "templateRootDirectory": { + "type": "string", + "description": "Path to function code in the template repo.", + "x-example": "<TEMPLATE_ROOT_DIRECTORY>" + }, + "templateVersion": { + "type": "string", + "description": "Version (tag) for the repo linked to the function template.", + "x-example": "<TEMPLATE_VERSION>" + }, + "specification": { + "type": "string", + "description": "Runtime specification for the function and builds.", + "x-example": null + } + }, + "required": [ + "functionId", + "name", + "runtime" + ] + } + } + } + } + } + }, + "\/functions\/runtimes": { + "get": { + "summary": "List runtimes", + "operationId": "functionsListRuntimes", + "tags": [ + "functions" + ], + "description": "Get a list of all runtimes that are currently active on your instance.", + "responses": { + "200": { + "description": "Runtimes List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/runtimeList" + } + } + } + } + }, + "x-appwrite": { + "method": "listRuntimes", + "group": "runtimes", + "weight": 289, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/list-runtimes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-runtimes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/functions\/specifications": { + "get": { + "summary": "List available function runtime specifications", + "operationId": "functionsListSpecifications", + "tags": [ + "functions" + ], + "description": "List allowed function specifications for this instance.\n", + "responses": { + "200": { + "description": "Specifications List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/specificationList" + } + } + } + } + }, + "x-appwrite": { + "method": "listSpecifications", + "group": "runtimes", + "weight": 290, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/list-specifications.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-specifications.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server", + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/functions\/templates": { + "get": { + "summary": "List function templates", + "operationId": "functionsListTemplates", + "tags": [ + "functions" + ], + "description": "List available function templates. You can use template details in [createFunction](\/docs\/references\/cloud\/server-nodejs\/functions#create) method.", + "responses": { + "200": { + "description": "Function Templates List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/templateFunctionList" + } + } + } + } + }, + "x-appwrite": { + "method": "listTemplates", + "group": "templates", + "weight": 313, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/list-templates.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-templates.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "public", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "runtimes", + "description": "List of runtimes allowed for filtering function templates. Maximum of 100 runtimes are allowed.", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "useCases", + "description": "List of use cases allowed for filtering function templates. Maximum of 100 use cases are allowed.", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "limit", + "description": "Limit the number of templates returned in the response. Default limit is 25, and maximum limit is 5000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 1, + "default": 25 + }, + "in": "query" + }, + { + "name": "offset", + "description": "Offset the list of returned templates. Maximum offset is 5000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 0 + }, + "in": "query" + } + ] + } + }, + "\/functions\/templates\/{templateId}": { + "get": { + "summary": "Get function template", + "operationId": "functionsGetTemplate", + "tags": [ + "functions" + ], + "description": "Get a function template using ID. You can use template details in [createFunction](\/docs\/references\/cloud\/server-nodejs\/functions#create) method.", + "responses": { + "200": { + "description": "Template Function", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/templateFunction" + } + } + } + } + }, + "x-appwrite": { + "method": "getTemplate", + "group": "templates", + "weight": 314, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/get-template.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-template.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "public", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "templateId", + "description": "Template ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TEMPLATE_ID>" + }, + "in": "path" + } + ] + } + }, + "\/functions\/usage": { + "get": { + "summary": "Get functions usage", + "operationId": "functionsGetUsage", + "tags": [ + "functions" + ], + "description": "Get usage metrics and statistics for a for all functions. View statistics including total functions, deployments, builds, executions, storage usage, and compute time. The response includes both current totals and historical data for each metric. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, defaults to 30 days.", + "responses": { + "200": { + "description": "UsageFunctions", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/usageFunctions" + } + } + } + } + }, + "x-appwrite": { + "method": "getUsage", + "group": null, + "weight": 293, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/get-usage.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-functions-usage.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "range", + "description": "Date range.", + "required": false, + "schema": { + "type": "string", + "x-example": "24h", + "enum": [ + "24h", + "30d", + "90d" + ], + "x-enum-name": "FunctionUsageRange", + "x-enum-keys": [ + "Twenty Four Hours", + "Thirty Days", + "Ninety Days" + ], + "default": "30d" + }, + "in": "query" + } + ] + } + }, + "\/functions\/{functionId}": { + "get": { + "summary": "Get function", + "operationId": "functionsGet", + "tags": [ + "functions" + ], + "description": "Get a function by its unique ID.", + "responses": { + "200": { + "description": "Function", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/function" + } + } + } + } + }, + "x-appwrite": { + "method": "get", + "group": "functions", + "weight": 291, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-function.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + } + ] + }, + "put": { + "summary": "Update function", + "operationId": "functionsUpdate", + "tags": [ + "functions" + ], + "description": "Update function by its unique ID.", + "responses": { + "200": { + "description": "Function", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/function" + } + } + } + } + }, + "x-appwrite": { + "method": "update", + "group": "functions", + "weight": 294, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/update.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/update-function.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Function name. Max length: 128 chars.", + "x-example": "<NAME>" + }, + "runtime": { + "type": "string", + "description": "Execution runtime.", + "x-example": "node-14.5", + "enum": [ + "node-14.5", + "node-16.0", + "node-18.0", + "node-19.0", + "node-20.0", + "node-21.0", + "node-22", + "php-8.0", + "php-8.1", + "php-8.2", + "php-8.3", + "ruby-3.0", + "ruby-3.1", + "ruby-3.2", + "ruby-3.3", + "python-3.8", + "python-3.9", + "python-3.10", + "python-3.11", + "python-3.12", + "python-ml-3.11", + "deno-1.21", + "deno-1.24", + "deno-1.35", + "deno-1.40", + "deno-1.46", + "deno-2.0", + "dart-2.15", + "dart-2.16", + "dart-2.17", + "dart-2.18", + "dart-3.0", + "dart-3.1", + "dart-3.3", + "dart-3.5", + "dotnet-6.0", + "dotnet-7.0", + "dotnet-8.0", + "java-8.0", + "java-11.0", + "java-17.0", + "java-18.0", + "java-21.0", + "java-22", + "swift-5.5", + "swift-5.8", + "swift-5.9", + "swift-5.10", + "kotlin-1.6", + "kotlin-1.8", + "kotlin-1.9", + "kotlin-2.0", + "cpp-17", + "cpp-20", + "bun-1.0", + "bun-1.1", + "go-1.23", + "static-1", + "flutter-3.24" + ], + "x-enum-name": null, + "x-enum-keys": [] + }, + "execute": { + "type": "array", + "description": "An array of role strings with execution permissions. By default no user is granted with any execute permissions. [learn more about roles](https:\/\/appwrite.io\/docs\/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.", + "x-example": "[\"any\"]", + "items": { + "type": "string" + } + }, + "events": { + "type": "array", + "description": "Events list. Maximum of 100 events are allowed.", + "x-example": null, + "items": { + "type": "string" + } + }, + "schedule": { + "type": "string", + "description": "Schedule CRON syntax.", + "x-example": null + }, + "timeout": { + "type": "integer", + "description": "Maximum execution time in seconds.", + "x-example": 1 + }, + "enabled": { + "type": "boolean", + "description": "Is function enabled? When set to 'disabled', users cannot access the function but Server SDKs with and API key can still access the function. No data is lost when this is toggled.", + "x-example": false + }, + "logging": { + "type": "boolean", + "description": "Whether executions will be logged. When set to false, executions will not be logged, but will reduce resource used by your Appwrite project.", + "x-example": false + }, + "entrypoint": { + "type": "string", + "description": "Entrypoint File. This path is relative to the \"providerRootDirectory\".", + "x-example": "<ENTRYPOINT>" + }, + "commands": { + "type": "string", + "description": "Build Commands.", + "x-example": "<COMMANDS>" + }, + "scopes": { + "type": "array", + "description": "List of scopes allowed for API Key auto-generated for every execution. Maximum of 100 scopes are allowed.", + "x-example": null, + "items": { + "type": "string" + } + }, + "installationId": { + "type": "string", + "description": "Appwrite Installation ID for VCS (Version Controle System) deployment.", + "x-example": "<INSTALLATION_ID>" + }, + "providerRepositoryId": { + "type": "string", + "description": "Repository ID of the repo linked to the function", + "x-example": "<PROVIDER_REPOSITORY_ID>", + "x-nullable": true + }, + "providerBranch": { + "type": "string", + "description": "Production branch for the repo linked to the function", + "x-example": "<PROVIDER_BRANCH>" + }, + "providerSilentMode": { + "type": "boolean", + "description": "Is the VCS (Version Control System) connection in silent mode for the repo linked to the function? In silent mode, comments will not be made on commits and pull requests.", + "x-example": false + }, + "providerRootDirectory": { + "type": "string", + "description": "Path to function code in the linked repo.", + "x-example": "<PROVIDER_ROOT_DIRECTORY>" + }, + "specification": { + "type": "string", + "description": "Runtime specification for the function and builds.", + "x-example": null + } + }, + "required": [ + "name" + ] + } + } + } + } + }, + "delete": { + "summary": "Delete function", + "operationId": "functionsDelete", + "tags": [ + "functions" + ], + "description": "Delete a function by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "delete", + "group": "functions", + "weight": 297, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/delete.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/delete-function.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + } + ] + } + }, + "\/functions\/{functionId}\/deployments": { + "get": { + "summary": "List deployments", + "operationId": "functionsListDeployments", + "tags": [ + "functions" + ], + "description": "Get a list of all the project's code deployments. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Deployments List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/deploymentList" + } + } + } + } + }, + "x-appwrite": { + "method": "listDeployments", + "group": "deployments", + "weight": 299, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/list-deployments.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-deployments.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: size, buildId, activate, entrypoint, commands, type, size", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create deployment", + "operationId": "functionsCreateDeployment", + "tags": [ + "functions" + ], + "description": "Create a new function code deployment. Use this endpoint to upload a new version of your code function. To execute your newly uploaded code, you'll need to update the function's deployment to use your new deployment UID.\n\nThis endpoint accepts a tar.gz file compressed with your code. Make sure to include any dependencies your code has within the compressed file. You can learn more about code packaging in the [Appwrite Cloud Functions tutorial](https:\/\/appwrite.io\/docs\/functions).\n\nUse the \"command\" param to set the entrypoint used to execute your code.", + "responses": { + "202": { + "description": "Deployment", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/deployment" + } + } + } + } + }, + "x-appwrite": { + "method": "createDeployment", + "group": "deployments", + "weight": 298, + "cookies": false, + "type": "upload", + "deprecated": false, + "demo": "functions\/create-deployment.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-deployment.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": true, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "multipart\/form-data": { + "schema": { + "type": "object", + "properties": { + "entrypoint": { + "type": "string", + "description": "Entrypoint File.", + "x-example": "<ENTRYPOINT>" + }, + "commands": { + "type": "string", + "description": "Build Commands.", + "x-example": "<COMMANDS>" + }, + "code": { + "type": "string", + "description": "Gzip file with your code package. When used with the Appwrite CLI, pass the path to your code directory, and the CLI will automatically package your code. Use a path that is within the current directory.", + "x-example": null + }, + "activate": { + "type": "boolean", + "description": "Automatically activate the deployment when it is finished building.", + "x-example": false + } + }, + "required": [ + "code", + "activate" + ] + } + } + } + } + } + }, + "\/functions\/{functionId}\/deployments\/{deploymentId}": { + "get": { + "summary": "Get deployment", + "operationId": "functionsGetDeployment", + "tags": [ + "functions" + ], + "description": "Get a code deployment by its unique ID.", + "responses": { + "200": { + "description": "Deployment", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/deployment" + } + } + } + } + }, + "x-appwrite": { + "method": "getDeployment", + "group": "deployments", + "weight": 300, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/get-deployment.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-deployment.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + }, + { + "name": "deploymentId", + "description": "Deployment ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DEPLOYMENT_ID>" + }, + "in": "path" + } + ] + }, + "patch": { + "summary": "Update deployment", + "operationId": "functionsUpdateDeployment", + "tags": [ + "functions" + ], + "description": "Update the function code deployment ID using the unique function ID. Use this endpoint to switch the code deployment that should be executed by the execution endpoint.", + "responses": { + "200": { + "description": "Function", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/function" + } + } + } + } + }, + "x-appwrite": { + "method": "updateDeployment", + "group": "deployments", + "weight": 296, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/update-deployment.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/update-function-deployment.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + }, + { + "name": "deploymentId", + "description": "Deployment ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DEPLOYMENT_ID>" + }, + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete deployment", + "operationId": "functionsDeleteDeployment", + "tags": [ + "functions" + ], + "description": "Delete a code deployment by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteDeployment", + "group": "deployments", + "weight": 301, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/delete-deployment.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/delete-deployment.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + }, + { + "name": "deploymentId", + "description": "Deployment ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DEPLOYMENT_ID>" + }, + "in": "path" + } + ] + } + }, + "\/functions\/{functionId}\/deployments\/{deploymentId}\/build": { + "post": { + "summary": "Create deployment build", + "operationId": "functionsCreateBuild", + "tags": [ + "functions" + ], + "description": "Create a new build for an existing function deployment. This endpoint allows you to rebuild a deployment with the updated function configuration, including its entrypoint and build commands if they have been modified The build process will be queued and executed asynchronously. The original deployment's code will be preserved and used for the new build.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "createBuild", + "group": "deployments", + "weight": 302, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/create-build.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-build.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + }, + { + "name": "deploymentId", + "description": "Deployment ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DEPLOYMENT_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "buildId": { + "type": "string", + "description": "Build unique ID.", + "x-example": "<BUILD_ID>" + } + } + } + } + } + } + }, + "patch": { + "summary": "Cancel deployment", + "operationId": "functionsUpdateDeploymentBuild", + "tags": [ + "functions" + ], + "description": "Cancel an ongoing function deployment build. If the build is already in progress, it will be stopped and marked as canceled. If the build hasn't started yet, it will be marked as canceled without executing. You cannot cancel builds that have already completed (status 'ready') or failed. The response includes the final build status and details.", + "responses": { + "200": { + "description": "Build", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/build" + } + } + } + } + }, + "x-appwrite": { + "method": "updateDeploymentBuild", + "group": "deployments", + "weight": 303, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/update-deployment-build.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/update-deployment-build.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + }, + { + "name": "deploymentId", + "description": "Deployment ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DEPLOYMENT_ID>" + }, + "in": "path" + } + ] + } + }, + "\/functions\/{functionId}\/deployments\/{deploymentId}\/download": { + "get": { + "summary": "Get deployment download", + "operationId": "functionsGetDeploymentDownload", + "tags": [ + "functions" + ], + "description": "Get a Deployment's contents by its unique ID. This endpoint supports range requests for partial or streaming file download.", + "responses": { + "200": { + "description": "File" + } + }, + "x-appwrite": { + "method": "getDeploymentDownload", + "group": "deployments", + "weight": 295, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "functions\/get-deployment-download.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-deployment-download.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + }, + { + "name": "deploymentId", + "description": "Deployment ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DEPLOYMENT_ID>" + }, + "in": "path" + } + ] + } + }, + "\/functions\/{functionId}\/executions": { + "get": { + "summary": "List executions", + "operationId": "functionsListExecutions", + "tags": [ + "functions" + ], + "description": "Get a list of all the current user function execution logs. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Executions List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/executionList" + } + } + } + } + }, + "x-appwrite": { + "method": "listExecutions", + "group": "executions", + "weight": 305, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/list-executions.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-executions.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "execution.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: trigger, status, responseStatusCode, duration, requestMethod, requestPath, deploymentId", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create execution", + "operationId": "functionsCreateExecution", + "tags": [ + "functions" + ], + "description": "Trigger a function execution. The returned object will return you the current execution status. You can ping the `Get Execution` endpoint to get updates on the current execution status. Once this endpoint is called, your function execution process will start asynchronously.", + "responses": { + "201": { + "description": "Execution", + "content": { + "multipart\/form-data": { + "schema": { + "$ref": "#\/components\/schemas\/execution" + } + } + } + } + }, + "x-appwrite": { + "method": "createExecution", + "group": "executions", + "weight": 304, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/create-execution.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-execution.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "execution.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "HTTP body of execution. Default value is empty string.", + "x-example": "<BODY>" + }, + "async": { + "type": "boolean", + "description": "Execute code in the background. Default value is false.", + "x-example": false + }, + "path": { + "type": "string", + "description": "HTTP path of execution. Path can include query params. Default value is \/", + "x-example": "<PATH>" + }, + "method": { + "type": "string", + "description": "HTTP method of execution. Default value is GET.", + "x-example": "GET", + "enum": [ + "GET", + "POST", + "PUT", + "PATCH", + "DELETE", + "OPTIONS" + ], + "x-enum-name": "ExecutionMethod", + "x-enum-keys": [] + }, + "headers": { + "type": "string", + "description": "HTTP headers of execution. Defaults to empty.", + "x-example": null + }, + "scheduledAt": { + "type": "string", + "description": "Scheduled execution time in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future with precision in minutes.", + "x-example": null + } + } + } + } + } + } + } + }, + "\/functions\/{functionId}\/executions\/{executionId}": { + "get": { + "summary": "Get execution", + "operationId": "functionsGetExecution", + "tags": [ + "functions" + ], + "description": "Get a function execution log by its unique ID.", + "responses": { + "200": { + "description": "Execution", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/execution" + } + } + } + } + }, + "x-appwrite": { + "method": "getExecution", + "group": "executions", + "weight": 306, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/get-execution.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-execution.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "execution.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + }, + { + "name": "executionId", + "description": "Execution ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<EXECUTION_ID>" + }, + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete execution", + "operationId": "functionsDeleteExecution", + "tags": [ + "functions" + ], + "description": "Delete a function execution by its unique ID.\n", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteExecution", + "group": "executions", + "weight": 307, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/delete-execution.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/delete-execution.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "execution.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + }, + { + "name": "executionId", + "description": "Execution ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<EXECUTION_ID>" + }, + "in": "path" + } + ] + } + }, + "\/functions\/{functionId}\/usage": { + "get": { + "summary": "Get function usage", + "operationId": "functionsGetFunctionUsage", + "tags": [ + "functions" + ], + "description": "Get usage metrics and statistics for a for a specific function. View statistics including total deployments, builds, executions, storage usage, and compute time. The response includes both current totals and historical data for each metric. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, defaults to 30 days.", + "responses": { + "200": { + "description": "UsageFunction", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/usageFunction" + } + } + } + } + }, + "x-appwrite": { + "method": "getFunctionUsage", + "group": null, + "weight": 292, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/get-function-usage.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-function-usage.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + }, + { + "name": "range", + "description": "Date range.", + "required": false, + "schema": { + "type": "string", + "x-example": "24h", + "enum": [ + "24h", + "30d", + "90d" + ], + "x-enum-name": "FunctionUsageRange", + "x-enum-keys": [ + "Twenty Four Hours", + "Thirty Days", + "Ninety Days" + ], + "default": "30d" + }, + "in": "query" + } + ] + } + }, + "\/functions\/{functionId}\/variables": { + "get": { + "summary": "List variables", + "operationId": "functionsListVariables", + "tags": [ + "functions" + ], + "description": "Get a list of all variables of a specific function.", + "responses": { + "200": { + "description": "Variables List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/variableList" + } + } + } + } + }, + "x-appwrite": { + "method": "listVariables", + "group": "variables", + "weight": 309, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/list-variables.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-variables.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + } + ] + }, + "post": { + "summary": "Create variable", + "operationId": "functionsCreateVariable", + "tags": [ + "functions" + ], + "description": "Create a new function environment variable. These variables can be accessed in the function at runtime as environment variables.", + "responses": { + "201": { + "description": "Variable", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/variable" + } + } + } + } + }, + "x-appwrite": { + "method": "createVariable", + "group": "variables", + "weight": 308, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/create-variable.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-variable.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Variable key. Max length: 255 chars.", + "x-example": "<KEY>" + }, + "value": { + "type": "string", + "description": "Variable value. Max length: 8192 chars.", + "x-example": "<VALUE>" + } + }, + "required": [ + "key", + "value" + ] + } + } + } + } + } + }, + "\/functions\/{functionId}\/variables\/{variableId}": { + "get": { + "summary": "Get variable", + "operationId": "functionsGetVariable", + "tags": [ + "functions" + ], + "description": "Get a variable by its unique ID.", + "responses": { + "200": { + "description": "Variable", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/variable" + } + } + } + } + }, + "x-appwrite": { + "method": "getVariable", + "group": "variables", + "weight": 310, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/get-variable.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-variable.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + }, + { + "name": "variableId", + "description": "Variable unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<VARIABLE_ID>" + }, + "in": "path" + } + ] + }, + "put": { + "summary": "Update variable", + "operationId": "functionsUpdateVariable", + "tags": [ + "functions" + ], + "description": "Update variable by its unique ID.", + "responses": { + "200": { + "description": "Variable", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/variable" + } + } + } + } + }, + "x-appwrite": { + "method": "updateVariable", + "group": "variables", + "weight": 311, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/update-variable.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/update-variable.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + }, + { + "name": "variableId", + "description": "Variable unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<VARIABLE_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Variable key. Max length: 255 chars.", + "x-example": "<KEY>" + }, + "value": { + "type": "string", + "description": "Variable value. Max length: 8192 chars.", + "x-example": "<VALUE>" + } + }, + "required": [ + "key" + ] + } + } + } + } + }, + "delete": { + "summary": "Delete variable", + "operationId": "functionsDeleteVariable", + "tags": [ + "functions" + ], + "description": "Delete a variable by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteVariable", + "group": "variables", + "weight": 312, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/delete-variable.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/delete-variable.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + }, + { + "name": "variableId", + "description": "Variable unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<VARIABLE_ID>" + }, + "in": "path" + } + ] + } + }, + "\/graphql": { + "post": { + "summary": "GraphQL endpoint", + "operationId": "graphqlQuery", + "tags": [ + "graphql" + ], + "description": "Execute a GraphQL mutation.", + "responses": { + "200": { + "description": "Any", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/any" + } + } + } + } + }, + "x-appwrite": { + "method": "query", + "group": "graphql", + "weight": 330, + "cookies": false, + "type": "graphql", + "deprecated": false, + "demo": "graphql\/query.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "url:{url},ip:{ip}", + "scope": "graphql", + "platforms": [ + "server", + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/graphql\/mutation": { + "post": { + "summary": "GraphQL endpoint", + "operationId": "graphqlMutation", + "tags": [ + "graphql" + ], + "description": "Execute a GraphQL mutation.", + "responses": { + "200": { + "description": "Any", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/any" + } + } + } + } + }, + "x-appwrite": { + "method": "mutation", + "group": "graphql", + "weight": 329, + "cookies": false, + "type": "graphql", + "deprecated": false, + "demo": "graphql\/mutation.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "url:{url},ip:{ip}", + "scope": "graphql", + "platforms": [ + "server", + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/health": { + "get": { + "summary": "Get HTTP", + "operationId": "healthGet", + "tags": [ + "health" + ], + "description": "Check the Appwrite HTTP server is up and responsive.", + "responses": { + "200": { + "description": "Health Status", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthStatus" + } + } + } + } + }, + "x-appwrite": { + "method": "get", + "group": "health", + "weight": 125, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/health\/anti-virus": { + "get": { + "summary": "Get antivirus", + "operationId": "healthGetAntivirus", + "tags": [ + "health" + ], + "description": "Check the Appwrite Antivirus server is up and connection is successful.", + "responses": { + "200": { + "description": "Health Antivirus", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthAntivirus" + } + } + } + } + }, + "x-appwrite": { + "method": "getAntivirus", + "group": "health", + "weight": 146, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-antivirus.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage-anti-virus.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/health\/cache": { + "get": { + "summary": "Get cache", + "operationId": "healthGetCache", + "tags": [ + "health" + ], + "description": "Check the Appwrite in-memory cache servers are up and connection is successful.", + "responses": { + "200": { + "description": "Health Status", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthStatus" + } + } + } + } + }, + "x-appwrite": { + "method": "getCache", + "group": "health", + "weight": 128, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-cache.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-cache.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/health\/certificate": { + "get": { + "summary": "Get the SSL certificate for a domain", + "operationId": "healthGetCertificate", + "tags": [ + "health" + ], + "description": "Get the SSL certificate for a domain", + "responses": { + "200": { + "description": "Health Certificate", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthCertificate" + } + } + } + } + }, + "x-appwrite": { + "method": "getCertificate", + "group": "health", + "weight": 133, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-certificate.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-certificate.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "domain", + "description": "string", + "required": false, + "schema": { + "type": "string" + }, + "in": "query" + } + ] + } + }, + "\/health\/db": { + "get": { + "summary": "Get DB", + "operationId": "healthGetDB", + "tags": [ + "health" + ], + "description": "Check the Appwrite database servers are up and connection is successful.", + "responses": { + "200": { + "description": "Health Status", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthStatus" + } + } + } + } + }, + "x-appwrite": { + "method": "getDB", + "group": "health", + "weight": 127, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-d-b.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-db.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/health\/pubsub": { + "get": { + "summary": "Get pubsub", + "operationId": "healthGetPubSub", + "tags": [ + "health" + ], + "description": "Check the Appwrite pub-sub servers are up and connection is successful.", + "responses": { + "200": { + "description": "Health Status", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthStatus" + } + } + } + } + }, + "x-appwrite": { + "method": "getPubSub", + "group": "health", + "weight": 129, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-pub-sub.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-pubsub.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/health\/queue\/builds": { + "get": { + "summary": "Get builds queue", + "operationId": "healthGetQueueBuilds", + "tags": [ + "health" + ], + "description": "Get the number of builds that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthQueue" + } + } + } + } + }, + "x-appwrite": { + "method": "getQueueBuilds", + "group": "queue", + "weight": 135, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-builds.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-builds.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 5000 + }, + "in": "query" + } + ] + } + }, + "\/health\/queue\/certificates": { + "get": { + "summary": "Get certificates queue", + "operationId": "healthGetQueueCertificates", + "tags": [ + "health" + ], + "description": "Get the number of certificates that are waiting to be issued against [Letsencrypt](https:\/\/letsencrypt.org\/) in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthQueue" + } + } + } + } + }, + "x-appwrite": { + "method": "getQueueCertificates", + "group": "queue", + "weight": 134, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-certificates.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-certificates.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 5000 + }, + "in": "query" + } + ] + } + }, + "\/health\/queue\/databases": { + "get": { + "summary": "Get databases queue", + "operationId": "healthGetQueueDatabases", + "tags": [ + "health" + ], + "description": "Get the number of database changes that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthQueue" + } + } + } + } + }, + "x-appwrite": { + "method": "getQueueDatabases", + "group": "queue", + "weight": 136, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-databases.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-databases.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "name", + "description": "Queue name for which to check the queue size", + "required": false, + "schema": { + "type": "string", + "x-example": "<NAME>", + "default": "database_db_main" + }, + "in": "query" + }, + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 5000 + }, + "in": "query" + } + ] + } + }, + "\/health\/queue\/deletes": { + "get": { + "summary": "Get deletes queue", + "operationId": "healthGetQueueDeletes", + "tags": [ + "health" + ], + "description": "Get the number of background destructive changes that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthQueue" + } + } + } + } + }, + "x-appwrite": { + "method": "getQueueDeletes", + "group": "queue", + "weight": 137, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-deletes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-deletes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 5000 + }, + "in": "query" + } + ] + } + }, + "\/health\/queue\/failed\/{name}": { + "get": { + "summary": "Get number of failed queue jobs", + "operationId": "healthGetFailedJobs", + "tags": [ + "health" + ], + "description": "Returns the amount of failed jobs in a given queue.\n", + "responses": { + "200": { + "description": "Health Queue", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthQueue" + } + } + } + } + }, + "x-appwrite": { + "method": "getFailedJobs", + "group": "queue", + "weight": 147, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-failed-jobs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-failed-queue-jobs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "name", + "description": "The name of the queue", + "required": true, + "schema": { + "type": "string", + "x-example": "v1-database", + "enum": [ + "v1-database", + "v1-deletes", + "v1-audits", + "v1-mails", + "v1-functions", + "v1-stats-resources", + "v1-stats-usage", + "v1-webhooks", + "v1-certificates", + "v1-builds", + "v1-messaging", + "v1-migrations" + ], + "x-enum-name": null, + "x-enum-keys": [] + }, + "in": "path" + }, + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 5000 + }, + "in": "query" + } + ] + } + }, + "\/health\/queue\/functions": { + "get": { + "summary": "Get functions queue", + "operationId": "healthGetQueueFunctions", + "tags": [ + "health" + ], + "description": "Get the number of function executions that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthQueue" + } + } + } + } + }, + "x-appwrite": { + "method": "getQueueFunctions", + "group": "queue", + "weight": 141, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-functions.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-functions.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 5000 + }, + "in": "query" + } + ] + } + }, + "\/health\/queue\/logs": { + "get": { + "summary": "Get logs queue", + "operationId": "healthGetQueueLogs", + "tags": [ + "health" + ], + "description": "Get the number of logs that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthQueue" + } + } + } + } + }, + "x-appwrite": { + "method": "getQueueLogs", + "group": "queue", + "weight": 132, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 5000 + }, + "in": "query" + } + ] + } + }, + "\/health\/queue\/mails": { + "get": { + "summary": "Get mails queue", + "operationId": "healthGetQueueMails", + "tags": [ + "health" + ], + "description": "Get the number of mails that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthQueue" + } + } + } + } + }, + "x-appwrite": { + "method": "getQueueMails", + "group": "queue", + "weight": 138, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-mails.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-mails.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 5000 + }, + "in": "query" + } + ] + } + }, + "\/health\/queue\/messaging": { + "get": { + "summary": "Get messaging queue", + "operationId": "healthGetQueueMessaging", + "tags": [ + "health" + ], + "description": "Get the number of messages that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthQueue" + } + } + } + } + }, + "x-appwrite": { + "method": "getQueueMessaging", + "group": "queue", + "weight": 139, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-messaging.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-messaging.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 5000 + }, + "in": "query" + } + ] + } + }, + "\/health\/queue\/migrations": { + "get": { + "summary": "Get migrations queue", + "operationId": "healthGetQueueMigrations", + "tags": [ + "health" + ], + "description": "Get the number of migrations that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthQueue" + } + } + } + } + }, + "x-appwrite": { + "method": "getQueueMigrations", + "group": "queue", + "weight": 140, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-migrations.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-migrations.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 5000 + }, + "in": "query" + } + ] + } + }, + "\/health\/queue\/stats-resources": { + "get": { + "summary": "Get stats resources queue", + "operationId": "healthGetQueueStatsResources", + "tags": [ + "health" + ], + "description": "Get the number of metrics that are waiting to be processed in the Appwrite stats resources queue.", + "responses": { + "200": { + "description": "Health Queue", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthQueue" + } + } + } + } + }, + "x-appwrite": { + "method": "getQueueStatsResources", + "group": "queue", + "weight": 142, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-stats-resources.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-resources.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 5000 + }, + "in": "query" + } + ] + } + }, + "\/health\/queue\/stats-usage": { + "get": { + "summary": "Get stats usage queue", + "operationId": "healthGetQueueUsage", + "tags": [ + "health" + ], + "description": "Get the number of metrics that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthQueue" + } + } + } + } + }, + "x-appwrite": { + "method": "getQueueUsage", + "group": "queue", + "weight": 143, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-usage.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-usage.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 5000 + }, + "in": "query" + } + ] + } + }, + "\/health\/queue\/webhooks": { + "get": { + "summary": "Get webhooks queue", + "operationId": "healthGetQueueWebhooks", + "tags": [ + "health" + ], + "description": "Get the number of webhooks that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthQueue" + } + } + } + } + }, + "x-appwrite": { + "method": "getQueueWebhooks", + "group": "queue", + "weight": 131, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-webhooks.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-webhooks.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 5000 + }, + "in": "query" + } + ] + } + }, + "\/health\/storage": { + "get": { + "summary": "Get storage", + "operationId": "healthGetStorage", + "tags": [ + "health" + ], + "description": "Check the Appwrite storage device is up and connection is successful.", + "responses": { + "200": { + "description": "Health Status", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthStatus" + } + } + } + } + }, + "x-appwrite": { + "method": "getStorage", + "group": "storage", + "weight": 145, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-storage.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/health\/storage\/local": { + "get": { + "summary": "Get local storage", + "operationId": "healthGetStorageLocal", + "tags": [ + "health" + ], + "description": "Check the Appwrite local storage device is up and connection is successful.", + "responses": { + "200": { + "description": "Health Status", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthStatus" + } + } + } + } + }, + "x-appwrite": { + "method": "getStorageLocal", + "group": "storage", + "weight": 144, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-storage-local.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage-local.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/health\/time": { + "get": { + "summary": "Get time", + "operationId": "healthGetTime", + "tags": [ + "health" + ], + "description": "Check the Appwrite server time is synced with Google remote NTP server. We use this technology to smoothly handle leap seconds with no disruptive events. The [Network Time Protocol](https:\/\/en.wikipedia.org\/wiki\/Network_Time_Protocol) (NTP) is used by hundreds of millions of computers and devices to synchronize their clocks over the Internet. If your computer sets its own clock, it likely uses NTP.", + "responses": { + "200": { + "description": "Health Time", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthTime" + } + } + } + } + }, + "x-appwrite": { + "method": "getTime", + "group": "health", + "weight": 130, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-time.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-time.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/locale": { + "get": { + "summary": "Get user locale", + "operationId": "localeGet", + "tags": [ + "locale" + ], + "description": "Get the current user location based on IP. Returns an object with user country code, country name, continent name, continent code, ip address and suggested currency. You can use the locale header to get the data in a supported language.\n\n([IP Geolocation by DB-IP](https:\/\/db-ip.com))", + "responses": { + "200": { + "description": "Locale", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/locale" + } + } + } + } + }, + "x-appwrite": { + "method": "get", + "group": null, + "weight": 117, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/get-locale.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/locale\/codes": { + "get": { + "summary": "List locale codes", + "operationId": "localeListCodes", + "tags": [ + "locale" + ], + "description": "List of all locale codes in [ISO 639-1](https:\/\/en.wikipedia.org\/wiki\/List_of_ISO_639-1_codes).", + "responses": { + "200": { + "description": "Locale codes list", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/localeCodeList" + } + } + } + } + }, + "x-appwrite": { + "method": "listCodes", + "group": null, + "weight": 118, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-locale-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/locale\/continents": { + "get": { + "summary": "List continents", + "operationId": "localeListContinents", + "tags": [ + "locale" + ], + "description": "List of all continents. You can use the locale header to get the data in a supported language.", + "responses": { + "200": { + "description": "Continents List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/continentList" + } + } + } + } + }, + "x-appwrite": { + "method": "listContinents", + "group": null, + "weight": 122, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-continents.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-continents.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/locale\/countries": { + "get": { + "summary": "List countries", + "operationId": "localeListCountries", + "tags": [ + "locale" + ], + "description": "List of all countries. You can use the locale header to get the data in a supported language.", + "responses": { + "200": { + "description": "Countries List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/countryList" + } + } + } + } + }, + "x-appwrite": { + "method": "listCountries", + "group": null, + "weight": 119, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-countries.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/locale\/countries\/eu": { + "get": { + "summary": "List EU countries", + "operationId": "localeListCountriesEU", + "tags": [ + "locale" + ], + "description": "List of all countries that are currently members of the EU. You can use the locale header to get the data in a supported language.", + "responses": { + "200": { + "description": "Countries List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/countryList" + } + } + } + } + }, + "x-appwrite": { + "method": "listCountriesEU", + "group": null, + "weight": 120, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-countries-e-u.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-eu.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/locale\/countries\/phones": { + "get": { + "summary": "List countries phone codes", + "operationId": "localeListCountriesPhones", + "tags": [ + "locale" + ], + "description": "List of all countries phone codes. You can use the locale header to get the data in a supported language.", + "responses": { + "200": { + "description": "Phones List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/phoneList" + } + } + } + } + }, + "x-appwrite": { + "method": "listCountriesPhones", + "group": null, + "weight": 121, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-countries-phones.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-phones.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/locale\/currencies": { + "get": { + "summary": "List currencies", + "operationId": "localeListCurrencies", + "tags": [ + "locale" + ], + "description": "List of all currencies, including currency symbol, name, plural, and decimal digits for all major and minor currencies. You can use the locale header to get the data in a supported language.", + "responses": { + "200": { + "description": "Currencies List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/currencyList" + } + } + } + } + }, + "x-appwrite": { + "method": "listCurrencies", + "group": null, + "weight": 123, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-currencies.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-currencies.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/locale\/languages": { + "get": { + "summary": "List languages", + "operationId": "localeListLanguages", + "tags": [ + "locale" + ], + "description": "List of all languages classified by ISO 639-1 including 2-letter code, name in English, and name in the respective language.", + "responses": { + "200": { + "description": "Languages List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/languageList" + } + } + } + } + }, + "x-appwrite": { + "method": "listLanguages", + "group": null, + "weight": 124, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-languages.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-languages.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/messaging\/messages": { + "get": { + "summary": "List messages", + "operationId": "messagingListMessages", + "tags": [ + "messaging" + ], + "description": "Get a list of all messages from the current Appwrite project.", + "responses": { + "200": { + "description": "Message list", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/messageList" + } + } + } + } + }, + "x-appwrite": { + "method": "listMessages", + "group": "messages", + "weight": 383, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-messages.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-messages.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: scheduledAt, deliveredAt, deliveredTotal, status, description, providerType", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + } + }, + "\/messaging\/messages\/email": { + "post": { + "summary": "Create email", + "operationId": "messagingCreateEmail", + "tags": [ + "messaging" + ], + "description": "Create a new email message.", + "responses": { + "201": { + "description": "Message", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/message" + } + } + } + } + }, + "x-appwrite": { + "method": "createEmail", + "group": "messages", + "weight": 380, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-email.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-email.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "messageId": { + "type": "string", + "description": "Message ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<MESSAGE_ID>" + }, + "subject": { + "type": "string", + "description": "Email Subject.", + "x-example": "<SUBJECT>" + }, + "content": { + "type": "string", + "description": "Email Content.", + "x-example": "<CONTENT>" + }, + "topics": { + "type": "array", + "description": "List of Topic IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "users": { + "type": "array", + "description": "List of User IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "targets": { + "type": "array", + "description": "List of Targets IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "cc": { + "type": "array", + "description": "Array of target IDs to be added as CC.", + "x-example": null, + "items": { + "type": "string" + } + }, + "bcc": { + "type": "array", + "description": "Array of target IDs to be added as BCC.", + "x-example": null, + "items": { + "type": "string" + } + }, + "attachments": { + "type": "array", + "description": "Array of compound ID strings of bucket IDs and file IDs to be attached to the email. They should be formatted as <BUCKET_ID>:<FILE_ID>.", + "x-example": null, + "items": { + "type": "string" + } + }, + "draft": { + "type": "boolean", + "description": "Is message a draft", + "x-example": false + }, + "html": { + "type": "boolean", + "description": "Is content of type HTML", + "x-example": false + }, + "scheduledAt": { + "type": "string", + "description": "Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.", + "x-example": null + } + }, + "required": [ + "messageId", + "subject", + "content" + ] + } + } + } + } + } + }, + "\/messaging\/messages\/email\/{messageId}": { + "patch": { + "summary": "Update email", + "operationId": "messagingUpdateEmail", + "tags": [ + "messaging" + ], + "description": "Update an email message by its unique ID. This endpoint only works on messages that are in draft status. Messages that are already processing, sent, or failed cannot be updated.\n", + "responses": { + "200": { + "description": "Message", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/message" + } + } + } + } + }, + "x-appwrite": { + "method": "updateEmail", + "group": "messages", + "weight": 387, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-email.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-email.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "messageId", + "description": "Message ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<MESSAGE_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "topics": { + "type": "array", + "description": "List of Topic IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "users": { + "type": "array", + "description": "List of User IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "targets": { + "type": "array", + "description": "List of Targets IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "subject": { + "type": "string", + "description": "Email Subject.", + "x-example": "<SUBJECT>" + }, + "content": { + "type": "string", + "description": "Email Content.", + "x-example": "<CONTENT>" + }, + "draft": { + "type": "boolean", + "description": "Is message a draft", + "x-example": false + }, + "html": { + "type": "boolean", + "description": "Is content of type HTML", + "x-example": false + }, + "cc": { + "type": "array", + "description": "Array of target IDs to be added as CC.", + "x-example": null, + "items": { + "type": "string" + } + }, + "bcc": { + "type": "array", + "description": "Array of target IDs to be added as BCC.", + "x-example": null, + "items": { + "type": "string" + } + }, + "scheduledAt": { + "type": "string", + "description": "Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.", + "x-example": null + }, + "attachments": { + "type": "array", + "description": "Array of compound ID strings of bucket IDs and file IDs to be attached to the email. They should be formatted as <BUCKET_ID>:<FILE_ID>.", + "x-example": null, + "items": { + "type": "string" + } + } + } + } + } + } + } + } + }, + "\/messaging\/messages\/push": { + "post": { + "summary": "Create push notification", + "operationId": "messagingCreatePush", + "tags": [ + "messaging" + ], + "description": "Create a new push notification.", + "responses": { + "201": { + "description": "Message", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/message" + } + } + } + } + }, + "x-appwrite": { + "method": "createPush", + "group": "messages", + "weight": 382, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-push.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-push.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "messageId": { + "type": "string", + "description": "Message ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<MESSAGE_ID>" + }, + "title": { + "type": "string", + "description": "Title for push notification.", + "x-example": "<TITLE>" + }, + "body": { + "type": "string", + "description": "Body for push notification.", + "x-example": "<BODY>" + }, + "topics": { + "type": "array", + "description": "List of Topic IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "users": { + "type": "array", + "description": "List of User IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "targets": { + "type": "array", + "description": "List of Targets IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "data": { + "type": "object", + "description": "Additional key-value pair data for push notification.", + "x-example": "{}" + }, + "action": { + "type": "string", + "description": "Action for push notification.", + "x-example": "<ACTION>" + }, + "image": { + "type": "string", + "description": "Image for push notification. Must be a compound bucket ID to file ID of a jpeg, png, or bmp image in Appwrite Storage. It should be formatted as <BUCKET_ID>:<FILE_ID>.", + "x-example": "[ID1:ID2]" + }, + "icon": { + "type": "string", + "description": "Icon for push notification. Available only for Android and Web Platform.", + "x-example": "<ICON>" + }, + "sound": { + "type": "string", + "description": "Sound for push notification. Available only for Android and iOS Platform.", + "x-example": "<SOUND>" + }, + "color": { + "type": "string", + "description": "Color for push notification. Available only for Android Platform.", + "x-example": "<COLOR>" + }, + "tag": { + "type": "string", + "description": "Tag for push notification. Available only for Android Platform.", + "x-example": "<TAG>" + }, + "badge": { + "type": "integer", + "description": "Badge for push notification. Available only for iOS Platform.", + "x-example": null + }, + "draft": { + "type": "boolean", + "description": "Is message a draft", + "x-example": false + }, + "scheduledAt": { + "type": "string", + "description": "Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.", + "x-example": null + }, + "contentAvailable": { + "type": "boolean", + "description": "If set to true, the notification will be delivered in the background. Available only for iOS Platform.", + "x-example": false + }, + "critical": { + "type": "boolean", + "description": "If set to true, the notification will be marked as critical. This requires the app to have the critical notification entitlement. Available only for iOS Platform.", + "x-example": false + }, + "priority": { + "type": "string", + "description": "Set the notification priority. \"normal\" will consider device state and may not deliver notifications immediately. \"high\" will always attempt to immediately deliver the notification.", + "x-example": "normal", + "enum": [ + "normal", + "high" + ], + "x-enum-name": "MessagePriority", + "x-enum-keys": [] + } + }, + "required": [ + "messageId" + ] + } + } + } + } + } + }, + "\/messaging\/messages\/push\/{messageId}": { + "patch": { + "summary": "Update push notification", + "operationId": "messagingUpdatePush", + "tags": [ + "messaging" + ], + "description": "Update a push notification by its unique ID. This endpoint only works on messages that are in draft status. Messages that are already processing, sent, or failed cannot be updated.\n", + "responses": { + "200": { + "description": "Message", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/message" + } + } + } + } + }, + "x-appwrite": { + "method": "updatePush", + "group": "messages", + "weight": 389, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-push.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-push.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "messageId", + "description": "Message ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<MESSAGE_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "topics": { + "type": "array", + "description": "List of Topic IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "users": { + "type": "array", + "description": "List of User IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "targets": { + "type": "array", + "description": "List of Targets IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "title": { + "type": "string", + "description": "Title for push notification.", + "x-example": "<TITLE>" + }, + "body": { + "type": "string", + "description": "Body for push notification.", + "x-example": "<BODY>" + }, + "data": { + "type": "object", + "description": "Additional Data for push notification.", + "x-example": "{}" + }, + "action": { + "type": "string", + "description": "Action for push notification.", + "x-example": "<ACTION>" + }, + "image": { + "type": "string", + "description": "Image for push notification. Must be a compound bucket ID to file ID of a jpeg, png, or bmp image in Appwrite Storage. It should be formatted as <BUCKET_ID>:<FILE_ID>.", + "x-example": "[ID1:ID2]" + }, + "icon": { + "type": "string", + "description": "Icon for push notification. Available only for Android and Web platforms.", + "x-example": "<ICON>" + }, + "sound": { + "type": "string", + "description": "Sound for push notification. Available only for Android and iOS platforms.", + "x-example": "<SOUND>" + }, + "color": { + "type": "string", + "description": "Color for push notification. Available only for Android platforms.", + "x-example": "<COLOR>" + }, + "tag": { + "type": "string", + "description": "Tag for push notification. Available only for Android platforms.", + "x-example": "<TAG>" + }, + "badge": { + "type": "integer", + "description": "Badge for push notification. Available only for iOS platforms.", + "x-example": null + }, + "draft": { + "type": "boolean", + "description": "Is message a draft", + "x-example": false + }, + "scheduledAt": { + "type": "string", + "description": "Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.", + "x-example": null + }, + "contentAvailable": { + "type": "boolean", + "description": "If set to true, the notification will be delivered in the background. Available only for iOS Platform.", + "x-example": false + }, + "critical": { + "type": "boolean", + "description": "If set to true, the notification will be marked as critical. This requires the app to have the critical notification entitlement. Available only for iOS Platform.", + "x-example": false + }, + "priority": { + "type": "string", + "description": "Set the notification priority. \"normal\" will consider device battery state and may send notifications later. \"high\" will always attempt to immediately deliver the notification.", + "x-example": "normal", + "enum": [ + "normal", + "high" + ], + "x-enum-name": "MessagePriority", + "x-enum-keys": [] + } + } + } + } + } + } + } + }, + "\/messaging\/messages\/sms": { + "post": { + "summary": "Create SMS", + "operationId": "messagingCreateSms", + "tags": [ + "messaging" + ], + "description": "Create a new SMS message.", + "responses": { + "201": { + "description": "Message", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/message" + } + } + } + } + }, + "x-appwrite": { + "method": "createSms", + "group": "messages", + "weight": 381, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-sms.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-sms.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "messageId": { + "type": "string", + "description": "Message ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<MESSAGE_ID>" + }, + "content": { + "type": "string", + "description": "SMS Content.", + "x-example": "<CONTENT>" + }, + "topics": { + "type": "array", + "description": "List of Topic IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "users": { + "type": "array", + "description": "List of User IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "targets": { + "type": "array", + "description": "List of Targets IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "draft": { + "type": "boolean", + "description": "Is message a draft", + "x-example": false + }, + "scheduledAt": { + "type": "string", + "description": "Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.", + "x-example": null + } + }, + "required": [ + "messageId", + "content" + ] + } + } + } + } + } + }, + "\/messaging\/messages\/sms\/{messageId}": { + "patch": { + "summary": "Update SMS", + "operationId": "messagingUpdateSms", + "tags": [ + "messaging" + ], + "description": "Update an SMS message by its unique ID. This endpoint only works on messages that are in draft status. Messages that are already processing, sent, or failed cannot be updated.\n", + "responses": { + "200": { + "description": "Message", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/message" + } + } + } + } + }, + "x-appwrite": { + "method": "updateSms", + "group": "messages", + "weight": 388, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-sms.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-sms.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "messageId", + "description": "Message ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<MESSAGE_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "topics": { + "type": "array", + "description": "List of Topic IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "users": { + "type": "array", + "description": "List of User IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "targets": { + "type": "array", + "description": "List of Targets IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "content": { + "type": "string", + "description": "Email Content.", + "x-example": "<CONTENT>" + }, + "draft": { + "type": "boolean", + "description": "Is message a draft", + "x-example": false + }, + "scheduledAt": { + "type": "string", + "description": "Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.", + "x-example": null + } + } + } + } + } + } + } + }, + "\/messaging\/messages\/{messageId}": { + "get": { + "summary": "Get message", + "operationId": "messagingGetMessage", + "tags": [ + "messaging" + ], + "description": "Get a message by its unique ID.\n", + "responses": { + "200": { + "description": "Message", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/message" + } + } + } + } + }, + "x-appwrite": { + "method": "getMessage", + "group": "messages", + "weight": 386, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/get-message.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-message.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "messageId", + "description": "Message ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<MESSAGE_ID>" + }, + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete message", + "operationId": "messagingDelete", + "tags": [ + "messaging" + ], + "description": "Delete a message. If the message is not a draft or scheduled, but has been sent, this will not recall the message.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "delete", + "group": "messages", + "weight": 390, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/delete.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-message.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "messageId", + "description": "Message ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<MESSAGE_ID>" + }, + "in": "path" + } + ] + } + }, + "\/messaging\/messages\/{messageId}\/logs": { + "get": { + "summary": "List message logs", + "operationId": "messagingListMessageLogs", + "tags": [ + "messaging" + ], + "description": "Get the message activity logs listed by its unique ID.", + "responses": { + "200": { + "description": "Logs List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/logList" + } + } + } + } + }, + "x-appwrite": { + "method": "listMessageLogs", + "group": "logs", + "weight": 384, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-message-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-message-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "messageId", + "description": "Message ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<MESSAGE_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + } + }, + "\/messaging\/messages\/{messageId}\/targets": { + "get": { + "summary": "List message targets", + "operationId": "messagingListTargets", + "tags": [ + "messaging" + ], + "description": "Get a list of the targets associated with a message.", + "responses": { + "200": { + "description": "Target list", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/targetList" + } + } + } + } + }, + "x-appwrite": { + "method": "listTargets", + "group": "messages", + "weight": 385, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-targets.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-message-targets.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "messageId", + "description": "Message ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<MESSAGE_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, providerId, identifier, providerType", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + } + }, + "\/messaging\/providers": { + "get": { + "summary": "List providers", + "operationId": "messagingListProviders", + "tags": [ + "messaging" + ], + "description": "Get a list of all providers from the current Appwrite project.", + "responses": { + "200": { + "description": "Provider list", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/providerList" + } + } + } + } + }, + "x-appwrite": { + "method": "listProviders", + "group": "providers", + "weight": 355, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-providers.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-providers.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, provider, type, enabled", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + } + }, + "\/messaging\/providers\/apns": { + "post": { + "summary": "Create APNS provider", + "operationId": "messagingCreateApnsProvider", + "tags": [ + "messaging" + ], + "description": "Create a new Apple Push Notification service provider.", + "responses": { + "201": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "createApnsProvider", + "group": "providers", + "weight": 354, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-apns-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-apns-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "authKey": { + "type": "string", + "description": "APNS authentication key.", + "x-example": "<AUTH_KEY>" + }, + "authKeyId": { + "type": "string", + "description": "APNS authentication key ID.", + "x-example": "<AUTH_KEY_ID>" + }, + "teamId": { + "type": "string", + "description": "APNS team ID.", + "x-example": "<TEAM_ID>" + }, + "bundleId": { + "type": "string", + "description": "APNS bundle ID.", + "x-example": "<BUNDLE_ID>" + }, + "sandbox": { + "type": "boolean", + "description": "Use APNS sandbox environment.", + "x-example": false + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + } + } + } + }, + "\/messaging\/providers\/apns\/{providerId}": { + "patch": { + "summary": "Update APNS provider", + "operationId": "messagingUpdateApnsProvider", + "tags": [ + "messaging" + ], + "description": "Update a Apple Push Notification service provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "updateApnsProvider", + "group": "providers", + "weight": 367, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-apns-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-apns-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROVIDER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + }, + "authKey": { + "type": "string", + "description": "APNS authentication key.", + "x-example": "<AUTH_KEY>" + }, + "authKeyId": { + "type": "string", + "description": "APNS authentication key ID.", + "x-example": "<AUTH_KEY_ID>" + }, + "teamId": { + "type": "string", + "description": "APNS team ID.", + "x-example": "<TEAM_ID>" + }, + "bundleId": { + "type": "string", + "description": "APNS bundle ID.", + "x-example": "<BUNDLE_ID>" + }, + "sandbox": { + "type": "boolean", + "description": "Use APNS sandbox environment.", + "x-example": false + } + } + } + } + } + } + } + }, + "\/messaging\/providers\/fcm": { + "post": { + "summary": "Create FCM provider", + "operationId": "messagingCreateFcmProvider", + "tags": [ + "messaging" + ], + "description": "Create a new Firebase Cloud Messaging provider.", + "responses": { + "201": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "createFcmProvider", + "group": "providers", + "weight": 353, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-fcm-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-fcm-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "serviceAccountJSON": { + "type": "object", + "description": "FCM service account JSON.", + "x-example": "{}" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + } + } + } + }, + "\/messaging\/providers\/fcm\/{providerId}": { + "patch": { + "summary": "Update FCM provider", + "operationId": "messagingUpdateFcmProvider", + "tags": [ + "messaging" + ], + "description": "Update a Firebase Cloud Messaging provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "updateFcmProvider", + "group": "providers", + "weight": 366, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-fcm-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-fcm-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROVIDER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + }, + "serviceAccountJSON": { + "type": "object", + "description": "FCM service account JSON.", + "x-example": "{}" + } + } + } + } + } + } + } + }, + "\/messaging\/providers\/mailgun": { + "post": { + "summary": "Create Mailgun provider", + "operationId": "messagingCreateMailgunProvider", + "tags": [ + "messaging" + ], + "description": "Create a new Mailgun provider.", + "responses": { + "201": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "createMailgunProvider", + "group": "providers", + "weight": 345, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-mailgun-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-mailgun-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "apiKey": { + "type": "string", + "description": "Mailgun API Key.", + "x-example": "<API_KEY>" + }, + "domain": { + "type": "string", + "description": "Mailgun Domain.", + "x-example": "<DOMAIN>" + }, + "isEuRegion": { + "type": "boolean", + "description": "Set as EU region.", + "x-example": false + }, + "fromName": { + "type": "string", + "description": "Sender Name.", + "x-example": "<FROM_NAME>" + }, + "fromEmail": { + "type": "string", + "description": "Sender email address.", + "x-example": "email@example.com" + }, + "replyToName": { + "type": "string", + "description": "Name set in the reply to field for the mail. Default value is sender name. Reply to name must have reply to email as well.", + "x-example": "<REPLY_TO_NAME>" + }, + "replyToEmail": { + "type": "string", + "description": "Email set in the reply to field for the mail. Default value is sender email. Reply to email must have reply to name as well.", + "x-example": "email@example.com" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + } + } + } + }, + "\/messaging\/providers\/mailgun\/{providerId}": { + "patch": { + "summary": "Update Mailgun provider", + "operationId": "messagingUpdateMailgunProvider", + "tags": [ + "messaging" + ], + "description": "Update a Mailgun provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "updateMailgunProvider", + "group": "providers", + "weight": 358, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-mailgun-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-mailgun-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROVIDER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "apiKey": { + "type": "string", + "description": "Mailgun API Key.", + "x-example": "<API_KEY>" + }, + "domain": { + "type": "string", + "description": "Mailgun Domain.", + "x-example": "<DOMAIN>" + }, + "isEuRegion": { + "type": "boolean", + "description": "Set as EU region.", + "x-example": false + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + }, + "fromName": { + "type": "string", + "description": "Sender Name.", + "x-example": "<FROM_NAME>" + }, + "fromEmail": { + "type": "string", + "description": "Sender email address.", + "x-example": "email@example.com" + }, + "replyToName": { + "type": "string", + "description": "Name set in the reply to field for the mail. Default value is sender name.", + "x-example": "<REPLY_TO_NAME>" + }, + "replyToEmail": { + "type": "string", + "description": "Email set in the reply to field for the mail. Default value is sender email.", + "x-example": "<REPLY_TO_EMAIL>" + } + } + } + } + } + } + } + }, + "\/messaging\/providers\/msg91": { + "post": { + "summary": "Create Msg91 provider", + "operationId": "messagingCreateMsg91Provider", + "tags": [ + "messaging" + ], + "description": "Create a new MSG91 provider.", + "responses": { + "201": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "createMsg91Provider", + "group": "providers", + "weight": 348, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-msg91provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-msg91-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "templateId": { + "type": "string", + "description": "Msg91 template ID", + "x-example": "<TEMPLATE_ID>" + }, + "senderId": { + "type": "string", + "description": "Msg91 sender ID.", + "x-example": "<SENDER_ID>" + }, + "authKey": { + "type": "string", + "description": "Msg91 auth key.", + "x-example": "<AUTH_KEY>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + } + } + } + }, + "\/messaging\/providers\/msg91\/{providerId}": { + "patch": { + "summary": "Update Msg91 provider", + "operationId": "messagingUpdateMsg91Provider", + "tags": [ + "messaging" + ], + "description": "Update a MSG91 provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "updateMsg91Provider", + "group": "providers", + "weight": 361, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-msg91provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-msg91-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROVIDER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + }, + "templateId": { + "type": "string", + "description": "Msg91 template ID.", + "x-example": "<TEMPLATE_ID>" + }, + "senderId": { + "type": "string", + "description": "Msg91 sender ID.", + "x-example": "<SENDER_ID>" + }, + "authKey": { + "type": "string", + "description": "Msg91 auth key.", + "x-example": "<AUTH_KEY>" + } + } + } + } + } + } + } + }, + "\/messaging\/providers\/sendgrid": { + "post": { + "summary": "Create Sendgrid provider", + "operationId": "messagingCreateSendgridProvider", + "tags": [ + "messaging" + ], + "description": "Create a new Sendgrid provider.", + "responses": { + "201": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "createSendgridProvider", + "group": "providers", + "weight": 346, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-sendgrid-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-sendgrid-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "apiKey": { + "type": "string", + "description": "Sendgrid API key.", + "x-example": "<API_KEY>" + }, + "fromName": { + "type": "string", + "description": "Sender Name.", + "x-example": "<FROM_NAME>" + }, + "fromEmail": { + "type": "string", + "description": "Sender email address.", + "x-example": "email@example.com" + }, + "replyToName": { + "type": "string", + "description": "Name set in the reply to field for the mail. Default value is sender name.", + "x-example": "<REPLY_TO_NAME>" + }, + "replyToEmail": { + "type": "string", + "description": "Email set in the reply to field for the mail. Default value is sender email.", + "x-example": "email@example.com" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + } + } + } + }, + "\/messaging\/providers\/sendgrid\/{providerId}": { + "patch": { + "summary": "Update Sendgrid provider", + "operationId": "messagingUpdateSendgridProvider", + "tags": [ + "messaging" + ], + "description": "Update a Sendgrid provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "updateSendgridProvider", + "group": "providers", + "weight": 359, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-sendgrid-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-sendgrid-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROVIDER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + }, + "apiKey": { + "type": "string", + "description": "Sendgrid API key.", + "x-example": "<API_KEY>" + }, + "fromName": { + "type": "string", + "description": "Sender Name.", + "x-example": "<FROM_NAME>" + }, + "fromEmail": { + "type": "string", + "description": "Sender email address.", + "x-example": "email@example.com" + }, + "replyToName": { + "type": "string", + "description": "Name set in the Reply To field for the mail. Default value is Sender Name.", + "x-example": "<REPLY_TO_NAME>" + }, + "replyToEmail": { + "type": "string", + "description": "Email set in the Reply To field for the mail. Default value is Sender Email.", + "x-example": "<REPLY_TO_EMAIL>" + } + } + } + } + } + } + } + }, + "\/messaging\/providers\/smtp": { + "post": { + "summary": "Create SMTP provider", + "operationId": "messagingCreateSmtpProvider", + "tags": [ + "messaging" + ], + "description": "Create a new SMTP provider.", + "responses": { + "201": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "createSmtpProvider", + "group": "providers", + "weight": 347, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-smtp-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-smtp-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "host": { + "type": "string", + "description": "SMTP hosts. Either a single hostname or multiple semicolon-delimited hostnames. You can also specify a different port for each host such as `smtp1.example.com:25;smtp2.example.com`. You can also specify encryption type, for example: `tls:\/\/smtp1.example.com:587;ssl:\/\/smtp2.example.com:465\"`. Hosts will be tried in order.", + "x-example": "<HOST>" + }, + "port": { + "type": "integer", + "description": "The default SMTP server port.", + "x-example": 1 + }, + "username": { + "type": "string", + "description": "Authentication username.", + "x-example": "<USERNAME>" + }, + "password": { + "type": "string", + "description": "Authentication password.", + "x-example": "<PASSWORD>" + }, + "encryption": { + "type": "string", + "description": "Encryption type. Can be omitted, 'ssl', or 'tls'", + "x-example": "none", + "enum": [ + "none", + "ssl", + "tls" + ], + "x-enum-name": "SmtpEncryption", + "x-enum-keys": [] + }, + "autoTLS": { + "type": "boolean", + "description": "Enable SMTP AutoTLS feature.", + "x-example": false + }, + "mailer": { + "type": "string", + "description": "The value to use for the X-Mailer header.", + "x-example": "<MAILER>" + }, + "fromName": { + "type": "string", + "description": "Sender Name.", + "x-example": "<FROM_NAME>" + }, + "fromEmail": { + "type": "string", + "description": "Sender email address.", + "x-example": "email@example.com" + }, + "replyToName": { + "type": "string", + "description": "Name set in the reply to field for the mail. Default value is sender name.", + "x-example": "<REPLY_TO_NAME>" + }, + "replyToEmail": { + "type": "string", + "description": "Email set in the reply to field for the mail. Default value is sender email.", + "x-example": "email@example.com" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + } + }, + "required": [ + "providerId", + "name", + "host" + ] + } + } + } + } + } + }, + "\/messaging\/providers\/smtp\/{providerId}": { + "patch": { + "summary": "Update SMTP provider", + "operationId": "messagingUpdateSmtpProvider", + "tags": [ + "messaging" + ], + "description": "Update a SMTP provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "updateSmtpProvider", + "group": "providers", + "weight": 360, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-smtp-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-smtp-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROVIDER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "host": { + "type": "string", + "description": "SMTP hosts. Either a single hostname or multiple semicolon-delimited hostnames. You can also specify a different port for each host such as `smtp1.example.com:25;smtp2.example.com`. You can also specify encryption type, for example: `tls:\/\/smtp1.example.com:587;ssl:\/\/smtp2.example.com:465\"`. Hosts will be tried in order.", + "x-example": "<HOST>" + }, + "port": { + "type": "integer", + "description": "SMTP port.", + "x-example": 1 + }, + "username": { + "type": "string", + "description": "Authentication username.", + "x-example": "<USERNAME>" + }, + "password": { + "type": "string", + "description": "Authentication password.", + "x-example": "<PASSWORD>" + }, + "encryption": { + "type": "string", + "description": "Encryption type. Can be 'ssl' or 'tls'", + "x-example": "none", + "enum": [ + "none", + "ssl", + "tls" + ], + "x-enum-name": "SmtpEncryption", + "x-enum-keys": [] + }, + "autoTLS": { + "type": "boolean", + "description": "Enable SMTP AutoTLS feature.", + "x-example": false + }, + "mailer": { + "type": "string", + "description": "The value to use for the X-Mailer header.", + "x-example": "<MAILER>" + }, + "fromName": { + "type": "string", + "description": "Sender Name.", + "x-example": "<FROM_NAME>" + }, + "fromEmail": { + "type": "string", + "description": "Sender email address.", + "x-example": "email@example.com" + }, + "replyToName": { + "type": "string", + "description": "Name set in the Reply To field for the mail. Default value is Sender Name.", + "x-example": "<REPLY_TO_NAME>" + }, + "replyToEmail": { + "type": "string", + "description": "Email set in the Reply To field for the mail. Default value is Sender Email.", + "x-example": "<REPLY_TO_EMAIL>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + } + } + } + } + } + } + } + }, + "\/messaging\/providers\/telesign": { + "post": { + "summary": "Create Telesign provider", + "operationId": "messagingCreateTelesignProvider", + "tags": [ + "messaging" + ], + "description": "Create a new Telesign provider.", + "responses": { + "201": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "createTelesignProvider", + "group": "providers", + "weight": 349, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-telesign-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-telesign-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "from": { + "type": "string", + "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "x-example": "+12065550100" + }, + "customerId": { + "type": "string", + "description": "Telesign customer ID.", + "x-example": "<CUSTOMER_ID>" + }, + "apiKey": { + "type": "string", + "description": "Telesign API key.", + "x-example": "<API_KEY>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + } + } + } + }, + "\/messaging\/providers\/telesign\/{providerId}": { + "patch": { + "summary": "Update Telesign provider", + "operationId": "messagingUpdateTelesignProvider", + "tags": [ + "messaging" + ], + "description": "Update a Telesign provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "updateTelesignProvider", + "group": "providers", + "weight": 362, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-telesign-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-telesign-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROVIDER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + }, + "customerId": { + "type": "string", + "description": "Telesign customer ID.", + "x-example": "<CUSTOMER_ID>" + }, + "apiKey": { + "type": "string", + "description": "Telesign API key.", + "x-example": "<API_KEY>" + }, + "from": { + "type": "string", + "description": "Sender number.", + "x-example": "<FROM>" + } + } + } + } + } + } + } + }, + "\/messaging\/providers\/textmagic": { + "post": { + "summary": "Create Textmagic provider", + "operationId": "messagingCreateTextmagicProvider", + "tags": [ + "messaging" + ], + "description": "Create a new Textmagic provider.", + "responses": { + "201": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "createTextmagicProvider", + "group": "providers", + "weight": 350, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-textmagic-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-textmagic-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "from": { + "type": "string", + "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "x-example": "+12065550100" + }, + "username": { + "type": "string", + "description": "Textmagic username.", + "x-example": "<USERNAME>" + }, + "apiKey": { + "type": "string", + "description": "Textmagic apiKey.", + "x-example": "<API_KEY>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + } + } + } + }, + "\/messaging\/providers\/textmagic\/{providerId}": { + "patch": { + "summary": "Update Textmagic provider", + "operationId": "messagingUpdateTextmagicProvider", + "tags": [ + "messaging" + ], + "description": "Update a Textmagic provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "updateTextmagicProvider", + "group": "providers", + "weight": 363, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-textmagic-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-textmagic-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROVIDER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + }, + "username": { + "type": "string", + "description": "Textmagic username.", + "x-example": "<USERNAME>" + }, + "apiKey": { + "type": "string", + "description": "Textmagic apiKey.", + "x-example": "<API_KEY>" + }, + "from": { + "type": "string", + "description": "Sender number.", + "x-example": "<FROM>" + } + } + } + } + } + } + } + }, + "\/messaging\/providers\/twilio": { + "post": { + "summary": "Create Twilio provider", + "operationId": "messagingCreateTwilioProvider", + "tags": [ + "messaging" + ], + "description": "Create a new Twilio provider.", + "responses": { + "201": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "createTwilioProvider", + "group": "providers", + "weight": 351, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-twilio-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-twilio-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "from": { + "type": "string", + "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "x-example": "+12065550100" + }, + "accountSid": { + "type": "string", + "description": "Twilio account secret ID.", + "x-example": "<ACCOUNT_SID>" + }, + "authToken": { + "type": "string", + "description": "Twilio authentication token.", + "x-example": "<AUTH_TOKEN>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + } + } + } + }, + "\/messaging\/providers\/twilio\/{providerId}": { + "patch": { + "summary": "Update Twilio provider", + "operationId": "messagingUpdateTwilioProvider", + "tags": [ + "messaging" + ], + "description": "Update a Twilio provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "updateTwilioProvider", + "group": "providers", + "weight": 364, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-twilio-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-twilio-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROVIDER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + }, + "accountSid": { + "type": "string", + "description": "Twilio account secret ID.", + "x-example": "<ACCOUNT_SID>" + }, + "authToken": { + "type": "string", + "description": "Twilio authentication token.", + "x-example": "<AUTH_TOKEN>" + }, + "from": { + "type": "string", + "description": "Sender number.", + "x-example": "<FROM>" + } + } + } + } + } + } + } + }, + "\/messaging\/providers\/vonage": { + "post": { + "summary": "Create Vonage provider", + "operationId": "messagingCreateVonageProvider", + "tags": [ + "messaging" + ], + "description": "Create a new Vonage provider.", + "responses": { + "201": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "createVonageProvider", + "group": "providers", + "weight": 352, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-vonage-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-vonage-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "from": { + "type": "string", + "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "x-example": "+12065550100" + }, + "apiKey": { + "type": "string", + "description": "Vonage API key.", + "x-example": "<API_KEY>" + }, + "apiSecret": { + "type": "string", + "description": "Vonage API secret.", + "x-example": "<API_SECRET>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + } + } + } + }, + "\/messaging\/providers\/vonage\/{providerId}": { + "patch": { + "summary": "Update Vonage provider", + "operationId": "messagingUpdateVonageProvider", + "tags": [ + "messaging" + ], + "description": "Update a Vonage provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "updateVonageProvider", + "group": "providers", + "weight": 365, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-vonage-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-vonage-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROVIDER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + }, + "apiKey": { + "type": "string", + "description": "Vonage API key.", + "x-example": "<API_KEY>" + }, + "apiSecret": { + "type": "string", + "description": "Vonage API secret.", + "x-example": "<API_SECRET>" + }, + "from": { + "type": "string", + "description": "Sender number.", + "x-example": "<FROM>" + } + } + } + } + } + } + } + }, + "\/messaging\/providers\/{providerId}": { + "get": { + "summary": "Get provider", + "operationId": "messagingGetProvider", + "tags": [ + "messaging" + ], + "description": "Get a provider by its unique ID.\n", + "responses": { + "200": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "getProvider", + "group": "providers", + "weight": 357, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/get-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROVIDER_ID>" + }, + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete provider", + "operationId": "messagingDeleteProvider", + "tags": [ + "messaging" + ], + "description": "Delete a provider by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteProvider", + "group": "providers", + "weight": 368, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/delete-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROVIDER_ID>" + }, + "in": "path" + } + ] + } + }, + "\/messaging\/providers\/{providerId}\/logs": { + "get": { + "summary": "List provider logs", + "operationId": "messagingListProviderLogs", + "tags": [ + "messaging" + ], + "description": "Get the provider activity logs listed by its unique ID.", + "responses": { + "200": { + "description": "Logs List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/logList" + } + } + } + } + }, + "x-appwrite": { + "method": "listProviderLogs", + "group": "providers", + "weight": 356, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-provider-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-provider-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROVIDER_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + } + }, + "\/messaging\/subscribers\/{subscriberId}\/logs": { + "get": { + "summary": "List subscriber logs", + "operationId": "messagingListSubscriberLogs", + "tags": [ + "messaging" + ], + "description": "Get the subscriber activity logs listed by its unique ID.", + "responses": { + "200": { + "description": "Logs List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/logList" + } + } + } + } + }, + "x-appwrite": { + "method": "listSubscriberLogs", + "group": "subscribers", + "weight": 377, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-subscriber-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-subscriber-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "subscribers.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "subscriberId", + "description": "Subscriber ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<SUBSCRIBER_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + } + }, + "\/messaging\/topics": { + "get": { + "summary": "List topics", + "operationId": "messagingListTopics", + "tags": [ + "messaging" + ], + "description": "Get a list of all topics from the current Appwrite project.", + "responses": { + "200": { + "description": "Topic list", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/topicList" + } + } + } + } + }, + "x-appwrite": { + "method": "listTopics", + "group": "topics", + "weight": 370, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-topics.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-topics.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "topics.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, description, emailTotal, smsTotal, pushTotal", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create topic", + "operationId": "messagingCreateTopic", + "tags": [ + "messaging" + ], + "description": "Create a new topic.", + "responses": { + "201": { + "description": "Topic", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/topic" + } + } + } + } + }, + "x-appwrite": { + "method": "createTopic", + "group": "topics", + "weight": 369, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-topic.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-topic.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "topics.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "topicId": { + "type": "string", + "description": "Topic ID. Choose a custom Topic ID or a new Topic ID.", + "x-example": "<TOPIC_ID>" + }, + "name": { + "type": "string", + "description": "Topic Name.", + "x-example": "<NAME>" + }, + "subscribe": { + "type": "array", + "description": "An array of role strings with subscribe permission. By default all users are granted with any subscribe permission. [learn more about roles](https:\/\/appwrite.io\/docs\/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.", + "x-example": "[\"any\"]", + "items": { + "type": "string" + } + } + }, + "required": [ + "topicId", + "name" + ] + } + } + } + } + } + }, + "\/messaging\/topics\/{topicId}": { + "get": { + "summary": "Get topic", + "operationId": "messagingGetTopic", + "tags": [ + "messaging" + ], + "description": "Get a topic by its unique ID.\n", + "responses": { + "200": { + "description": "Topic", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/topic" + } + } + } + } + }, + "x-appwrite": { + "method": "getTopic", + "group": "topics", + "weight": 372, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/get-topic.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-topic.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "topics.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TOPIC_ID>" + }, + "in": "path" + } + ] + }, + "patch": { + "summary": "Update topic", + "operationId": "messagingUpdateTopic", + "tags": [ + "messaging" + ], + "description": "Update a topic by its unique ID.\n", + "responses": { + "200": { + "description": "Topic", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/topic" + } + } + } + } + }, + "x-appwrite": { + "method": "updateTopic", + "group": "topics", + "weight": 373, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-topic.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-topic.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "topics.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TOPIC_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Topic Name.", + "x-example": "<NAME>" + }, + "subscribe": { + "type": "array", + "description": "An array of role strings with subscribe permission. By default all users are granted with any subscribe permission. [learn more about roles](https:\/\/appwrite.io\/docs\/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.", + "x-example": "[\"any\"]", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete topic", + "operationId": "messagingDeleteTopic", + "tags": [ + "messaging" + ], + "description": "Delete a topic by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteTopic", + "group": "topics", + "weight": 374, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/delete-topic.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-topic.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "topics.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TOPIC_ID>" + }, + "in": "path" + } + ] + } + }, + "\/messaging\/topics\/{topicId}\/logs": { + "get": { + "summary": "List topic logs", + "operationId": "messagingListTopicLogs", + "tags": [ + "messaging" + ], + "description": "Get the topic activity logs listed by its unique ID.", + "responses": { + "200": { + "description": "Logs List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/logList" + } + } + } + } + }, + "x-appwrite": { + "method": "listTopicLogs", + "group": "topics", + "weight": 371, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-topic-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-topic-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "topics.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TOPIC_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + } + }, + "\/messaging\/topics\/{topicId}\/subscribers": { + "get": { + "summary": "List subscribers", + "operationId": "messagingListSubscribers", + "tags": [ + "messaging" + ], + "description": "Get a list of all subscribers from the current Appwrite project.", + "responses": { + "200": { + "description": "Subscriber list", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/subscriberList" + } + } + } + } + }, + "x-appwrite": { + "method": "listSubscribers", + "group": "subscribers", + "weight": 376, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-subscribers.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-subscribers.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "subscribers.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID. The topic ID subscribed to.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TOPIC_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, provider, type, enabled", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create subscriber", + "operationId": "messagingCreateSubscriber", + "tags": [ + "messaging" + ], + "description": "Create a new subscriber.", + "responses": { + "201": { + "description": "Subscriber", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/subscriber" + } + } + } + } + }, + "x-appwrite": { + "method": "createSubscriber", + "group": "subscribers", + "weight": 375, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-subscriber.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-subscriber.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "subscribers.write", + "platforms": [ + "server", + "client", + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID. The topic ID to subscribe to.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TOPIC_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "subscriberId": { + "type": "string", + "description": "Subscriber ID. Choose a custom Subscriber ID or a new Subscriber ID.", + "x-example": "<SUBSCRIBER_ID>" + }, + "targetId": { + "type": "string", + "description": "Target ID. The target ID to link to the specified Topic ID.", + "x-example": "<TARGET_ID>" + } + }, + "required": [ + "subscriberId", + "targetId" + ] + } + } + } + } + } + }, + "\/messaging\/topics\/{topicId}\/subscribers\/{subscriberId}": { + "get": { + "summary": "Get subscriber", + "operationId": "messagingGetSubscriber", + "tags": [ + "messaging" + ], + "description": "Get a subscriber by its unique ID.\n", + "responses": { + "200": { + "description": "Subscriber", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/subscriber" + } + } + } + } + }, + "x-appwrite": { + "method": "getSubscriber", + "group": "subscribers", + "weight": 378, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/get-subscriber.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-subscriber.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "subscribers.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID. The topic ID subscribed to.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TOPIC_ID>" + }, + "in": "path" + }, + { + "name": "subscriberId", + "description": "Subscriber ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<SUBSCRIBER_ID>" + }, + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete subscriber", + "operationId": "messagingDeleteSubscriber", + "tags": [ + "messaging" + ], + "description": "Delete a subscriber by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteSubscriber", + "group": "subscribers", + "weight": 379, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/delete-subscriber.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-subscriber.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "subscribers.write", + "platforms": [ + "server", + "client", + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID. The topic ID subscribed to.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TOPIC_ID>" + }, + "in": "path" + }, + { + "name": "subscriberId", + "description": "Subscriber ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<SUBSCRIBER_ID>" + }, + "in": "path" + } + ] + } + }, + "\/migrations": { + "get": { + "summary": "List migrations", + "operationId": "migrationsList", + "tags": [ + "migrations" + ], + "description": "List all migrations in the current project. This endpoint returns a list of all migrations including their status, progress, and any errors that occurred during the migration process.", + "responses": { + "200": { + "description": "Migrations List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/migrationList" + } + } + } + } + }, + "x-appwrite": { + "method": "list", + "group": null, + "weight": 337, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "migrations\/list.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/list-migrations.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "migrations.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/databases#querying-documents). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: status, stage, source, destination, resources, statusCounters, resourceData, errors", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + } + }, + "\/migrations\/appwrite": { + "post": { + "summary": "Create Appwrite migration", + "operationId": "migrationsCreateAppwriteMigration", + "tags": [ + "migrations" + ], + "description": "Migrate data from another Appwrite project to your current project. This endpoint allows you to migrate resources like databases, collections, documents, users, and files from an existing Appwrite project. ", + "responses": { + "202": { + "description": "Migration", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/migration" + } + } + } + } + }, + "x-appwrite": { + "method": "createAppwriteMigration", + "group": null, + "weight": 333, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "migrations\/create-appwrite-migration.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-appwrite.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "migrations.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "resources": { + "type": "array", + "description": "List of resources to migrate", + "x-example": null, + "items": { + "type": "string" + } + }, + "endpoint": { + "type": "string", + "description": "Source Appwrite endpoint", + "x-example": "https:\/\/example.com" + }, + "projectId": { + "type": "string", + "description": "Source Project ID", + "x-example": "<PROJECT_ID>" + }, + "apiKey": { + "type": "string", + "description": "Source API Key", + "x-example": "<API_KEY>" + } + }, + "required": [ + "resources", + "endpoint", + "projectId", + "apiKey" + ] + } + } + } + } + } + }, + "\/migrations\/appwrite\/report": { + "get": { + "summary": "Get Appwrite migration report", + "operationId": "migrationsGetAppwriteReport", + "tags": [ + "migrations" + ], + "description": "Generate a report of the data in an Appwrite project before migrating. This endpoint analyzes the source project and returns information about the resources that can be migrated.", + "responses": { + "200": { + "description": "Migration Report", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/migrationReport" + } + } + } + } + }, + "x-appwrite": { + "method": "getAppwriteReport", + "group": null, + "weight": 339, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "migrations\/get-appwrite-report.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-appwrite-report.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "migrations.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "resources", + "description": "List of resources to migrate", + "required": true, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "in": "query" + }, + { + "name": "endpoint", + "description": "Source's Appwrite Endpoint", + "required": true, + "schema": { + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com" + }, + "in": "query" + }, + { + "name": "projectID", + "description": "Source's Project ID", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "query" + }, + { + "name": "key", + "description": "Source's API Key", + "required": true, + "schema": { + "type": "string", + "x-example": "<KEY>" + }, + "in": "query" + } + ] + } + }, + "\/migrations\/firebase": { + "post": { + "summary": "Create Firebase migration", + "operationId": "migrationsCreateFirebaseMigration", + "tags": [ + "migrations" + ], + "description": "Migrate data from a Firebase project to your Appwrite project. This endpoint allows you to migrate resources like authentication and other supported services from a Firebase project. ", + "responses": { + "202": { + "description": "Migration", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/migration" + } + } + } + } + }, + "x-appwrite": { + "method": "createFirebaseMigration", + "group": null, + "weight": 334, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "migrations\/create-firebase-migration.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-firebase.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "migrations.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "resources": { + "type": "array", + "description": "List of resources to migrate", + "x-example": null, + "items": { + "type": "string" + } + }, + "serviceAccount": { + "type": "string", + "description": "JSON of the Firebase service account credentials", + "x-example": "<SERVICE_ACCOUNT>" + } + }, + "required": [ + "resources", + "serviceAccount" + ] + } + } + } + } + } + }, + "\/migrations\/firebase\/report": { + "get": { + "summary": "Get Firebase migration report", + "operationId": "migrationsGetFirebaseReport", + "tags": [ + "migrations" + ], + "description": "Generate a report of the data in a Firebase project before migrating. This endpoint analyzes the source project and returns information about the resources that can be migrated.", + "responses": { + "200": { + "description": "Migration Report", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/migrationReport" + } + } + } + } + }, + "x-appwrite": { + "method": "getFirebaseReport", + "group": null, + "weight": 340, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "migrations\/get-firebase-report.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-firebase-report.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "migrations.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "resources", + "description": "List of resources to migrate", + "required": true, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "in": "query" + }, + { + "name": "serviceAccount", + "description": "JSON of the Firebase service account credentials", + "required": true, + "schema": { + "type": "string", + "x-example": "<SERVICE_ACCOUNT>" + }, + "in": "query" + } + ] + } + }, + "\/migrations\/nhost": { + "post": { + "summary": "Create NHost migration", + "operationId": "migrationsCreateNHostMigration", + "tags": [ + "migrations" + ], + "description": "Migrate data from an NHost project to your Appwrite project. This endpoint allows you to migrate resources like authentication, databases, and other supported services from an NHost project. ", + "responses": { + "202": { + "description": "Migration", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/migration" + } + } + } + } + }, + "x-appwrite": { + "method": "createNHostMigration", + "group": null, + "weight": 336, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "migrations\/create-n-host-migration.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-nhost.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "migrations.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "resources": { + "type": "array", + "description": "List of resources to migrate", + "x-example": null, + "items": { + "type": "string" + } + }, + "subdomain": { + "type": "string", + "description": "Source's Subdomain", + "x-example": "<SUBDOMAIN>" + }, + "region": { + "type": "string", + "description": "Source's Region", + "x-example": "<REGION>" + }, + "adminSecret": { + "type": "string", + "description": "Source's Admin Secret", + "x-example": "<ADMIN_SECRET>" + }, + "database": { + "type": "string", + "description": "Source's Database Name", + "x-example": "<DATABASE>" + }, + "username": { + "type": "string", + "description": "Source's Database Username", + "x-example": "<USERNAME>" + }, + "password": { + "type": "string", + "description": "Source's Database Password", + "x-example": "<PASSWORD>" + }, + "port": { + "type": "integer", + "description": "Source's Database Port", + "x-example": null + } + }, + "required": [ + "resources", + "subdomain", + "region", + "adminSecret", + "database", + "username", + "password" + ] + } + } + } + } + } + }, + "\/migrations\/nhost\/report": { + "get": { + "summary": "Get NHost migration report", + "operationId": "migrationsGetNHostReport", + "tags": [ + "migrations" + ], + "description": "Generate a detailed report of the data in an NHost project before migrating. This endpoint analyzes the source project and returns information about the resources that can be migrated. ", + "responses": { + "200": { + "description": "Migration Report", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/migrationReport" + } + } + } + } + }, + "x-appwrite": { + "method": "getNHostReport", + "group": null, + "weight": 342, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "migrations\/get-n-host-report.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-nhost-report.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "migrations.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "resources", + "description": "List of resources to migrate.", + "required": true, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "in": "query" + }, + { + "name": "subdomain", + "description": "Source's Subdomain.", + "required": true, + "schema": { + "type": "string", + "x-example": "<SUBDOMAIN>" + }, + "in": "query" + }, + { + "name": "region", + "description": "Source's Region.", + "required": true, + "schema": { + "type": "string", + "x-example": "<REGION>" + }, + "in": "query" + }, + { + "name": "adminSecret", + "description": "Source's Admin Secret.", + "required": true, + "schema": { + "type": "string", + "x-example": "<ADMIN_SECRET>" + }, + "in": "query" + }, + { + "name": "database", + "description": "Source's Database Name.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE>" + }, + "in": "query" + }, + { + "name": "username", + "description": "Source's Database Username.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USERNAME>" + }, + "in": "query" + }, + { + "name": "password", + "description": "Source's Database Password.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PASSWORD>" + }, + "in": "query" + }, + { + "name": "port", + "description": "Source's Database Port.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 5432 + }, + "in": "query" + } + ] + } + }, + "\/migrations\/supabase": { + "post": { + "summary": "Create Supabase migration", + "operationId": "migrationsCreateSupabaseMigration", + "tags": [ + "migrations" + ], + "description": "Migrate data from a Supabase project to your Appwrite project. This endpoint allows you to migrate resources like authentication, databases, and other supported services from a Supabase project. ", + "responses": { + "202": { + "description": "Migration", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/migration" + } + } + } + } + }, + "x-appwrite": { + "method": "createSupabaseMigration", + "group": null, + "weight": 335, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "migrations\/create-supabase-migration.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-supabase.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "migrations.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "resources": { + "type": "array", + "description": "List of resources to migrate", + "x-example": null, + "items": { + "type": "string" + } + }, + "endpoint": { + "type": "string", + "description": "Source's Supabase Endpoint", + "x-example": "https:\/\/example.com" + }, + "apiKey": { + "type": "string", + "description": "Source's API Key", + "x-example": "<API_KEY>" + }, + "databaseHost": { + "type": "string", + "description": "Source's Database Host", + "x-example": "<DATABASE_HOST>" + }, + "username": { + "type": "string", + "description": "Source's Database Username", + "x-example": "<USERNAME>" + }, + "password": { + "type": "string", + "description": "Source's Database Password", + "x-example": "<PASSWORD>" + }, + "port": { + "type": "integer", + "description": "Source's Database Port", + "x-example": null + } + }, + "required": [ + "resources", + "endpoint", + "apiKey", + "databaseHost", + "username", + "password" + ] + } + } + } + } + } + }, + "\/migrations\/supabase\/report": { + "get": { + "summary": "Get Supabase migration report", + "operationId": "migrationsGetSupabaseReport", + "tags": [ + "migrations" + ], + "description": "Generate a report of the data in a Supabase project before migrating. This endpoint analyzes the source project and returns information about the resources that can be migrated. ", + "responses": { + "200": { + "description": "Migration Report", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/migrationReport" + } + } + } + } + }, + "x-appwrite": { + "method": "getSupabaseReport", + "group": null, + "weight": 341, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "migrations\/get-supabase-report.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-supabase-report.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "migrations.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "resources", + "description": "List of resources to migrate", + "required": true, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "in": "query" + }, + { + "name": "endpoint", + "description": "Source's Supabase Endpoint.", + "required": true, + "schema": { + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com" + }, + "in": "query" + }, + { + "name": "apiKey", + "description": "Source's API Key.", + "required": true, + "schema": { + "type": "string", + "x-example": "<API_KEY>" + }, + "in": "query" + }, + { + "name": "databaseHost", + "description": "Source's Database Host.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_HOST>" + }, + "in": "query" + }, + { + "name": "username", + "description": "Source's Database Username.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USERNAME>" + }, + "in": "query" + }, + { + "name": "password", + "description": "Source's Database Password.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PASSWORD>" + }, + "in": "query" + }, + { + "name": "port", + "description": "Source's Database Port.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 5432 + }, + "in": "query" + } + ] + } + }, + "\/migrations\/{migrationId}": { + "get": { + "summary": "Get migration", + "operationId": "migrationsGet", + "tags": [ + "migrations" + ], + "description": "Get a migration by its unique ID. This endpoint returns detailed information about a specific migration including its current status, progress, and any errors that occurred during the migration process. ", + "responses": { + "200": { + "description": "Migration", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/migration" + } + } + } + } + }, + "x-appwrite": { + "method": "get", + "group": null, + "weight": 338, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "migrations\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/get-migration.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "migrations.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "migrationId", + "description": "Migration unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<MIGRATION_ID>" + }, + "in": "path" + } + ] + }, + "patch": { + "summary": "Update retry migration", + "operationId": "migrationsRetry", + "tags": [ + "migrations" + ], + "description": "Retry a failed migration. This endpoint allows you to retry a migration that has previously failed.", + "responses": { + "202": { + "description": "Migration", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/migration" + } + } + } + } + }, + "x-appwrite": { + "method": "retry", + "group": null, + "weight": 343, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "migrations\/retry.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/retry-migration.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "migrations.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "migrationId", + "description": "Migration unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<MIGRATION_ID>" + }, + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete migration", + "operationId": "migrationsDelete", + "tags": [ + "migrations" + ], + "description": "Delete a migration by its unique ID. This endpoint allows you to remove a migration from your project's migration history. ", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "delete", + "group": null, + "weight": 344, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "migrations\/delete.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/delete-migration.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "migrations.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "migrationId", + "description": "Migration ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<MIGRATION_ID>" + }, + "in": "path" + } + ] + } + }, + "\/project\/usage": { + "get": { + "summary": "Get project usage stats", + "operationId": "projectGetUsage", + "tags": [ + "project" + ], + "description": "Get comprehensive usage statistics for your project. View metrics including network requests, bandwidth, storage, function executions, database usage, and user activity. Specify a time range with startDate and endDate, and optionally set the data granularity with period (1h or 1d). The response includes both total counts and detailed breakdowns by resource, along with historical data over the specified period.", + "responses": { + "200": { + "description": "UsageProject", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/usageProject" + } + } + } + } + }, + "x-appwrite": { + "method": "getUsage", + "group": null, + "weight": 195, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "project\/get-usage.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/get-usage.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "startDate", + "description": "Starting date for the usage", + "required": true, + "schema": { + "type": "string" + }, + "in": "query" + }, + { + "name": "endDate", + "description": "End date for the usage", + "required": true, + "schema": { + "type": "string" + }, + "in": "query" + }, + { + "name": "period", + "description": "Period used", + "required": false, + "schema": { + "type": "string", + "x-example": "1h", + "enum": [ + "1h", + "1d" + ], + "x-enum-name": "ProjectUsageRange", + "x-enum-keys": [ + "One Hour", + "One Day" + ], + "default": "1d" + }, + "in": "query" + } + ] + } + }, + "\/project\/variables": { + "get": { + "summary": "List variables", + "operationId": "projectListVariables", + "tags": [ + "project" + ], + "description": "Get a list of all project variables. These variables will be accessible in all Appwrite Functions at runtime.", + "responses": { + "200": { + "description": "Variables List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/variableList" + } + } + } + } + }, + "x-appwrite": { + "method": "listVariables", + "group": null, + "weight": 197, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "project\/list-variables.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/list-variables.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ] + }, + "post": { + "summary": "Create variable", + "operationId": "projectCreateVariable", + "tags": [ + "project" + ], + "description": "Create a new project variable. This variable will be accessible in all Appwrite Functions at runtime.", + "responses": { + "201": { + "description": "Variable", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/variable" + } + } + } + } + }, + "x-appwrite": { + "method": "createVariable", + "group": null, + "weight": 196, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "project\/create-variable.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/create-variable.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Variable key. Max length: 255 chars.", + "x-example": "<KEY>" + }, + "value": { + "type": "string", + "description": "Variable value. Max length: 8192 chars.", + "x-example": "<VALUE>" + } + }, + "required": [ + "key", + "value" + ] + } + } + } + } + } + }, + "\/project\/variables\/{variableId}": { + "get": { + "summary": "Get variable", + "operationId": "projectGetVariable", + "tags": [ + "project" + ], + "description": "Get a project variable by its unique ID.", + "responses": { + "200": { + "description": "Variable", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/variable" + } + } + } + } + }, + "x-appwrite": { + "method": "getVariable", + "group": null, + "weight": 198, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "project\/get-variable.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/get-variable.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "variableId", + "description": "Variable unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<VARIABLE_ID>" + }, + "in": "path" + } + ] + }, + "put": { + "summary": "Update variable", + "operationId": "projectUpdateVariable", + "tags": [ + "project" + ], + "description": "Update project variable by its unique ID. This variable will be accessible in all Appwrite Functions at runtime.", + "responses": { + "200": { + "description": "Variable", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/variable" + } + } + } + } + }, + "x-appwrite": { + "method": "updateVariable", + "group": null, + "weight": 199, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "project\/update-variable.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/update-variable.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "variableId", + "description": "Variable unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<VARIABLE_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Variable key. Max length: 255 chars.", + "x-example": "<KEY>" + }, + "value": { + "type": "string", + "description": "Variable value. Max length: 8192 chars.", + "x-example": "<VALUE>" + } + }, + "required": [ + "key" + ] + } + } + } + } + }, + "delete": { + "summary": "Delete variable", + "operationId": "projectDeleteVariable", + "tags": [ + "project" + ], + "description": "Delete a project variable by its unique ID. ", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteVariable", + "group": null, + "weight": 200, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "project\/delete-variable.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/delete-variable.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "variableId", + "description": "Variable unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<VARIABLE_ID>" + }, + "in": "path" + } + ] + } + }, + "\/projects": { + "get": { + "summary": "List projects", + "operationId": "projectsList", + "tags": [ + "projects" + ], + "description": "Get a list of all projects. You can use the query params to filter your results. ", + "responses": { + "200": { + "description": "Projects List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/projectList" + } + } + } + } + }, + "x-appwrite": { + "method": "list", + "group": "projects", + "weight": 150, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/list.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/list.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, teamId", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create project", + "operationId": "projectsCreate", + "tags": [ + "projects" + ], + "description": "Create a new project. You can create a maximum of 100 projects per account. ", + "responses": { + "201": { + "description": "Project", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/project" + } + } + } + } + }, + "x-appwrite": { + "method": "create", + "group": "projects", + "weight": 149, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/create.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "projectId": { + "type": "string", + "description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, and hyphen. Can't start with a special char. Max length is 36 chars.", + "x-example": null + }, + "name": { + "type": "string", + "description": "Project name. Max length: 128 chars.", + "x-example": "<NAME>" + }, + "teamId": { + "type": "string", + "description": "Team unique ID.", + "x-example": "<TEAM_ID>" + }, + "region": { + "type": "string", + "description": "Project Region.", + "x-example": "default", + "enum": [ + "default" + ], + "x-enum-name": null, + "x-enum-keys": [] + }, + "description": { + "type": "string", + "description": "Project description. Max length: 256 chars.", + "x-example": "<DESCRIPTION>" + }, + "logo": { + "type": "string", + "description": "Project logo.", + "x-example": "<LOGO>" + }, + "url": { + "type": "string", + "description": "Project URL.", + "x-example": "https:\/\/example.com" + }, + "legalName": { + "type": "string", + "description": "Project legal Name. Max length: 256 chars.", + "x-example": "<LEGAL_NAME>" + }, + "legalCountry": { + "type": "string", + "description": "Project legal Country. Max length: 256 chars.", + "x-example": "<LEGAL_COUNTRY>" + }, + "legalState": { + "type": "string", + "description": "Project legal State. Max length: 256 chars.", + "x-example": "<LEGAL_STATE>" + }, + "legalCity": { + "type": "string", + "description": "Project legal City. Max length: 256 chars.", + "x-example": "<LEGAL_CITY>" + }, + "legalAddress": { + "type": "string", + "description": "Project legal Address. Max length: 256 chars.", + "x-example": "<LEGAL_ADDRESS>" + }, + "legalTaxId": { + "type": "string", + "description": "Project legal Tax ID. Max length: 256 chars.", + "x-example": "<LEGAL_TAX_ID>" + } + }, + "required": [ + "projectId", + "name", + "teamId" + ] + } + } + } + } + } + }, + "\/projects\/{projectId}": { + "get": { + "summary": "Get project", + "operationId": "projectsGet", + "tags": [ + "projects" + ], + "description": "Get a project by its unique ID. This endpoint allows you to retrieve the project's details, including its name, description, team, region, and other metadata. ", + "responses": { + "200": { + "description": "Project", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/project" + } + } + } + } + }, + "x-appwrite": { + "method": "get", + "group": "projects", + "weight": 151, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + } + ] + }, + "patch": { + "summary": "Update project", + "operationId": "projectsUpdate", + "tags": [ + "projects" + ], + "description": "Update a project by its unique ID.", + "responses": { + "200": { + "description": "Project", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/project" + } + } + } + } + }, + "x-appwrite": { + "method": "update", + "group": "projects", + "weight": 152, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Project name. Max length: 128 chars.", + "x-example": "<NAME>" + }, + "description": { + "type": "string", + "description": "Project description. Max length: 256 chars.", + "x-example": "<DESCRIPTION>" + }, + "logo": { + "type": "string", + "description": "Project logo.", + "x-example": "<LOGO>" + }, + "url": { + "type": "string", + "description": "Project URL.", + "x-example": "https:\/\/example.com" + }, + "legalName": { + "type": "string", + "description": "Project legal name. Max length: 256 chars.", + "x-example": "<LEGAL_NAME>" + }, + "legalCountry": { + "type": "string", + "description": "Project legal country. Max length: 256 chars.", + "x-example": "<LEGAL_COUNTRY>" + }, + "legalState": { + "type": "string", + "description": "Project legal state. Max length: 256 chars.", + "x-example": "<LEGAL_STATE>" + }, + "legalCity": { + "type": "string", + "description": "Project legal city. Max length: 256 chars.", + "x-example": "<LEGAL_CITY>" + }, + "legalAddress": { + "type": "string", + "description": "Project legal address. Max length: 256 chars.", + "x-example": "<LEGAL_ADDRESS>" + }, + "legalTaxId": { + "type": "string", + "description": "Project legal tax ID. Max length: 256 chars.", + "x-example": "<LEGAL_TAX_ID>" + } + }, + "required": [ + "name" + ] + } + } + } + } + }, + "delete": { + "summary": "Delete project", + "operationId": "projectsDelete", + "tags": [ + "projects" + ], + "description": "Delete a project by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "delete", + "group": "projects", + "weight": 169, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/delete.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + } + ] + } + }, + "\/projects\/{projectId}\/api": { + "patch": { + "summary": "Update API status", + "operationId": "projectsUpdateApiStatus", + "tags": [ + "projects" + ], + "description": "Update the status of a specific API type. Use this endpoint to enable or disable API types such as REST, GraphQL and Realtime.", + "responses": { + "200": { + "description": "Project", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/project" + } + } + } + } + }, + "x-appwrite": { + "method": "updateApiStatus", + "group": "projects", + "weight": 156, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-api-status.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-api-status.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "api": { + "type": "string", + "description": "API name.", + "x-example": "rest", + "enum": [ + "rest", + "graphql", + "realtime" + ], + "x-enum-name": null, + "x-enum-keys": [] + }, + "status": { + "type": "boolean", + "description": "API status.", + "x-example": false + } + }, + "required": [ + "api", + "status" + ] + } + } + } + } + } + }, + "\/projects\/{projectId}\/api\/all": { + "patch": { + "summary": "Update all API status", + "operationId": "projectsUpdateApiStatusAll", + "tags": [ + "projects" + ], + "description": "Update the status of all API types. Use this endpoint to enable or disable API types such as REST, GraphQL and Realtime all at once.", + "responses": { + "200": { + "description": "Project", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/project" + } + } + } + } + }, + "x-appwrite": { + "method": "updateApiStatusAll", + "group": "projects", + "weight": 157, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-api-status-all.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-api-status-all.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "status": { + "type": "boolean", + "description": "API status.", + "x-example": false + } + }, + "required": [ + "status" + ] + } + } + } + } + } + }, + "\/projects\/{projectId}\/auth\/duration": { + "patch": { + "summary": "Update project authentication duration", + "operationId": "projectsUpdateAuthDuration", + "tags": [ + "projects" + ], + "description": "Update how long sessions created within a project should stay active for.", + "responses": { + "200": { + "description": "Project", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/project" + } + } + } + } + }, + "x-appwrite": { + "method": "updateAuthDuration", + "group": "auth", + "weight": 162, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-auth-duration.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-duration.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "duration": { + "type": "integer", + "description": "Project session length in seconds. Max length: 31536000 seconds.", + "x-example": 0 + } + }, + "required": [ + "duration" + ] + } + } + } + } + } + }, + "\/projects\/{projectId}\/auth\/limit": { + "patch": { + "summary": "Update project users limit", + "operationId": "projectsUpdateAuthLimit", + "tags": [ + "projects" + ], + "description": "Update the maximum number of users allowed in this project. Set to 0 for unlimited users. ", + "responses": { + "200": { + "description": "Project", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/project" + } + } + } + } + }, + "x-appwrite": { + "method": "updateAuthLimit", + "group": "auth", + "weight": 161, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-auth-limit.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-limit.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "description": "Set the max number of users allowed in this project. Use 0 for unlimited.", + "x-example": 0 + } + }, + "required": [ + "limit" + ] + } + } + } + } + } + }, + "\/projects\/{projectId}\/auth\/max-sessions": { + "patch": { + "summary": "Update project user sessions limit", + "operationId": "projectsUpdateAuthSessionsLimit", + "tags": [ + "projects" + ], + "description": "Update the maximum number of sessions allowed per user within the project, if the limit is hit the oldest session will be deleted to make room for new sessions.", + "responses": { + "200": { + "description": "Project", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/project" + } + } + } + } + }, + "x-appwrite": { + "method": "updateAuthSessionsLimit", + "group": "auth", + "weight": 167, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-auth-sessions-limit.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-sessions-limit.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "description": "Set the max number of users allowed in this project. Value allowed is between 1-100. Default is 10", + "x-example": 1 + } + }, + "required": [ + "limit" + ] + } + } + } + } + } + }, + "\/projects\/{projectId}\/auth\/memberships-privacy": { + "patch": { + "summary": "Update project memberships privacy attributes", + "operationId": "projectsUpdateMembershipsPrivacy", + "tags": [ + "projects" + ], + "description": "Update project membership privacy settings. Use this endpoint to control what user information is visible to other team members, such as user name, email, and MFA status. ", + "responses": { + "200": { + "description": "Project", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/project" + } + } + } + } + }, + "x-appwrite": { + "method": "updateMembershipsPrivacy", + "group": "auth", + "weight": 160, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-memberships-privacy.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-memberships-privacy.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "boolean", + "description": "Set to true to show userName to members of a team.", + "x-example": false + }, + "userEmail": { + "type": "boolean", + "description": "Set to true to show email to members of a team.", + "x-example": false + }, + "mfa": { + "type": "boolean", + "description": "Set to true to show mfa to members of a team.", + "x-example": false + } + }, + "required": [ + "userName", + "userEmail", + "mfa" + ] + } + } + } + } + } + }, + "\/projects\/{projectId}\/auth\/mock-numbers": { + "patch": { + "summary": "Update the mock numbers for the project", + "operationId": "projectsUpdateMockNumbers", + "tags": [ + "projects" + ], + "description": "Update the list of mock phone numbers for testing. Use these numbers to bypass SMS verification in development. ", + "responses": { + "200": { + "description": "Project", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/project" + } + } + } + } + }, + "x-appwrite": { + "method": "updateMockNumbers", + "group": "auth", + "weight": 168, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-mock-numbers.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-mock-numbers.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "numbers": { + "type": "array", + "description": "An array of mock numbers and their corresponding verification codes (OTPs). Each number should be a valid E.164 formatted phone number. Maximum of 10 numbers are allowed.", + "x-example": null, + "items": { + "type": "object" + } + } + }, + "required": [ + "numbers" + ] + } + } + } + } + } + }, + "\/projects\/{projectId}\/auth\/password-dictionary": { + "patch": { + "summary": "Update authentication password dictionary status. Use this endpoint to enable or disable the dicitonary check for user password", + "operationId": "projectsUpdateAuthPasswordDictionary", + "tags": [ + "projects" + ], + "description": "Enable or disable checking user passwords against common passwords dictionary. This helps ensure users don't use common and insecure passwords. ", + "responses": { + "200": { + "description": "Project", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/project" + } + } + } + } + }, + "x-appwrite": { + "method": "updateAuthPasswordDictionary", + "group": "auth", + "weight": 165, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-auth-password-dictionary.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-password-dictionary.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Set whether or not to enable checking user's password against most commonly used passwords. Default is false.", + "x-example": false + } + }, + "required": [ + "enabled" + ] + } + } + } + } + } + }, + "\/projects\/{projectId}\/auth\/password-history": { + "patch": { + "summary": "Update authentication password history. Use this endpoint to set the number of password history to save and 0 to disable password history.", + "operationId": "projectsUpdateAuthPasswordHistory", + "tags": [ + "projects" + ], + "description": "Update the authentication password history requirement. Use this endpoint to require new passwords to be different than the last X amount of previously used ones.", + "responses": { + "200": { + "description": "Project", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/project" + } + } + } + } + }, + "x-appwrite": { + "method": "updateAuthPasswordHistory", + "group": "auth", + "weight": 164, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-auth-password-history.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-password-history.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "description": "Set the max number of passwords to store in user history. User can't choose a new password that is already stored in the password history list. Max number of passwords allowed in history is20. Default value is 0", + "x-example": 0 + } + }, + "required": [ + "limit" + ] + } + } + } + } + } + }, + "\/projects\/{projectId}\/auth\/personal-data": { + "patch": { + "summary": "Update personal data check", + "operationId": "projectsUpdatePersonalDataCheck", + "tags": [ + "projects" + ], + "description": "Enable or disable checking user passwords against their personal data. This helps prevent users from using personal information in their passwords. ", + "responses": { + "200": { + "description": "Project", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/project" + } + } + } + } + }, + "x-appwrite": { + "method": "updatePersonalDataCheck", + "group": "auth", + "weight": 166, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-personal-data-check.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-personal-data-check.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Set whether or not to check a password for similarity with personal data. Default is false.", + "x-example": false + } + }, + "required": [ + "enabled" + ] + } + } + } + } + } + }, + "\/projects\/{projectId}\/auth\/session-alerts": { + "patch": { + "summary": "Update project sessions emails", + "operationId": "projectsUpdateSessionAlerts", + "tags": [ + "projects" + ], + "description": "Enable or disable session email alerts. When enabled, users will receive email notifications when new sessions are created.", + "responses": { + "200": { + "description": "Project", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/project" + } + } + } + } + }, + "x-appwrite": { + "method": "updateSessionAlerts", + "group": "auth", + "weight": 159, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-session-alerts.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-session-alerts.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "alerts": { + "type": "boolean", + "description": "Set to true to enable session emails.", + "x-example": false + } + }, + "required": [ + "alerts" + ] + } + } + } + } + } + }, + "\/projects\/{projectId}\/auth\/{method}": { + "patch": { + "summary": "Update project auth method status. Use this endpoint to enable or disable a given auth method for this project.", + "operationId": "projectsUpdateAuthStatus", + "tags": [ + "projects" + ], + "description": "Update the status of a specific authentication method. Use this endpoint to enable or disable different authentication methods such as email, magic urls or sms in your project. ", + "responses": { + "200": { + "description": "Project", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/project" + } + } + } + } + }, + "x-appwrite": { + "method": "updateAuthStatus", + "group": "auth", + "weight": 163, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-auth-status.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-status.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + }, + { + "name": "method", + "description": "Auth Method. Possible values: email-password,magic-url,email-otp,anonymous,invites,jwt,phone", + "required": true, + "schema": { + "type": "string", + "x-example": "email-password", + "enum": [ + "email-password", + "magic-url", + "email-otp", + "anonymous", + "invites", + "jwt", + "phone" + ], + "x-enum-name": "AuthMethod", + "x-enum-keys": [] + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "status": { + "type": "boolean", + "description": "Set the status of this auth method.", + "x-example": false + } + }, + "required": [ + "status" + ] + } + } + } + } + } + }, + "\/projects\/{projectId}\/jwts": { + "post": { + "summary": "Create JWT", + "operationId": "projectsCreateJWT", + "tags": [ + "projects" + ], + "description": "Create a new JWT token. This token can be used to authenticate users with custom scopes and expiration time. ", + "responses": { + "201": { + "description": "JWT", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/jwt" + } + } + } + } + }, + "x-appwrite": { + "method": "createJWT", + "group": "auth", + "weight": 181, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/create-j-w-t.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create-jwt.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "scopes": { + "type": "array", + "description": "List of scopes allowed for JWT key. Maximum of 100 scopes are allowed.", + "x-example": null, + "items": { + "type": "string" + } + }, + "duration": { + "type": "integer", + "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", + "x-example": 0 + } + }, + "required": [ + "scopes" + ] + } + } + } + } + } + }, + "\/projects\/{projectId}\/keys": { + "get": { + "summary": "List keys", + "operationId": "projectsListKeys", + "tags": [ + "projects" + ], + "description": "Get a list of all API keys from the current project. ", + "responses": { + "200": { + "description": "API Keys List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/keyList" + } + } + } + } + }, + "x-appwrite": { + "method": "listKeys", + "group": "keys", + "weight": 177, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/list-keys.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/list-keys.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "keys.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + } + ] + }, + "post": { + "summary": "Create key", + "operationId": "projectsCreateKey", + "tags": [ + "projects" + ], + "description": "Create a new API key. It's recommended to have multiple API keys with strict scopes for separate functions within your project.", + "responses": { + "201": { + "description": "Key", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/key" + } + } + } + } + }, + "x-appwrite": { + "method": "createKey", + "group": "keys", + "weight": 176, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/create-key.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create-key.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "keys.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Key name. Max length: 128 chars.", + "x-example": "<NAME>" + }, + "scopes": { + "type": "array", + "description": "Key scopes list. Maximum of 100 scopes are allowed.", + "x-example": null, + "items": { + "type": "string" + } + }, + "expire": { + "type": "string", + "description": "Expiration time in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. Use null for unlimited expiration.", + "x-example": null + } + }, + "required": [ + "name", + "scopes" + ] + } + } + } + } + } + }, + "\/projects\/{projectId}\/keys\/{keyId}": { + "get": { + "summary": "Get key", + "operationId": "projectsGetKey", + "tags": [ + "projects" + ], + "description": "Get a key by its unique ID. This endpoint returns details about a specific API key in your project including it's scopes.", + "responses": { + "200": { + "description": "Key", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/key" + } + } + } + } + }, + "x-appwrite": { + "method": "getKey", + "group": "keys", + "weight": 178, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/get-key.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get-key.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "keys.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + }, + { + "name": "keyId", + "description": "Key unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<KEY_ID>" + }, + "in": "path" + } + ] + }, + "put": { + "summary": "Update key", + "operationId": "projectsUpdateKey", + "tags": [ + "projects" + ], + "description": "Update a key by its unique ID. Use this endpoint to update the name, scopes, or expiration time of an API key. ", + "responses": { + "200": { + "description": "Key", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/key" + } + } + } + } + }, + "x-appwrite": { + "method": "updateKey", + "group": "keys", + "weight": 179, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-key.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-key.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "keys.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + }, + { + "name": "keyId", + "description": "Key unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<KEY_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Key name. Max length: 128 chars.", + "x-example": "<NAME>" + }, + "scopes": { + "type": "array", + "description": "Key scopes list. Maximum of 100 events are allowed.", + "x-example": null, + "items": { + "type": "string" + } + }, + "expire": { + "type": "string", + "description": "Expiration time in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. Use null for unlimited expiration.", + "x-example": null + } + }, + "required": [ + "name", + "scopes" + ] + } + } + } + } + }, + "delete": { + "summary": "Delete key", + "operationId": "projectsDeleteKey", + "tags": [ + "projects" + ], + "description": "Delete a key by its unique ID. Once deleted, the key can no longer be used to authenticate API calls. ", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteKey", + "group": "keys", + "weight": 180, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/delete-key.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete-key.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "keys.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + }, + { + "name": "keyId", + "description": "Key unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<KEY_ID>" + }, + "in": "path" + } + ] + } + }, + "\/projects\/{projectId}\/oauth2": { + "patch": { + "summary": "Update project OAuth2", + "operationId": "projectsUpdateOAuth2", + "tags": [ + "projects" + ], + "description": "Update the OAuth2 provider configurations. Use this endpoint to set up or update the OAuth2 provider credentials or enable\/disable providers. ", + "responses": { + "200": { + "description": "Project", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/project" + } + } + } + } + }, + "x-appwrite": { + "method": "updateOAuth2", + "group": "auth", + "weight": 158, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-o-auth2.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-oauth2.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "provider": { + "type": "string", + "description": "Provider Name", + "x-example": "amazon", + "enum": [ + "amazon", + "apple", + "auth0", + "authentik", + "autodesk", + "bitbucket", + "bitly", + "box", + "dailymotion", + "discord", + "disqus", + "dropbox", + "etsy", + "facebook", + "figma", + "github", + "gitlab", + "google", + "linkedin", + "microsoft", + "notion", + "oidc", + "okta", + "paypal", + "paypalSandbox", + "podio", + "salesforce", + "slack", + "spotify", + "stripe", + "tradeshift", + "tradeshiftBox", + "twitch", + "wordpress", + "yahoo", + "yammer", + "yandex", + "zoho", + "zoom", + "mock" + ], + "x-enum-name": "OAuthProvider", + "x-enum-keys": [] + }, + "appId": { + "type": "string", + "description": "Provider app ID. Max length: 256 chars.", + "x-example": "<APP_ID>" + }, + "secret": { + "type": "string", + "description": "Provider secret key. Max length: 512 chars.", + "x-example": "<SECRET>" + }, + "enabled": { + "type": "boolean", + "description": "Provider status. Set to 'false' to disable new session creation.", + "x-example": false + } + }, + "required": [ + "provider" + ] + } + } + } + } + } + }, + "\/projects\/{projectId}\/platforms": { + "get": { + "summary": "List platforms", + "operationId": "projectsListPlatforms", + "tags": [ + "projects" + ], + "description": "Get a list of all platforms in the project. This endpoint returns an array of all platforms and their configurations. ", + "responses": { + "200": { + "description": "Platforms List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/platformList" + } + } + } + } + }, + "x-appwrite": { + "method": "listPlatforms", + "group": "platforms", + "weight": 183, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/list-platforms.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/list-platforms.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "platforms.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + } + ] + }, + "post": { + "summary": "Create platform", + "operationId": "projectsCreatePlatform", + "tags": [ + "projects" + ], + "description": "Create a new platform for your project. Use this endpoint to register a new platform where your users will run your application which will interact with the Appwrite API.", + "responses": { + "201": { + "description": "Platform", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/platform" + } + } + } + } + }, + "x-appwrite": { + "method": "createPlatform", + "group": "platforms", + "weight": 182, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/create-platform.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create-platform.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "platforms.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Platform type.", + "x-example": "web", + "enum": [ + "web", + "flutter-web", + "flutter-ios", + "flutter-android", + "flutter-linux", + "flutter-macos", + "flutter-windows", + "apple-ios", + "apple-macos", + "apple-watchos", + "apple-tvos", + "android", + "unity", + "react-native-ios", + "react-native-android" + ], + "x-enum-name": "PlatformType", + "x-enum-keys": [] + }, + "name": { + "type": "string", + "description": "Platform name. Max length: 128 chars.", + "x-example": "<NAME>" + }, + "key": { + "type": "string", + "description": "Package name for Android or bundle ID for iOS or macOS. Max length: 256 chars.", + "x-example": "<KEY>" + }, + "store": { + "type": "string", + "description": "App store or Google Play store ID. Max length: 256 chars.", + "x-example": "<STORE>" + }, + "hostname": { + "type": "string", + "description": "Platform client hostname. Max length: 256 chars.", + "x-example": null + } + }, + "required": [ + "type", + "name" + ] + } + } + } + } + } + }, + "\/projects\/{projectId}\/platforms\/{platformId}": { + "get": { + "summary": "Get platform", + "operationId": "projectsGetPlatform", + "tags": [ + "projects" + ], + "description": "Get a platform by its unique ID. This endpoint returns the platform's details, including its name, type, and key configurations. ", + "responses": { + "200": { + "description": "Platform", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/platform" + } + } + } + } + }, + "x-appwrite": { + "method": "getPlatform", + "group": "platforms", + "weight": 184, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/get-platform.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get-platform.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "platforms.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + }, + { + "name": "platformId", + "description": "Platform unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PLATFORM_ID>" + }, + "in": "path" + } + ] + }, + "put": { + "summary": "Update platform", + "operationId": "projectsUpdatePlatform", + "tags": [ + "projects" + ], + "description": "Update a platform by its unique ID. Use this endpoint to update the platform's name, key, platform store ID, or hostname. ", + "responses": { + "200": { + "description": "Platform", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/platform" + } + } + } + } + }, + "x-appwrite": { + "method": "updatePlatform", + "group": "platforms", + "weight": 185, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-platform.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-platform.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "platforms.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + }, + { + "name": "platformId", + "description": "Platform unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PLATFORM_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Platform name. Max length: 128 chars.", + "x-example": "<NAME>" + }, + "key": { + "type": "string", + "description": "Package name for android or bundle ID for iOS. Max length: 256 chars.", + "x-example": "<KEY>" + }, + "store": { + "type": "string", + "description": "App store or Google Play store ID. Max length: 256 chars.", + "x-example": "<STORE>" + }, + "hostname": { + "type": "string", + "description": "Platform client URL. Max length: 256 chars.", + "x-example": null + } + }, + "required": [ + "name" + ] + } + } + } + } + }, + "delete": { + "summary": "Delete platform", + "operationId": "projectsDeletePlatform", + "tags": [ + "projects" + ], + "description": "Delete a platform by its unique ID. This endpoint removes the platform and all its configurations from the project. ", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deletePlatform", + "group": "platforms", + "weight": 186, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/delete-platform.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete-platform.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "platforms.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + }, + { + "name": "platformId", + "description": "Platform unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PLATFORM_ID>" + }, + "in": "path" + } + ] + } + }, + "\/projects\/{projectId}\/service": { + "patch": { + "summary": "Update service status", + "operationId": "projectsUpdateServiceStatus", + "tags": [ + "projects" + ], + "description": "Update the status of a specific service. Use this endpoint to enable or disable a service in your project. ", + "responses": { + "200": { + "description": "Project", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/project" + } + } + } + } + }, + "x-appwrite": { + "method": "updateServiceStatus", + "group": "projects", + "weight": 154, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-service-status.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-service-status.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "service": { + "type": "string", + "description": "Service name.", + "x-example": "account", + "enum": [ + "account", + "avatars", + "databases", + "locale", + "health", + "storage", + "teams", + "users", + "functions", + "graphql", + "messaging" + ], + "x-enum-name": "ApiService", + "x-enum-keys": [] + }, + "status": { + "type": "boolean", + "description": "Service status.", + "x-example": false + } + }, + "required": [ + "service", + "status" + ] + } + } + } + } + } + }, + "\/projects\/{projectId}\/service\/all": { + "patch": { + "summary": "Update all service status", + "operationId": "projectsUpdateServiceStatusAll", + "tags": [ + "projects" + ], + "description": "Update the status of all services. Use this endpoint to enable or disable all optional services at once. ", + "responses": { + "200": { + "description": "Project", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/project" + } + } + } + } + }, + "x-appwrite": { + "method": "updateServiceStatusAll", + "group": "projects", + "weight": 155, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-service-status-all.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-service-status-all.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "status": { + "type": "boolean", + "description": "Service status.", + "x-example": false + } + }, + "required": [ + "status" + ] + } + } + } + } + } + }, + "\/projects\/{projectId}\/smtp": { + "patch": { + "summary": "Update SMTP", + "operationId": "projectsUpdateSmtp", + "tags": [ + "projects" + ], + "description": "Update the SMTP configuration for your project. Use this endpoint to configure your project's SMTP provider with your custom settings for sending transactional emails. ", + "responses": { + "200": { + "description": "Project", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/project" + } + } + } + } + }, + "x-appwrite": { + "method": "updateSmtp", + "group": "templates", + "weight": 187, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-smtp.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-smtp.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Enable custom SMTP service", + "x-example": false + }, + "senderName": { + "type": "string", + "description": "Name of the email sender", + "x-example": "<SENDER_NAME>" + }, + "senderEmail": { + "type": "string", + "description": "Email of the sender", + "x-example": "email@example.com" + }, + "replyTo": { + "type": "string", + "description": "Reply to email", + "x-example": "email@example.com" + }, + "host": { + "type": "string", + "description": "SMTP server host name", + "x-example": null + }, + "port": { + "type": "integer", + "description": "SMTP server port", + "x-example": null + }, + "username": { + "type": "string", + "description": "SMTP server username", + "x-example": "<USERNAME>" + }, + "password": { + "type": "string", + "description": "SMTP server password", + "x-example": "<PASSWORD>" + }, + "secure": { + "type": "string", + "description": "Does SMTP server use secure connection", + "x-example": "tls", + "enum": [ + "tls", + "ssl" + ], + "x-enum-name": "SMTPSecure", + "x-enum-keys": [] + } + }, + "required": [ + "enabled" + ] + } + } + } + } + } + }, + "\/projects\/{projectId}\/smtp\/tests": { + "post": { + "summary": "Create SMTP test", + "operationId": "projectsCreateSmtpTest", + "tags": [ + "projects" + ], + "description": "Send a test email to verify SMTP configuration. ", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "createSmtpTest", + "group": "templates", + "weight": 188, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/create-smtp-test.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create-smtp-test.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "emails": { + "type": "array", + "description": "Array of emails to send test email to. Maximum of 10 emails are allowed.", + "x-example": null, + "items": { + "type": "string" + } + }, + "senderName": { + "type": "string", + "description": "Name of the email sender", + "x-example": "<SENDER_NAME>" + }, + "senderEmail": { + "type": "string", + "description": "Email of the sender", + "x-example": "email@example.com" + }, + "replyTo": { + "type": "string", + "description": "Reply to email", + "x-example": "email@example.com" + }, + "host": { + "type": "string", + "description": "SMTP server host name", + "x-example": null + }, + "port": { + "type": "integer", + "description": "SMTP server port", + "x-example": null + }, + "username": { + "type": "string", + "description": "SMTP server username", + "x-example": "<USERNAME>" + }, + "password": { + "type": "string", + "description": "SMTP server password", + "x-example": "<PASSWORD>" + }, + "secure": { + "type": "string", + "description": "Does SMTP server use secure connection", + "x-example": "tls", + "enum": [ + "tls", + "ssl" + ], + "x-enum-name": "SMTPSecure", + "x-enum-keys": [] + } + }, + "required": [ + "emails", + "senderName", + "senderEmail", + "host" + ] + } + } + } + } + } + }, + "\/projects\/{projectId}\/team": { + "patch": { + "summary": "Update project team", + "operationId": "projectsUpdateTeam", + "tags": [ + "projects" + ], + "description": "Update the team ID of a project allowing for it to be transferred to another team.", + "responses": { + "200": { + "description": "Project", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/project" + } + } + } + } + }, + "x-appwrite": { + "method": "updateTeam", + "group": "projects", + "weight": 153, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-team.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-team.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "teamId": { + "type": "string", + "description": "Team ID of the team to transfer project to.", + "x-example": "<TEAM_ID>" + } + }, + "required": [ + "teamId" + ] + } + } + } + } + } + }, + "\/projects\/{projectId}\/templates\/email\/{type}\/{locale}": { + "get": { + "summary": "Get custom email template", + "operationId": "projectsGetEmailTemplate", + "tags": [ + "projects" + ], + "description": "Get a custom email template for the specified locale and type. This endpoint returns the template content, subject, and other configuration details. ", + "responses": { + "200": { + "description": "EmailTemplate", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/emailTemplate" + } + } + } + } + }, + "x-appwrite": { + "method": "getEmailTemplate", + "group": "templates", + "weight": 190, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/get-email-template.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get-email-template.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + }, + { + "name": "type", + "description": "Template type", + "required": true, + "schema": { + "type": "string", + "x-example": "verification", + "enum": [ + "verification", + "magicsession", + "recovery", + "invitation", + "mfachallenge", + "sessionalert", + "otpsession" + ], + "x-enum-name": "EmailTemplateType", + "x-enum-keys": [] + }, + "in": "path" + }, + { + "name": "locale", + "description": "Template locale", + "required": true, + "schema": { + "type": "string", + "x-example": "af", + "enum": [ + "af", + "ar-ae", + "ar-bh", + "ar-dz", + "ar-eg", + "ar-iq", + "ar-jo", + "ar-kw", + "ar-lb", + "ar-ly", + "ar-ma", + "ar-om", + "ar-qa", + "ar-sa", + "ar-sy", + "ar-tn", + "ar-ye", + "as", + "az", + "be", + "bg", + "bh", + "bn", + "bs", + "ca", + "cs", + "cy", + "da", + "de", + "de-at", + "de-ch", + "de-li", + "de-lu", + "el", + "en", + "en-au", + "en-bz", + "en-ca", + "en-gb", + "en-ie", + "en-jm", + "en-nz", + "en-tt", + "en-us", + "en-za", + "eo", + "es", + "es-ar", + "es-bo", + "es-cl", + "es-co", + "es-cr", + "es-do", + "es-ec", + "es-gt", + "es-hn", + "es-mx", + "es-ni", + "es-pa", + "es-pe", + "es-pr", + "es-py", + "es-sv", + "es-uy", + "es-ve", + "et", + "eu", + "fa", + "fi", + "fo", + "fr", + "fr-be", + "fr-ca", + "fr-ch", + "fr-lu", + "ga", + "gd", + "he", + "hi", + "hr", + "hu", + "id", + "is", + "it", + "it-ch", + "ja", + "ji", + "ko", + "ku", + "lt", + "lv", + "mk", + "ml", + "ms", + "mt", + "nb", + "ne", + "nl", + "nl-be", + "nn", + "no", + "pa", + "pl", + "pt", + "pt-br", + "rm", + "ro", + "ro-md", + "ru", + "ru-md", + "sb", + "sk", + "sl", + "sq", + "sr", + "sv", + "sv-fi", + "th", + "tn", + "tr", + "ts", + "ua", + "ur", + "ve", + "vi", + "xh", + "zh-cn", + "zh-hk", + "zh-sg", + "zh-tw", + "zu" + ], + "x-enum-name": "EmailTemplateLocale", + "x-enum-keys": [] + }, + "in": "path" + } + ] + }, + "patch": { + "summary": "Update custom email templates", + "operationId": "projectsUpdateEmailTemplate", + "tags": [ + "projects" + ], + "description": "Update a custom email template for the specified locale and type. Use this endpoint to modify the content of your email templates.", + "responses": { + "200": { + "description": "EmailTemplate", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/emailTemplate" + } + } + } + } + }, + "x-appwrite": { + "method": "updateEmailTemplate", + "group": "templates", + "weight": 192, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-email-template.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-email-template.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + }, + { + "name": "type", + "description": "Template type", + "required": true, + "schema": { + "type": "string", + "x-example": "verification", + "enum": [ + "verification", + "magicsession", + "recovery", + "invitation", + "mfachallenge", + "sessionalert", + "otpsession" + ], + "x-enum-name": "EmailTemplateType", + "x-enum-keys": [] + }, + "in": "path" + }, + { + "name": "locale", + "description": "Template locale", + "required": true, + "schema": { + "type": "string", + "x-example": "af", + "enum": [ + "af", + "ar-ae", + "ar-bh", + "ar-dz", + "ar-eg", + "ar-iq", + "ar-jo", + "ar-kw", + "ar-lb", + "ar-ly", + "ar-ma", + "ar-om", + "ar-qa", + "ar-sa", + "ar-sy", + "ar-tn", + "ar-ye", + "as", + "az", + "be", + "bg", + "bh", + "bn", + "bs", + "ca", + "cs", + "cy", + "da", + "de", + "de-at", + "de-ch", + "de-li", + "de-lu", + "el", + "en", + "en-au", + "en-bz", + "en-ca", + "en-gb", + "en-ie", + "en-jm", + "en-nz", + "en-tt", + "en-us", + "en-za", + "eo", + "es", + "es-ar", + "es-bo", + "es-cl", + "es-co", + "es-cr", + "es-do", + "es-ec", + "es-gt", + "es-hn", + "es-mx", + "es-ni", + "es-pa", + "es-pe", + "es-pr", + "es-py", + "es-sv", + "es-uy", + "es-ve", + "et", + "eu", + "fa", + "fi", + "fo", + "fr", + "fr-be", + "fr-ca", + "fr-ch", + "fr-lu", + "ga", + "gd", + "he", + "hi", + "hr", + "hu", + "id", + "is", + "it", + "it-ch", + "ja", + "ji", + "ko", + "ku", + "lt", + "lv", + "mk", + "ml", + "ms", + "mt", + "nb", + "ne", + "nl", + "nl-be", + "nn", + "no", + "pa", + "pl", + "pt", + "pt-br", + "rm", + "ro", + "ro-md", + "ru", + "ru-md", + "sb", + "sk", + "sl", + "sq", + "sr", + "sv", + "sv-fi", + "th", + "tn", + "tr", + "ts", + "ua", + "ur", + "ve", + "vi", + "xh", + "zh-cn", + "zh-hk", + "zh-sg", + "zh-tw", + "zu" + ], + "x-enum-name": "EmailTemplateLocale", + "x-enum-keys": [] + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "subject": { + "type": "string", + "description": "Email Subject", + "x-example": "<SUBJECT>" + }, + "message": { + "type": "string", + "description": "Template message", + "x-example": "<MESSAGE>" + }, + "senderName": { + "type": "string", + "description": "Name of the email sender", + "x-example": "<SENDER_NAME>" + }, + "senderEmail": { + "type": "string", + "description": "Email of the sender", + "x-example": "email@example.com" + }, + "replyTo": { + "type": "string", + "description": "Reply to email", + "x-example": "email@example.com" + } + }, + "required": [ + "subject", + "message" + ] + } + } + } + } + }, + "delete": { + "summary": "Delete custom email template", + "operationId": "projectsDeleteEmailTemplate", + "tags": [ + "projects" + ], + "description": "Reset a custom email template to its default value. This endpoint removes any custom content and restores the template to its original state. ", + "responses": { + "200": { + "description": "EmailTemplate", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/emailTemplate" + } + } + } + } + }, + "x-appwrite": { + "method": "deleteEmailTemplate", + "group": "templates", + "weight": 194, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/delete-email-template.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete-email-template.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + }, + { + "name": "type", + "description": "Template type", + "required": true, + "schema": { + "type": "string", + "x-example": "verification", + "enum": [ + "verification", + "magicsession", + "recovery", + "invitation", + "mfachallenge", + "sessionalert", + "otpsession" + ], + "x-enum-name": "EmailTemplateType", + "x-enum-keys": [] + }, + "in": "path" + }, + { + "name": "locale", + "description": "Template locale", + "required": true, + "schema": { + "type": "string", + "x-example": "af", + "enum": [ + "af", + "ar-ae", + "ar-bh", + "ar-dz", + "ar-eg", + "ar-iq", + "ar-jo", + "ar-kw", + "ar-lb", + "ar-ly", + "ar-ma", + "ar-om", + "ar-qa", + "ar-sa", + "ar-sy", + "ar-tn", + "ar-ye", + "as", + "az", + "be", + "bg", + "bh", + "bn", + "bs", + "ca", + "cs", + "cy", + "da", + "de", + "de-at", + "de-ch", + "de-li", + "de-lu", + "el", + "en", + "en-au", + "en-bz", + "en-ca", + "en-gb", + "en-ie", + "en-jm", + "en-nz", + "en-tt", + "en-us", + "en-za", + "eo", + "es", + "es-ar", + "es-bo", + "es-cl", + "es-co", + "es-cr", + "es-do", + "es-ec", + "es-gt", + "es-hn", + "es-mx", + "es-ni", + "es-pa", + "es-pe", + "es-pr", + "es-py", + "es-sv", + "es-uy", + "es-ve", + "et", + "eu", + "fa", + "fi", + "fo", + "fr", + "fr-be", + "fr-ca", + "fr-ch", + "fr-lu", + "ga", + "gd", + "he", + "hi", + "hr", + "hu", + "id", + "is", + "it", + "it-ch", + "ja", + "ji", + "ko", + "ku", + "lt", + "lv", + "mk", + "ml", + "ms", + "mt", + "nb", + "ne", + "nl", + "nl-be", + "nn", + "no", + "pa", + "pl", + "pt", + "pt-br", + "rm", + "ro", + "ro-md", + "ru", + "ru-md", + "sb", + "sk", + "sl", + "sq", + "sr", + "sv", + "sv-fi", + "th", + "tn", + "tr", + "ts", + "ua", + "ur", + "ve", + "vi", + "xh", + "zh-cn", + "zh-hk", + "zh-sg", + "zh-tw", + "zu" + ], + "x-enum-name": "EmailTemplateLocale", + "x-enum-keys": [] + }, + "in": "path" + } + ] + } + }, + "\/projects\/{projectId}\/templates\/sms\/{type}\/{locale}": { + "get": { + "summary": "Get custom SMS template", + "operationId": "projectsGetSmsTemplate", + "tags": [ + "projects" + ], + "description": "Get a custom SMS template for the specified locale and type returning it's contents.", + "responses": { + "200": { + "description": "SmsTemplate", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/smsTemplate" + } + } + } + } + }, + "x-appwrite": { + "method": "getSmsTemplate", + "group": "templates", + "weight": 189, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/get-sms-template.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get-sms-template.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + }, + { + "name": "type", + "description": "Template type", + "required": true, + "schema": { + "type": "string", + "x-example": "verification", + "enum": [ + "verification", + "login", + "invitation", + "mfachallenge" + ], + "x-enum-name": "SmsTemplateType", + "x-enum-keys": [] + }, + "in": "path" + }, + { + "name": "locale", + "description": "Template locale", + "required": true, + "schema": { + "type": "string", + "x-example": "af", + "enum": [ + "af", + "ar-ae", + "ar-bh", + "ar-dz", + "ar-eg", + "ar-iq", + "ar-jo", + "ar-kw", + "ar-lb", + "ar-ly", + "ar-ma", + "ar-om", + "ar-qa", + "ar-sa", + "ar-sy", + "ar-tn", + "ar-ye", + "as", + "az", + "be", + "bg", + "bh", + "bn", + "bs", + "ca", + "cs", + "cy", + "da", + "de", + "de-at", + "de-ch", + "de-li", + "de-lu", + "el", + "en", + "en-au", + "en-bz", + "en-ca", + "en-gb", + "en-ie", + "en-jm", + "en-nz", + "en-tt", + "en-us", + "en-za", + "eo", + "es", + "es-ar", + "es-bo", + "es-cl", + "es-co", + "es-cr", + "es-do", + "es-ec", + "es-gt", + "es-hn", + "es-mx", + "es-ni", + "es-pa", + "es-pe", + "es-pr", + "es-py", + "es-sv", + "es-uy", + "es-ve", + "et", + "eu", + "fa", + "fi", + "fo", + "fr", + "fr-be", + "fr-ca", + "fr-ch", + "fr-lu", + "ga", + "gd", + "he", + "hi", + "hr", + "hu", + "id", + "is", + "it", + "it-ch", + "ja", + "ji", + "ko", + "ku", + "lt", + "lv", + "mk", + "ml", + "ms", + "mt", + "nb", + "ne", + "nl", + "nl-be", + "nn", + "no", + "pa", + "pl", + "pt", + "pt-br", + "rm", + "ro", + "ro-md", + "ru", + "ru-md", + "sb", + "sk", + "sl", + "sq", + "sr", + "sv", + "sv-fi", + "th", + "tn", + "tr", + "ts", + "ua", + "ur", + "ve", + "vi", + "xh", + "zh-cn", + "zh-hk", + "zh-sg", + "zh-tw", + "zu" + ], + "x-enum-name": "SmsTemplateLocale", + "x-enum-keys": [] + }, + "in": "path" + } + ] + }, + "patch": { + "summary": "Update custom SMS template", + "operationId": "projectsUpdateSmsTemplate", + "tags": [ + "projects" + ], + "description": "Update a custom SMS template for the specified locale and type. Use this endpoint to modify the content of your SMS templates. ", + "responses": { + "200": { + "description": "SmsTemplate", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/smsTemplate" + } + } + } + } + }, + "x-appwrite": { + "method": "updateSmsTemplate", + "group": "templates", + "weight": 191, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-sms-template.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-sms-template.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + }, + { + "name": "type", + "description": "Template type", + "required": true, + "schema": { + "type": "string", + "x-example": "verification", + "enum": [ + "verification", + "login", + "invitation", + "mfachallenge" + ], + "x-enum-name": "SmsTemplateType", + "x-enum-keys": [] + }, + "in": "path" + }, + { + "name": "locale", + "description": "Template locale", + "required": true, + "schema": { + "type": "string", + "x-example": "af", + "enum": [ + "af", + "ar-ae", + "ar-bh", + "ar-dz", + "ar-eg", + "ar-iq", + "ar-jo", + "ar-kw", + "ar-lb", + "ar-ly", + "ar-ma", + "ar-om", + "ar-qa", + "ar-sa", + "ar-sy", + "ar-tn", + "ar-ye", + "as", + "az", + "be", + "bg", + "bh", + "bn", + "bs", + "ca", + "cs", + "cy", + "da", + "de", + "de-at", + "de-ch", + "de-li", + "de-lu", + "el", + "en", + "en-au", + "en-bz", + "en-ca", + "en-gb", + "en-ie", + "en-jm", + "en-nz", + "en-tt", + "en-us", + "en-za", + "eo", + "es", + "es-ar", + "es-bo", + "es-cl", + "es-co", + "es-cr", + "es-do", + "es-ec", + "es-gt", + "es-hn", + "es-mx", + "es-ni", + "es-pa", + "es-pe", + "es-pr", + "es-py", + "es-sv", + "es-uy", + "es-ve", + "et", + "eu", + "fa", + "fi", + "fo", + "fr", + "fr-be", + "fr-ca", + "fr-ch", + "fr-lu", + "ga", + "gd", + "he", + "hi", + "hr", + "hu", + "id", + "is", + "it", + "it-ch", + "ja", + "ji", + "ko", + "ku", + "lt", + "lv", + "mk", + "ml", + "ms", + "mt", + "nb", + "ne", + "nl", + "nl-be", + "nn", + "no", + "pa", + "pl", + "pt", + "pt-br", + "rm", + "ro", + "ro-md", + "ru", + "ru-md", + "sb", + "sk", + "sl", + "sq", + "sr", + "sv", + "sv-fi", + "th", + "tn", + "tr", + "ts", + "ua", + "ur", + "ve", + "vi", + "xh", + "zh-cn", + "zh-hk", + "zh-sg", + "zh-tw", + "zu" + ], + "x-enum-name": "SmsTemplateLocale", + "x-enum-keys": [] + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "message": { + "type": "string", + "description": "Template message", + "x-example": "<MESSAGE>" + } + }, + "required": [ + "message" + ] + } + } + } + } + }, + "delete": { + "summary": "Reset custom SMS template", + "operationId": "projectsDeleteSmsTemplate", + "tags": [ + "projects" + ], + "description": "Reset a custom SMS template to its default value. This endpoint removes any custom message and restores the template to its original state. ", + "responses": { + "200": { + "description": "SmsTemplate", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/smsTemplate" + } + } + } + } + }, + "x-appwrite": { + "method": "deleteSmsTemplate", + "group": "templates", + "weight": 193, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/delete-sms-template.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete-sms-template.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + }, + { + "name": "type", + "description": "Template type", + "required": true, + "schema": { + "type": "string", + "x-example": "verification", + "enum": [ + "verification", + "login", + "invitation", + "mfachallenge" + ], + "x-enum-name": "SmsTemplateType", + "x-enum-keys": [] + }, + "in": "path" + }, + { + "name": "locale", + "description": "Template locale", + "required": true, + "schema": { + "type": "string", + "x-example": "af", + "enum": [ + "af", + "ar-ae", + "ar-bh", + "ar-dz", + "ar-eg", + "ar-iq", + "ar-jo", + "ar-kw", + "ar-lb", + "ar-ly", + "ar-ma", + "ar-om", + "ar-qa", + "ar-sa", + "ar-sy", + "ar-tn", + "ar-ye", + "as", + "az", + "be", + "bg", + "bh", + "bn", + "bs", + "ca", + "cs", + "cy", + "da", + "de", + "de-at", + "de-ch", + "de-li", + "de-lu", + "el", + "en", + "en-au", + "en-bz", + "en-ca", + "en-gb", + "en-ie", + "en-jm", + "en-nz", + "en-tt", + "en-us", + "en-za", + "eo", + "es", + "es-ar", + "es-bo", + "es-cl", + "es-co", + "es-cr", + "es-do", + "es-ec", + "es-gt", + "es-hn", + "es-mx", + "es-ni", + "es-pa", + "es-pe", + "es-pr", + "es-py", + "es-sv", + "es-uy", + "es-ve", + "et", + "eu", + "fa", + "fi", + "fo", + "fr", + "fr-be", + "fr-ca", + "fr-ch", + "fr-lu", + "ga", + "gd", + "he", + "hi", + "hr", + "hu", + "id", + "is", + "it", + "it-ch", + "ja", + "ji", + "ko", + "ku", + "lt", + "lv", + "mk", + "ml", + "ms", + "mt", + "nb", + "ne", + "nl", + "nl-be", + "nn", + "no", + "pa", + "pl", + "pt", + "pt-br", + "rm", + "ro", + "ro-md", + "ru", + "ru-md", + "sb", + "sk", + "sl", + "sq", + "sr", + "sv", + "sv-fi", + "th", + "tn", + "tr", + "ts", + "ua", + "ur", + "ve", + "vi", + "xh", + "zh-cn", + "zh-hk", + "zh-sg", + "zh-tw", + "zu" + ], + "x-enum-name": "SmsTemplateLocale", + "x-enum-keys": [] + }, + "in": "path" + } + ] + } + }, + "\/projects\/{projectId}\/webhooks": { + "get": { + "summary": "List webhooks", + "operationId": "projectsListWebhooks", + "tags": [ + "projects" + ], + "description": "Get a list of all webhooks belonging to the project. You can use the query params to filter your results. ", + "responses": { + "200": { + "description": "Webhooks List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/webhookList" + } + } + } + } + }, + "x-appwrite": { + "method": "listWebhooks", + "group": "webhooks", + "weight": 171, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/list-webhooks.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/list-webhooks.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + } + ] + }, + "post": { + "summary": "Create webhook", + "operationId": "projectsCreateWebhook", + "tags": [ + "projects" + ], + "description": "Create a new webhook. Use this endpoint to configure a URL that will receive events from Appwrite when specific events occur. ", + "responses": { + "201": { + "description": "Webhook", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/webhook" + } + } + } + } + }, + "x-appwrite": { + "method": "createWebhook", + "group": "webhooks", + "weight": 170, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/create-webhook.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create-webhook.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Webhook name. Max length: 128 chars.", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Enable or disable a webhook.", + "x-example": false + }, + "events": { + "type": "array", + "description": "Events list. Maximum of 100 events are allowed.", + "x-example": null, + "items": { + "type": "string" + } + }, + "url": { + "type": "string", + "description": "Webhook URL.", + "x-example": null + }, + "security": { + "type": "boolean", + "description": "Certificate verification, false for disabled or true for enabled.", + "x-example": false + }, + "httpUser": { + "type": "string", + "description": "Webhook HTTP user. Max length: 256 chars.", + "x-example": "<HTTP_USER>" + }, + "httpPass": { + "type": "string", + "description": "Webhook HTTP password. Max length: 256 chars.", + "x-example": "<HTTP_PASS>" + } + }, + "required": [ + "name", + "events", + "url", + "security" + ] + } + } + } + } + } + }, + "\/projects\/{projectId}\/webhooks\/{webhookId}": { + "get": { + "summary": "Get webhook", + "operationId": "projectsGetWebhook", + "tags": [ + "projects" + ], + "description": "Get a webhook by its unique ID. This endpoint returns details about a specific webhook configured for a project. ", + "responses": { + "200": { + "description": "Webhook", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/webhook" + } + } + } + } + }, + "x-appwrite": { + "method": "getWebhook", + "group": "webhooks", + "weight": 172, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/get-webhook.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get-webhook.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + }, + { + "name": "webhookId", + "description": "Webhook unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<WEBHOOK_ID>" + }, + "in": "path" + } + ] + }, + "put": { + "summary": "Update webhook", + "operationId": "projectsUpdateWebhook", + "tags": [ + "projects" + ], + "description": "Update a webhook by its unique ID. Use this endpoint to update the URL, events, or status of an existing webhook. ", + "responses": { + "200": { + "description": "Webhook", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/webhook" + } + } + } + } + }, + "x-appwrite": { + "method": "updateWebhook", + "group": "webhooks", + "weight": 173, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-webhook.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-webhook.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + }, + { + "name": "webhookId", + "description": "Webhook unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<WEBHOOK_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Webhook name. Max length: 128 chars.", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Enable or disable a webhook.", + "x-example": false + }, + "events": { + "type": "array", + "description": "Events list. Maximum of 100 events are allowed.", + "x-example": null, + "items": { + "type": "string" + } + }, + "url": { + "type": "string", + "description": "Webhook URL.", + "x-example": null + }, + "security": { + "type": "boolean", + "description": "Certificate verification, false for disabled or true for enabled.", + "x-example": false + }, + "httpUser": { + "type": "string", + "description": "Webhook HTTP user. Max length: 256 chars.", + "x-example": "<HTTP_USER>" + }, + "httpPass": { + "type": "string", + "description": "Webhook HTTP password. Max length: 256 chars.", + "x-example": "<HTTP_PASS>" + } + }, + "required": [ + "name", + "events", + "url", + "security" + ] + } + } + } + } + }, + "delete": { + "summary": "Delete webhook", + "operationId": "projectsDeleteWebhook", + "tags": [ + "projects" + ], + "description": "Delete a webhook by its unique ID. Once deleted, the webhook will no longer receive project events. ", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteWebhook", + "group": "webhooks", + "weight": 175, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/delete-webhook.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete-webhook.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + }, + { + "name": "webhookId", + "description": "Webhook unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<WEBHOOK_ID>" + }, + "in": "path" + } + ] + } + }, + "\/projects\/{projectId}\/webhooks\/{webhookId}\/signature": { + "patch": { + "summary": "Update webhook signature key", + "operationId": "projectsUpdateWebhookSignature", + "tags": [ + "projects" + ], + "description": "Update the webhook signature key. This endpoint can be used to regenerate the signature key used to sign and validate payload deliveries for a specific webhook. ", + "responses": { + "200": { + "description": "Webhook", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/webhook" + } + } + } + } + }, + "x-appwrite": { + "method": "updateWebhookSignature", + "group": "webhooks", + "weight": 174, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-webhook-signature.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-webhook-signature.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROJECT_ID>" + }, + "in": "path" + }, + { + "name": "webhookId", + "description": "Webhook unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<WEBHOOK_ID>" + }, + "in": "path" + } + ] + } + }, + "\/proxy\/rules": { + "get": { + "summary": "List rules", + "operationId": "proxyListRules", + "tags": [ + "proxy" + ], + "description": "Get a list of all the proxy rules. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Rule List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/proxyRuleList" + } + } + } + } + }, + "x-appwrite": { + "method": "listRules", + "group": null, + "weight": 316, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "proxy\/list-rules.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/proxy\/list-rules.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "rules.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/databases#querying-documents). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: domain, resourceType, resourceId, url", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create rule", + "operationId": "proxyCreateRule", + "tags": [ + "proxy" + ], + "description": "Create a new proxy rule.", + "responses": { + "201": { + "description": "Rule", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/proxyRule" + } + } + } + } + }, + "x-appwrite": { + "method": "createRule", + "group": null, + "weight": 315, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "proxy\/create-rule.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/proxy\/create-rule.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "rules.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "domain": { + "type": "string", + "description": "Domain name.", + "x-example": null + }, + "resourceType": { + "type": "string", + "description": "Action definition for the rule. Possible values are \"api\", \"function\"", + "x-example": "api", + "enum": [ + "api", + "function" + ], + "x-enum-name": null, + "x-enum-keys": [] + }, + "resourceId": { + "type": "string", + "description": "ID of resource for the action type. If resourceType is \"api\", leave empty. If resourceType is \"function\", provide ID of the function.", + "x-example": "<RESOURCE_ID>" + } + }, + "required": [ + "domain", + "resourceType" + ] + } + } + } + } + } + }, + "\/proxy\/rules\/{ruleId}": { + "get": { + "summary": "Get rule", + "operationId": "proxyGetRule", + "tags": [ + "proxy" + ], + "description": "Get a proxy rule by its unique ID.", + "responses": { + "200": { + "description": "Rule", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/proxyRule" + } + } + } + } + }, + "x-appwrite": { + "method": "getRule", + "group": null, + "weight": 317, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "proxy\/get-rule.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/proxy\/get-rule.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "rules.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "ruleId", + "description": "Rule ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<RULE_ID>" + }, + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete rule", + "operationId": "proxyDeleteRule", + "tags": [ + "proxy" + ], + "description": "Delete a proxy rule by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteRule", + "group": null, + "weight": 318, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "proxy\/delete-rule.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/proxy\/delete-rule.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "rules.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "ruleId", + "description": "Rule ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<RULE_ID>" + }, + "in": "path" + } + ] + } + }, + "\/proxy\/rules\/{ruleId}\/verification": { + "patch": { + "summary": "Update rule verification status", + "operationId": "proxyUpdateRuleVerification", + "tags": [ + "proxy" + ], + "description": "Retry getting verification process of a proxy rule. This endpoint triggers domain verification by checking DNS records (CNAME) against the configured target domain. If verification is successful, a TLS certificate will be automatically provisioned for the domain.", + "responses": { + "200": { + "description": "Rule", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/proxyRule" + } + } + } + } + }, + "x-appwrite": { + "method": "updateRuleVerification", + "group": null, + "weight": 319, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "proxy\/update-rule-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/proxy\/update-rule-verification.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "rules.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "ruleId", + "description": "Rule ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<RULE_ID>" + }, + "in": "path" + } + ] + } + }, + "\/storage\/buckets": { + "get": { + "summary": "List buckets", + "operationId": "storageListBuckets", + "tags": [ + "storage" + ], + "description": "Get a list of all the storage buckets. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Buckets List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/bucketList" + } + } + } + } + }, + "x-appwrite": { + "method": "listBuckets", + "group": "buckets", + "weight": 202, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/list-buckets.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-buckets.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "buckets.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: enabled, name, fileSecurity, maximumFileSize, encryption, antivirus", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create bucket", + "operationId": "storageCreateBucket", + "tags": [ + "storage" + ], + "description": "Create a new storage bucket.", + "responses": { + "201": { + "description": "Bucket", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/bucket" + } + } + } + } + }, + "x-appwrite": { + "method": "createBucket", + "group": "buckets", + "weight": 201, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/create-bucket.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-bucket.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "buckets.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "bucketId": { + "type": "string", + "description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<BUCKET_ID>" + }, + "name": { + "type": "string", + "description": "Bucket name", + "x-example": "<NAME>" + }, + "permissions": { + "type": "array", + "description": "An array of permission strings. By default, no user is granted with any permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + }, + "fileSecurity": { + "type": "boolean", + "description": "Enables configuring permissions for individual file. A user needs one of file or bucket level permissions to access a file. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": false + }, + "enabled": { + "type": "boolean", + "description": "Is bucket enabled? When set to 'disabled', users cannot access the files in this bucket but Server SDKs with and API key can still access the bucket. No files are lost when this is toggled.", + "x-example": false + }, + "maximumFileSize": { + "type": "integer", + "description": "Maximum file size allowed in bytes. Maximum allowed value is 30MB.", + "x-example": 1 + }, + "allowedFileExtensions": { + "type": "array", + "description": "Allowed file extensions. Maximum of 100 extensions are allowed, each 64 characters long.", + "x-example": null, + "items": { + "type": "string" + } + }, + "compression": { + "type": "string", + "description": "Compression algorithm choosen for compression. Can be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd), For file size above 20MB compression is skipped even if it's enabled", + "x-example": "none", + "enum": [ + "none", + "gzip", + "zstd" + ], + "x-enum-name": null, + "x-enum-keys": [] + }, + "encryption": { + "type": "boolean", + "description": "Is encryption enabled? For file size above 20MB encryption is skipped even if it's enabled", + "x-example": false + }, + "antivirus": { + "type": "boolean", + "description": "Is virus scanning enabled? For file size above 20MB AntiVirus scanning is skipped even if it's enabled", + "x-example": false + } + }, + "required": [ + "bucketId", + "name" + ] + } + } + } + } + } + }, + "\/storage\/buckets\/{bucketId}": { + "get": { + "summary": "Get bucket", + "operationId": "storageGetBucket", + "tags": [ + "storage" + ], + "description": "Get a storage bucket by its unique ID. This endpoint response returns a JSON object with the storage bucket metadata.", + "responses": { + "200": { + "description": "Bucket", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/bucket" + } + } + } + } + }, + "x-appwrite": { + "method": "getBucket", + "group": "buckets", + "weight": 203, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/get-bucket.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-bucket.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "buckets.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Bucket unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<BUCKET_ID>" + }, + "in": "path" + } + ] + }, + "put": { + "summary": "Update bucket", + "operationId": "storageUpdateBucket", + "tags": [ + "storage" + ], + "description": "Update a storage bucket by its unique ID.", + "responses": { + "200": { + "description": "Bucket", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/bucket" + } + } + } + } + }, + "x-appwrite": { + "method": "updateBucket", + "group": "buckets", + "weight": 204, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/update-bucket.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-bucket.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "buckets.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Bucket unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<BUCKET_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Bucket name", + "x-example": "<NAME>" + }, + "permissions": { + "type": "array", + "description": "An array of permission strings. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + }, + "fileSecurity": { + "type": "boolean", + "description": "Enables configuring permissions for individual file. A user needs one of file or bucket level permissions to access a file. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": false + }, + "enabled": { + "type": "boolean", + "description": "Is bucket enabled? When set to 'disabled', users cannot access the files in this bucket but Server SDKs with and API key can still access the bucket. No files are lost when this is toggled.", + "x-example": false + }, + "maximumFileSize": { + "type": "integer", + "description": "Maximum file size allowed in bytes. Maximum allowed value is 30MB.", + "x-example": 1 + }, + "allowedFileExtensions": { + "type": "array", + "description": "Allowed file extensions. Maximum of 100 extensions are allowed, each 64 characters long.", + "x-example": null, + "items": { + "type": "string" + } + }, + "compression": { + "type": "string", + "description": "Compression algorithm choosen for compression. Can be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd), For file size above 20MB compression is skipped even if it's enabled", + "x-example": "none", + "enum": [ + "none", + "gzip", + "zstd" + ], + "x-enum-name": null, + "x-enum-keys": [] + }, + "encryption": { + "type": "boolean", + "description": "Is encryption enabled? For file size above 20MB encryption is skipped even if it's enabled", + "x-example": false + }, + "antivirus": { + "type": "boolean", + "description": "Is virus scanning enabled? For file size above 20MB AntiVirus scanning is skipped even if it's enabled", + "x-example": false + } + }, + "required": [ + "name" + ] + } + } + } + } + }, + "delete": { + "summary": "Delete bucket", + "operationId": "storageDeleteBucket", + "tags": [ + "storage" + ], + "description": "Delete a storage bucket by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteBucket", + "group": "buckets", + "weight": 205, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/delete-bucket.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-bucket.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "buckets.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Bucket unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<BUCKET_ID>" + }, + "in": "path" + } + ] + } + }, + "\/storage\/buckets\/{bucketId}\/files": { + "get": { + "summary": "List files", + "operationId": "storageListFiles", + "tags": [ + "storage" + ], + "description": "Get a list of all the user files. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Files List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/fileList" + } + } + } + } + }, + "x-appwrite": { + "method": "listFiles", + "group": "files", + "weight": 207, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/list-files.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-files.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "schema": { + "type": "string", + "x-example": "<BUCKET_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, signature, mimeType, sizeOriginal, chunksTotal, chunksUploaded", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create file", + "operationId": "storageCreateFile", + "tags": [ + "storage" + ], + "description": "Create a new file. Before using this route, you should create a new bucket resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/storage#storageCreateBucket) API or directly from your Appwrite console.\n\nLarger files should be uploaded using multiple requests with the [content-range](https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTTP\/Headers\/Content-Range) header to send a partial request with a maximum supported chunk of `5MB`. The `content-range` header values should always be in bytes.\n\nWhen the first request is sent, the server will return the **File** object, and the subsequent part request must include the file's **id** in `x-appwrite-id` header to allow the server to know that the partial upload is for the existing file and not for a new one.\n\nIf you're creating a new file using one of the Appwrite SDKs, all the chunking logic will be managed by the SDK internally.\n", + "responses": { + "201": { + "description": "File", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/file" + } + } + } + } + }, + "x-appwrite": { + "method": "createFile", + "group": "files", + "weight": 206, + "cookies": false, + "type": "upload", + "deprecated": false, + "demo": "storage\/create-file.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-file.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId},chunkId:{chunkId}", + "scope": "files.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "schema": { + "type": "string", + "x-example": "<BUCKET_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "multipart\/form-data": { + "schema": { + "type": "object", + "properties": { + "fileId": { + "type": "string", + "description": "File ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<FILE_ID>", + "x-upload-id": true + }, + "file": { + "type": "string", + "description": "Binary file. Appwrite SDKs provide helpers to handle file input. [Learn about file input](https:\/\/appwrite.io\/docs\/products\/storage\/upload-download#input-file).", + "x-example": null + }, + "permissions": { + "type": "array", + "description": "An array of permission strings. By default, only the current user is granted all permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + } + }, + "required": [ + "fileId", + "file" + ] + } + } + } + } + } + }, + "\/storage\/buckets\/{bucketId}\/files\/{fileId}": { + "get": { + "summary": "Get file", + "operationId": "storageGetFile", + "tags": [ + "storage" + ], + "description": "Get a file by its unique ID. This endpoint response returns a JSON object with the file metadata.", + "responses": { + "200": { + "description": "File", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/file" + } + } + } + } + }, + "x-appwrite": { + "method": "getFile", + "group": "files", + "weight": 208, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/get-file.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "schema": { + "type": "string", + "x-example": "<BUCKET_ID>" + }, + "in": "path" + }, + { + "name": "fileId", + "description": "File ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FILE_ID>" + }, + "in": "path" + } + ] + }, + "put": { + "summary": "Update file", + "operationId": "storageUpdateFile", + "tags": [ + "storage" + ], + "description": "Update a file by its unique ID. Only users with write permissions have access to update this resource.", + "responses": { + "200": { + "description": "File", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/file" + } + } + } + } + }, + "x-appwrite": { + "method": "updateFile", + "group": "files", + "weight": 213, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/update-file.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-file.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", + "scope": "files.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "schema": { + "type": "string", + "x-example": "<BUCKET_ID>" + }, + "in": "path" + }, + { + "name": "fileId", + "description": "File unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FILE_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the file", + "x-example": "<NAME>" + }, + "permissions": { + "type": "array", + "description": "An array of permission string. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete file", + "operationId": "storageDeleteFile", + "tags": [ + "storage" + ], + "description": "Delete a file by its unique ID. Only users with write permissions have access to delete this resource.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteFile", + "group": "files", + "weight": 214, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/delete-file.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-file.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", + "scope": "files.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "schema": { + "type": "string", + "x-example": "<BUCKET_ID>" + }, + "in": "path" + }, + { + "name": "fileId", + "description": "File ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FILE_ID>" + }, + "in": "path" + } + ] + } + }, + "\/storage\/buckets\/{bucketId}\/files\/{fileId}\/download": { + "get": { + "summary": "Get file for download", + "operationId": "storageGetFileDownload", + "tags": [ + "storage" + ], + "description": "Get a file content by its unique ID. The endpoint response return with a 'Content-Disposition: attachment' header that tells the browser to start downloading the file to user downloads directory.", + "responses": { + "200": { + "description": "File" + } + }, + "x-appwrite": { + "method": "getFileDownload", + "group": "files", + "weight": 210, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "storage\/get-file-download.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-download.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "schema": { + "type": "string", + "x-example": "<BUCKET_ID>" + }, + "in": "path" + }, + { + "name": "fileId", + "description": "File ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FILE_ID>" + }, + "in": "path" + } + ] + } + }, + "\/storage\/buckets\/{bucketId}\/files\/{fileId}\/preview": { + "get": { + "summary": "Get file preview", + "operationId": "storageGetFilePreview", + "tags": [ + "storage" + ], + "description": "Get a file preview image. Currently, this method supports preview for image files (jpg, png, and gif), other supported formats, like pdf, docs, slides, and spreadsheets, will return the file icon image. You can also pass query string arguments for cutting and resizing your preview image. Preview is supported only for image files smaller than 10MB.", + "responses": { + "200": { + "description": "Image" + } + }, + "x-appwrite": { + "method": "getFilePreview", + "group": "files", + "weight": 209, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "storage\/get-file-preview.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-preview.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "schema": { + "type": "string", + "x-example": "<BUCKET_ID>" + }, + "in": "path" + }, + { + "name": "fileId", + "description": "File ID", + "required": true, + "schema": { + "type": "string", + "x-example": "<FILE_ID>" + }, + "in": "path" + }, + { + "name": "width", + "description": "Resize preview image width, Pass an integer between 0 to 4000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 0 + }, + "in": "query" + }, + { + "name": "height", + "description": "Resize preview image height, Pass an integer between 0 to 4000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 0 + }, + "in": "query" + }, + { + "name": "gravity", + "description": "Image crop gravity. Can be one of center,top-left,top,top-right,left,right,bottom-left,bottom,bottom-right", + "required": false, + "schema": { + "type": "string", + "x-example": "center", + "enum": [ + "center", + "top-left", + "top", + "top-right", + "left", + "right", + "bottom-left", + "bottom", + "bottom-right" + ], + "x-enum-name": "ImageGravity", + "x-enum-keys": [], + "default": "center" + }, + "in": "query" + }, + { + "name": "quality", + "description": "Preview image quality. Pass an integer between 0 to 100. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100 + }, + "in": "query" + }, + { + "name": "borderWidth", + "description": "Preview image border in pixels. Pass an integer between 0 to 100. Defaults to 0.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 0 + }, + "in": "query" + }, + { + "name": "borderColor", + "description": "Preview image border color. Use a valid HEX color, no # is needed for prefix.", + "required": false, + "schema": { + "type": "string", + "default": "" + }, + "in": "query" + }, + { + "name": "borderRadius", + "description": "Preview image border radius in pixels. Pass an integer between 0 to 4000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 0 + }, + "in": "query" + }, + { + "name": "opacity", + "description": "Preview image opacity. Only works with images having an alpha channel (like png). Pass a number between 0 to 1.", + "required": false, + "schema": { + "type": "number", + "format": "float", + "x-example": 0, + "default": 1 + }, + "in": "query" + }, + { + "name": "rotation", + "description": "Preview image rotation in degrees. Pass an integer between -360 and 360.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": -360, + "default": 0 + }, + "in": "query" + }, + { + "name": "background", + "description": "Preview image background color. Only works with transparent images (png). Use a valid HEX color, no # is needed for prefix.", + "required": false, + "schema": { + "type": "string", + "default": "" + }, + "in": "query" + }, + { + "name": "output", + "description": "Output format type (jpeg, jpg, png, gif and webp).", + "required": false, + "schema": { + "type": "string", + "x-example": "jpg", + "enum": [ + "jpg", + "jpeg", + "gif", + "png", + "webp", + "heic", + "avif" + ], + "x-enum-name": "ImageFormat", + "x-enum-keys": [], + "default": "" + }, + "in": "query" + } + ] + } + }, + "\/storage\/buckets\/{bucketId}\/files\/{fileId}\/view": { + "get": { + "summary": "Get file for view", + "operationId": "storageGetFileView", + "tags": [ + "storage" + ], + "description": "Get a file content by its unique ID. This endpoint is similar to the download method but returns with no 'Content-Disposition: attachment' header.", + "responses": { + "200": { + "description": "File" + } + }, + "x-appwrite": { + "method": "getFileView", + "group": "files", + "weight": 211, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "storage\/get-file-view.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-view.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "schema": { + "type": "string", + "x-example": "<BUCKET_ID>" + }, + "in": "path" + }, + { + "name": "fileId", + "description": "File ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FILE_ID>" + }, + "in": "path" + } + ] + } + }, + "\/storage\/usage": { + "get": { + "summary": "Get storage usage stats", + "operationId": "storageGetUsage", + "tags": [ + "storage" + ], + "description": "Get usage metrics and statistics for all buckets in the project. You can view the total number of buckets, files, storage usage. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days.\n", + "responses": { + "200": { + "description": "StorageUsage", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/usageStorage" + } + } + } + } + }, + "x-appwrite": { + "method": "getUsage", + "group": null, + "weight": 215, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/get-usage.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-usage.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "range", + "description": "Date range.", + "required": false, + "schema": { + "type": "string", + "x-example": "24h", + "enum": [ + "24h", + "30d", + "90d" + ], + "x-enum-name": "StorageUsageRange", + "x-enum-keys": [ + "Twenty Four Hours", + "Thirty Days", + "Ninety Days" + ], + "default": "30d" + }, + "in": "query" + } + ] + } + }, + "\/storage\/{bucketId}\/usage": { + "get": { + "summary": "Get bucket usage stats", + "operationId": "storageGetBucketUsage", + "tags": [ + "storage" + ], + "description": "Get usage metrics and statistics a specific bucket in the project. You can view the total number of files, storage usage. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days.\n", + "responses": { + "200": { + "description": "UsageBuckets", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/usageBuckets" + } + } + } + } + }, + "x-appwrite": { + "method": "getBucketUsage", + "group": null, + "weight": 216, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/get-bucket-usage.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-bucket-usage.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Bucket ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<BUCKET_ID>" + }, + "in": "path" + }, + { + "name": "range", + "description": "Date range.", + "required": false, + "schema": { + "type": "string", + "x-example": "24h", + "enum": [ + "24h", + "30d", + "90d" + ], + "x-enum-name": "StorageUsageRange", + "x-enum-keys": [ + "Twenty Four Hours", + "Thirty Days", + "Ninety Days" + ], + "default": "30d" + }, + "in": "query" + } + ] + } + }, + "\/teams": { + "get": { + "summary": "List teams", + "operationId": "teamsList", + "tags": [ + "teams" + ], + "description": "Get a list of all the teams in which the current user is a member. You can use the parameters to filter your results.", + "responses": { + "200": { + "description": "Teams List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/teamList" + } + } + } + } + }, + "x-appwrite": { + "method": "list", + "group": "teams", + "weight": 218, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/list.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-teams.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, total, billingPlan", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create team", + "operationId": "teamsCreate", + "tags": [ + "teams" + ], + "description": "Create a new team. The user who creates the team will automatically be assigned as the owner of the team. Only the users with the owner role can invite new members, add new owners and delete or update the team.", + "responses": { + "201": { + "description": "Team", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/team" + } + } + } + } + }, + "x-appwrite": { + "method": "create", + "group": "teams", + "weight": 217, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/create.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "teamId": { + "type": "string", + "description": "Team ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<TEAM_ID>" + }, + "name": { + "type": "string", + "description": "Team name. Max length: 128 chars.", + "x-example": "<NAME>" + }, + "roles": { + "type": "array", + "description": "Array of strings. Use this param to set the roles in the team for the user who created it. The default role is **owner**. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.", + "x-example": null, + "items": { + "type": "string" + } + } + }, + "required": [ + "teamId", + "name" + ] + } + } + } + } + } + }, + "\/teams\/{teamId}": { + "get": { + "summary": "Get team", + "operationId": "teamsGet", + "tags": [ + "teams" + ], + "description": "Get a team by its ID. All team members have read access for this resource.", + "responses": { + "200": { + "description": "Team", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/team" + } + } + } + } + }, + "x-appwrite": { + "method": "get", + "group": "teams", + "weight": 219, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TEAM_ID>" + }, + "in": "path" + } + ] + }, + "put": { + "summary": "Update name", + "operationId": "teamsUpdateName", + "tags": [ + "teams" + ], + "description": "Update the team's name by its unique ID.", + "responses": { + "200": { + "description": "Team", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/team" + } + } + } + } + }, + "x-appwrite": { + "method": "updateName", + "group": "teams", + "weight": 221, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/update-name.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-name.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TEAM_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "New team name. Max length: 128 chars.", + "x-example": "<NAME>" + } + }, + "required": [ + "name" + ] + } + } + } + } + }, + "delete": { + "summary": "Delete team", + "operationId": "teamsDelete", + "tags": [ + "teams" + ], + "description": "Delete a team using its ID. Only team members with the owner role can delete the team.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "delete", + "group": "teams", + "weight": 223, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/delete.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TEAM_ID>" + }, + "in": "path" + } + ] + } + }, + "\/teams\/{teamId}\/logs": { + "get": { + "summary": "List team logs", + "operationId": "teamsListLogs", + "tags": [ + "teams" + ], + "description": "Get the team activity logs list by its unique ID.", + "responses": { + "200": { + "description": "Logs List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/logList" + } + } + } + } + }, + "x-appwrite": { + "method": "listLogs", + "group": "logs", + "weight": 230, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/list-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TEAM_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + } + }, + "\/teams\/{teamId}\/memberships": { + "get": { + "summary": "List team memberships", + "operationId": "teamsListMemberships", + "tags": [ + "teams" + ], + "description": "Use this endpoint to list a team's members using the team's ID. All team members have read access to this endpoint. Hide sensitive attributes from the response by toggling membership privacy in the Console.", + "responses": { + "200": { + "description": "Memberships List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/membershipList" + } + } + } + } + }, + "x-appwrite": { + "method": "listMemberships", + "group": "memberships", + "weight": 225, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/list-memberships.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-team-members.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TEAM_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, teamId, invited, joined, confirm", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create team membership", + "operationId": "teamsCreateMembership", + "tags": [ + "teams" + ], + "description": "Invite a new member to join your team. Provide an ID for existing users, or invite unregistered users using an email or phone number. If initiated from a Client SDK, Appwrite will send an email or sms with a link to join the team to the invited user, and an account will be created for them if one doesn't exist. If initiated from a Server SDK, the new member will be added automatically to the team.\n\nYou only need to provide one of a user ID, email, or phone number. Appwrite will prioritize accepting the user ID > email > phone number if you provide more than one of these parameters.\n\nUse the `url` parameter to redirect the user from the invitation email to your app. After the user is redirected, use the [Update Team Membership Status](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/teams#updateMembershipStatus) endpoint to allow the user to accept the invitation to the team. \n\nPlease note that to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md) Appwrite will accept the only redirect URLs under the domains you have added as a platform on the Appwrite Console.\n", + "responses": { + "201": { + "description": "Membership", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/membership" + } + } + } + } + }, + "x-appwrite": { + "method": "createMembership", + "group": "memberships", + "weight": 224, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/create-membership.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team-membership.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TEAM_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "email": { + "type": "string", + "description": "Email of the new team member.", + "x-example": "email@example.com" + }, + "userId": { + "type": "string", + "description": "ID of the user to be added to a team.", + "x-example": "<USER_ID>" + }, + "phone": { + "type": "string", + "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "x-example": "+12065550100" + }, + "roles": { + "type": "array", + "description": "Array of strings. Use this param to set the user roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.", + "x-example": null, + "items": { + "type": "string" + } + }, + "url": { + "type": "string", + "description": "URL to redirect the user back to your app from the invitation email. This parameter is not required when an API key is supplied. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "x-example": "https:\/\/example.com" + }, + "name": { + "type": "string", + "description": "Name of the new team member. Max length: 128 chars.", + "x-example": "<NAME>" + } + }, + "required": [ + "roles" + ] + } + } + } + } + } + }, + "\/teams\/{teamId}\/memberships\/{membershipId}": { + "get": { + "summary": "Get team membership", + "operationId": "teamsGetMembership", + "tags": [ + "teams" + ], + "description": "Get a team member by the membership unique id. All team members have read access for this resource. Hide sensitive attributes from the response by toggling membership privacy in the Console.", + "responses": { + "200": { + "description": "Membership", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/membership" + } + } + } + } + }, + "x-appwrite": { + "method": "getMembership", + "group": "memberships", + "weight": 226, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/get-membership.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-member.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TEAM_ID>" + }, + "in": "path" + }, + { + "name": "membershipId", + "description": "Membership ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<MEMBERSHIP_ID>" + }, + "in": "path" + } + ] + }, + "patch": { + "summary": "Update membership", + "operationId": "teamsUpdateMembership", + "tags": [ + "teams" + ], + "description": "Modify the roles of a team member. Only team members with the owner role have access to this endpoint. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions).\n", + "responses": { + "200": { + "description": "Membership", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/membership" + } + } + } + } + }, + "x-appwrite": { + "method": "updateMembership", + "group": "memberships", + "weight": 227, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/update-membership.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TEAM_ID>" + }, + "in": "path" + }, + { + "name": "membershipId", + "description": "Membership ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<MEMBERSHIP_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "roles": { + "type": "array", + "description": "An array of strings. Use this param to set the user's roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.", + "x-example": null, + "items": { + "type": "string" + } + } + }, + "required": [ + "roles" + ] + } + } + } + } + }, + "delete": { + "summary": "Delete team membership", + "operationId": "teamsDeleteMembership", + "tags": [ + "teams" + ], + "description": "This endpoint allows a user to leave a team or for a team owner to delete the membership of any other team member. You can also use this endpoint to delete a user membership even if it is not accepted.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteMembership", + "group": "memberships", + "weight": 229, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/delete-membership.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team-membership.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TEAM_ID>" + }, + "in": "path" + }, + { + "name": "membershipId", + "description": "Membership ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<MEMBERSHIP_ID>" + }, + "in": "path" + } + ] + } + }, + "\/teams\/{teamId}\/memberships\/{membershipId}\/status": { + "patch": { + "summary": "Update team membership status", + "operationId": "teamsUpdateMembershipStatus", + "tags": [ + "teams" + ], + "description": "Use this endpoint to allow a user to accept an invitation to join a team after being redirected back to your app from the invitation email received by the user.\n\nIf the request is successful, a session for the user is automatically created.\n", + "responses": { + "200": { + "description": "Membership", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/membership" + } + } + } + } + }, + "x-appwrite": { + "method": "updateMembershipStatus", + "group": "memberships", + "weight": 228, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/update-membership-status.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership-status.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "public", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TEAM_ID>" + }, + "in": "path" + }, + { + "name": "membershipId", + "description": "Membership ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<MEMBERSHIP_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Secret key.", + "x-example": "<SECRET>" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + } + } + } + }, + "\/teams\/{teamId}\/prefs": { + "get": { + "summary": "Get team preferences", + "operationId": "teamsGetPrefs", + "tags": [ + "teams" + ], + "description": "Get the team's shared preferences by its unique ID. If a preference doesn't need to be shared by all team members, prefer storing them in [user preferences](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#getPrefs).", + "responses": { + "200": { + "description": "Preferences", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/preferences" + } + } + } + } + }, + "x-appwrite": { + "method": "getPrefs", + "group": "teams", + "weight": 220, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/get-prefs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-prefs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.read", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TEAM_ID>" + }, + "in": "path" + } + ] + }, + "put": { + "summary": "Update preferences", + "operationId": "teamsUpdatePrefs", + "tags": [ + "teams" + ], + "description": "Update the team's preferences by its unique ID. The object you pass is stored as is and replaces any previous value. The maximum allowed prefs size is 64kB and throws an error if exceeded.", + "responses": { + "200": { + "description": "Preferences", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/preferences" + } + } + } + } + }, + "x-appwrite": { + "method": "updatePrefs", + "group": "teams", + "weight": 222, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/update-prefs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-prefs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TEAM_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "prefs": { + "type": "object", + "description": "Prefs key-value JSON object.", + "x-example": "{}" + } + }, + "required": [ + "prefs" + ] + } + } + } + } + } + }, + "\/users": { + "get": { + "summary": "List users", + "operationId": "usersList", + "tags": [ + "users" + ], + "description": "Get a list of all the project's users. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Users List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/userList" + } + } + } + } + }, + "x-appwrite": { + "method": "list", + "group": "users", + "weight": 240, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/list.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-users.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, email, phone, status, passwordUpdate, registration, emailVerification, phoneVerification, labels", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create user", + "operationId": "usersCreate", + "tags": [ + "users" + ], + "description": "Create a new user.", + "responses": { + "201": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "create", + "group": "users", + "weight": 231, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "phone": { + "type": "string", + "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "x-example": "+12065550100" + }, + "password": { + "type": "string", + "description": "Plain text user password. Must be at least 8 chars.", + "x-example": null + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "x-example": "<NAME>" + } + }, + "required": [ + "userId" + ] + } + } + } + } + } + }, + "\/users\/argon2": { + "post": { + "summary": "Create user with Argon2 password", + "operationId": "usersCreateArgon2User", + "tags": [ + "users" + ], + "description": "Create a new user. Password provided must be hashed with the [Argon2](https:\/\/en.wikipedia.org\/wiki\/Argon2) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.", + "responses": { + "201": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "createArgon2User", + "group": "users", + "weight": 234, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-argon2user.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-argon2-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password hashed using Argon2.", + "x-example": "password" + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "x-example": "<NAME>" + } + }, + "required": [ + "userId", + "email", + "password" + ] + } + } + } + } + } + }, + "\/users\/bcrypt": { + "post": { + "summary": "Create user with bcrypt password", + "operationId": "usersCreateBcryptUser", + "tags": [ + "users" + ], + "description": "Create a new user. Password provided must be hashed with the [Bcrypt](https:\/\/en.wikipedia.org\/wiki\/Bcrypt) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.", + "responses": { + "201": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "createBcryptUser", + "group": "users", + "weight": 232, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-bcrypt-user.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-bcrypt-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password hashed using Bcrypt.", + "x-example": "password" + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "x-example": "<NAME>" + } + }, + "required": [ + "userId", + "email", + "password" + ] + } + } + } + } + } + }, + "\/users\/identities": { + "get": { + "summary": "List identities", + "operationId": "usersListIdentities", + "tags": [ + "users" + ], + "description": "Get identities for all users.", + "responses": { + "200": { + "description": "Identities List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/identityList" + } + } + } + } + }, + "x-appwrite": { + "method": "listIdentities", + "group": "identities", + "weight": 248, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/list-identities.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-identities.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, provider, providerUid, providerEmail, providerAccessTokenExpiry", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + } + }, + "\/users\/identities\/{identityId}": { + "delete": { + "summary": "Delete identity", + "operationId": "usersDeleteIdentity", + "tags": [ + "users" + ], + "description": "Delete an identity by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteIdentity", + "group": "identities", + "weight": 271, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/delete-identity.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-identity.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "identityId", + "description": "Identity ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<IDENTITY_ID>" + }, + "in": "path" + } + ] + } + }, + "\/users\/md5": { + "post": { + "summary": "Create user with MD5 password", + "operationId": "usersCreateMD5User", + "tags": [ + "users" + ], + "description": "Create a new user. Password provided must be hashed with the [MD5](https:\/\/en.wikipedia.org\/wiki\/MD5) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.", + "responses": { + "201": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "createMD5User", + "group": "users", + "weight": 233, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-m-d5user.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-md5-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password hashed using MD5.", + "x-example": "password" + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "x-example": "<NAME>" + } + }, + "required": [ + "userId", + "email", + "password" + ] + } + } + } + } + } + }, + "\/users\/phpass": { + "post": { + "summary": "Create user with PHPass password", + "operationId": "usersCreatePHPassUser", + "tags": [ + "users" + ], + "description": "Create a new user. Password provided must be hashed with the [PHPass](https:\/\/www.openwall.com\/phpass\/) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.", + "responses": { + "201": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "createPHPassUser", + "group": "users", + "weight": 236, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-p-h-pass-user.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-phpass-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or pass the string `ID.unique()`to auto generate it. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password hashed using PHPass.", + "x-example": "password" + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "x-example": "<NAME>" + } + }, + "required": [ + "userId", + "email", + "password" + ] + } + } + } + } + } + }, + "\/users\/scrypt": { + "post": { + "summary": "Create user with Scrypt password", + "operationId": "usersCreateScryptUser", + "tags": [ + "users" + ], + "description": "Create a new user. Password provided must be hashed with the [Scrypt](https:\/\/github.com\/Tarsnap\/scrypt) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.", + "responses": { + "201": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "createScryptUser", + "group": "users", + "weight": 237, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-scrypt-user.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-scrypt-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password hashed using Scrypt.", + "x-example": "password" + }, + "passwordSalt": { + "type": "string", + "description": "Optional salt used to hash password.", + "x-example": "<PASSWORD_SALT>" + }, + "passwordCpu": { + "type": "integer", + "description": "Optional CPU cost used to hash password.", + "x-example": null + }, + "passwordMemory": { + "type": "integer", + "description": "Optional memory cost used to hash password.", + "x-example": null + }, + "passwordParallel": { + "type": "integer", + "description": "Optional parallelization cost used to hash password.", + "x-example": null + }, + "passwordLength": { + "type": "integer", + "description": "Optional hash length used to hash password.", + "x-example": null + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "x-example": "<NAME>" + } + }, + "required": [ + "userId", + "email", + "password", + "passwordSalt", + "passwordCpu", + "passwordMemory", + "passwordParallel", + "passwordLength" + ] + } + } + } + } + } + }, + "\/users\/scrypt-modified": { + "post": { + "summary": "Create user with Scrypt modified password", + "operationId": "usersCreateScryptModifiedUser", + "tags": [ + "users" + ], + "description": "Create a new user. Password provided must be hashed with the [Scrypt Modified](https:\/\/gist.github.com\/Meldiron\/eecf84a0225eccb5a378d45bb27462cc) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.", + "responses": { + "201": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "createScryptModifiedUser", + "group": "users", + "weight": 238, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-scrypt-modified-user.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-scrypt-modified-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password hashed using Scrypt Modified.", + "x-example": "password" + }, + "passwordSalt": { + "type": "string", + "description": "Salt used to hash password.", + "x-example": "<PASSWORD_SALT>" + }, + "passwordSaltSeparator": { + "type": "string", + "description": "Salt separator used to hash password.", + "x-example": "<PASSWORD_SALT_SEPARATOR>" + }, + "passwordSignerKey": { + "type": "string", + "description": "Signer key used to hash password.", + "x-example": "<PASSWORD_SIGNER_KEY>" + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "x-example": "<NAME>" + } + }, + "required": [ + "userId", + "email", + "password", + "passwordSalt", + "passwordSaltSeparator", + "passwordSignerKey" + ] + } + } + } + } + } + }, + "\/users\/sha": { + "post": { + "summary": "Create user with SHA password", + "operationId": "usersCreateSHAUser", + "tags": [ + "users" + ], + "description": "Create a new user. Password provided must be hashed with the [SHA](https:\/\/en.wikipedia.org\/wiki\/Secure_Hash_Algorithm) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.", + "responses": { + "201": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "createSHAUser", + "group": "users", + "weight": 235, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-s-h-a-user.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-sha-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password hashed using SHA.", + "x-example": "password" + }, + "passwordVersion": { + "type": "string", + "description": "Optional SHA version used to hash password. Allowed values are: 'sha1', 'sha224', 'sha256', 'sha384', 'sha512\/224', 'sha512\/256', 'sha512', 'sha3-224', 'sha3-256', 'sha3-384', 'sha3-512'", + "x-example": "sha1", + "enum": [ + "sha1", + "sha224", + "sha256", + "sha384", + "sha512\/224", + "sha512\/256", + "sha512", + "sha3-224", + "sha3-256", + "sha3-384", + "sha3-512" + ], + "x-enum-name": "PasswordHash", + "x-enum-keys": [] + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "x-example": "<NAME>" + } + }, + "required": [ + "userId", + "email", + "password" + ] + } + } + } + } + } + }, + "\/users\/usage": { + "get": { + "summary": "Get users usage stats", + "operationId": "usersGetUsage", + "tags": [ + "users" + ], + "description": "Get usage metrics and statistics for all users in the project. You can view the total number of users and sessions. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days.\n", + "responses": { + "200": { + "description": "UsageUsers", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/usageUsers" + } + } + } + } + }, + "x-appwrite": { + "method": "getUsage", + "group": null, + "weight": 273, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/get-usage.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-usage.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "range", + "description": "Date range.", + "required": false, + "schema": { + "type": "string", + "x-example": "24h", + "enum": [ + "24h", + "30d", + "90d" + ], + "x-enum-name": "UserUsageRange", + "x-enum-keys": [ + "Twenty Four Hours", + "Thirty Days", + "Ninety Days" + ], + "default": "30d" + }, + "in": "query" + } + ] + } + }, + "\/users\/{userId}": { + "get": { + "summary": "Get user", + "operationId": "usersGet", + "tags": [ + "users" + ], + "description": "Get a user by its unique ID.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "get", + "group": "users", + "weight": 241, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete user", + "operationId": "usersDelete", + "tags": [ + "users" + ], + "description": "Delete a user by its unique ID, thereby releasing it's ID. Since ID is released and can be reused, all user-related resources like documents or storage files should be deleted before user deletion. If you want to keep ID reserved, use the [updateStatus](https:\/\/appwrite.io\/docs\/server\/users#usersUpdateStatus) endpoint instead.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "delete", + "group": "users", + "weight": 269, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/delete.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ] + } + }, + "\/users\/{userId}\/email": { + "patch": { + "summary": "Update email", + "operationId": "usersUpdateEmail", + "tags": [ + "users" + ], + "description": "Update the user email by its unique ID.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updateEmail", + "group": "users", + "weight": 254, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-email.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-email.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + } + }, + "required": [ + "email" + ] + } + } + } + } + } + }, + "\/users\/{userId}\/jwts": { + "post": { + "summary": "Create user JWT", + "operationId": "usersCreateJWT", + "tags": [ + "users" + ], + "description": "Use this endpoint to create a JSON Web Token for user by its unique ID. You can use the resulting JWT to authenticate on behalf of the user. The JWT secret will become invalid if the session it uses gets deleted.", + "responses": { + "201": { + "description": "JWT", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/jwt" + } + } + } + } + }, + "x-appwrite": { + "method": "createJWT", + "group": "sessions", + "weight": 272, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-j-w-t.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-user-jwt.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "sessionId": { + "type": "string", + "description": "Session ID. Use the string 'recent' to use the most recent session. Defaults to the most recent session.", + "x-example": "<SESSION_ID>" + }, + "duration": { + "type": "integer", + "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", + "x-example": 0 + } + } + } + } + } + } + } + }, + "\/users\/{userId}\/labels": { + "put": { + "summary": "Update user labels", + "operationId": "usersUpdateLabels", + "tags": [ + "users" + ], + "description": "Update the user labels by its unique ID. \n\nLabels can be used to grant access to resources. While teams are a way for user's to share access to a resource, labels can be defined by the developer to grant access without an invitation. See the [Permissions docs](https:\/\/appwrite.io\/docs\/permissions) for more info.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updateLabels", + "group": "users", + "weight": 250, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-labels.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-labels.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "labels": { + "type": "array", + "description": "Array of user labels. Replaces the previous labels. Maximum of 1000 labels are allowed, each up to 36 alphanumeric characters long.", + "x-example": null, + "items": { + "type": "string" + } + } + }, + "required": [ + "labels" + ] + } + } + } + } + } + }, + "\/users\/{userId}\/logs": { + "get": { + "summary": "List user logs", + "operationId": "usersListLogs", + "tags": [ + "users" + ], + "description": "Get the user activity logs list by its unique ID.", + "responses": { + "200": { + "description": "Logs List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/logList" + } + } + } + } + }, + "x-appwrite": { + "method": "listLogs", + "group": "logs", + "weight": 246, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/list-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + } + }, + "\/users\/{userId}\/memberships": { + "get": { + "summary": "List user memberships", + "operationId": "usersListMemberships", + "tags": [ + "users" + ], + "description": "Get the user membership list by its unique ID.", + "responses": { + "200": { + "description": "Memberships List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/membershipList" + } + } + } + } + }, + "x-appwrite": { + "method": "listMemberships", + "group": "memberships", + "weight": 245, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/list-memberships.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-memberships.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ] + } + }, + "\/users\/{userId}\/mfa": { + "patch": { + "summary": "Update MFA", + "operationId": "usersUpdateMfa", + "tags": [ + "users" + ], + "description": "Enable or disable MFA on a user account.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updateMfa", + "group": "users", + "weight": 259, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-mfa.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-mfa.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "mfa": { + "type": "boolean", + "description": "Enable or disable MFA.", + "x-example": false + } + }, + "required": [ + "mfa" + ] + } + } + } + } + } + }, + "\/users\/{userId}\/mfa\/authenticators\/{type}": { + "delete": { + "summary": "Delete authenticator", + "operationId": "usersDeleteMfaAuthenticator", + "tags": [ + "users" + ], + "description": "Delete an authenticator app.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteMfaAuthenticator", + "group": "mfa", + "weight": 264, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/delete-mfa-authenticator.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-mfa-authenticator.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + }, + { + "name": "type", + "description": "Type of authenticator.", + "required": true, + "schema": { + "type": "string", + "x-example": "totp", + "enum": [ + "totp" + ], + "x-enum-name": "AuthenticatorType", + "x-enum-keys": [] + }, + "in": "path" + } + ] + } + }, + "\/users\/{userId}\/mfa\/factors": { + "get": { + "summary": "List factors", + "operationId": "usersListMfaFactors", + "tags": [ + "users" + ], + "description": "List the factors available on the account to be used as a MFA challange.", + "responses": { + "200": { + "description": "MFAFactors", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/mfaFactors" + } + } + } + } + }, + "x-appwrite": { + "method": "listMfaFactors", + "group": "mfa", + "weight": 260, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/list-mfa-factors.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-mfa-factors.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ] + } + }, + "\/users\/{userId}\/mfa\/recovery-codes": { + "get": { + "summary": "Get MFA recovery codes", + "operationId": "usersGetMfaRecoveryCodes", + "tags": [ + "users" + ], + "description": "Get recovery codes that can be used as backup for MFA flow by User ID. Before getting codes, they must be generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method.", + "responses": { + "200": { + "description": "MFA Recovery Codes", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/mfaRecoveryCodes" + } + } + } + } + }, + "x-appwrite": { + "method": "getMfaRecoveryCodes", + "group": "mfa", + "weight": 261, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/get-mfa-recovery-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-mfa-recovery-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ] + }, + "put": { + "summary": "Update MFA recovery codes (regenerate)", + "operationId": "usersUpdateMfaRecoveryCodes", + "tags": [ + "users" + ], + "description": "Regenerate recovery codes that can be used as backup for MFA flow by User ID. Before regenerating codes, they must be first generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method.", + "responses": { + "200": { + "description": "MFA Recovery Codes", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/mfaRecoveryCodes" + } + } + } + } + }, + "x-appwrite": { + "method": "updateMfaRecoveryCodes", + "group": "mfa", + "weight": 263, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-mfa-recovery-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-mfa-recovery-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ] + }, + "patch": { + "summary": "Create MFA recovery codes", + "operationId": "usersCreateMfaRecoveryCodes", + "tags": [ + "users" + ], + "description": "Generate recovery codes used as backup for MFA flow for User ID. Recovery codes can be used as a MFA verification type in [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method by client SDK.", + "responses": { + "201": { + "description": "MFA Recovery Codes", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/mfaRecoveryCodes" + } + } + } + } + }, + "x-appwrite": { + "method": "createMfaRecoveryCodes", + "group": "mfa", + "weight": 262, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-mfa-recovery-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-mfa-recovery-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ] + } + }, + "\/users\/{userId}\/name": { + "patch": { + "summary": "Update name", + "operationId": "usersUpdateName", + "tags": [ + "users" + ], + "description": "Update the user name by its unique ID.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updateName", + "group": "users", + "weight": 252, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-name.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-name.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "x-example": "<NAME>" + } + }, + "required": [ + "name" + ] + } + } + } + } + } + }, + "\/users\/{userId}\/password": { + "patch": { + "summary": "Update password", + "operationId": "usersUpdatePassword", + "tags": [ + "users" + ], + "description": "Update the user password by its unique ID.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updatePassword", + "group": "users", + "weight": 253, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-password.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-password.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "password": { + "type": "string", + "description": "New user password. Must be at least 8 chars.", + "x-example": null + } + }, + "required": [ + "password" + ] + } + } + } + } + } + }, + "\/users\/{userId}\/phone": { + "patch": { + "summary": "Update phone", + "operationId": "usersUpdatePhone", + "tags": [ + "users" + ], + "description": "Update the user phone by its unique ID.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updatePhone", + "group": "users", + "weight": 255, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-phone.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-phone.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "number": { + "type": "string", + "description": "User phone number.", + "x-example": "+12065550100" + } + }, + "required": [ + "number" + ] + } + } + } + } + } + }, + "\/users\/{userId}\/prefs": { + "get": { + "summary": "Get user preferences", + "operationId": "usersGetPrefs", + "tags": [ + "users" + ], + "description": "Get the user preferences by its unique ID.", + "responses": { + "200": { + "description": "Preferences", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/preferences" + } + } + } + } + }, + "x-appwrite": { + "method": "getPrefs", + "group": "users", + "weight": 242, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/get-prefs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user-prefs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ] + }, + "patch": { + "summary": "Update user preferences", + "operationId": "usersUpdatePrefs", + "tags": [ + "users" + ], + "description": "Update the user preferences by its unique ID. The object you pass is stored as is, and replaces any previous value. The maximum allowed prefs size is 64kB and throws error if exceeded.", + "responses": { + "200": { + "description": "Preferences", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/preferences" + } + } + } + } + }, + "x-appwrite": { + "method": "updatePrefs", + "group": "users", + "weight": 257, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-prefs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-prefs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "prefs": { + "type": "object", + "description": "Prefs key-value JSON object.", + "x-example": "{}" + } + }, + "required": [ + "prefs" + ] + } + } + } + } + } + }, + "\/users\/{userId}\/sessions": { + "get": { + "summary": "List user sessions", + "operationId": "usersListSessions", + "tags": [ + "users" + ], + "description": "Get the user sessions list by its unique ID.", + "responses": { + "200": { + "description": "Sessions List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/sessionList" + } + } + } + } + }, + "x-appwrite": { + "method": "listSessions", + "group": "sessions", + "weight": 244, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/list-sessions.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-sessions.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ] + }, + "post": { + "summary": "Create session", + "operationId": "usersCreateSession", + "tags": [ + "users" + ], + "description": "Creates a session for a user. Returns an immediately usable session object.\n\nIf you want to generate a token for a custom authentication flow, use the [POST \/users\/{userId}\/tokens](https:\/\/appwrite.io\/docs\/server\/users#createToken) endpoint.", + "responses": { + "201": { + "description": "Session", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/session" + } + } + } + } + }, + "x-appwrite": { + "method": "createSession", + "group": "sessions", + "weight": 265, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-session.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete user sessions", + "operationId": "usersDeleteSessions", + "tags": [ + "users" + ], + "description": "Delete all user's sessions by using the user's unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteSessions", + "group": "sessions", + "weight": 268, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/delete-sessions.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-user-sessions.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ] + } + }, + "\/users\/{userId}\/sessions\/{sessionId}": { + "delete": { + "summary": "Delete user session", + "operationId": "usersDeleteSession", + "tags": [ + "users" + ], + "description": "Delete a user sessions by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteSession", + "group": "sessions", + "weight": 267, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/delete-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-user-session.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + }, + { + "name": "sessionId", + "description": "Session ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<SESSION_ID>" + }, + "in": "path" + } + ] + } + }, + "\/users\/{userId}\/status": { + "patch": { + "summary": "Update user status", + "operationId": "usersUpdateStatus", + "tags": [ + "users" + ], + "description": "Update the user status by its unique ID. Use this endpoint as an alternative to deleting a user if you want to keep user's ID reserved.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updateStatus", + "group": "users", + "weight": 249, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-status.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-status.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "status": { + "type": "boolean", + "description": "User Status. To activate the user pass `true` and to block the user pass `false`.", + "x-example": false + } + }, + "required": [ + "status" + ] + } + } + } + } + } + }, + "\/users\/{userId}\/targets": { + "get": { + "summary": "List user targets", + "operationId": "usersListTargets", + "tags": [ + "users" + ], + "description": "List the messaging targets that are associated with a user.", + "responses": { + "200": { + "description": "Target list", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/targetList" + } + } + } + } + }, + "x-appwrite": { + "method": "listTargets", + "group": "targets", + "weight": 247, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/list-targets.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-targets.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "targets.read", + "platforms": [ + "server", + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, email, phone, status, passwordUpdate, registration, emailVerification, phoneVerification, labels", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create user target", + "operationId": "usersCreateTarget", + "tags": [ + "users" + ], + "description": "Create a messaging target.", + "responses": { + "201": { + "description": "Target", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/target" + } + } + } + } + }, + "x-appwrite": { + "method": "createTarget", + "group": "targets", + "weight": 239, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-target.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-target.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "targets.write", + "platforms": [ + "server", + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "targetId": { + "type": "string", + "description": "Target ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<TARGET_ID>" + }, + "providerType": { + "type": "string", + "description": "The target provider type. Can be one of the following: `email`, `sms` or `push`.", + "x-example": "email", + "enum": [ + "email", + "sms", + "push" + ], + "x-enum-name": "MessagingProviderType", + "x-enum-keys": [] + }, + "identifier": { + "type": "string", + "description": "The target identifier (token, email, phone etc.)", + "x-example": "<IDENTIFIER>" + }, + "providerId": { + "type": "string", + "description": "Provider ID. Message will be sent to this target from the specified provider ID. If no provider ID is set the first setup provider will be used.", + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Target name. Max length: 128 chars. For example: My Awesome App Galaxy S23.", + "x-example": "<NAME>" + } + }, + "required": [ + "targetId", + "providerType", + "identifier" + ] + } + } + } + } + } + }, + "\/users\/{userId}\/targets\/{targetId}": { + "get": { + "summary": "Get user target", + "operationId": "usersGetTarget", + "tags": [ + "users" + ], + "description": "Get a user's push notification target by ID.", + "responses": { + "200": { + "description": "Target", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/target" + } + } + } + } + }, + "x-appwrite": { + "method": "getTarget", + "group": "targets", + "weight": 243, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/get-target.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user-target.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "targets.read", + "platforms": [ + "server", + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + }, + { + "name": "targetId", + "description": "Target ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TARGET_ID>" + }, + "in": "path" + } + ] + }, + "patch": { + "summary": "Update user target", + "operationId": "usersUpdateTarget", + "tags": [ + "users" + ], + "description": "Update a messaging target.", + "responses": { + "200": { + "description": "Target", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/target" + } + } + } + } + }, + "x-appwrite": { + "method": "updateTarget", + "group": "targets", + "weight": 258, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-target.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-target.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "targets.write", + "platforms": [ + "server", + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + }, + { + "name": "targetId", + "description": "Target ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TARGET_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "identifier": { + "type": "string", + "description": "The target identifier (token, email, phone etc.)", + "x-example": "<IDENTIFIER>" + }, + "providerId": { + "type": "string", + "description": "Provider ID. Message will be sent to this target from the specified provider ID. If no provider ID is set the first setup provider will be used.", + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Target name. Max length: 128 chars. For example: My Awesome App Galaxy S23.", + "x-example": "<NAME>" + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete user target", + "operationId": "usersDeleteTarget", + "tags": [ + "users" + ], + "description": "Delete a messaging target.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteTarget", + "group": "targets", + "weight": 270, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/delete-target.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-target.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "targets.write", + "platforms": [ + "server", + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + }, + { + "name": "targetId", + "description": "Target ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TARGET_ID>" + }, + "in": "path" + } + ] + } + }, + "\/users\/{userId}\/tokens": { + "post": { + "summary": "Create token", + "operationId": "usersCreateToken", + "tags": [ + "users" + ], + "description": "Returns a token with a secret key for creating a session. Use the user ID and secret and submit a request to the [PUT \/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process.\n", + "responses": { + "201": { + "description": "Token", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/token" + } + } + } + } + }, + "x-appwrite": { + "method": "createToken", + "group": "sessions", + "weight": 266, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-token.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-token.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "length": { + "type": "integer", + "description": "Token length in characters. The default length is 6 characters", + "x-example": 4 + }, + "expire": { + "type": "integer", + "description": "Token expiration period in seconds. The default expiration is 15 minutes.", + "x-example": 60 + } + } + } + } + } + } + } + }, + "\/users\/{userId}\/verification": { + "patch": { + "summary": "Update email verification", + "operationId": "usersUpdateEmailVerification", + "tags": [ + "users" + ], + "description": "Update the user email verification status by its unique ID.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updateEmailVerification", + "group": "users", + "weight": 256, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-email-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-email-verification.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "emailVerification": { + "type": "boolean", + "description": "User email verification status.", + "x-example": false + } + }, + "required": [ + "emailVerification" + ] + } + } + } + } + } + }, + "\/users\/{userId}\/verification\/phone": { + "patch": { + "summary": "Update phone verification", + "operationId": "usersUpdatePhoneVerification", + "tags": [ + "users" + ], + "description": "Update the user phone verification status by its unique ID.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updatePhoneVerification", + "group": "users", + "weight": 251, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-phone-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-phone-verification.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "phoneVerification": { + "type": "boolean", + "description": "User phone verification status.", + "x-example": false + } + }, + "required": [ + "phoneVerification" + ] + } + } + } + } + } + }, + "\/vcs\/github\/installations\/{installationId}\/providerRepositories": { + "get": { + "summary": "List repositories", + "operationId": "vcsListRepositories", + "tags": [ + "vcs" + ], + "description": "Get a list of GitHub repositories available through your installation. This endpoint returns repositories with their basic information, detected runtime environments, and latest push dates. You can optionally filter repositories using a search term. Each repository's runtime is automatically detected based on its contents and language statistics. The GitHub installation must be properly configured for this endpoint to work.", + "responses": { + "200": { + "description": "Provider Repositories List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/providerRepositoryList" + } + } + } + } + }, + "x-appwrite": { + "method": "listRepositories", + "group": "repositories", + "weight": 278, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "vcs\/list-repositories.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/list-repositories.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "vcs.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "installationId", + "description": "Installation Id", + "required": true, + "schema": { + "type": "string", + "x-example": "<INSTALLATION_ID>" + }, + "in": "path" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create repository", + "operationId": "vcsCreateRepository", + "tags": [ + "vcs" + ], + "description": "Create a new GitHub repository through your installation. This endpoint allows you to create either a public or private repository by specifying a name and visibility setting. The repository will be created under your GitHub user account or organization, depending on your installation type. The GitHub installation must be properly configured and have the necessary permissions for repository creation.", + "responses": { + "200": { + "description": "ProviderRepository", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/providerRepository" + } + } + } + } + }, + "x-appwrite": { + "method": "createRepository", + "group": "repositories", + "weight": 279, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "vcs\/create-repository.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/create-repository.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "vcs.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "installationId", + "description": "Installation Id", + "required": true, + "schema": { + "type": "string", + "x-example": "<INSTALLATION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Repository name (slug)", + "x-example": "<NAME>" + }, + "private": { + "type": "boolean", + "description": "Mark repository public or private", + "x-example": false + } + }, + "required": [ + "name", + "private" + ] + } + } + } + } + } + }, + "\/vcs\/github\/installations\/{installationId}\/providerRepositories\/{providerRepositoryId}": { + "get": { + "summary": "Get repository", + "operationId": "vcsGetRepository", + "tags": [ + "vcs" + ], + "description": "Get detailed information about a specific GitHub repository from your installation. This endpoint returns repository details including its ID, name, visibility status, organization, and latest push date. The GitHub installation must be properly configured and have access to the requested repository for this endpoint to work.", + "responses": { + "200": { + "description": "ProviderRepository", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/providerRepository" + } + } + } + } + }, + "x-appwrite": { + "method": "getRepository", + "group": "repositories", + "weight": 280, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "vcs\/get-repository.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/get-repository.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "vcs.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "installationId", + "description": "Installation Id", + "required": true, + "schema": { + "type": "string", + "x-example": "<INSTALLATION_ID>" + }, + "in": "path" + }, + { + "name": "providerRepositoryId", + "description": "Repository Id", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROVIDER_REPOSITORY_ID>" + }, + "in": "path" + } + ] + } + }, + "\/vcs\/github\/installations\/{installationId}\/providerRepositories\/{providerRepositoryId}\/branches": { + "get": { + "summary": "List repository branches", + "operationId": "vcsListRepositoryBranches", + "tags": [ + "vcs" + ], + "description": "Get a list of all branches from a GitHub repository in your installation. This endpoint returns the names of all branches in the repository and their total count. The GitHub installation must be properly configured and have access to the requested repository for this endpoint to work.\n", + "responses": { + "200": { + "description": "Branches List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/branchList" + } + } + } + } + }, + "x-appwrite": { + "method": "listRepositoryBranches", + "group": "repositories", + "weight": 281, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "vcs\/list-repository-branches.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/list-repository-branches.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "vcs.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "installationId", + "description": "Installation Id", + "required": true, + "schema": { + "type": "string", + "x-example": "<INSTALLATION_ID>" + }, + "in": "path" + }, + { + "name": "providerRepositoryId", + "description": "Repository Id", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROVIDER_REPOSITORY_ID>" + }, + "in": "path" + } + ] + } + }, + "\/vcs\/github\/installations\/{installationId}\/providerRepositories\/{providerRepositoryId}\/contents": { + "get": { + "summary": "Get files and directories of a VCS repository", + "operationId": "vcsGetRepositoryContents", + "tags": [ + "vcs" + ], + "description": "Get a list of files and directories from a GitHub repository connected to your project. This endpoint returns the contents of a specified repository path, including file names, sizes, and whether each item is a file or directory. The GitHub installation must be properly configured and the repository must be accessible through your installation for this endpoint to work.\n", + "responses": { + "200": { + "description": "VCS Content List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/vcsContentList" + } + } + } + } + }, + "x-appwrite": { + "method": "getRepositoryContents", + "group": "repositories", + "weight": 276, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "vcs\/get-repository-contents.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/get-repository-contents.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "vcs.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "installationId", + "description": "Installation Id", + "required": true, + "schema": { + "type": "string", + "x-example": "<INSTALLATION_ID>" + }, + "in": "path" + }, + { + "name": "providerRepositoryId", + "description": "Repository Id", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROVIDER_REPOSITORY_ID>" + }, + "in": "path" + }, + { + "name": "providerRootDirectory", + "description": "Path to get contents of nested directory", + "required": false, + "schema": { + "type": "string", + "x-example": "<PROVIDER_ROOT_DIRECTORY>", + "default": "" + }, + "in": "query" + } + ] + } + }, + "\/vcs\/github\/installations\/{installationId}\/providerRepositories\/{providerRepositoryId}\/detection": { + "post": { + "summary": "Create runtime settings detection", + "operationId": "vcsCreateRepositoryDetection", + "tags": [ + "vcs" + ], + "description": "Analyze a GitHub repository to automatically detect the programming language and runtime environment. This endpoint scans the repository's files and language statistics to determine the appropriate runtime settings for your function. The GitHub installation must be properly configured and the repository must be accessible through your installation for this endpoint to work.", + "responses": { + "200": { + "description": "Detection", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/detection" + } + } + } + } + }, + "x-appwrite": { + "method": "createRepositoryDetection", + "group": "repositories", + "weight": 277, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "vcs\/create-repository-detection.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/create-repository-detection.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "vcs.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "installationId", + "description": "Installation Id", + "required": true, + "schema": { + "type": "string", + "x-example": "<INSTALLATION_ID>" + }, + "in": "path" + }, + { + "name": "providerRepositoryId", + "description": "Repository Id", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROVIDER_REPOSITORY_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "providerRootDirectory": { + "type": "string", + "description": "Path to Root Directory", + "x-example": "<PROVIDER_ROOT_DIRECTORY>" + } + } + } + } + } + } + } + }, + "\/vcs\/github\/installations\/{installationId}\/repositories\/{repositoryId}": { + "patch": { + "summary": "Update external deployment (authorize)", + "operationId": "vcsUpdateExternalDeployments", + "tags": [ + "vcs" + ], + "description": "Authorize and create deployments for a GitHub pull request in your project. This endpoint allows external contributions by creating deployments from pull requests, enabling preview environments for code review. The pull request must be open and not previously authorized. The GitHub installation must be properly configured and have access to both the repository and pull request for this endpoint to work.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "updateExternalDeployments", + "group": "repositories", + "weight": 286, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "vcs\/update-external-deployments.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/update-external-deployments.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "vcs.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "installationId", + "description": "Installation Id", + "required": true, + "schema": { + "type": "string", + "x-example": "<INSTALLATION_ID>" + }, + "in": "path" + }, + { + "name": "repositoryId", + "description": "VCS Repository Id", + "required": true, + "schema": { + "type": "string", + "x-example": "<REPOSITORY_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "providerPullRequestId": { + "type": "string", + "description": "GitHub Pull Request Id", + "x-example": "<PROVIDER_PULL_REQUEST_ID>" + } + }, + "required": [ + "providerPullRequestId" + ] + } + } + } + } + } + }, + "\/vcs\/installations": { + "get": { + "summary": "List installations", + "operationId": "vcsListInstallations", + "tags": [ + "vcs" + ], + "description": "List all VCS installations configured for the current project. This endpoint returns a list of installations including their provider, organization, and other configuration details.\n", + "responses": { + "200": { + "description": "Installations List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/installationList" + } + } + } + } + }, + "x-appwrite": { + "method": "listInstallations", + "group": "installations", + "weight": 283, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "vcs\/list-installations.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/list-installations.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "vcs.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: provider, organization", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + } + }, + "\/vcs\/installations\/{installationId}": { + "get": { + "summary": "Get installation", + "operationId": "vcsGetInstallation", + "tags": [ + "vcs" + ], + "description": "Get a VCS installation by its unique ID. This endpoint returns the installation's details including its provider, organization, and configuration. ", + "responses": { + "200": { + "description": "Installation", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/installation" + } + } + } + } + }, + "x-appwrite": { + "method": "getInstallation", + "group": "installations", + "weight": 284, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "vcs\/get-installation.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/get-installation.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "vcs.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "installationId", + "description": "Installation Id", + "required": true, + "schema": { + "type": "string", + "x-example": "<INSTALLATION_ID>" + }, + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete installation", + "operationId": "vcsDeleteInstallation", + "tags": [ + "vcs" + ], + "description": "Delete a VCS installation by its unique ID. This endpoint removes the installation and all its associated repositories from the project.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteInstallation", + "group": "installations", + "weight": 285, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "vcs\/delete-installation.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/delete-installation.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "vcs.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "installationId", + "description": "Installation Id", + "required": true, + "schema": { + "type": "string", + "x-example": "<INSTALLATION_ID>" + }, + "in": "path" + } + ] + } + } + }, + "tags": [ + { + "name": "account", + "description": "The Account service allows you to authenticate and manage a user account.", + "x-globalAttributes": [] + }, + { + "name": "avatars", + "description": "The Avatars service aims to help you complete everyday tasks related to your app image, icons, and avatars.", + "x-globalAttributes": [] + }, + { + "name": "databases", + "description": "The Databases service allows you to create structured collections of documents, query and filter lists of documents", + "x-globalAttributes": [ + "databaseId" + ] + }, + { + "name": "locale", + "description": "The Locale service allows you to customize your app based on your users' location.", + "x-globalAttributes": [] + }, + { + "name": "health", + "description": "The Health service allows you to both validate and monitor your Appwrite server's health.", + "x-globalAttributes": [] + }, + { + "name": "projects", + "description": "The Project service allows you to manage all the projects in your Appwrite server.", + "x-globalAttributes": [] + }, + { + "name": "project", + "description": "The Project service allows you to manage all the projects in your Appwrite server.", + "x-globalAttributes": [] + }, + { + "name": "storage", + "description": "The Storage service allows you to manage your project files.", + "x-globalAttributes": [] + }, + { + "name": "teams", + "description": "The Teams service allows you to group users of your project and to enable them to share read and write access to your project resources", + "x-globalAttributes": [] + }, + { + "name": "users", + "description": "The Users service allows you to manage your project users.", + "x-globalAttributes": [] + }, + { + "name": "functions", + "description": "The Functions Service allows you view, create and manage your Cloud Functions.", + "x-globalAttributes": [] + }, + { + "name": "proxy", + "description": "The Proxy Service allows you to configure actions for your domains beyond DNS configuration.", + "x-globalAttributes": [] + }, + { + "name": "graphql", + "description": "The GraphQL API allows you to query and mutate your Appwrite server using GraphQL.", + "x-globalAttributes": [] + }, + { + "name": "console", + "description": "The Console service allows you to interact with console relevant informations.", + "x-globalAttributes": [] + }, + { + "name": "migrations", + "description": "The Migrations service allows you to migrate third-party data to your Appwrite project.", + "x-globalAttributes": [] + }, + { + "name": "messaging", + "description": "The Messaging service allows you to send messages to any provider type (SMTP, push notification, SMS, etc.).", + "x-globalAttributes": [] + } + ], + "components": { + "schemas": { + "any": { + "description": "Any", + "type": "object", + "additionalProperties": true + }, + "error": { + "description": "Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "description": "Error message.", + "x-example": "Not found" + }, + "code": { + "type": "string", + "description": "Error code.", + "x-example": "404" + }, + "type": { + "type": "string", + "description": "Error type. You can learn more about all the error types at https:\/\/appwrite.io\/docs\/error-codes#errorTypes", + "x-example": "not_found" + }, + "version": { + "type": "string", + "description": "Server version number.", + "x-example": "1.0" + } + }, + "required": [ + "message", + "code", + "type", + "version" + ] + }, + "documentList": { + "description": "Documents List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of documents documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "documents": { + "type": "array", + "description": "List of documents.", + "items": { + "$ref": "#\/components\/schemas\/document" + }, + "x-example": "" + } + }, + "required": [ + "total", + "documents" + ] + }, + "collectionList": { + "description": "Collections List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of collections documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "collections": { + "type": "array", + "description": "List of collections.", + "items": { + "$ref": "#\/components\/schemas\/collection" + }, + "x-example": "" + } + }, + "required": [ + "total", + "collections" + ] + }, + "databaseList": { + "description": "Databases List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of databases documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "databases": { + "type": "array", + "description": "List of databases.", + "items": { + "$ref": "#\/components\/schemas\/database" + }, + "x-example": "" + } + }, + "required": [ + "total", + "databases" + ] + }, + "indexList": { + "description": "Indexes List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of indexes documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "indexes": { + "type": "array", + "description": "List of indexes.", + "items": { + "$ref": "#\/components\/schemas\/index" + }, + "x-example": "" + } + }, + "required": [ + "total", + "indexes" + ] + }, + "userList": { + "description": "Users List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of users documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "users": { + "type": "array", + "description": "List of users.", + "items": { + "$ref": "#\/components\/schemas\/user" + }, + "x-example": "" + } + }, + "required": [ + "total", + "users" + ] + }, + "sessionList": { + "description": "Sessions List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of sessions documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "sessions": { + "type": "array", + "description": "List of sessions.", + "items": { + "$ref": "#\/components\/schemas\/session" + }, + "x-example": "" + } + }, + "required": [ + "total", + "sessions" + ] + }, + "identityList": { + "description": "Identities List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of identities documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "identities": { + "type": "array", + "description": "List of identities.", + "items": { + "$ref": "#\/components\/schemas\/identity" + }, + "x-example": "" + } + }, + "required": [ + "total", + "identities" + ] + }, + "logList": { + "description": "Logs List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of logs documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "logs": { + "type": "array", + "description": "List of logs.", + "items": { + "$ref": "#\/components\/schemas\/log" + }, + "x-example": "" + } + }, + "required": [ + "total", + "logs" + ] + }, + "fileList": { + "description": "Files List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of files documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "files": { + "type": "array", + "description": "List of files.", + "items": { + "$ref": "#\/components\/schemas\/file" + }, + "x-example": "" + } + }, + "required": [ + "total", + "files" + ] + }, + "bucketList": { + "description": "Buckets List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of buckets documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "buckets": { + "type": "array", + "description": "List of buckets.", + "items": { + "$ref": "#\/components\/schemas\/bucket" + }, + "x-example": "" + } + }, + "required": [ + "total", + "buckets" + ] + }, + "teamList": { + "description": "Teams List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of teams documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "teams": { + "type": "array", + "description": "List of teams.", + "items": { + "$ref": "#\/components\/schemas\/team" + }, + "x-example": "" + } + }, + "required": [ + "total", + "teams" + ] + }, + "membershipList": { + "description": "Memberships List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of memberships documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "memberships": { + "type": "array", + "description": "List of memberships.", + "items": { + "$ref": "#\/components\/schemas\/membership" + }, + "x-example": "" + } + }, + "required": [ + "total", + "memberships" + ] + }, + "functionList": { + "description": "Functions List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of functions documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "functions": { + "type": "array", + "description": "List of functions.", + "items": { + "$ref": "#\/components\/schemas\/function" + }, + "x-example": "" + } + }, + "required": [ + "total", + "functions" + ] + }, + "templateFunctionList": { + "description": "Function Templates List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of templates documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "templates": { + "type": "array", + "description": "List of templates.", + "items": { + "$ref": "#\/components\/schemas\/templateFunction" + }, + "x-example": "" + } + }, + "required": [ + "total", + "templates" + ] + }, + "installationList": { + "description": "Installations List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of installations documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "installations": { + "type": "array", + "description": "List of installations.", + "items": { + "$ref": "#\/components\/schemas\/installation" + }, + "x-example": "" + } + }, + "required": [ + "total", + "installations" + ] + }, + "providerRepositoryList": { + "description": "Provider Repositories List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of providerRepositories documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "providerRepositories": { + "type": "array", + "description": "List of providerRepositories.", + "items": { + "$ref": "#\/components\/schemas\/providerRepository" + }, + "x-example": "" + } + }, + "required": [ + "total", + "providerRepositories" + ] + }, + "branchList": { + "description": "Branches List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of branches documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "branches": { + "type": "array", + "description": "List of branches.", + "items": { + "$ref": "#\/components\/schemas\/branch" + }, + "x-example": "" + } + }, + "required": [ + "total", + "branches" + ] + }, + "runtimeList": { + "description": "Runtimes List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of runtimes documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "runtimes": { + "type": "array", + "description": "List of runtimes.", + "items": { + "$ref": "#\/components\/schemas\/runtime" + }, + "x-example": "" + } + }, + "required": [ + "total", + "runtimes" + ] + }, + "deploymentList": { + "description": "Deployments List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of deployments documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "deployments": { + "type": "array", + "description": "List of deployments.", + "items": { + "$ref": "#\/components\/schemas\/deployment" + }, + "x-example": "" + } + }, + "required": [ + "total", + "deployments" + ] + }, + "executionList": { + "description": "Executions List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of executions documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "executions": { + "type": "array", + "description": "List of executions.", + "items": { + "$ref": "#\/components\/schemas\/execution" + }, + "x-example": "" + } + }, + "required": [ + "total", + "executions" + ] + }, + "projectList": { + "description": "Projects List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of projects documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "projects": { + "type": "array", + "description": "List of projects.", + "items": { + "$ref": "#\/components\/schemas\/project" + }, + "x-example": "" + } + }, + "required": [ + "total", + "projects" + ] + }, + "webhookList": { + "description": "Webhooks List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of webhooks documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "webhooks": { + "type": "array", + "description": "List of webhooks.", + "items": { + "$ref": "#\/components\/schemas\/webhook" + }, + "x-example": "" + } + }, + "required": [ + "total", + "webhooks" + ] + }, + "keyList": { + "description": "API Keys List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of keys documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "keys": { + "type": "array", + "description": "List of keys.", + "items": { + "$ref": "#\/components\/schemas\/key" + }, + "x-example": "" + } + }, + "required": [ + "total", + "keys" + ] + }, + "platformList": { + "description": "Platforms List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of platforms documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "platforms": { + "type": "array", + "description": "List of platforms.", + "items": { + "$ref": "#\/components\/schemas\/platform" + }, + "x-example": "" + } + }, + "required": [ + "total", + "platforms" + ] + }, + "countryList": { + "description": "Countries List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of countries documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "countries": { + "type": "array", + "description": "List of countries.", + "items": { + "$ref": "#\/components\/schemas\/country" + }, + "x-example": "" + } + }, + "required": [ + "total", + "countries" + ] + }, + "continentList": { + "description": "Continents List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of continents documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "continents": { + "type": "array", + "description": "List of continents.", + "items": { + "$ref": "#\/components\/schemas\/continent" + }, + "x-example": "" + } + }, + "required": [ + "total", + "continents" + ] + }, + "languageList": { + "description": "Languages List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of languages documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "languages": { + "type": "array", + "description": "List of languages.", + "items": { + "$ref": "#\/components\/schemas\/language" + }, + "x-example": "" + } + }, + "required": [ + "total", + "languages" + ] + }, + "currencyList": { + "description": "Currencies List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of currencies documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "currencies": { + "type": "array", + "description": "List of currencies.", + "items": { + "$ref": "#\/components\/schemas\/currency" + }, + "x-example": "" + } + }, + "required": [ + "total", + "currencies" + ] + }, + "phoneList": { + "description": "Phones List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of phones documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "phones": { + "type": "array", + "description": "List of phones.", + "items": { + "$ref": "#\/components\/schemas\/phone" + }, + "x-example": "" + } + }, + "required": [ + "total", + "phones" + ] + }, + "variableList": { + "description": "Variables List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of variables documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "variables": { + "type": "array", + "description": "List of variables.", + "items": { + "$ref": "#\/components\/schemas\/variable" + }, + "x-example": "" + } + }, + "required": [ + "total", + "variables" + ] + }, + "proxyRuleList": { + "description": "Rule List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of rules documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "rules": { + "type": "array", + "description": "List of rules.", + "items": { + "$ref": "#\/components\/schemas\/proxyRule" + }, + "x-example": "" + } + }, + "required": [ + "total", + "rules" + ] + }, + "localeCodeList": { + "description": "Locale codes list", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of localeCodes documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "localeCodes": { + "type": "array", + "description": "List of localeCodes.", + "items": { + "$ref": "#\/components\/schemas\/localeCode" + }, + "x-example": "" + } + }, + "required": [ + "total", + "localeCodes" + ] + }, + "providerList": { + "description": "Provider list", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of providers documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "providers": { + "type": "array", + "description": "List of providers.", + "items": { + "$ref": "#\/components\/schemas\/provider" + }, + "x-example": "" + } + }, + "required": [ + "total", + "providers" + ] + }, + "messageList": { + "description": "Message list", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of messages documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "messages": { + "type": "array", + "description": "List of messages.", + "items": { + "$ref": "#\/components\/schemas\/message" + }, + "x-example": "" + } + }, + "required": [ + "total", + "messages" + ] + }, + "topicList": { + "description": "Topic list", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of topics documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "topics": { + "type": "array", + "description": "List of topics.", + "items": { + "$ref": "#\/components\/schemas\/topic" + }, + "x-example": "" + } + }, + "required": [ + "total", + "topics" + ] + }, + "subscriberList": { + "description": "Subscriber list", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of subscribers documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "subscribers": { + "type": "array", + "description": "List of subscribers.", + "items": { + "$ref": "#\/components\/schemas\/subscriber" + }, + "x-example": "" + } + }, + "required": [ + "total", + "subscribers" + ] + }, + "targetList": { + "description": "Target list", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of targets documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "targets": { + "type": "array", + "description": "List of targets.", + "items": { + "$ref": "#\/components\/schemas\/target" + }, + "x-example": "" + } + }, + "required": [ + "total", + "targets" + ] + }, + "migrationList": { + "description": "Migrations List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of migrations documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "migrations": { + "type": "array", + "description": "List of migrations.", + "items": { + "$ref": "#\/components\/schemas\/migration" + }, + "x-example": "" + } + }, + "required": [ + "total", + "migrations" + ] + }, + "specificationList": { + "description": "Specifications List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of specifications documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "specifications": { + "type": "array", + "description": "List of specifications.", + "items": { + "$ref": "#\/components\/schemas\/specification" + }, + "x-example": "" + } + }, + "required": [ + "total", + "specifications" + ] + }, + "vcsContentList": { + "description": "VCS Content List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of contents documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "contents": { + "type": "array", + "description": "List of contents.", + "items": { + "$ref": "#\/components\/schemas\/vcsContent" + }, + "x-example": "" + } + }, + "required": [ + "total", + "contents" + ] + }, + "database": { + "description": "Database", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Database ID.", + "x-example": "5e5ea5c16897e" + }, + "name": { + "type": "string", + "description": "Database name.", + "x-example": "My Database" + }, + "$createdAt": { + "type": "string", + "description": "Database creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Database update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "enabled": { + "type": "boolean", + "description": "If database is enabled. Can be 'enabled' or 'disabled'. When disabled, the database is inaccessible to users, but remains accessible to Server SDKs using API keys.", + "x-example": false + } + }, + "required": [ + "$id", + "name", + "$createdAt", + "$updatedAt", + "enabled" + ] + }, + "collection": { + "description": "Collection", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Collection ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Collection creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Collection update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$permissions": { + "type": "array", + "description": "Collection permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "items": { + "type": "string" + }, + "x-example": [ + "read(\"any\")" + ] + }, + "databaseId": { + "type": "string", + "description": "Database ID.", + "x-example": "5e5ea5c16897e" + }, + "name": { + "type": "string", + "description": "Collection name.", + "x-example": "My Collection" + }, + "enabled": { + "type": "boolean", + "description": "Collection enabled. Can be 'enabled' or 'disabled'. When disabled, the collection is inaccessible to users, but remains accessible to Server SDKs using API keys.", + "x-example": false + }, + "documentSecurity": { + "type": "boolean", + "description": "Whether document-level permissions are enabled. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": true + }, + "attributes": { + "type": "array", + "description": "Collection attributes.", + "items": { + "anyOf": [ + { + "$ref": "#\/components\/schemas\/attributeBoolean" + }, + { + "$ref": "#\/components\/schemas\/attributeInteger" + }, + { + "$ref": "#\/components\/schemas\/attributeFloat" + }, + { + "$ref": "#\/components\/schemas\/attributeEmail" + }, + { + "$ref": "#\/components\/schemas\/attributeEnum" + }, + { + "$ref": "#\/components\/schemas\/attributeUrl" + }, + { + "$ref": "#\/components\/schemas\/attributeIp" + }, + { + "$ref": "#\/components\/schemas\/attributeDatetime" + }, + { + "$ref": "#\/components\/schemas\/attributeRelationship" + }, + { + "$ref": "#\/components\/schemas\/attributeString" + } + ] + }, + "x-example": {} + }, + "indexes": { + "type": "array", + "description": "Collection indexes.", + "items": { + "$ref": "#\/components\/schemas\/index" + }, + "x-example": {} + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "$permissions", + "databaseId", + "name", + "enabled", + "documentSecurity", + "attributes", + "indexes" + ] + }, + "attributeList": { + "description": "Attributes List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of attributes in the given collection.", + "x-example": 5, + "format": "int32" + }, + "attributes": { + "type": "array", + "description": "List of attributes.", + "items": { + "anyOf": [ + { + "$ref": "#\/components\/schemas\/attributeBoolean" + }, + { + "$ref": "#\/components\/schemas\/attributeInteger" + }, + { + "$ref": "#\/components\/schemas\/attributeFloat" + }, + { + "$ref": "#\/components\/schemas\/attributeEmail" + }, + { + "$ref": "#\/components\/schemas\/attributeEnum" + }, + { + "$ref": "#\/components\/schemas\/attributeUrl" + }, + { + "$ref": "#\/components\/schemas\/attributeIp" + }, + { + "$ref": "#\/components\/schemas\/attributeDatetime" + }, + { + "$ref": "#\/components\/schemas\/attributeRelationship" + }, + { + "$ref": "#\/components\/schemas\/attributeString" + } + ] + }, + "x-example": "" + } + }, + "required": [ + "total", + "attributes" + ] + }, + "attributeString": { + "description": "AttributeString", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "fullName" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "string" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "size": { + "type": "integer", + "description": "Attribute size.", + "x-example": 128, + "format": "int32" + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "default", + "nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt", + "size" + ] + }, + "attributeInteger": { + "description": "AttributeInteger", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "count" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "integer" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "min": { + "type": "integer", + "description": "Minimum value to enforce for new documents.", + "x-example": 1, + "format": "int32", + "nullable": true + }, + "max": { + "type": "integer", + "description": "Maximum value to enforce for new documents.", + "x-example": 10, + "format": "int32", + "nullable": true + }, + "default": { + "type": "integer", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": 10, + "format": "int32", + "nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt" + ] + }, + "attributeFloat": { + "description": "AttributeFloat", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "percentageCompleted" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "double" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "min": { + "type": "number", + "description": "Minimum value to enforce for new documents.", + "x-example": 1.5, + "format": "double", + "nullable": true + }, + "max": { + "type": "number", + "description": "Maximum value to enforce for new documents.", + "x-example": 10.5, + "format": "double", + "nullable": true + }, + "default": { + "type": "number", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": 2.5, + "format": "double", + "nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt" + ] + }, + "attributeBoolean": { + "description": "AttributeBoolean", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "isEnabled" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "boolean" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "default": { + "type": "boolean", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": false, + "nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt" + ] + }, + "attributeEmail": { + "description": "AttributeEmail", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "userEmail" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "string" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "format": { + "type": "string", + "description": "String format.", + "x-example": "email" + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "default@example.com", + "nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt", + "format" + ] + }, + "attributeEnum": { + "description": "AttributeEnum", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "status" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "string" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "elements": { + "type": "array", + "description": "Array of elements in enumerated type.", + "items": { + "type": "string" + }, + "x-example": "element" + }, + "format": { + "type": "string", + "description": "String format.", + "x-example": "enum" + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "element", + "nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt", + "elements", + "format" + ] + }, + "attributeIp": { + "description": "AttributeIP", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "ipAddress" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "string" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "format": { + "type": "string", + "description": "String format.", + "x-example": "ip" + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "192.0.2.0", + "nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt", + "format" + ] + }, + "attributeUrl": { + "description": "AttributeURL", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "githubUrl" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "string" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "format": { + "type": "string", + "description": "String format.", + "x-example": "url" + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "http:\/\/example.com", + "nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt", + "format" + ] + }, + "attributeDatetime": { + "description": "AttributeDatetime", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "birthDay" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "datetime" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "format": { + "type": "string", + "description": "ISO 8601 format.", + "x-example": "datetime" + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Only null is optional", + "x-example": "2020-10-15T06:38:00.000+00:00", + "nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt", + "format" + ] + }, + "attributeRelationship": { + "description": "AttributeRelationship", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "fullName" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "string" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "relatedCollection": { + "type": "string", + "description": "The ID of the related collection.", + "x-example": "collection" + }, + "relationType": { + "type": "string", + "description": "The type of the relationship.", + "x-example": "oneToOne|oneToMany|manyToOne|manyToMany" + }, + "twoWay": { + "type": "boolean", + "description": "Is the relationship two-way?", + "x-example": false + }, + "twoWayKey": { + "type": "string", + "description": "The key of the two-way relationship.", + "x-example": "string" + }, + "onDelete": { + "type": "string", + "description": "How deleting the parent document will propagate to child documents.", + "x-example": "restrict|cascade|setNull" + }, + "side": { + "type": "string", + "description": "Whether this is the parent or child side of the relationship", + "x-example": "parent|child" + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt", + "relatedCollection", + "relationType", + "twoWay", + "twoWayKey", + "onDelete", + "side" + ] + }, + "index": { + "description": "Index", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Index Key.", + "x-example": "index1" + }, + "type": { + "type": "string", + "description": "Index type.", + "x-example": "primary" + }, + "status": { + "type": "string", + "description": "Index status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an index.", + "x-example": "string" + }, + "attributes": { + "type": "array", + "description": "Index attributes.", + "items": { + "type": "string" + }, + "x-example": [] + }, + "orders": { + "type": "array", + "description": "Index orders.", + "items": { + "type": "string" + }, + "x-example": [], + "nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Index creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Index update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + } + }, + "required": [ + "key", + "type", + "status", + "error", + "attributes", + "$createdAt", + "$updatedAt" + ] + }, + "document": { + "description": "Document", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Document ID.", + "x-example": "5e5ea5c16897e" + }, + "$collectionId": { + "type": "string", + "description": "Collection ID.", + "x-example": "5e5ea5c15117e" + }, + "$databaseId": { + "type": "string", + "description": "Database ID.", + "x-example": "5e5ea5c15117e" + }, + "$createdAt": { + "type": "string", + "description": "Document creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Document update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$permissions": { + "type": "array", + "description": "Document permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "items": { + "type": "string" + }, + "x-example": [ + "read(\"any\")" + ] + } + }, + "additionalProperties": true, + "required": [ + "$id", + "$collectionId", + "$databaseId", + "$createdAt", + "$updatedAt", + "$permissions" + ] + }, + "log": { + "description": "Log", + "type": "object", + "properties": { + "event": { + "type": "string", + "description": "Event name.", + "x-example": "account.sessions.create" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "610fc2f985ee0" + }, + "userEmail": { + "type": "string", + "description": "User Email.", + "x-example": "john@appwrite.io" + }, + "userName": { + "type": "string", + "description": "User Name.", + "x-example": "John Doe" + }, + "mode": { + "type": "string", + "description": "API mode when event triggered.", + "x-example": "admin" + }, + "ip": { + "type": "string", + "description": "IP session in use when the session was created.", + "x-example": "127.0.0.1" + }, + "time": { + "type": "string", + "description": "Log creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "osCode": { + "type": "string", + "description": "Operating system code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/os.json).", + "x-example": "Mac" + }, + "osName": { + "type": "string", + "description": "Operating system name.", + "x-example": "Mac" + }, + "osVersion": { + "type": "string", + "description": "Operating system version.", + "x-example": "Mac" + }, + "clientType": { + "type": "string", + "description": "Client type.", + "x-example": "browser" + }, + "clientCode": { + "type": "string", + "description": "Client code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/clients.json).", + "x-example": "CM" + }, + "clientName": { + "type": "string", + "description": "Client name.", + "x-example": "Chrome Mobile iOS" + }, + "clientVersion": { + "type": "string", + "description": "Client version.", + "x-example": "84.0" + }, + "clientEngine": { + "type": "string", + "description": "Client engine name.", + "x-example": "WebKit" + }, + "clientEngineVersion": { + "type": "string", + "description": "Client engine name.", + "x-example": "605.1.15" + }, + "deviceName": { + "type": "string", + "description": "Device name.", + "x-example": "smartphone" + }, + "deviceBrand": { + "type": "string", + "description": "Device brand name.", + "x-example": "Google" + }, + "deviceModel": { + "type": "string", + "description": "Device model name.", + "x-example": "Nexus 5" + }, + "countryCode": { + "type": "string", + "description": "Country two-character ISO 3166-1 alpha code.", + "x-example": "US" + }, + "countryName": { + "type": "string", + "description": "Country name.", + "x-example": "United States" + } + }, + "required": [ + "event", + "userId", + "userEmail", + "userName", + "mode", + "ip", + "time", + "osCode", + "osName", + "osVersion", + "clientType", + "clientCode", + "clientName", + "clientVersion", + "clientEngine", + "clientEngineVersion", + "deviceName", + "deviceBrand", + "deviceModel", + "countryCode", + "countryName" + ] + }, + "user": { + "description": "User", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "User ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "User creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "User update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "User name.", + "x-example": "John Doe" + }, + "password": { + "type": "string", + "description": "Hashed user password.", + "x-example": "$argon2id$v=19$m=2048,t=4,p=3$aUZjLnliVWRINmFNTWMudg$5S+x+7uA31xFnrHFT47yFwcJeaP0w92L\/4LdgrVRXxE", + "nullable": true + }, + "hash": { + "type": "string", + "description": "Password hashing algorithm.", + "x-example": "argon2", + "nullable": true + }, + "hashOptions": { + "type": "object", + "description": "Password hashing algorithm configuration.", + "x-example": {}, + "items": { + "oneOf": [ + { + "$ref": "#\/components\/schemas\/algoArgon2" + }, + { + "$ref": "#\/components\/schemas\/algoScrypt" + }, + { + "$ref": "#\/components\/schemas\/algoScryptModified" + }, + { + "$ref": "#\/components\/schemas\/algoBcrypt" + }, + { + "$ref": "#\/components\/schemas\/algoPhpass" + }, + { + "$ref": "#\/components\/schemas\/algoSha" + }, + { + "$ref": "#\/components\/schemas\/algoMd5" + } + ] + }, + "nullable": true + }, + "registration": { + "type": "string", + "description": "User registration date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "status": { + "type": "boolean", + "description": "User status. Pass `true` for enabled and `false` for disabled.", + "x-example": true + }, + "labels": { + "type": "array", + "description": "Labels for the user.", + "items": { + "type": "string" + }, + "x-example": [ + "vip" + ] + }, + "passwordUpdate": { + "type": "string", + "description": "Password update time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "email": { + "type": "string", + "description": "User email address.", + "x-example": "john@appwrite.io" + }, + "phone": { + "type": "string", + "description": "User phone number in E.164 format.", + "x-example": "+4930901820" + }, + "emailVerification": { + "type": "boolean", + "description": "Email verification status.", + "x-example": true + }, + "phoneVerification": { + "type": "boolean", + "description": "Phone verification status.", + "x-example": true + }, + "mfa": { + "type": "boolean", + "description": "Multi factor authentication status.", + "x-example": true + }, + "prefs": { + "type": "object", + "description": "User preferences as a key-value object", + "x-example": { + "theme": "pink", + "timezone": "UTC" + }, + "items": { + "$ref": "#\/components\/schemas\/preferences" + } + }, + "targets": { + "type": "array", + "description": "A user-owned message receiver. A single user may have multiple e.g. emails, phones, and a browser. Each target is registered with a single provider.", + "items": { + "$ref": "#\/components\/schemas\/target" + }, + "x-example": [] + }, + "accessedAt": { + "type": "string", + "description": "Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.", + "x-example": "2020-10-15T06:38:00.000+00:00" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "registration", + "status", + "labels", + "passwordUpdate", + "email", + "phone", + "emailVerification", + "phoneVerification", + "mfa", + "prefs", + "targets", + "accessedAt" + ] + }, + "algoMd5": { + "description": "AlgoMD5", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "md5" + } + }, + "required": [ + "type" + ] + }, + "algoSha": { + "description": "AlgoSHA", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "sha" + } + }, + "required": [ + "type" + ] + }, + "algoPhpass": { + "description": "AlgoPHPass", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "phpass" + } + }, + "required": [ + "type" + ] + }, + "algoBcrypt": { + "description": "AlgoBcrypt", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "bcrypt" + } + }, + "required": [ + "type" + ] + }, + "algoScrypt": { + "description": "AlgoScrypt", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "scrypt" + }, + "costCpu": { + "type": "integer", + "description": "CPU complexity of computed hash.", + "x-example": 8, + "format": "int32" + }, + "costMemory": { + "type": "integer", + "description": "Memory complexity of computed hash.", + "x-example": 14, + "format": "int32" + }, + "costParallel": { + "type": "integer", + "description": "Parallelization of computed hash.", + "x-example": 1, + "format": "int32" + }, + "length": { + "type": "integer", + "description": "Length used to compute hash.", + "x-example": 64, + "format": "int32" + } + }, + "required": [ + "type", + "costCpu", + "costMemory", + "costParallel", + "length" + ] + }, + "algoScryptModified": { + "description": "AlgoScryptModified", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "scryptMod" + }, + "salt": { + "type": "string", + "description": "Salt used to compute hash.", + "x-example": "UxLMreBr6tYyjQ==" + }, + "saltSeparator": { + "type": "string", + "description": "Separator used to compute hash.", + "x-example": "Bw==" + }, + "signerKey": { + "type": "string", + "description": "Key used to compute hash.", + "x-example": "XyEKE9RcTDeLEsL\/RjwPDBv\/RqDl8fb3gpYEOQaPihbxf1ZAtSOHCjuAAa7Q3oHpCYhXSN9tizHgVOwn6krflQ==" + } + }, + "required": [ + "type", + "salt", + "saltSeparator", + "signerKey" + ] + }, + "algoArgon2": { + "description": "AlgoArgon2", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "argon2" + }, + "memoryCost": { + "type": "integer", + "description": "Memory used to compute hash.", + "x-example": 65536, + "format": "int32" + }, + "timeCost": { + "type": "integer", + "description": "Amount of time consumed to compute hash", + "x-example": 4, + "format": "int32" + }, + "threads": { + "type": "integer", + "description": "Number of threads used to compute hash.", + "x-example": 3, + "format": "int32" + } + }, + "required": [ + "type", + "memoryCost", + "timeCost", + "threads" + ] + }, + "preferences": { + "description": "Preferences", + "type": "object", + "additionalProperties": true + }, + "session": { + "description": "Session", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Session ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Session creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Session update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "5e5bb8c16897e" + }, + "expire": { + "type": "string", + "description": "Session expiration date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "provider": { + "type": "string", + "description": "Session Provider.", + "x-example": "email" + }, + "providerUid": { + "type": "string", + "description": "Session Provider User ID.", + "x-example": "user@example.com" + }, + "providerAccessToken": { + "type": "string", + "description": "Session Provider Access Token.", + "x-example": "MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3" + }, + "providerAccessTokenExpiry": { + "type": "string", + "description": "The date of when the access token expires in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "providerRefreshToken": { + "type": "string", + "description": "Session Provider Refresh Token.", + "x-example": "MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3" + }, + "ip": { + "type": "string", + "description": "IP in use when the session was created.", + "x-example": "127.0.0.1" + }, + "osCode": { + "type": "string", + "description": "Operating system code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/os.json).", + "x-example": "Mac" + }, + "osName": { + "type": "string", + "description": "Operating system name.", + "x-example": "Mac" + }, + "osVersion": { + "type": "string", + "description": "Operating system version.", + "x-example": "Mac" + }, + "clientType": { + "type": "string", + "description": "Client type.", + "x-example": "browser" + }, + "clientCode": { + "type": "string", + "description": "Client code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/clients.json).", + "x-example": "CM" + }, + "clientName": { + "type": "string", + "description": "Client name.", + "x-example": "Chrome Mobile iOS" + }, + "clientVersion": { + "type": "string", + "description": "Client version.", + "x-example": "84.0" + }, + "clientEngine": { + "type": "string", + "description": "Client engine name.", + "x-example": "WebKit" + }, + "clientEngineVersion": { + "type": "string", + "description": "Client engine name.", + "x-example": "605.1.15" + }, + "deviceName": { + "type": "string", + "description": "Device name.", + "x-example": "smartphone" + }, + "deviceBrand": { + "type": "string", + "description": "Device brand name.", + "x-example": "Google" + }, + "deviceModel": { + "type": "string", + "description": "Device model name.", + "x-example": "Nexus 5" + }, + "countryCode": { + "type": "string", + "description": "Country two-character ISO 3166-1 alpha code.", + "x-example": "US" + }, + "countryName": { + "type": "string", + "description": "Country name.", + "x-example": "United States" + }, + "current": { + "type": "boolean", + "description": "Returns true if this the current user session.", + "x-example": true + }, + "factors": { + "type": "array", + "description": "Returns a list of active session factors.", + "items": { + "type": "string" + }, + "x-example": [ + "email" + ] + }, + "secret": { + "type": "string", + "description": "Secret used to authenticate the user. Only included if the request was made with an API key", + "x-example": "5e5bb8c16897e" + }, + "mfaUpdatedAt": { + "type": "string", + "description": "Most recent date in ISO 8601 format when the session successfully passed MFA challenge.", + "x-example": "2020-10-15T06:38:00.000+00:00" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "userId", + "expire", + "provider", + "providerUid", + "providerAccessToken", + "providerAccessTokenExpiry", + "providerRefreshToken", + "ip", + "osCode", + "osName", + "osVersion", + "clientType", + "clientCode", + "clientName", + "clientVersion", + "clientEngine", + "clientEngineVersion", + "deviceName", + "deviceBrand", + "deviceModel", + "countryCode", + "countryName", + "current", + "factors", + "secret", + "mfaUpdatedAt" + ] + }, + "identity": { + "description": "Identity", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Identity ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Identity creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Identity update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "5e5bb8c16897e" + }, + "provider": { + "type": "string", + "description": "Identity Provider.", + "x-example": "email" + }, + "providerUid": { + "type": "string", + "description": "ID of the User in the Identity Provider.", + "x-example": "5e5bb8c16897e" + }, + "providerEmail": { + "type": "string", + "description": "Email of the User in the Identity Provider.", + "x-example": "user@example.com" + }, + "providerAccessToken": { + "type": "string", + "description": "Identity Provider Access Token.", + "x-example": "MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3" + }, + "providerAccessTokenExpiry": { + "type": "string", + "description": "The date of when the access token expires in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "providerRefreshToken": { + "type": "string", + "description": "Identity Provider Refresh Token.", + "x-example": "MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "userId", + "provider", + "providerUid", + "providerEmail", + "providerAccessToken", + "providerAccessTokenExpiry", + "providerRefreshToken" + ] + }, + "token": { + "description": "Token", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Token ID.", + "x-example": "bb8ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Token creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "5e5ea5c168bb8" + }, + "secret": { + "type": "string", + "description": "Token secret key. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.", + "x-example": "" + }, + "expire": { + "type": "string", + "description": "Token expiration date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "phrase": { + "type": "string", + "description": "Security phrase of a token. Empty if security phrase was not requested when creating a token. It includes randomly generated phrase which is also sent in the external resource such as email.", + "x-example": "Golden Fox" + } + }, + "required": [ + "$id", + "$createdAt", + "userId", + "secret", + "expire", + "phrase" + ] + }, + "jwt": { + "description": "JWT", + "type": "object", + "properties": { + "jwt": { + "type": "string", + "description": "JWT encoded string.", + "x-example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c" + } + }, + "required": [ + "jwt" + ] + }, + "locale": { + "description": "Locale", + "type": "object", + "properties": { + "ip": { + "type": "string", + "description": "User IP address.", + "x-example": "127.0.0.1" + }, + "countryCode": { + "type": "string", + "description": "Country code in [ISO 3166-1](http:\/\/en.wikipedia.org\/wiki\/ISO_3166-1) two-character format", + "x-example": "US" + }, + "country": { + "type": "string", + "description": "Country name. This field support localization.", + "x-example": "United States" + }, + "continentCode": { + "type": "string", + "description": "Continent code. A two character continent code \"AF\" for Africa, \"AN\" for Antarctica, \"AS\" for Asia, \"EU\" for Europe, \"NA\" for North America, \"OC\" for Oceania, and \"SA\" for South America.", + "x-example": "NA" + }, + "continent": { + "type": "string", + "description": "Continent name. This field support localization.", + "x-example": "North America" + }, + "eu": { + "type": "boolean", + "description": "True if country is part of the European Union.", + "x-example": false + }, + "currency": { + "type": "string", + "description": "Currency code in [ISO 4217-1](http:\/\/en.wikipedia.org\/wiki\/ISO_4217) three-character format", + "x-example": "USD" + } + }, + "required": [ + "ip", + "countryCode", + "country", + "continentCode", + "continent", + "eu", + "currency" + ] + }, + "localeCode": { + "description": "LocaleCode", + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Locale codes in [ISO 639-1](https:\/\/en.wikipedia.org\/wiki\/List_of_ISO_639-1_codes)", + "x-example": "en-us" + }, + "name": { + "type": "string", + "description": "Locale name", + "x-example": "US" + } + }, + "required": [ + "code", + "name" + ] + }, + "file": { + "description": "File", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "File ID.", + "x-example": "5e5ea5c16897e" + }, + "bucketId": { + "type": "string", + "description": "Bucket ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "File creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "File update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$permissions": { + "type": "array", + "description": "File permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "items": { + "type": "string" + }, + "x-example": [ + "read(\"any\")" + ] + }, + "name": { + "type": "string", + "description": "File name.", + "x-example": "Pink.png" + }, + "signature": { + "type": "string", + "description": "File MD5 signature.", + "x-example": "5d529fd02b544198ae075bd57c1762bb" + }, + "mimeType": { + "type": "string", + "description": "File mime type.", + "x-example": "image\/png" + }, + "sizeOriginal": { + "type": "integer", + "description": "File original size in bytes.", + "x-example": 17890, + "format": "int32" + }, + "chunksTotal": { + "type": "integer", + "description": "Total number of chunks available", + "x-example": 17890, + "format": "int32" + }, + "chunksUploaded": { + "type": "integer", + "description": "Total number of chunks uploaded", + "x-example": 17890, + "format": "int32" + } + }, + "required": [ + "$id", + "bucketId", + "$createdAt", + "$updatedAt", + "$permissions", + "name", + "signature", + "mimeType", + "sizeOriginal", + "chunksTotal", + "chunksUploaded" + ] + }, + "bucket": { + "description": "Bucket", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Bucket ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Bucket creation time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Bucket update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$permissions": { + "type": "array", + "description": "Bucket permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "items": { + "type": "string" + }, + "x-example": [ + "read(\"any\")" + ] + }, + "fileSecurity": { + "type": "boolean", + "description": "Whether file-level security is enabled. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": true + }, + "name": { + "type": "string", + "description": "Bucket name.", + "x-example": "Documents" + }, + "enabled": { + "type": "boolean", + "description": "Bucket enabled.", + "x-example": false + }, + "maximumFileSize": { + "type": "integer", + "description": "Maximum file size supported.", + "x-example": 100, + "format": "int32" + }, + "allowedFileExtensions": { + "type": "array", + "description": "Allowed file extensions.", + "items": { + "type": "string" + }, + "x-example": [ + "jpg", + "png" + ] + }, + "compression": { + "type": "string", + "description": "Compression algorithm choosen for compression. Will be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd).", + "x-example": "gzip" + }, + "encryption": { + "type": "boolean", + "description": "Bucket is encrypted.", + "x-example": false + }, + "antivirus": { + "type": "boolean", + "description": "Virus scanning is enabled.", + "x-example": false + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "$permissions", + "fileSecurity", + "name", + "enabled", + "maximumFileSize", + "allowedFileExtensions", + "compression", + "encryption", + "antivirus" + ] + }, + "team": { + "description": "Team", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Team ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Team creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Team update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "Team name.", + "x-example": "VIP" + }, + "total": { + "type": "integer", + "description": "Total number of team members.", + "x-example": 7, + "format": "int32" + }, + "prefs": { + "type": "object", + "description": "Team preferences as a key-value object", + "x-example": { + "theme": "pink", + "timezone": "UTC" + }, + "items": { + "$ref": "#\/components\/schemas\/preferences" + } + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "total", + "prefs" + ] + }, + "membership": { + "description": "Membership", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Membership ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Membership creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Membership update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "5e5ea5c16897e" + }, + "userName": { + "type": "string", + "description": "User name. Hide this attribute by toggling membership privacy in the Console.", + "x-example": "John Doe" + }, + "userEmail": { + "type": "string", + "description": "User email address. Hide this attribute by toggling membership privacy in the Console.", + "x-example": "john@appwrite.io" + }, + "teamId": { + "type": "string", + "description": "Team ID.", + "x-example": "5e5ea5c16897e" + }, + "teamName": { + "type": "string", + "description": "Team name.", + "x-example": "VIP" + }, + "invited": { + "type": "string", + "description": "Date, the user has been invited to join the team in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "joined": { + "type": "string", + "description": "Date, the user has accepted the invitation to join the team in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "confirm": { + "type": "boolean", + "description": "User confirmation status, true if the user has joined the team or false otherwise.", + "x-example": false + }, + "mfa": { + "type": "boolean", + "description": "Multi factor authentication status, true if the user has MFA enabled or false otherwise. Hide this attribute by toggling membership privacy in the Console.", + "x-example": false + }, + "roles": { + "type": "array", + "description": "User list of roles", + "items": { + "type": "string" + }, + "x-example": [ + "owner" + ] + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "userId", + "userName", + "userEmail", + "teamId", + "teamName", + "invited", + "joined", + "confirm", + "mfa", + "roles" + ] + }, + "function": { + "description": "Function", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Function ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Function creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Function update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "execute": { + "type": "array", + "description": "Execution permissions.", + "items": { + "type": "string" + }, + "x-example": "users" + }, + "name": { + "type": "string", + "description": "Function name.", + "x-example": "My Function" + }, + "enabled": { + "type": "boolean", + "description": "Function enabled.", + "x-example": false + }, + "live": { + "type": "boolean", + "description": "Is the function deployed with the latest configuration? This is set to false if you've changed an environment variables, entrypoint, commands, or other settings that needs redeploy to be applied. When the value is false, redeploy the function to update it with the latest configuration.", + "x-example": false + }, + "logging": { + "type": "boolean", + "description": "Whether executions will be logged. When set to false, executions will not be logged, but will reduce resource used by your Appwrite project.", + "x-example": false + }, + "runtime": { + "type": "string", + "description": "Function execution runtime.", + "x-example": "python-3.8" + }, + "deployment": { + "type": "string", + "description": "Function's active deployment ID.", + "x-example": "5e5ea5c16897e" + }, + "scopes": { + "type": "array", + "description": "Allowed permission scopes.", + "items": { + "type": "string" + }, + "x-example": "users.read" + }, + "vars": { + "type": "array", + "description": "Function variables.", + "items": { + "$ref": "#\/components\/schemas\/variable" + }, + "x-example": [] + }, + "events": { + "type": "array", + "description": "Function trigger events.", + "items": { + "type": "string" + }, + "x-example": "account.create" + }, + "schedule": { + "type": "string", + "description": "Function execution schedule in CRON format.", + "x-example": "5 4 * * *" + }, + "timeout": { + "type": "integer", + "description": "Function execution timeout in seconds.", + "x-example": 300, + "format": "int32" + }, + "entrypoint": { + "type": "string", + "description": "The entrypoint file used to execute the deployment.", + "x-example": "index.js" + }, + "commands": { + "type": "string", + "description": "The build command used to build the deployment.", + "x-example": "npm install" + }, + "version": { + "type": "string", + "description": "Version of Open Runtimes used for the function.", + "x-example": "v2" + }, + "installationId": { + "type": "string", + "description": "Function VCS (Version Control System) installation id.", + "x-example": "6m40at4ejk5h2u9s1hboo" + }, + "providerRepositoryId": { + "type": "string", + "description": "VCS (Version Control System) Repository ID", + "x-example": "appwrite" + }, + "providerBranch": { + "type": "string", + "description": "VCS (Version Control System) branch name", + "x-example": "main" + }, + "providerRootDirectory": { + "type": "string", + "description": "Path to function in VCS (Version Control System) repository", + "x-example": "functions\/helloWorld" + }, + "providerSilentMode": { + "type": "boolean", + "description": "Is VCS (Version Control System) connection is in silent mode? When in silence mode, no comments will be posted on the repository pull or merge requests", + "x-example": false + }, + "specification": { + "type": "string", + "description": "Machine specification for builds and executions.", + "x-example": "s-1vcpu-512mb" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "execute", + "name", + "enabled", + "live", + "logging", + "runtime", + "deployment", + "scopes", + "vars", + "events", + "schedule", + "timeout", + "entrypoint", + "commands", + "version", + "installationId", + "providerRepositoryId", + "providerBranch", + "providerRootDirectory", + "providerSilentMode", + "specification" + ] + }, + "templateFunction": { + "description": "Template Function", + "type": "object", + "properties": { + "icon": { + "type": "string", + "description": "Function Template Icon.", + "x-example": "icon-lightning-bolt" + }, + "id": { + "type": "string", + "description": "Function Template ID.", + "x-example": "starter" + }, + "name": { + "type": "string", + "description": "Function Template Name.", + "x-example": "Starter function" + }, + "tagline": { + "type": "string", + "description": "Function Template Tagline.", + "x-example": "A simple function to get started." + }, + "permissions": { + "type": "array", + "description": "Execution permissions.", + "items": { + "type": "string" + }, + "x-example": "any" + }, + "events": { + "type": "array", + "description": "Function trigger events.", + "items": { + "type": "string" + }, + "x-example": "account.create" + }, + "cron": { + "type": "string", + "description": "Function execution schedult in CRON format.", + "x-example": "0 0 * * *" + }, + "timeout": { + "type": "integer", + "description": "Function execution timeout in seconds.", + "x-example": 300, + "format": "int32" + }, + "useCases": { + "type": "array", + "description": "Function use cases.", + "items": { + "type": "string" + }, + "x-example": "Starter" + }, + "runtimes": { + "type": "array", + "description": "List of runtimes that can be used with this template.", + "items": { + "$ref": "#\/components\/schemas\/templateRuntime" + }, + "x-example": [] + }, + "instructions": { + "type": "string", + "description": "Function Template Instructions.", + "x-example": "For documentation and instructions check out <link>." + }, + "vcsProvider": { + "type": "string", + "description": "VCS (Version Control System) Provider.", + "x-example": "github" + }, + "providerRepositoryId": { + "type": "string", + "description": "VCS (Version Control System) Repository ID", + "x-example": "templates" + }, + "providerOwner": { + "type": "string", + "description": "VCS (Version Control System) Owner.", + "x-example": "appwrite" + }, + "providerVersion": { + "type": "string", + "description": "VCS (Version Control System) branch version (tag).", + "x-example": "main" + }, + "variables": { + "type": "array", + "description": "Function variables.", + "items": { + "$ref": "#\/components\/schemas\/templateVariable" + }, + "x-example": [] + }, + "scopes": { + "type": "array", + "description": "Function scopes.", + "items": { + "type": "string" + }, + "x-example": "users.read" + } + }, + "required": [ + "icon", + "id", + "name", + "tagline", + "permissions", + "events", + "cron", + "timeout", + "useCases", + "runtimes", + "instructions", + "vcsProvider", + "providerRepositoryId", + "providerOwner", + "providerVersion", + "variables", + "scopes" + ] + }, + "templateRuntime": { + "description": "Template Runtime", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Runtime Name.", + "x-example": "node-19.0" + }, + "commands": { + "type": "string", + "description": "The build command used to build the deployment.", + "x-example": "npm install" + }, + "entrypoint": { + "type": "string", + "description": "The entrypoint file used to execute the deployment.", + "x-example": "index.js" + }, + "providerRootDirectory": { + "type": "string", + "description": "Path to function in VCS (Version Control System) repository", + "x-example": "node\/starter" + } + }, + "required": [ + "name", + "commands", + "entrypoint", + "providerRootDirectory" + ] + }, + "templateVariable": { + "description": "Template Variable", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Variable Name.", + "x-example": "APPWRITE_DATABASE_ID" + }, + "description": { + "type": "string", + "description": "Variable Description.", + "x-example": "The ID of the Appwrite database that contains the collection to sync." + }, + "value": { + "type": "string", + "description": "Variable Value.", + "x-example": "512" + }, + "placeholder": { + "type": "string", + "description": "Variable Placeholder.", + "x-example": "64a55...7b912" + }, + "required": { + "type": "boolean", + "description": "Is the variable required?", + "x-example": false + }, + "type": { + "type": "string", + "description": "Variable Type.", + "x-example": "password" + } + }, + "required": [ + "name", + "description", + "value", + "placeholder", + "required", + "type" + ] + }, + "installation": { + "description": "Installation", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Function ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Function creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Function update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "provider": { + "type": "string", + "description": "VCS (Version Control System) provider name.", + "x-example": "github" + }, + "organization": { + "type": "string", + "description": "VCS (Version Control System) organization name.", + "x-example": "appwrite" + }, + "providerInstallationId": { + "type": "string", + "description": "VCS (Version Control System) installation ID.", + "x-example": "5322" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "provider", + "organization", + "providerInstallationId" + ] + }, + "providerRepository": { + "description": "ProviderRepository", + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "VCS (Version Control System) repository ID.", + "x-example": "5e5ea5c16897e" + }, + "name": { + "type": "string", + "description": "VCS (Version Control System) repository name.", + "x-example": "appwrite" + }, + "organization": { + "type": "string", + "description": "VCS (Version Control System) organization name", + "x-example": "appwrite" + }, + "provider": { + "type": "string", + "description": "VCS (Version Control System) provider name.", + "x-example": "github" + }, + "private": { + "type": "boolean", + "description": "Is VCS (Version Control System) repository private?", + "x-example": true + }, + "runtime": { + "type": "string", + "description": "Auto-detected runtime suggestion. Empty if getting response of getRuntime().", + "x-example": "node" + }, + "pushedAt": { + "type": "string", + "description": "Last commit date in ISO 8601 format.", + "x-example": "datetime" + } + }, + "required": [ + "id", + "name", + "organization", + "provider", + "private", + "runtime", + "pushedAt" + ] + }, + "detection": { + "description": "Detection", + "type": "object", + "properties": { + "runtime": { + "type": "string", + "description": "Runtime", + "x-example": "node" + } + }, + "required": [ + "runtime" + ] + }, + "vcsContent": { + "description": "VcsContents", + "type": "object", + "properties": { + "size": { + "type": "integer", + "description": "Content size in bytes. Only files have size, and for directories, 0 is returned.", + "x-example": 1523, + "format": "int32", + "nullable": true + }, + "isDirectory": { + "type": "boolean", + "description": "If a content is a directory. Directories can be used to check nested contents.", + "x-example": true, + "nullable": true + }, + "name": { + "type": "string", + "description": "Name of directory or file.", + "x-example": "Main.java" + } + }, + "required": [ + "name" + ] + }, + "branch": { + "description": "Branch", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Branch Name.", + "x-example": "main" + } + }, + "required": [ + "name" + ] + }, + "runtime": { + "description": "Runtime", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Runtime ID.", + "x-example": "python-3.8" + }, + "key": { + "type": "string", + "description": "Parent runtime key.", + "x-example": "python" + }, + "name": { + "type": "string", + "description": "Runtime Name.", + "x-example": "Python" + }, + "version": { + "type": "string", + "description": "Runtime version.", + "x-example": "3.8" + }, + "base": { + "type": "string", + "description": "Base Docker image used to build the runtime.", + "x-example": "python:3.8-alpine" + }, + "image": { + "type": "string", + "description": "Image name of Docker Hub.", + "x-example": "appwrite\\\/runtime-for-python:3.8" + }, + "logo": { + "type": "string", + "description": "Name of the logo image.", + "x-example": "python.png" + }, + "supports": { + "type": "array", + "description": "List of supported architectures.", + "items": { + "type": "string" + }, + "x-example": "amd64" + } + }, + "required": [ + "$id", + "key", + "name", + "version", + "base", + "image", + "logo", + "supports" + ] + }, + "deployment": { + "description": "Deployment", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Deployment ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Deployment creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Deployment update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "type": { + "type": "string", + "description": "Type of deployment.", + "x-example": "vcs" + }, + "resourceId": { + "type": "string", + "description": "Resource ID.", + "x-example": "5e5ea6g16897e" + }, + "resourceType": { + "type": "string", + "description": "Resource type.", + "x-example": "functions" + }, + "entrypoint": { + "type": "string", + "description": "The entrypoint file to use to execute the deployment code.", + "x-example": "index.js" + }, + "size": { + "type": "integer", + "description": "The code size in bytes.", + "x-example": 128, + "format": "int32" + }, + "buildSize": { + "type": "integer", + "description": "The build output size in bytes.", + "x-example": 128, + "format": "int32" + }, + "buildId": { + "type": "string", + "description": "The current build ID.", + "x-example": "5e5ea5c16897e" + }, + "activate": { + "type": "boolean", + "description": "Whether the deployment should be automatically activated.", + "x-example": true + }, + "status": { + "type": "string", + "description": "The deployment status. Possible values are \"processing\", \"building\", \"waiting\", \"ready\", and \"failed\".", + "x-example": "ready" + }, + "buildLogs": { + "type": "string", + "description": "The build logs.", + "x-example": "Compiling source files..." + }, + "buildTime": { + "type": "integer", + "description": "The current build time in seconds.", + "x-example": 128, + "format": "int32" + }, + "providerRepositoryName": { + "type": "string", + "description": "The name of the vcs provider repository", + "x-example": "database" + }, + "providerRepositoryOwner": { + "type": "string", + "description": "The name of the vcs provider repository owner", + "x-example": "utopia" + }, + "providerRepositoryUrl": { + "type": "string", + "description": "The url of the vcs provider repository", + "x-example": "https:\/\/github.com\/vermakhushboo\/g4-node-function" + }, + "providerBranch": { + "type": "string", + "description": "The branch of the vcs repository", + "x-example": "0.7.x" + }, + "providerCommitHash": { + "type": "string", + "description": "The commit hash of the vcs commit", + "x-example": "7c3f25d" + }, + "providerCommitAuthorUrl": { + "type": "string", + "description": "The url of vcs commit author", + "x-example": "https:\/\/github.com\/vermakhushboo" + }, + "providerCommitAuthor": { + "type": "string", + "description": "The name of vcs commit author", + "x-example": "Khushboo Verma" + }, + "providerCommitMessage": { + "type": "string", + "description": "The commit message", + "x-example": "Update index.js" + }, + "providerCommitUrl": { + "type": "string", + "description": "The url of the vcs commit", + "x-example": "https:\/\/github.com\/vermakhushboo\/g4-node-function\/commit\/60c0416257a9cbcdd96b2d370c38d8f8d150ccfb" + }, + "providerBranchUrl": { + "type": "string", + "description": "The branch of the vcs repository", + "x-example": "https:\/\/github.com\/vermakhushboo\/appwrite\/tree\/0.7.x" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "type", + "resourceId", + "resourceType", + "entrypoint", + "size", + "buildSize", + "buildId", + "activate", + "status", + "buildLogs", + "buildTime", + "providerRepositoryName", + "providerRepositoryOwner", + "providerRepositoryUrl", + "providerBranch", + "providerCommitHash", + "providerCommitAuthorUrl", + "providerCommitAuthor", + "providerCommitMessage", + "providerCommitUrl", + "providerBranchUrl" + ] + }, + "execution": { + "description": "Execution", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Execution ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Execution creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Execution upate date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$permissions": { + "type": "array", + "description": "Execution roles.", + "items": { + "type": "string" + }, + "x-example": [ + "any" + ] + }, + "functionId": { + "type": "string", + "description": "Function ID.", + "x-example": "5e5ea6g16897e" + }, + "trigger": { + "type": "string", + "description": "The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.", + "x-example": "http" + }, + "status": { + "type": "string", + "description": "The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, or `failed`.", + "x-example": "processing" + }, + "requestMethod": { + "type": "string", + "description": "HTTP request method type.", + "x-example": "GET" + }, + "requestPath": { + "type": "string", + "description": "HTTP request path and query.", + "x-example": "\/articles?id=5" + }, + "requestHeaders": { + "type": "array", + "description": "HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.", + "items": { + "$ref": "#\/components\/schemas\/headers" + }, + "x-example": [ + { + "Content-Type": "application\/json" + } + ] + }, + "responseStatusCode": { + "type": "integer", + "description": "HTTP response status code.", + "x-example": 200, + "format": "int32" + }, + "responseBody": { + "type": "string", + "description": "HTTP response body. This will return empty unless execution is created as synchronous.", + "x-example": "" + }, + "responseHeaders": { + "type": "array", + "description": "HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.", + "items": { + "$ref": "#\/components\/schemas\/headers" + }, + "x-example": [ + { + "Content-Type": "application\/json" + } + ] + }, + "logs": { + "type": "string", + "description": "Function logs. Includes the last 4,000 characters. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.", + "x-example": "" + }, + "errors": { + "type": "string", + "description": "Function errors. Includes the last 4,000 characters. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.", + "x-example": "" + }, + "duration": { + "type": "number", + "description": "Function execution duration in seconds.", + "x-example": 0.4, + "format": "double" + }, + "scheduledAt": { + "type": "string", + "description": "The scheduled time for execution. If left empty, execution will be queued immediately.", + "x-example": "2020-10-15T06:38:00.000+00:00", + "nullable": true + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "$permissions", + "functionId", + "trigger", + "status", + "requestMethod", + "requestPath", + "requestHeaders", + "responseStatusCode", + "responseBody", + "responseHeaders", + "logs", + "errors", + "duration" + ] + }, + "build": { + "description": "Build", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Build ID.", + "x-example": "5e5ea5c16897e" + }, + "deploymentId": { + "type": "string", + "description": "The deployment that created this build.", + "x-example": "5e5ea5c16897e" + }, + "status": { + "type": "string", + "description": "The build status. There are a few different types and each one means something different. \\nFailed - The deployment build has failed. More details can usually be found in buildStderr\\nReady - The deployment build was successful and the deployment is ready to be deployed\\nProcessing - The deployment is currently waiting to have a build triggered\\nBuilding - The deployment is currently being built", + "x-example": "ready" + }, + "stdout": { + "type": "string", + "description": "The stdout of the build.", + "x-example": "" + }, + "stderr": { + "type": "string", + "description": "The stderr of the build.", + "x-example": "" + }, + "startTime": { + "type": "string", + "description": "The deployment creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "endTime": { + "type": "string", + "description": "The time the build was finished in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "duration": { + "type": "integer", + "description": "The build duration in seconds.", + "x-example": 0, + "format": "int32" + }, + "size": { + "type": "integer", + "description": "The code size in bytes.", + "x-example": 128, + "format": "int32" + } + }, + "required": [ + "$id", + "deploymentId", + "status", + "stdout", + "stderr", + "startTime", + "endTime", + "duration", + "size" + ] + }, + "project": { + "description": "Project", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Project ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Project creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Project update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "Project name.", + "x-example": "New Project" + }, + "description": { + "type": "string", + "description": "Project description.", + "x-example": "This is a new project." + }, + "teamId": { + "type": "string", + "description": "Project team ID.", + "x-example": "1592981250" + }, + "logo": { + "type": "string", + "description": "Project logo file ID.", + "x-example": "5f5c451b403cb" + }, + "url": { + "type": "string", + "description": "Project website URL.", + "x-example": "5f5c451b403cb" + }, + "legalName": { + "type": "string", + "description": "Company legal name.", + "x-example": "Company LTD." + }, + "legalCountry": { + "type": "string", + "description": "Country code in [ISO 3166-1](http:\/\/en.wikipedia.org\/wiki\/ISO_3166-1) two-character format.", + "x-example": "US" + }, + "legalState": { + "type": "string", + "description": "State name.", + "x-example": "New York" + }, + "legalCity": { + "type": "string", + "description": "City name.", + "x-example": "New York City." + }, + "legalAddress": { + "type": "string", + "description": "Company Address.", + "x-example": "620 Eighth Avenue, New York, NY 10018" + }, + "legalTaxId": { + "type": "string", + "description": "Company Tax ID.", + "x-example": "131102020" + }, + "authDuration": { + "type": "integer", + "description": "Session duration in seconds.", + "x-example": 60, + "format": "int32" + }, + "authLimit": { + "type": "integer", + "description": "Max users allowed. 0 is unlimited.", + "x-example": 100, + "format": "int32" + }, + "authSessionsLimit": { + "type": "integer", + "description": "Max sessions allowed per user. 100 maximum.", + "x-example": 10, + "format": "int32" + }, + "authPasswordHistory": { + "type": "integer", + "description": "Max allowed passwords in the history list per user. Max passwords limit allowed in history is 20. Use 0 for disabling password history.", + "x-example": 5, + "format": "int32" + }, + "authPasswordDictionary": { + "type": "boolean", + "description": "Whether or not to check user's password against most commonly used passwords.", + "x-example": true + }, + "authPersonalDataCheck": { + "type": "boolean", + "description": "Whether or not to check the user password for similarity with their personal data.", + "x-example": true + }, + "authMockNumbers": { + "type": "array", + "description": "An array of mock numbers and their corresponding verification codes (OTPs).", + "items": { + "$ref": "#\/components\/schemas\/mockNumber" + }, + "x-example": [ + {} + ] + }, + "authSessionAlerts": { + "type": "boolean", + "description": "Whether or not to send session alert emails to users.", + "x-example": true + }, + "authMembershipsUserName": { + "type": "boolean", + "description": "Whether or not to show user names in the teams membership response.", + "x-example": true + }, + "authMembershipsUserEmail": { + "type": "boolean", + "description": "Whether or not to show user emails in the teams membership response.", + "x-example": true + }, + "authMembershipsMfa": { + "type": "boolean", + "description": "Whether or not to show user MFA status in the teams membership response.", + "x-example": true + }, + "oAuthProviders": { + "type": "array", + "description": "List of Auth Providers.", + "items": { + "$ref": "#\/components\/schemas\/authProvider" + }, + "x-example": [ + {} + ] + }, + "platforms": { + "type": "array", + "description": "List of Platforms.", + "items": { + "$ref": "#\/components\/schemas\/platform" + }, + "x-example": {} + }, + "webhooks": { + "type": "array", + "description": "List of Webhooks.", + "items": { + "$ref": "#\/components\/schemas\/webhook" + }, + "x-example": {} + }, + "keys": { + "type": "array", + "description": "List of API Keys.", + "items": { + "$ref": "#\/components\/schemas\/key" + }, + "x-example": {} + }, + "smtpEnabled": { + "type": "boolean", + "description": "Status for custom SMTP", + "x-example": false + }, + "smtpSenderName": { + "type": "string", + "description": "SMTP sender name", + "x-example": "John Appwrite" + }, + "smtpSenderEmail": { + "type": "string", + "description": "SMTP sender email", + "x-example": "john@appwrite.io" + }, + "smtpReplyTo": { + "type": "string", + "description": "SMTP reply to email", + "x-example": "support@appwrite.io" + }, + "smtpHost": { + "type": "string", + "description": "SMTP server host name", + "x-example": "mail.appwrite.io" + }, + "smtpPort": { + "type": "integer", + "description": "SMTP server port", + "x-example": 25, + "format": "int32" + }, + "smtpUsername": { + "type": "string", + "description": "SMTP server username", + "x-example": "emailuser" + }, + "smtpPassword": { + "type": "string", + "description": "SMTP server password", + "x-example": "securepassword" + }, + "smtpSecure": { + "type": "string", + "description": "SMTP server secure protocol", + "x-example": "tls" + }, + "pingCount": { + "type": "integer", + "description": "Number of times the ping was received for this project.", + "x-example": 1, + "format": "int32" + }, + "pingedAt": { + "type": "string", + "description": "Last ping datetime in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "authEmailPassword": { + "type": "boolean", + "description": "Email\/Password auth method status", + "x-example": true + }, + "authUsersAuthMagicURL": { + "type": "boolean", + "description": "Magic URL auth method status", + "x-example": true + }, + "authEmailOtp": { + "type": "boolean", + "description": "Email (OTP) auth method status", + "x-example": true + }, + "authAnonymous": { + "type": "boolean", + "description": "Anonymous auth method status", + "x-example": true + }, + "authInvites": { + "type": "boolean", + "description": "Invites auth method status", + "x-example": true + }, + "authJWT": { + "type": "boolean", + "description": "JWT auth method status", + "x-example": true + }, + "authPhone": { + "type": "boolean", + "description": "Phone auth method status", + "x-example": true + }, + "serviceStatusForAccount": { + "type": "boolean", + "description": "Account service status", + "x-example": true + }, + "serviceStatusForAvatars": { + "type": "boolean", + "description": "Avatars service status", + "x-example": true + }, + "serviceStatusForDatabases": { + "type": "boolean", + "description": "Databases service status", + "x-example": true + }, + "serviceStatusForLocale": { + "type": "boolean", + "description": "Locale service status", + "x-example": true + }, + "serviceStatusForHealth": { + "type": "boolean", + "description": "Health service status", + "x-example": true + }, + "serviceStatusForStorage": { + "type": "boolean", + "description": "Storage service status", + "x-example": true + }, + "serviceStatusForTeams": { + "type": "boolean", + "description": "Teams service status", + "x-example": true + }, + "serviceStatusForUsers": { + "type": "boolean", + "description": "Users service status", + "x-example": true + }, + "serviceStatusForFunctions": { + "type": "boolean", + "description": "Functions service status", + "x-example": true + }, + "serviceStatusForGraphql": { + "type": "boolean", + "description": "GraphQL service status", + "x-example": true + }, + "serviceStatusForMessaging": { + "type": "boolean", + "description": "Messaging service status", + "x-example": true + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "description", + "teamId", + "logo", + "url", + "legalName", + "legalCountry", + "legalState", + "legalCity", + "legalAddress", + "legalTaxId", + "authDuration", + "authLimit", + "authSessionsLimit", + "authPasswordHistory", + "authPasswordDictionary", + "authPersonalDataCheck", + "authMockNumbers", + "authSessionAlerts", + "authMembershipsUserName", + "authMembershipsUserEmail", + "authMembershipsMfa", + "oAuthProviders", + "platforms", + "webhooks", + "keys", + "smtpEnabled", + "smtpSenderName", + "smtpSenderEmail", + "smtpReplyTo", + "smtpHost", + "smtpPort", + "smtpUsername", + "smtpPassword", + "smtpSecure", + "pingCount", + "pingedAt", + "authEmailPassword", + "authUsersAuthMagicURL", + "authEmailOtp", + "authAnonymous", + "authInvites", + "authJWT", + "authPhone", + "serviceStatusForAccount", + "serviceStatusForAvatars", + "serviceStatusForDatabases", + "serviceStatusForLocale", + "serviceStatusForHealth", + "serviceStatusForStorage", + "serviceStatusForTeams", + "serviceStatusForUsers", + "serviceStatusForFunctions", + "serviceStatusForGraphql", + "serviceStatusForMessaging" + ] + }, + "webhook": { + "description": "Webhook", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Webhook ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Webhook creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Webhook update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "Webhook name.", + "x-example": "My Webhook" + }, + "url": { + "type": "string", + "description": "Webhook URL endpoint.", + "x-example": "https:\/\/example.com\/webhook" + }, + "events": { + "type": "array", + "description": "Webhook trigger events.", + "items": { + "type": "string" + }, + "x-example": "database.collections.update" + }, + "security": { + "type": "boolean", + "description": "Indicated if SSL \/ TLS Certificate verification is enabled.", + "x-example": true + }, + "httpUser": { + "type": "string", + "description": "HTTP basic authentication username.", + "x-example": "username" + }, + "httpPass": { + "type": "string", + "description": "HTTP basic authentication password.", + "x-example": "password" + }, + "signatureKey": { + "type": "string", + "description": "Signature key which can be used to validated incoming", + "x-example": "ad3d581ca230e2b7059c545e5a" + }, + "enabled": { + "type": "boolean", + "description": "Indicates if this webhook is enabled.", + "x-example": true + }, + "logs": { + "type": "string", + "description": "Webhook error logs from the most recent failure.", + "x-example": "Failed to connect to remote server." + }, + "attempts": { + "type": "integer", + "description": "Number of consecutive failed webhook attempts.", + "x-example": 10, + "format": "int32" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "url", + "events", + "security", + "httpUser", + "httpPass", + "signatureKey", + "enabled", + "logs", + "attempts" + ] + }, + "key": { + "description": "Key", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Key ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Key creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Key update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "Key name.", + "x-example": "My API Key" + }, + "expire": { + "type": "string", + "description": "Key expiration date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "scopes": { + "type": "array", + "description": "Allowed permission scopes.", + "items": { + "type": "string" + }, + "x-example": "users.read" + }, + "secret": { + "type": "string", + "description": "Secret key.", + "x-example": "919c2d18fb5d4...a2ae413da83346ad2" + }, + "accessedAt": { + "type": "string", + "description": "Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "sdks": { + "type": "array", + "description": "List of SDK user agents that used this key.", + "items": { + "type": "string" + }, + "x-example": "appwrite:flutter" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "expire", + "scopes", + "secret", + "accessedAt", + "sdks" + ] + }, + "mockNumber": { + "description": "Mock Number", + "type": "object", + "properties": { + "phone": { + "type": "string", + "description": "Mock phone number for testing phone authentication. Useful for testing phone authentication without sending an SMS.", + "x-example": "+1612842323" + }, + "otp": { + "type": "string", + "description": "Mock OTP for the number. ", + "x-example": "123456" + } + }, + "required": [ + "phone", + "otp" + ] + }, + "authProvider": { + "description": "AuthProvider", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Auth Provider.", + "x-example": "github" + }, + "name": { + "type": "string", + "description": "Auth Provider name.", + "x-example": "GitHub" + }, + "appId": { + "type": "string", + "description": "OAuth 2.0 application ID.", + "x-example": "259125845563242502" + }, + "secret": { + "type": "string", + "description": "OAuth 2.0 application secret. Might be JSON string if provider requires extra configuration.", + "x-example": "Bpw_g9c2TGXxfgLshDbSaL8tsCcqgczQ" + }, + "enabled": { + "type": "boolean", + "description": "Auth Provider is active and can be used to create session.", + "x-example": "" + } + }, + "required": [ + "key", + "name", + "appId", + "secret", + "enabled" + ] + }, + "platform": { + "description": "Platform", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Platform ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Platform creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Platform update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "Platform name.", + "x-example": "My Web App" + }, + "type": { + "type": "string", + "description": "Platform type. Possible values are: web, flutter-web, flutter-ios, flutter-android, ios, android, and unity.", + "x-example": "web" + }, + "key": { + "type": "string", + "description": "Platform Key. iOS bundle ID or Android package name. Empty string for other platforms.", + "x-example": "com.company.appname" + }, + "store": { + "type": "string", + "description": "App store or Google Play store ID.", + "x-example": "" + }, + "hostname": { + "type": "string", + "description": "Web app hostname. Empty string for other platforms.", + "x-example": true + }, + "httpUser": { + "type": "string", + "description": "HTTP basic authentication username.", + "x-example": "username" + }, + "httpPass": { + "type": "string", + "description": "HTTP basic authentication password.", + "x-example": "password" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "type", + "key", + "store", + "hostname", + "httpUser", + "httpPass" + ] + }, + "variable": { + "description": "Variable", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Variable ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Variable creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Variable creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "key": { + "type": "string", + "description": "Variable key.", + "x-example": "API_KEY" + }, + "value": { + "type": "string", + "description": "Variable value.", + "x-example": "myPa$$word1" + }, + "resourceType": { + "type": "string", + "description": "Service to which the variable belongs. Possible values are \"project\", \"function\"", + "x-example": "function" + }, + "resourceId": { + "type": "string", + "description": "ID of resource to which the variable belongs. If resourceType is \"project\", it is empty. If resourceType is \"function\", it is ID of the function.", + "x-example": "myAwesomeFunction" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "key", + "value", + "resourceType", + "resourceId" + ] + }, + "country": { + "description": "Country", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Country name.", + "x-example": "United States" + }, + "code": { + "type": "string", + "description": "Country two-character ISO 3166-1 alpha code.", + "x-example": "US" + } + }, + "required": [ + "name", + "code" + ] + }, + "continent": { + "description": "Continent", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Continent name.", + "x-example": "Europe" + }, + "code": { + "type": "string", + "description": "Continent two letter code.", + "x-example": "EU" + } + }, + "required": [ + "name", + "code" + ] + }, + "language": { + "description": "Language", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Language name.", + "x-example": "Italian" + }, + "code": { + "type": "string", + "description": "Language two-character ISO 639-1 codes.", + "x-example": "it" + }, + "nativeName": { + "type": "string", + "description": "Language native name.", + "x-example": "Italiano" + } + }, + "required": [ + "name", + "code", + "nativeName" + ] + }, + "currency": { + "description": "Currency", + "type": "object", + "properties": { + "symbol": { + "type": "string", + "description": "Currency symbol.", + "x-example": "$" + }, + "name": { + "type": "string", + "description": "Currency name.", + "x-example": "US dollar" + }, + "symbolNative": { + "type": "string", + "description": "Currency native symbol.", + "x-example": "$" + }, + "decimalDigits": { + "type": "integer", + "description": "Number of decimal digits.", + "x-example": 2, + "format": "int32" + }, + "rounding": { + "type": "number", + "description": "Currency digit rounding.", + "x-example": 0, + "format": "double" + }, + "code": { + "type": "string", + "description": "Currency code in [ISO 4217-1](http:\/\/en.wikipedia.org\/wiki\/ISO_4217) three-character format.", + "x-example": "USD" + }, + "namePlural": { + "type": "string", + "description": "Currency plural name", + "x-example": "US dollars" + } + }, + "required": [ + "symbol", + "name", + "symbolNative", + "decimalDigits", + "rounding", + "code", + "namePlural" + ] + }, + "phone": { + "description": "Phone", + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Phone code.", + "x-example": "+1" + }, + "countryCode": { + "type": "string", + "description": "Country two-character ISO 3166-1 alpha code.", + "x-example": "US" + }, + "countryName": { + "type": "string", + "description": "Country name.", + "x-example": "United States" + } + }, + "required": [ + "code", + "countryCode", + "countryName" + ] + }, + "healthAntivirus": { + "description": "Health Antivirus", + "type": "object", + "properties": { + "version": { + "type": "string", + "description": "Antivirus version.", + "x-example": "1.0.0" + }, + "status": { + "type": "string", + "description": "Antivirus status. Possible values can are: `disabled`, `offline`, `online`", + "x-example": "online" + } + }, + "required": [ + "version", + "status" + ] + }, + "healthQueue": { + "description": "Health Queue", + "type": "object", + "properties": { + "size": { + "type": "integer", + "description": "Amount of actions in the queue.", + "x-example": 8, + "format": "int32" + } + }, + "required": [ + "size" + ] + }, + "healthStatus": { + "description": "Health Status", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the service.", + "x-example": "database" + }, + "ping": { + "type": "integer", + "description": "Duration in milliseconds how long the health check took.", + "x-example": 128, + "format": "int32" + }, + "status": { + "type": "string", + "description": "Service status. Possible values can are: `pass`, `fail`", + "x-example": "pass" + } + }, + "required": [ + "name", + "ping", + "status" + ] + }, + "healthCertificate": { + "description": "Health Certificate", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Certificate name", + "x-example": "\/CN=www.google.com" + }, + "subjectSN": { + "type": "string", + "description": "Subject SN", + "x-example": "" + }, + "issuerOrganisation": { + "type": "string", + "description": "Issuer organisation", + "x-example": "" + }, + "validFrom": { + "type": "string", + "description": "Valid from", + "x-example": "1704200998" + }, + "validTo": { + "type": "string", + "description": "Valid to", + "x-example": "1711458597" + }, + "signatureTypeSN": { + "type": "string", + "description": "Signature type SN", + "x-example": "RSA-SHA256" + } + }, + "required": [ + "name", + "subjectSN", + "issuerOrganisation", + "validFrom", + "validTo", + "signatureTypeSN" + ] + }, + "healthTime": { + "description": "Health Time", + "type": "object", + "properties": { + "remoteTime": { + "type": "integer", + "description": "Current unix timestamp on trustful remote server.", + "x-example": 1639490751, + "format": "int32" + }, + "localTime": { + "type": "integer", + "description": "Current unix timestamp of local server where Appwrite runs.", + "x-example": 1639490844, + "format": "int32" + }, + "diff": { + "type": "integer", + "description": "Difference of unix remote and local timestamps in milliseconds.", + "x-example": 93, + "format": "int32" + } + }, + "required": [ + "remoteTime", + "localTime", + "diff" + ] + }, + "metric": { + "description": "Metric", + "type": "object", + "properties": { + "value": { + "type": "integer", + "description": "The value of this metric at the timestamp.", + "x-example": 1, + "format": "int32" + }, + "date": { + "type": "string", + "description": "The date at which this metric was aggregated in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + } + }, + "required": [ + "value", + "date" + ] + }, + "metricBreakdown": { + "description": "Metric Breakdown", + "type": "object", + "properties": { + "resourceId": { + "type": "string", + "description": "Resource ID.", + "x-example": "5e5ea5c16897e", + "nullable": true + }, + "name": { + "type": "string", + "description": "Resource name.", + "x-example": "Documents" + }, + "value": { + "type": "integer", + "description": "The value of this metric at the timestamp.", + "x-example": 1, + "format": "int32" + }, + "estimate": { + "type": "number", + "description": "The estimated value of this metric at the end of the period.", + "x-example": 1, + "format": "double", + "nullable": true + } + }, + "required": [ + "name", + "value" + ] + }, + "usageDatabases": { + "description": "UsageDatabases", + "type": "object", + "properties": { + "range": { + "type": "string", + "description": "Time range of the usage stats.", + "x-example": "30d" + }, + "databasesTotal": { + "type": "integer", + "description": "Total aggregated number of databases.", + "x-example": 0, + "format": "int32" + }, + "collectionsTotal": { + "type": "integer", + "description": "Total aggregated number of collections.", + "x-example": 0, + "format": "int32" + }, + "documentsTotal": { + "type": "integer", + "description": "Total aggregated number of documents.", + "x-example": 0, + "format": "int32" + }, + "storageTotal": { + "type": "integer", + "description": "Total aggregated number of total databases storage in bytes.", + "x-example": 0, + "format": "int32" + }, + "databasesReadsTotal": { + "type": "integer", + "description": "Total number of databases reads.", + "x-example": 0, + "format": "int32" + }, + "databasesWritesTotal": { + "type": "integer", + "description": "Total number of databases writes.", + "x-example": 0, + "format": "int32" + }, + "databases": { + "type": "array", + "description": "Aggregated number of databases per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "collections": { + "type": "array", + "description": "Aggregated number of collections per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "documents": { + "type": "array", + "description": "Aggregated number of documents per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "storage": { + "type": "array", + "description": "An array of the aggregated number of databases storage in bytes per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "databasesReads": { + "type": "array", + "description": "An array of aggregated number of database reads.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "databasesWrites": { + "type": "array", + "description": "An array of aggregated number of database writes.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + } + }, + "required": [ + "range", + "databasesTotal", + "collectionsTotal", + "documentsTotal", + "storageTotal", + "databasesReadsTotal", + "databasesWritesTotal", + "databases", + "collections", + "documents", + "storage", + "databasesReads", + "databasesWrites" + ] + }, + "usageDatabase": { + "description": "UsageDatabase", + "type": "object", + "properties": { + "range": { + "type": "string", + "description": "Time range of the usage stats.", + "x-example": "30d" + }, + "collectionsTotal": { + "type": "integer", + "description": "Total aggregated number of collections.", + "x-example": 0, + "format": "int32" + }, + "documentsTotal": { + "type": "integer", + "description": "Total aggregated number of documents.", + "x-example": 0, + "format": "int32" + }, + "storageTotal": { + "type": "integer", + "description": "Total aggregated number of total storage used in bytes.", + "x-example": 0, + "format": "int32" + }, + "databaseReadsTotal": { + "type": "integer", + "description": "Total number of databases reads.", + "x-example": 0, + "format": "int32" + }, + "databaseWritesTotal": { + "type": "integer", + "description": "Total number of databases writes.", + "x-example": 0, + "format": "int32" + }, + "collections": { + "type": "array", + "description": "Aggregated number of collections per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "documents": { + "type": "array", + "description": "Aggregated number of documents per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "storage": { + "type": "array", + "description": "Aggregated storage used in bytes per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "databaseReads": { + "type": "array", + "description": "An array of aggregated number of database reads.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "databaseWrites": { + "type": "array", + "description": "An array of aggregated number of database writes.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + } + }, + "required": [ + "range", + "collectionsTotal", + "documentsTotal", + "storageTotal", + "databaseReadsTotal", + "databaseWritesTotal", + "collections", + "documents", + "storage", + "databaseReads", + "databaseWrites" + ] + }, + "usageCollection": { + "description": "UsageCollection", + "type": "object", + "properties": { + "range": { + "type": "string", + "description": "Time range of the usage stats.", + "x-example": "30d" + }, + "documentsTotal": { + "type": "integer", + "description": "Total aggregated number of of documents.", + "x-example": 0, + "format": "int32" + }, + "documents": { + "type": "array", + "description": "Aggregated number of documents per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + } + }, + "required": [ + "range", + "documentsTotal", + "documents" + ] + }, + "usageUsers": { + "description": "UsageUsers", + "type": "object", + "properties": { + "range": { + "type": "string", + "description": "Time range of the usage stats.", + "x-example": "30d" + }, + "usersTotal": { + "type": "integer", + "description": "Total aggregated number of statistics of users.", + "x-example": 0, + "format": "int32" + }, + "sessionsTotal": { + "type": "integer", + "description": "Total aggregated number of active sessions.", + "x-example": 0, + "format": "int32" + }, + "users": { + "type": "array", + "description": "Aggregated number of users per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "sessions": { + "type": "array", + "description": "Aggregated number of active sessions per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + } + }, + "required": [ + "range", + "usersTotal", + "sessionsTotal", + "users", + "sessions" + ] + }, + "usageStorage": { + "description": "StorageUsage", + "type": "object", + "properties": { + "range": { + "type": "string", + "description": "Time range of the usage stats.", + "x-example": "30d" + }, + "bucketsTotal": { + "type": "integer", + "description": "Total aggregated number of buckets", + "x-example": 0, + "format": "int32" + }, + "filesTotal": { + "type": "integer", + "description": "Total aggregated number of files.", + "x-example": 0, + "format": "int32" + }, + "filesStorageTotal": { + "type": "integer", + "description": "Total aggregated number of files storage (in bytes).", + "x-example": 0, + "format": "int32" + }, + "buckets": { + "type": "array", + "description": "Aggregated number of buckets per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "files": { + "type": "array", + "description": "Aggregated number of files per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "storage": { + "type": "array", + "description": "Aggregated number of files storage (in bytes) per period .", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + } + }, + "required": [ + "range", + "bucketsTotal", + "filesTotal", + "filesStorageTotal", + "buckets", + "files", + "storage" + ] + }, + "usageBuckets": { + "description": "UsageBuckets", + "type": "object", + "properties": { + "range": { + "type": "string", + "description": "Time range of the usage stats.", + "x-example": "30d" + }, + "filesTotal": { + "type": "integer", + "description": "Total aggregated number of bucket files.", + "x-example": 0, + "format": "int32" + }, + "filesStorageTotal": { + "type": "integer", + "description": "Total aggregated number of bucket files storage (in bytes).", + "x-example": 0, + "format": "int32" + }, + "files": { + "type": "array", + "description": "Aggregated number of bucket files per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "storage": { + "type": "array", + "description": "Aggregated number of bucket storage files (in bytes) per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "imageTransformations": { + "type": "array", + "description": "Aggregated number of files transformations per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "imageTransformationsTotal": { + "type": "integer", + "description": "Total aggregated number of files transformations.", + "x-example": 0, + "format": "int32" + } + }, + "required": [ + "range", + "filesTotal", + "filesStorageTotal", + "files", + "storage", + "imageTransformations", + "imageTransformationsTotal" + ] + }, + "usageFunctions": { + "description": "UsageFunctions", + "type": "object", + "properties": { + "range": { + "type": "string", + "description": "Time range of the usage stats.", + "x-example": "30d" + }, + "functionsTotal": { + "type": "integer", + "description": "Total aggregated number of functions.", + "x-example": 0, + "format": "int32" + }, + "deploymentsTotal": { + "type": "integer", + "description": "Total aggregated number of functions deployments.", + "x-example": 0, + "format": "int32" + }, + "deploymentsStorageTotal": { + "type": "integer", + "description": "Total aggregated sum of functions deployment storage.", + "x-example": 0, + "format": "int32" + }, + "buildsTotal": { + "type": "integer", + "description": "Total aggregated number of functions build.", + "x-example": 0, + "format": "int32" + }, + "buildsStorageTotal": { + "type": "integer", + "description": "total aggregated sum of functions build storage.", + "x-example": 0, + "format": "int32" + }, + "buildsTimeTotal": { + "type": "integer", + "description": "Total aggregated sum of functions build compute time.", + "x-example": 0, + "format": "int32" + }, + "buildsMbSecondsTotal": { + "type": "integer", + "description": "Total aggregated sum of functions build mbSeconds.", + "x-example": 0, + "format": "int32" + }, + "executionsTotal": { + "type": "integer", + "description": "Total aggregated number of functions execution.", + "x-example": 0, + "format": "int32" + }, + "executionsTimeTotal": { + "type": "integer", + "description": "Total aggregated sum of functions execution compute time.", + "x-example": 0, + "format": "int32" + }, + "executionsMbSecondsTotal": { + "type": "integer", + "description": "Total aggregated sum of functions execution mbSeconds.", + "x-example": 0, + "format": "int32" + }, + "functions": { + "type": "array", + "description": "Aggregated number of functions per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": 0 + }, + "deployments": { + "type": "array", + "description": "Aggregated number of functions deployment per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "deploymentsStorage": { + "type": "array", + "description": "Aggregated number of functions deployment storage per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "builds": { + "type": "array", + "description": "Aggregated number of functions build per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "buildsStorage": { + "type": "array", + "description": "Aggregated sum of functions build storage per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "buildsTime": { + "type": "array", + "description": "Aggregated sum of functions build compute time per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "buildsMbSeconds": { + "type": "array", + "description": "Aggregated sum of functions build mbSeconds per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "executions": { + "type": "array", + "description": "Aggregated number of functions execution per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "executionsTime": { + "type": "array", + "description": "Aggregated number of functions execution compute time per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "executionsMbSeconds": { + "type": "array", + "description": "Aggregated number of functions mbSeconds per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + } + }, + "required": [ + "range", + "functionsTotal", + "deploymentsTotal", + "deploymentsStorageTotal", + "buildsTotal", + "buildsStorageTotal", + "buildsTimeTotal", + "buildsMbSecondsTotal", + "executionsTotal", + "executionsTimeTotal", + "executionsMbSecondsTotal", + "functions", + "deployments", + "deploymentsStorage", + "builds", + "buildsStorage", + "buildsTime", + "buildsMbSeconds", + "executions", + "executionsTime", + "executionsMbSeconds" + ] + }, + "usageFunction": { + "description": "UsageFunction", + "type": "object", + "properties": { + "range": { + "type": "string", + "description": "The time range of the usage stats.", + "x-example": "30d" + }, + "deploymentsTotal": { + "type": "integer", + "description": "Total aggregated number of function deployments.", + "x-example": 0, + "format": "int32" + }, + "deploymentsStorageTotal": { + "type": "integer", + "description": "Total aggregated sum of function deployments storage.", + "x-example": 0, + "format": "int32" + }, + "buildsTotal": { + "type": "integer", + "description": "Total aggregated number of function builds.", + "x-example": 0, + "format": "int32" + }, + "buildsStorageTotal": { + "type": "integer", + "description": "total aggregated sum of function builds storage.", + "x-example": 0, + "format": "int32" + }, + "buildsTimeTotal": { + "type": "integer", + "description": "Total aggregated sum of function builds compute time.", + "x-example": 0, + "format": "int32" + }, + "buildsMbSecondsTotal": { + "type": "integer", + "description": "Total aggregated sum of function builds mbSeconds.", + "x-example": 0, + "format": "int32" + }, + "executionsTotal": { + "type": "integer", + "description": "Total aggregated number of function executions.", + "x-example": 0, + "format": "int32" + }, + "executionsTimeTotal": { + "type": "integer", + "description": "Total aggregated sum of function executions compute time.", + "x-example": 0, + "format": "int32" + }, + "executionsMbSecondsTotal": { + "type": "integer", + "description": "Total aggregated sum of function executions mbSeconds.", + "x-example": 0, + "format": "int32" + }, + "deployments": { + "type": "array", + "description": "Aggregated number of function deployments per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "deploymentsStorage": { + "type": "array", + "description": "Aggregated number of function deployments storage per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "builds": { + "type": "array", + "description": "Aggregated number of function builds per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "buildsStorage": { + "type": "array", + "description": "Aggregated sum of function builds storage per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "buildsTime": { + "type": "array", + "description": "Aggregated sum of function builds compute time per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "buildsMbSeconds": { + "type": "array", + "description": "Aggregated number of function builds mbSeconds per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "executions": { + "type": "array", + "description": "Aggregated number of function executions per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "executionsTime": { + "type": "array", + "description": "Aggregated number of function executions compute time per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "executionsMbSeconds": { + "type": "array", + "description": "Aggregated number of function mbSeconds per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + } + }, + "required": [ + "range", + "deploymentsTotal", + "deploymentsStorageTotal", + "buildsTotal", + "buildsStorageTotal", + "buildsTimeTotal", + "buildsMbSecondsTotal", + "executionsTotal", + "executionsTimeTotal", + "executionsMbSecondsTotal", + "deployments", + "deploymentsStorage", + "builds", + "buildsStorage", + "buildsTime", + "buildsMbSeconds", + "executions", + "executionsTime", + "executionsMbSeconds" + ] + }, + "usageProject": { + "description": "UsageProject", + "type": "object", + "properties": { + "executionsTotal": { + "type": "integer", + "description": "Total aggregated number of function executions.", + "x-example": 0, + "format": "int32" + }, + "documentsTotal": { + "type": "integer", + "description": "Total aggregated number of documents.", + "x-example": 0, + "format": "int32" + }, + "databasesTotal": { + "type": "integer", + "description": "Total aggregated number of databases.", + "x-example": 0, + "format": "int32" + }, + "databasesStorageTotal": { + "type": "integer", + "description": "Total aggregated sum of databases storage size (in bytes).", + "x-example": 0, + "format": "int32" + }, + "usersTotal": { + "type": "integer", + "description": "Total aggregated number of users.", + "x-example": 0, + "format": "int32" + }, + "filesStorageTotal": { + "type": "integer", + "description": "Total aggregated sum of files storage size (in bytes).", + "x-example": 0, + "format": "int32" + }, + "functionsStorageTotal": { + "type": "integer", + "description": "Total aggregated sum of functions storage size (in bytes).", + "x-example": 0, + "format": "int32" + }, + "buildsStorageTotal": { + "type": "integer", + "description": "Total aggregated sum of builds storage size (in bytes).", + "x-example": 0, + "format": "int32" + }, + "deploymentsStorageTotal": { + "type": "integer", + "description": "Total aggregated sum of deployments storage size (in bytes).", + "x-example": 0, + "format": "int32" + }, + "bucketsTotal": { + "type": "integer", + "description": "Total aggregated number of buckets.", + "x-example": 0, + "format": "int32" + }, + "executionsMbSecondsTotal": { + "type": "integer", + "description": "Total aggregated number of function executions mbSeconds.", + "x-example": 0, + "format": "int32" + }, + "buildsMbSecondsTotal": { + "type": "integer", + "description": "Total aggregated number of function builds mbSeconds.", + "x-example": 0, + "format": "int32" + }, + "databasesReadsTotal": { + "type": "integer", + "description": "Total number of databases reads.", + "x-example": 0, + "format": "int32" + }, + "databasesWritesTotal": { + "type": "integer", + "description": "Total number of databases writes.", + "x-example": 0, + "format": "int32" + }, + "requests": { + "type": "array", + "description": "Aggregated number of requests per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "network": { + "type": "array", + "description": "Aggregated number of consumed bandwidth per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "users": { + "type": "array", + "description": "Aggregated number of users per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "executions": { + "type": "array", + "description": "Aggregated number of executions per period.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "executionsBreakdown": { + "type": "array", + "description": "Aggregated breakdown in totals of executions by functions.", + "items": { + "$ref": "#\/components\/schemas\/metricBreakdown" + }, + "x-example": [] + }, + "bucketsBreakdown": { + "type": "array", + "description": "Aggregated breakdown in totals of usage by buckets.", + "items": { + "$ref": "#\/components\/schemas\/metricBreakdown" + }, + "x-example": [] + }, + "databasesStorageBreakdown": { + "type": "array", + "description": "An array of the aggregated breakdown of storage usage by databases.", + "items": { + "$ref": "#\/components\/schemas\/metricBreakdown" + }, + "x-example": [] + }, + "executionsMbSecondsBreakdown": { + "type": "array", + "description": "Aggregated breakdown in totals of execution mbSeconds by functions.", + "items": { + "$ref": "#\/components\/schemas\/metricBreakdown" + }, + "x-example": [] + }, + "buildsMbSecondsBreakdown": { + "type": "array", + "description": "Aggregated breakdown in totals of build mbSeconds by functions.", + "items": { + "$ref": "#\/components\/schemas\/metricBreakdown" + }, + "x-example": [] + }, + "functionsStorageBreakdown": { + "type": "array", + "description": "Aggregated breakdown in totals of functions storage size (in bytes).", + "items": { + "$ref": "#\/components\/schemas\/metricBreakdown" + }, + "x-example": [] + }, + "authPhoneTotal": { + "type": "integer", + "description": "Total aggregated number of phone auth.", + "x-example": 0, + "format": "int32" + }, + "authPhoneEstimate": { + "type": "number", + "description": "Estimated total aggregated cost of phone auth.", + "x-example": 0, + "format": "double" + }, + "authPhoneCountryBreakdown": { + "type": "array", + "description": "Aggregated breakdown in totals of phone auth by country.", + "items": { + "$ref": "#\/components\/schemas\/metricBreakdown" + }, + "x-example": [] + }, + "databasesReads": { + "type": "array", + "description": "An array of aggregated number of database reads.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "databasesWrites": { + "type": "array", + "description": "An array of aggregated number of database writes.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "imageTransformations": { + "type": "array", + "description": "An array of aggregated number of image transformations.", + "items": { + "$ref": "#\/components\/schemas\/metric" + }, + "x-example": [] + }, + "imageTransformationsTotal": { + "type": "integer", + "description": "Total aggregated number of image transformations.", + "x-example": 0, + "format": "int32" + } + }, + "required": [ + "executionsTotal", + "documentsTotal", + "databasesTotal", + "databasesStorageTotal", + "usersTotal", + "filesStorageTotal", + "functionsStorageTotal", + "buildsStorageTotal", + "deploymentsStorageTotal", + "bucketsTotal", + "executionsMbSecondsTotal", + "buildsMbSecondsTotal", + "databasesReadsTotal", + "databasesWritesTotal", + "requests", + "network", + "users", + "executions", + "executionsBreakdown", + "bucketsBreakdown", + "databasesStorageBreakdown", + "executionsMbSecondsBreakdown", + "buildsMbSecondsBreakdown", + "functionsStorageBreakdown", + "authPhoneTotal", + "authPhoneEstimate", + "authPhoneCountryBreakdown", + "databasesReads", + "databasesWrites", + "imageTransformations", + "imageTransformationsTotal" + ] + }, + "headers": { + "description": "Headers", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Header name.", + "x-example": "Content-Type" + }, + "value": { + "type": "string", + "description": "Header value.", + "x-example": "application\/json" + } + }, + "required": [ + "name", + "value" + ] + }, + "specification": { + "description": "Specification", + "type": "object", + "properties": { + "memory": { + "type": "integer", + "description": "Memory size in MB.", + "x-example": 512, + "format": "int32" + }, + "cpus": { + "type": "number", + "description": "Number of CPUs.", + "x-example": 1, + "format": "double" + }, + "enabled": { + "type": "boolean", + "description": "Is size enabled.", + "x-example": true + }, + "slug": { + "type": "string", + "description": "Size slug.", + "x-example": "s-1vcpu-512mb" + } + }, + "required": [ + "memory", + "cpus", + "enabled", + "slug" + ] + }, + "proxyRule": { + "description": "Rule", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Rule ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Rule creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Rule update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "domain": { + "type": "string", + "description": "Domain name.", + "x-example": "appwrite.company.com" + }, + "resourceType": { + "type": "string", + "description": "Action definition for the rule. Possible values are \"api\", \"function\", or \"redirect\"", + "x-example": "function" + }, + "resourceId": { + "type": "string", + "description": "ID of resource for the action type. If resourceType is \"api\" or \"url\", it is empty. If resourceType is \"function\", it is ID of the function.", + "x-example": "myAwesomeFunction" + }, + "status": { + "type": "string", + "description": "Domain verification status. Possible values are \"created\", \"verifying\", \"verified\" and \"unverified\"", + "x-example": "verified" + }, + "logs": { + "type": "string", + "description": "Certificate generation logs. This will return an empty string if generation did not run, or succeeded.", + "x-example": "HTTP challegne failed." + }, + "renewAt": { + "type": "string", + "description": "Certificate auto-renewal date in ISO 8601 format.", + "x-example": "datetime" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "domain", + "resourceType", + "resourceId", + "status", + "logs", + "renewAt" + ] + }, + "smsTemplate": { + "description": "SmsTemplate", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Template type", + "x-example": "verification" + }, + "locale": { + "type": "string", + "description": "Template locale", + "x-example": "en_us" + }, + "message": { + "type": "string", + "description": "Template message", + "x-example": "Click on the link to verify your account." + } + }, + "required": [ + "type", + "locale", + "message" + ] + }, + "emailTemplate": { + "description": "EmailTemplate", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Template type", + "x-example": "verification" + }, + "locale": { + "type": "string", + "description": "Template locale", + "x-example": "en_us" + }, + "message": { + "type": "string", + "description": "Template message", + "x-example": "Click on the link to verify your account." + }, + "senderName": { + "type": "string", + "description": "Name of the sender", + "x-example": "My User" + }, + "senderEmail": { + "type": "string", + "description": "Email of the sender", + "x-example": "mail@appwrite.io" + }, + "replyTo": { + "type": "string", + "description": "Reply to email address", + "x-example": "emails@appwrite.io" + }, + "subject": { + "type": "string", + "description": "Email subject", + "x-example": "Please verify your email address" + } + }, + "required": [ + "type", + "locale", + "message", + "senderName", + "senderEmail", + "replyTo", + "subject" + ] + }, + "consoleVariables": { + "description": "Console Variables", + "type": "object", + "properties": { + "_APP_DOMAIN_TARGET": { + "type": "string", + "description": "CNAME target for your Appwrite custom domains.", + "x-example": "appwrite.io" + }, + "_APP_STORAGE_LIMIT": { + "type": "integer", + "description": "Maximum file size allowed for file upload in bytes.", + "x-example": "30000000", + "format": "int32" + }, + "_APP_FUNCTIONS_SIZE_LIMIT": { + "type": "integer", + "description": "Maximum file size allowed for deployment in bytes.", + "x-example": "30000000", + "format": "int32" + }, + "_APP_USAGE_STATS": { + "type": "string", + "description": "Defines if usage stats are enabled. This value is set to 'enabled' by default, to disable the usage stats set the value to 'disabled'.", + "x-example": "enabled" + }, + "_APP_VCS_ENABLED": { + "type": "boolean", + "description": "Defines if VCS (Version Control System) is enabled.", + "x-example": true + }, + "_APP_DOMAIN_ENABLED": { + "type": "boolean", + "description": "Defines if main domain is configured. If so, custom domains can be created.", + "x-example": true + }, + "_APP_ASSISTANT_ENABLED": { + "type": "boolean", + "description": "Defines if AI assistant is enabled.", + "x-example": true + } + }, + "required": [ + "_APP_DOMAIN_TARGET", + "_APP_STORAGE_LIMIT", + "_APP_FUNCTIONS_SIZE_LIMIT", + "_APP_USAGE_STATS", + "_APP_VCS_ENABLED", + "_APP_DOMAIN_ENABLED", + "_APP_ASSISTANT_ENABLED" + ] + }, + "mfaChallenge": { + "description": "MFA Challenge", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Token ID.", + "x-example": "bb8ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Token creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "5e5ea5c168bb8" + }, + "expire": { + "type": "string", + "description": "Token expiration date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + } + }, + "required": [ + "$id", + "$createdAt", + "userId", + "expire" + ] + }, + "mfaRecoveryCodes": { + "description": "MFA Recovery Codes", + "type": "object", + "properties": { + "recoveryCodes": { + "type": "array", + "description": "Recovery codes.", + "items": { + "type": "string" + }, + "x-example": [ + "a3kf0-s0cl2", + "s0co1-as98s" + ] + } + }, + "required": [ + "recoveryCodes" + ] + }, + "mfaType": { + "description": "MFAType", + "type": "object", + "properties": { + "secret": { + "type": "string", + "description": "Secret token used for TOTP factor.", + "x-example": true + }, + "uri": { + "type": "string", + "description": "URI for authenticator apps.", + "x-example": true + } + }, + "required": [ + "secret", + "uri" + ] + }, + "mfaFactors": { + "description": "MFAFactors", + "type": "object", + "properties": { + "totp": { + "type": "boolean", + "description": "Can TOTP be used for MFA challenge for this account.", + "x-example": true + }, + "phone": { + "type": "boolean", + "description": "Can phone (SMS) be used for MFA challenge for this account.", + "x-example": true + }, + "email": { + "type": "boolean", + "description": "Can email be used for MFA challenge for this account.", + "x-example": true + }, + "recoveryCode": { + "type": "boolean", + "description": "Can recovery code be used for MFA challenge for this account.", + "x-example": true + } + }, + "required": [ + "totp", + "phone", + "email", + "recoveryCode" + ] + }, + "provider": { + "description": "Provider", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Provider ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Provider creation time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Provider update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "The name for the provider instance.", + "x-example": "Mailgun" + }, + "provider": { + "type": "string", + "description": "The name of the provider service.", + "x-example": "mailgun" + }, + "enabled": { + "type": "boolean", + "description": "Is provider enabled?", + "x-example": true + }, + "type": { + "type": "string", + "description": "Type of provider.", + "x-example": "sms" + }, + "credentials": { + "type": "object", + "description": "Provider credentials.", + "x-example": { + "key": "123456789" + } + }, + "options": { + "type": "object", + "description": "Provider options.", + "x-example": { + "from": "sender-email@mydomain" + }, + "nullable": true + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "provider", + "enabled", + "type", + "credentials" + ] + }, + "message": { + "description": "Message", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Message ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Message creation time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Message update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "providerType": { + "type": "string", + "description": "Message provider type.", + "x-example": "email" + }, + "topics": { + "type": "array", + "description": "Topic IDs set as recipients.", + "items": { + "type": "string" + }, + "x-example": [ + "5e5ea5c16897e" + ] + }, + "users": { + "type": "array", + "description": "User IDs set as recipients.", + "items": { + "type": "string" + }, + "x-example": [ + "5e5ea5c16897e" + ] + }, + "targets": { + "type": "array", + "description": "Target IDs set as recipients.", + "items": { + "type": "string" + }, + "x-example": [ + "5e5ea5c16897e" + ] + }, + "scheduledAt": { + "type": "string", + "description": "The scheduled time for message.", + "x-example": "2020-10-15T06:38:00.000+00:00", + "nullable": true + }, + "deliveredAt": { + "type": "string", + "description": "The time when the message was delivered.", + "x-example": "2020-10-15T06:38:00.000+00:00", + "nullable": true + }, + "deliveryErrors": { + "type": "array", + "description": "Delivery errors if any.", + "items": { + "type": "string" + }, + "x-example": [ + "Failed to send message to target 5e5ea5c16897e: Credentials not valid." + ], + "nullable": true + }, + "deliveredTotal": { + "type": "integer", + "description": "Number of recipients the message was delivered to.", + "x-example": 1, + "format": "int32" + }, + "data": { + "type": "object", + "description": "Data of the message.", + "x-example": { + "subject": "Welcome to Appwrite", + "content": "Hi there, welcome to Appwrite family." + } + }, + "status": { + "type": "string", + "description": "Status of delivery.", + "x-example": "Message status can be one of the following: draft, processing, scheduled, sent, or failed." + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "providerType", + "topics", + "users", + "targets", + "deliveredTotal", + "data", + "status" + ] + }, + "topic": { + "description": "Topic", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Topic ID.", + "x-example": "259125845563242502" + }, + "$createdAt": { + "type": "string", + "description": "Topic creation time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Topic update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "The name of the topic.", + "x-example": "events" + }, + "emailTotal": { + "type": "integer", + "description": "Total count of email subscribers subscribed to the topic.", + "x-example": 100, + "format": "int32" + }, + "smsTotal": { + "type": "integer", + "description": "Total count of SMS subscribers subscribed to the topic.", + "x-example": 100, + "format": "int32" + }, + "pushTotal": { + "type": "integer", + "description": "Total count of push subscribers subscribed to the topic.", + "x-example": 100, + "format": "int32" + }, + "subscribe": { + "type": "array", + "description": "Subscribe permissions.", + "items": { + "type": "string" + }, + "x-example": "users" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "emailTotal", + "smsTotal", + "pushTotal", + "subscribe" + ] + }, + "subscriber": { + "description": "Subscriber", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Subscriber ID.", + "x-example": "259125845563242502" + }, + "$createdAt": { + "type": "string", + "description": "Subscriber creation time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Subscriber update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "targetId": { + "type": "string", + "description": "Target ID.", + "x-example": "259125845563242502" + }, + "target": { + "type": "object", + "description": "Target.", + "x-example": { + "$id": "259125845563242502", + "$createdAt": "2020-10-15T06:38:00.000+00:00", + "$updatedAt": "2020-10-15T06:38:00.000+00:00", + "providerType": "email", + "providerId": "259125845563242502", + "name": "ageon-app-email", + "identifier": "random-mail@email.org", + "userId": "5e5ea5c16897e" + }, + "items": { + "$ref": "#\/components\/schemas\/target" + } + }, + "userId": { + "type": "string", + "description": "Topic ID.", + "x-example": "5e5ea5c16897e" + }, + "userName": { + "type": "string", + "description": "User Name.", + "x-example": "Aegon Targaryen" + }, + "topicId": { + "type": "string", + "description": "Topic ID.", + "x-example": "259125845563242502" + }, + "providerType": { + "type": "string", + "description": "The target provider type. Can be one of the following: `email`, `sms` or `push`.", + "x-example": "email" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "targetId", + "target", + "userId", + "userName", + "topicId", + "providerType" + ] + }, + "target": { + "description": "Target", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Target ID.", + "x-example": "259125845563242502" + }, + "$createdAt": { + "type": "string", + "description": "Target creation time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Target update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "Target Name.", + "x-example": "Apple iPhone 12" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "259125845563242502" + }, + "providerId": { + "type": "string", + "description": "Provider ID.", + "x-example": "259125845563242502", + "nullable": true + }, + "providerType": { + "type": "string", + "description": "The target provider type. Can be one of the following: `email`, `sms` or `push`.", + "x-example": "email" + }, + "identifier": { + "type": "string", + "description": "The target identifier.", + "x-example": "token" + }, + "expired": { + "type": "boolean", + "description": "Is the target expired.", + "x-example": false + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "userId", + "providerType", + "identifier", + "expired" + ] + }, + "migration": { + "description": "Migration", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Migration ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Migration creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Variable creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "status": { + "type": "string", + "description": "Migration status ( pending, processing, failed, completed ) ", + "x-example": "pending" + }, + "stage": { + "type": "string", + "description": "Migration stage ( init, processing, source-check, destination-check, migrating, finished )", + "x-example": "init" + }, + "source": { + "type": "string", + "description": "A string containing the type of source of the migration.", + "x-example": "Appwrite" + }, + "destination": { + "type": "string", + "description": "A string containing the type of destination of the migration.", + "x-example": "Appwrite" + }, + "resources": { + "type": "array", + "description": "Resources to migrate.", + "items": { + "type": "string" + }, + "x-example": [ + "user" + ] + }, + "statusCounters": { + "type": "object", + "description": "A group of counters that represent the total progress of the migration.", + "x-example": "{\"Database\": {\"PENDING\": 0, \"SUCCESS\": 1, \"ERROR\": 0, \"SKIP\": 0, \"PROCESSING\": 0, \"WARNING\": 0}}" + }, + "resourceData": { + "type": "object", + "description": "An array of objects containing the report data of the resources that were migrated.", + "x-example": "[{\"resource\":\"Database\",\"id\":\"public\",\"status\":\"SUCCESS\",\"message\":\"\"}]" + }, + "errors": { + "type": "array", + "description": "All errors that occurred during the migration process.", + "items": { + "type": "string" + }, + "x-example": [] + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "status", + "stage", + "source", + "destination", + "resources", + "statusCounters", + "resourceData", + "errors" + ] + }, + "migrationReport": { + "description": "Migration Report", + "type": "object", + "properties": { + "user": { + "type": "integer", + "description": "Number of users to be migrated.", + "x-example": 20, + "format": "int32" + }, + "team": { + "type": "integer", + "description": "Number of teams to be migrated.", + "x-example": 20, + "format": "int32" + }, + "database": { + "type": "integer", + "description": "Number of databases to be migrated.", + "x-example": 20, + "format": "int32" + }, + "document": { + "type": "integer", + "description": "Number of documents to be migrated.", + "x-example": 20, + "format": "int32" + }, + "file": { + "type": "integer", + "description": "Number of files to be migrated.", + "x-example": 20, + "format": "int32" + }, + "bucket": { + "type": "integer", + "description": "Number of buckets to be migrated.", + "x-example": 20, + "format": "int32" + }, + "function": { + "type": "integer", + "description": "Number of functions to be migrated.", + "x-example": 20, + "format": "int32" + }, + "size": { + "type": "integer", + "description": "Size of files to be migrated in mb.", + "x-example": 30000, + "format": "int32" + }, + "version": { + "type": "string", + "description": "Version of the Appwrite instance to be migrated.", + "x-example": "1.4.0" + } + }, + "required": [ + "user", + "team", + "database", + "document", + "file", + "bucket", + "function", + "size", + "version" + ] + } + }, + "securitySchemes": { + "Project": { + "type": "apiKey", + "name": "X-Appwrite-Project", + "description": "Your project ID", + "in": "header", + "x-appwrite": { + "demo": "<YOUR_PROJECT_ID>" + } + }, + "Key": { + "type": "apiKey", + "name": "X-Appwrite-Key", + "description": "Your secret API key", + "in": "header", + "x-appwrite": { + "demo": "<YOUR_API_KEY>" + } + }, + "JWT": { + "type": "apiKey", + "name": "X-Appwrite-JWT", + "description": "Your secret JSON Web Token", + "in": "header" + }, + "Locale": { + "type": "apiKey", + "name": "X-Appwrite-Locale", + "description": "", + "in": "header", + "x-appwrite": { + "demo": "en" + } + }, + "Mode": { + "type": "apiKey", + "name": "X-Appwrite-Mode", + "description": "", + "in": "header", + "x-appwrite": { + "demo": "" + } + } + } + }, + "externalDocs": { + "description": "Full API docs, specs and tutorials", + "url": "https:\/\/appwrite.io\/docs" + } +} \ No newline at end of file diff --git a/app/config/specs/open-api3-1.5.x-server.json b/app/config/specs/open-api3-1.5.x-server.json index 8154bd2354..2157818d53 100644 --- a/app/config/specs/open-api3-1.5.x-server.json +++ b/app/config/specs/open-api3-1.5.x-server.json @@ -1 +1,26613 @@ -{"openapi":"3.0.0","info":{"version":"1.5.8","title":"Appwrite","description":"Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https:\/\/appwrite.io\/docs](https:\/\/appwrite.io\/docs)","termsOfService":"https:\/\/appwrite.io\/policy\/terms","contact":{"name":"Appwrite Team","url":"https:\/\/appwrite.io\/support","email":"team@appwrite.io"},"license":{"name":"BSD-3-Clause","url":"https:\/\/raw.githubusercontent.com\/appwrite\/appwrite\/master\/LICENSE"}},"servers":[{"url":"https:\/\/cloud.appwrite.io\/v1"}],"paths":{"\/account":{"get":{"summary":"Get account","operationId":"accountGet","tags":["account"],"description":"Get the currently logged in user.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"get","weight":8,"cookies":false,"type":"","deprecated":false,"demo":"account\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]},"post":{"summary":"Create account","operationId":"accountCreate","tags":["account"],"description":"Use this endpoint to allow a new user to register a new account in your project. After the user registration completes successfully, you can use the [\/account\/verfication](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createVerification) route to start verifying the user email address. To allow the new user to login to their new account, you need to create a new [account session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createEmailSession).","responses":{"201":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"create","weight":7,"cookies":false,"type":"","deprecated":false,"demo":"account\/create.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"password":{"type":"string","description":"New user password. Must be between 8 and 256 chars.","x-example":null},"name":{"type":"string","description":"User name. Max length: 128 chars.","x-example":"<NAME>"}},"required":["userId","email","password"]}}}}}},"\/account\/email":{"patch":{"summary":"Update email","operationId":"accountUpdateEmail","tags":["account"],"description":"Update currently logged in user account email address. After changing user address, the user confirmation status will get reset. A new confirmation email is not sent automatically however you can use the send confirmation email endpoint again to send the confirmation email. For security measures, user password is required to complete this request.\nThis endpoint can also be used to convert an anonymous account to a normal one, by passing an email address and a new password.\n","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updateEmail","weight":33,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-email.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"password":{"type":"string","description":"User password. Must be at least 8 chars.","x-example":"password"}},"required":["email","password"]}}}}}},"\/account\/identities":{"get":{"summary":"List Identities","operationId":"accountListIdentities","tags":["account"],"description":"Get the list of identities for the currently logged in user.","responses":{"200":{"description":"Identities List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/identityList"}}}}},"x-appwrite":{"method":"listIdentities","weight":56,"cookies":false,"type":"","deprecated":false,"demo":"account\/list-identities.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-identities.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account\/identities","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, provider, providerUid, providerEmail, providerAccessTokenExpiry","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]}},"\/account\/identities\/{identityId}":{"delete":{"summary":"Delete identity","operationId":"accountDeleteIdentity","tags":["account"],"description":"Delete an identity by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteIdentity","weight":57,"cookies":false,"type":"","deprecated":false,"demo":"account\/delete-identity.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-identity.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"identityId","description":"Identity ID.","required":true,"schema":{"type":"string","x-example":"<IDENTITY_ID>"},"in":"path"}]}},"\/account\/jwt":{"post":{"summary":"Create JWT","operationId":"accountCreateJWT","tags":["account"],"description":"Use this endpoint to create a JSON Web Token. You can use the resulting JWT to authenticate on behalf of the current user when working with the Appwrite server-side API and SDKs. The JWT secret is valid for 15 minutes from its creation and will be invalid if the user will logout in that time frame.","responses":{"201":{"description":"JWT","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/jwt"}}}}},"x-appwrite":{"method":"createJWT","weight":28,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-j-w-t.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md","rate-limit":100,"rate-time":3600,"rate-key":"url:{url},userId:{userId}","scope":"account","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}]}},"\/account\/logs":{"get":{"summary":"List logs","operationId":"accountListLogs","tags":["account"],"description":"Get the list of latest security activity logs for the currently logged in user. Each log returns user IP address, location and date and time of log.","responses":{"200":{"description":"Logs List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/logList"}}}}},"x-appwrite":{"method":"listLogs","weight":30,"cookies":false,"type":"","deprecated":false,"demo":"account\/list-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]}},"\/account\/mfa":{"patch":{"summary":"Update MFA","operationId":"accountUpdateMFA","tags":["account"],"description":"Enable or disable MFA on an account.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updateMFA","weight":43,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-m-f-a.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"mfa":{"type":"boolean","description":"Enable or disable MFA.","x-example":false}},"required":["mfa"]}}}}}},"\/account\/mfa\/authenticators\/{type}":{"post":{"summary":"Create Authenticator","operationId":"accountCreateMfaAuthenticator","tags":["account"],"description":"Add an authenticator app to be used as an MFA factor. Verify the authenticator using the [verify authenticator](\/docs\/references\/cloud\/client-web\/account#updateMfaAuthenticator) method.","responses":{"200":{"description":"MFAType","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/mfaType"}}}}},"x-appwrite":{"method":"createMfaAuthenticator","weight":45,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-mfa-authenticator.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-authenticator.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"type","description":"Type of authenticator. Must be `totp`","required":true,"schema":{"type":"string","x-example":"totp","enum":["totp"],"x-enum-name":"AuthenticatorType","x-enum-keys":[]},"in":"path"}]},"put":{"summary":"Verify Authenticator","operationId":"accountUpdateMfaAuthenticator","tags":["account"],"description":"Verify an authenticator app after adding it using the [add authenticator](\/docs\/references\/cloud\/client-web\/account#createMfaAuthenticator) method.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updateMfaAuthenticator","weight":46,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-mfa-authenticator.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-authenticator.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"type","description":"Type of authenticator.","required":true,"schema":{"type":"string","x-example":"totp","enum":["totp"],"x-enum-name":"AuthenticatorType","x-enum-keys":[]},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"otp":{"type":"string","description":"Valid verification token.","x-example":"<OTP>"}},"required":["otp"]}}}}},"delete":{"summary":"Delete Authenticator","operationId":"accountDeleteMfaAuthenticator","tags":["account"],"description":"Delete an authenticator for a user by ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteMfaAuthenticator","weight":50,"cookies":false,"type":"","deprecated":false,"demo":"account\/delete-mfa-authenticator.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-mfa-authenticator.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"type","description":"Type of authenticator.","required":true,"schema":{"type":"string","x-example":"totp","enum":["totp"],"x-enum-name":"AuthenticatorType","x-enum-keys":[]},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"otp":{"type":"string","description":"Valid verification token.","x-example":"<OTP>"}},"required":["otp"]}}}}}},"\/account\/mfa\/challenge":{"post":{"summary":"Create MFA Challenge","operationId":"accountCreateMfaChallenge","tags":["account"],"description":"Begin the process of MFA verification after sign-in. Finish the flow with [updateMfaChallenge](\/docs\/references\/cloud\/client-web\/account#updateMfaChallenge) method.","responses":{"201":{"description":"MFA Challenge","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/mfaChallenge"}}}}},"x-appwrite":{"method":"createMfaChallenge","weight":51,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-mfa-challenge.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},token:{param-token}","scope":"account","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"factor":{"type":"string","description":"Factor used for verification. Must be one of following: `email`, `phone`, `totp`, `recoveryCode`.","x-example":"email","enum":["email","phone","totp","recoverycode"],"x-enum-name":"AuthenticationFactor","x-enum-keys":[]}},"required":["factor"]}}}}},"put":{"summary":"Create MFA Challenge (confirmation)","operationId":"accountUpdateMfaChallenge","tags":["account"],"description":"Complete the MFA challenge by providing the one-time password. Finish the process of MFA verification by providing the one-time password. To begin the flow, use [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method.","responses":{"204":{"description":"No content","content":{"":{"schema":{"$ref":"#\/components\/schemas\/session"}}}}},"x-appwrite":{"method":"updateMfaChallenge","weight":52,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-mfa-challenge.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md","rate-limit":10,"rate-time":3600,"rate-key":"userId:{param-userId}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"challengeId":{"type":"string","description":"ID of the challenge.","x-example":"<CHALLENGE_ID>"},"otp":{"type":"string","description":"Valid verification token.","x-example":"<OTP>"}},"required":["challengeId","otp"]}}}}}},"\/account\/mfa\/factors":{"get":{"summary":"List Factors","operationId":"accountListMfaFactors","tags":["account"],"description":"List the factors available on the account to be used as a MFA challange.","responses":{"200":{"description":"MFAFactors","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/mfaFactors"}}}}},"x-appwrite":{"method":"listMfaFactors","weight":44,"cookies":false,"type":"","deprecated":false,"demo":"account\/list-mfa-factors.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-mfa-factors.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/account\/mfa\/recovery-codes":{"get":{"summary":"Get MFA Recovery Codes","operationId":"accountGetMfaRecoveryCodes","tags":["account"],"description":"Get recovery codes that can be used as backup for MFA flow. Before getting codes, they must be generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method. An OTP challenge is required to read recovery codes.","responses":{"200":{"description":"MFA Recovery Codes","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/mfaRecoveryCodes"}}}}},"x-appwrite":{"method":"getMfaRecoveryCodes","weight":49,"cookies":false,"type":"","deprecated":false,"demo":"account\/get-mfa-recovery-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-mfa-recovery-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]},"post":{"summary":"Create MFA Recovery Codes","operationId":"accountCreateMfaRecoveryCodes","tags":["account"],"description":"Generate recovery codes as backup for MFA flow. It's recommended to generate and show then immediately after user successfully adds their authehticator. Recovery codes can be used as a MFA verification type in [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method.","responses":{"201":{"description":"MFA Recovery Codes","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/mfaRecoveryCodes"}}}}},"x-appwrite":{"method":"createMfaRecoveryCodes","weight":47,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-mfa-recovery-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-recovery-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]},"patch":{"summary":"Regenerate MFA Recovery Codes","operationId":"accountUpdateMfaRecoveryCodes","tags":["account"],"description":"Regenerate recovery codes that can be used as backup for MFA flow. Before regenerating codes, they must be first generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method. An OTP challenge is required to regenreate recovery codes.","responses":{"200":{"description":"MFA Recovery Codes","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/mfaRecoveryCodes"}}}}},"x-appwrite":{"method":"updateMfaRecoveryCodes","weight":48,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-mfa-recovery-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-recovery-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/account\/name":{"patch":{"summary":"Update name","operationId":"accountUpdateName","tags":["account"],"description":"Update currently logged in user account name.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updateName","weight":31,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-name.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-name.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"User name. Max length: 128 chars.","x-example":"<NAME>"}},"required":["name"]}}}}}},"\/account\/password":{"patch":{"summary":"Update password","operationId":"accountUpdatePassword","tags":["account"],"description":"Update currently logged in user password. For validation, user is required to pass in the new password, and the old password. For users created with OAuth, Team Invites and Magic URL, oldPassword is optional.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updatePassword","weight":32,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-password.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-password.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"password":{"type":"string","description":"New user password. Must be at least 8 chars.","x-example":null},"oldPassword":{"type":"string","description":"Current user password. Must be at least 8 chars.","x-example":"password"}},"required":["password"]}}}}}},"\/account\/phone":{"patch":{"summary":"Update phone","operationId":"accountUpdatePhone","tags":["account"],"description":"Update the currently logged in user's phone number. After updating the phone number, the phone verification status will be reset. A confirmation SMS is not sent automatically, however you can use the [POST \/account\/verification\/phone](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createPhoneVerification) endpoint to send a confirmation SMS.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updatePhone","weight":34,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-phone.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"phone":{"type":"string","description":"Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","x-example":"+12065550100"},"password":{"type":"string","description":"User password. Must be at least 8 chars.","x-example":"password"}},"required":["phone","password"]}}}}}},"\/account\/prefs":{"get":{"summary":"Get account preferences","operationId":"accountGetPrefs","tags":["account"],"description":"Get the preferences as a key-value object for the currently logged in user.","responses":{"200":{"description":"Preferences","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/preferences"}}}}},"x-appwrite":{"method":"getPrefs","weight":29,"cookies":false,"type":"","deprecated":false,"demo":"account\/get-prefs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-prefs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account\/prefs","offline-key":"current","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]},"patch":{"summary":"Update preferences","operationId":"accountUpdatePrefs","tags":["account"],"description":"Update currently logged in user account preferences. The object you pass is stored as is, and replaces any previous value. The maximum allowed prefs size is 64kB and throws error if exceeded.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updatePrefs","weight":35,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-prefs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-prefs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account\/prefs","offline-key":"current","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"prefs":{"type":"object","description":"Prefs key-value JSON object.","x-example":"{}"}},"required":["prefs"]}}}}}},"\/account\/recovery":{"post":{"summary":"Create password recovery","operationId":"accountCreateRecovery","tags":["account"],"description":"Sends the user an email with a temporary secret key for password reset. When the user clicks the confirmation link he is redirected back to your app password reset URL with the secret key and email address values attached to the URL query string. Use the query string params to submit a request to the [PUT \/account\/recovery](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateRecovery) endpoint to complete the process. The verification link sent to the user's email address is valid for 1 hour.","responses":{"201":{"description":"Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/token"}}}}},"x-appwrite":{"method":"createRecovery","weight":37,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-recovery.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-recovery.md","rate-limit":10,"rate-time":3600,"rate-key":["url:{url},email:{param-email}","url:{url},ip:{ip}"],"scope":"sessions.write","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"url":{"type":"string","description":"URL to redirect the user back to your app from the recovery email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","x-example":"https:\/\/example.com"}},"required":["email","url"]}}}}},"put":{"summary":"Create password recovery (confirmation)","operationId":"accountUpdateRecovery","tags":["account"],"description":"Use this endpoint to complete the user account password reset. Both the **userId** and **secret** arguments will be passed as query parameters to the redirect URL you have provided when sending your request to the [POST \/account\/recovery](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createRecovery) endpoint.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md) the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.","responses":{"200":{"description":"Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/token"}}}}},"x-appwrite":{"method":"updateRecovery","weight":38,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-recovery.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-recovery.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},userId:{param-userId}","scope":"sessions.write","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID.","x-example":"<USER_ID>"},"secret":{"type":"string","description":"Valid reset token.","x-example":"<SECRET>"},"password":{"type":"string","description":"New user password. Must be between 8 and 256 chars.","x-example":null}},"required":["userId","secret","password"]}}}}}},"\/account\/sessions":{"get":{"summary":"List sessions","operationId":"accountListSessions","tags":["account"],"description":"Get the list of active sessions across different devices for the currently logged in user.","responses":{"200":{"description":"Sessions List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/sessionList"}}}}},"x-appwrite":{"method":"listSessions","weight":10,"cookies":false,"type":"","deprecated":false,"demo":"account\/list-sessions.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-sessions.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account\/sessions","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]},"delete":{"summary":"Delete sessions","operationId":"accountDeleteSessions","tags":["account"],"description":"Delete all sessions from the user account and remove any sessions cookies from the end client.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteSessions","weight":11,"cookies":false,"type":"","deprecated":false,"demo":"account\/delete-sessions.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-sessions.md","rate-limit":100,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/account\/sessions\/anonymous":{"post":{"summary":"Create anonymous session","operationId":"accountCreateAnonymousSession","tags":["account"],"description":"Use this endpoint to allow a new user to register an anonymous account in your project. This route will also create a new session for the user. To allow the new user to convert an anonymous account to a normal account, you need to update its [email and password](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateEmail) or create an [OAuth2 session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#CreateOAuth2Session).","responses":{"201":{"description":"Session","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/session"}}}}},"x-appwrite":{"method":"createAnonymousSession","weight":16,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-anonymous-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-anonymous.md","rate-limit":50,"rate-time":3600,"rate-key":"ip:{ip}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}]}},"\/account\/sessions\/email":{"post":{"summary":"Create email password session","operationId":"accountCreateEmailPasswordSession","tags":["account"],"description":"Allow the user to login into their account by providing a valid email and password combination. This route will create a new session for the user.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).","responses":{"201":{"description":"Session","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/session"}}}}},"x-appwrite":{"method":"createEmailPasswordSession","weight":15,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-email-password-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-email-password.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},email:{param-email}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"password":{"type":"string","description":"User password. Must be at least 8 chars.","x-example":"password"}},"required":["email","password"]}}}}}},"\/account\/sessions\/magic-url":{"put":{"summary":"Update magic URL session","operationId":"accountUpdateMagicURLSession","tags":["account"],"description":"Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.","responses":{"201":{"description":"Session","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/session"}}}}},"x-appwrite":{"method":"updateMagicURLSession","weight":25,"cookies":false,"type":"","deprecated":true,"demo":"account\/update-magic-u-r-l-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md","rate-limit":10,"rate-time":3600,"rate-key":"ip:{ip},userId:{param-userId}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<USER_ID>"},"secret":{"type":"string","description":"Valid verification token.","x-example":"<SECRET>"}},"required":["userId","secret"]}}}}}},"\/account\/sessions\/phone":{"put":{"summary":"Update phone session","operationId":"accountUpdatePhoneSession","tags":["account"],"description":"Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.","responses":{"201":{"description":"Session","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/session"}}}}},"x-appwrite":{"method":"updatePhoneSession","weight":26,"cookies":false,"type":"","deprecated":true,"demo":"account\/update-phone-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md","rate-limit":10,"rate-time":3600,"rate-key":"ip:{ip},userId:{param-userId}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<USER_ID>"},"secret":{"type":"string","description":"Valid verification token.","x-example":"<SECRET>"}},"required":["userId","secret"]}}}}}},"\/account\/sessions\/token":{"post":{"summary":"Create session","operationId":"accountCreateSession","tags":["account"],"description":"Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.","responses":{"201":{"description":"Session","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/session"}}}}},"x-appwrite":{"method":"createSession","weight":17,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md","rate-limit":10,"rate-time":3600,"rate-key":"ip:{ip},userId:{param-userId}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<USER_ID>"},"secret":{"type":"string","description":"Secret of a token generated by login methods. For example, the `createMagicURLToken` or `createPhoneToken` methods.","x-example":"<SECRET>"}},"required":["userId","secret"]}}}}}},"\/account\/sessions\/{sessionId}":{"get":{"summary":"Get session","operationId":"accountGetSession","tags":["account"],"description":"Use this endpoint to get a logged in user's session using a Session ID. Inputting 'current' will return the current session being used.","responses":{"200":{"description":"Session","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/session"}}}}},"x-appwrite":{"method":"getSession","weight":12,"cookies":false,"type":"","deprecated":false,"demo":"account\/get-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-session.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account\/sessions","offline-key":"{sessionId}","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"sessionId","description":"Session ID. Use the string 'current' to get the current device session.","required":true,"schema":{"type":"string","x-example":"<SESSION_ID>"},"in":"path"}]},"patch":{"summary":"Update session","operationId":"accountUpdateSession","tags":["account"],"description":"Use this endpoint to extend a session's length. Extending a session is useful when session expiry is short. If the session was created using an OAuth provider, this endpoint refreshes the access token from the provider.","responses":{"200":{"description":"Session","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/session"}}}}},"x-appwrite":{"method":"updateSession","weight":14,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-session.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"sessionId","description":"Session ID. Use the string 'current' to update the current device session.","required":true,"schema":{"type":"string","x-example":"<SESSION_ID>"},"in":"path"}]},"delete":{"summary":"Delete session","operationId":"accountDeleteSession","tags":["account"],"description":"Logout the user. Use 'current' as the session ID to logout on this device, use a session ID to logout on another device. If you're looking to logout the user on all devices, use [Delete Sessions](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#deleteSessions) instead.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteSession","weight":13,"cookies":false,"type":"","deprecated":false,"demo":"account\/delete-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-session.md","rate-limit":100,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"sessionId","description":"Session ID. Use the string 'current' to delete the current device session.","required":true,"schema":{"type":"string","x-example":"<SESSION_ID>"},"in":"path"}]}},"\/account\/status":{"patch":{"summary":"Update status","operationId":"accountUpdateStatus","tags":["account"],"description":"Block the currently logged in user account. Behind the scene, the user record is not deleted but permanently blocked from any access. To completely delete a user, use the Users API instead.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updateStatus","weight":36,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-status.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-status.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/account\/tokens\/email":{"post":{"summary":"Create email token (OTP)","operationId":"accountCreateEmailToken","tags":["account"],"description":"Sends the user an email with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's email is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).","responses":{"201":{"description":"Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/token"}}}}},"x-appwrite":{"method":"createEmailToken","weight":24,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-email-token.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-email.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},email:{param-email}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"phrase":{"type":"boolean","description":"Toggle for security phrase. If enabled, email will be send with a randomly generated phrase and the phrase will also be included in the response. Confirming phrases match increases the security of your authentication flow.","x-example":false}},"required":["userId","email"]}}}}}},"\/account\/tokens\/magic-url":{"post":{"summary":"Create magic URL token","operationId":"accountCreateMagicURLToken","tags":["account"],"description":"Sends the user an email with a secret key for creating a session. If the provided user ID has not been registered, a new user will be created. When the user clicks the link in the email, the user is redirected back to the URL you provided with the secret key and userId values attached to the URL query string. Use the query string parameters to submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The link sent to the user's email address is valid for 1 hour. If you are on a mobile device you can leave the URL parameter empty, so that the login completion will be handled by your Appwrite instance by default.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).\n","responses":{"201":{"description":"Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/token"}}}}},"x-appwrite":{"method":"createMagicURLToken","weight":23,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-magic-u-r-l-token.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-magic-url.md","rate-limit":60,"rate-time":3600,"rate-key":["url:{url},email:{param-email}","url:{url},ip:{ip}"],"scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"url":{"type":"string","description":"URL to redirect the user back to your app from the magic URL login. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","x-example":"https:\/\/example.com"},"phrase":{"type":"boolean","description":"Toggle for security phrase. If enabled, email will be send with a randomly generated phrase and the phrase will also be included in the response. Confirming phrases match increases the security of your authentication flow.","x-example":false}},"required":["userId","email"]}}}}}},"\/account\/tokens\/oauth2\/{provider}":{"get":{"summary":"Create OAuth2 token","operationId":"accountCreateOAuth2Token","tags":["account"],"description":"Allow the user to login to their account using the OAuth2 provider of their choice. Each OAuth2 provider should be enabled from the Appwrite console first. Use the success and failure arguments to provide a redirect URL's back to your app when login is completed. \n\nIf authentication succeeds, `userId` and `secret` of a token will be appended to the success URL as query parameters. These can be used to create a new session using the [Create session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).","responses":{"301":{"description":"File"}},"x-appwrite":{"method":"createOAuth2Token","weight":22,"cookies":false,"type":"webAuth","deprecated":false,"demo":"account\/create-o-auth2token.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-oauth2.md","rate-limit":50,"rate-time":3600,"rate-key":"ip:{ip}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"provider","description":"OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.","required":true,"schema":{"type":"string","x-example":"amazon","enum":["amazon","apple","auth0","authentik","autodesk","bitbucket","bitly","box","dailymotion","discord","disqus","dropbox","etsy","facebook","github","gitlab","google","linkedin","microsoft","notion","oidc","okta","paypal","paypalSandbox","podio","salesforce","slack","spotify","stripe","tradeshift","tradeshiftBox","twitch","wordpress","yahoo","yammer","yandex","zoho","zoom","mock"],"x-enum-name":"OAuthProvider","x-enum-keys":[]},"in":"path"},{"name":"success","description":"URL to redirect back to your app after a successful login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","required":false,"schema":{"type":"string","format":"url","x-example":"https:\/\/example.com","default":""},"in":"query"},{"name":"failure","description":"URL to redirect back to your app after a failed login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","required":false,"schema":{"type":"string","format":"url","x-example":"https:\/\/example.com","default":""},"in":"query"},{"name":"scopes","description":"A list of custom OAuth2 scopes. Check each provider internal docs for a list of supported scopes. Maximum of 100 scopes are allowed, each 4096 characters long.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]}},"\/account\/tokens\/phone":{"post":{"summary":"Create phone token","operationId":"accountCreatePhoneToken","tags":["account"],"description":"Sends the user an SMS with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's phone is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).","responses":{"201":{"description":"Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/token"}}}}},"x-appwrite":{"method":"createPhoneToken","weight":27,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-phone-token.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-phone.md","rate-limit":10,"rate-time":3600,"rate-key":["url:{url},phone:{param-phone}","url:{url},ip:{ip}"],"scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<USER_ID>"},"phone":{"type":"string","description":"Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","x-example":"+12065550100"}},"required":["userId","phone"]}}}}}},"\/account\/verification":{"post":{"summary":"Create email verification","operationId":"accountCreateVerification","tags":["account"],"description":"Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n","responses":{"201":{"description":"Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/token"}}}}},"x-appwrite":{"method":"createVerification","weight":39,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},userId:{userId}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"url":{"type":"string","description":"URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","x-example":"https:\/\/example.com"}},"required":["url"]}}}}},"put":{"summary":"Create email verification (confirmation)","operationId":"accountUpdateVerification","tags":["account"],"description":"Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.","responses":{"200":{"description":"Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/token"}}}}},"x-appwrite":{"method":"updateVerification","weight":40,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},userId:{param-userId}","scope":"public","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID.","x-example":"<USER_ID>"},"secret":{"type":"string","description":"Valid verification token.","x-example":"<SECRET>"}},"required":["userId","secret"]}}}}}},"\/account\/verification\/phone":{"post":{"summary":"Create phone verification","operationId":"accountCreatePhoneVerification","tags":["account"],"description":"Use this endpoint to send a verification SMS to the currently logged in user. This endpoint is meant for use after updating a user's phone number using the [accountUpdatePhone](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updatePhone) endpoint. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updatePhoneVerification). The verification code sent to the user's phone number is valid for 15 minutes.","responses":{"201":{"description":"Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/token"}}}}},"x-appwrite":{"method":"createPhoneVerification","weight":41,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-phone-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-phone-verification.md","rate-limit":10,"rate-time":3600,"rate-key":["url:{url},userId:{userId}","url:{url},ip:{ip}"],"scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]},"put":{"summary":"Update phone verification (confirmation)","operationId":"accountUpdatePhoneVerification","tags":["account"],"description":"Use this endpoint to complete the user phone verification process. Use the **userId** and **secret** that were sent to your user's phone number to verify the user email ownership. If confirmed this route will return a 200 status code.","responses":{"200":{"description":"Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/token"}}}}},"x-appwrite":{"method":"updatePhoneVerification","weight":42,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-phone-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone-verification.md","rate-limit":10,"rate-time":3600,"rate-key":"userId:{param-userId}","scope":"public","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID.","x-example":"<USER_ID>"},"secret":{"type":"string","description":"Valid verification token.","x-example":"<SECRET>"}},"required":["userId","secret"]}}}}}},"\/avatars\/browsers\/{code}":{"get":{"summary":"Get browser icon","operationId":"avatarsGetBrowser","tags":["avatars"],"description":"You can use this endpoint to show different browser icons to your users. The code argument receives the browser code as it appears in your user [GET \/account\/sessions](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#getSessions) endpoint. Use width, height and quality arguments to change the output settings.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.","responses":{"200":{"description":"Image"}},"x-appwrite":{"method":"getBrowser","weight":59,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-browser.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-browser.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"code","description":"Browser Code.","required":true,"schema":{"type":"string","x-example":"aa","enum":["aa","an","ch","ci","cm","cr","ff","sf","mf","ps","oi","om","op","on"],"x-enum-name":"Browser","x-enum-keys":["Avant Browser","Android WebView Beta","Google Chrome","Google Chrome (iOS)","Google Chrome (Mobile)","Chromium","Mozilla Firefox","Safari","Mobile Safari","Microsoft Edge","Microsoft Edge (iOS)","Opera Mini","Opera","Opera (Next)"]},"in":"path"},{"name":"width","description":"Image width. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":100},"in":"query"},{"name":"height","description":"Image height. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":100},"in":"query"},{"name":"quality","description":"Image quality. Pass an integer between 0 to 100. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":100},"in":"query"}]}},"\/avatars\/credit-cards\/{code}":{"get":{"summary":"Get credit card icon","operationId":"avatarsGetCreditCard","tags":["avatars"],"description":"The credit card endpoint will return you the icon of the credit card provider you need. Use width, height and quality arguments to change the output settings.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n","responses":{"200":{"description":"Image"}},"x-appwrite":{"method":"getCreditCard","weight":58,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-credit-card.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-credit-card.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"code","description":"Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, union-china-pay, visa, mir, maestro.","required":true,"schema":{"type":"string","x-example":"amex","enum":["amex","argencard","cabal","cencosud","diners","discover","elo","hipercard","jcb","mastercard","naranja","targeta-shopping","union-china-pay","visa","mir","maestro"],"x-enum-name":"CreditCard","x-enum-keys":["American Express","Argencard","Cabal","Cencosud","Diners Club","Discover","Elo","Hipercard","JCB","Mastercard","Naranja","Tarjeta Shopping","Union China Pay","Visa","MIR","Maestro"]},"in":"path"},{"name":"width","description":"Image width. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":100},"in":"query"},{"name":"height","description":"Image height. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":100},"in":"query"},{"name":"quality","description":"Image quality. Pass an integer between 0 to 100. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":100},"in":"query"}]}},"\/avatars\/favicon":{"get":{"summary":"Get favicon","operationId":"avatarsGetFavicon","tags":["avatars"],"description":"Use this endpoint to fetch the favorite icon (AKA favicon) of any remote website URL.\n","responses":{"200":{"description":"Image"}},"x-appwrite":{"method":"getFavicon","weight":62,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-favicon.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-favicon.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"url","description":"Website URL which you want to fetch the favicon from.","required":true,"schema":{"type":"string","format":"url","x-example":"https:\/\/example.com"},"in":"query"}]}},"\/avatars\/flags\/{code}":{"get":{"summary":"Get country flag","operationId":"avatarsGetFlag","tags":["avatars"],"description":"You can use this endpoint to show different country flags icons to your users. The code argument receives the 2 letter country code. Use width, height and quality arguments to change the output settings. Country codes follow the [ISO 3166-1](https:\/\/en.wikipedia.org\/wiki\/ISO_3166-1) standard.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n","responses":{"200":{"description":"Image"}},"x-appwrite":{"method":"getFlag","weight":60,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-flag.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-flag.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"code","description":"Country Code. ISO Alpha-2 country code format.","required":true,"schema":{"type":"string","x-example":"af","enum":["af","ao","al","ad","ae","ar","am","ag","au","at","az","bi","be","bj","bf","bd","bg","bh","bs","ba","by","bz","bo","br","bb","bn","bt","bw","cf","ca","ch","cl","cn","ci","cm","cd","cg","co","km","cv","cr","cu","cy","cz","de","dj","dm","dk","do","dz","ec","eg","er","es","ee","et","fi","fj","fr","fm","ga","gb","ge","gh","gn","gm","gw","gq","gr","gd","gt","gy","hn","hr","ht","hu","id","in","ie","ir","iq","is","il","it","jm","jo","jp","kz","ke","kg","kh","ki","kn","kr","kw","la","lb","lr","ly","lc","li","lk","ls","lt","lu","lv","ma","mc","md","mg","mv","mx","mh","mk","ml","mt","mm","me","mn","mz","mr","mu","mw","my","na","ne","ng","ni","nl","no","np","nr","nz","om","pk","pa","pe","ph","pw","pg","pl","pf","kp","pt","py","qa","ro","ru","rw","sa","sd","sn","sg","sb","sl","sv","sm","so","rs","ss","st","sr","sk","si","se","sz","sc","sy","td","tg","th","tj","tm","tl","to","tt","tn","tr","tv","tz","ug","ua","uy","us","uz","va","vc","ve","vn","vu","ws","ye","za","zm","zw"],"x-enum-name":"Flag","x-enum-keys":["Afghanistan","Angola","Albania","Andorra","United Arab Emirates","Argentina","Armenia","Antigua and Barbuda","Australia","Austria","Azerbaijan","Burundi","Belgium","Benin","Burkina Faso","Bangladesh","Bulgaria","Bahrain","Bahamas","Bosnia and Herzegovina","Belarus","Belize","Bolivia","Brazil","Barbados","Brunei Darussalam","Bhutan","Botswana","Central African Republic","Canada","Switzerland","Chile","China","C\u00f4te d'Ivoire","Cameroon","Democratic Republic of the Congo","Republic of the Congo","Colombia","Comoros","Cape Verde","Costa Rica","Cuba","Cyprus","Czech Republic","Germany","Djibouti","Dominica","Denmark","Dominican Republic","Algeria","Ecuador","Egypt","Eritrea","Spain","Estonia","Ethiopia","Finland","Fiji","France","Micronesia (Federated States of)","Gabon","United Kingdom","Georgia","Ghana","Guinea","Gambia","Guinea-Bissau","Equatorial Guinea","Greece","Grenada","Guatemala","Guyana","Honduras","Croatia","Haiti","Hungary","Indonesia","India","Ireland","Iran (Islamic Republic of)","Iraq","Iceland","Israel","Italy","Jamaica","Jordan","Japan","Kazakhstan","Kenya","Kyrgyzstan","Cambodia","Kiribati","Saint Kitts and Nevis","South Korea","Kuwait","Lao People's Democratic Republic","Lebanon","Liberia","Libya","Saint Lucia","Liechtenstein","Sri Lanka","Lesotho","Lithuania","Luxembourg","Latvia","Morocco","Monaco","Moldova","Madagascar","Maldives","Mexico","Marshall Islands","North Macedonia","Mali","Malta","Myanmar","Montenegro","Mongolia","Mozambique","Mauritania","Mauritius","Malawi","Malaysia","Namibia","Niger","Nigeria","Nicaragua","Netherlands","Norway","Nepal","Nauru","New Zealand","Oman","Pakistan","Panama","Peru","Philippines","Palau","Papua New Guinea","Poland","French Polynesia","North Korea","Portugal","Paraguay","Qatar","Romania","Russia","Rwanda","Saudi Arabia","Sudan","Senegal","Singapore","Solomon Islands","Sierra Leone","El Salvador","San Marino","Somalia","Serbia","South Sudan","Sao Tome and Principe","Suriname","Slovakia","Slovenia","Sweden","Eswatini","Seychelles","Syria","Chad","Togo","Thailand","Tajikistan","Turkmenistan","Timor-Leste","Tonga","Trinidad and Tobago","Tunisia","Turkey","Tuvalu","Tanzania","Uganda","Ukraine","Uruguay","United States","Uzbekistan","Vatican City","Saint Vincent and the Grenadines","Venezuela","Vietnam","Vanuatu","Samoa","Yemen","South Africa","Zambia","Zimbabwe"]},"in":"path"},{"name":"width","description":"Image width. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":100},"in":"query"},{"name":"height","description":"Image height. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":100},"in":"query"},{"name":"quality","description":"Image quality. Pass an integer between 0 to 100. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":100},"in":"query"}]}},"\/avatars\/image":{"get":{"summary":"Get image from URL","operationId":"avatarsGetImage","tags":["avatars"],"description":"Use this endpoint to fetch a remote image URL and crop it to any image size you want. This endpoint is very useful if you need to crop and display remote images in your app or in case you want to make sure a 3rd party image is properly served using a TLS protocol.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 400x400px.\n","responses":{"200":{"description":"Image"}},"x-appwrite":{"method":"getImage","weight":61,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-image.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-image.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"url","description":"Image URL which you want to crop.","required":true,"schema":{"type":"string","format":"url","x-example":"https:\/\/example.com"},"in":"query"},{"name":"width","description":"Resize preview image width, Pass an integer between 0 to 2000. Defaults to 400.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":400},"in":"query"},{"name":"height","description":"Resize preview image height, Pass an integer between 0 to 2000. Defaults to 400.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":400},"in":"query"}]}},"\/avatars\/initials":{"get":{"summary":"Get user initials","operationId":"avatarsGetInitials","tags":["avatars"],"description":"Use this endpoint to show your user initials avatar icon on your website or app. By default, this route will try to print your logged-in user name or email initials. You can also overwrite the user name if you pass the 'name' parameter. If no name is given and no user is logged, an empty avatar will be returned.\n\nYou can use the color and background params to change the avatar colors. By default, a random theme will be selected. The random theme will persist for the user's initials when reloading the same theme will always return for the same initials.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n","responses":{"200":{"description":"Image"}},"x-appwrite":{"method":"getInitials","weight":64,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-initials.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-initials.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"name","description":"Full Name. When empty, current user name or email will be used. Max length: 128 chars.","required":false,"schema":{"type":"string","x-example":"<NAME>","default":""},"in":"query"},{"name":"width","description":"Image width. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":500},"in":"query"},{"name":"height","description":"Image height. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":500},"in":"query"},{"name":"background","description":"Changes background color. By default a random color will be picked and stay will persistent to the given name.","required":false,"schema":{"type":"string","default":""},"in":"query"}]}},"\/avatars\/qr":{"get":{"summary":"Get QR code","operationId":"avatarsGetQR","tags":["avatars"],"description":"Converts a given plain text to a QR code image. You can use the query parameters to change the size and style of the resulting image.\n","responses":{"200":{"description":"Image"}},"x-appwrite":{"method":"getQR","weight":63,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-q-r.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-qr.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"text","description":"Plain text to be converted to QR code image.","required":true,"schema":{"type":"string","x-example":"<TEXT>"},"in":"query"},{"name":"size","description":"QR code size. Pass an integer between 1 to 1000. Defaults to 400.","required":false,"schema":{"type":"integer","format":"int32","x-example":1,"default":400},"in":"query"},{"name":"margin","description":"Margin from edge. Pass an integer between 0 to 10. Defaults to 1.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":1},"in":"query"},{"name":"download","description":"Return resulting image with 'Content-Disposition: attachment ' headers for the browser to start downloading it. Pass 0 for no header, or 1 for otherwise. Default value is set to 0.","required":false,"schema":{"type":"boolean","x-example":false,"default":false},"in":"query"}]}},"\/databases":{"get":{"summary":"List databases","operationId":"databasesList","tags":["databases"],"description":"Get a list of all databases from the current Appwrite project. You can use the search parameter to filter your results.","responses":{"200":{"description":"Databases List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/databaseList"}}}}},"x-appwrite":{"method":"list","weight":69,"cookies":false,"type":"","deprecated":false,"demo":"databases\/list.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"databases.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"<SEARCH>","default":""},"in":"query"}]},"post":{"summary":"Create database","operationId":"databasesCreate","tags":["databases"],"description":"Create a new Database.\n","responses":{"201":{"description":"Database","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/database"}}}}},"x-appwrite":{"method":"create","weight":68,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"databases.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"databaseId":{"type":"string","description":"Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<DATABASE_ID>"},"name":{"type":"string","description":"Database name. Max length: 128 chars.","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Is the database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.","x-example":false}},"required":["databaseId","name"]}}}}}},"\/databases\/{databaseId}":{"get":{"summary":"Get database","operationId":"databasesGet","tags":["databases"],"description":"Get a database by its unique ID. This endpoint response returns a JSON object with the database metadata.","responses":{"200":{"description":"Database","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/database"}}}}},"x-appwrite":{"method":"get","weight":70,"cookies":false,"type":"","deprecated":false,"demo":"databases\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"databases.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"}]},"put":{"summary":"Update database","operationId":"databasesUpdate","tags":["databases"],"description":"Update a database by its unique ID.","responses":{"200":{"description":"Database","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/database"}}}}},"x-appwrite":{"method":"update","weight":72,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"databases.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Database name. Max length: 128 chars.","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Is database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.","x-example":false}},"required":["name"]}}}}},"delete":{"summary":"Delete database","operationId":"databasesDelete","tags":["databases"],"description":"Delete a database by its unique ID. Only API keys with with databases.write scope can delete a database.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"delete","weight":73,"cookies":false,"type":"","deprecated":false,"demo":"databases\/delete.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"databases.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"}]}},"\/databases\/{databaseId}\/collections":{"get":{"summary":"List collections","operationId":"databasesListCollections","tags":["databases"],"description":"Get a list of all collections that belong to the provided databaseId. You can use the search parameter to filter your results.","responses":{"200":{"description":"Collections List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/collectionList"}}}}},"x-appwrite":{"method":"listCollections","weight":75,"cookies":false,"type":"","deprecated":false,"demo":"databases\/list-collections.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-collections.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, enabled, documentSecurity","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"<SEARCH>","default":""},"in":"query"}]},"post":{"summary":"Create collection","operationId":"databasesCreateCollection","tags":["databases"],"description":"Create a new Collection. Before using this route, you should create a new database resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.","responses":{"201":{"description":"Collection","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/collection"}}}}},"x-appwrite":{"method":"createCollection","weight":74,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-collection.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-collection.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"collectionId":{"type":"string","description":"Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<COLLECTION_ID>"},"name":{"type":"string","description":"Collection name. Max length: 128 chars.","x-example":"<NAME>"},"permissions":{"type":"array","description":"An array of permissions strings. By default, no user is granted with any permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":"[\"read(\"any\")\"]","items":{"type":"string"}},"documentSecurity":{"type":"boolean","description":"Enables configuring permissions for individual documents. A user needs one of document or collection level permissions to access a document. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":false},"enabled":{"type":"boolean","description":"Is collection enabled? When set to 'disabled', users cannot access the collection but Server SDKs with and API key can still read and write to the collection. No data is lost when this is toggled.","x-example":false}},"required":["collectionId","name"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}":{"get":{"summary":"Get collection","operationId":"databasesGetCollection","tags":["databases"],"description":"Get a collection by its unique ID. This endpoint response returns a JSON object with the collection metadata.","responses":{"200":{"description":"Collection","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/collection"}}}}},"x-appwrite":{"method":"getCollection","weight":76,"cookies":false,"type":"","deprecated":false,"demo":"databases\/get-collection.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID.","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"}]},"put":{"summary":"Update collection","operationId":"databasesUpdateCollection","tags":["databases"],"description":"Update a collection by its unique ID.","responses":{"200":{"description":"Collection","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/collection"}}}}},"x-appwrite":{"method":"updateCollection","weight":78,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-collection.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-collection.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID.","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Collection name. Max length: 128 chars.","x-example":"<NAME>"},"permissions":{"type":"array","description":"An array of permission strings. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":"[\"read(\"any\")\"]","items":{"type":"string"}},"documentSecurity":{"type":"boolean","description":"Enables configuring permissions for individual documents. A user needs one of document or collection level permissions to access a document. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":false},"enabled":{"type":"boolean","description":"Is collection enabled? When set to 'disabled', users cannot access the collection but Server SDKs with and API key can still read and write to the collection. No data is lost when this is toggled.","x-example":false}},"required":["name"]}}}}},"delete":{"summary":"Delete collection","operationId":"databasesDeleteCollection","tags":["databases"],"description":"Delete a collection by its unique ID. Only users with write permissions have access to delete this resource.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteCollection","weight":79,"cookies":false,"type":"","deprecated":false,"demo":"databases\/delete-collection.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-collection.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID.","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes":{"get":{"summary":"List attributes","operationId":"databasesListAttributes","tags":["databases"],"description":"List attributes in the collection.","responses":{"200":{"description":"Attributes List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/attributeList"}}}}},"x-appwrite":{"method":"listAttributes","weight":90,"cookies":false,"type":"","deprecated":false,"demo":"databases\/list-attributes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-attributes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, size, required, array, status, error","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/boolean":{"post":{"summary":"Create boolean attribute","operationId":"databasesCreateBooleanAttribute","tags":["databases"],"description":"Create a boolean attribute.\n","responses":{"202":{"description":"AttributeBoolean","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/attributeBoolean"}}}}},"x-appwrite":{"method":"createBooleanAttribute","weight":87,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-boolean-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-boolean-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":null},"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"default":{"type":"boolean","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":false},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false}},"required":["key","required"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/boolean\/{key}":{"patch":{"summary":"Update boolean attribute","operationId":"databasesUpdateBooleanAttribute","tags":["databases"],"description":"Update a boolean attribute. Changing the `default` value will not update already existing documents.","responses":{"200":{"description":"AttributeBoolean","content":{"":{"schema":{"$ref":"#\/components\/schemas\/attributeBoolean"}}}}},"x-appwrite":{"method":"updateBooleanAttribute","weight":99,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-boolean-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-boolean-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"},{"name":"key","description":"Attribute Key.","required":true,"schema":{"type":"string"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"default":{"type":"boolean","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":false,"x-nullable":true}},"required":["required","default"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/datetime":{"post":{"summary":"Create datetime attribute","operationId":"databasesCreateDatetimeAttribute","tags":["databases"],"description":"Create a date time attribute according to the ISO 8601 standard.","responses":{"202":{"description":"AttributeDatetime","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/attributeDatetime"}}}}},"x-appwrite":{"method":"createDatetimeAttribute","weight":88,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-datetime-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-datetime-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":null},"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"default":{"type":"string","description":"Default value for the attribute in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. Cannot be set when attribute is required.","x-example":null},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false}},"required":["key","required"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/datetime\/{key}":{"patch":{"summary":"Update dateTime attribute","operationId":"databasesUpdateDatetimeAttribute","tags":["databases"],"description":"Update a date time attribute. Changing the `default` value will not update already existing documents.","responses":{"200":{"description":"AttributeDatetime","content":{"":{"schema":{"$ref":"#\/components\/schemas\/attributeDatetime"}}}}},"x-appwrite":{"method":"updateDatetimeAttribute","weight":100,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-datetime-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-datetime-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"},{"name":"key","description":"Attribute Key.","required":true,"schema":{"type":"string"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":null,"x-nullable":true}},"required":["required","default"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/email":{"post":{"summary":"Create email attribute","operationId":"databasesCreateEmailAttribute","tags":["databases"],"description":"Create an email attribute.\n","responses":{"202":{"description":"AttributeEmail","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/attributeEmail"}}}}},"x-appwrite":{"method":"createEmailAttribute","weight":81,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-email-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-email-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":null},"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"email@example.com"},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false}},"required":["key","required"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/email\/{key}":{"patch":{"summary":"Update email attribute","operationId":"databasesUpdateEmailAttribute","tags":["databases"],"description":"Update an email attribute. Changing the `default` value will not update already existing documents.\n","responses":{"200":{"description":"AttributeEmail","content":{"":{"schema":{"$ref":"#\/components\/schemas\/attributeEmail"}}}}},"x-appwrite":{"method":"updateEmailAttribute","weight":93,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-email-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-email-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"},{"name":"key","description":"Attribute Key.","required":true,"schema":{"type":"string"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"email@example.com","x-nullable":true}},"required":["required","default"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/enum":{"post":{"summary":"Create enum attribute","operationId":"databasesCreateEnumAttribute","tags":["databases"],"description":"Create an enumeration attribute. The `elements` param acts as a white-list of accepted values for this attribute. \n","responses":{"202":{"description":"AttributeEnum","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/attributeEnum"}}}}},"x-appwrite":{"method":"createEnumAttribute","weight":82,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-enum-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-attribute-enum.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":null},"elements":{"type":"array","description":"Array of elements in enumerated type. Uses length of longest element to determine size. Maximum of 100 elements are allowed, each 255 characters long.","x-example":null,"items":{"type":"string"}},"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"<DEFAULT>"},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false}},"required":["key","elements","required"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/enum\/{key}":{"patch":{"summary":"Update enum attribute","operationId":"databasesUpdateEnumAttribute","tags":["databases"],"description":"Update an enum attribute. Changing the `default` value will not update already existing documents.\n","responses":{"200":{"description":"AttributeEnum","content":{"":{"schema":{"$ref":"#\/components\/schemas\/attributeEnum"}}}}},"x-appwrite":{"method":"updateEnumAttribute","weight":94,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-enum-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-enum-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"},{"name":"key","description":"Attribute Key.","required":true,"schema":{"type":"string"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"elements":{"type":"array","description":"Array of elements in enumerated type. Uses length of longest element to determine size. Maximum of 100 elements are allowed, each 255 characters long.","x-example":null,"items":{"type":"string"}},"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"<DEFAULT>","x-nullable":true}},"required":["elements","required","default"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/float":{"post":{"summary":"Create float attribute","operationId":"databasesCreateFloatAttribute","tags":["databases"],"description":"Create a float attribute. Optionally, minimum and maximum values can be provided.\n","responses":{"202":{"description":"AttributeFloat","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/attributeFloat"}}}}},"x-appwrite":{"method":"createFloatAttribute","weight":86,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-float-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-float-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":null},"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"min":{"type":"number","description":"Minimum value to enforce on new documents","x-example":null},"max":{"type":"number","description":"Maximum value to enforce on new documents","x-example":null},"default":{"type":"number","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":null},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false}},"required":["key","required"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/float\/{key}":{"patch":{"summary":"Update float attribute","operationId":"databasesUpdateFloatAttribute","tags":["databases"],"description":"Update a float attribute. Changing the `default` value will not update already existing documents.\n","responses":{"200":{"description":"AttributeFloat","content":{"":{"schema":{"$ref":"#\/components\/schemas\/attributeFloat"}}}}},"x-appwrite":{"method":"updateFloatAttribute","weight":98,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-float-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-float-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"},{"name":"key","description":"Attribute Key.","required":true,"schema":{"type":"string"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"min":{"type":"number","description":"Minimum value to enforce on new documents","x-example":null},"max":{"type":"number","description":"Maximum value to enforce on new documents","x-example":null},"default":{"type":"number","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":null,"x-nullable":true}},"required":["required","min","max","default"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/integer":{"post":{"summary":"Create integer attribute","operationId":"databasesCreateIntegerAttribute","tags":["databases"],"description":"Create an integer attribute. Optionally, minimum and maximum values can be provided.\n","responses":{"202":{"description":"AttributeInteger","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/attributeInteger"}}}}},"x-appwrite":{"method":"createIntegerAttribute","weight":85,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-integer-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-integer-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":null},"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"min":{"type":"integer","description":"Minimum value to enforce on new documents","x-example":null},"max":{"type":"integer","description":"Maximum value to enforce on new documents","x-example":null},"default":{"type":"integer","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":null},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false}},"required":["key","required"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/integer\/{key}":{"patch":{"summary":"Update integer attribute","operationId":"databasesUpdateIntegerAttribute","tags":["databases"],"description":"Update an integer attribute. Changing the `default` value will not update already existing documents.\n","responses":{"200":{"description":"AttributeInteger","content":{"":{"schema":{"$ref":"#\/components\/schemas\/attributeInteger"}}}}},"x-appwrite":{"method":"updateIntegerAttribute","weight":97,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-integer-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-integer-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"},{"name":"key","description":"Attribute Key.","required":true,"schema":{"type":"string"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"min":{"type":"integer","description":"Minimum value to enforce on new documents","x-example":null},"max":{"type":"integer","description":"Maximum value to enforce on new documents","x-example":null},"default":{"type":"integer","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":null,"x-nullable":true}},"required":["required","min","max","default"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/ip":{"post":{"summary":"Create IP address attribute","operationId":"databasesCreateIpAttribute","tags":["databases"],"description":"Create IP address attribute.\n","responses":{"202":{"description":"AttributeIP","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/attributeIp"}}}}},"x-appwrite":{"method":"createIpAttribute","weight":83,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-ip-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-ip-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":null},"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":null},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false}},"required":["key","required"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/ip\/{key}":{"patch":{"summary":"Update IP address attribute","operationId":"databasesUpdateIpAttribute","tags":["databases"],"description":"Update an ip attribute. Changing the `default` value will not update already existing documents.\n","responses":{"200":{"description":"AttributeIP","content":{"":{"schema":{"$ref":"#\/components\/schemas\/attributeIp"}}}}},"x-appwrite":{"method":"updateIpAttribute","weight":95,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-ip-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-ip-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"},{"name":"key","description":"Attribute Key.","required":true,"schema":{"type":"string"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":null,"x-nullable":true}},"required":["required","default"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/relationship":{"post":{"summary":"Create relationship attribute","operationId":"databasesCreateRelationshipAttribute","tags":["databases"],"description":"Create relationship attribute. [Learn more about relationship attributes](https:\/\/appwrite.io\/docs\/databases-relationships#relationship-attributes).\n","responses":{"202":{"description":"AttributeRelationship","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/attributeRelationship"}}}}},"x-appwrite":{"method":"createRelationshipAttribute","weight":89,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-relationship-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-relationship-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"relatedCollectionId":{"type":"string","description":"Related Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","x-example":"<RELATED_COLLECTION_ID>"},"type":{"type":"string","description":"Relation type","x-example":"oneToOne","enum":["oneToOne","manyToOne","manyToMany","oneToMany"],"x-enum-name":"RelationshipType","x-enum-keys":[]},"twoWay":{"type":"boolean","description":"Is Two Way?","x-example":false},"key":{"type":"string","description":"Attribute Key.","x-example":null},"twoWayKey":{"type":"string","description":"Two Way Attribute Key.","x-example":null},"onDelete":{"type":"string","description":"Constraints option","x-example":"cascade","enum":["cascade","restrict","setNull"],"x-enum-name":"RelationMutate","x-enum-keys":[]}},"required":["relatedCollectionId","type"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/string":{"post":{"summary":"Create string attribute","operationId":"databasesCreateStringAttribute","tags":["databases"],"description":"Create a string attribute.\n","responses":{"202":{"description":"AttributeString","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/attributeString"}}}}},"x-appwrite":{"method":"createStringAttribute","weight":80,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-string-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-string-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":null},"size":{"type":"integer","description":"Attribute size for text attributes, in number of characters.","x-example":1},"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"<DEFAULT>"},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false},"encrypt":{"type":"boolean","description":"Toggle encryption for the attribute. Encryption enhances security by not storing any plain text values in the database. However, encrypted attributes cannot be queried.","x-example":false}},"required":["key","size","required"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/string\/{key}":{"patch":{"summary":"Update string attribute","operationId":"databasesUpdateStringAttribute","tags":["databases"],"description":"Update a string attribute. Changing the `default` value will not update already existing documents.\n","responses":{"200":{"description":"AttributeString","content":{"":{"schema":{"$ref":"#\/components\/schemas\/attributeString"}}}}},"x-appwrite":{"method":"updateStringAttribute","weight":92,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-string-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-string-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"},{"name":"key","description":"Attribute Key.","required":true,"schema":{"type":"string"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"<DEFAULT>","x-nullable":true}},"required":["required","default"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/url":{"post":{"summary":"Create URL attribute","operationId":"databasesCreateUrlAttribute","tags":["databases"],"description":"Create a URL attribute.\n","responses":{"202":{"description":"AttributeURL","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/attributeUrl"}}}}},"x-appwrite":{"method":"createUrlAttribute","weight":84,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-url-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-url-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":null},"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"https:\/\/example.com"},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false}},"required":["key","required"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/url\/{key}":{"patch":{"summary":"Update URL attribute","operationId":"databasesUpdateUrlAttribute","tags":["databases"],"description":"Update an url attribute. Changing the `default` value will not update already existing documents.\n","responses":{"200":{"description":"AttributeURL","content":{"":{"schema":{"$ref":"#\/components\/schemas\/attributeUrl"}}}}},"x-appwrite":{"method":"updateUrlAttribute","weight":96,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-url-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-url-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"},{"name":"key","description":"Attribute Key.","required":true,"schema":{"type":"string"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"required":{"type":"boolean","description":"Is attribute required?","x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"https:\/\/example.com","x-nullable":true}},"required":["required","default"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/{key}":{"get":{"summary":"Get attribute","operationId":"databasesGetAttribute","tags":["databases"],"description":"Get attribute by ID.","responses":{"200":{"description":"AttributeBoolean, or AttributeInteger, or AttributeFloat, or AttributeEmail, or AttributeEnum, or AttributeURL, or AttributeIP, or AttributeDatetime, or AttributeRelationship, or AttributeString","content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/attributeBoolean"},{"$ref":"#\/components\/schemas\/attributeInteger"},{"$ref":"#\/components\/schemas\/attributeFloat"},{"$ref":"#\/components\/schemas\/attributeEmail"},{"$ref":"#\/components\/schemas\/attributeEnum"},{"$ref":"#\/components\/schemas\/attributeUrl"},{"$ref":"#\/components\/schemas\/attributeIp"},{"$ref":"#\/components\/schemas\/attributeDatetime"},{"$ref":"#\/components\/schemas\/attributeRelationship"},{"$ref":"#\/components\/schemas\/attributeString"}]}}}}},"x-appwrite":{"method":"getAttribute","weight":91,"cookies":false,"type":"","deprecated":false,"demo":"databases\/get-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"},{"name":"key","description":"Attribute Key.","required":true,"schema":{"type":"string"},"in":"path"}]},"delete":{"summary":"Delete attribute","operationId":"databasesDeleteAttribute","tags":["databases"],"description":"Deletes an attribute.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteAttribute","weight":102,"cookies":false,"type":"","deprecated":false,"demo":"databases\/delete-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"},{"name":"key","description":"Attribute Key.","required":true,"schema":{"type":"string"},"in":"path"}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/{key}\/relationship":{"patch":{"summary":"Update relationship attribute","operationId":"databasesUpdateRelationshipAttribute","tags":["databases"],"description":"Update relationship attribute. [Learn more about relationship attributes](https:\/\/appwrite.io\/docs\/databases-relationships#relationship-attributes).\n","responses":{"200":{"description":"AttributeRelationship","content":{"":{"schema":{"$ref":"#\/components\/schemas\/attributeRelationship"}}}}},"x-appwrite":{"method":"updateRelationshipAttribute","weight":101,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-relationship-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-relationship-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"},{"name":"key","description":"Attribute Key.","required":true,"schema":{"type":"string"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"onDelete":{"type":"string","description":"Constraints option","x-example":"cascade","enum":["cascade","restrict","setNull"],"x-enum-name":"RelationMutate","x-enum-keys":[]}}}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/documents":{"get":{"summary":"List documents","operationId":"databasesListDocuments","tags":["databases"],"description":"Get a list of all the user's documents in a given collection. You can use the query params to filter your results.","responses":{"200":{"description":"Documents List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/documentList"}}}}},"x-appwrite":{"method":"listDocuments","weight":108,"cookies":false,"type":"","deprecated":false,"demo":"databases\/list-documents.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-documents.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"documents.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/databases\/{databaseId}\/collections\/{collectionId}\/documents","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]},"post":{"summary":"Create document","operationId":"databasesCreateDocument","tags":["databases"],"description":"Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.","responses":{"201":{"description":"Document","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/document"}}}}},"x-appwrite":{"method":"createDocument","weight":107,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-document.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-document.md","rate-limit":120,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId}","scope":"documents.write","platforms":["client","server","server"],"packaging":false,"offline-model":"\/databases\/{databaseId}\/collections\/{collectionId}\/documents","offline-key":"{documentId}","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection). Make sure to define attributes before creating documents.","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"documentId":{"type":"string","description":"Document ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<DOCUMENT_ID>"},"data":{"type":"object","description":"Document data as JSON object.","x-example":"{}"},"permissions":{"type":"array","description":"An array of permissions strings. By default, only the current user is granted all permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":"[\"read(\"any\")\"]","items":{"type":"string"}}},"required":["documentId","data"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}":{"get":{"summary":"Get document","operationId":"databasesGetDocument","tags":["databases"],"description":"Get a document by its unique ID. This endpoint response returns a JSON object with the document data.","responses":{"200":{"description":"Document","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/document"}}}}},"x-appwrite":{"method":"getDocument","weight":109,"cookies":false,"type":"","deprecated":false,"demo":"databases\/get-document.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"documents.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/databases\/{databaseId}\/collections\/{collectionId}\/documents","offline-key":"{documentId}","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"},{"name":"documentId","description":"Document ID.","required":true,"schema":{"type":"string","x-example":"<DOCUMENT_ID>"},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]},"patch":{"summary":"Update document","operationId":"databasesUpdateDocument","tags":["databases"],"description":"Update a document by its unique ID. Using the patch method you can pass only specific fields that will get updated.","responses":{"200":{"description":"Document","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/document"}}}}},"x-appwrite":{"method":"updateDocument","weight":111,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-document.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-document.md","rate-limit":120,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId}","scope":"documents.write","platforms":["client","server","server"],"packaging":false,"offline-model":"\/databases\/{databaseId}\/collections\/{collectionId}\/documents","offline-key":"{documentId}","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID.","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"},{"name":"documentId","description":"Document ID.","required":true,"schema":{"type":"string","x-example":"<DOCUMENT_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"object","description":"Document data as JSON object. Include only attribute and value pairs to be updated.","x-example":"{}"},"permissions":{"type":"array","description":"An array of permissions strings. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":"[\"read(\"any\")\"]","items":{"type":"string"}}}}}}}},"delete":{"summary":"Delete document","operationId":"databasesDeleteDocument","tags":["databases"],"description":"Delete a document by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteDocument","weight":112,"cookies":false,"type":"","deprecated":false,"demo":"databases\/delete-document.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-document.md","rate-limit":60,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId}","scope":"documents.write","platforms":["client","server","server"],"packaging":false,"offline-model":"\/databases\/{databaseId}\/collections\/{collectionId}\/documents","offline-key":"{documentId}","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"},{"name":"documentId","description":"Document ID.","required":true,"schema":{"type":"string","x-example":"<DOCUMENT_ID>"},"in":"path"}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/indexes":{"get":{"summary":"List indexes","operationId":"databasesListIndexes","tags":["databases"],"description":"List indexes in the collection.","responses":{"200":{"description":"Indexes List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/indexList"}}}}},"x-appwrite":{"method":"listIndexes","weight":104,"cookies":false,"type":"","deprecated":false,"demo":"databases\/list-indexes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-indexes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, status, attributes, error","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]},"post":{"summary":"Create index","operationId":"databasesCreateIndex","tags":["databases"],"description":"Creates an index on the attributes listed. Your index should include all the attributes you will query in a single request.\nAttributes can be `key`, `fulltext`, and `unique`.","responses":{"202":{"description":"Index","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/index"}}}}},"x-appwrite":{"method":"createIndex","weight":103,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-index.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-index.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"key":{"type":"string","description":"Index Key.","x-example":null},"type":{"type":"string","description":"Index type.","x-example":"key","enum":["key","fulltext","unique"],"x-enum-name":"IndexType","x-enum-keys":[]},"attributes":{"type":"array","description":"Array of attributes to index. Maximum of 100 attributes are allowed, each 32 characters long.","x-example":null,"items":{"type":"string"}},"orders":{"type":"array","description":"Array of index orders. Maximum of 100 orders are allowed.","x-example":null,"items":{"type":"string"}}},"required":["key","type","attributes"]}}}}}},"\/databases\/{databaseId}\/collections\/{collectionId}\/indexes\/{key}":{"get":{"summary":"Get index","operationId":"databasesGetIndex","tags":["databases"],"description":"Get index by ID.","responses":{"200":{"description":"Index","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/index"}}}}},"x-appwrite":{"method":"getIndex","weight":105,"cookies":false,"type":"","deprecated":false,"demo":"databases\/get-index.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-index.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"},{"name":"key","description":"Index Key.","required":true,"schema":{"type":"string"},"in":"path"}]},"delete":{"summary":"Delete index","operationId":"databasesDeleteIndex","tags":["databases"],"description":"Delete an index.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteIndex","weight":106,"cookies":false,"type":"","deprecated":false,"demo":"databases\/delete-index.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-index.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"schema":{"type":"string","x-example":"<DATABASE_ID>"},"in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"schema":{"type":"string","x-example":"<COLLECTION_ID>"},"in":"path"},{"name":"key","description":"Index Key.","required":true,"schema":{"type":"string"},"in":"path"}]}},"\/functions":{"get":{"summary":"List functions","operationId":"functionsList","tags":["functions"],"description":"Get a list of all the project's functions. You can use the query params to filter your results.","responses":{"200":{"description":"Functions List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/functionList"}}}}},"x-appwrite":{"method":"list","weight":282,"cookies":false,"type":"","deprecated":false,"demo":"functions\/list.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-functions.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, enabled, runtime, deployment, schedule, scheduleNext, schedulePrevious, timeout, entrypoint, commands, installationId","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"<SEARCH>","default":""},"in":"query"}]},"post":{"summary":"Create function","operationId":"functionsCreate","tags":["functions"],"description":"Create a new function. You can pass a list of [permissions](https:\/\/appwrite.io\/docs\/permissions) to allow different project users or team with access to execute the function using the client API.","responses":{"201":{"description":"Function","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/function"}}}}},"x-appwrite":{"method":"create","weight":281,"cookies":false,"type":"","deprecated":false,"demo":"functions\/create.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-function.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"functionId":{"type":"string","description":"Function ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<FUNCTION_ID>"},"name":{"type":"string","description":"Function name. Max length: 128 chars.","x-example":"<NAME>"},"runtime":{"type":"string","description":"Execution runtime.","x-example":"node-14.5","enum":["node-14.5","node-16.0","node-18.0","node-19.0","node-20.0","node-21.0","php-8.0","php-8.1","php-8.2","php-8.3","ruby-3.0","ruby-3.1","ruby-3.2","ruby-3.3","python-3.8","python-3.9","python-3.10","python-3.11","python-3.12","python-ml-3.11","deno-1.21","deno-1.24","deno-1.35","deno-1.40","dart-2.15","dart-2.16","dart-2.17","dart-2.18","dart-3.0","dart-3.1","dart-3.3","dotnet-3.1","dotnet-6.0","dotnet-7.0","java-8.0","java-11.0","java-17.0","java-18.0","java-21.0","swift-5.5","swift-5.8","swift-5.9","kotlin-1.6","kotlin-1.8","kotlin-1.9","cpp-17","cpp-20","bun-1.0"],"x-enum-name":null,"x-enum-keys":[]},"execute":{"type":"array","description":"An array of role strings with execution permissions. By default no user is granted with any execute permissions. [learn more about roles](https:\/\/appwrite.io\/docs\/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.","x-example":"[\"any\"]","items":{"type":"string"}},"events":{"type":"array","description":"Events list. Maximum of 100 events are allowed.","x-example":null,"items":{"type":"string"}},"schedule":{"type":"string","description":"Schedule CRON syntax.","x-example":null},"timeout":{"type":"integer","description":"Function maximum execution time in seconds.","x-example":1},"enabled":{"type":"boolean","description":"Is function enabled? When set to 'disabled', users cannot access the function but Server SDKs with and API key can still access the function. No data is lost when this is toggled.","x-example":false},"logging":{"type":"boolean","description":"Whether executions will be logged. When set to false, executions will not be logged, but will reduce resource used by your Appwrite project.","x-example":false},"entrypoint":{"type":"string","description":"Entrypoint File. This path is relative to the \"providerRootDirectory\".","x-example":"<ENTRYPOINT>"},"commands":{"type":"string","description":"Build Commands.","x-example":"<COMMANDS>"},"installationId":{"type":"string","description":"Appwrite Installation ID for VCS (Version Control System) deployment.","x-example":"<INSTALLATION_ID>"},"providerRepositoryId":{"type":"string","description":"Repository ID of the repo linked to the function.","x-example":"<PROVIDER_REPOSITORY_ID>"},"providerBranch":{"type":"string","description":"Production branch for the repo linked to the function.","x-example":"<PROVIDER_BRANCH>"},"providerSilentMode":{"type":"boolean","description":"Is the VCS (Version Control System) connection in silent mode for the repo linked to the function? In silent mode, comments will not be made on commits and pull requests.","x-example":false},"providerRootDirectory":{"type":"string","description":"Path to function code in the linked repo.","x-example":"<PROVIDER_ROOT_DIRECTORY>"},"templateRepository":{"type":"string","description":"Repository name of the template.","x-example":"<TEMPLATE_REPOSITORY>"},"templateOwner":{"type":"string","description":"The name of the owner of the template.","x-example":"<TEMPLATE_OWNER>"},"templateRootDirectory":{"type":"string","description":"Path to function code in the template repo.","x-example":"<TEMPLATE_ROOT_DIRECTORY>"},"templateBranch":{"type":"string","description":"Production branch for the repo linked to the function template.","x-example":"<TEMPLATE_BRANCH>"}},"required":["functionId","name","runtime"]}}}}}},"\/functions\/runtimes":{"get":{"summary":"List runtimes","operationId":"functionsListRuntimes","tags":["functions"],"description":"Get a list of all runtimes that are currently active on your instance.","responses":{"200":{"description":"Runtimes List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/runtimeList"}}}}},"x-appwrite":{"method":"listRuntimes","weight":283,"cookies":false,"type":"","deprecated":false,"demo":"functions\/list-runtimes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-runtimes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}]}},"\/functions\/{functionId}":{"get":{"summary":"Get function","operationId":"functionsGet","tags":["functions"],"description":"Get a function by its unique ID.","responses":{"200":{"description":"Function","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/function"}}}}},"x-appwrite":{"method":"get","weight":284,"cookies":false,"type":"","deprecated":false,"demo":"functions\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-function.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"schema":{"type":"string","x-example":"<FUNCTION_ID>"},"in":"path"}]},"put":{"summary":"Update function","operationId":"functionsUpdate","tags":["functions"],"description":"Update function by its unique ID.","responses":{"200":{"description":"Function","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/function"}}}}},"x-appwrite":{"method":"update","weight":287,"cookies":false,"type":"","deprecated":false,"demo":"functions\/update.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/update-function.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"schema":{"type":"string","x-example":"<FUNCTION_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Function name. Max length: 128 chars.","x-example":"<NAME>"},"runtime":{"type":"string","description":"Execution runtime.","x-example":"node-14.5","enum":["node-14.5","node-16.0","node-18.0","node-19.0","node-20.0","node-21.0","php-8.0","php-8.1","php-8.2","php-8.3","ruby-3.0","ruby-3.1","ruby-3.2","ruby-3.3","python-3.8","python-3.9","python-3.10","python-3.11","python-3.12","python-ml-3.11","deno-1.21","deno-1.24","deno-1.35","deno-1.40","dart-2.15","dart-2.16","dart-2.17","dart-2.18","dart-3.0","dart-3.1","dart-3.3","dotnet-3.1","dotnet-6.0","dotnet-7.0","java-8.0","java-11.0","java-17.0","java-18.0","java-21.0","swift-5.5","swift-5.8","swift-5.9","kotlin-1.6","kotlin-1.8","kotlin-1.9","cpp-17","cpp-20","bun-1.0"],"x-enum-name":null,"x-enum-keys":[]},"execute":{"type":"array","description":"An array of role strings with execution permissions. By default no user is granted with any execute permissions. [learn more about roles](https:\/\/appwrite.io\/docs\/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.","x-example":"[\"any\"]","items":{"type":"string"}},"events":{"type":"array","description":"Events list. Maximum of 100 events are allowed.","x-example":null,"items":{"type":"string"}},"schedule":{"type":"string","description":"Schedule CRON syntax.","x-example":null},"timeout":{"type":"integer","description":"Maximum execution time in seconds.","x-example":1},"enabled":{"type":"boolean","description":"Is function enabled? When set to 'disabled', users cannot access the function but Server SDKs with and API key can still access the function. No data is lost when this is toggled.","x-example":false},"logging":{"type":"boolean","description":"Whether executions will be logged. When set to false, executions will not be logged, but will reduce resource used by your Appwrite project.","x-example":false},"entrypoint":{"type":"string","description":"Entrypoint File. This path is relative to the \"providerRootDirectory\".","x-example":"<ENTRYPOINT>"},"commands":{"type":"string","description":"Build Commands.","x-example":"<COMMANDS>"},"installationId":{"type":"string","description":"Appwrite Installation ID for VCS (Version Controle System) deployment.","x-example":"<INSTALLATION_ID>"},"providerRepositoryId":{"type":"string","description":"Repository ID of the repo linked to the function","x-example":"<PROVIDER_REPOSITORY_ID>"},"providerBranch":{"type":"string","description":"Production branch for the repo linked to the function","x-example":"<PROVIDER_BRANCH>"},"providerSilentMode":{"type":"boolean","description":"Is the VCS (Version Control System) connection in silent mode for the repo linked to the function? In silent mode, comments will not be made on commits and pull requests.","x-example":false},"providerRootDirectory":{"type":"string","description":"Path to function code in the linked repo.","x-example":"<PROVIDER_ROOT_DIRECTORY>"}},"required":["name"]}}}}},"delete":{"summary":"Delete function","operationId":"functionsDelete","tags":["functions"],"description":"Delete a function by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"delete","weight":290,"cookies":false,"type":"","deprecated":false,"demo":"functions\/delete.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/delete-function.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"schema":{"type":"string","x-example":"<FUNCTION_ID>"},"in":"path"}]}},"\/functions\/{functionId}\/deployments":{"get":{"summary":"List deployments","operationId":"functionsListDeployments","tags":["functions"],"description":"Get a list of all the project's code deployments. You can use the query params to filter your results.","responses":{"200":{"description":"Deployments List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/deploymentList"}}}}},"x-appwrite":{"method":"listDeployments","weight":292,"cookies":false,"type":"","deprecated":false,"demo":"functions\/list-deployments.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-deployments.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"schema":{"type":"string","x-example":"<FUNCTION_ID>"},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: size, buildId, activate, entrypoint, commands","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"<SEARCH>","default":""},"in":"query"}]},"post":{"summary":"Create deployment","operationId":"functionsCreateDeployment","tags":["functions"],"description":"Create a new function code deployment. Use this endpoint to upload a new version of your code function. To execute your newly uploaded code, you'll need to update the function's deployment to use your new deployment UID.\n\nThis endpoint accepts a tar.gz file compressed with your code. Make sure to include any dependencies your code has within the compressed file. You can learn more about code packaging in the [Appwrite Cloud Functions tutorial](https:\/\/appwrite.io\/docs\/functions).\n\nUse the \"command\" param to set the entrypoint used to execute your code.","responses":{"202":{"description":"Deployment","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/deployment"}}}}},"x-appwrite":{"method":"createDeployment","weight":291,"cookies":false,"type":"","deprecated":false,"demo":"functions\/create-deployment.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-deployment.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":true,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"schema":{"type":"string","x-example":"<FUNCTION_ID>"},"in":"path"}],"requestBody":{"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"entrypoint":{"type":"string","description":"Entrypoint File.","x-example":"<ENTRYPOINT>"},"commands":{"type":"string","description":"Build Commands.","x-example":"<COMMANDS>"},"code":{"type":"string","description":"Gzip file with your code package. When used with the Appwrite CLI, pass the path to your code directory, and the CLI will automatically package your code. Use a path that is within the current directory.","x-example":null},"activate":{"type":"boolean","description":"Automatically activate the deployment when it is finished building.","x-example":false}},"required":["code","activate"]}}}}}},"\/functions\/{functionId}\/deployments\/{deploymentId}":{"get":{"summary":"Get deployment","operationId":"functionsGetDeployment","tags":["functions"],"description":"Get a code deployment by its unique ID.","responses":{"200":{"description":"Deployment","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/deployment"}}}}},"x-appwrite":{"method":"getDeployment","weight":293,"cookies":false,"type":"","deprecated":false,"demo":"functions\/get-deployment.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-deployment.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"schema":{"type":"string","x-example":"<FUNCTION_ID>"},"in":"path"},{"name":"deploymentId","description":"Deployment ID.","required":true,"schema":{"type":"string","x-example":"<DEPLOYMENT_ID>"},"in":"path"}]},"patch":{"summary":"Update deployment","operationId":"functionsUpdateDeployment","tags":["functions"],"description":"Update the function code deployment ID using the unique function ID. Use this endpoint to switch the code deployment that should be executed by the execution endpoint.","responses":{"200":{"description":"Function","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/function"}}}}},"x-appwrite":{"method":"updateDeployment","weight":289,"cookies":false,"type":"","deprecated":false,"demo":"functions\/update-deployment.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/update-function-deployment.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"schema":{"type":"string","x-example":"<FUNCTION_ID>"},"in":"path"},{"name":"deploymentId","description":"Deployment ID.","required":true,"schema":{"type":"string","x-example":"<DEPLOYMENT_ID>"},"in":"path"}]},"delete":{"summary":"Delete deployment","operationId":"functionsDeleteDeployment","tags":["functions"],"description":"Delete a code deployment by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteDeployment","weight":294,"cookies":false,"type":"","deprecated":false,"demo":"functions\/delete-deployment.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/delete-deployment.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"schema":{"type":"string","x-example":"<FUNCTION_ID>"},"in":"path"},{"name":"deploymentId","description":"Deployment ID.","required":true,"schema":{"type":"string","x-example":"<DEPLOYMENT_ID>"},"in":"path"}]}},"\/functions\/{functionId}\/deployments\/{deploymentId}\/builds\/{buildId}":{"post":{"summary":"Create build","operationId":"functionsCreateBuild","tags":["functions"],"description":"Create a new build for an Appwrite Function deployment. This endpoint can be used to retry a failed build.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"createBuild","weight":295,"cookies":false,"type":"","deprecated":false,"demo":"functions\/create-build.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-build.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"schema":{"type":"string","x-example":"<FUNCTION_ID>"},"in":"path"},{"name":"deploymentId","description":"Deployment ID.","required":true,"schema":{"type":"string","x-example":"<DEPLOYMENT_ID>"},"in":"path"},{"name":"buildId","description":"Build unique ID.","required":true,"schema":{"type":"string","x-example":"<BUILD_ID>"},"in":"path"}]}},"\/functions\/{functionId}\/deployments\/{deploymentId}\/download":{"get":{"summary":"Download deployment","operationId":"functionsDownloadDeployment","tags":["functions"],"description":"Get a Deployment's contents by its unique ID. This endpoint supports range requests for partial or streaming file download.","responses":{"200":{"description":"File"}},"x-appwrite":{"method":"downloadDeployment","weight":288,"cookies":false,"type":"location","deprecated":false,"demo":"functions\/download-deployment.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/download-deployment.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"schema":{"type":"string","x-example":"<FUNCTION_ID>"},"in":"path"},{"name":"deploymentId","description":"Deployment ID.","required":true,"schema":{"type":"string","x-example":"<DEPLOYMENT_ID>"},"in":"path"}]}},"\/functions\/{functionId}\/executions":{"get":{"summary":"List executions","operationId":"functionsListExecutions","tags":["functions"],"description":"Get a list of all the current user function execution logs. You can use the query params to filter your results.","responses":{"200":{"description":"Executions List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/executionList"}}}}},"x-appwrite":{"method":"listExecutions","weight":297,"cookies":false,"type":"","deprecated":false,"demo":"functions\/list-executions.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-executions.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"execution.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"schema":{"type":"string","x-example":"<FUNCTION_ID>"},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: trigger, status, responseStatusCode, duration","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"<SEARCH>","default":""},"in":"query"}]},"post":{"summary":"Create execution","operationId":"functionsCreateExecution","tags":["functions"],"description":"Trigger a function execution. The returned object will return you the current execution status. You can ping the `Get Execution` endpoint to get updates on the current execution status. Once this endpoint is called, your function execution process will start asynchronously.","responses":{"201":{"description":"Execution","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/execution"}}}}},"x-appwrite":{"method":"createExecution","weight":296,"cookies":false,"type":"","deprecated":false,"demo":"functions\/create-execution.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-execution.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"execution.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"schema":{"type":"string","x-example":"<FUNCTION_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"body":{"type":"string","description":"HTTP body of execution. Default value is empty string.","x-example":"<BODY>"},"async":{"type":"boolean","description":"Execute code in the background. Default value is false.","x-example":false},"path":{"type":"string","description":"HTTP path of execution. Path can include query params. Default value is \/","x-example":"<PATH>"},"method":{"type":"string","description":"HTTP method of execution. Default value is GET.","x-example":"GET","enum":["GET","POST","PUT","PATCH","DELETE","OPTIONS"],"x-enum-name":"ExecutionMethod","x-enum-keys":[]},"headers":{"type":"object","description":"HTTP headers of execution. Defaults to empty.","x-example":"{}"}}}}}}}},"\/functions\/{functionId}\/executions\/{executionId}":{"get":{"summary":"Get execution","operationId":"functionsGetExecution","tags":["functions"],"description":"Get a function execution log by its unique ID.","responses":{"200":{"description":"Execution","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/execution"}}}}},"x-appwrite":{"method":"getExecution","weight":298,"cookies":false,"type":"","deprecated":false,"demo":"functions\/get-execution.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-execution.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"execution.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"schema":{"type":"string","x-example":"<FUNCTION_ID>"},"in":"path"},{"name":"executionId","description":"Execution ID.","required":true,"schema":{"type":"string","x-example":"<EXECUTION_ID>"},"in":"path"}]}},"\/functions\/{functionId}\/variables":{"get":{"summary":"List variables","operationId":"functionsListVariables","tags":["functions"],"description":"Get a list of all variables of a specific function.","responses":{"200":{"description":"Variables List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/variableList"}}}}},"x-appwrite":{"method":"listVariables","weight":300,"cookies":false,"type":"","deprecated":false,"demo":"functions\/list-variables.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-variables.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function unique ID.","required":true,"schema":{"type":"string","x-example":"<FUNCTION_ID>"},"in":"path"}]},"post":{"summary":"Create variable","operationId":"functionsCreateVariable","tags":["functions"],"description":"Create a new function environment variable. These variables can be accessed in the function at runtime as environment variables.","responses":{"201":{"description":"Variable","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/variable"}}}}},"x-appwrite":{"method":"createVariable","weight":299,"cookies":false,"type":"","deprecated":false,"demo":"functions\/create-variable.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-variable.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function unique ID.","required":true,"schema":{"type":"string","x-example":"<FUNCTION_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"key":{"type":"string","description":"Variable key. Max length: 255 chars.","x-example":"<KEY>"},"value":{"type":"string","description":"Variable value. Max length: 8192 chars.","x-example":"<VALUE>"}},"required":["key","value"]}}}}}},"\/functions\/{functionId}\/variables\/{variableId}":{"get":{"summary":"Get variable","operationId":"functionsGetVariable","tags":["functions"],"description":"Get a variable by its unique ID.","responses":{"200":{"description":"Variable","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/variable"}}}}},"x-appwrite":{"method":"getVariable","weight":301,"cookies":false,"type":"","deprecated":false,"demo":"functions\/get-variable.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-variable.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function unique ID.","required":true,"schema":{"type":"string","x-example":"<FUNCTION_ID>"},"in":"path"},{"name":"variableId","description":"Variable unique ID.","required":true,"schema":{"type":"string","x-example":"<VARIABLE_ID>"},"in":"path"}]},"put":{"summary":"Update variable","operationId":"functionsUpdateVariable","tags":["functions"],"description":"Update variable by its unique ID.","responses":{"200":{"description":"Variable","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/variable"}}}}},"x-appwrite":{"method":"updateVariable","weight":302,"cookies":false,"type":"","deprecated":false,"demo":"functions\/update-variable.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/update-variable.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function unique ID.","required":true,"schema":{"type":"string","x-example":"<FUNCTION_ID>"},"in":"path"},{"name":"variableId","description":"Variable unique ID.","required":true,"schema":{"type":"string","x-example":"<VARIABLE_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"key":{"type":"string","description":"Variable key. Max length: 255 chars.","x-example":"<KEY>"},"value":{"type":"string","description":"Variable value. Max length: 8192 chars.","x-example":"<VALUE>"}},"required":["key"]}}}}},"delete":{"summary":"Delete variable","operationId":"functionsDeleteVariable","tags":["functions"],"description":"Delete a variable by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteVariable","weight":303,"cookies":false,"type":"","deprecated":false,"demo":"functions\/delete-variable.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/delete-variable.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function unique ID.","required":true,"schema":{"type":"string","x-example":"<FUNCTION_ID>"},"in":"path"},{"name":"variableId","description":"Variable unique ID.","required":true,"schema":{"type":"string","x-example":"<VARIABLE_ID>"},"in":"path"}]}},"\/graphql":{"post":{"summary":"GraphQL endpoint","operationId":"graphqlQuery","tags":["graphql"],"description":"Execute a GraphQL mutation.","responses":{"200":{"description":"Any","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/any"}}}}},"x-appwrite":{"method":"query","weight":318,"cookies":false,"type":"graphql","deprecated":false,"demo":"graphql\/query.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md","rate-limit":60,"rate-time":60,"rate-key":"url:{url},ip:{ip}","scope":"graphql","platforms":["server","client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[],"Session":[],"JWT":[]}]}},"\/graphql\/mutation":{"post":{"summary":"GraphQL endpoint","operationId":"graphqlMutation","tags":["graphql"],"description":"Execute a GraphQL mutation.","responses":{"200":{"description":"Any","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/any"}}}}},"x-appwrite":{"method":"mutation","weight":317,"cookies":false,"type":"graphql","deprecated":false,"demo":"graphql\/mutation.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md","rate-limit":60,"rate-time":60,"rate-key":"url:{url},ip:{ip}","scope":"graphql","platforms":["server","client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[],"Session":[],"JWT":[]}]}},"\/health":{"get":{"summary":"Get HTTP","operationId":"healthGet","tags":["health"],"description":"Check the Appwrite HTTP server is up and responsive.","responses":{"200":{"description":"Health Status","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthStatus"}}}}},"x-appwrite":{"method":"get","weight":124,"cookies":false,"type":"","deprecated":false,"demo":"health\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}]}},"\/health\/anti-virus":{"get":{"summary":"Get antivirus","operationId":"healthGetAntivirus","tags":["health"],"description":"Check the Appwrite Antivirus server is up and connection is successful.","responses":{"200":{"description":"Health Antivirus","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthAntivirus"}}}}},"x-appwrite":{"method":"getAntivirus","weight":146,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-antivirus.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage-anti-virus.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}]}},"\/health\/cache":{"get":{"summary":"Get cache","operationId":"healthGetCache","tags":["health"],"description":"Check the Appwrite in-memory cache servers are up and connection is successful.","responses":{"200":{"description":"Health Status","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthStatus"}}}}},"x-appwrite":{"method":"getCache","weight":127,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-cache.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-cache.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}]}},"\/health\/certificate":{"get":{"summary":"Get the SSL certificate for a domain","operationId":"healthGetCertificate","tags":["health"],"description":"Get the SSL certificate for a domain","responses":{"200":{"description":"Health Certificate","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthCertificate"}}}}},"x-appwrite":{"method":"getCertificate","weight":133,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-certificate.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-certificate.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"domain","description":"string","required":false,"schema":{"type":"string"},"in":"query"}]}},"\/health\/db":{"get":{"summary":"Get DB","operationId":"healthGetDB","tags":["health"],"description":"Check the Appwrite database servers are up and connection is successful.","responses":{"200":{"description":"Health Status","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthStatus"}}}}},"x-appwrite":{"method":"getDB","weight":126,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-d-b.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-db.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}]}},"\/health\/pubsub":{"get":{"summary":"Get pubsub","operationId":"healthGetPubSub","tags":["health"],"description":"Check the Appwrite pub-sub servers are up and connection is successful.","responses":{"200":{"description":"Health Status","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthStatus"}}}}},"x-appwrite":{"method":"getPubSub","weight":129,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-pub-sub.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-pubsub.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}]}},"\/health\/queue":{"get":{"summary":"Get queue","operationId":"healthGetQueue","tags":["health"],"description":"Check the Appwrite queue messaging servers are up and connection is successful.","responses":{"200":{"description":"Health Status","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthStatus"}}}}},"x-appwrite":{"method":"getQueue","weight":128,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}]}},"\/health\/queue\/builds":{"get":{"summary":"Get builds queue","operationId":"healthGetQueueBuilds","tags":["health"],"description":"Get the number of builds that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthQueue"}}}}},"x-appwrite":{"method":"getQueueBuilds","weight":135,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-builds.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-builds.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"schema":{"type":"integer","format":"int32","default":5000},"in":"query"}]}},"\/health\/queue\/certificates":{"get":{"summary":"Get certificates queue","operationId":"healthGetQueueCertificates","tags":["health"],"description":"Get the number of certificates that are waiting to be issued against [Letsencrypt](https:\/\/letsencrypt.org\/) in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthQueue"}}}}},"x-appwrite":{"method":"getQueueCertificates","weight":134,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-certificates.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-certificates.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"schema":{"type":"integer","format":"int32","default":5000},"in":"query"}]}},"\/health\/queue\/databases":{"get":{"summary":"Get databases queue","operationId":"healthGetQueueDatabases","tags":["health"],"description":"Get the number of database changes that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthQueue"}}}}},"x-appwrite":{"method":"getQueueDatabases","weight":136,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-databases.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-databases.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"name","description":"Queue name for which to check the queue size","required":false,"schema":{"type":"string","x-example":"<NAME>","default":"database_db_main"},"in":"query"},{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"schema":{"type":"integer","format":"int32","default":5000},"in":"query"}]}},"\/health\/queue\/deletes":{"get":{"summary":"Get deletes queue","operationId":"healthGetQueueDeletes","tags":["health"],"description":"Get the number of background destructive changes that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthQueue"}}}}},"x-appwrite":{"method":"getQueueDeletes","weight":137,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-deletes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-deletes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"schema":{"type":"integer","format":"int32","default":5000},"in":"query"}]}},"\/health\/queue\/failed\/{name}":{"get":{"summary":"Get number of failed queue jobs","operationId":"healthGetFailedJobs","tags":["health"],"description":"Returns the amount of failed jobs in a given queue.\n","responses":{"200":{"description":"Health Queue","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthQueue"}}}}},"x-appwrite":{"method":"getFailedJobs","weight":147,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-failed-jobs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-failed-queue-jobs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"name","description":"The name of the queue","required":true,"schema":{"type":"string","x-example":"v1-database","enum":["v1-database","v1-deletes","v1-audits","v1-mails","v1-functions","v1-usage","v1-usage-dump","v1-webhooks","v1-certificates","v1-builds","v1-messaging","v1-migrations"],"x-enum-name":null,"x-enum-keys":[]},"in":"path"},{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"schema":{"type":"integer","format":"int32","default":5000},"in":"query"}]}},"\/health\/queue\/functions":{"get":{"summary":"Get functions queue","operationId":"healthGetQueueFunctions","tags":["health"],"description":"Get the number of function executions that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthQueue"}}}}},"x-appwrite":{"method":"getQueueFunctions","weight":141,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-functions.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-functions.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"schema":{"type":"integer","format":"int32","default":5000},"in":"query"}]}},"\/health\/queue\/logs":{"get":{"summary":"Get logs queue","operationId":"healthGetQueueLogs","tags":["health"],"description":"Get the number of logs that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthQueue"}}}}},"x-appwrite":{"method":"getQueueLogs","weight":132,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"schema":{"type":"integer","format":"int32","default":5000},"in":"query"}]}},"\/health\/queue\/mails":{"get":{"summary":"Get mails queue","operationId":"healthGetQueueMails","tags":["health"],"description":"Get the number of mails that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthQueue"}}}}},"x-appwrite":{"method":"getQueueMails","weight":138,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-mails.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-mails.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"schema":{"type":"integer","format":"int32","default":5000},"in":"query"}]}},"\/health\/queue\/messaging":{"get":{"summary":"Get messaging queue","operationId":"healthGetQueueMessaging","tags":["health"],"description":"Get the number of messages that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthQueue"}}}}},"x-appwrite":{"method":"getQueueMessaging","weight":139,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-messaging.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-messaging.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"schema":{"type":"integer","format":"int32","default":5000},"in":"query"}]}},"\/health\/queue\/migrations":{"get":{"summary":"Get migrations queue","operationId":"healthGetQueueMigrations","tags":["health"],"description":"Get the number of migrations that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthQueue"}}}}},"x-appwrite":{"method":"getQueueMigrations","weight":140,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-migrations.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-migrations.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"schema":{"type":"integer","format":"int32","default":5000},"in":"query"}]}},"\/health\/queue\/usage":{"get":{"summary":"Get usage queue","operationId":"healthGetQueueUsage","tags":["health"],"description":"Get the number of metrics that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthQueue"}}}}},"x-appwrite":{"method":"getQueueUsage","weight":142,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-usage.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-usage.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"schema":{"type":"integer","format":"int32","default":5000},"in":"query"}]}},"\/health\/queue\/usage-dump":{"get":{"summary":"Get usage dump queue","operationId":"healthGetQueueUsageDump","tags":["health"],"description":"Get the number of projects containing metrics that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthQueue"}}}}},"x-appwrite":{"method":"getQueueUsageDump","weight":143,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-usage-dump.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-usage-dump.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"schema":{"type":"integer","format":"int32","default":5000},"in":"query"}]}},"\/health\/queue\/webhooks":{"get":{"summary":"Get webhooks queue","operationId":"healthGetQueueWebhooks","tags":["health"],"description":"Get the number of webhooks that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthQueue"}}}}},"x-appwrite":{"method":"getQueueWebhooks","weight":131,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-webhooks.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-webhooks.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"schema":{"type":"integer","format":"int32","default":5000},"in":"query"}]}},"\/health\/storage":{"get":{"summary":"Get storage","operationId":"healthGetStorage","tags":["health"],"description":"Check the Appwrite storage device is up and connection is successful.","responses":{"200":{"description":"Health Status","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthStatus"}}}}},"x-appwrite":{"method":"getStorage","weight":145,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-storage.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}]}},"\/health\/storage\/local":{"get":{"summary":"Get local storage","operationId":"healthGetStorageLocal","tags":["health"],"description":"Check the Appwrite local storage device is up and connection is successful.","responses":{"200":{"description":"Health Status","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthStatus"}}}}},"x-appwrite":{"method":"getStorageLocal","weight":144,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-storage-local.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage-local.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}]}},"\/health\/time":{"get":{"summary":"Get time","operationId":"healthGetTime","tags":["health"],"description":"Check the Appwrite server time is synced with Google remote NTP server. We use this technology to smoothly handle leap seconds with no disruptive events. The [Network Time Protocol](https:\/\/en.wikipedia.org\/wiki\/Network_Time_Protocol) (NTP) is used by hundreds of millions of computers and devices to synchronize their clocks over the Internet. If your computer sets its own clock, it likely uses NTP.","responses":{"200":{"description":"Health Time","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/healthTime"}}}}},"x-appwrite":{"method":"getTime","weight":130,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-time.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-time.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}]}},"\/locale":{"get":{"summary":"Get user locale","operationId":"localeGet","tags":["locale"],"description":"Get the current user location based on IP. Returns an object with user country code, country name, continent name, continent code, ip address and suggested currency. You can use the locale header to get the data in a supported language.\n\n([IP Geolocation by DB-IP](https:\/\/db-ip.com))","responses":{"200":{"description":"Locale","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/locale"}}}}},"x-appwrite":{"method":"get","weight":116,"cookies":false,"type":"","deprecated":false,"demo":"locale\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/get-locale.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/localed","offline-key":"current","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}]}},"\/locale\/codes":{"get":{"summary":"List Locale Codes","operationId":"localeListCodes","tags":["locale"],"description":"List of all locale codes in [ISO 639-1](https:\/\/en.wikipedia.org\/wiki\/List_of_ISO_639-1_codes).","responses":{"200":{"description":"Locale codes list","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/localeCodeList"}}}}},"x-appwrite":{"method":"listCodes","weight":117,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-locale-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/localeCode","offline-key":"current","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}]}},"\/locale\/continents":{"get":{"summary":"List continents","operationId":"localeListContinents","tags":["locale"],"description":"List of all continents. You can use the locale header to get the data in a supported language.","responses":{"200":{"description":"Continents List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/continentList"}}}}},"x-appwrite":{"method":"listContinents","weight":121,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-continents.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-continents.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/continents","offline-key":"","offline-response-key":"code","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}]}},"\/locale\/countries":{"get":{"summary":"List countries","operationId":"localeListCountries","tags":["locale"],"description":"List of all countries. You can use the locale header to get the data in a supported language.","responses":{"200":{"description":"Countries List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/countryList"}}}}},"x-appwrite":{"method":"listCountries","weight":118,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-countries.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/countries","offline-key":"","offline-response-key":"code","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}]}},"\/locale\/countries\/eu":{"get":{"summary":"List EU countries","operationId":"localeListCountriesEU","tags":["locale"],"description":"List of all countries that are currently members of the EU. You can use the locale header to get the data in a supported language.","responses":{"200":{"description":"Countries List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/countryList"}}}}},"x-appwrite":{"method":"listCountriesEU","weight":119,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-countries-e-u.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-eu.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/countries\/eu","offline-key":"","offline-response-key":"code","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}]}},"\/locale\/countries\/phones":{"get":{"summary":"List countries phone codes","operationId":"localeListCountriesPhones","tags":["locale"],"description":"List of all countries phone codes. You can use the locale header to get the data in a supported language.","responses":{"200":{"description":"Phones List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/phoneList"}}}}},"x-appwrite":{"method":"listCountriesPhones","weight":120,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-countries-phones.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-phones.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/countries\/phones","offline-key":"","offline-response-key":"countryCode","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}]}},"\/locale\/currencies":{"get":{"summary":"List currencies","operationId":"localeListCurrencies","tags":["locale"],"description":"List of all currencies, including currency symbol, name, plural, and decimal digits for all major and minor currencies. You can use the locale header to get the data in a supported language.","responses":{"200":{"description":"Currencies List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/currencyList"}}}}},"x-appwrite":{"method":"listCurrencies","weight":122,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-currencies.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-currencies.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/currencies","offline-key":"","offline-response-key":"code","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}]}},"\/locale\/languages":{"get":{"summary":"List languages","operationId":"localeListLanguages","tags":["locale"],"description":"List of all languages classified by ISO 639-1 including 2-letter code, name in English, and name in the respective language.","responses":{"200":{"description":"Languages List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/languageList"}}}}},"x-appwrite":{"method":"listLanguages","weight":123,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-languages.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-languages.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/languages","offline-key":"","offline-response-key":"code","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}]}},"\/messaging\/messages":{"get":{"summary":"List messages","operationId":"messagingListMessages","tags":["messaging"],"description":"Get a list of all messages from the current Appwrite project.","responses":{"200":{"description":"Message list","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/messageList"}}}}},"x-appwrite":{"method":"listMessages","weight":377,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-messages.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-messages.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: scheduledAt, deliveredAt, deliveredTotal, status, description, providerType","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"<SEARCH>","default":""},"in":"query"}]}},"\/messaging\/messages\/email":{"post":{"summary":"Create email","operationId":"messagingCreateEmail","tags":["messaging"],"description":"Create a new email message.","responses":{"201":{"description":"Message","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/message"}}}}},"x-appwrite":{"method":"createEmail","weight":374,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-email.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-email.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"messageId":{"type":"string","description":"Message ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<MESSAGE_ID>"},"subject":{"type":"string","description":"Email Subject.","x-example":"<SUBJECT>"},"content":{"type":"string","description":"Email Content.","x-example":"<CONTENT>"},"topics":{"type":"array","description":"List of Topic IDs.","x-example":null,"items":{"type":"string"}},"users":{"type":"array","description":"List of User IDs.","x-example":null,"items":{"type":"string"}},"targets":{"type":"array","description":"List of Targets IDs.","x-example":null,"items":{"type":"string"}},"cc":{"type":"array","description":"Array of target IDs to be added as CC.","x-example":null,"items":{"type":"string"}},"bcc":{"type":"array","description":"Array of target IDs to be added as BCC.","x-example":null,"items":{"type":"string"}},"attachments":{"type":"array","description":"Array of compound ID strings of bucket IDs and file IDs to be attached to the email. They should be formatted as <BUCKET_ID>:<FILE_ID>.","x-example":null,"items":{"type":"string"}},"draft":{"type":"boolean","description":"Is message a draft","x-example":false},"html":{"type":"boolean","description":"Is content of type HTML","x-example":false},"scheduledAt":{"type":"string","description":"Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.","x-example":null}},"required":["messageId","subject","content"]}}}}}},"\/messaging\/messages\/email\/{messageId}":{"patch":{"summary":"Update email","operationId":"messagingUpdateEmail","tags":["messaging"],"description":"Update an email message by its unique ID.\n","responses":{"200":{"description":"Message","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/message"}}}}},"x-appwrite":{"method":"updateEmail","weight":381,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-email.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-email.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"messageId","description":"Message ID.","required":true,"schema":{"type":"string","x-example":"<MESSAGE_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"topics":{"type":"array","description":"List of Topic IDs.","x-example":null,"items":{"type":"string"}},"users":{"type":"array","description":"List of User IDs.","x-example":null,"items":{"type":"string"}},"targets":{"type":"array","description":"List of Targets IDs.","x-example":null,"items":{"type":"string"}},"subject":{"type":"string","description":"Email Subject.","x-example":"<SUBJECT>"},"content":{"type":"string","description":"Email Content.","x-example":"<CONTENT>"},"draft":{"type":"boolean","description":"Is message a draft","x-example":false},"html":{"type":"boolean","description":"Is content of type HTML","x-example":false},"cc":{"type":"array","description":"Array of target IDs to be added as CC.","x-example":null,"items":{"type":"string"}},"bcc":{"type":"array","description":"Array of target IDs to be added as BCC.","x-example":null,"items":{"type":"string"}},"scheduledAt":{"type":"string","description":"Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.","x-example":null},"attachments":{"type":"array","description":"Array of compound ID strings of bucket IDs and file IDs to be attached to the email. They should be formatted as <BUCKET_ID>:<FILE_ID>.","x-example":null,"items":{"type":"string"}}}}}}}}},"\/messaging\/messages\/push":{"post":{"summary":"Create push notification","operationId":"messagingCreatePush","tags":["messaging"],"description":"Create a new push notification.","responses":{"201":{"description":"Message","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/message"}}}}},"x-appwrite":{"method":"createPush","weight":376,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-push.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-push.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"messageId":{"type":"string","description":"Message ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<MESSAGE_ID>"},"title":{"type":"string","description":"Title for push notification.","x-example":"<TITLE>"},"body":{"type":"string","description":"Body for push notification.","x-example":"<BODY>"},"topics":{"type":"array","description":"List of Topic IDs.","x-example":null,"items":{"type":"string"}},"users":{"type":"array","description":"List of User IDs.","x-example":null,"items":{"type":"string"}},"targets":{"type":"array","description":"List of Targets IDs.","x-example":null,"items":{"type":"string"}},"data":{"type":"object","description":"Additional Data for push notification.","x-example":"{}"},"action":{"type":"string","description":"Action for push notification.","x-example":"<ACTION>"},"image":{"type":"string","description":"Image for push notification. Must be a compound bucket ID to file ID of a jpeg, png, or bmp image in Appwrite Storage. It should be formatted as <BUCKET_ID>:<FILE_ID>.","x-example":"[ID1:ID2]"},"icon":{"type":"string","description":"Icon for push notification. Available only for Android and Web Platform.","x-example":"<ICON>"},"sound":{"type":"string","description":"Sound for push notification. Available only for Android and IOS Platform.","x-example":"<SOUND>"},"color":{"type":"string","description":"Color for push notification. Available only for Android Platform.","x-example":"<COLOR>"},"tag":{"type":"string","description":"Tag for push notification. Available only for Android Platform.","x-example":"<TAG>"},"badge":{"type":"string","description":"Badge for push notification. Available only for IOS Platform.","x-example":"<BADGE>"},"draft":{"type":"boolean","description":"Is message a draft","x-example":false},"scheduledAt":{"type":"string","description":"Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.","x-example":null}},"required":["messageId","title","body"]}}}}}},"\/messaging\/messages\/push\/{messageId}":{"patch":{"summary":"Update push notification","operationId":"messagingUpdatePush","tags":["messaging"],"description":"Update a push notification by its unique ID.\n","responses":{"200":{"description":"Message","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/message"}}}}},"x-appwrite":{"method":"updatePush","weight":383,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-push.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-push.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"messageId","description":"Message ID.","required":true,"schema":{"type":"string","x-example":"<MESSAGE_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"topics":{"type":"array","description":"List of Topic IDs.","x-example":null,"items":{"type":"string"}},"users":{"type":"array","description":"List of User IDs.","x-example":null,"items":{"type":"string"}},"targets":{"type":"array","description":"List of Targets IDs.","x-example":null,"items":{"type":"string"}},"title":{"type":"string","description":"Title for push notification.","x-example":"<TITLE>"},"body":{"type":"string","description":"Body for push notification.","x-example":"<BODY>"},"data":{"type":"object","description":"Additional Data for push notification.","x-example":"{}"},"action":{"type":"string","description":"Action for push notification.","x-example":"<ACTION>"},"image":{"type":"string","description":"Image for push notification. Must be a compound bucket ID to file ID of a jpeg, png, or bmp image in Appwrite Storage. It should be formatted as <BUCKET_ID>:<FILE_ID>.","x-example":"[ID1:ID2]"},"icon":{"type":"string","description":"Icon for push notification. Available only for Android and Web platforms.","x-example":"<ICON>"},"sound":{"type":"string","description":"Sound for push notification. Available only for Android and iOS platforms.","x-example":"<SOUND>"},"color":{"type":"string","description":"Color for push notification. Available only for Android platforms.","x-example":"<COLOR>"},"tag":{"type":"string","description":"Tag for push notification. Available only for Android platforms.","x-example":"<TAG>"},"badge":{"type":"integer","description":"Badge for push notification. Available only for iOS platforms.","x-example":null},"draft":{"type":"boolean","description":"Is message a draft","x-example":false},"scheduledAt":{"type":"string","description":"Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.","x-example":null}}}}}}}},"\/messaging\/messages\/sms":{"post":{"summary":"Create SMS","operationId":"messagingCreateSms","tags":["messaging"],"description":"Create a new SMS message.","responses":{"201":{"description":"Message","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/message"}}}}},"x-appwrite":{"method":"createSms","weight":375,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-sms.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-sms.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"messageId":{"type":"string","description":"Message ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<MESSAGE_ID>"},"content":{"type":"string","description":"SMS Content.","x-example":"<CONTENT>"},"topics":{"type":"array","description":"List of Topic IDs.","x-example":null,"items":{"type":"string"}},"users":{"type":"array","description":"List of User IDs.","x-example":null,"items":{"type":"string"}},"targets":{"type":"array","description":"List of Targets IDs.","x-example":null,"items":{"type":"string"}},"draft":{"type":"boolean","description":"Is message a draft","x-example":false},"scheduledAt":{"type":"string","description":"Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.","x-example":null}},"required":["messageId","content"]}}}}}},"\/messaging\/messages\/sms\/{messageId}":{"patch":{"summary":"Update SMS","operationId":"messagingUpdateSms","tags":["messaging"],"description":"Update an email message by its unique ID.\n","responses":{"200":{"description":"Message","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/message"}}}}},"x-appwrite":{"method":"updateSms","weight":382,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-sms.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-email.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"messageId","description":"Message ID.","required":true,"schema":{"type":"string","x-example":"<MESSAGE_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"topics":{"type":"array","description":"List of Topic IDs.","x-example":null,"items":{"type":"string"}},"users":{"type":"array","description":"List of User IDs.","x-example":null,"items":{"type":"string"}},"targets":{"type":"array","description":"List of Targets IDs.","x-example":null,"items":{"type":"string"}},"content":{"type":"string","description":"Email Content.","x-example":"<CONTENT>"},"draft":{"type":"boolean","description":"Is message a draft","x-example":false},"scheduledAt":{"type":"string","description":"Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.","x-example":null}}}}}}}},"\/messaging\/messages\/{messageId}":{"get":{"summary":"Get message","operationId":"messagingGetMessage","tags":["messaging"],"description":"Get a message by its unique ID.\n","responses":{"200":{"description":"Message","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/message"}}}}},"x-appwrite":{"method":"getMessage","weight":380,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/get-message.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-message.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"messageId","description":"Message ID.","required":true,"schema":{"type":"string","x-example":"<MESSAGE_ID>"},"in":"path"}]},"delete":{"summary":"Delete message","operationId":"messagingDelete","tags":["messaging"],"description":"Delete a message. If the message is not a draft or scheduled, but has been sent, this will not recall the message.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"delete","weight":384,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/delete.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-message.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"messageId","description":"Message ID.","required":true,"schema":{"type":"string","x-example":"<MESSAGE_ID>"},"in":"path"}]}},"\/messaging\/messages\/{messageId}\/logs":{"get":{"summary":"List message logs","operationId":"messagingListMessageLogs","tags":["messaging"],"description":"Get the message activity logs listed by its unique ID.","responses":{"200":{"description":"Logs List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/logList"}}}}},"x-appwrite":{"method":"listMessageLogs","weight":378,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-message-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-message-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"messageId","description":"Message ID.","required":true,"schema":{"type":"string","x-example":"<MESSAGE_ID>"},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]}},"\/messaging\/messages\/{messageId}\/targets":{"get":{"summary":"List message targets","operationId":"messagingListTargets","tags":["messaging"],"description":"Get a list of the targets associated with a message.","responses":{"200":{"description":"Target list","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/targetList"}}}}},"x-appwrite":{"method":"listTargets","weight":379,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-targets.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-message-targets.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"messageId","description":"Message ID.","required":true,"schema":{"type":"string","x-example":"<MESSAGE_ID>"},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, providerId, identifier, providerType","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]}},"\/messaging\/providers":{"get":{"summary":"List providers","operationId":"messagingListProviders","tags":["messaging"],"description":"Get a list of all providers from the current Appwrite project.","responses":{"200":{"description":"Provider list","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/providerList"}}}}},"x-appwrite":{"method":"listProviders","weight":349,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-providers.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-providers.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, provider, type, enabled","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"<SEARCH>","default":""},"in":"query"}]}},"\/messaging\/providers\/apns":{"post":{"summary":"Create APNS provider","operationId":"messagingCreateApnsProvider","tags":["messaging"],"description":"Create a new Apple Push Notification service provider.","responses":{"201":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"createApnsProvider","weight":348,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-apns-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-apns-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"authKey":{"type":"string","description":"APNS authentication key.","x-example":"<AUTH_KEY>"},"authKeyId":{"type":"string","description":"APNS authentication key ID.","x-example":"<AUTH_KEY_ID>"},"teamId":{"type":"string","description":"APNS team ID.","x-example":"<TEAM_ID>"},"bundleId":{"type":"string","description":"APNS bundle ID.","x-example":"<BUNDLE_ID>"},"sandbox":{"type":"boolean","description":"Use APNS sandbox environment.","x-example":false},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false}},"required":["providerId","name"]}}}}}},"\/messaging\/providers\/apns\/{providerId}":{"patch":{"summary":"Update APNS provider","operationId":"messagingUpdateApnsProvider","tags":["messaging"],"description":"Update a Apple Push Notification service provider by its unique ID.","responses":{"200":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"updateApnsProvider","weight":361,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-apns-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-apns-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"schema":{"type":"string","x-example":"<PROVIDER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false},"authKey":{"type":"string","description":"APNS authentication key.","x-example":"<AUTH_KEY>"},"authKeyId":{"type":"string","description":"APNS authentication key ID.","x-example":"<AUTH_KEY_ID>"},"teamId":{"type":"string","description":"APNS team ID.","x-example":"<TEAM_ID>"},"bundleId":{"type":"string","description":"APNS bundle ID.","x-example":"<BUNDLE_ID>"},"sandbox":{"type":"boolean","description":"Use APNS sandbox environment.","x-example":false}}}}}}}},"\/messaging\/providers\/fcm":{"post":{"summary":"Create FCM provider","operationId":"messagingCreateFcmProvider","tags":["messaging"],"description":"Create a new Firebase Cloud Messaging provider.","responses":{"201":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"createFcmProvider","weight":347,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-fcm-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-fcm-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"serviceAccountJSON":{"type":"object","description":"FCM service account JSON.","x-example":"{}"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false}},"required":["providerId","name"]}}}}}},"\/messaging\/providers\/fcm\/{providerId}":{"patch":{"summary":"Update FCM provider","operationId":"messagingUpdateFcmProvider","tags":["messaging"],"description":"Update a Firebase Cloud Messaging provider by its unique ID.","responses":{"200":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"updateFcmProvider","weight":360,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-fcm-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-fcm-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"schema":{"type":"string","x-example":"<PROVIDER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false},"serviceAccountJSON":{"type":"object","description":"FCM service account JSON.","x-example":"{}"}}}}}}}},"\/messaging\/providers\/mailgun":{"post":{"summary":"Create Mailgun provider","operationId":"messagingCreateMailgunProvider","tags":["messaging"],"description":"Create a new Mailgun provider.","responses":{"201":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"createMailgunProvider","weight":339,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-mailgun-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-mailgun-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"apiKey":{"type":"string","description":"Mailgun API Key.","x-example":"<API_KEY>"},"domain":{"type":"string","description":"Mailgun Domain.","x-example":"<DOMAIN>"},"isEuRegion":{"type":"boolean","description":"Set as EU region.","x-example":false},"fromName":{"type":"string","description":"Sender Name.","x-example":"<FROM_NAME>"},"fromEmail":{"type":"string","description":"Sender email address.","x-example":"email@example.com"},"replyToName":{"type":"string","description":"Name set in the reply to field for the mail. Default value is sender name. Reply to name must have reply to email as well.","x-example":"<REPLY_TO_NAME>"},"replyToEmail":{"type":"string","description":"Email set in the reply to field for the mail. Default value is sender email. Reply to email must have reply to name as well.","x-example":"email@example.com"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false}},"required":["providerId","name"]}}}}}},"\/messaging\/providers\/mailgun\/{providerId}":{"patch":{"summary":"Update Mailgun provider","operationId":"messagingUpdateMailgunProvider","tags":["messaging"],"description":"Update a Mailgun provider by its unique ID.","responses":{"200":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"updateMailgunProvider","weight":352,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-mailgun-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-mailgun-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"schema":{"type":"string","x-example":"<PROVIDER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"apiKey":{"type":"string","description":"Mailgun API Key.","x-example":"<API_KEY>"},"domain":{"type":"string","description":"Mailgun Domain.","x-example":"<DOMAIN>"},"isEuRegion":{"type":"boolean","description":"Set as EU region.","x-example":false},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false},"fromName":{"type":"string","description":"Sender Name.","x-example":"<FROM_NAME>"},"fromEmail":{"type":"string","description":"Sender email address.","x-example":"email@example.com"},"replyToName":{"type":"string","description":"Name set in the reply to field for the mail. Default value is sender name.","x-example":"<REPLY_TO_NAME>"},"replyToEmail":{"type":"string","description":"Email set in the reply to field for the mail. Default value is sender email.","x-example":"<REPLY_TO_EMAIL>"}}}}}}}},"\/messaging\/providers\/msg91":{"post":{"summary":"Create Msg91 provider","operationId":"messagingCreateMsg91Provider","tags":["messaging"],"description":"Create a new MSG91 provider.","responses":{"201":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"createMsg91Provider","weight":342,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-msg91provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-msg91-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"templateId":{"type":"string","description":"Msg91 template ID","x-example":"<TEMPLATE_ID>"},"senderId":{"type":"string","description":"Msg91 sender ID.","x-example":"<SENDER_ID>"},"authKey":{"type":"string","description":"Msg91 auth key.","x-example":"<AUTH_KEY>"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false}},"required":["providerId","name"]}}}}}},"\/messaging\/providers\/msg91\/{providerId}":{"patch":{"summary":"Update Msg91 provider","operationId":"messagingUpdateMsg91Provider","tags":["messaging"],"description":"Update a MSG91 provider by its unique ID.","responses":{"200":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"updateMsg91Provider","weight":355,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-msg91provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-msg91-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"schema":{"type":"string","x-example":"<PROVIDER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false},"templateId":{"type":"string","description":"Msg91 template ID.","x-example":"<TEMPLATE_ID>"},"senderId":{"type":"string","description":"Msg91 sender ID.","x-example":"<SENDER_ID>"},"authKey":{"type":"string","description":"Msg91 auth key.","x-example":"<AUTH_KEY>"}}}}}}}},"\/messaging\/providers\/sendgrid":{"post":{"summary":"Create Sendgrid provider","operationId":"messagingCreateSendgridProvider","tags":["messaging"],"description":"Create a new Sendgrid provider.","responses":{"201":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"createSendgridProvider","weight":340,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-sendgrid-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-sendgrid-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"apiKey":{"type":"string","description":"Sendgrid API key.","x-example":"<API_KEY>"},"fromName":{"type":"string","description":"Sender Name.","x-example":"<FROM_NAME>"},"fromEmail":{"type":"string","description":"Sender email address.","x-example":"email@example.com"},"replyToName":{"type":"string","description":"Name set in the reply to field for the mail. Default value is sender name.","x-example":"<REPLY_TO_NAME>"},"replyToEmail":{"type":"string","description":"Email set in the reply to field for the mail. Default value is sender email.","x-example":"email@example.com"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false}},"required":["providerId","name"]}}}}}},"\/messaging\/providers\/sendgrid\/{providerId}":{"patch":{"summary":"Update Sendgrid provider","operationId":"messagingUpdateSendgridProvider","tags":["messaging"],"description":"Update a Sendgrid provider by its unique ID.","responses":{"200":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"updateSendgridProvider","weight":353,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-sendgrid-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-sendgrid-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"schema":{"type":"string","x-example":"<PROVIDER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false},"apiKey":{"type":"string","description":"Sendgrid API key.","x-example":"<API_KEY>"},"fromName":{"type":"string","description":"Sender Name.","x-example":"<FROM_NAME>"},"fromEmail":{"type":"string","description":"Sender email address.","x-example":"email@example.com"},"replyToName":{"type":"string","description":"Name set in the Reply To field for the mail. Default value is Sender Name.","x-example":"<REPLY_TO_NAME>"},"replyToEmail":{"type":"string","description":"Email set in the Reply To field for the mail. Default value is Sender Email.","x-example":"<REPLY_TO_EMAIL>"}}}}}}}},"\/messaging\/providers\/smtp":{"post":{"summary":"Create SMTP provider","operationId":"messagingCreateSmtpProvider","tags":["messaging"],"description":"Create a new SMTP provider.","responses":{"201":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"createSmtpProvider","weight":341,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-smtp-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-smtp-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"host":{"type":"string","description":"SMTP hosts. Either a single hostname or multiple semicolon-delimited hostnames. You can also specify a different port for each host such as `smtp1.example.com:25;smtp2.example.com`. You can also specify encryption type, for example: `tls:\/\/smtp1.example.com:587;ssl:\/\/smtp2.example.com:465\"`. Hosts will be tried in order.","x-example":"<HOST>"},"port":{"type":"integer","description":"The default SMTP server port.","x-example":1},"username":{"type":"string","description":"Authentication username.","x-example":"<USERNAME>"},"password":{"type":"string","description":"Authentication password.","x-example":"<PASSWORD>"},"encryption":{"type":"string","description":"Encryption type. Can be omitted, 'ssl', or 'tls'","x-example":"none","enum":["none","ssl","tls"],"x-enum-name":"SmtpEncryption","x-enum-keys":[]},"autoTLS":{"type":"boolean","description":"Enable SMTP AutoTLS feature.","x-example":false},"mailer":{"type":"string","description":"The value to use for the X-Mailer header.","x-example":"<MAILER>"},"fromName":{"type":"string","description":"Sender Name.","x-example":"<FROM_NAME>"},"fromEmail":{"type":"string","description":"Sender email address.","x-example":"email@example.com"},"replyToName":{"type":"string","description":"Name set in the reply to field for the mail. Default value is sender name.","x-example":"<REPLY_TO_NAME>"},"replyToEmail":{"type":"string","description":"Email set in the reply to field for the mail. Default value is sender email.","x-example":"email@example.com"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false}},"required":["providerId","name","host"]}}}}}},"\/messaging\/providers\/smtp\/{providerId}":{"patch":{"summary":"Update SMTP provider","operationId":"messagingUpdateSmtpProvider","tags":["messaging"],"description":"Update a SMTP provider by its unique ID.","responses":{"200":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"updateSmtpProvider","weight":354,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-smtp-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-smtp-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"schema":{"type":"string","x-example":"<PROVIDER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"host":{"type":"string","description":"SMTP hosts. Either a single hostname or multiple semicolon-delimited hostnames. You can also specify a different port for each host such as `smtp1.example.com:25;smtp2.example.com`. You can also specify encryption type, for example: `tls:\/\/smtp1.example.com:587;ssl:\/\/smtp2.example.com:465\"`. Hosts will be tried in order.","x-example":"<HOST>"},"port":{"type":"integer","description":"SMTP port.","x-example":1},"username":{"type":"string","description":"Authentication username.","x-example":"<USERNAME>"},"password":{"type":"string","description":"Authentication password.","x-example":"<PASSWORD>"},"encryption":{"type":"string","description":"Encryption type. Can be 'ssl' or 'tls'","x-example":"none","enum":["none","ssl","tls"],"x-enum-name":"SmtpEncryption","x-enum-keys":[]},"autoTLS":{"type":"boolean","description":"Enable SMTP AutoTLS feature.","x-example":false},"mailer":{"type":"string","description":"The value to use for the X-Mailer header.","x-example":"<MAILER>"},"fromName":{"type":"string","description":"Sender Name.","x-example":"<FROM_NAME>"},"fromEmail":{"type":"string","description":"Sender email address.","x-example":"email@example.com"},"replyToName":{"type":"string","description":"Name set in the Reply To field for the mail. Default value is Sender Name.","x-example":"<REPLY_TO_NAME>"},"replyToEmail":{"type":"string","description":"Email set in the Reply To field for the mail. Default value is Sender Email.","x-example":"<REPLY_TO_EMAIL>"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false}}}}}}}},"\/messaging\/providers\/telesign":{"post":{"summary":"Create Telesign provider","operationId":"messagingCreateTelesignProvider","tags":["messaging"],"description":"Create a new Telesign provider.","responses":{"201":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"createTelesignProvider","weight":343,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-telesign-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-telesign-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"from":{"type":"string","description":"Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","x-example":"+12065550100"},"customerId":{"type":"string","description":"Telesign customer ID.","x-example":"<CUSTOMER_ID>"},"apiKey":{"type":"string","description":"Telesign API key.","x-example":"<API_KEY>"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false}},"required":["providerId","name"]}}}}}},"\/messaging\/providers\/telesign\/{providerId}":{"patch":{"summary":"Update Telesign provider","operationId":"messagingUpdateTelesignProvider","tags":["messaging"],"description":"Update a Telesign provider by its unique ID.","responses":{"200":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"updateTelesignProvider","weight":356,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-telesign-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-telesign-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"schema":{"type":"string","x-example":"<PROVIDER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false},"customerId":{"type":"string","description":"Telesign customer ID.","x-example":"<CUSTOMER_ID>"},"apiKey":{"type":"string","description":"Telesign API key.","x-example":"<API_KEY>"},"from":{"type":"string","description":"Sender number.","x-example":"<FROM>"}}}}}}}},"\/messaging\/providers\/textmagic":{"post":{"summary":"Create Textmagic provider","operationId":"messagingCreateTextmagicProvider","tags":["messaging"],"description":"Create a new Textmagic provider.","responses":{"201":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"createTextmagicProvider","weight":344,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-textmagic-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-textmagic-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"from":{"type":"string","description":"Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","x-example":"+12065550100"},"username":{"type":"string","description":"Textmagic username.","x-example":"<USERNAME>"},"apiKey":{"type":"string","description":"Textmagic apiKey.","x-example":"<API_KEY>"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false}},"required":["providerId","name"]}}}}}},"\/messaging\/providers\/textmagic\/{providerId}":{"patch":{"summary":"Update Textmagic provider","operationId":"messagingUpdateTextmagicProvider","tags":["messaging"],"description":"Update a Textmagic provider by its unique ID.","responses":{"200":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"updateTextmagicProvider","weight":357,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-textmagic-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-textmagic-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"schema":{"type":"string","x-example":"<PROVIDER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false},"username":{"type":"string","description":"Textmagic username.","x-example":"<USERNAME>"},"apiKey":{"type":"string","description":"Textmagic apiKey.","x-example":"<API_KEY>"},"from":{"type":"string","description":"Sender number.","x-example":"<FROM>"}}}}}}}},"\/messaging\/providers\/twilio":{"post":{"summary":"Create Twilio provider","operationId":"messagingCreateTwilioProvider","tags":["messaging"],"description":"Create a new Twilio provider.","responses":{"201":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"createTwilioProvider","weight":345,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-twilio-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-twilio-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"from":{"type":"string","description":"Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","x-example":"+12065550100"},"accountSid":{"type":"string","description":"Twilio account secret ID.","x-example":"<ACCOUNT_SID>"},"authToken":{"type":"string","description":"Twilio authentication token.","x-example":"<AUTH_TOKEN>"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false}},"required":["providerId","name"]}}}}}},"\/messaging\/providers\/twilio\/{providerId}":{"patch":{"summary":"Update Twilio provider","operationId":"messagingUpdateTwilioProvider","tags":["messaging"],"description":"Update a Twilio provider by its unique ID.","responses":{"200":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"updateTwilioProvider","weight":358,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-twilio-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-twilio-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"schema":{"type":"string","x-example":"<PROVIDER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false},"accountSid":{"type":"string","description":"Twilio account secret ID.","x-example":"<ACCOUNT_SID>"},"authToken":{"type":"string","description":"Twilio authentication token.","x-example":"<AUTH_TOKEN>"},"from":{"type":"string","description":"Sender number.","x-example":"<FROM>"}}}}}}}},"\/messaging\/providers\/vonage":{"post":{"summary":"Create Vonage provider","operationId":"messagingCreateVonageProvider","tags":["messaging"],"description":"Create a new Vonage provider.","responses":{"201":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"createVonageProvider","weight":346,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-vonage-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-vonage-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"from":{"type":"string","description":"Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","x-example":"+12065550100"},"apiKey":{"type":"string","description":"Vonage API key.","x-example":"<API_KEY>"},"apiSecret":{"type":"string","description":"Vonage API secret.","x-example":"<API_SECRET>"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false}},"required":["providerId","name"]}}}}}},"\/messaging\/providers\/vonage\/{providerId}":{"patch":{"summary":"Update Vonage provider","operationId":"messagingUpdateVonageProvider","tags":["messaging"],"description":"Update a Vonage provider by its unique ID.","responses":{"200":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"updateVonageProvider","weight":359,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-vonage-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-vonage-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"schema":{"type":"string","x-example":"<PROVIDER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Set as enabled.","x-example":false},"apiKey":{"type":"string","description":"Vonage API key.","x-example":"<API_KEY>"},"apiSecret":{"type":"string","description":"Vonage API secret.","x-example":"<API_SECRET>"},"from":{"type":"string","description":"Sender number.","x-example":"<FROM>"}}}}}}}},"\/messaging\/providers\/{providerId}":{"get":{"summary":"Get provider","operationId":"messagingGetProvider","tags":["messaging"],"description":"Get a provider by its unique ID.\n","responses":{"200":{"description":"Provider","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/provider"}}}}},"x-appwrite":{"method":"getProvider","weight":351,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/get-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"schema":{"type":"string","x-example":"<PROVIDER_ID>"},"in":"path"}]},"delete":{"summary":"Delete provider","operationId":"messagingDeleteProvider","tags":["messaging"],"description":"Delete a provider by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteProvider","weight":362,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/delete-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"schema":{"type":"string","x-example":"<PROVIDER_ID>"},"in":"path"}]}},"\/messaging\/providers\/{providerId}\/logs":{"get":{"summary":"List provider logs","operationId":"messagingListProviderLogs","tags":["messaging"],"description":"Get the provider activity logs listed by its unique ID.","responses":{"200":{"description":"Logs List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/logList"}}}}},"x-appwrite":{"method":"listProviderLogs","weight":350,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-provider-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-provider-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"schema":{"type":"string","x-example":"<PROVIDER_ID>"},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]}},"\/messaging\/subscribers\/{subscriberId}\/logs":{"get":{"summary":"List subscriber logs","operationId":"messagingListSubscriberLogs","tags":["messaging"],"description":"Get the subscriber activity logs listed by its unique ID.","responses":{"200":{"description":"Logs List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/logList"}}}}},"x-appwrite":{"method":"listSubscriberLogs","weight":371,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-subscriber-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-subscriber-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"subscribers.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"subscriberId","description":"Subscriber ID.","required":true,"schema":{"type":"string","x-example":"<SUBSCRIBER_ID>"},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]}},"\/messaging\/topics":{"get":{"summary":"List topics","operationId":"messagingListTopics","tags":["messaging"],"description":"Get a list of all topics from the current Appwrite project.","responses":{"200":{"description":"Topic list","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/topicList"}}}}},"x-appwrite":{"method":"listTopics","weight":364,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-topics.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-topics.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"topics.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, description, emailTotal, smsTotal, pushTotal","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"<SEARCH>","default":""},"in":"query"}]},"post":{"summary":"Create topic","operationId":"messagingCreateTopic","tags":["messaging"],"description":"Create a new topic.","responses":{"201":{"description":"Topic","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/topic"}}}}},"x-appwrite":{"method":"createTopic","weight":363,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-topic.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-topic.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"topics.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"topicId":{"type":"string","description":"Topic ID. Choose a custom Topic ID or a new Topic ID.","x-example":"<TOPIC_ID>"},"name":{"type":"string","description":"Topic Name.","x-example":"<NAME>"},"subscribe":{"type":"array","description":"An array of role strings with subscribe permission. By default all users are granted with any subscribe permission. [learn more about roles](https:\/\/appwrite.io\/docs\/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.","x-example":"[\"any\"]","items":{"type":"string"}}},"required":["topicId","name"]}}}}}},"\/messaging\/topics\/{topicId}":{"get":{"summary":"Get topic","operationId":"messagingGetTopic","tags":["messaging"],"description":"Get a topic by its unique ID.\n","responses":{"200":{"description":"Topic","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/topic"}}}}},"x-appwrite":{"method":"getTopic","weight":366,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/get-topic.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-topic.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"topics.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"topicId","description":"Topic ID.","required":true,"schema":{"type":"string","x-example":"<TOPIC_ID>"},"in":"path"}]},"patch":{"summary":"Update topic","operationId":"messagingUpdateTopic","tags":["messaging"],"description":"Update a topic by its unique ID.\n","responses":{"200":{"description":"Topic","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/topic"}}}}},"x-appwrite":{"method":"updateTopic","weight":367,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-topic.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-topic.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"topics.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"topicId","description":"Topic ID.","required":true,"schema":{"type":"string","x-example":"<TOPIC_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Topic Name.","x-example":"<NAME>"},"subscribe":{"type":"array","description":"An array of role strings with subscribe permission. By default all users are granted with any subscribe permission. [learn more about roles](https:\/\/appwrite.io\/docs\/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.","x-example":"[\"any\"]","items":{"type":"string"}}}}}}}},"delete":{"summary":"Delete topic","operationId":"messagingDeleteTopic","tags":["messaging"],"description":"Delete a topic by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteTopic","weight":368,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/delete-topic.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-topic.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"topics.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"topicId","description":"Topic ID.","required":true,"schema":{"type":"string","x-example":"<TOPIC_ID>"},"in":"path"}]}},"\/messaging\/topics\/{topicId}\/logs":{"get":{"summary":"List topic logs","operationId":"messagingListTopicLogs","tags":["messaging"],"description":"Get the topic activity logs listed by its unique ID.","responses":{"200":{"description":"Logs List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/logList"}}}}},"x-appwrite":{"method":"listTopicLogs","weight":365,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-topic-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-topic-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"topics.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"topicId","description":"Topic ID.","required":true,"schema":{"type":"string","x-example":"<TOPIC_ID>"},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]}},"\/messaging\/topics\/{topicId}\/subscribers":{"get":{"summary":"List subscribers","operationId":"messagingListSubscribers","tags":["messaging"],"description":"Get a list of all subscribers from the current Appwrite project.","responses":{"200":{"description":"Subscriber list","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/subscriberList"}}}}},"x-appwrite":{"method":"listSubscribers","weight":370,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-subscribers.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-subscribers.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"subscribers.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"topicId","description":"Topic ID. The topic ID subscribed to.","required":true,"schema":{"type":"string","x-example":"<TOPIC_ID>"},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, provider, type, enabled","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"<SEARCH>","default":""},"in":"query"}]},"post":{"summary":"Create subscriber","operationId":"messagingCreateSubscriber","tags":["messaging"],"description":"Create a new subscriber.","responses":{"201":{"description":"Subscriber","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/subscriber"}}}}},"x-appwrite":{"method":"createSubscriber","weight":369,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-subscriber.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-subscriber.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"subscribers.write","platforms":["server","client","console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"JWT":[]}},"security":[{"Project":[],"JWT":[],"Session":[],"Key":[]}],"parameters":[{"name":"topicId","description":"Topic ID. The topic ID to subscribe to.","required":true,"schema":{"type":"string","x-example":"<TOPIC_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"subscriberId":{"type":"string","description":"Subscriber ID. Choose a custom Subscriber ID or a new Subscriber ID.","x-example":"<SUBSCRIBER_ID>"},"targetId":{"type":"string","description":"Target ID. The target ID to link to the specified Topic ID.","x-example":"<TARGET_ID>"}},"required":["subscriberId","targetId"]}}}}}},"\/messaging\/topics\/{topicId}\/subscribers\/{subscriberId}":{"get":{"summary":"Get subscriber","operationId":"messagingGetSubscriber","tags":["messaging"],"description":"Get a subscriber by its unique ID.\n","responses":{"200":{"description":"Subscriber","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/subscriber"}}}}},"x-appwrite":{"method":"getSubscriber","weight":372,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/get-subscriber.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-subscriber.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"subscribers.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"topicId","description":"Topic ID. The topic ID subscribed to.","required":true,"schema":{"type":"string","x-example":"<TOPIC_ID>"},"in":"path"},{"name":"subscriberId","description":"Subscriber ID.","required":true,"schema":{"type":"string","x-example":"<SUBSCRIBER_ID>"},"in":"path"}]},"delete":{"summary":"Delete subscriber","operationId":"messagingDeleteSubscriber","tags":["messaging"],"description":"Delete a subscriber by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteSubscriber","weight":373,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/delete-subscriber.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-subscriber.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"subscribers.write","platforms":["server","client","console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"JWT":[]}},"security":[{"Project":[],"JWT":[],"Session":[],"Key":[]}],"parameters":[{"name":"topicId","description":"Topic ID. The topic ID subscribed to.","required":true,"schema":{"type":"string","x-example":"<TOPIC_ID>"},"in":"path"},{"name":"subscriberId","description":"Subscriber ID.","required":true,"schema":{"type":"string","x-example":"<SUBSCRIBER_ID>"},"in":"path"}]}},"\/storage\/buckets":{"get":{"summary":"List buckets","operationId":"storageListBuckets","tags":["storage"],"description":"Get a list of all the storage buckets. You can use the query params to filter your results.","responses":{"200":{"description":"Buckets List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/bucketList"}}}}},"x-appwrite":{"method":"listBuckets","weight":198,"cookies":false,"type":"","deprecated":false,"demo":"storage\/list-buckets.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-buckets.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"buckets.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: enabled, name, fileSecurity, maximumFileSize, encryption, antivirus","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"<SEARCH>","default":""},"in":"query"}]},"post":{"summary":"Create bucket","operationId":"storageCreateBucket","tags":["storage"],"description":"Create a new storage bucket.","responses":{"201":{"description":"Bucket","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/bucket"}}}}},"x-appwrite":{"method":"createBucket","weight":197,"cookies":false,"type":"","deprecated":false,"demo":"storage\/create-bucket.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-bucket.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"buckets.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"bucketId":{"type":"string","description":"Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<BUCKET_ID>"},"name":{"type":"string","description":"Bucket name","x-example":"<NAME>"},"permissions":{"type":"array","description":"An array of permission strings. By default, no user is granted with any permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":"[\"read(\"any\")\"]","items":{"type":"string"}},"fileSecurity":{"type":"boolean","description":"Enables configuring permissions for individual file. A user needs one of file or bucket level permissions to access a file. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":false},"enabled":{"type":"boolean","description":"Is bucket enabled? When set to 'disabled', users cannot access the files in this bucket but Server SDKs with and API key can still access the bucket. No files are lost when this is toggled.","x-example":false},"maximumFileSize":{"type":"integer","description":"Maximum file size allowed in bytes. Maximum allowed value is 30MB.","x-example":1},"allowedFileExtensions":{"type":"array","description":"Allowed file extensions. Maximum of 100 extensions are allowed, each 64 characters long.","x-example":null,"items":{"type":"string"}},"compression":{"type":"string","description":"Compression algorithm choosen for compression. Can be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd), For file size above 20MB compression is skipped even if it's enabled","x-example":"none","enum":["none","gzip","zstd"],"x-enum-name":null,"x-enum-keys":[]},"encryption":{"type":"boolean","description":"Is encryption enabled? For file size above 20MB encryption is skipped even if it's enabled","x-example":false},"antivirus":{"type":"boolean","description":"Is virus scanning enabled? For file size above 20MB AntiVirus scanning is skipped even if it's enabled","x-example":false}},"required":["bucketId","name"]}}}}}},"\/storage\/buckets\/{bucketId}":{"get":{"summary":"Get bucket","operationId":"storageGetBucket","tags":["storage"],"description":"Get a storage bucket by its unique ID. This endpoint response returns a JSON object with the storage bucket metadata.","responses":{"200":{"description":"Bucket","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/bucket"}}}}},"x-appwrite":{"method":"getBucket","weight":199,"cookies":false,"type":"","deprecated":false,"demo":"storage\/get-bucket.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-bucket.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"buckets.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"bucketId","description":"Bucket unique ID.","required":true,"schema":{"type":"string","x-example":"<BUCKET_ID>"},"in":"path"}]},"put":{"summary":"Update bucket","operationId":"storageUpdateBucket","tags":["storage"],"description":"Update a storage bucket by its unique ID.","responses":{"200":{"description":"Bucket","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/bucket"}}}}},"x-appwrite":{"method":"updateBucket","weight":200,"cookies":false,"type":"","deprecated":false,"demo":"storage\/update-bucket.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-bucket.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"buckets.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"bucketId","description":"Bucket unique ID.","required":true,"schema":{"type":"string","x-example":"<BUCKET_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Bucket name","x-example":"<NAME>"},"permissions":{"type":"array","description":"An array of permission strings. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":"[\"read(\"any\")\"]","items":{"type":"string"}},"fileSecurity":{"type":"boolean","description":"Enables configuring permissions for individual file. A user needs one of file or bucket level permissions to access a file. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":false},"enabled":{"type":"boolean","description":"Is bucket enabled? When set to 'disabled', users cannot access the files in this bucket but Server SDKs with and API key can still access the bucket. No files are lost when this is toggled.","x-example":false},"maximumFileSize":{"type":"integer","description":"Maximum file size allowed in bytes. Maximum allowed value is 30MB.","x-example":1},"allowedFileExtensions":{"type":"array","description":"Allowed file extensions. Maximum of 100 extensions are allowed, each 64 characters long.","x-example":null,"items":{"type":"string"}},"compression":{"type":"string","description":"Compression algorithm choosen for compression. Can be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd), For file size above 20MB compression is skipped even if it's enabled","x-example":"none","enum":["none","gzip","zstd"],"x-enum-name":null,"x-enum-keys":[]},"encryption":{"type":"boolean","description":"Is encryption enabled? For file size above 20MB encryption is skipped even if it's enabled","x-example":false},"antivirus":{"type":"boolean","description":"Is virus scanning enabled? For file size above 20MB AntiVirus scanning is skipped even if it's enabled","x-example":false}},"required":["name"]}}}}},"delete":{"summary":"Delete bucket","operationId":"storageDeleteBucket","tags":["storage"],"description":"Delete a storage bucket by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteBucket","weight":201,"cookies":false,"type":"","deprecated":false,"demo":"storage\/delete-bucket.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-bucket.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"buckets.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"bucketId","description":"Bucket unique ID.","required":true,"schema":{"type":"string","x-example":"<BUCKET_ID>"},"in":"path"}]}},"\/storage\/buckets\/{bucketId}\/files":{"get":{"summary":"List files","operationId":"storageListFiles","tags":["storage"],"description":"Get a list of all the user files. You can use the query params to filter your results.","responses":{"200":{"description":"Files List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/fileList"}}}}},"x-appwrite":{"method":"listFiles","weight":203,"cookies":false,"type":"","deprecated":false,"demo":"storage\/list-files.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-files.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"schema":{"type":"string","x-example":"<BUCKET_ID>"},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, signature, mimeType, sizeOriginal, chunksTotal, chunksUploaded","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"<SEARCH>","default":""},"in":"query"}]},"post":{"summary":"Create file","operationId":"storageCreateFile","tags":["storage"],"description":"Create a new file. Before using this route, you should create a new bucket resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/storage#storageCreateBucket) API or directly from your Appwrite console.\n\nLarger files should be uploaded using multiple requests with the [content-range](https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTTP\/Headers\/Content-Range) header to send a partial request with a maximum supported chunk of `5MB`. The `content-range` header values should always be in bytes.\n\nWhen the first request is sent, the server will return the **File** object, and the subsequent part request must include the file's **id** in `x-appwrite-id` header to allow the server to know that the partial upload is for the existing file and not for a new one.\n\nIf you're creating a new file using one of the Appwrite SDKs, all the chunking logic will be managed by the SDK internally.\n","responses":{"201":{"description":"File","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/file"}}}}},"x-appwrite":{"method":"createFile","weight":202,"cookies":false,"type":"upload","deprecated":false,"demo":"storage\/create-file.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-file.md","rate-limit":60,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId},chunkId:{chunkId}","scope":"files.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"schema":{"type":"string","x-example":"<BUCKET_ID>"},"in":"path"}],"requestBody":{"content":{"multipart\/form-data":{"schema":{"type":"object","properties":{"fileId":{"type":"string","description":"File ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<FILE_ID>","x-upload-id":true},"file":{"type":"string","description":"Binary file. Appwrite SDKs provide helpers to handle file input. [Learn about file input](https:\/\/appwrite.io\/docs\/products\/storage\/upload-download#input-file).","x-example":null},"permissions":{"type":"array","description":"An array of permission strings. By default, only the current user is granted all permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":"[\"read(\"any\")\"]","items":{"type":"string"}}},"required":["fileId","file"]}}}}}},"\/storage\/buckets\/{bucketId}\/files\/{fileId}":{"get":{"summary":"Get file","operationId":"storageGetFile","tags":["storage"],"description":"Get a file by its unique ID. This endpoint response returns a JSON object with the file metadata.","responses":{"200":{"description":"File","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/file"}}}}},"x-appwrite":{"method":"getFile","weight":204,"cookies":false,"type":"","deprecated":false,"demo":"storage\/get-file.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"schema":{"type":"string","x-example":"<BUCKET_ID>"},"in":"path"},{"name":"fileId","description":"File ID.","required":true,"schema":{"type":"string","x-example":"<FILE_ID>"},"in":"path"}]},"put":{"summary":"Update file","operationId":"storageUpdateFile","tags":["storage"],"description":"Update a file by its unique ID. Only users with write permissions have access to update this resource.","responses":{"200":{"description":"File","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/file"}}}}},"x-appwrite":{"method":"updateFile","weight":209,"cookies":false,"type":"","deprecated":false,"demo":"storage\/update-file.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-file.md","rate-limit":60,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId}","scope":"files.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"schema":{"type":"string","x-example":"<BUCKET_ID>"},"in":"path"},{"name":"fileId","description":"File unique ID.","required":true,"schema":{"type":"string","x-example":"<FILE_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Name of the file","x-example":"<NAME>"},"permissions":{"type":"array","description":"An array of permission string. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":"[\"read(\"any\")\"]","items":{"type":"string"}}}}}}}},"delete":{"summary":"Delete File","operationId":"storageDeleteFile","tags":["storage"],"description":"Delete a file by its unique ID. Only users with write permissions have access to delete this resource.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteFile","weight":210,"cookies":false,"type":"","deprecated":false,"demo":"storage\/delete-file.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-file.md","rate-limit":60,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId}","scope":"files.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"schema":{"type":"string","x-example":"<BUCKET_ID>"},"in":"path"},{"name":"fileId","description":"File ID.","required":true,"schema":{"type":"string","x-example":"<FILE_ID>"},"in":"path"}]}},"\/storage\/buckets\/{bucketId}\/files\/{fileId}\/download":{"get":{"summary":"Get file for download","operationId":"storageGetFileDownload","tags":["storage"],"description":"Get a file content by its unique ID. The endpoint response return with a 'Content-Disposition: attachment' header that tells the browser to start downloading the file to user downloads directory.","responses":{"200":{"description":"File"}},"x-appwrite":{"method":"getFileDownload","weight":206,"cookies":false,"type":"location","deprecated":false,"demo":"storage\/get-file-download.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-download.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"schema":{"type":"string","x-example":"<BUCKET_ID>"},"in":"path"},{"name":"fileId","description":"File ID.","required":true,"schema":{"type":"string","x-example":"<FILE_ID>"},"in":"path"}]}},"\/storage\/buckets\/{bucketId}\/files\/{fileId}\/preview":{"get":{"summary":"Get file preview","operationId":"storageGetFilePreview","tags":["storage"],"description":"Get a file preview image. Currently, this method supports preview for image files (jpg, png, and gif), other supported formats, like pdf, docs, slides, and spreadsheets, will return the file icon image. You can also pass query string arguments for cutting and resizing your preview image. Preview is supported only for image files smaller than 10MB.","responses":{"200":{"description":"Image"}},"x-appwrite":{"method":"getFilePreview","weight":205,"cookies":false,"type":"location","deprecated":false,"demo":"storage\/get-file-preview.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-preview.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"schema":{"type":"string","x-example":"<BUCKET_ID>"},"in":"path"},{"name":"fileId","description":"File ID","required":true,"schema":{"type":"string","x-example":"<FILE_ID>"},"in":"path"},{"name":"width","description":"Resize preview image width, Pass an integer between 0 to 4000.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":0},"in":"query"},{"name":"height","description":"Resize preview image height, Pass an integer between 0 to 4000.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":0},"in":"query"},{"name":"gravity","description":"Image crop gravity. Can be one of center,top-left,top,top-right,left,right,bottom-left,bottom,bottom-right","required":false,"schema":{"type":"string","x-example":"center","enum":["center","top-left","top","top-right","left","right","bottom-left","bottom","bottom-right"],"x-enum-name":"ImageGravity","x-enum-keys":[],"default":"center"},"in":"query"},{"name":"quality","description":"Preview image quality. Pass an integer between 0 to 100. Defaults to 100.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":100},"in":"query"},{"name":"borderWidth","description":"Preview image border in pixels. Pass an integer between 0 to 100. Defaults to 0.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":0},"in":"query"},{"name":"borderColor","description":"Preview image border color. Use a valid HEX color, no # is needed for prefix.","required":false,"schema":{"type":"string","default":""},"in":"query"},{"name":"borderRadius","description":"Preview image border radius in pixels. Pass an integer between 0 to 4000.","required":false,"schema":{"type":"integer","format":"int32","x-example":0,"default":0},"in":"query"},{"name":"opacity","description":"Preview image opacity. Only works with images having an alpha channel (like png). Pass a number between 0 to 1.","required":false,"schema":{"type":"number","format":"float","x-example":0,"default":1},"in":"query"},{"name":"rotation","description":"Preview image rotation in degrees. Pass an integer between -360 and 360.","required":false,"schema":{"type":"integer","format":"int32","x-example":-360,"default":0},"in":"query"},{"name":"background","description":"Preview image background color. Only works with transparent images (png). Use a valid HEX color, no # is needed for prefix.","required":false,"schema":{"type":"string","default":""},"in":"query"},{"name":"output","description":"Output format type (jpeg, jpg, png, gif and webp).","required":false,"schema":{"type":"string","x-example":"jpg","enum":["jpg","jpeg","gif","png","webp"],"x-enum-name":"ImageFormat","x-enum-keys":[],"default":""},"in":"query"}]}},"\/storage\/buckets\/{bucketId}\/files\/{fileId}\/view":{"get":{"summary":"Get file for view","operationId":"storageGetFileView","tags":["storage"],"description":"Get a file content by its unique ID. This endpoint is similar to the download method but returns with no 'Content-Disposition: attachment' header.","responses":{"200":{"description":"File"}},"x-appwrite":{"method":"getFileView","weight":207,"cookies":false,"type":"location","deprecated":false,"demo":"storage\/get-file-view.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-view.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"schema":{"type":"string","x-example":"<BUCKET_ID>"},"in":"path"},{"name":"fileId","description":"File ID.","required":true,"schema":{"type":"string","x-example":"<FILE_ID>"},"in":"path"}]}},"\/teams":{"get":{"summary":"List teams","operationId":"teamsList","tags":["teams"],"description":"Get a list of all the teams in which the current user is a member. You can use the parameters to filter your results.","responses":{"200":{"description":"Teams List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/teamList"}}}}},"x-appwrite":{"method":"list","weight":214,"cookies":false,"type":"","deprecated":false,"demo":"teams\/list.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-teams.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/teams","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, total, billingPlan","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"<SEARCH>","default":""},"in":"query"}]},"post":{"summary":"Create team","operationId":"teamsCreate","tags":["teams"],"description":"Create a new team. The user who creates the team will automatically be assigned as the owner of the team. Only the users with the owner role can invite new members, add new owners and delete or update the team.","responses":{"201":{"description":"Team","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/team"}}}}},"x-appwrite":{"method":"create","weight":213,"cookies":false,"type":"","deprecated":false,"demo":"teams\/create.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"teamId":{"type":"string","description":"Team ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<TEAM_ID>"},"name":{"type":"string","description":"Team name. Max length: 128 chars.","x-example":"<NAME>"},"roles":{"type":"array","description":"Array of strings. Use this param to set the roles in the team for the user who created it. The default role is **owner**. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.","x-example":null,"items":{"type":"string"}}},"required":["teamId","name"]}}}}}},"\/teams\/{teamId}":{"get":{"summary":"Get team","operationId":"teamsGet","tags":["teams"],"description":"Get a team by its ID. All team members have read access for this resource.","responses":{"200":{"description":"Team","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/team"}}}}},"x-appwrite":{"method":"get","weight":215,"cookies":false,"type":"","deprecated":false,"demo":"teams\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/teams","offline-key":"{teamId}","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":"<TEAM_ID>"},"in":"path"}]},"put":{"summary":"Update name","operationId":"teamsUpdateName","tags":["teams"],"description":"Update the team's name by its unique ID.","responses":{"200":{"description":"Team","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/team"}}}}},"x-appwrite":{"method":"updateName","weight":217,"cookies":false,"type":"","deprecated":false,"demo":"teams\/update-name.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-name.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"\/teams","offline-key":"{teamId}","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":"<TEAM_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"New team name. Max length: 128 chars.","x-example":"<NAME>"}},"required":["name"]}}}}},"delete":{"summary":"Delete team","operationId":"teamsDelete","tags":["teams"],"description":"Delete a team using its ID. Only team members with the owner role can delete the team.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"delete","weight":219,"cookies":false,"type":"","deprecated":false,"demo":"teams\/delete.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":"<TEAM_ID>"},"in":"path"}]}},"\/teams\/{teamId}\/memberships":{"get":{"summary":"List team memberships","operationId":"teamsListMemberships","tags":["teams"],"description":"Use this endpoint to list a team's members using the team's ID. All team members have read access to this endpoint.","responses":{"200":{"description":"Memberships List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/membershipList"}}}}},"x-appwrite":{"method":"listMemberships","weight":221,"cookies":false,"type":"","deprecated":false,"demo":"teams\/list-memberships.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-team-members.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/teams\/{teamId}\/memberships","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":"<TEAM_ID>"},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, teamId, invited, joined, confirm","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"<SEARCH>","default":""},"in":"query"}]},"post":{"summary":"Create team membership","operationId":"teamsCreateMembership","tags":["teams"],"description":"Invite a new member to join your team. Provide an ID for existing users, or invite unregistered users using an email or phone number. If initiated from a Client SDK, Appwrite will send an email or sms with a link to join the team to the invited user, and an account will be created for them if one doesn't exist. If initiated from a Server SDK, the new member will be added automatically to the team.\n\nYou only need to provide one of a user ID, email, or phone number. Appwrite will prioritize accepting the user ID > email > phone number if you provide more than one of these parameters.\n\nUse the `url` parameter to redirect the user from the invitation email to your app. After the user is redirected, use the [Update Team Membership Status](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/teams#updateMembershipStatus) endpoint to allow the user to accept the invitation to the team. \n\nPlease note that to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md) Appwrite will accept the only redirect URLs under the domains you have added as a platform on the Appwrite Console.\n","responses":{"201":{"description":"Membership","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/membership"}}}}},"x-appwrite":{"method":"createMembership","weight":220,"cookies":false,"type":"","deprecated":false,"demo":"teams\/create-membership.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team-membership.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":"<TEAM_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"email":{"type":"string","description":"Email of the new team member.","x-example":"email@example.com"},"userId":{"type":"string","description":"ID of the user to be added to a team.","x-example":"<USER_ID>"},"phone":{"type":"string","description":"Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","x-example":"+12065550100"},"roles":{"type":"array","description":"Array of strings. Use this param to set the user roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.","x-example":null,"items":{"type":"string"}},"url":{"type":"string","description":"URL to redirect the user back to your app from the invitation email. This parameter is not required when an API key is supplied. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","x-example":"https:\/\/example.com"},"name":{"type":"string","description":"Name of the new team member. Max length: 128 chars.","x-example":"<NAME>"}},"required":["roles"]}}}}}},"\/teams\/{teamId}\/memberships\/{membershipId}":{"get":{"summary":"Get team membership","operationId":"teamsGetMembership","tags":["teams"],"description":"Get a team member by the membership unique id. All team members have read access for this resource.","responses":{"200":{"description":"Membership","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/membership"}}}}},"x-appwrite":{"method":"getMembership","weight":222,"cookies":false,"type":"","deprecated":false,"demo":"teams\/get-membership.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-member.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/teams\/{teamId}\/memberships","offline-key":"{membershipId}","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":"<TEAM_ID>"},"in":"path"},{"name":"membershipId","description":"Membership ID.","required":true,"schema":{"type":"string","x-example":"<MEMBERSHIP_ID>"},"in":"path"}]},"patch":{"summary":"Update membership","operationId":"teamsUpdateMembership","tags":["teams"],"description":"Modify the roles of a team member. Only team members with the owner role have access to this endpoint. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions).\n","responses":{"200":{"description":"Membership","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/membership"}}}}},"x-appwrite":{"method":"updateMembership","weight":223,"cookies":false,"type":"","deprecated":false,"demo":"teams\/update-membership.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":"<TEAM_ID>"},"in":"path"},{"name":"membershipId","description":"Membership ID.","required":true,"schema":{"type":"string","x-example":"<MEMBERSHIP_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"roles":{"type":"array","description":"An array of strings. Use this param to set the user's roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.","x-example":null,"items":{"type":"string"}}},"required":["roles"]}}}}},"delete":{"summary":"Delete team membership","operationId":"teamsDeleteMembership","tags":["teams"],"description":"This endpoint allows a user to leave a team or for a team owner to delete the membership of any other team member. You can also use this endpoint to delete a user membership even if it is not accepted.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteMembership","weight":225,"cookies":false,"type":"","deprecated":false,"demo":"teams\/delete-membership.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team-membership.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":"<TEAM_ID>"},"in":"path"},{"name":"membershipId","description":"Membership ID.","required":true,"schema":{"type":"string","x-example":"<MEMBERSHIP_ID>"},"in":"path"}]}},"\/teams\/{teamId}\/memberships\/{membershipId}\/status":{"patch":{"summary":"Update team membership status","operationId":"teamsUpdateMembershipStatus","tags":["teams"],"description":"Use this endpoint to allow a user to accept an invitation to join a team after being redirected back to your app from the invitation email received by the user.\n\nIf the request is successful, a session for the user is automatically created.\n","responses":{"200":{"description":"Membership","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/membership"}}}}},"x-appwrite":{"method":"updateMembershipStatus","weight":224,"cookies":false,"type":"","deprecated":false,"demo":"teams\/update-membership-status.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership-status.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"public","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":"<TEAM_ID>"},"in":"path"},{"name":"membershipId","description":"Membership ID.","required":true,"schema":{"type":"string","x-example":"<MEMBERSHIP_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID.","x-example":"<USER_ID>"},"secret":{"type":"string","description":"Secret key.","x-example":"<SECRET>"}},"required":["userId","secret"]}}}}}},"\/teams\/{teamId}\/prefs":{"get":{"summary":"Get team preferences","operationId":"teamsGetPrefs","tags":["teams"],"description":"Get the team's shared preferences by its unique ID. If a preference doesn't need to be shared by all team members, prefer storing them in [user preferences](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#getPrefs).","responses":{"200":{"description":"Preferences","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/preferences"}}}}},"x-appwrite":{"method":"getPrefs","weight":216,"cookies":false,"type":"","deprecated":false,"demo":"teams\/get-prefs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-prefs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.read","platforms":["client","server"],"packaging":false,"offline-model":"\/teams\/{teamId}\/prefs","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":"<TEAM_ID>"},"in":"path"}]},"put":{"summary":"Update preferences","operationId":"teamsUpdatePrefs","tags":["teams"],"description":"Update the team's preferences by its unique ID. The object you pass is stored as is and replaces any previous value. The maximum allowed prefs size is 64kB and throws an error if exceeded.","responses":{"200":{"description":"Preferences","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/preferences"}}}}},"x-appwrite":{"method":"updatePrefs","weight":218,"cookies":false,"type":"","deprecated":false,"demo":"teams\/update-prefs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-prefs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server"],"packaging":false,"offline-model":"\/teams\/{teamId}\/prefs","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"schema":{"type":"string","x-example":"<TEAM_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"prefs":{"type":"object","description":"Prefs key-value JSON object.","x-example":"{}"}},"required":["prefs"]}}}}}},"\/users":{"get":{"summary":"List users","operationId":"usersList","tags":["users"],"description":"Get a list of all the project's users. You can use the query params to filter your results.","responses":{"200":{"description":"Users List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/userList"}}}}},"x-appwrite":{"method":"list","weight":236,"cookies":false,"type":"","deprecated":false,"demo":"users\/list.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-users.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, email, phone, status, passwordUpdate, registration, emailVerification, phoneVerification, labels","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"<SEARCH>","default":""},"in":"query"}]},"post":{"summary":"Create user","operationId":"usersCreate","tags":["users"],"description":"Create a new user.","responses":{"201":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"create","weight":227,"cookies":false,"type":"","deprecated":false,"demo":"users\/create.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"phone":{"type":"string","description":"Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","x-example":"+12065550100"},"password":{"type":"string","description":"Plain text user password. Must be at least 8 chars.","x-example":null},"name":{"type":"string","description":"User name. Max length: 128 chars.","x-example":"<NAME>"}},"required":["userId"]}}}}}},"\/users\/argon2":{"post":{"summary":"Create user with Argon2 password","operationId":"usersCreateArgon2User","tags":["users"],"description":"Create a new user. Password provided must be hashed with the [Argon2](https:\/\/en.wikipedia.org\/wiki\/Argon2) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.","responses":{"201":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"createArgon2User","weight":230,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-argon2user.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-argon2-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"password":{"type":"string","description":"User password hashed using Argon2.","x-example":"password"},"name":{"type":"string","description":"User name. Max length: 128 chars.","x-example":"<NAME>"}},"required":["userId","email","password"]}}}}}},"\/users\/bcrypt":{"post":{"summary":"Create user with bcrypt password","operationId":"usersCreateBcryptUser","tags":["users"],"description":"Create a new user. Password provided must be hashed with the [Bcrypt](https:\/\/en.wikipedia.org\/wiki\/Bcrypt) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.","responses":{"201":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"createBcryptUser","weight":228,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-bcrypt-user.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-bcrypt-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"password":{"type":"string","description":"User password hashed using Bcrypt.","x-example":"password"},"name":{"type":"string","description":"User name. Max length: 128 chars.","x-example":"<NAME>"}},"required":["userId","email","password"]}}}}}},"\/users\/identities":{"get":{"summary":"List Identities","operationId":"usersListIdentities","tags":["users"],"description":"Get identities for all users.","responses":{"200":{"description":"Identities List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/identityList"}}}}},"x-appwrite":{"method":"listIdentities","weight":244,"cookies":false,"type":"","deprecated":false,"demo":"users\/list-identities.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-identities.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, provider, providerUid, providerEmail, providerAccessTokenExpiry","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"schema":{"type":"string","x-example":"<SEARCH>","default":""},"in":"query"}]}},"\/users\/identities\/{identityId}":{"delete":{"summary":"Delete identity","operationId":"usersDeleteIdentity","tags":["users"],"description":"Delete an identity by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteIdentity","weight":267,"cookies":false,"type":"","deprecated":false,"demo":"users\/delete-identity.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-identity.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"identityId","description":"Identity ID.","required":true,"schema":{"type":"string","x-example":"<IDENTITY_ID>"},"in":"path"}]}},"\/users\/md5":{"post":{"summary":"Create user with MD5 password","operationId":"usersCreateMD5User","tags":["users"],"description":"Create a new user. Password provided must be hashed with the [MD5](https:\/\/en.wikipedia.org\/wiki\/MD5) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.","responses":{"201":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"createMD5User","weight":229,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-m-d5user.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-md5-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"password":{"type":"string","description":"User password hashed using MD5.","x-example":"password"},"name":{"type":"string","description":"User name. Max length: 128 chars.","x-example":"<NAME>"}},"required":["userId","email","password"]}}}}}},"\/users\/phpass":{"post":{"summary":"Create user with PHPass password","operationId":"usersCreatePHPassUser","tags":["users"],"description":"Create a new user. Password provided must be hashed with the [PHPass](https:\/\/www.openwall.com\/phpass\/) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.","responses":{"201":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"createPHPassUser","weight":232,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-p-h-pass-user.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-phpass-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or pass the string `ID.unique()`to auto generate it. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"password":{"type":"string","description":"User password hashed using PHPass.","x-example":"password"},"name":{"type":"string","description":"User name. Max length: 128 chars.","x-example":"<NAME>"}},"required":["userId","email","password"]}}}}}},"\/users\/scrypt":{"post":{"summary":"Create user with Scrypt password","operationId":"usersCreateScryptUser","tags":["users"],"description":"Create a new user. Password provided must be hashed with the [Scrypt](https:\/\/github.com\/Tarsnap\/scrypt) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.","responses":{"201":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"createScryptUser","weight":233,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-scrypt-user.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-scrypt-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"password":{"type":"string","description":"User password hashed using Scrypt.","x-example":"password"},"passwordSalt":{"type":"string","description":"Optional salt used to hash password.","x-example":"<PASSWORD_SALT>"},"passwordCpu":{"type":"integer","description":"Optional CPU cost used to hash password.","x-example":null},"passwordMemory":{"type":"integer","description":"Optional memory cost used to hash password.","x-example":null},"passwordParallel":{"type":"integer","description":"Optional parallelization cost used to hash password.","x-example":null},"passwordLength":{"type":"integer","description":"Optional hash length used to hash password.","x-example":null},"name":{"type":"string","description":"User name. Max length: 128 chars.","x-example":"<NAME>"}},"required":["userId","email","password","passwordSalt","passwordCpu","passwordMemory","passwordParallel","passwordLength"]}}}}}},"\/users\/scrypt-modified":{"post":{"summary":"Create user with Scrypt modified password","operationId":"usersCreateScryptModifiedUser","tags":["users"],"description":"Create a new user. Password provided must be hashed with the [Scrypt Modified](https:\/\/gist.github.com\/Meldiron\/eecf84a0225eccb5a378d45bb27462cc) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.","responses":{"201":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"createScryptModifiedUser","weight":234,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-scrypt-modified-user.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-scrypt-modified-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"password":{"type":"string","description":"User password hashed using Scrypt Modified.","x-example":"password"},"passwordSalt":{"type":"string","description":"Salt used to hash password.","x-example":"<PASSWORD_SALT>"},"passwordSaltSeparator":{"type":"string","description":"Salt separator used to hash password.","x-example":"<PASSWORD_SALT_SEPARATOR>"},"passwordSignerKey":{"type":"string","description":"Signer key used to hash password.","x-example":"<PASSWORD_SIGNER_KEY>"},"name":{"type":"string","description":"User name. Max length: 128 chars.","x-example":"<NAME>"}},"required":["userId","email","password","passwordSalt","passwordSaltSeparator","passwordSignerKey"]}}}}}},"\/users\/sha":{"post":{"summary":"Create user with SHA password","operationId":"usersCreateSHAUser","tags":["users"],"description":"Create a new user. Password provided must be hashed with the [SHA](https:\/\/en.wikipedia.org\/wiki\/Secure_Hash_Algorithm) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.","responses":{"201":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"createSHAUser","weight":231,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-s-h-a-user.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-sha-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","x-example":"email@example.com"},"password":{"type":"string","description":"User password hashed using SHA.","x-example":"password"},"passwordVersion":{"type":"string","description":"Optional SHA version used to hash password. Allowed values are: 'sha1', 'sha224', 'sha256', 'sha384', 'sha512\/224', 'sha512\/256', 'sha512', 'sha3-224', 'sha3-256', 'sha3-384', 'sha3-512'","x-example":"sha1","enum":["sha1","sha224","sha256","sha384","sha512\/224","sha512\/256","sha512","sha3-224","sha3-256","sha3-384","sha3-512"],"x-enum-name":"PasswordHash","x-enum-keys":[]},"name":{"type":"string","description":"User name. Max length: 128 chars.","x-example":"<NAME>"}},"required":["userId","email","password"]}}}}}},"\/users\/{userId}":{"get":{"summary":"Get user","operationId":"usersGet","tags":["users"],"description":"Get a user by its unique ID.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"get","weight":237,"cookies":false,"type":"","deprecated":false,"demo":"users\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}]},"delete":{"summary":"Delete user","operationId":"usersDelete","tags":["users"],"description":"Delete a user by its unique ID, thereby releasing it's ID. Since ID is released and can be reused, all user-related resources like documents or storage files should be deleted before user deletion. If you want to keep ID reserved, use the [updateStatus](https:\/\/appwrite.io\/docs\/server\/users#usersUpdateStatus) endpoint instead.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"delete","weight":265,"cookies":false,"type":"","deprecated":false,"demo":"users\/delete.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}]}},"\/users\/{userId}\/email":{"patch":{"summary":"Update email","operationId":"usersUpdateEmail","tags":["users"],"description":"Update the user email by its unique ID.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updateEmail","weight":250,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-email.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-email.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"email":{"type":"string","description":"User email.","x-example":"email@example.com"}},"required":["email"]}}}}}},"\/users\/{userId}\/labels":{"put":{"summary":"Update user labels","operationId":"usersUpdateLabels","tags":["users"],"description":"Update the user labels by its unique ID. \n\nLabels can be used to grant access to resources. While teams are a way for user's to share access to a resource, labels can be defined by the developer to grant access without an invitation. See the [Permissions docs](https:\/\/appwrite.io\/docs\/permissions) for more info.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updateLabels","weight":246,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-labels.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-labels.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"labels":{"type":"array","description":"Array of user labels. Replaces the previous labels. Maximum of 1000 labels are allowed, each up to 36 alphanumeric characters long.","x-example":null,"items":{"type":"string"}}},"required":["labels"]}}}}}},"\/users\/{userId}\/logs":{"get":{"summary":"List user logs","operationId":"usersListLogs","tags":["users"],"description":"Get the user activity logs list by its unique ID.","responses":{"200":{"description":"Logs List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/logList"}}}}},"x-appwrite":{"method":"listLogs","weight":242,"cookies":false,"type":"","deprecated":false,"demo":"users\/list-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]}},"\/users\/{userId}\/memberships":{"get":{"summary":"List user memberships","operationId":"usersListMemberships","tags":["users"],"description":"Get the user membership list by its unique ID.","responses":{"200":{"description":"Memberships List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/membershipList"}}}}},"x-appwrite":{"method":"listMemberships","weight":241,"cookies":false,"type":"","deprecated":false,"demo":"users\/list-memberships.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-memberships.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}]}},"\/users\/{userId}\/mfa":{"patch":{"summary":"Update MFA","operationId":"usersUpdateMfa","tags":["users"],"description":"Enable or disable MFA on a user account.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updateMfa","weight":255,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-mfa.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-mfa.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"mfa":{"type":"boolean","description":"Enable or disable MFA.","x-example":false}},"required":["mfa"]}}}}}},"\/users\/{userId}\/mfa\/authenticators\/{type}":{"delete":{"summary":"Delete Authenticator","operationId":"usersDeleteMfaAuthenticator","tags":["users"],"description":"Delete an authenticator app.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"deleteMfaAuthenticator","weight":260,"cookies":false,"type":"","deprecated":false,"demo":"users\/delete-mfa-authenticator.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-mfa-authenticator.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"},{"name":"type","description":"Type of authenticator.","required":true,"schema":{"type":"string","x-example":"totp","enum":["totp"],"x-enum-name":"AuthenticatorType","x-enum-keys":[]},"in":"path"}]}},"\/users\/{userId}\/mfa\/factors":{"get":{"summary":"List Factors","operationId":"usersListMfaFactors","tags":["users"],"description":"List the factors available on the account to be used as a MFA challange.","responses":{"200":{"description":"MFAFactors","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/mfaFactors"}}}}},"x-appwrite":{"method":"listMfaFactors","weight":256,"cookies":false,"type":"","deprecated":false,"demo":"users\/list-mfa-factors.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-mfa-factors.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}]}},"\/users\/{userId}\/mfa\/recovery-codes":{"get":{"summary":"Get MFA Recovery Codes","operationId":"usersGetMfaRecoveryCodes","tags":["users"],"description":"Get recovery codes that can be used as backup for MFA flow by User ID. Before getting codes, they must be generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method.","responses":{"200":{"description":"MFA Recovery Codes","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/mfaRecoveryCodes"}}}}},"x-appwrite":{"method":"getMfaRecoveryCodes","weight":257,"cookies":false,"type":"","deprecated":false,"demo":"users\/get-mfa-recovery-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-mfa-recovery-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}]},"put":{"summary":"Regenerate MFA Recovery Codes","operationId":"usersUpdateMfaRecoveryCodes","tags":["users"],"description":"Regenerate recovery codes that can be used as backup for MFA flow by User ID. Before regenerating codes, they must be first generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method.","responses":{"200":{"description":"MFA Recovery Codes","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/mfaRecoveryCodes"}}}}},"x-appwrite":{"method":"updateMfaRecoveryCodes","weight":259,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-mfa-recovery-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-mfa-recovery-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}]},"patch":{"summary":"Create MFA Recovery Codes","operationId":"usersCreateMfaRecoveryCodes","tags":["users"],"description":"Generate recovery codes used as backup for MFA flow for User ID. Recovery codes can be used as a MFA verification type in [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method by client SDK.","responses":{"201":{"description":"MFA Recovery Codes","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/mfaRecoveryCodes"}}}}},"x-appwrite":{"method":"createMfaRecoveryCodes","weight":258,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-mfa-recovery-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-mfa-recovery-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}]}},"\/users\/{userId}\/name":{"patch":{"summary":"Update name","operationId":"usersUpdateName","tags":["users"],"description":"Update the user name by its unique ID.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updateName","weight":248,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-name.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-name.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"User name. Max length: 128 chars.","x-example":"<NAME>"}},"required":["name"]}}}}}},"\/users\/{userId}\/password":{"patch":{"summary":"Update password","operationId":"usersUpdatePassword","tags":["users"],"description":"Update the user password by its unique ID.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updatePassword","weight":249,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-password.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-password.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"password":{"type":"string","description":"New user password. Must be at least 8 chars.","x-example":null}},"required":["password"]}}}}}},"\/users\/{userId}\/phone":{"patch":{"summary":"Update phone","operationId":"usersUpdatePhone","tags":["users"],"description":"Update the user phone by its unique ID.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updatePhone","weight":251,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-phone.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-phone.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"number":{"type":"string","description":"User phone number.","x-example":"+12065550100"}},"required":["number"]}}}}}},"\/users\/{userId}\/prefs":{"get":{"summary":"Get user preferences","operationId":"usersGetPrefs","tags":["users"],"description":"Get the user preferences by its unique ID.","responses":{"200":{"description":"Preferences","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/preferences"}}}}},"x-appwrite":{"method":"getPrefs","weight":238,"cookies":false,"type":"","deprecated":false,"demo":"users\/get-prefs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user-prefs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}]},"patch":{"summary":"Update user preferences","operationId":"usersUpdatePrefs","tags":["users"],"description":"Update the user preferences by its unique ID. The object you pass is stored as is, and replaces any previous value. The maximum allowed prefs size is 64kB and throws error if exceeded.","responses":{"200":{"description":"Preferences","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/preferences"}}}}},"x-appwrite":{"method":"updatePrefs","weight":253,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-prefs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-prefs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"prefs":{"type":"object","description":"Prefs key-value JSON object.","x-example":"{}"}},"required":["prefs"]}}}}}},"\/users\/{userId}\/sessions":{"get":{"summary":"List user sessions","operationId":"usersListSessions","tags":["users"],"description":"Get the user sessions list by its unique ID.","responses":{"200":{"description":"Sessions List","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/sessionList"}}}}},"x-appwrite":{"method":"listSessions","weight":240,"cookies":false,"type":"","deprecated":false,"demo":"users\/list-sessions.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-sessions.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}]},"post":{"summary":"Create session","operationId":"usersCreateSession","tags":["users"],"description":"Creates a session for a user. Returns an immediately usable session object.\n\nIf you want to generate a token for a custom authentication flow, use the [POST \/users\/{userId}\/tokens](https:\/\/appwrite.io\/docs\/server\/users#createToken) endpoint.","responses":{"201":{"description":"Session","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/session"}}}}},"x-appwrite":{"method":"createSession","weight":261,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-session.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}]},"delete":{"summary":"Delete user sessions","operationId":"usersDeleteSessions","tags":["users"],"description":"Delete all user's sessions by using the user's unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteSessions","weight":264,"cookies":false,"type":"","deprecated":false,"demo":"users\/delete-sessions.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-user-sessions.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}]}},"\/users\/{userId}\/sessions\/{sessionId}":{"delete":{"summary":"Delete user session","operationId":"usersDeleteSession","tags":["users"],"description":"Delete a user sessions by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteSession","weight":263,"cookies":false,"type":"","deprecated":false,"demo":"users\/delete-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-user-session.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"},{"name":"sessionId","description":"Session ID.","required":true,"schema":{"type":"string","x-example":"<SESSION_ID>"},"in":"path"}]}},"\/users\/{userId}\/status":{"patch":{"summary":"Update user status","operationId":"usersUpdateStatus","tags":["users"],"description":"Update the user status by its unique ID. Use this endpoint as an alternative to deleting a user if you want to keep user's ID reserved.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updateStatus","weight":245,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-status.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-status.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"status":{"type":"boolean","description":"User Status. To activate the user pass `true` and to block the user pass `false`.","x-example":false}},"required":["status"]}}}}}},"\/users\/{userId}\/targets":{"get":{"summary":"List User Targets","operationId":"usersListTargets","tags":["users"],"description":"List the messaging targets that are associated with a user.","responses":{"200":{"description":"Target list","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/targetList"}}}}},"x-appwrite":{"method":"listTargets","weight":243,"cookies":false,"type":"","deprecated":false,"demo":"users\/list-targets.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-targets.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"targets.read","platforms":["server","console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, email, phone, status, passwordUpdate, registration, emailVerification, phoneVerification, labels","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[]},"in":"query"}]},"post":{"summary":"Create User Target","operationId":"usersCreateTarget","tags":["users"],"description":"Create a messaging target.","responses":{"201":{"description":"Target","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/target"}}}}},"x-appwrite":{"method":"createTarget","weight":235,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-target.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-target.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"targets.write","platforms":["server","console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"targetId":{"type":"string","description":"Target ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","x-example":"<TARGET_ID>"},"providerType":{"type":"string","description":"The target provider type. Can be one of the following: `email`, `sms` or `push`.","x-example":"email","enum":["email","sms","push"],"x-enum-name":"MessagingProviderType","x-enum-keys":[]},"identifier":{"type":"string","description":"The target identifier (token, email, phone etc.)","x-example":"<IDENTIFIER>"},"providerId":{"type":"string","description":"Provider ID. Message will be sent to this target from the specified provider ID. If no provider ID is set the first setup provider will be used.","x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Target name. Max length: 128 chars. For example: My Awesome App Galaxy S23.","x-example":"<NAME>"}},"required":["targetId","providerType","identifier"]}}}}}},"\/users\/{userId}\/targets\/{targetId}":{"get":{"summary":"Get User Target","operationId":"usersGetTarget","tags":["users"],"description":"Get a user's push notification target by ID.","responses":{"200":{"description":"Target","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/target"}}}}},"x-appwrite":{"method":"getTarget","weight":239,"cookies":false,"type":"","deprecated":false,"demo":"users\/get-target.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user-target.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"targets.read","platforms":["server","console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"},{"name":"targetId","description":"Target ID.","required":true,"schema":{"type":"string","x-example":"<TARGET_ID>"},"in":"path"}]},"patch":{"summary":"Update User target","operationId":"usersUpdateTarget","tags":["users"],"description":"Update a messaging target.","responses":{"200":{"description":"Target","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/target"}}}}},"x-appwrite":{"method":"updateTarget","weight":254,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-target.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-target.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"targets.write","platforms":["server","console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"},{"name":"targetId","description":"Target ID.","required":true,"schema":{"type":"string","x-example":"<TARGET_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"identifier":{"type":"string","description":"The target identifier (token, email, phone etc.)","x-example":"<IDENTIFIER>"},"providerId":{"type":"string","description":"Provider ID. Message will be sent to this target from the specified provider ID. If no provider ID is set the first setup provider will be used.","x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Target name. Max length: 128 chars. For example: My Awesome App Galaxy S23.","x-example":"<NAME>"}}}}}}},"delete":{"summary":"Delete user target","operationId":"usersDeleteTarget","tags":["users"],"description":"Delete a messaging target.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteTarget","weight":266,"cookies":false,"type":"","deprecated":false,"demo":"users\/delete-target.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-target.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"targets.write","platforms":["server","console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"},{"name":"targetId","description":"Target ID.","required":true,"schema":{"type":"string","x-example":"<TARGET_ID>"},"in":"path"}]}},"\/users\/{userId}\/tokens":{"post":{"summary":"Create token","operationId":"usersCreateToken","tags":["users"],"description":"Returns a token with a secret key for creating a session. Use the user ID and secret and submit a request to the [PUT \/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process.\n","responses":{"201":{"description":"Token","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/token"}}}}},"x-appwrite":{"method":"createToken","weight":262,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-token.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-token.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"length":{"type":"integer","description":"Token length in characters. The default length is 6 characters","x-example":4},"expire":{"type":"integer","description":"Token expiration period in seconds. The default expiration is 15 minutes.","x-example":60}}}}}}}},"\/users\/{userId}\/verification":{"patch":{"summary":"Update email verification","operationId":"usersUpdateEmailVerification","tags":["users"],"description":"Update the user email verification status by its unique ID.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updateEmailVerification","weight":252,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-email-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-email-verification.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"emailVerification":{"type":"boolean","description":"User email verification status.","x-example":false}},"required":["emailVerification"]}}}}}},"\/users\/{userId}\/verification\/phone":{"patch":{"summary":"Update phone verification","operationId":"usersUpdatePhoneVerification","tags":["users"],"description":"Update the user phone verification status by its unique ID.","responses":{"200":{"description":"User","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/user"}}}}},"x-appwrite":{"method":"updatePhoneVerification","weight":247,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-phone-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-phone-verification.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"schema":{"type":"string","x-example":"<USER_ID>"},"in":"path"}],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"phoneVerification":{"type":"boolean","description":"User phone verification status.","x-example":false}},"required":["phoneVerification"]}}}}}}},"tags":[{"name":"account","description":"The Account service allows you to authenticate and manage a user account.","x-globalAttributes":[]},{"name":"avatars","description":"The Avatars service aims to help you complete everyday tasks related to your app image, icons, and avatars.","x-globalAttributes":[]},{"name":"databases","description":"The Databases service allows you to create structured collections of documents, query and filter lists of documents","x-globalAttributes":["databaseId"]},{"name":"locale","description":"The Locale service allows you to customize your app based on your users' location.","x-globalAttributes":[]},{"name":"health","description":"The Health service allows you to both validate and monitor your Appwrite server's health.","x-globalAttributes":[]},{"name":"projects","description":"The Project service allows you to manage all the projects in your Appwrite server.","x-globalAttributes":[]},{"name":"project","description":"The Project service allows you to manage all the projects in your Appwrite server.","x-globalAttributes":[]},{"name":"storage","description":"The Storage service allows you to manage your project files.","x-globalAttributes":[]},{"name":"teams","description":"The Teams service allows you to group users of your project and to enable them to share read and write access to your project resources","x-globalAttributes":[]},{"name":"users","description":"The Users service allows you to manage your project users.","x-globalAttributes":[]},{"name":"functions","description":"The Functions Service allows you view, create and manage your Cloud Functions.","x-globalAttributes":[]},{"name":"proxy","description":"The Proxy Service allows you to configure actions for your domains beyond DNS configuration.","x-globalAttributes":[]},{"name":"graphql","description":"The GraphQL API allows you to query and mutate your Appwrite server using GraphQL.","x-globalAttributes":[]},{"name":"console","description":"The Console service allows you to interact with console relevant informations.","x-globalAttributes":[]},{"name":"migrations","description":"The Migrations service allows you to migrate third-party data to your Appwrite project.","x-globalAttributes":[]},{"name":"messaging","description":"The Messaging service allows you to send messages to any provider type (SMTP, push notification, SMS, etc.).","x-globalAttributes":[]}],"components":{"schemas":{"any":{"description":"Any","type":"object","additionalProperties":true},"error":{"description":"Error","type":"object","properties":{"message":{"type":"string","description":"Error message.","x-example":"Not found"},"code":{"type":"string","description":"Error code.","x-example":"404"},"type":{"type":"string","description":"Error type. You can learn more about all the error types at https:\/\/appwrite.io\/docs\/error-codes#errorTypes","x-example":"not_found"},"version":{"type":"string","description":"Server version number.","x-example":"1.0"}},"required":["message","code","type","version"]},"documentList":{"description":"Documents List","type":"object","properties":{"total":{"type":"integer","description":"Total number of documents documents that matched your query.","x-example":5,"format":"int32"},"documents":{"type":"array","description":"List of documents.","items":{"$ref":"#\/components\/schemas\/document"},"x-example":""}},"required":["total","documents"]},"collectionList":{"description":"Collections List","type":"object","properties":{"total":{"type":"integer","description":"Total number of collections documents that matched your query.","x-example":5,"format":"int32"},"collections":{"type":"array","description":"List of collections.","items":{"$ref":"#\/components\/schemas\/collection"},"x-example":""}},"required":["total","collections"]},"databaseList":{"description":"Databases List","type":"object","properties":{"total":{"type":"integer","description":"Total number of databases documents that matched your query.","x-example":5,"format":"int32"},"databases":{"type":"array","description":"List of databases.","items":{"$ref":"#\/components\/schemas\/database"},"x-example":""}},"required":["total","databases"]},"indexList":{"description":"Indexes List","type":"object","properties":{"total":{"type":"integer","description":"Total number of indexes documents that matched your query.","x-example":5,"format":"int32"},"indexes":{"type":"array","description":"List of indexes.","items":{"$ref":"#\/components\/schemas\/index"},"x-example":""}},"required":["total","indexes"]},"userList":{"description":"Users List","type":"object","properties":{"total":{"type":"integer","description":"Total number of users documents that matched your query.","x-example":5,"format":"int32"},"users":{"type":"array","description":"List of users.","items":{"$ref":"#\/components\/schemas\/user"},"x-example":""}},"required":["total","users"]},"sessionList":{"description":"Sessions List","type":"object","properties":{"total":{"type":"integer","description":"Total number of sessions documents that matched your query.","x-example":5,"format":"int32"},"sessions":{"type":"array","description":"List of sessions.","items":{"$ref":"#\/components\/schemas\/session"},"x-example":""}},"required":["total","sessions"]},"identityList":{"description":"Identities List","type":"object","properties":{"total":{"type":"integer","description":"Total number of identities documents that matched your query.","x-example":5,"format":"int32"},"identities":{"type":"array","description":"List of identities.","items":{"$ref":"#\/components\/schemas\/identity"},"x-example":""}},"required":["total","identities"]},"logList":{"description":"Logs List","type":"object","properties":{"total":{"type":"integer","description":"Total number of logs documents that matched your query.","x-example":5,"format":"int32"},"logs":{"type":"array","description":"List of logs.","items":{"$ref":"#\/components\/schemas\/log"},"x-example":""}},"required":["total","logs"]},"fileList":{"description":"Files List","type":"object","properties":{"total":{"type":"integer","description":"Total number of files documents that matched your query.","x-example":5,"format":"int32"},"files":{"type":"array","description":"List of files.","items":{"$ref":"#\/components\/schemas\/file"},"x-example":""}},"required":["total","files"]},"bucketList":{"description":"Buckets List","type":"object","properties":{"total":{"type":"integer","description":"Total number of buckets documents that matched your query.","x-example":5,"format":"int32"},"buckets":{"type":"array","description":"List of buckets.","items":{"$ref":"#\/components\/schemas\/bucket"},"x-example":""}},"required":["total","buckets"]},"teamList":{"description":"Teams List","type":"object","properties":{"total":{"type":"integer","description":"Total number of teams documents that matched your query.","x-example":5,"format":"int32"},"teams":{"type":"array","description":"List of teams.","items":{"$ref":"#\/components\/schemas\/team"},"x-example":""}},"required":["total","teams"]},"membershipList":{"description":"Memberships List","type":"object","properties":{"total":{"type":"integer","description":"Total number of memberships documents that matched your query.","x-example":5,"format":"int32"},"memberships":{"type":"array","description":"List of memberships.","items":{"$ref":"#\/components\/schemas\/membership"},"x-example":""}},"required":["total","memberships"]},"functionList":{"description":"Functions List","type":"object","properties":{"total":{"type":"integer","description":"Total number of functions documents that matched your query.","x-example":5,"format":"int32"},"functions":{"type":"array","description":"List of functions.","items":{"$ref":"#\/components\/schemas\/function"},"x-example":""}},"required":["total","functions"]},"runtimeList":{"description":"Runtimes List","type":"object","properties":{"total":{"type":"integer","description":"Total number of runtimes documents that matched your query.","x-example":5,"format":"int32"},"runtimes":{"type":"array","description":"List of runtimes.","items":{"$ref":"#\/components\/schemas\/runtime"},"x-example":""}},"required":["total","runtimes"]},"deploymentList":{"description":"Deployments List","type":"object","properties":{"total":{"type":"integer","description":"Total number of deployments documents that matched your query.","x-example":5,"format":"int32"},"deployments":{"type":"array","description":"List of deployments.","items":{"$ref":"#\/components\/schemas\/deployment"},"x-example":""}},"required":["total","deployments"]},"executionList":{"description":"Executions List","type":"object","properties":{"total":{"type":"integer","description":"Total number of executions documents that matched your query.","x-example":5,"format":"int32"},"executions":{"type":"array","description":"List of executions.","items":{"$ref":"#\/components\/schemas\/execution"},"x-example":""}},"required":["total","executions"]},"countryList":{"description":"Countries List","type":"object","properties":{"total":{"type":"integer","description":"Total number of countries documents that matched your query.","x-example":5,"format":"int32"},"countries":{"type":"array","description":"List of countries.","items":{"$ref":"#\/components\/schemas\/country"},"x-example":""}},"required":["total","countries"]},"continentList":{"description":"Continents List","type":"object","properties":{"total":{"type":"integer","description":"Total number of continents documents that matched your query.","x-example":5,"format":"int32"},"continents":{"type":"array","description":"List of continents.","items":{"$ref":"#\/components\/schemas\/continent"},"x-example":""}},"required":["total","continents"]},"languageList":{"description":"Languages List","type":"object","properties":{"total":{"type":"integer","description":"Total number of languages documents that matched your query.","x-example":5,"format":"int32"},"languages":{"type":"array","description":"List of languages.","items":{"$ref":"#\/components\/schemas\/language"},"x-example":""}},"required":["total","languages"]},"currencyList":{"description":"Currencies List","type":"object","properties":{"total":{"type":"integer","description":"Total number of currencies documents that matched your query.","x-example":5,"format":"int32"},"currencies":{"type":"array","description":"List of currencies.","items":{"$ref":"#\/components\/schemas\/currency"},"x-example":""}},"required":["total","currencies"]},"phoneList":{"description":"Phones List","type":"object","properties":{"total":{"type":"integer","description":"Total number of phones documents that matched your query.","x-example":5,"format":"int32"},"phones":{"type":"array","description":"List of phones.","items":{"$ref":"#\/components\/schemas\/phone"},"x-example":""}},"required":["total","phones"]},"variableList":{"description":"Variables List","type":"object","properties":{"total":{"type":"integer","description":"Total number of variables documents that matched your query.","x-example":5,"format":"int32"},"variables":{"type":"array","description":"List of variables.","items":{"$ref":"#\/components\/schemas\/variable"},"x-example":""}},"required":["total","variables"]},"localeCodeList":{"description":"Locale codes list","type":"object","properties":{"total":{"type":"integer","description":"Total number of localeCodes documents that matched your query.","x-example":5,"format":"int32"},"localeCodes":{"type":"array","description":"List of localeCodes.","items":{"$ref":"#\/components\/schemas\/localeCode"},"x-example":""}},"required":["total","localeCodes"]},"providerList":{"description":"Provider list","type":"object","properties":{"total":{"type":"integer","description":"Total number of providers documents that matched your query.","x-example":5,"format":"int32"},"providers":{"type":"array","description":"List of providers.","items":{"$ref":"#\/components\/schemas\/provider"},"x-example":""}},"required":["total","providers"]},"messageList":{"description":"Message list","type":"object","properties":{"total":{"type":"integer","description":"Total number of messages documents that matched your query.","x-example":5,"format":"int32"},"messages":{"type":"array","description":"List of messages.","items":{"$ref":"#\/components\/schemas\/message"},"x-example":""}},"required":["total","messages"]},"topicList":{"description":"Topic list","type":"object","properties":{"total":{"type":"integer","description":"Total number of topics documents that matched your query.","x-example":5,"format":"int32"},"topics":{"type":"array","description":"List of topics.","items":{"$ref":"#\/components\/schemas\/topic"},"x-example":""}},"required":["total","topics"]},"subscriberList":{"description":"Subscriber list","type":"object","properties":{"total":{"type":"integer","description":"Total number of subscribers documents that matched your query.","x-example":5,"format":"int32"},"subscribers":{"type":"array","description":"List of subscribers.","items":{"$ref":"#\/components\/schemas\/subscriber"},"x-example":""}},"required":["total","subscribers"]},"targetList":{"description":"Target list","type":"object","properties":{"total":{"type":"integer","description":"Total number of targets documents that matched your query.","x-example":5,"format":"int32"},"targets":{"type":"array","description":"List of targets.","items":{"$ref":"#\/components\/schemas\/target"},"x-example":""}},"required":["total","targets"]},"database":{"description":"Database","type":"object","properties":{"$id":{"type":"string","description":"Database ID.","x-example":"5e5ea5c16897e"},"name":{"type":"string","description":"Database name.","x-example":"My Database"},"$createdAt":{"type":"string","description":"Database creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Database update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"enabled":{"type":"boolean","description":"If database is enabled. Can be 'enabled' or 'disabled'. When disabled, the database is inaccessible to users, but remains accessible to Server SDKs using API keys.","x-example":false}},"required":["$id","name","$createdAt","$updatedAt","enabled"]},"collection":{"description":"Collection","type":"object","properties":{"$id":{"type":"string","description":"Collection ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Collection creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Collection update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$permissions":{"type":"array","description":"Collection permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","items":{"type":"string"},"x-example":["read(\"any\")"]},"databaseId":{"type":"string","description":"Database ID.","x-example":"5e5ea5c16897e"},"name":{"type":"string","description":"Collection name.","x-example":"My Collection"},"enabled":{"type":"boolean","description":"Collection enabled. Can be 'enabled' or 'disabled'. When disabled, the collection is inaccessible to users, but remains accessible to Server SDKs using API keys.","x-example":false},"documentSecurity":{"type":"boolean","description":"Whether document-level permissions are enabled. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":true},"attributes":{"type":"array","description":"Collection attributes.","items":{"anyOf":[{"$ref":"#\/components\/schemas\/attributeBoolean"},{"$ref":"#\/components\/schemas\/attributeInteger"},{"$ref":"#\/components\/schemas\/attributeFloat"},{"$ref":"#\/components\/schemas\/attributeEmail"},{"$ref":"#\/components\/schemas\/attributeEnum"},{"$ref":"#\/components\/schemas\/attributeUrl"},{"$ref":"#\/components\/schemas\/attributeIp"},{"$ref":"#\/components\/schemas\/attributeDatetime"},{"$ref":"#\/components\/schemas\/attributeRelationship"},{"$ref":"#\/components\/schemas\/attributeString"}]},"x-example":{}},"indexes":{"type":"array","description":"Collection indexes.","items":{"$ref":"#\/components\/schemas\/index"},"x-example":{}}},"required":["$id","$createdAt","$updatedAt","$permissions","databaseId","name","enabled","documentSecurity","attributes","indexes"]},"attributeList":{"description":"Attributes List","type":"object","properties":{"total":{"type":"integer","description":"Total number of attributes in the given collection.","x-example":5,"format":"int32"},"attributes":{"type":"array","description":"List of attributes.","items":{"anyOf":[{"$ref":"#\/components\/schemas\/attributeBoolean"},{"$ref":"#\/components\/schemas\/attributeInteger"},{"$ref":"#\/components\/schemas\/attributeFloat"},{"$ref":"#\/components\/schemas\/attributeEmail"},{"$ref":"#\/components\/schemas\/attributeEnum"},{"$ref":"#\/components\/schemas\/attributeUrl"},{"$ref":"#\/components\/schemas\/attributeIp"},{"$ref":"#\/components\/schemas\/attributeDatetime"},{"$ref":"#\/components\/schemas\/attributeRelationship"},{"$ref":"#\/components\/schemas\/attributeString"}]},"x-example":""}},"required":["total","attributes"]},"attributeString":{"description":"AttributeString","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"fullName"},"type":{"type":"string","description":"Attribute type.","x-example":"string"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"nullable":true},"size":{"type":"integer","description":"Attribute size.","x-example":128,"format":"int32"},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"default","nullable":true}},"required":["key","type","status","error","required","size"]},"attributeInteger":{"description":"AttributeInteger","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"count"},"type":{"type":"string","description":"Attribute type.","x-example":"integer"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"nullable":true},"min":{"type":"integer","description":"Minimum value to enforce for new documents.","x-example":1,"format":"int32","nullable":true},"max":{"type":"integer","description":"Maximum value to enforce for new documents.","x-example":10,"format":"int32","nullable":true},"default":{"type":"integer","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":10,"format":"int32","nullable":true}},"required":["key","type","status","error","required"]},"attributeFloat":{"description":"AttributeFloat","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"percentageCompleted"},"type":{"type":"string","description":"Attribute type.","x-example":"double"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"nullable":true},"min":{"type":"number","description":"Minimum value to enforce for new documents.","x-example":1.5,"format":"double","nullable":true},"max":{"type":"number","description":"Maximum value to enforce for new documents.","x-example":10.5,"format":"double","nullable":true},"default":{"type":"number","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":2.5,"format":"double","nullable":true}},"required":["key","type","status","error","required"]},"attributeBoolean":{"description":"AttributeBoolean","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"isEnabled"},"type":{"type":"string","description":"Attribute type.","x-example":"boolean"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"nullable":true},"default":{"type":"boolean","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":false,"nullable":true}},"required":["key","type","status","error","required"]},"attributeEmail":{"description":"AttributeEmail","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"userEmail"},"type":{"type":"string","description":"Attribute type.","x-example":"string"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"nullable":true},"format":{"type":"string","description":"String format.","x-example":"email"},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"default@example.com","nullable":true}},"required":["key","type","status","error","required","format"]},"attributeEnum":{"description":"AttributeEnum","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"status"},"type":{"type":"string","description":"Attribute type.","x-example":"string"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"nullable":true},"elements":{"type":"array","description":"Array of elements in enumerated type.","items":{"type":"string"},"x-example":"element"},"format":{"type":"string","description":"String format.","x-example":"enum"},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"element","nullable":true}},"required":["key","type","status","error","required","elements","format"]},"attributeIp":{"description":"AttributeIP","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"ipAddress"},"type":{"type":"string","description":"Attribute type.","x-example":"string"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"nullable":true},"format":{"type":"string","description":"String format.","x-example":"ip"},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"192.0.2.0","nullable":true}},"required":["key","type","status","error","required","format"]},"attributeUrl":{"description":"AttributeURL","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"githubUrl"},"type":{"type":"string","description":"Attribute type.","x-example":"string"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"nullable":true},"format":{"type":"string","description":"String format.","x-example":"url"},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"http:\/\/example.com","nullable":true}},"required":["key","type","status","error","required","format"]},"attributeDatetime":{"description":"AttributeDatetime","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"birthDay"},"type":{"type":"string","description":"Attribute type.","x-example":"datetime"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"nullable":true},"format":{"type":"string","description":"ISO 8601 format.","x-example":"datetime"},"default":{"type":"string","description":"Default value for attribute when not provided. Only null is optional","x-example":"2020-10-15T06:38:00.000+00:00","nullable":true}},"required":["key","type","status","error","required","format"]},"attributeRelationship":{"description":"AttributeRelationship","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"fullName"},"type":{"type":"string","description":"Attribute type.","x-example":"string"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"nullable":true},"relatedCollection":{"type":"string","description":"The ID of the related collection.","x-example":"collection"},"relationType":{"type":"string","description":"The type of the relationship.","x-example":"oneToOne|oneToMany|manyToOne|manyToMany"},"twoWay":{"type":"boolean","description":"Is the relationship two-way?","x-example":false},"twoWayKey":{"type":"string","description":"The key of the two-way relationship.","x-example":"string"},"onDelete":{"type":"string","description":"How deleting the parent document will propagate to child documents.","x-example":"restrict|cascade|setNull"},"side":{"type":"string","description":"Whether this is the parent or child side of the relationship","x-example":"parent|child"}},"required":["key","type","status","error","required","relatedCollection","relationType","twoWay","twoWayKey","onDelete","side"]},"index":{"description":"Index","type":"object","properties":{"key":{"type":"string","description":"Index Key.","x-example":"index1"},"type":{"type":"string","description":"Index type.","x-example":"primary"},"status":{"type":"string","description":"Index status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an index.","x-example":"string"},"attributes":{"type":"array","description":"Index attributes.","items":{"type":"string"},"x-example":[]},"orders":{"type":"array","description":"Index orders.","items":{"type":"string"},"x-example":[],"nullable":true}},"required":["key","type","status","error","attributes"]},"document":{"description":"Document","type":"object","properties":{"$id":{"type":"string","description":"Document ID.","x-example":"5e5ea5c16897e"},"$collectionId":{"type":"string","description":"Collection ID.","x-example":"5e5ea5c15117e"},"$databaseId":{"type":"string","description":"Database ID.","x-example":"5e5ea5c15117e"},"$createdAt":{"type":"string","description":"Document creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Document update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$permissions":{"type":"array","description":"Document permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","items":{"type":"string"},"x-example":["read(\"any\")"]}},"additionalProperties":true,"required":["$id","$collectionId","$databaseId","$createdAt","$updatedAt","$permissions"]},"log":{"description":"Log","type":"object","properties":{"event":{"type":"string","description":"Event name.","x-example":"account.sessions.create"},"userId":{"type":"string","description":"User ID.","x-example":"610fc2f985ee0"},"userEmail":{"type":"string","description":"User Email.","x-example":"john@appwrite.io"},"userName":{"type":"string","description":"User Name.","x-example":"John Doe"},"mode":{"type":"string","description":"API mode when event triggered.","x-example":"admin"},"ip":{"type":"string","description":"IP session in use when the session was created.","x-example":"127.0.0.1"},"time":{"type":"string","description":"Log creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"osCode":{"type":"string","description":"Operating system code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/os.json).","x-example":"Mac"},"osName":{"type":"string","description":"Operating system name.","x-example":"Mac"},"osVersion":{"type":"string","description":"Operating system version.","x-example":"Mac"},"clientType":{"type":"string","description":"Client type.","x-example":"browser"},"clientCode":{"type":"string","description":"Client code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/clients.json).","x-example":"CM"},"clientName":{"type":"string","description":"Client name.","x-example":"Chrome Mobile iOS"},"clientVersion":{"type":"string","description":"Client version.","x-example":"84.0"},"clientEngine":{"type":"string","description":"Client engine name.","x-example":"WebKit"},"clientEngineVersion":{"type":"string","description":"Client engine name.","x-example":"605.1.15"},"deviceName":{"type":"string","description":"Device name.","x-example":"smartphone"},"deviceBrand":{"type":"string","description":"Device brand name.","x-example":"Google"},"deviceModel":{"type":"string","description":"Device model name.","x-example":"Nexus 5"},"countryCode":{"type":"string","description":"Country two-character ISO 3166-1 alpha code.","x-example":"US"},"countryName":{"type":"string","description":"Country name.","x-example":"United States"}},"required":["event","userId","userEmail","userName","mode","ip","time","osCode","osName","osVersion","clientType","clientCode","clientName","clientVersion","clientEngine","clientEngineVersion","deviceName","deviceBrand","deviceModel","countryCode","countryName"]},"user":{"description":"User","type":"object","properties":{"$id":{"type":"string","description":"User ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"User creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"User update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"User name.","x-example":"John Doe"},"password":{"type":"string","description":"Hashed user password.","x-example":"$argon2id$v=19$m=2048,t=4,p=3$aUZjLnliVWRINmFNTWMudg$5S+x+7uA31xFnrHFT47yFwcJeaP0w92L\/4LdgrVRXxE","nullable":true},"hash":{"type":"string","description":"Password hashing algorithm.","x-example":"argon2","nullable":true},"hashOptions":{"type":"object","description":"Password hashing algorithm configuration.","x-example":{},"items":{"oneOf":[{"$ref":"#\/components\/schemas\/algoArgon2"},{"$ref":"#\/components\/schemas\/algoScrypt"},{"$ref":"#\/components\/schemas\/algoScryptModified"},{"$ref":"#\/components\/schemas\/algoBcrypt"},{"$ref":"#\/components\/schemas\/algoPhpass"},{"$ref":"#\/components\/schemas\/algoSha"},{"$ref":"#\/components\/schemas\/algoMd5"}]},"nullable":true},"registration":{"type":"string","description":"User registration date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"status":{"type":"boolean","description":"User status. Pass `true` for enabled and `false` for disabled.","x-example":true},"labels":{"type":"array","description":"Labels for the user.","items":{"type":"string"},"x-example":["vip"]},"passwordUpdate":{"type":"string","description":"Password update time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"email":{"type":"string","description":"User email address.","x-example":"john@appwrite.io"},"phone":{"type":"string","description":"User phone number in E.164 format.","x-example":"+4930901820"},"emailVerification":{"type":"boolean","description":"Email verification status.","x-example":true},"phoneVerification":{"type":"boolean","description":"Phone verification status.","x-example":true},"mfa":{"type":"boolean","description":"Multi factor authentication status.","x-example":true},"prefs":{"type":"object","description":"User preferences as a key-value object","x-example":{"theme":"pink","timezone":"UTC"},"items":{"$ref":"#\/components\/schemas\/preferences"}},"targets":{"type":"array","description":"A user-owned message receiver. A single user may have multiple e.g. emails, phones, and a browser. Each target is registered with a single provider.","items":{"$ref":"#\/components\/schemas\/target"},"x-example":[]},"accessedAt":{"type":"string","description":"Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.","x-example":"2020-10-15T06:38:00.000+00:00"}},"required":["$id","$createdAt","$updatedAt","name","registration","status","labels","passwordUpdate","email","phone","emailVerification","phoneVerification","mfa","prefs","targets","accessedAt"]},"algoMd5":{"description":"AlgoMD5","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"md5"}},"required":["type"]},"algoSha":{"description":"AlgoSHA","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"sha"}},"required":["type"]},"algoPhpass":{"description":"AlgoPHPass","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"phpass"}},"required":["type"]},"algoBcrypt":{"description":"AlgoBcrypt","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"bcrypt"}},"required":["type"]},"algoScrypt":{"description":"AlgoScrypt","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"scrypt"},"costCpu":{"type":"integer","description":"CPU complexity of computed hash.","x-example":8,"format":"int32"},"costMemory":{"type":"integer","description":"Memory complexity of computed hash.","x-example":14,"format":"int32"},"costParallel":{"type":"integer","description":"Parallelization of computed hash.","x-example":1,"format":"int32"},"length":{"type":"integer","description":"Length used to compute hash.","x-example":64,"format":"int32"}},"required":["type","costCpu","costMemory","costParallel","length"]},"algoScryptModified":{"description":"AlgoScryptModified","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"scryptMod"},"salt":{"type":"string","description":"Salt used to compute hash.","x-example":"UxLMreBr6tYyjQ=="},"saltSeparator":{"type":"string","description":"Separator used to compute hash.","x-example":"Bw=="},"signerKey":{"type":"string","description":"Key used to compute hash.","x-example":"XyEKE9RcTDeLEsL\/RjwPDBv\/RqDl8fb3gpYEOQaPihbxf1ZAtSOHCjuAAa7Q3oHpCYhXSN9tizHgVOwn6krflQ=="}},"required":["type","salt","saltSeparator","signerKey"]},"algoArgon2":{"description":"AlgoArgon2","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"argon2"},"memoryCost":{"type":"integer","description":"Memory used to compute hash.","x-example":65536,"format":"int32"},"timeCost":{"type":"integer","description":"Amount of time consumed to compute hash","x-example":4,"format":"int32"},"threads":{"type":"integer","description":"Number of threads used to compute hash.","x-example":3,"format":"int32"}},"required":["type","memoryCost","timeCost","threads"]},"preferences":{"description":"Preferences","type":"object","additionalProperties":true},"session":{"description":"Session","type":"object","properties":{"$id":{"type":"string","description":"Session ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Session creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Session update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"userId":{"type":"string","description":"User ID.","x-example":"5e5bb8c16897e"},"expire":{"type":"string","description":"Session expiration date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"provider":{"type":"string","description":"Session Provider.","x-example":"email"},"providerUid":{"type":"string","description":"Session Provider User ID.","x-example":"user@example.com"},"providerAccessToken":{"type":"string","description":"Session Provider Access Token.","x-example":"MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3"},"providerAccessTokenExpiry":{"type":"string","description":"The date of when the access token expires in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"providerRefreshToken":{"type":"string","description":"Session Provider Refresh Token.","x-example":"MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3"},"ip":{"type":"string","description":"IP in use when the session was created.","x-example":"127.0.0.1"},"osCode":{"type":"string","description":"Operating system code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/os.json).","x-example":"Mac"},"osName":{"type":"string","description":"Operating system name.","x-example":"Mac"},"osVersion":{"type":"string","description":"Operating system version.","x-example":"Mac"},"clientType":{"type":"string","description":"Client type.","x-example":"browser"},"clientCode":{"type":"string","description":"Client code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/clients.json).","x-example":"CM"},"clientName":{"type":"string","description":"Client name.","x-example":"Chrome Mobile iOS"},"clientVersion":{"type":"string","description":"Client version.","x-example":"84.0"},"clientEngine":{"type":"string","description":"Client engine name.","x-example":"WebKit"},"clientEngineVersion":{"type":"string","description":"Client engine name.","x-example":"605.1.15"},"deviceName":{"type":"string","description":"Device name.","x-example":"smartphone"},"deviceBrand":{"type":"string","description":"Device brand name.","x-example":"Google"},"deviceModel":{"type":"string","description":"Device model name.","x-example":"Nexus 5"},"countryCode":{"type":"string","description":"Country two-character ISO 3166-1 alpha code.","x-example":"US"},"countryName":{"type":"string","description":"Country name.","x-example":"United States"},"current":{"type":"boolean","description":"Returns true if this the current user session.","x-example":true},"factors":{"type":"array","description":"Returns a list of active session factors.","items":{"type":"string"},"x-example":["email"]},"secret":{"type":"string","description":"Secret used to authenticate the user. Only included if the request was made with an API key","x-example":"5e5bb8c16897e"},"mfaUpdatedAt":{"type":"string","description":"Most recent date in ISO 8601 format when the session successfully passed MFA challenge.","x-example":"2020-10-15T06:38:00.000+00:00"}},"required":["$id","$createdAt","$updatedAt","userId","expire","provider","providerUid","providerAccessToken","providerAccessTokenExpiry","providerRefreshToken","ip","osCode","osName","osVersion","clientType","clientCode","clientName","clientVersion","clientEngine","clientEngineVersion","deviceName","deviceBrand","deviceModel","countryCode","countryName","current","factors","secret","mfaUpdatedAt"]},"identity":{"description":"Identity","type":"object","properties":{"$id":{"type":"string","description":"Identity ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Identity creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Identity update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"userId":{"type":"string","description":"User ID.","x-example":"5e5bb8c16897e"},"provider":{"type":"string","description":"Identity Provider.","x-example":"email"},"providerUid":{"type":"string","description":"ID of the User in the Identity Provider.","x-example":"5e5bb8c16897e"},"providerEmail":{"type":"string","description":"Email of the User in the Identity Provider.","x-example":"user@example.com"},"providerAccessToken":{"type":"string","description":"Identity Provider Access Token.","x-example":"MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3"},"providerAccessTokenExpiry":{"type":"string","description":"The date of when the access token expires in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"providerRefreshToken":{"type":"string","description":"Identity Provider Refresh Token.","x-example":"MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3"}},"required":["$id","$createdAt","$updatedAt","userId","provider","providerUid","providerEmail","providerAccessToken","providerAccessTokenExpiry","providerRefreshToken"]},"token":{"description":"Token","type":"object","properties":{"$id":{"type":"string","description":"Token ID.","x-example":"bb8ea5c16897e"},"$createdAt":{"type":"string","description":"Token creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"userId":{"type":"string","description":"User ID.","x-example":"5e5ea5c168bb8"},"secret":{"type":"string","description":"Token secret key. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.","x-example":""},"expire":{"type":"string","description":"Token expiration date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"phrase":{"type":"string","description":"Security phrase of a token. Empty if security phrase was not requested when creating a token. It includes randomly generated phrase which is also sent in the external resource such as email.","x-example":"Golden Fox"}},"required":["$id","$createdAt","userId","secret","expire","phrase"]},"jwt":{"description":"JWT","type":"object","properties":{"jwt":{"type":"string","description":"JWT encoded string.","x-example":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"}},"required":["jwt"]},"locale":{"description":"Locale","type":"object","properties":{"ip":{"type":"string","description":"User IP address.","x-example":"127.0.0.1"},"countryCode":{"type":"string","description":"Country code in [ISO 3166-1](http:\/\/en.wikipedia.org\/wiki\/ISO_3166-1) two-character format","x-example":"US"},"country":{"type":"string","description":"Country name. This field support localization.","x-example":"United States"},"continentCode":{"type":"string","description":"Continent code. A two character continent code \"AF\" for Africa, \"AN\" for Antarctica, \"AS\" for Asia, \"EU\" for Europe, \"NA\" for North America, \"OC\" for Oceania, and \"SA\" for South America.","x-example":"NA"},"continent":{"type":"string","description":"Continent name. This field support localization.","x-example":"North America"},"eu":{"type":"boolean","description":"True if country is part of the European Union.","x-example":false},"currency":{"type":"string","description":"Currency code in [ISO 4217-1](http:\/\/en.wikipedia.org\/wiki\/ISO_4217) three-character format","x-example":"USD"}},"required":["ip","countryCode","country","continentCode","continent","eu","currency"]},"localeCode":{"description":"LocaleCode","type":"object","properties":{"code":{"type":"string","description":"Locale codes in [ISO 639-1](https:\/\/en.wikipedia.org\/wiki\/List_of_ISO_639-1_codes)","x-example":"en-us"},"name":{"type":"string","description":"Locale name","x-example":"US"}},"required":["code","name"]},"file":{"description":"File","type":"object","properties":{"$id":{"type":"string","description":"File ID.","x-example":"5e5ea5c16897e"},"bucketId":{"type":"string","description":"Bucket ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"File creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"File update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$permissions":{"type":"array","description":"File permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","items":{"type":"string"},"x-example":["read(\"any\")"]},"name":{"type":"string","description":"File name.","x-example":"Pink.png"},"signature":{"type":"string","description":"File MD5 signature.","x-example":"5d529fd02b544198ae075bd57c1762bb"},"mimeType":{"type":"string","description":"File mime type.","x-example":"image\/png"},"sizeOriginal":{"type":"integer","description":"File original size in bytes.","x-example":17890,"format":"int32"},"chunksTotal":{"type":"integer","description":"Total number of chunks available","x-example":17890,"format":"int32"},"chunksUploaded":{"type":"integer","description":"Total number of chunks uploaded","x-example":17890,"format":"int32"}},"required":["$id","bucketId","$createdAt","$updatedAt","$permissions","name","signature","mimeType","sizeOriginal","chunksTotal","chunksUploaded"]},"bucket":{"description":"Bucket","type":"object","properties":{"$id":{"type":"string","description":"Bucket ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Bucket creation time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Bucket update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$permissions":{"type":"array","description":"Bucket permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","items":{"type":"string"},"x-example":["read(\"any\")"]},"fileSecurity":{"type":"boolean","description":"Whether file-level security is enabled. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":true},"name":{"type":"string","description":"Bucket name.","x-example":"Documents"},"enabled":{"type":"boolean","description":"Bucket enabled.","x-example":false},"maximumFileSize":{"type":"integer","description":"Maximum file size supported.","x-example":100,"format":"int32"},"allowedFileExtensions":{"type":"array","description":"Allowed file extensions.","items":{"type":"string"},"x-example":["jpg","png"]},"compression":{"type":"string","description":"Compression algorithm choosen for compression. Will be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd).","x-example":"gzip"},"encryption":{"type":"boolean","description":"Bucket is encrypted.","x-example":false},"antivirus":{"type":"boolean","description":"Virus scanning is enabled.","x-example":false}},"required":["$id","$createdAt","$updatedAt","$permissions","fileSecurity","name","enabled","maximumFileSize","allowedFileExtensions","compression","encryption","antivirus"]},"team":{"description":"Team","type":"object","properties":{"$id":{"type":"string","description":"Team ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Team creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Team update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"Team name.","x-example":"VIP"},"total":{"type":"integer","description":"Total number of team members.","x-example":7,"format":"int32"},"prefs":{"type":"object","description":"Team preferences as a key-value object","x-example":{"theme":"pink","timezone":"UTC"},"items":{"$ref":"#\/components\/schemas\/preferences"}}},"required":["$id","$createdAt","$updatedAt","name","total","prefs"]},"membership":{"description":"Membership","type":"object","properties":{"$id":{"type":"string","description":"Membership ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Membership creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Membership update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"userId":{"type":"string","description":"User ID.","x-example":"5e5ea5c16897e"},"userName":{"type":"string","description":"User name.","x-example":"John Doe"},"userEmail":{"type":"string","description":"User email address.","x-example":"john@appwrite.io"},"teamId":{"type":"string","description":"Team ID.","x-example":"5e5ea5c16897e"},"teamName":{"type":"string","description":"Team name.","x-example":"VIP"},"invited":{"type":"string","description":"Date, the user has been invited to join the team in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"joined":{"type":"string","description":"Date, the user has accepted the invitation to join the team in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"confirm":{"type":"boolean","description":"User confirmation status, true if the user has joined the team or false otherwise.","x-example":false},"mfa":{"type":"boolean","description":"Multi factor authentication status, true if the user has MFA enabled or false otherwise.","x-example":false},"roles":{"type":"array","description":"User list of roles","items":{"type":"string"},"x-example":["owner"]}},"required":["$id","$createdAt","$updatedAt","userId","userName","userEmail","teamId","teamName","invited","joined","confirm","mfa","roles"]},"function":{"description":"Function","type":"object","properties":{"$id":{"type":"string","description":"Function ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Function creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Function update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"execute":{"type":"array","description":"Execution permissions.","items":{"type":"string"},"x-example":"users"},"name":{"type":"string","description":"Function name.","x-example":"My Function"},"enabled":{"type":"boolean","description":"Function enabled.","x-example":false},"live":{"type":"boolean","description":"Is the function deployed with the latest configuration? This is set to false if you've changed an environment variables, entrypoint, commands, or other settings that needs redeploy to be applied. When the value is false, redeploy the function to update it with the latest configuration.","x-example":false},"logging":{"type":"boolean","description":"Whether executions will be logged. When set to false, executions will not be logged, but will reduce resource used by your Appwrite project.","x-example":false},"runtime":{"type":"string","description":"Function execution runtime.","x-example":"python-3.8"},"deployment":{"type":"string","description":"Function's active deployment ID.","x-example":"5e5ea5c16897e"},"vars":{"type":"array","description":"Function variables.","items":{"$ref":"#\/components\/schemas\/variable"},"x-example":[]},"events":{"type":"array","description":"Function trigger events.","items":{"type":"string"},"x-example":"account.create"},"schedule":{"type":"string","description":"Function execution schedult in CRON format.","x-example":"5 4 * * *"},"timeout":{"type":"integer","description":"Function execution timeout in seconds.","x-example":300,"format":"int32"},"entrypoint":{"type":"string","description":"The entrypoint file used to execute the deployment.","x-example":"index.js"},"commands":{"type":"string","description":"The build command used to build the deployment.","x-example":"npm install"},"version":{"type":"string","description":"Version of Open Runtimes used for the function.","x-example":"v2"},"installationId":{"type":"string","description":"Function VCS (Version Control System) installation id.","x-example":"6m40at4ejk5h2u9s1hboo"},"providerRepositoryId":{"type":"string","description":"VCS (Version Control System) Repository ID","x-example":"appwrite"},"providerBranch":{"type":"string","description":"VCS (Version Control System) branch name","x-example":"main"},"providerRootDirectory":{"type":"string","description":"Path to function in VCS (Version Control System) repository","x-example":"functions\/helloWorld"},"providerSilentMode":{"type":"boolean","description":"Is VCS (Version Control System) connection is in silent mode? When in silence mode, no comments will be posted on the repository pull or merge requests","x-example":false}},"required":["$id","$createdAt","$updatedAt","execute","name","enabled","live","logging","runtime","deployment","vars","events","schedule","timeout","entrypoint","commands","version","installationId","providerRepositoryId","providerBranch","providerRootDirectory","providerSilentMode"]},"runtime":{"description":"Runtime","type":"object","properties":{"$id":{"type":"string","description":"Runtime ID.","x-example":"python-3.8"},"name":{"type":"string","description":"Runtime Name.","x-example":"Python"},"version":{"type":"string","description":"Runtime version.","x-example":"3.8"},"base":{"type":"string","description":"Base Docker image used to build the runtime.","x-example":"python:3.8-alpine"},"image":{"type":"string","description":"Image name of Docker Hub.","x-example":"appwrite\\\/runtime-for-python:3.8"},"logo":{"type":"string","description":"Name of the logo image.","x-example":"python.png"},"supports":{"type":"array","description":"List of supported architectures.","items":{"type":"string"},"x-example":"amd64"}},"required":["$id","name","version","base","image","logo","supports"]},"deployment":{"description":"Deployment","type":"object","properties":{"$id":{"type":"string","description":"Deployment ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Deployment creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Deployment update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"type":{"type":"string","description":"Type of deployment.","x-example":"vcs"},"resourceId":{"type":"string","description":"Resource ID.","x-example":"5e5ea6g16897e"},"resourceType":{"type":"string","description":"Resource type.","x-example":"functions"},"entrypoint":{"type":"string","description":"The entrypoint file to use to execute the deployment code.","x-example":"index.js"},"size":{"type":"integer","description":"The code size in bytes.","x-example":128,"format":"int32"},"buildId":{"type":"string","description":"The current build ID.","x-example":"5e5ea5c16897e"},"activate":{"type":"boolean","description":"Whether the deployment should be automatically activated.","x-example":true},"status":{"type":"string","description":"The deployment status. Possible values are \"processing\", \"building\", \"waiting\", \"ready\", and \"failed\".","x-example":"ready"},"buildLogs":{"type":"string","description":"The build logs.","x-example":"Compiling source files..."},"buildTime":{"type":"integer","description":"The current build time in seconds.","x-example":128,"format":"int32"},"providerRepositoryName":{"type":"string","description":"The name of the vcs provider repository","x-example":"database"},"providerRepositoryOwner":{"type":"string","description":"The name of the vcs provider repository owner","x-example":"utopia"},"providerRepositoryUrl":{"type":"string","description":"The url of the vcs provider repository","x-example":"https:\/\/github.com\/vermakhushboo\/g4-node-function"},"providerBranch":{"type":"string","description":"The branch of the vcs repository","x-example":"0.7.x"},"providerCommitHash":{"type":"string","description":"The commit hash of the vcs commit","x-example":"7c3f25d"},"providerCommitAuthorUrl":{"type":"string","description":"The url of vcs commit author","x-example":"https:\/\/github.com\/vermakhushboo"},"providerCommitAuthor":{"type":"string","description":"The name of vcs commit author","x-example":"Khushboo Verma"},"providerCommitMessage":{"type":"string","description":"The commit message","x-example":"Update index.js"},"providerCommitUrl":{"type":"string","description":"The url of the vcs commit","x-example":"https:\/\/github.com\/vermakhushboo\/g4-node-function\/commit\/60c0416257a9cbcdd96b2d370c38d8f8d150ccfb"},"providerBranchUrl":{"type":"string","description":"The branch of the vcs repository","x-example":"https:\/\/github.com\/vermakhushboo\/appwrite\/tree\/0.7.x"}},"required":["$id","$createdAt","$updatedAt","type","resourceId","resourceType","entrypoint","size","buildId","activate","status","buildLogs","buildTime","providerRepositoryName","providerRepositoryOwner","providerRepositoryUrl","providerBranch","providerCommitHash","providerCommitAuthorUrl","providerCommitAuthor","providerCommitMessage","providerCommitUrl","providerBranchUrl"]},"execution":{"description":"Execution","type":"object","properties":{"$id":{"type":"string","description":"Execution ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Execution creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Execution upate date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$permissions":{"type":"array","description":"Execution roles.","items":{"type":"string"},"x-example":["any"]},"functionId":{"type":"string","description":"Function ID.","x-example":"5e5ea6g16897e"},"trigger":{"type":"string","description":"The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.","x-example":"http"},"status":{"type":"string","description":"The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, or `failed`.","x-example":"processing"},"requestMethod":{"type":"string","description":"HTTP request method type.","x-example":"GET"},"requestPath":{"type":"string","description":"HTTP request path and query.","x-example":"\/articles?id=5"},"requestHeaders":{"type":"array","description":"HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.","items":{"$ref":"#\/components\/schemas\/headers"},"x-example":[{"Content-Type":"application\/json"}]},"responseStatusCode":{"type":"integer","description":"HTTP response status code.","x-example":200,"format":"int32"},"responseBody":{"type":"string","description":"HTTP response body. This will return empty unless execution is created as synchronous.","x-example":"Developers are awesome."},"responseHeaders":{"type":"array","description":"HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.","items":{"$ref":"#\/components\/schemas\/headers"},"x-example":[{"Content-Type":"application\/json"}]},"logs":{"type":"string","description":"Function logs. Includes the last 4,000 characters. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.","x-example":""},"errors":{"type":"string","description":"Function errors. Includes the last 4,000 characters. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.","x-example":""},"duration":{"type":"number","description":"Function execution duration in seconds.","x-example":0.4,"format":"double"}},"required":["$id","$createdAt","$updatedAt","$permissions","functionId","trigger","status","requestMethod","requestPath","requestHeaders","responseStatusCode","responseBody","responseHeaders","logs","errors","duration"]},"variable":{"description":"Variable","type":"object","properties":{"$id":{"type":"string","description":"Variable ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Variable creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Variable creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"key":{"type":"string","description":"Variable key.","x-example":"API_KEY"},"value":{"type":"string","description":"Variable value.","x-example":"myPa$$word1"},"resourceType":{"type":"string","description":"Service to which the variable belongs. Possible values are \"project\", \"function\"","x-example":"function"},"resourceId":{"type":"string","description":"ID of resource to which the variable belongs. If resourceType is \"project\", it is empty. If resourceType is \"function\", it is ID of the function.","x-example":"myAwesomeFunction"}},"required":["$id","$createdAt","$updatedAt","key","value","resourceType","resourceId"]},"country":{"description":"Country","type":"object","properties":{"name":{"type":"string","description":"Country name.","x-example":"United States"},"code":{"type":"string","description":"Country two-character ISO 3166-1 alpha code.","x-example":"US"}},"required":["name","code"]},"continent":{"description":"Continent","type":"object","properties":{"name":{"type":"string","description":"Continent name.","x-example":"Europe"},"code":{"type":"string","description":"Continent two letter code.","x-example":"EU"}},"required":["name","code"]},"language":{"description":"Language","type":"object","properties":{"name":{"type":"string","description":"Language name.","x-example":"Italian"},"code":{"type":"string","description":"Language two-character ISO 639-1 codes.","x-example":"it"},"nativeName":{"type":"string","description":"Language native name.","x-example":"Italiano"}},"required":["name","code","nativeName"]},"currency":{"description":"Currency","type":"object","properties":{"symbol":{"type":"string","description":"Currency symbol.","x-example":"$"},"name":{"type":"string","description":"Currency name.","x-example":"US dollar"},"symbolNative":{"type":"string","description":"Currency native symbol.","x-example":"$"},"decimalDigits":{"type":"integer","description":"Number of decimal digits.","x-example":2,"format":"int32"},"rounding":{"type":"number","description":"Currency digit rounding.","x-example":0,"format":"double"},"code":{"type":"string","description":"Currency code in [ISO 4217-1](http:\/\/en.wikipedia.org\/wiki\/ISO_4217) three-character format.","x-example":"USD"},"namePlural":{"type":"string","description":"Currency plural name","x-example":"US dollars"}},"required":["symbol","name","symbolNative","decimalDigits","rounding","code","namePlural"]},"phone":{"description":"Phone","type":"object","properties":{"code":{"type":"string","description":"Phone code.","x-example":"+1"},"countryCode":{"type":"string","description":"Country two-character ISO 3166-1 alpha code.","x-example":"US"},"countryName":{"type":"string","description":"Country name.","x-example":"United States"}},"required":["code","countryCode","countryName"]},"healthAntivirus":{"description":"Health Antivirus","type":"object","properties":{"version":{"type":"string","description":"Antivirus version.","x-example":"1.0.0"},"status":{"type":"string","description":"Antivirus status. Possible values can are: `disabled`, `offline`, `online`","x-example":"online"}},"required":["version","status"]},"healthQueue":{"description":"Health Queue","type":"object","properties":{"size":{"type":"integer","description":"Amount of actions in the queue.","x-example":8,"format":"int32"}},"required":["size"]},"healthStatus":{"description":"Health Status","type":"object","properties":{"name":{"type":"string","description":"Name of the service.","x-example":"database"},"ping":{"type":"integer","description":"Duration in milliseconds how long the health check took.","x-example":128,"format":"int32"},"status":{"type":"string","description":"Service status. Possible values can are: `pass`, `fail`","x-example":"pass"}},"required":["name","ping","status"]},"healthCertificate":{"description":"Health Certificate","type":"object","properties":{"name":{"type":"string","description":"Certificate name","x-example":"\/CN=www.google.com"},"subjectSN":{"type":"string","description":"Subject SN","x-example":""},"issuerOrganisation":{"type":"string","description":"Issuer organisation","x-example":""},"validFrom":{"type":"string","description":"Valid from","x-example":"1704200998"},"validTo":{"type":"string","description":"Valid to","x-example":"1711458597"},"signatureTypeSN":{"type":"string","description":"Signature type SN","x-example":"RSA-SHA256"}},"required":["name","subjectSN","issuerOrganisation","validFrom","validTo","signatureTypeSN"]},"healthTime":{"description":"Health Time","type":"object","properties":{"remoteTime":{"type":"integer","description":"Current unix timestamp on trustful remote server.","x-example":1639490751,"format":"int32"},"localTime":{"type":"integer","description":"Current unix timestamp of local server where Appwrite runs.","x-example":1639490844,"format":"int32"},"diff":{"type":"integer","description":"Difference of unix remote and local timestamps in milliseconds.","x-example":93,"format":"int32"}},"required":["remoteTime","localTime","diff"]},"headers":{"description":"Headers","type":"object","properties":{"name":{"type":"string","description":"Header name.","x-example":"Content-Type"},"value":{"type":"string","description":"Header value.","x-example":"application\/json"}},"required":["name","value"]},"mfaChallenge":{"description":"MFA Challenge","type":"object","properties":{"$id":{"type":"string","description":"Token ID.","x-example":"bb8ea5c16897e"},"$createdAt":{"type":"string","description":"Token creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"userId":{"type":"string","description":"User ID.","x-example":"5e5ea5c168bb8"},"expire":{"type":"string","description":"Token expiration date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"}},"required":["$id","$createdAt","userId","expire"]},"mfaRecoveryCodes":{"description":"MFA Recovery Codes","type":"object","properties":{"recoveryCodes":{"type":"array","description":"Recovery codes.","items":{"type":"string"},"x-example":["a3kf0-s0cl2","s0co1-as98s"]}},"required":["recoveryCodes"]},"mfaType":{"description":"MFAType","type":"object","properties":{"secret":{"type":"string","description":"Secret token used for TOTP factor.","x-example":true},"uri":{"type":"string","description":"URI for authenticator apps.","x-example":true}},"required":["secret","uri"]},"mfaFactors":{"description":"MFAFactors","type":"object","properties":{"totp":{"type":"boolean","description":"Can TOTP be used for MFA challenge for this account.","x-example":true},"phone":{"type":"boolean","description":"Can phone (SMS) be used for MFA challenge for this account.","x-example":true},"email":{"type":"boolean","description":"Can email be used for MFA challenge for this account.","x-example":true},"recoveryCode":{"type":"boolean","description":"Can recovery code be used for MFA challenge for this account.","x-example":true}},"required":["totp","phone","email","recoveryCode"]},"provider":{"description":"Provider","type":"object","properties":{"$id":{"type":"string","description":"Provider ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Provider creation time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Provider update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"The name for the provider instance.","x-example":"Mailgun"},"provider":{"type":"string","description":"The name of the provider service.","x-example":"mailgun"},"enabled":{"type":"boolean","description":"Is provider enabled?","x-example":true},"type":{"type":"string","description":"Type of provider.","x-example":"sms"},"credentials":{"type":"object","description":"Provider credentials.","x-example":{"key":"123456789"}},"options":{"type":"object","description":"Provider options.","x-example":{"from":"sender-email@mydomain"},"nullable":true}},"required":["$id","$createdAt","$updatedAt","name","provider","enabled","type","credentials"]},"message":{"description":"Message","type":"object","properties":{"$id":{"type":"string","description":"Message ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Message creation time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Message update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"providerType":{"type":"string","description":"Message provider type.","x-example":"email"},"topics":{"type":"array","description":"Topic IDs set as recipients.","items":{"type":"string"},"x-example":["5e5ea5c16897e"]},"users":{"type":"array","description":"User IDs set as recipients.","items":{"type":"string"},"x-example":["5e5ea5c16897e"]},"targets":{"type":"array","description":"Target IDs set as recipients.","items":{"type":"string"},"x-example":["5e5ea5c16897e"]},"scheduledAt":{"type":"string","description":"The scheduled time for message.","x-example":"2020-10-15T06:38:00.000+00:00","nullable":true},"deliveredAt":{"type":"string","description":"The time when the message was delivered.","x-example":"2020-10-15T06:38:00.000+00:00","nullable":true},"deliveryErrors":{"type":"array","description":"Delivery errors if any.","items":{"type":"string"},"x-example":["Failed to send message to target 5e5ea5c16897e: Credentials not valid."],"nullable":true},"deliveredTotal":{"type":"integer","description":"Number of recipients the message was delivered to.","x-example":1,"format":"int32"},"data":{"type":"object","description":"Data of the message.","x-example":{"subject":"Welcome to Appwrite","content":"Hi there, welcome to Appwrite family."}},"status":{"type":"string","description":"Status of delivery.","x-example":"Message status can be one of the following: draft, processing, scheduled, sent, or failed."}},"required":["$id","$createdAt","$updatedAt","providerType","topics","users","targets","deliveredTotal","data","status"]},"topic":{"description":"Topic","type":"object","properties":{"$id":{"type":"string","description":"Topic ID.","x-example":"259125845563242502"},"$createdAt":{"type":"string","description":"Topic creation time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Topic update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"The name of the topic.","x-example":"events"},"emailTotal":{"type":"integer","description":"Total count of email subscribers subscribed to the topic.","x-example":100,"format":"int32"},"smsTotal":{"type":"integer","description":"Total count of SMS subscribers subscribed to the topic.","x-example":100,"format":"int32"},"pushTotal":{"type":"integer","description":"Total count of push subscribers subscribed to the topic.","x-example":100,"format":"int32"},"subscribe":{"type":"array","description":"Subscribe permissions.","items":{"type":"string"},"x-example":"users"}},"required":["$id","$createdAt","$updatedAt","name","emailTotal","smsTotal","pushTotal","subscribe"]},"subscriber":{"description":"Subscriber","type":"object","properties":{"$id":{"type":"string","description":"Subscriber ID.","x-example":"259125845563242502"},"$createdAt":{"type":"string","description":"Subscriber creation time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Subscriber update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"targetId":{"type":"string","description":"Target ID.","x-example":"259125845563242502"},"target":{"type":"object","description":"Target.","x-example":{"$id":"259125845563242502","$createdAt":"2020-10-15T06:38:00.000+00:00","$updatedAt":"2020-10-15T06:38:00.000+00:00","providerType":"email","providerId":"259125845563242502","name":"ageon-app-email","identifier":"random-mail@email.org","userId":"5e5ea5c16897e"},"items":{"$ref":"#\/components\/schemas\/target"}},"userId":{"type":"string","description":"Topic ID.","x-example":"5e5ea5c16897e"},"userName":{"type":"string","description":"User Name.","x-example":"Aegon Targaryen"},"topicId":{"type":"string","description":"Topic ID.","x-example":"259125845563242502"},"providerType":{"type":"string","description":"The target provider type. Can be one of the following: `email`, `sms` or `push`.","x-example":"email"}},"required":["$id","$createdAt","$updatedAt","targetId","target","userId","userName","topicId","providerType"]},"target":{"description":"Target","type":"object","properties":{"$id":{"type":"string","description":"Target ID.","x-example":"259125845563242502"},"$createdAt":{"type":"string","description":"Target creation time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Target update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"Target Name.","x-example":"Aegon apple token"},"userId":{"type":"string","description":"User ID.","x-example":"259125845563242502"},"providerId":{"type":"string","description":"Provider ID.","x-example":"259125845563242502","nullable":true},"providerType":{"type":"string","description":"The target provider type. Can be one of the following: `email`, `sms` or `push`.","x-example":"email"},"identifier":{"type":"string","description":"The target identifier.","x-example":"token"}},"required":["$id","$createdAt","$updatedAt","name","userId","providerType","identifier"]}},"securitySchemes":{"Project":{"type":"apiKey","name":"X-Appwrite-Project","description":"Your project ID","in":"header","x-appwrite":{"demo":"<YOUR_PROJECT_ID>"}},"Key":{"type":"apiKey","name":"X-Appwrite-Key","description":"Your secret API key","in":"header","x-appwrite":{"demo":"<YOUR_API_KEY>"}},"JWT":{"type":"apiKey","name":"X-Appwrite-JWT","description":"Your secret JSON Web Token","in":"header"},"Locale":{"type":"apiKey","name":"X-Appwrite-Locale","description":"","in":"header","x-appwrite":{"demo":"en"}},"Session":{"type":"apiKey","name":"X-Appwrite-Session","description":"The user session to authenticate with","in":"header"},"ForwardedUserAgent":{"type":"apiKey","name":"X-Forwarded-User-Agent","description":"The user agent string of the client that made the request","in":"header"}}},"externalDocs":{"description":"Full API docs, specs and tutorials","url":"https:\/\/appwrite.io\/docs"}} \ No newline at end of file +{ + "openapi": "3.0.0", + "info": { + "version": "1.6.2", + "title": "Appwrite", + "description": "Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https:\/\/appwrite.io\/docs](https:\/\/appwrite.io\/docs)", + "termsOfService": "https:\/\/appwrite.io\/policy\/terms", + "contact": { + "name": "Appwrite Team", + "url": "https:\/\/appwrite.io\/support", + "email": "team@appwrite.io" + }, + "license": { + "name": "BSD-3-Clause", + "url": "https:\/\/raw.githubusercontent.com\/appwrite\/appwrite\/master\/LICENSE" + } + }, + "servers": [ + { + "url": "https:\/\/<REGION>.cloud.appwrite.io\/v1" + } + ], + "paths": { + "\/account": { + "get": { + "summary": "Get account", + "operationId": "accountGet", + "tags": [ + "account" + ], + "description": "Get the currently logged in user.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "get", + "group": "account", + "weight": 9, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + }, + "post": { + "summary": "Create account", + "operationId": "accountCreate", + "tags": [ + "account" + ], + "description": "Use this endpoint to allow a new user to register a new account in your project. After the user registration completes successfully, you can use the [\/account\/verfication](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createVerification) route to start verifying the user email address. To allow the new user to login to their new account, you need to create a new [account session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createEmailSession).", + "responses": { + "201": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "create", + "group": "account", + "weight": 8, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "New user password. Must be between 8 and 256 chars.", + "x-example": null + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "x-example": "<NAME>" + } + }, + "required": [ + "userId", + "email", + "password" + ] + } + } + } + } + } + }, + "\/account\/email": { + "patch": { + "summary": "Update email", + "operationId": "accountUpdateEmail", + "tags": [ + "account" + ], + "description": "Update currently logged in user account email address. After changing user address, the user confirmation status will get reset. A new confirmation email is not sent automatically however you can use the send confirmation email endpoint again to send the confirmation email. For security measures, user password is required to complete this request.\nThis endpoint can also be used to convert an anonymous account to a normal one, by passing an email address and a new password.\n", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updateEmail", + "group": "account", + "weight": 34, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-email.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password. Must be at least 8 chars.", + "x-example": "password" + } + }, + "required": [ + "email", + "password" + ] + } + } + } + } + } + }, + "\/account\/identities": { + "get": { + "summary": "List identities", + "operationId": "accountListIdentities", + "tags": [ + "account" + ], + "description": "Get the list of identities for the currently logged in user.", + "responses": { + "200": { + "description": "Identities List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/identityList" + } + } + } + } + }, + "x-appwrite": { + "method": "listIdentities", + "group": "identities", + "weight": 57, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/list-identities.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-identities.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, provider, providerUid, providerEmail, providerAccessTokenExpiry", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + } + }, + "\/account\/identities\/{identityId}": { + "delete": { + "summary": "Delete identity", + "operationId": "accountDeleteIdentity", + "tags": [ + "account" + ], + "description": "Delete an identity by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteIdentity", + "group": "identities", + "weight": 58, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/delete-identity.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-identity.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "identityId", + "description": "Identity ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<IDENTITY_ID>" + }, + "in": "path" + } + ] + } + }, + "\/account\/jwts": { + "post": { + "summary": "Create JWT", + "operationId": "accountCreateJWT", + "tags": [ + "account" + ], + "description": "Use this endpoint to create a JSON Web Token. You can use the resulting JWT to authenticate on behalf of the current user when working with the Appwrite server-side API and SDKs. The JWT secret is valid for 15 minutes from its creation and will be invalid if the user will logout in that time frame.", + "responses": { + "201": { + "description": "JWT", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/jwt" + } + } + } + } + }, + "x-appwrite": { + "method": "createJWT", + "group": "tokens", + "weight": 29, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-j-w-t.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md", + "rate-limit": 100, + "rate-time": 3600, + "rate-key": "url:{url},userId:{userId}", + "scope": "account", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ] + } + }, + "\/account\/logs": { + "get": { + "summary": "List logs", + "operationId": "accountListLogs", + "tags": [ + "account" + ], + "description": "Get the list of latest security activity logs for the currently logged in user. Each log returns user IP address, location and date and time of log.", + "responses": { + "200": { + "description": "Logs List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/logList" + } + } + } + } + }, + "x-appwrite": { + "method": "listLogs", + "group": "logs", + "weight": 31, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/list-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + } + }, + "\/account\/mfa": { + "patch": { + "summary": "Update MFA", + "operationId": "accountUpdateMFA", + "tags": [ + "account" + ], + "description": "Enable or disable MFA on an account.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updateMFA", + "group": "mfa", + "weight": 44, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-m-f-a.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "mfa": { + "type": "boolean", + "description": "Enable or disable MFA.", + "x-example": false + } + }, + "required": [ + "mfa" + ] + } + } + } + } + } + }, + "\/account\/mfa\/authenticators\/{type}": { + "post": { + "summary": "Create authenticator", + "operationId": "accountCreateMfaAuthenticator", + "tags": [ + "account" + ], + "description": "Add an authenticator app to be used as an MFA factor. Verify the authenticator using the [verify authenticator](\/docs\/references\/cloud\/client-web\/account#updateMfaAuthenticator) method.", + "responses": { + "200": { + "description": "MFAType", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/mfaType" + } + } + } + } + }, + "x-appwrite": { + "method": "createMfaAuthenticator", + "group": "mfa", + "weight": 46, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-mfa-authenticator.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-authenticator.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "type", + "description": "Type of authenticator. Must be `totp`", + "required": true, + "schema": { + "type": "string", + "x-example": "totp", + "enum": [ + "totp" + ], + "x-enum-name": "AuthenticatorType", + "x-enum-keys": [] + }, + "in": "path" + } + ] + }, + "put": { + "summary": "Update authenticator (confirmation)", + "operationId": "accountUpdateMfaAuthenticator", + "tags": [ + "account" + ], + "description": "Verify an authenticator app after adding it using the [add authenticator](\/docs\/references\/cloud\/client-web\/account#createMfaAuthenticator) method.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updateMfaAuthenticator", + "group": "mfa", + "weight": 47, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-mfa-authenticator.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-authenticator.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "type", + "description": "Type of authenticator.", + "required": true, + "schema": { + "type": "string", + "x-example": "totp", + "enum": [ + "totp" + ], + "x-enum-name": "AuthenticatorType", + "x-enum-keys": [] + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "otp": { + "type": "string", + "description": "Valid verification token.", + "x-example": "<OTP>" + } + }, + "required": [ + "otp" + ] + } + } + } + } + }, + "delete": { + "summary": "Delete authenticator", + "operationId": "accountDeleteMfaAuthenticator", + "tags": [ + "account" + ], + "description": "Delete an authenticator for a user by ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteMfaAuthenticator", + "group": "mfa", + "weight": 51, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/delete-mfa-authenticator.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-mfa-authenticator.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "type", + "description": "Type of authenticator.", + "required": true, + "schema": { + "type": "string", + "x-example": "totp", + "enum": [ + "totp" + ], + "x-enum-name": "AuthenticatorType", + "x-enum-keys": [] + }, + "in": "path" + } + ] + } + }, + "\/account\/mfa\/challenge": { + "post": { + "summary": "Create MFA challenge", + "operationId": "accountCreateMfaChallenge", + "tags": [ + "account" + ], + "description": "Begin the process of MFA verification after sign-in. Finish the flow with [updateMfaChallenge](\/docs\/references\/cloud\/client-web\/account#updateMfaChallenge) method.", + "responses": { + "201": { + "description": "MFA Challenge", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/mfaChallenge" + } + } + } + } + }, + "x-appwrite": { + "method": "createMfaChallenge", + "group": "mfa", + "weight": 52, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-mfa-challenge.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},userId:{userId}", + "scope": "account", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "factor": { + "type": "string", + "description": "Factor used for verification. Must be one of following: `email`, `phone`, `totp`, `recoveryCode`.", + "x-example": "email", + "enum": [ + "email", + "phone", + "totp", + "recoverycode" + ], + "x-enum-name": "AuthenticationFactor", + "x-enum-keys": [] + } + }, + "required": [ + "factor" + ] + } + } + } + } + }, + "put": { + "summary": "Update MFA challenge (confirmation)", + "operationId": "accountUpdateMfaChallenge", + "tags": [ + "account" + ], + "description": "Complete the MFA challenge by providing the one-time password. Finish the process of MFA verification by providing the one-time password. To begin the flow, use [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method.", + "responses": { + "200": { + "description": "Session", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/session" + } + } + } + } + }, + "x-appwrite": { + "method": "updateMfaChallenge", + "group": "mfa", + "weight": 53, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-mfa-challenge.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},challengeId:{param-challengeId}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "challengeId": { + "type": "string", + "description": "ID of the challenge.", + "x-example": "<CHALLENGE_ID>" + }, + "otp": { + "type": "string", + "description": "Valid verification token.", + "x-example": "<OTP>" + } + }, + "required": [ + "challengeId", + "otp" + ] + } + } + } + } + } + }, + "\/account\/mfa\/factors": { + "get": { + "summary": "List factors", + "operationId": "accountListMfaFactors", + "tags": [ + "account" + ], + "description": "List the factors available on the account to be used as a MFA challange.", + "responses": { + "200": { + "description": "MFAFactors", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/mfaFactors" + } + } + } + } + }, + "x-appwrite": { + "method": "listMfaFactors", + "group": "mfa", + "weight": 45, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/list-mfa-factors.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-mfa-factors.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/account\/mfa\/recovery-codes": { + "get": { + "summary": "List MFA recovery codes", + "operationId": "accountGetMfaRecoveryCodes", + "tags": [ + "account" + ], + "description": "Get recovery codes that can be used as backup for MFA flow. Before getting codes, they must be generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method. An OTP challenge is required to read recovery codes.", + "responses": { + "200": { + "description": "MFA Recovery Codes", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/mfaRecoveryCodes" + } + } + } + } + }, + "x-appwrite": { + "method": "getMfaRecoveryCodes", + "group": "mfa", + "weight": 50, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/get-mfa-recovery-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-mfa-recovery-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + }, + "post": { + "summary": "Create MFA recovery codes", + "operationId": "accountCreateMfaRecoveryCodes", + "tags": [ + "account" + ], + "description": "Generate recovery codes as backup for MFA flow. It's recommended to generate and show then immediately after user successfully adds their authehticator. Recovery codes can be used as a MFA verification type in [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method.", + "responses": { + "201": { + "description": "MFA Recovery Codes", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/mfaRecoveryCodes" + } + } + } + } + }, + "x-appwrite": { + "method": "createMfaRecoveryCodes", + "group": "mfa", + "weight": 48, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-mfa-recovery-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-recovery-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + }, + "patch": { + "summary": "Update MFA recovery codes (regenerate)", + "operationId": "accountUpdateMfaRecoveryCodes", + "tags": [ + "account" + ], + "description": "Regenerate recovery codes that can be used as backup for MFA flow. Before regenerating codes, they must be first generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method. An OTP challenge is required to regenreate recovery codes.", + "responses": { + "200": { + "description": "MFA Recovery Codes", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/mfaRecoveryCodes" + } + } + } + } + }, + "x-appwrite": { + "method": "updateMfaRecoveryCodes", + "group": "mfa", + "weight": 49, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-mfa-recovery-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-recovery-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/account\/name": { + "patch": { + "summary": "Update name", + "operationId": "accountUpdateName", + "tags": [ + "account" + ], + "description": "Update currently logged in user account name.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updateName", + "group": "account", + "weight": 32, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-name.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-name.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "x-example": "<NAME>" + } + }, + "required": [ + "name" + ] + } + } + } + } + } + }, + "\/account\/password": { + "patch": { + "summary": "Update password", + "operationId": "accountUpdatePassword", + "tags": [ + "account" + ], + "description": "Update currently logged in user password. For validation, user is required to pass in the new password, and the old password. For users created with OAuth, Team Invites and Magic URL, oldPassword is optional.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updatePassword", + "group": "account", + "weight": 33, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-password.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-password.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "password": { + "type": "string", + "description": "New user password. Must be at least 8 chars.", + "x-example": null + }, + "oldPassword": { + "type": "string", + "description": "Current user password. Must be at least 8 chars.", + "x-example": "password" + } + }, + "required": [ + "password" + ] + } + } + } + } + } + }, + "\/account\/phone": { + "patch": { + "summary": "Update phone", + "operationId": "accountUpdatePhone", + "tags": [ + "account" + ], + "description": "Update the currently logged in user's phone number. After updating the phone number, the phone verification status will be reset. A confirmation SMS is not sent automatically, however you can use the [POST \/account\/verification\/phone](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createPhoneVerification) endpoint to send a confirmation SMS.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updatePhone", + "group": "account", + "weight": 35, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-phone.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "phone": { + "type": "string", + "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "x-example": "+12065550100" + }, + "password": { + "type": "string", + "description": "User password. Must be at least 8 chars.", + "x-example": "password" + } + }, + "required": [ + "phone", + "password" + ] + } + } + } + } + } + }, + "\/account\/prefs": { + "get": { + "summary": "Get account preferences", + "operationId": "accountGetPrefs", + "tags": [ + "account" + ], + "description": "Get the preferences as a key-value object for the currently logged in user.", + "responses": { + "200": { + "description": "Preferences", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/preferences" + } + } + } + } + }, + "x-appwrite": { + "method": "getPrefs", + "group": "account", + "weight": 30, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/get-prefs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-prefs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + }, + "patch": { + "summary": "Update preferences", + "operationId": "accountUpdatePrefs", + "tags": [ + "account" + ], + "description": "Update currently logged in user account preferences. The object you pass is stored as is, and replaces any previous value. The maximum allowed prefs size is 64kB and throws error if exceeded.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updatePrefs", + "group": "account", + "weight": 36, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-prefs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-prefs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "prefs": { + "type": "object", + "description": "Prefs key-value JSON object.", + "x-example": "{}" + } + }, + "required": [ + "prefs" + ] + } + } + } + } + } + }, + "\/account\/recovery": { + "post": { + "summary": "Create password recovery", + "operationId": "accountCreateRecovery", + "tags": [ + "account" + ], + "description": "Sends the user an email with a temporary secret key for password reset. When the user clicks the confirmation link he is redirected back to your app password reset URL with the secret key and email address values attached to the URL query string. Use the query string params to submit a request to the [PUT \/account\/recovery](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateRecovery) endpoint to complete the process. The verification link sent to the user's email address is valid for 1 hour.", + "responses": { + "201": { + "description": "Token", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/token" + } + } + } + } + }, + "x-appwrite": { + "method": "createRecovery", + "group": "recovery", + "weight": 38, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-recovery.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-recovery.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": [ + "url:{url},email:{param-email}", + "url:{url},ip:{ip}" + ], + "scope": "sessions.write", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "url": { + "type": "string", + "description": "URL to redirect the user back to your app from the recovery email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "x-example": "https:\/\/example.com" + } + }, + "required": [ + "email", + "url" + ] + } + } + } + } + }, + "put": { + "summary": "Update password recovery (confirmation)", + "operationId": "accountUpdateRecovery", + "tags": [ + "account" + ], + "description": "Use this endpoint to complete the user account password reset. Both the **userId** and **secret** arguments will be passed as query parameters to the redirect URL you have provided when sending your request to the [POST \/account\/recovery](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createRecovery) endpoint.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md) the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.", + "responses": { + "200": { + "description": "Token", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/token" + } + } + } + } + }, + "x-appwrite": { + "method": "updateRecovery", + "group": "recovery", + "weight": 39, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-recovery.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-recovery.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},userId:{param-userId}", + "scope": "sessions.write", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Valid reset token.", + "x-example": "<SECRET>" + }, + "password": { + "type": "string", + "description": "New user password. Must be between 8 and 256 chars.", + "x-example": null + } + }, + "required": [ + "userId", + "secret", + "password" + ] + } + } + } + } + } + }, + "\/account\/sessions": { + "get": { + "summary": "List sessions", + "operationId": "accountListSessions", + "tags": [ + "account" + ], + "description": "Get the list of active sessions across different devices for the currently logged in user.", + "responses": { + "200": { + "description": "Sessions List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/sessionList" + } + } + } + } + }, + "x-appwrite": { + "method": "listSessions", + "group": "sessions", + "weight": 11, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/list-sessions.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-sessions.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + }, + "delete": { + "summary": "Delete sessions", + "operationId": "accountDeleteSessions", + "tags": [ + "account" + ], + "description": "Delete all sessions from the user account and remove any sessions cookies from the end client.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteSessions", + "group": "sessions", + "weight": 12, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/delete-sessions.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-sessions.md", + "rate-limit": 100, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/account\/sessions\/anonymous": { + "post": { + "summary": "Create anonymous session", + "operationId": "accountCreateAnonymousSession", + "tags": [ + "account" + ], + "description": "Use this endpoint to allow a new user to register an anonymous account in your project. This route will also create a new session for the user. To allow the new user to convert an anonymous account to a normal account, you need to update its [email and password](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateEmail) or create an [OAuth2 session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#CreateOAuth2Session).", + "responses": { + "201": { + "description": "Session", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/session" + } + } + } + } + }, + "x-appwrite": { + "method": "createAnonymousSession", + "group": "sessions", + "weight": 17, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-anonymous-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-anonymous.md", + "rate-limit": 50, + "rate-time": 3600, + "rate-key": "ip:{ip}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ] + } + }, + "\/account\/sessions\/email": { + "post": { + "summary": "Create email password session", + "operationId": "accountCreateEmailPasswordSession", + "tags": [ + "account" + ], + "description": "Allow the user to login into their account by providing a valid email and password combination. This route will create a new session for the user.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).", + "responses": { + "201": { + "description": "Session", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/session" + } + } + } + } + }, + "x-appwrite": { + "method": "createEmailPasswordSession", + "group": "sessions", + "weight": 16, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-email-password-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-email-password.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},email:{param-email}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password. Must be at least 8 chars.", + "x-example": "password" + } + }, + "required": [ + "email", + "password" + ] + } + } + } + } + } + }, + "\/account\/sessions\/magic-url": { + "put": { + "summary": "Update magic URL session", + "operationId": "accountUpdateMagicURLSession", + "tags": [ + "account" + ], + "description": "Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.", + "responses": { + "201": { + "description": "Session", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/session" + } + } + } + } + }, + "x-appwrite": { + "method": "updateMagicURLSession", + "group": "sessions", + "weight": 26, + "cookies": false, + "type": "", + "deprecated": true, + "demo": "account\/update-magic-u-r-l-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "ip:{ip},userId:{param-userId}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Valid verification token.", + "x-example": "<SECRET>" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + } + } + } + }, + "\/account\/sessions\/phone": { + "put": { + "summary": "Update phone session", + "operationId": "accountUpdatePhoneSession", + "tags": [ + "account" + ], + "description": "Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.", + "responses": { + "201": { + "description": "Session", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/session" + } + } + } + } + }, + "x-appwrite": { + "method": "updatePhoneSession", + "group": "sessions", + "weight": 27, + "cookies": false, + "type": "", + "deprecated": true, + "demo": "account\/update-phone-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "ip:{ip},userId:{param-userId}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Valid verification token.", + "x-example": "<SECRET>" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + } + } + } + }, + "\/account\/sessions\/token": { + "post": { + "summary": "Create session", + "operationId": "accountCreateSession", + "tags": [ + "account" + ], + "description": "Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.", + "responses": { + "201": { + "description": "Session", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/session" + } + } + } + } + }, + "x-appwrite": { + "method": "createSession", + "group": "sessions", + "weight": 18, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "ip:{ip},userId:{param-userId}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Secret of a token generated by login methods. For example, the `createMagicURLToken` or `createPhoneToken` methods.", + "x-example": "<SECRET>" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + } + } + } + }, + "\/account\/sessions\/{sessionId}": { + "get": { + "summary": "Get session", + "operationId": "accountGetSession", + "tags": [ + "account" + ], + "description": "Use this endpoint to get a logged in user's session using a Session ID. Inputting 'current' will return the current session being used.", + "responses": { + "200": { + "description": "Session", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/session" + } + } + } + } + }, + "x-appwrite": { + "method": "getSession", + "group": "sessions", + "weight": 13, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/get-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-session.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "sessionId", + "description": "Session ID. Use the string 'current' to get the current device session.", + "required": true, + "schema": { + "type": "string", + "x-example": "<SESSION_ID>" + }, + "in": "path" + } + ] + }, + "patch": { + "summary": "Update session", + "operationId": "accountUpdateSession", + "tags": [ + "account" + ], + "description": "Use this endpoint to extend a session's length. Extending a session is useful when session expiry is short. If the session was created using an OAuth provider, this endpoint refreshes the access token from the provider.", + "responses": { + "200": { + "description": "Session", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/session" + } + } + } + } + }, + "x-appwrite": { + "method": "updateSession", + "group": "sessions", + "weight": 15, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-session.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "sessionId", + "description": "Session ID. Use the string 'current' to update the current device session.", + "required": true, + "schema": { + "type": "string", + "x-example": "<SESSION_ID>" + }, + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete session", + "operationId": "accountDeleteSession", + "tags": [ + "account" + ], + "description": "Logout the user. Use 'current' as the session ID to logout on this device, use a session ID to logout on another device. If you're looking to logout the user on all devices, use [Delete Sessions](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#deleteSessions) instead.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteSession", + "group": "sessions", + "weight": 14, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/delete-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-session.md", + "rate-limit": 100, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "sessionId", + "description": "Session ID. Use the string 'current' to delete the current device session.", + "required": true, + "schema": { + "type": "string", + "x-example": "<SESSION_ID>" + }, + "in": "path" + } + ] + } + }, + "\/account\/status": { + "patch": { + "summary": "Update status", + "operationId": "accountUpdateStatus", + "tags": [ + "account" + ], + "description": "Block the currently logged in user account. Behind the scene, the user record is not deleted but permanently blocked from any access. To completely delete a user, use the Users API instead.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updateStatus", + "group": "account", + "weight": 37, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-status.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-status.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/account\/tokens\/email": { + "post": { + "summary": "Create email token (OTP)", + "operationId": "accountCreateEmailToken", + "tags": [ + "account" + ], + "description": "Sends the user an email with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's email is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).", + "responses": { + "201": { + "description": "Token", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/token" + } + } + } + } + }, + "x-appwrite": { + "method": "createEmailToken", + "group": "tokens", + "weight": 25, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-email-token.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-email.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},email:{param-email}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "phrase": { + "type": "boolean", + "description": "Toggle for security phrase. If enabled, email will be send with a randomly generated phrase and the phrase will also be included in the response. Confirming phrases match increases the security of your authentication flow.", + "x-example": false + } + }, + "required": [ + "userId", + "email" + ] + } + } + } + } + } + }, + "\/account\/tokens\/magic-url": { + "post": { + "summary": "Create magic URL token", + "operationId": "accountCreateMagicURLToken", + "tags": [ + "account" + ], + "description": "Sends the user an email with a secret key for creating a session. If the provided user ID has not been registered, a new user will be created. When the user clicks the link in the email, the user is redirected back to the URL you provided with the secret key and userId values attached to the URL query string. Use the query string parameters to submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The link sent to the user's email address is valid for 1 hour.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).\n", + "responses": { + "201": { + "description": "Token", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/token" + } + } + } + } + }, + "x-appwrite": { + "method": "createMagicURLToken", + "group": "tokens", + "weight": 24, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-magic-u-r-l-token.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-magic-url.md", + "rate-limit": 60, + "rate-time": 3600, + "rate-key": [ + "url:{url},email:{param-email}", + "url:{url},ip:{ip}" + ], + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "url": { + "type": "string", + "description": "URL to redirect the user back to your app from the magic URL login. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "x-example": "https:\/\/example.com" + }, + "phrase": { + "type": "boolean", + "description": "Toggle for security phrase. If enabled, email will be send with a randomly generated phrase and the phrase will also be included in the response. Confirming phrases match increases the security of your authentication flow.", + "x-example": false + } + }, + "required": [ + "userId", + "email" + ] + } + } + } + } + } + }, + "\/account\/tokens\/oauth2\/{provider}": { + "get": { + "summary": "Create OAuth2 token", + "operationId": "accountCreateOAuth2Token", + "tags": [ + "account" + ], + "description": "Allow the user to login to their account using the OAuth2 provider of their choice. Each OAuth2 provider should be enabled from the Appwrite console first. Use the success and failure arguments to provide a redirect URL's back to your app when login is completed. \n\nIf authentication succeeds, `userId` and `secret` of a token will be appended to the success URL as query parameters. These can be used to create a new session using the [Create session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).", + "responses": { + "301": { + "description": "File" + } + }, + "x-appwrite": { + "method": "createOAuth2Token", + "group": "tokens", + "weight": 23, + "cookies": false, + "type": "webAuth", + "deprecated": false, + "demo": "account\/create-o-auth2token.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-oauth2.md", + "rate-limit": 50, + "rate-time": 3600, + "rate-key": "ip:{ip}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "provider", + "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", + "required": true, + "schema": { + "type": "string", + "x-example": "amazon", + "enum": [ + "amazon", + "apple", + "auth0", + "authentik", + "autodesk", + "bitbucket", + "bitly", + "box", + "dailymotion", + "discord", + "disqus", + "dropbox", + "etsy", + "facebook", + "figma", + "github", + "gitlab", + "google", + "linkedin", + "microsoft", + "notion", + "oidc", + "okta", + "paypal", + "paypalSandbox", + "podio", + "salesforce", + "slack", + "spotify", + "stripe", + "tradeshift", + "tradeshiftBox", + "twitch", + "wordpress", + "yahoo", + "yammer", + "yandex", + "zoho", + "zoom", + "mock" + ], + "x-enum-name": "OAuthProvider", + "x-enum-keys": [] + }, + "in": "path" + }, + { + "name": "success", + "description": "URL to redirect back to your app after a successful login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "required": false, + "schema": { + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com", + "default": "" + }, + "in": "query" + }, + { + "name": "failure", + "description": "URL to redirect back to your app after a failed login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "required": false, + "schema": { + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com", + "default": "" + }, + "in": "query" + }, + { + "name": "scopes", + "description": "A list of custom OAuth2 scopes. Check each provider internal docs for a list of supported scopes. Maximum of 100 scopes are allowed, each 4096 characters long.", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + } + }, + "\/account\/tokens\/phone": { + "post": { + "summary": "Create phone token", + "operationId": "accountCreatePhoneToken", + "tags": [ + "account" + ], + "description": "Sends the user an SMS with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's phone is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).", + "responses": { + "201": { + "description": "Token", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/token" + } + } + } + } + }, + "x-appwrite": { + "method": "createPhoneToken", + "group": "tokens", + "weight": 28, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-phone-token.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-phone.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": [ + "url:{url},phone:{param-phone}", + "url:{url},ip:{ip}" + ], + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<USER_ID>" + }, + "phone": { + "type": "string", + "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "x-example": "+12065550100" + } + }, + "required": [ + "userId", + "phone" + ] + } + } + } + } + } + }, + "\/account\/verification": { + "post": { + "summary": "Create email verification", + "operationId": "accountCreateVerification", + "tags": [ + "account" + ], + "description": "Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n", + "responses": { + "201": { + "description": "Token", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/token" + } + } + } + } + }, + "x-appwrite": { + "method": "createVerification", + "group": "verification", + "weight": 40, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},userId:{userId}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "url": { + "type": "string", + "description": "URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "x-example": "https:\/\/example.com" + } + }, + "required": [ + "url" + ] + } + } + } + } + }, + "put": { + "summary": "Update email verification (confirmation)", + "operationId": "accountUpdateVerification", + "tags": [ + "account" + ], + "description": "Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.", + "responses": { + "200": { + "description": "Token", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/token" + } + } + } + } + }, + "x-appwrite": { + "method": "updateVerification", + "group": "verification", + "weight": 41, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},userId:{param-userId}", + "scope": "public", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Valid verification token.", + "x-example": "<SECRET>" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + } + } + } + }, + "\/account\/verification\/phone": { + "post": { + "summary": "Create phone verification", + "operationId": "accountCreatePhoneVerification", + "tags": [ + "account" + ], + "description": "Use this endpoint to send a verification SMS to the currently logged in user. This endpoint is meant for use after updating a user's phone number using the [accountUpdatePhone](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updatePhone) endpoint. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updatePhoneVerification). The verification code sent to the user's phone number is valid for 15 minutes.", + "responses": { + "201": { + "description": "Token", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/token" + } + } + } + } + }, + "x-appwrite": { + "method": "createPhoneVerification", + "group": "verification", + "weight": 42, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-phone-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-phone-verification.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": [ + "url:{url},userId:{userId}", + "url:{url},ip:{ip}" + ], + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + }, + "put": { + "summary": "Update phone verification (confirmation)", + "operationId": "accountUpdatePhoneVerification", + "tags": [ + "account" + ], + "description": "Use this endpoint to complete the user phone verification process. Use the **userId** and **secret** that were sent to your user's phone number to verify the user email ownership. If confirmed this route will return a 200 status code.", + "responses": { + "200": { + "description": "Token", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/token" + } + } + } + } + }, + "x-appwrite": { + "method": "updatePhoneVerification", + "group": "verification", + "weight": 43, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-phone-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone-verification.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "userId:{param-userId}", + "scope": "public", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Valid verification token.", + "x-example": "<SECRET>" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + } + } + } + }, + "\/avatars\/browsers\/{code}": { + "get": { + "summary": "Get browser icon", + "operationId": "avatarsGetBrowser", + "tags": [ + "avatars" + ], + "description": "You can use this endpoint to show different browser icons to your users. The code argument receives the browser code as it appears in your user [GET \/account\/sessions](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#getSessions) endpoint. Use width, height and quality arguments to change the output settings.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.", + "responses": { + "200": { + "description": "Image" + } + }, + "x-appwrite": { + "method": "getBrowser", + "group": null, + "weight": 60, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-browser.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-browser.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "code", + "description": "Browser Code.", + "required": true, + "schema": { + "type": "string", + "x-example": "aa", + "enum": [ + "aa", + "an", + "ch", + "ci", + "cm", + "cr", + "ff", + "sf", + "mf", + "ps", + "oi", + "om", + "op", + "on" + ], + "x-enum-name": "Browser", + "x-enum-keys": [ + "Avant Browser", + "Android WebView Beta", + "Google Chrome", + "Google Chrome (iOS)", + "Google Chrome (Mobile)", + "Chromium", + "Mozilla Firefox", + "Safari", + "Mobile Safari", + "Microsoft Edge", + "Microsoft Edge (iOS)", + "Opera Mini", + "Opera", + "Opera (Next)" + ] + }, + "in": "path" + }, + { + "name": "width", + "description": "Image width. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100 + }, + "in": "query" + }, + { + "name": "height", + "description": "Image height. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100 + }, + "in": "query" + }, + { + "name": "quality", + "description": "Image quality. Pass an integer between 0 to 100. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100 + }, + "in": "query" + } + ] + } + }, + "\/avatars\/credit-cards\/{code}": { + "get": { + "summary": "Get credit card icon", + "operationId": "avatarsGetCreditCard", + "tags": [ + "avatars" + ], + "description": "The credit card endpoint will return you the icon of the credit card provider you need. Use width, height and quality arguments to change the output settings.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n", + "responses": { + "200": { + "description": "Image" + } + }, + "x-appwrite": { + "method": "getCreditCard", + "group": null, + "weight": 59, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-credit-card.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-credit-card.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "code", + "description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, union-china-pay, visa, mir, maestro, rupay.", + "required": true, + "schema": { + "type": "string", + "x-example": "amex", + "enum": [ + "amex", + "argencard", + "cabal", + "cencosud", + "diners", + "discover", + "elo", + "hipercard", + "jcb", + "mastercard", + "naranja", + "targeta-shopping", + "union-china-pay", + "visa", + "mir", + "maestro", + "rupay" + ], + "x-enum-name": "CreditCard", + "x-enum-keys": [ + "American Express", + "Argencard", + "Cabal", + "Cencosud", + "Diners Club", + "Discover", + "Elo", + "Hipercard", + "JCB", + "Mastercard", + "Naranja", + "Tarjeta Shopping", + "Union China Pay", + "Visa", + "MIR", + "Maestro", + "Rupay" + ] + }, + "in": "path" + }, + { + "name": "width", + "description": "Image width. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100 + }, + "in": "query" + }, + { + "name": "height", + "description": "Image height. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100 + }, + "in": "query" + }, + { + "name": "quality", + "description": "Image quality. Pass an integer between 0 to 100. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100 + }, + "in": "query" + } + ] + } + }, + "\/avatars\/favicon": { + "get": { + "summary": "Get favicon", + "operationId": "avatarsGetFavicon", + "tags": [ + "avatars" + ], + "description": "Use this endpoint to fetch the favorite icon (AKA favicon) of any remote website URL.\n\nThis endpoint does not follow HTTP redirects.", + "responses": { + "200": { + "description": "Image" + } + }, + "x-appwrite": { + "method": "getFavicon", + "group": null, + "weight": 63, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-favicon.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-favicon.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "url", + "description": "Website URL which you want to fetch the favicon from.", + "required": true, + "schema": { + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com" + }, + "in": "query" + } + ] + } + }, + "\/avatars\/flags\/{code}": { + "get": { + "summary": "Get country flag", + "operationId": "avatarsGetFlag", + "tags": [ + "avatars" + ], + "description": "You can use this endpoint to show different country flags icons to your users. The code argument receives the 2 letter country code. Use width, height and quality arguments to change the output settings. Country codes follow the [ISO 3166-1](https:\/\/en.wikipedia.org\/wiki\/ISO_3166-1) standard.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n", + "responses": { + "200": { + "description": "Image" + } + }, + "x-appwrite": { + "method": "getFlag", + "group": null, + "weight": 61, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-flag.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-flag.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "code", + "description": "Country Code. ISO Alpha-2 country code format.", + "required": true, + "schema": { + "type": "string", + "x-example": "af", + "enum": [ + "af", + "ao", + "al", + "ad", + "ae", + "ar", + "am", + "ag", + "au", + "at", + "az", + "bi", + "be", + "bj", + "bf", + "bd", + "bg", + "bh", + "bs", + "ba", + "by", + "bz", + "bo", + "br", + "bb", + "bn", + "bt", + "bw", + "cf", + "ca", + "ch", + "cl", + "cn", + "ci", + "cm", + "cd", + "cg", + "co", + "km", + "cv", + "cr", + "cu", + "cy", + "cz", + "de", + "dj", + "dm", + "dk", + "do", + "dz", + "ec", + "eg", + "er", + "es", + "ee", + "et", + "fi", + "fj", + "fr", + "fm", + "ga", + "gb", + "ge", + "gh", + "gn", + "gm", + "gw", + "gq", + "gr", + "gd", + "gt", + "gy", + "hn", + "hr", + "ht", + "hu", + "id", + "in", + "ie", + "ir", + "iq", + "is", + "il", + "it", + "jm", + "jo", + "jp", + "kz", + "ke", + "kg", + "kh", + "ki", + "kn", + "kr", + "kw", + "la", + "lb", + "lr", + "ly", + "lc", + "li", + "lk", + "ls", + "lt", + "lu", + "lv", + "ma", + "mc", + "md", + "mg", + "mv", + "mx", + "mh", + "mk", + "ml", + "mt", + "mm", + "me", + "mn", + "mz", + "mr", + "mu", + "mw", + "my", + "na", + "ne", + "ng", + "ni", + "nl", + "no", + "np", + "nr", + "nz", + "om", + "pk", + "pa", + "pe", + "ph", + "pw", + "pg", + "pl", + "pf", + "kp", + "pt", + "py", + "qa", + "ro", + "ru", + "rw", + "sa", + "sd", + "sn", + "sg", + "sb", + "sl", + "sv", + "sm", + "so", + "rs", + "ss", + "st", + "sr", + "sk", + "si", + "se", + "sz", + "sc", + "sy", + "td", + "tg", + "th", + "tj", + "tm", + "tl", + "to", + "tt", + "tn", + "tr", + "tv", + "tz", + "ug", + "ua", + "uy", + "us", + "uz", + "va", + "vc", + "ve", + "vn", + "vu", + "ws", + "ye", + "za", + "zm", + "zw" + ], + "x-enum-name": "Flag", + "x-enum-keys": [ + "Afghanistan", + "Angola", + "Albania", + "Andorra", + "United Arab Emirates", + "Argentina", + "Armenia", + "Antigua and Barbuda", + "Australia", + "Austria", + "Azerbaijan", + "Burundi", + "Belgium", + "Benin", + "Burkina Faso", + "Bangladesh", + "Bulgaria", + "Bahrain", + "Bahamas", + "Bosnia and Herzegovina", + "Belarus", + "Belize", + "Bolivia", + "Brazil", + "Barbados", + "Brunei Darussalam", + "Bhutan", + "Botswana", + "Central African Republic", + "Canada", + "Switzerland", + "Chile", + "China", + "C\u00f4te d'Ivoire", + "Cameroon", + "Democratic Republic of the Congo", + "Republic of the Congo", + "Colombia", + "Comoros", + "Cape Verde", + "Costa Rica", + "Cuba", + "Cyprus", + "Czech Republic", + "Germany", + "Djibouti", + "Dominica", + "Denmark", + "Dominican Republic", + "Algeria", + "Ecuador", + "Egypt", + "Eritrea", + "Spain", + "Estonia", + "Ethiopia", + "Finland", + "Fiji", + "France", + "Micronesia (Federated States of)", + "Gabon", + "United Kingdom", + "Georgia", + "Ghana", + "Guinea", + "Gambia", + "Guinea-Bissau", + "Equatorial Guinea", + "Greece", + "Grenada", + "Guatemala", + "Guyana", + "Honduras", + "Croatia", + "Haiti", + "Hungary", + "Indonesia", + "India", + "Ireland", + "Iran (Islamic Republic of)", + "Iraq", + "Iceland", + "Israel", + "Italy", + "Jamaica", + "Jordan", + "Japan", + "Kazakhstan", + "Kenya", + "Kyrgyzstan", + "Cambodia", + "Kiribati", + "Saint Kitts and Nevis", + "South Korea", + "Kuwait", + "Lao People's Democratic Republic", + "Lebanon", + "Liberia", + "Libya", + "Saint Lucia", + "Liechtenstein", + "Sri Lanka", + "Lesotho", + "Lithuania", + "Luxembourg", + "Latvia", + "Morocco", + "Monaco", + "Moldova", + "Madagascar", + "Maldives", + "Mexico", + "Marshall Islands", + "North Macedonia", + "Mali", + "Malta", + "Myanmar", + "Montenegro", + "Mongolia", + "Mozambique", + "Mauritania", + "Mauritius", + "Malawi", + "Malaysia", + "Namibia", + "Niger", + "Nigeria", + "Nicaragua", + "Netherlands", + "Norway", + "Nepal", + "Nauru", + "New Zealand", + "Oman", + "Pakistan", + "Panama", + "Peru", + "Philippines", + "Palau", + "Papua New Guinea", + "Poland", + "French Polynesia", + "North Korea", + "Portugal", + "Paraguay", + "Qatar", + "Romania", + "Russia", + "Rwanda", + "Saudi Arabia", + "Sudan", + "Senegal", + "Singapore", + "Solomon Islands", + "Sierra Leone", + "El Salvador", + "San Marino", + "Somalia", + "Serbia", + "South Sudan", + "Sao Tome and Principe", + "Suriname", + "Slovakia", + "Slovenia", + "Sweden", + "Eswatini", + "Seychelles", + "Syria", + "Chad", + "Togo", + "Thailand", + "Tajikistan", + "Turkmenistan", + "Timor-Leste", + "Tonga", + "Trinidad and Tobago", + "Tunisia", + "Turkey", + "Tuvalu", + "Tanzania", + "Uganda", + "Ukraine", + "Uruguay", + "United States", + "Uzbekistan", + "Vatican City", + "Saint Vincent and the Grenadines", + "Venezuela", + "Vietnam", + "Vanuatu", + "Samoa", + "Yemen", + "South Africa", + "Zambia", + "Zimbabwe" + ] + }, + "in": "path" + }, + { + "name": "width", + "description": "Image width. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100 + }, + "in": "query" + }, + { + "name": "height", + "description": "Image height. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100 + }, + "in": "query" + }, + { + "name": "quality", + "description": "Image quality. Pass an integer between 0 to 100. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100 + }, + "in": "query" + } + ] + } + }, + "\/avatars\/image": { + "get": { + "summary": "Get image from URL", + "operationId": "avatarsGetImage", + "tags": [ + "avatars" + ], + "description": "Use this endpoint to fetch a remote image URL and crop it to any image size you want. This endpoint is very useful if you need to crop and display remote images in your app or in case you want to make sure a 3rd party image is properly served using a TLS protocol.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 400x400px.\n\nThis endpoint does not follow HTTP redirects.", + "responses": { + "200": { + "description": "Image" + } + }, + "x-appwrite": { + "method": "getImage", + "group": null, + "weight": 62, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-image.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-image.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "url", + "description": "Image URL which you want to crop.", + "required": true, + "schema": { + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com" + }, + "in": "query" + }, + { + "name": "width", + "description": "Resize preview image width, Pass an integer between 0 to 2000. Defaults to 400.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 400 + }, + "in": "query" + }, + { + "name": "height", + "description": "Resize preview image height, Pass an integer between 0 to 2000. Defaults to 400.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 400 + }, + "in": "query" + } + ] + } + }, + "\/avatars\/initials": { + "get": { + "summary": "Get user initials", + "operationId": "avatarsGetInitials", + "tags": [ + "avatars" + ], + "description": "Use this endpoint to show your user initials avatar icon on your website or app. By default, this route will try to print your logged-in user name or email initials. You can also overwrite the user name if you pass the 'name' parameter. If no name is given and no user is logged, an empty avatar will be returned.\n\nYou can use the color and background params to change the avatar colors. By default, a random theme will be selected. The random theme will persist for the user's initials when reloading the same theme will always return for the same initials.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n", + "responses": { + "200": { + "description": "Image" + } + }, + "x-appwrite": { + "method": "getInitials", + "group": null, + "weight": 65, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-initials.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-initials.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "name", + "description": "Full Name. When empty, current user name or email will be used. Max length: 128 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<NAME>", + "default": "" + }, + "in": "query" + }, + { + "name": "width", + "description": "Image width. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 500 + }, + "in": "query" + }, + { + "name": "height", + "description": "Image height. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 500 + }, + "in": "query" + }, + { + "name": "background", + "description": "Changes background color. By default a random color will be picked and stay will persistent to the given name.", + "required": false, + "schema": { + "type": "string", + "default": "" + }, + "in": "query" + } + ] + } + }, + "\/avatars\/qr": { + "get": { + "summary": "Get QR code", + "operationId": "avatarsGetQR", + "tags": [ + "avatars" + ], + "description": "Converts a given plain text to a QR code image. You can use the query parameters to change the size and style of the resulting image.\n", + "responses": { + "200": { + "description": "Image" + } + }, + "x-appwrite": { + "method": "getQR", + "group": null, + "weight": 64, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-q-r.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-qr.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "text", + "description": "Plain text to be converted to QR code image.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TEXT>" + }, + "in": "query" + }, + { + "name": "size", + "description": "QR code size. Pass an integer between 1 to 1000. Defaults to 400.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 1, + "default": 400 + }, + "in": "query" + }, + { + "name": "margin", + "description": "Margin from edge. Pass an integer between 0 to 10. Defaults to 1.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 1 + }, + "in": "query" + }, + { + "name": "download", + "description": "Return resulting image with 'Content-Disposition: attachment ' headers for the browser to start downloading it. Pass 0 for no header, or 1 for otherwise. Default value is set to 0.", + "required": false, + "schema": { + "type": "boolean", + "x-example": false, + "default": false + }, + "in": "query" + } + ] + } + }, + "\/databases": { + "get": { + "summary": "List databases", + "operationId": "databasesList", + "tags": [ + "databases" + ], + "description": "Get a list of all databases from the current Appwrite project. You can use the search parameter to filter your results.", + "responses": { + "200": { + "description": "Databases List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/databaseList" + } + } + } + } + }, + "x-appwrite": { + "method": "list", + "group": "databases", + "weight": 70, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/list.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "databases.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create database", + "operationId": "databasesCreate", + "tags": [ + "databases" + ], + "description": "Create a new Database.\n", + "responses": { + "201": { + "description": "Database", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/database" + } + } + } + } + }, + "x-appwrite": { + "method": "create", + "group": "databases", + "weight": 69, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "databases.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "databaseId": { + "type": "string", + "description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<DATABASE_ID>" + }, + "name": { + "type": "string", + "description": "Database name. Max length: 128 chars.", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Is the database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.", + "x-example": false + } + }, + "required": [ + "databaseId", + "name" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}": { + "get": { + "summary": "Get database", + "operationId": "databasesGet", + "tags": [ + "databases" + ], + "description": "Get a database by its unique ID. This endpoint response returns a JSON object with the database metadata.", + "responses": { + "200": { + "description": "Database", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/database" + } + } + } + } + }, + "x-appwrite": { + "method": "get", + "group": "databases", + "weight": 71, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "databases.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + } + ] + }, + "put": { + "summary": "Update database", + "operationId": "databasesUpdate", + "tags": [ + "databases" + ], + "description": "Update a database by its unique ID.", + "responses": { + "200": { + "description": "Database", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/database" + } + } + } + } + }, + "x-appwrite": { + "method": "update", + "group": "databases", + "weight": 73, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "databases.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Database name. Max length: 128 chars.", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Is database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.", + "x-example": false + } + }, + "required": [ + "name" + ] + } + } + } + } + }, + "delete": { + "summary": "Delete database", + "operationId": "databasesDelete", + "tags": [ + "databases" + ], + "description": "Delete a database by its unique ID. Only API keys with with databases.write scope can delete a database.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "delete", + "group": "databases", + "weight": 74, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/delete.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "databases.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + } + ] + } + }, + "\/databases\/{databaseId}\/collections": { + "get": { + "summary": "List collections", + "operationId": "databasesListCollections", + "tags": [ + "databases" + ], + "description": "Get a list of all collections that belong to the provided databaseId. You can use the search parameter to filter your results.", + "responses": { + "200": { + "description": "Collections List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/collectionList" + } + } + } + } + }, + "x-appwrite": { + "method": "listCollections", + "group": "collections", + "weight": 76, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/list-collections.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-collections.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, enabled, documentSecurity", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create collection", + "operationId": "databasesCreateCollection", + "tags": [ + "databases" + ], + "description": "Create a new Collection. Before using this route, you should create a new database resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.", + "responses": { + "201": { + "description": "Collection", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/collection" + } + } + } + } + }, + "x-appwrite": { + "method": "createCollection", + "group": "collections", + "weight": 75, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-collection.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-collection.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "collectionId": { + "type": "string", + "description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<COLLECTION_ID>" + }, + "name": { + "type": "string", + "description": "Collection name. Max length: 128 chars.", + "x-example": "<NAME>" + }, + "permissions": { + "type": "array", + "description": "An array of permissions strings. By default, no user is granted with any permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + }, + "documentSecurity": { + "type": "boolean", + "description": "Enables configuring permissions for individual documents. A user needs one of document or collection level permissions to access a document. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": false + }, + "enabled": { + "type": "boolean", + "description": "Is collection enabled? When set to 'disabled', users cannot access the collection but Server SDKs with and API key can still read and write to the collection. No data is lost when this is toggled.", + "x-example": false + } + }, + "required": [ + "collectionId", + "name" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}": { + "get": { + "summary": "Get collection", + "operationId": "databasesGetCollection", + "tags": [ + "databases" + ], + "description": "Get a collection by its unique ID. This endpoint response returns a JSON object with the collection metadata.", + "responses": { + "200": { + "description": "Collection", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/collection" + } + } + } + } + }, + "x-appwrite": { + "method": "getCollection", + "group": "collections", + "weight": 77, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/get-collection.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + } + ] + }, + "put": { + "summary": "Update collection", + "operationId": "databasesUpdateCollection", + "tags": [ + "databases" + ], + "description": "Update a collection by its unique ID.", + "responses": { + "200": { + "description": "Collection", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/collection" + } + } + } + } + }, + "x-appwrite": { + "method": "updateCollection", + "group": "collections", + "weight": 79, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-collection.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-collection.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Collection name. Max length: 128 chars.", + "x-example": "<NAME>" + }, + "permissions": { + "type": "array", + "description": "An array of permission strings. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + }, + "documentSecurity": { + "type": "boolean", + "description": "Enables configuring permissions for individual documents. A user needs one of document or collection level permissions to access a document. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": false + }, + "enabled": { + "type": "boolean", + "description": "Is collection enabled? When set to 'disabled', users cannot access the collection but Server SDKs with and API key can still read and write to the collection. No data is lost when this is toggled.", + "x-example": false + } + }, + "required": [ + "name" + ] + } + } + } + } + }, + "delete": { + "summary": "Delete collection", + "operationId": "databasesDeleteCollection", + "tags": [ + "databases" + ], + "description": "Delete a collection by its unique ID. Only users with write permissions have access to delete this resource.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteCollection", + "group": "collections", + "weight": 80, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/delete-collection.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-collection.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes": { + "get": { + "summary": "List attributes", + "operationId": "databasesListAttributes", + "tags": [ + "databases" + ], + "description": "List attributes in the collection.", + "responses": { + "200": { + "description": "Attributes List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeList" + } + } + } + } + }, + "x-appwrite": { + "method": "listAttributes", + "group": "attributes", + "weight": 91, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/list-attributes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-attributes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, size, required, array, status, error", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/boolean": { + "post": { + "summary": "Create boolean attribute", + "operationId": "databasesCreateBooleanAttribute", + "tags": [ + "databases" + ], + "description": "Create a boolean attribute.\n", + "responses": { + "202": { + "description": "AttributeBoolean", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeBoolean" + } + } + } + } + }, + "x-appwrite": { + "method": "createBooleanAttribute", + "group": "attributes", + "weight": 88, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-boolean-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-boolean-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": null + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "default": { + "type": "boolean", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": false + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false + } + }, + "required": [ + "key", + "required" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/boolean\/{key}": { + "patch": { + "summary": "Update boolean attribute", + "operationId": "databasesUpdateBooleanAttribute", + "tags": [ + "databases" + ], + "description": "Update a boolean attribute. Changing the `default` value will not update already existing documents.", + "responses": { + "200": { + "description": "AttributeBoolean", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeBoolean" + } + } + } + } + }, + "x-appwrite": { + "method": "updateBooleanAttribute", + "group": "attributes", + "weight": 100, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-boolean-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-boolean-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "schema": { + "type": "string" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "default": { + "type": "boolean", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": false, + "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null + } + }, + "required": [ + "required", + "default" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/datetime": { + "post": { + "summary": "Create datetime attribute", + "operationId": "databasesCreateDatetimeAttribute", + "tags": [ + "databases" + ], + "description": "Create a date time attribute according to the ISO 8601 standard.", + "responses": { + "202": { + "description": "AttributeDatetime", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeDatetime" + } + } + } + } + }, + "x-appwrite": { + "method": "createDatetimeAttribute", + "group": "attributes", + "weight": 89, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-datetime-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-datetime-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": null + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for the attribute in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. Cannot be set when attribute is required.", + "x-example": null + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false + } + }, + "required": [ + "key", + "required" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/datetime\/{key}": { + "patch": { + "summary": "Update dateTime attribute", + "operationId": "databasesUpdateDatetimeAttribute", + "tags": [ + "databases" + ], + "description": "Update a date time attribute. Changing the `default` value will not update already existing documents.", + "responses": { + "200": { + "description": "AttributeDatetime", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeDatetime" + } + } + } + } + }, + "x-appwrite": { + "method": "updateDatetimeAttribute", + "group": "attributes", + "weight": 101, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-datetime-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-datetime-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "schema": { + "type": "string" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": null, + "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null + } + }, + "required": [ + "required", + "default" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/email": { + "post": { + "summary": "Create email attribute", + "operationId": "databasesCreateEmailAttribute", + "tags": [ + "databases" + ], + "description": "Create an email attribute.\n", + "responses": { + "202": { + "description": "AttributeEmail", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeEmail" + } + } + } + } + }, + "x-appwrite": { + "method": "createEmailAttribute", + "group": "attributes", + "weight": 82, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-email-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-email-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": null + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "email@example.com" + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false + } + }, + "required": [ + "key", + "required" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/email\/{key}": { + "patch": { + "summary": "Update email attribute", + "operationId": "databasesUpdateEmailAttribute", + "tags": [ + "databases" + ], + "description": "Update an email attribute. Changing the `default` value will not update already existing documents.\n", + "responses": { + "200": { + "description": "AttributeEmail", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeEmail" + } + } + } + } + }, + "x-appwrite": { + "method": "updateEmailAttribute", + "group": "attributes", + "weight": 94, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-email-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-email-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "schema": { + "type": "string" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "email@example.com", + "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null + } + }, + "required": [ + "required", + "default" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/enum": { + "post": { + "summary": "Create enum attribute", + "operationId": "databasesCreateEnumAttribute", + "tags": [ + "databases" + ], + "description": "Create an enumeration attribute. The `elements` param acts as a white-list of accepted values for this attribute. \n", + "responses": { + "202": { + "description": "AttributeEnum", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeEnum" + } + } + } + } + }, + "x-appwrite": { + "method": "createEnumAttribute", + "group": "attributes", + "weight": 83, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-enum-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-attribute-enum.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": null + }, + "elements": { + "type": "array", + "description": "Array of elements in enumerated type. Uses length of longest element to determine size. Maximum of 100 elements are allowed, each 255 characters long.", + "x-example": null, + "items": { + "type": "string" + } + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "<DEFAULT>" + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false + } + }, + "required": [ + "key", + "elements", + "required" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/enum\/{key}": { + "patch": { + "summary": "Update enum attribute", + "operationId": "databasesUpdateEnumAttribute", + "tags": [ + "databases" + ], + "description": "Update an enum attribute. Changing the `default` value will not update already existing documents.\n", + "responses": { + "200": { + "description": "AttributeEnum", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeEnum" + } + } + } + } + }, + "x-appwrite": { + "method": "updateEnumAttribute", + "group": "attributes", + "weight": 95, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-enum-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-enum-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "schema": { + "type": "string" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "elements": { + "type": "array", + "description": "Array of elements in enumerated type. Uses length of longest element to determine size. Maximum of 100 elements are allowed, each 255 characters long.", + "x-example": null, + "items": { + "type": "string" + } + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "<DEFAULT>", + "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null + } + }, + "required": [ + "elements", + "required", + "default" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/float": { + "post": { + "summary": "Create float attribute", + "operationId": "databasesCreateFloatAttribute", + "tags": [ + "databases" + ], + "description": "Create a float attribute. Optionally, minimum and maximum values can be provided.\n", + "responses": { + "202": { + "description": "AttributeFloat", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeFloat" + } + } + } + } + }, + "x-appwrite": { + "method": "createFloatAttribute", + "group": "attributes", + "weight": 87, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-float-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-float-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": null + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "min": { + "type": "number", + "description": "Minimum value to enforce on new documents", + "x-example": null + }, + "max": { + "type": "number", + "description": "Maximum value to enforce on new documents", + "x-example": null + }, + "default": { + "type": "number", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": null + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false + } + }, + "required": [ + "key", + "required" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/float\/{key}": { + "patch": { + "summary": "Update float attribute", + "operationId": "databasesUpdateFloatAttribute", + "tags": [ + "databases" + ], + "description": "Update a float attribute. Changing the `default` value will not update already existing documents.\n", + "responses": { + "200": { + "description": "AttributeFloat", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeFloat" + } + } + } + } + }, + "x-appwrite": { + "method": "updateFloatAttribute", + "group": "attributes", + "weight": 99, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-float-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-float-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "schema": { + "type": "string" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "min": { + "type": "number", + "description": "Minimum value to enforce on new documents", + "x-example": null + }, + "max": { + "type": "number", + "description": "Maximum value to enforce on new documents", + "x-example": null + }, + "default": { + "type": "number", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": null, + "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null + } + }, + "required": [ + "required", + "default" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/integer": { + "post": { + "summary": "Create integer attribute", + "operationId": "databasesCreateIntegerAttribute", + "tags": [ + "databases" + ], + "description": "Create an integer attribute. Optionally, minimum and maximum values can be provided.\n", + "responses": { + "202": { + "description": "AttributeInteger", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeInteger" + } + } + } + } + }, + "x-appwrite": { + "method": "createIntegerAttribute", + "group": "attributes", + "weight": 86, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-integer-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-integer-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": null + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "min": { + "type": "integer", + "description": "Minimum value to enforce on new documents", + "x-example": null + }, + "max": { + "type": "integer", + "description": "Maximum value to enforce on new documents", + "x-example": null + }, + "default": { + "type": "integer", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": null + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false + } + }, + "required": [ + "key", + "required" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/integer\/{key}": { + "patch": { + "summary": "Update integer attribute", + "operationId": "databasesUpdateIntegerAttribute", + "tags": [ + "databases" + ], + "description": "Update an integer attribute. Changing the `default` value will not update already existing documents.\n", + "responses": { + "200": { + "description": "AttributeInteger", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeInteger" + } + } + } + } + }, + "x-appwrite": { + "method": "updateIntegerAttribute", + "group": "attributes", + "weight": 98, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-integer-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-integer-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "schema": { + "type": "string" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "min": { + "type": "integer", + "description": "Minimum value to enforce on new documents", + "x-example": null + }, + "max": { + "type": "integer", + "description": "Maximum value to enforce on new documents", + "x-example": null + }, + "default": { + "type": "integer", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": null, + "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null + } + }, + "required": [ + "required", + "default" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/ip": { + "post": { + "summary": "Create IP address attribute", + "operationId": "databasesCreateIpAttribute", + "tags": [ + "databases" + ], + "description": "Create IP address attribute.\n", + "responses": { + "202": { + "description": "AttributeIP", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeIp" + } + } + } + } + }, + "x-appwrite": { + "method": "createIpAttribute", + "group": "attributes", + "weight": 84, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-ip-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-ip-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": null + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": null + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false + } + }, + "required": [ + "key", + "required" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/ip\/{key}": { + "patch": { + "summary": "Update IP address attribute", + "operationId": "databasesUpdateIpAttribute", + "tags": [ + "databases" + ], + "description": "Update an ip attribute. Changing the `default` value will not update already existing documents.\n", + "responses": { + "200": { + "description": "AttributeIP", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeIp" + } + } + } + } + }, + "x-appwrite": { + "method": "updateIpAttribute", + "group": "attributes", + "weight": 96, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-ip-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-ip-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "schema": { + "type": "string" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": null, + "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null + } + }, + "required": [ + "required", + "default" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/relationship": { + "post": { + "summary": "Create relationship attribute", + "operationId": "databasesCreateRelationshipAttribute", + "tags": [ + "databases" + ], + "description": "Create relationship attribute. [Learn more about relationship attributes](https:\/\/appwrite.io\/docs\/databases-relationships#relationship-attributes).\n", + "responses": { + "202": { + "description": "AttributeRelationship", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeRelationship" + } + } + } + } + }, + "x-appwrite": { + "method": "createRelationshipAttribute", + "group": "attributes", + "weight": 90, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-relationship-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-relationship-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "relatedCollectionId": { + "type": "string", + "description": "Related Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "x-example": "<RELATED_COLLECTION_ID>" + }, + "type": { + "type": "string", + "description": "Relation type", + "x-example": "oneToOne", + "enum": [ + "oneToOne", + "manyToOne", + "manyToMany", + "oneToMany" + ], + "x-enum-name": "RelationshipType", + "x-enum-keys": [] + }, + "twoWay": { + "type": "boolean", + "description": "Is Two Way?", + "x-example": false + }, + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": null + }, + "twoWayKey": { + "type": "string", + "description": "Two Way Attribute Key.", + "x-example": null + }, + "onDelete": { + "type": "string", + "description": "Constraints option", + "x-example": "cascade", + "enum": [ + "cascade", + "restrict", + "setNull" + ], + "x-enum-name": "RelationMutate", + "x-enum-keys": [] + } + }, + "required": [ + "relatedCollectionId", + "type" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/string": { + "post": { + "summary": "Create string attribute", + "operationId": "databasesCreateStringAttribute", + "tags": [ + "databases" + ], + "description": "Create a string attribute.\n", + "responses": { + "202": { + "description": "AttributeString", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeString" + } + } + } + } + }, + "x-appwrite": { + "method": "createStringAttribute", + "group": "attributes", + "weight": 81, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-string-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-string-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": null + }, + "size": { + "type": "integer", + "description": "Attribute size for text attributes, in number of characters.", + "x-example": 1 + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "<DEFAULT>" + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false + }, + "encrypt": { + "type": "boolean", + "description": "Toggle encryption for the attribute. Encryption enhances security by not storing any plain text values in the database. However, encrypted attributes cannot be queried.", + "x-example": false + } + }, + "required": [ + "key", + "size", + "required" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/string\/{key}": { + "patch": { + "summary": "Update string attribute", + "operationId": "databasesUpdateStringAttribute", + "tags": [ + "databases" + ], + "description": "Update a string attribute. Changing the `default` value will not update already existing documents.\n", + "responses": { + "200": { + "description": "AttributeString", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeString" + } + } + } + } + }, + "x-appwrite": { + "method": "updateStringAttribute", + "group": "attributes", + "weight": 93, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-string-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-string-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "schema": { + "type": "string" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "<DEFAULT>", + "x-nullable": true + }, + "size": { + "type": "integer", + "description": "Maximum size of the string attribute.", + "x-example": 1 + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null + } + }, + "required": [ + "required", + "default" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/url": { + "post": { + "summary": "Create URL attribute", + "operationId": "databasesCreateUrlAttribute", + "tags": [ + "databases" + ], + "description": "Create a URL attribute.\n", + "responses": { + "202": { + "description": "AttributeURL", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeUrl" + } + } + } + } + }, + "x-appwrite": { + "method": "createUrlAttribute", + "group": "attributes", + "weight": 85, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-url-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-url-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": null + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "https:\/\/example.com" + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false + } + }, + "required": [ + "key", + "required" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/url\/{key}": { + "patch": { + "summary": "Update URL attribute", + "operationId": "databasesUpdateUrlAttribute", + "tags": [ + "databases" + ], + "description": "Update an url attribute. Changing the `default` value will not update already existing documents.\n", + "responses": { + "200": { + "description": "AttributeURL", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeUrl" + } + } + } + } + }, + "x-appwrite": { + "method": "updateUrlAttribute", + "group": "attributes", + "weight": 97, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-url-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-url-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "schema": { + "type": "string" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "https:\/\/example.com", + "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null + } + }, + "required": [ + "required", + "default" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/{key}": { + "get": { + "summary": "Get attribute", + "operationId": "databasesGetAttribute", + "tags": [ + "databases" + ], + "description": "Get attribute by ID.", + "responses": { + "200": { + "description": "AttributeBoolean, or AttributeInteger, or AttributeFloat, or AttributeEmail, or AttributeEnum, or AttributeURL, or AttributeIP, or AttributeDatetime, or AttributeRelationship, or AttributeString", + "content": { + "application\/json": { + "schema": { + "oneOf": [ + { + "$ref": "#\/components\/schemas\/attributeBoolean" + }, + { + "$ref": "#\/components\/schemas\/attributeInteger" + }, + { + "$ref": "#\/components\/schemas\/attributeFloat" + }, + { + "$ref": "#\/components\/schemas\/attributeEmail" + }, + { + "$ref": "#\/components\/schemas\/attributeEnum" + }, + { + "$ref": "#\/components\/schemas\/attributeUrl" + }, + { + "$ref": "#\/components\/schemas\/attributeIp" + }, + { + "$ref": "#\/components\/schemas\/attributeDatetime" + }, + { + "$ref": "#\/components\/schemas\/attributeRelationship" + }, + { + "$ref": "#\/components\/schemas\/attributeString" + } + ] + } + } + } + } + }, + "x-appwrite": { + "method": "getAttribute", + "group": "attributes", + "weight": 92, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/get-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "schema": { + "type": "string" + }, + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete attribute", + "operationId": "databasesDeleteAttribute", + "tags": [ + "databases" + ], + "description": "Deletes an attribute.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteAttribute", + "group": "attributes", + "weight": 103, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/delete-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "schema": { + "type": "string" + }, + "in": "path" + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/{key}\/relationship": { + "patch": { + "summary": "Update relationship attribute", + "operationId": "databasesUpdateRelationshipAttribute", + "tags": [ + "databases" + ], + "description": "Update relationship attribute. [Learn more about relationship attributes](https:\/\/appwrite.io\/docs\/databases-relationships#relationship-attributes).\n", + "responses": { + "200": { + "description": "AttributeRelationship", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/attributeRelationship" + } + } + } + } + }, + "x-appwrite": { + "method": "updateRelationshipAttribute", + "group": "attributes", + "weight": 102, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-relationship-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-relationship-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "schema": { + "type": "string" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "onDelete": { + "type": "string", + "description": "Constraints option", + "x-example": "cascade", + "enum": [ + "cascade", + "restrict", + "setNull" + ], + "x-enum-name": "RelationMutate", + "x-enum-keys": [] + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "x-example": null + } + } + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/documents": { + "get": { + "summary": "List documents", + "operationId": "databasesListDocuments", + "tags": [ + "databases" + ], + "description": "Get a list of all the user's documents in a given collection. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Documents List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/documentList" + } + } + } + } + }, + "x-appwrite": { + "method": "listDocuments", + "group": "documents", + "weight": 109, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/list-documents.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-documents.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "documents.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create document", + "operationId": "databasesCreateDocument", + "tags": [ + "databases" + ], + "description": "Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.\n", + "responses": { + "201": { + "description": "Document", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/document" + } + } + } + } + }, + "x-appwrite": { + "method": "createDocument", + "group": "documents", + "weight": 108, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-document.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-document.md", + "rate-limit": 120, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", + "scope": "documents.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection). Make sure to define attributes before creating documents.", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "documentId": { + "type": "string", + "description": "Document ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<DOCUMENT_ID>" + }, + "data": { + "type": "object", + "description": "Document data as JSON object.", + "x-example": "{}" + }, + "permissions": { + "type": "array", + "description": "An array of permissions strings. By default, only the current user is granted all permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + } + }, + "required": [ + "documentId", + "data" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}": { + "get": { + "summary": "Get document", + "operationId": "databasesGetDocument", + "tags": [ + "databases" + ], + "description": "Get a document by its unique ID. This endpoint response returns a JSON object with the document data.", + "responses": { + "200": { + "description": "Document", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/document" + } + } + } + } + }, + "x-appwrite": { + "method": "getDocument", + "group": "documents", + "weight": 110, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/get-document.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "documents.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "documentId", + "description": "Document ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DOCUMENT_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + }, + "patch": { + "summary": "Update document", + "operationId": "databasesUpdateDocument", + "tags": [ + "databases" + ], + "description": "Update a document by its unique ID. Using the patch method you can pass only specific fields that will get updated.", + "responses": { + "200": { + "description": "Document", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/document" + } + } + } + } + }, + "x-appwrite": { + "method": "updateDocument", + "group": "documents", + "weight": 112, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-document.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-document.md", + "rate-limit": 120, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", + "scope": "documents.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "documentId", + "description": "Document ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DOCUMENT_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "description": "Document data as JSON object. Include only attribute and value pairs to be updated.", + "x-example": "{}" + }, + "permissions": { + "type": "array", + "description": "An array of permissions strings. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete document", + "operationId": "databasesDeleteDocument", + "tags": [ + "databases" + ], + "description": "Delete a document by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteDocument", + "group": "documents", + "weight": 113, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/delete-document.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-document.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", + "scope": "documents.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "documentId", + "description": "Document ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DOCUMENT_ID>" + }, + "in": "path" + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/indexes": { + "get": { + "summary": "List indexes", + "operationId": "databasesListIndexes", + "tags": [ + "databases" + ], + "description": "List indexes in the collection.", + "responses": { + "200": { + "description": "Indexes List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/indexList" + } + } + } + } + }, + "x-appwrite": { + "method": "listIndexes", + "group": "indexes", + "weight": 105, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/list-indexes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-indexes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, status, attributes, error", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create index", + "operationId": "databasesCreateIndex", + "tags": [ + "databases" + ], + "description": "Creates an index on the attributes listed. Your index should include all the attributes you will query in a single request.\nAttributes can be `key`, `fulltext`, and `unique`.", + "responses": { + "202": { + "description": "Index", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/index" + } + } + } + } + }, + "x-appwrite": { + "method": "createIndex", + "group": "collections", + "weight": 104, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-index.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-index.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Index Key.", + "x-example": null + }, + "type": { + "type": "string", + "description": "Index type.", + "x-example": "key", + "enum": [ + "key", + "fulltext", + "unique" + ], + "x-enum-name": "IndexType", + "x-enum-keys": [] + }, + "attributes": { + "type": "array", + "description": "Array of attributes to index. Maximum of 100 attributes are allowed, each 32 characters long.", + "x-example": null, + "items": { + "type": "string" + } + }, + "orders": { + "type": "array", + "description": "Array of index orders. Maximum of 100 orders are allowed.", + "x-example": null, + "items": { + "type": "string" + } + } + }, + "required": [ + "key", + "type", + "attributes" + ] + } + } + } + } + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/indexes\/{key}": { + "get": { + "summary": "Get index", + "operationId": "databasesGetIndex", + "tags": [ + "databases" + ], + "description": "Get index by ID.", + "responses": { + "200": { + "description": "Index", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/index" + } + } + } + } + }, + "x-appwrite": { + "method": "getIndex", + "group": "indexes", + "weight": 106, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/get-index.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-index.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "key", + "description": "Index Key.", + "required": true, + "schema": { + "type": "string" + }, + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete index", + "operationId": "databasesDeleteIndex", + "tags": [ + "databases" + ], + "description": "Delete an index.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteIndex", + "group": "indexes", + "weight": 107, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/delete-index.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-index.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DATABASE_ID>" + }, + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "schema": { + "type": "string", + "x-example": "<COLLECTION_ID>" + }, + "in": "path" + }, + { + "name": "key", + "description": "Index Key.", + "required": true, + "schema": { + "type": "string" + }, + "in": "path" + } + ] + } + }, + "\/functions": { + "get": { + "summary": "List functions", + "operationId": "functionsList", + "tags": [ + "functions" + ], + "description": "Get a list of all the project's functions. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Functions List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/functionList" + } + } + } + } + }, + "x-appwrite": { + "method": "list", + "group": "functions", + "weight": 288, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/list.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-functions.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, enabled, runtime, deployment, schedule, scheduleNext, schedulePrevious, timeout, entrypoint, commands, installationId", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create function", + "operationId": "functionsCreate", + "tags": [ + "functions" + ], + "description": "Create a new function. You can pass a list of [permissions](https:\/\/appwrite.io\/docs\/permissions) to allow different project users or team with access to execute the function using the client API.", + "responses": { + "201": { + "description": "Function", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/function" + } + } + } + } + }, + "x-appwrite": { + "method": "create", + "group": "functions", + "weight": 287, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/create.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-function.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "functionId": { + "type": "string", + "description": "Function ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<FUNCTION_ID>" + }, + "name": { + "type": "string", + "description": "Function name. Max length: 128 chars.", + "x-example": "<NAME>" + }, + "runtime": { + "type": "string", + "description": "Execution runtime.", + "x-example": "node-14.5", + "enum": [ + "node-14.5", + "node-16.0", + "node-18.0", + "node-19.0", + "node-20.0", + "node-21.0", + "node-22", + "php-8.0", + "php-8.1", + "php-8.2", + "php-8.3", + "ruby-3.0", + "ruby-3.1", + "ruby-3.2", + "ruby-3.3", + "python-3.8", + "python-3.9", + "python-3.10", + "python-3.11", + "python-3.12", + "python-ml-3.11", + "deno-1.21", + "deno-1.24", + "deno-1.35", + "deno-1.40", + "deno-1.46", + "deno-2.0", + "dart-2.15", + "dart-2.16", + "dart-2.17", + "dart-2.18", + "dart-3.0", + "dart-3.1", + "dart-3.3", + "dart-3.5", + "dotnet-6.0", + "dotnet-7.0", + "dotnet-8.0", + "java-8.0", + "java-11.0", + "java-17.0", + "java-18.0", + "java-21.0", + "java-22", + "swift-5.5", + "swift-5.8", + "swift-5.9", + "swift-5.10", + "kotlin-1.6", + "kotlin-1.8", + "kotlin-1.9", + "kotlin-2.0", + "cpp-17", + "cpp-20", + "bun-1.0", + "bun-1.1", + "go-1.23", + "static-1", + "flutter-3.24" + ], + "x-enum-name": null, + "x-enum-keys": [] + }, + "execute": { + "type": "array", + "description": "An array of role strings with execution permissions. By default no user is granted with any execute permissions. [learn more about roles](https:\/\/appwrite.io\/docs\/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.", + "x-example": "[\"any\"]", + "items": { + "type": "string" + } + }, + "events": { + "type": "array", + "description": "Events list. Maximum of 100 events are allowed.", + "x-example": null, + "items": { + "type": "string" + } + }, + "schedule": { + "type": "string", + "description": "Schedule CRON syntax.", + "x-example": null + }, + "timeout": { + "type": "integer", + "description": "Function maximum execution time in seconds.", + "x-example": 1 + }, + "enabled": { + "type": "boolean", + "description": "Is function enabled? When set to 'disabled', users cannot access the function but Server SDKs with and API key can still access the function. No data is lost when this is toggled.", + "x-example": false + }, + "logging": { + "type": "boolean", + "description": "Whether executions will be logged. When set to false, executions will not be logged, but will reduce resource used by your Appwrite project.", + "x-example": false + }, + "entrypoint": { + "type": "string", + "description": "Entrypoint File. This path is relative to the \"providerRootDirectory\".", + "x-example": "<ENTRYPOINT>" + }, + "commands": { + "type": "string", + "description": "Build Commands.", + "x-example": "<COMMANDS>" + }, + "scopes": { + "type": "array", + "description": "List of scopes allowed for API key auto-generated for every execution. Maximum of 100 scopes are allowed.", + "x-example": null, + "items": { + "type": "string" + } + }, + "installationId": { + "type": "string", + "description": "Appwrite Installation ID for VCS (Version Control System) deployment.", + "x-example": "<INSTALLATION_ID>" + }, + "providerRepositoryId": { + "type": "string", + "description": "Repository ID of the repo linked to the function.", + "x-example": "<PROVIDER_REPOSITORY_ID>" + }, + "providerBranch": { + "type": "string", + "description": "Production branch for the repo linked to the function.", + "x-example": "<PROVIDER_BRANCH>" + }, + "providerSilentMode": { + "type": "boolean", + "description": "Is the VCS (Version Control System) connection in silent mode for the repo linked to the function? In silent mode, comments will not be made on commits and pull requests.", + "x-example": false + }, + "providerRootDirectory": { + "type": "string", + "description": "Path to function code in the linked repo.", + "x-example": "<PROVIDER_ROOT_DIRECTORY>" + }, + "templateRepository": { + "type": "string", + "description": "Repository name of the template.", + "x-example": "<TEMPLATE_REPOSITORY>" + }, + "templateOwner": { + "type": "string", + "description": "The name of the owner of the template.", + "x-example": "<TEMPLATE_OWNER>" + }, + "templateRootDirectory": { + "type": "string", + "description": "Path to function code in the template repo.", + "x-example": "<TEMPLATE_ROOT_DIRECTORY>" + }, + "templateVersion": { + "type": "string", + "description": "Version (tag) for the repo linked to the function template.", + "x-example": "<TEMPLATE_VERSION>" + }, + "specification": { + "type": "string", + "description": "Runtime specification for the function and builds.", + "x-example": null + } + }, + "required": [ + "functionId", + "name", + "runtime" + ] + } + } + } + } + } + }, + "\/functions\/runtimes": { + "get": { + "summary": "List runtimes", + "operationId": "functionsListRuntimes", + "tags": [ + "functions" + ], + "description": "Get a list of all runtimes that are currently active on your instance.", + "responses": { + "200": { + "description": "Runtimes List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/runtimeList" + } + } + } + } + }, + "x-appwrite": { + "method": "listRuntimes", + "group": "runtimes", + "weight": 289, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/list-runtimes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-runtimes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/functions\/specifications": { + "get": { + "summary": "List available function runtime specifications", + "operationId": "functionsListSpecifications", + "tags": [ + "functions" + ], + "description": "List allowed function specifications for this instance.\n", + "responses": { + "200": { + "description": "Specifications List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/specificationList" + } + } + } + } + }, + "x-appwrite": { + "method": "listSpecifications", + "group": "runtimes", + "weight": 290, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/list-specifications.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-specifications.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server", + "console" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/functions\/{functionId}": { + "get": { + "summary": "Get function", + "operationId": "functionsGet", + "tags": [ + "functions" + ], + "description": "Get a function by its unique ID.", + "responses": { + "200": { + "description": "Function", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/function" + } + } + } + } + }, + "x-appwrite": { + "method": "get", + "group": "functions", + "weight": 291, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-function.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + } + ] + }, + "put": { + "summary": "Update function", + "operationId": "functionsUpdate", + "tags": [ + "functions" + ], + "description": "Update function by its unique ID.", + "responses": { + "200": { + "description": "Function", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/function" + } + } + } + } + }, + "x-appwrite": { + "method": "update", + "group": "functions", + "weight": 294, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/update.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/update-function.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Function name. Max length: 128 chars.", + "x-example": "<NAME>" + }, + "runtime": { + "type": "string", + "description": "Execution runtime.", + "x-example": "node-14.5", + "enum": [ + "node-14.5", + "node-16.0", + "node-18.0", + "node-19.0", + "node-20.0", + "node-21.0", + "node-22", + "php-8.0", + "php-8.1", + "php-8.2", + "php-8.3", + "ruby-3.0", + "ruby-3.1", + "ruby-3.2", + "ruby-3.3", + "python-3.8", + "python-3.9", + "python-3.10", + "python-3.11", + "python-3.12", + "python-ml-3.11", + "deno-1.21", + "deno-1.24", + "deno-1.35", + "deno-1.40", + "deno-1.46", + "deno-2.0", + "dart-2.15", + "dart-2.16", + "dart-2.17", + "dart-2.18", + "dart-3.0", + "dart-3.1", + "dart-3.3", + "dart-3.5", + "dotnet-6.0", + "dotnet-7.0", + "dotnet-8.0", + "java-8.0", + "java-11.0", + "java-17.0", + "java-18.0", + "java-21.0", + "java-22", + "swift-5.5", + "swift-5.8", + "swift-5.9", + "swift-5.10", + "kotlin-1.6", + "kotlin-1.8", + "kotlin-1.9", + "kotlin-2.0", + "cpp-17", + "cpp-20", + "bun-1.0", + "bun-1.1", + "go-1.23", + "static-1", + "flutter-3.24" + ], + "x-enum-name": null, + "x-enum-keys": [] + }, + "execute": { + "type": "array", + "description": "An array of role strings with execution permissions. By default no user is granted with any execute permissions. [learn more about roles](https:\/\/appwrite.io\/docs\/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.", + "x-example": "[\"any\"]", + "items": { + "type": "string" + } + }, + "events": { + "type": "array", + "description": "Events list. Maximum of 100 events are allowed.", + "x-example": null, + "items": { + "type": "string" + } + }, + "schedule": { + "type": "string", + "description": "Schedule CRON syntax.", + "x-example": null + }, + "timeout": { + "type": "integer", + "description": "Maximum execution time in seconds.", + "x-example": 1 + }, + "enabled": { + "type": "boolean", + "description": "Is function enabled? When set to 'disabled', users cannot access the function but Server SDKs with and API key can still access the function. No data is lost when this is toggled.", + "x-example": false + }, + "logging": { + "type": "boolean", + "description": "Whether executions will be logged. When set to false, executions will not be logged, but will reduce resource used by your Appwrite project.", + "x-example": false + }, + "entrypoint": { + "type": "string", + "description": "Entrypoint File. This path is relative to the \"providerRootDirectory\".", + "x-example": "<ENTRYPOINT>" + }, + "commands": { + "type": "string", + "description": "Build Commands.", + "x-example": "<COMMANDS>" + }, + "scopes": { + "type": "array", + "description": "List of scopes allowed for API Key auto-generated for every execution. Maximum of 100 scopes are allowed.", + "x-example": null, + "items": { + "type": "string" + } + }, + "installationId": { + "type": "string", + "description": "Appwrite Installation ID for VCS (Version Controle System) deployment.", + "x-example": "<INSTALLATION_ID>" + }, + "providerRepositoryId": { + "type": "string", + "description": "Repository ID of the repo linked to the function", + "x-example": "<PROVIDER_REPOSITORY_ID>", + "x-nullable": true + }, + "providerBranch": { + "type": "string", + "description": "Production branch for the repo linked to the function", + "x-example": "<PROVIDER_BRANCH>" + }, + "providerSilentMode": { + "type": "boolean", + "description": "Is the VCS (Version Control System) connection in silent mode for the repo linked to the function? In silent mode, comments will not be made on commits and pull requests.", + "x-example": false + }, + "providerRootDirectory": { + "type": "string", + "description": "Path to function code in the linked repo.", + "x-example": "<PROVIDER_ROOT_DIRECTORY>" + }, + "specification": { + "type": "string", + "description": "Runtime specification for the function and builds.", + "x-example": null + } + }, + "required": [ + "name" + ] + } + } + } + } + }, + "delete": { + "summary": "Delete function", + "operationId": "functionsDelete", + "tags": [ + "functions" + ], + "description": "Delete a function by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "delete", + "group": "functions", + "weight": 297, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/delete.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/delete-function.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + } + ] + } + }, + "\/functions\/{functionId}\/deployments": { + "get": { + "summary": "List deployments", + "operationId": "functionsListDeployments", + "tags": [ + "functions" + ], + "description": "Get a list of all the project's code deployments. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Deployments List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/deploymentList" + } + } + } + } + }, + "x-appwrite": { + "method": "listDeployments", + "group": "deployments", + "weight": 299, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/list-deployments.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-deployments.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: size, buildId, activate, entrypoint, commands, type, size", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create deployment", + "operationId": "functionsCreateDeployment", + "tags": [ + "functions" + ], + "description": "Create a new function code deployment. Use this endpoint to upload a new version of your code function. To execute your newly uploaded code, you'll need to update the function's deployment to use your new deployment UID.\n\nThis endpoint accepts a tar.gz file compressed with your code. Make sure to include any dependencies your code has within the compressed file. You can learn more about code packaging in the [Appwrite Cloud Functions tutorial](https:\/\/appwrite.io\/docs\/functions).\n\nUse the \"command\" param to set the entrypoint used to execute your code.", + "responses": { + "202": { + "description": "Deployment", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/deployment" + } + } + } + } + }, + "x-appwrite": { + "method": "createDeployment", + "group": "deployments", + "weight": 298, + "cookies": false, + "type": "upload", + "deprecated": false, + "demo": "functions\/create-deployment.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-deployment.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": true, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "multipart\/form-data": { + "schema": { + "type": "object", + "properties": { + "entrypoint": { + "type": "string", + "description": "Entrypoint File.", + "x-example": "<ENTRYPOINT>" + }, + "commands": { + "type": "string", + "description": "Build Commands.", + "x-example": "<COMMANDS>" + }, + "code": { + "type": "string", + "description": "Gzip file with your code package. When used with the Appwrite CLI, pass the path to your code directory, and the CLI will automatically package your code. Use a path that is within the current directory.", + "x-example": null + }, + "activate": { + "type": "boolean", + "description": "Automatically activate the deployment when it is finished building.", + "x-example": false + } + }, + "required": [ + "code", + "activate" + ] + } + } + } + } + } + }, + "\/functions\/{functionId}\/deployments\/{deploymentId}": { + "get": { + "summary": "Get deployment", + "operationId": "functionsGetDeployment", + "tags": [ + "functions" + ], + "description": "Get a code deployment by its unique ID.", + "responses": { + "200": { + "description": "Deployment", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/deployment" + } + } + } + } + }, + "x-appwrite": { + "method": "getDeployment", + "group": "deployments", + "weight": 300, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/get-deployment.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-deployment.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + }, + { + "name": "deploymentId", + "description": "Deployment ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DEPLOYMENT_ID>" + }, + "in": "path" + } + ] + }, + "patch": { + "summary": "Update deployment", + "operationId": "functionsUpdateDeployment", + "tags": [ + "functions" + ], + "description": "Update the function code deployment ID using the unique function ID. Use this endpoint to switch the code deployment that should be executed by the execution endpoint.", + "responses": { + "200": { + "description": "Function", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/function" + } + } + } + } + }, + "x-appwrite": { + "method": "updateDeployment", + "group": "deployments", + "weight": 296, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/update-deployment.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/update-function-deployment.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + }, + { + "name": "deploymentId", + "description": "Deployment ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DEPLOYMENT_ID>" + }, + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete deployment", + "operationId": "functionsDeleteDeployment", + "tags": [ + "functions" + ], + "description": "Delete a code deployment by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteDeployment", + "group": "deployments", + "weight": 301, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/delete-deployment.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/delete-deployment.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + }, + { + "name": "deploymentId", + "description": "Deployment ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DEPLOYMENT_ID>" + }, + "in": "path" + } + ] + } + }, + "\/functions\/{functionId}\/deployments\/{deploymentId}\/build": { + "post": { + "summary": "Create deployment build", + "operationId": "functionsCreateBuild", + "tags": [ + "functions" + ], + "description": "Create a new build for an existing function deployment. This endpoint allows you to rebuild a deployment with the updated function configuration, including its entrypoint and build commands if they have been modified The build process will be queued and executed asynchronously. The original deployment's code will be preserved and used for the new build.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "createBuild", + "group": "deployments", + "weight": 302, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/create-build.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-build.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + }, + { + "name": "deploymentId", + "description": "Deployment ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DEPLOYMENT_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "buildId": { + "type": "string", + "description": "Build unique ID.", + "x-example": "<BUILD_ID>" + } + } + } + } + } + } + }, + "patch": { + "summary": "Cancel deployment", + "operationId": "functionsUpdateDeploymentBuild", + "tags": [ + "functions" + ], + "description": "Cancel an ongoing function deployment build. If the build is already in progress, it will be stopped and marked as canceled. If the build hasn't started yet, it will be marked as canceled without executing. You cannot cancel builds that have already completed (status 'ready') or failed. The response includes the final build status and details.", + "responses": { + "200": { + "description": "Build", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/build" + } + } + } + } + }, + "x-appwrite": { + "method": "updateDeploymentBuild", + "group": "deployments", + "weight": 303, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/update-deployment-build.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/update-deployment-build.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + }, + { + "name": "deploymentId", + "description": "Deployment ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DEPLOYMENT_ID>" + }, + "in": "path" + } + ] + } + }, + "\/functions\/{functionId}\/deployments\/{deploymentId}\/download": { + "get": { + "summary": "Get deployment download", + "operationId": "functionsGetDeploymentDownload", + "tags": [ + "functions" + ], + "description": "Get a Deployment's contents by its unique ID. This endpoint supports range requests for partial or streaming file download.", + "responses": { + "200": { + "description": "File" + } + }, + "x-appwrite": { + "method": "getDeploymentDownload", + "group": "deployments", + "weight": 295, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "functions\/get-deployment-download.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-deployment-download.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + }, + { + "name": "deploymentId", + "description": "Deployment ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<DEPLOYMENT_ID>" + }, + "in": "path" + } + ] + } + }, + "\/functions\/{functionId}\/executions": { + "get": { + "summary": "List executions", + "operationId": "functionsListExecutions", + "tags": [ + "functions" + ], + "description": "Get a list of all the current user function execution logs. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Executions List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/executionList" + } + } + } + } + }, + "x-appwrite": { + "method": "listExecutions", + "group": "executions", + "weight": 305, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/list-executions.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-executions.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "execution.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: trigger, status, responseStatusCode, duration, requestMethod, requestPath, deploymentId", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create execution", + "operationId": "functionsCreateExecution", + "tags": [ + "functions" + ], + "description": "Trigger a function execution. The returned object will return you the current execution status. You can ping the `Get Execution` endpoint to get updates on the current execution status. Once this endpoint is called, your function execution process will start asynchronously.", + "responses": { + "201": { + "description": "Execution", + "content": { + "multipart\/form-data": { + "schema": { + "$ref": "#\/components\/schemas\/execution" + } + } + } + } + }, + "x-appwrite": { + "method": "createExecution", + "group": "executions", + "weight": 304, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/create-execution.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-execution.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "execution.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "HTTP body of execution. Default value is empty string.", + "x-example": "<BODY>" + }, + "async": { + "type": "boolean", + "description": "Execute code in the background. Default value is false.", + "x-example": false + }, + "path": { + "type": "string", + "description": "HTTP path of execution. Path can include query params. Default value is \/", + "x-example": "<PATH>" + }, + "method": { + "type": "string", + "description": "HTTP method of execution. Default value is GET.", + "x-example": "GET", + "enum": [ + "GET", + "POST", + "PUT", + "PATCH", + "DELETE", + "OPTIONS" + ], + "x-enum-name": "ExecutionMethod", + "x-enum-keys": [] + }, + "headers": { + "type": "string", + "description": "HTTP headers of execution. Defaults to empty.", + "x-example": null + }, + "scheduledAt": { + "type": "string", + "description": "Scheduled execution time in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future with precision in minutes.", + "x-example": null + } + } + } + } + } + } + } + }, + "\/functions\/{functionId}\/executions\/{executionId}": { + "get": { + "summary": "Get execution", + "operationId": "functionsGetExecution", + "tags": [ + "functions" + ], + "description": "Get a function execution log by its unique ID.", + "responses": { + "200": { + "description": "Execution", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/execution" + } + } + } + } + }, + "x-appwrite": { + "method": "getExecution", + "group": "executions", + "weight": 306, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/get-execution.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-execution.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "execution.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + }, + { + "name": "executionId", + "description": "Execution ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<EXECUTION_ID>" + }, + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete execution", + "operationId": "functionsDeleteExecution", + "tags": [ + "functions" + ], + "description": "Delete a function execution by its unique ID.\n", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteExecution", + "group": "executions", + "weight": 307, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/delete-execution.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/delete-execution.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "execution.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + }, + { + "name": "executionId", + "description": "Execution ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<EXECUTION_ID>" + }, + "in": "path" + } + ] + } + }, + "\/functions\/{functionId}\/variables": { + "get": { + "summary": "List variables", + "operationId": "functionsListVariables", + "tags": [ + "functions" + ], + "description": "Get a list of all variables of a specific function.", + "responses": { + "200": { + "description": "Variables List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/variableList" + } + } + } + } + }, + "x-appwrite": { + "method": "listVariables", + "group": "variables", + "weight": 309, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/list-variables.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-variables.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + } + ] + }, + "post": { + "summary": "Create variable", + "operationId": "functionsCreateVariable", + "tags": [ + "functions" + ], + "description": "Create a new function environment variable. These variables can be accessed in the function at runtime as environment variables.", + "responses": { + "201": { + "description": "Variable", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/variable" + } + } + } + } + }, + "x-appwrite": { + "method": "createVariable", + "group": "variables", + "weight": 308, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/create-variable.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-variable.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Variable key. Max length: 255 chars.", + "x-example": "<KEY>" + }, + "value": { + "type": "string", + "description": "Variable value. Max length: 8192 chars.", + "x-example": "<VALUE>" + } + }, + "required": [ + "key", + "value" + ] + } + } + } + } + } + }, + "\/functions\/{functionId}\/variables\/{variableId}": { + "get": { + "summary": "Get variable", + "operationId": "functionsGetVariable", + "tags": [ + "functions" + ], + "description": "Get a variable by its unique ID.", + "responses": { + "200": { + "description": "Variable", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/variable" + } + } + } + } + }, + "x-appwrite": { + "method": "getVariable", + "group": "variables", + "weight": 310, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/get-variable.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-variable.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + }, + { + "name": "variableId", + "description": "Variable unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<VARIABLE_ID>" + }, + "in": "path" + } + ] + }, + "put": { + "summary": "Update variable", + "operationId": "functionsUpdateVariable", + "tags": [ + "functions" + ], + "description": "Update variable by its unique ID.", + "responses": { + "200": { + "description": "Variable", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/variable" + } + } + } + } + }, + "x-appwrite": { + "method": "updateVariable", + "group": "variables", + "weight": 311, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/update-variable.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/update-variable.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + }, + { + "name": "variableId", + "description": "Variable unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<VARIABLE_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Variable key. Max length: 255 chars.", + "x-example": "<KEY>" + }, + "value": { + "type": "string", + "description": "Variable value. Max length: 8192 chars.", + "x-example": "<VALUE>" + } + }, + "required": [ + "key" + ] + } + } + } + } + }, + "delete": { + "summary": "Delete variable", + "operationId": "functionsDeleteVariable", + "tags": [ + "functions" + ], + "description": "Delete a variable by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteVariable", + "group": "variables", + "weight": 312, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/delete-variable.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/delete-variable.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FUNCTION_ID>" + }, + "in": "path" + }, + { + "name": "variableId", + "description": "Variable unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<VARIABLE_ID>" + }, + "in": "path" + } + ] + } + }, + "\/graphql": { + "post": { + "summary": "GraphQL endpoint", + "operationId": "graphqlQuery", + "tags": [ + "graphql" + ], + "description": "Execute a GraphQL mutation.", + "responses": { + "200": { + "description": "Any", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/any" + } + } + } + } + }, + "x-appwrite": { + "method": "query", + "group": "graphql", + "weight": 330, + "cookies": false, + "type": "graphql", + "deprecated": false, + "demo": "graphql\/query.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "url:{url},ip:{ip}", + "scope": "graphql", + "platforms": [ + "server", + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/graphql\/mutation": { + "post": { + "summary": "GraphQL endpoint", + "operationId": "graphqlMutation", + "tags": [ + "graphql" + ], + "description": "Execute a GraphQL mutation.", + "responses": { + "200": { + "description": "Any", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/any" + } + } + } + } + }, + "x-appwrite": { + "method": "mutation", + "group": "graphql", + "weight": 329, + "cookies": false, + "type": "graphql", + "deprecated": false, + "demo": "graphql\/mutation.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "url:{url},ip:{ip}", + "scope": "graphql", + "platforms": [ + "server", + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/health": { + "get": { + "summary": "Get HTTP", + "operationId": "healthGet", + "tags": [ + "health" + ], + "description": "Check the Appwrite HTTP server is up and responsive.", + "responses": { + "200": { + "description": "Health Status", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthStatus" + } + } + } + } + }, + "x-appwrite": { + "method": "get", + "group": "health", + "weight": 125, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/health\/anti-virus": { + "get": { + "summary": "Get antivirus", + "operationId": "healthGetAntivirus", + "tags": [ + "health" + ], + "description": "Check the Appwrite Antivirus server is up and connection is successful.", + "responses": { + "200": { + "description": "Health Antivirus", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthAntivirus" + } + } + } + } + }, + "x-appwrite": { + "method": "getAntivirus", + "group": "health", + "weight": 146, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-antivirus.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage-anti-virus.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/health\/cache": { + "get": { + "summary": "Get cache", + "operationId": "healthGetCache", + "tags": [ + "health" + ], + "description": "Check the Appwrite in-memory cache servers are up and connection is successful.", + "responses": { + "200": { + "description": "Health Status", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthStatus" + } + } + } + } + }, + "x-appwrite": { + "method": "getCache", + "group": "health", + "weight": 128, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-cache.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-cache.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/health\/certificate": { + "get": { + "summary": "Get the SSL certificate for a domain", + "operationId": "healthGetCertificate", + "tags": [ + "health" + ], + "description": "Get the SSL certificate for a domain", + "responses": { + "200": { + "description": "Health Certificate", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthCertificate" + } + } + } + } + }, + "x-appwrite": { + "method": "getCertificate", + "group": "health", + "weight": 133, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-certificate.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-certificate.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "domain", + "description": "string", + "required": false, + "schema": { + "type": "string" + }, + "in": "query" + } + ] + } + }, + "\/health\/db": { + "get": { + "summary": "Get DB", + "operationId": "healthGetDB", + "tags": [ + "health" + ], + "description": "Check the Appwrite database servers are up and connection is successful.", + "responses": { + "200": { + "description": "Health Status", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthStatus" + } + } + } + } + }, + "x-appwrite": { + "method": "getDB", + "group": "health", + "weight": 127, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-d-b.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-db.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/health\/pubsub": { + "get": { + "summary": "Get pubsub", + "operationId": "healthGetPubSub", + "tags": [ + "health" + ], + "description": "Check the Appwrite pub-sub servers are up and connection is successful.", + "responses": { + "200": { + "description": "Health Status", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthStatus" + } + } + } + } + }, + "x-appwrite": { + "method": "getPubSub", + "group": "health", + "weight": 129, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-pub-sub.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-pubsub.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/health\/queue\/builds": { + "get": { + "summary": "Get builds queue", + "operationId": "healthGetQueueBuilds", + "tags": [ + "health" + ], + "description": "Get the number of builds that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthQueue" + } + } + } + } + }, + "x-appwrite": { + "method": "getQueueBuilds", + "group": "queue", + "weight": 135, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-builds.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-builds.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 5000 + }, + "in": "query" + } + ] + } + }, + "\/health\/queue\/certificates": { + "get": { + "summary": "Get certificates queue", + "operationId": "healthGetQueueCertificates", + "tags": [ + "health" + ], + "description": "Get the number of certificates that are waiting to be issued against [Letsencrypt](https:\/\/letsencrypt.org\/) in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthQueue" + } + } + } + } + }, + "x-appwrite": { + "method": "getQueueCertificates", + "group": "queue", + "weight": 134, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-certificates.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-certificates.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 5000 + }, + "in": "query" + } + ] + } + }, + "\/health\/queue\/databases": { + "get": { + "summary": "Get databases queue", + "operationId": "healthGetQueueDatabases", + "tags": [ + "health" + ], + "description": "Get the number of database changes that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthQueue" + } + } + } + } + }, + "x-appwrite": { + "method": "getQueueDatabases", + "group": "queue", + "weight": 136, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-databases.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-databases.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "name", + "description": "Queue name for which to check the queue size", + "required": false, + "schema": { + "type": "string", + "x-example": "<NAME>", + "default": "database_db_main" + }, + "in": "query" + }, + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 5000 + }, + "in": "query" + } + ] + } + }, + "\/health\/queue\/deletes": { + "get": { + "summary": "Get deletes queue", + "operationId": "healthGetQueueDeletes", + "tags": [ + "health" + ], + "description": "Get the number of background destructive changes that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthQueue" + } + } + } + } + }, + "x-appwrite": { + "method": "getQueueDeletes", + "group": "queue", + "weight": 137, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-deletes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-deletes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 5000 + }, + "in": "query" + } + ] + } + }, + "\/health\/queue\/failed\/{name}": { + "get": { + "summary": "Get number of failed queue jobs", + "operationId": "healthGetFailedJobs", + "tags": [ + "health" + ], + "description": "Returns the amount of failed jobs in a given queue.\n", + "responses": { + "200": { + "description": "Health Queue", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthQueue" + } + } + } + } + }, + "x-appwrite": { + "method": "getFailedJobs", + "group": "queue", + "weight": 147, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-failed-jobs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-failed-queue-jobs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "name", + "description": "The name of the queue", + "required": true, + "schema": { + "type": "string", + "x-example": "v1-database", + "enum": [ + "v1-database", + "v1-deletes", + "v1-audits", + "v1-mails", + "v1-functions", + "v1-stats-resources", + "v1-stats-usage", + "v1-webhooks", + "v1-certificates", + "v1-builds", + "v1-messaging", + "v1-migrations" + ], + "x-enum-name": null, + "x-enum-keys": [] + }, + "in": "path" + }, + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 5000 + }, + "in": "query" + } + ] + } + }, + "\/health\/queue\/functions": { + "get": { + "summary": "Get functions queue", + "operationId": "healthGetQueueFunctions", + "tags": [ + "health" + ], + "description": "Get the number of function executions that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthQueue" + } + } + } + } + }, + "x-appwrite": { + "method": "getQueueFunctions", + "group": "queue", + "weight": 141, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-functions.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-functions.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 5000 + }, + "in": "query" + } + ] + } + }, + "\/health\/queue\/logs": { + "get": { + "summary": "Get logs queue", + "operationId": "healthGetQueueLogs", + "tags": [ + "health" + ], + "description": "Get the number of logs that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthQueue" + } + } + } + } + }, + "x-appwrite": { + "method": "getQueueLogs", + "group": "queue", + "weight": 132, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 5000 + }, + "in": "query" + } + ] + } + }, + "\/health\/queue\/mails": { + "get": { + "summary": "Get mails queue", + "operationId": "healthGetQueueMails", + "tags": [ + "health" + ], + "description": "Get the number of mails that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthQueue" + } + } + } + } + }, + "x-appwrite": { + "method": "getQueueMails", + "group": "queue", + "weight": 138, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-mails.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-mails.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 5000 + }, + "in": "query" + } + ] + } + }, + "\/health\/queue\/messaging": { + "get": { + "summary": "Get messaging queue", + "operationId": "healthGetQueueMessaging", + "tags": [ + "health" + ], + "description": "Get the number of messages that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthQueue" + } + } + } + } + }, + "x-appwrite": { + "method": "getQueueMessaging", + "group": "queue", + "weight": 139, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-messaging.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-messaging.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 5000 + }, + "in": "query" + } + ] + } + }, + "\/health\/queue\/migrations": { + "get": { + "summary": "Get migrations queue", + "operationId": "healthGetQueueMigrations", + "tags": [ + "health" + ], + "description": "Get the number of migrations that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthQueue" + } + } + } + } + }, + "x-appwrite": { + "method": "getQueueMigrations", + "group": "queue", + "weight": 140, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-migrations.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-migrations.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 5000 + }, + "in": "query" + } + ] + } + }, + "\/health\/queue\/stats-resources": { + "get": { + "summary": "Get stats resources queue", + "operationId": "healthGetQueueStatsResources", + "tags": [ + "health" + ], + "description": "Get the number of metrics that are waiting to be processed in the Appwrite stats resources queue.", + "responses": { + "200": { + "description": "Health Queue", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthQueue" + } + } + } + } + }, + "x-appwrite": { + "method": "getQueueStatsResources", + "group": "queue", + "weight": 142, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-stats-resources.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-resources.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 5000 + }, + "in": "query" + } + ] + } + }, + "\/health\/queue\/stats-usage": { + "get": { + "summary": "Get stats usage queue", + "operationId": "healthGetQueueUsage", + "tags": [ + "health" + ], + "description": "Get the number of metrics that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthQueue" + } + } + } + } + }, + "x-appwrite": { + "method": "getQueueUsage", + "group": "queue", + "weight": 143, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-usage.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-usage.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 5000 + }, + "in": "query" + } + ] + } + }, + "\/health\/queue\/webhooks": { + "get": { + "summary": "Get webhooks queue", + "operationId": "healthGetQueueWebhooks", + "tags": [ + "health" + ], + "description": "Get the number of webhooks that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthQueue" + } + } + } + } + }, + "x-appwrite": { + "method": "getQueueWebhooks", + "group": "queue", + "weight": 131, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-webhooks.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-webhooks.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 5000 + }, + "in": "query" + } + ] + } + }, + "\/health\/storage": { + "get": { + "summary": "Get storage", + "operationId": "healthGetStorage", + "tags": [ + "health" + ], + "description": "Check the Appwrite storage device is up and connection is successful.", + "responses": { + "200": { + "description": "Health Status", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthStatus" + } + } + } + } + }, + "x-appwrite": { + "method": "getStorage", + "group": "storage", + "weight": 145, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-storage.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/health\/storage\/local": { + "get": { + "summary": "Get local storage", + "operationId": "healthGetStorageLocal", + "tags": [ + "health" + ], + "description": "Check the Appwrite local storage device is up and connection is successful.", + "responses": { + "200": { + "description": "Health Status", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthStatus" + } + } + } + } + }, + "x-appwrite": { + "method": "getStorageLocal", + "group": "storage", + "weight": 144, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-storage-local.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage-local.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/health\/time": { + "get": { + "summary": "Get time", + "operationId": "healthGetTime", + "tags": [ + "health" + ], + "description": "Check the Appwrite server time is synced with Google remote NTP server. We use this technology to smoothly handle leap seconds with no disruptive events. The [Network Time Protocol](https:\/\/en.wikipedia.org\/wiki\/Network_Time_Protocol) (NTP) is used by hundreds of millions of computers and devices to synchronize their clocks over the Internet. If your computer sets its own clock, it likely uses NTP.", + "responses": { + "200": { + "description": "Health Time", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/healthTime" + } + } + } + } + }, + "x-appwrite": { + "method": "getTime", + "group": "health", + "weight": 130, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-time.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-time.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/locale": { + "get": { + "summary": "Get user locale", + "operationId": "localeGet", + "tags": [ + "locale" + ], + "description": "Get the current user location based on IP. Returns an object with user country code, country name, continent name, continent code, ip address and suggested currency. You can use the locale header to get the data in a supported language.\n\n([IP Geolocation by DB-IP](https:\/\/db-ip.com))", + "responses": { + "200": { + "description": "Locale", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/locale" + } + } + } + } + }, + "x-appwrite": { + "method": "get", + "group": null, + "weight": 117, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/get-locale.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/locale\/codes": { + "get": { + "summary": "List locale codes", + "operationId": "localeListCodes", + "tags": [ + "locale" + ], + "description": "List of all locale codes in [ISO 639-1](https:\/\/en.wikipedia.org\/wiki\/List_of_ISO_639-1_codes).", + "responses": { + "200": { + "description": "Locale codes list", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/localeCodeList" + } + } + } + } + }, + "x-appwrite": { + "method": "listCodes", + "group": null, + "weight": 118, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-locale-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/locale\/continents": { + "get": { + "summary": "List continents", + "operationId": "localeListContinents", + "tags": [ + "locale" + ], + "description": "List of all continents. You can use the locale header to get the data in a supported language.", + "responses": { + "200": { + "description": "Continents List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/continentList" + } + } + } + } + }, + "x-appwrite": { + "method": "listContinents", + "group": null, + "weight": 122, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-continents.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-continents.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/locale\/countries": { + "get": { + "summary": "List countries", + "operationId": "localeListCountries", + "tags": [ + "locale" + ], + "description": "List of all countries. You can use the locale header to get the data in a supported language.", + "responses": { + "200": { + "description": "Countries List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/countryList" + } + } + } + } + }, + "x-appwrite": { + "method": "listCountries", + "group": null, + "weight": 119, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-countries.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/locale\/countries\/eu": { + "get": { + "summary": "List EU countries", + "operationId": "localeListCountriesEU", + "tags": [ + "locale" + ], + "description": "List of all countries that are currently members of the EU. You can use the locale header to get the data in a supported language.", + "responses": { + "200": { + "description": "Countries List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/countryList" + } + } + } + } + }, + "x-appwrite": { + "method": "listCountriesEU", + "group": null, + "weight": 120, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-countries-e-u.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-eu.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/locale\/countries\/phones": { + "get": { + "summary": "List countries phone codes", + "operationId": "localeListCountriesPhones", + "tags": [ + "locale" + ], + "description": "List of all countries phone codes. You can use the locale header to get the data in a supported language.", + "responses": { + "200": { + "description": "Phones List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/phoneList" + } + } + } + } + }, + "x-appwrite": { + "method": "listCountriesPhones", + "group": null, + "weight": 121, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-countries-phones.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-phones.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/locale\/currencies": { + "get": { + "summary": "List currencies", + "operationId": "localeListCurrencies", + "tags": [ + "locale" + ], + "description": "List of all currencies, including currency symbol, name, plural, and decimal digits for all major and minor currencies. You can use the locale header to get the data in a supported language.", + "responses": { + "200": { + "description": "Currencies List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/currencyList" + } + } + } + } + }, + "x-appwrite": { + "method": "listCurrencies", + "group": null, + "weight": 123, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-currencies.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-currencies.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/locale\/languages": { + "get": { + "summary": "List languages", + "operationId": "localeListLanguages", + "tags": [ + "locale" + ], + "description": "List of all languages classified by ISO 639-1 including 2-letter code, name in English, and name in the respective language.", + "responses": { + "200": { + "description": "Languages List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/languageList" + } + } + } + } + }, + "x-appwrite": { + "method": "listLanguages", + "group": null, + "weight": 124, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-languages.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-languages.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/messaging\/messages": { + "get": { + "summary": "List messages", + "operationId": "messagingListMessages", + "tags": [ + "messaging" + ], + "description": "Get a list of all messages from the current Appwrite project.", + "responses": { + "200": { + "description": "Message list", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/messageList" + } + } + } + } + }, + "x-appwrite": { + "method": "listMessages", + "group": "messages", + "weight": 383, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-messages.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-messages.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: scheduledAt, deliveredAt, deliveredTotal, status, description, providerType", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + } + }, + "\/messaging\/messages\/email": { + "post": { + "summary": "Create email", + "operationId": "messagingCreateEmail", + "tags": [ + "messaging" + ], + "description": "Create a new email message.", + "responses": { + "201": { + "description": "Message", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/message" + } + } + } + } + }, + "x-appwrite": { + "method": "createEmail", + "group": "messages", + "weight": 380, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-email.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-email.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "messageId": { + "type": "string", + "description": "Message ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<MESSAGE_ID>" + }, + "subject": { + "type": "string", + "description": "Email Subject.", + "x-example": "<SUBJECT>" + }, + "content": { + "type": "string", + "description": "Email Content.", + "x-example": "<CONTENT>" + }, + "topics": { + "type": "array", + "description": "List of Topic IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "users": { + "type": "array", + "description": "List of User IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "targets": { + "type": "array", + "description": "List of Targets IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "cc": { + "type": "array", + "description": "Array of target IDs to be added as CC.", + "x-example": null, + "items": { + "type": "string" + } + }, + "bcc": { + "type": "array", + "description": "Array of target IDs to be added as BCC.", + "x-example": null, + "items": { + "type": "string" + } + }, + "attachments": { + "type": "array", + "description": "Array of compound ID strings of bucket IDs and file IDs to be attached to the email. They should be formatted as <BUCKET_ID>:<FILE_ID>.", + "x-example": null, + "items": { + "type": "string" + } + }, + "draft": { + "type": "boolean", + "description": "Is message a draft", + "x-example": false + }, + "html": { + "type": "boolean", + "description": "Is content of type HTML", + "x-example": false + }, + "scheduledAt": { + "type": "string", + "description": "Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.", + "x-example": null + } + }, + "required": [ + "messageId", + "subject", + "content" + ] + } + } + } + } + } + }, + "\/messaging\/messages\/email\/{messageId}": { + "patch": { + "summary": "Update email", + "operationId": "messagingUpdateEmail", + "tags": [ + "messaging" + ], + "description": "Update an email message by its unique ID. This endpoint only works on messages that are in draft status. Messages that are already processing, sent, or failed cannot be updated.\n", + "responses": { + "200": { + "description": "Message", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/message" + } + } + } + } + }, + "x-appwrite": { + "method": "updateEmail", + "group": "messages", + "weight": 387, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-email.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-email.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "messageId", + "description": "Message ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<MESSAGE_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "topics": { + "type": "array", + "description": "List of Topic IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "users": { + "type": "array", + "description": "List of User IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "targets": { + "type": "array", + "description": "List of Targets IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "subject": { + "type": "string", + "description": "Email Subject.", + "x-example": "<SUBJECT>" + }, + "content": { + "type": "string", + "description": "Email Content.", + "x-example": "<CONTENT>" + }, + "draft": { + "type": "boolean", + "description": "Is message a draft", + "x-example": false + }, + "html": { + "type": "boolean", + "description": "Is content of type HTML", + "x-example": false + }, + "cc": { + "type": "array", + "description": "Array of target IDs to be added as CC.", + "x-example": null, + "items": { + "type": "string" + } + }, + "bcc": { + "type": "array", + "description": "Array of target IDs to be added as BCC.", + "x-example": null, + "items": { + "type": "string" + } + }, + "scheduledAt": { + "type": "string", + "description": "Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.", + "x-example": null + }, + "attachments": { + "type": "array", + "description": "Array of compound ID strings of bucket IDs and file IDs to be attached to the email. They should be formatted as <BUCKET_ID>:<FILE_ID>.", + "x-example": null, + "items": { + "type": "string" + } + } + } + } + } + } + } + } + }, + "\/messaging\/messages\/push": { + "post": { + "summary": "Create push notification", + "operationId": "messagingCreatePush", + "tags": [ + "messaging" + ], + "description": "Create a new push notification.", + "responses": { + "201": { + "description": "Message", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/message" + } + } + } + } + }, + "x-appwrite": { + "method": "createPush", + "group": "messages", + "weight": 382, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-push.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-push.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "messageId": { + "type": "string", + "description": "Message ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<MESSAGE_ID>" + }, + "title": { + "type": "string", + "description": "Title for push notification.", + "x-example": "<TITLE>" + }, + "body": { + "type": "string", + "description": "Body for push notification.", + "x-example": "<BODY>" + }, + "topics": { + "type": "array", + "description": "List of Topic IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "users": { + "type": "array", + "description": "List of User IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "targets": { + "type": "array", + "description": "List of Targets IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "data": { + "type": "object", + "description": "Additional key-value pair data for push notification.", + "x-example": "{}" + }, + "action": { + "type": "string", + "description": "Action for push notification.", + "x-example": "<ACTION>" + }, + "image": { + "type": "string", + "description": "Image for push notification. Must be a compound bucket ID to file ID of a jpeg, png, or bmp image in Appwrite Storage. It should be formatted as <BUCKET_ID>:<FILE_ID>.", + "x-example": "[ID1:ID2]" + }, + "icon": { + "type": "string", + "description": "Icon for push notification. Available only for Android and Web Platform.", + "x-example": "<ICON>" + }, + "sound": { + "type": "string", + "description": "Sound for push notification. Available only for Android and iOS Platform.", + "x-example": "<SOUND>" + }, + "color": { + "type": "string", + "description": "Color for push notification. Available only for Android Platform.", + "x-example": "<COLOR>" + }, + "tag": { + "type": "string", + "description": "Tag for push notification. Available only for Android Platform.", + "x-example": "<TAG>" + }, + "badge": { + "type": "integer", + "description": "Badge for push notification. Available only for iOS Platform.", + "x-example": null + }, + "draft": { + "type": "boolean", + "description": "Is message a draft", + "x-example": false + }, + "scheduledAt": { + "type": "string", + "description": "Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.", + "x-example": null + }, + "contentAvailable": { + "type": "boolean", + "description": "If set to true, the notification will be delivered in the background. Available only for iOS Platform.", + "x-example": false + }, + "critical": { + "type": "boolean", + "description": "If set to true, the notification will be marked as critical. This requires the app to have the critical notification entitlement. Available only for iOS Platform.", + "x-example": false + }, + "priority": { + "type": "string", + "description": "Set the notification priority. \"normal\" will consider device state and may not deliver notifications immediately. \"high\" will always attempt to immediately deliver the notification.", + "x-example": "normal", + "enum": [ + "normal", + "high" + ], + "x-enum-name": "MessagePriority", + "x-enum-keys": [] + } + }, + "required": [ + "messageId" + ] + } + } + } + } + } + }, + "\/messaging\/messages\/push\/{messageId}": { + "patch": { + "summary": "Update push notification", + "operationId": "messagingUpdatePush", + "tags": [ + "messaging" + ], + "description": "Update a push notification by its unique ID. This endpoint only works on messages that are in draft status. Messages that are already processing, sent, or failed cannot be updated.\n", + "responses": { + "200": { + "description": "Message", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/message" + } + } + } + } + }, + "x-appwrite": { + "method": "updatePush", + "group": "messages", + "weight": 389, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-push.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-push.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "messageId", + "description": "Message ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<MESSAGE_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "topics": { + "type": "array", + "description": "List of Topic IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "users": { + "type": "array", + "description": "List of User IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "targets": { + "type": "array", + "description": "List of Targets IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "title": { + "type": "string", + "description": "Title for push notification.", + "x-example": "<TITLE>" + }, + "body": { + "type": "string", + "description": "Body for push notification.", + "x-example": "<BODY>" + }, + "data": { + "type": "object", + "description": "Additional Data for push notification.", + "x-example": "{}" + }, + "action": { + "type": "string", + "description": "Action for push notification.", + "x-example": "<ACTION>" + }, + "image": { + "type": "string", + "description": "Image for push notification. Must be a compound bucket ID to file ID of a jpeg, png, or bmp image in Appwrite Storage. It should be formatted as <BUCKET_ID>:<FILE_ID>.", + "x-example": "[ID1:ID2]" + }, + "icon": { + "type": "string", + "description": "Icon for push notification. Available only for Android and Web platforms.", + "x-example": "<ICON>" + }, + "sound": { + "type": "string", + "description": "Sound for push notification. Available only for Android and iOS platforms.", + "x-example": "<SOUND>" + }, + "color": { + "type": "string", + "description": "Color for push notification. Available only for Android platforms.", + "x-example": "<COLOR>" + }, + "tag": { + "type": "string", + "description": "Tag for push notification. Available only for Android platforms.", + "x-example": "<TAG>" + }, + "badge": { + "type": "integer", + "description": "Badge for push notification. Available only for iOS platforms.", + "x-example": null + }, + "draft": { + "type": "boolean", + "description": "Is message a draft", + "x-example": false + }, + "scheduledAt": { + "type": "string", + "description": "Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.", + "x-example": null + }, + "contentAvailable": { + "type": "boolean", + "description": "If set to true, the notification will be delivered in the background. Available only for iOS Platform.", + "x-example": false + }, + "critical": { + "type": "boolean", + "description": "If set to true, the notification will be marked as critical. This requires the app to have the critical notification entitlement. Available only for iOS Platform.", + "x-example": false + }, + "priority": { + "type": "string", + "description": "Set the notification priority. \"normal\" will consider device battery state and may send notifications later. \"high\" will always attempt to immediately deliver the notification.", + "x-example": "normal", + "enum": [ + "normal", + "high" + ], + "x-enum-name": "MessagePriority", + "x-enum-keys": [] + } + } + } + } + } + } + } + }, + "\/messaging\/messages\/sms": { + "post": { + "summary": "Create SMS", + "operationId": "messagingCreateSms", + "tags": [ + "messaging" + ], + "description": "Create a new SMS message.", + "responses": { + "201": { + "description": "Message", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/message" + } + } + } + } + }, + "x-appwrite": { + "method": "createSms", + "group": "messages", + "weight": 381, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-sms.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-sms.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "messageId": { + "type": "string", + "description": "Message ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<MESSAGE_ID>" + }, + "content": { + "type": "string", + "description": "SMS Content.", + "x-example": "<CONTENT>" + }, + "topics": { + "type": "array", + "description": "List of Topic IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "users": { + "type": "array", + "description": "List of User IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "targets": { + "type": "array", + "description": "List of Targets IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "draft": { + "type": "boolean", + "description": "Is message a draft", + "x-example": false + }, + "scheduledAt": { + "type": "string", + "description": "Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.", + "x-example": null + } + }, + "required": [ + "messageId", + "content" + ] + } + } + } + } + } + }, + "\/messaging\/messages\/sms\/{messageId}": { + "patch": { + "summary": "Update SMS", + "operationId": "messagingUpdateSms", + "tags": [ + "messaging" + ], + "description": "Update an SMS message by its unique ID. This endpoint only works on messages that are in draft status. Messages that are already processing, sent, or failed cannot be updated.\n", + "responses": { + "200": { + "description": "Message", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/message" + } + } + } + } + }, + "x-appwrite": { + "method": "updateSms", + "group": "messages", + "weight": 388, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-sms.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-sms.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "messageId", + "description": "Message ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<MESSAGE_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "topics": { + "type": "array", + "description": "List of Topic IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "users": { + "type": "array", + "description": "List of User IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "targets": { + "type": "array", + "description": "List of Targets IDs.", + "x-example": null, + "items": { + "type": "string" + } + }, + "content": { + "type": "string", + "description": "Email Content.", + "x-example": "<CONTENT>" + }, + "draft": { + "type": "boolean", + "description": "Is message a draft", + "x-example": false + }, + "scheduledAt": { + "type": "string", + "description": "Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.", + "x-example": null + } + } + } + } + } + } + } + }, + "\/messaging\/messages\/{messageId}": { + "get": { + "summary": "Get message", + "operationId": "messagingGetMessage", + "tags": [ + "messaging" + ], + "description": "Get a message by its unique ID.\n", + "responses": { + "200": { + "description": "Message", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/message" + } + } + } + } + }, + "x-appwrite": { + "method": "getMessage", + "group": "messages", + "weight": 386, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/get-message.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-message.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "messageId", + "description": "Message ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<MESSAGE_ID>" + }, + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete message", + "operationId": "messagingDelete", + "tags": [ + "messaging" + ], + "description": "Delete a message. If the message is not a draft or scheduled, but has been sent, this will not recall the message.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "delete", + "group": "messages", + "weight": 390, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/delete.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-message.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "messageId", + "description": "Message ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<MESSAGE_ID>" + }, + "in": "path" + } + ] + } + }, + "\/messaging\/messages\/{messageId}\/logs": { + "get": { + "summary": "List message logs", + "operationId": "messagingListMessageLogs", + "tags": [ + "messaging" + ], + "description": "Get the message activity logs listed by its unique ID.", + "responses": { + "200": { + "description": "Logs List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/logList" + } + } + } + } + }, + "x-appwrite": { + "method": "listMessageLogs", + "group": "logs", + "weight": 384, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-message-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-message-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "messageId", + "description": "Message ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<MESSAGE_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + } + }, + "\/messaging\/messages\/{messageId}\/targets": { + "get": { + "summary": "List message targets", + "operationId": "messagingListTargets", + "tags": [ + "messaging" + ], + "description": "Get a list of the targets associated with a message.", + "responses": { + "200": { + "description": "Target list", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/targetList" + } + } + } + } + }, + "x-appwrite": { + "method": "listTargets", + "group": "messages", + "weight": 385, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-targets.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-message-targets.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "messageId", + "description": "Message ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<MESSAGE_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, providerId, identifier, providerType", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + } + }, + "\/messaging\/providers": { + "get": { + "summary": "List providers", + "operationId": "messagingListProviders", + "tags": [ + "messaging" + ], + "description": "Get a list of all providers from the current Appwrite project.", + "responses": { + "200": { + "description": "Provider list", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/providerList" + } + } + } + } + }, + "x-appwrite": { + "method": "listProviders", + "group": "providers", + "weight": 355, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-providers.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-providers.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, provider, type, enabled", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + } + }, + "\/messaging\/providers\/apns": { + "post": { + "summary": "Create APNS provider", + "operationId": "messagingCreateApnsProvider", + "tags": [ + "messaging" + ], + "description": "Create a new Apple Push Notification service provider.", + "responses": { + "201": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "createApnsProvider", + "group": "providers", + "weight": 354, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-apns-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-apns-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "authKey": { + "type": "string", + "description": "APNS authentication key.", + "x-example": "<AUTH_KEY>" + }, + "authKeyId": { + "type": "string", + "description": "APNS authentication key ID.", + "x-example": "<AUTH_KEY_ID>" + }, + "teamId": { + "type": "string", + "description": "APNS team ID.", + "x-example": "<TEAM_ID>" + }, + "bundleId": { + "type": "string", + "description": "APNS bundle ID.", + "x-example": "<BUNDLE_ID>" + }, + "sandbox": { + "type": "boolean", + "description": "Use APNS sandbox environment.", + "x-example": false + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + } + } + } + }, + "\/messaging\/providers\/apns\/{providerId}": { + "patch": { + "summary": "Update APNS provider", + "operationId": "messagingUpdateApnsProvider", + "tags": [ + "messaging" + ], + "description": "Update a Apple Push Notification service provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "updateApnsProvider", + "group": "providers", + "weight": 367, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-apns-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-apns-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROVIDER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + }, + "authKey": { + "type": "string", + "description": "APNS authentication key.", + "x-example": "<AUTH_KEY>" + }, + "authKeyId": { + "type": "string", + "description": "APNS authentication key ID.", + "x-example": "<AUTH_KEY_ID>" + }, + "teamId": { + "type": "string", + "description": "APNS team ID.", + "x-example": "<TEAM_ID>" + }, + "bundleId": { + "type": "string", + "description": "APNS bundle ID.", + "x-example": "<BUNDLE_ID>" + }, + "sandbox": { + "type": "boolean", + "description": "Use APNS sandbox environment.", + "x-example": false + } + } + } + } + } + } + } + }, + "\/messaging\/providers\/fcm": { + "post": { + "summary": "Create FCM provider", + "operationId": "messagingCreateFcmProvider", + "tags": [ + "messaging" + ], + "description": "Create a new Firebase Cloud Messaging provider.", + "responses": { + "201": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "createFcmProvider", + "group": "providers", + "weight": 353, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-fcm-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-fcm-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "serviceAccountJSON": { + "type": "object", + "description": "FCM service account JSON.", + "x-example": "{}" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + } + } + } + }, + "\/messaging\/providers\/fcm\/{providerId}": { + "patch": { + "summary": "Update FCM provider", + "operationId": "messagingUpdateFcmProvider", + "tags": [ + "messaging" + ], + "description": "Update a Firebase Cloud Messaging provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "updateFcmProvider", + "group": "providers", + "weight": 366, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-fcm-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-fcm-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROVIDER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + }, + "serviceAccountJSON": { + "type": "object", + "description": "FCM service account JSON.", + "x-example": "{}" + } + } + } + } + } + } + } + }, + "\/messaging\/providers\/mailgun": { + "post": { + "summary": "Create Mailgun provider", + "operationId": "messagingCreateMailgunProvider", + "tags": [ + "messaging" + ], + "description": "Create a new Mailgun provider.", + "responses": { + "201": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "createMailgunProvider", + "group": "providers", + "weight": 345, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-mailgun-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-mailgun-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "apiKey": { + "type": "string", + "description": "Mailgun API Key.", + "x-example": "<API_KEY>" + }, + "domain": { + "type": "string", + "description": "Mailgun Domain.", + "x-example": "<DOMAIN>" + }, + "isEuRegion": { + "type": "boolean", + "description": "Set as EU region.", + "x-example": false + }, + "fromName": { + "type": "string", + "description": "Sender Name.", + "x-example": "<FROM_NAME>" + }, + "fromEmail": { + "type": "string", + "description": "Sender email address.", + "x-example": "email@example.com" + }, + "replyToName": { + "type": "string", + "description": "Name set in the reply to field for the mail. Default value is sender name. Reply to name must have reply to email as well.", + "x-example": "<REPLY_TO_NAME>" + }, + "replyToEmail": { + "type": "string", + "description": "Email set in the reply to field for the mail. Default value is sender email. Reply to email must have reply to name as well.", + "x-example": "email@example.com" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + } + } + } + }, + "\/messaging\/providers\/mailgun\/{providerId}": { + "patch": { + "summary": "Update Mailgun provider", + "operationId": "messagingUpdateMailgunProvider", + "tags": [ + "messaging" + ], + "description": "Update a Mailgun provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "updateMailgunProvider", + "group": "providers", + "weight": 358, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-mailgun-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-mailgun-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROVIDER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "apiKey": { + "type": "string", + "description": "Mailgun API Key.", + "x-example": "<API_KEY>" + }, + "domain": { + "type": "string", + "description": "Mailgun Domain.", + "x-example": "<DOMAIN>" + }, + "isEuRegion": { + "type": "boolean", + "description": "Set as EU region.", + "x-example": false + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + }, + "fromName": { + "type": "string", + "description": "Sender Name.", + "x-example": "<FROM_NAME>" + }, + "fromEmail": { + "type": "string", + "description": "Sender email address.", + "x-example": "email@example.com" + }, + "replyToName": { + "type": "string", + "description": "Name set in the reply to field for the mail. Default value is sender name.", + "x-example": "<REPLY_TO_NAME>" + }, + "replyToEmail": { + "type": "string", + "description": "Email set in the reply to field for the mail. Default value is sender email.", + "x-example": "<REPLY_TO_EMAIL>" + } + } + } + } + } + } + } + }, + "\/messaging\/providers\/msg91": { + "post": { + "summary": "Create Msg91 provider", + "operationId": "messagingCreateMsg91Provider", + "tags": [ + "messaging" + ], + "description": "Create a new MSG91 provider.", + "responses": { + "201": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "createMsg91Provider", + "group": "providers", + "weight": 348, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-msg91provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-msg91-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "templateId": { + "type": "string", + "description": "Msg91 template ID", + "x-example": "<TEMPLATE_ID>" + }, + "senderId": { + "type": "string", + "description": "Msg91 sender ID.", + "x-example": "<SENDER_ID>" + }, + "authKey": { + "type": "string", + "description": "Msg91 auth key.", + "x-example": "<AUTH_KEY>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + } + } + } + }, + "\/messaging\/providers\/msg91\/{providerId}": { + "patch": { + "summary": "Update Msg91 provider", + "operationId": "messagingUpdateMsg91Provider", + "tags": [ + "messaging" + ], + "description": "Update a MSG91 provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "updateMsg91Provider", + "group": "providers", + "weight": 361, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-msg91provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-msg91-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROVIDER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + }, + "templateId": { + "type": "string", + "description": "Msg91 template ID.", + "x-example": "<TEMPLATE_ID>" + }, + "senderId": { + "type": "string", + "description": "Msg91 sender ID.", + "x-example": "<SENDER_ID>" + }, + "authKey": { + "type": "string", + "description": "Msg91 auth key.", + "x-example": "<AUTH_KEY>" + } + } + } + } + } + } + } + }, + "\/messaging\/providers\/sendgrid": { + "post": { + "summary": "Create Sendgrid provider", + "operationId": "messagingCreateSendgridProvider", + "tags": [ + "messaging" + ], + "description": "Create a new Sendgrid provider.", + "responses": { + "201": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "createSendgridProvider", + "group": "providers", + "weight": 346, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-sendgrid-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-sendgrid-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "apiKey": { + "type": "string", + "description": "Sendgrid API key.", + "x-example": "<API_KEY>" + }, + "fromName": { + "type": "string", + "description": "Sender Name.", + "x-example": "<FROM_NAME>" + }, + "fromEmail": { + "type": "string", + "description": "Sender email address.", + "x-example": "email@example.com" + }, + "replyToName": { + "type": "string", + "description": "Name set in the reply to field for the mail. Default value is sender name.", + "x-example": "<REPLY_TO_NAME>" + }, + "replyToEmail": { + "type": "string", + "description": "Email set in the reply to field for the mail. Default value is sender email.", + "x-example": "email@example.com" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + } + } + } + }, + "\/messaging\/providers\/sendgrid\/{providerId}": { + "patch": { + "summary": "Update Sendgrid provider", + "operationId": "messagingUpdateSendgridProvider", + "tags": [ + "messaging" + ], + "description": "Update a Sendgrid provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "updateSendgridProvider", + "group": "providers", + "weight": 359, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-sendgrid-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-sendgrid-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROVIDER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + }, + "apiKey": { + "type": "string", + "description": "Sendgrid API key.", + "x-example": "<API_KEY>" + }, + "fromName": { + "type": "string", + "description": "Sender Name.", + "x-example": "<FROM_NAME>" + }, + "fromEmail": { + "type": "string", + "description": "Sender email address.", + "x-example": "email@example.com" + }, + "replyToName": { + "type": "string", + "description": "Name set in the Reply To field for the mail. Default value is Sender Name.", + "x-example": "<REPLY_TO_NAME>" + }, + "replyToEmail": { + "type": "string", + "description": "Email set in the Reply To field for the mail. Default value is Sender Email.", + "x-example": "<REPLY_TO_EMAIL>" + } + } + } + } + } + } + } + }, + "\/messaging\/providers\/smtp": { + "post": { + "summary": "Create SMTP provider", + "operationId": "messagingCreateSmtpProvider", + "tags": [ + "messaging" + ], + "description": "Create a new SMTP provider.", + "responses": { + "201": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "createSmtpProvider", + "group": "providers", + "weight": 347, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-smtp-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-smtp-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "host": { + "type": "string", + "description": "SMTP hosts. Either a single hostname or multiple semicolon-delimited hostnames. You can also specify a different port for each host such as `smtp1.example.com:25;smtp2.example.com`. You can also specify encryption type, for example: `tls:\/\/smtp1.example.com:587;ssl:\/\/smtp2.example.com:465\"`. Hosts will be tried in order.", + "x-example": "<HOST>" + }, + "port": { + "type": "integer", + "description": "The default SMTP server port.", + "x-example": 1 + }, + "username": { + "type": "string", + "description": "Authentication username.", + "x-example": "<USERNAME>" + }, + "password": { + "type": "string", + "description": "Authentication password.", + "x-example": "<PASSWORD>" + }, + "encryption": { + "type": "string", + "description": "Encryption type. Can be omitted, 'ssl', or 'tls'", + "x-example": "none", + "enum": [ + "none", + "ssl", + "tls" + ], + "x-enum-name": "SmtpEncryption", + "x-enum-keys": [] + }, + "autoTLS": { + "type": "boolean", + "description": "Enable SMTP AutoTLS feature.", + "x-example": false + }, + "mailer": { + "type": "string", + "description": "The value to use for the X-Mailer header.", + "x-example": "<MAILER>" + }, + "fromName": { + "type": "string", + "description": "Sender Name.", + "x-example": "<FROM_NAME>" + }, + "fromEmail": { + "type": "string", + "description": "Sender email address.", + "x-example": "email@example.com" + }, + "replyToName": { + "type": "string", + "description": "Name set in the reply to field for the mail. Default value is sender name.", + "x-example": "<REPLY_TO_NAME>" + }, + "replyToEmail": { + "type": "string", + "description": "Email set in the reply to field for the mail. Default value is sender email.", + "x-example": "email@example.com" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + } + }, + "required": [ + "providerId", + "name", + "host" + ] + } + } + } + } + } + }, + "\/messaging\/providers\/smtp\/{providerId}": { + "patch": { + "summary": "Update SMTP provider", + "operationId": "messagingUpdateSmtpProvider", + "tags": [ + "messaging" + ], + "description": "Update a SMTP provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "updateSmtpProvider", + "group": "providers", + "weight": 360, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-smtp-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-smtp-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROVIDER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "host": { + "type": "string", + "description": "SMTP hosts. Either a single hostname or multiple semicolon-delimited hostnames. You can also specify a different port for each host such as `smtp1.example.com:25;smtp2.example.com`. You can also specify encryption type, for example: `tls:\/\/smtp1.example.com:587;ssl:\/\/smtp2.example.com:465\"`. Hosts will be tried in order.", + "x-example": "<HOST>" + }, + "port": { + "type": "integer", + "description": "SMTP port.", + "x-example": 1 + }, + "username": { + "type": "string", + "description": "Authentication username.", + "x-example": "<USERNAME>" + }, + "password": { + "type": "string", + "description": "Authentication password.", + "x-example": "<PASSWORD>" + }, + "encryption": { + "type": "string", + "description": "Encryption type. Can be 'ssl' or 'tls'", + "x-example": "none", + "enum": [ + "none", + "ssl", + "tls" + ], + "x-enum-name": "SmtpEncryption", + "x-enum-keys": [] + }, + "autoTLS": { + "type": "boolean", + "description": "Enable SMTP AutoTLS feature.", + "x-example": false + }, + "mailer": { + "type": "string", + "description": "The value to use for the X-Mailer header.", + "x-example": "<MAILER>" + }, + "fromName": { + "type": "string", + "description": "Sender Name.", + "x-example": "<FROM_NAME>" + }, + "fromEmail": { + "type": "string", + "description": "Sender email address.", + "x-example": "email@example.com" + }, + "replyToName": { + "type": "string", + "description": "Name set in the Reply To field for the mail. Default value is Sender Name.", + "x-example": "<REPLY_TO_NAME>" + }, + "replyToEmail": { + "type": "string", + "description": "Email set in the Reply To field for the mail. Default value is Sender Email.", + "x-example": "<REPLY_TO_EMAIL>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + } + } + } + } + } + } + } + }, + "\/messaging\/providers\/telesign": { + "post": { + "summary": "Create Telesign provider", + "operationId": "messagingCreateTelesignProvider", + "tags": [ + "messaging" + ], + "description": "Create a new Telesign provider.", + "responses": { + "201": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "createTelesignProvider", + "group": "providers", + "weight": 349, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-telesign-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-telesign-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "from": { + "type": "string", + "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "x-example": "+12065550100" + }, + "customerId": { + "type": "string", + "description": "Telesign customer ID.", + "x-example": "<CUSTOMER_ID>" + }, + "apiKey": { + "type": "string", + "description": "Telesign API key.", + "x-example": "<API_KEY>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + } + } + } + }, + "\/messaging\/providers\/telesign\/{providerId}": { + "patch": { + "summary": "Update Telesign provider", + "operationId": "messagingUpdateTelesignProvider", + "tags": [ + "messaging" + ], + "description": "Update a Telesign provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "updateTelesignProvider", + "group": "providers", + "weight": 362, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-telesign-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-telesign-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROVIDER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + }, + "customerId": { + "type": "string", + "description": "Telesign customer ID.", + "x-example": "<CUSTOMER_ID>" + }, + "apiKey": { + "type": "string", + "description": "Telesign API key.", + "x-example": "<API_KEY>" + }, + "from": { + "type": "string", + "description": "Sender number.", + "x-example": "<FROM>" + } + } + } + } + } + } + } + }, + "\/messaging\/providers\/textmagic": { + "post": { + "summary": "Create Textmagic provider", + "operationId": "messagingCreateTextmagicProvider", + "tags": [ + "messaging" + ], + "description": "Create a new Textmagic provider.", + "responses": { + "201": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "createTextmagicProvider", + "group": "providers", + "weight": 350, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-textmagic-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-textmagic-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "from": { + "type": "string", + "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "x-example": "+12065550100" + }, + "username": { + "type": "string", + "description": "Textmagic username.", + "x-example": "<USERNAME>" + }, + "apiKey": { + "type": "string", + "description": "Textmagic apiKey.", + "x-example": "<API_KEY>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + } + } + } + }, + "\/messaging\/providers\/textmagic\/{providerId}": { + "patch": { + "summary": "Update Textmagic provider", + "operationId": "messagingUpdateTextmagicProvider", + "tags": [ + "messaging" + ], + "description": "Update a Textmagic provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "updateTextmagicProvider", + "group": "providers", + "weight": 363, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-textmagic-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-textmagic-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROVIDER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + }, + "username": { + "type": "string", + "description": "Textmagic username.", + "x-example": "<USERNAME>" + }, + "apiKey": { + "type": "string", + "description": "Textmagic apiKey.", + "x-example": "<API_KEY>" + }, + "from": { + "type": "string", + "description": "Sender number.", + "x-example": "<FROM>" + } + } + } + } + } + } + } + }, + "\/messaging\/providers\/twilio": { + "post": { + "summary": "Create Twilio provider", + "operationId": "messagingCreateTwilioProvider", + "tags": [ + "messaging" + ], + "description": "Create a new Twilio provider.", + "responses": { + "201": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "createTwilioProvider", + "group": "providers", + "weight": 351, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-twilio-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-twilio-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "from": { + "type": "string", + "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "x-example": "+12065550100" + }, + "accountSid": { + "type": "string", + "description": "Twilio account secret ID.", + "x-example": "<ACCOUNT_SID>" + }, + "authToken": { + "type": "string", + "description": "Twilio authentication token.", + "x-example": "<AUTH_TOKEN>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + } + } + } + }, + "\/messaging\/providers\/twilio\/{providerId}": { + "patch": { + "summary": "Update Twilio provider", + "operationId": "messagingUpdateTwilioProvider", + "tags": [ + "messaging" + ], + "description": "Update a Twilio provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "updateTwilioProvider", + "group": "providers", + "weight": 364, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-twilio-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-twilio-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROVIDER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + }, + "accountSid": { + "type": "string", + "description": "Twilio account secret ID.", + "x-example": "<ACCOUNT_SID>" + }, + "authToken": { + "type": "string", + "description": "Twilio authentication token.", + "x-example": "<AUTH_TOKEN>" + }, + "from": { + "type": "string", + "description": "Sender number.", + "x-example": "<FROM>" + } + } + } + } + } + } + } + }, + "\/messaging\/providers\/vonage": { + "post": { + "summary": "Create Vonage provider", + "operationId": "messagingCreateVonageProvider", + "tags": [ + "messaging" + ], + "description": "Create a new Vonage provider.", + "responses": { + "201": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "createVonageProvider", + "group": "providers", + "weight": 352, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-vonage-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-vonage-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "from": { + "type": "string", + "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "x-example": "+12065550100" + }, + "apiKey": { + "type": "string", + "description": "Vonage API key.", + "x-example": "<API_KEY>" + }, + "apiSecret": { + "type": "string", + "description": "Vonage API secret.", + "x-example": "<API_SECRET>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + } + } + } + }, + "\/messaging\/providers\/vonage\/{providerId}": { + "patch": { + "summary": "Update Vonage provider", + "operationId": "messagingUpdateVonageProvider", + "tags": [ + "messaging" + ], + "description": "Update a Vonage provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "updateVonageProvider", + "group": "providers", + "weight": 365, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-vonage-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-vonage-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROVIDER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "x-example": false + }, + "apiKey": { + "type": "string", + "description": "Vonage API key.", + "x-example": "<API_KEY>" + }, + "apiSecret": { + "type": "string", + "description": "Vonage API secret.", + "x-example": "<API_SECRET>" + }, + "from": { + "type": "string", + "description": "Sender number.", + "x-example": "<FROM>" + } + } + } + } + } + } + } + }, + "\/messaging\/providers\/{providerId}": { + "get": { + "summary": "Get provider", + "operationId": "messagingGetProvider", + "tags": [ + "messaging" + ], + "description": "Get a provider by its unique ID.\n", + "responses": { + "200": { + "description": "Provider", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/provider" + } + } + } + } + }, + "x-appwrite": { + "method": "getProvider", + "group": "providers", + "weight": 357, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/get-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROVIDER_ID>" + }, + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete provider", + "operationId": "messagingDeleteProvider", + "tags": [ + "messaging" + ], + "description": "Delete a provider by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteProvider", + "group": "providers", + "weight": 368, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/delete-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROVIDER_ID>" + }, + "in": "path" + } + ] + } + }, + "\/messaging\/providers\/{providerId}\/logs": { + "get": { + "summary": "List provider logs", + "operationId": "messagingListProviderLogs", + "tags": [ + "messaging" + ], + "description": "Get the provider activity logs listed by its unique ID.", + "responses": { + "200": { + "description": "Logs List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/logList" + } + } + } + } + }, + "x-appwrite": { + "method": "listProviderLogs", + "group": "providers", + "weight": 356, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-provider-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-provider-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<PROVIDER_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + } + }, + "\/messaging\/subscribers\/{subscriberId}\/logs": { + "get": { + "summary": "List subscriber logs", + "operationId": "messagingListSubscriberLogs", + "tags": [ + "messaging" + ], + "description": "Get the subscriber activity logs listed by its unique ID.", + "responses": { + "200": { + "description": "Logs List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/logList" + } + } + } + } + }, + "x-appwrite": { + "method": "listSubscriberLogs", + "group": "subscribers", + "weight": 377, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-subscriber-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-subscriber-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "subscribers.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "subscriberId", + "description": "Subscriber ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<SUBSCRIBER_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + } + }, + "\/messaging\/topics": { + "get": { + "summary": "List topics", + "operationId": "messagingListTopics", + "tags": [ + "messaging" + ], + "description": "Get a list of all topics from the current Appwrite project.", + "responses": { + "200": { + "description": "Topic list", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/topicList" + } + } + } + } + }, + "x-appwrite": { + "method": "listTopics", + "group": "topics", + "weight": 370, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-topics.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-topics.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "topics.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, description, emailTotal, smsTotal, pushTotal", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create topic", + "operationId": "messagingCreateTopic", + "tags": [ + "messaging" + ], + "description": "Create a new topic.", + "responses": { + "201": { + "description": "Topic", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/topic" + } + } + } + } + }, + "x-appwrite": { + "method": "createTopic", + "group": "topics", + "weight": 369, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-topic.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-topic.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "topics.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "topicId": { + "type": "string", + "description": "Topic ID. Choose a custom Topic ID or a new Topic ID.", + "x-example": "<TOPIC_ID>" + }, + "name": { + "type": "string", + "description": "Topic Name.", + "x-example": "<NAME>" + }, + "subscribe": { + "type": "array", + "description": "An array of role strings with subscribe permission. By default all users are granted with any subscribe permission. [learn more about roles](https:\/\/appwrite.io\/docs\/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.", + "x-example": "[\"any\"]", + "items": { + "type": "string" + } + } + }, + "required": [ + "topicId", + "name" + ] + } + } + } + } + } + }, + "\/messaging\/topics\/{topicId}": { + "get": { + "summary": "Get topic", + "operationId": "messagingGetTopic", + "tags": [ + "messaging" + ], + "description": "Get a topic by its unique ID.\n", + "responses": { + "200": { + "description": "Topic", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/topic" + } + } + } + } + }, + "x-appwrite": { + "method": "getTopic", + "group": "topics", + "weight": 372, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/get-topic.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-topic.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "topics.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TOPIC_ID>" + }, + "in": "path" + } + ] + }, + "patch": { + "summary": "Update topic", + "operationId": "messagingUpdateTopic", + "tags": [ + "messaging" + ], + "description": "Update a topic by its unique ID.\n", + "responses": { + "200": { + "description": "Topic", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/topic" + } + } + } + } + }, + "x-appwrite": { + "method": "updateTopic", + "group": "topics", + "weight": 373, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-topic.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-topic.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "topics.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TOPIC_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Topic Name.", + "x-example": "<NAME>" + }, + "subscribe": { + "type": "array", + "description": "An array of role strings with subscribe permission. By default all users are granted with any subscribe permission. [learn more about roles](https:\/\/appwrite.io\/docs\/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.", + "x-example": "[\"any\"]", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete topic", + "operationId": "messagingDeleteTopic", + "tags": [ + "messaging" + ], + "description": "Delete a topic by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteTopic", + "group": "topics", + "weight": 374, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/delete-topic.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-topic.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "topics.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TOPIC_ID>" + }, + "in": "path" + } + ] + } + }, + "\/messaging\/topics\/{topicId}\/logs": { + "get": { + "summary": "List topic logs", + "operationId": "messagingListTopicLogs", + "tags": [ + "messaging" + ], + "description": "Get the topic activity logs listed by its unique ID.", + "responses": { + "200": { + "description": "Logs List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/logList" + } + } + } + } + }, + "x-appwrite": { + "method": "listTopicLogs", + "group": "topics", + "weight": 371, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-topic-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-topic-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "topics.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TOPIC_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + } + }, + "\/messaging\/topics\/{topicId}\/subscribers": { + "get": { + "summary": "List subscribers", + "operationId": "messagingListSubscribers", + "tags": [ + "messaging" + ], + "description": "Get a list of all subscribers from the current Appwrite project.", + "responses": { + "200": { + "description": "Subscriber list", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/subscriberList" + } + } + } + } + }, + "x-appwrite": { + "method": "listSubscribers", + "group": "subscribers", + "weight": 376, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-subscribers.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-subscribers.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "subscribers.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID. The topic ID subscribed to.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TOPIC_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, provider, type, enabled", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create subscriber", + "operationId": "messagingCreateSubscriber", + "tags": [ + "messaging" + ], + "description": "Create a new subscriber.", + "responses": { + "201": { + "description": "Subscriber", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/subscriber" + } + } + } + } + }, + "x-appwrite": { + "method": "createSubscriber", + "group": "subscribers", + "weight": 375, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-subscriber.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-subscriber.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "subscribers.write", + "platforms": [ + "server", + "client", + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "JWT": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [], + "Session": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID. The topic ID to subscribe to.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TOPIC_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "subscriberId": { + "type": "string", + "description": "Subscriber ID. Choose a custom Subscriber ID or a new Subscriber ID.", + "x-example": "<SUBSCRIBER_ID>" + }, + "targetId": { + "type": "string", + "description": "Target ID. The target ID to link to the specified Topic ID.", + "x-example": "<TARGET_ID>" + } + }, + "required": [ + "subscriberId", + "targetId" + ] + } + } + } + } + } + }, + "\/messaging\/topics\/{topicId}\/subscribers\/{subscriberId}": { + "get": { + "summary": "Get subscriber", + "operationId": "messagingGetSubscriber", + "tags": [ + "messaging" + ], + "description": "Get a subscriber by its unique ID.\n", + "responses": { + "200": { + "description": "Subscriber", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/subscriber" + } + } + } + } + }, + "x-appwrite": { + "method": "getSubscriber", + "group": "subscribers", + "weight": 378, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/get-subscriber.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-subscriber.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "subscribers.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID. The topic ID subscribed to.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TOPIC_ID>" + }, + "in": "path" + }, + { + "name": "subscriberId", + "description": "Subscriber ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<SUBSCRIBER_ID>" + }, + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete subscriber", + "operationId": "messagingDeleteSubscriber", + "tags": [ + "messaging" + ], + "description": "Delete a subscriber by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteSubscriber", + "group": "subscribers", + "weight": 379, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/delete-subscriber.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-subscriber.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "subscribers.write", + "platforms": [ + "server", + "client", + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "JWT": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [], + "Session": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID. The topic ID subscribed to.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TOPIC_ID>" + }, + "in": "path" + }, + { + "name": "subscriberId", + "description": "Subscriber ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<SUBSCRIBER_ID>" + }, + "in": "path" + } + ] + } + }, + "\/storage\/buckets": { + "get": { + "summary": "List buckets", + "operationId": "storageListBuckets", + "tags": [ + "storage" + ], + "description": "Get a list of all the storage buckets. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Buckets List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/bucketList" + } + } + } + } + }, + "x-appwrite": { + "method": "listBuckets", + "group": "buckets", + "weight": 202, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/list-buckets.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-buckets.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "buckets.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: enabled, name, fileSecurity, maximumFileSize, encryption, antivirus", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create bucket", + "operationId": "storageCreateBucket", + "tags": [ + "storage" + ], + "description": "Create a new storage bucket.", + "responses": { + "201": { + "description": "Bucket", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/bucket" + } + } + } + } + }, + "x-appwrite": { + "method": "createBucket", + "group": "buckets", + "weight": 201, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/create-bucket.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-bucket.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "buckets.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "bucketId": { + "type": "string", + "description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<BUCKET_ID>" + }, + "name": { + "type": "string", + "description": "Bucket name", + "x-example": "<NAME>" + }, + "permissions": { + "type": "array", + "description": "An array of permission strings. By default, no user is granted with any permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + }, + "fileSecurity": { + "type": "boolean", + "description": "Enables configuring permissions for individual file. A user needs one of file or bucket level permissions to access a file. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": false + }, + "enabled": { + "type": "boolean", + "description": "Is bucket enabled? When set to 'disabled', users cannot access the files in this bucket but Server SDKs with and API key can still access the bucket. No files are lost when this is toggled.", + "x-example": false + }, + "maximumFileSize": { + "type": "integer", + "description": "Maximum file size allowed in bytes. Maximum allowed value is 30MB.", + "x-example": 1 + }, + "allowedFileExtensions": { + "type": "array", + "description": "Allowed file extensions. Maximum of 100 extensions are allowed, each 64 characters long.", + "x-example": null, + "items": { + "type": "string" + } + }, + "compression": { + "type": "string", + "description": "Compression algorithm choosen for compression. Can be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd), For file size above 20MB compression is skipped even if it's enabled", + "x-example": "none", + "enum": [ + "none", + "gzip", + "zstd" + ], + "x-enum-name": null, + "x-enum-keys": [] + }, + "encryption": { + "type": "boolean", + "description": "Is encryption enabled? For file size above 20MB encryption is skipped even if it's enabled", + "x-example": false + }, + "antivirus": { + "type": "boolean", + "description": "Is virus scanning enabled? For file size above 20MB AntiVirus scanning is skipped even if it's enabled", + "x-example": false + } + }, + "required": [ + "bucketId", + "name" + ] + } + } + } + } + } + }, + "\/storage\/buckets\/{bucketId}": { + "get": { + "summary": "Get bucket", + "operationId": "storageGetBucket", + "tags": [ + "storage" + ], + "description": "Get a storage bucket by its unique ID. This endpoint response returns a JSON object with the storage bucket metadata.", + "responses": { + "200": { + "description": "Bucket", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/bucket" + } + } + } + } + }, + "x-appwrite": { + "method": "getBucket", + "group": "buckets", + "weight": 203, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/get-bucket.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-bucket.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "buckets.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Bucket unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<BUCKET_ID>" + }, + "in": "path" + } + ] + }, + "put": { + "summary": "Update bucket", + "operationId": "storageUpdateBucket", + "tags": [ + "storage" + ], + "description": "Update a storage bucket by its unique ID.", + "responses": { + "200": { + "description": "Bucket", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/bucket" + } + } + } + } + }, + "x-appwrite": { + "method": "updateBucket", + "group": "buckets", + "weight": 204, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/update-bucket.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-bucket.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "buckets.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Bucket unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<BUCKET_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Bucket name", + "x-example": "<NAME>" + }, + "permissions": { + "type": "array", + "description": "An array of permission strings. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + }, + "fileSecurity": { + "type": "boolean", + "description": "Enables configuring permissions for individual file. A user needs one of file or bucket level permissions to access a file. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": false + }, + "enabled": { + "type": "boolean", + "description": "Is bucket enabled? When set to 'disabled', users cannot access the files in this bucket but Server SDKs with and API key can still access the bucket. No files are lost when this is toggled.", + "x-example": false + }, + "maximumFileSize": { + "type": "integer", + "description": "Maximum file size allowed in bytes. Maximum allowed value is 30MB.", + "x-example": 1 + }, + "allowedFileExtensions": { + "type": "array", + "description": "Allowed file extensions. Maximum of 100 extensions are allowed, each 64 characters long.", + "x-example": null, + "items": { + "type": "string" + } + }, + "compression": { + "type": "string", + "description": "Compression algorithm choosen for compression. Can be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd), For file size above 20MB compression is skipped even if it's enabled", + "x-example": "none", + "enum": [ + "none", + "gzip", + "zstd" + ], + "x-enum-name": null, + "x-enum-keys": [] + }, + "encryption": { + "type": "boolean", + "description": "Is encryption enabled? For file size above 20MB encryption is skipped even if it's enabled", + "x-example": false + }, + "antivirus": { + "type": "boolean", + "description": "Is virus scanning enabled? For file size above 20MB AntiVirus scanning is skipped even if it's enabled", + "x-example": false + } + }, + "required": [ + "name" + ] + } + } + } + } + }, + "delete": { + "summary": "Delete bucket", + "operationId": "storageDeleteBucket", + "tags": [ + "storage" + ], + "description": "Delete a storage bucket by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteBucket", + "group": "buckets", + "weight": 205, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/delete-bucket.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-bucket.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "buckets.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Bucket unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<BUCKET_ID>" + }, + "in": "path" + } + ] + } + }, + "\/storage\/buckets\/{bucketId}\/files": { + "get": { + "summary": "List files", + "operationId": "storageListFiles", + "tags": [ + "storage" + ], + "description": "Get a list of all the user files. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Files List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/fileList" + } + } + } + } + }, + "x-appwrite": { + "method": "listFiles", + "group": "files", + "weight": 207, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/list-files.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-files.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "schema": { + "type": "string", + "x-example": "<BUCKET_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, signature, mimeType, sizeOriginal, chunksTotal, chunksUploaded", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create file", + "operationId": "storageCreateFile", + "tags": [ + "storage" + ], + "description": "Create a new file. Before using this route, you should create a new bucket resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/storage#storageCreateBucket) API or directly from your Appwrite console.\n\nLarger files should be uploaded using multiple requests with the [content-range](https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTTP\/Headers\/Content-Range) header to send a partial request with a maximum supported chunk of `5MB`. The `content-range` header values should always be in bytes.\n\nWhen the first request is sent, the server will return the **File** object, and the subsequent part request must include the file's **id** in `x-appwrite-id` header to allow the server to know that the partial upload is for the existing file and not for a new one.\n\nIf you're creating a new file using one of the Appwrite SDKs, all the chunking logic will be managed by the SDK internally.\n", + "responses": { + "201": { + "description": "File", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/file" + } + } + } + } + }, + "x-appwrite": { + "method": "createFile", + "group": "files", + "weight": 206, + "cookies": false, + "type": "upload", + "deprecated": false, + "demo": "storage\/create-file.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-file.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId},chunkId:{chunkId}", + "scope": "files.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "schema": { + "type": "string", + "x-example": "<BUCKET_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "multipart\/form-data": { + "schema": { + "type": "object", + "properties": { + "fileId": { + "type": "string", + "description": "File ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<FILE_ID>", + "x-upload-id": true + }, + "file": { + "type": "string", + "description": "Binary file. Appwrite SDKs provide helpers to handle file input. [Learn about file input](https:\/\/appwrite.io\/docs\/products\/storage\/upload-download#input-file).", + "x-example": null + }, + "permissions": { + "type": "array", + "description": "An array of permission strings. By default, only the current user is granted all permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + } + }, + "required": [ + "fileId", + "file" + ] + } + } + } + } + } + }, + "\/storage\/buckets\/{bucketId}\/files\/{fileId}": { + "get": { + "summary": "Get file", + "operationId": "storageGetFile", + "tags": [ + "storage" + ], + "description": "Get a file by its unique ID. This endpoint response returns a JSON object with the file metadata.", + "responses": { + "200": { + "description": "File", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/file" + } + } + } + } + }, + "x-appwrite": { + "method": "getFile", + "group": "files", + "weight": 208, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/get-file.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "schema": { + "type": "string", + "x-example": "<BUCKET_ID>" + }, + "in": "path" + }, + { + "name": "fileId", + "description": "File ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FILE_ID>" + }, + "in": "path" + } + ] + }, + "put": { + "summary": "Update file", + "operationId": "storageUpdateFile", + "tags": [ + "storage" + ], + "description": "Update a file by its unique ID. Only users with write permissions have access to update this resource.", + "responses": { + "200": { + "description": "File", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/file" + } + } + } + } + }, + "x-appwrite": { + "method": "updateFile", + "group": "files", + "weight": 213, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/update-file.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-file.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", + "scope": "files.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "schema": { + "type": "string", + "x-example": "<BUCKET_ID>" + }, + "in": "path" + }, + { + "name": "fileId", + "description": "File unique ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FILE_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the file", + "x-example": "<NAME>" + }, + "permissions": { + "type": "array", + "description": "An array of permission string. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete file", + "operationId": "storageDeleteFile", + "tags": [ + "storage" + ], + "description": "Delete a file by its unique ID. Only users with write permissions have access to delete this resource.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteFile", + "group": "files", + "weight": 214, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/delete-file.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-file.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", + "scope": "files.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "schema": { + "type": "string", + "x-example": "<BUCKET_ID>" + }, + "in": "path" + }, + { + "name": "fileId", + "description": "File ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FILE_ID>" + }, + "in": "path" + } + ] + } + }, + "\/storage\/buckets\/{bucketId}\/files\/{fileId}\/download": { + "get": { + "summary": "Get file for download", + "operationId": "storageGetFileDownload", + "tags": [ + "storage" + ], + "description": "Get a file content by its unique ID. The endpoint response return with a 'Content-Disposition: attachment' header that tells the browser to start downloading the file to user downloads directory.", + "responses": { + "200": { + "description": "File" + } + }, + "x-appwrite": { + "method": "getFileDownload", + "group": "files", + "weight": 210, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "storage\/get-file-download.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-download.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "schema": { + "type": "string", + "x-example": "<BUCKET_ID>" + }, + "in": "path" + }, + { + "name": "fileId", + "description": "File ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FILE_ID>" + }, + "in": "path" + } + ] + } + }, + "\/storage\/buckets\/{bucketId}\/files\/{fileId}\/preview": { + "get": { + "summary": "Get file preview", + "operationId": "storageGetFilePreview", + "tags": [ + "storage" + ], + "description": "Get a file preview image. Currently, this method supports preview for image files (jpg, png, and gif), other supported formats, like pdf, docs, slides, and spreadsheets, will return the file icon image. You can also pass query string arguments for cutting and resizing your preview image. Preview is supported only for image files smaller than 10MB.", + "responses": { + "200": { + "description": "Image" + } + }, + "x-appwrite": { + "method": "getFilePreview", + "group": "files", + "weight": 209, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "storage\/get-file-preview.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-preview.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "schema": { + "type": "string", + "x-example": "<BUCKET_ID>" + }, + "in": "path" + }, + { + "name": "fileId", + "description": "File ID", + "required": true, + "schema": { + "type": "string", + "x-example": "<FILE_ID>" + }, + "in": "path" + }, + { + "name": "width", + "description": "Resize preview image width, Pass an integer between 0 to 4000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 0 + }, + "in": "query" + }, + { + "name": "height", + "description": "Resize preview image height, Pass an integer between 0 to 4000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 0 + }, + "in": "query" + }, + { + "name": "gravity", + "description": "Image crop gravity. Can be one of center,top-left,top,top-right,left,right,bottom-left,bottom,bottom-right", + "required": false, + "schema": { + "type": "string", + "x-example": "center", + "enum": [ + "center", + "top-left", + "top", + "top-right", + "left", + "right", + "bottom-left", + "bottom", + "bottom-right" + ], + "x-enum-name": "ImageGravity", + "x-enum-keys": [], + "default": "center" + }, + "in": "query" + }, + { + "name": "quality", + "description": "Preview image quality. Pass an integer between 0 to 100. Defaults to 100.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100 + }, + "in": "query" + }, + { + "name": "borderWidth", + "description": "Preview image border in pixels. Pass an integer between 0 to 100. Defaults to 0.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 0 + }, + "in": "query" + }, + { + "name": "borderColor", + "description": "Preview image border color. Use a valid HEX color, no # is needed for prefix.", + "required": false, + "schema": { + "type": "string", + "default": "" + }, + "in": "query" + }, + { + "name": "borderRadius", + "description": "Preview image border radius in pixels. Pass an integer between 0 to 4000.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 0 + }, + "in": "query" + }, + { + "name": "opacity", + "description": "Preview image opacity. Only works with images having an alpha channel (like png). Pass a number between 0 to 1.", + "required": false, + "schema": { + "type": "number", + "format": "float", + "x-example": 0, + "default": 1 + }, + "in": "query" + }, + { + "name": "rotation", + "description": "Preview image rotation in degrees. Pass an integer between -360 and 360.", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "x-example": -360, + "default": 0 + }, + "in": "query" + }, + { + "name": "background", + "description": "Preview image background color. Only works with transparent images (png). Use a valid HEX color, no # is needed for prefix.", + "required": false, + "schema": { + "type": "string", + "default": "" + }, + "in": "query" + }, + { + "name": "output", + "description": "Output format type (jpeg, jpg, png, gif and webp).", + "required": false, + "schema": { + "type": "string", + "x-example": "jpg", + "enum": [ + "jpg", + "jpeg", + "gif", + "png", + "webp", + "heic", + "avif" + ], + "x-enum-name": "ImageFormat", + "x-enum-keys": [], + "default": "" + }, + "in": "query" + } + ] + } + }, + "\/storage\/buckets\/{bucketId}\/files\/{fileId}\/view": { + "get": { + "summary": "Get file for view", + "operationId": "storageGetFileView", + "tags": [ + "storage" + ], + "description": "Get a file content by its unique ID. This endpoint is similar to the download method but returns with no 'Content-Disposition: attachment' header.", + "responses": { + "200": { + "description": "File" + } + }, + "x-appwrite": { + "method": "getFileView", + "group": "files", + "weight": 211, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "storage\/get-file-view.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-view.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "schema": { + "type": "string", + "x-example": "<BUCKET_ID>" + }, + "in": "path" + }, + { + "name": "fileId", + "description": "File ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<FILE_ID>" + }, + "in": "path" + } + ] + } + }, + "\/teams": { + "get": { + "summary": "List teams", + "operationId": "teamsList", + "tags": [ + "teams" + ], + "description": "Get a list of all the teams in which the current user is a member. You can use the parameters to filter your results.", + "responses": { + "200": { + "description": "Teams List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/teamList" + } + } + } + } + }, + "x-appwrite": { + "method": "list", + "group": "teams", + "weight": 218, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/list.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-teams.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, total, billingPlan", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create team", + "operationId": "teamsCreate", + "tags": [ + "teams" + ], + "description": "Create a new team. The user who creates the team will automatically be assigned as the owner of the team. Only the users with the owner role can invite new members, add new owners and delete or update the team.", + "responses": { + "201": { + "description": "Team", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/team" + } + } + } + } + }, + "x-appwrite": { + "method": "create", + "group": "teams", + "weight": 217, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/create.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "teamId": { + "type": "string", + "description": "Team ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<TEAM_ID>" + }, + "name": { + "type": "string", + "description": "Team name. Max length: 128 chars.", + "x-example": "<NAME>" + }, + "roles": { + "type": "array", + "description": "Array of strings. Use this param to set the roles in the team for the user who created it. The default role is **owner**. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.", + "x-example": null, + "items": { + "type": "string" + } + } + }, + "required": [ + "teamId", + "name" + ] + } + } + } + } + } + }, + "\/teams\/{teamId}": { + "get": { + "summary": "Get team", + "operationId": "teamsGet", + "tags": [ + "teams" + ], + "description": "Get a team by its ID. All team members have read access for this resource.", + "responses": { + "200": { + "description": "Team", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/team" + } + } + } + } + }, + "x-appwrite": { + "method": "get", + "group": "teams", + "weight": 219, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TEAM_ID>" + }, + "in": "path" + } + ] + }, + "put": { + "summary": "Update name", + "operationId": "teamsUpdateName", + "tags": [ + "teams" + ], + "description": "Update the team's name by its unique ID.", + "responses": { + "200": { + "description": "Team", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/team" + } + } + } + } + }, + "x-appwrite": { + "method": "updateName", + "group": "teams", + "weight": 221, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/update-name.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-name.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TEAM_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "New team name. Max length: 128 chars.", + "x-example": "<NAME>" + } + }, + "required": [ + "name" + ] + } + } + } + } + }, + "delete": { + "summary": "Delete team", + "operationId": "teamsDelete", + "tags": [ + "teams" + ], + "description": "Delete a team using its ID. Only team members with the owner role can delete the team.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "delete", + "group": "teams", + "weight": 223, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/delete.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TEAM_ID>" + }, + "in": "path" + } + ] + } + }, + "\/teams\/{teamId}\/memberships": { + "get": { + "summary": "List team memberships", + "operationId": "teamsListMemberships", + "tags": [ + "teams" + ], + "description": "Use this endpoint to list a team's members using the team's ID. All team members have read access to this endpoint. Hide sensitive attributes from the response by toggling membership privacy in the Console.", + "responses": { + "200": { + "description": "Memberships List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/membershipList" + } + } + } + } + }, + "x-appwrite": { + "method": "listMemberships", + "group": "memberships", + "weight": 225, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/list-memberships.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-team-members.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TEAM_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, teamId, invited, joined, confirm", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create team membership", + "operationId": "teamsCreateMembership", + "tags": [ + "teams" + ], + "description": "Invite a new member to join your team. Provide an ID for existing users, or invite unregistered users using an email or phone number. If initiated from a Client SDK, Appwrite will send an email or sms with a link to join the team to the invited user, and an account will be created for them if one doesn't exist. If initiated from a Server SDK, the new member will be added automatically to the team.\n\nYou only need to provide one of a user ID, email, or phone number. Appwrite will prioritize accepting the user ID > email > phone number if you provide more than one of these parameters.\n\nUse the `url` parameter to redirect the user from the invitation email to your app. After the user is redirected, use the [Update Team Membership Status](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/teams#updateMembershipStatus) endpoint to allow the user to accept the invitation to the team. \n\nPlease note that to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md) Appwrite will accept the only redirect URLs under the domains you have added as a platform on the Appwrite Console.\n", + "responses": { + "201": { + "description": "Membership", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/membership" + } + } + } + } + }, + "x-appwrite": { + "method": "createMembership", + "group": "memberships", + "weight": 224, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/create-membership.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team-membership.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TEAM_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "email": { + "type": "string", + "description": "Email of the new team member.", + "x-example": "email@example.com" + }, + "userId": { + "type": "string", + "description": "ID of the user to be added to a team.", + "x-example": "<USER_ID>" + }, + "phone": { + "type": "string", + "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "x-example": "+12065550100" + }, + "roles": { + "type": "array", + "description": "Array of strings. Use this param to set the user roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.", + "x-example": null, + "items": { + "type": "string" + } + }, + "url": { + "type": "string", + "description": "URL to redirect the user back to your app from the invitation email. This parameter is not required when an API key is supplied. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "x-example": "https:\/\/example.com" + }, + "name": { + "type": "string", + "description": "Name of the new team member. Max length: 128 chars.", + "x-example": "<NAME>" + } + }, + "required": [ + "roles" + ] + } + } + } + } + } + }, + "\/teams\/{teamId}\/memberships\/{membershipId}": { + "get": { + "summary": "Get team membership", + "operationId": "teamsGetMembership", + "tags": [ + "teams" + ], + "description": "Get a team member by the membership unique id. All team members have read access for this resource. Hide sensitive attributes from the response by toggling membership privacy in the Console.", + "responses": { + "200": { + "description": "Membership", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/membership" + } + } + } + } + }, + "x-appwrite": { + "method": "getMembership", + "group": "memberships", + "weight": 226, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/get-membership.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-member.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TEAM_ID>" + }, + "in": "path" + }, + { + "name": "membershipId", + "description": "Membership ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<MEMBERSHIP_ID>" + }, + "in": "path" + } + ] + }, + "patch": { + "summary": "Update membership", + "operationId": "teamsUpdateMembership", + "tags": [ + "teams" + ], + "description": "Modify the roles of a team member. Only team members with the owner role have access to this endpoint. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions).\n", + "responses": { + "200": { + "description": "Membership", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/membership" + } + } + } + } + }, + "x-appwrite": { + "method": "updateMembership", + "group": "memberships", + "weight": 227, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/update-membership.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TEAM_ID>" + }, + "in": "path" + }, + { + "name": "membershipId", + "description": "Membership ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<MEMBERSHIP_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "roles": { + "type": "array", + "description": "An array of strings. Use this param to set the user's roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.", + "x-example": null, + "items": { + "type": "string" + } + } + }, + "required": [ + "roles" + ] + } + } + } + } + }, + "delete": { + "summary": "Delete team membership", + "operationId": "teamsDeleteMembership", + "tags": [ + "teams" + ], + "description": "This endpoint allows a user to leave a team or for a team owner to delete the membership of any other team member. You can also use this endpoint to delete a user membership even if it is not accepted.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteMembership", + "group": "memberships", + "weight": 229, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/delete-membership.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team-membership.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TEAM_ID>" + }, + "in": "path" + }, + { + "name": "membershipId", + "description": "Membership ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<MEMBERSHIP_ID>" + }, + "in": "path" + } + ] + } + }, + "\/teams\/{teamId}\/memberships\/{membershipId}\/status": { + "patch": { + "summary": "Update team membership status", + "operationId": "teamsUpdateMembershipStatus", + "tags": [ + "teams" + ], + "description": "Use this endpoint to allow a user to accept an invitation to join a team after being redirected back to your app from the invitation email received by the user.\n\nIf the request is successful, a session for the user is automatically created.\n", + "responses": { + "200": { + "description": "Membership", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/membership" + } + } + } + } + }, + "x-appwrite": { + "method": "updateMembershipStatus", + "group": "memberships", + "weight": 228, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/update-membership-status.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership-status.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "public", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TEAM_ID>" + }, + "in": "path" + }, + { + "name": "membershipId", + "description": "Membership ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<MEMBERSHIP_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Secret key.", + "x-example": "<SECRET>" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + } + } + } + }, + "\/teams\/{teamId}\/prefs": { + "get": { + "summary": "Get team preferences", + "operationId": "teamsGetPrefs", + "tags": [ + "teams" + ], + "description": "Get the team's shared preferences by its unique ID. If a preference doesn't need to be shared by all team members, prefer storing them in [user preferences](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#getPrefs).", + "responses": { + "200": { + "description": "Preferences", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/preferences" + } + } + } + } + }, + "x-appwrite": { + "method": "getPrefs", + "group": "teams", + "weight": 220, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/get-prefs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-prefs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.read", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TEAM_ID>" + }, + "in": "path" + } + ] + }, + "put": { + "summary": "Update preferences", + "operationId": "teamsUpdatePrefs", + "tags": [ + "teams" + ], + "description": "Update the team's preferences by its unique ID. The object you pass is stored as is and replaces any previous value. The maximum allowed prefs size is 64kB and throws an error if exceeded.", + "responses": { + "200": { + "description": "Preferences", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/preferences" + } + } + } + } + }, + "x-appwrite": { + "method": "updatePrefs", + "group": "teams", + "weight": 222, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/update-prefs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-prefs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TEAM_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "prefs": { + "type": "object", + "description": "Prefs key-value JSON object.", + "x-example": "{}" + } + }, + "required": [ + "prefs" + ] + } + } + } + } + } + }, + "\/users": { + "get": { + "summary": "List users", + "operationId": "usersList", + "tags": [ + "users" + ], + "description": "Get a list of all the project's users. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Users List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/userList" + } + } + } + } + }, + "x-appwrite": { + "method": "list", + "group": "users", + "weight": 240, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/list.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-users.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, email, phone, status, passwordUpdate, registration, emailVerification, phoneVerification, labels", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create user", + "operationId": "usersCreate", + "tags": [ + "users" + ], + "description": "Create a new user.", + "responses": { + "201": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "create", + "group": "users", + "weight": 231, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "phone": { + "type": "string", + "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "x-example": "+12065550100" + }, + "password": { + "type": "string", + "description": "Plain text user password. Must be at least 8 chars.", + "x-example": null + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "x-example": "<NAME>" + } + }, + "required": [ + "userId" + ] + } + } + } + } + } + }, + "\/users\/argon2": { + "post": { + "summary": "Create user with Argon2 password", + "operationId": "usersCreateArgon2User", + "tags": [ + "users" + ], + "description": "Create a new user. Password provided must be hashed with the [Argon2](https:\/\/en.wikipedia.org\/wiki\/Argon2) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.", + "responses": { + "201": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "createArgon2User", + "group": "users", + "weight": 234, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-argon2user.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-argon2-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password hashed using Argon2.", + "x-example": "password" + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "x-example": "<NAME>" + } + }, + "required": [ + "userId", + "email", + "password" + ] + } + } + } + } + } + }, + "\/users\/bcrypt": { + "post": { + "summary": "Create user with bcrypt password", + "operationId": "usersCreateBcryptUser", + "tags": [ + "users" + ], + "description": "Create a new user. Password provided must be hashed with the [Bcrypt](https:\/\/en.wikipedia.org\/wiki\/Bcrypt) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.", + "responses": { + "201": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "createBcryptUser", + "group": "users", + "weight": 232, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-bcrypt-user.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-bcrypt-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password hashed using Bcrypt.", + "x-example": "password" + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "x-example": "<NAME>" + } + }, + "required": [ + "userId", + "email", + "password" + ] + } + } + } + } + } + }, + "\/users\/identities": { + "get": { + "summary": "List identities", + "operationId": "usersListIdentities", + "tags": [ + "users" + ], + "description": "Get identities for all users.", + "responses": { + "200": { + "description": "Identities List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/identityList" + } + } + } + } + }, + "x-appwrite": { + "method": "listIdentities", + "group": "identities", + "weight": 248, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/list-identities.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-identities.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, provider, providerUid, providerEmail, providerAccessTokenExpiry", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "schema": { + "type": "string", + "x-example": "<SEARCH>", + "default": "" + }, + "in": "query" + } + ] + } + }, + "\/users\/identities\/{identityId}": { + "delete": { + "summary": "Delete identity", + "operationId": "usersDeleteIdentity", + "tags": [ + "users" + ], + "description": "Delete an identity by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteIdentity", + "group": "identities", + "weight": 271, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/delete-identity.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-identity.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "identityId", + "description": "Identity ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<IDENTITY_ID>" + }, + "in": "path" + } + ] + } + }, + "\/users\/md5": { + "post": { + "summary": "Create user with MD5 password", + "operationId": "usersCreateMD5User", + "tags": [ + "users" + ], + "description": "Create a new user. Password provided must be hashed with the [MD5](https:\/\/en.wikipedia.org\/wiki\/MD5) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.", + "responses": { + "201": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "createMD5User", + "group": "users", + "weight": 233, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-m-d5user.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-md5-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password hashed using MD5.", + "x-example": "password" + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "x-example": "<NAME>" + } + }, + "required": [ + "userId", + "email", + "password" + ] + } + } + } + } + } + }, + "\/users\/phpass": { + "post": { + "summary": "Create user with PHPass password", + "operationId": "usersCreatePHPassUser", + "tags": [ + "users" + ], + "description": "Create a new user. Password provided must be hashed with the [PHPass](https:\/\/www.openwall.com\/phpass\/) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.", + "responses": { + "201": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "createPHPassUser", + "group": "users", + "weight": 236, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-p-h-pass-user.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-phpass-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or pass the string `ID.unique()`to auto generate it. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password hashed using PHPass.", + "x-example": "password" + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "x-example": "<NAME>" + } + }, + "required": [ + "userId", + "email", + "password" + ] + } + } + } + } + } + }, + "\/users\/scrypt": { + "post": { + "summary": "Create user with Scrypt password", + "operationId": "usersCreateScryptUser", + "tags": [ + "users" + ], + "description": "Create a new user. Password provided must be hashed with the [Scrypt](https:\/\/github.com\/Tarsnap\/scrypt) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.", + "responses": { + "201": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "createScryptUser", + "group": "users", + "weight": 237, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-scrypt-user.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-scrypt-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password hashed using Scrypt.", + "x-example": "password" + }, + "passwordSalt": { + "type": "string", + "description": "Optional salt used to hash password.", + "x-example": "<PASSWORD_SALT>" + }, + "passwordCpu": { + "type": "integer", + "description": "Optional CPU cost used to hash password.", + "x-example": null + }, + "passwordMemory": { + "type": "integer", + "description": "Optional memory cost used to hash password.", + "x-example": null + }, + "passwordParallel": { + "type": "integer", + "description": "Optional parallelization cost used to hash password.", + "x-example": null + }, + "passwordLength": { + "type": "integer", + "description": "Optional hash length used to hash password.", + "x-example": null + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "x-example": "<NAME>" + } + }, + "required": [ + "userId", + "email", + "password", + "passwordSalt", + "passwordCpu", + "passwordMemory", + "passwordParallel", + "passwordLength" + ] + } + } + } + } + } + }, + "\/users\/scrypt-modified": { + "post": { + "summary": "Create user with Scrypt modified password", + "operationId": "usersCreateScryptModifiedUser", + "tags": [ + "users" + ], + "description": "Create a new user. Password provided must be hashed with the [Scrypt Modified](https:\/\/gist.github.com\/Meldiron\/eecf84a0225eccb5a378d45bb27462cc) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.", + "responses": { + "201": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "createScryptModifiedUser", + "group": "users", + "weight": 238, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-scrypt-modified-user.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-scrypt-modified-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password hashed using Scrypt Modified.", + "x-example": "password" + }, + "passwordSalt": { + "type": "string", + "description": "Salt used to hash password.", + "x-example": "<PASSWORD_SALT>" + }, + "passwordSaltSeparator": { + "type": "string", + "description": "Salt separator used to hash password.", + "x-example": "<PASSWORD_SALT_SEPARATOR>" + }, + "passwordSignerKey": { + "type": "string", + "description": "Signer key used to hash password.", + "x-example": "<PASSWORD_SIGNER_KEY>" + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "x-example": "<NAME>" + } + }, + "required": [ + "userId", + "email", + "password", + "passwordSalt", + "passwordSaltSeparator", + "passwordSignerKey" + ] + } + } + } + } + } + }, + "\/users\/sha": { + "post": { + "summary": "Create user with SHA password", + "operationId": "usersCreateSHAUser", + "tags": [ + "users" + ], + "description": "Create a new user. Password provided must be hashed with the [SHA](https:\/\/en.wikipedia.org\/wiki\/Secure_Hash_Algorithm) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.", + "responses": { + "201": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "createSHAUser", + "group": "users", + "weight": 235, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-s-h-a-user.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-sha-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password hashed using SHA.", + "x-example": "password" + }, + "passwordVersion": { + "type": "string", + "description": "Optional SHA version used to hash password. Allowed values are: 'sha1', 'sha224', 'sha256', 'sha384', 'sha512\/224', 'sha512\/256', 'sha512', 'sha3-224', 'sha3-256', 'sha3-384', 'sha3-512'", + "x-example": "sha1", + "enum": [ + "sha1", + "sha224", + "sha256", + "sha384", + "sha512\/224", + "sha512\/256", + "sha512", + "sha3-224", + "sha3-256", + "sha3-384", + "sha3-512" + ], + "x-enum-name": "PasswordHash", + "x-enum-keys": [] + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "x-example": "<NAME>" + } + }, + "required": [ + "userId", + "email", + "password" + ] + } + } + } + } + } + }, + "\/users\/{userId}": { + "get": { + "summary": "Get user", + "operationId": "usersGet", + "tags": [ + "users" + ], + "description": "Get a user by its unique ID.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "get", + "group": "users", + "weight": 241, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete user", + "operationId": "usersDelete", + "tags": [ + "users" + ], + "description": "Delete a user by its unique ID, thereby releasing it's ID. Since ID is released and can be reused, all user-related resources like documents or storage files should be deleted before user deletion. If you want to keep ID reserved, use the [updateStatus](https:\/\/appwrite.io\/docs\/server\/users#usersUpdateStatus) endpoint instead.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "delete", + "group": "users", + "weight": 269, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/delete.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ] + } + }, + "\/users\/{userId}\/email": { + "patch": { + "summary": "Update email", + "operationId": "usersUpdateEmail", + "tags": [ + "users" + ], + "description": "Update the user email by its unique ID.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updateEmail", + "group": "users", + "weight": 254, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-email.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-email.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "email": { + "type": "string", + "description": "User email.", + "x-example": "email@example.com" + } + }, + "required": [ + "email" + ] + } + } + } + } + } + }, + "\/users\/{userId}\/jwts": { + "post": { + "summary": "Create user JWT", + "operationId": "usersCreateJWT", + "tags": [ + "users" + ], + "description": "Use this endpoint to create a JSON Web Token for user by its unique ID. You can use the resulting JWT to authenticate on behalf of the user. The JWT secret will become invalid if the session it uses gets deleted.", + "responses": { + "201": { + "description": "JWT", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/jwt" + } + } + } + } + }, + "x-appwrite": { + "method": "createJWT", + "group": "sessions", + "weight": 272, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-j-w-t.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-user-jwt.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "sessionId": { + "type": "string", + "description": "Session ID. Use the string 'recent' to use the most recent session. Defaults to the most recent session.", + "x-example": "<SESSION_ID>" + }, + "duration": { + "type": "integer", + "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", + "x-example": 0 + } + } + } + } + } + } + } + }, + "\/users\/{userId}\/labels": { + "put": { + "summary": "Update user labels", + "operationId": "usersUpdateLabels", + "tags": [ + "users" + ], + "description": "Update the user labels by its unique ID. \n\nLabels can be used to grant access to resources. While teams are a way for user's to share access to a resource, labels can be defined by the developer to grant access without an invitation. See the [Permissions docs](https:\/\/appwrite.io\/docs\/permissions) for more info.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updateLabels", + "group": "users", + "weight": 250, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-labels.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-labels.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "labels": { + "type": "array", + "description": "Array of user labels. Replaces the previous labels. Maximum of 1000 labels are allowed, each up to 36 alphanumeric characters long.", + "x-example": null, + "items": { + "type": "string" + } + } + }, + "required": [ + "labels" + ] + } + } + } + } + } + }, + "\/users\/{userId}\/logs": { + "get": { + "summary": "List user logs", + "operationId": "usersListLogs", + "tags": [ + "users" + ], + "description": "Get the user activity logs list by its unique ID.", + "responses": { + "200": { + "description": "Logs List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/logList" + } + } + } + } + }, + "x-appwrite": { + "method": "listLogs", + "group": "logs", + "weight": 246, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/list-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + } + }, + "\/users\/{userId}\/memberships": { + "get": { + "summary": "List user memberships", + "operationId": "usersListMemberships", + "tags": [ + "users" + ], + "description": "Get the user membership list by its unique ID.", + "responses": { + "200": { + "description": "Memberships List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/membershipList" + } + } + } + } + }, + "x-appwrite": { + "method": "listMemberships", + "group": "memberships", + "weight": 245, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/list-memberships.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-memberships.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ] + } + }, + "\/users\/{userId}\/mfa": { + "patch": { + "summary": "Update MFA", + "operationId": "usersUpdateMfa", + "tags": [ + "users" + ], + "description": "Enable or disable MFA on a user account.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updateMfa", + "group": "users", + "weight": 259, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-mfa.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-mfa.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "mfa": { + "type": "boolean", + "description": "Enable or disable MFA.", + "x-example": false + } + }, + "required": [ + "mfa" + ] + } + } + } + } + } + }, + "\/users\/{userId}\/mfa\/authenticators\/{type}": { + "delete": { + "summary": "Delete authenticator", + "operationId": "usersDeleteMfaAuthenticator", + "tags": [ + "users" + ], + "description": "Delete an authenticator app.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteMfaAuthenticator", + "group": "mfa", + "weight": 264, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/delete-mfa-authenticator.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-mfa-authenticator.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + }, + { + "name": "type", + "description": "Type of authenticator.", + "required": true, + "schema": { + "type": "string", + "x-example": "totp", + "enum": [ + "totp" + ], + "x-enum-name": "AuthenticatorType", + "x-enum-keys": [] + }, + "in": "path" + } + ] + } + }, + "\/users\/{userId}\/mfa\/factors": { + "get": { + "summary": "List factors", + "operationId": "usersListMfaFactors", + "tags": [ + "users" + ], + "description": "List the factors available on the account to be used as a MFA challange.", + "responses": { + "200": { + "description": "MFAFactors", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/mfaFactors" + } + } + } + } + }, + "x-appwrite": { + "method": "listMfaFactors", + "group": "mfa", + "weight": 260, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/list-mfa-factors.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-mfa-factors.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ] + } + }, + "\/users\/{userId}\/mfa\/recovery-codes": { + "get": { + "summary": "Get MFA recovery codes", + "operationId": "usersGetMfaRecoveryCodes", + "tags": [ + "users" + ], + "description": "Get recovery codes that can be used as backup for MFA flow by User ID. Before getting codes, they must be generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method.", + "responses": { + "200": { + "description": "MFA Recovery Codes", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/mfaRecoveryCodes" + } + } + } + } + }, + "x-appwrite": { + "method": "getMfaRecoveryCodes", + "group": "mfa", + "weight": 261, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/get-mfa-recovery-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-mfa-recovery-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ] + }, + "put": { + "summary": "Update MFA recovery codes (regenerate)", + "operationId": "usersUpdateMfaRecoveryCodes", + "tags": [ + "users" + ], + "description": "Regenerate recovery codes that can be used as backup for MFA flow by User ID. Before regenerating codes, they must be first generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method.", + "responses": { + "200": { + "description": "MFA Recovery Codes", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/mfaRecoveryCodes" + } + } + } + } + }, + "x-appwrite": { + "method": "updateMfaRecoveryCodes", + "group": "mfa", + "weight": 263, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-mfa-recovery-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-mfa-recovery-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ] + }, + "patch": { + "summary": "Create MFA recovery codes", + "operationId": "usersCreateMfaRecoveryCodes", + "tags": [ + "users" + ], + "description": "Generate recovery codes used as backup for MFA flow for User ID. Recovery codes can be used as a MFA verification type in [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method by client SDK.", + "responses": { + "201": { + "description": "MFA Recovery Codes", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/mfaRecoveryCodes" + } + } + } + } + }, + "x-appwrite": { + "method": "createMfaRecoveryCodes", + "group": "mfa", + "weight": 262, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-mfa-recovery-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-mfa-recovery-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ] + } + }, + "\/users\/{userId}\/name": { + "patch": { + "summary": "Update name", + "operationId": "usersUpdateName", + "tags": [ + "users" + ], + "description": "Update the user name by its unique ID.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updateName", + "group": "users", + "weight": 252, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-name.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-name.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "x-example": "<NAME>" + } + }, + "required": [ + "name" + ] + } + } + } + } + } + }, + "\/users\/{userId}\/password": { + "patch": { + "summary": "Update password", + "operationId": "usersUpdatePassword", + "tags": [ + "users" + ], + "description": "Update the user password by its unique ID.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updatePassword", + "group": "users", + "weight": 253, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-password.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-password.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "password": { + "type": "string", + "description": "New user password. Must be at least 8 chars.", + "x-example": null + } + }, + "required": [ + "password" + ] + } + } + } + } + } + }, + "\/users\/{userId}\/phone": { + "patch": { + "summary": "Update phone", + "operationId": "usersUpdatePhone", + "tags": [ + "users" + ], + "description": "Update the user phone by its unique ID.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updatePhone", + "group": "users", + "weight": 255, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-phone.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-phone.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "number": { + "type": "string", + "description": "User phone number.", + "x-example": "+12065550100" + } + }, + "required": [ + "number" + ] + } + } + } + } + } + }, + "\/users\/{userId}\/prefs": { + "get": { + "summary": "Get user preferences", + "operationId": "usersGetPrefs", + "tags": [ + "users" + ], + "description": "Get the user preferences by its unique ID.", + "responses": { + "200": { + "description": "Preferences", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/preferences" + } + } + } + } + }, + "x-appwrite": { + "method": "getPrefs", + "group": "users", + "weight": 242, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/get-prefs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user-prefs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ] + }, + "patch": { + "summary": "Update user preferences", + "operationId": "usersUpdatePrefs", + "tags": [ + "users" + ], + "description": "Update the user preferences by its unique ID. The object you pass is stored as is, and replaces any previous value. The maximum allowed prefs size is 64kB and throws error if exceeded.", + "responses": { + "200": { + "description": "Preferences", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/preferences" + } + } + } + } + }, + "x-appwrite": { + "method": "updatePrefs", + "group": "users", + "weight": 257, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-prefs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-prefs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "prefs": { + "type": "object", + "description": "Prefs key-value JSON object.", + "x-example": "{}" + } + }, + "required": [ + "prefs" + ] + } + } + } + } + } + }, + "\/users\/{userId}\/sessions": { + "get": { + "summary": "List user sessions", + "operationId": "usersListSessions", + "tags": [ + "users" + ], + "description": "Get the user sessions list by its unique ID.", + "responses": { + "200": { + "description": "Sessions List", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/sessionList" + } + } + } + } + }, + "x-appwrite": { + "method": "listSessions", + "group": "sessions", + "weight": 244, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/list-sessions.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-sessions.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ] + }, + "post": { + "summary": "Create session", + "operationId": "usersCreateSession", + "tags": [ + "users" + ], + "description": "Creates a session for a user. Returns an immediately usable session object.\n\nIf you want to generate a token for a custom authentication flow, use the [POST \/users\/{userId}\/tokens](https:\/\/appwrite.io\/docs\/server\/users#createToken) endpoint.", + "responses": { + "201": { + "description": "Session", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/session" + } + } + } + } + }, + "x-appwrite": { + "method": "createSession", + "group": "sessions", + "weight": 265, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-session.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete user sessions", + "operationId": "usersDeleteSessions", + "tags": [ + "users" + ], + "description": "Delete all user's sessions by using the user's unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteSessions", + "group": "sessions", + "weight": 268, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/delete-sessions.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-user-sessions.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ] + } + }, + "\/users\/{userId}\/sessions\/{sessionId}": { + "delete": { + "summary": "Delete user session", + "operationId": "usersDeleteSession", + "tags": [ + "users" + ], + "description": "Delete a user sessions by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteSession", + "group": "sessions", + "weight": 267, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/delete-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-user-session.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + }, + { + "name": "sessionId", + "description": "Session ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<SESSION_ID>" + }, + "in": "path" + } + ] + } + }, + "\/users\/{userId}\/status": { + "patch": { + "summary": "Update user status", + "operationId": "usersUpdateStatus", + "tags": [ + "users" + ], + "description": "Update the user status by its unique ID. Use this endpoint as an alternative to deleting a user if you want to keep user's ID reserved.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updateStatus", + "group": "users", + "weight": 249, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-status.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-status.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "status": { + "type": "boolean", + "description": "User Status. To activate the user pass `true` and to block the user pass `false`.", + "x-example": false + } + }, + "required": [ + "status" + ] + } + } + } + } + } + }, + "\/users\/{userId}\/targets": { + "get": { + "summary": "List user targets", + "operationId": "usersListTargets", + "tags": [ + "users" + ], + "description": "List the messaging targets that are associated with a user.", + "responses": { + "200": { + "description": "Target list", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/targetList" + } + } + } + } + }, + "x-appwrite": { + "method": "listTargets", + "group": "targets", + "weight": 247, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/list-targets.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-targets.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "targets.read", + "platforms": [ + "server", + "console" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, email, phone, status, passwordUpdate, registration, emailVerification, phoneVerification, labels", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "in": "query" + } + ] + }, + "post": { + "summary": "Create user target", + "operationId": "usersCreateTarget", + "tags": [ + "users" + ], + "description": "Create a messaging target.", + "responses": { + "201": { + "description": "Target", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/target" + } + } + } + } + }, + "x-appwrite": { + "method": "createTarget", + "group": "targets", + "weight": 239, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-target.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-target.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "targets.write", + "platforms": [ + "server", + "console" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "targetId": { + "type": "string", + "description": "Target ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "x-example": "<TARGET_ID>" + }, + "providerType": { + "type": "string", + "description": "The target provider type. Can be one of the following: `email`, `sms` or `push`.", + "x-example": "email", + "enum": [ + "email", + "sms", + "push" + ], + "x-enum-name": "MessagingProviderType", + "x-enum-keys": [] + }, + "identifier": { + "type": "string", + "description": "The target identifier (token, email, phone etc.)", + "x-example": "<IDENTIFIER>" + }, + "providerId": { + "type": "string", + "description": "Provider ID. Message will be sent to this target from the specified provider ID. If no provider ID is set the first setup provider will be used.", + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Target name. Max length: 128 chars. For example: My Awesome App Galaxy S23.", + "x-example": "<NAME>" + } + }, + "required": [ + "targetId", + "providerType", + "identifier" + ] + } + } + } + } + } + }, + "\/users\/{userId}\/targets\/{targetId}": { + "get": { + "summary": "Get user target", + "operationId": "usersGetTarget", + "tags": [ + "users" + ], + "description": "Get a user's push notification target by ID.", + "responses": { + "200": { + "description": "Target", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/target" + } + } + } + } + }, + "x-appwrite": { + "method": "getTarget", + "group": "targets", + "weight": 243, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/get-target.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user-target.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "targets.read", + "platforms": [ + "server", + "console" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + }, + { + "name": "targetId", + "description": "Target ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TARGET_ID>" + }, + "in": "path" + } + ] + }, + "patch": { + "summary": "Update user target", + "operationId": "usersUpdateTarget", + "tags": [ + "users" + ], + "description": "Update a messaging target.", + "responses": { + "200": { + "description": "Target", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/target" + } + } + } + } + }, + "x-appwrite": { + "method": "updateTarget", + "group": "targets", + "weight": 258, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-target.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-target.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "targets.write", + "platforms": [ + "server", + "console" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + }, + { + "name": "targetId", + "description": "Target ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TARGET_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "identifier": { + "type": "string", + "description": "The target identifier (token, email, phone etc.)", + "x-example": "<IDENTIFIER>" + }, + "providerId": { + "type": "string", + "description": "Provider ID. Message will be sent to this target from the specified provider ID. If no provider ID is set the first setup provider will be used.", + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Target name. Max length: 128 chars. For example: My Awesome App Galaxy S23.", + "x-example": "<NAME>" + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete user target", + "operationId": "usersDeleteTarget", + "tags": [ + "users" + ], + "description": "Delete a messaging target.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteTarget", + "group": "targets", + "weight": 270, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/delete-target.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-target.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "targets.write", + "platforms": [ + "server", + "console" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + }, + { + "name": "targetId", + "description": "Target ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<TARGET_ID>" + }, + "in": "path" + } + ] + } + }, + "\/users\/{userId}\/tokens": { + "post": { + "summary": "Create token", + "operationId": "usersCreateToken", + "tags": [ + "users" + ], + "description": "Returns a token with a secret key for creating a session. Use the user ID and secret and submit a request to the [PUT \/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process.\n", + "responses": { + "201": { + "description": "Token", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/token" + } + } + } + } + }, + "x-appwrite": { + "method": "createToken", + "group": "sessions", + "weight": 266, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-token.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-token.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "length": { + "type": "integer", + "description": "Token length in characters. The default length is 6 characters", + "x-example": 4 + }, + "expire": { + "type": "integer", + "description": "Token expiration period in seconds. The default expiration is 15 minutes.", + "x-example": 60 + } + } + } + } + } + } + } + }, + "\/users\/{userId}\/verification": { + "patch": { + "summary": "Update email verification", + "operationId": "usersUpdateEmailVerification", + "tags": [ + "users" + ], + "description": "Update the user email verification status by its unique ID.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updateEmailVerification", + "group": "users", + "weight": 256, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-email-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-email-verification.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "emailVerification": { + "type": "boolean", + "description": "User email verification status.", + "x-example": false + } + }, + "required": [ + "emailVerification" + ] + } + } + } + } + } + }, + "\/users\/{userId}\/verification\/phone": { + "patch": { + "summary": "Update phone verification", + "operationId": "usersUpdatePhoneVerification", + "tags": [ + "users" + ], + "description": "Update the user phone verification status by its unique ID.", + "responses": { + "200": { + "description": "User", + "content": { + "application\/json": { + "schema": { + "$ref": "#\/components\/schemas\/user" + } + } + } + } + }, + "x-appwrite": { + "method": "updatePhoneVerification", + "group": "users", + "weight": 251, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-phone-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-phone-verification.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "schema": { + "type": "string", + "x-example": "<USER_ID>" + }, + "in": "path" + } + ], + "requestBody": { + "content": { + "application\/json": { + "schema": { + "type": "object", + "properties": { + "phoneVerification": { + "type": "boolean", + "description": "User phone verification status.", + "x-example": false + } + }, + "required": [ + "phoneVerification" + ] + } + } + } + } + } + } + }, + "tags": [ + { + "name": "account", + "description": "The Account service allows you to authenticate and manage a user account.", + "x-globalAttributes": [] + }, + { + "name": "avatars", + "description": "The Avatars service aims to help you complete everyday tasks related to your app image, icons, and avatars.", + "x-globalAttributes": [] + }, + { + "name": "databases", + "description": "The Databases service allows you to create structured collections of documents, query and filter lists of documents", + "x-globalAttributes": [ + "databaseId" + ] + }, + { + "name": "locale", + "description": "The Locale service allows you to customize your app based on your users' location.", + "x-globalAttributes": [] + }, + { + "name": "health", + "description": "The Health service allows you to both validate and monitor your Appwrite server's health.", + "x-globalAttributes": [] + }, + { + "name": "projects", + "description": "The Project service allows you to manage all the projects in your Appwrite server.", + "x-globalAttributes": [] + }, + { + "name": "project", + "description": "The Project service allows you to manage all the projects in your Appwrite server.", + "x-globalAttributes": [] + }, + { + "name": "storage", + "description": "The Storage service allows you to manage your project files.", + "x-globalAttributes": [] + }, + { + "name": "teams", + "description": "The Teams service allows you to group users of your project and to enable them to share read and write access to your project resources", + "x-globalAttributes": [] + }, + { + "name": "users", + "description": "The Users service allows you to manage your project users.", + "x-globalAttributes": [] + }, + { + "name": "functions", + "description": "The Functions Service allows you view, create and manage your Cloud Functions.", + "x-globalAttributes": [] + }, + { + "name": "proxy", + "description": "The Proxy Service allows you to configure actions for your domains beyond DNS configuration.", + "x-globalAttributes": [] + }, + { + "name": "graphql", + "description": "The GraphQL API allows you to query and mutate your Appwrite server using GraphQL.", + "x-globalAttributes": [] + }, + { + "name": "console", + "description": "The Console service allows you to interact with console relevant informations.", + "x-globalAttributes": [] + }, + { + "name": "migrations", + "description": "The Migrations service allows you to migrate third-party data to your Appwrite project.", + "x-globalAttributes": [] + }, + { + "name": "messaging", + "description": "The Messaging service allows you to send messages to any provider type (SMTP, push notification, SMS, etc.).", + "x-globalAttributes": [] + } + ], + "components": { + "schemas": { + "any": { + "description": "Any", + "type": "object", + "additionalProperties": true + }, + "error": { + "description": "Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "description": "Error message.", + "x-example": "Not found" + }, + "code": { + "type": "string", + "description": "Error code.", + "x-example": "404" + }, + "type": { + "type": "string", + "description": "Error type. You can learn more about all the error types at https:\/\/appwrite.io\/docs\/error-codes#errorTypes", + "x-example": "not_found" + }, + "version": { + "type": "string", + "description": "Server version number.", + "x-example": "1.0" + } + }, + "required": [ + "message", + "code", + "type", + "version" + ] + }, + "documentList": { + "description": "Documents List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of documents documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "documents": { + "type": "array", + "description": "List of documents.", + "items": { + "$ref": "#\/components\/schemas\/document" + }, + "x-example": "" + } + }, + "required": [ + "total", + "documents" + ] + }, + "collectionList": { + "description": "Collections List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of collections documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "collections": { + "type": "array", + "description": "List of collections.", + "items": { + "$ref": "#\/components\/schemas\/collection" + }, + "x-example": "" + } + }, + "required": [ + "total", + "collections" + ] + }, + "databaseList": { + "description": "Databases List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of databases documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "databases": { + "type": "array", + "description": "List of databases.", + "items": { + "$ref": "#\/components\/schemas\/database" + }, + "x-example": "" + } + }, + "required": [ + "total", + "databases" + ] + }, + "indexList": { + "description": "Indexes List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of indexes documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "indexes": { + "type": "array", + "description": "List of indexes.", + "items": { + "$ref": "#\/components\/schemas\/index" + }, + "x-example": "" + } + }, + "required": [ + "total", + "indexes" + ] + }, + "userList": { + "description": "Users List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of users documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "users": { + "type": "array", + "description": "List of users.", + "items": { + "$ref": "#\/components\/schemas\/user" + }, + "x-example": "" + } + }, + "required": [ + "total", + "users" + ] + }, + "sessionList": { + "description": "Sessions List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of sessions documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "sessions": { + "type": "array", + "description": "List of sessions.", + "items": { + "$ref": "#\/components\/schemas\/session" + }, + "x-example": "" + } + }, + "required": [ + "total", + "sessions" + ] + }, + "identityList": { + "description": "Identities List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of identities documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "identities": { + "type": "array", + "description": "List of identities.", + "items": { + "$ref": "#\/components\/schemas\/identity" + }, + "x-example": "" + } + }, + "required": [ + "total", + "identities" + ] + }, + "logList": { + "description": "Logs List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of logs documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "logs": { + "type": "array", + "description": "List of logs.", + "items": { + "$ref": "#\/components\/schemas\/log" + }, + "x-example": "" + } + }, + "required": [ + "total", + "logs" + ] + }, + "fileList": { + "description": "Files List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of files documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "files": { + "type": "array", + "description": "List of files.", + "items": { + "$ref": "#\/components\/schemas\/file" + }, + "x-example": "" + } + }, + "required": [ + "total", + "files" + ] + }, + "bucketList": { + "description": "Buckets List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of buckets documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "buckets": { + "type": "array", + "description": "List of buckets.", + "items": { + "$ref": "#\/components\/schemas\/bucket" + }, + "x-example": "" + } + }, + "required": [ + "total", + "buckets" + ] + }, + "teamList": { + "description": "Teams List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of teams documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "teams": { + "type": "array", + "description": "List of teams.", + "items": { + "$ref": "#\/components\/schemas\/team" + }, + "x-example": "" + } + }, + "required": [ + "total", + "teams" + ] + }, + "membershipList": { + "description": "Memberships List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of memberships documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "memberships": { + "type": "array", + "description": "List of memberships.", + "items": { + "$ref": "#\/components\/schemas\/membership" + }, + "x-example": "" + } + }, + "required": [ + "total", + "memberships" + ] + }, + "functionList": { + "description": "Functions List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of functions documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "functions": { + "type": "array", + "description": "List of functions.", + "items": { + "$ref": "#\/components\/schemas\/function" + }, + "x-example": "" + } + }, + "required": [ + "total", + "functions" + ] + }, + "runtimeList": { + "description": "Runtimes List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of runtimes documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "runtimes": { + "type": "array", + "description": "List of runtimes.", + "items": { + "$ref": "#\/components\/schemas\/runtime" + }, + "x-example": "" + } + }, + "required": [ + "total", + "runtimes" + ] + }, + "deploymentList": { + "description": "Deployments List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of deployments documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "deployments": { + "type": "array", + "description": "List of deployments.", + "items": { + "$ref": "#\/components\/schemas\/deployment" + }, + "x-example": "" + } + }, + "required": [ + "total", + "deployments" + ] + }, + "executionList": { + "description": "Executions List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of executions documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "executions": { + "type": "array", + "description": "List of executions.", + "items": { + "$ref": "#\/components\/schemas\/execution" + }, + "x-example": "" + } + }, + "required": [ + "total", + "executions" + ] + }, + "countryList": { + "description": "Countries List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of countries documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "countries": { + "type": "array", + "description": "List of countries.", + "items": { + "$ref": "#\/components\/schemas\/country" + }, + "x-example": "" + } + }, + "required": [ + "total", + "countries" + ] + }, + "continentList": { + "description": "Continents List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of continents documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "continents": { + "type": "array", + "description": "List of continents.", + "items": { + "$ref": "#\/components\/schemas\/continent" + }, + "x-example": "" + } + }, + "required": [ + "total", + "continents" + ] + }, + "languageList": { + "description": "Languages List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of languages documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "languages": { + "type": "array", + "description": "List of languages.", + "items": { + "$ref": "#\/components\/schemas\/language" + }, + "x-example": "" + } + }, + "required": [ + "total", + "languages" + ] + }, + "currencyList": { + "description": "Currencies List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of currencies documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "currencies": { + "type": "array", + "description": "List of currencies.", + "items": { + "$ref": "#\/components\/schemas\/currency" + }, + "x-example": "" + } + }, + "required": [ + "total", + "currencies" + ] + }, + "phoneList": { + "description": "Phones List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of phones documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "phones": { + "type": "array", + "description": "List of phones.", + "items": { + "$ref": "#\/components\/schemas\/phone" + }, + "x-example": "" + } + }, + "required": [ + "total", + "phones" + ] + }, + "variableList": { + "description": "Variables List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of variables documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "variables": { + "type": "array", + "description": "List of variables.", + "items": { + "$ref": "#\/components\/schemas\/variable" + }, + "x-example": "" + } + }, + "required": [ + "total", + "variables" + ] + }, + "localeCodeList": { + "description": "Locale codes list", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of localeCodes documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "localeCodes": { + "type": "array", + "description": "List of localeCodes.", + "items": { + "$ref": "#\/components\/schemas\/localeCode" + }, + "x-example": "" + } + }, + "required": [ + "total", + "localeCodes" + ] + }, + "providerList": { + "description": "Provider list", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of providers documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "providers": { + "type": "array", + "description": "List of providers.", + "items": { + "$ref": "#\/components\/schemas\/provider" + }, + "x-example": "" + } + }, + "required": [ + "total", + "providers" + ] + }, + "messageList": { + "description": "Message list", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of messages documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "messages": { + "type": "array", + "description": "List of messages.", + "items": { + "$ref": "#\/components\/schemas\/message" + }, + "x-example": "" + } + }, + "required": [ + "total", + "messages" + ] + }, + "topicList": { + "description": "Topic list", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of topics documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "topics": { + "type": "array", + "description": "List of topics.", + "items": { + "$ref": "#\/components\/schemas\/topic" + }, + "x-example": "" + } + }, + "required": [ + "total", + "topics" + ] + }, + "subscriberList": { + "description": "Subscriber list", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of subscribers documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "subscribers": { + "type": "array", + "description": "List of subscribers.", + "items": { + "$ref": "#\/components\/schemas\/subscriber" + }, + "x-example": "" + } + }, + "required": [ + "total", + "subscribers" + ] + }, + "targetList": { + "description": "Target list", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of targets documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "targets": { + "type": "array", + "description": "List of targets.", + "items": { + "$ref": "#\/components\/schemas\/target" + }, + "x-example": "" + } + }, + "required": [ + "total", + "targets" + ] + }, + "specificationList": { + "description": "Specifications List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of specifications documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "specifications": { + "type": "array", + "description": "List of specifications.", + "items": { + "$ref": "#\/components\/schemas\/specification" + }, + "x-example": "" + } + }, + "required": [ + "total", + "specifications" + ] + }, + "database": { + "description": "Database", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Database ID.", + "x-example": "5e5ea5c16897e" + }, + "name": { + "type": "string", + "description": "Database name.", + "x-example": "My Database" + }, + "$createdAt": { + "type": "string", + "description": "Database creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Database update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "enabled": { + "type": "boolean", + "description": "If database is enabled. Can be 'enabled' or 'disabled'. When disabled, the database is inaccessible to users, but remains accessible to Server SDKs using API keys.", + "x-example": false + } + }, + "required": [ + "$id", + "name", + "$createdAt", + "$updatedAt", + "enabled" + ] + }, + "collection": { + "description": "Collection", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Collection ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Collection creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Collection update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$permissions": { + "type": "array", + "description": "Collection permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "items": { + "type": "string" + }, + "x-example": [ + "read(\"any\")" + ] + }, + "databaseId": { + "type": "string", + "description": "Database ID.", + "x-example": "5e5ea5c16897e" + }, + "name": { + "type": "string", + "description": "Collection name.", + "x-example": "My Collection" + }, + "enabled": { + "type": "boolean", + "description": "Collection enabled. Can be 'enabled' or 'disabled'. When disabled, the collection is inaccessible to users, but remains accessible to Server SDKs using API keys.", + "x-example": false + }, + "documentSecurity": { + "type": "boolean", + "description": "Whether document-level permissions are enabled. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": true + }, + "attributes": { + "type": "array", + "description": "Collection attributes.", + "items": { + "anyOf": [ + { + "$ref": "#\/components\/schemas\/attributeBoolean" + }, + { + "$ref": "#\/components\/schemas\/attributeInteger" + }, + { + "$ref": "#\/components\/schemas\/attributeFloat" + }, + { + "$ref": "#\/components\/schemas\/attributeEmail" + }, + { + "$ref": "#\/components\/schemas\/attributeEnum" + }, + { + "$ref": "#\/components\/schemas\/attributeUrl" + }, + { + "$ref": "#\/components\/schemas\/attributeIp" + }, + { + "$ref": "#\/components\/schemas\/attributeDatetime" + }, + { + "$ref": "#\/components\/schemas\/attributeRelationship" + }, + { + "$ref": "#\/components\/schemas\/attributeString" + } + ] + }, + "x-example": {} + }, + "indexes": { + "type": "array", + "description": "Collection indexes.", + "items": { + "$ref": "#\/components\/schemas\/index" + }, + "x-example": {} + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "$permissions", + "databaseId", + "name", + "enabled", + "documentSecurity", + "attributes", + "indexes" + ] + }, + "attributeList": { + "description": "Attributes List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of attributes in the given collection.", + "x-example": 5, + "format": "int32" + }, + "attributes": { + "type": "array", + "description": "List of attributes.", + "items": { + "anyOf": [ + { + "$ref": "#\/components\/schemas\/attributeBoolean" + }, + { + "$ref": "#\/components\/schemas\/attributeInteger" + }, + { + "$ref": "#\/components\/schemas\/attributeFloat" + }, + { + "$ref": "#\/components\/schemas\/attributeEmail" + }, + { + "$ref": "#\/components\/schemas\/attributeEnum" + }, + { + "$ref": "#\/components\/schemas\/attributeUrl" + }, + { + "$ref": "#\/components\/schemas\/attributeIp" + }, + { + "$ref": "#\/components\/schemas\/attributeDatetime" + }, + { + "$ref": "#\/components\/schemas\/attributeRelationship" + }, + { + "$ref": "#\/components\/schemas\/attributeString" + } + ] + }, + "x-example": "" + } + }, + "required": [ + "total", + "attributes" + ] + }, + "attributeString": { + "description": "AttributeString", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "fullName" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "string" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "size": { + "type": "integer", + "description": "Attribute size.", + "x-example": 128, + "format": "int32" + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "default", + "nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt", + "size" + ] + }, + "attributeInteger": { + "description": "AttributeInteger", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "count" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "integer" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "min": { + "type": "integer", + "description": "Minimum value to enforce for new documents.", + "x-example": 1, + "format": "int32", + "nullable": true + }, + "max": { + "type": "integer", + "description": "Maximum value to enforce for new documents.", + "x-example": 10, + "format": "int32", + "nullable": true + }, + "default": { + "type": "integer", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": 10, + "format": "int32", + "nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt" + ] + }, + "attributeFloat": { + "description": "AttributeFloat", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "percentageCompleted" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "double" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "min": { + "type": "number", + "description": "Minimum value to enforce for new documents.", + "x-example": 1.5, + "format": "double", + "nullable": true + }, + "max": { + "type": "number", + "description": "Maximum value to enforce for new documents.", + "x-example": 10.5, + "format": "double", + "nullable": true + }, + "default": { + "type": "number", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": 2.5, + "format": "double", + "nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt" + ] + }, + "attributeBoolean": { + "description": "AttributeBoolean", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "isEnabled" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "boolean" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "default": { + "type": "boolean", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": false, + "nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt" + ] + }, + "attributeEmail": { + "description": "AttributeEmail", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "userEmail" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "string" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "format": { + "type": "string", + "description": "String format.", + "x-example": "email" + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "default@example.com", + "nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt", + "format" + ] + }, + "attributeEnum": { + "description": "AttributeEnum", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "status" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "string" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "elements": { + "type": "array", + "description": "Array of elements in enumerated type.", + "items": { + "type": "string" + }, + "x-example": "element" + }, + "format": { + "type": "string", + "description": "String format.", + "x-example": "enum" + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "element", + "nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt", + "elements", + "format" + ] + }, + "attributeIp": { + "description": "AttributeIP", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "ipAddress" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "string" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "format": { + "type": "string", + "description": "String format.", + "x-example": "ip" + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "192.0.2.0", + "nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt", + "format" + ] + }, + "attributeUrl": { + "description": "AttributeURL", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "githubUrl" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "string" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "format": { + "type": "string", + "description": "String format.", + "x-example": "url" + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "http:\/\/example.com", + "nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt", + "format" + ] + }, + "attributeDatetime": { + "description": "AttributeDatetime", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "birthDay" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "datetime" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "format": { + "type": "string", + "description": "ISO 8601 format.", + "x-example": "datetime" + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Only null is optional", + "x-example": "2020-10-15T06:38:00.000+00:00", + "nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt", + "format" + ] + }, + "attributeRelationship": { + "description": "AttributeRelationship", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "fullName" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "string" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "relatedCollection": { + "type": "string", + "description": "The ID of the related collection.", + "x-example": "collection" + }, + "relationType": { + "type": "string", + "description": "The type of the relationship.", + "x-example": "oneToOne|oneToMany|manyToOne|manyToMany" + }, + "twoWay": { + "type": "boolean", + "description": "Is the relationship two-way?", + "x-example": false + }, + "twoWayKey": { + "type": "string", + "description": "The key of the two-way relationship.", + "x-example": "string" + }, + "onDelete": { + "type": "string", + "description": "How deleting the parent document will propagate to child documents.", + "x-example": "restrict|cascade|setNull" + }, + "side": { + "type": "string", + "description": "Whether this is the parent or child side of the relationship", + "x-example": "parent|child" + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt", + "relatedCollection", + "relationType", + "twoWay", + "twoWayKey", + "onDelete", + "side" + ] + }, + "index": { + "description": "Index", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Index Key.", + "x-example": "index1" + }, + "type": { + "type": "string", + "description": "Index type.", + "x-example": "primary" + }, + "status": { + "type": "string", + "description": "Index status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an index.", + "x-example": "string" + }, + "attributes": { + "type": "array", + "description": "Index attributes.", + "items": { + "type": "string" + }, + "x-example": [] + }, + "orders": { + "type": "array", + "description": "Index orders.", + "items": { + "type": "string" + }, + "x-example": [], + "nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Index creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Index update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + } + }, + "required": [ + "key", + "type", + "status", + "error", + "attributes", + "$createdAt", + "$updatedAt" + ] + }, + "document": { + "description": "Document", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Document ID.", + "x-example": "5e5ea5c16897e" + }, + "$collectionId": { + "type": "string", + "description": "Collection ID.", + "x-example": "5e5ea5c15117e" + }, + "$databaseId": { + "type": "string", + "description": "Database ID.", + "x-example": "5e5ea5c15117e" + }, + "$createdAt": { + "type": "string", + "description": "Document creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Document update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$permissions": { + "type": "array", + "description": "Document permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "items": { + "type": "string" + }, + "x-example": [ + "read(\"any\")" + ] + } + }, + "additionalProperties": true, + "required": [ + "$id", + "$collectionId", + "$databaseId", + "$createdAt", + "$updatedAt", + "$permissions" + ] + }, + "log": { + "description": "Log", + "type": "object", + "properties": { + "event": { + "type": "string", + "description": "Event name.", + "x-example": "account.sessions.create" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "610fc2f985ee0" + }, + "userEmail": { + "type": "string", + "description": "User Email.", + "x-example": "john@appwrite.io" + }, + "userName": { + "type": "string", + "description": "User Name.", + "x-example": "John Doe" + }, + "mode": { + "type": "string", + "description": "API mode when event triggered.", + "x-example": "admin" + }, + "ip": { + "type": "string", + "description": "IP session in use when the session was created.", + "x-example": "127.0.0.1" + }, + "time": { + "type": "string", + "description": "Log creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "osCode": { + "type": "string", + "description": "Operating system code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/os.json).", + "x-example": "Mac" + }, + "osName": { + "type": "string", + "description": "Operating system name.", + "x-example": "Mac" + }, + "osVersion": { + "type": "string", + "description": "Operating system version.", + "x-example": "Mac" + }, + "clientType": { + "type": "string", + "description": "Client type.", + "x-example": "browser" + }, + "clientCode": { + "type": "string", + "description": "Client code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/clients.json).", + "x-example": "CM" + }, + "clientName": { + "type": "string", + "description": "Client name.", + "x-example": "Chrome Mobile iOS" + }, + "clientVersion": { + "type": "string", + "description": "Client version.", + "x-example": "84.0" + }, + "clientEngine": { + "type": "string", + "description": "Client engine name.", + "x-example": "WebKit" + }, + "clientEngineVersion": { + "type": "string", + "description": "Client engine name.", + "x-example": "605.1.15" + }, + "deviceName": { + "type": "string", + "description": "Device name.", + "x-example": "smartphone" + }, + "deviceBrand": { + "type": "string", + "description": "Device brand name.", + "x-example": "Google" + }, + "deviceModel": { + "type": "string", + "description": "Device model name.", + "x-example": "Nexus 5" + }, + "countryCode": { + "type": "string", + "description": "Country two-character ISO 3166-1 alpha code.", + "x-example": "US" + }, + "countryName": { + "type": "string", + "description": "Country name.", + "x-example": "United States" + } + }, + "required": [ + "event", + "userId", + "userEmail", + "userName", + "mode", + "ip", + "time", + "osCode", + "osName", + "osVersion", + "clientType", + "clientCode", + "clientName", + "clientVersion", + "clientEngine", + "clientEngineVersion", + "deviceName", + "deviceBrand", + "deviceModel", + "countryCode", + "countryName" + ] + }, + "user": { + "description": "User", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "User ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "User creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "User update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "User name.", + "x-example": "John Doe" + }, + "password": { + "type": "string", + "description": "Hashed user password.", + "x-example": "$argon2id$v=19$m=2048,t=4,p=3$aUZjLnliVWRINmFNTWMudg$5S+x+7uA31xFnrHFT47yFwcJeaP0w92L\/4LdgrVRXxE", + "nullable": true + }, + "hash": { + "type": "string", + "description": "Password hashing algorithm.", + "x-example": "argon2", + "nullable": true + }, + "hashOptions": { + "type": "object", + "description": "Password hashing algorithm configuration.", + "x-example": {}, + "items": { + "oneOf": [ + { + "$ref": "#\/components\/schemas\/algoArgon2" + }, + { + "$ref": "#\/components\/schemas\/algoScrypt" + }, + { + "$ref": "#\/components\/schemas\/algoScryptModified" + }, + { + "$ref": "#\/components\/schemas\/algoBcrypt" + }, + { + "$ref": "#\/components\/schemas\/algoPhpass" + }, + { + "$ref": "#\/components\/schemas\/algoSha" + }, + { + "$ref": "#\/components\/schemas\/algoMd5" + } + ] + }, + "nullable": true + }, + "registration": { + "type": "string", + "description": "User registration date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "status": { + "type": "boolean", + "description": "User status. Pass `true` for enabled and `false` for disabled.", + "x-example": true + }, + "labels": { + "type": "array", + "description": "Labels for the user.", + "items": { + "type": "string" + }, + "x-example": [ + "vip" + ] + }, + "passwordUpdate": { + "type": "string", + "description": "Password update time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "email": { + "type": "string", + "description": "User email address.", + "x-example": "john@appwrite.io" + }, + "phone": { + "type": "string", + "description": "User phone number in E.164 format.", + "x-example": "+4930901820" + }, + "emailVerification": { + "type": "boolean", + "description": "Email verification status.", + "x-example": true + }, + "phoneVerification": { + "type": "boolean", + "description": "Phone verification status.", + "x-example": true + }, + "mfa": { + "type": "boolean", + "description": "Multi factor authentication status.", + "x-example": true + }, + "prefs": { + "type": "object", + "description": "User preferences as a key-value object", + "x-example": { + "theme": "pink", + "timezone": "UTC" + }, + "items": { + "$ref": "#\/components\/schemas\/preferences" + } + }, + "targets": { + "type": "array", + "description": "A user-owned message receiver. A single user may have multiple e.g. emails, phones, and a browser. Each target is registered with a single provider.", + "items": { + "$ref": "#\/components\/schemas\/target" + }, + "x-example": [] + }, + "accessedAt": { + "type": "string", + "description": "Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.", + "x-example": "2020-10-15T06:38:00.000+00:00" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "registration", + "status", + "labels", + "passwordUpdate", + "email", + "phone", + "emailVerification", + "phoneVerification", + "mfa", + "prefs", + "targets", + "accessedAt" + ] + }, + "algoMd5": { + "description": "AlgoMD5", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "md5" + } + }, + "required": [ + "type" + ] + }, + "algoSha": { + "description": "AlgoSHA", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "sha" + } + }, + "required": [ + "type" + ] + }, + "algoPhpass": { + "description": "AlgoPHPass", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "phpass" + } + }, + "required": [ + "type" + ] + }, + "algoBcrypt": { + "description": "AlgoBcrypt", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "bcrypt" + } + }, + "required": [ + "type" + ] + }, + "algoScrypt": { + "description": "AlgoScrypt", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "scrypt" + }, + "costCpu": { + "type": "integer", + "description": "CPU complexity of computed hash.", + "x-example": 8, + "format": "int32" + }, + "costMemory": { + "type": "integer", + "description": "Memory complexity of computed hash.", + "x-example": 14, + "format": "int32" + }, + "costParallel": { + "type": "integer", + "description": "Parallelization of computed hash.", + "x-example": 1, + "format": "int32" + }, + "length": { + "type": "integer", + "description": "Length used to compute hash.", + "x-example": 64, + "format": "int32" + } + }, + "required": [ + "type", + "costCpu", + "costMemory", + "costParallel", + "length" + ] + }, + "algoScryptModified": { + "description": "AlgoScryptModified", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "scryptMod" + }, + "salt": { + "type": "string", + "description": "Salt used to compute hash.", + "x-example": "UxLMreBr6tYyjQ==" + }, + "saltSeparator": { + "type": "string", + "description": "Separator used to compute hash.", + "x-example": "Bw==" + }, + "signerKey": { + "type": "string", + "description": "Key used to compute hash.", + "x-example": "XyEKE9RcTDeLEsL\/RjwPDBv\/RqDl8fb3gpYEOQaPihbxf1ZAtSOHCjuAAa7Q3oHpCYhXSN9tizHgVOwn6krflQ==" + } + }, + "required": [ + "type", + "salt", + "saltSeparator", + "signerKey" + ] + }, + "algoArgon2": { + "description": "AlgoArgon2", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "argon2" + }, + "memoryCost": { + "type": "integer", + "description": "Memory used to compute hash.", + "x-example": 65536, + "format": "int32" + }, + "timeCost": { + "type": "integer", + "description": "Amount of time consumed to compute hash", + "x-example": 4, + "format": "int32" + }, + "threads": { + "type": "integer", + "description": "Number of threads used to compute hash.", + "x-example": 3, + "format": "int32" + } + }, + "required": [ + "type", + "memoryCost", + "timeCost", + "threads" + ] + }, + "preferences": { + "description": "Preferences", + "type": "object", + "additionalProperties": true + }, + "session": { + "description": "Session", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Session ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Session creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Session update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "5e5bb8c16897e" + }, + "expire": { + "type": "string", + "description": "Session expiration date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "provider": { + "type": "string", + "description": "Session Provider.", + "x-example": "email" + }, + "providerUid": { + "type": "string", + "description": "Session Provider User ID.", + "x-example": "user@example.com" + }, + "providerAccessToken": { + "type": "string", + "description": "Session Provider Access Token.", + "x-example": "MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3" + }, + "providerAccessTokenExpiry": { + "type": "string", + "description": "The date of when the access token expires in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "providerRefreshToken": { + "type": "string", + "description": "Session Provider Refresh Token.", + "x-example": "MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3" + }, + "ip": { + "type": "string", + "description": "IP in use when the session was created.", + "x-example": "127.0.0.1" + }, + "osCode": { + "type": "string", + "description": "Operating system code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/os.json).", + "x-example": "Mac" + }, + "osName": { + "type": "string", + "description": "Operating system name.", + "x-example": "Mac" + }, + "osVersion": { + "type": "string", + "description": "Operating system version.", + "x-example": "Mac" + }, + "clientType": { + "type": "string", + "description": "Client type.", + "x-example": "browser" + }, + "clientCode": { + "type": "string", + "description": "Client code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/clients.json).", + "x-example": "CM" + }, + "clientName": { + "type": "string", + "description": "Client name.", + "x-example": "Chrome Mobile iOS" + }, + "clientVersion": { + "type": "string", + "description": "Client version.", + "x-example": "84.0" + }, + "clientEngine": { + "type": "string", + "description": "Client engine name.", + "x-example": "WebKit" + }, + "clientEngineVersion": { + "type": "string", + "description": "Client engine name.", + "x-example": "605.1.15" + }, + "deviceName": { + "type": "string", + "description": "Device name.", + "x-example": "smartphone" + }, + "deviceBrand": { + "type": "string", + "description": "Device brand name.", + "x-example": "Google" + }, + "deviceModel": { + "type": "string", + "description": "Device model name.", + "x-example": "Nexus 5" + }, + "countryCode": { + "type": "string", + "description": "Country two-character ISO 3166-1 alpha code.", + "x-example": "US" + }, + "countryName": { + "type": "string", + "description": "Country name.", + "x-example": "United States" + }, + "current": { + "type": "boolean", + "description": "Returns true if this the current user session.", + "x-example": true + }, + "factors": { + "type": "array", + "description": "Returns a list of active session factors.", + "items": { + "type": "string" + }, + "x-example": [ + "email" + ] + }, + "secret": { + "type": "string", + "description": "Secret used to authenticate the user. Only included if the request was made with an API key", + "x-example": "5e5bb8c16897e" + }, + "mfaUpdatedAt": { + "type": "string", + "description": "Most recent date in ISO 8601 format when the session successfully passed MFA challenge.", + "x-example": "2020-10-15T06:38:00.000+00:00" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "userId", + "expire", + "provider", + "providerUid", + "providerAccessToken", + "providerAccessTokenExpiry", + "providerRefreshToken", + "ip", + "osCode", + "osName", + "osVersion", + "clientType", + "clientCode", + "clientName", + "clientVersion", + "clientEngine", + "clientEngineVersion", + "deviceName", + "deviceBrand", + "deviceModel", + "countryCode", + "countryName", + "current", + "factors", + "secret", + "mfaUpdatedAt" + ] + }, + "identity": { + "description": "Identity", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Identity ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Identity creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Identity update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "5e5bb8c16897e" + }, + "provider": { + "type": "string", + "description": "Identity Provider.", + "x-example": "email" + }, + "providerUid": { + "type": "string", + "description": "ID of the User in the Identity Provider.", + "x-example": "5e5bb8c16897e" + }, + "providerEmail": { + "type": "string", + "description": "Email of the User in the Identity Provider.", + "x-example": "user@example.com" + }, + "providerAccessToken": { + "type": "string", + "description": "Identity Provider Access Token.", + "x-example": "MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3" + }, + "providerAccessTokenExpiry": { + "type": "string", + "description": "The date of when the access token expires in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "providerRefreshToken": { + "type": "string", + "description": "Identity Provider Refresh Token.", + "x-example": "MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "userId", + "provider", + "providerUid", + "providerEmail", + "providerAccessToken", + "providerAccessTokenExpiry", + "providerRefreshToken" + ] + }, + "token": { + "description": "Token", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Token ID.", + "x-example": "bb8ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Token creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "5e5ea5c168bb8" + }, + "secret": { + "type": "string", + "description": "Token secret key. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.", + "x-example": "" + }, + "expire": { + "type": "string", + "description": "Token expiration date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "phrase": { + "type": "string", + "description": "Security phrase of a token. Empty if security phrase was not requested when creating a token. It includes randomly generated phrase which is also sent in the external resource such as email.", + "x-example": "Golden Fox" + } + }, + "required": [ + "$id", + "$createdAt", + "userId", + "secret", + "expire", + "phrase" + ] + }, + "jwt": { + "description": "JWT", + "type": "object", + "properties": { + "jwt": { + "type": "string", + "description": "JWT encoded string.", + "x-example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c" + } + }, + "required": [ + "jwt" + ] + }, + "locale": { + "description": "Locale", + "type": "object", + "properties": { + "ip": { + "type": "string", + "description": "User IP address.", + "x-example": "127.0.0.1" + }, + "countryCode": { + "type": "string", + "description": "Country code in [ISO 3166-1](http:\/\/en.wikipedia.org\/wiki\/ISO_3166-1) two-character format", + "x-example": "US" + }, + "country": { + "type": "string", + "description": "Country name. This field support localization.", + "x-example": "United States" + }, + "continentCode": { + "type": "string", + "description": "Continent code. A two character continent code \"AF\" for Africa, \"AN\" for Antarctica, \"AS\" for Asia, \"EU\" for Europe, \"NA\" for North America, \"OC\" for Oceania, and \"SA\" for South America.", + "x-example": "NA" + }, + "continent": { + "type": "string", + "description": "Continent name. This field support localization.", + "x-example": "North America" + }, + "eu": { + "type": "boolean", + "description": "True if country is part of the European Union.", + "x-example": false + }, + "currency": { + "type": "string", + "description": "Currency code in [ISO 4217-1](http:\/\/en.wikipedia.org\/wiki\/ISO_4217) three-character format", + "x-example": "USD" + } + }, + "required": [ + "ip", + "countryCode", + "country", + "continentCode", + "continent", + "eu", + "currency" + ] + }, + "localeCode": { + "description": "LocaleCode", + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Locale codes in [ISO 639-1](https:\/\/en.wikipedia.org\/wiki\/List_of_ISO_639-1_codes)", + "x-example": "en-us" + }, + "name": { + "type": "string", + "description": "Locale name", + "x-example": "US" + } + }, + "required": [ + "code", + "name" + ] + }, + "file": { + "description": "File", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "File ID.", + "x-example": "5e5ea5c16897e" + }, + "bucketId": { + "type": "string", + "description": "Bucket ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "File creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "File update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$permissions": { + "type": "array", + "description": "File permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "items": { + "type": "string" + }, + "x-example": [ + "read(\"any\")" + ] + }, + "name": { + "type": "string", + "description": "File name.", + "x-example": "Pink.png" + }, + "signature": { + "type": "string", + "description": "File MD5 signature.", + "x-example": "5d529fd02b544198ae075bd57c1762bb" + }, + "mimeType": { + "type": "string", + "description": "File mime type.", + "x-example": "image\/png" + }, + "sizeOriginal": { + "type": "integer", + "description": "File original size in bytes.", + "x-example": 17890, + "format": "int32" + }, + "chunksTotal": { + "type": "integer", + "description": "Total number of chunks available", + "x-example": 17890, + "format": "int32" + }, + "chunksUploaded": { + "type": "integer", + "description": "Total number of chunks uploaded", + "x-example": 17890, + "format": "int32" + } + }, + "required": [ + "$id", + "bucketId", + "$createdAt", + "$updatedAt", + "$permissions", + "name", + "signature", + "mimeType", + "sizeOriginal", + "chunksTotal", + "chunksUploaded" + ] + }, + "bucket": { + "description": "Bucket", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Bucket ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Bucket creation time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Bucket update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$permissions": { + "type": "array", + "description": "Bucket permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "items": { + "type": "string" + }, + "x-example": [ + "read(\"any\")" + ] + }, + "fileSecurity": { + "type": "boolean", + "description": "Whether file-level security is enabled. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": true + }, + "name": { + "type": "string", + "description": "Bucket name.", + "x-example": "Documents" + }, + "enabled": { + "type": "boolean", + "description": "Bucket enabled.", + "x-example": false + }, + "maximumFileSize": { + "type": "integer", + "description": "Maximum file size supported.", + "x-example": 100, + "format": "int32" + }, + "allowedFileExtensions": { + "type": "array", + "description": "Allowed file extensions.", + "items": { + "type": "string" + }, + "x-example": [ + "jpg", + "png" + ] + }, + "compression": { + "type": "string", + "description": "Compression algorithm choosen for compression. Will be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd).", + "x-example": "gzip" + }, + "encryption": { + "type": "boolean", + "description": "Bucket is encrypted.", + "x-example": false + }, + "antivirus": { + "type": "boolean", + "description": "Virus scanning is enabled.", + "x-example": false + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "$permissions", + "fileSecurity", + "name", + "enabled", + "maximumFileSize", + "allowedFileExtensions", + "compression", + "encryption", + "antivirus" + ] + }, + "team": { + "description": "Team", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Team ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Team creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Team update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "Team name.", + "x-example": "VIP" + }, + "total": { + "type": "integer", + "description": "Total number of team members.", + "x-example": 7, + "format": "int32" + }, + "prefs": { + "type": "object", + "description": "Team preferences as a key-value object", + "x-example": { + "theme": "pink", + "timezone": "UTC" + }, + "items": { + "$ref": "#\/components\/schemas\/preferences" + } + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "total", + "prefs" + ] + }, + "membership": { + "description": "Membership", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Membership ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Membership creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Membership update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "5e5ea5c16897e" + }, + "userName": { + "type": "string", + "description": "User name. Hide this attribute by toggling membership privacy in the Console.", + "x-example": "John Doe" + }, + "userEmail": { + "type": "string", + "description": "User email address. Hide this attribute by toggling membership privacy in the Console.", + "x-example": "john@appwrite.io" + }, + "teamId": { + "type": "string", + "description": "Team ID.", + "x-example": "5e5ea5c16897e" + }, + "teamName": { + "type": "string", + "description": "Team name.", + "x-example": "VIP" + }, + "invited": { + "type": "string", + "description": "Date, the user has been invited to join the team in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "joined": { + "type": "string", + "description": "Date, the user has accepted the invitation to join the team in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "confirm": { + "type": "boolean", + "description": "User confirmation status, true if the user has joined the team or false otherwise.", + "x-example": false + }, + "mfa": { + "type": "boolean", + "description": "Multi factor authentication status, true if the user has MFA enabled or false otherwise. Hide this attribute by toggling membership privacy in the Console.", + "x-example": false + }, + "roles": { + "type": "array", + "description": "User list of roles", + "items": { + "type": "string" + }, + "x-example": [ + "owner" + ] + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "userId", + "userName", + "userEmail", + "teamId", + "teamName", + "invited", + "joined", + "confirm", + "mfa", + "roles" + ] + }, + "function": { + "description": "Function", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Function ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Function creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Function update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "execute": { + "type": "array", + "description": "Execution permissions.", + "items": { + "type": "string" + }, + "x-example": "users" + }, + "name": { + "type": "string", + "description": "Function name.", + "x-example": "My Function" + }, + "enabled": { + "type": "boolean", + "description": "Function enabled.", + "x-example": false + }, + "live": { + "type": "boolean", + "description": "Is the function deployed with the latest configuration? This is set to false if you've changed an environment variables, entrypoint, commands, or other settings that needs redeploy to be applied. When the value is false, redeploy the function to update it with the latest configuration.", + "x-example": false + }, + "logging": { + "type": "boolean", + "description": "Whether executions will be logged. When set to false, executions will not be logged, but will reduce resource used by your Appwrite project.", + "x-example": false + }, + "runtime": { + "type": "string", + "description": "Function execution runtime.", + "x-example": "python-3.8" + }, + "deployment": { + "type": "string", + "description": "Function's active deployment ID.", + "x-example": "5e5ea5c16897e" + }, + "scopes": { + "type": "array", + "description": "Allowed permission scopes.", + "items": { + "type": "string" + }, + "x-example": "users.read" + }, + "vars": { + "type": "array", + "description": "Function variables.", + "items": { + "$ref": "#\/components\/schemas\/variable" + }, + "x-example": [] + }, + "events": { + "type": "array", + "description": "Function trigger events.", + "items": { + "type": "string" + }, + "x-example": "account.create" + }, + "schedule": { + "type": "string", + "description": "Function execution schedule in CRON format.", + "x-example": "5 4 * * *" + }, + "timeout": { + "type": "integer", + "description": "Function execution timeout in seconds.", + "x-example": 300, + "format": "int32" + }, + "entrypoint": { + "type": "string", + "description": "The entrypoint file used to execute the deployment.", + "x-example": "index.js" + }, + "commands": { + "type": "string", + "description": "The build command used to build the deployment.", + "x-example": "npm install" + }, + "version": { + "type": "string", + "description": "Version of Open Runtimes used for the function.", + "x-example": "v2" + }, + "installationId": { + "type": "string", + "description": "Function VCS (Version Control System) installation id.", + "x-example": "6m40at4ejk5h2u9s1hboo" + }, + "providerRepositoryId": { + "type": "string", + "description": "VCS (Version Control System) Repository ID", + "x-example": "appwrite" + }, + "providerBranch": { + "type": "string", + "description": "VCS (Version Control System) branch name", + "x-example": "main" + }, + "providerRootDirectory": { + "type": "string", + "description": "Path to function in VCS (Version Control System) repository", + "x-example": "functions\/helloWorld" + }, + "providerSilentMode": { + "type": "boolean", + "description": "Is VCS (Version Control System) connection is in silent mode? When in silence mode, no comments will be posted on the repository pull or merge requests", + "x-example": false + }, + "specification": { + "type": "string", + "description": "Machine specification for builds and executions.", + "x-example": "s-1vcpu-512mb" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "execute", + "name", + "enabled", + "live", + "logging", + "runtime", + "deployment", + "scopes", + "vars", + "events", + "schedule", + "timeout", + "entrypoint", + "commands", + "version", + "installationId", + "providerRepositoryId", + "providerBranch", + "providerRootDirectory", + "providerSilentMode", + "specification" + ] + }, + "runtime": { + "description": "Runtime", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Runtime ID.", + "x-example": "python-3.8" + }, + "key": { + "type": "string", + "description": "Parent runtime key.", + "x-example": "python" + }, + "name": { + "type": "string", + "description": "Runtime Name.", + "x-example": "Python" + }, + "version": { + "type": "string", + "description": "Runtime version.", + "x-example": "3.8" + }, + "base": { + "type": "string", + "description": "Base Docker image used to build the runtime.", + "x-example": "python:3.8-alpine" + }, + "image": { + "type": "string", + "description": "Image name of Docker Hub.", + "x-example": "appwrite\\\/runtime-for-python:3.8" + }, + "logo": { + "type": "string", + "description": "Name of the logo image.", + "x-example": "python.png" + }, + "supports": { + "type": "array", + "description": "List of supported architectures.", + "items": { + "type": "string" + }, + "x-example": "amd64" + } + }, + "required": [ + "$id", + "key", + "name", + "version", + "base", + "image", + "logo", + "supports" + ] + }, + "deployment": { + "description": "Deployment", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Deployment ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Deployment creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Deployment update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "type": { + "type": "string", + "description": "Type of deployment.", + "x-example": "vcs" + }, + "resourceId": { + "type": "string", + "description": "Resource ID.", + "x-example": "5e5ea6g16897e" + }, + "resourceType": { + "type": "string", + "description": "Resource type.", + "x-example": "functions" + }, + "entrypoint": { + "type": "string", + "description": "The entrypoint file to use to execute the deployment code.", + "x-example": "index.js" + }, + "size": { + "type": "integer", + "description": "The code size in bytes.", + "x-example": 128, + "format": "int32" + }, + "buildSize": { + "type": "integer", + "description": "The build output size in bytes.", + "x-example": 128, + "format": "int32" + }, + "buildId": { + "type": "string", + "description": "The current build ID.", + "x-example": "5e5ea5c16897e" + }, + "activate": { + "type": "boolean", + "description": "Whether the deployment should be automatically activated.", + "x-example": true + }, + "status": { + "type": "string", + "description": "The deployment status. Possible values are \"processing\", \"building\", \"waiting\", \"ready\", and \"failed\".", + "x-example": "ready" + }, + "buildLogs": { + "type": "string", + "description": "The build logs.", + "x-example": "Compiling source files..." + }, + "buildTime": { + "type": "integer", + "description": "The current build time in seconds.", + "x-example": 128, + "format": "int32" + }, + "providerRepositoryName": { + "type": "string", + "description": "The name of the vcs provider repository", + "x-example": "database" + }, + "providerRepositoryOwner": { + "type": "string", + "description": "The name of the vcs provider repository owner", + "x-example": "utopia" + }, + "providerRepositoryUrl": { + "type": "string", + "description": "The url of the vcs provider repository", + "x-example": "https:\/\/github.com\/vermakhushboo\/g4-node-function" + }, + "providerBranch": { + "type": "string", + "description": "The branch of the vcs repository", + "x-example": "0.7.x" + }, + "providerCommitHash": { + "type": "string", + "description": "The commit hash of the vcs commit", + "x-example": "7c3f25d" + }, + "providerCommitAuthorUrl": { + "type": "string", + "description": "The url of vcs commit author", + "x-example": "https:\/\/github.com\/vermakhushboo" + }, + "providerCommitAuthor": { + "type": "string", + "description": "The name of vcs commit author", + "x-example": "Khushboo Verma" + }, + "providerCommitMessage": { + "type": "string", + "description": "The commit message", + "x-example": "Update index.js" + }, + "providerCommitUrl": { + "type": "string", + "description": "The url of the vcs commit", + "x-example": "https:\/\/github.com\/vermakhushboo\/g4-node-function\/commit\/60c0416257a9cbcdd96b2d370c38d8f8d150ccfb" + }, + "providerBranchUrl": { + "type": "string", + "description": "The branch of the vcs repository", + "x-example": "https:\/\/github.com\/vermakhushboo\/appwrite\/tree\/0.7.x" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "type", + "resourceId", + "resourceType", + "entrypoint", + "size", + "buildSize", + "buildId", + "activate", + "status", + "buildLogs", + "buildTime", + "providerRepositoryName", + "providerRepositoryOwner", + "providerRepositoryUrl", + "providerBranch", + "providerCommitHash", + "providerCommitAuthorUrl", + "providerCommitAuthor", + "providerCommitMessage", + "providerCommitUrl", + "providerBranchUrl" + ] + }, + "execution": { + "description": "Execution", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Execution ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Execution creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Execution upate date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$permissions": { + "type": "array", + "description": "Execution roles.", + "items": { + "type": "string" + }, + "x-example": [ + "any" + ] + }, + "functionId": { + "type": "string", + "description": "Function ID.", + "x-example": "5e5ea6g16897e" + }, + "trigger": { + "type": "string", + "description": "The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.", + "x-example": "http" + }, + "status": { + "type": "string", + "description": "The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, or `failed`.", + "x-example": "processing" + }, + "requestMethod": { + "type": "string", + "description": "HTTP request method type.", + "x-example": "GET" + }, + "requestPath": { + "type": "string", + "description": "HTTP request path and query.", + "x-example": "\/articles?id=5" + }, + "requestHeaders": { + "type": "array", + "description": "HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.", + "items": { + "$ref": "#\/components\/schemas\/headers" + }, + "x-example": [ + { + "Content-Type": "application\/json" + } + ] + }, + "responseStatusCode": { + "type": "integer", + "description": "HTTP response status code.", + "x-example": 200, + "format": "int32" + }, + "responseBody": { + "type": "string", + "description": "HTTP response body. This will return empty unless execution is created as synchronous.", + "x-example": "" + }, + "responseHeaders": { + "type": "array", + "description": "HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.", + "items": { + "$ref": "#\/components\/schemas\/headers" + }, + "x-example": [ + { + "Content-Type": "application\/json" + } + ] + }, + "logs": { + "type": "string", + "description": "Function logs. Includes the last 4,000 characters. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.", + "x-example": "" + }, + "errors": { + "type": "string", + "description": "Function errors. Includes the last 4,000 characters. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.", + "x-example": "" + }, + "duration": { + "type": "number", + "description": "Function execution duration in seconds.", + "x-example": 0.4, + "format": "double" + }, + "scheduledAt": { + "type": "string", + "description": "The scheduled time for execution. If left empty, execution will be queued immediately.", + "x-example": "2020-10-15T06:38:00.000+00:00", + "nullable": true + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "$permissions", + "functionId", + "trigger", + "status", + "requestMethod", + "requestPath", + "requestHeaders", + "responseStatusCode", + "responseBody", + "responseHeaders", + "logs", + "errors", + "duration" + ] + }, + "build": { + "description": "Build", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Build ID.", + "x-example": "5e5ea5c16897e" + }, + "deploymentId": { + "type": "string", + "description": "The deployment that created this build.", + "x-example": "5e5ea5c16897e" + }, + "status": { + "type": "string", + "description": "The build status. There are a few different types and each one means something different. \\nFailed - The deployment build has failed. More details can usually be found in buildStderr\\nReady - The deployment build was successful and the deployment is ready to be deployed\\nProcessing - The deployment is currently waiting to have a build triggered\\nBuilding - The deployment is currently being built", + "x-example": "ready" + }, + "stdout": { + "type": "string", + "description": "The stdout of the build.", + "x-example": "" + }, + "stderr": { + "type": "string", + "description": "The stderr of the build.", + "x-example": "" + }, + "startTime": { + "type": "string", + "description": "The deployment creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "endTime": { + "type": "string", + "description": "The time the build was finished in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "duration": { + "type": "integer", + "description": "The build duration in seconds.", + "x-example": 0, + "format": "int32" + }, + "size": { + "type": "integer", + "description": "The code size in bytes.", + "x-example": 128, + "format": "int32" + } + }, + "required": [ + "$id", + "deploymentId", + "status", + "stdout", + "stderr", + "startTime", + "endTime", + "duration", + "size" + ] + }, + "variable": { + "description": "Variable", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Variable ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Variable creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Variable creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "key": { + "type": "string", + "description": "Variable key.", + "x-example": "API_KEY" + }, + "value": { + "type": "string", + "description": "Variable value.", + "x-example": "myPa$$word1" + }, + "resourceType": { + "type": "string", + "description": "Service to which the variable belongs. Possible values are \"project\", \"function\"", + "x-example": "function" + }, + "resourceId": { + "type": "string", + "description": "ID of resource to which the variable belongs. If resourceType is \"project\", it is empty. If resourceType is \"function\", it is ID of the function.", + "x-example": "myAwesomeFunction" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "key", + "value", + "resourceType", + "resourceId" + ] + }, + "country": { + "description": "Country", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Country name.", + "x-example": "United States" + }, + "code": { + "type": "string", + "description": "Country two-character ISO 3166-1 alpha code.", + "x-example": "US" + } + }, + "required": [ + "name", + "code" + ] + }, + "continent": { + "description": "Continent", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Continent name.", + "x-example": "Europe" + }, + "code": { + "type": "string", + "description": "Continent two letter code.", + "x-example": "EU" + } + }, + "required": [ + "name", + "code" + ] + }, + "language": { + "description": "Language", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Language name.", + "x-example": "Italian" + }, + "code": { + "type": "string", + "description": "Language two-character ISO 639-1 codes.", + "x-example": "it" + }, + "nativeName": { + "type": "string", + "description": "Language native name.", + "x-example": "Italiano" + } + }, + "required": [ + "name", + "code", + "nativeName" + ] + }, + "currency": { + "description": "Currency", + "type": "object", + "properties": { + "symbol": { + "type": "string", + "description": "Currency symbol.", + "x-example": "$" + }, + "name": { + "type": "string", + "description": "Currency name.", + "x-example": "US dollar" + }, + "symbolNative": { + "type": "string", + "description": "Currency native symbol.", + "x-example": "$" + }, + "decimalDigits": { + "type": "integer", + "description": "Number of decimal digits.", + "x-example": 2, + "format": "int32" + }, + "rounding": { + "type": "number", + "description": "Currency digit rounding.", + "x-example": 0, + "format": "double" + }, + "code": { + "type": "string", + "description": "Currency code in [ISO 4217-1](http:\/\/en.wikipedia.org\/wiki\/ISO_4217) three-character format.", + "x-example": "USD" + }, + "namePlural": { + "type": "string", + "description": "Currency plural name", + "x-example": "US dollars" + } + }, + "required": [ + "symbol", + "name", + "symbolNative", + "decimalDigits", + "rounding", + "code", + "namePlural" + ] + }, + "phone": { + "description": "Phone", + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Phone code.", + "x-example": "+1" + }, + "countryCode": { + "type": "string", + "description": "Country two-character ISO 3166-1 alpha code.", + "x-example": "US" + }, + "countryName": { + "type": "string", + "description": "Country name.", + "x-example": "United States" + } + }, + "required": [ + "code", + "countryCode", + "countryName" + ] + }, + "healthAntivirus": { + "description": "Health Antivirus", + "type": "object", + "properties": { + "version": { + "type": "string", + "description": "Antivirus version.", + "x-example": "1.0.0" + }, + "status": { + "type": "string", + "description": "Antivirus status. Possible values can are: `disabled`, `offline`, `online`", + "x-example": "online" + } + }, + "required": [ + "version", + "status" + ] + }, + "healthQueue": { + "description": "Health Queue", + "type": "object", + "properties": { + "size": { + "type": "integer", + "description": "Amount of actions in the queue.", + "x-example": 8, + "format": "int32" + } + }, + "required": [ + "size" + ] + }, + "healthStatus": { + "description": "Health Status", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the service.", + "x-example": "database" + }, + "ping": { + "type": "integer", + "description": "Duration in milliseconds how long the health check took.", + "x-example": 128, + "format": "int32" + }, + "status": { + "type": "string", + "description": "Service status. Possible values can are: `pass`, `fail`", + "x-example": "pass" + } + }, + "required": [ + "name", + "ping", + "status" + ] + }, + "healthCertificate": { + "description": "Health Certificate", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Certificate name", + "x-example": "\/CN=www.google.com" + }, + "subjectSN": { + "type": "string", + "description": "Subject SN", + "x-example": "" + }, + "issuerOrganisation": { + "type": "string", + "description": "Issuer organisation", + "x-example": "" + }, + "validFrom": { + "type": "string", + "description": "Valid from", + "x-example": "1704200998" + }, + "validTo": { + "type": "string", + "description": "Valid to", + "x-example": "1711458597" + }, + "signatureTypeSN": { + "type": "string", + "description": "Signature type SN", + "x-example": "RSA-SHA256" + } + }, + "required": [ + "name", + "subjectSN", + "issuerOrganisation", + "validFrom", + "validTo", + "signatureTypeSN" + ] + }, + "healthTime": { + "description": "Health Time", + "type": "object", + "properties": { + "remoteTime": { + "type": "integer", + "description": "Current unix timestamp on trustful remote server.", + "x-example": 1639490751, + "format": "int32" + }, + "localTime": { + "type": "integer", + "description": "Current unix timestamp of local server where Appwrite runs.", + "x-example": 1639490844, + "format": "int32" + }, + "diff": { + "type": "integer", + "description": "Difference of unix remote and local timestamps in milliseconds.", + "x-example": 93, + "format": "int32" + } + }, + "required": [ + "remoteTime", + "localTime", + "diff" + ] + }, + "headers": { + "description": "Headers", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Header name.", + "x-example": "Content-Type" + }, + "value": { + "type": "string", + "description": "Header value.", + "x-example": "application\/json" + } + }, + "required": [ + "name", + "value" + ] + }, + "specification": { + "description": "Specification", + "type": "object", + "properties": { + "memory": { + "type": "integer", + "description": "Memory size in MB.", + "x-example": 512, + "format": "int32" + }, + "cpus": { + "type": "number", + "description": "Number of CPUs.", + "x-example": 1, + "format": "double" + }, + "enabled": { + "type": "boolean", + "description": "Is size enabled.", + "x-example": true + }, + "slug": { + "type": "string", + "description": "Size slug.", + "x-example": "s-1vcpu-512mb" + } + }, + "required": [ + "memory", + "cpus", + "enabled", + "slug" + ] + }, + "mfaChallenge": { + "description": "MFA Challenge", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Token ID.", + "x-example": "bb8ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Token creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "5e5ea5c168bb8" + }, + "expire": { + "type": "string", + "description": "Token expiration date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + } + }, + "required": [ + "$id", + "$createdAt", + "userId", + "expire" + ] + }, + "mfaRecoveryCodes": { + "description": "MFA Recovery Codes", + "type": "object", + "properties": { + "recoveryCodes": { + "type": "array", + "description": "Recovery codes.", + "items": { + "type": "string" + }, + "x-example": [ + "a3kf0-s0cl2", + "s0co1-as98s" + ] + } + }, + "required": [ + "recoveryCodes" + ] + }, + "mfaType": { + "description": "MFAType", + "type": "object", + "properties": { + "secret": { + "type": "string", + "description": "Secret token used for TOTP factor.", + "x-example": true + }, + "uri": { + "type": "string", + "description": "URI for authenticator apps.", + "x-example": true + } + }, + "required": [ + "secret", + "uri" + ] + }, + "mfaFactors": { + "description": "MFAFactors", + "type": "object", + "properties": { + "totp": { + "type": "boolean", + "description": "Can TOTP be used for MFA challenge for this account.", + "x-example": true + }, + "phone": { + "type": "boolean", + "description": "Can phone (SMS) be used for MFA challenge for this account.", + "x-example": true + }, + "email": { + "type": "boolean", + "description": "Can email be used for MFA challenge for this account.", + "x-example": true + }, + "recoveryCode": { + "type": "boolean", + "description": "Can recovery code be used for MFA challenge for this account.", + "x-example": true + } + }, + "required": [ + "totp", + "phone", + "email", + "recoveryCode" + ] + }, + "provider": { + "description": "Provider", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Provider ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Provider creation time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Provider update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "The name for the provider instance.", + "x-example": "Mailgun" + }, + "provider": { + "type": "string", + "description": "The name of the provider service.", + "x-example": "mailgun" + }, + "enabled": { + "type": "boolean", + "description": "Is provider enabled?", + "x-example": true + }, + "type": { + "type": "string", + "description": "Type of provider.", + "x-example": "sms" + }, + "credentials": { + "type": "object", + "description": "Provider credentials.", + "x-example": { + "key": "123456789" + } + }, + "options": { + "type": "object", + "description": "Provider options.", + "x-example": { + "from": "sender-email@mydomain" + }, + "nullable": true + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "provider", + "enabled", + "type", + "credentials" + ] + }, + "message": { + "description": "Message", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Message ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Message creation time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Message update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "providerType": { + "type": "string", + "description": "Message provider type.", + "x-example": "email" + }, + "topics": { + "type": "array", + "description": "Topic IDs set as recipients.", + "items": { + "type": "string" + }, + "x-example": [ + "5e5ea5c16897e" + ] + }, + "users": { + "type": "array", + "description": "User IDs set as recipients.", + "items": { + "type": "string" + }, + "x-example": [ + "5e5ea5c16897e" + ] + }, + "targets": { + "type": "array", + "description": "Target IDs set as recipients.", + "items": { + "type": "string" + }, + "x-example": [ + "5e5ea5c16897e" + ] + }, + "scheduledAt": { + "type": "string", + "description": "The scheduled time for message.", + "x-example": "2020-10-15T06:38:00.000+00:00", + "nullable": true + }, + "deliveredAt": { + "type": "string", + "description": "The time when the message was delivered.", + "x-example": "2020-10-15T06:38:00.000+00:00", + "nullable": true + }, + "deliveryErrors": { + "type": "array", + "description": "Delivery errors if any.", + "items": { + "type": "string" + }, + "x-example": [ + "Failed to send message to target 5e5ea5c16897e: Credentials not valid." + ], + "nullable": true + }, + "deliveredTotal": { + "type": "integer", + "description": "Number of recipients the message was delivered to.", + "x-example": 1, + "format": "int32" + }, + "data": { + "type": "object", + "description": "Data of the message.", + "x-example": { + "subject": "Welcome to Appwrite", + "content": "Hi there, welcome to Appwrite family." + } + }, + "status": { + "type": "string", + "description": "Status of delivery.", + "x-example": "Message status can be one of the following: draft, processing, scheduled, sent, or failed." + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "providerType", + "topics", + "users", + "targets", + "deliveredTotal", + "data", + "status" + ] + }, + "topic": { + "description": "Topic", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Topic ID.", + "x-example": "259125845563242502" + }, + "$createdAt": { + "type": "string", + "description": "Topic creation time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Topic update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "The name of the topic.", + "x-example": "events" + }, + "emailTotal": { + "type": "integer", + "description": "Total count of email subscribers subscribed to the topic.", + "x-example": 100, + "format": "int32" + }, + "smsTotal": { + "type": "integer", + "description": "Total count of SMS subscribers subscribed to the topic.", + "x-example": 100, + "format": "int32" + }, + "pushTotal": { + "type": "integer", + "description": "Total count of push subscribers subscribed to the topic.", + "x-example": 100, + "format": "int32" + }, + "subscribe": { + "type": "array", + "description": "Subscribe permissions.", + "items": { + "type": "string" + }, + "x-example": "users" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "emailTotal", + "smsTotal", + "pushTotal", + "subscribe" + ] + }, + "subscriber": { + "description": "Subscriber", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Subscriber ID.", + "x-example": "259125845563242502" + }, + "$createdAt": { + "type": "string", + "description": "Subscriber creation time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Subscriber update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "targetId": { + "type": "string", + "description": "Target ID.", + "x-example": "259125845563242502" + }, + "target": { + "type": "object", + "description": "Target.", + "x-example": { + "$id": "259125845563242502", + "$createdAt": "2020-10-15T06:38:00.000+00:00", + "$updatedAt": "2020-10-15T06:38:00.000+00:00", + "providerType": "email", + "providerId": "259125845563242502", + "name": "ageon-app-email", + "identifier": "random-mail@email.org", + "userId": "5e5ea5c16897e" + }, + "items": { + "$ref": "#\/components\/schemas\/target" + } + }, + "userId": { + "type": "string", + "description": "Topic ID.", + "x-example": "5e5ea5c16897e" + }, + "userName": { + "type": "string", + "description": "User Name.", + "x-example": "Aegon Targaryen" + }, + "topicId": { + "type": "string", + "description": "Topic ID.", + "x-example": "259125845563242502" + }, + "providerType": { + "type": "string", + "description": "The target provider type. Can be one of the following: `email`, `sms` or `push`.", + "x-example": "email" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "targetId", + "target", + "userId", + "userName", + "topicId", + "providerType" + ] + }, + "target": { + "description": "Target", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Target ID.", + "x-example": "259125845563242502" + }, + "$createdAt": { + "type": "string", + "description": "Target creation time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Target update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "Target Name.", + "x-example": "Apple iPhone 12" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "259125845563242502" + }, + "providerId": { + "type": "string", + "description": "Provider ID.", + "x-example": "259125845563242502", + "nullable": true + }, + "providerType": { + "type": "string", + "description": "The target provider type. Can be one of the following: `email`, `sms` or `push`.", + "x-example": "email" + }, + "identifier": { + "type": "string", + "description": "The target identifier.", + "x-example": "token" + }, + "expired": { + "type": "boolean", + "description": "Is the target expired.", + "x-example": false + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "userId", + "providerType", + "identifier", + "expired" + ] + } + }, + "securitySchemes": { + "Project": { + "type": "apiKey", + "name": "X-Appwrite-Project", + "description": "Your project ID", + "in": "header", + "x-appwrite": { + "demo": "<YOUR_PROJECT_ID>" + } + }, + "Key": { + "type": "apiKey", + "name": "X-Appwrite-Key", + "description": "Your secret API key", + "in": "header", + "x-appwrite": { + "demo": "<YOUR_API_KEY>" + } + }, + "JWT": { + "type": "apiKey", + "name": "X-Appwrite-JWT", + "description": "Your secret JSON Web Token", + "in": "header" + }, + "Locale": { + "type": "apiKey", + "name": "X-Appwrite-Locale", + "description": "", + "in": "header", + "x-appwrite": { + "demo": "en" + } + }, + "Session": { + "type": "apiKey", + "name": "X-Appwrite-Session", + "description": "The user session to authenticate with", + "in": "header" + }, + "ForwardedUserAgent": { + "type": "apiKey", + "name": "X-Forwarded-User-Agent", + "description": "The user agent string of the client that made the request", + "in": "header" + } + } + }, + "externalDocs": { + "description": "Full API docs, specs and tutorials", + "url": "https:\/\/appwrite.io\/docs" + } +} \ No newline at end of file diff --git a/app/config/specs/open-api3-1.6.x-client.json b/app/config/specs/open-api3-1.6.x-client.json index 316fe13116..a384818bd1 100644 --- a/app/config/specs/open-api3-1.6.x-client.json +++ b/app/config/specs/open-api3-1.6.x-client.json @@ -1,7 +1,7 @@ { "openapi": "3.0.0", "info": { - "version": "1.6.1", + "version": "1.6.2", "title": "Appwrite", "description": "Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https:\/\/appwrite.io\/docs](https:\/\/appwrite.io\/docs)", "termsOfService": "https:\/\/appwrite.io\/policy\/terms", @@ -18,6 +18,9 @@ "servers": [ { "url": "https:\/\/cloud.appwrite.io\/v1" + }, + { + "url": "https:\/\/<REGION>.cloud.appwrite.io\/v1" } ], "paths": { @@ -43,6 +46,7 @@ }, "x-appwrite": { "method": "get", + "group": "account", "weight": 9, "cookies": false, "type": "", @@ -91,6 +95,7 @@ }, "x-appwrite": { "method": "create", + "group": "account", "weight": 8, "cookies": false, "type": "", @@ -175,6 +180,7 @@ }, "x-appwrite": { "method": "updateEmail", + "group": "account", "weight": 34, "cookies": false, "type": "", @@ -250,6 +256,7 @@ }, "x-appwrite": { "method": "listIdentities", + "group": "identities", "weight": 57, "cookies": false, "type": "", @@ -308,6 +315,7 @@ }, "x-appwrite": { "method": "deleteIdentity", + "group": "identities", "weight": 58, "cookies": false, "type": "", @@ -370,6 +378,7 @@ }, "x-appwrite": { "method": "createJWT", + "group": "tokens", "weight": 29, "cookies": false, "type": "", @@ -418,6 +427,7 @@ }, "x-appwrite": { "method": "listLogs", + "group": "logs", "weight": 31, "cookies": false, "type": "", @@ -483,6 +493,7 @@ }, "x-appwrite": { "method": "updateMFA", + "group": "mfa", "weight": 44, "cookies": false, "type": "", @@ -552,6 +563,7 @@ }, "x-appwrite": { "method": "createMfaAuthenticator", + "group": "mfa", "weight": 46, "cookies": false, "type": "", @@ -597,7 +609,7 @@ ] }, "put": { - "summary": "Verify authenticator", + "summary": "Update authenticator (confirmation)", "operationId": "accountUpdateMfaAuthenticator", "tags": [ "account" @@ -617,6 +629,7 @@ }, "x-appwrite": { "method": "updateMfaAuthenticator", + "group": "mfa", "weight": 47, "cookies": false, "type": "", @@ -694,6 +707,7 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", + "group": "mfa", "weight": 51, "cookies": false, "type": "", @@ -761,6 +775,7 @@ }, "x-appwrite": { "method": "createMfaChallenge", + "group": "mfa", "weight": 52, "cookies": false, "type": "", @@ -814,7 +829,7 @@ } }, "put": { - "summary": "Create MFA challenge (confirmation)", + "summary": "Update MFA challenge (confirmation)", "operationId": "accountUpdateMfaChallenge", "tags": [ "account" @@ -834,6 +849,7 @@ }, "x-appwrite": { "method": "updateMfaChallenge", + "group": "mfa", "weight": 53, "cookies": false, "type": "", @@ -909,6 +925,7 @@ }, "x-appwrite": { "method": "listMfaFactors", + "group": "mfa", "weight": 45, "cookies": false, "type": "", @@ -939,7 +956,7 @@ }, "\/account\/mfa\/recovery-codes": { "get": { - "summary": "Get MFA recovery codes", + "summary": "List MFA recovery codes", "operationId": "accountGetMfaRecoveryCodes", "tags": [ "account" @@ -959,6 +976,7 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", + "group": "mfa", "weight": 50, "cookies": false, "type": "", @@ -1007,6 +1025,7 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", + "group": "mfa", "weight": 48, "cookies": false, "type": "", @@ -1035,7 +1054,7 @@ ] }, "patch": { - "summary": "Regenerate MFA recovery codes", + "summary": "Update MFA recovery codes (regenerate)", "operationId": "accountUpdateMfaRecoveryCodes", "tags": [ "account" @@ -1055,6 +1074,7 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", + "group": "mfa", "weight": 49, "cookies": false, "type": "", @@ -1105,6 +1125,7 @@ }, "x-appwrite": { "method": "updateName", + "group": "account", "weight": 32, "cookies": false, "type": "", @@ -1174,6 +1195,7 @@ }, "x-appwrite": { "method": "updatePassword", + "group": "account", "weight": 33, "cookies": false, "type": "", @@ -1248,6 +1270,7 @@ }, "x-appwrite": { "method": "updatePhone", + "group": "account", "weight": 35, "cookies": false, "type": "", @@ -1323,6 +1346,7 @@ }, "x-appwrite": { "method": "getPrefs", + "group": "account", "weight": 30, "cookies": false, "type": "", @@ -1371,6 +1395,7 @@ }, "x-appwrite": { "method": "updatePrefs", + "group": "account", "weight": 36, "cookies": false, "type": "", @@ -1440,6 +1465,7 @@ }, "x-appwrite": { "method": "createRecovery", + "group": "recovery", "weight": 38, "cookies": false, "type": "", @@ -1496,7 +1522,7 @@ } }, "put": { - "summary": "Create password recovery (confirmation)", + "summary": "Update password recovery (confirmation)", "operationId": "accountUpdateRecovery", "tags": [ "account" @@ -1516,6 +1542,7 @@ }, "x-appwrite": { "method": "updateRecovery", + "group": "recovery", "weight": 39, "cookies": false, "type": "", @@ -1597,6 +1624,7 @@ }, "x-appwrite": { "method": "listSessions", + "group": "sessions", "weight": 11, "cookies": false, "type": "", @@ -1638,6 +1666,7 @@ }, "x-appwrite": { "method": "deleteSessions", + "group": "sessions", "weight": 12, "cookies": false, "type": "", @@ -1688,6 +1717,7 @@ }, "x-appwrite": { "method": "createAnonymousSession", + "group": "sessions", "weight": 17, "cookies": false, "type": "", @@ -1736,6 +1766,7 @@ }, "x-appwrite": { "method": "createEmailPasswordSession", + "group": "sessions", "weight": 16, "cookies": false, "type": "", @@ -1809,6 +1840,7 @@ }, "x-appwrite": { "method": "updateMagicURLSession", + "group": "sessions", "weight": 26, "cookies": false, "type": "", @@ -1875,6 +1907,7 @@ }, "x-appwrite": { "method": "createOAuth2Session", + "group": "sessions", "weight": 19, "cookies": false, "type": "webAuth", @@ -1902,7 +1935,7 @@ "parameters": [ { "name": "provider", - "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", + "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", "required": true, "schema": { "type": "string", @@ -1922,6 +1955,7 @@ "dropbox", "etsy", "facebook", + "figma", "github", "gitlab", "google", @@ -2015,6 +2049,7 @@ }, "x-appwrite": { "method": "updatePhoneSession", + "group": "sessions", "weight": 27, "cookies": false, "type": "", @@ -2088,6 +2123,7 @@ }, "x-appwrite": { "method": "createSession", + "group": "sessions", "weight": 18, "cookies": false, "type": "", @@ -2161,6 +2197,7 @@ }, "x-appwrite": { "method": "getSession", + "group": "sessions", "weight": 13, "cookies": false, "type": "", @@ -2221,6 +2258,7 @@ }, "x-appwrite": { "method": "updateSession", + "group": "sessions", "weight": 15, "cookies": false, "type": "", @@ -2274,6 +2312,7 @@ }, "x-appwrite": { "method": "deleteSession", + "group": "sessions", "weight": 14, "cookies": false, "type": "", @@ -2336,6 +2375,7 @@ }, "x-appwrite": { "method": "updateStatus", + "group": "account", "weight": 37, "cookies": false, "type": "", @@ -2386,6 +2426,7 @@ }, "x-appwrite": { "method": "createPushTarget", + "group": "pushTargets", "weight": 54, "cookies": false, "type": "", @@ -2464,6 +2505,7 @@ }, "x-appwrite": { "method": "updatePushTarget", + "group": "pushTargets", "weight": 55, "cookies": false, "type": "", @@ -2534,6 +2576,7 @@ }, "x-appwrite": { "method": "deletePushTarget", + "group": "pushTargets", "weight": 56, "cookies": false, "type": "", @@ -2594,6 +2637,7 @@ }, "x-appwrite": { "method": "createEmailToken", + "group": "tokens", "weight": 25, "cookies": false, "type": "", @@ -2672,6 +2716,7 @@ }, "x-appwrite": { "method": "createMagicURLToken", + "group": "tokens", "weight": 24, "cookies": false, "type": "", @@ -2751,6 +2796,7 @@ }, "x-appwrite": { "method": "createOAuth2Token", + "group": "tokens", "weight": 23, "cookies": false, "type": "webAuth", @@ -2778,7 +2824,7 @@ "parameters": [ { "name": "provider", - "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", + "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", "required": true, "schema": { "type": "string", @@ -2798,6 +2844,7 @@ "dropbox", "etsy", "facebook", + "figma", "github", "gitlab", "google", @@ -2891,6 +2938,7 @@ }, "x-appwrite": { "method": "createPhoneToken", + "group": "tokens", "weight": 28, "cookies": false, "type": "", @@ -2967,6 +3015,7 @@ }, "x-appwrite": { "method": "createVerification", + "group": "verification", "weight": 40, "cookies": false, "type": "", @@ -3014,7 +3063,7 @@ } }, "put": { - "summary": "Create email verification (confirmation)", + "summary": "Update email verification (confirmation)", "operationId": "accountUpdateVerification", "tags": [ "account" @@ -3034,6 +3083,7 @@ }, "x-appwrite": { "method": "updateVerification", + "group": "verification", "weight": 41, "cookies": false, "type": "", @@ -3109,6 +3159,7 @@ }, "x-appwrite": { "method": "createPhoneVerification", + "group": "verification", "weight": 42, "cookies": false, "type": "", @@ -3160,6 +3211,7 @@ }, "x-appwrite": { "method": "updatePhoneVerification", + "group": "verification", "weight": 43, "cookies": false, "type": "", @@ -3228,6 +3280,7 @@ }, "x-appwrite": { "method": "getBrowser", + "group": null, "weight": 60, "cookies": false, "type": "location", @@ -3353,6 +3406,7 @@ }, "x-appwrite": { "method": "getCreditCard", + "group": null, "weight": 59, "cookies": false, "type": "location", @@ -3484,6 +3538,7 @@ }, "x-appwrite": { "method": "getFavicon", + "group": null, "weight": 63, "cookies": false, "type": "location", @@ -3541,6 +3596,7 @@ }, "x-appwrite": { "method": "getFlag", + "group": null, "weight": 61, "cookies": false, "type": "location", @@ -4028,6 +4084,7 @@ }, "x-appwrite": { "method": "getImage", + "group": null, "weight": 62, "cookies": false, "type": "location", @@ -4109,6 +4166,7 @@ }, "x-appwrite": { "method": "getInitials", + "group": null, "weight": 65, "cookies": false, "type": "location", @@ -4200,6 +4258,7 @@ }, "x-appwrite": { "method": "getQR", + "group": null, "weight": 64, "cookies": false, "type": "location", @@ -4298,6 +4357,7 @@ }, "x-appwrite": { "method": "listDocuments", + "group": "documents", "weight": 109, "cookies": false, "type": "", @@ -4382,6 +4442,7 @@ }, "x-appwrite": { "method": "createDocument", + "group": "documents", "weight": 108, "cookies": false, "type": "", @@ -4488,6 +4549,7 @@ }, "x-appwrite": { "method": "getDocument", + "group": "documents", "weight": 110, "cookies": false, "type": "", @@ -4582,6 +4644,7 @@ }, "x-appwrite": { "method": "updateDocument", + "group": "documents", "weight": 112, "cookies": false, "type": "", @@ -4680,6 +4743,7 @@ }, "x-appwrite": { "method": "deleteDocument", + "group": "documents", "weight": 113, "cookies": false, "type": "", @@ -4763,7 +4827,8 @@ }, "x-appwrite": { "method": "listExecutions", - "weight": 306, + "group": "executions", + "weight": 305, "cookies": false, "type": "", "deprecated": false, @@ -4848,7 +4913,8 @@ }, "x-appwrite": { "method": "createExecution", - "weight": 305, + "group": "executions", + "weight": 304, "cookies": false, "type": "", "deprecated": false, @@ -4962,7 +5028,8 @@ }, "x-appwrite": { "method": "getExecution", - "weight": 307, + "group": "executions", + "weight": 306, "cookies": false, "type": "", "deprecated": false, @@ -5035,7 +5102,8 @@ }, "x-appwrite": { "method": "query", - "weight": 331, + "group": "graphql", + "weight": 330, "cookies": false, "type": "graphql", "deprecated": false, @@ -5086,7 +5154,8 @@ }, "x-appwrite": { "method": "mutation", - "weight": 330, + "group": "graphql", + "weight": 329, "cookies": false, "type": "graphql", "deprecated": false, @@ -5137,6 +5206,7 @@ }, "x-appwrite": { "method": "get", + "group": null, "weight": 117, "cookies": false, "type": "", @@ -5188,6 +5258,7 @@ }, "x-appwrite": { "method": "listCodes", + "group": null, "weight": 118, "cookies": false, "type": "", @@ -5239,6 +5310,7 @@ }, "x-appwrite": { "method": "listContinents", + "group": null, "weight": 122, "cookies": false, "type": "", @@ -5290,6 +5362,7 @@ }, "x-appwrite": { "method": "listCountries", + "group": null, "weight": 119, "cookies": false, "type": "", @@ -5341,6 +5414,7 @@ }, "x-appwrite": { "method": "listCountriesEU", + "group": null, "weight": 120, "cookies": false, "type": "", @@ -5392,6 +5466,7 @@ }, "x-appwrite": { "method": "listCountriesPhones", + "group": null, "weight": 121, "cookies": false, "type": "", @@ -5443,6 +5518,7 @@ }, "x-appwrite": { "method": "listCurrencies", + "group": null, "weight": 123, "cookies": false, "type": "", @@ -5494,6 +5570,7 @@ }, "x-appwrite": { "method": "listLanguages", + "group": null, "weight": 124, "cookies": false, "type": "", @@ -5545,7 +5622,8 @@ }, "x-appwrite": { "method": "createSubscriber", - "weight": 376, + "group": "subscribers", + "weight": 375, "cookies": false, "type": "", "deprecated": false, @@ -5627,7 +5705,8 @@ }, "x-appwrite": { "method": "deleteSubscriber", - "weight": 380, + "group": "subscribers", + "weight": 379, "cookies": false, "type": "", "deprecated": false, @@ -5701,7 +5780,8 @@ }, "x-appwrite": { "method": "listFiles", - "weight": 208, + "group": "files", + "weight": 207, "cookies": false, "type": "", "deprecated": false, @@ -5786,7 +5866,8 @@ }, "x-appwrite": { "method": "createFile", - "weight": 207, + "group": "files", + "weight": 206, "cookies": false, "type": "upload", "deprecated": false, @@ -5883,7 +5964,8 @@ }, "x-appwrite": { "method": "getFile", - "weight": 209, + "group": "files", + "weight": 208, "cookies": false, "type": "", "deprecated": false, @@ -5954,7 +6036,8 @@ }, "x-appwrite": { "method": "updateFile", - "weight": 214, + "group": "files", + "weight": 213, "cookies": false, "type": "", "deprecated": false, @@ -6042,7 +6125,8 @@ }, "x-appwrite": { "method": "deleteFile", - "weight": 215, + "group": "files", + "weight": 214, "cookies": false, "type": "", "deprecated": false, @@ -6108,7 +6192,8 @@ }, "x-appwrite": { "method": "getFileDownload", - "weight": 211, + "group": "files", + "weight": 210, "cookies": false, "type": "location", "deprecated": false, @@ -6174,7 +6259,8 @@ }, "x-appwrite": { "method": "getFilePreview", - "weight": 210, + "group": "files", + "weight": 209, "cookies": false, "type": "location", "deprecated": false, @@ -6390,7 +6476,8 @@ }, "x-appwrite": { "method": "getFileView", - "weight": 212, + "group": "files", + "weight": 211, "cookies": false, "type": "location", "deprecated": false, @@ -6463,7 +6550,8 @@ }, "x-appwrite": { "method": "list", - "weight": 219, + "group": "teams", + "weight": 218, "cookies": false, "type": "", "deprecated": false, @@ -6538,7 +6626,8 @@ }, "x-appwrite": { "method": "create", - "weight": 218, + "group": "teams", + "weight": 217, "cookies": false, "type": "", "deprecated": false, @@ -6622,7 +6711,8 @@ }, "x-appwrite": { "method": "get", - "weight": 220, + "group": "teams", + "weight": 219, "cookies": false, "type": "", "deprecated": false, @@ -6683,7 +6773,8 @@ }, "x-appwrite": { "method": "updateName", - "weight": 222, + "group": "teams", + "weight": 221, "cookies": false, "type": "", "deprecated": false, @@ -6756,7 +6847,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 224, + "group": "teams", + "weight": 223, "cookies": false, "type": "", "deprecated": false, @@ -6819,7 +6911,8 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 226, + "group": "memberships", + "weight": 225, "cookies": false, "type": "", "deprecated": false, @@ -6904,7 +6997,8 @@ }, "x-appwrite": { "method": "createMembership", - "weight": 225, + "group": "memberships", + "weight": 224, "cookies": false, "type": "", "deprecated": false, @@ -7014,7 +7108,8 @@ }, "x-appwrite": { "method": "getMembership", - "weight": 227, + "group": "memberships", + "weight": 226, "cookies": false, "type": "", "deprecated": false, @@ -7085,7 +7180,8 @@ }, "x-appwrite": { "method": "updateMembership", - "weight": 228, + "group": "memberships", + "weight": 227, "cookies": false, "type": "", "deprecated": false, @@ -7171,7 +7267,8 @@ }, "x-appwrite": { "method": "deleteMembership", - "weight": 230, + "group": "memberships", + "weight": 229, "cookies": false, "type": "", "deprecated": false, @@ -7244,7 +7341,8 @@ }, "x-appwrite": { "method": "updateMembershipStatus", - "weight": 229, + "group": "memberships", + "weight": 228, "cookies": false, "type": "", "deprecated": false, @@ -7341,7 +7439,8 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 221, + "group": "teams", + "weight": 220, "cookies": false, "type": "", "deprecated": false, @@ -7401,7 +7500,8 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 223, + "group": "teams", + "weight": 222, "cookies": false, "type": "", "deprecated": false, diff --git a/app/config/specs/open-api3-1.6.x-console.json b/app/config/specs/open-api3-1.6.x-console.json index 54161c4262..0284873ab8 100644 --- a/app/config/specs/open-api3-1.6.x-console.json +++ b/app/config/specs/open-api3-1.6.x-console.json @@ -1,7 +1,7 @@ { "openapi": "3.0.0", "info": { - "version": "1.6.1", + "version": "1.6.2", "title": "Appwrite", "description": "Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https:\/\/appwrite.io\/docs](https:\/\/appwrite.io\/docs)", "termsOfService": "https:\/\/appwrite.io\/policy\/terms", @@ -18,6 +18,9 @@ "servers": [ { "url": "https:\/\/cloud.appwrite.io\/v1" + }, + { + "url": "https:\/\/<REGION>.cloud.appwrite.io\/v1" } ], "paths": { @@ -43,6 +46,7 @@ }, "x-appwrite": { "method": "get", + "group": "account", "weight": 9, "cookies": false, "type": "", @@ -90,6 +94,7 @@ }, "x-appwrite": { "method": "create", + "group": "account", "weight": 8, "cookies": false, "type": "", @@ -165,6 +170,7 @@ }, "x-appwrite": { "method": "delete", + "group": "account", "weight": 10, "cookies": false, "type": "", @@ -212,6 +218,7 @@ }, "x-appwrite": { "method": "updateEmail", + "group": "account", "weight": 34, "cookies": false, "type": "", @@ -286,6 +293,7 @@ }, "x-appwrite": { "method": "listIdentities", + "group": "identities", "weight": 57, "cookies": false, "type": "", @@ -343,6 +351,7 @@ }, "x-appwrite": { "method": "deleteIdentity", + "group": "identities", "weight": 58, "cookies": false, "type": "", @@ -404,6 +413,7 @@ }, "x-appwrite": { "method": "createJWT", + "group": "tokens", "weight": 29, "cookies": false, "type": "", @@ -452,6 +462,7 @@ }, "x-appwrite": { "method": "listLogs", + "group": "logs", "weight": 31, "cookies": false, "type": "", @@ -516,6 +527,7 @@ }, "x-appwrite": { "method": "updateMFA", + "group": "mfa", "weight": 44, "cookies": false, "type": "", @@ -584,6 +596,7 @@ }, "x-appwrite": { "method": "createMfaAuthenticator", + "group": "mfa", "weight": 46, "cookies": false, "type": "", @@ -628,7 +641,7 @@ ] }, "put": { - "summary": "Verify authenticator", + "summary": "Update authenticator (confirmation)", "operationId": "accountUpdateMfaAuthenticator", "tags": [ "account" @@ -648,6 +661,7 @@ }, "x-appwrite": { "method": "updateMfaAuthenticator", + "group": "mfa", "weight": 47, "cookies": false, "type": "", @@ -724,6 +738,7 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", + "group": "mfa", "weight": 51, "cookies": false, "type": "", @@ -790,6 +805,7 @@ }, "x-appwrite": { "method": "createMfaChallenge", + "group": "mfa", "weight": 52, "cookies": false, "type": "", @@ -843,7 +859,7 @@ } }, "put": { - "summary": "Create MFA challenge (confirmation)", + "summary": "Update MFA challenge (confirmation)", "operationId": "accountUpdateMfaChallenge", "tags": [ "account" @@ -863,6 +879,7 @@ }, "x-appwrite": { "method": "updateMfaChallenge", + "group": "mfa", "weight": 53, "cookies": false, "type": "", @@ -937,6 +954,7 @@ }, "x-appwrite": { "method": "listMfaFactors", + "group": "mfa", "weight": 45, "cookies": false, "type": "", @@ -966,7 +984,7 @@ }, "\/account\/mfa\/recovery-codes": { "get": { - "summary": "Get MFA recovery codes", + "summary": "List MFA recovery codes", "operationId": "accountGetMfaRecoveryCodes", "tags": [ "account" @@ -986,6 +1004,7 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", + "group": "mfa", "weight": 50, "cookies": false, "type": "", @@ -1033,6 +1052,7 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", + "group": "mfa", "weight": 48, "cookies": false, "type": "", @@ -1060,7 +1080,7 @@ ] }, "patch": { - "summary": "Regenerate MFA recovery codes", + "summary": "Update MFA recovery codes (regenerate)", "operationId": "accountUpdateMfaRecoveryCodes", "tags": [ "account" @@ -1080,6 +1100,7 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", + "group": "mfa", "weight": 49, "cookies": false, "type": "", @@ -1129,6 +1150,7 @@ }, "x-appwrite": { "method": "updateName", + "group": "account", "weight": 32, "cookies": false, "type": "", @@ -1197,6 +1219,7 @@ }, "x-appwrite": { "method": "updatePassword", + "group": "account", "weight": 33, "cookies": false, "type": "", @@ -1270,6 +1293,7 @@ }, "x-appwrite": { "method": "updatePhone", + "group": "account", "weight": 35, "cookies": false, "type": "", @@ -1344,6 +1368,7 @@ }, "x-appwrite": { "method": "getPrefs", + "group": "account", "weight": 30, "cookies": false, "type": "", @@ -1391,6 +1416,7 @@ }, "x-appwrite": { "method": "updatePrefs", + "group": "account", "weight": 36, "cookies": false, "type": "", @@ -1459,6 +1485,7 @@ }, "x-appwrite": { "method": "createRecovery", + "group": "recovery", "weight": 38, "cookies": false, "type": "", @@ -1514,7 +1541,7 @@ } }, "put": { - "summary": "Create password recovery (confirmation)", + "summary": "Update password recovery (confirmation)", "operationId": "accountUpdateRecovery", "tags": [ "account" @@ -1534,6 +1561,7 @@ }, "x-appwrite": { "method": "updateRecovery", + "group": "recovery", "weight": 39, "cookies": false, "type": "", @@ -1614,6 +1642,7 @@ }, "x-appwrite": { "method": "listSessions", + "group": "sessions", "weight": 11, "cookies": false, "type": "", @@ -1654,6 +1683,7 @@ }, "x-appwrite": { "method": "deleteSessions", + "group": "sessions", "weight": 12, "cookies": false, "type": "", @@ -1703,6 +1733,7 @@ }, "x-appwrite": { "method": "createAnonymousSession", + "group": "sessions", "weight": 17, "cookies": false, "type": "", @@ -1751,6 +1782,7 @@ }, "x-appwrite": { "method": "createEmailPasswordSession", + "group": "sessions", "weight": 16, "cookies": false, "type": "", @@ -1824,6 +1856,7 @@ }, "x-appwrite": { "method": "updateMagicURLSession", + "group": "sessions", "weight": 26, "cookies": false, "type": "", @@ -1890,6 +1923,7 @@ }, "x-appwrite": { "method": "createOAuth2Session", + "group": "sessions", "weight": 19, "cookies": false, "type": "webAuth", @@ -1917,7 +1951,7 @@ "parameters": [ { "name": "provider", - "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", + "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", "required": true, "schema": { "type": "string", @@ -1937,6 +1971,7 @@ "dropbox", "etsy", "facebook", + "figma", "github", "gitlab", "google", @@ -2030,6 +2065,7 @@ }, "x-appwrite": { "method": "updatePhoneSession", + "group": "sessions", "weight": 27, "cookies": false, "type": "", @@ -2103,6 +2139,7 @@ }, "x-appwrite": { "method": "createSession", + "group": "sessions", "weight": 18, "cookies": false, "type": "", @@ -2176,6 +2213,7 @@ }, "x-appwrite": { "method": "getSession", + "group": "sessions", "weight": 13, "cookies": false, "type": "", @@ -2235,6 +2273,7 @@ }, "x-appwrite": { "method": "updateSession", + "group": "sessions", "weight": 15, "cookies": false, "type": "", @@ -2287,6 +2326,7 @@ }, "x-appwrite": { "method": "deleteSession", + "group": "sessions", "weight": 14, "cookies": false, "type": "", @@ -2348,6 +2388,7 @@ }, "x-appwrite": { "method": "updateStatus", + "group": "account", "weight": 37, "cookies": false, "type": "", @@ -2397,6 +2438,7 @@ }, "x-appwrite": { "method": "createPushTarget", + "group": "pushTargets", "weight": 54, "cookies": false, "type": "", @@ -2474,6 +2516,7 @@ }, "x-appwrite": { "method": "updatePushTarget", + "group": "pushTargets", "weight": 55, "cookies": false, "type": "", @@ -2543,6 +2586,7 @@ }, "x-appwrite": { "method": "deletePushTarget", + "group": "pushTargets", "weight": 56, "cookies": false, "type": "", @@ -2602,6 +2646,7 @@ }, "x-appwrite": { "method": "createEmailToken", + "group": "tokens", "weight": 25, "cookies": false, "type": "", @@ -2680,6 +2725,7 @@ }, "x-appwrite": { "method": "createMagicURLToken", + "group": "tokens", "weight": 24, "cookies": false, "type": "", @@ -2759,6 +2805,7 @@ }, "x-appwrite": { "method": "createOAuth2Token", + "group": "tokens", "weight": 23, "cookies": false, "type": "webAuth", @@ -2786,7 +2833,7 @@ "parameters": [ { "name": "provider", - "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", + "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", "required": true, "schema": { "type": "string", @@ -2806,6 +2853,7 @@ "dropbox", "etsy", "facebook", + "figma", "github", "gitlab", "google", @@ -2899,6 +2947,7 @@ }, "x-appwrite": { "method": "createPhoneToken", + "group": "tokens", "weight": 28, "cookies": false, "type": "", @@ -2975,6 +3024,7 @@ }, "x-appwrite": { "method": "createVerification", + "group": "verification", "weight": 40, "cookies": false, "type": "", @@ -3021,7 +3071,7 @@ } }, "put": { - "summary": "Create email verification (confirmation)", + "summary": "Update email verification (confirmation)", "operationId": "accountUpdateVerification", "tags": [ "account" @@ -3041,6 +3091,7 @@ }, "x-appwrite": { "method": "updateVerification", + "group": "verification", "weight": 41, "cookies": false, "type": "", @@ -3115,6 +3166,7 @@ }, "x-appwrite": { "method": "createPhoneVerification", + "group": "verification", "weight": 42, "cookies": false, "type": "", @@ -3165,6 +3217,7 @@ }, "x-appwrite": { "method": "updatePhoneVerification", + "group": "verification", "weight": 43, "cookies": false, "type": "", @@ -3232,6 +3285,7 @@ }, "x-appwrite": { "method": "getBrowser", + "group": null, "weight": 60, "cookies": false, "type": "location", @@ -3357,6 +3411,7 @@ }, "x-appwrite": { "method": "getCreditCard", + "group": null, "weight": 59, "cookies": false, "type": "location", @@ -3488,6 +3543,7 @@ }, "x-appwrite": { "method": "getFavicon", + "group": null, "weight": 63, "cookies": false, "type": "location", @@ -3545,6 +3601,7 @@ }, "x-appwrite": { "method": "getFlag", + "group": null, "weight": 61, "cookies": false, "type": "location", @@ -4032,6 +4089,7 @@ }, "x-appwrite": { "method": "getImage", + "group": null, "weight": 62, "cookies": false, "type": "location", @@ -4113,6 +4171,7 @@ }, "x-appwrite": { "method": "getInitials", + "group": null, "weight": 65, "cookies": false, "type": "location", @@ -4204,6 +4263,7 @@ }, "x-appwrite": { "method": "getQR", + "group": null, "weight": 64, "cookies": false, "type": "location", @@ -4282,7 +4342,7 @@ }, "\/console\/assistant": { "post": { - "summary": "Ask query", + "summary": "Create assistant query", "operationId": "assistantChat", "tags": [ "assistant" @@ -4295,7 +4355,8 @@ }, "x-appwrite": { "method": "chat", - "weight": 333, + "group": "console", + "weight": 332, "cookies": false, "type": "", "deprecated": false, @@ -4361,7 +4422,8 @@ }, "x-appwrite": { "method": "variables", - "weight": 332, + "group": "console", + "weight": 331, "cookies": false, "type": "", "deprecated": false, @@ -4408,6 +4470,7 @@ }, "x-appwrite": { "method": "list", + "group": "databases", "weight": 70, "cookies": false, "type": "", @@ -4480,6 +4543,7 @@ }, "x-appwrite": { "method": "create", + "group": "databases", "weight": 69, "cookies": false, "type": "", @@ -4558,6 +4622,7 @@ }, "x-appwrite": { "method": "getUsage", + "group": null, "weight": 114, "cookies": false, "type": "", @@ -4629,6 +4694,7 @@ }, "x-appwrite": { "method": "get", + "group": "databases", "weight": 71, "cookies": false, "type": "", @@ -4687,6 +4753,7 @@ }, "x-appwrite": { "method": "update", + "group": "databases", "weight": 73, "cookies": false, "type": "", @@ -4762,6 +4829,7 @@ }, "x-appwrite": { "method": "delete", + "group": "databases", "weight": 74, "cookies": false, "type": "", @@ -4822,6 +4890,7 @@ }, "x-appwrite": { "method": "listCollections", + "group": "collections", "weight": 76, "cookies": false, "type": "", @@ -4904,6 +4973,7 @@ }, "x-appwrite": { "method": "createCollection", + "group": "collections", "weight": 75, "cookies": false, "type": "", @@ -5007,6 +5077,7 @@ }, "x-appwrite": { "method": "getCollection", + "group": "collections", "weight": 77, "cookies": false, "type": "", @@ -5075,6 +5146,7 @@ }, "x-appwrite": { "method": "updateCollection", + "group": "collections", "weight": 79, "cookies": false, "type": "", @@ -5173,6 +5245,7 @@ }, "x-appwrite": { "method": "deleteCollection", + "group": "collections", "weight": 80, "cookies": false, "type": "", @@ -5243,6 +5316,7 @@ }, "x-appwrite": { "method": "listAttributes", + "group": "attributes", "weight": 91, "cookies": false, "type": "", @@ -5326,6 +5400,7 @@ }, "x-appwrite": { "method": "createBooleanAttribute", + "group": "attributes", "weight": 88, "cookies": false, "type": "", @@ -5431,6 +5506,7 @@ }, "x-appwrite": { "method": "updateBooleanAttribute", + "group": "attributes", "weight": 100, "cookies": false, "type": "", @@ -5541,6 +5617,7 @@ }, "x-appwrite": { "method": "createDatetimeAttribute", + "group": "attributes", "weight": 89, "cookies": false, "type": "", @@ -5646,6 +5723,7 @@ }, "x-appwrite": { "method": "updateDatetimeAttribute", + "group": "attributes", "weight": 101, "cookies": false, "type": "", @@ -5756,6 +5834,7 @@ }, "x-appwrite": { "method": "createEmailAttribute", + "group": "attributes", "weight": 82, "cookies": false, "type": "", @@ -5861,6 +5940,7 @@ }, "x-appwrite": { "method": "updateEmailAttribute", + "group": "attributes", "weight": 94, "cookies": false, "type": "", @@ -5971,6 +6051,7 @@ }, "x-appwrite": { "method": "createEnumAttribute", + "group": "attributes", "weight": 83, "cookies": false, "type": "", @@ -6085,6 +6166,7 @@ }, "x-appwrite": { "method": "updateEnumAttribute", + "group": "attributes", "weight": 95, "cookies": false, "type": "", @@ -6204,6 +6286,7 @@ }, "x-appwrite": { "method": "createFloatAttribute", + "group": "attributes", "weight": 87, "cookies": false, "type": "", @@ -6319,6 +6402,7 @@ }, "x-appwrite": { "method": "updateFloatAttribute", + "group": "attributes", "weight": 99, "cookies": false, "type": "", @@ -6439,6 +6523,7 @@ }, "x-appwrite": { "method": "createIntegerAttribute", + "group": "attributes", "weight": 86, "cookies": false, "type": "", @@ -6554,6 +6639,7 @@ }, "x-appwrite": { "method": "updateIntegerAttribute", + "group": "attributes", "weight": 98, "cookies": false, "type": "", @@ -6674,6 +6760,7 @@ }, "x-appwrite": { "method": "createIpAttribute", + "group": "attributes", "weight": 84, "cookies": false, "type": "", @@ -6779,6 +6866,7 @@ }, "x-appwrite": { "method": "updateIpAttribute", + "group": "attributes", "weight": 96, "cookies": false, "type": "", @@ -6889,6 +6977,7 @@ }, "x-appwrite": { "method": "createRelationshipAttribute", + "group": "attributes", "weight": 90, "cookies": false, "type": "", @@ -7019,6 +7108,7 @@ }, "x-appwrite": { "method": "createStringAttribute", + "group": "attributes", "weight": 81, "cookies": false, "type": "", @@ -7135,6 +7225,7 @@ }, "x-appwrite": { "method": "updateStringAttribute", + "group": "attributes", "weight": 93, "cookies": false, "type": "", @@ -7250,6 +7341,7 @@ }, "x-appwrite": { "method": "createUrlAttribute", + "group": "attributes", "weight": 85, "cookies": false, "type": "", @@ -7355,6 +7447,7 @@ }, "x-appwrite": { "method": "updateUrlAttribute", + "group": "attributes", "weight": 97, "cookies": false, "type": "", @@ -7496,6 +7589,7 @@ }, "x-appwrite": { "method": "getAttribute", + "group": "attributes", "weight": 92, "cookies": false, "type": "", @@ -7566,6 +7660,7 @@ }, "x-appwrite": { "method": "deleteAttribute", + "group": "attributes", "weight": 103, "cookies": false, "type": "", @@ -7645,6 +7740,7 @@ }, "x-appwrite": { "method": "updateRelationshipAttribute", + "group": "attributes", "weight": 102, "cookies": false, "type": "", @@ -7752,6 +7848,7 @@ }, "x-appwrite": { "method": "listDocuments", + "group": "documents", "weight": 109, "cookies": false, "type": "", @@ -7836,6 +7933,7 @@ }, "x-appwrite": { "method": "createDocument", + "group": "documents", "weight": 108, "cookies": false, "type": "", @@ -7942,6 +8040,7 @@ }, "x-appwrite": { "method": "getDocument", + "group": "documents", "weight": 110, "cookies": false, "type": "", @@ -8036,6 +8135,7 @@ }, "x-appwrite": { "method": "updateDocument", + "group": "documents", "weight": 112, "cookies": false, "type": "", @@ -8134,6 +8234,7 @@ }, "x-appwrite": { "method": "deleteDocument", + "group": "documents", "weight": 113, "cookies": false, "type": "", @@ -8217,6 +8318,7 @@ }, "x-appwrite": { "method": "listDocumentLogs", + "group": "logs", "weight": 111, "cookies": false, "type": "", @@ -8309,6 +8411,7 @@ }, "x-appwrite": { "method": "listIndexes", + "group": "indexes", "weight": 105, "cookies": false, "type": "", @@ -8390,6 +8493,7 @@ }, "x-appwrite": { "method": "createIndex", + "group": "collections", "weight": 104, "cookies": false, "type": "", @@ -8509,6 +8613,7 @@ }, "x-appwrite": { "method": "getIndex", + "group": "indexes", "weight": 106, "cookies": false, "type": "", @@ -8579,6 +8684,7 @@ }, "x-appwrite": { "method": "deleteIndex", + "group": "indexes", "weight": 107, "cookies": false, "type": "", @@ -8658,6 +8764,7 @@ }, "x-appwrite": { "method": "listCollectionLogs", + "group": "collections", "weight": 78, "cookies": false, "type": "", @@ -8740,6 +8847,7 @@ }, "x-appwrite": { "method": "getCollectionUsage", + "group": null, "weight": 116, "cookies": false, "type": "", @@ -8831,6 +8939,7 @@ }, "x-appwrite": { "method": "listLogs", + "group": "logs", "weight": 72, "cookies": false, "type": "", @@ -8903,6 +9012,7 @@ }, "x-appwrite": { "method": "getDatabaseUsage", + "group": null, "weight": 115, "cookies": false, "type": "", @@ -8984,7 +9094,8 @@ }, "x-appwrite": { "method": "list", - "weight": 289, + "group": "functions", + "weight": 288, "cookies": false, "type": "", "deprecated": false, @@ -9056,7 +9167,8 @@ }, "x-appwrite": { "method": "create", - "weight": 288, + "group": "functions", + "weight": 287, "cookies": false, "type": "", "deprecated": false, @@ -9302,7 +9414,8 @@ }, "x-appwrite": { "method": "listRuntimes", - "weight": 290, + "group": "runtimes", + "weight": 289, "cookies": false, "type": "", "deprecated": false, @@ -9350,7 +9463,8 @@ }, "x-appwrite": { "method": "listSpecifications", - "weight": 291, + "group": "runtimes", + "weight": 290, "cookies": false, "type": "", "deprecated": false, @@ -9399,7 +9513,8 @@ }, "x-appwrite": { "method": "listTemplates", - "weight": 314, + "group": "templates", + "weight": 313, "cookies": false, "type": "", "deprecated": false, @@ -9498,7 +9613,8 @@ }, "x-appwrite": { "method": "getTemplate", - "weight": 315, + "group": "templates", + "weight": 314, "cookies": false, "type": "", "deprecated": false, @@ -9557,7 +9673,8 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 294, + "group": null, + "weight": 293, "cookies": false, "type": "", "deprecated": false, @@ -9628,7 +9745,8 @@ }, "x-appwrite": { "method": "get", - "weight": 292, + "group": "functions", + "weight": 291, "cookies": false, "type": "", "deprecated": false, @@ -9686,7 +9804,8 @@ }, "x-appwrite": { "method": "update", - "weight": 295, + "group": "functions", + "weight": 294, "cookies": false, "type": "", "deprecated": false, @@ -9909,7 +10028,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 298, + "group": "functions", + "weight": 297, "cookies": false, "type": "", "deprecated": false, @@ -9969,7 +10089,8 @@ }, "x-appwrite": { "method": "listDeployments", - "weight": 300, + "group": "deployments", + "weight": 299, "cookies": false, "type": "", "deprecated": false, @@ -10051,7 +10172,8 @@ }, "x-appwrite": { "method": "createDeployment", - "weight": 299, + "group": "deployments", + "weight": 298, "cookies": false, "type": "upload", "deprecated": false, @@ -10146,7 +10268,8 @@ }, "x-appwrite": { "method": "getDeployment", - "weight": 301, + "group": "deployments", + "weight": 300, "cookies": false, "type": "", "deprecated": false, @@ -10214,7 +10337,8 @@ }, "x-appwrite": { "method": "updateDeployment", - "weight": 297, + "group": "deployments", + "weight": 296, "cookies": false, "type": "", "deprecated": false, @@ -10275,7 +10399,8 @@ }, "x-appwrite": { "method": "deleteDeployment", - "weight": 302, + "group": "deployments", + "weight": 301, "cookies": false, "type": "", "deprecated": false, @@ -10325,7 +10450,7 @@ }, "\/functions\/{functionId}\/deployments\/{deploymentId}\/build": { "post": { - "summary": "Rebuild deployment", + "summary": "Create deployment build", "operationId": "functionsCreateBuild", "tags": [ "functions" @@ -10338,7 +10463,8 @@ }, "x-appwrite": { "method": "createBuild", - "weight": 303, + "group": "deployments", + "weight": 302, "cookies": false, "type": "", "deprecated": false, @@ -10422,7 +10548,8 @@ }, "x-appwrite": { "method": "updateDeploymentBuild", - "weight": 304, + "group": "deployments", + "weight": 303, "cookies": false, "type": "", "deprecated": false, @@ -10472,7 +10599,7 @@ }, "\/functions\/{functionId}\/deployments\/{deploymentId}\/download": { "get": { - "summary": "Download deployment", + "summary": "Get deployment download", "operationId": "functionsGetDeploymentDownload", "tags": [ "functions" @@ -10485,7 +10612,8 @@ }, "x-appwrite": { "method": "getDeploymentDownload", - "weight": 296, + "group": "deployments", + "weight": 295, "cookies": false, "type": "location", "deprecated": false, @@ -10557,7 +10685,8 @@ }, "x-appwrite": { "method": "listExecutions", - "weight": 306, + "group": "executions", + "weight": 305, "cookies": false, "type": "", "deprecated": false, @@ -10642,7 +10771,8 @@ }, "x-appwrite": { "method": "createExecution", - "weight": 305, + "group": "executions", + "weight": 304, "cookies": false, "type": "", "deprecated": false, @@ -10756,7 +10886,8 @@ }, "x-appwrite": { "method": "getExecution", - "weight": 307, + "group": "executions", + "weight": 306, "cookies": false, "type": "", "deprecated": false, @@ -10820,7 +10951,8 @@ }, "x-appwrite": { "method": "deleteExecution", - "weight": 308, + "group": "executions", + "weight": 307, "cookies": false, "type": "", "deprecated": false, @@ -10890,7 +11022,8 @@ }, "x-appwrite": { "method": "getFunctionUsage", - "weight": 293, + "group": null, + "weight": 292, "cookies": false, "type": "", "deprecated": false, @@ -10971,7 +11104,8 @@ }, "x-appwrite": { "method": "listVariables", - "weight": 310, + "group": "variables", + "weight": 309, "cookies": false, "type": "", "deprecated": false, @@ -11029,7 +11163,8 @@ }, "x-appwrite": { "method": "createVariable", - "weight": 309, + "group": "variables", + "weight": 308, "cookies": false, "type": "", "deprecated": false, @@ -11114,7 +11249,8 @@ }, "x-appwrite": { "method": "getVariable", - "weight": 311, + "group": "variables", + "weight": 310, "cookies": false, "type": "", "deprecated": false, @@ -11182,7 +11318,8 @@ }, "x-appwrite": { "method": "updateVariable", - "weight": 312, + "group": "variables", + "weight": 311, "cookies": false, "type": "", "deprecated": false, @@ -11267,7 +11404,8 @@ }, "x-appwrite": { "method": "deleteVariable", - "weight": 313, + "group": "variables", + "weight": 312, "cookies": false, "type": "", "deprecated": false, @@ -11337,7 +11475,8 @@ }, "x-appwrite": { "method": "query", - "weight": 331, + "group": "graphql", + "weight": 330, "cookies": false, "type": "graphql", "deprecated": false, @@ -11388,7 +11527,8 @@ }, "x-appwrite": { "method": "mutation", - "weight": 330, + "group": "graphql", + "weight": 329, "cookies": false, "type": "graphql", "deprecated": false, @@ -11439,6 +11579,7 @@ }, "x-appwrite": { "method": "get", + "group": "health", "weight": 125, "cookies": false, "type": "", @@ -11487,7 +11628,8 @@ }, "x-appwrite": { "method": "getAntivirus", - "weight": 147, + "group": "health", + "weight": 146, "cookies": false, "type": "", "deprecated": false, @@ -11535,6 +11677,7 @@ }, "x-appwrite": { "method": "getCache", + "group": "health", "weight": 128, "cookies": false, "type": "", @@ -11583,6 +11726,7 @@ }, "x-appwrite": { "method": "getCertificate", + "group": "health", "weight": 133, "cookies": false, "type": "", @@ -11642,6 +11786,7 @@ }, "x-appwrite": { "method": "getDB", + "group": "health", "weight": 127, "cookies": false, "type": "", @@ -11690,6 +11835,7 @@ }, "x-appwrite": { "method": "getPubSub", + "group": "health", "weight": 129, "cookies": false, "type": "", @@ -11738,6 +11884,7 @@ }, "x-appwrite": { "method": "getQueueBuilds", + "group": "queue", "weight": 135, "cookies": false, "type": "", @@ -11799,6 +11946,7 @@ }, "x-appwrite": { "method": "getQueueCertificates", + "group": "queue", "weight": 134, "cookies": false, "type": "", @@ -11860,6 +12008,7 @@ }, "x-appwrite": { "method": "getQueueDatabases", + "group": "queue", "weight": 136, "cookies": false, "type": "", @@ -11932,6 +12081,7 @@ }, "x-appwrite": { "method": "getQueueDeletes", + "group": "queue", "weight": 137, "cookies": false, "type": "", @@ -11993,7 +12143,8 @@ }, "x-appwrite": { "method": "getFailedJobs", - "weight": 148, + "group": "queue", + "weight": 147, "cookies": false, "type": "", "deprecated": false, @@ -12033,7 +12184,6 @@ "v1-functions", "v1-stats-resources", "v1-stats-usage", - "v1-stats-usage-dump", "v1-webhooks", "v1-certificates", "v1-builds", @@ -12081,6 +12231,7 @@ }, "x-appwrite": { "method": "getQueueFunctions", + "group": "queue", "weight": 141, "cookies": false, "type": "", @@ -12142,6 +12293,7 @@ }, "x-appwrite": { "method": "getQueueLogs", + "group": "queue", "weight": 132, "cookies": false, "type": "", @@ -12203,6 +12355,7 @@ }, "x-appwrite": { "method": "getQueueMails", + "group": "queue", "weight": 138, "cookies": false, "type": "", @@ -12264,6 +12417,7 @@ }, "x-appwrite": { "method": "getQueueMessaging", + "group": "queue", "weight": 139, "cookies": false, "type": "", @@ -12325,6 +12479,7 @@ }, "x-appwrite": { "method": "getQueueMigrations", + "group": "queue", "weight": 140, "cookies": false, "type": "", @@ -12386,6 +12541,7 @@ }, "x-appwrite": { "method": "getQueueStatsResources", + "group": "queue", "weight": 142, "cookies": false, "type": "", @@ -12447,6 +12603,7 @@ }, "x-appwrite": { "method": "getQueueUsage", + "group": "queue", "weight": 143, "cookies": false, "type": "", @@ -12486,67 +12643,6 @@ ] } }, - "\/health\/queue\/stats-usage-dump": { - "get": { - "summary": "Get usage dump queue", - "operationId": "healthGetQueueStatsUsageDump", - "tags": [ - "health" - ], - "description": "Get the number of projects containing metrics that are waiting to be processed in the Appwrite internal queue server.", - "responses": { - "200": { - "description": "Health Queue", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/healthQueue" - } - } - } - } - }, - "x-appwrite": { - "method": "getQueueStatsUsageDump", - "weight": 144, - "cookies": false, - "type": "", - "deprecated": false, - "demo": "health\/get-queue-stats-usage-dump.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-usage-dump.md", - "rate-limit": 0, - "rate-time": 3600, - "rate-key": "url:{url},ip:{ip}", - "scope": "health.read", - "platforms": [ - "server" - ], - "packaging": false, - "auth": { - "Project": [] - } - }, - "security": [ - { - "Project": [], - "Key": [] - } - ], - "parameters": [ - { - "name": "threshold", - "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", - "required": false, - "schema": { - "type": "integer", - "format": "int32", - "default": 5000 - }, - "in": "query" - } - ] - } - }, "\/health\/queue\/webhooks": { "get": { "summary": "Get webhooks queue", @@ -12569,6 +12665,7 @@ }, "x-appwrite": { "method": "getQueueWebhooks", + "group": "queue", "weight": 131, "cookies": false, "type": "", @@ -12630,7 +12727,8 @@ }, "x-appwrite": { "method": "getStorage", - "weight": 146, + "group": "storage", + "weight": 145, "cookies": false, "type": "", "deprecated": false, @@ -12678,7 +12776,8 @@ }, "x-appwrite": { "method": "getStorageLocal", - "weight": 145, + "group": "storage", + "weight": 144, "cookies": false, "type": "", "deprecated": false, @@ -12726,6 +12825,7 @@ }, "x-appwrite": { "method": "getTime", + "group": "health", "weight": 130, "cookies": false, "type": "", @@ -12774,6 +12874,7 @@ }, "x-appwrite": { "method": "get", + "group": null, "weight": 117, "cookies": false, "type": "", @@ -12825,6 +12926,7 @@ }, "x-appwrite": { "method": "listCodes", + "group": null, "weight": 118, "cookies": false, "type": "", @@ -12876,6 +12978,7 @@ }, "x-appwrite": { "method": "listContinents", + "group": null, "weight": 122, "cookies": false, "type": "", @@ -12927,6 +13030,7 @@ }, "x-appwrite": { "method": "listCountries", + "group": null, "weight": 119, "cookies": false, "type": "", @@ -12978,6 +13082,7 @@ }, "x-appwrite": { "method": "listCountriesEU", + "group": null, "weight": 120, "cookies": false, "type": "", @@ -13029,6 +13134,7 @@ }, "x-appwrite": { "method": "listCountriesPhones", + "group": null, "weight": 121, "cookies": false, "type": "", @@ -13080,6 +13186,7 @@ }, "x-appwrite": { "method": "listCurrencies", + "group": null, "weight": 123, "cookies": false, "type": "", @@ -13131,6 +13238,7 @@ }, "x-appwrite": { "method": "listLanguages", + "group": null, "weight": 124, "cookies": false, "type": "", @@ -13182,7 +13290,8 @@ }, "x-appwrite": { "method": "listMessages", - "weight": 384, + "group": "messages", + "weight": 383, "cookies": false, "type": "", "deprecated": false, @@ -13257,7 +13366,8 @@ }, "x-appwrite": { "method": "createEmail", - "weight": 381, + "group": "messages", + "weight": 380, "cookies": false, "type": "", "deprecated": false, @@ -13400,7 +13510,8 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 388, + "group": "messages", + "weight": 387, "cookies": false, "type": "", "deprecated": false, @@ -13545,7 +13656,8 @@ }, "x-appwrite": { "method": "createPush", - "weight": 383, + "group": "messages", + "weight": 382, "cookies": false, "type": "", "deprecated": false, @@ -13718,7 +13830,8 @@ }, "x-appwrite": { "method": "updatePush", - "weight": 390, + "group": "messages", + "weight": 389, "cookies": false, "type": "", "deprecated": false, @@ -13895,7 +14008,8 @@ }, "x-appwrite": { "method": "createSms", - "weight": 382, + "group": "messages", + "weight": 381, "cookies": false, "type": "", "deprecated": false, @@ -14003,7 +14117,8 @@ }, "x-appwrite": { "method": "updateSms", - "weight": 389, + "group": "messages", + "weight": 388, "cookies": false, "type": "", "deprecated": false, @@ -14114,7 +14229,8 @@ }, "x-appwrite": { "method": "getMessage", - "weight": 387, + "group": "messages", + "weight": 386, "cookies": false, "type": "", "deprecated": false, @@ -14166,7 +14282,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 391, + "group": "messages", + "weight": 390, "cookies": false, "type": "", "deprecated": false, @@ -14227,7 +14344,8 @@ }, "x-appwrite": { "method": "listMessageLogs", - "weight": 385, + "group": "logs", + "weight": 384, "cookies": false, "type": "", "deprecated": false, @@ -14301,7 +14419,8 @@ }, "x-appwrite": { "method": "listTargets", - "weight": 386, + "group": "messages", + "weight": 385, "cookies": false, "type": "", "deprecated": false, @@ -14375,7 +14494,8 @@ }, "x-appwrite": { "method": "listProviders", - "weight": 356, + "group": "providers", + "weight": 355, "cookies": false, "type": "", "deprecated": false, @@ -14450,7 +14570,8 @@ }, "x-appwrite": { "method": "createApnsProvider", - "weight": 355, + "group": "providers", + "weight": 354, "cookies": false, "type": "", "deprecated": false, @@ -14554,7 +14675,8 @@ }, "x-appwrite": { "method": "updateApnsProvider", - "weight": 368, + "group": "providers", + "weight": 367, "cookies": false, "type": "", "deprecated": false, @@ -14661,7 +14783,8 @@ }, "x-appwrite": { "method": "createFcmProvider", - "weight": 354, + "group": "providers", + "weight": 353, "cookies": false, "type": "", "deprecated": false, @@ -14745,7 +14868,8 @@ }, "x-appwrite": { "method": "updateFcmProvider", - "weight": 367, + "group": "providers", + "weight": 366, "cookies": false, "type": "", "deprecated": false, @@ -14832,7 +14956,8 @@ }, "x-appwrite": { "method": "createMailgunProvider", - "weight": 346, + "group": "providers", + "weight": 345, "cookies": false, "type": "", "deprecated": false, @@ -14946,7 +15071,8 @@ }, "x-appwrite": { "method": "updateMailgunProvider", - "weight": 359, + "group": "providers", + "weight": 358, "cookies": false, "type": "", "deprecated": false, @@ -15063,7 +15189,8 @@ }, "x-appwrite": { "method": "createMsg91Provider", - "weight": 349, + "group": "providers", + "weight": 348, "cookies": false, "type": "", "deprecated": false, @@ -15157,7 +15284,8 @@ }, "x-appwrite": { "method": "updateMsg91Provider", - "weight": 362, + "group": "providers", + "weight": 361, "cookies": false, "type": "", "deprecated": false, @@ -15254,7 +15382,8 @@ }, "x-appwrite": { "method": "createSendgridProvider", - "weight": 347, + "group": "providers", + "weight": 346, "cookies": false, "type": "", "deprecated": false, @@ -15358,7 +15487,8 @@ }, "x-appwrite": { "method": "updateSendgridProvider", - "weight": 360, + "group": "providers", + "weight": 359, "cookies": false, "type": "", "deprecated": false, @@ -15465,7 +15595,8 @@ }, "x-appwrite": { "method": "createSmtpProvider", - "weight": 348, + "group": "providers", + "weight": 347, "cookies": false, "type": "", "deprecated": false, @@ -15607,7 +15738,8 @@ }, "x-appwrite": { "method": "updateSmtpProvider", - "weight": 361, + "group": "providers", + "weight": 360, "cookies": false, "type": "", "deprecated": false, @@ -15751,7 +15883,8 @@ }, "x-appwrite": { "method": "createTelesignProvider", - "weight": 350, + "group": "providers", + "weight": 349, "cookies": false, "type": "", "deprecated": false, @@ -15845,7 +15978,8 @@ }, "x-appwrite": { "method": "updateTelesignProvider", - "weight": 363, + "group": "providers", + "weight": 362, "cookies": false, "type": "", "deprecated": false, @@ -15942,7 +16076,8 @@ }, "x-appwrite": { "method": "createTextmagicProvider", - "weight": 351, + "group": "providers", + "weight": 350, "cookies": false, "type": "", "deprecated": false, @@ -16036,7 +16171,8 @@ }, "x-appwrite": { "method": "updateTextmagicProvider", - "weight": 364, + "group": "providers", + "weight": 363, "cookies": false, "type": "", "deprecated": false, @@ -16133,7 +16269,8 @@ }, "x-appwrite": { "method": "createTwilioProvider", - "weight": 352, + "group": "providers", + "weight": 351, "cookies": false, "type": "", "deprecated": false, @@ -16227,7 +16364,8 @@ }, "x-appwrite": { "method": "updateTwilioProvider", - "weight": 365, + "group": "providers", + "weight": 364, "cookies": false, "type": "", "deprecated": false, @@ -16324,7 +16462,8 @@ }, "x-appwrite": { "method": "createVonageProvider", - "weight": 353, + "group": "providers", + "weight": 352, "cookies": false, "type": "", "deprecated": false, @@ -16418,7 +16557,8 @@ }, "x-appwrite": { "method": "updateVonageProvider", - "weight": 366, + "group": "providers", + "weight": 365, "cookies": false, "type": "", "deprecated": false, @@ -16515,7 +16655,8 @@ }, "x-appwrite": { "method": "getProvider", - "weight": 358, + "group": "providers", + "weight": 357, "cookies": false, "type": "", "deprecated": false, @@ -16567,7 +16708,8 @@ }, "x-appwrite": { "method": "deleteProvider", - "weight": 369, + "group": "providers", + "weight": 368, "cookies": false, "type": "", "deprecated": false, @@ -16628,7 +16770,8 @@ }, "x-appwrite": { "method": "listProviderLogs", - "weight": 357, + "group": "providers", + "weight": 356, "cookies": false, "type": "", "deprecated": false, @@ -16702,7 +16845,8 @@ }, "x-appwrite": { "method": "listSubscriberLogs", - "weight": 378, + "group": "subscribers", + "weight": 377, "cookies": false, "type": "", "deprecated": false, @@ -16776,7 +16920,8 @@ }, "x-appwrite": { "method": "listTopics", - "weight": 371, + "group": "topics", + "weight": 370, "cookies": false, "type": "", "deprecated": false, @@ -16849,7 +16994,8 @@ }, "x-appwrite": { "method": "createTopic", - "weight": 370, + "group": "topics", + "weight": 369, "cookies": false, "type": "", "deprecated": false, @@ -16931,7 +17077,8 @@ }, "x-appwrite": { "method": "getTopic", - "weight": 373, + "group": "topics", + "weight": 372, "cookies": false, "type": "", "deprecated": false, @@ -16990,7 +17137,8 @@ }, "x-appwrite": { "method": "updateTopic", - "weight": 374, + "group": "topics", + "weight": 373, "cookies": false, "type": "", "deprecated": false, @@ -17066,7 +17214,8 @@ }, "x-appwrite": { "method": "deleteTopic", - "weight": 375, + "group": "topics", + "weight": 374, "cookies": false, "type": "", "deprecated": false, @@ -17127,7 +17276,8 @@ }, "x-appwrite": { "method": "listTopicLogs", - "weight": 372, + "group": "topics", + "weight": 371, "cookies": false, "type": "", "deprecated": false, @@ -17201,7 +17351,8 @@ }, "x-appwrite": { "method": "listSubscribers", - "weight": 377, + "group": "subscribers", + "weight": 376, "cookies": false, "type": "", "deprecated": false, @@ -17284,7 +17435,8 @@ }, "x-appwrite": { "method": "createSubscriber", - "weight": 376, + "group": "subscribers", + "weight": 375, "cookies": false, "type": "", "deprecated": false, @@ -17373,7 +17525,8 @@ }, "x-appwrite": { "method": "getSubscriber", - "weight": 379, + "group": "subscribers", + "weight": 378, "cookies": false, "type": "", "deprecated": false, @@ -17435,7 +17588,8 @@ }, "x-appwrite": { "method": "deleteSubscriber", - "weight": 380, + "group": "subscribers", + "weight": 379, "cookies": false, "type": "", "deprecated": false, @@ -17509,7 +17663,8 @@ }, "x-appwrite": { "method": "list", - "weight": 338, + "group": null, + "weight": 337, "cookies": false, "type": "", "deprecated": false, @@ -17562,7 +17717,7 @@ }, "\/migrations\/appwrite": { "post": { - "summary": "Migrate Appwrite data", + "summary": "Create Appwrite migration", "operationId": "migrationsCreateAppwriteMigration", "tags": [ "migrations" @@ -17582,7 +17737,8 @@ }, "x-appwrite": { "method": "createAppwriteMigration", - "weight": 334, + "group": null, + "weight": 333, "cookies": false, "type": "", "deprecated": false, @@ -17649,7 +17805,7 @@ }, "\/migrations\/appwrite\/report": { "get": { - "summary": "Generate a report on Appwrite data", + "summary": "Get Appwrite migration report", "operationId": "migrationsGetAppwriteReport", "tags": [ "migrations" @@ -17669,7 +17825,8 @@ }, "x-appwrite": { "method": "getAppwriteReport", - "weight": 340, + "group": null, + "weight": 339, "cookies": false, "type": "", "deprecated": false, @@ -17741,7 +17898,7 @@ }, "\/migrations\/firebase": { "post": { - "summary": "Migrate Firebase data", + "summary": "Create Firebase migration", "operationId": "migrationsCreateFirebaseMigration", "tags": [ "migrations" @@ -17761,7 +17918,8 @@ }, "x-appwrite": { "method": "createFirebaseMigration", - "weight": 335, + "group": null, + "weight": 334, "cookies": false, "type": "", "deprecated": false, @@ -17816,7 +17974,7 @@ }, "\/migrations\/firebase\/report": { "get": { - "summary": "Generate a report on Firebase data", + "summary": "Get Firebase migration report", "operationId": "migrationsGetFirebaseReport", "tags": [ "migrations" @@ -17836,7 +17994,8 @@ }, "x-appwrite": { "method": "getFirebaseReport", - "weight": 341, + "group": null, + "weight": 340, "cookies": false, "type": "", "deprecated": false, @@ -17887,7 +18046,7 @@ }, "\/migrations\/nhost": { "post": { - "summary": "Migrate NHost data", + "summary": "Create NHost migration", "operationId": "migrationsCreateNHostMigration", "tags": [ "migrations" @@ -17907,7 +18066,8 @@ }, "x-appwrite": { "method": "createNHostMigration", - "weight": 337, + "group": null, + "weight": 336, "cookies": false, "type": "", "deprecated": false, @@ -17997,7 +18157,7 @@ }, "\/migrations\/nhost\/report": { "get": { - "summary": "Generate a report on NHost Data", + "summary": "Get NHost migration report", "operationId": "migrationsGetNHostReport", "tags": [ "migrations" @@ -18017,7 +18177,8 @@ }, "x-appwrite": { "method": "getNHostReport", - "weight": 343, + "group": null, + "weight": 342, "cookies": false, "type": "", "deprecated": false, @@ -18129,7 +18290,7 @@ }, "\/migrations\/supabase": { "post": { - "summary": "Migrate Supabase data", + "summary": "Create Supabase migration", "operationId": "migrationsCreateSupabaseMigration", "tags": [ "migrations" @@ -18149,7 +18310,8 @@ }, "x-appwrite": { "method": "createSupabaseMigration", - "weight": 336, + "group": null, + "weight": 335, "cookies": false, "type": "", "deprecated": false, @@ -18233,7 +18395,7 @@ }, "\/migrations\/supabase\/report": { "get": { - "summary": "Generate a report on Supabase Data", + "summary": "Get Supabase migration report", "operationId": "migrationsGetSupabaseReport", "tags": [ "migrations" @@ -18253,7 +18415,8 @@ }, "x-appwrite": { "method": "getSupabaseReport", - "weight": 342, + "group": null, + "weight": 341, "cookies": false, "type": "", "deprecated": false, @@ -18376,7 +18539,8 @@ }, "x-appwrite": { "method": "get", - "weight": 339, + "group": null, + "weight": 338, "cookies": false, "type": "", "deprecated": false, @@ -18413,7 +18577,7 @@ ] }, "patch": { - "summary": "Retry migration", + "summary": "Update retry migration", "operationId": "migrationsRetry", "tags": [ "migrations" @@ -18433,7 +18597,8 @@ }, "x-appwrite": { "method": "retry", - "weight": 344, + "group": null, + "weight": 343, "cookies": false, "type": "", "deprecated": false, @@ -18483,7 +18648,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 345, + "group": null, + "weight": 344, "cookies": false, "type": "", "deprecated": false, @@ -18542,7 +18708,8 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 196, + "group": null, + "weight": 195, "cookies": false, "type": "", "deprecated": false, @@ -18629,7 +18796,8 @@ }, "x-appwrite": { "method": "listVariables", - "weight": 198, + "group": null, + "weight": 197, "cookies": false, "type": "", "deprecated": false, @@ -18674,7 +18842,8 @@ }, "x-appwrite": { "method": "createVariable", - "weight": 197, + "group": null, + "weight": 196, "cookies": false, "type": "", "deprecated": false, @@ -18746,7 +18915,8 @@ }, "x-appwrite": { "method": "getVariable", - "weight": 199, + "group": null, + "weight": 198, "cookies": false, "type": "", "deprecated": false, @@ -18803,7 +18973,8 @@ }, "x-appwrite": { "method": "updateVariable", - "weight": 200, + "group": null, + "weight": 199, "cookies": false, "type": "", "deprecated": false, @@ -18877,7 +19048,8 @@ }, "x-appwrite": { "method": "deleteVariable", - "weight": 201, + "group": null, + "weight": 200, "cookies": false, "type": "", "deprecated": false, @@ -18936,7 +19108,8 @@ }, "x-appwrite": { "method": "list", - "weight": 151, + "group": "projects", + "weight": 150, "cookies": false, "type": "", "deprecated": false, @@ -19007,7 +19180,8 @@ }, "x-appwrite": { "method": "create", - "weight": 150, + "group": "projects", + "weight": 149, "cookies": false, "type": "", "deprecated": false, @@ -19056,8 +19230,7 @@ "description": "Project Region.", "x-example": "default", "enum": [ - "default", - "fra" + "default" ], "x-enum-name": null, "x-enum-keys": [] @@ -19141,7 +19314,8 @@ }, "x-appwrite": { "method": "get", - "weight": 152, + "group": "projects", + "weight": 151, "cookies": false, "type": "", "deprecated": false, @@ -19198,7 +19372,8 @@ }, "x-appwrite": { "method": "update", - "weight": 153, + "group": "projects", + "weight": 152, "cookies": false, "type": "", "deprecated": false, @@ -19312,7 +19487,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 170, + "group": "projects", + "weight": 169, "cookies": false, "type": "", "deprecated": false, @@ -19371,7 +19547,8 @@ }, "x-appwrite": { "method": "updateApiStatus", - "weight": 157, + "group": "projects", + "weight": 156, "cookies": false, "type": "", "deprecated": false, @@ -19462,7 +19639,8 @@ }, "x-appwrite": { "method": "updateApiStatusAll", - "weight": 158, + "group": "projects", + "weight": 157, "cookies": false, "type": "", "deprecated": false, @@ -19540,7 +19718,8 @@ }, "x-appwrite": { "method": "updateAuthDuration", - "weight": 163, + "group": "auth", + "weight": 162, "cookies": false, "type": "", "deprecated": false, @@ -19618,7 +19797,8 @@ }, "x-appwrite": { "method": "updateAuthLimit", - "weight": 162, + "group": "auth", + "weight": 161, "cookies": false, "type": "", "deprecated": false, @@ -19696,7 +19876,8 @@ }, "x-appwrite": { "method": "updateAuthSessionsLimit", - "weight": 168, + "group": "auth", + "weight": 167, "cookies": false, "type": "", "deprecated": false, @@ -19774,7 +19955,8 @@ }, "x-appwrite": { "method": "updateMembershipsPrivacy", - "weight": 161, + "group": "auth", + "weight": 160, "cookies": false, "type": "", "deprecated": false, @@ -19864,7 +20046,8 @@ }, "x-appwrite": { "method": "updateMockNumbers", - "weight": 169, + "group": "auth", + "weight": 168, "cookies": false, "type": "", "deprecated": false, @@ -19945,7 +20128,8 @@ }, "x-appwrite": { "method": "updateAuthPasswordDictionary", - "weight": 166, + "group": "auth", + "weight": 165, "cookies": false, "type": "", "deprecated": false, @@ -20023,7 +20207,8 @@ }, "x-appwrite": { "method": "updateAuthPasswordHistory", - "weight": 165, + "group": "auth", + "weight": 164, "cookies": false, "type": "", "deprecated": false, @@ -20081,7 +20266,7 @@ }, "\/projects\/{projectId}\/auth\/personal-data": { "patch": { - "summary": "Enable or disable checking user passwords for similarity with their personal data.", + "summary": "Update personal data check", "operationId": "projectsUpdatePersonalDataCheck", "tags": [ "projects" @@ -20101,7 +20286,8 @@ }, "x-appwrite": { "method": "updatePersonalDataCheck", - "weight": 167, + "group": "auth", + "weight": 166, "cookies": false, "type": "", "deprecated": false, @@ -20179,7 +20365,8 @@ }, "x-appwrite": { "method": "updateSessionAlerts", - "weight": 160, + "group": "auth", + "weight": 159, "cookies": false, "type": "", "deprecated": false, @@ -20257,7 +20444,8 @@ }, "x-appwrite": { "method": "updateAuthStatus", - "weight": 164, + "group": "auth", + "weight": 163, "cookies": false, "type": "", "deprecated": false, @@ -20356,7 +20544,8 @@ }, "x-appwrite": { "method": "createJWT", - "weight": 182, + "group": "auth", + "weight": 181, "cookies": false, "type": "", "deprecated": false, @@ -20442,7 +20631,8 @@ }, "x-appwrite": { "method": "listKeys", - "weight": 178, + "group": "keys", + "weight": 177, "cookies": false, "type": "", "deprecated": false, @@ -20499,7 +20689,8 @@ }, "x-appwrite": { "method": "createKey", - "weight": 177, + "group": "keys", + "weight": 176, "cookies": false, "type": "", "deprecated": false, @@ -20591,7 +20782,8 @@ }, "x-appwrite": { "method": "getKey", - "weight": 179, + "group": "keys", + "weight": 178, "cookies": false, "type": "", "deprecated": false, @@ -20658,7 +20850,8 @@ }, "x-appwrite": { "method": "updateKey", - "weight": 180, + "group": "keys", + "weight": 179, "cookies": false, "type": "", "deprecated": false, @@ -20751,7 +20944,8 @@ }, "x-appwrite": { "method": "deleteKey", - "weight": 181, + "group": "keys", + "weight": 180, "cookies": false, "type": "", "deprecated": false, @@ -20820,7 +21014,8 @@ }, "x-appwrite": { "method": "updateOAuth2", - "weight": 159, + "group": "auth", + "weight": 158, "cookies": false, "type": "", "deprecated": false, @@ -20880,6 +21075,7 @@ "dropbox", "etsy", "facebook", + "figma", "github", "gitlab", "google", @@ -20956,7 +21152,8 @@ }, "x-appwrite": { "method": "listPlatforms", - "weight": 184, + "group": "platforms", + "weight": 183, "cookies": false, "type": "", "deprecated": false, @@ -21013,7 +21210,8 @@ }, "x-appwrite": { "method": "createPlatform", - "weight": 183, + "group": "platforms", + "weight": 182, "cookies": false, "type": "", "deprecated": false, @@ -21131,7 +21329,8 @@ }, "x-appwrite": { "method": "getPlatform", - "weight": 185, + "group": "platforms", + "weight": 184, "cookies": false, "type": "", "deprecated": false, @@ -21198,7 +21397,8 @@ }, "x-appwrite": { "method": "updatePlatform", - "weight": 186, + "group": "platforms", + "weight": 185, "cookies": false, "type": "", "deprecated": false, @@ -21292,7 +21492,8 @@ }, "x-appwrite": { "method": "deletePlatform", - "weight": 187, + "group": "platforms", + "weight": 186, "cookies": false, "type": "", "deprecated": false, @@ -21361,7 +21562,8 @@ }, "x-appwrite": { "method": "updateServiceStatus", - "weight": 155, + "group": "projects", + "weight": 154, "cookies": false, "type": "", "deprecated": false, @@ -21460,7 +21662,8 @@ }, "x-appwrite": { "method": "updateServiceStatusAll", - "weight": 156, + "group": "projects", + "weight": 155, "cookies": false, "type": "", "deprecated": false, @@ -21538,7 +21741,8 @@ }, "x-appwrite": { "method": "updateSmtp", - "weight": 188, + "group": "templates", + "weight": 187, "cookies": false, "type": "", "deprecated": false, @@ -21655,7 +21859,8 @@ }, "x-appwrite": { "method": "createSmtpTest", - "weight": 189, + "group": "templates", + "weight": 188, "cookies": false, "type": "", "deprecated": false, @@ -21785,7 +21990,8 @@ }, "x-appwrite": { "method": "updateTeam", - "weight": 154, + "group": "projects", + "weight": 153, "cookies": false, "type": "", "deprecated": false, @@ -21863,7 +22069,8 @@ }, "x-appwrite": { "method": "getEmailTemplate", - "weight": 191, + "group": "templates", + "weight": 190, "cookies": false, "type": "", "deprecated": false, @@ -22086,7 +22293,8 @@ }, "x-appwrite": { "method": "updateEmailTemplate", - "weight": 193, + "group": "templates", + "weight": 192, "cookies": false, "type": "", "deprecated": false, @@ -22329,7 +22537,7 @@ } }, "delete": { - "summary": "Reset custom email template", + "summary": "Delete custom email template", "operationId": "projectsDeleteEmailTemplate", "tags": [ "projects" @@ -22349,7 +22557,8 @@ }, "x-appwrite": { "method": "deleteEmailTemplate", - "weight": 195, + "group": "templates", + "weight": 194, "cookies": false, "type": "", "deprecated": false, @@ -22574,7 +22783,8 @@ }, "x-appwrite": { "method": "getSmsTemplate", - "weight": 190, + "group": "templates", + "weight": 189, "cookies": false, "type": "", "deprecated": false, @@ -22794,7 +23004,8 @@ }, "x-appwrite": { "method": "updateSmsTemplate", - "weight": 192, + "group": "templates", + "weight": 191, "cookies": false, "type": "", "deprecated": false, @@ -23033,7 +23244,8 @@ }, "x-appwrite": { "method": "deleteSmsTemplate", - "weight": 194, + "group": "templates", + "weight": 193, "cookies": false, "type": "", "deprecated": false, @@ -23255,7 +23467,8 @@ }, "x-appwrite": { "method": "listWebhooks", - "weight": 172, + "group": "webhooks", + "weight": 171, "cookies": false, "type": "", "deprecated": false, @@ -23312,7 +23525,8 @@ }, "x-appwrite": { "method": "createWebhook", - "weight": 171, + "group": "webhooks", + "weight": 170, "cookies": false, "type": "", "deprecated": false, @@ -23426,7 +23640,8 @@ }, "x-appwrite": { "method": "getWebhook", - "weight": 173, + "group": "webhooks", + "weight": 172, "cookies": false, "type": "", "deprecated": false, @@ -23493,7 +23708,8 @@ }, "x-appwrite": { "method": "updateWebhook", - "weight": 174, + "group": "webhooks", + "weight": 173, "cookies": false, "type": "", "deprecated": false, @@ -23608,7 +23824,8 @@ }, "x-appwrite": { "method": "deleteWebhook", - "weight": 176, + "group": "webhooks", + "weight": 175, "cookies": false, "type": "", "deprecated": false, @@ -23677,7 +23894,8 @@ }, "x-appwrite": { "method": "updateWebhookSignature", - "weight": 175, + "group": "webhooks", + "weight": 174, "cookies": false, "type": "", "deprecated": false, @@ -23746,7 +23964,8 @@ }, "x-appwrite": { "method": "listRules", - "weight": 317, + "group": null, + "weight": 316, "cookies": false, "type": "", "deprecated": false, @@ -23817,7 +24036,8 @@ }, "x-appwrite": { "method": "createRule", - "weight": 316, + "group": null, + "weight": 315, "cookies": false, "type": "", "deprecated": false, @@ -23900,7 +24120,8 @@ }, "x-appwrite": { "method": "getRule", - "weight": 318, + "group": null, + "weight": 317, "cookies": false, "type": "", "deprecated": false, @@ -23950,7 +24171,8 @@ }, "x-appwrite": { "method": "deleteRule", - "weight": 319, + "group": null, + "weight": 318, "cookies": false, "type": "", "deprecated": false, @@ -24009,7 +24231,8 @@ }, "x-appwrite": { "method": "updateRuleVerification", - "weight": 320, + "group": null, + "weight": 319, "cookies": false, "type": "", "deprecated": false, @@ -24068,7 +24291,8 @@ }, "x-appwrite": { "method": "listBuckets", - "weight": 203, + "group": "buckets", + "weight": 202, "cookies": false, "type": "", "deprecated": false, @@ -24140,7 +24364,8 @@ }, "x-appwrite": { "method": "createBucket", - "weight": 202, + "group": "buckets", + "weight": 201, "cookies": false, "type": "", "deprecated": false, @@ -24266,7 +24491,8 @@ }, "x-appwrite": { "method": "getBucket", - "weight": 204, + "group": "buckets", + "weight": 203, "cookies": false, "type": "", "deprecated": false, @@ -24324,7 +24550,8 @@ }, "x-appwrite": { "method": "updateBucket", - "weight": 205, + "group": "buckets", + "weight": 204, "cookies": false, "type": "", "deprecated": false, @@ -24447,7 +24674,8 @@ }, "x-appwrite": { "method": "deleteBucket", - "weight": 206, + "group": "buckets", + "weight": 205, "cookies": false, "type": "", "deprecated": false, @@ -24507,7 +24735,8 @@ }, "x-appwrite": { "method": "listFiles", - "weight": 208, + "group": "files", + "weight": 207, "cookies": false, "type": "", "deprecated": false, @@ -24592,7 +24821,8 @@ }, "x-appwrite": { "method": "createFile", - "weight": 207, + "group": "files", + "weight": 206, "cookies": false, "type": "upload", "deprecated": false, @@ -24689,7 +24919,8 @@ }, "x-appwrite": { "method": "getFile", - "weight": 209, + "group": "files", + "weight": 208, "cookies": false, "type": "", "deprecated": false, @@ -24760,7 +24991,8 @@ }, "x-appwrite": { "method": "updateFile", - "weight": 214, + "group": "files", + "weight": 213, "cookies": false, "type": "", "deprecated": false, @@ -24848,7 +25080,8 @@ }, "x-appwrite": { "method": "deleteFile", - "weight": 215, + "group": "files", + "weight": 214, "cookies": false, "type": "", "deprecated": false, @@ -24914,7 +25147,8 @@ }, "x-appwrite": { "method": "getFileDownload", - "weight": 211, + "group": "files", + "weight": 210, "cookies": false, "type": "location", "deprecated": false, @@ -24980,7 +25214,8 @@ }, "x-appwrite": { "method": "getFilePreview", - "weight": 210, + "group": "files", + "weight": 209, "cookies": false, "type": "location", "deprecated": false, @@ -25196,7 +25431,8 @@ }, "x-appwrite": { "method": "getFileView", - "weight": 212, + "group": "files", + "weight": 211, "cookies": false, "type": "location", "deprecated": false, @@ -25269,7 +25505,8 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 216, + "group": null, + "weight": 215, "cookies": false, "type": "", "deprecated": false, @@ -25340,7 +25577,8 @@ }, "x-appwrite": { "method": "getBucketUsage", - "weight": 217, + "group": null, + "weight": 216, "cookies": false, "type": "", "deprecated": false, @@ -25421,7 +25659,8 @@ }, "x-appwrite": { "method": "list", - "weight": 219, + "group": "teams", + "weight": 218, "cookies": false, "type": "", "deprecated": false, @@ -25496,7 +25735,8 @@ }, "x-appwrite": { "method": "create", - "weight": 218, + "group": "teams", + "weight": 217, "cookies": false, "type": "", "deprecated": false, @@ -25580,7 +25820,8 @@ }, "x-appwrite": { "method": "get", - "weight": 220, + "group": "teams", + "weight": 219, "cookies": false, "type": "", "deprecated": false, @@ -25641,7 +25882,8 @@ }, "x-appwrite": { "method": "updateName", - "weight": 222, + "group": "teams", + "weight": 221, "cookies": false, "type": "", "deprecated": false, @@ -25714,7 +25956,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 224, + "group": "teams", + "weight": 223, "cookies": false, "type": "", "deprecated": false, @@ -25777,7 +26020,8 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 231, + "group": "logs", + "weight": 230, "cookies": false, "type": "", "deprecated": false, @@ -25849,7 +26093,8 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 226, + "group": "memberships", + "weight": 225, "cookies": false, "type": "", "deprecated": false, @@ -25934,7 +26179,8 @@ }, "x-appwrite": { "method": "createMembership", - "weight": 225, + "group": "memberships", + "weight": 224, "cookies": false, "type": "", "deprecated": false, @@ -26044,7 +26290,8 @@ }, "x-appwrite": { "method": "getMembership", - "weight": 227, + "group": "memberships", + "weight": 226, "cookies": false, "type": "", "deprecated": false, @@ -26115,7 +26362,8 @@ }, "x-appwrite": { "method": "updateMembership", - "weight": 228, + "group": "memberships", + "weight": 227, "cookies": false, "type": "", "deprecated": false, @@ -26201,7 +26449,8 @@ }, "x-appwrite": { "method": "deleteMembership", - "weight": 230, + "group": "memberships", + "weight": 229, "cookies": false, "type": "", "deprecated": false, @@ -26274,7 +26523,8 @@ }, "x-appwrite": { "method": "updateMembershipStatus", - "weight": 229, + "group": "memberships", + "weight": 228, "cookies": false, "type": "", "deprecated": false, @@ -26370,7 +26620,8 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 221, + "group": "teams", + "weight": 220, "cookies": false, "type": "", "deprecated": false, @@ -26429,7 +26680,8 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 223, + "group": "teams", + "weight": 222, "cookies": false, "type": "", "deprecated": false, @@ -26509,7 +26761,8 @@ }, "x-appwrite": { "method": "list", - "weight": 241, + "group": "users", + "weight": 240, "cookies": false, "type": "", "deprecated": false, @@ -26581,7 +26834,8 @@ }, "x-appwrite": { "method": "create", - "weight": 232, + "group": "users", + "weight": 231, "cookies": false, "type": "", "deprecated": false, @@ -26668,7 +26922,8 @@ }, "x-appwrite": { "method": "createArgon2User", - "weight": 235, + "group": "users", + "weight": 234, "cookies": false, "type": "", "deprecated": false, @@ -26752,7 +27007,8 @@ }, "x-appwrite": { "method": "createBcryptUser", - "weight": 233, + "group": "users", + "weight": 232, "cookies": false, "type": "", "deprecated": false, @@ -26836,7 +27092,8 @@ }, "x-appwrite": { "method": "listIdentities", - "weight": 249, + "group": "identities", + "weight": 248, "cookies": false, "type": "", "deprecated": false, @@ -26903,7 +27160,8 @@ }, "x-appwrite": { "method": "deleteIdentity", - "weight": 272, + "group": "identities", + "weight": 271, "cookies": false, "type": "", "deprecated": false, @@ -26963,7 +27221,8 @@ }, "x-appwrite": { "method": "createMD5User", - "weight": 234, + "group": "users", + "weight": 233, "cookies": false, "type": "", "deprecated": false, @@ -27047,7 +27306,8 @@ }, "x-appwrite": { "method": "createPHPassUser", - "weight": 237, + "group": "users", + "weight": 236, "cookies": false, "type": "", "deprecated": false, @@ -27131,7 +27391,8 @@ }, "x-appwrite": { "method": "createScryptUser", - "weight": 238, + "group": "users", + "weight": 237, "cookies": false, "type": "", "deprecated": false, @@ -27245,7 +27506,8 @@ }, "x-appwrite": { "method": "createScryptModifiedUser", - "weight": 239, + "group": "users", + "weight": 238, "cookies": false, "type": "", "deprecated": false, @@ -27347,7 +27609,8 @@ }, "x-appwrite": { "method": "createSHAUser", - "weight": 236, + "group": "users", + "weight": 235, "cookies": false, "type": "", "deprecated": false, @@ -27451,7 +27714,8 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 274, + "group": null, + "weight": 273, "cookies": false, "type": "", "deprecated": false, @@ -27522,7 +27786,8 @@ }, "x-appwrite": { "method": "get", - "weight": 242, + "group": "users", + "weight": 241, "cookies": false, "type": "", "deprecated": false, @@ -27573,7 +27838,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 270, + "group": "users", + "weight": 269, "cookies": false, "type": "", "deprecated": false, @@ -27633,7 +27899,8 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 255, + "group": "users", + "weight": 254, "cookies": false, "type": "", "deprecated": false, @@ -27712,7 +27979,8 @@ }, "x-appwrite": { "method": "createJWT", - "weight": 273, + "group": "sessions", + "weight": 272, "cookies": false, "type": "", "deprecated": false, @@ -27793,7 +28061,8 @@ }, "x-appwrite": { "method": "updateLabels", - "weight": 251, + "group": "users", + "weight": 250, "cookies": false, "type": "", "deprecated": false, @@ -27875,7 +28144,8 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 247, + "group": "logs", + "weight": 246, "cookies": false, "type": "", "deprecated": false, @@ -27948,7 +28218,8 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 246, + "group": "memberships", + "weight": 245, "cookies": false, "type": "", "deprecated": false, @@ -28008,7 +28279,8 @@ }, "x-appwrite": { "method": "updateMfa", - "weight": 260, + "group": "users", + "weight": 259, "cookies": false, "type": "", "deprecated": false, @@ -28080,7 +28352,8 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", - "weight": 265, + "group": "mfa", + "weight": 264, "cookies": false, "type": "", "deprecated": false, @@ -28155,7 +28428,8 @@ }, "x-appwrite": { "method": "listMfaFactors", - "weight": 261, + "group": "mfa", + "weight": 260, "cookies": false, "type": "", "deprecated": false, @@ -28215,7 +28489,8 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", - "weight": 262, + "group": "mfa", + "weight": 261, "cookies": false, "type": "", "deprecated": false, @@ -28253,7 +28528,7 @@ ] }, "put": { - "summary": "Regenerate MFA recovery codes", + "summary": "Update MFA recovery codes (regenerate)", "operationId": "usersUpdateMfaRecoveryCodes", "tags": [ "users" @@ -28273,7 +28548,8 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", - "weight": 264, + "group": "mfa", + "weight": 263, "cookies": false, "type": "", "deprecated": false, @@ -28331,7 +28607,8 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", - "weight": 263, + "group": "mfa", + "weight": 262, "cookies": false, "type": "", "deprecated": false, @@ -28391,7 +28668,8 @@ }, "x-appwrite": { "method": "updateName", - "weight": 253, + "group": "users", + "weight": 252, "cookies": false, "type": "", "deprecated": false, @@ -28470,7 +28748,8 @@ }, "x-appwrite": { "method": "updatePassword", - "weight": 254, + "group": "users", + "weight": 253, "cookies": false, "type": "", "deprecated": false, @@ -28549,7 +28828,8 @@ }, "x-appwrite": { "method": "updatePhone", - "weight": 256, + "group": "users", + "weight": 255, "cookies": false, "type": "", "deprecated": false, @@ -28628,7 +28908,8 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 243, + "group": "users", + "weight": 242, "cookies": false, "type": "", "deprecated": false, @@ -28686,7 +28967,8 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 258, + "group": "users", + "weight": 257, "cookies": false, "type": "", "deprecated": false, @@ -28765,7 +29047,8 @@ }, "x-appwrite": { "method": "listSessions", - "weight": 245, + "group": "sessions", + "weight": 244, "cookies": false, "type": "", "deprecated": false, @@ -28823,7 +29106,8 @@ }, "x-appwrite": { "method": "createSession", - "weight": 266, + "group": "sessions", + "weight": 265, "cookies": false, "type": "", "deprecated": false, @@ -28874,7 +29158,8 @@ }, "x-appwrite": { "method": "deleteSessions", - "weight": 269, + "group": "sessions", + "weight": 268, "cookies": false, "type": "", "deprecated": false, @@ -28927,7 +29212,8 @@ }, "x-appwrite": { "method": "deleteSession", - "weight": 268, + "group": "sessions", + "weight": 267, "cookies": false, "type": "", "deprecated": false, @@ -28997,7 +29283,8 @@ }, "x-appwrite": { "method": "updateStatus", - "weight": 250, + "group": "users", + "weight": 249, "cookies": false, "type": "", "deprecated": false, @@ -29076,7 +29363,8 @@ }, "x-appwrite": { "method": "listTargets", - "weight": 248, + "group": "targets", + "weight": 247, "cookies": false, "type": "", "deprecated": false, @@ -29148,7 +29436,8 @@ }, "x-appwrite": { "method": "createTarget", - "weight": 240, + "group": "targets", + "weight": 239, "cookies": false, "type": "", "deprecated": false, @@ -29257,7 +29546,8 @@ }, "x-appwrite": { "method": "getTarget", - "weight": 244, + "group": "targets", + "weight": 243, "cookies": false, "type": "", "deprecated": false, @@ -29326,7 +29616,8 @@ }, "x-appwrite": { "method": "updateTarget", - "weight": 259, + "group": "targets", + "weight": 258, "cookies": false, "type": "", "deprecated": false, @@ -29414,7 +29705,8 @@ }, "x-appwrite": { "method": "deleteTarget", - "weight": 271, + "group": "targets", + "weight": 270, "cookies": false, "type": "", "deprecated": false, @@ -29485,7 +29777,8 @@ }, "x-appwrite": { "method": "createToken", - "weight": 267, + "group": "sessions", + "weight": 266, "cookies": false, "type": "", "deprecated": false, @@ -29566,7 +29859,8 @@ }, "x-appwrite": { "method": "updateEmailVerification", - "weight": 257, + "group": "users", + "weight": 256, "cookies": false, "type": "", "deprecated": false, @@ -29645,7 +29939,8 @@ }, "x-appwrite": { "method": "updatePhoneVerification", - "weight": 252, + "group": "users", + "weight": 251, "cookies": false, "type": "", "deprecated": false, @@ -29724,7 +30019,8 @@ }, "x-appwrite": { "method": "listRepositories", - "weight": 279, + "group": "repositories", + "weight": 278, "cookies": false, "type": "", "deprecated": false, @@ -29792,7 +30088,8 @@ }, "x-appwrite": { "method": "createRepository", - "weight": 280, + "group": "repositories", + "weight": 279, "cookies": false, "type": "", "deprecated": false, @@ -29876,7 +30173,8 @@ }, "x-appwrite": { "method": "getRepository", - "weight": 281, + "group": "repositories", + "weight": 280, "cookies": false, "type": "", "deprecated": false, @@ -29945,7 +30243,8 @@ }, "x-appwrite": { "method": "listRepositoryBranches", - "weight": 282, + "group": "repositories", + "weight": 281, "cookies": false, "type": "", "deprecated": false, @@ -30014,7 +30313,8 @@ }, "x-appwrite": { "method": "getRepositoryContents", - "weight": 277, + "group": "repositories", + "weight": 276, "cookies": false, "type": "", "deprecated": false, @@ -30074,7 +30374,7 @@ }, "\/vcs\/github\/installations\/{installationId}\/providerRepositories\/{providerRepositoryId}\/detection": { "post": { - "summary": "Detect runtime settings from source code", + "summary": "Create runtime settings detection", "operationId": "vcsCreateRepositoryDetection", "tags": [ "vcs" @@ -30094,7 +30394,8 @@ }, "x-appwrite": { "method": "createRepositoryDetection", - "weight": 278, + "group": "repositories", + "weight": 277, "cookies": false, "type": "", "deprecated": false, @@ -30159,7 +30460,7 @@ }, "\/vcs\/github\/installations\/{installationId}\/repositories\/{repositoryId}": { "patch": { - "summary": "Authorize external deployment", + "summary": "Update external deployment (authorize)", "operationId": "vcsUpdateExternalDeployments", "tags": [ "vcs" @@ -30172,7 +30473,8 @@ }, "x-appwrite": { "method": "updateExternalDeployments", - "weight": 287, + "group": "repositories", + "weight": 286, "cookies": false, "type": "", "deprecated": false, @@ -30260,7 +30562,8 @@ }, "x-appwrite": { "method": "listInstallations", - "weight": 284, + "group": "installations", + "weight": 283, "cookies": false, "type": "", "deprecated": false, @@ -30333,7 +30636,8 @@ }, "x-appwrite": { "method": "getInstallation", - "weight": 285, + "group": "installations", + "weight": 284, "cookies": false, "type": "", "deprecated": false, @@ -30383,7 +30687,8 @@ }, "x-appwrite": { "method": "deleteInstallation", - "weight": 286, + "group": "installations", + "weight": 285, "cookies": false, "type": "", "deprecated": false, diff --git a/app/config/specs/open-api3-1.6.x-server.json b/app/config/specs/open-api3-1.6.x-server.json index 3d32d3e978..5b1865178e 100644 --- a/app/config/specs/open-api3-1.6.x-server.json +++ b/app/config/specs/open-api3-1.6.x-server.json @@ -1,7 +1,7 @@ { "openapi": "3.0.0", "info": { - "version": "1.6.1", + "version": "1.6.2", "title": "Appwrite", "description": "Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https:\/\/appwrite.io\/docs](https:\/\/appwrite.io\/docs)", "termsOfService": "https:\/\/appwrite.io\/policy\/terms", @@ -18,6 +18,9 @@ "servers": [ { "url": "https:\/\/cloud.appwrite.io\/v1" + }, + { + "url": "https:\/\/<REGION>.cloud.appwrite.io\/v1" } ], "paths": { @@ -43,6 +46,7 @@ }, "x-appwrite": { "method": "get", + "group": "account", "weight": 9, "cookies": false, "type": "", @@ -92,6 +96,7 @@ }, "x-appwrite": { "method": "create", + "group": "account", "weight": 8, "cookies": false, "type": "", @@ -176,6 +181,7 @@ }, "x-appwrite": { "method": "updateEmail", + "group": "account", "weight": 34, "cookies": false, "type": "", @@ -252,6 +258,7 @@ }, "x-appwrite": { "method": "listIdentities", + "group": "identities", "weight": 57, "cookies": false, "type": "", @@ -311,6 +318,7 @@ }, "x-appwrite": { "method": "deleteIdentity", + "group": "identities", "weight": 58, "cookies": false, "type": "", @@ -374,6 +382,7 @@ }, "x-appwrite": { "method": "createJWT", + "group": "tokens", "weight": 29, "cookies": false, "type": "", @@ -422,6 +431,7 @@ }, "x-appwrite": { "method": "listLogs", + "group": "logs", "weight": 31, "cookies": false, "type": "", @@ -488,6 +498,7 @@ }, "x-appwrite": { "method": "updateMFA", + "group": "mfa", "weight": 44, "cookies": false, "type": "", @@ -558,6 +569,7 @@ }, "x-appwrite": { "method": "createMfaAuthenticator", + "group": "mfa", "weight": 46, "cookies": false, "type": "", @@ -604,7 +616,7 @@ ] }, "put": { - "summary": "Verify authenticator", + "summary": "Update authenticator (confirmation)", "operationId": "accountUpdateMfaAuthenticator", "tags": [ "account" @@ -624,6 +636,7 @@ }, "x-appwrite": { "method": "updateMfaAuthenticator", + "group": "mfa", "weight": 47, "cookies": false, "type": "", @@ -702,6 +715,7 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", + "group": "mfa", "weight": 51, "cookies": false, "type": "", @@ -770,6 +784,7 @@ }, "x-appwrite": { "method": "createMfaChallenge", + "group": "mfa", "weight": 52, "cookies": false, "type": "", @@ -823,7 +838,7 @@ } }, "put": { - "summary": "Create MFA challenge (confirmation)", + "summary": "Update MFA challenge (confirmation)", "operationId": "accountUpdateMfaChallenge", "tags": [ "account" @@ -843,6 +858,7 @@ }, "x-appwrite": { "method": "updateMfaChallenge", + "group": "mfa", "weight": 53, "cookies": false, "type": "", @@ -919,6 +935,7 @@ }, "x-appwrite": { "method": "listMfaFactors", + "group": "mfa", "weight": 45, "cookies": false, "type": "", @@ -950,7 +967,7 @@ }, "\/account\/mfa\/recovery-codes": { "get": { - "summary": "Get MFA recovery codes", + "summary": "List MFA recovery codes", "operationId": "accountGetMfaRecoveryCodes", "tags": [ "account" @@ -970,6 +987,7 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", + "group": "mfa", "weight": 50, "cookies": false, "type": "", @@ -1019,6 +1037,7 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", + "group": "mfa", "weight": 48, "cookies": false, "type": "", @@ -1048,7 +1067,7 @@ ] }, "patch": { - "summary": "Regenerate MFA recovery codes", + "summary": "Update MFA recovery codes (regenerate)", "operationId": "accountUpdateMfaRecoveryCodes", "tags": [ "account" @@ -1068,6 +1087,7 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", + "group": "mfa", "weight": 49, "cookies": false, "type": "", @@ -1119,6 +1139,7 @@ }, "x-appwrite": { "method": "updateName", + "group": "account", "weight": 32, "cookies": false, "type": "", @@ -1189,6 +1210,7 @@ }, "x-appwrite": { "method": "updatePassword", + "group": "account", "weight": 33, "cookies": false, "type": "", @@ -1264,6 +1286,7 @@ }, "x-appwrite": { "method": "updatePhone", + "group": "account", "weight": 35, "cookies": false, "type": "", @@ -1340,6 +1363,7 @@ }, "x-appwrite": { "method": "getPrefs", + "group": "account", "weight": 30, "cookies": false, "type": "", @@ -1389,6 +1413,7 @@ }, "x-appwrite": { "method": "updatePrefs", + "group": "account", "weight": 36, "cookies": false, "type": "", @@ -1459,6 +1484,7 @@ }, "x-appwrite": { "method": "createRecovery", + "group": "recovery", "weight": 38, "cookies": false, "type": "", @@ -1516,7 +1542,7 @@ } }, "put": { - "summary": "Create password recovery (confirmation)", + "summary": "Update password recovery (confirmation)", "operationId": "accountUpdateRecovery", "tags": [ "account" @@ -1536,6 +1562,7 @@ }, "x-appwrite": { "method": "updateRecovery", + "group": "recovery", "weight": 39, "cookies": false, "type": "", @@ -1618,6 +1645,7 @@ }, "x-appwrite": { "method": "listSessions", + "group": "sessions", "weight": 11, "cookies": false, "type": "", @@ -1660,6 +1688,7 @@ }, "x-appwrite": { "method": "deleteSessions", + "group": "sessions", "weight": 12, "cookies": false, "type": "", @@ -1711,6 +1740,7 @@ }, "x-appwrite": { "method": "createAnonymousSession", + "group": "sessions", "weight": 17, "cookies": false, "type": "", @@ -1759,6 +1789,7 @@ }, "x-appwrite": { "method": "createEmailPasswordSession", + "group": "sessions", "weight": 16, "cookies": false, "type": "", @@ -1832,6 +1863,7 @@ }, "x-appwrite": { "method": "updateMagicURLSession", + "group": "sessions", "weight": 26, "cookies": false, "type": "", @@ -1905,6 +1937,7 @@ }, "x-appwrite": { "method": "updatePhoneSession", + "group": "sessions", "weight": 27, "cookies": false, "type": "", @@ -1978,6 +2011,7 @@ }, "x-appwrite": { "method": "createSession", + "group": "sessions", "weight": 18, "cookies": false, "type": "", @@ -2051,6 +2085,7 @@ }, "x-appwrite": { "method": "getSession", + "group": "sessions", "weight": 13, "cookies": false, "type": "", @@ -2112,6 +2147,7 @@ }, "x-appwrite": { "method": "updateSession", + "group": "sessions", "weight": 15, "cookies": false, "type": "", @@ -2166,6 +2202,7 @@ }, "x-appwrite": { "method": "deleteSession", + "group": "sessions", "weight": 14, "cookies": false, "type": "", @@ -2229,6 +2266,7 @@ }, "x-appwrite": { "method": "updateStatus", + "group": "account", "weight": 37, "cookies": false, "type": "", @@ -2280,6 +2318,7 @@ }, "x-appwrite": { "method": "createEmailToken", + "group": "tokens", "weight": 25, "cookies": false, "type": "", @@ -2358,6 +2397,7 @@ }, "x-appwrite": { "method": "createMagicURLToken", + "group": "tokens", "weight": 24, "cookies": false, "type": "", @@ -2437,6 +2477,7 @@ }, "x-appwrite": { "method": "createOAuth2Token", + "group": "tokens", "weight": 23, "cookies": false, "type": "webAuth", @@ -2464,7 +2505,7 @@ "parameters": [ { "name": "provider", - "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", + "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", "required": true, "schema": { "type": "string", @@ -2484,6 +2525,7 @@ "dropbox", "etsy", "facebook", + "figma", "github", "gitlab", "google", @@ -2577,6 +2619,7 @@ }, "x-appwrite": { "method": "createPhoneToken", + "group": "tokens", "weight": 28, "cookies": false, "type": "", @@ -2653,6 +2696,7 @@ }, "x-appwrite": { "method": "createVerification", + "group": "verification", "weight": 40, "cookies": false, "type": "", @@ -2701,7 +2745,7 @@ } }, "put": { - "summary": "Create email verification (confirmation)", + "summary": "Update email verification (confirmation)", "operationId": "accountUpdateVerification", "tags": [ "account" @@ -2721,6 +2765,7 @@ }, "x-appwrite": { "method": "updateVerification", + "group": "verification", "weight": 41, "cookies": false, "type": "", @@ -2797,6 +2842,7 @@ }, "x-appwrite": { "method": "createPhoneVerification", + "group": "verification", "weight": 42, "cookies": false, "type": "", @@ -2849,6 +2895,7 @@ }, "x-appwrite": { "method": "updatePhoneVerification", + "group": "verification", "weight": 43, "cookies": false, "type": "", @@ -2918,6 +2965,7 @@ }, "x-appwrite": { "method": "getBrowser", + "group": null, "weight": 60, "cookies": false, "type": "location", @@ -3045,6 +3093,7 @@ }, "x-appwrite": { "method": "getCreditCard", + "group": null, "weight": 59, "cookies": false, "type": "location", @@ -3178,6 +3227,7 @@ }, "x-appwrite": { "method": "getFavicon", + "group": null, "weight": 63, "cookies": false, "type": "location", @@ -3237,6 +3287,7 @@ }, "x-appwrite": { "method": "getFlag", + "group": null, "weight": 61, "cookies": false, "type": "location", @@ -3726,6 +3777,7 @@ }, "x-appwrite": { "method": "getImage", + "group": null, "weight": 62, "cookies": false, "type": "location", @@ -3809,6 +3861,7 @@ }, "x-appwrite": { "method": "getInitials", + "group": null, "weight": 65, "cookies": false, "type": "location", @@ -3902,6 +3955,7 @@ }, "x-appwrite": { "method": "getQR", + "group": null, "weight": 64, "cookies": false, "type": "location", @@ -4002,6 +4056,7 @@ }, "x-appwrite": { "method": "list", + "group": "databases", "weight": 70, "cookies": false, "type": "", @@ -4075,6 +4130,7 @@ }, "x-appwrite": { "method": "create", + "group": "databases", "weight": 69, "cookies": false, "type": "", @@ -4154,6 +4210,7 @@ }, "x-appwrite": { "method": "get", + "group": "databases", "weight": 71, "cookies": false, "type": "", @@ -4213,6 +4270,7 @@ }, "x-appwrite": { "method": "update", + "group": "databases", "weight": 73, "cookies": false, "type": "", @@ -4289,6 +4347,7 @@ }, "x-appwrite": { "method": "delete", + "group": "databases", "weight": 74, "cookies": false, "type": "", @@ -4350,6 +4409,7 @@ }, "x-appwrite": { "method": "listCollections", + "group": "collections", "weight": 76, "cookies": false, "type": "", @@ -4433,6 +4493,7 @@ }, "x-appwrite": { "method": "createCollection", + "group": "collections", "weight": 75, "cookies": false, "type": "", @@ -4537,6 +4598,7 @@ }, "x-appwrite": { "method": "getCollection", + "group": "collections", "weight": 77, "cookies": false, "type": "", @@ -4606,6 +4668,7 @@ }, "x-appwrite": { "method": "updateCollection", + "group": "collections", "weight": 79, "cookies": false, "type": "", @@ -4705,6 +4768,7 @@ }, "x-appwrite": { "method": "deleteCollection", + "group": "collections", "weight": 80, "cookies": false, "type": "", @@ -4776,6 +4840,7 @@ }, "x-appwrite": { "method": "listAttributes", + "group": "attributes", "weight": 91, "cookies": false, "type": "", @@ -4860,6 +4925,7 @@ }, "x-appwrite": { "method": "createBooleanAttribute", + "group": "attributes", "weight": 88, "cookies": false, "type": "", @@ -4966,6 +5032,7 @@ }, "x-appwrite": { "method": "updateBooleanAttribute", + "group": "attributes", "weight": 100, "cookies": false, "type": "", @@ -5077,6 +5144,7 @@ }, "x-appwrite": { "method": "createDatetimeAttribute", + "group": "attributes", "weight": 89, "cookies": false, "type": "", @@ -5183,6 +5251,7 @@ }, "x-appwrite": { "method": "updateDatetimeAttribute", + "group": "attributes", "weight": 101, "cookies": false, "type": "", @@ -5294,6 +5363,7 @@ }, "x-appwrite": { "method": "createEmailAttribute", + "group": "attributes", "weight": 82, "cookies": false, "type": "", @@ -5400,6 +5470,7 @@ }, "x-appwrite": { "method": "updateEmailAttribute", + "group": "attributes", "weight": 94, "cookies": false, "type": "", @@ -5511,6 +5582,7 @@ }, "x-appwrite": { "method": "createEnumAttribute", + "group": "attributes", "weight": 83, "cookies": false, "type": "", @@ -5626,6 +5698,7 @@ }, "x-appwrite": { "method": "updateEnumAttribute", + "group": "attributes", "weight": 95, "cookies": false, "type": "", @@ -5746,6 +5819,7 @@ }, "x-appwrite": { "method": "createFloatAttribute", + "group": "attributes", "weight": 87, "cookies": false, "type": "", @@ -5862,6 +5936,7 @@ }, "x-appwrite": { "method": "updateFloatAttribute", + "group": "attributes", "weight": 99, "cookies": false, "type": "", @@ -5983,6 +6058,7 @@ }, "x-appwrite": { "method": "createIntegerAttribute", + "group": "attributes", "weight": 86, "cookies": false, "type": "", @@ -6099,6 +6175,7 @@ }, "x-appwrite": { "method": "updateIntegerAttribute", + "group": "attributes", "weight": 98, "cookies": false, "type": "", @@ -6220,6 +6297,7 @@ }, "x-appwrite": { "method": "createIpAttribute", + "group": "attributes", "weight": 84, "cookies": false, "type": "", @@ -6326,6 +6404,7 @@ }, "x-appwrite": { "method": "updateIpAttribute", + "group": "attributes", "weight": 96, "cookies": false, "type": "", @@ -6437,6 +6516,7 @@ }, "x-appwrite": { "method": "createRelationshipAttribute", + "group": "attributes", "weight": 90, "cookies": false, "type": "", @@ -6568,6 +6648,7 @@ }, "x-appwrite": { "method": "createStringAttribute", + "group": "attributes", "weight": 81, "cookies": false, "type": "", @@ -6685,6 +6766,7 @@ }, "x-appwrite": { "method": "updateStringAttribute", + "group": "attributes", "weight": 93, "cookies": false, "type": "", @@ -6801,6 +6883,7 @@ }, "x-appwrite": { "method": "createUrlAttribute", + "group": "attributes", "weight": 85, "cookies": false, "type": "", @@ -6907,6 +6990,7 @@ }, "x-appwrite": { "method": "updateUrlAttribute", + "group": "attributes", "weight": 97, "cookies": false, "type": "", @@ -7049,6 +7133,7 @@ }, "x-appwrite": { "method": "getAttribute", + "group": "attributes", "weight": 92, "cookies": false, "type": "", @@ -7120,6 +7205,7 @@ }, "x-appwrite": { "method": "deleteAttribute", + "group": "attributes", "weight": 103, "cookies": false, "type": "", @@ -7200,6 +7286,7 @@ }, "x-appwrite": { "method": "updateRelationshipAttribute", + "group": "attributes", "weight": 102, "cookies": false, "type": "", @@ -7308,6 +7395,7 @@ }, "x-appwrite": { "method": "listDocuments", + "group": "documents", "weight": 109, "cookies": false, "type": "", @@ -7394,6 +7482,7 @@ }, "x-appwrite": { "method": "createDocument", + "group": "documents", "weight": 108, "cookies": false, "type": "", @@ -7502,6 +7591,7 @@ }, "x-appwrite": { "method": "getDocument", + "group": "documents", "weight": 110, "cookies": false, "type": "", @@ -7598,6 +7688,7 @@ }, "x-appwrite": { "method": "updateDocument", + "group": "documents", "weight": 112, "cookies": false, "type": "", @@ -7698,6 +7789,7 @@ }, "x-appwrite": { "method": "deleteDocument", + "group": "documents", "weight": 113, "cookies": false, "type": "", @@ -7783,6 +7875,7 @@ }, "x-appwrite": { "method": "listIndexes", + "group": "indexes", "weight": 105, "cookies": false, "type": "", @@ -7865,6 +7958,7 @@ }, "x-appwrite": { "method": "createIndex", + "group": "collections", "weight": 104, "cookies": false, "type": "", @@ -7985,6 +8079,7 @@ }, "x-appwrite": { "method": "getIndex", + "group": "indexes", "weight": 106, "cookies": false, "type": "", @@ -8056,6 +8151,7 @@ }, "x-appwrite": { "method": "deleteIndex", + "group": "indexes", "weight": 107, "cookies": false, "type": "", @@ -8136,7 +8232,8 @@ }, "x-appwrite": { "method": "list", - "weight": 289, + "group": "functions", + "weight": 288, "cookies": false, "type": "", "deprecated": false, @@ -8209,7 +8306,8 @@ }, "x-appwrite": { "method": "create", - "weight": 288, + "group": "functions", + "weight": 287, "cookies": false, "type": "", "deprecated": false, @@ -8456,7 +8554,8 @@ }, "x-appwrite": { "method": "listRuntimes", - "weight": 290, + "group": "runtimes", + "weight": 289, "cookies": false, "type": "", "deprecated": false, @@ -8505,7 +8604,8 @@ }, "x-appwrite": { "method": "listSpecifications", - "weight": 291, + "group": "runtimes", + "weight": 290, "cookies": false, "type": "", "deprecated": false, @@ -8555,7 +8655,8 @@ }, "x-appwrite": { "method": "get", - "weight": 292, + "group": "functions", + "weight": 291, "cookies": false, "type": "", "deprecated": false, @@ -8614,7 +8715,8 @@ }, "x-appwrite": { "method": "update", - "weight": 295, + "group": "functions", + "weight": 294, "cookies": false, "type": "", "deprecated": false, @@ -8838,7 +8940,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 298, + "group": "functions", + "weight": 297, "cookies": false, "type": "", "deprecated": false, @@ -8899,7 +9002,8 @@ }, "x-appwrite": { "method": "listDeployments", - "weight": 300, + "group": "deployments", + "weight": 299, "cookies": false, "type": "", "deprecated": false, @@ -8982,7 +9086,8 @@ }, "x-appwrite": { "method": "createDeployment", - "weight": 299, + "group": "deployments", + "weight": 298, "cookies": false, "type": "upload", "deprecated": false, @@ -9078,7 +9183,8 @@ }, "x-appwrite": { "method": "getDeployment", - "weight": 301, + "group": "deployments", + "weight": 300, "cookies": false, "type": "", "deprecated": false, @@ -9147,7 +9253,8 @@ }, "x-appwrite": { "method": "updateDeployment", - "weight": 297, + "group": "deployments", + "weight": 296, "cookies": false, "type": "", "deprecated": false, @@ -9209,7 +9316,8 @@ }, "x-appwrite": { "method": "deleteDeployment", - "weight": 302, + "group": "deployments", + "weight": 301, "cookies": false, "type": "", "deprecated": false, @@ -9260,7 +9368,7 @@ }, "\/functions\/{functionId}\/deployments\/{deploymentId}\/build": { "post": { - "summary": "Rebuild deployment", + "summary": "Create deployment build", "operationId": "functionsCreateBuild", "tags": [ "functions" @@ -9273,7 +9381,8 @@ }, "x-appwrite": { "method": "createBuild", - "weight": 303, + "group": "deployments", + "weight": 302, "cookies": false, "type": "", "deprecated": false, @@ -9358,7 +9467,8 @@ }, "x-appwrite": { "method": "updateDeploymentBuild", - "weight": 304, + "group": "deployments", + "weight": 303, "cookies": false, "type": "", "deprecated": false, @@ -9409,7 +9519,7 @@ }, "\/functions\/{functionId}\/deployments\/{deploymentId}\/download": { "get": { - "summary": "Download deployment", + "summary": "Get deployment download", "operationId": "functionsGetDeploymentDownload", "tags": [ "functions" @@ -9422,7 +9532,8 @@ }, "x-appwrite": { "method": "getDeploymentDownload", - "weight": 296, + "group": "deployments", + "weight": 295, "cookies": false, "type": "location", "deprecated": false, @@ -9495,7 +9606,8 @@ }, "x-appwrite": { "method": "listExecutions", - "weight": 306, + "group": "executions", + "weight": 305, "cookies": false, "type": "", "deprecated": false, @@ -9582,7 +9694,8 @@ }, "x-appwrite": { "method": "createExecution", - "weight": 305, + "group": "executions", + "weight": 304, "cookies": false, "type": "", "deprecated": false, @@ -9698,7 +9811,8 @@ }, "x-appwrite": { "method": "getExecution", - "weight": 307, + "group": "executions", + "weight": 306, "cookies": false, "type": "", "deprecated": false, @@ -9764,7 +9878,8 @@ }, "x-appwrite": { "method": "deleteExecution", - "weight": 308, + "group": "executions", + "weight": 307, "cookies": false, "type": "", "deprecated": false, @@ -9835,7 +9950,8 @@ }, "x-appwrite": { "method": "listVariables", - "weight": 310, + "group": "variables", + "weight": 309, "cookies": false, "type": "", "deprecated": false, @@ -9894,7 +10010,8 @@ }, "x-appwrite": { "method": "createVariable", - "weight": 309, + "group": "variables", + "weight": 308, "cookies": false, "type": "", "deprecated": false, @@ -9980,7 +10097,8 @@ }, "x-appwrite": { "method": "getVariable", - "weight": 311, + "group": "variables", + "weight": 310, "cookies": false, "type": "", "deprecated": false, @@ -10049,7 +10167,8 @@ }, "x-appwrite": { "method": "updateVariable", - "weight": 312, + "group": "variables", + "weight": 311, "cookies": false, "type": "", "deprecated": false, @@ -10135,7 +10254,8 @@ }, "x-appwrite": { "method": "deleteVariable", - "weight": 313, + "group": "variables", + "weight": 312, "cookies": false, "type": "", "deprecated": false, @@ -10206,7 +10326,8 @@ }, "x-appwrite": { "method": "query", - "weight": 331, + "group": "graphql", + "weight": 330, "cookies": false, "type": "graphql", "deprecated": false, @@ -10259,7 +10380,8 @@ }, "x-appwrite": { "method": "mutation", - "weight": 330, + "group": "graphql", + "weight": 329, "cookies": false, "type": "graphql", "deprecated": false, @@ -10312,6 +10434,7 @@ }, "x-appwrite": { "method": "get", + "group": "health", "weight": 125, "cookies": false, "type": "", @@ -10361,7 +10484,8 @@ }, "x-appwrite": { "method": "getAntivirus", - "weight": 147, + "group": "health", + "weight": 146, "cookies": false, "type": "", "deprecated": false, @@ -10410,6 +10534,7 @@ }, "x-appwrite": { "method": "getCache", + "group": "health", "weight": 128, "cookies": false, "type": "", @@ -10459,6 +10584,7 @@ }, "x-appwrite": { "method": "getCertificate", + "group": "health", "weight": 133, "cookies": false, "type": "", @@ -10519,6 +10645,7 @@ }, "x-appwrite": { "method": "getDB", + "group": "health", "weight": 127, "cookies": false, "type": "", @@ -10568,6 +10695,7 @@ }, "x-appwrite": { "method": "getPubSub", + "group": "health", "weight": 129, "cookies": false, "type": "", @@ -10617,6 +10745,7 @@ }, "x-appwrite": { "method": "getQueueBuilds", + "group": "queue", "weight": 135, "cookies": false, "type": "", @@ -10679,6 +10808,7 @@ }, "x-appwrite": { "method": "getQueueCertificates", + "group": "queue", "weight": 134, "cookies": false, "type": "", @@ -10741,6 +10871,7 @@ }, "x-appwrite": { "method": "getQueueDatabases", + "group": "queue", "weight": 136, "cookies": false, "type": "", @@ -10814,6 +10945,7 @@ }, "x-appwrite": { "method": "getQueueDeletes", + "group": "queue", "weight": 137, "cookies": false, "type": "", @@ -10876,7 +11008,8 @@ }, "x-appwrite": { "method": "getFailedJobs", - "weight": 148, + "group": "queue", + "weight": 147, "cookies": false, "type": "", "deprecated": false, @@ -10917,7 +11050,6 @@ "v1-functions", "v1-stats-resources", "v1-stats-usage", - "v1-stats-usage-dump", "v1-webhooks", "v1-certificates", "v1-builds", @@ -10965,6 +11097,7 @@ }, "x-appwrite": { "method": "getQueueFunctions", + "group": "queue", "weight": 141, "cookies": false, "type": "", @@ -11027,6 +11160,7 @@ }, "x-appwrite": { "method": "getQueueLogs", + "group": "queue", "weight": 132, "cookies": false, "type": "", @@ -11089,6 +11223,7 @@ }, "x-appwrite": { "method": "getQueueMails", + "group": "queue", "weight": 138, "cookies": false, "type": "", @@ -11151,6 +11286,7 @@ }, "x-appwrite": { "method": "getQueueMessaging", + "group": "queue", "weight": 139, "cookies": false, "type": "", @@ -11213,6 +11349,7 @@ }, "x-appwrite": { "method": "getQueueMigrations", + "group": "queue", "weight": 140, "cookies": false, "type": "", @@ -11275,6 +11412,7 @@ }, "x-appwrite": { "method": "getQueueStatsResources", + "group": "queue", "weight": 142, "cookies": false, "type": "", @@ -11337,6 +11475,7 @@ }, "x-appwrite": { "method": "getQueueUsage", + "group": "queue", "weight": 143, "cookies": false, "type": "", @@ -11377,68 +11516,6 @@ ] } }, - "\/health\/queue\/stats-usage-dump": { - "get": { - "summary": "Get usage dump queue", - "operationId": "healthGetQueueStatsUsageDump", - "tags": [ - "health" - ], - "description": "Get the number of projects containing metrics that are waiting to be processed in the Appwrite internal queue server.", - "responses": { - "200": { - "description": "Health Queue", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/healthQueue" - } - } - } - } - }, - "x-appwrite": { - "method": "getQueueStatsUsageDump", - "weight": 144, - "cookies": false, - "type": "", - "deprecated": false, - "demo": "health\/get-queue-stats-usage-dump.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-usage-dump.md", - "rate-limit": 0, - "rate-time": 3600, - "rate-key": "url:{url},ip:{ip}", - "scope": "health.read", - "platforms": [ - "server" - ], - "packaging": false, - "auth": { - "Project": [], - "Key": [] - } - }, - "security": [ - { - "Project": [], - "Key": [] - } - ], - "parameters": [ - { - "name": "threshold", - "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", - "required": false, - "schema": { - "type": "integer", - "format": "int32", - "default": 5000 - }, - "in": "query" - } - ] - } - }, "\/health\/queue\/webhooks": { "get": { "summary": "Get webhooks queue", @@ -11461,6 +11538,7 @@ }, "x-appwrite": { "method": "getQueueWebhooks", + "group": "queue", "weight": 131, "cookies": false, "type": "", @@ -11523,7 +11601,8 @@ }, "x-appwrite": { "method": "getStorage", - "weight": 146, + "group": "storage", + "weight": 145, "cookies": false, "type": "", "deprecated": false, @@ -11572,7 +11651,8 @@ }, "x-appwrite": { "method": "getStorageLocal", - "weight": 145, + "group": "storage", + "weight": 144, "cookies": false, "type": "", "deprecated": false, @@ -11621,6 +11701,7 @@ }, "x-appwrite": { "method": "getTime", + "group": "health", "weight": 130, "cookies": false, "type": "", @@ -11670,6 +11751,7 @@ }, "x-appwrite": { "method": "get", + "group": null, "weight": 117, "cookies": false, "type": "", @@ -11723,6 +11805,7 @@ }, "x-appwrite": { "method": "listCodes", + "group": null, "weight": 118, "cookies": false, "type": "", @@ -11776,6 +11859,7 @@ }, "x-appwrite": { "method": "listContinents", + "group": null, "weight": 122, "cookies": false, "type": "", @@ -11829,6 +11913,7 @@ }, "x-appwrite": { "method": "listCountries", + "group": null, "weight": 119, "cookies": false, "type": "", @@ -11882,6 +11967,7 @@ }, "x-appwrite": { "method": "listCountriesEU", + "group": null, "weight": 120, "cookies": false, "type": "", @@ -11935,6 +12021,7 @@ }, "x-appwrite": { "method": "listCountriesPhones", + "group": null, "weight": 121, "cookies": false, "type": "", @@ -11988,6 +12075,7 @@ }, "x-appwrite": { "method": "listCurrencies", + "group": null, "weight": 123, "cookies": false, "type": "", @@ -12041,6 +12129,7 @@ }, "x-appwrite": { "method": "listLanguages", + "group": null, "weight": 124, "cookies": false, "type": "", @@ -12094,7 +12183,8 @@ }, "x-appwrite": { "method": "listMessages", - "weight": 384, + "group": "messages", + "weight": 383, "cookies": false, "type": "", "deprecated": false, @@ -12170,7 +12260,8 @@ }, "x-appwrite": { "method": "createEmail", - "weight": 381, + "group": "messages", + "weight": 380, "cookies": false, "type": "", "deprecated": false, @@ -12314,7 +12405,8 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 388, + "group": "messages", + "weight": 387, "cookies": false, "type": "", "deprecated": false, @@ -12460,7 +12552,8 @@ }, "x-appwrite": { "method": "createPush", - "weight": 383, + "group": "messages", + "weight": 382, "cookies": false, "type": "", "deprecated": false, @@ -12634,7 +12727,8 @@ }, "x-appwrite": { "method": "updatePush", - "weight": 390, + "group": "messages", + "weight": 389, "cookies": false, "type": "", "deprecated": false, @@ -12812,7 +12906,8 @@ }, "x-appwrite": { "method": "createSms", - "weight": 382, + "group": "messages", + "weight": 381, "cookies": false, "type": "", "deprecated": false, @@ -12921,7 +13016,8 @@ }, "x-appwrite": { "method": "updateSms", - "weight": 389, + "group": "messages", + "weight": 388, "cookies": false, "type": "", "deprecated": false, @@ -13033,7 +13129,8 @@ }, "x-appwrite": { "method": "getMessage", - "weight": 387, + "group": "messages", + "weight": 386, "cookies": false, "type": "", "deprecated": false, @@ -13086,7 +13183,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 391, + "group": "messages", + "weight": 390, "cookies": false, "type": "", "deprecated": false, @@ -13148,7 +13246,8 @@ }, "x-appwrite": { "method": "listMessageLogs", - "weight": 385, + "group": "logs", + "weight": 384, "cookies": false, "type": "", "deprecated": false, @@ -13223,7 +13322,8 @@ }, "x-appwrite": { "method": "listTargets", - "weight": 386, + "group": "messages", + "weight": 385, "cookies": false, "type": "", "deprecated": false, @@ -13298,7 +13398,8 @@ }, "x-appwrite": { "method": "listProviders", - "weight": 356, + "group": "providers", + "weight": 355, "cookies": false, "type": "", "deprecated": false, @@ -13374,7 +13475,8 @@ }, "x-appwrite": { "method": "createApnsProvider", - "weight": 355, + "group": "providers", + "weight": 354, "cookies": false, "type": "", "deprecated": false, @@ -13479,7 +13581,8 @@ }, "x-appwrite": { "method": "updateApnsProvider", - "weight": 368, + "group": "providers", + "weight": 367, "cookies": false, "type": "", "deprecated": false, @@ -13587,7 +13690,8 @@ }, "x-appwrite": { "method": "createFcmProvider", - "weight": 354, + "group": "providers", + "weight": 353, "cookies": false, "type": "", "deprecated": false, @@ -13672,7 +13776,8 @@ }, "x-appwrite": { "method": "updateFcmProvider", - "weight": 367, + "group": "providers", + "weight": 366, "cookies": false, "type": "", "deprecated": false, @@ -13760,7 +13865,8 @@ }, "x-appwrite": { "method": "createMailgunProvider", - "weight": 346, + "group": "providers", + "weight": 345, "cookies": false, "type": "", "deprecated": false, @@ -13875,7 +13981,8 @@ }, "x-appwrite": { "method": "updateMailgunProvider", - "weight": 359, + "group": "providers", + "weight": 358, "cookies": false, "type": "", "deprecated": false, @@ -13993,7 +14100,8 @@ }, "x-appwrite": { "method": "createMsg91Provider", - "weight": 349, + "group": "providers", + "weight": 348, "cookies": false, "type": "", "deprecated": false, @@ -14088,7 +14196,8 @@ }, "x-appwrite": { "method": "updateMsg91Provider", - "weight": 362, + "group": "providers", + "weight": 361, "cookies": false, "type": "", "deprecated": false, @@ -14186,7 +14295,8 @@ }, "x-appwrite": { "method": "createSendgridProvider", - "weight": 347, + "group": "providers", + "weight": 346, "cookies": false, "type": "", "deprecated": false, @@ -14291,7 +14401,8 @@ }, "x-appwrite": { "method": "updateSendgridProvider", - "weight": 360, + "group": "providers", + "weight": 359, "cookies": false, "type": "", "deprecated": false, @@ -14399,7 +14510,8 @@ }, "x-appwrite": { "method": "createSmtpProvider", - "weight": 348, + "group": "providers", + "weight": 347, "cookies": false, "type": "", "deprecated": false, @@ -14542,7 +14654,8 @@ }, "x-appwrite": { "method": "updateSmtpProvider", - "weight": 361, + "group": "providers", + "weight": 360, "cookies": false, "type": "", "deprecated": false, @@ -14687,7 +14800,8 @@ }, "x-appwrite": { "method": "createTelesignProvider", - "weight": 350, + "group": "providers", + "weight": 349, "cookies": false, "type": "", "deprecated": false, @@ -14782,7 +14896,8 @@ }, "x-appwrite": { "method": "updateTelesignProvider", - "weight": 363, + "group": "providers", + "weight": 362, "cookies": false, "type": "", "deprecated": false, @@ -14880,7 +14995,8 @@ }, "x-appwrite": { "method": "createTextmagicProvider", - "weight": 351, + "group": "providers", + "weight": 350, "cookies": false, "type": "", "deprecated": false, @@ -14975,7 +15091,8 @@ }, "x-appwrite": { "method": "updateTextmagicProvider", - "weight": 364, + "group": "providers", + "weight": 363, "cookies": false, "type": "", "deprecated": false, @@ -15073,7 +15190,8 @@ }, "x-appwrite": { "method": "createTwilioProvider", - "weight": 352, + "group": "providers", + "weight": 351, "cookies": false, "type": "", "deprecated": false, @@ -15168,7 +15286,8 @@ }, "x-appwrite": { "method": "updateTwilioProvider", - "weight": 365, + "group": "providers", + "weight": 364, "cookies": false, "type": "", "deprecated": false, @@ -15266,7 +15385,8 @@ }, "x-appwrite": { "method": "createVonageProvider", - "weight": 353, + "group": "providers", + "weight": 352, "cookies": false, "type": "", "deprecated": false, @@ -15361,7 +15481,8 @@ }, "x-appwrite": { "method": "updateVonageProvider", - "weight": 366, + "group": "providers", + "weight": 365, "cookies": false, "type": "", "deprecated": false, @@ -15459,7 +15580,8 @@ }, "x-appwrite": { "method": "getProvider", - "weight": 358, + "group": "providers", + "weight": 357, "cookies": false, "type": "", "deprecated": false, @@ -15512,7 +15634,8 @@ }, "x-appwrite": { "method": "deleteProvider", - "weight": 369, + "group": "providers", + "weight": 368, "cookies": false, "type": "", "deprecated": false, @@ -15574,7 +15697,8 @@ }, "x-appwrite": { "method": "listProviderLogs", - "weight": 357, + "group": "providers", + "weight": 356, "cookies": false, "type": "", "deprecated": false, @@ -15649,7 +15773,8 @@ }, "x-appwrite": { "method": "listSubscriberLogs", - "weight": 378, + "group": "subscribers", + "weight": 377, "cookies": false, "type": "", "deprecated": false, @@ -15724,7 +15849,8 @@ }, "x-appwrite": { "method": "listTopics", - "weight": 371, + "group": "topics", + "weight": 370, "cookies": false, "type": "", "deprecated": false, @@ -15798,7 +15924,8 @@ }, "x-appwrite": { "method": "createTopic", - "weight": 370, + "group": "topics", + "weight": 369, "cookies": false, "type": "", "deprecated": false, @@ -15881,7 +16008,8 @@ }, "x-appwrite": { "method": "getTopic", - "weight": 373, + "group": "topics", + "weight": 372, "cookies": false, "type": "", "deprecated": false, @@ -15941,7 +16069,8 @@ }, "x-appwrite": { "method": "updateTopic", - "weight": 374, + "group": "topics", + "weight": 373, "cookies": false, "type": "", "deprecated": false, @@ -16018,7 +16147,8 @@ }, "x-appwrite": { "method": "deleteTopic", - "weight": 375, + "group": "topics", + "weight": 374, "cookies": false, "type": "", "deprecated": false, @@ -16080,7 +16210,8 @@ }, "x-appwrite": { "method": "listTopicLogs", - "weight": 372, + "group": "topics", + "weight": 371, "cookies": false, "type": "", "deprecated": false, @@ -16155,7 +16286,8 @@ }, "x-appwrite": { "method": "listSubscribers", - "weight": 377, + "group": "subscribers", + "weight": 376, "cookies": false, "type": "", "deprecated": false, @@ -16239,7 +16371,8 @@ }, "x-appwrite": { "method": "createSubscriber", - "weight": 376, + "group": "subscribers", + "weight": 375, "cookies": false, "type": "", "deprecated": false, @@ -16330,7 +16463,8 @@ }, "x-appwrite": { "method": "getSubscriber", - "weight": 379, + "group": "subscribers", + "weight": 378, "cookies": false, "type": "", "deprecated": false, @@ -16393,7 +16527,8 @@ }, "x-appwrite": { "method": "deleteSubscriber", - "weight": 380, + "group": "subscribers", + "weight": 379, "cookies": false, "type": "", "deprecated": false, @@ -16469,7 +16604,8 @@ }, "x-appwrite": { "method": "listBuckets", - "weight": 203, + "group": "buckets", + "weight": 202, "cookies": false, "type": "", "deprecated": false, @@ -16542,7 +16678,8 @@ }, "x-appwrite": { "method": "createBucket", - "weight": 202, + "group": "buckets", + "weight": 201, "cookies": false, "type": "", "deprecated": false, @@ -16669,7 +16806,8 @@ }, "x-appwrite": { "method": "getBucket", - "weight": 204, + "group": "buckets", + "weight": 203, "cookies": false, "type": "", "deprecated": false, @@ -16728,7 +16866,8 @@ }, "x-appwrite": { "method": "updateBucket", - "weight": 205, + "group": "buckets", + "weight": 204, "cookies": false, "type": "", "deprecated": false, @@ -16852,7 +16991,8 @@ }, "x-appwrite": { "method": "deleteBucket", - "weight": 206, + "group": "buckets", + "weight": 205, "cookies": false, "type": "", "deprecated": false, @@ -16913,7 +17053,8 @@ }, "x-appwrite": { "method": "listFiles", - "weight": 208, + "group": "files", + "weight": 207, "cookies": false, "type": "", "deprecated": false, @@ -17000,7 +17141,8 @@ }, "x-appwrite": { "method": "createFile", - "weight": 207, + "group": "files", + "weight": 206, "cookies": false, "type": "upload", "deprecated": false, @@ -17099,7 +17241,8 @@ }, "x-appwrite": { "method": "getFile", - "weight": 209, + "group": "files", + "weight": 208, "cookies": false, "type": "", "deprecated": false, @@ -17172,7 +17315,8 @@ }, "x-appwrite": { "method": "updateFile", - "weight": 214, + "group": "files", + "weight": 213, "cookies": false, "type": "", "deprecated": false, @@ -17262,7 +17406,8 @@ }, "x-appwrite": { "method": "deleteFile", - "weight": 215, + "group": "files", + "weight": 214, "cookies": false, "type": "", "deprecated": false, @@ -17330,7 +17475,8 @@ }, "x-appwrite": { "method": "getFileDownload", - "weight": 211, + "group": "files", + "weight": 210, "cookies": false, "type": "location", "deprecated": false, @@ -17398,7 +17544,8 @@ }, "x-appwrite": { "method": "getFilePreview", - "weight": 210, + "group": "files", + "weight": 209, "cookies": false, "type": "location", "deprecated": false, @@ -17616,7 +17763,8 @@ }, "x-appwrite": { "method": "getFileView", - "weight": 212, + "group": "files", + "weight": 211, "cookies": false, "type": "location", "deprecated": false, @@ -17691,7 +17839,8 @@ }, "x-appwrite": { "method": "list", - "weight": 219, + "group": "teams", + "weight": 218, "cookies": false, "type": "", "deprecated": false, @@ -17768,7 +17917,8 @@ }, "x-appwrite": { "method": "create", - "weight": 218, + "group": "teams", + "weight": 217, "cookies": false, "type": "", "deprecated": false, @@ -17854,7 +18004,8 @@ }, "x-appwrite": { "method": "get", - "weight": 220, + "group": "teams", + "weight": 219, "cookies": false, "type": "", "deprecated": false, @@ -17917,7 +18068,8 @@ }, "x-appwrite": { "method": "updateName", - "weight": 222, + "group": "teams", + "weight": 221, "cookies": false, "type": "", "deprecated": false, @@ -17992,7 +18144,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 224, + "group": "teams", + "weight": 223, "cookies": false, "type": "", "deprecated": false, @@ -18057,7 +18210,8 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 226, + "group": "memberships", + "weight": 225, "cookies": false, "type": "", "deprecated": false, @@ -18144,7 +18298,8 @@ }, "x-appwrite": { "method": "createMembership", - "weight": 225, + "group": "memberships", + "weight": 224, "cookies": false, "type": "", "deprecated": false, @@ -18256,7 +18411,8 @@ }, "x-appwrite": { "method": "getMembership", - "weight": 227, + "group": "memberships", + "weight": 226, "cookies": false, "type": "", "deprecated": false, @@ -18329,7 +18485,8 @@ }, "x-appwrite": { "method": "updateMembership", - "weight": 228, + "group": "memberships", + "weight": 227, "cookies": false, "type": "", "deprecated": false, @@ -18417,7 +18574,8 @@ }, "x-appwrite": { "method": "deleteMembership", - "weight": 230, + "group": "memberships", + "weight": 229, "cookies": false, "type": "", "deprecated": false, @@ -18492,7 +18650,8 @@ }, "x-appwrite": { "method": "updateMembershipStatus", - "weight": 229, + "group": "memberships", + "weight": 228, "cookies": false, "type": "", "deprecated": false, @@ -18590,7 +18749,8 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 221, + "group": "teams", + "weight": 220, "cookies": false, "type": "", "deprecated": false, @@ -18651,7 +18811,8 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 223, + "group": "teams", + "weight": 222, "cookies": false, "type": "", "deprecated": false, @@ -18733,7 +18894,8 @@ }, "x-appwrite": { "method": "list", - "weight": 241, + "group": "users", + "weight": 240, "cookies": false, "type": "", "deprecated": false, @@ -18806,7 +18968,8 @@ }, "x-appwrite": { "method": "create", - "weight": 232, + "group": "users", + "weight": 231, "cookies": false, "type": "", "deprecated": false, @@ -18894,7 +19057,8 @@ }, "x-appwrite": { "method": "createArgon2User", - "weight": 235, + "group": "users", + "weight": 234, "cookies": false, "type": "", "deprecated": false, @@ -18979,7 +19143,8 @@ }, "x-appwrite": { "method": "createBcryptUser", - "weight": 233, + "group": "users", + "weight": 232, "cookies": false, "type": "", "deprecated": false, @@ -19064,7 +19229,8 @@ }, "x-appwrite": { "method": "listIdentities", - "weight": 249, + "group": "identities", + "weight": 248, "cookies": false, "type": "", "deprecated": false, @@ -19132,7 +19298,8 @@ }, "x-appwrite": { "method": "deleteIdentity", - "weight": 272, + "group": "identities", + "weight": 271, "cookies": false, "type": "", "deprecated": false, @@ -19193,7 +19360,8 @@ }, "x-appwrite": { "method": "createMD5User", - "weight": 234, + "group": "users", + "weight": 233, "cookies": false, "type": "", "deprecated": false, @@ -19278,7 +19446,8 @@ }, "x-appwrite": { "method": "createPHPassUser", - "weight": 237, + "group": "users", + "weight": 236, "cookies": false, "type": "", "deprecated": false, @@ -19363,7 +19532,8 @@ }, "x-appwrite": { "method": "createScryptUser", - "weight": 238, + "group": "users", + "weight": 237, "cookies": false, "type": "", "deprecated": false, @@ -19478,7 +19648,8 @@ }, "x-appwrite": { "method": "createScryptModifiedUser", - "weight": 239, + "group": "users", + "weight": 238, "cookies": false, "type": "", "deprecated": false, @@ -19581,7 +19752,8 @@ }, "x-appwrite": { "method": "createSHAUser", - "weight": 236, + "group": "users", + "weight": 235, "cookies": false, "type": "", "deprecated": false, @@ -19686,7 +19858,8 @@ }, "x-appwrite": { "method": "get", - "weight": 242, + "group": "users", + "weight": 241, "cookies": false, "type": "", "deprecated": false, @@ -19738,7 +19911,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 270, + "group": "users", + "weight": 269, "cookies": false, "type": "", "deprecated": false, @@ -19799,7 +19973,8 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 255, + "group": "users", + "weight": 254, "cookies": false, "type": "", "deprecated": false, @@ -19879,7 +20054,8 @@ }, "x-appwrite": { "method": "createJWT", - "weight": 273, + "group": "sessions", + "weight": 272, "cookies": false, "type": "", "deprecated": false, @@ -19961,7 +20137,8 @@ }, "x-appwrite": { "method": "updateLabels", - "weight": 251, + "group": "users", + "weight": 250, "cookies": false, "type": "", "deprecated": false, @@ -20044,7 +20221,8 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 247, + "group": "logs", + "weight": 246, "cookies": false, "type": "", "deprecated": false, @@ -20118,7 +20296,8 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 246, + "group": "memberships", + "weight": 245, "cookies": false, "type": "", "deprecated": false, @@ -20179,7 +20358,8 @@ }, "x-appwrite": { "method": "updateMfa", - "weight": 260, + "group": "users", + "weight": 259, "cookies": false, "type": "", "deprecated": false, @@ -20252,7 +20432,8 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", - "weight": 265, + "group": "mfa", + "weight": 264, "cookies": false, "type": "", "deprecated": false, @@ -20328,7 +20509,8 @@ }, "x-appwrite": { "method": "listMfaFactors", - "weight": 261, + "group": "mfa", + "weight": 260, "cookies": false, "type": "", "deprecated": false, @@ -20389,7 +20571,8 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", - "weight": 262, + "group": "mfa", + "weight": 261, "cookies": false, "type": "", "deprecated": false, @@ -20428,7 +20611,7 @@ ] }, "put": { - "summary": "Regenerate MFA recovery codes", + "summary": "Update MFA recovery codes (regenerate)", "operationId": "usersUpdateMfaRecoveryCodes", "tags": [ "users" @@ -20448,7 +20631,8 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", - "weight": 264, + "group": "mfa", + "weight": 263, "cookies": false, "type": "", "deprecated": false, @@ -20507,7 +20691,8 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", - "weight": 263, + "group": "mfa", + "weight": 262, "cookies": false, "type": "", "deprecated": false, @@ -20568,7 +20753,8 @@ }, "x-appwrite": { "method": "updateName", - "weight": 253, + "group": "users", + "weight": 252, "cookies": false, "type": "", "deprecated": false, @@ -20648,7 +20834,8 @@ }, "x-appwrite": { "method": "updatePassword", - "weight": 254, + "group": "users", + "weight": 253, "cookies": false, "type": "", "deprecated": false, @@ -20728,7 +20915,8 @@ }, "x-appwrite": { "method": "updatePhone", - "weight": 256, + "group": "users", + "weight": 255, "cookies": false, "type": "", "deprecated": false, @@ -20808,7 +20996,8 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 243, + "group": "users", + "weight": 242, "cookies": false, "type": "", "deprecated": false, @@ -20867,7 +21056,8 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 258, + "group": "users", + "weight": 257, "cookies": false, "type": "", "deprecated": false, @@ -20947,7 +21137,8 @@ }, "x-appwrite": { "method": "listSessions", - "weight": 245, + "group": "sessions", + "weight": 244, "cookies": false, "type": "", "deprecated": false, @@ -21006,7 +21197,8 @@ }, "x-appwrite": { "method": "createSession", - "weight": 266, + "group": "sessions", + "weight": 265, "cookies": false, "type": "", "deprecated": false, @@ -21058,7 +21250,8 @@ }, "x-appwrite": { "method": "deleteSessions", - "weight": 269, + "group": "sessions", + "weight": 268, "cookies": false, "type": "", "deprecated": false, @@ -21112,7 +21305,8 @@ }, "x-appwrite": { "method": "deleteSession", - "weight": 268, + "group": "sessions", + "weight": 267, "cookies": false, "type": "", "deprecated": false, @@ -21183,7 +21377,8 @@ }, "x-appwrite": { "method": "updateStatus", - "weight": 250, + "group": "users", + "weight": 249, "cookies": false, "type": "", "deprecated": false, @@ -21263,7 +21458,8 @@ }, "x-appwrite": { "method": "listTargets", - "weight": 248, + "group": "targets", + "weight": 247, "cookies": false, "type": "", "deprecated": false, @@ -21336,7 +21532,8 @@ }, "x-appwrite": { "method": "createTarget", - "weight": 240, + "group": "targets", + "weight": 239, "cookies": false, "type": "", "deprecated": false, @@ -21446,7 +21643,8 @@ }, "x-appwrite": { "method": "getTarget", - "weight": 244, + "group": "targets", + "weight": 243, "cookies": false, "type": "", "deprecated": false, @@ -21516,7 +21714,8 @@ }, "x-appwrite": { "method": "updateTarget", - "weight": 259, + "group": "targets", + "weight": 258, "cookies": false, "type": "", "deprecated": false, @@ -21605,7 +21804,8 @@ }, "x-appwrite": { "method": "deleteTarget", - "weight": 271, + "group": "targets", + "weight": 270, "cookies": false, "type": "", "deprecated": false, @@ -21677,7 +21877,8 @@ }, "x-appwrite": { "method": "createToken", - "weight": 267, + "group": "sessions", + "weight": 266, "cookies": false, "type": "", "deprecated": false, @@ -21759,7 +21960,8 @@ }, "x-appwrite": { "method": "updateEmailVerification", - "weight": 257, + "group": "users", + "weight": 256, "cookies": false, "type": "", "deprecated": false, @@ -21839,7 +22041,8 @@ }, "x-appwrite": { "method": "updatePhoneVerification", - "weight": 252, + "group": "users", + "weight": 251, "cookies": false, "type": "", "deprecated": false, diff --git a/app/config/specs/open-api3-latest-client.json b/app/config/specs/open-api3-latest-client.json index 4809b8f4fa..a539e26f03 100644 --- a/app/config/specs/open-api3-latest-client.json +++ b/app/config/specs/open-api3-latest-client.json @@ -18,6 +18,9 @@ "servers": [ { "url": "https:\/\/cloud.appwrite.io\/v1" + }, + { + "url": "https:\/\/<REGION>.cloud.appwrite.io\/v1" } ], "paths": { @@ -43,6 +46,7 @@ }, "x-appwrite": { "method": "get", + "group": "account", "weight": 10, "cookies": false, "type": "", @@ -91,6 +95,7 @@ }, "x-appwrite": { "method": "create", + "group": "account", "weight": 9, "cookies": false, "type": "", @@ -175,6 +180,7 @@ }, "x-appwrite": { "method": "updateEmail", + "group": "account", "weight": 35, "cookies": false, "type": "", @@ -250,6 +256,7 @@ }, "x-appwrite": { "method": "listIdentities", + "group": "identities", "weight": 58, "cookies": false, "type": "", @@ -308,6 +315,7 @@ }, "x-appwrite": { "method": "deleteIdentity", + "group": "identities", "weight": 59, "cookies": false, "type": "", @@ -370,6 +378,7 @@ }, "x-appwrite": { "method": "createJWT", + "group": "tokens", "weight": 30, "cookies": false, "type": "", @@ -418,6 +427,7 @@ }, "x-appwrite": { "method": "listLogs", + "group": "logs", "weight": 32, "cookies": false, "type": "", @@ -483,6 +493,7 @@ }, "x-appwrite": { "method": "updateMFA", + "group": "mfa", "weight": 45, "cookies": false, "type": "", @@ -552,6 +563,7 @@ }, "x-appwrite": { "method": "createMfaAuthenticator", + "group": "mfa", "weight": 47, "cookies": false, "type": "", @@ -597,7 +609,7 @@ ] }, "put": { - "summary": "Verify authenticator", + "summary": "Update authenticator (confirmation)", "operationId": "accountUpdateMfaAuthenticator", "tags": [ "account" @@ -617,6 +629,7 @@ }, "x-appwrite": { "method": "updateMfaAuthenticator", + "group": "mfa", "weight": 48, "cookies": false, "type": "", @@ -694,6 +707,7 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", + "group": "mfa", "weight": 52, "cookies": false, "type": "", @@ -761,6 +775,7 @@ }, "x-appwrite": { "method": "createMfaChallenge", + "group": "mfa", "weight": 53, "cookies": false, "type": "", @@ -814,7 +829,7 @@ } }, "put": { - "summary": "Create MFA challenge (confirmation)", + "summary": "Update MFA challenge (confirmation)", "operationId": "accountUpdateMfaChallenge", "tags": [ "account" @@ -834,6 +849,7 @@ }, "x-appwrite": { "method": "updateMfaChallenge", + "group": "mfa", "weight": 54, "cookies": false, "type": "", @@ -909,6 +925,7 @@ }, "x-appwrite": { "method": "listMfaFactors", + "group": "mfa", "weight": 46, "cookies": false, "type": "", @@ -939,7 +956,7 @@ }, "\/account\/mfa\/recovery-codes": { "get": { - "summary": "Get MFA recovery codes", + "summary": "List MFA recovery codes", "operationId": "accountGetMfaRecoveryCodes", "tags": [ "account" @@ -959,6 +976,7 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", + "group": "mfa", "weight": 51, "cookies": false, "type": "", @@ -1007,6 +1025,7 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", + "group": "mfa", "weight": 49, "cookies": false, "type": "", @@ -1035,7 +1054,7 @@ ] }, "patch": { - "summary": "Regenerate MFA recovery codes", + "summary": "Update MFA recovery codes (regenerate)", "operationId": "accountUpdateMfaRecoveryCodes", "tags": [ "account" @@ -1055,6 +1074,7 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", + "group": "mfa", "weight": 50, "cookies": false, "type": "", @@ -1105,6 +1125,7 @@ }, "x-appwrite": { "method": "updateName", + "group": "account", "weight": 33, "cookies": false, "type": "", @@ -1174,6 +1195,7 @@ }, "x-appwrite": { "method": "updatePassword", + "group": "account", "weight": 34, "cookies": false, "type": "", @@ -1248,6 +1270,7 @@ }, "x-appwrite": { "method": "updatePhone", + "group": "account", "weight": 36, "cookies": false, "type": "", @@ -1323,6 +1346,7 @@ }, "x-appwrite": { "method": "getPrefs", + "group": "account", "weight": 31, "cookies": false, "type": "", @@ -1371,6 +1395,7 @@ }, "x-appwrite": { "method": "updatePrefs", + "group": "account", "weight": 37, "cookies": false, "type": "", @@ -1440,6 +1465,7 @@ }, "x-appwrite": { "method": "createRecovery", + "group": "recovery", "weight": 39, "cookies": false, "type": "", @@ -1496,7 +1522,7 @@ } }, "put": { - "summary": "Create password recovery (confirmation)", + "summary": "Update password recovery (confirmation)", "operationId": "accountUpdateRecovery", "tags": [ "account" @@ -1516,6 +1542,7 @@ }, "x-appwrite": { "method": "updateRecovery", + "group": "recovery", "weight": 40, "cookies": false, "type": "", @@ -1597,6 +1624,7 @@ }, "x-appwrite": { "method": "listSessions", + "group": "sessions", "weight": 12, "cookies": false, "type": "", @@ -1638,6 +1666,7 @@ }, "x-appwrite": { "method": "deleteSessions", + "group": "sessions", "weight": 13, "cookies": false, "type": "", @@ -1688,6 +1717,7 @@ }, "x-appwrite": { "method": "createAnonymousSession", + "group": "sessions", "weight": 18, "cookies": false, "type": "", @@ -1736,6 +1766,7 @@ }, "x-appwrite": { "method": "createEmailPasswordSession", + "group": "sessions", "weight": 17, "cookies": false, "type": "", @@ -1809,6 +1840,7 @@ }, "x-appwrite": { "method": "updateMagicURLSession", + "group": "sessions", "weight": 27, "cookies": false, "type": "", @@ -1875,6 +1907,7 @@ }, "x-appwrite": { "method": "createOAuth2Session", + "group": "sessions", "weight": 20, "cookies": false, "type": "webAuth", @@ -1902,7 +1935,7 @@ "parameters": [ { "name": "provider", - "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", + "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", "required": true, "schema": { "type": "string", @@ -1922,6 +1955,7 @@ "dropbox", "etsy", "facebook", + "figma", "github", "gitlab", "google", @@ -2015,6 +2049,7 @@ }, "x-appwrite": { "method": "updatePhoneSession", + "group": "sessions", "weight": 28, "cookies": false, "type": "", @@ -2088,6 +2123,7 @@ }, "x-appwrite": { "method": "createSession", + "group": "sessions", "weight": 19, "cookies": false, "type": "", @@ -2161,6 +2197,7 @@ }, "x-appwrite": { "method": "getSession", + "group": "sessions", "weight": 14, "cookies": false, "type": "", @@ -2221,6 +2258,7 @@ }, "x-appwrite": { "method": "updateSession", + "group": "sessions", "weight": 16, "cookies": false, "type": "", @@ -2274,6 +2312,7 @@ }, "x-appwrite": { "method": "deleteSession", + "group": "sessions", "weight": 15, "cookies": false, "type": "", @@ -2336,6 +2375,7 @@ }, "x-appwrite": { "method": "updateStatus", + "group": "account", "weight": 38, "cookies": false, "type": "", @@ -2386,6 +2426,7 @@ }, "x-appwrite": { "method": "createPushTarget", + "group": "pushTargets", "weight": 55, "cookies": false, "type": "", @@ -2464,6 +2505,7 @@ }, "x-appwrite": { "method": "updatePushTarget", + "group": "pushTargets", "weight": 56, "cookies": false, "type": "", @@ -2534,6 +2576,7 @@ }, "x-appwrite": { "method": "deletePushTarget", + "group": "pushTargets", "weight": 57, "cookies": false, "type": "", @@ -2594,6 +2637,7 @@ }, "x-appwrite": { "method": "createEmailToken", + "group": "tokens", "weight": 26, "cookies": false, "type": "", @@ -2672,6 +2716,7 @@ }, "x-appwrite": { "method": "createMagicURLToken", + "group": "tokens", "weight": 25, "cookies": false, "type": "", @@ -2751,6 +2796,7 @@ }, "x-appwrite": { "method": "createOAuth2Token", + "group": "tokens", "weight": 24, "cookies": false, "type": "webAuth", @@ -2778,7 +2824,7 @@ "parameters": [ { "name": "provider", - "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", + "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", "required": true, "schema": { "type": "string", @@ -2798,6 +2844,7 @@ "dropbox", "etsy", "facebook", + "figma", "github", "gitlab", "google", @@ -2891,6 +2938,7 @@ }, "x-appwrite": { "method": "createPhoneToken", + "group": "tokens", "weight": 29, "cookies": false, "type": "", @@ -2967,6 +3015,7 @@ }, "x-appwrite": { "method": "createVerification", + "group": "verification", "weight": 41, "cookies": false, "type": "", @@ -3014,7 +3063,7 @@ } }, "put": { - "summary": "Create email verification (confirmation)", + "summary": "Update email verification (confirmation)", "operationId": "accountUpdateVerification", "tags": [ "account" @@ -3034,6 +3083,7 @@ }, "x-appwrite": { "method": "updateVerification", + "group": "verification", "weight": 42, "cookies": false, "type": "", @@ -3109,6 +3159,7 @@ }, "x-appwrite": { "method": "createPhoneVerification", + "group": "verification", "weight": 43, "cookies": false, "type": "", @@ -3160,6 +3211,7 @@ }, "x-appwrite": { "method": "updatePhoneVerification", + "group": "verification", "weight": 44, "cookies": false, "type": "", @@ -3228,6 +3280,7 @@ }, "x-appwrite": { "method": "getBrowser", + "group": null, "weight": 61, "cookies": false, "type": "location", @@ -3353,6 +3406,7 @@ }, "x-appwrite": { "method": "getCreditCard", + "group": null, "weight": 60, "cookies": false, "type": "location", @@ -3484,6 +3538,7 @@ }, "x-appwrite": { "method": "getFavicon", + "group": null, "weight": 64, "cookies": false, "type": "location", @@ -3541,6 +3596,7 @@ }, "x-appwrite": { "method": "getFlag", + "group": null, "weight": 62, "cookies": false, "type": "location", @@ -4028,6 +4084,7 @@ }, "x-appwrite": { "method": "getImage", + "group": null, "weight": 63, "cookies": false, "type": "location", @@ -4109,6 +4166,7 @@ }, "x-appwrite": { "method": "getInitials", + "group": null, "weight": 66, "cookies": false, "type": "location", @@ -4200,6 +4258,7 @@ }, "x-appwrite": { "method": "getQR", + "group": null, "weight": 65, "cookies": false, "type": "location", @@ -4298,6 +4357,7 @@ }, "x-appwrite": { "method": "listDocuments", + "group": "documents", "weight": 110, "cookies": false, "type": "", @@ -4382,6 +4442,7 @@ }, "x-appwrite": { "method": "createDocument", + "group": "documents", "weight": 109, "cookies": false, "type": "", @@ -4488,6 +4549,7 @@ }, "x-appwrite": { "method": "getDocument", + "group": "documents", "weight": 111, "cookies": false, "type": "", @@ -4582,6 +4644,7 @@ }, "x-appwrite": { "method": "updateDocument", + "group": "documents", "weight": 113, "cookies": false, "type": "", @@ -4680,6 +4743,7 @@ }, "x-appwrite": { "method": "deleteDocument", + "group": "documents", "weight": 114, "cookies": false, "type": "", @@ -4763,7 +4827,8 @@ }, "x-appwrite": { "method": "listExecutions", - "weight": 389, + "group": "executions", + "weight": 388, "cookies": false, "type": "", "deprecated": false, @@ -4837,7 +4902,8 @@ }, "x-appwrite": { "method": "createExecution", - "weight": 387, + "group": "executions", + "weight": 386, "cookies": false, "type": "", "deprecated": false, @@ -4951,7 +5017,8 @@ }, "x-appwrite": { "method": "getExecution", - "weight": 388, + "group": "executions", + "weight": 387, "cookies": false, "type": "", "deprecated": false, @@ -5024,7 +5091,8 @@ }, "x-appwrite": { "method": "query", - "weight": 303, + "group": "graphql", + "weight": 302, "cookies": false, "type": "graphql", "deprecated": false, @@ -5075,7 +5143,8 @@ }, "x-appwrite": { "method": "mutation", - "weight": 302, + "group": "graphql", + "weight": 301, "cookies": false, "type": "graphql", "deprecated": false, @@ -5126,6 +5195,7 @@ }, "x-appwrite": { "method": "get", + "group": null, "weight": 118, "cookies": false, "type": "", @@ -5177,6 +5247,7 @@ }, "x-appwrite": { "method": "listCodes", + "group": null, "weight": 119, "cookies": false, "type": "", @@ -5228,6 +5299,7 @@ }, "x-appwrite": { "method": "listContinents", + "group": null, "weight": 123, "cookies": false, "type": "", @@ -5279,6 +5351,7 @@ }, "x-appwrite": { "method": "listCountries", + "group": null, "weight": 120, "cookies": false, "type": "", @@ -5330,6 +5403,7 @@ }, "x-appwrite": { "method": "listCountriesEU", + "group": null, "weight": 121, "cookies": false, "type": "", @@ -5381,6 +5455,7 @@ }, "x-appwrite": { "method": "listCountriesPhones", + "group": null, "weight": 122, "cookies": false, "type": "", @@ -5432,6 +5507,7 @@ }, "x-appwrite": { "method": "listCurrencies", + "group": null, "weight": 124, "cookies": false, "type": "", @@ -5483,6 +5559,7 @@ }, "x-appwrite": { "method": "listLanguages", + "group": null, "weight": 125, "cookies": false, "type": "", @@ -5534,7 +5611,8 @@ }, "x-appwrite": { "method": "createSubscriber", - "weight": 349, + "group": "subscribers", + "weight": 348, "cookies": false, "type": "", "deprecated": false, @@ -5616,7 +5694,8 @@ }, "x-appwrite": { "method": "deleteSubscriber", - "weight": 353, + "group": "subscribers", + "weight": 352, "cookies": false, "type": "", "deprecated": false, @@ -5690,7 +5769,8 @@ }, "x-appwrite": { "method": "listFiles", - "weight": 209, + "group": "files", + "weight": 208, "cookies": false, "type": "", "deprecated": false, @@ -5775,7 +5855,8 @@ }, "x-appwrite": { "method": "createFile", - "weight": 208, + "group": "files", + "weight": 207, "cookies": false, "type": "upload", "deprecated": false, @@ -5872,7 +5953,8 @@ }, "x-appwrite": { "method": "getFile", - "weight": 210, + "group": "files", + "weight": 209, "cookies": false, "type": "", "deprecated": false, @@ -5943,7 +6025,8 @@ }, "x-appwrite": { "method": "updateFile", - "weight": 215, + "group": "files", + "weight": 214, "cookies": false, "type": "", "deprecated": false, @@ -6031,7 +6114,8 @@ }, "x-appwrite": { "method": "deleteFile", - "weight": 216, + "group": "files", + "weight": 215, "cookies": false, "type": "", "deprecated": false, @@ -6097,7 +6181,8 @@ }, "x-appwrite": { "method": "getFileDownload", - "weight": 212, + "group": "files", + "weight": 211, "cookies": false, "type": "location", "deprecated": false, @@ -6163,7 +6248,8 @@ }, "x-appwrite": { "method": "getFilePreview", - "weight": 211, + "group": "files", + "weight": 210, "cookies": false, "type": "location", "deprecated": false, @@ -6379,7 +6465,8 @@ }, "x-appwrite": { "method": "getFileView", - "weight": 213, + "group": "files", + "weight": 212, "cookies": false, "type": "location", "deprecated": false, @@ -6452,7 +6539,8 @@ }, "x-appwrite": { "method": "list", - "weight": 220, + "group": "teams", + "weight": 219, "cookies": false, "type": "", "deprecated": false, @@ -6527,7 +6615,8 @@ }, "x-appwrite": { "method": "create", - "weight": 219, + "group": "teams", + "weight": 218, "cookies": false, "type": "", "deprecated": false, @@ -6611,7 +6700,8 @@ }, "x-appwrite": { "method": "get", - "weight": 221, + "group": "teams", + "weight": 220, "cookies": false, "type": "", "deprecated": false, @@ -6672,7 +6762,8 @@ }, "x-appwrite": { "method": "updateName", - "weight": 223, + "group": "teams", + "weight": 222, "cookies": false, "type": "", "deprecated": false, @@ -6745,7 +6836,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 225, + "group": "teams", + "weight": 224, "cookies": false, "type": "", "deprecated": false, @@ -6808,7 +6900,8 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 227, + "group": "memberships", + "weight": 226, "cookies": false, "type": "", "deprecated": false, @@ -6893,7 +6986,8 @@ }, "x-appwrite": { "method": "createMembership", - "weight": 226, + "group": "memberships", + "weight": 225, "cookies": false, "type": "", "deprecated": false, @@ -7003,7 +7097,8 @@ }, "x-appwrite": { "method": "getMembership", - "weight": 228, + "group": "memberships", + "weight": 227, "cookies": false, "type": "", "deprecated": false, @@ -7074,7 +7169,8 @@ }, "x-appwrite": { "method": "updateMembership", - "weight": 229, + "group": "memberships", + "weight": 228, "cookies": false, "type": "", "deprecated": false, @@ -7160,7 +7256,8 @@ }, "x-appwrite": { "method": "deleteMembership", - "weight": 231, + "group": "memberships", + "weight": 230, "cookies": false, "type": "", "deprecated": false, @@ -7233,7 +7330,8 @@ }, "x-appwrite": { "method": "updateMembershipStatus", - "weight": 230, + "group": "memberships", + "weight": 229, "cookies": false, "type": "", "deprecated": false, @@ -7330,7 +7428,8 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 222, + "group": "teams", + "weight": 221, "cookies": false, "type": "", "deprecated": false, @@ -7390,7 +7489,8 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 224, + "group": "teams", + "weight": 223, "cookies": false, "type": "", "deprecated": false, @@ -7471,7 +7571,8 @@ }, "x-appwrite": { "method": "list", - "weight": 432, + "group": "files", + "weight": 436, "cookies": false, "type": "", "deprecated": false, @@ -7552,7 +7653,8 @@ }, "x-appwrite": { "method": "createFileToken", - "weight": 429, + "group": "files", + "weight": 433, "cookies": false, "type": "", "deprecated": false, @@ -7650,7 +7752,8 @@ }, "x-appwrite": { "method": "get", - "weight": 430, + "group": "tokens", + "weight": 434, "cookies": false, "type": "", "deprecated": false, @@ -7711,7 +7814,8 @@ }, "x-appwrite": { "method": "update", - "weight": 433, + "group": "tokens", + "weight": 437, "cookies": false, "type": "", "deprecated": false, @@ -7790,7 +7894,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 434, + "group": "tokens", + "weight": 438, "cookies": false, "type": "", "deprecated": false, @@ -7853,7 +7958,8 @@ }, "x-appwrite": { "method": "getJWT", - "weight": 431, + "group": "tokens", + "weight": 435, "cookies": false, "type": "", "deprecated": false, diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json index 371ca4aef0..4b9334cd68 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -18,6 +18,9 @@ "servers": [ { "url": "https:\/\/cloud.appwrite.io\/v1" + }, + { + "url": "https:\/\/<REGION>.cloud.appwrite.io\/v1" } ], "paths": { @@ -43,6 +46,7 @@ }, "x-appwrite": { "method": "get", + "group": "account", "weight": 10, "cookies": false, "type": "", @@ -90,6 +94,7 @@ }, "x-appwrite": { "method": "create", + "group": "account", "weight": 9, "cookies": false, "type": "", @@ -165,6 +170,7 @@ }, "x-appwrite": { "method": "delete", + "group": "account", "weight": 11, "cookies": false, "type": "", @@ -212,6 +218,7 @@ }, "x-appwrite": { "method": "updateEmail", + "group": "account", "weight": 35, "cookies": false, "type": "", @@ -286,6 +293,7 @@ }, "x-appwrite": { "method": "listIdentities", + "group": "identities", "weight": 58, "cookies": false, "type": "", @@ -343,6 +351,7 @@ }, "x-appwrite": { "method": "deleteIdentity", + "group": "identities", "weight": 59, "cookies": false, "type": "", @@ -404,6 +413,7 @@ }, "x-appwrite": { "method": "createJWT", + "group": "tokens", "weight": 30, "cookies": false, "type": "", @@ -452,6 +462,7 @@ }, "x-appwrite": { "method": "listLogs", + "group": "logs", "weight": 32, "cookies": false, "type": "", @@ -516,6 +527,7 @@ }, "x-appwrite": { "method": "updateMFA", + "group": "mfa", "weight": 45, "cookies": false, "type": "", @@ -584,6 +596,7 @@ }, "x-appwrite": { "method": "createMfaAuthenticator", + "group": "mfa", "weight": 47, "cookies": false, "type": "", @@ -628,7 +641,7 @@ ] }, "put": { - "summary": "Verify authenticator", + "summary": "Update authenticator (confirmation)", "operationId": "accountUpdateMfaAuthenticator", "tags": [ "account" @@ -648,6 +661,7 @@ }, "x-appwrite": { "method": "updateMfaAuthenticator", + "group": "mfa", "weight": 48, "cookies": false, "type": "", @@ -724,6 +738,7 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", + "group": "mfa", "weight": 52, "cookies": false, "type": "", @@ -790,6 +805,7 @@ }, "x-appwrite": { "method": "createMfaChallenge", + "group": "mfa", "weight": 53, "cookies": false, "type": "", @@ -843,7 +859,7 @@ } }, "put": { - "summary": "Create MFA challenge (confirmation)", + "summary": "Update MFA challenge (confirmation)", "operationId": "accountUpdateMfaChallenge", "tags": [ "account" @@ -863,6 +879,7 @@ }, "x-appwrite": { "method": "updateMfaChallenge", + "group": "mfa", "weight": 54, "cookies": false, "type": "", @@ -937,6 +954,7 @@ }, "x-appwrite": { "method": "listMfaFactors", + "group": "mfa", "weight": 46, "cookies": false, "type": "", @@ -966,7 +984,7 @@ }, "\/account\/mfa\/recovery-codes": { "get": { - "summary": "Get MFA recovery codes", + "summary": "List MFA recovery codes", "operationId": "accountGetMfaRecoveryCodes", "tags": [ "account" @@ -986,6 +1004,7 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", + "group": "mfa", "weight": 51, "cookies": false, "type": "", @@ -1033,6 +1052,7 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", + "group": "mfa", "weight": 49, "cookies": false, "type": "", @@ -1060,7 +1080,7 @@ ] }, "patch": { - "summary": "Regenerate MFA recovery codes", + "summary": "Update MFA recovery codes (regenerate)", "operationId": "accountUpdateMfaRecoveryCodes", "tags": [ "account" @@ -1080,6 +1100,7 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", + "group": "mfa", "weight": 50, "cookies": false, "type": "", @@ -1129,6 +1150,7 @@ }, "x-appwrite": { "method": "updateName", + "group": "account", "weight": 33, "cookies": false, "type": "", @@ -1197,6 +1219,7 @@ }, "x-appwrite": { "method": "updatePassword", + "group": "account", "weight": 34, "cookies": false, "type": "", @@ -1270,6 +1293,7 @@ }, "x-appwrite": { "method": "updatePhone", + "group": "account", "weight": 36, "cookies": false, "type": "", @@ -1344,6 +1368,7 @@ }, "x-appwrite": { "method": "getPrefs", + "group": "account", "weight": 31, "cookies": false, "type": "", @@ -1391,6 +1416,7 @@ }, "x-appwrite": { "method": "updatePrefs", + "group": "account", "weight": 37, "cookies": false, "type": "", @@ -1459,6 +1485,7 @@ }, "x-appwrite": { "method": "createRecovery", + "group": "recovery", "weight": 39, "cookies": false, "type": "", @@ -1514,7 +1541,7 @@ } }, "put": { - "summary": "Create password recovery (confirmation)", + "summary": "Update password recovery (confirmation)", "operationId": "accountUpdateRecovery", "tags": [ "account" @@ -1534,6 +1561,7 @@ }, "x-appwrite": { "method": "updateRecovery", + "group": "recovery", "weight": 40, "cookies": false, "type": "", @@ -1614,6 +1642,7 @@ }, "x-appwrite": { "method": "listSessions", + "group": "sessions", "weight": 12, "cookies": false, "type": "", @@ -1654,6 +1683,7 @@ }, "x-appwrite": { "method": "deleteSessions", + "group": "sessions", "weight": 13, "cookies": false, "type": "", @@ -1703,6 +1733,7 @@ }, "x-appwrite": { "method": "createAnonymousSession", + "group": "sessions", "weight": 18, "cookies": false, "type": "", @@ -1751,6 +1782,7 @@ }, "x-appwrite": { "method": "createEmailPasswordSession", + "group": "sessions", "weight": 17, "cookies": false, "type": "", @@ -1824,6 +1856,7 @@ }, "x-appwrite": { "method": "updateMagicURLSession", + "group": "sessions", "weight": 27, "cookies": false, "type": "", @@ -1890,6 +1923,7 @@ }, "x-appwrite": { "method": "createOAuth2Session", + "group": "sessions", "weight": 20, "cookies": false, "type": "webAuth", @@ -1917,7 +1951,7 @@ "parameters": [ { "name": "provider", - "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", + "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", "required": true, "schema": { "type": "string", @@ -1937,6 +1971,7 @@ "dropbox", "etsy", "facebook", + "figma", "github", "gitlab", "google", @@ -2030,6 +2065,7 @@ }, "x-appwrite": { "method": "updatePhoneSession", + "group": "sessions", "weight": 28, "cookies": false, "type": "", @@ -2103,6 +2139,7 @@ }, "x-appwrite": { "method": "createSession", + "group": "sessions", "weight": 19, "cookies": false, "type": "", @@ -2176,6 +2213,7 @@ }, "x-appwrite": { "method": "getSession", + "group": "sessions", "weight": 14, "cookies": false, "type": "", @@ -2235,6 +2273,7 @@ }, "x-appwrite": { "method": "updateSession", + "group": "sessions", "weight": 16, "cookies": false, "type": "", @@ -2287,6 +2326,7 @@ }, "x-appwrite": { "method": "deleteSession", + "group": "sessions", "weight": 15, "cookies": false, "type": "", @@ -2348,6 +2388,7 @@ }, "x-appwrite": { "method": "updateStatus", + "group": "account", "weight": 38, "cookies": false, "type": "", @@ -2397,6 +2438,7 @@ }, "x-appwrite": { "method": "createPushTarget", + "group": "pushTargets", "weight": 55, "cookies": false, "type": "", @@ -2474,6 +2516,7 @@ }, "x-appwrite": { "method": "updatePushTarget", + "group": "pushTargets", "weight": 56, "cookies": false, "type": "", @@ -2543,6 +2586,7 @@ }, "x-appwrite": { "method": "deletePushTarget", + "group": "pushTargets", "weight": 57, "cookies": false, "type": "", @@ -2602,6 +2646,7 @@ }, "x-appwrite": { "method": "createEmailToken", + "group": "tokens", "weight": 26, "cookies": false, "type": "", @@ -2680,6 +2725,7 @@ }, "x-appwrite": { "method": "createMagicURLToken", + "group": "tokens", "weight": 25, "cookies": false, "type": "", @@ -2759,6 +2805,7 @@ }, "x-appwrite": { "method": "createOAuth2Token", + "group": "tokens", "weight": 24, "cookies": false, "type": "webAuth", @@ -2786,7 +2833,7 @@ "parameters": [ { "name": "provider", - "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", + "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", "required": true, "schema": { "type": "string", @@ -2806,6 +2853,7 @@ "dropbox", "etsy", "facebook", + "figma", "github", "gitlab", "google", @@ -2899,6 +2947,7 @@ }, "x-appwrite": { "method": "createPhoneToken", + "group": "tokens", "weight": 29, "cookies": false, "type": "", @@ -2975,6 +3024,7 @@ }, "x-appwrite": { "method": "createVerification", + "group": "verification", "weight": 41, "cookies": false, "type": "", @@ -3021,7 +3071,7 @@ } }, "put": { - "summary": "Create email verification (confirmation)", + "summary": "Update email verification (confirmation)", "operationId": "accountUpdateVerification", "tags": [ "account" @@ -3041,6 +3091,7 @@ }, "x-appwrite": { "method": "updateVerification", + "group": "verification", "weight": 42, "cookies": false, "type": "", @@ -3115,6 +3166,7 @@ }, "x-appwrite": { "method": "createPhoneVerification", + "group": "verification", "weight": 43, "cookies": false, "type": "", @@ -3165,6 +3217,7 @@ }, "x-appwrite": { "method": "updatePhoneVerification", + "group": "verification", "weight": 44, "cookies": false, "type": "", @@ -3232,6 +3285,7 @@ }, "x-appwrite": { "method": "getBrowser", + "group": null, "weight": 61, "cookies": false, "type": "location", @@ -3357,6 +3411,7 @@ }, "x-appwrite": { "method": "getCreditCard", + "group": null, "weight": 60, "cookies": false, "type": "location", @@ -3488,6 +3543,7 @@ }, "x-appwrite": { "method": "getFavicon", + "group": null, "weight": 64, "cookies": false, "type": "location", @@ -3545,6 +3601,7 @@ }, "x-appwrite": { "method": "getFlag", + "group": null, "weight": 62, "cookies": false, "type": "location", @@ -4032,6 +4089,7 @@ }, "x-appwrite": { "method": "getImage", + "group": null, "weight": 63, "cookies": false, "type": "location", @@ -4113,6 +4171,7 @@ }, "x-appwrite": { "method": "getInitials", + "group": null, "weight": 66, "cookies": false, "type": "location", @@ -4204,6 +4263,7 @@ }, "x-appwrite": { "method": "getQR", + "group": null, "weight": 65, "cookies": false, "type": "location", @@ -4282,7 +4342,7 @@ }, "\/console\/assistant": { "post": { - "summary": "Ask query", + "summary": "Create assistant query", "operationId": "assistantChat", "tags": [ "assistant" @@ -4295,7 +4355,8 @@ }, "x-appwrite": { "method": "chat", - "weight": 305, + "group": "console", + "weight": 304, "cookies": false, "type": "", "deprecated": false, @@ -4354,7 +4415,8 @@ }, "x-appwrite": { "method": "getResource", - "weight": 429, + "group": null, + "weight": 428, "cookies": false, "type": "", "deprecated": false, @@ -4428,7 +4490,8 @@ }, "x-appwrite": { "method": "variables", - "weight": 304, + "group": "console", + "weight": 303, "cookies": false, "type": "", "deprecated": false, @@ -4475,6 +4538,7 @@ }, "x-appwrite": { "method": "list", + "group": "databases", "weight": 71, "cookies": false, "type": "", @@ -4547,6 +4611,7 @@ }, "x-appwrite": { "method": "create", + "group": "databases", "weight": 70, "cookies": false, "type": "", @@ -4625,6 +4690,7 @@ }, "x-appwrite": { "method": "getUsage", + "group": null, "weight": 115, "cookies": false, "type": "", @@ -4696,6 +4762,7 @@ }, "x-appwrite": { "method": "get", + "group": "databases", "weight": 72, "cookies": false, "type": "", @@ -4754,6 +4821,7 @@ }, "x-appwrite": { "method": "update", + "group": "databases", "weight": 74, "cookies": false, "type": "", @@ -4829,6 +4897,7 @@ }, "x-appwrite": { "method": "delete", + "group": "databases", "weight": 75, "cookies": false, "type": "", @@ -4889,6 +4958,7 @@ }, "x-appwrite": { "method": "listCollections", + "group": "collections", "weight": 77, "cookies": false, "type": "", @@ -4971,6 +5041,7 @@ }, "x-appwrite": { "method": "createCollection", + "group": "collections", "weight": 76, "cookies": false, "type": "", @@ -5074,6 +5145,7 @@ }, "x-appwrite": { "method": "getCollection", + "group": "collections", "weight": 78, "cookies": false, "type": "", @@ -5142,6 +5214,7 @@ }, "x-appwrite": { "method": "updateCollection", + "group": "collections", "weight": 80, "cookies": false, "type": "", @@ -5240,6 +5313,7 @@ }, "x-appwrite": { "method": "deleteCollection", + "group": "collections", "weight": 81, "cookies": false, "type": "", @@ -5310,6 +5384,7 @@ }, "x-appwrite": { "method": "listAttributes", + "group": "attributes", "weight": 92, "cookies": false, "type": "", @@ -5393,6 +5468,7 @@ }, "x-appwrite": { "method": "createBooleanAttribute", + "group": "attributes", "weight": 89, "cookies": false, "type": "", @@ -5498,6 +5574,7 @@ }, "x-appwrite": { "method": "updateBooleanAttribute", + "group": "attributes", "weight": 101, "cookies": false, "type": "", @@ -5608,6 +5685,7 @@ }, "x-appwrite": { "method": "createDatetimeAttribute", + "group": "attributes", "weight": 90, "cookies": false, "type": "", @@ -5713,6 +5791,7 @@ }, "x-appwrite": { "method": "updateDatetimeAttribute", + "group": "attributes", "weight": 102, "cookies": false, "type": "", @@ -5823,6 +5902,7 @@ }, "x-appwrite": { "method": "createEmailAttribute", + "group": "attributes", "weight": 83, "cookies": false, "type": "", @@ -5928,6 +6008,7 @@ }, "x-appwrite": { "method": "updateEmailAttribute", + "group": "attributes", "weight": 95, "cookies": false, "type": "", @@ -6038,6 +6119,7 @@ }, "x-appwrite": { "method": "createEnumAttribute", + "group": "attributes", "weight": 84, "cookies": false, "type": "", @@ -6152,6 +6234,7 @@ }, "x-appwrite": { "method": "updateEnumAttribute", + "group": "attributes", "weight": 96, "cookies": false, "type": "", @@ -6271,6 +6354,7 @@ }, "x-appwrite": { "method": "createFloatAttribute", + "group": "attributes", "weight": 88, "cookies": false, "type": "", @@ -6386,6 +6470,7 @@ }, "x-appwrite": { "method": "updateFloatAttribute", + "group": "attributes", "weight": 100, "cookies": false, "type": "", @@ -6506,6 +6591,7 @@ }, "x-appwrite": { "method": "createIntegerAttribute", + "group": "attributes", "weight": 87, "cookies": false, "type": "", @@ -6621,6 +6707,7 @@ }, "x-appwrite": { "method": "updateIntegerAttribute", + "group": "attributes", "weight": 99, "cookies": false, "type": "", @@ -6741,6 +6828,7 @@ }, "x-appwrite": { "method": "createIpAttribute", + "group": "attributes", "weight": 85, "cookies": false, "type": "", @@ -6846,6 +6934,7 @@ }, "x-appwrite": { "method": "updateIpAttribute", + "group": "attributes", "weight": 97, "cookies": false, "type": "", @@ -6956,6 +7045,7 @@ }, "x-appwrite": { "method": "createRelationshipAttribute", + "group": "attributes", "weight": 91, "cookies": false, "type": "", @@ -7086,6 +7176,7 @@ }, "x-appwrite": { "method": "createStringAttribute", + "group": "attributes", "weight": 82, "cookies": false, "type": "", @@ -7202,6 +7293,7 @@ }, "x-appwrite": { "method": "updateStringAttribute", + "group": "attributes", "weight": 94, "cookies": false, "type": "", @@ -7317,6 +7409,7 @@ }, "x-appwrite": { "method": "createUrlAttribute", + "group": "attributes", "weight": 86, "cookies": false, "type": "", @@ -7422,6 +7515,7 @@ }, "x-appwrite": { "method": "updateUrlAttribute", + "group": "attributes", "weight": 98, "cookies": false, "type": "", @@ -7563,6 +7657,7 @@ }, "x-appwrite": { "method": "getAttribute", + "group": "attributes", "weight": 93, "cookies": false, "type": "", @@ -7633,6 +7728,7 @@ }, "x-appwrite": { "method": "deleteAttribute", + "group": "attributes", "weight": 104, "cookies": false, "type": "", @@ -7712,6 +7808,7 @@ }, "x-appwrite": { "method": "updateRelationshipAttribute", + "group": "attributes", "weight": 103, "cookies": false, "type": "", @@ -7819,6 +7916,7 @@ }, "x-appwrite": { "method": "listDocuments", + "group": "documents", "weight": 110, "cookies": false, "type": "", @@ -7903,6 +8001,7 @@ }, "x-appwrite": { "method": "createDocument", + "group": "documents", "weight": 109, "cookies": false, "type": "", @@ -8009,6 +8108,7 @@ }, "x-appwrite": { "method": "getDocument", + "group": "documents", "weight": 111, "cookies": false, "type": "", @@ -8103,6 +8203,7 @@ }, "x-appwrite": { "method": "updateDocument", + "group": "documents", "weight": 113, "cookies": false, "type": "", @@ -8201,6 +8302,7 @@ }, "x-appwrite": { "method": "deleteDocument", + "group": "documents", "weight": 114, "cookies": false, "type": "", @@ -8284,6 +8386,7 @@ }, "x-appwrite": { "method": "listDocumentLogs", + "group": "logs", "weight": 112, "cookies": false, "type": "", @@ -8376,6 +8479,7 @@ }, "x-appwrite": { "method": "listIndexes", + "group": "indexes", "weight": 106, "cookies": false, "type": "", @@ -8457,6 +8561,7 @@ }, "x-appwrite": { "method": "createIndex", + "group": "collections", "weight": 105, "cookies": false, "type": "", @@ -8576,6 +8681,7 @@ }, "x-appwrite": { "method": "getIndex", + "group": "indexes", "weight": 107, "cookies": false, "type": "", @@ -8646,6 +8752,7 @@ }, "x-appwrite": { "method": "deleteIndex", + "group": "indexes", "weight": 108, "cookies": false, "type": "", @@ -8725,6 +8832,7 @@ }, "x-appwrite": { "method": "listCollectionLogs", + "group": "collections", "weight": 79, "cookies": false, "type": "", @@ -8807,6 +8915,7 @@ }, "x-appwrite": { "method": "getCollectionUsage", + "group": null, "weight": 117, "cookies": false, "type": "", @@ -8898,6 +9007,7 @@ }, "x-appwrite": { "method": "listLogs", + "group": "logs", "weight": 73, "cookies": false, "type": "", @@ -8970,6 +9080,7 @@ }, "x-appwrite": { "method": "getDatabaseUsage", + "group": null, "weight": 116, "cookies": false, "type": "", @@ -9051,7 +9162,8 @@ }, "x-appwrite": { "method": "list", - "weight": 373, + "group": "functions", + "weight": 372, "cookies": false, "type": "", "deprecated": false, @@ -9123,7 +9235,8 @@ }, "x-appwrite": { "method": "create", - "weight": 370, + "group": "functions", + "weight": 369, "cookies": false, "type": "", "deprecated": false, @@ -9353,7 +9466,8 @@ }, "x-appwrite": { "method": "listRuntimes", - "weight": 375, + "group": "runtimes", + "weight": 374, "cookies": false, "type": "", "deprecated": false, @@ -9401,7 +9515,8 @@ }, "x-appwrite": { "method": "listSpecifications", - "weight": 376, + "group": "runtimes", + "weight": 375, "cookies": false, "type": "", "deprecated": false, @@ -9450,7 +9565,8 @@ }, "x-appwrite": { "method": "listTemplates", - "weight": 399, + "group": "templates", + "weight": 398, "cookies": false, "type": "", "deprecated": false, @@ -9549,7 +9665,8 @@ }, "x-appwrite": { "method": "getTemplate", - "weight": 398, + "group": "templates", + "weight": 397, "cookies": false, "type": "", "deprecated": false, @@ -9608,7 +9725,8 @@ }, "x-appwrite": { "method": "listUsage", - "weight": 392, + "group": null, + "weight": 391, "cookies": false, "type": "", "deprecated": false, @@ -9679,7 +9797,8 @@ }, "x-appwrite": { "method": "get", - "weight": 371, + "group": "functions", + "weight": 370, "cookies": false, "type": "", "deprecated": false, @@ -9737,7 +9856,8 @@ }, "x-appwrite": { "method": "update", - "weight": 372, + "group": "functions", + "weight": 371, "cookies": false, "type": "", "deprecated": false, @@ -9964,7 +10084,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 374, + "group": "functions", + "weight": 373, "cookies": false, "type": "", "deprecated": false, @@ -10024,7 +10145,8 @@ }, "x-appwrite": { "method": "updateFunctionDeployment", - "weight": 379, + "group": "functions", + "weight": 378, "cookies": false, "type": "", "deprecated": false, @@ -10103,7 +10225,8 @@ }, "x-appwrite": { "method": "listDeployments", - "weight": 380, + "group": "deployments", + "weight": 379, "cookies": false, "type": "", "deprecated": false, @@ -10185,7 +10308,8 @@ }, "x-appwrite": { "method": "createDeployment", - "weight": 377, + "group": "deployments", + "weight": 376, "cookies": false, "type": "upload", "deprecated": false, @@ -10280,7 +10404,8 @@ }, "x-appwrite": { "method": "createDuplicateDeployment", - "weight": 385, + "group": "deployments", + "weight": 384, "cookies": false, "type": "", "deprecated": false, @@ -10364,7 +10489,8 @@ }, "x-appwrite": { "method": "createTemplateDeployment", - "weight": 382, + "group": "deployments", + "weight": 381, "cookies": false, "type": "", "deprecated": false, @@ -10466,7 +10592,8 @@ }, "x-appwrite": { "method": "createVcsDeployment", - "weight": 383, + "group": "deployments", + "weight": 382, "cookies": false, "type": "", "deprecated": false, @@ -10562,7 +10689,8 @@ }, "x-appwrite": { "method": "getDeployment", - "weight": 378, + "group": "deployments", + "weight": 377, "cookies": false, "type": "", "deprecated": false, @@ -10623,7 +10751,8 @@ }, "x-appwrite": { "method": "deleteDeployment", - "weight": 381, + "group": "deployments", + "weight": 380, "cookies": false, "type": "", "deprecated": false, @@ -10673,7 +10802,7 @@ }, "\/functions\/{functionId}\/deployments\/{deploymentId}\/download": { "get": { - "summary": "Download deployment", + "summary": "Get deployment download", "operationId": "functionsGetDeploymentDownload", "tags": [ "functions" @@ -10686,7 +10815,8 @@ }, "x-appwrite": { "method": "getDeploymentDownload", - "weight": 384, + "group": "deployments", + "weight": 383, "cookies": false, "type": "location", "deprecated": false, @@ -10775,7 +10905,8 @@ }, "x-appwrite": { "method": "updateDeploymentStatus", - "weight": 386, + "group": "deployments", + "weight": 385, "cookies": false, "type": "", "deprecated": false, @@ -10845,7 +10976,8 @@ }, "x-appwrite": { "method": "listExecutions", - "weight": 389, + "group": "executions", + "weight": 388, "cookies": false, "type": "", "deprecated": false, @@ -10919,7 +11051,8 @@ }, "x-appwrite": { "method": "createExecution", - "weight": 387, + "group": "executions", + "weight": 386, "cookies": false, "type": "", "deprecated": false, @@ -11033,7 +11166,8 @@ }, "x-appwrite": { "method": "getExecution", - "weight": 388, + "group": "executions", + "weight": 387, "cookies": false, "type": "", "deprecated": false, @@ -11097,7 +11231,8 @@ }, "x-appwrite": { "method": "deleteExecution", - "weight": 390, + "group": "executions", + "weight": 389, "cookies": false, "type": "", "deprecated": false, @@ -11167,7 +11302,8 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 391, + "group": null, + "weight": 390, "cookies": false, "type": "", "deprecated": false, @@ -11248,7 +11384,8 @@ }, "x-appwrite": { "method": "listVariables", - "weight": 395, + "group": "variables", + "weight": 394, "cookies": false, "type": "", "deprecated": false, @@ -11306,7 +11443,8 @@ }, "x-appwrite": { "method": "createVariable", - "weight": 393, + "group": "variables", + "weight": 392, "cookies": false, "type": "", "deprecated": false, @@ -11396,7 +11534,8 @@ }, "x-appwrite": { "method": "getVariable", - "weight": 394, + "group": "variables", + "weight": 393, "cookies": false, "type": "", "deprecated": false, @@ -11464,7 +11603,8 @@ }, "x-appwrite": { "method": "updateVariable", - "weight": 396, + "group": "variables", + "weight": 395, "cookies": false, "type": "", "deprecated": false, @@ -11554,7 +11694,8 @@ }, "x-appwrite": { "method": "deleteVariable", - "weight": 397, + "group": "variables", + "weight": 396, "cookies": false, "type": "", "deprecated": false, @@ -11624,7 +11765,8 @@ }, "x-appwrite": { "method": "query", - "weight": 303, + "group": "graphql", + "weight": 302, "cookies": false, "type": "graphql", "deprecated": false, @@ -11675,7 +11817,8 @@ }, "x-appwrite": { "method": "mutation", - "weight": 302, + "group": "graphql", + "weight": 301, "cookies": false, "type": "graphql", "deprecated": false, @@ -11726,6 +11869,7 @@ }, "x-appwrite": { "method": "get", + "group": "health", "weight": 126, "cookies": false, "type": "", @@ -11774,7 +11918,8 @@ }, "x-appwrite": { "method": "getAntivirus", - "weight": 148, + "group": "health", + "weight": 147, "cookies": false, "type": "", "deprecated": false, @@ -11822,6 +11967,7 @@ }, "x-appwrite": { "method": "getCache", + "group": "health", "weight": 129, "cookies": false, "type": "", @@ -11870,6 +12016,7 @@ }, "x-appwrite": { "method": "getCertificate", + "group": "health", "weight": 134, "cookies": false, "type": "", @@ -11929,6 +12076,7 @@ }, "x-appwrite": { "method": "getDB", + "group": "health", "weight": 128, "cookies": false, "type": "", @@ -11977,6 +12125,7 @@ }, "x-appwrite": { "method": "getPubSub", + "group": "health", "weight": 130, "cookies": false, "type": "", @@ -12025,6 +12174,7 @@ }, "x-appwrite": { "method": "getQueueBuilds", + "group": "queue", "weight": 136, "cookies": false, "type": "", @@ -12086,6 +12236,7 @@ }, "x-appwrite": { "method": "getQueueCertificates", + "group": "queue", "weight": 135, "cookies": false, "type": "", @@ -12147,6 +12298,7 @@ }, "x-appwrite": { "method": "getQueueDatabases", + "group": "queue", "weight": 137, "cookies": false, "type": "", @@ -12219,6 +12371,7 @@ }, "x-appwrite": { "method": "getQueueDeletes", + "group": "queue", "weight": 138, "cookies": false, "type": "", @@ -12280,7 +12433,8 @@ }, "x-appwrite": { "method": "getFailedJobs", - "weight": 149, + "group": "queue", + "weight": 148, "cookies": false, "type": "", "deprecated": false, @@ -12320,7 +12474,6 @@ "v1-functions", "v1-stats-resources", "v1-stats-usage", - "v1-stats-usage-dump", "v1-webhooks", "v1-certificates", "v1-builds", @@ -12368,6 +12521,7 @@ }, "x-appwrite": { "method": "getQueueFunctions", + "group": "queue", "weight": 142, "cookies": false, "type": "", @@ -12429,6 +12583,7 @@ }, "x-appwrite": { "method": "getQueueLogs", + "group": "queue", "weight": 133, "cookies": false, "type": "", @@ -12490,6 +12645,7 @@ }, "x-appwrite": { "method": "getQueueMails", + "group": "queue", "weight": 139, "cookies": false, "type": "", @@ -12551,6 +12707,7 @@ }, "x-appwrite": { "method": "getQueueMessaging", + "group": "queue", "weight": 140, "cookies": false, "type": "", @@ -12612,6 +12769,7 @@ }, "x-appwrite": { "method": "getQueueMigrations", + "group": "queue", "weight": 141, "cookies": false, "type": "", @@ -12673,6 +12831,7 @@ }, "x-appwrite": { "method": "getQueueStatsResources", + "group": "queue", "weight": 143, "cookies": false, "type": "", @@ -12734,6 +12893,7 @@ }, "x-appwrite": { "method": "getQueueUsage", + "group": "queue", "weight": 144, "cookies": false, "type": "", @@ -12773,67 +12933,6 @@ ] } }, - "\/health\/queue\/stats-usage-dump": { - "get": { - "summary": "Get usage dump queue", - "operationId": "healthGetQueueStatsUsageDump", - "tags": [ - "health" - ], - "description": "Get the number of projects containing metrics that are waiting to be processed in the Appwrite internal queue server.", - "responses": { - "200": { - "description": "Health Queue", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/healthQueue" - } - } - } - } - }, - "x-appwrite": { - "method": "getQueueStatsUsageDump", - "weight": 145, - "cookies": false, - "type": "", - "deprecated": false, - "demo": "health\/get-queue-stats-usage-dump.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-usage-dump.md", - "rate-limit": 0, - "rate-time": 3600, - "rate-key": "url:{url},ip:{ip}", - "scope": "health.read", - "platforms": [ - "server" - ], - "packaging": false, - "auth": { - "Project": [] - } - }, - "security": [ - { - "Project": [], - "Key": [] - } - ], - "parameters": [ - { - "name": "threshold", - "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", - "required": false, - "schema": { - "type": "integer", - "format": "int32", - "default": 5000 - }, - "in": "query" - } - ] - } - }, "\/health\/queue\/webhooks": { "get": { "summary": "Get webhooks queue", @@ -12856,6 +12955,7 @@ }, "x-appwrite": { "method": "getQueueWebhooks", + "group": "queue", "weight": 132, "cookies": false, "type": "", @@ -12917,7 +13017,8 @@ }, "x-appwrite": { "method": "getStorage", - "weight": 147, + "group": "storage", + "weight": 146, "cookies": false, "type": "", "deprecated": false, @@ -12965,7 +13066,8 @@ }, "x-appwrite": { "method": "getStorageLocal", - "weight": 146, + "group": "storage", + "weight": 145, "cookies": false, "type": "", "deprecated": false, @@ -13013,6 +13115,7 @@ }, "x-appwrite": { "method": "getTime", + "group": "health", "weight": 131, "cookies": false, "type": "", @@ -13061,6 +13164,7 @@ }, "x-appwrite": { "method": "get", + "group": null, "weight": 118, "cookies": false, "type": "", @@ -13112,6 +13216,7 @@ }, "x-appwrite": { "method": "listCodes", + "group": null, "weight": 119, "cookies": false, "type": "", @@ -13163,6 +13268,7 @@ }, "x-appwrite": { "method": "listContinents", + "group": null, "weight": 123, "cookies": false, "type": "", @@ -13214,6 +13320,7 @@ }, "x-appwrite": { "method": "listCountries", + "group": null, "weight": 120, "cookies": false, "type": "", @@ -13265,6 +13372,7 @@ }, "x-appwrite": { "method": "listCountriesEU", + "group": null, "weight": 121, "cookies": false, "type": "", @@ -13316,6 +13424,7 @@ }, "x-appwrite": { "method": "listCountriesPhones", + "group": null, "weight": 122, "cookies": false, "type": "", @@ -13367,6 +13476,7 @@ }, "x-appwrite": { "method": "listCurrencies", + "group": null, "weight": 124, "cookies": false, "type": "", @@ -13418,6 +13528,7 @@ }, "x-appwrite": { "method": "listLanguages", + "group": null, "weight": 125, "cookies": false, "type": "", @@ -13469,7 +13580,8 @@ }, "x-appwrite": { "method": "listMessages", - "weight": 357, + "group": "messages", + "weight": 356, "cookies": false, "type": "", "deprecated": false, @@ -13544,7 +13656,8 @@ }, "x-appwrite": { "method": "createEmail", - "weight": 354, + "group": "messages", + "weight": 353, "cookies": false, "type": "", "deprecated": false, @@ -13687,7 +13800,8 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 361, + "group": "messages", + "weight": 360, "cookies": false, "type": "", "deprecated": false, @@ -13832,7 +13946,8 @@ }, "x-appwrite": { "method": "createPush", - "weight": 356, + "group": "messages", + "weight": 355, "cookies": false, "type": "", "deprecated": false, @@ -14005,7 +14120,8 @@ }, "x-appwrite": { "method": "updatePush", - "weight": 363, + "group": "messages", + "weight": 362, "cookies": false, "type": "", "deprecated": false, @@ -14182,7 +14298,8 @@ }, "x-appwrite": { "method": "createSms", - "weight": 355, + "group": "messages", + "weight": 354, "cookies": false, "type": "", "deprecated": false, @@ -14290,7 +14407,8 @@ }, "x-appwrite": { "method": "updateSms", - "weight": 362, + "group": "messages", + "weight": 361, "cookies": false, "type": "", "deprecated": false, @@ -14401,7 +14519,8 @@ }, "x-appwrite": { "method": "getMessage", - "weight": 360, + "group": "messages", + "weight": 359, "cookies": false, "type": "", "deprecated": false, @@ -14453,7 +14572,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 364, + "group": "messages", + "weight": 363, "cookies": false, "type": "", "deprecated": false, @@ -14514,7 +14634,8 @@ }, "x-appwrite": { "method": "listMessageLogs", - "weight": 358, + "group": "logs", + "weight": 357, "cookies": false, "type": "", "deprecated": false, @@ -14588,7 +14709,8 @@ }, "x-appwrite": { "method": "listTargets", - "weight": 359, + "group": "messages", + "weight": 358, "cookies": false, "type": "", "deprecated": false, @@ -14662,7 +14784,8 @@ }, "x-appwrite": { "method": "listProviders", - "weight": 329, + "group": "providers", + "weight": 328, "cookies": false, "type": "", "deprecated": false, @@ -14737,7 +14860,8 @@ }, "x-appwrite": { "method": "createApnsProvider", - "weight": 328, + "group": "providers", + "weight": 327, "cookies": false, "type": "", "deprecated": false, @@ -14841,7 +14965,8 @@ }, "x-appwrite": { "method": "updateApnsProvider", - "weight": 341, + "group": "providers", + "weight": 340, "cookies": false, "type": "", "deprecated": false, @@ -14948,7 +15073,8 @@ }, "x-appwrite": { "method": "createFcmProvider", - "weight": 327, + "group": "providers", + "weight": 326, "cookies": false, "type": "", "deprecated": false, @@ -15032,7 +15158,8 @@ }, "x-appwrite": { "method": "updateFcmProvider", - "weight": 340, + "group": "providers", + "weight": 339, "cookies": false, "type": "", "deprecated": false, @@ -15119,7 +15246,8 @@ }, "x-appwrite": { "method": "createMailgunProvider", - "weight": 319, + "group": "providers", + "weight": 318, "cookies": false, "type": "", "deprecated": false, @@ -15233,7 +15361,8 @@ }, "x-appwrite": { "method": "updateMailgunProvider", - "weight": 332, + "group": "providers", + "weight": 331, "cookies": false, "type": "", "deprecated": false, @@ -15350,7 +15479,8 @@ }, "x-appwrite": { "method": "createMsg91Provider", - "weight": 322, + "group": "providers", + "weight": 321, "cookies": false, "type": "", "deprecated": false, @@ -15444,7 +15574,8 @@ }, "x-appwrite": { "method": "updateMsg91Provider", - "weight": 335, + "group": "providers", + "weight": 334, "cookies": false, "type": "", "deprecated": false, @@ -15541,7 +15672,8 @@ }, "x-appwrite": { "method": "createSendgridProvider", - "weight": 320, + "group": "providers", + "weight": 319, "cookies": false, "type": "", "deprecated": false, @@ -15645,7 +15777,8 @@ }, "x-appwrite": { "method": "updateSendgridProvider", - "weight": 333, + "group": "providers", + "weight": 332, "cookies": false, "type": "", "deprecated": false, @@ -15752,7 +15885,8 @@ }, "x-appwrite": { "method": "createSmtpProvider", - "weight": 321, + "group": "providers", + "weight": 320, "cookies": false, "type": "", "deprecated": false, @@ -15894,7 +16028,8 @@ }, "x-appwrite": { "method": "updateSmtpProvider", - "weight": 334, + "group": "providers", + "weight": 333, "cookies": false, "type": "", "deprecated": false, @@ -16038,7 +16173,8 @@ }, "x-appwrite": { "method": "createTelesignProvider", - "weight": 323, + "group": "providers", + "weight": 322, "cookies": false, "type": "", "deprecated": false, @@ -16132,7 +16268,8 @@ }, "x-appwrite": { "method": "updateTelesignProvider", - "weight": 336, + "group": "providers", + "weight": 335, "cookies": false, "type": "", "deprecated": false, @@ -16229,7 +16366,8 @@ }, "x-appwrite": { "method": "createTextmagicProvider", - "weight": 324, + "group": "providers", + "weight": 323, "cookies": false, "type": "", "deprecated": false, @@ -16323,7 +16461,8 @@ }, "x-appwrite": { "method": "updateTextmagicProvider", - "weight": 337, + "group": "providers", + "weight": 336, "cookies": false, "type": "", "deprecated": false, @@ -16420,7 +16559,8 @@ }, "x-appwrite": { "method": "createTwilioProvider", - "weight": 325, + "group": "providers", + "weight": 324, "cookies": false, "type": "", "deprecated": false, @@ -16514,7 +16654,8 @@ }, "x-appwrite": { "method": "updateTwilioProvider", - "weight": 338, + "group": "providers", + "weight": 337, "cookies": false, "type": "", "deprecated": false, @@ -16611,7 +16752,8 @@ }, "x-appwrite": { "method": "createVonageProvider", - "weight": 326, + "group": "providers", + "weight": 325, "cookies": false, "type": "", "deprecated": false, @@ -16705,7 +16847,8 @@ }, "x-appwrite": { "method": "updateVonageProvider", - "weight": 339, + "group": "providers", + "weight": 338, "cookies": false, "type": "", "deprecated": false, @@ -16802,7 +16945,8 @@ }, "x-appwrite": { "method": "getProvider", - "weight": 331, + "group": "providers", + "weight": 330, "cookies": false, "type": "", "deprecated": false, @@ -16854,7 +16998,8 @@ }, "x-appwrite": { "method": "deleteProvider", - "weight": 342, + "group": "providers", + "weight": 341, "cookies": false, "type": "", "deprecated": false, @@ -16915,7 +17060,8 @@ }, "x-appwrite": { "method": "listProviderLogs", - "weight": 330, + "group": "providers", + "weight": 329, "cookies": false, "type": "", "deprecated": false, @@ -16989,7 +17135,8 @@ }, "x-appwrite": { "method": "listSubscriberLogs", - "weight": 351, + "group": "subscribers", + "weight": 350, "cookies": false, "type": "", "deprecated": false, @@ -17063,7 +17210,8 @@ }, "x-appwrite": { "method": "listTopics", - "weight": 344, + "group": "topics", + "weight": 343, "cookies": false, "type": "", "deprecated": false, @@ -17136,7 +17284,8 @@ }, "x-appwrite": { "method": "createTopic", - "weight": 343, + "group": "topics", + "weight": 342, "cookies": false, "type": "", "deprecated": false, @@ -17218,7 +17367,8 @@ }, "x-appwrite": { "method": "getTopic", - "weight": 346, + "group": "topics", + "weight": 345, "cookies": false, "type": "", "deprecated": false, @@ -17277,7 +17427,8 @@ }, "x-appwrite": { "method": "updateTopic", - "weight": 347, + "group": "topics", + "weight": 346, "cookies": false, "type": "", "deprecated": false, @@ -17353,7 +17504,8 @@ }, "x-appwrite": { "method": "deleteTopic", - "weight": 348, + "group": "topics", + "weight": 347, "cookies": false, "type": "", "deprecated": false, @@ -17414,7 +17566,8 @@ }, "x-appwrite": { "method": "listTopicLogs", - "weight": 345, + "group": "topics", + "weight": 344, "cookies": false, "type": "", "deprecated": false, @@ -17488,7 +17641,8 @@ }, "x-appwrite": { "method": "listSubscribers", - "weight": 350, + "group": "subscribers", + "weight": 349, "cookies": false, "type": "", "deprecated": false, @@ -17571,7 +17725,8 @@ }, "x-appwrite": { "method": "createSubscriber", - "weight": 349, + "group": "subscribers", + "weight": 348, "cookies": false, "type": "", "deprecated": false, @@ -17660,7 +17815,8 @@ }, "x-appwrite": { "method": "getSubscriber", - "weight": 352, + "group": "subscribers", + "weight": 351, "cookies": false, "type": "", "deprecated": false, @@ -17722,7 +17878,8 @@ }, "x-appwrite": { "method": "deleteSubscriber", - "weight": 353, + "group": "subscribers", + "weight": 352, "cookies": false, "type": "", "deprecated": false, @@ -17796,7 +17953,8 @@ }, "x-appwrite": { "method": "list", - "weight": 311, + "group": null, + "weight": 310, "cookies": false, "type": "", "deprecated": false, @@ -17849,7 +18007,7 @@ }, "\/migrations\/appwrite": { "post": { - "summary": "Migrate Appwrite data", + "summary": "Create Appwrite migration", "operationId": "migrationsCreateAppwriteMigration", "tags": [ "migrations" @@ -17869,7 +18027,8 @@ }, "x-appwrite": { "method": "createAppwriteMigration", - "weight": 306, + "group": null, + "weight": 305, "cookies": false, "type": "", "deprecated": false, @@ -17936,7 +18095,7 @@ }, "\/migrations\/appwrite\/report": { "get": { - "summary": "Generate a report on Appwrite data", + "summary": "Get Appwrite migration report", "operationId": "migrationsGetAppwriteReport", "tags": [ "migrations" @@ -17956,7 +18115,8 @@ }, "x-appwrite": { "method": "getAppwriteReport", - "weight": 313, + "group": null, + "weight": 312, "cookies": false, "type": "", "deprecated": false, @@ -18048,7 +18208,8 @@ }, "x-appwrite": { "method": "createCsvMigration", - "weight": 310, + "group": null, + "weight": 309, "cookies": false, "type": "", "deprecated": false, @@ -18106,7 +18267,7 @@ }, "\/migrations\/firebase": { "post": { - "summary": "Migrate Firebase data", + "summary": "Create Firebase migration", "operationId": "migrationsCreateFirebaseMigration", "tags": [ "migrations" @@ -18126,7 +18287,8 @@ }, "x-appwrite": { "method": "createFirebaseMigration", - "weight": 307, + "group": null, + "weight": 306, "cookies": false, "type": "", "deprecated": false, @@ -18181,7 +18343,7 @@ }, "\/migrations\/firebase\/report": { "get": { - "summary": "Generate a report on Firebase data", + "summary": "Get Firebase migration report", "operationId": "migrationsGetFirebaseReport", "tags": [ "migrations" @@ -18201,7 +18363,8 @@ }, "x-appwrite": { "method": "getFirebaseReport", - "weight": 314, + "group": null, + "weight": 313, "cookies": false, "type": "", "deprecated": false, @@ -18252,7 +18415,7 @@ }, "\/migrations\/nhost": { "post": { - "summary": "Migrate NHost data", + "summary": "Create NHost migration", "operationId": "migrationsCreateNHostMigration", "tags": [ "migrations" @@ -18272,7 +18435,8 @@ }, "x-appwrite": { "method": "createNHostMigration", - "weight": 309, + "group": null, + "weight": 308, "cookies": false, "type": "", "deprecated": false, @@ -18362,7 +18526,7 @@ }, "\/migrations\/nhost\/report": { "get": { - "summary": "Generate a report on NHost Data", + "summary": "Get NHost migration report", "operationId": "migrationsGetNHostReport", "tags": [ "migrations" @@ -18382,7 +18546,8 @@ }, "x-appwrite": { "method": "getNHostReport", - "weight": 316, + "group": null, + "weight": 315, "cookies": false, "type": "", "deprecated": false, @@ -18494,7 +18659,7 @@ }, "\/migrations\/supabase": { "post": { - "summary": "Migrate Supabase data", + "summary": "Create Supabase migration", "operationId": "migrationsCreateSupabaseMigration", "tags": [ "migrations" @@ -18514,7 +18679,8 @@ }, "x-appwrite": { "method": "createSupabaseMigration", - "weight": 308, + "group": null, + "weight": 307, "cookies": false, "type": "", "deprecated": false, @@ -18598,7 +18764,7 @@ }, "\/migrations\/supabase\/report": { "get": { - "summary": "Generate a report on Supabase Data", + "summary": "Get Supabase migration report", "operationId": "migrationsGetSupabaseReport", "tags": [ "migrations" @@ -18618,7 +18784,8 @@ }, "x-appwrite": { "method": "getSupabaseReport", - "weight": 315, + "group": null, + "weight": 314, "cookies": false, "type": "", "deprecated": false, @@ -18741,7 +18908,8 @@ }, "x-appwrite": { "method": "get", - "weight": 312, + "group": null, + "weight": 311, "cookies": false, "type": "", "deprecated": false, @@ -18778,7 +18946,7 @@ ] }, "patch": { - "summary": "Retry migration", + "summary": "Update retry migration", "operationId": "migrationsRetry", "tags": [ "migrations" @@ -18798,7 +18966,8 @@ }, "x-appwrite": { "method": "retry", - "weight": 317, + "group": null, + "weight": 316, "cookies": false, "type": "", "deprecated": false, @@ -18848,7 +19017,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 318, + "group": null, + "weight": 317, "cookies": false, "type": "", "deprecated": false, @@ -18907,7 +19077,8 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 197, + "group": null, + "weight": 196, "cookies": false, "type": "", "deprecated": false, @@ -18994,7 +19165,8 @@ }, "x-appwrite": { "method": "listVariables", - "weight": 199, + "group": null, + "weight": 198, "cookies": false, "type": "", "deprecated": false, @@ -19039,7 +19211,8 @@ }, "x-appwrite": { "method": "createVariable", - "weight": 198, + "group": null, + "weight": 197, "cookies": false, "type": "", "deprecated": false, @@ -19116,7 +19289,8 @@ }, "x-appwrite": { "method": "getVariable", - "weight": 200, + "group": null, + "weight": 199, "cookies": false, "type": "", "deprecated": false, @@ -19173,7 +19347,8 @@ }, "x-appwrite": { "method": "updateVariable", - "weight": 201, + "group": null, + "weight": 200, "cookies": false, "type": "", "deprecated": false, @@ -19252,7 +19427,8 @@ }, "x-appwrite": { "method": "deleteVariable", - "weight": 202, + "group": null, + "weight": 201, "cookies": false, "type": "", "deprecated": false, @@ -19311,7 +19487,8 @@ }, "x-appwrite": { "method": "list", - "weight": 152, + "group": "projects", + "weight": 151, "cookies": false, "type": "", "deprecated": false, @@ -19382,7 +19559,8 @@ }, "x-appwrite": { "method": "create", - "weight": 151, + "group": "projects", + "weight": 150, "cookies": false, "type": "", "deprecated": false, @@ -19515,7 +19693,8 @@ }, "x-appwrite": { "method": "get", - "weight": 153, + "group": "projects", + "weight": 152, "cookies": false, "type": "", "deprecated": false, @@ -19572,7 +19751,8 @@ }, "x-appwrite": { "method": "update", - "weight": 154, + "group": "projects", + "weight": 153, "cookies": false, "type": "", "deprecated": false, @@ -19686,7 +19866,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 171, + "group": "projects", + "weight": 170, "cookies": false, "type": "", "deprecated": false, @@ -19745,7 +19926,8 @@ }, "x-appwrite": { "method": "updateApiStatus", - "weight": 158, + "group": "projects", + "weight": 157, "cookies": false, "type": "", "deprecated": false, @@ -19836,7 +20018,8 @@ }, "x-appwrite": { "method": "updateApiStatusAll", - "weight": 159, + "group": "projects", + "weight": 158, "cookies": false, "type": "", "deprecated": false, @@ -19914,7 +20097,8 @@ }, "x-appwrite": { "method": "updateAuthDuration", - "weight": 164, + "group": "auth", + "weight": 163, "cookies": false, "type": "", "deprecated": false, @@ -19992,7 +20176,8 @@ }, "x-appwrite": { "method": "updateAuthLimit", - "weight": 163, + "group": "auth", + "weight": 162, "cookies": false, "type": "", "deprecated": false, @@ -20070,7 +20255,8 @@ }, "x-appwrite": { "method": "updateAuthSessionsLimit", - "weight": 169, + "group": "auth", + "weight": 168, "cookies": false, "type": "", "deprecated": false, @@ -20148,7 +20334,8 @@ }, "x-appwrite": { "method": "updateMembershipsPrivacy", - "weight": 162, + "group": "auth", + "weight": 161, "cookies": false, "type": "", "deprecated": false, @@ -20238,7 +20425,8 @@ }, "x-appwrite": { "method": "updateMockNumbers", - "weight": 170, + "group": "auth", + "weight": 169, "cookies": false, "type": "", "deprecated": false, @@ -20319,7 +20507,8 @@ }, "x-appwrite": { "method": "updateAuthPasswordDictionary", - "weight": 167, + "group": "auth", + "weight": 166, "cookies": false, "type": "", "deprecated": false, @@ -20397,7 +20586,8 @@ }, "x-appwrite": { "method": "updateAuthPasswordHistory", - "weight": 166, + "group": "auth", + "weight": 165, "cookies": false, "type": "", "deprecated": false, @@ -20455,7 +20645,7 @@ }, "\/projects\/{projectId}\/auth\/personal-data": { "patch": { - "summary": "Enable or disable checking user passwords for similarity with their personal data.", + "summary": "Update personal data check", "operationId": "projectsUpdatePersonalDataCheck", "tags": [ "projects" @@ -20475,7 +20665,8 @@ }, "x-appwrite": { "method": "updatePersonalDataCheck", - "weight": 168, + "group": "auth", + "weight": 167, "cookies": false, "type": "", "deprecated": false, @@ -20553,7 +20744,8 @@ }, "x-appwrite": { "method": "updateSessionAlerts", - "weight": 161, + "group": "auth", + "weight": 160, "cookies": false, "type": "", "deprecated": false, @@ -20631,7 +20823,8 @@ }, "x-appwrite": { "method": "updateAuthStatus", - "weight": 165, + "group": "auth", + "weight": 164, "cookies": false, "type": "", "deprecated": false, @@ -20730,7 +20923,8 @@ }, "x-appwrite": { "method": "listDevKeys", - "weight": 368, + "group": "devKeys", + "weight": 367, "cookies": false, "type": "", "deprecated": false, @@ -20808,7 +21002,8 @@ }, "x-appwrite": { "method": "createDevKey", - "weight": 365, + "group": "devKeys", + "weight": 364, "cookies": false, "type": "", "deprecated": false, @@ -20892,7 +21087,8 @@ }, "x-appwrite": { "method": "getDevKey", - "weight": 367, + "group": "devKeys", + "weight": 366, "cookies": false, "type": "", "deprecated": false, @@ -20959,7 +21155,8 @@ }, "x-appwrite": { "method": "updateDevKey", - "weight": 366, + "group": "devKeys", + "weight": 365, "cookies": false, "type": "", "deprecated": false, @@ -21044,7 +21241,8 @@ }, "x-appwrite": { "method": "deleteDevKey", - "weight": 369, + "group": "devKeys", + "weight": 368, "cookies": false, "type": "", "deprecated": false, @@ -21113,7 +21311,8 @@ }, "x-appwrite": { "method": "createJWT", - "weight": 183, + "group": "auth", + "weight": 182, "cookies": false, "type": "", "deprecated": false, @@ -21199,7 +21398,8 @@ }, "x-appwrite": { "method": "listKeys", - "weight": 179, + "group": "keys", + "weight": 178, "cookies": false, "type": "", "deprecated": false, @@ -21256,7 +21456,8 @@ }, "x-appwrite": { "method": "createKey", - "weight": 178, + "group": "keys", + "weight": 177, "cookies": false, "type": "", "deprecated": false, @@ -21348,7 +21549,8 @@ }, "x-appwrite": { "method": "getKey", - "weight": 180, + "group": "keys", + "weight": 179, "cookies": false, "type": "", "deprecated": false, @@ -21415,7 +21617,8 @@ }, "x-appwrite": { "method": "updateKey", - "weight": 181, + "group": "keys", + "weight": 180, "cookies": false, "type": "", "deprecated": false, @@ -21508,7 +21711,8 @@ }, "x-appwrite": { "method": "deleteKey", - "weight": 182, + "group": "keys", + "weight": 181, "cookies": false, "type": "", "deprecated": false, @@ -21577,7 +21781,8 @@ }, "x-appwrite": { "method": "updateOAuth2", - "weight": 160, + "group": "auth", + "weight": 159, "cookies": false, "type": "", "deprecated": false, @@ -21637,6 +21842,7 @@ "dropbox", "etsy", "facebook", + "figma", "github", "gitlab", "google", @@ -21713,7 +21919,8 @@ }, "x-appwrite": { "method": "listPlatforms", - "weight": 185, + "group": "platforms", + "weight": 184, "cookies": false, "type": "", "deprecated": false, @@ -21770,7 +21977,8 @@ }, "x-appwrite": { "method": "createPlatform", - "weight": 184, + "group": "platforms", + "weight": 183, "cookies": false, "type": "", "deprecated": false, @@ -21888,7 +22096,8 @@ }, "x-appwrite": { "method": "getPlatform", - "weight": 186, + "group": "platforms", + "weight": 185, "cookies": false, "type": "", "deprecated": false, @@ -21955,7 +22164,8 @@ }, "x-appwrite": { "method": "updatePlatform", - "weight": 187, + "group": "platforms", + "weight": 186, "cookies": false, "type": "", "deprecated": false, @@ -22049,7 +22259,8 @@ }, "x-appwrite": { "method": "deletePlatform", - "weight": 188, + "group": "platforms", + "weight": 187, "cookies": false, "type": "", "deprecated": false, @@ -22118,7 +22329,8 @@ }, "x-appwrite": { "method": "updateServiceStatus", - "weight": 156, + "group": "projects", + "weight": 155, "cookies": false, "type": "", "deprecated": false, @@ -22218,7 +22430,8 @@ }, "x-appwrite": { "method": "updateServiceStatusAll", - "weight": 157, + "group": "projects", + "weight": 156, "cookies": false, "type": "", "deprecated": false, @@ -22296,7 +22509,8 @@ }, "x-appwrite": { "method": "updateSmtp", - "weight": 189, + "group": "templates", + "weight": 188, "cookies": false, "type": "", "deprecated": false, @@ -22413,7 +22627,8 @@ }, "x-appwrite": { "method": "createSmtpTest", - "weight": 190, + "group": "templates", + "weight": 189, "cookies": false, "type": "", "deprecated": false, @@ -22543,7 +22758,8 @@ }, "x-appwrite": { "method": "updateTeam", - "weight": 155, + "group": "projects", + "weight": 154, "cookies": false, "type": "", "deprecated": false, @@ -22621,7 +22837,8 @@ }, "x-appwrite": { "method": "getEmailTemplate", - "weight": 192, + "group": "templates", + "weight": 191, "cookies": false, "type": "", "deprecated": false, @@ -22844,7 +23061,8 @@ }, "x-appwrite": { "method": "updateEmailTemplate", - "weight": 194, + "group": "templates", + "weight": 193, "cookies": false, "type": "", "deprecated": false, @@ -23087,7 +23305,7 @@ } }, "delete": { - "summary": "Reset custom email template", + "summary": "Delete custom email template", "operationId": "projectsDeleteEmailTemplate", "tags": [ "projects" @@ -23107,7 +23325,8 @@ }, "x-appwrite": { "method": "deleteEmailTemplate", - "weight": 196, + "group": "templates", + "weight": 195, "cookies": false, "type": "", "deprecated": false, @@ -23332,7 +23551,8 @@ }, "x-appwrite": { "method": "getSmsTemplate", - "weight": 191, + "group": "templates", + "weight": 190, "cookies": false, "type": "", "deprecated": false, @@ -23552,7 +23772,8 @@ }, "x-appwrite": { "method": "updateSmsTemplate", - "weight": 193, + "group": "templates", + "weight": 192, "cookies": false, "type": "", "deprecated": false, @@ -23791,7 +24012,8 @@ }, "x-appwrite": { "method": "deleteSmsTemplate", - "weight": 195, + "group": "templates", + "weight": 194, "cookies": false, "type": "", "deprecated": false, @@ -24013,7 +24235,8 @@ }, "x-appwrite": { "method": "listWebhooks", - "weight": 173, + "group": "webhooks", + "weight": 172, "cookies": false, "type": "", "deprecated": false, @@ -24070,7 +24293,8 @@ }, "x-appwrite": { "method": "createWebhook", - "weight": 172, + "group": "webhooks", + "weight": 171, "cookies": false, "type": "", "deprecated": false, @@ -24184,7 +24408,8 @@ }, "x-appwrite": { "method": "getWebhook", - "weight": 174, + "group": "webhooks", + "weight": 173, "cookies": false, "type": "", "deprecated": false, @@ -24251,7 +24476,8 @@ }, "x-appwrite": { "method": "updateWebhook", - "weight": 175, + "group": "webhooks", + "weight": 174, "cookies": false, "type": "", "deprecated": false, @@ -24366,7 +24592,8 @@ }, "x-appwrite": { "method": "deleteWebhook", - "weight": 177, + "group": "webhooks", + "weight": 176, "cookies": false, "type": "", "deprecated": false, @@ -24435,7 +24662,8 @@ }, "x-appwrite": { "method": "updateWebhookSignature", - "weight": 176, + "group": "webhooks", + "weight": 175, "cookies": false, "type": "", "deprecated": false, @@ -24504,7 +24732,8 @@ }, "x-appwrite": { "method": "listRules", - "weight": 289, + "group": null, + "weight": 288, "cookies": false, "type": "", "deprecated": false, @@ -24577,7 +24806,8 @@ }, "x-appwrite": { "method": "createAPIRule", - "weight": 430, + "group": null, + "weight": 429, "cookies": false, "type": "", "deprecated": false, @@ -24643,7 +24873,8 @@ }, "x-appwrite": { "method": "createFunctionRule", - "weight": 432, + "group": null, + "weight": 431, "cookies": false, "type": "", "deprecated": false, @@ -24720,7 +24951,8 @@ }, "x-appwrite": { "method": "createRedirectRule", - "weight": 433, + "group": null, + "weight": 432, "cookies": false, "type": "", "deprecated": false, @@ -24811,7 +25043,8 @@ }, "x-appwrite": { "method": "createSiteRule", - "weight": 431, + "group": null, + "weight": 430, "cookies": false, "type": "", "deprecated": false, @@ -24888,7 +25121,8 @@ }, "x-appwrite": { "method": "getRule", - "weight": 290, + "group": null, + "weight": 289, "cookies": false, "type": "", "deprecated": false, @@ -24938,7 +25172,8 @@ }, "x-appwrite": { "method": "deleteRule", - "weight": 291, + "group": null, + "weight": 290, "cookies": false, "type": "", "deprecated": false, @@ -24997,7 +25232,8 @@ }, "x-appwrite": { "method": "updateRuleVerification", - "weight": 292, + "group": null, + "weight": 291, "cookies": false, "type": "", "deprecated": false, @@ -25056,7 +25292,8 @@ }, "x-appwrite": { "method": "list", - "weight": 402, + "group": "sites", + "weight": 401, "cookies": false, "type": "", "deprecated": false, @@ -25125,7 +25362,8 @@ }, "x-appwrite": { "method": "create", - "weight": 400, + "group": "sites", + "weight": 399, "cookies": false, "type": "", "deprecated": false, @@ -25370,7 +25608,8 @@ }, "x-appwrite": { "method": "listFrameworks", - "weight": 405, + "group": "frameworks", + "weight": 404, "cookies": false, "type": "", "deprecated": false, @@ -25418,7 +25657,8 @@ }, "x-appwrite": { "method": "listSpecifications", - "weight": 428, + "group": "frameworks", + "weight": 427, "cookies": false, "type": "", "deprecated": false, @@ -25467,7 +25707,8 @@ }, "x-appwrite": { "method": "listTemplates", - "weight": 424, + "group": "templates", + "weight": 423, "cookies": false, "type": "", "deprecated": false, @@ -25566,7 +25807,8 @@ }, "x-appwrite": { "method": "getTemplate", - "weight": 425, + "group": "templates", + "weight": 424, "cookies": false, "type": "", "deprecated": false, @@ -25625,7 +25867,8 @@ }, "x-appwrite": { "method": "listUsage", - "weight": 426, + "group": null, + "weight": 425, "cookies": false, "type": "", "deprecated": false, @@ -25696,7 +25939,8 @@ }, "x-appwrite": { "method": "get", - "weight": 401, + "group": "sites", + "weight": 400, "cookies": false, "type": "", "deprecated": false, @@ -25754,7 +25998,8 @@ }, "x-appwrite": { "method": "update", - "weight": 403, + "group": "sites", + "weight": 402, "cookies": false, "type": "", "deprecated": false, @@ -25995,7 +26240,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 404, + "group": "sites", + "weight": 403, "cookies": false, "type": "", "deprecated": false, @@ -26055,7 +26301,8 @@ }, "x-appwrite": { "method": "updateSiteDeployment", - "weight": 411, + "group": "sites", + "weight": 410, "cookies": false, "type": "", "deprecated": false, @@ -26134,7 +26381,8 @@ }, "x-appwrite": { "method": "listDeployments", - "weight": 410, + "group": "deployments", + "weight": 409, "cookies": false, "type": "", "deprecated": false, @@ -26216,7 +26464,8 @@ }, "x-appwrite": { "method": "createDeployment", - "weight": 406, + "group": "deployments", + "weight": 405, "cookies": false, "type": "upload", "deprecated": false, @@ -26316,7 +26565,8 @@ }, "x-appwrite": { "method": "createDuplicateDeployment", - "weight": 414, + "group": "deployments", + "weight": 413, "cookies": false, "type": "", "deprecated": false, @@ -26395,7 +26645,8 @@ }, "x-appwrite": { "method": "createTemplateDeployment", - "weight": 407, + "group": "deployments", + "weight": 406, "cookies": false, "type": "", "deprecated": false, @@ -26497,7 +26748,8 @@ }, "x-appwrite": { "method": "createVcsDeployment", - "weight": 408, + "group": "deployments", + "weight": 407, "cookies": false, "type": "", "deprecated": false, @@ -26594,7 +26846,8 @@ }, "x-appwrite": { "method": "getDeployment", - "weight": 409, + "group": "deployments", + "weight": 408, "cookies": false, "type": "", "deprecated": false, @@ -26655,7 +26908,8 @@ }, "x-appwrite": { "method": "deleteDeployment", - "weight": 412, + "group": "deployments", + "weight": 411, "cookies": false, "type": "", "deprecated": false, @@ -26705,7 +26959,7 @@ }, "\/sites\/{siteId}\/deployments\/{deploymentId}\/download": { "get": { - "summary": "Download deployment", + "summary": "Get deployment download", "operationId": "sitesGetDeploymentDownload", "tags": [ "sites" @@ -26718,7 +26972,8 @@ }, "x-appwrite": { "method": "getDeploymentDownload", - "weight": 413, + "group": "deployments", + "weight": 412, "cookies": false, "type": "location", "deprecated": false, @@ -26807,7 +27062,8 @@ }, "x-appwrite": { "method": "updateDeploymentStatus", - "weight": 415, + "group": "deployments", + "weight": 414, "cookies": false, "type": "", "deprecated": false, @@ -26877,7 +27133,8 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 417, + "group": "logs", + "weight": 416, "cookies": false, "type": "", "deprecated": false, @@ -26947,7 +27204,8 @@ }, "x-appwrite": { "method": "getLog", - "weight": 416, + "group": "logs", + "weight": 415, "cookies": false, "type": "", "deprecated": false, @@ -27008,7 +27266,8 @@ }, "x-appwrite": { "method": "deleteLog", - "weight": 418, + "group": "logs", + "weight": 417, "cookies": false, "type": "", "deprecated": false, @@ -27078,7 +27337,8 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 427, + "group": null, + "weight": 426, "cookies": false, "type": "", "deprecated": false, @@ -27159,7 +27419,8 @@ }, "x-appwrite": { "method": "listVariables", - "weight": 421, + "group": "variables", + "weight": 420, "cookies": false, "type": "", "deprecated": false, @@ -27217,7 +27478,8 @@ }, "x-appwrite": { "method": "createVariable", - "weight": 419, + "group": "variables", + "weight": 418, "cookies": false, "type": "", "deprecated": false, @@ -27307,7 +27569,8 @@ }, "x-appwrite": { "method": "getVariable", - "weight": 420, + "group": "variables", + "weight": 419, "cookies": false, "type": "", "deprecated": false, @@ -27375,7 +27638,8 @@ }, "x-appwrite": { "method": "updateVariable", - "weight": 422, + "group": "variables", + "weight": 421, "cookies": false, "type": "", "deprecated": false, @@ -27465,7 +27729,8 @@ }, "x-appwrite": { "method": "deleteVariable", - "weight": 423, + "group": "variables", + "weight": 422, "cookies": false, "type": "", "deprecated": false, @@ -27535,7 +27800,8 @@ }, "x-appwrite": { "method": "listBuckets", - "weight": 204, + "group": "buckets", + "weight": 203, "cookies": false, "type": "", "deprecated": false, @@ -27607,7 +27873,8 @@ }, "x-appwrite": { "method": "createBucket", - "weight": 203, + "group": "buckets", + "weight": 202, "cookies": false, "type": "", "deprecated": false, @@ -27733,7 +28000,8 @@ }, "x-appwrite": { "method": "getBucket", - "weight": 205, + "group": "buckets", + "weight": 204, "cookies": false, "type": "", "deprecated": false, @@ -27791,7 +28059,8 @@ }, "x-appwrite": { "method": "updateBucket", - "weight": 206, + "group": "buckets", + "weight": 205, "cookies": false, "type": "", "deprecated": false, @@ -27914,7 +28183,8 @@ }, "x-appwrite": { "method": "deleteBucket", - "weight": 207, + "group": "buckets", + "weight": 206, "cookies": false, "type": "", "deprecated": false, @@ -27974,7 +28244,8 @@ }, "x-appwrite": { "method": "listFiles", - "weight": 209, + "group": "files", + "weight": 208, "cookies": false, "type": "", "deprecated": false, @@ -28059,7 +28330,8 @@ }, "x-appwrite": { "method": "createFile", - "weight": 208, + "group": "files", + "weight": 207, "cookies": false, "type": "upload", "deprecated": false, @@ -28156,7 +28428,8 @@ }, "x-appwrite": { "method": "getFile", - "weight": 210, + "group": "files", + "weight": 209, "cookies": false, "type": "", "deprecated": false, @@ -28227,7 +28500,8 @@ }, "x-appwrite": { "method": "updateFile", - "weight": 215, + "group": "files", + "weight": 214, "cookies": false, "type": "", "deprecated": false, @@ -28315,7 +28589,8 @@ }, "x-appwrite": { "method": "deleteFile", - "weight": 216, + "group": "files", + "weight": 215, "cookies": false, "type": "", "deprecated": false, @@ -28381,7 +28656,8 @@ }, "x-appwrite": { "method": "getFileDownload", - "weight": 212, + "group": "files", + "weight": 211, "cookies": false, "type": "location", "deprecated": false, @@ -28447,7 +28723,8 @@ }, "x-appwrite": { "method": "getFilePreview", - "weight": 211, + "group": "files", + "weight": 210, "cookies": false, "type": "location", "deprecated": false, @@ -28663,7 +28940,8 @@ }, "x-appwrite": { "method": "getFileView", - "weight": 213, + "group": "files", + "weight": 212, "cookies": false, "type": "location", "deprecated": false, @@ -28736,7 +29014,8 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 217, + "group": null, + "weight": 216, "cookies": false, "type": "", "deprecated": false, @@ -28807,7 +29086,8 @@ }, "x-appwrite": { "method": "getBucketUsage", - "weight": 218, + "group": null, + "weight": 217, "cookies": false, "type": "", "deprecated": false, @@ -28888,7 +29168,8 @@ }, "x-appwrite": { "method": "list", - "weight": 220, + "group": "teams", + "weight": 219, "cookies": false, "type": "", "deprecated": false, @@ -28963,7 +29244,8 @@ }, "x-appwrite": { "method": "create", - "weight": 219, + "group": "teams", + "weight": 218, "cookies": false, "type": "", "deprecated": false, @@ -29047,7 +29329,8 @@ }, "x-appwrite": { "method": "get", - "weight": 221, + "group": "teams", + "weight": 220, "cookies": false, "type": "", "deprecated": false, @@ -29108,7 +29391,8 @@ }, "x-appwrite": { "method": "updateName", - "weight": 223, + "group": "teams", + "weight": 222, "cookies": false, "type": "", "deprecated": false, @@ -29181,7 +29465,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 225, + "group": "teams", + "weight": 224, "cookies": false, "type": "", "deprecated": false, @@ -29244,7 +29529,8 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 232, + "group": "logs", + "weight": 231, "cookies": false, "type": "", "deprecated": false, @@ -29316,7 +29602,8 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 227, + "group": "memberships", + "weight": 226, "cookies": false, "type": "", "deprecated": false, @@ -29401,7 +29688,8 @@ }, "x-appwrite": { "method": "createMembership", - "weight": 226, + "group": "memberships", + "weight": 225, "cookies": false, "type": "", "deprecated": false, @@ -29511,7 +29799,8 @@ }, "x-appwrite": { "method": "getMembership", - "weight": 228, + "group": "memberships", + "weight": 227, "cookies": false, "type": "", "deprecated": false, @@ -29582,7 +29871,8 @@ }, "x-appwrite": { "method": "updateMembership", - "weight": 229, + "group": "memberships", + "weight": 228, "cookies": false, "type": "", "deprecated": false, @@ -29668,7 +29958,8 @@ }, "x-appwrite": { "method": "deleteMembership", - "weight": 231, + "group": "memberships", + "weight": 230, "cookies": false, "type": "", "deprecated": false, @@ -29741,7 +30032,8 @@ }, "x-appwrite": { "method": "updateMembershipStatus", - "weight": 230, + "group": "memberships", + "weight": 229, "cookies": false, "type": "", "deprecated": false, @@ -29837,7 +30129,8 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 222, + "group": "teams", + "weight": 221, "cookies": false, "type": "", "deprecated": false, @@ -29896,7 +30189,8 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 224, + "group": "teams", + "weight": 223, "cookies": false, "type": "", "deprecated": false, @@ -29976,7 +30270,8 @@ }, "x-appwrite": { "method": "list", - "weight": 432, + "group": "files", + "weight": 436, "cookies": false, "type": "", "deprecated": false, @@ -30057,7 +30352,8 @@ }, "x-appwrite": { "method": "createFileToken", - "weight": 429, + "group": "files", + "weight": 433, "cookies": false, "type": "", "deprecated": false, @@ -30155,7 +30451,8 @@ }, "x-appwrite": { "method": "get", - "weight": 430, + "group": "tokens", + "weight": 434, "cookies": false, "type": "", "deprecated": false, @@ -30216,7 +30513,8 @@ }, "x-appwrite": { "method": "update", - "weight": 433, + "group": "tokens", + "weight": 437, "cookies": false, "type": "", "deprecated": false, @@ -30295,7 +30593,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 434, + "group": "tokens", + "weight": 438, "cookies": false, "type": "", "deprecated": false, @@ -30358,7 +30657,8 @@ }, "x-appwrite": { "method": "getJWT", - "weight": 431, + "group": "tokens", + "weight": 435, "cookies": false, "type": "", "deprecated": false, @@ -30421,7 +30721,8 @@ }, "x-appwrite": { "method": "list", - "weight": 242, + "group": "users", + "weight": 241, "cookies": false, "type": "", "deprecated": false, @@ -30493,7 +30794,8 @@ }, "x-appwrite": { "method": "create", - "weight": 233, + "group": "users", + "weight": 232, "cookies": false, "type": "", "deprecated": false, @@ -30580,7 +30882,8 @@ }, "x-appwrite": { "method": "createArgon2User", - "weight": 236, + "group": "users", + "weight": 235, "cookies": false, "type": "", "deprecated": false, @@ -30664,7 +30967,8 @@ }, "x-appwrite": { "method": "createBcryptUser", - "weight": 234, + "group": "users", + "weight": 233, "cookies": false, "type": "", "deprecated": false, @@ -30748,7 +31052,8 @@ }, "x-appwrite": { "method": "listIdentities", - "weight": 250, + "group": "identities", + "weight": 249, "cookies": false, "type": "", "deprecated": false, @@ -30815,7 +31120,8 @@ }, "x-appwrite": { "method": "deleteIdentity", - "weight": 273, + "group": "identities", + "weight": 272, "cookies": false, "type": "", "deprecated": false, @@ -30875,7 +31181,8 @@ }, "x-appwrite": { "method": "createMD5User", - "weight": 235, + "group": "users", + "weight": 234, "cookies": false, "type": "", "deprecated": false, @@ -30959,7 +31266,8 @@ }, "x-appwrite": { "method": "createPHPassUser", - "weight": 238, + "group": "users", + "weight": 237, "cookies": false, "type": "", "deprecated": false, @@ -31043,7 +31351,8 @@ }, "x-appwrite": { "method": "createScryptUser", - "weight": 239, + "group": "users", + "weight": 238, "cookies": false, "type": "", "deprecated": false, @@ -31157,7 +31466,8 @@ }, "x-appwrite": { "method": "createScryptModifiedUser", - "weight": 240, + "group": "users", + "weight": 239, "cookies": false, "type": "", "deprecated": false, @@ -31259,7 +31569,8 @@ }, "x-appwrite": { "method": "createSHAUser", - "weight": 237, + "group": "users", + "weight": 236, "cookies": false, "type": "", "deprecated": false, @@ -31363,7 +31674,8 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 275, + "group": null, + "weight": 274, "cookies": false, "type": "", "deprecated": false, @@ -31434,7 +31746,8 @@ }, "x-appwrite": { "method": "get", - "weight": 243, + "group": "users", + "weight": 242, "cookies": false, "type": "", "deprecated": false, @@ -31485,7 +31798,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 271, + "group": "users", + "weight": 270, "cookies": false, "type": "", "deprecated": false, @@ -31545,7 +31859,8 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 256, + "group": "users", + "weight": 255, "cookies": false, "type": "", "deprecated": false, @@ -31624,7 +31939,8 @@ }, "x-appwrite": { "method": "createJWT", - "weight": 274, + "group": "sessions", + "weight": 273, "cookies": false, "type": "", "deprecated": false, @@ -31705,7 +32021,8 @@ }, "x-appwrite": { "method": "updateLabels", - "weight": 252, + "group": "users", + "weight": 251, "cookies": false, "type": "", "deprecated": false, @@ -31787,7 +32104,8 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 248, + "group": "logs", + "weight": 247, "cookies": false, "type": "", "deprecated": false, @@ -31860,7 +32178,8 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 247, + "group": "memberships", + "weight": 246, "cookies": false, "type": "", "deprecated": false, @@ -31944,7 +32263,8 @@ }, "x-appwrite": { "method": "updateMfa", - "weight": 261, + "group": "users", + "weight": 260, "cookies": false, "type": "", "deprecated": false, @@ -32016,7 +32336,8 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", - "weight": 266, + "group": "mfa", + "weight": 265, "cookies": false, "type": "", "deprecated": false, @@ -32091,7 +32412,8 @@ }, "x-appwrite": { "method": "listMfaFactors", - "weight": 262, + "group": "mfa", + "weight": 261, "cookies": false, "type": "", "deprecated": false, @@ -32151,7 +32473,8 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", - "weight": 263, + "group": "mfa", + "weight": 262, "cookies": false, "type": "", "deprecated": false, @@ -32189,7 +32512,7 @@ ] }, "put": { - "summary": "Regenerate MFA recovery codes", + "summary": "Update MFA recovery codes (regenerate)", "operationId": "usersUpdateMfaRecoveryCodes", "tags": [ "users" @@ -32209,7 +32532,8 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", - "weight": 265, + "group": "mfa", + "weight": 264, "cookies": false, "type": "", "deprecated": false, @@ -32267,7 +32591,8 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", - "weight": 264, + "group": "mfa", + "weight": 263, "cookies": false, "type": "", "deprecated": false, @@ -32327,7 +32652,8 @@ }, "x-appwrite": { "method": "updateName", - "weight": 254, + "group": "users", + "weight": 253, "cookies": false, "type": "", "deprecated": false, @@ -32406,7 +32732,8 @@ }, "x-appwrite": { "method": "updatePassword", - "weight": 255, + "group": "users", + "weight": 254, "cookies": false, "type": "", "deprecated": false, @@ -32485,7 +32812,8 @@ }, "x-appwrite": { "method": "updatePhone", - "weight": 257, + "group": "users", + "weight": 256, "cookies": false, "type": "", "deprecated": false, @@ -32564,7 +32892,8 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 244, + "group": "users", + "weight": 243, "cookies": false, "type": "", "deprecated": false, @@ -32622,7 +32951,8 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 259, + "group": "users", + "weight": 258, "cookies": false, "type": "", "deprecated": false, @@ -32701,7 +33031,8 @@ }, "x-appwrite": { "method": "listSessions", - "weight": 246, + "group": "sessions", + "weight": 245, "cookies": false, "type": "", "deprecated": false, @@ -32759,7 +33090,8 @@ }, "x-appwrite": { "method": "createSession", - "weight": 267, + "group": "sessions", + "weight": 266, "cookies": false, "type": "", "deprecated": false, @@ -32810,7 +33142,8 @@ }, "x-appwrite": { "method": "deleteSessions", - "weight": 270, + "group": "sessions", + "weight": 269, "cookies": false, "type": "", "deprecated": false, @@ -32863,7 +33196,8 @@ }, "x-appwrite": { "method": "deleteSession", - "weight": 269, + "group": "sessions", + "weight": 268, "cookies": false, "type": "", "deprecated": false, @@ -32933,7 +33267,8 @@ }, "x-appwrite": { "method": "updateStatus", - "weight": 251, + "group": "users", + "weight": 250, "cookies": false, "type": "", "deprecated": false, @@ -33012,7 +33347,8 @@ }, "x-appwrite": { "method": "listTargets", - "weight": 249, + "group": "targets", + "weight": 248, "cookies": false, "type": "", "deprecated": false, @@ -33084,7 +33420,8 @@ }, "x-appwrite": { "method": "createTarget", - "weight": 241, + "group": "targets", + "weight": 240, "cookies": false, "type": "", "deprecated": false, @@ -33193,7 +33530,8 @@ }, "x-appwrite": { "method": "getTarget", - "weight": 245, + "group": "targets", + "weight": 244, "cookies": false, "type": "", "deprecated": false, @@ -33262,7 +33600,8 @@ }, "x-appwrite": { "method": "updateTarget", - "weight": 260, + "group": "targets", + "weight": 259, "cookies": false, "type": "", "deprecated": false, @@ -33350,7 +33689,8 @@ }, "x-appwrite": { "method": "deleteTarget", - "weight": 272, + "group": "targets", + "weight": 271, "cookies": false, "type": "", "deprecated": false, @@ -33421,7 +33761,8 @@ }, "x-appwrite": { "method": "createToken", - "weight": 268, + "group": "sessions", + "weight": 267, "cookies": false, "type": "", "deprecated": false, @@ -33502,7 +33843,8 @@ }, "x-appwrite": { "method": "updateEmailVerification", - "weight": 258, + "group": "users", + "weight": 257, "cookies": false, "type": "", "deprecated": false, @@ -33581,7 +33923,8 @@ }, "x-appwrite": { "method": "updatePhoneVerification", - "weight": 253, + "group": "users", + "weight": 252, "cookies": false, "type": "", "deprecated": false, @@ -33660,7 +34003,8 @@ }, "x-appwrite": { "method": "createRepositoryDetection", - "weight": 279, + "group": "repositories", + "weight": 278, "cookies": false, "type": "", "deprecated": false, @@ -33755,7 +34099,8 @@ }, "x-appwrite": { "method": "listRepositories", - "weight": 280, + "group": "repositories", + "weight": 279, "cookies": false, "type": "", "deprecated": false, @@ -33839,7 +34184,8 @@ }, "x-appwrite": { "method": "createRepository", - "weight": 281, + "group": "repositories", + "weight": 280, "cookies": false, "type": "", "deprecated": false, @@ -33923,7 +34269,8 @@ }, "x-appwrite": { "method": "getRepository", - "weight": 282, + "group": "repositories", + "weight": 281, "cookies": false, "type": "", "deprecated": false, @@ -33992,7 +34339,8 @@ }, "x-appwrite": { "method": "listRepositoryBranches", - "weight": 283, + "group": "repositories", + "weight": 282, "cookies": false, "type": "", "deprecated": false, @@ -34061,7 +34409,8 @@ }, "x-appwrite": { "method": "getRepositoryContents", - "weight": 278, + "group": "repositories", + "weight": 277, "cookies": false, "type": "", "deprecated": false, @@ -34121,7 +34470,7 @@ }, "\/vcs\/github\/installations\/{installationId}\/repositories\/{repositoryId}": { "patch": { - "summary": "Authorize external deployment", + "summary": "Update external deployment (authorize)", "operationId": "vcsUpdateExternalDeployments", "tags": [ "vcs" @@ -34134,7 +34483,8 @@ }, "x-appwrite": { "method": "updateExternalDeployments", - "weight": 288, + "group": "repositories", + "weight": 287, "cookies": false, "type": "", "deprecated": false, @@ -34222,7 +34572,8 @@ }, "x-appwrite": { "method": "listInstallations", - "weight": 285, + "group": "installations", + "weight": 284, "cookies": false, "type": "", "deprecated": false, @@ -34295,7 +34646,8 @@ }, "x-appwrite": { "method": "getInstallation", - "weight": 286, + "group": "installations", + "weight": 285, "cookies": false, "type": "", "deprecated": false, @@ -34345,7 +34697,8 @@ }, "x-appwrite": { "method": "deleteInstallation", - "weight": 287, + "group": "installations", + "weight": 286, "cookies": false, "type": "", "deprecated": false, diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json index 1f33ccf24b..c5e83e4c0b 100644 --- a/app/config/specs/open-api3-latest-server.json +++ b/app/config/specs/open-api3-latest-server.json @@ -18,6 +18,9 @@ "servers": [ { "url": "https:\/\/cloud.appwrite.io\/v1" + }, + { + "url": "https:\/\/<REGION>.cloud.appwrite.io\/v1" } ], "paths": { @@ -43,6 +46,7 @@ }, "x-appwrite": { "method": "get", + "group": "account", "weight": 10, "cookies": false, "type": "", @@ -92,6 +96,7 @@ }, "x-appwrite": { "method": "create", + "group": "account", "weight": 9, "cookies": false, "type": "", @@ -176,6 +181,7 @@ }, "x-appwrite": { "method": "updateEmail", + "group": "account", "weight": 35, "cookies": false, "type": "", @@ -252,6 +258,7 @@ }, "x-appwrite": { "method": "listIdentities", + "group": "identities", "weight": 58, "cookies": false, "type": "", @@ -311,6 +318,7 @@ }, "x-appwrite": { "method": "deleteIdentity", + "group": "identities", "weight": 59, "cookies": false, "type": "", @@ -374,6 +382,7 @@ }, "x-appwrite": { "method": "createJWT", + "group": "tokens", "weight": 30, "cookies": false, "type": "", @@ -422,6 +431,7 @@ }, "x-appwrite": { "method": "listLogs", + "group": "logs", "weight": 32, "cookies": false, "type": "", @@ -488,6 +498,7 @@ }, "x-appwrite": { "method": "updateMFA", + "group": "mfa", "weight": 45, "cookies": false, "type": "", @@ -558,6 +569,7 @@ }, "x-appwrite": { "method": "createMfaAuthenticator", + "group": "mfa", "weight": 47, "cookies": false, "type": "", @@ -604,7 +616,7 @@ ] }, "put": { - "summary": "Verify authenticator", + "summary": "Update authenticator (confirmation)", "operationId": "accountUpdateMfaAuthenticator", "tags": [ "account" @@ -624,6 +636,7 @@ }, "x-appwrite": { "method": "updateMfaAuthenticator", + "group": "mfa", "weight": 48, "cookies": false, "type": "", @@ -702,6 +715,7 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", + "group": "mfa", "weight": 52, "cookies": false, "type": "", @@ -770,6 +784,7 @@ }, "x-appwrite": { "method": "createMfaChallenge", + "group": "mfa", "weight": 53, "cookies": false, "type": "", @@ -823,7 +838,7 @@ } }, "put": { - "summary": "Create MFA challenge (confirmation)", + "summary": "Update MFA challenge (confirmation)", "operationId": "accountUpdateMfaChallenge", "tags": [ "account" @@ -843,6 +858,7 @@ }, "x-appwrite": { "method": "updateMfaChallenge", + "group": "mfa", "weight": 54, "cookies": false, "type": "", @@ -919,6 +935,7 @@ }, "x-appwrite": { "method": "listMfaFactors", + "group": "mfa", "weight": 46, "cookies": false, "type": "", @@ -950,7 +967,7 @@ }, "\/account\/mfa\/recovery-codes": { "get": { - "summary": "Get MFA recovery codes", + "summary": "List MFA recovery codes", "operationId": "accountGetMfaRecoveryCodes", "tags": [ "account" @@ -970,6 +987,7 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", + "group": "mfa", "weight": 51, "cookies": false, "type": "", @@ -1019,6 +1037,7 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", + "group": "mfa", "weight": 49, "cookies": false, "type": "", @@ -1048,7 +1067,7 @@ ] }, "patch": { - "summary": "Regenerate MFA recovery codes", + "summary": "Update MFA recovery codes (regenerate)", "operationId": "accountUpdateMfaRecoveryCodes", "tags": [ "account" @@ -1068,6 +1087,7 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", + "group": "mfa", "weight": 50, "cookies": false, "type": "", @@ -1119,6 +1139,7 @@ }, "x-appwrite": { "method": "updateName", + "group": "account", "weight": 33, "cookies": false, "type": "", @@ -1189,6 +1210,7 @@ }, "x-appwrite": { "method": "updatePassword", + "group": "account", "weight": 34, "cookies": false, "type": "", @@ -1264,6 +1286,7 @@ }, "x-appwrite": { "method": "updatePhone", + "group": "account", "weight": 36, "cookies": false, "type": "", @@ -1340,6 +1363,7 @@ }, "x-appwrite": { "method": "getPrefs", + "group": "account", "weight": 31, "cookies": false, "type": "", @@ -1389,6 +1413,7 @@ }, "x-appwrite": { "method": "updatePrefs", + "group": "account", "weight": 37, "cookies": false, "type": "", @@ -1459,6 +1484,7 @@ }, "x-appwrite": { "method": "createRecovery", + "group": "recovery", "weight": 39, "cookies": false, "type": "", @@ -1516,7 +1542,7 @@ } }, "put": { - "summary": "Create password recovery (confirmation)", + "summary": "Update password recovery (confirmation)", "operationId": "accountUpdateRecovery", "tags": [ "account" @@ -1536,6 +1562,7 @@ }, "x-appwrite": { "method": "updateRecovery", + "group": "recovery", "weight": 40, "cookies": false, "type": "", @@ -1618,6 +1645,7 @@ }, "x-appwrite": { "method": "listSessions", + "group": "sessions", "weight": 12, "cookies": false, "type": "", @@ -1660,6 +1688,7 @@ }, "x-appwrite": { "method": "deleteSessions", + "group": "sessions", "weight": 13, "cookies": false, "type": "", @@ -1711,6 +1740,7 @@ }, "x-appwrite": { "method": "createAnonymousSession", + "group": "sessions", "weight": 18, "cookies": false, "type": "", @@ -1759,6 +1789,7 @@ }, "x-appwrite": { "method": "createEmailPasswordSession", + "group": "sessions", "weight": 17, "cookies": false, "type": "", @@ -1832,6 +1863,7 @@ }, "x-appwrite": { "method": "updateMagicURLSession", + "group": "sessions", "weight": 27, "cookies": false, "type": "", @@ -1905,6 +1937,7 @@ }, "x-appwrite": { "method": "updatePhoneSession", + "group": "sessions", "weight": 28, "cookies": false, "type": "", @@ -1978,6 +2011,7 @@ }, "x-appwrite": { "method": "createSession", + "group": "sessions", "weight": 19, "cookies": false, "type": "", @@ -2051,6 +2085,7 @@ }, "x-appwrite": { "method": "getSession", + "group": "sessions", "weight": 14, "cookies": false, "type": "", @@ -2112,6 +2147,7 @@ }, "x-appwrite": { "method": "updateSession", + "group": "sessions", "weight": 16, "cookies": false, "type": "", @@ -2166,6 +2202,7 @@ }, "x-appwrite": { "method": "deleteSession", + "group": "sessions", "weight": 15, "cookies": false, "type": "", @@ -2229,6 +2266,7 @@ }, "x-appwrite": { "method": "updateStatus", + "group": "account", "weight": 38, "cookies": false, "type": "", @@ -2280,6 +2318,7 @@ }, "x-appwrite": { "method": "createEmailToken", + "group": "tokens", "weight": 26, "cookies": false, "type": "", @@ -2358,6 +2397,7 @@ }, "x-appwrite": { "method": "createMagicURLToken", + "group": "tokens", "weight": 25, "cookies": false, "type": "", @@ -2437,6 +2477,7 @@ }, "x-appwrite": { "method": "createOAuth2Token", + "group": "tokens", "weight": 24, "cookies": false, "type": "webAuth", @@ -2464,7 +2505,7 @@ "parameters": [ { "name": "provider", - "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", + "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", "required": true, "schema": { "type": "string", @@ -2484,6 +2525,7 @@ "dropbox", "etsy", "facebook", + "figma", "github", "gitlab", "google", @@ -2577,6 +2619,7 @@ }, "x-appwrite": { "method": "createPhoneToken", + "group": "tokens", "weight": 29, "cookies": false, "type": "", @@ -2653,6 +2696,7 @@ }, "x-appwrite": { "method": "createVerification", + "group": "verification", "weight": 41, "cookies": false, "type": "", @@ -2701,7 +2745,7 @@ } }, "put": { - "summary": "Create email verification (confirmation)", + "summary": "Update email verification (confirmation)", "operationId": "accountUpdateVerification", "tags": [ "account" @@ -2721,6 +2765,7 @@ }, "x-appwrite": { "method": "updateVerification", + "group": "verification", "weight": 42, "cookies": false, "type": "", @@ -2797,6 +2842,7 @@ }, "x-appwrite": { "method": "createPhoneVerification", + "group": "verification", "weight": 43, "cookies": false, "type": "", @@ -2849,6 +2895,7 @@ }, "x-appwrite": { "method": "updatePhoneVerification", + "group": "verification", "weight": 44, "cookies": false, "type": "", @@ -2918,6 +2965,7 @@ }, "x-appwrite": { "method": "getBrowser", + "group": null, "weight": 61, "cookies": false, "type": "location", @@ -3045,6 +3093,7 @@ }, "x-appwrite": { "method": "getCreditCard", + "group": null, "weight": 60, "cookies": false, "type": "location", @@ -3178,6 +3227,7 @@ }, "x-appwrite": { "method": "getFavicon", + "group": null, "weight": 64, "cookies": false, "type": "location", @@ -3237,6 +3287,7 @@ }, "x-appwrite": { "method": "getFlag", + "group": null, "weight": 62, "cookies": false, "type": "location", @@ -3726,6 +3777,7 @@ }, "x-appwrite": { "method": "getImage", + "group": null, "weight": 63, "cookies": false, "type": "location", @@ -3809,6 +3861,7 @@ }, "x-appwrite": { "method": "getInitials", + "group": null, "weight": 66, "cookies": false, "type": "location", @@ -3902,6 +3955,7 @@ }, "x-appwrite": { "method": "getQR", + "group": null, "weight": 65, "cookies": false, "type": "location", @@ -4002,6 +4056,7 @@ }, "x-appwrite": { "method": "list", + "group": "databases", "weight": 71, "cookies": false, "type": "", @@ -4075,6 +4130,7 @@ }, "x-appwrite": { "method": "create", + "group": "databases", "weight": 70, "cookies": false, "type": "", @@ -4154,6 +4210,7 @@ }, "x-appwrite": { "method": "get", + "group": "databases", "weight": 72, "cookies": false, "type": "", @@ -4213,6 +4270,7 @@ }, "x-appwrite": { "method": "update", + "group": "databases", "weight": 74, "cookies": false, "type": "", @@ -4289,6 +4347,7 @@ }, "x-appwrite": { "method": "delete", + "group": "databases", "weight": 75, "cookies": false, "type": "", @@ -4350,6 +4409,7 @@ }, "x-appwrite": { "method": "listCollections", + "group": "collections", "weight": 77, "cookies": false, "type": "", @@ -4433,6 +4493,7 @@ }, "x-appwrite": { "method": "createCollection", + "group": "collections", "weight": 76, "cookies": false, "type": "", @@ -4537,6 +4598,7 @@ }, "x-appwrite": { "method": "getCollection", + "group": "collections", "weight": 78, "cookies": false, "type": "", @@ -4606,6 +4668,7 @@ }, "x-appwrite": { "method": "updateCollection", + "group": "collections", "weight": 80, "cookies": false, "type": "", @@ -4705,6 +4768,7 @@ }, "x-appwrite": { "method": "deleteCollection", + "group": "collections", "weight": 81, "cookies": false, "type": "", @@ -4776,6 +4840,7 @@ }, "x-appwrite": { "method": "listAttributes", + "group": "attributes", "weight": 92, "cookies": false, "type": "", @@ -4860,6 +4925,7 @@ }, "x-appwrite": { "method": "createBooleanAttribute", + "group": "attributes", "weight": 89, "cookies": false, "type": "", @@ -4966,6 +5032,7 @@ }, "x-appwrite": { "method": "updateBooleanAttribute", + "group": "attributes", "weight": 101, "cookies": false, "type": "", @@ -5077,6 +5144,7 @@ }, "x-appwrite": { "method": "createDatetimeAttribute", + "group": "attributes", "weight": 90, "cookies": false, "type": "", @@ -5183,6 +5251,7 @@ }, "x-appwrite": { "method": "updateDatetimeAttribute", + "group": "attributes", "weight": 102, "cookies": false, "type": "", @@ -5294,6 +5363,7 @@ }, "x-appwrite": { "method": "createEmailAttribute", + "group": "attributes", "weight": 83, "cookies": false, "type": "", @@ -5400,6 +5470,7 @@ }, "x-appwrite": { "method": "updateEmailAttribute", + "group": "attributes", "weight": 95, "cookies": false, "type": "", @@ -5511,6 +5582,7 @@ }, "x-appwrite": { "method": "createEnumAttribute", + "group": "attributes", "weight": 84, "cookies": false, "type": "", @@ -5626,6 +5698,7 @@ }, "x-appwrite": { "method": "updateEnumAttribute", + "group": "attributes", "weight": 96, "cookies": false, "type": "", @@ -5746,6 +5819,7 @@ }, "x-appwrite": { "method": "createFloatAttribute", + "group": "attributes", "weight": 88, "cookies": false, "type": "", @@ -5862,6 +5936,7 @@ }, "x-appwrite": { "method": "updateFloatAttribute", + "group": "attributes", "weight": 100, "cookies": false, "type": "", @@ -5983,6 +6058,7 @@ }, "x-appwrite": { "method": "createIntegerAttribute", + "group": "attributes", "weight": 87, "cookies": false, "type": "", @@ -6099,6 +6175,7 @@ }, "x-appwrite": { "method": "updateIntegerAttribute", + "group": "attributes", "weight": 99, "cookies": false, "type": "", @@ -6220,6 +6297,7 @@ }, "x-appwrite": { "method": "createIpAttribute", + "group": "attributes", "weight": 85, "cookies": false, "type": "", @@ -6326,6 +6404,7 @@ }, "x-appwrite": { "method": "updateIpAttribute", + "group": "attributes", "weight": 97, "cookies": false, "type": "", @@ -6437,6 +6516,7 @@ }, "x-appwrite": { "method": "createRelationshipAttribute", + "group": "attributes", "weight": 91, "cookies": false, "type": "", @@ -6568,6 +6648,7 @@ }, "x-appwrite": { "method": "createStringAttribute", + "group": "attributes", "weight": 82, "cookies": false, "type": "", @@ -6685,6 +6766,7 @@ }, "x-appwrite": { "method": "updateStringAttribute", + "group": "attributes", "weight": 94, "cookies": false, "type": "", @@ -6801,6 +6883,7 @@ }, "x-appwrite": { "method": "createUrlAttribute", + "group": "attributes", "weight": 86, "cookies": false, "type": "", @@ -6907,6 +6990,7 @@ }, "x-appwrite": { "method": "updateUrlAttribute", + "group": "attributes", "weight": 98, "cookies": false, "type": "", @@ -7049,6 +7133,7 @@ }, "x-appwrite": { "method": "getAttribute", + "group": "attributes", "weight": 93, "cookies": false, "type": "", @@ -7120,6 +7205,7 @@ }, "x-appwrite": { "method": "deleteAttribute", + "group": "attributes", "weight": 104, "cookies": false, "type": "", @@ -7200,6 +7286,7 @@ }, "x-appwrite": { "method": "updateRelationshipAttribute", + "group": "attributes", "weight": 103, "cookies": false, "type": "", @@ -7308,6 +7395,7 @@ }, "x-appwrite": { "method": "listDocuments", + "group": "documents", "weight": 110, "cookies": false, "type": "", @@ -7394,6 +7482,7 @@ }, "x-appwrite": { "method": "createDocument", + "group": "documents", "weight": 109, "cookies": false, "type": "", @@ -7502,6 +7591,7 @@ }, "x-appwrite": { "method": "getDocument", + "group": "documents", "weight": 111, "cookies": false, "type": "", @@ -7598,6 +7688,7 @@ }, "x-appwrite": { "method": "updateDocument", + "group": "documents", "weight": 113, "cookies": false, "type": "", @@ -7698,6 +7789,7 @@ }, "x-appwrite": { "method": "deleteDocument", + "group": "documents", "weight": 114, "cookies": false, "type": "", @@ -7783,6 +7875,7 @@ }, "x-appwrite": { "method": "listIndexes", + "group": "indexes", "weight": 106, "cookies": false, "type": "", @@ -7865,6 +7958,7 @@ }, "x-appwrite": { "method": "createIndex", + "group": "collections", "weight": 105, "cookies": false, "type": "", @@ -7985,6 +8079,7 @@ }, "x-appwrite": { "method": "getIndex", + "group": "indexes", "weight": 107, "cookies": false, "type": "", @@ -8056,6 +8151,7 @@ }, "x-appwrite": { "method": "deleteIndex", + "group": "indexes", "weight": 108, "cookies": false, "type": "", @@ -8136,7 +8232,8 @@ }, "x-appwrite": { "method": "list", - "weight": 373, + "group": "functions", + "weight": 372, "cookies": false, "type": "", "deprecated": false, @@ -8209,7 +8306,8 @@ }, "x-appwrite": { "method": "create", - "weight": 370, + "group": "functions", + "weight": 369, "cookies": false, "type": "", "deprecated": false, @@ -8440,7 +8538,8 @@ }, "x-appwrite": { "method": "listRuntimes", - "weight": 375, + "group": "runtimes", + "weight": 374, "cookies": false, "type": "", "deprecated": false, @@ -8489,7 +8588,8 @@ }, "x-appwrite": { "method": "listSpecifications", - "weight": 376, + "group": "runtimes", + "weight": 375, "cookies": false, "type": "", "deprecated": false, @@ -8539,7 +8639,8 @@ }, "x-appwrite": { "method": "get", - "weight": 371, + "group": "functions", + "weight": 370, "cookies": false, "type": "", "deprecated": false, @@ -8598,7 +8699,8 @@ }, "x-appwrite": { "method": "update", - "weight": 372, + "group": "functions", + "weight": 371, "cookies": false, "type": "", "deprecated": false, @@ -8826,7 +8928,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 374, + "group": "functions", + "weight": 373, "cookies": false, "type": "", "deprecated": false, @@ -8887,7 +8990,8 @@ }, "x-appwrite": { "method": "updateFunctionDeployment", - "weight": 379, + "group": "functions", + "weight": 378, "cookies": false, "type": "", "deprecated": false, @@ -8967,7 +9071,8 @@ }, "x-appwrite": { "method": "listDeployments", - "weight": 380, + "group": "deployments", + "weight": 379, "cookies": false, "type": "", "deprecated": false, @@ -9050,7 +9155,8 @@ }, "x-appwrite": { "method": "createDeployment", - "weight": 377, + "group": "deployments", + "weight": 376, "cookies": false, "type": "upload", "deprecated": false, @@ -9146,7 +9252,8 @@ }, "x-appwrite": { "method": "createDuplicateDeployment", - "weight": 385, + "group": "deployments", + "weight": 384, "cookies": false, "type": "", "deprecated": false, @@ -9231,7 +9338,8 @@ }, "x-appwrite": { "method": "createTemplateDeployment", - "weight": 382, + "group": "deployments", + "weight": 381, "cookies": false, "type": "", "deprecated": false, @@ -9334,7 +9442,8 @@ }, "x-appwrite": { "method": "createVcsDeployment", - "weight": 383, + "group": "deployments", + "weight": 382, "cookies": false, "type": "", "deprecated": false, @@ -9431,7 +9540,8 @@ }, "x-appwrite": { "method": "getDeployment", - "weight": 378, + "group": "deployments", + "weight": 377, "cookies": false, "type": "", "deprecated": false, @@ -9493,7 +9603,8 @@ }, "x-appwrite": { "method": "deleteDeployment", - "weight": 381, + "group": "deployments", + "weight": 380, "cookies": false, "type": "", "deprecated": false, @@ -9544,7 +9655,7 @@ }, "\/functions\/{functionId}\/deployments\/{deploymentId}\/download": { "get": { - "summary": "Download deployment", + "summary": "Get deployment download", "operationId": "functionsGetDeploymentDownload", "tags": [ "functions" @@ -9557,7 +9668,8 @@ }, "x-appwrite": { "method": "getDeploymentDownload", - "weight": 384, + "group": "deployments", + "weight": 383, "cookies": false, "type": "location", "deprecated": false, @@ -9647,7 +9759,8 @@ }, "x-appwrite": { "method": "updateDeploymentStatus", - "weight": 386, + "group": "deployments", + "weight": 385, "cookies": false, "type": "", "deprecated": false, @@ -9718,7 +9831,8 @@ }, "x-appwrite": { "method": "listExecutions", - "weight": 389, + "group": "executions", + "weight": 388, "cookies": false, "type": "", "deprecated": false, @@ -9794,7 +9908,8 @@ }, "x-appwrite": { "method": "createExecution", - "weight": 387, + "group": "executions", + "weight": 386, "cookies": false, "type": "", "deprecated": false, @@ -9910,7 +10025,8 @@ }, "x-appwrite": { "method": "getExecution", - "weight": 388, + "group": "executions", + "weight": 387, "cookies": false, "type": "", "deprecated": false, @@ -9976,7 +10092,8 @@ }, "x-appwrite": { "method": "deleteExecution", - "weight": 390, + "group": "executions", + "weight": 389, "cookies": false, "type": "", "deprecated": false, @@ -10047,7 +10164,8 @@ }, "x-appwrite": { "method": "listVariables", - "weight": 395, + "group": "variables", + "weight": 394, "cookies": false, "type": "", "deprecated": false, @@ -10106,7 +10224,8 @@ }, "x-appwrite": { "method": "createVariable", - "weight": 393, + "group": "variables", + "weight": 392, "cookies": false, "type": "", "deprecated": false, @@ -10197,7 +10316,8 @@ }, "x-appwrite": { "method": "getVariable", - "weight": 394, + "group": "variables", + "weight": 393, "cookies": false, "type": "", "deprecated": false, @@ -10266,7 +10386,8 @@ }, "x-appwrite": { "method": "updateVariable", - "weight": 396, + "group": "variables", + "weight": 395, "cookies": false, "type": "", "deprecated": false, @@ -10357,7 +10478,8 @@ }, "x-appwrite": { "method": "deleteVariable", - "weight": 397, + "group": "variables", + "weight": 396, "cookies": false, "type": "", "deprecated": false, @@ -10428,7 +10550,8 @@ }, "x-appwrite": { "method": "query", - "weight": 303, + "group": "graphql", + "weight": 302, "cookies": false, "type": "graphql", "deprecated": false, @@ -10481,7 +10604,8 @@ }, "x-appwrite": { "method": "mutation", - "weight": 302, + "group": "graphql", + "weight": 301, "cookies": false, "type": "graphql", "deprecated": false, @@ -10534,6 +10658,7 @@ }, "x-appwrite": { "method": "get", + "group": "health", "weight": 126, "cookies": false, "type": "", @@ -10583,7 +10708,8 @@ }, "x-appwrite": { "method": "getAntivirus", - "weight": 148, + "group": "health", + "weight": 147, "cookies": false, "type": "", "deprecated": false, @@ -10632,6 +10758,7 @@ }, "x-appwrite": { "method": "getCache", + "group": "health", "weight": 129, "cookies": false, "type": "", @@ -10681,6 +10808,7 @@ }, "x-appwrite": { "method": "getCertificate", + "group": "health", "weight": 134, "cookies": false, "type": "", @@ -10741,6 +10869,7 @@ }, "x-appwrite": { "method": "getDB", + "group": "health", "weight": 128, "cookies": false, "type": "", @@ -10790,6 +10919,7 @@ }, "x-appwrite": { "method": "getPubSub", + "group": "health", "weight": 130, "cookies": false, "type": "", @@ -10839,6 +10969,7 @@ }, "x-appwrite": { "method": "getQueueBuilds", + "group": "queue", "weight": 136, "cookies": false, "type": "", @@ -10901,6 +11032,7 @@ }, "x-appwrite": { "method": "getQueueCertificates", + "group": "queue", "weight": 135, "cookies": false, "type": "", @@ -10963,6 +11095,7 @@ }, "x-appwrite": { "method": "getQueueDatabases", + "group": "queue", "weight": 137, "cookies": false, "type": "", @@ -11036,6 +11169,7 @@ }, "x-appwrite": { "method": "getQueueDeletes", + "group": "queue", "weight": 138, "cookies": false, "type": "", @@ -11098,7 +11232,8 @@ }, "x-appwrite": { "method": "getFailedJobs", - "weight": 149, + "group": "queue", + "weight": 148, "cookies": false, "type": "", "deprecated": false, @@ -11139,7 +11274,6 @@ "v1-functions", "v1-stats-resources", "v1-stats-usage", - "v1-stats-usage-dump", "v1-webhooks", "v1-certificates", "v1-builds", @@ -11187,6 +11321,7 @@ }, "x-appwrite": { "method": "getQueueFunctions", + "group": "queue", "weight": 142, "cookies": false, "type": "", @@ -11249,6 +11384,7 @@ }, "x-appwrite": { "method": "getQueueLogs", + "group": "queue", "weight": 133, "cookies": false, "type": "", @@ -11311,6 +11447,7 @@ }, "x-appwrite": { "method": "getQueueMails", + "group": "queue", "weight": 139, "cookies": false, "type": "", @@ -11373,6 +11510,7 @@ }, "x-appwrite": { "method": "getQueueMessaging", + "group": "queue", "weight": 140, "cookies": false, "type": "", @@ -11435,6 +11573,7 @@ }, "x-appwrite": { "method": "getQueueMigrations", + "group": "queue", "weight": 141, "cookies": false, "type": "", @@ -11497,6 +11636,7 @@ }, "x-appwrite": { "method": "getQueueStatsResources", + "group": "queue", "weight": 143, "cookies": false, "type": "", @@ -11559,6 +11699,7 @@ }, "x-appwrite": { "method": "getQueueUsage", + "group": "queue", "weight": 144, "cookies": false, "type": "", @@ -11599,68 +11740,6 @@ ] } }, - "\/health\/queue\/stats-usage-dump": { - "get": { - "summary": "Get usage dump queue", - "operationId": "healthGetQueueStatsUsageDump", - "tags": [ - "health" - ], - "description": "Get the number of projects containing metrics that are waiting to be processed in the Appwrite internal queue server.", - "responses": { - "200": { - "description": "Health Queue", - "content": { - "application\/json": { - "schema": { - "$ref": "#\/components\/schemas\/healthQueue" - } - } - } - } - }, - "x-appwrite": { - "method": "getQueueStatsUsageDump", - "weight": 145, - "cookies": false, - "type": "", - "deprecated": false, - "demo": "health\/get-queue-stats-usage-dump.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-usage-dump.md", - "rate-limit": 0, - "rate-time": 3600, - "rate-key": "url:{url},ip:{ip}", - "scope": "health.read", - "platforms": [ - "server" - ], - "packaging": false, - "auth": { - "Project": [], - "Key": [] - } - }, - "security": [ - { - "Project": [], - "Key": [] - } - ], - "parameters": [ - { - "name": "threshold", - "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", - "required": false, - "schema": { - "type": "integer", - "format": "int32", - "default": 5000 - }, - "in": "query" - } - ] - } - }, "\/health\/queue\/webhooks": { "get": { "summary": "Get webhooks queue", @@ -11683,6 +11762,7 @@ }, "x-appwrite": { "method": "getQueueWebhooks", + "group": "queue", "weight": 132, "cookies": false, "type": "", @@ -11745,7 +11825,8 @@ }, "x-appwrite": { "method": "getStorage", - "weight": 147, + "group": "storage", + "weight": 146, "cookies": false, "type": "", "deprecated": false, @@ -11794,7 +11875,8 @@ }, "x-appwrite": { "method": "getStorageLocal", - "weight": 146, + "group": "storage", + "weight": 145, "cookies": false, "type": "", "deprecated": false, @@ -11843,6 +11925,7 @@ }, "x-appwrite": { "method": "getTime", + "group": "health", "weight": 131, "cookies": false, "type": "", @@ -11892,6 +11975,7 @@ }, "x-appwrite": { "method": "get", + "group": null, "weight": 118, "cookies": false, "type": "", @@ -11945,6 +12029,7 @@ }, "x-appwrite": { "method": "listCodes", + "group": null, "weight": 119, "cookies": false, "type": "", @@ -11998,6 +12083,7 @@ }, "x-appwrite": { "method": "listContinents", + "group": null, "weight": 123, "cookies": false, "type": "", @@ -12051,6 +12137,7 @@ }, "x-appwrite": { "method": "listCountries", + "group": null, "weight": 120, "cookies": false, "type": "", @@ -12104,6 +12191,7 @@ }, "x-appwrite": { "method": "listCountriesEU", + "group": null, "weight": 121, "cookies": false, "type": "", @@ -12157,6 +12245,7 @@ }, "x-appwrite": { "method": "listCountriesPhones", + "group": null, "weight": 122, "cookies": false, "type": "", @@ -12210,6 +12299,7 @@ }, "x-appwrite": { "method": "listCurrencies", + "group": null, "weight": 124, "cookies": false, "type": "", @@ -12263,6 +12353,7 @@ }, "x-appwrite": { "method": "listLanguages", + "group": null, "weight": 125, "cookies": false, "type": "", @@ -12316,7 +12407,8 @@ }, "x-appwrite": { "method": "listMessages", - "weight": 357, + "group": "messages", + "weight": 356, "cookies": false, "type": "", "deprecated": false, @@ -12392,7 +12484,8 @@ }, "x-appwrite": { "method": "createEmail", - "weight": 354, + "group": "messages", + "weight": 353, "cookies": false, "type": "", "deprecated": false, @@ -12536,7 +12629,8 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 361, + "group": "messages", + "weight": 360, "cookies": false, "type": "", "deprecated": false, @@ -12682,7 +12776,8 @@ }, "x-appwrite": { "method": "createPush", - "weight": 356, + "group": "messages", + "weight": 355, "cookies": false, "type": "", "deprecated": false, @@ -12856,7 +12951,8 @@ }, "x-appwrite": { "method": "updatePush", - "weight": 363, + "group": "messages", + "weight": 362, "cookies": false, "type": "", "deprecated": false, @@ -13034,7 +13130,8 @@ }, "x-appwrite": { "method": "createSms", - "weight": 355, + "group": "messages", + "weight": 354, "cookies": false, "type": "", "deprecated": false, @@ -13143,7 +13240,8 @@ }, "x-appwrite": { "method": "updateSms", - "weight": 362, + "group": "messages", + "weight": 361, "cookies": false, "type": "", "deprecated": false, @@ -13255,7 +13353,8 @@ }, "x-appwrite": { "method": "getMessage", - "weight": 360, + "group": "messages", + "weight": 359, "cookies": false, "type": "", "deprecated": false, @@ -13308,7 +13407,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 364, + "group": "messages", + "weight": 363, "cookies": false, "type": "", "deprecated": false, @@ -13370,7 +13470,8 @@ }, "x-appwrite": { "method": "listMessageLogs", - "weight": 358, + "group": "logs", + "weight": 357, "cookies": false, "type": "", "deprecated": false, @@ -13445,7 +13546,8 @@ }, "x-appwrite": { "method": "listTargets", - "weight": 359, + "group": "messages", + "weight": 358, "cookies": false, "type": "", "deprecated": false, @@ -13520,7 +13622,8 @@ }, "x-appwrite": { "method": "listProviders", - "weight": 329, + "group": "providers", + "weight": 328, "cookies": false, "type": "", "deprecated": false, @@ -13596,7 +13699,8 @@ }, "x-appwrite": { "method": "createApnsProvider", - "weight": 328, + "group": "providers", + "weight": 327, "cookies": false, "type": "", "deprecated": false, @@ -13701,7 +13805,8 @@ }, "x-appwrite": { "method": "updateApnsProvider", - "weight": 341, + "group": "providers", + "weight": 340, "cookies": false, "type": "", "deprecated": false, @@ -13809,7 +13914,8 @@ }, "x-appwrite": { "method": "createFcmProvider", - "weight": 327, + "group": "providers", + "weight": 326, "cookies": false, "type": "", "deprecated": false, @@ -13894,7 +14000,8 @@ }, "x-appwrite": { "method": "updateFcmProvider", - "weight": 340, + "group": "providers", + "weight": 339, "cookies": false, "type": "", "deprecated": false, @@ -13982,7 +14089,8 @@ }, "x-appwrite": { "method": "createMailgunProvider", - "weight": 319, + "group": "providers", + "weight": 318, "cookies": false, "type": "", "deprecated": false, @@ -14097,7 +14205,8 @@ }, "x-appwrite": { "method": "updateMailgunProvider", - "weight": 332, + "group": "providers", + "weight": 331, "cookies": false, "type": "", "deprecated": false, @@ -14215,7 +14324,8 @@ }, "x-appwrite": { "method": "createMsg91Provider", - "weight": 322, + "group": "providers", + "weight": 321, "cookies": false, "type": "", "deprecated": false, @@ -14310,7 +14420,8 @@ }, "x-appwrite": { "method": "updateMsg91Provider", - "weight": 335, + "group": "providers", + "weight": 334, "cookies": false, "type": "", "deprecated": false, @@ -14408,7 +14519,8 @@ }, "x-appwrite": { "method": "createSendgridProvider", - "weight": 320, + "group": "providers", + "weight": 319, "cookies": false, "type": "", "deprecated": false, @@ -14513,7 +14625,8 @@ }, "x-appwrite": { "method": "updateSendgridProvider", - "weight": 333, + "group": "providers", + "weight": 332, "cookies": false, "type": "", "deprecated": false, @@ -14621,7 +14734,8 @@ }, "x-appwrite": { "method": "createSmtpProvider", - "weight": 321, + "group": "providers", + "weight": 320, "cookies": false, "type": "", "deprecated": false, @@ -14764,7 +14878,8 @@ }, "x-appwrite": { "method": "updateSmtpProvider", - "weight": 334, + "group": "providers", + "weight": 333, "cookies": false, "type": "", "deprecated": false, @@ -14909,7 +15024,8 @@ }, "x-appwrite": { "method": "createTelesignProvider", - "weight": 323, + "group": "providers", + "weight": 322, "cookies": false, "type": "", "deprecated": false, @@ -15004,7 +15120,8 @@ }, "x-appwrite": { "method": "updateTelesignProvider", - "weight": 336, + "group": "providers", + "weight": 335, "cookies": false, "type": "", "deprecated": false, @@ -15102,7 +15219,8 @@ }, "x-appwrite": { "method": "createTextmagicProvider", - "weight": 324, + "group": "providers", + "weight": 323, "cookies": false, "type": "", "deprecated": false, @@ -15197,7 +15315,8 @@ }, "x-appwrite": { "method": "updateTextmagicProvider", - "weight": 337, + "group": "providers", + "weight": 336, "cookies": false, "type": "", "deprecated": false, @@ -15295,7 +15414,8 @@ }, "x-appwrite": { "method": "createTwilioProvider", - "weight": 325, + "group": "providers", + "weight": 324, "cookies": false, "type": "", "deprecated": false, @@ -15390,7 +15510,8 @@ }, "x-appwrite": { "method": "updateTwilioProvider", - "weight": 338, + "group": "providers", + "weight": 337, "cookies": false, "type": "", "deprecated": false, @@ -15488,7 +15609,8 @@ }, "x-appwrite": { "method": "createVonageProvider", - "weight": 326, + "group": "providers", + "weight": 325, "cookies": false, "type": "", "deprecated": false, @@ -15583,7 +15705,8 @@ }, "x-appwrite": { "method": "updateVonageProvider", - "weight": 339, + "group": "providers", + "weight": 338, "cookies": false, "type": "", "deprecated": false, @@ -15681,7 +15804,8 @@ }, "x-appwrite": { "method": "getProvider", - "weight": 331, + "group": "providers", + "weight": 330, "cookies": false, "type": "", "deprecated": false, @@ -15734,7 +15858,8 @@ }, "x-appwrite": { "method": "deleteProvider", - "weight": 342, + "group": "providers", + "weight": 341, "cookies": false, "type": "", "deprecated": false, @@ -15796,7 +15921,8 @@ }, "x-appwrite": { "method": "listProviderLogs", - "weight": 330, + "group": "providers", + "weight": 329, "cookies": false, "type": "", "deprecated": false, @@ -15871,7 +15997,8 @@ }, "x-appwrite": { "method": "listSubscriberLogs", - "weight": 351, + "group": "subscribers", + "weight": 350, "cookies": false, "type": "", "deprecated": false, @@ -15946,7 +16073,8 @@ }, "x-appwrite": { "method": "listTopics", - "weight": 344, + "group": "topics", + "weight": 343, "cookies": false, "type": "", "deprecated": false, @@ -16020,7 +16148,8 @@ }, "x-appwrite": { "method": "createTopic", - "weight": 343, + "group": "topics", + "weight": 342, "cookies": false, "type": "", "deprecated": false, @@ -16103,7 +16232,8 @@ }, "x-appwrite": { "method": "getTopic", - "weight": 346, + "group": "topics", + "weight": 345, "cookies": false, "type": "", "deprecated": false, @@ -16163,7 +16293,8 @@ }, "x-appwrite": { "method": "updateTopic", - "weight": 347, + "group": "topics", + "weight": 346, "cookies": false, "type": "", "deprecated": false, @@ -16240,7 +16371,8 @@ }, "x-appwrite": { "method": "deleteTopic", - "weight": 348, + "group": "topics", + "weight": 347, "cookies": false, "type": "", "deprecated": false, @@ -16302,7 +16434,8 @@ }, "x-appwrite": { "method": "listTopicLogs", - "weight": 345, + "group": "topics", + "weight": 344, "cookies": false, "type": "", "deprecated": false, @@ -16377,7 +16510,8 @@ }, "x-appwrite": { "method": "listSubscribers", - "weight": 350, + "group": "subscribers", + "weight": 349, "cookies": false, "type": "", "deprecated": false, @@ -16461,7 +16595,8 @@ }, "x-appwrite": { "method": "createSubscriber", - "weight": 349, + "group": "subscribers", + "weight": 348, "cookies": false, "type": "", "deprecated": false, @@ -16552,7 +16687,8 @@ }, "x-appwrite": { "method": "getSubscriber", - "weight": 352, + "group": "subscribers", + "weight": 351, "cookies": false, "type": "", "deprecated": false, @@ -16615,7 +16751,8 @@ }, "x-appwrite": { "method": "deleteSubscriber", - "weight": 353, + "group": "subscribers", + "weight": 352, "cookies": false, "type": "", "deprecated": false, @@ -16691,7 +16828,8 @@ }, "x-appwrite": { "method": "list", - "weight": 402, + "group": "sites", + "weight": 401, "cookies": false, "type": "", "deprecated": false, @@ -16761,7 +16899,8 @@ }, "x-appwrite": { "method": "create", - "weight": 400, + "group": "sites", + "weight": 399, "cookies": false, "type": "", "deprecated": false, @@ -17007,7 +17146,8 @@ }, "x-appwrite": { "method": "listFrameworks", - "weight": 405, + "group": "frameworks", + "weight": 404, "cookies": false, "type": "", "deprecated": false, @@ -17056,7 +17196,8 @@ }, "x-appwrite": { "method": "listSpecifications", - "weight": 428, + "group": "frameworks", + "weight": 427, "cookies": false, "type": "", "deprecated": false, @@ -17106,7 +17247,8 @@ }, "x-appwrite": { "method": "get", - "weight": 401, + "group": "sites", + "weight": 400, "cookies": false, "type": "", "deprecated": false, @@ -17165,7 +17307,8 @@ }, "x-appwrite": { "method": "update", - "weight": 403, + "group": "sites", + "weight": 402, "cookies": false, "type": "", "deprecated": false, @@ -17407,7 +17550,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 404, + "group": "sites", + "weight": 403, "cookies": false, "type": "", "deprecated": false, @@ -17468,7 +17612,8 @@ }, "x-appwrite": { "method": "updateSiteDeployment", - "weight": 411, + "group": "sites", + "weight": 410, "cookies": false, "type": "", "deprecated": false, @@ -17548,7 +17693,8 @@ }, "x-appwrite": { "method": "listDeployments", - "weight": 410, + "group": "deployments", + "weight": 409, "cookies": false, "type": "", "deprecated": false, @@ -17631,7 +17777,8 @@ }, "x-appwrite": { "method": "createDeployment", - "weight": 406, + "group": "deployments", + "weight": 405, "cookies": false, "type": "upload", "deprecated": false, @@ -17732,7 +17879,8 @@ }, "x-appwrite": { "method": "createDuplicateDeployment", - "weight": 414, + "group": "deployments", + "weight": 413, "cookies": false, "type": "", "deprecated": false, @@ -17812,7 +17960,8 @@ }, "x-appwrite": { "method": "createTemplateDeployment", - "weight": 407, + "group": "deployments", + "weight": 406, "cookies": false, "type": "", "deprecated": false, @@ -17915,7 +18064,8 @@ }, "x-appwrite": { "method": "createVcsDeployment", - "weight": 408, + "group": "deployments", + "weight": 407, "cookies": false, "type": "", "deprecated": false, @@ -18013,7 +18163,8 @@ }, "x-appwrite": { "method": "getDeployment", - "weight": 409, + "group": "deployments", + "weight": 408, "cookies": false, "type": "", "deprecated": false, @@ -18075,7 +18226,8 @@ }, "x-appwrite": { "method": "deleteDeployment", - "weight": 412, + "group": "deployments", + "weight": 411, "cookies": false, "type": "", "deprecated": false, @@ -18126,7 +18278,7 @@ }, "\/sites\/{siteId}\/deployments\/{deploymentId}\/download": { "get": { - "summary": "Download deployment", + "summary": "Get deployment download", "operationId": "sitesGetDeploymentDownload", "tags": [ "sites" @@ -18139,7 +18291,8 @@ }, "x-appwrite": { "method": "getDeploymentDownload", - "weight": 413, + "group": "deployments", + "weight": 412, "cookies": false, "type": "location", "deprecated": false, @@ -18229,7 +18382,8 @@ }, "x-appwrite": { "method": "updateDeploymentStatus", - "weight": 415, + "group": "deployments", + "weight": 414, "cookies": false, "type": "", "deprecated": false, @@ -18300,7 +18454,8 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 417, + "group": "logs", + "weight": 416, "cookies": false, "type": "", "deprecated": false, @@ -18371,7 +18526,8 @@ }, "x-appwrite": { "method": "getLog", - "weight": 416, + "group": "logs", + "weight": 415, "cookies": false, "type": "", "deprecated": false, @@ -18433,7 +18589,8 @@ }, "x-appwrite": { "method": "deleteLog", - "weight": 418, + "group": "logs", + "weight": 417, "cookies": false, "type": "", "deprecated": false, @@ -18504,7 +18661,8 @@ }, "x-appwrite": { "method": "listVariables", - "weight": 421, + "group": "variables", + "weight": 420, "cookies": false, "type": "", "deprecated": false, @@ -18563,7 +18721,8 @@ }, "x-appwrite": { "method": "createVariable", - "weight": 419, + "group": "variables", + "weight": 418, "cookies": false, "type": "", "deprecated": false, @@ -18654,7 +18813,8 @@ }, "x-appwrite": { "method": "getVariable", - "weight": 420, + "group": "variables", + "weight": 419, "cookies": false, "type": "", "deprecated": false, @@ -18723,7 +18883,8 @@ }, "x-appwrite": { "method": "updateVariable", - "weight": 422, + "group": "variables", + "weight": 421, "cookies": false, "type": "", "deprecated": false, @@ -18814,7 +18975,8 @@ }, "x-appwrite": { "method": "deleteVariable", - "weight": 423, + "group": "variables", + "weight": 422, "cookies": false, "type": "", "deprecated": false, @@ -18885,7 +19047,8 @@ }, "x-appwrite": { "method": "listBuckets", - "weight": 204, + "group": "buckets", + "weight": 203, "cookies": false, "type": "", "deprecated": false, @@ -18958,7 +19121,8 @@ }, "x-appwrite": { "method": "createBucket", - "weight": 203, + "group": "buckets", + "weight": 202, "cookies": false, "type": "", "deprecated": false, @@ -19085,7 +19249,8 @@ }, "x-appwrite": { "method": "getBucket", - "weight": 205, + "group": "buckets", + "weight": 204, "cookies": false, "type": "", "deprecated": false, @@ -19144,7 +19309,8 @@ }, "x-appwrite": { "method": "updateBucket", - "weight": 206, + "group": "buckets", + "weight": 205, "cookies": false, "type": "", "deprecated": false, @@ -19268,7 +19434,8 @@ }, "x-appwrite": { "method": "deleteBucket", - "weight": 207, + "group": "buckets", + "weight": 206, "cookies": false, "type": "", "deprecated": false, @@ -19329,7 +19496,8 @@ }, "x-appwrite": { "method": "listFiles", - "weight": 209, + "group": "files", + "weight": 208, "cookies": false, "type": "", "deprecated": false, @@ -19416,7 +19584,8 @@ }, "x-appwrite": { "method": "createFile", - "weight": 208, + "group": "files", + "weight": 207, "cookies": false, "type": "upload", "deprecated": false, @@ -19515,7 +19684,8 @@ }, "x-appwrite": { "method": "getFile", - "weight": 210, + "group": "files", + "weight": 209, "cookies": false, "type": "", "deprecated": false, @@ -19588,7 +19758,8 @@ }, "x-appwrite": { "method": "updateFile", - "weight": 215, + "group": "files", + "weight": 214, "cookies": false, "type": "", "deprecated": false, @@ -19678,7 +19849,8 @@ }, "x-appwrite": { "method": "deleteFile", - "weight": 216, + "group": "files", + "weight": 215, "cookies": false, "type": "", "deprecated": false, @@ -19746,7 +19918,8 @@ }, "x-appwrite": { "method": "getFileDownload", - "weight": 212, + "group": "files", + "weight": 211, "cookies": false, "type": "location", "deprecated": false, @@ -19814,7 +19987,8 @@ }, "x-appwrite": { "method": "getFilePreview", - "weight": 211, + "group": "files", + "weight": 210, "cookies": false, "type": "location", "deprecated": false, @@ -20032,7 +20206,8 @@ }, "x-appwrite": { "method": "getFileView", - "weight": 213, + "group": "files", + "weight": 212, "cookies": false, "type": "location", "deprecated": false, @@ -20107,7 +20282,8 @@ }, "x-appwrite": { "method": "list", - "weight": 220, + "group": "teams", + "weight": 219, "cookies": false, "type": "", "deprecated": false, @@ -20184,7 +20360,8 @@ }, "x-appwrite": { "method": "create", - "weight": 219, + "group": "teams", + "weight": 218, "cookies": false, "type": "", "deprecated": false, @@ -20270,7 +20447,8 @@ }, "x-appwrite": { "method": "get", - "weight": 221, + "group": "teams", + "weight": 220, "cookies": false, "type": "", "deprecated": false, @@ -20333,7 +20511,8 @@ }, "x-appwrite": { "method": "updateName", - "weight": 223, + "group": "teams", + "weight": 222, "cookies": false, "type": "", "deprecated": false, @@ -20408,7 +20587,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 225, + "group": "teams", + "weight": 224, "cookies": false, "type": "", "deprecated": false, @@ -20473,7 +20653,8 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 227, + "group": "memberships", + "weight": 226, "cookies": false, "type": "", "deprecated": false, @@ -20560,7 +20741,8 @@ }, "x-appwrite": { "method": "createMembership", - "weight": 226, + "group": "memberships", + "weight": 225, "cookies": false, "type": "", "deprecated": false, @@ -20672,7 +20854,8 @@ }, "x-appwrite": { "method": "getMembership", - "weight": 228, + "group": "memberships", + "weight": 227, "cookies": false, "type": "", "deprecated": false, @@ -20745,7 +20928,8 @@ }, "x-appwrite": { "method": "updateMembership", - "weight": 229, + "group": "memberships", + "weight": 228, "cookies": false, "type": "", "deprecated": false, @@ -20833,7 +21017,8 @@ }, "x-appwrite": { "method": "deleteMembership", - "weight": 231, + "group": "memberships", + "weight": 230, "cookies": false, "type": "", "deprecated": false, @@ -20908,7 +21093,8 @@ }, "x-appwrite": { "method": "updateMembershipStatus", - "weight": 230, + "group": "memberships", + "weight": 229, "cookies": false, "type": "", "deprecated": false, @@ -21006,7 +21192,8 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 222, + "group": "teams", + "weight": 221, "cookies": false, "type": "", "deprecated": false, @@ -21067,7 +21254,8 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 224, + "group": "teams", + "weight": 223, "cookies": false, "type": "", "deprecated": false, @@ -21149,7 +21337,8 @@ }, "x-appwrite": { "method": "list", - "weight": 432, + "group": "files", + "weight": 436, "cookies": false, "type": "", "deprecated": false, @@ -21232,7 +21421,8 @@ }, "x-appwrite": { "method": "createFileToken", - "weight": 429, + "group": "files", + "weight": 433, "cookies": false, "type": "", "deprecated": false, @@ -21332,7 +21522,8 @@ }, "x-appwrite": { "method": "get", - "weight": 430, + "group": "tokens", + "weight": 434, "cookies": false, "type": "", "deprecated": false, @@ -21395,7 +21586,8 @@ }, "x-appwrite": { "method": "update", - "weight": 433, + "group": "tokens", + "weight": 437, "cookies": false, "type": "", "deprecated": false, @@ -21476,7 +21668,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 434, + "group": "tokens", + "weight": 438, "cookies": false, "type": "", "deprecated": false, @@ -21541,7 +21734,8 @@ }, "x-appwrite": { "method": "getJWT", - "weight": 431, + "group": "tokens", + "weight": 435, "cookies": false, "type": "", "deprecated": false, @@ -21606,7 +21800,8 @@ }, "x-appwrite": { "method": "list", - "weight": 242, + "group": "users", + "weight": 241, "cookies": false, "type": "", "deprecated": false, @@ -21679,7 +21874,8 @@ }, "x-appwrite": { "method": "create", - "weight": 233, + "group": "users", + "weight": 232, "cookies": false, "type": "", "deprecated": false, @@ -21767,7 +21963,8 @@ }, "x-appwrite": { "method": "createArgon2User", - "weight": 236, + "group": "users", + "weight": 235, "cookies": false, "type": "", "deprecated": false, @@ -21852,7 +22049,8 @@ }, "x-appwrite": { "method": "createBcryptUser", - "weight": 234, + "group": "users", + "weight": 233, "cookies": false, "type": "", "deprecated": false, @@ -21937,7 +22135,8 @@ }, "x-appwrite": { "method": "listIdentities", - "weight": 250, + "group": "identities", + "weight": 249, "cookies": false, "type": "", "deprecated": false, @@ -22005,7 +22204,8 @@ }, "x-appwrite": { "method": "deleteIdentity", - "weight": 273, + "group": "identities", + "weight": 272, "cookies": false, "type": "", "deprecated": false, @@ -22066,7 +22266,8 @@ }, "x-appwrite": { "method": "createMD5User", - "weight": 235, + "group": "users", + "weight": 234, "cookies": false, "type": "", "deprecated": false, @@ -22151,7 +22352,8 @@ }, "x-appwrite": { "method": "createPHPassUser", - "weight": 238, + "group": "users", + "weight": 237, "cookies": false, "type": "", "deprecated": false, @@ -22236,7 +22438,8 @@ }, "x-appwrite": { "method": "createScryptUser", - "weight": 239, + "group": "users", + "weight": 238, "cookies": false, "type": "", "deprecated": false, @@ -22351,7 +22554,8 @@ }, "x-appwrite": { "method": "createScryptModifiedUser", - "weight": 240, + "group": "users", + "weight": 239, "cookies": false, "type": "", "deprecated": false, @@ -22454,7 +22658,8 @@ }, "x-appwrite": { "method": "createSHAUser", - "weight": 237, + "group": "users", + "weight": 236, "cookies": false, "type": "", "deprecated": false, @@ -22559,7 +22764,8 @@ }, "x-appwrite": { "method": "get", - "weight": 243, + "group": "users", + "weight": 242, "cookies": false, "type": "", "deprecated": false, @@ -22611,7 +22817,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 271, + "group": "users", + "weight": 270, "cookies": false, "type": "", "deprecated": false, @@ -22672,7 +22879,8 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 256, + "group": "users", + "weight": 255, "cookies": false, "type": "", "deprecated": false, @@ -22752,7 +22960,8 @@ }, "x-appwrite": { "method": "createJWT", - "weight": 274, + "group": "sessions", + "weight": 273, "cookies": false, "type": "", "deprecated": false, @@ -22834,7 +23043,8 @@ }, "x-appwrite": { "method": "updateLabels", - "weight": 252, + "group": "users", + "weight": 251, "cookies": false, "type": "", "deprecated": false, @@ -22917,7 +23127,8 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 248, + "group": "logs", + "weight": 247, "cookies": false, "type": "", "deprecated": false, @@ -22991,7 +23202,8 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 247, + "group": "memberships", + "weight": 246, "cookies": false, "type": "", "deprecated": false, @@ -23076,7 +23288,8 @@ }, "x-appwrite": { "method": "updateMfa", - "weight": 261, + "group": "users", + "weight": 260, "cookies": false, "type": "", "deprecated": false, @@ -23149,7 +23362,8 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", - "weight": 266, + "group": "mfa", + "weight": 265, "cookies": false, "type": "", "deprecated": false, @@ -23225,7 +23439,8 @@ }, "x-appwrite": { "method": "listMfaFactors", - "weight": 262, + "group": "mfa", + "weight": 261, "cookies": false, "type": "", "deprecated": false, @@ -23286,7 +23501,8 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", - "weight": 263, + "group": "mfa", + "weight": 262, "cookies": false, "type": "", "deprecated": false, @@ -23325,7 +23541,7 @@ ] }, "put": { - "summary": "Regenerate MFA recovery codes", + "summary": "Update MFA recovery codes (regenerate)", "operationId": "usersUpdateMfaRecoveryCodes", "tags": [ "users" @@ -23345,7 +23561,8 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", - "weight": 265, + "group": "mfa", + "weight": 264, "cookies": false, "type": "", "deprecated": false, @@ -23404,7 +23621,8 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", - "weight": 264, + "group": "mfa", + "weight": 263, "cookies": false, "type": "", "deprecated": false, @@ -23465,7 +23683,8 @@ }, "x-appwrite": { "method": "updateName", - "weight": 254, + "group": "users", + "weight": 253, "cookies": false, "type": "", "deprecated": false, @@ -23545,7 +23764,8 @@ }, "x-appwrite": { "method": "updatePassword", - "weight": 255, + "group": "users", + "weight": 254, "cookies": false, "type": "", "deprecated": false, @@ -23625,7 +23845,8 @@ }, "x-appwrite": { "method": "updatePhone", - "weight": 257, + "group": "users", + "weight": 256, "cookies": false, "type": "", "deprecated": false, @@ -23705,7 +23926,8 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 244, + "group": "users", + "weight": 243, "cookies": false, "type": "", "deprecated": false, @@ -23764,7 +23986,8 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 259, + "group": "users", + "weight": 258, "cookies": false, "type": "", "deprecated": false, @@ -23844,7 +24067,8 @@ }, "x-appwrite": { "method": "listSessions", - "weight": 246, + "group": "sessions", + "weight": 245, "cookies": false, "type": "", "deprecated": false, @@ -23903,7 +24127,8 @@ }, "x-appwrite": { "method": "createSession", - "weight": 267, + "group": "sessions", + "weight": 266, "cookies": false, "type": "", "deprecated": false, @@ -23955,7 +24180,8 @@ }, "x-appwrite": { "method": "deleteSessions", - "weight": 270, + "group": "sessions", + "weight": 269, "cookies": false, "type": "", "deprecated": false, @@ -24009,7 +24235,8 @@ }, "x-appwrite": { "method": "deleteSession", - "weight": 269, + "group": "sessions", + "weight": 268, "cookies": false, "type": "", "deprecated": false, @@ -24080,7 +24307,8 @@ }, "x-appwrite": { "method": "updateStatus", - "weight": 251, + "group": "users", + "weight": 250, "cookies": false, "type": "", "deprecated": false, @@ -24160,7 +24388,8 @@ }, "x-appwrite": { "method": "listTargets", - "weight": 249, + "group": "targets", + "weight": 248, "cookies": false, "type": "", "deprecated": false, @@ -24233,7 +24462,8 @@ }, "x-appwrite": { "method": "createTarget", - "weight": 241, + "group": "targets", + "weight": 240, "cookies": false, "type": "", "deprecated": false, @@ -24343,7 +24573,8 @@ }, "x-appwrite": { "method": "getTarget", - "weight": 245, + "group": "targets", + "weight": 244, "cookies": false, "type": "", "deprecated": false, @@ -24413,7 +24644,8 @@ }, "x-appwrite": { "method": "updateTarget", - "weight": 260, + "group": "targets", + "weight": 259, "cookies": false, "type": "", "deprecated": false, @@ -24502,7 +24734,8 @@ }, "x-appwrite": { "method": "deleteTarget", - "weight": 272, + "group": "targets", + "weight": 271, "cookies": false, "type": "", "deprecated": false, @@ -24574,7 +24807,8 @@ }, "x-appwrite": { "method": "createToken", - "weight": 268, + "group": "sessions", + "weight": 267, "cookies": false, "type": "", "deprecated": false, @@ -24656,7 +24890,8 @@ }, "x-appwrite": { "method": "updateEmailVerification", - "weight": 258, + "group": "users", + "weight": 257, "cookies": false, "type": "", "deprecated": false, @@ -24736,7 +24971,8 @@ }, "x-appwrite": { "method": "updatePhoneVerification", - "weight": 253, + "group": "users", + "weight": 252, "cookies": false, "type": "", "deprecated": false, diff --git a/app/config/specs/swagger2-1.5.x-client.json b/app/config/specs/swagger2-1.5.x-client.json index 13915f91f6..6f1576f7e3 100644 --- a/app/config/specs/swagger2-1.5.x-client.json +++ b/app/config/specs/swagger2-1.5.x-client.json @@ -1 +1,9872 @@ -{"swagger":"2.0","info":{"version":"1.5.8","title":"Appwrite","description":"Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https:\/\/appwrite.io\/docs](https:\/\/appwrite.io\/docs)","termsOfService":"https:\/\/appwrite.io\/policy\/terms","contact":{"name":"Appwrite Team","url":"https:\/\/appwrite.io\/support","email":"team@appwrite.io"},"license":{"name":"BSD-3-Clause","url":"https:\/\/raw.githubusercontent.com\/appwrite\/appwrite\/master\/LICENSE"}},"host":"cloud.appwrite.io","basePath":"\/v1","schemes":["https"],"consumes":["application\/json","multipart\/form-data"],"produces":["application\/json"],"securityDefinitions":{"Project":{"type":"apiKey","name":"X-Appwrite-Project","description":"Your project ID","in":"header","x-appwrite":{"demo":"<YOUR_PROJECT_ID>"}},"JWT":{"type":"apiKey","name":"X-Appwrite-JWT","description":"Your secret JSON Web Token","in":"header","x-appwrite":{"demo":"<YOUR_JWT>"}},"Locale":{"type":"apiKey","name":"X-Appwrite-Locale","description":"","in":"header","x-appwrite":{"demo":"en"}},"Session":{"type":"apiKey","name":"X-Appwrite-Session","description":"The user session to authenticate with","in":"header"}},"paths":{"\/account":{"get":{"summary":"Get account","operationId":"accountGet","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Get the currently logged in user.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"get","weight":8,"cookies":false,"type":"","deprecated":false,"demo":"account\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]},"post":{"summary":"Create account","operationId":"accountCreate","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to allow a new user to register a new account in your project. After the user registration completes successfully, you can use the [\/account\/verfication](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createVerification) route to start verifying the user email address. To allow the new user to login to their new account, you need to create a new [account session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createEmailSession).","responses":{"201":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"create","weight":7,"cookies":false,"type":"","deprecated":false,"demo":"account\/create.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"password":{"type":"string","description":"New user password. Must be between 8 and 256 chars.","default":null,"x-example":null},"name":{"type":"string","description":"User name. Max length: 128 chars.","default":"","x-example":"<NAME>"}},"required":["userId","email","password"]}}]}},"\/account\/email":{"patch":{"summary":"Update email","operationId":"accountUpdateEmail","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Update currently logged in user account email address. After changing user address, the user confirmation status will get reset. A new confirmation email is not sent automatically however you can use the send confirmation email endpoint again to send the confirmation email. For security measures, user password is required to complete this request.\nThis endpoint can also be used to convert an anonymous account to a normal one, by passing an email address and a new password.\n","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updateEmail","weight":33,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-email.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"password":{"type":"string","description":"User password. Must be at least 8 chars.","default":null,"x-example":"password"}},"required":["email","password"]}}]}},"\/account\/identities":{"get":{"summary":"List Identities","operationId":"accountListIdentities","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Get the list of identities for the currently logged in user.","responses":{"200":{"description":"Identities List","schema":{"$ref":"#\/definitions\/identityList"}}},"x-appwrite":{"method":"listIdentities","weight":56,"cookies":false,"type":"","deprecated":false,"demo":"account\/list-identities.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-identities.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account\/identities","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, provider, providerUid, providerEmail, providerAccessTokenExpiry","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]}},"\/account\/identities\/{identityId}":{"delete":{"summary":"Delete identity","operationId":"accountDeleteIdentity","consumes":["application\/json"],"produces":[],"tags":["account"],"description":"Delete an identity by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteIdentity","weight":57,"cookies":false,"type":"","deprecated":false,"demo":"account\/delete-identity.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-identity.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"identityId","description":"Identity ID.","required":true,"type":"string","x-example":"<IDENTITY_ID>","in":"path"}]}},"\/account\/jwt":{"post":{"summary":"Create JWT","operationId":"accountCreateJWT","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to create a JSON Web Token. You can use the resulting JWT to authenticate on behalf of the current user when working with the Appwrite server-side API and SDKs. The JWT secret is valid for 15 minutes from its creation and will be invalid if the user will logout in that time frame.","responses":{"201":{"description":"JWT","schema":{"$ref":"#\/definitions\/jwt"}}},"x-appwrite":{"method":"createJWT","weight":28,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-j-w-t.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md","rate-limit":100,"rate-time":3600,"rate-key":"url:{url},userId:{userId}","scope":"account","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}]}},"\/account\/logs":{"get":{"summary":"List logs","operationId":"accountListLogs","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Get the list of latest security activity logs for the currently logged in user. Each log returns user IP address, location and date and time of log.","responses":{"200":{"description":"Logs List","schema":{"$ref":"#\/definitions\/logList"}}},"x-appwrite":{"method":"listLogs","weight":30,"cookies":false,"type":"","deprecated":false,"demo":"account\/list-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]}},"\/account\/mfa":{"patch":{"summary":"Update MFA","operationId":"accountUpdateMFA","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Enable or disable MFA on an account.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updateMFA","weight":43,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-m-f-a.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"mfa":{"type":"boolean","description":"Enable or disable MFA.","default":null,"x-example":false}},"required":["mfa"]}}]}},"\/account\/mfa\/authenticators\/{type}":{"post":{"summary":"Create Authenticator","operationId":"accountCreateMfaAuthenticator","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Add an authenticator app to be used as an MFA factor. Verify the authenticator using the [verify authenticator](\/docs\/references\/cloud\/client-web\/account#updateMfaAuthenticator) method.","responses":{"200":{"description":"MFAType","schema":{"$ref":"#\/definitions\/mfaType"}}},"x-appwrite":{"method":"createMfaAuthenticator","weight":45,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-mfa-authenticator.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-authenticator.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"type","description":"Type of authenticator. Must be `totp`","required":true,"type":"string","x-example":"totp","enum":["totp"],"x-enum-name":"AuthenticatorType","x-enum-keys":[],"in":"path"}]},"put":{"summary":"Verify Authenticator","operationId":"accountUpdateMfaAuthenticator","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Verify an authenticator app after adding it using the [add authenticator](\/docs\/references\/cloud\/client-web\/account#createMfaAuthenticator) method.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updateMfaAuthenticator","weight":46,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-mfa-authenticator.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-authenticator.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"type","description":"Type of authenticator.","required":true,"type":"string","x-example":"totp","enum":["totp"],"x-enum-name":"AuthenticatorType","x-enum-keys":[],"in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"otp":{"type":"string","description":"Valid verification token.","default":null,"x-example":"<OTP>"}},"required":["otp"]}}]},"delete":{"summary":"Delete Authenticator","operationId":"accountDeleteMfaAuthenticator","consumes":["application\/json"],"produces":[],"tags":["account"],"description":"Delete an authenticator for a user by ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteMfaAuthenticator","weight":50,"cookies":false,"type":"","deprecated":false,"demo":"account\/delete-mfa-authenticator.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-mfa-authenticator.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"type","description":"Type of authenticator.","required":true,"type":"string","x-example":"totp","enum":["totp"],"x-enum-name":"AuthenticatorType","x-enum-keys":[],"in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"otp":{"type":"string","description":"Valid verification token.","default":null,"x-example":"<OTP>"}},"required":["otp"]}}]}},"\/account\/mfa\/challenge":{"post":{"summary":"Create MFA Challenge","operationId":"accountCreateMfaChallenge","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Begin the process of MFA verification after sign-in. Finish the flow with [updateMfaChallenge](\/docs\/references\/cloud\/client-web\/account#updateMfaChallenge) method.","responses":{"201":{"description":"MFA Challenge","schema":{"$ref":"#\/definitions\/mfaChallenge"}}},"x-appwrite":{"method":"createMfaChallenge","weight":51,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-mfa-challenge.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},token:{param-token}","scope":"account","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"factor":{"type":"string","description":"Factor used for verification. Must be one of following: `email`, `phone`, `totp`, `recoveryCode`.","default":null,"x-example":"email","enum":["email","phone","totp","recoverycode"],"x-enum-name":"AuthenticationFactor","x-enum-keys":[]}},"required":["factor"]}}]},"put":{"summary":"Create MFA Challenge (confirmation)","operationId":"accountUpdateMfaChallenge","consumes":["application\/json"],"produces":[],"tags":["account"],"description":"Complete the MFA challenge by providing the one-time password. Finish the process of MFA verification by providing the one-time password. To begin the flow, use [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"updateMfaChallenge","weight":52,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-mfa-challenge.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md","rate-limit":10,"rate-time":3600,"rate-key":"userId:{param-userId}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"challengeId":{"type":"string","description":"ID of the challenge.","default":null,"x-example":"<CHALLENGE_ID>"},"otp":{"type":"string","description":"Valid verification token.","default":null,"x-example":"<OTP>"}},"required":["challengeId","otp"]}}]}},"\/account\/mfa\/factors":{"get":{"summary":"List Factors","operationId":"accountListMfaFactors","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"List the factors available on the account to be used as a MFA challange.","responses":{"200":{"description":"MFAFactors","schema":{"$ref":"#\/definitions\/mfaFactors"}}},"x-appwrite":{"method":"listMfaFactors","weight":44,"cookies":false,"type":"","deprecated":false,"demo":"account\/list-mfa-factors.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-mfa-factors.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/account\/mfa\/recovery-codes":{"get":{"summary":"Get MFA Recovery Codes","operationId":"accountGetMfaRecoveryCodes","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Get recovery codes that can be used as backup for MFA flow. Before getting codes, they must be generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method. An OTP challenge is required to read recovery codes.","responses":{"200":{"description":"MFA Recovery Codes","schema":{"$ref":"#\/definitions\/mfaRecoveryCodes"}}},"x-appwrite":{"method":"getMfaRecoveryCodes","weight":49,"cookies":false,"type":"","deprecated":false,"demo":"account\/get-mfa-recovery-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-mfa-recovery-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]},"post":{"summary":"Create MFA Recovery Codes","operationId":"accountCreateMfaRecoveryCodes","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Generate recovery codes as backup for MFA flow. It's recommended to generate and show then immediately after user successfully adds their authehticator. Recovery codes can be used as a MFA verification type in [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method.","responses":{"201":{"description":"MFA Recovery Codes","schema":{"$ref":"#\/definitions\/mfaRecoveryCodes"}}},"x-appwrite":{"method":"createMfaRecoveryCodes","weight":47,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-mfa-recovery-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-recovery-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]},"patch":{"summary":"Regenerate MFA Recovery Codes","operationId":"accountUpdateMfaRecoveryCodes","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Regenerate recovery codes that can be used as backup for MFA flow. Before regenerating codes, they must be first generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method. An OTP challenge is required to regenreate recovery codes.","responses":{"200":{"description":"MFA Recovery Codes","schema":{"$ref":"#\/definitions\/mfaRecoveryCodes"}}},"x-appwrite":{"method":"updateMfaRecoveryCodes","weight":48,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-mfa-recovery-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-recovery-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/account\/name":{"patch":{"summary":"Update name","operationId":"accountUpdateName","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Update currently logged in user account name.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updateName","weight":31,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-name.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-name.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"User name. Max length: 128 chars.","default":null,"x-example":"<NAME>"}},"required":["name"]}}]}},"\/account\/password":{"patch":{"summary":"Update password","operationId":"accountUpdatePassword","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Update currently logged in user password. For validation, user is required to pass in the new password, and the old password. For users created with OAuth, Team Invites and Magic URL, oldPassword is optional.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updatePassword","weight":32,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-password.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-password.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"password":{"type":"string","description":"New user password. Must be at least 8 chars.","default":null,"x-example":null},"oldPassword":{"type":"string","description":"Current user password. Must be at least 8 chars.","default":"","x-example":"password"}},"required":["password"]}}]}},"\/account\/phone":{"patch":{"summary":"Update phone","operationId":"accountUpdatePhone","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Update the currently logged in user's phone number. After updating the phone number, the phone verification status will be reset. A confirmation SMS is not sent automatically, however you can use the [POST \/account\/verification\/phone](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createPhoneVerification) endpoint to send a confirmation SMS.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updatePhone","weight":34,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-phone.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"phone":{"type":"string","description":"Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","default":null,"x-example":"+12065550100"},"password":{"type":"string","description":"User password. Must be at least 8 chars.","default":null,"x-example":"password"}},"required":["phone","password"]}}]}},"\/account\/prefs":{"get":{"summary":"Get account preferences","operationId":"accountGetPrefs","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Get the preferences as a key-value object for the currently logged in user.","responses":{"200":{"description":"Preferences","schema":{"$ref":"#\/definitions\/preferences"}}},"x-appwrite":{"method":"getPrefs","weight":29,"cookies":false,"type":"","deprecated":false,"demo":"account\/get-prefs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-prefs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account\/prefs","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]},"patch":{"summary":"Update preferences","operationId":"accountUpdatePrefs","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Update currently logged in user account preferences. The object you pass is stored as is, and replaces any previous value. The maximum allowed prefs size is 64kB and throws error if exceeded.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updatePrefs","weight":35,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-prefs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-prefs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account\/prefs","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"prefs":{"type":"object","description":"Prefs key-value JSON object.","default":{},"x-example":"{}"}},"required":["prefs"]}}]}},"\/account\/recovery":{"post":{"summary":"Create password recovery","operationId":"accountCreateRecovery","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Sends the user an email with a temporary secret key for password reset. When the user clicks the confirmation link he is redirected back to your app password reset URL with the secret key and email address values attached to the URL query string. Use the query string params to submit a request to the [PUT \/account\/recovery](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateRecovery) endpoint to complete the process. The verification link sent to the user's email address is valid for 1 hour.","responses":{"201":{"description":"Token","schema":{"$ref":"#\/definitions\/token"}}},"x-appwrite":{"method":"createRecovery","weight":37,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-recovery.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-recovery.md","rate-limit":10,"rate-time":3600,"rate-key":["url:{url},email:{param-email}","url:{url},ip:{ip}"],"scope":"sessions.write","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"url":{"type":"string","description":"URL to redirect the user back to your app from the recovery email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","default":null,"x-example":"https:\/\/example.com"}},"required":["email","url"]}}]},"put":{"summary":"Create password recovery (confirmation)","operationId":"accountUpdateRecovery","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to complete the user account password reset. Both the **userId** and **secret** arguments will be passed as query parameters to the redirect URL you have provided when sending your request to the [POST \/account\/recovery](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createRecovery) endpoint.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md) the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.","responses":{"200":{"description":"Token","schema":{"$ref":"#\/definitions\/token"}}},"x-appwrite":{"method":"updateRecovery","weight":38,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-recovery.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-recovery.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},userId:{param-userId}","scope":"sessions.write","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID.","default":null,"x-example":"<USER_ID>"},"secret":{"type":"string","description":"Valid reset token.","default":null,"x-example":"<SECRET>"},"password":{"type":"string","description":"New user password. Must be between 8 and 256 chars.","default":null,"x-example":null}},"required":["userId","secret","password"]}}]}},"\/account\/sessions":{"get":{"summary":"List sessions","operationId":"accountListSessions","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Get the list of active sessions across different devices for the currently logged in user.","responses":{"200":{"description":"Sessions List","schema":{"$ref":"#\/definitions\/sessionList"}}},"x-appwrite":{"method":"listSessions","weight":10,"cookies":false,"type":"","deprecated":false,"demo":"account\/list-sessions.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-sessions.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account\/sessions","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]},"delete":{"summary":"Delete sessions","operationId":"accountDeleteSessions","consumes":["application\/json"],"produces":[],"tags":["account"],"description":"Delete all sessions from the user account and remove any sessions cookies from the end client.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteSessions","weight":11,"cookies":false,"type":"","deprecated":false,"demo":"account\/delete-sessions.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-sessions.md","rate-limit":100,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/account\/sessions\/anonymous":{"post":{"summary":"Create anonymous session","operationId":"accountCreateAnonymousSession","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to allow a new user to register an anonymous account in your project. This route will also create a new session for the user. To allow the new user to convert an anonymous account to a normal account, you need to update its [email and password](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateEmail) or create an [OAuth2 session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#CreateOAuth2Session).","responses":{"201":{"description":"Session","schema":{"$ref":"#\/definitions\/session"}}},"x-appwrite":{"method":"createAnonymousSession","weight":16,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-anonymous-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-anonymous.md","rate-limit":50,"rate-time":3600,"rate-key":"ip:{ip}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}]}},"\/account\/sessions\/email":{"post":{"summary":"Create email password session","operationId":"accountCreateEmailPasswordSession","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Allow the user to login into their account by providing a valid email and password combination. This route will create a new session for the user.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).","responses":{"201":{"description":"Session","schema":{"$ref":"#\/definitions\/session"}}},"x-appwrite":{"method":"createEmailPasswordSession","weight":15,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-email-password-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-email-password.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},email:{param-email}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"password":{"type":"string","description":"User password. Must be at least 8 chars.","default":null,"x-example":"password"}},"required":["email","password"]}}]}},"\/account\/sessions\/magic-url":{"put":{"summary":"Update magic URL session","operationId":"accountUpdateMagicURLSession","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.","responses":{"201":{"description":"Session","schema":{"$ref":"#\/definitions\/session"}}},"x-appwrite":{"method":"updateMagicURLSession","weight":25,"cookies":false,"type":"","deprecated":true,"demo":"account\/update-magic-u-r-l-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md","rate-limit":10,"rate-time":3600,"rate-key":"ip:{ip},userId:{param-userId}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"secret":{"type":"string","description":"Valid verification token.","default":null,"x-example":"<SECRET>"}},"required":["userId","secret"]}}]}},"\/account\/sessions\/oauth2\/{provider}":{"get":{"summary":"Create OAuth2 session","operationId":"accountCreateOAuth2Session","consumes":["application\/json"],"produces":["text\/html"],"tags":["account"],"description":"Allow the user to login to their account using the OAuth2 provider of their choice. Each OAuth2 provider should be enabled from the Appwrite console first. Use the success and failure arguments to provide a redirect URL's back to your app when login is completed.\n\nIf there is already an active session, the new session will be attached to the logged-in account. If there are no active sessions, the server will attempt to look for a user with the same email address as the email received from the OAuth2 provider and attach the new session to the existing user. If no matching user is found - the server will create a new user.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).\n","responses":{"301":{"description":"No content"}},"x-appwrite":{"method":"createOAuth2Session","weight":18,"cookies":false,"type":"webAuth","deprecated":false,"demo":"account\/create-o-auth2session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-oauth2.md","rate-limit":50,"rate-time":3600,"rate-key":"ip:{ip}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"provider","description":"OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.","required":true,"type":"string","x-example":"amazon","enum":["amazon","apple","auth0","authentik","autodesk","bitbucket","bitly","box","dailymotion","discord","disqus","dropbox","etsy","facebook","github","gitlab","google","linkedin","microsoft","notion","oidc","okta","paypal","paypalSandbox","podio","salesforce","slack","spotify","stripe","tradeshift","tradeshiftBox","twitch","wordpress","yahoo","yammer","yandex","zoho","zoom","mock"],"x-enum-name":"OAuthProvider","x-enum-keys":[],"in":"path"},{"name":"success","description":"URL to redirect back to your app after a successful login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","required":false,"type":"string","format":"url","x-example":"https:\/\/example.com","default":"","in":"query"},{"name":"failure","description":"URL to redirect back to your app after a failed login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","required":false,"type":"string","format":"url","x-example":"https:\/\/example.com","default":"","in":"query"},{"name":"scopes","description":"A list of custom OAuth2 scopes. Check each provider internal docs for a list of supported scopes. Maximum of 100 scopes are allowed, each 4096 characters long.","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]}},"\/account\/sessions\/phone":{"put":{"summary":"Update phone session","operationId":"accountUpdatePhoneSession","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.","responses":{"201":{"description":"Session","schema":{"$ref":"#\/definitions\/session"}}},"x-appwrite":{"method":"updatePhoneSession","weight":26,"cookies":false,"type":"","deprecated":true,"demo":"account\/update-phone-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md","rate-limit":10,"rate-time":3600,"rate-key":"ip:{ip},userId:{param-userId}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"secret":{"type":"string","description":"Valid verification token.","default":null,"x-example":"<SECRET>"}},"required":["userId","secret"]}}]}},"\/account\/sessions\/token":{"post":{"summary":"Create session","operationId":"accountCreateSession","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.","responses":{"201":{"description":"Session","schema":{"$ref":"#\/definitions\/session"}}},"x-appwrite":{"method":"createSession","weight":17,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md","rate-limit":10,"rate-time":3600,"rate-key":"ip:{ip},userId:{param-userId}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"secret":{"type":"string","description":"Secret of a token generated by login methods. For example, the `createMagicURLToken` or `createPhoneToken` methods.","default":null,"x-example":"<SECRET>"}},"required":["userId","secret"]}}]}},"\/account\/sessions\/{sessionId}":{"get":{"summary":"Get session","operationId":"accountGetSession","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to get a logged in user's session using a Session ID. Inputting 'current' will return the current session being used.","responses":{"200":{"description":"Session","schema":{"$ref":"#\/definitions\/session"}}},"x-appwrite":{"method":"getSession","weight":12,"cookies":false,"type":"","deprecated":false,"demo":"account\/get-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-session.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account\/sessions","offline-key":"{sessionId}","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"sessionId","description":"Session ID. Use the string 'current' to get the current device session.","required":true,"type":"string","x-example":"<SESSION_ID>","in":"path"}]},"patch":{"summary":"Update session","operationId":"accountUpdateSession","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to extend a session's length. Extending a session is useful when session expiry is short. If the session was created using an OAuth provider, this endpoint refreshes the access token from the provider.","responses":{"200":{"description":"Session","schema":{"$ref":"#\/definitions\/session"}}},"x-appwrite":{"method":"updateSession","weight":14,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-session.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"sessionId","description":"Session ID. Use the string 'current' to update the current device session.","required":true,"type":"string","x-example":"<SESSION_ID>","in":"path"}]},"delete":{"summary":"Delete session","operationId":"accountDeleteSession","consumes":["application\/json"],"produces":[],"tags":["account"],"description":"Logout the user. Use 'current' as the session ID to logout on this device, use a session ID to logout on another device. If you're looking to logout the user on all devices, use [Delete Sessions](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#deleteSessions) instead.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteSession","weight":13,"cookies":false,"type":"","deprecated":false,"demo":"account\/delete-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-session.md","rate-limit":100,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"sessionId","description":"Session ID. Use the string 'current' to delete the current device session.","required":true,"type":"string","x-example":"<SESSION_ID>","in":"path"}]}},"\/account\/status":{"patch":{"summary":"Update status","operationId":"accountUpdateStatus","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Block the currently logged in user account. Behind the scene, the user record is not deleted but permanently blocked from any access. To completely delete a user, use the Users API instead.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updateStatus","weight":36,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-status.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-status.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/account\/targets\/push":{"post":{"summary":"Create push target","operationId":"accountCreatePushTarget","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"","responses":{"201":{"description":"Target","schema":{"$ref":"#\/definitions\/target"}}},"x-appwrite":{"method":"createPushTarget","weight":53,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-push-target.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"targets.write","platforms":["client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"targetId":{"type":"string","description":"Target ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<TARGET_ID>"},"identifier":{"type":"string","description":"The target identifier (token, email, phone etc.)","default":null,"x-example":"<IDENTIFIER>"},"providerId":{"type":"string","description":"Provider ID. Message will be sent to this target from the specified provider ID. If no provider ID is set the first setup provider will be used.","default":"","x-example":"<PROVIDER_ID>"}},"required":["targetId","identifier"]}}]}},"\/account\/targets\/{targetId}\/push":{"put":{"summary":"Update push target","operationId":"accountUpdatePushTarget","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"","responses":{"200":{"description":"Target","schema":{"$ref":"#\/definitions\/target"}}},"x-appwrite":{"method":"updatePushTarget","weight":54,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-push-target.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"targets.write","platforms":["client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[]}],"parameters":[{"name":"targetId","description":"Target ID.","required":true,"type":"string","x-example":"<TARGET_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"identifier":{"type":"string","description":"The target identifier (token, email, phone etc.)","default":null,"x-example":"<IDENTIFIER>"}},"required":["identifier"]}}]},"delete":{"summary":"Delete push target","operationId":"accountDeletePushTarget","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deletePushTarget","weight":55,"cookies":false,"type":"","deprecated":false,"demo":"account\/delete-push-target.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"targets.write","platforms":["client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[]}],"parameters":[{"name":"targetId","description":"Target ID.","required":true,"type":"string","x-example":"<TARGET_ID>","in":"path"}]}},"\/account\/tokens\/email":{"post":{"summary":"Create email token (OTP)","operationId":"accountCreateEmailToken","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Sends the user an email with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's email is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).","responses":{"201":{"description":"Token","schema":{"$ref":"#\/definitions\/token"}}},"x-appwrite":{"method":"createEmailToken","weight":24,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-email-token.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-email.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},email:{param-email}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"phrase":{"type":"boolean","description":"Toggle for security phrase. If enabled, email will be send with a randomly generated phrase and the phrase will also be included in the response. Confirming phrases match increases the security of your authentication flow.","default":false,"x-example":false}},"required":["userId","email"]}}]}},"\/account\/tokens\/magic-url":{"post":{"summary":"Create magic URL token","operationId":"accountCreateMagicURLToken","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Sends the user an email with a secret key for creating a session. If the provided user ID has not been registered, a new user will be created. When the user clicks the link in the email, the user is redirected back to the URL you provided with the secret key and userId values attached to the URL query string. Use the query string parameters to submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The link sent to the user's email address is valid for 1 hour. If you are on a mobile device you can leave the URL parameter empty, so that the login completion will be handled by your Appwrite instance by default.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).\n","responses":{"201":{"description":"Token","schema":{"$ref":"#\/definitions\/token"}}},"x-appwrite":{"method":"createMagicURLToken","weight":23,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-magic-u-r-l-token.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-magic-url.md","rate-limit":60,"rate-time":3600,"rate-key":["url:{url},email:{param-email}","url:{url},ip:{ip}"],"scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"url":{"type":"string","description":"URL to redirect the user back to your app from the magic URL login. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","default":"","x-example":"https:\/\/example.com"},"phrase":{"type":"boolean","description":"Toggle for security phrase. If enabled, email will be send with a randomly generated phrase and the phrase will also be included in the response. Confirming phrases match increases the security of your authentication flow.","default":false,"x-example":false}},"required":["userId","email"]}}]}},"\/account\/tokens\/oauth2\/{provider}":{"get":{"summary":"Create OAuth2 token","operationId":"accountCreateOAuth2Token","consumes":["application\/json"],"produces":["text\/html"],"tags":["account"],"description":"Allow the user to login to their account using the OAuth2 provider of their choice. Each OAuth2 provider should be enabled from the Appwrite console first. Use the success and failure arguments to provide a redirect URL's back to your app when login is completed. \n\nIf authentication succeeds, `userId` and `secret` of a token will be appended to the success URL as query parameters. These can be used to create a new session using the [Create session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).","responses":{"301":{"description":"No content"}},"x-appwrite":{"method":"createOAuth2Token","weight":22,"cookies":false,"type":"webAuth","deprecated":false,"demo":"account\/create-o-auth2token.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-oauth2.md","rate-limit":50,"rate-time":3600,"rate-key":"ip:{ip}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"provider","description":"OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.","required":true,"type":"string","x-example":"amazon","enum":["amazon","apple","auth0","authentik","autodesk","bitbucket","bitly","box","dailymotion","discord","disqus","dropbox","etsy","facebook","github","gitlab","google","linkedin","microsoft","notion","oidc","okta","paypal","paypalSandbox","podio","salesforce","slack","spotify","stripe","tradeshift","tradeshiftBox","twitch","wordpress","yahoo","yammer","yandex","zoho","zoom","mock"],"x-enum-name":"OAuthProvider","x-enum-keys":[],"in":"path"},{"name":"success","description":"URL to redirect back to your app after a successful login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","required":false,"type":"string","format":"url","x-example":"https:\/\/example.com","default":"","in":"query"},{"name":"failure","description":"URL to redirect back to your app after a failed login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","required":false,"type":"string","format":"url","x-example":"https:\/\/example.com","default":"","in":"query"},{"name":"scopes","description":"A list of custom OAuth2 scopes. Check each provider internal docs for a list of supported scopes. Maximum of 100 scopes are allowed, each 4096 characters long.","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]}},"\/account\/tokens\/phone":{"post":{"summary":"Create phone token","operationId":"accountCreatePhoneToken","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Sends the user an SMS with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's phone is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).","responses":{"201":{"description":"Token","schema":{"$ref":"#\/definitions\/token"}}},"x-appwrite":{"method":"createPhoneToken","weight":27,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-phone-token.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-phone.md","rate-limit":10,"rate-time":3600,"rate-key":["url:{url},phone:{param-phone}","url:{url},ip:{ip}"],"scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"phone":{"type":"string","description":"Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","default":null,"x-example":"+12065550100"}},"required":["userId","phone"]}}]}},"\/account\/verification":{"post":{"summary":"Create email verification","operationId":"accountCreateVerification","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n","responses":{"201":{"description":"Token","schema":{"$ref":"#\/definitions\/token"}}},"x-appwrite":{"method":"createVerification","weight":39,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},userId:{userId}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"url":{"type":"string","description":"URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","default":null,"x-example":"https:\/\/example.com"}},"required":["url"]}}]},"put":{"summary":"Create email verification (confirmation)","operationId":"accountUpdateVerification","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.","responses":{"200":{"description":"Token","schema":{"$ref":"#\/definitions\/token"}}},"x-appwrite":{"method":"updateVerification","weight":40,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},userId:{param-userId}","scope":"public","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID.","default":null,"x-example":"<USER_ID>"},"secret":{"type":"string","description":"Valid verification token.","default":null,"x-example":"<SECRET>"}},"required":["userId","secret"]}}]}},"\/account\/verification\/phone":{"post":{"summary":"Create phone verification","operationId":"accountCreatePhoneVerification","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to send a verification SMS to the currently logged in user. This endpoint is meant for use after updating a user's phone number using the [accountUpdatePhone](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updatePhone) endpoint. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updatePhoneVerification). The verification code sent to the user's phone number is valid for 15 minutes.","responses":{"201":{"description":"Token","schema":{"$ref":"#\/definitions\/token"}}},"x-appwrite":{"method":"createPhoneVerification","weight":41,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-phone-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-phone-verification.md","rate-limit":10,"rate-time":3600,"rate-key":["url:{url},userId:{userId}","url:{url},ip:{ip}"],"scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]},"put":{"summary":"Update phone verification (confirmation)","operationId":"accountUpdatePhoneVerification","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to complete the user phone verification process. Use the **userId** and **secret** that were sent to your user's phone number to verify the user email ownership. If confirmed this route will return a 200 status code.","responses":{"200":{"description":"Token","schema":{"$ref":"#\/definitions\/token"}}},"x-appwrite":{"method":"updatePhoneVerification","weight":42,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-phone-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone-verification.md","rate-limit":10,"rate-time":3600,"rate-key":"userId:{param-userId}","scope":"public","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID.","default":null,"x-example":"<USER_ID>"},"secret":{"type":"string","description":"Valid verification token.","default":null,"x-example":"<SECRET>"}},"required":["userId","secret"]}}]}},"\/avatars\/browsers\/{code}":{"get":{"summary":"Get browser icon","operationId":"avatarsGetBrowser","consumes":["application\/json"],"produces":["image\/png"],"tags":["avatars"],"description":"You can use this endpoint to show different browser icons to your users. The code argument receives the browser code as it appears in your user [GET \/account\/sessions](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#getSessions) endpoint. Use width, height and quality arguments to change the output settings.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.","responses":{"200":{"description":"Image","schema":{"type":"file"}}},"x-appwrite":{"method":"getBrowser","weight":59,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-browser.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-browser.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"code","description":"Browser Code.","required":true,"type":"string","x-example":"aa","enum":["aa","an","ch","ci","cm","cr","ff","sf","mf","ps","oi","om","op","on"],"x-enum-name":"Browser","x-enum-keys":["Avant Browser","Android WebView Beta","Google Chrome","Google Chrome (iOS)","Google Chrome (Mobile)","Chromium","Mozilla Firefox","Safari","Mobile Safari","Microsoft Edge","Microsoft Edge (iOS)","Opera Mini","Opera","Opera (Next)"],"in":"path"},{"name":"width","description":"Image width. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":100,"in":"query"},{"name":"height","description":"Image height. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":100,"in":"query"},{"name":"quality","description":"Image quality. Pass an integer between 0 to 100. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":100,"in":"query"}]}},"\/avatars\/credit-cards\/{code}":{"get":{"summary":"Get credit card icon","operationId":"avatarsGetCreditCard","consumes":["application\/json"],"produces":["image\/png"],"tags":["avatars"],"description":"The credit card endpoint will return you the icon of the credit card provider you need. Use width, height and quality arguments to change the output settings.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n","responses":{"200":{"description":"Image","schema":{"type":"file"}}},"x-appwrite":{"method":"getCreditCard","weight":58,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-credit-card.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-credit-card.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"code","description":"Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, union-china-pay, visa, mir, maestro.","required":true,"type":"string","x-example":"amex","enum":["amex","argencard","cabal","cencosud","diners","discover","elo","hipercard","jcb","mastercard","naranja","targeta-shopping","union-china-pay","visa","mir","maestro"],"x-enum-name":"CreditCard","x-enum-keys":["American Express","Argencard","Cabal","Cencosud","Diners Club","Discover","Elo","Hipercard","JCB","Mastercard","Naranja","Tarjeta Shopping","Union China Pay","Visa","MIR","Maestro"],"in":"path"},{"name":"width","description":"Image width. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":100,"in":"query"},{"name":"height","description":"Image height. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":100,"in":"query"},{"name":"quality","description":"Image quality. Pass an integer between 0 to 100. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":100,"in":"query"}]}},"\/avatars\/favicon":{"get":{"summary":"Get favicon","operationId":"avatarsGetFavicon","consumes":["application\/json"],"produces":["image\/*"],"tags":["avatars"],"description":"Use this endpoint to fetch the favorite icon (AKA favicon) of any remote website URL.\n","responses":{"200":{"description":"Image","schema":{"type":"file"}}},"x-appwrite":{"method":"getFavicon","weight":62,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-favicon.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-favicon.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"url","description":"Website URL which you want to fetch the favicon from.","required":true,"type":"string","format":"url","x-example":"https:\/\/example.com","in":"query"}]}},"\/avatars\/flags\/{code}":{"get":{"summary":"Get country flag","operationId":"avatarsGetFlag","consumes":["application\/json"],"produces":["image\/png"],"tags":["avatars"],"description":"You can use this endpoint to show different country flags icons to your users. The code argument receives the 2 letter country code. Use width, height and quality arguments to change the output settings. Country codes follow the [ISO 3166-1](https:\/\/en.wikipedia.org\/wiki\/ISO_3166-1) standard.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n","responses":{"200":{"description":"Image","schema":{"type":"file"}}},"x-appwrite":{"method":"getFlag","weight":60,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-flag.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-flag.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"code","description":"Country Code. ISO Alpha-2 country code format.","required":true,"type":"string","x-example":"af","enum":["af","ao","al","ad","ae","ar","am","ag","au","at","az","bi","be","bj","bf","bd","bg","bh","bs","ba","by","bz","bo","br","bb","bn","bt","bw","cf","ca","ch","cl","cn","ci","cm","cd","cg","co","km","cv","cr","cu","cy","cz","de","dj","dm","dk","do","dz","ec","eg","er","es","ee","et","fi","fj","fr","fm","ga","gb","ge","gh","gn","gm","gw","gq","gr","gd","gt","gy","hn","hr","ht","hu","id","in","ie","ir","iq","is","il","it","jm","jo","jp","kz","ke","kg","kh","ki","kn","kr","kw","la","lb","lr","ly","lc","li","lk","ls","lt","lu","lv","ma","mc","md","mg","mv","mx","mh","mk","ml","mt","mm","me","mn","mz","mr","mu","mw","my","na","ne","ng","ni","nl","no","np","nr","nz","om","pk","pa","pe","ph","pw","pg","pl","pf","kp","pt","py","qa","ro","ru","rw","sa","sd","sn","sg","sb","sl","sv","sm","so","rs","ss","st","sr","sk","si","se","sz","sc","sy","td","tg","th","tj","tm","tl","to","tt","tn","tr","tv","tz","ug","ua","uy","us","uz","va","vc","ve","vn","vu","ws","ye","za","zm","zw"],"x-enum-name":"Flag","x-enum-keys":["Afghanistan","Angola","Albania","Andorra","United Arab Emirates","Argentina","Armenia","Antigua and Barbuda","Australia","Austria","Azerbaijan","Burundi","Belgium","Benin","Burkina Faso","Bangladesh","Bulgaria","Bahrain","Bahamas","Bosnia and Herzegovina","Belarus","Belize","Bolivia","Brazil","Barbados","Brunei Darussalam","Bhutan","Botswana","Central African Republic","Canada","Switzerland","Chile","China","C\u00f4te d'Ivoire","Cameroon","Democratic Republic of the Congo","Republic of the Congo","Colombia","Comoros","Cape Verde","Costa Rica","Cuba","Cyprus","Czech Republic","Germany","Djibouti","Dominica","Denmark","Dominican Republic","Algeria","Ecuador","Egypt","Eritrea","Spain","Estonia","Ethiopia","Finland","Fiji","France","Micronesia (Federated States of)","Gabon","United Kingdom","Georgia","Ghana","Guinea","Gambia","Guinea-Bissau","Equatorial Guinea","Greece","Grenada","Guatemala","Guyana","Honduras","Croatia","Haiti","Hungary","Indonesia","India","Ireland","Iran (Islamic Republic of)","Iraq","Iceland","Israel","Italy","Jamaica","Jordan","Japan","Kazakhstan","Kenya","Kyrgyzstan","Cambodia","Kiribati","Saint Kitts and Nevis","South Korea","Kuwait","Lao People's Democratic Republic","Lebanon","Liberia","Libya","Saint Lucia","Liechtenstein","Sri Lanka","Lesotho","Lithuania","Luxembourg","Latvia","Morocco","Monaco","Moldova","Madagascar","Maldives","Mexico","Marshall Islands","North Macedonia","Mali","Malta","Myanmar","Montenegro","Mongolia","Mozambique","Mauritania","Mauritius","Malawi","Malaysia","Namibia","Niger","Nigeria","Nicaragua","Netherlands","Norway","Nepal","Nauru","New Zealand","Oman","Pakistan","Panama","Peru","Philippines","Palau","Papua New Guinea","Poland","French Polynesia","North Korea","Portugal","Paraguay","Qatar","Romania","Russia","Rwanda","Saudi Arabia","Sudan","Senegal","Singapore","Solomon Islands","Sierra Leone","El Salvador","San Marino","Somalia","Serbia","South Sudan","Sao Tome and Principe","Suriname","Slovakia","Slovenia","Sweden","Eswatini","Seychelles","Syria","Chad","Togo","Thailand","Tajikistan","Turkmenistan","Timor-Leste","Tonga","Trinidad and Tobago","Tunisia","Turkey","Tuvalu","Tanzania","Uganda","Ukraine","Uruguay","United States","Uzbekistan","Vatican City","Saint Vincent and the Grenadines","Venezuela","Vietnam","Vanuatu","Samoa","Yemen","South Africa","Zambia","Zimbabwe"],"in":"path"},{"name":"width","description":"Image width. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":100,"in":"query"},{"name":"height","description":"Image height. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":100,"in":"query"},{"name":"quality","description":"Image quality. Pass an integer between 0 to 100. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":100,"in":"query"}]}},"\/avatars\/image":{"get":{"summary":"Get image from URL","operationId":"avatarsGetImage","consumes":["application\/json"],"produces":["image\/*"],"tags":["avatars"],"description":"Use this endpoint to fetch a remote image URL and crop it to any image size you want. This endpoint is very useful if you need to crop and display remote images in your app or in case you want to make sure a 3rd party image is properly served using a TLS protocol.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 400x400px.\n","responses":{"200":{"description":"Image","schema":{"type":"file"}}},"x-appwrite":{"method":"getImage","weight":61,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-image.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-image.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"url","description":"Image URL which you want to crop.","required":true,"type":"string","format":"url","x-example":"https:\/\/example.com","in":"query"},{"name":"width","description":"Resize preview image width, Pass an integer between 0 to 2000. Defaults to 400.","required":false,"type":"integer","format":"int32","x-example":0,"default":400,"in":"query"},{"name":"height","description":"Resize preview image height, Pass an integer between 0 to 2000. Defaults to 400.","required":false,"type":"integer","format":"int32","x-example":0,"default":400,"in":"query"}]}},"\/avatars\/initials":{"get":{"summary":"Get user initials","operationId":"avatarsGetInitials","consumes":["application\/json"],"produces":["image\/png"],"tags":["avatars"],"description":"Use this endpoint to show your user initials avatar icon on your website or app. By default, this route will try to print your logged-in user name or email initials. You can also overwrite the user name if you pass the 'name' parameter. If no name is given and no user is logged, an empty avatar will be returned.\n\nYou can use the color and background params to change the avatar colors. By default, a random theme will be selected. The random theme will persist for the user's initials when reloading the same theme will always return for the same initials.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n","responses":{"200":{"description":"Image","schema":{"type":"file"}}},"x-appwrite":{"method":"getInitials","weight":64,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-initials.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-initials.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"name","description":"Full Name. When empty, current user name or email will be used. Max length: 128 chars.","required":false,"type":"string","x-example":"<NAME>","default":"","in":"query"},{"name":"width","description":"Image width. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":500,"in":"query"},{"name":"height","description":"Image height. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":500,"in":"query"},{"name":"background","description":"Changes background color. By default a random color will be picked and stay will persistent to the given name.","required":false,"type":"string","default":"","in":"query"}]}},"\/avatars\/qr":{"get":{"summary":"Get QR code","operationId":"avatarsGetQR","consumes":["application\/json"],"produces":["image\/png"],"tags":["avatars"],"description":"Converts a given plain text to a QR code image. You can use the query parameters to change the size and style of the resulting image.\n","responses":{"200":{"description":"Image","schema":{"type":"file"}}},"x-appwrite":{"method":"getQR","weight":63,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-q-r.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-qr.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"text","description":"Plain text to be converted to QR code image.","required":true,"type":"string","x-example":"<TEXT>","in":"query"},{"name":"size","description":"QR code size. Pass an integer between 1 to 1000. Defaults to 400.","required":false,"type":"integer","format":"int32","x-example":1,"default":400,"in":"query"},{"name":"margin","description":"Margin from edge. Pass an integer between 0 to 10. Defaults to 1.","required":false,"type":"integer","format":"int32","x-example":0,"default":1,"in":"query"},{"name":"download","description":"Return resulting image with 'Content-Disposition: attachment ' headers for the browser to start downloading it. Pass 0 for no header, or 1 for otherwise. Default value is set to 0.","required":false,"type":"boolean","x-example":false,"default":false,"in":"query"}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/documents":{"get":{"summary":"List documents","operationId":"databasesListDocuments","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Get a list of all the user's documents in a given collection. You can use the query params to filter your results.","responses":{"200":{"description":"Documents List","schema":{"$ref":"#\/definitions\/documentList"}}},"x-appwrite":{"method":"listDocuments","weight":108,"cookies":false,"type":"","deprecated":false,"demo":"databases\/list-documents.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-documents.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"documents.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/databases\/{databaseId}\/collections\/{collectionId}\/documents","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]},"post":{"summary":"Create document","operationId":"databasesCreateDocument","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.","responses":{"201":{"description":"Document","schema":{"$ref":"#\/definitions\/document"}}},"x-appwrite":{"method":"createDocument","weight":107,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-document.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-document.md","rate-limit":120,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId}","scope":"documents.write","platforms":["client","server","server"],"packaging":false,"offline-model":"\/databases\/{databaseId}\/collections\/{collectionId}\/documents","offline-key":"{documentId}","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection). Make sure to define attributes before creating documents.","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"documentId":{"type":"string","description":"Document ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<DOCUMENT_ID>"},"data":{"type":"object","description":"Document data as JSON object.","default":{},"x-example":"{}"},"permissions":{"type":"array","description":"An array of permissions strings. By default, only the current user is granted all permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","default":null,"x-example":"[\"read(\"any\")\"]","items":{"type":"string"}}},"required":["documentId","data"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}":{"get":{"summary":"Get document","operationId":"databasesGetDocument","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Get a document by its unique ID. This endpoint response returns a JSON object with the document data.","responses":{"200":{"description":"Document","schema":{"$ref":"#\/definitions\/document"}}},"x-appwrite":{"method":"getDocument","weight":109,"cookies":false,"type":"","deprecated":false,"demo":"databases\/get-document.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"documents.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/databases\/{databaseId}\/collections\/{collectionId}\/documents","offline-key":"{documentId}","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"documentId","description":"Document ID.","required":true,"type":"string","x-example":"<DOCUMENT_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]},"patch":{"summary":"Update document","operationId":"databasesUpdateDocument","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Update a document by its unique ID. Using the patch method you can pass only specific fields that will get updated.","responses":{"200":{"description":"Document","schema":{"$ref":"#\/definitions\/document"}}},"x-appwrite":{"method":"updateDocument","weight":111,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-document.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-document.md","rate-limit":120,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId}","scope":"documents.write","platforms":["client","server","server"],"packaging":false,"offline-model":"\/databases\/{databaseId}\/collections\/{collectionId}\/documents","offline-key":"{documentId}","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID.","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"documentId","description":"Document ID.","required":true,"type":"string","x-example":"<DOCUMENT_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"data":{"type":"object","description":"Document data as JSON object. Include only attribute and value pairs to be updated.","default":[],"x-example":"{}"},"permissions":{"type":"array","description":"An array of permissions strings. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","default":null,"x-example":"[\"read(\"any\")\"]","items":{"type":"string"}}}}}]},"delete":{"summary":"Delete document","operationId":"databasesDeleteDocument","consumes":["application\/json"],"produces":[],"tags":["databases"],"description":"Delete a document by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteDocument","weight":112,"cookies":false,"type":"","deprecated":false,"demo":"databases\/delete-document.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-document.md","rate-limit":60,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId}","scope":"documents.write","platforms":["client","server","server"],"packaging":false,"offline-model":"\/databases\/{databaseId}\/collections\/{collectionId}\/documents","offline-key":"{documentId}","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"documentId","description":"Document ID.","required":true,"type":"string","x-example":"<DOCUMENT_ID>","in":"path"}]}},"\/functions\/{functionId}\/executions":{"get":{"summary":"List executions","operationId":"functionsListExecutions","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"Get a list of all the current user function execution logs. You can use the query params to filter your results.","responses":{"200":{"description":"Executions List","schema":{"$ref":"#\/definitions\/executionList"}}},"x-appwrite":{"method":"listExecutions","weight":297,"cookies":false,"type":"","deprecated":false,"demo":"functions\/list-executions.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-executions.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"execution.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: trigger, status, responseStatusCode, duration","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]},"post":{"summary":"Create execution","operationId":"functionsCreateExecution","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"Trigger a function execution. The returned object will return you the current execution status. You can ping the `Get Execution` endpoint to get updates on the current execution status. Once this endpoint is called, your function execution process will start asynchronously.","responses":{"201":{"description":"Execution","schema":{"$ref":"#\/definitions\/execution"}}},"x-appwrite":{"method":"createExecution","weight":296,"cookies":false,"type":"","deprecated":false,"demo":"functions\/create-execution.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-execution.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"execution.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"body":{"type":"string","description":"HTTP body of execution. Default value is empty string.","default":"","x-example":"<BODY>"},"async":{"type":"boolean","description":"Execute code in the background. Default value is false.","default":false,"x-example":false},"path":{"type":"string","description":"HTTP path of execution. Path can include query params. Default value is \/","default":"\/","x-example":"<PATH>"},"method":{"type":"string","description":"HTTP method of execution. Default value is GET.","default":"POST","x-example":"GET","enum":["GET","POST","PUT","PATCH","DELETE","OPTIONS"],"x-enum-name":"ExecutionMethod","x-enum-keys":[]},"headers":{"type":"object","description":"HTTP headers of execution. Defaults to empty.","default":[],"x-example":"{}"}}}}]}},"\/functions\/{functionId}\/executions\/{executionId}":{"get":{"summary":"Get execution","operationId":"functionsGetExecution","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"Get a function execution log by its unique ID.","responses":{"200":{"description":"Execution","schema":{"$ref":"#\/definitions\/execution"}}},"x-appwrite":{"method":"getExecution","weight":298,"cookies":false,"type":"","deprecated":false,"demo":"functions\/get-execution.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-execution.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"execution.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"executionId","description":"Execution ID.","required":true,"type":"string","x-example":"<EXECUTION_ID>","in":"path"}]}},"\/graphql":{"post":{"summary":"GraphQL endpoint","operationId":"graphqlQuery","consumes":["application\/json"],"produces":["application\/json"],"tags":["graphql"],"description":"Execute a GraphQL mutation.","responses":{"200":{"description":"Any","schema":{"$ref":"#\/definitions\/any"}}},"x-appwrite":{"method":"query","weight":318,"cookies":false,"type":"graphql","deprecated":false,"demo":"graphql\/query.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md","rate-limit":60,"rate-time":60,"rate-key":"url:{url},ip:{ip}","scope":"graphql","platforms":["server","client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"query":{"type":"object","description":"The query or queries to execute.","default":{},"x-example":"{}"}},"required":["query"]}}]}},"\/graphql\/mutation":{"post":{"summary":"GraphQL endpoint","operationId":"graphqlMutation","consumes":["application\/json"],"produces":["application\/json"],"tags":["graphql"],"description":"Execute a GraphQL mutation.","responses":{"200":{"description":"Any","schema":{"$ref":"#\/definitions\/any"}}},"x-appwrite":{"method":"mutation","weight":317,"cookies":false,"type":"graphql","deprecated":false,"demo":"graphql\/mutation.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md","rate-limit":60,"rate-time":60,"rate-key":"url:{url},ip:{ip}","scope":"graphql","platforms":["server","client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"query":{"type":"object","description":"The query or queries to execute.","default":{},"x-example":"{}"}},"required":["query"]}}]}},"\/locale":{"get":{"summary":"Get user locale","operationId":"localeGet","consumes":["application\/json"],"produces":["application\/json"],"tags":["locale"],"description":"Get the current user location based on IP. Returns an object with user country code, country name, continent name, continent code, ip address and suggested currency. You can use the locale header to get the data in a supported language.\n\n([IP Geolocation by DB-IP](https:\/\/db-ip.com))","responses":{"200":{"description":"Locale","schema":{"$ref":"#\/definitions\/locale"}}},"x-appwrite":{"method":"get","weight":116,"cookies":false,"type":"","deprecated":false,"demo":"locale\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/get-locale.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/localed","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/locale\/codes":{"get":{"summary":"List Locale Codes","operationId":"localeListCodes","consumes":["application\/json"],"produces":["application\/json"],"tags":["locale"],"description":"List of all locale codes in [ISO 639-1](https:\/\/en.wikipedia.org\/wiki\/List_of_ISO_639-1_codes).","responses":{"200":{"description":"Locale codes list","schema":{"$ref":"#\/definitions\/localeCodeList"}}},"x-appwrite":{"method":"listCodes","weight":117,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-locale-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/localeCode","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/locale\/continents":{"get":{"summary":"List continents","operationId":"localeListContinents","consumes":["application\/json"],"produces":["application\/json"],"tags":["locale"],"description":"List of all continents. You can use the locale header to get the data in a supported language.","responses":{"200":{"description":"Continents List","schema":{"$ref":"#\/definitions\/continentList"}}},"x-appwrite":{"method":"listContinents","weight":121,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-continents.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-continents.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/continents","offline-key":"","offline-response-key":"code","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/locale\/countries":{"get":{"summary":"List countries","operationId":"localeListCountries","consumes":["application\/json"],"produces":["application\/json"],"tags":["locale"],"description":"List of all countries. You can use the locale header to get the data in a supported language.","responses":{"200":{"description":"Countries List","schema":{"$ref":"#\/definitions\/countryList"}}},"x-appwrite":{"method":"listCountries","weight":118,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-countries.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/countries","offline-key":"","offline-response-key":"code","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/locale\/countries\/eu":{"get":{"summary":"List EU countries","operationId":"localeListCountriesEU","consumes":["application\/json"],"produces":["application\/json"],"tags":["locale"],"description":"List of all countries that are currently members of the EU. You can use the locale header to get the data in a supported language.","responses":{"200":{"description":"Countries List","schema":{"$ref":"#\/definitions\/countryList"}}},"x-appwrite":{"method":"listCountriesEU","weight":119,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-countries-e-u.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-eu.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/countries\/eu","offline-key":"","offline-response-key":"code","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/locale\/countries\/phones":{"get":{"summary":"List countries phone codes","operationId":"localeListCountriesPhones","consumes":["application\/json"],"produces":["application\/json"],"tags":["locale"],"description":"List of all countries phone codes. You can use the locale header to get the data in a supported language.","responses":{"200":{"description":"Phones List","schema":{"$ref":"#\/definitions\/phoneList"}}},"x-appwrite":{"method":"listCountriesPhones","weight":120,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-countries-phones.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-phones.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/countries\/phones","offline-key":"","offline-response-key":"countryCode","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/locale\/currencies":{"get":{"summary":"List currencies","operationId":"localeListCurrencies","consumes":["application\/json"],"produces":["application\/json"],"tags":["locale"],"description":"List of all currencies, including currency symbol, name, plural, and decimal digits for all major and minor currencies. You can use the locale header to get the data in a supported language.","responses":{"200":{"description":"Currencies List","schema":{"$ref":"#\/definitions\/currencyList"}}},"x-appwrite":{"method":"listCurrencies","weight":122,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-currencies.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-currencies.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/currencies","offline-key":"","offline-response-key":"code","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/locale\/languages":{"get":{"summary":"List languages","operationId":"localeListLanguages","consumes":["application\/json"],"produces":["application\/json"],"tags":["locale"],"description":"List of all languages classified by ISO 639-1 including 2-letter code, name in English, and name in the respective language.","responses":{"200":{"description":"Languages List","schema":{"$ref":"#\/definitions\/languageList"}}},"x-appwrite":{"method":"listLanguages","weight":123,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-languages.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-languages.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/languages","offline-key":"","offline-response-key":"code","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/messaging\/topics\/{topicId}\/subscribers":{"post":{"summary":"Create subscriber","operationId":"messagingCreateSubscriber","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Create a new subscriber.","responses":{"201":{"description":"Subscriber","schema":{"$ref":"#\/definitions\/subscriber"}}},"x-appwrite":{"method":"createSubscriber","weight":369,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-subscriber.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-subscriber.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"subscribers.write","platforms":["server","client","console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[],"Session":[]}],"parameters":[{"name":"topicId","description":"Topic ID. The topic ID to subscribe to.","required":true,"type":"string","x-example":"<TOPIC_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"subscriberId":{"type":"string","description":"Subscriber ID. Choose a custom Subscriber ID or a new Subscriber ID.","default":null,"x-example":"<SUBSCRIBER_ID>"},"targetId":{"type":"string","description":"Target ID. The target ID to link to the specified Topic ID.","default":null,"x-example":"<TARGET_ID>"}},"required":["subscriberId","targetId"]}}]}},"\/messaging\/topics\/{topicId}\/subscribers\/{subscriberId}":{"delete":{"summary":"Delete subscriber","operationId":"messagingDeleteSubscriber","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Delete a subscriber by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteSubscriber","weight":373,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/delete-subscriber.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-subscriber.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"subscribers.write","platforms":["server","client","console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[],"Session":[]}],"parameters":[{"name":"topicId","description":"Topic ID. The topic ID subscribed to.","required":true,"type":"string","x-example":"<TOPIC_ID>","in":"path"},{"name":"subscriberId","description":"Subscriber ID.","required":true,"type":"string","x-example":"<SUBSCRIBER_ID>","in":"path"}]}},"\/storage\/buckets\/{bucketId}\/files":{"get":{"summary":"List files","operationId":"storageListFiles","consumes":["application\/json"],"produces":["application\/json"],"tags":["storage"],"description":"Get a list of all the user files. You can use the query params to filter your results.","responses":{"200":{"description":"Files List","schema":{"$ref":"#\/definitions\/fileList"}}},"x-appwrite":{"method":"listFiles","weight":203,"cookies":false,"type":"","deprecated":false,"demo":"storage\/list-files.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-files.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"type":"string","x-example":"<BUCKET_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, signature, mimeType, sizeOriginal, chunksTotal, chunksUploaded","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]},"post":{"summary":"Create file","operationId":"storageCreateFile","consumes":["multipart\/form-data"],"produces":["application\/json"],"tags":["storage"],"description":"Create a new file. Before using this route, you should create a new bucket resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/storage#storageCreateBucket) API or directly from your Appwrite console.\n\nLarger files should be uploaded using multiple requests with the [content-range](https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTTP\/Headers\/Content-Range) header to send a partial request with a maximum supported chunk of `5MB`. The `content-range` header values should always be in bytes.\n\nWhen the first request is sent, the server will return the **File** object, and the subsequent part request must include the file's **id** in `x-appwrite-id` header to allow the server to know that the partial upload is for the existing file and not for a new one.\n\nIf you're creating a new file using one of the Appwrite SDKs, all the chunking logic will be managed by the SDK internally.\n","responses":{"201":{"description":"File","schema":{"$ref":"#\/definitions\/file"}}},"x-appwrite":{"method":"createFile","weight":202,"cookies":false,"type":"upload","deprecated":false,"demo":"storage\/create-file.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-file.md","rate-limit":60,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId},chunkId:{chunkId}","scope":"files.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"type":"string","x-example":"<BUCKET_ID>","in":"path"},{"name":"fileId","description":"File ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","required":true,"x-upload-id":true,"type":"string","x-example":"<FILE_ID>","in":"formData"},{"name":"file","description":"Binary file. Appwrite SDKs provide helpers to handle file input. [Learn about file input](https:\/\/appwrite.io\/docs\/products\/storage\/upload-download#input-file).","required":true,"type":"file","in":"formData"},{"name":"permissions","description":"An array of permission strings. By default, only the current user is granted all permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"x-example":"[\"read(\"any\")\"]","in":"formData"}]}},"\/storage\/buckets\/{bucketId}\/files\/{fileId}":{"get":{"summary":"Get file","operationId":"storageGetFile","consumes":["application\/json"],"produces":["application\/json"],"tags":["storage"],"description":"Get a file by its unique ID. This endpoint response returns a JSON object with the file metadata.","responses":{"200":{"description":"File","schema":{"$ref":"#\/definitions\/file"}}},"x-appwrite":{"method":"getFile","weight":204,"cookies":false,"type":"","deprecated":false,"demo":"storage\/get-file.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"type":"string","x-example":"<BUCKET_ID>","in":"path"},{"name":"fileId","description":"File ID.","required":true,"type":"string","x-example":"<FILE_ID>","in":"path"}]},"put":{"summary":"Update file","operationId":"storageUpdateFile","consumes":["application\/json"],"produces":["application\/json"],"tags":["storage"],"description":"Update a file by its unique ID. Only users with write permissions have access to update this resource.","responses":{"200":{"description":"File","schema":{"$ref":"#\/definitions\/file"}}},"x-appwrite":{"method":"updateFile","weight":209,"cookies":false,"type":"","deprecated":false,"demo":"storage\/update-file.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-file.md","rate-limit":60,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId}","scope":"files.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"type":"string","x-example":"<BUCKET_ID>","in":"path"},{"name":"fileId","description":"File unique ID.","required":true,"type":"string","x-example":"<FILE_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Name of the file","default":null,"x-example":"<NAME>"},"permissions":{"type":"array","description":"An array of permission string. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","default":null,"x-example":"[\"read(\"any\")\"]","items":{"type":"string"}}}}}]},"delete":{"summary":"Delete File","operationId":"storageDeleteFile","consumes":["application\/json"],"produces":[],"tags":["storage"],"description":"Delete a file by its unique ID. Only users with write permissions have access to delete this resource.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteFile","weight":210,"cookies":false,"type":"","deprecated":false,"demo":"storage\/delete-file.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-file.md","rate-limit":60,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId}","scope":"files.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"type":"string","x-example":"<BUCKET_ID>","in":"path"},{"name":"fileId","description":"File ID.","required":true,"type":"string","x-example":"<FILE_ID>","in":"path"}]}},"\/storage\/buckets\/{bucketId}\/files\/{fileId}\/download":{"get":{"summary":"Get file for download","operationId":"storageGetFileDownload","consumes":["application\/json"],"produces":["*\/*"],"tags":["storage"],"description":"Get a file content by its unique ID. The endpoint response return with a 'Content-Disposition: attachment' header that tells the browser to start downloading the file to user downloads directory.","responses":{"200":{"description":"File","schema":{"type":"file"}}},"x-appwrite":{"method":"getFileDownload","weight":206,"cookies":false,"type":"location","deprecated":false,"demo":"storage\/get-file-download.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-download.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"type":"string","x-example":"<BUCKET_ID>","in":"path"},{"name":"fileId","description":"File ID.","required":true,"type":"string","x-example":"<FILE_ID>","in":"path"}]}},"\/storage\/buckets\/{bucketId}\/files\/{fileId}\/preview":{"get":{"summary":"Get file preview","operationId":"storageGetFilePreview","consumes":["application\/json"],"produces":["image\/*"],"tags":["storage"],"description":"Get a file preview image. Currently, this method supports preview for image files (jpg, png, and gif), other supported formats, like pdf, docs, slides, and spreadsheets, will return the file icon image. You can also pass query string arguments for cutting and resizing your preview image. Preview is supported only for image files smaller than 10MB.","responses":{"200":{"description":"Image","schema":{"type":"file"}}},"x-appwrite":{"method":"getFilePreview","weight":205,"cookies":false,"type":"location","deprecated":false,"demo":"storage\/get-file-preview.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-preview.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"type":"string","x-example":"<BUCKET_ID>","in":"path"},{"name":"fileId","description":"File ID","required":true,"type":"string","x-example":"<FILE_ID>","in":"path"},{"name":"width","description":"Resize preview image width, Pass an integer between 0 to 4000.","required":false,"type":"integer","format":"int32","x-example":0,"default":0,"in":"query"},{"name":"height","description":"Resize preview image height, Pass an integer between 0 to 4000.","required":false,"type":"integer","format":"int32","x-example":0,"default":0,"in":"query"},{"name":"gravity","description":"Image crop gravity. Can be one of center,top-left,top,top-right,left,right,bottom-left,bottom,bottom-right","required":false,"type":"string","x-example":"center","enum":["center","top-left","top","top-right","left","right","bottom-left","bottom","bottom-right"],"x-enum-name":"ImageGravity","x-enum-keys":[],"default":"center","in":"query"},{"name":"quality","description":"Preview image quality. Pass an integer between 0 to 100. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":100,"in":"query"},{"name":"borderWidth","description":"Preview image border in pixels. Pass an integer between 0 to 100. Defaults to 0.","required":false,"type":"integer","format":"int32","x-example":0,"default":0,"in":"query"},{"name":"borderColor","description":"Preview image border color. Use a valid HEX color, no # is needed for prefix.","required":false,"type":"string","default":"","in":"query"},{"name":"borderRadius","description":"Preview image border radius in pixels. Pass an integer between 0 to 4000.","required":false,"type":"integer","format":"int32","x-example":0,"default":0,"in":"query"},{"name":"opacity","description":"Preview image opacity. Only works with images having an alpha channel (like png). Pass a number between 0 to 1.","required":false,"type":"number","format":"float","x-example":0,"default":1,"in":"query"},{"name":"rotation","description":"Preview image rotation in degrees. Pass an integer between -360 and 360.","required":false,"type":"integer","format":"int32","x-example":-360,"default":0,"in":"query"},{"name":"background","description":"Preview image background color. Only works with transparent images (png). Use a valid HEX color, no # is needed for prefix.","required":false,"type":"string","default":"","in":"query"},{"name":"output","description":"Output format type (jpeg, jpg, png, gif and webp).","required":false,"type":"string","x-example":"jpg","enum":["jpg","jpeg","gif","png","webp"],"x-enum-name":"ImageFormat","x-enum-keys":[],"default":"","in":"query"}]}},"\/storage\/buckets\/{bucketId}\/files\/{fileId}\/view":{"get":{"summary":"Get file for view","operationId":"storageGetFileView","consumes":["application\/json"],"produces":["*\/*"],"tags":["storage"],"description":"Get a file content by its unique ID. This endpoint is similar to the download method but returns with no 'Content-Disposition: attachment' header.","responses":{"200":{"description":"File","schema":{"type":"file"}}},"x-appwrite":{"method":"getFileView","weight":207,"cookies":false,"type":"location","deprecated":false,"demo":"storage\/get-file-view.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-view.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"type":"string","x-example":"<BUCKET_ID>","in":"path"},{"name":"fileId","description":"File ID.","required":true,"type":"string","x-example":"<FILE_ID>","in":"path"}]}},"\/teams":{"get":{"summary":"List teams","operationId":"teamsList","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Get a list of all the teams in which the current user is a member. You can use the parameters to filter your results.","responses":{"200":{"description":"Teams List","schema":{"$ref":"#\/definitions\/teamList"}}},"x-appwrite":{"method":"list","weight":214,"cookies":false,"type":"","deprecated":false,"demo":"teams\/list.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-teams.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/teams","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, total, billingPlan","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]},"post":{"summary":"Create team","operationId":"teamsCreate","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Create a new team. The user who creates the team will automatically be assigned as the owner of the team. Only the users with the owner role can invite new members, add new owners and delete or update the team.","responses":{"201":{"description":"Team","schema":{"$ref":"#\/definitions\/team"}}},"x-appwrite":{"method":"create","weight":213,"cookies":false,"type":"","deprecated":false,"demo":"teams\/create.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"teamId":{"type":"string","description":"Team ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<TEAM_ID>"},"name":{"type":"string","description":"Team name. Max length: 128 chars.","default":null,"x-example":"<NAME>"},"roles":{"type":"array","description":"Array of strings. Use this param to set the roles in the team for the user who created it. The default role is **owner**. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.","default":["owner"],"x-example":null,"items":{"type":"string"}}},"required":["teamId","name"]}}]}},"\/teams\/{teamId}":{"get":{"summary":"Get team","operationId":"teamsGet","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Get a team by its ID. All team members have read access for this resource.","responses":{"200":{"description":"Team","schema":{"$ref":"#\/definitions\/team"}}},"x-appwrite":{"method":"get","weight":215,"cookies":false,"type":"","deprecated":false,"demo":"teams\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/teams","offline-key":"{teamId}","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"}]},"put":{"summary":"Update name","operationId":"teamsUpdateName","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Update the team's name by its unique ID.","responses":{"200":{"description":"Team","schema":{"$ref":"#\/definitions\/team"}}},"x-appwrite":{"method":"updateName","weight":217,"cookies":false,"type":"","deprecated":false,"demo":"teams\/update-name.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-name.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"\/teams","offline-key":"{teamId}","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"New team name. Max length: 128 chars.","default":null,"x-example":"<NAME>"}},"required":["name"]}}]},"delete":{"summary":"Delete team","operationId":"teamsDelete","consumes":["application\/json"],"produces":[],"tags":["teams"],"description":"Delete a team using its ID. Only team members with the owner role can delete the team.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"delete","weight":219,"cookies":false,"type":"","deprecated":false,"demo":"teams\/delete.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"}]}},"\/teams\/{teamId}\/memberships":{"get":{"summary":"List team memberships","operationId":"teamsListMemberships","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Use this endpoint to list a team's members using the team's ID. All team members have read access to this endpoint.","responses":{"200":{"description":"Memberships List","schema":{"$ref":"#\/definitions\/membershipList"}}},"x-appwrite":{"method":"listMemberships","weight":221,"cookies":false,"type":"","deprecated":false,"demo":"teams\/list-memberships.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-team-members.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/teams\/{teamId}\/memberships","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, teamId, invited, joined, confirm","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]},"post":{"summary":"Create team membership","operationId":"teamsCreateMembership","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Invite a new member to join your team. Provide an ID for existing users, or invite unregistered users using an email or phone number. If initiated from a Client SDK, Appwrite will send an email or sms with a link to join the team to the invited user, and an account will be created for them if one doesn't exist. If initiated from a Server SDK, the new member will be added automatically to the team.\n\nYou only need to provide one of a user ID, email, or phone number. Appwrite will prioritize accepting the user ID > email > phone number if you provide more than one of these parameters.\n\nUse the `url` parameter to redirect the user from the invitation email to your app. After the user is redirected, use the [Update Team Membership Status](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/teams#updateMembershipStatus) endpoint to allow the user to accept the invitation to the team. \n\nPlease note that to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md) Appwrite will accept the only redirect URLs under the domains you have added as a platform on the Appwrite Console.\n","responses":{"201":{"description":"Membership","schema":{"$ref":"#\/definitions\/membership"}}},"x-appwrite":{"method":"createMembership","weight":220,"cookies":false,"type":"","deprecated":false,"demo":"teams\/create-membership.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team-membership.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"email":{"type":"string","description":"Email of the new team member.","default":"","x-example":"email@example.com"},"userId":{"type":"string","description":"ID of the user to be added to a team.","default":"","x-example":"<USER_ID>"},"phone":{"type":"string","description":"Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","default":"","x-example":"+12065550100"},"roles":{"type":"array","description":"Array of strings. Use this param to set the user roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.","default":null,"x-example":null,"items":{"type":"string"}},"url":{"type":"string","description":"URL to redirect the user back to your app from the invitation email. This parameter is not required when an API key is supplied. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","default":"","x-example":"https:\/\/example.com"},"name":{"type":"string","description":"Name of the new team member. Max length: 128 chars.","default":"","x-example":"<NAME>"}},"required":["roles"]}}]}},"\/teams\/{teamId}\/memberships\/{membershipId}":{"get":{"summary":"Get team membership","operationId":"teamsGetMembership","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Get a team member by the membership unique id. All team members have read access for this resource.","responses":{"200":{"description":"Membership","schema":{"$ref":"#\/definitions\/membership"}}},"x-appwrite":{"method":"getMembership","weight":222,"cookies":false,"type":"","deprecated":false,"demo":"teams\/get-membership.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-member.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/teams\/{teamId}\/memberships","offline-key":"{membershipId}","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"},{"name":"membershipId","description":"Membership ID.","required":true,"type":"string","x-example":"<MEMBERSHIP_ID>","in":"path"}]},"patch":{"summary":"Update membership","operationId":"teamsUpdateMembership","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Modify the roles of a team member. Only team members with the owner role have access to this endpoint. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions).\n","responses":{"200":{"description":"Membership","schema":{"$ref":"#\/definitions\/membership"}}},"x-appwrite":{"method":"updateMembership","weight":223,"cookies":false,"type":"","deprecated":false,"demo":"teams\/update-membership.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"},{"name":"membershipId","description":"Membership ID.","required":true,"type":"string","x-example":"<MEMBERSHIP_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"roles":{"type":"array","description":"An array of strings. Use this param to set the user's roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.","default":null,"x-example":null,"items":{"type":"string"}}},"required":["roles"]}}]},"delete":{"summary":"Delete team membership","operationId":"teamsDeleteMembership","consumes":["application\/json"],"produces":[],"tags":["teams"],"description":"This endpoint allows a user to leave a team or for a team owner to delete the membership of any other team member. You can also use this endpoint to delete a user membership even if it is not accepted.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteMembership","weight":225,"cookies":false,"type":"","deprecated":false,"demo":"teams\/delete-membership.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team-membership.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"},{"name":"membershipId","description":"Membership ID.","required":true,"type":"string","x-example":"<MEMBERSHIP_ID>","in":"path"}]}},"\/teams\/{teamId}\/memberships\/{membershipId}\/status":{"patch":{"summary":"Update team membership status","operationId":"teamsUpdateMembershipStatus","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Use this endpoint to allow a user to accept an invitation to join a team after being redirected back to your app from the invitation email received by the user.\n\nIf the request is successful, a session for the user is automatically created.\n","responses":{"200":{"description":"Membership","schema":{"$ref":"#\/definitions\/membership"}}},"x-appwrite":{"method":"updateMembershipStatus","weight":224,"cookies":false,"type":"","deprecated":false,"demo":"teams\/update-membership-status.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership-status.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"public","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"},{"name":"membershipId","description":"Membership ID.","required":true,"type":"string","x-example":"<MEMBERSHIP_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID.","default":null,"x-example":"<USER_ID>"},"secret":{"type":"string","description":"Secret key.","default":null,"x-example":"<SECRET>"}},"required":["userId","secret"]}}]}},"\/teams\/{teamId}\/prefs":{"get":{"summary":"Get team preferences","operationId":"teamsGetPrefs","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Get the team's shared preferences by its unique ID. If a preference doesn't need to be shared by all team members, prefer storing them in [user preferences](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#getPrefs).","responses":{"200":{"description":"Preferences","schema":{"$ref":"#\/definitions\/preferences"}}},"x-appwrite":{"method":"getPrefs","weight":216,"cookies":false,"type":"","deprecated":false,"demo":"teams\/get-prefs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-prefs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.read","platforms":["client","server"],"packaging":false,"offline-model":"\/teams\/{teamId}\/prefs","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"}]},"put":{"summary":"Update preferences","operationId":"teamsUpdatePrefs","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Update the team's preferences by its unique ID. The object you pass is stored as is and replaces any previous value. The maximum allowed prefs size is 64kB and throws an error if exceeded.","responses":{"200":{"description":"Preferences","schema":{"$ref":"#\/definitions\/preferences"}}},"x-appwrite":{"method":"updatePrefs","weight":218,"cookies":false,"type":"","deprecated":false,"demo":"teams\/update-prefs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-prefs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server"],"packaging":false,"offline-model":"\/teams\/{teamId}\/prefs","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"prefs":{"type":"object","description":"Prefs key-value JSON object.","default":{},"x-example":"{}"}},"required":["prefs"]}}]}}},"tags":[{"name":"account","description":"The Account service allows you to authenticate and manage a user account.","x-globalAttributes":[]},{"name":"avatars","description":"The Avatars service aims to help you complete everyday tasks related to your app image, icons, and avatars.","x-globalAttributes":[]},{"name":"databases","description":"The Databases service allows you to create structured collections of documents, query and filter lists of documents","x-globalAttributes":["databaseId"]},{"name":"locale","description":"The Locale service allows you to customize your app based on your users' location.","x-globalAttributes":[]},{"name":"health","description":"The Health service allows you to both validate and monitor your Appwrite server's health.","x-globalAttributes":[]},{"name":"projects","description":"The Project service allows you to manage all the projects in your Appwrite server.","x-globalAttributes":[]},{"name":"project","description":"The Project service allows you to manage all the projects in your Appwrite server.","x-globalAttributes":[]},{"name":"storage","description":"The Storage service allows you to manage your project files.","x-globalAttributes":[]},{"name":"teams","description":"The Teams service allows you to group users of your project and to enable them to share read and write access to your project resources","x-globalAttributes":[]},{"name":"users","description":"The Users service allows you to manage your project users.","x-globalAttributes":[]},{"name":"functions","description":"The Functions Service allows you view, create and manage your Cloud Functions.","x-globalAttributes":[]},{"name":"proxy","description":"The Proxy Service allows you to configure actions for your domains beyond DNS configuration.","x-globalAttributes":[]},{"name":"graphql","description":"The GraphQL API allows you to query and mutate your Appwrite server using GraphQL.","x-globalAttributes":[]},{"name":"console","description":"The Console service allows you to interact with console relevant informations.","x-globalAttributes":[]},{"name":"migrations","description":"The Migrations service allows you to migrate third-party data to your Appwrite project.","x-globalAttributes":[]},{"name":"messaging","description":"The Messaging service allows you to send messages to any provider type (SMTP, push notification, SMS, etc.).","x-globalAttributes":[]}],"definitions":{"any":{"description":"Any","type":"object","additionalProperties":true},"documentList":{"description":"Documents List","type":"object","properties":{"total":{"type":"integer","description":"Total number of documents documents that matched your query.","x-example":5,"format":"int32"},"documents":{"type":"array","description":"List of documents.","items":{"type":"object","$ref":"#\/definitions\/document"},"x-example":""}},"required":["total","documents"]},"sessionList":{"description":"Sessions List","type":"object","properties":{"total":{"type":"integer","description":"Total number of sessions documents that matched your query.","x-example":5,"format":"int32"},"sessions":{"type":"array","description":"List of sessions.","items":{"type":"object","$ref":"#\/definitions\/session"},"x-example":""}},"required":["total","sessions"]},"identityList":{"description":"Identities List","type":"object","properties":{"total":{"type":"integer","description":"Total number of identities documents that matched your query.","x-example":5,"format":"int32"},"identities":{"type":"array","description":"List of identities.","items":{"type":"object","$ref":"#\/definitions\/identity"},"x-example":""}},"required":["total","identities"]},"logList":{"description":"Logs List","type":"object","properties":{"total":{"type":"integer","description":"Total number of logs documents that matched your query.","x-example":5,"format":"int32"},"logs":{"type":"array","description":"List of logs.","items":{"type":"object","$ref":"#\/definitions\/log"},"x-example":""}},"required":["total","logs"]},"fileList":{"description":"Files List","type":"object","properties":{"total":{"type":"integer","description":"Total number of files documents that matched your query.","x-example":5,"format":"int32"},"files":{"type":"array","description":"List of files.","items":{"type":"object","$ref":"#\/definitions\/file"},"x-example":""}},"required":["total","files"]},"teamList":{"description":"Teams List","type":"object","properties":{"total":{"type":"integer","description":"Total number of teams documents that matched your query.","x-example":5,"format":"int32"},"teams":{"type":"array","description":"List of teams.","items":{"type":"object","$ref":"#\/definitions\/team"},"x-example":""}},"required":["total","teams"]},"membershipList":{"description":"Memberships List","type":"object","properties":{"total":{"type":"integer","description":"Total number of memberships documents that matched your query.","x-example":5,"format":"int32"},"memberships":{"type":"array","description":"List of memberships.","items":{"type":"object","$ref":"#\/definitions\/membership"},"x-example":""}},"required":["total","memberships"]},"executionList":{"description":"Executions List","type":"object","properties":{"total":{"type":"integer","description":"Total number of executions documents that matched your query.","x-example":5,"format":"int32"},"executions":{"type":"array","description":"List of executions.","items":{"type":"object","$ref":"#\/definitions\/execution"},"x-example":""}},"required":["total","executions"]},"countryList":{"description":"Countries List","type":"object","properties":{"total":{"type":"integer","description":"Total number of countries documents that matched your query.","x-example":5,"format":"int32"},"countries":{"type":"array","description":"List of countries.","items":{"type":"object","$ref":"#\/definitions\/country"},"x-example":""}},"required":["total","countries"]},"continentList":{"description":"Continents List","type":"object","properties":{"total":{"type":"integer","description":"Total number of continents documents that matched your query.","x-example":5,"format":"int32"},"continents":{"type":"array","description":"List of continents.","items":{"type":"object","$ref":"#\/definitions\/continent"},"x-example":""}},"required":["total","continents"]},"languageList":{"description":"Languages List","type":"object","properties":{"total":{"type":"integer","description":"Total number of languages documents that matched your query.","x-example":5,"format":"int32"},"languages":{"type":"array","description":"List of languages.","items":{"type":"object","$ref":"#\/definitions\/language"},"x-example":""}},"required":["total","languages"]},"currencyList":{"description":"Currencies List","type":"object","properties":{"total":{"type":"integer","description":"Total number of currencies documents that matched your query.","x-example":5,"format":"int32"},"currencies":{"type":"array","description":"List of currencies.","items":{"type":"object","$ref":"#\/definitions\/currency"},"x-example":""}},"required":["total","currencies"]},"phoneList":{"description":"Phones List","type":"object","properties":{"total":{"type":"integer","description":"Total number of phones documents that matched your query.","x-example":5,"format":"int32"},"phones":{"type":"array","description":"List of phones.","items":{"type":"object","$ref":"#\/definitions\/phone"},"x-example":""}},"required":["total","phones"]},"localeCodeList":{"description":"Locale codes list","type":"object","properties":{"total":{"type":"integer","description":"Total number of localeCodes documents that matched your query.","x-example":5,"format":"int32"},"localeCodes":{"type":"array","description":"List of localeCodes.","items":{"type":"object","$ref":"#\/definitions\/localeCode"},"x-example":""}},"required":["total","localeCodes"]},"document":{"description":"Document","type":"object","properties":{"$id":{"type":"string","description":"Document ID.","x-example":"5e5ea5c16897e"},"$collectionId":{"type":"string","description":"Collection ID.","x-example":"5e5ea5c15117e"},"$databaseId":{"type":"string","description":"Database ID.","x-example":"5e5ea5c15117e"},"$createdAt":{"type":"string","description":"Document creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Document update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$permissions":{"type":"array","description":"Document permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","items":{"type":"string"},"x-example":["read(\"any\")"]}},"additionalProperties":true,"required":["$id","$collectionId","$databaseId","$createdAt","$updatedAt","$permissions"]},"log":{"description":"Log","type":"object","properties":{"event":{"type":"string","description":"Event name.","x-example":"account.sessions.create"},"userId":{"type":"string","description":"User ID.","x-example":"610fc2f985ee0"},"userEmail":{"type":"string","description":"User Email.","x-example":"john@appwrite.io"},"userName":{"type":"string","description":"User Name.","x-example":"John Doe"},"mode":{"type":"string","description":"API mode when event triggered.","x-example":"admin"},"ip":{"type":"string","description":"IP session in use when the session was created.","x-example":"127.0.0.1"},"time":{"type":"string","description":"Log creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"osCode":{"type":"string","description":"Operating system code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/os.json).","x-example":"Mac"},"osName":{"type":"string","description":"Operating system name.","x-example":"Mac"},"osVersion":{"type":"string","description":"Operating system version.","x-example":"Mac"},"clientType":{"type":"string","description":"Client type.","x-example":"browser"},"clientCode":{"type":"string","description":"Client code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/clients.json).","x-example":"CM"},"clientName":{"type":"string","description":"Client name.","x-example":"Chrome Mobile iOS"},"clientVersion":{"type":"string","description":"Client version.","x-example":"84.0"},"clientEngine":{"type":"string","description":"Client engine name.","x-example":"WebKit"},"clientEngineVersion":{"type":"string","description":"Client engine name.","x-example":"605.1.15"},"deviceName":{"type":"string","description":"Device name.","x-example":"smartphone"},"deviceBrand":{"type":"string","description":"Device brand name.","x-example":"Google"},"deviceModel":{"type":"string","description":"Device model name.","x-example":"Nexus 5"},"countryCode":{"type":"string","description":"Country two-character ISO 3166-1 alpha code.","x-example":"US"},"countryName":{"type":"string","description":"Country name.","x-example":"United States"}},"required":["event","userId","userEmail","userName","mode","ip","time","osCode","osName","osVersion","clientType","clientCode","clientName","clientVersion","clientEngine","clientEngineVersion","deviceName","deviceBrand","deviceModel","countryCode","countryName"]},"user":{"description":"User","type":"object","properties":{"$id":{"type":"string","description":"User ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"User creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"User update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"User name.","x-example":"John Doe"},"password":{"type":"string","description":"Hashed user password.","x-example":"$argon2id$v=19$m=2048,t=4,p=3$aUZjLnliVWRINmFNTWMudg$5S+x+7uA31xFnrHFT47yFwcJeaP0w92L\/4LdgrVRXxE","x-nullable":true},"hash":{"type":"string","description":"Password hashing algorithm.","x-example":"argon2","x-nullable":true},"hashOptions":{"type":"object","description":"Password hashing algorithm configuration.","x-example":{},"items":{"x-oneOf":[{"$ref":"#\/definitions\/algoArgon2"},{"$ref":"#\/definitions\/algoScrypt"},{"$ref":"#\/definitions\/algoScryptModified"},{"$ref":"#\/definitions\/algoBcrypt"},{"$ref":"#\/definitions\/algoPhpass"},{"$ref":"#\/definitions\/algoSha"},{"$ref":"#\/definitions\/algoMd5"}]},"x-nullable":true},"registration":{"type":"string","description":"User registration date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"status":{"type":"boolean","description":"User status. Pass `true` for enabled and `false` for disabled.","x-example":true},"labels":{"type":"array","description":"Labels for the user.","items":{"type":"string"},"x-example":["vip"]},"passwordUpdate":{"type":"string","description":"Password update time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"email":{"type":"string","description":"User email address.","x-example":"john@appwrite.io"},"phone":{"type":"string","description":"User phone number in E.164 format.","x-example":"+4930901820"},"emailVerification":{"type":"boolean","description":"Email verification status.","x-example":true},"phoneVerification":{"type":"boolean","description":"Phone verification status.","x-example":true},"mfa":{"type":"boolean","description":"Multi factor authentication status.","x-example":true},"prefs":{"type":"object","description":"User preferences as a key-value object","x-example":{"theme":"pink","timezone":"UTC"},"items":{"type":"object","$ref":"#\/definitions\/preferences"}},"targets":{"type":"array","description":"A user-owned message receiver. A single user may have multiple e.g. emails, phones, and a browser. Each target is registered with a single provider.","items":{"type":"object","$ref":"#\/definitions\/target"},"x-example":[]},"accessedAt":{"type":"string","description":"Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.","x-example":"2020-10-15T06:38:00.000+00:00"}},"required":["$id","$createdAt","$updatedAt","name","registration","status","labels","passwordUpdate","email","phone","emailVerification","phoneVerification","mfa","prefs","targets","accessedAt"]},"algoMd5":{"description":"AlgoMD5","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"md5"}},"required":["type"]},"algoSha":{"description":"AlgoSHA","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"sha"}},"required":["type"]},"algoPhpass":{"description":"AlgoPHPass","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"phpass"}},"required":["type"]},"algoBcrypt":{"description":"AlgoBcrypt","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"bcrypt"}},"required":["type"]},"algoScrypt":{"description":"AlgoScrypt","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"scrypt"},"costCpu":{"type":"integer","description":"CPU complexity of computed hash.","x-example":8,"format":"int32"},"costMemory":{"type":"integer","description":"Memory complexity of computed hash.","x-example":14,"format":"int32"},"costParallel":{"type":"integer","description":"Parallelization of computed hash.","x-example":1,"format":"int32"},"length":{"type":"integer","description":"Length used to compute hash.","x-example":64,"format":"int32"}},"required":["type","costCpu","costMemory","costParallel","length"]},"algoScryptModified":{"description":"AlgoScryptModified","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"scryptMod"},"salt":{"type":"string","description":"Salt used to compute hash.","x-example":"UxLMreBr6tYyjQ=="},"saltSeparator":{"type":"string","description":"Separator used to compute hash.","x-example":"Bw=="},"signerKey":{"type":"string","description":"Key used to compute hash.","x-example":"XyEKE9RcTDeLEsL\/RjwPDBv\/RqDl8fb3gpYEOQaPihbxf1ZAtSOHCjuAAa7Q3oHpCYhXSN9tizHgVOwn6krflQ=="}},"required":["type","salt","saltSeparator","signerKey"]},"algoArgon2":{"description":"AlgoArgon2","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"argon2"},"memoryCost":{"type":"integer","description":"Memory used to compute hash.","x-example":65536,"format":"int32"},"timeCost":{"type":"integer","description":"Amount of time consumed to compute hash","x-example":4,"format":"int32"},"threads":{"type":"integer","description":"Number of threads used to compute hash.","x-example":3,"format":"int32"}},"required":["type","memoryCost","timeCost","threads"]},"preferences":{"description":"Preferences","type":"object","additionalProperties":true},"session":{"description":"Session","type":"object","properties":{"$id":{"type":"string","description":"Session ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Session creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Session update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"userId":{"type":"string","description":"User ID.","x-example":"5e5bb8c16897e"},"expire":{"type":"string","description":"Session expiration date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"provider":{"type":"string","description":"Session Provider.","x-example":"email"},"providerUid":{"type":"string","description":"Session Provider User ID.","x-example":"user@example.com"},"providerAccessToken":{"type":"string","description":"Session Provider Access Token.","x-example":"MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3"},"providerAccessTokenExpiry":{"type":"string","description":"The date of when the access token expires in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"providerRefreshToken":{"type":"string","description":"Session Provider Refresh Token.","x-example":"MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3"},"ip":{"type":"string","description":"IP in use when the session was created.","x-example":"127.0.0.1"},"osCode":{"type":"string","description":"Operating system code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/os.json).","x-example":"Mac"},"osName":{"type":"string","description":"Operating system name.","x-example":"Mac"},"osVersion":{"type":"string","description":"Operating system version.","x-example":"Mac"},"clientType":{"type":"string","description":"Client type.","x-example":"browser"},"clientCode":{"type":"string","description":"Client code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/clients.json).","x-example":"CM"},"clientName":{"type":"string","description":"Client name.","x-example":"Chrome Mobile iOS"},"clientVersion":{"type":"string","description":"Client version.","x-example":"84.0"},"clientEngine":{"type":"string","description":"Client engine name.","x-example":"WebKit"},"clientEngineVersion":{"type":"string","description":"Client engine name.","x-example":"605.1.15"},"deviceName":{"type":"string","description":"Device name.","x-example":"smartphone"},"deviceBrand":{"type":"string","description":"Device brand name.","x-example":"Google"},"deviceModel":{"type":"string","description":"Device model name.","x-example":"Nexus 5"},"countryCode":{"type":"string","description":"Country two-character ISO 3166-1 alpha code.","x-example":"US"},"countryName":{"type":"string","description":"Country name.","x-example":"United States"},"current":{"type":"boolean","description":"Returns true if this the current user session.","x-example":true},"factors":{"type":"array","description":"Returns a list of active session factors.","items":{"type":"string"},"x-example":["email"]},"secret":{"type":"string","description":"Secret used to authenticate the user. Only included if the request was made with an API key","x-example":"5e5bb8c16897e"},"mfaUpdatedAt":{"type":"string","description":"Most recent date in ISO 8601 format when the session successfully passed MFA challenge.","x-example":"2020-10-15T06:38:00.000+00:00"}},"required":["$id","$createdAt","$updatedAt","userId","expire","provider","providerUid","providerAccessToken","providerAccessTokenExpiry","providerRefreshToken","ip","osCode","osName","osVersion","clientType","clientCode","clientName","clientVersion","clientEngine","clientEngineVersion","deviceName","deviceBrand","deviceModel","countryCode","countryName","current","factors","secret","mfaUpdatedAt"]},"identity":{"description":"Identity","type":"object","properties":{"$id":{"type":"string","description":"Identity ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Identity creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Identity update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"userId":{"type":"string","description":"User ID.","x-example":"5e5bb8c16897e"},"provider":{"type":"string","description":"Identity Provider.","x-example":"email"},"providerUid":{"type":"string","description":"ID of the User in the Identity Provider.","x-example":"5e5bb8c16897e"},"providerEmail":{"type":"string","description":"Email of the User in the Identity Provider.","x-example":"user@example.com"},"providerAccessToken":{"type":"string","description":"Identity Provider Access Token.","x-example":"MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3"},"providerAccessTokenExpiry":{"type":"string","description":"The date of when the access token expires in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"providerRefreshToken":{"type":"string","description":"Identity Provider Refresh Token.","x-example":"MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3"}},"required":["$id","$createdAt","$updatedAt","userId","provider","providerUid","providerEmail","providerAccessToken","providerAccessTokenExpiry","providerRefreshToken"]},"token":{"description":"Token","type":"object","properties":{"$id":{"type":"string","description":"Token ID.","x-example":"bb8ea5c16897e"},"$createdAt":{"type":"string","description":"Token creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"userId":{"type":"string","description":"User ID.","x-example":"5e5ea5c168bb8"},"secret":{"type":"string","description":"Token secret key. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.","x-example":""},"expire":{"type":"string","description":"Token expiration date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"phrase":{"type":"string","description":"Security phrase of a token. Empty if security phrase was not requested when creating a token. It includes randomly generated phrase which is also sent in the external resource such as email.","x-example":"Golden Fox"}},"required":["$id","$createdAt","userId","secret","expire","phrase"]},"jwt":{"description":"JWT","type":"object","properties":{"jwt":{"type":"string","description":"JWT encoded string.","x-example":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"}},"required":["jwt"]},"locale":{"description":"Locale","type":"object","properties":{"ip":{"type":"string","description":"User IP address.","x-example":"127.0.0.1"},"countryCode":{"type":"string","description":"Country code in [ISO 3166-1](http:\/\/en.wikipedia.org\/wiki\/ISO_3166-1) two-character format","x-example":"US"},"country":{"type":"string","description":"Country name. This field support localization.","x-example":"United States"},"continentCode":{"type":"string","description":"Continent code. A two character continent code \"AF\" for Africa, \"AN\" for Antarctica, \"AS\" for Asia, \"EU\" for Europe, \"NA\" for North America, \"OC\" for Oceania, and \"SA\" for South America.","x-example":"NA"},"continent":{"type":"string","description":"Continent name. This field support localization.","x-example":"North America"},"eu":{"type":"boolean","description":"True if country is part of the European Union.","x-example":false},"currency":{"type":"string","description":"Currency code in [ISO 4217-1](http:\/\/en.wikipedia.org\/wiki\/ISO_4217) three-character format","x-example":"USD"}},"required":["ip","countryCode","country","continentCode","continent","eu","currency"]},"localeCode":{"description":"LocaleCode","type":"object","properties":{"code":{"type":"string","description":"Locale codes in [ISO 639-1](https:\/\/en.wikipedia.org\/wiki\/List_of_ISO_639-1_codes)","x-example":"en-us"},"name":{"type":"string","description":"Locale name","x-example":"US"}},"required":["code","name"]},"file":{"description":"File","type":"object","properties":{"$id":{"type":"string","description":"File ID.","x-example":"5e5ea5c16897e"},"bucketId":{"type":"string","description":"Bucket ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"File creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"File update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$permissions":{"type":"array","description":"File permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","items":{"type":"string"},"x-example":["read(\"any\")"]},"name":{"type":"string","description":"File name.","x-example":"Pink.png"},"signature":{"type":"string","description":"File MD5 signature.","x-example":"5d529fd02b544198ae075bd57c1762bb"},"mimeType":{"type":"string","description":"File mime type.","x-example":"image\/png"},"sizeOriginal":{"type":"integer","description":"File original size in bytes.","x-example":17890,"format":"int32"},"chunksTotal":{"type":"integer","description":"Total number of chunks available","x-example":17890,"format":"int32"},"chunksUploaded":{"type":"integer","description":"Total number of chunks uploaded","x-example":17890,"format":"int32"}},"required":["$id","bucketId","$createdAt","$updatedAt","$permissions","name","signature","mimeType","sizeOriginal","chunksTotal","chunksUploaded"]},"team":{"description":"Team","type":"object","properties":{"$id":{"type":"string","description":"Team ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Team creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Team update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"Team name.","x-example":"VIP"},"total":{"type":"integer","description":"Total number of team members.","x-example":7,"format":"int32"},"prefs":{"type":"object","description":"Team preferences as a key-value object","x-example":{"theme":"pink","timezone":"UTC"},"items":{"type":"object","$ref":"#\/definitions\/preferences"}}},"required":["$id","$createdAt","$updatedAt","name","total","prefs"]},"membership":{"description":"Membership","type":"object","properties":{"$id":{"type":"string","description":"Membership ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Membership creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Membership update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"userId":{"type":"string","description":"User ID.","x-example":"5e5ea5c16897e"},"userName":{"type":"string","description":"User name.","x-example":"John Doe"},"userEmail":{"type":"string","description":"User email address.","x-example":"john@appwrite.io"},"teamId":{"type":"string","description":"Team ID.","x-example":"5e5ea5c16897e"},"teamName":{"type":"string","description":"Team name.","x-example":"VIP"},"invited":{"type":"string","description":"Date, the user has been invited to join the team in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"joined":{"type":"string","description":"Date, the user has accepted the invitation to join the team in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"confirm":{"type":"boolean","description":"User confirmation status, true if the user has joined the team or false otherwise.","x-example":false},"mfa":{"type":"boolean","description":"Multi factor authentication status, true if the user has MFA enabled or false otherwise.","x-example":false},"roles":{"type":"array","description":"User list of roles","items":{"type":"string"},"x-example":["owner"]}},"required":["$id","$createdAt","$updatedAt","userId","userName","userEmail","teamId","teamName","invited","joined","confirm","mfa","roles"]},"execution":{"description":"Execution","type":"object","properties":{"$id":{"type":"string","description":"Execution ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Execution creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Execution upate date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$permissions":{"type":"array","description":"Execution roles.","items":{"type":"string"},"x-example":["any"]},"functionId":{"type":"string","description":"Function ID.","x-example":"5e5ea6g16897e"},"trigger":{"type":"string","description":"The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.","x-example":"http"},"status":{"type":"string","description":"The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, or `failed`.","x-example":"processing"},"requestMethod":{"type":"string","description":"HTTP request method type.","x-example":"GET"},"requestPath":{"type":"string","description":"HTTP request path and query.","x-example":"\/articles?id=5"},"requestHeaders":{"type":"array","description":"HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.","items":{"type":"object","$ref":"#\/definitions\/headers"},"x-example":[{"Content-Type":"application\/json"}]},"responseStatusCode":{"type":"integer","description":"HTTP response status code.","x-example":200,"format":"int32"},"responseBody":{"type":"string","description":"HTTP response body. This will return empty unless execution is created as synchronous.","x-example":"Developers are awesome."},"responseHeaders":{"type":"array","description":"HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.","items":{"type":"object","$ref":"#\/definitions\/headers"},"x-example":[{"Content-Type":"application\/json"}]},"logs":{"type":"string","description":"Function logs. Includes the last 4,000 characters. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.","x-example":""},"errors":{"type":"string","description":"Function errors. Includes the last 4,000 characters. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.","x-example":""},"duration":{"type":"number","description":"Function execution duration in seconds.","x-example":0.4,"format":"double"}},"required":["$id","$createdAt","$updatedAt","$permissions","functionId","trigger","status","requestMethod","requestPath","requestHeaders","responseStatusCode","responseBody","responseHeaders","logs","errors","duration"]},"country":{"description":"Country","type":"object","properties":{"name":{"type":"string","description":"Country name.","x-example":"United States"},"code":{"type":"string","description":"Country two-character ISO 3166-1 alpha code.","x-example":"US"}},"required":["name","code"]},"continent":{"description":"Continent","type":"object","properties":{"name":{"type":"string","description":"Continent name.","x-example":"Europe"},"code":{"type":"string","description":"Continent two letter code.","x-example":"EU"}},"required":["name","code"]},"language":{"description":"Language","type":"object","properties":{"name":{"type":"string","description":"Language name.","x-example":"Italian"},"code":{"type":"string","description":"Language two-character ISO 639-1 codes.","x-example":"it"},"nativeName":{"type":"string","description":"Language native name.","x-example":"Italiano"}},"required":["name","code","nativeName"]},"currency":{"description":"Currency","type":"object","properties":{"symbol":{"type":"string","description":"Currency symbol.","x-example":"$"},"name":{"type":"string","description":"Currency name.","x-example":"US dollar"},"symbolNative":{"type":"string","description":"Currency native symbol.","x-example":"$"},"decimalDigits":{"type":"integer","description":"Number of decimal digits.","x-example":2,"format":"int32"},"rounding":{"type":"number","description":"Currency digit rounding.","x-example":0,"format":"double"},"code":{"type":"string","description":"Currency code in [ISO 4217-1](http:\/\/en.wikipedia.org\/wiki\/ISO_4217) three-character format.","x-example":"USD"},"namePlural":{"type":"string","description":"Currency plural name","x-example":"US dollars"}},"required":["symbol","name","symbolNative","decimalDigits","rounding","code","namePlural"]},"phone":{"description":"Phone","type":"object","properties":{"code":{"type":"string","description":"Phone code.","x-example":"+1"},"countryCode":{"type":"string","description":"Country two-character ISO 3166-1 alpha code.","x-example":"US"},"countryName":{"type":"string","description":"Country name.","x-example":"United States"}},"required":["code","countryCode","countryName"]},"headers":{"description":"Headers","type":"object","properties":{"name":{"type":"string","description":"Header name.","x-example":"Content-Type"},"value":{"type":"string","description":"Header value.","x-example":"application\/json"}},"required":["name","value"]},"mfaChallenge":{"description":"MFA Challenge","type":"object","properties":{"$id":{"type":"string","description":"Token ID.","x-example":"bb8ea5c16897e"},"$createdAt":{"type":"string","description":"Token creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"userId":{"type":"string","description":"User ID.","x-example":"5e5ea5c168bb8"},"expire":{"type":"string","description":"Token expiration date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"}},"required":["$id","$createdAt","userId","expire"]},"mfaRecoveryCodes":{"description":"MFA Recovery Codes","type":"object","properties":{"recoveryCodes":{"type":"array","description":"Recovery codes.","items":{"type":"string"},"x-example":["a3kf0-s0cl2","s0co1-as98s"]}},"required":["recoveryCodes"]},"mfaType":{"description":"MFAType","type":"object","properties":{"secret":{"type":"string","description":"Secret token used for TOTP factor.","x-example":true},"uri":{"type":"string","description":"URI for authenticator apps.","x-example":true}},"required":["secret","uri"]},"mfaFactors":{"description":"MFAFactors","type":"object","properties":{"totp":{"type":"boolean","description":"Can TOTP be used for MFA challenge for this account.","x-example":true},"phone":{"type":"boolean","description":"Can phone (SMS) be used for MFA challenge for this account.","x-example":true},"email":{"type":"boolean","description":"Can email be used for MFA challenge for this account.","x-example":true},"recoveryCode":{"type":"boolean","description":"Can recovery code be used for MFA challenge for this account.","x-example":true}},"required":["totp","phone","email","recoveryCode"]},"subscriber":{"description":"Subscriber","type":"object","properties":{"$id":{"type":"string","description":"Subscriber ID.","x-example":"259125845563242502"},"$createdAt":{"type":"string","description":"Subscriber creation time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Subscriber update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"targetId":{"type":"string","description":"Target ID.","x-example":"259125845563242502"},"target":{"type":"object","description":"Target.","x-example":{"$id":"259125845563242502","$createdAt":"2020-10-15T06:38:00.000+00:00","$updatedAt":"2020-10-15T06:38:00.000+00:00","providerType":"email","providerId":"259125845563242502","name":"ageon-app-email","identifier":"random-mail@email.org","userId":"5e5ea5c16897e"},"items":{"type":"object","$ref":"#\/definitions\/target"}},"userId":{"type":"string","description":"Topic ID.","x-example":"5e5ea5c16897e"},"userName":{"type":"string","description":"User Name.","x-example":"Aegon Targaryen"},"topicId":{"type":"string","description":"Topic ID.","x-example":"259125845563242502"},"providerType":{"type":"string","description":"The target provider type. Can be one of the following: `email`, `sms` or `push`.","x-example":"email"}},"required":["$id","$createdAt","$updatedAt","targetId","target","userId","userName","topicId","providerType"]},"target":{"description":"Target","type":"object","properties":{"$id":{"type":"string","description":"Target ID.","x-example":"259125845563242502"},"$createdAt":{"type":"string","description":"Target creation time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Target update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"Target Name.","x-example":"Aegon apple token"},"userId":{"type":"string","description":"User ID.","x-example":"259125845563242502"},"providerId":{"type":"string","description":"Provider ID.","x-example":"259125845563242502","x-nullable":true},"providerType":{"type":"string","description":"The target provider type. Can be one of the following: `email`, `sms` or `push`.","x-example":"email"},"identifier":{"type":"string","description":"The target identifier.","x-example":"token"}},"required":["$id","$createdAt","$updatedAt","name","userId","providerType","identifier"]}},"externalDocs":{"description":"Full API docs, specs and tutorials","url":"https:\/\/appwrite.io\/docs"}} \ No newline at end of file +{ + "swagger": "2.0", + "info": { + "version": "1.6.2", + "title": "Appwrite", + "description": "Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https:\/\/appwrite.io\/docs](https:\/\/appwrite.io\/docs)", + "termsOfService": "https:\/\/appwrite.io\/policy\/terms", + "contact": { + "name": "Appwrite Team", + "url": "https:\/\/appwrite.io\/support", + "email": "team@appwrite.io" + }, + "license": { + "name": "BSD-3-Clause", + "url": "https:\/\/raw.githubusercontent.com\/appwrite\/appwrite\/master\/LICENSE" + } + }, + "host": "<REGION>.cloud.appwrite.io", + "basePath": "\/v1", + "schemes": [ + "https" + ], + "consumes": [ + "application\/json", + "multipart\/form-data" + ], + "produces": [ + "application\/json" + ], + "securityDefinitions": { + "Project": { + "type": "apiKey", + "name": "X-Appwrite-Project", + "description": "Your project ID", + "in": "header", + "x-appwrite": { + "demo": "<YOUR_PROJECT_ID>" + } + }, + "JWT": { + "type": "apiKey", + "name": "X-Appwrite-JWT", + "description": "Your secret JSON Web Token", + "in": "header", + "x-appwrite": { + "demo": "<YOUR_JWT>" + } + }, + "Locale": { + "type": "apiKey", + "name": "X-Appwrite-Locale", + "description": "", + "in": "header", + "x-appwrite": { + "demo": "en" + } + }, + "Session": { + "type": "apiKey", + "name": "X-Appwrite-Session", + "description": "The user session to authenticate with", + "in": "header" + } + }, + "paths": { + "\/account": { + "get": { + "summary": "Get account", + "operationId": "accountGet", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Get the currently logged in user.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "get", + "group": "account", + "weight": 9, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + }, + "post": { + "summary": "Create account", + "operationId": "accountCreate", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to allow a new user to register a new account in your project. After the user registration completes successfully, you can use the [\/account\/verfication](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createVerification) route to start verifying the user email address. To allow the new user to login to their new account, you need to create a new [account session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createEmailSession).", + "responses": { + "201": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "create", + "group": "account", + "weight": 8, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "New user password. Must be between 8 and 256 chars.", + "default": null, + "x-example": null + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "default": "", + "x-example": "<NAME>" + } + }, + "required": [ + "userId", + "email", + "password" + ] + } + } + ] + } + }, + "\/account\/email": { + "patch": { + "summary": "Update email", + "operationId": "accountUpdateEmail", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Update currently logged in user account email address. After changing user address, the user confirmation status will get reset. A new confirmation email is not sent automatically however you can use the send confirmation email endpoint again to send the confirmation email. For security measures, user password is required to complete this request.\nThis endpoint can also be used to convert an anonymous account to a normal one, by passing an email address and a new password.\n", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updateEmail", + "group": "account", + "weight": 34, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-email.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password. Must be at least 8 chars.", + "default": null, + "x-example": "password" + } + }, + "required": [ + "email", + "password" + ] + } + } + ] + } + }, + "\/account\/identities": { + "get": { + "summary": "List identities", + "operationId": "accountListIdentities", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Get the list of identities for the currently logged in user.", + "responses": { + "200": { + "description": "Identities List", + "schema": { + "$ref": "#\/definitions\/identityList" + } + } + }, + "x-appwrite": { + "method": "listIdentities", + "group": "identities", + "weight": 57, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/list-identities.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-identities.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, provider, providerUid, providerEmail, providerAccessTokenExpiry", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + } + }, + "\/account\/identities\/{identityId}": { + "delete": { + "summary": "Delete identity", + "operationId": "accountDeleteIdentity", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "account" + ], + "description": "Delete an identity by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteIdentity", + "group": "identities", + "weight": 58, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/delete-identity.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-identity.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "identityId", + "description": "Identity ID.", + "required": true, + "type": "string", + "x-example": "<IDENTITY_ID>", + "in": "path" + } + ] + } + }, + "\/account\/jwts": { + "post": { + "summary": "Create JWT", + "operationId": "accountCreateJWT", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to create a JSON Web Token. You can use the resulting JWT to authenticate on behalf of the current user when working with the Appwrite server-side API and SDKs. The JWT secret is valid for 15 minutes from its creation and will be invalid if the user will logout in that time frame.", + "responses": { + "201": { + "description": "JWT", + "schema": { + "$ref": "#\/definitions\/jwt" + } + } + }, + "x-appwrite": { + "method": "createJWT", + "group": "tokens", + "weight": 29, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-j-w-t.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md", + "rate-limit": 100, + "rate-time": 3600, + "rate-key": "url:{url},userId:{userId}", + "scope": "account", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ] + } + }, + "\/account\/logs": { + "get": { + "summary": "List logs", + "operationId": "accountListLogs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Get the list of latest security activity logs for the currently logged in user. Each log returns user IP address, location and date and time of log.", + "responses": { + "200": { + "description": "Logs List", + "schema": { + "$ref": "#\/definitions\/logList" + } + } + }, + "x-appwrite": { + "method": "listLogs", + "group": "logs", + "weight": 31, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/list-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + } + }, + "\/account\/mfa": { + "patch": { + "summary": "Update MFA", + "operationId": "accountUpdateMFA", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Enable or disable MFA on an account.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updateMFA", + "group": "mfa", + "weight": 44, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-m-f-a.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "mfa": { + "type": "boolean", + "description": "Enable or disable MFA.", + "default": null, + "x-example": false + } + }, + "required": [ + "mfa" + ] + } + } + ] + } + }, + "\/account\/mfa\/authenticators\/{type}": { + "post": { + "summary": "Create authenticator", + "operationId": "accountCreateMfaAuthenticator", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Add an authenticator app to be used as an MFA factor. Verify the authenticator using the [verify authenticator](\/docs\/references\/cloud\/client-web\/account#updateMfaAuthenticator) method.", + "responses": { + "200": { + "description": "MFAType", + "schema": { + "$ref": "#\/definitions\/mfaType" + } + } + }, + "x-appwrite": { + "method": "createMfaAuthenticator", + "group": "mfa", + "weight": 46, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-mfa-authenticator.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-authenticator.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "type", + "description": "Type of authenticator. Must be `totp`", + "required": true, + "type": "string", + "x-example": "totp", + "enum": [ + "totp" + ], + "x-enum-name": "AuthenticatorType", + "x-enum-keys": [], + "in": "path" + } + ] + }, + "put": { + "summary": "Update authenticator (confirmation)", + "operationId": "accountUpdateMfaAuthenticator", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Verify an authenticator app after adding it using the [add authenticator](\/docs\/references\/cloud\/client-web\/account#createMfaAuthenticator) method.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updateMfaAuthenticator", + "group": "mfa", + "weight": 47, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-mfa-authenticator.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-authenticator.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "type", + "description": "Type of authenticator.", + "required": true, + "type": "string", + "x-example": "totp", + "enum": [ + "totp" + ], + "x-enum-name": "AuthenticatorType", + "x-enum-keys": [], + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "otp": { + "type": "string", + "description": "Valid verification token.", + "default": null, + "x-example": "<OTP>" + } + }, + "required": [ + "otp" + ] + } + } + ] + }, + "delete": { + "summary": "Delete authenticator", + "operationId": "accountDeleteMfaAuthenticator", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "account" + ], + "description": "Delete an authenticator for a user by ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteMfaAuthenticator", + "group": "mfa", + "weight": 51, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/delete-mfa-authenticator.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-mfa-authenticator.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "type", + "description": "Type of authenticator.", + "required": true, + "type": "string", + "x-example": "totp", + "enum": [ + "totp" + ], + "x-enum-name": "AuthenticatorType", + "x-enum-keys": [], + "in": "path" + } + ] + } + }, + "\/account\/mfa\/challenge": { + "post": { + "summary": "Create MFA challenge", + "operationId": "accountCreateMfaChallenge", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Begin the process of MFA verification after sign-in. Finish the flow with [updateMfaChallenge](\/docs\/references\/cloud\/client-web\/account#updateMfaChallenge) method.", + "responses": { + "201": { + "description": "MFA Challenge", + "schema": { + "$ref": "#\/definitions\/mfaChallenge" + } + } + }, + "x-appwrite": { + "method": "createMfaChallenge", + "group": "mfa", + "weight": 52, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-mfa-challenge.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},userId:{userId}", + "scope": "account", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "factor": { + "type": "string", + "description": "Factor used for verification. Must be one of following: `email`, `phone`, `totp`, `recoveryCode`.", + "default": null, + "x-example": "email", + "enum": [ + "email", + "phone", + "totp", + "recoverycode" + ], + "x-enum-name": "AuthenticationFactor", + "x-enum-keys": [] + } + }, + "required": [ + "factor" + ] + } + } + ] + }, + "put": { + "summary": "Update MFA challenge (confirmation)", + "operationId": "accountUpdateMfaChallenge", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Complete the MFA challenge by providing the one-time password. Finish the process of MFA verification by providing the one-time password. To begin the flow, use [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method.", + "responses": { + "200": { + "description": "Session", + "schema": { + "$ref": "#\/definitions\/session" + } + } + }, + "x-appwrite": { + "method": "updateMfaChallenge", + "group": "mfa", + "weight": 53, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-mfa-challenge.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},challengeId:{param-challengeId}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "challengeId": { + "type": "string", + "description": "ID of the challenge.", + "default": null, + "x-example": "<CHALLENGE_ID>" + }, + "otp": { + "type": "string", + "description": "Valid verification token.", + "default": null, + "x-example": "<OTP>" + } + }, + "required": [ + "challengeId", + "otp" + ] + } + } + ] + } + }, + "\/account\/mfa\/factors": { + "get": { + "summary": "List factors", + "operationId": "accountListMfaFactors", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "List the factors available on the account to be used as a MFA challange.", + "responses": { + "200": { + "description": "MFAFactors", + "schema": { + "$ref": "#\/definitions\/mfaFactors" + } + } + }, + "x-appwrite": { + "method": "listMfaFactors", + "group": "mfa", + "weight": 45, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/list-mfa-factors.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-mfa-factors.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/account\/mfa\/recovery-codes": { + "get": { + "summary": "List MFA recovery codes", + "operationId": "accountGetMfaRecoveryCodes", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Get recovery codes that can be used as backup for MFA flow. Before getting codes, they must be generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method. An OTP challenge is required to read recovery codes.", + "responses": { + "200": { + "description": "MFA Recovery Codes", + "schema": { + "$ref": "#\/definitions\/mfaRecoveryCodes" + } + } + }, + "x-appwrite": { + "method": "getMfaRecoveryCodes", + "group": "mfa", + "weight": 50, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/get-mfa-recovery-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-mfa-recovery-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + }, + "post": { + "summary": "Create MFA recovery codes", + "operationId": "accountCreateMfaRecoveryCodes", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Generate recovery codes as backup for MFA flow. It's recommended to generate and show then immediately after user successfully adds their authehticator. Recovery codes can be used as a MFA verification type in [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method.", + "responses": { + "201": { + "description": "MFA Recovery Codes", + "schema": { + "$ref": "#\/definitions\/mfaRecoveryCodes" + } + } + }, + "x-appwrite": { + "method": "createMfaRecoveryCodes", + "group": "mfa", + "weight": 48, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-mfa-recovery-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-recovery-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + }, + "patch": { + "summary": "Update MFA recovery codes (regenerate)", + "operationId": "accountUpdateMfaRecoveryCodes", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Regenerate recovery codes that can be used as backup for MFA flow. Before regenerating codes, they must be first generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method. An OTP challenge is required to regenreate recovery codes.", + "responses": { + "200": { + "description": "MFA Recovery Codes", + "schema": { + "$ref": "#\/definitions\/mfaRecoveryCodes" + } + } + }, + "x-appwrite": { + "method": "updateMfaRecoveryCodes", + "group": "mfa", + "weight": 49, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-mfa-recovery-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-recovery-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/account\/name": { + "patch": { + "summary": "Update name", + "operationId": "accountUpdateName", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Update currently logged in user account name.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updateName", + "group": "account", + "weight": 32, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-name.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-name.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "default": null, + "x-example": "<NAME>" + } + }, + "required": [ + "name" + ] + } + } + ] + } + }, + "\/account\/password": { + "patch": { + "summary": "Update password", + "operationId": "accountUpdatePassword", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Update currently logged in user password. For validation, user is required to pass in the new password, and the old password. For users created with OAuth, Team Invites and Magic URL, oldPassword is optional.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updatePassword", + "group": "account", + "weight": 33, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-password.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-password.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "password": { + "type": "string", + "description": "New user password. Must be at least 8 chars.", + "default": null, + "x-example": null + }, + "oldPassword": { + "type": "string", + "description": "Current user password. Must be at least 8 chars.", + "default": "", + "x-example": "password" + } + }, + "required": [ + "password" + ] + } + } + ] + } + }, + "\/account\/phone": { + "patch": { + "summary": "Update phone", + "operationId": "accountUpdatePhone", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Update the currently logged in user's phone number. After updating the phone number, the phone verification status will be reset. A confirmation SMS is not sent automatically, however you can use the [POST \/account\/verification\/phone](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createPhoneVerification) endpoint to send a confirmation SMS.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updatePhone", + "group": "account", + "weight": 35, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-phone.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "phone": { + "type": "string", + "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "default": null, + "x-example": "+12065550100" + }, + "password": { + "type": "string", + "description": "User password. Must be at least 8 chars.", + "default": null, + "x-example": "password" + } + }, + "required": [ + "phone", + "password" + ] + } + } + ] + } + }, + "\/account\/prefs": { + "get": { + "summary": "Get account preferences", + "operationId": "accountGetPrefs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Get the preferences as a key-value object for the currently logged in user.", + "responses": { + "200": { + "description": "Preferences", + "schema": { + "$ref": "#\/definitions\/preferences" + } + } + }, + "x-appwrite": { + "method": "getPrefs", + "group": "account", + "weight": 30, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/get-prefs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-prefs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + }, + "patch": { + "summary": "Update preferences", + "operationId": "accountUpdatePrefs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Update currently logged in user account preferences. The object you pass is stored as is, and replaces any previous value. The maximum allowed prefs size is 64kB and throws error if exceeded.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updatePrefs", + "group": "account", + "weight": 36, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-prefs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-prefs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "prefs": { + "type": "object", + "description": "Prefs key-value JSON object.", + "default": {}, + "x-example": "{}" + } + }, + "required": [ + "prefs" + ] + } + } + ] + } + }, + "\/account\/recovery": { + "post": { + "summary": "Create password recovery", + "operationId": "accountCreateRecovery", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Sends the user an email with a temporary secret key for password reset. When the user clicks the confirmation link he is redirected back to your app password reset URL with the secret key and email address values attached to the URL query string. Use the query string params to submit a request to the [PUT \/account\/recovery](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateRecovery) endpoint to complete the process. The verification link sent to the user's email address is valid for 1 hour.", + "responses": { + "201": { + "description": "Token", + "schema": { + "$ref": "#\/definitions\/token" + } + } + }, + "x-appwrite": { + "method": "createRecovery", + "group": "recovery", + "weight": 38, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-recovery.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-recovery.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": [ + "url:{url},email:{param-email}", + "url:{url},ip:{ip}" + ], + "scope": "sessions.write", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "url": { + "type": "string", + "description": "URL to redirect the user back to your app from the recovery email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "default": null, + "x-example": "https:\/\/example.com" + } + }, + "required": [ + "email", + "url" + ] + } + } + ] + }, + "put": { + "summary": "Update password recovery (confirmation)", + "operationId": "accountUpdateRecovery", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to complete the user account password reset. Both the **userId** and **secret** arguments will be passed as query parameters to the redirect URL you have provided when sending your request to the [POST \/account\/recovery](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createRecovery) endpoint.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md) the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.", + "responses": { + "200": { + "description": "Token", + "schema": { + "$ref": "#\/definitions\/token" + } + } + }, + "x-appwrite": { + "method": "updateRecovery", + "group": "recovery", + "weight": 39, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-recovery.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-recovery.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},userId:{param-userId}", + "scope": "sessions.write", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID.", + "default": null, + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Valid reset token.", + "default": null, + "x-example": "<SECRET>" + }, + "password": { + "type": "string", + "description": "New user password. Must be between 8 and 256 chars.", + "default": null, + "x-example": null + } + }, + "required": [ + "userId", + "secret", + "password" + ] + } + } + ] + } + }, + "\/account\/sessions": { + "get": { + "summary": "List sessions", + "operationId": "accountListSessions", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Get the list of active sessions across different devices for the currently logged in user.", + "responses": { + "200": { + "description": "Sessions List", + "schema": { + "$ref": "#\/definitions\/sessionList" + } + } + }, + "x-appwrite": { + "method": "listSessions", + "group": "sessions", + "weight": 11, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/list-sessions.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-sessions.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + }, + "delete": { + "summary": "Delete sessions", + "operationId": "accountDeleteSessions", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "account" + ], + "description": "Delete all sessions from the user account and remove any sessions cookies from the end client.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteSessions", + "group": "sessions", + "weight": 12, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/delete-sessions.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-sessions.md", + "rate-limit": 100, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/account\/sessions\/anonymous": { + "post": { + "summary": "Create anonymous session", + "operationId": "accountCreateAnonymousSession", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to allow a new user to register an anonymous account in your project. This route will also create a new session for the user. To allow the new user to convert an anonymous account to a normal account, you need to update its [email and password](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateEmail) or create an [OAuth2 session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#CreateOAuth2Session).", + "responses": { + "201": { + "description": "Session", + "schema": { + "$ref": "#\/definitions\/session" + } + } + }, + "x-appwrite": { + "method": "createAnonymousSession", + "group": "sessions", + "weight": 17, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-anonymous-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-anonymous.md", + "rate-limit": 50, + "rate-time": 3600, + "rate-key": "ip:{ip}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ] + } + }, + "\/account\/sessions\/email": { + "post": { + "summary": "Create email password session", + "operationId": "accountCreateEmailPasswordSession", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Allow the user to login into their account by providing a valid email and password combination. This route will create a new session for the user.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).", + "responses": { + "201": { + "description": "Session", + "schema": { + "$ref": "#\/definitions\/session" + } + } + }, + "x-appwrite": { + "method": "createEmailPasswordSession", + "group": "sessions", + "weight": 16, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-email-password-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-email-password.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},email:{param-email}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password. Must be at least 8 chars.", + "default": null, + "x-example": "password" + } + }, + "required": [ + "email", + "password" + ] + } + } + ] + } + }, + "\/account\/sessions\/magic-url": { + "put": { + "summary": "Update magic URL session", + "operationId": "accountUpdateMagicURLSession", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.", + "responses": { + "201": { + "description": "Session", + "schema": { + "$ref": "#\/definitions\/session" + } + } + }, + "x-appwrite": { + "method": "updateMagicURLSession", + "group": "sessions", + "weight": 26, + "cookies": false, + "type": "", + "deprecated": true, + "demo": "account\/update-magic-u-r-l-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "ip:{ip},userId:{param-userId}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Valid verification token.", + "default": null, + "x-example": "<SECRET>" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + ] + } + }, + "\/account\/sessions\/oauth2\/{provider}": { + "get": { + "summary": "Create OAuth2 session", + "operationId": "accountCreateOAuth2Session", + "consumes": [ + "application\/json" + ], + "produces": [ + "text\/html" + ], + "tags": [ + "account" + ], + "description": "Allow the user to login to their account using the OAuth2 provider of their choice. Each OAuth2 provider should be enabled from the Appwrite console first. Use the success and failure arguments to provide a redirect URL's back to your app when login is completed.\n\nIf there is already an active session, the new session will be attached to the logged-in account. If there are no active sessions, the server will attempt to look for a user with the same email address as the email received from the OAuth2 provider and attach the new session to the existing user. If no matching user is found - the server will create a new user.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).\n", + "responses": { + "301": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "createOAuth2Session", + "group": "sessions", + "weight": 19, + "cookies": false, + "type": "webAuth", + "deprecated": false, + "demo": "account\/create-o-auth2session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-oauth2.md", + "rate-limit": 50, + "rate-time": 3600, + "rate-key": "ip:{ip}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "provider", + "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", + "required": true, + "type": "string", + "x-example": "amazon", + "enum": [ + "amazon", + "apple", + "auth0", + "authentik", + "autodesk", + "bitbucket", + "bitly", + "box", + "dailymotion", + "discord", + "disqus", + "dropbox", + "etsy", + "facebook", + "figma", + "github", + "gitlab", + "google", + "linkedin", + "microsoft", + "notion", + "oidc", + "okta", + "paypal", + "paypalSandbox", + "podio", + "salesforce", + "slack", + "spotify", + "stripe", + "tradeshift", + "tradeshiftBox", + "twitch", + "wordpress", + "yahoo", + "yammer", + "yandex", + "zoho", + "zoom", + "mock" + ], + "x-enum-name": "OAuthProvider", + "x-enum-keys": [], + "in": "path" + }, + { + "name": "success", + "description": "URL to redirect back to your app after a successful login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "required": false, + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com", + "default": "", + "in": "query" + }, + { + "name": "failure", + "description": "URL to redirect back to your app after a failed login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "required": false, + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com", + "default": "", + "in": "query" + }, + { + "name": "scopes", + "description": "A list of custom OAuth2 scopes. Check each provider internal docs for a list of supported scopes. Maximum of 100 scopes are allowed, each 4096 characters long.", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + } + }, + "\/account\/sessions\/phone": { + "put": { + "summary": "Update phone session", + "operationId": "accountUpdatePhoneSession", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.", + "responses": { + "201": { + "description": "Session", + "schema": { + "$ref": "#\/definitions\/session" + } + } + }, + "x-appwrite": { + "method": "updatePhoneSession", + "group": "sessions", + "weight": 27, + "cookies": false, + "type": "", + "deprecated": true, + "demo": "account\/update-phone-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "ip:{ip},userId:{param-userId}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Valid verification token.", + "default": null, + "x-example": "<SECRET>" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + ] + } + }, + "\/account\/sessions\/token": { + "post": { + "summary": "Create session", + "operationId": "accountCreateSession", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.", + "responses": { + "201": { + "description": "Session", + "schema": { + "$ref": "#\/definitions\/session" + } + } + }, + "x-appwrite": { + "method": "createSession", + "group": "sessions", + "weight": 18, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "ip:{ip},userId:{param-userId}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Secret of a token generated by login methods. For example, the `createMagicURLToken` or `createPhoneToken` methods.", + "default": null, + "x-example": "<SECRET>" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + ] + } + }, + "\/account\/sessions\/{sessionId}": { + "get": { + "summary": "Get session", + "operationId": "accountGetSession", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to get a logged in user's session using a Session ID. Inputting 'current' will return the current session being used.", + "responses": { + "200": { + "description": "Session", + "schema": { + "$ref": "#\/definitions\/session" + } + } + }, + "x-appwrite": { + "method": "getSession", + "group": "sessions", + "weight": 13, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/get-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-session.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "sessionId", + "description": "Session ID. Use the string 'current' to get the current device session.", + "required": true, + "type": "string", + "x-example": "<SESSION_ID>", + "in": "path" + } + ] + }, + "patch": { + "summary": "Update session", + "operationId": "accountUpdateSession", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to extend a session's length. Extending a session is useful when session expiry is short. If the session was created using an OAuth provider, this endpoint refreshes the access token from the provider.", + "responses": { + "200": { + "description": "Session", + "schema": { + "$ref": "#\/definitions\/session" + } + } + }, + "x-appwrite": { + "method": "updateSession", + "group": "sessions", + "weight": 15, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-session.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "sessionId", + "description": "Session ID. Use the string 'current' to update the current device session.", + "required": true, + "type": "string", + "x-example": "<SESSION_ID>", + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete session", + "operationId": "accountDeleteSession", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "account" + ], + "description": "Logout the user. Use 'current' as the session ID to logout on this device, use a session ID to logout on another device. If you're looking to logout the user on all devices, use [Delete Sessions](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#deleteSessions) instead.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteSession", + "group": "sessions", + "weight": 14, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/delete-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-session.md", + "rate-limit": 100, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "sessionId", + "description": "Session ID. Use the string 'current' to delete the current device session.", + "required": true, + "type": "string", + "x-example": "<SESSION_ID>", + "in": "path" + } + ] + } + }, + "\/account\/status": { + "patch": { + "summary": "Update status", + "operationId": "accountUpdateStatus", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Block the currently logged in user account. Behind the scene, the user record is not deleted but permanently blocked from any access. To completely delete a user, use the Users API instead.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updateStatus", + "group": "account", + "weight": 37, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-status.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-status.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/account\/targets\/push": { + "post": { + "summary": "Create push target", + "operationId": "accountCreatePushTarget", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to register a device for push notifications. Provide a target ID (custom or generated using ID.unique()), a device identifier (usually a device token), and optionally specify which provider should send notifications to this target. The target is automatically linked to the current session and includes device information like brand and model.", + "responses": { + "201": { + "description": "Target", + "schema": { + "$ref": "#\/definitions\/target" + } + } + }, + "x-appwrite": { + "method": "createPushTarget", + "group": "pushTargets", + "weight": 54, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-push-target.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-push-target.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "targets.write", + "platforms": [ + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "targetId": { + "type": "string", + "description": "Target ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<TARGET_ID>" + }, + "identifier": { + "type": "string", + "description": "The target identifier (token, email, phone etc.)", + "default": null, + "x-example": "<IDENTIFIER>" + }, + "providerId": { + "type": "string", + "description": "Provider ID. Message will be sent to this target from the specified provider ID. If no provider ID is set the first setup provider will be used.", + "default": "", + "x-example": "<PROVIDER_ID>" + } + }, + "required": [ + "targetId", + "identifier" + ] + } + } + ] + } + }, + "\/account\/targets\/{targetId}\/push": { + "put": { + "summary": "Update push target", + "operationId": "accountUpdatePushTarget", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Update the currently logged in user's push notification target. You can modify the target's identifier (device token) and provider ID (token, email, phone etc.). The target must exist and belong to the current user. If you change the provider ID, notifications will be sent through the new messaging provider instead.", + "responses": { + "200": { + "description": "Target", + "schema": { + "$ref": "#\/definitions\/target" + } + } + }, + "x-appwrite": { + "method": "updatePushTarget", + "group": "pushTargets", + "weight": 55, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-push-target.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-push-target.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "targets.write", + "platforms": [ + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [] + } + ], + "parameters": [ + { + "name": "targetId", + "description": "Target ID.", + "required": true, + "type": "string", + "x-example": "<TARGET_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "identifier": { + "type": "string", + "description": "The target identifier (token, email, phone etc.)", + "default": null, + "x-example": "<IDENTIFIER>" + } + }, + "required": [ + "identifier" + ] + } + } + ] + }, + "delete": { + "summary": "Delete push target", + "operationId": "accountDeletePushTarget", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "account" + ], + "description": "Delete a push notification target for the currently logged in user. After deletion, the device will no longer receive push notifications. The target must exist and belong to the current user.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deletePushTarget", + "group": "pushTargets", + "weight": 56, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/delete-push-target.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-push-target.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "targets.write", + "platforms": [ + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [] + } + ], + "parameters": [ + { + "name": "targetId", + "description": "Target ID.", + "required": true, + "type": "string", + "x-example": "<TARGET_ID>", + "in": "path" + } + ] + } + }, + "\/account\/tokens\/email": { + "post": { + "summary": "Create email token (OTP)", + "operationId": "accountCreateEmailToken", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Sends the user an email with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's email is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).", + "responses": { + "201": { + "description": "Token", + "schema": { + "$ref": "#\/definitions\/token" + } + } + }, + "x-appwrite": { + "method": "createEmailToken", + "group": "tokens", + "weight": 25, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-email-token.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-email.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},email:{param-email}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "phrase": { + "type": "boolean", + "description": "Toggle for security phrase. If enabled, email will be send with a randomly generated phrase and the phrase will also be included in the response. Confirming phrases match increases the security of your authentication flow.", + "default": false, + "x-example": false + } + }, + "required": [ + "userId", + "email" + ] + } + } + ] + } + }, + "\/account\/tokens\/magic-url": { + "post": { + "summary": "Create magic URL token", + "operationId": "accountCreateMagicURLToken", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Sends the user an email with a secret key for creating a session. If the provided user ID has not been registered, a new user will be created. When the user clicks the link in the email, the user is redirected back to the URL you provided with the secret key and userId values attached to the URL query string. Use the query string parameters to submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The link sent to the user's email address is valid for 1 hour.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).\n", + "responses": { + "201": { + "description": "Token", + "schema": { + "$ref": "#\/definitions\/token" + } + } + }, + "x-appwrite": { + "method": "createMagicURLToken", + "group": "tokens", + "weight": 24, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-magic-u-r-l-token.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-magic-url.md", + "rate-limit": 60, + "rate-time": 3600, + "rate-key": [ + "url:{url},email:{param-email}", + "url:{url},ip:{ip}" + ], + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "url": { + "type": "string", + "description": "URL to redirect the user back to your app from the magic URL login. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "default": "", + "x-example": "https:\/\/example.com" + }, + "phrase": { + "type": "boolean", + "description": "Toggle for security phrase. If enabled, email will be send with a randomly generated phrase and the phrase will also be included in the response. Confirming phrases match increases the security of your authentication flow.", + "default": false, + "x-example": false + } + }, + "required": [ + "userId", + "email" + ] + } + } + ] + } + }, + "\/account\/tokens\/oauth2\/{provider}": { + "get": { + "summary": "Create OAuth2 token", + "operationId": "accountCreateOAuth2Token", + "consumes": [ + "application\/json" + ], + "produces": [ + "text\/html" + ], + "tags": [ + "account" + ], + "description": "Allow the user to login to their account using the OAuth2 provider of their choice. Each OAuth2 provider should be enabled from the Appwrite console first. Use the success and failure arguments to provide a redirect URL's back to your app when login is completed. \n\nIf authentication succeeds, `userId` and `secret` of a token will be appended to the success URL as query parameters. These can be used to create a new session using the [Create session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).", + "responses": { + "301": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "createOAuth2Token", + "group": "tokens", + "weight": 23, + "cookies": false, + "type": "webAuth", + "deprecated": false, + "demo": "account\/create-o-auth2token.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-oauth2.md", + "rate-limit": 50, + "rate-time": 3600, + "rate-key": "ip:{ip}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "provider", + "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", + "required": true, + "type": "string", + "x-example": "amazon", + "enum": [ + "amazon", + "apple", + "auth0", + "authentik", + "autodesk", + "bitbucket", + "bitly", + "box", + "dailymotion", + "discord", + "disqus", + "dropbox", + "etsy", + "facebook", + "figma", + "github", + "gitlab", + "google", + "linkedin", + "microsoft", + "notion", + "oidc", + "okta", + "paypal", + "paypalSandbox", + "podio", + "salesforce", + "slack", + "spotify", + "stripe", + "tradeshift", + "tradeshiftBox", + "twitch", + "wordpress", + "yahoo", + "yammer", + "yandex", + "zoho", + "zoom", + "mock" + ], + "x-enum-name": "OAuthProvider", + "x-enum-keys": [], + "in": "path" + }, + { + "name": "success", + "description": "URL to redirect back to your app after a successful login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "required": false, + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com", + "default": "", + "in": "query" + }, + { + "name": "failure", + "description": "URL to redirect back to your app after a failed login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "required": false, + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com", + "default": "", + "in": "query" + }, + { + "name": "scopes", + "description": "A list of custom OAuth2 scopes. Check each provider internal docs for a list of supported scopes. Maximum of 100 scopes are allowed, each 4096 characters long.", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + } + }, + "\/account\/tokens\/phone": { + "post": { + "summary": "Create phone token", + "operationId": "accountCreatePhoneToken", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Sends the user an SMS with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's phone is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).", + "responses": { + "201": { + "description": "Token", + "schema": { + "$ref": "#\/definitions\/token" + } + } + }, + "x-appwrite": { + "method": "createPhoneToken", + "group": "tokens", + "weight": 28, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-phone-token.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-phone.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": [ + "url:{url},phone:{param-phone}", + "url:{url},ip:{ip}" + ], + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "phone": { + "type": "string", + "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "default": null, + "x-example": "+12065550100" + } + }, + "required": [ + "userId", + "phone" + ] + } + } + ] + } + }, + "\/account\/verification": { + "post": { + "summary": "Create email verification", + "operationId": "accountCreateVerification", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n", + "responses": { + "201": { + "description": "Token", + "schema": { + "$ref": "#\/definitions\/token" + } + } + }, + "x-appwrite": { + "method": "createVerification", + "group": "verification", + "weight": 40, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},userId:{userId}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "url": { + "type": "string", + "description": "URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "default": null, + "x-example": "https:\/\/example.com" + } + }, + "required": [ + "url" + ] + } + } + ] + }, + "put": { + "summary": "Update email verification (confirmation)", + "operationId": "accountUpdateVerification", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.", + "responses": { + "200": { + "description": "Token", + "schema": { + "$ref": "#\/definitions\/token" + } + } + }, + "x-appwrite": { + "method": "updateVerification", + "group": "verification", + "weight": 41, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},userId:{param-userId}", + "scope": "public", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID.", + "default": null, + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Valid verification token.", + "default": null, + "x-example": "<SECRET>" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + ] + } + }, + "\/account\/verification\/phone": { + "post": { + "summary": "Create phone verification", + "operationId": "accountCreatePhoneVerification", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to send a verification SMS to the currently logged in user. This endpoint is meant for use after updating a user's phone number using the [accountUpdatePhone](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updatePhone) endpoint. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updatePhoneVerification). The verification code sent to the user's phone number is valid for 15 minutes.", + "responses": { + "201": { + "description": "Token", + "schema": { + "$ref": "#\/definitions\/token" + } + } + }, + "x-appwrite": { + "method": "createPhoneVerification", + "group": "verification", + "weight": 42, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-phone-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-phone-verification.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": [ + "url:{url},userId:{userId}", + "url:{url},ip:{ip}" + ], + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + }, + "put": { + "summary": "Update phone verification (confirmation)", + "operationId": "accountUpdatePhoneVerification", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to complete the user phone verification process. Use the **userId** and **secret** that were sent to your user's phone number to verify the user email ownership. If confirmed this route will return a 200 status code.", + "responses": { + "200": { + "description": "Token", + "schema": { + "$ref": "#\/definitions\/token" + } + } + }, + "x-appwrite": { + "method": "updatePhoneVerification", + "group": "verification", + "weight": 43, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-phone-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone-verification.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "userId:{param-userId}", + "scope": "public", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID.", + "default": null, + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Valid verification token.", + "default": null, + "x-example": "<SECRET>" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + ] + } + }, + "\/avatars\/browsers\/{code}": { + "get": { + "summary": "Get browser icon", + "operationId": "avatarsGetBrowser", + "consumes": [ + "application\/json" + ], + "produces": [ + "image\/png" + ], + "tags": [ + "avatars" + ], + "description": "You can use this endpoint to show different browser icons to your users. The code argument receives the browser code as it appears in your user [GET \/account\/sessions](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#getSessions) endpoint. Use width, height and quality arguments to change the output settings.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.", + "responses": { + "200": { + "description": "Image", + "schema": { + "type": "file" + } + } + }, + "x-appwrite": { + "method": "getBrowser", + "group": null, + "weight": 60, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-browser.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-browser.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "code", + "description": "Browser Code.", + "required": true, + "type": "string", + "x-example": "aa", + "enum": [ + "aa", + "an", + "ch", + "ci", + "cm", + "cr", + "ff", + "sf", + "mf", + "ps", + "oi", + "om", + "op", + "on" + ], + "x-enum-name": "Browser", + "x-enum-keys": [ + "Avant Browser", + "Android WebView Beta", + "Google Chrome", + "Google Chrome (iOS)", + "Google Chrome (Mobile)", + "Chromium", + "Mozilla Firefox", + "Safari", + "Mobile Safari", + "Microsoft Edge", + "Microsoft Edge (iOS)", + "Opera Mini", + "Opera", + "Opera (Next)" + ], + "in": "path" + }, + { + "name": "width", + "description": "Image width. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100, + "in": "query" + }, + { + "name": "height", + "description": "Image height. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100, + "in": "query" + }, + { + "name": "quality", + "description": "Image quality. Pass an integer between 0 to 100. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100, + "in": "query" + } + ] + } + }, + "\/avatars\/credit-cards\/{code}": { + "get": { + "summary": "Get credit card icon", + "operationId": "avatarsGetCreditCard", + "consumes": [ + "application\/json" + ], + "produces": [ + "image\/png" + ], + "tags": [ + "avatars" + ], + "description": "The credit card endpoint will return you the icon of the credit card provider you need. Use width, height and quality arguments to change the output settings.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n", + "responses": { + "200": { + "description": "Image", + "schema": { + "type": "file" + } + } + }, + "x-appwrite": { + "method": "getCreditCard", + "group": null, + "weight": 59, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-credit-card.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-credit-card.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "code", + "description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, union-china-pay, visa, mir, maestro, rupay.", + "required": true, + "type": "string", + "x-example": "amex", + "enum": [ + "amex", + "argencard", + "cabal", + "cencosud", + "diners", + "discover", + "elo", + "hipercard", + "jcb", + "mastercard", + "naranja", + "targeta-shopping", + "union-china-pay", + "visa", + "mir", + "maestro", + "rupay" + ], + "x-enum-name": "CreditCard", + "x-enum-keys": [ + "American Express", + "Argencard", + "Cabal", + "Cencosud", + "Diners Club", + "Discover", + "Elo", + "Hipercard", + "JCB", + "Mastercard", + "Naranja", + "Tarjeta Shopping", + "Union China Pay", + "Visa", + "MIR", + "Maestro", + "Rupay" + ], + "in": "path" + }, + { + "name": "width", + "description": "Image width. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100, + "in": "query" + }, + { + "name": "height", + "description": "Image height. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100, + "in": "query" + }, + { + "name": "quality", + "description": "Image quality. Pass an integer between 0 to 100. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100, + "in": "query" + } + ] + } + }, + "\/avatars\/favicon": { + "get": { + "summary": "Get favicon", + "operationId": "avatarsGetFavicon", + "consumes": [ + "application\/json" + ], + "produces": [ + "image\/*" + ], + "tags": [ + "avatars" + ], + "description": "Use this endpoint to fetch the favorite icon (AKA favicon) of any remote website URL.\n\nThis endpoint does not follow HTTP redirects.", + "responses": { + "200": { + "description": "Image", + "schema": { + "type": "file" + } + } + }, + "x-appwrite": { + "method": "getFavicon", + "group": null, + "weight": 63, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-favicon.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-favicon.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "url", + "description": "Website URL which you want to fetch the favicon from.", + "required": true, + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com", + "in": "query" + } + ] + } + }, + "\/avatars\/flags\/{code}": { + "get": { + "summary": "Get country flag", + "operationId": "avatarsGetFlag", + "consumes": [ + "application\/json" + ], + "produces": [ + "image\/png" + ], + "tags": [ + "avatars" + ], + "description": "You can use this endpoint to show different country flags icons to your users. The code argument receives the 2 letter country code. Use width, height and quality arguments to change the output settings. Country codes follow the [ISO 3166-1](https:\/\/en.wikipedia.org\/wiki\/ISO_3166-1) standard.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n", + "responses": { + "200": { + "description": "Image", + "schema": { + "type": "file" + } + } + }, + "x-appwrite": { + "method": "getFlag", + "group": null, + "weight": 61, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-flag.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-flag.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "code", + "description": "Country Code. ISO Alpha-2 country code format.", + "required": true, + "type": "string", + "x-example": "af", + "enum": [ + "af", + "ao", + "al", + "ad", + "ae", + "ar", + "am", + "ag", + "au", + "at", + "az", + "bi", + "be", + "bj", + "bf", + "bd", + "bg", + "bh", + "bs", + "ba", + "by", + "bz", + "bo", + "br", + "bb", + "bn", + "bt", + "bw", + "cf", + "ca", + "ch", + "cl", + "cn", + "ci", + "cm", + "cd", + "cg", + "co", + "km", + "cv", + "cr", + "cu", + "cy", + "cz", + "de", + "dj", + "dm", + "dk", + "do", + "dz", + "ec", + "eg", + "er", + "es", + "ee", + "et", + "fi", + "fj", + "fr", + "fm", + "ga", + "gb", + "ge", + "gh", + "gn", + "gm", + "gw", + "gq", + "gr", + "gd", + "gt", + "gy", + "hn", + "hr", + "ht", + "hu", + "id", + "in", + "ie", + "ir", + "iq", + "is", + "il", + "it", + "jm", + "jo", + "jp", + "kz", + "ke", + "kg", + "kh", + "ki", + "kn", + "kr", + "kw", + "la", + "lb", + "lr", + "ly", + "lc", + "li", + "lk", + "ls", + "lt", + "lu", + "lv", + "ma", + "mc", + "md", + "mg", + "mv", + "mx", + "mh", + "mk", + "ml", + "mt", + "mm", + "me", + "mn", + "mz", + "mr", + "mu", + "mw", + "my", + "na", + "ne", + "ng", + "ni", + "nl", + "no", + "np", + "nr", + "nz", + "om", + "pk", + "pa", + "pe", + "ph", + "pw", + "pg", + "pl", + "pf", + "kp", + "pt", + "py", + "qa", + "ro", + "ru", + "rw", + "sa", + "sd", + "sn", + "sg", + "sb", + "sl", + "sv", + "sm", + "so", + "rs", + "ss", + "st", + "sr", + "sk", + "si", + "se", + "sz", + "sc", + "sy", + "td", + "tg", + "th", + "tj", + "tm", + "tl", + "to", + "tt", + "tn", + "tr", + "tv", + "tz", + "ug", + "ua", + "uy", + "us", + "uz", + "va", + "vc", + "ve", + "vn", + "vu", + "ws", + "ye", + "za", + "zm", + "zw" + ], + "x-enum-name": "Flag", + "x-enum-keys": [ + "Afghanistan", + "Angola", + "Albania", + "Andorra", + "United Arab Emirates", + "Argentina", + "Armenia", + "Antigua and Barbuda", + "Australia", + "Austria", + "Azerbaijan", + "Burundi", + "Belgium", + "Benin", + "Burkina Faso", + "Bangladesh", + "Bulgaria", + "Bahrain", + "Bahamas", + "Bosnia and Herzegovina", + "Belarus", + "Belize", + "Bolivia", + "Brazil", + "Barbados", + "Brunei Darussalam", + "Bhutan", + "Botswana", + "Central African Republic", + "Canada", + "Switzerland", + "Chile", + "China", + "C\u00f4te d'Ivoire", + "Cameroon", + "Democratic Republic of the Congo", + "Republic of the Congo", + "Colombia", + "Comoros", + "Cape Verde", + "Costa Rica", + "Cuba", + "Cyprus", + "Czech Republic", + "Germany", + "Djibouti", + "Dominica", + "Denmark", + "Dominican Republic", + "Algeria", + "Ecuador", + "Egypt", + "Eritrea", + "Spain", + "Estonia", + "Ethiopia", + "Finland", + "Fiji", + "France", + "Micronesia (Federated States of)", + "Gabon", + "United Kingdom", + "Georgia", + "Ghana", + "Guinea", + "Gambia", + "Guinea-Bissau", + "Equatorial Guinea", + "Greece", + "Grenada", + "Guatemala", + "Guyana", + "Honduras", + "Croatia", + "Haiti", + "Hungary", + "Indonesia", + "India", + "Ireland", + "Iran (Islamic Republic of)", + "Iraq", + "Iceland", + "Israel", + "Italy", + "Jamaica", + "Jordan", + "Japan", + "Kazakhstan", + "Kenya", + "Kyrgyzstan", + "Cambodia", + "Kiribati", + "Saint Kitts and Nevis", + "South Korea", + "Kuwait", + "Lao People's Democratic Republic", + "Lebanon", + "Liberia", + "Libya", + "Saint Lucia", + "Liechtenstein", + "Sri Lanka", + "Lesotho", + "Lithuania", + "Luxembourg", + "Latvia", + "Morocco", + "Monaco", + "Moldova", + "Madagascar", + "Maldives", + "Mexico", + "Marshall Islands", + "North Macedonia", + "Mali", + "Malta", + "Myanmar", + "Montenegro", + "Mongolia", + "Mozambique", + "Mauritania", + "Mauritius", + "Malawi", + "Malaysia", + "Namibia", + "Niger", + "Nigeria", + "Nicaragua", + "Netherlands", + "Norway", + "Nepal", + "Nauru", + "New Zealand", + "Oman", + "Pakistan", + "Panama", + "Peru", + "Philippines", + "Palau", + "Papua New Guinea", + "Poland", + "French Polynesia", + "North Korea", + "Portugal", + "Paraguay", + "Qatar", + "Romania", + "Russia", + "Rwanda", + "Saudi Arabia", + "Sudan", + "Senegal", + "Singapore", + "Solomon Islands", + "Sierra Leone", + "El Salvador", + "San Marino", + "Somalia", + "Serbia", + "South Sudan", + "Sao Tome and Principe", + "Suriname", + "Slovakia", + "Slovenia", + "Sweden", + "Eswatini", + "Seychelles", + "Syria", + "Chad", + "Togo", + "Thailand", + "Tajikistan", + "Turkmenistan", + "Timor-Leste", + "Tonga", + "Trinidad and Tobago", + "Tunisia", + "Turkey", + "Tuvalu", + "Tanzania", + "Uganda", + "Ukraine", + "Uruguay", + "United States", + "Uzbekistan", + "Vatican City", + "Saint Vincent and the Grenadines", + "Venezuela", + "Vietnam", + "Vanuatu", + "Samoa", + "Yemen", + "South Africa", + "Zambia", + "Zimbabwe" + ], + "in": "path" + }, + { + "name": "width", + "description": "Image width. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100, + "in": "query" + }, + { + "name": "height", + "description": "Image height. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100, + "in": "query" + }, + { + "name": "quality", + "description": "Image quality. Pass an integer between 0 to 100. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100, + "in": "query" + } + ] + } + }, + "\/avatars\/image": { + "get": { + "summary": "Get image from URL", + "operationId": "avatarsGetImage", + "consumes": [ + "application\/json" + ], + "produces": [ + "image\/*" + ], + "tags": [ + "avatars" + ], + "description": "Use this endpoint to fetch a remote image URL and crop it to any image size you want. This endpoint is very useful if you need to crop and display remote images in your app or in case you want to make sure a 3rd party image is properly served using a TLS protocol.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 400x400px.\n\nThis endpoint does not follow HTTP redirects.", + "responses": { + "200": { + "description": "Image", + "schema": { + "type": "file" + } + } + }, + "x-appwrite": { + "method": "getImage", + "group": null, + "weight": 62, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-image.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-image.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "url", + "description": "Image URL which you want to crop.", + "required": true, + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com", + "in": "query" + }, + { + "name": "width", + "description": "Resize preview image width, Pass an integer between 0 to 2000. Defaults to 400.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 400, + "in": "query" + }, + { + "name": "height", + "description": "Resize preview image height, Pass an integer between 0 to 2000. Defaults to 400.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 400, + "in": "query" + } + ] + } + }, + "\/avatars\/initials": { + "get": { + "summary": "Get user initials", + "operationId": "avatarsGetInitials", + "consumes": [ + "application\/json" + ], + "produces": [ + "image\/png" + ], + "tags": [ + "avatars" + ], + "description": "Use this endpoint to show your user initials avatar icon on your website or app. By default, this route will try to print your logged-in user name or email initials. You can also overwrite the user name if you pass the 'name' parameter. If no name is given and no user is logged, an empty avatar will be returned.\n\nYou can use the color and background params to change the avatar colors. By default, a random theme will be selected. The random theme will persist for the user's initials when reloading the same theme will always return for the same initials.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n", + "responses": { + "200": { + "description": "Image", + "schema": { + "type": "file" + } + } + }, + "x-appwrite": { + "method": "getInitials", + "group": null, + "weight": 65, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-initials.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-initials.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "name", + "description": "Full Name. When empty, current user name or email will be used. Max length: 128 chars.", + "required": false, + "type": "string", + "x-example": "<NAME>", + "default": "", + "in": "query" + }, + { + "name": "width", + "description": "Image width. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 500, + "in": "query" + }, + { + "name": "height", + "description": "Image height. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 500, + "in": "query" + }, + { + "name": "background", + "description": "Changes background color. By default a random color will be picked and stay will persistent to the given name.", + "required": false, + "type": "string", + "default": "", + "in": "query" + } + ] + } + }, + "\/avatars\/qr": { + "get": { + "summary": "Get QR code", + "operationId": "avatarsGetQR", + "consumes": [ + "application\/json" + ], + "produces": [ + "image\/png" + ], + "tags": [ + "avatars" + ], + "description": "Converts a given plain text to a QR code image. You can use the query parameters to change the size and style of the resulting image.\n", + "responses": { + "200": { + "description": "Image", + "schema": { + "type": "file" + } + } + }, + "x-appwrite": { + "method": "getQR", + "group": null, + "weight": 64, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-q-r.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-qr.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "text", + "description": "Plain text to be converted to QR code image.", + "required": true, + "type": "string", + "x-example": "<TEXT>", + "in": "query" + }, + { + "name": "size", + "description": "QR code size. Pass an integer between 1 to 1000. Defaults to 400.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 1, + "default": 400, + "in": "query" + }, + { + "name": "margin", + "description": "Margin from edge. Pass an integer between 0 to 10. Defaults to 1.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 1, + "in": "query" + }, + { + "name": "download", + "description": "Return resulting image with 'Content-Disposition: attachment ' headers for the browser to start downloading it. Pass 0 for no header, or 1 for otherwise. Default value is set to 0.", + "required": false, + "type": "boolean", + "x-example": false, + "default": false, + "in": "query" + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/documents": { + "get": { + "summary": "List documents", + "operationId": "databasesListDocuments", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Get a list of all the user's documents in a given collection. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Documents List", + "schema": { + "$ref": "#\/definitions\/documentList" + } + } + }, + "x-appwrite": { + "method": "listDocuments", + "group": "documents", + "weight": 109, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/list-documents.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-documents.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "documents.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + }, + "post": { + "summary": "Create document", + "operationId": "databasesCreateDocument", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.\n", + "responses": { + "201": { + "description": "Document", + "schema": { + "$ref": "#\/definitions\/document" + } + } + }, + "x-appwrite": { + "method": "createDocument", + "group": "documents", + "weight": 108, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-document.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-document.md", + "rate-limit": 120, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", + "scope": "documents.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection). Make sure to define attributes before creating documents.", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "documentId": { + "type": "string", + "description": "Document ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<DOCUMENT_ID>" + }, + "data": { + "type": "object", + "description": "Document data as JSON object.", + "default": {}, + "x-example": "{}" + }, + "permissions": { + "type": "array", + "description": "An array of permissions strings. By default, only the current user is granted all permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "default": null, + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + } + }, + "required": [ + "documentId", + "data" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}": { + "get": { + "summary": "Get document", + "operationId": "databasesGetDocument", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Get a document by its unique ID. This endpoint response returns a JSON object with the document data.", + "responses": { + "200": { + "description": "Document", + "schema": { + "$ref": "#\/definitions\/document" + } + } + }, + "x-appwrite": { + "method": "getDocument", + "group": "documents", + "weight": 110, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/get-document.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "documents.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "documentId", + "description": "Document ID.", + "required": true, + "type": "string", + "x-example": "<DOCUMENT_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + }, + "patch": { + "summary": "Update document", + "operationId": "databasesUpdateDocument", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Update a document by its unique ID. Using the patch method you can pass only specific fields that will get updated.", + "responses": { + "200": { + "description": "Document", + "schema": { + "$ref": "#\/definitions\/document" + } + } + }, + "x-appwrite": { + "method": "updateDocument", + "group": "documents", + "weight": 112, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-document.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-document.md", + "rate-limit": 120, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", + "scope": "documents.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID.", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "documentId", + "description": "Document ID.", + "required": true, + "type": "string", + "x-example": "<DOCUMENT_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "description": "Document data as JSON object. Include only attribute and value pairs to be updated.", + "default": [], + "x-example": "{}" + }, + "permissions": { + "type": "array", + "description": "An array of permissions strings. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "default": null, + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + } + } + } + } + ] + }, + "delete": { + "summary": "Delete document", + "operationId": "databasesDeleteDocument", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "databases" + ], + "description": "Delete a document by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteDocument", + "group": "documents", + "weight": 113, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/delete-document.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-document.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", + "scope": "documents.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "documentId", + "description": "Document ID.", + "required": true, + "type": "string", + "x-example": "<DOCUMENT_ID>", + "in": "path" + } + ] + } + }, + "\/functions\/{functionId}\/executions": { + "get": { + "summary": "List executions", + "operationId": "functionsListExecutions", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Get a list of all the current user function execution logs. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Executions List", + "schema": { + "$ref": "#\/definitions\/executionList" + } + } + }, + "x-appwrite": { + "method": "listExecutions", + "group": "executions", + "weight": 305, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/list-executions.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-executions.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "execution.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: trigger, status, responseStatusCode, duration, requestMethod, requestPath, deploymentId", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + }, + "post": { + "summary": "Create execution", + "operationId": "functionsCreateExecution", + "consumes": [ + "application\/json" + ], + "produces": [ + "multipart\/form-data" + ], + "tags": [ + "functions" + ], + "description": "Trigger a function execution. The returned object will return you the current execution status. You can ping the `Get Execution` endpoint to get updates on the current execution status. Once this endpoint is called, your function execution process will start asynchronously.", + "responses": { + "201": { + "description": "Execution", + "schema": { + "$ref": "#\/definitions\/execution" + } + } + }, + "x-appwrite": { + "method": "createExecution", + "group": "executions", + "weight": 304, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/create-execution.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-execution.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "execution.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "HTTP body of execution. Default value is empty string.", + "default": "", + "x-example": "<BODY>" + }, + "async": { + "type": "boolean", + "description": "Execute code in the background. Default value is false.", + "default": false, + "x-example": false + }, + "path": { + "type": "string", + "description": "HTTP path of execution. Path can include query params. Default value is \/", + "default": "\/", + "x-example": "<PATH>" + }, + "method": { + "type": "string", + "description": "HTTP method of execution. Default value is GET.", + "default": "POST", + "x-example": "GET", + "enum": [ + "GET", + "POST", + "PUT", + "PATCH", + "DELETE", + "OPTIONS" + ], + "x-enum-name": "ExecutionMethod", + "x-enum-keys": [] + }, + "headers": { + "type": "object", + "description": "HTTP headers of execution. Defaults to empty.", + "default": [], + "x-example": "{}" + }, + "scheduledAt": { + "type": "string", + "description": "Scheduled execution time in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future with precision in minutes.", + "default": null, + "x-example": null + } + } + } + } + ] + } + }, + "\/functions\/{functionId}\/executions\/{executionId}": { + "get": { + "summary": "Get execution", + "operationId": "functionsGetExecution", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Get a function execution log by its unique ID.", + "responses": { + "200": { + "description": "Execution", + "schema": { + "$ref": "#\/definitions\/execution" + } + } + }, + "x-appwrite": { + "method": "getExecution", + "group": "executions", + "weight": 306, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/get-execution.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-execution.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "execution.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "executionId", + "description": "Execution ID.", + "required": true, + "type": "string", + "x-example": "<EXECUTION_ID>", + "in": "path" + } + ] + } + }, + "\/graphql": { + "post": { + "summary": "GraphQL endpoint", + "operationId": "graphqlQuery", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "graphql" + ], + "description": "Execute a GraphQL mutation.", + "responses": { + "200": { + "description": "Any", + "schema": { + "$ref": "#\/definitions\/any" + } + } + }, + "x-appwrite": { + "method": "query", + "group": "graphql", + "weight": 330, + "cookies": false, + "type": "graphql", + "deprecated": false, + "demo": "graphql\/query.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "url:{url},ip:{ip}", + "scope": "graphql", + "platforms": [ + "server", + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "query": { + "type": "object", + "description": "The query or queries to execute.", + "default": {}, + "x-example": "{}" + } + }, + "required": [ + "query" + ] + } + } + ] + } + }, + "\/graphql\/mutation": { + "post": { + "summary": "GraphQL endpoint", + "operationId": "graphqlMutation", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "graphql" + ], + "description": "Execute a GraphQL mutation.", + "responses": { + "200": { + "description": "Any", + "schema": { + "$ref": "#\/definitions\/any" + } + } + }, + "x-appwrite": { + "method": "mutation", + "group": "graphql", + "weight": 329, + "cookies": false, + "type": "graphql", + "deprecated": false, + "demo": "graphql\/mutation.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "url:{url},ip:{ip}", + "scope": "graphql", + "platforms": [ + "server", + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "query": { + "type": "object", + "description": "The query or queries to execute.", + "default": {}, + "x-example": "{}" + } + }, + "required": [ + "query" + ] + } + } + ] + } + }, + "\/locale": { + "get": { + "summary": "Get user locale", + "operationId": "localeGet", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "locale" + ], + "description": "Get the current user location based on IP. Returns an object with user country code, country name, continent name, continent code, ip address and suggested currency. You can use the locale header to get the data in a supported language.\n\n([IP Geolocation by DB-IP](https:\/\/db-ip.com))", + "responses": { + "200": { + "description": "Locale", + "schema": { + "$ref": "#\/definitions\/locale" + } + } + }, + "x-appwrite": { + "method": "get", + "group": null, + "weight": 117, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/get-locale.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/locale\/codes": { + "get": { + "summary": "List locale codes", + "operationId": "localeListCodes", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "locale" + ], + "description": "List of all locale codes in [ISO 639-1](https:\/\/en.wikipedia.org\/wiki\/List_of_ISO_639-1_codes).", + "responses": { + "200": { + "description": "Locale codes list", + "schema": { + "$ref": "#\/definitions\/localeCodeList" + } + } + }, + "x-appwrite": { + "method": "listCodes", + "group": null, + "weight": 118, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-locale-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/locale\/continents": { + "get": { + "summary": "List continents", + "operationId": "localeListContinents", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "locale" + ], + "description": "List of all continents. You can use the locale header to get the data in a supported language.", + "responses": { + "200": { + "description": "Continents List", + "schema": { + "$ref": "#\/definitions\/continentList" + } + } + }, + "x-appwrite": { + "method": "listContinents", + "group": null, + "weight": 122, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-continents.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-continents.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/locale\/countries": { + "get": { + "summary": "List countries", + "operationId": "localeListCountries", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "locale" + ], + "description": "List of all countries. You can use the locale header to get the data in a supported language.", + "responses": { + "200": { + "description": "Countries List", + "schema": { + "$ref": "#\/definitions\/countryList" + } + } + }, + "x-appwrite": { + "method": "listCountries", + "group": null, + "weight": 119, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-countries.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/locale\/countries\/eu": { + "get": { + "summary": "List EU countries", + "operationId": "localeListCountriesEU", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "locale" + ], + "description": "List of all countries that are currently members of the EU. You can use the locale header to get the data in a supported language.", + "responses": { + "200": { + "description": "Countries List", + "schema": { + "$ref": "#\/definitions\/countryList" + } + } + }, + "x-appwrite": { + "method": "listCountriesEU", + "group": null, + "weight": 120, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-countries-e-u.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-eu.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/locale\/countries\/phones": { + "get": { + "summary": "List countries phone codes", + "operationId": "localeListCountriesPhones", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "locale" + ], + "description": "List of all countries phone codes. You can use the locale header to get the data in a supported language.", + "responses": { + "200": { + "description": "Phones List", + "schema": { + "$ref": "#\/definitions\/phoneList" + } + } + }, + "x-appwrite": { + "method": "listCountriesPhones", + "group": null, + "weight": 121, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-countries-phones.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-phones.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/locale\/currencies": { + "get": { + "summary": "List currencies", + "operationId": "localeListCurrencies", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "locale" + ], + "description": "List of all currencies, including currency symbol, name, plural, and decimal digits for all major and minor currencies. You can use the locale header to get the data in a supported language.", + "responses": { + "200": { + "description": "Currencies List", + "schema": { + "$ref": "#\/definitions\/currencyList" + } + } + }, + "x-appwrite": { + "method": "listCurrencies", + "group": null, + "weight": 123, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-currencies.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-currencies.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/locale\/languages": { + "get": { + "summary": "List languages", + "operationId": "localeListLanguages", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "locale" + ], + "description": "List of all languages classified by ISO 639-1 including 2-letter code, name in English, and name in the respective language.", + "responses": { + "200": { + "description": "Languages List", + "schema": { + "$ref": "#\/definitions\/languageList" + } + } + }, + "x-appwrite": { + "method": "listLanguages", + "group": null, + "weight": 124, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-languages.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-languages.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/messaging\/topics\/{topicId}\/subscribers": { + "post": { + "summary": "Create subscriber", + "operationId": "messagingCreateSubscriber", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Create a new subscriber.", + "responses": { + "201": { + "description": "Subscriber", + "schema": { + "$ref": "#\/definitions\/subscriber" + } + } + }, + "x-appwrite": { + "method": "createSubscriber", + "group": "subscribers", + "weight": 375, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-subscriber.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-subscriber.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "subscribers.write", + "platforms": [ + "server", + "client", + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [], + "Session": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID. The topic ID to subscribe to.", + "required": true, + "type": "string", + "x-example": "<TOPIC_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "subscriberId": { + "type": "string", + "description": "Subscriber ID. Choose a custom Subscriber ID or a new Subscriber ID.", + "default": null, + "x-example": "<SUBSCRIBER_ID>" + }, + "targetId": { + "type": "string", + "description": "Target ID. The target ID to link to the specified Topic ID.", + "default": null, + "x-example": "<TARGET_ID>" + } + }, + "required": [ + "subscriberId", + "targetId" + ] + } + } + ] + } + }, + "\/messaging\/topics\/{topicId}\/subscribers\/{subscriberId}": { + "delete": { + "summary": "Delete subscriber", + "operationId": "messagingDeleteSubscriber", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "messaging" + ], + "description": "Delete a subscriber by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteSubscriber", + "group": "subscribers", + "weight": 379, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/delete-subscriber.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-subscriber.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "subscribers.write", + "platforms": [ + "server", + "client", + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [], + "Session": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID. The topic ID subscribed to.", + "required": true, + "type": "string", + "x-example": "<TOPIC_ID>", + "in": "path" + }, + { + "name": "subscriberId", + "description": "Subscriber ID.", + "required": true, + "type": "string", + "x-example": "<SUBSCRIBER_ID>", + "in": "path" + } + ] + } + }, + "\/storage\/buckets\/{bucketId}\/files": { + "get": { + "summary": "List files", + "operationId": "storageListFiles", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "storage" + ], + "description": "Get a list of all the user files. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Files List", + "schema": { + "$ref": "#\/definitions\/fileList" + } + } + }, + "x-appwrite": { + "method": "listFiles", + "group": "files", + "weight": 207, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/list-files.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-files.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "type": "string", + "x-example": "<BUCKET_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, signature, mimeType, sizeOriginal, chunksTotal, chunksUploaded", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + }, + "post": { + "summary": "Create file", + "operationId": "storageCreateFile", + "consumes": [ + "multipart\/form-data" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "storage" + ], + "description": "Create a new file. Before using this route, you should create a new bucket resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/storage#storageCreateBucket) API or directly from your Appwrite console.\n\nLarger files should be uploaded using multiple requests with the [content-range](https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTTP\/Headers\/Content-Range) header to send a partial request with a maximum supported chunk of `5MB`. The `content-range` header values should always be in bytes.\n\nWhen the first request is sent, the server will return the **File** object, and the subsequent part request must include the file's **id** in `x-appwrite-id` header to allow the server to know that the partial upload is for the existing file and not for a new one.\n\nIf you're creating a new file using one of the Appwrite SDKs, all the chunking logic will be managed by the SDK internally.\n", + "responses": { + "201": { + "description": "File", + "schema": { + "$ref": "#\/definitions\/file" + } + } + }, + "x-appwrite": { + "method": "createFile", + "group": "files", + "weight": 206, + "cookies": false, + "type": "upload", + "deprecated": false, + "demo": "storage\/create-file.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-file.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId},chunkId:{chunkId}", + "scope": "files.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "type": "string", + "x-example": "<BUCKET_ID>", + "in": "path" + }, + { + "name": "fileId", + "description": "File ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "required": true, + "x-upload-id": true, + "type": "string", + "x-example": "<FILE_ID>", + "in": "formData" + }, + { + "name": "file", + "description": "Binary file. Appwrite SDKs provide helpers to handle file input. [Learn about file input](https:\/\/appwrite.io\/docs\/products\/storage\/upload-download#input-file).", + "required": true, + "type": "file", + "in": "formData" + }, + { + "name": "permissions", + "description": "An array of permission strings. By default, only the current user is granted all permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "x-example": "[\"read(\"any\")\"]", + "in": "formData" + } + ] + } + }, + "\/storage\/buckets\/{bucketId}\/files\/{fileId}": { + "get": { + "summary": "Get file", + "operationId": "storageGetFile", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "storage" + ], + "description": "Get a file by its unique ID. This endpoint response returns a JSON object with the file metadata.", + "responses": { + "200": { + "description": "File", + "schema": { + "$ref": "#\/definitions\/file" + } + } + }, + "x-appwrite": { + "method": "getFile", + "group": "files", + "weight": 208, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/get-file.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "type": "string", + "x-example": "<BUCKET_ID>", + "in": "path" + }, + { + "name": "fileId", + "description": "File ID.", + "required": true, + "type": "string", + "x-example": "<FILE_ID>", + "in": "path" + } + ] + }, + "put": { + "summary": "Update file", + "operationId": "storageUpdateFile", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "storage" + ], + "description": "Update a file by its unique ID. Only users with write permissions have access to update this resource.", + "responses": { + "200": { + "description": "File", + "schema": { + "$ref": "#\/definitions\/file" + } + } + }, + "x-appwrite": { + "method": "updateFile", + "group": "files", + "weight": 213, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/update-file.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-file.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", + "scope": "files.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "type": "string", + "x-example": "<BUCKET_ID>", + "in": "path" + }, + { + "name": "fileId", + "description": "File unique ID.", + "required": true, + "type": "string", + "x-example": "<FILE_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the file", + "default": null, + "x-example": "<NAME>" + }, + "permissions": { + "type": "array", + "description": "An array of permission string. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "default": null, + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + } + } + } + } + ] + }, + "delete": { + "summary": "Delete file", + "operationId": "storageDeleteFile", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "storage" + ], + "description": "Delete a file by its unique ID. Only users with write permissions have access to delete this resource.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteFile", + "group": "files", + "weight": 214, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/delete-file.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-file.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", + "scope": "files.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "type": "string", + "x-example": "<BUCKET_ID>", + "in": "path" + }, + { + "name": "fileId", + "description": "File ID.", + "required": true, + "type": "string", + "x-example": "<FILE_ID>", + "in": "path" + } + ] + } + }, + "\/storage\/buckets\/{bucketId}\/files\/{fileId}\/download": { + "get": { + "summary": "Get file for download", + "operationId": "storageGetFileDownload", + "consumes": [ + "application\/json" + ], + "produces": [ + "*\/*" + ], + "tags": [ + "storage" + ], + "description": "Get a file content by its unique ID. The endpoint response return with a 'Content-Disposition: attachment' header that tells the browser to start downloading the file to user downloads directory.", + "responses": { + "200": { + "description": "File", + "schema": { + "type": "file" + } + } + }, + "x-appwrite": { + "method": "getFileDownload", + "group": "files", + "weight": 210, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "storage\/get-file-download.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-download.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "type": "string", + "x-example": "<BUCKET_ID>", + "in": "path" + }, + { + "name": "fileId", + "description": "File ID.", + "required": true, + "type": "string", + "x-example": "<FILE_ID>", + "in": "path" + } + ] + } + }, + "\/storage\/buckets\/{bucketId}\/files\/{fileId}\/preview": { + "get": { + "summary": "Get file preview", + "operationId": "storageGetFilePreview", + "consumes": [ + "application\/json" + ], + "produces": [ + "image\/*" + ], + "tags": [ + "storage" + ], + "description": "Get a file preview image. Currently, this method supports preview for image files (jpg, png, and gif), other supported formats, like pdf, docs, slides, and spreadsheets, will return the file icon image. You can also pass query string arguments for cutting and resizing your preview image. Preview is supported only for image files smaller than 10MB.", + "responses": { + "200": { + "description": "Image", + "schema": { + "type": "file" + } + } + }, + "x-appwrite": { + "method": "getFilePreview", + "group": "files", + "weight": 209, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "storage\/get-file-preview.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-preview.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "type": "string", + "x-example": "<BUCKET_ID>", + "in": "path" + }, + { + "name": "fileId", + "description": "File ID", + "required": true, + "type": "string", + "x-example": "<FILE_ID>", + "in": "path" + }, + { + "name": "width", + "description": "Resize preview image width, Pass an integer between 0 to 4000.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 0, + "in": "query" + }, + { + "name": "height", + "description": "Resize preview image height, Pass an integer between 0 to 4000.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 0, + "in": "query" + }, + { + "name": "gravity", + "description": "Image crop gravity. Can be one of center,top-left,top,top-right,left,right,bottom-left,bottom,bottom-right", + "required": false, + "type": "string", + "x-example": "center", + "enum": [ + "center", + "top-left", + "top", + "top-right", + "left", + "right", + "bottom-left", + "bottom", + "bottom-right" + ], + "x-enum-name": "ImageGravity", + "x-enum-keys": [], + "default": "center", + "in": "query" + }, + { + "name": "quality", + "description": "Preview image quality. Pass an integer between 0 to 100. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100, + "in": "query" + }, + { + "name": "borderWidth", + "description": "Preview image border in pixels. Pass an integer between 0 to 100. Defaults to 0.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 0, + "in": "query" + }, + { + "name": "borderColor", + "description": "Preview image border color. Use a valid HEX color, no # is needed for prefix.", + "required": false, + "type": "string", + "default": "", + "in": "query" + }, + { + "name": "borderRadius", + "description": "Preview image border radius in pixels. Pass an integer between 0 to 4000.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 0, + "in": "query" + }, + { + "name": "opacity", + "description": "Preview image opacity. Only works with images having an alpha channel (like png). Pass a number between 0 to 1.", + "required": false, + "type": "number", + "format": "float", + "x-example": 0, + "default": 1, + "in": "query" + }, + { + "name": "rotation", + "description": "Preview image rotation in degrees. Pass an integer between -360 and 360.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": -360, + "default": 0, + "in": "query" + }, + { + "name": "background", + "description": "Preview image background color. Only works with transparent images (png). Use a valid HEX color, no # is needed for prefix.", + "required": false, + "type": "string", + "default": "", + "in": "query" + }, + { + "name": "output", + "description": "Output format type (jpeg, jpg, png, gif and webp).", + "required": false, + "type": "string", + "x-example": "jpg", + "enum": [ + "jpg", + "jpeg", + "gif", + "png", + "webp", + "heic", + "avif" + ], + "x-enum-name": "ImageFormat", + "x-enum-keys": [], + "default": "", + "in": "query" + } + ] + } + }, + "\/storage\/buckets\/{bucketId}\/files\/{fileId}\/view": { + "get": { + "summary": "Get file for view", + "operationId": "storageGetFileView", + "consumes": [ + "application\/json" + ], + "produces": [ + "*\/*" + ], + "tags": [ + "storage" + ], + "description": "Get a file content by its unique ID. This endpoint is similar to the download method but returns with no 'Content-Disposition: attachment' header.", + "responses": { + "200": { + "description": "File", + "schema": { + "type": "file" + } + } + }, + "x-appwrite": { + "method": "getFileView", + "group": "files", + "weight": 211, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "storage\/get-file-view.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-view.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "type": "string", + "x-example": "<BUCKET_ID>", + "in": "path" + }, + { + "name": "fileId", + "description": "File ID.", + "required": true, + "type": "string", + "x-example": "<FILE_ID>", + "in": "path" + } + ] + } + }, + "\/teams": { + "get": { + "summary": "List teams", + "operationId": "teamsList", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Get a list of all the teams in which the current user is a member. You can use the parameters to filter your results.", + "responses": { + "200": { + "description": "Teams List", + "schema": { + "$ref": "#\/definitions\/teamList" + } + } + }, + "x-appwrite": { + "method": "list", + "group": "teams", + "weight": 218, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/list.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-teams.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, total, billingPlan", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + }, + "post": { + "summary": "Create team", + "operationId": "teamsCreate", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Create a new team. The user who creates the team will automatically be assigned as the owner of the team. Only the users with the owner role can invite new members, add new owners and delete or update the team.", + "responses": { + "201": { + "description": "Team", + "schema": { + "$ref": "#\/definitions\/team" + } + } + }, + "x-appwrite": { + "method": "create", + "group": "teams", + "weight": 217, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/create.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "teamId": { + "type": "string", + "description": "Team ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<TEAM_ID>" + }, + "name": { + "type": "string", + "description": "Team name. Max length: 128 chars.", + "default": null, + "x-example": "<NAME>" + }, + "roles": { + "type": "array", + "description": "Array of strings. Use this param to set the roles in the team for the user who created it. The default role is **owner**. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.", + "default": [ + "owner" + ], + "x-example": null, + "items": { + "type": "string" + } + } + }, + "required": [ + "teamId", + "name" + ] + } + } + ] + } + }, + "\/teams\/{teamId}": { + "get": { + "summary": "Get team", + "operationId": "teamsGet", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Get a team by its ID. All team members have read access for this resource.", + "responses": { + "200": { + "description": "Team", + "schema": { + "$ref": "#\/definitions\/team" + } + } + }, + "x-appwrite": { + "method": "get", + "group": "teams", + "weight": 219, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + } + ] + }, + "put": { + "summary": "Update name", + "operationId": "teamsUpdateName", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Update the team's name by its unique ID.", + "responses": { + "200": { + "description": "Team", + "schema": { + "$ref": "#\/definitions\/team" + } + } + }, + "x-appwrite": { + "method": "updateName", + "group": "teams", + "weight": 221, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/update-name.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-name.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "New team name. Max length: 128 chars.", + "default": null, + "x-example": "<NAME>" + } + }, + "required": [ + "name" + ] + } + } + ] + }, + "delete": { + "summary": "Delete team", + "operationId": "teamsDelete", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "teams" + ], + "description": "Delete a team using its ID. Only team members with the owner role can delete the team.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "delete", + "group": "teams", + "weight": 223, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/delete.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + } + ] + } + }, + "\/teams\/{teamId}\/memberships": { + "get": { + "summary": "List team memberships", + "operationId": "teamsListMemberships", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Use this endpoint to list a team's members using the team's ID. All team members have read access to this endpoint. Hide sensitive attributes from the response by toggling membership privacy in the Console.", + "responses": { + "200": { + "description": "Memberships List", + "schema": { + "$ref": "#\/definitions\/membershipList" + } + } + }, + "x-appwrite": { + "method": "listMemberships", + "group": "memberships", + "weight": 225, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/list-memberships.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-team-members.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, teamId, invited, joined, confirm", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + }, + "post": { + "summary": "Create team membership", + "operationId": "teamsCreateMembership", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Invite a new member to join your team. Provide an ID for existing users, or invite unregistered users using an email or phone number. If initiated from a Client SDK, Appwrite will send an email or sms with a link to join the team to the invited user, and an account will be created for them if one doesn't exist. If initiated from a Server SDK, the new member will be added automatically to the team.\n\nYou only need to provide one of a user ID, email, or phone number. Appwrite will prioritize accepting the user ID > email > phone number if you provide more than one of these parameters.\n\nUse the `url` parameter to redirect the user from the invitation email to your app. After the user is redirected, use the [Update Team Membership Status](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/teams#updateMembershipStatus) endpoint to allow the user to accept the invitation to the team. \n\nPlease note that to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md) Appwrite will accept the only redirect URLs under the domains you have added as a platform on the Appwrite Console.\n", + "responses": { + "201": { + "description": "Membership", + "schema": { + "$ref": "#\/definitions\/membership" + } + } + }, + "x-appwrite": { + "method": "createMembership", + "group": "memberships", + "weight": 224, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/create-membership.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team-membership.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "email": { + "type": "string", + "description": "Email of the new team member.", + "default": "", + "x-example": "email@example.com" + }, + "userId": { + "type": "string", + "description": "ID of the user to be added to a team.", + "default": "", + "x-example": "<USER_ID>" + }, + "phone": { + "type": "string", + "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "default": "", + "x-example": "+12065550100" + }, + "roles": { + "type": "array", + "description": "Array of strings. Use this param to set the user roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "url": { + "type": "string", + "description": "URL to redirect the user back to your app from the invitation email. This parameter is not required when an API key is supplied. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "default": "", + "x-example": "https:\/\/example.com" + }, + "name": { + "type": "string", + "description": "Name of the new team member. Max length: 128 chars.", + "default": "", + "x-example": "<NAME>" + } + }, + "required": [ + "roles" + ] + } + } + ] + } + }, + "\/teams\/{teamId}\/memberships\/{membershipId}": { + "get": { + "summary": "Get team membership", + "operationId": "teamsGetMembership", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Get a team member by the membership unique id. All team members have read access for this resource. Hide sensitive attributes from the response by toggling membership privacy in the Console.", + "responses": { + "200": { + "description": "Membership", + "schema": { + "$ref": "#\/definitions\/membership" + } + } + }, + "x-appwrite": { + "method": "getMembership", + "group": "memberships", + "weight": 226, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/get-membership.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-member.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + }, + { + "name": "membershipId", + "description": "Membership ID.", + "required": true, + "type": "string", + "x-example": "<MEMBERSHIP_ID>", + "in": "path" + } + ] + }, + "patch": { + "summary": "Update membership", + "operationId": "teamsUpdateMembership", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Modify the roles of a team member. Only team members with the owner role have access to this endpoint. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions).\n", + "responses": { + "200": { + "description": "Membership", + "schema": { + "$ref": "#\/definitions\/membership" + } + } + }, + "x-appwrite": { + "method": "updateMembership", + "group": "memberships", + "weight": 227, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/update-membership.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + }, + { + "name": "membershipId", + "description": "Membership ID.", + "required": true, + "type": "string", + "x-example": "<MEMBERSHIP_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "roles": { + "type": "array", + "description": "An array of strings. Use this param to set the user's roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + } + }, + "required": [ + "roles" + ] + } + } + ] + }, + "delete": { + "summary": "Delete team membership", + "operationId": "teamsDeleteMembership", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "teams" + ], + "description": "This endpoint allows a user to leave a team or for a team owner to delete the membership of any other team member. You can also use this endpoint to delete a user membership even if it is not accepted.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteMembership", + "group": "memberships", + "weight": 229, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/delete-membership.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team-membership.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + }, + { + "name": "membershipId", + "description": "Membership ID.", + "required": true, + "type": "string", + "x-example": "<MEMBERSHIP_ID>", + "in": "path" + } + ] + } + }, + "\/teams\/{teamId}\/memberships\/{membershipId}\/status": { + "patch": { + "summary": "Update team membership status", + "operationId": "teamsUpdateMembershipStatus", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Use this endpoint to allow a user to accept an invitation to join a team after being redirected back to your app from the invitation email received by the user.\n\nIf the request is successful, a session for the user is automatically created.\n", + "responses": { + "200": { + "description": "Membership", + "schema": { + "$ref": "#\/definitions\/membership" + } + } + }, + "x-appwrite": { + "method": "updateMembershipStatus", + "group": "memberships", + "weight": 228, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/update-membership-status.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership-status.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "public", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + }, + { + "name": "membershipId", + "description": "Membership ID.", + "required": true, + "type": "string", + "x-example": "<MEMBERSHIP_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID.", + "default": null, + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Secret key.", + "default": null, + "x-example": "<SECRET>" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + ] + } + }, + "\/teams\/{teamId}\/prefs": { + "get": { + "summary": "Get team preferences", + "operationId": "teamsGetPrefs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Get the team's shared preferences by its unique ID. If a preference doesn't need to be shared by all team members, prefer storing them in [user preferences](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#getPrefs).", + "responses": { + "200": { + "description": "Preferences", + "schema": { + "$ref": "#\/definitions\/preferences" + } + } + }, + "x-appwrite": { + "method": "getPrefs", + "group": "teams", + "weight": 220, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/get-prefs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-prefs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.read", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + } + ] + }, + "put": { + "summary": "Update preferences", + "operationId": "teamsUpdatePrefs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Update the team's preferences by its unique ID. The object you pass is stored as is and replaces any previous value. The maximum allowed prefs size is 64kB and throws an error if exceeded.", + "responses": { + "200": { + "description": "Preferences", + "schema": { + "$ref": "#\/definitions\/preferences" + } + } + }, + "x-appwrite": { + "method": "updatePrefs", + "group": "teams", + "weight": 222, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/update-prefs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-prefs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "prefs": { + "type": "object", + "description": "Prefs key-value JSON object.", + "default": {}, + "x-example": "{}" + } + }, + "required": [ + "prefs" + ] + } + } + ] + } + } + }, + "tags": [ + { + "name": "account", + "description": "The Account service allows you to authenticate and manage a user account.", + "x-globalAttributes": [] + }, + { + "name": "avatars", + "description": "The Avatars service aims to help you complete everyday tasks related to your app image, icons, and avatars.", + "x-globalAttributes": [] + }, + { + "name": "databases", + "description": "The Databases service allows you to create structured collections of documents, query and filter lists of documents", + "x-globalAttributes": [ + "databaseId" + ] + }, + { + "name": "locale", + "description": "The Locale service allows you to customize your app based on your users' location.", + "x-globalAttributes": [] + }, + { + "name": "health", + "description": "The Health service allows you to both validate and monitor your Appwrite server's health.", + "x-globalAttributes": [] + }, + { + "name": "projects", + "description": "The Project service allows you to manage all the projects in your Appwrite server.", + "x-globalAttributes": [] + }, + { + "name": "project", + "description": "The Project service allows you to manage all the projects in your Appwrite server.", + "x-globalAttributes": [] + }, + { + "name": "storage", + "description": "The Storage service allows you to manage your project files.", + "x-globalAttributes": [] + }, + { + "name": "teams", + "description": "The Teams service allows you to group users of your project and to enable them to share read and write access to your project resources", + "x-globalAttributes": [] + }, + { + "name": "users", + "description": "The Users service allows you to manage your project users.", + "x-globalAttributes": [] + }, + { + "name": "functions", + "description": "The Functions Service allows you view, create and manage your Cloud Functions.", + "x-globalAttributes": [] + }, + { + "name": "proxy", + "description": "The Proxy Service allows you to configure actions for your domains beyond DNS configuration.", + "x-globalAttributes": [] + }, + { + "name": "graphql", + "description": "The GraphQL API allows you to query and mutate your Appwrite server using GraphQL.", + "x-globalAttributes": [] + }, + { + "name": "console", + "description": "The Console service allows you to interact with console relevant informations.", + "x-globalAttributes": [] + }, + { + "name": "migrations", + "description": "The Migrations service allows you to migrate third-party data to your Appwrite project.", + "x-globalAttributes": [] + }, + { + "name": "messaging", + "description": "The Messaging service allows you to send messages to any provider type (SMTP, push notification, SMS, etc.).", + "x-globalAttributes": [] + } + ], + "definitions": { + "any": { + "description": "Any", + "type": "object", + "additionalProperties": true + }, + "documentList": { + "description": "Documents List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of documents documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "documents": { + "type": "array", + "description": "List of documents.", + "items": { + "type": "object", + "$ref": "#\/definitions\/document" + }, + "x-example": "" + } + }, + "required": [ + "total", + "documents" + ] + }, + "sessionList": { + "description": "Sessions List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of sessions documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "sessions": { + "type": "array", + "description": "List of sessions.", + "items": { + "type": "object", + "$ref": "#\/definitions\/session" + }, + "x-example": "" + } + }, + "required": [ + "total", + "sessions" + ] + }, + "identityList": { + "description": "Identities List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of identities documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "identities": { + "type": "array", + "description": "List of identities.", + "items": { + "type": "object", + "$ref": "#\/definitions\/identity" + }, + "x-example": "" + } + }, + "required": [ + "total", + "identities" + ] + }, + "logList": { + "description": "Logs List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of logs documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "logs": { + "type": "array", + "description": "List of logs.", + "items": { + "type": "object", + "$ref": "#\/definitions\/log" + }, + "x-example": "" + } + }, + "required": [ + "total", + "logs" + ] + }, + "fileList": { + "description": "Files List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of files documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "files": { + "type": "array", + "description": "List of files.", + "items": { + "type": "object", + "$ref": "#\/definitions\/file" + }, + "x-example": "" + } + }, + "required": [ + "total", + "files" + ] + }, + "teamList": { + "description": "Teams List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of teams documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "teams": { + "type": "array", + "description": "List of teams.", + "items": { + "type": "object", + "$ref": "#\/definitions\/team" + }, + "x-example": "" + } + }, + "required": [ + "total", + "teams" + ] + }, + "membershipList": { + "description": "Memberships List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of memberships documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "memberships": { + "type": "array", + "description": "List of memberships.", + "items": { + "type": "object", + "$ref": "#\/definitions\/membership" + }, + "x-example": "" + } + }, + "required": [ + "total", + "memberships" + ] + }, + "executionList": { + "description": "Executions List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of executions documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "executions": { + "type": "array", + "description": "List of executions.", + "items": { + "type": "object", + "$ref": "#\/definitions\/execution" + }, + "x-example": "" + } + }, + "required": [ + "total", + "executions" + ] + }, + "countryList": { + "description": "Countries List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of countries documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "countries": { + "type": "array", + "description": "List of countries.", + "items": { + "type": "object", + "$ref": "#\/definitions\/country" + }, + "x-example": "" + } + }, + "required": [ + "total", + "countries" + ] + }, + "continentList": { + "description": "Continents List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of continents documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "continents": { + "type": "array", + "description": "List of continents.", + "items": { + "type": "object", + "$ref": "#\/definitions\/continent" + }, + "x-example": "" + } + }, + "required": [ + "total", + "continents" + ] + }, + "languageList": { + "description": "Languages List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of languages documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "languages": { + "type": "array", + "description": "List of languages.", + "items": { + "type": "object", + "$ref": "#\/definitions\/language" + }, + "x-example": "" + } + }, + "required": [ + "total", + "languages" + ] + }, + "currencyList": { + "description": "Currencies List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of currencies documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "currencies": { + "type": "array", + "description": "List of currencies.", + "items": { + "type": "object", + "$ref": "#\/definitions\/currency" + }, + "x-example": "" + } + }, + "required": [ + "total", + "currencies" + ] + }, + "phoneList": { + "description": "Phones List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of phones documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "phones": { + "type": "array", + "description": "List of phones.", + "items": { + "type": "object", + "$ref": "#\/definitions\/phone" + }, + "x-example": "" + } + }, + "required": [ + "total", + "phones" + ] + }, + "localeCodeList": { + "description": "Locale codes list", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of localeCodes documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "localeCodes": { + "type": "array", + "description": "List of localeCodes.", + "items": { + "type": "object", + "$ref": "#\/definitions\/localeCode" + }, + "x-example": "" + } + }, + "required": [ + "total", + "localeCodes" + ] + }, + "document": { + "description": "Document", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Document ID.", + "x-example": "5e5ea5c16897e" + }, + "$collectionId": { + "type": "string", + "description": "Collection ID.", + "x-example": "5e5ea5c15117e" + }, + "$databaseId": { + "type": "string", + "description": "Database ID.", + "x-example": "5e5ea5c15117e" + }, + "$createdAt": { + "type": "string", + "description": "Document creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Document update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$permissions": { + "type": "array", + "description": "Document permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "items": { + "type": "string" + }, + "x-example": [ + "read(\"any\")" + ] + } + }, + "additionalProperties": true, + "required": [ + "$id", + "$collectionId", + "$databaseId", + "$createdAt", + "$updatedAt", + "$permissions" + ] + }, + "log": { + "description": "Log", + "type": "object", + "properties": { + "event": { + "type": "string", + "description": "Event name.", + "x-example": "account.sessions.create" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "610fc2f985ee0" + }, + "userEmail": { + "type": "string", + "description": "User Email.", + "x-example": "john@appwrite.io" + }, + "userName": { + "type": "string", + "description": "User Name.", + "x-example": "John Doe" + }, + "mode": { + "type": "string", + "description": "API mode when event triggered.", + "x-example": "admin" + }, + "ip": { + "type": "string", + "description": "IP session in use when the session was created.", + "x-example": "127.0.0.1" + }, + "time": { + "type": "string", + "description": "Log creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "osCode": { + "type": "string", + "description": "Operating system code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/os.json).", + "x-example": "Mac" + }, + "osName": { + "type": "string", + "description": "Operating system name.", + "x-example": "Mac" + }, + "osVersion": { + "type": "string", + "description": "Operating system version.", + "x-example": "Mac" + }, + "clientType": { + "type": "string", + "description": "Client type.", + "x-example": "browser" + }, + "clientCode": { + "type": "string", + "description": "Client code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/clients.json).", + "x-example": "CM" + }, + "clientName": { + "type": "string", + "description": "Client name.", + "x-example": "Chrome Mobile iOS" + }, + "clientVersion": { + "type": "string", + "description": "Client version.", + "x-example": "84.0" + }, + "clientEngine": { + "type": "string", + "description": "Client engine name.", + "x-example": "WebKit" + }, + "clientEngineVersion": { + "type": "string", + "description": "Client engine name.", + "x-example": "605.1.15" + }, + "deviceName": { + "type": "string", + "description": "Device name.", + "x-example": "smartphone" + }, + "deviceBrand": { + "type": "string", + "description": "Device brand name.", + "x-example": "Google" + }, + "deviceModel": { + "type": "string", + "description": "Device model name.", + "x-example": "Nexus 5" + }, + "countryCode": { + "type": "string", + "description": "Country two-character ISO 3166-1 alpha code.", + "x-example": "US" + }, + "countryName": { + "type": "string", + "description": "Country name.", + "x-example": "United States" + } + }, + "required": [ + "event", + "userId", + "userEmail", + "userName", + "mode", + "ip", + "time", + "osCode", + "osName", + "osVersion", + "clientType", + "clientCode", + "clientName", + "clientVersion", + "clientEngine", + "clientEngineVersion", + "deviceName", + "deviceBrand", + "deviceModel", + "countryCode", + "countryName" + ] + }, + "user": { + "description": "User", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "User ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "User creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "User update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "User name.", + "x-example": "John Doe" + }, + "password": { + "type": "string", + "description": "Hashed user password.", + "x-example": "$argon2id$v=19$m=2048,t=4,p=3$aUZjLnliVWRINmFNTWMudg$5S+x+7uA31xFnrHFT47yFwcJeaP0w92L\/4LdgrVRXxE", + "x-nullable": true + }, + "hash": { + "type": "string", + "description": "Password hashing algorithm.", + "x-example": "argon2", + "x-nullable": true + }, + "hashOptions": { + "type": "object", + "description": "Password hashing algorithm configuration.", + "x-example": {}, + "items": { + "x-oneOf": [ + { + "$ref": "#\/definitions\/algoArgon2" + }, + { + "$ref": "#\/definitions\/algoScrypt" + }, + { + "$ref": "#\/definitions\/algoScryptModified" + }, + { + "$ref": "#\/definitions\/algoBcrypt" + }, + { + "$ref": "#\/definitions\/algoPhpass" + }, + { + "$ref": "#\/definitions\/algoSha" + }, + { + "$ref": "#\/definitions\/algoMd5" + } + ] + }, + "x-nullable": true + }, + "registration": { + "type": "string", + "description": "User registration date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "status": { + "type": "boolean", + "description": "User status. Pass `true` for enabled and `false` for disabled.", + "x-example": true + }, + "labels": { + "type": "array", + "description": "Labels for the user.", + "items": { + "type": "string" + }, + "x-example": [ + "vip" + ] + }, + "passwordUpdate": { + "type": "string", + "description": "Password update time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "email": { + "type": "string", + "description": "User email address.", + "x-example": "john@appwrite.io" + }, + "phone": { + "type": "string", + "description": "User phone number in E.164 format.", + "x-example": "+4930901820" + }, + "emailVerification": { + "type": "boolean", + "description": "Email verification status.", + "x-example": true + }, + "phoneVerification": { + "type": "boolean", + "description": "Phone verification status.", + "x-example": true + }, + "mfa": { + "type": "boolean", + "description": "Multi factor authentication status.", + "x-example": true + }, + "prefs": { + "type": "object", + "description": "User preferences as a key-value object", + "x-example": { + "theme": "pink", + "timezone": "UTC" + }, + "items": { + "type": "object", + "$ref": "#\/definitions\/preferences" + } + }, + "targets": { + "type": "array", + "description": "A user-owned message receiver. A single user may have multiple e.g. emails, phones, and a browser. Each target is registered with a single provider.", + "items": { + "type": "object", + "$ref": "#\/definitions\/target" + }, + "x-example": [] + }, + "accessedAt": { + "type": "string", + "description": "Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.", + "x-example": "2020-10-15T06:38:00.000+00:00" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "registration", + "status", + "labels", + "passwordUpdate", + "email", + "phone", + "emailVerification", + "phoneVerification", + "mfa", + "prefs", + "targets", + "accessedAt" + ] + }, + "algoMd5": { + "description": "AlgoMD5", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "md5" + } + }, + "required": [ + "type" + ] + }, + "algoSha": { + "description": "AlgoSHA", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "sha" + } + }, + "required": [ + "type" + ] + }, + "algoPhpass": { + "description": "AlgoPHPass", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "phpass" + } + }, + "required": [ + "type" + ] + }, + "algoBcrypt": { + "description": "AlgoBcrypt", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "bcrypt" + } + }, + "required": [ + "type" + ] + }, + "algoScrypt": { + "description": "AlgoScrypt", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "scrypt" + }, + "costCpu": { + "type": "integer", + "description": "CPU complexity of computed hash.", + "x-example": 8, + "format": "int32" + }, + "costMemory": { + "type": "integer", + "description": "Memory complexity of computed hash.", + "x-example": 14, + "format": "int32" + }, + "costParallel": { + "type": "integer", + "description": "Parallelization of computed hash.", + "x-example": 1, + "format": "int32" + }, + "length": { + "type": "integer", + "description": "Length used to compute hash.", + "x-example": 64, + "format": "int32" + } + }, + "required": [ + "type", + "costCpu", + "costMemory", + "costParallel", + "length" + ] + }, + "algoScryptModified": { + "description": "AlgoScryptModified", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "scryptMod" + }, + "salt": { + "type": "string", + "description": "Salt used to compute hash.", + "x-example": "UxLMreBr6tYyjQ==" + }, + "saltSeparator": { + "type": "string", + "description": "Separator used to compute hash.", + "x-example": "Bw==" + }, + "signerKey": { + "type": "string", + "description": "Key used to compute hash.", + "x-example": "XyEKE9RcTDeLEsL\/RjwPDBv\/RqDl8fb3gpYEOQaPihbxf1ZAtSOHCjuAAa7Q3oHpCYhXSN9tizHgVOwn6krflQ==" + } + }, + "required": [ + "type", + "salt", + "saltSeparator", + "signerKey" + ] + }, + "algoArgon2": { + "description": "AlgoArgon2", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "argon2" + }, + "memoryCost": { + "type": "integer", + "description": "Memory used to compute hash.", + "x-example": 65536, + "format": "int32" + }, + "timeCost": { + "type": "integer", + "description": "Amount of time consumed to compute hash", + "x-example": 4, + "format": "int32" + }, + "threads": { + "type": "integer", + "description": "Number of threads used to compute hash.", + "x-example": 3, + "format": "int32" + } + }, + "required": [ + "type", + "memoryCost", + "timeCost", + "threads" + ] + }, + "preferences": { + "description": "Preferences", + "type": "object", + "additionalProperties": true + }, + "session": { + "description": "Session", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Session ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Session creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Session update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "5e5bb8c16897e" + }, + "expire": { + "type": "string", + "description": "Session expiration date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "provider": { + "type": "string", + "description": "Session Provider.", + "x-example": "email" + }, + "providerUid": { + "type": "string", + "description": "Session Provider User ID.", + "x-example": "user@example.com" + }, + "providerAccessToken": { + "type": "string", + "description": "Session Provider Access Token.", + "x-example": "MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3" + }, + "providerAccessTokenExpiry": { + "type": "string", + "description": "The date of when the access token expires in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "providerRefreshToken": { + "type": "string", + "description": "Session Provider Refresh Token.", + "x-example": "MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3" + }, + "ip": { + "type": "string", + "description": "IP in use when the session was created.", + "x-example": "127.0.0.1" + }, + "osCode": { + "type": "string", + "description": "Operating system code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/os.json).", + "x-example": "Mac" + }, + "osName": { + "type": "string", + "description": "Operating system name.", + "x-example": "Mac" + }, + "osVersion": { + "type": "string", + "description": "Operating system version.", + "x-example": "Mac" + }, + "clientType": { + "type": "string", + "description": "Client type.", + "x-example": "browser" + }, + "clientCode": { + "type": "string", + "description": "Client code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/clients.json).", + "x-example": "CM" + }, + "clientName": { + "type": "string", + "description": "Client name.", + "x-example": "Chrome Mobile iOS" + }, + "clientVersion": { + "type": "string", + "description": "Client version.", + "x-example": "84.0" + }, + "clientEngine": { + "type": "string", + "description": "Client engine name.", + "x-example": "WebKit" + }, + "clientEngineVersion": { + "type": "string", + "description": "Client engine name.", + "x-example": "605.1.15" + }, + "deviceName": { + "type": "string", + "description": "Device name.", + "x-example": "smartphone" + }, + "deviceBrand": { + "type": "string", + "description": "Device brand name.", + "x-example": "Google" + }, + "deviceModel": { + "type": "string", + "description": "Device model name.", + "x-example": "Nexus 5" + }, + "countryCode": { + "type": "string", + "description": "Country two-character ISO 3166-1 alpha code.", + "x-example": "US" + }, + "countryName": { + "type": "string", + "description": "Country name.", + "x-example": "United States" + }, + "current": { + "type": "boolean", + "description": "Returns true if this the current user session.", + "x-example": true + }, + "factors": { + "type": "array", + "description": "Returns a list of active session factors.", + "items": { + "type": "string" + }, + "x-example": [ + "email" + ] + }, + "secret": { + "type": "string", + "description": "Secret used to authenticate the user. Only included if the request was made with an API key", + "x-example": "5e5bb8c16897e" + }, + "mfaUpdatedAt": { + "type": "string", + "description": "Most recent date in ISO 8601 format when the session successfully passed MFA challenge.", + "x-example": "2020-10-15T06:38:00.000+00:00" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "userId", + "expire", + "provider", + "providerUid", + "providerAccessToken", + "providerAccessTokenExpiry", + "providerRefreshToken", + "ip", + "osCode", + "osName", + "osVersion", + "clientType", + "clientCode", + "clientName", + "clientVersion", + "clientEngine", + "clientEngineVersion", + "deviceName", + "deviceBrand", + "deviceModel", + "countryCode", + "countryName", + "current", + "factors", + "secret", + "mfaUpdatedAt" + ] + }, + "identity": { + "description": "Identity", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Identity ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Identity creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Identity update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "5e5bb8c16897e" + }, + "provider": { + "type": "string", + "description": "Identity Provider.", + "x-example": "email" + }, + "providerUid": { + "type": "string", + "description": "ID of the User in the Identity Provider.", + "x-example": "5e5bb8c16897e" + }, + "providerEmail": { + "type": "string", + "description": "Email of the User in the Identity Provider.", + "x-example": "user@example.com" + }, + "providerAccessToken": { + "type": "string", + "description": "Identity Provider Access Token.", + "x-example": "MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3" + }, + "providerAccessTokenExpiry": { + "type": "string", + "description": "The date of when the access token expires in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "providerRefreshToken": { + "type": "string", + "description": "Identity Provider Refresh Token.", + "x-example": "MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "userId", + "provider", + "providerUid", + "providerEmail", + "providerAccessToken", + "providerAccessTokenExpiry", + "providerRefreshToken" + ] + }, + "token": { + "description": "Token", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Token ID.", + "x-example": "bb8ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Token creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "5e5ea5c168bb8" + }, + "secret": { + "type": "string", + "description": "Token secret key. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.", + "x-example": "" + }, + "expire": { + "type": "string", + "description": "Token expiration date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "phrase": { + "type": "string", + "description": "Security phrase of a token. Empty if security phrase was not requested when creating a token. It includes randomly generated phrase which is also sent in the external resource such as email.", + "x-example": "Golden Fox" + } + }, + "required": [ + "$id", + "$createdAt", + "userId", + "secret", + "expire", + "phrase" + ] + }, + "jwt": { + "description": "JWT", + "type": "object", + "properties": { + "jwt": { + "type": "string", + "description": "JWT encoded string.", + "x-example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c" + } + }, + "required": [ + "jwt" + ] + }, + "locale": { + "description": "Locale", + "type": "object", + "properties": { + "ip": { + "type": "string", + "description": "User IP address.", + "x-example": "127.0.0.1" + }, + "countryCode": { + "type": "string", + "description": "Country code in [ISO 3166-1](http:\/\/en.wikipedia.org\/wiki\/ISO_3166-1) two-character format", + "x-example": "US" + }, + "country": { + "type": "string", + "description": "Country name. This field support localization.", + "x-example": "United States" + }, + "continentCode": { + "type": "string", + "description": "Continent code. A two character continent code \"AF\" for Africa, \"AN\" for Antarctica, \"AS\" for Asia, \"EU\" for Europe, \"NA\" for North America, \"OC\" for Oceania, and \"SA\" for South America.", + "x-example": "NA" + }, + "continent": { + "type": "string", + "description": "Continent name. This field support localization.", + "x-example": "North America" + }, + "eu": { + "type": "boolean", + "description": "True if country is part of the European Union.", + "x-example": false + }, + "currency": { + "type": "string", + "description": "Currency code in [ISO 4217-1](http:\/\/en.wikipedia.org\/wiki\/ISO_4217) three-character format", + "x-example": "USD" + } + }, + "required": [ + "ip", + "countryCode", + "country", + "continentCode", + "continent", + "eu", + "currency" + ] + }, + "localeCode": { + "description": "LocaleCode", + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Locale codes in [ISO 639-1](https:\/\/en.wikipedia.org\/wiki\/List_of_ISO_639-1_codes)", + "x-example": "en-us" + }, + "name": { + "type": "string", + "description": "Locale name", + "x-example": "US" + } + }, + "required": [ + "code", + "name" + ] + }, + "file": { + "description": "File", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "File ID.", + "x-example": "5e5ea5c16897e" + }, + "bucketId": { + "type": "string", + "description": "Bucket ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "File creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "File update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$permissions": { + "type": "array", + "description": "File permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "items": { + "type": "string" + }, + "x-example": [ + "read(\"any\")" + ] + }, + "name": { + "type": "string", + "description": "File name.", + "x-example": "Pink.png" + }, + "signature": { + "type": "string", + "description": "File MD5 signature.", + "x-example": "5d529fd02b544198ae075bd57c1762bb" + }, + "mimeType": { + "type": "string", + "description": "File mime type.", + "x-example": "image\/png" + }, + "sizeOriginal": { + "type": "integer", + "description": "File original size in bytes.", + "x-example": 17890, + "format": "int32" + }, + "chunksTotal": { + "type": "integer", + "description": "Total number of chunks available", + "x-example": 17890, + "format": "int32" + }, + "chunksUploaded": { + "type": "integer", + "description": "Total number of chunks uploaded", + "x-example": 17890, + "format": "int32" + } + }, + "required": [ + "$id", + "bucketId", + "$createdAt", + "$updatedAt", + "$permissions", + "name", + "signature", + "mimeType", + "sizeOriginal", + "chunksTotal", + "chunksUploaded" + ] + }, + "team": { + "description": "Team", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Team ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Team creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Team update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "Team name.", + "x-example": "VIP" + }, + "total": { + "type": "integer", + "description": "Total number of team members.", + "x-example": 7, + "format": "int32" + }, + "prefs": { + "type": "object", + "description": "Team preferences as a key-value object", + "x-example": { + "theme": "pink", + "timezone": "UTC" + }, + "items": { + "type": "object", + "$ref": "#\/definitions\/preferences" + } + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "total", + "prefs" + ] + }, + "membership": { + "description": "Membership", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Membership ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Membership creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Membership update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "5e5ea5c16897e" + }, + "userName": { + "type": "string", + "description": "User name. Hide this attribute by toggling membership privacy in the Console.", + "x-example": "John Doe" + }, + "userEmail": { + "type": "string", + "description": "User email address. Hide this attribute by toggling membership privacy in the Console.", + "x-example": "john@appwrite.io" + }, + "teamId": { + "type": "string", + "description": "Team ID.", + "x-example": "5e5ea5c16897e" + }, + "teamName": { + "type": "string", + "description": "Team name.", + "x-example": "VIP" + }, + "invited": { + "type": "string", + "description": "Date, the user has been invited to join the team in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "joined": { + "type": "string", + "description": "Date, the user has accepted the invitation to join the team in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "confirm": { + "type": "boolean", + "description": "User confirmation status, true if the user has joined the team or false otherwise.", + "x-example": false + }, + "mfa": { + "type": "boolean", + "description": "Multi factor authentication status, true if the user has MFA enabled or false otherwise. Hide this attribute by toggling membership privacy in the Console.", + "x-example": false + }, + "roles": { + "type": "array", + "description": "User list of roles", + "items": { + "type": "string" + }, + "x-example": [ + "owner" + ] + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "userId", + "userName", + "userEmail", + "teamId", + "teamName", + "invited", + "joined", + "confirm", + "mfa", + "roles" + ] + }, + "execution": { + "description": "Execution", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Execution ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Execution creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Execution upate date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$permissions": { + "type": "array", + "description": "Execution roles.", + "items": { + "type": "string" + }, + "x-example": [ + "any" + ] + }, + "functionId": { + "type": "string", + "description": "Function ID.", + "x-example": "5e5ea6g16897e" + }, + "trigger": { + "type": "string", + "description": "The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.", + "x-example": "http" + }, + "status": { + "type": "string", + "description": "The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, or `failed`.", + "x-example": "processing" + }, + "requestMethod": { + "type": "string", + "description": "HTTP request method type.", + "x-example": "GET" + }, + "requestPath": { + "type": "string", + "description": "HTTP request path and query.", + "x-example": "\/articles?id=5" + }, + "requestHeaders": { + "type": "array", + "description": "HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.", + "items": { + "type": "object", + "$ref": "#\/definitions\/headers" + }, + "x-example": [ + { + "Content-Type": "application\/json" + } + ] + }, + "responseStatusCode": { + "type": "integer", + "description": "HTTP response status code.", + "x-example": 200, + "format": "int32" + }, + "responseBody": { + "type": "string", + "description": "HTTP response body. This will return empty unless execution is created as synchronous.", + "x-example": "" + }, + "responseHeaders": { + "type": "array", + "description": "HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.", + "items": { + "type": "object", + "$ref": "#\/definitions\/headers" + }, + "x-example": [ + { + "Content-Type": "application\/json" + } + ] + }, + "logs": { + "type": "string", + "description": "Function logs. Includes the last 4,000 characters. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.", + "x-example": "" + }, + "errors": { + "type": "string", + "description": "Function errors. Includes the last 4,000 characters. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.", + "x-example": "" + }, + "duration": { + "type": "number", + "description": "Function execution duration in seconds.", + "x-example": 0.4, + "format": "double" + }, + "scheduledAt": { + "type": "string", + "description": "The scheduled time for execution. If left empty, execution will be queued immediately.", + "x-example": "2020-10-15T06:38:00.000+00:00", + "x-nullable": true + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "$permissions", + "functionId", + "trigger", + "status", + "requestMethod", + "requestPath", + "requestHeaders", + "responseStatusCode", + "responseBody", + "responseHeaders", + "logs", + "errors", + "duration" + ] + }, + "country": { + "description": "Country", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Country name.", + "x-example": "United States" + }, + "code": { + "type": "string", + "description": "Country two-character ISO 3166-1 alpha code.", + "x-example": "US" + } + }, + "required": [ + "name", + "code" + ] + }, + "continent": { + "description": "Continent", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Continent name.", + "x-example": "Europe" + }, + "code": { + "type": "string", + "description": "Continent two letter code.", + "x-example": "EU" + } + }, + "required": [ + "name", + "code" + ] + }, + "language": { + "description": "Language", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Language name.", + "x-example": "Italian" + }, + "code": { + "type": "string", + "description": "Language two-character ISO 639-1 codes.", + "x-example": "it" + }, + "nativeName": { + "type": "string", + "description": "Language native name.", + "x-example": "Italiano" + } + }, + "required": [ + "name", + "code", + "nativeName" + ] + }, + "currency": { + "description": "Currency", + "type": "object", + "properties": { + "symbol": { + "type": "string", + "description": "Currency symbol.", + "x-example": "$" + }, + "name": { + "type": "string", + "description": "Currency name.", + "x-example": "US dollar" + }, + "symbolNative": { + "type": "string", + "description": "Currency native symbol.", + "x-example": "$" + }, + "decimalDigits": { + "type": "integer", + "description": "Number of decimal digits.", + "x-example": 2, + "format": "int32" + }, + "rounding": { + "type": "number", + "description": "Currency digit rounding.", + "x-example": 0, + "format": "double" + }, + "code": { + "type": "string", + "description": "Currency code in [ISO 4217-1](http:\/\/en.wikipedia.org\/wiki\/ISO_4217) three-character format.", + "x-example": "USD" + }, + "namePlural": { + "type": "string", + "description": "Currency plural name", + "x-example": "US dollars" + } + }, + "required": [ + "symbol", + "name", + "symbolNative", + "decimalDigits", + "rounding", + "code", + "namePlural" + ] + }, + "phone": { + "description": "Phone", + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Phone code.", + "x-example": "+1" + }, + "countryCode": { + "type": "string", + "description": "Country two-character ISO 3166-1 alpha code.", + "x-example": "US" + }, + "countryName": { + "type": "string", + "description": "Country name.", + "x-example": "United States" + } + }, + "required": [ + "code", + "countryCode", + "countryName" + ] + }, + "headers": { + "description": "Headers", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Header name.", + "x-example": "Content-Type" + }, + "value": { + "type": "string", + "description": "Header value.", + "x-example": "application\/json" + } + }, + "required": [ + "name", + "value" + ] + }, + "mfaChallenge": { + "description": "MFA Challenge", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Token ID.", + "x-example": "bb8ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Token creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "5e5ea5c168bb8" + }, + "expire": { + "type": "string", + "description": "Token expiration date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + } + }, + "required": [ + "$id", + "$createdAt", + "userId", + "expire" + ] + }, + "mfaRecoveryCodes": { + "description": "MFA Recovery Codes", + "type": "object", + "properties": { + "recoveryCodes": { + "type": "array", + "description": "Recovery codes.", + "items": { + "type": "string" + }, + "x-example": [ + "a3kf0-s0cl2", + "s0co1-as98s" + ] + } + }, + "required": [ + "recoveryCodes" + ] + }, + "mfaType": { + "description": "MFAType", + "type": "object", + "properties": { + "secret": { + "type": "string", + "description": "Secret token used for TOTP factor.", + "x-example": true + }, + "uri": { + "type": "string", + "description": "URI for authenticator apps.", + "x-example": true + } + }, + "required": [ + "secret", + "uri" + ] + }, + "mfaFactors": { + "description": "MFAFactors", + "type": "object", + "properties": { + "totp": { + "type": "boolean", + "description": "Can TOTP be used for MFA challenge for this account.", + "x-example": true + }, + "phone": { + "type": "boolean", + "description": "Can phone (SMS) be used for MFA challenge for this account.", + "x-example": true + }, + "email": { + "type": "boolean", + "description": "Can email be used for MFA challenge for this account.", + "x-example": true + }, + "recoveryCode": { + "type": "boolean", + "description": "Can recovery code be used for MFA challenge for this account.", + "x-example": true + } + }, + "required": [ + "totp", + "phone", + "email", + "recoveryCode" + ] + }, + "subscriber": { + "description": "Subscriber", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Subscriber ID.", + "x-example": "259125845563242502" + }, + "$createdAt": { + "type": "string", + "description": "Subscriber creation time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Subscriber update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "targetId": { + "type": "string", + "description": "Target ID.", + "x-example": "259125845563242502" + }, + "target": { + "type": "object", + "description": "Target.", + "x-example": { + "$id": "259125845563242502", + "$createdAt": "2020-10-15T06:38:00.000+00:00", + "$updatedAt": "2020-10-15T06:38:00.000+00:00", + "providerType": "email", + "providerId": "259125845563242502", + "name": "ageon-app-email", + "identifier": "random-mail@email.org", + "userId": "5e5ea5c16897e" + }, + "items": { + "type": "object", + "$ref": "#\/definitions\/target" + } + }, + "userId": { + "type": "string", + "description": "Topic ID.", + "x-example": "5e5ea5c16897e" + }, + "userName": { + "type": "string", + "description": "User Name.", + "x-example": "Aegon Targaryen" + }, + "topicId": { + "type": "string", + "description": "Topic ID.", + "x-example": "259125845563242502" + }, + "providerType": { + "type": "string", + "description": "The target provider type. Can be one of the following: `email`, `sms` or `push`.", + "x-example": "email" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "targetId", + "target", + "userId", + "userName", + "topicId", + "providerType" + ] + }, + "target": { + "description": "Target", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Target ID.", + "x-example": "259125845563242502" + }, + "$createdAt": { + "type": "string", + "description": "Target creation time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Target update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "Target Name.", + "x-example": "Apple iPhone 12" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "259125845563242502" + }, + "providerId": { + "type": "string", + "description": "Provider ID.", + "x-example": "259125845563242502", + "x-nullable": true + }, + "providerType": { + "type": "string", + "description": "The target provider type. Can be one of the following: `email`, `sms` or `push`.", + "x-example": "email" + }, + "identifier": { + "type": "string", + "description": "The target identifier.", + "x-example": "token" + }, + "expired": { + "type": "boolean", + "description": "Is the target expired.", + "x-example": false + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "userId", + "providerType", + "identifier", + "expired" + ] + } + }, + "externalDocs": { + "description": "Full API docs, specs and tutorials", + "url": "https:\/\/appwrite.io\/docs" + } +} \ No newline at end of file diff --git a/app/config/specs/swagger2-1.5.x-console.json b/app/config/specs/swagger2-1.5.x-console.json index 63b5086872..131e2826d6 100644 --- a/app/config/specs/swagger2-1.5.x-console.json +++ b/app/config/specs/swagger2-1.5.x-console.json @@ -1 +1,38452 @@ -{"swagger":"2.0","info":{"version":"1.5.8","title":"Appwrite","description":"Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https:\/\/appwrite.io\/docs](https:\/\/appwrite.io\/docs)","termsOfService":"https:\/\/appwrite.io\/policy\/terms","contact":{"name":"Appwrite Team","url":"https:\/\/appwrite.io\/support","email":"team@appwrite.io"},"license":{"name":"BSD-3-Clause","url":"https:\/\/raw.githubusercontent.com\/appwrite\/appwrite\/master\/LICENSE"}},"host":"cloud.appwrite.io","basePath":"\/v1","schemes":["https"],"consumes":["application\/json","multipart\/form-data"],"produces":["application\/json"],"securityDefinitions":{"Project":{"type":"apiKey","name":"X-Appwrite-Project","description":"Your project ID","in":"header","x-appwrite":{"demo":"<YOUR_PROJECT_ID>"}},"Key":{"type":"apiKey","name":"X-Appwrite-Key","description":"Your secret API key","in":"header","x-appwrite":{"demo":"<YOUR_API_KEY>"}},"JWT":{"type":"apiKey","name":"X-Appwrite-JWT","description":"Your secret JSON Web Token","in":"header","x-appwrite":{"demo":"<YOUR_JWT>"}},"Locale":{"type":"apiKey","name":"X-Appwrite-Locale","description":"","in":"header","x-appwrite":{"demo":"en"}},"Mode":{"type":"apiKey","name":"X-Appwrite-Mode","description":"","in":"header","x-appwrite":{"demo":""}}},"paths":{"\/account":{"get":{"summary":"Get account","operationId":"accountGet","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Get the currently logged in user.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"get","weight":8,"cookies":false,"type":"","deprecated":false,"demo":"account\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}]},"post":{"summary":"Create account","operationId":"accountCreate","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to allow a new user to register a new account in your project. After the user registration completes successfully, you can use the [\/account\/verfication](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createVerification) route to start verifying the user email address. To allow the new user to login to their new account, you need to create a new [account session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createEmailSession).","responses":{"201":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"create","weight":7,"cookies":false,"type":"","deprecated":false,"demo":"account\/create.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"password":{"type":"string","description":"New user password. Must be between 8 and 256 chars.","default":null,"x-example":null},"name":{"type":"string","description":"User name. Max length: 128 chars.","default":"","x-example":"<NAME>"}},"required":["userId","email","password"]}}]},"delete":{"summary":"Delete account","operationId":"accountDelete","consumes":["application\/json"],"produces":[],"tags":["account"],"description":"Delete the currently logged in user.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"delete","weight":9,"cookies":false,"type":"","deprecated":false,"demo":"account\/delete.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}]}},"\/account\/email":{"patch":{"summary":"Update email","operationId":"accountUpdateEmail","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Update currently logged in user account email address. After changing user address, the user confirmation status will get reset. A new confirmation email is not sent automatically however you can use the send confirmation email endpoint again to send the confirmation email. For security measures, user password is required to complete this request.\nThis endpoint can also be used to convert an anonymous account to a normal one, by passing an email address and a new password.\n","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updateEmail","weight":33,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-email.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"password":{"type":"string","description":"User password. Must be at least 8 chars.","default":null,"x-example":"password"}},"required":["email","password"]}}]}},"\/account\/identities":{"get":{"summary":"List Identities","operationId":"accountListIdentities","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Get the list of identities for the currently logged in user.","responses":{"200":{"description":"Identities List","schema":{"$ref":"#\/definitions\/identityList"}}},"x-appwrite":{"method":"listIdentities","weight":56,"cookies":false,"type":"","deprecated":false,"demo":"account\/list-identities.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-identities.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account\/identities","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, provider, providerUid, providerEmail, providerAccessTokenExpiry","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]}},"\/account\/identities\/{identityId}":{"delete":{"summary":"Delete identity","operationId":"accountDeleteIdentity","consumes":["application\/json"],"produces":[],"tags":["account"],"description":"Delete an identity by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteIdentity","weight":57,"cookies":false,"type":"","deprecated":false,"demo":"account\/delete-identity.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-identity.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"identityId","description":"Identity ID.","required":true,"type":"string","x-example":"<IDENTITY_ID>","in":"path"}]}},"\/account\/jwt":{"post":{"summary":"Create JWT","operationId":"accountCreateJWT","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to create a JSON Web Token. You can use the resulting JWT to authenticate on behalf of the current user when working with the Appwrite server-side API and SDKs. The JWT secret is valid for 15 minutes from its creation and will be invalid if the user will logout in that time frame.","responses":{"201":{"description":"JWT","schema":{"$ref":"#\/definitions\/jwt"}}},"x-appwrite":{"method":"createJWT","weight":28,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-j-w-t.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md","rate-limit":100,"rate-time":3600,"rate-key":"url:{url},userId:{userId}","scope":"account","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}]}},"\/account\/logs":{"get":{"summary":"List logs","operationId":"accountListLogs","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Get the list of latest security activity logs for the currently logged in user. Each log returns user IP address, location and date and time of log.","responses":{"200":{"description":"Logs List","schema":{"$ref":"#\/definitions\/logList"}}},"x-appwrite":{"method":"listLogs","weight":30,"cookies":false,"type":"","deprecated":false,"demo":"account\/list-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]}},"\/account\/mfa":{"patch":{"summary":"Update MFA","operationId":"accountUpdateMFA","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Enable or disable MFA on an account.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updateMFA","weight":43,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-m-f-a.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"mfa":{"type":"boolean","description":"Enable or disable MFA.","default":null,"x-example":false}},"required":["mfa"]}}]}},"\/account\/mfa\/authenticators\/{type}":{"post":{"summary":"Create Authenticator","operationId":"accountCreateMfaAuthenticator","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Add an authenticator app to be used as an MFA factor. Verify the authenticator using the [verify authenticator](\/docs\/references\/cloud\/client-web\/account#updateMfaAuthenticator) method.","responses":{"200":{"description":"MFAType","schema":{"$ref":"#\/definitions\/mfaType"}}},"x-appwrite":{"method":"createMfaAuthenticator","weight":45,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-mfa-authenticator.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-authenticator.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"type","description":"Type of authenticator. Must be `totp`","required":true,"type":"string","x-example":"totp","enum":["totp"],"x-enum-name":"AuthenticatorType","x-enum-keys":[],"in":"path"}]},"put":{"summary":"Verify Authenticator","operationId":"accountUpdateMfaAuthenticator","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Verify an authenticator app after adding it using the [add authenticator](\/docs\/references\/cloud\/client-web\/account#createMfaAuthenticator) method.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updateMfaAuthenticator","weight":46,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-mfa-authenticator.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-authenticator.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"type","description":"Type of authenticator.","required":true,"type":"string","x-example":"totp","enum":["totp"],"x-enum-name":"AuthenticatorType","x-enum-keys":[],"in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"otp":{"type":"string","description":"Valid verification token.","default":null,"x-example":"<OTP>"}},"required":["otp"]}}]},"delete":{"summary":"Delete Authenticator","operationId":"accountDeleteMfaAuthenticator","consumes":["application\/json"],"produces":[],"tags":["account"],"description":"Delete an authenticator for a user by ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteMfaAuthenticator","weight":50,"cookies":false,"type":"","deprecated":false,"demo":"account\/delete-mfa-authenticator.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-mfa-authenticator.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"type","description":"Type of authenticator.","required":true,"type":"string","x-example":"totp","enum":["totp"],"x-enum-name":"AuthenticatorType","x-enum-keys":[],"in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"otp":{"type":"string","description":"Valid verification token.","default":null,"x-example":"<OTP>"}},"required":["otp"]}}]}},"\/account\/mfa\/challenge":{"post":{"summary":"Create MFA Challenge","operationId":"accountCreateMfaChallenge","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Begin the process of MFA verification after sign-in. Finish the flow with [updateMfaChallenge](\/docs\/references\/cloud\/client-web\/account#updateMfaChallenge) method.","responses":{"201":{"description":"MFA Challenge","schema":{"$ref":"#\/definitions\/mfaChallenge"}}},"x-appwrite":{"method":"createMfaChallenge","weight":51,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-mfa-challenge.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},token:{param-token}","scope":"account","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"factor":{"type":"string","description":"Factor used for verification. Must be one of following: `email`, `phone`, `totp`, `recoveryCode`.","default":null,"x-example":"email","enum":["email","phone","totp","recoverycode"],"x-enum-name":"AuthenticationFactor","x-enum-keys":[]}},"required":["factor"]}}]},"put":{"summary":"Create MFA Challenge (confirmation)","operationId":"accountUpdateMfaChallenge","consumes":["application\/json"],"produces":[],"tags":["account"],"description":"Complete the MFA challenge by providing the one-time password. Finish the process of MFA verification by providing the one-time password. To begin the flow, use [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"updateMfaChallenge","weight":52,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-mfa-challenge.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md","rate-limit":10,"rate-time":3600,"rate-key":"userId:{param-userId}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"challengeId":{"type":"string","description":"ID of the challenge.","default":null,"x-example":"<CHALLENGE_ID>"},"otp":{"type":"string","description":"Valid verification token.","default":null,"x-example":"<OTP>"}},"required":["challengeId","otp"]}}]}},"\/account\/mfa\/factors":{"get":{"summary":"List Factors","operationId":"accountListMfaFactors","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"List the factors available on the account to be used as a MFA challange.","responses":{"200":{"description":"MFAFactors","schema":{"$ref":"#\/definitions\/mfaFactors"}}},"x-appwrite":{"method":"listMfaFactors","weight":44,"cookies":false,"type":"","deprecated":false,"demo":"account\/list-mfa-factors.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-mfa-factors.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}]}},"\/account\/mfa\/recovery-codes":{"get":{"summary":"Get MFA Recovery Codes","operationId":"accountGetMfaRecoveryCodes","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Get recovery codes that can be used as backup for MFA flow. Before getting codes, they must be generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method. An OTP challenge is required to read recovery codes.","responses":{"200":{"description":"MFA Recovery Codes","schema":{"$ref":"#\/definitions\/mfaRecoveryCodes"}}},"x-appwrite":{"method":"getMfaRecoveryCodes","weight":49,"cookies":false,"type":"","deprecated":false,"demo":"account\/get-mfa-recovery-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-mfa-recovery-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}]},"post":{"summary":"Create MFA Recovery Codes","operationId":"accountCreateMfaRecoveryCodes","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Generate recovery codes as backup for MFA flow. It's recommended to generate and show then immediately after user successfully adds their authehticator. Recovery codes can be used as a MFA verification type in [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method.","responses":{"201":{"description":"MFA Recovery Codes","schema":{"$ref":"#\/definitions\/mfaRecoveryCodes"}}},"x-appwrite":{"method":"createMfaRecoveryCodes","weight":47,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-mfa-recovery-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-recovery-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}]},"patch":{"summary":"Regenerate MFA Recovery Codes","operationId":"accountUpdateMfaRecoveryCodes","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Regenerate recovery codes that can be used as backup for MFA flow. Before regenerating codes, they must be first generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method. An OTP challenge is required to regenreate recovery codes.","responses":{"200":{"description":"MFA Recovery Codes","schema":{"$ref":"#\/definitions\/mfaRecoveryCodes"}}},"x-appwrite":{"method":"updateMfaRecoveryCodes","weight":48,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-mfa-recovery-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-recovery-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}]}},"\/account\/name":{"patch":{"summary":"Update name","operationId":"accountUpdateName","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Update currently logged in user account name.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updateName","weight":31,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-name.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-name.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"User name. Max length: 128 chars.","default":null,"x-example":"<NAME>"}},"required":["name"]}}]}},"\/account\/password":{"patch":{"summary":"Update password","operationId":"accountUpdatePassword","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Update currently logged in user password. For validation, user is required to pass in the new password, and the old password. For users created with OAuth, Team Invites and Magic URL, oldPassword is optional.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updatePassword","weight":32,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-password.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-password.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"password":{"type":"string","description":"New user password. Must be at least 8 chars.","default":null,"x-example":null},"oldPassword":{"type":"string","description":"Current user password. Must be at least 8 chars.","default":"","x-example":"password"}},"required":["password"]}}]}},"\/account\/phone":{"patch":{"summary":"Update phone","operationId":"accountUpdatePhone","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Update the currently logged in user's phone number. After updating the phone number, the phone verification status will be reset. A confirmation SMS is not sent automatically, however you can use the [POST \/account\/verification\/phone](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createPhoneVerification) endpoint to send a confirmation SMS.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updatePhone","weight":34,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-phone.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"phone":{"type":"string","description":"Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","default":null,"x-example":"+12065550100"},"password":{"type":"string","description":"User password. Must be at least 8 chars.","default":null,"x-example":"password"}},"required":["phone","password"]}}]}},"\/account\/prefs":{"get":{"summary":"Get account preferences","operationId":"accountGetPrefs","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Get the preferences as a key-value object for the currently logged in user.","responses":{"200":{"description":"Preferences","schema":{"$ref":"#\/definitions\/preferences"}}},"x-appwrite":{"method":"getPrefs","weight":29,"cookies":false,"type":"","deprecated":false,"demo":"account\/get-prefs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-prefs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account\/prefs","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}]},"patch":{"summary":"Update preferences","operationId":"accountUpdatePrefs","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Update currently logged in user account preferences. The object you pass is stored as is, and replaces any previous value. The maximum allowed prefs size is 64kB and throws error if exceeded.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updatePrefs","weight":35,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-prefs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-prefs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account\/prefs","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"prefs":{"type":"object","description":"Prefs key-value JSON object.","default":{},"x-example":"{}"}},"required":["prefs"]}}]}},"\/account\/recovery":{"post":{"summary":"Create password recovery","operationId":"accountCreateRecovery","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Sends the user an email with a temporary secret key for password reset. When the user clicks the confirmation link he is redirected back to your app password reset URL with the secret key and email address values attached to the URL query string. Use the query string params to submit a request to the [PUT \/account\/recovery](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateRecovery) endpoint to complete the process. The verification link sent to the user's email address is valid for 1 hour.","responses":{"201":{"description":"Token","schema":{"$ref":"#\/definitions\/token"}}},"x-appwrite":{"method":"createRecovery","weight":37,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-recovery.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-recovery.md","rate-limit":10,"rate-time":3600,"rate-key":["url:{url},email:{param-email}","url:{url},ip:{ip}"],"scope":"sessions.write","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"url":{"type":"string","description":"URL to redirect the user back to your app from the recovery email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","default":null,"x-example":"https:\/\/example.com"}},"required":["email","url"]}}]},"put":{"summary":"Create password recovery (confirmation)","operationId":"accountUpdateRecovery","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to complete the user account password reset. Both the **userId** and **secret** arguments will be passed as query parameters to the redirect URL you have provided when sending your request to the [POST \/account\/recovery](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createRecovery) endpoint.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md) the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.","responses":{"200":{"description":"Token","schema":{"$ref":"#\/definitions\/token"}}},"x-appwrite":{"method":"updateRecovery","weight":38,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-recovery.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-recovery.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},userId:{param-userId}","scope":"sessions.write","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID.","default":null,"x-example":"<USER_ID>"},"secret":{"type":"string","description":"Valid reset token.","default":null,"x-example":"<SECRET>"},"password":{"type":"string","description":"New user password. Must be between 8 and 256 chars.","default":null,"x-example":null}},"required":["userId","secret","password"]}}]}},"\/account\/sessions":{"get":{"summary":"List sessions","operationId":"accountListSessions","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Get the list of active sessions across different devices for the currently logged in user.","responses":{"200":{"description":"Sessions List","schema":{"$ref":"#\/definitions\/sessionList"}}},"x-appwrite":{"method":"listSessions","weight":10,"cookies":false,"type":"","deprecated":false,"demo":"account\/list-sessions.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-sessions.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account\/sessions","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}]},"delete":{"summary":"Delete sessions","operationId":"accountDeleteSessions","consumes":["application\/json"],"produces":[],"tags":["account"],"description":"Delete all sessions from the user account and remove any sessions cookies from the end client.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteSessions","weight":11,"cookies":false,"type":"","deprecated":false,"demo":"account\/delete-sessions.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-sessions.md","rate-limit":100,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}]}},"\/account\/sessions\/anonymous":{"post":{"summary":"Create anonymous session","operationId":"accountCreateAnonymousSession","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to allow a new user to register an anonymous account in your project. This route will also create a new session for the user. To allow the new user to convert an anonymous account to a normal account, you need to update its [email and password](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateEmail) or create an [OAuth2 session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#CreateOAuth2Session).","responses":{"201":{"description":"Session","schema":{"$ref":"#\/definitions\/session"}}},"x-appwrite":{"method":"createAnonymousSession","weight":16,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-anonymous-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-anonymous.md","rate-limit":50,"rate-time":3600,"rate-key":"ip:{ip}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}]}},"\/account\/sessions\/email":{"post":{"summary":"Create email password session","operationId":"accountCreateEmailPasswordSession","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Allow the user to login into their account by providing a valid email and password combination. This route will create a new session for the user.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).","responses":{"201":{"description":"Session","schema":{"$ref":"#\/definitions\/session"}}},"x-appwrite":{"method":"createEmailPasswordSession","weight":15,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-email-password-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-email-password.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},email:{param-email}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"password":{"type":"string","description":"User password. Must be at least 8 chars.","default":null,"x-example":"password"}},"required":["email","password"]}}]}},"\/account\/sessions\/magic-url":{"put":{"summary":"Update magic URL session","operationId":"accountUpdateMagicURLSession","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.","responses":{"201":{"description":"Session","schema":{"$ref":"#\/definitions\/session"}}},"x-appwrite":{"method":"updateMagicURLSession","weight":25,"cookies":false,"type":"","deprecated":true,"demo":"account\/update-magic-u-r-l-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md","rate-limit":10,"rate-time":3600,"rate-key":"ip:{ip},userId:{param-userId}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"secret":{"type":"string","description":"Valid verification token.","default":null,"x-example":"<SECRET>"}},"required":["userId","secret"]}}]}},"\/account\/sessions\/oauth2\/{provider}":{"get":{"summary":"Create OAuth2 session","operationId":"accountCreateOAuth2Session","consumes":["application\/json"],"produces":["text\/html"],"tags":["account"],"description":"Allow the user to login to their account using the OAuth2 provider of their choice. Each OAuth2 provider should be enabled from the Appwrite console first. Use the success and failure arguments to provide a redirect URL's back to your app when login is completed.\n\nIf there is already an active session, the new session will be attached to the logged-in account. If there are no active sessions, the server will attempt to look for a user with the same email address as the email received from the OAuth2 provider and attach the new session to the existing user. If no matching user is found - the server will create a new user.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).\n","responses":{"301":{"description":"No content"}},"x-appwrite":{"method":"createOAuth2Session","weight":18,"cookies":false,"type":"webAuth","deprecated":false,"demo":"account\/create-o-auth2session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-oauth2.md","rate-limit":50,"rate-time":3600,"rate-key":"ip:{ip}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"provider","description":"OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.","required":true,"type":"string","x-example":"amazon","enum":["amazon","apple","auth0","authentik","autodesk","bitbucket","bitly","box","dailymotion","discord","disqus","dropbox","etsy","facebook","github","gitlab","google","linkedin","microsoft","notion","oidc","okta","paypal","paypalSandbox","podio","salesforce","slack","spotify","stripe","tradeshift","tradeshiftBox","twitch","wordpress","yahoo","yammer","yandex","zoho","zoom","mock"],"x-enum-name":"OAuthProvider","x-enum-keys":[],"in":"path"},{"name":"success","description":"URL to redirect back to your app after a successful login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","required":false,"type":"string","format":"url","x-example":"https:\/\/example.com","default":"","in":"query"},{"name":"failure","description":"URL to redirect back to your app after a failed login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","required":false,"type":"string","format":"url","x-example":"https:\/\/example.com","default":"","in":"query"},{"name":"scopes","description":"A list of custom OAuth2 scopes. Check each provider internal docs for a list of supported scopes. Maximum of 100 scopes are allowed, each 4096 characters long.","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]}},"\/account\/sessions\/phone":{"put":{"summary":"Update phone session","operationId":"accountUpdatePhoneSession","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.","responses":{"201":{"description":"Session","schema":{"$ref":"#\/definitions\/session"}}},"x-appwrite":{"method":"updatePhoneSession","weight":26,"cookies":false,"type":"","deprecated":true,"demo":"account\/update-phone-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md","rate-limit":10,"rate-time":3600,"rate-key":"ip:{ip},userId:{param-userId}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"secret":{"type":"string","description":"Valid verification token.","default":null,"x-example":"<SECRET>"}},"required":["userId","secret"]}}]}},"\/account\/sessions\/token":{"post":{"summary":"Create session","operationId":"accountCreateSession","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.","responses":{"201":{"description":"Session","schema":{"$ref":"#\/definitions\/session"}}},"x-appwrite":{"method":"createSession","weight":17,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md","rate-limit":10,"rate-time":3600,"rate-key":"ip:{ip},userId:{param-userId}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"secret":{"type":"string","description":"Secret of a token generated by login methods. For example, the `createMagicURLToken` or `createPhoneToken` methods.","default":null,"x-example":"<SECRET>"}},"required":["userId","secret"]}}]}},"\/account\/sessions\/{sessionId}":{"get":{"summary":"Get session","operationId":"accountGetSession","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to get a logged in user's session using a Session ID. Inputting 'current' will return the current session being used.","responses":{"200":{"description":"Session","schema":{"$ref":"#\/definitions\/session"}}},"x-appwrite":{"method":"getSession","weight":12,"cookies":false,"type":"","deprecated":false,"demo":"account\/get-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-session.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account\/sessions","offline-key":"{sessionId}","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"sessionId","description":"Session ID. Use the string 'current' to get the current device session.","required":true,"type":"string","x-example":"<SESSION_ID>","in":"path"}]},"patch":{"summary":"Update session","operationId":"accountUpdateSession","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to extend a session's length. Extending a session is useful when session expiry is short. If the session was created using an OAuth provider, this endpoint refreshes the access token from the provider.","responses":{"200":{"description":"Session","schema":{"$ref":"#\/definitions\/session"}}},"x-appwrite":{"method":"updateSession","weight":14,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-session.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"sessionId","description":"Session ID. Use the string 'current' to update the current device session.","required":true,"type":"string","x-example":"<SESSION_ID>","in":"path"}]},"delete":{"summary":"Delete session","operationId":"accountDeleteSession","consumes":["application\/json"],"produces":[],"tags":["account"],"description":"Logout the user. Use 'current' as the session ID to logout on this device, use a session ID to logout on another device. If you're looking to logout the user on all devices, use [Delete Sessions](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#deleteSessions) instead.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteSession","weight":13,"cookies":false,"type":"","deprecated":false,"demo":"account\/delete-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-session.md","rate-limit":100,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"sessionId","description":"Session ID. Use the string 'current' to delete the current device session.","required":true,"type":"string","x-example":"<SESSION_ID>","in":"path"}]}},"\/account\/status":{"patch":{"summary":"Update status","operationId":"accountUpdateStatus","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Block the currently logged in user account. Behind the scene, the user record is not deleted but permanently blocked from any access. To completely delete a user, use the Users API instead.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updateStatus","weight":36,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-status.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-status.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}]}},"\/account\/targets\/push":{"post":{"summary":"Create push target","operationId":"accountCreatePushTarget","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"","responses":{"201":{"description":"Target","schema":{"$ref":"#\/definitions\/target"}}},"x-appwrite":{"method":"createPushTarget","weight":53,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-push-target.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"targets.write","platforms":["client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"targetId":{"type":"string","description":"Target ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<TARGET_ID>"},"identifier":{"type":"string","description":"The target identifier (token, email, phone etc.)","default":null,"x-example":"<IDENTIFIER>"},"providerId":{"type":"string","description":"Provider ID. Message will be sent to this target from the specified provider ID. If no provider ID is set the first setup provider will be used.","default":"","x-example":"<PROVIDER_ID>"}},"required":["targetId","identifier"]}}]}},"\/account\/targets\/{targetId}\/push":{"put":{"summary":"Update push target","operationId":"accountUpdatePushTarget","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"","responses":{"200":{"description":"Target","schema":{"$ref":"#\/definitions\/target"}}},"x-appwrite":{"method":"updatePushTarget","weight":54,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-push-target.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"targets.write","platforms":["client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"targetId","description":"Target ID.","required":true,"type":"string","x-example":"<TARGET_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"identifier":{"type":"string","description":"The target identifier (token, email, phone etc.)","default":null,"x-example":"<IDENTIFIER>"}},"required":["identifier"]}}]},"delete":{"summary":"Delete push target","operationId":"accountDeletePushTarget","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deletePushTarget","weight":55,"cookies":false,"type":"","deprecated":false,"demo":"account\/delete-push-target.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"targets.write","platforms":["client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"targetId","description":"Target ID.","required":true,"type":"string","x-example":"<TARGET_ID>","in":"path"}]}},"\/account\/tokens\/email":{"post":{"summary":"Create email token (OTP)","operationId":"accountCreateEmailToken","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Sends the user an email with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's email is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).","responses":{"201":{"description":"Token","schema":{"$ref":"#\/definitions\/token"}}},"x-appwrite":{"method":"createEmailToken","weight":24,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-email-token.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-email.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},email:{param-email}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"phrase":{"type":"boolean","description":"Toggle for security phrase. If enabled, email will be send with a randomly generated phrase and the phrase will also be included in the response. Confirming phrases match increases the security of your authentication flow.","default":false,"x-example":false}},"required":["userId","email"]}}]}},"\/account\/tokens\/magic-url":{"post":{"summary":"Create magic URL token","operationId":"accountCreateMagicURLToken","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Sends the user an email with a secret key for creating a session. If the provided user ID has not been registered, a new user will be created. When the user clicks the link in the email, the user is redirected back to the URL you provided with the secret key and userId values attached to the URL query string. Use the query string parameters to submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The link sent to the user's email address is valid for 1 hour. If you are on a mobile device you can leave the URL parameter empty, so that the login completion will be handled by your Appwrite instance by default.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).\n","responses":{"201":{"description":"Token","schema":{"$ref":"#\/definitions\/token"}}},"x-appwrite":{"method":"createMagicURLToken","weight":23,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-magic-u-r-l-token.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-magic-url.md","rate-limit":60,"rate-time":3600,"rate-key":["url:{url},email:{param-email}","url:{url},ip:{ip}"],"scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"url":{"type":"string","description":"URL to redirect the user back to your app from the magic URL login. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","default":"","x-example":"https:\/\/example.com"},"phrase":{"type":"boolean","description":"Toggle for security phrase. If enabled, email will be send with a randomly generated phrase and the phrase will also be included in the response. Confirming phrases match increases the security of your authentication flow.","default":false,"x-example":false}},"required":["userId","email"]}}]}},"\/account\/tokens\/oauth2\/{provider}":{"get":{"summary":"Create OAuth2 token","operationId":"accountCreateOAuth2Token","consumes":["application\/json"],"produces":["text\/html"],"tags":["account"],"description":"Allow the user to login to their account using the OAuth2 provider of their choice. Each OAuth2 provider should be enabled from the Appwrite console first. Use the success and failure arguments to provide a redirect URL's back to your app when login is completed. \n\nIf authentication succeeds, `userId` and `secret` of a token will be appended to the success URL as query parameters. These can be used to create a new session using the [Create session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).","responses":{"301":{"description":"No content"}},"x-appwrite":{"method":"createOAuth2Token","weight":22,"cookies":false,"type":"webAuth","deprecated":false,"demo":"account\/create-o-auth2token.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-oauth2.md","rate-limit":50,"rate-time":3600,"rate-key":"ip:{ip}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"provider","description":"OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.","required":true,"type":"string","x-example":"amazon","enum":["amazon","apple","auth0","authentik","autodesk","bitbucket","bitly","box","dailymotion","discord","disqus","dropbox","etsy","facebook","github","gitlab","google","linkedin","microsoft","notion","oidc","okta","paypal","paypalSandbox","podio","salesforce","slack","spotify","stripe","tradeshift","tradeshiftBox","twitch","wordpress","yahoo","yammer","yandex","zoho","zoom","mock"],"x-enum-name":"OAuthProvider","x-enum-keys":[],"in":"path"},{"name":"success","description":"URL to redirect back to your app after a successful login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","required":false,"type":"string","format":"url","x-example":"https:\/\/example.com","default":"","in":"query"},{"name":"failure","description":"URL to redirect back to your app after a failed login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","required":false,"type":"string","format":"url","x-example":"https:\/\/example.com","default":"","in":"query"},{"name":"scopes","description":"A list of custom OAuth2 scopes. Check each provider internal docs for a list of supported scopes. Maximum of 100 scopes are allowed, each 4096 characters long.","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]}},"\/account\/tokens\/phone":{"post":{"summary":"Create phone token","operationId":"accountCreatePhoneToken","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Sends the user an SMS with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's phone is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).","responses":{"201":{"description":"Token","schema":{"$ref":"#\/definitions\/token"}}},"x-appwrite":{"method":"createPhoneToken","weight":27,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-phone-token.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-phone.md","rate-limit":10,"rate-time":3600,"rate-key":["url:{url},phone:{param-phone}","url:{url},ip:{ip}"],"scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"phone":{"type":"string","description":"Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","default":null,"x-example":"+12065550100"}},"required":["userId","phone"]}}]}},"\/account\/verification":{"post":{"summary":"Create email verification","operationId":"accountCreateVerification","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n","responses":{"201":{"description":"Token","schema":{"$ref":"#\/definitions\/token"}}},"x-appwrite":{"method":"createVerification","weight":39,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},userId:{userId}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"url":{"type":"string","description":"URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","default":null,"x-example":"https:\/\/example.com"}},"required":["url"]}}]},"put":{"summary":"Create email verification (confirmation)","operationId":"accountUpdateVerification","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.","responses":{"200":{"description":"Token","schema":{"$ref":"#\/definitions\/token"}}},"x-appwrite":{"method":"updateVerification","weight":40,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},userId:{param-userId}","scope":"public","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID.","default":null,"x-example":"<USER_ID>"},"secret":{"type":"string","description":"Valid verification token.","default":null,"x-example":"<SECRET>"}},"required":["userId","secret"]}}]}},"\/account\/verification\/phone":{"post":{"summary":"Create phone verification","operationId":"accountCreatePhoneVerification","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to send a verification SMS to the currently logged in user. This endpoint is meant for use after updating a user's phone number using the [accountUpdatePhone](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updatePhone) endpoint. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updatePhoneVerification). The verification code sent to the user's phone number is valid for 15 minutes.","responses":{"201":{"description":"Token","schema":{"$ref":"#\/definitions\/token"}}},"x-appwrite":{"method":"createPhoneVerification","weight":41,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-phone-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-phone-verification.md","rate-limit":10,"rate-time":3600,"rate-key":["url:{url},userId:{userId}","url:{url},ip:{ip}"],"scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}]},"put":{"summary":"Update phone verification (confirmation)","operationId":"accountUpdatePhoneVerification","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to complete the user phone verification process. Use the **userId** and **secret** that were sent to your user's phone number to verify the user email ownership. If confirmed this route will return a 200 status code.","responses":{"200":{"description":"Token","schema":{"$ref":"#\/definitions\/token"}}},"x-appwrite":{"method":"updatePhoneVerification","weight":42,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-phone-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone-verification.md","rate-limit":10,"rate-time":3600,"rate-key":"userId:{param-userId}","scope":"public","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID.","default":null,"x-example":"<USER_ID>"},"secret":{"type":"string","description":"Valid verification token.","default":null,"x-example":"<SECRET>"}},"required":["userId","secret"]}}]}},"\/avatars\/browsers\/{code}":{"get":{"summary":"Get browser icon","operationId":"avatarsGetBrowser","consumes":["application\/json"],"produces":["image\/png"],"tags":["avatars"],"description":"You can use this endpoint to show different browser icons to your users. The code argument receives the browser code as it appears in your user [GET \/account\/sessions](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#getSessions) endpoint. Use width, height and quality arguments to change the output settings.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.","responses":{"200":{"description":"Image","schema":{"type":"file"}}},"x-appwrite":{"method":"getBrowser","weight":59,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-browser.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-browser.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"code","description":"Browser Code.","required":true,"type":"string","x-example":"aa","enum":["aa","an","ch","ci","cm","cr","ff","sf","mf","ps","oi","om","op","on"],"x-enum-name":"Browser","x-enum-keys":["Avant Browser","Android WebView Beta","Google Chrome","Google Chrome (iOS)","Google Chrome (Mobile)","Chromium","Mozilla Firefox","Safari","Mobile Safari","Microsoft Edge","Microsoft Edge (iOS)","Opera Mini","Opera","Opera (Next)"],"in":"path"},{"name":"width","description":"Image width. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":100,"in":"query"},{"name":"height","description":"Image height. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":100,"in":"query"},{"name":"quality","description":"Image quality. Pass an integer between 0 to 100. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":100,"in":"query"}]}},"\/avatars\/credit-cards\/{code}":{"get":{"summary":"Get credit card icon","operationId":"avatarsGetCreditCard","consumes":["application\/json"],"produces":["image\/png"],"tags":["avatars"],"description":"The credit card endpoint will return you the icon of the credit card provider you need. Use width, height and quality arguments to change the output settings.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n","responses":{"200":{"description":"Image","schema":{"type":"file"}}},"x-appwrite":{"method":"getCreditCard","weight":58,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-credit-card.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-credit-card.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"code","description":"Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, union-china-pay, visa, mir, maestro.","required":true,"type":"string","x-example":"amex","enum":["amex","argencard","cabal","cencosud","diners","discover","elo","hipercard","jcb","mastercard","naranja","targeta-shopping","union-china-pay","visa","mir","maestro"],"x-enum-name":"CreditCard","x-enum-keys":["American Express","Argencard","Cabal","Cencosud","Diners Club","Discover","Elo","Hipercard","JCB","Mastercard","Naranja","Tarjeta Shopping","Union China Pay","Visa","MIR","Maestro"],"in":"path"},{"name":"width","description":"Image width. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":100,"in":"query"},{"name":"height","description":"Image height. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":100,"in":"query"},{"name":"quality","description":"Image quality. Pass an integer between 0 to 100. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":100,"in":"query"}]}},"\/avatars\/favicon":{"get":{"summary":"Get favicon","operationId":"avatarsGetFavicon","consumes":["application\/json"],"produces":["image\/*"],"tags":["avatars"],"description":"Use this endpoint to fetch the favorite icon (AKA favicon) of any remote website URL.\n","responses":{"200":{"description":"Image","schema":{"type":"file"}}},"x-appwrite":{"method":"getFavicon","weight":62,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-favicon.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-favicon.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"url","description":"Website URL which you want to fetch the favicon from.","required":true,"type":"string","format":"url","x-example":"https:\/\/example.com","in":"query"}]}},"\/avatars\/flags\/{code}":{"get":{"summary":"Get country flag","operationId":"avatarsGetFlag","consumes":["application\/json"],"produces":["image\/png"],"tags":["avatars"],"description":"You can use this endpoint to show different country flags icons to your users. The code argument receives the 2 letter country code. Use width, height and quality arguments to change the output settings. Country codes follow the [ISO 3166-1](https:\/\/en.wikipedia.org\/wiki\/ISO_3166-1) standard.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n","responses":{"200":{"description":"Image","schema":{"type":"file"}}},"x-appwrite":{"method":"getFlag","weight":60,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-flag.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-flag.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"code","description":"Country Code. ISO Alpha-2 country code format.","required":true,"type":"string","x-example":"af","enum":["af","ao","al","ad","ae","ar","am","ag","au","at","az","bi","be","bj","bf","bd","bg","bh","bs","ba","by","bz","bo","br","bb","bn","bt","bw","cf","ca","ch","cl","cn","ci","cm","cd","cg","co","km","cv","cr","cu","cy","cz","de","dj","dm","dk","do","dz","ec","eg","er","es","ee","et","fi","fj","fr","fm","ga","gb","ge","gh","gn","gm","gw","gq","gr","gd","gt","gy","hn","hr","ht","hu","id","in","ie","ir","iq","is","il","it","jm","jo","jp","kz","ke","kg","kh","ki","kn","kr","kw","la","lb","lr","ly","lc","li","lk","ls","lt","lu","lv","ma","mc","md","mg","mv","mx","mh","mk","ml","mt","mm","me","mn","mz","mr","mu","mw","my","na","ne","ng","ni","nl","no","np","nr","nz","om","pk","pa","pe","ph","pw","pg","pl","pf","kp","pt","py","qa","ro","ru","rw","sa","sd","sn","sg","sb","sl","sv","sm","so","rs","ss","st","sr","sk","si","se","sz","sc","sy","td","tg","th","tj","tm","tl","to","tt","tn","tr","tv","tz","ug","ua","uy","us","uz","va","vc","ve","vn","vu","ws","ye","za","zm","zw"],"x-enum-name":"Flag","x-enum-keys":["Afghanistan","Angola","Albania","Andorra","United Arab Emirates","Argentina","Armenia","Antigua and Barbuda","Australia","Austria","Azerbaijan","Burundi","Belgium","Benin","Burkina Faso","Bangladesh","Bulgaria","Bahrain","Bahamas","Bosnia and Herzegovina","Belarus","Belize","Bolivia","Brazil","Barbados","Brunei Darussalam","Bhutan","Botswana","Central African Republic","Canada","Switzerland","Chile","China","C\u00f4te d'Ivoire","Cameroon","Democratic Republic of the Congo","Republic of the Congo","Colombia","Comoros","Cape Verde","Costa Rica","Cuba","Cyprus","Czech Republic","Germany","Djibouti","Dominica","Denmark","Dominican Republic","Algeria","Ecuador","Egypt","Eritrea","Spain","Estonia","Ethiopia","Finland","Fiji","France","Micronesia (Federated States of)","Gabon","United Kingdom","Georgia","Ghana","Guinea","Gambia","Guinea-Bissau","Equatorial Guinea","Greece","Grenada","Guatemala","Guyana","Honduras","Croatia","Haiti","Hungary","Indonesia","India","Ireland","Iran (Islamic Republic of)","Iraq","Iceland","Israel","Italy","Jamaica","Jordan","Japan","Kazakhstan","Kenya","Kyrgyzstan","Cambodia","Kiribati","Saint Kitts and Nevis","South Korea","Kuwait","Lao People's Democratic Republic","Lebanon","Liberia","Libya","Saint Lucia","Liechtenstein","Sri Lanka","Lesotho","Lithuania","Luxembourg","Latvia","Morocco","Monaco","Moldova","Madagascar","Maldives","Mexico","Marshall Islands","North Macedonia","Mali","Malta","Myanmar","Montenegro","Mongolia","Mozambique","Mauritania","Mauritius","Malawi","Malaysia","Namibia","Niger","Nigeria","Nicaragua","Netherlands","Norway","Nepal","Nauru","New Zealand","Oman","Pakistan","Panama","Peru","Philippines","Palau","Papua New Guinea","Poland","French Polynesia","North Korea","Portugal","Paraguay","Qatar","Romania","Russia","Rwanda","Saudi Arabia","Sudan","Senegal","Singapore","Solomon Islands","Sierra Leone","El Salvador","San Marino","Somalia","Serbia","South Sudan","Sao Tome and Principe","Suriname","Slovakia","Slovenia","Sweden","Eswatini","Seychelles","Syria","Chad","Togo","Thailand","Tajikistan","Turkmenistan","Timor-Leste","Tonga","Trinidad and Tobago","Tunisia","Turkey","Tuvalu","Tanzania","Uganda","Ukraine","Uruguay","United States","Uzbekistan","Vatican City","Saint Vincent and the Grenadines","Venezuela","Vietnam","Vanuatu","Samoa","Yemen","South Africa","Zambia","Zimbabwe"],"in":"path"},{"name":"width","description":"Image width. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":100,"in":"query"},{"name":"height","description":"Image height. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":100,"in":"query"},{"name":"quality","description":"Image quality. Pass an integer between 0 to 100. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":100,"in":"query"}]}},"\/avatars\/image":{"get":{"summary":"Get image from URL","operationId":"avatarsGetImage","consumes":["application\/json"],"produces":["image\/*"],"tags":["avatars"],"description":"Use this endpoint to fetch a remote image URL and crop it to any image size you want. This endpoint is very useful if you need to crop and display remote images in your app or in case you want to make sure a 3rd party image is properly served using a TLS protocol.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 400x400px.\n","responses":{"200":{"description":"Image","schema":{"type":"file"}}},"x-appwrite":{"method":"getImage","weight":61,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-image.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-image.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"url","description":"Image URL which you want to crop.","required":true,"type":"string","format":"url","x-example":"https:\/\/example.com","in":"query"},{"name":"width","description":"Resize preview image width, Pass an integer between 0 to 2000. Defaults to 400.","required":false,"type":"integer","format":"int32","x-example":0,"default":400,"in":"query"},{"name":"height","description":"Resize preview image height, Pass an integer between 0 to 2000. Defaults to 400.","required":false,"type":"integer","format":"int32","x-example":0,"default":400,"in":"query"}]}},"\/avatars\/initials":{"get":{"summary":"Get user initials","operationId":"avatarsGetInitials","consumes":["application\/json"],"produces":["image\/png"],"tags":["avatars"],"description":"Use this endpoint to show your user initials avatar icon on your website or app. By default, this route will try to print your logged-in user name or email initials. You can also overwrite the user name if you pass the 'name' parameter. If no name is given and no user is logged, an empty avatar will be returned.\n\nYou can use the color and background params to change the avatar colors. By default, a random theme will be selected. The random theme will persist for the user's initials when reloading the same theme will always return for the same initials.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n","responses":{"200":{"description":"Image","schema":{"type":"file"}}},"x-appwrite":{"method":"getInitials","weight":64,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-initials.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-initials.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"name","description":"Full Name. When empty, current user name or email will be used. Max length: 128 chars.","required":false,"type":"string","x-example":"<NAME>","default":"","in":"query"},{"name":"width","description":"Image width. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":500,"in":"query"},{"name":"height","description":"Image height. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":500,"in":"query"},{"name":"background","description":"Changes background color. By default a random color will be picked and stay will persistent to the given name.","required":false,"type":"string","default":"","in":"query"}]}},"\/avatars\/qr":{"get":{"summary":"Get QR code","operationId":"avatarsGetQR","consumes":["application\/json"],"produces":["image\/png"],"tags":["avatars"],"description":"Converts a given plain text to a QR code image. You can use the query parameters to change the size and style of the resulting image.\n","responses":{"200":{"description":"Image","schema":{"type":"file"}}},"x-appwrite":{"method":"getQR","weight":63,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-q-r.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-qr.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"text","description":"Plain text to be converted to QR code image.","required":true,"type":"string","x-example":"<TEXT>","in":"query"},{"name":"size","description":"QR code size. Pass an integer between 1 to 1000. Defaults to 400.","required":false,"type":"integer","format":"int32","x-example":1,"default":400,"in":"query"},{"name":"margin","description":"Margin from edge. Pass an integer between 0 to 10. Defaults to 1.","required":false,"type":"integer","format":"int32","x-example":0,"default":1,"in":"query"},{"name":"download","description":"Return resulting image with 'Content-Disposition: attachment ' headers for the browser to start downloading it. Pass 0 for no header, or 1 for otherwise. Default value is set to 0.","required":false,"type":"boolean","x-example":false,"default":false,"in":"query"}]}},"\/console\/assistant":{"post":{"summary":"Ask Query","operationId":"assistantChat","consumes":["application\/json"],"produces":["text\/plain"],"tags":["assistant"],"description":"","responses":{"200":{"description":"File","schema":{"type":"file"}}},"x-appwrite":{"method":"chat","weight":320,"cookies":false,"type":"","deprecated":false,"demo":"assistant\/chat.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/assistant\/chat.md","rate-limit":15,"rate-time":3600,"rate-key":"userId:{userId}","scope":"assistant.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"prompt":{"type":"string","description":"Prompt. A string containing questions asked to the AI assistant.","default":null,"x-example":"<PROMPT>"}},"required":["prompt"]}}]}},"\/console\/variables":{"get":{"summary":"Get variables","operationId":"consoleVariables","consumes":["application\/json"],"produces":["application\/json"],"tags":["console"],"description":"Get all Environment Variables that are relevant for the console.","responses":{"200":{"description":"Console Variables","schema":{"$ref":"#\/definitions\/consoleVariables"}}},"x-appwrite":{"method":"variables","weight":319,"cookies":false,"type":"","deprecated":false,"demo":"console\/variables.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/console\/variables.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}]}},"\/databases":{"get":{"summary":"List databases","operationId":"databasesList","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Get a list of all databases from the current Appwrite project. You can use the search parameter to filter your results.","responses":{"200":{"description":"Databases List","schema":{"$ref":"#\/definitions\/databaseList"}}},"x-appwrite":{"method":"list","weight":69,"cookies":false,"type":"","deprecated":false,"demo":"databases\/list.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"databases.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]},"post":{"summary":"Create database","operationId":"databasesCreate","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Create a new Database.\n","responses":{"201":{"description":"Database","schema":{"$ref":"#\/definitions\/database"}}},"x-appwrite":{"method":"create","weight":68,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"databases.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"databaseId":{"type":"string","description":"Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<DATABASE_ID>"},"name":{"type":"string","description":"Database name. Max length: 128 chars.","default":null,"x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Is the database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.","default":true,"x-example":false}},"required":["databaseId","name"]}}]}},"\/databases\/usage":{"get":{"summary":"Get databases usage stats","operationId":"databasesGetUsage","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"","responses":{"200":{"description":"UsageDatabases","schema":{"$ref":"#\/definitions\/usageDatabases"}}},"x-appwrite":{"method":"getUsage","weight":113,"cookies":false,"type":"","deprecated":false,"demo":"databases\/get-usage.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"range","description":"`Date range.","required":false,"type":"string","x-example":"24h","enum":["24h","30d","90d"],"x-enum-name":"DatabaseUsageRange","x-enum-keys":["Twenty Four Hours","Thirty Days","Ninety Days"],"default":"30d","in":"query"}]}},"\/databases\/{databaseId}":{"get":{"summary":"Get database","operationId":"databasesGet","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Get a database by its unique ID. This endpoint response returns a JSON object with the database metadata.","responses":{"200":{"description":"Database","schema":{"$ref":"#\/definitions\/database"}}},"x-appwrite":{"method":"get","weight":70,"cookies":false,"type":"","deprecated":false,"demo":"databases\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"databases.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"}]},"put":{"summary":"Update database","operationId":"databasesUpdate","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Update a database by its unique ID.","responses":{"200":{"description":"Database","schema":{"$ref":"#\/definitions\/database"}}},"x-appwrite":{"method":"update","weight":72,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"databases.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Database name. Max length: 128 chars.","default":null,"x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Is database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.","default":true,"x-example":false}},"required":["name"]}}]},"delete":{"summary":"Delete database","operationId":"databasesDelete","consumes":["application\/json"],"produces":[],"tags":["databases"],"description":"Delete a database by its unique ID. Only API keys with with databases.write scope can delete a database.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"delete","weight":73,"cookies":false,"type":"","deprecated":false,"demo":"databases\/delete.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"databases.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"}]}},"\/databases\/{databaseId}\/collections":{"get":{"summary":"List collections","operationId":"databasesListCollections","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Get a list of all collections that belong to the provided databaseId. You can use the search parameter to filter your results.","responses":{"200":{"description":"Collections List","schema":{"$ref":"#\/definitions\/collectionList"}}},"x-appwrite":{"method":"listCollections","weight":75,"cookies":false,"type":"","deprecated":false,"demo":"databases\/list-collections.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-collections.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, enabled, documentSecurity","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]},"post":{"summary":"Create collection","operationId":"databasesCreateCollection","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Create a new Collection. Before using this route, you should create a new database resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.","responses":{"201":{"description":"Collection","schema":{"$ref":"#\/definitions\/collection"}}},"x-appwrite":{"method":"createCollection","weight":74,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-collection.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-collection.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"collectionId":{"type":"string","description":"Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<COLLECTION_ID>"},"name":{"type":"string","description":"Collection name. Max length: 128 chars.","default":null,"x-example":"<NAME>"},"permissions":{"type":"array","description":"An array of permissions strings. By default, no user is granted with any permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","default":null,"x-example":"[\"read(\"any\")\"]","items":{"type":"string"}},"documentSecurity":{"type":"boolean","description":"Enables configuring permissions for individual documents. A user needs one of document or collection level permissions to access a document. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","default":false,"x-example":false},"enabled":{"type":"boolean","description":"Is collection enabled? When set to 'disabled', users cannot access the collection but Server SDKs with and API key can still read and write to the collection. No data is lost when this is toggled.","default":true,"x-example":false}},"required":["collectionId","name"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}":{"get":{"summary":"Get collection","operationId":"databasesGetCollection","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Get a collection by its unique ID. This endpoint response returns a JSON object with the collection metadata.","responses":{"200":{"description":"Collection","schema":{"$ref":"#\/definitions\/collection"}}},"x-appwrite":{"method":"getCollection","weight":76,"cookies":false,"type":"","deprecated":false,"demo":"databases\/get-collection.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID.","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"}]},"put":{"summary":"Update collection","operationId":"databasesUpdateCollection","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Update a collection by its unique ID.","responses":{"200":{"description":"Collection","schema":{"$ref":"#\/definitions\/collection"}}},"x-appwrite":{"method":"updateCollection","weight":78,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-collection.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-collection.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID.","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Collection name. Max length: 128 chars.","default":null,"x-example":"<NAME>"},"permissions":{"type":"array","description":"An array of permission strings. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","default":null,"x-example":"[\"read(\"any\")\"]","items":{"type":"string"}},"documentSecurity":{"type":"boolean","description":"Enables configuring permissions for individual documents. A user needs one of document or collection level permissions to access a document. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","default":false,"x-example":false},"enabled":{"type":"boolean","description":"Is collection enabled? When set to 'disabled', users cannot access the collection but Server SDKs with and API key can still read and write to the collection. No data is lost when this is toggled.","default":true,"x-example":false}},"required":["name"]}}]},"delete":{"summary":"Delete collection","operationId":"databasesDeleteCollection","consumes":["application\/json"],"produces":[],"tags":["databases"],"description":"Delete a collection by its unique ID. Only users with write permissions have access to delete this resource.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteCollection","weight":79,"cookies":false,"type":"","deprecated":false,"demo":"databases\/delete-collection.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-collection.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID.","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes":{"get":{"summary":"List attributes","operationId":"databasesListAttributes","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"List attributes in the collection.","responses":{"200":{"description":"Attributes List","schema":{"$ref":"#\/definitions\/attributeList"}}},"x-appwrite":{"method":"listAttributes","weight":90,"cookies":false,"type":"","deprecated":false,"demo":"databases\/list-attributes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-attributes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, size, required, array, status, error","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/boolean":{"post":{"summary":"Create boolean attribute","operationId":"databasesCreateBooleanAttribute","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Create a boolean attribute.\n","responses":{"202":{"description":"AttributeBoolean","schema":{"$ref":"#\/definitions\/attributeBoolean"}}},"x-appwrite":{"method":"createBooleanAttribute","weight":87,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-boolean-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-boolean-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","default":null,"x-example":null},"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"default":{"type":"boolean","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":false},"array":{"type":"boolean","description":"Is attribute an array?","default":false,"x-example":false}},"required":["key","required"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/boolean\/{key}":{"patch":{"summary":"Update boolean attribute","operationId":"databasesUpdateBooleanAttribute","consumes":["application\/json"],"produces":[],"tags":["databases"],"description":"Update a boolean attribute. Changing the `default` value will not update already existing documents.","responses":{"200":{"description":"AttributeBoolean","schema":{"$ref":"#\/definitions\/attributeBoolean"}}},"x-appwrite":{"method":"updateBooleanAttribute","weight":99,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-boolean-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-boolean-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"key","description":"Attribute Key.","required":true,"type":"string","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"default":{"type":"boolean","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":false,"x-nullable":true}},"required":["required","default"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/datetime":{"post":{"summary":"Create datetime attribute","operationId":"databasesCreateDatetimeAttribute","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Create a date time attribute according to the ISO 8601 standard.","responses":{"202":{"description":"AttributeDatetime","schema":{"$ref":"#\/definitions\/attributeDatetime"}}},"x-appwrite":{"method":"createDatetimeAttribute","weight":88,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-datetime-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-datetime-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","default":null,"x-example":null},"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"default":{"type":"string","description":"Default value for the attribute in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. Cannot be set when attribute is required.","default":null,"x-example":null},"array":{"type":"boolean","description":"Is attribute an array?","default":false,"x-example":false}},"required":["key","required"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/datetime\/{key}":{"patch":{"summary":"Update dateTime attribute","operationId":"databasesUpdateDatetimeAttribute","consumes":["application\/json"],"produces":[],"tags":["databases"],"description":"Update a date time attribute. Changing the `default` value will not update already existing documents.","responses":{"200":{"description":"AttributeDatetime","schema":{"$ref":"#\/definitions\/attributeDatetime"}}},"x-appwrite":{"method":"updateDatetimeAttribute","weight":100,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-datetime-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-datetime-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"key","description":"Attribute Key.","required":true,"type":"string","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":null,"x-nullable":true}},"required":["required","default"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/email":{"post":{"summary":"Create email attribute","operationId":"databasesCreateEmailAttribute","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Create an email attribute.\n","responses":{"202":{"description":"AttributeEmail","schema":{"$ref":"#\/definitions\/attributeEmail"}}},"x-appwrite":{"method":"createEmailAttribute","weight":81,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-email-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-email-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","default":null,"x-example":null},"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":"email@example.com"},"array":{"type":"boolean","description":"Is attribute an array?","default":false,"x-example":false}},"required":["key","required"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/email\/{key}":{"patch":{"summary":"Update email attribute","operationId":"databasesUpdateEmailAttribute","consumes":["application\/json"],"produces":[],"tags":["databases"],"description":"Update an email attribute. Changing the `default` value will not update already existing documents.\n","responses":{"200":{"description":"AttributeEmail","schema":{"$ref":"#\/definitions\/attributeEmail"}}},"x-appwrite":{"method":"updateEmailAttribute","weight":93,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-email-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-email-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"key","description":"Attribute Key.","required":true,"type":"string","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":"email@example.com","x-nullable":true}},"required":["required","default"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/enum":{"post":{"summary":"Create enum attribute","operationId":"databasesCreateEnumAttribute","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Create an enumeration attribute. The `elements` param acts as a white-list of accepted values for this attribute. \n","responses":{"202":{"description":"AttributeEnum","schema":{"$ref":"#\/definitions\/attributeEnum"}}},"x-appwrite":{"method":"createEnumAttribute","weight":82,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-enum-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-attribute-enum.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","default":null,"x-example":null},"elements":{"type":"array","description":"Array of elements in enumerated type. Uses length of longest element to determine size. Maximum of 100 elements are allowed, each 255 characters long.","default":null,"x-example":null,"items":{"type":"string"}},"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":"<DEFAULT>"},"array":{"type":"boolean","description":"Is attribute an array?","default":false,"x-example":false}},"required":["key","elements","required"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/enum\/{key}":{"patch":{"summary":"Update enum attribute","operationId":"databasesUpdateEnumAttribute","consumes":["application\/json"],"produces":[],"tags":["databases"],"description":"Update an enum attribute. Changing the `default` value will not update already existing documents.\n","responses":{"200":{"description":"AttributeEnum","schema":{"$ref":"#\/definitions\/attributeEnum"}}},"x-appwrite":{"method":"updateEnumAttribute","weight":94,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-enum-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-enum-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"key","description":"Attribute Key.","required":true,"type":"string","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"elements":{"type":"array","description":"Array of elements in enumerated type. Uses length of longest element to determine size. Maximum of 100 elements are allowed, each 255 characters long.","default":null,"x-example":null,"items":{"type":"string"}},"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":"<DEFAULT>","x-nullable":true}},"required":["elements","required","default"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/float":{"post":{"summary":"Create float attribute","operationId":"databasesCreateFloatAttribute","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Create a float attribute. Optionally, minimum and maximum values can be provided.\n","responses":{"202":{"description":"AttributeFloat","schema":{"$ref":"#\/definitions\/attributeFloat"}}},"x-appwrite":{"method":"createFloatAttribute","weight":86,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-float-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-float-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","default":null,"x-example":null},"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"min":{"type":"number","description":"Minimum value to enforce on new documents","default":null,"x-example":null},"max":{"type":"number","description":"Maximum value to enforce on new documents","default":null,"x-example":null},"default":{"type":"number","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":null},"array":{"type":"boolean","description":"Is attribute an array?","default":false,"x-example":false}},"required":["key","required"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/float\/{key}":{"patch":{"summary":"Update float attribute","operationId":"databasesUpdateFloatAttribute","consumes":["application\/json"],"produces":[],"tags":["databases"],"description":"Update a float attribute. Changing the `default` value will not update already existing documents.\n","responses":{"200":{"description":"AttributeFloat","schema":{"$ref":"#\/definitions\/attributeFloat"}}},"x-appwrite":{"method":"updateFloatAttribute","weight":98,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-float-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-float-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"key","description":"Attribute Key.","required":true,"type":"string","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"min":{"type":"number","description":"Minimum value to enforce on new documents","default":null,"x-example":null},"max":{"type":"number","description":"Maximum value to enforce on new documents","default":null,"x-example":null},"default":{"type":"number","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":null,"x-nullable":true}},"required":["required","min","max","default"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/integer":{"post":{"summary":"Create integer attribute","operationId":"databasesCreateIntegerAttribute","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Create an integer attribute. Optionally, minimum and maximum values can be provided.\n","responses":{"202":{"description":"AttributeInteger","schema":{"$ref":"#\/definitions\/attributeInteger"}}},"x-appwrite":{"method":"createIntegerAttribute","weight":85,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-integer-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-integer-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","default":null,"x-example":null},"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"min":{"type":"integer","description":"Minimum value to enforce on new documents","default":null,"x-example":null},"max":{"type":"integer","description":"Maximum value to enforce on new documents","default":null,"x-example":null},"default":{"type":"integer","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":null},"array":{"type":"boolean","description":"Is attribute an array?","default":false,"x-example":false}},"required":["key","required"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/integer\/{key}":{"patch":{"summary":"Update integer attribute","operationId":"databasesUpdateIntegerAttribute","consumes":["application\/json"],"produces":[],"tags":["databases"],"description":"Update an integer attribute. Changing the `default` value will not update already existing documents.\n","responses":{"200":{"description":"AttributeInteger","schema":{"$ref":"#\/definitions\/attributeInteger"}}},"x-appwrite":{"method":"updateIntegerAttribute","weight":97,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-integer-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-integer-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"key","description":"Attribute Key.","required":true,"type":"string","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"min":{"type":"integer","description":"Minimum value to enforce on new documents","default":null,"x-example":null},"max":{"type":"integer","description":"Maximum value to enforce on new documents","default":null,"x-example":null},"default":{"type":"integer","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":null,"x-nullable":true}},"required":["required","min","max","default"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/ip":{"post":{"summary":"Create IP address attribute","operationId":"databasesCreateIpAttribute","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Create IP address attribute.\n","responses":{"202":{"description":"AttributeIP","schema":{"$ref":"#\/definitions\/attributeIp"}}},"x-appwrite":{"method":"createIpAttribute","weight":83,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-ip-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-ip-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","default":null,"x-example":null},"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":null},"array":{"type":"boolean","description":"Is attribute an array?","default":false,"x-example":false}},"required":["key","required"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/ip\/{key}":{"patch":{"summary":"Update IP address attribute","operationId":"databasesUpdateIpAttribute","consumes":["application\/json"],"produces":[],"tags":["databases"],"description":"Update an ip attribute. Changing the `default` value will not update already existing documents.\n","responses":{"200":{"description":"AttributeIP","schema":{"$ref":"#\/definitions\/attributeIp"}}},"x-appwrite":{"method":"updateIpAttribute","weight":95,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-ip-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-ip-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"key","description":"Attribute Key.","required":true,"type":"string","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":null,"x-nullable":true}},"required":["required","default"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/relationship":{"post":{"summary":"Create relationship attribute","operationId":"databasesCreateRelationshipAttribute","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Create relationship attribute. [Learn more about relationship attributes](https:\/\/appwrite.io\/docs\/databases-relationships#relationship-attributes).\n","responses":{"202":{"description":"AttributeRelationship","schema":{"$ref":"#\/definitions\/attributeRelationship"}}},"x-appwrite":{"method":"createRelationshipAttribute","weight":89,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-relationship-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-relationship-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"relatedCollectionId":{"type":"string","description":"Related Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","default":null,"x-example":"<RELATED_COLLECTION_ID>"},"type":{"type":"string","description":"Relation type","default":null,"x-example":"oneToOne","enum":["oneToOne","manyToOne","manyToMany","oneToMany"],"x-enum-name":"RelationshipType","x-enum-keys":[]},"twoWay":{"type":"boolean","description":"Is Two Way?","default":false,"x-example":false},"key":{"type":"string","description":"Attribute Key.","default":null,"x-example":null},"twoWayKey":{"type":"string","description":"Two Way Attribute Key.","default":null,"x-example":null},"onDelete":{"type":"string","description":"Constraints option","default":"restrict","x-example":"cascade","enum":["cascade","restrict","setNull"],"x-enum-name":"RelationMutate","x-enum-keys":[]}},"required":["relatedCollectionId","type"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/string":{"post":{"summary":"Create string attribute","operationId":"databasesCreateStringAttribute","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Create a string attribute.\n","responses":{"202":{"description":"AttributeString","schema":{"$ref":"#\/definitions\/attributeString"}}},"x-appwrite":{"method":"createStringAttribute","weight":80,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-string-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-string-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","default":null,"x-example":null},"size":{"type":"integer","description":"Attribute size for text attributes, in number of characters.","default":null,"x-example":1},"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":"<DEFAULT>"},"array":{"type":"boolean","description":"Is attribute an array?","default":false,"x-example":false},"encrypt":{"type":"boolean","description":"Toggle encryption for the attribute. Encryption enhances security by not storing any plain text values in the database. However, encrypted attributes cannot be queried.","default":false,"x-example":false}},"required":["key","size","required"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/string\/{key}":{"patch":{"summary":"Update string attribute","operationId":"databasesUpdateStringAttribute","consumes":["application\/json"],"produces":[],"tags":["databases"],"description":"Update a string attribute. Changing the `default` value will not update already existing documents.\n","responses":{"200":{"description":"AttributeString","schema":{"$ref":"#\/definitions\/attributeString"}}},"x-appwrite":{"method":"updateStringAttribute","weight":92,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-string-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-string-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"key","description":"Attribute Key.","required":true,"type":"string","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":"<DEFAULT>","x-nullable":true}},"required":["required","default"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/url":{"post":{"summary":"Create URL attribute","operationId":"databasesCreateUrlAttribute","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Create a URL attribute.\n","responses":{"202":{"description":"AttributeURL","schema":{"$ref":"#\/definitions\/attributeUrl"}}},"x-appwrite":{"method":"createUrlAttribute","weight":84,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-url-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-url-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","default":null,"x-example":null},"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":"https:\/\/example.com"},"array":{"type":"boolean","description":"Is attribute an array?","default":false,"x-example":false}},"required":["key","required"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/url\/{key}":{"patch":{"summary":"Update URL attribute","operationId":"databasesUpdateUrlAttribute","consumes":["application\/json"],"produces":[],"tags":["databases"],"description":"Update an url attribute. Changing the `default` value will not update already existing documents.\n","responses":{"200":{"description":"AttributeURL","schema":{"$ref":"#\/definitions\/attributeUrl"}}},"x-appwrite":{"method":"updateUrlAttribute","weight":96,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-url-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-url-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"key","description":"Attribute Key.","required":true,"type":"string","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":"https:\/\/example.com","x-nullable":true}},"required":["required","default"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/{key}":{"get":{"summary":"Get attribute","operationId":"databasesGetAttribute","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Get attribute by ID.","responses":{"200":{"description":"AttributeBoolean, or AttributeInteger, or AttributeFloat, or AttributeEmail, or AttributeEnum, or AttributeURL, or AttributeIP, or AttributeDatetime, or AttributeRelationship, or AttributeString","schema":{"x-oneOf":[{"$ref":"#\/definitions\/attributeBoolean"},{"$ref":"#\/definitions\/attributeInteger"},{"$ref":"#\/definitions\/attributeFloat"},{"$ref":"#\/definitions\/attributeEmail"},{"$ref":"#\/definitions\/attributeEnum"},{"$ref":"#\/definitions\/attributeUrl"},{"$ref":"#\/definitions\/attributeIp"},{"$ref":"#\/definitions\/attributeDatetime"},{"$ref":"#\/definitions\/attributeRelationship"},{"$ref":"#\/definitions\/attributeString"}]}}},"x-appwrite":{"method":"getAttribute","weight":91,"cookies":false,"type":"","deprecated":false,"demo":"databases\/get-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"key","description":"Attribute Key.","required":true,"type":"string","in":"path"}]},"delete":{"summary":"Delete attribute","operationId":"databasesDeleteAttribute","consumes":["application\/json"],"produces":[],"tags":["databases"],"description":"Deletes an attribute.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteAttribute","weight":102,"cookies":false,"type":"","deprecated":false,"demo":"databases\/delete-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"key","description":"Attribute Key.","required":true,"type":"string","in":"path"}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/{key}\/relationship":{"patch":{"summary":"Update relationship attribute","operationId":"databasesUpdateRelationshipAttribute","consumes":["application\/json"],"produces":[],"tags":["databases"],"description":"Update relationship attribute. [Learn more about relationship attributes](https:\/\/appwrite.io\/docs\/databases-relationships#relationship-attributes).\n","responses":{"200":{"description":"AttributeRelationship","schema":{"$ref":"#\/definitions\/attributeRelationship"}}},"x-appwrite":{"method":"updateRelationshipAttribute","weight":101,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-relationship-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-relationship-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"key","description":"Attribute Key.","required":true,"type":"string","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"onDelete":{"type":"string","description":"Constraints option","default":null,"x-example":"cascade","enum":["cascade","restrict","setNull"],"x-enum-name":"RelationMutate","x-enum-keys":[]}}}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/documents":{"get":{"summary":"List documents","operationId":"databasesListDocuments","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Get a list of all the user's documents in a given collection. You can use the query params to filter your results.","responses":{"200":{"description":"Documents List","schema":{"$ref":"#\/definitions\/documentList"}}},"x-appwrite":{"method":"listDocuments","weight":108,"cookies":false,"type":"","deprecated":false,"demo":"databases\/list-documents.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-documents.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"documents.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/databases\/{databaseId}\/collections\/{collectionId}\/documents","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]},"post":{"summary":"Create document","operationId":"databasesCreateDocument","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.","responses":{"201":{"description":"Document","schema":{"$ref":"#\/definitions\/document"}}},"x-appwrite":{"method":"createDocument","weight":107,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-document.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-document.md","rate-limit":120,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId}","scope":"documents.write","platforms":["client","server","server"],"packaging":false,"offline-model":"\/databases\/{databaseId}\/collections\/{collectionId}\/documents","offline-key":"{documentId}","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection). Make sure to define attributes before creating documents.","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"documentId":{"type":"string","description":"Document ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<DOCUMENT_ID>"},"data":{"type":"object","description":"Document data as JSON object.","default":{},"x-example":"{}"},"permissions":{"type":"array","description":"An array of permissions strings. By default, only the current user is granted all permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","default":null,"x-example":"[\"read(\"any\")\"]","items":{"type":"string"}}},"required":["documentId","data"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}":{"get":{"summary":"Get document","operationId":"databasesGetDocument","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Get a document by its unique ID. This endpoint response returns a JSON object with the document data.","responses":{"200":{"description":"Document","schema":{"$ref":"#\/definitions\/document"}}},"x-appwrite":{"method":"getDocument","weight":109,"cookies":false,"type":"","deprecated":false,"demo":"databases\/get-document.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"documents.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/databases\/{databaseId}\/collections\/{collectionId}\/documents","offline-key":"{documentId}","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"documentId","description":"Document ID.","required":true,"type":"string","x-example":"<DOCUMENT_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]},"patch":{"summary":"Update document","operationId":"databasesUpdateDocument","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Update a document by its unique ID. Using the patch method you can pass only specific fields that will get updated.","responses":{"200":{"description":"Document","schema":{"$ref":"#\/definitions\/document"}}},"x-appwrite":{"method":"updateDocument","weight":111,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-document.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-document.md","rate-limit":120,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId}","scope":"documents.write","platforms":["client","server","server"],"packaging":false,"offline-model":"\/databases\/{databaseId}\/collections\/{collectionId}\/documents","offline-key":"{documentId}","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID.","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"documentId","description":"Document ID.","required":true,"type":"string","x-example":"<DOCUMENT_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"data":{"type":"object","description":"Document data as JSON object. Include only attribute and value pairs to be updated.","default":[],"x-example":"{}"},"permissions":{"type":"array","description":"An array of permissions strings. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","default":null,"x-example":"[\"read(\"any\")\"]","items":{"type":"string"}}}}}]},"delete":{"summary":"Delete document","operationId":"databasesDeleteDocument","consumes":["application\/json"],"produces":[],"tags":["databases"],"description":"Delete a document by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteDocument","weight":112,"cookies":false,"type":"","deprecated":false,"demo":"databases\/delete-document.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-document.md","rate-limit":60,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId}","scope":"documents.write","platforms":["client","server","server"],"packaging":false,"offline-model":"\/databases\/{databaseId}\/collections\/{collectionId}\/documents","offline-key":"{documentId}","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"documentId","description":"Document ID.","required":true,"type":"string","x-example":"<DOCUMENT_ID>","in":"path"}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}\/logs":{"get":{"summary":"List document logs","operationId":"databasesListDocumentLogs","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Get the document activity logs list by its unique ID.","responses":{"200":{"description":"Logs List","schema":{"$ref":"#\/definitions\/logList"}}},"x-appwrite":{"method":"listDocumentLogs","weight":110,"cookies":false,"type":"","deprecated":false,"demo":"databases\/list-document-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"documents.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID.","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"documentId","description":"Document ID.","required":true,"type":"string","x-example":"<DOCUMENT_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/indexes":{"get":{"summary":"List indexes","operationId":"databasesListIndexes","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"List indexes in the collection.","responses":{"200":{"description":"Indexes List","schema":{"$ref":"#\/definitions\/indexList"}}},"x-appwrite":{"method":"listIndexes","weight":104,"cookies":false,"type":"","deprecated":false,"demo":"databases\/list-indexes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-indexes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, status, attributes, error","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]},"post":{"summary":"Create index","operationId":"databasesCreateIndex","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Creates an index on the attributes listed. Your index should include all the attributes you will query in a single request.\nAttributes can be `key`, `fulltext`, and `unique`.","responses":{"202":{"description":"Index","schema":{"$ref":"#\/definitions\/index"}}},"x-appwrite":{"method":"createIndex","weight":103,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-index.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-index.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"key":{"type":"string","description":"Index Key.","default":null,"x-example":null},"type":{"type":"string","description":"Index type.","default":null,"x-example":"key","enum":["key","fulltext","unique"],"x-enum-name":"IndexType","x-enum-keys":[]},"attributes":{"type":"array","description":"Array of attributes to index. Maximum of 100 attributes are allowed, each 32 characters long.","default":null,"x-example":null,"items":{"type":"string"}},"orders":{"type":"array","description":"Array of index orders. Maximum of 100 orders are allowed.","default":[],"x-example":null,"items":{"type":"string"}}},"required":["key","type","attributes"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/indexes\/{key}":{"get":{"summary":"Get index","operationId":"databasesGetIndex","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Get index by ID.","responses":{"200":{"description":"Index","schema":{"$ref":"#\/definitions\/index"}}},"x-appwrite":{"method":"getIndex","weight":105,"cookies":false,"type":"","deprecated":false,"demo":"databases\/get-index.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-index.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"key","description":"Index Key.","required":true,"type":"string","in":"path"}]},"delete":{"summary":"Delete index","operationId":"databasesDeleteIndex","consumes":["application\/json"],"produces":[],"tags":["databases"],"description":"Delete an index.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteIndex","weight":106,"cookies":false,"type":"","deprecated":false,"demo":"databases\/delete-index.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-index.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"key","description":"Index Key.","required":true,"type":"string","in":"path"}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/logs":{"get":{"summary":"List collection logs","operationId":"databasesListCollectionLogs","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Get the collection activity logs list by its unique ID.","responses":{"200":{"description":"Logs List","schema":{"$ref":"#\/definitions\/logList"}}},"x-appwrite":{"method":"listCollectionLogs","weight":77,"cookies":false,"type":"","deprecated":false,"demo":"databases\/list-collection-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID.","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/usage":{"get":{"summary":"Get collection usage stats","operationId":"databasesGetCollectionUsage","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"","responses":{"200":{"description":"UsageCollection","schema":{"$ref":"#\/definitions\/usageCollection"}}},"x-appwrite":{"method":"getCollectionUsage","weight":115,"cookies":false,"type":"","deprecated":false,"demo":"databases\/get-collection-usage.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"range","description":"Date range.","required":false,"type":"string","x-example":"24h","enum":["24h","30d","90d"],"x-enum-name":"DatabaseUsageRange","x-enum-keys":["Twenty Four Hours","Thirty Days","Ninety Days"],"default":"30d","in":"query"},{"name":"collectionId","description":"Collection ID.","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"}]}},"\/databases\/{databaseId}\/logs":{"get":{"summary":"List database logs","operationId":"databasesListLogs","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Get the database activity logs list by its unique ID.","responses":{"200":{"description":"Logs List","schema":{"$ref":"#\/definitions\/logList"}}},"x-appwrite":{"method":"listLogs","weight":71,"cookies":false,"type":"","deprecated":false,"demo":"databases\/list-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"databases.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]}},"\/databases\/{databaseId}\/usage":{"get":{"summary":"Get database usage stats","operationId":"databasesGetDatabaseUsage","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"","responses":{"200":{"description":"UsageDatabase","schema":{"$ref":"#\/definitions\/usageDatabase"}}},"x-appwrite":{"method":"getDatabaseUsage","weight":114,"cookies":false,"type":"","deprecated":false,"demo":"databases\/get-database-usage.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"range","description":"`Date range.","required":false,"type":"string","x-example":"24h","enum":["24h","30d","90d"],"x-enum-name":"DatabaseUsageRange","x-enum-keys":["Twenty Four Hours","Thirty Days","Ninety Days"],"default":"30d","in":"query"}]}},"\/functions":{"get":{"summary":"List functions","operationId":"functionsList","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"Get a list of all the project's functions. You can use the query params to filter your results.","responses":{"200":{"description":"Functions List","schema":{"$ref":"#\/definitions\/functionList"}}},"x-appwrite":{"method":"list","weight":282,"cookies":false,"type":"","deprecated":false,"demo":"functions\/list.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-functions.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, enabled, runtime, deployment, schedule, scheduleNext, schedulePrevious, timeout, entrypoint, commands, installationId","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]},"post":{"summary":"Create function","operationId":"functionsCreate","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"Create a new function. You can pass a list of [permissions](https:\/\/appwrite.io\/docs\/permissions) to allow different project users or team with access to execute the function using the client API.","responses":{"201":{"description":"Function","schema":{"$ref":"#\/definitions\/function"}}},"x-appwrite":{"method":"create","weight":281,"cookies":false,"type":"","deprecated":false,"demo":"functions\/create.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-function.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"functionId":{"type":"string","description":"Function ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<FUNCTION_ID>"},"name":{"type":"string","description":"Function name. Max length: 128 chars.","default":null,"x-example":"<NAME>"},"runtime":{"type":"string","description":"Execution runtime.","default":null,"x-example":"node-14.5","enum":["node-14.5","node-16.0","node-18.0","node-19.0","node-20.0","node-21.0","php-8.0","php-8.1","php-8.2","php-8.3","ruby-3.0","ruby-3.1","ruby-3.2","ruby-3.3","python-3.8","python-3.9","python-3.10","python-3.11","python-3.12","python-ml-3.11","deno-1.21","deno-1.24","deno-1.35","deno-1.40","dart-2.15","dart-2.16","dart-2.17","dart-2.18","dart-3.0","dart-3.1","dart-3.3","dotnet-3.1","dotnet-6.0","dotnet-7.0","java-8.0","java-11.0","java-17.0","java-18.0","java-21.0","swift-5.5","swift-5.8","swift-5.9","kotlin-1.6","kotlin-1.8","kotlin-1.9","cpp-17","cpp-20","bun-1.0"],"x-enum-name":null,"x-enum-keys":[]},"execute":{"type":"array","description":"An array of role strings with execution permissions. By default no user is granted with any execute permissions. [learn more about roles](https:\/\/appwrite.io\/docs\/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.","default":[],"x-example":"[\"any\"]","items":{"type":"string"}},"events":{"type":"array","description":"Events list. Maximum of 100 events are allowed.","default":[],"x-example":null,"items":{"type":"string"}},"schedule":{"type":"string","description":"Schedule CRON syntax.","default":"","x-example":null},"timeout":{"type":"integer","description":"Function maximum execution time in seconds.","default":15,"x-example":1},"enabled":{"type":"boolean","description":"Is function enabled? When set to 'disabled', users cannot access the function but Server SDKs with and API key can still access the function. No data is lost when this is toggled.","default":true,"x-example":false},"logging":{"type":"boolean","description":"Whether executions will be logged. When set to false, executions will not be logged, but will reduce resource used by your Appwrite project.","default":true,"x-example":false},"entrypoint":{"type":"string","description":"Entrypoint File. This path is relative to the \"providerRootDirectory\".","default":"","x-example":"<ENTRYPOINT>"},"commands":{"type":"string","description":"Build Commands.","default":"","x-example":"<COMMANDS>"},"installationId":{"type":"string","description":"Appwrite Installation ID for VCS (Version Control System) deployment.","default":"","x-example":"<INSTALLATION_ID>"},"providerRepositoryId":{"type":"string","description":"Repository ID of the repo linked to the function.","default":"","x-example":"<PROVIDER_REPOSITORY_ID>"},"providerBranch":{"type":"string","description":"Production branch for the repo linked to the function.","default":"","x-example":"<PROVIDER_BRANCH>"},"providerSilentMode":{"type":"boolean","description":"Is the VCS (Version Control System) connection in silent mode for the repo linked to the function? In silent mode, comments will not be made on commits and pull requests.","default":false,"x-example":false},"providerRootDirectory":{"type":"string","description":"Path to function code in the linked repo.","default":"","x-example":"<PROVIDER_ROOT_DIRECTORY>"},"templateRepository":{"type":"string","description":"Repository name of the template.","default":"","x-example":"<TEMPLATE_REPOSITORY>"},"templateOwner":{"type":"string","description":"The name of the owner of the template.","default":"","x-example":"<TEMPLATE_OWNER>"},"templateRootDirectory":{"type":"string","description":"Path to function code in the template repo.","default":"","x-example":"<TEMPLATE_ROOT_DIRECTORY>"},"templateBranch":{"type":"string","description":"Production branch for the repo linked to the function template.","default":"","x-example":"<TEMPLATE_BRANCH>"}},"required":["functionId","name","runtime"]}}]}},"\/functions\/runtimes":{"get":{"summary":"List runtimes","operationId":"functionsListRuntimes","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"Get a list of all runtimes that are currently active on your instance.","responses":{"200":{"description":"Runtimes List","schema":{"$ref":"#\/definitions\/runtimeList"}}},"x-appwrite":{"method":"listRuntimes","weight":283,"cookies":false,"type":"","deprecated":false,"demo":"functions\/list-runtimes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-runtimes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}]}},"\/functions\/usage":{"get":{"summary":"Get functions usage","operationId":"functionsGetUsage","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"","responses":{"200":{"description":"UsageFunctions","schema":{"$ref":"#\/definitions\/usageFunctions"}}},"x-appwrite":{"method":"getUsage","weight":286,"cookies":false,"type":"","deprecated":false,"demo":"functions\/get-usage.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"range","description":"Date range.","required":false,"type":"string","x-example":"24h","enum":["24h","30d","90d"],"x-enum-name":"FunctionUsageRange","x-enum-keys":["Twenty Four Hours","Thirty Days","Ninety Days"],"default":"30d","in":"query"}]}},"\/functions\/{functionId}":{"get":{"summary":"Get function","operationId":"functionsGet","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"Get a function by its unique ID.","responses":{"200":{"description":"Function","schema":{"$ref":"#\/definitions\/function"}}},"x-appwrite":{"method":"get","weight":284,"cookies":false,"type":"","deprecated":false,"demo":"functions\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-function.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"}]},"put":{"summary":"Update function","operationId":"functionsUpdate","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"Update function by its unique ID.","responses":{"200":{"description":"Function","schema":{"$ref":"#\/definitions\/function"}}},"x-appwrite":{"method":"update","weight":287,"cookies":false,"type":"","deprecated":false,"demo":"functions\/update.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/update-function.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Function name. Max length: 128 chars.","default":null,"x-example":"<NAME>"},"runtime":{"type":"string","description":"Execution runtime.","default":"","x-example":"node-14.5","enum":["node-14.5","node-16.0","node-18.0","node-19.0","node-20.0","node-21.0","php-8.0","php-8.1","php-8.2","php-8.3","ruby-3.0","ruby-3.1","ruby-3.2","ruby-3.3","python-3.8","python-3.9","python-3.10","python-3.11","python-3.12","python-ml-3.11","deno-1.21","deno-1.24","deno-1.35","deno-1.40","dart-2.15","dart-2.16","dart-2.17","dart-2.18","dart-3.0","dart-3.1","dart-3.3","dotnet-3.1","dotnet-6.0","dotnet-7.0","java-8.0","java-11.0","java-17.0","java-18.0","java-21.0","swift-5.5","swift-5.8","swift-5.9","kotlin-1.6","kotlin-1.8","kotlin-1.9","cpp-17","cpp-20","bun-1.0"],"x-enum-name":null,"x-enum-keys":[]},"execute":{"type":"array","description":"An array of role strings with execution permissions. By default no user is granted with any execute permissions. [learn more about roles](https:\/\/appwrite.io\/docs\/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.","default":[],"x-example":"[\"any\"]","items":{"type":"string"}},"events":{"type":"array","description":"Events list. Maximum of 100 events are allowed.","default":[],"x-example":null,"items":{"type":"string"}},"schedule":{"type":"string","description":"Schedule CRON syntax.","default":"","x-example":null},"timeout":{"type":"integer","description":"Maximum execution time in seconds.","default":15,"x-example":1},"enabled":{"type":"boolean","description":"Is function enabled? When set to 'disabled', users cannot access the function but Server SDKs with and API key can still access the function. No data is lost when this is toggled.","default":true,"x-example":false},"logging":{"type":"boolean","description":"Whether executions will be logged. When set to false, executions will not be logged, but will reduce resource used by your Appwrite project.","default":true,"x-example":false},"entrypoint":{"type":"string","description":"Entrypoint File. This path is relative to the \"providerRootDirectory\".","default":"","x-example":"<ENTRYPOINT>"},"commands":{"type":"string","description":"Build Commands.","default":"","x-example":"<COMMANDS>"},"installationId":{"type":"string","description":"Appwrite Installation ID for VCS (Version Controle System) deployment.","default":"","x-example":"<INSTALLATION_ID>"},"providerRepositoryId":{"type":"string","description":"Repository ID of the repo linked to the function","default":"","x-example":"<PROVIDER_REPOSITORY_ID>"},"providerBranch":{"type":"string","description":"Production branch for the repo linked to the function","default":"","x-example":"<PROVIDER_BRANCH>"},"providerSilentMode":{"type":"boolean","description":"Is the VCS (Version Control System) connection in silent mode for the repo linked to the function? In silent mode, comments will not be made on commits and pull requests.","default":false,"x-example":false},"providerRootDirectory":{"type":"string","description":"Path to function code in the linked repo.","default":"","x-example":"<PROVIDER_ROOT_DIRECTORY>"}},"required":["name"]}}]},"delete":{"summary":"Delete function","operationId":"functionsDelete","consumes":["application\/json"],"produces":[],"tags":["functions"],"description":"Delete a function by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"delete","weight":290,"cookies":false,"type":"","deprecated":false,"demo":"functions\/delete.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/delete-function.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"}]}},"\/functions\/{functionId}\/deployments":{"get":{"summary":"List deployments","operationId":"functionsListDeployments","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"Get a list of all the project's code deployments. You can use the query params to filter your results.","responses":{"200":{"description":"Deployments List","schema":{"$ref":"#\/definitions\/deploymentList"}}},"x-appwrite":{"method":"listDeployments","weight":292,"cookies":false,"type":"","deprecated":false,"demo":"functions\/list-deployments.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-deployments.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: size, buildId, activate, entrypoint, commands","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]},"post":{"summary":"Create deployment","operationId":"functionsCreateDeployment","consumes":["multipart\/form-data"],"produces":["application\/json"],"tags":["functions"],"description":"Create a new function code deployment. Use this endpoint to upload a new version of your code function. To execute your newly uploaded code, you'll need to update the function's deployment to use your new deployment UID.\n\nThis endpoint accepts a tar.gz file compressed with your code. Make sure to include any dependencies your code has within the compressed file. You can learn more about code packaging in the [Appwrite Cloud Functions tutorial](https:\/\/appwrite.io\/docs\/functions).\n\nUse the \"command\" param to set the entrypoint used to execute your code.","responses":{"202":{"description":"Deployment","schema":{"$ref":"#\/definitions\/deployment"}}},"x-appwrite":{"method":"createDeployment","weight":291,"cookies":false,"type":"","deprecated":false,"demo":"functions\/create-deployment.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-deployment.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":true,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"entrypoint","description":"Entrypoint File.","required":false,"type":"string","x-example":"<ENTRYPOINT>","in":"formData"},{"name":"commands","description":"Build Commands.","required":false,"type":"string","x-example":"<COMMANDS>","in":"formData"},{"name":"code","description":"Gzip file with your code package. When used with the Appwrite CLI, pass the path to your code directory, and the CLI will automatically package your code. Use a path that is within the current directory.","required":true,"type":"file","in":"formData"},{"name":"activate","description":"Automatically activate the deployment when it is finished building.","required":true,"type":"boolean","x-example":false,"in":"formData"}]}},"\/functions\/{functionId}\/deployments\/{deploymentId}":{"get":{"summary":"Get deployment","operationId":"functionsGetDeployment","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"Get a code deployment by its unique ID.","responses":{"200":{"description":"Deployment","schema":{"$ref":"#\/definitions\/deployment"}}},"x-appwrite":{"method":"getDeployment","weight":293,"cookies":false,"type":"","deprecated":false,"demo":"functions\/get-deployment.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-deployment.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"deploymentId","description":"Deployment ID.","required":true,"type":"string","x-example":"<DEPLOYMENT_ID>","in":"path"}]},"patch":{"summary":"Update deployment","operationId":"functionsUpdateDeployment","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"Update the function code deployment ID using the unique function ID. Use this endpoint to switch the code deployment that should be executed by the execution endpoint.","responses":{"200":{"description":"Function","schema":{"$ref":"#\/definitions\/function"}}},"x-appwrite":{"method":"updateDeployment","weight":289,"cookies":false,"type":"","deprecated":false,"demo":"functions\/update-deployment.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/update-function-deployment.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"deploymentId","description":"Deployment ID.","required":true,"type":"string","x-example":"<DEPLOYMENT_ID>","in":"path"}]},"delete":{"summary":"Delete deployment","operationId":"functionsDeleteDeployment","consumes":["application\/json"],"produces":[],"tags":["functions"],"description":"Delete a code deployment by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteDeployment","weight":294,"cookies":false,"type":"","deprecated":false,"demo":"functions\/delete-deployment.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/delete-deployment.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"deploymentId","description":"Deployment ID.","required":true,"type":"string","x-example":"<DEPLOYMENT_ID>","in":"path"}]}},"\/functions\/{functionId}\/deployments\/{deploymentId}\/builds\/{buildId}":{"post":{"summary":"Create build","operationId":"functionsCreateBuild","consumes":["application\/json"],"produces":[],"tags":["functions"],"description":"Create a new build for an Appwrite Function deployment. This endpoint can be used to retry a failed build.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"createBuild","weight":295,"cookies":false,"type":"","deprecated":false,"demo":"functions\/create-build.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-build.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"deploymentId","description":"Deployment ID.","required":true,"type":"string","x-example":"<DEPLOYMENT_ID>","in":"path"},{"name":"buildId","description":"Build unique ID.","required":true,"type":"string","x-example":"<BUILD_ID>","in":"path"}]}},"\/functions\/{functionId}\/deployments\/{deploymentId}\/download":{"get":{"summary":"Download deployment","operationId":"functionsDownloadDeployment","consumes":["application\/json"],"produces":["*\/*"],"tags":["functions"],"description":"Get a Deployment's contents by its unique ID. This endpoint supports range requests for partial or streaming file download.","responses":{"200":{"description":"File","schema":{"type":"file"}}},"x-appwrite":{"method":"downloadDeployment","weight":288,"cookies":false,"type":"location","deprecated":false,"demo":"functions\/download-deployment.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/download-deployment.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"deploymentId","description":"Deployment ID.","required":true,"type":"string","x-example":"<DEPLOYMENT_ID>","in":"path"}]}},"\/functions\/{functionId}\/executions":{"get":{"summary":"List executions","operationId":"functionsListExecutions","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"Get a list of all the current user function execution logs. You can use the query params to filter your results.","responses":{"200":{"description":"Executions List","schema":{"$ref":"#\/definitions\/executionList"}}},"x-appwrite":{"method":"listExecutions","weight":297,"cookies":false,"type":"","deprecated":false,"demo":"functions\/list-executions.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-executions.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"execution.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: trigger, status, responseStatusCode, duration","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]},"post":{"summary":"Create execution","operationId":"functionsCreateExecution","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"Trigger a function execution. The returned object will return you the current execution status. You can ping the `Get Execution` endpoint to get updates on the current execution status. Once this endpoint is called, your function execution process will start asynchronously.","responses":{"201":{"description":"Execution","schema":{"$ref":"#\/definitions\/execution"}}},"x-appwrite":{"method":"createExecution","weight":296,"cookies":false,"type":"","deprecated":false,"demo":"functions\/create-execution.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-execution.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"execution.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"body":{"type":"string","description":"HTTP body of execution. Default value is empty string.","default":"","x-example":"<BODY>"},"async":{"type":"boolean","description":"Execute code in the background. Default value is false.","default":false,"x-example":false},"path":{"type":"string","description":"HTTP path of execution. Path can include query params. Default value is \/","default":"\/","x-example":"<PATH>"},"method":{"type":"string","description":"HTTP method of execution. Default value is GET.","default":"POST","x-example":"GET","enum":["GET","POST","PUT","PATCH","DELETE","OPTIONS"],"x-enum-name":"ExecutionMethod","x-enum-keys":[]},"headers":{"type":"object","description":"HTTP headers of execution. Defaults to empty.","default":[],"x-example":"{}"}}}}]}},"\/functions\/{functionId}\/executions\/{executionId}":{"get":{"summary":"Get execution","operationId":"functionsGetExecution","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"Get a function execution log by its unique ID.","responses":{"200":{"description":"Execution","schema":{"$ref":"#\/definitions\/execution"}}},"x-appwrite":{"method":"getExecution","weight":298,"cookies":false,"type":"","deprecated":false,"demo":"functions\/get-execution.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-execution.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"execution.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"executionId","description":"Execution ID.","required":true,"type":"string","x-example":"<EXECUTION_ID>","in":"path"}]}},"\/functions\/{functionId}\/usage":{"get":{"summary":"Get function usage","operationId":"functionsGetFunctionUsage","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"","responses":{"200":{"description":"UsageFunction","schema":{"$ref":"#\/definitions\/usageFunction"}}},"x-appwrite":{"method":"getFunctionUsage","weight":285,"cookies":false,"type":"","deprecated":false,"demo":"functions\/get-function-usage.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"range","description":"Date range.","required":false,"type":"string","x-example":"24h","enum":["24h","30d","90d"],"x-enum-name":"FunctionUsageRange","x-enum-keys":["Twenty Four Hours","Thirty Days","Ninety Days"],"default":"30d","in":"query"}]}},"\/functions\/{functionId}\/variables":{"get":{"summary":"List variables","operationId":"functionsListVariables","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"Get a list of all variables of a specific function.","responses":{"200":{"description":"Variables List","schema":{"$ref":"#\/definitions\/variableList"}}},"x-appwrite":{"method":"listVariables","weight":300,"cookies":false,"type":"","deprecated":false,"demo":"functions\/list-variables.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-variables.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function unique ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"}]},"post":{"summary":"Create variable","operationId":"functionsCreateVariable","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"Create a new function environment variable. These variables can be accessed in the function at runtime as environment variables.","responses":{"201":{"description":"Variable","schema":{"$ref":"#\/definitions\/variable"}}},"x-appwrite":{"method":"createVariable","weight":299,"cookies":false,"type":"","deprecated":false,"demo":"functions\/create-variable.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-variable.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function unique ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"key":{"type":"string","description":"Variable key. Max length: 255 chars.","default":null,"x-example":"<KEY>"},"value":{"type":"string","description":"Variable value. Max length: 8192 chars.","default":null,"x-example":"<VALUE>"}},"required":["key","value"]}}]}},"\/functions\/{functionId}\/variables\/{variableId}":{"get":{"summary":"Get variable","operationId":"functionsGetVariable","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"Get a variable by its unique ID.","responses":{"200":{"description":"Variable","schema":{"$ref":"#\/definitions\/variable"}}},"x-appwrite":{"method":"getVariable","weight":301,"cookies":false,"type":"","deprecated":false,"demo":"functions\/get-variable.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-variable.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function unique ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"variableId","description":"Variable unique ID.","required":true,"type":"string","x-example":"<VARIABLE_ID>","in":"path"}]},"put":{"summary":"Update variable","operationId":"functionsUpdateVariable","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"Update variable by its unique ID.","responses":{"200":{"description":"Variable","schema":{"$ref":"#\/definitions\/variable"}}},"x-appwrite":{"method":"updateVariable","weight":302,"cookies":false,"type":"","deprecated":false,"demo":"functions\/update-variable.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/update-variable.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function unique ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"variableId","description":"Variable unique ID.","required":true,"type":"string","x-example":"<VARIABLE_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"key":{"type":"string","description":"Variable key. Max length: 255 chars.","default":null,"x-example":"<KEY>"},"value":{"type":"string","description":"Variable value. Max length: 8192 chars.","default":null,"x-example":"<VALUE>"}},"required":["key"]}}]},"delete":{"summary":"Delete variable","operationId":"functionsDeleteVariable","consumes":["application\/json"],"produces":[],"tags":["functions"],"description":"Delete a variable by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteVariable","weight":303,"cookies":false,"type":"","deprecated":false,"demo":"functions\/delete-variable.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/delete-variable.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function unique ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"variableId","description":"Variable unique ID.","required":true,"type":"string","x-example":"<VARIABLE_ID>","in":"path"}]}},"\/graphql":{"post":{"summary":"GraphQL endpoint","operationId":"graphqlQuery","consumes":["application\/json"],"produces":["application\/json"],"tags":["graphql"],"description":"Execute a GraphQL mutation.","responses":{"200":{"description":"Any","schema":{"$ref":"#\/definitions\/any"}}},"x-appwrite":{"method":"query","weight":318,"cookies":false,"type":"graphql","deprecated":false,"demo":"graphql\/query.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md","rate-limit":60,"rate-time":60,"rate-key":"url:{url},ip:{ip}","scope":"graphql","platforms":["server","client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"query":{"type":"object","description":"The query or queries to execute.","default":{},"x-example":"{}"}},"required":["query"]}}]}},"\/graphql\/mutation":{"post":{"summary":"GraphQL endpoint","operationId":"graphqlMutation","consumes":["application\/json"],"produces":["application\/json"],"tags":["graphql"],"description":"Execute a GraphQL mutation.","responses":{"200":{"description":"Any","schema":{"$ref":"#\/definitions\/any"}}},"x-appwrite":{"method":"mutation","weight":317,"cookies":false,"type":"graphql","deprecated":false,"demo":"graphql\/mutation.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md","rate-limit":60,"rate-time":60,"rate-key":"url:{url},ip:{ip}","scope":"graphql","platforms":["server","client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"query":{"type":"object","description":"The query or queries to execute.","default":{},"x-example":"{}"}},"required":["query"]}}]}},"\/health":{"get":{"summary":"Get HTTP","operationId":"healthGet","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Check the Appwrite HTTP server is up and responsive.","responses":{"200":{"description":"Health Status","schema":{"$ref":"#\/definitions\/healthStatus"}}},"x-appwrite":{"method":"get","weight":124,"cookies":false,"type":"","deprecated":false,"demo":"health\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}]}},"\/health\/anti-virus":{"get":{"summary":"Get antivirus","operationId":"healthGetAntivirus","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Check the Appwrite Antivirus server is up and connection is successful.","responses":{"200":{"description":"Health Antivirus","schema":{"$ref":"#\/definitions\/healthAntivirus"}}},"x-appwrite":{"method":"getAntivirus","weight":146,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-antivirus.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage-anti-virus.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}]}},"\/health\/cache":{"get":{"summary":"Get cache","operationId":"healthGetCache","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Check the Appwrite in-memory cache servers are up and connection is successful.","responses":{"200":{"description":"Health Status","schema":{"$ref":"#\/definitions\/healthStatus"}}},"x-appwrite":{"method":"getCache","weight":127,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-cache.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-cache.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}]}},"\/health\/certificate":{"get":{"summary":"Get the SSL certificate for a domain","operationId":"healthGetCertificate","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Get the SSL certificate for a domain","responses":{"200":{"description":"Health Certificate","schema":{"$ref":"#\/definitions\/healthCertificate"}}},"x-appwrite":{"method":"getCertificate","weight":133,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-certificate.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-certificate.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"domain","description":"string","required":false,"type":"string","in":"query"}]}},"\/health\/db":{"get":{"summary":"Get DB","operationId":"healthGetDB","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Check the Appwrite database servers are up and connection is successful.","responses":{"200":{"description":"Health Status","schema":{"$ref":"#\/definitions\/healthStatus"}}},"x-appwrite":{"method":"getDB","weight":126,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-d-b.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-db.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}]}},"\/health\/pubsub":{"get":{"summary":"Get pubsub","operationId":"healthGetPubSub","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Check the Appwrite pub-sub servers are up and connection is successful.","responses":{"200":{"description":"Health Status","schema":{"$ref":"#\/definitions\/healthStatus"}}},"x-appwrite":{"method":"getPubSub","weight":129,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-pub-sub.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-pubsub.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}]}},"\/health\/queue":{"get":{"summary":"Get queue","operationId":"healthGetQueue","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Check the Appwrite queue messaging servers are up and connection is successful.","responses":{"200":{"description":"Health Status","schema":{"$ref":"#\/definitions\/healthStatus"}}},"x-appwrite":{"method":"getQueue","weight":128,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}]}},"\/health\/queue\/builds":{"get":{"summary":"Get builds queue","operationId":"healthGetQueueBuilds","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Get the number of builds that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","schema":{"$ref":"#\/definitions\/healthQueue"}}},"x-appwrite":{"method":"getQueueBuilds","weight":135,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-builds.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-builds.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"type":"integer","format":"int32","default":5000,"in":"query"}]}},"\/health\/queue\/certificates":{"get":{"summary":"Get certificates queue","operationId":"healthGetQueueCertificates","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Get the number of certificates that are waiting to be issued against [Letsencrypt](https:\/\/letsencrypt.org\/) in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","schema":{"$ref":"#\/definitions\/healthQueue"}}},"x-appwrite":{"method":"getQueueCertificates","weight":134,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-certificates.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-certificates.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"type":"integer","format":"int32","default":5000,"in":"query"}]}},"\/health\/queue\/databases":{"get":{"summary":"Get databases queue","operationId":"healthGetQueueDatabases","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Get the number of database changes that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","schema":{"$ref":"#\/definitions\/healthQueue"}}},"x-appwrite":{"method":"getQueueDatabases","weight":136,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-databases.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-databases.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"name","description":"Queue name for which to check the queue size","required":false,"type":"string","x-example":"<NAME>","default":"database_db_main","in":"query"},{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"type":"integer","format":"int32","default":5000,"in":"query"}]}},"\/health\/queue\/deletes":{"get":{"summary":"Get deletes queue","operationId":"healthGetQueueDeletes","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Get the number of background destructive changes that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","schema":{"$ref":"#\/definitions\/healthQueue"}}},"x-appwrite":{"method":"getQueueDeletes","weight":137,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-deletes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-deletes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"type":"integer","format":"int32","default":5000,"in":"query"}]}},"\/health\/queue\/failed\/{name}":{"get":{"summary":"Get number of failed queue jobs","operationId":"healthGetFailedJobs","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Returns the amount of failed jobs in a given queue.\n","responses":{"200":{"description":"Health Queue","schema":{"$ref":"#\/definitions\/healthQueue"}}},"x-appwrite":{"method":"getFailedJobs","weight":147,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-failed-jobs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-failed-queue-jobs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"name","description":"The name of the queue","required":true,"type":"string","x-example":"v1-database","enum":["v1-database","v1-deletes","v1-audits","v1-mails","v1-functions","v1-usage","v1-usage-dump","v1-webhooks","v1-certificates","v1-builds","v1-messaging","v1-migrations"],"x-enum-name":null,"x-enum-keys":[],"in":"path"},{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"type":"integer","format":"int32","default":5000,"in":"query"}]}},"\/health\/queue\/functions":{"get":{"summary":"Get functions queue","operationId":"healthGetQueueFunctions","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Get the number of function executions that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","schema":{"$ref":"#\/definitions\/healthQueue"}}},"x-appwrite":{"method":"getQueueFunctions","weight":141,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-functions.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-functions.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"type":"integer","format":"int32","default":5000,"in":"query"}]}},"\/health\/queue\/logs":{"get":{"summary":"Get logs queue","operationId":"healthGetQueueLogs","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Get the number of logs that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","schema":{"$ref":"#\/definitions\/healthQueue"}}},"x-appwrite":{"method":"getQueueLogs","weight":132,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"type":"integer","format":"int32","default":5000,"in":"query"}]}},"\/health\/queue\/mails":{"get":{"summary":"Get mails queue","operationId":"healthGetQueueMails","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Get the number of mails that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","schema":{"$ref":"#\/definitions\/healthQueue"}}},"x-appwrite":{"method":"getQueueMails","weight":138,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-mails.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-mails.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"type":"integer","format":"int32","default":5000,"in":"query"}]}},"\/health\/queue\/messaging":{"get":{"summary":"Get messaging queue","operationId":"healthGetQueueMessaging","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Get the number of messages that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","schema":{"$ref":"#\/definitions\/healthQueue"}}},"x-appwrite":{"method":"getQueueMessaging","weight":139,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-messaging.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-messaging.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"type":"integer","format":"int32","default":5000,"in":"query"}]}},"\/health\/queue\/migrations":{"get":{"summary":"Get migrations queue","operationId":"healthGetQueueMigrations","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Get the number of migrations that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","schema":{"$ref":"#\/definitions\/healthQueue"}}},"x-appwrite":{"method":"getQueueMigrations","weight":140,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-migrations.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-migrations.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"type":"integer","format":"int32","default":5000,"in":"query"}]}},"\/health\/queue\/usage":{"get":{"summary":"Get usage queue","operationId":"healthGetQueueUsage","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Get the number of metrics that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","schema":{"$ref":"#\/definitions\/healthQueue"}}},"x-appwrite":{"method":"getQueueUsage","weight":142,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-usage.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-usage.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"type":"integer","format":"int32","default":5000,"in":"query"}]}},"\/health\/queue\/usage-dump":{"get":{"summary":"Get usage dump queue","operationId":"healthGetQueueUsageDump","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Get the number of projects containing metrics that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","schema":{"$ref":"#\/definitions\/healthQueue"}}},"x-appwrite":{"method":"getQueueUsageDump","weight":143,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-usage-dump.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-usage-dump.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"type":"integer","format":"int32","default":5000,"in":"query"}]}},"\/health\/queue\/webhooks":{"get":{"summary":"Get webhooks queue","operationId":"healthGetQueueWebhooks","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Get the number of webhooks that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","schema":{"$ref":"#\/definitions\/healthQueue"}}},"x-appwrite":{"method":"getQueueWebhooks","weight":131,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-webhooks.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-webhooks.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"type":"integer","format":"int32","default":5000,"in":"query"}]}},"\/health\/storage":{"get":{"summary":"Get storage","operationId":"healthGetStorage","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Check the Appwrite storage device is up and connection is successful.","responses":{"200":{"description":"Health Status","schema":{"$ref":"#\/definitions\/healthStatus"}}},"x-appwrite":{"method":"getStorage","weight":145,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-storage.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}]}},"\/health\/storage\/local":{"get":{"summary":"Get local storage","operationId":"healthGetStorageLocal","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Check the Appwrite local storage device is up and connection is successful.","responses":{"200":{"description":"Health Status","schema":{"$ref":"#\/definitions\/healthStatus"}}},"x-appwrite":{"method":"getStorageLocal","weight":144,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-storage-local.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage-local.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}]}},"\/health\/time":{"get":{"summary":"Get time","operationId":"healthGetTime","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Check the Appwrite server time is synced with Google remote NTP server. We use this technology to smoothly handle leap seconds with no disruptive events. The [Network Time Protocol](https:\/\/en.wikipedia.org\/wiki\/Network_Time_Protocol) (NTP) is used by hundreds of millions of computers and devices to synchronize their clocks over the Internet. If your computer sets its own clock, it likely uses NTP.","responses":{"200":{"description":"Health Time","schema":{"$ref":"#\/definitions\/healthTime"}}},"x-appwrite":{"method":"getTime","weight":130,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-time.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-time.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}]}},"\/locale":{"get":{"summary":"Get user locale","operationId":"localeGet","consumes":["application\/json"],"produces":["application\/json"],"tags":["locale"],"description":"Get the current user location based on IP. Returns an object with user country code, country name, continent name, continent code, ip address and suggested currency. You can use the locale header to get the data in a supported language.\n\n([IP Geolocation by DB-IP](https:\/\/db-ip.com))","responses":{"200":{"description":"Locale","schema":{"$ref":"#\/definitions\/locale"}}},"x-appwrite":{"method":"get","weight":116,"cookies":false,"type":"","deprecated":false,"demo":"locale\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/get-locale.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/localed","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}]}},"\/locale\/codes":{"get":{"summary":"List Locale Codes","operationId":"localeListCodes","consumes":["application\/json"],"produces":["application\/json"],"tags":["locale"],"description":"List of all locale codes in [ISO 639-1](https:\/\/en.wikipedia.org\/wiki\/List_of_ISO_639-1_codes).","responses":{"200":{"description":"Locale codes list","schema":{"$ref":"#\/definitions\/localeCodeList"}}},"x-appwrite":{"method":"listCodes","weight":117,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-locale-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/localeCode","offline-key":"current","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}]}},"\/locale\/continents":{"get":{"summary":"List continents","operationId":"localeListContinents","consumes":["application\/json"],"produces":["application\/json"],"tags":["locale"],"description":"List of all continents. You can use the locale header to get the data in a supported language.","responses":{"200":{"description":"Continents List","schema":{"$ref":"#\/definitions\/continentList"}}},"x-appwrite":{"method":"listContinents","weight":121,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-continents.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-continents.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/continents","offline-key":"","offline-response-key":"code","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}]}},"\/locale\/countries":{"get":{"summary":"List countries","operationId":"localeListCountries","consumes":["application\/json"],"produces":["application\/json"],"tags":["locale"],"description":"List of all countries. You can use the locale header to get the data in a supported language.","responses":{"200":{"description":"Countries List","schema":{"$ref":"#\/definitions\/countryList"}}},"x-appwrite":{"method":"listCountries","weight":118,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-countries.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/countries","offline-key":"","offline-response-key":"code","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}]}},"\/locale\/countries\/eu":{"get":{"summary":"List EU countries","operationId":"localeListCountriesEU","consumes":["application\/json"],"produces":["application\/json"],"tags":["locale"],"description":"List of all countries that are currently members of the EU. You can use the locale header to get the data in a supported language.","responses":{"200":{"description":"Countries List","schema":{"$ref":"#\/definitions\/countryList"}}},"x-appwrite":{"method":"listCountriesEU","weight":119,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-countries-e-u.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-eu.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/countries\/eu","offline-key":"","offline-response-key":"code","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}]}},"\/locale\/countries\/phones":{"get":{"summary":"List countries phone codes","operationId":"localeListCountriesPhones","consumes":["application\/json"],"produces":["application\/json"],"tags":["locale"],"description":"List of all countries phone codes. You can use the locale header to get the data in a supported language.","responses":{"200":{"description":"Phones List","schema":{"$ref":"#\/definitions\/phoneList"}}},"x-appwrite":{"method":"listCountriesPhones","weight":120,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-countries-phones.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-phones.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/countries\/phones","offline-key":"","offline-response-key":"countryCode","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}]}},"\/locale\/currencies":{"get":{"summary":"List currencies","operationId":"localeListCurrencies","consumes":["application\/json"],"produces":["application\/json"],"tags":["locale"],"description":"List of all currencies, including currency symbol, name, plural, and decimal digits for all major and minor currencies. You can use the locale header to get the data in a supported language.","responses":{"200":{"description":"Currencies List","schema":{"$ref":"#\/definitions\/currencyList"}}},"x-appwrite":{"method":"listCurrencies","weight":122,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-currencies.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-currencies.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/currencies","offline-key":"","offline-response-key":"code","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}]}},"\/locale\/languages":{"get":{"summary":"List languages","operationId":"localeListLanguages","consumes":["application\/json"],"produces":["application\/json"],"tags":["locale"],"description":"List of all languages classified by ISO 639-1 including 2-letter code, name in English, and name in the respective language.","responses":{"200":{"description":"Languages List","schema":{"$ref":"#\/definitions\/languageList"}}},"x-appwrite":{"method":"listLanguages","weight":123,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-languages.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-languages.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/languages","offline-key":"","offline-response-key":"code","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}]}},"\/messaging\/messages":{"get":{"summary":"List messages","operationId":"messagingListMessages","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Get a list of all messages from the current Appwrite project.","responses":{"200":{"description":"Message list","schema":{"$ref":"#\/definitions\/messageList"}}},"x-appwrite":{"method":"listMessages","weight":377,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-messages.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-messages.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: scheduledAt, deliveredAt, deliveredTotal, status, description, providerType","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]}},"\/messaging\/messages\/email":{"post":{"summary":"Create email","operationId":"messagingCreateEmail","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Create a new email message.","responses":{"201":{"description":"Message","schema":{"$ref":"#\/definitions\/message"}}},"x-appwrite":{"method":"createEmail","weight":374,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-email.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-email.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"messageId":{"type":"string","description":"Message ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<MESSAGE_ID>"},"subject":{"type":"string","description":"Email Subject.","default":null,"x-example":"<SUBJECT>"},"content":{"type":"string","description":"Email Content.","default":null,"x-example":"<CONTENT>"},"topics":{"type":"array","description":"List of Topic IDs.","default":[],"x-example":null,"items":{"type":"string"}},"users":{"type":"array","description":"List of User IDs.","default":[],"x-example":null,"items":{"type":"string"}},"targets":{"type":"array","description":"List of Targets IDs.","default":[],"x-example":null,"items":{"type":"string"}},"cc":{"type":"array","description":"Array of target IDs to be added as CC.","default":[],"x-example":null,"items":{"type":"string"}},"bcc":{"type":"array","description":"Array of target IDs to be added as BCC.","default":[],"x-example":null,"items":{"type":"string"}},"attachments":{"type":"array","description":"Array of compound ID strings of bucket IDs and file IDs to be attached to the email. They should be formatted as <BUCKET_ID>:<FILE_ID>.","default":[],"x-example":null,"items":{"type":"string"}},"draft":{"type":"boolean","description":"Is message a draft","default":false,"x-example":false},"html":{"type":"boolean","description":"Is content of type HTML","default":false,"x-example":false},"scheduledAt":{"type":"string","description":"Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.","default":null,"x-example":null}},"required":["messageId","subject","content"]}}]}},"\/messaging\/messages\/email\/{messageId}":{"patch":{"summary":"Update email","operationId":"messagingUpdateEmail","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Update an email message by its unique ID.\n","responses":{"200":{"description":"Message","schema":{"$ref":"#\/definitions\/message"}}},"x-appwrite":{"method":"updateEmail","weight":381,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-email.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-email.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"messageId","description":"Message ID.","required":true,"type":"string","x-example":"<MESSAGE_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"topics":{"type":"array","description":"List of Topic IDs.","default":null,"x-example":null,"items":{"type":"string"}},"users":{"type":"array","description":"List of User IDs.","default":null,"x-example":null,"items":{"type":"string"}},"targets":{"type":"array","description":"List of Targets IDs.","default":null,"x-example":null,"items":{"type":"string"}},"subject":{"type":"string","description":"Email Subject.","default":null,"x-example":"<SUBJECT>"},"content":{"type":"string","description":"Email Content.","default":null,"x-example":"<CONTENT>"},"draft":{"type":"boolean","description":"Is message a draft","default":null,"x-example":false},"html":{"type":"boolean","description":"Is content of type HTML","default":null,"x-example":false},"cc":{"type":"array","description":"Array of target IDs to be added as CC.","default":null,"x-example":null,"items":{"type":"string"}},"bcc":{"type":"array","description":"Array of target IDs to be added as BCC.","default":null,"x-example":null,"items":{"type":"string"}},"scheduledAt":{"type":"string","description":"Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.","default":null,"x-example":null},"attachments":{"type":"array","description":"Array of compound ID strings of bucket IDs and file IDs to be attached to the email. They should be formatted as <BUCKET_ID>:<FILE_ID>.","default":null,"x-example":null,"items":{"type":"string"}}}}}]}},"\/messaging\/messages\/push":{"post":{"summary":"Create push notification","operationId":"messagingCreatePush","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Create a new push notification.","responses":{"201":{"description":"Message","schema":{"$ref":"#\/definitions\/message"}}},"x-appwrite":{"method":"createPush","weight":376,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-push.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-push.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"messageId":{"type":"string","description":"Message ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<MESSAGE_ID>"},"title":{"type":"string","description":"Title for push notification.","default":null,"x-example":"<TITLE>"},"body":{"type":"string","description":"Body for push notification.","default":null,"x-example":"<BODY>"},"topics":{"type":"array","description":"List of Topic IDs.","default":[],"x-example":null,"items":{"type":"string"}},"users":{"type":"array","description":"List of User IDs.","default":[],"x-example":null,"items":{"type":"string"}},"targets":{"type":"array","description":"List of Targets IDs.","default":[],"x-example":null,"items":{"type":"string"}},"data":{"type":"object","description":"Additional Data for push notification.","default":{},"x-example":"{}"},"action":{"type":"string","description":"Action for push notification.","default":"","x-example":"<ACTION>"},"image":{"type":"string","description":"Image for push notification. Must be a compound bucket ID to file ID of a jpeg, png, or bmp image in Appwrite Storage. It should be formatted as <BUCKET_ID>:<FILE_ID>.","default":"","x-example":"[ID1:ID2]"},"icon":{"type":"string","description":"Icon for push notification. Available only for Android and Web Platform.","default":"","x-example":"<ICON>"},"sound":{"type":"string","description":"Sound for push notification. Available only for Android and IOS Platform.","default":"","x-example":"<SOUND>"},"color":{"type":"string","description":"Color for push notification. Available only for Android Platform.","default":"","x-example":"<COLOR>"},"tag":{"type":"string","description":"Tag for push notification. Available only for Android Platform.","default":"","x-example":"<TAG>"},"badge":{"type":"string","description":"Badge for push notification. Available only for IOS Platform.","default":"","x-example":"<BADGE>"},"draft":{"type":"boolean","description":"Is message a draft","default":false,"x-example":false},"scheduledAt":{"type":"string","description":"Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.","default":null,"x-example":null}},"required":["messageId","title","body"]}}]}},"\/messaging\/messages\/push\/{messageId}":{"patch":{"summary":"Update push notification","operationId":"messagingUpdatePush","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Update a push notification by its unique ID.\n","responses":{"200":{"description":"Message","schema":{"$ref":"#\/definitions\/message"}}},"x-appwrite":{"method":"updatePush","weight":383,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-push.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-push.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"messageId","description":"Message ID.","required":true,"type":"string","x-example":"<MESSAGE_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"topics":{"type":"array","description":"List of Topic IDs.","default":null,"x-example":null,"items":{"type":"string"}},"users":{"type":"array","description":"List of User IDs.","default":null,"x-example":null,"items":{"type":"string"}},"targets":{"type":"array","description":"List of Targets IDs.","default":null,"x-example":null,"items":{"type":"string"}},"title":{"type":"string","description":"Title for push notification.","default":null,"x-example":"<TITLE>"},"body":{"type":"string","description":"Body for push notification.","default":null,"x-example":"<BODY>"},"data":{"type":"object","description":"Additional Data for push notification.","default":{},"x-example":"{}"},"action":{"type":"string","description":"Action for push notification.","default":null,"x-example":"<ACTION>"},"image":{"type":"string","description":"Image for push notification. Must be a compound bucket ID to file ID of a jpeg, png, or bmp image in Appwrite Storage. It should be formatted as <BUCKET_ID>:<FILE_ID>.","default":null,"x-example":"[ID1:ID2]"},"icon":{"type":"string","description":"Icon for push notification. Available only for Android and Web platforms.","default":null,"x-example":"<ICON>"},"sound":{"type":"string","description":"Sound for push notification. Available only for Android and iOS platforms.","default":null,"x-example":"<SOUND>"},"color":{"type":"string","description":"Color for push notification. Available only for Android platforms.","default":null,"x-example":"<COLOR>"},"tag":{"type":"string","description":"Tag for push notification. Available only for Android platforms.","default":null,"x-example":"<TAG>"},"badge":{"type":"integer","description":"Badge for push notification. Available only for iOS platforms.","default":null,"x-example":null},"draft":{"type":"boolean","description":"Is message a draft","default":null,"x-example":false},"scheduledAt":{"type":"string","description":"Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.","default":null,"x-example":null}}}}]}},"\/messaging\/messages\/sms":{"post":{"summary":"Create SMS","operationId":"messagingCreateSms","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Create a new SMS message.","responses":{"201":{"description":"Message","schema":{"$ref":"#\/definitions\/message"}}},"x-appwrite":{"method":"createSms","weight":375,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-sms.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-sms.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"messageId":{"type":"string","description":"Message ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<MESSAGE_ID>"},"content":{"type":"string","description":"SMS Content.","default":null,"x-example":"<CONTENT>"},"topics":{"type":"array","description":"List of Topic IDs.","default":[],"x-example":null,"items":{"type":"string"}},"users":{"type":"array","description":"List of User IDs.","default":[],"x-example":null,"items":{"type":"string"}},"targets":{"type":"array","description":"List of Targets IDs.","default":[],"x-example":null,"items":{"type":"string"}},"draft":{"type":"boolean","description":"Is message a draft","default":false,"x-example":false},"scheduledAt":{"type":"string","description":"Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.","default":null,"x-example":null}},"required":["messageId","content"]}}]}},"\/messaging\/messages\/sms\/{messageId}":{"patch":{"summary":"Update SMS","operationId":"messagingUpdateSms","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Update an email message by its unique ID.\n","responses":{"200":{"description":"Message","schema":{"$ref":"#\/definitions\/message"}}},"x-appwrite":{"method":"updateSms","weight":382,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-sms.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-email.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"messageId","description":"Message ID.","required":true,"type":"string","x-example":"<MESSAGE_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"topics":{"type":"array","description":"List of Topic IDs.","default":null,"x-example":null,"items":{"type":"string"}},"users":{"type":"array","description":"List of User IDs.","default":null,"x-example":null,"items":{"type":"string"}},"targets":{"type":"array","description":"List of Targets IDs.","default":null,"x-example":null,"items":{"type":"string"}},"content":{"type":"string","description":"Email Content.","default":null,"x-example":"<CONTENT>"},"draft":{"type":"boolean","description":"Is message a draft","default":null,"x-example":false},"scheduledAt":{"type":"string","description":"Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.","default":null,"x-example":null}}}}]}},"\/messaging\/messages\/{messageId}":{"get":{"summary":"Get message","operationId":"messagingGetMessage","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Get a message by its unique ID.\n","responses":{"200":{"description":"Message","schema":{"$ref":"#\/definitions\/message"}}},"x-appwrite":{"method":"getMessage","weight":380,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/get-message.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-message.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"messageId","description":"Message ID.","required":true,"type":"string","x-example":"<MESSAGE_ID>","in":"path"}]},"delete":{"summary":"Delete message","operationId":"messagingDelete","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Delete a message. If the message is not a draft or scheduled, but has been sent, this will not recall the message.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"delete","weight":384,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/delete.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-message.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"messageId","description":"Message ID.","required":true,"type":"string","x-example":"<MESSAGE_ID>","in":"path"}]}},"\/messaging\/messages\/{messageId}\/logs":{"get":{"summary":"List message logs","operationId":"messagingListMessageLogs","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Get the message activity logs listed by its unique ID.","responses":{"200":{"description":"Logs List","schema":{"$ref":"#\/definitions\/logList"}}},"x-appwrite":{"method":"listMessageLogs","weight":378,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-message-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-message-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"messageId","description":"Message ID.","required":true,"type":"string","x-example":"<MESSAGE_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]}},"\/messaging\/messages\/{messageId}\/targets":{"get":{"summary":"List message targets","operationId":"messagingListTargets","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Get a list of the targets associated with a message.","responses":{"200":{"description":"Target list","schema":{"$ref":"#\/definitions\/targetList"}}},"x-appwrite":{"method":"listTargets","weight":379,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-targets.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-message-targets.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"messageId","description":"Message ID.","required":true,"type":"string","x-example":"<MESSAGE_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, providerId, identifier, providerType","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]}},"\/messaging\/providers":{"get":{"summary":"List providers","operationId":"messagingListProviders","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Get a list of all providers from the current Appwrite project.","responses":{"200":{"description":"Provider list","schema":{"$ref":"#\/definitions\/providerList"}}},"x-appwrite":{"method":"listProviders","weight":349,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-providers.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-providers.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, provider, type, enabled","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]}},"\/messaging\/providers\/apns":{"post":{"summary":"Create APNS provider","operationId":"messagingCreateApnsProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Create a new Apple Push Notification service provider.","responses":{"201":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"createApnsProvider","weight":348,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-apns-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-apns-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","default":null,"x-example":"<NAME>"},"authKey":{"type":"string","description":"APNS authentication key.","default":"","x-example":"<AUTH_KEY>"},"authKeyId":{"type":"string","description":"APNS authentication key ID.","default":"","x-example":"<AUTH_KEY_ID>"},"teamId":{"type":"string","description":"APNS team ID.","default":"","x-example":"<TEAM_ID>"},"bundleId":{"type":"string","description":"APNS bundle ID.","default":"","x-example":"<BUNDLE_ID>"},"sandbox":{"type":"boolean","description":"Use APNS sandbox environment.","default":false,"x-example":false},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false}},"required":["providerId","name"]}}]}},"\/messaging\/providers\/apns\/{providerId}":{"patch":{"summary":"Update APNS provider","operationId":"messagingUpdateApnsProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Update a Apple Push Notification service provider by its unique ID.","responses":{"200":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"updateApnsProvider","weight":361,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-apns-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-apns-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"type":"string","x-example":"<PROVIDER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","default":"","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false},"authKey":{"type":"string","description":"APNS authentication key.","default":"","x-example":"<AUTH_KEY>"},"authKeyId":{"type":"string","description":"APNS authentication key ID.","default":"","x-example":"<AUTH_KEY_ID>"},"teamId":{"type":"string","description":"APNS team ID.","default":"","x-example":"<TEAM_ID>"},"bundleId":{"type":"string","description":"APNS bundle ID.","default":"","x-example":"<BUNDLE_ID>"},"sandbox":{"type":"boolean","description":"Use APNS sandbox environment.","default":null,"x-example":false}}}}]}},"\/messaging\/providers\/fcm":{"post":{"summary":"Create FCM provider","operationId":"messagingCreateFcmProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Create a new Firebase Cloud Messaging provider.","responses":{"201":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"createFcmProvider","weight":347,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-fcm-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-fcm-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","default":null,"x-example":"<NAME>"},"serviceAccountJSON":{"type":"object","description":"FCM service account JSON.","default":{},"x-example":"{}"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false}},"required":["providerId","name"]}}]}},"\/messaging\/providers\/fcm\/{providerId}":{"patch":{"summary":"Update FCM provider","operationId":"messagingUpdateFcmProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Update a Firebase Cloud Messaging provider by its unique ID.","responses":{"200":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"updateFcmProvider","weight":360,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-fcm-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-fcm-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"type":"string","x-example":"<PROVIDER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","default":"","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false},"serviceAccountJSON":{"type":"object","description":"FCM service account JSON.","default":{},"x-example":"{}"}}}}]}},"\/messaging\/providers\/mailgun":{"post":{"summary":"Create Mailgun provider","operationId":"messagingCreateMailgunProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Create a new Mailgun provider.","responses":{"201":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"createMailgunProvider","weight":339,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-mailgun-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-mailgun-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","default":null,"x-example":"<NAME>"},"apiKey":{"type":"string","description":"Mailgun API Key.","default":"","x-example":"<API_KEY>"},"domain":{"type":"string","description":"Mailgun Domain.","default":"","x-example":"<DOMAIN>"},"isEuRegion":{"type":"boolean","description":"Set as EU region.","default":null,"x-example":false},"fromName":{"type":"string","description":"Sender Name.","default":"","x-example":"<FROM_NAME>"},"fromEmail":{"type":"string","description":"Sender email address.","default":"","x-example":"email@example.com"},"replyToName":{"type":"string","description":"Name set in the reply to field for the mail. Default value is sender name. Reply to name must have reply to email as well.","default":"","x-example":"<REPLY_TO_NAME>"},"replyToEmail":{"type":"string","description":"Email set in the reply to field for the mail. Default value is sender email. Reply to email must have reply to name as well.","default":"","x-example":"email@example.com"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false}},"required":["providerId","name"]}}]}},"\/messaging\/providers\/mailgun\/{providerId}":{"patch":{"summary":"Update Mailgun provider","operationId":"messagingUpdateMailgunProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Update a Mailgun provider by its unique ID.","responses":{"200":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"updateMailgunProvider","weight":352,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-mailgun-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-mailgun-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"type":"string","x-example":"<PROVIDER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","default":"","x-example":"<NAME>"},"apiKey":{"type":"string","description":"Mailgun API Key.","default":"","x-example":"<API_KEY>"},"domain":{"type":"string","description":"Mailgun Domain.","default":"","x-example":"<DOMAIN>"},"isEuRegion":{"type":"boolean","description":"Set as EU region.","default":null,"x-example":false},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false},"fromName":{"type":"string","description":"Sender Name.","default":"","x-example":"<FROM_NAME>"},"fromEmail":{"type":"string","description":"Sender email address.","default":"","x-example":"email@example.com"},"replyToName":{"type":"string","description":"Name set in the reply to field for the mail. Default value is sender name.","default":"","x-example":"<REPLY_TO_NAME>"},"replyToEmail":{"type":"string","description":"Email set in the reply to field for the mail. Default value is sender email.","default":"","x-example":"<REPLY_TO_EMAIL>"}}}}]}},"\/messaging\/providers\/msg91":{"post":{"summary":"Create Msg91 provider","operationId":"messagingCreateMsg91Provider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Create a new MSG91 provider.","responses":{"201":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"createMsg91Provider","weight":342,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-msg91provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-msg91-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","default":null,"x-example":"<NAME>"},"templateId":{"type":"string","description":"Msg91 template ID","default":"","x-example":"<TEMPLATE_ID>"},"senderId":{"type":"string","description":"Msg91 sender ID.","default":"","x-example":"<SENDER_ID>"},"authKey":{"type":"string","description":"Msg91 auth key.","default":"","x-example":"<AUTH_KEY>"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false}},"required":["providerId","name"]}}]}},"\/messaging\/providers\/msg91\/{providerId}":{"patch":{"summary":"Update Msg91 provider","operationId":"messagingUpdateMsg91Provider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Update a MSG91 provider by its unique ID.","responses":{"200":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"updateMsg91Provider","weight":355,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-msg91provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-msg91-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"type":"string","x-example":"<PROVIDER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","default":"","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false},"templateId":{"type":"string","description":"Msg91 template ID.","default":"","x-example":"<TEMPLATE_ID>"},"senderId":{"type":"string","description":"Msg91 sender ID.","default":"","x-example":"<SENDER_ID>"},"authKey":{"type":"string","description":"Msg91 auth key.","default":"","x-example":"<AUTH_KEY>"}}}}]}},"\/messaging\/providers\/sendgrid":{"post":{"summary":"Create Sendgrid provider","operationId":"messagingCreateSendgridProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Create a new Sendgrid provider.","responses":{"201":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"createSendgridProvider","weight":340,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-sendgrid-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-sendgrid-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","default":null,"x-example":"<NAME>"},"apiKey":{"type":"string","description":"Sendgrid API key.","default":"","x-example":"<API_KEY>"},"fromName":{"type":"string","description":"Sender Name.","default":"","x-example":"<FROM_NAME>"},"fromEmail":{"type":"string","description":"Sender email address.","default":"","x-example":"email@example.com"},"replyToName":{"type":"string","description":"Name set in the reply to field for the mail. Default value is sender name.","default":"","x-example":"<REPLY_TO_NAME>"},"replyToEmail":{"type":"string","description":"Email set in the reply to field for the mail. Default value is sender email.","default":"","x-example":"email@example.com"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false}},"required":["providerId","name"]}}]}},"\/messaging\/providers\/sendgrid\/{providerId}":{"patch":{"summary":"Update Sendgrid provider","operationId":"messagingUpdateSendgridProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Update a Sendgrid provider by its unique ID.","responses":{"200":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"updateSendgridProvider","weight":353,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-sendgrid-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-sendgrid-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"type":"string","x-example":"<PROVIDER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","default":"","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false},"apiKey":{"type":"string","description":"Sendgrid API key.","default":"","x-example":"<API_KEY>"},"fromName":{"type":"string","description":"Sender Name.","default":"","x-example":"<FROM_NAME>"},"fromEmail":{"type":"string","description":"Sender email address.","default":"","x-example":"email@example.com"},"replyToName":{"type":"string","description":"Name set in the Reply To field for the mail. Default value is Sender Name.","default":"","x-example":"<REPLY_TO_NAME>"},"replyToEmail":{"type":"string","description":"Email set in the Reply To field for the mail. Default value is Sender Email.","default":"","x-example":"<REPLY_TO_EMAIL>"}}}}]}},"\/messaging\/providers\/smtp":{"post":{"summary":"Create SMTP provider","operationId":"messagingCreateSmtpProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Create a new SMTP provider.","responses":{"201":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"createSmtpProvider","weight":341,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-smtp-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-smtp-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","default":null,"x-example":"<NAME>"},"host":{"type":"string","description":"SMTP hosts. Either a single hostname or multiple semicolon-delimited hostnames. You can also specify a different port for each host such as `smtp1.example.com:25;smtp2.example.com`. You can also specify encryption type, for example: `tls:\/\/smtp1.example.com:587;ssl:\/\/smtp2.example.com:465\"`. Hosts will be tried in order.","default":null,"x-example":"<HOST>"},"port":{"type":"integer","description":"The default SMTP server port.","default":587,"x-example":1},"username":{"type":"string","description":"Authentication username.","default":"","x-example":"<USERNAME>"},"password":{"type":"string","description":"Authentication password.","default":"","x-example":"<PASSWORD>"},"encryption":{"type":"string","description":"Encryption type. Can be omitted, 'ssl', or 'tls'","default":"","x-example":"none","enum":["none","ssl","tls"],"x-enum-name":"SmtpEncryption","x-enum-keys":[]},"autoTLS":{"type":"boolean","description":"Enable SMTP AutoTLS feature.","default":true,"x-example":false},"mailer":{"type":"string","description":"The value to use for the X-Mailer header.","default":"","x-example":"<MAILER>"},"fromName":{"type":"string","description":"Sender Name.","default":"","x-example":"<FROM_NAME>"},"fromEmail":{"type":"string","description":"Sender email address.","default":"","x-example":"email@example.com"},"replyToName":{"type":"string","description":"Name set in the reply to field for the mail. Default value is sender name.","default":"","x-example":"<REPLY_TO_NAME>"},"replyToEmail":{"type":"string","description":"Email set in the reply to field for the mail. Default value is sender email.","default":"","x-example":"email@example.com"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false}},"required":["providerId","name","host"]}}]}},"\/messaging\/providers\/smtp\/{providerId}":{"patch":{"summary":"Update SMTP provider","operationId":"messagingUpdateSmtpProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Update a SMTP provider by its unique ID.","responses":{"200":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"updateSmtpProvider","weight":354,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-smtp-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-smtp-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"type":"string","x-example":"<PROVIDER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","default":"","x-example":"<NAME>"},"host":{"type":"string","description":"SMTP hosts. Either a single hostname or multiple semicolon-delimited hostnames. You can also specify a different port for each host such as `smtp1.example.com:25;smtp2.example.com`. You can also specify encryption type, for example: `tls:\/\/smtp1.example.com:587;ssl:\/\/smtp2.example.com:465\"`. Hosts will be tried in order.","default":"","x-example":"<HOST>"},"port":{"type":"integer","description":"SMTP port.","default":null,"x-example":1},"username":{"type":"string","description":"Authentication username.","default":"","x-example":"<USERNAME>"},"password":{"type":"string","description":"Authentication password.","default":"","x-example":"<PASSWORD>"},"encryption":{"type":"string","description":"Encryption type. Can be 'ssl' or 'tls'","default":"","x-example":"none","enum":["none","ssl","tls"],"x-enum-name":"SmtpEncryption","x-enum-keys":[]},"autoTLS":{"type":"boolean","description":"Enable SMTP AutoTLS feature.","default":null,"x-example":false},"mailer":{"type":"string","description":"The value to use for the X-Mailer header.","default":"","x-example":"<MAILER>"},"fromName":{"type":"string","description":"Sender Name.","default":"","x-example":"<FROM_NAME>"},"fromEmail":{"type":"string","description":"Sender email address.","default":"","x-example":"email@example.com"},"replyToName":{"type":"string","description":"Name set in the Reply To field for the mail. Default value is Sender Name.","default":"","x-example":"<REPLY_TO_NAME>"},"replyToEmail":{"type":"string","description":"Email set in the Reply To field for the mail. Default value is Sender Email.","default":"","x-example":"<REPLY_TO_EMAIL>"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false}}}}]}},"\/messaging\/providers\/telesign":{"post":{"summary":"Create Telesign provider","operationId":"messagingCreateTelesignProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Create a new Telesign provider.","responses":{"201":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"createTelesignProvider","weight":343,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-telesign-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-telesign-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","default":null,"x-example":"<NAME>"},"from":{"type":"string","description":"Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","default":"","x-example":"+12065550100"},"customerId":{"type":"string","description":"Telesign customer ID.","default":"","x-example":"<CUSTOMER_ID>"},"apiKey":{"type":"string","description":"Telesign API key.","default":"","x-example":"<API_KEY>"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false}},"required":["providerId","name"]}}]}},"\/messaging\/providers\/telesign\/{providerId}":{"patch":{"summary":"Update Telesign provider","operationId":"messagingUpdateTelesignProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Update a Telesign provider by its unique ID.","responses":{"200":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"updateTelesignProvider","weight":356,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-telesign-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-telesign-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"type":"string","x-example":"<PROVIDER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","default":"","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false},"customerId":{"type":"string","description":"Telesign customer ID.","default":"","x-example":"<CUSTOMER_ID>"},"apiKey":{"type":"string","description":"Telesign API key.","default":"","x-example":"<API_KEY>"},"from":{"type":"string","description":"Sender number.","default":"","x-example":"<FROM>"}}}}]}},"\/messaging\/providers\/textmagic":{"post":{"summary":"Create Textmagic provider","operationId":"messagingCreateTextmagicProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Create a new Textmagic provider.","responses":{"201":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"createTextmagicProvider","weight":344,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-textmagic-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-textmagic-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","default":null,"x-example":"<NAME>"},"from":{"type":"string","description":"Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","default":"","x-example":"+12065550100"},"username":{"type":"string","description":"Textmagic username.","default":"","x-example":"<USERNAME>"},"apiKey":{"type":"string","description":"Textmagic apiKey.","default":"","x-example":"<API_KEY>"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false}},"required":["providerId","name"]}}]}},"\/messaging\/providers\/textmagic\/{providerId}":{"patch":{"summary":"Update Textmagic provider","operationId":"messagingUpdateTextmagicProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Update a Textmagic provider by its unique ID.","responses":{"200":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"updateTextmagicProvider","weight":357,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-textmagic-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-textmagic-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"type":"string","x-example":"<PROVIDER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","default":"","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false},"username":{"type":"string","description":"Textmagic username.","default":"","x-example":"<USERNAME>"},"apiKey":{"type":"string","description":"Textmagic apiKey.","default":"","x-example":"<API_KEY>"},"from":{"type":"string","description":"Sender number.","default":"","x-example":"<FROM>"}}}}]}},"\/messaging\/providers\/twilio":{"post":{"summary":"Create Twilio provider","operationId":"messagingCreateTwilioProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Create a new Twilio provider.","responses":{"201":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"createTwilioProvider","weight":345,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-twilio-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-twilio-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","default":null,"x-example":"<NAME>"},"from":{"type":"string","description":"Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","default":"","x-example":"+12065550100"},"accountSid":{"type":"string","description":"Twilio account secret ID.","default":"","x-example":"<ACCOUNT_SID>"},"authToken":{"type":"string","description":"Twilio authentication token.","default":"","x-example":"<AUTH_TOKEN>"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false}},"required":["providerId","name"]}}]}},"\/messaging\/providers\/twilio\/{providerId}":{"patch":{"summary":"Update Twilio provider","operationId":"messagingUpdateTwilioProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Update a Twilio provider by its unique ID.","responses":{"200":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"updateTwilioProvider","weight":358,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-twilio-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-twilio-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"type":"string","x-example":"<PROVIDER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","default":"","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false},"accountSid":{"type":"string","description":"Twilio account secret ID.","default":"","x-example":"<ACCOUNT_SID>"},"authToken":{"type":"string","description":"Twilio authentication token.","default":"","x-example":"<AUTH_TOKEN>"},"from":{"type":"string","description":"Sender number.","default":"","x-example":"<FROM>"}}}}]}},"\/messaging\/providers\/vonage":{"post":{"summary":"Create Vonage provider","operationId":"messagingCreateVonageProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Create a new Vonage provider.","responses":{"201":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"createVonageProvider","weight":346,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-vonage-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-vonage-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","default":null,"x-example":"<NAME>"},"from":{"type":"string","description":"Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","default":"","x-example":"+12065550100"},"apiKey":{"type":"string","description":"Vonage API key.","default":"","x-example":"<API_KEY>"},"apiSecret":{"type":"string","description":"Vonage API secret.","default":"","x-example":"<API_SECRET>"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false}},"required":["providerId","name"]}}]}},"\/messaging\/providers\/vonage\/{providerId}":{"patch":{"summary":"Update Vonage provider","operationId":"messagingUpdateVonageProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Update a Vonage provider by its unique ID.","responses":{"200":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"updateVonageProvider","weight":359,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-vonage-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-vonage-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"type":"string","x-example":"<PROVIDER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","default":"","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false},"apiKey":{"type":"string","description":"Vonage API key.","default":"","x-example":"<API_KEY>"},"apiSecret":{"type":"string","description":"Vonage API secret.","default":"","x-example":"<API_SECRET>"},"from":{"type":"string","description":"Sender number.","default":"","x-example":"<FROM>"}}}}]}},"\/messaging\/providers\/{providerId}":{"get":{"summary":"Get provider","operationId":"messagingGetProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Get a provider by its unique ID.\n","responses":{"200":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"getProvider","weight":351,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/get-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"type":"string","x-example":"<PROVIDER_ID>","in":"path"}]},"delete":{"summary":"Delete provider","operationId":"messagingDeleteProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Delete a provider by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteProvider","weight":362,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/delete-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"type":"string","x-example":"<PROVIDER_ID>","in":"path"}]}},"\/messaging\/providers\/{providerId}\/logs":{"get":{"summary":"List provider logs","operationId":"messagingListProviderLogs","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Get the provider activity logs listed by its unique ID.","responses":{"200":{"description":"Logs List","schema":{"$ref":"#\/definitions\/logList"}}},"x-appwrite":{"method":"listProviderLogs","weight":350,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-provider-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-provider-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"type":"string","x-example":"<PROVIDER_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]}},"\/messaging\/subscribers\/{subscriberId}\/logs":{"get":{"summary":"List subscriber logs","operationId":"messagingListSubscriberLogs","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Get the subscriber activity logs listed by its unique ID.","responses":{"200":{"description":"Logs List","schema":{"$ref":"#\/definitions\/logList"}}},"x-appwrite":{"method":"listSubscriberLogs","weight":371,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-subscriber-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-subscriber-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"subscribers.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"subscriberId","description":"Subscriber ID.","required":true,"type":"string","x-example":"<SUBSCRIBER_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]}},"\/messaging\/topics":{"get":{"summary":"List topics","operationId":"messagingListTopics","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Get a list of all topics from the current Appwrite project.","responses":{"200":{"description":"Topic list","schema":{"$ref":"#\/definitions\/topicList"}}},"x-appwrite":{"method":"listTopics","weight":364,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-topics.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-topics.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"topics.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, description, emailTotal, smsTotal, pushTotal","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]},"post":{"summary":"Create topic","operationId":"messagingCreateTopic","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Create a new topic.","responses":{"201":{"description":"Topic","schema":{"$ref":"#\/definitions\/topic"}}},"x-appwrite":{"method":"createTopic","weight":363,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-topic.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-topic.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"topics.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"topicId":{"type":"string","description":"Topic ID. Choose a custom Topic ID or a new Topic ID.","default":null,"x-example":"<TOPIC_ID>"},"name":{"type":"string","description":"Topic Name.","default":null,"x-example":"<NAME>"},"subscribe":{"type":"array","description":"An array of role strings with subscribe permission. By default all users are granted with any subscribe permission. [learn more about roles](https:\/\/appwrite.io\/docs\/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.","default":["users"],"x-example":"[\"any\"]","items":{"type":"string"}}},"required":["topicId","name"]}}]}},"\/messaging\/topics\/{topicId}":{"get":{"summary":"Get topic","operationId":"messagingGetTopic","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Get a topic by its unique ID.\n","responses":{"200":{"description":"Topic","schema":{"$ref":"#\/definitions\/topic"}}},"x-appwrite":{"method":"getTopic","weight":366,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/get-topic.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-topic.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"topics.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"topicId","description":"Topic ID.","required":true,"type":"string","x-example":"<TOPIC_ID>","in":"path"}]},"patch":{"summary":"Update topic","operationId":"messagingUpdateTopic","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Update a topic by its unique ID.\n","responses":{"200":{"description":"Topic","schema":{"$ref":"#\/definitions\/topic"}}},"x-appwrite":{"method":"updateTopic","weight":367,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-topic.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-topic.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"topics.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"topicId","description":"Topic ID.","required":true,"type":"string","x-example":"<TOPIC_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Topic Name.","default":null,"x-example":"<NAME>"},"subscribe":{"type":"array","description":"An array of role strings with subscribe permission. By default all users are granted with any subscribe permission. [learn more about roles](https:\/\/appwrite.io\/docs\/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.","default":null,"x-example":"[\"any\"]","items":{"type":"string"}}}}}]},"delete":{"summary":"Delete topic","operationId":"messagingDeleteTopic","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Delete a topic by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteTopic","weight":368,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/delete-topic.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-topic.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"topics.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"topicId","description":"Topic ID.","required":true,"type":"string","x-example":"<TOPIC_ID>","in":"path"}]}},"\/messaging\/topics\/{topicId}\/logs":{"get":{"summary":"List topic logs","operationId":"messagingListTopicLogs","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Get the topic activity logs listed by its unique ID.","responses":{"200":{"description":"Logs List","schema":{"$ref":"#\/definitions\/logList"}}},"x-appwrite":{"method":"listTopicLogs","weight":365,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-topic-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-topic-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"topics.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"topicId","description":"Topic ID.","required":true,"type":"string","x-example":"<TOPIC_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]}},"\/messaging\/topics\/{topicId}\/subscribers":{"get":{"summary":"List subscribers","operationId":"messagingListSubscribers","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Get a list of all subscribers from the current Appwrite project.","responses":{"200":{"description":"Subscriber list","schema":{"$ref":"#\/definitions\/subscriberList"}}},"x-appwrite":{"method":"listSubscribers","weight":370,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-subscribers.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-subscribers.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"subscribers.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"topicId","description":"Topic ID. The topic ID subscribed to.","required":true,"type":"string","x-example":"<TOPIC_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, provider, type, enabled","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]},"post":{"summary":"Create subscriber","operationId":"messagingCreateSubscriber","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Create a new subscriber.","responses":{"201":{"description":"Subscriber","schema":{"$ref":"#\/definitions\/subscriber"}}},"x-appwrite":{"method":"createSubscriber","weight":369,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-subscriber.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-subscriber.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"subscribers.write","platforms":["server","client","console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[],"Key":[]}],"parameters":[{"name":"topicId","description":"Topic ID. The topic ID to subscribe to.","required":true,"type":"string","x-example":"<TOPIC_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"subscriberId":{"type":"string","description":"Subscriber ID. Choose a custom Subscriber ID or a new Subscriber ID.","default":null,"x-example":"<SUBSCRIBER_ID>"},"targetId":{"type":"string","description":"Target ID. The target ID to link to the specified Topic ID.","default":null,"x-example":"<TARGET_ID>"}},"required":["subscriberId","targetId"]}}]}},"\/messaging\/topics\/{topicId}\/subscribers\/{subscriberId}":{"get":{"summary":"Get subscriber","operationId":"messagingGetSubscriber","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Get a subscriber by its unique ID.\n","responses":{"200":{"description":"Subscriber","schema":{"$ref":"#\/definitions\/subscriber"}}},"x-appwrite":{"method":"getSubscriber","weight":372,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/get-subscriber.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-subscriber.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"subscribers.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"topicId","description":"Topic ID. The topic ID subscribed to.","required":true,"type":"string","x-example":"<TOPIC_ID>","in":"path"},{"name":"subscriberId","description":"Subscriber ID.","required":true,"type":"string","x-example":"<SUBSCRIBER_ID>","in":"path"}]},"delete":{"summary":"Delete subscriber","operationId":"messagingDeleteSubscriber","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Delete a subscriber by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteSubscriber","weight":373,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/delete-subscriber.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-subscriber.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"subscribers.write","platforms":["server","client","console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[],"Key":[]}],"parameters":[{"name":"topicId","description":"Topic ID. The topic ID subscribed to.","required":true,"type":"string","x-example":"<TOPIC_ID>","in":"path"},{"name":"subscriberId","description":"Subscriber ID.","required":true,"type":"string","x-example":"<SUBSCRIBER_ID>","in":"path"}]}},"\/migrations":{"get":{"summary":"List Migrations","operationId":"migrationsList","consumes":["application\/json"],"produces":["application\/json"],"tags":["migrations"],"description":"","responses":{"200":{"description":"Migrations List","schema":{"$ref":"#\/definitions\/migrationList"}}},"x-appwrite":{"method":"list","weight":326,"cookies":false,"type":"","deprecated":false,"demo":"migrations\/list.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/list-migrations.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"migrations.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/databases#querying-documents). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: status, stage, source, resources, statusCounters, resourceData, errors","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]}},"\/migrations\/appwrite":{"post":{"summary":"Migrate Appwrite Data","operationId":"migrationsCreateAppwriteMigration","consumes":["application\/json"],"produces":["application\/json"],"tags":["migrations"],"description":"","responses":{"202":{"description":"Migration","schema":{"$ref":"#\/definitions\/migration"}}},"x-appwrite":{"method":"createAppwriteMigration","weight":321,"cookies":false,"type":"","deprecated":false,"demo":"migrations\/create-appwrite-migration.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-appwrite.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"migrations.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"resources":{"type":"array","description":"List of resources to migrate","default":null,"x-example":null,"items":{"type":"string"}},"endpoint":{"type":"string","description":"Source's Appwrite Endpoint","default":null,"x-example":"https:\/\/example.com"},"projectId":{"type":"string","description":"Source's Project ID","default":null,"x-example":"<PROJECT_ID>"},"apiKey":{"type":"string","description":"Source's API Key","default":null,"x-example":"<API_KEY>"}},"required":["resources","endpoint","projectId","apiKey"]}}]}},"\/migrations\/appwrite\/report":{"get":{"summary":"Generate a report on Appwrite Data","operationId":"migrationsGetAppwriteReport","consumes":["application\/json"],"produces":["application\/json"],"tags":["migrations"],"description":"","responses":{"200":{"description":"Migration Report","schema":{"$ref":"#\/definitions\/migrationReport"}}},"x-appwrite":{"method":"getAppwriteReport","weight":328,"cookies":false,"type":"","deprecated":false,"demo":"migrations\/get-appwrite-report.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-appwrite-report.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"migrations.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"resources","description":"List of resources to migrate","required":true,"type":"array","collectionFormat":"multi","items":{"type":"string"},"in":"query"},{"name":"endpoint","description":"Source's Appwrite Endpoint","required":true,"type":"string","format":"url","x-example":"https:\/\/example.com","in":"query"},{"name":"projectID","description":"Source's Project ID","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"query"},{"name":"key","description":"Source's API Key","required":true,"type":"string","x-example":"<KEY>","in":"query"}]}},"\/migrations\/firebase":{"post":{"summary":"Migrate Firebase Data (Service Account)","operationId":"migrationsCreateFirebaseMigration","consumes":["application\/json"],"produces":["application\/json"],"tags":["migrations"],"description":"","responses":{"202":{"description":"Migration","schema":{"$ref":"#\/definitions\/migration"}}},"x-appwrite":{"method":"createFirebaseMigration","weight":323,"cookies":false,"type":"","deprecated":false,"demo":"migrations\/create-firebase-migration.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-firebase.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"migrations.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"resources":{"type":"array","description":"List of resources to migrate","default":null,"x-example":null,"items":{"type":"string"}},"serviceAccount":{"type":"string","description":"JSON of the Firebase service account credentials","default":null,"x-example":"<SERVICE_ACCOUNT>"}},"required":["resources","serviceAccount"]}}]}},"\/migrations\/firebase\/deauthorize":{"get":{"summary":"Revoke Appwrite's authorization to access Firebase Projects","operationId":"migrationsDeleteFirebaseAuth","consumes":["application\/json"],"produces":["application\/json"],"tags":["migrations"],"description":"","responses":{"200":{"description":"File","schema":{"type":"file"}}},"x-appwrite":{"method":"deleteFirebaseAuth","weight":334,"cookies":false,"type":"","deprecated":false,"demo":"migrations\/delete-firebase-auth.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"migrations.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}]}},"\/migrations\/firebase\/oauth":{"post":{"summary":"Migrate Firebase Data (OAuth)","operationId":"migrationsCreateFirebaseOAuthMigration","consumes":["application\/json"],"produces":["application\/json"],"tags":["migrations"],"description":"","responses":{"202":{"description":"Migration","schema":{"$ref":"#\/definitions\/migration"}}},"x-appwrite":{"method":"createFirebaseOAuthMigration","weight":322,"cookies":false,"type":"","deprecated":false,"demo":"migrations\/create-firebase-o-auth-migration.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-firebase.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"migrations.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"resources":{"type":"array","description":"List of resources to migrate","default":null,"x-example":null,"items":{"type":"string"}},"projectId":{"type":"string","description":"Project ID of the Firebase Project","default":null,"x-example":"<PROJECT_ID>"}},"required":["resources","projectId"]}}]}},"\/migrations\/firebase\/projects":{"get":{"summary":"List Firebase Projects","operationId":"migrationsListFirebaseProjects","consumes":["application\/json"],"produces":["application\/json"],"tags":["migrations"],"description":"","responses":{"200":{"description":"Migrations Firebase Projects List","schema":{"$ref":"#\/definitions\/firebaseProjectList"}}},"x-appwrite":{"method":"listFirebaseProjects","weight":333,"cookies":false,"type":"","deprecated":false,"demo":"migrations\/list-firebase-projects.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"migrations.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}]}},"\/migrations\/firebase\/report":{"get":{"summary":"Generate a report on Firebase Data","operationId":"migrationsGetFirebaseReport","consumes":["application\/json"],"produces":["application\/json"],"tags":["migrations"],"description":"","responses":{"200":{"description":"Migration Report","schema":{"$ref":"#\/definitions\/migrationReport"}}},"x-appwrite":{"method":"getFirebaseReport","weight":329,"cookies":false,"type":"","deprecated":false,"demo":"migrations\/get-firebase-report.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-firebase-report.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"migrations.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"resources","description":"List of resources to migrate","required":true,"type":"array","collectionFormat":"multi","items":{"type":"string"},"in":"query"},{"name":"serviceAccount","description":"JSON of the Firebase service account credentials","required":true,"type":"string","x-example":"<SERVICE_ACCOUNT>","in":"query"}]}},"\/migrations\/firebase\/report\/oauth":{"get":{"summary":"Generate a report on Firebase Data using OAuth","operationId":"migrationsGetFirebaseReportOAuth","consumes":["application\/json"],"produces":["application\/json"],"tags":["migrations"],"description":"","responses":{"200":{"description":"Migration Report","schema":{"$ref":"#\/definitions\/migrationReport"}}},"x-appwrite":{"method":"getFirebaseReportOAuth","weight":330,"cookies":false,"type":"","deprecated":false,"demo":"migrations\/get-firebase-report-o-auth.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-firebase-report.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"migrations.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"resources","description":"List of resources to migrate","required":true,"type":"array","collectionFormat":"multi","items":{"type":"string"},"in":"query"},{"name":"projectId","description":"Project ID","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"query"}]}},"\/migrations\/nhost":{"post":{"summary":"Migrate NHost Data","operationId":"migrationsCreateNHostMigration","consumes":["application\/json"],"produces":["application\/json"],"tags":["migrations"],"description":"","responses":{"202":{"description":"Migration","schema":{"$ref":"#\/definitions\/migration"}}},"x-appwrite":{"method":"createNHostMigration","weight":325,"cookies":false,"type":"","deprecated":false,"demo":"migrations\/create-n-host-migration.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-nhost.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"migrations.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"resources":{"type":"array","description":"List of resources to migrate","default":null,"x-example":null,"items":{"type":"string"}},"subdomain":{"type":"string","description":"Source's Subdomain","default":null,"x-example":"<SUBDOMAIN>"},"region":{"type":"string","description":"Source's Region","default":null,"x-example":"<REGION>"},"adminSecret":{"type":"string","description":"Source's Admin Secret","default":null,"x-example":"<ADMIN_SECRET>"},"database":{"type":"string","description":"Source's Database Name","default":null,"x-example":"<DATABASE>"},"username":{"type":"string","description":"Source's Database Username","default":null,"x-example":"<USERNAME>"},"password":{"type":"string","description":"Source's Database Password","default":null,"x-example":"<PASSWORD>"},"port":{"type":"integer","description":"Source's Database Port","default":5432,"x-example":null}},"required":["resources","subdomain","region","adminSecret","database","username","password"]}}]}},"\/migrations\/nhost\/report":{"get":{"summary":"Generate a report on NHost Data","operationId":"migrationsGetNHostReport","consumes":["application\/json"],"produces":["application\/json"],"tags":["migrations"],"description":"","responses":{"200":{"description":"Migration Report","schema":{"$ref":"#\/definitions\/migrationReport"}}},"x-appwrite":{"method":"getNHostReport","weight":336,"cookies":false,"type":"","deprecated":false,"demo":"migrations\/get-n-host-report.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-nhost-report.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"migrations.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"resources","description":"List of resources to migrate.","required":true,"type":"array","collectionFormat":"multi","items":{"type":"string"},"in":"query"},{"name":"subdomain","description":"Source's Subdomain.","required":true,"type":"string","x-example":"<SUBDOMAIN>","in":"query"},{"name":"region","description":"Source's Region.","required":true,"type":"string","x-example":"<REGION>","in":"query"},{"name":"adminSecret","description":"Source's Admin Secret.","required":true,"type":"string","x-example":"<ADMIN_SECRET>","in":"query"},{"name":"database","description":"Source's Database Name.","required":true,"type":"string","x-example":"<DATABASE>","in":"query"},{"name":"username","description":"Source's Database Username.","required":true,"type":"string","x-example":"<USERNAME>","in":"query"},{"name":"password","description":"Source's Database Password.","required":true,"type":"string","x-example":"<PASSWORD>","in":"query"},{"name":"port","description":"Source's Database Port.","required":false,"type":"integer","format":"int32","default":5432,"in":"query"}]}},"\/migrations\/supabase":{"post":{"summary":"Migrate Supabase Data","operationId":"migrationsCreateSupabaseMigration","consumes":["application\/json"],"produces":["application\/json"],"tags":["migrations"],"description":"","responses":{"202":{"description":"Migration","schema":{"$ref":"#\/definitions\/migration"}}},"x-appwrite":{"method":"createSupabaseMigration","weight":324,"cookies":false,"type":"","deprecated":false,"demo":"migrations\/create-supabase-migration.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-supabase.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"migrations.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"resources":{"type":"array","description":"List of resources to migrate","default":null,"x-example":null,"items":{"type":"string"}},"endpoint":{"type":"string","description":"Source's Supabase Endpoint","default":null,"x-example":"https:\/\/example.com"},"apiKey":{"type":"string","description":"Source's API Key","default":null,"x-example":"<API_KEY>"},"databaseHost":{"type":"string","description":"Source's Database Host","default":null,"x-example":"<DATABASE_HOST>"},"username":{"type":"string","description":"Source's Database Username","default":null,"x-example":"<USERNAME>"},"password":{"type":"string","description":"Source's Database Password","default":null,"x-example":"<PASSWORD>"},"port":{"type":"integer","description":"Source's Database Port","default":5432,"x-example":null}},"required":["resources","endpoint","apiKey","databaseHost","username","password"]}}]}},"\/migrations\/supabase\/report":{"get":{"summary":"Generate a report on Supabase Data","operationId":"migrationsGetSupabaseReport","consumes":["application\/json"],"produces":["application\/json"],"tags":["migrations"],"description":"","responses":{"200":{"description":"Migration Report","schema":{"$ref":"#\/definitions\/migrationReport"}}},"x-appwrite":{"method":"getSupabaseReport","weight":335,"cookies":false,"type":"","deprecated":false,"demo":"migrations\/get-supabase-report.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-supabase-report.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"migrations.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"resources","description":"List of resources to migrate","required":true,"type":"array","collectionFormat":"multi","items":{"type":"string"},"in":"query"},{"name":"endpoint","description":"Source's Supabase Endpoint.","required":true,"type":"string","format":"url","x-example":"https:\/\/example.com","in":"query"},{"name":"apiKey","description":"Source's API Key.","required":true,"type":"string","x-example":"<API_KEY>","in":"query"},{"name":"databaseHost","description":"Source's Database Host.","required":true,"type":"string","x-example":"<DATABASE_HOST>","in":"query"},{"name":"username","description":"Source's Database Username.","required":true,"type":"string","x-example":"<USERNAME>","in":"query"},{"name":"password","description":"Source's Database Password.","required":true,"type":"string","x-example":"<PASSWORD>","in":"query"},{"name":"port","description":"Source's Database Port.","required":false,"type":"integer","format":"int32","default":5432,"in":"query"}]}},"\/migrations\/{migrationId}":{"get":{"summary":"Get Migration","operationId":"migrationsGet","consumes":["application\/json"],"produces":["application\/json"],"tags":["migrations"],"description":"","responses":{"200":{"description":"Migration","schema":{"$ref":"#\/definitions\/migration"}}},"x-appwrite":{"method":"get","weight":327,"cookies":false,"type":"","deprecated":false,"demo":"migrations\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/get-migration.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"migrations.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"migrationId","description":"Migration unique ID.","required":true,"type":"string","x-example":"<MIGRATION_ID>","in":"path"}]},"patch":{"summary":"Retry Migration","operationId":"migrationsRetry","consumes":["application\/json"],"produces":["application\/json"],"tags":["migrations"],"description":"","responses":{"202":{"description":"Migration","schema":{"$ref":"#\/definitions\/migration"}}},"x-appwrite":{"method":"retry","weight":337,"cookies":false,"type":"","deprecated":false,"demo":"migrations\/retry.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/retry-migration.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"migrations.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"migrationId","description":"Migration unique ID.","required":true,"type":"string","x-example":"<MIGRATION_ID>","in":"path"}]},"delete":{"summary":"Delete Migration","operationId":"migrationsDelete","consumes":["application\/json"],"produces":[],"tags":["migrations"],"description":"","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"delete","weight":338,"cookies":false,"type":"","deprecated":false,"demo":"migrations\/delete.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/delete-migration.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"migrations.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"migrationId","description":"Migration ID.","required":true,"type":"string","x-example":"<MIGRATION_ID>","in":"path"}]}},"\/project\/usage":{"get":{"summary":"Get project usage stats","operationId":"projectGetUsage","consumes":["application\/json"],"produces":["application\/json"],"tags":["project"],"description":"","responses":{"200":{"description":"UsageProject","schema":{"$ref":"#\/definitions\/usageProject"}}},"x-appwrite":{"method":"getUsage","weight":191,"cookies":false,"type":"","deprecated":false,"demo":"project\/get-usage.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"startDate","description":"Starting date for the usage","required":true,"type":"string","in":"query"},{"name":"endDate","description":"End date for the usage","required":true,"type":"string","in":"query"},{"name":"period","description":"Period used","required":false,"type":"string","x-example":"1h","enum":["1h","1d"],"x-enum-name":"ProjectUsageRange","x-enum-keys":["One Hour","One Day"],"default":"1d","in":"query"}]}},"\/project\/variables":{"get":{"summary":"List Variables","operationId":"projectListVariables","consumes":["application\/json"],"produces":["application\/json"],"tags":["project"],"description":"Get a list of all project variables. These variables will be accessible in all Appwrite Functions at runtime.","responses":{"200":{"description":"Variables List","schema":{"$ref":"#\/definitions\/variableList"}}},"x-appwrite":{"method":"listVariables","weight":193,"cookies":false,"type":"","deprecated":false,"demo":"project\/list-variables.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/list-variables.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}]},"post":{"summary":"Create Variable","operationId":"projectCreateVariable","consumes":["application\/json"],"produces":["application\/json"],"tags":["project"],"description":"Create a new project variable. This variable will be accessible in all Appwrite Functions at runtime.","responses":{"201":{"description":"Variable","schema":{"$ref":"#\/definitions\/variable"}}},"x-appwrite":{"method":"createVariable","weight":192,"cookies":false,"type":"","deprecated":false,"demo":"project\/create-variable.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/create-variable.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"key":{"type":"string","description":"Variable key. Max length: 255 chars.","default":null,"x-example":"<KEY>"},"value":{"type":"string","description":"Variable value. Max length: 8192 chars.","default":null,"x-example":"<VALUE>"}},"required":["key","value"]}}]}},"\/project\/variables\/{variableId}":{"get":{"summary":"Get Variable","operationId":"projectGetVariable","consumes":["application\/json"],"produces":["application\/json"],"tags":["project"],"description":"Get a project variable by its unique ID.","responses":{"200":{"description":"Variable","schema":{"$ref":"#\/definitions\/variable"}}},"x-appwrite":{"method":"getVariable","weight":194,"cookies":false,"type":"","deprecated":false,"demo":"project\/get-variable.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/get-variable.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"variableId","description":"Variable unique ID.","required":true,"type":"string","x-example":"<VARIABLE_ID>","in":"path"}]},"put":{"summary":"Update Variable","operationId":"projectUpdateVariable","consumes":["application\/json"],"produces":["application\/json"],"tags":["project"],"description":"Update project variable by its unique ID. This variable will be accessible in all Appwrite Functions at runtime.","responses":{"200":{"description":"Variable","schema":{"$ref":"#\/definitions\/variable"}}},"x-appwrite":{"method":"updateVariable","weight":195,"cookies":false,"type":"","deprecated":false,"demo":"project\/update-variable.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/update-variable.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"variableId","description":"Variable unique ID.","required":true,"type":"string","x-example":"<VARIABLE_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"key":{"type":"string","description":"Variable key. Max length: 255 chars.","default":null,"x-example":"<KEY>"},"value":{"type":"string","description":"Variable value. Max length: 8192 chars.","default":null,"x-example":"<VALUE>"}},"required":["key"]}}]},"delete":{"summary":"Delete Variable","operationId":"projectDeleteVariable","consumes":["application\/json"],"produces":[],"tags":["project"],"description":"Delete a project variable by its unique ID. ","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteVariable","weight":196,"cookies":false,"type":"","deprecated":false,"demo":"project\/delete-variable.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/delete-variable.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"variableId","description":"Variable unique ID.","required":true,"type":"string","x-example":"<VARIABLE_ID>","in":"path"}]}},"\/projects":{"get":{"summary":"List projects","operationId":"projectsList","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"200":{"description":"Projects List","schema":{"$ref":"#\/definitions\/projectList"}}},"x-appwrite":{"method":"list","weight":150,"cookies":false,"type":"","deprecated":false,"demo":"projects\/list.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, teamId","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]},"post":{"summary":"Create project","operationId":"projectsCreate","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"201":{"description":"Project","schema":{"$ref":"#\/definitions\/project"}}},"x-appwrite":{"method":"create","weight":149,"cookies":false,"type":"","deprecated":false,"demo":"projects\/create.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"projectId":{"type":"string","description":"Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, and hyphen. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":null},"name":{"type":"string","description":"Project name. Max length: 128 chars.","default":null,"x-example":"<NAME>"},"teamId":{"type":"string","description":"Team unique ID.","default":null,"x-example":"<TEAM_ID>"},"region":{"type":"string","description":"Project Region.","default":"default","x-example":"default","enum":["default","fra"],"x-enum-name":null,"x-enum-keys":[]},"description":{"type":"string","description":"Project description. Max length: 256 chars.","default":"","x-example":"<DESCRIPTION>"},"logo":{"type":"string","description":"Project logo.","default":"","x-example":"<LOGO>"},"url":{"type":"string","description":"Project URL.","default":"","x-example":"https:\/\/example.com"},"legalName":{"type":"string","description":"Project legal Name. Max length: 256 chars.","default":"","x-example":"<LEGAL_NAME>"},"legalCountry":{"type":"string","description":"Project legal Country. Max length: 256 chars.","default":"","x-example":"<LEGAL_COUNTRY>"},"legalState":{"type":"string","description":"Project legal State. Max length: 256 chars.","default":"","x-example":"<LEGAL_STATE>"},"legalCity":{"type":"string","description":"Project legal City. Max length: 256 chars.","default":"","x-example":"<LEGAL_CITY>"},"legalAddress":{"type":"string","description":"Project legal Address. Max length: 256 chars.","default":"","x-example":"<LEGAL_ADDRESS>"},"legalTaxId":{"type":"string","description":"Project legal Tax ID. Max length: 256 chars.","default":"","x-example":"<LEGAL_TAX_ID>"}},"required":["projectId","name","teamId"]}}]}},"\/projects\/{projectId}":{"get":{"summary":"Get project","operationId":"projectsGet","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"200":{"description":"Project","schema":{"$ref":"#\/definitions\/project"}}},"x-appwrite":{"method":"get","weight":151,"cookies":false,"type":"","deprecated":false,"demo":"projects\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"}]},"patch":{"summary":"Update project","operationId":"projectsUpdate","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"200":{"description":"Project","schema":{"$ref":"#\/definitions\/project"}}},"x-appwrite":{"method":"update","weight":152,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Project name. Max length: 128 chars.","default":null,"x-example":"<NAME>"},"description":{"type":"string","description":"Project description. Max length: 256 chars.","default":"","x-example":"<DESCRIPTION>"},"logo":{"type":"string","description":"Project logo.","default":"","x-example":"<LOGO>"},"url":{"type":"string","description":"Project URL.","default":"","x-example":"https:\/\/example.com"},"legalName":{"type":"string","description":"Project legal name. Max length: 256 chars.","default":"","x-example":"<LEGAL_NAME>"},"legalCountry":{"type":"string","description":"Project legal country. Max length: 256 chars.","default":"","x-example":"<LEGAL_COUNTRY>"},"legalState":{"type":"string","description":"Project legal state. Max length: 256 chars.","default":"","x-example":"<LEGAL_STATE>"},"legalCity":{"type":"string","description":"Project legal city. Max length: 256 chars.","default":"","x-example":"<LEGAL_CITY>"},"legalAddress":{"type":"string","description":"Project legal address. Max length: 256 chars.","default":"","x-example":"<LEGAL_ADDRESS>"},"legalTaxId":{"type":"string","description":"Project legal tax ID. Max length: 256 chars.","default":"","x-example":"<LEGAL_TAX_ID>"}},"required":["name"]}}]},"delete":{"summary":"Delete project","operationId":"projectsDelete","consumes":["application\/json"],"produces":[],"tags":["projects"],"description":"","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"delete","weight":166,"cookies":false,"type":"","deprecated":false,"demo":"projects\/delete.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"}]}},"\/projects\/{projectId}\/api":{"patch":{"summary":"Update API status","operationId":"projectsUpdateApiStatus","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"200":{"description":"Project","schema":{"$ref":"#\/definitions\/project"}}},"x-appwrite":{"method":"updateApiStatus","weight":156,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-api-status.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"api":{"type":"string","description":"API name.","default":null,"x-example":"rest","enum":["rest","graphql","realtime"],"x-enum-name":null,"x-enum-keys":[]},"status":{"type":"boolean","description":"API status.","default":null,"x-example":false}},"required":["api","status"]}}]}},"\/projects\/{projectId}\/api\/all":{"patch":{"summary":"Update all API status","operationId":"projectsUpdateApiStatusAll","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"200":{"description":"Project","schema":{"$ref":"#\/definitions\/project"}}},"x-appwrite":{"method":"updateApiStatusAll","weight":157,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-api-status-all.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"status":{"type":"boolean","description":"API status.","default":null,"x-example":false}},"required":["status"]}}]}},"\/projects\/{projectId}\/auth\/duration":{"patch":{"summary":"Update project authentication duration","operationId":"projectsUpdateAuthDuration","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"200":{"description":"Project","schema":{"$ref":"#\/definitions\/project"}}},"x-appwrite":{"method":"updateAuthDuration","weight":160,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-auth-duration.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"duration":{"type":"integer","description":"Project session length in seconds. Max length: 31536000 seconds.","default":null,"x-example":0}},"required":["duration"]}}]}},"\/projects\/{projectId}\/auth\/limit":{"patch":{"summary":"Update project users limit","operationId":"projectsUpdateAuthLimit","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"200":{"description":"Project","schema":{"$ref":"#\/definitions\/project"}}},"x-appwrite":{"method":"updateAuthLimit","weight":159,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-auth-limit.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"limit":{"type":"integer","description":"Set the max number of users allowed in this project. Use 0 for unlimited.","default":null,"x-example":0}},"required":["limit"]}}]}},"\/projects\/{projectId}\/auth\/max-sessions":{"patch":{"summary":"Update project user sessions limit","operationId":"projectsUpdateAuthSessionsLimit","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"200":{"description":"Project","schema":{"$ref":"#\/definitions\/project"}}},"x-appwrite":{"method":"updateAuthSessionsLimit","weight":165,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-auth-sessions-limit.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"limit":{"type":"integer","description":"Set the max number of users allowed in this project. Value allowed is between 1-100. Default is 10","default":null,"x-example":1}},"required":["limit"]}}]}},"\/projects\/{projectId}\/auth\/password-dictionary":{"patch":{"summary":"Update authentication password dictionary status. Use this endpoint to enable or disable the dicitonary check for user password","operationId":"projectsUpdateAuthPasswordDictionary","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"200":{"description":"Project","schema":{"$ref":"#\/definitions\/project"}}},"x-appwrite":{"method":"updateAuthPasswordDictionary","weight":163,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-auth-password-dictionary.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Set whether or not to enable checking user's password against most commonly used passwords. Default is false.","default":null,"x-example":false}},"required":["enabled"]}}]}},"\/projects\/{projectId}\/auth\/password-history":{"patch":{"summary":"Update authentication password history. Use this endpoint to set the number of password history to save and 0 to disable password history.","operationId":"projectsUpdateAuthPasswordHistory","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"200":{"description":"Project","schema":{"$ref":"#\/definitions\/project"}}},"x-appwrite":{"method":"updateAuthPasswordHistory","weight":162,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-auth-password-history.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"limit":{"type":"integer","description":"Set the max number of passwords to store in user history. User can't choose a new password that is already stored in the password history list. Max number of passwords allowed in history is20. Default value is 0","default":null,"x-example":0}},"required":["limit"]}}]}},"\/projects\/{projectId}\/auth\/personal-data":{"patch":{"summary":"Enable or disable checking user passwords for similarity with their personal data.","operationId":"projectsUpdatePersonalDataCheck","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"200":{"description":"Project","schema":{"$ref":"#\/definitions\/project"}}},"x-appwrite":{"method":"updatePersonalDataCheck","weight":164,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-personal-data-check.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Set whether or not to check a password for similarity with personal data. Default is false.","default":null,"x-example":false}},"required":["enabled"]}}]}},"\/projects\/{projectId}\/auth\/{method}":{"patch":{"summary":"Update project auth method status. Use this endpoint to enable or disable a given auth method for this project.","operationId":"projectsUpdateAuthStatus","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"200":{"description":"Project","schema":{"$ref":"#\/definitions\/project"}}},"x-appwrite":{"method":"updateAuthStatus","weight":161,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-auth-status.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"method","description":"Auth Method. Possible values: email-password,magic-url,email-otp,anonymous,invites,jwt,phone","required":true,"type":"string","x-example":"email-password","enum":["email-password","magic-url","email-otp","anonymous","invites","jwt","phone"],"x-enum-name":"AuthMethod","x-enum-keys":[],"in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"status":{"type":"boolean","description":"Set the status of this auth method.","default":null,"x-example":false}},"required":["status"]}}]}},"\/projects\/{projectId}\/keys":{"get":{"summary":"List keys","operationId":"projectsListKeys","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"200":{"description":"API Keys List","schema":{"$ref":"#\/definitions\/keyList"}}},"x-appwrite":{"method":"listKeys","weight":174,"cookies":false,"type":"","deprecated":false,"demo":"projects\/list-keys.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"}]},"post":{"summary":"Create key","operationId":"projectsCreateKey","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"201":{"description":"Key","schema":{"$ref":"#\/definitions\/key"}}},"x-appwrite":{"method":"createKey","weight":173,"cookies":false,"type":"","deprecated":false,"demo":"projects\/create-key.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Key name. Max length: 128 chars.","default":null,"x-example":"<NAME>"},"scopes":{"type":"array","description":"Key scopes list. Maximum of 100 scopes are allowed.","default":null,"x-example":null,"items":{"type":"string"}},"expire":{"type":"string","description":"Expiration time in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. Use null for unlimited expiration.","default":null,"x-example":null}},"required":["name","scopes"]}}]}},"\/projects\/{projectId}\/keys\/{keyId}":{"get":{"summary":"Get key","operationId":"projectsGetKey","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"200":{"description":"Key","schema":{"$ref":"#\/definitions\/key"}}},"x-appwrite":{"method":"getKey","weight":175,"cookies":false,"type":"","deprecated":false,"demo":"projects\/get-key.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"keyId","description":"Key unique ID.","required":true,"type":"string","x-example":"<KEY_ID>","in":"path"}]},"put":{"summary":"Update key","operationId":"projectsUpdateKey","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"200":{"description":"Key","schema":{"$ref":"#\/definitions\/key"}}},"x-appwrite":{"method":"updateKey","weight":176,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-key.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"keyId","description":"Key unique ID.","required":true,"type":"string","x-example":"<KEY_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Key name. Max length: 128 chars.","default":null,"x-example":"<NAME>"},"scopes":{"type":"array","description":"Key scopes list. Maximum of 100 events are allowed.","default":null,"x-example":null,"items":{"type":"string"}},"expire":{"type":"string","description":"Expiration time in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. Use null for unlimited expiration.","default":null,"x-example":null}},"required":["name","scopes"]}}]},"delete":{"summary":"Delete key","operationId":"projectsDeleteKey","consumes":["application\/json"],"produces":[],"tags":["projects"],"description":"","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteKey","weight":177,"cookies":false,"type":"","deprecated":false,"demo":"projects\/delete-key.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"keyId","description":"Key unique ID.","required":true,"type":"string","x-example":"<KEY_ID>","in":"path"}]}},"\/projects\/{projectId}\/oauth2":{"patch":{"summary":"Update project OAuth2","operationId":"projectsUpdateOAuth2","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"200":{"description":"Project","schema":{"$ref":"#\/definitions\/project"}}},"x-appwrite":{"method":"updateOAuth2","weight":158,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-o-auth2.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"provider":{"type":"string","description":"Provider Name","default":null,"x-example":"amazon","enum":["amazon","apple","auth0","authentik","autodesk","bitbucket","bitly","box","dailymotion","discord","disqus","dropbox","etsy","facebook","github","gitlab","google","linkedin","microsoft","notion","oidc","okta","paypal","paypalSandbox","podio","salesforce","slack","spotify","stripe","tradeshift","tradeshiftBox","twitch","wordpress","yahoo","yammer","yandex","zoho","zoom","mock"],"x-enum-name":"OAuthProvider","x-enum-keys":[]},"appId":{"type":"string","description":"Provider app ID. Max length: 256 chars.","default":null,"x-example":"<APP_ID>"},"secret":{"type":"string","description":"Provider secret key. Max length: 512 chars.","default":null,"x-example":"<SECRET>"},"enabled":{"type":"boolean","description":"Provider status. Set to 'false' to disable new session creation.","default":null,"x-example":false}},"required":["provider"]}}]}},"\/projects\/{projectId}\/platforms":{"get":{"summary":"List platforms","operationId":"projectsListPlatforms","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"200":{"description":"Platforms List","schema":{"$ref":"#\/definitions\/platformList"}}},"x-appwrite":{"method":"listPlatforms","weight":179,"cookies":false,"type":"","deprecated":false,"demo":"projects\/list-platforms.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"}]},"post":{"summary":"Create platform","operationId":"projectsCreatePlatform","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"201":{"description":"Platform","schema":{"$ref":"#\/definitions\/platform"}}},"x-appwrite":{"method":"createPlatform","weight":178,"cookies":false,"type":"","deprecated":false,"demo":"projects\/create-platform.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"type":{"type":"string","description":"Platform type.","default":null,"x-example":"web","enum":["web","flutter-web","flutter-ios","flutter-android","flutter-linux","flutter-macos","flutter-windows","apple-ios","apple-macos","apple-watchos","apple-tvos","android","unity"],"x-enum-name":"PlatformType","x-enum-keys":[]},"name":{"type":"string","description":"Platform name. Max length: 128 chars.","default":null,"x-example":"<NAME>"},"key":{"type":"string","description":"Package name for Android or bundle ID for iOS or macOS. Max length: 256 chars.","default":"","x-example":"<KEY>"},"store":{"type":"string","description":"App store or Google Play store ID. Max length: 256 chars.","default":"","x-example":"<STORE>"},"hostname":{"type":"string","description":"Platform client hostname. Max length: 256 chars.","default":"","x-example":null}},"required":["type","name"]}}]}},"\/projects\/{projectId}\/platforms\/{platformId}":{"get":{"summary":"Get platform","operationId":"projectsGetPlatform","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"200":{"description":"Platform","schema":{"$ref":"#\/definitions\/platform"}}},"x-appwrite":{"method":"getPlatform","weight":180,"cookies":false,"type":"","deprecated":false,"demo":"projects\/get-platform.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"platformId","description":"Platform unique ID.","required":true,"type":"string","x-example":"<PLATFORM_ID>","in":"path"}]},"put":{"summary":"Update platform","operationId":"projectsUpdatePlatform","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"200":{"description":"Platform","schema":{"$ref":"#\/definitions\/platform"}}},"x-appwrite":{"method":"updatePlatform","weight":181,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-platform.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"platformId","description":"Platform unique ID.","required":true,"type":"string","x-example":"<PLATFORM_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Platform name. Max length: 128 chars.","default":null,"x-example":"<NAME>"},"key":{"type":"string","description":"Package name for android or bundle ID for iOS. Max length: 256 chars.","default":"","x-example":"<KEY>"},"store":{"type":"string","description":"App store or Google Play store ID. Max length: 256 chars.","default":"","x-example":"<STORE>"},"hostname":{"type":"string","description":"Platform client URL. Max length: 256 chars.","default":"","x-example":null}},"required":["name"]}}]},"delete":{"summary":"Delete platform","operationId":"projectsDeletePlatform","consumes":["application\/json"],"produces":[],"tags":["projects"],"description":"","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deletePlatform","weight":182,"cookies":false,"type":"","deprecated":false,"demo":"projects\/delete-platform.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"platformId","description":"Platform unique ID.","required":true,"type":"string","x-example":"<PLATFORM_ID>","in":"path"}]}},"\/projects\/{projectId}\/service":{"patch":{"summary":"Update service status","operationId":"projectsUpdateServiceStatus","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"200":{"description":"Project","schema":{"$ref":"#\/definitions\/project"}}},"x-appwrite":{"method":"updateServiceStatus","weight":154,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-service-status.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"service":{"type":"string","description":"Service name.","default":null,"x-example":"account","enum":["account","avatars","databases","locale","health","storage","teams","users","functions","graphql","messaging"],"x-enum-name":"ApiService","x-enum-keys":[]},"status":{"type":"boolean","description":"Service status.","default":null,"x-example":false}},"required":["service","status"]}}]}},"\/projects\/{projectId}\/service\/all":{"patch":{"summary":"Update all service status","operationId":"projectsUpdateServiceStatusAll","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"200":{"description":"Project","schema":{"$ref":"#\/definitions\/project"}}},"x-appwrite":{"method":"updateServiceStatusAll","weight":155,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-service-status-all.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"status":{"type":"boolean","description":"Service status.","default":null,"x-example":false}},"required":["status"]}}]}},"\/projects\/{projectId}\/smtp":{"patch":{"summary":"Update SMTP","operationId":"projectsUpdateSmtp","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"200":{"description":"Project","schema":{"$ref":"#\/definitions\/project"}}},"x-appwrite":{"method":"updateSmtp","weight":183,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-smtp.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Enable custom SMTP service","default":null,"x-example":false},"senderName":{"type":"string","description":"Name of the email sender","default":"","x-example":"<SENDER_NAME>"},"senderEmail":{"type":"string","description":"Email of the sender","default":"","x-example":"email@example.com"},"replyTo":{"type":"string","description":"Reply to email","default":"","x-example":"email@example.com"},"host":{"type":"string","description":"SMTP server host name","default":"","x-example":null},"port":{"type":"integer","description":"SMTP server port","default":587,"x-example":null},"username":{"type":"string","description":"SMTP server username","default":"","x-example":"<USERNAME>"},"password":{"type":"string","description":"SMTP server password","default":"","x-example":"<PASSWORD>"},"secure":{"type":"string","description":"Does SMTP server use secure connection","default":"","x-example":"tls","enum":["tls","ssl"],"x-enum-name":"SMTPSecure","x-enum-keys":[]}},"required":["enabled"]}}]}},"\/projects\/{projectId}\/smtp\/tests":{"post":{"summary":"Create SMTP test","operationId":"projectsCreateSmtpTest","consumes":["application\/json"],"produces":[],"tags":["projects"],"description":"","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"createSmtpTest","weight":184,"cookies":false,"type":"","deprecated":false,"demo":"projects\/create-smtp-test.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"emails":{"type":"array","description":"Array of emails to send test email to. Maximum of 10 emails are allowed.","default":null,"x-example":null,"items":{"type":"string"}},"senderName":{"type":"string","description":"Name of the email sender","default":null,"x-example":"<SENDER_NAME>"},"senderEmail":{"type":"string","description":"Email of the sender","default":null,"x-example":"email@example.com"},"replyTo":{"type":"string","description":"Reply to email","default":"","x-example":"email@example.com"},"host":{"type":"string","description":"SMTP server host name","default":null,"x-example":null},"port":{"type":"integer","description":"SMTP server port","default":587,"x-example":null},"username":{"type":"string","description":"SMTP server username","default":"","x-example":"<USERNAME>"},"password":{"type":"string","description":"SMTP server password","default":"","x-example":"<PASSWORD>"},"secure":{"type":"string","description":"Does SMTP server use secure connection","default":"","x-example":"tls","enum":["tls"],"x-enum-name":"SMTPSecure","x-enum-keys":[]}},"required":["emails","senderName","senderEmail","host"]}}]}},"\/projects\/{projectId}\/team":{"patch":{"summary":"Update Project Team","operationId":"projectsUpdateTeam","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"200":{"description":"Project","schema":{"$ref":"#\/definitions\/project"}}},"x-appwrite":{"method":"updateTeam","weight":153,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-team.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"teamId":{"type":"string","description":"Team ID of the team to transfer project to.","default":null,"x-example":"<TEAM_ID>"}},"required":["teamId"]}}]}},"\/projects\/{projectId}\/templates\/email\/{type}\/{locale}":{"get":{"summary":"Get custom email template","operationId":"projectsGetEmailTemplate","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"200":{"description":"EmailTemplate","schema":{"$ref":"#\/definitions\/emailTemplate"}}},"x-appwrite":{"method":"getEmailTemplate","weight":186,"cookies":false,"type":"","deprecated":false,"demo":"projects\/get-email-template.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"type","description":"Template type","required":true,"type":"string","x-example":"verification","enum":["verification","magicsession","recovery","invitation","mfachallenge"],"x-enum-name":"EmailTemplateType","x-enum-keys":[],"in":"path"},{"name":"locale","description":"Template locale","required":true,"type":"string","x-example":"af","enum":["af","ar-ae","ar-bh","ar-dz","ar-eg","ar-iq","ar-jo","ar-kw","ar-lb","ar-ly","ar-ma","ar-om","ar-qa","ar-sa","ar-sy","ar-tn","ar-ye","as","az","be","bg","bh","bn","bs","ca","cs","cy","da","de","de-at","de-ch","de-li","de-lu","el","en","en-au","en-bz","en-ca","en-gb","en-ie","en-jm","en-nz","en-tt","en-us","en-za","eo","es","es-ar","es-bo","es-cl","es-co","es-cr","es-do","es-ec","es-gt","es-hn","es-mx","es-ni","es-pa","es-pe","es-pr","es-py","es-sv","es-uy","es-ve","et","eu","fa","fi","fo","fr","fr-be","fr-ca","fr-ch","fr-lu","ga","gd","he","hi","hr","hu","id","is","it","it-ch","ja","ji","ko","ku","lt","lv","mk","ml","ms","mt","nb","ne","nl","nl-be","nn","no","pa","pl","pt","pt-br","rm","ro","ro-md","ru","ru-md","sb","sk","sl","sq","sr","sv","sv-fi","th","tn","tr","ts","ua","ur","ve","vi","xh","zh-cn","zh-hk","zh-sg","zh-tw","zu"],"x-enum-name":"EmailTemplateLocale","x-enum-keys":[],"in":"path"}]},"patch":{"summary":"Update custom email templates","operationId":"projectsUpdateEmailTemplate","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"200":{"description":"Project","schema":{"$ref":"#\/definitions\/project"}}},"x-appwrite":{"method":"updateEmailTemplate","weight":188,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-email-template.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"type","description":"Template type","required":true,"type":"string","x-example":"verification","enum":["verification","magicsession","recovery","invitation","mfachallenge"],"x-enum-name":"EmailTemplateType","x-enum-keys":[],"in":"path"},{"name":"locale","description":"Template locale","required":true,"type":"string","x-example":"af","enum":["af","ar-ae","ar-bh","ar-dz","ar-eg","ar-iq","ar-jo","ar-kw","ar-lb","ar-ly","ar-ma","ar-om","ar-qa","ar-sa","ar-sy","ar-tn","ar-ye","as","az","be","bg","bh","bn","bs","ca","cs","cy","da","de","de-at","de-ch","de-li","de-lu","el","en","en-au","en-bz","en-ca","en-gb","en-ie","en-jm","en-nz","en-tt","en-us","en-za","eo","es","es-ar","es-bo","es-cl","es-co","es-cr","es-do","es-ec","es-gt","es-hn","es-mx","es-ni","es-pa","es-pe","es-pr","es-py","es-sv","es-uy","es-ve","et","eu","fa","fi","fo","fr","fr-be","fr-ca","fr-ch","fr-lu","ga","gd","he","hi","hr","hu","id","is","it","it-ch","ja","ji","ko","ku","lt","lv","mk","ml","ms","mt","nb","ne","nl","nl-be","nn","no","pa","pl","pt","pt-br","rm","ro","ro-md","ru","ru-md","sb","sk","sl","sq","sr","sv","sv-fi","th","tn","tr","ts","ua","ur","ve","vi","xh","zh-cn","zh-hk","zh-sg","zh-tw","zu"],"x-enum-name":"EmailTemplateLocale","x-enum-keys":[],"in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"subject":{"type":"string","description":"Email Subject","default":null,"x-example":"<SUBJECT>"},"message":{"type":"string","description":"Template message","default":null,"x-example":"<MESSAGE>"},"senderName":{"type":"string","description":"Name of the email sender","default":"","x-example":"<SENDER_NAME>"},"senderEmail":{"type":"string","description":"Email of the sender","default":"","x-example":"email@example.com"},"replyTo":{"type":"string","description":"Reply to email","default":"","x-example":"email@example.com"}},"required":["subject","message"]}}]},"delete":{"summary":"Reset custom email template","operationId":"projectsDeleteEmailTemplate","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"200":{"description":"EmailTemplate","schema":{"$ref":"#\/definitions\/emailTemplate"}}},"x-appwrite":{"method":"deleteEmailTemplate","weight":190,"cookies":false,"type":"","deprecated":false,"demo":"projects\/delete-email-template.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"type","description":"Template type","required":true,"type":"string","x-example":"verification","enum":["verification","magicsession","recovery","invitation","mfachallenge"],"x-enum-name":"EmailTemplateType","x-enum-keys":[],"in":"path"},{"name":"locale","description":"Template locale","required":true,"type":"string","x-example":"af","enum":["af","ar-ae","ar-bh","ar-dz","ar-eg","ar-iq","ar-jo","ar-kw","ar-lb","ar-ly","ar-ma","ar-om","ar-qa","ar-sa","ar-sy","ar-tn","ar-ye","as","az","be","bg","bh","bn","bs","ca","cs","cy","da","de","de-at","de-ch","de-li","de-lu","el","en","en-au","en-bz","en-ca","en-gb","en-ie","en-jm","en-nz","en-tt","en-us","en-za","eo","es","es-ar","es-bo","es-cl","es-co","es-cr","es-do","es-ec","es-gt","es-hn","es-mx","es-ni","es-pa","es-pe","es-pr","es-py","es-sv","es-uy","es-ve","et","eu","fa","fi","fo","fr","fr-be","fr-ca","fr-ch","fr-lu","ga","gd","he","hi","hr","hu","id","is","it","it-ch","ja","ji","ko","ku","lt","lv","mk","ml","ms","mt","nb","ne","nl","nl-be","nn","no","pa","pl","pt","pt-br","rm","ro","ro-md","ru","ru-md","sb","sk","sl","sq","sr","sv","sv-fi","th","tn","tr","ts","ua","ur","ve","vi","xh","zh-cn","zh-hk","zh-sg","zh-tw","zu"],"x-enum-name":"EmailTemplateLocale","x-enum-keys":[],"in":"path"}]}},"\/projects\/{projectId}\/templates\/sms\/{type}\/{locale}":{"get":{"summary":"Get custom SMS template","operationId":"projectsGetSmsTemplate","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"200":{"description":"SmsTemplate","schema":{"$ref":"#\/definitions\/smsTemplate"}}},"x-appwrite":{"method":"getSmsTemplate","weight":185,"cookies":false,"type":"","deprecated":false,"demo":"projects\/get-sms-template.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"type","description":"Template type","required":true,"type":"string","x-example":"verification","enum":["verification","login","invitation","mfachallenge"],"x-enum-name":"SmsTemplateType","x-enum-keys":[],"in":"path"},{"name":"locale","description":"Template locale","required":true,"type":"string","x-example":"af","enum":["af","ar-ae","ar-bh","ar-dz","ar-eg","ar-iq","ar-jo","ar-kw","ar-lb","ar-ly","ar-ma","ar-om","ar-qa","ar-sa","ar-sy","ar-tn","ar-ye","as","az","be","bg","bh","bn","bs","ca","cs","cy","da","de","de-at","de-ch","de-li","de-lu","el","en","en-au","en-bz","en-ca","en-gb","en-ie","en-jm","en-nz","en-tt","en-us","en-za","eo","es","es-ar","es-bo","es-cl","es-co","es-cr","es-do","es-ec","es-gt","es-hn","es-mx","es-ni","es-pa","es-pe","es-pr","es-py","es-sv","es-uy","es-ve","et","eu","fa","fi","fo","fr","fr-be","fr-ca","fr-ch","fr-lu","ga","gd","he","hi","hr","hu","id","is","it","it-ch","ja","ji","ko","ku","lt","lv","mk","ml","ms","mt","nb","ne","nl","nl-be","nn","no","pa","pl","pt","pt-br","rm","ro","ro-md","ru","ru-md","sb","sk","sl","sq","sr","sv","sv-fi","th","tn","tr","ts","ua","ur","ve","vi","xh","zh-cn","zh-hk","zh-sg","zh-tw","zu"],"x-enum-name":"SmsTemplateLocale","x-enum-keys":[],"in":"path"}]},"patch":{"summary":"Update custom SMS template","operationId":"projectsUpdateSmsTemplate","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"200":{"description":"SmsTemplate","schema":{"$ref":"#\/definitions\/smsTemplate"}}},"x-appwrite":{"method":"updateSmsTemplate","weight":187,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-sms-template.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"type","description":"Template type","required":true,"type":"string","x-example":"verification","enum":["verification","login","invitation","mfachallenge"],"x-enum-name":"SmsTemplateType","x-enum-keys":[],"in":"path"},{"name":"locale","description":"Template locale","required":true,"type":"string","x-example":"af","enum":["af","ar-ae","ar-bh","ar-dz","ar-eg","ar-iq","ar-jo","ar-kw","ar-lb","ar-ly","ar-ma","ar-om","ar-qa","ar-sa","ar-sy","ar-tn","ar-ye","as","az","be","bg","bh","bn","bs","ca","cs","cy","da","de","de-at","de-ch","de-li","de-lu","el","en","en-au","en-bz","en-ca","en-gb","en-ie","en-jm","en-nz","en-tt","en-us","en-za","eo","es","es-ar","es-bo","es-cl","es-co","es-cr","es-do","es-ec","es-gt","es-hn","es-mx","es-ni","es-pa","es-pe","es-pr","es-py","es-sv","es-uy","es-ve","et","eu","fa","fi","fo","fr","fr-be","fr-ca","fr-ch","fr-lu","ga","gd","he","hi","hr","hu","id","is","it","it-ch","ja","ji","ko","ku","lt","lv","mk","ml","ms","mt","nb","ne","nl","nl-be","nn","no","pa","pl","pt","pt-br","rm","ro","ro-md","ru","ru-md","sb","sk","sl","sq","sr","sv","sv-fi","th","tn","tr","ts","ua","ur","ve","vi","xh","zh-cn","zh-hk","zh-sg","zh-tw","zu"],"x-enum-name":"SmsTemplateLocale","x-enum-keys":[],"in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"message":{"type":"string","description":"Template message","default":null,"x-example":"<MESSAGE>"}},"required":["message"]}}]},"delete":{"summary":"Reset custom SMS template","operationId":"projectsDeleteSmsTemplate","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"200":{"description":"SmsTemplate","schema":{"$ref":"#\/definitions\/smsTemplate"}}},"x-appwrite":{"method":"deleteSmsTemplate","weight":189,"cookies":false,"type":"","deprecated":false,"demo":"projects\/delete-sms-template.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"type","description":"Template type","required":true,"type":"string","x-example":"verification","enum":["verification","login","invitation","mfachallenge"],"x-enum-name":"SmsTemplateType","x-enum-keys":[],"in":"path"},{"name":"locale","description":"Template locale","required":true,"type":"string","x-example":"af","enum":["af","ar-ae","ar-bh","ar-dz","ar-eg","ar-iq","ar-jo","ar-kw","ar-lb","ar-ly","ar-ma","ar-om","ar-qa","ar-sa","ar-sy","ar-tn","ar-ye","as","az","be","bg","bh","bn","bs","ca","cs","cy","da","de","de-at","de-ch","de-li","de-lu","el","en","en-au","en-bz","en-ca","en-gb","en-ie","en-jm","en-nz","en-tt","en-us","en-za","eo","es","es-ar","es-bo","es-cl","es-co","es-cr","es-do","es-ec","es-gt","es-hn","es-mx","es-ni","es-pa","es-pe","es-pr","es-py","es-sv","es-uy","es-ve","et","eu","fa","fi","fo","fr","fr-be","fr-ca","fr-ch","fr-lu","ga","gd","he","hi","hr","hu","id","is","it","it-ch","ja","ji","ko","ku","lt","lv","mk","ml","ms","mt","nb","ne","nl","nl-be","nn","no","pa","pl","pt","pt-br","rm","ro","ro-md","ru","ru-md","sb","sk","sl","sq","sr","sv","sv-fi","th","tn","tr","ts","ua","ur","ve","vi","xh","zh-cn","zh-hk","zh-sg","zh-tw","zu"],"x-enum-name":"SmsTemplateLocale","x-enum-keys":[],"in":"path"}]}},"\/projects\/{projectId}\/webhooks":{"get":{"summary":"List webhooks","operationId":"projectsListWebhooks","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"200":{"description":"Webhooks List","schema":{"$ref":"#\/definitions\/webhookList"}}},"x-appwrite":{"method":"listWebhooks","weight":168,"cookies":false,"type":"","deprecated":false,"demo":"projects\/list-webhooks.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"}]},"post":{"summary":"Create webhook","operationId":"projectsCreateWebhook","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"201":{"description":"Webhook","schema":{"$ref":"#\/definitions\/webhook"}}},"x-appwrite":{"method":"createWebhook","weight":167,"cookies":false,"type":"","deprecated":false,"demo":"projects\/create-webhook.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Webhook name. Max length: 128 chars.","default":null,"x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Enable or disable a webhook.","default":true,"x-example":false},"events":{"type":"array","description":"Events list. Maximum of 100 events are allowed.","default":null,"x-example":null,"items":{"type":"string"}},"url":{"type":"string","description":"Webhook URL.","default":null,"x-example":null},"security":{"type":"boolean","description":"Certificate verification, false for disabled or true for enabled.","default":null,"x-example":false},"httpUser":{"type":"string","description":"Webhook HTTP user. Max length: 256 chars.","default":"","x-example":"<HTTP_USER>"},"httpPass":{"type":"string","description":"Webhook HTTP password. Max length: 256 chars.","default":"","x-example":"<HTTP_PASS>"}},"required":["name","events","url","security"]}}]}},"\/projects\/{projectId}\/webhooks\/{webhookId}":{"get":{"summary":"Get webhook","operationId":"projectsGetWebhook","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"200":{"description":"Webhook","schema":{"$ref":"#\/definitions\/webhook"}}},"x-appwrite":{"method":"getWebhook","weight":169,"cookies":false,"type":"","deprecated":false,"demo":"projects\/get-webhook.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"webhookId","description":"Webhook unique ID.","required":true,"type":"string","x-example":"<WEBHOOK_ID>","in":"path"}]},"put":{"summary":"Update webhook","operationId":"projectsUpdateWebhook","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"200":{"description":"Webhook","schema":{"$ref":"#\/definitions\/webhook"}}},"x-appwrite":{"method":"updateWebhook","weight":170,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-webhook.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"webhookId","description":"Webhook unique ID.","required":true,"type":"string","x-example":"<WEBHOOK_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Webhook name. Max length: 128 chars.","default":null,"x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Enable or disable a webhook.","default":true,"x-example":false},"events":{"type":"array","description":"Events list. Maximum of 100 events are allowed.","default":null,"x-example":null,"items":{"type":"string"}},"url":{"type":"string","description":"Webhook URL.","default":null,"x-example":null},"security":{"type":"boolean","description":"Certificate verification, false for disabled or true for enabled.","default":null,"x-example":false},"httpUser":{"type":"string","description":"Webhook HTTP user. Max length: 256 chars.","default":"","x-example":"<HTTP_USER>"},"httpPass":{"type":"string","description":"Webhook HTTP password. Max length: 256 chars.","default":"","x-example":"<HTTP_PASS>"}},"required":["name","events","url","security"]}}]},"delete":{"summary":"Delete webhook","operationId":"projectsDeleteWebhook","consumes":["application\/json"],"produces":[],"tags":["projects"],"description":"","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteWebhook","weight":172,"cookies":false,"type":"","deprecated":false,"demo":"projects\/delete-webhook.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"webhookId","description":"Webhook unique ID.","required":true,"type":"string","x-example":"<WEBHOOK_ID>","in":"path"}]}},"\/projects\/{projectId}\/webhooks\/{webhookId}\/signature":{"patch":{"summary":"Update webhook signature key","operationId":"projectsUpdateWebhookSignature","consumes":["application\/json"],"produces":["application\/json"],"tags":["projects"],"description":"","responses":{"200":{"description":"Webhook","schema":{"$ref":"#\/definitions\/webhook"}}},"x-appwrite":{"method":"updateWebhookSignature","weight":171,"cookies":false,"type":"","deprecated":false,"demo":"projects\/update-webhook-signature.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"projects.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"projectId","description":"Project unique ID.","required":true,"type":"string","x-example":"<PROJECT_ID>","in":"path"},{"name":"webhookId","description":"Webhook unique ID.","required":true,"type":"string","x-example":"<WEBHOOK_ID>","in":"path"}]}},"\/proxy\/rules":{"get":{"summary":"List Rules","operationId":"proxyListRules","consumes":["application\/json"],"produces":["application\/json"],"tags":["proxy"],"description":"Get a list of all the proxy rules. You can use the query params to filter your results.","responses":{"200":{"description":"Rule List","schema":{"$ref":"#\/definitions\/proxyRuleList"}}},"x-appwrite":{"method":"listRules","weight":305,"cookies":false,"type":"","deprecated":false,"demo":"proxy\/list-rules.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/proxy\/list-rules.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"rules.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/databases#querying-documents). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: domain, resourceType, resourceId, url","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]},"post":{"summary":"Create Rule","operationId":"proxyCreateRule","consumes":["application\/json"],"produces":["application\/json"],"tags":["proxy"],"description":"Create a new proxy rule.","responses":{"201":{"description":"Rule","schema":{"$ref":"#\/definitions\/proxyRule"}}},"x-appwrite":{"method":"createRule","weight":304,"cookies":false,"type":"","deprecated":false,"demo":"proxy\/create-rule.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/proxy\/create-rule.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"rules.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"domain":{"type":"string","description":"Domain name.","default":null,"x-example":null},"resourceType":{"type":"string","description":"Action definition for the rule. Possible values are \"api\", \"function\"","default":null,"x-example":"api","enum":["api","function"],"x-enum-name":null,"x-enum-keys":[]},"resourceId":{"type":"string","description":"ID of resource for the action type. If resourceType is \"api\", leave empty. If resourceType is \"function\", provide ID of the function.","default":"","x-example":"<RESOURCE_ID>"}},"required":["domain","resourceType"]}}]}},"\/proxy\/rules\/{ruleId}":{"get":{"summary":"Get Rule","operationId":"proxyGetRule","consumes":["application\/json"],"produces":["application\/json"],"tags":["proxy"],"description":"Get a proxy rule by its unique ID.","responses":{"200":{"description":"Rule","schema":{"$ref":"#\/definitions\/proxyRule"}}},"x-appwrite":{"method":"getRule","weight":306,"cookies":false,"type":"","deprecated":false,"demo":"proxy\/get-rule.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/proxy\/get-rule.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"rules.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"ruleId","description":"Rule ID.","required":true,"type":"string","x-example":"<RULE_ID>","in":"path"}]},"delete":{"summary":"Delete Rule","operationId":"proxyDeleteRule","consumes":["application\/json"],"produces":[],"tags":["proxy"],"description":"Delete a proxy rule by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteRule","weight":307,"cookies":false,"type":"","deprecated":false,"demo":"proxy\/delete-rule.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/proxy\/delete-rule.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"rules.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"ruleId","description":"Rule ID.","required":true,"type":"string","x-example":"<RULE_ID>","in":"path"}]}},"\/proxy\/rules\/{ruleId}\/verification":{"patch":{"summary":"Update Rule Verification Status","operationId":"proxyUpdateRuleVerification","consumes":["application\/json"],"produces":["application\/json"],"tags":["proxy"],"description":"","responses":{"200":{"description":"Rule","schema":{"$ref":"#\/definitions\/proxyRule"}}},"x-appwrite":{"method":"updateRuleVerification","weight":308,"cookies":false,"type":"","deprecated":false,"demo":"proxy\/update-rule-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"rules.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"ruleId","description":"Rule ID.","required":true,"type":"string","x-example":"<RULE_ID>","in":"path"}]}},"\/storage\/buckets":{"get":{"summary":"List buckets","operationId":"storageListBuckets","consumes":["application\/json"],"produces":["application\/json"],"tags":["storage"],"description":"Get a list of all the storage buckets. You can use the query params to filter your results.","responses":{"200":{"description":"Buckets List","schema":{"$ref":"#\/definitions\/bucketList"}}},"x-appwrite":{"method":"listBuckets","weight":198,"cookies":false,"type":"","deprecated":false,"demo":"storage\/list-buckets.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-buckets.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"buckets.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: enabled, name, fileSecurity, maximumFileSize, encryption, antivirus","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]},"post":{"summary":"Create bucket","operationId":"storageCreateBucket","consumes":["application\/json"],"produces":["application\/json"],"tags":["storage"],"description":"Create a new storage bucket.","responses":{"201":{"description":"Bucket","schema":{"$ref":"#\/definitions\/bucket"}}},"x-appwrite":{"method":"createBucket","weight":197,"cookies":false,"type":"","deprecated":false,"demo":"storage\/create-bucket.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-bucket.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"buckets.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"bucketId":{"type":"string","description":"Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<BUCKET_ID>"},"name":{"type":"string","description":"Bucket name","default":null,"x-example":"<NAME>"},"permissions":{"type":"array","description":"An array of permission strings. By default, no user is granted with any permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","default":null,"x-example":"[\"read(\"any\")\"]","items":{"type":"string"}},"fileSecurity":{"type":"boolean","description":"Enables configuring permissions for individual file. A user needs one of file or bucket level permissions to access a file. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","default":false,"x-example":false},"enabled":{"type":"boolean","description":"Is bucket enabled? When set to 'disabled', users cannot access the files in this bucket but Server SDKs with and API key can still access the bucket. No files are lost when this is toggled.","default":true,"x-example":false},"maximumFileSize":{"type":"integer","description":"Maximum file size allowed in bytes. Maximum allowed value is 30MB.","default":{},"x-example":1},"allowedFileExtensions":{"type":"array","description":"Allowed file extensions. Maximum of 100 extensions are allowed, each 64 characters long.","default":[],"x-example":null,"items":{"type":"string"}},"compression":{"type":"string","description":"Compression algorithm choosen for compression. Can be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd), For file size above 20MB compression is skipped even if it's enabled","default":"none","x-example":"none","enum":["none","gzip","zstd"],"x-enum-name":null,"x-enum-keys":[]},"encryption":{"type":"boolean","description":"Is encryption enabled? For file size above 20MB encryption is skipped even if it's enabled","default":true,"x-example":false},"antivirus":{"type":"boolean","description":"Is virus scanning enabled? For file size above 20MB AntiVirus scanning is skipped even if it's enabled","default":true,"x-example":false}},"required":["bucketId","name"]}}]}},"\/storage\/buckets\/{bucketId}":{"get":{"summary":"Get bucket","operationId":"storageGetBucket","consumes":["application\/json"],"produces":["application\/json"],"tags":["storage"],"description":"Get a storage bucket by its unique ID. This endpoint response returns a JSON object with the storage bucket metadata.","responses":{"200":{"description":"Bucket","schema":{"$ref":"#\/definitions\/bucket"}}},"x-appwrite":{"method":"getBucket","weight":199,"cookies":false,"type":"","deprecated":false,"demo":"storage\/get-bucket.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-bucket.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"buckets.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"bucketId","description":"Bucket unique ID.","required":true,"type":"string","x-example":"<BUCKET_ID>","in":"path"}]},"put":{"summary":"Update bucket","operationId":"storageUpdateBucket","consumes":["application\/json"],"produces":["application\/json"],"tags":["storage"],"description":"Update a storage bucket by its unique ID.","responses":{"200":{"description":"Bucket","schema":{"$ref":"#\/definitions\/bucket"}}},"x-appwrite":{"method":"updateBucket","weight":200,"cookies":false,"type":"","deprecated":false,"demo":"storage\/update-bucket.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-bucket.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"buckets.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"bucketId","description":"Bucket unique ID.","required":true,"type":"string","x-example":"<BUCKET_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Bucket name","default":null,"x-example":"<NAME>"},"permissions":{"type":"array","description":"An array of permission strings. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","default":null,"x-example":"[\"read(\"any\")\"]","items":{"type":"string"}},"fileSecurity":{"type":"boolean","description":"Enables configuring permissions for individual file. A user needs one of file or bucket level permissions to access a file. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","default":false,"x-example":false},"enabled":{"type":"boolean","description":"Is bucket enabled? When set to 'disabled', users cannot access the files in this bucket but Server SDKs with and API key can still access the bucket. No files are lost when this is toggled.","default":true,"x-example":false},"maximumFileSize":{"type":"integer","description":"Maximum file size allowed in bytes. Maximum allowed value is 30MB.","default":{},"x-example":1},"allowedFileExtensions":{"type":"array","description":"Allowed file extensions. Maximum of 100 extensions are allowed, each 64 characters long.","default":[],"x-example":null,"items":{"type":"string"}},"compression":{"type":"string","description":"Compression algorithm choosen for compression. Can be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd), For file size above 20MB compression is skipped even if it's enabled","default":"none","x-example":"none","enum":["none","gzip","zstd"],"x-enum-name":null,"x-enum-keys":[]},"encryption":{"type":"boolean","description":"Is encryption enabled? For file size above 20MB encryption is skipped even if it's enabled","default":true,"x-example":false},"antivirus":{"type":"boolean","description":"Is virus scanning enabled? For file size above 20MB AntiVirus scanning is skipped even if it's enabled","default":true,"x-example":false}},"required":["name"]}}]},"delete":{"summary":"Delete bucket","operationId":"storageDeleteBucket","consumes":["application\/json"],"produces":[],"tags":["storage"],"description":"Delete a storage bucket by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteBucket","weight":201,"cookies":false,"type":"","deprecated":false,"demo":"storage\/delete-bucket.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-bucket.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"buckets.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"bucketId","description":"Bucket unique ID.","required":true,"type":"string","x-example":"<BUCKET_ID>","in":"path"}]}},"\/storage\/buckets\/{bucketId}\/files":{"get":{"summary":"List files","operationId":"storageListFiles","consumes":["application\/json"],"produces":["application\/json"],"tags":["storage"],"description":"Get a list of all the user files. You can use the query params to filter your results.","responses":{"200":{"description":"Files List","schema":{"$ref":"#\/definitions\/fileList"}}},"x-appwrite":{"method":"listFiles","weight":203,"cookies":false,"type":"","deprecated":false,"demo":"storage\/list-files.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-files.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"type":"string","x-example":"<BUCKET_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, signature, mimeType, sizeOriginal, chunksTotal, chunksUploaded","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]},"post":{"summary":"Create file","operationId":"storageCreateFile","consumes":["multipart\/form-data"],"produces":["application\/json"],"tags":["storage"],"description":"Create a new file. Before using this route, you should create a new bucket resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/storage#storageCreateBucket) API or directly from your Appwrite console.\n\nLarger files should be uploaded using multiple requests with the [content-range](https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTTP\/Headers\/Content-Range) header to send a partial request with a maximum supported chunk of `5MB`. The `content-range` header values should always be in bytes.\n\nWhen the first request is sent, the server will return the **File** object, and the subsequent part request must include the file's **id** in `x-appwrite-id` header to allow the server to know that the partial upload is for the existing file and not for a new one.\n\nIf you're creating a new file using one of the Appwrite SDKs, all the chunking logic will be managed by the SDK internally.\n","responses":{"201":{"description":"File","schema":{"$ref":"#\/definitions\/file"}}},"x-appwrite":{"method":"createFile","weight":202,"cookies":false,"type":"upload","deprecated":false,"demo":"storage\/create-file.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-file.md","rate-limit":60,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId},chunkId:{chunkId}","scope":"files.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"type":"string","x-example":"<BUCKET_ID>","in":"path"},{"name":"fileId","description":"File ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","required":true,"x-upload-id":true,"type":"string","x-example":"<FILE_ID>","in":"formData"},{"name":"file","description":"Binary file. Appwrite SDKs provide helpers to handle file input. [Learn about file input](https:\/\/appwrite.io\/docs\/products\/storage\/upload-download#input-file).","required":true,"type":"file","in":"formData"},{"name":"permissions","description":"An array of permission strings. By default, only the current user is granted all permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"x-example":"[\"read(\"any\")\"]","in":"formData"}]}},"\/storage\/buckets\/{bucketId}\/files\/{fileId}":{"get":{"summary":"Get file","operationId":"storageGetFile","consumes":["application\/json"],"produces":["application\/json"],"tags":["storage"],"description":"Get a file by its unique ID. This endpoint response returns a JSON object with the file metadata.","responses":{"200":{"description":"File","schema":{"$ref":"#\/definitions\/file"}}},"x-appwrite":{"method":"getFile","weight":204,"cookies":false,"type":"","deprecated":false,"demo":"storage\/get-file.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"type":"string","x-example":"<BUCKET_ID>","in":"path"},{"name":"fileId","description":"File ID.","required":true,"type":"string","x-example":"<FILE_ID>","in":"path"}]},"put":{"summary":"Update file","operationId":"storageUpdateFile","consumes":["application\/json"],"produces":["application\/json"],"tags":["storage"],"description":"Update a file by its unique ID. Only users with write permissions have access to update this resource.","responses":{"200":{"description":"File","schema":{"$ref":"#\/definitions\/file"}}},"x-appwrite":{"method":"updateFile","weight":209,"cookies":false,"type":"","deprecated":false,"demo":"storage\/update-file.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-file.md","rate-limit":60,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId}","scope":"files.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"type":"string","x-example":"<BUCKET_ID>","in":"path"},{"name":"fileId","description":"File unique ID.","required":true,"type":"string","x-example":"<FILE_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Name of the file","default":null,"x-example":"<NAME>"},"permissions":{"type":"array","description":"An array of permission string. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","default":null,"x-example":"[\"read(\"any\")\"]","items":{"type":"string"}}}}}]},"delete":{"summary":"Delete File","operationId":"storageDeleteFile","consumes":["application\/json"],"produces":[],"tags":["storage"],"description":"Delete a file by its unique ID. Only users with write permissions have access to delete this resource.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteFile","weight":210,"cookies":false,"type":"","deprecated":false,"demo":"storage\/delete-file.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-file.md","rate-limit":60,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId}","scope":"files.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"type":"string","x-example":"<BUCKET_ID>","in":"path"},{"name":"fileId","description":"File ID.","required":true,"type":"string","x-example":"<FILE_ID>","in":"path"}]}},"\/storage\/buckets\/{bucketId}\/files\/{fileId}\/download":{"get":{"summary":"Get file for download","operationId":"storageGetFileDownload","consumes":["application\/json"],"produces":["*\/*"],"tags":["storage"],"description":"Get a file content by its unique ID. The endpoint response return with a 'Content-Disposition: attachment' header that tells the browser to start downloading the file to user downloads directory.","responses":{"200":{"description":"File","schema":{"type":"file"}}},"x-appwrite":{"method":"getFileDownload","weight":206,"cookies":false,"type":"location","deprecated":false,"demo":"storage\/get-file-download.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-download.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"type":"string","x-example":"<BUCKET_ID>","in":"path"},{"name":"fileId","description":"File ID.","required":true,"type":"string","x-example":"<FILE_ID>","in":"path"}]}},"\/storage\/buckets\/{bucketId}\/files\/{fileId}\/preview":{"get":{"summary":"Get file preview","operationId":"storageGetFilePreview","consumes":["application\/json"],"produces":["image\/*"],"tags":["storage"],"description":"Get a file preview image. Currently, this method supports preview for image files (jpg, png, and gif), other supported formats, like pdf, docs, slides, and spreadsheets, will return the file icon image. You can also pass query string arguments for cutting and resizing your preview image. Preview is supported only for image files smaller than 10MB.","responses":{"200":{"description":"Image","schema":{"type":"file"}}},"x-appwrite":{"method":"getFilePreview","weight":205,"cookies":false,"type":"location","deprecated":false,"demo":"storage\/get-file-preview.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-preview.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"type":"string","x-example":"<BUCKET_ID>","in":"path"},{"name":"fileId","description":"File ID","required":true,"type":"string","x-example":"<FILE_ID>","in":"path"},{"name":"width","description":"Resize preview image width, Pass an integer between 0 to 4000.","required":false,"type":"integer","format":"int32","x-example":0,"default":0,"in":"query"},{"name":"height","description":"Resize preview image height, Pass an integer between 0 to 4000.","required":false,"type":"integer","format":"int32","x-example":0,"default":0,"in":"query"},{"name":"gravity","description":"Image crop gravity. Can be one of center,top-left,top,top-right,left,right,bottom-left,bottom,bottom-right","required":false,"type":"string","x-example":"center","enum":["center","top-left","top","top-right","left","right","bottom-left","bottom","bottom-right"],"x-enum-name":"ImageGravity","x-enum-keys":[],"default":"center","in":"query"},{"name":"quality","description":"Preview image quality. Pass an integer between 0 to 100. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":100,"in":"query"},{"name":"borderWidth","description":"Preview image border in pixels. Pass an integer between 0 to 100. Defaults to 0.","required":false,"type":"integer","format":"int32","x-example":0,"default":0,"in":"query"},{"name":"borderColor","description":"Preview image border color. Use a valid HEX color, no # is needed for prefix.","required":false,"type":"string","default":"","in":"query"},{"name":"borderRadius","description":"Preview image border radius in pixels. Pass an integer between 0 to 4000.","required":false,"type":"integer","format":"int32","x-example":0,"default":0,"in":"query"},{"name":"opacity","description":"Preview image opacity. Only works with images having an alpha channel (like png). Pass a number between 0 to 1.","required":false,"type":"number","format":"float","x-example":0,"default":1,"in":"query"},{"name":"rotation","description":"Preview image rotation in degrees. Pass an integer between -360 and 360.","required":false,"type":"integer","format":"int32","x-example":-360,"default":0,"in":"query"},{"name":"background","description":"Preview image background color. Only works with transparent images (png). Use a valid HEX color, no # is needed for prefix.","required":false,"type":"string","default":"","in":"query"},{"name":"output","description":"Output format type (jpeg, jpg, png, gif and webp).","required":false,"type":"string","x-example":"jpg","enum":["jpg","jpeg","gif","png","webp"],"x-enum-name":"ImageFormat","x-enum-keys":[],"default":"","in":"query"}]}},"\/storage\/buckets\/{bucketId}\/files\/{fileId}\/view":{"get":{"summary":"Get file for view","operationId":"storageGetFileView","consumes":["application\/json"],"produces":["*\/*"],"tags":["storage"],"description":"Get a file content by its unique ID. This endpoint is similar to the download method but returns with no 'Content-Disposition: attachment' header.","responses":{"200":{"description":"File","schema":{"type":"file"}}},"x-appwrite":{"method":"getFileView","weight":207,"cookies":false,"type":"location","deprecated":false,"demo":"storage\/get-file-view.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-view.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"type":"string","x-example":"<BUCKET_ID>","in":"path"},{"name":"fileId","description":"File ID.","required":true,"type":"string","x-example":"<FILE_ID>","in":"path"}]}},"\/storage\/usage":{"get":{"summary":"Get storage usage stats","operationId":"storageGetUsage","consumes":["application\/json"],"produces":["application\/json"],"tags":["storage"],"description":"","responses":{"200":{"description":"StorageUsage","schema":{"$ref":"#\/definitions\/usageStorage"}}},"x-appwrite":{"method":"getUsage","weight":211,"cookies":false,"type":"","deprecated":false,"demo":"storage\/get-usage.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"range","description":"Date range.","required":false,"type":"string","x-example":"24h","enum":["24h","30d","90d"],"x-enum-name":"StorageUsageRange","x-enum-keys":["Twenty Four Hours","Thirty Days","Ninety Days"],"default":"30d","in":"query"}]}},"\/storage\/{bucketId}\/usage":{"get":{"summary":"Get bucket usage stats","operationId":"storageGetBucketUsage","consumes":["application\/json"],"produces":["application\/json"],"tags":["storage"],"description":"","responses":{"200":{"description":"UsageBuckets","schema":{"$ref":"#\/definitions\/usageBuckets"}}},"x-appwrite":{"method":"getBucketUsage","weight":212,"cookies":false,"type":"","deprecated":false,"demo":"storage\/get-bucket-usage.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"bucketId","description":"Bucket ID.","required":true,"type":"string","x-example":"<BUCKET_ID>","in":"path"},{"name":"range","description":"Date range.","required":false,"type":"string","x-example":"24h","enum":["24h","30d","90d"],"x-enum-name":"StorageUsageRange","x-enum-keys":["Twenty Four Hours","Thirty Days","Ninety Days"],"default":"30d","in":"query"}]}},"\/teams":{"get":{"summary":"List teams","operationId":"teamsList","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Get a list of all the teams in which the current user is a member. You can use the parameters to filter your results.","responses":{"200":{"description":"Teams List","schema":{"$ref":"#\/definitions\/teamList"}}},"x-appwrite":{"method":"list","weight":214,"cookies":false,"type":"","deprecated":false,"demo":"teams\/list.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-teams.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/teams","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, total, billingPlan","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]},"post":{"summary":"Create team","operationId":"teamsCreate","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Create a new team. The user who creates the team will automatically be assigned as the owner of the team. Only the users with the owner role can invite new members, add new owners and delete or update the team.","responses":{"201":{"description":"Team","schema":{"$ref":"#\/definitions\/team"}}},"x-appwrite":{"method":"create","weight":213,"cookies":false,"type":"","deprecated":false,"demo":"teams\/create.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"teamId":{"type":"string","description":"Team ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<TEAM_ID>"},"name":{"type":"string","description":"Team name. Max length: 128 chars.","default":null,"x-example":"<NAME>"},"roles":{"type":"array","description":"Array of strings. Use this param to set the roles in the team for the user who created it. The default role is **owner**. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.","default":["owner"],"x-example":null,"items":{"type":"string"}}},"required":["teamId","name"]}}]}},"\/teams\/{teamId}":{"get":{"summary":"Get team","operationId":"teamsGet","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Get a team by its ID. All team members have read access for this resource.","responses":{"200":{"description":"Team","schema":{"$ref":"#\/definitions\/team"}}},"x-appwrite":{"method":"get","weight":215,"cookies":false,"type":"","deprecated":false,"demo":"teams\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/teams","offline-key":"{teamId}","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"}]},"put":{"summary":"Update name","operationId":"teamsUpdateName","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Update the team's name by its unique ID.","responses":{"200":{"description":"Team","schema":{"$ref":"#\/definitions\/team"}}},"x-appwrite":{"method":"updateName","weight":217,"cookies":false,"type":"","deprecated":false,"demo":"teams\/update-name.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-name.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"\/teams","offline-key":"{teamId}","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"New team name. Max length: 128 chars.","default":null,"x-example":"<NAME>"}},"required":["name"]}}]},"delete":{"summary":"Delete team","operationId":"teamsDelete","consumes":["application\/json"],"produces":[],"tags":["teams"],"description":"Delete a team using its ID. Only team members with the owner role can delete the team.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"delete","weight":219,"cookies":false,"type":"","deprecated":false,"demo":"teams\/delete.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"}]}},"\/teams\/{teamId}\/logs":{"get":{"summary":"List team logs","operationId":"teamsListLogs","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Get the team activity logs list by its unique ID.","responses":{"200":{"description":"Logs List","schema":{"$ref":"#\/definitions\/logList"}}},"x-appwrite":{"method":"listLogs","weight":226,"cookies":false,"type":"","deprecated":false,"demo":"teams\/list-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]}},"\/teams\/{teamId}\/memberships":{"get":{"summary":"List team memberships","operationId":"teamsListMemberships","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Use this endpoint to list a team's members using the team's ID. All team members have read access to this endpoint.","responses":{"200":{"description":"Memberships List","schema":{"$ref":"#\/definitions\/membershipList"}}},"x-appwrite":{"method":"listMemberships","weight":221,"cookies":false,"type":"","deprecated":false,"demo":"teams\/list-memberships.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-team-members.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/teams\/{teamId}\/memberships","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, teamId, invited, joined, confirm","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]},"post":{"summary":"Create team membership","operationId":"teamsCreateMembership","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Invite a new member to join your team. Provide an ID for existing users, or invite unregistered users using an email or phone number. If initiated from a Client SDK, Appwrite will send an email or sms with a link to join the team to the invited user, and an account will be created for them if one doesn't exist. If initiated from a Server SDK, the new member will be added automatically to the team.\n\nYou only need to provide one of a user ID, email, or phone number. Appwrite will prioritize accepting the user ID > email > phone number if you provide more than one of these parameters.\n\nUse the `url` parameter to redirect the user from the invitation email to your app. After the user is redirected, use the [Update Team Membership Status](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/teams#updateMembershipStatus) endpoint to allow the user to accept the invitation to the team. \n\nPlease note that to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md) Appwrite will accept the only redirect URLs under the domains you have added as a platform on the Appwrite Console.\n","responses":{"201":{"description":"Membership","schema":{"$ref":"#\/definitions\/membership"}}},"x-appwrite":{"method":"createMembership","weight":220,"cookies":false,"type":"","deprecated":false,"demo":"teams\/create-membership.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team-membership.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"email":{"type":"string","description":"Email of the new team member.","default":"","x-example":"email@example.com"},"userId":{"type":"string","description":"ID of the user to be added to a team.","default":"","x-example":"<USER_ID>"},"phone":{"type":"string","description":"Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","default":"","x-example":"+12065550100"},"roles":{"type":"array","description":"Array of strings. Use this param to set the user roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.","default":null,"x-example":null,"items":{"type":"string"}},"url":{"type":"string","description":"URL to redirect the user back to your app from the invitation email. This parameter is not required when an API key is supplied. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","default":"","x-example":"https:\/\/example.com"},"name":{"type":"string","description":"Name of the new team member. Max length: 128 chars.","default":"","x-example":"<NAME>"}},"required":["roles"]}}]}},"\/teams\/{teamId}\/memberships\/{membershipId}":{"get":{"summary":"Get team membership","operationId":"teamsGetMembership","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Get a team member by the membership unique id. All team members have read access for this resource.","responses":{"200":{"description":"Membership","schema":{"$ref":"#\/definitions\/membership"}}},"x-appwrite":{"method":"getMembership","weight":222,"cookies":false,"type":"","deprecated":false,"demo":"teams\/get-membership.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-member.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/teams\/{teamId}\/memberships","offline-key":"{membershipId}","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"},{"name":"membershipId","description":"Membership ID.","required":true,"type":"string","x-example":"<MEMBERSHIP_ID>","in":"path"}]},"patch":{"summary":"Update membership","operationId":"teamsUpdateMembership","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Modify the roles of a team member. Only team members with the owner role have access to this endpoint. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions).\n","responses":{"200":{"description":"Membership","schema":{"$ref":"#\/definitions\/membership"}}},"x-appwrite":{"method":"updateMembership","weight":223,"cookies":false,"type":"","deprecated":false,"demo":"teams\/update-membership.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"},{"name":"membershipId","description":"Membership ID.","required":true,"type":"string","x-example":"<MEMBERSHIP_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"roles":{"type":"array","description":"An array of strings. Use this param to set the user's roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.","default":null,"x-example":null,"items":{"type":"string"}}},"required":["roles"]}}]},"delete":{"summary":"Delete team membership","operationId":"teamsDeleteMembership","consumes":["application\/json"],"produces":[],"tags":["teams"],"description":"This endpoint allows a user to leave a team or for a team owner to delete the membership of any other team member. You can also use this endpoint to delete a user membership even if it is not accepted.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteMembership","weight":225,"cookies":false,"type":"","deprecated":false,"demo":"teams\/delete-membership.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team-membership.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"},{"name":"membershipId","description":"Membership ID.","required":true,"type":"string","x-example":"<MEMBERSHIP_ID>","in":"path"}]}},"\/teams\/{teamId}\/memberships\/{membershipId}\/status":{"patch":{"summary":"Update team membership status","operationId":"teamsUpdateMembershipStatus","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Use this endpoint to allow a user to accept an invitation to join a team after being redirected back to your app from the invitation email received by the user.\n\nIf the request is successful, a session for the user is automatically created.\n","responses":{"200":{"description":"Membership","schema":{"$ref":"#\/definitions\/membership"}}},"x-appwrite":{"method":"updateMembershipStatus","weight":224,"cookies":false,"type":"","deprecated":false,"demo":"teams\/update-membership-status.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership-status.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"public","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"},{"name":"membershipId","description":"Membership ID.","required":true,"type":"string","x-example":"<MEMBERSHIP_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID.","default":null,"x-example":"<USER_ID>"},"secret":{"type":"string","description":"Secret key.","default":null,"x-example":"<SECRET>"}},"required":["userId","secret"]}}]}},"\/teams\/{teamId}\/prefs":{"get":{"summary":"Get team preferences","operationId":"teamsGetPrefs","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Get the team's shared preferences by its unique ID. If a preference doesn't need to be shared by all team members, prefer storing them in [user preferences](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#getPrefs).","responses":{"200":{"description":"Preferences","schema":{"$ref":"#\/definitions\/preferences"}}},"x-appwrite":{"method":"getPrefs","weight":216,"cookies":false,"type":"","deprecated":false,"demo":"teams\/get-prefs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-prefs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.read","platforms":["client","server"],"packaging":false,"offline-model":"\/teams\/{teamId}\/prefs","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"}]},"put":{"summary":"Update preferences","operationId":"teamsUpdatePrefs","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Update the team's preferences by its unique ID. The object you pass is stored as is and replaces any previous value. The maximum allowed prefs size is 64kB and throws an error if exceeded.","responses":{"200":{"description":"Preferences","schema":{"$ref":"#\/definitions\/preferences"}}},"x-appwrite":{"method":"updatePrefs","weight":218,"cookies":false,"type":"","deprecated":false,"demo":"teams\/update-prefs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-prefs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server"],"packaging":false,"offline-model":"\/teams\/{teamId}\/prefs","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"prefs":{"type":"object","description":"Prefs key-value JSON object.","default":{},"x-example":"{}"}},"required":["prefs"]}}]}},"\/users":{"get":{"summary":"List users","operationId":"usersList","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Get a list of all the project's users. You can use the query params to filter your results.","responses":{"200":{"description":"Users List","schema":{"$ref":"#\/definitions\/userList"}}},"x-appwrite":{"method":"list","weight":236,"cookies":false,"type":"","deprecated":false,"demo":"users\/list.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-users.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, email, phone, status, passwordUpdate, registration, emailVerification, phoneVerification, labels","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]},"post":{"summary":"Create user","operationId":"usersCreate","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Create a new user.","responses":{"201":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"create","weight":227,"cookies":false,"type":"","deprecated":false,"demo":"users\/create.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"phone":{"type":"string","description":"Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","default":null,"x-example":"+12065550100"},"password":{"type":"string","description":"Plain text user password. Must be at least 8 chars.","default":"","x-example":null},"name":{"type":"string","description":"User name. Max length: 128 chars.","default":"","x-example":"<NAME>"}},"required":["userId"]}}]}},"\/users\/argon2":{"post":{"summary":"Create user with Argon2 password","operationId":"usersCreateArgon2User","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Create a new user. Password provided must be hashed with the [Argon2](https:\/\/en.wikipedia.org\/wiki\/Argon2) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.","responses":{"201":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"createArgon2User","weight":230,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-argon2user.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-argon2-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"password":{"type":"string","description":"User password hashed using Argon2.","default":null,"x-example":"password"},"name":{"type":"string","description":"User name. Max length: 128 chars.","default":"","x-example":"<NAME>"}},"required":["userId","email","password"]}}]}},"\/users\/bcrypt":{"post":{"summary":"Create user with bcrypt password","operationId":"usersCreateBcryptUser","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Create a new user. Password provided must be hashed with the [Bcrypt](https:\/\/en.wikipedia.org\/wiki\/Bcrypt) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.","responses":{"201":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"createBcryptUser","weight":228,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-bcrypt-user.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-bcrypt-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"password":{"type":"string","description":"User password hashed using Bcrypt.","default":null,"x-example":"password"},"name":{"type":"string","description":"User name. Max length: 128 chars.","default":"","x-example":"<NAME>"}},"required":["userId","email","password"]}}]}},"\/users\/identities":{"get":{"summary":"List Identities","operationId":"usersListIdentities","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Get identities for all users.","responses":{"200":{"description":"Identities List","schema":{"$ref":"#\/definitions\/identityList"}}},"x-appwrite":{"method":"listIdentities","weight":244,"cookies":false,"type":"","deprecated":false,"demo":"users\/list-identities.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-identities.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, provider, providerUid, providerEmail, providerAccessTokenExpiry","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]}},"\/users\/identities\/{identityId}":{"delete":{"summary":"Delete identity","operationId":"usersDeleteIdentity","consumes":["application\/json"],"produces":[],"tags":["users"],"description":"Delete an identity by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteIdentity","weight":267,"cookies":false,"type":"","deprecated":false,"demo":"users\/delete-identity.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-identity.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"identityId","description":"Identity ID.","required":true,"type":"string","x-example":"<IDENTITY_ID>","in":"path"}]}},"\/users\/md5":{"post":{"summary":"Create user with MD5 password","operationId":"usersCreateMD5User","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Create a new user. Password provided must be hashed with the [MD5](https:\/\/en.wikipedia.org\/wiki\/MD5) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.","responses":{"201":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"createMD5User","weight":229,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-m-d5user.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-md5-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"password":{"type":"string","description":"User password hashed using MD5.","default":null,"x-example":"password"},"name":{"type":"string","description":"User name. Max length: 128 chars.","default":"","x-example":"<NAME>"}},"required":["userId","email","password"]}}]}},"\/users\/phpass":{"post":{"summary":"Create user with PHPass password","operationId":"usersCreatePHPassUser","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Create a new user. Password provided must be hashed with the [PHPass](https:\/\/www.openwall.com\/phpass\/) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.","responses":{"201":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"createPHPassUser","weight":232,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-p-h-pass-user.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-phpass-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or pass the string `ID.unique()`to auto generate it. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"password":{"type":"string","description":"User password hashed using PHPass.","default":null,"x-example":"password"},"name":{"type":"string","description":"User name. Max length: 128 chars.","default":"","x-example":"<NAME>"}},"required":["userId","email","password"]}}]}},"\/users\/scrypt":{"post":{"summary":"Create user with Scrypt password","operationId":"usersCreateScryptUser","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Create a new user. Password provided must be hashed with the [Scrypt](https:\/\/github.com\/Tarsnap\/scrypt) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.","responses":{"201":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"createScryptUser","weight":233,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-scrypt-user.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-scrypt-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"password":{"type":"string","description":"User password hashed using Scrypt.","default":null,"x-example":"password"},"passwordSalt":{"type":"string","description":"Optional salt used to hash password.","default":null,"x-example":"<PASSWORD_SALT>"},"passwordCpu":{"type":"integer","description":"Optional CPU cost used to hash password.","default":null,"x-example":null},"passwordMemory":{"type":"integer","description":"Optional memory cost used to hash password.","default":null,"x-example":null},"passwordParallel":{"type":"integer","description":"Optional parallelization cost used to hash password.","default":null,"x-example":null},"passwordLength":{"type":"integer","description":"Optional hash length used to hash password.","default":null,"x-example":null},"name":{"type":"string","description":"User name. Max length: 128 chars.","default":"","x-example":"<NAME>"}},"required":["userId","email","password","passwordSalt","passwordCpu","passwordMemory","passwordParallel","passwordLength"]}}]}},"\/users\/scrypt-modified":{"post":{"summary":"Create user with Scrypt modified password","operationId":"usersCreateScryptModifiedUser","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Create a new user. Password provided must be hashed with the [Scrypt Modified](https:\/\/gist.github.com\/Meldiron\/eecf84a0225eccb5a378d45bb27462cc) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.","responses":{"201":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"createScryptModifiedUser","weight":234,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-scrypt-modified-user.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-scrypt-modified-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"password":{"type":"string","description":"User password hashed using Scrypt Modified.","default":null,"x-example":"password"},"passwordSalt":{"type":"string","description":"Salt used to hash password.","default":null,"x-example":"<PASSWORD_SALT>"},"passwordSaltSeparator":{"type":"string","description":"Salt separator used to hash password.","default":null,"x-example":"<PASSWORD_SALT_SEPARATOR>"},"passwordSignerKey":{"type":"string","description":"Signer key used to hash password.","default":null,"x-example":"<PASSWORD_SIGNER_KEY>"},"name":{"type":"string","description":"User name. Max length: 128 chars.","default":"","x-example":"<NAME>"}},"required":["userId","email","password","passwordSalt","passwordSaltSeparator","passwordSignerKey"]}}]}},"\/users\/sha":{"post":{"summary":"Create user with SHA password","operationId":"usersCreateSHAUser","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Create a new user. Password provided must be hashed with the [SHA](https:\/\/en.wikipedia.org\/wiki\/Secure_Hash_Algorithm) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.","responses":{"201":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"createSHAUser","weight":231,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-s-h-a-user.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-sha-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"password":{"type":"string","description":"User password hashed using SHA.","default":null,"x-example":"password"},"passwordVersion":{"type":"string","description":"Optional SHA version used to hash password. Allowed values are: 'sha1', 'sha224', 'sha256', 'sha384', 'sha512\/224', 'sha512\/256', 'sha512', 'sha3-224', 'sha3-256', 'sha3-384', 'sha3-512'","default":"","x-example":"sha1","enum":["sha1","sha224","sha256","sha384","sha512\/224","sha512\/256","sha512","sha3-224","sha3-256","sha3-384","sha3-512"],"x-enum-name":"PasswordHash","x-enum-keys":[]},"name":{"type":"string","description":"User name. Max length: 128 chars.","default":"","x-example":"<NAME>"}},"required":["userId","email","password"]}}]}},"\/users\/usage":{"get":{"summary":"Get users usage stats","operationId":"usersGetUsage","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"","responses":{"200":{"description":"UsageUsers","schema":{"$ref":"#\/definitions\/usageUsers"}}},"x-appwrite":{"method":"getUsage","weight":268,"cookies":false,"type":"","deprecated":false,"demo":"users\/get-usage.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"range","description":"Date range.","required":false,"type":"string","x-example":"24h","enum":["24h","30d","90d"],"x-enum-name":"UserUsageRange","x-enum-keys":["Twenty Four Hours","Thirty Days","Ninety Days"],"default":"30d","in":"query"}]}},"\/users\/{userId}":{"get":{"summary":"Get user","operationId":"usersGet","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Get a user by its unique ID.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"get","weight":237,"cookies":false,"type":"","deprecated":false,"demo":"users\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"}]},"delete":{"summary":"Delete user","operationId":"usersDelete","consumes":["application\/json"],"produces":[],"tags":["users"],"description":"Delete a user by its unique ID, thereby releasing it's ID. Since ID is released and can be reused, all user-related resources like documents or storage files should be deleted before user deletion. If you want to keep ID reserved, use the [updateStatus](https:\/\/appwrite.io\/docs\/server\/users#usersUpdateStatus) endpoint instead.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"delete","weight":265,"cookies":false,"type":"","deprecated":false,"demo":"users\/delete.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"}]}},"\/users\/{userId}\/email":{"patch":{"summary":"Update email","operationId":"usersUpdateEmail","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Update the user email by its unique ID.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updateEmail","weight":250,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-email.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-email.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"}},"required":["email"]}}]}},"\/users\/{userId}\/labels":{"put":{"summary":"Update user labels","operationId":"usersUpdateLabels","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Update the user labels by its unique ID. \n\nLabels can be used to grant access to resources. While teams are a way for user's to share access to a resource, labels can be defined by the developer to grant access without an invitation. See the [Permissions docs](https:\/\/appwrite.io\/docs\/permissions) for more info.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updateLabels","weight":246,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-labels.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-labels.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"labels":{"type":"array","description":"Array of user labels. Replaces the previous labels. Maximum of 1000 labels are allowed, each up to 36 alphanumeric characters long.","default":null,"x-example":null,"items":{"type":"string"}}},"required":["labels"]}}]}},"\/users\/{userId}\/logs":{"get":{"summary":"List user logs","operationId":"usersListLogs","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Get the user activity logs list by its unique ID.","responses":{"200":{"description":"Logs List","schema":{"$ref":"#\/definitions\/logList"}}},"x-appwrite":{"method":"listLogs","weight":242,"cookies":false,"type":"","deprecated":false,"demo":"users\/list-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]}},"\/users\/{userId}\/memberships":{"get":{"summary":"List user memberships","operationId":"usersListMemberships","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Get the user membership list by its unique ID.","responses":{"200":{"description":"Memberships List","schema":{"$ref":"#\/definitions\/membershipList"}}},"x-appwrite":{"method":"listMemberships","weight":241,"cookies":false,"type":"","deprecated":false,"demo":"users\/list-memberships.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-memberships.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"}]}},"\/users\/{userId}\/mfa":{"patch":{"summary":"Update MFA","operationId":"usersUpdateMfa","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Enable or disable MFA on a user account.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updateMfa","weight":255,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-mfa.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-mfa.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"mfa":{"type":"boolean","description":"Enable or disable MFA.","default":null,"x-example":false}},"required":["mfa"]}}]}},"\/users\/{userId}\/mfa\/authenticators\/{type}":{"delete":{"summary":"Delete Authenticator","operationId":"usersDeleteMfaAuthenticator","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Delete an authenticator app.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"deleteMfaAuthenticator","weight":260,"cookies":false,"type":"","deprecated":false,"demo":"users\/delete-mfa-authenticator.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-mfa-authenticator.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"type","description":"Type of authenticator.","required":true,"type":"string","x-example":"totp","enum":["totp"],"x-enum-name":"AuthenticatorType","x-enum-keys":[],"in":"path"}]}},"\/users\/{userId}\/mfa\/factors":{"get":{"summary":"List Factors","operationId":"usersListMfaFactors","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"List the factors available on the account to be used as a MFA challange.","responses":{"200":{"description":"MFAFactors","schema":{"$ref":"#\/definitions\/mfaFactors"}}},"x-appwrite":{"method":"listMfaFactors","weight":256,"cookies":false,"type":"","deprecated":false,"demo":"users\/list-mfa-factors.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-mfa-factors.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"}]}},"\/users\/{userId}\/mfa\/recovery-codes":{"get":{"summary":"Get MFA Recovery Codes","operationId":"usersGetMfaRecoveryCodes","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Get recovery codes that can be used as backup for MFA flow by User ID. Before getting codes, they must be generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method.","responses":{"200":{"description":"MFA Recovery Codes","schema":{"$ref":"#\/definitions\/mfaRecoveryCodes"}}},"x-appwrite":{"method":"getMfaRecoveryCodes","weight":257,"cookies":false,"type":"","deprecated":false,"demo":"users\/get-mfa-recovery-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-mfa-recovery-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"}]},"put":{"summary":"Regenerate MFA Recovery Codes","operationId":"usersUpdateMfaRecoveryCodes","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Regenerate recovery codes that can be used as backup for MFA flow by User ID. Before regenerating codes, they must be first generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method.","responses":{"200":{"description":"MFA Recovery Codes","schema":{"$ref":"#\/definitions\/mfaRecoveryCodes"}}},"x-appwrite":{"method":"updateMfaRecoveryCodes","weight":259,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-mfa-recovery-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-mfa-recovery-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"}]},"patch":{"summary":"Create MFA Recovery Codes","operationId":"usersCreateMfaRecoveryCodes","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Generate recovery codes used as backup for MFA flow for User ID. Recovery codes can be used as a MFA verification type in [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method by client SDK.","responses":{"201":{"description":"MFA Recovery Codes","schema":{"$ref":"#\/definitions\/mfaRecoveryCodes"}}},"x-appwrite":{"method":"createMfaRecoveryCodes","weight":258,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-mfa-recovery-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-mfa-recovery-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"}]}},"\/users\/{userId}\/name":{"patch":{"summary":"Update name","operationId":"usersUpdateName","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Update the user name by its unique ID.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updateName","weight":248,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-name.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-name.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"User name. Max length: 128 chars.","default":null,"x-example":"<NAME>"}},"required":["name"]}}]}},"\/users\/{userId}\/password":{"patch":{"summary":"Update password","operationId":"usersUpdatePassword","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Update the user password by its unique ID.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updatePassword","weight":249,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-password.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-password.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"password":{"type":"string","description":"New user password. Must be at least 8 chars.","default":null,"x-example":null}},"required":["password"]}}]}},"\/users\/{userId}\/phone":{"patch":{"summary":"Update phone","operationId":"usersUpdatePhone","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Update the user phone by its unique ID.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updatePhone","weight":251,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-phone.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-phone.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"number":{"type":"string","description":"User phone number.","default":null,"x-example":"+12065550100"}},"required":["number"]}}]}},"\/users\/{userId}\/prefs":{"get":{"summary":"Get user preferences","operationId":"usersGetPrefs","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Get the user preferences by its unique ID.","responses":{"200":{"description":"Preferences","schema":{"$ref":"#\/definitions\/preferences"}}},"x-appwrite":{"method":"getPrefs","weight":238,"cookies":false,"type":"","deprecated":false,"demo":"users\/get-prefs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user-prefs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"}]},"patch":{"summary":"Update user preferences","operationId":"usersUpdatePrefs","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Update the user preferences by its unique ID. The object you pass is stored as is, and replaces any previous value. The maximum allowed prefs size is 64kB and throws error if exceeded.","responses":{"200":{"description":"Preferences","schema":{"$ref":"#\/definitions\/preferences"}}},"x-appwrite":{"method":"updatePrefs","weight":253,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-prefs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-prefs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"prefs":{"type":"object","description":"Prefs key-value JSON object.","default":{},"x-example":"{}"}},"required":["prefs"]}}]}},"\/users\/{userId}\/sessions":{"get":{"summary":"List user sessions","operationId":"usersListSessions","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Get the user sessions list by its unique ID.","responses":{"200":{"description":"Sessions List","schema":{"$ref":"#\/definitions\/sessionList"}}},"x-appwrite":{"method":"listSessions","weight":240,"cookies":false,"type":"","deprecated":false,"demo":"users\/list-sessions.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-sessions.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"}]},"post":{"summary":"Create session","operationId":"usersCreateSession","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Creates a session for a user. Returns an immediately usable session object.\n\nIf you want to generate a token for a custom authentication flow, use the [POST \/users\/{userId}\/tokens](https:\/\/appwrite.io\/docs\/server\/users#createToken) endpoint.","responses":{"201":{"description":"Session","schema":{"$ref":"#\/definitions\/session"}}},"x-appwrite":{"method":"createSession","weight":261,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-session.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"}]},"delete":{"summary":"Delete user sessions","operationId":"usersDeleteSessions","consumes":["application\/json"],"produces":[],"tags":["users"],"description":"Delete all user's sessions by using the user's unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteSessions","weight":264,"cookies":false,"type":"","deprecated":false,"demo":"users\/delete-sessions.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-user-sessions.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"}]}},"\/users\/{userId}\/sessions\/{sessionId}":{"delete":{"summary":"Delete user session","operationId":"usersDeleteSession","consumes":["application\/json"],"produces":[],"tags":["users"],"description":"Delete a user sessions by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteSession","weight":263,"cookies":false,"type":"","deprecated":false,"demo":"users\/delete-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-user-session.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"sessionId","description":"Session ID.","required":true,"type":"string","x-example":"<SESSION_ID>","in":"path"}]}},"\/users\/{userId}\/status":{"patch":{"summary":"Update user status","operationId":"usersUpdateStatus","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Update the user status by its unique ID. Use this endpoint as an alternative to deleting a user if you want to keep user's ID reserved.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updateStatus","weight":245,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-status.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-status.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"status":{"type":"boolean","description":"User Status. To activate the user pass `true` and to block the user pass `false`.","default":null,"x-example":false}},"required":["status"]}}]}},"\/users\/{userId}\/targets":{"get":{"summary":"List User Targets","operationId":"usersListTargets","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"List the messaging targets that are associated with a user.","responses":{"200":{"description":"Target list","schema":{"$ref":"#\/definitions\/targetList"}}},"x-appwrite":{"method":"listTargets","weight":243,"cookies":false,"type":"","deprecated":false,"demo":"users\/list-targets.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-targets.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"targets.read","platforms":["server","console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, email, phone, status, passwordUpdate, registration, emailVerification, phoneVerification, labels","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]},"post":{"summary":"Create User Target","operationId":"usersCreateTarget","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Create a messaging target.","responses":{"201":{"description":"Target","schema":{"$ref":"#\/definitions\/target"}}},"x-appwrite":{"method":"createTarget","weight":235,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-target.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-target.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"targets.write","platforms":["server","console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"targetId":{"type":"string","description":"Target ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<TARGET_ID>"},"providerType":{"type":"string","description":"The target provider type. Can be one of the following: `email`, `sms` or `push`.","default":null,"x-example":"email","enum":["email","sms","push"],"x-enum-name":"MessagingProviderType","x-enum-keys":[]},"identifier":{"type":"string","description":"The target identifier (token, email, phone etc.)","default":null,"x-example":"<IDENTIFIER>"},"providerId":{"type":"string","description":"Provider ID. Message will be sent to this target from the specified provider ID. If no provider ID is set the first setup provider will be used.","default":"","x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Target name. Max length: 128 chars. For example: My Awesome App Galaxy S23.","default":"","x-example":"<NAME>"}},"required":["targetId","providerType","identifier"]}}]}},"\/users\/{userId}\/targets\/{targetId}":{"get":{"summary":"Get User Target","operationId":"usersGetTarget","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Get a user's push notification target by ID.","responses":{"200":{"description":"Target","schema":{"$ref":"#\/definitions\/target"}}},"x-appwrite":{"method":"getTarget","weight":239,"cookies":false,"type":"","deprecated":false,"demo":"users\/get-target.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user-target.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"targets.read","platforms":["server","console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"targetId","description":"Target ID.","required":true,"type":"string","x-example":"<TARGET_ID>","in":"path"}]},"patch":{"summary":"Update User target","operationId":"usersUpdateTarget","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Update a messaging target.","responses":{"200":{"description":"Target","schema":{"$ref":"#\/definitions\/target"}}},"x-appwrite":{"method":"updateTarget","weight":254,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-target.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-target.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"targets.write","platforms":["server","console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"targetId","description":"Target ID.","required":true,"type":"string","x-example":"<TARGET_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"identifier":{"type":"string","description":"The target identifier (token, email, phone etc.)","default":"","x-example":"<IDENTIFIER>"},"providerId":{"type":"string","description":"Provider ID. Message will be sent to this target from the specified provider ID. If no provider ID is set the first setup provider will be used.","default":"","x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Target name. Max length: 128 chars. For example: My Awesome App Galaxy S23.","default":"","x-example":"<NAME>"}}}}]},"delete":{"summary":"Delete user target","operationId":"usersDeleteTarget","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Delete a messaging target.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteTarget","weight":266,"cookies":false,"type":"","deprecated":false,"demo":"users\/delete-target.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-target.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"targets.write","platforms":["server","console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"targetId","description":"Target ID.","required":true,"type":"string","x-example":"<TARGET_ID>","in":"path"}]}},"\/users\/{userId}\/tokens":{"post":{"summary":"Create token","operationId":"usersCreateToken","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Returns a token with a secret key for creating a session. Use the user ID and secret and submit a request to the [PUT \/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process.\n","responses":{"201":{"description":"Token","schema":{"$ref":"#\/definitions\/token"}}},"x-appwrite":{"method":"createToken","weight":262,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-token.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-token.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"length":{"type":"integer","description":"Token length in characters. The default length is 6 characters","default":6,"x-example":4},"expire":{"type":"integer","description":"Token expiration period in seconds. The default expiration is 15 minutes.","default":900,"x-example":60}}}}]}},"\/users\/{userId}\/verification":{"patch":{"summary":"Update email verification","operationId":"usersUpdateEmailVerification","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Update the user email verification status by its unique ID.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updateEmailVerification","weight":252,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-email-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-email-verification.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"emailVerification":{"type":"boolean","description":"User email verification status.","default":null,"x-example":false}},"required":["emailVerification"]}}]}},"\/users\/{userId}\/verification\/phone":{"patch":{"summary":"Update phone verification","operationId":"usersUpdatePhoneVerification","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Update the user phone verification status by its unique ID.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updatePhoneVerification","weight":247,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-phone-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-phone-verification.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"phoneVerification":{"type":"boolean","description":"User phone verification status.","default":null,"x-example":false}},"required":["phoneVerification"]}}]}},"\/vcs\/github\/installations\/{installationId}\/providerRepositories":{"get":{"summary":"List Repositories","operationId":"vcsListRepositories","consumes":["application\/json"],"produces":["application\/json"],"tags":["vcs"],"description":"","responses":{"200":{"description":"Provider Repositories List","schema":{"$ref":"#\/definitions\/providerRepositoryList"}}},"x-appwrite":{"method":"listRepositories","weight":272,"cookies":false,"type":"","deprecated":false,"demo":"vcs\/list-repositories.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"vcs.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"installationId","description":"Installation Id","required":true,"type":"string","x-example":"<INSTALLATION_ID>","in":"path"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]},"post":{"summary":"Create repository","operationId":"vcsCreateRepository","consumes":["application\/json"],"produces":["application\/json"],"tags":["vcs"],"description":"","responses":{"200":{"description":"ProviderRepository","schema":{"$ref":"#\/definitions\/providerRepository"}}},"x-appwrite":{"method":"createRepository","weight":273,"cookies":false,"type":"","deprecated":false,"demo":"vcs\/create-repository.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"vcs.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"installationId","description":"Installation Id","required":true,"type":"string","x-example":"<INSTALLATION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Repository name (slug)","default":null,"x-example":"<NAME>"},"private":{"type":"boolean","description":"Mark repository public or private","default":null,"x-example":false}},"required":["name","private"]}}]}},"\/vcs\/github\/installations\/{installationId}\/providerRepositories\/{providerRepositoryId}":{"get":{"summary":"Get repository","operationId":"vcsGetRepository","consumes":["application\/json"],"produces":["application\/json"],"tags":["vcs"],"description":"","responses":{"200":{"description":"ProviderRepository","schema":{"$ref":"#\/definitions\/providerRepository"}}},"x-appwrite":{"method":"getRepository","weight":274,"cookies":false,"type":"","deprecated":false,"demo":"vcs\/get-repository.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"vcs.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"installationId","description":"Installation Id","required":true,"type":"string","x-example":"<INSTALLATION_ID>","in":"path"},{"name":"providerRepositoryId","description":"Repository Id","required":true,"type":"string","x-example":"<PROVIDER_REPOSITORY_ID>","in":"path"}]}},"\/vcs\/github\/installations\/{installationId}\/providerRepositories\/{providerRepositoryId}\/branches":{"get":{"summary":"List Repository Branches","operationId":"vcsListRepositoryBranches","consumes":["application\/json"],"produces":["application\/json"],"tags":["vcs"],"description":"","responses":{"200":{"description":"Branches List","schema":{"$ref":"#\/definitions\/branchList"}}},"x-appwrite":{"method":"listRepositoryBranches","weight":275,"cookies":false,"type":"","deprecated":false,"demo":"vcs\/list-repository-branches.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"vcs.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"installationId","description":"Installation Id","required":true,"type":"string","x-example":"<INSTALLATION_ID>","in":"path"},{"name":"providerRepositoryId","description":"Repository Id","required":true,"type":"string","x-example":"<PROVIDER_REPOSITORY_ID>","in":"path"}]}},"\/vcs\/github\/installations\/{installationId}\/providerRepositories\/{providerRepositoryId}\/detection":{"post":{"summary":"Detect runtime settings from source code","operationId":"vcsCreateRepositoryDetection","consumes":["application\/json"],"produces":["application\/json"],"tags":["vcs"],"description":"","responses":{"200":{"description":"Detection","schema":{"$ref":"#\/definitions\/detection"}}},"x-appwrite":{"method":"createRepositoryDetection","weight":271,"cookies":false,"type":"","deprecated":false,"demo":"vcs\/create-repository-detection.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"vcs.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"installationId","description":"Installation Id","required":true,"type":"string","x-example":"<INSTALLATION_ID>","in":"path"},{"name":"providerRepositoryId","description":"Repository Id","required":true,"type":"string","x-example":"<PROVIDER_REPOSITORY_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"providerRootDirectory":{"type":"string","description":"Path to Root Directory","default":"","x-example":"<PROVIDER_ROOT_DIRECTORY>"}}}}]}},"\/vcs\/github\/installations\/{installationId}\/repositories\/{repositoryId}":{"patch":{"summary":"Authorize external deployment","operationId":"vcsUpdateExternalDeployments","consumes":["application\/json"],"produces":[],"tags":["vcs"],"description":"","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"updateExternalDeployments","weight":280,"cookies":false,"type":"","deprecated":false,"demo":"vcs\/update-external-deployments.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"vcs.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"installationId","description":"Installation Id","required":true,"type":"string","x-example":"<INSTALLATION_ID>","in":"path"},{"name":"repositoryId","description":"VCS Repository Id","required":true,"type":"string","x-example":"<REPOSITORY_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"providerPullRequestId":{"type":"string","description":"GitHub Pull Request Id","default":null,"x-example":"<PROVIDER_PULL_REQUEST_ID>"}},"required":["providerPullRequestId"]}}]}},"\/vcs\/installations":{"get":{"summary":"List installations","operationId":"vcsListInstallations","consumes":["application\/json"],"produces":["application\/json"],"tags":["vcs"],"description":"","responses":{"200":{"description":"Installations List","schema":{"$ref":"#\/definitions\/installationList"}}},"x-appwrite":{"method":"listInstallations","weight":277,"cookies":false,"type":"","deprecated":false,"demo":"vcs\/list-installations.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/list-installations.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"vcs.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: provider, organization","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]}},"\/vcs\/installations\/{installationId}":{"get":{"summary":"Get installation","operationId":"vcsGetInstallation","consumes":["application\/json"],"produces":["application\/json"],"tags":["vcs"],"description":"","responses":{"200":{"description":"Installation","schema":{"$ref":"#\/definitions\/installation"}}},"x-appwrite":{"method":"getInstallation","weight":278,"cookies":false,"type":"","deprecated":false,"demo":"vcs\/get-installation.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/get-installation.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"vcs.read","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"installationId","description":"Installation Id","required":true,"type":"string","x-example":"<INSTALLATION_ID>","in":"path"}]},"delete":{"summary":"Delete Installation","operationId":"vcsDeleteInstallation","consumes":["application\/json"],"produces":[],"tags":["vcs"],"description":"","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteInstallation","weight":279,"cookies":false,"type":"","deprecated":false,"demo":"vcs\/delete-installation.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/delete-installation.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"vcs.write","platforms":["console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"installationId","description":"Installation Id","required":true,"type":"string","x-example":"<INSTALLATION_ID>","in":"path"}]}}},"tags":[{"name":"account","description":"The Account service allows you to authenticate and manage a user account.","x-globalAttributes":[]},{"name":"avatars","description":"The Avatars service aims to help you complete everyday tasks related to your app image, icons, and avatars.","x-globalAttributes":[]},{"name":"databases","description":"The Databases service allows you to create structured collections of documents, query and filter lists of documents","x-globalAttributes":["databaseId"]},{"name":"locale","description":"The Locale service allows you to customize your app based on your users' location.","x-globalAttributes":[]},{"name":"health","description":"The Health service allows you to both validate and monitor your Appwrite server's health.","x-globalAttributes":[]},{"name":"projects","description":"The Project service allows you to manage all the projects in your Appwrite server.","x-globalAttributes":[]},{"name":"project","description":"The Project service allows you to manage all the projects in your Appwrite server.","x-globalAttributes":[]},{"name":"storage","description":"The Storage service allows you to manage your project files.","x-globalAttributes":[]},{"name":"teams","description":"The Teams service allows you to group users of your project and to enable them to share read and write access to your project resources","x-globalAttributes":[]},{"name":"users","description":"The Users service allows you to manage your project users.","x-globalAttributes":[]},{"name":"functions","description":"The Functions Service allows you view, create and manage your Cloud Functions.","x-globalAttributes":[]},{"name":"proxy","description":"The Proxy Service allows you to configure actions for your domains beyond DNS configuration.","x-globalAttributes":[]},{"name":"graphql","description":"The GraphQL API allows you to query and mutate your Appwrite server using GraphQL.","x-globalAttributes":[]},{"name":"console","description":"The Console service allows you to interact with console relevant informations.","x-globalAttributes":[]},{"name":"migrations","description":"The Migrations service allows you to migrate third-party data to your Appwrite project.","x-globalAttributes":[]},{"name":"messaging","description":"The Messaging service allows you to send messages to any provider type (SMTP, push notification, SMS, etc.).","x-globalAttributes":[]}],"definitions":{"any":{"description":"Any","type":"object","additionalProperties":true},"documentList":{"description":"Documents List","type":"object","properties":{"total":{"type":"integer","description":"Total number of documents documents that matched your query.","x-example":5,"format":"int32"},"documents":{"type":"array","description":"List of documents.","items":{"type":"object","$ref":"#\/definitions\/document"},"x-example":""}},"required":["total","documents"]},"collectionList":{"description":"Collections List","type":"object","properties":{"total":{"type":"integer","description":"Total number of collections documents that matched your query.","x-example":5,"format":"int32"},"collections":{"type":"array","description":"List of collections.","items":{"type":"object","$ref":"#\/definitions\/collection"},"x-example":""}},"required":["total","collections"]},"databaseList":{"description":"Databases List","type":"object","properties":{"total":{"type":"integer","description":"Total number of databases documents that matched your query.","x-example":5,"format":"int32"},"databases":{"type":"array","description":"List of databases.","items":{"type":"object","$ref":"#\/definitions\/database"},"x-example":""}},"required":["total","databases"]},"indexList":{"description":"Indexes List","type":"object","properties":{"total":{"type":"integer","description":"Total number of indexes documents that matched your query.","x-example":5,"format":"int32"},"indexes":{"type":"array","description":"List of indexes.","items":{"type":"object","$ref":"#\/definitions\/index"},"x-example":""}},"required":["total","indexes"]},"userList":{"description":"Users List","type":"object","properties":{"total":{"type":"integer","description":"Total number of users documents that matched your query.","x-example":5,"format":"int32"},"users":{"type":"array","description":"List of users.","items":{"type":"object","$ref":"#\/definitions\/user"},"x-example":""}},"required":["total","users"]},"sessionList":{"description":"Sessions List","type":"object","properties":{"total":{"type":"integer","description":"Total number of sessions documents that matched your query.","x-example":5,"format":"int32"},"sessions":{"type":"array","description":"List of sessions.","items":{"type":"object","$ref":"#\/definitions\/session"},"x-example":""}},"required":["total","sessions"]},"identityList":{"description":"Identities List","type":"object","properties":{"total":{"type":"integer","description":"Total number of identities documents that matched your query.","x-example":5,"format":"int32"},"identities":{"type":"array","description":"List of identities.","items":{"type":"object","$ref":"#\/definitions\/identity"},"x-example":""}},"required":["total","identities"]},"logList":{"description":"Logs List","type":"object","properties":{"total":{"type":"integer","description":"Total number of logs documents that matched your query.","x-example":5,"format":"int32"},"logs":{"type":"array","description":"List of logs.","items":{"type":"object","$ref":"#\/definitions\/log"},"x-example":""}},"required":["total","logs"]},"fileList":{"description":"Files List","type":"object","properties":{"total":{"type":"integer","description":"Total number of files documents that matched your query.","x-example":5,"format":"int32"},"files":{"type":"array","description":"List of files.","items":{"type":"object","$ref":"#\/definitions\/file"},"x-example":""}},"required":["total","files"]},"bucketList":{"description":"Buckets List","type":"object","properties":{"total":{"type":"integer","description":"Total number of buckets documents that matched your query.","x-example":5,"format":"int32"},"buckets":{"type":"array","description":"List of buckets.","items":{"type":"object","$ref":"#\/definitions\/bucket"},"x-example":""}},"required":["total","buckets"]},"teamList":{"description":"Teams List","type":"object","properties":{"total":{"type":"integer","description":"Total number of teams documents that matched your query.","x-example":5,"format":"int32"},"teams":{"type":"array","description":"List of teams.","items":{"type":"object","$ref":"#\/definitions\/team"},"x-example":""}},"required":["total","teams"]},"membershipList":{"description":"Memberships List","type":"object","properties":{"total":{"type":"integer","description":"Total number of memberships documents that matched your query.","x-example":5,"format":"int32"},"memberships":{"type":"array","description":"List of memberships.","items":{"type":"object","$ref":"#\/definitions\/membership"},"x-example":""}},"required":["total","memberships"]},"functionList":{"description":"Functions List","type":"object","properties":{"total":{"type":"integer","description":"Total number of functions documents that matched your query.","x-example":5,"format":"int32"},"functions":{"type":"array","description":"List of functions.","items":{"type":"object","$ref":"#\/definitions\/function"},"x-example":""}},"required":["total","functions"]},"installationList":{"description":"Installations List","type":"object","properties":{"total":{"type":"integer","description":"Total number of installations documents that matched your query.","x-example":5,"format":"int32"},"installations":{"type":"array","description":"List of installations.","items":{"type":"object","$ref":"#\/definitions\/installation"},"x-example":""}},"required":["total","installations"]},"providerRepositoryList":{"description":"Provider Repositories List","type":"object","properties":{"total":{"type":"integer","description":"Total number of providerRepositories documents that matched your query.","x-example":5,"format":"int32"},"providerRepositories":{"type":"array","description":"List of providerRepositories.","items":{"type":"object","$ref":"#\/definitions\/providerRepository"},"x-example":""}},"required":["total","providerRepositories"]},"branchList":{"description":"Branches List","type":"object","properties":{"total":{"type":"integer","description":"Total number of branches documents that matched your query.","x-example":5,"format":"int32"},"branches":{"type":"array","description":"List of branches.","items":{"type":"object","$ref":"#\/definitions\/branch"},"x-example":""}},"required":["total","branches"]},"runtimeList":{"description":"Runtimes List","type":"object","properties":{"total":{"type":"integer","description":"Total number of runtimes documents that matched your query.","x-example":5,"format":"int32"},"runtimes":{"type":"array","description":"List of runtimes.","items":{"type":"object","$ref":"#\/definitions\/runtime"},"x-example":""}},"required":["total","runtimes"]},"deploymentList":{"description":"Deployments List","type":"object","properties":{"total":{"type":"integer","description":"Total number of deployments documents that matched your query.","x-example":5,"format":"int32"},"deployments":{"type":"array","description":"List of deployments.","items":{"type":"object","$ref":"#\/definitions\/deployment"},"x-example":""}},"required":["total","deployments"]},"executionList":{"description":"Executions List","type":"object","properties":{"total":{"type":"integer","description":"Total number of executions documents that matched your query.","x-example":5,"format":"int32"},"executions":{"type":"array","description":"List of executions.","items":{"type":"object","$ref":"#\/definitions\/execution"},"x-example":""}},"required":["total","executions"]},"projectList":{"description":"Projects List","type":"object","properties":{"total":{"type":"integer","description":"Total number of projects documents that matched your query.","x-example":5,"format":"int32"},"projects":{"type":"array","description":"List of projects.","items":{"type":"object","$ref":"#\/definitions\/project"},"x-example":""}},"required":["total","projects"]},"webhookList":{"description":"Webhooks List","type":"object","properties":{"total":{"type":"integer","description":"Total number of webhooks documents that matched your query.","x-example":5,"format":"int32"},"webhooks":{"type":"array","description":"List of webhooks.","items":{"type":"object","$ref":"#\/definitions\/webhook"},"x-example":""}},"required":["total","webhooks"]},"keyList":{"description":"API Keys List","type":"object","properties":{"total":{"type":"integer","description":"Total number of keys documents that matched your query.","x-example":5,"format":"int32"},"keys":{"type":"array","description":"List of keys.","items":{"type":"object","$ref":"#\/definitions\/key"},"x-example":""}},"required":["total","keys"]},"platformList":{"description":"Platforms List","type":"object","properties":{"total":{"type":"integer","description":"Total number of platforms documents that matched your query.","x-example":5,"format":"int32"},"platforms":{"type":"array","description":"List of platforms.","items":{"type":"object","$ref":"#\/definitions\/platform"},"x-example":""}},"required":["total","platforms"]},"countryList":{"description":"Countries List","type":"object","properties":{"total":{"type":"integer","description":"Total number of countries documents that matched your query.","x-example":5,"format":"int32"},"countries":{"type":"array","description":"List of countries.","items":{"type":"object","$ref":"#\/definitions\/country"},"x-example":""}},"required":["total","countries"]},"continentList":{"description":"Continents List","type":"object","properties":{"total":{"type":"integer","description":"Total number of continents documents that matched your query.","x-example":5,"format":"int32"},"continents":{"type":"array","description":"List of continents.","items":{"type":"object","$ref":"#\/definitions\/continent"},"x-example":""}},"required":["total","continents"]},"languageList":{"description":"Languages List","type":"object","properties":{"total":{"type":"integer","description":"Total number of languages documents that matched your query.","x-example":5,"format":"int32"},"languages":{"type":"array","description":"List of languages.","items":{"type":"object","$ref":"#\/definitions\/language"},"x-example":""}},"required":["total","languages"]},"currencyList":{"description":"Currencies List","type":"object","properties":{"total":{"type":"integer","description":"Total number of currencies documents that matched your query.","x-example":5,"format":"int32"},"currencies":{"type":"array","description":"List of currencies.","items":{"type":"object","$ref":"#\/definitions\/currency"},"x-example":""}},"required":["total","currencies"]},"phoneList":{"description":"Phones List","type":"object","properties":{"total":{"type":"integer","description":"Total number of phones documents that matched your query.","x-example":5,"format":"int32"},"phones":{"type":"array","description":"List of phones.","items":{"type":"object","$ref":"#\/definitions\/phone"},"x-example":""}},"required":["total","phones"]},"variableList":{"description":"Variables List","type":"object","properties":{"total":{"type":"integer","description":"Total number of variables documents that matched your query.","x-example":5,"format":"int32"},"variables":{"type":"array","description":"List of variables.","items":{"type":"object","$ref":"#\/definitions\/variable"},"x-example":""}},"required":["total","variables"]},"proxyRuleList":{"description":"Rule List","type":"object","properties":{"total":{"type":"integer","description":"Total number of rules documents that matched your query.","x-example":5,"format":"int32"},"rules":{"type":"array","description":"List of rules.","items":{"type":"object","$ref":"#\/definitions\/proxyRule"},"x-example":""}},"required":["total","rules"]},"localeCodeList":{"description":"Locale codes list","type":"object","properties":{"total":{"type":"integer","description":"Total number of localeCodes documents that matched your query.","x-example":5,"format":"int32"},"localeCodes":{"type":"array","description":"List of localeCodes.","items":{"type":"object","$ref":"#\/definitions\/localeCode"},"x-example":""}},"required":["total","localeCodes"]},"providerList":{"description":"Provider list","type":"object","properties":{"total":{"type":"integer","description":"Total number of providers documents that matched your query.","x-example":5,"format":"int32"},"providers":{"type":"array","description":"List of providers.","items":{"type":"object","$ref":"#\/definitions\/provider"},"x-example":""}},"required":["total","providers"]},"messageList":{"description":"Message list","type":"object","properties":{"total":{"type":"integer","description":"Total number of messages documents that matched your query.","x-example":5,"format":"int32"},"messages":{"type":"array","description":"List of messages.","items":{"type":"object","$ref":"#\/definitions\/message"},"x-example":""}},"required":["total","messages"]},"topicList":{"description":"Topic list","type":"object","properties":{"total":{"type":"integer","description":"Total number of topics documents that matched your query.","x-example":5,"format":"int32"},"topics":{"type":"array","description":"List of topics.","items":{"type":"object","$ref":"#\/definitions\/topic"},"x-example":""}},"required":["total","topics"]},"subscriberList":{"description":"Subscriber list","type":"object","properties":{"total":{"type":"integer","description":"Total number of subscribers documents that matched your query.","x-example":5,"format":"int32"},"subscribers":{"type":"array","description":"List of subscribers.","items":{"type":"object","$ref":"#\/definitions\/subscriber"},"x-example":""}},"required":["total","subscribers"]},"targetList":{"description":"Target list","type":"object","properties":{"total":{"type":"integer","description":"Total number of targets documents that matched your query.","x-example":5,"format":"int32"},"targets":{"type":"array","description":"List of targets.","items":{"type":"object","$ref":"#\/definitions\/target"},"x-example":""}},"required":["total","targets"]},"migrationList":{"description":"Migrations List","type":"object","properties":{"total":{"type":"integer","description":"Total number of migrations documents that matched your query.","x-example":5,"format":"int32"},"migrations":{"type":"array","description":"List of migrations.","items":{"type":"object","$ref":"#\/definitions\/migration"},"x-example":""}},"required":["total","migrations"]},"firebaseProjectList":{"description":"Migrations Firebase Projects List","type":"object","properties":{"total":{"type":"integer","description":"Total number of projects documents that matched your query.","x-example":5,"format":"int32"},"projects":{"type":"array","description":"List of projects.","items":{"type":"object","$ref":"#\/definitions\/firebaseProject"},"x-example":""}},"required":["total","projects"]},"database":{"description":"Database","type":"object","properties":{"$id":{"type":"string","description":"Database ID.","x-example":"5e5ea5c16897e"},"name":{"type":"string","description":"Database name.","x-example":"My Database"},"$createdAt":{"type":"string","description":"Database creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Database update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"enabled":{"type":"boolean","description":"If database is enabled. Can be 'enabled' or 'disabled'. When disabled, the database is inaccessible to users, but remains accessible to Server SDKs using API keys.","x-example":false}},"required":["$id","name","$createdAt","$updatedAt","enabled"]},"collection":{"description":"Collection","type":"object","properties":{"$id":{"type":"string","description":"Collection ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Collection creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Collection update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$permissions":{"type":"array","description":"Collection permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","items":{"type":"string"},"x-example":["read(\"any\")"]},"databaseId":{"type":"string","description":"Database ID.","x-example":"5e5ea5c16897e"},"name":{"type":"string","description":"Collection name.","x-example":"My Collection"},"enabled":{"type":"boolean","description":"Collection enabled. Can be 'enabled' or 'disabled'. When disabled, the collection is inaccessible to users, but remains accessible to Server SDKs using API keys.","x-example":false},"documentSecurity":{"type":"boolean","description":"Whether document-level permissions are enabled. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":true},"attributes":{"type":"array","description":"Collection attributes.","items":{"x-anyOf":[{"$ref":"#\/definitions\/attributeBoolean"},{"$ref":"#\/definitions\/attributeInteger"},{"$ref":"#\/definitions\/attributeFloat"},{"$ref":"#\/definitions\/attributeEmail"},{"$ref":"#\/definitions\/attributeEnum"},{"$ref":"#\/definitions\/attributeUrl"},{"$ref":"#\/definitions\/attributeIp"},{"$ref":"#\/definitions\/attributeDatetime"},{"$ref":"#\/definitions\/attributeRelationship"},{"$ref":"#\/definitions\/attributeString"}]},"x-example":{}},"indexes":{"type":"array","description":"Collection indexes.","items":{"type":"object","$ref":"#\/definitions\/index"},"x-example":{}}},"required":["$id","$createdAt","$updatedAt","$permissions","databaseId","name","enabled","documentSecurity","attributes","indexes"]},"attributeList":{"description":"Attributes List","type":"object","properties":{"total":{"type":"integer","description":"Total number of attributes in the given collection.","x-example":5,"format":"int32"},"attributes":{"type":"array","description":"List of attributes.","items":{"x-anyOf":[{"$ref":"#\/definitions\/attributeBoolean"},{"$ref":"#\/definitions\/attributeInteger"},{"$ref":"#\/definitions\/attributeFloat"},{"$ref":"#\/definitions\/attributeEmail"},{"$ref":"#\/definitions\/attributeEnum"},{"$ref":"#\/definitions\/attributeUrl"},{"$ref":"#\/definitions\/attributeIp"},{"$ref":"#\/definitions\/attributeDatetime"},{"$ref":"#\/definitions\/attributeRelationship"},{"$ref":"#\/definitions\/attributeString"}]},"x-example":""}},"required":["total","attributes"]},"attributeString":{"description":"AttributeString","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"fullName"},"type":{"type":"string","description":"Attribute type.","x-example":"string"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"x-nullable":true},"size":{"type":"integer","description":"Attribute size.","x-example":128,"format":"int32"},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"default","x-nullable":true}},"required":["key","type","status","error","required","size"]},"attributeInteger":{"description":"AttributeInteger","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"count"},"type":{"type":"string","description":"Attribute type.","x-example":"integer"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"x-nullable":true},"min":{"type":"integer","description":"Minimum value to enforce for new documents.","x-example":1,"format":"int32","x-nullable":true},"max":{"type":"integer","description":"Maximum value to enforce for new documents.","x-example":10,"format":"int32","x-nullable":true},"default":{"type":"integer","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":10,"format":"int32","x-nullable":true}},"required":["key","type","status","error","required"]},"attributeFloat":{"description":"AttributeFloat","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"percentageCompleted"},"type":{"type":"string","description":"Attribute type.","x-example":"double"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"x-nullable":true},"min":{"type":"number","description":"Minimum value to enforce for new documents.","x-example":1.5,"format":"double","x-nullable":true},"max":{"type":"number","description":"Maximum value to enforce for new documents.","x-example":10.5,"format":"double","x-nullable":true},"default":{"type":"number","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":2.5,"format":"double","x-nullable":true}},"required":["key","type","status","error","required"]},"attributeBoolean":{"description":"AttributeBoolean","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"isEnabled"},"type":{"type":"string","description":"Attribute type.","x-example":"boolean"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"x-nullable":true},"default":{"type":"boolean","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":false,"x-nullable":true}},"required":["key","type","status","error","required"]},"attributeEmail":{"description":"AttributeEmail","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"userEmail"},"type":{"type":"string","description":"Attribute type.","x-example":"string"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"x-nullable":true},"format":{"type":"string","description":"String format.","x-example":"email"},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"default@example.com","x-nullable":true}},"required":["key","type","status","error","required","format"]},"attributeEnum":{"description":"AttributeEnum","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"status"},"type":{"type":"string","description":"Attribute type.","x-example":"string"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"x-nullable":true},"elements":{"type":"array","description":"Array of elements in enumerated type.","items":{"type":"string"},"x-example":"element"},"format":{"type":"string","description":"String format.","x-example":"enum"},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"element","x-nullable":true}},"required":["key","type","status","error","required","elements","format"]},"attributeIp":{"description":"AttributeIP","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"ipAddress"},"type":{"type":"string","description":"Attribute type.","x-example":"string"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"x-nullable":true},"format":{"type":"string","description":"String format.","x-example":"ip"},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"192.0.2.0","x-nullable":true}},"required":["key","type","status","error","required","format"]},"attributeUrl":{"description":"AttributeURL","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"githubUrl"},"type":{"type":"string","description":"Attribute type.","x-example":"string"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"x-nullable":true},"format":{"type":"string","description":"String format.","x-example":"url"},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"http:\/\/example.com","x-nullable":true}},"required":["key","type","status","error","required","format"]},"attributeDatetime":{"description":"AttributeDatetime","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"birthDay"},"type":{"type":"string","description":"Attribute type.","x-example":"datetime"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"x-nullable":true},"format":{"type":"string","description":"ISO 8601 format.","x-example":"datetime"},"default":{"type":"string","description":"Default value for attribute when not provided. Only null is optional","x-example":"2020-10-15T06:38:00.000+00:00","x-nullable":true}},"required":["key","type","status","error","required","format"]},"attributeRelationship":{"description":"AttributeRelationship","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"fullName"},"type":{"type":"string","description":"Attribute type.","x-example":"string"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"x-nullable":true},"relatedCollection":{"type":"string","description":"The ID of the related collection.","x-example":"collection"},"relationType":{"type":"string","description":"The type of the relationship.","x-example":"oneToOne|oneToMany|manyToOne|manyToMany"},"twoWay":{"type":"boolean","description":"Is the relationship two-way?","x-example":false},"twoWayKey":{"type":"string","description":"The key of the two-way relationship.","x-example":"string"},"onDelete":{"type":"string","description":"How deleting the parent document will propagate to child documents.","x-example":"restrict|cascade|setNull"},"side":{"type":"string","description":"Whether this is the parent or child side of the relationship","x-example":"parent|child"}},"required":["key","type","status","error","required","relatedCollection","relationType","twoWay","twoWayKey","onDelete","side"]},"index":{"description":"Index","type":"object","properties":{"key":{"type":"string","description":"Index Key.","x-example":"index1"},"type":{"type":"string","description":"Index type.","x-example":"primary"},"status":{"type":"string","description":"Index status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an index.","x-example":"string"},"attributes":{"type":"array","description":"Index attributes.","items":{"type":"string"},"x-example":[]},"orders":{"type":"array","description":"Index orders.","items":{"type":"string"},"x-example":[],"x-nullable":true}},"required":["key","type","status","error","attributes"]},"document":{"description":"Document","type":"object","properties":{"$id":{"type":"string","description":"Document ID.","x-example":"5e5ea5c16897e"},"$collectionId":{"type":"string","description":"Collection ID.","x-example":"5e5ea5c15117e"},"$databaseId":{"type":"string","description":"Database ID.","x-example":"5e5ea5c15117e"},"$createdAt":{"type":"string","description":"Document creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Document update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$permissions":{"type":"array","description":"Document permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","items":{"type":"string"},"x-example":["read(\"any\")"]}},"additionalProperties":true,"required":["$id","$collectionId","$databaseId","$createdAt","$updatedAt","$permissions"]},"log":{"description":"Log","type":"object","properties":{"event":{"type":"string","description":"Event name.","x-example":"account.sessions.create"},"userId":{"type":"string","description":"User ID.","x-example":"610fc2f985ee0"},"userEmail":{"type":"string","description":"User Email.","x-example":"john@appwrite.io"},"userName":{"type":"string","description":"User Name.","x-example":"John Doe"},"mode":{"type":"string","description":"API mode when event triggered.","x-example":"admin"},"ip":{"type":"string","description":"IP session in use when the session was created.","x-example":"127.0.0.1"},"time":{"type":"string","description":"Log creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"osCode":{"type":"string","description":"Operating system code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/os.json).","x-example":"Mac"},"osName":{"type":"string","description":"Operating system name.","x-example":"Mac"},"osVersion":{"type":"string","description":"Operating system version.","x-example":"Mac"},"clientType":{"type":"string","description":"Client type.","x-example":"browser"},"clientCode":{"type":"string","description":"Client code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/clients.json).","x-example":"CM"},"clientName":{"type":"string","description":"Client name.","x-example":"Chrome Mobile iOS"},"clientVersion":{"type":"string","description":"Client version.","x-example":"84.0"},"clientEngine":{"type":"string","description":"Client engine name.","x-example":"WebKit"},"clientEngineVersion":{"type":"string","description":"Client engine name.","x-example":"605.1.15"},"deviceName":{"type":"string","description":"Device name.","x-example":"smartphone"},"deviceBrand":{"type":"string","description":"Device brand name.","x-example":"Google"},"deviceModel":{"type":"string","description":"Device model name.","x-example":"Nexus 5"},"countryCode":{"type":"string","description":"Country two-character ISO 3166-1 alpha code.","x-example":"US"},"countryName":{"type":"string","description":"Country name.","x-example":"United States"}},"required":["event","userId","userEmail","userName","mode","ip","time","osCode","osName","osVersion","clientType","clientCode","clientName","clientVersion","clientEngine","clientEngineVersion","deviceName","deviceBrand","deviceModel","countryCode","countryName"]},"user":{"description":"User","type":"object","properties":{"$id":{"type":"string","description":"User ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"User creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"User update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"User name.","x-example":"John Doe"},"password":{"type":"string","description":"Hashed user password.","x-example":"$argon2id$v=19$m=2048,t=4,p=3$aUZjLnliVWRINmFNTWMudg$5S+x+7uA31xFnrHFT47yFwcJeaP0w92L\/4LdgrVRXxE","x-nullable":true},"hash":{"type":"string","description":"Password hashing algorithm.","x-example":"argon2","x-nullable":true},"hashOptions":{"type":"object","description":"Password hashing algorithm configuration.","x-example":{},"items":{"x-oneOf":[{"$ref":"#\/definitions\/algoArgon2"},{"$ref":"#\/definitions\/algoScrypt"},{"$ref":"#\/definitions\/algoScryptModified"},{"$ref":"#\/definitions\/algoBcrypt"},{"$ref":"#\/definitions\/algoPhpass"},{"$ref":"#\/definitions\/algoSha"},{"$ref":"#\/definitions\/algoMd5"}]},"x-nullable":true},"registration":{"type":"string","description":"User registration date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"status":{"type":"boolean","description":"User status. Pass `true` for enabled and `false` for disabled.","x-example":true},"labels":{"type":"array","description":"Labels for the user.","items":{"type":"string"},"x-example":["vip"]},"passwordUpdate":{"type":"string","description":"Password update time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"email":{"type":"string","description":"User email address.","x-example":"john@appwrite.io"},"phone":{"type":"string","description":"User phone number in E.164 format.","x-example":"+4930901820"},"emailVerification":{"type":"boolean","description":"Email verification status.","x-example":true},"phoneVerification":{"type":"boolean","description":"Phone verification status.","x-example":true},"mfa":{"type":"boolean","description":"Multi factor authentication status.","x-example":true},"prefs":{"type":"object","description":"User preferences as a key-value object","x-example":{"theme":"pink","timezone":"UTC"},"items":{"type":"object","$ref":"#\/definitions\/preferences"}},"targets":{"type":"array","description":"A user-owned message receiver. A single user may have multiple e.g. emails, phones, and a browser. Each target is registered with a single provider.","items":{"type":"object","$ref":"#\/definitions\/target"},"x-example":[]},"accessedAt":{"type":"string","description":"Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.","x-example":"2020-10-15T06:38:00.000+00:00"}},"required":["$id","$createdAt","$updatedAt","name","registration","status","labels","passwordUpdate","email","phone","emailVerification","phoneVerification","mfa","prefs","targets","accessedAt"]},"algoMd5":{"description":"AlgoMD5","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"md5"}},"required":["type"]},"algoSha":{"description":"AlgoSHA","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"sha"}},"required":["type"]},"algoPhpass":{"description":"AlgoPHPass","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"phpass"}},"required":["type"]},"algoBcrypt":{"description":"AlgoBcrypt","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"bcrypt"}},"required":["type"]},"algoScrypt":{"description":"AlgoScrypt","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"scrypt"},"costCpu":{"type":"integer","description":"CPU complexity of computed hash.","x-example":8,"format":"int32"},"costMemory":{"type":"integer","description":"Memory complexity of computed hash.","x-example":14,"format":"int32"},"costParallel":{"type":"integer","description":"Parallelization of computed hash.","x-example":1,"format":"int32"},"length":{"type":"integer","description":"Length used to compute hash.","x-example":64,"format":"int32"}},"required":["type","costCpu","costMemory","costParallel","length"]},"algoScryptModified":{"description":"AlgoScryptModified","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"scryptMod"},"salt":{"type":"string","description":"Salt used to compute hash.","x-example":"UxLMreBr6tYyjQ=="},"saltSeparator":{"type":"string","description":"Separator used to compute hash.","x-example":"Bw=="},"signerKey":{"type":"string","description":"Key used to compute hash.","x-example":"XyEKE9RcTDeLEsL\/RjwPDBv\/RqDl8fb3gpYEOQaPihbxf1ZAtSOHCjuAAa7Q3oHpCYhXSN9tizHgVOwn6krflQ=="}},"required":["type","salt","saltSeparator","signerKey"]},"algoArgon2":{"description":"AlgoArgon2","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"argon2"},"memoryCost":{"type":"integer","description":"Memory used to compute hash.","x-example":65536,"format":"int32"},"timeCost":{"type":"integer","description":"Amount of time consumed to compute hash","x-example":4,"format":"int32"},"threads":{"type":"integer","description":"Number of threads used to compute hash.","x-example":3,"format":"int32"}},"required":["type","memoryCost","timeCost","threads"]},"preferences":{"description":"Preferences","type":"object","additionalProperties":true},"session":{"description":"Session","type":"object","properties":{"$id":{"type":"string","description":"Session ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Session creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Session update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"userId":{"type":"string","description":"User ID.","x-example":"5e5bb8c16897e"},"expire":{"type":"string","description":"Session expiration date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"provider":{"type":"string","description":"Session Provider.","x-example":"email"},"providerUid":{"type":"string","description":"Session Provider User ID.","x-example":"user@example.com"},"providerAccessToken":{"type":"string","description":"Session Provider Access Token.","x-example":"MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3"},"providerAccessTokenExpiry":{"type":"string","description":"The date of when the access token expires in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"providerRefreshToken":{"type":"string","description":"Session Provider Refresh Token.","x-example":"MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3"},"ip":{"type":"string","description":"IP in use when the session was created.","x-example":"127.0.0.1"},"osCode":{"type":"string","description":"Operating system code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/os.json).","x-example":"Mac"},"osName":{"type":"string","description":"Operating system name.","x-example":"Mac"},"osVersion":{"type":"string","description":"Operating system version.","x-example":"Mac"},"clientType":{"type":"string","description":"Client type.","x-example":"browser"},"clientCode":{"type":"string","description":"Client code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/clients.json).","x-example":"CM"},"clientName":{"type":"string","description":"Client name.","x-example":"Chrome Mobile iOS"},"clientVersion":{"type":"string","description":"Client version.","x-example":"84.0"},"clientEngine":{"type":"string","description":"Client engine name.","x-example":"WebKit"},"clientEngineVersion":{"type":"string","description":"Client engine name.","x-example":"605.1.15"},"deviceName":{"type":"string","description":"Device name.","x-example":"smartphone"},"deviceBrand":{"type":"string","description":"Device brand name.","x-example":"Google"},"deviceModel":{"type":"string","description":"Device model name.","x-example":"Nexus 5"},"countryCode":{"type":"string","description":"Country two-character ISO 3166-1 alpha code.","x-example":"US"},"countryName":{"type":"string","description":"Country name.","x-example":"United States"},"current":{"type":"boolean","description":"Returns true if this the current user session.","x-example":true},"factors":{"type":"array","description":"Returns a list of active session factors.","items":{"type":"string"},"x-example":["email"]},"secret":{"type":"string","description":"Secret used to authenticate the user. Only included if the request was made with an API key","x-example":"5e5bb8c16897e"},"mfaUpdatedAt":{"type":"string","description":"Most recent date in ISO 8601 format when the session successfully passed MFA challenge.","x-example":"2020-10-15T06:38:00.000+00:00"}},"required":["$id","$createdAt","$updatedAt","userId","expire","provider","providerUid","providerAccessToken","providerAccessTokenExpiry","providerRefreshToken","ip","osCode","osName","osVersion","clientType","clientCode","clientName","clientVersion","clientEngine","clientEngineVersion","deviceName","deviceBrand","deviceModel","countryCode","countryName","current","factors","secret","mfaUpdatedAt"]},"identity":{"description":"Identity","type":"object","properties":{"$id":{"type":"string","description":"Identity ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Identity creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Identity update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"userId":{"type":"string","description":"User ID.","x-example":"5e5bb8c16897e"},"provider":{"type":"string","description":"Identity Provider.","x-example":"email"},"providerUid":{"type":"string","description":"ID of the User in the Identity Provider.","x-example":"5e5bb8c16897e"},"providerEmail":{"type":"string","description":"Email of the User in the Identity Provider.","x-example":"user@example.com"},"providerAccessToken":{"type":"string","description":"Identity Provider Access Token.","x-example":"MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3"},"providerAccessTokenExpiry":{"type":"string","description":"The date of when the access token expires in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"providerRefreshToken":{"type":"string","description":"Identity Provider Refresh Token.","x-example":"MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3"}},"required":["$id","$createdAt","$updatedAt","userId","provider","providerUid","providerEmail","providerAccessToken","providerAccessTokenExpiry","providerRefreshToken"]},"token":{"description":"Token","type":"object","properties":{"$id":{"type":"string","description":"Token ID.","x-example":"bb8ea5c16897e"},"$createdAt":{"type":"string","description":"Token creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"userId":{"type":"string","description":"User ID.","x-example":"5e5ea5c168bb8"},"secret":{"type":"string","description":"Token secret key. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.","x-example":""},"expire":{"type":"string","description":"Token expiration date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"phrase":{"type":"string","description":"Security phrase of a token. Empty if security phrase was not requested when creating a token. It includes randomly generated phrase which is also sent in the external resource such as email.","x-example":"Golden Fox"}},"required":["$id","$createdAt","userId","secret","expire","phrase"]},"jwt":{"description":"JWT","type":"object","properties":{"jwt":{"type":"string","description":"JWT encoded string.","x-example":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"}},"required":["jwt"]},"locale":{"description":"Locale","type":"object","properties":{"ip":{"type":"string","description":"User IP address.","x-example":"127.0.0.1"},"countryCode":{"type":"string","description":"Country code in [ISO 3166-1](http:\/\/en.wikipedia.org\/wiki\/ISO_3166-1) two-character format","x-example":"US"},"country":{"type":"string","description":"Country name. This field support localization.","x-example":"United States"},"continentCode":{"type":"string","description":"Continent code. A two character continent code \"AF\" for Africa, \"AN\" for Antarctica, \"AS\" for Asia, \"EU\" for Europe, \"NA\" for North America, \"OC\" for Oceania, and \"SA\" for South America.","x-example":"NA"},"continent":{"type":"string","description":"Continent name. This field support localization.","x-example":"North America"},"eu":{"type":"boolean","description":"True if country is part of the European Union.","x-example":false},"currency":{"type":"string","description":"Currency code in [ISO 4217-1](http:\/\/en.wikipedia.org\/wiki\/ISO_4217) three-character format","x-example":"USD"}},"required":["ip","countryCode","country","continentCode","continent","eu","currency"]},"localeCode":{"description":"LocaleCode","type":"object","properties":{"code":{"type":"string","description":"Locale codes in [ISO 639-1](https:\/\/en.wikipedia.org\/wiki\/List_of_ISO_639-1_codes)","x-example":"en-us"},"name":{"type":"string","description":"Locale name","x-example":"US"}},"required":["code","name"]},"file":{"description":"File","type":"object","properties":{"$id":{"type":"string","description":"File ID.","x-example":"5e5ea5c16897e"},"bucketId":{"type":"string","description":"Bucket ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"File creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"File update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$permissions":{"type":"array","description":"File permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","items":{"type":"string"},"x-example":["read(\"any\")"]},"name":{"type":"string","description":"File name.","x-example":"Pink.png"},"signature":{"type":"string","description":"File MD5 signature.","x-example":"5d529fd02b544198ae075bd57c1762bb"},"mimeType":{"type":"string","description":"File mime type.","x-example":"image\/png"},"sizeOriginal":{"type":"integer","description":"File original size in bytes.","x-example":17890,"format":"int32"},"chunksTotal":{"type":"integer","description":"Total number of chunks available","x-example":17890,"format":"int32"},"chunksUploaded":{"type":"integer","description":"Total number of chunks uploaded","x-example":17890,"format":"int32"}},"required":["$id","bucketId","$createdAt","$updatedAt","$permissions","name","signature","mimeType","sizeOriginal","chunksTotal","chunksUploaded"]},"bucket":{"description":"Bucket","type":"object","properties":{"$id":{"type":"string","description":"Bucket ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Bucket creation time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Bucket update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$permissions":{"type":"array","description":"Bucket permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","items":{"type":"string"},"x-example":["read(\"any\")"]},"fileSecurity":{"type":"boolean","description":"Whether file-level security is enabled. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":true},"name":{"type":"string","description":"Bucket name.","x-example":"Documents"},"enabled":{"type":"boolean","description":"Bucket enabled.","x-example":false},"maximumFileSize":{"type":"integer","description":"Maximum file size supported.","x-example":100,"format":"int32"},"allowedFileExtensions":{"type":"array","description":"Allowed file extensions.","items":{"type":"string"},"x-example":["jpg","png"]},"compression":{"type":"string","description":"Compression algorithm choosen for compression. Will be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd).","x-example":"gzip"},"encryption":{"type":"boolean","description":"Bucket is encrypted.","x-example":false},"antivirus":{"type":"boolean","description":"Virus scanning is enabled.","x-example":false}},"required":["$id","$createdAt","$updatedAt","$permissions","fileSecurity","name","enabled","maximumFileSize","allowedFileExtensions","compression","encryption","antivirus"]},"team":{"description":"Team","type":"object","properties":{"$id":{"type":"string","description":"Team ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Team creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Team update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"Team name.","x-example":"VIP"},"total":{"type":"integer","description":"Total number of team members.","x-example":7,"format":"int32"},"prefs":{"type":"object","description":"Team preferences as a key-value object","x-example":{"theme":"pink","timezone":"UTC"},"items":{"type":"object","$ref":"#\/definitions\/preferences"}}},"required":["$id","$createdAt","$updatedAt","name","total","prefs"]},"membership":{"description":"Membership","type":"object","properties":{"$id":{"type":"string","description":"Membership ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Membership creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Membership update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"userId":{"type":"string","description":"User ID.","x-example":"5e5ea5c16897e"},"userName":{"type":"string","description":"User name.","x-example":"John Doe"},"userEmail":{"type":"string","description":"User email address.","x-example":"john@appwrite.io"},"teamId":{"type":"string","description":"Team ID.","x-example":"5e5ea5c16897e"},"teamName":{"type":"string","description":"Team name.","x-example":"VIP"},"invited":{"type":"string","description":"Date, the user has been invited to join the team in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"joined":{"type":"string","description":"Date, the user has accepted the invitation to join the team in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"confirm":{"type":"boolean","description":"User confirmation status, true if the user has joined the team or false otherwise.","x-example":false},"mfa":{"type":"boolean","description":"Multi factor authentication status, true if the user has MFA enabled or false otherwise.","x-example":false},"roles":{"type":"array","description":"User list of roles","items":{"type":"string"},"x-example":["owner"]}},"required":["$id","$createdAt","$updatedAt","userId","userName","userEmail","teamId","teamName","invited","joined","confirm","mfa","roles"]},"function":{"description":"Function","type":"object","properties":{"$id":{"type":"string","description":"Function ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Function creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Function update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"execute":{"type":"array","description":"Execution permissions.","items":{"type":"string"},"x-example":"users"},"name":{"type":"string","description":"Function name.","x-example":"My Function"},"enabled":{"type":"boolean","description":"Function enabled.","x-example":false},"live":{"type":"boolean","description":"Is the function deployed with the latest configuration? This is set to false if you've changed an environment variables, entrypoint, commands, or other settings that needs redeploy to be applied. When the value is false, redeploy the function to update it with the latest configuration.","x-example":false},"logging":{"type":"boolean","description":"Whether executions will be logged. When set to false, executions will not be logged, but will reduce resource used by your Appwrite project.","x-example":false},"runtime":{"type":"string","description":"Function execution runtime.","x-example":"python-3.8"},"deployment":{"type":"string","description":"Function's active deployment ID.","x-example":"5e5ea5c16897e"},"vars":{"type":"array","description":"Function variables.","items":{"type":"object","$ref":"#\/definitions\/variable"},"x-example":[]},"events":{"type":"array","description":"Function trigger events.","items":{"type":"string"},"x-example":"account.create"},"schedule":{"type":"string","description":"Function execution schedult in CRON format.","x-example":"5 4 * * *"},"timeout":{"type":"integer","description":"Function execution timeout in seconds.","x-example":300,"format":"int32"},"entrypoint":{"type":"string","description":"The entrypoint file used to execute the deployment.","x-example":"index.js"},"commands":{"type":"string","description":"The build command used to build the deployment.","x-example":"npm install"},"version":{"type":"string","description":"Version of Open Runtimes used for the function.","x-example":"v2"},"installationId":{"type":"string","description":"Function VCS (Version Control System) installation id.","x-example":"6m40at4ejk5h2u9s1hboo"},"providerRepositoryId":{"type":"string","description":"VCS (Version Control System) Repository ID","x-example":"appwrite"},"providerBranch":{"type":"string","description":"VCS (Version Control System) branch name","x-example":"main"},"providerRootDirectory":{"type":"string","description":"Path to function in VCS (Version Control System) repository","x-example":"functions\/helloWorld"},"providerSilentMode":{"type":"boolean","description":"Is VCS (Version Control System) connection is in silent mode? When in silence mode, no comments will be posted on the repository pull or merge requests","x-example":false}},"required":["$id","$createdAt","$updatedAt","execute","name","enabled","live","logging","runtime","deployment","vars","events","schedule","timeout","entrypoint","commands","version","installationId","providerRepositoryId","providerBranch","providerRootDirectory","providerSilentMode"]},"installation":{"description":"Installation","type":"object","properties":{"$id":{"type":"string","description":"Function ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Function creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Function update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"provider":{"type":"string","description":"VCS (Version Control System) provider name.","x-example":"github"},"organization":{"type":"string","description":"VCS (Version Control System) organization name.","x-example":"appwrite"},"providerInstallationId":{"type":"string","description":"VCS (Version Control System) installation ID.","x-example":"5322"}},"required":["$id","$createdAt","$updatedAt","provider","organization","providerInstallationId"]},"providerRepository":{"description":"ProviderRepository","type":"object","properties":{"id":{"type":"string","description":"VCS (Version Control System) repository ID.","x-example":"5e5ea5c16897e"},"name":{"type":"string","description":"VCS (Version Control System) repository name.","x-example":"appwrite"},"organization":{"type":"string","description":"VCS (Version Control System) organization name","x-example":"appwrite"},"provider":{"type":"string","description":"VCS (Version Control System) provider name.","x-example":"github"},"private":{"type":"boolean","description":"Is VCS (Version Control System) repository private?","x-example":true},"runtime":{"type":"string","description":"Auto-detected runtime suggestion. Empty if getting response of getRuntime().","x-example":"node"},"pushedAt":{"type":"string","description":"Last commit date in ISO 8601 format.","x-example":"datetime"}},"required":["id","name","organization","provider","private","runtime","pushedAt"]},"detection":{"description":"Detection","type":"object","properties":{"runtime":{"type":"string","description":"Runtime","x-example":"node"}},"required":["runtime"]},"branch":{"description":"Branch","type":"object","properties":{"name":{"type":"string","description":"Branch Name.","x-example":"main"}},"required":["name"]},"runtime":{"description":"Runtime","type":"object","properties":{"$id":{"type":"string","description":"Runtime ID.","x-example":"python-3.8"},"name":{"type":"string","description":"Runtime Name.","x-example":"Python"},"version":{"type":"string","description":"Runtime version.","x-example":"3.8"},"base":{"type":"string","description":"Base Docker image used to build the runtime.","x-example":"python:3.8-alpine"},"image":{"type":"string","description":"Image name of Docker Hub.","x-example":"appwrite\\\/runtime-for-python:3.8"},"logo":{"type":"string","description":"Name of the logo image.","x-example":"python.png"},"supports":{"type":"array","description":"List of supported architectures.","items":{"type":"string"},"x-example":"amd64"}},"required":["$id","name","version","base","image","logo","supports"]},"deployment":{"description":"Deployment","type":"object","properties":{"$id":{"type":"string","description":"Deployment ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Deployment creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Deployment update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"type":{"type":"string","description":"Type of deployment.","x-example":"vcs"},"resourceId":{"type":"string","description":"Resource ID.","x-example":"5e5ea6g16897e"},"resourceType":{"type":"string","description":"Resource type.","x-example":"functions"},"entrypoint":{"type":"string","description":"The entrypoint file to use to execute the deployment code.","x-example":"index.js"},"size":{"type":"integer","description":"The code size in bytes.","x-example":128,"format":"int32"},"buildId":{"type":"string","description":"The current build ID.","x-example":"5e5ea5c16897e"},"activate":{"type":"boolean","description":"Whether the deployment should be automatically activated.","x-example":true},"status":{"type":"string","description":"The deployment status. Possible values are \"processing\", \"building\", \"waiting\", \"ready\", and \"failed\".","x-example":"ready"},"buildLogs":{"type":"string","description":"The build logs.","x-example":"Compiling source files..."},"buildTime":{"type":"integer","description":"The current build time in seconds.","x-example":128,"format":"int32"},"providerRepositoryName":{"type":"string","description":"The name of the vcs provider repository","x-example":"database"},"providerRepositoryOwner":{"type":"string","description":"The name of the vcs provider repository owner","x-example":"utopia"},"providerRepositoryUrl":{"type":"string","description":"The url of the vcs provider repository","x-example":"https:\/\/github.com\/vermakhushboo\/g4-node-function"},"providerBranch":{"type":"string","description":"The branch of the vcs repository","x-example":"0.7.x"},"providerCommitHash":{"type":"string","description":"The commit hash of the vcs commit","x-example":"7c3f25d"},"providerCommitAuthorUrl":{"type":"string","description":"The url of vcs commit author","x-example":"https:\/\/github.com\/vermakhushboo"},"providerCommitAuthor":{"type":"string","description":"The name of vcs commit author","x-example":"Khushboo Verma"},"providerCommitMessage":{"type":"string","description":"The commit message","x-example":"Update index.js"},"providerCommitUrl":{"type":"string","description":"The url of the vcs commit","x-example":"https:\/\/github.com\/vermakhushboo\/g4-node-function\/commit\/60c0416257a9cbcdd96b2d370c38d8f8d150ccfb"},"providerBranchUrl":{"type":"string","description":"The branch of the vcs repository","x-example":"https:\/\/github.com\/vermakhushboo\/appwrite\/tree\/0.7.x"}},"required":["$id","$createdAt","$updatedAt","type","resourceId","resourceType","entrypoint","size","buildId","activate","status","buildLogs","buildTime","providerRepositoryName","providerRepositoryOwner","providerRepositoryUrl","providerBranch","providerCommitHash","providerCommitAuthorUrl","providerCommitAuthor","providerCommitMessage","providerCommitUrl","providerBranchUrl"]},"execution":{"description":"Execution","type":"object","properties":{"$id":{"type":"string","description":"Execution ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Execution creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Execution upate date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$permissions":{"type":"array","description":"Execution roles.","items":{"type":"string"},"x-example":["any"]},"functionId":{"type":"string","description":"Function ID.","x-example":"5e5ea6g16897e"},"trigger":{"type":"string","description":"The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.","x-example":"http"},"status":{"type":"string","description":"The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, or `failed`.","x-example":"processing"},"requestMethod":{"type":"string","description":"HTTP request method type.","x-example":"GET"},"requestPath":{"type":"string","description":"HTTP request path and query.","x-example":"\/articles?id=5"},"requestHeaders":{"type":"array","description":"HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.","items":{"type":"object","$ref":"#\/definitions\/headers"},"x-example":[{"Content-Type":"application\/json"}]},"responseStatusCode":{"type":"integer","description":"HTTP response status code.","x-example":200,"format":"int32"},"responseBody":{"type":"string","description":"HTTP response body. This will return empty unless execution is created as synchronous.","x-example":"Developers are awesome."},"responseHeaders":{"type":"array","description":"HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.","items":{"type":"object","$ref":"#\/definitions\/headers"},"x-example":[{"Content-Type":"application\/json"}]},"logs":{"type":"string","description":"Function logs. Includes the last 4,000 characters. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.","x-example":""},"errors":{"type":"string","description":"Function errors. Includes the last 4,000 characters. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.","x-example":""},"duration":{"type":"number","description":"Function execution duration in seconds.","x-example":0.4,"format":"double"}},"required":["$id","$createdAt","$updatedAt","$permissions","functionId","trigger","status","requestMethod","requestPath","requestHeaders","responseStatusCode","responseBody","responseHeaders","logs","errors","duration"]},"project":{"description":"Project","type":"object","properties":{"$id":{"type":"string","description":"Project ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Project creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Project update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"Project name.","x-example":"New Project"},"description":{"type":"string","description":"Project description.","x-example":"This is a new project."},"teamId":{"type":"string","description":"Project team ID.","x-example":"1592981250"},"logo":{"type":"string","description":"Project logo file ID.","x-example":"5f5c451b403cb"},"url":{"type":"string","description":"Project website URL.","x-example":"5f5c451b403cb"},"legalName":{"type":"string","description":"Company legal name.","x-example":"Company LTD."},"legalCountry":{"type":"string","description":"Country code in [ISO 3166-1](http:\/\/en.wikipedia.org\/wiki\/ISO_3166-1) two-character format.","x-example":"US"},"legalState":{"type":"string","description":"State name.","x-example":"New York"},"legalCity":{"type":"string","description":"City name.","x-example":"New York City."},"legalAddress":{"type":"string","description":"Company Address.","x-example":"620 Eighth Avenue, New York, NY 10018"},"legalTaxId":{"type":"string","description":"Company Tax ID.","x-example":"131102020"},"authDuration":{"type":"integer","description":"Session duration in seconds.","x-example":60,"format":"int32"},"authLimit":{"type":"integer","description":"Max users allowed. 0 is unlimited.","x-example":100,"format":"int32"},"authSessionsLimit":{"type":"integer","description":"Max sessions allowed per user. 100 maximum.","x-example":10,"format":"int32"},"authPasswordHistory":{"type":"integer","description":"Max allowed passwords in the history list per user. Max passwords limit allowed in history is 20. Use 0 for disabling password history.","x-example":5,"format":"int32"},"authPasswordDictionary":{"type":"boolean","description":"Whether or not to check user's password against most commonly used passwords.","x-example":true},"authPersonalDataCheck":{"type":"boolean","description":"Whether or not to check the user password for similarity with their personal data.","x-example":true},"oAuthProviders":{"type":"array","description":"List of Auth Providers.","items":{"type":"object","$ref":"#\/definitions\/authProvider"},"x-example":[{}]},"platforms":{"type":"array","description":"List of Platforms.","items":{"type":"object","$ref":"#\/definitions\/platform"},"x-example":{}},"webhooks":{"type":"array","description":"List of Webhooks.","items":{"type":"object","$ref":"#\/definitions\/webhook"},"x-example":{}},"keys":{"type":"array","description":"List of API Keys.","items":{"type":"object","$ref":"#\/definitions\/key"},"x-example":{}},"smtpEnabled":{"type":"boolean","description":"Status for custom SMTP","x-example":false},"smtpSenderName":{"type":"string","description":"SMTP sender name","x-example":"John Appwrite"},"smtpSenderEmail":{"type":"string","description":"SMTP sender email","x-example":"john@appwrite.io"},"smtpReplyTo":{"type":"string","description":"SMTP reply to email","x-example":"support@appwrite.io"},"smtpHost":{"type":"string","description":"SMTP server host name","x-example":"mail.appwrite.io"},"smtpPort":{"type":"integer","description":"SMTP server port","x-example":25,"format":"int32"},"smtpUsername":{"type":"string","description":"SMTP server username","x-example":"emailuser"},"smtpPassword":{"type":"string","description":"SMTP server password","x-example":"securepassword"},"smtpSecure":{"type":"string","description":"SMTP server secure protocol","x-example":"tls"},"authEmailPassword":{"type":"boolean","description":"Email\/Password auth method status","x-example":true},"authUsersAuthMagicURL":{"type":"boolean","description":"Magic URL auth method status","x-example":true},"authEmailOtp":{"type":"boolean","description":"Email (OTP) auth method status","x-example":true},"authAnonymous":{"type":"boolean","description":"Anonymous auth method status","x-example":true},"authInvites":{"type":"boolean","description":"Invites auth method status","x-example":true},"authJWT":{"type":"boolean","description":"JWT auth method status","x-example":true},"authPhone":{"type":"boolean","description":"Phone auth method status","x-example":true},"serviceStatusForAccount":{"type":"boolean","description":"Account service status","x-example":true},"serviceStatusForAvatars":{"type":"boolean","description":"Avatars service status","x-example":true},"serviceStatusForDatabases":{"type":"boolean","description":"Databases service status","x-example":true},"serviceStatusForLocale":{"type":"boolean","description":"Locale service status","x-example":true},"serviceStatusForHealth":{"type":"boolean","description":"Health service status","x-example":true},"serviceStatusForStorage":{"type":"boolean","description":"Storage service status","x-example":true},"serviceStatusForTeams":{"type":"boolean","description":"Teams service status","x-example":true},"serviceStatusForUsers":{"type":"boolean","description":"Users service status","x-example":true},"serviceStatusForFunctions":{"type":"boolean","description":"Functions service status","x-example":true},"serviceStatusForGraphql":{"type":"boolean","description":"GraphQL service status","x-example":true},"serviceStatusForMessaging":{"type":"boolean","description":"Messaging service status","x-example":true}},"required":["$id","$createdAt","$updatedAt","name","description","teamId","logo","url","legalName","legalCountry","legalState","legalCity","legalAddress","legalTaxId","authDuration","authLimit","authSessionsLimit","authPasswordHistory","authPasswordDictionary","authPersonalDataCheck","oAuthProviders","platforms","webhooks","keys","smtpEnabled","smtpSenderName","smtpSenderEmail","smtpReplyTo","smtpHost","smtpPort","smtpUsername","smtpPassword","smtpSecure","authEmailPassword","authUsersAuthMagicURL","authEmailOtp","authAnonymous","authInvites","authJWT","authPhone","serviceStatusForAccount","serviceStatusForAvatars","serviceStatusForDatabases","serviceStatusForLocale","serviceStatusForHealth","serviceStatusForStorage","serviceStatusForTeams","serviceStatusForUsers","serviceStatusForFunctions","serviceStatusForGraphql","serviceStatusForMessaging"]},"webhook":{"description":"Webhook","type":"object","properties":{"$id":{"type":"string","description":"Webhook ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Webhook creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Webhook update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"Webhook name.","x-example":"My Webhook"},"url":{"type":"string","description":"Webhook URL endpoint.","x-example":"https:\/\/example.com\/webhook"},"events":{"type":"array","description":"Webhook trigger events.","items":{"type":"string"},"x-example":"database.collections.update"},"security":{"type":"boolean","description":"Indicated if SSL \/ TLS Certificate verification is enabled.","x-example":true},"httpUser":{"type":"string","description":"HTTP basic authentication username.","x-example":"username"},"httpPass":{"type":"string","description":"HTTP basic authentication password.","x-example":"password"},"signatureKey":{"type":"string","description":"Signature key which can be used to validated incoming","x-example":"ad3d581ca230e2b7059c545e5a"},"enabled":{"type":"boolean","description":"Indicates if this webhook is enabled.","x-example":true},"logs":{"type":"string","description":"Webhook error logs from the most recent failure.","x-example":"Failed to connect to remote server."},"attempts":{"type":"integer","description":"Number of consecutive failed webhook attempts.","x-example":10,"format":"int32"}},"required":["$id","$createdAt","$updatedAt","name","url","events","security","httpUser","httpPass","signatureKey","enabled","logs","attempts"]},"key":{"description":"Key","type":"object","properties":{"$id":{"type":"string","description":"Key ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Key creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Key update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"Key name.","x-example":"My API Key"},"expire":{"type":"string","description":"Key expiration date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"scopes":{"type":"array","description":"Allowed permission scopes.","items":{"type":"string"},"x-example":"users.read"},"secret":{"type":"string","description":"Secret key.","x-example":"919c2d18fb5d4...a2ae413da83346ad2"},"accessedAt":{"type":"string","description":"Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.","x-example":"2020-10-15T06:38:00.000+00:00"},"sdks":{"type":"array","description":"List of SDK user agents that used this key.","items":{"type":"string"},"x-example":"appwrite:flutter"}},"required":["$id","$createdAt","$updatedAt","name","expire","scopes","secret","accessedAt","sdks"]},"authProvider":{"description":"AuthProvider","type":"object","properties":{"key":{"type":"string","description":"Auth Provider.","x-example":"github"},"name":{"type":"string","description":"Auth Provider name.","x-example":"GitHub"},"appId":{"type":"string","description":"OAuth 2.0 application ID.","x-example":"259125845563242502"},"secret":{"type":"string","description":"OAuth 2.0 application secret. Might be JSON string if provider requires extra configuration.","x-example":"Bpw_g9c2TGXxfgLshDbSaL8tsCcqgczQ"},"enabled":{"type":"boolean","description":"Auth Provider is active and can be used to create session.","x-example":""}},"required":["key","name","appId","secret","enabled"]},"platform":{"description":"Platform","type":"object","properties":{"$id":{"type":"string","description":"Platform ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Platform creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Platform update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"Platform name.","x-example":"My Web App"},"type":{"type":"string","description":"Platform type. Possible values are: web, flutter-web, flutter-ios, flutter-android, ios, android, and unity.","x-example":"web"},"key":{"type":"string","description":"Platform Key. iOS bundle ID or Android package name. Empty string for other platforms.","x-example":"com.company.appname"},"store":{"type":"string","description":"App store or Google Play store ID.","x-example":""},"hostname":{"type":"string","description":"Web app hostname. Empty string for other platforms.","x-example":true},"httpUser":{"type":"string","description":"HTTP basic authentication username.","x-example":"username"},"httpPass":{"type":"string","description":"HTTP basic authentication password.","x-example":"password"}},"required":["$id","$createdAt","$updatedAt","name","type","key","store","hostname","httpUser","httpPass"]},"variable":{"description":"Variable","type":"object","properties":{"$id":{"type":"string","description":"Variable ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Variable creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Variable creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"key":{"type":"string","description":"Variable key.","x-example":"API_KEY"},"value":{"type":"string","description":"Variable value.","x-example":"myPa$$word1"},"resourceType":{"type":"string","description":"Service to which the variable belongs. Possible values are \"project\", \"function\"","x-example":"function"},"resourceId":{"type":"string","description":"ID of resource to which the variable belongs. If resourceType is \"project\", it is empty. If resourceType is \"function\", it is ID of the function.","x-example":"myAwesomeFunction"}},"required":["$id","$createdAt","$updatedAt","key","value","resourceType","resourceId"]},"country":{"description":"Country","type":"object","properties":{"name":{"type":"string","description":"Country name.","x-example":"United States"},"code":{"type":"string","description":"Country two-character ISO 3166-1 alpha code.","x-example":"US"}},"required":["name","code"]},"continent":{"description":"Continent","type":"object","properties":{"name":{"type":"string","description":"Continent name.","x-example":"Europe"},"code":{"type":"string","description":"Continent two letter code.","x-example":"EU"}},"required":["name","code"]},"language":{"description":"Language","type":"object","properties":{"name":{"type":"string","description":"Language name.","x-example":"Italian"},"code":{"type":"string","description":"Language two-character ISO 639-1 codes.","x-example":"it"},"nativeName":{"type":"string","description":"Language native name.","x-example":"Italiano"}},"required":["name","code","nativeName"]},"currency":{"description":"Currency","type":"object","properties":{"symbol":{"type":"string","description":"Currency symbol.","x-example":"$"},"name":{"type":"string","description":"Currency name.","x-example":"US dollar"},"symbolNative":{"type":"string","description":"Currency native symbol.","x-example":"$"},"decimalDigits":{"type":"integer","description":"Number of decimal digits.","x-example":2,"format":"int32"},"rounding":{"type":"number","description":"Currency digit rounding.","x-example":0,"format":"double"},"code":{"type":"string","description":"Currency code in [ISO 4217-1](http:\/\/en.wikipedia.org\/wiki\/ISO_4217) three-character format.","x-example":"USD"},"namePlural":{"type":"string","description":"Currency plural name","x-example":"US dollars"}},"required":["symbol","name","symbolNative","decimalDigits","rounding","code","namePlural"]},"phone":{"description":"Phone","type":"object","properties":{"code":{"type":"string","description":"Phone code.","x-example":"+1"},"countryCode":{"type":"string","description":"Country two-character ISO 3166-1 alpha code.","x-example":"US"},"countryName":{"type":"string","description":"Country name.","x-example":"United States"}},"required":["code","countryCode","countryName"]},"healthAntivirus":{"description":"Health Antivirus","type":"object","properties":{"version":{"type":"string","description":"Antivirus version.","x-example":"1.0.0"},"status":{"type":"string","description":"Antivirus status. Possible values can are: `disabled`, `offline`, `online`","x-example":"online"}},"required":["version","status"]},"healthQueue":{"description":"Health Queue","type":"object","properties":{"size":{"type":"integer","description":"Amount of actions in the queue.","x-example":8,"format":"int32"}},"required":["size"]},"healthStatus":{"description":"Health Status","type":"object","properties":{"name":{"type":"string","description":"Name of the service.","x-example":"database"},"ping":{"type":"integer","description":"Duration in milliseconds how long the health check took.","x-example":128,"format":"int32"},"status":{"type":"string","description":"Service status. Possible values can are: `pass`, `fail`","x-example":"pass"}},"required":["name","ping","status"]},"healthCertificate":{"description":"Health Certificate","type":"object","properties":{"name":{"type":"string","description":"Certificate name","x-example":"\/CN=www.google.com"},"subjectSN":{"type":"string","description":"Subject SN","x-example":""},"issuerOrganisation":{"type":"string","description":"Issuer organisation","x-example":""},"validFrom":{"type":"string","description":"Valid from","x-example":"1704200998"},"validTo":{"type":"string","description":"Valid to","x-example":"1711458597"},"signatureTypeSN":{"type":"string","description":"Signature type SN","x-example":"RSA-SHA256"}},"required":["name","subjectSN","issuerOrganisation","validFrom","validTo","signatureTypeSN"]},"healthTime":{"description":"Health Time","type":"object","properties":{"remoteTime":{"type":"integer","description":"Current unix timestamp on trustful remote server.","x-example":1639490751,"format":"int32"},"localTime":{"type":"integer","description":"Current unix timestamp of local server where Appwrite runs.","x-example":1639490844,"format":"int32"},"diff":{"type":"integer","description":"Difference of unix remote and local timestamps in milliseconds.","x-example":93,"format":"int32"}},"required":["remoteTime","localTime","diff"]},"metric":{"description":"Metric","type":"object","properties":{"value":{"type":"integer","description":"The value of this metric at the timestamp.","x-example":1,"format":"int32"},"date":{"type":"string","description":"The date at which this metric was aggregated in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"}},"required":["value","date"]},"metricBreakdown":{"description":"Metric Breakdown","type":"object","properties":{"resourceId":{"type":"string","description":"Resource ID.","x-example":"5e5ea5c16897e"},"name":{"type":"string","description":"Resource name.","x-example":"Documents"},"value":{"type":"integer","description":"The value of this metric at the timestamp.","x-example":1,"format":"int32"}},"required":["resourceId","name","value"]},"usageDatabases":{"description":"UsageDatabases","type":"object","properties":{"range":{"type":"string","description":"Time range of the usage stats.","x-example":"30d"},"databasesTotal":{"type":"integer","description":"Total aggregated number of databases.","x-example":0,"format":"int32"},"collectionsTotal":{"type":"integer","description":"Total aggregated number of collections.","x-example":0,"format":"int32"},"documentsTotal":{"type":"integer","description":"Total aggregated number of documents.","x-example":0,"format":"int32"},"databases":{"type":"array","description":"Aggregated number of databases per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]},"collections":{"type":"array","description":"Aggregated number of collections per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]},"documents":{"type":"array","description":"Aggregated number of documents per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]}},"required":["range","databasesTotal","collectionsTotal","documentsTotal","databases","collections","documents"]},"usageDatabase":{"description":"UsageDatabase","type":"object","properties":{"range":{"type":"string","description":"Time range of the usage stats.","x-example":"30d"},"collectionsTotal":{"type":"integer","description":"Total aggregated number of collections.","x-example":0,"format":"int32"},"documentsTotal":{"type":"integer","description":"Total aggregated number of documents.","x-example":0,"format":"int32"},"collections":{"type":"array","description":"Aggregated number of collections per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]},"documents":{"type":"array","description":"Aggregated number of documents per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]}},"required":["range","collectionsTotal","documentsTotal","collections","documents"]},"usageCollection":{"description":"UsageCollection","type":"object","properties":{"range":{"type":"string","description":"Time range of the usage stats.","x-example":"30d"},"documentsTotal":{"type":"integer","description":"Total aggregated number of of documents.","x-example":0,"format":"int32"},"documents":{"type":"array","description":"Aggregated number of documents per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]}},"required":["range","documentsTotal","documents"]},"usageUsers":{"description":"UsageUsers","type":"object","properties":{"range":{"type":"string","description":"Time range of the usage stats.","x-example":"30d"},"usersTotal":{"type":"integer","description":"Total aggregated number of statistics of users.","x-example":0,"format":"int32"},"sessionsTotal":{"type":"integer","description":"Total aggregated number of active sessions.","x-example":0,"format":"int32"},"users":{"type":"array","description":"Aggregated number of users per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]},"sessions":{"type":"array","description":"Aggregated number of active sessions per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]}},"required":["range","usersTotal","sessionsTotal","users","sessions"]},"usageStorage":{"description":"StorageUsage","type":"object","properties":{"range":{"type":"string","description":"Time range of the usage stats.","x-example":"30d"},"bucketsTotal":{"type":"integer","description":"Total aggregated number of buckets","x-example":0,"format":"int32"},"filesTotal":{"type":"integer","description":"Total aggregated number of files.","x-example":0,"format":"int32"},"filesStorageTotal":{"type":"integer","description":"Total aggregated number of files storage (in bytes).","x-example":0,"format":"int32"},"buckets":{"type":"array","description":"Aggregated number of buckets per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]},"files":{"type":"array","description":"Aggregated number of files per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]},"storage":{"type":"array","description":"Aggregated number of files storage (in bytes) per period .","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]}},"required":["range","bucketsTotal","filesTotal","filesStorageTotal","buckets","files","storage"]},"usageBuckets":{"description":"UsageBuckets","type":"object","properties":{"range":{"type":"string","description":"Time range of the usage stats.","x-example":"30d"},"filesTotal":{"type":"integer","description":"Total aggregated number of bucket files.","x-example":0,"format":"int32"},"filesStorageTotal":{"type":"integer","description":"Total aggregated number of bucket files storage (in bytes).","x-example":0,"format":"int32"},"files":{"type":"array","description":"Aggregated number of bucket files per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]},"storage":{"type":"array","description":"Aggregated number of bucket storage files (in bytes) per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]}},"required":["range","filesTotal","filesStorageTotal","files","storage"]},"usageFunctions":{"description":"UsageFunctions","type":"object","properties":{"range":{"type":"string","description":"Time range of the usage stats.","x-example":"30d"},"functionsTotal":{"type":"integer","description":"Total aggregated number of functions.","x-example":0,"format":"int32"},"deploymentsTotal":{"type":"integer","description":"Total aggregated number of functions deployments.","x-example":0,"format":"int32"},"deploymentsStorageTotal":{"type":"integer","description":"Total aggregated sum of functions deployment storage.","x-example":0,"format":"int32"},"buildsTotal":{"type":"integer","description":"Total aggregated number of functions build.","x-example":0,"format":"int32"},"buildsStorageTotal":{"type":"integer","description":"total aggregated sum of functions build storage.","x-example":0,"format":"int32"},"buildsTimeTotal":{"type":"integer","description":"Total aggregated sum of functions build compute time.","x-example":0,"format":"int32"},"buildsMbSecondsTotal":{"type":"integer","description":"Total aggregated sum of functions build mbSeconds.","x-example":0,"format":"int32"},"executionsTotal":{"type":"integer","description":"Total aggregated number of functions execution.","x-example":0,"format":"int32"},"executionsTimeTotal":{"type":"integer","description":"Total aggregated sum of functions execution compute time.","x-example":0,"format":"int32"},"executionsMbSecondsTotal":{"type":"integer","description":"Total aggregated sum of functions execution mbSeconds.","x-example":0,"format":"int32"},"functions":{"type":"array","description":"Aggregated number of functions per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":0},"deployments":{"type":"array","description":"Aggregated number of functions deployment per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]},"deploymentsStorage":{"type":"array","description":"Aggregated number of functions deployment storage per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]},"builds":{"type":"array","description":"Aggregated number of functions build per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]},"buildsStorage":{"type":"array","description":"Aggregated sum of functions build storage per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]},"buildsTime":{"type":"array","description":"Aggregated sum of functions build compute time per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]},"buildsMbSeconds":{"type":"array","description":"Aggregated sum of functions build mbSeconds per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]},"executions":{"type":"array","description":"Aggregated number of functions execution per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]},"executionsTime":{"type":"array","description":"Aggregated number of functions execution compute time per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]},"executionsMbSeconds":{"type":"array","description":"Aggregated number of functions mbSeconds per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]}},"required":["range","functionsTotal","deploymentsTotal","deploymentsStorageTotal","buildsTotal","buildsStorageTotal","buildsTimeTotal","buildsMbSecondsTotal","executionsTotal","executionsTimeTotal","executionsMbSecondsTotal","functions","deployments","deploymentsStorage","builds","buildsStorage","buildsTime","buildsMbSeconds","executions","executionsTime","executionsMbSeconds"]},"usageFunction":{"description":"UsageFunction","type":"object","properties":{"range":{"type":"string","description":"The time range of the usage stats.","x-example":"30d"},"deploymentsTotal":{"type":"integer","description":"Total aggregated number of function deployments.","x-example":0,"format":"int32"},"deploymentsStorageTotal":{"type":"integer","description":"Total aggregated sum of function deployments storage.","x-example":0,"format":"int32"},"buildsTotal":{"type":"integer","description":"Total aggregated number of function builds.","x-example":0,"format":"int32"},"buildsStorageTotal":{"type":"integer","description":"total aggregated sum of function builds storage.","x-example":0,"format":"int32"},"buildsTimeTotal":{"type":"integer","description":"Total aggregated sum of function builds compute time.","x-example":0,"format":"int32"},"buildsMbSecondsTotal":{"type":"integer","description":"Total aggregated sum of function builds mbSeconds.","x-example":0,"format":"int32"},"executionsTotal":{"type":"integer","description":"Total aggregated number of function executions.","x-example":0,"format":"int32"},"executionsTimeTotal":{"type":"integer","description":"Total aggregated sum of function executions compute time.","x-example":0,"format":"int32"},"executionsMbSecondsTotal":{"type":"integer","description":"Total aggregated sum of function executions mbSeconds.","x-example":0,"format":"int32"},"deployments":{"type":"array","description":"Aggregated number of function deployments per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]},"deploymentsStorage":{"type":"array","description":"Aggregated number of function deployments storage per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]},"builds":{"type":"array","description":"Aggregated number of function builds per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]},"buildsStorage":{"type":"array","description":"Aggregated sum of function builds storage per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]},"buildsTime":{"type":"array","description":"Aggregated sum of function builds compute time per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]},"buildsMbSeconds":{"type":"array","description":"Aggregated number of function builds mbSeconds per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]},"executions":{"type":"array","description":"Aggregated number of function executions per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]},"executionsTime":{"type":"array","description":"Aggregated number of function executions compute time per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]},"executionsMbSeconds":{"type":"array","description":"Aggregated number of function mbSeconds per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]}},"required":["range","deploymentsTotal","deploymentsStorageTotal","buildsTotal","buildsStorageTotal","buildsTimeTotal","buildsMbSecondsTotal","executionsTotal","executionsTimeTotal","executionsMbSecondsTotal","deployments","deploymentsStorage","builds","buildsStorage","buildsTime","buildsMbSeconds","executions","executionsTime","executionsMbSeconds"]},"usageProject":{"description":"UsageProject","type":"object","properties":{"executionsTotal":{"type":"integer","description":"Total aggregated number of function executions.","x-example":0,"format":"int32"},"documentsTotal":{"type":"integer","description":"Total aggregated number of documents.","x-example":0,"format":"int32"},"databasesTotal":{"type":"integer","description":"Total aggregated number of databases.","x-example":0,"format":"int32"},"usersTotal":{"type":"integer","description":"Total aggregated number of users.","x-example":0,"format":"int32"},"filesStorageTotal":{"type":"integer","description":"Total aggregated sum of files storage size (in bytes).","x-example":0,"format":"int32"},"deploymentsStorageTotal":{"type":"integer","description":"Total aggregated sum of deployments storage size (in bytes).","x-example":0,"format":"int32"},"bucketsTotal":{"type":"integer","description":"Total aggregated number of buckets.","x-example":0,"format":"int32"},"executionsMbSecondsTotal":{"type":"integer","description":"Total aggregated number of function executions mbSeconds.","x-example":0,"format":"int32"},"buildsMbSecondsTotal":{"type":"integer","description":"Total aggregated number of function builds mbSeconds.","x-example":0,"format":"int32"},"requests":{"type":"array","description":"Aggregated number of requests per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]},"network":{"type":"array","description":"Aggregated number of consumed bandwidth per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]},"users":{"type":"array","description":"Aggregated number of users per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]},"executions":{"type":"array","description":"Aggregated number of executions per period.","items":{"type":"object","$ref":"#\/definitions\/metric"},"x-example":[]},"executionsBreakdown":{"type":"array","description":"Aggregated breakdown in totals of executions by functions.","items":{"type":"object","$ref":"#\/definitions\/metricBreakdown"},"x-example":[]},"bucketsBreakdown":{"type":"array","description":"Aggregated breakdown in totals of usage by buckets.","items":{"type":"object","$ref":"#\/definitions\/metricBreakdown"},"x-example":[]},"executionsMbSecondsBreakdown":{"type":"array","description":"Aggregated breakdown in totals of execution mbSeconds by functions.","items":{"type":"object","$ref":"#\/definitions\/metricBreakdown"},"x-example":[]},"buildsMbSecondsBreakdown":{"type":"array","description":"Aggregated breakdown in totals of build mbSeconds by functions.","items":{"type":"object","$ref":"#\/definitions\/metricBreakdown"},"x-example":[]},"deploymentsStorageBreakdown":{"type":"array","description":"Aggregated breakdown in totals of deployments storage size (in bytes).","items":{"type":"object","$ref":"#\/definitions\/metricBreakdown"},"x-example":[]}},"required":["executionsTotal","documentsTotal","databasesTotal","usersTotal","filesStorageTotal","deploymentsStorageTotal","bucketsTotal","executionsMbSecondsTotal","buildsMbSecondsTotal","requests","network","users","executions","executionsBreakdown","bucketsBreakdown","executionsMbSecondsBreakdown","buildsMbSecondsBreakdown","deploymentsStorageBreakdown"]},"headers":{"description":"Headers","type":"object","properties":{"name":{"type":"string","description":"Header name.","x-example":"Content-Type"},"value":{"type":"string","description":"Header value.","x-example":"application\/json"}},"required":["name","value"]},"proxyRule":{"description":"Rule","type":"object","properties":{"$id":{"type":"string","description":"Rule ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Rule creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Rule update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"domain":{"type":"string","description":"Domain name.","x-example":"appwrite.company.com"},"resourceType":{"type":"string","description":"Action definition for the rule. Possible values are \"api\", \"function\", or \"redirect\"","x-example":"function"},"resourceId":{"type":"string","description":"ID of resource for the action type. If resourceType is \"api\" or \"url\", it is empty. If resourceType is \"function\", it is ID of the function.","x-example":"myAwesomeFunction"},"status":{"type":"string","description":"Domain verification status. Possible values are \"created\", \"verifying\", \"verified\" and \"unverified\"","x-example":"verified"},"logs":{"type":"string","description":"Certificate generation logs. This will return an empty string if generation did not run, or succeeded.","x-example":"HTTP challegne failed."},"renewAt":{"type":"string","description":"Certificate auto-renewal date in ISO 8601 format.","x-example":"datetime"}},"required":["$id","$createdAt","$updatedAt","domain","resourceType","resourceId","status","logs","renewAt"]},"smsTemplate":{"description":"SmsTemplate","type":"object","properties":{"type":{"type":"string","description":"Template type","x-example":"verification"},"locale":{"type":"string","description":"Template locale","x-example":"en_us"},"message":{"type":"string","description":"Template message","x-example":"Click on the link to verify your account."}},"required":["type","locale","message"]},"emailTemplate":{"description":"EmailTemplate","type":"object","properties":{"type":{"type":"string","description":"Template type","x-example":"verification"},"locale":{"type":"string","description":"Template locale","x-example":"en_us"},"message":{"type":"string","description":"Template message","x-example":"Click on the link to verify your account."},"senderName":{"type":"string","description":"Name of the sender","x-example":"My User"},"senderEmail":{"type":"string","description":"Email of the sender","x-example":"mail@appwrite.io"},"replyTo":{"type":"string","description":"Reply to email address","x-example":"emails@appwrite.io"},"subject":{"type":"string","description":"Email subject","x-example":"Please verify your email address"}},"required":["type","locale","message","senderName","senderEmail","replyTo","subject"]},"consoleVariables":{"description":"Console Variables","type":"object","properties":{"_APP_DOMAIN_TARGET":{"type":"string","description":"CNAME target for your Appwrite custom domains.","x-example":"appwrite.io"},"_APP_STORAGE_LIMIT":{"type":"integer","description":"Maximum file size allowed for file upload in bytes.","x-example":"30000000","format":"int32"},"_APP_FUNCTIONS_SIZE_LIMIT":{"type":"integer","description":"Maximum file size allowed for deployment in bytes.","x-example":"30000000","format":"int32"},"_APP_USAGE_STATS":{"type":"string","description":"Defines if usage stats are enabled. This value is set to 'enabled' by default, to disable the usage stats set the value to 'disabled'.","x-example":"enabled"},"_APP_VCS_ENABLED":{"type":"boolean","description":"Defines if VCS (Version Control System) is enabled.","x-example":true},"_APP_DOMAIN_ENABLED":{"type":"boolean","description":"Defines if main domain is configured. If so, custom domains can be created.","x-example":true},"_APP_ASSISTANT_ENABLED":{"type":"boolean","description":"Defines if AI assistant is enabled.","x-example":true}},"required":["_APP_DOMAIN_TARGET","_APP_STORAGE_LIMIT","_APP_FUNCTIONS_SIZE_LIMIT","_APP_USAGE_STATS","_APP_VCS_ENABLED","_APP_DOMAIN_ENABLED","_APP_ASSISTANT_ENABLED"]},"mfaChallenge":{"description":"MFA Challenge","type":"object","properties":{"$id":{"type":"string","description":"Token ID.","x-example":"bb8ea5c16897e"},"$createdAt":{"type":"string","description":"Token creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"userId":{"type":"string","description":"User ID.","x-example":"5e5ea5c168bb8"},"expire":{"type":"string","description":"Token expiration date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"}},"required":["$id","$createdAt","userId","expire"]},"mfaRecoveryCodes":{"description":"MFA Recovery Codes","type":"object","properties":{"recoveryCodes":{"type":"array","description":"Recovery codes.","items":{"type":"string"},"x-example":["a3kf0-s0cl2","s0co1-as98s"]}},"required":["recoveryCodes"]},"mfaType":{"description":"MFAType","type":"object","properties":{"secret":{"type":"string","description":"Secret token used for TOTP factor.","x-example":true},"uri":{"type":"string","description":"URI for authenticator apps.","x-example":true}},"required":["secret","uri"]},"mfaFactors":{"description":"MFAFactors","type":"object","properties":{"totp":{"type":"boolean","description":"Can TOTP be used for MFA challenge for this account.","x-example":true},"phone":{"type":"boolean","description":"Can phone (SMS) be used for MFA challenge for this account.","x-example":true},"email":{"type":"boolean","description":"Can email be used for MFA challenge for this account.","x-example":true},"recoveryCode":{"type":"boolean","description":"Can recovery code be used for MFA challenge for this account.","x-example":true}},"required":["totp","phone","email","recoveryCode"]},"provider":{"description":"Provider","type":"object","properties":{"$id":{"type":"string","description":"Provider ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Provider creation time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Provider update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"The name for the provider instance.","x-example":"Mailgun"},"provider":{"type":"string","description":"The name of the provider service.","x-example":"mailgun"},"enabled":{"type":"boolean","description":"Is provider enabled?","x-example":true},"type":{"type":"string","description":"Type of provider.","x-example":"sms"},"credentials":{"type":"object","additionalProperties":true,"description":"Provider credentials.","x-example":{"key":"123456789"}},"options":{"type":"object","additionalProperties":true,"description":"Provider options.","x-example":{"from":"sender-email@mydomain"}}},"required":["$id","$createdAt","$updatedAt","name","provider","enabled","type","credentials"]},"message":{"description":"Message","type":"object","properties":{"$id":{"type":"string","description":"Message ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Message creation time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Message update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"providerType":{"type":"string","description":"Message provider type.","x-example":"email"},"topics":{"type":"array","description":"Topic IDs set as recipients.","items":{"type":"string"},"x-example":["5e5ea5c16897e"]},"users":{"type":"array","description":"User IDs set as recipients.","items":{"type":"string"},"x-example":["5e5ea5c16897e"]},"targets":{"type":"array","description":"Target IDs set as recipients.","items":{"type":"string"},"x-example":["5e5ea5c16897e"]},"scheduledAt":{"type":"string","description":"The scheduled time for message.","x-example":"2020-10-15T06:38:00.000+00:00","x-nullable":true},"deliveredAt":{"type":"string","description":"The time when the message was delivered.","x-example":"2020-10-15T06:38:00.000+00:00","x-nullable":true},"deliveryErrors":{"type":"array","description":"Delivery errors if any.","items":{"type":"string"},"x-example":["Failed to send message to target 5e5ea5c16897e: Credentials not valid."],"x-nullable":true},"deliveredTotal":{"type":"integer","description":"Number of recipients the message was delivered to.","x-example":1,"format":"int32"},"data":{"type":"object","additionalProperties":true,"description":"Data of the message.","x-example":{"subject":"Welcome to Appwrite","content":"Hi there, welcome to Appwrite family."}},"status":{"type":"string","description":"Status of delivery.","x-example":"Message status can be one of the following: draft, processing, scheduled, sent, or failed."}},"required":["$id","$createdAt","$updatedAt","providerType","topics","users","targets","deliveredTotal","data","status"]},"topic":{"description":"Topic","type":"object","properties":{"$id":{"type":"string","description":"Topic ID.","x-example":"259125845563242502"},"$createdAt":{"type":"string","description":"Topic creation time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Topic update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"The name of the topic.","x-example":"events"},"emailTotal":{"type":"integer","description":"Total count of email subscribers subscribed to the topic.","x-example":100,"format":"int32"},"smsTotal":{"type":"integer","description":"Total count of SMS subscribers subscribed to the topic.","x-example":100,"format":"int32"},"pushTotal":{"type":"integer","description":"Total count of push subscribers subscribed to the topic.","x-example":100,"format":"int32"},"subscribe":{"type":"array","description":"Subscribe permissions.","items":{"type":"string"},"x-example":"users"}},"required":["$id","$createdAt","$updatedAt","name","emailTotal","smsTotal","pushTotal","subscribe"]},"subscriber":{"description":"Subscriber","type":"object","properties":{"$id":{"type":"string","description":"Subscriber ID.","x-example":"259125845563242502"},"$createdAt":{"type":"string","description":"Subscriber creation time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Subscriber update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"targetId":{"type":"string","description":"Target ID.","x-example":"259125845563242502"},"target":{"type":"object","description":"Target.","x-example":{"$id":"259125845563242502","$createdAt":"2020-10-15T06:38:00.000+00:00","$updatedAt":"2020-10-15T06:38:00.000+00:00","providerType":"email","providerId":"259125845563242502","name":"ageon-app-email","identifier":"random-mail@email.org","userId":"5e5ea5c16897e"},"items":{"type":"object","$ref":"#\/definitions\/target"}},"userId":{"type":"string","description":"Topic ID.","x-example":"5e5ea5c16897e"},"userName":{"type":"string","description":"User Name.","x-example":"Aegon Targaryen"},"topicId":{"type":"string","description":"Topic ID.","x-example":"259125845563242502"},"providerType":{"type":"string","description":"The target provider type. Can be one of the following: `email`, `sms` or `push`.","x-example":"email"}},"required":["$id","$createdAt","$updatedAt","targetId","target","userId","userName","topicId","providerType"]},"target":{"description":"Target","type":"object","properties":{"$id":{"type":"string","description":"Target ID.","x-example":"259125845563242502"},"$createdAt":{"type":"string","description":"Target creation time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Target update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"Target Name.","x-example":"Aegon apple token"},"userId":{"type":"string","description":"User ID.","x-example":"259125845563242502"},"providerId":{"type":"string","description":"Provider ID.","x-example":"259125845563242502","x-nullable":true},"providerType":{"type":"string","description":"The target provider type. Can be one of the following: `email`, `sms` or `push`.","x-example":"email"},"identifier":{"type":"string","description":"The target identifier.","x-example":"token"}},"required":["$id","$createdAt","$updatedAt","name","userId","providerType","identifier"]},"migration":{"description":"Migration","type":"object","properties":{"$id":{"type":"string","description":"Migration ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Variable creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Variable creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"status":{"type":"string","description":"Migration status ( pending, processing, failed, completed ) ","x-example":"pending"},"stage":{"type":"string","description":"Migration stage ( init, processing, source-check, destination-check, migrating, finished )","x-example":"init"},"source":{"type":"string","description":"A string containing the type of source of the migration.","x-example":"Appwrite"},"resources":{"type":"array","description":"Resources to migration.","items":{"type":"string"},"x-example":["user"]},"statusCounters":{"type":"object","additionalProperties":true,"description":"A group of counters that represent the total progress of the migration.","x-example":"{\"Database\": {\"PENDING\": 0, \"SUCCESS\": 1, \"ERROR\": 0, \"SKIP\": 0, \"PROCESSING\": 0, \"WARNING\": 0}}"},"resourceData":{"type":"object","additionalProperties":true,"description":"An array of objects containing the report data of the resources that were migrated.","x-example":"[{\"resource\":\"Database\",\"id\":\"public\",\"status\":\"SUCCESS\",\"message\":\"\"}]"},"errors":{"type":"array","description":"All errors that occurred during the migration process.","items":{"type":"string"},"x-example":[]}},"required":["$id","$createdAt","$updatedAt","status","stage","source","resources","statusCounters","resourceData","errors"]},"migrationReport":{"description":"Migration Report","type":"object","properties":{"user":{"type":"integer","description":"Number of users to be migrated.","x-example":20,"format":"int32"},"team":{"type":"integer","description":"Number of teams to be migrated.","x-example":20,"format":"int32"},"database":{"type":"integer","description":"Number of databases to be migrated.","x-example":20,"format":"int32"},"document":{"type":"integer","description":"Number of documents to be migrated.","x-example":20,"format":"int32"},"file":{"type":"integer","description":"Number of files to be migrated.","x-example":20,"format":"int32"},"bucket":{"type":"integer","description":"Number of buckets to be migrated.","x-example":20,"format":"int32"},"function":{"type":"integer","description":"Number of functions to be migrated.","x-example":20,"format":"int32"},"size":{"type":"integer","description":"Size of files to be migrated in mb.","x-example":30000,"format":"int32"},"version":{"type":"string","description":"Version of the Appwrite instance to be migrated.","x-example":"1.4.0"}},"required":["user","team","database","document","file","bucket","function","size","version"]},"firebaseProject":{"description":"MigrationFirebaseProject","type":"object","properties":{"projectId":{"type":"string","description":"Project ID.","x-example":"my-project"},"displayName":{"type":"string","description":"Project display name.","x-example":"My Project"}},"required":["projectId","displayName"]}},"externalDocs":{"description":"Full API docs, specs and tutorials","url":"https:\/\/appwrite.io\/docs"}} \ No newline at end of file +{ + "swagger": "2.0", + "info": { + "version": "1.6.2", + "title": "Appwrite", + "description": "Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https:\/\/appwrite.io\/docs](https:\/\/appwrite.io\/docs)", + "termsOfService": "https:\/\/appwrite.io\/policy\/terms", + "contact": { + "name": "Appwrite Team", + "url": "https:\/\/appwrite.io\/support", + "email": "team@appwrite.io" + }, + "license": { + "name": "BSD-3-Clause", + "url": "https:\/\/raw.githubusercontent.com\/appwrite\/appwrite\/master\/LICENSE" + } + }, + "host": "<REGION>.cloud.appwrite.io", + "basePath": "\/v1", + "schemes": [ + "https" + ], + "consumes": [ + "application\/json", + "multipart\/form-data" + ], + "produces": [ + "application\/json" + ], + "securityDefinitions": { + "Project": { + "type": "apiKey", + "name": "X-Appwrite-Project", + "description": "Your project ID", + "in": "header", + "x-appwrite": { + "demo": "<YOUR_PROJECT_ID>" + } + }, + "Key": { + "type": "apiKey", + "name": "X-Appwrite-Key", + "description": "Your secret API key", + "in": "header", + "x-appwrite": { + "demo": "<YOUR_API_KEY>" + } + }, + "JWT": { + "type": "apiKey", + "name": "X-Appwrite-JWT", + "description": "Your secret JSON Web Token", + "in": "header", + "x-appwrite": { + "demo": "<YOUR_JWT>" + } + }, + "Locale": { + "type": "apiKey", + "name": "X-Appwrite-Locale", + "description": "", + "in": "header", + "x-appwrite": { + "demo": "en" + } + }, + "Mode": { + "type": "apiKey", + "name": "X-Appwrite-Mode", + "description": "", + "in": "header", + "x-appwrite": { + "demo": "" + } + } + }, + "paths": { + "\/account": { + "get": { + "summary": "Get account", + "operationId": "accountGet", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Get the currently logged in user.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "get", + "group": "account", + "weight": 9, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ] + }, + "post": { + "summary": "Create account", + "operationId": "accountCreate", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to allow a new user to register a new account in your project. After the user registration completes successfully, you can use the [\/account\/verfication](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createVerification) route to start verifying the user email address. To allow the new user to login to their new account, you need to create a new [account session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createEmailSession).", + "responses": { + "201": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "create", + "group": "account", + "weight": 8, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "New user password. Must be between 8 and 256 chars.", + "default": null, + "x-example": null + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "default": "", + "x-example": "<NAME>" + } + }, + "required": [ + "userId", + "email", + "password" + ] + } + } + ] + }, + "delete": { + "summary": "Delete account", + "operationId": "accountDelete", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "account" + ], + "description": "Delete the currently logged in user.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "delete", + "group": "account", + "weight": 10, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/delete.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ] + } + }, + "\/account\/email": { + "patch": { + "summary": "Update email", + "operationId": "accountUpdateEmail", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Update currently logged in user account email address. After changing user address, the user confirmation status will get reset. A new confirmation email is not sent automatically however you can use the send confirmation email endpoint again to send the confirmation email. For security measures, user password is required to complete this request.\nThis endpoint can also be used to convert an anonymous account to a normal one, by passing an email address and a new password.\n", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updateEmail", + "group": "account", + "weight": 34, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-email.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password. Must be at least 8 chars.", + "default": null, + "x-example": "password" + } + }, + "required": [ + "email", + "password" + ] + } + } + ] + } + }, + "\/account\/identities": { + "get": { + "summary": "List identities", + "operationId": "accountListIdentities", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Get the list of identities for the currently logged in user.", + "responses": { + "200": { + "description": "Identities List", + "schema": { + "$ref": "#\/definitions\/identityList" + } + } + }, + "x-appwrite": { + "method": "listIdentities", + "group": "identities", + "weight": 57, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/list-identities.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-identities.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, provider, providerUid, providerEmail, providerAccessTokenExpiry", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + } + }, + "\/account\/identities\/{identityId}": { + "delete": { + "summary": "Delete identity", + "operationId": "accountDeleteIdentity", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "account" + ], + "description": "Delete an identity by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteIdentity", + "group": "identities", + "weight": 58, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/delete-identity.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-identity.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "identityId", + "description": "Identity ID.", + "required": true, + "type": "string", + "x-example": "<IDENTITY_ID>", + "in": "path" + } + ] + } + }, + "\/account\/jwts": { + "post": { + "summary": "Create JWT", + "operationId": "accountCreateJWT", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to create a JSON Web Token. You can use the resulting JWT to authenticate on behalf of the current user when working with the Appwrite server-side API and SDKs. The JWT secret is valid for 15 minutes from its creation and will be invalid if the user will logout in that time frame.", + "responses": { + "201": { + "description": "JWT", + "schema": { + "$ref": "#\/definitions\/jwt" + } + } + }, + "x-appwrite": { + "method": "createJWT", + "group": "tokens", + "weight": 29, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-j-w-t.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md", + "rate-limit": 100, + "rate-time": 3600, + "rate-key": "url:{url},userId:{userId}", + "scope": "account", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ] + } + }, + "\/account\/logs": { + "get": { + "summary": "List logs", + "operationId": "accountListLogs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Get the list of latest security activity logs for the currently logged in user. Each log returns user IP address, location and date and time of log.", + "responses": { + "200": { + "description": "Logs List", + "schema": { + "$ref": "#\/definitions\/logList" + } + } + }, + "x-appwrite": { + "method": "listLogs", + "group": "logs", + "weight": 31, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/list-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + } + }, + "\/account\/mfa": { + "patch": { + "summary": "Update MFA", + "operationId": "accountUpdateMFA", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Enable or disable MFA on an account.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updateMFA", + "group": "mfa", + "weight": 44, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-m-f-a.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "mfa": { + "type": "boolean", + "description": "Enable or disable MFA.", + "default": null, + "x-example": false + } + }, + "required": [ + "mfa" + ] + } + } + ] + } + }, + "\/account\/mfa\/authenticators\/{type}": { + "post": { + "summary": "Create authenticator", + "operationId": "accountCreateMfaAuthenticator", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Add an authenticator app to be used as an MFA factor. Verify the authenticator using the [verify authenticator](\/docs\/references\/cloud\/client-web\/account#updateMfaAuthenticator) method.", + "responses": { + "200": { + "description": "MFAType", + "schema": { + "$ref": "#\/definitions\/mfaType" + } + } + }, + "x-appwrite": { + "method": "createMfaAuthenticator", + "group": "mfa", + "weight": 46, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-mfa-authenticator.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-authenticator.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "type", + "description": "Type of authenticator. Must be `totp`", + "required": true, + "type": "string", + "x-example": "totp", + "enum": [ + "totp" + ], + "x-enum-name": "AuthenticatorType", + "x-enum-keys": [], + "in": "path" + } + ] + }, + "put": { + "summary": "Update authenticator (confirmation)", + "operationId": "accountUpdateMfaAuthenticator", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Verify an authenticator app after adding it using the [add authenticator](\/docs\/references\/cloud\/client-web\/account#createMfaAuthenticator) method.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updateMfaAuthenticator", + "group": "mfa", + "weight": 47, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-mfa-authenticator.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-authenticator.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "type", + "description": "Type of authenticator.", + "required": true, + "type": "string", + "x-example": "totp", + "enum": [ + "totp" + ], + "x-enum-name": "AuthenticatorType", + "x-enum-keys": [], + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "otp": { + "type": "string", + "description": "Valid verification token.", + "default": null, + "x-example": "<OTP>" + } + }, + "required": [ + "otp" + ] + } + } + ] + }, + "delete": { + "summary": "Delete authenticator", + "operationId": "accountDeleteMfaAuthenticator", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "account" + ], + "description": "Delete an authenticator for a user by ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteMfaAuthenticator", + "group": "mfa", + "weight": 51, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/delete-mfa-authenticator.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-mfa-authenticator.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "type", + "description": "Type of authenticator.", + "required": true, + "type": "string", + "x-example": "totp", + "enum": [ + "totp" + ], + "x-enum-name": "AuthenticatorType", + "x-enum-keys": [], + "in": "path" + } + ] + } + }, + "\/account\/mfa\/challenge": { + "post": { + "summary": "Create MFA challenge", + "operationId": "accountCreateMfaChallenge", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Begin the process of MFA verification after sign-in. Finish the flow with [updateMfaChallenge](\/docs\/references\/cloud\/client-web\/account#updateMfaChallenge) method.", + "responses": { + "201": { + "description": "MFA Challenge", + "schema": { + "$ref": "#\/definitions\/mfaChallenge" + } + } + }, + "x-appwrite": { + "method": "createMfaChallenge", + "group": "mfa", + "weight": 52, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-mfa-challenge.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},userId:{userId}", + "scope": "account", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "factor": { + "type": "string", + "description": "Factor used for verification. Must be one of following: `email`, `phone`, `totp`, `recoveryCode`.", + "default": null, + "x-example": "email", + "enum": [ + "email", + "phone", + "totp", + "recoverycode" + ], + "x-enum-name": "AuthenticationFactor", + "x-enum-keys": [] + } + }, + "required": [ + "factor" + ] + } + } + ] + }, + "put": { + "summary": "Update MFA challenge (confirmation)", + "operationId": "accountUpdateMfaChallenge", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Complete the MFA challenge by providing the one-time password. Finish the process of MFA verification by providing the one-time password. To begin the flow, use [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method.", + "responses": { + "200": { + "description": "Session", + "schema": { + "$ref": "#\/definitions\/session" + } + } + }, + "x-appwrite": { + "method": "updateMfaChallenge", + "group": "mfa", + "weight": 53, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-mfa-challenge.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},challengeId:{param-challengeId}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "challengeId": { + "type": "string", + "description": "ID of the challenge.", + "default": null, + "x-example": "<CHALLENGE_ID>" + }, + "otp": { + "type": "string", + "description": "Valid verification token.", + "default": null, + "x-example": "<OTP>" + } + }, + "required": [ + "challengeId", + "otp" + ] + } + } + ] + } + }, + "\/account\/mfa\/factors": { + "get": { + "summary": "List factors", + "operationId": "accountListMfaFactors", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "List the factors available on the account to be used as a MFA challange.", + "responses": { + "200": { + "description": "MFAFactors", + "schema": { + "$ref": "#\/definitions\/mfaFactors" + } + } + }, + "x-appwrite": { + "method": "listMfaFactors", + "group": "mfa", + "weight": 45, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/list-mfa-factors.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-mfa-factors.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ] + } + }, + "\/account\/mfa\/recovery-codes": { + "get": { + "summary": "List MFA recovery codes", + "operationId": "accountGetMfaRecoveryCodes", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Get recovery codes that can be used as backup for MFA flow. Before getting codes, they must be generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method. An OTP challenge is required to read recovery codes.", + "responses": { + "200": { + "description": "MFA Recovery Codes", + "schema": { + "$ref": "#\/definitions\/mfaRecoveryCodes" + } + } + }, + "x-appwrite": { + "method": "getMfaRecoveryCodes", + "group": "mfa", + "weight": 50, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/get-mfa-recovery-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-mfa-recovery-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ] + }, + "post": { + "summary": "Create MFA recovery codes", + "operationId": "accountCreateMfaRecoveryCodes", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Generate recovery codes as backup for MFA flow. It's recommended to generate and show then immediately after user successfully adds their authehticator. Recovery codes can be used as a MFA verification type in [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method.", + "responses": { + "201": { + "description": "MFA Recovery Codes", + "schema": { + "$ref": "#\/definitions\/mfaRecoveryCodes" + } + } + }, + "x-appwrite": { + "method": "createMfaRecoveryCodes", + "group": "mfa", + "weight": 48, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-mfa-recovery-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-recovery-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ] + }, + "patch": { + "summary": "Update MFA recovery codes (regenerate)", + "operationId": "accountUpdateMfaRecoveryCodes", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Regenerate recovery codes that can be used as backup for MFA flow. Before regenerating codes, they must be first generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method. An OTP challenge is required to regenreate recovery codes.", + "responses": { + "200": { + "description": "MFA Recovery Codes", + "schema": { + "$ref": "#\/definitions\/mfaRecoveryCodes" + } + } + }, + "x-appwrite": { + "method": "updateMfaRecoveryCodes", + "group": "mfa", + "weight": 49, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-mfa-recovery-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-recovery-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ] + } + }, + "\/account\/name": { + "patch": { + "summary": "Update name", + "operationId": "accountUpdateName", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Update currently logged in user account name.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updateName", + "group": "account", + "weight": 32, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-name.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-name.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "default": null, + "x-example": "<NAME>" + } + }, + "required": [ + "name" + ] + } + } + ] + } + }, + "\/account\/password": { + "patch": { + "summary": "Update password", + "operationId": "accountUpdatePassword", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Update currently logged in user password. For validation, user is required to pass in the new password, and the old password. For users created with OAuth, Team Invites and Magic URL, oldPassword is optional.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updatePassword", + "group": "account", + "weight": 33, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-password.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-password.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "password": { + "type": "string", + "description": "New user password. Must be at least 8 chars.", + "default": null, + "x-example": null + }, + "oldPassword": { + "type": "string", + "description": "Current user password. Must be at least 8 chars.", + "default": "", + "x-example": "password" + } + }, + "required": [ + "password" + ] + } + } + ] + } + }, + "\/account\/phone": { + "patch": { + "summary": "Update phone", + "operationId": "accountUpdatePhone", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Update the currently logged in user's phone number. After updating the phone number, the phone verification status will be reset. A confirmation SMS is not sent automatically, however you can use the [POST \/account\/verification\/phone](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createPhoneVerification) endpoint to send a confirmation SMS.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updatePhone", + "group": "account", + "weight": 35, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-phone.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "phone": { + "type": "string", + "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "default": null, + "x-example": "+12065550100" + }, + "password": { + "type": "string", + "description": "User password. Must be at least 8 chars.", + "default": null, + "x-example": "password" + } + }, + "required": [ + "phone", + "password" + ] + } + } + ] + } + }, + "\/account\/prefs": { + "get": { + "summary": "Get account preferences", + "operationId": "accountGetPrefs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Get the preferences as a key-value object for the currently logged in user.", + "responses": { + "200": { + "description": "Preferences", + "schema": { + "$ref": "#\/definitions\/preferences" + } + } + }, + "x-appwrite": { + "method": "getPrefs", + "group": "account", + "weight": 30, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/get-prefs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-prefs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ] + }, + "patch": { + "summary": "Update preferences", + "operationId": "accountUpdatePrefs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Update currently logged in user account preferences. The object you pass is stored as is, and replaces any previous value. The maximum allowed prefs size is 64kB and throws error if exceeded.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updatePrefs", + "group": "account", + "weight": 36, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-prefs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-prefs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "prefs": { + "type": "object", + "description": "Prefs key-value JSON object.", + "default": {}, + "x-example": "{}" + } + }, + "required": [ + "prefs" + ] + } + } + ] + } + }, + "\/account\/recovery": { + "post": { + "summary": "Create password recovery", + "operationId": "accountCreateRecovery", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Sends the user an email with a temporary secret key for password reset. When the user clicks the confirmation link he is redirected back to your app password reset URL with the secret key and email address values attached to the URL query string. Use the query string params to submit a request to the [PUT \/account\/recovery](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateRecovery) endpoint to complete the process. The verification link sent to the user's email address is valid for 1 hour.", + "responses": { + "201": { + "description": "Token", + "schema": { + "$ref": "#\/definitions\/token" + } + } + }, + "x-appwrite": { + "method": "createRecovery", + "group": "recovery", + "weight": 38, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-recovery.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-recovery.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": [ + "url:{url},email:{param-email}", + "url:{url},ip:{ip}" + ], + "scope": "sessions.write", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "url": { + "type": "string", + "description": "URL to redirect the user back to your app from the recovery email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "default": null, + "x-example": "https:\/\/example.com" + } + }, + "required": [ + "email", + "url" + ] + } + } + ] + }, + "put": { + "summary": "Update password recovery (confirmation)", + "operationId": "accountUpdateRecovery", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to complete the user account password reset. Both the **userId** and **secret** arguments will be passed as query parameters to the redirect URL you have provided when sending your request to the [POST \/account\/recovery](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createRecovery) endpoint.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md) the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.", + "responses": { + "200": { + "description": "Token", + "schema": { + "$ref": "#\/definitions\/token" + } + } + }, + "x-appwrite": { + "method": "updateRecovery", + "group": "recovery", + "weight": 39, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-recovery.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-recovery.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},userId:{param-userId}", + "scope": "sessions.write", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID.", + "default": null, + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Valid reset token.", + "default": null, + "x-example": "<SECRET>" + }, + "password": { + "type": "string", + "description": "New user password. Must be between 8 and 256 chars.", + "default": null, + "x-example": null + } + }, + "required": [ + "userId", + "secret", + "password" + ] + } + } + ] + } + }, + "\/account\/sessions": { + "get": { + "summary": "List sessions", + "operationId": "accountListSessions", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Get the list of active sessions across different devices for the currently logged in user.", + "responses": { + "200": { + "description": "Sessions List", + "schema": { + "$ref": "#\/definitions\/sessionList" + } + } + }, + "x-appwrite": { + "method": "listSessions", + "group": "sessions", + "weight": 11, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/list-sessions.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-sessions.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ] + }, + "delete": { + "summary": "Delete sessions", + "operationId": "accountDeleteSessions", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "account" + ], + "description": "Delete all sessions from the user account and remove any sessions cookies from the end client.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteSessions", + "group": "sessions", + "weight": 12, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/delete-sessions.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-sessions.md", + "rate-limit": 100, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ] + } + }, + "\/account\/sessions\/anonymous": { + "post": { + "summary": "Create anonymous session", + "operationId": "accountCreateAnonymousSession", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to allow a new user to register an anonymous account in your project. This route will also create a new session for the user. To allow the new user to convert an anonymous account to a normal account, you need to update its [email and password](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateEmail) or create an [OAuth2 session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#CreateOAuth2Session).", + "responses": { + "201": { + "description": "Session", + "schema": { + "$ref": "#\/definitions\/session" + } + } + }, + "x-appwrite": { + "method": "createAnonymousSession", + "group": "sessions", + "weight": 17, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-anonymous-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-anonymous.md", + "rate-limit": 50, + "rate-time": 3600, + "rate-key": "ip:{ip}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ] + } + }, + "\/account\/sessions\/email": { + "post": { + "summary": "Create email password session", + "operationId": "accountCreateEmailPasswordSession", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Allow the user to login into their account by providing a valid email and password combination. This route will create a new session for the user.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).", + "responses": { + "201": { + "description": "Session", + "schema": { + "$ref": "#\/definitions\/session" + } + } + }, + "x-appwrite": { + "method": "createEmailPasswordSession", + "group": "sessions", + "weight": 16, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-email-password-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-email-password.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},email:{param-email}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password. Must be at least 8 chars.", + "default": null, + "x-example": "password" + } + }, + "required": [ + "email", + "password" + ] + } + } + ] + } + }, + "\/account\/sessions\/magic-url": { + "put": { + "summary": "Update magic URL session", + "operationId": "accountUpdateMagicURLSession", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.", + "responses": { + "201": { + "description": "Session", + "schema": { + "$ref": "#\/definitions\/session" + } + } + }, + "x-appwrite": { + "method": "updateMagicURLSession", + "group": "sessions", + "weight": 26, + "cookies": false, + "type": "", + "deprecated": true, + "demo": "account\/update-magic-u-r-l-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "ip:{ip},userId:{param-userId}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Valid verification token.", + "default": null, + "x-example": "<SECRET>" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + ] + } + }, + "\/account\/sessions\/oauth2\/{provider}": { + "get": { + "summary": "Create OAuth2 session", + "operationId": "accountCreateOAuth2Session", + "consumes": [ + "application\/json" + ], + "produces": [ + "text\/html" + ], + "tags": [ + "account" + ], + "description": "Allow the user to login to their account using the OAuth2 provider of their choice. Each OAuth2 provider should be enabled from the Appwrite console first. Use the success and failure arguments to provide a redirect URL's back to your app when login is completed.\n\nIf there is already an active session, the new session will be attached to the logged-in account. If there are no active sessions, the server will attempt to look for a user with the same email address as the email received from the OAuth2 provider and attach the new session to the existing user. If no matching user is found - the server will create a new user.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).\n", + "responses": { + "301": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "createOAuth2Session", + "group": "sessions", + "weight": 19, + "cookies": false, + "type": "webAuth", + "deprecated": false, + "demo": "account\/create-o-auth2session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-oauth2.md", + "rate-limit": 50, + "rate-time": 3600, + "rate-key": "ip:{ip}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "provider", + "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", + "required": true, + "type": "string", + "x-example": "amazon", + "enum": [ + "amazon", + "apple", + "auth0", + "authentik", + "autodesk", + "bitbucket", + "bitly", + "box", + "dailymotion", + "discord", + "disqus", + "dropbox", + "etsy", + "facebook", + "figma", + "github", + "gitlab", + "google", + "linkedin", + "microsoft", + "notion", + "oidc", + "okta", + "paypal", + "paypalSandbox", + "podio", + "salesforce", + "slack", + "spotify", + "stripe", + "tradeshift", + "tradeshiftBox", + "twitch", + "wordpress", + "yahoo", + "yammer", + "yandex", + "zoho", + "zoom", + "mock" + ], + "x-enum-name": "OAuthProvider", + "x-enum-keys": [], + "in": "path" + }, + { + "name": "success", + "description": "URL to redirect back to your app after a successful login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "required": false, + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com", + "default": "", + "in": "query" + }, + { + "name": "failure", + "description": "URL to redirect back to your app after a failed login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "required": false, + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com", + "default": "", + "in": "query" + }, + { + "name": "scopes", + "description": "A list of custom OAuth2 scopes. Check each provider internal docs for a list of supported scopes. Maximum of 100 scopes are allowed, each 4096 characters long.", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + } + }, + "\/account\/sessions\/phone": { + "put": { + "summary": "Update phone session", + "operationId": "accountUpdatePhoneSession", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.", + "responses": { + "201": { + "description": "Session", + "schema": { + "$ref": "#\/definitions\/session" + } + } + }, + "x-appwrite": { + "method": "updatePhoneSession", + "group": "sessions", + "weight": 27, + "cookies": false, + "type": "", + "deprecated": true, + "demo": "account\/update-phone-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "ip:{ip},userId:{param-userId}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Valid verification token.", + "default": null, + "x-example": "<SECRET>" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + ] + } + }, + "\/account\/sessions\/token": { + "post": { + "summary": "Create session", + "operationId": "accountCreateSession", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.", + "responses": { + "201": { + "description": "Session", + "schema": { + "$ref": "#\/definitions\/session" + } + } + }, + "x-appwrite": { + "method": "createSession", + "group": "sessions", + "weight": 18, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "ip:{ip},userId:{param-userId}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Secret of a token generated by login methods. For example, the `createMagicURLToken` or `createPhoneToken` methods.", + "default": null, + "x-example": "<SECRET>" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + ] + } + }, + "\/account\/sessions\/{sessionId}": { + "get": { + "summary": "Get session", + "operationId": "accountGetSession", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to get a logged in user's session using a Session ID. Inputting 'current' will return the current session being used.", + "responses": { + "200": { + "description": "Session", + "schema": { + "$ref": "#\/definitions\/session" + } + } + }, + "x-appwrite": { + "method": "getSession", + "group": "sessions", + "weight": 13, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/get-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-session.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "sessionId", + "description": "Session ID. Use the string 'current' to get the current device session.", + "required": true, + "type": "string", + "x-example": "<SESSION_ID>", + "in": "path" + } + ] + }, + "patch": { + "summary": "Update session", + "operationId": "accountUpdateSession", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to extend a session's length. Extending a session is useful when session expiry is short. If the session was created using an OAuth provider, this endpoint refreshes the access token from the provider.", + "responses": { + "200": { + "description": "Session", + "schema": { + "$ref": "#\/definitions\/session" + } + } + }, + "x-appwrite": { + "method": "updateSession", + "group": "sessions", + "weight": 15, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-session.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "sessionId", + "description": "Session ID. Use the string 'current' to update the current device session.", + "required": true, + "type": "string", + "x-example": "<SESSION_ID>", + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete session", + "operationId": "accountDeleteSession", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "account" + ], + "description": "Logout the user. Use 'current' as the session ID to logout on this device, use a session ID to logout on another device. If you're looking to logout the user on all devices, use [Delete Sessions](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#deleteSessions) instead.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteSession", + "group": "sessions", + "weight": 14, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/delete-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-session.md", + "rate-limit": 100, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "sessionId", + "description": "Session ID. Use the string 'current' to delete the current device session.", + "required": true, + "type": "string", + "x-example": "<SESSION_ID>", + "in": "path" + } + ] + } + }, + "\/account\/status": { + "patch": { + "summary": "Update status", + "operationId": "accountUpdateStatus", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Block the currently logged in user account. Behind the scene, the user record is not deleted but permanently blocked from any access. To completely delete a user, use the Users API instead.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updateStatus", + "group": "account", + "weight": 37, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-status.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-status.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ] + } + }, + "\/account\/targets\/push": { + "post": { + "summary": "Create push target", + "operationId": "accountCreatePushTarget", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to register a device for push notifications. Provide a target ID (custom or generated using ID.unique()), a device identifier (usually a device token), and optionally specify which provider should send notifications to this target. The target is automatically linked to the current session and includes device information like brand and model.", + "responses": { + "201": { + "description": "Target", + "schema": { + "$ref": "#\/definitions\/target" + } + } + }, + "x-appwrite": { + "method": "createPushTarget", + "group": "pushTargets", + "weight": 54, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-push-target.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-push-target.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "targets.write", + "platforms": [ + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "targetId": { + "type": "string", + "description": "Target ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<TARGET_ID>" + }, + "identifier": { + "type": "string", + "description": "The target identifier (token, email, phone etc.)", + "default": null, + "x-example": "<IDENTIFIER>" + }, + "providerId": { + "type": "string", + "description": "Provider ID. Message will be sent to this target from the specified provider ID. If no provider ID is set the first setup provider will be used.", + "default": "", + "x-example": "<PROVIDER_ID>" + } + }, + "required": [ + "targetId", + "identifier" + ] + } + } + ] + } + }, + "\/account\/targets\/{targetId}\/push": { + "put": { + "summary": "Update push target", + "operationId": "accountUpdatePushTarget", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Update the currently logged in user's push notification target. You can modify the target's identifier (device token) and provider ID (token, email, phone etc.). The target must exist and belong to the current user. If you change the provider ID, notifications will be sent through the new messaging provider instead.", + "responses": { + "200": { + "description": "Target", + "schema": { + "$ref": "#\/definitions\/target" + } + } + }, + "x-appwrite": { + "method": "updatePushTarget", + "group": "pushTargets", + "weight": 55, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-push-target.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-push-target.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "targets.write", + "platforms": [ + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "targetId", + "description": "Target ID.", + "required": true, + "type": "string", + "x-example": "<TARGET_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "identifier": { + "type": "string", + "description": "The target identifier (token, email, phone etc.)", + "default": null, + "x-example": "<IDENTIFIER>" + } + }, + "required": [ + "identifier" + ] + } + } + ] + }, + "delete": { + "summary": "Delete push target", + "operationId": "accountDeletePushTarget", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "account" + ], + "description": "Delete a push notification target for the currently logged in user. After deletion, the device will no longer receive push notifications. The target must exist and belong to the current user.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deletePushTarget", + "group": "pushTargets", + "weight": 56, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/delete-push-target.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-push-target.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "targets.write", + "platforms": [ + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "targetId", + "description": "Target ID.", + "required": true, + "type": "string", + "x-example": "<TARGET_ID>", + "in": "path" + } + ] + } + }, + "\/account\/tokens\/email": { + "post": { + "summary": "Create email token (OTP)", + "operationId": "accountCreateEmailToken", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Sends the user an email with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's email is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).", + "responses": { + "201": { + "description": "Token", + "schema": { + "$ref": "#\/definitions\/token" + } + } + }, + "x-appwrite": { + "method": "createEmailToken", + "group": "tokens", + "weight": 25, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-email-token.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-email.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},email:{param-email}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "phrase": { + "type": "boolean", + "description": "Toggle for security phrase. If enabled, email will be send with a randomly generated phrase and the phrase will also be included in the response. Confirming phrases match increases the security of your authentication flow.", + "default": false, + "x-example": false + } + }, + "required": [ + "userId", + "email" + ] + } + } + ] + } + }, + "\/account\/tokens\/magic-url": { + "post": { + "summary": "Create magic URL token", + "operationId": "accountCreateMagicURLToken", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Sends the user an email with a secret key for creating a session. If the provided user ID has not been registered, a new user will be created. When the user clicks the link in the email, the user is redirected back to the URL you provided with the secret key and userId values attached to the URL query string. Use the query string parameters to submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The link sent to the user's email address is valid for 1 hour.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).\n", + "responses": { + "201": { + "description": "Token", + "schema": { + "$ref": "#\/definitions\/token" + } + } + }, + "x-appwrite": { + "method": "createMagicURLToken", + "group": "tokens", + "weight": 24, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-magic-u-r-l-token.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-magic-url.md", + "rate-limit": 60, + "rate-time": 3600, + "rate-key": [ + "url:{url},email:{param-email}", + "url:{url},ip:{ip}" + ], + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "url": { + "type": "string", + "description": "URL to redirect the user back to your app from the magic URL login. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "default": "", + "x-example": "https:\/\/example.com" + }, + "phrase": { + "type": "boolean", + "description": "Toggle for security phrase. If enabled, email will be send with a randomly generated phrase and the phrase will also be included in the response. Confirming phrases match increases the security of your authentication flow.", + "default": false, + "x-example": false + } + }, + "required": [ + "userId", + "email" + ] + } + } + ] + } + }, + "\/account\/tokens\/oauth2\/{provider}": { + "get": { + "summary": "Create OAuth2 token", + "operationId": "accountCreateOAuth2Token", + "consumes": [ + "application\/json" + ], + "produces": [ + "text\/html" + ], + "tags": [ + "account" + ], + "description": "Allow the user to login to their account using the OAuth2 provider of their choice. Each OAuth2 provider should be enabled from the Appwrite console first. Use the success and failure arguments to provide a redirect URL's back to your app when login is completed. \n\nIf authentication succeeds, `userId` and `secret` of a token will be appended to the success URL as query parameters. These can be used to create a new session using the [Create session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).", + "responses": { + "301": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "createOAuth2Token", + "group": "tokens", + "weight": 23, + "cookies": false, + "type": "webAuth", + "deprecated": false, + "demo": "account\/create-o-auth2token.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-oauth2.md", + "rate-limit": 50, + "rate-time": 3600, + "rate-key": "ip:{ip}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "provider", + "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", + "required": true, + "type": "string", + "x-example": "amazon", + "enum": [ + "amazon", + "apple", + "auth0", + "authentik", + "autodesk", + "bitbucket", + "bitly", + "box", + "dailymotion", + "discord", + "disqus", + "dropbox", + "etsy", + "facebook", + "figma", + "github", + "gitlab", + "google", + "linkedin", + "microsoft", + "notion", + "oidc", + "okta", + "paypal", + "paypalSandbox", + "podio", + "salesforce", + "slack", + "spotify", + "stripe", + "tradeshift", + "tradeshiftBox", + "twitch", + "wordpress", + "yahoo", + "yammer", + "yandex", + "zoho", + "zoom", + "mock" + ], + "x-enum-name": "OAuthProvider", + "x-enum-keys": [], + "in": "path" + }, + { + "name": "success", + "description": "URL to redirect back to your app after a successful login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "required": false, + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com", + "default": "", + "in": "query" + }, + { + "name": "failure", + "description": "URL to redirect back to your app after a failed login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "required": false, + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com", + "default": "", + "in": "query" + }, + { + "name": "scopes", + "description": "A list of custom OAuth2 scopes. Check each provider internal docs for a list of supported scopes. Maximum of 100 scopes are allowed, each 4096 characters long.", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + } + }, + "\/account\/tokens\/phone": { + "post": { + "summary": "Create phone token", + "operationId": "accountCreatePhoneToken", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Sends the user an SMS with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's phone is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).", + "responses": { + "201": { + "description": "Token", + "schema": { + "$ref": "#\/definitions\/token" + } + } + }, + "x-appwrite": { + "method": "createPhoneToken", + "group": "tokens", + "weight": 28, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-phone-token.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-phone.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": [ + "url:{url},phone:{param-phone}", + "url:{url},ip:{ip}" + ], + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "phone": { + "type": "string", + "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "default": null, + "x-example": "+12065550100" + } + }, + "required": [ + "userId", + "phone" + ] + } + } + ] + } + }, + "\/account\/verification": { + "post": { + "summary": "Create email verification", + "operationId": "accountCreateVerification", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n", + "responses": { + "201": { + "description": "Token", + "schema": { + "$ref": "#\/definitions\/token" + } + } + }, + "x-appwrite": { + "method": "createVerification", + "group": "verification", + "weight": 40, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},userId:{userId}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "url": { + "type": "string", + "description": "URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "default": null, + "x-example": "https:\/\/example.com" + } + }, + "required": [ + "url" + ] + } + } + ] + }, + "put": { + "summary": "Update email verification (confirmation)", + "operationId": "accountUpdateVerification", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.", + "responses": { + "200": { + "description": "Token", + "schema": { + "$ref": "#\/definitions\/token" + } + } + }, + "x-appwrite": { + "method": "updateVerification", + "group": "verification", + "weight": 41, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},userId:{param-userId}", + "scope": "public", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID.", + "default": null, + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Valid verification token.", + "default": null, + "x-example": "<SECRET>" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + ] + } + }, + "\/account\/verification\/phone": { + "post": { + "summary": "Create phone verification", + "operationId": "accountCreatePhoneVerification", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to send a verification SMS to the currently logged in user. This endpoint is meant for use after updating a user's phone number using the [accountUpdatePhone](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updatePhone) endpoint. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updatePhoneVerification). The verification code sent to the user's phone number is valid for 15 minutes.", + "responses": { + "201": { + "description": "Token", + "schema": { + "$ref": "#\/definitions\/token" + } + } + }, + "x-appwrite": { + "method": "createPhoneVerification", + "group": "verification", + "weight": 42, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-phone-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-phone-verification.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": [ + "url:{url},userId:{userId}", + "url:{url},ip:{ip}" + ], + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ] + }, + "put": { + "summary": "Update phone verification (confirmation)", + "operationId": "accountUpdatePhoneVerification", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to complete the user phone verification process. Use the **userId** and **secret** that were sent to your user's phone number to verify the user email ownership. If confirmed this route will return a 200 status code.", + "responses": { + "200": { + "description": "Token", + "schema": { + "$ref": "#\/definitions\/token" + } + } + }, + "x-appwrite": { + "method": "updatePhoneVerification", + "group": "verification", + "weight": 43, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-phone-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone-verification.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "userId:{param-userId}", + "scope": "public", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID.", + "default": null, + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Valid verification token.", + "default": null, + "x-example": "<SECRET>" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + ] + } + }, + "\/avatars\/browsers\/{code}": { + "get": { + "summary": "Get browser icon", + "operationId": "avatarsGetBrowser", + "consumes": [ + "application\/json" + ], + "produces": [ + "image\/png" + ], + "tags": [ + "avatars" + ], + "description": "You can use this endpoint to show different browser icons to your users. The code argument receives the browser code as it appears in your user [GET \/account\/sessions](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#getSessions) endpoint. Use width, height and quality arguments to change the output settings.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.", + "responses": { + "200": { + "description": "Image", + "schema": { + "type": "file" + } + } + }, + "x-appwrite": { + "method": "getBrowser", + "group": null, + "weight": 60, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-browser.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-browser.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "code", + "description": "Browser Code.", + "required": true, + "type": "string", + "x-example": "aa", + "enum": [ + "aa", + "an", + "ch", + "ci", + "cm", + "cr", + "ff", + "sf", + "mf", + "ps", + "oi", + "om", + "op", + "on" + ], + "x-enum-name": "Browser", + "x-enum-keys": [ + "Avant Browser", + "Android WebView Beta", + "Google Chrome", + "Google Chrome (iOS)", + "Google Chrome (Mobile)", + "Chromium", + "Mozilla Firefox", + "Safari", + "Mobile Safari", + "Microsoft Edge", + "Microsoft Edge (iOS)", + "Opera Mini", + "Opera", + "Opera (Next)" + ], + "in": "path" + }, + { + "name": "width", + "description": "Image width. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100, + "in": "query" + }, + { + "name": "height", + "description": "Image height. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100, + "in": "query" + }, + { + "name": "quality", + "description": "Image quality. Pass an integer between 0 to 100. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100, + "in": "query" + } + ] + } + }, + "\/avatars\/credit-cards\/{code}": { + "get": { + "summary": "Get credit card icon", + "operationId": "avatarsGetCreditCard", + "consumes": [ + "application\/json" + ], + "produces": [ + "image\/png" + ], + "tags": [ + "avatars" + ], + "description": "The credit card endpoint will return you the icon of the credit card provider you need. Use width, height and quality arguments to change the output settings.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n", + "responses": { + "200": { + "description": "Image", + "schema": { + "type": "file" + } + } + }, + "x-appwrite": { + "method": "getCreditCard", + "group": null, + "weight": 59, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-credit-card.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-credit-card.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "code", + "description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, union-china-pay, visa, mir, maestro, rupay.", + "required": true, + "type": "string", + "x-example": "amex", + "enum": [ + "amex", + "argencard", + "cabal", + "cencosud", + "diners", + "discover", + "elo", + "hipercard", + "jcb", + "mastercard", + "naranja", + "targeta-shopping", + "union-china-pay", + "visa", + "mir", + "maestro", + "rupay" + ], + "x-enum-name": "CreditCard", + "x-enum-keys": [ + "American Express", + "Argencard", + "Cabal", + "Cencosud", + "Diners Club", + "Discover", + "Elo", + "Hipercard", + "JCB", + "Mastercard", + "Naranja", + "Tarjeta Shopping", + "Union China Pay", + "Visa", + "MIR", + "Maestro", + "Rupay" + ], + "in": "path" + }, + { + "name": "width", + "description": "Image width. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100, + "in": "query" + }, + { + "name": "height", + "description": "Image height. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100, + "in": "query" + }, + { + "name": "quality", + "description": "Image quality. Pass an integer between 0 to 100. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100, + "in": "query" + } + ] + } + }, + "\/avatars\/favicon": { + "get": { + "summary": "Get favicon", + "operationId": "avatarsGetFavicon", + "consumes": [ + "application\/json" + ], + "produces": [ + "image\/*" + ], + "tags": [ + "avatars" + ], + "description": "Use this endpoint to fetch the favorite icon (AKA favicon) of any remote website URL.\n\nThis endpoint does not follow HTTP redirects.", + "responses": { + "200": { + "description": "Image", + "schema": { + "type": "file" + } + } + }, + "x-appwrite": { + "method": "getFavicon", + "group": null, + "weight": 63, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-favicon.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-favicon.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "url", + "description": "Website URL which you want to fetch the favicon from.", + "required": true, + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com", + "in": "query" + } + ] + } + }, + "\/avatars\/flags\/{code}": { + "get": { + "summary": "Get country flag", + "operationId": "avatarsGetFlag", + "consumes": [ + "application\/json" + ], + "produces": [ + "image\/png" + ], + "tags": [ + "avatars" + ], + "description": "You can use this endpoint to show different country flags icons to your users. The code argument receives the 2 letter country code. Use width, height and quality arguments to change the output settings. Country codes follow the [ISO 3166-1](https:\/\/en.wikipedia.org\/wiki\/ISO_3166-1) standard.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n", + "responses": { + "200": { + "description": "Image", + "schema": { + "type": "file" + } + } + }, + "x-appwrite": { + "method": "getFlag", + "group": null, + "weight": 61, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-flag.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-flag.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "code", + "description": "Country Code. ISO Alpha-2 country code format.", + "required": true, + "type": "string", + "x-example": "af", + "enum": [ + "af", + "ao", + "al", + "ad", + "ae", + "ar", + "am", + "ag", + "au", + "at", + "az", + "bi", + "be", + "bj", + "bf", + "bd", + "bg", + "bh", + "bs", + "ba", + "by", + "bz", + "bo", + "br", + "bb", + "bn", + "bt", + "bw", + "cf", + "ca", + "ch", + "cl", + "cn", + "ci", + "cm", + "cd", + "cg", + "co", + "km", + "cv", + "cr", + "cu", + "cy", + "cz", + "de", + "dj", + "dm", + "dk", + "do", + "dz", + "ec", + "eg", + "er", + "es", + "ee", + "et", + "fi", + "fj", + "fr", + "fm", + "ga", + "gb", + "ge", + "gh", + "gn", + "gm", + "gw", + "gq", + "gr", + "gd", + "gt", + "gy", + "hn", + "hr", + "ht", + "hu", + "id", + "in", + "ie", + "ir", + "iq", + "is", + "il", + "it", + "jm", + "jo", + "jp", + "kz", + "ke", + "kg", + "kh", + "ki", + "kn", + "kr", + "kw", + "la", + "lb", + "lr", + "ly", + "lc", + "li", + "lk", + "ls", + "lt", + "lu", + "lv", + "ma", + "mc", + "md", + "mg", + "mv", + "mx", + "mh", + "mk", + "ml", + "mt", + "mm", + "me", + "mn", + "mz", + "mr", + "mu", + "mw", + "my", + "na", + "ne", + "ng", + "ni", + "nl", + "no", + "np", + "nr", + "nz", + "om", + "pk", + "pa", + "pe", + "ph", + "pw", + "pg", + "pl", + "pf", + "kp", + "pt", + "py", + "qa", + "ro", + "ru", + "rw", + "sa", + "sd", + "sn", + "sg", + "sb", + "sl", + "sv", + "sm", + "so", + "rs", + "ss", + "st", + "sr", + "sk", + "si", + "se", + "sz", + "sc", + "sy", + "td", + "tg", + "th", + "tj", + "tm", + "tl", + "to", + "tt", + "tn", + "tr", + "tv", + "tz", + "ug", + "ua", + "uy", + "us", + "uz", + "va", + "vc", + "ve", + "vn", + "vu", + "ws", + "ye", + "za", + "zm", + "zw" + ], + "x-enum-name": "Flag", + "x-enum-keys": [ + "Afghanistan", + "Angola", + "Albania", + "Andorra", + "United Arab Emirates", + "Argentina", + "Armenia", + "Antigua and Barbuda", + "Australia", + "Austria", + "Azerbaijan", + "Burundi", + "Belgium", + "Benin", + "Burkina Faso", + "Bangladesh", + "Bulgaria", + "Bahrain", + "Bahamas", + "Bosnia and Herzegovina", + "Belarus", + "Belize", + "Bolivia", + "Brazil", + "Barbados", + "Brunei Darussalam", + "Bhutan", + "Botswana", + "Central African Republic", + "Canada", + "Switzerland", + "Chile", + "China", + "C\u00f4te d'Ivoire", + "Cameroon", + "Democratic Republic of the Congo", + "Republic of the Congo", + "Colombia", + "Comoros", + "Cape Verde", + "Costa Rica", + "Cuba", + "Cyprus", + "Czech Republic", + "Germany", + "Djibouti", + "Dominica", + "Denmark", + "Dominican Republic", + "Algeria", + "Ecuador", + "Egypt", + "Eritrea", + "Spain", + "Estonia", + "Ethiopia", + "Finland", + "Fiji", + "France", + "Micronesia (Federated States of)", + "Gabon", + "United Kingdom", + "Georgia", + "Ghana", + "Guinea", + "Gambia", + "Guinea-Bissau", + "Equatorial Guinea", + "Greece", + "Grenada", + "Guatemala", + "Guyana", + "Honduras", + "Croatia", + "Haiti", + "Hungary", + "Indonesia", + "India", + "Ireland", + "Iran (Islamic Republic of)", + "Iraq", + "Iceland", + "Israel", + "Italy", + "Jamaica", + "Jordan", + "Japan", + "Kazakhstan", + "Kenya", + "Kyrgyzstan", + "Cambodia", + "Kiribati", + "Saint Kitts and Nevis", + "South Korea", + "Kuwait", + "Lao People's Democratic Republic", + "Lebanon", + "Liberia", + "Libya", + "Saint Lucia", + "Liechtenstein", + "Sri Lanka", + "Lesotho", + "Lithuania", + "Luxembourg", + "Latvia", + "Morocco", + "Monaco", + "Moldova", + "Madagascar", + "Maldives", + "Mexico", + "Marshall Islands", + "North Macedonia", + "Mali", + "Malta", + "Myanmar", + "Montenegro", + "Mongolia", + "Mozambique", + "Mauritania", + "Mauritius", + "Malawi", + "Malaysia", + "Namibia", + "Niger", + "Nigeria", + "Nicaragua", + "Netherlands", + "Norway", + "Nepal", + "Nauru", + "New Zealand", + "Oman", + "Pakistan", + "Panama", + "Peru", + "Philippines", + "Palau", + "Papua New Guinea", + "Poland", + "French Polynesia", + "North Korea", + "Portugal", + "Paraguay", + "Qatar", + "Romania", + "Russia", + "Rwanda", + "Saudi Arabia", + "Sudan", + "Senegal", + "Singapore", + "Solomon Islands", + "Sierra Leone", + "El Salvador", + "San Marino", + "Somalia", + "Serbia", + "South Sudan", + "Sao Tome and Principe", + "Suriname", + "Slovakia", + "Slovenia", + "Sweden", + "Eswatini", + "Seychelles", + "Syria", + "Chad", + "Togo", + "Thailand", + "Tajikistan", + "Turkmenistan", + "Timor-Leste", + "Tonga", + "Trinidad and Tobago", + "Tunisia", + "Turkey", + "Tuvalu", + "Tanzania", + "Uganda", + "Ukraine", + "Uruguay", + "United States", + "Uzbekistan", + "Vatican City", + "Saint Vincent and the Grenadines", + "Venezuela", + "Vietnam", + "Vanuatu", + "Samoa", + "Yemen", + "South Africa", + "Zambia", + "Zimbabwe" + ], + "in": "path" + }, + { + "name": "width", + "description": "Image width. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100, + "in": "query" + }, + { + "name": "height", + "description": "Image height. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100, + "in": "query" + }, + { + "name": "quality", + "description": "Image quality. Pass an integer between 0 to 100. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100, + "in": "query" + } + ] + } + }, + "\/avatars\/image": { + "get": { + "summary": "Get image from URL", + "operationId": "avatarsGetImage", + "consumes": [ + "application\/json" + ], + "produces": [ + "image\/*" + ], + "tags": [ + "avatars" + ], + "description": "Use this endpoint to fetch a remote image URL and crop it to any image size you want. This endpoint is very useful if you need to crop and display remote images in your app or in case you want to make sure a 3rd party image is properly served using a TLS protocol.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 400x400px.\n\nThis endpoint does not follow HTTP redirects.", + "responses": { + "200": { + "description": "Image", + "schema": { + "type": "file" + } + } + }, + "x-appwrite": { + "method": "getImage", + "group": null, + "weight": 62, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-image.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-image.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "url", + "description": "Image URL which you want to crop.", + "required": true, + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com", + "in": "query" + }, + { + "name": "width", + "description": "Resize preview image width, Pass an integer between 0 to 2000. Defaults to 400.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 400, + "in": "query" + }, + { + "name": "height", + "description": "Resize preview image height, Pass an integer between 0 to 2000. Defaults to 400.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 400, + "in": "query" + } + ] + } + }, + "\/avatars\/initials": { + "get": { + "summary": "Get user initials", + "operationId": "avatarsGetInitials", + "consumes": [ + "application\/json" + ], + "produces": [ + "image\/png" + ], + "tags": [ + "avatars" + ], + "description": "Use this endpoint to show your user initials avatar icon on your website or app. By default, this route will try to print your logged-in user name or email initials. You can also overwrite the user name if you pass the 'name' parameter. If no name is given and no user is logged, an empty avatar will be returned.\n\nYou can use the color and background params to change the avatar colors. By default, a random theme will be selected. The random theme will persist for the user's initials when reloading the same theme will always return for the same initials.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n", + "responses": { + "200": { + "description": "Image", + "schema": { + "type": "file" + } + } + }, + "x-appwrite": { + "method": "getInitials", + "group": null, + "weight": 65, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-initials.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-initials.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "name", + "description": "Full Name. When empty, current user name or email will be used. Max length: 128 chars.", + "required": false, + "type": "string", + "x-example": "<NAME>", + "default": "", + "in": "query" + }, + { + "name": "width", + "description": "Image width. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 500, + "in": "query" + }, + { + "name": "height", + "description": "Image height. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 500, + "in": "query" + }, + { + "name": "background", + "description": "Changes background color. By default a random color will be picked and stay will persistent to the given name.", + "required": false, + "type": "string", + "default": "", + "in": "query" + } + ] + } + }, + "\/avatars\/qr": { + "get": { + "summary": "Get QR code", + "operationId": "avatarsGetQR", + "consumes": [ + "application\/json" + ], + "produces": [ + "image\/png" + ], + "tags": [ + "avatars" + ], + "description": "Converts a given plain text to a QR code image. You can use the query parameters to change the size and style of the resulting image.\n", + "responses": { + "200": { + "description": "Image", + "schema": { + "type": "file" + } + } + }, + "x-appwrite": { + "method": "getQR", + "group": null, + "weight": 64, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-q-r.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-qr.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "text", + "description": "Plain text to be converted to QR code image.", + "required": true, + "type": "string", + "x-example": "<TEXT>", + "in": "query" + }, + { + "name": "size", + "description": "QR code size. Pass an integer between 1 to 1000. Defaults to 400.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 1, + "default": 400, + "in": "query" + }, + { + "name": "margin", + "description": "Margin from edge. Pass an integer between 0 to 10. Defaults to 1.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 1, + "in": "query" + }, + { + "name": "download", + "description": "Return resulting image with 'Content-Disposition: attachment ' headers for the browser to start downloading it. Pass 0 for no header, or 1 for otherwise. Default value is set to 0.", + "required": false, + "type": "boolean", + "x-example": false, + "default": false, + "in": "query" + } + ] + } + }, + "\/console\/assistant": { + "post": { + "summary": "Create assistant query", + "operationId": "assistantChat", + "consumes": [ + "application\/json" + ], + "produces": [ + "text\/plain" + ], + "tags": [ + "assistant" + ], + "description": "Send a prompt to the AI assistant and receive a response. This endpoint allows you to interact with Appwrite's AI assistant by sending questions or prompts and receiving helpful responses in real-time through a server-sent events stream. ", + "responses": { + "200": { + "description": "File", + "schema": { + "type": "file" + } + } + }, + "x-appwrite": { + "method": "chat", + "group": "console", + "weight": 332, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "assistant\/chat.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/assistant\/chat.md", + "rate-limit": 15, + "rate-time": 3600, + "rate-key": "userId:{userId}", + "scope": "assistant.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "prompt": { + "type": "string", + "description": "Prompt. A string containing questions asked to the AI assistant.", + "default": null, + "x-example": "<PROMPT>" + } + }, + "required": [ + "prompt" + ] + } + } + ] + } + }, + "\/console\/variables": { + "get": { + "summary": "Get variables", + "operationId": "consoleVariables", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "console" + ], + "description": "Get all Environment Variables that are relevant for the console.", + "responses": { + "200": { + "description": "Console Variables", + "schema": { + "$ref": "#\/definitions\/consoleVariables" + } + } + }, + "x-appwrite": { + "method": "variables", + "group": "console", + "weight": 331, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "console\/variables.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/console\/variables.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ] + } + }, + "\/databases": { + "get": { + "summary": "List databases", + "operationId": "databasesList", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Get a list of all databases from the current Appwrite project. You can use the search parameter to filter your results.", + "responses": { + "200": { + "description": "Databases List", + "schema": { + "$ref": "#\/definitions\/databaseList" + } + } + }, + "x-appwrite": { + "method": "list", + "group": "databases", + "weight": 70, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/list.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "databases.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + }, + "post": { + "summary": "Create database", + "operationId": "databasesCreate", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Create a new Database.\n", + "responses": { + "201": { + "description": "Database", + "schema": { + "$ref": "#\/definitions\/database" + } + } + }, + "x-appwrite": { + "method": "create", + "group": "databases", + "weight": 69, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "databases.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "databaseId": { + "type": "string", + "description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<DATABASE_ID>" + }, + "name": { + "type": "string", + "description": "Database name. Max length: 128 chars.", + "default": null, + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Is the database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.", + "default": true, + "x-example": false + } + }, + "required": [ + "databaseId", + "name" + ] + } + } + ] + } + }, + "\/databases\/usage": { + "get": { + "summary": "Get databases usage stats", + "operationId": "databasesGetUsage", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Get usage metrics and statistics for all databases in the project. You can view the total number of databases, collections, documents, and storage usage. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days.", + "responses": { + "200": { + "description": "UsageDatabases", + "schema": { + "$ref": "#\/definitions\/usageDatabases" + } + } + }, + "x-appwrite": { + "method": "getUsage", + "group": null, + "weight": 114, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/get-usage.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-usage.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "range", + "description": "`Date range.", + "required": false, + "type": "string", + "x-example": "24h", + "enum": [ + "24h", + "30d", + "90d" + ], + "x-enum-name": "DatabaseUsageRange", + "x-enum-keys": [ + "Twenty Four Hours", + "Thirty Days", + "Ninety Days" + ], + "default": "30d", + "in": "query" + } + ] + } + }, + "\/databases\/{databaseId}": { + "get": { + "summary": "Get database", + "operationId": "databasesGet", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Get a database by its unique ID. This endpoint response returns a JSON object with the database metadata.", + "responses": { + "200": { + "description": "Database", + "schema": { + "$ref": "#\/definitions\/database" + } + } + }, + "x-appwrite": { + "method": "get", + "group": "databases", + "weight": 71, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "databases.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + } + ] + }, + "put": { + "summary": "Update database", + "operationId": "databasesUpdate", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Update a database by its unique ID.", + "responses": { + "200": { + "description": "Database", + "schema": { + "$ref": "#\/definitions\/database" + } + } + }, + "x-appwrite": { + "method": "update", + "group": "databases", + "weight": 73, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "databases.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Database name. Max length: 128 chars.", + "default": null, + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Is database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.", + "default": true, + "x-example": false + } + }, + "required": [ + "name" + ] + } + } + ] + }, + "delete": { + "summary": "Delete database", + "operationId": "databasesDelete", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "databases" + ], + "description": "Delete a database by its unique ID. Only API keys with with databases.write scope can delete a database.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "delete", + "group": "databases", + "weight": 74, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/delete.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "databases.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + } + ] + } + }, + "\/databases\/{databaseId}\/collections": { + "get": { + "summary": "List collections", + "operationId": "databasesListCollections", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Get a list of all collections that belong to the provided databaseId. You can use the search parameter to filter your results.", + "responses": { + "200": { + "description": "Collections List", + "schema": { + "$ref": "#\/definitions\/collectionList" + } + } + }, + "x-appwrite": { + "method": "listCollections", + "group": "collections", + "weight": 76, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/list-collections.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-collections.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, enabled, documentSecurity", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + }, + "post": { + "summary": "Create collection", + "operationId": "databasesCreateCollection", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Create a new Collection. Before using this route, you should create a new database resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.", + "responses": { + "201": { + "description": "Collection", + "schema": { + "$ref": "#\/definitions\/collection" + } + } + }, + "x-appwrite": { + "method": "createCollection", + "group": "collections", + "weight": 75, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-collection.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-collection.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "collectionId": { + "type": "string", + "description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<COLLECTION_ID>" + }, + "name": { + "type": "string", + "description": "Collection name. Max length: 128 chars.", + "default": null, + "x-example": "<NAME>" + }, + "permissions": { + "type": "array", + "description": "An array of permissions strings. By default, no user is granted with any permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "default": null, + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + }, + "documentSecurity": { + "type": "boolean", + "description": "Enables configuring permissions for individual documents. A user needs one of document or collection level permissions to access a document. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "default": false, + "x-example": false + }, + "enabled": { + "type": "boolean", + "description": "Is collection enabled? When set to 'disabled', users cannot access the collection but Server SDKs with and API key can still read and write to the collection. No data is lost when this is toggled.", + "default": true, + "x-example": false + } + }, + "required": [ + "collectionId", + "name" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}": { + "get": { + "summary": "Get collection", + "operationId": "databasesGetCollection", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Get a collection by its unique ID. This endpoint response returns a JSON object with the collection metadata.", + "responses": { + "200": { + "description": "Collection", + "schema": { + "$ref": "#\/definitions\/collection" + } + } + }, + "x-appwrite": { + "method": "getCollection", + "group": "collections", + "weight": 77, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/get-collection.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID.", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + } + ] + }, + "put": { + "summary": "Update collection", + "operationId": "databasesUpdateCollection", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Update a collection by its unique ID.", + "responses": { + "200": { + "description": "Collection", + "schema": { + "$ref": "#\/definitions\/collection" + } + } + }, + "x-appwrite": { + "method": "updateCollection", + "group": "collections", + "weight": 79, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-collection.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-collection.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID.", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Collection name. Max length: 128 chars.", + "default": null, + "x-example": "<NAME>" + }, + "permissions": { + "type": "array", + "description": "An array of permission strings. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "default": null, + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + }, + "documentSecurity": { + "type": "boolean", + "description": "Enables configuring permissions for individual documents. A user needs one of document or collection level permissions to access a document. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "default": false, + "x-example": false + }, + "enabled": { + "type": "boolean", + "description": "Is collection enabled? When set to 'disabled', users cannot access the collection but Server SDKs with and API key can still read and write to the collection. No data is lost when this is toggled.", + "default": true, + "x-example": false + } + }, + "required": [ + "name" + ] + } + } + ] + }, + "delete": { + "summary": "Delete collection", + "operationId": "databasesDeleteCollection", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "databases" + ], + "description": "Delete a collection by its unique ID. Only users with write permissions have access to delete this resource.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteCollection", + "group": "collections", + "weight": 80, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/delete-collection.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-collection.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID.", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes": { + "get": { + "summary": "List attributes", + "operationId": "databasesListAttributes", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "List attributes in the collection.", + "responses": { + "200": { + "description": "Attributes List", + "schema": { + "$ref": "#\/definitions\/attributeList" + } + } + }, + "x-appwrite": { + "method": "listAttributes", + "group": "attributes", + "weight": 91, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/list-attributes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-attributes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, size, required, array, status, error", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/boolean": { + "post": { + "summary": "Create boolean attribute", + "operationId": "databasesCreateBooleanAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Create a boolean attribute.\n", + "responses": { + "202": { + "description": "AttributeBoolean", + "schema": { + "$ref": "#\/definitions\/attributeBoolean" + } + } + }, + "x-appwrite": { + "method": "createBooleanAttribute", + "group": "attributes", + "weight": 88, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-boolean-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-boolean-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "default": null, + "x-example": null + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "default": { + "type": "boolean", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": false + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "default": false, + "x-example": false + } + }, + "required": [ + "key", + "required" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/boolean\/{key}": { + "patch": { + "summary": "Update boolean attribute", + "operationId": "databasesUpdateBooleanAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Update a boolean attribute. Changing the `default` value will not update already existing documents.", + "responses": { + "200": { + "description": "AttributeBoolean", + "schema": { + "$ref": "#\/definitions\/attributeBoolean" + } + } + }, + "x-appwrite": { + "method": "updateBooleanAttribute", + "group": "attributes", + "weight": 100, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-boolean-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-boolean-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "type": "string", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "default": { + "type": "boolean", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": false, + "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null + } + }, + "required": [ + "required", + "default" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/datetime": { + "post": { + "summary": "Create datetime attribute", + "operationId": "databasesCreateDatetimeAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Create a date time attribute according to the ISO 8601 standard.", + "responses": { + "202": { + "description": "AttributeDatetime", + "schema": { + "$ref": "#\/definitions\/attributeDatetime" + } + } + }, + "x-appwrite": { + "method": "createDatetimeAttribute", + "group": "attributes", + "weight": 89, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-datetime-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-datetime-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "default": null, + "x-example": null + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for the attribute in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. Cannot be set when attribute is required.", + "default": null, + "x-example": null + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "default": false, + "x-example": false + } + }, + "required": [ + "key", + "required" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/datetime\/{key}": { + "patch": { + "summary": "Update dateTime attribute", + "operationId": "databasesUpdateDatetimeAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Update a date time attribute. Changing the `default` value will not update already existing documents.", + "responses": { + "200": { + "description": "AttributeDatetime", + "schema": { + "$ref": "#\/definitions\/attributeDatetime" + } + } + }, + "x-appwrite": { + "method": "updateDatetimeAttribute", + "group": "attributes", + "weight": 101, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-datetime-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-datetime-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "type": "string", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": null, + "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null + } + }, + "required": [ + "required", + "default" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/email": { + "post": { + "summary": "Create email attribute", + "operationId": "databasesCreateEmailAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Create an email attribute.\n", + "responses": { + "202": { + "description": "AttributeEmail", + "schema": { + "$ref": "#\/definitions\/attributeEmail" + } + } + }, + "x-appwrite": { + "method": "createEmailAttribute", + "group": "attributes", + "weight": 82, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-email-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-email-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "default": null, + "x-example": null + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": "email@example.com" + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "default": false, + "x-example": false + } + }, + "required": [ + "key", + "required" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/email\/{key}": { + "patch": { + "summary": "Update email attribute", + "operationId": "databasesUpdateEmailAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Update an email attribute. Changing the `default` value will not update already existing documents.\n", + "responses": { + "200": { + "description": "AttributeEmail", + "schema": { + "$ref": "#\/definitions\/attributeEmail" + } + } + }, + "x-appwrite": { + "method": "updateEmailAttribute", + "group": "attributes", + "weight": 94, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-email-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-email-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "type": "string", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": "email@example.com", + "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null + } + }, + "required": [ + "required", + "default" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/enum": { + "post": { + "summary": "Create enum attribute", + "operationId": "databasesCreateEnumAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Create an enumeration attribute. The `elements` param acts as a white-list of accepted values for this attribute. \n", + "responses": { + "202": { + "description": "AttributeEnum", + "schema": { + "$ref": "#\/definitions\/attributeEnum" + } + } + }, + "x-appwrite": { + "method": "createEnumAttribute", + "group": "attributes", + "weight": 83, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-enum-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-attribute-enum.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "default": null, + "x-example": null + }, + "elements": { + "type": "array", + "description": "Array of elements in enumerated type. Uses length of longest element to determine size. Maximum of 100 elements are allowed, each 255 characters long.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": "<DEFAULT>" + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "default": false, + "x-example": false + } + }, + "required": [ + "key", + "elements", + "required" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/enum\/{key}": { + "patch": { + "summary": "Update enum attribute", + "operationId": "databasesUpdateEnumAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Update an enum attribute. Changing the `default` value will not update already existing documents.\n", + "responses": { + "200": { + "description": "AttributeEnum", + "schema": { + "$ref": "#\/definitions\/attributeEnum" + } + } + }, + "x-appwrite": { + "method": "updateEnumAttribute", + "group": "attributes", + "weight": 95, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-enum-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-enum-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "type": "string", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "elements": { + "type": "array", + "description": "Array of elements in enumerated type. Uses length of longest element to determine size. Maximum of 100 elements are allowed, each 255 characters long.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": "<DEFAULT>", + "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null + } + }, + "required": [ + "elements", + "required", + "default" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/float": { + "post": { + "summary": "Create float attribute", + "operationId": "databasesCreateFloatAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Create a float attribute. Optionally, minimum and maximum values can be provided.\n", + "responses": { + "202": { + "description": "AttributeFloat", + "schema": { + "$ref": "#\/definitions\/attributeFloat" + } + } + }, + "x-appwrite": { + "method": "createFloatAttribute", + "group": "attributes", + "weight": 87, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-float-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-float-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "default": null, + "x-example": null + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "min": { + "type": "number", + "description": "Minimum value to enforce on new documents", + "default": null, + "x-example": null + }, + "max": { + "type": "number", + "description": "Maximum value to enforce on new documents", + "default": null, + "x-example": null + }, + "default": { + "type": "number", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": null + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "default": false, + "x-example": false + } + }, + "required": [ + "key", + "required" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/float\/{key}": { + "patch": { + "summary": "Update float attribute", + "operationId": "databasesUpdateFloatAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Update a float attribute. Changing the `default` value will not update already existing documents.\n", + "responses": { + "200": { + "description": "AttributeFloat", + "schema": { + "$ref": "#\/definitions\/attributeFloat" + } + } + }, + "x-appwrite": { + "method": "updateFloatAttribute", + "group": "attributes", + "weight": 99, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-float-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-float-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "type": "string", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "min": { + "type": "number", + "description": "Minimum value to enforce on new documents", + "default": null, + "x-example": null + }, + "max": { + "type": "number", + "description": "Maximum value to enforce on new documents", + "default": null, + "x-example": null + }, + "default": { + "type": "number", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": null, + "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null + } + }, + "required": [ + "required", + "default" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/integer": { + "post": { + "summary": "Create integer attribute", + "operationId": "databasesCreateIntegerAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Create an integer attribute. Optionally, minimum and maximum values can be provided.\n", + "responses": { + "202": { + "description": "AttributeInteger", + "schema": { + "$ref": "#\/definitions\/attributeInteger" + } + } + }, + "x-appwrite": { + "method": "createIntegerAttribute", + "group": "attributes", + "weight": 86, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-integer-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-integer-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "default": null, + "x-example": null + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "min": { + "type": "integer", + "description": "Minimum value to enforce on new documents", + "default": null, + "x-example": null + }, + "max": { + "type": "integer", + "description": "Maximum value to enforce on new documents", + "default": null, + "x-example": null + }, + "default": { + "type": "integer", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": null + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "default": false, + "x-example": false + } + }, + "required": [ + "key", + "required" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/integer\/{key}": { + "patch": { + "summary": "Update integer attribute", + "operationId": "databasesUpdateIntegerAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Update an integer attribute. Changing the `default` value will not update already existing documents.\n", + "responses": { + "200": { + "description": "AttributeInteger", + "schema": { + "$ref": "#\/definitions\/attributeInteger" + } + } + }, + "x-appwrite": { + "method": "updateIntegerAttribute", + "group": "attributes", + "weight": 98, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-integer-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-integer-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "type": "string", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "min": { + "type": "integer", + "description": "Minimum value to enforce on new documents", + "default": null, + "x-example": null + }, + "max": { + "type": "integer", + "description": "Maximum value to enforce on new documents", + "default": null, + "x-example": null + }, + "default": { + "type": "integer", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": null, + "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null + } + }, + "required": [ + "required", + "default" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/ip": { + "post": { + "summary": "Create IP address attribute", + "operationId": "databasesCreateIpAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Create IP address attribute.\n", + "responses": { + "202": { + "description": "AttributeIP", + "schema": { + "$ref": "#\/definitions\/attributeIp" + } + } + }, + "x-appwrite": { + "method": "createIpAttribute", + "group": "attributes", + "weight": 84, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-ip-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-ip-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "default": null, + "x-example": null + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": null + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "default": false, + "x-example": false + } + }, + "required": [ + "key", + "required" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/ip\/{key}": { + "patch": { + "summary": "Update IP address attribute", + "operationId": "databasesUpdateIpAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Update an ip attribute. Changing the `default` value will not update already existing documents.\n", + "responses": { + "200": { + "description": "AttributeIP", + "schema": { + "$ref": "#\/definitions\/attributeIp" + } + } + }, + "x-appwrite": { + "method": "updateIpAttribute", + "group": "attributes", + "weight": 96, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-ip-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-ip-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "type": "string", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": null, + "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null + } + }, + "required": [ + "required", + "default" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/relationship": { + "post": { + "summary": "Create relationship attribute", + "operationId": "databasesCreateRelationshipAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Create relationship attribute. [Learn more about relationship attributes](https:\/\/appwrite.io\/docs\/databases-relationships#relationship-attributes).\n", + "responses": { + "202": { + "description": "AttributeRelationship", + "schema": { + "$ref": "#\/definitions\/attributeRelationship" + } + } + }, + "x-appwrite": { + "method": "createRelationshipAttribute", + "group": "attributes", + "weight": 90, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-relationship-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-relationship-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "relatedCollectionId": { + "type": "string", + "description": "Related Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "default": null, + "x-example": "<RELATED_COLLECTION_ID>" + }, + "type": { + "type": "string", + "description": "Relation type", + "default": null, + "x-example": "oneToOne", + "enum": [ + "oneToOne", + "manyToOne", + "manyToMany", + "oneToMany" + ], + "x-enum-name": "RelationshipType", + "x-enum-keys": [] + }, + "twoWay": { + "type": "boolean", + "description": "Is Two Way?", + "default": false, + "x-example": false + }, + "key": { + "type": "string", + "description": "Attribute Key.", + "default": null, + "x-example": null + }, + "twoWayKey": { + "type": "string", + "description": "Two Way Attribute Key.", + "default": null, + "x-example": null + }, + "onDelete": { + "type": "string", + "description": "Constraints option", + "default": "restrict", + "x-example": "cascade", + "enum": [ + "cascade", + "restrict", + "setNull" + ], + "x-enum-name": "RelationMutate", + "x-enum-keys": [] + } + }, + "required": [ + "relatedCollectionId", + "type" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/string": { + "post": { + "summary": "Create string attribute", + "operationId": "databasesCreateStringAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Create a string attribute.\n", + "responses": { + "202": { + "description": "AttributeString", + "schema": { + "$ref": "#\/definitions\/attributeString" + } + } + }, + "x-appwrite": { + "method": "createStringAttribute", + "group": "attributes", + "weight": 81, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-string-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-string-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "default": null, + "x-example": null + }, + "size": { + "type": "integer", + "description": "Attribute size for text attributes, in number of characters.", + "default": null, + "x-example": 1 + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": "<DEFAULT>" + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "default": false, + "x-example": false + }, + "encrypt": { + "type": "boolean", + "description": "Toggle encryption for the attribute. Encryption enhances security by not storing any plain text values in the database. However, encrypted attributes cannot be queried.", + "default": false, + "x-example": false + } + }, + "required": [ + "key", + "size", + "required" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/string\/{key}": { + "patch": { + "summary": "Update string attribute", + "operationId": "databasesUpdateStringAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Update a string attribute. Changing the `default` value will not update already existing documents.\n", + "responses": { + "200": { + "description": "AttributeString", + "schema": { + "$ref": "#\/definitions\/attributeString" + } + } + }, + "x-appwrite": { + "method": "updateStringAttribute", + "group": "attributes", + "weight": 93, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-string-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-string-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "type": "string", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": "<DEFAULT>", + "x-nullable": true + }, + "size": { + "type": "integer", + "description": "Maximum size of the string attribute.", + "default": null, + "x-example": 1 + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null + } + }, + "required": [ + "required", + "default" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/url": { + "post": { + "summary": "Create URL attribute", + "operationId": "databasesCreateUrlAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Create a URL attribute.\n", + "responses": { + "202": { + "description": "AttributeURL", + "schema": { + "$ref": "#\/definitions\/attributeUrl" + } + } + }, + "x-appwrite": { + "method": "createUrlAttribute", + "group": "attributes", + "weight": 85, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-url-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-url-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "default": null, + "x-example": null + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": "https:\/\/example.com" + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "default": false, + "x-example": false + } + }, + "required": [ + "key", + "required" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/url\/{key}": { + "patch": { + "summary": "Update URL attribute", + "operationId": "databasesUpdateUrlAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Update an url attribute. Changing the `default` value will not update already existing documents.\n", + "responses": { + "200": { + "description": "AttributeURL", + "schema": { + "$ref": "#\/definitions\/attributeUrl" + } + } + }, + "x-appwrite": { + "method": "updateUrlAttribute", + "group": "attributes", + "weight": 97, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-url-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-url-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "type": "string", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": "https:\/\/example.com", + "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null + } + }, + "required": [ + "required", + "default" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/{key}": { + "get": { + "summary": "Get attribute", + "operationId": "databasesGetAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Get attribute by ID.", + "responses": { + "200": { + "description": "AttributeBoolean, or AttributeInteger, or AttributeFloat, or AttributeEmail, or AttributeEnum, or AttributeURL, or AttributeIP, or AttributeDatetime, or AttributeRelationship, or AttributeString", + "schema": { + "x-oneOf": [ + { + "$ref": "#\/definitions\/attributeBoolean" + }, + { + "$ref": "#\/definitions\/attributeInteger" + }, + { + "$ref": "#\/definitions\/attributeFloat" + }, + { + "$ref": "#\/definitions\/attributeEmail" + }, + { + "$ref": "#\/definitions\/attributeEnum" + }, + { + "$ref": "#\/definitions\/attributeUrl" + }, + { + "$ref": "#\/definitions\/attributeIp" + }, + { + "$ref": "#\/definitions\/attributeDatetime" + }, + { + "$ref": "#\/definitions\/attributeRelationship" + }, + { + "$ref": "#\/definitions\/attributeString" + } + ] + } + } + }, + "x-appwrite": { + "method": "getAttribute", + "group": "attributes", + "weight": 92, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/get-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "type": "string", + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete attribute", + "operationId": "databasesDeleteAttribute", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "databases" + ], + "description": "Deletes an attribute.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteAttribute", + "group": "attributes", + "weight": 103, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/delete-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "type": "string", + "in": "path" + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/{key}\/relationship": { + "patch": { + "summary": "Update relationship attribute", + "operationId": "databasesUpdateRelationshipAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Update relationship attribute. [Learn more about relationship attributes](https:\/\/appwrite.io\/docs\/databases-relationships#relationship-attributes).\n", + "responses": { + "200": { + "description": "AttributeRelationship", + "schema": { + "$ref": "#\/definitions\/attributeRelationship" + } + } + }, + "x-appwrite": { + "method": "updateRelationshipAttribute", + "group": "attributes", + "weight": 102, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-relationship-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-relationship-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "type": "string", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "onDelete": { + "type": "string", + "description": "Constraints option", + "default": null, + "x-example": "cascade", + "enum": [ + "cascade", + "restrict", + "setNull" + ], + "x-enum-name": "RelationMutate", + "x-enum-keys": [] + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null + } + } + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/documents": { + "get": { + "summary": "List documents", + "operationId": "databasesListDocuments", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Get a list of all the user's documents in a given collection. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Documents List", + "schema": { + "$ref": "#\/definitions\/documentList" + } + } + }, + "x-appwrite": { + "method": "listDocuments", + "group": "documents", + "weight": 109, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/list-documents.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-documents.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "documents.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + }, + "post": { + "summary": "Create document", + "operationId": "databasesCreateDocument", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.\n", + "responses": { + "201": { + "description": "Document", + "schema": { + "$ref": "#\/definitions\/document" + } + } + }, + "x-appwrite": { + "method": "createDocument", + "group": "documents", + "weight": 108, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-document.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-document.md", + "rate-limit": 120, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", + "scope": "documents.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection). Make sure to define attributes before creating documents.", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "documentId": { + "type": "string", + "description": "Document ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<DOCUMENT_ID>" + }, + "data": { + "type": "object", + "description": "Document data as JSON object.", + "default": {}, + "x-example": "{}" + }, + "permissions": { + "type": "array", + "description": "An array of permissions strings. By default, only the current user is granted all permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "default": null, + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + } + }, + "required": [ + "documentId", + "data" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}": { + "get": { + "summary": "Get document", + "operationId": "databasesGetDocument", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Get a document by its unique ID. This endpoint response returns a JSON object with the document data.", + "responses": { + "200": { + "description": "Document", + "schema": { + "$ref": "#\/definitions\/document" + } + } + }, + "x-appwrite": { + "method": "getDocument", + "group": "documents", + "weight": 110, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/get-document.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "documents.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "documentId", + "description": "Document ID.", + "required": true, + "type": "string", + "x-example": "<DOCUMENT_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + }, + "patch": { + "summary": "Update document", + "operationId": "databasesUpdateDocument", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Update a document by its unique ID. Using the patch method you can pass only specific fields that will get updated.", + "responses": { + "200": { + "description": "Document", + "schema": { + "$ref": "#\/definitions\/document" + } + } + }, + "x-appwrite": { + "method": "updateDocument", + "group": "documents", + "weight": 112, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-document.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-document.md", + "rate-limit": 120, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", + "scope": "documents.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID.", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "documentId", + "description": "Document ID.", + "required": true, + "type": "string", + "x-example": "<DOCUMENT_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "description": "Document data as JSON object. Include only attribute and value pairs to be updated.", + "default": [], + "x-example": "{}" + }, + "permissions": { + "type": "array", + "description": "An array of permissions strings. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "default": null, + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + } + } + } + } + ] + }, + "delete": { + "summary": "Delete document", + "operationId": "databasesDeleteDocument", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "databases" + ], + "description": "Delete a document by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteDocument", + "group": "documents", + "weight": 113, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/delete-document.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-document.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", + "scope": "documents.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "documentId", + "description": "Document ID.", + "required": true, + "type": "string", + "x-example": "<DOCUMENT_ID>", + "in": "path" + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}\/logs": { + "get": { + "summary": "List document logs", + "operationId": "databasesListDocumentLogs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Get the document activity logs list by its unique ID.", + "responses": { + "200": { + "description": "Logs List", + "schema": { + "$ref": "#\/definitions\/logList" + } + } + }, + "x-appwrite": { + "method": "listDocumentLogs", + "group": "logs", + "weight": 111, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/list-document-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "documents.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID.", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "documentId", + "description": "Document ID.", + "required": true, + "type": "string", + "x-example": "<DOCUMENT_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/indexes": { + "get": { + "summary": "List indexes", + "operationId": "databasesListIndexes", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "List indexes in the collection.", + "responses": { + "200": { + "description": "Indexes List", + "schema": { + "$ref": "#\/definitions\/indexList" + } + } + }, + "x-appwrite": { + "method": "listIndexes", + "group": "indexes", + "weight": 105, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/list-indexes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-indexes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, status, attributes, error", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + }, + "post": { + "summary": "Create index", + "operationId": "databasesCreateIndex", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Creates an index on the attributes listed. Your index should include all the attributes you will query in a single request.\nAttributes can be `key`, `fulltext`, and `unique`.", + "responses": { + "202": { + "description": "Index", + "schema": { + "$ref": "#\/definitions\/index" + } + } + }, + "x-appwrite": { + "method": "createIndex", + "group": "collections", + "weight": 104, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-index.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-index.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Index Key.", + "default": null, + "x-example": null + }, + "type": { + "type": "string", + "description": "Index type.", + "default": null, + "x-example": "key", + "enum": [ + "key", + "fulltext", + "unique" + ], + "x-enum-name": "IndexType", + "x-enum-keys": [] + }, + "attributes": { + "type": "array", + "description": "Array of attributes to index. Maximum of 100 attributes are allowed, each 32 characters long.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "orders": { + "type": "array", + "description": "Array of index orders. Maximum of 100 orders are allowed.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + } + }, + "required": [ + "key", + "type", + "attributes" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/indexes\/{key}": { + "get": { + "summary": "Get index", + "operationId": "databasesGetIndex", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Get index by ID.", + "responses": { + "200": { + "description": "Index", + "schema": { + "$ref": "#\/definitions\/index" + } + } + }, + "x-appwrite": { + "method": "getIndex", + "group": "indexes", + "weight": 106, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/get-index.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-index.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "key", + "description": "Index Key.", + "required": true, + "type": "string", + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete index", + "operationId": "databasesDeleteIndex", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "databases" + ], + "description": "Delete an index.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteIndex", + "group": "indexes", + "weight": 107, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/delete-index.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-index.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "key", + "description": "Index Key.", + "required": true, + "type": "string", + "in": "path" + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/logs": { + "get": { + "summary": "List collection logs", + "operationId": "databasesListCollectionLogs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Get the collection activity logs list by its unique ID.", + "responses": { + "200": { + "description": "Logs List", + "schema": { + "$ref": "#\/definitions\/logList" + } + } + }, + "x-appwrite": { + "method": "listCollectionLogs", + "group": "collections", + "weight": 78, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/list-collection-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID.", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/usage": { + "get": { + "summary": "Get collection usage stats", + "operationId": "databasesGetCollectionUsage", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Get usage metrics and statistics for a collection. Returning the total number of documents. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days.", + "responses": { + "200": { + "description": "UsageCollection", + "schema": { + "$ref": "#\/definitions\/usageCollection" + } + } + }, + "x-appwrite": { + "method": "getCollectionUsage", + "group": null, + "weight": 116, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/get-collection-usage.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection-usage.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "range", + "description": "Date range.", + "required": false, + "type": "string", + "x-example": "24h", + "enum": [ + "24h", + "30d", + "90d" + ], + "x-enum-name": "DatabaseUsageRange", + "x-enum-keys": [ + "Twenty Four Hours", + "Thirty Days", + "Ninety Days" + ], + "default": "30d", + "in": "query" + }, + { + "name": "collectionId", + "description": "Collection ID.", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + } + ] + } + }, + "\/databases\/{databaseId}\/logs": { + "get": { + "summary": "List database logs", + "operationId": "databasesListLogs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Get the database activity logs list by its unique ID.", + "responses": { + "200": { + "description": "Logs List", + "schema": { + "$ref": "#\/definitions\/logList" + } + } + }, + "x-appwrite": { + "method": "listLogs", + "group": "logs", + "weight": 72, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/list-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "databases.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + } + }, + "\/databases\/{databaseId}\/usage": { + "get": { + "summary": "Get database usage stats", + "operationId": "databasesGetDatabaseUsage", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Get usage metrics and statistics for a database. You can view the total number of collections, documents, and storage usage. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days.", + "responses": { + "200": { + "description": "UsageDatabase", + "schema": { + "$ref": "#\/definitions\/usageDatabase" + } + } + }, + "x-appwrite": { + "method": "getDatabaseUsage", + "group": null, + "weight": 115, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/get-database-usage.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-database-usage.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "range", + "description": "`Date range.", + "required": false, + "type": "string", + "x-example": "24h", + "enum": [ + "24h", + "30d", + "90d" + ], + "x-enum-name": "DatabaseUsageRange", + "x-enum-keys": [ + "Twenty Four Hours", + "Thirty Days", + "Ninety Days" + ], + "default": "30d", + "in": "query" + } + ] + } + }, + "\/functions": { + "get": { + "summary": "List functions", + "operationId": "functionsList", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Get a list of all the project's functions. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Functions List", + "schema": { + "$ref": "#\/definitions\/functionList" + } + } + }, + "x-appwrite": { + "method": "list", + "group": "functions", + "weight": 288, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/list.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-functions.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, enabled, runtime, deployment, schedule, scheduleNext, schedulePrevious, timeout, entrypoint, commands, installationId", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + }, + "post": { + "summary": "Create function", + "operationId": "functionsCreate", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Create a new function. You can pass a list of [permissions](https:\/\/appwrite.io\/docs\/permissions) to allow different project users or team with access to execute the function using the client API.", + "responses": { + "201": { + "description": "Function", + "schema": { + "$ref": "#\/definitions\/function" + } + } + }, + "x-appwrite": { + "method": "create", + "group": "functions", + "weight": 287, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/create.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-function.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "functionId": { + "type": "string", + "description": "Function ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<FUNCTION_ID>" + }, + "name": { + "type": "string", + "description": "Function name. Max length: 128 chars.", + "default": null, + "x-example": "<NAME>" + }, + "runtime": { + "type": "string", + "description": "Execution runtime.", + "default": null, + "x-example": "node-14.5", + "enum": [ + "node-14.5", + "node-16.0", + "node-18.0", + "node-19.0", + "node-20.0", + "node-21.0", + "node-22", + "php-8.0", + "php-8.1", + "php-8.2", + "php-8.3", + "ruby-3.0", + "ruby-3.1", + "ruby-3.2", + "ruby-3.3", + "python-3.8", + "python-3.9", + "python-3.10", + "python-3.11", + "python-3.12", + "python-ml-3.11", + "deno-1.21", + "deno-1.24", + "deno-1.35", + "deno-1.40", + "deno-1.46", + "deno-2.0", + "dart-2.15", + "dart-2.16", + "dart-2.17", + "dart-2.18", + "dart-3.0", + "dart-3.1", + "dart-3.3", + "dart-3.5", + "dotnet-6.0", + "dotnet-7.0", + "dotnet-8.0", + "java-8.0", + "java-11.0", + "java-17.0", + "java-18.0", + "java-21.0", + "java-22", + "swift-5.5", + "swift-5.8", + "swift-5.9", + "swift-5.10", + "kotlin-1.6", + "kotlin-1.8", + "kotlin-1.9", + "kotlin-2.0", + "cpp-17", + "cpp-20", + "bun-1.0", + "bun-1.1", + "go-1.23", + "static-1", + "flutter-3.24" + ], + "x-enum-name": null, + "x-enum-keys": [] + }, + "execute": { + "type": "array", + "description": "An array of role strings with execution permissions. By default no user is granted with any execute permissions. [learn more about roles](https:\/\/appwrite.io\/docs\/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.", + "default": [], + "x-example": "[\"any\"]", + "items": { + "type": "string" + } + }, + "events": { + "type": "array", + "description": "Events list. Maximum of 100 events are allowed.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "schedule": { + "type": "string", + "description": "Schedule CRON syntax.", + "default": "", + "x-example": null + }, + "timeout": { + "type": "integer", + "description": "Function maximum execution time in seconds.", + "default": 15, + "x-example": 1 + }, + "enabled": { + "type": "boolean", + "description": "Is function enabled? When set to 'disabled', users cannot access the function but Server SDKs with and API key can still access the function. No data is lost when this is toggled.", + "default": true, + "x-example": false + }, + "logging": { + "type": "boolean", + "description": "Whether executions will be logged. When set to false, executions will not be logged, but will reduce resource used by your Appwrite project.", + "default": true, + "x-example": false + }, + "entrypoint": { + "type": "string", + "description": "Entrypoint File. This path is relative to the \"providerRootDirectory\".", + "default": "", + "x-example": "<ENTRYPOINT>" + }, + "commands": { + "type": "string", + "description": "Build Commands.", + "default": "", + "x-example": "<COMMANDS>" + }, + "scopes": { + "type": "array", + "description": "List of scopes allowed for API key auto-generated for every execution. Maximum of 100 scopes are allowed.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "installationId": { + "type": "string", + "description": "Appwrite Installation ID for VCS (Version Control System) deployment.", + "default": "", + "x-example": "<INSTALLATION_ID>" + }, + "providerRepositoryId": { + "type": "string", + "description": "Repository ID of the repo linked to the function.", + "default": "", + "x-example": "<PROVIDER_REPOSITORY_ID>" + }, + "providerBranch": { + "type": "string", + "description": "Production branch for the repo linked to the function.", + "default": "", + "x-example": "<PROVIDER_BRANCH>" + }, + "providerSilentMode": { + "type": "boolean", + "description": "Is the VCS (Version Control System) connection in silent mode for the repo linked to the function? In silent mode, comments will not be made on commits and pull requests.", + "default": false, + "x-example": false + }, + "providerRootDirectory": { + "type": "string", + "description": "Path to function code in the linked repo.", + "default": "", + "x-example": "<PROVIDER_ROOT_DIRECTORY>" + }, + "templateRepository": { + "type": "string", + "description": "Repository name of the template.", + "default": "", + "x-example": "<TEMPLATE_REPOSITORY>" + }, + "templateOwner": { + "type": "string", + "description": "The name of the owner of the template.", + "default": "", + "x-example": "<TEMPLATE_OWNER>" + }, + "templateRootDirectory": { + "type": "string", + "description": "Path to function code in the template repo.", + "default": "", + "x-example": "<TEMPLATE_ROOT_DIRECTORY>" + }, + "templateVersion": { + "type": "string", + "description": "Version (tag) for the repo linked to the function template.", + "default": "", + "x-example": "<TEMPLATE_VERSION>" + }, + "specification": { + "type": "string", + "description": "Runtime specification for the function and builds.", + "default": "s-1vcpu-512mb", + "x-example": null + } + }, + "required": [ + "functionId", + "name", + "runtime" + ] + } + } + ] + } + }, + "\/functions\/runtimes": { + "get": { + "summary": "List runtimes", + "operationId": "functionsListRuntimes", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Get a list of all runtimes that are currently active on your instance.", + "responses": { + "200": { + "description": "Runtimes List", + "schema": { + "$ref": "#\/definitions\/runtimeList" + } + } + }, + "x-appwrite": { + "method": "listRuntimes", + "group": "runtimes", + "weight": 289, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/list-runtimes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-runtimes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/functions\/specifications": { + "get": { + "summary": "List available function runtime specifications", + "operationId": "functionsListSpecifications", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "List allowed function specifications for this instance.\n", + "responses": { + "200": { + "description": "Specifications List", + "schema": { + "$ref": "#\/definitions\/specificationList" + } + } + }, + "x-appwrite": { + "method": "listSpecifications", + "group": "runtimes", + "weight": 290, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/list-specifications.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-specifications.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server", + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/functions\/templates": { + "get": { + "summary": "List function templates", + "operationId": "functionsListTemplates", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "List available function templates. You can use template details in [createFunction](\/docs\/references\/cloud\/server-nodejs\/functions#create) method.", + "responses": { + "200": { + "description": "Function Templates List", + "schema": { + "$ref": "#\/definitions\/templateFunctionList" + } + } + }, + "x-appwrite": { + "method": "listTemplates", + "group": "templates", + "weight": 313, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/list-templates.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-templates.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "public", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "runtimes", + "description": "List of runtimes allowed for filtering function templates. Maximum of 100 runtimes are allowed.", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "useCases", + "description": "List of use cases allowed for filtering function templates. Maximum of 100 use cases are allowed.", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "limit", + "description": "Limit the number of templates returned in the response. Default limit is 25, and maximum limit is 5000.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 1, + "default": 25, + "in": "query" + }, + { + "name": "offset", + "description": "Offset the list of returned templates. Maximum offset is 5000.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 0, + "in": "query" + } + ] + } + }, + "\/functions\/templates\/{templateId}": { + "get": { + "summary": "Get function template", + "operationId": "functionsGetTemplate", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Get a function template using ID. You can use template details in [createFunction](\/docs\/references\/cloud\/server-nodejs\/functions#create) method.", + "responses": { + "200": { + "description": "Template Function", + "schema": { + "$ref": "#\/definitions\/templateFunction" + } + } + }, + "x-appwrite": { + "method": "getTemplate", + "group": "templates", + "weight": 314, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/get-template.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-template.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "public", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "templateId", + "description": "Template ID.", + "required": true, + "type": "string", + "x-example": "<TEMPLATE_ID>", + "in": "path" + } + ] + } + }, + "\/functions\/usage": { + "get": { + "summary": "Get functions usage", + "operationId": "functionsGetUsage", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Get usage metrics and statistics for a for all functions. View statistics including total functions, deployments, builds, executions, storage usage, and compute time. The response includes both current totals and historical data for each metric. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, defaults to 30 days.", + "responses": { + "200": { + "description": "UsageFunctions", + "schema": { + "$ref": "#\/definitions\/usageFunctions" + } + } + }, + "x-appwrite": { + "method": "getUsage", + "group": null, + "weight": 293, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/get-usage.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-functions-usage.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "range", + "description": "Date range.", + "required": false, + "type": "string", + "x-example": "24h", + "enum": [ + "24h", + "30d", + "90d" + ], + "x-enum-name": "FunctionUsageRange", + "x-enum-keys": [ + "Twenty Four Hours", + "Thirty Days", + "Ninety Days" + ], + "default": "30d", + "in": "query" + } + ] + } + }, + "\/functions\/{functionId}": { + "get": { + "summary": "Get function", + "operationId": "functionsGet", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Get a function by its unique ID.", + "responses": { + "200": { + "description": "Function", + "schema": { + "$ref": "#\/definitions\/function" + } + } + }, + "x-appwrite": { + "method": "get", + "group": "functions", + "weight": 291, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-function.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + } + ] + }, + "put": { + "summary": "Update function", + "operationId": "functionsUpdate", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Update function by its unique ID.", + "responses": { + "200": { + "description": "Function", + "schema": { + "$ref": "#\/definitions\/function" + } + } + }, + "x-appwrite": { + "method": "update", + "group": "functions", + "weight": 294, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/update.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/update-function.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Function name. Max length: 128 chars.", + "default": null, + "x-example": "<NAME>" + }, + "runtime": { + "type": "string", + "description": "Execution runtime.", + "default": "", + "x-example": "node-14.5", + "enum": [ + "node-14.5", + "node-16.0", + "node-18.0", + "node-19.0", + "node-20.0", + "node-21.0", + "node-22", + "php-8.0", + "php-8.1", + "php-8.2", + "php-8.3", + "ruby-3.0", + "ruby-3.1", + "ruby-3.2", + "ruby-3.3", + "python-3.8", + "python-3.9", + "python-3.10", + "python-3.11", + "python-3.12", + "python-ml-3.11", + "deno-1.21", + "deno-1.24", + "deno-1.35", + "deno-1.40", + "deno-1.46", + "deno-2.0", + "dart-2.15", + "dart-2.16", + "dart-2.17", + "dart-2.18", + "dart-3.0", + "dart-3.1", + "dart-3.3", + "dart-3.5", + "dotnet-6.0", + "dotnet-7.0", + "dotnet-8.0", + "java-8.0", + "java-11.0", + "java-17.0", + "java-18.0", + "java-21.0", + "java-22", + "swift-5.5", + "swift-5.8", + "swift-5.9", + "swift-5.10", + "kotlin-1.6", + "kotlin-1.8", + "kotlin-1.9", + "kotlin-2.0", + "cpp-17", + "cpp-20", + "bun-1.0", + "bun-1.1", + "go-1.23", + "static-1", + "flutter-3.24" + ], + "x-enum-name": null, + "x-enum-keys": [] + }, + "execute": { + "type": "array", + "description": "An array of role strings with execution permissions. By default no user is granted with any execute permissions. [learn more about roles](https:\/\/appwrite.io\/docs\/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.", + "default": [], + "x-example": "[\"any\"]", + "items": { + "type": "string" + } + }, + "events": { + "type": "array", + "description": "Events list. Maximum of 100 events are allowed.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "schedule": { + "type": "string", + "description": "Schedule CRON syntax.", + "default": "", + "x-example": null + }, + "timeout": { + "type": "integer", + "description": "Maximum execution time in seconds.", + "default": 15, + "x-example": 1 + }, + "enabled": { + "type": "boolean", + "description": "Is function enabled? When set to 'disabled', users cannot access the function but Server SDKs with and API key can still access the function. No data is lost when this is toggled.", + "default": true, + "x-example": false + }, + "logging": { + "type": "boolean", + "description": "Whether executions will be logged. When set to false, executions will not be logged, but will reduce resource used by your Appwrite project.", + "default": true, + "x-example": false + }, + "entrypoint": { + "type": "string", + "description": "Entrypoint File. This path is relative to the \"providerRootDirectory\".", + "default": "", + "x-example": "<ENTRYPOINT>" + }, + "commands": { + "type": "string", + "description": "Build Commands.", + "default": "", + "x-example": "<COMMANDS>" + }, + "scopes": { + "type": "array", + "description": "List of scopes allowed for API Key auto-generated for every execution. Maximum of 100 scopes are allowed.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "installationId": { + "type": "string", + "description": "Appwrite Installation ID for VCS (Version Controle System) deployment.", + "default": "", + "x-example": "<INSTALLATION_ID>" + }, + "providerRepositoryId": { + "type": "string", + "description": "Repository ID of the repo linked to the function", + "default": null, + "x-example": "<PROVIDER_REPOSITORY_ID>", + "x-nullable": true + }, + "providerBranch": { + "type": "string", + "description": "Production branch for the repo linked to the function", + "default": "", + "x-example": "<PROVIDER_BRANCH>" + }, + "providerSilentMode": { + "type": "boolean", + "description": "Is the VCS (Version Control System) connection in silent mode for the repo linked to the function? In silent mode, comments will not be made on commits and pull requests.", + "default": false, + "x-example": false + }, + "providerRootDirectory": { + "type": "string", + "description": "Path to function code in the linked repo.", + "default": "", + "x-example": "<PROVIDER_ROOT_DIRECTORY>" + }, + "specification": { + "type": "string", + "description": "Runtime specification for the function and builds.", + "default": "s-1vcpu-512mb", + "x-example": null + } + }, + "required": [ + "name" + ] + } + } + ] + }, + "delete": { + "summary": "Delete function", + "operationId": "functionsDelete", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "functions" + ], + "description": "Delete a function by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "delete", + "group": "functions", + "weight": 297, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/delete.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/delete-function.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + } + ] + } + }, + "\/functions\/{functionId}\/deployments": { + "get": { + "summary": "List deployments", + "operationId": "functionsListDeployments", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Get a list of all the project's code deployments. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Deployments List", + "schema": { + "$ref": "#\/definitions\/deploymentList" + } + } + }, + "x-appwrite": { + "method": "listDeployments", + "group": "deployments", + "weight": 299, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/list-deployments.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-deployments.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: size, buildId, activate, entrypoint, commands, type, size", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + }, + "post": { + "summary": "Create deployment", + "operationId": "functionsCreateDeployment", + "consumes": [ + "multipart\/form-data" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Create a new function code deployment. Use this endpoint to upload a new version of your code function. To execute your newly uploaded code, you'll need to update the function's deployment to use your new deployment UID.\n\nThis endpoint accepts a tar.gz file compressed with your code. Make sure to include any dependencies your code has within the compressed file. You can learn more about code packaging in the [Appwrite Cloud Functions tutorial](https:\/\/appwrite.io\/docs\/functions).\n\nUse the \"command\" param to set the entrypoint used to execute your code.", + "responses": { + "202": { + "description": "Deployment", + "schema": { + "$ref": "#\/definitions\/deployment" + } + } + }, + "x-appwrite": { + "method": "createDeployment", + "group": "deployments", + "weight": 298, + "cookies": false, + "type": "upload", + "deprecated": false, + "demo": "functions\/create-deployment.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-deployment.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": true, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "entrypoint", + "description": "Entrypoint File.", + "required": false, + "type": "string", + "x-example": "<ENTRYPOINT>", + "in": "formData" + }, + { + "name": "commands", + "description": "Build Commands.", + "required": false, + "type": "string", + "x-example": "<COMMANDS>", + "in": "formData" + }, + { + "name": "code", + "description": "Gzip file with your code package. When used with the Appwrite CLI, pass the path to your code directory, and the CLI will automatically package your code. Use a path that is within the current directory.", + "required": true, + "type": "file", + "in": "formData" + }, + { + "name": "activate", + "description": "Automatically activate the deployment when it is finished building.", + "required": true, + "type": "boolean", + "x-example": false, + "in": "formData" + } + ] + } + }, + "\/functions\/{functionId}\/deployments\/{deploymentId}": { + "get": { + "summary": "Get deployment", + "operationId": "functionsGetDeployment", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Get a code deployment by its unique ID.", + "responses": { + "200": { + "description": "Deployment", + "schema": { + "$ref": "#\/definitions\/deployment" + } + } + }, + "x-appwrite": { + "method": "getDeployment", + "group": "deployments", + "weight": 300, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/get-deployment.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-deployment.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "deploymentId", + "description": "Deployment ID.", + "required": true, + "type": "string", + "x-example": "<DEPLOYMENT_ID>", + "in": "path" + } + ] + }, + "patch": { + "summary": "Update deployment", + "operationId": "functionsUpdateDeployment", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Update the function code deployment ID using the unique function ID. Use this endpoint to switch the code deployment that should be executed by the execution endpoint.", + "responses": { + "200": { + "description": "Function", + "schema": { + "$ref": "#\/definitions\/function" + } + } + }, + "x-appwrite": { + "method": "updateDeployment", + "group": "deployments", + "weight": 296, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/update-deployment.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/update-function-deployment.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "deploymentId", + "description": "Deployment ID.", + "required": true, + "type": "string", + "x-example": "<DEPLOYMENT_ID>", + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete deployment", + "operationId": "functionsDeleteDeployment", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "functions" + ], + "description": "Delete a code deployment by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteDeployment", + "group": "deployments", + "weight": 301, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/delete-deployment.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/delete-deployment.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "deploymentId", + "description": "Deployment ID.", + "required": true, + "type": "string", + "x-example": "<DEPLOYMENT_ID>", + "in": "path" + } + ] + } + }, + "\/functions\/{functionId}\/deployments\/{deploymentId}\/build": { + "post": { + "summary": "Create deployment build", + "operationId": "functionsCreateBuild", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Create a new build for an existing function deployment. This endpoint allows you to rebuild a deployment with the updated function configuration, including its entrypoint and build commands if they have been modified The build process will be queued and executed asynchronously. The original deployment's code will be preserved and used for the new build.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "createBuild", + "group": "deployments", + "weight": 302, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/create-build.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-build.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "deploymentId", + "description": "Deployment ID.", + "required": true, + "type": "string", + "x-example": "<DEPLOYMENT_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "buildId": { + "type": "string", + "description": "Build unique ID.", + "default": "", + "x-example": "<BUILD_ID>" + } + } + } + } + ] + }, + "patch": { + "summary": "Cancel deployment", + "operationId": "functionsUpdateDeploymentBuild", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Cancel an ongoing function deployment build. If the build is already in progress, it will be stopped and marked as canceled. If the build hasn't started yet, it will be marked as canceled without executing. You cannot cancel builds that have already completed (status 'ready') or failed. The response includes the final build status and details.", + "responses": { + "200": { + "description": "Build", + "schema": { + "$ref": "#\/definitions\/build" + } + } + }, + "x-appwrite": { + "method": "updateDeploymentBuild", + "group": "deployments", + "weight": 303, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/update-deployment-build.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/update-deployment-build.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "deploymentId", + "description": "Deployment ID.", + "required": true, + "type": "string", + "x-example": "<DEPLOYMENT_ID>", + "in": "path" + } + ] + } + }, + "\/functions\/{functionId}\/deployments\/{deploymentId}\/download": { + "get": { + "summary": "Get deployment download", + "operationId": "functionsGetDeploymentDownload", + "consumes": [ + "application\/json" + ], + "produces": [ + "*\/*" + ], + "tags": [ + "functions" + ], + "description": "Get a Deployment's contents by its unique ID. This endpoint supports range requests for partial or streaming file download.", + "responses": { + "200": { + "description": "File", + "schema": { + "type": "file" + } + } + }, + "x-appwrite": { + "method": "getDeploymentDownload", + "group": "deployments", + "weight": 295, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "functions\/get-deployment-download.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-deployment-download.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "deploymentId", + "description": "Deployment ID.", + "required": true, + "type": "string", + "x-example": "<DEPLOYMENT_ID>", + "in": "path" + } + ] + } + }, + "\/functions\/{functionId}\/executions": { + "get": { + "summary": "List executions", + "operationId": "functionsListExecutions", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Get a list of all the current user function execution logs. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Executions List", + "schema": { + "$ref": "#\/definitions\/executionList" + } + } + }, + "x-appwrite": { + "method": "listExecutions", + "group": "executions", + "weight": 305, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/list-executions.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-executions.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "execution.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: trigger, status, responseStatusCode, duration, requestMethod, requestPath, deploymentId", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + }, + "post": { + "summary": "Create execution", + "operationId": "functionsCreateExecution", + "consumes": [ + "application\/json" + ], + "produces": [ + "multipart\/form-data" + ], + "tags": [ + "functions" + ], + "description": "Trigger a function execution. The returned object will return you the current execution status. You can ping the `Get Execution` endpoint to get updates on the current execution status. Once this endpoint is called, your function execution process will start asynchronously.", + "responses": { + "201": { + "description": "Execution", + "schema": { + "$ref": "#\/definitions\/execution" + } + } + }, + "x-appwrite": { + "method": "createExecution", + "group": "executions", + "weight": 304, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/create-execution.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-execution.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "execution.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "HTTP body of execution. Default value is empty string.", + "default": "", + "x-example": "<BODY>" + }, + "async": { + "type": "boolean", + "description": "Execute code in the background. Default value is false.", + "default": false, + "x-example": false + }, + "path": { + "type": "string", + "description": "HTTP path of execution. Path can include query params. Default value is \/", + "default": "\/", + "x-example": "<PATH>" + }, + "method": { + "type": "string", + "description": "HTTP method of execution. Default value is GET.", + "default": "POST", + "x-example": "GET", + "enum": [ + "GET", + "POST", + "PUT", + "PATCH", + "DELETE", + "OPTIONS" + ], + "x-enum-name": "ExecutionMethod", + "x-enum-keys": [] + }, + "headers": { + "type": "object", + "description": "HTTP headers of execution. Defaults to empty.", + "default": [], + "x-example": "{}" + }, + "scheduledAt": { + "type": "string", + "description": "Scheduled execution time in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future with precision in minutes.", + "default": null, + "x-example": null + } + } + } + } + ] + } + }, + "\/functions\/{functionId}\/executions\/{executionId}": { + "get": { + "summary": "Get execution", + "operationId": "functionsGetExecution", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Get a function execution log by its unique ID.", + "responses": { + "200": { + "description": "Execution", + "schema": { + "$ref": "#\/definitions\/execution" + } + } + }, + "x-appwrite": { + "method": "getExecution", + "group": "executions", + "weight": 306, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/get-execution.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-execution.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "execution.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "executionId", + "description": "Execution ID.", + "required": true, + "type": "string", + "x-example": "<EXECUTION_ID>", + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete execution", + "operationId": "functionsDeleteExecution", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "functions" + ], + "description": "Delete a function execution by its unique ID.\n", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteExecution", + "group": "executions", + "weight": 307, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/delete-execution.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/delete-execution.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "execution.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "executionId", + "description": "Execution ID.", + "required": true, + "type": "string", + "x-example": "<EXECUTION_ID>", + "in": "path" + } + ] + } + }, + "\/functions\/{functionId}\/usage": { + "get": { + "summary": "Get function usage", + "operationId": "functionsGetFunctionUsage", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Get usage metrics and statistics for a for a specific function. View statistics including total deployments, builds, executions, storage usage, and compute time. The response includes both current totals and historical data for each metric. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, defaults to 30 days.", + "responses": { + "200": { + "description": "UsageFunction", + "schema": { + "$ref": "#\/definitions\/usageFunction" + } + } + }, + "x-appwrite": { + "method": "getFunctionUsage", + "group": null, + "weight": 292, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/get-function-usage.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-function-usage.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "range", + "description": "Date range.", + "required": false, + "type": "string", + "x-example": "24h", + "enum": [ + "24h", + "30d", + "90d" + ], + "x-enum-name": "FunctionUsageRange", + "x-enum-keys": [ + "Twenty Four Hours", + "Thirty Days", + "Ninety Days" + ], + "default": "30d", + "in": "query" + } + ] + } + }, + "\/functions\/{functionId}\/variables": { + "get": { + "summary": "List variables", + "operationId": "functionsListVariables", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Get a list of all variables of a specific function.", + "responses": { + "200": { + "description": "Variables List", + "schema": { + "$ref": "#\/definitions\/variableList" + } + } + }, + "x-appwrite": { + "method": "listVariables", + "group": "variables", + "weight": 309, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/list-variables.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-variables.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function unique ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + } + ] + }, + "post": { + "summary": "Create variable", + "operationId": "functionsCreateVariable", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Create a new function environment variable. These variables can be accessed in the function at runtime as environment variables.", + "responses": { + "201": { + "description": "Variable", + "schema": { + "$ref": "#\/definitions\/variable" + } + } + }, + "x-appwrite": { + "method": "createVariable", + "group": "variables", + "weight": 308, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/create-variable.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-variable.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function unique ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Variable key. Max length: 255 chars.", + "default": null, + "x-example": "<KEY>" + }, + "value": { + "type": "string", + "description": "Variable value. Max length: 8192 chars.", + "default": null, + "x-example": "<VALUE>" + } + }, + "required": [ + "key", + "value" + ] + } + } + ] + } + }, + "\/functions\/{functionId}\/variables\/{variableId}": { + "get": { + "summary": "Get variable", + "operationId": "functionsGetVariable", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Get a variable by its unique ID.", + "responses": { + "200": { + "description": "Variable", + "schema": { + "$ref": "#\/definitions\/variable" + } + } + }, + "x-appwrite": { + "method": "getVariable", + "group": "variables", + "weight": 310, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/get-variable.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-variable.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function unique ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "variableId", + "description": "Variable unique ID.", + "required": true, + "type": "string", + "x-example": "<VARIABLE_ID>", + "in": "path" + } + ] + }, + "put": { + "summary": "Update variable", + "operationId": "functionsUpdateVariable", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Update variable by its unique ID.", + "responses": { + "200": { + "description": "Variable", + "schema": { + "$ref": "#\/definitions\/variable" + } + } + }, + "x-appwrite": { + "method": "updateVariable", + "group": "variables", + "weight": 311, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/update-variable.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/update-variable.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function unique ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "variableId", + "description": "Variable unique ID.", + "required": true, + "type": "string", + "x-example": "<VARIABLE_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Variable key. Max length: 255 chars.", + "default": null, + "x-example": "<KEY>" + }, + "value": { + "type": "string", + "description": "Variable value. Max length: 8192 chars.", + "default": null, + "x-example": "<VALUE>" + } + }, + "required": [ + "key" + ] + } + } + ] + }, + "delete": { + "summary": "Delete variable", + "operationId": "functionsDeleteVariable", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "functions" + ], + "description": "Delete a variable by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteVariable", + "group": "variables", + "weight": 312, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/delete-variable.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/delete-variable.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function unique ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "variableId", + "description": "Variable unique ID.", + "required": true, + "type": "string", + "x-example": "<VARIABLE_ID>", + "in": "path" + } + ] + } + }, + "\/graphql": { + "post": { + "summary": "GraphQL endpoint", + "operationId": "graphqlQuery", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "graphql" + ], + "description": "Execute a GraphQL mutation.", + "responses": { + "200": { + "description": "Any", + "schema": { + "$ref": "#\/definitions\/any" + } + } + }, + "x-appwrite": { + "method": "query", + "group": "graphql", + "weight": 330, + "cookies": false, + "type": "graphql", + "deprecated": false, + "demo": "graphql\/query.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "url:{url},ip:{ip}", + "scope": "graphql", + "platforms": [ + "server", + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "query": { + "type": "object", + "description": "The query or queries to execute.", + "default": {}, + "x-example": "{}" + } + }, + "required": [ + "query" + ] + } + } + ] + } + }, + "\/graphql\/mutation": { + "post": { + "summary": "GraphQL endpoint", + "operationId": "graphqlMutation", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "graphql" + ], + "description": "Execute a GraphQL mutation.", + "responses": { + "200": { + "description": "Any", + "schema": { + "$ref": "#\/definitions\/any" + } + } + }, + "x-appwrite": { + "method": "mutation", + "group": "graphql", + "weight": 329, + "cookies": false, + "type": "graphql", + "deprecated": false, + "demo": "graphql\/mutation.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "url:{url},ip:{ip}", + "scope": "graphql", + "platforms": [ + "server", + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "query": { + "type": "object", + "description": "The query or queries to execute.", + "default": {}, + "x-example": "{}" + } + }, + "required": [ + "query" + ] + } + } + ] + } + }, + "\/health": { + "get": { + "summary": "Get HTTP", + "operationId": "healthGet", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Check the Appwrite HTTP server is up and responsive.", + "responses": { + "200": { + "description": "Health Status", + "schema": { + "$ref": "#\/definitions\/healthStatus" + } + } + }, + "x-appwrite": { + "method": "get", + "group": "health", + "weight": 125, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/health\/anti-virus": { + "get": { + "summary": "Get antivirus", + "operationId": "healthGetAntivirus", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Check the Appwrite Antivirus server is up and connection is successful.", + "responses": { + "200": { + "description": "Health Antivirus", + "schema": { + "$ref": "#\/definitions\/healthAntivirus" + } + } + }, + "x-appwrite": { + "method": "getAntivirus", + "group": "health", + "weight": 146, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-antivirus.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage-anti-virus.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/health\/cache": { + "get": { + "summary": "Get cache", + "operationId": "healthGetCache", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Check the Appwrite in-memory cache servers are up and connection is successful.", + "responses": { + "200": { + "description": "Health Status", + "schema": { + "$ref": "#\/definitions\/healthStatus" + } + } + }, + "x-appwrite": { + "method": "getCache", + "group": "health", + "weight": 128, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-cache.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-cache.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/health\/certificate": { + "get": { + "summary": "Get the SSL certificate for a domain", + "operationId": "healthGetCertificate", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Get the SSL certificate for a domain", + "responses": { + "200": { + "description": "Health Certificate", + "schema": { + "$ref": "#\/definitions\/healthCertificate" + } + } + }, + "x-appwrite": { + "method": "getCertificate", + "group": "health", + "weight": 133, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-certificate.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-certificate.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "domain", + "description": "string", + "required": false, + "type": "string", + "in": "query" + } + ] + } + }, + "\/health\/db": { + "get": { + "summary": "Get DB", + "operationId": "healthGetDB", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Check the Appwrite database servers are up and connection is successful.", + "responses": { + "200": { + "description": "Health Status", + "schema": { + "$ref": "#\/definitions\/healthStatus" + } + } + }, + "x-appwrite": { + "method": "getDB", + "group": "health", + "weight": 127, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-d-b.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-db.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/health\/pubsub": { + "get": { + "summary": "Get pubsub", + "operationId": "healthGetPubSub", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Check the Appwrite pub-sub servers are up and connection is successful.", + "responses": { + "200": { + "description": "Health Status", + "schema": { + "$ref": "#\/definitions\/healthStatus" + } + } + }, + "x-appwrite": { + "method": "getPubSub", + "group": "health", + "weight": 129, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-pub-sub.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-pubsub.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/health\/queue\/builds": { + "get": { + "summary": "Get builds queue", + "operationId": "healthGetQueueBuilds", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Get the number of builds that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "schema": { + "$ref": "#\/definitions\/healthQueue" + } + } + }, + "x-appwrite": { + "method": "getQueueBuilds", + "group": "queue", + "weight": 135, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-builds.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-builds.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "type": "integer", + "format": "int32", + "default": 5000, + "in": "query" + } + ] + } + }, + "\/health\/queue\/certificates": { + "get": { + "summary": "Get certificates queue", + "operationId": "healthGetQueueCertificates", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Get the number of certificates that are waiting to be issued against [Letsencrypt](https:\/\/letsencrypt.org\/) in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "schema": { + "$ref": "#\/definitions\/healthQueue" + } + } + }, + "x-appwrite": { + "method": "getQueueCertificates", + "group": "queue", + "weight": 134, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-certificates.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-certificates.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "type": "integer", + "format": "int32", + "default": 5000, + "in": "query" + } + ] + } + }, + "\/health\/queue\/databases": { + "get": { + "summary": "Get databases queue", + "operationId": "healthGetQueueDatabases", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Get the number of database changes that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "schema": { + "$ref": "#\/definitions\/healthQueue" + } + } + }, + "x-appwrite": { + "method": "getQueueDatabases", + "group": "queue", + "weight": 136, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-databases.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-databases.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "name", + "description": "Queue name for which to check the queue size", + "required": false, + "type": "string", + "x-example": "<NAME>", + "default": "database_db_main", + "in": "query" + }, + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "type": "integer", + "format": "int32", + "default": 5000, + "in": "query" + } + ] + } + }, + "\/health\/queue\/deletes": { + "get": { + "summary": "Get deletes queue", + "operationId": "healthGetQueueDeletes", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Get the number of background destructive changes that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "schema": { + "$ref": "#\/definitions\/healthQueue" + } + } + }, + "x-appwrite": { + "method": "getQueueDeletes", + "group": "queue", + "weight": 137, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-deletes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-deletes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "type": "integer", + "format": "int32", + "default": 5000, + "in": "query" + } + ] + } + }, + "\/health\/queue\/failed\/{name}": { + "get": { + "summary": "Get number of failed queue jobs", + "operationId": "healthGetFailedJobs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Returns the amount of failed jobs in a given queue.\n", + "responses": { + "200": { + "description": "Health Queue", + "schema": { + "$ref": "#\/definitions\/healthQueue" + } + } + }, + "x-appwrite": { + "method": "getFailedJobs", + "group": "queue", + "weight": 147, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-failed-jobs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-failed-queue-jobs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "name", + "description": "The name of the queue", + "required": true, + "type": "string", + "x-example": "v1-database", + "enum": [ + "v1-database", + "v1-deletes", + "v1-audits", + "v1-mails", + "v1-functions", + "v1-stats-resources", + "v1-stats-usage", + "v1-webhooks", + "v1-certificates", + "v1-builds", + "v1-messaging", + "v1-migrations" + ], + "x-enum-name": null, + "x-enum-keys": [], + "in": "path" + }, + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "type": "integer", + "format": "int32", + "default": 5000, + "in": "query" + } + ] + } + }, + "\/health\/queue\/functions": { + "get": { + "summary": "Get functions queue", + "operationId": "healthGetQueueFunctions", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Get the number of function executions that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "schema": { + "$ref": "#\/definitions\/healthQueue" + } + } + }, + "x-appwrite": { + "method": "getQueueFunctions", + "group": "queue", + "weight": 141, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-functions.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-functions.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "type": "integer", + "format": "int32", + "default": 5000, + "in": "query" + } + ] + } + }, + "\/health\/queue\/logs": { + "get": { + "summary": "Get logs queue", + "operationId": "healthGetQueueLogs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Get the number of logs that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "schema": { + "$ref": "#\/definitions\/healthQueue" + } + } + }, + "x-appwrite": { + "method": "getQueueLogs", + "group": "queue", + "weight": 132, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "type": "integer", + "format": "int32", + "default": 5000, + "in": "query" + } + ] + } + }, + "\/health\/queue\/mails": { + "get": { + "summary": "Get mails queue", + "operationId": "healthGetQueueMails", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Get the number of mails that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "schema": { + "$ref": "#\/definitions\/healthQueue" + } + } + }, + "x-appwrite": { + "method": "getQueueMails", + "group": "queue", + "weight": 138, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-mails.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-mails.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "type": "integer", + "format": "int32", + "default": 5000, + "in": "query" + } + ] + } + }, + "\/health\/queue\/messaging": { + "get": { + "summary": "Get messaging queue", + "operationId": "healthGetQueueMessaging", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Get the number of messages that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "schema": { + "$ref": "#\/definitions\/healthQueue" + } + } + }, + "x-appwrite": { + "method": "getQueueMessaging", + "group": "queue", + "weight": 139, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-messaging.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-messaging.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "type": "integer", + "format": "int32", + "default": 5000, + "in": "query" + } + ] + } + }, + "\/health\/queue\/migrations": { + "get": { + "summary": "Get migrations queue", + "operationId": "healthGetQueueMigrations", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Get the number of migrations that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "schema": { + "$ref": "#\/definitions\/healthQueue" + } + } + }, + "x-appwrite": { + "method": "getQueueMigrations", + "group": "queue", + "weight": 140, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-migrations.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-migrations.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "type": "integer", + "format": "int32", + "default": 5000, + "in": "query" + } + ] + } + }, + "\/health\/queue\/stats-resources": { + "get": { + "summary": "Get stats resources queue", + "operationId": "healthGetQueueStatsResources", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Get the number of metrics that are waiting to be processed in the Appwrite stats resources queue.", + "responses": { + "200": { + "description": "Health Queue", + "schema": { + "$ref": "#\/definitions\/healthQueue" + } + } + }, + "x-appwrite": { + "method": "getQueueStatsResources", + "group": "queue", + "weight": 142, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-stats-resources.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-resources.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "type": "integer", + "format": "int32", + "default": 5000, + "in": "query" + } + ] + } + }, + "\/health\/queue\/stats-usage": { + "get": { + "summary": "Get stats usage queue", + "operationId": "healthGetQueueUsage", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Get the number of metrics that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "schema": { + "$ref": "#\/definitions\/healthQueue" + } + } + }, + "x-appwrite": { + "method": "getQueueUsage", + "group": "queue", + "weight": 143, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-usage.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-usage.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "type": "integer", + "format": "int32", + "default": 5000, + "in": "query" + } + ] + } + }, + "\/health\/queue\/webhooks": { + "get": { + "summary": "Get webhooks queue", + "operationId": "healthGetQueueWebhooks", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Get the number of webhooks that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "schema": { + "$ref": "#\/definitions\/healthQueue" + } + } + }, + "x-appwrite": { + "method": "getQueueWebhooks", + "group": "queue", + "weight": 131, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-webhooks.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-webhooks.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "type": "integer", + "format": "int32", + "default": 5000, + "in": "query" + } + ] + } + }, + "\/health\/storage": { + "get": { + "summary": "Get storage", + "operationId": "healthGetStorage", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Check the Appwrite storage device is up and connection is successful.", + "responses": { + "200": { + "description": "Health Status", + "schema": { + "$ref": "#\/definitions\/healthStatus" + } + } + }, + "x-appwrite": { + "method": "getStorage", + "group": "storage", + "weight": 145, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-storage.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/health\/storage\/local": { + "get": { + "summary": "Get local storage", + "operationId": "healthGetStorageLocal", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Check the Appwrite local storage device is up and connection is successful.", + "responses": { + "200": { + "description": "Health Status", + "schema": { + "$ref": "#\/definitions\/healthStatus" + } + } + }, + "x-appwrite": { + "method": "getStorageLocal", + "group": "storage", + "weight": 144, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-storage-local.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage-local.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/health\/time": { + "get": { + "summary": "Get time", + "operationId": "healthGetTime", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Check the Appwrite server time is synced with Google remote NTP server. We use this technology to smoothly handle leap seconds with no disruptive events. The [Network Time Protocol](https:\/\/en.wikipedia.org\/wiki\/Network_Time_Protocol) (NTP) is used by hundreds of millions of computers and devices to synchronize their clocks over the Internet. If your computer sets its own clock, it likely uses NTP.", + "responses": { + "200": { + "description": "Health Time", + "schema": { + "$ref": "#\/definitions\/healthTime" + } + } + }, + "x-appwrite": { + "method": "getTime", + "group": "health", + "weight": 130, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-time.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-time.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/locale": { + "get": { + "summary": "Get user locale", + "operationId": "localeGet", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "locale" + ], + "description": "Get the current user location based on IP. Returns an object with user country code, country name, continent name, continent code, ip address and suggested currency. You can use the locale header to get the data in a supported language.\n\n([IP Geolocation by DB-IP](https:\/\/db-ip.com))", + "responses": { + "200": { + "description": "Locale", + "schema": { + "$ref": "#\/definitions\/locale" + } + } + }, + "x-appwrite": { + "method": "get", + "group": null, + "weight": 117, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/get-locale.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/locale\/codes": { + "get": { + "summary": "List locale codes", + "operationId": "localeListCodes", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "locale" + ], + "description": "List of all locale codes in [ISO 639-1](https:\/\/en.wikipedia.org\/wiki\/List_of_ISO_639-1_codes).", + "responses": { + "200": { + "description": "Locale codes list", + "schema": { + "$ref": "#\/definitions\/localeCodeList" + } + } + }, + "x-appwrite": { + "method": "listCodes", + "group": null, + "weight": 118, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-locale-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/locale\/continents": { + "get": { + "summary": "List continents", + "operationId": "localeListContinents", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "locale" + ], + "description": "List of all continents. You can use the locale header to get the data in a supported language.", + "responses": { + "200": { + "description": "Continents List", + "schema": { + "$ref": "#\/definitions\/continentList" + } + } + }, + "x-appwrite": { + "method": "listContinents", + "group": null, + "weight": 122, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-continents.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-continents.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/locale\/countries": { + "get": { + "summary": "List countries", + "operationId": "localeListCountries", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "locale" + ], + "description": "List of all countries. You can use the locale header to get the data in a supported language.", + "responses": { + "200": { + "description": "Countries List", + "schema": { + "$ref": "#\/definitions\/countryList" + } + } + }, + "x-appwrite": { + "method": "listCountries", + "group": null, + "weight": 119, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-countries.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/locale\/countries\/eu": { + "get": { + "summary": "List EU countries", + "operationId": "localeListCountriesEU", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "locale" + ], + "description": "List of all countries that are currently members of the EU. You can use the locale header to get the data in a supported language.", + "responses": { + "200": { + "description": "Countries List", + "schema": { + "$ref": "#\/definitions\/countryList" + } + } + }, + "x-appwrite": { + "method": "listCountriesEU", + "group": null, + "weight": 120, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-countries-e-u.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-eu.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/locale\/countries\/phones": { + "get": { + "summary": "List countries phone codes", + "operationId": "localeListCountriesPhones", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "locale" + ], + "description": "List of all countries phone codes. You can use the locale header to get the data in a supported language.", + "responses": { + "200": { + "description": "Phones List", + "schema": { + "$ref": "#\/definitions\/phoneList" + } + } + }, + "x-appwrite": { + "method": "listCountriesPhones", + "group": null, + "weight": 121, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-countries-phones.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-phones.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/locale\/currencies": { + "get": { + "summary": "List currencies", + "operationId": "localeListCurrencies", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "locale" + ], + "description": "List of all currencies, including currency symbol, name, plural, and decimal digits for all major and minor currencies. You can use the locale header to get the data in a supported language.", + "responses": { + "200": { + "description": "Currencies List", + "schema": { + "$ref": "#\/definitions\/currencyList" + } + } + }, + "x-appwrite": { + "method": "listCurrencies", + "group": null, + "weight": 123, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-currencies.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-currencies.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/locale\/languages": { + "get": { + "summary": "List languages", + "operationId": "localeListLanguages", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "locale" + ], + "description": "List of all languages classified by ISO 639-1 including 2-letter code, name in English, and name in the respective language.", + "responses": { + "200": { + "description": "Languages List", + "schema": { + "$ref": "#\/definitions\/languageList" + } + } + }, + "x-appwrite": { + "method": "listLanguages", + "group": null, + "weight": 124, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-languages.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-languages.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/messaging\/messages": { + "get": { + "summary": "List messages", + "operationId": "messagingListMessages", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Get a list of all messages from the current Appwrite project.", + "responses": { + "200": { + "description": "Message list", + "schema": { + "$ref": "#\/definitions\/messageList" + } + } + }, + "x-appwrite": { + "method": "listMessages", + "group": "messages", + "weight": 383, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-messages.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-messages.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: scheduledAt, deliveredAt, deliveredTotal, status, description, providerType", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + } + }, + "\/messaging\/messages\/email": { + "post": { + "summary": "Create email", + "operationId": "messagingCreateEmail", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Create a new email message.", + "responses": { + "201": { + "description": "Message", + "schema": { + "$ref": "#\/definitions\/message" + } + } + }, + "x-appwrite": { + "method": "createEmail", + "group": "messages", + "weight": 380, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-email.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-email.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "messageId": { + "type": "string", + "description": "Message ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<MESSAGE_ID>" + }, + "subject": { + "type": "string", + "description": "Email Subject.", + "default": null, + "x-example": "<SUBJECT>" + }, + "content": { + "type": "string", + "description": "Email Content.", + "default": null, + "x-example": "<CONTENT>" + }, + "topics": { + "type": "array", + "description": "List of Topic IDs.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "users": { + "type": "array", + "description": "List of User IDs.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "targets": { + "type": "array", + "description": "List of Targets IDs.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "cc": { + "type": "array", + "description": "Array of target IDs to be added as CC.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "bcc": { + "type": "array", + "description": "Array of target IDs to be added as BCC.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "attachments": { + "type": "array", + "description": "Array of compound ID strings of bucket IDs and file IDs to be attached to the email. They should be formatted as <BUCKET_ID>:<FILE_ID>.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "draft": { + "type": "boolean", + "description": "Is message a draft", + "default": false, + "x-example": false + }, + "html": { + "type": "boolean", + "description": "Is content of type HTML", + "default": false, + "x-example": false + }, + "scheduledAt": { + "type": "string", + "description": "Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.", + "default": null, + "x-example": null + } + }, + "required": [ + "messageId", + "subject", + "content" + ] + } + } + ] + } + }, + "\/messaging\/messages\/email\/{messageId}": { + "patch": { + "summary": "Update email", + "operationId": "messagingUpdateEmail", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Update an email message by its unique ID. This endpoint only works on messages that are in draft status. Messages that are already processing, sent, or failed cannot be updated.\n", + "responses": { + "200": { + "description": "Message", + "schema": { + "$ref": "#\/definitions\/message" + } + } + }, + "x-appwrite": { + "method": "updateEmail", + "group": "messages", + "weight": 387, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-email.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-email.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "messageId", + "description": "Message ID.", + "required": true, + "type": "string", + "x-example": "<MESSAGE_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "topics": { + "type": "array", + "description": "List of Topic IDs.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "users": { + "type": "array", + "description": "List of User IDs.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "targets": { + "type": "array", + "description": "List of Targets IDs.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "subject": { + "type": "string", + "description": "Email Subject.", + "default": null, + "x-example": "<SUBJECT>" + }, + "content": { + "type": "string", + "description": "Email Content.", + "default": null, + "x-example": "<CONTENT>" + }, + "draft": { + "type": "boolean", + "description": "Is message a draft", + "default": null, + "x-example": false + }, + "html": { + "type": "boolean", + "description": "Is content of type HTML", + "default": null, + "x-example": false + }, + "cc": { + "type": "array", + "description": "Array of target IDs to be added as CC.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "bcc": { + "type": "array", + "description": "Array of target IDs to be added as BCC.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "scheduledAt": { + "type": "string", + "description": "Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.", + "default": null, + "x-example": null + }, + "attachments": { + "type": "array", + "description": "Array of compound ID strings of bucket IDs and file IDs to be attached to the email. They should be formatted as <BUCKET_ID>:<FILE_ID>.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + } + } + } + } + ] + } + }, + "\/messaging\/messages\/push": { + "post": { + "summary": "Create push notification", + "operationId": "messagingCreatePush", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Create a new push notification.", + "responses": { + "201": { + "description": "Message", + "schema": { + "$ref": "#\/definitions\/message" + } + } + }, + "x-appwrite": { + "method": "createPush", + "group": "messages", + "weight": 382, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-push.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-push.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "messageId": { + "type": "string", + "description": "Message ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<MESSAGE_ID>" + }, + "title": { + "type": "string", + "description": "Title for push notification.", + "default": "", + "x-example": "<TITLE>" + }, + "body": { + "type": "string", + "description": "Body for push notification.", + "default": "", + "x-example": "<BODY>" + }, + "topics": { + "type": "array", + "description": "List of Topic IDs.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "users": { + "type": "array", + "description": "List of User IDs.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "targets": { + "type": "array", + "description": "List of Targets IDs.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "data": { + "type": "object", + "description": "Additional key-value pair data for push notification.", + "default": {}, + "x-example": "{}" + }, + "action": { + "type": "string", + "description": "Action for push notification.", + "default": "", + "x-example": "<ACTION>" + }, + "image": { + "type": "string", + "description": "Image for push notification. Must be a compound bucket ID to file ID of a jpeg, png, or bmp image in Appwrite Storage. It should be formatted as <BUCKET_ID>:<FILE_ID>.", + "default": "", + "x-example": "[ID1:ID2]" + }, + "icon": { + "type": "string", + "description": "Icon for push notification. Available only for Android and Web Platform.", + "default": "", + "x-example": "<ICON>" + }, + "sound": { + "type": "string", + "description": "Sound for push notification. Available only for Android and iOS Platform.", + "default": "", + "x-example": "<SOUND>" + }, + "color": { + "type": "string", + "description": "Color for push notification. Available only for Android Platform.", + "default": "", + "x-example": "<COLOR>" + }, + "tag": { + "type": "string", + "description": "Tag for push notification. Available only for Android Platform.", + "default": "", + "x-example": "<TAG>" + }, + "badge": { + "type": "integer", + "description": "Badge for push notification. Available only for iOS Platform.", + "default": -1, + "x-example": null + }, + "draft": { + "type": "boolean", + "description": "Is message a draft", + "default": false, + "x-example": false + }, + "scheduledAt": { + "type": "string", + "description": "Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.", + "default": null, + "x-example": null + }, + "contentAvailable": { + "type": "boolean", + "description": "If set to true, the notification will be delivered in the background. Available only for iOS Platform.", + "default": false, + "x-example": false + }, + "critical": { + "type": "boolean", + "description": "If set to true, the notification will be marked as critical. This requires the app to have the critical notification entitlement. Available only for iOS Platform.", + "default": false, + "x-example": false + }, + "priority": { + "type": "string", + "description": "Set the notification priority. \"normal\" will consider device state and may not deliver notifications immediately. \"high\" will always attempt to immediately deliver the notification.", + "default": "high", + "x-example": "normal", + "enum": [ + "normal", + "high" + ], + "x-enum-name": "MessagePriority", + "x-enum-keys": [] + } + }, + "required": [ + "messageId" + ] + } + } + ] + } + }, + "\/messaging\/messages\/push\/{messageId}": { + "patch": { + "summary": "Update push notification", + "operationId": "messagingUpdatePush", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Update a push notification by its unique ID. This endpoint only works on messages that are in draft status. Messages that are already processing, sent, or failed cannot be updated.\n", + "responses": { + "200": { + "description": "Message", + "schema": { + "$ref": "#\/definitions\/message" + } + } + }, + "x-appwrite": { + "method": "updatePush", + "group": "messages", + "weight": 389, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-push.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-push.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "messageId", + "description": "Message ID.", + "required": true, + "type": "string", + "x-example": "<MESSAGE_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "topics": { + "type": "array", + "description": "List of Topic IDs.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "users": { + "type": "array", + "description": "List of User IDs.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "targets": { + "type": "array", + "description": "List of Targets IDs.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "title": { + "type": "string", + "description": "Title for push notification.", + "default": null, + "x-example": "<TITLE>" + }, + "body": { + "type": "string", + "description": "Body for push notification.", + "default": null, + "x-example": "<BODY>" + }, + "data": { + "type": "object", + "description": "Additional Data for push notification.", + "default": {}, + "x-example": "{}" + }, + "action": { + "type": "string", + "description": "Action for push notification.", + "default": null, + "x-example": "<ACTION>" + }, + "image": { + "type": "string", + "description": "Image for push notification. Must be a compound bucket ID to file ID of a jpeg, png, or bmp image in Appwrite Storage. It should be formatted as <BUCKET_ID>:<FILE_ID>.", + "default": null, + "x-example": "[ID1:ID2]" + }, + "icon": { + "type": "string", + "description": "Icon for push notification. Available only for Android and Web platforms.", + "default": null, + "x-example": "<ICON>" + }, + "sound": { + "type": "string", + "description": "Sound for push notification. Available only for Android and iOS platforms.", + "default": null, + "x-example": "<SOUND>" + }, + "color": { + "type": "string", + "description": "Color for push notification. Available only for Android platforms.", + "default": null, + "x-example": "<COLOR>" + }, + "tag": { + "type": "string", + "description": "Tag for push notification. Available only for Android platforms.", + "default": null, + "x-example": "<TAG>" + }, + "badge": { + "type": "integer", + "description": "Badge for push notification. Available only for iOS platforms.", + "default": null, + "x-example": null + }, + "draft": { + "type": "boolean", + "description": "Is message a draft", + "default": null, + "x-example": false + }, + "scheduledAt": { + "type": "string", + "description": "Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.", + "default": null, + "x-example": null + }, + "contentAvailable": { + "type": "boolean", + "description": "If set to true, the notification will be delivered in the background. Available only for iOS Platform.", + "default": null, + "x-example": false + }, + "critical": { + "type": "boolean", + "description": "If set to true, the notification will be marked as critical. This requires the app to have the critical notification entitlement. Available only for iOS Platform.", + "default": null, + "x-example": false + }, + "priority": { + "type": "string", + "description": "Set the notification priority. \"normal\" will consider device battery state and may send notifications later. \"high\" will always attempt to immediately deliver the notification.", + "default": null, + "x-example": "normal", + "enum": [ + "normal", + "high" + ], + "x-enum-name": "MessagePriority", + "x-enum-keys": [] + } + } + } + } + ] + } + }, + "\/messaging\/messages\/sms": { + "post": { + "summary": "Create SMS", + "operationId": "messagingCreateSms", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Create a new SMS message.", + "responses": { + "201": { + "description": "Message", + "schema": { + "$ref": "#\/definitions\/message" + } + } + }, + "x-appwrite": { + "method": "createSms", + "group": "messages", + "weight": 381, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-sms.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-sms.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "messageId": { + "type": "string", + "description": "Message ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<MESSAGE_ID>" + }, + "content": { + "type": "string", + "description": "SMS Content.", + "default": null, + "x-example": "<CONTENT>" + }, + "topics": { + "type": "array", + "description": "List of Topic IDs.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "users": { + "type": "array", + "description": "List of User IDs.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "targets": { + "type": "array", + "description": "List of Targets IDs.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "draft": { + "type": "boolean", + "description": "Is message a draft", + "default": false, + "x-example": false + }, + "scheduledAt": { + "type": "string", + "description": "Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.", + "default": null, + "x-example": null + } + }, + "required": [ + "messageId", + "content" + ] + } + } + ] + } + }, + "\/messaging\/messages\/sms\/{messageId}": { + "patch": { + "summary": "Update SMS", + "operationId": "messagingUpdateSms", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Update an SMS message by its unique ID. This endpoint only works on messages that are in draft status. Messages that are already processing, sent, or failed cannot be updated.\n", + "responses": { + "200": { + "description": "Message", + "schema": { + "$ref": "#\/definitions\/message" + } + } + }, + "x-appwrite": { + "method": "updateSms", + "group": "messages", + "weight": 388, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-sms.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-sms.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "messageId", + "description": "Message ID.", + "required": true, + "type": "string", + "x-example": "<MESSAGE_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "topics": { + "type": "array", + "description": "List of Topic IDs.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "users": { + "type": "array", + "description": "List of User IDs.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "targets": { + "type": "array", + "description": "List of Targets IDs.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "content": { + "type": "string", + "description": "Email Content.", + "default": null, + "x-example": "<CONTENT>" + }, + "draft": { + "type": "boolean", + "description": "Is message a draft", + "default": null, + "x-example": false + }, + "scheduledAt": { + "type": "string", + "description": "Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.", + "default": null, + "x-example": null + } + } + } + } + ] + } + }, + "\/messaging\/messages\/{messageId}": { + "get": { + "summary": "Get message", + "operationId": "messagingGetMessage", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Get a message by its unique ID.\n", + "responses": { + "200": { + "description": "Message", + "schema": { + "$ref": "#\/definitions\/message" + } + } + }, + "x-appwrite": { + "method": "getMessage", + "group": "messages", + "weight": 386, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/get-message.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-message.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "messageId", + "description": "Message ID.", + "required": true, + "type": "string", + "x-example": "<MESSAGE_ID>", + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete message", + "operationId": "messagingDelete", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "messaging" + ], + "description": "Delete a message. If the message is not a draft or scheduled, but has been sent, this will not recall the message.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "delete", + "group": "messages", + "weight": 390, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/delete.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-message.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "messageId", + "description": "Message ID.", + "required": true, + "type": "string", + "x-example": "<MESSAGE_ID>", + "in": "path" + } + ] + } + }, + "\/messaging\/messages\/{messageId}\/logs": { + "get": { + "summary": "List message logs", + "operationId": "messagingListMessageLogs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Get the message activity logs listed by its unique ID.", + "responses": { + "200": { + "description": "Logs List", + "schema": { + "$ref": "#\/definitions\/logList" + } + } + }, + "x-appwrite": { + "method": "listMessageLogs", + "group": "logs", + "weight": 384, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-message-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-message-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "messageId", + "description": "Message ID.", + "required": true, + "type": "string", + "x-example": "<MESSAGE_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + } + }, + "\/messaging\/messages\/{messageId}\/targets": { + "get": { + "summary": "List message targets", + "operationId": "messagingListTargets", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Get a list of the targets associated with a message.", + "responses": { + "200": { + "description": "Target list", + "schema": { + "$ref": "#\/definitions\/targetList" + } + } + }, + "x-appwrite": { + "method": "listTargets", + "group": "messages", + "weight": 385, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-targets.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-message-targets.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "messageId", + "description": "Message ID.", + "required": true, + "type": "string", + "x-example": "<MESSAGE_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, providerId, identifier, providerType", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + } + }, + "\/messaging\/providers": { + "get": { + "summary": "List providers", + "operationId": "messagingListProviders", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Get a list of all providers from the current Appwrite project.", + "responses": { + "200": { + "description": "Provider list", + "schema": { + "$ref": "#\/definitions\/providerList" + } + } + }, + "x-appwrite": { + "method": "listProviders", + "group": "providers", + "weight": 355, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-providers.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-providers.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, provider, type, enabled", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + } + }, + "\/messaging\/providers\/apns": { + "post": { + "summary": "Create APNS provider", + "operationId": "messagingCreateApnsProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Create a new Apple Push Notification service provider.", + "responses": { + "201": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "createApnsProvider", + "group": "providers", + "weight": 354, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-apns-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-apns-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "default": null, + "x-example": "<NAME>" + }, + "authKey": { + "type": "string", + "description": "APNS authentication key.", + "default": "", + "x-example": "<AUTH_KEY>" + }, + "authKeyId": { + "type": "string", + "description": "APNS authentication key ID.", + "default": "", + "x-example": "<AUTH_KEY_ID>" + }, + "teamId": { + "type": "string", + "description": "APNS team ID.", + "default": "", + "x-example": "<TEAM_ID>" + }, + "bundleId": { + "type": "string", + "description": "APNS bundle ID.", + "default": "", + "x-example": "<BUNDLE_ID>" + }, + "sandbox": { + "type": "boolean", + "description": "Use APNS sandbox environment.", + "default": false, + "x-example": false + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + ] + } + }, + "\/messaging\/providers\/apns\/{providerId}": { + "patch": { + "summary": "Update APNS provider", + "operationId": "messagingUpdateApnsProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Update a Apple Push Notification service provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "updateApnsProvider", + "group": "providers", + "weight": 367, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-apns-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-apns-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "type": "string", + "x-example": "<PROVIDER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "default": "", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + }, + "authKey": { + "type": "string", + "description": "APNS authentication key.", + "default": "", + "x-example": "<AUTH_KEY>" + }, + "authKeyId": { + "type": "string", + "description": "APNS authentication key ID.", + "default": "", + "x-example": "<AUTH_KEY_ID>" + }, + "teamId": { + "type": "string", + "description": "APNS team ID.", + "default": "", + "x-example": "<TEAM_ID>" + }, + "bundleId": { + "type": "string", + "description": "APNS bundle ID.", + "default": "", + "x-example": "<BUNDLE_ID>" + }, + "sandbox": { + "type": "boolean", + "description": "Use APNS sandbox environment.", + "default": null, + "x-example": false + } + } + } + } + ] + } + }, + "\/messaging\/providers\/fcm": { + "post": { + "summary": "Create FCM provider", + "operationId": "messagingCreateFcmProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Create a new Firebase Cloud Messaging provider.", + "responses": { + "201": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "createFcmProvider", + "group": "providers", + "weight": 353, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-fcm-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-fcm-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "default": null, + "x-example": "<NAME>" + }, + "serviceAccountJSON": { + "type": "object", + "description": "FCM service account JSON.", + "default": {}, + "x-example": "{}" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + ] + } + }, + "\/messaging\/providers\/fcm\/{providerId}": { + "patch": { + "summary": "Update FCM provider", + "operationId": "messagingUpdateFcmProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Update a Firebase Cloud Messaging provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "updateFcmProvider", + "group": "providers", + "weight": 366, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-fcm-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-fcm-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "type": "string", + "x-example": "<PROVIDER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "default": "", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + }, + "serviceAccountJSON": { + "type": "object", + "description": "FCM service account JSON.", + "default": {}, + "x-example": "{}" + } + } + } + } + ] + } + }, + "\/messaging\/providers\/mailgun": { + "post": { + "summary": "Create Mailgun provider", + "operationId": "messagingCreateMailgunProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Create a new Mailgun provider.", + "responses": { + "201": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "createMailgunProvider", + "group": "providers", + "weight": 345, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-mailgun-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-mailgun-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "default": null, + "x-example": "<NAME>" + }, + "apiKey": { + "type": "string", + "description": "Mailgun API Key.", + "default": "", + "x-example": "<API_KEY>" + }, + "domain": { + "type": "string", + "description": "Mailgun Domain.", + "default": "", + "x-example": "<DOMAIN>" + }, + "isEuRegion": { + "type": "boolean", + "description": "Set as EU region.", + "default": null, + "x-example": false + }, + "fromName": { + "type": "string", + "description": "Sender Name.", + "default": "", + "x-example": "<FROM_NAME>" + }, + "fromEmail": { + "type": "string", + "description": "Sender email address.", + "default": "", + "x-example": "email@example.com" + }, + "replyToName": { + "type": "string", + "description": "Name set in the reply to field for the mail. Default value is sender name. Reply to name must have reply to email as well.", + "default": "", + "x-example": "<REPLY_TO_NAME>" + }, + "replyToEmail": { + "type": "string", + "description": "Email set in the reply to field for the mail. Default value is sender email. Reply to email must have reply to name as well.", + "default": "", + "x-example": "email@example.com" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + ] + } + }, + "\/messaging\/providers\/mailgun\/{providerId}": { + "patch": { + "summary": "Update Mailgun provider", + "operationId": "messagingUpdateMailgunProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Update a Mailgun provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "updateMailgunProvider", + "group": "providers", + "weight": 358, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-mailgun-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-mailgun-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "type": "string", + "x-example": "<PROVIDER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "default": "", + "x-example": "<NAME>" + }, + "apiKey": { + "type": "string", + "description": "Mailgun API Key.", + "default": "", + "x-example": "<API_KEY>" + }, + "domain": { + "type": "string", + "description": "Mailgun Domain.", + "default": "", + "x-example": "<DOMAIN>" + }, + "isEuRegion": { + "type": "boolean", + "description": "Set as EU region.", + "default": null, + "x-example": false + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + }, + "fromName": { + "type": "string", + "description": "Sender Name.", + "default": "", + "x-example": "<FROM_NAME>" + }, + "fromEmail": { + "type": "string", + "description": "Sender email address.", + "default": "", + "x-example": "email@example.com" + }, + "replyToName": { + "type": "string", + "description": "Name set in the reply to field for the mail. Default value is sender name.", + "default": "", + "x-example": "<REPLY_TO_NAME>" + }, + "replyToEmail": { + "type": "string", + "description": "Email set in the reply to field for the mail. Default value is sender email.", + "default": "", + "x-example": "<REPLY_TO_EMAIL>" + } + } + } + } + ] + } + }, + "\/messaging\/providers\/msg91": { + "post": { + "summary": "Create Msg91 provider", + "operationId": "messagingCreateMsg91Provider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Create a new MSG91 provider.", + "responses": { + "201": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "createMsg91Provider", + "group": "providers", + "weight": 348, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-msg91provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-msg91-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "default": null, + "x-example": "<NAME>" + }, + "templateId": { + "type": "string", + "description": "Msg91 template ID", + "default": "", + "x-example": "<TEMPLATE_ID>" + }, + "senderId": { + "type": "string", + "description": "Msg91 sender ID.", + "default": "", + "x-example": "<SENDER_ID>" + }, + "authKey": { + "type": "string", + "description": "Msg91 auth key.", + "default": "", + "x-example": "<AUTH_KEY>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + ] + } + }, + "\/messaging\/providers\/msg91\/{providerId}": { + "patch": { + "summary": "Update Msg91 provider", + "operationId": "messagingUpdateMsg91Provider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Update a MSG91 provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "updateMsg91Provider", + "group": "providers", + "weight": 361, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-msg91provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-msg91-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "type": "string", + "x-example": "<PROVIDER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "default": "", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + }, + "templateId": { + "type": "string", + "description": "Msg91 template ID.", + "default": "", + "x-example": "<TEMPLATE_ID>" + }, + "senderId": { + "type": "string", + "description": "Msg91 sender ID.", + "default": "", + "x-example": "<SENDER_ID>" + }, + "authKey": { + "type": "string", + "description": "Msg91 auth key.", + "default": "", + "x-example": "<AUTH_KEY>" + } + } + } + } + ] + } + }, + "\/messaging\/providers\/sendgrid": { + "post": { + "summary": "Create Sendgrid provider", + "operationId": "messagingCreateSendgridProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Create a new Sendgrid provider.", + "responses": { + "201": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "createSendgridProvider", + "group": "providers", + "weight": 346, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-sendgrid-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-sendgrid-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "default": null, + "x-example": "<NAME>" + }, + "apiKey": { + "type": "string", + "description": "Sendgrid API key.", + "default": "", + "x-example": "<API_KEY>" + }, + "fromName": { + "type": "string", + "description": "Sender Name.", + "default": "", + "x-example": "<FROM_NAME>" + }, + "fromEmail": { + "type": "string", + "description": "Sender email address.", + "default": "", + "x-example": "email@example.com" + }, + "replyToName": { + "type": "string", + "description": "Name set in the reply to field for the mail. Default value is sender name.", + "default": "", + "x-example": "<REPLY_TO_NAME>" + }, + "replyToEmail": { + "type": "string", + "description": "Email set in the reply to field for the mail. Default value is sender email.", + "default": "", + "x-example": "email@example.com" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + ] + } + }, + "\/messaging\/providers\/sendgrid\/{providerId}": { + "patch": { + "summary": "Update Sendgrid provider", + "operationId": "messagingUpdateSendgridProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Update a Sendgrid provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "updateSendgridProvider", + "group": "providers", + "weight": 359, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-sendgrid-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-sendgrid-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "type": "string", + "x-example": "<PROVIDER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "default": "", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + }, + "apiKey": { + "type": "string", + "description": "Sendgrid API key.", + "default": "", + "x-example": "<API_KEY>" + }, + "fromName": { + "type": "string", + "description": "Sender Name.", + "default": "", + "x-example": "<FROM_NAME>" + }, + "fromEmail": { + "type": "string", + "description": "Sender email address.", + "default": "", + "x-example": "email@example.com" + }, + "replyToName": { + "type": "string", + "description": "Name set in the Reply To field for the mail. Default value is Sender Name.", + "default": "", + "x-example": "<REPLY_TO_NAME>" + }, + "replyToEmail": { + "type": "string", + "description": "Email set in the Reply To field for the mail. Default value is Sender Email.", + "default": "", + "x-example": "<REPLY_TO_EMAIL>" + } + } + } + } + ] + } + }, + "\/messaging\/providers\/smtp": { + "post": { + "summary": "Create SMTP provider", + "operationId": "messagingCreateSmtpProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Create a new SMTP provider.", + "responses": { + "201": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "createSmtpProvider", + "group": "providers", + "weight": 347, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-smtp-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-smtp-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "default": null, + "x-example": "<NAME>" + }, + "host": { + "type": "string", + "description": "SMTP hosts. Either a single hostname or multiple semicolon-delimited hostnames. You can also specify a different port for each host such as `smtp1.example.com:25;smtp2.example.com`. You can also specify encryption type, for example: `tls:\/\/smtp1.example.com:587;ssl:\/\/smtp2.example.com:465\"`. Hosts will be tried in order.", + "default": null, + "x-example": "<HOST>" + }, + "port": { + "type": "integer", + "description": "The default SMTP server port.", + "default": 587, + "x-example": 1 + }, + "username": { + "type": "string", + "description": "Authentication username.", + "default": "", + "x-example": "<USERNAME>" + }, + "password": { + "type": "string", + "description": "Authentication password.", + "default": "", + "x-example": "<PASSWORD>" + }, + "encryption": { + "type": "string", + "description": "Encryption type. Can be omitted, 'ssl', or 'tls'", + "default": "", + "x-example": "none", + "enum": [ + "none", + "ssl", + "tls" + ], + "x-enum-name": "SmtpEncryption", + "x-enum-keys": [] + }, + "autoTLS": { + "type": "boolean", + "description": "Enable SMTP AutoTLS feature.", + "default": true, + "x-example": false + }, + "mailer": { + "type": "string", + "description": "The value to use for the X-Mailer header.", + "default": "", + "x-example": "<MAILER>" + }, + "fromName": { + "type": "string", + "description": "Sender Name.", + "default": "", + "x-example": "<FROM_NAME>" + }, + "fromEmail": { + "type": "string", + "description": "Sender email address.", + "default": "", + "x-example": "email@example.com" + }, + "replyToName": { + "type": "string", + "description": "Name set in the reply to field for the mail. Default value is sender name.", + "default": "", + "x-example": "<REPLY_TO_NAME>" + }, + "replyToEmail": { + "type": "string", + "description": "Email set in the reply to field for the mail. Default value is sender email.", + "default": "", + "x-example": "email@example.com" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + } + }, + "required": [ + "providerId", + "name", + "host" + ] + } + } + ] + } + }, + "\/messaging\/providers\/smtp\/{providerId}": { + "patch": { + "summary": "Update SMTP provider", + "operationId": "messagingUpdateSmtpProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Update a SMTP provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "updateSmtpProvider", + "group": "providers", + "weight": 360, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-smtp-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-smtp-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "type": "string", + "x-example": "<PROVIDER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "default": "", + "x-example": "<NAME>" + }, + "host": { + "type": "string", + "description": "SMTP hosts. Either a single hostname or multiple semicolon-delimited hostnames. You can also specify a different port for each host such as `smtp1.example.com:25;smtp2.example.com`. You can also specify encryption type, for example: `tls:\/\/smtp1.example.com:587;ssl:\/\/smtp2.example.com:465\"`. Hosts will be tried in order.", + "default": "", + "x-example": "<HOST>" + }, + "port": { + "type": "integer", + "description": "SMTP port.", + "default": null, + "x-example": 1 + }, + "username": { + "type": "string", + "description": "Authentication username.", + "default": "", + "x-example": "<USERNAME>" + }, + "password": { + "type": "string", + "description": "Authentication password.", + "default": "", + "x-example": "<PASSWORD>" + }, + "encryption": { + "type": "string", + "description": "Encryption type. Can be 'ssl' or 'tls'", + "default": "", + "x-example": "none", + "enum": [ + "none", + "ssl", + "tls" + ], + "x-enum-name": "SmtpEncryption", + "x-enum-keys": [] + }, + "autoTLS": { + "type": "boolean", + "description": "Enable SMTP AutoTLS feature.", + "default": null, + "x-example": false + }, + "mailer": { + "type": "string", + "description": "The value to use for the X-Mailer header.", + "default": "", + "x-example": "<MAILER>" + }, + "fromName": { + "type": "string", + "description": "Sender Name.", + "default": "", + "x-example": "<FROM_NAME>" + }, + "fromEmail": { + "type": "string", + "description": "Sender email address.", + "default": "", + "x-example": "email@example.com" + }, + "replyToName": { + "type": "string", + "description": "Name set in the Reply To field for the mail. Default value is Sender Name.", + "default": "", + "x-example": "<REPLY_TO_NAME>" + }, + "replyToEmail": { + "type": "string", + "description": "Email set in the Reply To field for the mail. Default value is Sender Email.", + "default": "", + "x-example": "<REPLY_TO_EMAIL>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + } + } + } + } + ] + } + }, + "\/messaging\/providers\/telesign": { + "post": { + "summary": "Create Telesign provider", + "operationId": "messagingCreateTelesignProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Create a new Telesign provider.", + "responses": { + "201": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "createTelesignProvider", + "group": "providers", + "weight": 349, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-telesign-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-telesign-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "default": null, + "x-example": "<NAME>" + }, + "from": { + "type": "string", + "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "default": "", + "x-example": "+12065550100" + }, + "customerId": { + "type": "string", + "description": "Telesign customer ID.", + "default": "", + "x-example": "<CUSTOMER_ID>" + }, + "apiKey": { + "type": "string", + "description": "Telesign API key.", + "default": "", + "x-example": "<API_KEY>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + ] + } + }, + "\/messaging\/providers\/telesign\/{providerId}": { + "patch": { + "summary": "Update Telesign provider", + "operationId": "messagingUpdateTelesignProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Update a Telesign provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "updateTelesignProvider", + "group": "providers", + "weight": 362, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-telesign-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-telesign-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "type": "string", + "x-example": "<PROVIDER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "default": "", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + }, + "customerId": { + "type": "string", + "description": "Telesign customer ID.", + "default": "", + "x-example": "<CUSTOMER_ID>" + }, + "apiKey": { + "type": "string", + "description": "Telesign API key.", + "default": "", + "x-example": "<API_KEY>" + }, + "from": { + "type": "string", + "description": "Sender number.", + "default": "", + "x-example": "<FROM>" + } + } + } + } + ] + } + }, + "\/messaging\/providers\/textmagic": { + "post": { + "summary": "Create Textmagic provider", + "operationId": "messagingCreateTextmagicProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Create a new Textmagic provider.", + "responses": { + "201": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "createTextmagicProvider", + "group": "providers", + "weight": 350, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-textmagic-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-textmagic-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "default": null, + "x-example": "<NAME>" + }, + "from": { + "type": "string", + "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "default": "", + "x-example": "+12065550100" + }, + "username": { + "type": "string", + "description": "Textmagic username.", + "default": "", + "x-example": "<USERNAME>" + }, + "apiKey": { + "type": "string", + "description": "Textmagic apiKey.", + "default": "", + "x-example": "<API_KEY>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + ] + } + }, + "\/messaging\/providers\/textmagic\/{providerId}": { + "patch": { + "summary": "Update Textmagic provider", + "operationId": "messagingUpdateTextmagicProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Update a Textmagic provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "updateTextmagicProvider", + "group": "providers", + "weight": 363, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-textmagic-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-textmagic-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "type": "string", + "x-example": "<PROVIDER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "default": "", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + }, + "username": { + "type": "string", + "description": "Textmagic username.", + "default": "", + "x-example": "<USERNAME>" + }, + "apiKey": { + "type": "string", + "description": "Textmagic apiKey.", + "default": "", + "x-example": "<API_KEY>" + }, + "from": { + "type": "string", + "description": "Sender number.", + "default": "", + "x-example": "<FROM>" + } + } + } + } + ] + } + }, + "\/messaging\/providers\/twilio": { + "post": { + "summary": "Create Twilio provider", + "operationId": "messagingCreateTwilioProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Create a new Twilio provider.", + "responses": { + "201": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "createTwilioProvider", + "group": "providers", + "weight": 351, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-twilio-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-twilio-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "default": null, + "x-example": "<NAME>" + }, + "from": { + "type": "string", + "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "default": "", + "x-example": "+12065550100" + }, + "accountSid": { + "type": "string", + "description": "Twilio account secret ID.", + "default": "", + "x-example": "<ACCOUNT_SID>" + }, + "authToken": { + "type": "string", + "description": "Twilio authentication token.", + "default": "", + "x-example": "<AUTH_TOKEN>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + ] + } + }, + "\/messaging\/providers\/twilio\/{providerId}": { + "patch": { + "summary": "Update Twilio provider", + "operationId": "messagingUpdateTwilioProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Update a Twilio provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "updateTwilioProvider", + "group": "providers", + "weight": 364, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-twilio-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-twilio-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "type": "string", + "x-example": "<PROVIDER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "default": "", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + }, + "accountSid": { + "type": "string", + "description": "Twilio account secret ID.", + "default": "", + "x-example": "<ACCOUNT_SID>" + }, + "authToken": { + "type": "string", + "description": "Twilio authentication token.", + "default": "", + "x-example": "<AUTH_TOKEN>" + }, + "from": { + "type": "string", + "description": "Sender number.", + "default": "", + "x-example": "<FROM>" + } + } + } + } + ] + } + }, + "\/messaging\/providers\/vonage": { + "post": { + "summary": "Create Vonage provider", + "operationId": "messagingCreateVonageProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Create a new Vonage provider.", + "responses": { + "201": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "createVonageProvider", + "group": "providers", + "weight": 352, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-vonage-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-vonage-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "default": null, + "x-example": "<NAME>" + }, + "from": { + "type": "string", + "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "default": "", + "x-example": "+12065550100" + }, + "apiKey": { + "type": "string", + "description": "Vonage API key.", + "default": "", + "x-example": "<API_KEY>" + }, + "apiSecret": { + "type": "string", + "description": "Vonage API secret.", + "default": "", + "x-example": "<API_SECRET>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + ] + } + }, + "\/messaging\/providers\/vonage\/{providerId}": { + "patch": { + "summary": "Update Vonage provider", + "operationId": "messagingUpdateVonageProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Update a Vonage provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "updateVonageProvider", + "group": "providers", + "weight": 365, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-vonage-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-vonage-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "type": "string", + "x-example": "<PROVIDER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "default": "", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + }, + "apiKey": { + "type": "string", + "description": "Vonage API key.", + "default": "", + "x-example": "<API_KEY>" + }, + "apiSecret": { + "type": "string", + "description": "Vonage API secret.", + "default": "", + "x-example": "<API_SECRET>" + }, + "from": { + "type": "string", + "description": "Sender number.", + "default": "", + "x-example": "<FROM>" + } + } + } + } + ] + } + }, + "\/messaging\/providers\/{providerId}": { + "get": { + "summary": "Get provider", + "operationId": "messagingGetProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Get a provider by its unique ID.\n", + "responses": { + "200": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "getProvider", + "group": "providers", + "weight": 357, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/get-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "type": "string", + "x-example": "<PROVIDER_ID>", + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete provider", + "operationId": "messagingDeleteProvider", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "messaging" + ], + "description": "Delete a provider by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteProvider", + "group": "providers", + "weight": 368, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/delete-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "type": "string", + "x-example": "<PROVIDER_ID>", + "in": "path" + } + ] + } + }, + "\/messaging\/providers\/{providerId}\/logs": { + "get": { + "summary": "List provider logs", + "operationId": "messagingListProviderLogs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Get the provider activity logs listed by its unique ID.", + "responses": { + "200": { + "description": "Logs List", + "schema": { + "$ref": "#\/definitions\/logList" + } + } + }, + "x-appwrite": { + "method": "listProviderLogs", + "group": "providers", + "weight": 356, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-provider-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-provider-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "type": "string", + "x-example": "<PROVIDER_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + } + }, + "\/messaging\/subscribers\/{subscriberId}\/logs": { + "get": { + "summary": "List subscriber logs", + "operationId": "messagingListSubscriberLogs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Get the subscriber activity logs listed by its unique ID.", + "responses": { + "200": { + "description": "Logs List", + "schema": { + "$ref": "#\/definitions\/logList" + } + } + }, + "x-appwrite": { + "method": "listSubscriberLogs", + "group": "subscribers", + "weight": 377, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-subscriber-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-subscriber-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "subscribers.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "subscriberId", + "description": "Subscriber ID.", + "required": true, + "type": "string", + "x-example": "<SUBSCRIBER_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + } + }, + "\/messaging\/topics": { + "get": { + "summary": "List topics", + "operationId": "messagingListTopics", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Get a list of all topics from the current Appwrite project.", + "responses": { + "200": { + "description": "Topic list", + "schema": { + "$ref": "#\/definitions\/topicList" + } + } + }, + "x-appwrite": { + "method": "listTopics", + "group": "topics", + "weight": 370, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-topics.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-topics.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "topics.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, description, emailTotal, smsTotal, pushTotal", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + }, + "post": { + "summary": "Create topic", + "operationId": "messagingCreateTopic", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Create a new topic.", + "responses": { + "201": { + "description": "Topic", + "schema": { + "$ref": "#\/definitions\/topic" + } + } + }, + "x-appwrite": { + "method": "createTopic", + "group": "topics", + "weight": 369, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-topic.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-topic.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "topics.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "topicId": { + "type": "string", + "description": "Topic ID. Choose a custom Topic ID or a new Topic ID.", + "default": null, + "x-example": "<TOPIC_ID>" + }, + "name": { + "type": "string", + "description": "Topic Name.", + "default": null, + "x-example": "<NAME>" + }, + "subscribe": { + "type": "array", + "description": "An array of role strings with subscribe permission. By default all users are granted with any subscribe permission. [learn more about roles](https:\/\/appwrite.io\/docs\/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.", + "default": [ + "users" + ], + "x-example": "[\"any\"]", + "items": { + "type": "string" + } + } + }, + "required": [ + "topicId", + "name" + ] + } + } + ] + } + }, + "\/messaging\/topics\/{topicId}": { + "get": { + "summary": "Get topic", + "operationId": "messagingGetTopic", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Get a topic by its unique ID.\n", + "responses": { + "200": { + "description": "Topic", + "schema": { + "$ref": "#\/definitions\/topic" + } + } + }, + "x-appwrite": { + "method": "getTopic", + "group": "topics", + "weight": 372, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/get-topic.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-topic.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "topics.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID.", + "required": true, + "type": "string", + "x-example": "<TOPIC_ID>", + "in": "path" + } + ] + }, + "patch": { + "summary": "Update topic", + "operationId": "messagingUpdateTopic", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Update a topic by its unique ID.\n", + "responses": { + "200": { + "description": "Topic", + "schema": { + "$ref": "#\/definitions\/topic" + } + } + }, + "x-appwrite": { + "method": "updateTopic", + "group": "topics", + "weight": 373, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-topic.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-topic.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "topics.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID.", + "required": true, + "type": "string", + "x-example": "<TOPIC_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Topic Name.", + "default": null, + "x-example": "<NAME>" + }, + "subscribe": { + "type": "array", + "description": "An array of role strings with subscribe permission. By default all users are granted with any subscribe permission. [learn more about roles](https:\/\/appwrite.io\/docs\/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.", + "default": null, + "x-example": "[\"any\"]", + "items": { + "type": "string" + } + } + } + } + } + ] + }, + "delete": { + "summary": "Delete topic", + "operationId": "messagingDeleteTopic", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "messaging" + ], + "description": "Delete a topic by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteTopic", + "group": "topics", + "weight": 374, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/delete-topic.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-topic.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "topics.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID.", + "required": true, + "type": "string", + "x-example": "<TOPIC_ID>", + "in": "path" + } + ] + } + }, + "\/messaging\/topics\/{topicId}\/logs": { + "get": { + "summary": "List topic logs", + "operationId": "messagingListTopicLogs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Get the topic activity logs listed by its unique ID.", + "responses": { + "200": { + "description": "Logs List", + "schema": { + "$ref": "#\/definitions\/logList" + } + } + }, + "x-appwrite": { + "method": "listTopicLogs", + "group": "topics", + "weight": 371, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-topic-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-topic-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "topics.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID.", + "required": true, + "type": "string", + "x-example": "<TOPIC_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + } + }, + "\/messaging\/topics\/{topicId}\/subscribers": { + "get": { + "summary": "List subscribers", + "operationId": "messagingListSubscribers", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Get a list of all subscribers from the current Appwrite project.", + "responses": { + "200": { + "description": "Subscriber list", + "schema": { + "$ref": "#\/definitions\/subscriberList" + } + } + }, + "x-appwrite": { + "method": "listSubscribers", + "group": "subscribers", + "weight": 376, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-subscribers.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-subscribers.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "subscribers.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID. The topic ID subscribed to.", + "required": true, + "type": "string", + "x-example": "<TOPIC_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, provider, type, enabled", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + }, + "post": { + "summary": "Create subscriber", + "operationId": "messagingCreateSubscriber", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Create a new subscriber.", + "responses": { + "201": { + "description": "Subscriber", + "schema": { + "$ref": "#\/definitions\/subscriber" + } + } + }, + "x-appwrite": { + "method": "createSubscriber", + "group": "subscribers", + "weight": 375, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-subscriber.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-subscriber.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "subscribers.write", + "platforms": [ + "server", + "client", + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID. The topic ID to subscribe to.", + "required": true, + "type": "string", + "x-example": "<TOPIC_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "subscriberId": { + "type": "string", + "description": "Subscriber ID. Choose a custom Subscriber ID or a new Subscriber ID.", + "default": null, + "x-example": "<SUBSCRIBER_ID>" + }, + "targetId": { + "type": "string", + "description": "Target ID. The target ID to link to the specified Topic ID.", + "default": null, + "x-example": "<TARGET_ID>" + } + }, + "required": [ + "subscriberId", + "targetId" + ] + } + } + ] + } + }, + "\/messaging\/topics\/{topicId}\/subscribers\/{subscriberId}": { + "get": { + "summary": "Get subscriber", + "operationId": "messagingGetSubscriber", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Get a subscriber by its unique ID.\n", + "responses": { + "200": { + "description": "Subscriber", + "schema": { + "$ref": "#\/definitions\/subscriber" + } + } + }, + "x-appwrite": { + "method": "getSubscriber", + "group": "subscribers", + "weight": 378, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/get-subscriber.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-subscriber.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "subscribers.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID. The topic ID subscribed to.", + "required": true, + "type": "string", + "x-example": "<TOPIC_ID>", + "in": "path" + }, + { + "name": "subscriberId", + "description": "Subscriber ID.", + "required": true, + "type": "string", + "x-example": "<SUBSCRIBER_ID>", + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete subscriber", + "operationId": "messagingDeleteSubscriber", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "messaging" + ], + "description": "Delete a subscriber by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteSubscriber", + "group": "subscribers", + "weight": 379, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/delete-subscriber.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-subscriber.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "subscribers.write", + "platforms": [ + "server", + "client", + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID. The topic ID subscribed to.", + "required": true, + "type": "string", + "x-example": "<TOPIC_ID>", + "in": "path" + }, + { + "name": "subscriberId", + "description": "Subscriber ID.", + "required": true, + "type": "string", + "x-example": "<SUBSCRIBER_ID>", + "in": "path" + } + ] + } + }, + "\/migrations": { + "get": { + "summary": "List migrations", + "operationId": "migrationsList", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "migrations" + ], + "description": "List all migrations in the current project. This endpoint returns a list of all migrations including their status, progress, and any errors that occurred during the migration process.", + "responses": { + "200": { + "description": "Migrations List", + "schema": { + "$ref": "#\/definitions\/migrationList" + } + } + }, + "x-appwrite": { + "method": "list", + "group": null, + "weight": 337, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "migrations\/list.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/list-migrations.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "migrations.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/databases#querying-documents). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: status, stage, source, destination, resources, statusCounters, resourceData, errors", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + } + }, + "\/migrations\/appwrite": { + "post": { + "summary": "Create Appwrite migration", + "operationId": "migrationsCreateAppwriteMigration", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "migrations" + ], + "description": "Migrate data from another Appwrite project to your current project. This endpoint allows you to migrate resources like databases, collections, documents, users, and files from an existing Appwrite project. ", + "responses": { + "202": { + "description": "Migration", + "schema": { + "$ref": "#\/definitions\/migration" + } + } + }, + "x-appwrite": { + "method": "createAppwriteMigration", + "group": null, + "weight": 333, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "migrations\/create-appwrite-migration.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-appwrite.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "migrations.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "resources": { + "type": "array", + "description": "List of resources to migrate", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "endpoint": { + "type": "string", + "description": "Source Appwrite endpoint", + "default": null, + "x-example": "https:\/\/example.com" + }, + "projectId": { + "type": "string", + "description": "Source Project ID", + "default": null, + "x-example": "<PROJECT_ID>" + }, + "apiKey": { + "type": "string", + "description": "Source API Key", + "default": null, + "x-example": "<API_KEY>" + } + }, + "required": [ + "resources", + "endpoint", + "projectId", + "apiKey" + ] + } + } + ] + } + }, + "\/migrations\/appwrite\/report": { + "get": { + "summary": "Get Appwrite migration report", + "operationId": "migrationsGetAppwriteReport", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "migrations" + ], + "description": "Generate a report of the data in an Appwrite project before migrating. This endpoint analyzes the source project and returns information about the resources that can be migrated.", + "responses": { + "200": { + "description": "Migration Report", + "schema": { + "$ref": "#\/definitions\/migrationReport" + } + } + }, + "x-appwrite": { + "method": "getAppwriteReport", + "group": null, + "weight": 339, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "migrations\/get-appwrite-report.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-appwrite-report.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "migrations.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "resources", + "description": "List of resources to migrate", + "required": true, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "in": "query" + }, + { + "name": "endpoint", + "description": "Source's Appwrite Endpoint", + "required": true, + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com", + "in": "query" + }, + { + "name": "projectID", + "description": "Source's Project ID", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "query" + }, + { + "name": "key", + "description": "Source's API Key", + "required": true, + "type": "string", + "x-example": "<KEY>", + "in": "query" + } + ] + } + }, + "\/migrations\/firebase": { + "post": { + "summary": "Create Firebase migration", + "operationId": "migrationsCreateFirebaseMigration", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "migrations" + ], + "description": "Migrate data from a Firebase project to your Appwrite project. This endpoint allows you to migrate resources like authentication and other supported services from a Firebase project. ", + "responses": { + "202": { + "description": "Migration", + "schema": { + "$ref": "#\/definitions\/migration" + } + } + }, + "x-appwrite": { + "method": "createFirebaseMigration", + "group": null, + "weight": 334, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "migrations\/create-firebase-migration.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-firebase.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "migrations.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "resources": { + "type": "array", + "description": "List of resources to migrate", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "serviceAccount": { + "type": "string", + "description": "JSON of the Firebase service account credentials", + "default": null, + "x-example": "<SERVICE_ACCOUNT>" + } + }, + "required": [ + "resources", + "serviceAccount" + ] + } + } + ] + } + }, + "\/migrations\/firebase\/report": { + "get": { + "summary": "Get Firebase migration report", + "operationId": "migrationsGetFirebaseReport", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "migrations" + ], + "description": "Generate a report of the data in a Firebase project before migrating. This endpoint analyzes the source project and returns information about the resources that can be migrated.", + "responses": { + "200": { + "description": "Migration Report", + "schema": { + "$ref": "#\/definitions\/migrationReport" + } + } + }, + "x-appwrite": { + "method": "getFirebaseReport", + "group": null, + "weight": 340, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "migrations\/get-firebase-report.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-firebase-report.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "migrations.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "resources", + "description": "List of resources to migrate", + "required": true, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "in": "query" + }, + { + "name": "serviceAccount", + "description": "JSON of the Firebase service account credentials", + "required": true, + "type": "string", + "x-example": "<SERVICE_ACCOUNT>", + "in": "query" + } + ] + } + }, + "\/migrations\/nhost": { + "post": { + "summary": "Create NHost migration", + "operationId": "migrationsCreateNHostMigration", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "migrations" + ], + "description": "Migrate data from an NHost project to your Appwrite project. This endpoint allows you to migrate resources like authentication, databases, and other supported services from an NHost project. ", + "responses": { + "202": { + "description": "Migration", + "schema": { + "$ref": "#\/definitions\/migration" + } + } + }, + "x-appwrite": { + "method": "createNHostMigration", + "group": null, + "weight": 336, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "migrations\/create-n-host-migration.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-nhost.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "migrations.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "resources": { + "type": "array", + "description": "List of resources to migrate", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "subdomain": { + "type": "string", + "description": "Source's Subdomain", + "default": null, + "x-example": "<SUBDOMAIN>" + }, + "region": { + "type": "string", + "description": "Source's Region", + "default": null, + "x-example": "<REGION>" + }, + "adminSecret": { + "type": "string", + "description": "Source's Admin Secret", + "default": null, + "x-example": "<ADMIN_SECRET>" + }, + "database": { + "type": "string", + "description": "Source's Database Name", + "default": null, + "x-example": "<DATABASE>" + }, + "username": { + "type": "string", + "description": "Source's Database Username", + "default": null, + "x-example": "<USERNAME>" + }, + "password": { + "type": "string", + "description": "Source's Database Password", + "default": null, + "x-example": "<PASSWORD>" + }, + "port": { + "type": "integer", + "description": "Source's Database Port", + "default": 5432, + "x-example": null + } + }, + "required": [ + "resources", + "subdomain", + "region", + "adminSecret", + "database", + "username", + "password" + ] + } + } + ] + } + }, + "\/migrations\/nhost\/report": { + "get": { + "summary": "Get NHost migration report", + "operationId": "migrationsGetNHostReport", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "migrations" + ], + "description": "Generate a detailed report of the data in an NHost project before migrating. This endpoint analyzes the source project and returns information about the resources that can be migrated. ", + "responses": { + "200": { + "description": "Migration Report", + "schema": { + "$ref": "#\/definitions\/migrationReport" + } + } + }, + "x-appwrite": { + "method": "getNHostReport", + "group": null, + "weight": 342, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "migrations\/get-n-host-report.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-nhost-report.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "migrations.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "resources", + "description": "List of resources to migrate.", + "required": true, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "in": "query" + }, + { + "name": "subdomain", + "description": "Source's Subdomain.", + "required": true, + "type": "string", + "x-example": "<SUBDOMAIN>", + "in": "query" + }, + { + "name": "region", + "description": "Source's Region.", + "required": true, + "type": "string", + "x-example": "<REGION>", + "in": "query" + }, + { + "name": "adminSecret", + "description": "Source's Admin Secret.", + "required": true, + "type": "string", + "x-example": "<ADMIN_SECRET>", + "in": "query" + }, + { + "name": "database", + "description": "Source's Database Name.", + "required": true, + "type": "string", + "x-example": "<DATABASE>", + "in": "query" + }, + { + "name": "username", + "description": "Source's Database Username.", + "required": true, + "type": "string", + "x-example": "<USERNAME>", + "in": "query" + }, + { + "name": "password", + "description": "Source's Database Password.", + "required": true, + "type": "string", + "x-example": "<PASSWORD>", + "in": "query" + }, + { + "name": "port", + "description": "Source's Database Port.", + "required": false, + "type": "integer", + "format": "int32", + "default": 5432, + "in": "query" + } + ] + } + }, + "\/migrations\/supabase": { + "post": { + "summary": "Create Supabase migration", + "operationId": "migrationsCreateSupabaseMigration", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "migrations" + ], + "description": "Migrate data from a Supabase project to your Appwrite project. This endpoint allows you to migrate resources like authentication, databases, and other supported services from a Supabase project. ", + "responses": { + "202": { + "description": "Migration", + "schema": { + "$ref": "#\/definitions\/migration" + } + } + }, + "x-appwrite": { + "method": "createSupabaseMigration", + "group": null, + "weight": 335, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "migrations\/create-supabase-migration.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-supabase.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "migrations.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "resources": { + "type": "array", + "description": "List of resources to migrate", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "endpoint": { + "type": "string", + "description": "Source's Supabase Endpoint", + "default": null, + "x-example": "https:\/\/example.com" + }, + "apiKey": { + "type": "string", + "description": "Source's API Key", + "default": null, + "x-example": "<API_KEY>" + }, + "databaseHost": { + "type": "string", + "description": "Source's Database Host", + "default": null, + "x-example": "<DATABASE_HOST>" + }, + "username": { + "type": "string", + "description": "Source's Database Username", + "default": null, + "x-example": "<USERNAME>" + }, + "password": { + "type": "string", + "description": "Source's Database Password", + "default": null, + "x-example": "<PASSWORD>" + }, + "port": { + "type": "integer", + "description": "Source's Database Port", + "default": 5432, + "x-example": null + } + }, + "required": [ + "resources", + "endpoint", + "apiKey", + "databaseHost", + "username", + "password" + ] + } + } + ] + } + }, + "\/migrations\/supabase\/report": { + "get": { + "summary": "Get Supabase migration report", + "operationId": "migrationsGetSupabaseReport", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "migrations" + ], + "description": "Generate a report of the data in a Supabase project before migrating. This endpoint analyzes the source project and returns information about the resources that can be migrated. ", + "responses": { + "200": { + "description": "Migration Report", + "schema": { + "$ref": "#\/definitions\/migrationReport" + } + } + }, + "x-appwrite": { + "method": "getSupabaseReport", + "group": null, + "weight": 341, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "migrations\/get-supabase-report.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/migration-supabase-report.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "migrations.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "resources", + "description": "List of resources to migrate", + "required": true, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "in": "query" + }, + { + "name": "endpoint", + "description": "Source's Supabase Endpoint.", + "required": true, + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com", + "in": "query" + }, + { + "name": "apiKey", + "description": "Source's API Key.", + "required": true, + "type": "string", + "x-example": "<API_KEY>", + "in": "query" + }, + { + "name": "databaseHost", + "description": "Source's Database Host.", + "required": true, + "type": "string", + "x-example": "<DATABASE_HOST>", + "in": "query" + }, + { + "name": "username", + "description": "Source's Database Username.", + "required": true, + "type": "string", + "x-example": "<USERNAME>", + "in": "query" + }, + { + "name": "password", + "description": "Source's Database Password.", + "required": true, + "type": "string", + "x-example": "<PASSWORD>", + "in": "query" + }, + { + "name": "port", + "description": "Source's Database Port.", + "required": false, + "type": "integer", + "format": "int32", + "default": 5432, + "in": "query" + } + ] + } + }, + "\/migrations\/{migrationId}": { + "get": { + "summary": "Get migration", + "operationId": "migrationsGet", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "migrations" + ], + "description": "Get a migration by its unique ID. This endpoint returns detailed information about a specific migration including its current status, progress, and any errors that occurred during the migration process. ", + "responses": { + "200": { + "description": "Migration", + "schema": { + "$ref": "#\/definitions\/migration" + } + } + }, + "x-appwrite": { + "method": "get", + "group": null, + "weight": 338, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "migrations\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/get-migration.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "migrations.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "migrationId", + "description": "Migration unique ID.", + "required": true, + "type": "string", + "x-example": "<MIGRATION_ID>", + "in": "path" + } + ] + }, + "patch": { + "summary": "Update retry migration", + "operationId": "migrationsRetry", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "migrations" + ], + "description": "Retry a failed migration. This endpoint allows you to retry a migration that has previously failed.", + "responses": { + "202": { + "description": "Migration", + "schema": { + "$ref": "#\/definitions\/migration" + } + } + }, + "x-appwrite": { + "method": "retry", + "group": null, + "weight": 343, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "migrations\/retry.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/retry-migration.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "migrations.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "migrationId", + "description": "Migration unique ID.", + "required": true, + "type": "string", + "x-example": "<MIGRATION_ID>", + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete migration", + "operationId": "migrationsDelete", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "migrations" + ], + "description": "Delete a migration by its unique ID. This endpoint allows you to remove a migration from your project's migration history. ", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "delete", + "group": null, + "weight": 344, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "migrations\/delete.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/migrations\/delete-migration.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "migrations.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "migrationId", + "description": "Migration ID.", + "required": true, + "type": "string", + "x-example": "<MIGRATION_ID>", + "in": "path" + } + ] + } + }, + "\/project\/usage": { + "get": { + "summary": "Get project usage stats", + "operationId": "projectGetUsage", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "project" + ], + "description": "Get comprehensive usage statistics for your project. View metrics including network requests, bandwidth, storage, function executions, database usage, and user activity. Specify a time range with startDate and endDate, and optionally set the data granularity with period (1h or 1d). The response includes both total counts and detailed breakdowns by resource, along with historical data over the specified period.", + "responses": { + "200": { + "description": "UsageProject", + "schema": { + "$ref": "#\/definitions\/usageProject" + } + } + }, + "x-appwrite": { + "method": "getUsage", + "group": null, + "weight": 195, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "project\/get-usage.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/get-usage.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "startDate", + "description": "Starting date for the usage", + "required": true, + "type": "string", + "in": "query" + }, + { + "name": "endDate", + "description": "End date for the usage", + "required": true, + "type": "string", + "in": "query" + }, + { + "name": "period", + "description": "Period used", + "required": false, + "type": "string", + "x-example": "1h", + "enum": [ + "1h", + "1d" + ], + "x-enum-name": "ProjectUsageRange", + "x-enum-keys": [ + "One Hour", + "One Day" + ], + "default": "1d", + "in": "query" + } + ] + } + }, + "\/project\/variables": { + "get": { + "summary": "List variables", + "operationId": "projectListVariables", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "project" + ], + "description": "Get a list of all project variables. These variables will be accessible in all Appwrite Functions at runtime.", + "responses": { + "200": { + "description": "Variables List", + "schema": { + "$ref": "#\/definitions\/variableList" + } + } + }, + "x-appwrite": { + "method": "listVariables", + "group": null, + "weight": 197, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "project\/list-variables.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/list-variables.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ] + }, + "post": { + "summary": "Create variable", + "operationId": "projectCreateVariable", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "project" + ], + "description": "Create a new project variable. This variable will be accessible in all Appwrite Functions at runtime.", + "responses": { + "201": { + "description": "Variable", + "schema": { + "$ref": "#\/definitions\/variable" + } + } + }, + "x-appwrite": { + "method": "createVariable", + "group": null, + "weight": 196, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "project\/create-variable.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/create-variable.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Variable key. Max length: 255 chars.", + "default": null, + "x-example": "<KEY>" + }, + "value": { + "type": "string", + "description": "Variable value. Max length: 8192 chars.", + "default": null, + "x-example": "<VALUE>" + } + }, + "required": [ + "key", + "value" + ] + } + } + ] + } + }, + "\/project\/variables\/{variableId}": { + "get": { + "summary": "Get variable", + "operationId": "projectGetVariable", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "project" + ], + "description": "Get a project variable by its unique ID.", + "responses": { + "200": { + "description": "Variable", + "schema": { + "$ref": "#\/definitions\/variable" + } + } + }, + "x-appwrite": { + "method": "getVariable", + "group": null, + "weight": 198, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "project\/get-variable.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/get-variable.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "variableId", + "description": "Variable unique ID.", + "required": true, + "type": "string", + "x-example": "<VARIABLE_ID>", + "in": "path" + } + ] + }, + "put": { + "summary": "Update variable", + "operationId": "projectUpdateVariable", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "project" + ], + "description": "Update project variable by its unique ID. This variable will be accessible in all Appwrite Functions at runtime.", + "responses": { + "200": { + "description": "Variable", + "schema": { + "$ref": "#\/definitions\/variable" + } + } + }, + "x-appwrite": { + "method": "updateVariable", + "group": null, + "weight": 199, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "project\/update-variable.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/update-variable.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "variableId", + "description": "Variable unique ID.", + "required": true, + "type": "string", + "x-example": "<VARIABLE_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Variable key. Max length: 255 chars.", + "default": null, + "x-example": "<KEY>" + }, + "value": { + "type": "string", + "description": "Variable value. Max length: 8192 chars.", + "default": null, + "x-example": "<VALUE>" + } + }, + "required": [ + "key" + ] + } + } + ] + }, + "delete": { + "summary": "Delete variable", + "operationId": "projectDeleteVariable", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "project" + ], + "description": "Delete a project variable by its unique ID. ", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteVariable", + "group": null, + "weight": 200, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "project\/delete-variable.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/project\/delete-variable.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "variableId", + "description": "Variable unique ID.", + "required": true, + "type": "string", + "x-example": "<VARIABLE_ID>", + "in": "path" + } + ] + } + }, + "\/projects": { + "get": { + "summary": "List projects", + "operationId": "projectsList", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Get a list of all projects. You can use the query params to filter your results. ", + "responses": { + "200": { + "description": "Projects List", + "schema": { + "$ref": "#\/definitions\/projectList" + } + } + }, + "x-appwrite": { + "method": "list", + "group": "projects", + "weight": 150, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/list.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/list.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, teamId", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + }, + "post": { + "summary": "Create project", + "operationId": "projectsCreate", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Create a new project. You can create a maximum of 100 projects per account. ", + "responses": { + "201": { + "description": "Project", + "schema": { + "$ref": "#\/definitions\/project" + } + } + }, + "x-appwrite": { + "method": "create", + "group": "projects", + "weight": 149, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/create.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "projectId": { + "type": "string", + "description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, and hyphen. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": null + }, + "name": { + "type": "string", + "description": "Project name. Max length: 128 chars.", + "default": null, + "x-example": "<NAME>" + }, + "teamId": { + "type": "string", + "description": "Team unique ID.", + "default": null, + "x-example": "<TEAM_ID>" + }, + "region": { + "type": "string", + "description": "Project Region.", + "default": "default", + "x-example": "default", + "enum": [ + "default" + ], + "x-enum-name": null, + "x-enum-keys": [] + }, + "description": { + "type": "string", + "description": "Project description. Max length: 256 chars.", + "default": "", + "x-example": "<DESCRIPTION>" + }, + "logo": { + "type": "string", + "description": "Project logo.", + "default": "", + "x-example": "<LOGO>" + }, + "url": { + "type": "string", + "description": "Project URL.", + "default": "", + "x-example": "https:\/\/example.com" + }, + "legalName": { + "type": "string", + "description": "Project legal Name. Max length: 256 chars.", + "default": "", + "x-example": "<LEGAL_NAME>" + }, + "legalCountry": { + "type": "string", + "description": "Project legal Country. Max length: 256 chars.", + "default": "", + "x-example": "<LEGAL_COUNTRY>" + }, + "legalState": { + "type": "string", + "description": "Project legal State. Max length: 256 chars.", + "default": "", + "x-example": "<LEGAL_STATE>" + }, + "legalCity": { + "type": "string", + "description": "Project legal City. Max length: 256 chars.", + "default": "", + "x-example": "<LEGAL_CITY>" + }, + "legalAddress": { + "type": "string", + "description": "Project legal Address. Max length: 256 chars.", + "default": "", + "x-example": "<LEGAL_ADDRESS>" + }, + "legalTaxId": { + "type": "string", + "description": "Project legal Tax ID. Max length: 256 chars.", + "default": "", + "x-example": "<LEGAL_TAX_ID>" + } + }, + "required": [ + "projectId", + "name", + "teamId" + ] + } + } + ] + } + }, + "\/projects\/{projectId}": { + "get": { + "summary": "Get project", + "operationId": "projectsGet", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Get a project by its unique ID. This endpoint allows you to retrieve the project's details, including its name, description, team, region, and other metadata. ", + "responses": { + "200": { + "description": "Project", + "schema": { + "$ref": "#\/definitions\/project" + } + } + }, + "x-appwrite": { + "method": "get", + "group": "projects", + "weight": 151, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + } + ] + }, + "patch": { + "summary": "Update project", + "operationId": "projectsUpdate", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Update a project by its unique ID.", + "responses": { + "200": { + "description": "Project", + "schema": { + "$ref": "#\/definitions\/project" + } + } + }, + "x-appwrite": { + "method": "update", + "group": "projects", + "weight": 152, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Project name. Max length: 128 chars.", + "default": null, + "x-example": "<NAME>" + }, + "description": { + "type": "string", + "description": "Project description. Max length: 256 chars.", + "default": "", + "x-example": "<DESCRIPTION>" + }, + "logo": { + "type": "string", + "description": "Project logo.", + "default": "", + "x-example": "<LOGO>" + }, + "url": { + "type": "string", + "description": "Project URL.", + "default": "", + "x-example": "https:\/\/example.com" + }, + "legalName": { + "type": "string", + "description": "Project legal name. Max length: 256 chars.", + "default": "", + "x-example": "<LEGAL_NAME>" + }, + "legalCountry": { + "type": "string", + "description": "Project legal country. Max length: 256 chars.", + "default": "", + "x-example": "<LEGAL_COUNTRY>" + }, + "legalState": { + "type": "string", + "description": "Project legal state. Max length: 256 chars.", + "default": "", + "x-example": "<LEGAL_STATE>" + }, + "legalCity": { + "type": "string", + "description": "Project legal city. Max length: 256 chars.", + "default": "", + "x-example": "<LEGAL_CITY>" + }, + "legalAddress": { + "type": "string", + "description": "Project legal address. Max length: 256 chars.", + "default": "", + "x-example": "<LEGAL_ADDRESS>" + }, + "legalTaxId": { + "type": "string", + "description": "Project legal tax ID. Max length: 256 chars.", + "default": "", + "x-example": "<LEGAL_TAX_ID>" + } + }, + "required": [ + "name" + ] + } + } + ] + }, + "delete": { + "summary": "Delete project", + "operationId": "projectsDelete", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "projects" + ], + "description": "Delete a project by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "delete", + "group": "projects", + "weight": 169, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/delete.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + } + ] + } + }, + "\/projects\/{projectId}\/api": { + "patch": { + "summary": "Update API status", + "operationId": "projectsUpdateApiStatus", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Update the status of a specific API type. Use this endpoint to enable or disable API types such as REST, GraphQL and Realtime.", + "responses": { + "200": { + "description": "Project", + "schema": { + "$ref": "#\/definitions\/project" + } + } + }, + "x-appwrite": { + "method": "updateApiStatus", + "group": "projects", + "weight": 156, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-api-status.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-api-status.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "api": { + "type": "string", + "description": "API name.", + "default": null, + "x-example": "rest", + "enum": [ + "rest", + "graphql", + "realtime" + ], + "x-enum-name": null, + "x-enum-keys": [] + }, + "status": { + "type": "boolean", + "description": "API status.", + "default": null, + "x-example": false + } + }, + "required": [ + "api", + "status" + ] + } + } + ] + } + }, + "\/projects\/{projectId}\/api\/all": { + "patch": { + "summary": "Update all API status", + "operationId": "projectsUpdateApiStatusAll", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Update the status of all API types. Use this endpoint to enable or disable API types such as REST, GraphQL and Realtime all at once.", + "responses": { + "200": { + "description": "Project", + "schema": { + "$ref": "#\/definitions\/project" + } + } + }, + "x-appwrite": { + "method": "updateApiStatusAll", + "group": "projects", + "weight": 157, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-api-status-all.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-api-status-all.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "status": { + "type": "boolean", + "description": "API status.", + "default": null, + "x-example": false + } + }, + "required": [ + "status" + ] + } + } + ] + } + }, + "\/projects\/{projectId}\/auth\/duration": { + "patch": { + "summary": "Update project authentication duration", + "operationId": "projectsUpdateAuthDuration", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Update how long sessions created within a project should stay active for.", + "responses": { + "200": { + "description": "Project", + "schema": { + "$ref": "#\/definitions\/project" + } + } + }, + "x-appwrite": { + "method": "updateAuthDuration", + "group": "auth", + "weight": 162, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-auth-duration.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-duration.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "duration": { + "type": "integer", + "description": "Project session length in seconds. Max length: 31536000 seconds.", + "default": null, + "x-example": 0 + } + }, + "required": [ + "duration" + ] + } + } + ] + } + }, + "\/projects\/{projectId}\/auth\/limit": { + "patch": { + "summary": "Update project users limit", + "operationId": "projectsUpdateAuthLimit", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Update the maximum number of users allowed in this project. Set to 0 for unlimited users. ", + "responses": { + "200": { + "description": "Project", + "schema": { + "$ref": "#\/definitions\/project" + } + } + }, + "x-appwrite": { + "method": "updateAuthLimit", + "group": "auth", + "weight": 161, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-auth-limit.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-limit.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "description": "Set the max number of users allowed in this project. Use 0 for unlimited.", + "default": null, + "x-example": 0 + } + }, + "required": [ + "limit" + ] + } + } + ] + } + }, + "\/projects\/{projectId}\/auth\/max-sessions": { + "patch": { + "summary": "Update project user sessions limit", + "operationId": "projectsUpdateAuthSessionsLimit", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Update the maximum number of sessions allowed per user within the project, if the limit is hit the oldest session will be deleted to make room for new sessions.", + "responses": { + "200": { + "description": "Project", + "schema": { + "$ref": "#\/definitions\/project" + } + } + }, + "x-appwrite": { + "method": "updateAuthSessionsLimit", + "group": "auth", + "weight": 167, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-auth-sessions-limit.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-sessions-limit.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "description": "Set the max number of users allowed in this project. Value allowed is between 1-100. Default is 10", + "default": null, + "x-example": 1 + } + }, + "required": [ + "limit" + ] + } + } + ] + } + }, + "\/projects\/{projectId}\/auth\/memberships-privacy": { + "patch": { + "summary": "Update project memberships privacy attributes", + "operationId": "projectsUpdateMembershipsPrivacy", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Update project membership privacy settings. Use this endpoint to control what user information is visible to other team members, such as user name, email, and MFA status. ", + "responses": { + "200": { + "description": "Project", + "schema": { + "$ref": "#\/definitions\/project" + } + } + }, + "x-appwrite": { + "method": "updateMembershipsPrivacy", + "group": "auth", + "weight": 160, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-memberships-privacy.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-memberships-privacy.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "boolean", + "description": "Set to true to show userName to members of a team.", + "default": null, + "x-example": false + }, + "userEmail": { + "type": "boolean", + "description": "Set to true to show email to members of a team.", + "default": null, + "x-example": false + }, + "mfa": { + "type": "boolean", + "description": "Set to true to show mfa to members of a team.", + "default": null, + "x-example": false + } + }, + "required": [ + "userName", + "userEmail", + "mfa" + ] + } + } + ] + } + }, + "\/projects\/{projectId}\/auth\/mock-numbers": { + "patch": { + "summary": "Update the mock numbers for the project", + "operationId": "projectsUpdateMockNumbers", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Update the list of mock phone numbers for testing. Use these numbers to bypass SMS verification in development. ", + "responses": { + "200": { + "description": "Project", + "schema": { + "$ref": "#\/definitions\/project" + } + } + }, + "x-appwrite": { + "method": "updateMockNumbers", + "group": "auth", + "weight": 168, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-mock-numbers.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-mock-numbers.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "numbers": { + "type": "array", + "description": "An array of mock numbers and their corresponding verification codes (OTPs). Each number should be a valid E.164 formatted phone number. Maximum of 10 numbers are allowed.", + "default": null, + "x-example": null, + "items": { + "type": "object" + } + } + }, + "required": [ + "numbers" + ] + } + } + ] + } + }, + "\/projects\/{projectId}\/auth\/password-dictionary": { + "patch": { + "summary": "Update authentication password dictionary status. Use this endpoint to enable or disable the dicitonary check for user password", + "operationId": "projectsUpdateAuthPasswordDictionary", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Enable or disable checking user passwords against common passwords dictionary. This helps ensure users don't use common and insecure passwords. ", + "responses": { + "200": { + "description": "Project", + "schema": { + "$ref": "#\/definitions\/project" + } + } + }, + "x-appwrite": { + "method": "updateAuthPasswordDictionary", + "group": "auth", + "weight": 165, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-auth-password-dictionary.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-password-dictionary.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Set whether or not to enable checking user's password against most commonly used passwords. Default is false.", + "default": null, + "x-example": false + } + }, + "required": [ + "enabled" + ] + } + } + ] + } + }, + "\/projects\/{projectId}\/auth\/password-history": { + "patch": { + "summary": "Update authentication password history. Use this endpoint to set the number of password history to save and 0 to disable password history.", + "operationId": "projectsUpdateAuthPasswordHistory", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Update the authentication password history requirement. Use this endpoint to require new passwords to be different than the last X amount of previously used ones.", + "responses": { + "200": { + "description": "Project", + "schema": { + "$ref": "#\/definitions\/project" + } + } + }, + "x-appwrite": { + "method": "updateAuthPasswordHistory", + "group": "auth", + "weight": 164, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-auth-password-history.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-password-history.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "description": "Set the max number of passwords to store in user history. User can't choose a new password that is already stored in the password history list. Max number of passwords allowed in history is20. Default value is 0", + "default": null, + "x-example": 0 + } + }, + "required": [ + "limit" + ] + } + } + ] + } + }, + "\/projects\/{projectId}\/auth\/personal-data": { + "patch": { + "summary": "Update personal data check", + "operationId": "projectsUpdatePersonalDataCheck", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Enable or disable checking user passwords against their personal data. This helps prevent users from using personal information in their passwords. ", + "responses": { + "200": { + "description": "Project", + "schema": { + "$ref": "#\/definitions\/project" + } + } + }, + "x-appwrite": { + "method": "updatePersonalDataCheck", + "group": "auth", + "weight": 166, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-personal-data-check.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-personal-data-check.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Set whether or not to check a password for similarity with personal data. Default is false.", + "default": null, + "x-example": false + } + }, + "required": [ + "enabled" + ] + } + } + ] + } + }, + "\/projects\/{projectId}\/auth\/session-alerts": { + "patch": { + "summary": "Update project sessions emails", + "operationId": "projectsUpdateSessionAlerts", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Enable or disable session email alerts. When enabled, users will receive email notifications when new sessions are created.", + "responses": { + "200": { + "description": "Project", + "schema": { + "$ref": "#\/definitions\/project" + } + } + }, + "x-appwrite": { + "method": "updateSessionAlerts", + "group": "auth", + "weight": 159, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-session-alerts.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-session-alerts.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "alerts": { + "type": "boolean", + "description": "Set to true to enable session emails.", + "default": null, + "x-example": false + } + }, + "required": [ + "alerts" + ] + } + } + ] + } + }, + "\/projects\/{projectId}\/auth\/{method}": { + "patch": { + "summary": "Update project auth method status. Use this endpoint to enable or disable a given auth method for this project.", + "operationId": "projectsUpdateAuthStatus", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Update the status of a specific authentication method. Use this endpoint to enable or disable different authentication methods such as email, magic urls or sms in your project. ", + "responses": { + "200": { + "description": "Project", + "schema": { + "$ref": "#\/definitions\/project" + } + } + }, + "x-appwrite": { + "method": "updateAuthStatus", + "group": "auth", + "weight": 163, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-auth-status.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-auth-status.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "method", + "description": "Auth Method. Possible values: email-password,magic-url,email-otp,anonymous,invites,jwt,phone", + "required": true, + "type": "string", + "x-example": "email-password", + "enum": [ + "email-password", + "magic-url", + "email-otp", + "anonymous", + "invites", + "jwt", + "phone" + ], + "x-enum-name": "AuthMethod", + "x-enum-keys": [], + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "status": { + "type": "boolean", + "description": "Set the status of this auth method.", + "default": null, + "x-example": false + } + }, + "required": [ + "status" + ] + } + } + ] + } + }, + "\/projects\/{projectId}\/jwts": { + "post": { + "summary": "Create JWT", + "operationId": "projectsCreateJWT", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Create a new JWT token. This token can be used to authenticate users with custom scopes and expiration time. ", + "responses": { + "201": { + "description": "JWT", + "schema": { + "$ref": "#\/definitions\/jwt" + } + } + }, + "x-appwrite": { + "method": "createJWT", + "group": "auth", + "weight": 181, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/create-j-w-t.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create-jwt.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "scopes": { + "type": "array", + "description": "List of scopes allowed for JWT key. Maximum of 100 scopes are allowed.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "duration": { + "type": "integer", + "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", + "default": 900, + "x-example": 0 + } + }, + "required": [ + "scopes" + ] + } + } + ] + } + }, + "\/projects\/{projectId}\/keys": { + "get": { + "summary": "List keys", + "operationId": "projectsListKeys", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Get a list of all API keys from the current project. ", + "responses": { + "200": { + "description": "API Keys List", + "schema": { + "$ref": "#\/definitions\/keyList" + } + } + }, + "x-appwrite": { + "method": "listKeys", + "group": "keys", + "weight": 177, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/list-keys.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/list-keys.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "keys.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + } + ] + }, + "post": { + "summary": "Create key", + "operationId": "projectsCreateKey", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Create a new API key. It's recommended to have multiple API keys with strict scopes for separate functions within your project.", + "responses": { + "201": { + "description": "Key", + "schema": { + "$ref": "#\/definitions\/key" + } + } + }, + "x-appwrite": { + "method": "createKey", + "group": "keys", + "weight": 176, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/create-key.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create-key.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "keys.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Key name. Max length: 128 chars.", + "default": null, + "x-example": "<NAME>" + }, + "scopes": { + "type": "array", + "description": "Key scopes list. Maximum of 100 scopes are allowed.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "expire": { + "type": "string", + "description": "Expiration time in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. Use null for unlimited expiration.", + "default": null, + "x-example": null + } + }, + "required": [ + "name", + "scopes" + ] + } + } + ] + } + }, + "\/projects\/{projectId}\/keys\/{keyId}": { + "get": { + "summary": "Get key", + "operationId": "projectsGetKey", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Get a key by its unique ID. This endpoint returns details about a specific API key in your project including it's scopes.", + "responses": { + "200": { + "description": "Key", + "schema": { + "$ref": "#\/definitions\/key" + } + } + }, + "x-appwrite": { + "method": "getKey", + "group": "keys", + "weight": 178, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/get-key.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get-key.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "keys.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "keyId", + "description": "Key unique ID.", + "required": true, + "type": "string", + "x-example": "<KEY_ID>", + "in": "path" + } + ] + }, + "put": { + "summary": "Update key", + "operationId": "projectsUpdateKey", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Update a key by its unique ID. Use this endpoint to update the name, scopes, or expiration time of an API key. ", + "responses": { + "200": { + "description": "Key", + "schema": { + "$ref": "#\/definitions\/key" + } + } + }, + "x-appwrite": { + "method": "updateKey", + "group": "keys", + "weight": 179, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-key.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-key.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "keys.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "keyId", + "description": "Key unique ID.", + "required": true, + "type": "string", + "x-example": "<KEY_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Key name. Max length: 128 chars.", + "default": null, + "x-example": "<NAME>" + }, + "scopes": { + "type": "array", + "description": "Key scopes list. Maximum of 100 events are allowed.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "expire": { + "type": "string", + "description": "Expiration time in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. Use null for unlimited expiration.", + "default": null, + "x-example": null + } + }, + "required": [ + "name", + "scopes" + ] + } + } + ] + }, + "delete": { + "summary": "Delete key", + "operationId": "projectsDeleteKey", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "projects" + ], + "description": "Delete a key by its unique ID. Once deleted, the key can no longer be used to authenticate API calls. ", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteKey", + "group": "keys", + "weight": 180, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/delete-key.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete-key.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "keys.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "keyId", + "description": "Key unique ID.", + "required": true, + "type": "string", + "x-example": "<KEY_ID>", + "in": "path" + } + ] + } + }, + "\/projects\/{projectId}\/oauth2": { + "patch": { + "summary": "Update project OAuth2", + "operationId": "projectsUpdateOAuth2", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Update the OAuth2 provider configurations. Use this endpoint to set up or update the OAuth2 provider credentials or enable\/disable providers. ", + "responses": { + "200": { + "description": "Project", + "schema": { + "$ref": "#\/definitions\/project" + } + } + }, + "x-appwrite": { + "method": "updateOAuth2", + "group": "auth", + "weight": 158, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-o-auth2.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-oauth2.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "provider": { + "type": "string", + "description": "Provider Name", + "default": null, + "x-example": "amazon", + "enum": [ + "amazon", + "apple", + "auth0", + "authentik", + "autodesk", + "bitbucket", + "bitly", + "box", + "dailymotion", + "discord", + "disqus", + "dropbox", + "etsy", + "facebook", + "figma", + "github", + "gitlab", + "google", + "linkedin", + "microsoft", + "notion", + "oidc", + "okta", + "paypal", + "paypalSandbox", + "podio", + "salesforce", + "slack", + "spotify", + "stripe", + "tradeshift", + "tradeshiftBox", + "twitch", + "wordpress", + "yahoo", + "yammer", + "yandex", + "zoho", + "zoom", + "mock" + ], + "x-enum-name": "OAuthProvider", + "x-enum-keys": [] + }, + "appId": { + "type": "string", + "description": "Provider app ID. Max length: 256 chars.", + "default": null, + "x-example": "<APP_ID>" + }, + "secret": { + "type": "string", + "description": "Provider secret key. Max length: 512 chars.", + "default": null, + "x-example": "<SECRET>" + }, + "enabled": { + "type": "boolean", + "description": "Provider status. Set to 'false' to disable new session creation.", + "default": null, + "x-example": false + } + }, + "required": [ + "provider" + ] + } + } + ] + } + }, + "\/projects\/{projectId}\/platforms": { + "get": { + "summary": "List platforms", + "operationId": "projectsListPlatforms", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Get a list of all platforms in the project. This endpoint returns an array of all platforms and their configurations. ", + "responses": { + "200": { + "description": "Platforms List", + "schema": { + "$ref": "#\/definitions\/platformList" + } + } + }, + "x-appwrite": { + "method": "listPlatforms", + "group": "platforms", + "weight": 183, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/list-platforms.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/list-platforms.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "platforms.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + } + ] + }, + "post": { + "summary": "Create platform", + "operationId": "projectsCreatePlatform", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Create a new platform for your project. Use this endpoint to register a new platform where your users will run your application which will interact with the Appwrite API.", + "responses": { + "201": { + "description": "Platform", + "schema": { + "$ref": "#\/definitions\/platform" + } + } + }, + "x-appwrite": { + "method": "createPlatform", + "group": "platforms", + "weight": 182, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/create-platform.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create-platform.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "platforms.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Platform type.", + "default": null, + "x-example": "web", + "enum": [ + "web", + "flutter-web", + "flutter-ios", + "flutter-android", + "flutter-linux", + "flutter-macos", + "flutter-windows", + "apple-ios", + "apple-macos", + "apple-watchos", + "apple-tvos", + "android", + "unity", + "react-native-ios", + "react-native-android" + ], + "x-enum-name": "PlatformType", + "x-enum-keys": [] + }, + "name": { + "type": "string", + "description": "Platform name. Max length: 128 chars.", + "default": null, + "x-example": "<NAME>" + }, + "key": { + "type": "string", + "description": "Package name for Android or bundle ID for iOS or macOS. Max length: 256 chars.", + "default": "", + "x-example": "<KEY>" + }, + "store": { + "type": "string", + "description": "App store or Google Play store ID. Max length: 256 chars.", + "default": "", + "x-example": "<STORE>" + }, + "hostname": { + "type": "string", + "description": "Platform client hostname. Max length: 256 chars.", + "default": "", + "x-example": null + } + }, + "required": [ + "type", + "name" + ] + } + } + ] + } + }, + "\/projects\/{projectId}\/platforms\/{platformId}": { + "get": { + "summary": "Get platform", + "operationId": "projectsGetPlatform", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Get a platform by its unique ID. This endpoint returns the platform's details, including its name, type, and key configurations. ", + "responses": { + "200": { + "description": "Platform", + "schema": { + "$ref": "#\/definitions\/platform" + } + } + }, + "x-appwrite": { + "method": "getPlatform", + "group": "platforms", + "weight": 184, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/get-platform.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get-platform.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "platforms.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "platformId", + "description": "Platform unique ID.", + "required": true, + "type": "string", + "x-example": "<PLATFORM_ID>", + "in": "path" + } + ] + }, + "put": { + "summary": "Update platform", + "operationId": "projectsUpdatePlatform", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Update a platform by its unique ID. Use this endpoint to update the platform's name, key, platform store ID, or hostname. ", + "responses": { + "200": { + "description": "Platform", + "schema": { + "$ref": "#\/definitions\/platform" + } + } + }, + "x-appwrite": { + "method": "updatePlatform", + "group": "platforms", + "weight": 185, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-platform.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-platform.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "platforms.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "platformId", + "description": "Platform unique ID.", + "required": true, + "type": "string", + "x-example": "<PLATFORM_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Platform name. Max length: 128 chars.", + "default": null, + "x-example": "<NAME>" + }, + "key": { + "type": "string", + "description": "Package name for android or bundle ID for iOS. Max length: 256 chars.", + "default": "", + "x-example": "<KEY>" + }, + "store": { + "type": "string", + "description": "App store or Google Play store ID. Max length: 256 chars.", + "default": "", + "x-example": "<STORE>" + }, + "hostname": { + "type": "string", + "description": "Platform client URL. Max length: 256 chars.", + "default": "", + "x-example": null + } + }, + "required": [ + "name" + ] + } + } + ] + }, + "delete": { + "summary": "Delete platform", + "operationId": "projectsDeletePlatform", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "projects" + ], + "description": "Delete a platform by its unique ID. This endpoint removes the platform and all its configurations from the project. ", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deletePlatform", + "group": "platforms", + "weight": 186, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/delete-platform.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete-platform.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "platforms.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "platformId", + "description": "Platform unique ID.", + "required": true, + "type": "string", + "x-example": "<PLATFORM_ID>", + "in": "path" + } + ] + } + }, + "\/projects\/{projectId}\/service": { + "patch": { + "summary": "Update service status", + "operationId": "projectsUpdateServiceStatus", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Update the status of a specific service. Use this endpoint to enable or disable a service in your project. ", + "responses": { + "200": { + "description": "Project", + "schema": { + "$ref": "#\/definitions\/project" + } + } + }, + "x-appwrite": { + "method": "updateServiceStatus", + "group": "projects", + "weight": 154, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-service-status.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-service-status.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "service": { + "type": "string", + "description": "Service name.", + "default": null, + "x-example": "account", + "enum": [ + "account", + "avatars", + "databases", + "locale", + "health", + "storage", + "teams", + "users", + "functions", + "graphql", + "messaging" + ], + "x-enum-name": "ApiService", + "x-enum-keys": [] + }, + "status": { + "type": "boolean", + "description": "Service status.", + "default": null, + "x-example": false + } + }, + "required": [ + "service", + "status" + ] + } + } + ] + } + }, + "\/projects\/{projectId}\/service\/all": { + "patch": { + "summary": "Update all service status", + "operationId": "projectsUpdateServiceStatusAll", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Update the status of all services. Use this endpoint to enable or disable all optional services at once. ", + "responses": { + "200": { + "description": "Project", + "schema": { + "$ref": "#\/definitions\/project" + } + } + }, + "x-appwrite": { + "method": "updateServiceStatusAll", + "group": "projects", + "weight": 155, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-service-status-all.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-service-status-all.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "status": { + "type": "boolean", + "description": "Service status.", + "default": null, + "x-example": false + } + }, + "required": [ + "status" + ] + } + } + ] + } + }, + "\/projects\/{projectId}\/smtp": { + "patch": { + "summary": "Update SMTP", + "operationId": "projectsUpdateSmtp", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Update the SMTP configuration for your project. Use this endpoint to configure your project's SMTP provider with your custom settings for sending transactional emails. ", + "responses": { + "200": { + "description": "Project", + "schema": { + "$ref": "#\/definitions\/project" + } + } + }, + "x-appwrite": { + "method": "updateSmtp", + "group": "templates", + "weight": 187, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-smtp.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-smtp.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "Enable custom SMTP service", + "default": null, + "x-example": false + }, + "senderName": { + "type": "string", + "description": "Name of the email sender", + "default": "", + "x-example": "<SENDER_NAME>" + }, + "senderEmail": { + "type": "string", + "description": "Email of the sender", + "default": "", + "x-example": "email@example.com" + }, + "replyTo": { + "type": "string", + "description": "Reply to email", + "default": "", + "x-example": "email@example.com" + }, + "host": { + "type": "string", + "description": "SMTP server host name", + "default": "", + "x-example": null + }, + "port": { + "type": "integer", + "description": "SMTP server port", + "default": 587, + "x-example": null + }, + "username": { + "type": "string", + "description": "SMTP server username", + "default": "", + "x-example": "<USERNAME>" + }, + "password": { + "type": "string", + "description": "SMTP server password", + "default": "", + "x-example": "<PASSWORD>" + }, + "secure": { + "type": "string", + "description": "Does SMTP server use secure connection", + "default": "", + "x-example": "tls", + "enum": [ + "tls", + "ssl" + ], + "x-enum-name": "SMTPSecure", + "x-enum-keys": [] + } + }, + "required": [ + "enabled" + ] + } + } + ] + } + }, + "\/projects\/{projectId}\/smtp\/tests": { + "post": { + "summary": "Create SMTP test", + "operationId": "projectsCreateSmtpTest", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Send a test email to verify SMTP configuration. ", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "createSmtpTest", + "group": "templates", + "weight": 188, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/create-smtp-test.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create-smtp-test.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "emails": { + "type": "array", + "description": "Array of emails to send test email to. Maximum of 10 emails are allowed.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "senderName": { + "type": "string", + "description": "Name of the email sender", + "default": null, + "x-example": "<SENDER_NAME>" + }, + "senderEmail": { + "type": "string", + "description": "Email of the sender", + "default": null, + "x-example": "email@example.com" + }, + "replyTo": { + "type": "string", + "description": "Reply to email", + "default": "", + "x-example": "email@example.com" + }, + "host": { + "type": "string", + "description": "SMTP server host name", + "default": null, + "x-example": null + }, + "port": { + "type": "integer", + "description": "SMTP server port", + "default": 587, + "x-example": null + }, + "username": { + "type": "string", + "description": "SMTP server username", + "default": "", + "x-example": "<USERNAME>" + }, + "password": { + "type": "string", + "description": "SMTP server password", + "default": "", + "x-example": "<PASSWORD>" + }, + "secure": { + "type": "string", + "description": "Does SMTP server use secure connection", + "default": "", + "x-example": "tls", + "enum": [ + "tls", + "ssl" + ], + "x-enum-name": "SMTPSecure", + "x-enum-keys": [] + } + }, + "required": [ + "emails", + "senderName", + "senderEmail", + "host" + ] + } + } + ] + } + }, + "\/projects\/{projectId}\/team": { + "patch": { + "summary": "Update project team", + "operationId": "projectsUpdateTeam", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Update the team ID of a project allowing for it to be transferred to another team.", + "responses": { + "200": { + "description": "Project", + "schema": { + "$ref": "#\/definitions\/project" + } + } + }, + "x-appwrite": { + "method": "updateTeam", + "group": "projects", + "weight": 153, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-team.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-team.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "teamId": { + "type": "string", + "description": "Team ID of the team to transfer project to.", + "default": null, + "x-example": "<TEAM_ID>" + } + }, + "required": [ + "teamId" + ] + } + } + ] + } + }, + "\/projects\/{projectId}\/templates\/email\/{type}\/{locale}": { + "get": { + "summary": "Get custom email template", + "operationId": "projectsGetEmailTemplate", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Get a custom email template for the specified locale and type. This endpoint returns the template content, subject, and other configuration details. ", + "responses": { + "200": { + "description": "EmailTemplate", + "schema": { + "$ref": "#\/definitions\/emailTemplate" + } + } + }, + "x-appwrite": { + "method": "getEmailTemplate", + "group": "templates", + "weight": 190, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/get-email-template.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get-email-template.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "type", + "description": "Template type", + "required": true, + "type": "string", + "x-example": "verification", + "enum": [ + "verification", + "magicsession", + "recovery", + "invitation", + "mfachallenge", + "sessionalert", + "otpsession" + ], + "x-enum-name": "EmailTemplateType", + "x-enum-keys": [], + "in": "path" + }, + { + "name": "locale", + "description": "Template locale", + "required": true, + "type": "string", + "x-example": "af", + "enum": [ + "af", + "ar-ae", + "ar-bh", + "ar-dz", + "ar-eg", + "ar-iq", + "ar-jo", + "ar-kw", + "ar-lb", + "ar-ly", + "ar-ma", + "ar-om", + "ar-qa", + "ar-sa", + "ar-sy", + "ar-tn", + "ar-ye", + "as", + "az", + "be", + "bg", + "bh", + "bn", + "bs", + "ca", + "cs", + "cy", + "da", + "de", + "de-at", + "de-ch", + "de-li", + "de-lu", + "el", + "en", + "en-au", + "en-bz", + "en-ca", + "en-gb", + "en-ie", + "en-jm", + "en-nz", + "en-tt", + "en-us", + "en-za", + "eo", + "es", + "es-ar", + "es-bo", + "es-cl", + "es-co", + "es-cr", + "es-do", + "es-ec", + "es-gt", + "es-hn", + "es-mx", + "es-ni", + "es-pa", + "es-pe", + "es-pr", + "es-py", + "es-sv", + "es-uy", + "es-ve", + "et", + "eu", + "fa", + "fi", + "fo", + "fr", + "fr-be", + "fr-ca", + "fr-ch", + "fr-lu", + "ga", + "gd", + "he", + "hi", + "hr", + "hu", + "id", + "is", + "it", + "it-ch", + "ja", + "ji", + "ko", + "ku", + "lt", + "lv", + "mk", + "ml", + "ms", + "mt", + "nb", + "ne", + "nl", + "nl-be", + "nn", + "no", + "pa", + "pl", + "pt", + "pt-br", + "rm", + "ro", + "ro-md", + "ru", + "ru-md", + "sb", + "sk", + "sl", + "sq", + "sr", + "sv", + "sv-fi", + "th", + "tn", + "tr", + "ts", + "ua", + "ur", + "ve", + "vi", + "xh", + "zh-cn", + "zh-hk", + "zh-sg", + "zh-tw", + "zu" + ], + "x-enum-name": "EmailTemplateLocale", + "x-enum-keys": [], + "in": "path" + } + ] + }, + "patch": { + "summary": "Update custom email templates", + "operationId": "projectsUpdateEmailTemplate", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Update a custom email template for the specified locale and type. Use this endpoint to modify the content of your email templates.", + "responses": { + "200": { + "description": "EmailTemplate", + "schema": { + "$ref": "#\/definitions\/emailTemplate" + } + } + }, + "x-appwrite": { + "method": "updateEmailTemplate", + "group": "templates", + "weight": 192, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-email-template.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-email-template.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "type", + "description": "Template type", + "required": true, + "type": "string", + "x-example": "verification", + "enum": [ + "verification", + "magicsession", + "recovery", + "invitation", + "mfachallenge", + "sessionalert", + "otpsession" + ], + "x-enum-name": "EmailTemplateType", + "x-enum-keys": [], + "in": "path" + }, + { + "name": "locale", + "description": "Template locale", + "required": true, + "type": "string", + "x-example": "af", + "enum": [ + "af", + "ar-ae", + "ar-bh", + "ar-dz", + "ar-eg", + "ar-iq", + "ar-jo", + "ar-kw", + "ar-lb", + "ar-ly", + "ar-ma", + "ar-om", + "ar-qa", + "ar-sa", + "ar-sy", + "ar-tn", + "ar-ye", + "as", + "az", + "be", + "bg", + "bh", + "bn", + "bs", + "ca", + "cs", + "cy", + "da", + "de", + "de-at", + "de-ch", + "de-li", + "de-lu", + "el", + "en", + "en-au", + "en-bz", + "en-ca", + "en-gb", + "en-ie", + "en-jm", + "en-nz", + "en-tt", + "en-us", + "en-za", + "eo", + "es", + "es-ar", + "es-bo", + "es-cl", + "es-co", + "es-cr", + "es-do", + "es-ec", + "es-gt", + "es-hn", + "es-mx", + "es-ni", + "es-pa", + "es-pe", + "es-pr", + "es-py", + "es-sv", + "es-uy", + "es-ve", + "et", + "eu", + "fa", + "fi", + "fo", + "fr", + "fr-be", + "fr-ca", + "fr-ch", + "fr-lu", + "ga", + "gd", + "he", + "hi", + "hr", + "hu", + "id", + "is", + "it", + "it-ch", + "ja", + "ji", + "ko", + "ku", + "lt", + "lv", + "mk", + "ml", + "ms", + "mt", + "nb", + "ne", + "nl", + "nl-be", + "nn", + "no", + "pa", + "pl", + "pt", + "pt-br", + "rm", + "ro", + "ro-md", + "ru", + "ru-md", + "sb", + "sk", + "sl", + "sq", + "sr", + "sv", + "sv-fi", + "th", + "tn", + "tr", + "ts", + "ua", + "ur", + "ve", + "vi", + "xh", + "zh-cn", + "zh-hk", + "zh-sg", + "zh-tw", + "zu" + ], + "x-enum-name": "EmailTemplateLocale", + "x-enum-keys": [], + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "subject": { + "type": "string", + "description": "Email Subject", + "default": null, + "x-example": "<SUBJECT>" + }, + "message": { + "type": "string", + "description": "Template message", + "default": null, + "x-example": "<MESSAGE>" + }, + "senderName": { + "type": "string", + "description": "Name of the email sender", + "default": "", + "x-example": "<SENDER_NAME>" + }, + "senderEmail": { + "type": "string", + "description": "Email of the sender", + "default": "", + "x-example": "email@example.com" + }, + "replyTo": { + "type": "string", + "description": "Reply to email", + "default": "", + "x-example": "email@example.com" + } + }, + "required": [ + "subject", + "message" + ] + } + } + ] + }, + "delete": { + "summary": "Delete custom email template", + "operationId": "projectsDeleteEmailTemplate", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Reset a custom email template to its default value. This endpoint removes any custom content and restores the template to its original state. ", + "responses": { + "200": { + "description": "EmailTemplate", + "schema": { + "$ref": "#\/definitions\/emailTemplate" + } + } + }, + "x-appwrite": { + "method": "deleteEmailTemplate", + "group": "templates", + "weight": 194, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/delete-email-template.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete-email-template.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "type", + "description": "Template type", + "required": true, + "type": "string", + "x-example": "verification", + "enum": [ + "verification", + "magicsession", + "recovery", + "invitation", + "mfachallenge", + "sessionalert", + "otpsession" + ], + "x-enum-name": "EmailTemplateType", + "x-enum-keys": [], + "in": "path" + }, + { + "name": "locale", + "description": "Template locale", + "required": true, + "type": "string", + "x-example": "af", + "enum": [ + "af", + "ar-ae", + "ar-bh", + "ar-dz", + "ar-eg", + "ar-iq", + "ar-jo", + "ar-kw", + "ar-lb", + "ar-ly", + "ar-ma", + "ar-om", + "ar-qa", + "ar-sa", + "ar-sy", + "ar-tn", + "ar-ye", + "as", + "az", + "be", + "bg", + "bh", + "bn", + "bs", + "ca", + "cs", + "cy", + "da", + "de", + "de-at", + "de-ch", + "de-li", + "de-lu", + "el", + "en", + "en-au", + "en-bz", + "en-ca", + "en-gb", + "en-ie", + "en-jm", + "en-nz", + "en-tt", + "en-us", + "en-za", + "eo", + "es", + "es-ar", + "es-bo", + "es-cl", + "es-co", + "es-cr", + "es-do", + "es-ec", + "es-gt", + "es-hn", + "es-mx", + "es-ni", + "es-pa", + "es-pe", + "es-pr", + "es-py", + "es-sv", + "es-uy", + "es-ve", + "et", + "eu", + "fa", + "fi", + "fo", + "fr", + "fr-be", + "fr-ca", + "fr-ch", + "fr-lu", + "ga", + "gd", + "he", + "hi", + "hr", + "hu", + "id", + "is", + "it", + "it-ch", + "ja", + "ji", + "ko", + "ku", + "lt", + "lv", + "mk", + "ml", + "ms", + "mt", + "nb", + "ne", + "nl", + "nl-be", + "nn", + "no", + "pa", + "pl", + "pt", + "pt-br", + "rm", + "ro", + "ro-md", + "ru", + "ru-md", + "sb", + "sk", + "sl", + "sq", + "sr", + "sv", + "sv-fi", + "th", + "tn", + "tr", + "ts", + "ua", + "ur", + "ve", + "vi", + "xh", + "zh-cn", + "zh-hk", + "zh-sg", + "zh-tw", + "zu" + ], + "x-enum-name": "EmailTemplateLocale", + "x-enum-keys": [], + "in": "path" + } + ] + } + }, + "\/projects\/{projectId}\/templates\/sms\/{type}\/{locale}": { + "get": { + "summary": "Get custom SMS template", + "operationId": "projectsGetSmsTemplate", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Get a custom SMS template for the specified locale and type returning it's contents.", + "responses": { + "200": { + "description": "SmsTemplate", + "schema": { + "$ref": "#\/definitions\/smsTemplate" + } + } + }, + "x-appwrite": { + "method": "getSmsTemplate", + "group": "templates", + "weight": 189, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/get-sms-template.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get-sms-template.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "type", + "description": "Template type", + "required": true, + "type": "string", + "x-example": "verification", + "enum": [ + "verification", + "login", + "invitation", + "mfachallenge" + ], + "x-enum-name": "SmsTemplateType", + "x-enum-keys": [], + "in": "path" + }, + { + "name": "locale", + "description": "Template locale", + "required": true, + "type": "string", + "x-example": "af", + "enum": [ + "af", + "ar-ae", + "ar-bh", + "ar-dz", + "ar-eg", + "ar-iq", + "ar-jo", + "ar-kw", + "ar-lb", + "ar-ly", + "ar-ma", + "ar-om", + "ar-qa", + "ar-sa", + "ar-sy", + "ar-tn", + "ar-ye", + "as", + "az", + "be", + "bg", + "bh", + "bn", + "bs", + "ca", + "cs", + "cy", + "da", + "de", + "de-at", + "de-ch", + "de-li", + "de-lu", + "el", + "en", + "en-au", + "en-bz", + "en-ca", + "en-gb", + "en-ie", + "en-jm", + "en-nz", + "en-tt", + "en-us", + "en-za", + "eo", + "es", + "es-ar", + "es-bo", + "es-cl", + "es-co", + "es-cr", + "es-do", + "es-ec", + "es-gt", + "es-hn", + "es-mx", + "es-ni", + "es-pa", + "es-pe", + "es-pr", + "es-py", + "es-sv", + "es-uy", + "es-ve", + "et", + "eu", + "fa", + "fi", + "fo", + "fr", + "fr-be", + "fr-ca", + "fr-ch", + "fr-lu", + "ga", + "gd", + "he", + "hi", + "hr", + "hu", + "id", + "is", + "it", + "it-ch", + "ja", + "ji", + "ko", + "ku", + "lt", + "lv", + "mk", + "ml", + "ms", + "mt", + "nb", + "ne", + "nl", + "nl-be", + "nn", + "no", + "pa", + "pl", + "pt", + "pt-br", + "rm", + "ro", + "ro-md", + "ru", + "ru-md", + "sb", + "sk", + "sl", + "sq", + "sr", + "sv", + "sv-fi", + "th", + "tn", + "tr", + "ts", + "ua", + "ur", + "ve", + "vi", + "xh", + "zh-cn", + "zh-hk", + "zh-sg", + "zh-tw", + "zu" + ], + "x-enum-name": "SmsTemplateLocale", + "x-enum-keys": [], + "in": "path" + } + ] + }, + "patch": { + "summary": "Update custom SMS template", + "operationId": "projectsUpdateSmsTemplate", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Update a custom SMS template for the specified locale and type. Use this endpoint to modify the content of your SMS templates. ", + "responses": { + "200": { + "description": "SmsTemplate", + "schema": { + "$ref": "#\/definitions\/smsTemplate" + } + } + }, + "x-appwrite": { + "method": "updateSmsTemplate", + "group": "templates", + "weight": 191, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-sms-template.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-sms-template.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "type", + "description": "Template type", + "required": true, + "type": "string", + "x-example": "verification", + "enum": [ + "verification", + "login", + "invitation", + "mfachallenge" + ], + "x-enum-name": "SmsTemplateType", + "x-enum-keys": [], + "in": "path" + }, + { + "name": "locale", + "description": "Template locale", + "required": true, + "type": "string", + "x-example": "af", + "enum": [ + "af", + "ar-ae", + "ar-bh", + "ar-dz", + "ar-eg", + "ar-iq", + "ar-jo", + "ar-kw", + "ar-lb", + "ar-ly", + "ar-ma", + "ar-om", + "ar-qa", + "ar-sa", + "ar-sy", + "ar-tn", + "ar-ye", + "as", + "az", + "be", + "bg", + "bh", + "bn", + "bs", + "ca", + "cs", + "cy", + "da", + "de", + "de-at", + "de-ch", + "de-li", + "de-lu", + "el", + "en", + "en-au", + "en-bz", + "en-ca", + "en-gb", + "en-ie", + "en-jm", + "en-nz", + "en-tt", + "en-us", + "en-za", + "eo", + "es", + "es-ar", + "es-bo", + "es-cl", + "es-co", + "es-cr", + "es-do", + "es-ec", + "es-gt", + "es-hn", + "es-mx", + "es-ni", + "es-pa", + "es-pe", + "es-pr", + "es-py", + "es-sv", + "es-uy", + "es-ve", + "et", + "eu", + "fa", + "fi", + "fo", + "fr", + "fr-be", + "fr-ca", + "fr-ch", + "fr-lu", + "ga", + "gd", + "he", + "hi", + "hr", + "hu", + "id", + "is", + "it", + "it-ch", + "ja", + "ji", + "ko", + "ku", + "lt", + "lv", + "mk", + "ml", + "ms", + "mt", + "nb", + "ne", + "nl", + "nl-be", + "nn", + "no", + "pa", + "pl", + "pt", + "pt-br", + "rm", + "ro", + "ro-md", + "ru", + "ru-md", + "sb", + "sk", + "sl", + "sq", + "sr", + "sv", + "sv-fi", + "th", + "tn", + "tr", + "ts", + "ua", + "ur", + "ve", + "vi", + "xh", + "zh-cn", + "zh-hk", + "zh-sg", + "zh-tw", + "zu" + ], + "x-enum-name": "SmsTemplateLocale", + "x-enum-keys": [], + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "message": { + "type": "string", + "description": "Template message", + "default": null, + "x-example": "<MESSAGE>" + } + }, + "required": [ + "message" + ] + } + } + ] + }, + "delete": { + "summary": "Reset custom SMS template", + "operationId": "projectsDeleteSmsTemplate", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Reset a custom SMS template to its default value. This endpoint removes any custom message and restores the template to its original state. ", + "responses": { + "200": { + "description": "SmsTemplate", + "schema": { + "$ref": "#\/definitions\/smsTemplate" + } + } + }, + "x-appwrite": { + "method": "deleteSmsTemplate", + "group": "templates", + "weight": 193, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/delete-sms-template.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete-sms-template.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "type", + "description": "Template type", + "required": true, + "type": "string", + "x-example": "verification", + "enum": [ + "verification", + "login", + "invitation", + "mfachallenge" + ], + "x-enum-name": "SmsTemplateType", + "x-enum-keys": [], + "in": "path" + }, + { + "name": "locale", + "description": "Template locale", + "required": true, + "type": "string", + "x-example": "af", + "enum": [ + "af", + "ar-ae", + "ar-bh", + "ar-dz", + "ar-eg", + "ar-iq", + "ar-jo", + "ar-kw", + "ar-lb", + "ar-ly", + "ar-ma", + "ar-om", + "ar-qa", + "ar-sa", + "ar-sy", + "ar-tn", + "ar-ye", + "as", + "az", + "be", + "bg", + "bh", + "bn", + "bs", + "ca", + "cs", + "cy", + "da", + "de", + "de-at", + "de-ch", + "de-li", + "de-lu", + "el", + "en", + "en-au", + "en-bz", + "en-ca", + "en-gb", + "en-ie", + "en-jm", + "en-nz", + "en-tt", + "en-us", + "en-za", + "eo", + "es", + "es-ar", + "es-bo", + "es-cl", + "es-co", + "es-cr", + "es-do", + "es-ec", + "es-gt", + "es-hn", + "es-mx", + "es-ni", + "es-pa", + "es-pe", + "es-pr", + "es-py", + "es-sv", + "es-uy", + "es-ve", + "et", + "eu", + "fa", + "fi", + "fo", + "fr", + "fr-be", + "fr-ca", + "fr-ch", + "fr-lu", + "ga", + "gd", + "he", + "hi", + "hr", + "hu", + "id", + "is", + "it", + "it-ch", + "ja", + "ji", + "ko", + "ku", + "lt", + "lv", + "mk", + "ml", + "ms", + "mt", + "nb", + "ne", + "nl", + "nl-be", + "nn", + "no", + "pa", + "pl", + "pt", + "pt-br", + "rm", + "ro", + "ro-md", + "ru", + "ru-md", + "sb", + "sk", + "sl", + "sq", + "sr", + "sv", + "sv-fi", + "th", + "tn", + "tr", + "ts", + "ua", + "ur", + "ve", + "vi", + "xh", + "zh-cn", + "zh-hk", + "zh-sg", + "zh-tw", + "zu" + ], + "x-enum-name": "SmsTemplateLocale", + "x-enum-keys": [], + "in": "path" + } + ] + } + }, + "\/projects\/{projectId}\/webhooks": { + "get": { + "summary": "List webhooks", + "operationId": "projectsListWebhooks", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Get a list of all webhooks belonging to the project. You can use the query params to filter your results. ", + "responses": { + "200": { + "description": "Webhooks List", + "schema": { + "$ref": "#\/definitions\/webhookList" + } + } + }, + "x-appwrite": { + "method": "listWebhooks", + "group": "webhooks", + "weight": 171, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/list-webhooks.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/list-webhooks.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + } + ] + }, + "post": { + "summary": "Create webhook", + "operationId": "projectsCreateWebhook", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Create a new webhook. Use this endpoint to configure a URL that will receive events from Appwrite when specific events occur. ", + "responses": { + "201": { + "description": "Webhook", + "schema": { + "$ref": "#\/definitions\/webhook" + } + } + }, + "x-appwrite": { + "method": "createWebhook", + "group": "webhooks", + "weight": 170, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/create-webhook.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/create-webhook.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Webhook name. Max length: 128 chars.", + "default": null, + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Enable or disable a webhook.", + "default": true, + "x-example": false + }, + "events": { + "type": "array", + "description": "Events list. Maximum of 100 events are allowed.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "url": { + "type": "string", + "description": "Webhook URL.", + "default": null, + "x-example": null + }, + "security": { + "type": "boolean", + "description": "Certificate verification, false for disabled or true for enabled.", + "default": null, + "x-example": false + }, + "httpUser": { + "type": "string", + "description": "Webhook HTTP user. Max length: 256 chars.", + "default": "", + "x-example": "<HTTP_USER>" + }, + "httpPass": { + "type": "string", + "description": "Webhook HTTP password. Max length: 256 chars.", + "default": "", + "x-example": "<HTTP_PASS>" + } + }, + "required": [ + "name", + "events", + "url", + "security" + ] + } + } + ] + } + }, + "\/projects\/{projectId}\/webhooks\/{webhookId}": { + "get": { + "summary": "Get webhook", + "operationId": "projectsGetWebhook", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Get a webhook by its unique ID. This endpoint returns details about a specific webhook configured for a project. ", + "responses": { + "200": { + "description": "Webhook", + "schema": { + "$ref": "#\/definitions\/webhook" + } + } + }, + "x-appwrite": { + "method": "getWebhook", + "group": "webhooks", + "weight": 172, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/get-webhook.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/get-webhook.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "webhookId", + "description": "Webhook unique ID.", + "required": true, + "type": "string", + "x-example": "<WEBHOOK_ID>", + "in": "path" + } + ] + }, + "put": { + "summary": "Update webhook", + "operationId": "projectsUpdateWebhook", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Update a webhook by its unique ID. Use this endpoint to update the URL, events, or status of an existing webhook. ", + "responses": { + "200": { + "description": "Webhook", + "schema": { + "$ref": "#\/definitions\/webhook" + } + } + }, + "x-appwrite": { + "method": "updateWebhook", + "group": "webhooks", + "weight": 173, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-webhook.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-webhook.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "webhookId", + "description": "Webhook unique ID.", + "required": true, + "type": "string", + "x-example": "<WEBHOOK_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Webhook name. Max length: 128 chars.", + "default": null, + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Enable or disable a webhook.", + "default": true, + "x-example": false + }, + "events": { + "type": "array", + "description": "Events list. Maximum of 100 events are allowed.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "url": { + "type": "string", + "description": "Webhook URL.", + "default": null, + "x-example": null + }, + "security": { + "type": "boolean", + "description": "Certificate verification, false for disabled or true for enabled.", + "default": null, + "x-example": false + }, + "httpUser": { + "type": "string", + "description": "Webhook HTTP user. Max length: 256 chars.", + "default": "", + "x-example": "<HTTP_USER>" + }, + "httpPass": { + "type": "string", + "description": "Webhook HTTP password. Max length: 256 chars.", + "default": "", + "x-example": "<HTTP_PASS>" + } + }, + "required": [ + "name", + "events", + "url", + "security" + ] + } + } + ] + }, + "delete": { + "summary": "Delete webhook", + "operationId": "projectsDeleteWebhook", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "projects" + ], + "description": "Delete a webhook by its unique ID. Once deleted, the webhook will no longer receive project events. ", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteWebhook", + "group": "webhooks", + "weight": 175, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/delete-webhook.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/delete-webhook.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "webhookId", + "description": "Webhook unique ID.", + "required": true, + "type": "string", + "x-example": "<WEBHOOK_ID>", + "in": "path" + } + ] + } + }, + "\/projects\/{projectId}\/webhooks\/{webhookId}\/signature": { + "patch": { + "summary": "Update webhook signature key", + "operationId": "projectsUpdateWebhookSignature", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "projects" + ], + "description": "Update the webhook signature key. This endpoint can be used to regenerate the signature key used to sign and validate payload deliveries for a specific webhook. ", + "responses": { + "200": { + "description": "Webhook", + "schema": { + "$ref": "#\/definitions\/webhook" + } + } + }, + "x-appwrite": { + "method": "updateWebhookSignature", + "group": "webhooks", + "weight": 174, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "projects\/update-webhook-signature.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/projects\/update-webhook-signature.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "projects.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "projectId", + "description": "Project unique ID.", + "required": true, + "type": "string", + "x-example": "<PROJECT_ID>", + "in": "path" + }, + { + "name": "webhookId", + "description": "Webhook unique ID.", + "required": true, + "type": "string", + "x-example": "<WEBHOOK_ID>", + "in": "path" + } + ] + } + }, + "\/proxy\/rules": { + "get": { + "summary": "List rules", + "operationId": "proxyListRules", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "proxy" + ], + "description": "Get a list of all the proxy rules. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Rule List", + "schema": { + "$ref": "#\/definitions\/proxyRuleList" + } + } + }, + "x-appwrite": { + "method": "listRules", + "group": null, + "weight": 316, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "proxy\/list-rules.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/proxy\/list-rules.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "rules.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/databases#querying-documents). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: domain, resourceType, resourceId, url", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + }, + "post": { + "summary": "Create rule", + "operationId": "proxyCreateRule", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "proxy" + ], + "description": "Create a new proxy rule.", + "responses": { + "201": { + "description": "Rule", + "schema": { + "$ref": "#\/definitions\/proxyRule" + } + } + }, + "x-appwrite": { + "method": "createRule", + "group": null, + "weight": 315, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "proxy\/create-rule.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/proxy\/create-rule.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "rules.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "domain": { + "type": "string", + "description": "Domain name.", + "default": null, + "x-example": null + }, + "resourceType": { + "type": "string", + "description": "Action definition for the rule. Possible values are \"api\", \"function\"", + "default": null, + "x-example": "api", + "enum": [ + "api", + "function" + ], + "x-enum-name": null, + "x-enum-keys": [] + }, + "resourceId": { + "type": "string", + "description": "ID of resource for the action type. If resourceType is \"api\", leave empty. If resourceType is \"function\", provide ID of the function.", + "default": "", + "x-example": "<RESOURCE_ID>" + } + }, + "required": [ + "domain", + "resourceType" + ] + } + } + ] + } + }, + "\/proxy\/rules\/{ruleId}": { + "get": { + "summary": "Get rule", + "operationId": "proxyGetRule", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "proxy" + ], + "description": "Get a proxy rule by its unique ID.", + "responses": { + "200": { + "description": "Rule", + "schema": { + "$ref": "#\/definitions\/proxyRule" + } + } + }, + "x-appwrite": { + "method": "getRule", + "group": null, + "weight": 317, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "proxy\/get-rule.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/proxy\/get-rule.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "rules.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "ruleId", + "description": "Rule ID.", + "required": true, + "type": "string", + "x-example": "<RULE_ID>", + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete rule", + "operationId": "proxyDeleteRule", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "proxy" + ], + "description": "Delete a proxy rule by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteRule", + "group": null, + "weight": 318, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "proxy\/delete-rule.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/proxy\/delete-rule.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "rules.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "ruleId", + "description": "Rule ID.", + "required": true, + "type": "string", + "x-example": "<RULE_ID>", + "in": "path" + } + ] + } + }, + "\/proxy\/rules\/{ruleId}\/verification": { + "patch": { + "summary": "Update rule verification status", + "operationId": "proxyUpdateRuleVerification", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "proxy" + ], + "description": "Retry getting verification process of a proxy rule. This endpoint triggers domain verification by checking DNS records (CNAME) against the configured target domain. If verification is successful, a TLS certificate will be automatically provisioned for the domain.", + "responses": { + "200": { + "description": "Rule", + "schema": { + "$ref": "#\/definitions\/proxyRule" + } + } + }, + "x-appwrite": { + "method": "updateRuleVerification", + "group": null, + "weight": 319, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "proxy\/update-rule-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/proxy\/update-rule-verification.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "rules.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "ruleId", + "description": "Rule ID.", + "required": true, + "type": "string", + "x-example": "<RULE_ID>", + "in": "path" + } + ] + } + }, + "\/storage\/buckets": { + "get": { + "summary": "List buckets", + "operationId": "storageListBuckets", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "storage" + ], + "description": "Get a list of all the storage buckets. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Buckets List", + "schema": { + "$ref": "#\/definitions\/bucketList" + } + } + }, + "x-appwrite": { + "method": "listBuckets", + "group": "buckets", + "weight": 202, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/list-buckets.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-buckets.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "buckets.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: enabled, name, fileSecurity, maximumFileSize, encryption, antivirus", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + }, + "post": { + "summary": "Create bucket", + "operationId": "storageCreateBucket", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "storage" + ], + "description": "Create a new storage bucket.", + "responses": { + "201": { + "description": "Bucket", + "schema": { + "$ref": "#\/definitions\/bucket" + } + } + }, + "x-appwrite": { + "method": "createBucket", + "group": "buckets", + "weight": 201, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/create-bucket.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-bucket.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "buckets.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "bucketId": { + "type": "string", + "description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<BUCKET_ID>" + }, + "name": { + "type": "string", + "description": "Bucket name", + "default": null, + "x-example": "<NAME>" + }, + "permissions": { + "type": "array", + "description": "An array of permission strings. By default, no user is granted with any permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "default": null, + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + }, + "fileSecurity": { + "type": "boolean", + "description": "Enables configuring permissions for individual file. A user needs one of file or bucket level permissions to access a file. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "default": false, + "x-example": false + }, + "enabled": { + "type": "boolean", + "description": "Is bucket enabled? When set to 'disabled', users cannot access the files in this bucket but Server SDKs with and API key can still access the bucket. No files are lost when this is toggled.", + "default": true, + "x-example": false + }, + "maximumFileSize": { + "type": "integer", + "description": "Maximum file size allowed in bytes. Maximum allowed value is 30MB.", + "default": {}, + "x-example": 1 + }, + "allowedFileExtensions": { + "type": "array", + "description": "Allowed file extensions. Maximum of 100 extensions are allowed, each 64 characters long.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "compression": { + "type": "string", + "description": "Compression algorithm choosen for compression. Can be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd), For file size above 20MB compression is skipped even if it's enabled", + "default": "none", + "x-example": "none", + "enum": [ + "none", + "gzip", + "zstd" + ], + "x-enum-name": null, + "x-enum-keys": [] + }, + "encryption": { + "type": "boolean", + "description": "Is encryption enabled? For file size above 20MB encryption is skipped even if it's enabled", + "default": true, + "x-example": false + }, + "antivirus": { + "type": "boolean", + "description": "Is virus scanning enabled? For file size above 20MB AntiVirus scanning is skipped even if it's enabled", + "default": true, + "x-example": false + } + }, + "required": [ + "bucketId", + "name" + ] + } + } + ] + } + }, + "\/storage\/buckets\/{bucketId}": { + "get": { + "summary": "Get bucket", + "operationId": "storageGetBucket", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "storage" + ], + "description": "Get a storage bucket by its unique ID. This endpoint response returns a JSON object with the storage bucket metadata.", + "responses": { + "200": { + "description": "Bucket", + "schema": { + "$ref": "#\/definitions\/bucket" + } + } + }, + "x-appwrite": { + "method": "getBucket", + "group": "buckets", + "weight": 203, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/get-bucket.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-bucket.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "buckets.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Bucket unique ID.", + "required": true, + "type": "string", + "x-example": "<BUCKET_ID>", + "in": "path" + } + ] + }, + "put": { + "summary": "Update bucket", + "operationId": "storageUpdateBucket", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "storage" + ], + "description": "Update a storage bucket by its unique ID.", + "responses": { + "200": { + "description": "Bucket", + "schema": { + "$ref": "#\/definitions\/bucket" + } + } + }, + "x-appwrite": { + "method": "updateBucket", + "group": "buckets", + "weight": 204, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/update-bucket.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-bucket.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "buckets.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Bucket unique ID.", + "required": true, + "type": "string", + "x-example": "<BUCKET_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Bucket name", + "default": null, + "x-example": "<NAME>" + }, + "permissions": { + "type": "array", + "description": "An array of permission strings. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "default": null, + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + }, + "fileSecurity": { + "type": "boolean", + "description": "Enables configuring permissions for individual file. A user needs one of file or bucket level permissions to access a file. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "default": false, + "x-example": false + }, + "enabled": { + "type": "boolean", + "description": "Is bucket enabled? When set to 'disabled', users cannot access the files in this bucket but Server SDKs with and API key can still access the bucket. No files are lost when this is toggled.", + "default": true, + "x-example": false + }, + "maximumFileSize": { + "type": "integer", + "description": "Maximum file size allowed in bytes. Maximum allowed value is 30MB.", + "default": {}, + "x-example": 1 + }, + "allowedFileExtensions": { + "type": "array", + "description": "Allowed file extensions. Maximum of 100 extensions are allowed, each 64 characters long.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "compression": { + "type": "string", + "description": "Compression algorithm choosen for compression. Can be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd), For file size above 20MB compression is skipped even if it's enabled", + "default": "none", + "x-example": "none", + "enum": [ + "none", + "gzip", + "zstd" + ], + "x-enum-name": null, + "x-enum-keys": [] + }, + "encryption": { + "type": "boolean", + "description": "Is encryption enabled? For file size above 20MB encryption is skipped even if it's enabled", + "default": true, + "x-example": false + }, + "antivirus": { + "type": "boolean", + "description": "Is virus scanning enabled? For file size above 20MB AntiVirus scanning is skipped even if it's enabled", + "default": true, + "x-example": false + } + }, + "required": [ + "name" + ] + } + } + ] + }, + "delete": { + "summary": "Delete bucket", + "operationId": "storageDeleteBucket", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "storage" + ], + "description": "Delete a storage bucket by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteBucket", + "group": "buckets", + "weight": 205, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/delete-bucket.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-bucket.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "buckets.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Bucket unique ID.", + "required": true, + "type": "string", + "x-example": "<BUCKET_ID>", + "in": "path" + } + ] + } + }, + "\/storage\/buckets\/{bucketId}\/files": { + "get": { + "summary": "List files", + "operationId": "storageListFiles", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "storage" + ], + "description": "Get a list of all the user files. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Files List", + "schema": { + "$ref": "#\/definitions\/fileList" + } + } + }, + "x-appwrite": { + "method": "listFiles", + "group": "files", + "weight": 207, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/list-files.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-files.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "type": "string", + "x-example": "<BUCKET_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, signature, mimeType, sizeOriginal, chunksTotal, chunksUploaded", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + }, + "post": { + "summary": "Create file", + "operationId": "storageCreateFile", + "consumes": [ + "multipart\/form-data" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "storage" + ], + "description": "Create a new file. Before using this route, you should create a new bucket resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/storage#storageCreateBucket) API or directly from your Appwrite console.\n\nLarger files should be uploaded using multiple requests with the [content-range](https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTTP\/Headers\/Content-Range) header to send a partial request with a maximum supported chunk of `5MB`. The `content-range` header values should always be in bytes.\n\nWhen the first request is sent, the server will return the **File** object, and the subsequent part request must include the file's **id** in `x-appwrite-id` header to allow the server to know that the partial upload is for the existing file and not for a new one.\n\nIf you're creating a new file using one of the Appwrite SDKs, all the chunking logic will be managed by the SDK internally.\n", + "responses": { + "201": { + "description": "File", + "schema": { + "$ref": "#\/definitions\/file" + } + } + }, + "x-appwrite": { + "method": "createFile", + "group": "files", + "weight": 206, + "cookies": false, + "type": "upload", + "deprecated": false, + "demo": "storage\/create-file.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-file.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId},chunkId:{chunkId}", + "scope": "files.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "type": "string", + "x-example": "<BUCKET_ID>", + "in": "path" + }, + { + "name": "fileId", + "description": "File ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "required": true, + "x-upload-id": true, + "type": "string", + "x-example": "<FILE_ID>", + "in": "formData" + }, + { + "name": "file", + "description": "Binary file. Appwrite SDKs provide helpers to handle file input. [Learn about file input](https:\/\/appwrite.io\/docs\/products\/storage\/upload-download#input-file).", + "required": true, + "type": "file", + "in": "formData" + }, + { + "name": "permissions", + "description": "An array of permission strings. By default, only the current user is granted all permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "x-example": "[\"read(\"any\")\"]", + "in": "formData" + } + ] + } + }, + "\/storage\/buckets\/{bucketId}\/files\/{fileId}": { + "get": { + "summary": "Get file", + "operationId": "storageGetFile", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "storage" + ], + "description": "Get a file by its unique ID. This endpoint response returns a JSON object with the file metadata.", + "responses": { + "200": { + "description": "File", + "schema": { + "$ref": "#\/definitions\/file" + } + } + }, + "x-appwrite": { + "method": "getFile", + "group": "files", + "weight": 208, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/get-file.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "type": "string", + "x-example": "<BUCKET_ID>", + "in": "path" + }, + { + "name": "fileId", + "description": "File ID.", + "required": true, + "type": "string", + "x-example": "<FILE_ID>", + "in": "path" + } + ] + }, + "put": { + "summary": "Update file", + "operationId": "storageUpdateFile", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "storage" + ], + "description": "Update a file by its unique ID. Only users with write permissions have access to update this resource.", + "responses": { + "200": { + "description": "File", + "schema": { + "$ref": "#\/definitions\/file" + } + } + }, + "x-appwrite": { + "method": "updateFile", + "group": "files", + "weight": 213, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/update-file.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-file.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", + "scope": "files.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "type": "string", + "x-example": "<BUCKET_ID>", + "in": "path" + }, + { + "name": "fileId", + "description": "File unique ID.", + "required": true, + "type": "string", + "x-example": "<FILE_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the file", + "default": null, + "x-example": "<NAME>" + }, + "permissions": { + "type": "array", + "description": "An array of permission string. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "default": null, + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + } + } + } + } + ] + }, + "delete": { + "summary": "Delete file", + "operationId": "storageDeleteFile", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "storage" + ], + "description": "Delete a file by its unique ID. Only users with write permissions have access to delete this resource.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteFile", + "group": "files", + "weight": 214, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/delete-file.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-file.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", + "scope": "files.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "type": "string", + "x-example": "<BUCKET_ID>", + "in": "path" + }, + { + "name": "fileId", + "description": "File ID.", + "required": true, + "type": "string", + "x-example": "<FILE_ID>", + "in": "path" + } + ] + } + }, + "\/storage\/buckets\/{bucketId}\/files\/{fileId}\/download": { + "get": { + "summary": "Get file for download", + "operationId": "storageGetFileDownload", + "consumes": [ + "application\/json" + ], + "produces": [ + "*\/*" + ], + "tags": [ + "storage" + ], + "description": "Get a file content by its unique ID. The endpoint response return with a 'Content-Disposition: attachment' header that tells the browser to start downloading the file to user downloads directory.", + "responses": { + "200": { + "description": "File", + "schema": { + "type": "file" + } + } + }, + "x-appwrite": { + "method": "getFileDownload", + "group": "files", + "weight": 210, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "storage\/get-file-download.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-download.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "type": "string", + "x-example": "<BUCKET_ID>", + "in": "path" + }, + { + "name": "fileId", + "description": "File ID.", + "required": true, + "type": "string", + "x-example": "<FILE_ID>", + "in": "path" + } + ] + } + }, + "\/storage\/buckets\/{bucketId}\/files\/{fileId}\/preview": { + "get": { + "summary": "Get file preview", + "operationId": "storageGetFilePreview", + "consumes": [ + "application\/json" + ], + "produces": [ + "image\/*" + ], + "tags": [ + "storage" + ], + "description": "Get a file preview image. Currently, this method supports preview for image files (jpg, png, and gif), other supported formats, like pdf, docs, slides, and spreadsheets, will return the file icon image. You can also pass query string arguments for cutting and resizing your preview image. Preview is supported only for image files smaller than 10MB.", + "responses": { + "200": { + "description": "Image", + "schema": { + "type": "file" + } + } + }, + "x-appwrite": { + "method": "getFilePreview", + "group": "files", + "weight": 209, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "storage\/get-file-preview.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-preview.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "type": "string", + "x-example": "<BUCKET_ID>", + "in": "path" + }, + { + "name": "fileId", + "description": "File ID", + "required": true, + "type": "string", + "x-example": "<FILE_ID>", + "in": "path" + }, + { + "name": "width", + "description": "Resize preview image width, Pass an integer between 0 to 4000.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 0, + "in": "query" + }, + { + "name": "height", + "description": "Resize preview image height, Pass an integer between 0 to 4000.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 0, + "in": "query" + }, + { + "name": "gravity", + "description": "Image crop gravity. Can be one of center,top-left,top,top-right,left,right,bottom-left,bottom,bottom-right", + "required": false, + "type": "string", + "x-example": "center", + "enum": [ + "center", + "top-left", + "top", + "top-right", + "left", + "right", + "bottom-left", + "bottom", + "bottom-right" + ], + "x-enum-name": "ImageGravity", + "x-enum-keys": [], + "default": "center", + "in": "query" + }, + { + "name": "quality", + "description": "Preview image quality. Pass an integer between 0 to 100. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100, + "in": "query" + }, + { + "name": "borderWidth", + "description": "Preview image border in pixels. Pass an integer between 0 to 100. Defaults to 0.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 0, + "in": "query" + }, + { + "name": "borderColor", + "description": "Preview image border color. Use a valid HEX color, no # is needed for prefix.", + "required": false, + "type": "string", + "default": "", + "in": "query" + }, + { + "name": "borderRadius", + "description": "Preview image border radius in pixels. Pass an integer between 0 to 4000.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 0, + "in": "query" + }, + { + "name": "opacity", + "description": "Preview image opacity. Only works with images having an alpha channel (like png). Pass a number between 0 to 1.", + "required": false, + "type": "number", + "format": "float", + "x-example": 0, + "default": 1, + "in": "query" + }, + { + "name": "rotation", + "description": "Preview image rotation in degrees. Pass an integer between -360 and 360.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": -360, + "default": 0, + "in": "query" + }, + { + "name": "background", + "description": "Preview image background color. Only works with transparent images (png). Use a valid HEX color, no # is needed for prefix.", + "required": false, + "type": "string", + "default": "", + "in": "query" + }, + { + "name": "output", + "description": "Output format type (jpeg, jpg, png, gif and webp).", + "required": false, + "type": "string", + "x-example": "jpg", + "enum": [ + "jpg", + "jpeg", + "gif", + "png", + "webp", + "heic", + "avif" + ], + "x-enum-name": "ImageFormat", + "x-enum-keys": [], + "default": "", + "in": "query" + } + ] + } + }, + "\/storage\/buckets\/{bucketId}\/files\/{fileId}\/view": { + "get": { + "summary": "Get file for view", + "operationId": "storageGetFileView", + "consumes": [ + "application\/json" + ], + "produces": [ + "*\/*" + ], + "tags": [ + "storage" + ], + "description": "Get a file content by its unique ID. This endpoint is similar to the download method but returns with no 'Content-Disposition: attachment' header.", + "responses": { + "200": { + "description": "File", + "schema": { + "type": "file" + } + } + }, + "x-appwrite": { + "method": "getFileView", + "group": "files", + "weight": 211, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "storage\/get-file-view.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-view.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "type": "string", + "x-example": "<BUCKET_ID>", + "in": "path" + }, + { + "name": "fileId", + "description": "File ID.", + "required": true, + "type": "string", + "x-example": "<FILE_ID>", + "in": "path" + } + ] + } + }, + "\/storage\/usage": { + "get": { + "summary": "Get storage usage stats", + "operationId": "storageGetUsage", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "storage" + ], + "description": "Get usage metrics and statistics for all buckets in the project. You can view the total number of buckets, files, storage usage. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days.\n", + "responses": { + "200": { + "description": "StorageUsage", + "schema": { + "$ref": "#\/definitions\/usageStorage" + } + } + }, + "x-appwrite": { + "method": "getUsage", + "group": null, + "weight": 215, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/get-usage.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-usage.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "range", + "description": "Date range.", + "required": false, + "type": "string", + "x-example": "24h", + "enum": [ + "24h", + "30d", + "90d" + ], + "x-enum-name": "StorageUsageRange", + "x-enum-keys": [ + "Twenty Four Hours", + "Thirty Days", + "Ninety Days" + ], + "default": "30d", + "in": "query" + } + ] + } + }, + "\/storage\/{bucketId}\/usage": { + "get": { + "summary": "Get bucket usage stats", + "operationId": "storageGetBucketUsage", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "storage" + ], + "description": "Get usage metrics and statistics a specific bucket in the project. You can view the total number of files, storage usage. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days.\n", + "responses": { + "200": { + "description": "UsageBuckets", + "schema": { + "$ref": "#\/definitions\/usageBuckets" + } + } + }, + "x-appwrite": { + "method": "getBucketUsage", + "group": null, + "weight": 216, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/get-bucket-usage.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-bucket-usage.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Bucket ID.", + "required": true, + "type": "string", + "x-example": "<BUCKET_ID>", + "in": "path" + }, + { + "name": "range", + "description": "Date range.", + "required": false, + "type": "string", + "x-example": "24h", + "enum": [ + "24h", + "30d", + "90d" + ], + "x-enum-name": "StorageUsageRange", + "x-enum-keys": [ + "Twenty Four Hours", + "Thirty Days", + "Ninety Days" + ], + "default": "30d", + "in": "query" + } + ] + } + }, + "\/teams": { + "get": { + "summary": "List teams", + "operationId": "teamsList", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Get a list of all the teams in which the current user is a member. You can use the parameters to filter your results.", + "responses": { + "200": { + "description": "Teams List", + "schema": { + "$ref": "#\/definitions\/teamList" + } + } + }, + "x-appwrite": { + "method": "list", + "group": "teams", + "weight": 218, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/list.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-teams.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, total, billingPlan", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + }, + "post": { + "summary": "Create team", + "operationId": "teamsCreate", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Create a new team. The user who creates the team will automatically be assigned as the owner of the team. Only the users with the owner role can invite new members, add new owners and delete or update the team.", + "responses": { + "201": { + "description": "Team", + "schema": { + "$ref": "#\/definitions\/team" + } + } + }, + "x-appwrite": { + "method": "create", + "group": "teams", + "weight": 217, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/create.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "teamId": { + "type": "string", + "description": "Team ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<TEAM_ID>" + }, + "name": { + "type": "string", + "description": "Team name. Max length: 128 chars.", + "default": null, + "x-example": "<NAME>" + }, + "roles": { + "type": "array", + "description": "Array of strings. Use this param to set the roles in the team for the user who created it. The default role is **owner**. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.", + "default": [ + "owner" + ], + "x-example": null, + "items": { + "type": "string" + } + } + }, + "required": [ + "teamId", + "name" + ] + } + } + ] + } + }, + "\/teams\/{teamId}": { + "get": { + "summary": "Get team", + "operationId": "teamsGet", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Get a team by its ID. All team members have read access for this resource.", + "responses": { + "200": { + "description": "Team", + "schema": { + "$ref": "#\/definitions\/team" + } + } + }, + "x-appwrite": { + "method": "get", + "group": "teams", + "weight": 219, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + } + ] + }, + "put": { + "summary": "Update name", + "operationId": "teamsUpdateName", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Update the team's name by its unique ID.", + "responses": { + "200": { + "description": "Team", + "schema": { + "$ref": "#\/definitions\/team" + } + } + }, + "x-appwrite": { + "method": "updateName", + "group": "teams", + "weight": 221, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/update-name.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-name.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "New team name. Max length: 128 chars.", + "default": null, + "x-example": "<NAME>" + } + }, + "required": [ + "name" + ] + } + } + ] + }, + "delete": { + "summary": "Delete team", + "operationId": "teamsDelete", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "teams" + ], + "description": "Delete a team using its ID. Only team members with the owner role can delete the team.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "delete", + "group": "teams", + "weight": 223, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/delete.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + } + ] + } + }, + "\/teams\/{teamId}\/logs": { + "get": { + "summary": "List team logs", + "operationId": "teamsListLogs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Get the team activity logs list by its unique ID.", + "responses": { + "200": { + "description": "Logs List", + "schema": { + "$ref": "#\/definitions\/logList" + } + } + }, + "x-appwrite": { + "method": "listLogs", + "group": "logs", + "weight": 230, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/list-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + } + }, + "\/teams\/{teamId}\/memberships": { + "get": { + "summary": "List team memberships", + "operationId": "teamsListMemberships", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Use this endpoint to list a team's members using the team's ID. All team members have read access to this endpoint. Hide sensitive attributes from the response by toggling membership privacy in the Console.", + "responses": { + "200": { + "description": "Memberships List", + "schema": { + "$ref": "#\/definitions\/membershipList" + } + } + }, + "x-appwrite": { + "method": "listMemberships", + "group": "memberships", + "weight": 225, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/list-memberships.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-team-members.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, teamId, invited, joined, confirm", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + }, + "post": { + "summary": "Create team membership", + "operationId": "teamsCreateMembership", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Invite a new member to join your team. Provide an ID for existing users, or invite unregistered users using an email or phone number. If initiated from a Client SDK, Appwrite will send an email or sms with a link to join the team to the invited user, and an account will be created for them if one doesn't exist. If initiated from a Server SDK, the new member will be added automatically to the team.\n\nYou only need to provide one of a user ID, email, or phone number. Appwrite will prioritize accepting the user ID > email > phone number if you provide more than one of these parameters.\n\nUse the `url` parameter to redirect the user from the invitation email to your app. After the user is redirected, use the [Update Team Membership Status](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/teams#updateMembershipStatus) endpoint to allow the user to accept the invitation to the team. \n\nPlease note that to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md) Appwrite will accept the only redirect URLs under the domains you have added as a platform on the Appwrite Console.\n", + "responses": { + "201": { + "description": "Membership", + "schema": { + "$ref": "#\/definitions\/membership" + } + } + }, + "x-appwrite": { + "method": "createMembership", + "group": "memberships", + "weight": 224, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/create-membership.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team-membership.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "email": { + "type": "string", + "description": "Email of the new team member.", + "default": "", + "x-example": "email@example.com" + }, + "userId": { + "type": "string", + "description": "ID of the user to be added to a team.", + "default": "", + "x-example": "<USER_ID>" + }, + "phone": { + "type": "string", + "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "default": "", + "x-example": "+12065550100" + }, + "roles": { + "type": "array", + "description": "Array of strings. Use this param to set the user roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "url": { + "type": "string", + "description": "URL to redirect the user back to your app from the invitation email. This parameter is not required when an API key is supplied. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "default": "", + "x-example": "https:\/\/example.com" + }, + "name": { + "type": "string", + "description": "Name of the new team member. Max length: 128 chars.", + "default": "", + "x-example": "<NAME>" + } + }, + "required": [ + "roles" + ] + } + } + ] + } + }, + "\/teams\/{teamId}\/memberships\/{membershipId}": { + "get": { + "summary": "Get team membership", + "operationId": "teamsGetMembership", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Get a team member by the membership unique id. All team members have read access for this resource. Hide sensitive attributes from the response by toggling membership privacy in the Console.", + "responses": { + "200": { + "description": "Membership", + "schema": { + "$ref": "#\/definitions\/membership" + } + } + }, + "x-appwrite": { + "method": "getMembership", + "group": "memberships", + "weight": 226, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/get-membership.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-member.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + }, + { + "name": "membershipId", + "description": "Membership ID.", + "required": true, + "type": "string", + "x-example": "<MEMBERSHIP_ID>", + "in": "path" + } + ] + }, + "patch": { + "summary": "Update membership", + "operationId": "teamsUpdateMembership", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Modify the roles of a team member. Only team members with the owner role have access to this endpoint. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions).\n", + "responses": { + "200": { + "description": "Membership", + "schema": { + "$ref": "#\/definitions\/membership" + } + } + }, + "x-appwrite": { + "method": "updateMembership", + "group": "memberships", + "weight": 227, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/update-membership.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + }, + { + "name": "membershipId", + "description": "Membership ID.", + "required": true, + "type": "string", + "x-example": "<MEMBERSHIP_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "roles": { + "type": "array", + "description": "An array of strings. Use this param to set the user's roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + } + }, + "required": [ + "roles" + ] + } + } + ] + }, + "delete": { + "summary": "Delete team membership", + "operationId": "teamsDeleteMembership", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "teams" + ], + "description": "This endpoint allows a user to leave a team or for a team owner to delete the membership of any other team member. You can also use this endpoint to delete a user membership even if it is not accepted.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteMembership", + "group": "memberships", + "weight": 229, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/delete-membership.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team-membership.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + }, + { + "name": "membershipId", + "description": "Membership ID.", + "required": true, + "type": "string", + "x-example": "<MEMBERSHIP_ID>", + "in": "path" + } + ] + } + }, + "\/teams\/{teamId}\/memberships\/{membershipId}\/status": { + "patch": { + "summary": "Update team membership status", + "operationId": "teamsUpdateMembershipStatus", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Use this endpoint to allow a user to accept an invitation to join a team after being redirected back to your app from the invitation email received by the user.\n\nIf the request is successful, a session for the user is automatically created.\n", + "responses": { + "200": { + "description": "Membership", + "schema": { + "$ref": "#\/definitions\/membership" + } + } + }, + "x-appwrite": { + "method": "updateMembershipStatus", + "group": "memberships", + "weight": 228, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/update-membership-status.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership-status.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "public", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + }, + { + "name": "membershipId", + "description": "Membership ID.", + "required": true, + "type": "string", + "x-example": "<MEMBERSHIP_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID.", + "default": null, + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Secret key.", + "default": null, + "x-example": "<SECRET>" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + ] + } + }, + "\/teams\/{teamId}\/prefs": { + "get": { + "summary": "Get team preferences", + "operationId": "teamsGetPrefs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Get the team's shared preferences by its unique ID. If a preference doesn't need to be shared by all team members, prefer storing them in [user preferences](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#getPrefs).", + "responses": { + "200": { + "description": "Preferences", + "schema": { + "$ref": "#\/definitions\/preferences" + } + } + }, + "x-appwrite": { + "method": "getPrefs", + "group": "teams", + "weight": 220, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/get-prefs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-prefs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.read", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + } + ] + }, + "put": { + "summary": "Update preferences", + "operationId": "teamsUpdatePrefs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Update the team's preferences by its unique ID. The object you pass is stored as is and replaces any previous value. The maximum allowed prefs size is 64kB and throws an error if exceeded.", + "responses": { + "200": { + "description": "Preferences", + "schema": { + "$ref": "#\/definitions\/preferences" + } + } + }, + "x-appwrite": { + "method": "updatePrefs", + "group": "teams", + "weight": 222, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/update-prefs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-prefs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "prefs": { + "type": "object", + "description": "Prefs key-value JSON object.", + "default": {}, + "x-example": "{}" + } + }, + "required": [ + "prefs" + ] + } + } + ] + } + }, + "\/users": { + "get": { + "summary": "List users", + "operationId": "usersList", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Get a list of all the project's users. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Users List", + "schema": { + "$ref": "#\/definitions\/userList" + } + } + }, + "x-appwrite": { + "method": "list", + "group": "users", + "weight": 240, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/list.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-users.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, email, phone, status, passwordUpdate, registration, emailVerification, phoneVerification, labels", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + }, + "post": { + "summary": "Create user", + "operationId": "usersCreate", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Create a new user.", + "responses": { + "201": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "create", + "group": "users", + "weight": 231, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "phone": { + "type": "string", + "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "default": null, + "x-example": "+12065550100" + }, + "password": { + "type": "string", + "description": "Plain text user password. Must be at least 8 chars.", + "default": "", + "x-example": null + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "default": "", + "x-example": "<NAME>" + } + }, + "required": [ + "userId" + ] + } + } + ] + } + }, + "\/users\/argon2": { + "post": { + "summary": "Create user with Argon2 password", + "operationId": "usersCreateArgon2User", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Create a new user. Password provided must be hashed with the [Argon2](https:\/\/en.wikipedia.org\/wiki\/Argon2) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.", + "responses": { + "201": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "createArgon2User", + "group": "users", + "weight": 234, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-argon2user.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-argon2-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password hashed using Argon2.", + "default": null, + "x-example": "password" + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "default": "", + "x-example": "<NAME>" + } + }, + "required": [ + "userId", + "email", + "password" + ] + } + } + ] + } + }, + "\/users\/bcrypt": { + "post": { + "summary": "Create user with bcrypt password", + "operationId": "usersCreateBcryptUser", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Create a new user. Password provided must be hashed with the [Bcrypt](https:\/\/en.wikipedia.org\/wiki\/Bcrypt) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.", + "responses": { + "201": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "createBcryptUser", + "group": "users", + "weight": 232, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-bcrypt-user.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-bcrypt-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password hashed using Bcrypt.", + "default": null, + "x-example": "password" + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "default": "", + "x-example": "<NAME>" + } + }, + "required": [ + "userId", + "email", + "password" + ] + } + } + ] + } + }, + "\/users\/identities": { + "get": { + "summary": "List identities", + "operationId": "usersListIdentities", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Get identities for all users.", + "responses": { + "200": { + "description": "Identities List", + "schema": { + "$ref": "#\/definitions\/identityList" + } + } + }, + "x-appwrite": { + "method": "listIdentities", + "group": "identities", + "weight": 248, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/list-identities.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-identities.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, provider, providerUid, providerEmail, providerAccessTokenExpiry", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + } + }, + "\/users\/identities\/{identityId}": { + "delete": { + "summary": "Delete identity", + "operationId": "usersDeleteIdentity", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "users" + ], + "description": "Delete an identity by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteIdentity", + "group": "identities", + "weight": 271, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/delete-identity.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-identity.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "identityId", + "description": "Identity ID.", + "required": true, + "type": "string", + "x-example": "<IDENTITY_ID>", + "in": "path" + } + ] + } + }, + "\/users\/md5": { + "post": { + "summary": "Create user with MD5 password", + "operationId": "usersCreateMD5User", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Create a new user. Password provided must be hashed with the [MD5](https:\/\/en.wikipedia.org\/wiki\/MD5) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.", + "responses": { + "201": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "createMD5User", + "group": "users", + "weight": 233, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-m-d5user.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-md5-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password hashed using MD5.", + "default": null, + "x-example": "password" + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "default": "", + "x-example": "<NAME>" + } + }, + "required": [ + "userId", + "email", + "password" + ] + } + } + ] + } + }, + "\/users\/phpass": { + "post": { + "summary": "Create user with PHPass password", + "operationId": "usersCreatePHPassUser", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Create a new user. Password provided must be hashed with the [PHPass](https:\/\/www.openwall.com\/phpass\/) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.", + "responses": { + "201": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "createPHPassUser", + "group": "users", + "weight": 236, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-p-h-pass-user.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-phpass-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or pass the string `ID.unique()`to auto generate it. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password hashed using PHPass.", + "default": null, + "x-example": "password" + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "default": "", + "x-example": "<NAME>" + } + }, + "required": [ + "userId", + "email", + "password" + ] + } + } + ] + } + }, + "\/users\/scrypt": { + "post": { + "summary": "Create user with Scrypt password", + "operationId": "usersCreateScryptUser", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Create a new user. Password provided must be hashed with the [Scrypt](https:\/\/github.com\/Tarsnap\/scrypt) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.", + "responses": { + "201": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "createScryptUser", + "group": "users", + "weight": 237, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-scrypt-user.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-scrypt-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password hashed using Scrypt.", + "default": null, + "x-example": "password" + }, + "passwordSalt": { + "type": "string", + "description": "Optional salt used to hash password.", + "default": null, + "x-example": "<PASSWORD_SALT>" + }, + "passwordCpu": { + "type": "integer", + "description": "Optional CPU cost used to hash password.", + "default": null, + "x-example": null + }, + "passwordMemory": { + "type": "integer", + "description": "Optional memory cost used to hash password.", + "default": null, + "x-example": null + }, + "passwordParallel": { + "type": "integer", + "description": "Optional parallelization cost used to hash password.", + "default": null, + "x-example": null + }, + "passwordLength": { + "type": "integer", + "description": "Optional hash length used to hash password.", + "default": null, + "x-example": null + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "default": "", + "x-example": "<NAME>" + } + }, + "required": [ + "userId", + "email", + "password", + "passwordSalt", + "passwordCpu", + "passwordMemory", + "passwordParallel", + "passwordLength" + ] + } + } + ] + } + }, + "\/users\/scrypt-modified": { + "post": { + "summary": "Create user with Scrypt modified password", + "operationId": "usersCreateScryptModifiedUser", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Create a new user. Password provided must be hashed with the [Scrypt Modified](https:\/\/gist.github.com\/Meldiron\/eecf84a0225eccb5a378d45bb27462cc) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.", + "responses": { + "201": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "createScryptModifiedUser", + "group": "users", + "weight": 238, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-scrypt-modified-user.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-scrypt-modified-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password hashed using Scrypt Modified.", + "default": null, + "x-example": "password" + }, + "passwordSalt": { + "type": "string", + "description": "Salt used to hash password.", + "default": null, + "x-example": "<PASSWORD_SALT>" + }, + "passwordSaltSeparator": { + "type": "string", + "description": "Salt separator used to hash password.", + "default": null, + "x-example": "<PASSWORD_SALT_SEPARATOR>" + }, + "passwordSignerKey": { + "type": "string", + "description": "Signer key used to hash password.", + "default": null, + "x-example": "<PASSWORD_SIGNER_KEY>" + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "default": "", + "x-example": "<NAME>" + } + }, + "required": [ + "userId", + "email", + "password", + "passwordSalt", + "passwordSaltSeparator", + "passwordSignerKey" + ] + } + } + ] + } + }, + "\/users\/sha": { + "post": { + "summary": "Create user with SHA password", + "operationId": "usersCreateSHAUser", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Create a new user. Password provided must be hashed with the [SHA](https:\/\/en.wikipedia.org\/wiki\/Secure_Hash_Algorithm) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.", + "responses": { + "201": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "createSHAUser", + "group": "users", + "weight": 235, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-s-h-a-user.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-sha-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password hashed using SHA.", + "default": null, + "x-example": "password" + }, + "passwordVersion": { + "type": "string", + "description": "Optional SHA version used to hash password. Allowed values are: 'sha1', 'sha224', 'sha256', 'sha384', 'sha512\/224', 'sha512\/256', 'sha512', 'sha3-224', 'sha3-256', 'sha3-384', 'sha3-512'", + "default": "", + "x-example": "sha1", + "enum": [ + "sha1", + "sha224", + "sha256", + "sha384", + "sha512\/224", + "sha512\/256", + "sha512", + "sha3-224", + "sha3-256", + "sha3-384", + "sha3-512" + ], + "x-enum-name": "PasswordHash", + "x-enum-keys": [] + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "default": "", + "x-example": "<NAME>" + } + }, + "required": [ + "userId", + "email", + "password" + ] + } + } + ] + } + }, + "\/users\/usage": { + "get": { + "summary": "Get users usage stats", + "operationId": "usersGetUsage", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Get usage metrics and statistics for all users in the project. You can view the total number of users and sessions. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days.\n", + "responses": { + "200": { + "description": "UsageUsers", + "schema": { + "$ref": "#\/definitions\/usageUsers" + } + } + }, + "x-appwrite": { + "method": "getUsage", + "group": null, + "weight": 273, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/get-usage.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-usage.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "range", + "description": "Date range.", + "required": false, + "type": "string", + "x-example": "24h", + "enum": [ + "24h", + "30d", + "90d" + ], + "x-enum-name": "UserUsageRange", + "x-enum-keys": [ + "Twenty Four Hours", + "Thirty Days", + "Ninety Days" + ], + "default": "30d", + "in": "query" + } + ] + } + }, + "\/users\/{userId}": { + "get": { + "summary": "Get user", + "operationId": "usersGet", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Get a user by its unique ID.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "get", + "group": "users", + "weight": 241, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete user", + "operationId": "usersDelete", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "users" + ], + "description": "Delete a user by its unique ID, thereby releasing it's ID. Since ID is released and can be reused, all user-related resources like documents or storage files should be deleted before user deletion. If you want to keep ID reserved, use the [updateStatus](https:\/\/appwrite.io\/docs\/server\/users#usersUpdateStatus) endpoint instead.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "delete", + "group": "users", + "weight": 269, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/delete.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + } + ] + } + }, + "\/users\/{userId}\/email": { + "patch": { + "summary": "Update email", + "operationId": "usersUpdateEmail", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Update the user email by its unique ID.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updateEmail", + "group": "users", + "weight": 254, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-email.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-email.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + } + }, + "required": [ + "email" + ] + } + } + ] + } + }, + "\/users\/{userId}\/jwts": { + "post": { + "summary": "Create user JWT", + "operationId": "usersCreateJWT", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Use this endpoint to create a JSON Web Token for user by its unique ID. You can use the resulting JWT to authenticate on behalf of the user. The JWT secret will become invalid if the session it uses gets deleted.", + "responses": { + "201": { + "description": "JWT", + "schema": { + "$ref": "#\/definitions\/jwt" + } + } + }, + "x-appwrite": { + "method": "createJWT", + "group": "sessions", + "weight": 272, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-j-w-t.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-user-jwt.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "sessionId": { + "type": "string", + "description": "Session ID. Use the string 'recent' to use the most recent session. Defaults to the most recent session.", + "default": "", + "x-example": "<SESSION_ID>" + }, + "duration": { + "type": "integer", + "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", + "default": 900, + "x-example": 0 + } + } + } + } + ] + } + }, + "\/users\/{userId}\/labels": { + "put": { + "summary": "Update user labels", + "operationId": "usersUpdateLabels", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Update the user labels by its unique ID. \n\nLabels can be used to grant access to resources. While teams are a way for user's to share access to a resource, labels can be defined by the developer to grant access without an invitation. See the [Permissions docs](https:\/\/appwrite.io\/docs\/permissions) for more info.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updateLabels", + "group": "users", + "weight": 250, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-labels.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-labels.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "labels": { + "type": "array", + "description": "Array of user labels. Replaces the previous labels. Maximum of 1000 labels are allowed, each up to 36 alphanumeric characters long.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + } + }, + "required": [ + "labels" + ] + } + } + ] + } + }, + "\/users\/{userId}\/logs": { + "get": { + "summary": "List user logs", + "operationId": "usersListLogs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Get the user activity logs list by its unique ID.", + "responses": { + "200": { + "description": "Logs List", + "schema": { + "$ref": "#\/definitions\/logList" + } + } + }, + "x-appwrite": { + "method": "listLogs", + "group": "logs", + "weight": 246, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/list-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + } + }, + "\/users\/{userId}\/memberships": { + "get": { + "summary": "List user memberships", + "operationId": "usersListMemberships", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Get the user membership list by its unique ID.", + "responses": { + "200": { + "description": "Memberships List", + "schema": { + "$ref": "#\/definitions\/membershipList" + } + } + }, + "x-appwrite": { + "method": "listMemberships", + "group": "memberships", + "weight": 245, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/list-memberships.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-memberships.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + } + ] + } + }, + "\/users\/{userId}\/mfa": { + "patch": { + "summary": "Update MFA", + "operationId": "usersUpdateMfa", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Enable or disable MFA on a user account.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updateMfa", + "group": "users", + "weight": 259, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-mfa.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-mfa.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "mfa": { + "type": "boolean", + "description": "Enable or disable MFA.", + "default": null, + "x-example": false + } + }, + "required": [ + "mfa" + ] + } + } + ] + } + }, + "\/users\/{userId}\/mfa\/authenticators\/{type}": { + "delete": { + "summary": "Delete authenticator", + "operationId": "usersDeleteMfaAuthenticator", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "users" + ], + "description": "Delete an authenticator app.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteMfaAuthenticator", + "group": "mfa", + "weight": 264, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/delete-mfa-authenticator.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-mfa-authenticator.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "type", + "description": "Type of authenticator.", + "required": true, + "type": "string", + "x-example": "totp", + "enum": [ + "totp" + ], + "x-enum-name": "AuthenticatorType", + "x-enum-keys": [], + "in": "path" + } + ] + } + }, + "\/users\/{userId}\/mfa\/factors": { + "get": { + "summary": "List factors", + "operationId": "usersListMfaFactors", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "List the factors available on the account to be used as a MFA challange.", + "responses": { + "200": { + "description": "MFAFactors", + "schema": { + "$ref": "#\/definitions\/mfaFactors" + } + } + }, + "x-appwrite": { + "method": "listMfaFactors", + "group": "mfa", + "weight": 260, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/list-mfa-factors.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-mfa-factors.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + } + ] + } + }, + "\/users\/{userId}\/mfa\/recovery-codes": { + "get": { + "summary": "Get MFA recovery codes", + "operationId": "usersGetMfaRecoveryCodes", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Get recovery codes that can be used as backup for MFA flow by User ID. Before getting codes, they must be generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method.", + "responses": { + "200": { + "description": "MFA Recovery Codes", + "schema": { + "$ref": "#\/definitions\/mfaRecoveryCodes" + } + } + }, + "x-appwrite": { + "method": "getMfaRecoveryCodes", + "group": "mfa", + "weight": 261, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/get-mfa-recovery-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-mfa-recovery-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + } + ] + }, + "put": { + "summary": "Update MFA recovery codes (regenerate)", + "operationId": "usersUpdateMfaRecoveryCodes", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Regenerate recovery codes that can be used as backup for MFA flow by User ID. Before regenerating codes, they must be first generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method.", + "responses": { + "200": { + "description": "MFA Recovery Codes", + "schema": { + "$ref": "#\/definitions\/mfaRecoveryCodes" + } + } + }, + "x-appwrite": { + "method": "updateMfaRecoveryCodes", + "group": "mfa", + "weight": 263, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-mfa-recovery-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-mfa-recovery-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + } + ] + }, + "patch": { + "summary": "Create MFA recovery codes", + "operationId": "usersCreateMfaRecoveryCodes", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Generate recovery codes used as backup for MFA flow for User ID. Recovery codes can be used as a MFA verification type in [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method by client SDK.", + "responses": { + "201": { + "description": "MFA Recovery Codes", + "schema": { + "$ref": "#\/definitions\/mfaRecoveryCodes" + } + } + }, + "x-appwrite": { + "method": "createMfaRecoveryCodes", + "group": "mfa", + "weight": 262, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-mfa-recovery-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-mfa-recovery-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + } + ] + } + }, + "\/users\/{userId}\/name": { + "patch": { + "summary": "Update name", + "operationId": "usersUpdateName", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Update the user name by its unique ID.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updateName", + "group": "users", + "weight": 252, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-name.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-name.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "default": null, + "x-example": "<NAME>" + } + }, + "required": [ + "name" + ] + } + } + ] + } + }, + "\/users\/{userId}\/password": { + "patch": { + "summary": "Update password", + "operationId": "usersUpdatePassword", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Update the user password by its unique ID.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updatePassword", + "group": "users", + "weight": 253, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-password.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-password.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "password": { + "type": "string", + "description": "New user password. Must be at least 8 chars.", + "default": null, + "x-example": null + } + }, + "required": [ + "password" + ] + } + } + ] + } + }, + "\/users\/{userId}\/phone": { + "patch": { + "summary": "Update phone", + "operationId": "usersUpdatePhone", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Update the user phone by its unique ID.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updatePhone", + "group": "users", + "weight": 255, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-phone.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-phone.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "number": { + "type": "string", + "description": "User phone number.", + "default": null, + "x-example": "+12065550100" + } + }, + "required": [ + "number" + ] + } + } + ] + } + }, + "\/users\/{userId}\/prefs": { + "get": { + "summary": "Get user preferences", + "operationId": "usersGetPrefs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Get the user preferences by its unique ID.", + "responses": { + "200": { + "description": "Preferences", + "schema": { + "$ref": "#\/definitions\/preferences" + } + } + }, + "x-appwrite": { + "method": "getPrefs", + "group": "users", + "weight": 242, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/get-prefs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user-prefs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + } + ] + }, + "patch": { + "summary": "Update user preferences", + "operationId": "usersUpdatePrefs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Update the user preferences by its unique ID. The object you pass is stored as is, and replaces any previous value. The maximum allowed prefs size is 64kB and throws error if exceeded.", + "responses": { + "200": { + "description": "Preferences", + "schema": { + "$ref": "#\/definitions\/preferences" + } + } + }, + "x-appwrite": { + "method": "updatePrefs", + "group": "users", + "weight": 257, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-prefs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-prefs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "prefs": { + "type": "object", + "description": "Prefs key-value JSON object.", + "default": {}, + "x-example": "{}" + } + }, + "required": [ + "prefs" + ] + } + } + ] + } + }, + "\/users\/{userId}\/sessions": { + "get": { + "summary": "List user sessions", + "operationId": "usersListSessions", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Get the user sessions list by its unique ID.", + "responses": { + "200": { + "description": "Sessions List", + "schema": { + "$ref": "#\/definitions\/sessionList" + } + } + }, + "x-appwrite": { + "method": "listSessions", + "group": "sessions", + "weight": 244, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/list-sessions.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-sessions.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + } + ] + }, + "post": { + "summary": "Create session", + "operationId": "usersCreateSession", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Creates a session for a user. Returns an immediately usable session object.\n\nIf you want to generate a token for a custom authentication flow, use the [POST \/users\/{userId}\/tokens](https:\/\/appwrite.io\/docs\/server\/users#createToken) endpoint.", + "responses": { + "201": { + "description": "Session", + "schema": { + "$ref": "#\/definitions\/session" + } + } + }, + "x-appwrite": { + "method": "createSession", + "group": "sessions", + "weight": 265, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-session.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete user sessions", + "operationId": "usersDeleteSessions", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "users" + ], + "description": "Delete all user's sessions by using the user's unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteSessions", + "group": "sessions", + "weight": 268, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/delete-sessions.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-user-sessions.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + } + ] + } + }, + "\/users\/{userId}\/sessions\/{sessionId}": { + "delete": { + "summary": "Delete user session", + "operationId": "usersDeleteSession", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "users" + ], + "description": "Delete a user sessions by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteSession", + "group": "sessions", + "weight": 267, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/delete-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-user-session.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "sessionId", + "description": "Session ID.", + "required": true, + "type": "string", + "x-example": "<SESSION_ID>", + "in": "path" + } + ] + } + }, + "\/users\/{userId}\/status": { + "patch": { + "summary": "Update user status", + "operationId": "usersUpdateStatus", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Update the user status by its unique ID. Use this endpoint as an alternative to deleting a user if you want to keep user's ID reserved.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updateStatus", + "group": "users", + "weight": 249, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-status.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-status.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "status": { + "type": "boolean", + "description": "User Status. To activate the user pass `true` and to block the user pass `false`.", + "default": null, + "x-example": false + } + }, + "required": [ + "status" + ] + } + } + ] + } + }, + "\/users\/{userId}\/targets": { + "get": { + "summary": "List user targets", + "operationId": "usersListTargets", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "List the messaging targets that are associated with a user.", + "responses": { + "200": { + "description": "Target list", + "schema": { + "$ref": "#\/definitions\/targetList" + } + } + }, + "x-appwrite": { + "method": "listTargets", + "group": "targets", + "weight": 247, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/list-targets.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-targets.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "targets.read", + "platforms": [ + "server", + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, email, phone, status, passwordUpdate, registration, emailVerification, phoneVerification, labels", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + }, + "post": { + "summary": "Create user target", + "operationId": "usersCreateTarget", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Create a messaging target.", + "responses": { + "201": { + "description": "Target", + "schema": { + "$ref": "#\/definitions\/target" + } + } + }, + "x-appwrite": { + "method": "createTarget", + "group": "targets", + "weight": 239, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-target.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-target.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "targets.write", + "platforms": [ + "server", + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "targetId": { + "type": "string", + "description": "Target ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<TARGET_ID>" + }, + "providerType": { + "type": "string", + "description": "The target provider type. Can be one of the following: `email`, `sms` or `push`.", + "default": null, + "x-example": "email", + "enum": [ + "email", + "sms", + "push" + ], + "x-enum-name": "MessagingProviderType", + "x-enum-keys": [] + }, + "identifier": { + "type": "string", + "description": "The target identifier (token, email, phone etc.)", + "default": null, + "x-example": "<IDENTIFIER>" + }, + "providerId": { + "type": "string", + "description": "Provider ID. Message will be sent to this target from the specified provider ID. If no provider ID is set the first setup provider will be used.", + "default": "", + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Target name. Max length: 128 chars. For example: My Awesome App Galaxy S23.", + "default": "", + "x-example": "<NAME>" + } + }, + "required": [ + "targetId", + "providerType", + "identifier" + ] + } + } + ] + } + }, + "\/users\/{userId}\/targets\/{targetId}": { + "get": { + "summary": "Get user target", + "operationId": "usersGetTarget", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Get a user's push notification target by ID.", + "responses": { + "200": { + "description": "Target", + "schema": { + "$ref": "#\/definitions\/target" + } + } + }, + "x-appwrite": { + "method": "getTarget", + "group": "targets", + "weight": 243, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/get-target.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user-target.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "targets.read", + "platforms": [ + "server", + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "targetId", + "description": "Target ID.", + "required": true, + "type": "string", + "x-example": "<TARGET_ID>", + "in": "path" + } + ] + }, + "patch": { + "summary": "Update user target", + "operationId": "usersUpdateTarget", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Update a messaging target.", + "responses": { + "200": { + "description": "Target", + "schema": { + "$ref": "#\/definitions\/target" + } + } + }, + "x-appwrite": { + "method": "updateTarget", + "group": "targets", + "weight": 258, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-target.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-target.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "targets.write", + "platforms": [ + "server", + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "targetId", + "description": "Target ID.", + "required": true, + "type": "string", + "x-example": "<TARGET_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "identifier": { + "type": "string", + "description": "The target identifier (token, email, phone etc.)", + "default": "", + "x-example": "<IDENTIFIER>" + }, + "providerId": { + "type": "string", + "description": "Provider ID. Message will be sent to this target from the specified provider ID. If no provider ID is set the first setup provider will be used.", + "default": "", + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Target name. Max length: 128 chars. For example: My Awesome App Galaxy S23.", + "default": "", + "x-example": "<NAME>" + } + } + } + } + ] + }, + "delete": { + "summary": "Delete user target", + "operationId": "usersDeleteTarget", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "users" + ], + "description": "Delete a messaging target.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteTarget", + "group": "targets", + "weight": 270, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/delete-target.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-target.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "targets.write", + "platforms": [ + "server", + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "targetId", + "description": "Target ID.", + "required": true, + "type": "string", + "x-example": "<TARGET_ID>", + "in": "path" + } + ] + } + }, + "\/users\/{userId}\/tokens": { + "post": { + "summary": "Create token", + "operationId": "usersCreateToken", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Returns a token with a secret key for creating a session. Use the user ID and secret and submit a request to the [PUT \/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process.\n", + "responses": { + "201": { + "description": "Token", + "schema": { + "$ref": "#\/definitions\/token" + } + } + }, + "x-appwrite": { + "method": "createToken", + "group": "sessions", + "weight": 266, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-token.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-token.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "length": { + "type": "integer", + "description": "Token length in characters. The default length is 6 characters", + "default": 6, + "x-example": 4 + }, + "expire": { + "type": "integer", + "description": "Token expiration period in seconds. The default expiration is 15 minutes.", + "default": 900, + "x-example": 60 + } + } + } + } + ] + } + }, + "\/users\/{userId}\/verification": { + "patch": { + "summary": "Update email verification", + "operationId": "usersUpdateEmailVerification", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Update the user email verification status by its unique ID.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updateEmailVerification", + "group": "users", + "weight": 256, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-email-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-email-verification.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "emailVerification": { + "type": "boolean", + "description": "User email verification status.", + "default": null, + "x-example": false + } + }, + "required": [ + "emailVerification" + ] + } + } + ] + } + }, + "\/users\/{userId}\/verification\/phone": { + "patch": { + "summary": "Update phone verification", + "operationId": "usersUpdatePhoneVerification", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Update the user phone verification status by its unique ID.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updatePhoneVerification", + "group": "users", + "weight": 251, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-phone-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-phone-verification.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "phoneVerification": { + "type": "boolean", + "description": "User phone verification status.", + "default": null, + "x-example": false + } + }, + "required": [ + "phoneVerification" + ] + } + } + ] + } + }, + "\/vcs\/github\/installations\/{installationId}\/providerRepositories": { + "get": { + "summary": "List repositories", + "operationId": "vcsListRepositories", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "vcs" + ], + "description": "Get a list of GitHub repositories available through your installation. This endpoint returns repositories with their basic information, detected runtime environments, and latest push dates. You can optionally filter repositories using a search term. Each repository's runtime is automatically detected based on its contents and language statistics. The GitHub installation must be properly configured for this endpoint to work.", + "responses": { + "200": { + "description": "Provider Repositories List", + "schema": { + "$ref": "#\/definitions\/providerRepositoryList" + } + } + }, + "x-appwrite": { + "method": "listRepositories", + "group": "repositories", + "weight": 278, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "vcs\/list-repositories.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/list-repositories.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "vcs.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "installationId", + "description": "Installation Id", + "required": true, + "type": "string", + "x-example": "<INSTALLATION_ID>", + "in": "path" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + }, + "post": { + "summary": "Create repository", + "operationId": "vcsCreateRepository", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "vcs" + ], + "description": "Create a new GitHub repository through your installation. This endpoint allows you to create either a public or private repository by specifying a name and visibility setting. The repository will be created under your GitHub user account or organization, depending on your installation type. The GitHub installation must be properly configured and have the necessary permissions for repository creation.", + "responses": { + "200": { + "description": "ProviderRepository", + "schema": { + "$ref": "#\/definitions\/providerRepository" + } + } + }, + "x-appwrite": { + "method": "createRepository", + "group": "repositories", + "weight": 279, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "vcs\/create-repository.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/create-repository.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "vcs.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "installationId", + "description": "Installation Id", + "required": true, + "type": "string", + "x-example": "<INSTALLATION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Repository name (slug)", + "default": null, + "x-example": "<NAME>" + }, + "private": { + "type": "boolean", + "description": "Mark repository public or private", + "default": null, + "x-example": false + } + }, + "required": [ + "name", + "private" + ] + } + } + ] + } + }, + "\/vcs\/github\/installations\/{installationId}\/providerRepositories\/{providerRepositoryId}": { + "get": { + "summary": "Get repository", + "operationId": "vcsGetRepository", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "vcs" + ], + "description": "Get detailed information about a specific GitHub repository from your installation. This endpoint returns repository details including its ID, name, visibility status, organization, and latest push date. The GitHub installation must be properly configured and have access to the requested repository for this endpoint to work.", + "responses": { + "200": { + "description": "ProviderRepository", + "schema": { + "$ref": "#\/definitions\/providerRepository" + } + } + }, + "x-appwrite": { + "method": "getRepository", + "group": "repositories", + "weight": 280, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "vcs\/get-repository.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/get-repository.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "vcs.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "installationId", + "description": "Installation Id", + "required": true, + "type": "string", + "x-example": "<INSTALLATION_ID>", + "in": "path" + }, + { + "name": "providerRepositoryId", + "description": "Repository Id", + "required": true, + "type": "string", + "x-example": "<PROVIDER_REPOSITORY_ID>", + "in": "path" + } + ] + } + }, + "\/vcs\/github\/installations\/{installationId}\/providerRepositories\/{providerRepositoryId}\/branches": { + "get": { + "summary": "List repository branches", + "operationId": "vcsListRepositoryBranches", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "vcs" + ], + "description": "Get a list of all branches from a GitHub repository in your installation. This endpoint returns the names of all branches in the repository and their total count. The GitHub installation must be properly configured and have access to the requested repository for this endpoint to work.\n", + "responses": { + "200": { + "description": "Branches List", + "schema": { + "$ref": "#\/definitions\/branchList" + } + } + }, + "x-appwrite": { + "method": "listRepositoryBranches", + "group": "repositories", + "weight": 281, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "vcs\/list-repository-branches.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/list-repository-branches.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "vcs.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "installationId", + "description": "Installation Id", + "required": true, + "type": "string", + "x-example": "<INSTALLATION_ID>", + "in": "path" + }, + { + "name": "providerRepositoryId", + "description": "Repository Id", + "required": true, + "type": "string", + "x-example": "<PROVIDER_REPOSITORY_ID>", + "in": "path" + } + ] + } + }, + "\/vcs\/github\/installations\/{installationId}\/providerRepositories\/{providerRepositoryId}\/contents": { + "get": { + "summary": "Get files and directories of a VCS repository", + "operationId": "vcsGetRepositoryContents", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "vcs" + ], + "description": "Get a list of files and directories from a GitHub repository connected to your project. This endpoint returns the contents of a specified repository path, including file names, sizes, and whether each item is a file or directory. The GitHub installation must be properly configured and the repository must be accessible through your installation for this endpoint to work.\n", + "responses": { + "200": { + "description": "VCS Content List", + "schema": { + "$ref": "#\/definitions\/vcsContentList" + } + } + }, + "x-appwrite": { + "method": "getRepositoryContents", + "group": "repositories", + "weight": 276, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "vcs\/get-repository-contents.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/get-repository-contents.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "vcs.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "installationId", + "description": "Installation Id", + "required": true, + "type": "string", + "x-example": "<INSTALLATION_ID>", + "in": "path" + }, + { + "name": "providerRepositoryId", + "description": "Repository Id", + "required": true, + "type": "string", + "x-example": "<PROVIDER_REPOSITORY_ID>", + "in": "path" + }, + { + "name": "providerRootDirectory", + "description": "Path to get contents of nested directory", + "required": false, + "type": "string", + "x-example": "<PROVIDER_ROOT_DIRECTORY>", + "default": "", + "in": "query" + } + ] + } + }, + "\/vcs\/github\/installations\/{installationId}\/providerRepositories\/{providerRepositoryId}\/detection": { + "post": { + "summary": "Create runtime settings detection", + "operationId": "vcsCreateRepositoryDetection", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "vcs" + ], + "description": "Analyze a GitHub repository to automatically detect the programming language and runtime environment. This endpoint scans the repository's files and language statistics to determine the appropriate runtime settings for your function. The GitHub installation must be properly configured and the repository must be accessible through your installation for this endpoint to work.", + "responses": { + "200": { + "description": "Detection", + "schema": { + "$ref": "#\/definitions\/detection" + } + } + }, + "x-appwrite": { + "method": "createRepositoryDetection", + "group": "repositories", + "weight": 277, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "vcs\/create-repository-detection.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/create-repository-detection.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "vcs.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "installationId", + "description": "Installation Id", + "required": true, + "type": "string", + "x-example": "<INSTALLATION_ID>", + "in": "path" + }, + { + "name": "providerRepositoryId", + "description": "Repository Id", + "required": true, + "type": "string", + "x-example": "<PROVIDER_REPOSITORY_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "providerRootDirectory": { + "type": "string", + "description": "Path to Root Directory", + "default": "", + "x-example": "<PROVIDER_ROOT_DIRECTORY>" + } + } + } + } + ] + } + }, + "\/vcs\/github\/installations\/{installationId}\/repositories\/{repositoryId}": { + "patch": { + "summary": "Update external deployment (authorize)", + "operationId": "vcsUpdateExternalDeployments", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "vcs" + ], + "description": "Authorize and create deployments for a GitHub pull request in your project. This endpoint allows external contributions by creating deployments from pull requests, enabling preview environments for code review. The pull request must be open and not previously authorized. The GitHub installation must be properly configured and have access to both the repository and pull request for this endpoint to work.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "updateExternalDeployments", + "group": "repositories", + "weight": 286, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "vcs\/update-external-deployments.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/update-external-deployments.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "vcs.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "installationId", + "description": "Installation Id", + "required": true, + "type": "string", + "x-example": "<INSTALLATION_ID>", + "in": "path" + }, + { + "name": "repositoryId", + "description": "VCS Repository Id", + "required": true, + "type": "string", + "x-example": "<REPOSITORY_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "providerPullRequestId": { + "type": "string", + "description": "GitHub Pull Request Id", + "default": null, + "x-example": "<PROVIDER_PULL_REQUEST_ID>" + } + }, + "required": [ + "providerPullRequestId" + ] + } + } + ] + } + }, + "\/vcs\/installations": { + "get": { + "summary": "List installations", + "operationId": "vcsListInstallations", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "vcs" + ], + "description": "List all VCS installations configured for the current project. This endpoint returns a list of installations including their provider, organization, and other configuration details.\n", + "responses": { + "200": { + "description": "Installations List", + "schema": { + "$ref": "#\/definitions\/installationList" + } + } + }, + "x-appwrite": { + "method": "listInstallations", + "group": "installations", + "weight": 283, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "vcs\/list-installations.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/list-installations.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "vcs.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: provider, organization", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + } + }, + "\/vcs\/installations\/{installationId}": { + "get": { + "summary": "Get installation", + "operationId": "vcsGetInstallation", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "vcs" + ], + "description": "Get a VCS installation by its unique ID. This endpoint returns the installation's details including its provider, organization, and configuration. ", + "responses": { + "200": { + "description": "Installation", + "schema": { + "$ref": "#\/definitions\/installation" + } + } + }, + "x-appwrite": { + "method": "getInstallation", + "group": "installations", + "weight": 284, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "vcs\/get-installation.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/get-installation.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "vcs.read", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "installationId", + "description": "Installation Id", + "required": true, + "type": "string", + "x-example": "<INSTALLATION_ID>", + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete installation", + "operationId": "vcsDeleteInstallation", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "vcs" + ], + "description": "Delete a VCS installation by its unique ID. This endpoint removes the installation and all its associated repositories from the project.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteInstallation", + "group": "installations", + "weight": 285, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "vcs\/delete-installation.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/vcs\/delete-installation.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "vcs.write", + "platforms": [ + "console" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "installationId", + "description": "Installation Id", + "required": true, + "type": "string", + "x-example": "<INSTALLATION_ID>", + "in": "path" + } + ] + } + } + }, + "tags": [ + { + "name": "account", + "description": "The Account service allows you to authenticate and manage a user account.", + "x-globalAttributes": [] + }, + { + "name": "avatars", + "description": "The Avatars service aims to help you complete everyday tasks related to your app image, icons, and avatars.", + "x-globalAttributes": [] + }, + { + "name": "databases", + "description": "The Databases service allows you to create structured collections of documents, query and filter lists of documents", + "x-globalAttributes": [ + "databaseId" + ] + }, + { + "name": "locale", + "description": "The Locale service allows you to customize your app based on your users' location.", + "x-globalAttributes": [] + }, + { + "name": "health", + "description": "The Health service allows you to both validate and monitor your Appwrite server's health.", + "x-globalAttributes": [] + }, + { + "name": "projects", + "description": "The Project service allows you to manage all the projects in your Appwrite server.", + "x-globalAttributes": [] + }, + { + "name": "project", + "description": "The Project service allows you to manage all the projects in your Appwrite server.", + "x-globalAttributes": [] + }, + { + "name": "storage", + "description": "The Storage service allows you to manage your project files.", + "x-globalAttributes": [] + }, + { + "name": "teams", + "description": "The Teams service allows you to group users of your project and to enable them to share read and write access to your project resources", + "x-globalAttributes": [] + }, + { + "name": "users", + "description": "The Users service allows you to manage your project users.", + "x-globalAttributes": [] + }, + { + "name": "functions", + "description": "The Functions Service allows you view, create and manage your Cloud Functions.", + "x-globalAttributes": [] + }, + { + "name": "proxy", + "description": "The Proxy Service allows you to configure actions for your domains beyond DNS configuration.", + "x-globalAttributes": [] + }, + { + "name": "graphql", + "description": "The GraphQL API allows you to query and mutate your Appwrite server using GraphQL.", + "x-globalAttributes": [] + }, + { + "name": "console", + "description": "The Console service allows you to interact with console relevant informations.", + "x-globalAttributes": [] + }, + { + "name": "migrations", + "description": "The Migrations service allows you to migrate third-party data to your Appwrite project.", + "x-globalAttributes": [] + }, + { + "name": "messaging", + "description": "The Messaging service allows you to send messages to any provider type (SMTP, push notification, SMS, etc.).", + "x-globalAttributes": [] + } + ], + "definitions": { + "any": { + "description": "Any", + "type": "object", + "additionalProperties": true + }, + "documentList": { + "description": "Documents List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of documents documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "documents": { + "type": "array", + "description": "List of documents.", + "items": { + "type": "object", + "$ref": "#\/definitions\/document" + }, + "x-example": "" + } + }, + "required": [ + "total", + "documents" + ] + }, + "collectionList": { + "description": "Collections List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of collections documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "collections": { + "type": "array", + "description": "List of collections.", + "items": { + "type": "object", + "$ref": "#\/definitions\/collection" + }, + "x-example": "" + } + }, + "required": [ + "total", + "collections" + ] + }, + "databaseList": { + "description": "Databases List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of databases documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "databases": { + "type": "array", + "description": "List of databases.", + "items": { + "type": "object", + "$ref": "#\/definitions\/database" + }, + "x-example": "" + } + }, + "required": [ + "total", + "databases" + ] + }, + "indexList": { + "description": "Indexes List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of indexes documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "indexes": { + "type": "array", + "description": "List of indexes.", + "items": { + "type": "object", + "$ref": "#\/definitions\/index" + }, + "x-example": "" + } + }, + "required": [ + "total", + "indexes" + ] + }, + "userList": { + "description": "Users List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of users documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "users": { + "type": "array", + "description": "List of users.", + "items": { + "type": "object", + "$ref": "#\/definitions\/user" + }, + "x-example": "" + } + }, + "required": [ + "total", + "users" + ] + }, + "sessionList": { + "description": "Sessions List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of sessions documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "sessions": { + "type": "array", + "description": "List of sessions.", + "items": { + "type": "object", + "$ref": "#\/definitions\/session" + }, + "x-example": "" + } + }, + "required": [ + "total", + "sessions" + ] + }, + "identityList": { + "description": "Identities List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of identities documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "identities": { + "type": "array", + "description": "List of identities.", + "items": { + "type": "object", + "$ref": "#\/definitions\/identity" + }, + "x-example": "" + } + }, + "required": [ + "total", + "identities" + ] + }, + "logList": { + "description": "Logs List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of logs documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "logs": { + "type": "array", + "description": "List of logs.", + "items": { + "type": "object", + "$ref": "#\/definitions\/log" + }, + "x-example": "" + } + }, + "required": [ + "total", + "logs" + ] + }, + "fileList": { + "description": "Files List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of files documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "files": { + "type": "array", + "description": "List of files.", + "items": { + "type": "object", + "$ref": "#\/definitions\/file" + }, + "x-example": "" + } + }, + "required": [ + "total", + "files" + ] + }, + "bucketList": { + "description": "Buckets List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of buckets documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "buckets": { + "type": "array", + "description": "List of buckets.", + "items": { + "type": "object", + "$ref": "#\/definitions\/bucket" + }, + "x-example": "" + } + }, + "required": [ + "total", + "buckets" + ] + }, + "teamList": { + "description": "Teams List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of teams documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "teams": { + "type": "array", + "description": "List of teams.", + "items": { + "type": "object", + "$ref": "#\/definitions\/team" + }, + "x-example": "" + } + }, + "required": [ + "total", + "teams" + ] + }, + "membershipList": { + "description": "Memberships List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of memberships documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "memberships": { + "type": "array", + "description": "List of memberships.", + "items": { + "type": "object", + "$ref": "#\/definitions\/membership" + }, + "x-example": "" + } + }, + "required": [ + "total", + "memberships" + ] + }, + "functionList": { + "description": "Functions List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of functions documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "functions": { + "type": "array", + "description": "List of functions.", + "items": { + "type": "object", + "$ref": "#\/definitions\/function" + }, + "x-example": "" + } + }, + "required": [ + "total", + "functions" + ] + }, + "templateFunctionList": { + "description": "Function Templates List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of templates documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "templates": { + "type": "array", + "description": "List of templates.", + "items": { + "type": "object", + "$ref": "#\/definitions\/templateFunction" + }, + "x-example": "" + } + }, + "required": [ + "total", + "templates" + ] + }, + "installationList": { + "description": "Installations List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of installations documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "installations": { + "type": "array", + "description": "List of installations.", + "items": { + "type": "object", + "$ref": "#\/definitions\/installation" + }, + "x-example": "" + } + }, + "required": [ + "total", + "installations" + ] + }, + "providerRepositoryList": { + "description": "Provider Repositories List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of providerRepositories documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "providerRepositories": { + "type": "array", + "description": "List of providerRepositories.", + "items": { + "type": "object", + "$ref": "#\/definitions\/providerRepository" + }, + "x-example": "" + } + }, + "required": [ + "total", + "providerRepositories" + ] + }, + "branchList": { + "description": "Branches List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of branches documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "branches": { + "type": "array", + "description": "List of branches.", + "items": { + "type": "object", + "$ref": "#\/definitions\/branch" + }, + "x-example": "" + } + }, + "required": [ + "total", + "branches" + ] + }, + "runtimeList": { + "description": "Runtimes List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of runtimes documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "runtimes": { + "type": "array", + "description": "List of runtimes.", + "items": { + "type": "object", + "$ref": "#\/definitions\/runtime" + }, + "x-example": "" + } + }, + "required": [ + "total", + "runtimes" + ] + }, + "deploymentList": { + "description": "Deployments List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of deployments documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "deployments": { + "type": "array", + "description": "List of deployments.", + "items": { + "type": "object", + "$ref": "#\/definitions\/deployment" + }, + "x-example": "" + } + }, + "required": [ + "total", + "deployments" + ] + }, + "executionList": { + "description": "Executions List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of executions documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "executions": { + "type": "array", + "description": "List of executions.", + "items": { + "type": "object", + "$ref": "#\/definitions\/execution" + }, + "x-example": "" + } + }, + "required": [ + "total", + "executions" + ] + }, + "projectList": { + "description": "Projects List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of projects documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "projects": { + "type": "array", + "description": "List of projects.", + "items": { + "type": "object", + "$ref": "#\/definitions\/project" + }, + "x-example": "" + } + }, + "required": [ + "total", + "projects" + ] + }, + "webhookList": { + "description": "Webhooks List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of webhooks documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "webhooks": { + "type": "array", + "description": "List of webhooks.", + "items": { + "type": "object", + "$ref": "#\/definitions\/webhook" + }, + "x-example": "" + } + }, + "required": [ + "total", + "webhooks" + ] + }, + "keyList": { + "description": "API Keys List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of keys documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "keys": { + "type": "array", + "description": "List of keys.", + "items": { + "type": "object", + "$ref": "#\/definitions\/key" + }, + "x-example": "" + } + }, + "required": [ + "total", + "keys" + ] + }, + "platformList": { + "description": "Platforms List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of platforms documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "platforms": { + "type": "array", + "description": "List of platforms.", + "items": { + "type": "object", + "$ref": "#\/definitions\/platform" + }, + "x-example": "" + } + }, + "required": [ + "total", + "platforms" + ] + }, + "countryList": { + "description": "Countries List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of countries documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "countries": { + "type": "array", + "description": "List of countries.", + "items": { + "type": "object", + "$ref": "#\/definitions\/country" + }, + "x-example": "" + } + }, + "required": [ + "total", + "countries" + ] + }, + "continentList": { + "description": "Continents List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of continents documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "continents": { + "type": "array", + "description": "List of continents.", + "items": { + "type": "object", + "$ref": "#\/definitions\/continent" + }, + "x-example": "" + } + }, + "required": [ + "total", + "continents" + ] + }, + "languageList": { + "description": "Languages List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of languages documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "languages": { + "type": "array", + "description": "List of languages.", + "items": { + "type": "object", + "$ref": "#\/definitions\/language" + }, + "x-example": "" + } + }, + "required": [ + "total", + "languages" + ] + }, + "currencyList": { + "description": "Currencies List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of currencies documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "currencies": { + "type": "array", + "description": "List of currencies.", + "items": { + "type": "object", + "$ref": "#\/definitions\/currency" + }, + "x-example": "" + } + }, + "required": [ + "total", + "currencies" + ] + }, + "phoneList": { + "description": "Phones List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of phones documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "phones": { + "type": "array", + "description": "List of phones.", + "items": { + "type": "object", + "$ref": "#\/definitions\/phone" + }, + "x-example": "" + } + }, + "required": [ + "total", + "phones" + ] + }, + "variableList": { + "description": "Variables List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of variables documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "variables": { + "type": "array", + "description": "List of variables.", + "items": { + "type": "object", + "$ref": "#\/definitions\/variable" + }, + "x-example": "" + } + }, + "required": [ + "total", + "variables" + ] + }, + "proxyRuleList": { + "description": "Rule List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of rules documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "rules": { + "type": "array", + "description": "List of rules.", + "items": { + "type": "object", + "$ref": "#\/definitions\/proxyRule" + }, + "x-example": "" + } + }, + "required": [ + "total", + "rules" + ] + }, + "localeCodeList": { + "description": "Locale codes list", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of localeCodes documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "localeCodes": { + "type": "array", + "description": "List of localeCodes.", + "items": { + "type": "object", + "$ref": "#\/definitions\/localeCode" + }, + "x-example": "" + } + }, + "required": [ + "total", + "localeCodes" + ] + }, + "providerList": { + "description": "Provider list", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of providers documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "providers": { + "type": "array", + "description": "List of providers.", + "items": { + "type": "object", + "$ref": "#\/definitions\/provider" + }, + "x-example": "" + } + }, + "required": [ + "total", + "providers" + ] + }, + "messageList": { + "description": "Message list", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of messages documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "messages": { + "type": "array", + "description": "List of messages.", + "items": { + "type": "object", + "$ref": "#\/definitions\/message" + }, + "x-example": "" + } + }, + "required": [ + "total", + "messages" + ] + }, + "topicList": { + "description": "Topic list", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of topics documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "topics": { + "type": "array", + "description": "List of topics.", + "items": { + "type": "object", + "$ref": "#\/definitions\/topic" + }, + "x-example": "" + } + }, + "required": [ + "total", + "topics" + ] + }, + "subscriberList": { + "description": "Subscriber list", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of subscribers documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "subscribers": { + "type": "array", + "description": "List of subscribers.", + "items": { + "type": "object", + "$ref": "#\/definitions\/subscriber" + }, + "x-example": "" + } + }, + "required": [ + "total", + "subscribers" + ] + }, + "targetList": { + "description": "Target list", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of targets documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "targets": { + "type": "array", + "description": "List of targets.", + "items": { + "type": "object", + "$ref": "#\/definitions\/target" + }, + "x-example": "" + } + }, + "required": [ + "total", + "targets" + ] + }, + "migrationList": { + "description": "Migrations List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of migrations documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "migrations": { + "type": "array", + "description": "List of migrations.", + "items": { + "type": "object", + "$ref": "#\/definitions\/migration" + }, + "x-example": "" + } + }, + "required": [ + "total", + "migrations" + ] + }, + "specificationList": { + "description": "Specifications List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of specifications documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "specifications": { + "type": "array", + "description": "List of specifications.", + "items": { + "type": "object", + "$ref": "#\/definitions\/specification" + }, + "x-example": "" + } + }, + "required": [ + "total", + "specifications" + ] + }, + "vcsContentList": { + "description": "VCS Content List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of contents documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "contents": { + "type": "array", + "description": "List of contents.", + "items": { + "type": "object", + "$ref": "#\/definitions\/vcsContent" + }, + "x-example": "" + } + }, + "required": [ + "total", + "contents" + ] + }, + "database": { + "description": "Database", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Database ID.", + "x-example": "5e5ea5c16897e" + }, + "name": { + "type": "string", + "description": "Database name.", + "x-example": "My Database" + }, + "$createdAt": { + "type": "string", + "description": "Database creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Database update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "enabled": { + "type": "boolean", + "description": "If database is enabled. Can be 'enabled' or 'disabled'. When disabled, the database is inaccessible to users, but remains accessible to Server SDKs using API keys.", + "x-example": false + } + }, + "required": [ + "$id", + "name", + "$createdAt", + "$updatedAt", + "enabled" + ] + }, + "collection": { + "description": "Collection", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Collection ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Collection creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Collection update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$permissions": { + "type": "array", + "description": "Collection permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "items": { + "type": "string" + }, + "x-example": [ + "read(\"any\")" + ] + }, + "databaseId": { + "type": "string", + "description": "Database ID.", + "x-example": "5e5ea5c16897e" + }, + "name": { + "type": "string", + "description": "Collection name.", + "x-example": "My Collection" + }, + "enabled": { + "type": "boolean", + "description": "Collection enabled. Can be 'enabled' or 'disabled'. When disabled, the collection is inaccessible to users, but remains accessible to Server SDKs using API keys.", + "x-example": false + }, + "documentSecurity": { + "type": "boolean", + "description": "Whether document-level permissions are enabled. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": true + }, + "attributes": { + "type": "array", + "description": "Collection attributes.", + "items": { + "x-anyOf": [ + { + "$ref": "#\/definitions\/attributeBoolean" + }, + { + "$ref": "#\/definitions\/attributeInteger" + }, + { + "$ref": "#\/definitions\/attributeFloat" + }, + { + "$ref": "#\/definitions\/attributeEmail" + }, + { + "$ref": "#\/definitions\/attributeEnum" + }, + { + "$ref": "#\/definitions\/attributeUrl" + }, + { + "$ref": "#\/definitions\/attributeIp" + }, + { + "$ref": "#\/definitions\/attributeDatetime" + }, + { + "$ref": "#\/definitions\/attributeRelationship" + }, + { + "$ref": "#\/definitions\/attributeString" + } + ] + }, + "x-example": {} + }, + "indexes": { + "type": "array", + "description": "Collection indexes.", + "items": { + "type": "object", + "$ref": "#\/definitions\/index" + }, + "x-example": {} + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "$permissions", + "databaseId", + "name", + "enabled", + "documentSecurity", + "attributes", + "indexes" + ] + }, + "attributeList": { + "description": "Attributes List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of attributes in the given collection.", + "x-example": 5, + "format": "int32" + }, + "attributes": { + "type": "array", + "description": "List of attributes.", + "items": { + "x-anyOf": [ + { + "$ref": "#\/definitions\/attributeBoolean" + }, + { + "$ref": "#\/definitions\/attributeInteger" + }, + { + "$ref": "#\/definitions\/attributeFloat" + }, + { + "$ref": "#\/definitions\/attributeEmail" + }, + { + "$ref": "#\/definitions\/attributeEnum" + }, + { + "$ref": "#\/definitions\/attributeUrl" + }, + { + "$ref": "#\/definitions\/attributeIp" + }, + { + "$ref": "#\/definitions\/attributeDatetime" + }, + { + "$ref": "#\/definitions\/attributeRelationship" + }, + { + "$ref": "#\/definitions\/attributeString" + } + ] + }, + "x-example": "" + } + }, + "required": [ + "total", + "attributes" + ] + }, + "attributeString": { + "description": "AttributeString", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "fullName" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "string" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "x-nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "size": { + "type": "integer", + "description": "Attribute size.", + "x-example": 128, + "format": "int32" + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "default", + "x-nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt", + "size" + ] + }, + "attributeInteger": { + "description": "AttributeInteger", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "count" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "integer" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "x-nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "min": { + "type": "integer", + "description": "Minimum value to enforce for new documents.", + "x-example": 1, + "format": "int32", + "x-nullable": true + }, + "max": { + "type": "integer", + "description": "Maximum value to enforce for new documents.", + "x-example": 10, + "format": "int32", + "x-nullable": true + }, + "default": { + "type": "integer", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": 10, + "format": "int32", + "x-nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt" + ] + }, + "attributeFloat": { + "description": "AttributeFloat", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "percentageCompleted" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "double" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "x-nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "min": { + "type": "number", + "description": "Minimum value to enforce for new documents.", + "x-example": 1.5, + "format": "double", + "x-nullable": true + }, + "max": { + "type": "number", + "description": "Maximum value to enforce for new documents.", + "x-example": 10.5, + "format": "double", + "x-nullable": true + }, + "default": { + "type": "number", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": 2.5, + "format": "double", + "x-nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt" + ] + }, + "attributeBoolean": { + "description": "AttributeBoolean", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "isEnabled" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "boolean" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "x-nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "default": { + "type": "boolean", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": false, + "x-nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt" + ] + }, + "attributeEmail": { + "description": "AttributeEmail", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "userEmail" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "string" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "x-nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "format": { + "type": "string", + "description": "String format.", + "x-example": "email" + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "default@example.com", + "x-nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt", + "format" + ] + }, + "attributeEnum": { + "description": "AttributeEnum", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "status" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "string" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "x-nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "elements": { + "type": "array", + "description": "Array of elements in enumerated type.", + "items": { + "type": "string" + }, + "x-example": "element" + }, + "format": { + "type": "string", + "description": "String format.", + "x-example": "enum" + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "element", + "x-nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt", + "elements", + "format" + ] + }, + "attributeIp": { + "description": "AttributeIP", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "ipAddress" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "string" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "x-nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "format": { + "type": "string", + "description": "String format.", + "x-example": "ip" + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "192.0.2.0", + "x-nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt", + "format" + ] + }, + "attributeUrl": { + "description": "AttributeURL", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "githubUrl" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "string" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "x-nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "format": { + "type": "string", + "description": "String format.", + "x-example": "url" + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "http:\/\/example.com", + "x-nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt", + "format" + ] + }, + "attributeDatetime": { + "description": "AttributeDatetime", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "birthDay" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "datetime" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "x-nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "format": { + "type": "string", + "description": "ISO 8601 format.", + "x-example": "datetime" + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Only null is optional", + "x-example": "2020-10-15T06:38:00.000+00:00", + "x-nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt", + "format" + ] + }, + "attributeRelationship": { + "description": "AttributeRelationship", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "fullName" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "string" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "x-nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "relatedCollection": { + "type": "string", + "description": "The ID of the related collection.", + "x-example": "collection" + }, + "relationType": { + "type": "string", + "description": "The type of the relationship.", + "x-example": "oneToOne|oneToMany|manyToOne|manyToMany" + }, + "twoWay": { + "type": "boolean", + "description": "Is the relationship two-way?", + "x-example": false + }, + "twoWayKey": { + "type": "string", + "description": "The key of the two-way relationship.", + "x-example": "string" + }, + "onDelete": { + "type": "string", + "description": "How deleting the parent document will propagate to child documents.", + "x-example": "restrict|cascade|setNull" + }, + "side": { + "type": "string", + "description": "Whether this is the parent or child side of the relationship", + "x-example": "parent|child" + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt", + "relatedCollection", + "relationType", + "twoWay", + "twoWayKey", + "onDelete", + "side" + ] + }, + "index": { + "description": "Index", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Index Key.", + "x-example": "index1" + }, + "type": { + "type": "string", + "description": "Index type.", + "x-example": "primary" + }, + "status": { + "type": "string", + "description": "Index status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an index.", + "x-example": "string" + }, + "attributes": { + "type": "array", + "description": "Index attributes.", + "items": { + "type": "string" + }, + "x-example": [] + }, + "orders": { + "type": "array", + "description": "Index orders.", + "items": { + "type": "string" + }, + "x-example": [], + "x-nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Index creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Index update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + } + }, + "required": [ + "key", + "type", + "status", + "error", + "attributes", + "$createdAt", + "$updatedAt" + ] + }, + "document": { + "description": "Document", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Document ID.", + "x-example": "5e5ea5c16897e" + }, + "$collectionId": { + "type": "string", + "description": "Collection ID.", + "x-example": "5e5ea5c15117e" + }, + "$databaseId": { + "type": "string", + "description": "Database ID.", + "x-example": "5e5ea5c15117e" + }, + "$createdAt": { + "type": "string", + "description": "Document creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Document update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$permissions": { + "type": "array", + "description": "Document permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "items": { + "type": "string" + }, + "x-example": [ + "read(\"any\")" + ] + } + }, + "additionalProperties": true, + "required": [ + "$id", + "$collectionId", + "$databaseId", + "$createdAt", + "$updatedAt", + "$permissions" + ] + }, + "log": { + "description": "Log", + "type": "object", + "properties": { + "event": { + "type": "string", + "description": "Event name.", + "x-example": "account.sessions.create" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "610fc2f985ee0" + }, + "userEmail": { + "type": "string", + "description": "User Email.", + "x-example": "john@appwrite.io" + }, + "userName": { + "type": "string", + "description": "User Name.", + "x-example": "John Doe" + }, + "mode": { + "type": "string", + "description": "API mode when event triggered.", + "x-example": "admin" + }, + "ip": { + "type": "string", + "description": "IP session in use when the session was created.", + "x-example": "127.0.0.1" + }, + "time": { + "type": "string", + "description": "Log creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "osCode": { + "type": "string", + "description": "Operating system code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/os.json).", + "x-example": "Mac" + }, + "osName": { + "type": "string", + "description": "Operating system name.", + "x-example": "Mac" + }, + "osVersion": { + "type": "string", + "description": "Operating system version.", + "x-example": "Mac" + }, + "clientType": { + "type": "string", + "description": "Client type.", + "x-example": "browser" + }, + "clientCode": { + "type": "string", + "description": "Client code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/clients.json).", + "x-example": "CM" + }, + "clientName": { + "type": "string", + "description": "Client name.", + "x-example": "Chrome Mobile iOS" + }, + "clientVersion": { + "type": "string", + "description": "Client version.", + "x-example": "84.0" + }, + "clientEngine": { + "type": "string", + "description": "Client engine name.", + "x-example": "WebKit" + }, + "clientEngineVersion": { + "type": "string", + "description": "Client engine name.", + "x-example": "605.1.15" + }, + "deviceName": { + "type": "string", + "description": "Device name.", + "x-example": "smartphone" + }, + "deviceBrand": { + "type": "string", + "description": "Device brand name.", + "x-example": "Google" + }, + "deviceModel": { + "type": "string", + "description": "Device model name.", + "x-example": "Nexus 5" + }, + "countryCode": { + "type": "string", + "description": "Country two-character ISO 3166-1 alpha code.", + "x-example": "US" + }, + "countryName": { + "type": "string", + "description": "Country name.", + "x-example": "United States" + } + }, + "required": [ + "event", + "userId", + "userEmail", + "userName", + "mode", + "ip", + "time", + "osCode", + "osName", + "osVersion", + "clientType", + "clientCode", + "clientName", + "clientVersion", + "clientEngine", + "clientEngineVersion", + "deviceName", + "deviceBrand", + "deviceModel", + "countryCode", + "countryName" + ] + }, + "user": { + "description": "User", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "User ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "User creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "User update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "User name.", + "x-example": "John Doe" + }, + "password": { + "type": "string", + "description": "Hashed user password.", + "x-example": "$argon2id$v=19$m=2048,t=4,p=3$aUZjLnliVWRINmFNTWMudg$5S+x+7uA31xFnrHFT47yFwcJeaP0w92L\/4LdgrVRXxE", + "x-nullable": true + }, + "hash": { + "type": "string", + "description": "Password hashing algorithm.", + "x-example": "argon2", + "x-nullable": true + }, + "hashOptions": { + "type": "object", + "description": "Password hashing algorithm configuration.", + "x-example": {}, + "items": { + "x-oneOf": [ + { + "$ref": "#\/definitions\/algoArgon2" + }, + { + "$ref": "#\/definitions\/algoScrypt" + }, + { + "$ref": "#\/definitions\/algoScryptModified" + }, + { + "$ref": "#\/definitions\/algoBcrypt" + }, + { + "$ref": "#\/definitions\/algoPhpass" + }, + { + "$ref": "#\/definitions\/algoSha" + }, + { + "$ref": "#\/definitions\/algoMd5" + } + ] + }, + "x-nullable": true + }, + "registration": { + "type": "string", + "description": "User registration date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "status": { + "type": "boolean", + "description": "User status. Pass `true` for enabled and `false` for disabled.", + "x-example": true + }, + "labels": { + "type": "array", + "description": "Labels for the user.", + "items": { + "type": "string" + }, + "x-example": [ + "vip" + ] + }, + "passwordUpdate": { + "type": "string", + "description": "Password update time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "email": { + "type": "string", + "description": "User email address.", + "x-example": "john@appwrite.io" + }, + "phone": { + "type": "string", + "description": "User phone number in E.164 format.", + "x-example": "+4930901820" + }, + "emailVerification": { + "type": "boolean", + "description": "Email verification status.", + "x-example": true + }, + "phoneVerification": { + "type": "boolean", + "description": "Phone verification status.", + "x-example": true + }, + "mfa": { + "type": "boolean", + "description": "Multi factor authentication status.", + "x-example": true + }, + "prefs": { + "type": "object", + "description": "User preferences as a key-value object", + "x-example": { + "theme": "pink", + "timezone": "UTC" + }, + "items": { + "type": "object", + "$ref": "#\/definitions\/preferences" + } + }, + "targets": { + "type": "array", + "description": "A user-owned message receiver. A single user may have multiple e.g. emails, phones, and a browser. Each target is registered with a single provider.", + "items": { + "type": "object", + "$ref": "#\/definitions\/target" + }, + "x-example": [] + }, + "accessedAt": { + "type": "string", + "description": "Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.", + "x-example": "2020-10-15T06:38:00.000+00:00" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "registration", + "status", + "labels", + "passwordUpdate", + "email", + "phone", + "emailVerification", + "phoneVerification", + "mfa", + "prefs", + "targets", + "accessedAt" + ] + }, + "algoMd5": { + "description": "AlgoMD5", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "md5" + } + }, + "required": [ + "type" + ] + }, + "algoSha": { + "description": "AlgoSHA", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "sha" + } + }, + "required": [ + "type" + ] + }, + "algoPhpass": { + "description": "AlgoPHPass", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "phpass" + } + }, + "required": [ + "type" + ] + }, + "algoBcrypt": { + "description": "AlgoBcrypt", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "bcrypt" + } + }, + "required": [ + "type" + ] + }, + "algoScrypt": { + "description": "AlgoScrypt", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "scrypt" + }, + "costCpu": { + "type": "integer", + "description": "CPU complexity of computed hash.", + "x-example": 8, + "format": "int32" + }, + "costMemory": { + "type": "integer", + "description": "Memory complexity of computed hash.", + "x-example": 14, + "format": "int32" + }, + "costParallel": { + "type": "integer", + "description": "Parallelization of computed hash.", + "x-example": 1, + "format": "int32" + }, + "length": { + "type": "integer", + "description": "Length used to compute hash.", + "x-example": 64, + "format": "int32" + } + }, + "required": [ + "type", + "costCpu", + "costMemory", + "costParallel", + "length" + ] + }, + "algoScryptModified": { + "description": "AlgoScryptModified", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "scryptMod" + }, + "salt": { + "type": "string", + "description": "Salt used to compute hash.", + "x-example": "UxLMreBr6tYyjQ==" + }, + "saltSeparator": { + "type": "string", + "description": "Separator used to compute hash.", + "x-example": "Bw==" + }, + "signerKey": { + "type": "string", + "description": "Key used to compute hash.", + "x-example": "XyEKE9RcTDeLEsL\/RjwPDBv\/RqDl8fb3gpYEOQaPihbxf1ZAtSOHCjuAAa7Q3oHpCYhXSN9tizHgVOwn6krflQ==" + } + }, + "required": [ + "type", + "salt", + "saltSeparator", + "signerKey" + ] + }, + "algoArgon2": { + "description": "AlgoArgon2", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "argon2" + }, + "memoryCost": { + "type": "integer", + "description": "Memory used to compute hash.", + "x-example": 65536, + "format": "int32" + }, + "timeCost": { + "type": "integer", + "description": "Amount of time consumed to compute hash", + "x-example": 4, + "format": "int32" + }, + "threads": { + "type": "integer", + "description": "Number of threads used to compute hash.", + "x-example": 3, + "format": "int32" + } + }, + "required": [ + "type", + "memoryCost", + "timeCost", + "threads" + ] + }, + "preferences": { + "description": "Preferences", + "type": "object", + "additionalProperties": true + }, + "session": { + "description": "Session", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Session ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Session creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Session update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "5e5bb8c16897e" + }, + "expire": { + "type": "string", + "description": "Session expiration date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "provider": { + "type": "string", + "description": "Session Provider.", + "x-example": "email" + }, + "providerUid": { + "type": "string", + "description": "Session Provider User ID.", + "x-example": "user@example.com" + }, + "providerAccessToken": { + "type": "string", + "description": "Session Provider Access Token.", + "x-example": "MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3" + }, + "providerAccessTokenExpiry": { + "type": "string", + "description": "The date of when the access token expires in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "providerRefreshToken": { + "type": "string", + "description": "Session Provider Refresh Token.", + "x-example": "MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3" + }, + "ip": { + "type": "string", + "description": "IP in use when the session was created.", + "x-example": "127.0.0.1" + }, + "osCode": { + "type": "string", + "description": "Operating system code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/os.json).", + "x-example": "Mac" + }, + "osName": { + "type": "string", + "description": "Operating system name.", + "x-example": "Mac" + }, + "osVersion": { + "type": "string", + "description": "Operating system version.", + "x-example": "Mac" + }, + "clientType": { + "type": "string", + "description": "Client type.", + "x-example": "browser" + }, + "clientCode": { + "type": "string", + "description": "Client code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/clients.json).", + "x-example": "CM" + }, + "clientName": { + "type": "string", + "description": "Client name.", + "x-example": "Chrome Mobile iOS" + }, + "clientVersion": { + "type": "string", + "description": "Client version.", + "x-example": "84.0" + }, + "clientEngine": { + "type": "string", + "description": "Client engine name.", + "x-example": "WebKit" + }, + "clientEngineVersion": { + "type": "string", + "description": "Client engine name.", + "x-example": "605.1.15" + }, + "deviceName": { + "type": "string", + "description": "Device name.", + "x-example": "smartphone" + }, + "deviceBrand": { + "type": "string", + "description": "Device brand name.", + "x-example": "Google" + }, + "deviceModel": { + "type": "string", + "description": "Device model name.", + "x-example": "Nexus 5" + }, + "countryCode": { + "type": "string", + "description": "Country two-character ISO 3166-1 alpha code.", + "x-example": "US" + }, + "countryName": { + "type": "string", + "description": "Country name.", + "x-example": "United States" + }, + "current": { + "type": "boolean", + "description": "Returns true if this the current user session.", + "x-example": true + }, + "factors": { + "type": "array", + "description": "Returns a list of active session factors.", + "items": { + "type": "string" + }, + "x-example": [ + "email" + ] + }, + "secret": { + "type": "string", + "description": "Secret used to authenticate the user. Only included if the request was made with an API key", + "x-example": "5e5bb8c16897e" + }, + "mfaUpdatedAt": { + "type": "string", + "description": "Most recent date in ISO 8601 format when the session successfully passed MFA challenge.", + "x-example": "2020-10-15T06:38:00.000+00:00" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "userId", + "expire", + "provider", + "providerUid", + "providerAccessToken", + "providerAccessTokenExpiry", + "providerRefreshToken", + "ip", + "osCode", + "osName", + "osVersion", + "clientType", + "clientCode", + "clientName", + "clientVersion", + "clientEngine", + "clientEngineVersion", + "deviceName", + "deviceBrand", + "deviceModel", + "countryCode", + "countryName", + "current", + "factors", + "secret", + "mfaUpdatedAt" + ] + }, + "identity": { + "description": "Identity", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Identity ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Identity creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Identity update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "5e5bb8c16897e" + }, + "provider": { + "type": "string", + "description": "Identity Provider.", + "x-example": "email" + }, + "providerUid": { + "type": "string", + "description": "ID of the User in the Identity Provider.", + "x-example": "5e5bb8c16897e" + }, + "providerEmail": { + "type": "string", + "description": "Email of the User in the Identity Provider.", + "x-example": "user@example.com" + }, + "providerAccessToken": { + "type": "string", + "description": "Identity Provider Access Token.", + "x-example": "MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3" + }, + "providerAccessTokenExpiry": { + "type": "string", + "description": "The date of when the access token expires in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "providerRefreshToken": { + "type": "string", + "description": "Identity Provider Refresh Token.", + "x-example": "MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "userId", + "provider", + "providerUid", + "providerEmail", + "providerAccessToken", + "providerAccessTokenExpiry", + "providerRefreshToken" + ] + }, + "token": { + "description": "Token", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Token ID.", + "x-example": "bb8ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Token creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "5e5ea5c168bb8" + }, + "secret": { + "type": "string", + "description": "Token secret key. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.", + "x-example": "" + }, + "expire": { + "type": "string", + "description": "Token expiration date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "phrase": { + "type": "string", + "description": "Security phrase of a token. Empty if security phrase was not requested when creating a token. It includes randomly generated phrase which is also sent in the external resource such as email.", + "x-example": "Golden Fox" + } + }, + "required": [ + "$id", + "$createdAt", + "userId", + "secret", + "expire", + "phrase" + ] + }, + "jwt": { + "description": "JWT", + "type": "object", + "properties": { + "jwt": { + "type": "string", + "description": "JWT encoded string.", + "x-example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c" + } + }, + "required": [ + "jwt" + ] + }, + "locale": { + "description": "Locale", + "type": "object", + "properties": { + "ip": { + "type": "string", + "description": "User IP address.", + "x-example": "127.0.0.1" + }, + "countryCode": { + "type": "string", + "description": "Country code in [ISO 3166-1](http:\/\/en.wikipedia.org\/wiki\/ISO_3166-1) two-character format", + "x-example": "US" + }, + "country": { + "type": "string", + "description": "Country name. This field support localization.", + "x-example": "United States" + }, + "continentCode": { + "type": "string", + "description": "Continent code. A two character continent code \"AF\" for Africa, \"AN\" for Antarctica, \"AS\" for Asia, \"EU\" for Europe, \"NA\" for North America, \"OC\" for Oceania, and \"SA\" for South America.", + "x-example": "NA" + }, + "continent": { + "type": "string", + "description": "Continent name. This field support localization.", + "x-example": "North America" + }, + "eu": { + "type": "boolean", + "description": "True if country is part of the European Union.", + "x-example": false + }, + "currency": { + "type": "string", + "description": "Currency code in [ISO 4217-1](http:\/\/en.wikipedia.org\/wiki\/ISO_4217) three-character format", + "x-example": "USD" + } + }, + "required": [ + "ip", + "countryCode", + "country", + "continentCode", + "continent", + "eu", + "currency" + ] + }, + "localeCode": { + "description": "LocaleCode", + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Locale codes in [ISO 639-1](https:\/\/en.wikipedia.org\/wiki\/List_of_ISO_639-1_codes)", + "x-example": "en-us" + }, + "name": { + "type": "string", + "description": "Locale name", + "x-example": "US" + } + }, + "required": [ + "code", + "name" + ] + }, + "file": { + "description": "File", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "File ID.", + "x-example": "5e5ea5c16897e" + }, + "bucketId": { + "type": "string", + "description": "Bucket ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "File creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "File update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$permissions": { + "type": "array", + "description": "File permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "items": { + "type": "string" + }, + "x-example": [ + "read(\"any\")" + ] + }, + "name": { + "type": "string", + "description": "File name.", + "x-example": "Pink.png" + }, + "signature": { + "type": "string", + "description": "File MD5 signature.", + "x-example": "5d529fd02b544198ae075bd57c1762bb" + }, + "mimeType": { + "type": "string", + "description": "File mime type.", + "x-example": "image\/png" + }, + "sizeOriginal": { + "type": "integer", + "description": "File original size in bytes.", + "x-example": 17890, + "format": "int32" + }, + "chunksTotal": { + "type": "integer", + "description": "Total number of chunks available", + "x-example": 17890, + "format": "int32" + }, + "chunksUploaded": { + "type": "integer", + "description": "Total number of chunks uploaded", + "x-example": 17890, + "format": "int32" + } + }, + "required": [ + "$id", + "bucketId", + "$createdAt", + "$updatedAt", + "$permissions", + "name", + "signature", + "mimeType", + "sizeOriginal", + "chunksTotal", + "chunksUploaded" + ] + }, + "bucket": { + "description": "Bucket", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Bucket ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Bucket creation time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Bucket update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$permissions": { + "type": "array", + "description": "Bucket permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "items": { + "type": "string" + }, + "x-example": [ + "read(\"any\")" + ] + }, + "fileSecurity": { + "type": "boolean", + "description": "Whether file-level security is enabled. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": true + }, + "name": { + "type": "string", + "description": "Bucket name.", + "x-example": "Documents" + }, + "enabled": { + "type": "boolean", + "description": "Bucket enabled.", + "x-example": false + }, + "maximumFileSize": { + "type": "integer", + "description": "Maximum file size supported.", + "x-example": 100, + "format": "int32" + }, + "allowedFileExtensions": { + "type": "array", + "description": "Allowed file extensions.", + "items": { + "type": "string" + }, + "x-example": [ + "jpg", + "png" + ] + }, + "compression": { + "type": "string", + "description": "Compression algorithm choosen for compression. Will be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd).", + "x-example": "gzip" + }, + "encryption": { + "type": "boolean", + "description": "Bucket is encrypted.", + "x-example": false + }, + "antivirus": { + "type": "boolean", + "description": "Virus scanning is enabled.", + "x-example": false + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "$permissions", + "fileSecurity", + "name", + "enabled", + "maximumFileSize", + "allowedFileExtensions", + "compression", + "encryption", + "antivirus" + ] + }, + "team": { + "description": "Team", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Team ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Team creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Team update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "Team name.", + "x-example": "VIP" + }, + "total": { + "type": "integer", + "description": "Total number of team members.", + "x-example": 7, + "format": "int32" + }, + "prefs": { + "type": "object", + "description": "Team preferences as a key-value object", + "x-example": { + "theme": "pink", + "timezone": "UTC" + }, + "items": { + "type": "object", + "$ref": "#\/definitions\/preferences" + } + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "total", + "prefs" + ] + }, + "membership": { + "description": "Membership", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Membership ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Membership creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Membership update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "5e5ea5c16897e" + }, + "userName": { + "type": "string", + "description": "User name. Hide this attribute by toggling membership privacy in the Console.", + "x-example": "John Doe" + }, + "userEmail": { + "type": "string", + "description": "User email address. Hide this attribute by toggling membership privacy in the Console.", + "x-example": "john@appwrite.io" + }, + "teamId": { + "type": "string", + "description": "Team ID.", + "x-example": "5e5ea5c16897e" + }, + "teamName": { + "type": "string", + "description": "Team name.", + "x-example": "VIP" + }, + "invited": { + "type": "string", + "description": "Date, the user has been invited to join the team in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "joined": { + "type": "string", + "description": "Date, the user has accepted the invitation to join the team in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "confirm": { + "type": "boolean", + "description": "User confirmation status, true if the user has joined the team or false otherwise.", + "x-example": false + }, + "mfa": { + "type": "boolean", + "description": "Multi factor authentication status, true if the user has MFA enabled or false otherwise. Hide this attribute by toggling membership privacy in the Console.", + "x-example": false + }, + "roles": { + "type": "array", + "description": "User list of roles", + "items": { + "type": "string" + }, + "x-example": [ + "owner" + ] + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "userId", + "userName", + "userEmail", + "teamId", + "teamName", + "invited", + "joined", + "confirm", + "mfa", + "roles" + ] + }, + "function": { + "description": "Function", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Function ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Function creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Function update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "execute": { + "type": "array", + "description": "Execution permissions.", + "items": { + "type": "string" + }, + "x-example": "users" + }, + "name": { + "type": "string", + "description": "Function name.", + "x-example": "My Function" + }, + "enabled": { + "type": "boolean", + "description": "Function enabled.", + "x-example": false + }, + "live": { + "type": "boolean", + "description": "Is the function deployed with the latest configuration? This is set to false if you've changed an environment variables, entrypoint, commands, or other settings that needs redeploy to be applied. When the value is false, redeploy the function to update it with the latest configuration.", + "x-example": false + }, + "logging": { + "type": "boolean", + "description": "Whether executions will be logged. When set to false, executions will not be logged, but will reduce resource used by your Appwrite project.", + "x-example": false + }, + "runtime": { + "type": "string", + "description": "Function execution runtime.", + "x-example": "python-3.8" + }, + "deployment": { + "type": "string", + "description": "Function's active deployment ID.", + "x-example": "5e5ea5c16897e" + }, + "scopes": { + "type": "array", + "description": "Allowed permission scopes.", + "items": { + "type": "string" + }, + "x-example": "users.read" + }, + "vars": { + "type": "array", + "description": "Function variables.", + "items": { + "type": "object", + "$ref": "#\/definitions\/variable" + }, + "x-example": [] + }, + "events": { + "type": "array", + "description": "Function trigger events.", + "items": { + "type": "string" + }, + "x-example": "account.create" + }, + "schedule": { + "type": "string", + "description": "Function execution schedule in CRON format.", + "x-example": "5 4 * * *" + }, + "timeout": { + "type": "integer", + "description": "Function execution timeout in seconds.", + "x-example": 300, + "format": "int32" + }, + "entrypoint": { + "type": "string", + "description": "The entrypoint file used to execute the deployment.", + "x-example": "index.js" + }, + "commands": { + "type": "string", + "description": "The build command used to build the deployment.", + "x-example": "npm install" + }, + "version": { + "type": "string", + "description": "Version of Open Runtimes used for the function.", + "x-example": "v2" + }, + "installationId": { + "type": "string", + "description": "Function VCS (Version Control System) installation id.", + "x-example": "6m40at4ejk5h2u9s1hboo" + }, + "providerRepositoryId": { + "type": "string", + "description": "VCS (Version Control System) Repository ID", + "x-example": "appwrite" + }, + "providerBranch": { + "type": "string", + "description": "VCS (Version Control System) branch name", + "x-example": "main" + }, + "providerRootDirectory": { + "type": "string", + "description": "Path to function in VCS (Version Control System) repository", + "x-example": "functions\/helloWorld" + }, + "providerSilentMode": { + "type": "boolean", + "description": "Is VCS (Version Control System) connection is in silent mode? When in silence mode, no comments will be posted on the repository pull or merge requests", + "x-example": false + }, + "specification": { + "type": "string", + "description": "Machine specification for builds and executions.", + "x-example": "s-1vcpu-512mb" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "execute", + "name", + "enabled", + "live", + "logging", + "runtime", + "deployment", + "scopes", + "vars", + "events", + "schedule", + "timeout", + "entrypoint", + "commands", + "version", + "installationId", + "providerRepositoryId", + "providerBranch", + "providerRootDirectory", + "providerSilentMode", + "specification" + ] + }, + "templateFunction": { + "description": "Template Function", + "type": "object", + "properties": { + "icon": { + "type": "string", + "description": "Function Template Icon.", + "x-example": "icon-lightning-bolt" + }, + "id": { + "type": "string", + "description": "Function Template ID.", + "x-example": "starter" + }, + "name": { + "type": "string", + "description": "Function Template Name.", + "x-example": "Starter function" + }, + "tagline": { + "type": "string", + "description": "Function Template Tagline.", + "x-example": "A simple function to get started." + }, + "permissions": { + "type": "array", + "description": "Execution permissions.", + "items": { + "type": "string" + }, + "x-example": "any" + }, + "events": { + "type": "array", + "description": "Function trigger events.", + "items": { + "type": "string" + }, + "x-example": "account.create" + }, + "cron": { + "type": "string", + "description": "Function execution schedult in CRON format.", + "x-example": "0 0 * * *" + }, + "timeout": { + "type": "integer", + "description": "Function execution timeout in seconds.", + "x-example": 300, + "format": "int32" + }, + "useCases": { + "type": "array", + "description": "Function use cases.", + "items": { + "type": "string" + }, + "x-example": "Starter" + }, + "runtimes": { + "type": "array", + "description": "List of runtimes that can be used with this template.", + "items": { + "type": "object", + "$ref": "#\/definitions\/templateRuntime" + }, + "x-example": [] + }, + "instructions": { + "type": "string", + "description": "Function Template Instructions.", + "x-example": "For documentation and instructions check out <link>." + }, + "vcsProvider": { + "type": "string", + "description": "VCS (Version Control System) Provider.", + "x-example": "github" + }, + "providerRepositoryId": { + "type": "string", + "description": "VCS (Version Control System) Repository ID", + "x-example": "templates" + }, + "providerOwner": { + "type": "string", + "description": "VCS (Version Control System) Owner.", + "x-example": "appwrite" + }, + "providerVersion": { + "type": "string", + "description": "VCS (Version Control System) branch version (tag).", + "x-example": "main" + }, + "variables": { + "type": "array", + "description": "Function variables.", + "items": { + "type": "object", + "$ref": "#\/definitions\/templateVariable" + }, + "x-example": [] + }, + "scopes": { + "type": "array", + "description": "Function scopes.", + "items": { + "type": "string" + }, + "x-example": "users.read" + } + }, + "required": [ + "icon", + "id", + "name", + "tagline", + "permissions", + "events", + "cron", + "timeout", + "useCases", + "runtimes", + "instructions", + "vcsProvider", + "providerRepositoryId", + "providerOwner", + "providerVersion", + "variables", + "scopes" + ] + }, + "templateRuntime": { + "description": "Template Runtime", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Runtime Name.", + "x-example": "node-19.0" + }, + "commands": { + "type": "string", + "description": "The build command used to build the deployment.", + "x-example": "npm install" + }, + "entrypoint": { + "type": "string", + "description": "The entrypoint file used to execute the deployment.", + "x-example": "index.js" + }, + "providerRootDirectory": { + "type": "string", + "description": "Path to function in VCS (Version Control System) repository", + "x-example": "node\/starter" + } + }, + "required": [ + "name", + "commands", + "entrypoint", + "providerRootDirectory" + ] + }, + "templateVariable": { + "description": "Template Variable", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Variable Name.", + "x-example": "APPWRITE_DATABASE_ID" + }, + "description": { + "type": "string", + "description": "Variable Description.", + "x-example": "The ID of the Appwrite database that contains the collection to sync." + }, + "value": { + "type": "string", + "description": "Variable Value.", + "x-example": "512" + }, + "placeholder": { + "type": "string", + "description": "Variable Placeholder.", + "x-example": "64a55...7b912" + }, + "required": { + "type": "boolean", + "description": "Is the variable required?", + "x-example": false + }, + "type": { + "type": "string", + "description": "Variable Type.", + "x-example": "password" + } + }, + "required": [ + "name", + "description", + "value", + "placeholder", + "required", + "type" + ] + }, + "installation": { + "description": "Installation", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Function ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Function creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Function update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "provider": { + "type": "string", + "description": "VCS (Version Control System) provider name.", + "x-example": "github" + }, + "organization": { + "type": "string", + "description": "VCS (Version Control System) organization name.", + "x-example": "appwrite" + }, + "providerInstallationId": { + "type": "string", + "description": "VCS (Version Control System) installation ID.", + "x-example": "5322" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "provider", + "organization", + "providerInstallationId" + ] + }, + "providerRepository": { + "description": "ProviderRepository", + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "VCS (Version Control System) repository ID.", + "x-example": "5e5ea5c16897e" + }, + "name": { + "type": "string", + "description": "VCS (Version Control System) repository name.", + "x-example": "appwrite" + }, + "organization": { + "type": "string", + "description": "VCS (Version Control System) organization name", + "x-example": "appwrite" + }, + "provider": { + "type": "string", + "description": "VCS (Version Control System) provider name.", + "x-example": "github" + }, + "private": { + "type": "boolean", + "description": "Is VCS (Version Control System) repository private?", + "x-example": true + }, + "runtime": { + "type": "string", + "description": "Auto-detected runtime suggestion. Empty if getting response of getRuntime().", + "x-example": "node" + }, + "pushedAt": { + "type": "string", + "description": "Last commit date in ISO 8601 format.", + "x-example": "datetime" + } + }, + "required": [ + "id", + "name", + "organization", + "provider", + "private", + "runtime", + "pushedAt" + ] + }, + "detection": { + "description": "Detection", + "type": "object", + "properties": { + "runtime": { + "type": "string", + "description": "Runtime", + "x-example": "node" + } + }, + "required": [ + "runtime" + ] + }, + "vcsContent": { + "description": "VcsContents", + "type": "object", + "properties": { + "size": { + "type": "integer", + "description": "Content size in bytes. Only files have size, and for directories, 0 is returned.", + "x-example": 1523, + "format": "int32", + "x-nullable": true + }, + "isDirectory": { + "type": "boolean", + "description": "If a content is a directory. Directories can be used to check nested contents.", + "x-example": true, + "x-nullable": true + }, + "name": { + "type": "string", + "description": "Name of directory or file.", + "x-example": "Main.java" + } + }, + "required": [ + "name" + ] + }, + "branch": { + "description": "Branch", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Branch Name.", + "x-example": "main" + } + }, + "required": [ + "name" + ] + }, + "runtime": { + "description": "Runtime", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Runtime ID.", + "x-example": "python-3.8" + }, + "key": { + "type": "string", + "description": "Parent runtime key.", + "x-example": "python" + }, + "name": { + "type": "string", + "description": "Runtime Name.", + "x-example": "Python" + }, + "version": { + "type": "string", + "description": "Runtime version.", + "x-example": "3.8" + }, + "base": { + "type": "string", + "description": "Base Docker image used to build the runtime.", + "x-example": "python:3.8-alpine" + }, + "image": { + "type": "string", + "description": "Image name of Docker Hub.", + "x-example": "appwrite\\\/runtime-for-python:3.8" + }, + "logo": { + "type": "string", + "description": "Name of the logo image.", + "x-example": "python.png" + }, + "supports": { + "type": "array", + "description": "List of supported architectures.", + "items": { + "type": "string" + }, + "x-example": "amd64" + } + }, + "required": [ + "$id", + "key", + "name", + "version", + "base", + "image", + "logo", + "supports" + ] + }, + "deployment": { + "description": "Deployment", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Deployment ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Deployment creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Deployment update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "type": { + "type": "string", + "description": "Type of deployment.", + "x-example": "vcs" + }, + "resourceId": { + "type": "string", + "description": "Resource ID.", + "x-example": "5e5ea6g16897e" + }, + "resourceType": { + "type": "string", + "description": "Resource type.", + "x-example": "functions" + }, + "entrypoint": { + "type": "string", + "description": "The entrypoint file to use to execute the deployment code.", + "x-example": "index.js" + }, + "size": { + "type": "integer", + "description": "The code size in bytes.", + "x-example": 128, + "format": "int32" + }, + "buildSize": { + "type": "integer", + "description": "The build output size in bytes.", + "x-example": 128, + "format": "int32" + }, + "buildId": { + "type": "string", + "description": "The current build ID.", + "x-example": "5e5ea5c16897e" + }, + "activate": { + "type": "boolean", + "description": "Whether the deployment should be automatically activated.", + "x-example": true + }, + "status": { + "type": "string", + "description": "The deployment status. Possible values are \"processing\", \"building\", \"waiting\", \"ready\", and \"failed\".", + "x-example": "ready" + }, + "buildLogs": { + "type": "string", + "description": "The build logs.", + "x-example": "Compiling source files..." + }, + "buildTime": { + "type": "integer", + "description": "The current build time in seconds.", + "x-example": 128, + "format": "int32" + }, + "providerRepositoryName": { + "type": "string", + "description": "The name of the vcs provider repository", + "x-example": "database" + }, + "providerRepositoryOwner": { + "type": "string", + "description": "The name of the vcs provider repository owner", + "x-example": "utopia" + }, + "providerRepositoryUrl": { + "type": "string", + "description": "The url of the vcs provider repository", + "x-example": "https:\/\/github.com\/vermakhushboo\/g4-node-function" + }, + "providerBranch": { + "type": "string", + "description": "The branch of the vcs repository", + "x-example": "0.7.x" + }, + "providerCommitHash": { + "type": "string", + "description": "The commit hash of the vcs commit", + "x-example": "7c3f25d" + }, + "providerCommitAuthorUrl": { + "type": "string", + "description": "The url of vcs commit author", + "x-example": "https:\/\/github.com\/vermakhushboo" + }, + "providerCommitAuthor": { + "type": "string", + "description": "The name of vcs commit author", + "x-example": "Khushboo Verma" + }, + "providerCommitMessage": { + "type": "string", + "description": "The commit message", + "x-example": "Update index.js" + }, + "providerCommitUrl": { + "type": "string", + "description": "The url of the vcs commit", + "x-example": "https:\/\/github.com\/vermakhushboo\/g4-node-function\/commit\/60c0416257a9cbcdd96b2d370c38d8f8d150ccfb" + }, + "providerBranchUrl": { + "type": "string", + "description": "The branch of the vcs repository", + "x-example": "https:\/\/github.com\/vermakhushboo\/appwrite\/tree\/0.7.x" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "type", + "resourceId", + "resourceType", + "entrypoint", + "size", + "buildSize", + "buildId", + "activate", + "status", + "buildLogs", + "buildTime", + "providerRepositoryName", + "providerRepositoryOwner", + "providerRepositoryUrl", + "providerBranch", + "providerCommitHash", + "providerCommitAuthorUrl", + "providerCommitAuthor", + "providerCommitMessage", + "providerCommitUrl", + "providerBranchUrl" + ] + }, + "execution": { + "description": "Execution", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Execution ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Execution creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Execution upate date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$permissions": { + "type": "array", + "description": "Execution roles.", + "items": { + "type": "string" + }, + "x-example": [ + "any" + ] + }, + "functionId": { + "type": "string", + "description": "Function ID.", + "x-example": "5e5ea6g16897e" + }, + "trigger": { + "type": "string", + "description": "The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.", + "x-example": "http" + }, + "status": { + "type": "string", + "description": "The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, or `failed`.", + "x-example": "processing" + }, + "requestMethod": { + "type": "string", + "description": "HTTP request method type.", + "x-example": "GET" + }, + "requestPath": { + "type": "string", + "description": "HTTP request path and query.", + "x-example": "\/articles?id=5" + }, + "requestHeaders": { + "type": "array", + "description": "HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.", + "items": { + "type": "object", + "$ref": "#\/definitions\/headers" + }, + "x-example": [ + { + "Content-Type": "application\/json" + } + ] + }, + "responseStatusCode": { + "type": "integer", + "description": "HTTP response status code.", + "x-example": 200, + "format": "int32" + }, + "responseBody": { + "type": "string", + "description": "HTTP response body. This will return empty unless execution is created as synchronous.", + "x-example": "" + }, + "responseHeaders": { + "type": "array", + "description": "HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.", + "items": { + "type": "object", + "$ref": "#\/definitions\/headers" + }, + "x-example": [ + { + "Content-Type": "application\/json" + } + ] + }, + "logs": { + "type": "string", + "description": "Function logs. Includes the last 4,000 characters. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.", + "x-example": "" + }, + "errors": { + "type": "string", + "description": "Function errors. Includes the last 4,000 characters. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.", + "x-example": "" + }, + "duration": { + "type": "number", + "description": "Function execution duration in seconds.", + "x-example": 0.4, + "format": "double" + }, + "scheduledAt": { + "type": "string", + "description": "The scheduled time for execution. If left empty, execution will be queued immediately.", + "x-example": "2020-10-15T06:38:00.000+00:00", + "x-nullable": true + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "$permissions", + "functionId", + "trigger", + "status", + "requestMethod", + "requestPath", + "requestHeaders", + "responseStatusCode", + "responseBody", + "responseHeaders", + "logs", + "errors", + "duration" + ] + }, + "build": { + "description": "Build", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Build ID.", + "x-example": "5e5ea5c16897e" + }, + "deploymentId": { + "type": "string", + "description": "The deployment that created this build.", + "x-example": "5e5ea5c16897e" + }, + "status": { + "type": "string", + "description": "The build status. There are a few different types and each one means something different. \\nFailed - The deployment build has failed. More details can usually be found in buildStderr\\nReady - The deployment build was successful and the deployment is ready to be deployed\\nProcessing - The deployment is currently waiting to have a build triggered\\nBuilding - The deployment is currently being built", + "x-example": "ready" + }, + "stdout": { + "type": "string", + "description": "The stdout of the build.", + "x-example": "" + }, + "stderr": { + "type": "string", + "description": "The stderr of the build.", + "x-example": "" + }, + "startTime": { + "type": "string", + "description": "The deployment creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "endTime": { + "type": "string", + "description": "The time the build was finished in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "duration": { + "type": "integer", + "description": "The build duration in seconds.", + "x-example": 0, + "format": "int32" + }, + "size": { + "type": "integer", + "description": "The code size in bytes.", + "x-example": 128, + "format": "int32" + } + }, + "required": [ + "$id", + "deploymentId", + "status", + "stdout", + "stderr", + "startTime", + "endTime", + "duration", + "size" + ] + }, + "project": { + "description": "Project", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Project ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Project creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Project update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "Project name.", + "x-example": "New Project" + }, + "description": { + "type": "string", + "description": "Project description.", + "x-example": "This is a new project." + }, + "teamId": { + "type": "string", + "description": "Project team ID.", + "x-example": "1592981250" + }, + "logo": { + "type": "string", + "description": "Project logo file ID.", + "x-example": "5f5c451b403cb" + }, + "url": { + "type": "string", + "description": "Project website URL.", + "x-example": "5f5c451b403cb" + }, + "legalName": { + "type": "string", + "description": "Company legal name.", + "x-example": "Company LTD." + }, + "legalCountry": { + "type": "string", + "description": "Country code in [ISO 3166-1](http:\/\/en.wikipedia.org\/wiki\/ISO_3166-1) two-character format.", + "x-example": "US" + }, + "legalState": { + "type": "string", + "description": "State name.", + "x-example": "New York" + }, + "legalCity": { + "type": "string", + "description": "City name.", + "x-example": "New York City." + }, + "legalAddress": { + "type": "string", + "description": "Company Address.", + "x-example": "620 Eighth Avenue, New York, NY 10018" + }, + "legalTaxId": { + "type": "string", + "description": "Company Tax ID.", + "x-example": "131102020" + }, + "authDuration": { + "type": "integer", + "description": "Session duration in seconds.", + "x-example": 60, + "format": "int32" + }, + "authLimit": { + "type": "integer", + "description": "Max users allowed. 0 is unlimited.", + "x-example": 100, + "format": "int32" + }, + "authSessionsLimit": { + "type": "integer", + "description": "Max sessions allowed per user. 100 maximum.", + "x-example": 10, + "format": "int32" + }, + "authPasswordHistory": { + "type": "integer", + "description": "Max allowed passwords in the history list per user. Max passwords limit allowed in history is 20. Use 0 for disabling password history.", + "x-example": 5, + "format": "int32" + }, + "authPasswordDictionary": { + "type": "boolean", + "description": "Whether or not to check user's password against most commonly used passwords.", + "x-example": true + }, + "authPersonalDataCheck": { + "type": "boolean", + "description": "Whether or not to check the user password for similarity with their personal data.", + "x-example": true + }, + "authMockNumbers": { + "type": "array", + "description": "An array of mock numbers and their corresponding verification codes (OTPs).", + "items": { + "type": "object", + "$ref": "#\/definitions\/mockNumber" + }, + "x-example": [ + {} + ] + }, + "authSessionAlerts": { + "type": "boolean", + "description": "Whether or not to send session alert emails to users.", + "x-example": true + }, + "authMembershipsUserName": { + "type": "boolean", + "description": "Whether or not to show user names in the teams membership response.", + "x-example": true + }, + "authMembershipsUserEmail": { + "type": "boolean", + "description": "Whether or not to show user emails in the teams membership response.", + "x-example": true + }, + "authMembershipsMfa": { + "type": "boolean", + "description": "Whether or not to show user MFA status in the teams membership response.", + "x-example": true + }, + "oAuthProviders": { + "type": "array", + "description": "List of Auth Providers.", + "items": { + "type": "object", + "$ref": "#\/definitions\/authProvider" + }, + "x-example": [ + {} + ] + }, + "platforms": { + "type": "array", + "description": "List of Platforms.", + "items": { + "type": "object", + "$ref": "#\/definitions\/platform" + }, + "x-example": {} + }, + "webhooks": { + "type": "array", + "description": "List of Webhooks.", + "items": { + "type": "object", + "$ref": "#\/definitions\/webhook" + }, + "x-example": {} + }, + "keys": { + "type": "array", + "description": "List of API Keys.", + "items": { + "type": "object", + "$ref": "#\/definitions\/key" + }, + "x-example": {} + }, + "smtpEnabled": { + "type": "boolean", + "description": "Status for custom SMTP", + "x-example": false + }, + "smtpSenderName": { + "type": "string", + "description": "SMTP sender name", + "x-example": "John Appwrite" + }, + "smtpSenderEmail": { + "type": "string", + "description": "SMTP sender email", + "x-example": "john@appwrite.io" + }, + "smtpReplyTo": { + "type": "string", + "description": "SMTP reply to email", + "x-example": "support@appwrite.io" + }, + "smtpHost": { + "type": "string", + "description": "SMTP server host name", + "x-example": "mail.appwrite.io" + }, + "smtpPort": { + "type": "integer", + "description": "SMTP server port", + "x-example": 25, + "format": "int32" + }, + "smtpUsername": { + "type": "string", + "description": "SMTP server username", + "x-example": "emailuser" + }, + "smtpPassword": { + "type": "string", + "description": "SMTP server password", + "x-example": "securepassword" + }, + "smtpSecure": { + "type": "string", + "description": "SMTP server secure protocol", + "x-example": "tls" + }, + "pingCount": { + "type": "integer", + "description": "Number of times the ping was received for this project.", + "x-example": 1, + "format": "int32" + }, + "pingedAt": { + "type": "string", + "description": "Last ping datetime in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "authEmailPassword": { + "type": "boolean", + "description": "Email\/Password auth method status", + "x-example": true + }, + "authUsersAuthMagicURL": { + "type": "boolean", + "description": "Magic URL auth method status", + "x-example": true + }, + "authEmailOtp": { + "type": "boolean", + "description": "Email (OTP) auth method status", + "x-example": true + }, + "authAnonymous": { + "type": "boolean", + "description": "Anonymous auth method status", + "x-example": true + }, + "authInvites": { + "type": "boolean", + "description": "Invites auth method status", + "x-example": true + }, + "authJWT": { + "type": "boolean", + "description": "JWT auth method status", + "x-example": true + }, + "authPhone": { + "type": "boolean", + "description": "Phone auth method status", + "x-example": true + }, + "serviceStatusForAccount": { + "type": "boolean", + "description": "Account service status", + "x-example": true + }, + "serviceStatusForAvatars": { + "type": "boolean", + "description": "Avatars service status", + "x-example": true + }, + "serviceStatusForDatabases": { + "type": "boolean", + "description": "Databases service status", + "x-example": true + }, + "serviceStatusForLocale": { + "type": "boolean", + "description": "Locale service status", + "x-example": true + }, + "serviceStatusForHealth": { + "type": "boolean", + "description": "Health service status", + "x-example": true + }, + "serviceStatusForStorage": { + "type": "boolean", + "description": "Storage service status", + "x-example": true + }, + "serviceStatusForTeams": { + "type": "boolean", + "description": "Teams service status", + "x-example": true + }, + "serviceStatusForUsers": { + "type": "boolean", + "description": "Users service status", + "x-example": true + }, + "serviceStatusForFunctions": { + "type": "boolean", + "description": "Functions service status", + "x-example": true + }, + "serviceStatusForGraphql": { + "type": "boolean", + "description": "GraphQL service status", + "x-example": true + }, + "serviceStatusForMessaging": { + "type": "boolean", + "description": "Messaging service status", + "x-example": true + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "description", + "teamId", + "logo", + "url", + "legalName", + "legalCountry", + "legalState", + "legalCity", + "legalAddress", + "legalTaxId", + "authDuration", + "authLimit", + "authSessionsLimit", + "authPasswordHistory", + "authPasswordDictionary", + "authPersonalDataCheck", + "authMockNumbers", + "authSessionAlerts", + "authMembershipsUserName", + "authMembershipsUserEmail", + "authMembershipsMfa", + "oAuthProviders", + "platforms", + "webhooks", + "keys", + "smtpEnabled", + "smtpSenderName", + "smtpSenderEmail", + "smtpReplyTo", + "smtpHost", + "smtpPort", + "smtpUsername", + "smtpPassword", + "smtpSecure", + "pingCount", + "pingedAt", + "authEmailPassword", + "authUsersAuthMagicURL", + "authEmailOtp", + "authAnonymous", + "authInvites", + "authJWT", + "authPhone", + "serviceStatusForAccount", + "serviceStatusForAvatars", + "serviceStatusForDatabases", + "serviceStatusForLocale", + "serviceStatusForHealth", + "serviceStatusForStorage", + "serviceStatusForTeams", + "serviceStatusForUsers", + "serviceStatusForFunctions", + "serviceStatusForGraphql", + "serviceStatusForMessaging" + ] + }, + "webhook": { + "description": "Webhook", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Webhook ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Webhook creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Webhook update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "Webhook name.", + "x-example": "My Webhook" + }, + "url": { + "type": "string", + "description": "Webhook URL endpoint.", + "x-example": "https:\/\/example.com\/webhook" + }, + "events": { + "type": "array", + "description": "Webhook trigger events.", + "items": { + "type": "string" + }, + "x-example": "database.collections.update" + }, + "security": { + "type": "boolean", + "description": "Indicated if SSL \/ TLS Certificate verification is enabled.", + "x-example": true + }, + "httpUser": { + "type": "string", + "description": "HTTP basic authentication username.", + "x-example": "username" + }, + "httpPass": { + "type": "string", + "description": "HTTP basic authentication password.", + "x-example": "password" + }, + "signatureKey": { + "type": "string", + "description": "Signature key which can be used to validated incoming", + "x-example": "ad3d581ca230e2b7059c545e5a" + }, + "enabled": { + "type": "boolean", + "description": "Indicates if this webhook is enabled.", + "x-example": true + }, + "logs": { + "type": "string", + "description": "Webhook error logs from the most recent failure.", + "x-example": "Failed to connect to remote server." + }, + "attempts": { + "type": "integer", + "description": "Number of consecutive failed webhook attempts.", + "x-example": 10, + "format": "int32" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "url", + "events", + "security", + "httpUser", + "httpPass", + "signatureKey", + "enabled", + "logs", + "attempts" + ] + }, + "key": { + "description": "Key", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Key ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Key creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Key update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "Key name.", + "x-example": "My API Key" + }, + "expire": { + "type": "string", + "description": "Key expiration date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "scopes": { + "type": "array", + "description": "Allowed permission scopes.", + "items": { + "type": "string" + }, + "x-example": "users.read" + }, + "secret": { + "type": "string", + "description": "Secret key.", + "x-example": "919c2d18fb5d4...a2ae413da83346ad2" + }, + "accessedAt": { + "type": "string", + "description": "Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "sdks": { + "type": "array", + "description": "List of SDK user agents that used this key.", + "items": { + "type": "string" + }, + "x-example": "appwrite:flutter" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "expire", + "scopes", + "secret", + "accessedAt", + "sdks" + ] + }, + "mockNumber": { + "description": "Mock Number", + "type": "object", + "properties": { + "phone": { + "type": "string", + "description": "Mock phone number for testing phone authentication. Useful for testing phone authentication without sending an SMS.", + "x-example": "+1612842323" + }, + "otp": { + "type": "string", + "description": "Mock OTP for the number. ", + "x-example": "123456" + } + }, + "required": [ + "phone", + "otp" + ] + }, + "authProvider": { + "description": "AuthProvider", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Auth Provider.", + "x-example": "github" + }, + "name": { + "type": "string", + "description": "Auth Provider name.", + "x-example": "GitHub" + }, + "appId": { + "type": "string", + "description": "OAuth 2.0 application ID.", + "x-example": "259125845563242502" + }, + "secret": { + "type": "string", + "description": "OAuth 2.0 application secret. Might be JSON string if provider requires extra configuration.", + "x-example": "Bpw_g9c2TGXxfgLshDbSaL8tsCcqgczQ" + }, + "enabled": { + "type": "boolean", + "description": "Auth Provider is active and can be used to create session.", + "x-example": "" + } + }, + "required": [ + "key", + "name", + "appId", + "secret", + "enabled" + ] + }, + "platform": { + "description": "Platform", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Platform ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Platform creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Platform update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "Platform name.", + "x-example": "My Web App" + }, + "type": { + "type": "string", + "description": "Platform type. Possible values are: web, flutter-web, flutter-ios, flutter-android, ios, android, and unity.", + "x-example": "web" + }, + "key": { + "type": "string", + "description": "Platform Key. iOS bundle ID or Android package name. Empty string for other platforms.", + "x-example": "com.company.appname" + }, + "store": { + "type": "string", + "description": "App store or Google Play store ID.", + "x-example": "" + }, + "hostname": { + "type": "string", + "description": "Web app hostname. Empty string for other platforms.", + "x-example": true + }, + "httpUser": { + "type": "string", + "description": "HTTP basic authentication username.", + "x-example": "username" + }, + "httpPass": { + "type": "string", + "description": "HTTP basic authentication password.", + "x-example": "password" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "type", + "key", + "store", + "hostname", + "httpUser", + "httpPass" + ] + }, + "variable": { + "description": "Variable", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Variable ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Variable creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Variable creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "key": { + "type": "string", + "description": "Variable key.", + "x-example": "API_KEY" + }, + "value": { + "type": "string", + "description": "Variable value.", + "x-example": "myPa$$word1" + }, + "resourceType": { + "type": "string", + "description": "Service to which the variable belongs. Possible values are \"project\", \"function\"", + "x-example": "function" + }, + "resourceId": { + "type": "string", + "description": "ID of resource to which the variable belongs. If resourceType is \"project\", it is empty. If resourceType is \"function\", it is ID of the function.", + "x-example": "myAwesomeFunction" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "key", + "value", + "resourceType", + "resourceId" + ] + }, + "country": { + "description": "Country", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Country name.", + "x-example": "United States" + }, + "code": { + "type": "string", + "description": "Country two-character ISO 3166-1 alpha code.", + "x-example": "US" + } + }, + "required": [ + "name", + "code" + ] + }, + "continent": { + "description": "Continent", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Continent name.", + "x-example": "Europe" + }, + "code": { + "type": "string", + "description": "Continent two letter code.", + "x-example": "EU" + } + }, + "required": [ + "name", + "code" + ] + }, + "language": { + "description": "Language", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Language name.", + "x-example": "Italian" + }, + "code": { + "type": "string", + "description": "Language two-character ISO 639-1 codes.", + "x-example": "it" + }, + "nativeName": { + "type": "string", + "description": "Language native name.", + "x-example": "Italiano" + } + }, + "required": [ + "name", + "code", + "nativeName" + ] + }, + "currency": { + "description": "Currency", + "type": "object", + "properties": { + "symbol": { + "type": "string", + "description": "Currency symbol.", + "x-example": "$" + }, + "name": { + "type": "string", + "description": "Currency name.", + "x-example": "US dollar" + }, + "symbolNative": { + "type": "string", + "description": "Currency native symbol.", + "x-example": "$" + }, + "decimalDigits": { + "type": "integer", + "description": "Number of decimal digits.", + "x-example": 2, + "format": "int32" + }, + "rounding": { + "type": "number", + "description": "Currency digit rounding.", + "x-example": 0, + "format": "double" + }, + "code": { + "type": "string", + "description": "Currency code in [ISO 4217-1](http:\/\/en.wikipedia.org\/wiki\/ISO_4217) three-character format.", + "x-example": "USD" + }, + "namePlural": { + "type": "string", + "description": "Currency plural name", + "x-example": "US dollars" + } + }, + "required": [ + "symbol", + "name", + "symbolNative", + "decimalDigits", + "rounding", + "code", + "namePlural" + ] + }, + "phone": { + "description": "Phone", + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Phone code.", + "x-example": "+1" + }, + "countryCode": { + "type": "string", + "description": "Country two-character ISO 3166-1 alpha code.", + "x-example": "US" + }, + "countryName": { + "type": "string", + "description": "Country name.", + "x-example": "United States" + } + }, + "required": [ + "code", + "countryCode", + "countryName" + ] + }, + "healthAntivirus": { + "description": "Health Antivirus", + "type": "object", + "properties": { + "version": { + "type": "string", + "description": "Antivirus version.", + "x-example": "1.0.0" + }, + "status": { + "type": "string", + "description": "Antivirus status. Possible values can are: `disabled`, `offline`, `online`", + "x-example": "online" + } + }, + "required": [ + "version", + "status" + ] + }, + "healthQueue": { + "description": "Health Queue", + "type": "object", + "properties": { + "size": { + "type": "integer", + "description": "Amount of actions in the queue.", + "x-example": 8, + "format": "int32" + } + }, + "required": [ + "size" + ] + }, + "healthStatus": { + "description": "Health Status", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the service.", + "x-example": "database" + }, + "ping": { + "type": "integer", + "description": "Duration in milliseconds how long the health check took.", + "x-example": 128, + "format": "int32" + }, + "status": { + "type": "string", + "description": "Service status. Possible values can are: `pass`, `fail`", + "x-example": "pass" + } + }, + "required": [ + "name", + "ping", + "status" + ] + }, + "healthCertificate": { + "description": "Health Certificate", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Certificate name", + "x-example": "\/CN=www.google.com" + }, + "subjectSN": { + "type": "string", + "description": "Subject SN", + "x-example": "" + }, + "issuerOrganisation": { + "type": "string", + "description": "Issuer organisation", + "x-example": "" + }, + "validFrom": { + "type": "string", + "description": "Valid from", + "x-example": "1704200998" + }, + "validTo": { + "type": "string", + "description": "Valid to", + "x-example": "1711458597" + }, + "signatureTypeSN": { + "type": "string", + "description": "Signature type SN", + "x-example": "RSA-SHA256" + } + }, + "required": [ + "name", + "subjectSN", + "issuerOrganisation", + "validFrom", + "validTo", + "signatureTypeSN" + ] + }, + "healthTime": { + "description": "Health Time", + "type": "object", + "properties": { + "remoteTime": { + "type": "integer", + "description": "Current unix timestamp on trustful remote server.", + "x-example": 1639490751, + "format": "int32" + }, + "localTime": { + "type": "integer", + "description": "Current unix timestamp of local server where Appwrite runs.", + "x-example": 1639490844, + "format": "int32" + }, + "diff": { + "type": "integer", + "description": "Difference of unix remote and local timestamps in milliseconds.", + "x-example": 93, + "format": "int32" + } + }, + "required": [ + "remoteTime", + "localTime", + "diff" + ] + }, + "metric": { + "description": "Metric", + "type": "object", + "properties": { + "value": { + "type": "integer", + "description": "The value of this metric at the timestamp.", + "x-example": 1, + "format": "int32" + }, + "date": { + "type": "string", + "description": "The date at which this metric was aggregated in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + } + }, + "required": [ + "value", + "date" + ] + }, + "metricBreakdown": { + "description": "Metric Breakdown", + "type": "object", + "properties": { + "resourceId": { + "type": "string", + "description": "Resource ID.", + "x-example": "5e5ea5c16897e", + "x-nullable": true + }, + "name": { + "type": "string", + "description": "Resource name.", + "x-example": "Documents" + }, + "value": { + "type": "integer", + "description": "The value of this metric at the timestamp.", + "x-example": 1, + "format": "int32" + }, + "estimate": { + "type": "number", + "description": "The estimated value of this metric at the end of the period.", + "x-example": 1, + "format": "double", + "x-nullable": true + } + }, + "required": [ + "name", + "value" + ] + }, + "usageDatabases": { + "description": "UsageDatabases", + "type": "object", + "properties": { + "range": { + "type": "string", + "description": "Time range of the usage stats.", + "x-example": "30d" + }, + "databasesTotal": { + "type": "integer", + "description": "Total aggregated number of databases.", + "x-example": 0, + "format": "int32" + }, + "collectionsTotal": { + "type": "integer", + "description": "Total aggregated number of collections.", + "x-example": 0, + "format": "int32" + }, + "documentsTotal": { + "type": "integer", + "description": "Total aggregated number of documents.", + "x-example": 0, + "format": "int32" + }, + "storageTotal": { + "type": "integer", + "description": "Total aggregated number of total databases storage in bytes.", + "x-example": 0, + "format": "int32" + }, + "databasesReadsTotal": { + "type": "integer", + "description": "Total number of databases reads.", + "x-example": 0, + "format": "int32" + }, + "databasesWritesTotal": { + "type": "integer", + "description": "Total number of databases writes.", + "x-example": 0, + "format": "int32" + }, + "databases": { + "type": "array", + "description": "Aggregated number of databases per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "collections": { + "type": "array", + "description": "Aggregated number of collections per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "documents": { + "type": "array", + "description": "Aggregated number of documents per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "storage": { + "type": "array", + "description": "An array of the aggregated number of databases storage in bytes per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "databasesReads": { + "type": "array", + "description": "An array of aggregated number of database reads.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "databasesWrites": { + "type": "array", + "description": "An array of aggregated number of database writes.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + } + }, + "required": [ + "range", + "databasesTotal", + "collectionsTotal", + "documentsTotal", + "storageTotal", + "databasesReadsTotal", + "databasesWritesTotal", + "databases", + "collections", + "documents", + "storage", + "databasesReads", + "databasesWrites" + ] + }, + "usageDatabase": { + "description": "UsageDatabase", + "type": "object", + "properties": { + "range": { + "type": "string", + "description": "Time range of the usage stats.", + "x-example": "30d" + }, + "collectionsTotal": { + "type": "integer", + "description": "Total aggregated number of collections.", + "x-example": 0, + "format": "int32" + }, + "documentsTotal": { + "type": "integer", + "description": "Total aggregated number of documents.", + "x-example": 0, + "format": "int32" + }, + "storageTotal": { + "type": "integer", + "description": "Total aggregated number of total storage used in bytes.", + "x-example": 0, + "format": "int32" + }, + "databaseReadsTotal": { + "type": "integer", + "description": "Total number of databases reads.", + "x-example": 0, + "format": "int32" + }, + "databaseWritesTotal": { + "type": "integer", + "description": "Total number of databases writes.", + "x-example": 0, + "format": "int32" + }, + "collections": { + "type": "array", + "description": "Aggregated number of collections per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "documents": { + "type": "array", + "description": "Aggregated number of documents per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "storage": { + "type": "array", + "description": "Aggregated storage used in bytes per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "databaseReads": { + "type": "array", + "description": "An array of aggregated number of database reads.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "databaseWrites": { + "type": "array", + "description": "An array of aggregated number of database writes.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + } + }, + "required": [ + "range", + "collectionsTotal", + "documentsTotal", + "storageTotal", + "databaseReadsTotal", + "databaseWritesTotal", + "collections", + "documents", + "storage", + "databaseReads", + "databaseWrites" + ] + }, + "usageCollection": { + "description": "UsageCollection", + "type": "object", + "properties": { + "range": { + "type": "string", + "description": "Time range of the usage stats.", + "x-example": "30d" + }, + "documentsTotal": { + "type": "integer", + "description": "Total aggregated number of of documents.", + "x-example": 0, + "format": "int32" + }, + "documents": { + "type": "array", + "description": "Aggregated number of documents per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + } + }, + "required": [ + "range", + "documentsTotal", + "documents" + ] + }, + "usageUsers": { + "description": "UsageUsers", + "type": "object", + "properties": { + "range": { + "type": "string", + "description": "Time range of the usage stats.", + "x-example": "30d" + }, + "usersTotal": { + "type": "integer", + "description": "Total aggregated number of statistics of users.", + "x-example": 0, + "format": "int32" + }, + "sessionsTotal": { + "type": "integer", + "description": "Total aggregated number of active sessions.", + "x-example": 0, + "format": "int32" + }, + "users": { + "type": "array", + "description": "Aggregated number of users per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "sessions": { + "type": "array", + "description": "Aggregated number of active sessions per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + } + }, + "required": [ + "range", + "usersTotal", + "sessionsTotal", + "users", + "sessions" + ] + }, + "usageStorage": { + "description": "StorageUsage", + "type": "object", + "properties": { + "range": { + "type": "string", + "description": "Time range of the usage stats.", + "x-example": "30d" + }, + "bucketsTotal": { + "type": "integer", + "description": "Total aggregated number of buckets", + "x-example": 0, + "format": "int32" + }, + "filesTotal": { + "type": "integer", + "description": "Total aggregated number of files.", + "x-example": 0, + "format": "int32" + }, + "filesStorageTotal": { + "type": "integer", + "description": "Total aggregated number of files storage (in bytes).", + "x-example": 0, + "format": "int32" + }, + "buckets": { + "type": "array", + "description": "Aggregated number of buckets per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "files": { + "type": "array", + "description": "Aggregated number of files per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "storage": { + "type": "array", + "description": "Aggregated number of files storage (in bytes) per period .", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + } + }, + "required": [ + "range", + "bucketsTotal", + "filesTotal", + "filesStorageTotal", + "buckets", + "files", + "storage" + ] + }, + "usageBuckets": { + "description": "UsageBuckets", + "type": "object", + "properties": { + "range": { + "type": "string", + "description": "Time range of the usage stats.", + "x-example": "30d" + }, + "filesTotal": { + "type": "integer", + "description": "Total aggregated number of bucket files.", + "x-example": 0, + "format": "int32" + }, + "filesStorageTotal": { + "type": "integer", + "description": "Total aggregated number of bucket files storage (in bytes).", + "x-example": 0, + "format": "int32" + }, + "files": { + "type": "array", + "description": "Aggregated number of bucket files per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "storage": { + "type": "array", + "description": "Aggregated number of bucket storage files (in bytes) per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "imageTransformations": { + "type": "array", + "description": "Aggregated number of files transformations per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "imageTransformationsTotal": { + "type": "integer", + "description": "Total aggregated number of files transformations.", + "x-example": 0, + "format": "int32" + } + }, + "required": [ + "range", + "filesTotal", + "filesStorageTotal", + "files", + "storage", + "imageTransformations", + "imageTransformationsTotal" + ] + }, + "usageFunctions": { + "description": "UsageFunctions", + "type": "object", + "properties": { + "range": { + "type": "string", + "description": "Time range of the usage stats.", + "x-example": "30d" + }, + "functionsTotal": { + "type": "integer", + "description": "Total aggregated number of functions.", + "x-example": 0, + "format": "int32" + }, + "deploymentsTotal": { + "type": "integer", + "description": "Total aggregated number of functions deployments.", + "x-example": 0, + "format": "int32" + }, + "deploymentsStorageTotal": { + "type": "integer", + "description": "Total aggregated sum of functions deployment storage.", + "x-example": 0, + "format": "int32" + }, + "buildsTotal": { + "type": "integer", + "description": "Total aggregated number of functions build.", + "x-example": 0, + "format": "int32" + }, + "buildsStorageTotal": { + "type": "integer", + "description": "total aggregated sum of functions build storage.", + "x-example": 0, + "format": "int32" + }, + "buildsTimeTotal": { + "type": "integer", + "description": "Total aggregated sum of functions build compute time.", + "x-example": 0, + "format": "int32" + }, + "buildsMbSecondsTotal": { + "type": "integer", + "description": "Total aggregated sum of functions build mbSeconds.", + "x-example": 0, + "format": "int32" + }, + "executionsTotal": { + "type": "integer", + "description": "Total aggregated number of functions execution.", + "x-example": 0, + "format": "int32" + }, + "executionsTimeTotal": { + "type": "integer", + "description": "Total aggregated sum of functions execution compute time.", + "x-example": 0, + "format": "int32" + }, + "executionsMbSecondsTotal": { + "type": "integer", + "description": "Total aggregated sum of functions execution mbSeconds.", + "x-example": 0, + "format": "int32" + }, + "functions": { + "type": "array", + "description": "Aggregated number of functions per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": 0 + }, + "deployments": { + "type": "array", + "description": "Aggregated number of functions deployment per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "deploymentsStorage": { + "type": "array", + "description": "Aggregated number of functions deployment storage per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "builds": { + "type": "array", + "description": "Aggregated number of functions build per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "buildsStorage": { + "type": "array", + "description": "Aggregated sum of functions build storage per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "buildsTime": { + "type": "array", + "description": "Aggregated sum of functions build compute time per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "buildsMbSeconds": { + "type": "array", + "description": "Aggregated sum of functions build mbSeconds per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "executions": { + "type": "array", + "description": "Aggregated number of functions execution per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "executionsTime": { + "type": "array", + "description": "Aggregated number of functions execution compute time per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "executionsMbSeconds": { + "type": "array", + "description": "Aggregated number of functions mbSeconds per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + } + }, + "required": [ + "range", + "functionsTotal", + "deploymentsTotal", + "deploymentsStorageTotal", + "buildsTotal", + "buildsStorageTotal", + "buildsTimeTotal", + "buildsMbSecondsTotal", + "executionsTotal", + "executionsTimeTotal", + "executionsMbSecondsTotal", + "functions", + "deployments", + "deploymentsStorage", + "builds", + "buildsStorage", + "buildsTime", + "buildsMbSeconds", + "executions", + "executionsTime", + "executionsMbSeconds" + ] + }, + "usageFunction": { + "description": "UsageFunction", + "type": "object", + "properties": { + "range": { + "type": "string", + "description": "The time range of the usage stats.", + "x-example": "30d" + }, + "deploymentsTotal": { + "type": "integer", + "description": "Total aggregated number of function deployments.", + "x-example": 0, + "format": "int32" + }, + "deploymentsStorageTotal": { + "type": "integer", + "description": "Total aggregated sum of function deployments storage.", + "x-example": 0, + "format": "int32" + }, + "buildsTotal": { + "type": "integer", + "description": "Total aggregated number of function builds.", + "x-example": 0, + "format": "int32" + }, + "buildsStorageTotal": { + "type": "integer", + "description": "total aggregated sum of function builds storage.", + "x-example": 0, + "format": "int32" + }, + "buildsTimeTotal": { + "type": "integer", + "description": "Total aggregated sum of function builds compute time.", + "x-example": 0, + "format": "int32" + }, + "buildsMbSecondsTotal": { + "type": "integer", + "description": "Total aggregated sum of function builds mbSeconds.", + "x-example": 0, + "format": "int32" + }, + "executionsTotal": { + "type": "integer", + "description": "Total aggregated number of function executions.", + "x-example": 0, + "format": "int32" + }, + "executionsTimeTotal": { + "type": "integer", + "description": "Total aggregated sum of function executions compute time.", + "x-example": 0, + "format": "int32" + }, + "executionsMbSecondsTotal": { + "type": "integer", + "description": "Total aggregated sum of function executions mbSeconds.", + "x-example": 0, + "format": "int32" + }, + "deployments": { + "type": "array", + "description": "Aggregated number of function deployments per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "deploymentsStorage": { + "type": "array", + "description": "Aggregated number of function deployments storage per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "builds": { + "type": "array", + "description": "Aggregated number of function builds per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "buildsStorage": { + "type": "array", + "description": "Aggregated sum of function builds storage per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "buildsTime": { + "type": "array", + "description": "Aggregated sum of function builds compute time per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "buildsMbSeconds": { + "type": "array", + "description": "Aggregated number of function builds mbSeconds per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "executions": { + "type": "array", + "description": "Aggregated number of function executions per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "executionsTime": { + "type": "array", + "description": "Aggregated number of function executions compute time per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "executionsMbSeconds": { + "type": "array", + "description": "Aggregated number of function mbSeconds per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + } + }, + "required": [ + "range", + "deploymentsTotal", + "deploymentsStorageTotal", + "buildsTotal", + "buildsStorageTotal", + "buildsTimeTotal", + "buildsMbSecondsTotal", + "executionsTotal", + "executionsTimeTotal", + "executionsMbSecondsTotal", + "deployments", + "deploymentsStorage", + "builds", + "buildsStorage", + "buildsTime", + "buildsMbSeconds", + "executions", + "executionsTime", + "executionsMbSeconds" + ] + }, + "usageProject": { + "description": "UsageProject", + "type": "object", + "properties": { + "executionsTotal": { + "type": "integer", + "description": "Total aggregated number of function executions.", + "x-example": 0, + "format": "int32" + }, + "documentsTotal": { + "type": "integer", + "description": "Total aggregated number of documents.", + "x-example": 0, + "format": "int32" + }, + "databasesTotal": { + "type": "integer", + "description": "Total aggregated number of databases.", + "x-example": 0, + "format": "int32" + }, + "databasesStorageTotal": { + "type": "integer", + "description": "Total aggregated sum of databases storage size (in bytes).", + "x-example": 0, + "format": "int32" + }, + "usersTotal": { + "type": "integer", + "description": "Total aggregated number of users.", + "x-example": 0, + "format": "int32" + }, + "filesStorageTotal": { + "type": "integer", + "description": "Total aggregated sum of files storage size (in bytes).", + "x-example": 0, + "format": "int32" + }, + "functionsStorageTotal": { + "type": "integer", + "description": "Total aggregated sum of functions storage size (in bytes).", + "x-example": 0, + "format": "int32" + }, + "buildsStorageTotal": { + "type": "integer", + "description": "Total aggregated sum of builds storage size (in bytes).", + "x-example": 0, + "format": "int32" + }, + "deploymentsStorageTotal": { + "type": "integer", + "description": "Total aggregated sum of deployments storage size (in bytes).", + "x-example": 0, + "format": "int32" + }, + "bucketsTotal": { + "type": "integer", + "description": "Total aggregated number of buckets.", + "x-example": 0, + "format": "int32" + }, + "executionsMbSecondsTotal": { + "type": "integer", + "description": "Total aggregated number of function executions mbSeconds.", + "x-example": 0, + "format": "int32" + }, + "buildsMbSecondsTotal": { + "type": "integer", + "description": "Total aggregated number of function builds mbSeconds.", + "x-example": 0, + "format": "int32" + }, + "databasesReadsTotal": { + "type": "integer", + "description": "Total number of databases reads.", + "x-example": 0, + "format": "int32" + }, + "databasesWritesTotal": { + "type": "integer", + "description": "Total number of databases writes.", + "x-example": 0, + "format": "int32" + }, + "requests": { + "type": "array", + "description": "Aggregated number of requests per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "network": { + "type": "array", + "description": "Aggregated number of consumed bandwidth per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "users": { + "type": "array", + "description": "Aggregated number of users per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "executions": { + "type": "array", + "description": "Aggregated number of executions per period.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "executionsBreakdown": { + "type": "array", + "description": "Aggregated breakdown in totals of executions by functions.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metricBreakdown" + }, + "x-example": [] + }, + "bucketsBreakdown": { + "type": "array", + "description": "Aggregated breakdown in totals of usage by buckets.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metricBreakdown" + }, + "x-example": [] + }, + "databasesStorageBreakdown": { + "type": "array", + "description": "An array of the aggregated breakdown of storage usage by databases.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metricBreakdown" + }, + "x-example": [] + }, + "executionsMbSecondsBreakdown": { + "type": "array", + "description": "Aggregated breakdown in totals of execution mbSeconds by functions.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metricBreakdown" + }, + "x-example": [] + }, + "buildsMbSecondsBreakdown": { + "type": "array", + "description": "Aggregated breakdown in totals of build mbSeconds by functions.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metricBreakdown" + }, + "x-example": [] + }, + "functionsStorageBreakdown": { + "type": "array", + "description": "Aggregated breakdown in totals of functions storage size (in bytes).", + "items": { + "type": "object", + "$ref": "#\/definitions\/metricBreakdown" + }, + "x-example": [] + }, + "authPhoneTotal": { + "type": "integer", + "description": "Total aggregated number of phone auth.", + "x-example": 0, + "format": "int32" + }, + "authPhoneEstimate": { + "type": "number", + "description": "Estimated total aggregated cost of phone auth.", + "x-example": 0, + "format": "double" + }, + "authPhoneCountryBreakdown": { + "type": "array", + "description": "Aggregated breakdown in totals of phone auth by country.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metricBreakdown" + }, + "x-example": [] + }, + "databasesReads": { + "type": "array", + "description": "An array of aggregated number of database reads.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "databasesWrites": { + "type": "array", + "description": "An array of aggregated number of database writes.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "imageTransformations": { + "type": "array", + "description": "An array of aggregated number of image transformations.", + "items": { + "type": "object", + "$ref": "#\/definitions\/metric" + }, + "x-example": [] + }, + "imageTransformationsTotal": { + "type": "integer", + "description": "Total aggregated number of image transformations.", + "x-example": 0, + "format": "int32" + } + }, + "required": [ + "executionsTotal", + "documentsTotal", + "databasesTotal", + "databasesStorageTotal", + "usersTotal", + "filesStorageTotal", + "functionsStorageTotal", + "buildsStorageTotal", + "deploymentsStorageTotal", + "bucketsTotal", + "executionsMbSecondsTotal", + "buildsMbSecondsTotal", + "databasesReadsTotal", + "databasesWritesTotal", + "requests", + "network", + "users", + "executions", + "executionsBreakdown", + "bucketsBreakdown", + "databasesStorageBreakdown", + "executionsMbSecondsBreakdown", + "buildsMbSecondsBreakdown", + "functionsStorageBreakdown", + "authPhoneTotal", + "authPhoneEstimate", + "authPhoneCountryBreakdown", + "databasesReads", + "databasesWrites", + "imageTransformations", + "imageTransformationsTotal" + ] + }, + "headers": { + "description": "Headers", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Header name.", + "x-example": "Content-Type" + }, + "value": { + "type": "string", + "description": "Header value.", + "x-example": "application\/json" + } + }, + "required": [ + "name", + "value" + ] + }, + "specification": { + "description": "Specification", + "type": "object", + "properties": { + "memory": { + "type": "integer", + "description": "Memory size in MB.", + "x-example": 512, + "format": "int32" + }, + "cpus": { + "type": "number", + "description": "Number of CPUs.", + "x-example": 1, + "format": "double" + }, + "enabled": { + "type": "boolean", + "description": "Is size enabled.", + "x-example": true + }, + "slug": { + "type": "string", + "description": "Size slug.", + "x-example": "s-1vcpu-512mb" + } + }, + "required": [ + "memory", + "cpus", + "enabled", + "slug" + ] + }, + "proxyRule": { + "description": "Rule", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Rule ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Rule creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Rule update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "domain": { + "type": "string", + "description": "Domain name.", + "x-example": "appwrite.company.com" + }, + "resourceType": { + "type": "string", + "description": "Action definition for the rule. Possible values are \"api\", \"function\", or \"redirect\"", + "x-example": "function" + }, + "resourceId": { + "type": "string", + "description": "ID of resource for the action type. If resourceType is \"api\" or \"url\", it is empty. If resourceType is \"function\", it is ID of the function.", + "x-example": "myAwesomeFunction" + }, + "status": { + "type": "string", + "description": "Domain verification status. Possible values are \"created\", \"verifying\", \"verified\" and \"unverified\"", + "x-example": "verified" + }, + "logs": { + "type": "string", + "description": "Certificate generation logs. This will return an empty string if generation did not run, or succeeded.", + "x-example": "HTTP challegne failed." + }, + "renewAt": { + "type": "string", + "description": "Certificate auto-renewal date in ISO 8601 format.", + "x-example": "datetime" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "domain", + "resourceType", + "resourceId", + "status", + "logs", + "renewAt" + ] + }, + "smsTemplate": { + "description": "SmsTemplate", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Template type", + "x-example": "verification" + }, + "locale": { + "type": "string", + "description": "Template locale", + "x-example": "en_us" + }, + "message": { + "type": "string", + "description": "Template message", + "x-example": "Click on the link to verify your account." + } + }, + "required": [ + "type", + "locale", + "message" + ] + }, + "emailTemplate": { + "description": "EmailTemplate", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Template type", + "x-example": "verification" + }, + "locale": { + "type": "string", + "description": "Template locale", + "x-example": "en_us" + }, + "message": { + "type": "string", + "description": "Template message", + "x-example": "Click on the link to verify your account." + }, + "senderName": { + "type": "string", + "description": "Name of the sender", + "x-example": "My User" + }, + "senderEmail": { + "type": "string", + "description": "Email of the sender", + "x-example": "mail@appwrite.io" + }, + "replyTo": { + "type": "string", + "description": "Reply to email address", + "x-example": "emails@appwrite.io" + }, + "subject": { + "type": "string", + "description": "Email subject", + "x-example": "Please verify your email address" + } + }, + "required": [ + "type", + "locale", + "message", + "senderName", + "senderEmail", + "replyTo", + "subject" + ] + }, + "consoleVariables": { + "description": "Console Variables", + "type": "object", + "properties": { + "_APP_DOMAIN_TARGET": { + "type": "string", + "description": "CNAME target for your Appwrite custom domains.", + "x-example": "appwrite.io" + }, + "_APP_STORAGE_LIMIT": { + "type": "integer", + "description": "Maximum file size allowed for file upload in bytes.", + "x-example": "30000000", + "format": "int32" + }, + "_APP_FUNCTIONS_SIZE_LIMIT": { + "type": "integer", + "description": "Maximum file size allowed for deployment in bytes.", + "x-example": "30000000", + "format": "int32" + }, + "_APP_USAGE_STATS": { + "type": "string", + "description": "Defines if usage stats are enabled. This value is set to 'enabled' by default, to disable the usage stats set the value to 'disabled'.", + "x-example": "enabled" + }, + "_APP_VCS_ENABLED": { + "type": "boolean", + "description": "Defines if VCS (Version Control System) is enabled.", + "x-example": true + }, + "_APP_DOMAIN_ENABLED": { + "type": "boolean", + "description": "Defines if main domain is configured. If so, custom domains can be created.", + "x-example": true + }, + "_APP_ASSISTANT_ENABLED": { + "type": "boolean", + "description": "Defines if AI assistant is enabled.", + "x-example": true + } + }, + "required": [ + "_APP_DOMAIN_TARGET", + "_APP_STORAGE_LIMIT", + "_APP_FUNCTIONS_SIZE_LIMIT", + "_APP_USAGE_STATS", + "_APP_VCS_ENABLED", + "_APP_DOMAIN_ENABLED", + "_APP_ASSISTANT_ENABLED" + ] + }, + "mfaChallenge": { + "description": "MFA Challenge", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Token ID.", + "x-example": "bb8ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Token creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "5e5ea5c168bb8" + }, + "expire": { + "type": "string", + "description": "Token expiration date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + } + }, + "required": [ + "$id", + "$createdAt", + "userId", + "expire" + ] + }, + "mfaRecoveryCodes": { + "description": "MFA Recovery Codes", + "type": "object", + "properties": { + "recoveryCodes": { + "type": "array", + "description": "Recovery codes.", + "items": { + "type": "string" + }, + "x-example": [ + "a3kf0-s0cl2", + "s0co1-as98s" + ] + } + }, + "required": [ + "recoveryCodes" + ] + }, + "mfaType": { + "description": "MFAType", + "type": "object", + "properties": { + "secret": { + "type": "string", + "description": "Secret token used for TOTP factor.", + "x-example": true + }, + "uri": { + "type": "string", + "description": "URI for authenticator apps.", + "x-example": true + } + }, + "required": [ + "secret", + "uri" + ] + }, + "mfaFactors": { + "description": "MFAFactors", + "type": "object", + "properties": { + "totp": { + "type": "boolean", + "description": "Can TOTP be used for MFA challenge for this account.", + "x-example": true + }, + "phone": { + "type": "boolean", + "description": "Can phone (SMS) be used for MFA challenge for this account.", + "x-example": true + }, + "email": { + "type": "boolean", + "description": "Can email be used for MFA challenge for this account.", + "x-example": true + }, + "recoveryCode": { + "type": "boolean", + "description": "Can recovery code be used for MFA challenge for this account.", + "x-example": true + } + }, + "required": [ + "totp", + "phone", + "email", + "recoveryCode" + ] + }, + "provider": { + "description": "Provider", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Provider ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Provider creation time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Provider update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "The name for the provider instance.", + "x-example": "Mailgun" + }, + "provider": { + "type": "string", + "description": "The name of the provider service.", + "x-example": "mailgun" + }, + "enabled": { + "type": "boolean", + "description": "Is provider enabled?", + "x-example": true + }, + "type": { + "type": "string", + "description": "Type of provider.", + "x-example": "sms" + }, + "credentials": { + "type": "object", + "additionalProperties": true, + "description": "Provider credentials.", + "x-example": { + "key": "123456789" + } + }, + "options": { + "type": "object", + "additionalProperties": true, + "description": "Provider options.", + "x-example": { + "from": "sender-email@mydomain" + } + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "provider", + "enabled", + "type", + "credentials" + ] + }, + "message": { + "description": "Message", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Message ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Message creation time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Message update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "providerType": { + "type": "string", + "description": "Message provider type.", + "x-example": "email" + }, + "topics": { + "type": "array", + "description": "Topic IDs set as recipients.", + "items": { + "type": "string" + }, + "x-example": [ + "5e5ea5c16897e" + ] + }, + "users": { + "type": "array", + "description": "User IDs set as recipients.", + "items": { + "type": "string" + }, + "x-example": [ + "5e5ea5c16897e" + ] + }, + "targets": { + "type": "array", + "description": "Target IDs set as recipients.", + "items": { + "type": "string" + }, + "x-example": [ + "5e5ea5c16897e" + ] + }, + "scheduledAt": { + "type": "string", + "description": "The scheduled time for message.", + "x-example": "2020-10-15T06:38:00.000+00:00", + "x-nullable": true + }, + "deliveredAt": { + "type": "string", + "description": "The time when the message was delivered.", + "x-example": "2020-10-15T06:38:00.000+00:00", + "x-nullable": true + }, + "deliveryErrors": { + "type": "array", + "description": "Delivery errors if any.", + "items": { + "type": "string" + }, + "x-example": [ + "Failed to send message to target 5e5ea5c16897e: Credentials not valid." + ], + "x-nullable": true + }, + "deliveredTotal": { + "type": "integer", + "description": "Number of recipients the message was delivered to.", + "x-example": 1, + "format": "int32" + }, + "data": { + "type": "object", + "additionalProperties": true, + "description": "Data of the message.", + "x-example": { + "subject": "Welcome to Appwrite", + "content": "Hi there, welcome to Appwrite family." + } + }, + "status": { + "type": "string", + "description": "Status of delivery.", + "x-example": "Message status can be one of the following: draft, processing, scheduled, sent, or failed." + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "providerType", + "topics", + "users", + "targets", + "deliveredTotal", + "data", + "status" + ] + }, + "topic": { + "description": "Topic", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Topic ID.", + "x-example": "259125845563242502" + }, + "$createdAt": { + "type": "string", + "description": "Topic creation time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Topic update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "The name of the topic.", + "x-example": "events" + }, + "emailTotal": { + "type": "integer", + "description": "Total count of email subscribers subscribed to the topic.", + "x-example": 100, + "format": "int32" + }, + "smsTotal": { + "type": "integer", + "description": "Total count of SMS subscribers subscribed to the topic.", + "x-example": 100, + "format": "int32" + }, + "pushTotal": { + "type": "integer", + "description": "Total count of push subscribers subscribed to the topic.", + "x-example": 100, + "format": "int32" + }, + "subscribe": { + "type": "array", + "description": "Subscribe permissions.", + "items": { + "type": "string" + }, + "x-example": "users" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "emailTotal", + "smsTotal", + "pushTotal", + "subscribe" + ] + }, + "subscriber": { + "description": "Subscriber", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Subscriber ID.", + "x-example": "259125845563242502" + }, + "$createdAt": { + "type": "string", + "description": "Subscriber creation time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Subscriber update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "targetId": { + "type": "string", + "description": "Target ID.", + "x-example": "259125845563242502" + }, + "target": { + "type": "object", + "description": "Target.", + "x-example": { + "$id": "259125845563242502", + "$createdAt": "2020-10-15T06:38:00.000+00:00", + "$updatedAt": "2020-10-15T06:38:00.000+00:00", + "providerType": "email", + "providerId": "259125845563242502", + "name": "ageon-app-email", + "identifier": "random-mail@email.org", + "userId": "5e5ea5c16897e" + }, + "items": { + "type": "object", + "$ref": "#\/definitions\/target" + } + }, + "userId": { + "type": "string", + "description": "Topic ID.", + "x-example": "5e5ea5c16897e" + }, + "userName": { + "type": "string", + "description": "User Name.", + "x-example": "Aegon Targaryen" + }, + "topicId": { + "type": "string", + "description": "Topic ID.", + "x-example": "259125845563242502" + }, + "providerType": { + "type": "string", + "description": "The target provider type. Can be one of the following: `email`, `sms` or `push`.", + "x-example": "email" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "targetId", + "target", + "userId", + "userName", + "topicId", + "providerType" + ] + }, + "target": { + "description": "Target", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Target ID.", + "x-example": "259125845563242502" + }, + "$createdAt": { + "type": "string", + "description": "Target creation time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Target update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "Target Name.", + "x-example": "Apple iPhone 12" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "259125845563242502" + }, + "providerId": { + "type": "string", + "description": "Provider ID.", + "x-example": "259125845563242502", + "x-nullable": true + }, + "providerType": { + "type": "string", + "description": "The target provider type. Can be one of the following: `email`, `sms` or `push`.", + "x-example": "email" + }, + "identifier": { + "type": "string", + "description": "The target identifier.", + "x-example": "token" + }, + "expired": { + "type": "boolean", + "description": "Is the target expired.", + "x-example": false + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "userId", + "providerType", + "identifier", + "expired" + ] + }, + "migration": { + "description": "Migration", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Migration ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Migration creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Variable creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "status": { + "type": "string", + "description": "Migration status ( pending, processing, failed, completed ) ", + "x-example": "pending" + }, + "stage": { + "type": "string", + "description": "Migration stage ( init, processing, source-check, destination-check, migrating, finished )", + "x-example": "init" + }, + "source": { + "type": "string", + "description": "A string containing the type of source of the migration.", + "x-example": "Appwrite" + }, + "destination": { + "type": "string", + "description": "A string containing the type of destination of the migration.", + "x-example": "Appwrite" + }, + "resources": { + "type": "array", + "description": "Resources to migrate.", + "items": { + "type": "string" + }, + "x-example": [ + "user" + ] + }, + "statusCounters": { + "type": "object", + "additionalProperties": true, + "description": "A group of counters that represent the total progress of the migration.", + "x-example": "{\"Database\": {\"PENDING\": 0, \"SUCCESS\": 1, \"ERROR\": 0, \"SKIP\": 0, \"PROCESSING\": 0, \"WARNING\": 0}}" + }, + "resourceData": { + "type": "object", + "additionalProperties": true, + "description": "An array of objects containing the report data of the resources that were migrated.", + "x-example": "[{\"resource\":\"Database\",\"id\":\"public\",\"status\":\"SUCCESS\",\"message\":\"\"}]" + }, + "errors": { + "type": "array", + "description": "All errors that occurred during the migration process.", + "items": { + "type": "string" + }, + "x-example": [] + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "status", + "stage", + "source", + "destination", + "resources", + "statusCounters", + "resourceData", + "errors" + ] + }, + "migrationReport": { + "description": "Migration Report", + "type": "object", + "properties": { + "user": { + "type": "integer", + "description": "Number of users to be migrated.", + "x-example": 20, + "format": "int32" + }, + "team": { + "type": "integer", + "description": "Number of teams to be migrated.", + "x-example": 20, + "format": "int32" + }, + "database": { + "type": "integer", + "description": "Number of databases to be migrated.", + "x-example": 20, + "format": "int32" + }, + "document": { + "type": "integer", + "description": "Number of documents to be migrated.", + "x-example": 20, + "format": "int32" + }, + "file": { + "type": "integer", + "description": "Number of files to be migrated.", + "x-example": 20, + "format": "int32" + }, + "bucket": { + "type": "integer", + "description": "Number of buckets to be migrated.", + "x-example": 20, + "format": "int32" + }, + "function": { + "type": "integer", + "description": "Number of functions to be migrated.", + "x-example": 20, + "format": "int32" + }, + "size": { + "type": "integer", + "description": "Size of files to be migrated in mb.", + "x-example": 30000, + "format": "int32" + }, + "version": { + "type": "string", + "description": "Version of the Appwrite instance to be migrated.", + "x-example": "1.4.0" + } + }, + "required": [ + "user", + "team", + "database", + "document", + "file", + "bucket", + "function", + "size", + "version" + ] + } + }, + "externalDocs": { + "description": "Full API docs, specs and tutorials", + "url": "https:\/\/appwrite.io\/docs" + } +} \ No newline at end of file diff --git a/app/config/specs/swagger2-1.5.x-server.json b/app/config/specs/swagger2-1.5.x-server.json index 0040563bdb..a8b2f911a4 100644 --- a/app/config/specs/swagger2-1.5.x-server.json +++ b/app/config/specs/swagger2-1.5.x-server.json @@ -1 +1,27080 @@ -{"swagger":"2.0","info":{"version":"1.5.8","title":"Appwrite","description":"Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https:\/\/appwrite.io\/docs](https:\/\/appwrite.io\/docs)","termsOfService":"https:\/\/appwrite.io\/policy\/terms","contact":{"name":"Appwrite Team","url":"https:\/\/appwrite.io\/support","email":"team@appwrite.io"},"license":{"name":"BSD-3-Clause","url":"https:\/\/raw.githubusercontent.com\/appwrite\/appwrite\/master\/LICENSE"}},"host":"cloud.appwrite.io","basePath":"\/v1","schemes":["https"],"consumes":["application\/json","multipart\/form-data"],"produces":["application\/json"],"securityDefinitions":{"Project":{"type":"apiKey","name":"X-Appwrite-Project","description":"Your project ID","in":"header","x-appwrite":{"demo":"<YOUR_PROJECT_ID>"}},"Key":{"type":"apiKey","name":"X-Appwrite-Key","description":"Your secret API key","in":"header","x-appwrite":{"demo":"<YOUR_API_KEY>"}},"JWT":{"type":"apiKey","name":"X-Appwrite-JWT","description":"Your secret JSON Web Token","in":"header","x-appwrite":{"demo":"<YOUR_JWT>"}},"Locale":{"type":"apiKey","name":"X-Appwrite-Locale","description":"","in":"header","x-appwrite":{"demo":"en"}},"Session":{"type":"apiKey","name":"X-Appwrite-Session","description":"The user session to authenticate with","in":"header"},"ForwardedUserAgent":{"type":"apiKey","name":"X-Forwarded-User-Agent","description":"The user agent string of the client that made the request","in":"header"}},"paths":{"\/account":{"get":{"summary":"Get account","operationId":"accountGet","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Get the currently logged in user.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"get","weight":8,"cookies":false,"type":"","deprecated":false,"demo":"account\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]},"post":{"summary":"Create account","operationId":"accountCreate","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to allow a new user to register a new account in your project. After the user registration completes successfully, you can use the [\/account\/verfication](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createVerification) route to start verifying the user email address. To allow the new user to login to their new account, you need to create a new [account session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createEmailSession).","responses":{"201":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"create","weight":7,"cookies":false,"type":"","deprecated":false,"demo":"account\/create.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"password":{"type":"string","description":"New user password. Must be between 8 and 256 chars.","default":null,"x-example":null},"name":{"type":"string","description":"User name. Max length: 128 chars.","default":"","x-example":"<NAME>"}},"required":["userId","email","password"]}}]}},"\/account\/email":{"patch":{"summary":"Update email","operationId":"accountUpdateEmail","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Update currently logged in user account email address. After changing user address, the user confirmation status will get reset. A new confirmation email is not sent automatically however you can use the send confirmation email endpoint again to send the confirmation email. For security measures, user password is required to complete this request.\nThis endpoint can also be used to convert an anonymous account to a normal one, by passing an email address and a new password.\n","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updateEmail","weight":33,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-email.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"password":{"type":"string","description":"User password. Must be at least 8 chars.","default":null,"x-example":"password"}},"required":["email","password"]}}]}},"\/account\/identities":{"get":{"summary":"List Identities","operationId":"accountListIdentities","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Get the list of identities for the currently logged in user.","responses":{"200":{"description":"Identities List","schema":{"$ref":"#\/definitions\/identityList"}}},"x-appwrite":{"method":"listIdentities","weight":56,"cookies":false,"type":"","deprecated":false,"demo":"account\/list-identities.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-identities.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account\/identities","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, provider, providerUid, providerEmail, providerAccessTokenExpiry","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]}},"\/account\/identities\/{identityId}":{"delete":{"summary":"Delete identity","operationId":"accountDeleteIdentity","consumes":["application\/json"],"produces":[],"tags":["account"],"description":"Delete an identity by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteIdentity","weight":57,"cookies":false,"type":"","deprecated":false,"demo":"account\/delete-identity.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-identity.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"identityId","description":"Identity ID.","required":true,"type":"string","x-example":"<IDENTITY_ID>","in":"path"}]}},"\/account\/jwt":{"post":{"summary":"Create JWT","operationId":"accountCreateJWT","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to create a JSON Web Token. You can use the resulting JWT to authenticate on behalf of the current user when working with the Appwrite server-side API and SDKs. The JWT secret is valid for 15 minutes from its creation and will be invalid if the user will logout in that time frame.","responses":{"201":{"description":"JWT","schema":{"$ref":"#\/definitions\/jwt"}}},"x-appwrite":{"method":"createJWT","weight":28,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-j-w-t.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md","rate-limit":100,"rate-time":3600,"rate-key":"url:{url},userId:{userId}","scope":"account","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}]}},"\/account\/logs":{"get":{"summary":"List logs","operationId":"accountListLogs","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Get the list of latest security activity logs for the currently logged in user. Each log returns user IP address, location and date and time of log.","responses":{"200":{"description":"Logs List","schema":{"$ref":"#\/definitions\/logList"}}},"x-appwrite":{"method":"listLogs","weight":30,"cookies":false,"type":"","deprecated":false,"demo":"account\/list-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]}},"\/account\/mfa":{"patch":{"summary":"Update MFA","operationId":"accountUpdateMFA","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Enable or disable MFA on an account.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updateMFA","weight":43,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-m-f-a.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"mfa":{"type":"boolean","description":"Enable or disable MFA.","default":null,"x-example":false}},"required":["mfa"]}}]}},"\/account\/mfa\/authenticators\/{type}":{"post":{"summary":"Create Authenticator","operationId":"accountCreateMfaAuthenticator","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Add an authenticator app to be used as an MFA factor. Verify the authenticator using the [verify authenticator](\/docs\/references\/cloud\/client-web\/account#updateMfaAuthenticator) method.","responses":{"200":{"description":"MFAType","schema":{"$ref":"#\/definitions\/mfaType"}}},"x-appwrite":{"method":"createMfaAuthenticator","weight":45,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-mfa-authenticator.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-authenticator.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"type","description":"Type of authenticator. Must be `totp`","required":true,"type":"string","x-example":"totp","enum":["totp"],"x-enum-name":"AuthenticatorType","x-enum-keys":[],"in":"path"}]},"put":{"summary":"Verify Authenticator","operationId":"accountUpdateMfaAuthenticator","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Verify an authenticator app after adding it using the [add authenticator](\/docs\/references\/cloud\/client-web\/account#createMfaAuthenticator) method.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updateMfaAuthenticator","weight":46,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-mfa-authenticator.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-authenticator.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"type","description":"Type of authenticator.","required":true,"type":"string","x-example":"totp","enum":["totp"],"x-enum-name":"AuthenticatorType","x-enum-keys":[],"in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"otp":{"type":"string","description":"Valid verification token.","default":null,"x-example":"<OTP>"}},"required":["otp"]}}]},"delete":{"summary":"Delete Authenticator","operationId":"accountDeleteMfaAuthenticator","consumes":["application\/json"],"produces":[],"tags":["account"],"description":"Delete an authenticator for a user by ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteMfaAuthenticator","weight":50,"cookies":false,"type":"","deprecated":false,"demo":"account\/delete-mfa-authenticator.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-mfa-authenticator.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"type","description":"Type of authenticator.","required":true,"type":"string","x-example":"totp","enum":["totp"],"x-enum-name":"AuthenticatorType","x-enum-keys":[],"in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"otp":{"type":"string","description":"Valid verification token.","default":null,"x-example":"<OTP>"}},"required":["otp"]}}]}},"\/account\/mfa\/challenge":{"post":{"summary":"Create MFA Challenge","operationId":"accountCreateMfaChallenge","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Begin the process of MFA verification after sign-in. Finish the flow with [updateMfaChallenge](\/docs\/references\/cloud\/client-web\/account#updateMfaChallenge) method.","responses":{"201":{"description":"MFA Challenge","schema":{"$ref":"#\/definitions\/mfaChallenge"}}},"x-appwrite":{"method":"createMfaChallenge","weight":51,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-mfa-challenge.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},token:{param-token}","scope":"account","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"factor":{"type":"string","description":"Factor used for verification. Must be one of following: `email`, `phone`, `totp`, `recoveryCode`.","default":null,"x-example":"email","enum":["email","phone","totp","recoverycode"],"x-enum-name":"AuthenticationFactor","x-enum-keys":[]}},"required":["factor"]}}]},"put":{"summary":"Create MFA Challenge (confirmation)","operationId":"accountUpdateMfaChallenge","consumes":["application\/json"],"produces":[],"tags":["account"],"description":"Complete the MFA challenge by providing the one-time password. Finish the process of MFA verification by providing the one-time password. To begin the flow, use [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"updateMfaChallenge","weight":52,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-mfa-challenge.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md","rate-limit":10,"rate-time":3600,"rate-key":"userId:{param-userId}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"challengeId":{"type":"string","description":"ID of the challenge.","default":null,"x-example":"<CHALLENGE_ID>"},"otp":{"type":"string","description":"Valid verification token.","default":null,"x-example":"<OTP>"}},"required":["challengeId","otp"]}}]}},"\/account\/mfa\/factors":{"get":{"summary":"List Factors","operationId":"accountListMfaFactors","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"List the factors available on the account to be used as a MFA challange.","responses":{"200":{"description":"MFAFactors","schema":{"$ref":"#\/definitions\/mfaFactors"}}},"x-appwrite":{"method":"listMfaFactors","weight":44,"cookies":false,"type":"","deprecated":false,"demo":"account\/list-mfa-factors.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-mfa-factors.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/account\/mfa\/recovery-codes":{"get":{"summary":"Get MFA Recovery Codes","operationId":"accountGetMfaRecoveryCodes","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Get recovery codes that can be used as backup for MFA flow. Before getting codes, they must be generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method. An OTP challenge is required to read recovery codes.","responses":{"200":{"description":"MFA Recovery Codes","schema":{"$ref":"#\/definitions\/mfaRecoveryCodes"}}},"x-appwrite":{"method":"getMfaRecoveryCodes","weight":49,"cookies":false,"type":"","deprecated":false,"demo":"account\/get-mfa-recovery-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-mfa-recovery-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]},"post":{"summary":"Create MFA Recovery Codes","operationId":"accountCreateMfaRecoveryCodes","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Generate recovery codes as backup for MFA flow. It's recommended to generate and show then immediately after user successfully adds their authehticator. Recovery codes can be used as a MFA verification type in [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method.","responses":{"201":{"description":"MFA Recovery Codes","schema":{"$ref":"#\/definitions\/mfaRecoveryCodes"}}},"x-appwrite":{"method":"createMfaRecoveryCodes","weight":47,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-mfa-recovery-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-recovery-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]},"patch":{"summary":"Regenerate MFA Recovery Codes","operationId":"accountUpdateMfaRecoveryCodes","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Regenerate recovery codes that can be used as backup for MFA flow. Before regenerating codes, they must be first generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method. An OTP challenge is required to regenreate recovery codes.","responses":{"200":{"description":"MFA Recovery Codes","schema":{"$ref":"#\/definitions\/mfaRecoveryCodes"}}},"x-appwrite":{"method":"updateMfaRecoveryCodes","weight":48,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-mfa-recovery-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-recovery-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/account\/name":{"patch":{"summary":"Update name","operationId":"accountUpdateName","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Update currently logged in user account name.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updateName","weight":31,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-name.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-name.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"User name. Max length: 128 chars.","default":null,"x-example":"<NAME>"}},"required":["name"]}}]}},"\/account\/password":{"patch":{"summary":"Update password","operationId":"accountUpdatePassword","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Update currently logged in user password. For validation, user is required to pass in the new password, and the old password. For users created with OAuth, Team Invites and Magic URL, oldPassword is optional.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updatePassword","weight":32,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-password.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-password.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"password":{"type":"string","description":"New user password. Must be at least 8 chars.","default":null,"x-example":null},"oldPassword":{"type":"string","description":"Current user password. Must be at least 8 chars.","default":"","x-example":"password"}},"required":["password"]}}]}},"\/account\/phone":{"patch":{"summary":"Update phone","operationId":"accountUpdatePhone","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Update the currently logged in user's phone number. After updating the phone number, the phone verification status will be reset. A confirmation SMS is not sent automatically, however you can use the [POST \/account\/verification\/phone](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createPhoneVerification) endpoint to send a confirmation SMS.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updatePhone","weight":34,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-phone.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account","offline-key":"current","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"phone":{"type":"string","description":"Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","default":null,"x-example":"+12065550100"},"password":{"type":"string","description":"User password. Must be at least 8 chars.","default":null,"x-example":"password"}},"required":["phone","password"]}}]}},"\/account\/prefs":{"get":{"summary":"Get account preferences","operationId":"accountGetPrefs","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Get the preferences as a key-value object for the currently logged in user.","responses":{"200":{"description":"Preferences","schema":{"$ref":"#\/definitions\/preferences"}}},"x-appwrite":{"method":"getPrefs","weight":29,"cookies":false,"type":"","deprecated":false,"demo":"account\/get-prefs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-prefs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account\/prefs","offline-key":"current","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]},"patch":{"summary":"Update preferences","operationId":"accountUpdatePrefs","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Update currently logged in user account preferences. The object you pass is stored as is, and replaces any previous value. The maximum allowed prefs size is 64kB and throws error if exceeded.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updatePrefs","weight":35,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-prefs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-prefs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account\/prefs","offline-key":"current","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"prefs":{"type":"object","description":"Prefs key-value JSON object.","default":{},"x-example":"{}"}},"required":["prefs"]}}]}},"\/account\/recovery":{"post":{"summary":"Create password recovery","operationId":"accountCreateRecovery","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Sends the user an email with a temporary secret key for password reset. When the user clicks the confirmation link he is redirected back to your app password reset URL with the secret key and email address values attached to the URL query string. Use the query string params to submit a request to the [PUT \/account\/recovery](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateRecovery) endpoint to complete the process. The verification link sent to the user's email address is valid for 1 hour.","responses":{"201":{"description":"Token","schema":{"$ref":"#\/definitions\/token"}}},"x-appwrite":{"method":"createRecovery","weight":37,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-recovery.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-recovery.md","rate-limit":10,"rate-time":3600,"rate-key":["url:{url},email:{param-email}","url:{url},ip:{ip}"],"scope":"sessions.write","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"url":{"type":"string","description":"URL to redirect the user back to your app from the recovery email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","default":null,"x-example":"https:\/\/example.com"}},"required":["email","url"]}}]},"put":{"summary":"Create password recovery (confirmation)","operationId":"accountUpdateRecovery","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to complete the user account password reset. Both the **userId** and **secret** arguments will be passed as query parameters to the redirect URL you have provided when sending your request to the [POST \/account\/recovery](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createRecovery) endpoint.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md) the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.","responses":{"200":{"description":"Token","schema":{"$ref":"#\/definitions\/token"}}},"x-appwrite":{"method":"updateRecovery","weight":38,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-recovery.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-recovery.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},userId:{param-userId}","scope":"sessions.write","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID.","default":null,"x-example":"<USER_ID>"},"secret":{"type":"string","description":"Valid reset token.","default":null,"x-example":"<SECRET>"},"password":{"type":"string","description":"New user password. Must be between 8 and 256 chars.","default":null,"x-example":null}},"required":["userId","secret","password"]}}]}},"\/account\/sessions":{"get":{"summary":"List sessions","operationId":"accountListSessions","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Get the list of active sessions across different devices for the currently logged in user.","responses":{"200":{"description":"Sessions List","schema":{"$ref":"#\/definitions\/sessionList"}}},"x-appwrite":{"method":"listSessions","weight":10,"cookies":false,"type":"","deprecated":false,"demo":"account\/list-sessions.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-sessions.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account\/sessions","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]},"delete":{"summary":"Delete sessions","operationId":"accountDeleteSessions","consumes":["application\/json"],"produces":[],"tags":["account"],"description":"Delete all sessions from the user account and remove any sessions cookies from the end client.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteSessions","weight":11,"cookies":false,"type":"","deprecated":false,"demo":"account\/delete-sessions.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-sessions.md","rate-limit":100,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/account\/sessions\/anonymous":{"post":{"summary":"Create anonymous session","operationId":"accountCreateAnonymousSession","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to allow a new user to register an anonymous account in your project. This route will also create a new session for the user. To allow the new user to convert an anonymous account to a normal account, you need to update its [email and password](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateEmail) or create an [OAuth2 session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#CreateOAuth2Session).","responses":{"201":{"description":"Session","schema":{"$ref":"#\/definitions\/session"}}},"x-appwrite":{"method":"createAnonymousSession","weight":16,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-anonymous-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-anonymous.md","rate-limit":50,"rate-time":3600,"rate-key":"ip:{ip}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}]}},"\/account\/sessions\/email":{"post":{"summary":"Create email password session","operationId":"accountCreateEmailPasswordSession","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Allow the user to login into their account by providing a valid email and password combination. This route will create a new session for the user.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).","responses":{"201":{"description":"Session","schema":{"$ref":"#\/definitions\/session"}}},"x-appwrite":{"method":"createEmailPasswordSession","weight":15,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-email-password-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-email-password.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},email:{param-email}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"password":{"type":"string","description":"User password. Must be at least 8 chars.","default":null,"x-example":"password"}},"required":["email","password"]}}]}},"\/account\/sessions\/magic-url":{"put":{"summary":"Update magic URL session","operationId":"accountUpdateMagicURLSession","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.","responses":{"201":{"description":"Session","schema":{"$ref":"#\/definitions\/session"}}},"x-appwrite":{"method":"updateMagicURLSession","weight":25,"cookies":false,"type":"","deprecated":true,"demo":"account\/update-magic-u-r-l-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md","rate-limit":10,"rate-time":3600,"rate-key":"ip:{ip},userId:{param-userId}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"secret":{"type":"string","description":"Valid verification token.","default":null,"x-example":"<SECRET>"}},"required":["userId","secret"]}}]}},"\/account\/sessions\/phone":{"put":{"summary":"Update phone session","operationId":"accountUpdatePhoneSession","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.","responses":{"201":{"description":"Session","schema":{"$ref":"#\/definitions\/session"}}},"x-appwrite":{"method":"updatePhoneSession","weight":26,"cookies":false,"type":"","deprecated":true,"demo":"account\/update-phone-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md","rate-limit":10,"rate-time":3600,"rate-key":"ip:{ip},userId:{param-userId}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"secret":{"type":"string","description":"Valid verification token.","default":null,"x-example":"<SECRET>"}},"required":["userId","secret"]}}]}},"\/account\/sessions\/token":{"post":{"summary":"Create session","operationId":"accountCreateSession","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.","responses":{"201":{"description":"Session","schema":{"$ref":"#\/definitions\/session"}}},"x-appwrite":{"method":"createSession","weight":17,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md","rate-limit":10,"rate-time":3600,"rate-key":"ip:{ip},userId:{param-userId}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"secret":{"type":"string","description":"Secret of a token generated by login methods. For example, the `createMagicURLToken` or `createPhoneToken` methods.","default":null,"x-example":"<SECRET>"}},"required":["userId","secret"]}}]}},"\/account\/sessions\/{sessionId}":{"get":{"summary":"Get session","operationId":"accountGetSession","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to get a logged in user's session using a Session ID. Inputting 'current' will return the current session being used.","responses":{"200":{"description":"Session","schema":{"$ref":"#\/definitions\/session"}}},"x-appwrite":{"method":"getSession","weight":12,"cookies":false,"type":"","deprecated":false,"demo":"account\/get-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-session.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"\/account\/sessions","offline-key":"{sessionId}","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"sessionId","description":"Session ID. Use the string 'current' to get the current device session.","required":true,"type":"string","x-example":"<SESSION_ID>","in":"path"}]},"patch":{"summary":"Update session","operationId":"accountUpdateSession","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to extend a session's length. Extending a session is useful when session expiry is short. If the session was created using an OAuth provider, this endpoint refreshes the access token from the provider.","responses":{"200":{"description":"Session","schema":{"$ref":"#\/definitions\/session"}}},"x-appwrite":{"method":"updateSession","weight":14,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-session.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"sessionId","description":"Session ID. Use the string 'current' to update the current device session.","required":true,"type":"string","x-example":"<SESSION_ID>","in":"path"}]},"delete":{"summary":"Delete session","operationId":"accountDeleteSession","consumes":["application\/json"],"produces":[],"tags":["account"],"description":"Logout the user. Use 'current' as the session ID to logout on this device, use a session ID to logout on another device. If you're looking to logout the user on all devices, use [Delete Sessions](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#deleteSessions) instead.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteSession","weight":13,"cookies":false,"type":"","deprecated":false,"demo":"account\/delete-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-session.md","rate-limit":100,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"sessionId","description":"Session ID. Use the string 'current' to delete the current device session.","required":true,"type":"string","x-example":"<SESSION_ID>","in":"path"}]}},"\/account\/status":{"patch":{"summary":"Update status","operationId":"accountUpdateStatus","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Block the currently logged in user account. Behind the scene, the user record is not deleted but permanently blocked from any access. To completely delete a user, use the Users API instead.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updateStatus","weight":36,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-status.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-status.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]}},"\/account\/tokens\/email":{"post":{"summary":"Create email token (OTP)","operationId":"accountCreateEmailToken","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Sends the user an email with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's email is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).","responses":{"201":{"description":"Token","schema":{"$ref":"#\/definitions\/token"}}},"x-appwrite":{"method":"createEmailToken","weight":24,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-email-token.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-email.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},email:{param-email}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"phrase":{"type":"boolean","description":"Toggle for security phrase. If enabled, email will be send with a randomly generated phrase and the phrase will also be included in the response. Confirming phrases match increases the security of your authentication flow.","default":false,"x-example":false}},"required":["userId","email"]}}]}},"\/account\/tokens\/magic-url":{"post":{"summary":"Create magic URL token","operationId":"accountCreateMagicURLToken","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Sends the user an email with a secret key for creating a session. If the provided user ID has not been registered, a new user will be created. When the user clicks the link in the email, the user is redirected back to the URL you provided with the secret key and userId values attached to the URL query string. Use the query string parameters to submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The link sent to the user's email address is valid for 1 hour. If you are on a mobile device you can leave the URL parameter empty, so that the login completion will be handled by your Appwrite instance by default.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).\n","responses":{"201":{"description":"Token","schema":{"$ref":"#\/definitions\/token"}}},"x-appwrite":{"method":"createMagicURLToken","weight":23,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-magic-u-r-l-token.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-magic-url.md","rate-limit":60,"rate-time":3600,"rate-key":["url:{url},email:{param-email}","url:{url},ip:{ip}"],"scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"url":{"type":"string","description":"URL to redirect the user back to your app from the magic URL login. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","default":"","x-example":"https:\/\/example.com"},"phrase":{"type":"boolean","description":"Toggle for security phrase. If enabled, email will be send with a randomly generated phrase and the phrase will also be included in the response. Confirming phrases match increases the security of your authentication flow.","default":false,"x-example":false}},"required":["userId","email"]}}]}},"\/account\/tokens\/oauth2\/{provider}":{"get":{"summary":"Create OAuth2 token","operationId":"accountCreateOAuth2Token","consumes":["application\/json"],"produces":["text\/html"],"tags":["account"],"description":"Allow the user to login to their account using the OAuth2 provider of their choice. Each OAuth2 provider should be enabled from the Appwrite console first. Use the success and failure arguments to provide a redirect URL's back to your app when login is completed. \n\nIf authentication succeeds, `userId` and `secret` of a token will be appended to the success URL as query parameters. These can be used to create a new session using the [Create session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).","responses":{"301":{"description":"No content"}},"x-appwrite":{"method":"createOAuth2Token","weight":22,"cookies":false,"type":"webAuth","deprecated":false,"demo":"account\/create-o-auth2token.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-oauth2.md","rate-limit":50,"rate-time":3600,"rate-key":"ip:{ip}","scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"provider","description":"OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.","required":true,"type":"string","x-example":"amazon","enum":["amazon","apple","auth0","authentik","autodesk","bitbucket","bitly","box","dailymotion","discord","disqus","dropbox","etsy","facebook","github","gitlab","google","linkedin","microsoft","notion","oidc","okta","paypal","paypalSandbox","podio","salesforce","slack","spotify","stripe","tradeshift","tradeshiftBox","twitch","wordpress","yahoo","yammer","yandex","zoho","zoom","mock"],"x-enum-name":"OAuthProvider","x-enum-keys":[],"in":"path"},{"name":"success","description":"URL to redirect back to your app after a successful login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","required":false,"type":"string","format":"url","x-example":"https:\/\/example.com","default":"","in":"query"},{"name":"failure","description":"URL to redirect back to your app after a failed login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","required":false,"type":"string","format":"url","x-example":"https:\/\/example.com","default":"","in":"query"},{"name":"scopes","description":"A list of custom OAuth2 scopes. Check each provider internal docs for a list of supported scopes. Maximum of 100 scopes are allowed, each 4096 characters long.","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]}},"\/account\/tokens\/phone":{"post":{"summary":"Create phone token","operationId":"accountCreatePhoneToken","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Sends the user an SMS with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's phone is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).","responses":{"201":{"description":"Token","schema":{"$ref":"#\/definitions\/token"}}},"x-appwrite":{"method":"createPhoneToken","weight":27,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-phone-token.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-phone.md","rate-limit":10,"rate-time":3600,"rate-key":["url:{url},phone:{param-phone}","url:{url},ip:{ip}"],"scope":"sessions.write","platforms":["server","client"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[]}},"security":[{"Project":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"phone":{"type":"string","description":"Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","default":null,"x-example":"+12065550100"}},"required":["userId","phone"]}}]}},"\/account\/verification":{"post":{"summary":"Create email verification","operationId":"accountCreateVerification","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n","responses":{"201":{"description":"Token","schema":{"$ref":"#\/definitions\/token"}}},"x-appwrite":{"method":"createVerification","weight":39,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},userId:{userId}","scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"url":{"type":"string","description":"URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","default":null,"x-example":"https:\/\/example.com"}},"required":["url"]}}]},"put":{"summary":"Create email verification (confirmation)","operationId":"accountUpdateVerification","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.","responses":{"200":{"description":"Token","schema":{"$ref":"#\/definitions\/token"}}},"x-appwrite":{"method":"updateVerification","weight":40,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},userId:{param-userId}","scope":"public","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID.","default":null,"x-example":"<USER_ID>"},"secret":{"type":"string","description":"Valid verification token.","default":null,"x-example":"<SECRET>"}},"required":["userId","secret"]}}]}},"\/account\/verification\/phone":{"post":{"summary":"Create phone verification","operationId":"accountCreatePhoneVerification","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to send a verification SMS to the currently logged in user. This endpoint is meant for use after updating a user's phone number using the [accountUpdatePhone](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updatePhone) endpoint. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updatePhoneVerification). The verification code sent to the user's phone number is valid for 15 minutes.","responses":{"201":{"description":"Token","schema":{"$ref":"#\/definitions\/token"}}},"x-appwrite":{"method":"createPhoneVerification","weight":41,"cookies":false,"type":"","deprecated":false,"demo":"account\/create-phone-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-phone-verification.md","rate-limit":10,"rate-time":3600,"rate-key":["url:{url},userId:{userId}","url:{url},ip:{ip}"],"scope":"account","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}]},"put":{"summary":"Update phone verification (confirmation)","operationId":"accountUpdatePhoneVerification","consumes":["application\/json"],"produces":["application\/json"],"tags":["account"],"description":"Use this endpoint to complete the user phone verification process. Use the **userId** and **secret** that were sent to your user's phone number to verify the user email ownership. If confirmed this route will return a 200 status code.","responses":{"200":{"description":"Token","schema":{"$ref":"#\/definitions\/token"}}},"x-appwrite":{"method":"updatePhoneVerification","weight":42,"cookies":false,"type":"","deprecated":false,"demo":"account\/update-phone-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone-verification.md","rate-limit":10,"rate-time":3600,"rate-key":"userId:{param-userId}","scope":"public","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID.","default":null,"x-example":"<USER_ID>"},"secret":{"type":"string","description":"Valid verification token.","default":null,"x-example":"<SECRET>"}},"required":["userId","secret"]}}]}},"\/avatars\/browsers\/{code}":{"get":{"summary":"Get browser icon","operationId":"avatarsGetBrowser","consumes":["application\/json"],"produces":["image\/png"],"tags":["avatars"],"description":"You can use this endpoint to show different browser icons to your users. The code argument receives the browser code as it appears in your user [GET \/account\/sessions](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#getSessions) endpoint. Use width, height and quality arguments to change the output settings.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.","responses":{"200":{"description":"Image","schema":{"type":"file"}}},"x-appwrite":{"method":"getBrowser","weight":59,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-browser.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-browser.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"code","description":"Browser Code.","required":true,"type":"string","x-example":"aa","enum":["aa","an","ch","ci","cm","cr","ff","sf","mf","ps","oi","om","op","on"],"x-enum-name":"Browser","x-enum-keys":["Avant Browser","Android WebView Beta","Google Chrome","Google Chrome (iOS)","Google Chrome (Mobile)","Chromium","Mozilla Firefox","Safari","Mobile Safari","Microsoft Edge","Microsoft Edge (iOS)","Opera Mini","Opera","Opera (Next)"],"in":"path"},{"name":"width","description":"Image width. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":100,"in":"query"},{"name":"height","description":"Image height. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":100,"in":"query"},{"name":"quality","description":"Image quality. Pass an integer between 0 to 100. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":100,"in":"query"}]}},"\/avatars\/credit-cards\/{code}":{"get":{"summary":"Get credit card icon","operationId":"avatarsGetCreditCard","consumes":["application\/json"],"produces":["image\/png"],"tags":["avatars"],"description":"The credit card endpoint will return you the icon of the credit card provider you need. Use width, height and quality arguments to change the output settings.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n","responses":{"200":{"description":"Image","schema":{"type":"file"}}},"x-appwrite":{"method":"getCreditCard","weight":58,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-credit-card.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-credit-card.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"code","description":"Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, union-china-pay, visa, mir, maestro.","required":true,"type":"string","x-example":"amex","enum":["amex","argencard","cabal","cencosud","diners","discover","elo","hipercard","jcb","mastercard","naranja","targeta-shopping","union-china-pay","visa","mir","maestro"],"x-enum-name":"CreditCard","x-enum-keys":["American Express","Argencard","Cabal","Cencosud","Diners Club","Discover","Elo","Hipercard","JCB","Mastercard","Naranja","Tarjeta Shopping","Union China Pay","Visa","MIR","Maestro"],"in":"path"},{"name":"width","description":"Image width. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":100,"in":"query"},{"name":"height","description":"Image height. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":100,"in":"query"},{"name":"quality","description":"Image quality. Pass an integer between 0 to 100. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":100,"in":"query"}]}},"\/avatars\/favicon":{"get":{"summary":"Get favicon","operationId":"avatarsGetFavicon","consumes":["application\/json"],"produces":["image\/*"],"tags":["avatars"],"description":"Use this endpoint to fetch the favorite icon (AKA favicon) of any remote website URL.\n","responses":{"200":{"description":"Image","schema":{"type":"file"}}},"x-appwrite":{"method":"getFavicon","weight":62,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-favicon.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-favicon.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"url","description":"Website URL which you want to fetch the favicon from.","required":true,"type":"string","format":"url","x-example":"https:\/\/example.com","in":"query"}]}},"\/avatars\/flags\/{code}":{"get":{"summary":"Get country flag","operationId":"avatarsGetFlag","consumes":["application\/json"],"produces":["image\/png"],"tags":["avatars"],"description":"You can use this endpoint to show different country flags icons to your users. The code argument receives the 2 letter country code. Use width, height and quality arguments to change the output settings. Country codes follow the [ISO 3166-1](https:\/\/en.wikipedia.org\/wiki\/ISO_3166-1) standard.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n","responses":{"200":{"description":"Image","schema":{"type":"file"}}},"x-appwrite":{"method":"getFlag","weight":60,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-flag.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-flag.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"code","description":"Country Code. ISO Alpha-2 country code format.","required":true,"type":"string","x-example":"af","enum":["af","ao","al","ad","ae","ar","am","ag","au","at","az","bi","be","bj","bf","bd","bg","bh","bs","ba","by","bz","bo","br","bb","bn","bt","bw","cf","ca","ch","cl","cn","ci","cm","cd","cg","co","km","cv","cr","cu","cy","cz","de","dj","dm","dk","do","dz","ec","eg","er","es","ee","et","fi","fj","fr","fm","ga","gb","ge","gh","gn","gm","gw","gq","gr","gd","gt","gy","hn","hr","ht","hu","id","in","ie","ir","iq","is","il","it","jm","jo","jp","kz","ke","kg","kh","ki","kn","kr","kw","la","lb","lr","ly","lc","li","lk","ls","lt","lu","lv","ma","mc","md","mg","mv","mx","mh","mk","ml","mt","mm","me","mn","mz","mr","mu","mw","my","na","ne","ng","ni","nl","no","np","nr","nz","om","pk","pa","pe","ph","pw","pg","pl","pf","kp","pt","py","qa","ro","ru","rw","sa","sd","sn","sg","sb","sl","sv","sm","so","rs","ss","st","sr","sk","si","se","sz","sc","sy","td","tg","th","tj","tm","tl","to","tt","tn","tr","tv","tz","ug","ua","uy","us","uz","va","vc","ve","vn","vu","ws","ye","za","zm","zw"],"x-enum-name":"Flag","x-enum-keys":["Afghanistan","Angola","Albania","Andorra","United Arab Emirates","Argentina","Armenia","Antigua and Barbuda","Australia","Austria","Azerbaijan","Burundi","Belgium","Benin","Burkina Faso","Bangladesh","Bulgaria","Bahrain","Bahamas","Bosnia and Herzegovina","Belarus","Belize","Bolivia","Brazil","Barbados","Brunei Darussalam","Bhutan","Botswana","Central African Republic","Canada","Switzerland","Chile","China","C\u00f4te d'Ivoire","Cameroon","Democratic Republic of the Congo","Republic of the Congo","Colombia","Comoros","Cape Verde","Costa Rica","Cuba","Cyprus","Czech Republic","Germany","Djibouti","Dominica","Denmark","Dominican Republic","Algeria","Ecuador","Egypt","Eritrea","Spain","Estonia","Ethiopia","Finland","Fiji","France","Micronesia (Federated States of)","Gabon","United Kingdom","Georgia","Ghana","Guinea","Gambia","Guinea-Bissau","Equatorial Guinea","Greece","Grenada","Guatemala","Guyana","Honduras","Croatia","Haiti","Hungary","Indonesia","India","Ireland","Iran (Islamic Republic of)","Iraq","Iceland","Israel","Italy","Jamaica","Jordan","Japan","Kazakhstan","Kenya","Kyrgyzstan","Cambodia","Kiribati","Saint Kitts and Nevis","South Korea","Kuwait","Lao People's Democratic Republic","Lebanon","Liberia","Libya","Saint Lucia","Liechtenstein","Sri Lanka","Lesotho","Lithuania","Luxembourg","Latvia","Morocco","Monaco","Moldova","Madagascar","Maldives","Mexico","Marshall Islands","North Macedonia","Mali","Malta","Myanmar","Montenegro","Mongolia","Mozambique","Mauritania","Mauritius","Malawi","Malaysia","Namibia","Niger","Nigeria","Nicaragua","Netherlands","Norway","Nepal","Nauru","New Zealand","Oman","Pakistan","Panama","Peru","Philippines","Palau","Papua New Guinea","Poland","French Polynesia","North Korea","Portugal","Paraguay","Qatar","Romania","Russia","Rwanda","Saudi Arabia","Sudan","Senegal","Singapore","Solomon Islands","Sierra Leone","El Salvador","San Marino","Somalia","Serbia","South Sudan","Sao Tome and Principe","Suriname","Slovakia","Slovenia","Sweden","Eswatini","Seychelles","Syria","Chad","Togo","Thailand","Tajikistan","Turkmenistan","Timor-Leste","Tonga","Trinidad and Tobago","Tunisia","Turkey","Tuvalu","Tanzania","Uganda","Ukraine","Uruguay","United States","Uzbekistan","Vatican City","Saint Vincent and the Grenadines","Venezuela","Vietnam","Vanuatu","Samoa","Yemen","South Africa","Zambia","Zimbabwe"],"in":"path"},{"name":"width","description":"Image width. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":100,"in":"query"},{"name":"height","description":"Image height. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":100,"in":"query"},{"name":"quality","description":"Image quality. Pass an integer between 0 to 100. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":100,"in":"query"}]}},"\/avatars\/image":{"get":{"summary":"Get image from URL","operationId":"avatarsGetImage","consumes":["application\/json"],"produces":["image\/*"],"tags":["avatars"],"description":"Use this endpoint to fetch a remote image URL and crop it to any image size you want. This endpoint is very useful if you need to crop and display remote images in your app or in case you want to make sure a 3rd party image is properly served using a TLS protocol.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 400x400px.\n","responses":{"200":{"description":"Image","schema":{"type":"file"}}},"x-appwrite":{"method":"getImage","weight":61,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-image.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-image.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"url","description":"Image URL which you want to crop.","required":true,"type":"string","format":"url","x-example":"https:\/\/example.com","in":"query"},{"name":"width","description":"Resize preview image width, Pass an integer between 0 to 2000. Defaults to 400.","required":false,"type":"integer","format":"int32","x-example":0,"default":400,"in":"query"},{"name":"height","description":"Resize preview image height, Pass an integer between 0 to 2000. Defaults to 400.","required":false,"type":"integer","format":"int32","x-example":0,"default":400,"in":"query"}]}},"\/avatars\/initials":{"get":{"summary":"Get user initials","operationId":"avatarsGetInitials","consumes":["application\/json"],"produces":["image\/png"],"tags":["avatars"],"description":"Use this endpoint to show your user initials avatar icon on your website or app. By default, this route will try to print your logged-in user name or email initials. You can also overwrite the user name if you pass the 'name' parameter. If no name is given and no user is logged, an empty avatar will be returned.\n\nYou can use the color and background params to change the avatar colors. By default, a random theme will be selected. The random theme will persist for the user's initials when reloading the same theme will always return for the same initials.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n","responses":{"200":{"description":"Image","schema":{"type":"file"}}},"x-appwrite":{"method":"getInitials","weight":64,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-initials.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-initials.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"name","description":"Full Name. When empty, current user name or email will be used. Max length: 128 chars.","required":false,"type":"string","x-example":"<NAME>","default":"","in":"query"},{"name":"width","description":"Image width. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":500,"in":"query"},{"name":"height","description":"Image height. Pass an integer between 0 to 2000. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":500,"in":"query"},{"name":"background","description":"Changes background color. By default a random color will be picked and stay will persistent to the given name.","required":false,"type":"string","default":"","in":"query"}]}},"\/avatars\/qr":{"get":{"summary":"Get QR code","operationId":"avatarsGetQR","consumes":["application\/json"],"produces":["image\/png"],"tags":["avatars"],"description":"Converts a given plain text to a QR code image. You can use the query parameters to change the size and style of the resulting image.\n","responses":{"200":{"description":"Image","schema":{"type":"file"}}},"x-appwrite":{"method":"getQR","weight":63,"cookies":false,"type":"location","deprecated":false,"demo":"avatars\/get-q-r.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-qr.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"avatars.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"text","description":"Plain text to be converted to QR code image.","required":true,"type":"string","x-example":"<TEXT>","in":"query"},{"name":"size","description":"QR code size. Pass an integer between 1 to 1000. Defaults to 400.","required":false,"type":"integer","format":"int32","x-example":1,"default":400,"in":"query"},{"name":"margin","description":"Margin from edge. Pass an integer between 0 to 10. Defaults to 1.","required":false,"type":"integer","format":"int32","x-example":0,"default":1,"in":"query"},{"name":"download","description":"Return resulting image with 'Content-Disposition: attachment ' headers for the browser to start downloading it. Pass 0 for no header, or 1 for otherwise. Default value is set to 0.","required":false,"type":"boolean","x-example":false,"default":false,"in":"query"}]}},"\/databases":{"get":{"summary":"List databases","operationId":"databasesList","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Get a list of all databases from the current Appwrite project. You can use the search parameter to filter your results.","responses":{"200":{"description":"Databases List","schema":{"$ref":"#\/definitions\/databaseList"}}},"x-appwrite":{"method":"list","weight":69,"cookies":false,"type":"","deprecated":false,"demo":"databases\/list.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"databases.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]},"post":{"summary":"Create database","operationId":"databasesCreate","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Create a new Database.\n","responses":{"201":{"description":"Database","schema":{"$ref":"#\/definitions\/database"}}},"x-appwrite":{"method":"create","weight":68,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"databases.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"databaseId":{"type":"string","description":"Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<DATABASE_ID>"},"name":{"type":"string","description":"Database name. Max length: 128 chars.","default":null,"x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Is the database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.","default":true,"x-example":false}},"required":["databaseId","name"]}}]}},"\/databases\/{databaseId}":{"get":{"summary":"Get database","operationId":"databasesGet","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Get a database by its unique ID. This endpoint response returns a JSON object with the database metadata.","responses":{"200":{"description":"Database","schema":{"$ref":"#\/definitions\/database"}}},"x-appwrite":{"method":"get","weight":70,"cookies":false,"type":"","deprecated":false,"demo":"databases\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"databases.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"}]},"put":{"summary":"Update database","operationId":"databasesUpdate","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Update a database by its unique ID.","responses":{"200":{"description":"Database","schema":{"$ref":"#\/definitions\/database"}}},"x-appwrite":{"method":"update","weight":72,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"databases.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Database name. Max length: 128 chars.","default":null,"x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Is database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.","default":true,"x-example":false}},"required":["name"]}}]},"delete":{"summary":"Delete database","operationId":"databasesDelete","consumes":["application\/json"],"produces":[],"tags":["databases"],"description":"Delete a database by its unique ID. Only API keys with with databases.write scope can delete a database.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"delete","weight":73,"cookies":false,"type":"","deprecated":false,"demo":"databases\/delete.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"databases.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"}]}},"\/databases\/{databaseId}\/collections":{"get":{"summary":"List collections","operationId":"databasesListCollections","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Get a list of all collections that belong to the provided databaseId. You can use the search parameter to filter your results.","responses":{"200":{"description":"Collections List","schema":{"$ref":"#\/definitions\/collectionList"}}},"x-appwrite":{"method":"listCollections","weight":75,"cookies":false,"type":"","deprecated":false,"demo":"databases\/list-collections.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-collections.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, enabled, documentSecurity","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]},"post":{"summary":"Create collection","operationId":"databasesCreateCollection","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Create a new Collection. Before using this route, you should create a new database resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.","responses":{"201":{"description":"Collection","schema":{"$ref":"#\/definitions\/collection"}}},"x-appwrite":{"method":"createCollection","weight":74,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-collection.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-collection.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"collectionId":{"type":"string","description":"Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<COLLECTION_ID>"},"name":{"type":"string","description":"Collection name. Max length: 128 chars.","default":null,"x-example":"<NAME>"},"permissions":{"type":"array","description":"An array of permissions strings. By default, no user is granted with any permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","default":null,"x-example":"[\"read(\"any\")\"]","items":{"type":"string"}},"documentSecurity":{"type":"boolean","description":"Enables configuring permissions for individual documents. A user needs one of document or collection level permissions to access a document. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","default":false,"x-example":false},"enabled":{"type":"boolean","description":"Is collection enabled? When set to 'disabled', users cannot access the collection but Server SDKs with and API key can still read and write to the collection. No data is lost when this is toggled.","default":true,"x-example":false}},"required":["collectionId","name"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}":{"get":{"summary":"Get collection","operationId":"databasesGetCollection","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Get a collection by its unique ID. This endpoint response returns a JSON object with the collection metadata.","responses":{"200":{"description":"Collection","schema":{"$ref":"#\/definitions\/collection"}}},"x-appwrite":{"method":"getCollection","weight":76,"cookies":false,"type":"","deprecated":false,"demo":"databases\/get-collection.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID.","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"}]},"put":{"summary":"Update collection","operationId":"databasesUpdateCollection","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Update a collection by its unique ID.","responses":{"200":{"description":"Collection","schema":{"$ref":"#\/definitions\/collection"}}},"x-appwrite":{"method":"updateCollection","weight":78,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-collection.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-collection.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID.","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Collection name. Max length: 128 chars.","default":null,"x-example":"<NAME>"},"permissions":{"type":"array","description":"An array of permission strings. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","default":null,"x-example":"[\"read(\"any\")\"]","items":{"type":"string"}},"documentSecurity":{"type":"boolean","description":"Enables configuring permissions for individual documents. A user needs one of document or collection level permissions to access a document. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","default":false,"x-example":false},"enabled":{"type":"boolean","description":"Is collection enabled? When set to 'disabled', users cannot access the collection but Server SDKs with and API key can still read and write to the collection. No data is lost when this is toggled.","default":true,"x-example":false}},"required":["name"]}}]},"delete":{"summary":"Delete collection","operationId":"databasesDeleteCollection","consumes":["application\/json"],"produces":[],"tags":["databases"],"description":"Delete a collection by its unique ID. Only users with write permissions have access to delete this resource.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteCollection","weight":79,"cookies":false,"type":"","deprecated":false,"demo":"databases\/delete-collection.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-collection.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID.","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes":{"get":{"summary":"List attributes","operationId":"databasesListAttributes","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"List attributes in the collection.","responses":{"200":{"description":"Attributes List","schema":{"$ref":"#\/definitions\/attributeList"}}},"x-appwrite":{"method":"listAttributes","weight":90,"cookies":false,"type":"","deprecated":false,"demo":"databases\/list-attributes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-attributes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, size, required, array, status, error","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/boolean":{"post":{"summary":"Create boolean attribute","operationId":"databasesCreateBooleanAttribute","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Create a boolean attribute.\n","responses":{"202":{"description":"AttributeBoolean","schema":{"$ref":"#\/definitions\/attributeBoolean"}}},"x-appwrite":{"method":"createBooleanAttribute","weight":87,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-boolean-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-boolean-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","default":null,"x-example":null},"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"default":{"type":"boolean","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":false},"array":{"type":"boolean","description":"Is attribute an array?","default":false,"x-example":false}},"required":["key","required"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/boolean\/{key}":{"patch":{"summary":"Update boolean attribute","operationId":"databasesUpdateBooleanAttribute","consumes":["application\/json"],"produces":[],"tags":["databases"],"description":"Update a boolean attribute. Changing the `default` value will not update already existing documents.","responses":{"200":{"description":"AttributeBoolean","schema":{"$ref":"#\/definitions\/attributeBoolean"}}},"x-appwrite":{"method":"updateBooleanAttribute","weight":99,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-boolean-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-boolean-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"key","description":"Attribute Key.","required":true,"type":"string","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"default":{"type":"boolean","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":false,"x-nullable":true}},"required":["required","default"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/datetime":{"post":{"summary":"Create datetime attribute","operationId":"databasesCreateDatetimeAttribute","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Create a date time attribute according to the ISO 8601 standard.","responses":{"202":{"description":"AttributeDatetime","schema":{"$ref":"#\/definitions\/attributeDatetime"}}},"x-appwrite":{"method":"createDatetimeAttribute","weight":88,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-datetime-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-datetime-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","default":null,"x-example":null},"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"default":{"type":"string","description":"Default value for the attribute in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. Cannot be set when attribute is required.","default":null,"x-example":null},"array":{"type":"boolean","description":"Is attribute an array?","default":false,"x-example":false}},"required":["key","required"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/datetime\/{key}":{"patch":{"summary":"Update dateTime attribute","operationId":"databasesUpdateDatetimeAttribute","consumes":["application\/json"],"produces":[],"tags":["databases"],"description":"Update a date time attribute. Changing the `default` value will not update already existing documents.","responses":{"200":{"description":"AttributeDatetime","schema":{"$ref":"#\/definitions\/attributeDatetime"}}},"x-appwrite":{"method":"updateDatetimeAttribute","weight":100,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-datetime-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-datetime-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"key","description":"Attribute Key.","required":true,"type":"string","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":null,"x-nullable":true}},"required":["required","default"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/email":{"post":{"summary":"Create email attribute","operationId":"databasesCreateEmailAttribute","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Create an email attribute.\n","responses":{"202":{"description":"AttributeEmail","schema":{"$ref":"#\/definitions\/attributeEmail"}}},"x-appwrite":{"method":"createEmailAttribute","weight":81,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-email-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-email-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","default":null,"x-example":null},"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":"email@example.com"},"array":{"type":"boolean","description":"Is attribute an array?","default":false,"x-example":false}},"required":["key","required"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/email\/{key}":{"patch":{"summary":"Update email attribute","operationId":"databasesUpdateEmailAttribute","consumes":["application\/json"],"produces":[],"tags":["databases"],"description":"Update an email attribute. Changing the `default` value will not update already existing documents.\n","responses":{"200":{"description":"AttributeEmail","schema":{"$ref":"#\/definitions\/attributeEmail"}}},"x-appwrite":{"method":"updateEmailAttribute","weight":93,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-email-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-email-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"key","description":"Attribute Key.","required":true,"type":"string","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":"email@example.com","x-nullable":true}},"required":["required","default"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/enum":{"post":{"summary":"Create enum attribute","operationId":"databasesCreateEnumAttribute","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Create an enumeration attribute. The `elements` param acts as a white-list of accepted values for this attribute. \n","responses":{"202":{"description":"AttributeEnum","schema":{"$ref":"#\/definitions\/attributeEnum"}}},"x-appwrite":{"method":"createEnumAttribute","weight":82,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-enum-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-attribute-enum.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","default":null,"x-example":null},"elements":{"type":"array","description":"Array of elements in enumerated type. Uses length of longest element to determine size. Maximum of 100 elements are allowed, each 255 characters long.","default":null,"x-example":null,"items":{"type":"string"}},"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":"<DEFAULT>"},"array":{"type":"boolean","description":"Is attribute an array?","default":false,"x-example":false}},"required":["key","elements","required"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/enum\/{key}":{"patch":{"summary":"Update enum attribute","operationId":"databasesUpdateEnumAttribute","consumes":["application\/json"],"produces":[],"tags":["databases"],"description":"Update an enum attribute. Changing the `default` value will not update already existing documents.\n","responses":{"200":{"description":"AttributeEnum","schema":{"$ref":"#\/definitions\/attributeEnum"}}},"x-appwrite":{"method":"updateEnumAttribute","weight":94,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-enum-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-enum-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"key","description":"Attribute Key.","required":true,"type":"string","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"elements":{"type":"array","description":"Array of elements in enumerated type. Uses length of longest element to determine size. Maximum of 100 elements are allowed, each 255 characters long.","default":null,"x-example":null,"items":{"type":"string"}},"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":"<DEFAULT>","x-nullable":true}},"required":["elements","required","default"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/float":{"post":{"summary":"Create float attribute","operationId":"databasesCreateFloatAttribute","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Create a float attribute. Optionally, minimum and maximum values can be provided.\n","responses":{"202":{"description":"AttributeFloat","schema":{"$ref":"#\/definitions\/attributeFloat"}}},"x-appwrite":{"method":"createFloatAttribute","weight":86,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-float-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-float-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","default":null,"x-example":null},"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"min":{"type":"number","description":"Minimum value to enforce on new documents","default":null,"x-example":null},"max":{"type":"number","description":"Maximum value to enforce on new documents","default":null,"x-example":null},"default":{"type":"number","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":null},"array":{"type":"boolean","description":"Is attribute an array?","default":false,"x-example":false}},"required":["key","required"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/float\/{key}":{"patch":{"summary":"Update float attribute","operationId":"databasesUpdateFloatAttribute","consumes":["application\/json"],"produces":[],"tags":["databases"],"description":"Update a float attribute. Changing the `default` value will not update already existing documents.\n","responses":{"200":{"description":"AttributeFloat","schema":{"$ref":"#\/definitions\/attributeFloat"}}},"x-appwrite":{"method":"updateFloatAttribute","weight":98,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-float-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-float-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"key","description":"Attribute Key.","required":true,"type":"string","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"min":{"type":"number","description":"Minimum value to enforce on new documents","default":null,"x-example":null},"max":{"type":"number","description":"Maximum value to enforce on new documents","default":null,"x-example":null},"default":{"type":"number","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":null,"x-nullable":true}},"required":["required","min","max","default"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/integer":{"post":{"summary":"Create integer attribute","operationId":"databasesCreateIntegerAttribute","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Create an integer attribute. Optionally, minimum and maximum values can be provided.\n","responses":{"202":{"description":"AttributeInteger","schema":{"$ref":"#\/definitions\/attributeInteger"}}},"x-appwrite":{"method":"createIntegerAttribute","weight":85,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-integer-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-integer-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","default":null,"x-example":null},"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"min":{"type":"integer","description":"Minimum value to enforce on new documents","default":null,"x-example":null},"max":{"type":"integer","description":"Maximum value to enforce on new documents","default":null,"x-example":null},"default":{"type":"integer","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":null},"array":{"type":"boolean","description":"Is attribute an array?","default":false,"x-example":false}},"required":["key","required"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/integer\/{key}":{"patch":{"summary":"Update integer attribute","operationId":"databasesUpdateIntegerAttribute","consumes":["application\/json"],"produces":[],"tags":["databases"],"description":"Update an integer attribute. Changing the `default` value will not update already existing documents.\n","responses":{"200":{"description":"AttributeInteger","schema":{"$ref":"#\/definitions\/attributeInteger"}}},"x-appwrite":{"method":"updateIntegerAttribute","weight":97,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-integer-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-integer-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"key","description":"Attribute Key.","required":true,"type":"string","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"min":{"type":"integer","description":"Minimum value to enforce on new documents","default":null,"x-example":null},"max":{"type":"integer","description":"Maximum value to enforce on new documents","default":null,"x-example":null},"default":{"type":"integer","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":null,"x-nullable":true}},"required":["required","min","max","default"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/ip":{"post":{"summary":"Create IP address attribute","operationId":"databasesCreateIpAttribute","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Create IP address attribute.\n","responses":{"202":{"description":"AttributeIP","schema":{"$ref":"#\/definitions\/attributeIp"}}},"x-appwrite":{"method":"createIpAttribute","weight":83,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-ip-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-ip-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","default":null,"x-example":null},"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":null},"array":{"type":"boolean","description":"Is attribute an array?","default":false,"x-example":false}},"required":["key","required"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/ip\/{key}":{"patch":{"summary":"Update IP address attribute","operationId":"databasesUpdateIpAttribute","consumes":["application\/json"],"produces":[],"tags":["databases"],"description":"Update an ip attribute. Changing the `default` value will not update already existing documents.\n","responses":{"200":{"description":"AttributeIP","schema":{"$ref":"#\/definitions\/attributeIp"}}},"x-appwrite":{"method":"updateIpAttribute","weight":95,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-ip-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-ip-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"key","description":"Attribute Key.","required":true,"type":"string","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":null,"x-nullable":true}},"required":["required","default"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/relationship":{"post":{"summary":"Create relationship attribute","operationId":"databasesCreateRelationshipAttribute","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Create relationship attribute. [Learn more about relationship attributes](https:\/\/appwrite.io\/docs\/databases-relationships#relationship-attributes).\n","responses":{"202":{"description":"AttributeRelationship","schema":{"$ref":"#\/definitions\/attributeRelationship"}}},"x-appwrite":{"method":"createRelationshipAttribute","weight":89,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-relationship-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-relationship-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"relatedCollectionId":{"type":"string","description":"Related Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","default":null,"x-example":"<RELATED_COLLECTION_ID>"},"type":{"type":"string","description":"Relation type","default":null,"x-example":"oneToOne","enum":["oneToOne","manyToOne","manyToMany","oneToMany"],"x-enum-name":"RelationshipType","x-enum-keys":[]},"twoWay":{"type":"boolean","description":"Is Two Way?","default":false,"x-example":false},"key":{"type":"string","description":"Attribute Key.","default":null,"x-example":null},"twoWayKey":{"type":"string","description":"Two Way Attribute Key.","default":null,"x-example":null},"onDelete":{"type":"string","description":"Constraints option","default":"restrict","x-example":"cascade","enum":["cascade","restrict","setNull"],"x-enum-name":"RelationMutate","x-enum-keys":[]}},"required":["relatedCollectionId","type"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/string":{"post":{"summary":"Create string attribute","operationId":"databasesCreateStringAttribute","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Create a string attribute.\n","responses":{"202":{"description":"AttributeString","schema":{"$ref":"#\/definitions\/attributeString"}}},"x-appwrite":{"method":"createStringAttribute","weight":80,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-string-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-string-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","default":null,"x-example":null},"size":{"type":"integer","description":"Attribute size for text attributes, in number of characters.","default":null,"x-example":1},"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":"<DEFAULT>"},"array":{"type":"boolean","description":"Is attribute an array?","default":false,"x-example":false},"encrypt":{"type":"boolean","description":"Toggle encryption for the attribute. Encryption enhances security by not storing any plain text values in the database. However, encrypted attributes cannot be queried.","default":false,"x-example":false}},"required":["key","size","required"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/string\/{key}":{"patch":{"summary":"Update string attribute","operationId":"databasesUpdateStringAttribute","consumes":["application\/json"],"produces":[],"tags":["databases"],"description":"Update a string attribute. Changing the `default` value will not update already existing documents.\n","responses":{"200":{"description":"AttributeString","schema":{"$ref":"#\/definitions\/attributeString"}}},"x-appwrite":{"method":"updateStringAttribute","weight":92,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-string-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-string-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"key","description":"Attribute Key.","required":true,"type":"string","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":"<DEFAULT>","x-nullable":true}},"required":["required","default"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/url":{"post":{"summary":"Create URL attribute","operationId":"databasesCreateUrlAttribute","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Create a URL attribute.\n","responses":{"202":{"description":"AttributeURL","schema":{"$ref":"#\/definitions\/attributeUrl"}}},"x-appwrite":{"method":"createUrlAttribute","weight":84,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-url-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-url-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","default":null,"x-example":null},"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":"https:\/\/example.com"},"array":{"type":"boolean","description":"Is attribute an array?","default":false,"x-example":false}},"required":["key","required"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/url\/{key}":{"patch":{"summary":"Update URL attribute","operationId":"databasesUpdateUrlAttribute","consumes":["application\/json"],"produces":[],"tags":["databases"],"description":"Update an url attribute. Changing the `default` value will not update already existing documents.\n","responses":{"200":{"description":"AttributeURL","schema":{"$ref":"#\/definitions\/attributeUrl"}}},"x-appwrite":{"method":"updateUrlAttribute","weight":96,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-url-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-url-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"key","description":"Attribute Key.","required":true,"type":"string","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"required":{"type":"boolean","description":"Is attribute required?","default":null,"x-example":false},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","default":null,"x-example":"https:\/\/example.com","x-nullable":true}},"required":["required","default"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/{key}":{"get":{"summary":"Get attribute","operationId":"databasesGetAttribute","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Get attribute by ID.","responses":{"200":{"description":"AttributeBoolean, or AttributeInteger, or AttributeFloat, or AttributeEmail, or AttributeEnum, or AttributeURL, or AttributeIP, or AttributeDatetime, or AttributeRelationship, or AttributeString","schema":{"x-oneOf":[{"$ref":"#\/definitions\/attributeBoolean"},{"$ref":"#\/definitions\/attributeInteger"},{"$ref":"#\/definitions\/attributeFloat"},{"$ref":"#\/definitions\/attributeEmail"},{"$ref":"#\/definitions\/attributeEnum"},{"$ref":"#\/definitions\/attributeUrl"},{"$ref":"#\/definitions\/attributeIp"},{"$ref":"#\/definitions\/attributeDatetime"},{"$ref":"#\/definitions\/attributeRelationship"},{"$ref":"#\/definitions\/attributeString"}]}}},"x-appwrite":{"method":"getAttribute","weight":91,"cookies":false,"type":"","deprecated":false,"demo":"databases\/get-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"key","description":"Attribute Key.","required":true,"type":"string","in":"path"}]},"delete":{"summary":"Delete attribute","operationId":"databasesDeleteAttribute","consumes":["application\/json"],"produces":[],"tags":["databases"],"description":"Deletes an attribute.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteAttribute","weight":102,"cookies":false,"type":"","deprecated":false,"demo":"databases\/delete-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"key","description":"Attribute Key.","required":true,"type":"string","in":"path"}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/{key}\/relationship":{"patch":{"summary":"Update relationship attribute","operationId":"databasesUpdateRelationshipAttribute","consumes":["application\/json"],"produces":[],"tags":["databases"],"description":"Update relationship attribute. [Learn more about relationship attributes](https:\/\/appwrite.io\/docs\/databases-relationships#relationship-attributes).\n","responses":{"200":{"description":"AttributeRelationship","schema":{"$ref":"#\/definitions\/attributeRelationship"}}},"x-appwrite":{"method":"updateRelationshipAttribute","weight":101,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-relationship-attribute.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-relationship-attribute.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"key","description":"Attribute Key.","required":true,"type":"string","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"onDelete":{"type":"string","description":"Constraints option","default":null,"x-example":"cascade","enum":["cascade","restrict","setNull"],"x-enum-name":"RelationMutate","x-enum-keys":[]}}}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/documents":{"get":{"summary":"List documents","operationId":"databasesListDocuments","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Get a list of all the user's documents in a given collection. You can use the query params to filter your results.","responses":{"200":{"description":"Documents List","schema":{"$ref":"#\/definitions\/documentList"}}},"x-appwrite":{"method":"listDocuments","weight":108,"cookies":false,"type":"","deprecated":false,"demo":"databases\/list-documents.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-documents.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"documents.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/databases\/{databaseId}\/collections\/{collectionId}\/documents","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]},"post":{"summary":"Create document","operationId":"databasesCreateDocument","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.","responses":{"201":{"description":"Document","schema":{"$ref":"#\/definitions\/document"}}},"x-appwrite":{"method":"createDocument","weight":107,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-document.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-document.md","rate-limit":120,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId}","scope":"documents.write","platforms":["client","server","server"],"packaging":false,"offline-model":"\/databases\/{databaseId}\/collections\/{collectionId}\/documents","offline-key":"{documentId}","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection). Make sure to define attributes before creating documents.","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"documentId":{"type":"string","description":"Document ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<DOCUMENT_ID>"},"data":{"type":"object","description":"Document data as JSON object.","default":{},"x-example":"{}"},"permissions":{"type":"array","description":"An array of permissions strings. By default, only the current user is granted all permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","default":null,"x-example":"[\"read(\"any\")\"]","items":{"type":"string"}}},"required":["documentId","data"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}":{"get":{"summary":"Get document","operationId":"databasesGetDocument","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Get a document by its unique ID. This endpoint response returns a JSON object with the document data.","responses":{"200":{"description":"Document","schema":{"$ref":"#\/definitions\/document"}}},"x-appwrite":{"method":"getDocument","weight":109,"cookies":false,"type":"","deprecated":false,"demo":"databases\/get-document.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"documents.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/databases\/{databaseId}\/collections\/{collectionId}\/documents","offline-key":"{documentId}","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"documentId","description":"Document ID.","required":true,"type":"string","x-example":"<DOCUMENT_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]},"patch":{"summary":"Update document","operationId":"databasesUpdateDocument","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Update a document by its unique ID. Using the patch method you can pass only specific fields that will get updated.","responses":{"200":{"description":"Document","schema":{"$ref":"#\/definitions\/document"}}},"x-appwrite":{"method":"updateDocument","weight":111,"cookies":false,"type":"","deprecated":false,"demo":"databases\/update-document.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-document.md","rate-limit":120,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId}","scope":"documents.write","platforms":["client","server","server"],"packaging":false,"offline-model":"\/databases\/{databaseId}\/collections\/{collectionId}\/documents","offline-key":"{documentId}","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID.","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"documentId","description":"Document ID.","required":true,"type":"string","x-example":"<DOCUMENT_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"data":{"type":"object","description":"Document data as JSON object. Include only attribute and value pairs to be updated.","default":[],"x-example":"{}"},"permissions":{"type":"array","description":"An array of permissions strings. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","default":null,"x-example":"[\"read(\"any\")\"]","items":{"type":"string"}}}}}]},"delete":{"summary":"Delete document","operationId":"databasesDeleteDocument","consumes":["application\/json"],"produces":[],"tags":["databases"],"description":"Delete a document by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteDocument","weight":112,"cookies":false,"type":"","deprecated":false,"demo":"databases\/delete-document.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-document.md","rate-limit":60,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId}","scope":"documents.write","platforms":["client","server","server"],"packaging":false,"offline-model":"\/databases\/{databaseId}\/collections\/{collectionId}\/documents","offline-key":"{documentId}","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"documentId","description":"Document ID.","required":true,"type":"string","x-example":"<DOCUMENT_ID>","in":"path"}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/indexes":{"get":{"summary":"List indexes","operationId":"databasesListIndexes","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"List indexes in the collection.","responses":{"200":{"description":"Indexes List","schema":{"$ref":"#\/definitions\/indexList"}}},"x-appwrite":{"method":"listIndexes","weight":104,"cookies":false,"type":"","deprecated":false,"demo":"databases\/list-indexes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-indexes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, status, attributes, error","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]},"post":{"summary":"Create index","operationId":"databasesCreateIndex","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Creates an index on the attributes listed. Your index should include all the attributes you will query in a single request.\nAttributes can be `key`, `fulltext`, and `unique`.","responses":{"202":{"description":"Index","schema":{"$ref":"#\/definitions\/index"}}},"x-appwrite":{"method":"createIndex","weight":103,"cookies":false,"type":"","deprecated":false,"demo":"databases\/create-index.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-index.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"key":{"type":"string","description":"Index Key.","default":null,"x-example":null},"type":{"type":"string","description":"Index type.","default":null,"x-example":"key","enum":["key","fulltext","unique"],"x-enum-name":"IndexType","x-enum-keys":[]},"attributes":{"type":"array","description":"Array of attributes to index. Maximum of 100 attributes are allowed, each 32 characters long.","default":null,"x-example":null,"items":{"type":"string"}},"orders":{"type":"array","description":"Array of index orders. Maximum of 100 orders are allowed.","default":[],"x-example":null,"items":{"type":"string"}}},"required":["key","type","attributes"]}}]}},"\/databases\/{databaseId}\/collections\/{collectionId}\/indexes\/{key}":{"get":{"summary":"Get index","operationId":"databasesGetIndex","consumes":["application\/json"],"produces":["application\/json"],"tags":["databases"],"description":"Get index by ID.","responses":{"200":{"description":"Index","schema":{"$ref":"#\/definitions\/index"}}},"x-appwrite":{"method":"getIndex","weight":105,"cookies":false,"type":"","deprecated":false,"demo":"databases\/get-index.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-index.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"key","description":"Index Key.","required":true,"type":"string","in":"path"}]},"delete":{"summary":"Delete index","operationId":"databasesDeleteIndex","consumes":["application\/json"],"produces":[],"tags":["databases"],"description":"Delete an index.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteIndex","weight":106,"cookies":false,"type":"","deprecated":false,"demo":"databases\/delete-index.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-index.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"collections.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"databaseId","description":"Database ID.","required":true,"type":"string","x-example":"<DATABASE_ID>","in":"path"},{"name":"collectionId","description":"Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).","required":true,"type":"string","x-example":"<COLLECTION_ID>","in":"path"},{"name":"key","description":"Index Key.","required":true,"type":"string","in":"path"}]}},"\/functions":{"get":{"summary":"List functions","operationId":"functionsList","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"Get a list of all the project's functions. You can use the query params to filter your results.","responses":{"200":{"description":"Functions List","schema":{"$ref":"#\/definitions\/functionList"}}},"x-appwrite":{"method":"list","weight":282,"cookies":false,"type":"","deprecated":false,"demo":"functions\/list.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-functions.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, enabled, runtime, deployment, schedule, scheduleNext, schedulePrevious, timeout, entrypoint, commands, installationId","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]},"post":{"summary":"Create function","operationId":"functionsCreate","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"Create a new function. You can pass a list of [permissions](https:\/\/appwrite.io\/docs\/permissions) to allow different project users or team with access to execute the function using the client API.","responses":{"201":{"description":"Function","schema":{"$ref":"#\/definitions\/function"}}},"x-appwrite":{"method":"create","weight":281,"cookies":false,"type":"","deprecated":false,"demo":"functions\/create.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-function.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"functionId":{"type":"string","description":"Function ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<FUNCTION_ID>"},"name":{"type":"string","description":"Function name. Max length: 128 chars.","default":null,"x-example":"<NAME>"},"runtime":{"type":"string","description":"Execution runtime.","default":null,"x-example":"node-14.5","enum":["node-14.5","node-16.0","node-18.0","node-19.0","node-20.0","node-21.0","php-8.0","php-8.1","php-8.2","php-8.3","ruby-3.0","ruby-3.1","ruby-3.2","ruby-3.3","python-3.8","python-3.9","python-3.10","python-3.11","python-3.12","python-ml-3.11","deno-1.21","deno-1.24","deno-1.35","deno-1.40","dart-2.15","dart-2.16","dart-2.17","dart-2.18","dart-3.0","dart-3.1","dart-3.3","dotnet-3.1","dotnet-6.0","dotnet-7.0","java-8.0","java-11.0","java-17.0","java-18.0","java-21.0","swift-5.5","swift-5.8","swift-5.9","kotlin-1.6","kotlin-1.8","kotlin-1.9","cpp-17","cpp-20","bun-1.0"],"x-enum-name":null,"x-enum-keys":[]},"execute":{"type":"array","description":"An array of role strings with execution permissions. By default no user is granted with any execute permissions. [learn more about roles](https:\/\/appwrite.io\/docs\/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.","default":[],"x-example":"[\"any\"]","items":{"type":"string"}},"events":{"type":"array","description":"Events list. Maximum of 100 events are allowed.","default":[],"x-example":null,"items":{"type":"string"}},"schedule":{"type":"string","description":"Schedule CRON syntax.","default":"","x-example":null},"timeout":{"type":"integer","description":"Function maximum execution time in seconds.","default":15,"x-example":1},"enabled":{"type":"boolean","description":"Is function enabled? When set to 'disabled', users cannot access the function but Server SDKs with and API key can still access the function. No data is lost when this is toggled.","default":true,"x-example":false},"logging":{"type":"boolean","description":"Whether executions will be logged. When set to false, executions will not be logged, but will reduce resource used by your Appwrite project.","default":true,"x-example":false},"entrypoint":{"type":"string","description":"Entrypoint File. This path is relative to the \"providerRootDirectory\".","default":"","x-example":"<ENTRYPOINT>"},"commands":{"type":"string","description":"Build Commands.","default":"","x-example":"<COMMANDS>"},"installationId":{"type":"string","description":"Appwrite Installation ID for VCS (Version Control System) deployment.","default":"","x-example":"<INSTALLATION_ID>"},"providerRepositoryId":{"type":"string","description":"Repository ID of the repo linked to the function.","default":"","x-example":"<PROVIDER_REPOSITORY_ID>"},"providerBranch":{"type":"string","description":"Production branch for the repo linked to the function.","default":"","x-example":"<PROVIDER_BRANCH>"},"providerSilentMode":{"type":"boolean","description":"Is the VCS (Version Control System) connection in silent mode for the repo linked to the function? In silent mode, comments will not be made on commits and pull requests.","default":false,"x-example":false},"providerRootDirectory":{"type":"string","description":"Path to function code in the linked repo.","default":"","x-example":"<PROVIDER_ROOT_DIRECTORY>"},"templateRepository":{"type":"string","description":"Repository name of the template.","default":"","x-example":"<TEMPLATE_REPOSITORY>"},"templateOwner":{"type":"string","description":"The name of the owner of the template.","default":"","x-example":"<TEMPLATE_OWNER>"},"templateRootDirectory":{"type":"string","description":"Path to function code in the template repo.","default":"","x-example":"<TEMPLATE_ROOT_DIRECTORY>"},"templateBranch":{"type":"string","description":"Production branch for the repo linked to the function template.","default":"","x-example":"<TEMPLATE_BRANCH>"}},"required":["functionId","name","runtime"]}}]}},"\/functions\/runtimes":{"get":{"summary":"List runtimes","operationId":"functionsListRuntimes","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"Get a list of all runtimes that are currently active on your instance.","responses":{"200":{"description":"Runtimes List","schema":{"$ref":"#\/definitions\/runtimeList"}}},"x-appwrite":{"method":"listRuntimes","weight":283,"cookies":false,"type":"","deprecated":false,"demo":"functions\/list-runtimes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-runtimes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}]}},"\/functions\/{functionId}":{"get":{"summary":"Get function","operationId":"functionsGet","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"Get a function by its unique ID.","responses":{"200":{"description":"Function","schema":{"$ref":"#\/definitions\/function"}}},"x-appwrite":{"method":"get","weight":284,"cookies":false,"type":"","deprecated":false,"demo":"functions\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-function.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"}]},"put":{"summary":"Update function","operationId":"functionsUpdate","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"Update function by its unique ID.","responses":{"200":{"description":"Function","schema":{"$ref":"#\/definitions\/function"}}},"x-appwrite":{"method":"update","weight":287,"cookies":false,"type":"","deprecated":false,"demo":"functions\/update.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/update-function.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Function name. Max length: 128 chars.","default":null,"x-example":"<NAME>"},"runtime":{"type":"string","description":"Execution runtime.","default":"","x-example":"node-14.5","enum":["node-14.5","node-16.0","node-18.0","node-19.0","node-20.0","node-21.0","php-8.0","php-8.1","php-8.2","php-8.3","ruby-3.0","ruby-3.1","ruby-3.2","ruby-3.3","python-3.8","python-3.9","python-3.10","python-3.11","python-3.12","python-ml-3.11","deno-1.21","deno-1.24","deno-1.35","deno-1.40","dart-2.15","dart-2.16","dart-2.17","dart-2.18","dart-3.0","dart-3.1","dart-3.3","dotnet-3.1","dotnet-6.0","dotnet-7.0","java-8.0","java-11.0","java-17.0","java-18.0","java-21.0","swift-5.5","swift-5.8","swift-5.9","kotlin-1.6","kotlin-1.8","kotlin-1.9","cpp-17","cpp-20","bun-1.0"],"x-enum-name":null,"x-enum-keys":[]},"execute":{"type":"array","description":"An array of role strings with execution permissions. By default no user is granted with any execute permissions. [learn more about roles](https:\/\/appwrite.io\/docs\/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.","default":[],"x-example":"[\"any\"]","items":{"type":"string"}},"events":{"type":"array","description":"Events list. Maximum of 100 events are allowed.","default":[],"x-example":null,"items":{"type":"string"}},"schedule":{"type":"string","description":"Schedule CRON syntax.","default":"","x-example":null},"timeout":{"type":"integer","description":"Maximum execution time in seconds.","default":15,"x-example":1},"enabled":{"type":"boolean","description":"Is function enabled? When set to 'disabled', users cannot access the function but Server SDKs with and API key can still access the function. No data is lost when this is toggled.","default":true,"x-example":false},"logging":{"type":"boolean","description":"Whether executions will be logged. When set to false, executions will not be logged, but will reduce resource used by your Appwrite project.","default":true,"x-example":false},"entrypoint":{"type":"string","description":"Entrypoint File. This path is relative to the \"providerRootDirectory\".","default":"","x-example":"<ENTRYPOINT>"},"commands":{"type":"string","description":"Build Commands.","default":"","x-example":"<COMMANDS>"},"installationId":{"type":"string","description":"Appwrite Installation ID for VCS (Version Controle System) deployment.","default":"","x-example":"<INSTALLATION_ID>"},"providerRepositoryId":{"type":"string","description":"Repository ID of the repo linked to the function","default":"","x-example":"<PROVIDER_REPOSITORY_ID>"},"providerBranch":{"type":"string","description":"Production branch for the repo linked to the function","default":"","x-example":"<PROVIDER_BRANCH>"},"providerSilentMode":{"type":"boolean","description":"Is the VCS (Version Control System) connection in silent mode for the repo linked to the function? In silent mode, comments will not be made on commits and pull requests.","default":false,"x-example":false},"providerRootDirectory":{"type":"string","description":"Path to function code in the linked repo.","default":"","x-example":"<PROVIDER_ROOT_DIRECTORY>"}},"required":["name"]}}]},"delete":{"summary":"Delete function","operationId":"functionsDelete","consumes":["application\/json"],"produces":[],"tags":["functions"],"description":"Delete a function by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"delete","weight":290,"cookies":false,"type":"","deprecated":false,"demo":"functions\/delete.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/delete-function.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"}]}},"\/functions\/{functionId}\/deployments":{"get":{"summary":"List deployments","operationId":"functionsListDeployments","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"Get a list of all the project's code deployments. You can use the query params to filter your results.","responses":{"200":{"description":"Deployments List","schema":{"$ref":"#\/definitions\/deploymentList"}}},"x-appwrite":{"method":"listDeployments","weight":292,"cookies":false,"type":"","deprecated":false,"demo":"functions\/list-deployments.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-deployments.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: size, buildId, activate, entrypoint, commands","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]},"post":{"summary":"Create deployment","operationId":"functionsCreateDeployment","consumes":["multipart\/form-data"],"produces":["application\/json"],"tags":["functions"],"description":"Create a new function code deployment. Use this endpoint to upload a new version of your code function. To execute your newly uploaded code, you'll need to update the function's deployment to use your new deployment UID.\n\nThis endpoint accepts a tar.gz file compressed with your code. Make sure to include any dependencies your code has within the compressed file. You can learn more about code packaging in the [Appwrite Cloud Functions tutorial](https:\/\/appwrite.io\/docs\/functions).\n\nUse the \"command\" param to set the entrypoint used to execute your code.","responses":{"202":{"description":"Deployment","schema":{"$ref":"#\/definitions\/deployment"}}},"x-appwrite":{"method":"createDeployment","weight":291,"cookies":false,"type":"","deprecated":false,"demo":"functions\/create-deployment.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-deployment.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":true,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"entrypoint","description":"Entrypoint File.","required":false,"type":"string","x-example":"<ENTRYPOINT>","in":"formData"},{"name":"commands","description":"Build Commands.","required":false,"type":"string","x-example":"<COMMANDS>","in":"formData"},{"name":"code","description":"Gzip file with your code package. When used with the Appwrite CLI, pass the path to your code directory, and the CLI will automatically package your code. Use a path that is within the current directory.","required":true,"type":"file","in":"formData"},{"name":"activate","description":"Automatically activate the deployment when it is finished building.","required":true,"type":"boolean","x-example":false,"in":"formData"}]}},"\/functions\/{functionId}\/deployments\/{deploymentId}":{"get":{"summary":"Get deployment","operationId":"functionsGetDeployment","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"Get a code deployment by its unique ID.","responses":{"200":{"description":"Deployment","schema":{"$ref":"#\/definitions\/deployment"}}},"x-appwrite":{"method":"getDeployment","weight":293,"cookies":false,"type":"","deprecated":false,"demo":"functions\/get-deployment.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-deployment.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"deploymentId","description":"Deployment ID.","required":true,"type":"string","x-example":"<DEPLOYMENT_ID>","in":"path"}]},"patch":{"summary":"Update deployment","operationId":"functionsUpdateDeployment","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"Update the function code deployment ID using the unique function ID. Use this endpoint to switch the code deployment that should be executed by the execution endpoint.","responses":{"200":{"description":"Function","schema":{"$ref":"#\/definitions\/function"}}},"x-appwrite":{"method":"updateDeployment","weight":289,"cookies":false,"type":"","deprecated":false,"demo":"functions\/update-deployment.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/update-function-deployment.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"deploymentId","description":"Deployment ID.","required":true,"type":"string","x-example":"<DEPLOYMENT_ID>","in":"path"}]},"delete":{"summary":"Delete deployment","operationId":"functionsDeleteDeployment","consumes":["application\/json"],"produces":[],"tags":["functions"],"description":"Delete a code deployment by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteDeployment","weight":294,"cookies":false,"type":"","deprecated":false,"demo":"functions\/delete-deployment.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/delete-deployment.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"deploymentId","description":"Deployment ID.","required":true,"type":"string","x-example":"<DEPLOYMENT_ID>","in":"path"}]}},"\/functions\/{functionId}\/deployments\/{deploymentId}\/builds\/{buildId}":{"post":{"summary":"Create build","operationId":"functionsCreateBuild","consumes":["application\/json"],"produces":[],"tags":["functions"],"description":"Create a new build for an Appwrite Function deployment. This endpoint can be used to retry a failed build.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"createBuild","weight":295,"cookies":false,"type":"","deprecated":false,"demo":"functions\/create-build.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-build.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"deploymentId","description":"Deployment ID.","required":true,"type":"string","x-example":"<DEPLOYMENT_ID>","in":"path"},{"name":"buildId","description":"Build unique ID.","required":true,"type":"string","x-example":"<BUILD_ID>","in":"path"}]}},"\/functions\/{functionId}\/deployments\/{deploymentId}\/download":{"get":{"summary":"Download deployment","operationId":"functionsDownloadDeployment","consumes":["application\/json"],"produces":["*\/*"],"tags":["functions"],"description":"Get a Deployment's contents by its unique ID. This endpoint supports range requests for partial or streaming file download.","responses":{"200":{"description":"File","schema":{"type":"file"}}},"x-appwrite":{"method":"downloadDeployment","weight":288,"cookies":false,"type":"location","deprecated":false,"demo":"functions\/download-deployment.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/download-deployment.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"deploymentId","description":"Deployment ID.","required":true,"type":"string","x-example":"<DEPLOYMENT_ID>","in":"path"}]}},"\/functions\/{functionId}\/executions":{"get":{"summary":"List executions","operationId":"functionsListExecutions","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"Get a list of all the current user function execution logs. You can use the query params to filter your results.","responses":{"200":{"description":"Executions List","schema":{"$ref":"#\/definitions\/executionList"}}},"x-appwrite":{"method":"listExecutions","weight":297,"cookies":false,"type":"","deprecated":false,"demo":"functions\/list-executions.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-executions.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"execution.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: trigger, status, responseStatusCode, duration","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]},"post":{"summary":"Create execution","operationId":"functionsCreateExecution","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"Trigger a function execution. The returned object will return you the current execution status. You can ping the `Get Execution` endpoint to get updates on the current execution status. Once this endpoint is called, your function execution process will start asynchronously.","responses":{"201":{"description":"Execution","schema":{"$ref":"#\/definitions\/execution"}}},"x-appwrite":{"method":"createExecution","weight":296,"cookies":false,"type":"","deprecated":false,"demo":"functions\/create-execution.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-execution.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"execution.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"body":{"type":"string","description":"HTTP body of execution. Default value is empty string.","default":"","x-example":"<BODY>"},"async":{"type":"boolean","description":"Execute code in the background. Default value is false.","default":false,"x-example":false},"path":{"type":"string","description":"HTTP path of execution. Path can include query params. Default value is \/","default":"\/","x-example":"<PATH>"},"method":{"type":"string","description":"HTTP method of execution. Default value is GET.","default":"POST","x-example":"GET","enum":["GET","POST","PUT","PATCH","DELETE","OPTIONS"],"x-enum-name":"ExecutionMethod","x-enum-keys":[]},"headers":{"type":"object","description":"HTTP headers of execution. Defaults to empty.","default":[],"x-example":"{}"}}}}]}},"\/functions\/{functionId}\/executions\/{executionId}":{"get":{"summary":"Get execution","operationId":"functionsGetExecution","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"Get a function execution log by its unique ID.","responses":{"200":{"description":"Execution","schema":{"$ref":"#\/definitions\/execution"}}},"x-appwrite":{"method":"getExecution","weight":298,"cookies":false,"type":"","deprecated":false,"demo":"functions\/get-execution.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-execution.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"execution.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"functionId","description":"Function ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"executionId","description":"Execution ID.","required":true,"type":"string","x-example":"<EXECUTION_ID>","in":"path"}]}},"\/functions\/{functionId}\/variables":{"get":{"summary":"List variables","operationId":"functionsListVariables","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"Get a list of all variables of a specific function.","responses":{"200":{"description":"Variables List","schema":{"$ref":"#\/definitions\/variableList"}}},"x-appwrite":{"method":"listVariables","weight":300,"cookies":false,"type":"","deprecated":false,"demo":"functions\/list-variables.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-variables.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function unique ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"}]},"post":{"summary":"Create variable","operationId":"functionsCreateVariable","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"Create a new function environment variable. These variables can be accessed in the function at runtime as environment variables.","responses":{"201":{"description":"Variable","schema":{"$ref":"#\/definitions\/variable"}}},"x-appwrite":{"method":"createVariable","weight":299,"cookies":false,"type":"","deprecated":false,"demo":"functions\/create-variable.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-variable.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function unique ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"key":{"type":"string","description":"Variable key. Max length: 255 chars.","default":null,"x-example":"<KEY>"},"value":{"type":"string","description":"Variable value. Max length: 8192 chars.","default":null,"x-example":"<VALUE>"}},"required":["key","value"]}}]}},"\/functions\/{functionId}\/variables\/{variableId}":{"get":{"summary":"Get variable","operationId":"functionsGetVariable","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"Get a variable by its unique ID.","responses":{"200":{"description":"Variable","schema":{"$ref":"#\/definitions\/variable"}}},"x-appwrite":{"method":"getVariable","weight":301,"cookies":false,"type":"","deprecated":false,"demo":"functions\/get-variable.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-variable.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function unique ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"variableId","description":"Variable unique ID.","required":true,"type":"string","x-example":"<VARIABLE_ID>","in":"path"}]},"put":{"summary":"Update variable","operationId":"functionsUpdateVariable","consumes":["application\/json"],"produces":["application\/json"],"tags":["functions"],"description":"Update variable by its unique ID.","responses":{"200":{"description":"Variable","schema":{"$ref":"#\/definitions\/variable"}}},"x-appwrite":{"method":"updateVariable","weight":302,"cookies":false,"type":"","deprecated":false,"demo":"functions\/update-variable.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/update-variable.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function unique ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"variableId","description":"Variable unique ID.","required":true,"type":"string","x-example":"<VARIABLE_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"key":{"type":"string","description":"Variable key. Max length: 255 chars.","default":null,"x-example":"<KEY>"},"value":{"type":"string","description":"Variable value. Max length: 8192 chars.","default":null,"x-example":"<VALUE>"}},"required":["key"]}}]},"delete":{"summary":"Delete variable","operationId":"functionsDeleteVariable","consumes":["application\/json"],"produces":[],"tags":["functions"],"description":"Delete a variable by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteVariable","weight":303,"cookies":false,"type":"","deprecated":false,"demo":"functions\/delete-variable.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/delete-variable.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"functions.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"functionId","description":"Function unique ID.","required":true,"type":"string","x-example":"<FUNCTION_ID>","in":"path"},{"name":"variableId","description":"Variable unique ID.","required":true,"type":"string","x-example":"<VARIABLE_ID>","in":"path"}]}},"\/graphql":{"post":{"summary":"GraphQL endpoint","operationId":"graphqlQuery","consumes":["application\/json"],"produces":["application\/json"],"tags":["graphql"],"description":"Execute a GraphQL mutation.","responses":{"200":{"description":"Any","schema":{"$ref":"#\/definitions\/any"}}},"x-appwrite":{"method":"query","weight":318,"cookies":false,"type":"graphql","deprecated":false,"demo":"graphql\/query.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md","rate-limit":60,"rate-time":60,"rate-key":"url:{url},ip:{ip}","scope":"graphql","platforms":["server","client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[],"Session":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"query":{"type":"object","description":"The query or queries to execute.","default":{},"x-example":"{}"}},"required":["query"]}}]}},"\/graphql\/mutation":{"post":{"summary":"GraphQL endpoint","operationId":"graphqlMutation","consumes":["application\/json"],"produces":["application\/json"],"tags":["graphql"],"description":"Execute a GraphQL mutation.","responses":{"200":{"description":"Any","schema":{"$ref":"#\/definitions\/any"}}},"x-appwrite":{"method":"mutation","weight":317,"cookies":false,"type":"graphql","deprecated":false,"demo":"graphql\/mutation.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md","rate-limit":60,"rate-time":60,"rate-key":"url:{url},ip:{ip}","scope":"graphql","platforms":["server","client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[],"Session":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"query":{"type":"object","description":"The query or queries to execute.","default":{},"x-example":"{}"}},"required":["query"]}}]}},"\/health":{"get":{"summary":"Get HTTP","operationId":"healthGet","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Check the Appwrite HTTP server is up and responsive.","responses":{"200":{"description":"Health Status","schema":{"$ref":"#\/definitions\/healthStatus"}}},"x-appwrite":{"method":"get","weight":124,"cookies":false,"type":"","deprecated":false,"demo":"health\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}]}},"\/health\/anti-virus":{"get":{"summary":"Get antivirus","operationId":"healthGetAntivirus","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Check the Appwrite Antivirus server is up and connection is successful.","responses":{"200":{"description":"Health Antivirus","schema":{"$ref":"#\/definitions\/healthAntivirus"}}},"x-appwrite":{"method":"getAntivirus","weight":146,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-antivirus.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage-anti-virus.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}]}},"\/health\/cache":{"get":{"summary":"Get cache","operationId":"healthGetCache","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Check the Appwrite in-memory cache servers are up and connection is successful.","responses":{"200":{"description":"Health Status","schema":{"$ref":"#\/definitions\/healthStatus"}}},"x-appwrite":{"method":"getCache","weight":127,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-cache.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-cache.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}]}},"\/health\/certificate":{"get":{"summary":"Get the SSL certificate for a domain","operationId":"healthGetCertificate","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Get the SSL certificate for a domain","responses":{"200":{"description":"Health Certificate","schema":{"$ref":"#\/definitions\/healthCertificate"}}},"x-appwrite":{"method":"getCertificate","weight":133,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-certificate.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-certificate.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"domain","description":"string","required":false,"type":"string","in":"query"}]}},"\/health\/db":{"get":{"summary":"Get DB","operationId":"healthGetDB","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Check the Appwrite database servers are up and connection is successful.","responses":{"200":{"description":"Health Status","schema":{"$ref":"#\/definitions\/healthStatus"}}},"x-appwrite":{"method":"getDB","weight":126,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-d-b.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-db.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}]}},"\/health\/pubsub":{"get":{"summary":"Get pubsub","operationId":"healthGetPubSub","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Check the Appwrite pub-sub servers are up and connection is successful.","responses":{"200":{"description":"Health Status","schema":{"$ref":"#\/definitions\/healthStatus"}}},"x-appwrite":{"method":"getPubSub","weight":129,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-pub-sub.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-pubsub.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}]}},"\/health\/queue":{"get":{"summary":"Get queue","operationId":"healthGetQueue","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Check the Appwrite queue messaging servers are up and connection is successful.","responses":{"200":{"description":"Health Status","schema":{"$ref":"#\/definitions\/healthStatus"}}},"x-appwrite":{"method":"getQueue","weight":128,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}]}},"\/health\/queue\/builds":{"get":{"summary":"Get builds queue","operationId":"healthGetQueueBuilds","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Get the number of builds that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","schema":{"$ref":"#\/definitions\/healthQueue"}}},"x-appwrite":{"method":"getQueueBuilds","weight":135,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-builds.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-builds.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"type":"integer","format":"int32","default":5000,"in":"query"}]}},"\/health\/queue\/certificates":{"get":{"summary":"Get certificates queue","operationId":"healthGetQueueCertificates","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Get the number of certificates that are waiting to be issued against [Letsencrypt](https:\/\/letsencrypt.org\/) in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","schema":{"$ref":"#\/definitions\/healthQueue"}}},"x-appwrite":{"method":"getQueueCertificates","weight":134,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-certificates.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-certificates.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"type":"integer","format":"int32","default":5000,"in":"query"}]}},"\/health\/queue\/databases":{"get":{"summary":"Get databases queue","operationId":"healthGetQueueDatabases","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Get the number of database changes that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","schema":{"$ref":"#\/definitions\/healthQueue"}}},"x-appwrite":{"method":"getQueueDatabases","weight":136,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-databases.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-databases.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"name","description":"Queue name for which to check the queue size","required":false,"type":"string","x-example":"<NAME>","default":"database_db_main","in":"query"},{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"type":"integer","format":"int32","default":5000,"in":"query"}]}},"\/health\/queue\/deletes":{"get":{"summary":"Get deletes queue","operationId":"healthGetQueueDeletes","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Get the number of background destructive changes that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","schema":{"$ref":"#\/definitions\/healthQueue"}}},"x-appwrite":{"method":"getQueueDeletes","weight":137,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-deletes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-deletes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"type":"integer","format":"int32","default":5000,"in":"query"}]}},"\/health\/queue\/failed\/{name}":{"get":{"summary":"Get number of failed queue jobs","operationId":"healthGetFailedJobs","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Returns the amount of failed jobs in a given queue.\n","responses":{"200":{"description":"Health Queue","schema":{"$ref":"#\/definitions\/healthQueue"}}},"x-appwrite":{"method":"getFailedJobs","weight":147,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-failed-jobs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-failed-queue-jobs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"name","description":"The name of the queue","required":true,"type":"string","x-example":"v1-database","enum":["v1-database","v1-deletes","v1-audits","v1-mails","v1-functions","v1-usage","v1-usage-dump","v1-webhooks","v1-certificates","v1-builds","v1-messaging","v1-migrations"],"x-enum-name":null,"x-enum-keys":[],"in":"path"},{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"type":"integer","format":"int32","default":5000,"in":"query"}]}},"\/health\/queue\/functions":{"get":{"summary":"Get functions queue","operationId":"healthGetQueueFunctions","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Get the number of function executions that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","schema":{"$ref":"#\/definitions\/healthQueue"}}},"x-appwrite":{"method":"getQueueFunctions","weight":141,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-functions.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-functions.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"type":"integer","format":"int32","default":5000,"in":"query"}]}},"\/health\/queue\/logs":{"get":{"summary":"Get logs queue","operationId":"healthGetQueueLogs","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Get the number of logs that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","schema":{"$ref":"#\/definitions\/healthQueue"}}},"x-appwrite":{"method":"getQueueLogs","weight":132,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"type":"integer","format":"int32","default":5000,"in":"query"}]}},"\/health\/queue\/mails":{"get":{"summary":"Get mails queue","operationId":"healthGetQueueMails","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Get the number of mails that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","schema":{"$ref":"#\/definitions\/healthQueue"}}},"x-appwrite":{"method":"getQueueMails","weight":138,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-mails.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-mails.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"type":"integer","format":"int32","default":5000,"in":"query"}]}},"\/health\/queue\/messaging":{"get":{"summary":"Get messaging queue","operationId":"healthGetQueueMessaging","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Get the number of messages that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","schema":{"$ref":"#\/definitions\/healthQueue"}}},"x-appwrite":{"method":"getQueueMessaging","weight":139,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-messaging.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-messaging.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"type":"integer","format":"int32","default":5000,"in":"query"}]}},"\/health\/queue\/migrations":{"get":{"summary":"Get migrations queue","operationId":"healthGetQueueMigrations","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Get the number of migrations that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","schema":{"$ref":"#\/definitions\/healthQueue"}}},"x-appwrite":{"method":"getQueueMigrations","weight":140,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-migrations.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-migrations.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"type":"integer","format":"int32","default":5000,"in":"query"}]}},"\/health\/queue\/usage":{"get":{"summary":"Get usage queue","operationId":"healthGetQueueUsage","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Get the number of metrics that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","schema":{"$ref":"#\/definitions\/healthQueue"}}},"x-appwrite":{"method":"getQueueUsage","weight":142,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-usage.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-usage.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"type":"integer","format":"int32","default":5000,"in":"query"}]}},"\/health\/queue\/usage-dump":{"get":{"summary":"Get usage dump queue","operationId":"healthGetQueueUsageDump","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Get the number of projects containing metrics that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","schema":{"$ref":"#\/definitions\/healthQueue"}}},"x-appwrite":{"method":"getQueueUsageDump","weight":143,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-usage-dump.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-usage-dump.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"type":"integer","format":"int32","default":5000,"in":"query"}]}},"\/health\/queue\/webhooks":{"get":{"summary":"Get webhooks queue","operationId":"healthGetQueueWebhooks","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Get the number of webhooks that are waiting to be processed in the Appwrite internal queue server.","responses":{"200":{"description":"Health Queue","schema":{"$ref":"#\/definitions\/healthQueue"}}},"x-appwrite":{"method":"getQueueWebhooks","weight":131,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-queue-webhooks.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-webhooks.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"threshold","description":"Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.","required":false,"type":"integer","format":"int32","default":5000,"in":"query"}]}},"\/health\/storage":{"get":{"summary":"Get storage","operationId":"healthGetStorage","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Check the Appwrite storage device is up and connection is successful.","responses":{"200":{"description":"Health Status","schema":{"$ref":"#\/definitions\/healthStatus"}}},"x-appwrite":{"method":"getStorage","weight":145,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-storage.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}]}},"\/health\/storage\/local":{"get":{"summary":"Get local storage","operationId":"healthGetStorageLocal","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Check the Appwrite local storage device is up and connection is successful.","responses":{"200":{"description":"Health Status","schema":{"$ref":"#\/definitions\/healthStatus"}}},"x-appwrite":{"method":"getStorageLocal","weight":144,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-storage-local.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage-local.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}]}},"\/health\/time":{"get":{"summary":"Get time","operationId":"healthGetTime","consumes":["application\/json"],"produces":["application\/json"],"tags":["health"],"description":"Check the Appwrite server time is synced with Google remote NTP server. We use this technology to smoothly handle leap seconds with no disruptive events. The [Network Time Protocol](https:\/\/en.wikipedia.org\/wiki\/Network_Time_Protocol) (NTP) is used by hundreds of millions of computers and devices to synchronize their clocks over the Internet. If your computer sets its own clock, it likely uses NTP.","responses":{"200":{"description":"Health Time","schema":{"$ref":"#\/definitions\/healthTime"}}},"x-appwrite":{"method":"getTime","weight":130,"cookies":false,"type":"","deprecated":false,"demo":"health\/get-time.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-time.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"health.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}]}},"\/locale":{"get":{"summary":"Get user locale","operationId":"localeGet","consumes":["application\/json"],"produces":["application\/json"],"tags":["locale"],"description":"Get the current user location based on IP. Returns an object with user country code, country name, continent name, continent code, ip address and suggested currency. You can use the locale header to get the data in a supported language.\n\n([IP Geolocation by DB-IP](https:\/\/db-ip.com))","responses":{"200":{"description":"Locale","schema":{"$ref":"#\/definitions\/locale"}}},"x-appwrite":{"method":"get","weight":116,"cookies":false,"type":"","deprecated":false,"demo":"locale\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/get-locale.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/localed","offline-key":"current","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}]}},"\/locale\/codes":{"get":{"summary":"List Locale Codes","operationId":"localeListCodes","consumes":["application\/json"],"produces":["application\/json"],"tags":["locale"],"description":"List of all locale codes in [ISO 639-1](https:\/\/en.wikipedia.org\/wiki\/List_of_ISO_639-1_codes).","responses":{"200":{"description":"Locale codes list","schema":{"$ref":"#\/definitions\/localeCodeList"}}},"x-appwrite":{"method":"listCodes","weight":117,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-locale-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/localeCode","offline-key":"current","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}]}},"\/locale\/continents":{"get":{"summary":"List continents","operationId":"localeListContinents","consumes":["application\/json"],"produces":["application\/json"],"tags":["locale"],"description":"List of all continents. You can use the locale header to get the data in a supported language.","responses":{"200":{"description":"Continents List","schema":{"$ref":"#\/definitions\/continentList"}}},"x-appwrite":{"method":"listContinents","weight":121,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-continents.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-continents.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/continents","offline-key":"","offline-response-key":"code","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}]}},"\/locale\/countries":{"get":{"summary":"List countries","operationId":"localeListCountries","consumes":["application\/json"],"produces":["application\/json"],"tags":["locale"],"description":"List of all countries. You can use the locale header to get the data in a supported language.","responses":{"200":{"description":"Countries List","schema":{"$ref":"#\/definitions\/countryList"}}},"x-appwrite":{"method":"listCountries","weight":118,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-countries.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/countries","offline-key":"","offline-response-key":"code","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}]}},"\/locale\/countries\/eu":{"get":{"summary":"List EU countries","operationId":"localeListCountriesEU","consumes":["application\/json"],"produces":["application\/json"],"tags":["locale"],"description":"List of all countries that are currently members of the EU. You can use the locale header to get the data in a supported language.","responses":{"200":{"description":"Countries List","schema":{"$ref":"#\/definitions\/countryList"}}},"x-appwrite":{"method":"listCountriesEU","weight":119,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-countries-e-u.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-eu.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/countries\/eu","offline-key":"","offline-response-key":"code","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}]}},"\/locale\/countries\/phones":{"get":{"summary":"List countries phone codes","operationId":"localeListCountriesPhones","consumes":["application\/json"],"produces":["application\/json"],"tags":["locale"],"description":"List of all countries phone codes. You can use the locale header to get the data in a supported language.","responses":{"200":{"description":"Phones List","schema":{"$ref":"#\/definitions\/phoneList"}}},"x-appwrite":{"method":"listCountriesPhones","weight":120,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-countries-phones.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-phones.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/countries\/phones","offline-key":"","offline-response-key":"countryCode","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}]}},"\/locale\/currencies":{"get":{"summary":"List currencies","operationId":"localeListCurrencies","consumes":["application\/json"],"produces":["application\/json"],"tags":["locale"],"description":"List of all currencies, including currency symbol, name, plural, and decimal digits for all major and minor currencies. You can use the locale header to get the data in a supported language.","responses":{"200":{"description":"Currencies List","schema":{"$ref":"#\/definitions\/currencyList"}}},"x-appwrite":{"method":"listCurrencies","weight":122,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-currencies.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-currencies.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/currencies","offline-key":"","offline-response-key":"code","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}]}},"\/locale\/languages":{"get":{"summary":"List languages","operationId":"localeListLanguages","consumes":["application\/json"],"produces":["application\/json"],"tags":["locale"],"description":"List of all languages classified by ISO 639-1 including 2-letter code, name in English, and name in the respective language.","responses":{"200":{"description":"Languages List","schema":{"$ref":"#\/definitions\/languageList"}}},"x-appwrite":{"method":"listLanguages","weight":123,"cookies":false,"type":"","deprecated":false,"demo":"locale\/list-languages.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-languages.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"locale.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/locale\/languages","offline-key":"","offline-response-key":"code","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}]}},"\/messaging\/messages":{"get":{"summary":"List messages","operationId":"messagingListMessages","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Get a list of all messages from the current Appwrite project.","responses":{"200":{"description":"Message list","schema":{"$ref":"#\/definitions\/messageList"}}},"x-appwrite":{"method":"listMessages","weight":377,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-messages.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-messages.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: scheduledAt, deliveredAt, deliveredTotal, status, description, providerType","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]}},"\/messaging\/messages\/email":{"post":{"summary":"Create email","operationId":"messagingCreateEmail","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Create a new email message.","responses":{"201":{"description":"Message","schema":{"$ref":"#\/definitions\/message"}}},"x-appwrite":{"method":"createEmail","weight":374,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-email.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-email.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"messageId":{"type":"string","description":"Message ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<MESSAGE_ID>"},"subject":{"type":"string","description":"Email Subject.","default":null,"x-example":"<SUBJECT>"},"content":{"type":"string","description":"Email Content.","default":null,"x-example":"<CONTENT>"},"topics":{"type":"array","description":"List of Topic IDs.","default":[],"x-example":null,"items":{"type":"string"}},"users":{"type":"array","description":"List of User IDs.","default":[],"x-example":null,"items":{"type":"string"}},"targets":{"type":"array","description":"List of Targets IDs.","default":[],"x-example":null,"items":{"type":"string"}},"cc":{"type":"array","description":"Array of target IDs to be added as CC.","default":[],"x-example":null,"items":{"type":"string"}},"bcc":{"type":"array","description":"Array of target IDs to be added as BCC.","default":[],"x-example":null,"items":{"type":"string"}},"attachments":{"type":"array","description":"Array of compound ID strings of bucket IDs and file IDs to be attached to the email. They should be formatted as <BUCKET_ID>:<FILE_ID>.","default":[],"x-example":null,"items":{"type":"string"}},"draft":{"type":"boolean","description":"Is message a draft","default":false,"x-example":false},"html":{"type":"boolean","description":"Is content of type HTML","default":false,"x-example":false},"scheduledAt":{"type":"string","description":"Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.","default":null,"x-example":null}},"required":["messageId","subject","content"]}}]}},"\/messaging\/messages\/email\/{messageId}":{"patch":{"summary":"Update email","operationId":"messagingUpdateEmail","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Update an email message by its unique ID.\n","responses":{"200":{"description":"Message","schema":{"$ref":"#\/definitions\/message"}}},"x-appwrite":{"method":"updateEmail","weight":381,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-email.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-email.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"messageId","description":"Message ID.","required":true,"type":"string","x-example":"<MESSAGE_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"topics":{"type":"array","description":"List of Topic IDs.","default":null,"x-example":null,"items":{"type":"string"}},"users":{"type":"array","description":"List of User IDs.","default":null,"x-example":null,"items":{"type":"string"}},"targets":{"type":"array","description":"List of Targets IDs.","default":null,"x-example":null,"items":{"type":"string"}},"subject":{"type":"string","description":"Email Subject.","default":null,"x-example":"<SUBJECT>"},"content":{"type":"string","description":"Email Content.","default":null,"x-example":"<CONTENT>"},"draft":{"type":"boolean","description":"Is message a draft","default":null,"x-example":false},"html":{"type":"boolean","description":"Is content of type HTML","default":null,"x-example":false},"cc":{"type":"array","description":"Array of target IDs to be added as CC.","default":null,"x-example":null,"items":{"type":"string"}},"bcc":{"type":"array","description":"Array of target IDs to be added as BCC.","default":null,"x-example":null,"items":{"type":"string"}},"scheduledAt":{"type":"string","description":"Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.","default":null,"x-example":null},"attachments":{"type":"array","description":"Array of compound ID strings of bucket IDs and file IDs to be attached to the email. They should be formatted as <BUCKET_ID>:<FILE_ID>.","default":null,"x-example":null,"items":{"type":"string"}}}}}]}},"\/messaging\/messages\/push":{"post":{"summary":"Create push notification","operationId":"messagingCreatePush","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Create a new push notification.","responses":{"201":{"description":"Message","schema":{"$ref":"#\/definitions\/message"}}},"x-appwrite":{"method":"createPush","weight":376,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-push.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-push.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"messageId":{"type":"string","description":"Message ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<MESSAGE_ID>"},"title":{"type":"string","description":"Title for push notification.","default":null,"x-example":"<TITLE>"},"body":{"type":"string","description":"Body for push notification.","default":null,"x-example":"<BODY>"},"topics":{"type":"array","description":"List of Topic IDs.","default":[],"x-example":null,"items":{"type":"string"}},"users":{"type":"array","description":"List of User IDs.","default":[],"x-example":null,"items":{"type":"string"}},"targets":{"type":"array","description":"List of Targets IDs.","default":[],"x-example":null,"items":{"type":"string"}},"data":{"type":"object","description":"Additional Data for push notification.","default":{},"x-example":"{}"},"action":{"type":"string","description":"Action for push notification.","default":"","x-example":"<ACTION>"},"image":{"type":"string","description":"Image for push notification. Must be a compound bucket ID to file ID of a jpeg, png, or bmp image in Appwrite Storage. It should be formatted as <BUCKET_ID>:<FILE_ID>.","default":"","x-example":"[ID1:ID2]"},"icon":{"type":"string","description":"Icon for push notification. Available only for Android and Web Platform.","default":"","x-example":"<ICON>"},"sound":{"type":"string","description":"Sound for push notification. Available only for Android and IOS Platform.","default":"","x-example":"<SOUND>"},"color":{"type":"string","description":"Color for push notification. Available only for Android Platform.","default":"","x-example":"<COLOR>"},"tag":{"type":"string","description":"Tag for push notification. Available only for Android Platform.","default":"","x-example":"<TAG>"},"badge":{"type":"string","description":"Badge for push notification. Available only for IOS Platform.","default":"","x-example":"<BADGE>"},"draft":{"type":"boolean","description":"Is message a draft","default":false,"x-example":false},"scheduledAt":{"type":"string","description":"Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.","default":null,"x-example":null}},"required":["messageId","title","body"]}}]}},"\/messaging\/messages\/push\/{messageId}":{"patch":{"summary":"Update push notification","operationId":"messagingUpdatePush","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Update a push notification by its unique ID.\n","responses":{"200":{"description":"Message","schema":{"$ref":"#\/definitions\/message"}}},"x-appwrite":{"method":"updatePush","weight":383,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-push.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-push.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"messageId","description":"Message ID.","required":true,"type":"string","x-example":"<MESSAGE_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"topics":{"type":"array","description":"List of Topic IDs.","default":null,"x-example":null,"items":{"type":"string"}},"users":{"type":"array","description":"List of User IDs.","default":null,"x-example":null,"items":{"type":"string"}},"targets":{"type":"array","description":"List of Targets IDs.","default":null,"x-example":null,"items":{"type":"string"}},"title":{"type":"string","description":"Title for push notification.","default":null,"x-example":"<TITLE>"},"body":{"type":"string","description":"Body for push notification.","default":null,"x-example":"<BODY>"},"data":{"type":"object","description":"Additional Data for push notification.","default":{},"x-example":"{}"},"action":{"type":"string","description":"Action for push notification.","default":null,"x-example":"<ACTION>"},"image":{"type":"string","description":"Image for push notification. Must be a compound bucket ID to file ID of a jpeg, png, or bmp image in Appwrite Storage. It should be formatted as <BUCKET_ID>:<FILE_ID>.","default":null,"x-example":"[ID1:ID2]"},"icon":{"type":"string","description":"Icon for push notification. Available only for Android and Web platforms.","default":null,"x-example":"<ICON>"},"sound":{"type":"string","description":"Sound for push notification. Available only for Android and iOS platforms.","default":null,"x-example":"<SOUND>"},"color":{"type":"string","description":"Color for push notification. Available only for Android platforms.","default":null,"x-example":"<COLOR>"},"tag":{"type":"string","description":"Tag for push notification. Available only for Android platforms.","default":null,"x-example":"<TAG>"},"badge":{"type":"integer","description":"Badge for push notification. Available only for iOS platforms.","default":null,"x-example":null},"draft":{"type":"boolean","description":"Is message a draft","default":null,"x-example":false},"scheduledAt":{"type":"string","description":"Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.","default":null,"x-example":null}}}}]}},"\/messaging\/messages\/sms":{"post":{"summary":"Create SMS","operationId":"messagingCreateSms","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Create a new SMS message.","responses":{"201":{"description":"Message","schema":{"$ref":"#\/definitions\/message"}}},"x-appwrite":{"method":"createSms","weight":375,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-sms.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-sms.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"messageId":{"type":"string","description":"Message ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<MESSAGE_ID>"},"content":{"type":"string","description":"SMS Content.","default":null,"x-example":"<CONTENT>"},"topics":{"type":"array","description":"List of Topic IDs.","default":[],"x-example":null,"items":{"type":"string"}},"users":{"type":"array","description":"List of User IDs.","default":[],"x-example":null,"items":{"type":"string"}},"targets":{"type":"array","description":"List of Targets IDs.","default":[],"x-example":null,"items":{"type":"string"}},"draft":{"type":"boolean","description":"Is message a draft","default":false,"x-example":false},"scheduledAt":{"type":"string","description":"Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.","default":null,"x-example":null}},"required":["messageId","content"]}}]}},"\/messaging\/messages\/sms\/{messageId}":{"patch":{"summary":"Update SMS","operationId":"messagingUpdateSms","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Update an email message by its unique ID.\n","responses":{"200":{"description":"Message","schema":{"$ref":"#\/definitions\/message"}}},"x-appwrite":{"method":"updateSms","weight":382,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-sms.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-email.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"messageId","description":"Message ID.","required":true,"type":"string","x-example":"<MESSAGE_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"topics":{"type":"array","description":"List of Topic IDs.","default":null,"x-example":null,"items":{"type":"string"}},"users":{"type":"array","description":"List of User IDs.","default":null,"x-example":null,"items":{"type":"string"}},"targets":{"type":"array","description":"List of Targets IDs.","default":null,"x-example":null,"items":{"type":"string"}},"content":{"type":"string","description":"Email Content.","default":null,"x-example":"<CONTENT>"},"draft":{"type":"boolean","description":"Is message a draft","default":null,"x-example":false},"scheduledAt":{"type":"string","description":"Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.","default":null,"x-example":null}}}}]}},"\/messaging\/messages\/{messageId}":{"get":{"summary":"Get message","operationId":"messagingGetMessage","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Get a message by its unique ID.\n","responses":{"200":{"description":"Message","schema":{"$ref":"#\/definitions\/message"}}},"x-appwrite":{"method":"getMessage","weight":380,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/get-message.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-message.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"messageId","description":"Message ID.","required":true,"type":"string","x-example":"<MESSAGE_ID>","in":"path"}]},"delete":{"summary":"Delete message","operationId":"messagingDelete","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Delete a message. If the message is not a draft or scheduled, but has been sent, this will not recall the message.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"delete","weight":384,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/delete.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-message.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"messageId","description":"Message ID.","required":true,"type":"string","x-example":"<MESSAGE_ID>","in":"path"}]}},"\/messaging\/messages\/{messageId}\/logs":{"get":{"summary":"List message logs","operationId":"messagingListMessageLogs","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Get the message activity logs listed by its unique ID.","responses":{"200":{"description":"Logs List","schema":{"$ref":"#\/definitions\/logList"}}},"x-appwrite":{"method":"listMessageLogs","weight":378,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-message-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-message-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"messageId","description":"Message ID.","required":true,"type":"string","x-example":"<MESSAGE_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]}},"\/messaging\/messages\/{messageId}\/targets":{"get":{"summary":"List message targets","operationId":"messagingListTargets","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Get a list of the targets associated with a message.","responses":{"200":{"description":"Target list","schema":{"$ref":"#\/definitions\/targetList"}}},"x-appwrite":{"method":"listTargets","weight":379,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-targets.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-message-targets.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"messages.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"messageId","description":"Message ID.","required":true,"type":"string","x-example":"<MESSAGE_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, providerId, identifier, providerType","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]}},"\/messaging\/providers":{"get":{"summary":"List providers","operationId":"messagingListProviders","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Get a list of all providers from the current Appwrite project.","responses":{"200":{"description":"Provider list","schema":{"$ref":"#\/definitions\/providerList"}}},"x-appwrite":{"method":"listProviders","weight":349,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-providers.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-providers.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, provider, type, enabled","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]}},"\/messaging\/providers\/apns":{"post":{"summary":"Create APNS provider","operationId":"messagingCreateApnsProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Create a new Apple Push Notification service provider.","responses":{"201":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"createApnsProvider","weight":348,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-apns-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-apns-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","default":null,"x-example":"<NAME>"},"authKey":{"type":"string","description":"APNS authentication key.","default":"","x-example":"<AUTH_KEY>"},"authKeyId":{"type":"string","description":"APNS authentication key ID.","default":"","x-example":"<AUTH_KEY_ID>"},"teamId":{"type":"string","description":"APNS team ID.","default":"","x-example":"<TEAM_ID>"},"bundleId":{"type":"string","description":"APNS bundle ID.","default":"","x-example":"<BUNDLE_ID>"},"sandbox":{"type":"boolean","description":"Use APNS sandbox environment.","default":false,"x-example":false},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false}},"required":["providerId","name"]}}]}},"\/messaging\/providers\/apns\/{providerId}":{"patch":{"summary":"Update APNS provider","operationId":"messagingUpdateApnsProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Update a Apple Push Notification service provider by its unique ID.","responses":{"200":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"updateApnsProvider","weight":361,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-apns-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-apns-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"type":"string","x-example":"<PROVIDER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","default":"","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false},"authKey":{"type":"string","description":"APNS authentication key.","default":"","x-example":"<AUTH_KEY>"},"authKeyId":{"type":"string","description":"APNS authentication key ID.","default":"","x-example":"<AUTH_KEY_ID>"},"teamId":{"type":"string","description":"APNS team ID.","default":"","x-example":"<TEAM_ID>"},"bundleId":{"type":"string","description":"APNS bundle ID.","default":"","x-example":"<BUNDLE_ID>"},"sandbox":{"type":"boolean","description":"Use APNS sandbox environment.","default":null,"x-example":false}}}}]}},"\/messaging\/providers\/fcm":{"post":{"summary":"Create FCM provider","operationId":"messagingCreateFcmProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Create a new Firebase Cloud Messaging provider.","responses":{"201":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"createFcmProvider","weight":347,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-fcm-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-fcm-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","default":null,"x-example":"<NAME>"},"serviceAccountJSON":{"type":"object","description":"FCM service account JSON.","default":{},"x-example":"{}"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false}},"required":["providerId","name"]}}]}},"\/messaging\/providers\/fcm\/{providerId}":{"patch":{"summary":"Update FCM provider","operationId":"messagingUpdateFcmProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Update a Firebase Cloud Messaging provider by its unique ID.","responses":{"200":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"updateFcmProvider","weight":360,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-fcm-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-fcm-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"type":"string","x-example":"<PROVIDER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","default":"","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false},"serviceAccountJSON":{"type":"object","description":"FCM service account JSON.","default":{},"x-example":"{}"}}}}]}},"\/messaging\/providers\/mailgun":{"post":{"summary":"Create Mailgun provider","operationId":"messagingCreateMailgunProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Create a new Mailgun provider.","responses":{"201":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"createMailgunProvider","weight":339,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-mailgun-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-mailgun-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","default":null,"x-example":"<NAME>"},"apiKey":{"type":"string","description":"Mailgun API Key.","default":"","x-example":"<API_KEY>"},"domain":{"type":"string","description":"Mailgun Domain.","default":"","x-example":"<DOMAIN>"},"isEuRegion":{"type":"boolean","description":"Set as EU region.","default":null,"x-example":false},"fromName":{"type":"string","description":"Sender Name.","default":"","x-example":"<FROM_NAME>"},"fromEmail":{"type":"string","description":"Sender email address.","default":"","x-example":"email@example.com"},"replyToName":{"type":"string","description":"Name set in the reply to field for the mail. Default value is sender name. Reply to name must have reply to email as well.","default":"","x-example":"<REPLY_TO_NAME>"},"replyToEmail":{"type":"string","description":"Email set in the reply to field for the mail. Default value is sender email. Reply to email must have reply to name as well.","default":"","x-example":"email@example.com"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false}},"required":["providerId","name"]}}]}},"\/messaging\/providers\/mailgun\/{providerId}":{"patch":{"summary":"Update Mailgun provider","operationId":"messagingUpdateMailgunProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Update a Mailgun provider by its unique ID.","responses":{"200":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"updateMailgunProvider","weight":352,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-mailgun-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-mailgun-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"type":"string","x-example":"<PROVIDER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","default":"","x-example":"<NAME>"},"apiKey":{"type":"string","description":"Mailgun API Key.","default":"","x-example":"<API_KEY>"},"domain":{"type":"string","description":"Mailgun Domain.","default":"","x-example":"<DOMAIN>"},"isEuRegion":{"type":"boolean","description":"Set as EU region.","default":null,"x-example":false},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false},"fromName":{"type":"string","description":"Sender Name.","default":"","x-example":"<FROM_NAME>"},"fromEmail":{"type":"string","description":"Sender email address.","default":"","x-example":"email@example.com"},"replyToName":{"type":"string","description":"Name set in the reply to field for the mail. Default value is sender name.","default":"","x-example":"<REPLY_TO_NAME>"},"replyToEmail":{"type":"string","description":"Email set in the reply to field for the mail. Default value is sender email.","default":"","x-example":"<REPLY_TO_EMAIL>"}}}}]}},"\/messaging\/providers\/msg91":{"post":{"summary":"Create Msg91 provider","operationId":"messagingCreateMsg91Provider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Create a new MSG91 provider.","responses":{"201":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"createMsg91Provider","weight":342,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-msg91provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-msg91-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","default":null,"x-example":"<NAME>"},"templateId":{"type":"string","description":"Msg91 template ID","default":"","x-example":"<TEMPLATE_ID>"},"senderId":{"type":"string","description":"Msg91 sender ID.","default":"","x-example":"<SENDER_ID>"},"authKey":{"type":"string","description":"Msg91 auth key.","default":"","x-example":"<AUTH_KEY>"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false}},"required":["providerId","name"]}}]}},"\/messaging\/providers\/msg91\/{providerId}":{"patch":{"summary":"Update Msg91 provider","operationId":"messagingUpdateMsg91Provider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Update a MSG91 provider by its unique ID.","responses":{"200":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"updateMsg91Provider","weight":355,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-msg91provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-msg91-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"type":"string","x-example":"<PROVIDER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","default":"","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false},"templateId":{"type":"string","description":"Msg91 template ID.","default":"","x-example":"<TEMPLATE_ID>"},"senderId":{"type":"string","description":"Msg91 sender ID.","default":"","x-example":"<SENDER_ID>"},"authKey":{"type":"string","description":"Msg91 auth key.","default":"","x-example":"<AUTH_KEY>"}}}}]}},"\/messaging\/providers\/sendgrid":{"post":{"summary":"Create Sendgrid provider","operationId":"messagingCreateSendgridProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Create a new Sendgrid provider.","responses":{"201":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"createSendgridProvider","weight":340,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-sendgrid-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-sendgrid-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","default":null,"x-example":"<NAME>"},"apiKey":{"type":"string","description":"Sendgrid API key.","default":"","x-example":"<API_KEY>"},"fromName":{"type":"string","description":"Sender Name.","default":"","x-example":"<FROM_NAME>"},"fromEmail":{"type":"string","description":"Sender email address.","default":"","x-example":"email@example.com"},"replyToName":{"type":"string","description":"Name set in the reply to field for the mail. Default value is sender name.","default":"","x-example":"<REPLY_TO_NAME>"},"replyToEmail":{"type":"string","description":"Email set in the reply to field for the mail. Default value is sender email.","default":"","x-example":"email@example.com"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false}},"required":["providerId","name"]}}]}},"\/messaging\/providers\/sendgrid\/{providerId}":{"patch":{"summary":"Update Sendgrid provider","operationId":"messagingUpdateSendgridProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Update a Sendgrid provider by its unique ID.","responses":{"200":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"updateSendgridProvider","weight":353,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-sendgrid-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-sendgrid-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"type":"string","x-example":"<PROVIDER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","default":"","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false},"apiKey":{"type":"string","description":"Sendgrid API key.","default":"","x-example":"<API_KEY>"},"fromName":{"type":"string","description":"Sender Name.","default":"","x-example":"<FROM_NAME>"},"fromEmail":{"type":"string","description":"Sender email address.","default":"","x-example":"email@example.com"},"replyToName":{"type":"string","description":"Name set in the Reply To field for the mail. Default value is Sender Name.","default":"","x-example":"<REPLY_TO_NAME>"},"replyToEmail":{"type":"string","description":"Email set in the Reply To field for the mail. Default value is Sender Email.","default":"","x-example":"<REPLY_TO_EMAIL>"}}}}]}},"\/messaging\/providers\/smtp":{"post":{"summary":"Create SMTP provider","operationId":"messagingCreateSmtpProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Create a new SMTP provider.","responses":{"201":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"createSmtpProvider","weight":341,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-smtp-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-smtp-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","default":null,"x-example":"<NAME>"},"host":{"type":"string","description":"SMTP hosts. Either a single hostname or multiple semicolon-delimited hostnames. You can also specify a different port for each host such as `smtp1.example.com:25;smtp2.example.com`. You can also specify encryption type, for example: `tls:\/\/smtp1.example.com:587;ssl:\/\/smtp2.example.com:465\"`. Hosts will be tried in order.","default":null,"x-example":"<HOST>"},"port":{"type":"integer","description":"The default SMTP server port.","default":587,"x-example":1},"username":{"type":"string","description":"Authentication username.","default":"","x-example":"<USERNAME>"},"password":{"type":"string","description":"Authentication password.","default":"","x-example":"<PASSWORD>"},"encryption":{"type":"string","description":"Encryption type. Can be omitted, 'ssl', or 'tls'","default":"","x-example":"none","enum":["none","ssl","tls"],"x-enum-name":"SmtpEncryption","x-enum-keys":[]},"autoTLS":{"type":"boolean","description":"Enable SMTP AutoTLS feature.","default":true,"x-example":false},"mailer":{"type":"string","description":"The value to use for the X-Mailer header.","default":"","x-example":"<MAILER>"},"fromName":{"type":"string","description":"Sender Name.","default":"","x-example":"<FROM_NAME>"},"fromEmail":{"type":"string","description":"Sender email address.","default":"","x-example":"email@example.com"},"replyToName":{"type":"string","description":"Name set in the reply to field for the mail. Default value is sender name.","default":"","x-example":"<REPLY_TO_NAME>"},"replyToEmail":{"type":"string","description":"Email set in the reply to field for the mail. Default value is sender email.","default":"","x-example":"email@example.com"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false}},"required":["providerId","name","host"]}}]}},"\/messaging\/providers\/smtp\/{providerId}":{"patch":{"summary":"Update SMTP provider","operationId":"messagingUpdateSmtpProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Update a SMTP provider by its unique ID.","responses":{"200":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"updateSmtpProvider","weight":354,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-smtp-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-smtp-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"type":"string","x-example":"<PROVIDER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","default":"","x-example":"<NAME>"},"host":{"type":"string","description":"SMTP hosts. Either a single hostname or multiple semicolon-delimited hostnames. You can also specify a different port for each host such as `smtp1.example.com:25;smtp2.example.com`. You can also specify encryption type, for example: `tls:\/\/smtp1.example.com:587;ssl:\/\/smtp2.example.com:465\"`. Hosts will be tried in order.","default":"","x-example":"<HOST>"},"port":{"type":"integer","description":"SMTP port.","default":null,"x-example":1},"username":{"type":"string","description":"Authentication username.","default":"","x-example":"<USERNAME>"},"password":{"type":"string","description":"Authentication password.","default":"","x-example":"<PASSWORD>"},"encryption":{"type":"string","description":"Encryption type. Can be 'ssl' or 'tls'","default":"","x-example":"none","enum":["none","ssl","tls"],"x-enum-name":"SmtpEncryption","x-enum-keys":[]},"autoTLS":{"type":"boolean","description":"Enable SMTP AutoTLS feature.","default":null,"x-example":false},"mailer":{"type":"string","description":"The value to use for the X-Mailer header.","default":"","x-example":"<MAILER>"},"fromName":{"type":"string","description":"Sender Name.","default":"","x-example":"<FROM_NAME>"},"fromEmail":{"type":"string","description":"Sender email address.","default":"","x-example":"email@example.com"},"replyToName":{"type":"string","description":"Name set in the Reply To field for the mail. Default value is Sender Name.","default":"","x-example":"<REPLY_TO_NAME>"},"replyToEmail":{"type":"string","description":"Email set in the Reply To field for the mail. Default value is Sender Email.","default":"","x-example":"<REPLY_TO_EMAIL>"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false}}}}]}},"\/messaging\/providers\/telesign":{"post":{"summary":"Create Telesign provider","operationId":"messagingCreateTelesignProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Create a new Telesign provider.","responses":{"201":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"createTelesignProvider","weight":343,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-telesign-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-telesign-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","default":null,"x-example":"<NAME>"},"from":{"type":"string","description":"Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","default":"","x-example":"+12065550100"},"customerId":{"type":"string","description":"Telesign customer ID.","default":"","x-example":"<CUSTOMER_ID>"},"apiKey":{"type":"string","description":"Telesign API key.","default":"","x-example":"<API_KEY>"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false}},"required":["providerId","name"]}}]}},"\/messaging\/providers\/telesign\/{providerId}":{"patch":{"summary":"Update Telesign provider","operationId":"messagingUpdateTelesignProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Update a Telesign provider by its unique ID.","responses":{"200":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"updateTelesignProvider","weight":356,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-telesign-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-telesign-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"type":"string","x-example":"<PROVIDER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","default":"","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false},"customerId":{"type":"string","description":"Telesign customer ID.","default":"","x-example":"<CUSTOMER_ID>"},"apiKey":{"type":"string","description":"Telesign API key.","default":"","x-example":"<API_KEY>"},"from":{"type":"string","description":"Sender number.","default":"","x-example":"<FROM>"}}}}]}},"\/messaging\/providers\/textmagic":{"post":{"summary":"Create Textmagic provider","operationId":"messagingCreateTextmagicProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Create a new Textmagic provider.","responses":{"201":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"createTextmagicProvider","weight":344,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-textmagic-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-textmagic-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","default":null,"x-example":"<NAME>"},"from":{"type":"string","description":"Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","default":"","x-example":"+12065550100"},"username":{"type":"string","description":"Textmagic username.","default":"","x-example":"<USERNAME>"},"apiKey":{"type":"string","description":"Textmagic apiKey.","default":"","x-example":"<API_KEY>"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false}},"required":["providerId","name"]}}]}},"\/messaging\/providers\/textmagic\/{providerId}":{"patch":{"summary":"Update Textmagic provider","operationId":"messagingUpdateTextmagicProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Update a Textmagic provider by its unique ID.","responses":{"200":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"updateTextmagicProvider","weight":357,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-textmagic-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-textmagic-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"type":"string","x-example":"<PROVIDER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","default":"","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false},"username":{"type":"string","description":"Textmagic username.","default":"","x-example":"<USERNAME>"},"apiKey":{"type":"string","description":"Textmagic apiKey.","default":"","x-example":"<API_KEY>"},"from":{"type":"string","description":"Sender number.","default":"","x-example":"<FROM>"}}}}]}},"\/messaging\/providers\/twilio":{"post":{"summary":"Create Twilio provider","operationId":"messagingCreateTwilioProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Create a new Twilio provider.","responses":{"201":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"createTwilioProvider","weight":345,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-twilio-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-twilio-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","default":null,"x-example":"<NAME>"},"from":{"type":"string","description":"Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","default":"","x-example":"+12065550100"},"accountSid":{"type":"string","description":"Twilio account secret ID.","default":"","x-example":"<ACCOUNT_SID>"},"authToken":{"type":"string","description":"Twilio authentication token.","default":"","x-example":"<AUTH_TOKEN>"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false}},"required":["providerId","name"]}}]}},"\/messaging\/providers\/twilio\/{providerId}":{"patch":{"summary":"Update Twilio provider","operationId":"messagingUpdateTwilioProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Update a Twilio provider by its unique ID.","responses":{"200":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"updateTwilioProvider","weight":358,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-twilio-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-twilio-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"type":"string","x-example":"<PROVIDER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","default":"","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false},"accountSid":{"type":"string","description":"Twilio account secret ID.","default":"","x-example":"<ACCOUNT_SID>"},"authToken":{"type":"string","description":"Twilio authentication token.","default":"","x-example":"<AUTH_TOKEN>"},"from":{"type":"string","description":"Sender number.","default":"","x-example":"<FROM>"}}}}]}},"\/messaging\/providers\/vonage":{"post":{"summary":"Create Vonage provider","operationId":"messagingCreateVonageProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Create a new Vonage provider.","responses":{"201":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"createVonageProvider","weight":346,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-vonage-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-vonage-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"providerId":{"type":"string","description":"Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Provider name.","default":null,"x-example":"<NAME>"},"from":{"type":"string","description":"Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","default":"","x-example":"+12065550100"},"apiKey":{"type":"string","description":"Vonage API key.","default":"","x-example":"<API_KEY>"},"apiSecret":{"type":"string","description":"Vonage API secret.","default":"","x-example":"<API_SECRET>"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false}},"required":["providerId","name"]}}]}},"\/messaging\/providers\/vonage\/{providerId}":{"patch":{"summary":"Update Vonage provider","operationId":"messagingUpdateVonageProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Update a Vonage provider by its unique ID.","responses":{"200":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"updateVonageProvider","weight":359,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-vonage-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-vonage-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"type":"string","x-example":"<PROVIDER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Provider name.","default":"","x-example":"<NAME>"},"enabled":{"type":"boolean","description":"Set as enabled.","default":null,"x-example":false},"apiKey":{"type":"string","description":"Vonage API key.","default":"","x-example":"<API_KEY>"},"apiSecret":{"type":"string","description":"Vonage API secret.","default":"","x-example":"<API_SECRET>"},"from":{"type":"string","description":"Sender number.","default":"","x-example":"<FROM>"}}}}]}},"\/messaging\/providers\/{providerId}":{"get":{"summary":"Get provider","operationId":"messagingGetProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Get a provider by its unique ID.\n","responses":{"200":{"description":"Provider","schema":{"$ref":"#\/definitions\/provider"}}},"x-appwrite":{"method":"getProvider","weight":351,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/get-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"type":"string","x-example":"<PROVIDER_ID>","in":"path"}]},"delete":{"summary":"Delete provider","operationId":"messagingDeleteProvider","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Delete a provider by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteProvider","weight":362,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/delete-provider.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-provider.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"type":"string","x-example":"<PROVIDER_ID>","in":"path"}]}},"\/messaging\/providers\/{providerId}\/logs":{"get":{"summary":"List provider logs","operationId":"messagingListProviderLogs","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Get the provider activity logs listed by its unique ID.","responses":{"200":{"description":"Logs List","schema":{"$ref":"#\/definitions\/logList"}}},"x-appwrite":{"method":"listProviderLogs","weight":350,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-provider-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-provider-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"providers.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"providerId","description":"Provider ID.","required":true,"type":"string","x-example":"<PROVIDER_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]}},"\/messaging\/subscribers\/{subscriberId}\/logs":{"get":{"summary":"List subscriber logs","operationId":"messagingListSubscriberLogs","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Get the subscriber activity logs listed by its unique ID.","responses":{"200":{"description":"Logs List","schema":{"$ref":"#\/definitions\/logList"}}},"x-appwrite":{"method":"listSubscriberLogs","weight":371,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-subscriber-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-subscriber-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"subscribers.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"subscriberId","description":"Subscriber ID.","required":true,"type":"string","x-example":"<SUBSCRIBER_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]}},"\/messaging\/topics":{"get":{"summary":"List topics","operationId":"messagingListTopics","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Get a list of all topics from the current Appwrite project.","responses":{"200":{"description":"Topic list","schema":{"$ref":"#\/definitions\/topicList"}}},"x-appwrite":{"method":"listTopics","weight":364,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-topics.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-topics.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"topics.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, description, emailTotal, smsTotal, pushTotal","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]},"post":{"summary":"Create topic","operationId":"messagingCreateTopic","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Create a new topic.","responses":{"201":{"description":"Topic","schema":{"$ref":"#\/definitions\/topic"}}},"x-appwrite":{"method":"createTopic","weight":363,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-topic.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-topic.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"topics.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"topicId":{"type":"string","description":"Topic ID. Choose a custom Topic ID or a new Topic ID.","default":null,"x-example":"<TOPIC_ID>"},"name":{"type":"string","description":"Topic Name.","default":null,"x-example":"<NAME>"},"subscribe":{"type":"array","description":"An array of role strings with subscribe permission. By default all users are granted with any subscribe permission. [learn more about roles](https:\/\/appwrite.io\/docs\/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.","default":["users"],"x-example":"[\"any\"]","items":{"type":"string"}}},"required":["topicId","name"]}}]}},"\/messaging\/topics\/{topicId}":{"get":{"summary":"Get topic","operationId":"messagingGetTopic","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Get a topic by its unique ID.\n","responses":{"200":{"description":"Topic","schema":{"$ref":"#\/definitions\/topic"}}},"x-appwrite":{"method":"getTopic","weight":366,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/get-topic.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-topic.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"topics.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"topicId","description":"Topic ID.","required":true,"type":"string","x-example":"<TOPIC_ID>","in":"path"}]},"patch":{"summary":"Update topic","operationId":"messagingUpdateTopic","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Update a topic by its unique ID.\n","responses":{"200":{"description":"Topic","schema":{"$ref":"#\/definitions\/topic"}}},"x-appwrite":{"method":"updateTopic","weight":367,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/update-topic.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-topic.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"topics.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"topicId","description":"Topic ID.","required":true,"type":"string","x-example":"<TOPIC_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Topic Name.","default":null,"x-example":"<NAME>"},"subscribe":{"type":"array","description":"An array of role strings with subscribe permission. By default all users are granted with any subscribe permission. [learn more about roles](https:\/\/appwrite.io\/docs\/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.","default":null,"x-example":"[\"any\"]","items":{"type":"string"}}}}}]},"delete":{"summary":"Delete topic","operationId":"messagingDeleteTopic","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Delete a topic by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteTopic","weight":368,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/delete-topic.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-topic.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"topics.write","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"topicId","description":"Topic ID.","required":true,"type":"string","x-example":"<TOPIC_ID>","in":"path"}]}},"\/messaging\/topics\/{topicId}\/logs":{"get":{"summary":"List topic logs","operationId":"messagingListTopicLogs","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Get the topic activity logs listed by its unique ID.","responses":{"200":{"description":"Logs List","schema":{"$ref":"#\/definitions\/logList"}}},"x-appwrite":{"method":"listTopicLogs","weight":365,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-topic-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-topic-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"topics.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"topicId","description":"Topic ID.","required":true,"type":"string","x-example":"<TOPIC_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]}},"\/messaging\/topics\/{topicId}\/subscribers":{"get":{"summary":"List subscribers","operationId":"messagingListSubscribers","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Get a list of all subscribers from the current Appwrite project.","responses":{"200":{"description":"Subscriber list","schema":{"$ref":"#\/definitions\/subscriberList"}}},"x-appwrite":{"method":"listSubscribers","weight":370,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/list-subscribers.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-subscribers.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"subscribers.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"topicId","description":"Topic ID. The topic ID subscribed to.","required":true,"type":"string","x-example":"<TOPIC_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, provider, type, enabled","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]},"post":{"summary":"Create subscriber","operationId":"messagingCreateSubscriber","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Create a new subscriber.","responses":{"201":{"description":"Subscriber","schema":{"$ref":"#\/definitions\/subscriber"}}},"x-appwrite":{"method":"createSubscriber","weight":369,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/create-subscriber.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-subscriber.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"subscribers.write","platforms":["server","client","console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"JWT":[]}},"security":[{"Project":[],"JWT":[],"Session":[],"Key":[]}],"parameters":[{"name":"topicId","description":"Topic ID. The topic ID to subscribe to.","required":true,"type":"string","x-example":"<TOPIC_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"subscriberId":{"type":"string","description":"Subscriber ID. Choose a custom Subscriber ID or a new Subscriber ID.","default":null,"x-example":"<SUBSCRIBER_ID>"},"targetId":{"type":"string","description":"Target ID. The target ID to link to the specified Topic ID.","default":null,"x-example":"<TARGET_ID>"}},"required":["subscriberId","targetId"]}}]}},"\/messaging\/topics\/{topicId}\/subscribers\/{subscriberId}":{"get":{"summary":"Get subscriber","operationId":"messagingGetSubscriber","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Get a subscriber by its unique ID.\n","responses":{"200":{"description":"Subscriber","schema":{"$ref":"#\/definitions\/subscriber"}}},"x-appwrite":{"method":"getSubscriber","weight":372,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/get-subscriber.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-subscriber.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"subscribers.read","platforms":["console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"topicId","description":"Topic ID. The topic ID subscribed to.","required":true,"type":"string","x-example":"<TOPIC_ID>","in":"path"},{"name":"subscriberId","description":"Subscriber ID.","required":true,"type":"string","x-example":"<SUBSCRIBER_ID>","in":"path"}]},"delete":{"summary":"Delete subscriber","operationId":"messagingDeleteSubscriber","consumes":["application\/json"],"produces":["application\/json"],"tags":["messaging"],"description":"Delete a subscriber by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteSubscriber","weight":373,"cookies":false,"type":"","deprecated":false,"demo":"messaging\/delete-subscriber.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-subscriber.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"subscribers.write","platforms":["server","client","console","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"JWT":[]}},"security":[{"Project":[],"JWT":[],"Session":[],"Key":[]}],"parameters":[{"name":"topicId","description":"Topic ID. The topic ID subscribed to.","required":true,"type":"string","x-example":"<TOPIC_ID>","in":"path"},{"name":"subscriberId","description":"Subscriber ID.","required":true,"type":"string","x-example":"<SUBSCRIBER_ID>","in":"path"}]}},"\/storage\/buckets":{"get":{"summary":"List buckets","operationId":"storageListBuckets","consumes":["application\/json"],"produces":["application\/json"],"tags":["storage"],"description":"Get a list of all the storage buckets. You can use the query params to filter your results.","responses":{"200":{"description":"Buckets List","schema":{"$ref":"#\/definitions\/bucketList"}}},"x-appwrite":{"method":"listBuckets","weight":198,"cookies":false,"type":"","deprecated":false,"demo":"storage\/list-buckets.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-buckets.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"buckets.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: enabled, name, fileSecurity, maximumFileSize, encryption, antivirus","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]},"post":{"summary":"Create bucket","operationId":"storageCreateBucket","consumes":["application\/json"],"produces":["application\/json"],"tags":["storage"],"description":"Create a new storage bucket.","responses":{"201":{"description":"Bucket","schema":{"$ref":"#\/definitions\/bucket"}}},"x-appwrite":{"method":"createBucket","weight":197,"cookies":false,"type":"","deprecated":false,"demo":"storage\/create-bucket.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-bucket.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"buckets.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"bucketId":{"type":"string","description":"Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<BUCKET_ID>"},"name":{"type":"string","description":"Bucket name","default":null,"x-example":"<NAME>"},"permissions":{"type":"array","description":"An array of permission strings. By default, no user is granted with any permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","default":null,"x-example":"[\"read(\"any\")\"]","items":{"type":"string"}},"fileSecurity":{"type":"boolean","description":"Enables configuring permissions for individual file. A user needs one of file or bucket level permissions to access a file. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","default":false,"x-example":false},"enabled":{"type":"boolean","description":"Is bucket enabled? When set to 'disabled', users cannot access the files in this bucket but Server SDKs with and API key can still access the bucket. No files are lost when this is toggled.","default":true,"x-example":false},"maximumFileSize":{"type":"integer","description":"Maximum file size allowed in bytes. Maximum allowed value is 30MB.","default":{},"x-example":1},"allowedFileExtensions":{"type":"array","description":"Allowed file extensions. Maximum of 100 extensions are allowed, each 64 characters long.","default":[],"x-example":null,"items":{"type":"string"}},"compression":{"type":"string","description":"Compression algorithm choosen for compression. Can be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd), For file size above 20MB compression is skipped even if it's enabled","default":"none","x-example":"none","enum":["none","gzip","zstd"],"x-enum-name":null,"x-enum-keys":[]},"encryption":{"type":"boolean","description":"Is encryption enabled? For file size above 20MB encryption is skipped even if it's enabled","default":true,"x-example":false},"antivirus":{"type":"boolean","description":"Is virus scanning enabled? For file size above 20MB AntiVirus scanning is skipped even if it's enabled","default":true,"x-example":false}},"required":["bucketId","name"]}}]}},"\/storage\/buckets\/{bucketId}":{"get":{"summary":"Get bucket","operationId":"storageGetBucket","consumes":["application\/json"],"produces":["application\/json"],"tags":["storage"],"description":"Get a storage bucket by its unique ID. This endpoint response returns a JSON object with the storage bucket metadata.","responses":{"200":{"description":"Bucket","schema":{"$ref":"#\/definitions\/bucket"}}},"x-appwrite":{"method":"getBucket","weight":199,"cookies":false,"type":"","deprecated":false,"demo":"storage\/get-bucket.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-bucket.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"buckets.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"bucketId","description":"Bucket unique ID.","required":true,"type":"string","x-example":"<BUCKET_ID>","in":"path"}]},"put":{"summary":"Update bucket","operationId":"storageUpdateBucket","consumes":["application\/json"],"produces":["application\/json"],"tags":["storage"],"description":"Update a storage bucket by its unique ID.","responses":{"200":{"description":"Bucket","schema":{"$ref":"#\/definitions\/bucket"}}},"x-appwrite":{"method":"updateBucket","weight":200,"cookies":false,"type":"","deprecated":false,"demo":"storage\/update-bucket.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-bucket.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"buckets.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"bucketId","description":"Bucket unique ID.","required":true,"type":"string","x-example":"<BUCKET_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Bucket name","default":null,"x-example":"<NAME>"},"permissions":{"type":"array","description":"An array of permission strings. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","default":null,"x-example":"[\"read(\"any\")\"]","items":{"type":"string"}},"fileSecurity":{"type":"boolean","description":"Enables configuring permissions for individual file. A user needs one of file or bucket level permissions to access a file. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","default":false,"x-example":false},"enabled":{"type":"boolean","description":"Is bucket enabled? When set to 'disabled', users cannot access the files in this bucket but Server SDKs with and API key can still access the bucket. No files are lost when this is toggled.","default":true,"x-example":false},"maximumFileSize":{"type":"integer","description":"Maximum file size allowed in bytes. Maximum allowed value is 30MB.","default":{},"x-example":1},"allowedFileExtensions":{"type":"array","description":"Allowed file extensions. Maximum of 100 extensions are allowed, each 64 characters long.","default":[],"x-example":null,"items":{"type":"string"}},"compression":{"type":"string","description":"Compression algorithm choosen for compression. Can be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd), For file size above 20MB compression is skipped even if it's enabled","default":"none","x-example":"none","enum":["none","gzip","zstd"],"x-enum-name":null,"x-enum-keys":[]},"encryption":{"type":"boolean","description":"Is encryption enabled? For file size above 20MB encryption is skipped even if it's enabled","default":true,"x-example":false},"antivirus":{"type":"boolean","description":"Is virus scanning enabled? For file size above 20MB AntiVirus scanning is skipped even if it's enabled","default":true,"x-example":false}},"required":["name"]}}]},"delete":{"summary":"Delete bucket","operationId":"storageDeleteBucket","consumes":["application\/json"],"produces":[],"tags":["storage"],"description":"Delete a storage bucket by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteBucket","weight":201,"cookies":false,"type":"","deprecated":false,"demo":"storage\/delete-bucket.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-bucket.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"buckets.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"bucketId","description":"Bucket unique ID.","required":true,"type":"string","x-example":"<BUCKET_ID>","in":"path"}]}},"\/storage\/buckets\/{bucketId}\/files":{"get":{"summary":"List files","operationId":"storageListFiles","consumes":["application\/json"],"produces":["application\/json"],"tags":["storage"],"description":"Get a list of all the user files. You can use the query params to filter your results.","responses":{"200":{"description":"Files List","schema":{"$ref":"#\/definitions\/fileList"}}},"x-appwrite":{"method":"listFiles","weight":203,"cookies":false,"type":"","deprecated":false,"demo":"storage\/list-files.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-files.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"type":"string","x-example":"<BUCKET_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, signature, mimeType, sizeOriginal, chunksTotal, chunksUploaded","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]},"post":{"summary":"Create file","operationId":"storageCreateFile","consumes":["multipart\/form-data"],"produces":["application\/json"],"tags":["storage"],"description":"Create a new file. Before using this route, you should create a new bucket resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/storage#storageCreateBucket) API or directly from your Appwrite console.\n\nLarger files should be uploaded using multiple requests with the [content-range](https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTTP\/Headers\/Content-Range) header to send a partial request with a maximum supported chunk of `5MB`. The `content-range` header values should always be in bytes.\n\nWhen the first request is sent, the server will return the **File** object, and the subsequent part request must include the file's **id** in `x-appwrite-id` header to allow the server to know that the partial upload is for the existing file and not for a new one.\n\nIf you're creating a new file using one of the Appwrite SDKs, all the chunking logic will be managed by the SDK internally.\n","responses":{"201":{"description":"File","schema":{"$ref":"#\/definitions\/file"}}},"x-appwrite":{"method":"createFile","weight":202,"cookies":false,"type":"upload","deprecated":false,"demo":"storage\/create-file.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-file.md","rate-limit":60,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId},chunkId:{chunkId}","scope":"files.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"type":"string","x-example":"<BUCKET_ID>","in":"path"},{"name":"fileId","description":"File ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","required":true,"x-upload-id":true,"type":"string","x-example":"<FILE_ID>","in":"formData"},{"name":"file","description":"Binary file. Appwrite SDKs provide helpers to handle file input. [Learn about file input](https:\/\/appwrite.io\/docs\/products\/storage\/upload-download#input-file).","required":true,"type":"file","in":"formData"},{"name":"permissions","description":"An array of permission strings. By default, only the current user is granted all permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"x-example":"[\"read(\"any\")\"]","in":"formData"}]}},"\/storage\/buckets\/{bucketId}\/files\/{fileId}":{"get":{"summary":"Get file","operationId":"storageGetFile","consumes":["application\/json"],"produces":["application\/json"],"tags":["storage"],"description":"Get a file by its unique ID. This endpoint response returns a JSON object with the file metadata.","responses":{"200":{"description":"File","schema":{"$ref":"#\/definitions\/file"}}},"x-appwrite":{"method":"getFile","weight":204,"cookies":false,"type":"","deprecated":false,"demo":"storage\/get-file.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"type":"string","x-example":"<BUCKET_ID>","in":"path"},{"name":"fileId","description":"File ID.","required":true,"type":"string","x-example":"<FILE_ID>","in":"path"}]},"put":{"summary":"Update file","operationId":"storageUpdateFile","consumes":["application\/json"],"produces":["application\/json"],"tags":["storage"],"description":"Update a file by its unique ID. Only users with write permissions have access to update this resource.","responses":{"200":{"description":"File","schema":{"$ref":"#\/definitions\/file"}}},"x-appwrite":{"method":"updateFile","weight":209,"cookies":false,"type":"","deprecated":false,"demo":"storage\/update-file.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-file.md","rate-limit":60,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId}","scope":"files.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"type":"string","x-example":"<BUCKET_ID>","in":"path"},{"name":"fileId","description":"File unique ID.","required":true,"type":"string","x-example":"<FILE_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"Name of the file","default":null,"x-example":"<NAME>"},"permissions":{"type":"array","description":"An array of permission string. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","default":null,"x-example":"[\"read(\"any\")\"]","items":{"type":"string"}}}}}]},"delete":{"summary":"Delete File","operationId":"storageDeleteFile","consumes":["application\/json"],"produces":[],"tags":["storage"],"description":"Delete a file by its unique ID. Only users with write permissions have access to delete this resource.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteFile","weight":210,"cookies":false,"type":"","deprecated":false,"demo":"storage\/delete-file.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-file.md","rate-limit":60,"rate-time":60,"rate-key":"ip:{ip},method:{method},url:{url},userId:{userId}","scope":"files.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"type":"string","x-example":"<BUCKET_ID>","in":"path"},{"name":"fileId","description":"File ID.","required":true,"type":"string","x-example":"<FILE_ID>","in":"path"}]}},"\/storage\/buckets\/{bucketId}\/files\/{fileId}\/download":{"get":{"summary":"Get file for download","operationId":"storageGetFileDownload","consumes":["application\/json"],"produces":["*\/*"],"tags":["storage"],"description":"Get a file content by its unique ID. The endpoint response return with a 'Content-Disposition: attachment' header that tells the browser to start downloading the file to user downloads directory.","responses":{"200":{"description":"File","schema":{"type":"file"}}},"x-appwrite":{"method":"getFileDownload","weight":206,"cookies":false,"type":"location","deprecated":false,"demo":"storage\/get-file-download.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-download.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"type":"string","x-example":"<BUCKET_ID>","in":"path"},{"name":"fileId","description":"File ID.","required":true,"type":"string","x-example":"<FILE_ID>","in":"path"}]}},"\/storage\/buckets\/{bucketId}\/files\/{fileId}\/preview":{"get":{"summary":"Get file preview","operationId":"storageGetFilePreview","consumes":["application\/json"],"produces":["image\/*"],"tags":["storage"],"description":"Get a file preview image. Currently, this method supports preview for image files (jpg, png, and gif), other supported formats, like pdf, docs, slides, and spreadsheets, will return the file icon image. You can also pass query string arguments for cutting and resizing your preview image. Preview is supported only for image files smaller than 10MB.","responses":{"200":{"description":"Image","schema":{"type":"file"}}},"x-appwrite":{"method":"getFilePreview","weight":205,"cookies":false,"type":"location","deprecated":false,"demo":"storage\/get-file-preview.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-preview.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"type":"string","x-example":"<BUCKET_ID>","in":"path"},{"name":"fileId","description":"File ID","required":true,"type":"string","x-example":"<FILE_ID>","in":"path"},{"name":"width","description":"Resize preview image width, Pass an integer between 0 to 4000.","required":false,"type":"integer","format":"int32","x-example":0,"default":0,"in":"query"},{"name":"height","description":"Resize preview image height, Pass an integer between 0 to 4000.","required":false,"type":"integer","format":"int32","x-example":0,"default":0,"in":"query"},{"name":"gravity","description":"Image crop gravity. Can be one of center,top-left,top,top-right,left,right,bottom-left,bottom,bottom-right","required":false,"type":"string","x-example":"center","enum":["center","top-left","top","top-right","left","right","bottom-left","bottom","bottom-right"],"x-enum-name":"ImageGravity","x-enum-keys":[],"default":"center","in":"query"},{"name":"quality","description":"Preview image quality. Pass an integer between 0 to 100. Defaults to 100.","required":false,"type":"integer","format":"int32","x-example":0,"default":100,"in":"query"},{"name":"borderWidth","description":"Preview image border in pixels. Pass an integer between 0 to 100. Defaults to 0.","required":false,"type":"integer","format":"int32","x-example":0,"default":0,"in":"query"},{"name":"borderColor","description":"Preview image border color. Use a valid HEX color, no # is needed for prefix.","required":false,"type":"string","default":"","in":"query"},{"name":"borderRadius","description":"Preview image border radius in pixels. Pass an integer between 0 to 4000.","required":false,"type":"integer","format":"int32","x-example":0,"default":0,"in":"query"},{"name":"opacity","description":"Preview image opacity. Only works with images having an alpha channel (like png). Pass a number between 0 to 1.","required":false,"type":"number","format":"float","x-example":0,"default":1,"in":"query"},{"name":"rotation","description":"Preview image rotation in degrees. Pass an integer between -360 and 360.","required":false,"type":"integer","format":"int32","x-example":-360,"default":0,"in":"query"},{"name":"background","description":"Preview image background color. Only works with transparent images (png). Use a valid HEX color, no # is needed for prefix.","required":false,"type":"string","default":"","in":"query"},{"name":"output","description":"Output format type (jpeg, jpg, png, gif and webp).","required":false,"type":"string","x-example":"jpg","enum":["jpg","jpeg","gif","png","webp"],"x-enum-name":"ImageFormat","x-enum-keys":[],"default":"","in":"query"}]}},"\/storage\/buckets\/{bucketId}\/files\/{fileId}\/view":{"get":{"summary":"Get file for view","operationId":"storageGetFileView","consumes":["application\/json"],"produces":["*\/*"],"tags":["storage"],"description":"Get a file content by its unique ID. This endpoint is similar to the download method but returns with no 'Content-Disposition: attachment' header.","responses":{"200":{"description":"File","schema":{"type":"file"}}},"x-appwrite":{"method":"getFileView","weight":207,"cookies":false,"type":"location","deprecated":false,"demo":"storage\/get-file-view.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-view.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"files.read","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"bucketId","description":"Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).","required":true,"type":"string","x-example":"<BUCKET_ID>","in":"path"},{"name":"fileId","description":"File ID.","required":true,"type":"string","x-example":"<FILE_ID>","in":"path"}]}},"\/teams":{"get":{"summary":"List teams","operationId":"teamsList","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Get a list of all the teams in which the current user is a member. You can use the parameters to filter your results.","responses":{"200":{"description":"Teams List","schema":{"$ref":"#\/definitions\/teamList"}}},"x-appwrite":{"method":"list","weight":214,"cookies":false,"type":"","deprecated":false,"demo":"teams\/list.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-teams.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/teams","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, total, billingPlan","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]},"post":{"summary":"Create team","operationId":"teamsCreate","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Create a new team. The user who creates the team will automatically be assigned as the owner of the team. Only the users with the owner role can invite new members, add new owners and delete or update the team.","responses":{"201":{"description":"Team","schema":{"$ref":"#\/definitions\/team"}}},"x-appwrite":{"method":"create","weight":213,"cookies":false,"type":"","deprecated":false,"demo":"teams\/create.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"teamId":{"type":"string","description":"Team ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<TEAM_ID>"},"name":{"type":"string","description":"Team name. Max length: 128 chars.","default":null,"x-example":"<NAME>"},"roles":{"type":"array","description":"Array of strings. Use this param to set the roles in the team for the user who created it. The default role is **owner**. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.","default":["owner"],"x-example":null,"items":{"type":"string"}}},"required":["teamId","name"]}}]}},"\/teams\/{teamId}":{"get":{"summary":"Get team","operationId":"teamsGet","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Get a team by its ID. All team members have read access for this resource.","responses":{"200":{"description":"Team","schema":{"$ref":"#\/definitions\/team"}}},"x-appwrite":{"method":"get","weight":215,"cookies":false,"type":"","deprecated":false,"demo":"teams\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/teams","offline-key":"{teamId}","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"}]},"put":{"summary":"Update name","operationId":"teamsUpdateName","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Update the team's name by its unique ID.","responses":{"200":{"description":"Team","schema":{"$ref":"#\/definitions\/team"}}},"x-appwrite":{"method":"updateName","weight":217,"cookies":false,"type":"","deprecated":false,"demo":"teams\/update-name.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-name.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"\/teams","offline-key":"{teamId}","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"New team name. Max length: 128 chars.","default":null,"x-example":"<NAME>"}},"required":["name"]}}]},"delete":{"summary":"Delete team","operationId":"teamsDelete","consumes":["application\/json"],"produces":[],"tags":["teams"],"description":"Delete a team using its ID. Only team members with the owner role can delete the team.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"delete","weight":219,"cookies":false,"type":"","deprecated":false,"demo":"teams\/delete.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"}]}},"\/teams\/{teamId}\/memberships":{"get":{"summary":"List team memberships","operationId":"teamsListMemberships","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Use this endpoint to list a team's members using the team's ID. All team members have read access to this endpoint.","responses":{"200":{"description":"Memberships List","schema":{"$ref":"#\/definitions\/membershipList"}}},"x-appwrite":{"method":"listMemberships","weight":221,"cookies":false,"type":"","deprecated":false,"demo":"teams\/list-memberships.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-team-members.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/teams\/{teamId}\/memberships","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, teamId, invited, joined, confirm","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]},"post":{"summary":"Create team membership","operationId":"teamsCreateMembership","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Invite a new member to join your team. Provide an ID for existing users, or invite unregistered users using an email or phone number. If initiated from a Client SDK, Appwrite will send an email or sms with a link to join the team to the invited user, and an account will be created for them if one doesn't exist. If initiated from a Server SDK, the new member will be added automatically to the team.\n\nYou only need to provide one of a user ID, email, or phone number. Appwrite will prioritize accepting the user ID > email > phone number if you provide more than one of these parameters.\n\nUse the `url` parameter to redirect the user from the invitation email to your app. After the user is redirected, use the [Update Team Membership Status](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/teams#updateMembershipStatus) endpoint to allow the user to accept the invitation to the team. \n\nPlease note that to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md) Appwrite will accept the only redirect URLs under the domains you have added as a platform on the Appwrite Console.\n","responses":{"201":{"description":"Membership","schema":{"$ref":"#\/definitions\/membership"}}},"x-appwrite":{"method":"createMembership","weight":220,"cookies":false,"type":"","deprecated":false,"demo":"teams\/create-membership.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team-membership.md","rate-limit":10,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"email":{"type":"string","description":"Email of the new team member.","default":"","x-example":"email@example.com"},"userId":{"type":"string","description":"ID of the user to be added to a team.","default":"","x-example":"<USER_ID>"},"phone":{"type":"string","description":"Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","default":"","x-example":"+12065550100"},"roles":{"type":"array","description":"Array of strings. Use this param to set the user roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.","default":null,"x-example":null,"items":{"type":"string"}},"url":{"type":"string","description":"URL to redirect the user back to your app from the invitation email. This parameter is not required when an API key is supplied. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.","default":"","x-example":"https:\/\/example.com"},"name":{"type":"string","description":"Name of the new team member. Max length: 128 chars.","default":"","x-example":"<NAME>"}},"required":["roles"]}}]}},"\/teams\/{teamId}\/memberships\/{membershipId}":{"get":{"summary":"Get team membership","operationId":"teamsGetMembership","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Get a team member by the membership unique id. All team members have read access for this resource.","responses":{"200":{"description":"Membership","schema":{"$ref":"#\/definitions\/membership"}}},"x-appwrite":{"method":"getMembership","weight":222,"cookies":false,"type":"","deprecated":false,"demo":"teams\/get-membership.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-member.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.read","platforms":["client","server","server"],"packaging":false,"offline-model":"\/teams\/{teamId}\/memberships","offline-key":"{membershipId}","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"},{"name":"membershipId","description":"Membership ID.","required":true,"type":"string","x-example":"<MEMBERSHIP_ID>","in":"path"}]},"patch":{"summary":"Update membership","operationId":"teamsUpdateMembership","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Modify the roles of a team member. Only team members with the owner role have access to this endpoint. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions).\n","responses":{"200":{"description":"Membership","schema":{"$ref":"#\/definitions\/membership"}}},"x-appwrite":{"method":"updateMembership","weight":223,"cookies":false,"type":"","deprecated":false,"demo":"teams\/update-membership.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"},{"name":"membershipId","description":"Membership ID.","required":true,"type":"string","x-example":"<MEMBERSHIP_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"roles":{"type":"array","description":"An array of strings. Use this param to set the user's roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.","default":null,"x-example":null,"items":{"type":"string"}}},"required":["roles"]}}]},"delete":{"summary":"Delete team membership","operationId":"teamsDeleteMembership","consumes":["application\/json"],"produces":[],"tags":["teams"],"description":"This endpoint allows a user to leave a team or for a team owner to delete the membership of any other team member. You can also use this endpoint to delete a user membership even if it is not accepted.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteMembership","weight":225,"cookies":false,"type":"","deprecated":false,"demo":"teams\/delete-membership.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team-membership.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"Key":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"},{"name":"membershipId","description":"Membership ID.","required":true,"type":"string","x-example":"<MEMBERSHIP_ID>","in":"path"}]}},"\/teams\/{teamId}\/memberships\/{membershipId}\/status":{"patch":{"summary":"Update team membership status","operationId":"teamsUpdateMembershipStatus","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Use this endpoint to allow a user to accept an invitation to join a team after being redirected back to your app from the invitation email received by the user.\n\nIf the request is successful, a session for the user is automatically created.\n","responses":{"200":{"description":"Membership","schema":{"$ref":"#\/definitions\/membership"}}},"x-appwrite":{"method":"updateMembershipStatus","weight":224,"cookies":false,"type":"","deprecated":false,"demo":"teams\/update-membership-status.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership-status.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"public","platforms":["client","server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"},{"name":"membershipId","description":"Membership ID.","required":true,"type":"string","x-example":"<MEMBERSHIP_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID.","default":null,"x-example":"<USER_ID>"},"secret":{"type":"string","description":"Secret key.","default":null,"x-example":"<SECRET>"}},"required":["userId","secret"]}}]}},"\/teams\/{teamId}\/prefs":{"get":{"summary":"Get team preferences","operationId":"teamsGetPrefs","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Get the team's shared preferences by its unique ID. If a preference doesn't need to be shared by all team members, prefer storing them in [user preferences](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#getPrefs).","responses":{"200":{"description":"Preferences","schema":{"$ref":"#\/definitions\/preferences"}}},"x-appwrite":{"method":"getPrefs","weight":216,"cookies":false,"type":"","deprecated":false,"demo":"teams\/get-prefs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-prefs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.read","platforms":["client","server"],"packaging":false,"offline-model":"\/teams\/{teamId}\/prefs","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"}]},"put":{"summary":"Update preferences","operationId":"teamsUpdatePrefs","consumes":["application\/json"],"produces":["application\/json"],"tags":["teams"],"description":"Update the team's preferences by its unique ID. The object you pass is stored as is and replaces any previous value. The maximum allowed prefs size is 64kB and throws an error if exceeded.","responses":{"200":{"description":"Preferences","schema":{"$ref":"#\/definitions\/preferences"}}},"x-appwrite":{"method":"updatePrefs","weight":218,"cookies":false,"type":"","deprecated":false,"demo":"teams\/update-prefs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-prefs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"teams.write","platforms":["client","server"],"packaging":false,"offline-model":"\/teams\/{teamId}\/prefs","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Session":[]}},"security":[{"Project":[],"Session":[],"JWT":[]}],"parameters":[{"name":"teamId","description":"Team ID.","required":true,"type":"string","x-example":"<TEAM_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"prefs":{"type":"object","description":"Prefs key-value JSON object.","default":{},"x-example":"{}"}},"required":["prefs"]}}]}},"\/users":{"get":{"summary":"List users","operationId":"usersList","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Get a list of all the project's users. You can use the query params to filter your results.","responses":{"200":{"description":"Users List","schema":{"$ref":"#\/definitions\/userList"}}},"x-appwrite":{"method":"list","weight":236,"cookies":false,"type":"","deprecated":false,"demo":"users\/list.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-users.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, email, phone, status, passwordUpdate, registration, emailVerification, phoneVerification, labels","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]},"post":{"summary":"Create user","operationId":"usersCreate","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Create a new user.","responses":{"201":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"create","weight":227,"cookies":false,"type":"","deprecated":false,"demo":"users\/create.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"phone":{"type":"string","description":"Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.","default":null,"x-example":"+12065550100"},"password":{"type":"string","description":"Plain text user password. Must be at least 8 chars.","default":"","x-example":null},"name":{"type":"string","description":"User name. Max length: 128 chars.","default":"","x-example":"<NAME>"}},"required":["userId"]}}]}},"\/users\/argon2":{"post":{"summary":"Create user with Argon2 password","operationId":"usersCreateArgon2User","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Create a new user. Password provided must be hashed with the [Argon2](https:\/\/en.wikipedia.org\/wiki\/Argon2) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.","responses":{"201":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"createArgon2User","weight":230,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-argon2user.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-argon2-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"password":{"type":"string","description":"User password hashed using Argon2.","default":null,"x-example":"password"},"name":{"type":"string","description":"User name. Max length: 128 chars.","default":"","x-example":"<NAME>"}},"required":["userId","email","password"]}}]}},"\/users\/bcrypt":{"post":{"summary":"Create user with bcrypt password","operationId":"usersCreateBcryptUser","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Create a new user. Password provided must be hashed with the [Bcrypt](https:\/\/en.wikipedia.org\/wiki\/Bcrypt) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.","responses":{"201":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"createBcryptUser","weight":228,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-bcrypt-user.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-bcrypt-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"password":{"type":"string","description":"User password hashed using Bcrypt.","default":null,"x-example":"password"},"name":{"type":"string","description":"User name. Max length: 128 chars.","default":"","x-example":"<NAME>"}},"required":["userId","email","password"]}}]}},"\/users\/identities":{"get":{"summary":"List Identities","operationId":"usersListIdentities","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Get identities for all users.","responses":{"200":{"description":"Identities List","schema":{"$ref":"#\/definitions\/identityList"}}},"x-appwrite":{"method":"listIdentities","weight":244,"cookies":false,"type":"","deprecated":false,"demo":"users\/list-identities.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-identities.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, provider, providerUid, providerEmail, providerAccessTokenExpiry","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"},{"name":"search","description":"Search term to filter your list results. Max length: 256 chars.","required":false,"type":"string","x-example":"<SEARCH>","default":"","in":"query"}]}},"\/users\/identities\/{identityId}":{"delete":{"summary":"Delete identity","operationId":"usersDeleteIdentity","consumes":["application\/json"],"produces":[],"tags":["users"],"description":"Delete an identity by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteIdentity","weight":267,"cookies":false,"type":"","deprecated":false,"demo":"users\/delete-identity.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-identity.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"identityId","description":"Identity ID.","required":true,"type":"string","x-example":"<IDENTITY_ID>","in":"path"}]}},"\/users\/md5":{"post":{"summary":"Create user with MD5 password","operationId":"usersCreateMD5User","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Create a new user. Password provided must be hashed with the [MD5](https:\/\/en.wikipedia.org\/wiki\/MD5) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.","responses":{"201":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"createMD5User","weight":229,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-m-d5user.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-md5-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"password":{"type":"string","description":"User password hashed using MD5.","default":null,"x-example":"password"},"name":{"type":"string","description":"User name. Max length: 128 chars.","default":"","x-example":"<NAME>"}},"required":["userId","email","password"]}}]}},"\/users\/phpass":{"post":{"summary":"Create user with PHPass password","operationId":"usersCreatePHPassUser","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Create a new user. Password provided must be hashed with the [PHPass](https:\/\/www.openwall.com\/phpass\/) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.","responses":{"201":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"createPHPassUser","weight":232,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-p-h-pass-user.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-phpass-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or pass the string `ID.unique()`to auto generate it. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"password":{"type":"string","description":"User password hashed using PHPass.","default":null,"x-example":"password"},"name":{"type":"string","description":"User name. Max length: 128 chars.","default":"","x-example":"<NAME>"}},"required":["userId","email","password"]}}]}},"\/users\/scrypt":{"post":{"summary":"Create user with Scrypt password","operationId":"usersCreateScryptUser","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Create a new user. Password provided must be hashed with the [Scrypt](https:\/\/github.com\/Tarsnap\/scrypt) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.","responses":{"201":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"createScryptUser","weight":233,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-scrypt-user.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-scrypt-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"password":{"type":"string","description":"User password hashed using Scrypt.","default":null,"x-example":"password"},"passwordSalt":{"type":"string","description":"Optional salt used to hash password.","default":null,"x-example":"<PASSWORD_SALT>"},"passwordCpu":{"type":"integer","description":"Optional CPU cost used to hash password.","default":null,"x-example":null},"passwordMemory":{"type":"integer","description":"Optional memory cost used to hash password.","default":null,"x-example":null},"passwordParallel":{"type":"integer","description":"Optional parallelization cost used to hash password.","default":null,"x-example":null},"passwordLength":{"type":"integer","description":"Optional hash length used to hash password.","default":null,"x-example":null},"name":{"type":"string","description":"User name. Max length: 128 chars.","default":"","x-example":"<NAME>"}},"required":["userId","email","password","passwordSalt","passwordCpu","passwordMemory","passwordParallel","passwordLength"]}}]}},"\/users\/scrypt-modified":{"post":{"summary":"Create user with Scrypt modified password","operationId":"usersCreateScryptModifiedUser","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Create a new user. Password provided must be hashed with the [Scrypt Modified](https:\/\/gist.github.com\/Meldiron\/eecf84a0225eccb5a378d45bb27462cc) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.","responses":{"201":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"createScryptModifiedUser","weight":234,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-scrypt-modified-user.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-scrypt-modified-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"password":{"type":"string","description":"User password hashed using Scrypt Modified.","default":null,"x-example":"password"},"passwordSalt":{"type":"string","description":"Salt used to hash password.","default":null,"x-example":"<PASSWORD_SALT>"},"passwordSaltSeparator":{"type":"string","description":"Salt separator used to hash password.","default":null,"x-example":"<PASSWORD_SALT_SEPARATOR>"},"passwordSignerKey":{"type":"string","description":"Signer key used to hash password.","default":null,"x-example":"<PASSWORD_SIGNER_KEY>"},"name":{"type":"string","description":"User name. Max length: 128 chars.","default":"","x-example":"<NAME>"}},"required":["userId","email","password","passwordSalt","passwordSaltSeparator","passwordSignerKey"]}}]}},"\/users\/sha":{"post":{"summary":"Create user with SHA password","operationId":"usersCreateSHAUser","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Create a new user. Password provided must be hashed with the [SHA](https:\/\/en.wikipedia.org\/wiki\/Secure_Hash_Algorithm) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.","responses":{"201":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"createSHAUser","weight":231,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-s-h-a-user.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-sha-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"payload","in":"body","schema":{"type":"object","properties":{"userId":{"type":"string","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<USER_ID>"},"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"},"password":{"type":"string","description":"User password hashed using SHA.","default":null,"x-example":"password"},"passwordVersion":{"type":"string","description":"Optional SHA version used to hash password. Allowed values are: 'sha1', 'sha224', 'sha256', 'sha384', 'sha512\/224', 'sha512\/256', 'sha512', 'sha3-224', 'sha3-256', 'sha3-384', 'sha3-512'","default":"","x-example":"sha1","enum":["sha1","sha224","sha256","sha384","sha512\/224","sha512\/256","sha512","sha3-224","sha3-256","sha3-384","sha3-512"],"x-enum-name":"PasswordHash","x-enum-keys":[]},"name":{"type":"string","description":"User name. Max length: 128 chars.","default":"","x-example":"<NAME>"}},"required":["userId","email","password"]}}]}},"\/users\/{userId}":{"get":{"summary":"Get user","operationId":"usersGet","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Get a user by its unique ID.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"get","weight":237,"cookies":false,"type":"","deprecated":false,"demo":"users\/get.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"}]},"delete":{"summary":"Delete user","operationId":"usersDelete","consumes":["application\/json"],"produces":[],"tags":["users"],"description":"Delete a user by its unique ID, thereby releasing it's ID. Since ID is released and can be reused, all user-related resources like documents or storage files should be deleted before user deletion. If you want to keep ID reserved, use the [updateStatus](https:\/\/appwrite.io\/docs\/server\/users#usersUpdateStatus) endpoint instead.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"delete","weight":265,"cookies":false,"type":"","deprecated":false,"demo":"users\/delete.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"}]}},"\/users\/{userId}\/email":{"patch":{"summary":"Update email","operationId":"usersUpdateEmail","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Update the user email by its unique ID.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updateEmail","weight":250,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-email.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-email.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"email":{"type":"string","description":"User email.","default":null,"x-example":"email@example.com"}},"required":["email"]}}]}},"\/users\/{userId}\/labels":{"put":{"summary":"Update user labels","operationId":"usersUpdateLabels","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Update the user labels by its unique ID. \n\nLabels can be used to grant access to resources. While teams are a way for user's to share access to a resource, labels can be defined by the developer to grant access without an invitation. See the [Permissions docs](https:\/\/appwrite.io\/docs\/permissions) for more info.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updateLabels","weight":246,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-labels.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-labels.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"labels":{"type":"array","description":"Array of user labels. Replaces the previous labels. Maximum of 1000 labels are allowed, each up to 36 alphanumeric characters long.","default":null,"x-example":null,"items":{"type":"string"}}},"required":["labels"]}}]}},"\/users\/{userId}\/logs":{"get":{"summary":"List user logs","operationId":"usersListLogs","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Get the user activity logs list by its unique ID.","responses":{"200":{"description":"Logs List","schema":{"$ref":"#\/definitions\/logList"}}},"x-appwrite":{"method":"listLogs","weight":242,"cookies":false,"type":"","deprecated":false,"demo":"users\/list-logs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-logs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]}},"\/users\/{userId}\/memberships":{"get":{"summary":"List user memberships","operationId":"usersListMemberships","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Get the user membership list by its unique ID.","responses":{"200":{"description":"Memberships List","schema":{"$ref":"#\/definitions\/membershipList"}}},"x-appwrite":{"method":"listMemberships","weight":241,"cookies":false,"type":"","deprecated":false,"demo":"users\/list-memberships.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-memberships.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"}]}},"\/users\/{userId}\/mfa":{"patch":{"summary":"Update MFA","operationId":"usersUpdateMfa","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Enable or disable MFA on a user account.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updateMfa","weight":255,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-mfa.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-mfa.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"mfa":{"type":"boolean","description":"Enable or disable MFA.","default":null,"x-example":false}},"required":["mfa"]}}]}},"\/users\/{userId}\/mfa\/authenticators\/{type}":{"delete":{"summary":"Delete Authenticator","operationId":"usersDeleteMfaAuthenticator","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Delete an authenticator app.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"deleteMfaAuthenticator","weight":260,"cookies":false,"type":"","deprecated":false,"demo":"users\/delete-mfa-authenticator.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-mfa-authenticator.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"type","description":"Type of authenticator.","required":true,"type":"string","x-example":"totp","enum":["totp"],"x-enum-name":"AuthenticatorType","x-enum-keys":[],"in":"path"}]}},"\/users\/{userId}\/mfa\/factors":{"get":{"summary":"List Factors","operationId":"usersListMfaFactors","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"List the factors available on the account to be used as a MFA challange.","responses":{"200":{"description":"MFAFactors","schema":{"$ref":"#\/definitions\/mfaFactors"}}},"x-appwrite":{"method":"listMfaFactors","weight":256,"cookies":false,"type":"","deprecated":false,"demo":"users\/list-mfa-factors.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-mfa-factors.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"}]}},"\/users\/{userId}\/mfa\/recovery-codes":{"get":{"summary":"Get MFA Recovery Codes","operationId":"usersGetMfaRecoveryCodes","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Get recovery codes that can be used as backup for MFA flow by User ID. Before getting codes, they must be generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method.","responses":{"200":{"description":"MFA Recovery Codes","schema":{"$ref":"#\/definitions\/mfaRecoveryCodes"}}},"x-appwrite":{"method":"getMfaRecoveryCodes","weight":257,"cookies":false,"type":"","deprecated":false,"demo":"users\/get-mfa-recovery-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-mfa-recovery-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"}]},"put":{"summary":"Regenerate MFA Recovery Codes","operationId":"usersUpdateMfaRecoveryCodes","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Regenerate recovery codes that can be used as backup for MFA flow by User ID. Before regenerating codes, they must be first generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method.","responses":{"200":{"description":"MFA Recovery Codes","schema":{"$ref":"#\/definitions\/mfaRecoveryCodes"}}},"x-appwrite":{"method":"updateMfaRecoveryCodes","weight":259,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-mfa-recovery-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-mfa-recovery-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"}]},"patch":{"summary":"Create MFA Recovery Codes","operationId":"usersCreateMfaRecoveryCodes","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Generate recovery codes used as backup for MFA flow for User ID. Recovery codes can be used as a MFA verification type in [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method by client SDK.","responses":{"201":{"description":"MFA Recovery Codes","schema":{"$ref":"#\/definitions\/mfaRecoveryCodes"}}},"x-appwrite":{"method":"createMfaRecoveryCodes","weight":258,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-mfa-recovery-codes.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-mfa-recovery-codes.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"}]}},"\/users\/{userId}\/name":{"patch":{"summary":"Update name","operationId":"usersUpdateName","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Update the user name by its unique ID.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updateName","weight":248,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-name.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-name.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"name":{"type":"string","description":"User name. Max length: 128 chars.","default":null,"x-example":"<NAME>"}},"required":["name"]}}]}},"\/users\/{userId}\/password":{"patch":{"summary":"Update password","operationId":"usersUpdatePassword","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Update the user password by its unique ID.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updatePassword","weight":249,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-password.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-password.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"password":{"type":"string","description":"New user password. Must be at least 8 chars.","default":null,"x-example":null}},"required":["password"]}}]}},"\/users\/{userId}\/phone":{"patch":{"summary":"Update phone","operationId":"usersUpdatePhone","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Update the user phone by its unique ID.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updatePhone","weight":251,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-phone.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-phone.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"number":{"type":"string","description":"User phone number.","default":null,"x-example":"+12065550100"}},"required":["number"]}}]}},"\/users\/{userId}\/prefs":{"get":{"summary":"Get user preferences","operationId":"usersGetPrefs","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Get the user preferences by its unique ID.","responses":{"200":{"description":"Preferences","schema":{"$ref":"#\/definitions\/preferences"}}},"x-appwrite":{"method":"getPrefs","weight":238,"cookies":false,"type":"","deprecated":false,"demo":"users\/get-prefs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user-prefs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"}]},"patch":{"summary":"Update user preferences","operationId":"usersUpdatePrefs","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Update the user preferences by its unique ID. The object you pass is stored as is, and replaces any previous value. The maximum allowed prefs size is 64kB and throws error if exceeded.","responses":{"200":{"description":"Preferences","schema":{"$ref":"#\/definitions\/preferences"}}},"x-appwrite":{"method":"updatePrefs","weight":253,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-prefs.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-prefs.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"prefs":{"type":"object","description":"Prefs key-value JSON object.","default":{},"x-example":"{}"}},"required":["prefs"]}}]}},"\/users\/{userId}\/sessions":{"get":{"summary":"List user sessions","operationId":"usersListSessions","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Get the user sessions list by its unique ID.","responses":{"200":{"description":"Sessions List","schema":{"$ref":"#\/definitions\/sessionList"}}},"x-appwrite":{"method":"listSessions","weight":240,"cookies":false,"type":"","deprecated":false,"demo":"users\/list-sessions.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-sessions.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.read","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"}]},"post":{"summary":"Create session","operationId":"usersCreateSession","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Creates a session for a user. Returns an immediately usable session object.\n\nIf you want to generate a token for a custom authentication flow, use the [POST \/users\/{userId}\/tokens](https:\/\/appwrite.io\/docs\/server\/users#createToken) endpoint.","responses":{"201":{"description":"Session","schema":{"$ref":"#\/definitions\/session"}}},"x-appwrite":{"method":"createSession","weight":261,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-session.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"}]},"delete":{"summary":"Delete user sessions","operationId":"usersDeleteSessions","consumes":["application\/json"],"produces":[],"tags":["users"],"description":"Delete all user's sessions by using the user's unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteSessions","weight":264,"cookies":false,"type":"","deprecated":false,"demo":"users\/delete-sessions.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-user-sessions.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"}]}},"\/users\/{userId}\/sessions\/{sessionId}":{"delete":{"summary":"Delete user session","operationId":"usersDeleteSession","consumes":["application\/json"],"produces":[],"tags":["users"],"description":"Delete a user sessions by its unique ID.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteSession","weight":263,"cookies":false,"type":"","deprecated":false,"demo":"users\/delete-session.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-user-session.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"sessionId","description":"Session ID.","required":true,"type":"string","x-example":"<SESSION_ID>","in":"path"}]}},"\/users\/{userId}\/status":{"patch":{"summary":"Update user status","operationId":"usersUpdateStatus","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Update the user status by its unique ID. Use this endpoint as an alternative to deleting a user if you want to keep user's ID reserved.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updateStatus","weight":245,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-status.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-status.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"status":{"type":"boolean","description":"User Status. To activate the user pass `true` and to block the user pass `false`.","default":null,"x-example":false}},"required":["status"]}}]}},"\/users\/{userId}\/targets":{"get":{"summary":"List User Targets","operationId":"usersListTargets","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"List the messaging targets that are associated with a user.","responses":{"200":{"description":"Target list","schema":{"$ref":"#\/definitions\/targetList"}}},"x-appwrite":{"method":"listTargets","weight":243,"cookies":false,"type":"","deprecated":false,"demo":"users\/list-targets.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-targets.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"targets.read","platforms":["server","console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"queries","description":"Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, email, phone, status, passwordUpdate, registration, emailVerification, phoneVerification, labels","required":false,"type":"array","collectionFormat":"multi","items":{"type":"string"},"default":[],"in":"query"}]},"post":{"summary":"Create User Target","operationId":"usersCreateTarget","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Create a messaging target.","responses":{"201":{"description":"Target","schema":{"$ref":"#\/definitions\/target"}}},"x-appwrite":{"method":"createTarget","weight":235,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-target.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-target.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"targets.write","platforms":["server","console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"targetId":{"type":"string","description":"Target ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.","default":null,"x-example":"<TARGET_ID>"},"providerType":{"type":"string","description":"The target provider type. Can be one of the following: `email`, `sms` or `push`.","default":null,"x-example":"email","enum":["email","sms","push"],"x-enum-name":"MessagingProviderType","x-enum-keys":[]},"identifier":{"type":"string","description":"The target identifier (token, email, phone etc.)","default":null,"x-example":"<IDENTIFIER>"},"providerId":{"type":"string","description":"Provider ID. Message will be sent to this target from the specified provider ID. If no provider ID is set the first setup provider will be used.","default":"","x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Target name. Max length: 128 chars. For example: My Awesome App Galaxy S23.","default":"","x-example":"<NAME>"}},"required":["targetId","providerType","identifier"]}}]}},"\/users\/{userId}\/targets\/{targetId}":{"get":{"summary":"Get User Target","operationId":"usersGetTarget","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Get a user's push notification target by ID.","responses":{"200":{"description":"Target","schema":{"$ref":"#\/definitions\/target"}}},"x-appwrite":{"method":"getTarget","weight":239,"cookies":false,"type":"","deprecated":false,"demo":"users\/get-target.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user-target.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"targets.read","platforms":["server","console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"targetId","description":"Target ID.","required":true,"type":"string","x-example":"<TARGET_ID>","in":"path"}]},"patch":{"summary":"Update User target","operationId":"usersUpdateTarget","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Update a messaging target.","responses":{"200":{"description":"Target","schema":{"$ref":"#\/definitions\/target"}}},"x-appwrite":{"method":"updateTarget","weight":254,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-target.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-target.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"targets.write","platforms":["server","console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"targetId","description":"Target ID.","required":true,"type":"string","x-example":"<TARGET_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"identifier":{"type":"string","description":"The target identifier (token, email, phone etc.)","default":"","x-example":"<IDENTIFIER>"},"providerId":{"type":"string","description":"Provider ID. Message will be sent to this target from the specified provider ID. If no provider ID is set the first setup provider will be used.","default":"","x-example":"<PROVIDER_ID>"},"name":{"type":"string","description":"Target name. Max length: 128 chars. For example: My Awesome App Galaxy S23.","default":"","x-example":"<NAME>"}}}}]},"delete":{"summary":"Delete user target","operationId":"usersDeleteTarget","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Delete a messaging target.","responses":{"204":{"description":"No content"}},"x-appwrite":{"method":"deleteTarget","weight":266,"cookies":false,"type":"","deprecated":false,"demo":"users\/delete-target.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-target.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"targets.write","platforms":["server","console"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"targetId","description":"Target ID.","required":true,"type":"string","x-example":"<TARGET_ID>","in":"path"}]}},"\/users\/{userId}\/tokens":{"post":{"summary":"Create token","operationId":"usersCreateToken","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Returns a token with a secret key for creating a session. Use the user ID and secret and submit a request to the [PUT \/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process.\n","responses":{"201":{"description":"Token","schema":{"$ref":"#\/definitions\/token"}}},"x-appwrite":{"method":"createToken","weight":262,"cookies":false,"type":"","deprecated":false,"demo":"users\/create-token.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-token.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"length":{"type":"integer","description":"Token length in characters. The default length is 6 characters","default":6,"x-example":4},"expire":{"type":"integer","description":"Token expiration period in seconds. The default expiration is 15 minutes.","default":900,"x-example":60}}}}]}},"\/users\/{userId}\/verification":{"patch":{"summary":"Update email verification","operationId":"usersUpdateEmailVerification","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Update the user email verification status by its unique ID.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updateEmailVerification","weight":252,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-email-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-email-verification.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"emailVerification":{"type":"boolean","description":"User email verification status.","default":null,"x-example":false}},"required":["emailVerification"]}}]}},"\/users\/{userId}\/verification\/phone":{"patch":{"summary":"Update phone verification","operationId":"usersUpdatePhoneVerification","consumes":["application\/json"],"produces":["application\/json"],"tags":["users"],"description":"Update the user phone verification status by its unique ID.","responses":{"200":{"description":"User","schema":{"$ref":"#\/definitions\/user"}}},"x-appwrite":{"method":"updatePhoneVerification","weight":247,"cookies":false,"type":"","deprecated":false,"demo":"users\/update-phone-verification.md","edit":"https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-phone-verification.md","rate-limit":0,"rate-time":3600,"rate-key":"url:{url},ip:{ip}","scope":"users.write","platforms":["server"],"packaging":false,"offline-model":"","offline-key":"","offline-response-key":"$id","auth":{"Project":[],"Key":[]}},"security":[{"Project":[],"Key":[]}],"parameters":[{"name":"userId","description":"User ID.","required":true,"type":"string","x-example":"<USER_ID>","in":"path"},{"name":"payload","in":"body","schema":{"type":"object","properties":{"phoneVerification":{"type":"boolean","description":"User phone verification status.","default":null,"x-example":false}},"required":["phoneVerification"]}}]}}},"tags":[{"name":"account","description":"The Account service allows you to authenticate and manage a user account.","x-globalAttributes":[]},{"name":"avatars","description":"The Avatars service aims to help you complete everyday tasks related to your app image, icons, and avatars.","x-globalAttributes":[]},{"name":"databases","description":"The Databases service allows you to create structured collections of documents, query and filter lists of documents","x-globalAttributes":["databaseId"]},{"name":"locale","description":"The Locale service allows you to customize your app based on your users' location.","x-globalAttributes":[]},{"name":"health","description":"The Health service allows you to both validate and monitor your Appwrite server's health.","x-globalAttributes":[]},{"name":"projects","description":"The Project service allows you to manage all the projects in your Appwrite server.","x-globalAttributes":[]},{"name":"project","description":"The Project service allows you to manage all the projects in your Appwrite server.","x-globalAttributes":[]},{"name":"storage","description":"The Storage service allows you to manage your project files.","x-globalAttributes":[]},{"name":"teams","description":"The Teams service allows you to group users of your project and to enable them to share read and write access to your project resources","x-globalAttributes":[]},{"name":"users","description":"The Users service allows you to manage your project users.","x-globalAttributes":[]},{"name":"functions","description":"The Functions Service allows you view, create and manage your Cloud Functions.","x-globalAttributes":[]},{"name":"proxy","description":"The Proxy Service allows you to configure actions for your domains beyond DNS configuration.","x-globalAttributes":[]},{"name":"graphql","description":"The GraphQL API allows you to query and mutate your Appwrite server using GraphQL.","x-globalAttributes":[]},{"name":"console","description":"The Console service allows you to interact with console relevant informations.","x-globalAttributes":[]},{"name":"migrations","description":"The Migrations service allows you to migrate third-party data to your Appwrite project.","x-globalAttributes":[]},{"name":"messaging","description":"The Messaging service allows you to send messages to any provider type (SMTP, push notification, SMS, etc.).","x-globalAttributes":[]}],"definitions":{"any":{"description":"Any","type":"object","additionalProperties":true},"documentList":{"description":"Documents List","type":"object","properties":{"total":{"type":"integer","description":"Total number of documents documents that matched your query.","x-example":5,"format":"int32"},"documents":{"type":"array","description":"List of documents.","items":{"type":"object","$ref":"#\/definitions\/document"},"x-example":""}},"required":["total","documents"]},"collectionList":{"description":"Collections List","type":"object","properties":{"total":{"type":"integer","description":"Total number of collections documents that matched your query.","x-example":5,"format":"int32"},"collections":{"type":"array","description":"List of collections.","items":{"type":"object","$ref":"#\/definitions\/collection"},"x-example":""}},"required":["total","collections"]},"databaseList":{"description":"Databases List","type":"object","properties":{"total":{"type":"integer","description":"Total number of databases documents that matched your query.","x-example":5,"format":"int32"},"databases":{"type":"array","description":"List of databases.","items":{"type":"object","$ref":"#\/definitions\/database"},"x-example":""}},"required":["total","databases"]},"indexList":{"description":"Indexes List","type":"object","properties":{"total":{"type":"integer","description":"Total number of indexes documents that matched your query.","x-example":5,"format":"int32"},"indexes":{"type":"array","description":"List of indexes.","items":{"type":"object","$ref":"#\/definitions\/index"},"x-example":""}},"required":["total","indexes"]},"userList":{"description":"Users List","type":"object","properties":{"total":{"type":"integer","description":"Total number of users documents that matched your query.","x-example":5,"format":"int32"},"users":{"type":"array","description":"List of users.","items":{"type":"object","$ref":"#\/definitions\/user"},"x-example":""}},"required":["total","users"]},"sessionList":{"description":"Sessions List","type":"object","properties":{"total":{"type":"integer","description":"Total number of sessions documents that matched your query.","x-example":5,"format":"int32"},"sessions":{"type":"array","description":"List of sessions.","items":{"type":"object","$ref":"#\/definitions\/session"},"x-example":""}},"required":["total","sessions"]},"identityList":{"description":"Identities List","type":"object","properties":{"total":{"type":"integer","description":"Total number of identities documents that matched your query.","x-example":5,"format":"int32"},"identities":{"type":"array","description":"List of identities.","items":{"type":"object","$ref":"#\/definitions\/identity"},"x-example":""}},"required":["total","identities"]},"logList":{"description":"Logs List","type":"object","properties":{"total":{"type":"integer","description":"Total number of logs documents that matched your query.","x-example":5,"format":"int32"},"logs":{"type":"array","description":"List of logs.","items":{"type":"object","$ref":"#\/definitions\/log"},"x-example":""}},"required":["total","logs"]},"fileList":{"description":"Files List","type":"object","properties":{"total":{"type":"integer","description":"Total number of files documents that matched your query.","x-example":5,"format":"int32"},"files":{"type":"array","description":"List of files.","items":{"type":"object","$ref":"#\/definitions\/file"},"x-example":""}},"required":["total","files"]},"bucketList":{"description":"Buckets List","type":"object","properties":{"total":{"type":"integer","description":"Total number of buckets documents that matched your query.","x-example":5,"format":"int32"},"buckets":{"type":"array","description":"List of buckets.","items":{"type":"object","$ref":"#\/definitions\/bucket"},"x-example":""}},"required":["total","buckets"]},"teamList":{"description":"Teams List","type":"object","properties":{"total":{"type":"integer","description":"Total number of teams documents that matched your query.","x-example":5,"format":"int32"},"teams":{"type":"array","description":"List of teams.","items":{"type":"object","$ref":"#\/definitions\/team"},"x-example":""}},"required":["total","teams"]},"membershipList":{"description":"Memberships List","type":"object","properties":{"total":{"type":"integer","description":"Total number of memberships documents that matched your query.","x-example":5,"format":"int32"},"memberships":{"type":"array","description":"List of memberships.","items":{"type":"object","$ref":"#\/definitions\/membership"},"x-example":""}},"required":["total","memberships"]},"functionList":{"description":"Functions List","type":"object","properties":{"total":{"type":"integer","description":"Total number of functions documents that matched your query.","x-example":5,"format":"int32"},"functions":{"type":"array","description":"List of functions.","items":{"type":"object","$ref":"#\/definitions\/function"},"x-example":""}},"required":["total","functions"]},"runtimeList":{"description":"Runtimes List","type":"object","properties":{"total":{"type":"integer","description":"Total number of runtimes documents that matched your query.","x-example":5,"format":"int32"},"runtimes":{"type":"array","description":"List of runtimes.","items":{"type":"object","$ref":"#\/definitions\/runtime"},"x-example":""}},"required":["total","runtimes"]},"deploymentList":{"description":"Deployments List","type":"object","properties":{"total":{"type":"integer","description":"Total number of deployments documents that matched your query.","x-example":5,"format":"int32"},"deployments":{"type":"array","description":"List of deployments.","items":{"type":"object","$ref":"#\/definitions\/deployment"},"x-example":""}},"required":["total","deployments"]},"executionList":{"description":"Executions List","type":"object","properties":{"total":{"type":"integer","description":"Total number of executions documents that matched your query.","x-example":5,"format":"int32"},"executions":{"type":"array","description":"List of executions.","items":{"type":"object","$ref":"#\/definitions\/execution"},"x-example":""}},"required":["total","executions"]},"countryList":{"description":"Countries List","type":"object","properties":{"total":{"type":"integer","description":"Total number of countries documents that matched your query.","x-example":5,"format":"int32"},"countries":{"type":"array","description":"List of countries.","items":{"type":"object","$ref":"#\/definitions\/country"},"x-example":""}},"required":["total","countries"]},"continentList":{"description":"Continents List","type":"object","properties":{"total":{"type":"integer","description":"Total number of continents documents that matched your query.","x-example":5,"format":"int32"},"continents":{"type":"array","description":"List of continents.","items":{"type":"object","$ref":"#\/definitions\/continent"},"x-example":""}},"required":["total","continents"]},"languageList":{"description":"Languages List","type":"object","properties":{"total":{"type":"integer","description":"Total number of languages documents that matched your query.","x-example":5,"format":"int32"},"languages":{"type":"array","description":"List of languages.","items":{"type":"object","$ref":"#\/definitions\/language"},"x-example":""}},"required":["total","languages"]},"currencyList":{"description":"Currencies List","type":"object","properties":{"total":{"type":"integer","description":"Total number of currencies documents that matched your query.","x-example":5,"format":"int32"},"currencies":{"type":"array","description":"List of currencies.","items":{"type":"object","$ref":"#\/definitions\/currency"},"x-example":""}},"required":["total","currencies"]},"phoneList":{"description":"Phones List","type":"object","properties":{"total":{"type":"integer","description":"Total number of phones documents that matched your query.","x-example":5,"format":"int32"},"phones":{"type":"array","description":"List of phones.","items":{"type":"object","$ref":"#\/definitions\/phone"},"x-example":""}},"required":["total","phones"]},"variableList":{"description":"Variables List","type":"object","properties":{"total":{"type":"integer","description":"Total number of variables documents that matched your query.","x-example":5,"format":"int32"},"variables":{"type":"array","description":"List of variables.","items":{"type":"object","$ref":"#\/definitions\/variable"},"x-example":""}},"required":["total","variables"]},"localeCodeList":{"description":"Locale codes list","type":"object","properties":{"total":{"type":"integer","description":"Total number of localeCodes documents that matched your query.","x-example":5,"format":"int32"},"localeCodes":{"type":"array","description":"List of localeCodes.","items":{"type":"object","$ref":"#\/definitions\/localeCode"},"x-example":""}},"required":["total","localeCodes"]},"providerList":{"description":"Provider list","type":"object","properties":{"total":{"type":"integer","description":"Total number of providers documents that matched your query.","x-example":5,"format":"int32"},"providers":{"type":"array","description":"List of providers.","items":{"type":"object","$ref":"#\/definitions\/provider"},"x-example":""}},"required":["total","providers"]},"messageList":{"description":"Message list","type":"object","properties":{"total":{"type":"integer","description":"Total number of messages documents that matched your query.","x-example":5,"format":"int32"},"messages":{"type":"array","description":"List of messages.","items":{"type":"object","$ref":"#\/definitions\/message"},"x-example":""}},"required":["total","messages"]},"topicList":{"description":"Topic list","type":"object","properties":{"total":{"type":"integer","description":"Total number of topics documents that matched your query.","x-example":5,"format":"int32"},"topics":{"type":"array","description":"List of topics.","items":{"type":"object","$ref":"#\/definitions\/topic"},"x-example":""}},"required":["total","topics"]},"subscriberList":{"description":"Subscriber list","type":"object","properties":{"total":{"type":"integer","description":"Total number of subscribers documents that matched your query.","x-example":5,"format":"int32"},"subscribers":{"type":"array","description":"List of subscribers.","items":{"type":"object","$ref":"#\/definitions\/subscriber"},"x-example":""}},"required":["total","subscribers"]},"targetList":{"description":"Target list","type":"object","properties":{"total":{"type":"integer","description":"Total number of targets documents that matched your query.","x-example":5,"format":"int32"},"targets":{"type":"array","description":"List of targets.","items":{"type":"object","$ref":"#\/definitions\/target"},"x-example":""}},"required":["total","targets"]},"database":{"description":"Database","type":"object","properties":{"$id":{"type":"string","description":"Database ID.","x-example":"5e5ea5c16897e"},"name":{"type":"string","description":"Database name.","x-example":"My Database"},"$createdAt":{"type":"string","description":"Database creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Database update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"enabled":{"type":"boolean","description":"If database is enabled. Can be 'enabled' or 'disabled'. When disabled, the database is inaccessible to users, but remains accessible to Server SDKs using API keys.","x-example":false}},"required":["$id","name","$createdAt","$updatedAt","enabled"]},"collection":{"description":"Collection","type":"object","properties":{"$id":{"type":"string","description":"Collection ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Collection creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Collection update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$permissions":{"type":"array","description":"Collection permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","items":{"type":"string"},"x-example":["read(\"any\")"]},"databaseId":{"type":"string","description":"Database ID.","x-example":"5e5ea5c16897e"},"name":{"type":"string","description":"Collection name.","x-example":"My Collection"},"enabled":{"type":"boolean","description":"Collection enabled. Can be 'enabled' or 'disabled'. When disabled, the collection is inaccessible to users, but remains accessible to Server SDKs using API keys.","x-example":false},"documentSecurity":{"type":"boolean","description":"Whether document-level permissions are enabled. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":true},"attributes":{"type":"array","description":"Collection attributes.","items":{"x-anyOf":[{"$ref":"#\/definitions\/attributeBoolean"},{"$ref":"#\/definitions\/attributeInteger"},{"$ref":"#\/definitions\/attributeFloat"},{"$ref":"#\/definitions\/attributeEmail"},{"$ref":"#\/definitions\/attributeEnum"},{"$ref":"#\/definitions\/attributeUrl"},{"$ref":"#\/definitions\/attributeIp"},{"$ref":"#\/definitions\/attributeDatetime"},{"$ref":"#\/definitions\/attributeRelationship"},{"$ref":"#\/definitions\/attributeString"}]},"x-example":{}},"indexes":{"type":"array","description":"Collection indexes.","items":{"type":"object","$ref":"#\/definitions\/index"},"x-example":{}}},"required":["$id","$createdAt","$updatedAt","$permissions","databaseId","name","enabled","documentSecurity","attributes","indexes"]},"attributeList":{"description":"Attributes List","type":"object","properties":{"total":{"type":"integer","description":"Total number of attributes in the given collection.","x-example":5,"format":"int32"},"attributes":{"type":"array","description":"List of attributes.","items":{"x-anyOf":[{"$ref":"#\/definitions\/attributeBoolean"},{"$ref":"#\/definitions\/attributeInteger"},{"$ref":"#\/definitions\/attributeFloat"},{"$ref":"#\/definitions\/attributeEmail"},{"$ref":"#\/definitions\/attributeEnum"},{"$ref":"#\/definitions\/attributeUrl"},{"$ref":"#\/definitions\/attributeIp"},{"$ref":"#\/definitions\/attributeDatetime"},{"$ref":"#\/definitions\/attributeRelationship"},{"$ref":"#\/definitions\/attributeString"}]},"x-example":""}},"required":["total","attributes"]},"attributeString":{"description":"AttributeString","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"fullName"},"type":{"type":"string","description":"Attribute type.","x-example":"string"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"x-nullable":true},"size":{"type":"integer","description":"Attribute size.","x-example":128,"format":"int32"},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"default","x-nullable":true}},"required":["key","type","status","error","required","size"]},"attributeInteger":{"description":"AttributeInteger","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"count"},"type":{"type":"string","description":"Attribute type.","x-example":"integer"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"x-nullable":true},"min":{"type":"integer","description":"Minimum value to enforce for new documents.","x-example":1,"format":"int32","x-nullable":true},"max":{"type":"integer","description":"Maximum value to enforce for new documents.","x-example":10,"format":"int32","x-nullable":true},"default":{"type":"integer","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":10,"format":"int32","x-nullable":true}},"required":["key","type","status","error","required"]},"attributeFloat":{"description":"AttributeFloat","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"percentageCompleted"},"type":{"type":"string","description":"Attribute type.","x-example":"double"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"x-nullable":true},"min":{"type":"number","description":"Minimum value to enforce for new documents.","x-example":1.5,"format":"double","x-nullable":true},"max":{"type":"number","description":"Maximum value to enforce for new documents.","x-example":10.5,"format":"double","x-nullable":true},"default":{"type":"number","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":2.5,"format":"double","x-nullable":true}},"required":["key","type","status","error","required"]},"attributeBoolean":{"description":"AttributeBoolean","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"isEnabled"},"type":{"type":"string","description":"Attribute type.","x-example":"boolean"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"x-nullable":true},"default":{"type":"boolean","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":false,"x-nullable":true}},"required":["key","type","status","error","required"]},"attributeEmail":{"description":"AttributeEmail","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"userEmail"},"type":{"type":"string","description":"Attribute type.","x-example":"string"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"x-nullable":true},"format":{"type":"string","description":"String format.","x-example":"email"},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"default@example.com","x-nullable":true}},"required":["key","type","status","error","required","format"]},"attributeEnum":{"description":"AttributeEnum","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"status"},"type":{"type":"string","description":"Attribute type.","x-example":"string"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"x-nullable":true},"elements":{"type":"array","description":"Array of elements in enumerated type.","items":{"type":"string"},"x-example":"element"},"format":{"type":"string","description":"String format.","x-example":"enum"},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"element","x-nullable":true}},"required":["key","type","status","error","required","elements","format"]},"attributeIp":{"description":"AttributeIP","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"ipAddress"},"type":{"type":"string","description":"Attribute type.","x-example":"string"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"x-nullable":true},"format":{"type":"string","description":"String format.","x-example":"ip"},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"192.0.2.0","x-nullable":true}},"required":["key","type","status","error","required","format"]},"attributeUrl":{"description":"AttributeURL","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"githubUrl"},"type":{"type":"string","description":"Attribute type.","x-example":"string"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"x-nullable":true},"format":{"type":"string","description":"String format.","x-example":"url"},"default":{"type":"string","description":"Default value for attribute when not provided. Cannot be set when attribute is required.","x-example":"http:\/\/example.com","x-nullable":true}},"required":["key","type","status","error","required","format"]},"attributeDatetime":{"description":"AttributeDatetime","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"birthDay"},"type":{"type":"string","description":"Attribute type.","x-example":"datetime"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"x-nullable":true},"format":{"type":"string","description":"ISO 8601 format.","x-example":"datetime"},"default":{"type":"string","description":"Default value for attribute when not provided. Only null is optional","x-example":"2020-10-15T06:38:00.000+00:00","x-nullable":true}},"required":["key","type","status","error","required","format"]},"attributeRelationship":{"description":"AttributeRelationship","type":"object","properties":{"key":{"type":"string","description":"Attribute Key.","x-example":"fullName"},"type":{"type":"string","description":"Attribute type.","x-example":"string"},"status":{"type":"string","description":"Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an attribute.","x-example":"string"},"required":{"type":"boolean","description":"Is attribute required?","x-example":true},"array":{"type":"boolean","description":"Is attribute an array?","x-example":false,"x-nullable":true},"relatedCollection":{"type":"string","description":"The ID of the related collection.","x-example":"collection"},"relationType":{"type":"string","description":"The type of the relationship.","x-example":"oneToOne|oneToMany|manyToOne|manyToMany"},"twoWay":{"type":"boolean","description":"Is the relationship two-way?","x-example":false},"twoWayKey":{"type":"string","description":"The key of the two-way relationship.","x-example":"string"},"onDelete":{"type":"string","description":"How deleting the parent document will propagate to child documents.","x-example":"restrict|cascade|setNull"},"side":{"type":"string","description":"Whether this is the parent or child side of the relationship","x-example":"parent|child"}},"required":["key","type","status","error","required","relatedCollection","relationType","twoWay","twoWayKey","onDelete","side"]},"index":{"description":"Index","type":"object","properties":{"key":{"type":"string","description":"Index Key.","x-example":"index1"},"type":{"type":"string","description":"Index type.","x-example":"primary"},"status":{"type":"string","description":"Index status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`","x-example":"available"},"error":{"type":"string","description":"Error message. Displays error generated on failure of creating or deleting an index.","x-example":"string"},"attributes":{"type":"array","description":"Index attributes.","items":{"type":"string"},"x-example":[]},"orders":{"type":"array","description":"Index orders.","items":{"type":"string"},"x-example":[],"x-nullable":true}},"required":["key","type","status","error","attributes"]},"document":{"description":"Document","type":"object","properties":{"$id":{"type":"string","description":"Document ID.","x-example":"5e5ea5c16897e"},"$collectionId":{"type":"string","description":"Collection ID.","x-example":"5e5ea5c15117e"},"$databaseId":{"type":"string","description":"Database ID.","x-example":"5e5ea5c15117e"},"$createdAt":{"type":"string","description":"Document creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Document update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$permissions":{"type":"array","description":"Document permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","items":{"type":"string"},"x-example":["read(\"any\")"]}},"additionalProperties":true,"required":["$id","$collectionId","$databaseId","$createdAt","$updatedAt","$permissions"]},"log":{"description":"Log","type":"object","properties":{"event":{"type":"string","description":"Event name.","x-example":"account.sessions.create"},"userId":{"type":"string","description":"User ID.","x-example":"610fc2f985ee0"},"userEmail":{"type":"string","description":"User Email.","x-example":"john@appwrite.io"},"userName":{"type":"string","description":"User Name.","x-example":"John Doe"},"mode":{"type":"string","description":"API mode when event triggered.","x-example":"admin"},"ip":{"type":"string","description":"IP session in use when the session was created.","x-example":"127.0.0.1"},"time":{"type":"string","description":"Log creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"osCode":{"type":"string","description":"Operating system code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/os.json).","x-example":"Mac"},"osName":{"type":"string","description":"Operating system name.","x-example":"Mac"},"osVersion":{"type":"string","description":"Operating system version.","x-example":"Mac"},"clientType":{"type":"string","description":"Client type.","x-example":"browser"},"clientCode":{"type":"string","description":"Client code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/clients.json).","x-example":"CM"},"clientName":{"type":"string","description":"Client name.","x-example":"Chrome Mobile iOS"},"clientVersion":{"type":"string","description":"Client version.","x-example":"84.0"},"clientEngine":{"type":"string","description":"Client engine name.","x-example":"WebKit"},"clientEngineVersion":{"type":"string","description":"Client engine name.","x-example":"605.1.15"},"deviceName":{"type":"string","description":"Device name.","x-example":"smartphone"},"deviceBrand":{"type":"string","description":"Device brand name.","x-example":"Google"},"deviceModel":{"type":"string","description":"Device model name.","x-example":"Nexus 5"},"countryCode":{"type":"string","description":"Country two-character ISO 3166-1 alpha code.","x-example":"US"},"countryName":{"type":"string","description":"Country name.","x-example":"United States"}},"required":["event","userId","userEmail","userName","mode","ip","time","osCode","osName","osVersion","clientType","clientCode","clientName","clientVersion","clientEngine","clientEngineVersion","deviceName","deviceBrand","deviceModel","countryCode","countryName"]},"user":{"description":"User","type":"object","properties":{"$id":{"type":"string","description":"User ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"User creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"User update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"User name.","x-example":"John Doe"},"password":{"type":"string","description":"Hashed user password.","x-example":"$argon2id$v=19$m=2048,t=4,p=3$aUZjLnliVWRINmFNTWMudg$5S+x+7uA31xFnrHFT47yFwcJeaP0w92L\/4LdgrVRXxE","x-nullable":true},"hash":{"type":"string","description":"Password hashing algorithm.","x-example":"argon2","x-nullable":true},"hashOptions":{"type":"object","description":"Password hashing algorithm configuration.","x-example":{},"items":{"x-oneOf":[{"$ref":"#\/definitions\/algoArgon2"},{"$ref":"#\/definitions\/algoScrypt"},{"$ref":"#\/definitions\/algoScryptModified"},{"$ref":"#\/definitions\/algoBcrypt"},{"$ref":"#\/definitions\/algoPhpass"},{"$ref":"#\/definitions\/algoSha"},{"$ref":"#\/definitions\/algoMd5"}]},"x-nullable":true},"registration":{"type":"string","description":"User registration date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"status":{"type":"boolean","description":"User status. Pass `true` for enabled and `false` for disabled.","x-example":true},"labels":{"type":"array","description":"Labels for the user.","items":{"type":"string"},"x-example":["vip"]},"passwordUpdate":{"type":"string","description":"Password update time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"email":{"type":"string","description":"User email address.","x-example":"john@appwrite.io"},"phone":{"type":"string","description":"User phone number in E.164 format.","x-example":"+4930901820"},"emailVerification":{"type":"boolean","description":"Email verification status.","x-example":true},"phoneVerification":{"type":"boolean","description":"Phone verification status.","x-example":true},"mfa":{"type":"boolean","description":"Multi factor authentication status.","x-example":true},"prefs":{"type":"object","description":"User preferences as a key-value object","x-example":{"theme":"pink","timezone":"UTC"},"items":{"type":"object","$ref":"#\/definitions\/preferences"}},"targets":{"type":"array","description":"A user-owned message receiver. A single user may have multiple e.g. emails, phones, and a browser. Each target is registered with a single provider.","items":{"type":"object","$ref":"#\/definitions\/target"},"x-example":[]},"accessedAt":{"type":"string","description":"Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.","x-example":"2020-10-15T06:38:00.000+00:00"}},"required":["$id","$createdAt","$updatedAt","name","registration","status","labels","passwordUpdate","email","phone","emailVerification","phoneVerification","mfa","prefs","targets","accessedAt"]},"algoMd5":{"description":"AlgoMD5","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"md5"}},"required":["type"]},"algoSha":{"description":"AlgoSHA","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"sha"}},"required":["type"]},"algoPhpass":{"description":"AlgoPHPass","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"phpass"}},"required":["type"]},"algoBcrypt":{"description":"AlgoBcrypt","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"bcrypt"}},"required":["type"]},"algoScrypt":{"description":"AlgoScrypt","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"scrypt"},"costCpu":{"type":"integer","description":"CPU complexity of computed hash.","x-example":8,"format":"int32"},"costMemory":{"type":"integer","description":"Memory complexity of computed hash.","x-example":14,"format":"int32"},"costParallel":{"type":"integer","description":"Parallelization of computed hash.","x-example":1,"format":"int32"},"length":{"type":"integer","description":"Length used to compute hash.","x-example":64,"format":"int32"}},"required":["type","costCpu","costMemory","costParallel","length"]},"algoScryptModified":{"description":"AlgoScryptModified","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"scryptMod"},"salt":{"type":"string","description":"Salt used to compute hash.","x-example":"UxLMreBr6tYyjQ=="},"saltSeparator":{"type":"string","description":"Separator used to compute hash.","x-example":"Bw=="},"signerKey":{"type":"string","description":"Key used to compute hash.","x-example":"XyEKE9RcTDeLEsL\/RjwPDBv\/RqDl8fb3gpYEOQaPihbxf1ZAtSOHCjuAAa7Q3oHpCYhXSN9tizHgVOwn6krflQ=="}},"required":["type","salt","saltSeparator","signerKey"]},"algoArgon2":{"description":"AlgoArgon2","type":"object","properties":{"type":{"type":"string","description":"Algo type.","x-example":"argon2"},"memoryCost":{"type":"integer","description":"Memory used to compute hash.","x-example":65536,"format":"int32"},"timeCost":{"type":"integer","description":"Amount of time consumed to compute hash","x-example":4,"format":"int32"},"threads":{"type":"integer","description":"Number of threads used to compute hash.","x-example":3,"format":"int32"}},"required":["type","memoryCost","timeCost","threads"]},"preferences":{"description":"Preferences","type":"object","additionalProperties":true},"session":{"description":"Session","type":"object","properties":{"$id":{"type":"string","description":"Session ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Session creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Session update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"userId":{"type":"string","description":"User ID.","x-example":"5e5bb8c16897e"},"expire":{"type":"string","description":"Session expiration date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"provider":{"type":"string","description":"Session Provider.","x-example":"email"},"providerUid":{"type":"string","description":"Session Provider User ID.","x-example":"user@example.com"},"providerAccessToken":{"type":"string","description":"Session Provider Access Token.","x-example":"MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3"},"providerAccessTokenExpiry":{"type":"string","description":"The date of when the access token expires in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"providerRefreshToken":{"type":"string","description":"Session Provider Refresh Token.","x-example":"MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3"},"ip":{"type":"string","description":"IP in use when the session was created.","x-example":"127.0.0.1"},"osCode":{"type":"string","description":"Operating system code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/os.json).","x-example":"Mac"},"osName":{"type":"string","description":"Operating system name.","x-example":"Mac"},"osVersion":{"type":"string","description":"Operating system version.","x-example":"Mac"},"clientType":{"type":"string","description":"Client type.","x-example":"browser"},"clientCode":{"type":"string","description":"Client code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/clients.json).","x-example":"CM"},"clientName":{"type":"string","description":"Client name.","x-example":"Chrome Mobile iOS"},"clientVersion":{"type":"string","description":"Client version.","x-example":"84.0"},"clientEngine":{"type":"string","description":"Client engine name.","x-example":"WebKit"},"clientEngineVersion":{"type":"string","description":"Client engine name.","x-example":"605.1.15"},"deviceName":{"type":"string","description":"Device name.","x-example":"smartphone"},"deviceBrand":{"type":"string","description":"Device brand name.","x-example":"Google"},"deviceModel":{"type":"string","description":"Device model name.","x-example":"Nexus 5"},"countryCode":{"type":"string","description":"Country two-character ISO 3166-1 alpha code.","x-example":"US"},"countryName":{"type":"string","description":"Country name.","x-example":"United States"},"current":{"type":"boolean","description":"Returns true if this the current user session.","x-example":true},"factors":{"type":"array","description":"Returns a list of active session factors.","items":{"type":"string"},"x-example":["email"]},"secret":{"type":"string","description":"Secret used to authenticate the user. Only included if the request was made with an API key","x-example":"5e5bb8c16897e"},"mfaUpdatedAt":{"type":"string","description":"Most recent date in ISO 8601 format when the session successfully passed MFA challenge.","x-example":"2020-10-15T06:38:00.000+00:00"}},"required":["$id","$createdAt","$updatedAt","userId","expire","provider","providerUid","providerAccessToken","providerAccessTokenExpiry","providerRefreshToken","ip","osCode","osName","osVersion","clientType","clientCode","clientName","clientVersion","clientEngine","clientEngineVersion","deviceName","deviceBrand","deviceModel","countryCode","countryName","current","factors","secret","mfaUpdatedAt"]},"identity":{"description":"Identity","type":"object","properties":{"$id":{"type":"string","description":"Identity ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Identity creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Identity update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"userId":{"type":"string","description":"User ID.","x-example":"5e5bb8c16897e"},"provider":{"type":"string","description":"Identity Provider.","x-example":"email"},"providerUid":{"type":"string","description":"ID of the User in the Identity Provider.","x-example":"5e5bb8c16897e"},"providerEmail":{"type":"string","description":"Email of the User in the Identity Provider.","x-example":"user@example.com"},"providerAccessToken":{"type":"string","description":"Identity Provider Access Token.","x-example":"MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3"},"providerAccessTokenExpiry":{"type":"string","description":"The date of when the access token expires in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"providerRefreshToken":{"type":"string","description":"Identity Provider Refresh Token.","x-example":"MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3"}},"required":["$id","$createdAt","$updatedAt","userId","provider","providerUid","providerEmail","providerAccessToken","providerAccessTokenExpiry","providerRefreshToken"]},"token":{"description":"Token","type":"object","properties":{"$id":{"type":"string","description":"Token ID.","x-example":"bb8ea5c16897e"},"$createdAt":{"type":"string","description":"Token creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"userId":{"type":"string","description":"User ID.","x-example":"5e5ea5c168bb8"},"secret":{"type":"string","description":"Token secret key. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.","x-example":""},"expire":{"type":"string","description":"Token expiration date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"phrase":{"type":"string","description":"Security phrase of a token. Empty if security phrase was not requested when creating a token. It includes randomly generated phrase which is also sent in the external resource such as email.","x-example":"Golden Fox"}},"required":["$id","$createdAt","userId","secret","expire","phrase"]},"jwt":{"description":"JWT","type":"object","properties":{"jwt":{"type":"string","description":"JWT encoded string.","x-example":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"}},"required":["jwt"]},"locale":{"description":"Locale","type":"object","properties":{"ip":{"type":"string","description":"User IP address.","x-example":"127.0.0.1"},"countryCode":{"type":"string","description":"Country code in [ISO 3166-1](http:\/\/en.wikipedia.org\/wiki\/ISO_3166-1) two-character format","x-example":"US"},"country":{"type":"string","description":"Country name. This field support localization.","x-example":"United States"},"continentCode":{"type":"string","description":"Continent code. A two character continent code \"AF\" for Africa, \"AN\" for Antarctica, \"AS\" for Asia, \"EU\" for Europe, \"NA\" for North America, \"OC\" for Oceania, and \"SA\" for South America.","x-example":"NA"},"continent":{"type":"string","description":"Continent name. This field support localization.","x-example":"North America"},"eu":{"type":"boolean","description":"True if country is part of the European Union.","x-example":false},"currency":{"type":"string","description":"Currency code in [ISO 4217-1](http:\/\/en.wikipedia.org\/wiki\/ISO_4217) three-character format","x-example":"USD"}},"required":["ip","countryCode","country","continentCode","continent","eu","currency"]},"localeCode":{"description":"LocaleCode","type":"object","properties":{"code":{"type":"string","description":"Locale codes in [ISO 639-1](https:\/\/en.wikipedia.org\/wiki\/List_of_ISO_639-1_codes)","x-example":"en-us"},"name":{"type":"string","description":"Locale name","x-example":"US"}},"required":["code","name"]},"file":{"description":"File","type":"object","properties":{"$id":{"type":"string","description":"File ID.","x-example":"5e5ea5c16897e"},"bucketId":{"type":"string","description":"Bucket ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"File creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"File update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$permissions":{"type":"array","description":"File permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","items":{"type":"string"},"x-example":["read(\"any\")"]},"name":{"type":"string","description":"File name.","x-example":"Pink.png"},"signature":{"type":"string","description":"File MD5 signature.","x-example":"5d529fd02b544198ae075bd57c1762bb"},"mimeType":{"type":"string","description":"File mime type.","x-example":"image\/png"},"sizeOriginal":{"type":"integer","description":"File original size in bytes.","x-example":17890,"format":"int32"},"chunksTotal":{"type":"integer","description":"Total number of chunks available","x-example":17890,"format":"int32"},"chunksUploaded":{"type":"integer","description":"Total number of chunks uploaded","x-example":17890,"format":"int32"}},"required":["$id","bucketId","$createdAt","$updatedAt","$permissions","name","signature","mimeType","sizeOriginal","chunksTotal","chunksUploaded"]},"bucket":{"description":"Bucket","type":"object","properties":{"$id":{"type":"string","description":"Bucket ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Bucket creation time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Bucket update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$permissions":{"type":"array","description":"Bucket permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","items":{"type":"string"},"x-example":["read(\"any\")"]},"fileSecurity":{"type":"boolean","description":"Whether file-level security is enabled. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).","x-example":true},"name":{"type":"string","description":"Bucket name.","x-example":"Documents"},"enabled":{"type":"boolean","description":"Bucket enabled.","x-example":false},"maximumFileSize":{"type":"integer","description":"Maximum file size supported.","x-example":100,"format":"int32"},"allowedFileExtensions":{"type":"array","description":"Allowed file extensions.","items":{"type":"string"},"x-example":["jpg","png"]},"compression":{"type":"string","description":"Compression algorithm choosen for compression. Will be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd).","x-example":"gzip"},"encryption":{"type":"boolean","description":"Bucket is encrypted.","x-example":false},"antivirus":{"type":"boolean","description":"Virus scanning is enabled.","x-example":false}},"required":["$id","$createdAt","$updatedAt","$permissions","fileSecurity","name","enabled","maximumFileSize","allowedFileExtensions","compression","encryption","antivirus"]},"team":{"description":"Team","type":"object","properties":{"$id":{"type":"string","description":"Team ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Team creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Team update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"Team name.","x-example":"VIP"},"total":{"type":"integer","description":"Total number of team members.","x-example":7,"format":"int32"},"prefs":{"type":"object","description":"Team preferences as a key-value object","x-example":{"theme":"pink","timezone":"UTC"},"items":{"type":"object","$ref":"#\/definitions\/preferences"}}},"required":["$id","$createdAt","$updatedAt","name","total","prefs"]},"membership":{"description":"Membership","type":"object","properties":{"$id":{"type":"string","description":"Membership ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Membership creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Membership update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"userId":{"type":"string","description":"User ID.","x-example":"5e5ea5c16897e"},"userName":{"type":"string","description":"User name.","x-example":"John Doe"},"userEmail":{"type":"string","description":"User email address.","x-example":"john@appwrite.io"},"teamId":{"type":"string","description":"Team ID.","x-example":"5e5ea5c16897e"},"teamName":{"type":"string","description":"Team name.","x-example":"VIP"},"invited":{"type":"string","description":"Date, the user has been invited to join the team in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"joined":{"type":"string","description":"Date, the user has accepted the invitation to join the team in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"confirm":{"type":"boolean","description":"User confirmation status, true if the user has joined the team or false otherwise.","x-example":false},"mfa":{"type":"boolean","description":"Multi factor authentication status, true if the user has MFA enabled or false otherwise.","x-example":false},"roles":{"type":"array","description":"User list of roles","items":{"type":"string"},"x-example":["owner"]}},"required":["$id","$createdAt","$updatedAt","userId","userName","userEmail","teamId","teamName","invited","joined","confirm","mfa","roles"]},"function":{"description":"Function","type":"object","properties":{"$id":{"type":"string","description":"Function ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Function creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Function update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"execute":{"type":"array","description":"Execution permissions.","items":{"type":"string"},"x-example":"users"},"name":{"type":"string","description":"Function name.","x-example":"My Function"},"enabled":{"type":"boolean","description":"Function enabled.","x-example":false},"live":{"type":"boolean","description":"Is the function deployed with the latest configuration? This is set to false if you've changed an environment variables, entrypoint, commands, or other settings that needs redeploy to be applied. When the value is false, redeploy the function to update it with the latest configuration.","x-example":false},"logging":{"type":"boolean","description":"Whether executions will be logged. When set to false, executions will not be logged, but will reduce resource used by your Appwrite project.","x-example":false},"runtime":{"type":"string","description":"Function execution runtime.","x-example":"python-3.8"},"deployment":{"type":"string","description":"Function's active deployment ID.","x-example":"5e5ea5c16897e"},"vars":{"type":"array","description":"Function variables.","items":{"type":"object","$ref":"#\/definitions\/variable"},"x-example":[]},"events":{"type":"array","description":"Function trigger events.","items":{"type":"string"},"x-example":"account.create"},"schedule":{"type":"string","description":"Function execution schedult in CRON format.","x-example":"5 4 * * *"},"timeout":{"type":"integer","description":"Function execution timeout in seconds.","x-example":300,"format":"int32"},"entrypoint":{"type":"string","description":"The entrypoint file used to execute the deployment.","x-example":"index.js"},"commands":{"type":"string","description":"The build command used to build the deployment.","x-example":"npm install"},"version":{"type":"string","description":"Version of Open Runtimes used for the function.","x-example":"v2"},"installationId":{"type":"string","description":"Function VCS (Version Control System) installation id.","x-example":"6m40at4ejk5h2u9s1hboo"},"providerRepositoryId":{"type":"string","description":"VCS (Version Control System) Repository ID","x-example":"appwrite"},"providerBranch":{"type":"string","description":"VCS (Version Control System) branch name","x-example":"main"},"providerRootDirectory":{"type":"string","description":"Path to function in VCS (Version Control System) repository","x-example":"functions\/helloWorld"},"providerSilentMode":{"type":"boolean","description":"Is VCS (Version Control System) connection is in silent mode? When in silence mode, no comments will be posted on the repository pull or merge requests","x-example":false}},"required":["$id","$createdAt","$updatedAt","execute","name","enabled","live","logging","runtime","deployment","vars","events","schedule","timeout","entrypoint","commands","version","installationId","providerRepositoryId","providerBranch","providerRootDirectory","providerSilentMode"]},"runtime":{"description":"Runtime","type":"object","properties":{"$id":{"type":"string","description":"Runtime ID.","x-example":"python-3.8"},"name":{"type":"string","description":"Runtime Name.","x-example":"Python"},"version":{"type":"string","description":"Runtime version.","x-example":"3.8"},"base":{"type":"string","description":"Base Docker image used to build the runtime.","x-example":"python:3.8-alpine"},"image":{"type":"string","description":"Image name of Docker Hub.","x-example":"appwrite\\\/runtime-for-python:3.8"},"logo":{"type":"string","description":"Name of the logo image.","x-example":"python.png"},"supports":{"type":"array","description":"List of supported architectures.","items":{"type":"string"},"x-example":"amd64"}},"required":["$id","name","version","base","image","logo","supports"]},"deployment":{"description":"Deployment","type":"object","properties":{"$id":{"type":"string","description":"Deployment ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Deployment creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Deployment update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"type":{"type":"string","description":"Type of deployment.","x-example":"vcs"},"resourceId":{"type":"string","description":"Resource ID.","x-example":"5e5ea6g16897e"},"resourceType":{"type":"string","description":"Resource type.","x-example":"functions"},"entrypoint":{"type":"string","description":"The entrypoint file to use to execute the deployment code.","x-example":"index.js"},"size":{"type":"integer","description":"The code size in bytes.","x-example":128,"format":"int32"},"buildId":{"type":"string","description":"The current build ID.","x-example":"5e5ea5c16897e"},"activate":{"type":"boolean","description":"Whether the deployment should be automatically activated.","x-example":true},"status":{"type":"string","description":"The deployment status. Possible values are \"processing\", \"building\", \"waiting\", \"ready\", and \"failed\".","x-example":"ready"},"buildLogs":{"type":"string","description":"The build logs.","x-example":"Compiling source files..."},"buildTime":{"type":"integer","description":"The current build time in seconds.","x-example":128,"format":"int32"},"providerRepositoryName":{"type":"string","description":"The name of the vcs provider repository","x-example":"database"},"providerRepositoryOwner":{"type":"string","description":"The name of the vcs provider repository owner","x-example":"utopia"},"providerRepositoryUrl":{"type":"string","description":"The url of the vcs provider repository","x-example":"https:\/\/github.com\/vermakhushboo\/g4-node-function"},"providerBranch":{"type":"string","description":"The branch of the vcs repository","x-example":"0.7.x"},"providerCommitHash":{"type":"string","description":"The commit hash of the vcs commit","x-example":"7c3f25d"},"providerCommitAuthorUrl":{"type":"string","description":"The url of vcs commit author","x-example":"https:\/\/github.com\/vermakhushboo"},"providerCommitAuthor":{"type":"string","description":"The name of vcs commit author","x-example":"Khushboo Verma"},"providerCommitMessage":{"type":"string","description":"The commit message","x-example":"Update index.js"},"providerCommitUrl":{"type":"string","description":"The url of the vcs commit","x-example":"https:\/\/github.com\/vermakhushboo\/g4-node-function\/commit\/60c0416257a9cbcdd96b2d370c38d8f8d150ccfb"},"providerBranchUrl":{"type":"string","description":"The branch of the vcs repository","x-example":"https:\/\/github.com\/vermakhushboo\/appwrite\/tree\/0.7.x"}},"required":["$id","$createdAt","$updatedAt","type","resourceId","resourceType","entrypoint","size","buildId","activate","status","buildLogs","buildTime","providerRepositoryName","providerRepositoryOwner","providerRepositoryUrl","providerBranch","providerCommitHash","providerCommitAuthorUrl","providerCommitAuthor","providerCommitMessage","providerCommitUrl","providerBranchUrl"]},"execution":{"description":"Execution","type":"object","properties":{"$id":{"type":"string","description":"Execution ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Execution creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Execution upate date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$permissions":{"type":"array","description":"Execution roles.","items":{"type":"string"},"x-example":["any"]},"functionId":{"type":"string","description":"Function ID.","x-example":"5e5ea6g16897e"},"trigger":{"type":"string","description":"The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.","x-example":"http"},"status":{"type":"string","description":"The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, or `failed`.","x-example":"processing"},"requestMethod":{"type":"string","description":"HTTP request method type.","x-example":"GET"},"requestPath":{"type":"string","description":"HTTP request path and query.","x-example":"\/articles?id=5"},"requestHeaders":{"type":"array","description":"HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.","items":{"type":"object","$ref":"#\/definitions\/headers"},"x-example":[{"Content-Type":"application\/json"}]},"responseStatusCode":{"type":"integer","description":"HTTP response status code.","x-example":200,"format":"int32"},"responseBody":{"type":"string","description":"HTTP response body. This will return empty unless execution is created as synchronous.","x-example":"Developers are awesome."},"responseHeaders":{"type":"array","description":"HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.","items":{"type":"object","$ref":"#\/definitions\/headers"},"x-example":[{"Content-Type":"application\/json"}]},"logs":{"type":"string","description":"Function logs. Includes the last 4,000 characters. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.","x-example":""},"errors":{"type":"string","description":"Function errors. Includes the last 4,000 characters. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.","x-example":""},"duration":{"type":"number","description":"Function execution duration in seconds.","x-example":0.4,"format":"double"}},"required":["$id","$createdAt","$updatedAt","$permissions","functionId","trigger","status","requestMethod","requestPath","requestHeaders","responseStatusCode","responseBody","responseHeaders","logs","errors","duration"]},"variable":{"description":"Variable","type":"object","properties":{"$id":{"type":"string","description":"Variable ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Variable creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Variable creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"key":{"type":"string","description":"Variable key.","x-example":"API_KEY"},"value":{"type":"string","description":"Variable value.","x-example":"myPa$$word1"},"resourceType":{"type":"string","description":"Service to which the variable belongs. Possible values are \"project\", \"function\"","x-example":"function"},"resourceId":{"type":"string","description":"ID of resource to which the variable belongs. If resourceType is \"project\", it is empty. If resourceType is \"function\", it is ID of the function.","x-example":"myAwesomeFunction"}},"required":["$id","$createdAt","$updatedAt","key","value","resourceType","resourceId"]},"country":{"description":"Country","type":"object","properties":{"name":{"type":"string","description":"Country name.","x-example":"United States"},"code":{"type":"string","description":"Country two-character ISO 3166-1 alpha code.","x-example":"US"}},"required":["name","code"]},"continent":{"description":"Continent","type":"object","properties":{"name":{"type":"string","description":"Continent name.","x-example":"Europe"},"code":{"type":"string","description":"Continent two letter code.","x-example":"EU"}},"required":["name","code"]},"language":{"description":"Language","type":"object","properties":{"name":{"type":"string","description":"Language name.","x-example":"Italian"},"code":{"type":"string","description":"Language two-character ISO 639-1 codes.","x-example":"it"},"nativeName":{"type":"string","description":"Language native name.","x-example":"Italiano"}},"required":["name","code","nativeName"]},"currency":{"description":"Currency","type":"object","properties":{"symbol":{"type":"string","description":"Currency symbol.","x-example":"$"},"name":{"type":"string","description":"Currency name.","x-example":"US dollar"},"symbolNative":{"type":"string","description":"Currency native symbol.","x-example":"$"},"decimalDigits":{"type":"integer","description":"Number of decimal digits.","x-example":2,"format":"int32"},"rounding":{"type":"number","description":"Currency digit rounding.","x-example":0,"format":"double"},"code":{"type":"string","description":"Currency code in [ISO 4217-1](http:\/\/en.wikipedia.org\/wiki\/ISO_4217) three-character format.","x-example":"USD"},"namePlural":{"type":"string","description":"Currency plural name","x-example":"US dollars"}},"required":["symbol","name","symbolNative","decimalDigits","rounding","code","namePlural"]},"phone":{"description":"Phone","type":"object","properties":{"code":{"type":"string","description":"Phone code.","x-example":"+1"},"countryCode":{"type":"string","description":"Country two-character ISO 3166-1 alpha code.","x-example":"US"},"countryName":{"type":"string","description":"Country name.","x-example":"United States"}},"required":["code","countryCode","countryName"]},"healthAntivirus":{"description":"Health Antivirus","type":"object","properties":{"version":{"type":"string","description":"Antivirus version.","x-example":"1.0.0"},"status":{"type":"string","description":"Antivirus status. Possible values can are: `disabled`, `offline`, `online`","x-example":"online"}},"required":["version","status"]},"healthQueue":{"description":"Health Queue","type":"object","properties":{"size":{"type":"integer","description":"Amount of actions in the queue.","x-example":8,"format":"int32"}},"required":["size"]},"healthStatus":{"description":"Health Status","type":"object","properties":{"name":{"type":"string","description":"Name of the service.","x-example":"database"},"ping":{"type":"integer","description":"Duration in milliseconds how long the health check took.","x-example":128,"format":"int32"},"status":{"type":"string","description":"Service status. Possible values can are: `pass`, `fail`","x-example":"pass"}},"required":["name","ping","status"]},"healthCertificate":{"description":"Health Certificate","type":"object","properties":{"name":{"type":"string","description":"Certificate name","x-example":"\/CN=www.google.com"},"subjectSN":{"type":"string","description":"Subject SN","x-example":""},"issuerOrganisation":{"type":"string","description":"Issuer organisation","x-example":""},"validFrom":{"type":"string","description":"Valid from","x-example":"1704200998"},"validTo":{"type":"string","description":"Valid to","x-example":"1711458597"},"signatureTypeSN":{"type":"string","description":"Signature type SN","x-example":"RSA-SHA256"}},"required":["name","subjectSN","issuerOrganisation","validFrom","validTo","signatureTypeSN"]},"healthTime":{"description":"Health Time","type":"object","properties":{"remoteTime":{"type":"integer","description":"Current unix timestamp on trustful remote server.","x-example":1639490751,"format":"int32"},"localTime":{"type":"integer","description":"Current unix timestamp of local server where Appwrite runs.","x-example":1639490844,"format":"int32"},"diff":{"type":"integer","description":"Difference of unix remote and local timestamps in milliseconds.","x-example":93,"format":"int32"}},"required":["remoteTime","localTime","diff"]},"headers":{"description":"Headers","type":"object","properties":{"name":{"type":"string","description":"Header name.","x-example":"Content-Type"},"value":{"type":"string","description":"Header value.","x-example":"application\/json"}},"required":["name","value"]},"mfaChallenge":{"description":"MFA Challenge","type":"object","properties":{"$id":{"type":"string","description":"Token ID.","x-example":"bb8ea5c16897e"},"$createdAt":{"type":"string","description":"Token creation date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"userId":{"type":"string","description":"User ID.","x-example":"5e5ea5c168bb8"},"expire":{"type":"string","description":"Token expiration date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"}},"required":["$id","$createdAt","userId","expire"]},"mfaRecoveryCodes":{"description":"MFA Recovery Codes","type":"object","properties":{"recoveryCodes":{"type":"array","description":"Recovery codes.","items":{"type":"string"},"x-example":["a3kf0-s0cl2","s0co1-as98s"]}},"required":["recoveryCodes"]},"mfaType":{"description":"MFAType","type":"object","properties":{"secret":{"type":"string","description":"Secret token used for TOTP factor.","x-example":true},"uri":{"type":"string","description":"URI for authenticator apps.","x-example":true}},"required":["secret","uri"]},"mfaFactors":{"description":"MFAFactors","type":"object","properties":{"totp":{"type":"boolean","description":"Can TOTP be used for MFA challenge for this account.","x-example":true},"phone":{"type":"boolean","description":"Can phone (SMS) be used for MFA challenge for this account.","x-example":true},"email":{"type":"boolean","description":"Can email be used for MFA challenge for this account.","x-example":true},"recoveryCode":{"type":"boolean","description":"Can recovery code be used for MFA challenge for this account.","x-example":true}},"required":["totp","phone","email","recoveryCode"]},"provider":{"description":"Provider","type":"object","properties":{"$id":{"type":"string","description":"Provider ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Provider creation time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Provider update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"The name for the provider instance.","x-example":"Mailgun"},"provider":{"type":"string","description":"The name of the provider service.","x-example":"mailgun"},"enabled":{"type":"boolean","description":"Is provider enabled?","x-example":true},"type":{"type":"string","description":"Type of provider.","x-example":"sms"},"credentials":{"type":"object","additionalProperties":true,"description":"Provider credentials.","x-example":{"key":"123456789"}},"options":{"type":"object","additionalProperties":true,"description":"Provider options.","x-example":{"from":"sender-email@mydomain"}}},"required":["$id","$createdAt","$updatedAt","name","provider","enabled","type","credentials"]},"message":{"description":"Message","type":"object","properties":{"$id":{"type":"string","description":"Message ID.","x-example":"5e5ea5c16897e"},"$createdAt":{"type":"string","description":"Message creation time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Message update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"providerType":{"type":"string","description":"Message provider type.","x-example":"email"},"topics":{"type":"array","description":"Topic IDs set as recipients.","items":{"type":"string"},"x-example":["5e5ea5c16897e"]},"users":{"type":"array","description":"User IDs set as recipients.","items":{"type":"string"},"x-example":["5e5ea5c16897e"]},"targets":{"type":"array","description":"Target IDs set as recipients.","items":{"type":"string"},"x-example":["5e5ea5c16897e"]},"scheduledAt":{"type":"string","description":"The scheduled time for message.","x-example":"2020-10-15T06:38:00.000+00:00","x-nullable":true},"deliveredAt":{"type":"string","description":"The time when the message was delivered.","x-example":"2020-10-15T06:38:00.000+00:00","x-nullable":true},"deliveryErrors":{"type":"array","description":"Delivery errors if any.","items":{"type":"string"},"x-example":["Failed to send message to target 5e5ea5c16897e: Credentials not valid."],"x-nullable":true},"deliveredTotal":{"type":"integer","description":"Number of recipients the message was delivered to.","x-example":1,"format":"int32"},"data":{"type":"object","additionalProperties":true,"description":"Data of the message.","x-example":{"subject":"Welcome to Appwrite","content":"Hi there, welcome to Appwrite family."}},"status":{"type":"string","description":"Status of delivery.","x-example":"Message status can be one of the following: draft, processing, scheduled, sent, or failed."}},"required":["$id","$createdAt","$updatedAt","providerType","topics","users","targets","deliveredTotal","data","status"]},"topic":{"description":"Topic","type":"object","properties":{"$id":{"type":"string","description":"Topic ID.","x-example":"259125845563242502"},"$createdAt":{"type":"string","description":"Topic creation time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Topic update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"The name of the topic.","x-example":"events"},"emailTotal":{"type":"integer","description":"Total count of email subscribers subscribed to the topic.","x-example":100,"format":"int32"},"smsTotal":{"type":"integer","description":"Total count of SMS subscribers subscribed to the topic.","x-example":100,"format":"int32"},"pushTotal":{"type":"integer","description":"Total count of push subscribers subscribed to the topic.","x-example":100,"format":"int32"},"subscribe":{"type":"array","description":"Subscribe permissions.","items":{"type":"string"},"x-example":"users"}},"required":["$id","$createdAt","$updatedAt","name","emailTotal","smsTotal","pushTotal","subscribe"]},"subscriber":{"description":"Subscriber","type":"object","properties":{"$id":{"type":"string","description":"Subscriber ID.","x-example":"259125845563242502"},"$createdAt":{"type":"string","description":"Subscriber creation time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Subscriber update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"targetId":{"type":"string","description":"Target ID.","x-example":"259125845563242502"},"target":{"type":"object","description":"Target.","x-example":{"$id":"259125845563242502","$createdAt":"2020-10-15T06:38:00.000+00:00","$updatedAt":"2020-10-15T06:38:00.000+00:00","providerType":"email","providerId":"259125845563242502","name":"ageon-app-email","identifier":"random-mail@email.org","userId":"5e5ea5c16897e"},"items":{"type":"object","$ref":"#\/definitions\/target"}},"userId":{"type":"string","description":"Topic ID.","x-example":"5e5ea5c16897e"},"userName":{"type":"string","description":"User Name.","x-example":"Aegon Targaryen"},"topicId":{"type":"string","description":"Topic ID.","x-example":"259125845563242502"},"providerType":{"type":"string","description":"The target provider type. Can be one of the following: `email`, `sms` or `push`.","x-example":"email"}},"required":["$id","$createdAt","$updatedAt","targetId","target","userId","userName","topicId","providerType"]},"target":{"description":"Target","type":"object","properties":{"$id":{"type":"string","description":"Target ID.","x-example":"259125845563242502"},"$createdAt":{"type":"string","description":"Target creation time in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"$updatedAt":{"type":"string","description":"Target update date in ISO 8601 format.","x-example":"2020-10-15T06:38:00.000+00:00"},"name":{"type":"string","description":"Target Name.","x-example":"Aegon apple token"},"userId":{"type":"string","description":"User ID.","x-example":"259125845563242502"},"providerId":{"type":"string","description":"Provider ID.","x-example":"259125845563242502","x-nullable":true},"providerType":{"type":"string","description":"The target provider type. Can be one of the following: `email`, `sms` or `push`.","x-example":"email"},"identifier":{"type":"string","description":"The target identifier.","x-example":"token"}},"required":["$id","$createdAt","$updatedAt","name","userId","providerType","identifier"]}},"externalDocs":{"description":"Full API docs, specs and tutorials","url":"https:\/\/appwrite.io\/docs"}} \ No newline at end of file +{ + "swagger": "2.0", + "info": { + "version": "1.6.2", + "title": "Appwrite", + "description": "Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https:\/\/appwrite.io\/docs](https:\/\/appwrite.io\/docs)", + "termsOfService": "https:\/\/appwrite.io\/policy\/terms", + "contact": { + "name": "Appwrite Team", + "url": "https:\/\/appwrite.io\/support", + "email": "team@appwrite.io" + }, + "license": { + "name": "BSD-3-Clause", + "url": "https:\/\/raw.githubusercontent.com\/appwrite\/appwrite\/master\/LICENSE" + } + }, + "host": "<REGION>.cloud.appwrite.io", + "basePath": "\/v1", + "schemes": [ + "https" + ], + "consumes": [ + "application\/json", + "multipart\/form-data" + ], + "produces": [ + "application\/json" + ], + "securityDefinitions": { + "Project": { + "type": "apiKey", + "name": "X-Appwrite-Project", + "description": "Your project ID", + "in": "header", + "x-appwrite": { + "demo": "<YOUR_PROJECT_ID>" + } + }, + "Key": { + "type": "apiKey", + "name": "X-Appwrite-Key", + "description": "Your secret API key", + "in": "header", + "x-appwrite": { + "demo": "<YOUR_API_KEY>" + } + }, + "JWT": { + "type": "apiKey", + "name": "X-Appwrite-JWT", + "description": "Your secret JSON Web Token", + "in": "header", + "x-appwrite": { + "demo": "<YOUR_JWT>" + } + }, + "Locale": { + "type": "apiKey", + "name": "X-Appwrite-Locale", + "description": "", + "in": "header", + "x-appwrite": { + "demo": "en" + } + }, + "Session": { + "type": "apiKey", + "name": "X-Appwrite-Session", + "description": "The user session to authenticate with", + "in": "header" + }, + "ForwardedUserAgent": { + "type": "apiKey", + "name": "X-Forwarded-User-Agent", + "description": "The user agent string of the client that made the request", + "in": "header" + } + }, + "paths": { + "\/account": { + "get": { + "summary": "Get account", + "operationId": "accountGet", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Get the currently logged in user.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "get", + "group": "account", + "weight": 9, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + }, + "post": { + "summary": "Create account", + "operationId": "accountCreate", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to allow a new user to register a new account in your project. After the user registration completes successfully, you can use the [\/account\/verfication](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createVerification) route to start verifying the user email address. To allow the new user to login to their new account, you need to create a new [account session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createEmailSession).", + "responses": { + "201": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "create", + "group": "account", + "weight": 8, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "New user password. Must be between 8 and 256 chars.", + "default": null, + "x-example": null + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "default": "", + "x-example": "<NAME>" + } + }, + "required": [ + "userId", + "email", + "password" + ] + } + } + ] + } + }, + "\/account\/email": { + "patch": { + "summary": "Update email", + "operationId": "accountUpdateEmail", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Update currently logged in user account email address. After changing user address, the user confirmation status will get reset. A new confirmation email is not sent automatically however you can use the send confirmation email endpoint again to send the confirmation email. For security measures, user password is required to complete this request.\nThis endpoint can also be used to convert an anonymous account to a normal one, by passing an email address and a new password.\n", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updateEmail", + "group": "account", + "weight": 34, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-email.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password. Must be at least 8 chars.", + "default": null, + "x-example": "password" + } + }, + "required": [ + "email", + "password" + ] + } + } + ] + } + }, + "\/account\/identities": { + "get": { + "summary": "List identities", + "operationId": "accountListIdentities", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Get the list of identities for the currently logged in user.", + "responses": { + "200": { + "description": "Identities List", + "schema": { + "$ref": "#\/definitions\/identityList" + } + } + }, + "x-appwrite": { + "method": "listIdentities", + "group": "identities", + "weight": 57, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/list-identities.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-identities.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, provider, providerUid, providerEmail, providerAccessTokenExpiry", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + } + }, + "\/account\/identities\/{identityId}": { + "delete": { + "summary": "Delete identity", + "operationId": "accountDeleteIdentity", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "account" + ], + "description": "Delete an identity by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteIdentity", + "group": "identities", + "weight": 58, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/delete-identity.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-identity.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "identityId", + "description": "Identity ID.", + "required": true, + "type": "string", + "x-example": "<IDENTITY_ID>", + "in": "path" + } + ] + } + }, + "\/account\/jwts": { + "post": { + "summary": "Create JWT", + "operationId": "accountCreateJWT", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to create a JSON Web Token. You can use the resulting JWT to authenticate on behalf of the current user when working with the Appwrite server-side API and SDKs. The JWT secret is valid for 15 minutes from its creation and will be invalid if the user will logout in that time frame.", + "responses": { + "201": { + "description": "JWT", + "schema": { + "$ref": "#\/definitions\/jwt" + } + } + }, + "x-appwrite": { + "method": "createJWT", + "group": "tokens", + "weight": 29, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-j-w-t.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-jwt.md", + "rate-limit": 100, + "rate-time": 3600, + "rate-key": "url:{url},userId:{userId}", + "scope": "account", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ] + } + }, + "\/account\/logs": { + "get": { + "summary": "List logs", + "operationId": "accountListLogs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Get the list of latest security activity logs for the currently logged in user. Each log returns user IP address, location and date and time of log.", + "responses": { + "200": { + "description": "Logs List", + "schema": { + "$ref": "#\/definitions\/logList" + } + } + }, + "x-appwrite": { + "method": "listLogs", + "group": "logs", + "weight": 31, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/list-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + } + }, + "\/account\/mfa": { + "patch": { + "summary": "Update MFA", + "operationId": "accountUpdateMFA", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Enable or disable MFA on an account.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updateMFA", + "group": "mfa", + "weight": 44, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-m-f-a.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "mfa": { + "type": "boolean", + "description": "Enable or disable MFA.", + "default": null, + "x-example": false + } + }, + "required": [ + "mfa" + ] + } + } + ] + } + }, + "\/account\/mfa\/authenticators\/{type}": { + "post": { + "summary": "Create authenticator", + "operationId": "accountCreateMfaAuthenticator", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Add an authenticator app to be used as an MFA factor. Verify the authenticator using the [verify authenticator](\/docs\/references\/cloud\/client-web\/account#updateMfaAuthenticator) method.", + "responses": { + "200": { + "description": "MFAType", + "schema": { + "$ref": "#\/definitions\/mfaType" + } + } + }, + "x-appwrite": { + "method": "createMfaAuthenticator", + "group": "mfa", + "weight": 46, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-mfa-authenticator.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-authenticator.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "type", + "description": "Type of authenticator. Must be `totp`", + "required": true, + "type": "string", + "x-example": "totp", + "enum": [ + "totp" + ], + "x-enum-name": "AuthenticatorType", + "x-enum-keys": [], + "in": "path" + } + ] + }, + "put": { + "summary": "Update authenticator (confirmation)", + "operationId": "accountUpdateMfaAuthenticator", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Verify an authenticator app after adding it using the [add authenticator](\/docs\/references\/cloud\/client-web\/account#createMfaAuthenticator) method.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updateMfaAuthenticator", + "group": "mfa", + "weight": 47, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-mfa-authenticator.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-authenticator.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "type", + "description": "Type of authenticator.", + "required": true, + "type": "string", + "x-example": "totp", + "enum": [ + "totp" + ], + "x-enum-name": "AuthenticatorType", + "x-enum-keys": [], + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "otp": { + "type": "string", + "description": "Valid verification token.", + "default": null, + "x-example": "<OTP>" + } + }, + "required": [ + "otp" + ] + } + } + ] + }, + "delete": { + "summary": "Delete authenticator", + "operationId": "accountDeleteMfaAuthenticator", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "account" + ], + "description": "Delete an authenticator for a user by ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteMfaAuthenticator", + "group": "mfa", + "weight": 51, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/delete-mfa-authenticator.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-mfa-authenticator.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "type", + "description": "Type of authenticator.", + "required": true, + "type": "string", + "x-example": "totp", + "enum": [ + "totp" + ], + "x-enum-name": "AuthenticatorType", + "x-enum-keys": [], + "in": "path" + } + ] + } + }, + "\/account\/mfa\/challenge": { + "post": { + "summary": "Create MFA challenge", + "operationId": "accountCreateMfaChallenge", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Begin the process of MFA verification after sign-in. Finish the flow with [updateMfaChallenge](\/docs\/references\/cloud\/client-web\/account#updateMfaChallenge) method.", + "responses": { + "201": { + "description": "MFA Challenge", + "schema": { + "$ref": "#\/definitions\/mfaChallenge" + } + } + }, + "x-appwrite": { + "method": "createMfaChallenge", + "group": "mfa", + "weight": 52, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-mfa-challenge.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-challenge.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},userId:{userId}", + "scope": "account", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "factor": { + "type": "string", + "description": "Factor used for verification. Must be one of following: `email`, `phone`, `totp`, `recoveryCode`.", + "default": null, + "x-example": "email", + "enum": [ + "email", + "phone", + "totp", + "recoverycode" + ], + "x-enum-name": "AuthenticationFactor", + "x-enum-keys": [] + } + }, + "required": [ + "factor" + ] + } + } + ] + }, + "put": { + "summary": "Update MFA challenge (confirmation)", + "operationId": "accountUpdateMfaChallenge", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Complete the MFA challenge by providing the one-time password. Finish the process of MFA verification by providing the one-time password. To begin the flow, use [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method.", + "responses": { + "200": { + "description": "Session", + "schema": { + "$ref": "#\/definitions\/session" + } + } + }, + "x-appwrite": { + "method": "updateMfaChallenge", + "group": "mfa", + "weight": 53, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-mfa-challenge.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-challenge.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},challengeId:{param-challengeId}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "challengeId": { + "type": "string", + "description": "ID of the challenge.", + "default": null, + "x-example": "<CHALLENGE_ID>" + }, + "otp": { + "type": "string", + "description": "Valid verification token.", + "default": null, + "x-example": "<OTP>" + } + }, + "required": [ + "challengeId", + "otp" + ] + } + } + ] + } + }, + "\/account\/mfa\/factors": { + "get": { + "summary": "List factors", + "operationId": "accountListMfaFactors", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "List the factors available on the account to be used as a MFA challange.", + "responses": { + "200": { + "description": "MFAFactors", + "schema": { + "$ref": "#\/definitions\/mfaFactors" + } + } + }, + "x-appwrite": { + "method": "listMfaFactors", + "group": "mfa", + "weight": 45, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/list-mfa-factors.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-mfa-factors.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/account\/mfa\/recovery-codes": { + "get": { + "summary": "List MFA recovery codes", + "operationId": "accountGetMfaRecoveryCodes", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Get recovery codes that can be used as backup for MFA flow. Before getting codes, they must be generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method. An OTP challenge is required to read recovery codes.", + "responses": { + "200": { + "description": "MFA Recovery Codes", + "schema": { + "$ref": "#\/definitions\/mfaRecoveryCodes" + } + } + }, + "x-appwrite": { + "method": "getMfaRecoveryCodes", + "group": "mfa", + "weight": 50, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/get-mfa-recovery-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-mfa-recovery-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + }, + "post": { + "summary": "Create MFA recovery codes", + "operationId": "accountCreateMfaRecoveryCodes", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Generate recovery codes as backup for MFA flow. It's recommended to generate and show then immediately after user successfully adds their authehticator. Recovery codes can be used as a MFA verification type in [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method.", + "responses": { + "201": { + "description": "MFA Recovery Codes", + "schema": { + "$ref": "#\/definitions\/mfaRecoveryCodes" + } + } + }, + "x-appwrite": { + "method": "createMfaRecoveryCodes", + "group": "mfa", + "weight": 48, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-mfa-recovery-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-mfa-recovery-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + }, + "patch": { + "summary": "Update MFA recovery codes (regenerate)", + "operationId": "accountUpdateMfaRecoveryCodes", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Regenerate recovery codes that can be used as backup for MFA flow. Before regenerating codes, they must be first generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method. An OTP challenge is required to regenreate recovery codes.", + "responses": { + "200": { + "description": "MFA Recovery Codes", + "schema": { + "$ref": "#\/definitions\/mfaRecoveryCodes" + } + } + }, + "x-appwrite": { + "method": "updateMfaRecoveryCodes", + "group": "mfa", + "weight": 49, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-mfa-recovery-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-mfa-recovery-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/account\/name": { + "patch": { + "summary": "Update name", + "operationId": "accountUpdateName", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Update currently logged in user account name.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updateName", + "group": "account", + "weight": 32, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-name.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-name.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "default": null, + "x-example": "<NAME>" + } + }, + "required": [ + "name" + ] + } + } + ] + } + }, + "\/account\/password": { + "patch": { + "summary": "Update password", + "operationId": "accountUpdatePassword", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Update currently logged in user password. For validation, user is required to pass in the new password, and the old password. For users created with OAuth, Team Invites and Magic URL, oldPassword is optional.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updatePassword", + "group": "account", + "weight": 33, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-password.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-password.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "password": { + "type": "string", + "description": "New user password. Must be at least 8 chars.", + "default": null, + "x-example": null + }, + "oldPassword": { + "type": "string", + "description": "Current user password. Must be at least 8 chars.", + "default": "", + "x-example": "password" + } + }, + "required": [ + "password" + ] + } + } + ] + } + }, + "\/account\/phone": { + "patch": { + "summary": "Update phone", + "operationId": "accountUpdatePhone", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Update the currently logged in user's phone number. After updating the phone number, the phone verification status will be reset. A confirmation SMS is not sent automatically, however you can use the [POST \/account\/verification\/phone](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createPhoneVerification) endpoint to send a confirmation SMS.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updatePhone", + "group": "account", + "weight": 35, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-phone.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "phone": { + "type": "string", + "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "default": null, + "x-example": "+12065550100" + }, + "password": { + "type": "string", + "description": "User password. Must be at least 8 chars.", + "default": null, + "x-example": "password" + } + }, + "required": [ + "phone", + "password" + ] + } + } + ] + } + }, + "\/account\/prefs": { + "get": { + "summary": "Get account preferences", + "operationId": "accountGetPrefs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Get the preferences as a key-value object for the currently logged in user.", + "responses": { + "200": { + "description": "Preferences", + "schema": { + "$ref": "#\/definitions\/preferences" + } + } + }, + "x-appwrite": { + "method": "getPrefs", + "group": "account", + "weight": 30, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/get-prefs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-prefs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + }, + "patch": { + "summary": "Update preferences", + "operationId": "accountUpdatePrefs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Update currently logged in user account preferences. The object you pass is stored as is, and replaces any previous value. The maximum allowed prefs size is 64kB and throws error if exceeded.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updatePrefs", + "group": "account", + "weight": 36, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-prefs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-prefs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "prefs": { + "type": "object", + "description": "Prefs key-value JSON object.", + "default": {}, + "x-example": "{}" + } + }, + "required": [ + "prefs" + ] + } + } + ] + } + }, + "\/account\/recovery": { + "post": { + "summary": "Create password recovery", + "operationId": "accountCreateRecovery", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Sends the user an email with a temporary secret key for password reset. When the user clicks the confirmation link he is redirected back to your app password reset URL with the secret key and email address values attached to the URL query string. Use the query string params to submit a request to the [PUT \/account\/recovery](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateRecovery) endpoint to complete the process. The verification link sent to the user's email address is valid for 1 hour.", + "responses": { + "201": { + "description": "Token", + "schema": { + "$ref": "#\/definitions\/token" + } + } + }, + "x-appwrite": { + "method": "createRecovery", + "group": "recovery", + "weight": 38, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-recovery.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-recovery.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": [ + "url:{url},email:{param-email}", + "url:{url},ip:{ip}" + ], + "scope": "sessions.write", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "url": { + "type": "string", + "description": "URL to redirect the user back to your app from the recovery email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "default": null, + "x-example": "https:\/\/example.com" + } + }, + "required": [ + "email", + "url" + ] + } + } + ] + }, + "put": { + "summary": "Update password recovery (confirmation)", + "operationId": "accountUpdateRecovery", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to complete the user account password reset. Both the **userId** and **secret** arguments will be passed as query parameters to the redirect URL you have provided when sending your request to the [POST \/account\/recovery](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createRecovery) endpoint.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md) the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.", + "responses": { + "200": { + "description": "Token", + "schema": { + "$ref": "#\/definitions\/token" + } + } + }, + "x-appwrite": { + "method": "updateRecovery", + "group": "recovery", + "weight": 39, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-recovery.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-recovery.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},userId:{param-userId}", + "scope": "sessions.write", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID.", + "default": null, + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Valid reset token.", + "default": null, + "x-example": "<SECRET>" + }, + "password": { + "type": "string", + "description": "New user password. Must be between 8 and 256 chars.", + "default": null, + "x-example": null + } + }, + "required": [ + "userId", + "secret", + "password" + ] + } + } + ] + } + }, + "\/account\/sessions": { + "get": { + "summary": "List sessions", + "operationId": "accountListSessions", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Get the list of active sessions across different devices for the currently logged in user.", + "responses": { + "200": { + "description": "Sessions List", + "schema": { + "$ref": "#\/definitions\/sessionList" + } + } + }, + "x-appwrite": { + "method": "listSessions", + "group": "sessions", + "weight": 11, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/list-sessions.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/list-sessions.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + }, + "delete": { + "summary": "Delete sessions", + "operationId": "accountDeleteSessions", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "account" + ], + "description": "Delete all sessions from the user account and remove any sessions cookies from the end client.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteSessions", + "group": "sessions", + "weight": 12, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/delete-sessions.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-sessions.md", + "rate-limit": 100, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/account\/sessions\/anonymous": { + "post": { + "summary": "Create anonymous session", + "operationId": "accountCreateAnonymousSession", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to allow a new user to register an anonymous account in your project. This route will also create a new session for the user. To allow the new user to convert an anonymous account to a normal account, you need to update its [email and password](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateEmail) or create an [OAuth2 session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#CreateOAuth2Session).", + "responses": { + "201": { + "description": "Session", + "schema": { + "$ref": "#\/definitions\/session" + } + } + }, + "x-appwrite": { + "method": "createAnonymousSession", + "group": "sessions", + "weight": 17, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-anonymous-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-anonymous.md", + "rate-limit": 50, + "rate-time": 3600, + "rate-key": "ip:{ip}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ] + } + }, + "\/account\/sessions\/email": { + "post": { + "summary": "Create email password session", + "operationId": "accountCreateEmailPasswordSession", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Allow the user to login into their account by providing a valid email and password combination. This route will create a new session for the user.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).", + "responses": { + "201": { + "description": "Session", + "schema": { + "$ref": "#\/definitions\/session" + } + } + }, + "x-appwrite": { + "method": "createEmailPasswordSession", + "group": "sessions", + "weight": 16, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-email-password-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session-email-password.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},email:{param-email}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password. Must be at least 8 chars.", + "default": null, + "x-example": "password" + } + }, + "required": [ + "email", + "password" + ] + } + } + ] + } + }, + "\/account\/sessions\/magic-url": { + "put": { + "summary": "Update magic URL session", + "operationId": "accountUpdateMagicURLSession", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.", + "responses": { + "201": { + "description": "Session", + "schema": { + "$ref": "#\/definitions\/session" + } + } + }, + "x-appwrite": { + "method": "updateMagicURLSession", + "group": "sessions", + "weight": 26, + "cookies": false, + "type": "", + "deprecated": true, + "demo": "account\/update-magic-u-r-l-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "ip:{ip},userId:{param-userId}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Valid verification token.", + "default": null, + "x-example": "<SECRET>" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + ] + } + }, + "\/account\/sessions\/phone": { + "put": { + "summary": "Update phone session", + "operationId": "accountUpdatePhoneSession", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.", + "responses": { + "201": { + "description": "Session", + "schema": { + "$ref": "#\/definitions\/session" + } + } + }, + "x-appwrite": { + "method": "updatePhoneSession", + "group": "sessions", + "weight": 27, + "cookies": false, + "type": "", + "deprecated": true, + "demo": "account\/update-phone-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "ip:{ip},userId:{param-userId}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Valid verification token.", + "default": null, + "x-example": "<SECRET>" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + ] + } + }, + "\/account\/sessions\/token": { + "post": { + "summary": "Create session", + "operationId": "accountCreateSession", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to create a session from token. Provide the **userId** and **secret** parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.", + "responses": { + "201": { + "description": "Session", + "schema": { + "$ref": "#\/definitions\/session" + } + } + }, + "x-appwrite": { + "method": "createSession", + "group": "sessions", + "weight": 18, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-session.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "ip:{ip},userId:{param-userId}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Secret of a token generated by login methods. For example, the `createMagicURLToken` or `createPhoneToken` methods.", + "default": null, + "x-example": "<SECRET>" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + ] + } + }, + "\/account\/sessions\/{sessionId}": { + "get": { + "summary": "Get session", + "operationId": "accountGetSession", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to get a logged in user's session using a Session ID. Inputting 'current' will return the current session being used.", + "responses": { + "200": { + "description": "Session", + "schema": { + "$ref": "#\/definitions\/session" + } + } + }, + "x-appwrite": { + "method": "getSession", + "group": "sessions", + "weight": 13, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/get-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/get-session.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "sessionId", + "description": "Session ID. Use the string 'current' to get the current device session.", + "required": true, + "type": "string", + "x-example": "<SESSION_ID>", + "in": "path" + } + ] + }, + "patch": { + "summary": "Update session", + "operationId": "accountUpdateSession", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to extend a session's length. Extending a session is useful when session expiry is short. If the session was created using an OAuth provider, this endpoint refreshes the access token from the provider.", + "responses": { + "200": { + "description": "Session", + "schema": { + "$ref": "#\/definitions\/session" + } + } + }, + "x-appwrite": { + "method": "updateSession", + "group": "sessions", + "weight": 15, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-session.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "sessionId", + "description": "Session ID. Use the string 'current' to update the current device session.", + "required": true, + "type": "string", + "x-example": "<SESSION_ID>", + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete session", + "operationId": "accountDeleteSession", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "account" + ], + "description": "Logout the user. Use 'current' as the session ID to logout on this device, use a session ID to logout on another device. If you're looking to logout the user on all devices, use [Delete Sessions](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#deleteSessions) instead.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteSession", + "group": "sessions", + "weight": 14, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/delete-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/delete-session.md", + "rate-limit": 100, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "sessionId", + "description": "Session ID. Use the string 'current' to delete the current device session.", + "required": true, + "type": "string", + "x-example": "<SESSION_ID>", + "in": "path" + } + ] + } + }, + "\/account\/status": { + "patch": { + "summary": "Update status", + "operationId": "accountUpdateStatus", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Block the currently logged in user account. Behind the scene, the user record is not deleted but permanently blocked from any access. To completely delete a user, use the Users API instead.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updateStatus", + "group": "account", + "weight": 37, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-status.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-status.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + } + }, + "\/account\/tokens\/email": { + "post": { + "summary": "Create email token (OTP)", + "operationId": "accountCreateEmailToken", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Sends the user an email with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's email is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).", + "responses": { + "201": { + "description": "Token", + "schema": { + "$ref": "#\/definitions\/token" + } + } + }, + "x-appwrite": { + "method": "createEmailToken", + "group": "tokens", + "weight": 25, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-email-token.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-email.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},email:{param-email}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "phrase": { + "type": "boolean", + "description": "Toggle for security phrase. If enabled, email will be send with a randomly generated phrase and the phrase will also be included in the response. Confirming phrases match increases the security of your authentication flow.", + "default": false, + "x-example": false + } + }, + "required": [ + "userId", + "email" + ] + } + } + ] + } + }, + "\/account\/tokens\/magic-url": { + "post": { + "summary": "Create magic URL token", + "operationId": "accountCreateMagicURLToken", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Sends the user an email with a secret key for creating a session. If the provided user ID has not been registered, a new user will be created. When the user clicks the link in the email, the user is redirected back to the URL you provided with the secret key and userId values attached to the URL query string. Use the query string parameters to submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The link sent to the user's email address is valid for 1 hour.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).\n", + "responses": { + "201": { + "description": "Token", + "schema": { + "$ref": "#\/definitions\/token" + } + } + }, + "x-appwrite": { + "method": "createMagicURLToken", + "group": "tokens", + "weight": 24, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-magic-u-r-l-token.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-magic-url.md", + "rate-limit": 60, + "rate-time": 3600, + "rate-key": [ + "url:{url},email:{param-email}", + "url:{url},ip:{ip}" + ], + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "url": { + "type": "string", + "description": "URL to redirect the user back to your app from the magic URL login. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "default": "", + "x-example": "https:\/\/example.com" + }, + "phrase": { + "type": "boolean", + "description": "Toggle for security phrase. If enabled, email will be send with a randomly generated phrase and the phrase will also be included in the response. Confirming phrases match increases the security of your authentication flow.", + "default": false, + "x-example": false + } + }, + "required": [ + "userId", + "email" + ] + } + } + ] + } + }, + "\/account\/tokens\/oauth2\/{provider}": { + "get": { + "summary": "Create OAuth2 token", + "operationId": "accountCreateOAuth2Token", + "consumes": [ + "application\/json" + ], + "produces": [ + "text\/html" + ], + "tags": [ + "account" + ], + "description": "Allow the user to login to their account using the OAuth2 provider of their choice. Each OAuth2 provider should be enabled from the Appwrite console first. Use the success and failure arguments to provide a redirect URL's back to your app when login is completed. \n\nIf authentication succeeds, `userId` and `secret` of a token will be appended to the success URL as query parameters. These can be used to create a new session using the [Create session](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).", + "responses": { + "301": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "createOAuth2Token", + "group": "tokens", + "weight": 23, + "cookies": false, + "type": "webAuth", + "deprecated": false, + "demo": "account\/create-o-auth2token.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-oauth2.md", + "rate-limit": 50, + "rate-time": 3600, + "rate-key": "ip:{ip}", + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "provider", + "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", + "required": true, + "type": "string", + "x-example": "amazon", + "enum": [ + "amazon", + "apple", + "auth0", + "authentik", + "autodesk", + "bitbucket", + "bitly", + "box", + "dailymotion", + "discord", + "disqus", + "dropbox", + "etsy", + "facebook", + "figma", + "github", + "gitlab", + "google", + "linkedin", + "microsoft", + "notion", + "oidc", + "okta", + "paypal", + "paypalSandbox", + "podio", + "salesforce", + "slack", + "spotify", + "stripe", + "tradeshift", + "tradeshiftBox", + "twitch", + "wordpress", + "yahoo", + "yammer", + "yandex", + "zoho", + "zoom", + "mock" + ], + "x-enum-name": "OAuthProvider", + "x-enum-keys": [], + "in": "path" + }, + { + "name": "success", + "description": "URL to redirect back to your app after a successful login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "required": false, + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com", + "default": "", + "in": "query" + }, + { + "name": "failure", + "description": "URL to redirect back to your app after a failed login attempt. Only URLs from hostnames in your project's platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "required": false, + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com", + "default": "", + "in": "query" + }, + { + "name": "scopes", + "description": "A list of custom OAuth2 scopes. Check each provider internal docs for a list of supported scopes. Maximum of 100 scopes are allowed, each 4096 characters long.", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + } + }, + "\/account\/tokens\/phone": { + "post": { + "summary": "Create phone token", + "operationId": "accountCreatePhoneToken", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Sends the user an SMS with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST \/v1\/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process. The secret sent to the user's phone is valid for 15 minutes.\n\nA user is limited to 10 active sessions at a time by default. [Learn more about session limits](https:\/\/appwrite.io\/docs\/authentication-security#limits).", + "responses": { + "201": { + "description": "Token", + "schema": { + "$ref": "#\/definitions\/token" + } + } + }, + "x-appwrite": { + "method": "createPhoneToken", + "group": "tokens", + "weight": 28, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-phone-token.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-token-phone.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": [ + "url:{url},phone:{param-phone}", + "url:{url},ip:{ip}" + ], + "scope": "sessions.write", + "platforms": [ + "server", + "client" + ], + "packaging": false, + "auth": { + "Project": [] + } + }, + "security": [ + { + "Project": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "phone": { + "type": "string", + "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "default": null, + "x-example": "+12065550100" + } + }, + "required": [ + "userId", + "phone" + ] + } + } + ] + } + }, + "\/account\/verification": { + "post": { + "summary": "Create email verification", + "operationId": "accountCreateVerification", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to send a verification message to your user email address to confirm they are the valid owners of that address. Both the **userId** and **secret** arguments will be passed as query parameters to the URL you have provided to be attached to the verification email. The provided URL should redirect the user back to your app and allow you to complete the verification process by verifying both the **userId** and **secret** parameters. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updateVerification). The verification link sent to the user's email address is valid for 7 days.\n\nPlease note that in order to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md), the only valid redirect URLs are the ones from domains you have set when adding your platforms in the console interface.\n", + "responses": { + "201": { + "description": "Token", + "schema": { + "$ref": "#\/definitions\/token" + } + } + }, + "x-appwrite": { + "method": "createVerification", + "group": "verification", + "weight": 40, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-email-verification.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},userId:{userId}", + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "url": { + "type": "string", + "description": "URL to redirect the user back to your app from the verification email. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "default": null, + "x-example": "https:\/\/example.com" + } + }, + "required": [ + "url" + ] + } + } + ] + }, + "put": { + "summary": "Update email verification (confirmation)", + "operationId": "accountUpdateVerification", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to complete the user email verification process. Use both the **userId** and **secret** parameters that were attached to your app URL to verify the user email ownership. If confirmed this route will return a 200 status code.", + "responses": { + "200": { + "description": "Token", + "schema": { + "$ref": "#\/definitions\/token" + } + } + }, + "x-appwrite": { + "method": "updateVerification", + "group": "verification", + "weight": 41, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-email-verification.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},userId:{param-userId}", + "scope": "public", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID.", + "default": null, + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Valid verification token.", + "default": null, + "x-example": "<SECRET>" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + ] + } + }, + "\/account\/verification\/phone": { + "post": { + "summary": "Create phone verification", + "operationId": "accountCreatePhoneVerification", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to send a verification SMS to the currently logged in user. This endpoint is meant for use after updating a user's phone number using the [accountUpdatePhone](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updatePhone) endpoint. Learn more about how to [complete the verification process](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#updatePhoneVerification). The verification code sent to the user's phone number is valid for 15 minutes.", + "responses": { + "201": { + "description": "Token", + "schema": { + "$ref": "#\/definitions\/token" + } + } + }, + "x-appwrite": { + "method": "createPhoneVerification", + "group": "verification", + "weight": 42, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/create-phone-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/create-phone-verification.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": [ + "url:{url},userId:{userId}", + "url:{url},ip:{ip}" + ], + "scope": "account", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ] + }, + "put": { + "summary": "Update phone verification (confirmation)", + "operationId": "accountUpdatePhoneVerification", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "account" + ], + "description": "Use this endpoint to complete the user phone verification process. Use the **userId** and **secret** that were sent to your user's phone number to verify the user email ownership. If confirmed this route will return a 200 status code.", + "responses": { + "200": { + "description": "Token", + "schema": { + "$ref": "#\/definitions\/token" + } + } + }, + "x-appwrite": { + "method": "updatePhoneVerification", + "group": "verification", + "weight": 43, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "account\/update-phone-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/account\/update-phone-verification.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "userId:{param-userId}", + "scope": "public", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID.", + "default": null, + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Valid verification token.", + "default": null, + "x-example": "<SECRET>" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + ] + } + }, + "\/avatars\/browsers\/{code}": { + "get": { + "summary": "Get browser icon", + "operationId": "avatarsGetBrowser", + "consumes": [ + "application\/json" + ], + "produces": [ + "image\/png" + ], + "tags": [ + "avatars" + ], + "description": "You can use this endpoint to show different browser icons to your users. The code argument receives the browser code as it appears in your user [GET \/account\/sessions](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#getSessions) endpoint. Use width, height and quality arguments to change the output settings.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.", + "responses": { + "200": { + "description": "Image", + "schema": { + "type": "file" + } + } + }, + "x-appwrite": { + "method": "getBrowser", + "group": null, + "weight": 60, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-browser.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-browser.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "code", + "description": "Browser Code.", + "required": true, + "type": "string", + "x-example": "aa", + "enum": [ + "aa", + "an", + "ch", + "ci", + "cm", + "cr", + "ff", + "sf", + "mf", + "ps", + "oi", + "om", + "op", + "on" + ], + "x-enum-name": "Browser", + "x-enum-keys": [ + "Avant Browser", + "Android WebView Beta", + "Google Chrome", + "Google Chrome (iOS)", + "Google Chrome (Mobile)", + "Chromium", + "Mozilla Firefox", + "Safari", + "Mobile Safari", + "Microsoft Edge", + "Microsoft Edge (iOS)", + "Opera Mini", + "Opera", + "Opera (Next)" + ], + "in": "path" + }, + { + "name": "width", + "description": "Image width. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100, + "in": "query" + }, + { + "name": "height", + "description": "Image height. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100, + "in": "query" + }, + { + "name": "quality", + "description": "Image quality. Pass an integer between 0 to 100. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100, + "in": "query" + } + ] + } + }, + "\/avatars\/credit-cards\/{code}": { + "get": { + "summary": "Get credit card icon", + "operationId": "avatarsGetCreditCard", + "consumes": [ + "application\/json" + ], + "produces": [ + "image\/png" + ], + "tags": [ + "avatars" + ], + "description": "The credit card endpoint will return you the icon of the credit card provider you need. Use width, height and quality arguments to change the output settings.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n", + "responses": { + "200": { + "description": "Image", + "schema": { + "type": "file" + } + } + }, + "x-appwrite": { + "method": "getCreditCard", + "group": null, + "weight": 59, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-credit-card.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-credit-card.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "code", + "description": "Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, union-china-pay, visa, mir, maestro, rupay.", + "required": true, + "type": "string", + "x-example": "amex", + "enum": [ + "amex", + "argencard", + "cabal", + "cencosud", + "diners", + "discover", + "elo", + "hipercard", + "jcb", + "mastercard", + "naranja", + "targeta-shopping", + "union-china-pay", + "visa", + "mir", + "maestro", + "rupay" + ], + "x-enum-name": "CreditCard", + "x-enum-keys": [ + "American Express", + "Argencard", + "Cabal", + "Cencosud", + "Diners Club", + "Discover", + "Elo", + "Hipercard", + "JCB", + "Mastercard", + "Naranja", + "Tarjeta Shopping", + "Union China Pay", + "Visa", + "MIR", + "Maestro", + "Rupay" + ], + "in": "path" + }, + { + "name": "width", + "description": "Image width. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100, + "in": "query" + }, + { + "name": "height", + "description": "Image height. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100, + "in": "query" + }, + { + "name": "quality", + "description": "Image quality. Pass an integer between 0 to 100. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100, + "in": "query" + } + ] + } + }, + "\/avatars\/favicon": { + "get": { + "summary": "Get favicon", + "operationId": "avatarsGetFavicon", + "consumes": [ + "application\/json" + ], + "produces": [ + "image\/*" + ], + "tags": [ + "avatars" + ], + "description": "Use this endpoint to fetch the favorite icon (AKA favicon) of any remote website URL.\n\nThis endpoint does not follow HTTP redirects.", + "responses": { + "200": { + "description": "Image", + "schema": { + "type": "file" + } + } + }, + "x-appwrite": { + "method": "getFavicon", + "group": null, + "weight": 63, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-favicon.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-favicon.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "url", + "description": "Website URL which you want to fetch the favicon from.", + "required": true, + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com", + "in": "query" + } + ] + } + }, + "\/avatars\/flags\/{code}": { + "get": { + "summary": "Get country flag", + "operationId": "avatarsGetFlag", + "consumes": [ + "application\/json" + ], + "produces": [ + "image\/png" + ], + "tags": [ + "avatars" + ], + "description": "You can use this endpoint to show different country flags icons to your users. The code argument receives the 2 letter country code. Use width, height and quality arguments to change the output settings. Country codes follow the [ISO 3166-1](https:\/\/en.wikipedia.org\/wiki\/ISO_3166-1) standard.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n", + "responses": { + "200": { + "description": "Image", + "schema": { + "type": "file" + } + } + }, + "x-appwrite": { + "method": "getFlag", + "group": null, + "weight": 61, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-flag.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-flag.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "code", + "description": "Country Code. ISO Alpha-2 country code format.", + "required": true, + "type": "string", + "x-example": "af", + "enum": [ + "af", + "ao", + "al", + "ad", + "ae", + "ar", + "am", + "ag", + "au", + "at", + "az", + "bi", + "be", + "bj", + "bf", + "bd", + "bg", + "bh", + "bs", + "ba", + "by", + "bz", + "bo", + "br", + "bb", + "bn", + "bt", + "bw", + "cf", + "ca", + "ch", + "cl", + "cn", + "ci", + "cm", + "cd", + "cg", + "co", + "km", + "cv", + "cr", + "cu", + "cy", + "cz", + "de", + "dj", + "dm", + "dk", + "do", + "dz", + "ec", + "eg", + "er", + "es", + "ee", + "et", + "fi", + "fj", + "fr", + "fm", + "ga", + "gb", + "ge", + "gh", + "gn", + "gm", + "gw", + "gq", + "gr", + "gd", + "gt", + "gy", + "hn", + "hr", + "ht", + "hu", + "id", + "in", + "ie", + "ir", + "iq", + "is", + "il", + "it", + "jm", + "jo", + "jp", + "kz", + "ke", + "kg", + "kh", + "ki", + "kn", + "kr", + "kw", + "la", + "lb", + "lr", + "ly", + "lc", + "li", + "lk", + "ls", + "lt", + "lu", + "lv", + "ma", + "mc", + "md", + "mg", + "mv", + "mx", + "mh", + "mk", + "ml", + "mt", + "mm", + "me", + "mn", + "mz", + "mr", + "mu", + "mw", + "my", + "na", + "ne", + "ng", + "ni", + "nl", + "no", + "np", + "nr", + "nz", + "om", + "pk", + "pa", + "pe", + "ph", + "pw", + "pg", + "pl", + "pf", + "kp", + "pt", + "py", + "qa", + "ro", + "ru", + "rw", + "sa", + "sd", + "sn", + "sg", + "sb", + "sl", + "sv", + "sm", + "so", + "rs", + "ss", + "st", + "sr", + "sk", + "si", + "se", + "sz", + "sc", + "sy", + "td", + "tg", + "th", + "tj", + "tm", + "tl", + "to", + "tt", + "tn", + "tr", + "tv", + "tz", + "ug", + "ua", + "uy", + "us", + "uz", + "va", + "vc", + "ve", + "vn", + "vu", + "ws", + "ye", + "za", + "zm", + "zw" + ], + "x-enum-name": "Flag", + "x-enum-keys": [ + "Afghanistan", + "Angola", + "Albania", + "Andorra", + "United Arab Emirates", + "Argentina", + "Armenia", + "Antigua and Barbuda", + "Australia", + "Austria", + "Azerbaijan", + "Burundi", + "Belgium", + "Benin", + "Burkina Faso", + "Bangladesh", + "Bulgaria", + "Bahrain", + "Bahamas", + "Bosnia and Herzegovina", + "Belarus", + "Belize", + "Bolivia", + "Brazil", + "Barbados", + "Brunei Darussalam", + "Bhutan", + "Botswana", + "Central African Republic", + "Canada", + "Switzerland", + "Chile", + "China", + "C\u00f4te d'Ivoire", + "Cameroon", + "Democratic Republic of the Congo", + "Republic of the Congo", + "Colombia", + "Comoros", + "Cape Verde", + "Costa Rica", + "Cuba", + "Cyprus", + "Czech Republic", + "Germany", + "Djibouti", + "Dominica", + "Denmark", + "Dominican Republic", + "Algeria", + "Ecuador", + "Egypt", + "Eritrea", + "Spain", + "Estonia", + "Ethiopia", + "Finland", + "Fiji", + "France", + "Micronesia (Federated States of)", + "Gabon", + "United Kingdom", + "Georgia", + "Ghana", + "Guinea", + "Gambia", + "Guinea-Bissau", + "Equatorial Guinea", + "Greece", + "Grenada", + "Guatemala", + "Guyana", + "Honduras", + "Croatia", + "Haiti", + "Hungary", + "Indonesia", + "India", + "Ireland", + "Iran (Islamic Republic of)", + "Iraq", + "Iceland", + "Israel", + "Italy", + "Jamaica", + "Jordan", + "Japan", + "Kazakhstan", + "Kenya", + "Kyrgyzstan", + "Cambodia", + "Kiribati", + "Saint Kitts and Nevis", + "South Korea", + "Kuwait", + "Lao People's Democratic Republic", + "Lebanon", + "Liberia", + "Libya", + "Saint Lucia", + "Liechtenstein", + "Sri Lanka", + "Lesotho", + "Lithuania", + "Luxembourg", + "Latvia", + "Morocco", + "Monaco", + "Moldova", + "Madagascar", + "Maldives", + "Mexico", + "Marshall Islands", + "North Macedonia", + "Mali", + "Malta", + "Myanmar", + "Montenegro", + "Mongolia", + "Mozambique", + "Mauritania", + "Mauritius", + "Malawi", + "Malaysia", + "Namibia", + "Niger", + "Nigeria", + "Nicaragua", + "Netherlands", + "Norway", + "Nepal", + "Nauru", + "New Zealand", + "Oman", + "Pakistan", + "Panama", + "Peru", + "Philippines", + "Palau", + "Papua New Guinea", + "Poland", + "French Polynesia", + "North Korea", + "Portugal", + "Paraguay", + "Qatar", + "Romania", + "Russia", + "Rwanda", + "Saudi Arabia", + "Sudan", + "Senegal", + "Singapore", + "Solomon Islands", + "Sierra Leone", + "El Salvador", + "San Marino", + "Somalia", + "Serbia", + "South Sudan", + "Sao Tome and Principe", + "Suriname", + "Slovakia", + "Slovenia", + "Sweden", + "Eswatini", + "Seychelles", + "Syria", + "Chad", + "Togo", + "Thailand", + "Tajikistan", + "Turkmenistan", + "Timor-Leste", + "Tonga", + "Trinidad and Tobago", + "Tunisia", + "Turkey", + "Tuvalu", + "Tanzania", + "Uganda", + "Ukraine", + "Uruguay", + "United States", + "Uzbekistan", + "Vatican City", + "Saint Vincent and the Grenadines", + "Venezuela", + "Vietnam", + "Vanuatu", + "Samoa", + "Yemen", + "South Africa", + "Zambia", + "Zimbabwe" + ], + "in": "path" + }, + { + "name": "width", + "description": "Image width. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100, + "in": "query" + }, + { + "name": "height", + "description": "Image height. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100, + "in": "query" + }, + { + "name": "quality", + "description": "Image quality. Pass an integer between 0 to 100. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100, + "in": "query" + } + ] + } + }, + "\/avatars\/image": { + "get": { + "summary": "Get image from URL", + "operationId": "avatarsGetImage", + "consumes": [ + "application\/json" + ], + "produces": [ + "image\/*" + ], + "tags": [ + "avatars" + ], + "description": "Use this endpoint to fetch a remote image URL and crop it to any image size you want. This endpoint is very useful if you need to crop and display remote images in your app or in case you want to make sure a 3rd party image is properly served using a TLS protocol.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 400x400px.\n\nThis endpoint does not follow HTTP redirects.", + "responses": { + "200": { + "description": "Image", + "schema": { + "type": "file" + } + } + }, + "x-appwrite": { + "method": "getImage", + "group": null, + "weight": 62, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-image.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-image.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "url", + "description": "Image URL which you want to crop.", + "required": true, + "type": "string", + "format": "url", + "x-example": "https:\/\/example.com", + "in": "query" + }, + { + "name": "width", + "description": "Resize preview image width, Pass an integer between 0 to 2000. Defaults to 400.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 400, + "in": "query" + }, + { + "name": "height", + "description": "Resize preview image height, Pass an integer between 0 to 2000. Defaults to 400.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 400, + "in": "query" + } + ] + } + }, + "\/avatars\/initials": { + "get": { + "summary": "Get user initials", + "operationId": "avatarsGetInitials", + "consumes": [ + "application\/json" + ], + "produces": [ + "image\/png" + ], + "tags": [ + "avatars" + ], + "description": "Use this endpoint to show your user initials avatar icon on your website or app. By default, this route will try to print your logged-in user name or email initials. You can also overwrite the user name if you pass the 'name' parameter. If no name is given and no user is logged, an empty avatar will be returned.\n\nYou can use the color and background params to change the avatar colors. By default, a random theme will be selected. The random theme will persist for the user's initials when reloading the same theme will always return for the same initials.\n\nWhen one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.\n", + "responses": { + "200": { + "description": "Image", + "schema": { + "type": "file" + } + } + }, + "x-appwrite": { + "method": "getInitials", + "group": null, + "weight": 65, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-initials.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-initials.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "name", + "description": "Full Name. When empty, current user name or email will be used. Max length: 128 chars.", + "required": false, + "type": "string", + "x-example": "<NAME>", + "default": "", + "in": "query" + }, + { + "name": "width", + "description": "Image width. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 500, + "in": "query" + }, + { + "name": "height", + "description": "Image height. Pass an integer between 0 to 2000. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 500, + "in": "query" + }, + { + "name": "background", + "description": "Changes background color. By default a random color will be picked and stay will persistent to the given name.", + "required": false, + "type": "string", + "default": "", + "in": "query" + } + ] + } + }, + "\/avatars\/qr": { + "get": { + "summary": "Get QR code", + "operationId": "avatarsGetQR", + "consumes": [ + "application\/json" + ], + "produces": [ + "image\/png" + ], + "tags": [ + "avatars" + ], + "description": "Converts a given plain text to a QR code image. You can use the query parameters to change the size and style of the resulting image.\n", + "responses": { + "200": { + "description": "Image", + "schema": { + "type": "file" + } + } + }, + "x-appwrite": { + "method": "getQR", + "group": null, + "weight": 64, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "avatars\/get-q-r.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/avatars\/get-qr.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "avatars.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "text", + "description": "Plain text to be converted to QR code image.", + "required": true, + "type": "string", + "x-example": "<TEXT>", + "in": "query" + }, + { + "name": "size", + "description": "QR code size. Pass an integer between 1 to 1000. Defaults to 400.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 1, + "default": 400, + "in": "query" + }, + { + "name": "margin", + "description": "Margin from edge. Pass an integer between 0 to 10. Defaults to 1.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 1, + "in": "query" + }, + { + "name": "download", + "description": "Return resulting image with 'Content-Disposition: attachment ' headers for the browser to start downloading it. Pass 0 for no header, or 1 for otherwise. Default value is set to 0.", + "required": false, + "type": "boolean", + "x-example": false, + "default": false, + "in": "query" + } + ] + } + }, + "\/databases": { + "get": { + "summary": "List databases", + "operationId": "databasesList", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Get a list of all databases from the current Appwrite project. You can use the search parameter to filter your results.", + "responses": { + "200": { + "description": "Databases List", + "schema": { + "$ref": "#\/definitions\/databaseList" + } + } + }, + "x-appwrite": { + "method": "list", + "group": "databases", + "weight": 70, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/list.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "databases.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + }, + "post": { + "summary": "Create database", + "operationId": "databasesCreate", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Create a new Database.\n", + "responses": { + "201": { + "description": "Database", + "schema": { + "$ref": "#\/definitions\/database" + } + } + }, + "x-appwrite": { + "method": "create", + "group": "databases", + "weight": 69, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "databases.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "databaseId": { + "type": "string", + "description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<DATABASE_ID>" + }, + "name": { + "type": "string", + "description": "Database name. Max length: 128 chars.", + "default": null, + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Is the database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.", + "default": true, + "x-example": false + } + }, + "required": [ + "databaseId", + "name" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}": { + "get": { + "summary": "Get database", + "operationId": "databasesGet", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Get a database by its unique ID. This endpoint response returns a JSON object with the database metadata.", + "responses": { + "200": { + "description": "Database", + "schema": { + "$ref": "#\/definitions\/database" + } + } + }, + "x-appwrite": { + "method": "get", + "group": "databases", + "weight": 71, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "databases.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + } + ] + }, + "put": { + "summary": "Update database", + "operationId": "databasesUpdate", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Update a database by its unique ID.", + "responses": { + "200": { + "description": "Database", + "schema": { + "$ref": "#\/definitions\/database" + } + } + }, + "x-appwrite": { + "method": "update", + "group": "databases", + "weight": 73, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "databases.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Database name. Max length: 128 chars.", + "default": null, + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Is database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.", + "default": true, + "x-example": false + } + }, + "required": [ + "name" + ] + } + } + ] + }, + "delete": { + "summary": "Delete database", + "operationId": "databasesDelete", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "databases" + ], + "description": "Delete a database by its unique ID. Only API keys with with databases.write scope can delete a database.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "delete", + "group": "databases", + "weight": 74, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/delete.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "databases.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + } + ] + } + }, + "\/databases\/{databaseId}\/collections": { + "get": { + "summary": "List collections", + "operationId": "databasesListCollections", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Get a list of all collections that belong to the provided databaseId. You can use the search parameter to filter your results.", + "responses": { + "200": { + "description": "Collections List", + "schema": { + "$ref": "#\/definitions\/collectionList" + } + } + }, + "x-appwrite": { + "method": "listCollections", + "group": "collections", + "weight": 76, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/list-collections.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-collections.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, enabled, documentSecurity", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + }, + "post": { + "summary": "Create collection", + "operationId": "databasesCreateCollection", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Create a new Collection. Before using this route, you should create a new database resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.", + "responses": { + "201": { + "description": "Collection", + "schema": { + "$ref": "#\/definitions\/collection" + } + } + }, + "x-appwrite": { + "method": "createCollection", + "group": "collections", + "weight": 75, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-collection.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-collection.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "collectionId": { + "type": "string", + "description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<COLLECTION_ID>" + }, + "name": { + "type": "string", + "description": "Collection name. Max length: 128 chars.", + "default": null, + "x-example": "<NAME>" + }, + "permissions": { + "type": "array", + "description": "An array of permissions strings. By default, no user is granted with any permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "default": null, + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + }, + "documentSecurity": { + "type": "boolean", + "description": "Enables configuring permissions for individual documents. A user needs one of document or collection level permissions to access a document. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "default": false, + "x-example": false + }, + "enabled": { + "type": "boolean", + "description": "Is collection enabled? When set to 'disabled', users cannot access the collection but Server SDKs with and API key can still read and write to the collection. No data is lost when this is toggled.", + "default": true, + "x-example": false + } + }, + "required": [ + "collectionId", + "name" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}": { + "get": { + "summary": "Get collection", + "operationId": "databasesGetCollection", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Get a collection by its unique ID. This endpoint response returns a JSON object with the collection metadata.", + "responses": { + "200": { + "description": "Collection", + "schema": { + "$ref": "#\/definitions\/collection" + } + } + }, + "x-appwrite": { + "method": "getCollection", + "group": "collections", + "weight": 77, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/get-collection.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-collection.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID.", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + } + ] + }, + "put": { + "summary": "Update collection", + "operationId": "databasesUpdateCollection", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Update a collection by its unique ID.", + "responses": { + "200": { + "description": "Collection", + "schema": { + "$ref": "#\/definitions\/collection" + } + } + }, + "x-appwrite": { + "method": "updateCollection", + "group": "collections", + "weight": 79, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-collection.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-collection.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID.", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Collection name. Max length: 128 chars.", + "default": null, + "x-example": "<NAME>" + }, + "permissions": { + "type": "array", + "description": "An array of permission strings. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "default": null, + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + }, + "documentSecurity": { + "type": "boolean", + "description": "Enables configuring permissions for individual documents. A user needs one of document or collection level permissions to access a document. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "default": false, + "x-example": false + }, + "enabled": { + "type": "boolean", + "description": "Is collection enabled? When set to 'disabled', users cannot access the collection but Server SDKs with and API key can still read and write to the collection. No data is lost when this is toggled.", + "default": true, + "x-example": false + } + }, + "required": [ + "name" + ] + } + } + ] + }, + "delete": { + "summary": "Delete collection", + "operationId": "databasesDeleteCollection", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "databases" + ], + "description": "Delete a collection by its unique ID. Only users with write permissions have access to delete this resource.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteCollection", + "group": "collections", + "weight": 80, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/delete-collection.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-collection.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID.", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes": { + "get": { + "summary": "List attributes", + "operationId": "databasesListAttributes", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "List attributes in the collection.", + "responses": { + "200": { + "description": "Attributes List", + "schema": { + "$ref": "#\/definitions\/attributeList" + } + } + }, + "x-appwrite": { + "method": "listAttributes", + "group": "attributes", + "weight": 91, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/list-attributes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-attributes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, size, required, array, status, error", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/boolean": { + "post": { + "summary": "Create boolean attribute", + "operationId": "databasesCreateBooleanAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Create a boolean attribute.\n", + "responses": { + "202": { + "description": "AttributeBoolean", + "schema": { + "$ref": "#\/definitions\/attributeBoolean" + } + } + }, + "x-appwrite": { + "method": "createBooleanAttribute", + "group": "attributes", + "weight": 88, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-boolean-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-boolean-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "default": null, + "x-example": null + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "default": { + "type": "boolean", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": false + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "default": false, + "x-example": false + } + }, + "required": [ + "key", + "required" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/boolean\/{key}": { + "patch": { + "summary": "Update boolean attribute", + "operationId": "databasesUpdateBooleanAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Update a boolean attribute. Changing the `default` value will not update already existing documents.", + "responses": { + "200": { + "description": "AttributeBoolean", + "schema": { + "$ref": "#\/definitions\/attributeBoolean" + } + } + }, + "x-appwrite": { + "method": "updateBooleanAttribute", + "group": "attributes", + "weight": 100, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-boolean-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-boolean-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "type": "string", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "default": { + "type": "boolean", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": false, + "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null + } + }, + "required": [ + "required", + "default" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/datetime": { + "post": { + "summary": "Create datetime attribute", + "operationId": "databasesCreateDatetimeAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Create a date time attribute according to the ISO 8601 standard.", + "responses": { + "202": { + "description": "AttributeDatetime", + "schema": { + "$ref": "#\/definitions\/attributeDatetime" + } + } + }, + "x-appwrite": { + "method": "createDatetimeAttribute", + "group": "attributes", + "weight": 89, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-datetime-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-datetime-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "default": null, + "x-example": null + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for the attribute in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. Cannot be set when attribute is required.", + "default": null, + "x-example": null + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "default": false, + "x-example": false + } + }, + "required": [ + "key", + "required" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/datetime\/{key}": { + "patch": { + "summary": "Update dateTime attribute", + "operationId": "databasesUpdateDatetimeAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Update a date time attribute. Changing the `default` value will not update already existing documents.", + "responses": { + "200": { + "description": "AttributeDatetime", + "schema": { + "$ref": "#\/definitions\/attributeDatetime" + } + } + }, + "x-appwrite": { + "method": "updateDatetimeAttribute", + "group": "attributes", + "weight": 101, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-datetime-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-datetime-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "type": "string", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": null, + "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null + } + }, + "required": [ + "required", + "default" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/email": { + "post": { + "summary": "Create email attribute", + "operationId": "databasesCreateEmailAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Create an email attribute.\n", + "responses": { + "202": { + "description": "AttributeEmail", + "schema": { + "$ref": "#\/definitions\/attributeEmail" + } + } + }, + "x-appwrite": { + "method": "createEmailAttribute", + "group": "attributes", + "weight": 82, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-email-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-email-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "default": null, + "x-example": null + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": "email@example.com" + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "default": false, + "x-example": false + } + }, + "required": [ + "key", + "required" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/email\/{key}": { + "patch": { + "summary": "Update email attribute", + "operationId": "databasesUpdateEmailAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Update an email attribute. Changing the `default` value will not update already existing documents.\n", + "responses": { + "200": { + "description": "AttributeEmail", + "schema": { + "$ref": "#\/definitions\/attributeEmail" + } + } + }, + "x-appwrite": { + "method": "updateEmailAttribute", + "group": "attributes", + "weight": 94, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-email-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-email-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "type": "string", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": "email@example.com", + "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null + } + }, + "required": [ + "required", + "default" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/enum": { + "post": { + "summary": "Create enum attribute", + "operationId": "databasesCreateEnumAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Create an enumeration attribute. The `elements` param acts as a white-list of accepted values for this attribute. \n", + "responses": { + "202": { + "description": "AttributeEnum", + "schema": { + "$ref": "#\/definitions\/attributeEnum" + } + } + }, + "x-appwrite": { + "method": "createEnumAttribute", + "group": "attributes", + "weight": 83, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-enum-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-attribute-enum.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "default": null, + "x-example": null + }, + "elements": { + "type": "array", + "description": "Array of elements in enumerated type. Uses length of longest element to determine size. Maximum of 100 elements are allowed, each 255 characters long.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": "<DEFAULT>" + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "default": false, + "x-example": false + } + }, + "required": [ + "key", + "elements", + "required" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/enum\/{key}": { + "patch": { + "summary": "Update enum attribute", + "operationId": "databasesUpdateEnumAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Update an enum attribute. Changing the `default` value will not update already existing documents.\n", + "responses": { + "200": { + "description": "AttributeEnum", + "schema": { + "$ref": "#\/definitions\/attributeEnum" + } + } + }, + "x-appwrite": { + "method": "updateEnumAttribute", + "group": "attributes", + "weight": 95, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-enum-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-enum-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "type": "string", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "elements": { + "type": "array", + "description": "Array of elements in enumerated type. Uses length of longest element to determine size. Maximum of 100 elements are allowed, each 255 characters long.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": "<DEFAULT>", + "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null + } + }, + "required": [ + "elements", + "required", + "default" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/float": { + "post": { + "summary": "Create float attribute", + "operationId": "databasesCreateFloatAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Create a float attribute. Optionally, minimum and maximum values can be provided.\n", + "responses": { + "202": { + "description": "AttributeFloat", + "schema": { + "$ref": "#\/definitions\/attributeFloat" + } + } + }, + "x-appwrite": { + "method": "createFloatAttribute", + "group": "attributes", + "weight": 87, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-float-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-float-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "default": null, + "x-example": null + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "min": { + "type": "number", + "description": "Minimum value to enforce on new documents", + "default": null, + "x-example": null + }, + "max": { + "type": "number", + "description": "Maximum value to enforce on new documents", + "default": null, + "x-example": null + }, + "default": { + "type": "number", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": null + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "default": false, + "x-example": false + } + }, + "required": [ + "key", + "required" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/float\/{key}": { + "patch": { + "summary": "Update float attribute", + "operationId": "databasesUpdateFloatAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Update a float attribute. Changing the `default` value will not update already existing documents.\n", + "responses": { + "200": { + "description": "AttributeFloat", + "schema": { + "$ref": "#\/definitions\/attributeFloat" + } + } + }, + "x-appwrite": { + "method": "updateFloatAttribute", + "group": "attributes", + "weight": 99, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-float-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-float-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "type": "string", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "min": { + "type": "number", + "description": "Minimum value to enforce on new documents", + "default": null, + "x-example": null + }, + "max": { + "type": "number", + "description": "Maximum value to enforce on new documents", + "default": null, + "x-example": null + }, + "default": { + "type": "number", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": null, + "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null + } + }, + "required": [ + "required", + "default" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/integer": { + "post": { + "summary": "Create integer attribute", + "operationId": "databasesCreateIntegerAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Create an integer attribute. Optionally, minimum and maximum values can be provided.\n", + "responses": { + "202": { + "description": "AttributeInteger", + "schema": { + "$ref": "#\/definitions\/attributeInteger" + } + } + }, + "x-appwrite": { + "method": "createIntegerAttribute", + "group": "attributes", + "weight": 86, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-integer-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-integer-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "default": null, + "x-example": null + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "min": { + "type": "integer", + "description": "Minimum value to enforce on new documents", + "default": null, + "x-example": null + }, + "max": { + "type": "integer", + "description": "Maximum value to enforce on new documents", + "default": null, + "x-example": null + }, + "default": { + "type": "integer", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": null + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "default": false, + "x-example": false + } + }, + "required": [ + "key", + "required" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/integer\/{key}": { + "patch": { + "summary": "Update integer attribute", + "operationId": "databasesUpdateIntegerAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Update an integer attribute. Changing the `default` value will not update already existing documents.\n", + "responses": { + "200": { + "description": "AttributeInteger", + "schema": { + "$ref": "#\/definitions\/attributeInteger" + } + } + }, + "x-appwrite": { + "method": "updateIntegerAttribute", + "group": "attributes", + "weight": 98, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-integer-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-integer-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "type": "string", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "min": { + "type": "integer", + "description": "Minimum value to enforce on new documents", + "default": null, + "x-example": null + }, + "max": { + "type": "integer", + "description": "Maximum value to enforce on new documents", + "default": null, + "x-example": null + }, + "default": { + "type": "integer", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": null, + "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null + } + }, + "required": [ + "required", + "default" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/ip": { + "post": { + "summary": "Create IP address attribute", + "operationId": "databasesCreateIpAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Create IP address attribute.\n", + "responses": { + "202": { + "description": "AttributeIP", + "schema": { + "$ref": "#\/definitions\/attributeIp" + } + } + }, + "x-appwrite": { + "method": "createIpAttribute", + "group": "attributes", + "weight": 84, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-ip-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-ip-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "default": null, + "x-example": null + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": null + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "default": false, + "x-example": false + } + }, + "required": [ + "key", + "required" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/ip\/{key}": { + "patch": { + "summary": "Update IP address attribute", + "operationId": "databasesUpdateIpAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Update an ip attribute. Changing the `default` value will not update already existing documents.\n", + "responses": { + "200": { + "description": "AttributeIP", + "schema": { + "$ref": "#\/definitions\/attributeIp" + } + } + }, + "x-appwrite": { + "method": "updateIpAttribute", + "group": "attributes", + "weight": 96, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-ip-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-ip-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "type": "string", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": null, + "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null + } + }, + "required": [ + "required", + "default" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/relationship": { + "post": { + "summary": "Create relationship attribute", + "operationId": "databasesCreateRelationshipAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Create relationship attribute. [Learn more about relationship attributes](https:\/\/appwrite.io\/docs\/databases-relationships#relationship-attributes).\n", + "responses": { + "202": { + "description": "AttributeRelationship", + "schema": { + "$ref": "#\/definitions\/attributeRelationship" + } + } + }, + "x-appwrite": { + "method": "createRelationshipAttribute", + "group": "attributes", + "weight": 90, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-relationship-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-relationship-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "relatedCollectionId": { + "type": "string", + "description": "Related Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "default": null, + "x-example": "<RELATED_COLLECTION_ID>" + }, + "type": { + "type": "string", + "description": "Relation type", + "default": null, + "x-example": "oneToOne", + "enum": [ + "oneToOne", + "manyToOne", + "manyToMany", + "oneToMany" + ], + "x-enum-name": "RelationshipType", + "x-enum-keys": [] + }, + "twoWay": { + "type": "boolean", + "description": "Is Two Way?", + "default": false, + "x-example": false + }, + "key": { + "type": "string", + "description": "Attribute Key.", + "default": null, + "x-example": null + }, + "twoWayKey": { + "type": "string", + "description": "Two Way Attribute Key.", + "default": null, + "x-example": null + }, + "onDelete": { + "type": "string", + "description": "Constraints option", + "default": "restrict", + "x-example": "cascade", + "enum": [ + "cascade", + "restrict", + "setNull" + ], + "x-enum-name": "RelationMutate", + "x-enum-keys": [] + } + }, + "required": [ + "relatedCollectionId", + "type" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/string": { + "post": { + "summary": "Create string attribute", + "operationId": "databasesCreateStringAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Create a string attribute.\n", + "responses": { + "202": { + "description": "AttributeString", + "schema": { + "$ref": "#\/definitions\/attributeString" + } + } + }, + "x-appwrite": { + "method": "createStringAttribute", + "group": "attributes", + "weight": 81, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-string-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-string-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "default": null, + "x-example": null + }, + "size": { + "type": "integer", + "description": "Attribute size for text attributes, in number of characters.", + "default": null, + "x-example": 1 + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": "<DEFAULT>" + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "default": false, + "x-example": false + }, + "encrypt": { + "type": "boolean", + "description": "Toggle encryption for the attribute. Encryption enhances security by not storing any plain text values in the database. However, encrypted attributes cannot be queried.", + "default": false, + "x-example": false + } + }, + "required": [ + "key", + "size", + "required" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/string\/{key}": { + "patch": { + "summary": "Update string attribute", + "operationId": "databasesUpdateStringAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Update a string attribute. Changing the `default` value will not update already existing documents.\n", + "responses": { + "200": { + "description": "AttributeString", + "schema": { + "$ref": "#\/definitions\/attributeString" + } + } + }, + "x-appwrite": { + "method": "updateStringAttribute", + "group": "attributes", + "weight": 93, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-string-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-string-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "type": "string", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": "<DEFAULT>", + "x-nullable": true + }, + "size": { + "type": "integer", + "description": "Maximum size of the string attribute.", + "default": null, + "x-example": 1 + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null + } + }, + "required": [ + "required", + "default" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/url": { + "post": { + "summary": "Create URL attribute", + "operationId": "databasesCreateUrlAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Create a URL attribute.\n", + "responses": { + "202": { + "description": "AttributeURL", + "schema": { + "$ref": "#\/definitions\/attributeUrl" + } + } + }, + "x-appwrite": { + "method": "createUrlAttribute", + "group": "attributes", + "weight": 85, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-url-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-url-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "default": null, + "x-example": null + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": "https:\/\/example.com" + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "default": false, + "x-example": false + } + }, + "required": [ + "key", + "required" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/url\/{key}": { + "patch": { + "summary": "Update URL attribute", + "operationId": "databasesUpdateUrlAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Update an url attribute. Changing the `default` value will not update already existing documents.\n", + "responses": { + "200": { + "description": "AttributeURL", + "schema": { + "$ref": "#\/definitions\/attributeUrl" + } + } + }, + "x-appwrite": { + "method": "updateUrlAttribute", + "group": "attributes", + "weight": 97, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-url-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-url-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "type": "string", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean", + "description": "Is attribute required?", + "default": null, + "x-example": false + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "default": null, + "x-example": "https:\/\/example.com", + "x-nullable": true + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null + } + }, + "required": [ + "required", + "default" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/{key}": { + "get": { + "summary": "Get attribute", + "operationId": "databasesGetAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Get attribute by ID.", + "responses": { + "200": { + "description": "AttributeBoolean, or AttributeInteger, or AttributeFloat, or AttributeEmail, or AttributeEnum, or AttributeURL, or AttributeIP, or AttributeDatetime, or AttributeRelationship, or AttributeString", + "schema": { + "x-oneOf": [ + { + "$ref": "#\/definitions\/attributeBoolean" + }, + { + "$ref": "#\/definitions\/attributeInteger" + }, + { + "$ref": "#\/definitions\/attributeFloat" + }, + { + "$ref": "#\/definitions\/attributeEmail" + }, + { + "$ref": "#\/definitions\/attributeEnum" + }, + { + "$ref": "#\/definitions\/attributeUrl" + }, + { + "$ref": "#\/definitions\/attributeIp" + }, + { + "$ref": "#\/definitions\/attributeDatetime" + }, + { + "$ref": "#\/definitions\/attributeRelationship" + }, + { + "$ref": "#\/definitions\/attributeString" + } + ] + } + } + }, + "x-appwrite": { + "method": "getAttribute", + "group": "attributes", + "weight": 92, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/get-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "type": "string", + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete attribute", + "operationId": "databasesDeleteAttribute", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "databases" + ], + "description": "Deletes an attribute.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteAttribute", + "group": "attributes", + "weight": 103, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/delete-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "type": "string", + "in": "path" + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/attributes\/{key}\/relationship": { + "patch": { + "summary": "Update relationship attribute", + "operationId": "databasesUpdateRelationshipAttribute", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Update relationship attribute. [Learn more about relationship attributes](https:\/\/appwrite.io\/docs\/databases-relationships#relationship-attributes).\n", + "responses": { + "200": { + "description": "AttributeRelationship", + "schema": { + "$ref": "#\/definitions\/attributeRelationship" + } + } + }, + "x-appwrite": { + "method": "updateRelationshipAttribute", + "group": "attributes", + "weight": 102, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-relationship-attribute.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-relationship-attribute.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "key", + "description": "Attribute Key.", + "required": true, + "type": "string", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "onDelete": { + "type": "string", + "description": "Constraints option", + "default": null, + "x-example": "cascade", + "enum": [ + "cascade", + "restrict", + "setNull" + ], + "x-enum-name": "RelationMutate", + "x-enum-keys": [] + }, + "newKey": { + "type": "string", + "description": "New attribute key.", + "default": null, + "x-example": null + } + } + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/documents": { + "get": { + "summary": "List documents", + "operationId": "databasesListDocuments", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Get a list of all the user's documents in a given collection. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Documents List", + "schema": { + "$ref": "#\/definitions\/documentList" + } + } + }, + "x-appwrite": { + "method": "listDocuments", + "group": "documents", + "weight": 109, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/list-documents.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-documents.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "documents.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + }, + "post": { + "summary": "Create document", + "operationId": "databasesCreateDocument", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection) API or directly from your database console.\n", + "responses": { + "201": { + "description": "Document", + "schema": { + "$ref": "#\/definitions\/document" + } + } + }, + "x-appwrite": { + "method": "createDocument", + "group": "documents", + "weight": 108, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-document.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-document.md", + "rate-limit": 120, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", + "scope": "documents.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection). Make sure to define attributes before creating documents.", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "documentId": { + "type": "string", + "description": "Document ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<DOCUMENT_ID>" + }, + "data": { + "type": "object", + "description": "Document data as JSON object.", + "default": {}, + "x-example": "{}" + }, + "permissions": { + "type": "array", + "description": "An array of permissions strings. By default, only the current user is granted all permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "default": null, + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + } + }, + "required": [ + "documentId", + "data" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/documents\/{documentId}": { + "get": { + "summary": "Get document", + "operationId": "databasesGetDocument", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Get a document by its unique ID. This endpoint response returns a JSON object with the document data.", + "responses": { + "200": { + "description": "Document", + "schema": { + "$ref": "#\/definitions\/document" + } + } + }, + "x-appwrite": { + "method": "getDocument", + "group": "documents", + "weight": 110, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/get-document.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-document.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "documents.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "documentId", + "description": "Document ID.", + "required": true, + "type": "string", + "x-example": "<DOCUMENT_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long.", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + }, + "patch": { + "summary": "Update document", + "operationId": "databasesUpdateDocument", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Update a document by its unique ID. Using the patch method you can pass only specific fields that will get updated.", + "responses": { + "200": { + "description": "Document", + "schema": { + "$ref": "#\/definitions\/document" + } + } + }, + "x-appwrite": { + "method": "updateDocument", + "group": "documents", + "weight": 112, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/update-document.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/update-document.md", + "rate-limit": 120, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", + "scope": "documents.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID.", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "documentId", + "description": "Document ID.", + "required": true, + "type": "string", + "x-example": "<DOCUMENT_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "description": "Document data as JSON object. Include only attribute and value pairs to be updated.", + "default": [], + "x-example": "{}" + }, + "permissions": { + "type": "array", + "description": "An array of permissions strings. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "default": null, + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + } + } + } + } + ] + }, + "delete": { + "summary": "Delete document", + "operationId": "databasesDeleteDocument", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "databases" + ], + "description": "Delete a document by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteDocument", + "group": "documents", + "weight": 113, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/delete-document.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-document.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", + "scope": "documents.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "documentId", + "description": "Document ID.", + "required": true, + "type": "string", + "x-example": "<DOCUMENT_ID>", + "in": "path" + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/indexes": { + "get": { + "summary": "List indexes", + "operationId": "databasesListIndexes", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "List indexes in the collection.", + "responses": { + "200": { + "description": "Indexes List", + "schema": { + "$ref": "#\/definitions\/indexList" + } + } + }, + "x-appwrite": { + "method": "listIndexes", + "group": "indexes", + "weight": 105, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/list-indexes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/list-indexes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, status, attributes, error", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + }, + "post": { + "summary": "Create index", + "operationId": "databasesCreateIndex", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Creates an index on the attributes listed. Your index should include all the attributes you will query in a single request.\nAttributes can be `key`, `fulltext`, and `unique`.", + "responses": { + "202": { + "description": "Index", + "schema": { + "$ref": "#\/definitions\/index" + } + } + }, + "x-appwrite": { + "method": "createIndex", + "group": "collections", + "weight": 104, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/create-index.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/create-index.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Index Key.", + "default": null, + "x-example": null + }, + "type": { + "type": "string", + "description": "Index type.", + "default": null, + "x-example": "key", + "enum": [ + "key", + "fulltext", + "unique" + ], + "x-enum-name": "IndexType", + "x-enum-keys": [] + }, + "attributes": { + "type": "array", + "description": "Array of attributes to index. Maximum of 100 attributes are allowed, each 32 characters long.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "orders": { + "type": "array", + "description": "Array of index orders. Maximum of 100 orders are allowed.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + } + }, + "required": [ + "key", + "type", + "attributes" + ] + } + } + ] + } + }, + "\/databases\/{databaseId}\/collections\/{collectionId}\/indexes\/{key}": { + "get": { + "summary": "Get index", + "operationId": "databasesGetIndex", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "databases" + ], + "description": "Get index by ID.", + "responses": { + "200": { + "description": "Index", + "schema": { + "$ref": "#\/definitions\/index" + } + } + }, + "x-appwrite": { + "method": "getIndex", + "group": "indexes", + "weight": 106, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/get-index.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/get-index.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "key", + "description": "Index Key.", + "required": true, + "type": "string", + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete index", + "operationId": "databasesDeleteIndex", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "databases" + ], + "description": "Delete an index.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteIndex", + "group": "indexes", + "weight": 107, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "databases\/delete-index.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/databases\/delete-index.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "collections.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "databaseId", + "description": "Database ID.", + "required": true, + "type": "string", + "x-example": "<DATABASE_ID>", + "in": "path" + }, + { + "name": "collectionId", + "description": "Collection ID. You can create a new collection using the Database service [server integration](https:\/\/appwrite.io\/docs\/server\/databases#databasesCreateCollection).", + "required": true, + "type": "string", + "x-example": "<COLLECTION_ID>", + "in": "path" + }, + { + "name": "key", + "description": "Index Key.", + "required": true, + "type": "string", + "in": "path" + } + ] + } + }, + "\/functions": { + "get": { + "summary": "List functions", + "operationId": "functionsList", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Get a list of all the project's functions. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Functions List", + "schema": { + "$ref": "#\/definitions\/functionList" + } + } + }, + "x-appwrite": { + "method": "list", + "group": "functions", + "weight": 288, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/list.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-functions.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, enabled, runtime, deployment, schedule, scheduleNext, schedulePrevious, timeout, entrypoint, commands, installationId", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + }, + "post": { + "summary": "Create function", + "operationId": "functionsCreate", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Create a new function. You can pass a list of [permissions](https:\/\/appwrite.io\/docs\/permissions) to allow different project users or team with access to execute the function using the client API.", + "responses": { + "201": { + "description": "Function", + "schema": { + "$ref": "#\/definitions\/function" + } + } + }, + "x-appwrite": { + "method": "create", + "group": "functions", + "weight": 287, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/create.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-function.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "functionId": { + "type": "string", + "description": "Function ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<FUNCTION_ID>" + }, + "name": { + "type": "string", + "description": "Function name. Max length: 128 chars.", + "default": null, + "x-example": "<NAME>" + }, + "runtime": { + "type": "string", + "description": "Execution runtime.", + "default": null, + "x-example": "node-14.5", + "enum": [ + "node-14.5", + "node-16.0", + "node-18.0", + "node-19.0", + "node-20.0", + "node-21.0", + "node-22", + "php-8.0", + "php-8.1", + "php-8.2", + "php-8.3", + "ruby-3.0", + "ruby-3.1", + "ruby-3.2", + "ruby-3.3", + "python-3.8", + "python-3.9", + "python-3.10", + "python-3.11", + "python-3.12", + "python-ml-3.11", + "deno-1.21", + "deno-1.24", + "deno-1.35", + "deno-1.40", + "deno-1.46", + "deno-2.0", + "dart-2.15", + "dart-2.16", + "dart-2.17", + "dart-2.18", + "dart-3.0", + "dart-3.1", + "dart-3.3", + "dart-3.5", + "dotnet-6.0", + "dotnet-7.0", + "dotnet-8.0", + "java-8.0", + "java-11.0", + "java-17.0", + "java-18.0", + "java-21.0", + "java-22", + "swift-5.5", + "swift-5.8", + "swift-5.9", + "swift-5.10", + "kotlin-1.6", + "kotlin-1.8", + "kotlin-1.9", + "kotlin-2.0", + "cpp-17", + "cpp-20", + "bun-1.0", + "bun-1.1", + "go-1.23", + "static-1", + "flutter-3.24" + ], + "x-enum-name": null, + "x-enum-keys": [] + }, + "execute": { + "type": "array", + "description": "An array of role strings with execution permissions. By default no user is granted with any execute permissions. [learn more about roles](https:\/\/appwrite.io\/docs\/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.", + "default": [], + "x-example": "[\"any\"]", + "items": { + "type": "string" + } + }, + "events": { + "type": "array", + "description": "Events list. Maximum of 100 events are allowed.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "schedule": { + "type": "string", + "description": "Schedule CRON syntax.", + "default": "", + "x-example": null + }, + "timeout": { + "type": "integer", + "description": "Function maximum execution time in seconds.", + "default": 15, + "x-example": 1 + }, + "enabled": { + "type": "boolean", + "description": "Is function enabled? When set to 'disabled', users cannot access the function but Server SDKs with and API key can still access the function. No data is lost when this is toggled.", + "default": true, + "x-example": false + }, + "logging": { + "type": "boolean", + "description": "Whether executions will be logged. When set to false, executions will not be logged, but will reduce resource used by your Appwrite project.", + "default": true, + "x-example": false + }, + "entrypoint": { + "type": "string", + "description": "Entrypoint File. This path is relative to the \"providerRootDirectory\".", + "default": "", + "x-example": "<ENTRYPOINT>" + }, + "commands": { + "type": "string", + "description": "Build Commands.", + "default": "", + "x-example": "<COMMANDS>" + }, + "scopes": { + "type": "array", + "description": "List of scopes allowed for API key auto-generated for every execution. Maximum of 100 scopes are allowed.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "installationId": { + "type": "string", + "description": "Appwrite Installation ID for VCS (Version Control System) deployment.", + "default": "", + "x-example": "<INSTALLATION_ID>" + }, + "providerRepositoryId": { + "type": "string", + "description": "Repository ID of the repo linked to the function.", + "default": "", + "x-example": "<PROVIDER_REPOSITORY_ID>" + }, + "providerBranch": { + "type": "string", + "description": "Production branch for the repo linked to the function.", + "default": "", + "x-example": "<PROVIDER_BRANCH>" + }, + "providerSilentMode": { + "type": "boolean", + "description": "Is the VCS (Version Control System) connection in silent mode for the repo linked to the function? In silent mode, comments will not be made on commits and pull requests.", + "default": false, + "x-example": false + }, + "providerRootDirectory": { + "type": "string", + "description": "Path to function code in the linked repo.", + "default": "", + "x-example": "<PROVIDER_ROOT_DIRECTORY>" + }, + "templateRepository": { + "type": "string", + "description": "Repository name of the template.", + "default": "", + "x-example": "<TEMPLATE_REPOSITORY>" + }, + "templateOwner": { + "type": "string", + "description": "The name of the owner of the template.", + "default": "", + "x-example": "<TEMPLATE_OWNER>" + }, + "templateRootDirectory": { + "type": "string", + "description": "Path to function code in the template repo.", + "default": "", + "x-example": "<TEMPLATE_ROOT_DIRECTORY>" + }, + "templateVersion": { + "type": "string", + "description": "Version (tag) for the repo linked to the function template.", + "default": "", + "x-example": "<TEMPLATE_VERSION>" + }, + "specification": { + "type": "string", + "description": "Runtime specification for the function and builds.", + "default": "s-1vcpu-512mb", + "x-example": null + } + }, + "required": [ + "functionId", + "name", + "runtime" + ] + } + } + ] + } + }, + "\/functions\/runtimes": { + "get": { + "summary": "List runtimes", + "operationId": "functionsListRuntimes", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Get a list of all runtimes that are currently active on your instance.", + "responses": { + "200": { + "description": "Runtimes List", + "schema": { + "$ref": "#\/definitions\/runtimeList" + } + } + }, + "x-appwrite": { + "method": "listRuntimes", + "group": "runtimes", + "weight": 289, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/list-runtimes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-runtimes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/functions\/specifications": { + "get": { + "summary": "List available function runtime specifications", + "operationId": "functionsListSpecifications", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "List allowed function specifications for this instance.\n", + "responses": { + "200": { + "description": "Specifications List", + "schema": { + "$ref": "#\/definitions\/specificationList" + } + } + }, + "x-appwrite": { + "method": "listSpecifications", + "group": "runtimes", + "weight": 290, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/list-specifications.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-specifications.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server", + "console" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/functions\/{functionId}": { + "get": { + "summary": "Get function", + "operationId": "functionsGet", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Get a function by its unique ID.", + "responses": { + "200": { + "description": "Function", + "schema": { + "$ref": "#\/definitions\/function" + } + } + }, + "x-appwrite": { + "method": "get", + "group": "functions", + "weight": 291, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-function.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + } + ] + }, + "put": { + "summary": "Update function", + "operationId": "functionsUpdate", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Update function by its unique ID.", + "responses": { + "200": { + "description": "Function", + "schema": { + "$ref": "#\/definitions\/function" + } + } + }, + "x-appwrite": { + "method": "update", + "group": "functions", + "weight": 294, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/update.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/update-function.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Function name. Max length: 128 chars.", + "default": null, + "x-example": "<NAME>" + }, + "runtime": { + "type": "string", + "description": "Execution runtime.", + "default": "", + "x-example": "node-14.5", + "enum": [ + "node-14.5", + "node-16.0", + "node-18.0", + "node-19.0", + "node-20.0", + "node-21.0", + "node-22", + "php-8.0", + "php-8.1", + "php-8.2", + "php-8.3", + "ruby-3.0", + "ruby-3.1", + "ruby-3.2", + "ruby-3.3", + "python-3.8", + "python-3.9", + "python-3.10", + "python-3.11", + "python-3.12", + "python-ml-3.11", + "deno-1.21", + "deno-1.24", + "deno-1.35", + "deno-1.40", + "deno-1.46", + "deno-2.0", + "dart-2.15", + "dart-2.16", + "dart-2.17", + "dart-2.18", + "dart-3.0", + "dart-3.1", + "dart-3.3", + "dart-3.5", + "dotnet-6.0", + "dotnet-7.0", + "dotnet-8.0", + "java-8.0", + "java-11.0", + "java-17.0", + "java-18.0", + "java-21.0", + "java-22", + "swift-5.5", + "swift-5.8", + "swift-5.9", + "swift-5.10", + "kotlin-1.6", + "kotlin-1.8", + "kotlin-1.9", + "kotlin-2.0", + "cpp-17", + "cpp-20", + "bun-1.0", + "bun-1.1", + "go-1.23", + "static-1", + "flutter-3.24" + ], + "x-enum-name": null, + "x-enum-keys": [] + }, + "execute": { + "type": "array", + "description": "An array of role strings with execution permissions. By default no user is granted with any execute permissions. [learn more about roles](https:\/\/appwrite.io\/docs\/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.", + "default": [], + "x-example": "[\"any\"]", + "items": { + "type": "string" + } + }, + "events": { + "type": "array", + "description": "Events list. Maximum of 100 events are allowed.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "schedule": { + "type": "string", + "description": "Schedule CRON syntax.", + "default": "", + "x-example": null + }, + "timeout": { + "type": "integer", + "description": "Maximum execution time in seconds.", + "default": 15, + "x-example": 1 + }, + "enabled": { + "type": "boolean", + "description": "Is function enabled? When set to 'disabled', users cannot access the function but Server SDKs with and API key can still access the function. No data is lost when this is toggled.", + "default": true, + "x-example": false + }, + "logging": { + "type": "boolean", + "description": "Whether executions will be logged. When set to false, executions will not be logged, but will reduce resource used by your Appwrite project.", + "default": true, + "x-example": false + }, + "entrypoint": { + "type": "string", + "description": "Entrypoint File. This path is relative to the \"providerRootDirectory\".", + "default": "", + "x-example": "<ENTRYPOINT>" + }, + "commands": { + "type": "string", + "description": "Build Commands.", + "default": "", + "x-example": "<COMMANDS>" + }, + "scopes": { + "type": "array", + "description": "List of scopes allowed for API Key auto-generated for every execution. Maximum of 100 scopes are allowed.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "installationId": { + "type": "string", + "description": "Appwrite Installation ID for VCS (Version Controle System) deployment.", + "default": "", + "x-example": "<INSTALLATION_ID>" + }, + "providerRepositoryId": { + "type": "string", + "description": "Repository ID of the repo linked to the function", + "default": null, + "x-example": "<PROVIDER_REPOSITORY_ID>", + "x-nullable": true + }, + "providerBranch": { + "type": "string", + "description": "Production branch for the repo linked to the function", + "default": "", + "x-example": "<PROVIDER_BRANCH>" + }, + "providerSilentMode": { + "type": "boolean", + "description": "Is the VCS (Version Control System) connection in silent mode for the repo linked to the function? In silent mode, comments will not be made on commits and pull requests.", + "default": false, + "x-example": false + }, + "providerRootDirectory": { + "type": "string", + "description": "Path to function code in the linked repo.", + "default": "", + "x-example": "<PROVIDER_ROOT_DIRECTORY>" + }, + "specification": { + "type": "string", + "description": "Runtime specification for the function and builds.", + "default": "s-1vcpu-512mb", + "x-example": null + } + }, + "required": [ + "name" + ] + } + } + ] + }, + "delete": { + "summary": "Delete function", + "operationId": "functionsDelete", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "functions" + ], + "description": "Delete a function by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "delete", + "group": "functions", + "weight": 297, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/delete.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/delete-function.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + } + ] + } + }, + "\/functions\/{functionId}\/deployments": { + "get": { + "summary": "List deployments", + "operationId": "functionsListDeployments", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Get a list of all the project's code deployments. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Deployments List", + "schema": { + "$ref": "#\/definitions\/deploymentList" + } + } + }, + "x-appwrite": { + "method": "listDeployments", + "group": "deployments", + "weight": 299, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/list-deployments.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-deployments.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: size, buildId, activate, entrypoint, commands, type, size", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + }, + "post": { + "summary": "Create deployment", + "operationId": "functionsCreateDeployment", + "consumes": [ + "multipart\/form-data" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Create a new function code deployment. Use this endpoint to upload a new version of your code function. To execute your newly uploaded code, you'll need to update the function's deployment to use your new deployment UID.\n\nThis endpoint accepts a tar.gz file compressed with your code. Make sure to include any dependencies your code has within the compressed file. You can learn more about code packaging in the [Appwrite Cloud Functions tutorial](https:\/\/appwrite.io\/docs\/functions).\n\nUse the \"command\" param to set the entrypoint used to execute your code.", + "responses": { + "202": { + "description": "Deployment", + "schema": { + "$ref": "#\/definitions\/deployment" + } + } + }, + "x-appwrite": { + "method": "createDeployment", + "group": "deployments", + "weight": 298, + "cookies": false, + "type": "upload", + "deprecated": false, + "demo": "functions\/create-deployment.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-deployment.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": true, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "entrypoint", + "description": "Entrypoint File.", + "required": false, + "type": "string", + "x-example": "<ENTRYPOINT>", + "in": "formData" + }, + { + "name": "commands", + "description": "Build Commands.", + "required": false, + "type": "string", + "x-example": "<COMMANDS>", + "in": "formData" + }, + { + "name": "code", + "description": "Gzip file with your code package. When used with the Appwrite CLI, pass the path to your code directory, and the CLI will automatically package your code. Use a path that is within the current directory.", + "required": true, + "type": "file", + "in": "formData" + }, + { + "name": "activate", + "description": "Automatically activate the deployment when it is finished building.", + "required": true, + "type": "boolean", + "x-example": false, + "in": "formData" + } + ] + } + }, + "\/functions\/{functionId}\/deployments\/{deploymentId}": { + "get": { + "summary": "Get deployment", + "operationId": "functionsGetDeployment", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Get a code deployment by its unique ID.", + "responses": { + "200": { + "description": "Deployment", + "schema": { + "$ref": "#\/definitions\/deployment" + } + } + }, + "x-appwrite": { + "method": "getDeployment", + "group": "deployments", + "weight": 300, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/get-deployment.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-deployment.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "deploymentId", + "description": "Deployment ID.", + "required": true, + "type": "string", + "x-example": "<DEPLOYMENT_ID>", + "in": "path" + } + ] + }, + "patch": { + "summary": "Update deployment", + "operationId": "functionsUpdateDeployment", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Update the function code deployment ID using the unique function ID. Use this endpoint to switch the code deployment that should be executed by the execution endpoint.", + "responses": { + "200": { + "description": "Function", + "schema": { + "$ref": "#\/definitions\/function" + } + } + }, + "x-appwrite": { + "method": "updateDeployment", + "group": "deployments", + "weight": 296, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/update-deployment.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/update-function-deployment.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "deploymentId", + "description": "Deployment ID.", + "required": true, + "type": "string", + "x-example": "<DEPLOYMENT_ID>", + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete deployment", + "operationId": "functionsDeleteDeployment", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "functions" + ], + "description": "Delete a code deployment by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteDeployment", + "group": "deployments", + "weight": 301, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/delete-deployment.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/delete-deployment.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "deploymentId", + "description": "Deployment ID.", + "required": true, + "type": "string", + "x-example": "<DEPLOYMENT_ID>", + "in": "path" + } + ] + } + }, + "\/functions\/{functionId}\/deployments\/{deploymentId}\/build": { + "post": { + "summary": "Create deployment build", + "operationId": "functionsCreateBuild", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Create a new build for an existing function deployment. This endpoint allows you to rebuild a deployment with the updated function configuration, including its entrypoint and build commands if they have been modified The build process will be queued and executed asynchronously. The original deployment's code will be preserved and used for the new build.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "createBuild", + "group": "deployments", + "weight": 302, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/create-build.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-build.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "deploymentId", + "description": "Deployment ID.", + "required": true, + "type": "string", + "x-example": "<DEPLOYMENT_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "buildId": { + "type": "string", + "description": "Build unique ID.", + "default": "", + "x-example": "<BUILD_ID>" + } + } + } + } + ] + }, + "patch": { + "summary": "Cancel deployment", + "operationId": "functionsUpdateDeploymentBuild", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Cancel an ongoing function deployment build. If the build is already in progress, it will be stopped and marked as canceled. If the build hasn't started yet, it will be marked as canceled without executing. You cannot cancel builds that have already completed (status 'ready') or failed. The response includes the final build status and details.", + "responses": { + "200": { + "description": "Build", + "schema": { + "$ref": "#\/definitions\/build" + } + } + }, + "x-appwrite": { + "method": "updateDeploymentBuild", + "group": "deployments", + "weight": 303, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/update-deployment-build.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/update-deployment-build.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "deploymentId", + "description": "Deployment ID.", + "required": true, + "type": "string", + "x-example": "<DEPLOYMENT_ID>", + "in": "path" + } + ] + } + }, + "\/functions\/{functionId}\/deployments\/{deploymentId}\/download": { + "get": { + "summary": "Get deployment download", + "operationId": "functionsGetDeploymentDownload", + "consumes": [ + "application\/json" + ], + "produces": [ + "*\/*" + ], + "tags": [ + "functions" + ], + "description": "Get a Deployment's contents by its unique ID. This endpoint supports range requests for partial or streaming file download.", + "responses": { + "200": { + "description": "File", + "schema": { + "type": "file" + } + } + }, + "x-appwrite": { + "method": "getDeploymentDownload", + "group": "deployments", + "weight": 295, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "functions\/get-deployment-download.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-deployment-download.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "deploymentId", + "description": "Deployment ID.", + "required": true, + "type": "string", + "x-example": "<DEPLOYMENT_ID>", + "in": "path" + } + ] + } + }, + "\/functions\/{functionId}\/executions": { + "get": { + "summary": "List executions", + "operationId": "functionsListExecutions", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Get a list of all the current user function execution logs. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Executions List", + "schema": { + "$ref": "#\/definitions\/executionList" + } + } + }, + "x-appwrite": { + "method": "listExecutions", + "group": "executions", + "weight": 305, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/list-executions.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-executions.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "execution.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: trigger, status, responseStatusCode, duration, requestMethod, requestPath, deploymentId", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + }, + "post": { + "summary": "Create execution", + "operationId": "functionsCreateExecution", + "consumes": [ + "application\/json" + ], + "produces": [ + "multipart\/form-data" + ], + "tags": [ + "functions" + ], + "description": "Trigger a function execution. The returned object will return you the current execution status. You can ping the `Get Execution` endpoint to get updates on the current execution status. Once this endpoint is called, your function execution process will start asynchronously.", + "responses": { + "201": { + "description": "Execution", + "schema": { + "$ref": "#\/definitions\/execution" + } + } + }, + "x-appwrite": { + "method": "createExecution", + "group": "executions", + "weight": 304, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/create-execution.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-execution.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "execution.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "HTTP body of execution. Default value is empty string.", + "default": "", + "x-example": "<BODY>" + }, + "async": { + "type": "boolean", + "description": "Execute code in the background. Default value is false.", + "default": false, + "x-example": false + }, + "path": { + "type": "string", + "description": "HTTP path of execution. Path can include query params. Default value is \/", + "default": "\/", + "x-example": "<PATH>" + }, + "method": { + "type": "string", + "description": "HTTP method of execution. Default value is GET.", + "default": "POST", + "x-example": "GET", + "enum": [ + "GET", + "POST", + "PUT", + "PATCH", + "DELETE", + "OPTIONS" + ], + "x-enum-name": "ExecutionMethod", + "x-enum-keys": [] + }, + "headers": { + "type": "object", + "description": "HTTP headers of execution. Defaults to empty.", + "default": [], + "x-example": "{}" + }, + "scheduledAt": { + "type": "string", + "description": "Scheduled execution time in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future with precision in minutes.", + "default": null, + "x-example": null + } + } + } + } + ] + } + }, + "\/functions\/{functionId}\/executions\/{executionId}": { + "get": { + "summary": "Get execution", + "operationId": "functionsGetExecution", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Get a function execution log by its unique ID.", + "responses": { + "200": { + "description": "Execution", + "schema": { + "$ref": "#\/definitions\/execution" + } + } + }, + "x-appwrite": { + "method": "getExecution", + "group": "executions", + "weight": 306, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/get-execution.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-execution.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "execution.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "executionId", + "description": "Execution ID.", + "required": true, + "type": "string", + "x-example": "<EXECUTION_ID>", + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete execution", + "operationId": "functionsDeleteExecution", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "functions" + ], + "description": "Delete a function execution by its unique ID.\n", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteExecution", + "group": "executions", + "weight": 307, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/delete-execution.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/delete-execution.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "execution.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "executionId", + "description": "Execution ID.", + "required": true, + "type": "string", + "x-example": "<EXECUTION_ID>", + "in": "path" + } + ] + } + }, + "\/functions\/{functionId}\/variables": { + "get": { + "summary": "List variables", + "operationId": "functionsListVariables", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Get a list of all variables of a specific function.", + "responses": { + "200": { + "description": "Variables List", + "schema": { + "$ref": "#\/definitions\/variableList" + } + } + }, + "x-appwrite": { + "method": "listVariables", + "group": "variables", + "weight": 309, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/list-variables.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/list-variables.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function unique ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + } + ] + }, + "post": { + "summary": "Create variable", + "operationId": "functionsCreateVariable", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Create a new function environment variable. These variables can be accessed in the function at runtime as environment variables.", + "responses": { + "201": { + "description": "Variable", + "schema": { + "$ref": "#\/definitions\/variable" + } + } + }, + "x-appwrite": { + "method": "createVariable", + "group": "variables", + "weight": 308, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/create-variable.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/create-variable.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function unique ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Variable key. Max length: 255 chars.", + "default": null, + "x-example": "<KEY>" + }, + "value": { + "type": "string", + "description": "Variable value. Max length: 8192 chars.", + "default": null, + "x-example": "<VALUE>" + } + }, + "required": [ + "key", + "value" + ] + } + } + ] + } + }, + "\/functions\/{functionId}\/variables\/{variableId}": { + "get": { + "summary": "Get variable", + "operationId": "functionsGetVariable", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Get a variable by its unique ID.", + "responses": { + "200": { + "description": "Variable", + "schema": { + "$ref": "#\/definitions\/variable" + } + } + }, + "x-appwrite": { + "method": "getVariable", + "group": "variables", + "weight": 310, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/get-variable.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/get-variable.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function unique ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "variableId", + "description": "Variable unique ID.", + "required": true, + "type": "string", + "x-example": "<VARIABLE_ID>", + "in": "path" + } + ] + }, + "put": { + "summary": "Update variable", + "operationId": "functionsUpdateVariable", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "functions" + ], + "description": "Update variable by its unique ID.", + "responses": { + "200": { + "description": "Variable", + "schema": { + "$ref": "#\/definitions\/variable" + } + } + }, + "x-appwrite": { + "method": "updateVariable", + "group": "variables", + "weight": 311, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/update-variable.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/update-variable.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function unique ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "variableId", + "description": "Variable unique ID.", + "required": true, + "type": "string", + "x-example": "<VARIABLE_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Variable key. Max length: 255 chars.", + "default": null, + "x-example": "<KEY>" + }, + "value": { + "type": "string", + "description": "Variable value. Max length: 8192 chars.", + "default": null, + "x-example": "<VALUE>" + } + }, + "required": [ + "key" + ] + } + } + ] + }, + "delete": { + "summary": "Delete variable", + "operationId": "functionsDeleteVariable", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "functions" + ], + "description": "Delete a variable by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteVariable", + "group": "variables", + "weight": 312, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "functions\/delete-variable.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/functions\/delete-variable.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "functions.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "functionId", + "description": "Function unique ID.", + "required": true, + "type": "string", + "x-example": "<FUNCTION_ID>", + "in": "path" + }, + { + "name": "variableId", + "description": "Variable unique ID.", + "required": true, + "type": "string", + "x-example": "<VARIABLE_ID>", + "in": "path" + } + ] + } + }, + "\/graphql": { + "post": { + "summary": "GraphQL endpoint", + "operationId": "graphqlQuery", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "graphql" + ], + "description": "Execute a GraphQL mutation.", + "responses": { + "200": { + "description": "Any", + "schema": { + "$ref": "#\/definitions\/any" + } + } + }, + "x-appwrite": { + "method": "query", + "group": "graphql", + "weight": 330, + "cookies": false, + "type": "graphql", + "deprecated": false, + "demo": "graphql\/query.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "url:{url},ip:{ip}", + "scope": "graphql", + "platforms": [ + "server", + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "query": { + "type": "object", + "description": "The query or queries to execute.", + "default": {}, + "x-example": "{}" + } + }, + "required": [ + "query" + ] + } + } + ] + } + }, + "\/graphql\/mutation": { + "post": { + "summary": "GraphQL endpoint", + "operationId": "graphqlMutation", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "graphql" + ], + "description": "Execute a GraphQL mutation.", + "responses": { + "200": { + "description": "Any", + "schema": { + "$ref": "#\/definitions\/any" + } + } + }, + "x-appwrite": { + "method": "mutation", + "group": "graphql", + "weight": 329, + "cookies": false, + "type": "graphql", + "deprecated": false, + "demo": "graphql\/mutation.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/graphql\/post.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "url:{url},ip:{ip}", + "scope": "graphql", + "platforms": [ + "server", + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "query": { + "type": "object", + "description": "The query or queries to execute.", + "default": {}, + "x-example": "{}" + } + }, + "required": [ + "query" + ] + } + } + ] + } + }, + "\/health": { + "get": { + "summary": "Get HTTP", + "operationId": "healthGet", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Check the Appwrite HTTP server is up and responsive.", + "responses": { + "200": { + "description": "Health Status", + "schema": { + "$ref": "#\/definitions\/healthStatus" + } + } + }, + "x-appwrite": { + "method": "get", + "group": "health", + "weight": 125, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/health\/anti-virus": { + "get": { + "summary": "Get antivirus", + "operationId": "healthGetAntivirus", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Check the Appwrite Antivirus server is up and connection is successful.", + "responses": { + "200": { + "description": "Health Antivirus", + "schema": { + "$ref": "#\/definitions\/healthAntivirus" + } + } + }, + "x-appwrite": { + "method": "getAntivirus", + "group": "health", + "weight": 146, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-antivirus.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage-anti-virus.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/health\/cache": { + "get": { + "summary": "Get cache", + "operationId": "healthGetCache", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Check the Appwrite in-memory cache servers are up and connection is successful.", + "responses": { + "200": { + "description": "Health Status", + "schema": { + "$ref": "#\/definitions\/healthStatus" + } + } + }, + "x-appwrite": { + "method": "getCache", + "group": "health", + "weight": 128, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-cache.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-cache.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/health\/certificate": { + "get": { + "summary": "Get the SSL certificate for a domain", + "operationId": "healthGetCertificate", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Get the SSL certificate for a domain", + "responses": { + "200": { + "description": "Health Certificate", + "schema": { + "$ref": "#\/definitions\/healthCertificate" + } + } + }, + "x-appwrite": { + "method": "getCertificate", + "group": "health", + "weight": 133, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-certificate.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-certificate.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "domain", + "description": "string", + "required": false, + "type": "string", + "in": "query" + } + ] + } + }, + "\/health\/db": { + "get": { + "summary": "Get DB", + "operationId": "healthGetDB", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Check the Appwrite database servers are up and connection is successful.", + "responses": { + "200": { + "description": "Health Status", + "schema": { + "$ref": "#\/definitions\/healthStatus" + } + } + }, + "x-appwrite": { + "method": "getDB", + "group": "health", + "weight": 127, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-d-b.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-db.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/health\/pubsub": { + "get": { + "summary": "Get pubsub", + "operationId": "healthGetPubSub", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Check the Appwrite pub-sub servers are up and connection is successful.", + "responses": { + "200": { + "description": "Health Status", + "schema": { + "$ref": "#\/definitions\/healthStatus" + } + } + }, + "x-appwrite": { + "method": "getPubSub", + "group": "health", + "weight": 129, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-pub-sub.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-pubsub.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/health\/queue\/builds": { + "get": { + "summary": "Get builds queue", + "operationId": "healthGetQueueBuilds", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Get the number of builds that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "schema": { + "$ref": "#\/definitions\/healthQueue" + } + } + }, + "x-appwrite": { + "method": "getQueueBuilds", + "group": "queue", + "weight": 135, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-builds.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-builds.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "type": "integer", + "format": "int32", + "default": 5000, + "in": "query" + } + ] + } + }, + "\/health\/queue\/certificates": { + "get": { + "summary": "Get certificates queue", + "operationId": "healthGetQueueCertificates", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Get the number of certificates that are waiting to be issued against [Letsencrypt](https:\/\/letsencrypt.org\/) in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "schema": { + "$ref": "#\/definitions\/healthQueue" + } + } + }, + "x-appwrite": { + "method": "getQueueCertificates", + "group": "queue", + "weight": 134, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-certificates.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-certificates.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "type": "integer", + "format": "int32", + "default": 5000, + "in": "query" + } + ] + } + }, + "\/health\/queue\/databases": { + "get": { + "summary": "Get databases queue", + "operationId": "healthGetQueueDatabases", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Get the number of database changes that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "schema": { + "$ref": "#\/definitions\/healthQueue" + } + } + }, + "x-appwrite": { + "method": "getQueueDatabases", + "group": "queue", + "weight": 136, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-databases.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-databases.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "name", + "description": "Queue name for which to check the queue size", + "required": false, + "type": "string", + "x-example": "<NAME>", + "default": "database_db_main", + "in": "query" + }, + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "type": "integer", + "format": "int32", + "default": 5000, + "in": "query" + } + ] + } + }, + "\/health\/queue\/deletes": { + "get": { + "summary": "Get deletes queue", + "operationId": "healthGetQueueDeletes", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Get the number of background destructive changes that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "schema": { + "$ref": "#\/definitions\/healthQueue" + } + } + }, + "x-appwrite": { + "method": "getQueueDeletes", + "group": "queue", + "weight": 137, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-deletes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-deletes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "type": "integer", + "format": "int32", + "default": 5000, + "in": "query" + } + ] + } + }, + "\/health\/queue\/failed\/{name}": { + "get": { + "summary": "Get number of failed queue jobs", + "operationId": "healthGetFailedJobs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Returns the amount of failed jobs in a given queue.\n", + "responses": { + "200": { + "description": "Health Queue", + "schema": { + "$ref": "#\/definitions\/healthQueue" + } + } + }, + "x-appwrite": { + "method": "getFailedJobs", + "group": "queue", + "weight": 147, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-failed-jobs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-failed-queue-jobs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "name", + "description": "The name of the queue", + "required": true, + "type": "string", + "x-example": "v1-database", + "enum": [ + "v1-database", + "v1-deletes", + "v1-audits", + "v1-mails", + "v1-functions", + "v1-stats-resources", + "v1-stats-usage", + "v1-webhooks", + "v1-certificates", + "v1-builds", + "v1-messaging", + "v1-migrations" + ], + "x-enum-name": null, + "x-enum-keys": [], + "in": "path" + }, + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "type": "integer", + "format": "int32", + "default": 5000, + "in": "query" + } + ] + } + }, + "\/health\/queue\/functions": { + "get": { + "summary": "Get functions queue", + "operationId": "healthGetQueueFunctions", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Get the number of function executions that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "schema": { + "$ref": "#\/definitions\/healthQueue" + } + } + }, + "x-appwrite": { + "method": "getQueueFunctions", + "group": "queue", + "weight": 141, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-functions.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-functions.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "type": "integer", + "format": "int32", + "default": 5000, + "in": "query" + } + ] + } + }, + "\/health\/queue\/logs": { + "get": { + "summary": "Get logs queue", + "operationId": "healthGetQueueLogs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Get the number of logs that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "schema": { + "$ref": "#\/definitions\/healthQueue" + } + } + }, + "x-appwrite": { + "method": "getQueueLogs", + "group": "queue", + "weight": 132, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "type": "integer", + "format": "int32", + "default": 5000, + "in": "query" + } + ] + } + }, + "\/health\/queue\/mails": { + "get": { + "summary": "Get mails queue", + "operationId": "healthGetQueueMails", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Get the number of mails that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "schema": { + "$ref": "#\/definitions\/healthQueue" + } + } + }, + "x-appwrite": { + "method": "getQueueMails", + "group": "queue", + "weight": 138, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-mails.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-mails.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "type": "integer", + "format": "int32", + "default": 5000, + "in": "query" + } + ] + } + }, + "\/health\/queue\/messaging": { + "get": { + "summary": "Get messaging queue", + "operationId": "healthGetQueueMessaging", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Get the number of messages that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "schema": { + "$ref": "#\/definitions\/healthQueue" + } + } + }, + "x-appwrite": { + "method": "getQueueMessaging", + "group": "queue", + "weight": 139, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-messaging.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-messaging.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "type": "integer", + "format": "int32", + "default": 5000, + "in": "query" + } + ] + } + }, + "\/health\/queue\/migrations": { + "get": { + "summary": "Get migrations queue", + "operationId": "healthGetQueueMigrations", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Get the number of migrations that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "schema": { + "$ref": "#\/definitions\/healthQueue" + } + } + }, + "x-appwrite": { + "method": "getQueueMigrations", + "group": "queue", + "weight": 140, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-migrations.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-migrations.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "type": "integer", + "format": "int32", + "default": 5000, + "in": "query" + } + ] + } + }, + "\/health\/queue\/stats-resources": { + "get": { + "summary": "Get stats resources queue", + "operationId": "healthGetQueueStatsResources", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Get the number of metrics that are waiting to be processed in the Appwrite stats resources queue.", + "responses": { + "200": { + "description": "Health Queue", + "schema": { + "$ref": "#\/definitions\/healthQueue" + } + } + }, + "x-appwrite": { + "method": "getQueueStatsResources", + "group": "queue", + "weight": 142, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-stats-resources.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-resources.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "type": "integer", + "format": "int32", + "default": 5000, + "in": "query" + } + ] + } + }, + "\/health\/queue\/stats-usage": { + "get": { + "summary": "Get stats usage queue", + "operationId": "healthGetQueueUsage", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Get the number of metrics that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "schema": { + "$ref": "#\/definitions\/healthQueue" + } + } + }, + "x-appwrite": { + "method": "getQueueUsage", + "group": "queue", + "weight": 143, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-usage.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-usage.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "type": "integer", + "format": "int32", + "default": 5000, + "in": "query" + } + ] + } + }, + "\/health\/queue\/webhooks": { + "get": { + "summary": "Get webhooks queue", + "operationId": "healthGetQueueWebhooks", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Get the number of webhooks that are waiting to be processed in the Appwrite internal queue server.", + "responses": { + "200": { + "description": "Health Queue", + "schema": { + "$ref": "#\/definitions\/healthQueue" + } + } + }, + "x-appwrite": { + "method": "getQueueWebhooks", + "group": "queue", + "weight": 131, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-queue-webhooks.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-webhooks.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "threshold", + "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", + "required": false, + "type": "integer", + "format": "int32", + "default": 5000, + "in": "query" + } + ] + } + }, + "\/health\/storage": { + "get": { + "summary": "Get storage", + "operationId": "healthGetStorage", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Check the Appwrite storage device is up and connection is successful.", + "responses": { + "200": { + "description": "Health Status", + "schema": { + "$ref": "#\/definitions\/healthStatus" + } + } + }, + "x-appwrite": { + "method": "getStorage", + "group": "storage", + "weight": 145, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-storage.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/health\/storage\/local": { + "get": { + "summary": "Get local storage", + "operationId": "healthGetStorageLocal", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Check the Appwrite local storage device is up and connection is successful.", + "responses": { + "200": { + "description": "Health Status", + "schema": { + "$ref": "#\/definitions\/healthStatus" + } + } + }, + "x-appwrite": { + "method": "getStorageLocal", + "group": "storage", + "weight": 144, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-storage-local.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-storage-local.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/health\/time": { + "get": { + "summary": "Get time", + "operationId": "healthGetTime", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "health" + ], + "description": "Check the Appwrite server time is synced with Google remote NTP server. We use this technology to smoothly handle leap seconds with no disruptive events. The [Network Time Protocol](https:\/\/en.wikipedia.org\/wiki\/Network_Time_Protocol) (NTP) is used by hundreds of millions of computers and devices to synchronize their clocks over the Internet. If your computer sets its own clock, it likely uses NTP.", + "responses": { + "200": { + "description": "Health Time", + "schema": { + "$ref": "#\/definitions\/healthTime" + } + } + }, + "x-appwrite": { + "method": "getTime", + "group": "health", + "weight": 130, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "health\/get-time.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-time.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "health.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ] + } + }, + "\/locale": { + "get": { + "summary": "Get user locale", + "operationId": "localeGet", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "locale" + ], + "description": "Get the current user location based on IP. Returns an object with user country code, country name, continent name, continent code, ip address and suggested currency. You can use the locale header to get the data in a supported language.\n\n([IP Geolocation by DB-IP](https:\/\/db-ip.com))", + "responses": { + "200": { + "description": "Locale", + "schema": { + "$ref": "#\/definitions\/locale" + } + } + }, + "x-appwrite": { + "method": "get", + "group": null, + "weight": 117, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/get-locale.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/locale\/codes": { + "get": { + "summary": "List locale codes", + "operationId": "localeListCodes", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "locale" + ], + "description": "List of all locale codes in [ISO 639-1](https:\/\/en.wikipedia.org\/wiki\/List_of_ISO_639-1_codes).", + "responses": { + "200": { + "description": "Locale codes list", + "schema": { + "$ref": "#\/definitions\/localeCodeList" + } + } + }, + "x-appwrite": { + "method": "listCodes", + "group": null, + "weight": 118, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-locale-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/locale\/continents": { + "get": { + "summary": "List continents", + "operationId": "localeListContinents", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "locale" + ], + "description": "List of all continents. You can use the locale header to get the data in a supported language.", + "responses": { + "200": { + "description": "Continents List", + "schema": { + "$ref": "#\/definitions\/continentList" + } + } + }, + "x-appwrite": { + "method": "listContinents", + "group": null, + "weight": 122, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-continents.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-continents.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/locale\/countries": { + "get": { + "summary": "List countries", + "operationId": "localeListCountries", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "locale" + ], + "description": "List of all countries. You can use the locale header to get the data in a supported language.", + "responses": { + "200": { + "description": "Countries List", + "schema": { + "$ref": "#\/definitions\/countryList" + } + } + }, + "x-appwrite": { + "method": "listCountries", + "group": null, + "weight": 119, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-countries.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/locale\/countries\/eu": { + "get": { + "summary": "List EU countries", + "operationId": "localeListCountriesEU", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "locale" + ], + "description": "List of all countries that are currently members of the EU. You can use the locale header to get the data in a supported language.", + "responses": { + "200": { + "description": "Countries List", + "schema": { + "$ref": "#\/definitions\/countryList" + } + } + }, + "x-appwrite": { + "method": "listCountriesEU", + "group": null, + "weight": 120, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-countries-e-u.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-eu.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/locale\/countries\/phones": { + "get": { + "summary": "List countries phone codes", + "operationId": "localeListCountriesPhones", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "locale" + ], + "description": "List of all countries phone codes. You can use the locale header to get the data in a supported language.", + "responses": { + "200": { + "description": "Phones List", + "schema": { + "$ref": "#\/definitions\/phoneList" + } + } + }, + "x-appwrite": { + "method": "listCountriesPhones", + "group": null, + "weight": 121, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-countries-phones.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-countries-phones.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/locale\/currencies": { + "get": { + "summary": "List currencies", + "operationId": "localeListCurrencies", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "locale" + ], + "description": "List of all currencies, including currency symbol, name, plural, and decimal digits for all major and minor currencies. You can use the locale header to get the data in a supported language.", + "responses": { + "200": { + "description": "Currencies List", + "schema": { + "$ref": "#\/definitions\/currencyList" + } + } + }, + "x-appwrite": { + "method": "listCurrencies", + "group": null, + "weight": 123, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-currencies.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-currencies.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/locale\/languages": { + "get": { + "summary": "List languages", + "operationId": "localeListLanguages", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "locale" + ], + "description": "List of all languages classified by ISO 639-1 including 2-letter code, name in English, and name in the respective language.", + "responses": { + "200": { + "description": "Languages List", + "schema": { + "$ref": "#\/definitions\/languageList" + } + } + }, + "x-appwrite": { + "method": "listLanguages", + "group": null, + "weight": 124, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "locale\/list-languages.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/locale\/list-languages.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "locale.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ] + } + }, + "\/messaging\/messages": { + "get": { + "summary": "List messages", + "operationId": "messagingListMessages", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Get a list of all messages from the current Appwrite project.", + "responses": { + "200": { + "description": "Message list", + "schema": { + "$ref": "#\/definitions\/messageList" + } + } + }, + "x-appwrite": { + "method": "listMessages", + "group": "messages", + "weight": 383, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-messages.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-messages.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: scheduledAt, deliveredAt, deliveredTotal, status, description, providerType", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + } + }, + "\/messaging\/messages\/email": { + "post": { + "summary": "Create email", + "operationId": "messagingCreateEmail", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Create a new email message.", + "responses": { + "201": { + "description": "Message", + "schema": { + "$ref": "#\/definitions\/message" + } + } + }, + "x-appwrite": { + "method": "createEmail", + "group": "messages", + "weight": 380, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-email.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-email.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "messageId": { + "type": "string", + "description": "Message ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<MESSAGE_ID>" + }, + "subject": { + "type": "string", + "description": "Email Subject.", + "default": null, + "x-example": "<SUBJECT>" + }, + "content": { + "type": "string", + "description": "Email Content.", + "default": null, + "x-example": "<CONTENT>" + }, + "topics": { + "type": "array", + "description": "List of Topic IDs.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "users": { + "type": "array", + "description": "List of User IDs.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "targets": { + "type": "array", + "description": "List of Targets IDs.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "cc": { + "type": "array", + "description": "Array of target IDs to be added as CC.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "bcc": { + "type": "array", + "description": "Array of target IDs to be added as BCC.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "attachments": { + "type": "array", + "description": "Array of compound ID strings of bucket IDs and file IDs to be attached to the email. They should be formatted as <BUCKET_ID>:<FILE_ID>.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "draft": { + "type": "boolean", + "description": "Is message a draft", + "default": false, + "x-example": false + }, + "html": { + "type": "boolean", + "description": "Is content of type HTML", + "default": false, + "x-example": false + }, + "scheduledAt": { + "type": "string", + "description": "Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.", + "default": null, + "x-example": null + } + }, + "required": [ + "messageId", + "subject", + "content" + ] + } + } + ] + } + }, + "\/messaging\/messages\/email\/{messageId}": { + "patch": { + "summary": "Update email", + "operationId": "messagingUpdateEmail", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Update an email message by its unique ID. This endpoint only works on messages that are in draft status. Messages that are already processing, sent, or failed cannot be updated.\n", + "responses": { + "200": { + "description": "Message", + "schema": { + "$ref": "#\/definitions\/message" + } + } + }, + "x-appwrite": { + "method": "updateEmail", + "group": "messages", + "weight": 387, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-email.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-email.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "messageId", + "description": "Message ID.", + "required": true, + "type": "string", + "x-example": "<MESSAGE_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "topics": { + "type": "array", + "description": "List of Topic IDs.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "users": { + "type": "array", + "description": "List of User IDs.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "targets": { + "type": "array", + "description": "List of Targets IDs.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "subject": { + "type": "string", + "description": "Email Subject.", + "default": null, + "x-example": "<SUBJECT>" + }, + "content": { + "type": "string", + "description": "Email Content.", + "default": null, + "x-example": "<CONTENT>" + }, + "draft": { + "type": "boolean", + "description": "Is message a draft", + "default": null, + "x-example": false + }, + "html": { + "type": "boolean", + "description": "Is content of type HTML", + "default": null, + "x-example": false + }, + "cc": { + "type": "array", + "description": "Array of target IDs to be added as CC.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "bcc": { + "type": "array", + "description": "Array of target IDs to be added as BCC.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "scheduledAt": { + "type": "string", + "description": "Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.", + "default": null, + "x-example": null + }, + "attachments": { + "type": "array", + "description": "Array of compound ID strings of bucket IDs and file IDs to be attached to the email. They should be formatted as <BUCKET_ID>:<FILE_ID>.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + } + } + } + } + ] + } + }, + "\/messaging\/messages\/push": { + "post": { + "summary": "Create push notification", + "operationId": "messagingCreatePush", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Create a new push notification.", + "responses": { + "201": { + "description": "Message", + "schema": { + "$ref": "#\/definitions\/message" + } + } + }, + "x-appwrite": { + "method": "createPush", + "group": "messages", + "weight": 382, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-push.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-push.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "messageId": { + "type": "string", + "description": "Message ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<MESSAGE_ID>" + }, + "title": { + "type": "string", + "description": "Title for push notification.", + "default": "", + "x-example": "<TITLE>" + }, + "body": { + "type": "string", + "description": "Body for push notification.", + "default": "", + "x-example": "<BODY>" + }, + "topics": { + "type": "array", + "description": "List of Topic IDs.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "users": { + "type": "array", + "description": "List of User IDs.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "targets": { + "type": "array", + "description": "List of Targets IDs.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "data": { + "type": "object", + "description": "Additional key-value pair data for push notification.", + "default": {}, + "x-example": "{}" + }, + "action": { + "type": "string", + "description": "Action for push notification.", + "default": "", + "x-example": "<ACTION>" + }, + "image": { + "type": "string", + "description": "Image for push notification. Must be a compound bucket ID to file ID of a jpeg, png, or bmp image in Appwrite Storage. It should be formatted as <BUCKET_ID>:<FILE_ID>.", + "default": "", + "x-example": "[ID1:ID2]" + }, + "icon": { + "type": "string", + "description": "Icon for push notification. Available only for Android and Web Platform.", + "default": "", + "x-example": "<ICON>" + }, + "sound": { + "type": "string", + "description": "Sound for push notification. Available only for Android and iOS Platform.", + "default": "", + "x-example": "<SOUND>" + }, + "color": { + "type": "string", + "description": "Color for push notification. Available only for Android Platform.", + "default": "", + "x-example": "<COLOR>" + }, + "tag": { + "type": "string", + "description": "Tag for push notification. Available only for Android Platform.", + "default": "", + "x-example": "<TAG>" + }, + "badge": { + "type": "integer", + "description": "Badge for push notification. Available only for iOS Platform.", + "default": -1, + "x-example": null + }, + "draft": { + "type": "boolean", + "description": "Is message a draft", + "default": false, + "x-example": false + }, + "scheduledAt": { + "type": "string", + "description": "Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.", + "default": null, + "x-example": null + }, + "contentAvailable": { + "type": "boolean", + "description": "If set to true, the notification will be delivered in the background. Available only for iOS Platform.", + "default": false, + "x-example": false + }, + "critical": { + "type": "boolean", + "description": "If set to true, the notification will be marked as critical. This requires the app to have the critical notification entitlement. Available only for iOS Platform.", + "default": false, + "x-example": false + }, + "priority": { + "type": "string", + "description": "Set the notification priority. \"normal\" will consider device state and may not deliver notifications immediately. \"high\" will always attempt to immediately deliver the notification.", + "default": "high", + "x-example": "normal", + "enum": [ + "normal", + "high" + ], + "x-enum-name": "MessagePriority", + "x-enum-keys": [] + } + }, + "required": [ + "messageId" + ] + } + } + ] + } + }, + "\/messaging\/messages\/push\/{messageId}": { + "patch": { + "summary": "Update push notification", + "operationId": "messagingUpdatePush", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Update a push notification by its unique ID. This endpoint only works on messages that are in draft status. Messages that are already processing, sent, or failed cannot be updated.\n", + "responses": { + "200": { + "description": "Message", + "schema": { + "$ref": "#\/definitions\/message" + } + } + }, + "x-appwrite": { + "method": "updatePush", + "group": "messages", + "weight": 389, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-push.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-push.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "messageId", + "description": "Message ID.", + "required": true, + "type": "string", + "x-example": "<MESSAGE_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "topics": { + "type": "array", + "description": "List of Topic IDs.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "users": { + "type": "array", + "description": "List of User IDs.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "targets": { + "type": "array", + "description": "List of Targets IDs.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "title": { + "type": "string", + "description": "Title for push notification.", + "default": null, + "x-example": "<TITLE>" + }, + "body": { + "type": "string", + "description": "Body for push notification.", + "default": null, + "x-example": "<BODY>" + }, + "data": { + "type": "object", + "description": "Additional Data for push notification.", + "default": {}, + "x-example": "{}" + }, + "action": { + "type": "string", + "description": "Action for push notification.", + "default": null, + "x-example": "<ACTION>" + }, + "image": { + "type": "string", + "description": "Image for push notification. Must be a compound bucket ID to file ID of a jpeg, png, or bmp image in Appwrite Storage. It should be formatted as <BUCKET_ID>:<FILE_ID>.", + "default": null, + "x-example": "[ID1:ID2]" + }, + "icon": { + "type": "string", + "description": "Icon for push notification. Available only for Android and Web platforms.", + "default": null, + "x-example": "<ICON>" + }, + "sound": { + "type": "string", + "description": "Sound for push notification. Available only for Android and iOS platforms.", + "default": null, + "x-example": "<SOUND>" + }, + "color": { + "type": "string", + "description": "Color for push notification. Available only for Android platforms.", + "default": null, + "x-example": "<COLOR>" + }, + "tag": { + "type": "string", + "description": "Tag for push notification. Available only for Android platforms.", + "default": null, + "x-example": "<TAG>" + }, + "badge": { + "type": "integer", + "description": "Badge for push notification. Available only for iOS platforms.", + "default": null, + "x-example": null + }, + "draft": { + "type": "boolean", + "description": "Is message a draft", + "default": null, + "x-example": false + }, + "scheduledAt": { + "type": "string", + "description": "Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.", + "default": null, + "x-example": null + }, + "contentAvailable": { + "type": "boolean", + "description": "If set to true, the notification will be delivered in the background. Available only for iOS Platform.", + "default": null, + "x-example": false + }, + "critical": { + "type": "boolean", + "description": "If set to true, the notification will be marked as critical. This requires the app to have the critical notification entitlement. Available only for iOS Platform.", + "default": null, + "x-example": false + }, + "priority": { + "type": "string", + "description": "Set the notification priority. \"normal\" will consider device battery state and may send notifications later. \"high\" will always attempt to immediately deliver the notification.", + "default": null, + "x-example": "normal", + "enum": [ + "normal", + "high" + ], + "x-enum-name": "MessagePriority", + "x-enum-keys": [] + } + } + } + } + ] + } + }, + "\/messaging\/messages\/sms": { + "post": { + "summary": "Create SMS", + "operationId": "messagingCreateSms", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Create a new SMS message.", + "responses": { + "201": { + "description": "Message", + "schema": { + "$ref": "#\/definitions\/message" + } + } + }, + "x-appwrite": { + "method": "createSms", + "group": "messages", + "weight": 381, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-sms.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-sms.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "messageId": { + "type": "string", + "description": "Message ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<MESSAGE_ID>" + }, + "content": { + "type": "string", + "description": "SMS Content.", + "default": null, + "x-example": "<CONTENT>" + }, + "topics": { + "type": "array", + "description": "List of Topic IDs.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "users": { + "type": "array", + "description": "List of User IDs.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "targets": { + "type": "array", + "description": "List of Targets IDs.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "draft": { + "type": "boolean", + "description": "Is message a draft", + "default": false, + "x-example": false + }, + "scheduledAt": { + "type": "string", + "description": "Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.", + "default": null, + "x-example": null + } + }, + "required": [ + "messageId", + "content" + ] + } + } + ] + } + }, + "\/messaging\/messages\/sms\/{messageId}": { + "patch": { + "summary": "Update SMS", + "operationId": "messagingUpdateSms", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Update an SMS message by its unique ID. This endpoint only works on messages that are in draft status. Messages that are already processing, sent, or failed cannot be updated.\n", + "responses": { + "200": { + "description": "Message", + "schema": { + "$ref": "#\/definitions\/message" + } + } + }, + "x-appwrite": { + "method": "updateSms", + "group": "messages", + "weight": 388, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-sms.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-sms.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "messageId", + "description": "Message ID.", + "required": true, + "type": "string", + "x-example": "<MESSAGE_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "topics": { + "type": "array", + "description": "List of Topic IDs.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "users": { + "type": "array", + "description": "List of User IDs.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "targets": { + "type": "array", + "description": "List of Targets IDs.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "content": { + "type": "string", + "description": "Email Content.", + "default": null, + "x-example": "<CONTENT>" + }, + "draft": { + "type": "boolean", + "description": "Is message a draft", + "default": null, + "x-example": false + }, + "scheduledAt": { + "type": "string", + "description": "Scheduled delivery time for message in [ISO 8601](https:\/\/www.iso.org\/iso-8601-date-and-time-format.html) format. DateTime value must be in future.", + "default": null, + "x-example": null + } + } + } + } + ] + } + }, + "\/messaging\/messages\/{messageId}": { + "get": { + "summary": "Get message", + "operationId": "messagingGetMessage", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Get a message by its unique ID.\n", + "responses": { + "200": { + "description": "Message", + "schema": { + "$ref": "#\/definitions\/message" + } + } + }, + "x-appwrite": { + "method": "getMessage", + "group": "messages", + "weight": 386, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/get-message.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-message.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "messageId", + "description": "Message ID.", + "required": true, + "type": "string", + "x-example": "<MESSAGE_ID>", + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete message", + "operationId": "messagingDelete", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "messaging" + ], + "description": "Delete a message. If the message is not a draft or scheduled, but has been sent, this will not recall the message.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "delete", + "group": "messages", + "weight": 390, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/delete.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-message.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "messageId", + "description": "Message ID.", + "required": true, + "type": "string", + "x-example": "<MESSAGE_ID>", + "in": "path" + } + ] + } + }, + "\/messaging\/messages\/{messageId}\/logs": { + "get": { + "summary": "List message logs", + "operationId": "messagingListMessageLogs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Get the message activity logs listed by its unique ID.", + "responses": { + "200": { + "description": "Logs List", + "schema": { + "$ref": "#\/definitions\/logList" + } + } + }, + "x-appwrite": { + "method": "listMessageLogs", + "group": "logs", + "weight": 384, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-message-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-message-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "messageId", + "description": "Message ID.", + "required": true, + "type": "string", + "x-example": "<MESSAGE_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + } + }, + "\/messaging\/messages\/{messageId}\/targets": { + "get": { + "summary": "List message targets", + "operationId": "messagingListTargets", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Get a list of the targets associated with a message.", + "responses": { + "200": { + "description": "Target list", + "schema": { + "$ref": "#\/definitions\/targetList" + } + } + }, + "x-appwrite": { + "method": "listTargets", + "group": "messages", + "weight": 385, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-targets.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-message-targets.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "messages.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "messageId", + "description": "Message ID.", + "required": true, + "type": "string", + "x-example": "<MESSAGE_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, providerId, identifier, providerType", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + } + }, + "\/messaging\/providers": { + "get": { + "summary": "List providers", + "operationId": "messagingListProviders", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Get a list of all providers from the current Appwrite project.", + "responses": { + "200": { + "description": "Provider list", + "schema": { + "$ref": "#\/definitions\/providerList" + } + } + }, + "x-appwrite": { + "method": "listProviders", + "group": "providers", + "weight": 355, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-providers.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-providers.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, provider, type, enabled", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + } + }, + "\/messaging\/providers\/apns": { + "post": { + "summary": "Create APNS provider", + "operationId": "messagingCreateApnsProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Create a new Apple Push Notification service provider.", + "responses": { + "201": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "createApnsProvider", + "group": "providers", + "weight": 354, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-apns-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-apns-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "default": null, + "x-example": "<NAME>" + }, + "authKey": { + "type": "string", + "description": "APNS authentication key.", + "default": "", + "x-example": "<AUTH_KEY>" + }, + "authKeyId": { + "type": "string", + "description": "APNS authentication key ID.", + "default": "", + "x-example": "<AUTH_KEY_ID>" + }, + "teamId": { + "type": "string", + "description": "APNS team ID.", + "default": "", + "x-example": "<TEAM_ID>" + }, + "bundleId": { + "type": "string", + "description": "APNS bundle ID.", + "default": "", + "x-example": "<BUNDLE_ID>" + }, + "sandbox": { + "type": "boolean", + "description": "Use APNS sandbox environment.", + "default": false, + "x-example": false + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + ] + } + }, + "\/messaging\/providers\/apns\/{providerId}": { + "patch": { + "summary": "Update APNS provider", + "operationId": "messagingUpdateApnsProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Update a Apple Push Notification service provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "updateApnsProvider", + "group": "providers", + "weight": 367, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-apns-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-apns-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "type": "string", + "x-example": "<PROVIDER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "default": "", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + }, + "authKey": { + "type": "string", + "description": "APNS authentication key.", + "default": "", + "x-example": "<AUTH_KEY>" + }, + "authKeyId": { + "type": "string", + "description": "APNS authentication key ID.", + "default": "", + "x-example": "<AUTH_KEY_ID>" + }, + "teamId": { + "type": "string", + "description": "APNS team ID.", + "default": "", + "x-example": "<TEAM_ID>" + }, + "bundleId": { + "type": "string", + "description": "APNS bundle ID.", + "default": "", + "x-example": "<BUNDLE_ID>" + }, + "sandbox": { + "type": "boolean", + "description": "Use APNS sandbox environment.", + "default": null, + "x-example": false + } + } + } + } + ] + } + }, + "\/messaging\/providers\/fcm": { + "post": { + "summary": "Create FCM provider", + "operationId": "messagingCreateFcmProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Create a new Firebase Cloud Messaging provider.", + "responses": { + "201": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "createFcmProvider", + "group": "providers", + "weight": 353, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-fcm-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-fcm-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "default": null, + "x-example": "<NAME>" + }, + "serviceAccountJSON": { + "type": "object", + "description": "FCM service account JSON.", + "default": {}, + "x-example": "{}" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + ] + } + }, + "\/messaging\/providers\/fcm\/{providerId}": { + "patch": { + "summary": "Update FCM provider", + "operationId": "messagingUpdateFcmProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Update a Firebase Cloud Messaging provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "updateFcmProvider", + "group": "providers", + "weight": 366, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-fcm-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-fcm-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "type": "string", + "x-example": "<PROVIDER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "default": "", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + }, + "serviceAccountJSON": { + "type": "object", + "description": "FCM service account JSON.", + "default": {}, + "x-example": "{}" + } + } + } + } + ] + } + }, + "\/messaging\/providers\/mailgun": { + "post": { + "summary": "Create Mailgun provider", + "operationId": "messagingCreateMailgunProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Create a new Mailgun provider.", + "responses": { + "201": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "createMailgunProvider", + "group": "providers", + "weight": 345, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-mailgun-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-mailgun-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "default": null, + "x-example": "<NAME>" + }, + "apiKey": { + "type": "string", + "description": "Mailgun API Key.", + "default": "", + "x-example": "<API_KEY>" + }, + "domain": { + "type": "string", + "description": "Mailgun Domain.", + "default": "", + "x-example": "<DOMAIN>" + }, + "isEuRegion": { + "type": "boolean", + "description": "Set as EU region.", + "default": null, + "x-example": false + }, + "fromName": { + "type": "string", + "description": "Sender Name.", + "default": "", + "x-example": "<FROM_NAME>" + }, + "fromEmail": { + "type": "string", + "description": "Sender email address.", + "default": "", + "x-example": "email@example.com" + }, + "replyToName": { + "type": "string", + "description": "Name set in the reply to field for the mail. Default value is sender name. Reply to name must have reply to email as well.", + "default": "", + "x-example": "<REPLY_TO_NAME>" + }, + "replyToEmail": { + "type": "string", + "description": "Email set in the reply to field for the mail. Default value is sender email. Reply to email must have reply to name as well.", + "default": "", + "x-example": "email@example.com" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + ] + } + }, + "\/messaging\/providers\/mailgun\/{providerId}": { + "patch": { + "summary": "Update Mailgun provider", + "operationId": "messagingUpdateMailgunProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Update a Mailgun provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "updateMailgunProvider", + "group": "providers", + "weight": 358, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-mailgun-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-mailgun-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "type": "string", + "x-example": "<PROVIDER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "default": "", + "x-example": "<NAME>" + }, + "apiKey": { + "type": "string", + "description": "Mailgun API Key.", + "default": "", + "x-example": "<API_KEY>" + }, + "domain": { + "type": "string", + "description": "Mailgun Domain.", + "default": "", + "x-example": "<DOMAIN>" + }, + "isEuRegion": { + "type": "boolean", + "description": "Set as EU region.", + "default": null, + "x-example": false + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + }, + "fromName": { + "type": "string", + "description": "Sender Name.", + "default": "", + "x-example": "<FROM_NAME>" + }, + "fromEmail": { + "type": "string", + "description": "Sender email address.", + "default": "", + "x-example": "email@example.com" + }, + "replyToName": { + "type": "string", + "description": "Name set in the reply to field for the mail. Default value is sender name.", + "default": "", + "x-example": "<REPLY_TO_NAME>" + }, + "replyToEmail": { + "type": "string", + "description": "Email set in the reply to field for the mail. Default value is sender email.", + "default": "", + "x-example": "<REPLY_TO_EMAIL>" + } + } + } + } + ] + } + }, + "\/messaging\/providers\/msg91": { + "post": { + "summary": "Create Msg91 provider", + "operationId": "messagingCreateMsg91Provider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Create a new MSG91 provider.", + "responses": { + "201": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "createMsg91Provider", + "group": "providers", + "weight": 348, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-msg91provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-msg91-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "default": null, + "x-example": "<NAME>" + }, + "templateId": { + "type": "string", + "description": "Msg91 template ID", + "default": "", + "x-example": "<TEMPLATE_ID>" + }, + "senderId": { + "type": "string", + "description": "Msg91 sender ID.", + "default": "", + "x-example": "<SENDER_ID>" + }, + "authKey": { + "type": "string", + "description": "Msg91 auth key.", + "default": "", + "x-example": "<AUTH_KEY>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + ] + } + }, + "\/messaging\/providers\/msg91\/{providerId}": { + "patch": { + "summary": "Update Msg91 provider", + "operationId": "messagingUpdateMsg91Provider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Update a MSG91 provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "updateMsg91Provider", + "group": "providers", + "weight": 361, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-msg91provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-msg91-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "type": "string", + "x-example": "<PROVIDER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "default": "", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + }, + "templateId": { + "type": "string", + "description": "Msg91 template ID.", + "default": "", + "x-example": "<TEMPLATE_ID>" + }, + "senderId": { + "type": "string", + "description": "Msg91 sender ID.", + "default": "", + "x-example": "<SENDER_ID>" + }, + "authKey": { + "type": "string", + "description": "Msg91 auth key.", + "default": "", + "x-example": "<AUTH_KEY>" + } + } + } + } + ] + } + }, + "\/messaging\/providers\/sendgrid": { + "post": { + "summary": "Create Sendgrid provider", + "operationId": "messagingCreateSendgridProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Create a new Sendgrid provider.", + "responses": { + "201": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "createSendgridProvider", + "group": "providers", + "weight": 346, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-sendgrid-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-sendgrid-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "default": null, + "x-example": "<NAME>" + }, + "apiKey": { + "type": "string", + "description": "Sendgrid API key.", + "default": "", + "x-example": "<API_KEY>" + }, + "fromName": { + "type": "string", + "description": "Sender Name.", + "default": "", + "x-example": "<FROM_NAME>" + }, + "fromEmail": { + "type": "string", + "description": "Sender email address.", + "default": "", + "x-example": "email@example.com" + }, + "replyToName": { + "type": "string", + "description": "Name set in the reply to field for the mail. Default value is sender name.", + "default": "", + "x-example": "<REPLY_TO_NAME>" + }, + "replyToEmail": { + "type": "string", + "description": "Email set in the reply to field for the mail. Default value is sender email.", + "default": "", + "x-example": "email@example.com" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + ] + } + }, + "\/messaging\/providers\/sendgrid\/{providerId}": { + "patch": { + "summary": "Update Sendgrid provider", + "operationId": "messagingUpdateSendgridProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Update a Sendgrid provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "updateSendgridProvider", + "group": "providers", + "weight": 359, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-sendgrid-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-sendgrid-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "type": "string", + "x-example": "<PROVIDER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "default": "", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + }, + "apiKey": { + "type": "string", + "description": "Sendgrid API key.", + "default": "", + "x-example": "<API_KEY>" + }, + "fromName": { + "type": "string", + "description": "Sender Name.", + "default": "", + "x-example": "<FROM_NAME>" + }, + "fromEmail": { + "type": "string", + "description": "Sender email address.", + "default": "", + "x-example": "email@example.com" + }, + "replyToName": { + "type": "string", + "description": "Name set in the Reply To field for the mail. Default value is Sender Name.", + "default": "", + "x-example": "<REPLY_TO_NAME>" + }, + "replyToEmail": { + "type": "string", + "description": "Email set in the Reply To field for the mail. Default value is Sender Email.", + "default": "", + "x-example": "<REPLY_TO_EMAIL>" + } + } + } + } + ] + } + }, + "\/messaging\/providers\/smtp": { + "post": { + "summary": "Create SMTP provider", + "operationId": "messagingCreateSmtpProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Create a new SMTP provider.", + "responses": { + "201": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "createSmtpProvider", + "group": "providers", + "weight": 347, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-smtp-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-smtp-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "default": null, + "x-example": "<NAME>" + }, + "host": { + "type": "string", + "description": "SMTP hosts. Either a single hostname or multiple semicolon-delimited hostnames. You can also specify a different port for each host such as `smtp1.example.com:25;smtp2.example.com`. You can also specify encryption type, for example: `tls:\/\/smtp1.example.com:587;ssl:\/\/smtp2.example.com:465\"`. Hosts will be tried in order.", + "default": null, + "x-example": "<HOST>" + }, + "port": { + "type": "integer", + "description": "The default SMTP server port.", + "default": 587, + "x-example": 1 + }, + "username": { + "type": "string", + "description": "Authentication username.", + "default": "", + "x-example": "<USERNAME>" + }, + "password": { + "type": "string", + "description": "Authentication password.", + "default": "", + "x-example": "<PASSWORD>" + }, + "encryption": { + "type": "string", + "description": "Encryption type. Can be omitted, 'ssl', or 'tls'", + "default": "", + "x-example": "none", + "enum": [ + "none", + "ssl", + "tls" + ], + "x-enum-name": "SmtpEncryption", + "x-enum-keys": [] + }, + "autoTLS": { + "type": "boolean", + "description": "Enable SMTP AutoTLS feature.", + "default": true, + "x-example": false + }, + "mailer": { + "type": "string", + "description": "The value to use for the X-Mailer header.", + "default": "", + "x-example": "<MAILER>" + }, + "fromName": { + "type": "string", + "description": "Sender Name.", + "default": "", + "x-example": "<FROM_NAME>" + }, + "fromEmail": { + "type": "string", + "description": "Sender email address.", + "default": "", + "x-example": "email@example.com" + }, + "replyToName": { + "type": "string", + "description": "Name set in the reply to field for the mail. Default value is sender name.", + "default": "", + "x-example": "<REPLY_TO_NAME>" + }, + "replyToEmail": { + "type": "string", + "description": "Email set in the reply to field for the mail. Default value is sender email.", + "default": "", + "x-example": "email@example.com" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + } + }, + "required": [ + "providerId", + "name", + "host" + ] + } + } + ] + } + }, + "\/messaging\/providers\/smtp\/{providerId}": { + "patch": { + "summary": "Update SMTP provider", + "operationId": "messagingUpdateSmtpProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Update a SMTP provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "updateSmtpProvider", + "group": "providers", + "weight": 360, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-smtp-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-smtp-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "type": "string", + "x-example": "<PROVIDER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "default": "", + "x-example": "<NAME>" + }, + "host": { + "type": "string", + "description": "SMTP hosts. Either a single hostname or multiple semicolon-delimited hostnames. You can also specify a different port for each host such as `smtp1.example.com:25;smtp2.example.com`. You can also specify encryption type, for example: `tls:\/\/smtp1.example.com:587;ssl:\/\/smtp2.example.com:465\"`. Hosts will be tried in order.", + "default": "", + "x-example": "<HOST>" + }, + "port": { + "type": "integer", + "description": "SMTP port.", + "default": null, + "x-example": 1 + }, + "username": { + "type": "string", + "description": "Authentication username.", + "default": "", + "x-example": "<USERNAME>" + }, + "password": { + "type": "string", + "description": "Authentication password.", + "default": "", + "x-example": "<PASSWORD>" + }, + "encryption": { + "type": "string", + "description": "Encryption type. Can be 'ssl' or 'tls'", + "default": "", + "x-example": "none", + "enum": [ + "none", + "ssl", + "tls" + ], + "x-enum-name": "SmtpEncryption", + "x-enum-keys": [] + }, + "autoTLS": { + "type": "boolean", + "description": "Enable SMTP AutoTLS feature.", + "default": null, + "x-example": false + }, + "mailer": { + "type": "string", + "description": "The value to use for the X-Mailer header.", + "default": "", + "x-example": "<MAILER>" + }, + "fromName": { + "type": "string", + "description": "Sender Name.", + "default": "", + "x-example": "<FROM_NAME>" + }, + "fromEmail": { + "type": "string", + "description": "Sender email address.", + "default": "", + "x-example": "email@example.com" + }, + "replyToName": { + "type": "string", + "description": "Name set in the Reply To field for the mail. Default value is Sender Name.", + "default": "", + "x-example": "<REPLY_TO_NAME>" + }, + "replyToEmail": { + "type": "string", + "description": "Email set in the Reply To field for the mail. Default value is Sender Email.", + "default": "", + "x-example": "<REPLY_TO_EMAIL>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + } + } + } + } + ] + } + }, + "\/messaging\/providers\/telesign": { + "post": { + "summary": "Create Telesign provider", + "operationId": "messagingCreateTelesignProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Create a new Telesign provider.", + "responses": { + "201": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "createTelesignProvider", + "group": "providers", + "weight": 349, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-telesign-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-telesign-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "default": null, + "x-example": "<NAME>" + }, + "from": { + "type": "string", + "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "default": "", + "x-example": "+12065550100" + }, + "customerId": { + "type": "string", + "description": "Telesign customer ID.", + "default": "", + "x-example": "<CUSTOMER_ID>" + }, + "apiKey": { + "type": "string", + "description": "Telesign API key.", + "default": "", + "x-example": "<API_KEY>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + ] + } + }, + "\/messaging\/providers\/telesign\/{providerId}": { + "patch": { + "summary": "Update Telesign provider", + "operationId": "messagingUpdateTelesignProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Update a Telesign provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "updateTelesignProvider", + "group": "providers", + "weight": 362, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-telesign-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-telesign-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "type": "string", + "x-example": "<PROVIDER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "default": "", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + }, + "customerId": { + "type": "string", + "description": "Telesign customer ID.", + "default": "", + "x-example": "<CUSTOMER_ID>" + }, + "apiKey": { + "type": "string", + "description": "Telesign API key.", + "default": "", + "x-example": "<API_KEY>" + }, + "from": { + "type": "string", + "description": "Sender number.", + "default": "", + "x-example": "<FROM>" + } + } + } + } + ] + } + }, + "\/messaging\/providers\/textmagic": { + "post": { + "summary": "Create Textmagic provider", + "operationId": "messagingCreateTextmagicProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Create a new Textmagic provider.", + "responses": { + "201": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "createTextmagicProvider", + "group": "providers", + "weight": 350, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-textmagic-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-textmagic-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "default": null, + "x-example": "<NAME>" + }, + "from": { + "type": "string", + "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "default": "", + "x-example": "+12065550100" + }, + "username": { + "type": "string", + "description": "Textmagic username.", + "default": "", + "x-example": "<USERNAME>" + }, + "apiKey": { + "type": "string", + "description": "Textmagic apiKey.", + "default": "", + "x-example": "<API_KEY>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + ] + } + }, + "\/messaging\/providers\/textmagic\/{providerId}": { + "patch": { + "summary": "Update Textmagic provider", + "operationId": "messagingUpdateTextmagicProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Update a Textmagic provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "updateTextmagicProvider", + "group": "providers", + "weight": 363, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-textmagic-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-textmagic-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "type": "string", + "x-example": "<PROVIDER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "default": "", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + }, + "username": { + "type": "string", + "description": "Textmagic username.", + "default": "", + "x-example": "<USERNAME>" + }, + "apiKey": { + "type": "string", + "description": "Textmagic apiKey.", + "default": "", + "x-example": "<API_KEY>" + }, + "from": { + "type": "string", + "description": "Sender number.", + "default": "", + "x-example": "<FROM>" + } + } + } + } + ] + } + }, + "\/messaging\/providers\/twilio": { + "post": { + "summary": "Create Twilio provider", + "operationId": "messagingCreateTwilioProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Create a new Twilio provider.", + "responses": { + "201": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "createTwilioProvider", + "group": "providers", + "weight": 351, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-twilio-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-twilio-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "default": null, + "x-example": "<NAME>" + }, + "from": { + "type": "string", + "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "default": "", + "x-example": "+12065550100" + }, + "accountSid": { + "type": "string", + "description": "Twilio account secret ID.", + "default": "", + "x-example": "<ACCOUNT_SID>" + }, + "authToken": { + "type": "string", + "description": "Twilio authentication token.", + "default": "", + "x-example": "<AUTH_TOKEN>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + ] + } + }, + "\/messaging\/providers\/twilio\/{providerId}": { + "patch": { + "summary": "Update Twilio provider", + "operationId": "messagingUpdateTwilioProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Update a Twilio provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "updateTwilioProvider", + "group": "providers", + "weight": 364, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-twilio-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-twilio-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "type": "string", + "x-example": "<PROVIDER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "default": "", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + }, + "accountSid": { + "type": "string", + "description": "Twilio account secret ID.", + "default": "", + "x-example": "<ACCOUNT_SID>" + }, + "authToken": { + "type": "string", + "description": "Twilio authentication token.", + "default": "", + "x-example": "<AUTH_TOKEN>" + }, + "from": { + "type": "string", + "description": "Sender number.", + "default": "", + "x-example": "<FROM>" + } + } + } + } + ] + } + }, + "\/messaging\/providers\/vonage": { + "post": { + "summary": "Create Vonage provider", + "operationId": "messagingCreateVonageProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Create a new Vonage provider.", + "responses": { + "201": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "createVonageProvider", + "group": "providers", + "weight": 352, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-vonage-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-vonage-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "description": "Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Provider name.", + "default": null, + "x-example": "<NAME>" + }, + "from": { + "type": "string", + "description": "Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "default": "", + "x-example": "+12065550100" + }, + "apiKey": { + "type": "string", + "description": "Vonage API key.", + "default": "", + "x-example": "<API_KEY>" + }, + "apiSecret": { + "type": "string", + "description": "Vonage API secret.", + "default": "", + "x-example": "<API_SECRET>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + } + }, + "required": [ + "providerId", + "name" + ] + } + } + ] + } + }, + "\/messaging\/providers\/vonage\/{providerId}": { + "patch": { + "summary": "Update Vonage provider", + "operationId": "messagingUpdateVonageProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Update a Vonage provider by its unique ID.", + "responses": { + "200": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "updateVonageProvider", + "group": "providers", + "weight": 365, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-vonage-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-vonage-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "type": "string", + "x-example": "<PROVIDER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Provider name.", + "default": "", + "x-example": "<NAME>" + }, + "enabled": { + "type": "boolean", + "description": "Set as enabled.", + "default": null, + "x-example": false + }, + "apiKey": { + "type": "string", + "description": "Vonage API key.", + "default": "", + "x-example": "<API_KEY>" + }, + "apiSecret": { + "type": "string", + "description": "Vonage API secret.", + "default": "", + "x-example": "<API_SECRET>" + }, + "from": { + "type": "string", + "description": "Sender number.", + "default": "", + "x-example": "<FROM>" + } + } + } + } + ] + } + }, + "\/messaging\/providers\/{providerId}": { + "get": { + "summary": "Get provider", + "operationId": "messagingGetProvider", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Get a provider by its unique ID.\n", + "responses": { + "200": { + "description": "Provider", + "schema": { + "$ref": "#\/definitions\/provider" + } + } + }, + "x-appwrite": { + "method": "getProvider", + "group": "providers", + "weight": 357, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/get-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "type": "string", + "x-example": "<PROVIDER_ID>", + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete provider", + "operationId": "messagingDeleteProvider", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "messaging" + ], + "description": "Delete a provider by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteProvider", + "group": "providers", + "weight": 368, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/delete-provider.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-provider.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "type": "string", + "x-example": "<PROVIDER_ID>", + "in": "path" + } + ] + } + }, + "\/messaging\/providers\/{providerId}\/logs": { + "get": { + "summary": "List provider logs", + "operationId": "messagingListProviderLogs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Get the provider activity logs listed by its unique ID.", + "responses": { + "200": { + "description": "Logs List", + "schema": { + "$ref": "#\/definitions\/logList" + } + } + }, + "x-appwrite": { + "method": "listProviderLogs", + "group": "providers", + "weight": 356, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-provider-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-provider-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "providers.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "providerId", + "description": "Provider ID.", + "required": true, + "type": "string", + "x-example": "<PROVIDER_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + } + }, + "\/messaging\/subscribers\/{subscriberId}\/logs": { + "get": { + "summary": "List subscriber logs", + "operationId": "messagingListSubscriberLogs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Get the subscriber activity logs listed by its unique ID.", + "responses": { + "200": { + "description": "Logs List", + "schema": { + "$ref": "#\/definitions\/logList" + } + } + }, + "x-appwrite": { + "method": "listSubscriberLogs", + "group": "subscribers", + "weight": 377, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-subscriber-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-subscriber-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "subscribers.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "subscriberId", + "description": "Subscriber ID.", + "required": true, + "type": "string", + "x-example": "<SUBSCRIBER_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + } + }, + "\/messaging\/topics": { + "get": { + "summary": "List topics", + "operationId": "messagingListTopics", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Get a list of all topics from the current Appwrite project.", + "responses": { + "200": { + "description": "Topic list", + "schema": { + "$ref": "#\/definitions\/topicList" + } + } + }, + "x-appwrite": { + "method": "listTopics", + "group": "topics", + "weight": 370, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-topics.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-topics.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "topics.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, description, emailTotal, smsTotal, pushTotal", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + }, + "post": { + "summary": "Create topic", + "operationId": "messagingCreateTopic", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Create a new topic.", + "responses": { + "201": { + "description": "Topic", + "schema": { + "$ref": "#\/definitions\/topic" + } + } + }, + "x-appwrite": { + "method": "createTopic", + "group": "topics", + "weight": 369, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-topic.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-topic.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "topics.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "topicId": { + "type": "string", + "description": "Topic ID. Choose a custom Topic ID or a new Topic ID.", + "default": null, + "x-example": "<TOPIC_ID>" + }, + "name": { + "type": "string", + "description": "Topic Name.", + "default": null, + "x-example": "<NAME>" + }, + "subscribe": { + "type": "array", + "description": "An array of role strings with subscribe permission. By default all users are granted with any subscribe permission. [learn more about roles](https:\/\/appwrite.io\/docs\/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.", + "default": [ + "users" + ], + "x-example": "[\"any\"]", + "items": { + "type": "string" + } + } + }, + "required": [ + "topicId", + "name" + ] + } + } + ] + } + }, + "\/messaging\/topics\/{topicId}": { + "get": { + "summary": "Get topic", + "operationId": "messagingGetTopic", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Get a topic by its unique ID.\n", + "responses": { + "200": { + "description": "Topic", + "schema": { + "$ref": "#\/definitions\/topic" + } + } + }, + "x-appwrite": { + "method": "getTopic", + "group": "topics", + "weight": 372, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/get-topic.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-topic.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "topics.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID.", + "required": true, + "type": "string", + "x-example": "<TOPIC_ID>", + "in": "path" + } + ] + }, + "patch": { + "summary": "Update topic", + "operationId": "messagingUpdateTopic", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Update a topic by its unique ID.\n", + "responses": { + "200": { + "description": "Topic", + "schema": { + "$ref": "#\/definitions\/topic" + } + } + }, + "x-appwrite": { + "method": "updateTopic", + "group": "topics", + "weight": 373, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/update-topic.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/update-topic.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "topics.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID.", + "required": true, + "type": "string", + "x-example": "<TOPIC_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Topic Name.", + "default": null, + "x-example": "<NAME>" + }, + "subscribe": { + "type": "array", + "description": "An array of role strings with subscribe permission. By default all users are granted with any subscribe permission. [learn more about roles](https:\/\/appwrite.io\/docs\/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.", + "default": null, + "x-example": "[\"any\"]", + "items": { + "type": "string" + } + } + } + } + } + ] + }, + "delete": { + "summary": "Delete topic", + "operationId": "messagingDeleteTopic", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "messaging" + ], + "description": "Delete a topic by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteTopic", + "group": "topics", + "weight": 374, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/delete-topic.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-topic.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "topics.write", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID.", + "required": true, + "type": "string", + "x-example": "<TOPIC_ID>", + "in": "path" + } + ] + } + }, + "\/messaging\/topics\/{topicId}\/logs": { + "get": { + "summary": "List topic logs", + "operationId": "messagingListTopicLogs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Get the topic activity logs listed by its unique ID.", + "responses": { + "200": { + "description": "Logs List", + "schema": { + "$ref": "#\/definitions\/logList" + } + } + }, + "x-appwrite": { + "method": "listTopicLogs", + "group": "topics", + "weight": 371, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-topic-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-topic-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "topics.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID.", + "required": true, + "type": "string", + "x-example": "<TOPIC_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + } + }, + "\/messaging\/topics\/{topicId}\/subscribers": { + "get": { + "summary": "List subscribers", + "operationId": "messagingListSubscribers", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Get a list of all subscribers from the current Appwrite project.", + "responses": { + "200": { + "description": "Subscriber list", + "schema": { + "$ref": "#\/definitions\/subscriberList" + } + } + }, + "x-appwrite": { + "method": "listSubscribers", + "group": "subscribers", + "weight": 376, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/list-subscribers.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/list-subscribers.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "subscribers.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID. The topic ID subscribed to.", + "required": true, + "type": "string", + "x-example": "<TOPIC_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, provider, type, enabled", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + }, + "post": { + "summary": "Create subscriber", + "operationId": "messagingCreateSubscriber", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Create a new subscriber.", + "responses": { + "201": { + "description": "Subscriber", + "schema": { + "$ref": "#\/definitions\/subscriber" + } + } + }, + "x-appwrite": { + "method": "createSubscriber", + "group": "subscribers", + "weight": 375, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/create-subscriber.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/create-subscriber.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "subscribers.write", + "platforms": [ + "server", + "client", + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "JWT": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [], + "Session": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID. The topic ID to subscribe to.", + "required": true, + "type": "string", + "x-example": "<TOPIC_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "subscriberId": { + "type": "string", + "description": "Subscriber ID. Choose a custom Subscriber ID or a new Subscriber ID.", + "default": null, + "x-example": "<SUBSCRIBER_ID>" + }, + "targetId": { + "type": "string", + "description": "Target ID. The target ID to link to the specified Topic ID.", + "default": null, + "x-example": "<TARGET_ID>" + } + }, + "required": [ + "subscriberId", + "targetId" + ] + } + } + ] + } + }, + "\/messaging\/topics\/{topicId}\/subscribers\/{subscriberId}": { + "get": { + "summary": "Get subscriber", + "operationId": "messagingGetSubscriber", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "messaging" + ], + "description": "Get a subscriber by its unique ID.\n", + "responses": { + "200": { + "description": "Subscriber", + "schema": { + "$ref": "#\/definitions\/subscriber" + } + } + }, + "x-appwrite": { + "method": "getSubscriber", + "group": "subscribers", + "weight": 378, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/get-subscriber.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/get-subscriber.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "subscribers.read", + "platforms": [ + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID. The topic ID subscribed to.", + "required": true, + "type": "string", + "x-example": "<TOPIC_ID>", + "in": "path" + }, + { + "name": "subscriberId", + "description": "Subscriber ID.", + "required": true, + "type": "string", + "x-example": "<SUBSCRIBER_ID>", + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete subscriber", + "operationId": "messagingDeleteSubscriber", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "messaging" + ], + "description": "Delete a subscriber by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteSubscriber", + "group": "subscribers", + "weight": 379, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "messaging\/delete-subscriber.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/messaging\/delete-subscriber.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "subscribers.write", + "platforms": [ + "server", + "client", + "console", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "JWT": [] + } + }, + "security": [ + { + "Project": [], + "JWT": [], + "Session": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "topicId", + "description": "Topic ID. The topic ID subscribed to.", + "required": true, + "type": "string", + "x-example": "<TOPIC_ID>", + "in": "path" + }, + { + "name": "subscriberId", + "description": "Subscriber ID.", + "required": true, + "type": "string", + "x-example": "<SUBSCRIBER_ID>", + "in": "path" + } + ] + } + }, + "\/storage\/buckets": { + "get": { + "summary": "List buckets", + "operationId": "storageListBuckets", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "storage" + ], + "description": "Get a list of all the storage buckets. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Buckets List", + "schema": { + "$ref": "#\/definitions\/bucketList" + } + } + }, + "x-appwrite": { + "method": "listBuckets", + "group": "buckets", + "weight": 202, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/list-buckets.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-buckets.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "buckets.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: enabled, name, fileSecurity, maximumFileSize, encryption, antivirus", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + }, + "post": { + "summary": "Create bucket", + "operationId": "storageCreateBucket", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "storage" + ], + "description": "Create a new storage bucket.", + "responses": { + "201": { + "description": "Bucket", + "schema": { + "$ref": "#\/definitions\/bucket" + } + } + }, + "x-appwrite": { + "method": "createBucket", + "group": "buckets", + "weight": 201, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/create-bucket.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-bucket.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "buckets.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "bucketId": { + "type": "string", + "description": "Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<BUCKET_ID>" + }, + "name": { + "type": "string", + "description": "Bucket name", + "default": null, + "x-example": "<NAME>" + }, + "permissions": { + "type": "array", + "description": "An array of permission strings. By default, no user is granted with any permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "default": null, + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + }, + "fileSecurity": { + "type": "boolean", + "description": "Enables configuring permissions for individual file. A user needs one of file or bucket level permissions to access a file. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "default": false, + "x-example": false + }, + "enabled": { + "type": "boolean", + "description": "Is bucket enabled? When set to 'disabled', users cannot access the files in this bucket but Server SDKs with and API key can still access the bucket. No files are lost when this is toggled.", + "default": true, + "x-example": false + }, + "maximumFileSize": { + "type": "integer", + "description": "Maximum file size allowed in bytes. Maximum allowed value is 30MB.", + "default": {}, + "x-example": 1 + }, + "allowedFileExtensions": { + "type": "array", + "description": "Allowed file extensions. Maximum of 100 extensions are allowed, each 64 characters long.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "compression": { + "type": "string", + "description": "Compression algorithm choosen for compression. Can be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd), For file size above 20MB compression is skipped even if it's enabled", + "default": "none", + "x-example": "none", + "enum": [ + "none", + "gzip", + "zstd" + ], + "x-enum-name": null, + "x-enum-keys": [] + }, + "encryption": { + "type": "boolean", + "description": "Is encryption enabled? For file size above 20MB encryption is skipped even if it's enabled", + "default": true, + "x-example": false + }, + "antivirus": { + "type": "boolean", + "description": "Is virus scanning enabled? For file size above 20MB AntiVirus scanning is skipped even if it's enabled", + "default": true, + "x-example": false + } + }, + "required": [ + "bucketId", + "name" + ] + } + } + ] + } + }, + "\/storage\/buckets\/{bucketId}": { + "get": { + "summary": "Get bucket", + "operationId": "storageGetBucket", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "storage" + ], + "description": "Get a storage bucket by its unique ID. This endpoint response returns a JSON object with the storage bucket metadata.", + "responses": { + "200": { + "description": "Bucket", + "schema": { + "$ref": "#\/definitions\/bucket" + } + } + }, + "x-appwrite": { + "method": "getBucket", + "group": "buckets", + "weight": 203, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/get-bucket.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-bucket.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "buckets.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Bucket unique ID.", + "required": true, + "type": "string", + "x-example": "<BUCKET_ID>", + "in": "path" + } + ] + }, + "put": { + "summary": "Update bucket", + "operationId": "storageUpdateBucket", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "storage" + ], + "description": "Update a storage bucket by its unique ID.", + "responses": { + "200": { + "description": "Bucket", + "schema": { + "$ref": "#\/definitions\/bucket" + } + } + }, + "x-appwrite": { + "method": "updateBucket", + "group": "buckets", + "weight": 204, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/update-bucket.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-bucket.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "buckets.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Bucket unique ID.", + "required": true, + "type": "string", + "x-example": "<BUCKET_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Bucket name", + "default": null, + "x-example": "<NAME>" + }, + "permissions": { + "type": "array", + "description": "An array of permission strings. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "default": null, + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + }, + "fileSecurity": { + "type": "boolean", + "description": "Enables configuring permissions for individual file. A user needs one of file or bucket level permissions to access a file. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "default": false, + "x-example": false + }, + "enabled": { + "type": "boolean", + "description": "Is bucket enabled? When set to 'disabled', users cannot access the files in this bucket but Server SDKs with and API key can still access the bucket. No files are lost when this is toggled.", + "default": true, + "x-example": false + }, + "maximumFileSize": { + "type": "integer", + "description": "Maximum file size allowed in bytes. Maximum allowed value is 30MB.", + "default": {}, + "x-example": 1 + }, + "allowedFileExtensions": { + "type": "array", + "description": "Allowed file extensions. Maximum of 100 extensions are allowed, each 64 characters long.", + "default": [], + "x-example": null, + "items": { + "type": "string" + } + }, + "compression": { + "type": "string", + "description": "Compression algorithm choosen for compression. Can be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd), For file size above 20MB compression is skipped even if it's enabled", + "default": "none", + "x-example": "none", + "enum": [ + "none", + "gzip", + "zstd" + ], + "x-enum-name": null, + "x-enum-keys": [] + }, + "encryption": { + "type": "boolean", + "description": "Is encryption enabled? For file size above 20MB encryption is skipped even if it's enabled", + "default": true, + "x-example": false + }, + "antivirus": { + "type": "boolean", + "description": "Is virus scanning enabled? For file size above 20MB AntiVirus scanning is skipped even if it's enabled", + "default": true, + "x-example": false + } + }, + "required": [ + "name" + ] + } + } + ] + }, + "delete": { + "summary": "Delete bucket", + "operationId": "storageDeleteBucket", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "storage" + ], + "description": "Delete a storage bucket by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteBucket", + "group": "buckets", + "weight": 205, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/delete-bucket.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-bucket.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "buckets.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Bucket unique ID.", + "required": true, + "type": "string", + "x-example": "<BUCKET_ID>", + "in": "path" + } + ] + } + }, + "\/storage\/buckets\/{bucketId}\/files": { + "get": { + "summary": "List files", + "operationId": "storageListFiles", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "storage" + ], + "description": "Get a list of all the user files. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Files List", + "schema": { + "$ref": "#\/definitions\/fileList" + } + } + }, + "x-appwrite": { + "method": "listFiles", + "group": "files", + "weight": 207, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/list-files.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/list-files.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "type": "string", + "x-example": "<BUCKET_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, signature, mimeType, sizeOriginal, chunksTotal, chunksUploaded", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + }, + "post": { + "summary": "Create file", + "operationId": "storageCreateFile", + "consumes": [ + "multipart\/form-data" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "storage" + ], + "description": "Create a new file. Before using this route, you should create a new bucket resource using either a [server integration](https:\/\/appwrite.io\/docs\/server\/storage#storageCreateBucket) API or directly from your Appwrite console.\n\nLarger files should be uploaded using multiple requests with the [content-range](https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTTP\/Headers\/Content-Range) header to send a partial request with a maximum supported chunk of `5MB`. The `content-range` header values should always be in bytes.\n\nWhen the first request is sent, the server will return the **File** object, and the subsequent part request must include the file's **id** in `x-appwrite-id` header to allow the server to know that the partial upload is for the existing file and not for a new one.\n\nIf you're creating a new file using one of the Appwrite SDKs, all the chunking logic will be managed by the SDK internally.\n", + "responses": { + "201": { + "description": "File", + "schema": { + "$ref": "#\/definitions\/file" + } + } + }, + "x-appwrite": { + "method": "createFile", + "group": "files", + "weight": 206, + "cookies": false, + "type": "upload", + "deprecated": false, + "demo": "storage\/create-file.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/create-file.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId},chunkId:{chunkId}", + "scope": "files.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "type": "string", + "x-example": "<BUCKET_ID>", + "in": "path" + }, + { + "name": "fileId", + "description": "File ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "required": true, + "x-upload-id": true, + "type": "string", + "x-example": "<FILE_ID>", + "in": "formData" + }, + { + "name": "file", + "description": "Binary file. Appwrite SDKs provide helpers to handle file input. [Learn about file input](https:\/\/appwrite.io\/docs\/products\/storage\/upload-download#input-file).", + "required": true, + "type": "file", + "in": "formData" + }, + { + "name": "permissions", + "description": "An array of permission strings. By default, only the current user is granted all permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "x-example": "[\"read(\"any\")\"]", + "in": "formData" + } + ] + } + }, + "\/storage\/buckets\/{bucketId}\/files\/{fileId}": { + "get": { + "summary": "Get file", + "operationId": "storageGetFile", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "storage" + ], + "description": "Get a file by its unique ID. This endpoint response returns a JSON object with the file metadata.", + "responses": { + "200": { + "description": "File", + "schema": { + "$ref": "#\/definitions\/file" + } + } + }, + "x-appwrite": { + "method": "getFile", + "group": "files", + "weight": 208, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/get-file.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "type": "string", + "x-example": "<BUCKET_ID>", + "in": "path" + }, + { + "name": "fileId", + "description": "File ID.", + "required": true, + "type": "string", + "x-example": "<FILE_ID>", + "in": "path" + } + ] + }, + "put": { + "summary": "Update file", + "operationId": "storageUpdateFile", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "storage" + ], + "description": "Update a file by its unique ID. Only users with write permissions have access to update this resource.", + "responses": { + "200": { + "description": "File", + "schema": { + "$ref": "#\/definitions\/file" + } + } + }, + "x-appwrite": { + "method": "updateFile", + "group": "files", + "weight": 213, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/update-file.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/update-file.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", + "scope": "files.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "type": "string", + "x-example": "<BUCKET_ID>", + "in": "path" + }, + { + "name": "fileId", + "description": "File unique ID.", + "required": true, + "type": "string", + "x-example": "<FILE_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the file", + "default": null, + "x-example": "<NAME>" + }, + "permissions": { + "type": "array", + "description": "An array of permission string. By default, the current permissions are inherited. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "default": null, + "x-example": "[\"read(\"any\")\"]", + "items": { + "type": "string" + } + } + } + } + } + ] + }, + "delete": { + "summary": "Delete file", + "operationId": "storageDeleteFile", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "storage" + ], + "description": "Delete a file by its unique ID. Only users with write permissions have access to delete this resource.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteFile", + "group": "files", + "weight": 214, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "storage\/delete-file.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/delete-file.md", + "rate-limit": 60, + "rate-time": 60, + "rate-key": "ip:{ip},method:{method},url:{url},userId:{userId}", + "scope": "files.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "type": "string", + "x-example": "<BUCKET_ID>", + "in": "path" + }, + { + "name": "fileId", + "description": "File ID.", + "required": true, + "type": "string", + "x-example": "<FILE_ID>", + "in": "path" + } + ] + } + }, + "\/storage\/buckets\/{bucketId}\/files\/{fileId}\/download": { + "get": { + "summary": "Get file for download", + "operationId": "storageGetFileDownload", + "consumes": [ + "application\/json" + ], + "produces": [ + "*\/*" + ], + "tags": [ + "storage" + ], + "description": "Get a file content by its unique ID. The endpoint response return with a 'Content-Disposition: attachment' header that tells the browser to start downloading the file to user downloads directory.", + "responses": { + "200": { + "description": "File", + "schema": { + "type": "file" + } + } + }, + "x-appwrite": { + "method": "getFileDownload", + "group": "files", + "weight": 210, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "storage\/get-file-download.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-download.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "type": "string", + "x-example": "<BUCKET_ID>", + "in": "path" + }, + { + "name": "fileId", + "description": "File ID.", + "required": true, + "type": "string", + "x-example": "<FILE_ID>", + "in": "path" + } + ] + } + }, + "\/storage\/buckets\/{bucketId}\/files\/{fileId}\/preview": { + "get": { + "summary": "Get file preview", + "operationId": "storageGetFilePreview", + "consumes": [ + "application\/json" + ], + "produces": [ + "image\/*" + ], + "tags": [ + "storage" + ], + "description": "Get a file preview image. Currently, this method supports preview for image files (jpg, png, and gif), other supported formats, like pdf, docs, slides, and spreadsheets, will return the file icon image. You can also pass query string arguments for cutting and resizing your preview image. Preview is supported only for image files smaller than 10MB.", + "responses": { + "200": { + "description": "Image", + "schema": { + "type": "file" + } + } + }, + "x-appwrite": { + "method": "getFilePreview", + "group": "files", + "weight": 209, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "storage\/get-file-preview.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-preview.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "type": "string", + "x-example": "<BUCKET_ID>", + "in": "path" + }, + { + "name": "fileId", + "description": "File ID", + "required": true, + "type": "string", + "x-example": "<FILE_ID>", + "in": "path" + }, + { + "name": "width", + "description": "Resize preview image width, Pass an integer between 0 to 4000.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 0, + "in": "query" + }, + { + "name": "height", + "description": "Resize preview image height, Pass an integer between 0 to 4000.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 0, + "in": "query" + }, + { + "name": "gravity", + "description": "Image crop gravity. Can be one of center,top-left,top,top-right,left,right,bottom-left,bottom,bottom-right", + "required": false, + "type": "string", + "x-example": "center", + "enum": [ + "center", + "top-left", + "top", + "top-right", + "left", + "right", + "bottom-left", + "bottom", + "bottom-right" + ], + "x-enum-name": "ImageGravity", + "x-enum-keys": [], + "default": "center", + "in": "query" + }, + { + "name": "quality", + "description": "Preview image quality. Pass an integer between 0 to 100. Defaults to 100.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 100, + "in": "query" + }, + { + "name": "borderWidth", + "description": "Preview image border in pixels. Pass an integer between 0 to 100. Defaults to 0.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 0, + "in": "query" + }, + { + "name": "borderColor", + "description": "Preview image border color. Use a valid HEX color, no # is needed for prefix.", + "required": false, + "type": "string", + "default": "", + "in": "query" + }, + { + "name": "borderRadius", + "description": "Preview image border radius in pixels. Pass an integer between 0 to 4000.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": 0, + "default": 0, + "in": "query" + }, + { + "name": "opacity", + "description": "Preview image opacity. Only works with images having an alpha channel (like png). Pass a number between 0 to 1.", + "required": false, + "type": "number", + "format": "float", + "x-example": 0, + "default": 1, + "in": "query" + }, + { + "name": "rotation", + "description": "Preview image rotation in degrees. Pass an integer between -360 and 360.", + "required": false, + "type": "integer", + "format": "int32", + "x-example": -360, + "default": 0, + "in": "query" + }, + { + "name": "background", + "description": "Preview image background color. Only works with transparent images (png). Use a valid HEX color, no # is needed for prefix.", + "required": false, + "type": "string", + "default": "", + "in": "query" + }, + { + "name": "output", + "description": "Output format type (jpeg, jpg, png, gif and webp).", + "required": false, + "type": "string", + "x-example": "jpg", + "enum": [ + "jpg", + "jpeg", + "gif", + "png", + "webp", + "heic", + "avif" + ], + "x-enum-name": "ImageFormat", + "x-enum-keys": [], + "default": "", + "in": "query" + } + ] + } + }, + "\/storage\/buckets\/{bucketId}\/files\/{fileId}\/view": { + "get": { + "summary": "Get file for view", + "operationId": "storageGetFileView", + "consumes": [ + "application\/json" + ], + "produces": [ + "*\/*" + ], + "tags": [ + "storage" + ], + "description": "Get a file content by its unique ID. This endpoint is similar to the download method but returns with no 'Content-Disposition: attachment' header.", + "responses": { + "200": { + "description": "File", + "schema": { + "type": "file" + } + } + }, + "x-appwrite": { + "method": "getFileView", + "group": "files", + "weight": 211, + "cookies": false, + "type": "location", + "deprecated": false, + "demo": "storage\/get-file-view.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/storage\/get-file-view.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "files.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "bucketId", + "description": "Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https:\/\/appwrite.io\/docs\/server\/storage#createBucket).", + "required": true, + "type": "string", + "x-example": "<BUCKET_ID>", + "in": "path" + }, + { + "name": "fileId", + "description": "File ID.", + "required": true, + "type": "string", + "x-example": "<FILE_ID>", + "in": "path" + } + ] + } + }, + "\/teams": { + "get": { + "summary": "List teams", + "operationId": "teamsList", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Get a list of all the teams in which the current user is a member. You can use the parameters to filter your results.", + "responses": { + "200": { + "description": "Teams List", + "schema": { + "$ref": "#\/definitions\/teamList" + } + } + }, + "x-appwrite": { + "method": "list", + "group": "teams", + "weight": 218, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/list.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-teams.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, total, billingPlan", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + }, + "post": { + "summary": "Create team", + "operationId": "teamsCreate", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Create a new team. The user who creates the team will automatically be assigned as the owner of the team. Only the users with the owner role can invite new members, add new owners and delete or update the team.", + "responses": { + "201": { + "description": "Team", + "schema": { + "$ref": "#\/definitions\/team" + } + } + }, + "x-appwrite": { + "method": "create", + "group": "teams", + "weight": 217, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/create.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "teamId": { + "type": "string", + "description": "Team ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<TEAM_ID>" + }, + "name": { + "type": "string", + "description": "Team name. Max length: 128 chars.", + "default": null, + "x-example": "<NAME>" + }, + "roles": { + "type": "array", + "description": "Array of strings. Use this param to set the roles in the team for the user who created it. The default role is **owner**. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.", + "default": [ + "owner" + ], + "x-example": null, + "items": { + "type": "string" + } + } + }, + "required": [ + "teamId", + "name" + ] + } + } + ] + } + }, + "\/teams\/{teamId}": { + "get": { + "summary": "Get team", + "operationId": "teamsGet", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Get a team by its ID. All team members have read access for this resource.", + "responses": { + "200": { + "description": "Team", + "schema": { + "$ref": "#\/definitions\/team" + } + } + }, + "x-appwrite": { + "method": "get", + "group": "teams", + "weight": 219, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + } + ] + }, + "put": { + "summary": "Update name", + "operationId": "teamsUpdateName", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Update the team's name by its unique ID.", + "responses": { + "200": { + "description": "Team", + "schema": { + "$ref": "#\/definitions\/team" + } + } + }, + "x-appwrite": { + "method": "updateName", + "group": "teams", + "weight": 221, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/update-name.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-name.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "New team name. Max length: 128 chars.", + "default": null, + "x-example": "<NAME>" + } + }, + "required": [ + "name" + ] + } + } + ] + }, + "delete": { + "summary": "Delete team", + "operationId": "teamsDelete", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "teams" + ], + "description": "Delete a team using its ID. Only team members with the owner role can delete the team.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "delete", + "group": "teams", + "weight": 223, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/delete.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + } + ] + } + }, + "\/teams\/{teamId}\/memberships": { + "get": { + "summary": "List team memberships", + "operationId": "teamsListMemberships", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Use this endpoint to list a team's members using the team's ID. All team members have read access to this endpoint. Hide sensitive attributes from the response by toggling membership privacy in the Console.", + "responses": { + "200": { + "description": "Memberships List", + "schema": { + "$ref": "#\/definitions\/membershipList" + } + } + }, + "x-appwrite": { + "method": "listMemberships", + "group": "memberships", + "weight": 225, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/list-memberships.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/list-team-members.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, teamId, invited, joined, confirm", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + }, + "post": { + "summary": "Create team membership", + "operationId": "teamsCreateMembership", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Invite a new member to join your team. Provide an ID for existing users, or invite unregistered users using an email or phone number. If initiated from a Client SDK, Appwrite will send an email or sms with a link to join the team to the invited user, and an account will be created for them if one doesn't exist. If initiated from a Server SDK, the new member will be added automatically to the team.\n\nYou only need to provide one of a user ID, email, or phone number. Appwrite will prioritize accepting the user ID > email > phone number if you provide more than one of these parameters.\n\nUse the `url` parameter to redirect the user from the invitation email to your app. After the user is redirected, use the [Update Team Membership Status](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/teams#updateMembershipStatus) endpoint to allow the user to accept the invitation to the team. \n\nPlease note that to avoid a [Redirect Attack](https:\/\/github.com\/OWASP\/CheatSheetSeries\/blob\/master\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md) Appwrite will accept the only redirect URLs under the domains you have added as a platform on the Appwrite Console.\n", + "responses": { + "201": { + "description": "Membership", + "schema": { + "$ref": "#\/definitions\/membership" + } + } + }, + "x-appwrite": { + "method": "createMembership", + "group": "memberships", + "weight": 224, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/create-membership.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/create-team-membership.md", + "rate-limit": 10, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "email": { + "type": "string", + "description": "Email of the new team member.", + "default": "", + "x-example": "email@example.com" + }, + "userId": { + "type": "string", + "description": "ID of the user to be added to a team.", + "default": "", + "x-example": "<USER_ID>" + }, + "phone": { + "type": "string", + "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "default": "", + "x-example": "+12065550100" + }, + "roles": { + "type": "array", + "description": "Array of strings. Use this param to set the user roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + }, + "url": { + "type": "string", + "description": "URL to redirect the user back to your app from the invitation email. This parameter is not required when an API key is supplied. Only URLs from hostnames in your project platform list are allowed. This requirement helps to prevent an [open redirect](https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html) attack against your project API.", + "default": "", + "x-example": "https:\/\/example.com" + }, + "name": { + "type": "string", + "description": "Name of the new team member. Max length: 128 chars.", + "default": "", + "x-example": "<NAME>" + } + }, + "required": [ + "roles" + ] + } + } + ] + } + }, + "\/teams\/{teamId}\/memberships\/{membershipId}": { + "get": { + "summary": "Get team membership", + "operationId": "teamsGetMembership", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Get a team member by the membership unique id. All team members have read access for this resource. Hide sensitive attributes from the response by toggling membership privacy in the Console.", + "responses": { + "200": { + "description": "Membership", + "schema": { + "$ref": "#\/definitions\/membership" + } + } + }, + "x-appwrite": { + "method": "getMembership", + "group": "memberships", + "weight": 226, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/get-membership.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-member.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.read", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + }, + { + "name": "membershipId", + "description": "Membership ID.", + "required": true, + "type": "string", + "x-example": "<MEMBERSHIP_ID>", + "in": "path" + } + ] + }, + "patch": { + "summary": "Update membership", + "operationId": "teamsUpdateMembership", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Modify the roles of a team member. Only team members with the owner role have access to this endpoint. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions).\n", + "responses": { + "200": { + "description": "Membership", + "schema": { + "$ref": "#\/definitions\/membership" + } + } + }, + "x-appwrite": { + "method": "updateMembership", + "group": "memberships", + "weight": 227, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/update-membership.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + }, + { + "name": "membershipId", + "description": "Membership ID.", + "required": true, + "type": "string", + "x-example": "<MEMBERSHIP_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "roles": { + "type": "array", + "description": "An array of strings. Use this param to set the user's roles in the team. A role can be any string. Learn more about [roles and permissions](https:\/\/appwrite.io\/docs\/permissions). Maximum of 100 roles are allowed, each 32 characters long.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + } + }, + "required": [ + "roles" + ] + } + } + ] + }, + "delete": { + "summary": "Delete team membership", + "operationId": "teamsDeleteMembership", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "teams" + ], + "description": "This endpoint allows a user to leave a team or for a team owner to delete the membership of any other team member. You can also use this endpoint to delete a user membership even if it is not accepted.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteMembership", + "group": "memberships", + "weight": 229, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/delete-membership.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/delete-team-membership.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "Key": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + }, + { + "name": "membershipId", + "description": "Membership ID.", + "required": true, + "type": "string", + "x-example": "<MEMBERSHIP_ID>", + "in": "path" + } + ] + } + }, + "\/teams\/{teamId}\/memberships\/{membershipId}\/status": { + "patch": { + "summary": "Update team membership status", + "operationId": "teamsUpdateMembershipStatus", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Use this endpoint to allow a user to accept an invitation to join a team after being redirected back to your app from the invitation email received by the user.\n\nIf the request is successful, a session for the user is automatically created.\n", + "responses": { + "200": { + "description": "Membership", + "schema": { + "$ref": "#\/definitions\/membership" + } + } + }, + "x-appwrite": { + "method": "updateMembershipStatus", + "group": "memberships", + "weight": 228, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/update-membership-status.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-membership-status.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "public", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + }, + { + "name": "membershipId", + "description": "Membership ID.", + "required": true, + "type": "string", + "x-example": "<MEMBERSHIP_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID.", + "default": null, + "x-example": "<USER_ID>" + }, + "secret": { + "type": "string", + "description": "Secret key.", + "default": null, + "x-example": "<SECRET>" + } + }, + "required": [ + "userId", + "secret" + ] + } + } + ] + } + }, + "\/teams\/{teamId}\/prefs": { + "get": { + "summary": "Get team preferences", + "operationId": "teamsGetPrefs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Get the team's shared preferences by its unique ID. If a preference doesn't need to be shared by all team members, prefer storing them in [user preferences](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#getPrefs).", + "responses": { + "200": { + "description": "Preferences", + "schema": { + "$ref": "#\/definitions\/preferences" + } + } + }, + "x-appwrite": { + "method": "getPrefs", + "group": "teams", + "weight": 220, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/get-prefs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/get-team-prefs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.read", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + } + ] + }, + "put": { + "summary": "Update preferences", + "operationId": "teamsUpdatePrefs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "teams" + ], + "description": "Update the team's preferences by its unique ID. The object you pass is stored as is and replaces any previous value. The maximum allowed prefs size is 64kB and throws an error if exceeded.", + "responses": { + "200": { + "description": "Preferences", + "schema": { + "$ref": "#\/definitions\/preferences" + } + } + }, + "x-appwrite": { + "method": "updatePrefs", + "group": "teams", + "weight": 222, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "teams\/update-prefs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/teams\/update-team-prefs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "teams.write", + "platforms": [ + "client", + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Session": [] + } + }, + "security": [ + { + "Project": [], + "Session": [], + "JWT": [] + } + ], + "parameters": [ + { + "name": "teamId", + "description": "Team ID.", + "required": true, + "type": "string", + "x-example": "<TEAM_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "prefs": { + "type": "object", + "description": "Prefs key-value JSON object.", + "default": {}, + "x-example": "{}" + } + }, + "required": [ + "prefs" + ] + } + } + ] + } + }, + "\/users": { + "get": { + "summary": "List users", + "operationId": "usersList", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Get a list of all the project's users. You can use the query params to filter your results.", + "responses": { + "200": { + "description": "Users List", + "schema": { + "$ref": "#\/definitions\/userList" + } + } + }, + "x-appwrite": { + "method": "list", + "group": "users", + "weight": 240, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/list.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-users.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, email, phone, status, passwordUpdate, registration, emailVerification, phoneVerification, labels", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + }, + "post": { + "summary": "Create user", + "operationId": "usersCreate", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Create a new user.", + "responses": { + "201": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "create", + "group": "users", + "weight": 231, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "phone": { + "type": "string", + "description": "Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.", + "default": null, + "x-example": "+12065550100" + }, + "password": { + "type": "string", + "description": "Plain text user password. Must be at least 8 chars.", + "default": "", + "x-example": null + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "default": "", + "x-example": "<NAME>" + } + }, + "required": [ + "userId" + ] + } + } + ] + } + }, + "\/users\/argon2": { + "post": { + "summary": "Create user with Argon2 password", + "operationId": "usersCreateArgon2User", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Create a new user. Password provided must be hashed with the [Argon2](https:\/\/en.wikipedia.org\/wiki\/Argon2) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.", + "responses": { + "201": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "createArgon2User", + "group": "users", + "weight": 234, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-argon2user.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-argon2-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password hashed using Argon2.", + "default": null, + "x-example": "password" + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "default": "", + "x-example": "<NAME>" + } + }, + "required": [ + "userId", + "email", + "password" + ] + } + } + ] + } + }, + "\/users\/bcrypt": { + "post": { + "summary": "Create user with bcrypt password", + "operationId": "usersCreateBcryptUser", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Create a new user. Password provided must be hashed with the [Bcrypt](https:\/\/en.wikipedia.org\/wiki\/Bcrypt) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.", + "responses": { + "201": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "createBcryptUser", + "group": "users", + "weight": 232, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-bcrypt-user.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-bcrypt-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password hashed using Bcrypt.", + "default": null, + "x-example": "password" + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "default": "", + "x-example": "<NAME>" + } + }, + "required": [ + "userId", + "email", + "password" + ] + } + } + ] + } + }, + "\/users\/identities": { + "get": { + "summary": "List identities", + "operationId": "usersListIdentities", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Get identities for all users.", + "responses": { + "200": { + "description": "Identities List", + "schema": { + "$ref": "#\/definitions\/identityList" + } + } + }, + "x-appwrite": { + "method": "listIdentities", + "group": "identities", + "weight": 248, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/list-identities.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-identities.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: userId, provider, providerUid, providerEmail, providerAccessTokenExpiry", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + }, + { + "name": "search", + "description": "Search term to filter your list results. Max length: 256 chars.", + "required": false, + "type": "string", + "x-example": "<SEARCH>", + "default": "", + "in": "query" + } + ] + } + }, + "\/users\/identities\/{identityId}": { + "delete": { + "summary": "Delete identity", + "operationId": "usersDeleteIdentity", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "users" + ], + "description": "Delete an identity by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteIdentity", + "group": "identities", + "weight": 271, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/delete-identity.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-identity.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "identityId", + "description": "Identity ID.", + "required": true, + "type": "string", + "x-example": "<IDENTITY_ID>", + "in": "path" + } + ] + } + }, + "\/users\/md5": { + "post": { + "summary": "Create user with MD5 password", + "operationId": "usersCreateMD5User", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Create a new user. Password provided must be hashed with the [MD5](https:\/\/en.wikipedia.org\/wiki\/MD5) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.", + "responses": { + "201": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "createMD5User", + "group": "users", + "weight": 233, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-m-d5user.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-md5-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password hashed using MD5.", + "default": null, + "x-example": "password" + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "default": "", + "x-example": "<NAME>" + } + }, + "required": [ + "userId", + "email", + "password" + ] + } + } + ] + } + }, + "\/users\/phpass": { + "post": { + "summary": "Create user with PHPass password", + "operationId": "usersCreatePHPassUser", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Create a new user. Password provided must be hashed with the [PHPass](https:\/\/www.openwall.com\/phpass\/) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.", + "responses": { + "201": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "createPHPassUser", + "group": "users", + "weight": 236, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-p-h-pass-user.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-phpass-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or pass the string `ID.unique()`to auto generate it. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password hashed using PHPass.", + "default": null, + "x-example": "password" + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "default": "", + "x-example": "<NAME>" + } + }, + "required": [ + "userId", + "email", + "password" + ] + } + } + ] + } + }, + "\/users\/scrypt": { + "post": { + "summary": "Create user with Scrypt password", + "operationId": "usersCreateScryptUser", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Create a new user. Password provided must be hashed with the [Scrypt](https:\/\/github.com\/Tarsnap\/scrypt) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.", + "responses": { + "201": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "createScryptUser", + "group": "users", + "weight": 237, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-scrypt-user.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-scrypt-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password hashed using Scrypt.", + "default": null, + "x-example": "password" + }, + "passwordSalt": { + "type": "string", + "description": "Optional salt used to hash password.", + "default": null, + "x-example": "<PASSWORD_SALT>" + }, + "passwordCpu": { + "type": "integer", + "description": "Optional CPU cost used to hash password.", + "default": null, + "x-example": null + }, + "passwordMemory": { + "type": "integer", + "description": "Optional memory cost used to hash password.", + "default": null, + "x-example": null + }, + "passwordParallel": { + "type": "integer", + "description": "Optional parallelization cost used to hash password.", + "default": null, + "x-example": null + }, + "passwordLength": { + "type": "integer", + "description": "Optional hash length used to hash password.", + "default": null, + "x-example": null + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "default": "", + "x-example": "<NAME>" + } + }, + "required": [ + "userId", + "email", + "password", + "passwordSalt", + "passwordCpu", + "passwordMemory", + "passwordParallel", + "passwordLength" + ] + } + } + ] + } + }, + "\/users\/scrypt-modified": { + "post": { + "summary": "Create user with Scrypt modified password", + "operationId": "usersCreateScryptModifiedUser", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Create a new user. Password provided must be hashed with the [Scrypt Modified](https:\/\/gist.github.com\/Meldiron\/eecf84a0225eccb5a378d45bb27462cc) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.", + "responses": { + "201": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "createScryptModifiedUser", + "group": "users", + "weight": 238, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-scrypt-modified-user.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-scrypt-modified-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password hashed using Scrypt Modified.", + "default": null, + "x-example": "password" + }, + "passwordSalt": { + "type": "string", + "description": "Salt used to hash password.", + "default": null, + "x-example": "<PASSWORD_SALT>" + }, + "passwordSaltSeparator": { + "type": "string", + "description": "Salt separator used to hash password.", + "default": null, + "x-example": "<PASSWORD_SALT_SEPARATOR>" + }, + "passwordSignerKey": { + "type": "string", + "description": "Signer key used to hash password.", + "default": null, + "x-example": "<PASSWORD_SIGNER_KEY>" + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "default": "", + "x-example": "<NAME>" + } + }, + "required": [ + "userId", + "email", + "password", + "passwordSalt", + "passwordSaltSeparator", + "passwordSignerKey" + ] + } + } + ] + } + }, + "\/users\/sha": { + "post": { + "summary": "Create user with SHA password", + "operationId": "usersCreateSHAUser", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Create a new user. Password provided must be hashed with the [SHA](https:\/\/en.wikipedia.org\/wiki\/Secure_Hash_Algorithm) algorithm. Use the [POST \/users](https:\/\/appwrite.io\/docs\/server\/users#usersCreate) endpoint to create users with a plain text password.", + "responses": { + "201": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "createSHAUser", + "group": "users", + "weight": 235, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-s-h-a-user.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-sha-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<USER_ID>" + }, + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + }, + "password": { + "type": "string", + "description": "User password hashed using SHA.", + "default": null, + "x-example": "password" + }, + "passwordVersion": { + "type": "string", + "description": "Optional SHA version used to hash password. Allowed values are: 'sha1', 'sha224', 'sha256', 'sha384', 'sha512\/224', 'sha512\/256', 'sha512', 'sha3-224', 'sha3-256', 'sha3-384', 'sha3-512'", + "default": "", + "x-example": "sha1", + "enum": [ + "sha1", + "sha224", + "sha256", + "sha384", + "sha512\/224", + "sha512\/256", + "sha512", + "sha3-224", + "sha3-256", + "sha3-384", + "sha3-512" + ], + "x-enum-name": "PasswordHash", + "x-enum-keys": [] + }, + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "default": "", + "x-example": "<NAME>" + } + }, + "required": [ + "userId", + "email", + "password" + ] + } + } + ] + } + }, + "\/users\/{userId}": { + "get": { + "summary": "Get user", + "operationId": "usersGet", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Get a user by its unique ID.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "get", + "group": "users", + "weight": 241, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/get.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete user", + "operationId": "usersDelete", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "users" + ], + "description": "Delete a user by its unique ID, thereby releasing it's ID. Since ID is released and can be reused, all user-related resources like documents or storage files should be deleted before user deletion. If you want to keep ID reserved, use the [updateStatus](https:\/\/appwrite.io\/docs\/server\/users#usersUpdateStatus) endpoint instead.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "delete", + "group": "users", + "weight": 269, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/delete.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + } + ] + } + }, + "\/users\/{userId}\/email": { + "patch": { + "summary": "Update email", + "operationId": "usersUpdateEmail", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Update the user email by its unique ID.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updateEmail", + "group": "users", + "weight": 254, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-email.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-email.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "email": { + "type": "string", + "description": "User email.", + "default": null, + "x-example": "email@example.com" + } + }, + "required": [ + "email" + ] + } + } + ] + } + }, + "\/users\/{userId}\/jwts": { + "post": { + "summary": "Create user JWT", + "operationId": "usersCreateJWT", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Use this endpoint to create a JSON Web Token for user by its unique ID. You can use the resulting JWT to authenticate on behalf of the user. The JWT secret will become invalid if the session it uses gets deleted.", + "responses": { + "201": { + "description": "JWT", + "schema": { + "$ref": "#\/definitions\/jwt" + } + } + }, + "x-appwrite": { + "method": "createJWT", + "group": "sessions", + "weight": 272, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-j-w-t.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-user-jwt.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "sessionId": { + "type": "string", + "description": "Session ID. Use the string 'recent' to use the most recent session. Defaults to the most recent session.", + "default": "", + "x-example": "<SESSION_ID>" + }, + "duration": { + "type": "integer", + "description": "Time in seconds before JWT expires. Default duration is 900 seconds, and maximum is 3600 seconds.", + "default": 900, + "x-example": 0 + } + } + } + } + ] + } + }, + "\/users\/{userId}\/labels": { + "put": { + "summary": "Update user labels", + "operationId": "usersUpdateLabels", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Update the user labels by its unique ID. \n\nLabels can be used to grant access to resources. While teams are a way for user's to share access to a resource, labels can be defined by the developer to grant access without an invitation. See the [Permissions docs](https:\/\/appwrite.io\/docs\/permissions) for more info.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updateLabels", + "group": "users", + "weight": 250, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-labels.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-labels.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "labels": { + "type": "array", + "description": "Array of user labels. Replaces the previous labels. Maximum of 1000 labels are allowed, each up to 36 alphanumeric characters long.", + "default": null, + "x-example": null, + "items": { + "type": "string" + } + } + }, + "required": [ + "labels" + ] + } + } + ] + } + }, + "\/users\/{userId}\/logs": { + "get": { + "summary": "List user logs", + "operationId": "usersListLogs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Get the user activity logs list by its unique ID.", + "responses": { + "200": { + "description": "Logs List", + "schema": { + "$ref": "#\/definitions\/logList" + } + } + }, + "x-appwrite": { + "method": "listLogs", + "group": "logs", + "weight": 246, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/list-logs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-logs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Only supported methods are limit and offset", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + } + }, + "\/users\/{userId}\/memberships": { + "get": { + "summary": "List user memberships", + "operationId": "usersListMemberships", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Get the user membership list by its unique ID.", + "responses": { + "200": { + "description": "Memberships List", + "schema": { + "$ref": "#\/definitions\/membershipList" + } + } + }, + "x-appwrite": { + "method": "listMemberships", + "group": "memberships", + "weight": 245, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/list-memberships.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-memberships.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + } + ] + } + }, + "\/users\/{userId}\/mfa": { + "patch": { + "summary": "Update MFA", + "operationId": "usersUpdateMfa", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Enable or disable MFA on a user account.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updateMfa", + "group": "users", + "weight": 259, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-mfa.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-mfa.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "mfa": { + "type": "boolean", + "description": "Enable or disable MFA.", + "default": null, + "x-example": false + } + }, + "required": [ + "mfa" + ] + } + } + ] + } + }, + "\/users\/{userId}\/mfa\/authenticators\/{type}": { + "delete": { + "summary": "Delete authenticator", + "operationId": "usersDeleteMfaAuthenticator", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "users" + ], + "description": "Delete an authenticator app.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteMfaAuthenticator", + "group": "mfa", + "weight": 264, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/delete-mfa-authenticator.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-mfa-authenticator.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "type", + "description": "Type of authenticator.", + "required": true, + "type": "string", + "x-example": "totp", + "enum": [ + "totp" + ], + "x-enum-name": "AuthenticatorType", + "x-enum-keys": [], + "in": "path" + } + ] + } + }, + "\/users\/{userId}\/mfa\/factors": { + "get": { + "summary": "List factors", + "operationId": "usersListMfaFactors", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "List the factors available on the account to be used as a MFA challange.", + "responses": { + "200": { + "description": "MFAFactors", + "schema": { + "$ref": "#\/definitions\/mfaFactors" + } + } + }, + "x-appwrite": { + "method": "listMfaFactors", + "group": "mfa", + "weight": 260, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/list-mfa-factors.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-mfa-factors.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + } + ] + } + }, + "\/users\/{userId}\/mfa\/recovery-codes": { + "get": { + "summary": "Get MFA recovery codes", + "operationId": "usersGetMfaRecoveryCodes", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Get recovery codes that can be used as backup for MFA flow by User ID. Before getting codes, they must be generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method.", + "responses": { + "200": { + "description": "MFA Recovery Codes", + "schema": { + "$ref": "#\/definitions\/mfaRecoveryCodes" + } + } + }, + "x-appwrite": { + "method": "getMfaRecoveryCodes", + "group": "mfa", + "weight": 261, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/get-mfa-recovery-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-mfa-recovery-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + } + ] + }, + "put": { + "summary": "Update MFA recovery codes (regenerate)", + "operationId": "usersUpdateMfaRecoveryCodes", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Regenerate recovery codes that can be used as backup for MFA flow by User ID. Before regenerating codes, they must be first generated using [createMfaRecoveryCodes](\/docs\/references\/cloud\/client-web\/account#createMfaRecoveryCodes) method.", + "responses": { + "200": { + "description": "MFA Recovery Codes", + "schema": { + "$ref": "#\/definitions\/mfaRecoveryCodes" + } + } + }, + "x-appwrite": { + "method": "updateMfaRecoveryCodes", + "group": "mfa", + "weight": 263, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-mfa-recovery-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-mfa-recovery-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + } + ] + }, + "patch": { + "summary": "Create MFA recovery codes", + "operationId": "usersCreateMfaRecoveryCodes", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Generate recovery codes used as backup for MFA flow for User ID. Recovery codes can be used as a MFA verification type in [createMfaChallenge](\/docs\/references\/cloud\/client-web\/account#createMfaChallenge) method by client SDK.", + "responses": { + "201": { + "description": "MFA Recovery Codes", + "schema": { + "$ref": "#\/definitions\/mfaRecoveryCodes" + } + } + }, + "x-appwrite": { + "method": "createMfaRecoveryCodes", + "group": "mfa", + "weight": 262, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-mfa-recovery-codes.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-mfa-recovery-codes.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + } + ] + } + }, + "\/users\/{userId}\/name": { + "patch": { + "summary": "Update name", + "operationId": "usersUpdateName", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Update the user name by its unique ID.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updateName", + "group": "users", + "weight": 252, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-name.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-name.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "User name. Max length: 128 chars.", + "default": null, + "x-example": "<NAME>" + } + }, + "required": [ + "name" + ] + } + } + ] + } + }, + "\/users\/{userId}\/password": { + "patch": { + "summary": "Update password", + "operationId": "usersUpdatePassword", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Update the user password by its unique ID.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updatePassword", + "group": "users", + "weight": 253, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-password.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-password.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "password": { + "type": "string", + "description": "New user password. Must be at least 8 chars.", + "default": null, + "x-example": null + } + }, + "required": [ + "password" + ] + } + } + ] + } + }, + "\/users\/{userId}\/phone": { + "patch": { + "summary": "Update phone", + "operationId": "usersUpdatePhone", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Update the user phone by its unique ID.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updatePhone", + "group": "users", + "weight": 255, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-phone.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-phone.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "number": { + "type": "string", + "description": "User phone number.", + "default": null, + "x-example": "+12065550100" + } + }, + "required": [ + "number" + ] + } + } + ] + } + }, + "\/users\/{userId}\/prefs": { + "get": { + "summary": "Get user preferences", + "operationId": "usersGetPrefs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Get the user preferences by its unique ID.", + "responses": { + "200": { + "description": "Preferences", + "schema": { + "$ref": "#\/definitions\/preferences" + } + } + }, + "x-appwrite": { + "method": "getPrefs", + "group": "users", + "weight": 242, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/get-prefs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user-prefs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + } + ] + }, + "patch": { + "summary": "Update user preferences", + "operationId": "usersUpdatePrefs", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Update the user preferences by its unique ID. The object you pass is stored as is, and replaces any previous value. The maximum allowed prefs size is 64kB and throws error if exceeded.", + "responses": { + "200": { + "description": "Preferences", + "schema": { + "$ref": "#\/definitions\/preferences" + } + } + }, + "x-appwrite": { + "method": "updatePrefs", + "group": "users", + "weight": 257, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-prefs.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-prefs.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "prefs": { + "type": "object", + "description": "Prefs key-value JSON object.", + "default": {}, + "x-example": "{}" + } + }, + "required": [ + "prefs" + ] + } + } + ] + } + }, + "\/users\/{userId}\/sessions": { + "get": { + "summary": "List user sessions", + "operationId": "usersListSessions", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Get the user sessions list by its unique ID.", + "responses": { + "200": { + "description": "Sessions List", + "schema": { + "$ref": "#\/definitions\/sessionList" + } + } + }, + "x-appwrite": { + "method": "listSessions", + "group": "sessions", + "weight": 244, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/list-sessions.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-sessions.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.read", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + } + ] + }, + "post": { + "summary": "Create session", + "operationId": "usersCreateSession", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Creates a session for a user. Returns an immediately usable session object.\n\nIf you want to generate a token for a custom authentication flow, use the [POST \/users\/{userId}\/tokens](https:\/\/appwrite.io\/docs\/server\/users#createToken) endpoint.", + "responses": { + "201": { + "description": "Session", + "schema": { + "$ref": "#\/definitions\/session" + } + } + }, + "x-appwrite": { + "method": "createSession", + "group": "sessions", + "weight": 265, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-session.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + } + ] + }, + "delete": { + "summary": "Delete user sessions", + "operationId": "usersDeleteSessions", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "users" + ], + "description": "Delete all user's sessions by using the user's unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteSessions", + "group": "sessions", + "weight": 268, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/delete-sessions.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-user-sessions.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + } + ] + } + }, + "\/users\/{userId}\/sessions\/{sessionId}": { + "delete": { + "summary": "Delete user session", + "operationId": "usersDeleteSession", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "users" + ], + "description": "Delete a user sessions by its unique ID.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteSession", + "group": "sessions", + "weight": 267, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/delete-session.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-user-session.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "sessionId", + "description": "Session ID.", + "required": true, + "type": "string", + "x-example": "<SESSION_ID>", + "in": "path" + } + ] + } + }, + "\/users\/{userId}\/status": { + "patch": { + "summary": "Update user status", + "operationId": "usersUpdateStatus", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Update the user status by its unique ID. Use this endpoint as an alternative to deleting a user if you want to keep user's ID reserved.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updateStatus", + "group": "users", + "weight": 249, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-status.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-status.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "status": { + "type": "boolean", + "description": "User Status. To activate the user pass `true` and to block the user pass `false`.", + "default": null, + "x-example": false + } + }, + "required": [ + "status" + ] + } + } + ] + } + }, + "\/users\/{userId}\/targets": { + "get": { + "summary": "List user targets", + "operationId": "usersListTargets", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "List the messaging targets that are associated with a user.", + "responses": { + "200": { + "description": "Target list", + "schema": { + "$ref": "#\/definitions\/targetList" + } + } + }, + "x-appwrite": { + "method": "listTargets", + "group": "targets", + "weight": 247, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/list-targets.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/list-user-targets.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "targets.read", + "platforms": [ + "server", + "console" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "queries", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, email, phone, status, passwordUpdate, registration, emailVerification, phoneVerification, labels", + "required": false, + "type": "array", + "collectionFormat": "multi", + "items": { + "type": "string" + }, + "default": [], + "in": "query" + } + ] + }, + "post": { + "summary": "Create user target", + "operationId": "usersCreateTarget", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Create a messaging target.", + "responses": { + "201": { + "description": "Target", + "schema": { + "$ref": "#\/definitions\/target" + } + } + }, + "x-appwrite": { + "method": "createTarget", + "group": "targets", + "weight": 239, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-target.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-target.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "targets.write", + "platforms": [ + "server", + "console" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "targetId": { + "type": "string", + "description": "Target ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.", + "default": null, + "x-example": "<TARGET_ID>" + }, + "providerType": { + "type": "string", + "description": "The target provider type. Can be one of the following: `email`, `sms` or `push`.", + "default": null, + "x-example": "email", + "enum": [ + "email", + "sms", + "push" + ], + "x-enum-name": "MessagingProviderType", + "x-enum-keys": [] + }, + "identifier": { + "type": "string", + "description": "The target identifier (token, email, phone etc.)", + "default": null, + "x-example": "<IDENTIFIER>" + }, + "providerId": { + "type": "string", + "description": "Provider ID. Message will be sent to this target from the specified provider ID. If no provider ID is set the first setup provider will be used.", + "default": "", + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Target name. Max length: 128 chars. For example: My Awesome App Galaxy S23.", + "default": "", + "x-example": "<NAME>" + } + }, + "required": [ + "targetId", + "providerType", + "identifier" + ] + } + } + ] + } + }, + "\/users\/{userId}\/targets\/{targetId}": { + "get": { + "summary": "Get user target", + "operationId": "usersGetTarget", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Get a user's push notification target by ID.", + "responses": { + "200": { + "description": "Target", + "schema": { + "$ref": "#\/definitions\/target" + } + } + }, + "x-appwrite": { + "method": "getTarget", + "group": "targets", + "weight": 243, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/get-target.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/get-user-target.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "targets.read", + "platforms": [ + "server", + "console" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "targetId", + "description": "Target ID.", + "required": true, + "type": "string", + "x-example": "<TARGET_ID>", + "in": "path" + } + ] + }, + "patch": { + "summary": "Update user target", + "operationId": "usersUpdateTarget", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Update a messaging target.", + "responses": { + "200": { + "description": "Target", + "schema": { + "$ref": "#\/definitions\/target" + } + } + }, + "x-appwrite": { + "method": "updateTarget", + "group": "targets", + "weight": 258, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-target.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-target.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "targets.write", + "platforms": [ + "server", + "console" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "targetId", + "description": "Target ID.", + "required": true, + "type": "string", + "x-example": "<TARGET_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "identifier": { + "type": "string", + "description": "The target identifier (token, email, phone etc.)", + "default": "", + "x-example": "<IDENTIFIER>" + }, + "providerId": { + "type": "string", + "description": "Provider ID. Message will be sent to this target from the specified provider ID. If no provider ID is set the first setup provider will be used.", + "default": "", + "x-example": "<PROVIDER_ID>" + }, + "name": { + "type": "string", + "description": "Target name. Max length: 128 chars. For example: My Awesome App Galaxy S23.", + "default": "", + "x-example": "<NAME>" + } + } + } + } + ] + }, + "delete": { + "summary": "Delete user target", + "operationId": "usersDeleteTarget", + "consumes": [ + "application\/json" + ], + "produces": [], + "tags": [ + "users" + ], + "description": "Delete a messaging target.", + "responses": { + "204": { + "description": "No content" + } + }, + "x-appwrite": { + "method": "deleteTarget", + "group": "targets", + "weight": 270, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/delete-target.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/delete-target.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "targets.write", + "platforms": [ + "server", + "console" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "targetId", + "description": "Target ID.", + "required": true, + "type": "string", + "x-example": "<TARGET_ID>", + "in": "path" + } + ] + } + }, + "\/users\/{userId}\/tokens": { + "post": { + "summary": "Create token", + "operationId": "usersCreateToken", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Returns a token with a secret key for creating a session. Use the user ID and secret and submit a request to the [PUT \/account\/sessions\/token](https:\/\/appwrite.io\/docs\/references\/cloud\/client-web\/account#createSession) endpoint to complete the login process.\n", + "responses": { + "201": { + "description": "Token", + "schema": { + "$ref": "#\/definitions\/token" + } + } + }, + "x-appwrite": { + "method": "createToken", + "group": "sessions", + "weight": 266, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/create-token.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/create-token.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "length": { + "type": "integer", + "description": "Token length in characters. The default length is 6 characters", + "default": 6, + "x-example": 4 + }, + "expire": { + "type": "integer", + "description": "Token expiration period in seconds. The default expiration is 15 minutes.", + "default": 900, + "x-example": 60 + } + } + } + } + ] + } + }, + "\/users\/{userId}\/verification": { + "patch": { + "summary": "Update email verification", + "operationId": "usersUpdateEmailVerification", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Update the user email verification status by its unique ID.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updateEmailVerification", + "group": "users", + "weight": 256, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-email-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-email-verification.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "emailVerification": { + "type": "boolean", + "description": "User email verification status.", + "default": null, + "x-example": false + } + }, + "required": [ + "emailVerification" + ] + } + } + ] + } + }, + "\/users\/{userId}\/verification\/phone": { + "patch": { + "summary": "Update phone verification", + "operationId": "usersUpdatePhoneVerification", + "consumes": [ + "application\/json" + ], + "produces": [ + "application\/json" + ], + "tags": [ + "users" + ], + "description": "Update the user phone verification status by its unique ID.", + "responses": { + "200": { + "description": "User", + "schema": { + "$ref": "#\/definitions\/user" + } + } + }, + "x-appwrite": { + "method": "updatePhoneVerification", + "group": "users", + "weight": 251, + "cookies": false, + "type": "", + "deprecated": false, + "demo": "users\/update-phone-verification.md", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/users\/update-user-phone-verification.md", + "rate-limit": 0, + "rate-time": 3600, + "rate-key": "url:{url},ip:{ip}", + "scope": "users.write", + "platforms": [ + "server" + ], + "packaging": false, + "auth": { + "Project": [], + "Key": [] + } + }, + "security": [ + { + "Project": [], + "Key": [] + } + ], + "parameters": [ + { + "name": "userId", + "description": "User ID.", + "required": true, + "type": "string", + "x-example": "<USER_ID>", + "in": "path" + }, + { + "name": "payload", + "in": "body", + "schema": { + "type": "object", + "properties": { + "phoneVerification": { + "type": "boolean", + "description": "User phone verification status.", + "default": null, + "x-example": false + } + }, + "required": [ + "phoneVerification" + ] + } + } + ] + } + } + }, + "tags": [ + { + "name": "account", + "description": "The Account service allows you to authenticate and manage a user account.", + "x-globalAttributes": [] + }, + { + "name": "avatars", + "description": "The Avatars service aims to help you complete everyday tasks related to your app image, icons, and avatars.", + "x-globalAttributes": [] + }, + { + "name": "databases", + "description": "The Databases service allows you to create structured collections of documents, query and filter lists of documents", + "x-globalAttributes": [ + "databaseId" + ] + }, + { + "name": "locale", + "description": "The Locale service allows you to customize your app based on your users' location.", + "x-globalAttributes": [] + }, + { + "name": "health", + "description": "The Health service allows you to both validate and monitor your Appwrite server's health.", + "x-globalAttributes": [] + }, + { + "name": "projects", + "description": "The Project service allows you to manage all the projects in your Appwrite server.", + "x-globalAttributes": [] + }, + { + "name": "project", + "description": "The Project service allows you to manage all the projects in your Appwrite server.", + "x-globalAttributes": [] + }, + { + "name": "storage", + "description": "The Storage service allows you to manage your project files.", + "x-globalAttributes": [] + }, + { + "name": "teams", + "description": "The Teams service allows you to group users of your project and to enable them to share read and write access to your project resources", + "x-globalAttributes": [] + }, + { + "name": "users", + "description": "The Users service allows you to manage your project users.", + "x-globalAttributes": [] + }, + { + "name": "functions", + "description": "The Functions Service allows you view, create and manage your Cloud Functions.", + "x-globalAttributes": [] + }, + { + "name": "proxy", + "description": "The Proxy Service allows you to configure actions for your domains beyond DNS configuration.", + "x-globalAttributes": [] + }, + { + "name": "graphql", + "description": "The GraphQL API allows you to query and mutate your Appwrite server using GraphQL.", + "x-globalAttributes": [] + }, + { + "name": "console", + "description": "The Console service allows you to interact with console relevant informations.", + "x-globalAttributes": [] + }, + { + "name": "migrations", + "description": "The Migrations service allows you to migrate third-party data to your Appwrite project.", + "x-globalAttributes": [] + }, + { + "name": "messaging", + "description": "The Messaging service allows you to send messages to any provider type (SMTP, push notification, SMS, etc.).", + "x-globalAttributes": [] + } + ], + "definitions": { + "any": { + "description": "Any", + "type": "object", + "additionalProperties": true + }, + "documentList": { + "description": "Documents List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of documents documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "documents": { + "type": "array", + "description": "List of documents.", + "items": { + "type": "object", + "$ref": "#\/definitions\/document" + }, + "x-example": "" + } + }, + "required": [ + "total", + "documents" + ] + }, + "collectionList": { + "description": "Collections List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of collections documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "collections": { + "type": "array", + "description": "List of collections.", + "items": { + "type": "object", + "$ref": "#\/definitions\/collection" + }, + "x-example": "" + } + }, + "required": [ + "total", + "collections" + ] + }, + "databaseList": { + "description": "Databases List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of databases documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "databases": { + "type": "array", + "description": "List of databases.", + "items": { + "type": "object", + "$ref": "#\/definitions\/database" + }, + "x-example": "" + } + }, + "required": [ + "total", + "databases" + ] + }, + "indexList": { + "description": "Indexes List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of indexes documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "indexes": { + "type": "array", + "description": "List of indexes.", + "items": { + "type": "object", + "$ref": "#\/definitions\/index" + }, + "x-example": "" + } + }, + "required": [ + "total", + "indexes" + ] + }, + "userList": { + "description": "Users List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of users documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "users": { + "type": "array", + "description": "List of users.", + "items": { + "type": "object", + "$ref": "#\/definitions\/user" + }, + "x-example": "" + } + }, + "required": [ + "total", + "users" + ] + }, + "sessionList": { + "description": "Sessions List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of sessions documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "sessions": { + "type": "array", + "description": "List of sessions.", + "items": { + "type": "object", + "$ref": "#\/definitions\/session" + }, + "x-example": "" + } + }, + "required": [ + "total", + "sessions" + ] + }, + "identityList": { + "description": "Identities List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of identities documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "identities": { + "type": "array", + "description": "List of identities.", + "items": { + "type": "object", + "$ref": "#\/definitions\/identity" + }, + "x-example": "" + } + }, + "required": [ + "total", + "identities" + ] + }, + "logList": { + "description": "Logs List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of logs documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "logs": { + "type": "array", + "description": "List of logs.", + "items": { + "type": "object", + "$ref": "#\/definitions\/log" + }, + "x-example": "" + } + }, + "required": [ + "total", + "logs" + ] + }, + "fileList": { + "description": "Files List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of files documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "files": { + "type": "array", + "description": "List of files.", + "items": { + "type": "object", + "$ref": "#\/definitions\/file" + }, + "x-example": "" + } + }, + "required": [ + "total", + "files" + ] + }, + "bucketList": { + "description": "Buckets List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of buckets documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "buckets": { + "type": "array", + "description": "List of buckets.", + "items": { + "type": "object", + "$ref": "#\/definitions\/bucket" + }, + "x-example": "" + } + }, + "required": [ + "total", + "buckets" + ] + }, + "teamList": { + "description": "Teams List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of teams documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "teams": { + "type": "array", + "description": "List of teams.", + "items": { + "type": "object", + "$ref": "#\/definitions\/team" + }, + "x-example": "" + } + }, + "required": [ + "total", + "teams" + ] + }, + "membershipList": { + "description": "Memberships List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of memberships documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "memberships": { + "type": "array", + "description": "List of memberships.", + "items": { + "type": "object", + "$ref": "#\/definitions\/membership" + }, + "x-example": "" + } + }, + "required": [ + "total", + "memberships" + ] + }, + "functionList": { + "description": "Functions List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of functions documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "functions": { + "type": "array", + "description": "List of functions.", + "items": { + "type": "object", + "$ref": "#\/definitions\/function" + }, + "x-example": "" + } + }, + "required": [ + "total", + "functions" + ] + }, + "runtimeList": { + "description": "Runtimes List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of runtimes documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "runtimes": { + "type": "array", + "description": "List of runtimes.", + "items": { + "type": "object", + "$ref": "#\/definitions\/runtime" + }, + "x-example": "" + } + }, + "required": [ + "total", + "runtimes" + ] + }, + "deploymentList": { + "description": "Deployments List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of deployments documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "deployments": { + "type": "array", + "description": "List of deployments.", + "items": { + "type": "object", + "$ref": "#\/definitions\/deployment" + }, + "x-example": "" + } + }, + "required": [ + "total", + "deployments" + ] + }, + "executionList": { + "description": "Executions List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of executions documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "executions": { + "type": "array", + "description": "List of executions.", + "items": { + "type": "object", + "$ref": "#\/definitions\/execution" + }, + "x-example": "" + } + }, + "required": [ + "total", + "executions" + ] + }, + "countryList": { + "description": "Countries List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of countries documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "countries": { + "type": "array", + "description": "List of countries.", + "items": { + "type": "object", + "$ref": "#\/definitions\/country" + }, + "x-example": "" + } + }, + "required": [ + "total", + "countries" + ] + }, + "continentList": { + "description": "Continents List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of continents documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "continents": { + "type": "array", + "description": "List of continents.", + "items": { + "type": "object", + "$ref": "#\/definitions\/continent" + }, + "x-example": "" + } + }, + "required": [ + "total", + "continents" + ] + }, + "languageList": { + "description": "Languages List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of languages documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "languages": { + "type": "array", + "description": "List of languages.", + "items": { + "type": "object", + "$ref": "#\/definitions\/language" + }, + "x-example": "" + } + }, + "required": [ + "total", + "languages" + ] + }, + "currencyList": { + "description": "Currencies List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of currencies documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "currencies": { + "type": "array", + "description": "List of currencies.", + "items": { + "type": "object", + "$ref": "#\/definitions\/currency" + }, + "x-example": "" + } + }, + "required": [ + "total", + "currencies" + ] + }, + "phoneList": { + "description": "Phones List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of phones documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "phones": { + "type": "array", + "description": "List of phones.", + "items": { + "type": "object", + "$ref": "#\/definitions\/phone" + }, + "x-example": "" + } + }, + "required": [ + "total", + "phones" + ] + }, + "variableList": { + "description": "Variables List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of variables documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "variables": { + "type": "array", + "description": "List of variables.", + "items": { + "type": "object", + "$ref": "#\/definitions\/variable" + }, + "x-example": "" + } + }, + "required": [ + "total", + "variables" + ] + }, + "localeCodeList": { + "description": "Locale codes list", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of localeCodes documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "localeCodes": { + "type": "array", + "description": "List of localeCodes.", + "items": { + "type": "object", + "$ref": "#\/definitions\/localeCode" + }, + "x-example": "" + } + }, + "required": [ + "total", + "localeCodes" + ] + }, + "providerList": { + "description": "Provider list", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of providers documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "providers": { + "type": "array", + "description": "List of providers.", + "items": { + "type": "object", + "$ref": "#\/definitions\/provider" + }, + "x-example": "" + } + }, + "required": [ + "total", + "providers" + ] + }, + "messageList": { + "description": "Message list", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of messages documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "messages": { + "type": "array", + "description": "List of messages.", + "items": { + "type": "object", + "$ref": "#\/definitions\/message" + }, + "x-example": "" + } + }, + "required": [ + "total", + "messages" + ] + }, + "topicList": { + "description": "Topic list", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of topics documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "topics": { + "type": "array", + "description": "List of topics.", + "items": { + "type": "object", + "$ref": "#\/definitions\/topic" + }, + "x-example": "" + } + }, + "required": [ + "total", + "topics" + ] + }, + "subscriberList": { + "description": "Subscriber list", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of subscribers documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "subscribers": { + "type": "array", + "description": "List of subscribers.", + "items": { + "type": "object", + "$ref": "#\/definitions\/subscriber" + }, + "x-example": "" + } + }, + "required": [ + "total", + "subscribers" + ] + }, + "targetList": { + "description": "Target list", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of targets documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "targets": { + "type": "array", + "description": "List of targets.", + "items": { + "type": "object", + "$ref": "#\/definitions\/target" + }, + "x-example": "" + } + }, + "required": [ + "total", + "targets" + ] + }, + "specificationList": { + "description": "Specifications List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of specifications documents that matched your query.", + "x-example": 5, + "format": "int32" + }, + "specifications": { + "type": "array", + "description": "List of specifications.", + "items": { + "type": "object", + "$ref": "#\/definitions\/specification" + }, + "x-example": "" + } + }, + "required": [ + "total", + "specifications" + ] + }, + "database": { + "description": "Database", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Database ID.", + "x-example": "5e5ea5c16897e" + }, + "name": { + "type": "string", + "description": "Database name.", + "x-example": "My Database" + }, + "$createdAt": { + "type": "string", + "description": "Database creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Database update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "enabled": { + "type": "boolean", + "description": "If database is enabled. Can be 'enabled' or 'disabled'. When disabled, the database is inaccessible to users, but remains accessible to Server SDKs using API keys.", + "x-example": false + } + }, + "required": [ + "$id", + "name", + "$createdAt", + "$updatedAt", + "enabled" + ] + }, + "collection": { + "description": "Collection", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Collection ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Collection creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Collection update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$permissions": { + "type": "array", + "description": "Collection permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "items": { + "type": "string" + }, + "x-example": [ + "read(\"any\")" + ] + }, + "databaseId": { + "type": "string", + "description": "Database ID.", + "x-example": "5e5ea5c16897e" + }, + "name": { + "type": "string", + "description": "Collection name.", + "x-example": "My Collection" + }, + "enabled": { + "type": "boolean", + "description": "Collection enabled. Can be 'enabled' or 'disabled'. When disabled, the collection is inaccessible to users, but remains accessible to Server SDKs using API keys.", + "x-example": false + }, + "documentSecurity": { + "type": "boolean", + "description": "Whether document-level permissions are enabled. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": true + }, + "attributes": { + "type": "array", + "description": "Collection attributes.", + "items": { + "x-anyOf": [ + { + "$ref": "#\/definitions\/attributeBoolean" + }, + { + "$ref": "#\/definitions\/attributeInteger" + }, + { + "$ref": "#\/definitions\/attributeFloat" + }, + { + "$ref": "#\/definitions\/attributeEmail" + }, + { + "$ref": "#\/definitions\/attributeEnum" + }, + { + "$ref": "#\/definitions\/attributeUrl" + }, + { + "$ref": "#\/definitions\/attributeIp" + }, + { + "$ref": "#\/definitions\/attributeDatetime" + }, + { + "$ref": "#\/definitions\/attributeRelationship" + }, + { + "$ref": "#\/definitions\/attributeString" + } + ] + }, + "x-example": {} + }, + "indexes": { + "type": "array", + "description": "Collection indexes.", + "items": { + "type": "object", + "$ref": "#\/definitions\/index" + }, + "x-example": {} + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "$permissions", + "databaseId", + "name", + "enabled", + "documentSecurity", + "attributes", + "indexes" + ] + }, + "attributeList": { + "description": "Attributes List", + "type": "object", + "properties": { + "total": { + "type": "integer", + "description": "Total number of attributes in the given collection.", + "x-example": 5, + "format": "int32" + }, + "attributes": { + "type": "array", + "description": "List of attributes.", + "items": { + "x-anyOf": [ + { + "$ref": "#\/definitions\/attributeBoolean" + }, + { + "$ref": "#\/definitions\/attributeInteger" + }, + { + "$ref": "#\/definitions\/attributeFloat" + }, + { + "$ref": "#\/definitions\/attributeEmail" + }, + { + "$ref": "#\/definitions\/attributeEnum" + }, + { + "$ref": "#\/definitions\/attributeUrl" + }, + { + "$ref": "#\/definitions\/attributeIp" + }, + { + "$ref": "#\/definitions\/attributeDatetime" + }, + { + "$ref": "#\/definitions\/attributeRelationship" + }, + { + "$ref": "#\/definitions\/attributeString" + } + ] + }, + "x-example": "" + } + }, + "required": [ + "total", + "attributes" + ] + }, + "attributeString": { + "description": "AttributeString", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "fullName" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "string" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "x-nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "size": { + "type": "integer", + "description": "Attribute size.", + "x-example": 128, + "format": "int32" + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "default", + "x-nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt", + "size" + ] + }, + "attributeInteger": { + "description": "AttributeInteger", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "count" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "integer" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "x-nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "min": { + "type": "integer", + "description": "Minimum value to enforce for new documents.", + "x-example": 1, + "format": "int32", + "x-nullable": true + }, + "max": { + "type": "integer", + "description": "Maximum value to enforce for new documents.", + "x-example": 10, + "format": "int32", + "x-nullable": true + }, + "default": { + "type": "integer", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": 10, + "format": "int32", + "x-nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt" + ] + }, + "attributeFloat": { + "description": "AttributeFloat", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "percentageCompleted" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "double" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "x-nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "min": { + "type": "number", + "description": "Minimum value to enforce for new documents.", + "x-example": 1.5, + "format": "double", + "x-nullable": true + }, + "max": { + "type": "number", + "description": "Maximum value to enforce for new documents.", + "x-example": 10.5, + "format": "double", + "x-nullable": true + }, + "default": { + "type": "number", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": 2.5, + "format": "double", + "x-nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt" + ] + }, + "attributeBoolean": { + "description": "AttributeBoolean", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "isEnabled" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "boolean" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "x-nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "default": { + "type": "boolean", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": false, + "x-nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt" + ] + }, + "attributeEmail": { + "description": "AttributeEmail", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "userEmail" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "string" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "x-nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "format": { + "type": "string", + "description": "String format.", + "x-example": "email" + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "default@example.com", + "x-nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt", + "format" + ] + }, + "attributeEnum": { + "description": "AttributeEnum", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "status" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "string" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "x-nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "elements": { + "type": "array", + "description": "Array of elements in enumerated type.", + "items": { + "type": "string" + }, + "x-example": "element" + }, + "format": { + "type": "string", + "description": "String format.", + "x-example": "enum" + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "element", + "x-nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt", + "elements", + "format" + ] + }, + "attributeIp": { + "description": "AttributeIP", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "ipAddress" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "string" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "x-nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "format": { + "type": "string", + "description": "String format.", + "x-example": "ip" + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "192.0.2.0", + "x-nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt", + "format" + ] + }, + "attributeUrl": { + "description": "AttributeURL", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "githubUrl" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "string" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "x-nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "format": { + "type": "string", + "description": "String format.", + "x-example": "url" + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "x-example": "http:\/\/example.com", + "x-nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt", + "format" + ] + }, + "attributeDatetime": { + "description": "AttributeDatetime", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "birthDay" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "datetime" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "x-nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "format": { + "type": "string", + "description": "ISO 8601 format.", + "x-example": "datetime" + }, + "default": { + "type": "string", + "description": "Default value for attribute when not provided. Only null is optional", + "x-example": "2020-10-15T06:38:00.000+00:00", + "x-nullable": true + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt", + "format" + ] + }, + "attributeRelationship": { + "description": "AttributeRelationship", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Attribute Key.", + "x-example": "fullName" + }, + "type": { + "type": "string", + "description": "Attribute type.", + "x-example": "string" + }, + "status": { + "type": "string", + "description": "Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an attribute.", + "x-example": "string" + }, + "required": { + "type": "boolean", + "description": "Is attribute required?", + "x-example": true + }, + "array": { + "type": "boolean", + "description": "Is attribute an array?", + "x-example": false, + "x-nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Attribute creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Attribute update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "relatedCollection": { + "type": "string", + "description": "The ID of the related collection.", + "x-example": "collection" + }, + "relationType": { + "type": "string", + "description": "The type of the relationship.", + "x-example": "oneToOne|oneToMany|manyToOne|manyToMany" + }, + "twoWay": { + "type": "boolean", + "description": "Is the relationship two-way?", + "x-example": false + }, + "twoWayKey": { + "type": "string", + "description": "The key of the two-way relationship.", + "x-example": "string" + }, + "onDelete": { + "type": "string", + "description": "How deleting the parent document will propagate to child documents.", + "x-example": "restrict|cascade|setNull" + }, + "side": { + "type": "string", + "description": "Whether this is the parent or child side of the relationship", + "x-example": "parent|child" + } + }, + "required": [ + "key", + "type", + "status", + "error", + "required", + "$createdAt", + "$updatedAt", + "relatedCollection", + "relationType", + "twoWay", + "twoWayKey", + "onDelete", + "side" + ] + }, + "index": { + "description": "Index", + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Index Key.", + "x-example": "index1" + }, + "type": { + "type": "string", + "description": "Index type.", + "x-example": "primary" + }, + "status": { + "type": "string", + "description": "Index status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`", + "x-example": "available" + }, + "error": { + "type": "string", + "description": "Error message. Displays error generated on failure of creating or deleting an index.", + "x-example": "string" + }, + "attributes": { + "type": "array", + "description": "Index attributes.", + "items": { + "type": "string" + }, + "x-example": [] + }, + "orders": { + "type": "array", + "description": "Index orders.", + "items": { + "type": "string" + }, + "x-example": [], + "x-nullable": true + }, + "$createdAt": { + "type": "string", + "description": "Index creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Index update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + } + }, + "required": [ + "key", + "type", + "status", + "error", + "attributes", + "$createdAt", + "$updatedAt" + ] + }, + "document": { + "description": "Document", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Document ID.", + "x-example": "5e5ea5c16897e" + }, + "$collectionId": { + "type": "string", + "description": "Collection ID.", + "x-example": "5e5ea5c15117e" + }, + "$databaseId": { + "type": "string", + "description": "Database ID.", + "x-example": "5e5ea5c15117e" + }, + "$createdAt": { + "type": "string", + "description": "Document creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Document update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$permissions": { + "type": "array", + "description": "Document permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "items": { + "type": "string" + }, + "x-example": [ + "read(\"any\")" + ] + } + }, + "additionalProperties": true, + "required": [ + "$id", + "$collectionId", + "$databaseId", + "$createdAt", + "$updatedAt", + "$permissions" + ] + }, + "log": { + "description": "Log", + "type": "object", + "properties": { + "event": { + "type": "string", + "description": "Event name.", + "x-example": "account.sessions.create" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "610fc2f985ee0" + }, + "userEmail": { + "type": "string", + "description": "User Email.", + "x-example": "john@appwrite.io" + }, + "userName": { + "type": "string", + "description": "User Name.", + "x-example": "John Doe" + }, + "mode": { + "type": "string", + "description": "API mode when event triggered.", + "x-example": "admin" + }, + "ip": { + "type": "string", + "description": "IP session in use when the session was created.", + "x-example": "127.0.0.1" + }, + "time": { + "type": "string", + "description": "Log creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "osCode": { + "type": "string", + "description": "Operating system code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/os.json).", + "x-example": "Mac" + }, + "osName": { + "type": "string", + "description": "Operating system name.", + "x-example": "Mac" + }, + "osVersion": { + "type": "string", + "description": "Operating system version.", + "x-example": "Mac" + }, + "clientType": { + "type": "string", + "description": "Client type.", + "x-example": "browser" + }, + "clientCode": { + "type": "string", + "description": "Client code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/clients.json).", + "x-example": "CM" + }, + "clientName": { + "type": "string", + "description": "Client name.", + "x-example": "Chrome Mobile iOS" + }, + "clientVersion": { + "type": "string", + "description": "Client version.", + "x-example": "84.0" + }, + "clientEngine": { + "type": "string", + "description": "Client engine name.", + "x-example": "WebKit" + }, + "clientEngineVersion": { + "type": "string", + "description": "Client engine name.", + "x-example": "605.1.15" + }, + "deviceName": { + "type": "string", + "description": "Device name.", + "x-example": "smartphone" + }, + "deviceBrand": { + "type": "string", + "description": "Device brand name.", + "x-example": "Google" + }, + "deviceModel": { + "type": "string", + "description": "Device model name.", + "x-example": "Nexus 5" + }, + "countryCode": { + "type": "string", + "description": "Country two-character ISO 3166-1 alpha code.", + "x-example": "US" + }, + "countryName": { + "type": "string", + "description": "Country name.", + "x-example": "United States" + } + }, + "required": [ + "event", + "userId", + "userEmail", + "userName", + "mode", + "ip", + "time", + "osCode", + "osName", + "osVersion", + "clientType", + "clientCode", + "clientName", + "clientVersion", + "clientEngine", + "clientEngineVersion", + "deviceName", + "deviceBrand", + "deviceModel", + "countryCode", + "countryName" + ] + }, + "user": { + "description": "User", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "User ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "User creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "User update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "User name.", + "x-example": "John Doe" + }, + "password": { + "type": "string", + "description": "Hashed user password.", + "x-example": "$argon2id$v=19$m=2048,t=4,p=3$aUZjLnliVWRINmFNTWMudg$5S+x+7uA31xFnrHFT47yFwcJeaP0w92L\/4LdgrVRXxE", + "x-nullable": true + }, + "hash": { + "type": "string", + "description": "Password hashing algorithm.", + "x-example": "argon2", + "x-nullable": true + }, + "hashOptions": { + "type": "object", + "description": "Password hashing algorithm configuration.", + "x-example": {}, + "items": { + "x-oneOf": [ + { + "$ref": "#\/definitions\/algoArgon2" + }, + { + "$ref": "#\/definitions\/algoScrypt" + }, + { + "$ref": "#\/definitions\/algoScryptModified" + }, + { + "$ref": "#\/definitions\/algoBcrypt" + }, + { + "$ref": "#\/definitions\/algoPhpass" + }, + { + "$ref": "#\/definitions\/algoSha" + }, + { + "$ref": "#\/definitions\/algoMd5" + } + ] + }, + "x-nullable": true + }, + "registration": { + "type": "string", + "description": "User registration date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "status": { + "type": "boolean", + "description": "User status. Pass `true` for enabled and `false` for disabled.", + "x-example": true + }, + "labels": { + "type": "array", + "description": "Labels for the user.", + "items": { + "type": "string" + }, + "x-example": [ + "vip" + ] + }, + "passwordUpdate": { + "type": "string", + "description": "Password update time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "email": { + "type": "string", + "description": "User email address.", + "x-example": "john@appwrite.io" + }, + "phone": { + "type": "string", + "description": "User phone number in E.164 format.", + "x-example": "+4930901820" + }, + "emailVerification": { + "type": "boolean", + "description": "Email verification status.", + "x-example": true + }, + "phoneVerification": { + "type": "boolean", + "description": "Phone verification status.", + "x-example": true + }, + "mfa": { + "type": "boolean", + "description": "Multi factor authentication status.", + "x-example": true + }, + "prefs": { + "type": "object", + "description": "User preferences as a key-value object", + "x-example": { + "theme": "pink", + "timezone": "UTC" + }, + "items": { + "type": "object", + "$ref": "#\/definitions\/preferences" + } + }, + "targets": { + "type": "array", + "description": "A user-owned message receiver. A single user may have multiple e.g. emails, phones, and a browser. Each target is registered with a single provider.", + "items": { + "type": "object", + "$ref": "#\/definitions\/target" + }, + "x-example": [] + }, + "accessedAt": { + "type": "string", + "description": "Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.", + "x-example": "2020-10-15T06:38:00.000+00:00" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "registration", + "status", + "labels", + "passwordUpdate", + "email", + "phone", + "emailVerification", + "phoneVerification", + "mfa", + "prefs", + "targets", + "accessedAt" + ] + }, + "algoMd5": { + "description": "AlgoMD5", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "md5" + } + }, + "required": [ + "type" + ] + }, + "algoSha": { + "description": "AlgoSHA", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "sha" + } + }, + "required": [ + "type" + ] + }, + "algoPhpass": { + "description": "AlgoPHPass", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "phpass" + } + }, + "required": [ + "type" + ] + }, + "algoBcrypt": { + "description": "AlgoBcrypt", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "bcrypt" + } + }, + "required": [ + "type" + ] + }, + "algoScrypt": { + "description": "AlgoScrypt", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "scrypt" + }, + "costCpu": { + "type": "integer", + "description": "CPU complexity of computed hash.", + "x-example": 8, + "format": "int32" + }, + "costMemory": { + "type": "integer", + "description": "Memory complexity of computed hash.", + "x-example": 14, + "format": "int32" + }, + "costParallel": { + "type": "integer", + "description": "Parallelization of computed hash.", + "x-example": 1, + "format": "int32" + }, + "length": { + "type": "integer", + "description": "Length used to compute hash.", + "x-example": 64, + "format": "int32" + } + }, + "required": [ + "type", + "costCpu", + "costMemory", + "costParallel", + "length" + ] + }, + "algoScryptModified": { + "description": "AlgoScryptModified", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "scryptMod" + }, + "salt": { + "type": "string", + "description": "Salt used to compute hash.", + "x-example": "UxLMreBr6tYyjQ==" + }, + "saltSeparator": { + "type": "string", + "description": "Separator used to compute hash.", + "x-example": "Bw==" + }, + "signerKey": { + "type": "string", + "description": "Key used to compute hash.", + "x-example": "XyEKE9RcTDeLEsL\/RjwPDBv\/RqDl8fb3gpYEOQaPihbxf1ZAtSOHCjuAAa7Q3oHpCYhXSN9tizHgVOwn6krflQ==" + } + }, + "required": [ + "type", + "salt", + "saltSeparator", + "signerKey" + ] + }, + "algoArgon2": { + "description": "AlgoArgon2", + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Algo type.", + "x-example": "argon2" + }, + "memoryCost": { + "type": "integer", + "description": "Memory used to compute hash.", + "x-example": 65536, + "format": "int32" + }, + "timeCost": { + "type": "integer", + "description": "Amount of time consumed to compute hash", + "x-example": 4, + "format": "int32" + }, + "threads": { + "type": "integer", + "description": "Number of threads used to compute hash.", + "x-example": 3, + "format": "int32" + } + }, + "required": [ + "type", + "memoryCost", + "timeCost", + "threads" + ] + }, + "preferences": { + "description": "Preferences", + "type": "object", + "additionalProperties": true + }, + "session": { + "description": "Session", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Session ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Session creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Session update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "5e5bb8c16897e" + }, + "expire": { + "type": "string", + "description": "Session expiration date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "provider": { + "type": "string", + "description": "Session Provider.", + "x-example": "email" + }, + "providerUid": { + "type": "string", + "description": "Session Provider User ID.", + "x-example": "user@example.com" + }, + "providerAccessToken": { + "type": "string", + "description": "Session Provider Access Token.", + "x-example": "MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3" + }, + "providerAccessTokenExpiry": { + "type": "string", + "description": "The date of when the access token expires in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "providerRefreshToken": { + "type": "string", + "description": "Session Provider Refresh Token.", + "x-example": "MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3" + }, + "ip": { + "type": "string", + "description": "IP in use when the session was created.", + "x-example": "127.0.0.1" + }, + "osCode": { + "type": "string", + "description": "Operating system code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/os.json).", + "x-example": "Mac" + }, + "osName": { + "type": "string", + "description": "Operating system name.", + "x-example": "Mac" + }, + "osVersion": { + "type": "string", + "description": "Operating system version.", + "x-example": "Mac" + }, + "clientType": { + "type": "string", + "description": "Client type.", + "x-example": "browser" + }, + "clientCode": { + "type": "string", + "description": "Client code name. View list of [available options](https:\/\/github.com\/appwrite\/appwrite\/blob\/master\/docs\/lists\/clients.json).", + "x-example": "CM" + }, + "clientName": { + "type": "string", + "description": "Client name.", + "x-example": "Chrome Mobile iOS" + }, + "clientVersion": { + "type": "string", + "description": "Client version.", + "x-example": "84.0" + }, + "clientEngine": { + "type": "string", + "description": "Client engine name.", + "x-example": "WebKit" + }, + "clientEngineVersion": { + "type": "string", + "description": "Client engine name.", + "x-example": "605.1.15" + }, + "deviceName": { + "type": "string", + "description": "Device name.", + "x-example": "smartphone" + }, + "deviceBrand": { + "type": "string", + "description": "Device brand name.", + "x-example": "Google" + }, + "deviceModel": { + "type": "string", + "description": "Device model name.", + "x-example": "Nexus 5" + }, + "countryCode": { + "type": "string", + "description": "Country two-character ISO 3166-1 alpha code.", + "x-example": "US" + }, + "countryName": { + "type": "string", + "description": "Country name.", + "x-example": "United States" + }, + "current": { + "type": "boolean", + "description": "Returns true if this the current user session.", + "x-example": true + }, + "factors": { + "type": "array", + "description": "Returns a list of active session factors.", + "items": { + "type": "string" + }, + "x-example": [ + "email" + ] + }, + "secret": { + "type": "string", + "description": "Secret used to authenticate the user. Only included if the request was made with an API key", + "x-example": "5e5bb8c16897e" + }, + "mfaUpdatedAt": { + "type": "string", + "description": "Most recent date in ISO 8601 format when the session successfully passed MFA challenge.", + "x-example": "2020-10-15T06:38:00.000+00:00" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "userId", + "expire", + "provider", + "providerUid", + "providerAccessToken", + "providerAccessTokenExpiry", + "providerRefreshToken", + "ip", + "osCode", + "osName", + "osVersion", + "clientType", + "clientCode", + "clientName", + "clientVersion", + "clientEngine", + "clientEngineVersion", + "deviceName", + "deviceBrand", + "deviceModel", + "countryCode", + "countryName", + "current", + "factors", + "secret", + "mfaUpdatedAt" + ] + }, + "identity": { + "description": "Identity", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Identity ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Identity creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Identity update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "5e5bb8c16897e" + }, + "provider": { + "type": "string", + "description": "Identity Provider.", + "x-example": "email" + }, + "providerUid": { + "type": "string", + "description": "ID of the User in the Identity Provider.", + "x-example": "5e5bb8c16897e" + }, + "providerEmail": { + "type": "string", + "description": "Email of the User in the Identity Provider.", + "x-example": "user@example.com" + }, + "providerAccessToken": { + "type": "string", + "description": "Identity Provider Access Token.", + "x-example": "MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3" + }, + "providerAccessTokenExpiry": { + "type": "string", + "description": "The date of when the access token expires in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "providerRefreshToken": { + "type": "string", + "description": "Identity Provider Refresh Token.", + "x-example": "MTQ0NjJkZmQ5OTM2NDE1ZTZjNGZmZjI3" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "userId", + "provider", + "providerUid", + "providerEmail", + "providerAccessToken", + "providerAccessTokenExpiry", + "providerRefreshToken" + ] + }, + "token": { + "description": "Token", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Token ID.", + "x-example": "bb8ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Token creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "5e5ea5c168bb8" + }, + "secret": { + "type": "string", + "description": "Token secret key. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.", + "x-example": "" + }, + "expire": { + "type": "string", + "description": "Token expiration date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "phrase": { + "type": "string", + "description": "Security phrase of a token. Empty if security phrase was not requested when creating a token. It includes randomly generated phrase which is also sent in the external resource such as email.", + "x-example": "Golden Fox" + } + }, + "required": [ + "$id", + "$createdAt", + "userId", + "secret", + "expire", + "phrase" + ] + }, + "jwt": { + "description": "JWT", + "type": "object", + "properties": { + "jwt": { + "type": "string", + "description": "JWT encoded string.", + "x-example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c" + } + }, + "required": [ + "jwt" + ] + }, + "locale": { + "description": "Locale", + "type": "object", + "properties": { + "ip": { + "type": "string", + "description": "User IP address.", + "x-example": "127.0.0.1" + }, + "countryCode": { + "type": "string", + "description": "Country code in [ISO 3166-1](http:\/\/en.wikipedia.org\/wiki\/ISO_3166-1) two-character format", + "x-example": "US" + }, + "country": { + "type": "string", + "description": "Country name. This field support localization.", + "x-example": "United States" + }, + "continentCode": { + "type": "string", + "description": "Continent code. A two character continent code \"AF\" for Africa, \"AN\" for Antarctica, \"AS\" for Asia, \"EU\" for Europe, \"NA\" for North America, \"OC\" for Oceania, and \"SA\" for South America.", + "x-example": "NA" + }, + "continent": { + "type": "string", + "description": "Continent name. This field support localization.", + "x-example": "North America" + }, + "eu": { + "type": "boolean", + "description": "True if country is part of the European Union.", + "x-example": false + }, + "currency": { + "type": "string", + "description": "Currency code in [ISO 4217-1](http:\/\/en.wikipedia.org\/wiki\/ISO_4217) three-character format", + "x-example": "USD" + } + }, + "required": [ + "ip", + "countryCode", + "country", + "continentCode", + "continent", + "eu", + "currency" + ] + }, + "localeCode": { + "description": "LocaleCode", + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Locale codes in [ISO 639-1](https:\/\/en.wikipedia.org\/wiki\/List_of_ISO_639-1_codes)", + "x-example": "en-us" + }, + "name": { + "type": "string", + "description": "Locale name", + "x-example": "US" + } + }, + "required": [ + "code", + "name" + ] + }, + "file": { + "description": "File", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "File ID.", + "x-example": "5e5ea5c16897e" + }, + "bucketId": { + "type": "string", + "description": "Bucket ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "File creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "File update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$permissions": { + "type": "array", + "description": "File permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "items": { + "type": "string" + }, + "x-example": [ + "read(\"any\")" + ] + }, + "name": { + "type": "string", + "description": "File name.", + "x-example": "Pink.png" + }, + "signature": { + "type": "string", + "description": "File MD5 signature.", + "x-example": "5d529fd02b544198ae075bd57c1762bb" + }, + "mimeType": { + "type": "string", + "description": "File mime type.", + "x-example": "image\/png" + }, + "sizeOriginal": { + "type": "integer", + "description": "File original size in bytes.", + "x-example": 17890, + "format": "int32" + }, + "chunksTotal": { + "type": "integer", + "description": "Total number of chunks available", + "x-example": 17890, + "format": "int32" + }, + "chunksUploaded": { + "type": "integer", + "description": "Total number of chunks uploaded", + "x-example": 17890, + "format": "int32" + } + }, + "required": [ + "$id", + "bucketId", + "$createdAt", + "$updatedAt", + "$permissions", + "name", + "signature", + "mimeType", + "sizeOriginal", + "chunksTotal", + "chunksUploaded" + ] + }, + "bucket": { + "description": "Bucket", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Bucket ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Bucket creation time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Bucket update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$permissions": { + "type": "array", + "description": "Bucket permissions. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "items": { + "type": "string" + }, + "x-example": [ + "read(\"any\")" + ] + }, + "fileSecurity": { + "type": "boolean", + "description": "Whether file-level security is enabled. [Learn more about permissions](https:\/\/appwrite.io\/docs\/permissions).", + "x-example": true + }, + "name": { + "type": "string", + "description": "Bucket name.", + "x-example": "Documents" + }, + "enabled": { + "type": "boolean", + "description": "Bucket enabled.", + "x-example": false + }, + "maximumFileSize": { + "type": "integer", + "description": "Maximum file size supported.", + "x-example": 100, + "format": "int32" + }, + "allowedFileExtensions": { + "type": "array", + "description": "Allowed file extensions.", + "items": { + "type": "string" + }, + "x-example": [ + "jpg", + "png" + ] + }, + "compression": { + "type": "string", + "description": "Compression algorithm choosen for compression. Will be one of none, [gzip](https:\/\/en.wikipedia.org\/wiki\/Gzip), or [zstd](https:\/\/en.wikipedia.org\/wiki\/Zstd).", + "x-example": "gzip" + }, + "encryption": { + "type": "boolean", + "description": "Bucket is encrypted.", + "x-example": false + }, + "antivirus": { + "type": "boolean", + "description": "Virus scanning is enabled.", + "x-example": false + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "$permissions", + "fileSecurity", + "name", + "enabled", + "maximumFileSize", + "allowedFileExtensions", + "compression", + "encryption", + "antivirus" + ] + }, + "team": { + "description": "Team", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Team ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Team creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Team update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "Team name.", + "x-example": "VIP" + }, + "total": { + "type": "integer", + "description": "Total number of team members.", + "x-example": 7, + "format": "int32" + }, + "prefs": { + "type": "object", + "description": "Team preferences as a key-value object", + "x-example": { + "theme": "pink", + "timezone": "UTC" + }, + "items": { + "type": "object", + "$ref": "#\/definitions\/preferences" + } + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "total", + "prefs" + ] + }, + "membership": { + "description": "Membership", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Membership ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Membership creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Membership update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "5e5ea5c16897e" + }, + "userName": { + "type": "string", + "description": "User name. Hide this attribute by toggling membership privacy in the Console.", + "x-example": "John Doe" + }, + "userEmail": { + "type": "string", + "description": "User email address. Hide this attribute by toggling membership privacy in the Console.", + "x-example": "john@appwrite.io" + }, + "teamId": { + "type": "string", + "description": "Team ID.", + "x-example": "5e5ea5c16897e" + }, + "teamName": { + "type": "string", + "description": "Team name.", + "x-example": "VIP" + }, + "invited": { + "type": "string", + "description": "Date, the user has been invited to join the team in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "joined": { + "type": "string", + "description": "Date, the user has accepted the invitation to join the team in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "confirm": { + "type": "boolean", + "description": "User confirmation status, true if the user has joined the team or false otherwise.", + "x-example": false + }, + "mfa": { + "type": "boolean", + "description": "Multi factor authentication status, true if the user has MFA enabled or false otherwise. Hide this attribute by toggling membership privacy in the Console.", + "x-example": false + }, + "roles": { + "type": "array", + "description": "User list of roles", + "items": { + "type": "string" + }, + "x-example": [ + "owner" + ] + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "userId", + "userName", + "userEmail", + "teamId", + "teamName", + "invited", + "joined", + "confirm", + "mfa", + "roles" + ] + }, + "function": { + "description": "Function", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Function ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Function creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Function update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "execute": { + "type": "array", + "description": "Execution permissions.", + "items": { + "type": "string" + }, + "x-example": "users" + }, + "name": { + "type": "string", + "description": "Function name.", + "x-example": "My Function" + }, + "enabled": { + "type": "boolean", + "description": "Function enabled.", + "x-example": false + }, + "live": { + "type": "boolean", + "description": "Is the function deployed with the latest configuration? This is set to false if you've changed an environment variables, entrypoint, commands, or other settings that needs redeploy to be applied. When the value is false, redeploy the function to update it with the latest configuration.", + "x-example": false + }, + "logging": { + "type": "boolean", + "description": "Whether executions will be logged. When set to false, executions will not be logged, but will reduce resource used by your Appwrite project.", + "x-example": false + }, + "runtime": { + "type": "string", + "description": "Function execution runtime.", + "x-example": "python-3.8" + }, + "deployment": { + "type": "string", + "description": "Function's active deployment ID.", + "x-example": "5e5ea5c16897e" + }, + "scopes": { + "type": "array", + "description": "Allowed permission scopes.", + "items": { + "type": "string" + }, + "x-example": "users.read" + }, + "vars": { + "type": "array", + "description": "Function variables.", + "items": { + "type": "object", + "$ref": "#\/definitions\/variable" + }, + "x-example": [] + }, + "events": { + "type": "array", + "description": "Function trigger events.", + "items": { + "type": "string" + }, + "x-example": "account.create" + }, + "schedule": { + "type": "string", + "description": "Function execution schedule in CRON format.", + "x-example": "5 4 * * *" + }, + "timeout": { + "type": "integer", + "description": "Function execution timeout in seconds.", + "x-example": 300, + "format": "int32" + }, + "entrypoint": { + "type": "string", + "description": "The entrypoint file used to execute the deployment.", + "x-example": "index.js" + }, + "commands": { + "type": "string", + "description": "The build command used to build the deployment.", + "x-example": "npm install" + }, + "version": { + "type": "string", + "description": "Version of Open Runtimes used for the function.", + "x-example": "v2" + }, + "installationId": { + "type": "string", + "description": "Function VCS (Version Control System) installation id.", + "x-example": "6m40at4ejk5h2u9s1hboo" + }, + "providerRepositoryId": { + "type": "string", + "description": "VCS (Version Control System) Repository ID", + "x-example": "appwrite" + }, + "providerBranch": { + "type": "string", + "description": "VCS (Version Control System) branch name", + "x-example": "main" + }, + "providerRootDirectory": { + "type": "string", + "description": "Path to function in VCS (Version Control System) repository", + "x-example": "functions\/helloWorld" + }, + "providerSilentMode": { + "type": "boolean", + "description": "Is VCS (Version Control System) connection is in silent mode? When in silence mode, no comments will be posted on the repository pull or merge requests", + "x-example": false + }, + "specification": { + "type": "string", + "description": "Machine specification for builds and executions.", + "x-example": "s-1vcpu-512mb" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "execute", + "name", + "enabled", + "live", + "logging", + "runtime", + "deployment", + "scopes", + "vars", + "events", + "schedule", + "timeout", + "entrypoint", + "commands", + "version", + "installationId", + "providerRepositoryId", + "providerBranch", + "providerRootDirectory", + "providerSilentMode", + "specification" + ] + }, + "runtime": { + "description": "Runtime", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Runtime ID.", + "x-example": "python-3.8" + }, + "key": { + "type": "string", + "description": "Parent runtime key.", + "x-example": "python" + }, + "name": { + "type": "string", + "description": "Runtime Name.", + "x-example": "Python" + }, + "version": { + "type": "string", + "description": "Runtime version.", + "x-example": "3.8" + }, + "base": { + "type": "string", + "description": "Base Docker image used to build the runtime.", + "x-example": "python:3.8-alpine" + }, + "image": { + "type": "string", + "description": "Image name of Docker Hub.", + "x-example": "appwrite\\\/runtime-for-python:3.8" + }, + "logo": { + "type": "string", + "description": "Name of the logo image.", + "x-example": "python.png" + }, + "supports": { + "type": "array", + "description": "List of supported architectures.", + "items": { + "type": "string" + }, + "x-example": "amd64" + } + }, + "required": [ + "$id", + "key", + "name", + "version", + "base", + "image", + "logo", + "supports" + ] + }, + "deployment": { + "description": "Deployment", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Deployment ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Deployment creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Deployment update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "type": { + "type": "string", + "description": "Type of deployment.", + "x-example": "vcs" + }, + "resourceId": { + "type": "string", + "description": "Resource ID.", + "x-example": "5e5ea6g16897e" + }, + "resourceType": { + "type": "string", + "description": "Resource type.", + "x-example": "functions" + }, + "entrypoint": { + "type": "string", + "description": "The entrypoint file to use to execute the deployment code.", + "x-example": "index.js" + }, + "size": { + "type": "integer", + "description": "The code size in bytes.", + "x-example": 128, + "format": "int32" + }, + "buildSize": { + "type": "integer", + "description": "The build output size in bytes.", + "x-example": 128, + "format": "int32" + }, + "buildId": { + "type": "string", + "description": "The current build ID.", + "x-example": "5e5ea5c16897e" + }, + "activate": { + "type": "boolean", + "description": "Whether the deployment should be automatically activated.", + "x-example": true + }, + "status": { + "type": "string", + "description": "The deployment status. Possible values are \"processing\", \"building\", \"waiting\", \"ready\", and \"failed\".", + "x-example": "ready" + }, + "buildLogs": { + "type": "string", + "description": "The build logs.", + "x-example": "Compiling source files..." + }, + "buildTime": { + "type": "integer", + "description": "The current build time in seconds.", + "x-example": 128, + "format": "int32" + }, + "providerRepositoryName": { + "type": "string", + "description": "The name of the vcs provider repository", + "x-example": "database" + }, + "providerRepositoryOwner": { + "type": "string", + "description": "The name of the vcs provider repository owner", + "x-example": "utopia" + }, + "providerRepositoryUrl": { + "type": "string", + "description": "The url of the vcs provider repository", + "x-example": "https:\/\/github.com\/vermakhushboo\/g4-node-function" + }, + "providerBranch": { + "type": "string", + "description": "The branch of the vcs repository", + "x-example": "0.7.x" + }, + "providerCommitHash": { + "type": "string", + "description": "The commit hash of the vcs commit", + "x-example": "7c3f25d" + }, + "providerCommitAuthorUrl": { + "type": "string", + "description": "The url of vcs commit author", + "x-example": "https:\/\/github.com\/vermakhushboo" + }, + "providerCommitAuthor": { + "type": "string", + "description": "The name of vcs commit author", + "x-example": "Khushboo Verma" + }, + "providerCommitMessage": { + "type": "string", + "description": "The commit message", + "x-example": "Update index.js" + }, + "providerCommitUrl": { + "type": "string", + "description": "The url of the vcs commit", + "x-example": "https:\/\/github.com\/vermakhushboo\/g4-node-function\/commit\/60c0416257a9cbcdd96b2d370c38d8f8d150ccfb" + }, + "providerBranchUrl": { + "type": "string", + "description": "The branch of the vcs repository", + "x-example": "https:\/\/github.com\/vermakhushboo\/appwrite\/tree\/0.7.x" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "type", + "resourceId", + "resourceType", + "entrypoint", + "size", + "buildSize", + "buildId", + "activate", + "status", + "buildLogs", + "buildTime", + "providerRepositoryName", + "providerRepositoryOwner", + "providerRepositoryUrl", + "providerBranch", + "providerCommitHash", + "providerCommitAuthorUrl", + "providerCommitAuthor", + "providerCommitMessage", + "providerCommitUrl", + "providerBranchUrl" + ] + }, + "execution": { + "description": "Execution", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Execution ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Execution creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Execution upate date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$permissions": { + "type": "array", + "description": "Execution roles.", + "items": { + "type": "string" + }, + "x-example": [ + "any" + ] + }, + "functionId": { + "type": "string", + "description": "Function ID.", + "x-example": "5e5ea6g16897e" + }, + "trigger": { + "type": "string", + "description": "The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.", + "x-example": "http" + }, + "status": { + "type": "string", + "description": "The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, or `failed`.", + "x-example": "processing" + }, + "requestMethod": { + "type": "string", + "description": "HTTP request method type.", + "x-example": "GET" + }, + "requestPath": { + "type": "string", + "description": "HTTP request path and query.", + "x-example": "\/articles?id=5" + }, + "requestHeaders": { + "type": "array", + "description": "HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.", + "items": { + "type": "object", + "$ref": "#\/definitions\/headers" + }, + "x-example": [ + { + "Content-Type": "application\/json" + } + ] + }, + "responseStatusCode": { + "type": "integer", + "description": "HTTP response status code.", + "x-example": 200, + "format": "int32" + }, + "responseBody": { + "type": "string", + "description": "HTTP response body. This will return empty unless execution is created as synchronous.", + "x-example": "" + }, + "responseHeaders": { + "type": "array", + "description": "HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.", + "items": { + "type": "object", + "$ref": "#\/definitions\/headers" + }, + "x-example": [ + { + "Content-Type": "application\/json" + } + ] + }, + "logs": { + "type": "string", + "description": "Function logs. Includes the last 4,000 characters. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.", + "x-example": "" + }, + "errors": { + "type": "string", + "description": "Function errors. Includes the last 4,000 characters. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.", + "x-example": "" + }, + "duration": { + "type": "number", + "description": "Function execution duration in seconds.", + "x-example": 0.4, + "format": "double" + }, + "scheduledAt": { + "type": "string", + "description": "The scheduled time for execution. If left empty, execution will be queued immediately.", + "x-example": "2020-10-15T06:38:00.000+00:00", + "x-nullable": true + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "$permissions", + "functionId", + "trigger", + "status", + "requestMethod", + "requestPath", + "requestHeaders", + "responseStatusCode", + "responseBody", + "responseHeaders", + "logs", + "errors", + "duration" + ] + }, + "build": { + "description": "Build", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Build ID.", + "x-example": "5e5ea5c16897e" + }, + "deploymentId": { + "type": "string", + "description": "The deployment that created this build.", + "x-example": "5e5ea5c16897e" + }, + "status": { + "type": "string", + "description": "The build status. There are a few different types and each one means something different. \\nFailed - The deployment build has failed. More details can usually be found in buildStderr\\nReady - The deployment build was successful and the deployment is ready to be deployed\\nProcessing - The deployment is currently waiting to have a build triggered\\nBuilding - The deployment is currently being built", + "x-example": "ready" + }, + "stdout": { + "type": "string", + "description": "The stdout of the build.", + "x-example": "" + }, + "stderr": { + "type": "string", + "description": "The stderr of the build.", + "x-example": "" + }, + "startTime": { + "type": "string", + "description": "The deployment creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "endTime": { + "type": "string", + "description": "The time the build was finished in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "duration": { + "type": "integer", + "description": "The build duration in seconds.", + "x-example": 0, + "format": "int32" + }, + "size": { + "type": "integer", + "description": "The code size in bytes.", + "x-example": 128, + "format": "int32" + } + }, + "required": [ + "$id", + "deploymentId", + "status", + "stdout", + "stderr", + "startTime", + "endTime", + "duration", + "size" + ] + }, + "variable": { + "description": "Variable", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Variable ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Variable creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Variable creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "key": { + "type": "string", + "description": "Variable key.", + "x-example": "API_KEY" + }, + "value": { + "type": "string", + "description": "Variable value.", + "x-example": "myPa$$word1" + }, + "resourceType": { + "type": "string", + "description": "Service to which the variable belongs. Possible values are \"project\", \"function\"", + "x-example": "function" + }, + "resourceId": { + "type": "string", + "description": "ID of resource to which the variable belongs. If resourceType is \"project\", it is empty. If resourceType is \"function\", it is ID of the function.", + "x-example": "myAwesomeFunction" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "key", + "value", + "resourceType", + "resourceId" + ] + }, + "country": { + "description": "Country", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Country name.", + "x-example": "United States" + }, + "code": { + "type": "string", + "description": "Country two-character ISO 3166-1 alpha code.", + "x-example": "US" + } + }, + "required": [ + "name", + "code" + ] + }, + "continent": { + "description": "Continent", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Continent name.", + "x-example": "Europe" + }, + "code": { + "type": "string", + "description": "Continent two letter code.", + "x-example": "EU" + } + }, + "required": [ + "name", + "code" + ] + }, + "language": { + "description": "Language", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Language name.", + "x-example": "Italian" + }, + "code": { + "type": "string", + "description": "Language two-character ISO 639-1 codes.", + "x-example": "it" + }, + "nativeName": { + "type": "string", + "description": "Language native name.", + "x-example": "Italiano" + } + }, + "required": [ + "name", + "code", + "nativeName" + ] + }, + "currency": { + "description": "Currency", + "type": "object", + "properties": { + "symbol": { + "type": "string", + "description": "Currency symbol.", + "x-example": "$" + }, + "name": { + "type": "string", + "description": "Currency name.", + "x-example": "US dollar" + }, + "symbolNative": { + "type": "string", + "description": "Currency native symbol.", + "x-example": "$" + }, + "decimalDigits": { + "type": "integer", + "description": "Number of decimal digits.", + "x-example": 2, + "format": "int32" + }, + "rounding": { + "type": "number", + "description": "Currency digit rounding.", + "x-example": 0, + "format": "double" + }, + "code": { + "type": "string", + "description": "Currency code in [ISO 4217-1](http:\/\/en.wikipedia.org\/wiki\/ISO_4217) three-character format.", + "x-example": "USD" + }, + "namePlural": { + "type": "string", + "description": "Currency plural name", + "x-example": "US dollars" + } + }, + "required": [ + "symbol", + "name", + "symbolNative", + "decimalDigits", + "rounding", + "code", + "namePlural" + ] + }, + "phone": { + "description": "Phone", + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Phone code.", + "x-example": "+1" + }, + "countryCode": { + "type": "string", + "description": "Country two-character ISO 3166-1 alpha code.", + "x-example": "US" + }, + "countryName": { + "type": "string", + "description": "Country name.", + "x-example": "United States" + } + }, + "required": [ + "code", + "countryCode", + "countryName" + ] + }, + "healthAntivirus": { + "description": "Health Antivirus", + "type": "object", + "properties": { + "version": { + "type": "string", + "description": "Antivirus version.", + "x-example": "1.0.0" + }, + "status": { + "type": "string", + "description": "Antivirus status. Possible values can are: `disabled`, `offline`, `online`", + "x-example": "online" + } + }, + "required": [ + "version", + "status" + ] + }, + "healthQueue": { + "description": "Health Queue", + "type": "object", + "properties": { + "size": { + "type": "integer", + "description": "Amount of actions in the queue.", + "x-example": 8, + "format": "int32" + } + }, + "required": [ + "size" + ] + }, + "healthStatus": { + "description": "Health Status", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the service.", + "x-example": "database" + }, + "ping": { + "type": "integer", + "description": "Duration in milliseconds how long the health check took.", + "x-example": 128, + "format": "int32" + }, + "status": { + "type": "string", + "description": "Service status. Possible values can are: `pass`, `fail`", + "x-example": "pass" + } + }, + "required": [ + "name", + "ping", + "status" + ] + }, + "healthCertificate": { + "description": "Health Certificate", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Certificate name", + "x-example": "\/CN=www.google.com" + }, + "subjectSN": { + "type": "string", + "description": "Subject SN", + "x-example": "" + }, + "issuerOrganisation": { + "type": "string", + "description": "Issuer organisation", + "x-example": "" + }, + "validFrom": { + "type": "string", + "description": "Valid from", + "x-example": "1704200998" + }, + "validTo": { + "type": "string", + "description": "Valid to", + "x-example": "1711458597" + }, + "signatureTypeSN": { + "type": "string", + "description": "Signature type SN", + "x-example": "RSA-SHA256" + } + }, + "required": [ + "name", + "subjectSN", + "issuerOrganisation", + "validFrom", + "validTo", + "signatureTypeSN" + ] + }, + "healthTime": { + "description": "Health Time", + "type": "object", + "properties": { + "remoteTime": { + "type": "integer", + "description": "Current unix timestamp on trustful remote server.", + "x-example": 1639490751, + "format": "int32" + }, + "localTime": { + "type": "integer", + "description": "Current unix timestamp of local server where Appwrite runs.", + "x-example": 1639490844, + "format": "int32" + }, + "diff": { + "type": "integer", + "description": "Difference of unix remote and local timestamps in milliseconds.", + "x-example": 93, + "format": "int32" + } + }, + "required": [ + "remoteTime", + "localTime", + "diff" + ] + }, + "headers": { + "description": "Headers", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Header name.", + "x-example": "Content-Type" + }, + "value": { + "type": "string", + "description": "Header value.", + "x-example": "application\/json" + } + }, + "required": [ + "name", + "value" + ] + }, + "specification": { + "description": "Specification", + "type": "object", + "properties": { + "memory": { + "type": "integer", + "description": "Memory size in MB.", + "x-example": 512, + "format": "int32" + }, + "cpus": { + "type": "number", + "description": "Number of CPUs.", + "x-example": 1, + "format": "double" + }, + "enabled": { + "type": "boolean", + "description": "Is size enabled.", + "x-example": true + }, + "slug": { + "type": "string", + "description": "Size slug.", + "x-example": "s-1vcpu-512mb" + } + }, + "required": [ + "memory", + "cpus", + "enabled", + "slug" + ] + }, + "mfaChallenge": { + "description": "MFA Challenge", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Token ID.", + "x-example": "bb8ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Token creation date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "5e5ea5c168bb8" + }, + "expire": { + "type": "string", + "description": "Token expiration date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + } + }, + "required": [ + "$id", + "$createdAt", + "userId", + "expire" + ] + }, + "mfaRecoveryCodes": { + "description": "MFA Recovery Codes", + "type": "object", + "properties": { + "recoveryCodes": { + "type": "array", + "description": "Recovery codes.", + "items": { + "type": "string" + }, + "x-example": [ + "a3kf0-s0cl2", + "s0co1-as98s" + ] + } + }, + "required": [ + "recoveryCodes" + ] + }, + "mfaType": { + "description": "MFAType", + "type": "object", + "properties": { + "secret": { + "type": "string", + "description": "Secret token used for TOTP factor.", + "x-example": true + }, + "uri": { + "type": "string", + "description": "URI for authenticator apps.", + "x-example": true + } + }, + "required": [ + "secret", + "uri" + ] + }, + "mfaFactors": { + "description": "MFAFactors", + "type": "object", + "properties": { + "totp": { + "type": "boolean", + "description": "Can TOTP be used for MFA challenge for this account.", + "x-example": true + }, + "phone": { + "type": "boolean", + "description": "Can phone (SMS) be used for MFA challenge for this account.", + "x-example": true + }, + "email": { + "type": "boolean", + "description": "Can email be used for MFA challenge for this account.", + "x-example": true + }, + "recoveryCode": { + "type": "boolean", + "description": "Can recovery code be used for MFA challenge for this account.", + "x-example": true + } + }, + "required": [ + "totp", + "phone", + "email", + "recoveryCode" + ] + }, + "provider": { + "description": "Provider", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Provider ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Provider creation time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Provider update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "The name for the provider instance.", + "x-example": "Mailgun" + }, + "provider": { + "type": "string", + "description": "The name of the provider service.", + "x-example": "mailgun" + }, + "enabled": { + "type": "boolean", + "description": "Is provider enabled?", + "x-example": true + }, + "type": { + "type": "string", + "description": "Type of provider.", + "x-example": "sms" + }, + "credentials": { + "type": "object", + "additionalProperties": true, + "description": "Provider credentials.", + "x-example": { + "key": "123456789" + } + }, + "options": { + "type": "object", + "additionalProperties": true, + "description": "Provider options.", + "x-example": { + "from": "sender-email@mydomain" + } + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "provider", + "enabled", + "type", + "credentials" + ] + }, + "message": { + "description": "Message", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Message ID.", + "x-example": "5e5ea5c16897e" + }, + "$createdAt": { + "type": "string", + "description": "Message creation time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Message update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "providerType": { + "type": "string", + "description": "Message provider type.", + "x-example": "email" + }, + "topics": { + "type": "array", + "description": "Topic IDs set as recipients.", + "items": { + "type": "string" + }, + "x-example": [ + "5e5ea5c16897e" + ] + }, + "users": { + "type": "array", + "description": "User IDs set as recipients.", + "items": { + "type": "string" + }, + "x-example": [ + "5e5ea5c16897e" + ] + }, + "targets": { + "type": "array", + "description": "Target IDs set as recipients.", + "items": { + "type": "string" + }, + "x-example": [ + "5e5ea5c16897e" + ] + }, + "scheduledAt": { + "type": "string", + "description": "The scheduled time for message.", + "x-example": "2020-10-15T06:38:00.000+00:00", + "x-nullable": true + }, + "deliveredAt": { + "type": "string", + "description": "The time when the message was delivered.", + "x-example": "2020-10-15T06:38:00.000+00:00", + "x-nullable": true + }, + "deliveryErrors": { + "type": "array", + "description": "Delivery errors if any.", + "items": { + "type": "string" + }, + "x-example": [ + "Failed to send message to target 5e5ea5c16897e: Credentials not valid." + ], + "x-nullable": true + }, + "deliveredTotal": { + "type": "integer", + "description": "Number of recipients the message was delivered to.", + "x-example": 1, + "format": "int32" + }, + "data": { + "type": "object", + "additionalProperties": true, + "description": "Data of the message.", + "x-example": { + "subject": "Welcome to Appwrite", + "content": "Hi there, welcome to Appwrite family." + } + }, + "status": { + "type": "string", + "description": "Status of delivery.", + "x-example": "Message status can be one of the following: draft, processing, scheduled, sent, or failed." + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "providerType", + "topics", + "users", + "targets", + "deliveredTotal", + "data", + "status" + ] + }, + "topic": { + "description": "Topic", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Topic ID.", + "x-example": "259125845563242502" + }, + "$createdAt": { + "type": "string", + "description": "Topic creation time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Topic update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "The name of the topic.", + "x-example": "events" + }, + "emailTotal": { + "type": "integer", + "description": "Total count of email subscribers subscribed to the topic.", + "x-example": 100, + "format": "int32" + }, + "smsTotal": { + "type": "integer", + "description": "Total count of SMS subscribers subscribed to the topic.", + "x-example": 100, + "format": "int32" + }, + "pushTotal": { + "type": "integer", + "description": "Total count of push subscribers subscribed to the topic.", + "x-example": 100, + "format": "int32" + }, + "subscribe": { + "type": "array", + "description": "Subscribe permissions.", + "items": { + "type": "string" + }, + "x-example": "users" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "emailTotal", + "smsTotal", + "pushTotal", + "subscribe" + ] + }, + "subscriber": { + "description": "Subscriber", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Subscriber ID.", + "x-example": "259125845563242502" + }, + "$createdAt": { + "type": "string", + "description": "Subscriber creation time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Subscriber update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "targetId": { + "type": "string", + "description": "Target ID.", + "x-example": "259125845563242502" + }, + "target": { + "type": "object", + "description": "Target.", + "x-example": { + "$id": "259125845563242502", + "$createdAt": "2020-10-15T06:38:00.000+00:00", + "$updatedAt": "2020-10-15T06:38:00.000+00:00", + "providerType": "email", + "providerId": "259125845563242502", + "name": "ageon-app-email", + "identifier": "random-mail@email.org", + "userId": "5e5ea5c16897e" + }, + "items": { + "type": "object", + "$ref": "#\/definitions\/target" + } + }, + "userId": { + "type": "string", + "description": "Topic ID.", + "x-example": "5e5ea5c16897e" + }, + "userName": { + "type": "string", + "description": "User Name.", + "x-example": "Aegon Targaryen" + }, + "topicId": { + "type": "string", + "description": "Topic ID.", + "x-example": "259125845563242502" + }, + "providerType": { + "type": "string", + "description": "The target provider type. Can be one of the following: `email`, `sms` or `push`.", + "x-example": "email" + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "targetId", + "target", + "userId", + "userName", + "topicId", + "providerType" + ] + }, + "target": { + "description": "Target", + "type": "object", + "properties": { + "$id": { + "type": "string", + "description": "Target ID.", + "x-example": "259125845563242502" + }, + "$createdAt": { + "type": "string", + "description": "Target creation time in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "$updatedAt": { + "type": "string", + "description": "Target update date in ISO 8601 format.", + "x-example": "2020-10-15T06:38:00.000+00:00" + }, + "name": { + "type": "string", + "description": "Target Name.", + "x-example": "Apple iPhone 12" + }, + "userId": { + "type": "string", + "description": "User ID.", + "x-example": "259125845563242502" + }, + "providerId": { + "type": "string", + "description": "Provider ID.", + "x-example": "259125845563242502", + "x-nullable": true + }, + "providerType": { + "type": "string", + "description": "The target provider type. Can be one of the following: `email`, `sms` or `push`.", + "x-example": "email" + }, + "identifier": { + "type": "string", + "description": "The target identifier.", + "x-example": "token" + }, + "expired": { + "type": "boolean", + "description": "Is the target expired.", + "x-example": false + } + }, + "required": [ + "$id", + "$createdAt", + "$updatedAt", + "name", + "userId", + "providerType", + "identifier", + "expired" + ] + } + }, + "externalDocs": { + "description": "Full API docs, specs and tutorials", + "url": "https:\/\/appwrite.io\/docs" + } +} \ No newline at end of file diff --git a/app/config/specs/swagger2-1.6.x-client.json b/app/config/specs/swagger2-1.6.x-client.json index 8960bfaa5c..67b4b8fc7d 100644 --- a/app/config/specs/swagger2-1.6.x-client.json +++ b/app/config/specs/swagger2-1.6.x-client.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "version": "1.6.1", + "version": "1.6.2", "title": "Appwrite", "description": "Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https:\/\/appwrite.io\/docs](https:\/\/appwrite.io\/docs)", "termsOfService": "https:\/\/appwrite.io\/policy\/terms", @@ -16,6 +16,7 @@ } }, "host": "cloud.appwrite.io", + "x-host-docs": "<REGION>.cloud.appwrite.io", "basePath": "\/v1", "schemes": [ "https" @@ -67,9 +68,7 @@ "get": { "summary": "Get account", "operationId": "accountGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -87,6 +86,7 @@ }, "x-appwrite": { "method": "get", + "group": "account", "weight": 9, "cookies": false, "type": "", @@ -137,6 +137,7 @@ }, "x-appwrite": { "method": "create", + "group": "account", "weight": 8, "cookies": false, "type": "", @@ -227,6 +228,7 @@ }, "x-appwrite": { "method": "updateEmail", + "group": "account", "weight": 34, "cookies": false, "type": "", @@ -286,9 +288,7 @@ "get": { "summary": "List identities", "operationId": "accountListIdentities", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -306,6 +306,7 @@ }, "x-appwrite": { "method": "listIdentities", + "group": "identities", "weight": 57, "cookies": false, "type": "", @@ -367,6 +368,7 @@ }, "x-appwrite": { "method": "deleteIdentity", + "group": "identities", "weight": 58, "cookies": false, "type": "", @@ -429,6 +431,7 @@ }, "x-appwrite": { "method": "createJWT", + "group": "tokens", "weight": 29, "cookies": false, "type": "", @@ -459,9 +462,7 @@ "get": { "summary": "List logs", "operationId": "accountListLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -479,6 +480,7 @@ }, "x-appwrite": { "method": "listLogs", + "group": "logs", "weight": 31, "cookies": false, "type": "", @@ -545,6 +547,7 @@ }, "x-appwrite": { "method": "updateMFA", + "group": "mfa", "weight": 44, "cookies": false, "type": "", @@ -617,6 +620,7 @@ }, "x-appwrite": { "method": "createMfaAuthenticator", + "group": "mfa", "weight": 46, "cookies": false, "type": "", @@ -660,7 +664,7 @@ ] }, "put": { - "summary": "Verify authenticator", + "summary": "Update authenticator (confirmation)", "operationId": "accountUpdateMfaAuthenticator", "consumes": [ "application\/json" @@ -682,6 +686,7 @@ }, "x-appwrite": { "method": "updateMfaAuthenticator", + "group": "mfa", "weight": 47, "cookies": false, "type": "", @@ -760,6 +765,7 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", + "group": "mfa", "weight": 51, "cookies": false, "type": "", @@ -827,6 +833,7 @@ }, "x-appwrite": { "method": "createMfaChallenge", + "group": "mfa", "weight": 52, "cookies": false, "type": "", @@ -881,7 +888,7 @@ ] }, "put": { - "summary": "Create MFA challenge (confirmation)", + "summary": "Update MFA challenge (confirmation)", "operationId": "accountUpdateMfaChallenge", "consumes": [ "application\/json" @@ -903,6 +910,7 @@ }, "x-appwrite": { "method": "updateMfaChallenge", + "group": "mfa", "weight": 53, "cookies": false, "type": "", @@ -962,9 +970,7 @@ "get": { "summary": "List factors", "operationId": "accountListMfaFactors", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -982,6 +988,7 @@ }, "x-appwrite": { "method": "listMfaFactors", + "group": "mfa", "weight": 45, "cookies": false, "type": "", @@ -1012,11 +1019,9 @@ }, "\/account\/mfa\/recovery-codes": { "get": { - "summary": "Get MFA recovery codes", + "summary": "List MFA recovery codes", "operationId": "accountGetMfaRecoveryCodes", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -1034,6 +1039,7 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", + "group": "mfa", "weight": 50, "cookies": false, "type": "", @@ -1084,6 +1090,7 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", + "group": "mfa", "weight": 48, "cookies": false, "type": "", @@ -1112,7 +1119,7 @@ ] }, "patch": { - "summary": "Regenerate MFA recovery codes", + "summary": "Update MFA recovery codes (regenerate)", "operationId": "accountUpdateMfaRecoveryCodes", "consumes": [ "application\/json" @@ -1134,6 +1141,7 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", + "group": "mfa", "weight": 49, "cookies": false, "type": "", @@ -1186,6 +1194,7 @@ }, "x-appwrite": { "method": "updateName", + "group": "account", "weight": 32, "cookies": false, "type": "", @@ -1258,6 +1267,7 @@ }, "x-appwrite": { "method": "updatePassword", + "group": "account", "weight": 33, "cookies": false, "type": "", @@ -1336,6 +1346,7 @@ }, "x-appwrite": { "method": "updatePhone", + "group": "account", "weight": 35, "cookies": false, "type": "", @@ -1395,9 +1406,7 @@ "get": { "summary": "Get account preferences", "operationId": "accountGetPrefs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -1415,6 +1424,7 @@ }, "x-appwrite": { "method": "getPrefs", + "group": "account", "weight": 30, "cookies": false, "type": "", @@ -1465,6 +1475,7 @@ }, "x-appwrite": { "method": "updatePrefs", + "group": "account", "weight": 36, "cookies": false, "type": "", @@ -1537,6 +1548,7 @@ }, "x-appwrite": { "method": "createRecovery", + "group": "recovery", "weight": 38, "cookies": false, "type": "", @@ -1595,7 +1607,7 @@ ] }, "put": { - "summary": "Create password recovery (confirmation)", + "summary": "Update password recovery (confirmation)", "operationId": "accountUpdateRecovery", "consumes": [ "application\/json" @@ -1617,6 +1629,7 @@ }, "x-appwrite": { "method": "updateRecovery", + "group": "recovery", "weight": 39, "cookies": false, "type": "", @@ -1683,9 +1696,7 @@ "get": { "summary": "List sessions", "operationId": "accountListSessions", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -1703,6 +1714,7 @@ }, "x-appwrite": { "method": "listSessions", + "group": "sessions", "weight": 11, "cookies": false, "type": "", @@ -1748,6 +1760,7 @@ }, "x-appwrite": { "method": "deleteSessions", + "group": "sessions", "weight": 12, "cookies": false, "type": "", @@ -1800,6 +1813,7 @@ }, "x-appwrite": { "method": "createAnonymousSession", + "group": "sessions", "weight": 17, "cookies": false, "type": "", @@ -1850,6 +1864,7 @@ }, "x-appwrite": { "method": "createEmailPasswordSession", + "group": "sessions", "weight": 16, "cookies": false, "type": "", @@ -1927,6 +1942,7 @@ }, "x-appwrite": { "method": "updateMagicURLSession", + "group": "sessions", "weight": 26, "cookies": false, "type": "", @@ -1984,9 +2000,7 @@ "get": { "summary": "Create OAuth2 session", "operationId": "accountCreateOAuth2Session", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "text\/html" ], @@ -2001,6 +2015,7 @@ }, "x-appwrite": { "method": "createOAuth2Session", + "group": "sessions", "weight": 19, "cookies": false, "type": "webAuth", @@ -2028,7 +2043,7 @@ "parameters": [ { "name": "provider", - "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", + "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", "required": true, "type": "string", "x-example": "amazon", @@ -2047,6 +2062,7 @@ "dropbox", "etsy", "facebook", + "figma", "github", "gitlab", "google", @@ -2136,6 +2152,7 @@ }, "x-appwrite": { "method": "updatePhoneSession", + "group": "sessions", "weight": 27, "cookies": false, "type": "", @@ -2213,6 +2230,7 @@ }, "x-appwrite": { "method": "createSession", + "group": "sessions", "weight": 18, "cookies": false, "type": "", @@ -2270,9 +2288,7 @@ "get": { "summary": "Get session", "operationId": "accountGetSession", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -2290,6 +2306,7 @@ }, "x-appwrite": { "method": "getSession", + "group": "sessions", "weight": 13, "cookies": false, "type": "", @@ -2350,6 +2367,7 @@ }, "x-appwrite": { "method": "updateSession", + "group": "sessions", "weight": 15, "cookies": false, "type": "", @@ -2405,6 +2423,7 @@ }, "x-appwrite": { "method": "deleteSession", + "group": "sessions", "weight": 14, "cookies": false, "type": "", @@ -2467,6 +2486,7 @@ }, "x-appwrite": { "method": "updateStatus", + "group": "account", "weight": 37, "cookies": false, "type": "", @@ -2519,6 +2539,7 @@ }, "x-appwrite": { "method": "createPushTarget", + "group": "pushTargets", "weight": 54, "cookies": false, "type": "", @@ -2602,6 +2623,7 @@ }, "x-appwrite": { "method": "updatePushTarget", + "group": "pushTargets", "weight": 55, "cookies": false, "type": "", @@ -2673,6 +2695,7 @@ }, "x-appwrite": { "method": "deletePushTarget", + "group": "pushTargets", "weight": 56, "cookies": false, "type": "", @@ -2733,6 +2756,7 @@ }, "x-appwrite": { "method": "createEmailToken", + "group": "tokens", "weight": 25, "cookies": false, "type": "", @@ -2816,6 +2840,7 @@ }, "x-appwrite": { "method": "createMagicURLToken", + "group": "tokens", "weight": 24, "cookies": false, "type": "", @@ -2888,9 +2913,7 @@ "get": { "summary": "Create OAuth2 token", "operationId": "accountCreateOAuth2Token", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "text\/html" ], @@ -2905,6 +2928,7 @@ }, "x-appwrite": { "method": "createOAuth2Token", + "group": "tokens", "weight": 23, "cookies": false, "type": "webAuth", @@ -2932,7 +2956,7 @@ "parameters": [ { "name": "provider", - "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", + "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", "required": true, "type": "string", "x-example": "amazon", @@ -2951,6 +2975,7 @@ "dropbox", "etsy", "facebook", + "figma", "github", "gitlab", "google", @@ -3040,6 +3065,7 @@ }, "x-appwrite": { "method": "createPhoneToken", + "group": "tokens", "weight": 28, "cookies": false, "type": "", @@ -3120,6 +3146,7 @@ }, "x-appwrite": { "method": "createVerification", + "group": "verification", "weight": 40, "cookies": false, "type": "", @@ -3168,7 +3195,7 @@ ] }, "put": { - "summary": "Create email verification (confirmation)", + "summary": "Update email verification (confirmation)", "operationId": "accountUpdateVerification", "consumes": [ "application\/json" @@ -3190,6 +3217,7 @@ }, "x-appwrite": { "method": "updateVerification", + "group": "verification", "weight": 41, "cookies": false, "type": "", @@ -3269,6 +3297,7 @@ }, "x-appwrite": { "method": "createPhoneVerification", + "group": "verification", "weight": 42, "cookies": false, "type": "", @@ -3322,6 +3351,7 @@ }, "x-appwrite": { "method": "updatePhoneVerification", + "group": "verification", "weight": 43, "cookies": false, "type": "", @@ -3381,9 +3411,7 @@ "get": { "summary": "Get browser icon", "operationId": "avatarsGetBrowser", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/png" ], @@ -3401,6 +3429,7 @@ }, "x-appwrite": { "method": "getBrowser", + "group": null, "weight": 60, "cookies": false, "type": "location", @@ -3507,9 +3536,7 @@ "get": { "summary": "Get credit card icon", "operationId": "avatarsGetCreditCard", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/png" ], @@ -3527,6 +3554,7 @@ }, "x-appwrite": { "method": "getCreditCard", + "group": null, "weight": 59, "cookies": false, "type": "location", @@ -3639,9 +3667,7 @@ "get": { "summary": "Get favicon", "operationId": "avatarsGetFavicon", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/*" ], @@ -3659,6 +3685,7 @@ }, "x-appwrite": { "method": "getFavicon", + "group": null, "weight": 63, "cookies": false, "type": "location", @@ -3703,9 +3730,7 @@ "get": { "summary": "Get country flag", "operationId": "avatarsGetFlag", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/png" ], @@ -3723,6 +3748,7 @@ }, "x-appwrite": { "method": "getFlag", + "group": null, "weight": 61, "cookies": false, "type": "location", @@ -4191,9 +4217,7 @@ "get": { "summary": "Get image from URL", "operationId": "avatarsGetImage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/*" ], @@ -4211,6 +4235,7 @@ }, "x-appwrite": { "method": "getImage", + "group": null, "weight": 62, "cookies": false, "type": "location", @@ -4275,9 +4300,7 @@ "get": { "summary": "Get user initials", "operationId": "avatarsGetInitials", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/png" ], @@ -4295,6 +4318,7 @@ }, "x-appwrite": { "method": "getInitials", + "group": null, "weight": 65, "cookies": false, "type": "location", @@ -4367,9 +4391,7 @@ "get": { "summary": "Get QR code", "operationId": "avatarsGetQR", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/png" ], @@ -4387,6 +4409,7 @@ }, "x-appwrite": { "method": "getQR", + "group": null, "weight": 64, "cookies": false, "type": "location", @@ -4459,9 +4482,7 @@ "get": { "summary": "List documents", "operationId": "databasesListDocuments", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -4479,6 +4500,7 @@ }, "x-appwrite": { "method": "listDocuments", + "group": "documents", "weight": 109, "cookies": false, "type": "", @@ -4560,6 +4582,7 @@ }, "x-appwrite": { "method": "createDocument", + "group": "documents", "weight": 108, "cookies": false, "type": "", @@ -4645,9 +4668,7 @@ "get": { "summary": "Get document", "operationId": "databasesGetDocument", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -4665,6 +4686,7 @@ }, "x-appwrite": { "method": "getDocument", + "group": "documents", "weight": 110, "cookies": false, "type": "", @@ -4754,6 +4776,7 @@ }, "x-appwrite": { "method": "updateDocument", + "group": "documents", "weight": 112, "cookies": false, "type": "", @@ -4850,6 +4873,7 @@ }, "x-appwrite": { "method": "deleteDocument", + "group": "documents", "weight": 113, "cookies": false, "type": "", @@ -4909,9 +4933,7 @@ "get": { "summary": "List executions", "operationId": "functionsListExecutions", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -4929,7 +4951,8 @@ }, "x-appwrite": { "method": "listExecutions", - "weight": 306, + "group": "executions", + "weight": 305, "cookies": false, "type": "", "deprecated": false, @@ -5011,7 +5034,8 @@ }, "x-appwrite": { "method": "createExecution", - "weight": 305, + "group": "executions", + "weight": 304, "cookies": false, "type": "", "deprecated": false, @@ -5109,9 +5133,7 @@ "get": { "summary": "Get execution", "operationId": "functionsGetExecution", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -5129,7 +5151,8 @@ }, "x-appwrite": { "method": "getExecution", - "weight": 307, + "group": "executions", + "weight": 306, "cookies": false, "type": "", "deprecated": false, @@ -5200,7 +5223,8 @@ }, "x-appwrite": { "method": "query", - "weight": 331, + "group": "graphql", + "weight": 330, "cookies": false, "type": "graphql", "deprecated": false, @@ -5273,7 +5297,8 @@ }, "x-appwrite": { "method": "mutation", - "weight": 330, + "group": "graphql", + "weight": 329, "cookies": false, "type": "graphql", "deprecated": false, @@ -5326,9 +5351,7 @@ "get": { "summary": "Get user locale", "operationId": "localeGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -5346,6 +5369,7 @@ }, "x-appwrite": { "method": "get", + "group": null, "weight": 117, "cookies": false, "type": "", @@ -5379,9 +5403,7 @@ "get": { "summary": "List locale codes", "operationId": "localeListCodes", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -5399,6 +5421,7 @@ }, "x-appwrite": { "method": "listCodes", + "group": null, "weight": 118, "cookies": false, "type": "", @@ -5432,9 +5455,7 @@ "get": { "summary": "List continents", "operationId": "localeListContinents", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -5452,6 +5473,7 @@ }, "x-appwrite": { "method": "listContinents", + "group": null, "weight": 122, "cookies": false, "type": "", @@ -5485,9 +5507,7 @@ "get": { "summary": "List countries", "operationId": "localeListCountries", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -5505,6 +5525,7 @@ }, "x-appwrite": { "method": "listCountries", + "group": null, "weight": 119, "cookies": false, "type": "", @@ -5538,9 +5559,7 @@ "get": { "summary": "List EU countries", "operationId": "localeListCountriesEU", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -5558,6 +5577,7 @@ }, "x-appwrite": { "method": "listCountriesEU", + "group": null, "weight": 120, "cookies": false, "type": "", @@ -5591,9 +5611,7 @@ "get": { "summary": "List countries phone codes", "operationId": "localeListCountriesPhones", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -5611,6 +5629,7 @@ }, "x-appwrite": { "method": "listCountriesPhones", + "group": null, "weight": 121, "cookies": false, "type": "", @@ -5644,9 +5663,7 @@ "get": { "summary": "List currencies", "operationId": "localeListCurrencies", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -5664,6 +5681,7 @@ }, "x-appwrite": { "method": "listCurrencies", + "group": null, "weight": 123, "cookies": false, "type": "", @@ -5697,9 +5715,7 @@ "get": { "summary": "List languages", "operationId": "localeListLanguages", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -5717,6 +5733,7 @@ }, "x-appwrite": { "method": "listLanguages", + "group": null, "weight": 124, "cookies": false, "type": "", @@ -5770,7 +5787,8 @@ }, "x-appwrite": { "method": "createSubscriber", - "weight": 376, + "group": "subscribers", + "weight": 375, "cookies": false, "type": "", "deprecated": false, @@ -5854,7 +5872,8 @@ }, "x-appwrite": { "method": "deleteSubscriber", - "weight": 380, + "group": "subscribers", + "weight": 379, "cookies": false, "type": "", "deprecated": false, @@ -5906,9 +5925,7 @@ "get": { "summary": "List files", "operationId": "storageListFiles", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -5926,7 +5943,8 @@ }, "x-appwrite": { "method": "listFiles", - "weight": 208, + "group": "files", + "weight": 207, "cookies": false, "type": "", "deprecated": false, @@ -6008,7 +6026,8 @@ }, "x-appwrite": { "method": "createFile", - "weight": 207, + "group": "files", + "weight": 206, "cookies": false, "type": "upload", "deprecated": false, @@ -6079,9 +6098,7 @@ "get": { "summary": "Get file", "operationId": "storageGetFile", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -6099,7 +6116,8 @@ }, "x-appwrite": { "method": "getFile", - "weight": 209, + "group": "files", + "weight": 208, "cookies": false, "type": "", "deprecated": false, @@ -6168,7 +6186,8 @@ }, "x-appwrite": { "method": "updateFile", - "weight": 214, + "group": "files", + "weight": 213, "cookies": false, "type": "", "deprecated": false, @@ -6256,7 +6275,8 @@ }, "x-appwrite": { "method": "deleteFile", - "weight": 215, + "group": "files", + "weight": 214, "cookies": false, "type": "", "deprecated": false, @@ -6307,9 +6327,7 @@ "get": { "summary": "Get file for download", "operationId": "storageGetFileDownload", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "*\/*" ], @@ -6327,7 +6345,8 @@ }, "x-appwrite": { "method": "getFileDownload", - "weight": 211, + "group": "files", + "weight": 210, "cookies": false, "type": "location", "deprecated": false, @@ -6378,9 +6397,7 @@ "get": { "summary": "Get file preview", "operationId": "storageGetFilePreview", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/*" ], @@ -6398,7 +6415,8 @@ }, "x-appwrite": { "method": "getFilePreview", - "weight": 210, + "group": "files", + "weight": 209, "cookies": false, "type": "location", "deprecated": false, @@ -6577,9 +6595,7 @@ "get": { "summary": "Get file for view", "operationId": "storageGetFileView", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "*\/*" ], @@ -6597,7 +6613,8 @@ }, "x-appwrite": { "method": "getFileView", - "weight": 212, + "group": "files", + "weight": 211, "cookies": false, "type": "location", "deprecated": false, @@ -6648,9 +6665,7 @@ "get": { "summary": "List teams", "operationId": "teamsList", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -6668,7 +6683,8 @@ }, "x-appwrite": { "method": "list", - "weight": 219, + "group": "teams", + "weight": 218, "cookies": false, "type": "", "deprecated": false, @@ -6742,7 +6758,8 @@ }, "x-appwrite": { "method": "create", - "weight": 218, + "group": "teams", + "weight": 217, "cookies": false, "type": "", "deprecated": false, @@ -6813,9 +6830,7 @@ "get": { "summary": "Get team", "operationId": "teamsGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -6833,7 +6848,8 @@ }, "x-appwrite": { "method": "get", - "weight": 220, + "group": "teams", + "weight": 219, "cookies": false, "type": "", "deprecated": false, @@ -6894,7 +6910,8 @@ }, "x-appwrite": { "method": "updateName", - "weight": 222, + "group": "teams", + "weight": 221, "cookies": false, "type": "", "deprecated": false, @@ -6968,7 +6985,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 224, + "group": "teams", + "weight": 223, "cookies": false, "type": "", "deprecated": false, @@ -7011,9 +7029,7 @@ "get": { "summary": "List team memberships", "operationId": "teamsListMemberships", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -7031,7 +7047,8 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 226, + "group": "memberships", + "weight": 225, "cookies": false, "type": "", "deprecated": false, @@ -7113,7 +7130,8 @@ }, "x-appwrite": { "method": "createMembership", - "weight": 225, + "group": "memberships", + "weight": 224, "cookies": false, "type": "", "deprecated": false, @@ -7207,9 +7225,7 @@ "get": { "summary": "Get team membership", "operationId": "teamsGetMembership", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -7227,7 +7243,8 @@ }, "x-appwrite": { "method": "getMembership", - "weight": 227, + "group": "memberships", + "weight": 226, "cookies": false, "type": "", "deprecated": false, @@ -7296,7 +7313,8 @@ }, "x-appwrite": { "method": "updateMembership", - "weight": 228, + "group": "memberships", + "weight": 227, "cookies": false, "type": "", "deprecated": false, @@ -7381,7 +7399,8 @@ }, "x-appwrite": { "method": "deleteMembership", - "weight": 230, + "group": "memberships", + "weight": 229, "cookies": false, "type": "", "deprecated": false, @@ -7452,7 +7471,8 @@ }, "x-appwrite": { "method": "updateMembershipStatus", - "weight": 229, + "group": "memberships", + "weight": 228, "cookies": false, "type": "", "deprecated": false, @@ -7527,9 +7547,7 @@ "get": { "summary": "Get team preferences", "operationId": "teamsGetPrefs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -7547,7 +7565,8 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 221, + "group": "teams", + "weight": 220, "cookies": false, "type": "", "deprecated": false, @@ -7607,7 +7626,8 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 223, + "group": "teams", + "weight": 222, "cookies": false, "type": "", "deprecated": false, diff --git a/app/config/specs/swagger2-1.6.x-console.json b/app/config/specs/swagger2-1.6.x-console.json index 8fc7e7daf3..fb6dc70011 100644 --- a/app/config/specs/swagger2-1.6.x-console.json +++ b/app/config/specs/swagger2-1.6.x-console.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "version": "1.6.1", + "version": "1.6.2", "title": "Appwrite", "description": "Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https:\/\/appwrite.io\/docs](https:\/\/appwrite.io\/docs)", "termsOfService": "https:\/\/appwrite.io\/policy\/terms", @@ -16,6 +16,7 @@ } }, "host": "cloud.appwrite.io", + "x-host-docs": "<REGION>.cloud.appwrite.io", "basePath": "\/v1", "schemes": [ "https" @@ -79,9 +80,7 @@ "get": { "summary": "Get account", "operationId": "accountGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -99,6 +98,7 @@ }, "x-appwrite": { "method": "get", + "group": "account", "weight": 9, "cookies": false, "type": "", @@ -148,6 +148,7 @@ }, "x-appwrite": { "method": "create", + "group": "account", "weight": 8, "cookies": false, "type": "", @@ -231,6 +232,7 @@ }, "x-appwrite": { "method": "delete", + "group": "account", "weight": 10, "cookies": false, "type": "", @@ -280,6 +282,7 @@ }, "x-appwrite": { "method": "updateEmail", + "group": "account", "weight": 34, "cookies": false, "type": "", @@ -338,9 +341,7 @@ "get": { "summary": "List identities", "operationId": "accountListIdentities", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -358,6 +359,7 @@ }, "x-appwrite": { "method": "listIdentities", + "group": "identities", "weight": 57, "cookies": false, "type": "", @@ -418,6 +420,7 @@ }, "x-appwrite": { "method": "deleteIdentity", + "group": "identities", "weight": 58, "cookies": false, "type": "", @@ -479,6 +482,7 @@ }, "x-appwrite": { "method": "createJWT", + "group": "tokens", "weight": 29, "cookies": false, "type": "", @@ -509,9 +513,7 @@ "get": { "summary": "List logs", "operationId": "accountListLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -529,6 +531,7 @@ }, "x-appwrite": { "method": "listLogs", + "group": "logs", "weight": 31, "cookies": false, "type": "", @@ -594,6 +597,7 @@ }, "x-appwrite": { "method": "updateMFA", + "group": "mfa", "weight": 44, "cookies": false, "type": "", @@ -665,6 +669,7 @@ }, "x-appwrite": { "method": "createMfaAuthenticator", + "group": "mfa", "weight": 46, "cookies": false, "type": "", @@ -707,7 +712,7 @@ ] }, "put": { - "summary": "Verify authenticator", + "summary": "Update authenticator (confirmation)", "operationId": "accountUpdateMfaAuthenticator", "consumes": [ "application\/json" @@ -729,6 +734,7 @@ }, "x-appwrite": { "method": "updateMfaAuthenticator", + "group": "mfa", "weight": 47, "cookies": false, "type": "", @@ -806,6 +812,7 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", + "group": "mfa", "weight": 51, "cookies": false, "type": "", @@ -872,6 +879,7 @@ }, "x-appwrite": { "method": "createMfaChallenge", + "group": "mfa", "weight": 52, "cookies": false, "type": "", @@ -926,7 +934,7 @@ ] }, "put": { - "summary": "Create MFA challenge (confirmation)", + "summary": "Update MFA challenge (confirmation)", "operationId": "accountUpdateMfaChallenge", "consumes": [ "application\/json" @@ -948,6 +956,7 @@ }, "x-appwrite": { "method": "updateMfaChallenge", + "group": "mfa", "weight": 53, "cookies": false, "type": "", @@ -1006,9 +1015,7 @@ "get": { "summary": "List factors", "operationId": "accountListMfaFactors", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -1026,6 +1033,7 @@ }, "x-appwrite": { "method": "listMfaFactors", + "group": "mfa", "weight": 45, "cookies": false, "type": "", @@ -1055,11 +1063,9 @@ }, "\/account\/mfa\/recovery-codes": { "get": { - "summary": "Get MFA recovery codes", + "summary": "List MFA recovery codes", "operationId": "accountGetMfaRecoveryCodes", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -1077,6 +1083,7 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", + "group": "mfa", "weight": 50, "cookies": false, "type": "", @@ -1126,6 +1133,7 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", + "group": "mfa", "weight": 48, "cookies": false, "type": "", @@ -1153,7 +1161,7 @@ ] }, "patch": { - "summary": "Regenerate MFA recovery codes", + "summary": "Update MFA recovery codes (regenerate)", "operationId": "accountUpdateMfaRecoveryCodes", "consumes": [ "application\/json" @@ -1175,6 +1183,7 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", + "group": "mfa", "weight": 49, "cookies": false, "type": "", @@ -1226,6 +1235,7 @@ }, "x-appwrite": { "method": "updateName", + "group": "account", "weight": 32, "cookies": false, "type": "", @@ -1297,6 +1307,7 @@ }, "x-appwrite": { "method": "updatePassword", + "group": "account", "weight": 33, "cookies": false, "type": "", @@ -1374,6 +1385,7 @@ }, "x-appwrite": { "method": "updatePhone", + "group": "account", "weight": 35, "cookies": false, "type": "", @@ -1432,9 +1444,7 @@ "get": { "summary": "Get account preferences", "operationId": "accountGetPrefs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -1452,6 +1462,7 @@ }, "x-appwrite": { "method": "getPrefs", + "group": "account", "weight": 30, "cookies": false, "type": "", @@ -1501,6 +1512,7 @@ }, "x-appwrite": { "method": "updatePrefs", + "group": "account", "weight": 36, "cookies": false, "type": "", @@ -1572,6 +1584,7 @@ }, "x-appwrite": { "method": "createRecovery", + "group": "recovery", "weight": 38, "cookies": false, "type": "", @@ -1629,7 +1642,7 @@ ] }, "put": { - "summary": "Create password recovery (confirmation)", + "summary": "Update password recovery (confirmation)", "operationId": "accountUpdateRecovery", "consumes": [ "application\/json" @@ -1651,6 +1664,7 @@ }, "x-appwrite": { "method": "updateRecovery", + "group": "recovery", "weight": 39, "cookies": false, "type": "", @@ -1716,9 +1730,7 @@ "get": { "summary": "List sessions", "operationId": "accountListSessions", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -1736,6 +1748,7 @@ }, "x-appwrite": { "method": "listSessions", + "group": "sessions", "weight": 11, "cookies": false, "type": "", @@ -1780,6 +1793,7 @@ }, "x-appwrite": { "method": "deleteSessions", + "group": "sessions", "weight": 12, "cookies": false, "type": "", @@ -1831,6 +1845,7 @@ }, "x-appwrite": { "method": "createAnonymousSession", + "group": "sessions", "weight": 17, "cookies": false, "type": "", @@ -1881,6 +1896,7 @@ }, "x-appwrite": { "method": "createEmailPasswordSession", + "group": "sessions", "weight": 16, "cookies": false, "type": "", @@ -1958,6 +1974,7 @@ }, "x-appwrite": { "method": "updateMagicURLSession", + "group": "sessions", "weight": 26, "cookies": false, "type": "", @@ -2015,9 +2032,7 @@ "get": { "summary": "Create OAuth2 session", "operationId": "accountCreateOAuth2Session", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "text\/html" ], @@ -2032,6 +2047,7 @@ }, "x-appwrite": { "method": "createOAuth2Session", + "group": "sessions", "weight": 19, "cookies": false, "type": "webAuth", @@ -2059,7 +2075,7 @@ "parameters": [ { "name": "provider", - "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", + "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", "required": true, "type": "string", "x-example": "amazon", @@ -2078,6 +2094,7 @@ "dropbox", "etsy", "facebook", + "figma", "github", "gitlab", "google", @@ -2167,6 +2184,7 @@ }, "x-appwrite": { "method": "updatePhoneSession", + "group": "sessions", "weight": 27, "cookies": false, "type": "", @@ -2244,6 +2262,7 @@ }, "x-appwrite": { "method": "createSession", + "group": "sessions", "weight": 18, "cookies": false, "type": "", @@ -2301,9 +2320,7 @@ "get": { "summary": "Get session", "operationId": "accountGetSession", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -2321,6 +2338,7 @@ }, "x-appwrite": { "method": "getSession", + "group": "sessions", "weight": 13, "cookies": false, "type": "", @@ -2380,6 +2398,7 @@ }, "x-appwrite": { "method": "updateSession", + "group": "sessions", "weight": 15, "cookies": false, "type": "", @@ -2434,6 +2453,7 @@ }, "x-appwrite": { "method": "deleteSession", + "group": "sessions", "weight": 14, "cookies": false, "type": "", @@ -2495,6 +2515,7 @@ }, "x-appwrite": { "method": "updateStatus", + "group": "account", "weight": 37, "cookies": false, "type": "", @@ -2546,6 +2567,7 @@ }, "x-appwrite": { "method": "createPushTarget", + "group": "pushTargets", "weight": 54, "cookies": false, "type": "", @@ -2628,6 +2650,7 @@ }, "x-appwrite": { "method": "updatePushTarget", + "group": "pushTargets", "weight": 55, "cookies": false, "type": "", @@ -2698,6 +2721,7 @@ }, "x-appwrite": { "method": "deletePushTarget", + "group": "pushTargets", "weight": 56, "cookies": false, "type": "", @@ -2757,6 +2781,7 @@ }, "x-appwrite": { "method": "createEmailToken", + "group": "tokens", "weight": 25, "cookies": false, "type": "", @@ -2840,6 +2865,7 @@ }, "x-appwrite": { "method": "createMagicURLToken", + "group": "tokens", "weight": 24, "cookies": false, "type": "", @@ -2912,9 +2938,7 @@ "get": { "summary": "Create OAuth2 token", "operationId": "accountCreateOAuth2Token", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "text\/html" ], @@ -2929,6 +2953,7 @@ }, "x-appwrite": { "method": "createOAuth2Token", + "group": "tokens", "weight": 23, "cookies": false, "type": "webAuth", @@ -2956,7 +2981,7 @@ "parameters": [ { "name": "provider", - "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", + "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", "required": true, "type": "string", "x-example": "amazon", @@ -2975,6 +3000,7 @@ "dropbox", "etsy", "facebook", + "figma", "github", "gitlab", "google", @@ -3064,6 +3090,7 @@ }, "x-appwrite": { "method": "createPhoneToken", + "group": "tokens", "weight": 28, "cookies": false, "type": "", @@ -3144,6 +3171,7 @@ }, "x-appwrite": { "method": "createVerification", + "group": "verification", "weight": 40, "cookies": false, "type": "", @@ -3191,7 +3219,7 @@ ] }, "put": { - "summary": "Create email verification (confirmation)", + "summary": "Update email verification (confirmation)", "operationId": "accountUpdateVerification", "consumes": [ "application\/json" @@ -3213,6 +3241,7 @@ }, "x-appwrite": { "method": "updateVerification", + "group": "verification", "weight": 41, "cookies": false, "type": "", @@ -3291,6 +3320,7 @@ }, "x-appwrite": { "method": "createPhoneVerification", + "group": "verification", "weight": 42, "cookies": false, "type": "", @@ -3343,6 +3373,7 @@ }, "x-appwrite": { "method": "updatePhoneVerification", + "group": "verification", "weight": 43, "cookies": false, "type": "", @@ -3401,9 +3432,7 @@ "get": { "summary": "Get browser icon", "operationId": "avatarsGetBrowser", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/png" ], @@ -3421,6 +3450,7 @@ }, "x-appwrite": { "method": "getBrowser", + "group": null, "weight": 60, "cookies": false, "type": "location", @@ -3527,9 +3557,7 @@ "get": { "summary": "Get credit card icon", "operationId": "avatarsGetCreditCard", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/png" ], @@ -3547,6 +3575,7 @@ }, "x-appwrite": { "method": "getCreditCard", + "group": null, "weight": 59, "cookies": false, "type": "location", @@ -3659,9 +3688,7 @@ "get": { "summary": "Get favicon", "operationId": "avatarsGetFavicon", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/*" ], @@ -3679,6 +3706,7 @@ }, "x-appwrite": { "method": "getFavicon", + "group": null, "weight": 63, "cookies": false, "type": "location", @@ -3723,9 +3751,7 @@ "get": { "summary": "Get country flag", "operationId": "avatarsGetFlag", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/png" ], @@ -3743,6 +3769,7 @@ }, "x-appwrite": { "method": "getFlag", + "group": null, "weight": 61, "cookies": false, "type": "location", @@ -4211,9 +4238,7 @@ "get": { "summary": "Get image from URL", "operationId": "avatarsGetImage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/*" ], @@ -4231,6 +4256,7 @@ }, "x-appwrite": { "method": "getImage", + "group": null, "weight": 62, "cookies": false, "type": "location", @@ -4295,9 +4321,7 @@ "get": { "summary": "Get user initials", "operationId": "avatarsGetInitials", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/png" ], @@ -4315,6 +4339,7 @@ }, "x-appwrite": { "method": "getInitials", + "group": null, "weight": 65, "cookies": false, "type": "location", @@ -4387,9 +4412,7 @@ "get": { "summary": "Get QR code", "operationId": "avatarsGetQR", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/png" ], @@ -4407,6 +4430,7 @@ }, "x-appwrite": { "method": "getQR", + "group": null, "weight": 64, "cookies": false, "type": "location", @@ -4477,7 +4501,7 @@ }, "\/console\/assistant": { "post": { - "summary": "Ask query", + "summary": "Create assistant query", "operationId": "assistantChat", "consumes": [ "application\/json" @@ -4499,7 +4523,8 @@ }, "x-appwrite": { "method": "chat", - "weight": 333, + "group": "console", + "weight": 332, "cookies": false, "type": "", "deprecated": false, @@ -4548,9 +4573,7 @@ "get": { "summary": "Get variables", "operationId": "consoleVariables", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -4568,7 +4591,8 @@ }, "x-appwrite": { "method": "variables", - "weight": 332, + "group": "console", + "weight": 331, "cookies": false, "type": "", "deprecated": false, @@ -4597,9 +4621,7 @@ "get": { "summary": "List databases", "operationId": "databasesList", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -4617,6 +4639,7 @@ }, "x-appwrite": { "method": "list", + "group": "databases", "weight": 70, "cookies": false, "type": "", @@ -4688,6 +4711,7 @@ }, "x-appwrite": { "method": "create", + "group": "databases", "weight": 69, "cookies": false, "type": "", @@ -4751,9 +4775,7 @@ "get": { "summary": "Get databases usage stats", "operationId": "databasesGetUsage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -4771,6 +4793,7 @@ }, "x-appwrite": { "method": "getUsage", + "group": null, "weight": 114, "cookies": false, "type": "", @@ -4822,9 +4845,7 @@ "get": { "summary": "Get database", "operationId": "databasesGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -4842,6 +4863,7 @@ }, "x-appwrite": { "method": "get", + "group": "databases", "weight": 71, "cookies": false, "type": "", @@ -4900,6 +4922,7 @@ }, "x-appwrite": { "method": "update", + "group": "databases", "weight": 73, "cookies": false, "type": "", @@ -4977,6 +5000,7 @@ }, "x-appwrite": { "method": "delete", + "group": "databases", "weight": 74, "cookies": false, "type": "", @@ -5017,9 +5041,7 @@ "get": { "summary": "List collections", "operationId": "databasesListCollections", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -5037,6 +5059,7 @@ }, "x-appwrite": { "method": "listCollections", + "group": "collections", "weight": 76, "cookies": false, "type": "", @@ -5116,6 +5139,7 @@ }, "x-appwrite": { "method": "createCollection", + "group": "collections", "weight": 75, "cookies": false, "type": "", @@ -5202,9 +5226,7 @@ "get": { "summary": "Get collection", "operationId": "databasesGetCollection", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -5222,6 +5244,7 @@ }, "x-appwrite": { "method": "getCollection", + "group": "collections", "weight": 77, "cookies": false, "type": "", @@ -5288,6 +5311,7 @@ }, "x-appwrite": { "method": "updateCollection", + "group": "collections", "weight": 79, "cookies": false, "type": "", @@ -5388,6 +5412,7 @@ }, "x-appwrite": { "method": "deleteCollection", + "group": "collections", "weight": 80, "cookies": false, "type": "", @@ -5436,9 +5461,7 @@ "get": { "summary": "List attributes", "operationId": "databasesListAttributes", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -5456,6 +5479,7 @@ }, "x-appwrite": { "method": "listAttributes", + "group": "attributes", "weight": 91, "cookies": false, "type": "", @@ -5536,6 +5560,7 @@ }, "x-appwrite": { "method": "createBooleanAttribute", + "group": "attributes", "weight": 88, "cookies": false, "type": "", @@ -5641,6 +5666,7 @@ }, "x-appwrite": { "method": "updateBooleanAttribute", + "group": "attributes", "weight": 100, "cookies": false, "type": "", @@ -5748,6 +5774,7 @@ }, "x-appwrite": { "method": "createDatetimeAttribute", + "group": "attributes", "weight": 89, "cookies": false, "type": "", @@ -5853,6 +5880,7 @@ }, "x-appwrite": { "method": "updateDatetimeAttribute", + "group": "attributes", "weight": 101, "cookies": false, "type": "", @@ -5960,6 +5988,7 @@ }, "x-appwrite": { "method": "createEmailAttribute", + "group": "attributes", "weight": 82, "cookies": false, "type": "", @@ -6065,6 +6094,7 @@ }, "x-appwrite": { "method": "updateEmailAttribute", + "group": "attributes", "weight": 94, "cookies": false, "type": "", @@ -6172,6 +6202,7 @@ }, "x-appwrite": { "method": "createEnumAttribute", + "group": "attributes", "weight": 83, "cookies": false, "type": "", @@ -6287,6 +6318,7 @@ }, "x-appwrite": { "method": "updateEnumAttribute", + "group": "attributes", "weight": 95, "cookies": false, "type": "", @@ -6404,6 +6436,7 @@ }, "x-appwrite": { "method": "createFloatAttribute", + "group": "attributes", "weight": 87, "cookies": false, "type": "", @@ -6521,6 +6554,7 @@ }, "x-appwrite": { "method": "updateFloatAttribute", + "group": "attributes", "weight": 99, "cookies": false, "type": "", @@ -6640,6 +6674,7 @@ }, "x-appwrite": { "method": "createIntegerAttribute", + "group": "attributes", "weight": 86, "cookies": false, "type": "", @@ -6757,6 +6792,7 @@ }, "x-appwrite": { "method": "updateIntegerAttribute", + "group": "attributes", "weight": 98, "cookies": false, "type": "", @@ -6876,6 +6912,7 @@ }, "x-appwrite": { "method": "createIpAttribute", + "group": "attributes", "weight": 84, "cookies": false, "type": "", @@ -6981,6 +7018,7 @@ }, "x-appwrite": { "method": "updateIpAttribute", + "group": "attributes", "weight": 96, "cookies": false, "type": "", @@ -7088,6 +7126,7 @@ }, "x-appwrite": { "method": "createRelationshipAttribute", + "group": "attributes", "weight": 90, "cookies": false, "type": "", @@ -7220,6 +7259,7 @@ }, "x-appwrite": { "method": "createStringAttribute", + "group": "attributes", "weight": 81, "cookies": false, "type": "", @@ -7338,6 +7378,7 @@ }, "x-appwrite": { "method": "updateStringAttribute", + "group": "attributes", "weight": 93, "cookies": false, "type": "", @@ -7451,6 +7492,7 @@ }, "x-appwrite": { "method": "createUrlAttribute", + "group": "attributes", "weight": 85, "cookies": false, "type": "", @@ -7556,6 +7598,7 @@ }, "x-appwrite": { "method": "updateUrlAttribute", + "group": "attributes", "weight": 97, "cookies": false, "type": "", @@ -7643,9 +7686,7 @@ "get": { "summary": "Get attribute", "operationId": "databasesGetAttribute", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -7694,6 +7735,7 @@ }, "x-appwrite": { "method": "getAttribute", + "group": "attributes", "weight": 92, "cookies": false, "type": "", @@ -7762,6 +7804,7 @@ }, "x-appwrite": { "method": "deleteAttribute", + "group": "attributes", "weight": 103, "cookies": false, "type": "", @@ -7837,6 +7880,7 @@ }, "x-appwrite": { "method": "updateRelationshipAttribute", + "group": "attributes", "weight": 102, "cookies": false, "type": "", @@ -7920,9 +7964,7 @@ "get": { "summary": "List documents", "operationId": "databasesListDocuments", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -7940,6 +7982,7 @@ }, "x-appwrite": { "method": "listDocuments", + "group": "documents", "weight": 109, "cookies": false, "type": "", @@ -8021,6 +8064,7 @@ }, "x-appwrite": { "method": "createDocument", + "group": "documents", "weight": 108, "cookies": false, "type": "", @@ -8106,9 +8150,7 @@ "get": { "summary": "Get document", "operationId": "databasesGetDocument", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -8126,6 +8168,7 @@ }, "x-appwrite": { "method": "getDocument", + "group": "documents", "weight": 110, "cookies": false, "type": "", @@ -8215,6 +8258,7 @@ }, "x-appwrite": { "method": "updateDocument", + "group": "documents", "weight": 112, "cookies": false, "type": "", @@ -8311,6 +8355,7 @@ }, "x-appwrite": { "method": "deleteDocument", + "group": "documents", "weight": 113, "cookies": false, "type": "", @@ -8370,9 +8415,7 @@ "get": { "summary": "List document logs", "operationId": "databasesListDocumentLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -8390,6 +8433,7 @@ }, "x-appwrite": { "method": "listDocumentLogs", + "group": "logs", "weight": 111, "cookies": false, "type": "", @@ -8457,9 +8501,7 @@ "get": { "summary": "List indexes", "operationId": "databasesListIndexes", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -8477,6 +8519,7 @@ }, "x-appwrite": { "method": "listIndexes", + "group": "indexes", "weight": 105, "cookies": false, "type": "", @@ -8555,6 +8598,7 @@ }, "x-appwrite": { "method": "createIndex", + "group": "collections", "weight": 104, "cookies": false, "type": "", @@ -8654,9 +8698,7 @@ "get": { "summary": "Get index", "operationId": "databasesGetIndex", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -8674,6 +8716,7 @@ }, "x-appwrite": { "method": "getIndex", + "group": "indexes", "weight": 106, "cookies": false, "type": "", @@ -8742,6 +8785,7 @@ }, "x-appwrite": { "method": "deleteIndex", + "group": "indexes", "weight": 107, "cookies": false, "type": "", @@ -8797,9 +8841,7 @@ "get": { "summary": "List collection logs", "operationId": "databasesListCollectionLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -8817,6 +8859,7 @@ }, "x-appwrite": { "method": "listCollectionLogs", + "group": "collections", "weight": 78, "cookies": false, "type": "", @@ -8876,9 +8919,7 @@ "get": { "summary": "Get collection usage stats", "operationId": "databasesGetCollectionUsage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -8896,6 +8937,7 @@ }, "x-appwrite": { "method": "getCollectionUsage", + "group": null, "weight": 116, "cookies": false, "type": "", @@ -8963,9 +9005,7 @@ "get": { "summary": "List database logs", "operationId": "databasesListLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -8983,6 +9023,7 @@ }, "x-appwrite": { "method": "listLogs", + "group": "logs", "weight": 72, "cookies": false, "type": "", @@ -9034,9 +9075,7 @@ "get": { "summary": "Get database usage stats", "operationId": "databasesGetDatabaseUsage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -9054,6 +9093,7 @@ }, "x-appwrite": { "method": "getDatabaseUsage", + "group": null, "weight": 115, "cookies": false, "type": "", @@ -9113,9 +9153,7 @@ "get": { "summary": "List functions", "operationId": "functionsList", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -9133,7 +9171,8 @@ }, "x-appwrite": { "method": "list", - "weight": 289, + "group": "functions", + "weight": 288, "cookies": false, "type": "", "deprecated": false, @@ -9204,7 +9243,8 @@ }, "x-appwrite": { "method": "create", - "weight": 288, + "group": "functions", + "weight": 287, "cookies": false, "type": "", "deprecated": false, @@ -9454,9 +9494,7 @@ "get": { "summary": "List runtimes", "operationId": "functionsListRuntimes", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -9474,7 +9512,8 @@ }, "x-appwrite": { "method": "listRuntimes", - "weight": 290, + "group": "runtimes", + "weight": 289, "cookies": false, "type": "", "deprecated": false, @@ -9504,9 +9543,7 @@ "get": { "summary": "List available function runtime specifications", "operationId": "functionsListSpecifications", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -9524,7 +9561,8 @@ }, "x-appwrite": { "method": "listSpecifications", - "weight": 291, + "group": "runtimes", + "weight": 290, "cookies": false, "type": "", "deprecated": false, @@ -9555,9 +9593,7 @@ "get": { "summary": "List function templates", "operationId": "functionsListTemplates", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -9575,7 +9611,8 @@ }, "x-appwrite": { "method": "listTemplates", - "weight": 314, + "group": "templates", + "weight": 313, "cookies": false, "type": "", "deprecated": false, @@ -9650,9 +9687,7 @@ "get": { "summary": "Get function template", "operationId": "functionsGetTemplate", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -9670,7 +9705,8 @@ }, "x-appwrite": { "method": "getTemplate", - "weight": 315, + "group": "templates", + "weight": 314, "cookies": false, "type": "", "deprecated": false, @@ -9709,9 +9745,7 @@ "get": { "summary": "Get functions usage", "operationId": "functionsGetUsage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -9729,7 +9763,8 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 294, + "group": null, + "weight": 293, "cookies": false, "type": "", "deprecated": false, @@ -9780,9 +9815,7 @@ "get": { "summary": "Get function", "operationId": "functionsGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -9800,7 +9833,8 @@ }, "x-appwrite": { "method": "get", - "weight": 292, + "group": "functions", + "weight": 291, "cookies": false, "type": "", "deprecated": false, @@ -9858,7 +9892,8 @@ }, "x-appwrite": { "method": "update", - "weight": 295, + "group": "functions", + "weight": 294, "cookies": false, "type": "", "deprecated": false, @@ -10098,7 +10133,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 298, + "group": "functions", + "weight": 297, "cookies": false, "type": "", "deprecated": false, @@ -10138,9 +10174,7 @@ "get": { "summary": "List deployments", "operationId": "functionsListDeployments", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -10158,7 +10192,8 @@ }, "x-appwrite": { "method": "listDeployments", - "weight": 300, + "group": "deployments", + "weight": 299, "cookies": false, "type": "", "deprecated": false, @@ -10237,7 +10272,8 @@ }, "x-appwrite": { "method": "createDeployment", - "weight": 299, + "group": "deployments", + "weight": 298, "cookies": false, "type": "upload", "deprecated": false, @@ -10308,9 +10344,7 @@ "get": { "summary": "Get deployment", "operationId": "functionsGetDeployment", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -10328,7 +10362,8 @@ }, "x-appwrite": { "method": "getDeployment", - "weight": 301, + "group": "deployments", + "weight": 300, "cookies": false, "type": "", "deprecated": false, @@ -10394,7 +10429,8 @@ }, "x-appwrite": { "method": "updateDeployment", - "weight": 297, + "group": "deployments", + "weight": 296, "cookies": false, "type": "", "deprecated": false, @@ -10455,7 +10491,8 @@ }, "x-appwrite": { "method": "deleteDeployment", - "weight": 302, + "group": "deployments", + "weight": 301, "cookies": false, "type": "", "deprecated": false, @@ -10501,7 +10538,7 @@ }, "\/functions\/{functionId}\/deployments\/{deploymentId}\/build": { "post": { - "summary": "Rebuild deployment", + "summary": "Create deployment build", "operationId": "functionsCreateBuild", "consumes": [ "application\/json" @@ -10520,7 +10557,8 @@ }, "x-appwrite": { "method": "createBuild", - "weight": 303, + "group": "deployments", + "weight": 302, "cookies": false, "type": "", "deprecated": false, @@ -10601,7 +10639,8 @@ }, "x-appwrite": { "method": "updateDeploymentBuild", - "weight": 304, + "group": "deployments", + "weight": 303, "cookies": false, "type": "", "deprecated": false, @@ -10647,11 +10686,9 @@ }, "\/functions\/{functionId}\/deployments\/{deploymentId}\/download": { "get": { - "summary": "Download deployment", + "summary": "Get deployment download", "operationId": "functionsGetDeploymentDownload", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "*\/*" ], @@ -10669,7 +10706,8 @@ }, "x-appwrite": { "method": "getDeploymentDownload", - "weight": 296, + "group": "deployments", + "weight": 295, "cookies": false, "type": "location", "deprecated": false, @@ -10719,9 +10757,7 @@ "get": { "summary": "List executions", "operationId": "functionsListExecutions", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -10739,7 +10775,8 @@ }, "x-appwrite": { "method": "listExecutions", - "weight": 306, + "group": "executions", + "weight": 305, "cookies": false, "type": "", "deprecated": false, @@ -10821,7 +10858,8 @@ }, "x-appwrite": { "method": "createExecution", - "weight": 305, + "group": "executions", + "weight": 304, "cookies": false, "type": "", "deprecated": false, @@ -10919,9 +10957,7 @@ "get": { "summary": "Get execution", "operationId": "functionsGetExecution", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -10939,7 +10975,8 @@ }, "x-appwrite": { "method": "getExecution", - "weight": 307, + "group": "executions", + "weight": 306, "cookies": false, "type": "", "deprecated": false, @@ -11003,7 +11040,8 @@ }, "x-appwrite": { "method": "deleteExecution", - "weight": 308, + "group": "executions", + "weight": 307, "cookies": false, "type": "", "deprecated": false, @@ -11051,9 +11089,7 @@ "get": { "summary": "Get function usage", "operationId": "functionsGetFunctionUsage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11071,7 +11107,8 @@ }, "x-appwrite": { "method": "getFunctionUsage", - "weight": 293, + "group": null, + "weight": 292, "cookies": false, "type": "", "deprecated": false, @@ -11130,9 +11167,7 @@ "get": { "summary": "List variables", "operationId": "functionsListVariables", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11150,7 +11185,8 @@ }, "x-appwrite": { "method": "listVariables", - "weight": 310, + "group": "variables", + "weight": 309, "cookies": false, "type": "", "deprecated": false, @@ -11208,7 +11244,8 @@ }, "x-appwrite": { "method": "createVariable", - "weight": 309, + "group": "variables", + "weight": 308, "cookies": false, "type": "", "deprecated": false, @@ -11273,9 +11310,7 @@ "get": { "summary": "Get variable", "operationId": "functionsGetVariable", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11293,7 +11328,8 @@ }, "x-appwrite": { "method": "getVariable", - "weight": 311, + "group": "variables", + "weight": 310, "cookies": false, "type": "", "deprecated": false, @@ -11359,7 +11395,8 @@ }, "x-appwrite": { "method": "updateVariable", - "weight": 312, + "group": "variables", + "weight": 311, "cookies": false, "type": "", "deprecated": false, @@ -11444,7 +11481,8 @@ }, "x-appwrite": { "method": "deleteVariable", - "weight": 313, + "group": "variables", + "weight": 312, "cookies": false, "type": "", "deprecated": false, @@ -11512,7 +11550,8 @@ }, "x-appwrite": { "method": "query", - "weight": 331, + "group": "graphql", + "weight": 330, "cookies": false, "type": "graphql", "deprecated": false, @@ -11585,7 +11624,8 @@ }, "x-appwrite": { "method": "mutation", - "weight": 330, + "group": "graphql", + "weight": 329, "cookies": false, "type": "graphql", "deprecated": false, @@ -11638,9 +11678,7 @@ "get": { "summary": "Get HTTP", "operationId": "healthGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11658,6 +11696,7 @@ }, "x-appwrite": { "method": "get", + "group": "health", "weight": 125, "cookies": false, "type": "", @@ -11688,9 +11727,7 @@ "get": { "summary": "Get antivirus", "operationId": "healthGetAntivirus", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11708,7 +11745,8 @@ }, "x-appwrite": { "method": "getAntivirus", - "weight": 147, + "group": "health", + "weight": 146, "cookies": false, "type": "", "deprecated": false, @@ -11738,9 +11776,7 @@ "get": { "summary": "Get cache", "operationId": "healthGetCache", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11758,6 +11794,7 @@ }, "x-appwrite": { "method": "getCache", + "group": "health", "weight": 128, "cookies": false, "type": "", @@ -11788,9 +11825,7 @@ "get": { "summary": "Get the SSL certificate for a domain", "operationId": "healthGetCertificate", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11808,6 +11843,7 @@ }, "x-appwrite": { "method": "getCertificate", + "group": "health", "weight": 133, "cookies": false, "type": "", @@ -11847,9 +11883,7 @@ "get": { "summary": "Get DB", "operationId": "healthGetDB", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11867,6 +11901,7 @@ }, "x-appwrite": { "method": "getDB", + "group": "health", "weight": 127, "cookies": false, "type": "", @@ -11897,9 +11932,7 @@ "get": { "summary": "Get pubsub", "operationId": "healthGetPubSub", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11917,6 +11950,7 @@ }, "x-appwrite": { "method": "getPubSub", + "group": "health", "weight": 129, "cookies": false, "type": "", @@ -11947,9 +11981,7 @@ "get": { "summary": "Get builds queue", "operationId": "healthGetQueueBuilds", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11967,6 +11999,7 @@ }, "x-appwrite": { "method": "getQueueBuilds", + "group": "queue", "weight": 135, "cookies": false, "type": "", @@ -12008,9 +12041,7 @@ "get": { "summary": "Get certificates queue", "operationId": "healthGetQueueCertificates", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12028,6 +12059,7 @@ }, "x-appwrite": { "method": "getQueueCertificates", + "group": "queue", "weight": 134, "cookies": false, "type": "", @@ -12069,9 +12101,7 @@ "get": { "summary": "Get databases queue", "operationId": "healthGetQueueDatabases", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12089,6 +12119,7 @@ }, "x-appwrite": { "method": "getQueueDatabases", + "group": "queue", "weight": 136, "cookies": false, "type": "", @@ -12139,9 +12170,7 @@ "get": { "summary": "Get deletes queue", "operationId": "healthGetQueueDeletes", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12159,6 +12188,7 @@ }, "x-appwrite": { "method": "getQueueDeletes", + "group": "queue", "weight": 137, "cookies": false, "type": "", @@ -12200,9 +12230,7 @@ "get": { "summary": "Get number of failed queue jobs", "operationId": "healthGetFailedJobs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12220,7 +12248,8 @@ }, "x-appwrite": { "method": "getFailedJobs", - "weight": 148, + "group": "queue", + "weight": 147, "cookies": false, "type": "", "deprecated": false, @@ -12259,7 +12288,6 @@ "v1-functions", "v1-stats-resources", "v1-stats-usage", - "v1-stats-usage-dump", "v1-webhooks", "v1-certificates", "v1-builds", @@ -12286,9 +12314,7 @@ "get": { "summary": "Get functions queue", "operationId": "healthGetQueueFunctions", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12306,6 +12332,7 @@ }, "x-appwrite": { "method": "getQueueFunctions", + "group": "queue", "weight": 141, "cookies": false, "type": "", @@ -12347,9 +12374,7 @@ "get": { "summary": "Get logs queue", "operationId": "healthGetQueueLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12367,6 +12392,7 @@ }, "x-appwrite": { "method": "getQueueLogs", + "group": "queue", "weight": 132, "cookies": false, "type": "", @@ -12408,9 +12434,7 @@ "get": { "summary": "Get mails queue", "operationId": "healthGetQueueMails", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12428,6 +12452,7 @@ }, "x-appwrite": { "method": "getQueueMails", + "group": "queue", "weight": 138, "cookies": false, "type": "", @@ -12469,9 +12494,7 @@ "get": { "summary": "Get messaging queue", "operationId": "healthGetQueueMessaging", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12489,6 +12512,7 @@ }, "x-appwrite": { "method": "getQueueMessaging", + "group": "queue", "weight": 139, "cookies": false, "type": "", @@ -12530,9 +12554,7 @@ "get": { "summary": "Get migrations queue", "operationId": "healthGetQueueMigrations", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12550,6 +12572,7 @@ }, "x-appwrite": { "method": "getQueueMigrations", + "group": "queue", "weight": 140, "cookies": false, "type": "", @@ -12591,9 +12614,7 @@ "get": { "summary": "Get stats resources queue", "operationId": "healthGetQueueStatsResources", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12611,6 +12632,7 @@ }, "x-appwrite": { "method": "getQueueStatsResources", + "group": "queue", "weight": 142, "cookies": false, "type": "", @@ -12652,9 +12674,7 @@ "get": { "summary": "Get stats usage queue", "operationId": "healthGetQueueUsage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12672,6 +12692,7 @@ }, "x-appwrite": { "method": "getQueueUsage", + "group": "queue", "weight": 143, "cookies": false, "type": "", @@ -12709,74 +12730,11 @@ ] } }, - "\/health\/queue\/stats-usage-dump": { - "get": { - "summary": "Get usage dump queue", - "operationId": "healthGetQueueStatsUsageDump", - "consumes": [ - "application\/json" - ], - "produces": [ - "application\/json" - ], - "tags": [ - "health" - ], - "description": "Get the number of projects containing metrics that are waiting to be processed in the Appwrite internal queue server.", - "responses": { - "200": { - "description": "Health Queue", - "schema": { - "$ref": "#\/definitions\/healthQueue" - } - } - }, - "x-appwrite": { - "method": "getQueueStatsUsageDump", - "weight": 144, - "cookies": false, - "type": "", - "deprecated": false, - "demo": "health\/get-queue-stats-usage-dump.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-usage-dump.md", - "rate-limit": 0, - "rate-time": 3600, - "rate-key": "url:{url},ip:{ip}", - "scope": "health.read", - "platforms": [ - "server" - ], - "packaging": false, - "auth": { - "Project": [] - } - }, - "security": [ - { - "Project": [], - "Key": [] - } - ], - "parameters": [ - { - "name": "threshold", - "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", - "required": false, - "type": "integer", - "format": "int32", - "default": 5000, - "in": "query" - } - ] - } - }, "\/health\/queue\/webhooks": { "get": { "summary": "Get webhooks queue", "operationId": "healthGetQueueWebhooks", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12794,6 +12752,7 @@ }, "x-appwrite": { "method": "getQueueWebhooks", + "group": "queue", "weight": 131, "cookies": false, "type": "", @@ -12835,9 +12794,7 @@ "get": { "summary": "Get storage", "operationId": "healthGetStorage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12855,7 +12812,8 @@ }, "x-appwrite": { "method": "getStorage", - "weight": 146, + "group": "storage", + "weight": 145, "cookies": false, "type": "", "deprecated": false, @@ -12885,9 +12843,7 @@ "get": { "summary": "Get local storage", "operationId": "healthGetStorageLocal", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12905,7 +12861,8 @@ }, "x-appwrite": { "method": "getStorageLocal", - "weight": 145, + "group": "storage", + "weight": 144, "cookies": false, "type": "", "deprecated": false, @@ -12935,9 +12892,7 @@ "get": { "summary": "Get time", "operationId": "healthGetTime", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12955,6 +12910,7 @@ }, "x-appwrite": { "method": "getTime", + "group": "health", "weight": 130, "cookies": false, "type": "", @@ -12985,9 +12941,7 @@ "get": { "summary": "Get user locale", "operationId": "localeGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -13005,6 +12959,7 @@ }, "x-appwrite": { "method": "get", + "group": null, "weight": 117, "cookies": false, "type": "", @@ -13038,9 +12993,7 @@ "get": { "summary": "List locale codes", "operationId": "localeListCodes", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -13058,6 +13011,7 @@ }, "x-appwrite": { "method": "listCodes", + "group": null, "weight": 118, "cookies": false, "type": "", @@ -13091,9 +13045,7 @@ "get": { "summary": "List continents", "operationId": "localeListContinents", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -13111,6 +13063,7 @@ }, "x-appwrite": { "method": "listContinents", + "group": null, "weight": 122, "cookies": false, "type": "", @@ -13144,9 +13097,7 @@ "get": { "summary": "List countries", "operationId": "localeListCountries", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -13164,6 +13115,7 @@ }, "x-appwrite": { "method": "listCountries", + "group": null, "weight": 119, "cookies": false, "type": "", @@ -13197,9 +13149,7 @@ "get": { "summary": "List EU countries", "operationId": "localeListCountriesEU", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -13217,6 +13167,7 @@ }, "x-appwrite": { "method": "listCountriesEU", + "group": null, "weight": 120, "cookies": false, "type": "", @@ -13250,9 +13201,7 @@ "get": { "summary": "List countries phone codes", "operationId": "localeListCountriesPhones", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -13270,6 +13219,7 @@ }, "x-appwrite": { "method": "listCountriesPhones", + "group": null, "weight": 121, "cookies": false, "type": "", @@ -13303,9 +13253,7 @@ "get": { "summary": "List currencies", "operationId": "localeListCurrencies", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -13323,6 +13271,7 @@ }, "x-appwrite": { "method": "listCurrencies", + "group": null, "weight": 123, "cookies": false, "type": "", @@ -13356,9 +13305,7 @@ "get": { "summary": "List languages", "operationId": "localeListLanguages", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -13376,6 +13323,7 @@ }, "x-appwrite": { "method": "listLanguages", + "group": null, "weight": 124, "cookies": false, "type": "", @@ -13409,9 +13357,7 @@ "get": { "summary": "List messages", "operationId": "messagingListMessages", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -13429,7 +13375,8 @@ }, "x-appwrite": { "method": "listMessages", - "weight": 384, + "group": "messages", + "weight": 383, "cookies": false, "type": "", "deprecated": false, @@ -13503,7 +13450,8 @@ }, "x-appwrite": { "method": "createEmail", - "weight": 381, + "group": "messages", + "weight": 380, "cookies": false, "type": "", "deprecated": false, @@ -13660,7 +13608,8 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 388, + "group": "messages", + "weight": 387, "cookies": false, "type": "", "deprecated": false, @@ -13814,7 +13763,8 @@ }, "x-appwrite": { "method": "createPush", - "weight": 383, + "group": "messages", + "weight": 382, "cookies": false, "type": "", "deprecated": false, @@ -14008,7 +13958,8 @@ }, "x-appwrite": { "method": "updatePush", - "weight": 390, + "group": "messages", + "weight": 389, "cookies": false, "type": "", "deprecated": false, @@ -14201,7 +14152,8 @@ }, "x-appwrite": { "method": "createSms", - "weight": 382, + "group": "messages", + "weight": 381, "cookies": false, "type": "", "deprecated": false, @@ -14318,7 +14270,8 @@ }, "x-appwrite": { "method": "updateSms", - "weight": 389, + "group": "messages", + "weight": 388, "cookies": false, "type": "", "deprecated": false, @@ -14413,9 +14366,7 @@ "get": { "summary": "Get message", "operationId": "messagingGetMessage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -14433,7 +14384,8 @@ }, "x-appwrite": { "method": "getMessage", - "weight": 387, + "group": "messages", + "weight": 386, "cookies": false, "type": "", "deprecated": false, @@ -14487,7 +14439,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 391, + "group": "messages", + "weight": 390, "cookies": false, "type": "", "deprecated": false, @@ -14528,9 +14481,7 @@ "get": { "summary": "List message logs", "operationId": "messagingListMessageLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -14548,7 +14499,8 @@ }, "x-appwrite": { "method": "listMessageLogs", - "weight": 385, + "group": "logs", + "weight": 384, "cookies": false, "type": "", "deprecated": false, @@ -14601,9 +14553,7 @@ "get": { "summary": "List message targets", "operationId": "messagingListTargets", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -14621,7 +14571,8 @@ }, "x-appwrite": { "method": "listTargets", - "weight": 386, + "group": "messages", + "weight": 385, "cookies": false, "type": "", "deprecated": false, @@ -14674,9 +14625,7 @@ "get": { "summary": "List providers", "operationId": "messagingListProviders", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -14694,7 +14643,8 @@ }, "x-appwrite": { "method": "listProviders", - "weight": 356, + "group": "providers", + "weight": 355, "cookies": false, "type": "", "deprecated": false, @@ -14768,7 +14718,8 @@ }, "x-appwrite": { "method": "createApnsProvider", - "weight": 355, + "group": "providers", + "weight": 354, "cookies": false, "type": "", "deprecated": false, @@ -14882,7 +14833,8 @@ }, "x-appwrite": { "method": "updateApnsProvider", - "weight": 368, + "group": "providers", + "weight": 367, "cookies": false, "type": "", "deprecated": false, @@ -14994,7 +14946,8 @@ }, "x-appwrite": { "method": "createFcmProvider", - "weight": 354, + "group": "providers", + "weight": 353, "cookies": false, "type": "", "deprecated": false, @@ -15084,7 +15037,8 @@ }, "x-appwrite": { "method": "updateFcmProvider", - "weight": 367, + "group": "providers", + "weight": 366, "cookies": false, "type": "", "deprecated": false, @@ -15172,7 +15126,8 @@ }, "x-appwrite": { "method": "createMailgunProvider", - "weight": 346, + "group": "providers", + "weight": 345, "cookies": false, "type": "", "deprecated": false, @@ -15298,7 +15253,8 @@ }, "x-appwrite": { "method": "updateMailgunProvider", - "weight": 359, + "group": "providers", + "weight": 358, "cookies": false, "type": "", "deprecated": false, @@ -15422,7 +15378,8 @@ }, "x-appwrite": { "method": "createMsg91Provider", - "weight": 349, + "group": "providers", + "weight": 348, "cookies": false, "type": "", "deprecated": false, @@ -15524,7 +15481,8 @@ }, "x-appwrite": { "method": "updateMsg91Provider", - "weight": 362, + "group": "providers", + "weight": 361, "cookies": false, "type": "", "deprecated": false, @@ -15624,7 +15582,8 @@ }, "x-appwrite": { "method": "createSendgridProvider", - "weight": 347, + "group": "providers", + "weight": 346, "cookies": false, "type": "", "deprecated": false, @@ -15738,7 +15697,8 @@ }, "x-appwrite": { "method": "updateSendgridProvider", - "weight": 360, + "group": "providers", + "weight": 359, "cookies": false, "type": "", "deprecated": false, @@ -15850,7 +15810,8 @@ }, "x-appwrite": { "method": "createSmtpProvider", - "weight": 348, + "group": "providers", + "weight": 347, "cookies": false, "type": "", "deprecated": false, @@ -16008,7 +15969,8 @@ }, "x-appwrite": { "method": "updateSmtpProvider", - "weight": 361, + "group": "providers", + "weight": 360, "cookies": false, "type": "", "deprecated": false, @@ -16163,7 +16125,8 @@ }, "x-appwrite": { "method": "createTelesignProvider", - "weight": 350, + "group": "providers", + "weight": 349, "cookies": false, "type": "", "deprecated": false, @@ -16265,7 +16228,8 @@ }, "x-appwrite": { "method": "updateTelesignProvider", - "weight": 363, + "group": "providers", + "weight": 362, "cookies": false, "type": "", "deprecated": false, @@ -16365,7 +16329,8 @@ }, "x-appwrite": { "method": "createTextmagicProvider", - "weight": 351, + "group": "providers", + "weight": 350, "cookies": false, "type": "", "deprecated": false, @@ -16467,7 +16432,8 @@ }, "x-appwrite": { "method": "updateTextmagicProvider", - "weight": 364, + "group": "providers", + "weight": 363, "cookies": false, "type": "", "deprecated": false, @@ -16567,7 +16533,8 @@ }, "x-appwrite": { "method": "createTwilioProvider", - "weight": 352, + "group": "providers", + "weight": 351, "cookies": false, "type": "", "deprecated": false, @@ -16669,7 +16636,8 @@ }, "x-appwrite": { "method": "updateTwilioProvider", - "weight": 365, + "group": "providers", + "weight": 364, "cookies": false, "type": "", "deprecated": false, @@ -16769,7 +16737,8 @@ }, "x-appwrite": { "method": "createVonageProvider", - "weight": 353, + "group": "providers", + "weight": 352, "cookies": false, "type": "", "deprecated": false, @@ -16871,7 +16840,8 @@ }, "x-appwrite": { "method": "updateVonageProvider", - "weight": 366, + "group": "providers", + "weight": 365, "cookies": false, "type": "", "deprecated": false, @@ -16951,9 +16921,7 @@ "get": { "summary": "Get provider", "operationId": "messagingGetProvider", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -16971,7 +16939,8 @@ }, "x-appwrite": { "method": "getProvider", - "weight": 358, + "group": "providers", + "weight": 357, "cookies": false, "type": "", "deprecated": false, @@ -17025,7 +16994,8 @@ }, "x-appwrite": { "method": "deleteProvider", - "weight": 369, + "group": "providers", + "weight": 368, "cookies": false, "type": "", "deprecated": false, @@ -17066,9 +17036,7 @@ "get": { "summary": "List provider logs", "operationId": "messagingListProviderLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -17086,7 +17054,8 @@ }, "x-appwrite": { "method": "listProviderLogs", - "weight": 357, + "group": "providers", + "weight": 356, "cookies": false, "type": "", "deprecated": false, @@ -17139,9 +17108,7 @@ "get": { "summary": "List subscriber logs", "operationId": "messagingListSubscriberLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -17159,7 +17126,8 @@ }, "x-appwrite": { "method": "listSubscriberLogs", - "weight": 378, + "group": "subscribers", + "weight": 377, "cookies": false, "type": "", "deprecated": false, @@ -17212,9 +17180,7 @@ "get": { "summary": "List topics", "operationId": "messagingListTopics", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -17232,7 +17198,8 @@ }, "x-appwrite": { "method": "listTopics", - "weight": 371, + "group": "topics", + "weight": 370, "cookies": false, "type": "", "deprecated": false, @@ -17304,7 +17271,8 @@ }, "x-appwrite": { "method": "createTopic", - "weight": 370, + "group": "topics", + "weight": 369, "cookies": false, "type": "", "deprecated": false, @@ -17373,9 +17341,7 @@ "get": { "summary": "Get topic", "operationId": "messagingGetTopic", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -17393,7 +17359,8 @@ }, "x-appwrite": { "method": "getTopic", - "weight": 373, + "group": "topics", + "weight": 372, "cookies": false, "type": "", "deprecated": false, @@ -17452,7 +17419,8 @@ }, "x-appwrite": { "method": "updateTopic", - "weight": 374, + "group": "topics", + "weight": 373, "cookies": false, "type": "", "deprecated": false, @@ -17530,7 +17498,8 @@ }, "x-appwrite": { "method": "deleteTopic", - "weight": 375, + "group": "topics", + "weight": 374, "cookies": false, "type": "", "deprecated": false, @@ -17571,9 +17540,7 @@ "get": { "summary": "List topic logs", "operationId": "messagingListTopicLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -17591,7 +17558,8 @@ }, "x-appwrite": { "method": "listTopicLogs", - "weight": 372, + "group": "topics", + "weight": 371, "cookies": false, "type": "", "deprecated": false, @@ -17644,9 +17612,7 @@ "get": { "summary": "List subscribers", "operationId": "messagingListSubscribers", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -17664,7 +17630,8 @@ }, "x-appwrite": { "method": "listSubscribers", - "weight": 377, + "group": "subscribers", + "weight": 376, "cookies": false, "type": "", "deprecated": false, @@ -17744,7 +17711,8 @@ }, "x-appwrite": { "method": "createSubscriber", - "weight": 376, + "group": "subscribers", + "weight": 375, "cookies": false, "type": "", "deprecated": false, @@ -17813,9 +17781,7 @@ "get": { "summary": "Get subscriber", "operationId": "messagingGetSubscriber", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -17833,7 +17799,8 @@ }, "x-appwrite": { "method": "getSubscriber", - "weight": 379, + "group": "subscribers", + "weight": 378, "cookies": false, "type": "", "deprecated": false, @@ -17895,7 +17862,8 @@ }, "x-appwrite": { "method": "deleteSubscriber", - "weight": 380, + "group": "subscribers", + "weight": 379, "cookies": false, "type": "", "deprecated": false, @@ -17947,9 +17915,7 @@ "get": { "summary": "List migrations", "operationId": "migrationsList", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -17967,7 +17933,8 @@ }, "x-appwrite": { "method": "list", - "weight": 338, + "group": null, + "weight": 337, "cookies": false, "type": "", "deprecated": false, @@ -18017,7 +17984,7 @@ }, "\/migrations\/appwrite": { "post": { - "summary": "Migrate Appwrite data", + "summary": "Create Appwrite migration", "operationId": "migrationsCreateAppwriteMigration", "consumes": [ "application\/json" @@ -18039,7 +18006,8 @@ }, "x-appwrite": { "method": "createAppwriteMigration", - "weight": 334, + "group": null, + "weight": 333, "cookies": false, "type": "", "deprecated": false, @@ -18110,11 +18078,9 @@ }, "\/migrations\/appwrite\/report": { "get": { - "summary": "Generate a report on Appwrite data", + "summary": "Get Appwrite migration report", "operationId": "migrationsGetAppwriteReport", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -18132,7 +18098,8 @@ }, "x-appwrite": { "method": "getAppwriteReport", - "weight": 340, + "group": null, + "weight": 339, "cookies": false, "type": "", "deprecated": false, @@ -18197,7 +18164,7 @@ }, "\/migrations\/firebase": { "post": { - "summary": "Migrate Firebase data", + "summary": "Create Firebase migration", "operationId": "migrationsCreateFirebaseMigration", "consumes": [ "application\/json" @@ -18219,7 +18186,8 @@ }, "x-appwrite": { "method": "createFirebaseMigration", - "weight": 335, + "group": null, + "weight": 334, "cookies": false, "type": "", "deprecated": false, @@ -18276,11 +18244,9 @@ }, "\/migrations\/firebase\/report": { "get": { - "summary": "Generate a report on Firebase data", + "summary": "Get Firebase migration report", "operationId": "migrationsGetFirebaseReport", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -18298,7 +18264,8 @@ }, "x-appwrite": { "method": "getFirebaseReport", - "weight": 341, + "group": null, + "weight": 340, "cookies": false, "type": "", "deprecated": false, @@ -18346,7 +18313,7 @@ }, "\/migrations\/nhost": { "post": { - "summary": "Migrate NHost data", + "summary": "Create NHost migration", "operationId": "migrationsCreateNHostMigration", "consumes": [ "application\/json" @@ -18368,7 +18335,8 @@ }, "x-appwrite": { "method": "createNHostMigration", - "weight": 337, + "group": null, + "weight": 336, "cookies": false, "type": "", "deprecated": false, @@ -18466,11 +18434,9 @@ }, "\/migrations\/nhost\/report": { "get": { - "summary": "Generate a report on NHost Data", + "summary": "Get NHost migration report", "operationId": "migrationsGetNHostReport", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -18488,7 +18454,8 @@ }, "x-appwrite": { "method": "getNHostReport", - "weight": 343, + "group": null, + "weight": 342, "cookies": false, "type": "", "deprecated": false, @@ -18585,7 +18552,7 @@ }, "\/migrations\/supabase": { "post": { - "summary": "Migrate Supabase data", + "summary": "Create Supabase migration", "operationId": "migrationsCreateSupabaseMigration", "consumes": [ "application\/json" @@ -18607,7 +18574,8 @@ }, "x-appwrite": { "method": "createSupabaseMigration", - "weight": 336, + "group": null, + "weight": 335, "cookies": false, "type": "", "deprecated": false, @@ -18698,11 +18666,9 @@ }, "\/migrations\/supabase\/report": { "get": { - "summary": "Generate a report on Supabase Data", + "summary": "Get Supabase migration report", "operationId": "migrationsGetSupabaseReport", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -18720,7 +18686,8 @@ }, "x-appwrite": { "method": "getSupabaseReport", - "weight": 342, + "group": null, + "weight": 341, "cookies": false, "type": "", "deprecated": false, @@ -18812,9 +18779,7 @@ "get": { "summary": "Get migration", "operationId": "migrationsGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -18832,7 +18797,8 @@ }, "x-appwrite": { "method": "get", - "weight": 339, + "group": null, + "weight": 338, "cookies": false, "type": "", "deprecated": false, @@ -18867,7 +18833,7 @@ ] }, "patch": { - "summary": "Retry migration", + "summary": "Update retry migration", "operationId": "migrationsRetry", "consumes": [ "application\/json" @@ -18889,7 +18855,8 @@ }, "x-appwrite": { "method": "retry", - "weight": 344, + "group": null, + "weight": 343, "cookies": false, "type": "", "deprecated": false, @@ -18941,7 +18908,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 345, + "group": null, + "weight": 344, "cookies": false, "type": "", "deprecated": false, @@ -18980,9 +18948,7 @@ "get": { "summary": "Get project usage stats", "operationId": "projectGetUsage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -19000,7 +18966,8 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 196, + "group": null, + "weight": 195, "cookies": false, "type": "", "deprecated": false, @@ -19063,9 +19030,7 @@ "get": { "summary": "List variables", "operationId": "projectListVariables", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -19083,7 +19048,8 @@ }, "x-appwrite": { "method": "listVariables", - "weight": 198, + "group": null, + "weight": 197, "cookies": false, "type": "", "deprecated": false, @@ -19130,7 +19096,8 @@ }, "x-appwrite": { "method": "createVariable", - "weight": 197, + "group": null, + "weight": 196, "cookies": false, "type": "", "deprecated": false, @@ -19186,9 +19153,7 @@ "get": { "summary": "Get variable", "operationId": "projectGetVariable", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -19206,7 +19171,8 @@ }, "x-appwrite": { "method": "getVariable", - "weight": 199, + "group": null, + "weight": 198, "cookies": false, "type": "", "deprecated": false, @@ -19263,7 +19229,8 @@ }, "x-appwrite": { "method": "updateVariable", - "weight": 200, + "group": null, + "weight": 199, "cookies": false, "type": "", "deprecated": false, @@ -19339,7 +19306,8 @@ }, "x-appwrite": { "method": "deleteVariable", - "weight": 201, + "group": null, + "weight": 200, "cookies": false, "type": "", "deprecated": false, @@ -19378,9 +19346,7 @@ "get": { "summary": "List projects", "operationId": "projectsList", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -19398,7 +19364,8 @@ }, "x-appwrite": { "method": "list", - "weight": 151, + "group": "projects", + "weight": 150, "cookies": false, "type": "", "deprecated": false, @@ -19468,7 +19435,8 @@ }, "x-appwrite": { "method": "create", - "weight": 150, + "group": "projects", + "weight": 149, "cookies": false, "type": "", "deprecated": false, @@ -19522,8 +19490,7 @@ "default": "default", "x-example": "default", "enum": [ - "default", - "fra" + "default" ], "x-enum-name": null, "x-enum-keys": [] @@ -19597,9 +19564,7 @@ "get": { "summary": "Get project", "operationId": "projectsGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -19617,7 +19582,8 @@ }, "x-appwrite": { "method": "get", - "weight": 152, + "group": "projects", + "weight": 151, "cookies": false, "type": "", "deprecated": false, @@ -19674,7 +19640,8 @@ }, "x-appwrite": { "method": "update", - "weight": 153, + "group": "projects", + "weight": 152, "cookies": false, "type": "", "deprecated": false, @@ -19798,7 +19765,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 170, + "group": "projects", + "weight": 169, "cookies": false, "type": "", "deprecated": false, @@ -19857,7 +19825,8 @@ }, "x-appwrite": { "method": "updateApiStatus", - "weight": 157, + "group": "projects", + "weight": 156, "cookies": false, "type": "", "deprecated": false, @@ -19948,7 +19917,8 @@ }, "x-appwrite": { "method": "updateApiStatusAll", - "weight": 158, + "group": "projects", + "weight": 157, "cookies": false, "type": "", "deprecated": false, @@ -20025,7 +19995,8 @@ }, "x-appwrite": { "method": "updateAuthDuration", - "weight": 163, + "group": "auth", + "weight": 162, "cookies": false, "type": "", "deprecated": false, @@ -20102,7 +20073,8 @@ }, "x-appwrite": { "method": "updateAuthLimit", - "weight": 162, + "group": "auth", + "weight": 161, "cookies": false, "type": "", "deprecated": false, @@ -20179,7 +20151,8 @@ }, "x-appwrite": { "method": "updateAuthSessionsLimit", - "weight": 168, + "group": "auth", + "weight": 167, "cookies": false, "type": "", "deprecated": false, @@ -20256,7 +20229,8 @@ }, "x-appwrite": { "method": "updateMembershipsPrivacy", - "weight": 161, + "group": "auth", + "weight": 160, "cookies": false, "type": "", "deprecated": false, @@ -20347,7 +20321,8 @@ }, "x-appwrite": { "method": "updateMockNumbers", - "weight": 169, + "group": "auth", + "weight": 168, "cookies": false, "type": "", "deprecated": false, @@ -20427,7 +20402,8 @@ }, "x-appwrite": { "method": "updateAuthPasswordDictionary", - "weight": 166, + "group": "auth", + "weight": 165, "cookies": false, "type": "", "deprecated": false, @@ -20504,7 +20480,8 @@ }, "x-appwrite": { "method": "updateAuthPasswordHistory", - "weight": 165, + "group": "auth", + "weight": 164, "cookies": false, "type": "", "deprecated": false, @@ -20559,7 +20536,7 @@ }, "\/projects\/{projectId}\/auth\/personal-data": { "patch": { - "summary": "Enable or disable checking user passwords for similarity with their personal data.", + "summary": "Update personal data check", "operationId": "projectsUpdatePersonalDataCheck", "consumes": [ "application\/json" @@ -20581,7 +20558,8 @@ }, "x-appwrite": { "method": "updatePersonalDataCheck", - "weight": 167, + "group": "auth", + "weight": 166, "cookies": false, "type": "", "deprecated": false, @@ -20658,7 +20636,8 @@ }, "x-appwrite": { "method": "updateSessionAlerts", - "weight": 160, + "group": "auth", + "weight": 159, "cookies": false, "type": "", "deprecated": false, @@ -20735,7 +20714,8 @@ }, "x-appwrite": { "method": "updateAuthStatus", - "weight": 164, + "group": "auth", + "weight": 163, "cookies": false, "type": "", "deprecated": false, @@ -20831,7 +20811,8 @@ }, "x-appwrite": { "method": "createJWT", - "weight": 182, + "group": "auth", + "weight": 181, "cookies": false, "type": "", "deprecated": false, @@ -20897,9 +20878,7 @@ "get": { "summary": "List keys", "operationId": "projectsListKeys", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -20917,7 +20896,8 @@ }, "x-appwrite": { "method": "listKeys", - "weight": 178, + "group": "keys", + "weight": 177, "cookies": false, "type": "", "deprecated": false, @@ -20974,7 +20954,8 @@ }, "x-appwrite": { "method": "createKey", - "weight": 177, + "group": "keys", + "weight": 176, "cookies": false, "type": "", "deprecated": false, @@ -21047,9 +21028,7 @@ "get": { "summary": "Get key", "operationId": "projectsGetKey", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -21067,7 +21046,8 @@ }, "x-appwrite": { "method": "getKey", - "weight": 179, + "group": "keys", + "weight": 178, "cookies": false, "type": "", "deprecated": false, @@ -21132,7 +21112,8 @@ }, "x-appwrite": { "method": "updateKey", - "weight": 180, + "group": "keys", + "weight": 179, "cookies": false, "type": "", "deprecated": false, @@ -21226,7 +21207,8 @@ }, "x-appwrite": { "method": "deleteKey", - "weight": 181, + "group": "keys", + "weight": 180, "cookies": false, "type": "", "deprecated": false, @@ -21293,7 +21275,8 @@ }, "x-appwrite": { "method": "updateOAuth2", - "weight": 159, + "group": "auth", + "weight": 158, "cookies": false, "type": "", "deprecated": false, @@ -21351,6 +21334,7 @@ "dropbox", "etsy", "facebook", + "figma", "github", "gitlab", "google", @@ -21411,9 +21395,7 @@ "get": { "summary": "List platforms", "operationId": "projectsListPlatforms", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -21431,7 +21413,8 @@ }, "x-appwrite": { "method": "listPlatforms", - "weight": 184, + "group": "platforms", + "weight": 183, "cookies": false, "type": "", "deprecated": false, @@ -21488,7 +21471,8 @@ }, "x-appwrite": { "method": "createPlatform", - "weight": 183, + "group": "platforms", + "weight": 182, "cookies": false, "type": "", "deprecated": false, @@ -21589,9 +21573,7 @@ "get": { "summary": "Get platform", "operationId": "projectsGetPlatform", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -21609,7 +21591,8 @@ }, "x-appwrite": { "method": "getPlatform", - "weight": 185, + "group": "platforms", + "weight": 184, "cookies": false, "type": "", "deprecated": false, @@ -21674,7 +21657,8 @@ }, "x-appwrite": { "method": "updatePlatform", - "weight": 186, + "group": "platforms", + "weight": 185, "cookies": false, "type": "", "deprecated": false, @@ -21770,7 +21754,8 @@ }, "x-appwrite": { "method": "deletePlatform", - "weight": 187, + "group": "platforms", + "weight": 186, "cookies": false, "type": "", "deprecated": false, @@ -21837,7 +21822,8 @@ }, "x-appwrite": { "method": "updateServiceStatus", - "weight": 155, + "group": "projects", + "weight": 154, "cookies": false, "type": "", "deprecated": false, @@ -21936,7 +21922,8 @@ }, "x-appwrite": { "method": "updateServiceStatusAll", - "weight": 156, + "group": "projects", + "weight": 155, "cookies": false, "type": "", "deprecated": false, @@ -22013,7 +22000,8 @@ }, "x-appwrite": { "method": "updateSmtp", - "weight": 188, + "group": "templates", + "weight": 187, "cookies": false, "type": "", "deprecated": false, @@ -22141,7 +22129,8 @@ }, "x-appwrite": { "method": "createSmtpTest", - "weight": 189, + "group": "templates", + "weight": 188, "cookies": false, "type": "", "deprecated": false, @@ -22278,7 +22267,8 @@ }, "x-appwrite": { "method": "updateTeam", - "weight": 154, + "group": "projects", + "weight": 153, "cookies": false, "type": "", "deprecated": false, @@ -22335,9 +22325,7 @@ "get": { "summary": "Get custom email template", "operationId": "projectsGetEmailTemplate", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -22355,7 +22343,8 @@ }, "x-appwrite": { "method": "getEmailTemplate", - "weight": 191, + "group": "templates", + "weight": 190, "cookies": false, "type": "", "deprecated": false, @@ -22574,7 +22563,8 @@ }, "x-appwrite": { "method": "updateEmailTemplate", - "weight": 193, + "group": "templates", + "weight": 192, "cookies": false, "type": "", "deprecated": false, @@ -22814,7 +22804,7 @@ ] }, "delete": { - "summary": "Reset custom email template", + "summary": "Delete custom email template", "operationId": "projectsDeleteEmailTemplate", "consumes": [ "application\/json" @@ -22836,7 +22826,8 @@ }, "x-appwrite": { "method": "deleteEmailTemplate", - "weight": 195, + "group": "templates", + "weight": 194, "cookies": false, "type": "", "deprecated": false, @@ -23037,9 +23028,7 @@ "get": { "summary": "Get custom SMS template", "operationId": "projectsGetSmsTemplate", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -23057,7 +23046,8 @@ }, "x-appwrite": { "method": "getSmsTemplate", - "weight": 190, + "group": "templates", + "weight": 189, "cookies": false, "type": "", "deprecated": false, @@ -23273,7 +23263,8 @@ }, "x-appwrite": { "method": "updateSmsTemplate", - "weight": 192, + "group": "templates", + "weight": 191, "cookies": false, "type": "", "deprecated": false, @@ -23507,7 +23498,8 @@ }, "x-appwrite": { "method": "deleteSmsTemplate", - "weight": 194, + "group": "templates", + "weight": 193, "cookies": false, "type": "", "deprecated": false, @@ -23705,9 +23697,7 @@ "get": { "summary": "List webhooks", "operationId": "projectsListWebhooks", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -23725,7 +23715,8 @@ }, "x-appwrite": { "method": "listWebhooks", - "weight": 172, + "group": "webhooks", + "weight": 171, "cookies": false, "type": "", "deprecated": false, @@ -23782,7 +23773,8 @@ }, "x-appwrite": { "method": "createWebhook", - "weight": 171, + "group": "webhooks", + "weight": 170, "cookies": false, "type": "", "deprecated": false, @@ -23881,9 +23873,7 @@ "get": { "summary": "Get webhook", "operationId": "projectsGetWebhook", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -23901,7 +23891,8 @@ }, "x-appwrite": { "method": "getWebhook", - "weight": 173, + "group": "webhooks", + "weight": 172, "cookies": false, "type": "", "deprecated": false, @@ -23966,7 +23957,8 @@ }, "x-appwrite": { "method": "updateWebhook", - "weight": 174, + "group": "webhooks", + "weight": 173, "cookies": false, "type": "", "deprecated": false, @@ -24086,7 +24078,8 @@ }, "x-appwrite": { "method": "deleteWebhook", - "weight": 176, + "group": "webhooks", + "weight": 175, "cookies": false, "type": "", "deprecated": false, @@ -24153,7 +24146,8 @@ }, "x-appwrite": { "method": "updateWebhookSignature", - "weight": 175, + "group": "webhooks", + "weight": 174, "cookies": false, "type": "", "deprecated": false, @@ -24200,9 +24194,7 @@ "get": { "summary": "List rules", "operationId": "proxyListRules", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -24220,7 +24212,8 @@ }, "x-appwrite": { "method": "listRules", - "weight": 317, + "group": null, + "weight": 316, "cookies": false, "type": "", "deprecated": false, @@ -24290,7 +24283,8 @@ }, "x-appwrite": { "method": "createRule", - "weight": 316, + "group": null, + "weight": 315, "cookies": false, "type": "", "deprecated": false, @@ -24358,9 +24352,7 @@ "get": { "summary": "Get rule", "operationId": "proxyGetRule", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -24378,7 +24370,8 @@ }, "x-appwrite": { "method": "getRule", - "weight": 318, + "group": null, + "weight": 317, "cookies": false, "type": "", "deprecated": false, @@ -24430,7 +24423,8 @@ }, "x-appwrite": { "method": "deleteRule", - "weight": 319, + "group": null, + "weight": 318, "cookies": false, "type": "", "deprecated": false, @@ -24489,7 +24483,8 @@ }, "x-appwrite": { "method": "updateRuleVerification", - "weight": 320, + "group": null, + "weight": 319, "cookies": false, "type": "", "deprecated": false, @@ -24528,9 +24523,7 @@ "get": { "summary": "List buckets", "operationId": "storageListBuckets", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -24548,7 +24541,8 @@ }, "x-appwrite": { "method": "listBuckets", - "weight": 203, + "group": "buckets", + "weight": 202, "cookies": false, "type": "", "deprecated": false, @@ -24619,7 +24613,8 @@ }, "x-appwrite": { "method": "createBucket", - "weight": 202, + "group": "buckets", + "weight": 201, "cookies": false, "type": "", "deprecated": false, @@ -24737,9 +24732,7 @@ "get": { "summary": "Get bucket", "operationId": "storageGetBucket", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -24757,7 +24750,8 @@ }, "x-appwrite": { "method": "getBucket", - "weight": 204, + "group": "buckets", + "weight": 203, "cookies": false, "type": "", "deprecated": false, @@ -24815,7 +24809,8 @@ }, "x-appwrite": { "method": "updateBucket", - "weight": 205, + "group": "buckets", + "weight": 204, "cookies": false, "type": "", "deprecated": false, @@ -24947,7 +24942,8 @@ }, "x-appwrite": { "method": "deleteBucket", - "weight": 206, + "group": "buckets", + "weight": 205, "cookies": false, "type": "", "deprecated": false, @@ -24987,9 +24983,7 @@ "get": { "summary": "List files", "operationId": "storageListFiles", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -25007,7 +25001,8 @@ }, "x-appwrite": { "method": "listFiles", - "weight": 208, + "group": "files", + "weight": 207, "cookies": false, "type": "", "deprecated": false, @@ -25089,7 +25084,8 @@ }, "x-appwrite": { "method": "createFile", - "weight": 207, + "group": "files", + "weight": 206, "cookies": false, "type": "upload", "deprecated": false, @@ -25160,9 +25156,7 @@ "get": { "summary": "Get file", "operationId": "storageGetFile", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -25180,7 +25174,8 @@ }, "x-appwrite": { "method": "getFile", - "weight": 209, + "group": "files", + "weight": 208, "cookies": false, "type": "", "deprecated": false, @@ -25249,7 +25244,8 @@ }, "x-appwrite": { "method": "updateFile", - "weight": 214, + "group": "files", + "weight": 213, "cookies": false, "type": "", "deprecated": false, @@ -25337,7 +25333,8 @@ }, "x-appwrite": { "method": "deleteFile", - "weight": 215, + "group": "files", + "weight": 214, "cookies": false, "type": "", "deprecated": false, @@ -25388,9 +25385,7 @@ "get": { "summary": "Get file for download", "operationId": "storageGetFileDownload", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "*\/*" ], @@ -25408,7 +25403,8 @@ }, "x-appwrite": { "method": "getFileDownload", - "weight": 211, + "group": "files", + "weight": 210, "cookies": false, "type": "location", "deprecated": false, @@ -25459,9 +25455,7 @@ "get": { "summary": "Get file preview", "operationId": "storageGetFilePreview", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/*" ], @@ -25479,7 +25473,8 @@ }, "x-appwrite": { "method": "getFilePreview", - "weight": 210, + "group": "files", + "weight": 209, "cookies": false, "type": "location", "deprecated": false, @@ -25658,9 +25653,7 @@ "get": { "summary": "Get file for view", "operationId": "storageGetFileView", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "*\/*" ], @@ -25678,7 +25671,8 @@ }, "x-appwrite": { "method": "getFileView", - "weight": 212, + "group": "files", + "weight": 211, "cookies": false, "type": "location", "deprecated": false, @@ -25729,9 +25723,7 @@ "get": { "summary": "Get storage usage stats", "operationId": "storageGetUsage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -25749,7 +25741,8 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 216, + "group": null, + "weight": 215, "cookies": false, "type": "", "deprecated": false, @@ -25800,9 +25793,7 @@ "get": { "summary": "Get bucket usage stats", "operationId": "storageGetBucketUsage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -25820,7 +25811,8 @@ }, "x-appwrite": { "method": "getBucketUsage", - "weight": 217, + "group": null, + "weight": 216, "cookies": false, "type": "", "deprecated": false, @@ -25879,9 +25871,7 @@ "get": { "summary": "List teams", "operationId": "teamsList", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -25899,7 +25889,8 @@ }, "x-appwrite": { "method": "list", - "weight": 219, + "group": "teams", + "weight": 218, "cookies": false, "type": "", "deprecated": false, @@ -25973,7 +25964,8 @@ }, "x-appwrite": { "method": "create", - "weight": 218, + "group": "teams", + "weight": 217, "cookies": false, "type": "", "deprecated": false, @@ -26044,9 +26036,7 @@ "get": { "summary": "Get team", "operationId": "teamsGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -26064,7 +26054,8 @@ }, "x-appwrite": { "method": "get", - "weight": 220, + "group": "teams", + "weight": 219, "cookies": false, "type": "", "deprecated": false, @@ -26125,7 +26116,8 @@ }, "x-appwrite": { "method": "updateName", - "weight": 222, + "group": "teams", + "weight": 221, "cookies": false, "type": "", "deprecated": false, @@ -26199,7 +26191,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 224, + "group": "teams", + "weight": 223, "cookies": false, "type": "", "deprecated": false, @@ -26242,9 +26235,7 @@ "get": { "summary": "List team logs", "operationId": "teamsListLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -26262,7 +26253,8 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 231, + "group": "logs", + "weight": 230, "cookies": false, "type": "", "deprecated": false, @@ -26313,9 +26305,7 @@ "get": { "summary": "List team memberships", "operationId": "teamsListMemberships", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -26333,7 +26323,8 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 226, + "group": "memberships", + "weight": 225, "cookies": false, "type": "", "deprecated": false, @@ -26415,7 +26406,8 @@ }, "x-appwrite": { "method": "createMembership", - "weight": 225, + "group": "memberships", + "weight": 224, "cookies": false, "type": "", "deprecated": false, @@ -26509,9 +26501,7 @@ "get": { "summary": "Get team membership", "operationId": "teamsGetMembership", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -26529,7 +26519,8 @@ }, "x-appwrite": { "method": "getMembership", - "weight": 227, + "group": "memberships", + "weight": 226, "cookies": false, "type": "", "deprecated": false, @@ -26598,7 +26589,8 @@ }, "x-appwrite": { "method": "updateMembership", - "weight": 228, + "group": "memberships", + "weight": 227, "cookies": false, "type": "", "deprecated": false, @@ -26683,7 +26675,8 @@ }, "x-appwrite": { "method": "deleteMembership", - "weight": 230, + "group": "memberships", + "weight": 229, "cookies": false, "type": "", "deprecated": false, @@ -26754,7 +26747,8 @@ }, "x-appwrite": { "method": "updateMembershipStatus", - "weight": 229, + "group": "memberships", + "weight": 228, "cookies": false, "type": "", "deprecated": false, @@ -26828,9 +26822,7 @@ "get": { "summary": "Get team preferences", "operationId": "teamsGetPrefs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -26848,7 +26840,8 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 221, + "group": "teams", + "weight": 220, "cookies": false, "type": "", "deprecated": false, @@ -26907,7 +26900,8 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 223, + "group": "teams", + "weight": 222, "cookies": false, "type": "", "deprecated": false, @@ -26966,9 +26960,7 @@ "get": { "summary": "List users", "operationId": "usersList", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -26986,7 +26978,8 @@ }, "x-appwrite": { "method": "list", - "weight": 241, + "group": "users", + "weight": 240, "cookies": false, "type": "", "deprecated": false, @@ -27057,7 +27050,8 @@ }, "x-appwrite": { "method": "create", - "weight": 232, + "group": "users", + "weight": 231, "cookies": false, "type": "", "deprecated": false, @@ -27151,7 +27145,8 @@ }, "x-appwrite": { "method": "createArgon2User", - "weight": 235, + "group": "users", + "weight": 234, "cookies": false, "type": "", "deprecated": false, @@ -27241,7 +27236,8 @@ }, "x-appwrite": { "method": "createBcryptUser", - "weight": 233, + "group": "users", + "weight": 232, "cookies": false, "type": "", "deprecated": false, @@ -27311,9 +27307,7 @@ "get": { "summary": "List identities", "operationId": "usersListIdentities", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -27331,7 +27325,8 @@ }, "x-appwrite": { "method": "listIdentities", - "weight": 249, + "group": "identities", + "weight": 248, "cookies": false, "type": "", "deprecated": false, @@ -27399,7 +27394,8 @@ }, "x-appwrite": { "method": "deleteIdentity", - "weight": 272, + "group": "identities", + "weight": 271, "cookies": false, "type": "", "deprecated": false, @@ -27459,7 +27455,8 @@ }, "x-appwrite": { "method": "createMD5User", - "weight": 234, + "group": "users", + "weight": 233, "cookies": false, "type": "", "deprecated": false, @@ -27549,7 +27546,8 @@ }, "x-appwrite": { "method": "createPHPassUser", - "weight": 237, + "group": "users", + "weight": 236, "cookies": false, "type": "", "deprecated": false, @@ -27639,7 +27637,8 @@ }, "x-appwrite": { "method": "createScryptUser", - "weight": 238, + "group": "users", + "weight": 237, "cookies": false, "type": "", "deprecated": false, @@ -27764,7 +27763,8 @@ }, "x-appwrite": { "method": "createScryptModifiedUser", - "weight": 239, + "group": "users", + "weight": 238, "cookies": false, "type": "", "deprecated": false, @@ -27875,7 +27875,8 @@ }, "x-appwrite": { "method": "createSHAUser", - "weight": 236, + "group": "users", + "weight": 235, "cookies": false, "type": "", "deprecated": false, @@ -27966,9 +27967,7 @@ "get": { "summary": "Get users usage stats", "operationId": "usersGetUsage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -27986,7 +27985,8 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 274, + "group": null, + "weight": 273, "cookies": false, "type": "", "deprecated": false, @@ -28037,9 +28037,7 @@ "get": { "summary": "Get user", "operationId": "usersGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -28057,7 +28055,8 @@ }, "x-appwrite": { "method": "get", - "weight": 242, + "group": "users", + "weight": 241, "cookies": false, "type": "", "deprecated": false, @@ -28110,7 +28109,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 270, + "group": "users", + "weight": 269, "cookies": false, "type": "", "deprecated": false, @@ -28170,7 +28170,8 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 255, + "group": "users", + "weight": 254, "cookies": false, "type": "", "deprecated": false, @@ -28248,7 +28249,8 @@ }, "x-appwrite": { "method": "createJWT", - "weight": 273, + "group": "sessions", + "weight": 272, "cookies": false, "type": "", "deprecated": false, @@ -28329,7 +28331,8 @@ }, "x-appwrite": { "method": "updateLabels", - "weight": 251, + "group": "users", + "weight": 250, "cookies": false, "type": "", "deprecated": false, @@ -28390,9 +28393,7 @@ "get": { "summary": "List user logs", "operationId": "usersListLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -28410,7 +28411,8 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 247, + "group": "logs", + "weight": 246, "cookies": false, "type": "", "deprecated": false, @@ -28462,9 +28464,7 @@ "get": { "summary": "List user memberships", "operationId": "usersListMemberships", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -28482,7 +28482,8 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 246, + "group": "memberships", + "weight": 245, "cookies": false, "type": "", "deprecated": false, @@ -28542,7 +28543,8 @@ }, "x-appwrite": { "method": "updateMfa", - "weight": 260, + "group": "users", + "weight": 259, "cookies": false, "type": "", "deprecated": false, @@ -28615,7 +28617,8 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", - "weight": 265, + "group": "mfa", + "weight": 264, "cookies": false, "type": "", "deprecated": false, @@ -28668,9 +28671,7 @@ "get": { "summary": "List factors", "operationId": "usersListMfaFactors", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -28688,7 +28689,8 @@ }, "x-appwrite": { "method": "listMfaFactors", - "weight": 261, + "group": "mfa", + "weight": 260, "cookies": false, "type": "", "deprecated": false, @@ -28728,9 +28730,7 @@ "get": { "summary": "Get MFA recovery codes", "operationId": "usersGetMfaRecoveryCodes", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -28748,7 +28748,8 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", - "weight": 262, + "group": "mfa", + "weight": 261, "cookies": false, "type": "", "deprecated": false, @@ -28784,7 +28785,7 @@ ] }, "put": { - "summary": "Regenerate MFA recovery codes", + "summary": "Update MFA recovery codes (regenerate)", "operationId": "usersUpdateMfaRecoveryCodes", "consumes": [ "application\/json" @@ -28806,7 +28807,8 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", - "weight": 264, + "group": "mfa", + "weight": 263, "cookies": false, "type": "", "deprecated": false, @@ -28864,7 +28866,8 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", - "weight": 263, + "group": "mfa", + "weight": 262, "cookies": false, "type": "", "deprecated": false, @@ -28924,7 +28927,8 @@ }, "x-appwrite": { "method": "updateName", - "weight": 253, + "group": "users", + "weight": 252, "cookies": false, "type": "", "deprecated": false, @@ -29002,7 +29006,8 @@ }, "x-appwrite": { "method": "updatePassword", - "weight": 254, + "group": "users", + "weight": 253, "cookies": false, "type": "", "deprecated": false, @@ -29080,7 +29085,8 @@ }, "x-appwrite": { "method": "updatePhone", - "weight": 256, + "group": "users", + "weight": 255, "cookies": false, "type": "", "deprecated": false, @@ -29138,9 +29144,7 @@ "get": { "summary": "Get user preferences", "operationId": "usersGetPrefs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -29158,7 +29162,8 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 243, + "group": "users", + "weight": 242, "cookies": false, "type": "", "deprecated": false, @@ -29216,7 +29221,8 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 258, + "group": "users", + "weight": 257, "cookies": false, "type": "", "deprecated": false, @@ -29274,9 +29280,7 @@ "get": { "summary": "List user sessions", "operationId": "usersListSessions", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -29294,7 +29298,8 @@ }, "x-appwrite": { "method": "listSessions", - "weight": 245, + "group": "sessions", + "weight": 244, "cookies": false, "type": "", "deprecated": false, @@ -29352,7 +29357,8 @@ }, "x-appwrite": { "method": "createSession", - "weight": 266, + "group": "sessions", + "weight": 265, "cookies": false, "type": "", "deprecated": false, @@ -29405,7 +29411,8 @@ }, "x-appwrite": { "method": "deleteSessions", - "weight": 269, + "group": "sessions", + "weight": 268, "cookies": false, "type": "", "deprecated": false, @@ -29460,7 +29467,8 @@ }, "x-appwrite": { "method": "deleteSession", - "weight": 268, + "group": "sessions", + "weight": 267, "cookies": false, "type": "", "deprecated": false, @@ -29528,7 +29536,8 @@ }, "x-appwrite": { "method": "updateStatus", - "weight": 250, + "group": "users", + "weight": 249, "cookies": false, "type": "", "deprecated": false, @@ -29586,9 +29595,7 @@ "get": { "summary": "List user targets", "operationId": "usersListTargets", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -29606,7 +29613,8 @@ }, "x-appwrite": { "method": "listTargets", - "weight": 248, + "group": "targets", + "weight": 247, "cookies": false, "type": "", "deprecated": false, @@ -29677,7 +29685,8 @@ }, "x-appwrite": { "method": "createTarget", - "weight": 240, + "group": "targets", + "weight": 239, "cookies": false, "type": "", "deprecated": false, @@ -29769,9 +29778,7 @@ "get": { "summary": "Get user target", "operationId": "usersGetTarget", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -29789,7 +29796,8 @@ }, "x-appwrite": { "method": "getTarget", - "weight": 244, + "group": "targets", + "weight": 243, "cookies": false, "type": "", "deprecated": false, @@ -29856,7 +29864,8 @@ }, "x-appwrite": { "method": "updateTarget", - "weight": 259, + "group": "targets", + "weight": 258, "cookies": false, "type": "", "deprecated": false, @@ -29945,7 +29954,8 @@ }, "x-appwrite": { "method": "deleteTarget", - "weight": 271, + "group": "targets", + "weight": 270, "cookies": false, "type": "", "deprecated": false, @@ -30014,7 +30024,8 @@ }, "x-appwrite": { "method": "createToken", - "weight": 267, + "group": "sessions", + "weight": 266, "cookies": false, "type": "", "deprecated": false, @@ -30095,7 +30106,8 @@ }, "x-appwrite": { "method": "updateEmailVerification", - "weight": 257, + "group": "users", + "weight": 256, "cookies": false, "type": "", "deprecated": false, @@ -30173,7 +30185,8 @@ }, "x-appwrite": { "method": "updatePhoneVerification", - "weight": 252, + "group": "users", + "weight": 251, "cookies": false, "type": "", "deprecated": false, @@ -30231,9 +30244,7 @@ "get": { "summary": "List repositories", "operationId": "vcsListRepositories", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -30251,7 +30262,8 @@ }, "x-appwrite": { "method": "listRepositories", - "weight": 279, + "group": "repositories", + "weight": 278, "cookies": false, "type": "", "deprecated": false, @@ -30317,7 +30329,8 @@ }, "x-appwrite": { "method": "createRepository", - "weight": 280, + "group": "repositories", + "weight": 279, "cookies": false, "type": "", "deprecated": false, @@ -30381,9 +30394,7 @@ "get": { "summary": "Get repository", "operationId": "vcsGetRepository", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -30401,7 +30412,8 @@ }, "x-appwrite": { "method": "getRepository", - "weight": 281, + "group": "repositories", + "weight": 280, "cookies": false, "type": "", "deprecated": false, @@ -30448,9 +30460,7 @@ "get": { "summary": "List repository branches", "operationId": "vcsListRepositoryBranches", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -30468,7 +30478,8 @@ }, "x-appwrite": { "method": "listRepositoryBranches", - "weight": 282, + "group": "repositories", + "weight": 281, "cookies": false, "type": "", "deprecated": false, @@ -30515,9 +30526,7 @@ "get": { "summary": "Get files and directories of a VCS repository", "operationId": "vcsGetRepositoryContents", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -30535,7 +30544,8 @@ }, "x-appwrite": { "method": "getRepositoryContents", - "weight": 277, + "group": "repositories", + "weight": 276, "cookies": false, "type": "", "deprecated": false, @@ -30589,7 +30599,7 @@ }, "\/vcs\/github\/installations\/{installationId}\/providerRepositories\/{providerRepositoryId}\/detection": { "post": { - "summary": "Detect runtime settings from source code", + "summary": "Create runtime settings detection", "operationId": "vcsCreateRepositoryDetection", "consumes": [ "application\/json" @@ -30611,7 +30621,8 @@ }, "x-appwrite": { "method": "createRepositoryDetection", - "weight": 278, + "group": "repositories", + "weight": 277, "cookies": false, "type": "", "deprecated": false, @@ -30671,7 +30682,7 @@ }, "\/vcs\/github\/installations\/{installationId}\/repositories\/{repositoryId}": { "patch": { - "summary": "Authorize external deployment", + "summary": "Update external deployment (authorize)", "operationId": "vcsUpdateExternalDeployments", "consumes": [ "application\/json" @@ -30690,7 +30701,8 @@ }, "x-appwrite": { "method": "updateExternalDeployments", - "weight": 287, + "group": "repositories", + "weight": 286, "cookies": false, "type": "", "deprecated": false, @@ -30755,9 +30767,7 @@ "get": { "summary": "List installations", "operationId": "vcsListInstallations", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -30775,7 +30785,8 @@ }, "x-appwrite": { "method": "listInstallations", - "weight": 284, + "group": "installations", + "weight": 283, "cookies": false, "type": "", "deprecated": false, @@ -30827,9 +30838,7 @@ "get": { "summary": "Get installation", "operationId": "vcsGetInstallation", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -30847,7 +30856,8 @@ }, "x-appwrite": { "method": "getInstallation", - "weight": 285, + "group": "installations", + "weight": 284, "cookies": false, "type": "", "deprecated": false, @@ -30899,7 +30909,8 @@ }, "x-appwrite": { "method": "deleteInstallation", - "weight": 286, + "group": "installations", + "weight": 285, "cookies": false, "type": "", "deprecated": false, diff --git a/app/config/specs/swagger2-1.6.x-server.json b/app/config/specs/swagger2-1.6.x-server.json index 83757c94f4..f0e3db0467 100644 --- a/app/config/specs/swagger2-1.6.x-server.json +++ b/app/config/specs/swagger2-1.6.x-server.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "version": "1.6.1", + "version": "1.6.2", "title": "Appwrite", "description": "Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https:\/\/appwrite.io\/docs](https:\/\/appwrite.io\/docs)", "termsOfService": "https:\/\/appwrite.io\/policy\/terms", @@ -16,6 +16,7 @@ } }, "host": "cloud.appwrite.io", + "x-host-docs": "<REGION>.cloud.appwrite.io", "basePath": "\/v1", "schemes": [ "https" @@ -82,9 +83,7 @@ "get": { "summary": "Get account", "operationId": "accountGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -102,6 +101,7 @@ }, "x-appwrite": { "method": "get", + "group": "account", "weight": 9, "cookies": false, "type": "", @@ -153,6 +153,7 @@ }, "x-appwrite": { "method": "create", + "group": "account", "weight": 8, "cookies": false, "type": "", @@ -243,6 +244,7 @@ }, "x-appwrite": { "method": "updateEmail", + "group": "account", "weight": 34, "cookies": false, "type": "", @@ -303,9 +305,7 @@ "get": { "summary": "List identities", "operationId": "accountListIdentities", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -323,6 +323,7 @@ }, "x-appwrite": { "method": "listIdentities", + "group": "identities", "weight": 57, "cookies": false, "type": "", @@ -385,6 +386,7 @@ }, "x-appwrite": { "method": "deleteIdentity", + "group": "identities", "weight": 58, "cookies": false, "type": "", @@ -448,6 +450,7 @@ }, "x-appwrite": { "method": "createJWT", + "group": "tokens", "weight": 29, "cookies": false, "type": "", @@ -478,9 +481,7 @@ "get": { "summary": "List logs", "operationId": "accountListLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -498,6 +499,7 @@ }, "x-appwrite": { "method": "listLogs", + "group": "logs", "weight": 31, "cookies": false, "type": "", @@ -565,6 +567,7 @@ }, "x-appwrite": { "method": "updateMFA", + "group": "mfa", "weight": 44, "cookies": false, "type": "", @@ -638,6 +641,7 @@ }, "x-appwrite": { "method": "createMfaAuthenticator", + "group": "mfa", "weight": 46, "cookies": false, "type": "", @@ -682,7 +686,7 @@ ] }, "put": { - "summary": "Verify authenticator", + "summary": "Update authenticator (confirmation)", "operationId": "accountUpdateMfaAuthenticator", "consumes": [ "application\/json" @@ -704,6 +708,7 @@ }, "x-appwrite": { "method": "updateMfaAuthenticator", + "group": "mfa", "weight": 47, "cookies": false, "type": "", @@ -783,6 +788,7 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", + "group": "mfa", "weight": 51, "cookies": false, "type": "", @@ -851,6 +857,7 @@ }, "x-appwrite": { "method": "createMfaChallenge", + "group": "mfa", "weight": 52, "cookies": false, "type": "", @@ -905,7 +912,7 @@ ] }, "put": { - "summary": "Create MFA challenge (confirmation)", + "summary": "Update MFA challenge (confirmation)", "operationId": "accountUpdateMfaChallenge", "consumes": [ "application\/json" @@ -927,6 +934,7 @@ }, "x-appwrite": { "method": "updateMfaChallenge", + "group": "mfa", "weight": 53, "cookies": false, "type": "", @@ -987,9 +995,7 @@ "get": { "summary": "List factors", "operationId": "accountListMfaFactors", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -1007,6 +1013,7 @@ }, "x-appwrite": { "method": "listMfaFactors", + "group": "mfa", "weight": 45, "cookies": false, "type": "", @@ -1038,11 +1045,9 @@ }, "\/account\/mfa\/recovery-codes": { "get": { - "summary": "Get MFA recovery codes", + "summary": "List MFA recovery codes", "operationId": "accountGetMfaRecoveryCodes", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -1060,6 +1065,7 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", + "group": "mfa", "weight": 50, "cookies": false, "type": "", @@ -1111,6 +1117,7 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", + "group": "mfa", "weight": 48, "cookies": false, "type": "", @@ -1140,7 +1147,7 @@ ] }, "patch": { - "summary": "Regenerate MFA recovery codes", + "summary": "Update MFA recovery codes (regenerate)", "operationId": "accountUpdateMfaRecoveryCodes", "consumes": [ "application\/json" @@ -1162,6 +1169,7 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", + "group": "mfa", "weight": 49, "cookies": false, "type": "", @@ -1215,6 +1223,7 @@ }, "x-appwrite": { "method": "updateName", + "group": "account", "weight": 32, "cookies": false, "type": "", @@ -1288,6 +1297,7 @@ }, "x-appwrite": { "method": "updatePassword", + "group": "account", "weight": 33, "cookies": false, "type": "", @@ -1367,6 +1377,7 @@ }, "x-appwrite": { "method": "updatePhone", + "group": "account", "weight": 35, "cookies": false, "type": "", @@ -1427,9 +1438,7 @@ "get": { "summary": "Get account preferences", "operationId": "accountGetPrefs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -1447,6 +1456,7 @@ }, "x-appwrite": { "method": "getPrefs", + "group": "account", "weight": 30, "cookies": false, "type": "", @@ -1498,6 +1508,7 @@ }, "x-appwrite": { "method": "updatePrefs", + "group": "account", "weight": 36, "cookies": false, "type": "", @@ -1571,6 +1582,7 @@ }, "x-appwrite": { "method": "createRecovery", + "group": "recovery", "weight": 38, "cookies": false, "type": "", @@ -1630,7 +1642,7 @@ ] }, "put": { - "summary": "Create password recovery (confirmation)", + "summary": "Update password recovery (confirmation)", "operationId": "accountUpdateRecovery", "consumes": [ "application\/json" @@ -1652,6 +1664,7 @@ }, "x-appwrite": { "method": "updateRecovery", + "group": "recovery", "weight": 39, "cookies": false, "type": "", @@ -1719,9 +1732,7 @@ "get": { "summary": "List sessions", "operationId": "accountListSessions", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -1739,6 +1750,7 @@ }, "x-appwrite": { "method": "listSessions", + "group": "sessions", "weight": 11, "cookies": false, "type": "", @@ -1785,6 +1797,7 @@ }, "x-appwrite": { "method": "deleteSessions", + "group": "sessions", "weight": 12, "cookies": false, "type": "", @@ -1838,6 +1851,7 @@ }, "x-appwrite": { "method": "createAnonymousSession", + "group": "sessions", "weight": 17, "cookies": false, "type": "", @@ -1888,6 +1902,7 @@ }, "x-appwrite": { "method": "createEmailPasswordSession", + "group": "sessions", "weight": 16, "cookies": false, "type": "", @@ -1965,6 +1980,7 @@ }, "x-appwrite": { "method": "updateMagicURLSession", + "group": "sessions", "weight": 26, "cookies": false, "type": "", @@ -2042,6 +2058,7 @@ }, "x-appwrite": { "method": "updatePhoneSession", + "group": "sessions", "weight": 27, "cookies": false, "type": "", @@ -2119,6 +2136,7 @@ }, "x-appwrite": { "method": "createSession", + "group": "sessions", "weight": 18, "cookies": false, "type": "", @@ -2176,9 +2194,7 @@ "get": { "summary": "Get session", "operationId": "accountGetSession", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -2196,6 +2212,7 @@ }, "x-appwrite": { "method": "getSession", + "group": "sessions", "weight": 13, "cookies": false, "type": "", @@ -2257,6 +2274,7 @@ }, "x-appwrite": { "method": "updateSession", + "group": "sessions", "weight": 15, "cookies": false, "type": "", @@ -2313,6 +2331,7 @@ }, "x-appwrite": { "method": "deleteSession", + "group": "sessions", "weight": 14, "cookies": false, "type": "", @@ -2376,6 +2395,7 @@ }, "x-appwrite": { "method": "updateStatus", + "group": "account", "weight": 37, "cookies": false, "type": "", @@ -2429,6 +2449,7 @@ }, "x-appwrite": { "method": "createEmailToken", + "group": "tokens", "weight": 25, "cookies": false, "type": "", @@ -2512,6 +2533,7 @@ }, "x-appwrite": { "method": "createMagicURLToken", + "group": "tokens", "weight": 24, "cookies": false, "type": "", @@ -2584,9 +2606,7 @@ "get": { "summary": "Create OAuth2 token", "operationId": "accountCreateOAuth2Token", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "text\/html" ], @@ -2601,6 +2621,7 @@ }, "x-appwrite": { "method": "createOAuth2Token", + "group": "tokens", "weight": 23, "cookies": false, "type": "webAuth", @@ -2628,7 +2649,7 @@ "parameters": [ { "name": "provider", - "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", + "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", "required": true, "type": "string", "x-example": "amazon", @@ -2647,6 +2668,7 @@ "dropbox", "etsy", "facebook", + "figma", "github", "gitlab", "google", @@ -2736,6 +2758,7 @@ }, "x-appwrite": { "method": "createPhoneToken", + "group": "tokens", "weight": 28, "cookies": false, "type": "", @@ -2816,6 +2839,7 @@ }, "x-appwrite": { "method": "createVerification", + "group": "verification", "weight": 40, "cookies": false, "type": "", @@ -2865,7 +2889,7 @@ ] }, "put": { - "summary": "Create email verification (confirmation)", + "summary": "Update email verification (confirmation)", "operationId": "accountUpdateVerification", "consumes": [ "application\/json" @@ -2887,6 +2911,7 @@ }, "x-appwrite": { "method": "updateVerification", + "group": "verification", "weight": 41, "cookies": false, "type": "", @@ -2967,6 +2992,7 @@ }, "x-appwrite": { "method": "createPhoneVerification", + "group": "verification", "weight": 42, "cookies": false, "type": "", @@ -3021,6 +3047,7 @@ }, "x-appwrite": { "method": "updatePhoneVerification", + "group": "verification", "weight": 43, "cookies": false, "type": "", @@ -3081,9 +3108,7 @@ "get": { "summary": "Get browser icon", "operationId": "avatarsGetBrowser", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/png" ], @@ -3101,6 +3126,7 @@ }, "x-appwrite": { "method": "getBrowser", + "group": null, "weight": 60, "cookies": false, "type": "location", @@ -3209,9 +3235,7 @@ "get": { "summary": "Get credit card icon", "operationId": "avatarsGetCreditCard", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/png" ], @@ -3229,6 +3253,7 @@ }, "x-appwrite": { "method": "getCreditCard", + "group": null, "weight": 59, "cookies": false, "type": "location", @@ -3343,9 +3368,7 @@ "get": { "summary": "Get favicon", "operationId": "avatarsGetFavicon", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/*" ], @@ -3363,6 +3386,7 @@ }, "x-appwrite": { "method": "getFavicon", + "group": null, "weight": 63, "cookies": false, "type": "location", @@ -3409,9 +3433,7 @@ "get": { "summary": "Get country flag", "operationId": "avatarsGetFlag", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/png" ], @@ -3429,6 +3451,7 @@ }, "x-appwrite": { "method": "getFlag", + "group": null, "weight": 61, "cookies": false, "type": "location", @@ -3899,9 +3922,7 @@ "get": { "summary": "Get image from URL", "operationId": "avatarsGetImage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/*" ], @@ -3919,6 +3940,7 @@ }, "x-appwrite": { "method": "getImage", + "group": null, "weight": 62, "cookies": false, "type": "location", @@ -3985,9 +4007,7 @@ "get": { "summary": "Get user initials", "operationId": "avatarsGetInitials", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/png" ], @@ -4005,6 +4025,7 @@ }, "x-appwrite": { "method": "getInitials", + "group": null, "weight": 65, "cookies": false, "type": "location", @@ -4079,9 +4100,7 @@ "get": { "summary": "Get QR code", "operationId": "avatarsGetQR", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/png" ], @@ -4099,6 +4118,7 @@ }, "x-appwrite": { "method": "getQR", + "group": null, "weight": 64, "cookies": false, "type": "location", @@ -4173,9 +4193,7 @@ "get": { "summary": "List databases", "operationId": "databasesList", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -4193,6 +4211,7 @@ }, "x-appwrite": { "method": "list", + "group": "databases", "weight": 70, "cookies": false, "type": "", @@ -4265,6 +4284,7 @@ }, "x-appwrite": { "method": "create", + "group": "databases", "weight": 69, "cookies": false, "type": "", @@ -4329,9 +4349,7 @@ "get": { "summary": "Get database", "operationId": "databasesGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -4349,6 +4367,7 @@ }, "x-appwrite": { "method": "get", + "group": "databases", "weight": 71, "cookies": false, "type": "", @@ -4408,6 +4427,7 @@ }, "x-appwrite": { "method": "update", + "group": "databases", "weight": 73, "cookies": false, "type": "", @@ -4486,6 +4506,7 @@ }, "x-appwrite": { "method": "delete", + "group": "databases", "weight": 74, "cookies": false, "type": "", @@ -4527,9 +4548,7 @@ "get": { "summary": "List collections", "operationId": "databasesListCollections", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -4547,6 +4566,7 @@ }, "x-appwrite": { "method": "listCollections", + "group": "collections", "weight": 76, "cookies": false, "type": "", @@ -4627,6 +4647,7 @@ }, "x-appwrite": { "method": "createCollection", + "group": "collections", "weight": 75, "cookies": false, "type": "", @@ -4714,9 +4735,7 @@ "get": { "summary": "Get collection", "operationId": "databasesGetCollection", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -4734,6 +4753,7 @@ }, "x-appwrite": { "method": "getCollection", + "group": "collections", "weight": 77, "cookies": false, "type": "", @@ -4801,6 +4821,7 @@ }, "x-appwrite": { "method": "updateCollection", + "group": "collections", "weight": 79, "cookies": false, "type": "", @@ -4902,6 +4923,7 @@ }, "x-appwrite": { "method": "deleteCollection", + "group": "collections", "weight": 80, "cookies": false, "type": "", @@ -4951,9 +4973,7 @@ "get": { "summary": "List attributes", "operationId": "databasesListAttributes", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -4971,6 +4991,7 @@ }, "x-appwrite": { "method": "listAttributes", + "group": "attributes", "weight": 91, "cookies": false, "type": "", @@ -5052,6 +5073,7 @@ }, "x-appwrite": { "method": "createBooleanAttribute", + "group": "attributes", "weight": 88, "cookies": false, "type": "", @@ -5158,6 +5180,7 @@ }, "x-appwrite": { "method": "updateBooleanAttribute", + "group": "attributes", "weight": 100, "cookies": false, "type": "", @@ -5266,6 +5289,7 @@ }, "x-appwrite": { "method": "createDatetimeAttribute", + "group": "attributes", "weight": 89, "cookies": false, "type": "", @@ -5372,6 +5396,7 @@ }, "x-appwrite": { "method": "updateDatetimeAttribute", + "group": "attributes", "weight": 101, "cookies": false, "type": "", @@ -5480,6 +5505,7 @@ }, "x-appwrite": { "method": "createEmailAttribute", + "group": "attributes", "weight": 82, "cookies": false, "type": "", @@ -5586,6 +5612,7 @@ }, "x-appwrite": { "method": "updateEmailAttribute", + "group": "attributes", "weight": 94, "cookies": false, "type": "", @@ -5694,6 +5721,7 @@ }, "x-appwrite": { "method": "createEnumAttribute", + "group": "attributes", "weight": 83, "cookies": false, "type": "", @@ -5810,6 +5838,7 @@ }, "x-appwrite": { "method": "updateEnumAttribute", + "group": "attributes", "weight": 95, "cookies": false, "type": "", @@ -5928,6 +5957,7 @@ }, "x-appwrite": { "method": "createFloatAttribute", + "group": "attributes", "weight": 87, "cookies": false, "type": "", @@ -6046,6 +6076,7 @@ }, "x-appwrite": { "method": "updateFloatAttribute", + "group": "attributes", "weight": 99, "cookies": false, "type": "", @@ -6166,6 +6197,7 @@ }, "x-appwrite": { "method": "createIntegerAttribute", + "group": "attributes", "weight": 86, "cookies": false, "type": "", @@ -6284,6 +6316,7 @@ }, "x-appwrite": { "method": "updateIntegerAttribute", + "group": "attributes", "weight": 98, "cookies": false, "type": "", @@ -6404,6 +6437,7 @@ }, "x-appwrite": { "method": "createIpAttribute", + "group": "attributes", "weight": 84, "cookies": false, "type": "", @@ -6510,6 +6544,7 @@ }, "x-appwrite": { "method": "updateIpAttribute", + "group": "attributes", "weight": 96, "cookies": false, "type": "", @@ -6618,6 +6653,7 @@ }, "x-appwrite": { "method": "createRelationshipAttribute", + "group": "attributes", "weight": 90, "cookies": false, "type": "", @@ -6751,6 +6787,7 @@ }, "x-appwrite": { "method": "createStringAttribute", + "group": "attributes", "weight": 81, "cookies": false, "type": "", @@ -6870,6 +6907,7 @@ }, "x-appwrite": { "method": "updateStringAttribute", + "group": "attributes", "weight": 93, "cookies": false, "type": "", @@ -6984,6 +7022,7 @@ }, "x-appwrite": { "method": "createUrlAttribute", + "group": "attributes", "weight": 85, "cookies": false, "type": "", @@ -7090,6 +7129,7 @@ }, "x-appwrite": { "method": "updateUrlAttribute", + "group": "attributes", "weight": 97, "cookies": false, "type": "", @@ -7178,9 +7218,7 @@ "get": { "summary": "Get attribute", "operationId": "databasesGetAttribute", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -7229,6 +7267,7 @@ }, "x-appwrite": { "method": "getAttribute", + "group": "attributes", "weight": 92, "cookies": false, "type": "", @@ -7298,6 +7337,7 @@ }, "x-appwrite": { "method": "deleteAttribute", + "group": "attributes", "weight": 103, "cookies": false, "type": "", @@ -7374,6 +7414,7 @@ }, "x-appwrite": { "method": "updateRelationshipAttribute", + "group": "attributes", "weight": 102, "cookies": false, "type": "", @@ -7458,9 +7499,7 @@ "get": { "summary": "List documents", "operationId": "databasesListDocuments", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -7478,6 +7517,7 @@ }, "x-appwrite": { "method": "listDocuments", + "group": "documents", "weight": 109, "cookies": false, "type": "", @@ -7561,6 +7601,7 @@ }, "x-appwrite": { "method": "createDocument", + "group": "documents", "weight": 108, "cookies": false, "type": "", @@ -7648,9 +7689,7 @@ "get": { "summary": "Get document", "operationId": "databasesGetDocument", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -7668,6 +7707,7 @@ }, "x-appwrite": { "method": "getDocument", + "group": "documents", "weight": 110, "cookies": false, "type": "", @@ -7759,6 +7799,7 @@ }, "x-appwrite": { "method": "updateDocument", + "group": "documents", "weight": 112, "cookies": false, "type": "", @@ -7857,6 +7898,7 @@ }, "x-appwrite": { "method": "deleteDocument", + "group": "documents", "weight": 113, "cookies": false, "type": "", @@ -7918,9 +7960,7 @@ "get": { "summary": "List indexes", "operationId": "databasesListIndexes", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -7938,6 +7978,7 @@ }, "x-appwrite": { "method": "listIndexes", + "group": "indexes", "weight": 105, "cookies": false, "type": "", @@ -8017,6 +8058,7 @@ }, "x-appwrite": { "method": "createIndex", + "group": "collections", "weight": 104, "cookies": false, "type": "", @@ -8117,9 +8159,7 @@ "get": { "summary": "Get index", "operationId": "databasesGetIndex", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -8137,6 +8177,7 @@ }, "x-appwrite": { "method": "getIndex", + "group": "indexes", "weight": 106, "cookies": false, "type": "", @@ -8206,6 +8247,7 @@ }, "x-appwrite": { "method": "deleteIndex", + "group": "indexes", "weight": 107, "cookies": false, "type": "", @@ -8262,9 +8304,7 @@ "get": { "summary": "List functions", "operationId": "functionsList", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -8282,7 +8322,8 @@ }, "x-appwrite": { "method": "list", - "weight": 289, + "group": "functions", + "weight": 288, "cookies": false, "type": "", "deprecated": false, @@ -8354,7 +8395,8 @@ }, "x-appwrite": { "method": "create", - "weight": 288, + "group": "functions", + "weight": 287, "cookies": false, "type": "", "deprecated": false, @@ -8605,9 +8647,7 @@ "get": { "summary": "List runtimes", "operationId": "functionsListRuntimes", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -8625,7 +8665,8 @@ }, "x-appwrite": { "method": "listRuntimes", - "weight": 290, + "group": "runtimes", + "weight": 289, "cookies": false, "type": "", "deprecated": false, @@ -8656,9 +8697,7 @@ "get": { "summary": "List available function runtime specifications", "operationId": "functionsListSpecifications", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -8676,7 +8715,8 @@ }, "x-appwrite": { "method": "listSpecifications", - "weight": 291, + "group": "runtimes", + "weight": 290, "cookies": false, "type": "", "deprecated": false, @@ -8708,9 +8748,7 @@ "get": { "summary": "Get function", "operationId": "functionsGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -8728,7 +8766,8 @@ }, "x-appwrite": { "method": "get", - "weight": 292, + "group": "functions", + "weight": 291, "cookies": false, "type": "", "deprecated": false, @@ -8787,7 +8826,8 @@ }, "x-appwrite": { "method": "update", - "weight": 295, + "group": "functions", + "weight": 294, "cookies": false, "type": "", "deprecated": false, @@ -9028,7 +9068,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 298, + "group": "functions", + "weight": 297, "cookies": false, "type": "", "deprecated": false, @@ -9069,9 +9110,7 @@ "get": { "summary": "List deployments", "operationId": "functionsListDeployments", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -9089,7 +9128,8 @@ }, "x-appwrite": { "method": "listDeployments", - "weight": 300, + "group": "deployments", + "weight": 299, "cookies": false, "type": "", "deprecated": false, @@ -9169,7 +9209,8 @@ }, "x-appwrite": { "method": "createDeployment", - "weight": 299, + "group": "deployments", + "weight": 298, "cookies": false, "type": "upload", "deprecated": false, @@ -9241,9 +9282,7 @@ "get": { "summary": "Get deployment", "operationId": "functionsGetDeployment", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -9261,7 +9300,8 @@ }, "x-appwrite": { "method": "getDeployment", - "weight": 301, + "group": "deployments", + "weight": 300, "cookies": false, "type": "", "deprecated": false, @@ -9328,7 +9368,8 @@ }, "x-appwrite": { "method": "updateDeployment", - "weight": 297, + "group": "deployments", + "weight": 296, "cookies": false, "type": "", "deprecated": false, @@ -9390,7 +9431,8 @@ }, "x-appwrite": { "method": "deleteDeployment", - "weight": 302, + "group": "deployments", + "weight": 301, "cookies": false, "type": "", "deprecated": false, @@ -9437,7 +9479,7 @@ }, "\/functions\/{functionId}\/deployments\/{deploymentId}\/build": { "post": { - "summary": "Rebuild deployment", + "summary": "Create deployment build", "operationId": "functionsCreateBuild", "consumes": [ "application\/json" @@ -9456,7 +9498,8 @@ }, "x-appwrite": { "method": "createBuild", - "weight": 303, + "group": "deployments", + "weight": 302, "cookies": false, "type": "", "deprecated": false, @@ -9538,7 +9581,8 @@ }, "x-appwrite": { "method": "updateDeploymentBuild", - "weight": 304, + "group": "deployments", + "weight": 303, "cookies": false, "type": "", "deprecated": false, @@ -9585,11 +9629,9 @@ }, "\/functions\/{functionId}\/deployments\/{deploymentId}\/download": { "get": { - "summary": "Download deployment", + "summary": "Get deployment download", "operationId": "functionsGetDeploymentDownload", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "*\/*" ], @@ -9607,7 +9649,8 @@ }, "x-appwrite": { "method": "getDeploymentDownload", - "weight": 296, + "group": "deployments", + "weight": 295, "cookies": false, "type": "location", "deprecated": false, @@ -9658,9 +9701,7 @@ "get": { "summary": "List executions", "operationId": "functionsListExecutions", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -9678,7 +9719,8 @@ }, "x-appwrite": { "method": "listExecutions", - "weight": 306, + "group": "executions", + "weight": 305, "cookies": false, "type": "", "deprecated": false, @@ -9762,7 +9804,8 @@ }, "x-appwrite": { "method": "createExecution", - "weight": 305, + "group": "executions", + "weight": 304, "cookies": false, "type": "", "deprecated": false, @@ -9862,9 +9905,7 @@ "get": { "summary": "Get execution", "operationId": "functionsGetExecution", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -9882,7 +9923,8 @@ }, "x-appwrite": { "method": "getExecution", - "weight": 307, + "group": "executions", + "weight": 306, "cookies": false, "type": "", "deprecated": false, @@ -9948,7 +9990,8 @@ }, "x-appwrite": { "method": "deleteExecution", - "weight": 308, + "group": "executions", + "weight": 307, "cookies": false, "type": "", "deprecated": false, @@ -9997,9 +10040,7 @@ "get": { "summary": "List variables", "operationId": "functionsListVariables", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -10017,7 +10058,8 @@ }, "x-appwrite": { "method": "listVariables", - "weight": 310, + "group": "variables", + "weight": 309, "cookies": false, "type": "", "deprecated": false, @@ -10076,7 +10118,8 @@ }, "x-appwrite": { "method": "createVariable", - "weight": 309, + "group": "variables", + "weight": 308, "cookies": false, "type": "", "deprecated": false, @@ -10142,9 +10185,7 @@ "get": { "summary": "Get variable", "operationId": "functionsGetVariable", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -10162,7 +10203,8 @@ }, "x-appwrite": { "method": "getVariable", - "weight": 311, + "group": "variables", + "weight": 310, "cookies": false, "type": "", "deprecated": false, @@ -10229,7 +10271,8 @@ }, "x-appwrite": { "method": "updateVariable", - "weight": 312, + "group": "variables", + "weight": 311, "cookies": false, "type": "", "deprecated": false, @@ -10315,7 +10358,8 @@ }, "x-appwrite": { "method": "deleteVariable", - "weight": 313, + "group": "variables", + "weight": 312, "cookies": false, "type": "", "deprecated": false, @@ -10384,7 +10428,8 @@ }, "x-appwrite": { "method": "query", - "weight": 331, + "group": "graphql", + "weight": 330, "cookies": false, "type": "graphql", "deprecated": false, @@ -10459,7 +10504,8 @@ }, "x-appwrite": { "method": "mutation", - "weight": 330, + "group": "graphql", + "weight": 329, "cookies": false, "type": "graphql", "deprecated": false, @@ -10514,9 +10560,7 @@ "get": { "summary": "Get HTTP", "operationId": "healthGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -10534,6 +10578,7 @@ }, "x-appwrite": { "method": "get", + "group": "health", "weight": 125, "cookies": false, "type": "", @@ -10565,9 +10610,7 @@ "get": { "summary": "Get antivirus", "operationId": "healthGetAntivirus", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -10585,7 +10628,8 @@ }, "x-appwrite": { "method": "getAntivirus", - "weight": 147, + "group": "health", + "weight": 146, "cookies": false, "type": "", "deprecated": false, @@ -10616,9 +10660,7 @@ "get": { "summary": "Get cache", "operationId": "healthGetCache", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -10636,6 +10678,7 @@ }, "x-appwrite": { "method": "getCache", + "group": "health", "weight": 128, "cookies": false, "type": "", @@ -10667,9 +10710,7 @@ "get": { "summary": "Get the SSL certificate for a domain", "operationId": "healthGetCertificate", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -10687,6 +10728,7 @@ }, "x-appwrite": { "method": "getCertificate", + "group": "health", "weight": 133, "cookies": false, "type": "", @@ -10727,9 +10769,7 @@ "get": { "summary": "Get DB", "operationId": "healthGetDB", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -10747,6 +10787,7 @@ }, "x-appwrite": { "method": "getDB", + "group": "health", "weight": 127, "cookies": false, "type": "", @@ -10778,9 +10819,7 @@ "get": { "summary": "Get pubsub", "operationId": "healthGetPubSub", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -10798,6 +10837,7 @@ }, "x-appwrite": { "method": "getPubSub", + "group": "health", "weight": 129, "cookies": false, "type": "", @@ -10829,9 +10869,7 @@ "get": { "summary": "Get builds queue", "operationId": "healthGetQueueBuilds", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -10849,6 +10887,7 @@ }, "x-appwrite": { "method": "getQueueBuilds", + "group": "queue", "weight": 135, "cookies": false, "type": "", @@ -10891,9 +10930,7 @@ "get": { "summary": "Get certificates queue", "operationId": "healthGetQueueCertificates", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -10911,6 +10948,7 @@ }, "x-appwrite": { "method": "getQueueCertificates", + "group": "queue", "weight": 134, "cookies": false, "type": "", @@ -10953,9 +10991,7 @@ "get": { "summary": "Get databases queue", "operationId": "healthGetQueueDatabases", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -10973,6 +11009,7 @@ }, "x-appwrite": { "method": "getQueueDatabases", + "group": "queue", "weight": 136, "cookies": false, "type": "", @@ -11024,9 +11061,7 @@ "get": { "summary": "Get deletes queue", "operationId": "healthGetQueueDeletes", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11044,6 +11079,7 @@ }, "x-appwrite": { "method": "getQueueDeletes", + "group": "queue", "weight": 137, "cookies": false, "type": "", @@ -11086,9 +11122,7 @@ "get": { "summary": "Get number of failed queue jobs", "operationId": "healthGetFailedJobs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11106,7 +11140,8 @@ }, "x-appwrite": { "method": "getFailedJobs", - "weight": 148, + "group": "queue", + "weight": 147, "cookies": false, "type": "", "deprecated": false, @@ -11146,7 +11181,6 @@ "v1-functions", "v1-stats-resources", "v1-stats-usage", - "v1-stats-usage-dump", "v1-webhooks", "v1-certificates", "v1-builds", @@ -11173,9 +11207,7 @@ "get": { "summary": "Get functions queue", "operationId": "healthGetQueueFunctions", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11193,6 +11225,7 @@ }, "x-appwrite": { "method": "getQueueFunctions", + "group": "queue", "weight": 141, "cookies": false, "type": "", @@ -11235,9 +11268,7 @@ "get": { "summary": "Get logs queue", "operationId": "healthGetQueueLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11255,6 +11286,7 @@ }, "x-appwrite": { "method": "getQueueLogs", + "group": "queue", "weight": 132, "cookies": false, "type": "", @@ -11297,9 +11329,7 @@ "get": { "summary": "Get mails queue", "operationId": "healthGetQueueMails", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11317,6 +11347,7 @@ }, "x-appwrite": { "method": "getQueueMails", + "group": "queue", "weight": 138, "cookies": false, "type": "", @@ -11359,9 +11390,7 @@ "get": { "summary": "Get messaging queue", "operationId": "healthGetQueueMessaging", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11379,6 +11408,7 @@ }, "x-appwrite": { "method": "getQueueMessaging", + "group": "queue", "weight": 139, "cookies": false, "type": "", @@ -11421,9 +11451,7 @@ "get": { "summary": "Get migrations queue", "operationId": "healthGetQueueMigrations", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11441,6 +11469,7 @@ }, "x-appwrite": { "method": "getQueueMigrations", + "group": "queue", "weight": 140, "cookies": false, "type": "", @@ -11483,9 +11512,7 @@ "get": { "summary": "Get stats resources queue", "operationId": "healthGetQueueStatsResources", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11503,6 +11530,7 @@ }, "x-appwrite": { "method": "getQueueStatsResources", + "group": "queue", "weight": 142, "cookies": false, "type": "", @@ -11545,9 +11573,7 @@ "get": { "summary": "Get stats usage queue", "operationId": "healthGetQueueUsage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11565,6 +11591,7 @@ }, "x-appwrite": { "method": "getQueueUsage", + "group": "queue", "weight": 143, "cookies": false, "type": "", @@ -11603,75 +11630,11 @@ ] } }, - "\/health\/queue\/stats-usage-dump": { - "get": { - "summary": "Get usage dump queue", - "operationId": "healthGetQueueStatsUsageDump", - "consumes": [ - "application\/json" - ], - "produces": [ - "application\/json" - ], - "tags": [ - "health" - ], - "description": "Get the number of projects containing metrics that are waiting to be processed in the Appwrite internal queue server.", - "responses": { - "200": { - "description": "Health Queue", - "schema": { - "$ref": "#\/definitions\/healthQueue" - } - } - }, - "x-appwrite": { - "method": "getQueueStatsUsageDump", - "weight": 144, - "cookies": false, - "type": "", - "deprecated": false, - "demo": "health\/get-queue-stats-usage-dump.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-usage-dump.md", - "rate-limit": 0, - "rate-time": 3600, - "rate-key": "url:{url},ip:{ip}", - "scope": "health.read", - "platforms": [ - "server" - ], - "packaging": false, - "auth": { - "Project": [], - "Key": [] - } - }, - "security": [ - { - "Project": [], - "Key": [] - } - ], - "parameters": [ - { - "name": "threshold", - "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", - "required": false, - "type": "integer", - "format": "int32", - "default": 5000, - "in": "query" - } - ] - } - }, "\/health\/queue\/webhooks": { "get": { "summary": "Get webhooks queue", "operationId": "healthGetQueueWebhooks", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11689,6 +11652,7 @@ }, "x-appwrite": { "method": "getQueueWebhooks", + "group": "queue", "weight": 131, "cookies": false, "type": "", @@ -11731,9 +11695,7 @@ "get": { "summary": "Get storage", "operationId": "healthGetStorage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11751,7 +11713,8 @@ }, "x-appwrite": { "method": "getStorage", - "weight": 146, + "group": "storage", + "weight": 145, "cookies": false, "type": "", "deprecated": false, @@ -11782,9 +11745,7 @@ "get": { "summary": "Get local storage", "operationId": "healthGetStorageLocal", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11802,7 +11763,8 @@ }, "x-appwrite": { "method": "getStorageLocal", - "weight": 145, + "group": "storage", + "weight": 144, "cookies": false, "type": "", "deprecated": false, @@ -11833,9 +11795,7 @@ "get": { "summary": "Get time", "operationId": "healthGetTime", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11853,6 +11813,7 @@ }, "x-appwrite": { "method": "getTime", + "group": "health", "weight": 130, "cookies": false, "type": "", @@ -11884,9 +11845,7 @@ "get": { "summary": "Get user locale", "operationId": "localeGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11904,6 +11863,7 @@ }, "x-appwrite": { "method": "get", + "group": null, "weight": 117, "cookies": false, "type": "", @@ -11939,9 +11899,7 @@ "get": { "summary": "List locale codes", "operationId": "localeListCodes", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11959,6 +11917,7 @@ }, "x-appwrite": { "method": "listCodes", + "group": null, "weight": 118, "cookies": false, "type": "", @@ -11994,9 +11953,7 @@ "get": { "summary": "List continents", "operationId": "localeListContinents", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12014,6 +11971,7 @@ }, "x-appwrite": { "method": "listContinents", + "group": null, "weight": 122, "cookies": false, "type": "", @@ -12049,9 +12007,7 @@ "get": { "summary": "List countries", "operationId": "localeListCountries", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12069,6 +12025,7 @@ }, "x-appwrite": { "method": "listCountries", + "group": null, "weight": 119, "cookies": false, "type": "", @@ -12104,9 +12061,7 @@ "get": { "summary": "List EU countries", "operationId": "localeListCountriesEU", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12124,6 +12079,7 @@ }, "x-appwrite": { "method": "listCountriesEU", + "group": null, "weight": 120, "cookies": false, "type": "", @@ -12159,9 +12115,7 @@ "get": { "summary": "List countries phone codes", "operationId": "localeListCountriesPhones", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12179,6 +12133,7 @@ }, "x-appwrite": { "method": "listCountriesPhones", + "group": null, "weight": 121, "cookies": false, "type": "", @@ -12214,9 +12169,7 @@ "get": { "summary": "List currencies", "operationId": "localeListCurrencies", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12234,6 +12187,7 @@ }, "x-appwrite": { "method": "listCurrencies", + "group": null, "weight": 123, "cookies": false, "type": "", @@ -12269,9 +12223,7 @@ "get": { "summary": "List languages", "operationId": "localeListLanguages", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12289,6 +12241,7 @@ }, "x-appwrite": { "method": "listLanguages", + "group": null, "weight": 124, "cookies": false, "type": "", @@ -12324,9 +12277,7 @@ "get": { "summary": "List messages", "operationId": "messagingListMessages", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12344,7 +12295,8 @@ }, "x-appwrite": { "method": "listMessages", - "weight": 384, + "group": "messages", + "weight": 383, "cookies": false, "type": "", "deprecated": false, @@ -12419,7 +12371,8 @@ }, "x-appwrite": { "method": "createEmail", - "weight": 381, + "group": "messages", + "weight": 380, "cookies": false, "type": "", "deprecated": false, @@ -12577,7 +12530,8 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 388, + "group": "messages", + "weight": 387, "cookies": false, "type": "", "deprecated": false, @@ -12732,7 +12686,8 @@ }, "x-appwrite": { "method": "createPush", - "weight": 383, + "group": "messages", + "weight": 382, "cookies": false, "type": "", "deprecated": false, @@ -12927,7 +12882,8 @@ }, "x-appwrite": { "method": "updatePush", - "weight": 390, + "group": "messages", + "weight": 389, "cookies": false, "type": "", "deprecated": false, @@ -13121,7 +13077,8 @@ }, "x-appwrite": { "method": "createSms", - "weight": 382, + "group": "messages", + "weight": 381, "cookies": false, "type": "", "deprecated": false, @@ -13239,7 +13196,8 @@ }, "x-appwrite": { "method": "updateSms", - "weight": 389, + "group": "messages", + "weight": 388, "cookies": false, "type": "", "deprecated": false, @@ -13335,9 +13293,7 @@ "get": { "summary": "Get message", "operationId": "messagingGetMessage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -13355,7 +13311,8 @@ }, "x-appwrite": { "method": "getMessage", - "weight": 387, + "group": "messages", + "weight": 386, "cookies": false, "type": "", "deprecated": false, @@ -13410,7 +13367,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 391, + "group": "messages", + "weight": 390, "cookies": false, "type": "", "deprecated": false, @@ -13452,9 +13410,7 @@ "get": { "summary": "List message logs", "operationId": "messagingListMessageLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -13472,7 +13428,8 @@ }, "x-appwrite": { "method": "listMessageLogs", - "weight": 385, + "group": "logs", + "weight": 384, "cookies": false, "type": "", "deprecated": false, @@ -13526,9 +13483,7 @@ "get": { "summary": "List message targets", "operationId": "messagingListTargets", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -13546,7 +13501,8 @@ }, "x-appwrite": { "method": "listTargets", - "weight": 386, + "group": "messages", + "weight": 385, "cookies": false, "type": "", "deprecated": false, @@ -13600,9 +13556,7 @@ "get": { "summary": "List providers", "operationId": "messagingListProviders", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -13620,7 +13574,8 @@ }, "x-appwrite": { "method": "listProviders", - "weight": 356, + "group": "providers", + "weight": 355, "cookies": false, "type": "", "deprecated": false, @@ -13695,7 +13650,8 @@ }, "x-appwrite": { "method": "createApnsProvider", - "weight": 355, + "group": "providers", + "weight": 354, "cookies": false, "type": "", "deprecated": false, @@ -13810,7 +13766,8 @@ }, "x-appwrite": { "method": "updateApnsProvider", - "weight": 368, + "group": "providers", + "weight": 367, "cookies": false, "type": "", "deprecated": false, @@ -13923,7 +13880,8 @@ }, "x-appwrite": { "method": "createFcmProvider", - "weight": 354, + "group": "providers", + "weight": 353, "cookies": false, "type": "", "deprecated": false, @@ -14014,7 +13972,8 @@ }, "x-appwrite": { "method": "updateFcmProvider", - "weight": 367, + "group": "providers", + "weight": 366, "cookies": false, "type": "", "deprecated": false, @@ -14103,7 +14062,8 @@ }, "x-appwrite": { "method": "createMailgunProvider", - "weight": 346, + "group": "providers", + "weight": 345, "cookies": false, "type": "", "deprecated": false, @@ -14230,7 +14190,8 @@ }, "x-appwrite": { "method": "updateMailgunProvider", - "weight": 359, + "group": "providers", + "weight": 358, "cookies": false, "type": "", "deprecated": false, @@ -14355,7 +14316,8 @@ }, "x-appwrite": { "method": "createMsg91Provider", - "weight": 349, + "group": "providers", + "weight": 348, "cookies": false, "type": "", "deprecated": false, @@ -14458,7 +14420,8 @@ }, "x-appwrite": { "method": "updateMsg91Provider", - "weight": 362, + "group": "providers", + "weight": 361, "cookies": false, "type": "", "deprecated": false, @@ -14559,7 +14522,8 @@ }, "x-appwrite": { "method": "createSendgridProvider", - "weight": 347, + "group": "providers", + "weight": 346, "cookies": false, "type": "", "deprecated": false, @@ -14674,7 +14638,8 @@ }, "x-appwrite": { "method": "updateSendgridProvider", - "weight": 360, + "group": "providers", + "weight": 359, "cookies": false, "type": "", "deprecated": false, @@ -14787,7 +14752,8 @@ }, "x-appwrite": { "method": "createSmtpProvider", - "weight": 348, + "group": "providers", + "weight": 347, "cookies": false, "type": "", "deprecated": false, @@ -14946,7 +14912,8 @@ }, "x-appwrite": { "method": "updateSmtpProvider", - "weight": 361, + "group": "providers", + "weight": 360, "cookies": false, "type": "", "deprecated": false, @@ -15102,7 +15069,8 @@ }, "x-appwrite": { "method": "createTelesignProvider", - "weight": 350, + "group": "providers", + "weight": 349, "cookies": false, "type": "", "deprecated": false, @@ -15205,7 +15173,8 @@ }, "x-appwrite": { "method": "updateTelesignProvider", - "weight": 363, + "group": "providers", + "weight": 362, "cookies": false, "type": "", "deprecated": false, @@ -15306,7 +15275,8 @@ }, "x-appwrite": { "method": "createTextmagicProvider", - "weight": 351, + "group": "providers", + "weight": 350, "cookies": false, "type": "", "deprecated": false, @@ -15409,7 +15379,8 @@ }, "x-appwrite": { "method": "updateTextmagicProvider", - "weight": 364, + "group": "providers", + "weight": 363, "cookies": false, "type": "", "deprecated": false, @@ -15510,7 +15481,8 @@ }, "x-appwrite": { "method": "createTwilioProvider", - "weight": 352, + "group": "providers", + "weight": 351, "cookies": false, "type": "", "deprecated": false, @@ -15613,7 +15585,8 @@ }, "x-appwrite": { "method": "updateTwilioProvider", - "weight": 365, + "group": "providers", + "weight": 364, "cookies": false, "type": "", "deprecated": false, @@ -15714,7 +15687,8 @@ }, "x-appwrite": { "method": "createVonageProvider", - "weight": 353, + "group": "providers", + "weight": 352, "cookies": false, "type": "", "deprecated": false, @@ -15817,7 +15791,8 @@ }, "x-appwrite": { "method": "updateVonageProvider", - "weight": 366, + "group": "providers", + "weight": 365, "cookies": false, "type": "", "deprecated": false, @@ -15898,9 +15873,7 @@ "get": { "summary": "Get provider", "operationId": "messagingGetProvider", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -15918,7 +15891,8 @@ }, "x-appwrite": { "method": "getProvider", - "weight": 358, + "group": "providers", + "weight": 357, "cookies": false, "type": "", "deprecated": false, @@ -15973,7 +15947,8 @@ }, "x-appwrite": { "method": "deleteProvider", - "weight": 369, + "group": "providers", + "weight": 368, "cookies": false, "type": "", "deprecated": false, @@ -16015,9 +15990,7 @@ "get": { "summary": "List provider logs", "operationId": "messagingListProviderLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -16035,7 +16008,8 @@ }, "x-appwrite": { "method": "listProviderLogs", - "weight": 357, + "group": "providers", + "weight": 356, "cookies": false, "type": "", "deprecated": false, @@ -16089,9 +16063,7 @@ "get": { "summary": "List subscriber logs", "operationId": "messagingListSubscriberLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -16109,7 +16081,8 @@ }, "x-appwrite": { "method": "listSubscriberLogs", - "weight": 378, + "group": "subscribers", + "weight": 377, "cookies": false, "type": "", "deprecated": false, @@ -16163,9 +16136,7 @@ "get": { "summary": "List topics", "operationId": "messagingListTopics", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -16183,7 +16154,8 @@ }, "x-appwrite": { "method": "listTopics", - "weight": 371, + "group": "topics", + "weight": 370, "cookies": false, "type": "", "deprecated": false, @@ -16256,7 +16228,8 @@ }, "x-appwrite": { "method": "createTopic", - "weight": 370, + "group": "topics", + "weight": 369, "cookies": false, "type": "", "deprecated": false, @@ -16326,9 +16299,7 @@ "get": { "summary": "Get topic", "operationId": "messagingGetTopic", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -16346,7 +16317,8 @@ }, "x-appwrite": { "method": "getTopic", - "weight": 373, + "group": "topics", + "weight": 372, "cookies": false, "type": "", "deprecated": false, @@ -16406,7 +16378,8 @@ }, "x-appwrite": { "method": "updateTopic", - "weight": 374, + "group": "topics", + "weight": 373, "cookies": false, "type": "", "deprecated": false, @@ -16485,7 +16458,8 @@ }, "x-appwrite": { "method": "deleteTopic", - "weight": 375, + "group": "topics", + "weight": 374, "cookies": false, "type": "", "deprecated": false, @@ -16527,9 +16501,7 @@ "get": { "summary": "List topic logs", "operationId": "messagingListTopicLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -16547,7 +16519,8 @@ }, "x-appwrite": { "method": "listTopicLogs", - "weight": 372, + "group": "topics", + "weight": 371, "cookies": false, "type": "", "deprecated": false, @@ -16601,9 +16574,7 @@ "get": { "summary": "List subscribers", "operationId": "messagingListSubscribers", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -16621,7 +16592,8 @@ }, "x-appwrite": { "method": "listSubscribers", - "weight": 377, + "group": "subscribers", + "weight": 376, "cookies": false, "type": "", "deprecated": false, @@ -16702,7 +16674,8 @@ }, "x-appwrite": { "method": "createSubscriber", - "weight": 376, + "group": "subscribers", + "weight": 375, "cookies": false, "type": "", "deprecated": false, @@ -16773,9 +16746,7 @@ "get": { "summary": "Get subscriber", "operationId": "messagingGetSubscriber", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -16793,7 +16764,8 @@ }, "x-appwrite": { "method": "getSubscriber", - "weight": 379, + "group": "subscribers", + "weight": 378, "cookies": false, "type": "", "deprecated": false, @@ -16856,7 +16828,8 @@ }, "x-appwrite": { "method": "deleteSubscriber", - "weight": 380, + "group": "subscribers", + "weight": 379, "cookies": false, "type": "", "deprecated": false, @@ -16910,9 +16883,7 @@ "get": { "summary": "List buckets", "operationId": "storageListBuckets", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -16930,7 +16901,8 @@ }, "x-appwrite": { "method": "listBuckets", - "weight": 203, + "group": "buckets", + "weight": 202, "cookies": false, "type": "", "deprecated": false, @@ -17002,7 +16974,8 @@ }, "x-appwrite": { "method": "createBucket", - "weight": 202, + "group": "buckets", + "weight": 201, "cookies": false, "type": "", "deprecated": false, @@ -17121,9 +17094,7 @@ "get": { "summary": "Get bucket", "operationId": "storageGetBucket", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -17141,7 +17112,8 @@ }, "x-appwrite": { "method": "getBucket", - "weight": 204, + "group": "buckets", + "weight": 203, "cookies": false, "type": "", "deprecated": false, @@ -17200,7 +17172,8 @@ }, "x-appwrite": { "method": "updateBucket", - "weight": 205, + "group": "buckets", + "weight": 204, "cookies": false, "type": "", "deprecated": false, @@ -17333,7 +17306,8 @@ }, "x-appwrite": { "method": "deleteBucket", - "weight": 206, + "group": "buckets", + "weight": 205, "cookies": false, "type": "", "deprecated": false, @@ -17374,9 +17348,7 @@ "get": { "summary": "List files", "operationId": "storageListFiles", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -17394,7 +17366,8 @@ }, "x-appwrite": { "method": "listFiles", - "weight": 208, + "group": "files", + "weight": 207, "cookies": false, "type": "", "deprecated": false, @@ -17478,7 +17451,8 @@ }, "x-appwrite": { "method": "createFile", - "weight": 207, + "group": "files", + "weight": 206, "cookies": false, "type": "upload", "deprecated": false, @@ -17551,9 +17525,7 @@ "get": { "summary": "Get file", "operationId": "storageGetFile", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -17571,7 +17543,8 @@ }, "x-appwrite": { "method": "getFile", - "weight": 209, + "group": "files", + "weight": 208, "cookies": false, "type": "", "deprecated": false, @@ -17642,7 +17615,8 @@ }, "x-appwrite": { "method": "updateFile", - "weight": 214, + "group": "files", + "weight": 213, "cookies": false, "type": "", "deprecated": false, @@ -17732,7 +17706,8 @@ }, "x-appwrite": { "method": "deleteFile", - "weight": 215, + "group": "files", + "weight": 214, "cookies": false, "type": "", "deprecated": false, @@ -17785,9 +17760,7 @@ "get": { "summary": "Get file for download", "operationId": "storageGetFileDownload", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "*\/*" ], @@ -17805,7 +17778,8 @@ }, "x-appwrite": { "method": "getFileDownload", - "weight": 211, + "group": "files", + "weight": 210, "cookies": false, "type": "location", "deprecated": false, @@ -17858,9 +17832,7 @@ "get": { "summary": "Get file preview", "operationId": "storageGetFilePreview", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/*" ], @@ -17878,7 +17850,8 @@ }, "x-appwrite": { "method": "getFilePreview", - "weight": 210, + "group": "files", + "weight": 209, "cookies": false, "type": "location", "deprecated": false, @@ -18059,9 +18032,7 @@ "get": { "summary": "Get file for view", "operationId": "storageGetFileView", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "*\/*" ], @@ -18079,7 +18050,8 @@ }, "x-appwrite": { "method": "getFileView", - "weight": 212, + "group": "files", + "weight": 211, "cookies": false, "type": "location", "deprecated": false, @@ -18132,9 +18104,7 @@ "get": { "summary": "List teams", "operationId": "teamsList", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -18152,7 +18122,8 @@ }, "x-appwrite": { "method": "list", - "weight": 219, + "group": "teams", + "weight": 218, "cookies": false, "type": "", "deprecated": false, @@ -18228,7 +18199,8 @@ }, "x-appwrite": { "method": "create", - "weight": 218, + "group": "teams", + "weight": 217, "cookies": false, "type": "", "deprecated": false, @@ -18301,9 +18273,7 @@ "get": { "summary": "Get team", "operationId": "teamsGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -18321,7 +18291,8 @@ }, "x-appwrite": { "method": "get", - "weight": 220, + "group": "teams", + "weight": 219, "cookies": false, "type": "", "deprecated": false, @@ -18384,7 +18355,8 @@ }, "x-appwrite": { "method": "updateName", - "weight": 222, + "group": "teams", + "weight": 221, "cookies": false, "type": "", "deprecated": false, @@ -18460,7 +18432,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 224, + "group": "teams", + "weight": 223, "cookies": false, "type": "", "deprecated": false, @@ -18505,9 +18478,7 @@ "get": { "summary": "List team memberships", "operationId": "teamsListMemberships", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -18525,7 +18496,8 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 226, + "group": "memberships", + "weight": 225, "cookies": false, "type": "", "deprecated": false, @@ -18609,7 +18581,8 @@ }, "x-appwrite": { "method": "createMembership", - "weight": 225, + "group": "memberships", + "weight": 224, "cookies": false, "type": "", "deprecated": false, @@ -18705,9 +18678,7 @@ "get": { "summary": "Get team membership", "operationId": "teamsGetMembership", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -18725,7 +18696,8 @@ }, "x-appwrite": { "method": "getMembership", - "weight": 227, + "group": "memberships", + "weight": 226, "cookies": false, "type": "", "deprecated": false, @@ -18796,7 +18768,8 @@ }, "x-appwrite": { "method": "updateMembership", - "weight": 228, + "group": "memberships", + "weight": 227, "cookies": false, "type": "", "deprecated": false, @@ -18883,7 +18856,8 @@ }, "x-appwrite": { "method": "deleteMembership", - "weight": 230, + "group": "memberships", + "weight": 229, "cookies": false, "type": "", "deprecated": false, @@ -18956,7 +18930,8 @@ }, "x-appwrite": { "method": "updateMembershipStatus", - "weight": 229, + "group": "memberships", + "weight": 228, "cookies": false, "type": "", "deprecated": false, @@ -19032,9 +19007,7 @@ "get": { "summary": "Get team preferences", "operationId": "teamsGetPrefs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -19052,7 +19025,8 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 221, + "group": "teams", + "weight": 220, "cookies": false, "type": "", "deprecated": false, @@ -19113,7 +19087,8 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 223, + "group": "teams", + "weight": 222, "cookies": false, "type": "", "deprecated": false, @@ -19174,9 +19149,7 @@ "get": { "summary": "List users", "operationId": "usersList", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -19194,7 +19167,8 @@ }, "x-appwrite": { "method": "list", - "weight": 241, + "group": "users", + "weight": 240, "cookies": false, "type": "", "deprecated": false, @@ -19266,7 +19240,8 @@ }, "x-appwrite": { "method": "create", - "weight": 232, + "group": "users", + "weight": 231, "cookies": false, "type": "", "deprecated": false, @@ -19361,7 +19336,8 @@ }, "x-appwrite": { "method": "createArgon2User", - "weight": 235, + "group": "users", + "weight": 234, "cookies": false, "type": "", "deprecated": false, @@ -19452,7 +19428,8 @@ }, "x-appwrite": { "method": "createBcryptUser", - "weight": 233, + "group": "users", + "weight": 232, "cookies": false, "type": "", "deprecated": false, @@ -19523,9 +19500,7 @@ "get": { "summary": "List identities", "operationId": "usersListIdentities", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -19543,7 +19518,8 @@ }, "x-appwrite": { "method": "listIdentities", - "weight": 249, + "group": "identities", + "weight": 248, "cookies": false, "type": "", "deprecated": false, @@ -19612,7 +19588,8 @@ }, "x-appwrite": { "method": "deleteIdentity", - "weight": 272, + "group": "identities", + "weight": 271, "cookies": false, "type": "", "deprecated": false, @@ -19673,7 +19650,8 @@ }, "x-appwrite": { "method": "createMD5User", - "weight": 234, + "group": "users", + "weight": 233, "cookies": false, "type": "", "deprecated": false, @@ -19764,7 +19742,8 @@ }, "x-appwrite": { "method": "createPHPassUser", - "weight": 237, + "group": "users", + "weight": 236, "cookies": false, "type": "", "deprecated": false, @@ -19855,7 +19834,8 @@ }, "x-appwrite": { "method": "createScryptUser", - "weight": 238, + "group": "users", + "weight": 237, "cookies": false, "type": "", "deprecated": false, @@ -19981,7 +19961,8 @@ }, "x-appwrite": { "method": "createScryptModifiedUser", - "weight": 239, + "group": "users", + "weight": 238, "cookies": false, "type": "", "deprecated": false, @@ -20093,7 +20074,8 @@ }, "x-appwrite": { "method": "createSHAUser", - "weight": 236, + "group": "users", + "weight": 235, "cookies": false, "type": "", "deprecated": false, @@ -20185,9 +20167,7 @@ "get": { "summary": "Get user", "operationId": "usersGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -20205,7 +20185,8 @@ }, "x-appwrite": { "method": "get", - "weight": 242, + "group": "users", + "weight": 241, "cookies": false, "type": "", "deprecated": false, @@ -20259,7 +20240,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 270, + "group": "users", + "weight": 269, "cookies": false, "type": "", "deprecated": false, @@ -20320,7 +20302,8 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 255, + "group": "users", + "weight": 254, "cookies": false, "type": "", "deprecated": false, @@ -20399,7 +20382,8 @@ }, "x-appwrite": { "method": "createJWT", - "weight": 273, + "group": "sessions", + "weight": 272, "cookies": false, "type": "", "deprecated": false, @@ -20481,7 +20465,8 @@ }, "x-appwrite": { "method": "updateLabels", - "weight": 251, + "group": "users", + "weight": 250, "cookies": false, "type": "", "deprecated": false, @@ -20543,9 +20528,7 @@ "get": { "summary": "List user logs", "operationId": "usersListLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -20563,7 +20546,8 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 247, + "group": "logs", + "weight": 246, "cookies": false, "type": "", "deprecated": false, @@ -20616,9 +20600,7 @@ "get": { "summary": "List user memberships", "operationId": "usersListMemberships", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -20636,7 +20618,8 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 246, + "group": "memberships", + "weight": 245, "cookies": false, "type": "", "deprecated": false, @@ -20697,7 +20680,8 @@ }, "x-appwrite": { "method": "updateMfa", - "weight": 260, + "group": "users", + "weight": 259, "cookies": false, "type": "", "deprecated": false, @@ -20771,7 +20755,8 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", - "weight": 265, + "group": "mfa", + "weight": 264, "cookies": false, "type": "", "deprecated": false, @@ -20825,9 +20810,7 @@ "get": { "summary": "List factors", "operationId": "usersListMfaFactors", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -20845,7 +20828,8 @@ }, "x-appwrite": { "method": "listMfaFactors", - "weight": 261, + "group": "mfa", + "weight": 260, "cookies": false, "type": "", "deprecated": false, @@ -20886,9 +20870,7 @@ "get": { "summary": "Get MFA recovery codes", "operationId": "usersGetMfaRecoveryCodes", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -20906,7 +20888,8 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", - "weight": 262, + "group": "mfa", + "weight": 261, "cookies": false, "type": "", "deprecated": false, @@ -20943,7 +20926,7 @@ ] }, "put": { - "summary": "Regenerate MFA recovery codes", + "summary": "Update MFA recovery codes (regenerate)", "operationId": "usersUpdateMfaRecoveryCodes", "consumes": [ "application\/json" @@ -20965,7 +20948,8 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", - "weight": 264, + "group": "mfa", + "weight": 263, "cookies": false, "type": "", "deprecated": false, @@ -21024,7 +21008,8 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", - "weight": 263, + "group": "mfa", + "weight": 262, "cookies": false, "type": "", "deprecated": false, @@ -21085,7 +21070,8 @@ }, "x-appwrite": { "method": "updateName", - "weight": 253, + "group": "users", + "weight": 252, "cookies": false, "type": "", "deprecated": false, @@ -21164,7 +21150,8 @@ }, "x-appwrite": { "method": "updatePassword", - "weight": 254, + "group": "users", + "weight": 253, "cookies": false, "type": "", "deprecated": false, @@ -21243,7 +21230,8 @@ }, "x-appwrite": { "method": "updatePhone", - "weight": 256, + "group": "users", + "weight": 255, "cookies": false, "type": "", "deprecated": false, @@ -21302,9 +21290,7 @@ "get": { "summary": "Get user preferences", "operationId": "usersGetPrefs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -21322,7 +21308,8 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 243, + "group": "users", + "weight": 242, "cookies": false, "type": "", "deprecated": false, @@ -21381,7 +21368,8 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 258, + "group": "users", + "weight": 257, "cookies": false, "type": "", "deprecated": false, @@ -21440,9 +21428,7 @@ "get": { "summary": "List user sessions", "operationId": "usersListSessions", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -21460,7 +21446,8 @@ }, "x-appwrite": { "method": "listSessions", - "weight": 245, + "group": "sessions", + "weight": 244, "cookies": false, "type": "", "deprecated": false, @@ -21519,7 +21506,8 @@ }, "x-appwrite": { "method": "createSession", - "weight": 266, + "group": "sessions", + "weight": 265, "cookies": false, "type": "", "deprecated": false, @@ -21573,7 +21561,8 @@ }, "x-appwrite": { "method": "deleteSessions", - "weight": 269, + "group": "sessions", + "weight": 268, "cookies": false, "type": "", "deprecated": false, @@ -21629,7 +21618,8 @@ }, "x-appwrite": { "method": "deleteSession", - "weight": 268, + "group": "sessions", + "weight": 267, "cookies": false, "type": "", "deprecated": false, @@ -21698,7 +21688,8 @@ }, "x-appwrite": { "method": "updateStatus", - "weight": 250, + "group": "users", + "weight": 249, "cookies": false, "type": "", "deprecated": false, @@ -21757,9 +21748,7 @@ "get": { "summary": "List user targets", "operationId": "usersListTargets", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -21777,7 +21766,8 @@ }, "x-appwrite": { "method": "listTargets", - "weight": 248, + "group": "targets", + "weight": 247, "cookies": false, "type": "", "deprecated": false, @@ -21849,7 +21839,8 @@ }, "x-appwrite": { "method": "createTarget", - "weight": 240, + "group": "targets", + "weight": 239, "cookies": false, "type": "", "deprecated": false, @@ -21942,9 +21933,7 @@ "get": { "summary": "Get user target", "operationId": "usersGetTarget", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -21962,7 +21951,8 @@ }, "x-appwrite": { "method": "getTarget", - "weight": 244, + "group": "targets", + "weight": 243, "cookies": false, "type": "", "deprecated": false, @@ -22030,7 +22020,8 @@ }, "x-appwrite": { "method": "updateTarget", - "weight": 259, + "group": "targets", + "weight": 258, "cookies": false, "type": "", "deprecated": false, @@ -22120,7 +22111,8 @@ }, "x-appwrite": { "method": "deleteTarget", - "weight": 271, + "group": "targets", + "weight": 270, "cookies": false, "type": "", "deprecated": false, @@ -22190,7 +22182,8 @@ }, "x-appwrite": { "method": "createToken", - "weight": 267, + "group": "sessions", + "weight": 266, "cookies": false, "type": "", "deprecated": false, @@ -22272,7 +22265,8 @@ }, "x-appwrite": { "method": "updateEmailVerification", - "weight": 257, + "group": "users", + "weight": 256, "cookies": false, "type": "", "deprecated": false, @@ -22351,7 +22345,8 @@ }, "x-appwrite": { "method": "updatePhoneVerification", - "weight": 252, + "group": "users", + "weight": 251, "cookies": false, "type": "", "deprecated": false, diff --git a/app/config/specs/swagger2-latest-client.json b/app/config/specs/swagger2-latest-client.json index 4359443278..dfe5820976 100644 --- a/app/config/specs/swagger2-latest-client.json +++ b/app/config/specs/swagger2-latest-client.json @@ -16,6 +16,7 @@ } }, "host": "cloud.appwrite.io", + "x-host-docs": "<REGION>.cloud.appwrite.io", "basePath": "\/v1", "schemes": [ "https" @@ -67,9 +68,7 @@ "get": { "summary": "Get account", "operationId": "accountGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -87,6 +86,7 @@ }, "x-appwrite": { "method": "get", + "group": "account", "weight": 10, "cookies": false, "type": "", @@ -137,6 +137,7 @@ }, "x-appwrite": { "method": "create", + "group": "account", "weight": 9, "cookies": false, "type": "", @@ -227,6 +228,7 @@ }, "x-appwrite": { "method": "updateEmail", + "group": "account", "weight": 35, "cookies": false, "type": "", @@ -286,9 +288,7 @@ "get": { "summary": "List identities", "operationId": "accountListIdentities", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -306,6 +306,7 @@ }, "x-appwrite": { "method": "listIdentities", + "group": "identities", "weight": 58, "cookies": false, "type": "", @@ -367,6 +368,7 @@ }, "x-appwrite": { "method": "deleteIdentity", + "group": "identities", "weight": 59, "cookies": false, "type": "", @@ -429,6 +431,7 @@ }, "x-appwrite": { "method": "createJWT", + "group": "tokens", "weight": 30, "cookies": false, "type": "", @@ -459,9 +462,7 @@ "get": { "summary": "List logs", "operationId": "accountListLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -479,6 +480,7 @@ }, "x-appwrite": { "method": "listLogs", + "group": "logs", "weight": 32, "cookies": false, "type": "", @@ -545,6 +547,7 @@ }, "x-appwrite": { "method": "updateMFA", + "group": "mfa", "weight": 45, "cookies": false, "type": "", @@ -617,6 +620,7 @@ }, "x-appwrite": { "method": "createMfaAuthenticator", + "group": "mfa", "weight": 47, "cookies": false, "type": "", @@ -660,7 +664,7 @@ ] }, "put": { - "summary": "Verify authenticator", + "summary": "Update authenticator (confirmation)", "operationId": "accountUpdateMfaAuthenticator", "consumes": [ "application\/json" @@ -682,6 +686,7 @@ }, "x-appwrite": { "method": "updateMfaAuthenticator", + "group": "mfa", "weight": 48, "cookies": false, "type": "", @@ -760,6 +765,7 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", + "group": "mfa", "weight": 52, "cookies": false, "type": "", @@ -827,6 +833,7 @@ }, "x-appwrite": { "method": "createMfaChallenge", + "group": "mfa", "weight": 53, "cookies": false, "type": "", @@ -881,7 +888,7 @@ ] }, "put": { - "summary": "Create MFA challenge (confirmation)", + "summary": "Update MFA challenge (confirmation)", "operationId": "accountUpdateMfaChallenge", "consumes": [ "application\/json" @@ -903,6 +910,7 @@ }, "x-appwrite": { "method": "updateMfaChallenge", + "group": "mfa", "weight": 54, "cookies": false, "type": "", @@ -962,9 +970,7 @@ "get": { "summary": "List factors", "operationId": "accountListMfaFactors", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -982,6 +988,7 @@ }, "x-appwrite": { "method": "listMfaFactors", + "group": "mfa", "weight": 46, "cookies": false, "type": "", @@ -1012,11 +1019,9 @@ }, "\/account\/mfa\/recovery-codes": { "get": { - "summary": "Get MFA recovery codes", + "summary": "List MFA recovery codes", "operationId": "accountGetMfaRecoveryCodes", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -1034,6 +1039,7 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", + "group": "mfa", "weight": 51, "cookies": false, "type": "", @@ -1084,6 +1090,7 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", + "group": "mfa", "weight": 49, "cookies": false, "type": "", @@ -1112,7 +1119,7 @@ ] }, "patch": { - "summary": "Regenerate MFA recovery codes", + "summary": "Update MFA recovery codes (regenerate)", "operationId": "accountUpdateMfaRecoveryCodes", "consumes": [ "application\/json" @@ -1134,6 +1141,7 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", + "group": "mfa", "weight": 50, "cookies": false, "type": "", @@ -1186,6 +1194,7 @@ }, "x-appwrite": { "method": "updateName", + "group": "account", "weight": 33, "cookies": false, "type": "", @@ -1258,6 +1267,7 @@ }, "x-appwrite": { "method": "updatePassword", + "group": "account", "weight": 34, "cookies": false, "type": "", @@ -1336,6 +1346,7 @@ }, "x-appwrite": { "method": "updatePhone", + "group": "account", "weight": 36, "cookies": false, "type": "", @@ -1395,9 +1406,7 @@ "get": { "summary": "Get account preferences", "operationId": "accountGetPrefs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -1415,6 +1424,7 @@ }, "x-appwrite": { "method": "getPrefs", + "group": "account", "weight": 31, "cookies": false, "type": "", @@ -1465,6 +1475,7 @@ }, "x-appwrite": { "method": "updatePrefs", + "group": "account", "weight": 37, "cookies": false, "type": "", @@ -1537,6 +1548,7 @@ }, "x-appwrite": { "method": "createRecovery", + "group": "recovery", "weight": 39, "cookies": false, "type": "", @@ -1595,7 +1607,7 @@ ] }, "put": { - "summary": "Create password recovery (confirmation)", + "summary": "Update password recovery (confirmation)", "operationId": "accountUpdateRecovery", "consumes": [ "application\/json" @@ -1617,6 +1629,7 @@ }, "x-appwrite": { "method": "updateRecovery", + "group": "recovery", "weight": 40, "cookies": false, "type": "", @@ -1683,9 +1696,7 @@ "get": { "summary": "List sessions", "operationId": "accountListSessions", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -1703,6 +1714,7 @@ }, "x-appwrite": { "method": "listSessions", + "group": "sessions", "weight": 12, "cookies": false, "type": "", @@ -1748,6 +1760,7 @@ }, "x-appwrite": { "method": "deleteSessions", + "group": "sessions", "weight": 13, "cookies": false, "type": "", @@ -1800,6 +1813,7 @@ }, "x-appwrite": { "method": "createAnonymousSession", + "group": "sessions", "weight": 18, "cookies": false, "type": "", @@ -1850,6 +1864,7 @@ }, "x-appwrite": { "method": "createEmailPasswordSession", + "group": "sessions", "weight": 17, "cookies": false, "type": "", @@ -1927,6 +1942,7 @@ }, "x-appwrite": { "method": "updateMagicURLSession", + "group": "sessions", "weight": 27, "cookies": false, "type": "", @@ -1984,9 +2000,7 @@ "get": { "summary": "Create OAuth2 session", "operationId": "accountCreateOAuth2Session", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "text\/html" ], @@ -2001,6 +2015,7 @@ }, "x-appwrite": { "method": "createOAuth2Session", + "group": "sessions", "weight": 20, "cookies": false, "type": "webAuth", @@ -2028,7 +2043,7 @@ "parameters": [ { "name": "provider", - "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", + "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", "required": true, "type": "string", "x-example": "amazon", @@ -2047,6 +2062,7 @@ "dropbox", "etsy", "facebook", + "figma", "github", "gitlab", "google", @@ -2136,6 +2152,7 @@ }, "x-appwrite": { "method": "updatePhoneSession", + "group": "sessions", "weight": 28, "cookies": false, "type": "", @@ -2213,6 +2230,7 @@ }, "x-appwrite": { "method": "createSession", + "group": "sessions", "weight": 19, "cookies": false, "type": "", @@ -2270,9 +2288,7 @@ "get": { "summary": "Get session", "operationId": "accountGetSession", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -2290,6 +2306,7 @@ }, "x-appwrite": { "method": "getSession", + "group": "sessions", "weight": 14, "cookies": false, "type": "", @@ -2350,6 +2367,7 @@ }, "x-appwrite": { "method": "updateSession", + "group": "sessions", "weight": 16, "cookies": false, "type": "", @@ -2405,6 +2423,7 @@ }, "x-appwrite": { "method": "deleteSession", + "group": "sessions", "weight": 15, "cookies": false, "type": "", @@ -2467,6 +2486,7 @@ }, "x-appwrite": { "method": "updateStatus", + "group": "account", "weight": 38, "cookies": false, "type": "", @@ -2519,6 +2539,7 @@ }, "x-appwrite": { "method": "createPushTarget", + "group": "pushTargets", "weight": 55, "cookies": false, "type": "", @@ -2602,6 +2623,7 @@ }, "x-appwrite": { "method": "updatePushTarget", + "group": "pushTargets", "weight": 56, "cookies": false, "type": "", @@ -2673,6 +2695,7 @@ }, "x-appwrite": { "method": "deletePushTarget", + "group": "pushTargets", "weight": 57, "cookies": false, "type": "", @@ -2733,6 +2756,7 @@ }, "x-appwrite": { "method": "createEmailToken", + "group": "tokens", "weight": 26, "cookies": false, "type": "", @@ -2816,6 +2840,7 @@ }, "x-appwrite": { "method": "createMagicURLToken", + "group": "tokens", "weight": 25, "cookies": false, "type": "", @@ -2888,9 +2913,7 @@ "get": { "summary": "Create OAuth2 token", "operationId": "accountCreateOAuth2Token", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "text\/html" ], @@ -2905,6 +2928,7 @@ }, "x-appwrite": { "method": "createOAuth2Token", + "group": "tokens", "weight": 24, "cookies": false, "type": "webAuth", @@ -2932,7 +2956,7 @@ "parameters": [ { "name": "provider", - "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", + "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", "required": true, "type": "string", "x-example": "amazon", @@ -2951,6 +2975,7 @@ "dropbox", "etsy", "facebook", + "figma", "github", "gitlab", "google", @@ -3040,6 +3065,7 @@ }, "x-appwrite": { "method": "createPhoneToken", + "group": "tokens", "weight": 29, "cookies": false, "type": "", @@ -3120,6 +3146,7 @@ }, "x-appwrite": { "method": "createVerification", + "group": "verification", "weight": 41, "cookies": false, "type": "", @@ -3168,7 +3195,7 @@ ] }, "put": { - "summary": "Create email verification (confirmation)", + "summary": "Update email verification (confirmation)", "operationId": "accountUpdateVerification", "consumes": [ "application\/json" @@ -3190,6 +3217,7 @@ }, "x-appwrite": { "method": "updateVerification", + "group": "verification", "weight": 42, "cookies": false, "type": "", @@ -3269,6 +3297,7 @@ }, "x-appwrite": { "method": "createPhoneVerification", + "group": "verification", "weight": 43, "cookies": false, "type": "", @@ -3322,6 +3351,7 @@ }, "x-appwrite": { "method": "updatePhoneVerification", + "group": "verification", "weight": 44, "cookies": false, "type": "", @@ -3381,9 +3411,7 @@ "get": { "summary": "Get browser icon", "operationId": "avatarsGetBrowser", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/png" ], @@ -3401,6 +3429,7 @@ }, "x-appwrite": { "method": "getBrowser", + "group": null, "weight": 61, "cookies": false, "type": "location", @@ -3507,9 +3536,7 @@ "get": { "summary": "Get credit card icon", "operationId": "avatarsGetCreditCard", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/png" ], @@ -3527,6 +3554,7 @@ }, "x-appwrite": { "method": "getCreditCard", + "group": null, "weight": 60, "cookies": false, "type": "location", @@ -3639,9 +3667,7 @@ "get": { "summary": "Get favicon", "operationId": "avatarsGetFavicon", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/*" ], @@ -3659,6 +3685,7 @@ }, "x-appwrite": { "method": "getFavicon", + "group": null, "weight": 64, "cookies": false, "type": "location", @@ -3703,9 +3730,7 @@ "get": { "summary": "Get country flag", "operationId": "avatarsGetFlag", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/png" ], @@ -3723,6 +3748,7 @@ }, "x-appwrite": { "method": "getFlag", + "group": null, "weight": 62, "cookies": false, "type": "location", @@ -4191,9 +4217,7 @@ "get": { "summary": "Get image from URL", "operationId": "avatarsGetImage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/*" ], @@ -4211,6 +4235,7 @@ }, "x-appwrite": { "method": "getImage", + "group": null, "weight": 63, "cookies": false, "type": "location", @@ -4275,9 +4300,7 @@ "get": { "summary": "Get user initials", "operationId": "avatarsGetInitials", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/png" ], @@ -4295,6 +4318,7 @@ }, "x-appwrite": { "method": "getInitials", + "group": null, "weight": 66, "cookies": false, "type": "location", @@ -4367,9 +4391,7 @@ "get": { "summary": "Get QR code", "operationId": "avatarsGetQR", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/png" ], @@ -4387,6 +4409,7 @@ }, "x-appwrite": { "method": "getQR", + "group": null, "weight": 65, "cookies": false, "type": "location", @@ -4459,9 +4482,7 @@ "get": { "summary": "List documents", "operationId": "databasesListDocuments", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -4479,6 +4500,7 @@ }, "x-appwrite": { "method": "listDocuments", + "group": "documents", "weight": 110, "cookies": false, "type": "", @@ -4560,6 +4582,7 @@ }, "x-appwrite": { "method": "createDocument", + "group": "documents", "weight": 109, "cookies": false, "type": "", @@ -4645,9 +4668,7 @@ "get": { "summary": "Get document", "operationId": "databasesGetDocument", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -4665,6 +4686,7 @@ }, "x-appwrite": { "method": "getDocument", + "group": "documents", "weight": 111, "cookies": false, "type": "", @@ -4754,6 +4776,7 @@ }, "x-appwrite": { "method": "updateDocument", + "group": "documents", "weight": 113, "cookies": false, "type": "", @@ -4850,6 +4873,7 @@ }, "x-appwrite": { "method": "deleteDocument", + "group": "documents", "weight": 114, "cookies": false, "type": "", @@ -4909,9 +4933,7 @@ "get": { "summary": "List executions", "operationId": "functionsListExecutions", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -4929,7 +4951,8 @@ }, "x-appwrite": { "method": "listExecutions", - "weight": 389, + "group": "executions", + "weight": 388, "cookies": false, "type": "", "deprecated": false, @@ -5002,7 +5025,8 @@ }, "x-appwrite": { "method": "createExecution", - "weight": 387, + "group": "executions", + "weight": 386, "cookies": false, "type": "", "deprecated": false, @@ -5100,9 +5124,7 @@ "get": { "summary": "Get execution", "operationId": "functionsGetExecution", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -5120,7 +5142,8 @@ }, "x-appwrite": { "method": "getExecution", - "weight": 388, + "group": "executions", + "weight": 387, "cookies": false, "type": "", "deprecated": false, @@ -5191,7 +5214,8 @@ }, "x-appwrite": { "method": "query", - "weight": 303, + "group": "graphql", + "weight": 302, "cookies": false, "type": "graphql", "deprecated": false, @@ -5264,7 +5288,8 @@ }, "x-appwrite": { "method": "mutation", - "weight": 302, + "group": "graphql", + "weight": 301, "cookies": false, "type": "graphql", "deprecated": false, @@ -5317,9 +5342,7 @@ "get": { "summary": "Get user locale", "operationId": "localeGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -5337,6 +5360,7 @@ }, "x-appwrite": { "method": "get", + "group": null, "weight": 118, "cookies": false, "type": "", @@ -5370,9 +5394,7 @@ "get": { "summary": "List locale codes", "operationId": "localeListCodes", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -5390,6 +5412,7 @@ }, "x-appwrite": { "method": "listCodes", + "group": null, "weight": 119, "cookies": false, "type": "", @@ -5423,9 +5446,7 @@ "get": { "summary": "List continents", "operationId": "localeListContinents", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -5443,6 +5464,7 @@ }, "x-appwrite": { "method": "listContinents", + "group": null, "weight": 123, "cookies": false, "type": "", @@ -5476,9 +5498,7 @@ "get": { "summary": "List countries", "operationId": "localeListCountries", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -5496,6 +5516,7 @@ }, "x-appwrite": { "method": "listCountries", + "group": null, "weight": 120, "cookies": false, "type": "", @@ -5529,9 +5550,7 @@ "get": { "summary": "List EU countries", "operationId": "localeListCountriesEU", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -5549,6 +5568,7 @@ }, "x-appwrite": { "method": "listCountriesEU", + "group": null, "weight": 121, "cookies": false, "type": "", @@ -5582,9 +5602,7 @@ "get": { "summary": "List countries phone codes", "operationId": "localeListCountriesPhones", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -5602,6 +5620,7 @@ }, "x-appwrite": { "method": "listCountriesPhones", + "group": null, "weight": 122, "cookies": false, "type": "", @@ -5635,9 +5654,7 @@ "get": { "summary": "List currencies", "operationId": "localeListCurrencies", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -5655,6 +5672,7 @@ }, "x-appwrite": { "method": "listCurrencies", + "group": null, "weight": 124, "cookies": false, "type": "", @@ -5688,9 +5706,7 @@ "get": { "summary": "List languages", "operationId": "localeListLanguages", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -5708,6 +5724,7 @@ }, "x-appwrite": { "method": "listLanguages", + "group": null, "weight": 125, "cookies": false, "type": "", @@ -5761,7 +5778,8 @@ }, "x-appwrite": { "method": "createSubscriber", - "weight": 349, + "group": "subscribers", + "weight": 348, "cookies": false, "type": "", "deprecated": false, @@ -5845,7 +5863,8 @@ }, "x-appwrite": { "method": "deleteSubscriber", - "weight": 353, + "group": "subscribers", + "weight": 352, "cookies": false, "type": "", "deprecated": false, @@ -5897,9 +5916,7 @@ "get": { "summary": "List files", "operationId": "storageListFiles", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -5917,7 +5934,8 @@ }, "x-appwrite": { "method": "listFiles", - "weight": 209, + "group": "files", + "weight": 208, "cookies": false, "type": "", "deprecated": false, @@ -5999,7 +6017,8 @@ }, "x-appwrite": { "method": "createFile", - "weight": 208, + "group": "files", + "weight": 207, "cookies": false, "type": "upload", "deprecated": false, @@ -6070,9 +6089,7 @@ "get": { "summary": "Get file", "operationId": "storageGetFile", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -6090,7 +6107,8 @@ }, "x-appwrite": { "method": "getFile", - "weight": 210, + "group": "files", + "weight": 209, "cookies": false, "type": "", "deprecated": false, @@ -6159,7 +6177,8 @@ }, "x-appwrite": { "method": "updateFile", - "weight": 215, + "group": "files", + "weight": 214, "cookies": false, "type": "", "deprecated": false, @@ -6247,7 +6266,8 @@ }, "x-appwrite": { "method": "deleteFile", - "weight": 216, + "group": "files", + "weight": 215, "cookies": false, "type": "", "deprecated": false, @@ -6298,9 +6318,7 @@ "get": { "summary": "Get file for download", "operationId": "storageGetFileDownload", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "*\/*" ], @@ -6318,7 +6336,8 @@ }, "x-appwrite": { "method": "getFileDownload", - "weight": 212, + "group": "files", + "weight": 211, "cookies": false, "type": "location", "deprecated": false, @@ -6369,9 +6388,7 @@ "get": { "summary": "Get file preview", "operationId": "storageGetFilePreview", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/*" ], @@ -6389,7 +6406,8 @@ }, "x-appwrite": { "method": "getFilePreview", - "weight": 211, + "group": "files", + "weight": 210, "cookies": false, "type": "location", "deprecated": false, @@ -6568,9 +6586,7 @@ "get": { "summary": "Get file for view", "operationId": "storageGetFileView", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "*\/*" ], @@ -6588,7 +6604,8 @@ }, "x-appwrite": { "method": "getFileView", - "weight": 213, + "group": "files", + "weight": 212, "cookies": false, "type": "location", "deprecated": false, @@ -6639,9 +6656,7 @@ "get": { "summary": "List teams", "operationId": "teamsList", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -6659,7 +6674,8 @@ }, "x-appwrite": { "method": "list", - "weight": 220, + "group": "teams", + "weight": 219, "cookies": false, "type": "", "deprecated": false, @@ -6733,7 +6749,8 @@ }, "x-appwrite": { "method": "create", - "weight": 219, + "group": "teams", + "weight": 218, "cookies": false, "type": "", "deprecated": false, @@ -6804,9 +6821,7 @@ "get": { "summary": "Get team", "operationId": "teamsGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -6824,7 +6839,8 @@ }, "x-appwrite": { "method": "get", - "weight": 221, + "group": "teams", + "weight": 220, "cookies": false, "type": "", "deprecated": false, @@ -6885,7 +6901,8 @@ }, "x-appwrite": { "method": "updateName", - "weight": 223, + "group": "teams", + "weight": 222, "cookies": false, "type": "", "deprecated": false, @@ -6959,7 +6976,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 225, + "group": "teams", + "weight": 224, "cookies": false, "type": "", "deprecated": false, @@ -7002,9 +7020,7 @@ "get": { "summary": "List team memberships", "operationId": "teamsListMemberships", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -7022,7 +7038,8 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 227, + "group": "memberships", + "weight": 226, "cookies": false, "type": "", "deprecated": false, @@ -7104,7 +7121,8 @@ }, "x-appwrite": { "method": "createMembership", - "weight": 226, + "group": "memberships", + "weight": 225, "cookies": false, "type": "", "deprecated": false, @@ -7198,9 +7216,7 @@ "get": { "summary": "Get team membership", "operationId": "teamsGetMembership", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -7218,7 +7234,8 @@ }, "x-appwrite": { "method": "getMembership", - "weight": 228, + "group": "memberships", + "weight": 227, "cookies": false, "type": "", "deprecated": false, @@ -7287,7 +7304,8 @@ }, "x-appwrite": { "method": "updateMembership", - "weight": 229, + "group": "memberships", + "weight": 228, "cookies": false, "type": "", "deprecated": false, @@ -7372,7 +7390,8 @@ }, "x-appwrite": { "method": "deleteMembership", - "weight": 231, + "group": "memberships", + "weight": 230, "cookies": false, "type": "", "deprecated": false, @@ -7443,7 +7462,8 @@ }, "x-appwrite": { "method": "updateMembershipStatus", - "weight": 230, + "group": "memberships", + "weight": 229, "cookies": false, "type": "", "deprecated": false, @@ -7518,9 +7538,7 @@ "get": { "summary": "Get team preferences", "operationId": "teamsGetPrefs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -7538,7 +7556,8 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 222, + "group": "teams", + "weight": 221, "cookies": false, "type": "", "deprecated": false, @@ -7598,7 +7617,8 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 224, + "group": "teams", + "weight": 223, "cookies": false, "type": "", "deprecated": false, @@ -7658,9 +7678,7 @@ "get": { "summary": "List tokens", "operationId": "tokensList", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -7678,7 +7696,8 @@ }, "x-appwrite": { "method": "list", - "weight": 432, + "group": "files", + "weight": 436, "cookies": false, "type": "", "deprecated": false, @@ -7759,7 +7778,8 @@ }, "x-appwrite": { "method": "createFileToken", - "weight": 429, + "group": "files", + "weight": 433, "cookies": false, "type": "", "deprecated": false, @@ -7835,9 +7855,7 @@ "get": { "summary": "Get token", "operationId": "tokensGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -7855,7 +7873,8 @@ }, "x-appwrite": { "method": "get", - "weight": 430, + "group": "tokens", + "weight": 434, "cookies": false, "type": "", "deprecated": false, @@ -7916,7 +7935,8 @@ }, "x-appwrite": { "method": "update", - "weight": 433, + "group": "tokens", + "weight": 437, "cookies": false, "type": "", "deprecated": false, @@ -7997,7 +8017,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 434, + "group": "tokens", + "weight": 438, "cookies": false, "type": "", "deprecated": false, @@ -8040,9 +8061,7 @@ "get": { "summary": "Get token as JWT", "operationId": "tokensGetJWT", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -8060,7 +8079,8 @@ }, "x-appwrite": { "method": "getJWT", - "weight": 431, + "group": "tokens", + "weight": 435, "cookies": false, "type": "", "deprecated": false, diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json index fa788f8268..33e12bbef5 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -16,6 +16,7 @@ } }, "host": "cloud.appwrite.io", + "x-host-docs": "<REGION>.cloud.appwrite.io", "basePath": "\/v1", "schemes": [ "https" @@ -79,9 +80,7 @@ "get": { "summary": "Get account", "operationId": "accountGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -99,6 +98,7 @@ }, "x-appwrite": { "method": "get", + "group": "account", "weight": 10, "cookies": false, "type": "", @@ -148,6 +148,7 @@ }, "x-appwrite": { "method": "create", + "group": "account", "weight": 9, "cookies": false, "type": "", @@ -231,6 +232,7 @@ }, "x-appwrite": { "method": "delete", + "group": "account", "weight": 11, "cookies": false, "type": "", @@ -280,6 +282,7 @@ }, "x-appwrite": { "method": "updateEmail", + "group": "account", "weight": 35, "cookies": false, "type": "", @@ -338,9 +341,7 @@ "get": { "summary": "List identities", "operationId": "accountListIdentities", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -358,6 +359,7 @@ }, "x-appwrite": { "method": "listIdentities", + "group": "identities", "weight": 58, "cookies": false, "type": "", @@ -418,6 +420,7 @@ }, "x-appwrite": { "method": "deleteIdentity", + "group": "identities", "weight": 59, "cookies": false, "type": "", @@ -479,6 +482,7 @@ }, "x-appwrite": { "method": "createJWT", + "group": "tokens", "weight": 30, "cookies": false, "type": "", @@ -509,9 +513,7 @@ "get": { "summary": "List logs", "operationId": "accountListLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -529,6 +531,7 @@ }, "x-appwrite": { "method": "listLogs", + "group": "logs", "weight": 32, "cookies": false, "type": "", @@ -594,6 +597,7 @@ }, "x-appwrite": { "method": "updateMFA", + "group": "mfa", "weight": 45, "cookies": false, "type": "", @@ -665,6 +669,7 @@ }, "x-appwrite": { "method": "createMfaAuthenticator", + "group": "mfa", "weight": 47, "cookies": false, "type": "", @@ -707,7 +712,7 @@ ] }, "put": { - "summary": "Verify authenticator", + "summary": "Update authenticator (confirmation)", "operationId": "accountUpdateMfaAuthenticator", "consumes": [ "application\/json" @@ -729,6 +734,7 @@ }, "x-appwrite": { "method": "updateMfaAuthenticator", + "group": "mfa", "weight": 48, "cookies": false, "type": "", @@ -806,6 +812,7 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", + "group": "mfa", "weight": 52, "cookies": false, "type": "", @@ -872,6 +879,7 @@ }, "x-appwrite": { "method": "createMfaChallenge", + "group": "mfa", "weight": 53, "cookies": false, "type": "", @@ -926,7 +934,7 @@ ] }, "put": { - "summary": "Create MFA challenge (confirmation)", + "summary": "Update MFA challenge (confirmation)", "operationId": "accountUpdateMfaChallenge", "consumes": [ "application\/json" @@ -948,6 +956,7 @@ }, "x-appwrite": { "method": "updateMfaChallenge", + "group": "mfa", "weight": 54, "cookies": false, "type": "", @@ -1006,9 +1015,7 @@ "get": { "summary": "List factors", "operationId": "accountListMfaFactors", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -1026,6 +1033,7 @@ }, "x-appwrite": { "method": "listMfaFactors", + "group": "mfa", "weight": 46, "cookies": false, "type": "", @@ -1055,11 +1063,9 @@ }, "\/account\/mfa\/recovery-codes": { "get": { - "summary": "Get MFA recovery codes", + "summary": "List MFA recovery codes", "operationId": "accountGetMfaRecoveryCodes", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -1077,6 +1083,7 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", + "group": "mfa", "weight": 51, "cookies": false, "type": "", @@ -1126,6 +1133,7 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", + "group": "mfa", "weight": 49, "cookies": false, "type": "", @@ -1153,7 +1161,7 @@ ] }, "patch": { - "summary": "Regenerate MFA recovery codes", + "summary": "Update MFA recovery codes (regenerate)", "operationId": "accountUpdateMfaRecoveryCodes", "consumes": [ "application\/json" @@ -1175,6 +1183,7 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", + "group": "mfa", "weight": 50, "cookies": false, "type": "", @@ -1226,6 +1235,7 @@ }, "x-appwrite": { "method": "updateName", + "group": "account", "weight": 33, "cookies": false, "type": "", @@ -1297,6 +1307,7 @@ }, "x-appwrite": { "method": "updatePassword", + "group": "account", "weight": 34, "cookies": false, "type": "", @@ -1374,6 +1385,7 @@ }, "x-appwrite": { "method": "updatePhone", + "group": "account", "weight": 36, "cookies": false, "type": "", @@ -1432,9 +1444,7 @@ "get": { "summary": "Get account preferences", "operationId": "accountGetPrefs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -1452,6 +1462,7 @@ }, "x-appwrite": { "method": "getPrefs", + "group": "account", "weight": 31, "cookies": false, "type": "", @@ -1501,6 +1512,7 @@ }, "x-appwrite": { "method": "updatePrefs", + "group": "account", "weight": 37, "cookies": false, "type": "", @@ -1572,6 +1584,7 @@ }, "x-appwrite": { "method": "createRecovery", + "group": "recovery", "weight": 39, "cookies": false, "type": "", @@ -1629,7 +1642,7 @@ ] }, "put": { - "summary": "Create password recovery (confirmation)", + "summary": "Update password recovery (confirmation)", "operationId": "accountUpdateRecovery", "consumes": [ "application\/json" @@ -1651,6 +1664,7 @@ }, "x-appwrite": { "method": "updateRecovery", + "group": "recovery", "weight": 40, "cookies": false, "type": "", @@ -1716,9 +1730,7 @@ "get": { "summary": "List sessions", "operationId": "accountListSessions", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -1736,6 +1748,7 @@ }, "x-appwrite": { "method": "listSessions", + "group": "sessions", "weight": 12, "cookies": false, "type": "", @@ -1780,6 +1793,7 @@ }, "x-appwrite": { "method": "deleteSessions", + "group": "sessions", "weight": 13, "cookies": false, "type": "", @@ -1831,6 +1845,7 @@ }, "x-appwrite": { "method": "createAnonymousSession", + "group": "sessions", "weight": 18, "cookies": false, "type": "", @@ -1881,6 +1896,7 @@ }, "x-appwrite": { "method": "createEmailPasswordSession", + "group": "sessions", "weight": 17, "cookies": false, "type": "", @@ -1958,6 +1974,7 @@ }, "x-appwrite": { "method": "updateMagicURLSession", + "group": "sessions", "weight": 27, "cookies": false, "type": "", @@ -2015,9 +2032,7 @@ "get": { "summary": "Create OAuth2 session", "operationId": "accountCreateOAuth2Session", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "text\/html" ], @@ -2032,6 +2047,7 @@ }, "x-appwrite": { "method": "createOAuth2Session", + "group": "sessions", "weight": 20, "cookies": false, "type": "webAuth", @@ -2059,7 +2075,7 @@ "parameters": [ { "name": "provider", - "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", + "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", "required": true, "type": "string", "x-example": "amazon", @@ -2078,6 +2094,7 @@ "dropbox", "etsy", "facebook", + "figma", "github", "gitlab", "google", @@ -2167,6 +2184,7 @@ }, "x-appwrite": { "method": "updatePhoneSession", + "group": "sessions", "weight": 28, "cookies": false, "type": "", @@ -2244,6 +2262,7 @@ }, "x-appwrite": { "method": "createSession", + "group": "sessions", "weight": 19, "cookies": false, "type": "", @@ -2301,9 +2320,7 @@ "get": { "summary": "Get session", "operationId": "accountGetSession", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -2321,6 +2338,7 @@ }, "x-appwrite": { "method": "getSession", + "group": "sessions", "weight": 14, "cookies": false, "type": "", @@ -2380,6 +2398,7 @@ }, "x-appwrite": { "method": "updateSession", + "group": "sessions", "weight": 16, "cookies": false, "type": "", @@ -2434,6 +2453,7 @@ }, "x-appwrite": { "method": "deleteSession", + "group": "sessions", "weight": 15, "cookies": false, "type": "", @@ -2495,6 +2515,7 @@ }, "x-appwrite": { "method": "updateStatus", + "group": "account", "weight": 38, "cookies": false, "type": "", @@ -2546,6 +2567,7 @@ }, "x-appwrite": { "method": "createPushTarget", + "group": "pushTargets", "weight": 55, "cookies": false, "type": "", @@ -2628,6 +2650,7 @@ }, "x-appwrite": { "method": "updatePushTarget", + "group": "pushTargets", "weight": 56, "cookies": false, "type": "", @@ -2698,6 +2721,7 @@ }, "x-appwrite": { "method": "deletePushTarget", + "group": "pushTargets", "weight": 57, "cookies": false, "type": "", @@ -2757,6 +2781,7 @@ }, "x-appwrite": { "method": "createEmailToken", + "group": "tokens", "weight": 26, "cookies": false, "type": "", @@ -2840,6 +2865,7 @@ }, "x-appwrite": { "method": "createMagicURLToken", + "group": "tokens", "weight": 25, "cookies": false, "type": "", @@ -2912,9 +2938,7 @@ "get": { "summary": "Create OAuth2 token", "operationId": "accountCreateOAuth2Token", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "text\/html" ], @@ -2929,6 +2953,7 @@ }, "x-appwrite": { "method": "createOAuth2Token", + "group": "tokens", "weight": 24, "cookies": false, "type": "webAuth", @@ -2956,7 +2981,7 @@ "parameters": [ { "name": "provider", - "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", + "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", "required": true, "type": "string", "x-example": "amazon", @@ -2975,6 +3000,7 @@ "dropbox", "etsy", "facebook", + "figma", "github", "gitlab", "google", @@ -3064,6 +3090,7 @@ }, "x-appwrite": { "method": "createPhoneToken", + "group": "tokens", "weight": 29, "cookies": false, "type": "", @@ -3144,6 +3171,7 @@ }, "x-appwrite": { "method": "createVerification", + "group": "verification", "weight": 41, "cookies": false, "type": "", @@ -3191,7 +3219,7 @@ ] }, "put": { - "summary": "Create email verification (confirmation)", + "summary": "Update email verification (confirmation)", "operationId": "accountUpdateVerification", "consumes": [ "application\/json" @@ -3213,6 +3241,7 @@ }, "x-appwrite": { "method": "updateVerification", + "group": "verification", "weight": 42, "cookies": false, "type": "", @@ -3291,6 +3320,7 @@ }, "x-appwrite": { "method": "createPhoneVerification", + "group": "verification", "weight": 43, "cookies": false, "type": "", @@ -3343,6 +3373,7 @@ }, "x-appwrite": { "method": "updatePhoneVerification", + "group": "verification", "weight": 44, "cookies": false, "type": "", @@ -3401,9 +3432,7 @@ "get": { "summary": "Get browser icon", "operationId": "avatarsGetBrowser", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/png" ], @@ -3421,6 +3450,7 @@ }, "x-appwrite": { "method": "getBrowser", + "group": null, "weight": 61, "cookies": false, "type": "location", @@ -3527,9 +3557,7 @@ "get": { "summary": "Get credit card icon", "operationId": "avatarsGetCreditCard", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/png" ], @@ -3547,6 +3575,7 @@ }, "x-appwrite": { "method": "getCreditCard", + "group": null, "weight": 60, "cookies": false, "type": "location", @@ -3659,9 +3688,7 @@ "get": { "summary": "Get favicon", "operationId": "avatarsGetFavicon", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/*" ], @@ -3679,6 +3706,7 @@ }, "x-appwrite": { "method": "getFavicon", + "group": null, "weight": 64, "cookies": false, "type": "location", @@ -3723,9 +3751,7 @@ "get": { "summary": "Get country flag", "operationId": "avatarsGetFlag", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/png" ], @@ -3743,6 +3769,7 @@ }, "x-appwrite": { "method": "getFlag", + "group": null, "weight": 62, "cookies": false, "type": "location", @@ -4211,9 +4238,7 @@ "get": { "summary": "Get image from URL", "operationId": "avatarsGetImage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/*" ], @@ -4231,6 +4256,7 @@ }, "x-appwrite": { "method": "getImage", + "group": null, "weight": 63, "cookies": false, "type": "location", @@ -4295,9 +4321,7 @@ "get": { "summary": "Get user initials", "operationId": "avatarsGetInitials", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/png" ], @@ -4315,6 +4339,7 @@ }, "x-appwrite": { "method": "getInitials", + "group": null, "weight": 66, "cookies": false, "type": "location", @@ -4387,9 +4412,7 @@ "get": { "summary": "Get QR code", "operationId": "avatarsGetQR", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/png" ], @@ -4407,6 +4430,7 @@ }, "x-appwrite": { "method": "getQR", + "group": null, "weight": 65, "cookies": false, "type": "location", @@ -4477,7 +4501,7 @@ }, "\/console\/assistant": { "post": { - "summary": "Ask query", + "summary": "Create assistant query", "operationId": "assistantChat", "consumes": [ "application\/json" @@ -4499,7 +4523,8 @@ }, "x-appwrite": { "method": "chat", - "weight": 305, + "group": "console", + "weight": 304, "cookies": false, "type": "", "deprecated": false, @@ -4548,9 +4573,7 @@ "get": { "summary": "Check resource ID availability", "operationId": "consoleGetResource", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [], "tags": [ "console" @@ -4563,7 +4586,8 @@ }, "x-appwrite": { "method": "getResource", - "weight": 429, + "group": null, + "weight": 428, "cookies": false, "type": "", "deprecated": false, @@ -4615,9 +4639,7 @@ "get": { "summary": "Get variables", "operationId": "consoleVariables", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -4635,7 +4657,8 @@ }, "x-appwrite": { "method": "variables", - "weight": 304, + "group": "console", + "weight": 303, "cookies": false, "type": "", "deprecated": false, @@ -4664,9 +4687,7 @@ "get": { "summary": "List databases", "operationId": "databasesList", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -4684,6 +4705,7 @@ }, "x-appwrite": { "method": "list", + "group": "databases", "weight": 71, "cookies": false, "type": "", @@ -4755,6 +4777,7 @@ }, "x-appwrite": { "method": "create", + "group": "databases", "weight": 70, "cookies": false, "type": "", @@ -4818,9 +4841,7 @@ "get": { "summary": "Get databases usage stats", "operationId": "databasesGetUsage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -4838,6 +4859,7 @@ }, "x-appwrite": { "method": "getUsage", + "group": null, "weight": 115, "cookies": false, "type": "", @@ -4889,9 +4911,7 @@ "get": { "summary": "Get database", "operationId": "databasesGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -4909,6 +4929,7 @@ }, "x-appwrite": { "method": "get", + "group": "databases", "weight": 72, "cookies": false, "type": "", @@ -4967,6 +4988,7 @@ }, "x-appwrite": { "method": "update", + "group": "databases", "weight": 74, "cookies": false, "type": "", @@ -5044,6 +5066,7 @@ }, "x-appwrite": { "method": "delete", + "group": "databases", "weight": 75, "cookies": false, "type": "", @@ -5084,9 +5107,7 @@ "get": { "summary": "List collections", "operationId": "databasesListCollections", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -5104,6 +5125,7 @@ }, "x-appwrite": { "method": "listCollections", + "group": "collections", "weight": 77, "cookies": false, "type": "", @@ -5183,6 +5205,7 @@ }, "x-appwrite": { "method": "createCollection", + "group": "collections", "weight": 76, "cookies": false, "type": "", @@ -5269,9 +5292,7 @@ "get": { "summary": "Get collection", "operationId": "databasesGetCollection", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -5289,6 +5310,7 @@ }, "x-appwrite": { "method": "getCollection", + "group": "collections", "weight": 78, "cookies": false, "type": "", @@ -5355,6 +5377,7 @@ }, "x-appwrite": { "method": "updateCollection", + "group": "collections", "weight": 80, "cookies": false, "type": "", @@ -5455,6 +5478,7 @@ }, "x-appwrite": { "method": "deleteCollection", + "group": "collections", "weight": 81, "cookies": false, "type": "", @@ -5503,9 +5527,7 @@ "get": { "summary": "List attributes", "operationId": "databasesListAttributes", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -5523,6 +5545,7 @@ }, "x-appwrite": { "method": "listAttributes", + "group": "attributes", "weight": 92, "cookies": false, "type": "", @@ -5603,6 +5626,7 @@ }, "x-appwrite": { "method": "createBooleanAttribute", + "group": "attributes", "weight": 89, "cookies": false, "type": "", @@ -5708,6 +5732,7 @@ }, "x-appwrite": { "method": "updateBooleanAttribute", + "group": "attributes", "weight": 101, "cookies": false, "type": "", @@ -5815,6 +5840,7 @@ }, "x-appwrite": { "method": "createDatetimeAttribute", + "group": "attributes", "weight": 90, "cookies": false, "type": "", @@ -5920,6 +5946,7 @@ }, "x-appwrite": { "method": "updateDatetimeAttribute", + "group": "attributes", "weight": 102, "cookies": false, "type": "", @@ -6027,6 +6054,7 @@ }, "x-appwrite": { "method": "createEmailAttribute", + "group": "attributes", "weight": 83, "cookies": false, "type": "", @@ -6132,6 +6160,7 @@ }, "x-appwrite": { "method": "updateEmailAttribute", + "group": "attributes", "weight": 95, "cookies": false, "type": "", @@ -6239,6 +6268,7 @@ }, "x-appwrite": { "method": "createEnumAttribute", + "group": "attributes", "weight": 84, "cookies": false, "type": "", @@ -6354,6 +6384,7 @@ }, "x-appwrite": { "method": "updateEnumAttribute", + "group": "attributes", "weight": 96, "cookies": false, "type": "", @@ -6471,6 +6502,7 @@ }, "x-appwrite": { "method": "createFloatAttribute", + "group": "attributes", "weight": 88, "cookies": false, "type": "", @@ -6588,6 +6620,7 @@ }, "x-appwrite": { "method": "updateFloatAttribute", + "group": "attributes", "weight": 100, "cookies": false, "type": "", @@ -6707,6 +6740,7 @@ }, "x-appwrite": { "method": "createIntegerAttribute", + "group": "attributes", "weight": 87, "cookies": false, "type": "", @@ -6824,6 +6858,7 @@ }, "x-appwrite": { "method": "updateIntegerAttribute", + "group": "attributes", "weight": 99, "cookies": false, "type": "", @@ -6943,6 +6978,7 @@ }, "x-appwrite": { "method": "createIpAttribute", + "group": "attributes", "weight": 85, "cookies": false, "type": "", @@ -7048,6 +7084,7 @@ }, "x-appwrite": { "method": "updateIpAttribute", + "group": "attributes", "weight": 97, "cookies": false, "type": "", @@ -7155,6 +7192,7 @@ }, "x-appwrite": { "method": "createRelationshipAttribute", + "group": "attributes", "weight": 91, "cookies": false, "type": "", @@ -7287,6 +7325,7 @@ }, "x-appwrite": { "method": "createStringAttribute", + "group": "attributes", "weight": 82, "cookies": false, "type": "", @@ -7405,6 +7444,7 @@ }, "x-appwrite": { "method": "updateStringAttribute", + "group": "attributes", "weight": 94, "cookies": false, "type": "", @@ -7518,6 +7558,7 @@ }, "x-appwrite": { "method": "createUrlAttribute", + "group": "attributes", "weight": 86, "cookies": false, "type": "", @@ -7623,6 +7664,7 @@ }, "x-appwrite": { "method": "updateUrlAttribute", + "group": "attributes", "weight": 98, "cookies": false, "type": "", @@ -7710,9 +7752,7 @@ "get": { "summary": "Get attribute", "operationId": "databasesGetAttribute", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -7761,6 +7801,7 @@ }, "x-appwrite": { "method": "getAttribute", + "group": "attributes", "weight": 93, "cookies": false, "type": "", @@ -7829,6 +7870,7 @@ }, "x-appwrite": { "method": "deleteAttribute", + "group": "attributes", "weight": 104, "cookies": false, "type": "", @@ -7904,6 +7946,7 @@ }, "x-appwrite": { "method": "updateRelationshipAttribute", + "group": "attributes", "weight": 103, "cookies": false, "type": "", @@ -7987,9 +8030,7 @@ "get": { "summary": "List documents", "operationId": "databasesListDocuments", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -8007,6 +8048,7 @@ }, "x-appwrite": { "method": "listDocuments", + "group": "documents", "weight": 110, "cookies": false, "type": "", @@ -8088,6 +8130,7 @@ }, "x-appwrite": { "method": "createDocument", + "group": "documents", "weight": 109, "cookies": false, "type": "", @@ -8173,9 +8216,7 @@ "get": { "summary": "Get document", "operationId": "databasesGetDocument", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -8193,6 +8234,7 @@ }, "x-appwrite": { "method": "getDocument", + "group": "documents", "weight": 111, "cookies": false, "type": "", @@ -8282,6 +8324,7 @@ }, "x-appwrite": { "method": "updateDocument", + "group": "documents", "weight": 113, "cookies": false, "type": "", @@ -8378,6 +8421,7 @@ }, "x-appwrite": { "method": "deleteDocument", + "group": "documents", "weight": 114, "cookies": false, "type": "", @@ -8437,9 +8481,7 @@ "get": { "summary": "List document logs", "operationId": "databasesListDocumentLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -8457,6 +8499,7 @@ }, "x-appwrite": { "method": "listDocumentLogs", + "group": "logs", "weight": 112, "cookies": false, "type": "", @@ -8524,9 +8567,7 @@ "get": { "summary": "List indexes", "operationId": "databasesListIndexes", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -8544,6 +8585,7 @@ }, "x-appwrite": { "method": "listIndexes", + "group": "indexes", "weight": 106, "cookies": false, "type": "", @@ -8622,6 +8664,7 @@ }, "x-appwrite": { "method": "createIndex", + "group": "collections", "weight": 105, "cookies": false, "type": "", @@ -8721,9 +8764,7 @@ "get": { "summary": "Get index", "operationId": "databasesGetIndex", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -8741,6 +8782,7 @@ }, "x-appwrite": { "method": "getIndex", + "group": "indexes", "weight": 107, "cookies": false, "type": "", @@ -8809,6 +8851,7 @@ }, "x-appwrite": { "method": "deleteIndex", + "group": "indexes", "weight": 108, "cookies": false, "type": "", @@ -8864,9 +8907,7 @@ "get": { "summary": "List collection logs", "operationId": "databasesListCollectionLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -8884,6 +8925,7 @@ }, "x-appwrite": { "method": "listCollectionLogs", + "group": "collections", "weight": 79, "cookies": false, "type": "", @@ -8943,9 +8985,7 @@ "get": { "summary": "Get collection usage stats", "operationId": "databasesGetCollectionUsage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -8963,6 +9003,7 @@ }, "x-appwrite": { "method": "getCollectionUsage", + "group": null, "weight": 117, "cookies": false, "type": "", @@ -9030,9 +9071,7 @@ "get": { "summary": "List database logs", "operationId": "databasesListLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -9050,6 +9089,7 @@ }, "x-appwrite": { "method": "listLogs", + "group": "logs", "weight": 73, "cookies": false, "type": "", @@ -9101,9 +9141,7 @@ "get": { "summary": "Get database usage stats", "operationId": "databasesGetDatabaseUsage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -9121,6 +9159,7 @@ }, "x-appwrite": { "method": "getDatabaseUsage", + "group": null, "weight": 116, "cookies": false, "type": "", @@ -9180,9 +9219,7 @@ "get": { "summary": "List functions", "operationId": "functionsList", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -9200,7 +9237,8 @@ }, "x-appwrite": { "method": "list", - "weight": 373, + "group": "functions", + "weight": 372, "cookies": false, "type": "", "deprecated": false, @@ -9271,7 +9309,8 @@ }, "x-appwrite": { "method": "create", - "weight": 370, + "group": "functions", + "weight": 369, "cookies": false, "type": "", "deprecated": false, @@ -9501,9 +9540,7 @@ "get": { "summary": "List runtimes", "operationId": "functionsListRuntimes", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -9521,7 +9558,8 @@ }, "x-appwrite": { "method": "listRuntimes", - "weight": 375, + "group": "runtimes", + "weight": 374, "cookies": false, "type": "", "deprecated": false, @@ -9551,9 +9589,7 @@ "get": { "summary": "List specifications", "operationId": "functionsListSpecifications", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -9571,7 +9607,8 @@ }, "x-appwrite": { "method": "listSpecifications", - "weight": 376, + "group": "runtimes", + "weight": 375, "cookies": false, "type": "", "deprecated": false, @@ -9602,9 +9639,7 @@ "get": { "summary": "List templates", "operationId": "functionsListTemplates", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -9622,7 +9657,8 @@ }, "x-appwrite": { "method": "listTemplates", - "weight": 399, + "group": "templates", + "weight": 398, "cookies": false, "type": "", "deprecated": false, @@ -9697,9 +9733,7 @@ "get": { "summary": "Get function template", "operationId": "functionsGetTemplate", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -9717,7 +9751,8 @@ }, "x-appwrite": { "method": "getTemplate", - "weight": 398, + "group": "templates", + "weight": 397, "cookies": false, "type": "", "deprecated": false, @@ -9756,9 +9791,7 @@ "get": { "summary": "Get functions usage", "operationId": "functionsListUsage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -9776,7 +9809,8 @@ }, "x-appwrite": { "method": "listUsage", - "weight": 392, + "group": null, + "weight": 391, "cookies": false, "type": "", "deprecated": false, @@ -9827,9 +9861,7 @@ "get": { "summary": "Get function", "operationId": "functionsGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -9847,7 +9879,8 @@ }, "x-appwrite": { "method": "get", - "weight": 371, + "group": "functions", + "weight": 370, "cookies": false, "type": "", "deprecated": false, @@ -9905,7 +9938,8 @@ }, "x-appwrite": { "method": "update", - "weight": 372, + "group": "functions", + "weight": 371, "cookies": false, "type": "", "deprecated": false, @@ -10149,7 +10183,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 374, + "group": "functions", + "weight": 373, "cookies": false, "type": "", "deprecated": false, @@ -10209,7 +10244,8 @@ }, "x-appwrite": { "method": "updateFunctionDeployment", - "weight": 379, + "group": "functions", + "weight": 378, "cookies": false, "type": "", "deprecated": false, @@ -10267,9 +10303,7 @@ "get": { "summary": "List deployments", "operationId": "functionsListDeployments", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -10287,7 +10321,8 @@ }, "x-appwrite": { "method": "listDeployments", - "weight": 380, + "group": "deployments", + "weight": 379, "cookies": false, "type": "", "deprecated": false, @@ -10366,7 +10401,8 @@ }, "x-appwrite": { "method": "createDeployment", - "weight": 377, + "group": "deployments", + "weight": 376, "cookies": false, "type": "upload", "deprecated": false, @@ -10457,7 +10493,8 @@ }, "x-appwrite": { "method": "createDuplicateDeployment", - "weight": 385, + "group": "deployments", + "weight": 384, "cookies": false, "type": "", "deprecated": false, @@ -10541,7 +10578,8 @@ }, "x-appwrite": { "method": "createTemplateDeployment", - "weight": 382, + "group": "deployments", + "weight": 381, "cookies": false, "type": "", "deprecated": false, @@ -10646,7 +10684,8 @@ }, "x-appwrite": { "method": "createVcsDeployment", - "weight": 383, + "group": "deployments", + "weight": 382, "cookies": false, "type": "", "deprecated": false, @@ -10723,9 +10762,7 @@ "get": { "summary": "Get deployment", "operationId": "functionsGetDeployment", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -10743,7 +10780,8 @@ }, "x-appwrite": { "method": "getDeployment", - "weight": 378, + "group": "deployments", + "weight": 377, "cookies": false, "type": "", "deprecated": false, @@ -10804,7 +10842,8 @@ }, "x-appwrite": { "method": "deleteDeployment", - "weight": 381, + "group": "deployments", + "weight": 380, "cookies": false, "type": "", "deprecated": false, @@ -10850,11 +10889,9 @@ }, "\/functions\/{functionId}\/deployments\/{deploymentId}\/download": { "get": { - "summary": "Download deployment", + "summary": "Get deployment download", "operationId": "functionsGetDeploymentDownload", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "*\/*" ], @@ -10872,7 +10909,8 @@ }, "x-appwrite": { "method": "getDeploymentDownload", - "weight": 384, + "group": "deployments", + "weight": 383, "cookies": false, "type": "location", "deprecated": false, @@ -10957,7 +10995,8 @@ }, "x-appwrite": { "method": "updateDeploymentStatus", - "weight": 386, + "group": "deployments", + "weight": 385, "cookies": false, "type": "", "deprecated": false, @@ -11005,9 +11044,7 @@ "get": { "summary": "List executions", "operationId": "functionsListExecutions", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11025,7 +11062,8 @@ }, "x-appwrite": { "method": "listExecutions", - "weight": 389, + "group": "executions", + "weight": 388, "cookies": false, "type": "", "deprecated": false, @@ -11098,7 +11136,8 @@ }, "x-appwrite": { "method": "createExecution", - "weight": 387, + "group": "executions", + "weight": 386, "cookies": false, "type": "", "deprecated": false, @@ -11196,9 +11235,7 @@ "get": { "summary": "Get execution", "operationId": "functionsGetExecution", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11216,7 +11253,8 @@ }, "x-appwrite": { "method": "getExecution", - "weight": 388, + "group": "executions", + "weight": 387, "cookies": false, "type": "", "deprecated": false, @@ -11280,7 +11318,8 @@ }, "x-appwrite": { "method": "deleteExecution", - "weight": 390, + "group": "executions", + "weight": 389, "cookies": false, "type": "", "deprecated": false, @@ -11328,9 +11367,7 @@ "get": { "summary": "Get function usage", "operationId": "functionsGetUsage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11348,7 +11385,8 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 391, + "group": null, + "weight": 390, "cookies": false, "type": "", "deprecated": false, @@ -11407,9 +11445,7 @@ "get": { "summary": "List variables", "operationId": "functionsListVariables", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11427,7 +11463,8 @@ }, "x-appwrite": { "method": "listVariables", - "weight": 395, + "group": "variables", + "weight": 394, "cookies": false, "type": "", "deprecated": false, @@ -11485,7 +11522,8 @@ }, "x-appwrite": { "method": "createVariable", - "weight": 393, + "group": "variables", + "weight": 392, "cookies": false, "type": "", "deprecated": false, @@ -11556,9 +11594,7 @@ "get": { "summary": "Get variable", "operationId": "functionsGetVariable", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11576,7 +11612,8 @@ }, "x-appwrite": { "method": "getVariable", - "weight": 394, + "group": "variables", + "weight": 393, "cookies": false, "type": "", "deprecated": false, @@ -11642,7 +11679,8 @@ }, "x-appwrite": { "method": "updateVariable", - "weight": 396, + "group": "variables", + "weight": 395, "cookies": false, "type": "", "deprecated": false, @@ -11733,7 +11771,8 @@ }, "x-appwrite": { "method": "deleteVariable", - "weight": 397, + "group": "variables", + "weight": 396, "cookies": false, "type": "", "deprecated": false, @@ -11801,7 +11840,8 @@ }, "x-appwrite": { "method": "query", - "weight": 303, + "group": "graphql", + "weight": 302, "cookies": false, "type": "graphql", "deprecated": false, @@ -11874,7 +11914,8 @@ }, "x-appwrite": { "method": "mutation", - "weight": 302, + "group": "graphql", + "weight": 301, "cookies": false, "type": "graphql", "deprecated": false, @@ -11927,9 +11968,7 @@ "get": { "summary": "Get HTTP", "operationId": "healthGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11947,6 +11986,7 @@ }, "x-appwrite": { "method": "get", + "group": "health", "weight": 126, "cookies": false, "type": "", @@ -11977,9 +12017,7 @@ "get": { "summary": "Get antivirus", "operationId": "healthGetAntivirus", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11997,7 +12035,8 @@ }, "x-appwrite": { "method": "getAntivirus", - "weight": 148, + "group": "health", + "weight": 147, "cookies": false, "type": "", "deprecated": false, @@ -12027,9 +12066,7 @@ "get": { "summary": "Get cache", "operationId": "healthGetCache", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12047,6 +12084,7 @@ }, "x-appwrite": { "method": "getCache", + "group": "health", "weight": 129, "cookies": false, "type": "", @@ -12077,9 +12115,7 @@ "get": { "summary": "Get the SSL certificate for a domain", "operationId": "healthGetCertificate", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12097,6 +12133,7 @@ }, "x-appwrite": { "method": "getCertificate", + "group": "health", "weight": 134, "cookies": false, "type": "", @@ -12136,9 +12173,7 @@ "get": { "summary": "Get DB", "operationId": "healthGetDB", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12156,6 +12191,7 @@ }, "x-appwrite": { "method": "getDB", + "group": "health", "weight": 128, "cookies": false, "type": "", @@ -12186,9 +12222,7 @@ "get": { "summary": "Get pubsub", "operationId": "healthGetPubSub", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12206,6 +12240,7 @@ }, "x-appwrite": { "method": "getPubSub", + "group": "health", "weight": 130, "cookies": false, "type": "", @@ -12236,9 +12271,7 @@ "get": { "summary": "Get builds queue", "operationId": "healthGetQueueBuilds", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12256,6 +12289,7 @@ }, "x-appwrite": { "method": "getQueueBuilds", + "group": "queue", "weight": 136, "cookies": false, "type": "", @@ -12297,9 +12331,7 @@ "get": { "summary": "Get certificates queue", "operationId": "healthGetQueueCertificates", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12317,6 +12349,7 @@ }, "x-appwrite": { "method": "getQueueCertificates", + "group": "queue", "weight": 135, "cookies": false, "type": "", @@ -12358,9 +12391,7 @@ "get": { "summary": "Get databases queue", "operationId": "healthGetQueueDatabases", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12378,6 +12409,7 @@ }, "x-appwrite": { "method": "getQueueDatabases", + "group": "queue", "weight": 137, "cookies": false, "type": "", @@ -12428,9 +12460,7 @@ "get": { "summary": "Get deletes queue", "operationId": "healthGetQueueDeletes", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12448,6 +12478,7 @@ }, "x-appwrite": { "method": "getQueueDeletes", + "group": "queue", "weight": 138, "cookies": false, "type": "", @@ -12489,9 +12520,7 @@ "get": { "summary": "Get number of failed queue jobs", "operationId": "healthGetFailedJobs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12509,7 +12538,8 @@ }, "x-appwrite": { "method": "getFailedJobs", - "weight": 149, + "group": "queue", + "weight": 148, "cookies": false, "type": "", "deprecated": false, @@ -12548,7 +12578,6 @@ "v1-functions", "v1-stats-resources", "v1-stats-usage", - "v1-stats-usage-dump", "v1-webhooks", "v1-certificates", "v1-builds", @@ -12575,9 +12604,7 @@ "get": { "summary": "Get functions queue", "operationId": "healthGetQueueFunctions", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12595,6 +12622,7 @@ }, "x-appwrite": { "method": "getQueueFunctions", + "group": "queue", "weight": 142, "cookies": false, "type": "", @@ -12636,9 +12664,7 @@ "get": { "summary": "Get logs queue", "operationId": "healthGetQueueLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12656,6 +12682,7 @@ }, "x-appwrite": { "method": "getQueueLogs", + "group": "queue", "weight": 133, "cookies": false, "type": "", @@ -12697,9 +12724,7 @@ "get": { "summary": "Get mails queue", "operationId": "healthGetQueueMails", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12717,6 +12742,7 @@ }, "x-appwrite": { "method": "getQueueMails", + "group": "queue", "weight": 139, "cookies": false, "type": "", @@ -12758,9 +12784,7 @@ "get": { "summary": "Get messaging queue", "operationId": "healthGetQueueMessaging", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12778,6 +12802,7 @@ }, "x-appwrite": { "method": "getQueueMessaging", + "group": "queue", "weight": 140, "cookies": false, "type": "", @@ -12819,9 +12844,7 @@ "get": { "summary": "Get migrations queue", "operationId": "healthGetQueueMigrations", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12839,6 +12862,7 @@ }, "x-appwrite": { "method": "getQueueMigrations", + "group": "queue", "weight": 141, "cookies": false, "type": "", @@ -12880,9 +12904,7 @@ "get": { "summary": "Get stats resources queue", "operationId": "healthGetQueueStatsResources", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12900,6 +12922,7 @@ }, "x-appwrite": { "method": "getQueueStatsResources", + "group": "queue", "weight": 143, "cookies": false, "type": "", @@ -12941,9 +12964,7 @@ "get": { "summary": "Get stats usage queue", "operationId": "healthGetQueueUsage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12961,6 +12982,7 @@ }, "x-appwrite": { "method": "getQueueUsage", + "group": "queue", "weight": 144, "cookies": false, "type": "", @@ -12998,74 +13020,11 @@ ] } }, - "\/health\/queue\/stats-usage-dump": { - "get": { - "summary": "Get usage dump queue", - "operationId": "healthGetQueueStatsUsageDump", - "consumes": [ - "application\/json" - ], - "produces": [ - "application\/json" - ], - "tags": [ - "health" - ], - "description": "Get the number of projects containing metrics that are waiting to be processed in the Appwrite internal queue server.", - "responses": { - "200": { - "description": "Health Queue", - "schema": { - "$ref": "#\/definitions\/healthQueue" - } - } - }, - "x-appwrite": { - "method": "getQueueStatsUsageDump", - "weight": 145, - "cookies": false, - "type": "", - "deprecated": false, - "demo": "health\/get-queue-stats-usage-dump.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-usage-dump.md", - "rate-limit": 0, - "rate-time": 3600, - "rate-key": "url:{url},ip:{ip}", - "scope": "health.read", - "platforms": [ - "server" - ], - "packaging": false, - "auth": { - "Project": [] - } - }, - "security": [ - { - "Project": [], - "Key": [] - } - ], - "parameters": [ - { - "name": "threshold", - "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", - "required": false, - "type": "integer", - "format": "int32", - "default": 5000, - "in": "query" - } - ] - } - }, "\/health\/queue\/webhooks": { "get": { "summary": "Get webhooks queue", "operationId": "healthGetQueueWebhooks", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -13083,6 +13042,7 @@ }, "x-appwrite": { "method": "getQueueWebhooks", + "group": "queue", "weight": 132, "cookies": false, "type": "", @@ -13124,9 +13084,7 @@ "get": { "summary": "Get storage", "operationId": "healthGetStorage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -13144,7 +13102,8 @@ }, "x-appwrite": { "method": "getStorage", - "weight": 147, + "group": "storage", + "weight": 146, "cookies": false, "type": "", "deprecated": false, @@ -13174,9 +13133,7 @@ "get": { "summary": "Get local storage", "operationId": "healthGetStorageLocal", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -13194,7 +13151,8 @@ }, "x-appwrite": { "method": "getStorageLocal", - "weight": 146, + "group": "storage", + "weight": 145, "cookies": false, "type": "", "deprecated": false, @@ -13224,9 +13182,7 @@ "get": { "summary": "Get time", "operationId": "healthGetTime", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -13244,6 +13200,7 @@ }, "x-appwrite": { "method": "getTime", + "group": "health", "weight": 131, "cookies": false, "type": "", @@ -13274,9 +13231,7 @@ "get": { "summary": "Get user locale", "operationId": "localeGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -13294,6 +13249,7 @@ }, "x-appwrite": { "method": "get", + "group": null, "weight": 118, "cookies": false, "type": "", @@ -13327,9 +13283,7 @@ "get": { "summary": "List locale codes", "operationId": "localeListCodes", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -13347,6 +13301,7 @@ }, "x-appwrite": { "method": "listCodes", + "group": null, "weight": 119, "cookies": false, "type": "", @@ -13380,9 +13335,7 @@ "get": { "summary": "List continents", "operationId": "localeListContinents", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -13400,6 +13353,7 @@ }, "x-appwrite": { "method": "listContinents", + "group": null, "weight": 123, "cookies": false, "type": "", @@ -13433,9 +13387,7 @@ "get": { "summary": "List countries", "operationId": "localeListCountries", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -13453,6 +13405,7 @@ }, "x-appwrite": { "method": "listCountries", + "group": null, "weight": 120, "cookies": false, "type": "", @@ -13486,9 +13439,7 @@ "get": { "summary": "List EU countries", "operationId": "localeListCountriesEU", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -13506,6 +13457,7 @@ }, "x-appwrite": { "method": "listCountriesEU", + "group": null, "weight": 121, "cookies": false, "type": "", @@ -13539,9 +13491,7 @@ "get": { "summary": "List countries phone codes", "operationId": "localeListCountriesPhones", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -13559,6 +13509,7 @@ }, "x-appwrite": { "method": "listCountriesPhones", + "group": null, "weight": 122, "cookies": false, "type": "", @@ -13592,9 +13543,7 @@ "get": { "summary": "List currencies", "operationId": "localeListCurrencies", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -13612,6 +13561,7 @@ }, "x-appwrite": { "method": "listCurrencies", + "group": null, "weight": 124, "cookies": false, "type": "", @@ -13645,9 +13595,7 @@ "get": { "summary": "List languages", "operationId": "localeListLanguages", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -13665,6 +13613,7 @@ }, "x-appwrite": { "method": "listLanguages", + "group": null, "weight": 125, "cookies": false, "type": "", @@ -13698,9 +13647,7 @@ "get": { "summary": "List messages", "operationId": "messagingListMessages", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -13718,7 +13665,8 @@ }, "x-appwrite": { "method": "listMessages", - "weight": 357, + "group": "messages", + "weight": 356, "cookies": false, "type": "", "deprecated": false, @@ -13792,7 +13740,8 @@ }, "x-appwrite": { "method": "createEmail", - "weight": 354, + "group": "messages", + "weight": 353, "cookies": false, "type": "", "deprecated": false, @@ -13949,7 +13898,8 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 361, + "group": "messages", + "weight": 360, "cookies": false, "type": "", "deprecated": false, @@ -14103,7 +14053,8 @@ }, "x-appwrite": { "method": "createPush", - "weight": 356, + "group": "messages", + "weight": 355, "cookies": false, "type": "", "deprecated": false, @@ -14297,7 +14248,8 @@ }, "x-appwrite": { "method": "updatePush", - "weight": 363, + "group": "messages", + "weight": 362, "cookies": false, "type": "", "deprecated": false, @@ -14490,7 +14442,8 @@ }, "x-appwrite": { "method": "createSms", - "weight": 355, + "group": "messages", + "weight": 354, "cookies": false, "type": "", "deprecated": false, @@ -14607,7 +14560,8 @@ }, "x-appwrite": { "method": "updateSms", - "weight": 362, + "group": "messages", + "weight": 361, "cookies": false, "type": "", "deprecated": false, @@ -14702,9 +14656,7 @@ "get": { "summary": "Get message", "operationId": "messagingGetMessage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -14722,7 +14674,8 @@ }, "x-appwrite": { "method": "getMessage", - "weight": 360, + "group": "messages", + "weight": 359, "cookies": false, "type": "", "deprecated": false, @@ -14776,7 +14729,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 364, + "group": "messages", + "weight": 363, "cookies": false, "type": "", "deprecated": false, @@ -14817,9 +14771,7 @@ "get": { "summary": "List message logs", "operationId": "messagingListMessageLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -14837,7 +14789,8 @@ }, "x-appwrite": { "method": "listMessageLogs", - "weight": 358, + "group": "logs", + "weight": 357, "cookies": false, "type": "", "deprecated": false, @@ -14890,9 +14843,7 @@ "get": { "summary": "List message targets", "operationId": "messagingListTargets", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -14910,7 +14861,8 @@ }, "x-appwrite": { "method": "listTargets", - "weight": 359, + "group": "messages", + "weight": 358, "cookies": false, "type": "", "deprecated": false, @@ -14963,9 +14915,7 @@ "get": { "summary": "List providers", "operationId": "messagingListProviders", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -14983,7 +14933,8 @@ }, "x-appwrite": { "method": "listProviders", - "weight": 329, + "group": "providers", + "weight": 328, "cookies": false, "type": "", "deprecated": false, @@ -15057,7 +15008,8 @@ }, "x-appwrite": { "method": "createApnsProvider", - "weight": 328, + "group": "providers", + "weight": 327, "cookies": false, "type": "", "deprecated": false, @@ -15171,7 +15123,8 @@ }, "x-appwrite": { "method": "updateApnsProvider", - "weight": 341, + "group": "providers", + "weight": 340, "cookies": false, "type": "", "deprecated": false, @@ -15283,7 +15236,8 @@ }, "x-appwrite": { "method": "createFcmProvider", - "weight": 327, + "group": "providers", + "weight": 326, "cookies": false, "type": "", "deprecated": false, @@ -15373,7 +15327,8 @@ }, "x-appwrite": { "method": "updateFcmProvider", - "weight": 340, + "group": "providers", + "weight": 339, "cookies": false, "type": "", "deprecated": false, @@ -15461,7 +15416,8 @@ }, "x-appwrite": { "method": "createMailgunProvider", - "weight": 319, + "group": "providers", + "weight": 318, "cookies": false, "type": "", "deprecated": false, @@ -15587,7 +15543,8 @@ }, "x-appwrite": { "method": "updateMailgunProvider", - "weight": 332, + "group": "providers", + "weight": 331, "cookies": false, "type": "", "deprecated": false, @@ -15711,7 +15668,8 @@ }, "x-appwrite": { "method": "createMsg91Provider", - "weight": 322, + "group": "providers", + "weight": 321, "cookies": false, "type": "", "deprecated": false, @@ -15813,7 +15771,8 @@ }, "x-appwrite": { "method": "updateMsg91Provider", - "weight": 335, + "group": "providers", + "weight": 334, "cookies": false, "type": "", "deprecated": false, @@ -15913,7 +15872,8 @@ }, "x-appwrite": { "method": "createSendgridProvider", - "weight": 320, + "group": "providers", + "weight": 319, "cookies": false, "type": "", "deprecated": false, @@ -16027,7 +15987,8 @@ }, "x-appwrite": { "method": "updateSendgridProvider", - "weight": 333, + "group": "providers", + "weight": 332, "cookies": false, "type": "", "deprecated": false, @@ -16139,7 +16100,8 @@ }, "x-appwrite": { "method": "createSmtpProvider", - "weight": 321, + "group": "providers", + "weight": 320, "cookies": false, "type": "", "deprecated": false, @@ -16297,7 +16259,8 @@ }, "x-appwrite": { "method": "updateSmtpProvider", - "weight": 334, + "group": "providers", + "weight": 333, "cookies": false, "type": "", "deprecated": false, @@ -16452,7 +16415,8 @@ }, "x-appwrite": { "method": "createTelesignProvider", - "weight": 323, + "group": "providers", + "weight": 322, "cookies": false, "type": "", "deprecated": false, @@ -16554,7 +16518,8 @@ }, "x-appwrite": { "method": "updateTelesignProvider", - "weight": 336, + "group": "providers", + "weight": 335, "cookies": false, "type": "", "deprecated": false, @@ -16654,7 +16619,8 @@ }, "x-appwrite": { "method": "createTextmagicProvider", - "weight": 324, + "group": "providers", + "weight": 323, "cookies": false, "type": "", "deprecated": false, @@ -16756,7 +16722,8 @@ }, "x-appwrite": { "method": "updateTextmagicProvider", - "weight": 337, + "group": "providers", + "weight": 336, "cookies": false, "type": "", "deprecated": false, @@ -16856,7 +16823,8 @@ }, "x-appwrite": { "method": "createTwilioProvider", - "weight": 325, + "group": "providers", + "weight": 324, "cookies": false, "type": "", "deprecated": false, @@ -16958,7 +16926,8 @@ }, "x-appwrite": { "method": "updateTwilioProvider", - "weight": 338, + "group": "providers", + "weight": 337, "cookies": false, "type": "", "deprecated": false, @@ -17058,7 +17027,8 @@ }, "x-appwrite": { "method": "createVonageProvider", - "weight": 326, + "group": "providers", + "weight": 325, "cookies": false, "type": "", "deprecated": false, @@ -17160,7 +17130,8 @@ }, "x-appwrite": { "method": "updateVonageProvider", - "weight": 339, + "group": "providers", + "weight": 338, "cookies": false, "type": "", "deprecated": false, @@ -17240,9 +17211,7 @@ "get": { "summary": "Get provider", "operationId": "messagingGetProvider", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -17260,7 +17229,8 @@ }, "x-appwrite": { "method": "getProvider", - "weight": 331, + "group": "providers", + "weight": 330, "cookies": false, "type": "", "deprecated": false, @@ -17314,7 +17284,8 @@ }, "x-appwrite": { "method": "deleteProvider", - "weight": 342, + "group": "providers", + "weight": 341, "cookies": false, "type": "", "deprecated": false, @@ -17355,9 +17326,7 @@ "get": { "summary": "List provider logs", "operationId": "messagingListProviderLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -17375,7 +17344,8 @@ }, "x-appwrite": { "method": "listProviderLogs", - "weight": 330, + "group": "providers", + "weight": 329, "cookies": false, "type": "", "deprecated": false, @@ -17428,9 +17398,7 @@ "get": { "summary": "List subscriber logs", "operationId": "messagingListSubscriberLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -17448,7 +17416,8 @@ }, "x-appwrite": { "method": "listSubscriberLogs", - "weight": 351, + "group": "subscribers", + "weight": 350, "cookies": false, "type": "", "deprecated": false, @@ -17501,9 +17470,7 @@ "get": { "summary": "List topics", "operationId": "messagingListTopics", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -17521,7 +17488,8 @@ }, "x-appwrite": { "method": "listTopics", - "weight": 344, + "group": "topics", + "weight": 343, "cookies": false, "type": "", "deprecated": false, @@ -17593,7 +17561,8 @@ }, "x-appwrite": { "method": "createTopic", - "weight": 343, + "group": "topics", + "weight": 342, "cookies": false, "type": "", "deprecated": false, @@ -17662,9 +17631,7 @@ "get": { "summary": "Get topic", "operationId": "messagingGetTopic", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -17682,7 +17649,8 @@ }, "x-appwrite": { "method": "getTopic", - "weight": 346, + "group": "topics", + "weight": 345, "cookies": false, "type": "", "deprecated": false, @@ -17741,7 +17709,8 @@ }, "x-appwrite": { "method": "updateTopic", - "weight": 347, + "group": "topics", + "weight": 346, "cookies": false, "type": "", "deprecated": false, @@ -17819,7 +17788,8 @@ }, "x-appwrite": { "method": "deleteTopic", - "weight": 348, + "group": "topics", + "weight": 347, "cookies": false, "type": "", "deprecated": false, @@ -17860,9 +17830,7 @@ "get": { "summary": "List topic logs", "operationId": "messagingListTopicLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -17880,7 +17848,8 @@ }, "x-appwrite": { "method": "listTopicLogs", - "weight": 345, + "group": "topics", + "weight": 344, "cookies": false, "type": "", "deprecated": false, @@ -17933,9 +17902,7 @@ "get": { "summary": "List subscribers", "operationId": "messagingListSubscribers", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -17953,7 +17920,8 @@ }, "x-appwrite": { "method": "listSubscribers", - "weight": 350, + "group": "subscribers", + "weight": 349, "cookies": false, "type": "", "deprecated": false, @@ -18033,7 +18001,8 @@ }, "x-appwrite": { "method": "createSubscriber", - "weight": 349, + "group": "subscribers", + "weight": 348, "cookies": false, "type": "", "deprecated": false, @@ -18102,9 +18071,7 @@ "get": { "summary": "Get subscriber", "operationId": "messagingGetSubscriber", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -18122,7 +18089,8 @@ }, "x-appwrite": { "method": "getSubscriber", - "weight": 352, + "group": "subscribers", + "weight": 351, "cookies": false, "type": "", "deprecated": false, @@ -18184,7 +18152,8 @@ }, "x-appwrite": { "method": "deleteSubscriber", - "weight": 353, + "group": "subscribers", + "weight": 352, "cookies": false, "type": "", "deprecated": false, @@ -18236,9 +18205,7 @@ "get": { "summary": "List migrations", "operationId": "migrationsList", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -18256,7 +18223,8 @@ }, "x-appwrite": { "method": "list", - "weight": 311, + "group": null, + "weight": 310, "cookies": false, "type": "", "deprecated": false, @@ -18306,7 +18274,7 @@ }, "\/migrations\/appwrite": { "post": { - "summary": "Migrate Appwrite data", + "summary": "Create Appwrite migration", "operationId": "migrationsCreateAppwriteMigration", "consumes": [ "application\/json" @@ -18328,7 +18296,8 @@ }, "x-appwrite": { "method": "createAppwriteMigration", - "weight": 306, + "group": null, + "weight": 305, "cookies": false, "type": "", "deprecated": false, @@ -18399,11 +18368,9 @@ }, "\/migrations\/appwrite\/report": { "get": { - "summary": "Generate a report on Appwrite data", + "summary": "Get Appwrite migration report", "operationId": "migrationsGetAppwriteReport", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -18421,7 +18388,8 @@ }, "x-appwrite": { "method": "getAppwriteReport", - "weight": 313, + "group": null, + "weight": 312, "cookies": false, "type": "", "deprecated": false, @@ -18508,7 +18476,8 @@ }, "x-appwrite": { "method": "createCsvMigration", - "weight": 310, + "group": null, + "weight": 309, "cookies": false, "type": "", "deprecated": false, @@ -18569,7 +18538,7 @@ }, "\/migrations\/firebase": { "post": { - "summary": "Migrate Firebase data", + "summary": "Create Firebase migration", "operationId": "migrationsCreateFirebaseMigration", "consumes": [ "application\/json" @@ -18591,7 +18560,8 @@ }, "x-appwrite": { "method": "createFirebaseMigration", - "weight": 307, + "group": null, + "weight": 306, "cookies": false, "type": "", "deprecated": false, @@ -18648,11 +18618,9 @@ }, "\/migrations\/firebase\/report": { "get": { - "summary": "Generate a report on Firebase data", + "summary": "Get Firebase migration report", "operationId": "migrationsGetFirebaseReport", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -18670,7 +18638,8 @@ }, "x-appwrite": { "method": "getFirebaseReport", - "weight": 314, + "group": null, + "weight": 313, "cookies": false, "type": "", "deprecated": false, @@ -18718,7 +18687,7 @@ }, "\/migrations\/nhost": { "post": { - "summary": "Migrate NHost data", + "summary": "Create NHost migration", "operationId": "migrationsCreateNHostMigration", "consumes": [ "application\/json" @@ -18740,7 +18709,8 @@ }, "x-appwrite": { "method": "createNHostMigration", - "weight": 309, + "group": null, + "weight": 308, "cookies": false, "type": "", "deprecated": false, @@ -18838,11 +18808,9 @@ }, "\/migrations\/nhost\/report": { "get": { - "summary": "Generate a report on NHost Data", + "summary": "Get NHost migration report", "operationId": "migrationsGetNHostReport", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -18860,7 +18828,8 @@ }, "x-appwrite": { "method": "getNHostReport", - "weight": 316, + "group": null, + "weight": 315, "cookies": false, "type": "", "deprecated": false, @@ -18957,7 +18926,7 @@ }, "\/migrations\/supabase": { "post": { - "summary": "Migrate Supabase data", + "summary": "Create Supabase migration", "operationId": "migrationsCreateSupabaseMigration", "consumes": [ "application\/json" @@ -18979,7 +18948,8 @@ }, "x-appwrite": { "method": "createSupabaseMigration", - "weight": 308, + "group": null, + "weight": 307, "cookies": false, "type": "", "deprecated": false, @@ -19070,11 +19040,9 @@ }, "\/migrations\/supabase\/report": { "get": { - "summary": "Generate a report on Supabase Data", + "summary": "Get Supabase migration report", "operationId": "migrationsGetSupabaseReport", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -19092,7 +19060,8 @@ }, "x-appwrite": { "method": "getSupabaseReport", - "weight": 315, + "group": null, + "weight": 314, "cookies": false, "type": "", "deprecated": false, @@ -19184,9 +19153,7 @@ "get": { "summary": "Get migration", "operationId": "migrationsGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -19204,7 +19171,8 @@ }, "x-appwrite": { "method": "get", - "weight": 312, + "group": null, + "weight": 311, "cookies": false, "type": "", "deprecated": false, @@ -19239,7 +19207,7 @@ ] }, "patch": { - "summary": "Retry migration", + "summary": "Update retry migration", "operationId": "migrationsRetry", "consumes": [ "application\/json" @@ -19261,7 +19229,8 @@ }, "x-appwrite": { "method": "retry", - "weight": 317, + "group": null, + "weight": 316, "cookies": false, "type": "", "deprecated": false, @@ -19313,7 +19282,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 318, + "group": null, + "weight": 317, "cookies": false, "type": "", "deprecated": false, @@ -19352,9 +19322,7 @@ "get": { "summary": "Get project usage stats", "operationId": "projectGetUsage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -19372,7 +19340,8 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 197, + "group": null, + "weight": 196, "cookies": false, "type": "", "deprecated": false, @@ -19435,9 +19404,7 @@ "get": { "summary": "List variables", "operationId": "projectListVariables", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -19455,7 +19422,8 @@ }, "x-appwrite": { "method": "listVariables", - "weight": 199, + "group": null, + "weight": 198, "cookies": false, "type": "", "deprecated": false, @@ -19502,7 +19470,8 @@ }, "x-appwrite": { "method": "createVariable", - "weight": 198, + "group": null, + "weight": 197, "cookies": false, "type": "", "deprecated": false, @@ -19564,9 +19533,7 @@ "get": { "summary": "Get variable", "operationId": "projectGetVariable", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -19584,7 +19551,8 @@ }, "x-appwrite": { "method": "getVariable", - "weight": 200, + "group": null, + "weight": 199, "cookies": false, "type": "", "deprecated": false, @@ -19641,7 +19609,8 @@ }, "x-appwrite": { "method": "updateVariable", - "weight": 201, + "group": null, + "weight": 200, "cookies": false, "type": "", "deprecated": false, @@ -19723,7 +19692,8 @@ }, "x-appwrite": { "method": "deleteVariable", - "weight": 202, + "group": null, + "weight": 201, "cookies": false, "type": "", "deprecated": false, @@ -19762,9 +19732,7 @@ "get": { "summary": "List projects", "operationId": "projectsList", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -19782,7 +19750,8 @@ }, "x-appwrite": { "method": "list", - "weight": 152, + "group": "projects", + "weight": 151, "cookies": false, "type": "", "deprecated": false, @@ -19852,7 +19821,8 @@ }, "x-appwrite": { "method": "create", - "weight": 151, + "group": "projects", + "weight": 150, "cookies": false, "type": "", "deprecated": false, @@ -19980,9 +19950,7 @@ "get": { "summary": "Get project", "operationId": "projectsGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -20000,7 +19968,8 @@ }, "x-appwrite": { "method": "get", - "weight": 153, + "group": "projects", + "weight": 152, "cookies": false, "type": "", "deprecated": false, @@ -20057,7 +20026,8 @@ }, "x-appwrite": { "method": "update", - "weight": 154, + "group": "projects", + "weight": 153, "cookies": false, "type": "", "deprecated": false, @@ -20181,7 +20151,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 171, + "group": "projects", + "weight": 170, "cookies": false, "type": "", "deprecated": false, @@ -20240,7 +20211,8 @@ }, "x-appwrite": { "method": "updateApiStatus", - "weight": 158, + "group": "projects", + "weight": 157, "cookies": false, "type": "", "deprecated": false, @@ -20331,7 +20303,8 @@ }, "x-appwrite": { "method": "updateApiStatusAll", - "weight": 159, + "group": "projects", + "weight": 158, "cookies": false, "type": "", "deprecated": false, @@ -20408,7 +20381,8 @@ }, "x-appwrite": { "method": "updateAuthDuration", - "weight": 164, + "group": "auth", + "weight": 163, "cookies": false, "type": "", "deprecated": false, @@ -20485,7 +20459,8 @@ }, "x-appwrite": { "method": "updateAuthLimit", - "weight": 163, + "group": "auth", + "weight": 162, "cookies": false, "type": "", "deprecated": false, @@ -20562,7 +20537,8 @@ }, "x-appwrite": { "method": "updateAuthSessionsLimit", - "weight": 169, + "group": "auth", + "weight": 168, "cookies": false, "type": "", "deprecated": false, @@ -20639,7 +20615,8 @@ }, "x-appwrite": { "method": "updateMembershipsPrivacy", - "weight": 162, + "group": "auth", + "weight": 161, "cookies": false, "type": "", "deprecated": false, @@ -20730,7 +20707,8 @@ }, "x-appwrite": { "method": "updateMockNumbers", - "weight": 170, + "group": "auth", + "weight": 169, "cookies": false, "type": "", "deprecated": false, @@ -20810,7 +20788,8 @@ }, "x-appwrite": { "method": "updateAuthPasswordDictionary", - "weight": 167, + "group": "auth", + "weight": 166, "cookies": false, "type": "", "deprecated": false, @@ -20887,7 +20866,8 @@ }, "x-appwrite": { "method": "updateAuthPasswordHistory", - "weight": 166, + "group": "auth", + "weight": 165, "cookies": false, "type": "", "deprecated": false, @@ -20942,7 +20922,7 @@ }, "\/projects\/{projectId}\/auth\/personal-data": { "patch": { - "summary": "Enable or disable checking user passwords for similarity with their personal data.", + "summary": "Update personal data check", "operationId": "projectsUpdatePersonalDataCheck", "consumes": [ "application\/json" @@ -20964,7 +20944,8 @@ }, "x-appwrite": { "method": "updatePersonalDataCheck", - "weight": 168, + "group": "auth", + "weight": 167, "cookies": false, "type": "", "deprecated": false, @@ -21041,7 +21022,8 @@ }, "x-appwrite": { "method": "updateSessionAlerts", - "weight": 161, + "group": "auth", + "weight": 160, "cookies": false, "type": "", "deprecated": false, @@ -21118,7 +21100,8 @@ }, "x-appwrite": { "method": "updateAuthStatus", - "weight": 165, + "group": "auth", + "weight": 164, "cookies": false, "type": "", "deprecated": false, @@ -21194,9 +21177,7 @@ "get": { "summary": "List dev keys", "operationId": "projectsListDevKeys", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -21214,7 +21195,8 @@ }, "x-appwrite": { "method": "listDevKeys", - "weight": 368, + "group": "devKeys", + "weight": 367, "cookies": false, "type": "", "deprecated": false, @@ -21292,7 +21274,8 @@ }, "x-appwrite": { "method": "createDevKey", - "weight": 365, + "group": "devKeys", + "weight": 364, "cookies": false, "type": "", "deprecated": false, @@ -21356,9 +21339,7 @@ "get": { "summary": "Get dev key", "operationId": "projectsGetDevKey", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -21376,7 +21357,8 @@ }, "x-appwrite": { "method": "getDevKey", - "weight": 367, + "group": "devKeys", + "weight": 366, "cookies": false, "type": "", "deprecated": false, @@ -21441,7 +21423,8 @@ }, "x-appwrite": { "method": "updateDevKey", - "weight": 366, + "group": "devKeys", + "weight": 365, "cookies": false, "type": "", "deprecated": false, @@ -21526,7 +21509,8 @@ }, "x-appwrite": { "method": "deleteDevKey", - "weight": 369, + "group": "devKeys", + "weight": 368, "cookies": false, "type": "", "deprecated": false, @@ -21593,7 +21577,8 @@ }, "x-appwrite": { "method": "createJWT", - "weight": 183, + "group": "auth", + "weight": 182, "cookies": false, "type": "", "deprecated": false, @@ -21659,9 +21644,7 @@ "get": { "summary": "List keys", "operationId": "projectsListKeys", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -21679,7 +21662,8 @@ }, "x-appwrite": { "method": "listKeys", - "weight": 179, + "group": "keys", + "weight": 178, "cookies": false, "type": "", "deprecated": false, @@ -21736,7 +21720,8 @@ }, "x-appwrite": { "method": "createKey", - "weight": 178, + "group": "keys", + "weight": 177, "cookies": false, "type": "", "deprecated": false, @@ -21809,9 +21794,7 @@ "get": { "summary": "Get key", "operationId": "projectsGetKey", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -21829,7 +21812,8 @@ }, "x-appwrite": { "method": "getKey", - "weight": 180, + "group": "keys", + "weight": 179, "cookies": false, "type": "", "deprecated": false, @@ -21894,7 +21878,8 @@ }, "x-appwrite": { "method": "updateKey", - "weight": 181, + "group": "keys", + "weight": 180, "cookies": false, "type": "", "deprecated": false, @@ -21988,7 +21973,8 @@ }, "x-appwrite": { "method": "deleteKey", - "weight": 182, + "group": "keys", + "weight": 181, "cookies": false, "type": "", "deprecated": false, @@ -22055,7 +22041,8 @@ }, "x-appwrite": { "method": "updateOAuth2", - "weight": 160, + "group": "auth", + "weight": 159, "cookies": false, "type": "", "deprecated": false, @@ -22113,6 +22100,7 @@ "dropbox", "etsy", "facebook", + "figma", "github", "gitlab", "google", @@ -22173,9 +22161,7 @@ "get": { "summary": "List platforms", "operationId": "projectsListPlatforms", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -22193,7 +22179,8 @@ }, "x-appwrite": { "method": "listPlatforms", - "weight": 185, + "group": "platforms", + "weight": 184, "cookies": false, "type": "", "deprecated": false, @@ -22250,7 +22237,8 @@ }, "x-appwrite": { "method": "createPlatform", - "weight": 184, + "group": "platforms", + "weight": 183, "cookies": false, "type": "", "deprecated": false, @@ -22351,9 +22339,7 @@ "get": { "summary": "Get platform", "operationId": "projectsGetPlatform", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -22371,7 +22357,8 @@ }, "x-appwrite": { "method": "getPlatform", - "weight": 186, + "group": "platforms", + "weight": 185, "cookies": false, "type": "", "deprecated": false, @@ -22436,7 +22423,8 @@ }, "x-appwrite": { "method": "updatePlatform", - "weight": 187, + "group": "platforms", + "weight": 186, "cookies": false, "type": "", "deprecated": false, @@ -22532,7 +22520,8 @@ }, "x-appwrite": { "method": "deletePlatform", - "weight": 188, + "group": "platforms", + "weight": 187, "cookies": false, "type": "", "deprecated": false, @@ -22599,7 +22588,8 @@ }, "x-appwrite": { "method": "updateServiceStatus", - "weight": 156, + "group": "projects", + "weight": 155, "cookies": false, "type": "", "deprecated": false, @@ -22699,7 +22689,8 @@ }, "x-appwrite": { "method": "updateServiceStatusAll", - "weight": 157, + "group": "projects", + "weight": 156, "cookies": false, "type": "", "deprecated": false, @@ -22776,7 +22767,8 @@ }, "x-appwrite": { "method": "updateSmtp", - "weight": 189, + "group": "templates", + "weight": 188, "cookies": false, "type": "", "deprecated": false, @@ -22904,7 +22896,8 @@ }, "x-appwrite": { "method": "createSmtpTest", - "weight": 190, + "group": "templates", + "weight": 189, "cookies": false, "type": "", "deprecated": false, @@ -23041,7 +23034,8 @@ }, "x-appwrite": { "method": "updateTeam", - "weight": 155, + "group": "projects", + "weight": 154, "cookies": false, "type": "", "deprecated": false, @@ -23098,9 +23092,7 @@ "get": { "summary": "Get custom email template", "operationId": "projectsGetEmailTemplate", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -23118,7 +23110,8 @@ }, "x-appwrite": { "method": "getEmailTemplate", - "weight": 192, + "group": "templates", + "weight": 191, "cookies": false, "type": "", "deprecated": false, @@ -23337,7 +23330,8 @@ }, "x-appwrite": { "method": "updateEmailTemplate", - "weight": 194, + "group": "templates", + "weight": 193, "cookies": false, "type": "", "deprecated": false, @@ -23577,7 +23571,7 @@ ] }, "delete": { - "summary": "Reset custom email template", + "summary": "Delete custom email template", "operationId": "projectsDeleteEmailTemplate", "consumes": [ "application\/json" @@ -23599,7 +23593,8 @@ }, "x-appwrite": { "method": "deleteEmailTemplate", - "weight": 196, + "group": "templates", + "weight": 195, "cookies": false, "type": "", "deprecated": false, @@ -23800,9 +23795,7 @@ "get": { "summary": "Get custom SMS template", "operationId": "projectsGetSmsTemplate", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -23820,7 +23813,8 @@ }, "x-appwrite": { "method": "getSmsTemplate", - "weight": 191, + "group": "templates", + "weight": 190, "cookies": false, "type": "", "deprecated": false, @@ -24036,7 +24030,8 @@ }, "x-appwrite": { "method": "updateSmsTemplate", - "weight": 193, + "group": "templates", + "weight": 192, "cookies": false, "type": "", "deprecated": false, @@ -24270,7 +24265,8 @@ }, "x-appwrite": { "method": "deleteSmsTemplate", - "weight": 195, + "group": "templates", + "weight": 194, "cookies": false, "type": "", "deprecated": false, @@ -24468,9 +24464,7 @@ "get": { "summary": "List webhooks", "operationId": "projectsListWebhooks", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -24488,7 +24482,8 @@ }, "x-appwrite": { "method": "listWebhooks", - "weight": 173, + "group": "webhooks", + "weight": 172, "cookies": false, "type": "", "deprecated": false, @@ -24545,7 +24540,8 @@ }, "x-appwrite": { "method": "createWebhook", - "weight": 172, + "group": "webhooks", + "weight": 171, "cookies": false, "type": "", "deprecated": false, @@ -24644,9 +24640,7 @@ "get": { "summary": "Get webhook", "operationId": "projectsGetWebhook", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -24664,7 +24658,8 @@ }, "x-appwrite": { "method": "getWebhook", - "weight": 174, + "group": "webhooks", + "weight": 173, "cookies": false, "type": "", "deprecated": false, @@ -24729,7 +24724,8 @@ }, "x-appwrite": { "method": "updateWebhook", - "weight": 175, + "group": "webhooks", + "weight": 174, "cookies": false, "type": "", "deprecated": false, @@ -24849,7 +24845,8 @@ }, "x-appwrite": { "method": "deleteWebhook", - "weight": 177, + "group": "webhooks", + "weight": 176, "cookies": false, "type": "", "deprecated": false, @@ -24916,7 +24913,8 @@ }, "x-appwrite": { "method": "updateWebhookSignature", - "weight": 176, + "group": "webhooks", + "weight": 175, "cookies": false, "type": "", "deprecated": false, @@ -24963,9 +24961,7 @@ "get": { "summary": "List rules", "operationId": "proxyListRules", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -24983,7 +24979,8 @@ }, "x-appwrite": { "method": "listRules", - "weight": 289, + "group": null, + "weight": 288, "cookies": false, "type": "", "deprecated": false, @@ -25055,7 +25052,8 @@ }, "x-appwrite": { "method": "createAPIRule", - "weight": 430, + "group": null, + "weight": 429, "cookies": false, "type": "", "deprecated": false, @@ -25124,7 +25122,8 @@ }, "x-appwrite": { "method": "createFunctionRule", - "weight": 432, + "group": null, + "weight": 431, "cookies": false, "type": "", "deprecated": false, @@ -25206,7 +25205,8 @@ }, "x-appwrite": { "method": "createRedirectRule", - "weight": 433, + "group": null, + "weight": 432, "cookies": false, "type": "", "deprecated": false, @@ -25302,7 +25302,8 @@ }, "x-appwrite": { "method": "createSiteRule", - "weight": 431, + "group": null, + "weight": 430, "cookies": false, "type": "", "deprecated": false, @@ -25364,9 +25365,7 @@ "get": { "summary": "Get rule", "operationId": "proxyGetRule", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -25384,7 +25383,8 @@ }, "x-appwrite": { "method": "getRule", - "weight": 290, + "group": null, + "weight": 289, "cookies": false, "type": "", "deprecated": false, @@ -25436,7 +25436,8 @@ }, "x-appwrite": { "method": "deleteRule", - "weight": 291, + "group": null, + "weight": 290, "cookies": false, "type": "", "deprecated": false, @@ -25495,7 +25496,8 @@ }, "x-appwrite": { "method": "updateRuleVerification", - "weight": 292, + "group": null, + "weight": 291, "cookies": false, "type": "", "deprecated": false, @@ -25534,9 +25536,7 @@ "get": { "summary": "List sites", "operationId": "sitesList", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -25554,7 +25554,8 @@ }, "x-appwrite": { "method": "list", - "weight": 402, + "group": "sites", + "weight": 401, "cookies": false, "type": "", "deprecated": false, @@ -25625,7 +25626,8 @@ }, "x-appwrite": { "method": "create", - "weight": 400, + "group": "sites", + "weight": 399, "cookies": false, "type": "", "deprecated": false, @@ -25870,9 +25872,7 @@ "get": { "summary": "List frameworks", "operationId": "sitesListFrameworks", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -25890,7 +25890,8 @@ }, "x-appwrite": { "method": "listFrameworks", - "weight": 405, + "group": "frameworks", + "weight": 404, "cookies": false, "type": "", "deprecated": false, @@ -25920,9 +25921,7 @@ "get": { "summary": "List specifications", "operationId": "sitesListSpecifications", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -25940,7 +25939,8 @@ }, "x-appwrite": { "method": "listSpecifications", - "weight": 428, + "group": "frameworks", + "weight": 427, "cookies": false, "type": "", "deprecated": false, @@ -25971,9 +25971,7 @@ "get": { "summary": "List templates", "operationId": "sitesListTemplates", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -25991,7 +25989,8 @@ }, "x-appwrite": { "method": "listTemplates", - "weight": 424, + "group": "templates", + "weight": 423, "cookies": false, "type": "", "deprecated": false, @@ -26066,9 +26065,7 @@ "get": { "summary": "Get site template", "operationId": "sitesGetTemplate", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -26086,7 +26083,8 @@ }, "x-appwrite": { "method": "getTemplate", - "weight": 425, + "group": "templates", + "weight": 424, "cookies": false, "type": "", "deprecated": false, @@ -26125,9 +26123,7 @@ "get": { "summary": "Get sites usage", "operationId": "sitesListUsage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -26145,7 +26141,8 @@ }, "x-appwrite": { "method": "listUsage", - "weight": 426, + "group": null, + "weight": 425, "cookies": false, "type": "", "deprecated": false, @@ -26196,9 +26193,7 @@ "get": { "summary": "Get site", "operationId": "sitesGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -26216,7 +26211,8 @@ }, "x-appwrite": { "method": "get", - "weight": 401, + "group": "sites", + "weight": 400, "cookies": false, "type": "", "deprecated": false, @@ -26274,7 +26270,8 @@ }, "x-appwrite": { "method": "update", - "weight": 403, + "group": "sites", + "weight": 402, "cookies": false, "type": "", "deprecated": false, @@ -26532,7 +26529,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 404, + "group": "sites", + "weight": 403, "cookies": false, "type": "", "deprecated": false, @@ -26592,7 +26590,8 @@ }, "x-appwrite": { "method": "updateSiteDeployment", - "weight": 411, + "group": "sites", + "weight": 410, "cookies": false, "type": "", "deprecated": false, @@ -26650,9 +26649,7 @@ "get": { "summary": "List deployments", "operationId": "sitesListDeployments", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -26670,7 +26667,8 @@ }, "x-appwrite": { "method": "listDeployments", - "weight": 410, + "group": "deployments", + "weight": 409, "cookies": false, "type": "", "deprecated": false, @@ -26749,7 +26747,8 @@ }, "x-appwrite": { "method": "createDeployment", - "weight": 406, + "group": "deployments", + "weight": 405, "cookies": false, "type": "upload", "deprecated": false, @@ -26848,7 +26847,8 @@ }, "x-appwrite": { "method": "createDuplicateDeployment", - "weight": 414, + "group": "deployments", + "weight": 413, "cookies": false, "type": "", "deprecated": false, @@ -26926,7 +26926,8 @@ }, "x-appwrite": { "method": "createTemplateDeployment", - "weight": 407, + "group": "deployments", + "weight": 406, "cookies": false, "type": "", "deprecated": false, @@ -27031,7 +27032,8 @@ }, "x-appwrite": { "method": "createVcsDeployment", - "weight": 408, + "group": "deployments", + "weight": 407, "cookies": false, "type": "", "deprecated": false, @@ -27109,9 +27111,7 @@ "get": { "summary": "Get deployment", "operationId": "sitesGetDeployment", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -27129,7 +27129,8 @@ }, "x-appwrite": { "method": "getDeployment", - "weight": 409, + "group": "deployments", + "weight": 408, "cookies": false, "type": "", "deprecated": false, @@ -27190,7 +27191,8 @@ }, "x-appwrite": { "method": "deleteDeployment", - "weight": 412, + "group": "deployments", + "weight": 411, "cookies": false, "type": "", "deprecated": false, @@ -27236,11 +27238,9 @@ }, "\/sites\/{siteId}\/deployments\/{deploymentId}\/download": { "get": { - "summary": "Download deployment", + "summary": "Get deployment download", "operationId": "sitesGetDeploymentDownload", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "*\/*" ], @@ -27258,7 +27258,8 @@ }, "x-appwrite": { "method": "getDeploymentDownload", - "weight": 413, + "group": "deployments", + "weight": 412, "cookies": false, "type": "location", "deprecated": false, @@ -27343,7 +27344,8 @@ }, "x-appwrite": { "method": "updateDeploymentStatus", - "weight": 415, + "group": "deployments", + "weight": 414, "cookies": false, "type": "", "deprecated": false, @@ -27391,9 +27393,7 @@ "get": { "summary": "List logs", "operationId": "sitesListLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -27411,7 +27411,8 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 417, + "group": "logs", + "weight": 416, "cookies": false, "type": "", "deprecated": false, @@ -27463,9 +27464,7 @@ "get": { "summary": "Get log", "operationId": "sitesGetLog", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -27483,7 +27482,8 @@ }, "x-appwrite": { "method": "getLog", - "weight": 416, + "group": "logs", + "weight": 415, "cookies": false, "type": "", "deprecated": false, @@ -27546,7 +27546,8 @@ }, "x-appwrite": { "method": "deleteLog", - "weight": 418, + "group": "logs", + "weight": 417, "cookies": false, "type": "", "deprecated": false, @@ -27594,9 +27595,7 @@ "get": { "summary": "Get site usage", "operationId": "sitesGetUsage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -27614,7 +27613,8 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 427, + "group": null, + "weight": 426, "cookies": false, "type": "", "deprecated": false, @@ -27673,9 +27673,7 @@ "get": { "summary": "List variables", "operationId": "sitesListVariables", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -27693,7 +27691,8 @@ }, "x-appwrite": { "method": "listVariables", - "weight": 421, + "group": "variables", + "weight": 420, "cookies": false, "type": "", "deprecated": false, @@ -27751,7 +27750,8 @@ }, "x-appwrite": { "method": "createVariable", - "weight": 419, + "group": "variables", + "weight": 418, "cookies": false, "type": "", "deprecated": false, @@ -27822,9 +27822,7 @@ "get": { "summary": "Get variable", "operationId": "sitesGetVariable", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -27842,7 +27840,8 @@ }, "x-appwrite": { "method": "getVariable", - "weight": 420, + "group": "variables", + "weight": 419, "cookies": false, "type": "", "deprecated": false, @@ -27908,7 +27907,8 @@ }, "x-appwrite": { "method": "updateVariable", - "weight": 422, + "group": "variables", + "weight": 421, "cookies": false, "type": "", "deprecated": false, @@ -27999,7 +27999,8 @@ }, "x-appwrite": { "method": "deleteVariable", - "weight": 423, + "group": "variables", + "weight": 422, "cookies": false, "type": "", "deprecated": false, @@ -28047,9 +28048,7 @@ "get": { "summary": "List buckets", "operationId": "storageListBuckets", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -28067,7 +28066,8 @@ }, "x-appwrite": { "method": "listBuckets", - "weight": 204, + "group": "buckets", + "weight": 203, "cookies": false, "type": "", "deprecated": false, @@ -28138,7 +28138,8 @@ }, "x-appwrite": { "method": "createBucket", - "weight": 203, + "group": "buckets", + "weight": 202, "cookies": false, "type": "", "deprecated": false, @@ -28256,9 +28257,7 @@ "get": { "summary": "Get bucket", "operationId": "storageGetBucket", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -28276,7 +28275,8 @@ }, "x-appwrite": { "method": "getBucket", - "weight": 205, + "group": "buckets", + "weight": 204, "cookies": false, "type": "", "deprecated": false, @@ -28334,7 +28334,8 @@ }, "x-appwrite": { "method": "updateBucket", - "weight": 206, + "group": "buckets", + "weight": 205, "cookies": false, "type": "", "deprecated": false, @@ -28466,7 +28467,8 @@ }, "x-appwrite": { "method": "deleteBucket", - "weight": 207, + "group": "buckets", + "weight": 206, "cookies": false, "type": "", "deprecated": false, @@ -28506,9 +28508,7 @@ "get": { "summary": "List files", "operationId": "storageListFiles", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -28526,7 +28526,8 @@ }, "x-appwrite": { "method": "listFiles", - "weight": 209, + "group": "files", + "weight": 208, "cookies": false, "type": "", "deprecated": false, @@ -28608,7 +28609,8 @@ }, "x-appwrite": { "method": "createFile", - "weight": 208, + "group": "files", + "weight": 207, "cookies": false, "type": "upload", "deprecated": false, @@ -28679,9 +28681,7 @@ "get": { "summary": "Get file", "operationId": "storageGetFile", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -28699,7 +28699,8 @@ }, "x-appwrite": { "method": "getFile", - "weight": 210, + "group": "files", + "weight": 209, "cookies": false, "type": "", "deprecated": false, @@ -28768,7 +28769,8 @@ }, "x-appwrite": { "method": "updateFile", - "weight": 215, + "group": "files", + "weight": 214, "cookies": false, "type": "", "deprecated": false, @@ -28856,7 +28858,8 @@ }, "x-appwrite": { "method": "deleteFile", - "weight": 216, + "group": "files", + "weight": 215, "cookies": false, "type": "", "deprecated": false, @@ -28907,9 +28910,7 @@ "get": { "summary": "Get file for download", "operationId": "storageGetFileDownload", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "*\/*" ], @@ -28927,7 +28928,8 @@ }, "x-appwrite": { "method": "getFileDownload", - "weight": 212, + "group": "files", + "weight": 211, "cookies": false, "type": "location", "deprecated": false, @@ -28978,9 +28980,7 @@ "get": { "summary": "Get file preview", "operationId": "storageGetFilePreview", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/*" ], @@ -28998,7 +28998,8 @@ }, "x-appwrite": { "method": "getFilePreview", - "weight": 211, + "group": "files", + "weight": 210, "cookies": false, "type": "location", "deprecated": false, @@ -29177,9 +29178,7 @@ "get": { "summary": "Get file for view", "operationId": "storageGetFileView", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "*\/*" ], @@ -29197,7 +29196,8 @@ }, "x-appwrite": { "method": "getFileView", - "weight": 213, + "group": "files", + "weight": 212, "cookies": false, "type": "location", "deprecated": false, @@ -29248,9 +29248,7 @@ "get": { "summary": "Get storage usage stats", "operationId": "storageGetUsage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -29268,7 +29266,8 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 217, + "group": null, + "weight": 216, "cookies": false, "type": "", "deprecated": false, @@ -29319,9 +29318,7 @@ "get": { "summary": "Get bucket usage stats", "operationId": "storageGetBucketUsage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -29339,7 +29336,8 @@ }, "x-appwrite": { "method": "getBucketUsage", - "weight": 218, + "group": null, + "weight": 217, "cookies": false, "type": "", "deprecated": false, @@ -29398,9 +29396,7 @@ "get": { "summary": "List teams", "operationId": "teamsList", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -29418,7 +29414,8 @@ }, "x-appwrite": { "method": "list", - "weight": 220, + "group": "teams", + "weight": 219, "cookies": false, "type": "", "deprecated": false, @@ -29492,7 +29489,8 @@ }, "x-appwrite": { "method": "create", - "weight": 219, + "group": "teams", + "weight": 218, "cookies": false, "type": "", "deprecated": false, @@ -29563,9 +29561,7 @@ "get": { "summary": "Get team", "operationId": "teamsGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -29583,7 +29579,8 @@ }, "x-appwrite": { "method": "get", - "weight": 221, + "group": "teams", + "weight": 220, "cookies": false, "type": "", "deprecated": false, @@ -29644,7 +29641,8 @@ }, "x-appwrite": { "method": "updateName", - "weight": 223, + "group": "teams", + "weight": 222, "cookies": false, "type": "", "deprecated": false, @@ -29718,7 +29716,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 225, + "group": "teams", + "weight": 224, "cookies": false, "type": "", "deprecated": false, @@ -29761,9 +29760,7 @@ "get": { "summary": "List team logs", "operationId": "teamsListLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -29781,7 +29778,8 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 232, + "group": "logs", + "weight": 231, "cookies": false, "type": "", "deprecated": false, @@ -29832,9 +29830,7 @@ "get": { "summary": "List team memberships", "operationId": "teamsListMemberships", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -29852,7 +29848,8 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 227, + "group": "memberships", + "weight": 226, "cookies": false, "type": "", "deprecated": false, @@ -29934,7 +29931,8 @@ }, "x-appwrite": { "method": "createMembership", - "weight": 226, + "group": "memberships", + "weight": 225, "cookies": false, "type": "", "deprecated": false, @@ -30028,9 +30026,7 @@ "get": { "summary": "Get team membership", "operationId": "teamsGetMembership", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -30048,7 +30044,8 @@ }, "x-appwrite": { "method": "getMembership", - "weight": 228, + "group": "memberships", + "weight": 227, "cookies": false, "type": "", "deprecated": false, @@ -30117,7 +30114,8 @@ }, "x-appwrite": { "method": "updateMembership", - "weight": 229, + "group": "memberships", + "weight": 228, "cookies": false, "type": "", "deprecated": false, @@ -30202,7 +30200,8 @@ }, "x-appwrite": { "method": "deleteMembership", - "weight": 231, + "group": "memberships", + "weight": 230, "cookies": false, "type": "", "deprecated": false, @@ -30273,7 +30272,8 @@ }, "x-appwrite": { "method": "updateMembershipStatus", - "weight": 230, + "group": "memberships", + "weight": 229, "cookies": false, "type": "", "deprecated": false, @@ -30347,9 +30347,7 @@ "get": { "summary": "Get team preferences", "operationId": "teamsGetPrefs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -30367,7 +30365,8 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 222, + "group": "teams", + "weight": 221, "cookies": false, "type": "", "deprecated": false, @@ -30426,7 +30425,8 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 224, + "group": "teams", + "weight": 223, "cookies": false, "type": "", "deprecated": false, @@ -30485,9 +30485,7 @@ "get": { "summary": "List tokens", "operationId": "tokensList", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -30505,7 +30503,8 @@ }, "x-appwrite": { "method": "list", - "weight": 432, + "group": "files", + "weight": 436, "cookies": false, "type": "", "deprecated": false, @@ -30586,7 +30585,8 @@ }, "x-appwrite": { "method": "createFileToken", - "weight": 429, + "group": "files", + "weight": 433, "cookies": false, "type": "", "deprecated": false, @@ -30662,9 +30662,7 @@ "get": { "summary": "Get token", "operationId": "tokensGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -30682,7 +30680,8 @@ }, "x-appwrite": { "method": "get", - "weight": 430, + "group": "tokens", + "weight": 434, "cookies": false, "type": "", "deprecated": false, @@ -30743,7 +30742,8 @@ }, "x-appwrite": { "method": "update", - "weight": 433, + "group": "tokens", + "weight": 437, "cookies": false, "type": "", "deprecated": false, @@ -30824,7 +30824,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 434, + "group": "tokens", + "weight": 438, "cookies": false, "type": "", "deprecated": false, @@ -30867,9 +30868,7 @@ "get": { "summary": "Get token as JWT", "operationId": "tokensGetJWT", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -30887,7 +30886,8 @@ }, "x-appwrite": { "method": "getJWT", - "weight": 431, + "group": "tokens", + "weight": 435, "cookies": false, "type": "", "deprecated": false, @@ -30930,9 +30930,7 @@ "get": { "summary": "List users", "operationId": "usersList", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -30950,7 +30948,8 @@ }, "x-appwrite": { "method": "list", - "weight": 242, + "group": "users", + "weight": 241, "cookies": false, "type": "", "deprecated": false, @@ -31021,7 +31020,8 @@ }, "x-appwrite": { "method": "create", - "weight": 233, + "group": "users", + "weight": 232, "cookies": false, "type": "", "deprecated": false, @@ -31115,7 +31115,8 @@ }, "x-appwrite": { "method": "createArgon2User", - "weight": 236, + "group": "users", + "weight": 235, "cookies": false, "type": "", "deprecated": false, @@ -31205,7 +31206,8 @@ }, "x-appwrite": { "method": "createBcryptUser", - "weight": 234, + "group": "users", + "weight": 233, "cookies": false, "type": "", "deprecated": false, @@ -31275,9 +31277,7 @@ "get": { "summary": "List identities", "operationId": "usersListIdentities", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -31295,7 +31295,8 @@ }, "x-appwrite": { "method": "listIdentities", - "weight": 250, + "group": "identities", + "weight": 249, "cookies": false, "type": "", "deprecated": false, @@ -31363,7 +31364,8 @@ }, "x-appwrite": { "method": "deleteIdentity", - "weight": 273, + "group": "identities", + "weight": 272, "cookies": false, "type": "", "deprecated": false, @@ -31423,7 +31425,8 @@ }, "x-appwrite": { "method": "createMD5User", - "weight": 235, + "group": "users", + "weight": 234, "cookies": false, "type": "", "deprecated": false, @@ -31513,7 +31516,8 @@ }, "x-appwrite": { "method": "createPHPassUser", - "weight": 238, + "group": "users", + "weight": 237, "cookies": false, "type": "", "deprecated": false, @@ -31603,7 +31607,8 @@ }, "x-appwrite": { "method": "createScryptUser", - "weight": 239, + "group": "users", + "weight": 238, "cookies": false, "type": "", "deprecated": false, @@ -31728,7 +31733,8 @@ }, "x-appwrite": { "method": "createScryptModifiedUser", - "weight": 240, + "group": "users", + "weight": 239, "cookies": false, "type": "", "deprecated": false, @@ -31839,7 +31845,8 @@ }, "x-appwrite": { "method": "createSHAUser", - "weight": 237, + "group": "users", + "weight": 236, "cookies": false, "type": "", "deprecated": false, @@ -31930,9 +31937,7 @@ "get": { "summary": "Get users usage stats", "operationId": "usersGetUsage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -31950,7 +31955,8 @@ }, "x-appwrite": { "method": "getUsage", - "weight": 275, + "group": null, + "weight": 274, "cookies": false, "type": "", "deprecated": false, @@ -32001,9 +32007,7 @@ "get": { "summary": "Get user", "operationId": "usersGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -32021,7 +32025,8 @@ }, "x-appwrite": { "method": "get", - "weight": 243, + "group": "users", + "weight": 242, "cookies": false, "type": "", "deprecated": false, @@ -32074,7 +32079,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 271, + "group": "users", + "weight": 270, "cookies": false, "type": "", "deprecated": false, @@ -32134,7 +32140,8 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 256, + "group": "users", + "weight": 255, "cookies": false, "type": "", "deprecated": false, @@ -32212,7 +32219,8 @@ }, "x-appwrite": { "method": "createJWT", - "weight": 274, + "group": "sessions", + "weight": 273, "cookies": false, "type": "", "deprecated": false, @@ -32293,7 +32301,8 @@ }, "x-appwrite": { "method": "updateLabels", - "weight": 252, + "group": "users", + "weight": 251, "cookies": false, "type": "", "deprecated": false, @@ -32354,9 +32363,7 @@ "get": { "summary": "List user logs", "operationId": "usersListLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -32374,7 +32381,8 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 248, + "group": "logs", + "weight": 247, "cookies": false, "type": "", "deprecated": false, @@ -32426,9 +32434,7 @@ "get": { "summary": "List user memberships", "operationId": "usersListMemberships", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -32446,7 +32452,8 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 247, + "group": "memberships", + "weight": 246, "cookies": false, "type": "", "deprecated": false, @@ -32527,7 +32534,8 @@ }, "x-appwrite": { "method": "updateMfa", - "weight": 261, + "group": "users", + "weight": 260, "cookies": false, "type": "", "deprecated": false, @@ -32600,7 +32608,8 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", - "weight": 266, + "group": "mfa", + "weight": 265, "cookies": false, "type": "", "deprecated": false, @@ -32653,9 +32662,7 @@ "get": { "summary": "List factors", "operationId": "usersListMfaFactors", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -32673,7 +32680,8 @@ }, "x-appwrite": { "method": "listMfaFactors", - "weight": 262, + "group": "mfa", + "weight": 261, "cookies": false, "type": "", "deprecated": false, @@ -32713,9 +32721,7 @@ "get": { "summary": "Get MFA recovery codes", "operationId": "usersGetMfaRecoveryCodes", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -32733,7 +32739,8 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", - "weight": 263, + "group": "mfa", + "weight": 262, "cookies": false, "type": "", "deprecated": false, @@ -32769,7 +32776,7 @@ ] }, "put": { - "summary": "Regenerate MFA recovery codes", + "summary": "Update MFA recovery codes (regenerate)", "operationId": "usersUpdateMfaRecoveryCodes", "consumes": [ "application\/json" @@ -32791,7 +32798,8 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", - "weight": 265, + "group": "mfa", + "weight": 264, "cookies": false, "type": "", "deprecated": false, @@ -32849,7 +32857,8 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", - "weight": 264, + "group": "mfa", + "weight": 263, "cookies": false, "type": "", "deprecated": false, @@ -32909,7 +32918,8 @@ }, "x-appwrite": { "method": "updateName", - "weight": 254, + "group": "users", + "weight": 253, "cookies": false, "type": "", "deprecated": false, @@ -32987,7 +32997,8 @@ }, "x-appwrite": { "method": "updatePassword", - "weight": 255, + "group": "users", + "weight": 254, "cookies": false, "type": "", "deprecated": false, @@ -33065,7 +33076,8 @@ }, "x-appwrite": { "method": "updatePhone", - "weight": 257, + "group": "users", + "weight": 256, "cookies": false, "type": "", "deprecated": false, @@ -33123,9 +33135,7 @@ "get": { "summary": "Get user preferences", "operationId": "usersGetPrefs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -33143,7 +33153,8 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 244, + "group": "users", + "weight": 243, "cookies": false, "type": "", "deprecated": false, @@ -33201,7 +33212,8 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 259, + "group": "users", + "weight": 258, "cookies": false, "type": "", "deprecated": false, @@ -33259,9 +33271,7 @@ "get": { "summary": "List user sessions", "operationId": "usersListSessions", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -33279,7 +33289,8 @@ }, "x-appwrite": { "method": "listSessions", - "weight": 246, + "group": "sessions", + "weight": 245, "cookies": false, "type": "", "deprecated": false, @@ -33337,7 +33348,8 @@ }, "x-appwrite": { "method": "createSession", - "weight": 267, + "group": "sessions", + "weight": 266, "cookies": false, "type": "", "deprecated": false, @@ -33390,7 +33402,8 @@ }, "x-appwrite": { "method": "deleteSessions", - "weight": 270, + "group": "sessions", + "weight": 269, "cookies": false, "type": "", "deprecated": false, @@ -33445,7 +33458,8 @@ }, "x-appwrite": { "method": "deleteSession", - "weight": 269, + "group": "sessions", + "weight": 268, "cookies": false, "type": "", "deprecated": false, @@ -33513,7 +33527,8 @@ }, "x-appwrite": { "method": "updateStatus", - "weight": 251, + "group": "users", + "weight": 250, "cookies": false, "type": "", "deprecated": false, @@ -33571,9 +33586,7 @@ "get": { "summary": "List user targets", "operationId": "usersListTargets", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -33591,7 +33604,8 @@ }, "x-appwrite": { "method": "listTargets", - "weight": 249, + "group": "targets", + "weight": 248, "cookies": false, "type": "", "deprecated": false, @@ -33662,7 +33676,8 @@ }, "x-appwrite": { "method": "createTarget", - "weight": 241, + "group": "targets", + "weight": 240, "cookies": false, "type": "", "deprecated": false, @@ -33754,9 +33769,7 @@ "get": { "summary": "Get user target", "operationId": "usersGetTarget", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -33774,7 +33787,8 @@ }, "x-appwrite": { "method": "getTarget", - "weight": 245, + "group": "targets", + "weight": 244, "cookies": false, "type": "", "deprecated": false, @@ -33841,7 +33855,8 @@ }, "x-appwrite": { "method": "updateTarget", - "weight": 260, + "group": "targets", + "weight": 259, "cookies": false, "type": "", "deprecated": false, @@ -33930,7 +33945,8 @@ }, "x-appwrite": { "method": "deleteTarget", - "weight": 272, + "group": "targets", + "weight": 271, "cookies": false, "type": "", "deprecated": false, @@ -33999,7 +34015,8 @@ }, "x-appwrite": { "method": "createToken", - "weight": 268, + "group": "sessions", + "weight": 267, "cookies": false, "type": "", "deprecated": false, @@ -34080,7 +34097,8 @@ }, "x-appwrite": { "method": "updateEmailVerification", - "weight": 258, + "group": "users", + "weight": 257, "cookies": false, "type": "", "deprecated": false, @@ -34158,7 +34176,8 @@ }, "x-appwrite": { "method": "updatePhoneVerification", - "weight": 253, + "group": "users", + "weight": 252, "cookies": false, "type": "", "deprecated": false, @@ -34236,7 +34255,8 @@ }, "x-appwrite": { "method": "createRepositoryDetection", - "weight": 279, + "group": "repositories", + "weight": 278, "cookies": false, "type": "", "deprecated": false, @@ -34312,9 +34332,7 @@ "get": { "summary": "List repositories", "operationId": "vcsListRepositories", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -34332,7 +34350,8 @@ }, "x-appwrite": { "method": "listRepositories", - "weight": 280, + "group": "repositories", + "weight": 279, "cookies": false, "type": "", "deprecated": false, @@ -34412,7 +34431,8 @@ }, "x-appwrite": { "method": "createRepository", - "weight": 281, + "group": "repositories", + "weight": 280, "cookies": false, "type": "", "deprecated": false, @@ -34476,9 +34496,7 @@ "get": { "summary": "Get repository", "operationId": "vcsGetRepository", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -34496,7 +34514,8 @@ }, "x-appwrite": { "method": "getRepository", - "weight": 282, + "group": "repositories", + "weight": 281, "cookies": false, "type": "", "deprecated": false, @@ -34543,9 +34562,7 @@ "get": { "summary": "List repository branches", "operationId": "vcsListRepositoryBranches", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -34563,7 +34580,8 @@ }, "x-appwrite": { "method": "listRepositoryBranches", - "weight": 283, + "group": "repositories", + "weight": 282, "cookies": false, "type": "", "deprecated": false, @@ -34610,9 +34628,7 @@ "get": { "summary": "Get files and directories of a VCS repository", "operationId": "vcsGetRepositoryContents", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -34630,7 +34646,8 @@ }, "x-appwrite": { "method": "getRepositoryContents", - "weight": 278, + "group": "repositories", + "weight": 277, "cookies": false, "type": "", "deprecated": false, @@ -34684,7 +34701,7 @@ }, "\/vcs\/github\/installations\/{installationId}\/repositories\/{repositoryId}": { "patch": { - "summary": "Authorize external deployment", + "summary": "Update external deployment (authorize)", "operationId": "vcsUpdateExternalDeployments", "consumes": [ "application\/json" @@ -34703,7 +34720,8 @@ }, "x-appwrite": { "method": "updateExternalDeployments", - "weight": 288, + "group": "repositories", + "weight": 287, "cookies": false, "type": "", "deprecated": false, @@ -34768,9 +34786,7 @@ "get": { "summary": "List installations", "operationId": "vcsListInstallations", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -34788,7 +34804,8 @@ }, "x-appwrite": { "method": "listInstallations", - "weight": 285, + "group": "installations", + "weight": 284, "cookies": false, "type": "", "deprecated": false, @@ -34840,9 +34857,7 @@ "get": { "summary": "Get installation", "operationId": "vcsGetInstallation", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -34860,7 +34875,8 @@ }, "x-appwrite": { "method": "getInstallation", - "weight": 286, + "group": "installations", + "weight": 285, "cookies": false, "type": "", "deprecated": false, @@ -34912,7 +34928,8 @@ }, "x-appwrite": { "method": "deleteInstallation", - "weight": 287, + "group": "installations", + "weight": 286, "cookies": false, "type": "", "deprecated": false, diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json index eb1e569678..dd44d76a76 100644 --- a/app/config/specs/swagger2-latest-server.json +++ b/app/config/specs/swagger2-latest-server.json @@ -16,6 +16,7 @@ } }, "host": "cloud.appwrite.io", + "x-host-docs": "<REGION>.cloud.appwrite.io", "basePath": "\/v1", "schemes": [ "https" @@ -82,9 +83,7 @@ "get": { "summary": "Get account", "operationId": "accountGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -102,6 +101,7 @@ }, "x-appwrite": { "method": "get", + "group": "account", "weight": 10, "cookies": false, "type": "", @@ -153,6 +153,7 @@ }, "x-appwrite": { "method": "create", + "group": "account", "weight": 9, "cookies": false, "type": "", @@ -243,6 +244,7 @@ }, "x-appwrite": { "method": "updateEmail", + "group": "account", "weight": 35, "cookies": false, "type": "", @@ -303,9 +305,7 @@ "get": { "summary": "List identities", "operationId": "accountListIdentities", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -323,6 +323,7 @@ }, "x-appwrite": { "method": "listIdentities", + "group": "identities", "weight": 58, "cookies": false, "type": "", @@ -385,6 +386,7 @@ }, "x-appwrite": { "method": "deleteIdentity", + "group": "identities", "weight": 59, "cookies": false, "type": "", @@ -448,6 +450,7 @@ }, "x-appwrite": { "method": "createJWT", + "group": "tokens", "weight": 30, "cookies": false, "type": "", @@ -478,9 +481,7 @@ "get": { "summary": "List logs", "operationId": "accountListLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -498,6 +499,7 @@ }, "x-appwrite": { "method": "listLogs", + "group": "logs", "weight": 32, "cookies": false, "type": "", @@ -565,6 +567,7 @@ }, "x-appwrite": { "method": "updateMFA", + "group": "mfa", "weight": 45, "cookies": false, "type": "", @@ -638,6 +641,7 @@ }, "x-appwrite": { "method": "createMfaAuthenticator", + "group": "mfa", "weight": 47, "cookies": false, "type": "", @@ -682,7 +686,7 @@ ] }, "put": { - "summary": "Verify authenticator", + "summary": "Update authenticator (confirmation)", "operationId": "accountUpdateMfaAuthenticator", "consumes": [ "application\/json" @@ -704,6 +708,7 @@ }, "x-appwrite": { "method": "updateMfaAuthenticator", + "group": "mfa", "weight": 48, "cookies": false, "type": "", @@ -783,6 +788,7 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", + "group": "mfa", "weight": 52, "cookies": false, "type": "", @@ -851,6 +857,7 @@ }, "x-appwrite": { "method": "createMfaChallenge", + "group": "mfa", "weight": 53, "cookies": false, "type": "", @@ -905,7 +912,7 @@ ] }, "put": { - "summary": "Create MFA challenge (confirmation)", + "summary": "Update MFA challenge (confirmation)", "operationId": "accountUpdateMfaChallenge", "consumes": [ "application\/json" @@ -927,6 +934,7 @@ }, "x-appwrite": { "method": "updateMfaChallenge", + "group": "mfa", "weight": 54, "cookies": false, "type": "", @@ -987,9 +995,7 @@ "get": { "summary": "List factors", "operationId": "accountListMfaFactors", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -1007,6 +1013,7 @@ }, "x-appwrite": { "method": "listMfaFactors", + "group": "mfa", "weight": 46, "cookies": false, "type": "", @@ -1038,11 +1045,9 @@ }, "\/account\/mfa\/recovery-codes": { "get": { - "summary": "Get MFA recovery codes", + "summary": "List MFA recovery codes", "operationId": "accountGetMfaRecoveryCodes", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -1060,6 +1065,7 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", + "group": "mfa", "weight": 51, "cookies": false, "type": "", @@ -1111,6 +1117,7 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", + "group": "mfa", "weight": 49, "cookies": false, "type": "", @@ -1140,7 +1147,7 @@ ] }, "patch": { - "summary": "Regenerate MFA recovery codes", + "summary": "Update MFA recovery codes (regenerate)", "operationId": "accountUpdateMfaRecoveryCodes", "consumes": [ "application\/json" @@ -1162,6 +1169,7 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", + "group": "mfa", "weight": 50, "cookies": false, "type": "", @@ -1215,6 +1223,7 @@ }, "x-appwrite": { "method": "updateName", + "group": "account", "weight": 33, "cookies": false, "type": "", @@ -1288,6 +1297,7 @@ }, "x-appwrite": { "method": "updatePassword", + "group": "account", "weight": 34, "cookies": false, "type": "", @@ -1367,6 +1377,7 @@ }, "x-appwrite": { "method": "updatePhone", + "group": "account", "weight": 36, "cookies": false, "type": "", @@ -1427,9 +1438,7 @@ "get": { "summary": "Get account preferences", "operationId": "accountGetPrefs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -1447,6 +1456,7 @@ }, "x-appwrite": { "method": "getPrefs", + "group": "account", "weight": 31, "cookies": false, "type": "", @@ -1498,6 +1508,7 @@ }, "x-appwrite": { "method": "updatePrefs", + "group": "account", "weight": 37, "cookies": false, "type": "", @@ -1571,6 +1582,7 @@ }, "x-appwrite": { "method": "createRecovery", + "group": "recovery", "weight": 39, "cookies": false, "type": "", @@ -1630,7 +1642,7 @@ ] }, "put": { - "summary": "Create password recovery (confirmation)", + "summary": "Update password recovery (confirmation)", "operationId": "accountUpdateRecovery", "consumes": [ "application\/json" @@ -1652,6 +1664,7 @@ }, "x-appwrite": { "method": "updateRecovery", + "group": "recovery", "weight": 40, "cookies": false, "type": "", @@ -1719,9 +1732,7 @@ "get": { "summary": "List sessions", "operationId": "accountListSessions", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -1739,6 +1750,7 @@ }, "x-appwrite": { "method": "listSessions", + "group": "sessions", "weight": 12, "cookies": false, "type": "", @@ -1785,6 +1797,7 @@ }, "x-appwrite": { "method": "deleteSessions", + "group": "sessions", "weight": 13, "cookies": false, "type": "", @@ -1838,6 +1851,7 @@ }, "x-appwrite": { "method": "createAnonymousSession", + "group": "sessions", "weight": 18, "cookies": false, "type": "", @@ -1888,6 +1902,7 @@ }, "x-appwrite": { "method": "createEmailPasswordSession", + "group": "sessions", "weight": 17, "cookies": false, "type": "", @@ -1965,6 +1980,7 @@ }, "x-appwrite": { "method": "updateMagicURLSession", + "group": "sessions", "weight": 27, "cookies": false, "type": "", @@ -2042,6 +2058,7 @@ }, "x-appwrite": { "method": "updatePhoneSession", + "group": "sessions", "weight": 28, "cookies": false, "type": "", @@ -2119,6 +2136,7 @@ }, "x-appwrite": { "method": "createSession", + "group": "sessions", "weight": 19, "cookies": false, "type": "", @@ -2176,9 +2194,7 @@ "get": { "summary": "Get session", "operationId": "accountGetSession", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -2196,6 +2212,7 @@ }, "x-appwrite": { "method": "getSession", + "group": "sessions", "weight": 14, "cookies": false, "type": "", @@ -2257,6 +2274,7 @@ }, "x-appwrite": { "method": "updateSession", + "group": "sessions", "weight": 16, "cookies": false, "type": "", @@ -2313,6 +2331,7 @@ }, "x-appwrite": { "method": "deleteSession", + "group": "sessions", "weight": 15, "cookies": false, "type": "", @@ -2376,6 +2395,7 @@ }, "x-appwrite": { "method": "updateStatus", + "group": "account", "weight": 38, "cookies": false, "type": "", @@ -2429,6 +2449,7 @@ }, "x-appwrite": { "method": "createEmailToken", + "group": "tokens", "weight": 26, "cookies": false, "type": "", @@ -2512,6 +2533,7 @@ }, "x-appwrite": { "method": "createMagicURLToken", + "group": "tokens", "weight": 25, "cookies": false, "type": "", @@ -2584,9 +2606,7 @@ "get": { "summary": "Create OAuth2 token", "operationId": "accountCreateOAuth2Token", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "text\/html" ], @@ -2601,6 +2621,7 @@ }, "x-appwrite": { "method": "createOAuth2Token", + "group": "tokens", "weight": 24, "cookies": false, "type": "webAuth", @@ -2628,7 +2649,7 @@ "parameters": [ { "name": "provider", - "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", + "description": "OAuth2 Provider. Currently, supported providers are: amazon, apple, auth0, authentik, autodesk, bitbucket, bitly, box, dailymotion, discord, disqus, dropbox, etsy, facebook, figma, github, gitlab, google, linkedin, microsoft, notion, oidc, okta, paypal, paypalSandbox, podio, salesforce, slack, spotify, stripe, tradeshift, tradeshiftBox, twitch, wordpress, yahoo, yammer, yandex, zoho, zoom.", "required": true, "type": "string", "x-example": "amazon", @@ -2647,6 +2668,7 @@ "dropbox", "etsy", "facebook", + "figma", "github", "gitlab", "google", @@ -2736,6 +2758,7 @@ }, "x-appwrite": { "method": "createPhoneToken", + "group": "tokens", "weight": 29, "cookies": false, "type": "", @@ -2816,6 +2839,7 @@ }, "x-appwrite": { "method": "createVerification", + "group": "verification", "weight": 41, "cookies": false, "type": "", @@ -2865,7 +2889,7 @@ ] }, "put": { - "summary": "Create email verification (confirmation)", + "summary": "Update email verification (confirmation)", "operationId": "accountUpdateVerification", "consumes": [ "application\/json" @@ -2887,6 +2911,7 @@ }, "x-appwrite": { "method": "updateVerification", + "group": "verification", "weight": 42, "cookies": false, "type": "", @@ -2967,6 +2992,7 @@ }, "x-appwrite": { "method": "createPhoneVerification", + "group": "verification", "weight": 43, "cookies": false, "type": "", @@ -3021,6 +3047,7 @@ }, "x-appwrite": { "method": "updatePhoneVerification", + "group": "verification", "weight": 44, "cookies": false, "type": "", @@ -3081,9 +3108,7 @@ "get": { "summary": "Get browser icon", "operationId": "avatarsGetBrowser", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/png" ], @@ -3101,6 +3126,7 @@ }, "x-appwrite": { "method": "getBrowser", + "group": null, "weight": 61, "cookies": false, "type": "location", @@ -3209,9 +3235,7 @@ "get": { "summary": "Get credit card icon", "operationId": "avatarsGetCreditCard", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/png" ], @@ -3229,6 +3253,7 @@ }, "x-appwrite": { "method": "getCreditCard", + "group": null, "weight": 60, "cookies": false, "type": "location", @@ -3343,9 +3368,7 @@ "get": { "summary": "Get favicon", "operationId": "avatarsGetFavicon", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/*" ], @@ -3363,6 +3386,7 @@ }, "x-appwrite": { "method": "getFavicon", + "group": null, "weight": 64, "cookies": false, "type": "location", @@ -3409,9 +3433,7 @@ "get": { "summary": "Get country flag", "operationId": "avatarsGetFlag", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/png" ], @@ -3429,6 +3451,7 @@ }, "x-appwrite": { "method": "getFlag", + "group": null, "weight": 62, "cookies": false, "type": "location", @@ -3899,9 +3922,7 @@ "get": { "summary": "Get image from URL", "operationId": "avatarsGetImage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/*" ], @@ -3919,6 +3940,7 @@ }, "x-appwrite": { "method": "getImage", + "group": null, "weight": 63, "cookies": false, "type": "location", @@ -3985,9 +4007,7 @@ "get": { "summary": "Get user initials", "operationId": "avatarsGetInitials", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/png" ], @@ -4005,6 +4025,7 @@ }, "x-appwrite": { "method": "getInitials", + "group": null, "weight": 66, "cookies": false, "type": "location", @@ -4079,9 +4100,7 @@ "get": { "summary": "Get QR code", "operationId": "avatarsGetQR", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/png" ], @@ -4099,6 +4118,7 @@ }, "x-appwrite": { "method": "getQR", + "group": null, "weight": 65, "cookies": false, "type": "location", @@ -4173,9 +4193,7 @@ "get": { "summary": "List databases", "operationId": "databasesList", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -4193,6 +4211,7 @@ }, "x-appwrite": { "method": "list", + "group": "databases", "weight": 71, "cookies": false, "type": "", @@ -4265,6 +4284,7 @@ }, "x-appwrite": { "method": "create", + "group": "databases", "weight": 70, "cookies": false, "type": "", @@ -4329,9 +4349,7 @@ "get": { "summary": "Get database", "operationId": "databasesGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -4349,6 +4367,7 @@ }, "x-appwrite": { "method": "get", + "group": "databases", "weight": 72, "cookies": false, "type": "", @@ -4408,6 +4427,7 @@ }, "x-appwrite": { "method": "update", + "group": "databases", "weight": 74, "cookies": false, "type": "", @@ -4486,6 +4506,7 @@ }, "x-appwrite": { "method": "delete", + "group": "databases", "weight": 75, "cookies": false, "type": "", @@ -4527,9 +4548,7 @@ "get": { "summary": "List collections", "operationId": "databasesListCollections", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -4547,6 +4566,7 @@ }, "x-appwrite": { "method": "listCollections", + "group": "collections", "weight": 77, "cookies": false, "type": "", @@ -4627,6 +4647,7 @@ }, "x-appwrite": { "method": "createCollection", + "group": "collections", "weight": 76, "cookies": false, "type": "", @@ -4714,9 +4735,7 @@ "get": { "summary": "Get collection", "operationId": "databasesGetCollection", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -4734,6 +4753,7 @@ }, "x-appwrite": { "method": "getCollection", + "group": "collections", "weight": 78, "cookies": false, "type": "", @@ -4801,6 +4821,7 @@ }, "x-appwrite": { "method": "updateCollection", + "group": "collections", "weight": 80, "cookies": false, "type": "", @@ -4902,6 +4923,7 @@ }, "x-appwrite": { "method": "deleteCollection", + "group": "collections", "weight": 81, "cookies": false, "type": "", @@ -4951,9 +4973,7 @@ "get": { "summary": "List attributes", "operationId": "databasesListAttributes", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -4971,6 +4991,7 @@ }, "x-appwrite": { "method": "listAttributes", + "group": "attributes", "weight": 92, "cookies": false, "type": "", @@ -5052,6 +5073,7 @@ }, "x-appwrite": { "method": "createBooleanAttribute", + "group": "attributes", "weight": 89, "cookies": false, "type": "", @@ -5158,6 +5180,7 @@ }, "x-appwrite": { "method": "updateBooleanAttribute", + "group": "attributes", "weight": 101, "cookies": false, "type": "", @@ -5266,6 +5289,7 @@ }, "x-appwrite": { "method": "createDatetimeAttribute", + "group": "attributes", "weight": 90, "cookies": false, "type": "", @@ -5372,6 +5396,7 @@ }, "x-appwrite": { "method": "updateDatetimeAttribute", + "group": "attributes", "weight": 102, "cookies": false, "type": "", @@ -5480,6 +5505,7 @@ }, "x-appwrite": { "method": "createEmailAttribute", + "group": "attributes", "weight": 83, "cookies": false, "type": "", @@ -5586,6 +5612,7 @@ }, "x-appwrite": { "method": "updateEmailAttribute", + "group": "attributes", "weight": 95, "cookies": false, "type": "", @@ -5694,6 +5721,7 @@ }, "x-appwrite": { "method": "createEnumAttribute", + "group": "attributes", "weight": 84, "cookies": false, "type": "", @@ -5810,6 +5838,7 @@ }, "x-appwrite": { "method": "updateEnumAttribute", + "group": "attributes", "weight": 96, "cookies": false, "type": "", @@ -5928,6 +5957,7 @@ }, "x-appwrite": { "method": "createFloatAttribute", + "group": "attributes", "weight": 88, "cookies": false, "type": "", @@ -6046,6 +6076,7 @@ }, "x-appwrite": { "method": "updateFloatAttribute", + "group": "attributes", "weight": 100, "cookies": false, "type": "", @@ -6166,6 +6197,7 @@ }, "x-appwrite": { "method": "createIntegerAttribute", + "group": "attributes", "weight": 87, "cookies": false, "type": "", @@ -6284,6 +6316,7 @@ }, "x-appwrite": { "method": "updateIntegerAttribute", + "group": "attributes", "weight": 99, "cookies": false, "type": "", @@ -6404,6 +6437,7 @@ }, "x-appwrite": { "method": "createIpAttribute", + "group": "attributes", "weight": 85, "cookies": false, "type": "", @@ -6510,6 +6544,7 @@ }, "x-appwrite": { "method": "updateIpAttribute", + "group": "attributes", "weight": 97, "cookies": false, "type": "", @@ -6618,6 +6653,7 @@ }, "x-appwrite": { "method": "createRelationshipAttribute", + "group": "attributes", "weight": 91, "cookies": false, "type": "", @@ -6751,6 +6787,7 @@ }, "x-appwrite": { "method": "createStringAttribute", + "group": "attributes", "weight": 82, "cookies": false, "type": "", @@ -6870,6 +6907,7 @@ }, "x-appwrite": { "method": "updateStringAttribute", + "group": "attributes", "weight": 94, "cookies": false, "type": "", @@ -6984,6 +7022,7 @@ }, "x-appwrite": { "method": "createUrlAttribute", + "group": "attributes", "weight": 86, "cookies": false, "type": "", @@ -7090,6 +7129,7 @@ }, "x-appwrite": { "method": "updateUrlAttribute", + "group": "attributes", "weight": 98, "cookies": false, "type": "", @@ -7178,9 +7218,7 @@ "get": { "summary": "Get attribute", "operationId": "databasesGetAttribute", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -7229,6 +7267,7 @@ }, "x-appwrite": { "method": "getAttribute", + "group": "attributes", "weight": 93, "cookies": false, "type": "", @@ -7298,6 +7337,7 @@ }, "x-appwrite": { "method": "deleteAttribute", + "group": "attributes", "weight": 104, "cookies": false, "type": "", @@ -7374,6 +7414,7 @@ }, "x-appwrite": { "method": "updateRelationshipAttribute", + "group": "attributes", "weight": 103, "cookies": false, "type": "", @@ -7458,9 +7499,7 @@ "get": { "summary": "List documents", "operationId": "databasesListDocuments", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -7478,6 +7517,7 @@ }, "x-appwrite": { "method": "listDocuments", + "group": "documents", "weight": 110, "cookies": false, "type": "", @@ -7561,6 +7601,7 @@ }, "x-appwrite": { "method": "createDocument", + "group": "documents", "weight": 109, "cookies": false, "type": "", @@ -7648,9 +7689,7 @@ "get": { "summary": "Get document", "operationId": "databasesGetDocument", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -7668,6 +7707,7 @@ }, "x-appwrite": { "method": "getDocument", + "group": "documents", "weight": 111, "cookies": false, "type": "", @@ -7759,6 +7799,7 @@ }, "x-appwrite": { "method": "updateDocument", + "group": "documents", "weight": 113, "cookies": false, "type": "", @@ -7857,6 +7898,7 @@ }, "x-appwrite": { "method": "deleteDocument", + "group": "documents", "weight": 114, "cookies": false, "type": "", @@ -7918,9 +7960,7 @@ "get": { "summary": "List indexes", "operationId": "databasesListIndexes", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -7938,6 +7978,7 @@ }, "x-appwrite": { "method": "listIndexes", + "group": "indexes", "weight": 106, "cookies": false, "type": "", @@ -8017,6 +8058,7 @@ }, "x-appwrite": { "method": "createIndex", + "group": "collections", "weight": 105, "cookies": false, "type": "", @@ -8117,9 +8159,7 @@ "get": { "summary": "Get index", "operationId": "databasesGetIndex", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -8137,6 +8177,7 @@ }, "x-appwrite": { "method": "getIndex", + "group": "indexes", "weight": 107, "cookies": false, "type": "", @@ -8206,6 +8247,7 @@ }, "x-appwrite": { "method": "deleteIndex", + "group": "indexes", "weight": 108, "cookies": false, "type": "", @@ -8262,9 +8304,7 @@ "get": { "summary": "List functions", "operationId": "functionsList", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -8282,7 +8322,8 @@ }, "x-appwrite": { "method": "list", - "weight": 373, + "group": "functions", + "weight": 372, "cookies": false, "type": "", "deprecated": false, @@ -8354,7 +8395,8 @@ }, "x-appwrite": { "method": "create", - "weight": 370, + "group": "functions", + "weight": 369, "cookies": false, "type": "", "deprecated": false, @@ -8585,9 +8627,7 @@ "get": { "summary": "List runtimes", "operationId": "functionsListRuntimes", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -8605,7 +8645,8 @@ }, "x-appwrite": { "method": "listRuntimes", - "weight": 375, + "group": "runtimes", + "weight": 374, "cookies": false, "type": "", "deprecated": false, @@ -8636,9 +8677,7 @@ "get": { "summary": "List specifications", "operationId": "functionsListSpecifications", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -8656,7 +8695,8 @@ }, "x-appwrite": { "method": "listSpecifications", - "weight": 376, + "group": "runtimes", + "weight": 375, "cookies": false, "type": "", "deprecated": false, @@ -8688,9 +8728,7 @@ "get": { "summary": "Get function", "operationId": "functionsGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -8708,7 +8746,8 @@ }, "x-appwrite": { "method": "get", - "weight": 371, + "group": "functions", + "weight": 370, "cookies": false, "type": "", "deprecated": false, @@ -8767,7 +8806,8 @@ }, "x-appwrite": { "method": "update", - "weight": 372, + "group": "functions", + "weight": 371, "cookies": false, "type": "", "deprecated": false, @@ -9012,7 +9052,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 374, + "group": "functions", + "weight": 373, "cookies": false, "type": "", "deprecated": false, @@ -9073,7 +9114,8 @@ }, "x-appwrite": { "method": "updateFunctionDeployment", - "weight": 379, + "group": "functions", + "weight": 378, "cookies": false, "type": "", "deprecated": false, @@ -9132,9 +9174,7 @@ "get": { "summary": "List deployments", "operationId": "functionsListDeployments", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -9152,7 +9192,8 @@ }, "x-appwrite": { "method": "listDeployments", - "weight": 380, + "group": "deployments", + "weight": 379, "cookies": false, "type": "", "deprecated": false, @@ -9232,7 +9273,8 @@ }, "x-appwrite": { "method": "createDeployment", - "weight": 377, + "group": "deployments", + "weight": 376, "cookies": false, "type": "upload", "deprecated": false, @@ -9324,7 +9366,8 @@ }, "x-appwrite": { "method": "createDuplicateDeployment", - "weight": 385, + "group": "deployments", + "weight": 384, "cookies": false, "type": "", "deprecated": false, @@ -9409,7 +9452,8 @@ }, "x-appwrite": { "method": "createTemplateDeployment", - "weight": 382, + "group": "deployments", + "weight": 381, "cookies": false, "type": "", "deprecated": false, @@ -9515,7 +9559,8 @@ }, "x-appwrite": { "method": "createVcsDeployment", - "weight": 383, + "group": "deployments", + "weight": 382, "cookies": false, "type": "", "deprecated": false, @@ -9593,9 +9638,7 @@ "get": { "summary": "Get deployment", "operationId": "functionsGetDeployment", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -9613,7 +9656,8 @@ }, "x-appwrite": { "method": "getDeployment", - "weight": 378, + "group": "deployments", + "weight": 377, "cookies": false, "type": "", "deprecated": false, @@ -9675,7 +9719,8 @@ }, "x-appwrite": { "method": "deleteDeployment", - "weight": 381, + "group": "deployments", + "weight": 380, "cookies": false, "type": "", "deprecated": false, @@ -9722,11 +9767,9 @@ }, "\/functions\/{functionId}\/deployments\/{deploymentId}\/download": { "get": { - "summary": "Download deployment", + "summary": "Get deployment download", "operationId": "functionsGetDeploymentDownload", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "*\/*" ], @@ -9744,7 +9787,8 @@ }, "x-appwrite": { "method": "getDeploymentDownload", - "weight": 384, + "group": "deployments", + "weight": 383, "cookies": false, "type": "location", "deprecated": false, @@ -9830,7 +9874,8 @@ }, "x-appwrite": { "method": "updateDeploymentStatus", - "weight": 386, + "group": "deployments", + "weight": 385, "cookies": false, "type": "", "deprecated": false, @@ -9879,9 +9924,7 @@ "get": { "summary": "List executions", "operationId": "functionsListExecutions", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -9899,7 +9942,8 @@ }, "x-appwrite": { "method": "listExecutions", - "weight": 389, + "group": "executions", + "weight": 388, "cookies": false, "type": "", "deprecated": false, @@ -9974,7 +10018,8 @@ }, "x-appwrite": { "method": "createExecution", - "weight": 387, + "group": "executions", + "weight": 386, "cookies": false, "type": "", "deprecated": false, @@ -10074,9 +10119,7 @@ "get": { "summary": "Get execution", "operationId": "functionsGetExecution", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -10094,7 +10137,8 @@ }, "x-appwrite": { "method": "getExecution", - "weight": 388, + "group": "executions", + "weight": 387, "cookies": false, "type": "", "deprecated": false, @@ -10160,7 +10204,8 @@ }, "x-appwrite": { "method": "deleteExecution", - "weight": 390, + "group": "executions", + "weight": 389, "cookies": false, "type": "", "deprecated": false, @@ -10209,9 +10254,7 @@ "get": { "summary": "List variables", "operationId": "functionsListVariables", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -10229,7 +10272,8 @@ }, "x-appwrite": { "method": "listVariables", - "weight": 395, + "group": "variables", + "weight": 394, "cookies": false, "type": "", "deprecated": false, @@ -10288,7 +10332,8 @@ }, "x-appwrite": { "method": "createVariable", - "weight": 393, + "group": "variables", + "weight": 392, "cookies": false, "type": "", "deprecated": false, @@ -10360,9 +10405,7 @@ "get": { "summary": "Get variable", "operationId": "functionsGetVariable", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -10380,7 +10423,8 @@ }, "x-appwrite": { "method": "getVariable", - "weight": 394, + "group": "variables", + "weight": 393, "cookies": false, "type": "", "deprecated": false, @@ -10447,7 +10491,8 @@ }, "x-appwrite": { "method": "updateVariable", - "weight": 396, + "group": "variables", + "weight": 395, "cookies": false, "type": "", "deprecated": false, @@ -10539,7 +10584,8 @@ }, "x-appwrite": { "method": "deleteVariable", - "weight": 397, + "group": "variables", + "weight": 396, "cookies": false, "type": "", "deprecated": false, @@ -10608,7 +10654,8 @@ }, "x-appwrite": { "method": "query", - "weight": 303, + "group": "graphql", + "weight": 302, "cookies": false, "type": "graphql", "deprecated": false, @@ -10683,7 +10730,8 @@ }, "x-appwrite": { "method": "mutation", - "weight": 302, + "group": "graphql", + "weight": 301, "cookies": false, "type": "graphql", "deprecated": false, @@ -10738,9 +10786,7 @@ "get": { "summary": "Get HTTP", "operationId": "healthGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -10758,6 +10804,7 @@ }, "x-appwrite": { "method": "get", + "group": "health", "weight": 126, "cookies": false, "type": "", @@ -10789,9 +10836,7 @@ "get": { "summary": "Get antivirus", "operationId": "healthGetAntivirus", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -10809,7 +10854,8 @@ }, "x-appwrite": { "method": "getAntivirus", - "weight": 148, + "group": "health", + "weight": 147, "cookies": false, "type": "", "deprecated": false, @@ -10840,9 +10886,7 @@ "get": { "summary": "Get cache", "operationId": "healthGetCache", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -10860,6 +10904,7 @@ }, "x-appwrite": { "method": "getCache", + "group": "health", "weight": 129, "cookies": false, "type": "", @@ -10891,9 +10936,7 @@ "get": { "summary": "Get the SSL certificate for a domain", "operationId": "healthGetCertificate", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -10911,6 +10954,7 @@ }, "x-appwrite": { "method": "getCertificate", + "group": "health", "weight": 134, "cookies": false, "type": "", @@ -10951,9 +10995,7 @@ "get": { "summary": "Get DB", "operationId": "healthGetDB", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -10971,6 +11013,7 @@ }, "x-appwrite": { "method": "getDB", + "group": "health", "weight": 128, "cookies": false, "type": "", @@ -11002,9 +11045,7 @@ "get": { "summary": "Get pubsub", "operationId": "healthGetPubSub", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11022,6 +11063,7 @@ }, "x-appwrite": { "method": "getPubSub", + "group": "health", "weight": 130, "cookies": false, "type": "", @@ -11053,9 +11095,7 @@ "get": { "summary": "Get builds queue", "operationId": "healthGetQueueBuilds", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11073,6 +11113,7 @@ }, "x-appwrite": { "method": "getQueueBuilds", + "group": "queue", "weight": 136, "cookies": false, "type": "", @@ -11115,9 +11156,7 @@ "get": { "summary": "Get certificates queue", "operationId": "healthGetQueueCertificates", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11135,6 +11174,7 @@ }, "x-appwrite": { "method": "getQueueCertificates", + "group": "queue", "weight": 135, "cookies": false, "type": "", @@ -11177,9 +11217,7 @@ "get": { "summary": "Get databases queue", "operationId": "healthGetQueueDatabases", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11197,6 +11235,7 @@ }, "x-appwrite": { "method": "getQueueDatabases", + "group": "queue", "weight": 137, "cookies": false, "type": "", @@ -11248,9 +11287,7 @@ "get": { "summary": "Get deletes queue", "operationId": "healthGetQueueDeletes", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11268,6 +11305,7 @@ }, "x-appwrite": { "method": "getQueueDeletes", + "group": "queue", "weight": 138, "cookies": false, "type": "", @@ -11310,9 +11348,7 @@ "get": { "summary": "Get number of failed queue jobs", "operationId": "healthGetFailedJobs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11330,7 +11366,8 @@ }, "x-appwrite": { "method": "getFailedJobs", - "weight": 149, + "group": "queue", + "weight": 148, "cookies": false, "type": "", "deprecated": false, @@ -11370,7 +11407,6 @@ "v1-functions", "v1-stats-resources", "v1-stats-usage", - "v1-stats-usage-dump", "v1-webhooks", "v1-certificates", "v1-builds", @@ -11397,9 +11433,7 @@ "get": { "summary": "Get functions queue", "operationId": "healthGetQueueFunctions", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11417,6 +11451,7 @@ }, "x-appwrite": { "method": "getQueueFunctions", + "group": "queue", "weight": 142, "cookies": false, "type": "", @@ -11459,9 +11494,7 @@ "get": { "summary": "Get logs queue", "operationId": "healthGetQueueLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11479,6 +11512,7 @@ }, "x-appwrite": { "method": "getQueueLogs", + "group": "queue", "weight": 133, "cookies": false, "type": "", @@ -11521,9 +11555,7 @@ "get": { "summary": "Get mails queue", "operationId": "healthGetQueueMails", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11541,6 +11573,7 @@ }, "x-appwrite": { "method": "getQueueMails", + "group": "queue", "weight": 139, "cookies": false, "type": "", @@ -11583,9 +11616,7 @@ "get": { "summary": "Get messaging queue", "operationId": "healthGetQueueMessaging", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11603,6 +11634,7 @@ }, "x-appwrite": { "method": "getQueueMessaging", + "group": "queue", "weight": 140, "cookies": false, "type": "", @@ -11645,9 +11677,7 @@ "get": { "summary": "Get migrations queue", "operationId": "healthGetQueueMigrations", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11665,6 +11695,7 @@ }, "x-appwrite": { "method": "getQueueMigrations", + "group": "queue", "weight": 141, "cookies": false, "type": "", @@ -11707,9 +11738,7 @@ "get": { "summary": "Get stats resources queue", "operationId": "healthGetQueueStatsResources", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11727,6 +11756,7 @@ }, "x-appwrite": { "method": "getQueueStatsResources", + "group": "queue", "weight": 143, "cookies": false, "type": "", @@ -11769,9 +11799,7 @@ "get": { "summary": "Get stats usage queue", "operationId": "healthGetQueueUsage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11789,6 +11817,7 @@ }, "x-appwrite": { "method": "getQueueUsage", + "group": "queue", "weight": 144, "cookies": false, "type": "", @@ -11827,75 +11856,11 @@ ] } }, - "\/health\/queue\/stats-usage-dump": { - "get": { - "summary": "Get usage dump queue", - "operationId": "healthGetQueueStatsUsageDump", - "consumes": [ - "application\/json" - ], - "produces": [ - "application\/json" - ], - "tags": [ - "health" - ], - "description": "Get the number of projects containing metrics that are waiting to be processed in the Appwrite internal queue server.", - "responses": { - "200": { - "description": "Health Queue", - "schema": { - "$ref": "#\/definitions\/healthQueue" - } - } - }, - "x-appwrite": { - "method": "getQueueStatsUsageDump", - "weight": 145, - "cookies": false, - "type": "", - "deprecated": false, - "demo": "health\/get-queue-stats-usage-dump.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/master\/docs\/references\/health\/get-queue-stats-usage-dump.md", - "rate-limit": 0, - "rate-time": 3600, - "rate-key": "url:{url},ip:{ip}", - "scope": "health.read", - "platforms": [ - "server" - ], - "packaging": false, - "auth": { - "Project": [], - "Key": [] - } - }, - "security": [ - { - "Project": [], - "Key": [] - } - ], - "parameters": [ - { - "name": "threshold", - "description": "Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.", - "required": false, - "type": "integer", - "format": "int32", - "default": 5000, - "in": "query" - } - ] - } - }, "\/health\/queue\/webhooks": { "get": { "summary": "Get webhooks queue", "operationId": "healthGetQueueWebhooks", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11913,6 +11878,7 @@ }, "x-appwrite": { "method": "getQueueWebhooks", + "group": "queue", "weight": 132, "cookies": false, "type": "", @@ -11955,9 +11921,7 @@ "get": { "summary": "Get storage", "operationId": "healthGetStorage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -11975,7 +11939,8 @@ }, "x-appwrite": { "method": "getStorage", - "weight": 147, + "group": "storage", + "weight": 146, "cookies": false, "type": "", "deprecated": false, @@ -12006,9 +11971,7 @@ "get": { "summary": "Get local storage", "operationId": "healthGetStorageLocal", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12026,7 +11989,8 @@ }, "x-appwrite": { "method": "getStorageLocal", - "weight": 146, + "group": "storage", + "weight": 145, "cookies": false, "type": "", "deprecated": false, @@ -12057,9 +12021,7 @@ "get": { "summary": "Get time", "operationId": "healthGetTime", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12077,6 +12039,7 @@ }, "x-appwrite": { "method": "getTime", + "group": "health", "weight": 131, "cookies": false, "type": "", @@ -12108,9 +12071,7 @@ "get": { "summary": "Get user locale", "operationId": "localeGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12128,6 +12089,7 @@ }, "x-appwrite": { "method": "get", + "group": null, "weight": 118, "cookies": false, "type": "", @@ -12163,9 +12125,7 @@ "get": { "summary": "List locale codes", "operationId": "localeListCodes", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12183,6 +12143,7 @@ }, "x-appwrite": { "method": "listCodes", + "group": null, "weight": 119, "cookies": false, "type": "", @@ -12218,9 +12179,7 @@ "get": { "summary": "List continents", "operationId": "localeListContinents", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12238,6 +12197,7 @@ }, "x-appwrite": { "method": "listContinents", + "group": null, "weight": 123, "cookies": false, "type": "", @@ -12273,9 +12233,7 @@ "get": { "summary": "List countries", "operationId": "localeListCountries", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12293,6 +12251,7 @@ }, "x-appwrite": { "method": "listCountries", + "group": null, "weight": 120, "cookies": false, "type": "", @@ -12328,9 +12287,7 @@ "get": { "summary": "List EU countries", "operationId": "localeListCountriesEU", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12348,6 +12305,7 @@ }, "x-appwrite": { "method": "listCountriesEU", + "group": null, "weight": 121, "cookies": false, "type": "", @@ -12383,9 +12341,7 @@ "get": { "summary": "List countries phone codes", "operationId": "localeListCountriesPhones", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12403,6 +12359,7 @@ }, "x-appwrite": { "method": "listCountriesPhones", + "group": null, "weight": 122, "cookies": false, "type": "", @@ -12438,9 +12395,7 @@ "get": { "summary": "List currencies", "operationId": "localeListCurrencies", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12458,6 +12413,7 @@ }, "x-appwrite": { "method": "listCurrencies", + "group": null, "weight": 124, "cookies": false, "type": "", @@ -12493,9 +12449,7 @@ "get": { "summary": "List languages", "operationId": "localeListLanguages", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12513,6 +12467,7 @@ }, "x-appwrite": { "method": "listLanguages", + "group": null, "weight": 125, "cookies": false, "type": "", @@ -12548,9 +12503,7 @@ "get": { "summary": "List messages", "operationId": "messagingListMessages", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -12568,7 +12521,8 @@ }, "x-appwrite": { "method": "listMessages", - "weight": 357, + "group": "messages", + "weight": 356, "cookies": false, "type": "", "deprecated": false, @@ -12643,7 +12597,8 @@ }, "x-appwrite": { "method": "createEmail", - "weight": 354, + "group": "messages", + "weight": 353, "cookies": false, "type": "", "deprecated": false, @@ -12801,7 +12756,8 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 361, + "group": "messages", + "weight": 360, "cookies": false, "type": "", "deprecated": false, @@ -12956,7 +12912,8 @@ }, "x-appwrite": { "method": "createPush", - "weight": 356, + "group": "messages", + "weight": 355, "cookies": false, "type": "", "deprecated": false, @@ -13151,7 +13108,8 @@ }, "x-appwrite": { "method": "updatePush", - "weight": 363, + "group": "messages", + "weight": 362, "cookies": false, "type": "", "deprecated": false, @@ -13345,7 +13303,8 @@ }, "x-appwrite": { "method": "createSms", - "weight": 355, + "group": "messages", + "weight": 354, "cookies": false, "type": "", "deprecated": false, @@ -13463,7 +13422,8 @@ }, "x-appwrite": { "method": "updateSms", - "weight": 362, + "group": "messages", + "weight": 361, "cookies": false, "type": "", "deprecated": false, @@ -13559,9 +13519,7 @@ "get": { "summary": "Get message", "operationId": "messagingGetMessage", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -13579,7 +13537,8 @@ }, "x-appwrite": { "method": "getMessage", - "weight": 360, + "group": "messages", + "weight": 359, "cookies": false, "type": "", "deprecated": false, @@ -13634,7 +13593,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 364, + "group": "messages", + "weight": 363, "cookies": false, "type": "", "deprecated": false, @@ -13676,9 +13636,7 @@ "get": { "summary": "List message logs", "operationId": "messagingListMessageLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -13696,7 +13654,8 @@ }, "x-appwrite": { "method": "listMessageLogs", - "weight": 358, + "group": "logs", + "weight": 357, "cookies": false, "type": "", "deprecated": false, @@ -13750,9 +13709,7 @@ "get": { "summary": "List message targets", "operationId": "messagingListTargets", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -13770,7 +13727,8 @@ }, "x-appwrite": { "method": "listTargets", - "weight": 359, + "group": "messages", + "weight": 358, "cookies": false, "type": "", "deprecated": false, @@ -13824,9 +13782,7 @@ "get": { "summary": "List providers", "operationId": "messagingListProviders", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -13844,7 +13800,8 @@ }, "x-appwrite": { "method": "listProviders", - "weight": 329, + "group": "providers", + "weight": 328, "cookies": false, "type": "", "deprecated": false, @@ -13919,7 +13876,8 @@ }, "x-appwrite": { "method": "createApnsProvider", - "weight": 328, + "group": "providers", + "weight": 327, "cookies": false, "type": "", "deprecated": false, @@ -14034,7 +13992,8 @@ }, "x-appwrite": { "method": "updateApnsProvider", - "weight": 341, + "group": "providers", + "weight": 340, "cookies": false, "type": "", "deprecated": false, @@ -14147,7 +14106,8 @@ }, "x-appwrite": { "method": "createFcmProvider", - "weight": 327, + "group": "providers", + "weight": 326, "cookies": false, "type": "", "deprecated": false, @@ -14238,7 +14198,8 @@ }, "x-appwrite": { "method": "updateFcmProvider", - "weight": 340, + "group": "providers", + "weight": 339, "cookies": false, "type": "", "deprecated": false, @@ -14327,7 +14288,8 @@ }, "x-appwrite": { "method": "createMailgunProvider", - "weight": 319, + "group": "providers", + "weight": 318, "cookies": false, "type": "", "deprecated": false, @@ -14454,7 +14416,8 @@ }, "x-appwrite": { "method": "updateMailgunProvider", - "weight": 332, + "group": "providers", + "weight": 331, "cookies": false, "type": "", "deprecated": false, @@ -14579,7 +14542,8 @@ }, "x-appwrite": { "method": "createMsg91Provider", - "weight": 322, + "group": "providers", + "weight": 321, "cookies": false, "type": "", "deprecated": false, @@ -14682,7 +14646,8 @@ }, "x-appwrite": { "method": "updateMsg91Provider", - "weight": 335, + "group": "providers", + "weight": 334, "cookies": false, "type": "", "deprecated": false, @@ -14783,7 +14748,8 @@ }, "x-appwrite": { "method": "createSendgridProvider", - "weight": 320, + "group": "providers", + "weight": 319, "cookies": false, "type": "", "deprecated": false, @@ -14898,7 +14864,8 @@ }, "x-appwrite": { "method": "updateSendgridProvider", - "weight": 333, + "group": "providers", + "weight": 332, "cookies": false, "type": "", "deprecated": false, @@ -15011,7 +14978,8 @@ }, "x-appwrite": { "method": "createSmtpProvider", - "weight": 321, + "group": "providers", + "weight": 320, "cookies": false, "type": "", "deprecated": false, @@ -15170,7 +15138,8 @@ }, "x-appwrite": { "method": "updateSmtpProvider", - "weight": 334, + "group": "providers", + "weight": 333, "cookies": false, "type": "", "deprecated": false, @@ -15326,7 +15295,8 @@ }, "x-appwrite": { "method": "createTelesignProvider", - "weight": 323, + "group": "providers", + "weight": 322, "cookies": false, "type": "", "deprecated": false, @@ -15429,7 +15399,8 @@ }, "x-appwrite": { "method": "updateTelesignProvider", - "weight": 336, + "group": "providers", + "weight": 335, "cookies": false, "type": "", "deprecated": false, @@ -15530,7 +15501,8 @@ }, "x-appwrite": { "method": "createTextmagicProvider", - "weight": 324, + "group": "providers", + "weight": 323, "cookies": false, "type": "", "deprecated": false, @@ -15633,7 +15605,8 @@ }, "x-appwrite": { "method": "updateTextmagicProvider", - "weight": 337, + "group": "providers", + "weight": 336, "cookies": false, "type": "", "deprecated": false, @@ -15734,7 +15707,8 @@ }, "x-appwrite": { "method": "createTwilioProvider", - "weight": 325, + "group": "providers", + "weight": 324, "cookies": false, "type": "", "deprecated": false, @@ -15837,7 +15811,8 @@ }, "x-appwrite": { "method": "updateTwilioProvider", - "weight": 338, + "group": "providers", + "weight": 337, "cookies": false, "type": "", "deprecated": false, @@ -15938,7 +15913,8 @@ }, "x-appwrite": { "method": "createVonageProvider", - "weight": 326, + "group": "providers", + "weight": 325, "cookies": false, "type": "", "deprecated": false, @@ -16041,7 +16017,8 @@ }, "x-appwrite": { "method": "updateVonageProvider", - "weight": 339, + "group": "providers", + "weight": 338, "cookies": false, "type": "", "deprecated": false, @@ -16122,9 +16099,7 @@ "get": { "summary": "Get provider", "operationId": "messagingGetProvider", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -16142,7 +16117,8 @@ }, "x-appwrite": { "method": "getProvider", - "weight": 331, + "group": "providers", + "weight": 330, "cookies": false, "type": "", "deprecated": false, @@ -16197,7 +16173,8 @@ }, "x-appwrite": { "method": "deleteProvider", - "weight": 342, + "group": "providers", + "weight": 341, "cookies": false, "type": "", "deprecated": false, @@ -16239,9 +16216,7 @@ "get": { "summary": "List provider logs", "operationId": "messagingListProviderLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -16259,7 +16234,8 @@ }, "x-appwrite": { "method": "listProviderLogs", - "weight": 330, + "group": "providers", + "weight": 329, "cookies": false, "type": "", "deprecated": false, @@ -16313,9 +16289,7 @@ "get": { "summary": "List subscriber logs", "operationId": "messagingListSubscriberLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -16333,7 +16307,8 @@ }, "x-appwrite": { "method": "listSubscriberLogs", - "weight": 351, + "group": "subscribers", + "weight": 350, "cookies": false, "type": "", "deprecated": false, @@ -16387,9 +16362,7 @@ "get": { "summary": "List topics", "operationId": "messagingListTopics", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -16407,7 +16380,8 @@ }, "x-appwrite": { "method": "listTopics", - "weight": 344, + "group": "topics", + "weight": 343, "cookies": false, "type": "", "deprecated": false, @@ -16480,7 +16454,8 @@ }, "x-appwrite": { "method": "createTopic", - "weight": 343, + "group": "topics", + "weight": 342, "cookies": false, "type": "", "deprecated": false, @@ -16550,9 +16525,7 @@ "get": { "summary": "Get topic", "operationId": "messagingGetTopic", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -16570,7 +16543,8 @@ }, "x-appwrite": { "method": "getTopic", - "weight": 346, + "group": "topics", + "weight": 345, "cookies": false, "type": "", "deprecated": false, @@ -16630,7 +16604,8 @@ }, "x-appwrite": { "method": "updateTopic", - "weight": 347, + "group": "topics", + "weight": 346, "cookies": false, "type": "", "deprecated": false, @@ -16709,7 +16684,8 @@ }, "x-appwrite": { "method": "deleteTopic", - "weight": 348, + "group": "topics", + "weight": 347, "cookies": false, "type": "", "deprecated": false, @@ -16751,9 +16727,7 @@ "get": { "summary": "List topic logs", "operationId": "messagingListTopicLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -16771,7 +16745,8 @@ }, "x-appwrite": { "method": "listTopicLogs", - "weight": 345, + "group": "topics", + "weight": 344, "cookies": false, "type": "", "deprecated": false, @@ -16825,9 +16800,7 @@ "get": { "summary": "List subscribers", "operationId": "messagingListSubscribers", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -16845,7 +16818,8 @@ }, "x-appwrite": { "method": "listSubscribers", - "weight": 350, + "group": "subscribers", + "weight": 349, "cookies": false, "type": "", "deprecated": false, @@ -16926,7 +16900,8 @@ }, "x-appwrite": { "method": "createSubscriber", - "weight": 349, + "group": "subscribers", + "weight": 348, "cookies": false, "type": "", "deprecated": false, @@ -16997,9 +16972,7 @@ "get": { "summary": "Get subscriber", "operationId": "messagingGetSubscriber", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -17017,7 +16990,8 @@ }, "x-appwrite": { "method": "getSubscriber", - "weight": 352, + "group": "subscribers", + "weight": 351, "cookies": false, "type": "", "deprecated": false, @@ -17080,7 +17054,8 @@ }, "x-appwrite": { "method": "deleteSubscriber", - "weight": 353, + "group": "subscribers", + "weight": 352, "cookies": false, "type": "", "deprecated": false, @@ -17134,9 +17109,7 @@ "get": { "summary": "List sites", "operationId": "sitesList", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -17154,7 +17127,8 @@ }, "x-appwrite": { "method": "list", - "weight": 402, + "group": "sites", + "weight": 401, "cookies": false, "type": "", "deprecated": false, @@ -17226,7 +17200,8 @@ }, "x-appwrite": { "method": "create", - "weight": 400, + "group": "sites", + "weight": 399, "cookies": false, "type": "", "deprecated": false, @@ -17472,9 +17447,7 @@ "get": { "summary": "List frameworks", "operationId": "sitesListFrameworks", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -17492,7 +17465,8 @@ }, "x-appwrite": { "method": "listFrameworks", - "weight": 405, + "group": "frameworks", + "weight": 404, "cookies": false, "type": "", "deprecated": false, @@ -17523,9 +17497,7 @@ "get": { "summary": "List specifications", "operationId": "sitesListSpecifications", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -17543,7 +17515,8 @@ }, "x-appwrite": { "method": "listSpecifications", - "weight": 428, + "group": "frameworks", + "weight": 427, "cookies": false, "type": "", "deprecated": false, @@ -17575,9 +17548,7 @@ "get": { "summary": "Get site", "operationId": "sitesGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -17595,7 +17566,8 @@ }, "x-appwrite": { "method": "get", - "weight": 401, + "group": "sites", + "weight": 400, "cookies": false, "type": "", "deprecated": false, @@ -17654,7 +17626,8 @@ }, "x-appwrite": { "method": "update", - "weight": 403, + "group": "sites", + "weight": 402, "cookies": false, "type": "", "deprecated": false, @@ -17913,7 +17886,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 404, + "group": "sites", + "weight": 403, "cookies": false, "type": "", "deprecated": false, @@ -17974,7 +17948,8 @@ }, "x-appwrite": { "method": "updateSiteDeployment", - "weight": 411, + "group": "sites", + "weight": 410, "cookies": false, "type": "", "deprecated": false, @@ -18033,9 +18008,7 @@ "get": { "summary": "List deployments", "operationId": "sitesListDeployments", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -18053,7 +18026,8 @@ }, "x-appwrite": { "method": "listDeployments", - "weight": 410, + "group": "deployments", + "weight": 409, "cookies": false, "type": "", "deprecated": false, @@ -18133,7 +18107,8 @@ }, "x-appwrite": { "method": "createDeployment", - "weight": 406, + "group": "deployments", + "weight": 405, "cookies": false, "type": "upload", "deprecated": false, @@ -18233,7 +18208,8 @@ }, "x-appwrite": { "method": "createDuplicateDeployment", - "weight": 414, + "group": "deployments", + "weight": 413, "cookies": false, "type": "", "deprecated": false, @@ -18312,7 +18288,8 @@ }, "x-appwrite": { "method": "createTemplateDeployment", - "weight": 407, + "group": "deployments", + "weight": 406, "cookies": false, "type": "", "deprecated": false, @@ -18418,7 +18395,8 @@ }, "x-appwrite": { "method": "createVcsDeployment", - "weight": 408, + "group": "deployments", + "weight": 407, "cookies": false, "type": "", "deprecated": false, @@ -18497,9 +18475,7 @@ "get": { "summary": "Get deployment", "operationId": "sitesGetDeployment", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -18517,7 +18493,8 @@ }, "x-appwrite": { "method": "getDeployment", - "weight": 409, + "group": "deployments", + "weight": 408, "cookies": false, "type": "", "deprecated": false, @@ -18579,7 +18556,8 @@ }, "x-appwrite": { "method": "deleteDeployment", - "weight": 412, + "group": "deployments", + "weight": 411, "cookies": false, "type": "", "deprecated": false, @@ -18626,11 +18604,9 @@ }, "\/sites\/{siteId}\/deployments\/{deploymentId}\/download": { "get": { - "summary": "Download deployment", + "summary": "Get deployment download", "operationId": "sitesGetDeploymentDownload", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "*\/*" ], @@ -18648,7 +18624,8 @@ }, "x-appwrite": { "method": "getDeploymentDownload", - "weight": 413, + "group": "deployments", + "weight": 412, "cookies": false, "type": "location", "deprecated": false, @@ -18734,7 +18711,8 @@ }, "x-appwrite": { "method": "updateDeploymentStatus", - "weight": 415, + "group": "deployments", + "weight": 414, "cookies": false, "type": "", "deprecated": false, @@ -18783,9 +18761,7 @@ "get": { "summary": "List logs", "operationId": "sitesListLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -18803,7 +18779,8 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 417, + "group": "logs", + "weight": 416, "cookies": false, "type": "", "deprecated": false, @@ -18856,9 +18833,7 @@ "get": { "summary": "Get log", "operationId": "sitesGetLog", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -18876,7 +18851,8 @@ }, "x-appwrite": { "method": "getLog", - "weight": 416, + "group": "logs", + "weight": 415, "cookies": false, "type": "", "deprecated": false, @@ -18940,7 +18916,8 @@ }, "x-appwrite": { "method": "deleteLog", - "weight": 418, + "group": "logs", + "weight": 417, "cookies": false, "type": "", "deprecated": false, @@ -18989,9 +18966,7 @@ "get": { "summary": "List variables", "operationId": "sitesListVariables", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -19009,7 +18984,8 @@ }, "x-appwrite": { "method": "listVariables", - "weight": 421, + "group": "variables", + "weight": 420, "cookies": false, "type": "", "deprecated": false, @@ -19068,7 +19044,8 @@ }, "x-appwrite": { "method": "createVariable", - "weight": 419, + "group": "variables", + "weight": 418, "cookies": false, "type": "", "deprecated": false, @@ -19140,9 +19117,7 @@ "get": { "summary": "Get variable", "operationId": "sitesGetVariable", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -19160,7 +19135,8 @@ }, "x-appwrite": { "method": "getVariable", - "weight": 420, + "group": "variables", + "weight": 419, "cookies": false, "type": "", "deprecated": false, @@ -19227,7 +19203,8 @@ }, "x-appwrite": { "method": "updateVariable", - "weight": 422, + "group": "variables", + "weight": 421, "cookies": false, "type": "", "deprecated": false, @@ -19319,7 +19296,8 @@ }, "x-appwrite": { "method": "deleteVariable", - "weight": 423, + "group": "variables", + "weight": 422, "cookies": false, "type": "", "deprecated": false, @@ -19368,9 +19346,7 @@ "get": { "summary": "List buckets", "operationId": "storageListBuckets", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -19388,7 +19364,8 @@ }, "x-appwrite": { "method": "listBuckets", - "weight": 204, + "group": "buckets", + "weight": 203, "cookies": false, "type": "", "deprecated": false, @@ -19460,7 +19437,8 @@ }, "x-appwrite": { "method": "createBucket", - "weight": 203, + "group": "buckets", + "weight": 202, "cookies": false, "type": "", "deprecated": false, @@ -19579,9 +19557,7 @@ "get": { "summary": "Get bucket", "operationId": "storageGetBucket", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -19599,7 +19575,8 @@ }, "x-appwrite": { "method": "getBucket", - "weight": 205, + "group": "buckets", + "weight": 204, "cookies": false, "type": "", "deprecated": false, @@ -19658,7 +19635,8 @@ }, "x-appwrite": { "method": "updateBucket", - "weight": 206, + "group": "buckets", + "weight": 205, "cookies": false, "type": "", "deprecated": false, @@ -19791,7 +19769,8 @@ }, "x-appwrite": { "method": "deleteBucket", - "weight": 207, + "group": "buckets", + "weight": 206, "cookies": false, "type": "", "deprecated": false, @@ -19832,9 +19811,7 @@ "get": { "summary": "List files", "operationId": "storageListFiles", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -19852,7 +19829,8 @@ }, "x-appwrite": { "method": "listFiles", - "weight": 209, + "group": "files", + "weight": 208, "cookies": false, "type": "", "deprecated": false, @@ -19936,7 +19914,8 @@ }, "x-appwrite": { "method": "createFile", - "weight": 208, + "group": "files", + "weight": 207, "cookies": false, "type": "upload", "deprecated": false, @@ -20009,9 +19988,7 @@ "get": { "summary": "Get file", "operationId": "storageGetFile", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -20029,7 +20006,8 @@ }, "x-appwrite": { "method": "getFile", - "weight": 210, + "group": "files", + "weight": 209, "cookies": false, "type": "", "deprecated": false, @@ -20100,7 +20078,8 @@ }, "x-appwrite": { "method": "updateFile", - "weight": 215, + "group": "files", + "weight": 214, "cookies": false, "type": "", "deprecated": false, @@ -20190,7 +20169,8 @@ }, "x-appwrite": { "method": "deleteFile", - "weight": 216, + "group": "files", + "weight": 215, "cookies": false, "type": "", "deprecated": false, @@ -20243,9 +20223,7 @@ "get": { "summary": "Get file for download", "operationId": "storageGetFileDownload", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "*\/*" ], @@ -20263,7 +20241,8 @@ }, "x-appwrite": { "method": "getFileDownload", - "weight": 212, + "group": "files", + "weight": 211, "cookies": false, "type": "location", "deprecated": false, @@ -20316,9 +20295,7 @@ "get": { "summary": "Get file preview", "operationId": "storageGetFilePreview", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "image\/*" ], @@ -20336,7 +20313,8 @@ }, "x-appwrite": { "method": "getFilePreview", - "weight": 211, + "group": "files", + "weight": 210, "cookies": false, "type": "location", "deprecated": false, @@ -20517,9 +20495,7 @@ "get": { "summary": "Get file for view", "operationId": "storageGetFileView", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "*\/*" ], @@ -20537,7 +20513,8 @@ }, "x-appwrite": { "method": "getFileView", - "weight": 213, + "group": "files", + "weight": 212, "cookies": false, "type": "location", "deprecated": false, @@ -20590,9 +20567,7 @@ "get": { "summary": "List teams", "operationId": "teamsList", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -20610,7 +20585,8 @@ }, "x-appwrite": { "method": "list", - "weight": 220, + "group": "teams", + "weight": 219, "cookies": false, "type": "", "deprecated": false, @@ -20686,7 +20662,8 @@ }, "x-appwrite": { "method": "create", - "weight": 219, + "group": "teams", + "weight": 218, "cookies": false, "type": "", "deprecated": false, @@ -20759,9 +20736,7 @@ "get": { "summary": "Get team", "operationId": "teamsGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -20779,7 +20754,8 @@ }, "x-appwrite": { "method": "get", - "weight": 221, + "group": "teams", + "weight": 220, "cookies": false, "type": "", "deprecated": false, @@ -20842,7 +20818,8 @@ }, "x-appwrite": { "method": "updateName", - "weight": 223, + "group": "teams", + "weight": 222, "cookies": false, "type": "", "deprecated": false, @@ -20918,7 +20895,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 225, + "group": "teams", + "weight": 224, "cookies": false, "type": "", "deprecated": false, @@ -20963,9 +20941,7 @@ "get": { "summary": "List team memberships", "operationId": "teamsListMemberships", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -20983,7 +20959,8 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 227, + "group": "memberships", + "weight": 226, "cookies": false, "type": "", "deprecated": false, @@ -21067,7 +21044,8 @@ }, "x-appwrite": { "method": "createMembership", - "weight": 226, + "group": "memberships", + "weight": 225, "cookies": false, "type": "", "deprecated": false, @@ -21163,9 +21141,7 @@ "get": { "summary": "Get team membership", "operationId": "teamsGetMembership", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -21183,7 +21159,8 @@ }, "x-appwrite": { "method": "getMembership", - "weight": 228, + "group": "memberships", + "weight": 227, "cookies": false, "type": "", "deprecated": false, @@ -21254,7 +21231,8 @@ }, "x-appwrite": { "method": "updateMembership", - "weight": 229, + "group": "memberships", + "weight": 228, "cookies": false, "type": "", "deprecated": false, @@ -21341,7 +21319,8 @@ }, "x-appwrite": { "method": "deleteMembership", - "weight": 231, + "group": "memberships", + "weight": 230, "cookies": false, "type": "", "deprecated": false, @@ -21414,7 +21393,8 @@ }, "x-appwrite": { "method": "updateMembershipStatus", - "weight": 230, + "group": "memberships", + "weight": 229, "cookies": false, "type": "", "deprecated": false, @@ -21490,9 +21470,7 @@ "get": { "summary": "Get team preferences", "operationId": "teamsGetPrefs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -21510,7 +21488,8 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 222, + "group": "teams", + "weight": 221, "cookies": false, "type": "", "deprecated": false, @@ -21571,7 +21550,8 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 224, + "group": "teams", + "weight": 223, "cookies": false, "type": "", "deprecated": false, @@ -21632,9 +21612,7 @@ "get": { "summary": "List tokens", "operationId": "tokensList", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -21652,7 +21630,8 @@ }, "x-appwrite": { "method": "list", - "weight": 432, + "group": "files", + "weight": 436, "cookies": false, "type": "", "deprecated": false, @@ -21735,7 +21714,8 @@ }, "x-appwrite": { "method": "createFileToken", - "weight": 429, + "group": "files", + "weight": 433, "cookies": false, "type": "", "deprecated": false, @@ -21813,9 +21793,7 @@ "get": { "summary": "Get token", "operationId": "tokensGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -21833,7 +21811,8 @@ }, "x-appwrite": { "method": "get", - "weight": 430, + "group": "tokens", + "weight": 434, "cookies": false, "type": "", "deprecated": false, @@ -21896,7 +21875,8 @@ }, "x-appwrite": { "method": "update", - "weight": 433, + "group": "tokens", + "weight": 437, "cookies": false, "type": "", "deprecated": false, @@ -21979,7 +21959,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 434, + "group": "tokens", + "weight": 438, "cookies": false, "type": "", "deprecated": false, @@ -22024,9 +22005,7 @@ "get": { "summary": "Get token as JWT", "operationId": "tokensGetJWT", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -22044,7 +22023,8 @@ }, "x-appwrite": { "method": "getJWT", - "weight": 431, + "group": "tokens", + "weight": 435, "cookies": false, "type": "", "deprecated": false, @@ -22089,9 +22069,7 @@ "get": { "summary": "List users", "operationId": "usersList", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -22109,7 +22087,8 @@ }, "x-appwrite": { "method": "list", - "weight": 242, + "group": "users", + "weight": 241, "cookies": false, "type": "", "deprecated": false, @@ -22181,7 +22160,8 @@ }, "x-appwrite": { "method": "create", - "weight": 233, + "group": "users", + "weight": 232, "cookies": false, "type": "", "deprecated": false, @@ -22276,7 +22256,8 @@ }, "x-appwrite": { "method": "createArgon2User", - "weight": 236, + "group": "users", + "weight": 235, "cookies": false, "type": "", "deprecated": false, @@ -22367,7 +22348,8 @@ }, "x-appwrite": { "method": "createBcryptUser", - "weight": 234, + "group": "users", + "weight": 233, "cookies": false, "type": "", "deprecated": false, @@ -22438,9 +22420,7 @@ "get": { "summary": "List identities", "operationId": "usersListIdentities", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -22458,7 +22438,8 @@ }, "x-appwrite": { "method": "listIdentities", - "weight": 250, + "group": "identities", + "weight": 249, "cookies": false, "type": "", "deprecated": false, @@ -22527,7 +22508,8 @@ }, "x-appwrite": { "method": "deleteIdentity", - "weight": 273, + "group": "identities", + "weight": 272, "cookies": false, "type": "", "deprecated": false, @@ -22588,7 +22570,8 @@ }, "x-appwrite": { "method": "createMD5User", - "weight": 235, + "group": "users", + "weight": 234, "cookies": false, "type": "", "deprecated": false, @@ -22679,7 +22662,8 @@ }, "x-appwrite": { "method": "createPHPassUser", - "weight": 238, + "group": "users", + "weight": 237, "cookies": false, "type": "", "deprecated": false, @@ -22770,7 +22754,8 @@ }, "x-appwrite": { "method": "createScryptUser", - "weight": 239, + "group": "users", + "weight": 238, "cookies": false, "type": "", "deprecated": false, @@ -22896,7 +22881,8 @@ }, "x-appwrite": { "method": "createScryptModifiedUser", - "weight": 240, + "group": "users", + "weight": 239, "cookies": false, "type": "", "deprecated": false, @@ -23008,7 +22994,8 @@ }, "x-appwrite": { "method": "createSHAUser", - "weight": 237, + "group": "users", + "weight": 236, "cookies": false, "type": "", "deprecated": false, @@ -23100,9 +23087,7 @@ "get": { "summary": "Get user", "operationId": "usersGet", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -23120,7 +23105,8 @@ }, "x-appwrite": { "method": "get", - "weight": 243, + "group": "users", + "weight": 242, "cookies": false, "type": "", "deprecated": false, @@ -23174,7 +23160,8 @@ }, "x-appwrite": { "method": "delete", - "weight": 271, + "group": "users", + "weight": 270, "cookies": false, "type": "", "deprecated": false, @@ -23235,7 +23222,8 @@ }, "x-appwrite": { "method": "updateEmail", - "weight": 256, + "group": "users", + "weight": 255, "cookies": false, "type": "", "deprecated": false, @@ -23314,7 +23302,8 @@ }, "x-appwrite": { "method": "createJWT", - "weight": 274, + "group": "sessions", + "weight": 273, "cookies": false, "type": "", "deprecated": false, @@ -23396,7 +23385,8 @@ }, "x-appwrite": { "method": "updateLabels", - "weight": 252, + "group": "users", + "weight": 251, "cookies": false, "type": "", "deprecated": false, @@ -23458,9 +23448,7 @@ "get": { "summary": "List user logs", "operationId": "usersListLogs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -23478,7 +23466,8 @@ }, "x-appwrite": { "method": "listLogs", - "weight": 248, + "group": "logs", + "weight": 247, "cookies": false, "type": "", "deprecated": false, @@ -23531,9 +23520,7 @@ "get": { "summary": "List user memberships", "operationId": "usersListMemberships", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -23551,7 +23538,8 @@ }, "x-appwrite": { "method": "listMemberships", - "weight": 247, + "group": "memberships", + "weight": 246, "cookies": false, "type": "", "deprecated": false, @@ -23633,7 +23621,8 @@ }, "x-appwrite": { "method": "updateMfa", - "weight": 261, + "group": "users", + "weight": 260, "cookies": false, "type": "", "deprecated": false, @@ -23707,7 +23696,8 @@ }, "x-appwrite": { "method": "deleteMfaAuthenticator", - "weight": 266, + "group": "mfa", + "weight": 265, "cookies": false, "type": "", "deprecated": false, @@ -23761,9 +23751,7 @@ "get": { "summary": "List factors", "operationId": "usersListMfaFactors", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -23781,7 +23769,8 @@ }, "x-appwrite": { "method": "listMfaFactors", - "weight": 262, + "group": "mfa", + "weight": 261, "cookies": false, "type": "", "deprecated": false, @@ -23822,9 +23811,7 @@ "get": { "summary": "Get MFA recovery codes", "operationId": "usersGetMfaRecoveryCodes", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -23842,7 +23829,8 @@ }, "x-appwrite": { "method": "getMfaRecoveryCodes", - "weight": 263, + "group": "mfa", + "weight": 262, "cookies": false, "type": "", "deprecated": false, @@ -23879,7 +23867,7 @@ ] }, "put": { - "summary": "Regenerate MFA recovery codes", + "summary": "Update MFA recovery codes (regenerate)", "operationId": "usersUpdateMfaRecoveryCodes", "consumes": [ "application\/json" @@ -23901,7 +23889,8 @@ }, "x-appwrite": { "method": "updateMfaRecoveryCodes", - "weight": 265, + "group": "mfa", + "weight": 264, "cookies": false, "type": "", "deprecated": false, @@ -23960,7 +23949,8 @@ }, "x-appwrite": { "method": "createMfaRecoveryCodes", - "weight": 264, + "group": "mfa", + "weight": 263, "cookies": false, "type": "", "deprecated": false, @@ -24021,7 +24011,8 @@ }, "x-appwrite": { "method": "updateName", - "weight": 254, + "group": "users", + "weight": 253, "cookies": false, "type": "", "deprecated": false, @@ -24100,7 +24091,8 @@ }, "x-appwrite": { "method": "updatePassword", - "weight": 255, + "group": "users", + "weight": 254, "cookies": false, "type": "", "deprecated": false, @@ -24179,7 +24171,8 @@ }, "x-appwrite": { "method": "updatePhone", - "weight": 257, + "group": "users", + "weight": 256, "cookies": false, "type": "", "deprecated": false, @@ -24238,9 +24231,7 @@ "get": { "summary": "Get user preferences", "operationId": "usersGetPrefs", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -24258,7 +24249,8 @@ }, "x-appwrite": { "method": "getPrefs", - "weight": 244, + "group": "users", + "weight": 243, "cookies": false, "type": "", "deprecated": false, @@ -24317,7 +24309,8 @@ }, "x-appwrite": { "method": "updatePrefs", - "weight": 259, + "group": "users", + "weight": 258, "cookies": false, "type": "", "deprecated": false, @@ -24376,9 +24369,7 @@ "get": { "summary": "List user sessions", "operationId": "usersListSessions", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -24396,7 +24387,8 @@ }, "x-appwrite": { "method": "listSessions", - "weight": 246, + "group": "sessions", + "weight": 245, "cookies": false, "type": "", "deprecated": false, @@ -24455,7 +24447,8 @@ }, "x-appwrite": { "method": "createSession", - "weight": 267, + "group": "sessions", + "weight": 266, "cookies": false, "type": "", "deprecated": false, @@ -24509,7 +24502,8 @@ }, "x-appwrite": { "method": "deleteSessions", - "weight": 270, + "group": "sessions", + "weight": 269, "cookies": false, "type": "", "deprecated": false, @@ -24565,7 +24559,8 @@ }, "x-appwrite": { "method": "deleteSession", - "weight": 269, + "group": "sessions", + "weight": 268, "cookies": false, "type": "", "deprecated": false, @@ -24634,7 +24629,8 @@ }, "x-appwrite": { "method": "updateStatus", - "weight": 251, + "group": "users", + "weight": 250, "cookies": false, "type": "", "deprecated": false, @@ -24693,9 +24689,7 @@ "get": { "summary": "List user targets", "operationId": "usersListTargets", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -24713,7 +24707,8 @@ }, "x-appwrite": { "method": "listTargets", - "weight": 249, + "group": "targets", + "weight": 248, "cookies": false, "type": "", "deprecated": false, @@ -24785,7 +24780,8 @@ }, "x-appwrite": { "method": "createTarget", - "weight": 241, + "group": "targets", + "weight": 240, "cookies": false, "type": "", "deprecated": false, @@ -24878,9 +24874,7 @@ "get": { "summary": "Get user target", "operationId": "usersGetTarget", - "consumes": [ - "application\/json" - ], + "consumes": [], "produces": [ "application\/json" ], @@ -24898,7 +24892,8 @@ }, "x-appwrite": { "method": "getTarget", - "weight": 245, + "group": "targets", + "weight": 244, "cookies": false, "type": "", "deprecated": false, @@ -24966,7 +24961,8 @@ }, "x-appwrite": { "method": "updateTarget", - "weight": 260, + "group": "targets", + "weight": 259, "cookies": false, "type": "", "deprecated": false, @@ -25056,7 +25052,8 @@ }, "x-appwrite": { "method": "deleteTarget", - "weight": 272, + "group": "targets", + "weight": 271, "cookies": false, "type": "", "deprecated": false, @@ -25126,7 +25123,8 @@ }, "x-appwrite": { "method": "createToken", - "weight": 268, + "group": "sessions", + "weight": 267, "cookies": false, "type": "", "deprecated": false, @@ -25208,7 +25206,8 @@ }, "x-appwrite": { "method": "updateEmailVerification", - "weight": 258, + "group": "users", + "weight": 257, "cookies": false, "type": "", "deprecated": false, @@ -25287,7 +25286,8 @@ }, "x-appwrite": { "method": "updatePhoneVerification", - "weight": 253, + "group": "users", + "weight": 252, "cookies": false, "type": "", "deprecated": false, diff --git a/app/config/templates/site.php b/app/config/templates/site.php index 6989cc026d..7f8951d0f9 100644 --- a/app/config/templates/site.php +++ b/app/config/templates/site.php @@ -183,13 +183,15 @@ return [ 'variables' => [] ], [ - 'key' => 'lynx-starter', - 'name' => 'Lynx Starter', - 'tagline' => 'Sample application built with Lynx, a cross-platform framework focused on performance.', + 'key' => 'playground-for-lynx', + 'name' => 'Lynx playground', + 'tagline' => 'A basic Lynx website without Appwrite SDK integration.', + // When we add Lynx with Appwrite SDK, use following tagline for it: + // 'tagline' => 'Sample application built with Lynx, a cross-platform framework focused on performance.', 'score' => 1, // 0 to 10 based on looks of screenshot (avoid 1,2,3,8,9,10 if possible) 'useCases' => [UseCases::STARTER], - 'screenshotDark' => $url . '/images/sites/templates/lynx-starter-dark.png', - 'screenshotLight' => $url . '/images/sites/templates/lynx-starter-light.png', + 'screenshotDark' => $url . '/images/sites/templates/playground-for-lynx-dark.png', + 'screenshotLight' => $url . '/images/sites/templates/playground-for-lynx-light.png', 'frameworks' => [ getFramework('LYNX', [ 'providerRootDirectory' => './lynx/starter', @@ -1108,15 +1110,14 @@ return [ 'providerVersion' => '0.1.*', 'variables' => [] ], - // TODO: Remove astro starter eventually, or add all frameworks's starters [ - 'key' => 'astro-starter', - 'name' => 'Astro starter', - 'tagline' => 'Sample application built with Astro, a content-driven web framework.', + 'key' => 'playground-for-astro', + 'name' => 'Astro playground', + 'tagline' => 'A basic Astro website without Appwrite SDK integration.', 'score' => 1, // 0 to 10 based on looks of screenshot (avoid 1,2,3,8,9,10 if possible) 'useCases' => [UseCases::STARTER], - 'screenshotDark' => $url . '/images/sites/templates/astro-starter-dark.png', - 'screenshotLight' => $url . '/images/sites/templates/astro-starter-light.png', + 'screenshotDark' => $url . '/images/sites/templates/playground-for-astro-dark.png', + 'screenshotLight' => $url . '/images/sites/templates/playground-for-astro-light.png', 'frameworks' => [ getFramework('ASTRO', [ 'providerRootDirectory' => './astro/starter', @@ -1125,17 +1126,17 @@ return [ 'vcsProvider' => 'github', 'providerRepositoryId' => 'templates-for-sites', 'providerOwner' => 'appwrite', - 'providerVersion' => '0.2.*', + 'providerVersion' => '0.3.*', 'variables' => [], ], [ - 'key' => 'remix-starter', - 'name' => 'Remix starter', - 'tagline' => 'Sample application built with Remix, a React meta-framework.', + 'key' => 'playground-for-remix', + 'name' => 'Remix playground', + 'tagline' => 'A basic Remix website without Appwrite SDK integration.', 'score' => 1, // 0 to 10 based on looks of screenshot (avoid 1,2,3,8,9,10 if possible) 'useCases' => [UseCases::STARTER], - 'screenshotDark' => $url . '/images/sites/templates/remix-starter-dark.png', - 'screenshotLight' => $url . '/images/sites/templates/remix-starter-light.png', + 'screenshotDark' => $url . '/images/sites/templates/playground-for-remix-dark.png', + 'screenshotLight' => $url . '/images/sites/templates/playground-for-remix-light.png', 'frameworks' => [ getFramework('REMIX', [ 'providerRootDirectory' => './remix/starter', @@ -1144,7 +1145,201 @@ return [ 'vcsProvider' => 'github', 'providerRepositoryId' => 'templates-for-sites', 'providerOwner' => 'appwrite', - 'providerVersion' => '0.2.*', + 'providerVersion' => '0.3.*', + 'variables' => [], + ], + [ + 'key' => 'playground-for-nextjs', + 'name' => 'Next.js playground', + 'tagline' => 'A basic Next.js website without Appwrite SDK integration.', + 'score' => 1, // 0 to 10 based on looks of screenshot (avoid 1,2,3,8,9,10 if possible) + 'useCases' => [UseCases::STARTER], + 'screenshotDark' => $url . '/images/sites/templates/playground-for-nextjs-dark.png', + 'screenshotLight' => $url . '/images/sites/templates/playground-for-nextjs-light.png', + 'frameworks' => [ + getFramework('NEXTJS', [ + 'providerRootDirectory' => './nextjs/starter', + ]), + ], + 'vcsProvider' => 'github', + 'providerRepositoryId' => 'templates-for-sites', + 'providerOwner' => 'appwrite', + 'providerVersion' => '0.3.*', + 'variables' => [], + ], + [ + 'key' => 'playground-for-flutter', + 'name' => 'Flutter playground', + 'tagline' => 'A basic Flutter website without Appwrite SDK integration.', + 'score' => 1, // 0 to 10 based on looks of screenshot (avoid 1,2,3,8,9,10 if possible) + 'useCases' => [UseCases::STARTER], + 'screenshotDark' => $url . '/images/sites/templates/playground-for-flutter-dark.png', + 'screenshotLight' => $url . '/images/sites/templates/playground-for-flutter-light.png', + 'frameworks' => [ + getFramework('FLUTTER', [ + 'providerRootDirectory' => './flutter/starter', + ]), + ], + 'vcsProvider' => 'github', + 'providerRepositoryId' => 'templates-for-sites', + 'providerOwner' => 'appwrite', + 'providerVersion' => '0.3.*', + 'variables' => [], + ], + [ + 'key' => 'playground-for-vite', + 'name' => 'Vite playground', + 'tagline' => 'A basic Vite website without Appwrite SDK integration.', + 'score' => 1, // 0 to 10 based on looks of screenshot (avoid 1,2,3,8,9,10 if possible) + 'useCases' => [UseCases::STARTER], + 'screenshotDark' => $url . '/images/sites/templates/playground-for-vite-dark.png', + 'screenshotLight' => $url . '/images/sites/templates/playground-for-vite-light.png', + 'frameworks' => [ + getFramework('VITE', [ + 'providerRootDirectory' => './vite/starter', + ]), + ], + 'vcsProvider' => 'github', + 'providerRepositoryId' => 'templates-for-sites', + 'providerOwner' => 'appwrite', + 'providerVersion' => '0.3.*', + 'variables' => [], + ], + [ + 'key' => 'playground-for-angular', + 'name' => 'Angular playground', + 'tagline' => 'A basic Angular website without Appwrite SDK integration.', + 'score' => 1, // 0 to 10 based on looks of screenshot (avoid 1,2,3,8,9,10 if possible) + 'useCases' => [UseCases::STARTER], + 'screenshotDark' => $url . '/images/sites/templates/playground-for-angular-dark.png', + 'screenshotLight' => $url . '/images/sites/templates/playground-for-angular-light.png', + 'frameworks' => [ + getFramework('ANGULAR', [ + 'providerRootDirectory' => './angular/starter', + 'outputDirectory' => './dist/starter/browser', + ]), + ], + 'vcsProvider' => 'github', + 'providerRepositoryId' => 'templates-for-sites', + 'providerOwner' => 'appwrite', + 'providerVersion' => '0.3.*', + 'variables' => [], + ], + [ + 'key' => 'playground-for-analog', + 'name' => 'Analog playground', + 'tagline' => 'A basic Analog website without Appwrite SDK integration.', + 'score' => 1, // 0 to 10 based on looks of screenshot (avoid 1,2,3,8,9,10 if possible) + 'useCases' => [UseCases::STARTER], + 'screenshotDark' => $url . '/images/sites/templates/playground-for-analog-dark.png', + 'screenshotLight' => $url . '/images/sites/templates/playground-for-analog-light.png', + 'frameworks' => [ + getFramework('ANALOG', [ + 'providerRootDirectory' => './analog/starter', + ]), + ], + 'vcsProvider' => 'github', + 'providerRepositoryId' => 'templates-for-sites', + 'providerOwner' => 'appwrite', + 'providerVersion' => '0.3.*', + 'variables' => [], + ], + [ + 'key' => 'playground-for-svelte', + 'name' => 'Svelte playground', + 'tagline' => 'A basic Svelte website without Appwrite SDK integration.', + 'score' => 1, // 0 to 10 based on looks of screenshot (avoid 1,2,3,8,9,10 if possible) + 'useCases' => [UseCases::STARTER], + 'screenshotDark' => $url . '/images/sites/templates/playground-for-svelte-dark.png', + 'screenshotLight' => $url . '/images/sites/templates/playground-for-svelte-light.png', + 'frameworks' => [ + getFramework('SVELTEKIT', [ + 'providerRootDirectory' => './sveltekit/starter', + ]), + ], + 'vcsProvider' => 'github', + 'providerRepositoryId' => 'templates-for-sites', + 'providerOwner' => 'appwrite', + 'providerVersion' => '0.3.*', + 'variables' => [], + ], + + [ + 'key' => 'playground-for-react', + 'name' => 'React playground', + 'tagline' => 'A basic React website without Appwrite SDK integration.', + 'score' => 1, // 0 to 10 based on looks of screenshot (avoid 1,2,3,8,9,10 if possible) + 'useCases' => [UseCases::STARTER], + 'screenshotDark' => $url . '/images/sites/templates/playground-for-react-dark.png', + 'screenshotLight' => $url . '/images/sites/templates/playground-for-react-light.png', + 'frameworks' => [ + getFramework('REACT', [ + 'outputDirectory' => './build', + 'providerRootDirectory' => './react/starter', + ]), + ], + 'vcsProvider' => 'github', + 'providerRepositoryId' => 'templates-for-sites', + 'providerOwner' => 'appwrite', + 'providerVersion' => '0.3.*', + 'variables' => [], + ], + + [ + 'key' => 'playground-for-vue', + 'name' => 'Vue playground', + 'tagline' => 'A basic Vue website without Appwrite SDK integration.', + 'score' => 1, // 0 to 10 based on looks of screenshot (avoid 1,2,3,8,9,10 if possible) + 'useCases' => [UseCases::STARTER], + 'screenshotDark' => $url . '/images/sites/templates/playground-for-vue-dark.png', + 'screenshotLight' => $url . '/images/sites/templates/playground-for-vue-light.png', + 'frameworks' => [ + getFramework('VUE', [ + 'providerRootDirectory' => './vue/starter', + ]), + ], + 'vcsProvider' => 'github', + 'providerRepositoryId' => 'templates-for-sites', + 'providerOwner' => 'appwrite', + 'providerVersion' => '0.3.*', + 'variables' => [], + ], + [ + 'key' => 'playground-for-nuxt', + 'name' => 'Nuxt playground', + 'tagline' => 'A basic Nuxt website without Appwrite SDK integration.', + 'score' => 1, // 0 to 10 based on looks of screenshot (avoid 1,2,3,8,9,10 if possible) + 'useCases' => [UseCases::STARTER], + 'screenshotDark' => $url . '/images/sites/templates/playground-for-nuxt-dark.png', + 'screenshotLight' => $url . '/images/sites/templates/playground-for-nuxt-light.png', + 'frameworks' => [ + getFramework('NUXT', [ + 'providerRootDirectory' => './nuxt/starter', + ]), + ], + 'vcsProvider' => 'github', + 'providerRepositoryId' => 'templates-for-sites', + 'providerOwner' => 'appwrite', + 'providerVersion' => '0.3.*', + 'variables' => [], + ], + [ + 'key' => 'playground-for-react-native', + 'name' => 'React Native playground', + 'tagline' => 'A basic React Native website without Appwrite SDK integration.', + 'score' => 1, // 0 to 10 based on looks of screenshot (avoid 1,2,3,8,9,10 if possible) + 'useCases' => [UseCases::STARTER], + 'screenshotDark' => $url . '/images/sites/templates/playground-for-react-native-dark.png', + 'screenshotLight' => $url . '/images/sites/templates/playground-for-react-native-light.png', + 'frameworks' => [ + getFramework('REACT', [ + 'providerRootDirectory' => './react-native/starter', + ]), + ], + 'vcsProvider' => 'github', + 'providerRepositoryId' => 'templates-for-sites', + 'providerOwner' => 'appwrite', + 'providerVersion' => '0.3.*', 'variables' => [], ], ]; diff --git a/app/config/variables.php b/app/config/variables.php index 3083ae893d..c845f25667 100644 --- a/app/config/variables.php +++ b/app/config/variables.php @@ -88,6 +88,15 @@ return [ 'question' => 'Enter your Appwrite hostname', 'filter' => '' ], + [ + 'name' => '_APP_CUSTOM_DOMAIN_DENY_LIST', + 'description' => 'List of reserved or prohibited domains when configuring custom domains.', + 'introduction' => '', + 'default' => 'example.com,test.com,app.example.com', + 'required' => false, + 'question' => '', + 'filter' => '' + ], [ 'name' => '_APP_DOMAIN_FUNCTIONS', 'description' => 'A domain to use for function preview URLs. Setting to empty turns off function preview URLs.', diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index 1deef8afdd..1ee25c0f2c 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -43,6 +43,7 @@ use Utopia\Database\Database; use Utopia\Database\DateTime; use Utopia\Database\Document; use Utopia\Database\Exception\Duplicate; +use Utopia\Database\Exception\Order as OrderException; use Utopia\Database\Exception\Query as QueryException; use Utopia\Database\Helpers\ID; use Utopia\Database\Helpers\Permission; @@ -155,9 +156,6 @@ function sendSessionAlert(Locale $locale, Document $user, Document $project, Doc $createSession = function (string $userId, string $secret, Request $request, Response $response, Document $user, Database $dbForProject, Document $project, Locale $locale, Reader $geodb, Event $queueForEvents, Mail $queueForMails) { - $roles = Authorization::getRoles(); - $isPrivilegedUser = Auth::isPrivilegedUser($roles); - $isAppUser = Auth::isAppUser($roles); /** @var Utopia\Database\Document $user */ $userFromRequest = Authorization::skip(fn () => $dbForProject->getDocument('users', $userId)); @@ -273,7 +271,7 @@ $createSession = function (string $userId, string $secret, Request $request, Res ->setAttribute('current', true) ->setAttribute('countryName', $countryName) ->setAttribute('expire', $expire) - ->setAttribute('secret', ($isPrivilegedUser || $isAppUser) ? Auth::encodeSession($user->getId(), $sessionSecret) : '') + ->setAttribute('secret', Auth::encodeSession($user->getId(), $sessionSecret)) ; $response->dynamic($session, Response::MODEL_SESSION); @@ -289,6 +287,7 @@ App::post('/v1/account') ->label('audits.userId', '{response.$id}') ->label('sdk', new Method( namespace: 'account', + group: 'account', name: 'create', description: '/docs/references/account/create.md', auth: [], @@ -432,6 +431,7 @@ App::get('/v1/account') ->label('scope', 'account') ->label('sdk', new Method( namespace: 'account', + group: 'account', name: 'get', description: '/docs/references/account/get.md', auth: [AuthType::SESSION, AuthType::JWT], @@ -461,6 +461,7 @@ App::delete('/v1/account') ->label('audits.resource', 'user/{response.$id}') ->label('sdk', new Method( namespace: 'account', + group: 'account', name: 'delete', description: '/docs/references/account/delete.md', auth: [AuthType::ADMIN], @@ -513,6 +514,7 @@ App::get('/v1/account/sessions') ->label('scope', 'account') ->label('sdk', new Method( namespace: 'account', + group: 'sessions', name: 'listSessions', description: '/docs/references/account/list-sessions.md', auth: [AuthType::SESSION, AuthType::JWT], @@ -530,9 +532,6 @@ App::get('/v1/account/sessions') ->inject('project') ->action(function (Response $response, Document $user, Locale $locale, Document $project) { - $roles = Authorization::getRoles(); - $isPrivilegedUser = Auth::isPrivilegedUser($roles); - $isAppUser = Auth::isAppUser($roles); $sessions = $user->getAttribute('sessions', []); $current = Auth::sessionVerify($sessions, Auth::$secret); @@ -542,7 +541,7 @@ App::get('/v1/account/sessions') $session->setAttribute('countryName', $countryName); $session->setAttribute('current', ($current == $session->getId()) ? true : false); - $session->setAttribute('secret', ($isPrivilegedUser || $isAppUser) ? $session->getAttribute('secret', '') : ''); + $session->setAttribute('secret', $session->getAttribute('secret', '')); $sessions[$key] = $session; } @@ -562,6 +561,7 @@ App::delete('/v1/account/sessions') ->label('audits.resource', 'user/{user.$id}') ->label('sdk', new Method( namespace: 'account', + group: 'sessions', name: 'deleteSessions', description: '/docs/references/account/delete-sessions.md', auth: [AuthType::SESSION, AuthType::JWT], @@ -631,6 +631,7 @@ App::get('/v1/account/sessions/:sessionId') ->label('scope', 'account') ->label('sdk', new Method( namespace: 'account', + group: 'sessions', name: 'getSession', description: '/docs/references/account/get-session.md', auth: [AuthType::SESSION, AuthType::JWT], @@ -649,10 +650,6 @@ App::get('/v1/account/sessions/:sessionId') ->inject('project') ->action(function (?string $sessionId, Response $response, Document $user, Locale $locale, Document $project) { - $roles = Authorization::getRoles(); - $isPrivilegedUser = Auth::isPrivilegedUser($roles); - $isAppUser = Auth::isAppUser($roles); - $sessions = $user->getAttribute('sessions', []); $sessionId = ($sessionId === 'current') ? Auth::sessionVerify($user->getAttribute('sessions'), Auth::$secret) @@ -665,7 +662,7 @@ App::get('/v1/account/sessions/:sessionId') $session ->setAttribute('current', ($session->getAttribute('secret') == Auth::hash(Auth::$secret))) ->setAttribute('countryName', $countryName) - ->setAttribute('secret', ($isPrivilegedUser || $isAppUser) ? $session->getAttribute('secret', '') : '') + ->setAttribute('secret', $session->getAttribute('secret', '')) ; return $response->dynamic($session, Response::MODEL_SESSION); @@ -684,6 +681,7 @@ App::delete('/v1/account/sessions/:sessionId') ->label('audits.resource', 'user/{user.$id}') ->label('sdk', new Method( namespace: 'account', + group: 'sessions', name: 'deleteSession', description: '/docs/references/account/delete-session.md', auth: [AuthType::SESSION, AuthType::JWT], @@ -772,6 +770,7 @@ App::patch('/v1/account/sessions/:sessionId') ->label('audits.userId', '{response.userId}') ->label('sdk', new Method( namespace: 'account', + group: 'sessions', name: 'updateSession', description: '/docs/references/account/update-session.md', auth: [AuthType::SESSION, AuthType::JWT], @@ -856,6 +855,7 @@ App::post('/v1/account/sessions/email') ->label('audits.userId', '{response.userId}') ->label('sdk', new Method( namespace: 'account', + group: 'sessions', name: 'createEmailPasswordSession', description: '/docs/references/account/create-session-email-password.md', auth: [], @@ -897,10 +897,6 @@ App::post('/v1/account/sessions/email') throw new Exception(Exception::USER_BLOCKED); // User is in status blocked } - $roles = Authorization::getRoles(); - $isPrivilegedUser = Auth::isPrivilegedUser($roles); - $isAppUser = Auth::isAppUser($roles); - $user->setAttributes($profile->getArrayCopy()); $hooks->trigger('passwordValidator', [$dbForProject, $project, $password, &$user, false]); @@ -966,7 +962,7 @@ App::post('/v1/account/sessions/email') $session ->setAttribute('current', true) ->setAttribute('countryName', $countryName) - ->setAttribute('secret', ($isPrivilegedUser || $isAppUser) ? Auth::encodeSession($user->getId(), $secret) : '') + ->setAttribute('secret', Auth::encodeSession($user->getId(), $secret)) ; $queueForEvents @@ -996,6 +992,7 @@ App::post('/v1/account/sessions/anonymous') ->label('audits.userId', '{response.userId}') ->label('sdk', new Method( namespace: 'account', + group: 'sessions', name: 'createAnonymousSession', description: '/docs/references/account/create-session-anonymous.md', auth: [], @@ -1019,9 +1016,6 @@ App::post('/v1/account/sessions/anonymous') ->inject('queueForEvents') ->action(function (Request $request, Response $response, Locale $locale, Document $user, Document $project, Database $dbForProject, Reader $geodb, Event $queueForEvents) { $protocol = $request->getProtocol(); - $roles = Authorization::getRoles(); - $isPrivilegedUser = Auth::isPrivilegedUser($roles); - $isAppUser = Auth::isAppUser($roles); if ('console' === $project->getId()) { throw new Exception(Exception::USER_ANONYMOUS_CONSOLE_PROHIBITED, 'Failed to create anonymous user'); @@ -1123,7 +1117,7 @@ App::post('/v1/account/sessions/anonymous') $session ->setAttribute('current', true) ->setAttribute('countryName', $countryName) - ->setAttribute('secret', ($isPrivilegedUser || $isAppUser) ? Auth::encodeSession($user->getId(), $secret) : '') + ->setAttribute('secret', Auth::encodeSession($user->getId(), $secret)) ; $response->dynamic($session, Response::MODEL_SESSION); @@ -1139,6 +1133,7 @@ App::post('/v1/account/sessions/token') ->label('audits.userId', '{response.userId}') ->label('sdk', new Method( namespace: 'account', + group: 'sessions', name: 'createSession', description: '/docs/references/account/create-session.md', auth: [], @@ -1172,6 +1167,7 @@ App::get('/v1/account/sessions/oauth2/:provider') ->label('scope', 'sessions.write') ->label('sdk', new Method( namespace: 'account', + group: 'sessions', name: 'createOAuth2Session', description: '/docs/references/account/create-session-oauth2.md', type: MethodType::WEBAUTH, @@ -1243,7 +1239,7 @@ App::get('/v1/account/sessions/oauth2/:provider') }); App::get('/v1/account/sessions/oauth2/callback/:provider/:projectId') - ->desc('OAuth2 callback') + ->desc('Get OAuth2 callback') ->groups(['account']) ->label('error', __DIR__ . '/../../views/general/error.phtml') ->label('scope', 'public') @@ -1273,7 +1269,7 @@ App::get('/v1/account/sessions/oauth2/callback/:provider/:projectId') }); App::post('/v1/account/sessions/oauth2/callback/:provider/:projectId') - ->desc('OAuth2 callback') + ->desc('Create OAuth2 callback') ->groups(['account']) ->label('error', __DIR__ . '/../../views/general/error.phtml') ->label('scope', 'public') @@ -1304,7 +1300,7 @@ App::post('/v1/account/sessions/oauth2/callback/:provider/:projectId') }); App::get('/v1/account/sessions/oauth2/:provider/redirect') - ->desc('OAuth2 redirect') + ->desc('Get OAuth2 redirect') ->groups(['api', 'account', 'session']) ->label('error', __DIR__ . '/../../views/general/error.phtml') ->label('event', 'users.[userId].sessions.[sessionId].create') @@ -1449,7 +1445,7 @@ App::get('/v1/account/sessions/oauth2/:provider/redirect') Query::notEqual('userInternalId', $user->getInternalId()), ]); if (!$identityWithMatchingEmail->isEmpty()) { - throw new Exception(Exception::USER_ALREADY_EXISTS); + $failureRedirect(Exception::USER_ALREADY_EXISTS); } $userWithMatchingEmail = $dbForProject->find('users', [ @@ -1457,7 +1453,7 @@ App::get('/v1/account/sessions/oauth2/:provider/redirect') Query::notEqual('$id', $userId), ]); if (!empty($userWithMatchingEmail)) { - throw new Exception(Exception::USER_ALREADY_EXISTS); + $failureRedirect(Exception::USER_ALREADY_EXISTS); } $sessionUpgrade = true; @@ -1486,7 +1482,7 @@ App::get('/v1/account/sessions/oauth2/:provider/redirect') if ($user === false || $user->isEmpty()) { // No user logged in or with OAuth2 provider ID, create new one or connect with account with same email if (empty($email)) { - throw new Exception(Exception::USER_UNAUTHORIZED, 'OAuth provider failed to return email.'); + $failureRedirect(Exception::USER_UNAUTHORIZED, 'OAuth provider failed to return email.'); } /** @@ -1529,7 +1525,7 @@ App::get('/v1/account/sessions/oauth2/:provider/redirect') Query::equal('providerEmail', [$email]), ]); if (!$identityWithMatchingEmail->isEmpty()) { - throw new Exception(Exception::GENERAL_BAD_REQUEST); /** Return a generic bad request to prevent exposing existing accounts */ + $failureRedirect(Exception::GENERAL_BAD_REQUEST); /** Return a generic bad request to prevent exposing existing accounts */ } try { @@ -1601,7 +1597,7 @@ App::get('/v1/account/sessions/oauth2/:provider/redirect') Query::notEqual('userInternalId', $user->getInternalId()), ]); if (!empty($identitiesWithMatchingEmail)) { - throw new Exception(Exception::GENERAL_BAD_REQUEST); /** Return a generic bad request to prevent exposing existing accounts */ + $failureRedirect(Exception::GENERAL_BAD_REQUEST); /** Return a generic bad request to prevent exposing existing accounts */ } $dbForProject->createDocument('identities', new Document([ @@ -1769,6 +1765,7 @@ App::get('/v1/account/tokens/oauth2/:provider') ->label('scope', 'sessions.write') ->label('sdk', new Method( namespace: 'account', + group: 'tokens', name: 'createOAuth2Token', description: '/docs/references/account/create-token-oauth2.md', auth: [], @@ -1849,6 +1846,7 @@ App::post('/v1/account/tokens/magic-url') ->label('audits.userId', '{response.userId}') ->label('sdk', new Method( namespace: 'account', + group: 'tokens', name: 'createMagicURLToken', description: '/docs/references/account/create-token-magic-url.md', auth: [], @@ -1884,9 +1882,6 @@ App::post('/v1/account/tokens/magic-url') $phrase = Phrase::generate(); } - $roles = Authorization::getRoles(); - $isPrivilegedUser = Auth::isPrivilegedUser($roles); - $isAppUser = Auth::isAppUser($roles); $result = $dbForProject->findOne('users', [Query::equal('email', [$email])]); if (!$result->isEmpty()) { @@ -2068,17 +2063,11 @@ App::post('/v1/account/tokens/magic-url') ->setRecipient($email) ->trigger(); - // Set to unhashed secret for events and server responses $token->setAttribute('secret', $tokenSecret); $queueForEvents ->setPayload($response->output($token, Response::MODEL_TOKEN), sensitive: ['secret']); - // Hide secret for clients - if (!$isPrivilegedUser && !$isAppUser) { - $token->setAttribute('secret', ''); - } - if (!empty($phrase)) { $token->setAttribute('phrase', $phrase); } @@ -2098,6 +2087,7 @@ App::post('/v1/account/tokens/email') ->label('audits.userId', '{response.userId}') ->label('sdk', new Method( namespace: 'account', + group: 'tokens', name: 'createEmailToken', description: '/docs/references/account/create-token-email.md', auth: [], @@ -2131,10 +2121,6 @@ App::post('/v1/account/tokens/email') $phrase = Phrase::generate(); } - $roles = Authorization::getRoles(); - $isPrivilegedUser = Auth::isPrivilegedUser($roles); - $isAppUser = Auth::isAppUser($roles); - $result = $dbForProject->findOne('users', [Query::equal('email', [$email])]); if (!$result->isEmpty()) { $user->setAttributes($result->getArrayCopy()); @@ -2303,17 +2289,11 @@ App::post('/v1/account/tokens/email') ->setRecipient($email) ->trigger(); - // Set to unhashed secret for events and server responses $token->setAttribute('secret', $tokenSecret); $queueForEvents ->setPayload($response->output($token, Response::MODEL_TOKEN), sensitive: ['secret']); - // Hide secret for clients - if (!$isPrivilegedUser && !$isAppUser) { - $token->setAttribute('secret', ''); - } - if (!empty($phrase)) { $token->setAttribute('phrase', $phrase); } @@ -2333,6 +2313,7 @@ App::put('/v1/account/sessions/magic-url') ->label('audits.userId', '{response.userId}') ->label('sdk', new Method( namespace: 'account', + group: 'sessions', name: 'updateMagicURLSession', description: '/docs/references/account/create-session.md', auth: [], @@ -2370,6 +2351,7 @@ App::put('/v1/account/sessions/phone') ->label('audits.userId', '{response.userId}') ->label('sdk', new Method( namespace: 'account', + group: 'sessions', name: 'updatePhoneSession', description: '/docs/references/account/create-session.md', auth: [], @@ -2408,6 +2390,7 @@ App::post('/v1/account/tokens/phone') ->label('audits.userId', '{response.userId}') ->label('sdk', new Method( namespace: 'account', + group: 'tokens', name: 'createPhoneToken', description: '/docs/references/account/create-token-phone.md', auth: [], @@ -2439,10 +2422,6 @@ App::post('/v1/account/tokens/phone') throw new Exception(Exception::GENERAL_PHONE_DISABLED, 'Phone provider not configured'); } - $roles = Authorization::getRoles(); - $isPrivilegedUser = Auth::isPrivilegedUser($roles); - $isAppUser = Auth::isAppUser($roles); - $result = $dbForProject->findOne('users', [Query::equal('phone', [$phone])]); if (!$result->isEmpty()) { $user->setAttributes($result->getArrayCopy()); @@ -2594,14 +2573,13 @@ App::post('/v1/account/tokens/phone') } } - // Set to unhashed secret for events and server responses $token->setAttribute('secret', $secret); $queueForEvents ->setPayload($response->output($token, Response::MODEL_TOKEN), sensitive: ['secret']); - // Hide secret for clients - $token->setAttribute('secret', ($isPrivilegedUser || $isAppUser) ? Auth::encodeSession($user->getId(), $secret) : ''); + // Encode secret for clients + $token->setAttribute('secret', Auth::encodeSession($user->getId(), $secret)); $response ->setStatusCode(Response::STATUS_CODE_CREATED) @@ -2616,6 +2594,7 @@ App::post('/v1/account/jwts') ->label('auth.type', 'jwt') ->label('sdk', new Method( namespace: 'account', + group: 'tokens', name: 'createJWT', description: '/docs/references/account/create-jwt.md', auth: [], @@ -2664,6 +2643,7 @@ App::get('/v1/account/prefs') ->label('scope', 'account') ->label('sdk', new Method( namespace: 'account', + group: 'account', name: 'getPrefs', description: '/docs/references/account/get-prefs.md', auth: [AuthType::SESSION, AuthType::JWT], @@ -2690,6 +2670,7 @@ App::get('/v1/account/logs') ->label('scope', 'account') ->label('sdk', new Method( namespace: 'account', + group: 'logs', name: 'listLogs', description: '/docs/references/account/list-logs.md', auth: [AuthType::SESSION, AuthType::JWT], @@ -2766,6 +2747,7 @@ App::patch('/v1/account/name') ->label('audits.resource', 'user/{response.$id}') ->label('sdk', new Method( namespace: 'account', + group: 'account', name: 'updateName', description: '/docs/references/account/update-name.md', auth: [AuthType::SESSION, AuthType::JWT], @@ -2804,6 +2786,7 @@ App::patch('/v1/account/password') ->label('audits.userId', '{response.$id}') ->label('sdk', new Method( namespace: 'account', + group: 'account', name: 'updatePassword', description: '/docs/references/account/update-password.md', auth: [AuthType::SESSION, AuthType::JWT], @@ -2877,6 +2860,7 @@ App::patch('/v1/account/email') ->label('audits.resource', 'user/{response.$id}') ->label('sdk', new Method( namespace: 'account', + group: 'account', name: 'updateEmail', description: '/docs/references/account/update-email.md', auth: [AuthType::SESSION, AuthType::JWT], @@ -2973,6 +2957,7 @@ App::patch('/v1/account/phone') ->label('audits.resource', 'user/{response.$id}') ->label('sdk', new Method( namespace: 'account', + group: 'account', name: 'updatePhone', description: '/docs/references/account/update-phone.md', auth: [AuthType::SESSION, AuthType::JWT], @@ -3058,6 +3043,7 @@ App::patch('/v1/account/prefs') ->label('audits.resource', 'user/{response.$id}') ->label('sdk', new Method( namespace: 'account', + group: 'account', name: 'updatePrefs', description: '/docs/references/account/update-prefs.md', auth: [AuthType::SESSION, AuthType::JWT], @@ -3095,6 +3081,7 @@ App::patch('/v1/account/status') ->label('audits.resource', 'user/{response.$id}') ->label('sdk', new Method( namespace: 'account', + group: 'account', name: 'updateStatus', description: '/docs/references/account/update-status.md', auth: [AuthType::SESSION, AuthType::JWT], @@ -3145,6 +3132,7 @@ App::post('/v1/account/recovery') ->label('audits.userId', '{response.userId}') ->label('sdk', new Method( namespace: 'account', + group: 'recovery', name: 'createRecovery', description: '/docs/references/account/create-recovery.md', auth: [AuthType::SESSION, AuthType::JWT], @@ -3174,11 +3162,6 @@ App::post('/v1/account/recovery') throw new Exception(Exception::GENERAL_SMTP_DISABLED, 'SMTP Disabled'); } $url = htmlentities($url); - - $roles = Authorization::getRoles(); - $isPrivilegedUser = Auth::isPrivilegedUser($roles); - $isAppUser = Auth::isAppUser($roles); - $email = \strtolower($email); $profile = $dbForProject->findOne('users', [ @@ -3302,19 +3285,13 @@ App::post('/v1/account/recovery') ->setSubject($subject) ->trigger(); - // Set to unhashed secret for events and server responses $recovery->setAttribute('secret', $secret); $queueForEvents ->setParam('userId', $profile->getId()) ->setParam('tokenId', $recovery->getId()) ->setUser($profile) - ->setPayload($response->output($recovery, Response::MODEL_TOKEN), sensitive: ['secret']); - - // Hide secret for clients - if (!$isPrivilegedUser && !$isAppUser) { - $recovery->setAttribute('secret', ''); - } + ->setPayload(Response::showSensitive(fn () => $response->output($recovery, Response::MODEL_TOKEN)), sensitive: ['secret']); $response ->setStatusCode(Response::STATUS_CODE_CREATED) @@ -3322,7 +3299,7 @@ App::post('/v1/account/recovery') }); App::put('/v1/account/recovery') - ->desc('Create password recovery (confirmation)') + ->desc('Update password recovery (confirmation)') ->groups(['api', 'account']) ->label('scope', 'sessions.write') ->label('event', 'users.[userId].recovery.[tokenId].update') @@ -3331,6 +3308,7 @@ App::put('/v1/account/recovery') ->label('audits.userId', '{response.userId}') ->label('sdk', new Method( namespace: 'account', + group: 'recovery', name: 'updateRecovery', description: '/docs/references/account/update-recovery.md', auth: [AuthType::SESSION, AuthType::JWT], @@ -3407,7 +3385,7 @@ App::put('/v1/account/recovery') $queueForEvents ->setParam('userId', $profile->getId()) ->setParam('tokenId', $recoveryDocument->getId()) - ; + ->setPayload(Response::showSensitive(fn () => $response->output($recoveryDocument, Response::MODEL_TOKEN)), sensitive: ['secret']); $response->dynamic($recoveryDocument, Response::MODEL_TOKEN); }); @@ -3421,6 +3399,7 @@ App::post('/v1/account/verification') ->label('audits.resource', 'user/{response.userId}') ->label('sdk', new Method( namespace: 'account', + group: 'verification', name: 'createVerification', description: '/docs/references/account/create-email-verification.md', auth: [AuthType::SESSION, AuthType::JWT], @@ -3454,9 +3433,6 @@ App::post('/v1/account/verification') throw new Exception(Exception::USER_EMAIL_ALREADY_VERIFIED); } - $roles = Authorization::getRoles(); - $isPrivilegedUser = Auth::isPrivilegedUser($roles); - $isAppUser = Auth::isAppUser($roles); $verificationSecret = Auth::tokenGenerator(Auth::TOKEN_LENGTH_VERIFICATION); $expire = DateTime::addSeconds(new \DateTime(), Auth::TOKEN_EXPIRATION_CONFIRM); @@ -3565,18 +3541,12 @@ App::post('/v1/account/verification') ->setName($user->getAttribute('name') ?? '') ->trigger(); - // Set to unhashed secret for events and server responses $verification->setAttribute('secret', $verificationSecret); $queueForEvents ->setParam('userId', $user->getId()) ->setParam('tokenId', $verification->getId()) - ->setPayload($response->output($verification, Response::MODEL_TOKEN), sensitive: ['secret']); - - // Hide secret for clients - if (!$isPrivilegedUser && !$isAppUser) { - $verification->setAttribute('secret', ''); - } + ->setPayload(Response::showSensitive(fn () => $response->output($verification, Response::MODEL_TOKEN)), sensitive: ['secret']); $response ->setStatusCode(Response::STATUS_CODE_CREATED) @@ -3584,7 +3554,7 @@ App::post('/v1/account/verification') }); App::put('/v1/account/verification') - ->desc('Create email verification (confirmation)') + ->desc('Update email verification (confirmation)') ->groups(['api', 'account']) ->label('scope', 'public') ->label('event', 'users.[userId].verification.[tokenId].update') @@ -3592,6 +3562,7 @@ App::put('/v1/account/verification') ->label('audits.resource', 'user/{response.userId}') ->label('sdk', new Method( namespace: 'account', + group: 'verification', name: 'updateVerification', description: '/docs/references/account/update-email-verification.md', auth: [AuthType::SESSION, AuthType::JWT], @@ -3643,7 +3614,8 @@ App::put('/v1/account/verification') $queueForEvents ->setParam('userId', $userId) - ->setParam('tokenId', $verification->getId()); + ->setParam('tokenId', $verification->getId()) + ->setPayload(Response::showSensitive(fn () => $response->output($verification, Response::MODEL_TOKEN)), sensitive: ['secret']); $response->dynamic($verification, Response::MODEL_TOKEN); }); @@ -3658,6 +3630,7 @@ App::post('/v1/account/verification/phone') ->label('audits.resource', 'user/{response.userId}') ->label('sdk', new Method( namespace: 'account', + group: 'verification', name: 'createPhoneVerification', description: '/docs/references/account/create-phone-verification.md', auth: [AuthType::SESSION, AuthType::JWT], @@ -3696,10 +3669,6 @@ App::post('/v1/account/verification/phone') throw new Exception(Exception::USER_PHONE_ALREADY_VERIFIED); } - $roles = Authorization::getRoles(); - $isPrivilegedUser = Auth::isPrivilegedUser($roles); - $isAppUser = Auth::isAppUser($roles); - $secret = null; $sendSMS = true; $mockNumbers = $project->getAttribute('auths', [])['mockNumbers'] ?? []; @@ -3788,7 +3757,6 @@ App::post('/v1/account/verification/phone') } } - // Set to unhashed secret for events and server responses $verification->setAttribute('secret', $secret); $queueForEvents @@ -3796,11 +3764,6 @@ App::post('/v1/account/verification/phone') ->setParam('tokenId', $verification->getId()) ->setPayload($response->output($verification, Response::MODEL_TOKEN), sensitive: ['secret']); - // Hide secret for clients - if (!$isPrivilegedUser && !$isAppUser) { - $verification->setAttribute('secret', ''); - } - $response ->setStatusCode(Response::STATUS_CODE_CREATED) ->dynamic($verification, Response::MODEL_TOKEN); @@ -3815,6 +3778,7 @@ App::put('/v1/account/verification/phone') ->label('audits.resource', 'user/{response.userId}') ->label('sdk', new Method( namespace: 'account', + group: 'verification', name: 'updatePhoneVerification', description: '/docs/references/account/update-phone-verification.md', auth: [AuthType::SESSION, AuthType::JWT], @@ -3880,6 +3844,7 @@ App::patch('/v1/account/mfa') ->label('audits.userId', '{response.$id}') ->label('sdk', new Method( namespace: 'account', + group: 'mfa', name: 'updateMFA', description: '/docs/references/account/update-mfa.md', auth: [AuthType::SESSION, AuthType::JWT], @@ -3933,6 +3898,7 @@ App::get('/v1/account/mfa/factors') ->label('scope', 'account') ->label('sdk', new Method( namespace: 'account', + group: 'mfa', name: 'listMfaFactors', description: '/docs/references/account/list-mfa-factors.md', auth: [AuthType::SESSION, AuthType::JWT], @@ -3973,6 +3939,7 @@ App::post('/v1/account/mfa/authenticators/:type') ->label('audits.userId', '{response.$id}') ->label('sdk', new Method( namespace: 'account', + group: 'mfa', name: 'createMfaAuthenticator', description: '/docs/references/account/create-mfa-authenticator.md', auth: [AuthType::SESSION, AuthType::JWT], @@ -4040,7 +4007,7 @@ App::post('/v1/account/mfa/authenticators/:type') }); App::put('/v1/account/mfa/authenticators/:type') - ->desc('Verify authenticator') + ->desc('Update authenticator (confirmation)') ->groups(['api', 'account']) ->label('event', 'users.[userId].update.mfa') ->label('scope', 'account') @@ -4049,6 +4016,7 @@ App::put('/v1/account/mfa/authenticators/:type') ->label('audits.userId', '{response.$id}') ->label('sdk', new Method( namespace: 'account', + group: 'mfa', name: 'updateMfaAuthenticator', description: '/docs/references/account/update-mfa-authenticator.md', auth: [AuthType::SESSION, AuthType::JWT], @@ -4118,6 +4086,7 @@ App::post('/v1/account/mfa/recovery-codes') ->label('audits.userId', '{response.$id}') ->label('sdk', new Method( namespace: 'account', + group: 'mfa', name: 'createMfaRecoveryCodes', description: '/docs/references/account/create-mfa-recovery-codes.md', auth: [AuthType::SESSION, AuthType::JWT], @@ -4155,7 +4124,7 @@ App::post('/v1/account/mfa/recovery-codes') }); App::patch('/v1/account/mfa/recovery-codes') - ->desc('Regenerate MFA recovery codes') + ->desc('Update MFA recovery codes (regenerate)') ->groups(['api', 'account', 'mfaProtected']) ->label('event', 'users.[userId].update.mfa') ->label('scope', 'account') @@ -4164,6 +4133,7 @@ App::patch('/v1/account/mfa/recovery-codes') ->label('audits.userId', '{response.$id}') ->label('sdk', new Method( namespace: 'account', + group: 'mfa', name: 'updateMfaRecoveryCodes', description: '/docs/references/account/update-mfa-recovery-codes.md', auth: [AuthType::SESSION, AuthType::JWT], @@ -4200,11 +4170,12 @@ App::patch('/v1/account/mfa/recovery-codes') }); App::get('/v1/account/mfa/recovery-codes') - ->desc('Get MFA recovery codes') + ->desc('List MFA recovery codes') ->groups(['api', 'account', 'mfaProtected']) ->label('scope', 'account') ->label('sdk', new Method( namespace: 'account', + group: 'mfa', name: 'getMfaRecoveryCodes', description: '/docs/references/account/get-mfa-recovery-codes.md', auth: [AuthType::SESSION, AuthType::JWT], @@ -4243,6 +4214,7 @@ App::delete('/v1/account/mfa/authenticators/:type') ->label('audits.userId', '{response.$id}') ->label('sdk', new Method( namespace: 'account', + group: 'mfa', name: 'deleteMfaAuthenticator', description: '/docs/references/account/delete-mfa-authenticator.md', auth: [AuthType::SESSION, AuthType::JWT], @@ -4288,6 +4260,7 @@ App::post('/v1/account/mfa/challenge') ->label('audits.userId', '{response.userId}') ->label('sdk', new Method( namespace: 'account', + group: 'mfa', name: 'createMfaChallenge', description: '/docs/references/account/create-mfa-challenge.md', auth: [], @@ -4498,7 +4471,7 @@ App::post('/v1/account/mfa/challenge') }); App::put('/v1/account/mfa/challenge') - ->desc('Create MFA challenge (confirmation)') + ->desc('Update MFA challenge (confirmation)') ->groups(['api', 'account', 'mfa']) ->label('scope', 'account') ->label('event', 'users.[userId].sessions.[sessionId].create') @@ -4507,6 +4480,7 @@ App::put('/v1/account/mfa/challenge') ->label('audits.userId', '{response.userId}') ->label('sdk', new Method( namespace: 'account', + group: 'mfa', name: 'updateMfaChallenge', description: '/docs/references/account/update-mfa-challenge.md', auth: [AuthType::SESSION, AuthType::JWT], @@ -4600,6 +4574,7 @@ App::post('/v1/account/targets/push') ->label('event', 'users.[userId].targets.[targetId].create') ->label('sdk', new Method( namespace: 'account', + group: 'pushTargets', name: 'createPushTarget', description: '/docs/references/account/create-push-target.md', auth: [AuthType::SESSION], @@ -4680,6 +4655,7 @@ App::put('/v1/account/targets/:targetId/push') ->label('event', 'users.[userId].targets.[targetId].update') ->label('sdk', new Method( namespace: 'account', + group: 'pushTargets', name: 'updatePushTarget', description: '/docs/references/account/update-push-target.md', auth: [AuthType::SESSION], @@ -4744,6 +4720,7 @@ App::delete('/v1/account/targets/:targetId/push') ->label('event', 'users.[userId].targets.[targetId].delete') ->label('sdk', new Method( namespace: 'account', + group: 'pushTargets', name: 'deletePushTarget', description: '/docs/references/account/delete-push-target.md', auth: [AuthType::SESSION], @@ -4794,6 +4771,7 @@ App::get('/v1/account/identities') ->label('scope', 'account') ->label('sdk', new Method( namespace: 'account', + group: 'identities', name: 'listIdentities', description: '/docs/references/account/list-identities.md', auth: [AuthType::SESSION, AuthType::JWT], @@ -4845,8 +4823,11 @@ App::get('/v1/account/identities') } $filterQueries = Query::groupByType($queries)['filters']; - - $results = $dbForProject->find('identities', $queries); + try { + $results = $dbForProject->find('identities', $queries); + } catch (OrderException $e) { + throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order attribute '{$e->getAttribute()}' had a null value. Cursor pagination requires all documents order attribute values are non-null."); + } $total = $dbForProject->count('identities', $filterQueries, APP_LIMIT_COUNT); $response->dynamic(new Document([ @@ -4865,6 +4846,7 @@ App::delete('/v1/account/identities/:identityId') ->label('audits.userId', '{user.$id}') ->label('sdk', new Method( namespace: 'account', + group: 'identities', name: 'deleteIdentity', description: '/docs/references/account/delete-identity.md', auth: [AuthType::SESSION, AuthType::JWT], diff --git a/app/controllers/api/avatars.php b/app/controllers/api/avatars.php index 120383fa4d..769b555d11 100644 --- a/app/controllers/api/avatars.php +++ b/app/controllers/api/avatars.php @@ -171,6 +171,7 @@ App::get('/v1/avatars/credit-cards/:code') ->label('cache.resource', 'avatar/credit-card') ->label('sdk', new Method( namespace: 'avatars', + group: null, name: 'getCreditCard', description: '/docs/references/avatars/get-credit-card.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -198,6 +199,7 @@ App::get('/v1/avatars/browsers/:code') ->label('cache.resource', 'avatar/browser') ->label('sdk', new Method( namespace: 'avatars', + group: null, name: 'getBrowser', description: '/docs/references/avatars/get-browser.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -225,6 +227,7 @@ App::get('/v1/avatars/flags/:code') ->label('cache.resource', 'avatar/flag') ->label('sdk', new Method( namespace: 'avatars', + group: null, name: 'getFlag', description: '/docs/references/avatars/get-flag.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -252,6 +255,7 @@ App::get('/v1/avatars/image') ->label('cache.resource', 'avatar/image') ->label('sdk', new Method( namespace: 'avatars', + group: null, name: 'getImage', description: '/docs/references/avatars/get-image.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -322,6 +326,7 @@ App::get('/v1/avatars/favicon') ->label('cache.resource', 'avatar/favicon') ->label('sdk', new Method( namespace: 'avatars', + group: null, name: 'getFavicon', description: '/docs/references/avatars/get-favicon.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -472,6 +477,7 @@ App::get('/v1/avatars/qr') ->label('scope', 'avatars.read') ->label('sdk', new Method( namespace: 'avatars', + group: null, name: 'getQR', description: '/docs/references/avatars/get-qr.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -521,6 +527,7 @@ App::get('/v1/avatars/initials') ->label('cache.resource', 'avatar/initials') ->label('sdk', new Method( namespace: 'avatars', + group: null, name: 'getInitials', description: '/docs/references/avatars/get-initials.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], diff --git a/app/controllers/api/console.php b/app/controllers/api/console.php index 4dd5432d3a..558dc0e4ef 100644 --- a/app/controllers/api/console.php +++ b/app/controllers/api/console.php @@ -29,6 +29,7 @@ App::get('/v1/console/variables') ->label('scope', 'projects.read') ->label('sdk', new Method( namespace: 'console', + group: 'console', name: 'variables', description: '/docs/references/console/variables.md', auth: [AuthType::ADMIN], @@ -86,11 +87,12 @@ App::get('/v1/console/variables') }); App::post('/v1/console/assistant') - ->desc('Ask query') + ->desc('Create assistant query') ->groups(['api', 'assistant']) ->label('scope', 'assistant.read') ->label('sdk', new Method( namespace: 'assistant', + group: 'console', name: 'chat', description: '/docs/references/assistant/chat.md', auth: [AuthType::ADMIN], diff --git a/app/controllers/api/databases.php b/app/controllers/api/databases.php index 0c37e1a765..c5d0e9e754 100644 --- a/app/controllers/api/databases.php +++ b/app/controllers/api/databases.php @@ -31,6 +31,7 @@ use Utopia\Database\Exception\Duplicate as DuplicateException; use Utopia\Database\Exception\Index as IndexException; use Utopia\Database\Exception\Limit as LimitException; use Utopia\Database\Exception\NotFound as NotFoundException; +use Utopia\Database\Exception\Order as OrderException; use Utopia\Database\Exception\Query as QueryException; use Utopia\Database\Exception\Restricted as RestrictedException; use Utopia\Database\Exception\Structure as StructureException; @@ -466,6 +467,7 @@ App::post('/v1/databases') ->label('audits.resource', 'database/{response.$id}') ->label('sdk', new Method( namespace: 'databases', + group: 'databases', name: 'create', description: '/docs/references/databases/create.md', auth: [AuthType::KEY], @@ -534,7 +536,6 @@ App::post('/v1/databases') } $queueForEvents->setParam('databaseId', $database->getId()); - $queueForStatsUsage->addMetric(str_replace(['{databaseInternalId}'], [$database->getInternalId()], METRIC_DATABASE_ID_STORAGE), 1); // per database $response ->setStatusCode(Response::STATUS_CODE_CREATED) @@ -548,6 +549,7 @@ App::get('/v1/databases') ->label('resourceType', RESOURCE_TYPE_DATABASES) ->label('sdk', new Method( namespace: 'databases', + group: 'databases', name: 'list', description: '/docs/references/databases/list.md', auth: [AuthType::KEY], @@ -597,9 +599,15 @@ App::get('/v1/databases') $filterQueries = Query::groupByType($queries)['filters']; + try { + $databases = $dbForProject->find('databases', $queries); + $total = $dbForProject->count('databases', $filterQueries, APP_LIMIT_COUNT); + } catch (OrderException $e) { + throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order attribute '{$e->getAttribute()}' had a null value. Cursor pagination requires all documents order attribute values are non-null."); + } $response->dynamic(new Document([ - 'databases' => $dbForProject->find('databases', $queries), - 'total' => $dbForProject->count('databases', $filterQueries, APP_LIMIT_COUNT), + 'databases' => $databases, + 'total' => $total, ]), Response::MODEL_DATABASE_LIST); }); @@ -610,6 +618,7 @@ App::get('/v1/databases/:databaseId') ->label('resourceType', RESOURCE_TYPE_DATABASES) ->label('sdk', new Method( namespace: 'databases', + group: 'databases', name: 'get', description: '/docs/references/databases/get.md', auth: [AuthType::KEY], @@ -642,6 +651,7 @@ App::get('/v1/databases/:databaseId/logs') ->label('resourceType', RESOURCE_TYPE_DATABASES) ->label('sdk', new Method( namespace: 'databases', + group: 'logs', name: 'listLogs', description: '/docs/references/databases/get-logs.md', auth: [AuthType::ADMIN], @@ -745,6 +755,7 @@ App::put('/v1/databases/:databaseId') ->label('audits.resource', 'database/{response.$id}') ->label('sdk', new Method( namespace: 'databases', + group: 'databases', name: 'update', description: '/docs/references/databases/update.md', auth: [AuthType::KEY], @@ -790,6 +801,7 @@ App::delete('/v1/databases/:databaseId') ->label('audits.resource', 'database/{request.databaseId}') ->label('sdk', new Method( namespace: 'databases', + group: 'databases', name: 'delete', description: '/docs/references/databases/delete.md', auth: [AuthType::KEY], @@ -830,9 +842,6 @@ App::delete('/v1/databases/:databaseId') ->setParam('databaseId', $database->getId()) ->setPayload($response->output($database, Response::MODEL_DATABASE)); - $queueForStatsUsage - ->addMetric(METRIC_DATABASES_STORAGE, 1); // Global, deletion forces full recalculation - $response->noContent(); }); @@ -846,6 +855,7 @@ App::post('/v1/databases/:databaseId/collections') ->label('audits.resource', 'database/{request.databaseId}/collection/{response.$id}') ->label('sdk', new Method( namespace: 'databases', + group: 'collections', name: 'createCollection', description: '/docs/references/databases/create-collection.md', auth: [AuthType::KEY], @@ -917,6 +927,7 @@ App::get('/v1/databases/:databaseId/collections') ->label('resourceType', RESOURCE_TYPE_DATABASES) ->label('sdk', new Method( namespace: 'databases', + group: 'collections', name: 'listCollections', description: '/docs/references/databases/list-collections.md', auth: [AuthType::KEY], @@ -975,9 +986,15 @@ App::get('/v1/databases/:databaseId/collections') $filterQueries = Query::groupByType($queries)['filters']; + try { + $collections = $dbForProject->find('database_' . $database->getInternalId(), $queries); + $total = $dbForProject->count('database_' . $database->getInternalId(), $filterQueries, APP_LIMIT_COUNT); + } catch (OrderException $e) { + throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order attribute '{$e->getAttribute()}' had a null value. Cursor pagination requires all documents order attribute values are non-null."); + } $response->dynamic(new Document([ - 'collections' => $dbForProject->find('database_' . $database->getInternalId(), $queries), - 'total' => $dbForProject->count('database_' . $database->getInternalId(), $filterQueries, APP_LIMIT_COUNT), + 'collections' => $collections, + 'total' => $total, ]), Response::MODEL_COLLECTION_LIST); }); @@ -989,6 +1006,7 @@ App::get('/v1/databases/:databaseId/collections/:collectionId') ->label('resourceType', RESOURCE_TYPE_DATABASES) ->label('sdk', new Method( namespace: 'databases', + group: 'collections', name: 'getCollection', description: '/docs/references/databases/get-collection.md', auth: [AuthType::KEY], @@ -1030,6 +1048,7 @@ App::get('/v1/databases/:databaseId/collections/:collectionId/logs') ->label('resourceType', RESOURCE_TYPE_DATABASES) ->label('sdk', new Method( namespace: 'databases', + group: 'collections', name: 'listCollectionLogs', description: '/docs/references/databases/get-collection-logs.md', auth: [AuthType::ADMIN], @@ -1142,6 +1161,7 @@ App::put('/v1/databases/:databaseId/collections/:collectionId') ->label('audits.resource', 'database/{request.databaseId}/collection/{request.collectionId}') ->label('sdk', new Method( namespace: 'databases', + group: 'collections', name: 'updateCollection', description: '/docs/references/databases/update-collection.md', auth: [AuthType::KEY], @@ -1216,6 +1236,7 @@ App::delete('/v1/databases/:databaseId/collections/:collectionId') ->label('audits.resource', 'database/{request.databaseId}/collection/{request.collectionId}') ->label('sdk', new Method( namespace: 'databases', + group: 'collections', name: 'deleteCollection', description: '/docs/references/databases/delete-collection.md', auth: [AuthType::KEY], @@ -1279,6 +1300,7 @@ App::post('/v1/databases/:databaseId/collections/:collectionId/attributes/string ->label('audits.resource', 'database/{request.databaseId}/collection/{request.collectionId}') ->label('sdk', new Method( namespace: 'databases', + group: 'attributes', name: 'createStringAttribute', description: '/docs/references/databases/create-string-attribute.md', auth: [AuthType::KEY], @@ -1341,6 +1363,7 @@ App::post('/v1/databases/:databaseId/collections/:collectionId/attributes/email' ->label('audits.resource', 'database/{request.databaseId}/collection/{request.collectionId}') ->label('sdk', new Method( namespace: 'databases', + group: 'attributes', name: 'createEmailAttribute', description: '/docs/references/databases/create-email-attribute.md', auth: [AuthType::KEY], @@ -1389,6 +1412,7 @@ App::post('/v1/databases/:databaseId/collections/:collectionId/attributes/enum') ->label('audits.resource', 'database/{request.databaseId}/collection/{request.collectionId}') ->label('sdk', new Method( namespace: 'databases', + group: 'attributes', name: 'createEnumAttribute', description: '/docs/references/databases/create-attribute-enum.md', auth: [AuthType::KEY], @@ -1442,6 +1466,7 @@ App::post('/v1/databases/:databaseId/collections/:collectionId/attributes/ip') ->label('audits.resource', 'database/{request.databaseId}/collection/{request.collectionId}') ->label('sdk', new Method( namespace: 'databases', + group: 'attributes', name: 'createIpAttribute', description: '/docs/references/databases/create-ip-attribute.md', auth: [AuthType::KEY], @@ -1490,6 +1515,7 @@ App::post('/v1/databases/:databaseId/collections/:collectionId/attributes/url') ->label('audits.resource', 'database/{request.databaseId}/collection/{request.collectionId}') ->label('sdk', new Method( namespace: 'databases', + group: 'attributes', name: 'createUrlAttribute', description: '/docs/references/databases/create-url-attribute.md', auth: [AuthType::KEY], @@ -1538,6 +1564,7 @@ App::post('/v1/databases/:databaseId/collections/:collectionId/attributes/intege ->label('audits.resource', 'database/{request.databaseId}/collection/{request.collectionId}') ->label('sdk', new Method( namespace: 'databases', + group: 'attributes', name: 'createIntegerAttribute', description: '/docs/references/databases/create-integer-attribute.md', auth: [AuthType::KEY], @@ -1615,6 +1642,7 @@ App::post('/v1/databases/:databaseId/collections/:collectionId/attributes/float' ->label('audits.resource', 'database/{request.databaseId}/collection/{request.collectionId}') ->label('sdk', new Method( namespace: 'databases', + group: 'attributes', name: 'createFloatAttribute', description: '/docs/references/databases/create-float-attribute.md', auth: [AuthType::KEY], @@ -1690,6 +1718,7 @@ App::post('/v1/databases/:databaseId/collections/:collectionId/attributes/boolea ->label('audits.resource', 'database/{request.databaseId}/collection/{request.collectionId}') ->label('sdk', new Method( namespace: 'databases', + group: 'attributes', name: 'createBooleanAttribute', description: '/docs/references/databases/create-boolean-attribute.md', auth: [AuthType::KEY], @@ -1737,6 +1766,7 @@ App::post('/v1/databases/:databaseId/collections/:collectionId/attributes/dateti ->label('audits.resource', 'database/{request.databaseId}/collection/{request.collectionId}') ->label('sdk', new Method( namespace: 'databases', + group: 'attributes', name: 'createDatetimeAttribute', description: '/docs/references/databases/create-datetime-attribute.md', auth: [AuthType::KEY], @@ -1787,6 +1817,7 @@ App::post('/v1/databases/:databaseId/collections/:collectionId/attributes/relati ->label('audits.resource', 'database/{request.databaseId}/collection/{request.collectionId}') ->label('sdk', new Method( namespace: 'databases', + group: 'attributes', name: 'createRelationshipAttribute', description: '/docs/references/databases/create-relationship-attribute.md', auth: [AuthType::KEY], @@ -1918,6 +1949,7 @@ App::get('/v1/databases/:databaseId/collections/:collectionId/attributes') ->label('resourceType', RESOURCE_TYPE_DATABASES) ->label('sdk', new Method( namespace: 'databases', + group: 'attributes', name: 'listAttributes', description: '/docs/references/databases/list-attributes.md', auth: [AuthType::KEY], @@ -1986,9 +2018,12 @@ App::get('/v1/databases/:databaseId/collections/:collectionId/attributes') } $filters = Query::groupByType($queries)['filters']; - - $attributes = $dbForProject->find('attributes', $queries); - $total = $dbForProject->count('attributes', $filters, APP_LIMIT_COUNT); + try { + $attributes = $dbForProject->find('attributes', $queries); + $total = $dbForProject->count('attributes', $filters, APP_LIMIT_COUNT); + } catch (OrderException $e) { + throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order attribute '{$e->getAttribute()}' had a null value. Cursor pagination requires all documents order attribute values are non-null."); + } $response->dynamic(new Document([ 'attributes' => $attributes, @@ -2004,6 +2039,7 @@ App::get('/v1/databases/:databaseId/collections/:collectionId/attributes/:key') ->label('resourceType', RESOURCE_TYPE_DATABASES) ->label('sdk', new Method( namespace: 'databases', + group: 'attributes', name: 'getAttribute', description: '/docs/references/databases/get-attribute.md', auth: [AuthType::KEY], @@ -2088,6 +2124,7 @@ App::patch('/v1/databases/:databaseId/collections/:collectionId/attributes/strin ->label('audits.resource', 'database/{request.databaseId}/collection/{request.collectionId}') ->label('sdk', new Method( namespace: 'databases', + group: 'attributes', name: 'updateStringAttribute', description: '/docs/references/databases/update-string-attribute.md', auth: [AuthType::KEY], @@ -2139,6 +2176,7 @@ App::patch('/v1/databases/:databaseId/collections/:collectionId/attributes/email ->label('audits.resource', 'database/{request.databaseId}/collection/{request.collectionId}') ->label('sdk', new Method( namespace: 'databases', + group: 'attributes', name: 'updateEmailAttribute', description: '/docs/references/databases/update-email-attribute.md', auth: [AuthType::KEY], @@ -2188,6 +2226,7 @@ App::patch('/v1/databases/:databaseId/collections/:collectionId/attributes/enum/ ->label('audits.resource', 'database/{request.databaseId}/collection/{request.collectionId}') ->label('sdk', new Method( namespace: 'databases', + group: 'attributes', name: 'updateEnumAttribute', description: '/docs/references/databases/update-enum-attribute.md', auth: [AuthType::KEY], @@ -2239,6 +2278,7 @@ App::patch('/v1/databases/:databaseId/collections/:collectionId/attributes/ip/:k ->label('audits.resource', 'database/{request.databaseId}/collection/{request.collectionId}') ->label('sdk', new Method( namespace: 'databases', + group: 'attributes', name: 'updateIpAttribute', description: '/docs/references/databases/update-ip-attribute.md', auth: [AuthType::KEY], @@ -2288,6 +2328,7 @@ App::patch('/v1/databases/:databaseId/collections/:collectionId/attributes/url/: ->label('audits.resource', 'database/{request.databaseId}/collection/{request.collectionId}') ->label('sdk', new Method( namespace: 'databases', + group: 'attributes', name: 'updateUrlAttribute', description: '/docs/references/databases/update-url-attribute.md', auth: [AuthType::KEY], @@ -2337,6 +2378,7 @@ App::patch('/v1/databases/:databaseId/collections/:collectionId/attributes/integ ->label('audits.resource', 'database/{request.databaseId}/collection/{request.collectionId}') ->label('sdk', new Method( namespace: 'databases', + group: 'attributes', name: 'updateIntegerAttribute', description: '/docs/references/databases/update-integer-attribute.md', auth: [AuthType::KEY], @@ -2396,6 +2438,7 @@ App::patch('/v1/databases/:databaseId/collections/:collectionId/attributes/float ->label('audits.resource', 'database/{request.databaseId}/collection/{request.collectionId}') ->label('sdk', new Method( namespace: 'databases', + group: 'attributes', name: 'updateFloatAttribute', description: '/docs/references/databases/update-float-attribute.md', auth: [AuthType::KEY], @@ -2455,6 +2498,7 @@ App::patch('/v1/databases/:databaseId/collections/:collectionId/attributes/boole ->label('audits.resource', 'database/{request.databaseId}/collection/{request.collectionId}') ->label('sdk', new Method( namespace: 'databases', + group: 'attributes', name: 'updateBooleanAttribute', description: '/docs/references/databases/update-boolean-attribute.md', auth: [AuthType::KEY], @@ -2503,6 +2547,7 @@ App::patch('/v1/databases/:databaseId/collections/:collectionId/attributes/datet ->label('audits.resource', 'database/{request.databaseId}/collection/{request.collectionId}') ->label('sdk', new Method( namespace: 'databases', + group: 'attributes', name: 'updateDatetimeAttribute', description: '/docs/references/databases/update-datetime-attribute.md', auth: [AuthType::KEY], @@ -2551,6 +2596,7 @@ App::patch('/v1/databases/:databaseId/collections/:collectionId/attributes/:key/ ->label('audits.resource', 'database/{request.databaseId}/collection/{request.collectionId}') ->label('sdk', new Method( namespace: 'databases', + group: 'attributes', name: 'updateRelationshipAttribute', description: '/docs/references/databases/update-relationship-attribute.md', auth: [AuthType::KEY], @@ -2616,6 +2662,7 @@ App::delete('/v1/databases/:databaseId/collections/:collectionId/attributes/:key ->label('audits.resource', 'database/{request.databaseId}/collection/{request.collectionId}') ->label('sdk', new Method( namespace: 'databases', + group: 'attributes', name: 'deleteAttribute', description: '/docs/references/databases/delete-attribute.md', auth: [AuthType::KEY], @@ -2732,9 +2779,6 @@ App::delete('/v1/databases/:databaseId/collections/:collectionId/attributes/:key ->setContext('database', $db) ->setPayload($response->output($attribute, $model)); - $queueForStatsUsage - ->addMetric(str_replace(['{databaseInternalId}', '{collectionInternalId}'], [$db->getInternalId(), $collection->getInternalId()], METRIC_DATABASE_ID_COLLECTION_ID_STORAGE), 1); // per collection - $response->noContent(); }); @@ -2749,6 +2793,7 @@ App::post('/v1/databases/:databaseId/collections/:collectionId/indexes') ->label('audits.resource', 'database/{request.databaseId}/collection/{request.collectionId}') ->label('sdk', new Method( namespace: 'databases', + group: 'collections', name: 'createIndex', description: '/docs/references/databases/create-index.md', auth: [AuthType::KEY], @@ -2919,6 +2964,7 @@ App::get('/v1/databases/:databaseId/collections/:collectionId/indexes') ->label('resourceType', RESOURCE_TYPE_DATABASES) ->label('sdk', new Method( namespace: 'databases', + group: 'indexes', name: 'listIndexes', description: '/docs/references/databases/list-indexes.md', auth: [AuthType::KEY], @@ -2987,9 +3033,16 @@ App::get('/v1/databases/:databaseId/collections/:collectionId/indexes') } $filterQueries = Query::groupByType($queries)['filters']; + try { + $total = $dbForProject->count('indexes', $filterQueries, APP_LIMIT_COUNT); + $indexes = $dbForProject->find('indexes', $queries); + } catch (OrderException $e) { + throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order attribute '{$e->getAttribute()}' had a null value. Cursor pagination requires all documents order attribute values are non-null."); + } + $response->dynamic(new Document([ - 'total' => $dbForProject->count('indexes', $filterQueries, APP_LIMIT_COUNT), - 'indexes' => $dbForProject->find('indexes', $queries), + 'total' => $total, + 'indexes' => $indexes, ]), Response::MODEL_INDEX_LIST); }); @@ -3001,6 +3054,7 @@ App::get('/v1/databases/:databaseId/collections/:collectionId/indexes/:key') ->label('resourceType', RESOURCE_TYPE_DATABASES) ->label('sdk', new Method( namespace: 'databases', + group: 'indexes', name: 'getIndex', description: '/docs/references/databases/get-index.md', auth: [AuthType::KEY], @@ -3050,6 +3104,7 @@ App::delete('/v1/databases/:databaseId/collections/:collectionId/indexes/:key') ->label('audits.resource', 'database/{request.databaseId}/collection/{request.collectionId}') ->label('sdk', new Method( namespace: 'databases', + group: 'indexes', name: 'deleteIndex', description: '/docs/references/databases/delete-index.md', auth: [AuthType::KEY], @@ -3128,6 +3183,7 @@ App::post('/v1/databases/:databaseId/collections/:collectionId/documents') [ new Method( namespace: 'databases', + group: 'documents', name: 'createDocument', description: '/docs/references/databases/create-document.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -3356,8 +3412,7 @@ App::post('/v1/databases/:databaseId/collections/:collectionId/documents') $queueForStatsUsage ->addMetric(METRIC_DATABASES_OPERATIONS_WRITES, max($operations, 1)) - ->addMetric(str_replace('{databaseInternalId}', $database->getInternalId(), METRIC_DATABASE_ID_OPERATIONS_WRITES), $operations) - ->addMetric(str_replace(['{databaseInternalId}', '{collectionInternalId}'], [$database->getInternalId(), $collection->getInternalId()], METRIC_DATABASE_ID_COLLECTION_ID_STORAGE), 1); // per collection + ->addMetric(str_replace('{databaseInternalId}', $database->getInternalId(), METRIC_DATABASE_ID_OPERATIONS_WRITES), $operations); // per collection $response->addHeader('X-Debug-Operations', $operations); @@ -3390,6 +3445,7 @@ App::get('/v1/databases/:databaseId/collections/:collectionId/documents') ->label('resourceType', RESOURCE_TYPE_DATABASES) ->label('sdk', new Method( namespace: 'databases', + group: 'documents', name: 'listDocuments', description: '/docs/references/databases/list-documents.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -3453,9 +3509,12 @@ App::get('/v1/databases/:databaseId/collections/:collectionId/documents') $cursor->setValue($cursorDocument); } - - $documents = $dbForProject->find('database_' . $database->getInternalId() . '_collection_' . $collection->getInternalId(), $queries); - $total = $dbForProject->count('database_' . $database->getInternalId() . '_collection_' . $collection->getInternalId(), $queries, APP_LIMIT_COUNT); + try { + $documents = $dbForProject->find('database_' . $database->getInternalId() . '_collection_' . $collection->getInternalId(), $queries); + $total = $dbForProject->count('database_' . $database->getInternalId() . '_collection_' . $collection->getInternalId(), $queries, APP_LIMIT_COUNT); + } catch (OrderException $e) { + throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order attribute '{$e->getAttribute()}' had a null value. Cursor pagination requires all documents order attribute values are non-null."); + } $operations = 0; @@ -3566,6 +3625,7 @@ App::get('/v1/databases/:databaseId/collections/:collectionId/documents/:documen ->label('resourceType', RESOURCE_TYPE_DATABASES) ->label('sdk', new Method( namespace: 'databases', + group: 'documents', name: 'getDocument', description: '/docs/references/databases/get-document.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -3677,6 +3737,7 @@ App::get('/v1/databases/:databaseId/collections/:collectionId/documents/:documen ->label('resourceType', RESOURCE_TYPE_DATABASES) ->label('sdk', new Method( namespace: 'databases', + group: 'logs', name: 'listDocumentLogs', description: '/docs/references/databases/get-document-logs.md', auth: [AuthType::ADMIN], @@ -3797,6 +3858,7 @@ App::patch('/v1/databases/:databaseId/collections/:collectionId/documents/:docum ->label('abuse-time', APP_LIMIT_WRITE_RATE_PERIOD_DEFAULT) ->label('sdk', new Method( namespace: 'databases', + group: 'documents', name: 'updateDocument', description: '/docs/references/databases/update-document.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -4051,6 +4113,7 @@ App::delete('/v1/databases/:databaseId/collections/:collectionId/documents/:docu ->label('abuse-time', APP_LIMIT_WRITE_RATE_PERIOD_DEFAULT) ->label('sdk', new Method( namespace: 'databases', + group: 'documents', name: 'deleteDocument', description: '/docs/references/databases/delete-document.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -4141,8 +4204,7 @@ App::delete('/v1/databases/:databaseId/collections/:collectionId/documents/:docu $queueForStatsUsage ->addMetric(METRIC_DATABASES_OPERATIONS_WRITES, 1) - ->addMetric(str_replace('{databaseInternalId}', $database->getInternalId(), METRIC_DATABASE_ID_OPERATIONS_WRITES), 1) - ->addMetric(str_replace(['{databaseInternalId}', '{collectionInternalId}'], [$database->getInternalId(), $collection->getInternalId()], METRIC_DATABASE_ID_COLLECTION_ID_STORAGE), 1); // per collection + ->addMetric(str_replace('{databaseInternalId}', $database->getInternalId(), METRIC_DATABASE_ID_OPERATIONS_WRITES), 1); // per collection $response->addHeader('X-Debug-Operations', 1); @@ -4172,6 +4234,7 @@ App::get('/v1/databases/usage') ->label('resourceType', RESOURCE_TYPE_DATABASES) ->label('sdk', new Method( namespace: 'databases', + group: null, name: 'getUsage', description: '/docs/references/databases/get-usage.md', auth: [AuthType::ADMIN], @@ -4267,6 +4330,7 @@ App::get('/v1/databases/:databaseId/usage') ->label('resourceType', RESOURCE_TYPE_DATABASES) ->label('sdk', new Method( namespace: 'databases', + group: null, name: 'getDatabaseUsage', description: '/docs/references/databases/get-database-usage.md', auth: [AuthType::ADMIN], @@ -4368,6 +4432,7 @@ App::get('/v1/databases/:databaseId/collections/:collectionId/usage') ->label('resourceType', RESOURCE_TYPE_DATABASES) ->label('sdk', new Method( namespace: 'databases', + group: null, name: 'getCollectionUsage', description: '/docs/references/databases/get-collection-usage.md', auth: [AuthType::ADMIN], diff --git a/app/controllers/api/graphql.php b/app/controllers/api/graphql.php index 72951b608e..482b38d698 100644 --- a/app/controllers/api/graphql.php +++ b/app/controllers/api/graphql.php @@ -44,6 +44,7 @@ App::get('/v1/graphql') ->label('scope', 'graphql') ->label('sdk', new Method( namespace: 'graphql', + group: 'graphql', name: 'get', auth: [AuthType::KEY, AuthType::SESSION, AuthType::JWT], hide: true, @@ -90,6 +91,7 @@ App::post('/v1/graphql/mutation') ->label('scope', 'graphql') ->label('sdk', new Method( namespace: 'graphql', + group: 'graphql', name: 'mutation', auth: [AuthType::KEY, AuthType::SESSION, AuthType::JWT], description: '/docs/references/graphql/post.md', @@ -140,6 +142,7 @@ App::post('/v1/graphql') ->label('scope', 'graphql') ->label('sdk', new Method( namespace: 'graphql', + group: 'graphql', name: 'query', auth: [AuthType::KEY, AuthType::SESSION, AuthType::JWT], description: '/docs/references/graphql/post.md', diff --git a/app/controllers/api/health.php b/app/controllers/api/health.php index 94ec2059c9..11fc4cc244 100644 --- a/app/controllers/api/health.php +++ b/app/controllers/api/health.php @@ -32,6 +32,7 @@ App::get('/v1/health') ->label('scope', 'health.read') ->label('sdk', new Method( namespace: 'health', + group: 'health', name: 'get', auth: [AuthType::KEY], description: '/docs/references/health/get.md', @@ -71,6 +72,7 @@ App::get('/v1/health/db') ->label('sdk', new Method( auth: [AuthType::KEY], namespace: 'health', + group: 'health', name: 'getDB', description: '/docs/references/health/get-db.md', responses: [ @@ -131,6 +133,7 @@ App::get('/v1/health/cache') ->label('sdk', new Method( auth: [AuthType::KEY], namespace: 'health', + group: 'health', name: 'getCache', description: '/docs/references/health/get-cache.md', responses: [ @@ -195,6 +198,7 @@ App::get('/v1/health/pubsub') ->label('sdk', new Method( auth: [AuthType::KEY], namespace: 'health', + group: 'health', name: 'getPubSub', description: '/docs/references/health/get-pubsub.md', responses: [ @@ -259,6 +263,7 @@ App::get('/v1/health/time') ->label('sdk', new Method( auth: [AuthType::KEY], namespace: 'health', + group: 'health', name: 'getTime', description: '/docs/references/health/get-time.md', responses: [ @@ -322,6 +327,7 @@ App::get('/v1/health/queue/webhooks') ->label('sdk', new Method( auth: [AuthType::KEY], namespace: 'health', + group: 'queue', name: 'getQueueWebhooks', description: '/docs/references/health/get-queue-webhooks.md', responses: [ @@ -354,6 +360,7 @@ App::get('/v1/health/queue/logs') ->label('sdk', new Method( auth: [AuthType::KEY], namespace: 'health', + group: 'queue', name: 'getQueueLogs', description: '/docs/references/health/get-queue-logs.md', responses: [ @@ -386,6 +393,7 @@ App::get('/v1/health/certificate') ->label('sdk', new Method( auth: [AuthType::KEY], namespace: 'health', + group: 'health', name: 'getCertificate', description: '/docs/references/health/get-certificate.md', responses: [ @@ -442,6 +450,7 @@ App::get('/v1/health/queue/certificates') ->label('sdk', new Method( auth: [AuthType::KEY], namespace: 'health', + group: 'queue', name: 'getQueueCertificates', description: '/docs/references/health/get-queue-certificates.md', responses: [ @@ -474,6 +483,7 @@ App::get('/v1/health/queue/builds') ->label('sdk', new Method( auth: [AuthType::KEY], namespace: 'health', + group: 'queue', name: 'getQueueBuilds', description: '/docs/references/health/get-queue-builds.md', responses: [ @@ -506,6 +516,7 @@ App::get('/v1/health/queue/databases') ->label('sdk', new Method( auth: [AuthType::KEY], namespace: 'health', + group: 'queue', name: 'getQueueDatabases', description: '/docs/references/health/get-queue-databases.md', responses: [ @@ -539,6 +550,7 @@ App::get('/v1/health/queue/deletes') ->label('sdk', new Method( auth: [AuthType::KEY], namespace: 'health', + group: 'queue', name: 'getQueueDeletes', description: '/docs/references/health/get-queue-deletes.md', responses: [ @@ -571,6 +583,7 @@ App::get('/v1/health/queue/mails') ->label('sdk', new Method( auth: [AuthType::KEY], namespace: 'health', + group: 'queue', name: 'getQueueMails', description: '/docs/references/health/get-queue-mails.md', responses: [ @@ -603,6 +616,7 @@ App::get('/v1/health/queue/messaging') ->label('sdk', new Method( auth: [AuthType::KEY], namespace: 'health', + group: 'queue', name: 'getQueueMessaging', description: '/docs/references/health/get-queue-messaging.md', responses: [ @@ -635,6 +649,7 @@ App::get('/v1/health/queue/migrations') ->label('sdk', new Method( auth: [AuthType::KEY], namespace: 'health', + group: 'queue', name: 'getQueueMigrations', description: '/docs/references/health/get-queue-migrations.md', responses: [ @@ -667,6 +682,7 @@ App::get('/v1/health/queue/functions') ->label('sdk', new Method( auth: [AuthType::KEY], namespace: 'health', + group: 'queue', name: 'getQueueFunctions', description: '/docs/references/health/get-queue-functions.md', responses: [ @@ -699,6 +715,7 @@ App::get('/v1/health/queue/stats-resources') ->label('sdk', new Method( auth: [AuthType::KEY], namespace: 'health', + group: 'queue', name: 'getQueueStatsResources', description: '/docs/references/health/get-queue-stats-resources.md', responses: [ @@ -731,6 +748,7 @@ App::get('/v1/health/queue/stats-usage') ->label('sdk', new Method( auth: [AuthType::KEY], namespace: 'health', + group: 'queue', name: 'getQueueUsage', description: '/docs/references/health/get-queue-stats-usage.md', responses: [ @@ -756,38 +774,6 @@ App::get('/v1/health/queue/stats-usage') $response->dynamic(new Document([ 'size' => $size ]), Response::MODEL_HEALTH_QUEUE); }); -App::get('/v1/health/queue/stats-usage-dump') - ->desc('Get usage dump queue') - ->groups(['api', 'health']) - ->label('scope', 'health.read') - ->label('sdk', new Method( - auth: [AuthType::KEY], - namespace: 'health', - name: 'getQueueStatsUsageDump', - description: '/docs/references/health/get-queue-stats-usage-dump.md', - responses: [ - new SDKResponse( - code: Response::STATUS_CODE_OK, - model: Response::MODEL_HEALTH_QUEUE, - ) - ], - contentType: ContentType::JSON - )) - ->param('threshold', 5000, new Integer(true), 'Queue size threshold. When hit (equal or higher), endpoint returns server error. Default value is 5000.', true) - ->inject('publisher') - ->inject('response') - ->action(function (int|string $threshold, Publisher $publisher, Response $response) { - $threshold = \intval($threshold); - - $size = $publisher->getQueueSize(new Queue(Event::STATS_USAGE_DUMP_QUEUE_NAME)); - - if ($size >= $threshold) { - throw new Exception(Exception::HEALTH_QUEUE_SIZE_EXCEEDED, "Queue size threshold hit. Current size is {$size} and threshold is {$threshold}."); - } - - $response->dynamic(new Document([ 'size' => $size ]), Response::MODEL_HEALTH_QUEUE); - }); - App::get('/v1/health/storage/local') ->desc('Get local storage') ->groups(['api', 'health']) @@ -795,6 +781,7 @@ App::get('/v1/health/storage/local') ->label('sdk', new Method( auth: [AuthType::KEY], namespace: 'health', + group: 'storage', name: 'getStorageLocal', description: '/docs/references/health/get-storage-local.md', responses: [ @@ -844,6 +831,7 @@ App::get('/v1/health/storage') ->label('sdk', new Method( auth: [AuthType::KEY], namespace: 'health', + group: 'storage', name: 'getStorage', description: '/docs/references/health/get-storage.md', responses: [ @@ -892,6 +880,7 @@ App::get('/v1/health/anti-virus') ->label('sdk', new Method( auth: [AuthType::KEY], namespace: 'health', + group: 'health', name: 'getAntivirus', description: '/docs/references/health/get-storage-anti-virus.md', responses: [ @@ -937,6 +926,7 @@ App::get('/v1/health/queue/failed/:name') ->label('sdk', new Method( auth: [AuthType::KEY], namespace: 'health', + group: 'queue', name: 'getFailedJobs', description: '/docs/references/health/get-failed-queue-jobs.md', responses: [ @@ -955,7 +945,6 @@ App::get('/v1/health/queue/failed/:name') Event::FUNCTIONS_QUEUE_NAME, Event::STATS_RESOURCES_QUEUE_NAME, Event::STATS_USAGE_QUEUE_NAME, - Event::STATS_USAGE_DUMP_QUEUE_NAME, Event::WEBHOOK_QUEUE_NAME, Event::CERTIFICATES_QUEUE_NAME, Event::BUILDS_QUEUE_NAME, @@ -981,9 +970,6 @@ App::get('/v1/health/stats') // Currently only used internally ->desc('Get system stats') ->groups(['api', 'health']) ->label('scope', 'root') - // ->label('sdk.auth', [APP_AUTH_TYPE_KEY]) - // ->label('sdk.namespace', 'health') - // ->label('sdk.method', 'getStats') ->label('docs', false) ->inject('response') ->inject('register') diff --git a/app/controllers/api/locale.php b/app/controllers/api/locale.php index 523ac3976b..2c8a38de07 100644 --- a/app/controllers/api/locale.php +++ b/app/controllers/api/locale.php @@ -17,6 +17,7 @@ App::get('/v1/locale') ->label('scope', 'locale.read') ->label('sdk', new Method( namespace: 'locale', + group: null, name: 'get', description: '/docs/references/locale/get-locale.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -80,6 +81,7 @@ App::get('/v1/locale/codes') ->label('scope', 'locale.read') ->label('sdk', new Method( namespace: 'locale', + group: null, name: 'listCodes', description: '/docs/references/locale/list-locale-codes.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -105,6 +107,7 @@ App::get('/v1/locale/countries') ->label('scope', 'locale.read') ->label('sdk', new Method( namespace: 'locale', + group: null, name: 'listCountries', description: '/docs/references/locale/list-countries.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -141,6 +144,7 @@ App::get('/v1/locale/countries/eu') ->label('scope', 'locale.read') ->label('sdk', new Method( namespace: 'locale', + group: null, name: 'listCountriesEU', description: '/docs/references/locale/list-countries-eu.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -179,6 +183,7 @@ App::get('/v1/locale/countries/phones') ->label('scope', 'locale.read') ->label('sdk', new Method( namespace: 'locale', + group: null, name: 'listCountriesPhones', description: '/docs/references/locale/list-countries-phones.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -216,6 +221,7 @@ App::get('/v1/locale/continents') ->label('scope', 'locale.read') ->label('sdk', new Method( namespace: 'locale', + group: null, name: 'listContinents', description: '/docs/references/locale/list-continents.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -251,6 +257,7 @@ App::get('/v1/locale/currencies') ->label('scope', 'locale.read') ->label('sdk', new Method( namespace: 'locale', + group: null, name: 'listCurrencies', description: '/docs/references/locale/list-currencies.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -277,6 +284,7 @@ App::get('/v1/locale/languages') ->label('scope', 'locale.read') ->label('sdk', new Method( namespace: 'locale', + group: null, name: 'listLanguages', description: '/docs/references/locale/list-languages.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], diff --git a/app/controllers/api/messaging.php b/app/controllers/api/messaging.php index 178266db60..1d11e6c392 100644 --- a/app/controllers/api/messaging.php +++ b/app/controllers/api/messaging.php @@ -30,6 +30,7 @@ use Utopia\Database\Database; use Utopia\Database\DateTime; use Utopia\Database\Document; use Utopia\Database\Exception\Duplicate as DuplicateException; +use Utopia\Database\Exception\Order as OrderException; use Utopia\Database\Exception\Query as QueryException; use Utopia\Database\Helpers\ID; use Utopia\Database\Query; @@ -63,6 +64,7 @@ App::post('/v1/messaging/providers/mailgun') ->label('resourceType', RESOURCE_TYPE_PROVIDERS) ->label('sdk', new Method( namespace: 'messaging', + group: 'providers', name: 'createMailgunProvider', description: '/docs/references/messaging/create-mailgun-provider.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -156,6 +158,7 @@ App::post('/v1/messaging/providers/sendgrid') ->label('resourceType', RESOURCE_TYPE_PROVIDERS) ->label('sdk', new Method( namespace: 'messaging', + group: 'providers', name: 'createSendgridProvider', description: '/docs/references/messaging/create-sendgrid-provider.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -237,6 +240,7 @@ App::post('/v1/messaging/providers/smtp') ->label('resourceType', RESOURCE_TYPE_PROVIDERS) ->label('sdk', new Method( namespace: 'messaging', + group: 'providers', name: 'createSmtpProvider', description: '/docs/references/messaging/create-smtp-provider.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -331,6 +335,7 @@ App::post('/v1/messaging/providers/msg91') ->label('event', 'providers.[providerId].create') ->label('sdk', new Method( namespace: 'messaging', + group: 'providers', name: 'createMsg91Provider', description: '/docs/references/messaging/create-msg91-provider.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -413,6 +418,7 @@ App::post('/v1/messaging/providers/telesign') ->label('resourceType', RESOURCE_TYPE_PROVIDERS) ->label('sdk', new Method( namespace: 'messaging', + group: 'providers', name: 'createTelesignProvider', description: '/docs/references/messaging/create-telesign-provider.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -496,6 +502,7 @@ App::post('/v1/messaging/providers/textmagic') ->label('resourceType', RESOURCE_TYPE_PROVIDERS) ->label('sdk', new Method( namespace: 'messaging', + group: 'providers', name: 'createTextmagicProvider', description: '/docs/references/messaging/create-textmagic-provider.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -579,6 +586,7 @@ App::post('/v1/messaging/providers/twilio') ->label('resourceType', RESOURCE_TYPE_PROVIDERS) ->label('sdk', new Method( namespace: 'messaging', + group: 'providers', name: 'createTwilioProvider', description: '/docs/references/messaging/create-twilio-provider.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -662,6 +670,7 @@ App::post('/v1/messaging/providers/vonage') ->label('resourceType', RESOURCE_TYPE_PROVIDERS) ->label('sdk', new Method( namespace: 'messaging', + group: 'providers', name: 'createVonageProvider', description: '/docs/references/messaging/create-vonage-provider.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -745,6 +754,7 @@ App::post('/v1/messaging/providers/fcm') ->label('resourceType', RESOURCE_TYPE_PROVIDERS) ->label('sdk', new Method( namespace: 'messaging', + group: 'providers', name: 'createFcmProvider', description: '/docs/references/messaging/create-fcm-provider.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -814,6 +824,7 @@ App::post('/v1/messaging/providers/apns') ->label('resourceType', RESOURCE_TYPE_PROVIDERS) ->label('sdk', new Method( namespace: 'messaging', + group: 'providers', name: 'createApnsProvider', description: '/docs/references/messaging/create-apns-provider.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -903,6 +914,7 @@ App::get('/v1/messaging/providers') ->label('resourceType', RESOURCE_TYPE_PROVIDERS) ->label('sdk', new Method( namespace: 'messaging', + group: 'providers', name: 'listProviders', description: '/docs/references/messaging/list-providers.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -951,10 +963,15 @@ App::get('/v1/messaging/providers') $cursor->setValue($cursorDocument); } - + try { + $providers = $dbForProject->find('providers', $queries); + $total = $dbForProject->count('providers', $queries, APP_LIMIT_COUNT); + } catch (OrderException $e) { + throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order attribute '{$e->getAttribute()}' had a null value. Cursor pagination requires all documents order attribute values are non-null."); + } $response->dynamic(new Document([ - 'providers' => $dbForProject->find('providers', $queries), - 'total' => $dbForProject->count('providers', $queries, APP_LIMIT_COUNT), + 'providers' => $providers, + 'total' => $total, ]), Response::MODEL_PROVIDER_LIST); }); @@ -965,6 +982,7 @@ App::get('/v1/messaging/providers/:providerId/logs') ->label('resourceType', RESOURCE_TYPE_PROVIDERS) ->label('sdk', new Method( namespace: 'messaging', + group: 'providers', name: 'listProviderLogs', description: '/docs/references/messaging/list-provider-logs.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -1061,6 +1079,7 @@ App::get('/v1/messaging/providers/:providerId') ->label('resourceType', RESOURCE_TYPE_PROVIDERS) ->label('sdk', new Method( namespace: 'messaging', + group: 'providers', name: 'getProvider', description: '/docs/references/messaging/get-provider.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -1094,6 +1113,7 @@ App::patch('/v1/messaging/providers/mailgun/:providerId') ->label('resourceType', RESOURCE_TYPE_PROVIDERS) ->label('sdk', new Method( namespace: 'messaging', + group: 'providers', name: 'updateMailgunProvider', description: '/docs/references/messaging/update-mailgun-provider.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -1206,6 +1226,7 @@ App::patch('/v1/messaging/providers/sendgrid/:providerId') ->label('resourceType', RESOURCE_TYPE_PROVIDERS) ->label('sdk', new Method( namespace: 'messaging', + group: 'providers', name: 'updateSendgridProvider', description: '/docs/references/messaging/update-sendgrid-provider.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -1303,6 +1324,7 @@ App::patch('/v1/messaging/providers/smtp/:providerId') ->label('resourceType', RESOURCE_TYPE_PROVIDERS) ->label('sdk', new Method( namespace: 'messaging', + group: 'providers', name: 'updateSmtpProvider', description: '/docs/references/messaging/update-smtp-provider.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -1431,6 +1453,7 @@ App::patch('/v1/messaging/providers/msg91/:providerId') ->label('resourceType', RESOURCE_TYPE_PROVIDERS) ->label('sdk', new Method( namespace: 'messaging', + group: 'providers', name: 'updateMsg91Provider', description: '/docs/references/messaging/update-msg91-provider.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -1517,6 +1540,7 @@ App::patch('/v1/messaging/providers/telesign/:providerId') ->label('resourceType', RESOURCE_TYPE_PROVIDERS) ->label('sdk', new Method( namespace: 'messaging', + group: 'providers', name: 'updateTelesignProvider', description: '/docs/references/messaging/update-telesign-provider.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -1605,6 +1629,7 @@ App::patch('/v1/messaging/providers/textmagic/:providerId') ->label('resourceType', RESOURCE_TYPE_PROVIDERS) ->label('sdk', new Method( namespace: 'messaging', + group: 'providers', name: 'updateTextmagicProvider', description: '/docs/references/messaging/update-textmagic-provider.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -1693,6 +1718,7 @@ App::patch('/v1/messaging/providers/twilio/:providerId') ->label('resourceType', RESOURCE_TYPE_PROVIDERS) ->label('sdk', new Method( namespace: 'messaging', + group: 'providers', name: 'updateTwilioProvider', description: '/docs/references/messaging/update-twilio-provider.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -1781,6 +1807,7 @@ App::patch('/v1/messaging/providers/vonage/:providerId') ->label('resourceType', RESOURCE_TYPE_PROVIDERS) ->label('sdk', new Method( namespace: 'messaging', + group: 'providers', name: 'updateVonageProvider', description: '/docs/references/messaging/update-vonage-provider.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -1869,6 +1896,7 @@ App::patch('/v1/messaging/providers/fcm/:providerId') ->label('resourceType', RESOURCE_TYPE_PROVIDERS) ->label('sdk', new Method( namespace: 'messaging', + group: 'providers', name: 'updateFcmProvider', description: '/docs/references/messaging/update-fcm-provider.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -1944,6 +1972,7 @@ App::patch('/v1/messaging/providers/apns/:providerId') ->label('resourceType', RESOURCE_TYPE_PROVIDERS) ->label('sdk', new Method( namespace: 'messaging', + group: 'providers', name: 'updateApnsProvider', description: '/docs/references/messaging/update-apns-provider.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -2045,6 +2074,7 @@ App::delete('/v1/messaging/providers/:providerId') ->label('resourceType', RESOURCE_TYPE_PROVIDERS) ->label('sdk', new Method( namespace: 'messaging', + group: 'providers', name: 'deleteProvider', description: '/docs/references/messaging/delete-provider.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -2087,6 +2117,7 @@ App::post('/v1/messaging/topics') ->label('resourceType', RESOURCE_TYPE_TOPICS) ->label('sdk', new Method( namespace: 'messaging', + group: 'topics', name: 'createTopic', description: '/docs/references/messaging/create-topic.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -2133,6 +2164,7 @@ App::get('/v1/messaging/topics') ->label('resourceType', RESOURCE_TYPE_TOPICS) ->label('sdk', new Method( namespace: 'messaging', + group: 'topics', name: 'listTopics', description: '/docs/references/messaging/list-topics.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -2181,10 +2213,15 @@ App::get('/v1/messaging/topics') $cursor->setValue($cursorDocument[0]); } - + try { + $topics = $dbForProject->find('topics', $queries); + $total = $dbForProject->count('topics', $queries, APP_LIMIT_COUNT); + } catch (OrderException $e) { + throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order attribute '{$e->getAttribute()}' had a null value. Cursor pagination requires all documents order attribute values are non-null."); + } $response->dynamic(new Document([ - 'topics' => $dbForProject->find('topics', $queries), - 'total' => $dbForProject->count('topics', $queries, APP_LIMIT_COUNT), + 'topics' => $topics, + 'total' => $total, ]), Response::MODEL_TOPIC_LIST); }); @@ -2195,6 +2232,7 @@ App::get('/v1/messaging/topics/:topicId/logs') ->label('resourceType', RESOURCE_TYPE_TOPICS) ->label('sdk', new Method( namespace: 'messaging', + group: 'topics', name: 'listTopicLogs', description: '/docs/references/messaging/list-topic-logs.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -2292,6 +2330,7 @@ App::get('/v1/messaging/topics/:topicId') ->label('resourceType', RESOURCE_TYPE_TOPICS) ->label('sdk', new Method( namespace: 'messaging', + group: 'topics', name: 'getTopic', description: '/docs/references/messaging/get-topic.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -2326,6 +2365,7 @@ App::patch('/v1/messaging/topics/:topicId') ->label('resourceType', RESOURCE_TYPE_TOPICS) ->label('sdk', new Method( namespace: 'messaging', + group: 'topics', name: 'updateTopic', description: '/docs/references/messaging/update-topic.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -2376,6 +2416,7 @@ App::delete('/v1/messaging/topics/:topicId') ->label('resourceType', RESOURCE_TYPE_TOPICS) ->label('sdk', new Method( namespace: 'messaging', + group: 'topics', name: 'deleteTopic', description: '/docs/references/messaging/delete-topic.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -2423,6 +2464,7 @@ App::post('/v1/messaging/topics/:topicId/subscribers') ->label('resourceType', RESOURCE_TYPE_SUBSCRIBERS) ->label('sdk', new Method( namespace: 'messaging', + group: 'subscribers', name: 'createSubscriber', description: '/docs/references/messaging/create-subscriber.md', auth: [AuthType::JWT, AuthType::SESSION, AuthType::ADMIN, AuthType::KEY], @@ -2522,6 +2564,7 @@ App::get('/v1/messaging/topics/:topicId/subscribers') ->label('resourceType', RESOURCE_TYPE_SUBSCRIBERS) ->label('sdk', new Method( namespace: 'messaging', + group: 'subscribers', name: 'listSubscribers', description: '/docs/references/messaging/list-subscribers.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -2579,8 +2622,11 @@ App::get('/v1/messaging/topics/:topicId/subscribers') $cursor->setValue($cursorDocument); } - - $subscribers = $dbForProject->find('subscribers', $queries); + try { + $subscribers = $dbForProject->find('subscribers', $queries); + } catch (OrderException $e) { + throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order attribute '{$e->getAttribute()}' had a null value. Cursor pagination requires all documents order attribute values are non-null."); + } $subscribers = batch(\array_map(function (Document $subscriber) use ($dbForProject) { return function () use ($subscriber, $dbForProject) { @@ -2607,6 +2653,7 @@ App::get('/v1/messaging/subscribers/:subscriberId/logs') ->label('resourceType', RESOURCE_TYPE_SUBSCRIBERS) ->label('sdk', new Method( namespace: 'messaging', + group: 'subscribers', name: 'listSubscriberLogs', description: '/docs/references/messaging/list-subscriber-logs.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -2704,6 +2751,7 @@ App::get('/v1/messaging/topics/:topicId/subscribers/:subscriberId') ->label('resourceType', RESOURCE_TYPE_SUBSCRIBERS) ->label('sdk', new Method( namespace: 'messaging', + group: 'subscribers', name: 'getSubscriber', description: '/docs/references/messaging/get-subscriber.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -2752,6 +2800,7 @@ App::delete('/v1/messaging/topics/:topicId/subscribers/:subscriberId') ->label('resourceType', RESOURCE_TYPE_SUBSCRIBERS) ->label('sdk', new Method( namespace: 'messaging', + group: 'subscribers', name: 'deleteSubscriber', description: '/docs/references/messaging/delete-subscriber.md', auth: [AuthType::JWT, AuthType::SESSION, AuthType::ADMIN, AuthType::KEY], @@ -2818,6 +2867,7 @@ App::post('/v1/messaging/messages/email') ->label('resourceType', RESOURCE_TYPE_MESSAGES) ->label('sdk', new Method( namespace: 'messaging', + group: 'messages', name: 'createEmail', description: '/docs/references/messaging/create-email.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -2976,6 +3026,7 @@ App::post('/v1/messaging/messages/sms') ->label('resourceType', RESOURCE_TYPE_MESSAGES) ->label('sdk', new Method( namespace: 'messaging', + group: 'messages', name: 'createSms', description: '/docs/references/messaging/create-sms.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -3098,6 +3149,7 @@ App::post('/v1/messaging/messages/push') ->label('resourceType', RESOURCE_TYPE_MESSAGES) ->label('sdk', new Method( namespace: 'messaging', + group: 'messages', name: 'createPush', description: '/docs/references/messaging/create-push.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -3312,6 +3364,7 @@ App::get('/v1/messaging/messages') ->label('resourceType', RESOURCE_TYPE_MESSAGES) ->label('sdk', new Method( namespace: 'messaging', + group: 'messages', name: 'listMessages', description: '/docs/references/messaging/list-messages.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -3360,10 +3413,15 @@ App::get('/v1/messaging/messages') $cursor->setValue($cursorDocument); } - + try { + $messages = $dbForProject->find('messages', $queries); + $total = $dbForProject->count('messages', $queries, APP_LIMIT_COUNT); + } catch (OrderException $e) { + throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order attribute '{$e->getAttribute()}' had a null value. Cursor pagination requires all documents order attribute values are non-null."); + } $response->dynamic(new Document([ - 'messages' => $dbForProject->find('messages', $queries), - 'total' => $dbForProject->count('messages', $queries, APP_LIMIT_COUNT), + 'messages' => $messages, + 'total' => $total, ]), Response::MODEL_MESSAGE_LIST); }); @@ -3374,6 +3432,7 @@ App::get('/v1/messaging/messages/:messageId/logs') ->label('resourceType', RESOURCE_TYPE_MESSAGES) ->label('sdk', new Method( namespace: 'messaging', + group: 'logs', name: 'listMessageLogs', description: '/docs/references/messaging/list-message-logs.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -3471,6 +3530,7 @@ App::get('/v1/messaging/messages/:messageId/targets') ->label('resourceType', RESOURCE_TYPE_MESSAGES) ->label('sdk', new Method( namespace: 'messaging', + group: 'messages', name: 'listTargets', description: '/docs/references/messaging/list-message-targets.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -3533,10 +3593,15 @@ App::get('/v1/messaging/messages/:messageId/targets') $cursor->setValue($cursorDocument); } - + try { + $targets = $dbForProject->find('targets', $queries); + $total = $dbForProject->count('targets', $queries, APP_LIMIT_COUNT); + } catch (OrderException $e) { + throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order attribute '{$e->getAttribute()}' had a null value. Cursor pagination requires all documents order attribute values are non-null."); + } $response->dynamic(new Document([ - 'targets' => $dbForProject->find('targets', $queries), - 'total' => $dbForProject->count('targets', $queries, APP_LIMIT_COUNT), + 'targets' => $targets, + 'total' => $total, ]), Response::MODEL_TARGET_LIST); }); @@ -3547,6 +3612,7 @@ App::get('/v1/messaging/messages/:messageId') ->label('resourceType', RESOURCE_TYPE_MESSAGES) ->label('sdk', new Method( namespace: 'messaging', + group: 'messages', name: 'getMessage', description: '/docs/references/messaging/get-message.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -3580,6 +3646,7 @@ App::patch('/v1/messaging/messages/email/:messageId') ->label('resourceType', RESOURCE_TYPE_MESSAGES) ->label('sdk', new Method( namespace: 'messaging', + group: 'messages', name: 'updateEmail', description: '/docs/references/messaging/update-email.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -3786,6 +3853,7 @@ App::patch('/v1/messaging/messages/sms/:messageId') ->label('resourceType', RESOURCE_TYPE_MESSAGES) ->label('sdk', new Method( namespace: 'messaging', + group: 'messages', name: 'updateSms', description: '/docs/references/messaging/update-sms.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -3947,6 +4015,7 @@ App::patch('/v1/messaging/messages/push/:messageId') ->label('resourceType', RESOURCE_TYPE_MESSAGES) ->label('sdk', new Method( namespace: 'messaging', + group: 'messages', name: 'updatePush', description: '/docs/references/messaging/update-push.md', auth: [AuthType::ADMIN, AuthType::KEY], @@ -4206,6 +4275,7 @@ App::delete('/v1/messaging/messages/:messageId') ->label('resourceType', RESOURCE_TYPE_MESSAGES) ->label('sdk', new Method( namespace: 'messaging', + group: 'messages', name: 'delete', description: '/docs/references/messaging/delete-message.md', auth: [AuthType::ADMIN, AuthType::KEY], diff --git a/app/controllers/api/migrations.php b/app/controllers/api/migrations.php index afb27b2c94..494ccfcaac 100644 --- a/app/controllers/api/migrations.php +++ b/app/controllers/api/migrations.php @@ -15,6 +15,7 @@ use Appwrite\Utopia\Response; use Utopia\App; use Utopia\Database\Database; use Utopia\Database\Document; +use Utopia\Database\Exception\Order as OrderException; use Utopia\Database\Exception\Query as QueryException; use Utopia\Database\Helpers\ID; use Utopia\Database\Query; @@ -43,12 +44,13 @@ include_once __DIR__ . '/../shared/api.php'; App::post('/v1/migrations/appwrite') ->groups(['api', 'migrations']) - ->desc('Migrate Appwrite data') + ->desc('Create Appwrite migration') ->label('scope', 'migrations.write') ->label('event', 'migrations.[migrationId].create') ->label('audits.event', 'migration.create') ->label('sdk', new Method( namespace: 'migrations', + group: null, name: 'createAppwriteMigration', description: '/docs/references/migrations/migration-appwrite.md', auth: [AuthType::ADMIN], @@ -103,12 +105,13 @@ App::post('/v1/migrations/appwrite') App::post('/v1/migrations/firebase') ->groups(['api', 'migrations']) - ->desc('Migrate Firebase data') + ->desc('Create Firebase migration') ->label('scope', 'migrations.write') ->label('event', 'migrations.[migrationId].create') ->label('audits.event', 'migration.create') ->label('sdk', new Method( namespace: 'migrations', + group: null, name: 'createFirebaseMigration', description: '/docs/references/migrations/migration-firebase.md', auth: [AuthType::ADMIN], @@ -169,12 +172,13 @@ App::post('/v1/migrations/firebase') App::post('/v1/migrations/supabase') ->groups(['api', 'migrations']) - ->desc('Migrate Supabase data') + ->desc('Create Supabase migration') ->label('scope', 'migrations.write') ->label('event', 'migrations.[migrationId].create') ->label('audits.event', 'migration.create') ->label('sdk', new Method( namespace: 'migrations', + group: null, name: 'createSupabaseMigration', description: '/docs/references/migrations/migration-supabase.md', auth: [AuthType::ADMIN], @@ -235,12 +239,13 @@ App::post('/v1/migrations/supabase') App::post('/v1/migrations/nhost') ->groups(['api', 'migrations']) - ->desc('Migrate NHost data') + ->desc('Create NHost migration') ->label('scope', 'migrations.write') ->label('event', 'migrations.[migrationId].create') ->label('audits.event', 'migration.create') ->label('sdk', new Method( namespace: 'migrations', + group: null, name: 'createNHostMigration', description: '/docs/references/migrations/migration-nhost.md', auth: [AuthType::ADMIN], @@ -309,6 +314,7 @@ App::post('/v1/migrations/csv') ->label('audits.event', 'migration.create') ->label('sdk', new Method( namespace: 'migrations', + group: null, name: 'createCsvMigration', description: '/docs/references/migrations/migration-csv.md', auth: [AuthType::ADMIN], @@ -431,6 +437,7 @@ App::get('/v1/migrations') ->label('scope', 'migrations.read') ->label('sdk', new Method( namespace: 'migrations', + group: null, name: 'list', description: '/docs/references/migrations/list-migrations.md', auth: [AuthType::ADMIN], @@ -482,10 +489,15 @@ App::get('/v1/migrations') } $filterQueries = Query::groupByType($queries)['filters']; - + try { + $migrations = $dbForProject->find('migrations', $queries); + $total = $dbForProject->count('migrations', $filterQueries, APP_LIMIT_COUNT); + } catch (OrderException $e) { + throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order attribute '{$e->getAttribute()}' had a null value. Cursor pagination requires all documents order attribute values are non-null."); + } $response->dynamic(new Document([ - 'migrations' => $dbForProject->find('migrations', $queries), - 'total' => $dbForProject->count('migrations', $filterQueries, APP_LIMIT_COUNT), + 'migrations' => $migrations, + 'total' => $total, ]), Response::MODEL_MIGRATION_LIST); }); @@ -495,6 +507,7 @@ App::get('/v1/migrations/:migrationId') ->label('scope', 'migrations.read') ->label('sdk', new Method( namespace: 'migrations', + group: null, name: 'get', description: '/docs/references/migrations/get-migration.md', auth: [AuthType::ADMIN], @@ -520,10 +533,11 @@ App::get('/v1/migrations/:migrationId') App::get('/v1/migrations/appwrite/report') ->groups(['api', 'migrations']) - ->desc('Generate a report on Appwrite data') + ->desc('Get Appwrite migration report') ->label('scope', 'migrations.write') ->label('sdk', new Method( namespace: 'migrations', + group: null, name: 'getAppwriteReport', description: '/docs/references/migrations/migration-appwrite-report.md', auth: [AuthType::ADMIN], @@ -543,6 +557,7 @@ App::get('/v1/migrations/appwrite/report') ->inject('project') ->inject('user') ->action(function (array $resources, string $endpoint, string $projectID, string $key, Response $response) { + $appwrite = new Appwrite($projectID, $endpoint, $key); try { @@ -567,10 +582,11 @@ App::get('/v1/migrations/appwrite/report') App::get('/v1/migrations/firebase/report') ->groups(['api', 'migrations']) - ->desc('Generate a report on Firebase data') + ->desc('Get Firebase migration report') ->label('scope', 'migrations.write') ->label('sdk', new Method( namespace: 'migrations', + group: null, name: 'getFirebaseReport', description: '/docs/references/migrations/migration-firebase-report.md', auth: [AuthType::ADMIN], @@ -619,10 +635,11 @@ App::get('/v1/migrations/firebase/report') App::get('/v1/migrations/supabase/report') ->groups(['api', 'migrations']) - ->desc('Generate a report on Supabase Data') + ->desc('Get Supabase migration report') ->label('scope', 'migrations.write') ->label('sdk', new Method( namespace: 'migrations', + group: null, name: 'getSupabaseReport', description: '/docs/references/migrations/migration-supabase-report.md', auth: [AuthType::ADMIN], @@ -667,10 +684,11 @@ App::get('/v1/migrations/supabase/report') App::get('/v1/migrations/nhost/report') ->groups(['api', 'migrations']) - ->desc('Generate a report on NHost Data') + ->desc('Get NHost migration report') ->label('scope', 'migrations.write') ->label('sdk', new Method( namespace: 'migrations', + group: null, name: 'getNHostReport', description: '/docs/references/migrations/migration-nhost-report.md', auth: [AuthType::ADMIN], @@ -715,13 +733,14 @@ App::get('/v1/migrations/nhost/report') App::patch('/v1/migrations/:migrationId') ->groups(['api', 'migrations']) - ->desc('Retry migration') + ->desc('Update retry migration') ->label('scope', 'migrations.write') ->label('event', 'migrations.[migrationId].retry') ->label('audits.event', 'migration.retry') ->label('audits.resource', 'migrations/{request.migrationId}') ->label('sdk', new Method( namespace: 'migrations', + group: null, name: 'retry', description: '/docs/references/migrations/retry-migration.md', auth: [AuthType::ADMIN], @@ -772,6 +791,7 @@ App::delete('/v1/migrations/:migrationId') ->label('audits.resource', 'migrations/{request.migrationId}') ->label('sdk', new Method( namespace: 'migrations', + group: null, name: 'delete', description: '/docs/references/migrations/delete-migration.md', auth: [AuthType::ADMIN], diff --git a/app/controllers/api/project.php b/app/controllers/api/project.php index 4c7b21c0f8..047179b888 100644 --- a/app/controllers/api/project.php +++ b/app/controllers/api/project.php @@ -27,6 +27,7 @@ App::get('/v1/project/usage') ->label('scope', 'projects.read') ->label('sdk', new Method( namespace: 'project', + group: null, name: 'getUsage', description: '/docs/references/project/get-usage.md', auth: [AuthType::ADMIN], @@ -388,6 +389,7 @@ App::post('/v1/project/variables') ->label('audits.event', 'variable.create') ->label('sdk', new Method( namespace: 'project', + group: null, name: 'createVariable', description: '/docs/references/project/create-variable.md', auth: [AuthType::ADMIN], @@ -449,6 +451,7 @@ App::get('/v1/project/variables') ->label('scope', 'projects.read') ->label('sdk', new Method( namespace: 'project', + group: null, name: 'listVariables', description: '/docs/references/project/list-variables.md', auth: [AuthType::ADMIN], @@ -479,6 +482,7 @@ App::get('/v1/project/variables/:variableId') ->label('scope', 'projects.read') ->label('sdk', new Method( namespace: 'project', + group: null, name: 'getVariable', description: '/docs/references/project/get-variable.md', auth: [AuthType::ADMIN], @@ -508,6 +512,7 @@ App::put('/v1/project/variables/:variableId') ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'project', + group: null, name: 'updateVariable', description: '/docs/references/project/update-variable.md', auth: [AuthType::ADMIN], @@ -565,6 +570,7 @@ App::delete('/v1/project/variables/:variableId') ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'project', + group: null, name: 'deleteVariable', description: '/docs/references/project/delete-variable.md', auth: [AuthType::ADMIN], diff --git a/app/controllers/api/projects.php b/app/controllers/api/projects.php index 48d20cd17f..839a51a764 100644 --- a/app/controllers/api/projects.php +++ b/app/controllers/api/projects.php @@ -28,6 +28,7 @@ use Utopia\Database\Database; use Utopia\Database\DateTime; use Utopia\Database\Document; use Utopia\Database\Exception\Duplicate; +use Utopia\Database\Exception\Order as OrderException; use Utopia\Database\Exception\Query as QueryException; use Utopia\Database\Helpers\ID; use Utopia\Database\Helpers\Permission; @@ -68,6 +69,7 @@ App::post('/v1/projects') ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'projects', name: 'create', description: '/docs/references/projects/create.md', auth: [AuthType::ADMIN], @@ -138,6 +140,14 @@ App::post('/v1/projects') $databases = Config::getParam('pools-database', []); + if ($region !== 'default') { + $databaseKeys = System::getEnv('_APP_DATABASE_KEYS', ''); + $keys = explode(',', $databaseKeys); + $databases = array_filter($keys, function ($value) use ($region) { + return str_contains($value, $region); + }); + } + $databaseOverride = System::getEnv('_APP_DATABASE_OVERRIDE'); $index = \array_search($databaseOverride, $databases); if ($index !== false) { @@ -205,17 +215,17 @@ App::post('/v1/projects') $dsn = new DSN('mysql://' . $dsn); } - $adapter = $pools->get($dsn->getHost())->pop()->getResource(); - $dbForProject = new Database($adapter, $cache); $sharedTables = \explode(',', System::getEnv('_APP_DATABASE_SHARED_TABLES', '')); $sharedTablesV1 = \explode(',', System::getEnv('_APP_DATABASE_SHARED_TABLES_V1', '')); - $projectTables = !\in_array($dsn->getHost(), $sharedTables); $sharedTablesV1 = \in_array($dsn->getHost(), $sharedTablesV1); $sharedTablesV2 = !$projectTables && !$sharedTablesV1; $sharedTables = $sharedTablesV1 || $sharedTablesV2; if (!$sharedTablesV2) { + $adapter = $pools->get($dsn->getHost())->pop()->getResource(); + $dbForProject = new Database($adapter, $cache); + if ($sharedTables) { $dbForProject ->setSharedTables(true) @@ -297,6 +307,7 @@ App::get('/v1/projects') ->label('scope', 'projects.read') ->label('sdk', new Method( namespace: 'projects', + group: 'projects', name: 'list', description: '/docs/references/projects/list.md', auth: [AuthType::ADMIN], @@ -349,10 +360,15 @@ App::get('/v1/projects') } $filterQueries = Query::groupByType($queries)['filters']; - + try { + $projects = $dbForPlatform->find('projects', $queries); + $total = $dbForPlatform->count('projects', $filterQueries, APP_LIMIT_COUNT); + } catch (OrderException $e) { + throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order attribute '{$e->getAttribute()}' had a null value. Cursor pagination requires all documents order attribute values are non-null."); + } $response->dynamic(new Document([ - 'projects' => $dbForPlatform->find('projects', $queries), - 'total' => $dbForPlatform->count('projects', $filterQueries, APP_LIMIT_COUNT), + 'projects' => $projects, + 'total' => $total, ]), Response::MODEL_PROJECT_LIST); }); @@ -362,6 +378,7 @@ App::get('/v1/projects/:projectId') ->label('scope', 'projects.read') ->label('sdk', new Method( namespace: 'projects', + group: 'projects', name: 'get', description: '/docs/references/projects/get.md', auth: [AuthType::ADMIN], @@ -394,6 +411,7 @@ App::patch('/v1/projects/:projectId') ->label('audits.resource', 'project/{request.projectId}') ->label('sdk', new Method( namespace: 'projects', + group: 'projects', name: 'update', description: '/docs/references/projects/update.md', auth: [AuthType::ADMIN], @@ -447,6 +465,7 @@ App::patch('/v1/projects/:projectId/team') ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'projects', name: 'updateTeam', description: '/docs/references/projects/update-team.md', auth: [AuthType::ADMIN], @@ -521,6 +540,7 @@ App::patch('/v1/projects/:projectId/service') ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'projects', name: 'updateServiceStatus', description: '/docs/references/projects/update-service-status.md', auth: [AuthType::ADMIN], @@ -558,6 +578,7 @@ App::patch('/v1/projects/:projectId/service/all') ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'projects', name: 'updateServiceStatusAll', description: '/docs/references/projects/update-service-status-all.md', auth: [AuthType::ADMIN], @@ -598,6 +619,7 @@ App::patch('/v1/projects/:projectId/api') ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'projects', name: 'updateApiStatus', description: '/docs/references/projects/update-api-status.md', auth: [AuthType::ADMIN], @@ -635,6 +657,7 @@ App::patch('/v1/projects/:projectId/api/all') ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'projects', name: 'updateApiStatusAll', description: '/docs/references/projects/update-api-status-all.md', auth: [AuthType::ADMIN], @@ -675,6 +698,7 @@ App::patch('/v1/projects/:projectId/oauth2') ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'auth', name: 'updateOAuth2', description: '/docs/references/projects/update-oauth2.md', auth: [AuthType::ADMIN], @@ -725,6 +749,7 @@ App::patch('/v1/projects/:projectId/auth/session-alerts') ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'auth', name: 'updateSessionAlerts', description: '/docs/references/projects/update-session-alerts.md', auth: [AuthType::ADMIN], @@ -762,6 +787,7 @@ App::patch('/v1/projects/:projectId/auth/memberships-privacy') ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'auth', name: 'updateMembershipsPrivacy', description: '/docs/references/projects/update-memberships-privacy.md', auth: [AuthType::ADMIN], @@ -803,6 +829,7 @@ App::patch('/v1/projects/:projectId/auth/limit') ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'auth', name: 'updateAuthLimit', description: '/docs/references/projects/update-auth-limit.md', auth: [AuthType::ADMIN], @@ -840,6 +867,7 @@ App::patch('/v1/projects/:projectId/auth/duration') ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'auth', name: 'updateAuthDuration', description: '/docs/references/projects/update-auth-duration.md', auth: [AuthType::ADMIN], @@ -877,6 +905,7 @@ App::patch('/v1/projects/:projectId/auth/:method') ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'auth', name: 'updateAuthStatus', description: '/docs/references/projects/update-auth-status.md', auth: [AuthType::ADMIN], @@ -917,6 +946,7 @@ App::patch('/v1/projects/:projectId/auth/password-history') ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'auth', name: 'updateAuthPasswordHistory', description: '/docs/references/projects/update-auth-password-history.md', auth: [AuthType::ADMIN], @@ -954,6 +984,7 @@ App::patch('/v1/projects/:projectId/auth/password-dictionary') ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'auth', name: 'updateAuthPasswordDictionary', description: '/docs/references/projects/update-auth-password-dictionary.md', auth: [AuthType::ADMIN], @@ -986,11 +1017,12 @@ App::patch('/v1/projects/:projectId/auth/password-dictionary') }); App::patch('/v1/projects/:projectId/auth/personal-data') - ->desc('Enable or disable checking user passwords for similarity with their personal data.') + ->desc('Update personal data check') ->groups(['api', 'projects']) ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'auth', name: 'updatePersonalDataCheck', description: '/docs/references/projects/update-personal-data-check.md', auth: [AuthType::ADMIN], @@ -1028,6 +1060,7 @@ App::patch('/v1/projects/:projectId/auth/max-sessions') ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'auth', name: 'updateAuthSessionsLimit', description: '/docs/references/projects/update-auth-sessions-limit.md', auth: [AuthType::ADMIN], @@ -1065,6 +1098,7 @@ App::patch('/v1/projects/:projectId/auth/mock-numbers') ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'auth', name: 'updateMockNumbers', description: '/docs/references/projects/update-mock-numbers.md', auth: [AuthType::ADMIN], @@ -1112,6 +1146,7 @@ App::delete('/v1/projects/:projectId') ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'projects', name: 'delete', description: '/docs/references/projects/delete.md', auth: [AuthType::ADMIN], @@ -1155,6 +1190,7 @@ App::post('/v1/projects/:projectId/webhooks') ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'webhooks', name: 'createWebhook', description: '/docs/references/projects/create-webhook.md', auth: [AuthType::ADMIN], @@ -1219,6 +1255,7 @@ App::get('/v1/projects/:projectId/webhooks') ->label('scope', 'projects.read') ->label('sdk', new Method( namespace: 'projects', + group: 'webhooks', name: 'listWebhooks', description: '/docs/references/projects/list-webhooks.md', auth: [AuthType::ADMIN], @@ -1257,6 +1294,7 @@ App::get('/v1/projects/:projectId/webhooks/:webhookId') ->label('scope', 'projects.read') ->label('sdk', new Method( namespace: 'projects', + group: 'webhooks', name: 'getWebhook', description: '/docs/references/projects/get-webhook.md', auth: [AuthType::ADMIN], @@ -1297,6 +1335,7 @@ App::put('/v1/projects/:projectId/webhooks/:webhookId') ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'webhooks', name: 'updateWebhook', description: '/docs/references/projects/update-webhook.md', auth: [AuthType::ADMIN], @@ -1362,6 +1401,7 @@ App::patch('/v1/projects/:projectId/webhooks/:webhookId/signature') ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'webhooks', name: 'updateWebhookSignature', description: '/docs/references/projects/update-webhook-signature.md', auth: [AuthType::ADMIN], @@ -1407,6 +1447,7 @@ App::delete('/v1/projects/:projectId/webhooks/:webhookId') ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'webhooks', name: 'deleteWebhook', description: '/docs/references/projects/delete-webhook.md', auth: [AuthType::ADMIN], @@ -1454,6 +1495,7 @@ App::post('/v1/projects/:projectId/keys') ->label('scope', 'keys.write') ->label('sdk', new Method( namespace: 'projects', + group: 'keys', name: 'createKey', description: '/docs/references/projects/create-key.md', auth: [AuthType::ADMIN], @@ -1510,6 +1552,7 @@ App::get('/v1/projects/:projectId/keys') ->label('scope', 'keys.read') ->label('sdk', new Method( namespace: 'projects', + group: 'keys', name: 'listKeys', description: '/docs/references/projects/list-keys.md', auth: [AuthType::ADMIN], @@ -1548,6 +1591,7 @@ App::get('/v1/projects/:projectId/keys/:keyId') ->label('scope', 'keys.read') ->label('sdk', new Method( namespace: 'projects', + group: 'keys', name: 'getKey', description: '/docs/references/projects/get-key.md', auth: [AuthType::ADMIN], @@ -1588,6 +1632,7 @@ App::put('/v1/projects/:projectId/keys/:keyId') ->label('scope', 'keys.write') ->label('sdk', new Method( namespace: 'projects', + group: 'keys', name: 'updateKey', description: '/docs/references/projects/update-key.md', auth: [AuthType::ADMIN], @@ -1640,6 +1685,7 @@ App::delete('/v1/projects/:projectId/keys/:keyId') ->label('scope', 'keys.write') ->label('sdk', new Method( namespace: 'projects', + group: 'keys', name: 'deleteKey', description: '/docs/references/projects/delete-key.md', auth: [AuthType::ADMIN], @@ -1687,6 +1733,7 @@ App::post('/v1/projects/:projectId/jwts') ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'auth', name: 'createJWT', description: '/docs/references/projects/create-jwt.md', auth: [AuthType::ADMIN], @@ -1730,6 +1777,7 @@ App::post('/v1/projects/:projectId/platforms') ->label('scope', 'platforms.write') ->label('sdk', new Method( namespace: 'projects', + group: 'platforms', name: 'createPlatform', description: '/docs/references/projects/create-platform.md', auth: [AuthType::ADMIN], @@ -1786,6 +1834,7 @@ App::get('/v1/projects/:projectId/platforms') ->label('scope', 'platforms.read') ->label('sdk', new Method( namespace: 'projects', + group: 'platforms', name: 'listPlatforms', description: '/docs/references/projects/list-platforms.md', auth: [AuthType::ADMIN], @@ -1824,6 +1873,7 @@ App::get('/v1/projects/:projectId/platforms/:platformId') ->label('scope', 'platforms.read') ->label('sdk', new Method( namespace: 'projects', + group: 'platforms', name: 'getPlatform', description: '/docs/references/projects/get-platform.md', auth: [AuthType::ADMIN], @@ -1864,6 +1914,7 @@ App::put('/v1/projects/:projectId/platforms/:platformId') ->label('scope', 'platforms.write') ->label('sdk', new Method( namespace: 'projects', + group: 'platforms', name: 'updatePlatform', description: '/docs/references/projects/update-platform.md', auth: [AuthType::ADMIN], @@ -1919,6 +1970,7 @@ App::delete('/v1/projects/:projectId/platforms/:platformId') ->label('scope', 'platforms.write') ->label('sdk', new Method( namespace: 'projects', + group: 'platforms', name: 'deletePlatform', description: '/docs/references/projects/delete-platform.md', auth: [AuthType::ADMIN], @@ -1966,6 +2018,7 @@ App::patch('/v1/projects/:projectId/smtp') ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'templates', name: 'updateSmtp', description: '/docs/references/projects/update-smtp.md', auth: [AuthType::ADMIN], @@ -2062,6 +2115,7 @@ App::post('/v1/projects/:projectId/smtp/tests') ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'templates', name: 'createSmtpTest', description: '/docs/references/projects/create-smtp-test.md', auth: [AuthType::ADMIN], @@ -2128,6 +2182,7 @@ App::get('/v1/projects/:projectId/templates/sms/:type/:locale') ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'templates', name: 'getSmsTemplate', description: '/docs/references/projects/get-sms-template.md', auth: [AuthType::ADMIN], @@ -2175,6 +2230,7 @@ App::get('/v1/projects/:projectId/templates/email/:type/:locale') ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'templates', name: 'getEmailTemplate', description: '/docs/references/projects/get-email-template.md', auth: [AuthType::ADMIN], @@ -2233,6 +2289,7 @@ App::patch('/v1/projects/:projectId/templates/sms/:type/:locale') ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'templates', name: 'updateSmsTemplate', description: '/docs/references/projects/update-sms-template.md', auth: [AuthType::ADMIN], @@ -2279,6 +2336,7 @@ App::patch('/v1/projects/:projectId/templates/email/:type/:locale') ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'templates', name: 'updateEmailTemplate', description: '/docs/references/projects/update-email-template.md', auth: [AuthType::ADMIN], @@ -2335,6 +2393,7 @@ App::delete('/v1/projects/:projectId/templates/sms/:type/:locale') ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'templates', name: 'deleteSmsTemplate', description: '/docs/references/projects/delete-sms-template.md', auth: [AuthType::ADMIN], @@ -2380,11 +2439,12 @@ App::delete('/v1/projects/:projectId/templates/sms/:type/:locale') }); App::delete('/v1/projects/:projectId/templates/email/:type/:locale') - ->desc('Reset custom email template') + ->desc('Delete custom email template') ->groups(['api', 'projects']) ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'templates', name: 'deleteEmailTemplate', description: '/docs/references/projects/delete-email-template.md', auth: [AuthType::ADMIN], diff --git a/app/controllers/api/proxy.php b/app/controllers/api/proxy.php index d8e637725a..a275738246 100644 --- a/app/controllers/api/proxy.php +++ b/app/controllers/api/proxy.php @@ -31,6 +31,7 @@ App::get('/v1/proxy/rules') ->label('scope', 'rules.read') ->label('sdk', new Method( namespace: 'proxy', + group: null, name: 'listRules', description: '/docs/references/proxy/list-rules.md', auth: [AuthType::ADMIN], @@ -105,6 +106,7 @@ App::get('/v1/proxy/rules/:ruleId') ->label('scope', 'rules.read') ->label('sdk', new Method( namespace: 'proxy', + group: null, name: 'getRule', description: '/docs/references/proxy/get-rule.md', auth: [AuthType::ADMIN], @@ -142,6 +144,7 @@ App::delete('/v1/proxy/rules/:ruleId') ->label('audits.resource', 'rule/{request.ruleId}') ->label('sdk', new Method( namespace: 'proxy', + group: null, name: 'deleteRule', description: '/docs/references/proxy/delete-rule.md', auth: [AuthType::ADMIN], @@ -186,6 +189,7 @@ App::patch('/v1/proxy/rules/:ruleId/verification') ->label('audits.resource', 'rule/{response.$id}') ->label('sdk', new Method( namespace: 'proxy', + group: null, name: 'updateRuleVerification', description: '/docs/references/proxy/update-rule-verification.md', auth: [AuthType::ADMIN], diff --git a/app/controllers/api/storage.php b/app/controllers/api/storage.php index 24952a93ca..5361c17933 100644 --- a/app/controllers/api/storage.php +++ b/app/controllers/api/storage.php @@ -24,6 +24,7 @@ use Utopia\Database\DateTime; use Utopia\Database\Document; use Utopia\Database\Exception\Duplicate as DuplicateException; use Utopia\Database\Exception\NotFound as NotFoundException; +use Utopia\Database\Exception\Order as OrderException; use Utopia\Database\Exception\Query as QueryException; use Utopia\Database\Helpers\ID; use Utopia\Database\Helpers\Permission; @@ -62,6 +63,7 @@ App::post('/v1/storage/buckets') ->label('audits.resource', 'bucket/{response.$id}') ->label('sdk', new Method( namespace: 'storage', + group: 'buckets', name: 'createBucket', description: '/docs/references/storage/create-bucket.md', auth: [AuthType::KEY], @@ -164,6 +166,7 @@ App::get('/v1/storage/buckets') ->label('resourceType', RESOURCE_TYPE_BUCKETS) ->label('sdk', new Method( namespace: 'storage', + group: 'buckets', name: 'listBuckets', description: '/docs/references/storage/list-buckets.md', auth: [AuthType::KEY], @@ -216,10 +219,15 @@ App::get('/v1/storage/buckets') } $filterQueries = Query::groupByType($queries)['filters']; - + try { + $buckets = $dbForProject->find('buckets', $queries); + $total = $dbForProject->count('buckets', $filterQueries, APP_LIMIT_COUNT); + } catch (OrderException $e) { + throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order attribute '{$e->getAttribute()}' had a null value. Cursor pagination requires all documents order attribute values are non-null."); + } $response->dynamic(new Document([ - 'buckets' => $dbForProject->find('buckets', $queries), - 'total' => $dbForProject->count('buckets', $filterQueries, APP_LIMIT_COUNT), + 'buckets' => $buckets, + 'total' => $total, ]), Response::MODEL_BUCKET_LIST); }); @@ -230,6 +238,7 @@ App::get('/v1/storage/buckets/:bucketId') ->label('resourceType', RESOURCE_TYPE_BUCKETS) ->label('sdk', new Method( namespace: 'storage', + group: 'buckets', name: 'getBucket', description: '/docs/references/storage/get-bucket.md', auth: [AuthType::KEY], @@ -264,6 +273,7 @@ App::put('/v1/storage/buckets/:bucketId') ->label('audits.resource', 'bucket/{response.$id}') ->label('sdk', new Method( namespace: 'storage', + group: 'buckets', name: 'updateBucket', description: '/docs/references/storage/update-bucket.md', auth: [AuthType::KEY], @@ -334,6 +344,7 @@ App::delete('/v1/storage/buckets/:bucketId') ->label('audits.resource', 'bucket/{request.bucketId}') ->label('sdk', new Method( namespace: 'storage', + group: 'buckets', name: 'deleteBucket', description: '/docs/references/storage/delete-bucket.md', auth: [AuthType::KEY], @@ -387,6 +398,7 @@ App::post('/v1/storage/buckets/:bucketId/files') ->label('abuse-time', APP_LIMIT_WRITE_RATE_PERIOD_DEFAULT) ->label('sdk', new Method( namespace: 'storage', + group: 'files', name: 'createFile', description: '/docs/references/storage/create-file.md', type: MethodType::UPLOAD, @@ -756,6 +768,7 @@ App::get('/v1/storage/buckets/:bucketId/files') ->label('resourceType', RESOURCE_TYPE_BUCKETS) ->label('sdk', new Method( namespace: 'storage', + group: 'files', name: 'listFiles', description: '/docs/references/storage/list-files.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -837,6 +850,8 @@ App::get('/v1/storage/buckets/:bucketId/files') } } catch (NotFoundException) { throw new Exception(Exception::STORAGE_BUCKET_NOT_FOUND); + } catch (OrderException $e) { + throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order attribute '{$e->getAttribute()}' had a null value. Cursor pagination requires all documents order attribute values are non-null."); } $response->dynamic(new Document([ @@ -853,6 +868,7 @@ App::get('/v1/storage/buckets/:bucketId/files/:fileId') ->label('resourceType', RESOURCE_TYPE_BUCKETS) ->label('sdk', new Method( namespace: 'storage', + group: 'files', name: 'getFile', description: '/docs/references/storage/get-file.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -909,6 +925,7 @@ App::get('/v1/storage/buckets/:bucketId/files/:fileId/preview') ->label('cache.resource', 'file/{request.fileId}') ->label('sdk', new Method( namespace: 'storage', + group: 'files', name: 'getFilePreview', description: '/docs/references/storage/get-file-preview.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -1097,6 +1114,7 @@ App::get('/v1/storage/buckets/:bucketId/files/:fileId/download') ->label('resourceType', RESOURCE_TYPE_BUCKETS) ->label('sdk', new Method( namespace: 'storage', + group: 'files', name: 'getFileDownload', description: '/docs/references/storage/get-file-download.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -1245,6 +1263,7 @@ App::get('/v1/storage/buckets/:bucketId/files/:fileId/view') ->label('resourceType', RESOURCE_TYPE_BUCKETS) ->label('sdk', new Method( namespace: 'storage', + group: 'files', name: 'getFileView', description: '/docs/references/storage/get-file-view.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -1408,9 +1427,6 @@ App::get('/v1/storage/buckets/:bucketId/files/:fileId/push') ->groups(['api', 'storage']) ->label('scope', 'public') ->label('resourceType', RESOURCE_TYPE_BUCKETS) - ->label('sdk.response.code', Response::STATUS_CODE_OK) - ->label('sdk.response.type', '*/*') - ->label('sdk.methodType', 'location') ->param('bucketId', '', new UID(), 'Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https://appwrite.io/docs/server/storage#createBucket).') ->param('fileId', '', new UID(), 'File ID.') ->param('jwt', '', new Text(2048, 0), 'JSON Web Token to validate', true) @@ -1571,6 +1587,7 @@ App::put('/v1/storage/buckets/:bucketId/files/:fileId') ->label('abuse-time', APP_LIMIT_WRITE_RATE_PERIOD_DEFAULT) ->label('sdk', new Method( namespace: 'storage', + group: 'files', name: 'updateFile', description: '/docs/references/storage/update-file.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -1685,6 +1702,7 @@ App::delete('/v1/storage/buckets/:bucketId/files/:fileId') ->label('abuse-time', APP_LIMIT_WRITE_RATE_PERIOD_DEFAULT) ->label('sdk', new Method( namespace: 'storage', + group: 'files', name: 'deleteFile', description: '/docs/references/storage/delete-file.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -1785,6 +1803,7 @@ App::get('/v1/storage/usage') ->label('resourceType', RESOURCE_TYPE_BUCKETS) ->label('sdk', new Method( namespace: 'storage', + group: null, name: 'getUsage', description: '/docs/references/storage/get-usage.md', auth: [AuthType::ADMIN], @@ -1871,6 +1890,7 @@ App::get('/v1/storage/:bucketId/usage') ->label('resourceType', RESOURCE_TYPE_BUCKETS) ->label('sdk', new Method( namespace: 'storage', + group: null, name: 'getBucketUsage', description: '/docs/references/storage/get-bucket-usage.md', auth: [AuthType::ADMIN], diff --git a/app/controllers/api/teams.php b/app/controllers/api/teams.php index f58be39857..e7c81e0e8b 100644 --- a/app/controllers/api/teams.php +++ b/app/controllers/api/teams.php @@ -33,6 +33,7 @@ use Utopia\Database\DateTime; use Utopia\Database\Document; use Utopia\Database\Exception\Authorization as AuthorizationException; use Utopia\Database\Exception\Duplicate; +use Utopia\Database\Exception\Order as OrderException; use Utopia\Database\Exception\Query as QueryException; use Utopia\Database\Helpers\ID; use Utopia\Database\Helpers\Permission; @@ -63,6 +64,7 @@ App::post('/v1/teams') ->label('audits.resource', 'team/{response.$id}') ->label('sdk', new Method( namespace: 'teams', + group: 'teams', name: 'create', description: '/docs/references/teams/create-team.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -153,6 +155,7 @@ App::get('/v1/teams') ->label('scope', 'teams.read') ->label('sdk', new Method( namespace: 'teams', + group: 'teams', name: 'list', description: '/docs/references/teams/list-teams.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -205,9 +208,12 @@ App::get('/v1/teams') } $filterQueries = Query::groupByType($queries)['filters']; - - $results = $dbForProject->find('teams', $queries); - $total = $dbForProject->count('teams', $filterQueries, APP_LIMIT_COUNT); + try { + $results = $dbForProject->find('teams', $queries); + $total = $dbForProject->count('teams', $filterQueries, APP_LIMIT_COUNT); + } catch (OrderException $e) { + throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order attribute '{$e->getAttribute()}' had a null value. Cursor pagination requires all documents order attribute values are non-null."); + } $response->dynamic(new Document([ 'teams' => $results, @@ -221,6 +227,7 @@ App::get('/v1/teams/:teamId') ->label('scope', 'teams.read') ->label('sdk', new Method( namespace: 'teams', + group: 'teams', name: 'get', description: '/docs/references/teams/get-team.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -251,6 +258,7 @@ App::get('/v1/teams/:teamId/prefs') ->label('scope', 'teams.read') ->label('sdk', new Method( namespace: 'teams', + group: 'teams', name: 'getPrefs', description: '/docs/references/teams/get-team-prefs.md', auth: [AuthType::SESSION, AuthType::JWT], @@ -286,6 +294,7 @@ App::put('/v1/teams/:teamId') ->label('audits.resource', 'team/{response.$id}') ->label('sdk', new Method( namespace: 'teams', + group: 'teams', name: 'updateName', description: '/docs/references/teams/update-team-name.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -333,6 +342,7 @@ App::put('/v1/teams/:teamId/prefs') ->label('audits.userId', '{response.$id}') ->label('sdk', new Method( namespace: 'teams', + group: 'teams', name: 'updatePrefs', description: '/docs/references/teams/update-team-prefs.md', auth: [AuthType::SESSION, AuthType::JWT], @@ -372,6 +382,7 @@ App::delete('/v1/teams/:teamId') ->label('audits.resource', 'team/{request.teamId}') ->label('sdk', new Method( namespace: 'teams', + group: 'teams', name: 'delete', description: '/docs/references/teams/delete-team.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -430,6 +441,7 @@ App::post('/v1/teams/:teamId/memberships') ->label('audits.userId', '{request.userId}') ->label('sdk', new Method( namespace: 'teams', + group: 'memberships', name: 'createMembership', description: '/docs/references/teams/create-team-membership.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -797,6 +809,7 @@ App::get('/v1/teams/:teamId/memberships') ->label('scope', 'teams.read') ->label('sdk', new Method( namespace: 'teams', + group: 'memberships', name: 'listMemberships', description: '/docs/references/teams/list-team-members.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -860,17 +873,20 @@ App::get('/v1/teams/:teamId/memberships') } $filterQueries = Query::groupByType($queries)['filters']; + try { + $memberships = $dbForProject->find( + collection: 'memberships', + queries: $queries, + ); + $total = $dbForProject->count( + collection: 'memberships', + queries: $filterQueries, + max: APP_LIMIT_COUNT + ); + } catch (OrderException $e) { + throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order attribute '{$e->getAttribute()}' had a null value. Cursor pagination requires all documents order attribute values are non-null."); + } - $memberships = $dbForProject->find( - collection: 'memberships', - queries: $queries, - ); - - $total = $dbForProject->count( - collection: 'memberships', - queries: $filterQueries, - max: APP_LIMIT_COUNT - ); $memberships = array_filter($memberships, fn (Document $membership) => !empty($membership->getAttribute('userId'))); @@ -935,6 +951,7 @@ App::get('/v1/teams/:teamId/memberships/:membershipId') ->label('scope', 'teams.read') ->label('sdk', new Method( namespace: 'teams', + group: 'memberships', name: 'getMembership', description: '/docs/references/teams/get-team-member.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -1021,6 +1038,7 @@ App::patch('/v1/teams/:teamId/memberships/:membershipId') ->label('audits.resource', 'team/{request.teamId}') ->label('sdk', new Method( namespace: 'teams', + group: 'memberships', name: 'updateMembership', description: '/docs/references/teams/update-team-membership.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -1124,6 +1142,7 @@ App::patch('/v1/teams/:teamId/memberships/:membershipId/status') ->label('audits.userId', '{request.userId}') ->label('sdk', new Method( namespace: 'teams', + group: 'memberships', name: 'updateMembershipStatus', description: '/docs/references/teams/update-team-membership-status.md', auth: [AuthType::SESSION, AuthType::JWT], @@ -1281,6 +1300,7 @@ App::delete('/v1/teams/:teamId/memberships/:membershipId') ->label('audits.resource', 'team/{request.teamId}') ->label('sdk', new Method( namespace: 'teams', + group: 'memberships', name: 'deleteMembership', description: '/docs/references/teams/delete-team-membership.md', auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT], @@ -1351,6 +1371,7 @@ App::get('/v1/teams/:teamId/logs') ->label('scope', 'teams.read') ->label('sdk', new Method( namespace: 'teams', + group: 'logs', name: 'listLogs', description: '/docs/references/teams/get-team-logs.md', auth: [AuthType::ADMIN], diff --git a/app/controllers/api/users.php b/app/controllers/api/users.php index 17096731fa..77a94aff6d 100644 --- a/app/controllers/api/users.php +++ b/app/controllers/api/users.php @@ -34,6 +34,7 @@ use Utopia\Database\Database; use Utopia\Database\DateTime; use Utopia\Database\Document; use Utopia\Database\Exception\Duplicate; +use Utopia\Database\Exception\Order as OrderException; use Utopia\Database\Exception\Query as QueryException; use Utopia\Database\Helpers\ID; use Utopia\Database\Helpers\Permission; @@ -192,6 +193,7 @@ App::post('/v1/users') ->label('audits.resource', 'user/{response.$id}') ->label('sdk', new Method( namespace: 'users', + group: 'users', name: 'create', description: '/docs/references/users/create-user.md', auth: [AuthType::KEY], @@ -226,6 +228,7 @@ App::post('/v1/users/bcrypt') ->label('audits.resource', 'user/{response.$id}') ->label('sdk', new Method( namespace: 'users', + group: 'users', name: 'createBcryptUser', description: '/docs/references/users/create-bcrypt-user.md', auth: [AuthType::KEY], @@ -260,6 +263,7 @@ App::post('/v1/users/md5') ->label('audits.resource', 'user/{response.$id}') ->label('sdk', new Method( namespace: 'users', + group: 'users', name: 'createMD5User', description: '/docs/references/users/create-md5-user.md', auth: [AuthType::KEY], @@ -294,6 +298,7 @@ App::post('/v1/users/argon2') ->label('audits.resource', 'user/{response.$id}') ->label('sdk', new Method( namespace: 'users', + group: 'users', name: 'createArgon2User', description: '/docs/references/users/create-argon2-user.md', auth: [AuthType::KEY], @@ -328,6 +333,7 @@ App::post('/v1/users/sha') ->label('audits.resource', 'user/{response.$id}') ->label('sdk', new Method( namespace: 'users', + group: 'users', name: 'createSHAUser', description: '/docs/references/users/create-sha-user.md', auth: [AuthType::KEY], @@ -369,6 +375,7 @@ App::post('/v1/users/phpass') ->label('audits.resource', 'user/{response.$id}') ->label('sdk', new Method( namespace: 'users', + group: 'users', name: 'createPHPassUser', description: '/docs/references/users/create-phpass-user.md', auth: [AuthType::KEY], @@ -403,6 +410,7 @@ App::post('/v1/users/scrypt') ->label('audits.resource', 'user/{response.$id}') ->label('sdk', new Method( namespace: 'users', + group: 'users', name: 'createScryptUser', description: '/docs/references/users/create-scrypt-user.md', auth: [AuthType::KEY], @@ -450,6 +458,7 @@ App::post('/v1/users/scrypt-modified') ->label('audits.resource', 'user/{response.$id}') ->label('sdk', new Method( namespace: 'users', + group: 'users', name: 'createScryptModifiedUser', description: '/docs/references/users/create-scrypt-modified-user.md', auth: [AuthType::KEY], @@ -488,6 +497,7 @@ App::post('/v1/users/:userId/targets') ->label('scope', 'targets.write') ->label('sdk', new Method( namespace: 'users', + group: 'targets', name: 'createTarget', description: '/docs/references/users/create-target.md', auth: [AuthType::KEY, AuthType::ADMIN], @@ -579,6 +589,7 @@ App::get('/v1/users') ->label('scope', 'users.read') ->label('sdk', new Method( namespace: 'users', + group: 'users', name: 'list', description: '/docs/references/users/list-users.md', auth: [AuthType::KEY], @@ -631,10 +642,15 @@ App::get('/v1/users') } $filterQueries = Query::groupByType($queries)['filters']; - + try { + $users = $dbForProject->find('users', $queries); + $total = $dbForProject->count('users', $filterQueries, APP_LIMIT_COUNT); + } catch (OrderException $e) { + throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order attribute '{$e->getAttribute()}' had a null value. Cursor pagination requires all documents order attribute values are non-null."); + } $response->dynamic(new Document([ - 'users' => $dbForProject->find('users', $queries), - 'total' => $dbForProject->count('users', $filterQueries, APP_LIMIT_COUNT), + 'users' => $users, + 'total' => $total, ]), Response::MODEL_USER_LIST); }); @@ -644,6 +660,7 @@ App::get('/v1/users/:userId') ->label('scope', 'users.read') ->label('sdk', new Method( namespace: 'users', + group: 'users', name: 'get', description: '/docs/references/users/get-user.md', auth: [AuthType::KEY], @@ -674,6 +691,7 @@ App::get('/v1/users/:userId/prefs') ->label('scope', 'users.read') ->label('sdk', new Method( namespace: 'users', + group: 'users', name: 'getPrefs', description: '/docs/references/users/get-user-prefs.md', auth: [AuthType::KEY], @@ -706,6 +724,7 @@ App::get('/v1/users/:userId/targets/:targetId') ->label('scope', 'targets.read') ->label('sdk', new Method( namespace: 'users', + group: 'targets', name: 'getTarget', description: '/docs/references/users/get-user-target.md', auth: [AuthType::KEY, AuthType::ADMIN], @@ -743,6 +762,7 @@ App::get('/v1/users/:userId/sessions') ->label('scope', 'users.read') ->label('sdk', new Method( namespace: 'users', + group: 'sessions', name: 'listSessions', description: '/docs/references/users/list-user-sessions.md', auth: [AuthType::KEY], @@ -789,6 +809,7 @@ App::get('/v1/users/:userId/memberships') ->label('scope', 'users.read') ->label('sdk', new Method( namespace: 'users', + group: 'memberships', name: 'listMemberships', description: '/docs/references/users/list-user-memberships.md', auth: [AuthType::KEY], @@ -848,6 +869,7 @@ App::get('/v1/users/:userId/logs') ->label('scope', 'users.read') ->label('sdk', new Method( namespace: 'users', + group: 'logs', name: 'listLogs', description: '/docs/references/users/list-user-logs.md', auth: [AuthType::KEY], @@ -944,6 +966,7 @@ App::get('/v1/users/:userId/targets') ->label('scope', 'targets.read') ->label('sdk', new Method( namespace: 'users', + group: 'targets', name: 'listTargets', description: '/docs/references/users/list-user-targets.md', auth: [AuthType::KEY, AuthType::ADMIN], @@ -996,10 +1019,15 @@ App::get('/v1/users/:userId/targets') $cursor->setValue($cursorDocument); } - + try { + $targets = $dbForProject->find('targets', $queries); + $total = $dbForProject->count('targets', $queries, APP_LIMIT_COUNT); + } catch (OrderException $e) { + throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order attribute '{$e->getAttribute()}' had a null value. Cursor pagination requires all documents order attribute values are non-null."); + } $response->dynamic(new Document([ - 'targets' => $dbForProject->find('targets', $queries), - 'total' => $dbForProject->count('targets', $queries, APP_LIMIT_COUNT), + 'targets' => $targets, + 'total' => $total, ]), Response::MODEL_TARGET_LIST); }); @@ -1009,6 +1037,7 @@ App::get('/v1/users/identities') ->label('scope', 'users.read') ->label('sdk', new Method( namespace: 'users', + group: 'identities', name: 'listIdentities', description: '/docs/references/users/list-identities.md', auth: [AuthType::KEY], @@ -1061,10 +1090,15 @@ App::get('/v1/users/identities') } $filterQueries = Query::groupByType($queries)['filters']; - + try { + $identities = $dbForProject->find('identities', $queries); + $total = $dbForProject->count('identities', $filterQueries, APP_LIMIT_COUNT); + } catch (OrderException $e) { + throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order attribute '{$e->getAttribute()}' had a null value. Cursor pagination requires all documents order attribute values are non-null."); + } $response->dynamic(new Document([ - 'identities' => $dbForProject->find('identities', $queries), - 'total' => $dbForProject->count('identities', $filterQueries, APP_LIMIT_COUNT), + 'identities' => $identities, + 'total' => $total, ]), Response::MODEL_IDENTITY_LIST); }); @@ -1078,6 +1112,7 @@ App::patch('/v1/users/:userId/status') ->label('audits.userId', '{response.$id}') ->label('sdk', new Method( namespace: 'users', + group: 'users', name: 'updateStatus', description: '/docs/references/users/update-user-status.md', auth: [AuthType::KEY], @@ -1118,6 +1153,7 @@ App::put('/v1/users/:userId/labels') ->label('audits.resource', 'user/{response.$id}') ->label('sdk', new Method( namespace: 'users', + group: 'users', name: 'updateLabels', description: '/docs/references/users/update-user-labels.md', auth: [AuthType::KEY], @@ -1160,6 +1196,7 @@ App::patch('/v1/users/:userId/verification/phone') ->label('audits.resource', 'user/{response.$id}') ->label('sdk', new Method( namespace: 'users', + group: 'users', name: 'updatePhoneVerification', description: '/docs/references/users/update-user-phone-verification.md', auth: [AuthType::KEY], @@ -1201,6 +1238,7 @@ App::patch('/v1/users/:userId/name') ->label('audits.userId', '{response.$id}') ->label('sdk', new Method( namespace: 'users', + group: 'users', name: 'updateName', description: '/docs/references/users/update-user-name.md', auth: [AuthType::KEY], @@ -1243,6 +1281,7 @@ App::patch('/v1/users/:userId/password') ->label('audits.userId', '{response.$id}') ->label('sdk', new Method( namespace: 'users', + group: 'users', name: 'updatePassword', description: '/docs/references/users/update-user-password.md', auth: [AuthType::KEY], @@ -1325,6 +1364,7 @@ App::patch('/v1/users/:userId/email') ->label('audits.userId', '{response.$id}') ->label('sdk', new Method( namespace: 'users', + group: 'users', name: 'updateEmail', description: '/docs/references/users/update-user-email.md', auth: [AuthType::KEY], @@ -1424,6 +1464,7 @@ App::patch('/v1/users/:userId/phone') ->label('audits.resource', 'user/{response.$id}') ->label('sdk', new Method( namespace: 'users', + group: 'users', name: 'updatePhone', description: '/docs/references/users/update-user-phone.md', auth: [AuthType::KEY], @@ -1513,6 +1554,7 @@ App::patch('/v1/users/:userId/verification') ->label('audits.userId', '{request.userId}') ->label('sdk', new Method( namespace: 'users', + group: 'users', name: 'updateEmailVerification', description: '/docs/references/users/update-user-email-verification.md', auth: [AuthType::KEY], @@ -1550,6 +1592,7 @@ App::patch('/v1/users/:userId/prefs') ->label('scope', 'users.write') ->label('sdk', new Method( namespace: 'users', + group: 'users', name: 'updatePrefs', description: '/docs/references/users/update-user-prefs.md', auth: [AuthType::KEY], @@ -1590,6 +1633,7 @@ App::patch('/v1/users/:userId/targets/:targetId') ->label('scope', 'targets.write') ->label('sdk', new Method( namespace: 'users', + group: 'targets', name: 'updateTarget', description: '/docs/references/users/update-target.md', auth: [AuthType::KEY, AuthType::ADMIN], @@ -1694,6 +1738,7 @@ App::patch('/v1/users/:userId/mfa') ->label('usage.metric', 'users.{scope}.requests.update') ->label('sdk', new Method( namespace: 'users', + group: 'users', name: 'updateMfa', description: '/docs/references/users/update-user-mfa.md', auth: [AuthType::KEY], @@ -1733,6 +1778,7 @@ App::get('/v1/users/:userId/mfa/factors') ->label('usage.metric', 'users.{scope}.requests.read') ->label('sdk', new Method( namespace: 'users', + group: 'mfa', name: 'listMfaFactors', description: '/docs/references/users/list-mfa-factors.md', auth: [AuthType::KEY], @@ -1771,6 +1817,7 @@ App::get('/v1/users/:userId/mfa/recovery-codes') ->label('usage.metric', 'users.{scope}.requests.read') ->label('sdk', new Method( namespace: 'users', + group: 'mfa', name: 'getMfaRecoveryCodes', description: '/docs/references/users/get-mfa-recovery-codes.md', auth: [AuthType::KEY], @@ -1815,6 +1862,7 @@ App::patch('/v1/users/:userId/mfa/recovery-codes') ->label('usage.metric', 'users.{scope}.requests.update') ->label('sdk', new Method( namespace: 'users', + group: 'mfa', name: 'createMfaRecoveryCodes', description: '/docs/references/users/create-mfa-recovery-codes.md', auth: [AuthType::KEY], @@ -1856,7 +1904,7 @@ App::patch('/v1/users/:userId/mfa/recovery-codes') }); App::put('/v1/users/:userId/mfa/recovery-codes') - ->desc('Regenerate MFA recovery codes') + ->desc('Update MFA recovery codes (regenerate)') ->groups(['api', 'users']) ->label('event', 'users.[userId].update.mfa.recovery-codes') ->label('scope', 'users.write') @@ -1866,6 +1914,7 @@ App::put('/v1/users/:userId/mfa/recovery-codes') ->label('usage.metric', 'users.{scope}.requests.update') ->label('sdk', new Method( namespace: 'users', + group: 'mfa', name: 'updateMfaRecoveryCodes', description: '/docs/references/users/update-mfa-recovery-codes.md', auth: [AuthType::KEY], @@ -1916,6 +1965,7 @@ App::delete('/v1/users/:userId/mfa/authenticators/:type') ->label('usage.metric', 'users.{scope}.requests.update') ->label('sdk', new Method( namespace: 'users', + group: 'mfa', name: 'deleteMfaAuthenticator', description: '/docs/references/users/delete-mfa-authenticator.md', auth: [AuthType::KEY], @@ -1963,6 +2013,7 @@ App::post('/v1/users/:userId/sessions') ->label('usage.metric', 'sessions.{scope}.requests.create') ->label('sdk', new Method( namespace: 'users', + group: 'sessions', name: 'createSession', description: '/docs/references/users/create-session.md', auth: [AuthType::KEY], @@ -2047,6 +2098,7 @@ App::post('/v1/users/:userId/tokens') ->label('audits.resource', 'user/{request.userId}') ->label('sdk', new Method( namespace: 'users', + group: 'sessions', name: 'createToken', description: '/docs/references/users/create-token.md', auth: [AuthType::KEY], @@ -2109,6 +2161,7 @@ App::delete('/v1/users/:userId/sessions/:sessionId') ->label('audits.resource', 'user/{request.userId}') ->label('sdk', new Method( namespace: 'users', + group: 'sessions', name: 'deleteSession', description: '/docs/references/users/delete-user-session.md', auth: [AuthType::KEY], @@ -2159,6 +2212,7 @@ App::delete('/v1/users/:userId/sessions') ->label('audits.resource', 'user/{user.$id}') ->label('sdk', new Method( namespace: 'users', + group: 'sessions', name: 'deleteSessions', description: '/docs/references/users/delete-user-sessions.md', auth: [AuthType::KEY], @@ -2208,6 +2262,7 @@ App::delete('/v1/users/:userId') ->label('audits.resource', 'user/{request.userId}') ->label('sdk', new Method( namespace: 'users', + group: 'users', name: 'delete', description: '/docs/references/users/delete.md', auth: [AuthType::KEY], @@ -2257,6 +2312,7 @@ App::delete('/v1/users/:userId/targets/:targetId') ->label('scope', 'targets.write') ->label('sdk', new Method( namespace: 'users', + group: 'targets', name: 'deleteTarget', description: '/docs/references/users/delete-target.md', auth: [AuthType::KEY, AuthType::ADMIN], @@ -2314,6 +2370,7 @@ App::delete('/v1/users/identities/:identityId') ->label('audits.resource', 'identity/{request.$identityId}') ->label('sdk', new Method( namespace: 'users', + group: 'identities', name: 'deleteIdentity', description: '/docs/references/users/delete-identity.md', auth: [AuthType::KEY], @@ -2353,6 +2410,7 @@ App::post('/v1/users/:userId/jwts') ->label('scope', 'users.write') ->label('sdk', new Method( namespace: 'users', + group: 'sessions', name: 'createJWT', description: '/docs/references/users/create-user-jwt.md', auth: [AuthType::KEY], @@ -2408,6 +2466,7 @@ App::get('/v1/users/usage') ->label('scope', 'users.read') ->label('sdk', new Method( namespace: 'users', + group: null, name: 'getUsage', description: '/docs/references/users/get-usage.md', auth: [AuthType::ADMIN], diff --git a/app/controllers/api/vcs.php b/app/controllers/api/vcs.php index 29a186f9f2..6211faf90e 100644 --- a/app/controllers/api/vcs.php +++ b/app/controllers/api/vcs.php @@ -19,6 +19,7 @@ use Utopia\Database\Database; use Utopia\Database\DateTime; use Utopia\Database\Document; use Utopia\Database\Exception\Duplicate; +use Utopia\Database\Exception\Order as OrderException; use Utopia\Database\Exception\Query as QueryException; use Utopia\Database\Helpers\ID; use Utopia\Database\Helpers\Permission; @@ -397,12 +398,13 @@ $createGitDeployments = function (GitHub $github, string $providerInstallationId }; App::get('/v1/vcs/github/authorize') - ->desc('Install GitHub app') + ->desc('Create GitHub app installation') ->groups(['api', 'vcs']) ->label('scope', 'vcs.read') ->label('error', __DIR__ . '/../../views/general/error.phtml') ->label('sdk', new Method( namespace: 'vcs', + group: 'installations', name: 'createGitHubInstallation', description: '/docs/references/vcs/create-github-installation.md', auth: [AuthType::ADMIN], @@ -446,7 +448,7 @@ App::get('/v1/vcs/github/authorize') }); App::get('/v1/vcs/github/callback') - ->desc('Capture installation and authorization from GitHub app') + ->desc('Get installation and authorization from GitHub app') ->groups(['api', 'vcs']) ->label('scope', 'public') ->label('error', __DIR__ . '/../../views/general/error.phtml') @@ -584,6 +586,7 @@ App::get('/v1/vcs/github/installations/:installationId/providerRepositories/:pro ->label('scope', 'vcs.read') ->label('sdk', new Method( namespace: 'vcs', + group: 'repositories', name: 'getRepositoryContents', description: '/docs/references/vcs/get-repository-contents.md', auth: [AuthType::ADMIN], @@ -651,6 +654,7 @@ App::post('/v1/vcs/github/installations/:installationId/detections') ->label('scope', 'vcs.write') ->label('sdk', new Method( namespace: 'vcs', + group: 'repositories', name: 'createRepositoryDetection', description: '/docs/references/vcs/create-repository-detection.md', auth: [AuthType::ADMIN], @@ -808,6 +812,7 @@ App::get('/v1/vcs/github/installations/:installationId/providerRepositories') ->label('scope', 'vcs.read') ->label('sdk', new Method( namespace: 'vcs', + group: 'repositories', name: 'listRepositories', description: '/docs/references/vcs/list-repositories.md', auth: [AuthType::ADMIN], @@ -959,6 +964,7 @@ App::post('/v1/vcs/github/installations/:installationId/providerRepositories') ->label('scope', 'vcs.write') ->label('sdk', new Method( namespace: 'vcs', + group: 'repositories', name: 'createRepository', description: '/docs/references/vcs/create-repository.md', auth: [AuthType::ADMIN], @@ -1071,6 +1077,7 @@ App::get('/v1/vcs/github/installations/:installationId/providerRepositories/:pro ->label('scope', 'vcs.read') ->label('sdk', new Method( namespace: 'vcs', + group: 'repositories', name: 'getRepository', description: '/docs/references/vcs/get-repository.md', auth: [AuthType::ADMIN], @@ -1125,6 +1132,7 @@ App::get('/v1/vcs/github/installations/:installationId/providerRepositories/:pro ->label('scope', 'vcs.read') ->label('sdk', new Method( namespace: 'vcs', + group: 'repositories', name: 'listRepositoryBranches', description: '/docs/references/vcs/list-repository-branches.md', auth: [AuthType::ADMIN], @@ -1318,6 +1326,7 @@ App::get('/v1/vcs/installations') ->label('scope', 'vcs.read') ->label('sdk', new Method( namespace: 'vcs', + group: 'installations', name: 'listInstallations', description: '/docs/references/vcs/list-installations.md', auth: [AuthType::ADMIN], @@ -1373,9 +1382,12 @@ App::get('/v1/vcs/installations') } $filterQueries = Query::groupByType($queries)['filters']; - - $results = $dbForPlatform->find('installations', $queries); - $total = $dbForPlatform->count('installations', $filterQueries, APP_LIMIT_COUNT); + try { + $results = $dbForPlatform->find('installations', $queries); + $total = $dbForPlatform->count('installations', $filterQueries, APP_LIMIT_COUNT); + } catch (OrderException $e) { + throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order attribute '{$e->getAttribute()}' had a null value. Cursor pagination requires all documents order attribute values are non-null."); + } $response->dynamic(new Document([ 'installations' => $results, @@ -1389,6 +1401,7 @@ App::get('/v1/vcs/installations/:installationId') ->label('scope', 'vcs.read') ->label('sdk', new Method( namespace: 'vcs', + group: 'installations', name: 'getInstallation', description: '/docs/references/vcs/get-installation.md', auth: [AuthType::ADMIN], @@ -1423,6 +1436,7 @@ App::delete('/v1/vcs/installations/:installationId') ->label('scope', 'vcs.write') ->label('sdk', new Method( namespace: 'vcs', + group: 'installations', name: 'deleteInstallation', description: '/docs/references/vcs/delete-installation.md', auth: [AuthType::ADMIN], @@ -1458,11 +1472,12 @@ App::delete('/v1/vcs/installations/:installationId') }); App::patch('/v1/vcs/github/installations/:installationId/repositories/:repositoryId') - ->desc('Authorize external deployment') + ->desc('Update external deployment (authorize)') ->groups(['api', 'vcs']) ->label('scope', 'vcs.write') ->label('sdk', new Method( namespace: 'vcs', + group: 'repositories', name: 'updateExternalDeployments', description: '/docs/references/vcs/update-external-deployments.md', auth: [AuthType::ADMIN], diff --git a/app/controllers/general.php b/app/controllers/general.php index ee0b6ca19f..dbc07f950b 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -79,11 +79,18 @@ function router(App $utopia, Database $dbForPlatform, callable $getProjectDB, Sw $url = (System::getEnv('_APP_OPTIONS_FORCE_HTTPS') == 'disabled' ? 'http' : 'https') . '://' . System::getEnv('_APP_DOMAIN', ''); if ($rule->isEmpty()) { - if ($host === System::getEnv('_APP_DOMAIN_FUNCTIONS', '') || $host === System::getEnv('_APP_DOMAIN_SITES', '')) { + $appDomainFunctionsFallback = System::getEnv('_APP_DOMAIN_FUNCTIONS_FALLBACK', ''); + $appDomainFunctions = System::getEnv('_APP_DOMAIN_FUNCTIONS', ''); + $appDomainSites = System::getEnv('_APP_DOMAIN_SITES', ''); + if (!empty($appDomainFunctionsFallback) && \str_ends_with($host, $appDomainFunctionsFallback)) { + $appDomainFunctions = $appDomainFunctionsFallback; + } + + if ($host === $appDomainFunctions || $host === $appDomainSites) { throw new AppwriteException(AppwriteException::GENERAL_ACCESS_FORBIDDEN, 'This domain cannot be used for security reasons. Please use any subdomain instead.', view: $errorView); } - if (\str_ends_with($host, System::getEnv('_APP_DOMAIN_FUNCTIONS', '')) || \str_ends_with($host, System::getEnv('_APP_DOMAIN_SITES', ''))) { + if (\str_ends_with($host, $appDomainFunctions) || \str_ends_with($host, $appDomainSites)) { $exception = new AppwriteException(AppwriteException::RULE_NOT_FOUND, 'This domain is not connected to any Appwrite resources. Visit domains tab under function/site settings to configure it.', view: $errorView); $exception->addCTA('Start with this domain', $url . '/console'); @@ -142,7 +149,31 @@ function router(App $utopia, Database $dbForPlatform, callable $getProjectDB, Sw $dbForProject = $getProjectDB($project); /** @var Document $deployment */ - $deployment = Authorization::skip(fn () => $dbForProject->getDocument('deployments', $rule->getAttribute('deploymentId'))); + if (!empty($rule->getAttribute('deploymentId', ''))) { + $deployment = Authorization::skip(fn () => $dbForProject->getDocument('deployments', $rule->getAttribute('deploymentId'))); + } else { + // 1.6.x DB schema compatibility + // TODO: Make sure deploymentId is never empty, and remove this code + + // Check if site or function; should never be site, but better safe than sorry + // Attempts to use attribute from both schemas (1.6 and 1.7) + $resourceType = $rule->getAttribute('deploymentResourceType', $rule->getAttribute('resourceType', '')); + + // ID of site or function + $resourceId = $rule->getAttribute('deploymentResourceId', ''); + + // Document of site or function + $resource = $resourceType === 'function' ? + Authorization::skip(fn () => $dbForProject->getDocument('functions', $resourceId)) : + Authorization::skip(fn () => $dbForProject->getDocument('sites', $resourceId)); + + // ID of active deployments + // Attempts to use attribute from both schemas (1.6 and 1.7) + $activeDeploymentId = $resource->getAttribute('deploymentId', $resource->getAttribute('deployment', '')); + + // Get deployment document, as intended originally + $deployment = Authorization::skip(fn () => $dbForProject->getDocument('deployments', $activeDeploymentId)); + } if ($deployment->getAttribute('resourceType', '') === 'functions') { $type = 'function'; @@ -843,8 +874,17 @@ App::init() } $owner = ''; + $functionsDomainFallback = System::getEnv('_APP_DOMAIN_FUNCTIONS_FALLBACK', ''); $functionsDomain = System::getEnv('_APP_DOMAIN_FUNCTIONS', ''); - if (!empty($functionsDomain) && \str_ends_with($domain->get(), $functionsDomain)) { + $siteDomain = System::getEnv('_APP_DOMAIN_SITES', ''); + if (!empty($functionsDomainFallback) && \str_ends_with($host, $functionsDomainFallback)) { + $functionsDomain = $functionsDomainFallback; + } + + if ( + (!empty($functionsDomain) && \str_ends_with($domain->get(), $functionsDomain)) || + (!empty($siteDomain) && \str_ends_with($domain->get(), $siteDomain)) + ) { $owner = 'Appwrite'; } @@ -1474,6 +1514,7 @@ App::get('/v1/ping') ->label('event', 'projects.[projectId].ping') ->label('sdk', new Method( namespace: 'ping', + group: null, name: 'get', hide: true, description: <<<EOT diff --git a/app/controllers/shared/api.php b/app/controllers/shared/api.php index 429268203c..8c15f27acc 100644 --- a/app/controllers/shared/api.php +++ b/app/controllers/shared/api.php @@ -249,34 +249,36 @@ App::init() subject: 'keys' ); - if ($dbKey) { - $accessedAt = $dbKey->getAttribute('accessedAt', 0); + if (!$dbKey) { + throw new Exception(Exception::USER_UNAUTHORIZED); + } - if (DateTime::formatTz(DateTime::addSeconds(new \DateTime(), -APP_KEY_ACCESS)) > $accessedAt) { - $dbKey->setAttribute('accessedAt', DateTime::now()); + $accessedAt = $dbKey->getAttribute('accessedAt', 0); + + if (DateTime::formatTz(DateTime::addSeconds(new \DateTime(), -APP_KEY_ACCESS)) > $accessedAt) { + $dbKey->setAttribute('accessedAt', DateTime::now()); + $dbForPlatform->updateDocument('keys', $dbKey->getId(), $dbKey); + $dbForPlatform->purgeCachedDocument('projects', $project->getId()); + } + + $sdkValidator = new WhiteList($servers, true); + $sdk = $request->getHeader('x-sdk-name', 'UNKNOWN'); + + if ($sdk !== 'UNKNOWN' && $sdkValidator->isValid($sdk)) { + $sdks = $dbKey->getAttribute('sdks', []); + + if (!in_array($sdk, $sdks)) { + $sdks[] = $sdk; + $dbKey->setAttribute('sdks', $sdks); + + /** Update access time as well */ + $dbKey->setAttribute('accessedAt', Datetime::now()); $dbForPlatform->updateDocument('keys', $dbKey->getId(), $dbKey); $dbForPlatform->purgeCachedDocument('projects', $project->getId()); } - - $sdkValidator = new WhiteList($servers, true); - $sdk = $request->getHeader('x-sdk-name', 'UNKNOWN'); - - if ($sdk !== 'UNKNOWN' && $sdkValidator->isValid($sdk)) { - $sdks = $dbKey->getAttribute('sdks', []); - - if (!in_array($sdk, $sdks)) { - $sdks[] = $sdk; - $dbKey->setAttribute('sdks', $sdks); - - /** Update access time as well */ - $dbKey->setAttribute('accessedAt', Datetime::now()); - $dbForPlatform->updateDocument('keys', $dbKey->getId(), $dbKey); - $dbForPlatform->purgeCachedDocument('projects', $project->getId()); - } - } - - $queueForAudits->setUser($user); } + + $queueForAudits->setUser($user); } } // Admin User Authentication elseif (($project->getId() === 'console' && !$team->isEmpty() && !$user->isEmpty()) || ($project->getId() !== 'console' && !$user->isEmpty() && $mode === APP_MODE_ADMIN)) { @@ -548,7 +550,7 @@ App::init() $data = $cache->load($key, $timestamp); if (!empty($data) && !$cacheLog->isEmpty()) { - $parts = explode('/', $cacheLog->getAttribute('resourceType')); + $parts = explode('/', $cacheLog->getAttribute('resourceType', '')); $type = $parts[0] ?? null; if ($type === 'bucket' && (!$isImageTransformation || !$isDisabled)) { diff --git a/app/init/resources.php b/app/init/resources.php index 2b72c8da33..1b941b63b3 100644 --- a/app/init/resources.php +++ b/app/init/resources.php @@ -49,6 +49,8 @@ use Utopia\Storage\Device\S3; use Utopia\Storage\Device\Wasabi; use Utopia\Storage\Storage; use Utopia\System\System; +use Utopia\Telemetry\Adapter as Telemetry; +use Utopia\Telemetry\Adapter\None as NoTelemetry; use Utopia\Validator\Hostname; use Utopia\Validator\WhiteList; use Utopia\VCS\Adapter\Git\GitHub as VcsGitHub; @@ -466,7 +468,9 @@ App::setResource('getLogsDB', function (Group $pools, Cache $cache) { }; }, ['pools', 'cache']); -App::setResource('cache', function (Group $pools) { +App::setResource('telemetry', fn () => new NoTelemetry()); + +App::setResource('cache', function (Group $pools, Telemetry $telemetry) { $list = Config::getParam('pools-cache', []); $adapters = []; @@ -474,12 +478,15 @@ App::setResource('cache', function (Group $pools) { $adapters[] = $pools ->get($value) ->pop() - ->getResource() - ; + ->getResource(); } - return new Cache(new Sharding($adapters)); -}, ['pools']); + $cache = new Cache(new Sharding($adapters)); + + $cache->setTelemetry($telemetry); + + return $cache; +}, ['pools', 'telemetry']); App::setResource('redis', function () { $host = System::getEnv('_APP_REDIS_HOST', 'localhost'); diff --git a/app/views/install/compose.phtml b/app/views/install/compose.phtml index 1311217238..bb4720e98d 100644 --- a/app/views/install/compose.phtml +++ b/app/views/install/compose.phtml @@ -175,7 +175,7 @@ $image = $this->getParam('image', ''); appwrite-console: <<: *x-logging container_name: appwrite-console - image: <?php echo $organization; ?>/console:5.2.53 + image: <?php echo $organization; ?>/console:5.2.58 restart: unless-stopped networks: - appwrite @@ -763,34 +763,6 @@ $image = $this->getParam('image', ''); - _APP_LOGGING_CONFIG - _APP_USAGE_AGGREGATION_INTERVAL - appwrite-worker-stats-usage-dump: - image: <?php echo $organization; ?>/<?php echo $image; ?>:<?php echo $version."\n"; ?> - entrypoint: worker-stats-usage-dump - <<: *x-logging - container_name: appwrite-worker-stats-usage-dump - restart: unless-stopped - networks: - - appwrite - depends_on: - - redis - - mariadb - environment: - - _APP_ENV - - _APP_WORKER_PER_CORE - - _APP_OPENSSL_KEY_V1 - - _APP_DB_HOST - - _APP_DB_PORT - - _APP_DB_SCHEMA - - _APP_DB_USER - - _APP_DB_PASS - - _APP_REDIS_HOST - - _APP_REDIS_PORT - - _APP_REDIS_USER - - _APP_REDIS_PASS - - _APP_USAGE_STATS - - _APP_LOGGING_CONFIG - - _APP_USAGE_AGGREGATION_INTERVAL - appwrite-task-scheduler-functions: image: <?php echo $organization; ?>/<?php echo $image; ?>:<?php echo $version."\n"; ?> entrypoint: schedule-functions diff --git a/app/worker.php b/app/worker.php index 3dfabfed57..25567df589 100644 --- a/app/worker.php +++ b/app/worker.php @@ -15,7 +15,6 @@ use Appwrite\Event\Messaging; use Appwrite\Event\Migration; use Appwrite\Event\Realtime; use Appwrite\Event\StatsUsage; -use Appwrite\Event\StatsUsageDump; use Appwrite\Event\Webhook; use Appwrite\Platform\Appwrite; use Executor\Executor; @@ -279,10 +278,6 @@ Server::setResource('queueForStatsUsage', function (Publisher $publisher) { return new StatsUsage($publisher); }, ['publisher']); -Server::setResource('queueForStatsUsageDump', function (Publisher $publisher) { - return new StatsUsageDump($publisher); -}, ['publisher']); - Server::setResource('queueForDatabase', function (Publisher $publisher) { return new EventDatabase($publisher); }, ['publisher']); diff --git a/bin/worker-stats-usage-dump b/bin/worker-stats-usage-dump deleted file mode 100644 index 98e3c2cac7..0000000000 --- a/bin/worker-stats-usage-dump +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -php /usr/src/code/app/worker.php stats-usage-dump $@ \ No newline at end of file diff --git a/composer.json b/composer.json index 3b5812cffb..cce3abc522 100644 --- a/composer.json +++ b/composer.json @@ -53,7 +53,7 @@ "utopia-php/cli": "0.15.*", "utopia-php/config": "0.2.*", "utopia-php/detector": "0.1.*", - "utopia-php/database": "0.64.*", + "utopia-php/database": "0.66.*", "utopia-php/domains": "0.5.*", "utopia-php/dsn": "0.2.1", "utopia-php/framework": "0.33.*", diff --git a/composer.lock b/composer.lock index fea7bf6d51..17b3b27078 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "e7875026636ccec909f9aa4d79091d5b", + "content-hash": "51959289a3f882160f5a9eeb605d41d7", "packages": [ { "name": "adhocore/jwt", @@ -3497,16 +3497,16 @@ }, { "name": "utopia-php/database", - "version": "0.64.2", + "version": "0.66.0", "source": { "type": "git", "url": "https://github.com/utopia-php/database.git", - "reference": "dc9c4a68c93e8bea2dfaa76d1ba308be539998bd" + "reference": "67d2ab418efba31dc76b3564cf043e2b3f98d027" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/database/zipball/dc9c4a68c93e8bea2dfaa76d1ba308be539998bd", - "reference": "dc9c4a68c93e8bea2dfaa76d1ba308be539998bd", + "url": "https://api.github.com/repos/utopia-php/database/zipball/67d2ab418efba31dc76b3564cf043e2b3f98d027", + "reference": "67d2ab418efba31dc76b3564cf043e2b3f98d027", "shasum": "" }, "require": { @@ -3547,9 +3547,9 @@ ], "support": { "issues": "https://github.com/utopia-php/database/issues", - "source": "https://github.com/utopia-php/database/tree/0.64.2" + "source": "https://github.com/utopia-php/database/tree/0.66.0" }, - "time": "2025-04-09T07:53:05+00:00" + "time": "2025-04-16T07:10:27+00:00" }, { "name": "utopia-php/detector", @@ -4811,16 +4811,16 @@ "packages-dev": [ { "name": "appwrite/sdk-generator", - "version": "0.40.12", + "version": "0.40.15", "source": { "type": "git", "url": "https://github.com/appwrite/sdk-generator.git", - "reference": "182ec17848f81b78c336379bac94ff92b7a73365" + "reference": "65c708b931b29b3e01c5cc7504a734ce2cc3dc95" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/182ec17848f81b78c336379bac94ff92b7a73365", - "reference": "182ec17848f81b78c336379bac94ff92b7a73365", + "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/65c708b931b29b3e01c5cc7504a734ce2cc3dc95", + "reference": "65c708b931b29b3e01c5cc7504a734ce2cc3dc95", "shasum": "" }, "require": { @@ -4856,9 +4856,9 @@ "description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms", "support": { "issues": "https://github.com/appwrite/sdk-generator/issues", - "source": "https://github.com/appwrite/sdk-generator/tree/0.40.12" + "source": "https://github.com/appwrite/sdk-generator/tree/0.40.15" }, - "time": "2025-04-02T23:36:11+00:00" + "time": "2025-04-25T08:50:44+00:00" }, { "name": "doctrine/annotations", diff --git a/docker-compose.yml b/docker-compose.yml index 51cb511f17..acdec401cc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -206,13 +206,14 @@ services: - _APP_DATABASE_SHARED_TABLES_V1 - _APP_DATABASE_SHARED_NAMESPACE - _APP_FUNCTIONS_CREATION_ABUSE_LIMIT + - _APP_CUSTOM_DOMAIN_DENY_LIST extra_hosts: - "host.docker.internal:host-gateway" appwrite-console: <<: *x-logging container_name: appwrite-console - image: appwrite/console:5.3.0-sites-rc.40 + image: appwrite/console:5.3.0-sites-rc.42 restart: unless-stopped networks: - appwrite @@ -848,38 +849,6 @@ services: - _APP_USAGE_AGGREGATION_INTERVAL - _APP_DATABASE_SHARED_TABLES - appwrite-worker-stats-usage-dump: - entrypoint: worker-stats-usage-dump - <<: *x-logging - container_name: appwrite-worker-stats-usage-dump - image: appwrite-dev - networks: - - appwrite - volumes: - - ./app:/usr/src/code/app - - ./src:/usr/src/code/src - depends_on: - - redis - - mariadb - environment: - - _APP_ENV - - _APP_WORKER_PER_CORE - - _APP_OPENSSL_KEY_V1 - - _APP_DB_HOST - - _APP_DB_PORT - - _APP_DB_SCHEMA - - _APP_DB_USER - - _APP_DB_PASS - - _APP_REDIS_HOST - - _APP_REDIS_PORT - - _APP_REDIS_USER - - _APP_REDIS_PASS - - _APP_USAGE_STATS - - _APP_LOGGING_CONFIG - - _APP_USAGE_AGGREGATION_INTERVAL - - _APP_DATABASE_SHARED_TABLES - - _APP_STATS_USAGE_DUAL_WRITING_DBS - appwrite-task-scheduler-functions: entrypoint: schedule-functions <<: *x-logging @@ -973,7 +942,7 @@ services: appwrite-browser: container_name: appwrite-browser - image: appwrite/browser:0.2.2 + image: appwrite/browser:0.2.4 networks: - appwrite diff --git a/docs/examples/1.1.x/client-android/java/account/create-anonymous-session.md b/docs/examples/1.1.x/client-android/java/account/create-anonymous-session.md index 8efaf7a0d4..773fb994d8 100644 --- a/docs/examples/1.1.x/client-android/java/account/create-anonymous-session.md +++ b/docs/examples/1.1.x/client-android/java/account/create-anonymous-session.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.1.x/client-android/java/account/create-email-session.md b/docs/examples/1.1.x/client-android/java/account/create-email-session.md index a38ece5583..fb2a6b020e 100644 --- a/docs/examples/1.1.x/client-android/java/account/create-email-session.md +++ b/docs/examples/1.1.x/client-android/java/account/create-email-session.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.1.x/client-android/java/account/create-j-w-t.md b/docs/examples/1.1.x/client-android/java/account/create-j-w-t.md index 78ee1a18f6..bb4d2d51c6 100644 --- a/docs/examples/1.1.x/client-android/java/account/create-j-w-t.md +++ b/docs/examples/1.1.x/client-android/java/account/create-j-w-t.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.1.x/client-android/java/account/create-magic-u-r-l-session.md b/docs/examples/1.1.x/client-android/java/account/create-magic-u-r-l-session.md index f8e84cbb1b..49f041bed4 100644 --- a/docs/examples/1.1.x/client-android/java/account/create-magic-u-r-l-session.md +++ b/docs/examples/1.1.x/client-android/java/account/create-magic-u-r-l-session.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.1.x/client-android/java/account/create-o-auth2session.md b/docs/examples/1.1.x/client-android/java/account/create-o-auth2session.md index 579d9b2860..99e09f3100 100644 --- a/docs/examples/1.1.x/client-android/java/account/create-o-auth2session.md +++ b/docs/examples/1.1.x/client-android/java/account/create-o-auth2session.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.1.x/client-android/java/account/create-phone-session.md b/docs/examples/1.1.x/client-android/java/account/create-phone-session.md index e0ed553089..d8c6de4e3e 100644 --- a/docs/examples/1.1.x/client-android/java/account/create-phone-session.md +++ b/docs/examples/1.1.x/client-android/java/account/create-phone-session.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.1.x/client-android/java/account/create-phone-verification.md b/docs/examples/1.1.x/client-android/java/account/create-phone-verification.md index f56bb84ef0..27778f03d3 100644 --- a/docs/examples/1.1.x/client-android/java/account/create-phone-verification.md +++ b/docs/examples/1.1.x/client-android/java/account/create-phone-verification.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.1.x/client-android/java/account/create-recovery.md b/docs/examples/1.1.x/client-android/java/account/create-recovery.md index 3e2cb362fb..02e9818c6a 100644 --- a/docs/examples/1.1.x/client-android/java/account/create-recovery.md +++ b/docs/examples/1.1.x/client-android/java/account/create-recovery.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.1.x/client-android/java/account/create-verification.md b/docs/examples/1.1.x/client-android/java/account/create-verification.md index 9cbe829652..cee7a36002 100644 --- a/docs/examples/1.1.x/client-android/java/account/create-verification.md +++ b/docs/examples/1.1.x/client-android/java/account/create-verification.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.1.x/client-android/java/account/create.md b/docs/examples/1.1.x/client-android/java/account/create.md index 5d9d4c903a..bbd47ac940 100644 --- a/docs/examples/1.1.x/client-android/java/account/create.md +++ b/docs/examples/1.1.x/client-android/java/account/create.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.1.x/client-android/java/account/delete-session.md b/docs/examples/1.1.x/client-android/java/account/delete-session.md index 424c363958..08914307bc 100644 --- a/docs/examples/1.1.x/client-android/java/account/delete-session.md +++ b/docs/examples/1.1.x/client-android/java/account/delete-session.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.1.x/client-android/java/account/delete-sessions.md b/docs/examples/1.1.x/client-android/java/account/delete-sessions.md index 9be95217f4..63b829a302 100644 --- a/docs/examples/1.1.x/client-android/java/account/delete-sessions.md +++ b/docs/examples/1.1.x/client-android/java/account/delete-sessions.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.1.x/client-android/java/account/get-prefs.md b/docs/examples/1.1.x/client-android/java/account/get-prefs.md index 6d7999e53f..560f25e30c 100644 --- a/docs/examples/1.1.x/client-android/java/account/get-prefs.md +++ b/docs/examples/1.1.x/client-android/java/account/get-prefs.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.1.x/client-android/java/account/get-session.md b/docs/examples/1.1.x/client-android/java/account/get-session.md index 6055d780f5..5134922e8b 100644 --- a/docs/examples/1.1.x/client-android/java/account/get-session.md +++ b/docs/examples/1.1.x/client-android/java/account/get-session.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.1.x/client-android/java/account/get.md b/docs/examples/1.1.x/client-android/java/account/get.md index 743d46c8ba..33344a5b4c 100644 --- a/docs/examples/1.1.x/client-android/java/account/get.md +++ b/docs/examples/1.1.x/client-android/java/account/get.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.1.x/client-android/java/account/list-logs.md b/docs/examples/1.1.x/client-android/java/account/list-logs.md index 98bc7217b6..1d5968b399 100644 --- a/docs/examples/1.1.x/client-android/java/account/list-logs.md +++ b/docs/examples/1.1.x/client-android/java/account/list-logs.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.1.x/client-android/java/account/list-sessions.md b/docs/examples/1.1.x/client-android/java/account/list-sessions.md index 0d7fa2eb21..6245c593fd 100644 --- a/docs/examples/1.1.x/client-android/java/account/list-sessions.md +++ b/docs/examples/1.1.x/client-android/java/account/list-sessions.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.1.x/client-android/java/account/update-email.md b/docs/examples/1.1.x/client-android/java/account/update-email.md index 4fa6098d9f..05ee0c6a87 100644 --- a/docs/examples/1.1.x/client-android/java/account/update-email.md +++ b/docs/examples/1.1.x/client-android/java/account/update-email.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.1.x/client-android/java/account/update-magic-u-r-l-session.md b/docs/examples/1.1.x/client-android/java/account/update-magic-u-r-l-session.md index 49d7fdf864..1c9f670c5c 100644 --- a/docs/examples/1.1.x/client-android/java/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.1.x/client-android/java/account/update-magic-u-r-l-session.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.1.x/client-android/java/account/update-name.md b/docs/examples/1.1.x/client-android/java/account/update-name.md index 30bfd60109..a0f3bede4f 100644 --- a/docs/examples/1.1.x/client-android/java/account/update-name.md +++ b/docs/examples/1.1.x/client-android/java/account/update-name.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.1.x/client-android/java/account/update-password.md b/docs/examples/1.1.x/client-android/java/account/update-password.md index fa777db15b..7c90cdc412 100644 --- a/docs/examples/1.1.x/client-android/java/account/update-password.md +++ b/docs/examples/1.1.x/client-android/java/account/update-password.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.1.x/client-android/java/account/update-phone-session.md b/docs/examples/1.1.x/client-android/java/account/update-phone-session.md index fb16d46e4d..bbcaf8dfe0 100644 --- a/docs/examples/1.1.x/client-android/java/account/update-phone-session.md +++ b/docs/examples/1.1.x/client-android/java/account/update-phone-session.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.1.x/client-android/java/account/update-phone-verification.md b/docs/examples/1.1.x/client-android/java/account/update-phone-verification.md index 230fd33a8e..4ec461ea1a 100644 --- a/docs/examples/1.1.x/client-android/java/account/update-phone-verification.md +++ b/docs/examples/1.1.x/client-android/java/account/update-phone-verification.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.1.x/client-android/java/account/update-phone.md b/docs/examples/1.1.x/client-android/java/account/update-phone.md index db7ad1f48f..6b1a6fb042 100644 --- a/docs/examples/1.1.x/client-android/java/account/update-phone.md +++ b/docs/examples/1.1.x/client-android/java/account/update-phone.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.1.x/client-android/java/account/update-prefs.md b/docs/examples/1.1.x/client-android/java/account/update-prefs.md index 376425ef4b..0e8bbad3d8 100644 --- a/docs/examples/1.1.x/client-android/java/account/update-prefs.md +++ b/docs/examples/1.1.x/client-android/java/account/update-prefs.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.1.x/client-android/java/account/update-recovery.md b/docs/examples/1.1.x/client-android/java/account/update-recovery.md index 3aceb4c760..f4ed6369d5 100644 --- a/docs/examples/1.1.x/client-android/java/account/update-recovery.md +++ b/docs/examples/1.1.x/client-android/java/account/update-recovery.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.1.x/client-android/java/account/update-session.md b/docs/examples/1.1.x/client-android/java/account/update-session.md index 83a91c5020..bba895318d 100644 --- a/docs/examples/1.1.x/client-android/java/account/update-session.md +++ b/docs/examples/1.1.x/client-android/java/account/update-session.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.1.x/client-android/java/account/update-status.md b/docs/examples/1.1.x/client-android/java/account/update-status.md index 34eece35d8..66df60f1a5 100644 --- a/docs/examples/1.1.x/client-android/java/account/update-status.md +++ b/docs/examples/1.1.x/client-android/java/account/update-status.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.1.x/client-android/java/account/update-verification.md b/docs/examples/1.1.x/client-android/java/account/update-verification.md index b29574b2a2..40c87ab006 100644 --- a/docs/examples/1.1.x/client-android/java/account/update-verification.md +++ b/docs/examples/1.1.x/client-android/java/account/update-verification.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.1.x/client-android/java/avatars/get-browser.md b/docs/examples/1.1.x/client-android/java/avatars/get-browser.md index 23649a4df2..8dbcd9368f 100644 --- a/docs/examples/1.1.x/client-android/java/avatars/get-browser.md +++ b/docs/examples/1.1.x/client-android/java/avatars/get-browser.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.1.x/client-android/java/avatars/get-credit-card.md b/docs/examples/1.1.x/client-android/java/avatars/get-credit-card.md index 2987032f55..f824daf919 100644 --- a/docs/examples/1.1.x/client-android/java/avatars/get-credit-card.md +++ b/docs/examples/1.1.x/client-android/java/avatars/get-credit-card.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.1.x/client-android/java/avatars/get-favicon.md b/docs/examples/1.1.x/client-android/java/avatars/get-favicon.md index 4c308c3a83..b4f5365f36 100644 --- a/docs/examples/1.1.x/client-android/java/avatars/get-favicon.md +++ b/docs/examples/1.1.x/client-android/java/avatars/get-favicon.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.1.x/client-android/java/avatars/get-flag.md b/docs/examples/1.1.x/client-android/java/avatars/get-flag.md index c142069098..4299fd637a 100644 --- a/docs/examples/1.1.x/client-android/java/avatars/get-flag.md +++ b/docs/examples/1.1.x/client-android/java/avatars/get-flag.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.1.x/client-android/java/avatars/get-image.md b/docs/examples/1.1.x/client-android/java/avatars/get-image.md index 1e8fae2682..28592a6345 100644 --- a/docs/examples/1.1.x/client-android/java/avatars/get-image.md +++ b/docs/examples/1.1.x/client-android/java/avatars/get-image.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.1.x/client-android/java/avatars/get-initials.md b/docs/examples/1.1.x/client-android/java/avatars/get-initials.md index e75f0d83d2..1f7e29d11a 100644 --- a/docs/examples/1.1.x/client-android/java/avatars/get-initials.md +++ b/docs/examples/1.1.x/client-android/java/avatars/get-initials.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.1.x/client-android/java/avatars/get-q-r.md b/docs/examples/1.1.x/client-android/java/avatars/get-q-r.md index a796739345..06c089c363 100644 --- a/docs/examples/1.1.x/client-android/java/avatars/get-q-r.md +++ b/docs/examples/1.1.x/client-android/java/avatars/get-q-r.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.1.x/client-android/java/databases/create-document.md b/docs/examples/1.1.x/client-android/java/databases/create-document.md index 7c146ffc23..a5b50fe0ac 100644 --- a/docs/examples/1.1.x/client-android/java/databases/create-document.md +++ b/docs/examples/1.1.x/client-android/java/databases/create-document.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Databases databases = new Databases(client); diff --git a/docs/examples/1.1.x/client-android/java/databases/delete-document.md b/docs/examples/1.1.x/client-android/java/databases/delete-document.md index 6c72692246..758a84c35d 100644 --- a/docs/examples/1.1.x/client-android/java/databases/delete-document.md +++ b/docs/examples/1.1.x/client-android/java/databases/delete-document.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Databases databases = new Databases(client); diff --git a/docs/examples/1.1.x/client-android/java/databases/get-document.md b/docs/examples/1.1.x/client-android/java/databases/get-document.md index adbdb0a9c8..c70f786a74 100644 --- a/docs/examples/1.1.x/client-android/java/databases/get-document.md +++ b/docs/examples/1.1.x/client-android/java/databases/get-document.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Databases databases = new Databases(client); diff --git a/docs/examples/1.1.x/client-android/java/databases/list-documents.md b/docs/examples/1.1.x/client-android/java/databases/list-documents.md index d819c653fe..b6fe067c47 100644 --- a/docs/examples/1.1.x/client-android/java/databases/list-documents.md +++ b/docs/examples/1.1.x/client-android/java/databases/list-documents.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Databases databases = new Databases(client); diff --git a/docs/examples/1.1.x/client-android/java/databases/update-document.md b/docs/examples/1.1.x/client-android/java/databases/update-document.md index 9f64eb5bcd..31bbacd303 100644 --- a/docs/examples/1.1.x/client-android/java/databases/update-document.md +++ b/docs/examples/1.1.x/client-android/java/databases/update-document.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Databases databases = new Databases(client); diff --git a/docs/examples/1.1.x/client-android/java/functions/create-execution.md b/docs/examples/1.1.x/client-android/java/functions/create-execution.md index 9002fc2680..489686cf47 100644 --- a/docs/examples/1.1.x/client-android/java/functions/create-execution.md +++ b/docs/examples/1.1.x/client-android/java/functions/create-execution.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Functions functions = new Functions(client); diff --git a/docs/examples/1.1.x/client-android/java/functions/get-execution.md b/docs/examples/1.1.x/client-android/java/functions/get-execution.md index e94f2c9579..42b75e2d52 100644 --- a/docs/examples/1.1.x/client-android/java/functions/get-execution.md +++ b/docs/examples/1.1.x/client-android/java/functions/get-execution.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Functions functions = new Functions(client); diff --git a/docs/examples/1.1.x/client-android/java/functions/list-executions.md b/docs/examples/1.1.x/client-android/java/functions/list-executions.md index 83c56f2ee4..665b1a6837 100644 --- a/docs/examples/1.1.x/client-android/java/functions/list-executions.md +++ b/docs/examples/1.1.x/client-android/java/functions/list-executions.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Functions functions = new Functions(client); diff --git a/docs/examples/1.1.x/client-android/java/locale/get.md b/docs/examples/1.1.x/client-android/java/locale/get.md index a89ffde876..f3dd917a07 100644 --- a/docs/examples/1.1.x/client-android/java/locale/get.md +++ b/docs/examples/1.1.x/client-android/java/locale/get.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.1.x/client-android/java/locale/list-continents.md b/docs/examples/1.1.x/client-android/java/locale/list-continents.md index 9c7f7dd5fd..a74ad626dc 100644 --- a/docs/examples/1.1.x/client-android/java/locale/list-continents.md +++ b/docs/examples/1.1.x/client-android/java/locale/list-continents.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.1.x/client-android/java/locale/list-countries-e-u.md b/docs/examples/1.1.x/client-android/java/locale/list-countries-e-u.md index e5e065d60e..e9f7ddcf8d 100644 --- a/docs/examples/1.1.x/client-android/java/locale/list-countries-e-u.md +++ b/docs/examples/1.1.x/client-android/java/locale/list-countries-e-u.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.1.x/client-android/java/locale/list-countries-phones.md b/docs/examples/1.1.x/client-android/java/locale/list-countries-phones.md index 5e5eae05f1..594636aacb 100644 --- a/docs/examples/1.1.x/client-android/java/locale/list-countries-phones.md +++ b/docs/examples/1.1.x/client-android/java/locale/list-countries-phones.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.1.x/client-android/java/locale/list-countries.md b/docs/examples/1.1.x/client-android/java/locale/list-countries.md index 06693c19a9..ad34b0b741 100644 --- a/docs/examples/1.1.x/client-android/java/locale/list-countries.md +++ b/docs/examples/1.1.x/client-android/java/locale/list-countries.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.1.x/client-android/java/locale/list-currencies.md b/docs/examples/1.1.x/client-android/java/locale/list-currencies.md index bc1b0f1a9d..2b83586773 100644 --- a/docs/examples/1.1.x/client-android/java/locale/list-currencies.md +++ b/docs/examples/1.1.x/client-android/java/locale/list-currencies.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.1.x/client-android/java/locale/list-languages.md b/docs/examples/1.1.x/client-android/java/locale/list-languages.md index ef1cb3c90a..f47208cf0b 100644 --- a/docs/examples/1.1.x/client-android/java/locale/list-languages.md +++ b/docs/examples/1.1.x/client-android/java/locale/list-languages.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.1.x/client-android/java/storage/create-file.md b/docs/examples/1.1.x/client-android/java/storage/create-file.md index ebf4e67746..56feb9e945 100644 --- a/docs/examples/1.1.x/client-android/java/storage/create-file.md +++ b/docs/examples/1.1.x/client-android/java/storage/create-file.md @@ -14,7 +14,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.1.x/client-android/java/storage/delete-file.md b/docs/examples/1.1.x/client-android/java/storage/delete-file.md index 4b7ca75ef0..a51a7303e6 100644 --- a/docs/examples/1.1.x/client-android/java/storage/delete-file.md +++ b/docs/examples/1.1.x/client-android/java/storage/delete-file.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.1.x/client-android/java/storage/get-file-download.md b/docs/examples/1.1.x/client-android/java/storage/get-file-download.md index f872bbba1c..a32144afab 100644 --- a/docs/examples/1.1.x/client-android/java/storage/get-file-download.md +++ b/docs/examples/1.1.x/client-android/java/storage/get-file-download.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.1.x/client-android/java/storage/get-file-preview.md b/docs/examples/1.1.x/client-android/java/storage/get-file-preview.md index de2350d0d1..d01356c5a5 100644 --- a/docs/examples/1.1.x/client-android/java/storage/get-file-preview.md +++ b/docs/examples/1.1.x/client-android/java/storage/get-file-preview.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.1.x/client-android/java/storage/get-file-view.md b/docs/examples/1.1.x/client-android/java/storage/get-file-view.md index 4c8f480537..2e5b146430 100644 --- a/docs/examples/1.1.x/client-android/java/storage/get-file-view.md +++ b/docs/examples/1.1.x/client-android/java/storage/get-file-view.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.1.x/client-android/java/storage/get-file.md b/docs/examples/1.1.x/client-android/java/storage/get-file.md index 5599fe3432..9b00581007 100644 --- a/docs/examples/1.1.x/client-android/java/storage/get-file.md +++ b/docs/examples/1.1.x/client-android/java/storage/get-file.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.1.x/client-android/java/storage/list-files.md b/docs/examples/1.1.x/client-android/java/storage/list-files.md index 8f2e1232df..3767b4d4b8 100644 --- a/docs/examples/1.1.x/client-android/java/storage/list-files.md +++ b/docs/examples/1.1.x/client-android/java/storage/list-files.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.1.x/client-android/java/storage/update-file.md b/docs/examples/1.1.x/client-android/java/storage/update-file.md index ae9f138b01..d856ecc532 100644 --- a/docs/examples/1.1.x/client-android/java/storage/update-file.md +++ b/docs/examples/1.1.x/client-android/java/storage/update-file.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.1.x/client-android/java/teams/create-membership.md b/docs/examples/1.1.x/client-android/java/teams/create-membership.md index c4615cabf8..d3ad5f013a 100644 --- a/docs/examples/1.1.x/client-android/java/teams/create-membership.md +++ b/docs/examples/1.1.x/client-android/java/teams/create-membership.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.1.x/client-android/java/teams/create.md b/docs/examples/1.1.x/client-android/java/teams/create.md index 93367655cd..d6fb9836ca 100644 --- a/docs/examples/1.1.x/client-android/java/teams/create.md +++ b/docs/examples/1.1.x/client-android/java/teams/create.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.1.x/client-android/java/teams/delete-membership.md b/docs/examples/1.1.x/client-android/java/teams/delete-membership.md index ae8eb96f89..baacc82d4c 100644 --- a/docs/examples/1.1.x/client-android/java/teams/delete-membership.md +++ b/docs/examples/1.1.x/client-android/java/teams/delete-membership.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.1.x/client-android/java/teams/delete.md b/docs/examples/1.1.x/client-android/java/teams/delete.md index 64376350a1..431b1f18d3 100644 --- a/docs/examples/1.1.x/client-android/java/teams/delete.md +++ b/docs/examples/1.1.x/client-android/java/teams/delete.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.1.x/client-android/java/teams/get-membership.md b/docs/examples/1.1.x/client-android/java/teams/get-membership.md index fd9319cb2c..6cb3f61d7b 100644 --- a/docs/examples/1.1.x/client-android/java/teams/get-membership.md +++ b/docs/examples/1.1.x/client-android/java/teams/get-membership.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.1.x/client-android/java/teams/get.md b/docs/examples/1.1.x/client-android/java/teams/get.md index 8ec069ff66..ffd6f1cb7d 100644 --- a/docs/examples/1.1.x/client-android/java/teams/get.md +++ b/docs/examples/1.1.x/client-android/java/teams/get.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.1.x/client-android/java/teams/list-memberships.md b/docs/examples/1.1.x/client-android/java/teams/list-memberships.md index aa28fc62e4..2f75780331 100644 --- a/docs/examples/1.1.x/client-android/java/teams/list-memberships.md +++ b/docs/examples/1.1.x/client-android/java/teams/list-memberships.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.1.x/client-android/java/teams/list.md b/docs/examples/1.1.x/client-android/java/teams/list.md index e5e026756d..2fa812a172 100644 --- a/docs/examples/1.1.x/client-android/java/teams/list.md +++ b/docs/examples/1.1.x/client-android/java/teams/list.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.1.x/client-android/java/teams/update-membership-roles.md b/docs/examples/1.1.x/client-android/java/teams/update-membership-roles.md index 275fb0ffec..ec973e84d0 100644 --- a/docs/examples/1.1.x/client-android/java/teams/update-membership-roles.md +++ b/docs/examples/1.1.x/client-android/java/teams/update-membership-roles.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.1.x/client-android/java/teams/update-membership-status.md b/docs/examples/1.1.x/client-android/java/teams/update-membership-status.md index 5c063296b3..30282637ad 100644 --- a/docs/examples/1.1.x/client-android/java/teams/update-membership-status.md +++ b/docs/examples/1.1.x/client-android/java/teams/update-membership-status.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.1.x/client-android/java/teams/update.md b/docs/examples/1.1.x/client-android/java/teams/update.md index 9cfce62162..8ecffde2c4 100644 --- a/docs/examples/1.1.x/client-android/java/teams/update.md +++ b/docs/examples/1.1.x/client-android/java/teams/update.md @@ -13,7 +13,7 @@ public class MainActivity extends AppCompatActivity { setContentView(R.layout.activity_main); Client client = new Client(getApplicationContext()) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.1.x/client-android/kotlin/account/create-anonymous-session.md b/docs/examples/1.1.x/client-android/kotlin/account/create-anonymous-session.md index 523c4387ea..8e65376c0d 100644 --- a/docs/examples/1.1.x/client-android/kotlin/account/create-anonymous-session.md +++ b/docs/examples/1.1.x/client-android/kotlin/account/create-anonymous-session.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/account/create-email-session.md b/docs/examples/1.1.x/client-android/kotlin/account/create-email-session.md index 397954baa7..526df093de 100644 --- a/docs/examples/1.1.x/client-android/kotlin/account/create-email-session.md +++ b/docs/examples/1.1.x/client-android/kotlin/account/create-email-session.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/account/create-j-w-t.md b/docs/examples/1.1.x/client-android/kotlin/account/create-j-w-t.md index 4e99522401..84413eb3fa 100644 --- a/docs/examples/1.1.x/client-android/kotlin/account/create-j-w-t.md +++ b/docs/examples/1.1.x/client-android/kotlin/account/create-j-w-t.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/account/create-magic-u-r-l-session.md b/docs/examples/1.1.x/client-android/kotlin/account/create-magic-u-r-l-session.md index b0eeb8dd20..1b324d14a1 100644 --- a/docs/examples/1.1.x/client-android/kotlin/account/create-magic-u-r-l-session.md +++ b/docs/examples/1.1.x/client-android/kotlin/account/create-magic-u-r-l-session.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/account/create-o-auth2session.md b/docs/examples/1.1.x/client-android/kotlin/account/create-o-auth2session.md index 63eef21da0..7888ca94ab 100644 --- a/docs/examples/1.1.x/client-android/kotlin/account/create-o-auth2session.md +++ b/docs/examples/1.1.x/client-android/kotlin/account/create-o-auth2session.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/account/create-phone-session.md b/docs/examples/1.1.x/client-android/kotlin/account/create-phone-session.md index 27b8749a92..be596570a6 100644 --- a/docs/examples/1.1.x/client-android/kotlin/account/create-phone-session.md +++ b/docs/examples/1.1.x/client-android/kotlin/account/create-phone-session.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/account/create-phone-verification.md b/docs/examples/1.1.x/client-android/kotlin/account/create-phone-verification.md index 31ea1ea014..6afdc3b164 100644 --- a/docs/examples/1.1.x/client-android/kotlin/account/create-phone-verification.md +++ b/docs/examples/1.1.x/client-android/kotlin/account/create-phone-verification.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/account/create-recovery.md b/docs/examples/1.1.x/client-android/kotlin/account/create-recovery.md index 2153934336..af57d8355a 100644 --- a/docs/examples/1.1.x/client-android/kotlin/account/create-recovery.md +++ b/docs/examples/1.1.x/client-android/kotlin/account/create-recovery.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/account/create-verification.md b/docs/examples/1.1.x/client-android/kotlin/account/create-verification.md index 3705fc9fba..f5303d299f 100644 --- a/docs/examples/1.1.x/client-android/kotlin/account/create-verification.md +++ b/docs/examples/1.1.x/client-android/kotlin/account/create-verification.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/account/create.md b/docs/examples/1.1.x/client-android/kotlin/account/create.md index 95ac636eed..44207867e2 100644 --- a/docs/examples/1.1.x/client-android/kotlin/account/create.md +++ b/docs/examples/1.1.x/client-android/kotlin/account/create.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/account/delete-session.md b/docs/examples/1.1.x/client-android/kotlin/account/delete-session.md index 35168c7838..c1aa2c37d4 100644 --- a/docs/examples/1.1.x/client-android/kotlin/account/delete-session.md +++ b/docs/examples/1.1.x/client-android/kotlin/account/delete-session.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/account/delete-sessions.md b/docs/examples/1.1.x/client-android/kotlin/account/delete-sessions.md index 9bb811178e..97f7daf6e8 100644 --- a/docs/examples/1.1.x/client-android/kotlin/account/delete-sessions.md +++ b/docs/examples/1.1.x/client-android/kotlin/account/delete-sessions.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/account/get-prefs.md b/docs/examples/1.1.x/client-android/kotlin/account/get-prefs.md index fbd819e162..c879c1012b 100644 --- a/docs/examples/1.1.x/client-android/kotlin/account/get-prefs.md +++ b/docs/examples/1.1.x/client-android/kotlin/account/get-prefs.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/account/get-session.md b/docs/examples/1.1.x/client-android/kotlin/account/get-session.md index 7da8ebf958..082367724f 100644 --- a/docs/examples/1.1.x/client-android/kotlin/account/get-session.md +++ b/docs/examples/1.1.x/client-android/kotlin/account/get-session.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/account/get.md b/docs/examples/1.1.x/client-android/kotlin/account/get.md index 6ce5442990..4dbc6d37c5 100644 --- a/docs/examples/1.1.x/client-android/kotlin/account/get.md +++ b/docs/examples/1.1.x/client-android/kotlin/account/get.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/account/list-logs.md b/docs/examples/1.1.x/client-android/kotlin/account/list-logs.md index 2e5d2a1767..9241ed4cf0 100644 --- a/docs/examples/1.1.x/client-android/kotlin/account/list-logs.md +++ b/docs/examples/1.1.x/client-android/kotlin/account/list-logs.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/account/list-sessions.md b/docs/examples/1.1.x/client-android/kotlin/account/list-sessions.md index c74443e19d..5954631108 100644 --- a/docs/examples/1.1.x/client-android/kotlin/account/list-sessions.md +++ b/docs/examples/1.1.x/client-android/kotlin/account/list-sessions.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/account/update-email.md b/docs/examples/1.1.x/client-android/kotlin/account/update-email.md index 9745902f49..6237dd292a 100644 --- a/docs/examples/1.1.x/client-android/kotlin/account/update-email.md +++ b/docs/examples/1.1.x/client-android/kotlin/account/update-email.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/account/update-magic-u-r-l-session.md b/docs/examples/1.1.x/client-android/kotlin/account/update-magic-u-r-l-session.md index c8a744a23c..5715424957 100644 --- a/docs/examples/1.1.x/client-android/kotlin/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.1.x/client-android/kotlin/account/update-magic-u-r-l-session.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/account/update-name.md b/docs/examples/1.1.x/client-android/kotlin/account/update-name.md index 0aecf3987d..d3270082bd 100644 --- a/docs/examples/1.1.x/client-android/kotlin/account/update-name.md +++ b/docs/examples/1.1.x/client-android/kotlin/account/update-name.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/account/update-password.md b/docs/examples/1.1.x/client-android/kotlin/account/update-password.md index 6d634dbfc7..a31926174c 100644 --- a/docs/examples/1.1.x/client-android/kotlin/account/update-password.md +++ b/docs/examples/1.1.x/client-android/kotlin/account/update-password.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/account/update-phone-session.md b/docs/examples/1.1.x/client-android/kotlin/account/update-phone-session.md index 0e3ad12c15..c921564e42 100644 --- a/docs/examples/1.1.x/client-android/kotlin/account/update-phone-session.md +++ b/docs/examples/1.1.x/client-android/kotlin/account/update-phone-session.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/account/update-phone-verification.md b/docs/examples/1.1.x/client-android/kotlin/account/update-phone-verification.md index e4db01a901..d5d516181f 100644 --- a/docs/examples/1.1.x/client-android/kotlin/account/update-phone-verification.md +++ b/docs/examples/1.1.x/client-android/kotlin/account/update-phone-verification.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/account/update-phone.md b/docs/examples/1.1.x/client-android/kotlin/account/update-phone.md index 9339ba12b7..7590361bf4 100644 --- a/docs/examples/1.1.x/client-android/kotlin/account/update-phone.md +++ b/docs/examples/1.1.x/client-android/kotlin/account/update-phone.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/account/update-prefs.md b/docs/examples/1.1.x/client-android/kotlin/account/update-prefs.md index e5c8340c9c..e9471e1851 100644 --- a/docs/examples/1.1.x/client-android/kotlin/account/update-prefs.md +++ b/docs/examples/1.1.x/client-android/kotlin/account/update-prefs.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/account/update-recovery.md b/docs/examples/1.1.x/client-android/kotlin/account/update-recovery.md index eb1bcf54cf..1b9b2b910d 100644 --- a/docs/examples/1.1.x/client-android/kotlin/account/update-recovery.md +++ b/docs/examples/1.1.x/client-android/kotlin/account/update-recovery.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/account/update-session.md b/docs/examples/1.1.x/client-android/kotlin/account/update-session.md index b8dbdb0c8f..50d34cfdaa 100644 --- a/docs/examples/1.1.x/client-android/kotlin/account/update-session.md +++ b/docs/examples/1.1.x/client-android/kotlin/account/update-session.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/account/update-status.md b/docs/examples/1.1.x/client-android/kotlin/account/update-status.md index da910c8da3..f6afc0830b 100644 --- a/docs/examples/1.1.x/client-android/kotlin/account/update-status.md +++ b/docs/examples/1.1.x/client-android/kotlin/account/update-status.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/account/update-verification.md b/docs/examples/1.1.x/client-android/kotlin/account/update-verification.md index 05ea52b4e0..2fc2612c1c 100644 --- a/docs/examples/1.1.x/client-android/kotlin/account/update-verification.md +++ b/docs/examples/1.1.x/client-android/kotlin/account/update-verification.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/avatars/get-browser.md b/docs/examples/1.1.x/client-android/kotlin/avatars/get-browser.md index 5709b914bd..e7041ea9f4 100644 --- a/docs/examples/1.1.x/client-android/kotlin/avatars/get-browser.md +++ b/docs/examples/1.1.x/client-android/kotlin/avatars/get-browser.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/avatars/get-credit-card.md b/docs/examples/1.1.x/client-android/kotlin/avatars/get-credit-card.md index 5e3bfa3c9f..dda629da08 100644 --- a/docs/examples/1.1.x/client-android/kotlin/avatars/get-credit-card.md +++ b/docs/examples/1.1.x/client-android/kotlin/avatars/get-credit-card.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/avatars/get-favicon.md b/docs/examples/1.1.x/client-android/kotlin/avatars/get-favicon.md index 9cb0ce96cc..805bf4e917 100644 --- a/docs/examples/1.1.x/client-android/kotlin/avatars/get-favicon.md +++ b/docs/examples/1.1.x/client-android/kotlin/avatars/get-favicon.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/avatars/get-flag.md b/docs/examples/1.1.x/client-android/kotlin/avatars/get-flag.md index 015ed2e944..0e75160511 100644 --- a/docs/examples/1.1.x/client-android/kotlin/avatars/get-flag.md +++ b/docs/examples/1.1.x/client-android/kotlin/avatars/get-flag.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/avatars/get-image.md b/docs/examples/1.1.x/client-android/kotlin/avatars/get-image.md index c82bfae0ab..9cea5a9e14 100644 --- a/docs/examples/1.1.x/client-android/kotlin/avatars/get-image.md +++ b/docs/examples/1.1.x/client-android/kotlin/avatars/get-image.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/avatars/get-initials.md b/docs/examples/1.1.x/client-android/kotlin/avatars/get-initials.md index ca94c12964..6f0bd57ce5 100644 --- a/docs/examples/1.1.x/client-android/kotlin/avatars/get-initials.md +++ b/docs/examples/1.1.x/client-android/kotlin/avatars/get-initials.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/avatars/get-q-r.md b/docs/examples/1.1.x/client-android/kotlin/avatars/get-q-r.md index 47ccf7b71b..45742a2c4a 100644 --- a/docs/examples/1.1.x/client-android/kotlin/avatars/get-q-r.md +++ b/docs/examples/1.1.x/client-android/kotlin/avatars/get-q-r.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/databases/create-document.md b/docs/examples/1.1.x/client-android/kotlin/databases/create-document.md index b552212c71..b05f528447 100644 --- a/docs/examples/1.1.x/client-android/kotlin/databases/create-document.md +++ b/docs/examples/1.1.x/client-android/kotlin/databases/create-document.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val databases = Databases(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/databases/delete-document.md b/docs/examples/1.1.x/client-android/kotlin/databases/delete-document.md index 3c657a0a7c..aa119eb9d5 100644 --- a/docs/examples/1.1.x/client-android/kotlin/databases/delete-document.md +++ b/docs/examples/1.1.x/client-android/kotlin/databases/delete-document.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val databases = Databases(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/databases/get-document.md b/docs/examples/1.1.x/client-android/kotlin/databases/get-document.md index 37c054620b..b19abfa633 100644 --- a/docs/examples/1.1.x/client-android/kotlin/databases/get-document.md +++ b/docs/examples/1.1.x/client-android/kotlin/databases/get-document.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val databases = Databases(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/databases/list-documents.md b/docs/examples/1.1.x/client-android/kotlin/databases/list-documents.md index de6949afa7..881d3d7697 100644 --- a/docs/examples/1.1.x/client-android/kotlin/databases/list-documents.md +++ b/docs/examples/1.1.x/client-android/kotlin/databases/list-documents.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val databases = Databases(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/databases/update-document.md b/docs/examples/1.1.x/client-android/kotlin/databases/update-document.md index b25a52f968..74c0fc615b 100644 --- a/docs/examples/1.1.x/client-android/kotlin/databases/update-document.md +++ b/docs/examples/1.1.x/client-android/kotlin/databases/update-document.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val databases = Databases(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/functions/create-execution.md b/docs/examples/1.1.x/client-android/kotlin/functions/create-execution.md index 92c06e0946..45ba677cab 100644 --- a/docs/examples/1.1.x/client-android/kotlin/functions/create-execution.md +++ b/docs/examples/1.1.x/client-android/kotlin/functions/create-execution.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val functions = Functions(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/functions/get-execution.md b/docs/examples/1.1.x/client-android/kotlin/functions/get-execution.md index 60a8b0a4fd..25413862a3 100644 --- a/docs/examples/1.1.x/client-android/kotlin/functions/get-execution.md +++ b/docs/examples/1.1.x/client-android/kotlin/functions/get-execution.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val functions = Functions(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/functions/list-executions.md b/docs/examples/1.1.x/client-android/kotlin/functions/list-executions.md index 7229499027..aea08d185c 100644 --- a/docs/examples/1.1.x/client-android/kotlin/functions/list-executions.md +++ b/docs/examples/1.1.x/client-android/kotlin/functions/list-executions.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val functions = Functions(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/locale/get.md b/docs/examples/1.1.x/client-android/kotlin/locale/get.md index ab41f9d14d..1f1a0c5067 100644 --- a/docs/examples/1.1.x/client-android/kotlin/locale/get.md +++ b/docs/examples/1.1.x/client-android/kotlin/locale/get.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/locale/list-continents.md b/docs/examples/1.1.x/client-android/kotlin/locale/list-continents.md index 000fb44e67..555bdaad1c 100644 --- a/docs/examples/1.1.x/client-android/kotlin/locale/list-continents.md +++ b/docs/examples/1.1.x/client-android/kotlin/locale/list-continents.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/locale/list-countries-e-u.md b/docs/examples/1.1.x/client-android/kotlin/locale/list-countries-e-u.md index 4f5da4c4d3..aef915af14 100644 --- a/docs/examples/1.1.x/client-android/kotlin/locale/list-countries-e-u.md +++ b/docs/examples/1.1.x/client-android/kotlin/locale/list-countries-e-u.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/locale/list-countries-phones.md b/docs/examples/1.1.x/client-android/kotlin/locale/list-countries-phones.md index c6fead14a0..8909914a10 100644 --- a/docs/examples/1.1.x/client-android/kotlin/locale/list-countries-phones.md +++ b/docs/examples/1.1.x/client-android/kotlin/locale/list-countries-phones.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/locale/list-countries.md b/docs/examples/1.1.x/client-android/kotlin/locale/list-countries.md index 1e883c57e8..e9bb22acc4 100644 --- a/docs/examples/1.1.x/client-android/kotlin/locale/list-countries.md +++ b/docs/examples/1.1.x/client-android/kotlin/locale/list-countries.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/locale/list-currencies.md b/docs/examples/1.1.x/client-android/kotlin/locale/list-currencies.md index 20b60bdc81..2a59d32117 100644 --- a/docs/examples/1.1.x/client-android/kotlin/locale/list-currencies.md +++ b/docs/examples/1.1.x/client-android/kotlin/locale/list-currencies.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/locale/list-languages.md b/docs/examples/1.1.x/client-android/kotlin/locale/list-languages.md index ace38e54c8..b819b84ed3 100644 --- a/docs/examples/1.1.x/client-android/kotlin/locale/list-languages.md +++ b/docs/examples/1.1.x/client-android/kotlin/locale/list-languages.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/storage/create-file.md b/docs/examples/1.1.x/client-android/kotlin/storage/create-file.md index 1a35bbf4d2..2602db3493 100644 --- a/docs/examples/1.1.x/client-android/kotlin/storage/create-file.md +++ b/docs/examples/1.1.x/client-android/kotlin/storage/create-file.md @@ -12,7 +12,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/storage/delete-file.md b/docs/examples/1.1.x/client-android/kotlin/storage/delete-file.md index 1f95a13fb4..867f51d7c1 100644 --- a/docs/examples/1.1.x/client-android/kotlin/storage/delete-file.md +++ b/docs/examples/1.1.x/client-android/kotlin/storage/delete-file.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/storage/get-file-download.md b/docs/examples/1.1.x/client-android/kotlin/storage/get-file-download.md index 7dad4d7548..57eea68e7a 100644 --- a/docs/examples/1.1.x/client-android/kotlin/storage/get-file-download.md +++ b/docs/examples/1.1.x/client-android/kotlin/storage/get-file-download.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/storage/get-file-preview.md b/docs/examples/1.1.x/client-android/kotlin/storage/get-file-preview.md index e0297ffb49..2f3efa8e15 100644 --- a/docs/examples/1.1.x/client-android/kotlin/storage/get-file-preview.md +++ b/docs/examples/1.1.x/client-android/kotlin/storage/get-file-preview.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/storage/get-file-view.md b/docs/examples/1.1.x/client-android/kotlin/storage/get-file-view.md index 2a502cdad2..e324b19e7c 100644 --- a/docs/examples/1.1.x/client-android/kotlin/storage/get-file-view.md +++ b/docs/examples/1.1.x/client-android/kotlin/storage/get-file-view.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/storage/get-file.md b/docs/examples/1.1.x/client-android/kotlin/storage/get-file.md index 8a8a2f11cf..15a9f41bea 100644 --- a/docs/examples/1.1.x/client-android/kotlin/storage/get-file.md +++ b/docs/examples/1.1.x/client-android/kotlin/storage/get-file.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/storage/list-files.md b/docs/examples/1.1.x/client-android/kotlin/storage/list-files.md index e8889ff222..fc013defc0 100644 --- a/docs/examples/1.1.x/client-android/kotlin/storage/list-files.md +++ b/docs/examples/1.1.x/client-android/kotlin/storage/list-files.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/storage/update-file.md b/docs/examples/1.1.x/client-android/kotlin/storage/update-file.md index 85fa0e9d07..146522bd37 100644 --- a/docs/examples/1.1.x/client-android/kotlin/storage/update-file.md +++ b/docs/examples/1.1.x/client-android/kotlin/storage/update-file.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/teams/create-membership.md b/docs/examples/1.1.x/client-android/kotlin/teams/create-membership.md index 2c834f01f7..5f2a4242b9 100644 --- a/docs/examples/1.1.x/client-android/kotlin/teams/create-membership.md +++ b/docs/examples/1.1.x/client-android/kotlin/teams/create-membership.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/teams/create.md b/docs/examples/1.1.x/client-android/kotlin/teams/create.md index 53808fb5ec..841bd9b8dc 100644 --- a/docs/examples/1.1.x/client-android/kotlin/teams/create.md +++ b/docs/examples/1.1.x/client-android/kotlin/teams/create.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/teams/delete-membership.md b/docs/examples/1.1.x/client-android/kotlin/teams/delete-membership.md index c76a656bd5..2df0d977dc 100644 --- a/docs/examples/1.1.x/client-android/kotlin/teams/delete-membership.md +++ b/docs/examples/1.1.x/client-android/kotlin/teams/delete-membership.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/teams/delete.md b/docs/examples/1.1.x/client-android/kotlin/teams/delete.md index e94b847185..1ab1a72eb2 100644 --- a/docs/examples/1.1.x/client-android/kotlin/teams/delete.md +++ b/docs/examples/1.1.x/client-android/kotlin/teams/delete.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/teams/get-membership.md b/docs/examples/1.1.x/client-android/kotlin/teams/get-membership.md index b895e43ae1..bee457e159 100644 --- a/docs/examples/1.1.x/client-android/kotlin/teams/get-membership.md +++ b/docs/examples/1.1.x/client-android/kotlin/teams/get-membership.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/teams/get.md b/docs/examples/1.1.x/client-android/kotlin/teams/get.md index b2e44ad8a8..d6af87208d 100644 --- a/docs/examples/1.1.x/client-android/kotlin/teams/get.md +++ b/docs/examples/1.1.x/client-android/kotlin/teams/get.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/teams/list-memberships.md b/docs/examples/1.1.x/client-android/kotlin/teams/list-memberships.md index 1dc4cadd5e..d9eb219ab4 100644 --- a/docs/examples/1.1.x/client-android/kotlin/teams/list-memberships.md +++ b/docs/examples/1.1.x/client-android/kotlin/teams/list-memberships.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/teams/list.md b/docs/examples/1.1.x/client-android/kotlin/teams/list.md index bb9b6fff83..f133df09b8 100644 --- a/docs/examples/1.1.x/client-android/kotlin/teams/list.md +++ b/docs/examples/1.1.x/client-android/kotlin/teams/list.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/teams/update-membership-roles.md b/docs/examples/1.1.x/client-android/kotlin/teams/update-membership-roles.md index b23ebf07e3..676973ddcb 100644 --- a/docs/examples/1.1.x/client-android/kotlin/teams/update-membership-roles.md +++ b/docs/examples/1.1.x/client-android/kotlin/teams/update-membership-roles.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/teams/update-membership-status.md b/docs/examples/1.1.x/client-android/kotlin/teams/update-membership-status.md index f4bc29f01d..fc11c4e047 100644 --- a/docs/examples/1.1.x/client-android/kotlin/teams/update-membership-status.md +++ b/docs/examples/1.1.x/client-android/kotlin/teams/update-membership-status.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.1.x/client-android/kotlin/teams/update.md b/docs/examples/1.1.x/client-android/kotlin/teams/update.md index fc9447f0e9..30ed177b2f 100644 --- a/docs/examples/1.1.x/client-android/kotlin/teams/update.md +++ b/docs/examples/1.1.x/client-android/kotlin/teams/update.md @@ -11,7 +11,7 @@ class MainActivity : AppCompatActivity() { setContentView(R.layout.activity_main) val client = Client(applicationContext) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.1.x/client-apple/examples/account/create-anonymous-session.md b/docs/examples/1.1.x/client-apple/examples/account/create-anonymous-session.md index b01493a249..5d393d835d 100644 --- a/docs/examples/1.1.x/client-apple/examples/account/create-anonymous-session.md +++ b/docs/examples/1.1.x/client-apple/examples/account/create-anonymous-session.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) let session = try await account.createAnonymousSession() diff --git a/docs/examples/1.1.x/client-apple/examples/account/create-email-session.md b/docs/examples/1.1.x/client-apple/examples/account/create-email-session.md index 19e9576d9e..703f6dd788 100644 --- a/docs/examples/1.1.x/client-apple/examples/account/create-email-session.md +++ b/docs/examples/1.1.x/client-apple/examples/account/create-email-session.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) let session = try await account.createEmailSession( diff --git a/docs/examples/1.1.x/client-apple/examples/account/create-j-w-t.md b/docs/examples/1.1.x/client-apple/examples/account/create-j-w-t.md index 8b3ce9b056..6f36952df5 100644 --- a/docs/examples/1.1.x/client-apple/examples/account/create-j-w-t.md +++ b/docs/examples/1.1.x/client-apple/examples/account/create-j-w-t.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) let jwt = try await account.createJWT() diff --git a/docs/examples/1.1.x/client-apple/examples/account/create-magic-u-r-l-session.md b/docs/examples/1.1.x/client-apple/examples/account/create-magic-u-r-l-session.md index 92dd6eb5f3..ea56334a43 100644 --- a/docs/examples/1.1.x/client-apple/examples/account/create-magic-u-r-l-session.md +++ b/docs/examples/1.1.x/client-apple/examples/account/create-magic-u-r-l-session.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) let token = try await account.createMagicURLSession( diff --git a/docs/examples/1.1.x/client-apple/examples/account/create-o-auth2session.md b/docs/examples/1.1.x/client-apple/examples/account/create-o-auth2session.md index 45d5ccb19c..8df03f1d41 100644 --- a/docs/examples/1.1.x/client-apple/examples/account/create-o-auth2session.md +++ b/docs/examples/1.1.x/client-apple/examples/account/create-o-auth2session.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) let success = try await account.createOAuth2Session( diff --git a/docs/examples/1.1.x/client-apple/examples/account/create-phone-session.md b/docs/examples/1.1.x/client-apple/examples/account/create-phone-session.md index f1466edc9d..911813d7f1 100644 --- a/docs/examples/1.1.x/client-apple/examples/account/create-phone-session.md +++ b/docs/examples/1.1.x/client-apple/examples/account/create-phone-session.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) let token = try await account.createPhoneSession( diff --git a/docs/examples/1.1.x/client-apple/examples/account/create-phone-verification.md b/docs/examples/1.1.x/client-apple/examples/account/create-phone-verification.md index acb37fe639..4e26cfabf9 100644 --- a/docs/examples/1.1.x/client-apple/examples/account/create-phone-verification.md +++ b/docs/examples/1.1.x/client-apple/examples/account/create-phone-verification.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) let token = try await account.createPhoneVerification() diff --git a/docs/examples/1.1.x/client-apple/examples/account/create-recovery.md b/docs/examples/1.1.x/client-apple/examples/account/create-recovery.md index 997b503550..edcd4e4f45 100644 --- a/docs/examples/1.1.x/client-apple/examples/account/create-recovery.md +++ b/docs/examples/1.1.x/client-apple/examples/account/create-recovery.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) let token = try await account.createRecovery( diff --git a/docs/examples/1.1.x/client-apple/examples/account/create-verification.md b/docs/examples/1.1.x/client-apple/examples/account/create-verification.md index 42f7e6af6b..6f402f0d8e 100644 --- a/docs/examples/1.1.x/client-apple/examples/account/create-verification.md +++ b/docs/examples/1.1.x/client-apple/examples/account/create-verification.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) let token = try await account.createVerification( diff --git a/docs/examples/1.1.x/client-apple/examples/account/create.md b/docs/examples/1.1.x/client-apple/examples/account/create.md index 0d2f7cf5db..998cdadabb 100644 --- a/docs/examples/1.1.x/client-apple/examples/account/create.md +++ b/docs/examples/1.1.x/client-apple/examples/account/create.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) let account = try await account.create( diff --git a/docs/examples/1.1.x/client-apple/examples/account/delete-session.md b/docs/examples/1.1.x/client-apple/examples/account/delete-session.md index 5ff8ec5c15..0cfdd0912c 100644 --- a/docs/examples/1.1.x/client-apple/examples/account/delete-session.md +++ b/docs/examples/1.1.x/client-apple/examples/account/delete-session.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) let result = try await account.deleteSession( diff --git a/docs/examples/1.1.x/client-apple/examples/account/delete-sessions.md b/docs/examples/1.1.x/client-apple/examples/account/delete-sessions.md index b0ae70f2d8..e70b69b3c6 100644 --- a/docs/examples/1.1.x/client-apple/examples/account/delete-sessions.md +++ b/docs/examples/1.1.x/client-apple/examples/account/delete-sessions.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) let result = try await account.deleteSessions() diff --git a/docs/examples/1.1.x/client-apple/examples/account/get-prefs.md b/docs/examples/1.1.x/client-apple/examples/account/get-prefs.md index 84c422de3d..3a1d2052a6 100644 --- a/docs/examples/1.1.x/client-apple/examples/account/get-prefs.md +++ b/docs/examples/1.1.x/client-apple/examples/account/get-prefs.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) let preferences = try await account.getPrefs() diff --git a/docs/examples/1.1.x/client-apple/examples/account/get-session.md b/docs/examples/1.1.x/client-apple/examples/account/get-session.md index 008b21e584..f960c23c9b 100644 --- a/docs/examples/1.1.x/client-apple/examples/account/get-session.md +++ b/docs/examples/1.1.x/client-apple/examples/account/get-session.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) let session = try await account.getSession( diff --git a/docs/examples/1.1.x/client-apple/examples/account/get.md b/docs/examples/1.1.x/client-apple/examples/account/get.md index c6879c53ef..419e75a098 100644 --- a/docs/examples/1.1.x/client-apple/examples/account/get.md +++ b/docs/examples/1.1.x/client-apple/examples/account/get.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) let account = try await account.get() diff --git a/docs/examples/1.1.x/client-apple/examples/account/list-logs.md b/docs/examples/1.1.x/client-apple/examples/account/list-logs.md index 4790495835..fa8636f796 100644 --- a/docs/examples/1.1.x/client-apple/examples/account/list-logs.md +++ b/docs/examples/1.1.x/client-apple/examples/account/list-logs.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) let logList = try await account.listLogs() diff --git a/docs/examples/1.1.x/client-apple/examples/account/list-sessions.md b/docs/examples/1.1.x/client-apple/examples/account/list-sessions.md index 35e9ddac21..265b740412 100644 --- a/docs/examples/1.1.x/client-apple/examples/account/list-sessions.md +++ b/docs/examples/1.1.x/client-apple/examples/account/list-sessions.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) let sessionList = try await account.listSessions() diff --git a/docs/examples/1.1.x/client-apple/examples/account/update-email.md b/docs/examples/1.1.x/client-apple/examples/account/update-email.md index a242f82e7c..151ea4ebfe 100644 --- a/docs/examples/1.1.x/client-apple/examples/account/update-email.md +++ b/docs/examples/1.1.x/client-apple/examples/account/update-email.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) let account = try await account.updateEmail( diff --git a/docs/examples/1.1.x/client-apple/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.1.x/client-apple/examples/account/update-magic-u-r-l-session.md index 988c2c95a3..dc4efb8fab 100644 --- a/docs/examples/1.1.x/client-apple/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.1.x/client-apple/examples/account/update-magic-u-r-l-session.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) let session = try await account.updateMagicURLSession( diff --git a/docs/examples/1.1.x/client-apple/examples/account/update-name.md b/docs/examples/1.1.x/client-apple/examples/account/update-name.md index bd149918e6..c2e8f782fa 100644 --- a/docs/examples/1.1.x/client-apple/examples/account/update-name.md +++ b/docs/examples/1.1.x/client-apple/examples/account/update-name.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) let account = try await account.updateName( diff --git a/docs/examples/1.1.x/client-apple/examples/account/update-password.md b/docs/examples/1.1.x/client-apple/examples/account/update-password.md index 57fe030453..2fb6c6dc04 100644 --- a/docs/examples/1.1.x/client-apple/examples/account/update-password.md +++ b/docs/examples/1.1.x/client-apple/examples/account/update-password.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) let account = try await account.updatePassword( diff --git a/docs/examples/1.1.x/client-apple/examples/account/update-phone-session.md b/docs/examples/1.1.x/client-apple/examples/account/update-phone-session.md index 9d6261ad3b..95348df62c 100644 --- a/docs/examples/1.1.x/client-apple/examples/account/update-phone-session.md +++ b/docs/examples/1.1.x/client-apple/examples/account/update-phone-session.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) let session = try await account.updatePhoneSession( diff --git a/docs/examples/1.1.x/client-apple/examples/account/update-phone-verification.md b/docs/examples/1.1.x/client-apple/examples/account/update-phone-verification.md index 9aeabe8992..ae7f5b69e5 100644 --- a/docs/examples/1.1.x/client-apple/examples/account/update-phone-verification.md +++ b/docs/examples/1.1.x/client-apple/examples/account/update-phone-verification.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) let token = try await account.updatePhoneVerification( diff --git a/docs/examples/1.1.x/client-apple/examples/account/update-phone.md b/docs/examples/1.1.x/client-apple/examples/account/update-phone.md index 0cb3af54ea..7f3654e265 100644 --- a/docs/examples/1.1.x/client-apple/examples/account/update-phone.md +++ b/docs/examples/1.1.x/client-apple/examples/account/update-phone.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) let account = try await account.updatePhone( diff --git a/docs/examples/1.1.x/client-apple/examples/account/update-prefs.md b/docs/examples/1.1.x/client-apple/examples/account/update-prefs.md index 2677743d53..0f4b396a8e 100644 --- a/docs/examples/1.1.x/client-apple/examples/account/update-prefs.md +++ b/docs/examples/1.1.x/client-apple/examples/account/update-prefs.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) let account = try await account.updatePrefs( diff --git a/docs/examples/1.1.x/client-apple/examples/account/update-recovery.md b/docs/examples/1.1.x/client-apple/examples/account/update-recovery.md index f462fb2052..d3f46e8c79 100644 --- a/docs/examples/1.1.x/client-apple/examples/account/update-recovery.md +++ b/docs/examples/1.1.x/client-apple/examples/account/update-recovery.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) let token = try await account.updateRecovery( diff --git a/docs/examples/1.1.x/client-apple/examples/account/update-session.md b/docs/examples/1.1.x/client-apple/examples/account/update-session.md index a4514cbf4f..0c86ee357b 100644 --- a/docs/examples/1.1.x/client-apple/examples/account/update-session.md +++ b/docs/examples/1.1.x/client-apple/examples/account/update-session.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) let session = try await account.updateSession( diff --git a/docs/examples/1.1.x/client-apple/examples/account/update-status.md b/docs/examples/1.1.x/client-apple/examples/account/update-status.md index 36b28d82ed..91f005153b 100644 --- a/docs/examples/1.1.x/client-apple/examples/account/update-status.md +++ b/docs/examples/1.1.x/client-apple/examples/account/update-status.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) let account = try await account.updateStatus() diff --git a/docs/examples/1.1.x/client-apple/examples/account/update-verification.md b/docs/examples/1.1.x/client-apple/examples/account/update-verification.md index 9e2938d968..1bdc213654 100644 --- a/docs/examples/1.1.x/client-apple/examples/account/update-verification.md +++ b/docs/examples/1.1.x/client-apple/examples/account/update-verification.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) let token = try await account.updateVerification( diff --git a/docs/examples/1.1.x/client-apple/examples/avatars/get-browser.md b/docs/examples/1.1.x/client-apple/examples/avatars/get-browser.md index 64e856ca2b..8d07de18f0 100644 --- a/docs/examples/1.1.x/client-apple/examples/avatars/get-browser.md +++ b/docs/examples/1.1.x/client-apple/examples/avatars/get-browser.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let avatars = Avatars(client) let byteBuffer = try await avatars.getBrowser( diff --git a/docs/examples/1.1.x/client-apple/examples/avatars/get-credit-card.md b/docs/examples/1.1.x/client-apple/examples/avatars/get-credit-card.md index b138c07ad4..f9b209aed5 100644 --- a/docs/examples/1.1.x/client-apple/examples/avatars/get-credit-card.md +++ b/docs/examples/1.1.x/client-apple/examples/avatars/get-credit-card.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let avatars = Avatars(client) let byteBuffer = try await avatars.getCreditCard( diff --git a/docs/examples/1.1.x/client-apple/examples/avatars/get-favicon.md b/docs/examples/1.1.x/client-apple/examples/avatars/get-favicon.md index 13f0ebee3b..7cb3ecc35e 100644 --- a/docs/examples/1.1.x/client-apple/examples/avatars/get-favicon.md +++ b/docs/examples/1.1.x/client-apple/examples/avatars/get-favicon.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let avatars = Avatars(client) let byteBuffer = try await avatars.getFavicon( diff --git a/docs/examples/1.1.x/client-apple/examples/avatars/get-flag.md b/docs/examples/1.1.x/client-apple/examples/avatars/get-flag.md index 9a4481738e..f8a957d123 100644 --- a/docs/examples/1.1.x/client-apple/examples/avatars/get-flag.md +++ b/docs/examples/1.1.x/client-apple/examples/avatars/get-flag.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let avatars = Avatars(client) let byteBuffer = try await avatars.getFlag( diff --git a/docs/examples/1.1.x/client-apple/examples/avatars/get-image.md b/docs/examples/1.1.x/client-apple/examples/avatars/get-image.md index 72b16230bb..6d8e3cf43b 100644 --- a/docs/examples/1.1.x/client-apple/examples/avatars/get-image.md +++ b/docs/examples/1.1.x/client-apple/examples/avatars/get-image.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let avatars = Avatars(client) let byteBuffer = try await avatars.getImage( diff --git a/docs/examples/1.1.x/client-apple/examples/avatars/get-initials.md b/docs/examples/1.1.x/client-apple/examples/avatars/get-initials.md index e72da226a0..518a0f169b 100644 --- a/docs/examples/1.1.x/client-apple/examples/avatars/get-initials.md +++ b/docs/examples/1.1.x/client-apple/examples/avatars/get-initials.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let avatars = Avatars(client) let byteBuffer = try await avatars.getInitials() diff --git a/docs/examples/1.1.x/client-apple/examples/avatars/get-q-r.md b/docs/examples/1.1.x/client-apple/examples/avatars/get-q-r.md index 68c7bd3cb1..7e48077ddc 100644 --- a/docs/examples/1.1.x/client-apple/examples/avatars/get-q-r.md +++ b/docs/examples/1.1.x/client-apple/examples/avatars/get-q-r.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let avatars = Avatars(client) let byteBuffer = try await avatars.getQR( diff --git a/docs/examples/1.1.x/client-apple/examples/databases/create-document.md b/docs/examples/1.1.x/client-apple/examples/databases/create-document.md index 5980887c48..2ecab8695e 100644 --- a/docs/examples/1.1.x/client-apple/examples/databases/create-document.md +++ b/docs/examples/1.1.x/client-apple/examples/databases/create-document.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let databases = Databases(client) let document = try await databases.createDocument( diff --git a/docs/examples/1.1.x/client-apple/examples/databases/delete-document.md b/docs/examples/1.1.x/client-apple/examples/databases/delete-document.md index 0f75b7a92d..2170f5ede1 100644 --- a/docs/examples/1.1.x/client-apple/examples/databases/delete-document.md +++ b/docs/examples/1.1.x/client-apple/examples/databases/delete-document.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let databases = Databases(client) let result = try await databases.deleteDocument( diff --git a/docs/examples/1.1.x/client-apple/examples/databases/get-document.md b/docs/examples/1.1.x/client-apple/examples/databases/get-document.md index 14e40cb617..c9728cf4b7 100644 --- a/docs/examples/1.1.x/client-apple/examples/databases/get-document.md +++ b/docs/examples/1.1.x/client-apple/examples/databases/get-document.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let databases = Databases(client) let document = try await databases.getDocument( diff --git a/docs/examples/1.1.x/client-apple/examples/databases/list-documents.md b/docs/examples/1.1.x/client-apple/examples/databases/list-documents.md index 83e925c580..71c97c46e0 100644 --- a/docs/examples/1.1.x/client-apple/examples/databases/list-documents.md +++ b/docs/examples/1.1.x/client-apple/examples/databases/list-documents.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let databases = Databases(client) let documentList = try await databases.listDocuments( diff --git a/docs/examples/1.1.x/client-apple/examples/databases/update-document.md b/docs/examples/1.1.x/client-apple/examples/databases/update-document.md index cf9c3f9830..f25c25c395 100644 --- a/docs/examples/1.1.x/client-apple/examples/databases/update-document.md +++ b/docs/examples/1.1.x/client-apple/examples/databases/update-document.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let databases = Databases(client) let document = try await databases.updateDocument( diff --git a/docs/examples/1.1.x/client-apple/examples/functions/create-execution.md b/docs/examples/1.1.x/client-apple/examples/functions/create-execution.md index 14ffedda8a..b8bf7d8a8f 100644 --- a/docs/examples/1.1.x/client-apple/examples/functions/create-execution.md +++ b/docs/examples/1.1.x/client-apple/examples/functions/create-execution.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let functions = Functions(client) let execution = try await functions.createExecution( diff --git a/docs/examples/1.1.x/client-apple/examples/functions/get-execution.md b/docs/examples/1.1.x/client-apple/examples/functions/get-execution.md index 76383cf16a..4a96e8e4eb 100644 --- a/docs/examples/1.1.x/client-apple/examples/functions/get-execution.md +++ b/docs/examples/1.1.x/client-apple/examples/functions/get-execution.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let functions = Functions(client) let execution = try await functions.getExecution( diff --git a/docs/examples/1.1.x/client-apple/examples/functions/list-executions.md b/docs/examples/1.1.x/client-apple/examples/functions/list-executions.md index d1b988d3ff..84697abcdf 100644 --- a/docs/examples/1.1.x/client-apple/examples/functions/list-executions.md +++ b/docs/examples/1.1.x/client-apple/examples/functions/list-executions.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let functions = Functions(client) let executionList = try await functions.listExecutions( diff --git a/docs/examples/1.1.x/client-apple/examples/locale/get.md b/docs/examples/1.1.x/client-apple/examples/locale/get.md index 69ddcb1919..3abe976fbc 100644 --- a/docs/examples/1.1.x/client-apple/examples/locale/get.md +++ b/docs/examples/1.1.x/client-apple/examples/locale/get.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let locale = Locale(client) let locale = try await locale.get() diff --git a/docs/examples/1.1.x/client-apple/examples/locale/list-continents.md b/docs/examples/1.1.x/client-apple/examples/locale/list-continents.md index 4430d3760f..afd6a9d6b4 100644 --- a/docs/examples/1.1.x/client-apple/examples/locale/list-continents.md +++ b/docs/examples/1.1.x/client-apple/examples/locale/list-continents.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let locale = Locale(client) let continentList = try await locale.listContinents() diff --git a/docs/examples/1.1.x/client-apple/examples/locale/list-countries-e-u.md b/docs/examples/1.1.x/client-apple/examples/locale/list-countries-e-u.md index 710fae830c..43502702eb 100644 --- a/docs/examples/1.1.x/client-apple/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.1.x/client-apple/examples/locale/list-countries-e-u.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let locale = Locale(client) let countryList = try await locale.listCountriesEU() diff --git a/docs/examples/1.1.x/client-apple/examples/locale/list-countries-phones.md b/docs/examples/1.1.x/client-apple/examples/locale/list-countries-phones.md index ed41b8a661..07b9e07014 100644 --- a/docs/examples/1.1.x/client-apple/examples/locale/list-countries-phones.md +++ b/docs/examples/1.1.x/client-apple/examples/locale/list-countries-phones.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let locale = Locale(client) let phoneList = try await locale.listCountriesPhones() diff --git a/docs/examples/1.1.x/client-apple/examples/locale/list-countries.md b/docs/examples/1.1.x/client-apple/examples/locale/list-countries.md index 96dcc55279..9b4b3923cb 100644 --- a/docs/examples/1.1.x/client-apple/examples/locale/list-countries.md +++ b/docs/examples/1.1.x/client-apple/examples/locale/list-countries.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let locale = Locale(client) let countryList = try await locale.listCountries() diff --git a/docs/examples/1.1.x/client-apple/examples/locale/list-currencies.md b/docs/examples/1.1.x/client-apple/examples/locale/list-currencies.md index 16bde9f3cb..340494023e 100644 --- a/docs/examples/1.1.x/client-apple/examples/locale/list-currencies.md +++ b/docs/examples/1.1.x/client-apple/examples/locale/list-currencies.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let locale = Locale(client) let currencyList = try await locale.listCurrencies() diff --git a/docs/examples/1.1.x/client-apple/examples/locale/list-languages.md b/docs/examples/1.1.x/client-apple/examples/locale/list-languages.md index 74092a302a..18f4e953ab 100644 --- a/docs/examples/1.1.x/client-apple/examples/locale/list-languages.md +++ b/docs/examples/1.1.x/client-apple/examples/locale/list-languages.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let locale = Locale(client) let languageList = try await locale.listLanguages() diff --git a/docs/examples/1.1.x/client-apple/examples/storage/create-file.md b/docs/examples/1.1.x/client-apple/examples/storage/create-file.md index 5be0f44324..35f8cfe899 100644 --- a/docs/examples/1.1.x/client-apple/examples/storage/create-file.md +++ b/docs/examples/1.1.x/client-apple/examples/storage/create-file.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let storage = Storage(client) let file = try await storage.createFile( diff --git a/docs/examples/1.1.x/client-apple/examples/storage/delete-file.md b/docs/examples/1.1.x/client-apple/examples/storage/delete-file.md index 1497fa4bc1..134b7244cb 100644 --- a/docs/examples/1.1.x/client-apple/examples/storage/delete-file.md +++ b/docs/examples/1.1.x/client-apple/examples/storage/delete-file.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let storage = Storage(client) let result = try await storage.deleteFile( diff --git a/docs/examples/1.1.x/client-apple/examples/storage/get-file-download.md b/docs/examples/1.1.x/client-apple/examples/storage/get-file-download.md index 5c8b8c10bd..00b888704b 100644 --- a/docs/examples/1.1.x/client-apple/examples/storage/get-file-download.md +++ b/docs/examples/1.1.x/client-apple/examples/storage/get-file-download.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let storage = Storage(client) let byteBuffer = try await storage.getFileDownload( diff --git a/docs/examples/1.1.x/client-apple/examples/storage/get-file-preview.md b/docs/examples/1.1.x/client-apple/examples/storage/get-file-preview.md index 83700b7de3..ea4179ed5e 100644 --- a/docs/examples/1.1.x/client-apple/examples/storage/get-file-preview.md +++ b/docs/examples/1.1.x/client-apple/examples/storage/get-file-preview.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let storage = Storage(client) let byteBuffer = try await storage.getFilePreview( diff --git a/docs/examples/1.1.x/client-apple/examples/storage/get-file-view.md b/docs/examples/1.1.x/client-apple/examples/storage/get-file-view.md index 304889a7ca..998a8e7deb 100644 --- a/docs/examples/1.1.x/client-apple/examples/storage/get-file-view.md +++ b/docs/examples/1.1.x/client-apple/examples/storage/get-file-view.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let storage = Storage(client) let byteBuffer = try await storage.getFileView( diff --git a/docs/examples/1.1.x/client-apple/examples/storage/get-file.md b/docs/examples/1.1.x/client-apple/examples/storage/get-file.md index 345e81a31e..c6ca3aaa05 100644 --- a/docs/examples/1.1.x/client-apple/examples/storage/get-file.md +++ b/docs/examples/1.1.x/client-apple/examples/storage/get-file.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let storage = Storage(client) let file = try await storage.getFile( diff --git a/docs/examples/1.1.x/client-apple/examples/storage/list-files.md b/docs/examples/1.1.x/client-apple/examples/storage/list-files.md index cf88257123..254223a506 100644 --- a/docs/examples/1.1.x/client-apple/examples/storage/list-files.md +++ b/docs/examples/1.1.x/client-apple/examples/storage/list-files.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let storage = Storage(client) let fileList = try await storage.listFiles( diff --git a/docs/examples/1.1.x/client-apple/examples/storage/update-file.md b/docs/examples/1.1.x/client-apple/examples/storage/update-file.md index e93fd0bf4e..281aeffdec 100644 --- a/docs/examples/1.1.x/client-apple/examples/storage/update-file.md +++ b/docs/examples/1.1.x/client-apple/examples/storage/update-file.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let storage = Storage(client) let file = try await storage.updateFile( diff --git a/docs/examples/1.1.x/client-apple/examples/teams/create-membership.md b/docs/examples/1.1.x/client-apple/examples/teams/create-membership.md index 988e7984ab..268c6da6fe 100644 --- a/docs/examples/1.1.x/client-apple/examples/teams/create-membership.md +++ b/docs/examples/1.1.x/client-apple/examples/teams/create-membership.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) let membership = try await teams.createMembership( diff --git a/docs/examples/1.1.x/client-apple/examples/teams/create.md b/docs/examples/1.1.x/client-apple/examples/teams/create.md index c9a2dbc015..9ccf45ab3d 100644 --- a/docs/examples/1.1.x/client-apple/examples/teams/create.md +++ b/docs/examples/1.1.x/client-apple/examples/teams/create.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) let team = try await teams.create( diff --git a/docs/examples/1.1.x/client-apple/examples/teams/delete-membership.md b/docs/examples/1.1.x/client-apple/examples/teams/delete-membership.md index c36537dc78..3db0f5ef03 100644 --- a/docs/examples/1.1.x/client-apple/examples/teams/delete-membership.md +++ b/docs/examples/1.1.x/client-apple/examples/teams/delete-membership.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) let result = try await teams.deleteMembership( diff --git a/docs/examples/1.1.x/client-apple/examples/teams/delete.md b/docs/examples/1.1.x/client-apple/examples/teams/delete.md index 49d366580d..f5c40d7bf2 100644 --- a/docs/examples/1.1.x/client-apple/examples/teams/delete.md +++ b/docs/examples/1.1.x/client-apple/examples/teams/delete.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) let result = try await teams.delete( diff --git a/docs/examples/1.1.x/client-apple/examples/teams/get-membership.md b/docs/examples/1.1.x/client-apple/examples/teams/get-membership.md index 8c8d747bc3..f8563fb604 100644 --- a/docs/examples/1.1.x/client-apple/examples/teams/get-membership.md +++ b/docs/examples/1.1.x/client-apple/examples/teams/get-membership.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) let membership = try await teams.getMembership( diff --git a/docs/examples/1.1.x/client-apple/examples/teams/get.md b/docs/examples/1.1.x/client-apple/examples/teams/get.md index 96c87c9bcd..2e50bd3394 100644 --- a/docs/examples/1.1.x/client-apple/examples/teams/get.md +++ b/docs/examples/1.1.x/client-apple/examples/teams/get.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) let team = try await teams.get( diff --git a/docs/examples/1.1.x/client-apple/examples/teams/list-memberships.md b/docs/examples/1.1.x/client-apple/examples/teams/list-memberships.md index 0dce9eb4d9..171699e520 100644 --- a/docs/examples/1.1.x/client-apple/examples/teams/list-memberships.md +++ b/docs/examples/1.1.x/client-apple/examples/teams/list-memberships.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) let membershipList = try await teams.listMemberships( diff --git a/docs/examples/1.1.x/client-apple/examples/teams/list.md b/docs/examples/1.1.x/client-apple/examples/teams/list.md index 1a5299f461..38de89bd41 100644 --- a/docs/examples/1.1.x/client-apple/examples/teams/list.md +++ b/docs/examples/1.1.x/client-apple/examples/teams/list.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) let teamList = try await teams.list() diff --git a/docs/examples/1.1.x/client-apple/examples/teams/update-membership-roles.md b/docs/examples/1.1.x/client-apple/examples/teams/update-membership-roles.md index 066374a4a0..284714f98d 100644 --- a/docs/examples/1.1.x/client-apple/examples/teams/update-membership-roles.md +++ b/docs/examples/1.1.x/client-apple/examples/teams/update-membership-roles.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) let membership = try await teams.updateMembershipRoles( diff --git a/docs/examples/1.1.x/client-apple/examples/teams/update-membership-status.md b/docs/examples/1.1.x/client-apple/examples/teams/update-membership-status.md index b465560259..c76900c510 100644 --- a/docs/examples/1.1.x/client-apple/examples/teams/update-membership-status.md +++ b/docs/examples/1.1.x/client-apple/examples/teams/update-membership-status.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) let membership = try await teams.updateMembershipStatus( diff --git a/docs/examples/1.1.x/client-apple/examples/teams/update.md b/docs/examples/1.1.x/client-apple/examples/teams/update.md index 2f8088fc03..139594f7aa 100644 --- a/docs/examples/1.1.x/client-apple/examples/teams/update.md +++ b/docs/examples/1.1.x/client-apple/examples/teams/update.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) let team = try await teams.update( diff --git a/docs/examples/1.1.x/client-flutter/examples/account/create-anonymous-session.md b/docs/examples/1.1.x/client-flutter/examples/account/create-anonymous-session.md index 2f3e7a606c..58b707f3c9 100644 --- a/docs/examples/1.1.x/client-flutter/examples/account/create-anonymous-session.md +++ b/docs/examples/1.1.x/client-flutter/examples/account/create-anonymous-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createAnonymousSession(); diff --git a/docs/examples/1.1.x/client-flutter/examples/account/create-email-session.md b/docs/examples/1.1.x/client-flutter/examples/account/create-email-session.md index 52b6b91f19..c76c2a6e93 100644 --- a/docs/examples/1.1.x/client-flutter/examples/account/create-email-session.md +++ b/docs/examples/1.1.x/client-flutter/examples/account/create-email-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createEmailSession( diff --git a/docs/examples/1.1.x/client-flutter/examples/account/create-j-w-t.md b/docs/examples/1.1.x/client-flutter/examples/account/create-j-w-t.md index c4a61f7c34..8cee6bc69e 100644 --- a/docs/examples/1.1.x/client-flutter/examples/account/create-j-w-t.md +++ b/docs/examples/1.1.x/client-flutter/examples/account/create-j-w-t.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createJWT(); diff --git a/docs/examples/1.1.x/client-flutter/examples/account/create-magic-u-r-l-session.md b/docs/examples/1.1.x/client-flutter/examples/account/create-magic-u-r-l-session.md index d1b89bf176..e8e3732914 100644 --- a/docs/examples/1.1.x/client-flutter/examples/account/create-magic-u-r-l-session.md +++ b/docs/examples/1.1.x/client-flutter/examples/account/create-magic-u-r-l-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createMagicURLSession( diff --git a/docs/examples/1.1.x/client-flutter/examples/account/create-o-auth2session.md b/docs/examples/1.1.x/client-flutter/examples/account/create-o-auth2session.md index e985a92ae0..5d627a1451 100644 --- a/docs/examples/1.1.x/client-flutter/examples/account/create-o-auth2session.md +++ b/docs/examples/1.1.x/client-flutter/examples/account/create-o-auth2session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createOAuth2Session( diff --git a/docs/examples/1.1.x/client-flutter/examples/account/create-phone-session.md b/docs/examples/1.1.x/client-flutter/examples/account/create-phone-session.md index fcb705c938..c54c0f2397 100644 --- a/docs/examples/1.1.x/client-flutter/examples/account/create-phone-session.md +++ b/docs/examples/1.1.x/client-flutter/examples/account/create-phone-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createPhoneSession( diff --git a/docs/examples/1.1.x/client-flutter/examples/account/create-phone-verification.md b/docs/examples/1.1.x/client-flutter/examples/account/create-phone-verification.md index 76e724d829..23ee2fd588 100644 --- a/docs/examples/1.1.x/client-flutter/examples/account/create-phone-verification.md +++ b/docs/examples/1.1.x/client-flutter/examples/account/create-phone-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createPhoneVerification(); diff --git a/docs/examples/1.1.x/client-flutter/examples/account/create-recovery.md b/docs/examples/1.1.x/client-flutter/examples/account/create-recovery.md index 361a9f0459..d011eef2a3 100644 --- a/docs/examples/1.1.x/client-flutter/examples/account/create-recovery.md +++ b/docs/examples/1.1.x/client-flutter/examples/account/create-recovery.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createRecovery( diff --git a/docs/examples/1.1.x/client-flutter/examples/account/create-verification.md b/docs/examples/1.1.x/client-flutter/examples/account/create-verification.md index d66c3b1a0a..565033b9a8 100644 --- a/docs/examples/1.1.x/client-flutter/examples/account/create-verification.md +++ b/docs/examples/1.1.x/client-flutter/examples/account/create-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createVerification( diff --git a/docs/examples/1.1.x/client-flutter/examples/account/create.md b/docs/examples/1.1.x/client-flutter/examples/account/create.md index 501034aa7f..f54f047431 100644 --- a/docs/examples/1.1.x/client-flutter/examples/account/create.md +++ b/docs/examples/1.1.x/client-flutter/examples/account/create.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.create( diff --git a/docs/examples/1.1.x/client-flutter/examples/account/delete-session.md b/docs/examples/1.1.x/client-flutter/examples/account/delete-session.md index 9146561070..9e381a2fa3 100644 --- a/docs/examples/1.1.x/client-flutter/examples/account/delete-session.md +++ b/docs/examples/1.1.x/client-flutter/examples/account/delete-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.deleteSession( diff --git a/docs/examples/1.1.x/client-flutter/examples/account/delete-sessions.md b/docs/examples/1.1.x/client-flutter/examples/account/delete-sessions.md index 4963de4442..27b06b6104 100644 --- a/docs/examples/1.1.x/client-flutter/examples/account/delete-sessions.md +++ b/docs/examples/1.1.x/client-flutter/examples/account/delete-sessions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.deleteSessions(); diff --git a/docs/examples/1.1.x/client-flutter/examples/account/get-prefs.md b/docs/examples/1.1.x/client-flutter/examples/account/get-prefs.md index 81eb802d03..919b50be88 100644 --- a/docs/examples/1.1.x/client-flutter/examples/account/get-prefs.md +++ b/docs/examples/1.1.x/client-flutter/examples/account/get-prefs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.getPrefs(); diff --git a/docs/examples/1.1.x/client-flutter/examples/account/get-session.md b/docs/examples/1.1.x/client-flutter/examples/account/get-session.md index 9e0f66ca3f..ac8c35b8f5 100644 --- a/docs/examples/1.1.x/client-flutter/examples/account/get-session.md +++ b/docs/examples/1.1.x/client-flutter/examples/account/get-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.getSession( diff --git a/docs/examples/1.1.x/client-flutter/examples/account/get.md b/docs/examples/1.1.x/client-flutter/examples/account/get.md index 21192de279..4bcc080dee 100644 --- a/docs/examples/1.1.x/client-flutter/examples/account/get.md +++ b/docs/examples/1.1.x/client-flutter/examples/account/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.get(); diff --git a/docs/examples/1.1.x/client-flutter/examples/account/list-logs.md b/docs/examples/1.1.x/client-flutter/examples/account/list-logs.md index 9f7088a0d8..6d793c947d 100644 --- a/docs/examples/1.1.x/client-flutter/examples/account/list-logs.md +++ b/docs/examples/1.1.x/client-flutter/examples/account/list-logs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.listLogs( diff --git a/docs/examples/1.1.x/client-flutter/examples/account/list-sessions.md b/docs/examples/1.1.x/client-flutter/examples/account/list-sessions.md index 6f2d5dc18d..3656fca1a1 100644 --- a/docs/examples/1.1.x/client-flutter/examples/account/list-sessions.md +++ b/docs/examples/1.1.x/client-flutter/examples/account/list-sessions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.listSessions(); diff --git a/docs/examples/1.1.x/client-flutter/examples/account/update-email.md b/docs/examples/1.1.x/client-flutter/examples/account/update-email.md index 1fb9a3fe7a..2383c8e0de 100644 --- a/docs/examples/1.1.x/client-flutter/examples/account/update-email.md +++ b/docs/examples/1.1.x/client-flutter/examples/account/update-email.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updateEmail( diff --git a/docs/examples/1.1.x/client-flutter/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.1.x/client-flutter/examples/account/update-magic-u-r-l-session.md index 3c7ef8f0f2..0dff3be5bf 100644 --- a/docs/examples/1.1.x/client-flutter/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.1.x/client-flutter/examples/account/update-magic-u-r-l-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updateMagicURLSession( diff --git a/docs/examples/1.1.x/client-flutter/examples/account/update-name.md b/docs/examples/1.1.x/client-flutter/examples/account/update-name.md index ae5d6235d1..4d674ec006 100644 --- a/docs/examples/1.1.x/client-flutter/examples/account/update-name.md +++ b/docs/examples/1.1.x/client-flutter/examples/account/update-name.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updateName( diff --git a/docs/examples/1.1.x/client-flutter/examples/account/update-password.md b/docs/examples/1.1.x/client-flutter/examples/account/update-password.md index fc4e7611df..a19d697e21 100644 --- a/docs/examples/1.1.x/client-flutter/examples/account/update-password.md +++ b/docs/examples/1.1.x/client-flutter/examples/account/update-password.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updatePassword( diff --git a/docs/examples/1.1.x/client-flutter/examples/account/update-phone-session.md b/docs/examples/1.1.x/client-flutter/examples/account/update-phone-session.md index 1f979265b5..dc6c8eb893 100644 --- a/docs/examples/1.1.x/client-flutter/examples/account/update-phone-session.md +++ b/docs/examples/1.1.x/client-flutter/examples/account/update-phone-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updatePhoneSession( diff --git a/docs/examples/1.1.x/client-flutter/examples/account/update-phone-verification.md b/docs/examples/1.1.x/client-flutter/examples/account/update-phone-verification.md index 86d9b0fdfc..a7acf71661 100644 --- a/docs/examples/1.1.x/client-flutter/examples/account/update-phone-verification.md +++ b/docs/examples/1.1.x/client-flutter/examples/account/update-phone-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updatePhoneVerification( diff --git a/docs/examples/1.1.x/client-flutter/examples/account/update-phone.md b/docs/examples/1.1.x/client-flutter/examples/account/update-phone.md index edfe47850b..642ead4405 100644 --- a/docs/examples/1.1.x/client-flutter/examples/account/update-phone.md +++ b/docs/examples/1.1.x/client-flutter/examples/account/update-phone.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updatePhone( diff --git a/docs/examples/1.1.x/client-flutter/examples/account/update-prefs.md b/docs/examples/1.1.x/client-flutter/examples/account/update-prefs.md index 9769708147..d37013d80a 100644 --- a/docs/examples/1.1.x/client-flutter/examples/account/update-prefs.md +++ b/docs/examples/1.1.x/client-flutter/examples/account/update-prefs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updatePrefs( diff --git a/docs/examples/1.1.x/client-flutter/examples/account/update-recovery.md b/docs/examples/1.1.x/client-flutter/examples/account/update-recovery.md index f499b18770..ce9c8b5e8e 100644 --- a/docs/examples/1.1.x/client-flutter/examples/account/update-recovery.md +++ b/docs/examples/1.1.x/client-flutter/examples/account/update-recovery.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updateRecovery( diff --git a/docs/examples/1.1.x/client-flutter/examples/account/update-session.md b/docs/examples/1.1.x/client-flutter/examples/account/update-session.md index fb1afcc526..a6e1924e05 100644 --- a/docs/examples/1.1.x/client-flutter/examples/account/update-session.md +++ b/docs/examples/1.1.x/client-flutter/examples/account/update-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updateSession( diff --git a/docs/examples/1.1.x/client-flutter/examples/account/update-status.md b/docs/examples/1.1.x/client-flutter/examples/account/update-status.md index 8e734647fb..521101c429 100644 --- a/docs/examples/1.1.x/client-flutter/examples/account/update-status.md +++ b/docs/examples/1.1.x/client-flutter/examples/account/update-status.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updateStatus(); diff --git a/docs/examples/1.1.x/client-flutter/examples/account/update-verification.md b/docs/examples/1.1.x/client-flutter/examples/account/update-verification.md index fba8ed65bb..1be9f728f7 100644 --- a/docs/examples/1.1.x/client-flutter/examples/account/update-verification.md +++ b/docs/examples/1.1.x/client-flutter/examples/account/update-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updateVerification( diff --git a/docs/examples/1.1.x/client-flutter/examples/avatars/get-browser.md b/docs/examples/1.1.x/client-flutter/examples/avatars/get-browser.md index 70af56659b..5ca9106c01 100644 --- a/docs/examples/1.1.x/client-flutter/examples/avatars/get-browser.md +++ b/docs/examples/1.1.x/client-flutter/examples/avatars/get-browser.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.1.x/client-flutter/examples/avatars/get-credit-card.md b/docs/examples/1.1.x/client-flutter/examples/avatars/get-credit-card.md index 6a29dc8173..30485827a1 100644 --- a/docs/examples/1.1.x/client-flutter/examples/avatars/get-credit-card.md +++ b/docs/examples/1.1.x/client-flutter/examples/avatars/get-credit-card.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.1.x/client-flutter/examples/avatars/get-favicon.md b/docs/examples/1.1.x/client-flutter/examples/avatars/get-favicon.md index 2da0f2e056..769a873c84 100644 --- a/docs/examples/1.1.x/client-flutter/examples/avatars/get-favicon.md +++ b/docs/examples/1.1.x/client-flutter/examples/avatars/get-favicon.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.1.x/client-flutter/examples/avatars/get-flag.md b/docs/examples/1.1.x/client-flutter/examples/avatars/get-flag.md index 13367885d0..b8c3ea84d7 100644 --- a/docs/examples/1.1.x/client-flutter/examples/avatars/get-flag.md +++ b/docs/examples/1.1.x/client-flutter/examples/avatars/get-flag.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.1.x/client-flutter/examples/avatars/get-image.md b/docs/examples/1.1.x/client-flutter/examples/avatars/get-image.md index debbf1e290..a90045f78d 100644 --- a/docs/examples/1.1.x/client-flutter/examples/avatars/get-image.md +++ b/docs/examples/1.1.x/client-flutter/examples/avatars/get-image.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.1.x/client-flutter/examples/avatars/get-initials.md b/docs/examples/1.1.x/client-flutter/examples/avatars/get-initials.md index b0f49c6213..dc08dda981 100644 --- a/docs/examples/1.1.x/client-flutter/examples/avatars/get-initials.md +++ b/docs/examples/1.1.x/client-flutter/examples/avatars/get-initials.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.1.x/client-flutter/examples/avatars/get-q-r.md b/docs/examples/1.1.x/client-flutter/examples/avatars/get-q-r.md index 8df729379e..4217e4395a 100644 --- a/docs/examples/1.1.x/client-flutter/examples/avatars/get-q-r.md +++ b/docs/examples/1.1.x/client-flutter/examples/avatars/get-q-r.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.1.x/client-flutter/examples/databases/create-document.md b/docs/examples/1.1.x/client-flutter/examples/databases/create-document.md index 6a031738d5..5eabc3fb99 100644 --- a/docs/examples/1.1.x/client-flutter/examples/databases/create-document.md +++ b/docs/examples/1.1.x/client-flutter/examples/databases/create-document.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = databases.createDocument( diff --git a/docs/examples/1.1.x/client-flutter/examples/databases/delete-document.md b/docs/examples/1.1.x/client-flutter/examples/databases/delete-document.md index a377b02747..d883d08655 100644 --- a/docs/examples/1.1.x/client-flutter/examples/databases/delete-document.md +++ b/docs/examples/1.1.x/client-flutter/examples/databases/delete-document.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = databases.deleteDocument( diff --git a/docs/examples/1.1.x/client-flutter/examples/databases/get-document.md b/docs/examples/1.1.x/client-flutter/examples/databases/get-document.md index b2cf89a3fc..f03d2589b9 100644 --- a/docs/examples/1.1.x/client-flutter/examples/databases/get-document.md +++ b/docs/examples/1.1.x/client-flutter/examples/databases/get-document.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = databases.getDocument( diff --git a/docs/examples/1.1.x/client-flutter/examples/databases/list-documents.md b/docs/examples/1.1.x/client-flutter/examples/databases/list-documents.md index 4cd69e301a..d996d2bcfd 100644 --- a/docs/examples/1.1.x/client-flutter/examples/databases/list-documents.md +++ b/docs/examples/1.1.x/client-flutter/examples/databases/list-documents.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = databases.listDocuments( diff --git a/docs/examples/1.1.x/client-flutter/examples/databases/update-document.md b/docs/examples/1.1.x/client-flutter/examples/databases/update-document.md index 595099bcb1..79e5490aff 100644 --- a/docs/examples/1.1.x/client-flutter/examples/databases/update-document.md +++ b/docs/examples/1.1.x/client-flutter/examples/databases/update-document.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = databases.updateDocument( diff --git a/docs/examples/1.1.x/client-flutter/examples/functions/create-execution.md b/docs/examples/1.1.x/client-flutter/examples/functions/create-execution.md index b188c32f47..bb9feb3442 100644 --- a/docs/examples/1.1.x/client-flutter/examples/functions/create-execution.md +++ b/docs/examples/1.1.x/client-flutter/examples/functions/create-execution.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = functions.createExecution( diff --git a/docs/examples/1.1.x/client-flutter/examples/functions/get-execution.md b/docs/examples/1.1.x/client-flutter/examples/functions/get-execution.md index f30b4b4495..76a1392586 100644 --- a/docs/examples/1.1.x/client-flutter/examples/functions/get-execution.md +++ b/docs/examples/1.1.x/client-flutter/examples/functions/get-execution.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = functions.getExecution( diff --git a/docs/examples/1.1.x/client-flutter/examples/functions/list-executions.md b/docs/examples/1.1.x/client-flutter/examples/functions/list-executions.md index 1840f50d7f..4f363e7e82 100644 --- a/docs/examples/1.1.x/client-flutter/examples/functions/list-executions.md +++ b/docs/examples/1.1.x/client-flutter/examples/functions/list-executions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = functions.listExecutions( diff --git a/docs/examples/1.1.x/client-flutter/examples/locale/get.md b/docs/examples/1.1.x/client-flutter/examples/locale/get.md index 9e9fa96b22..565253d950 100644 --- a/docs/examples/1.1.x/client-flutter/examples/locale/get.md +++ b/docs/examples/1.1.x/client-flutter/examples/locale/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = locale.get(); diff --git a/docs/examples/1.1.x/client-flutter/examples/locale/list-continents.md b/docs/examples/1.1.x/client-flutter/examples/locale/list-continents.md index 0ab2a4aba1..cbaa88b3de 100644 --- a/docs/examples/1.1.x/client-flutter/examples/locale/list-continents.md +++ b/docs/examples/1.1.x/client-flutter/examples/locale/list-continents.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = locale.listContinents(); diff --git a/docs/examples/1.1.x/client-flutter/examples/locale/list-countries-e-u.md b/docs/examples/1.1.x/client-flutter/examples/locale/list-countries-e-u.md index caa32e8562..af8da46e9b 100644 --- a/docs/examples/1.1.x/client-flutter/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.1.x/client-flutter/examples/locale/list-countries-e-u.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = locale.listCountriesEU(); diff --git a/docs/examples/1.1.x/client-flutter/examples/locale/list-countries-phones.md b/docs/examples/1.1.x/client-flutter/examples/locale/list-countries-phones.md index b122eee7d4..1b5438b3ca 100644 --- a/docs/examples/1.1.x/client-flutter/examples/locale/list-countries-phones.md +++ b/docs/examples/1.1.x/client-flutter/examples/locale/list-countries-phones.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = locale.listCountriesPhones(); diff --git a/docs/examples/1.1.x/client-flutter/examples/locale/list-countries.md b/docs/examples/1.1.x/client-flutter/examples/locale/list-countries.md index e6a367ddb8..704d35de89 100644 --- a/docs/examples/1.1.x/client-flutter/examples/locale/list-countries.md +++ b/docs/examples/1.1.x/client-flutter/examples/locale/list-countries.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = locale.listCountries(); diff --git a/docs/examples/1.1.x/client-flutter/examples/locale/list-currencies.md b/docs/examples/1.1.x/client-flutter/examples/locale/list-currencies.md index fcd1e825e3..52b6877069 100644 --- a/docs/examples/1.1.x/client-flutter/examples/locale/list-currencies.md +++ b/docs/examples/1.1.x/client-flutter/examples/locale/list-currencies.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = locale.listCurrencies(); diff --git a/docs/examples/1.1.x/client-flutter/examples/locale/list-languages.md b/docs/examples/1.1.x/client-flutter/examples/locale/list-languages.md index 1fb68aa84f..a54c6a1175 100644 --- a/docs/examples/1.1.x/client-flutter/examples/locale/list-languages.md +++ b/docs/examples/1.1.x/client-flutter/examples/locale/list-languages.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = locale.listLanguages(); diff --git a/docs/examples/1.1.x/client-flutter/examples/storage/create-file.md b/docs/examples/1.1.x/client-flutter/examples/storage/create-file.md index 0f5e44f5e8..fc4d327839 100644 --- a/docs/examples/1.1.x/client-flutter/examples/storage/create-file.md +++ b/docs/examples/1.1.x/client-flutter/examples/storage/create-file.md @@ -6,7 +6,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = storage.createFile( diff --git a/docs/examples/1.1.x/client-flutter/examples/storage/delete-file.md b/docs/examples/1.1.x/client-flutter/examples/storage/delete-file.md index 230b73a9ac..79cc9ef48c 100644 --- a/docs/examples/1.1.x/client-flutter/examples/storage/delete-file.md +++ b/docs/examples/1.1.x/client-flutter/examples/storage/delete-file.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = storage.deleteFile( diff --git a/docs/examples/1.1.x/client-flutter/examples/storage/get-file-download.md b/docs/examples/1.1.x/client-flutter/examples/storage/get-file-download.md index 883b7d69c4..cae5218c3a 100644 --- a/docs/examples/1.1.x/client-flutter/examples/storage/get-file-download.md +++ b/docs/examples/1.1.x/client-flutter/examples/storage/get-file-download.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.1.x/client-flutter/examples/storage/get-file-preview.md b/docs/examples/1.1.x/client-flutter/examples/storage/get-file-preview.md index f42138bd03..131630ec66 100644 --- a/docs/examples/1.1.x/client-flutter/examples/storage/get-file-preview.md +++ b/docs/examples/1.1.x/client-flutter/examples/storage/get-file-preview.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.1.x/client-flutter/examples/storage/get-file-view.md b/docs/examples/1.1.x/client-flutter/examples/storage/get-file-view.md index 4f7c4d962b..cfac3ac3b1 100644 --- a/docs/examples/1.1.x/client-flutter/examples/storage/get-file-view.md +++ b/docs/examples/1.1.x/client-flutter/examples/storage/get-file-view.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.1.x/client-flutter/examples/storage/get-file.md b/docs/examples/1.1.x/client-flutter/examples/storage/get-file.md index 681aca41e0..c997612386 100644 --- a/docs/examples/1.1.x/client-flutter/examples/storage/get-file.md +++ b/docs/examples/1.1.x/client-flutter/examples/storage/get-file.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = storage.getFile( diff --git a/docs/examples/1.1.x/client-flutter/examples/storage/list-files.md b/docs/examples/1.1.x/client-flutter/examples/storage/list-files.md index e574f7bdaa..d4d07c1909 100644 --- a/docs/examples/1.1.x/client-flutter/examples/storage/list-files.md +++ b/docs/examples/1.1.x/client-flutter/examples/storage/list-files.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = storage.listFiles( diff --git a/docs/examples/1.1.x/client-flutter/examples/storage/update-file.md b/docs/examples/1.1.x/client-flutter/examples/storage/update-file.md index 1170f05cf3..3d8140f408 100644 --- a/docs/examples/1.1.x/client-flutter/examples/storage/update-file.md +++ b/docs/examples/1.1.x/client-flutter/examples/storage/update-file.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = storage.updateFile( diff --git a/docs/examples/1.1.x/client-flutter/examples/teams/create-membership.md b/docs/examples/1.1.x/client-flutter/examples/teams/create-membership.md index fe54b4acfc..2a11b981c3 100644 --- a/docs/examples/1.1.x/client-flutter/examples/teams/create-membership.md +++ b/docs/examples/1.1.x/client-flutter/examples/teams/create-membership.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.createMembership( diff --git a/docs/examples/1.1.x/client-flutter/examples/teams/create.md b/docs/examples/1.1.x/client-flutter/examples/teams/create.md index bd62ce32ab..772eacc2a9 100644 --- a/docs/examples/1.1.x/client-flutter/examples/teams/create.md +++ b/docs/examples/1.1.x/client-flutter/examples/teams/create.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.create( diff --git a/docs/examples/1.1.x/client-flutter/examples/teams/delete-membership.md b/docs/examples/1.1.x/client-flutter/examples/teams/delete-membership.md index 0febe42121..7bcfaae8e6 100644 --- a/docs/examples/1.1.x/client-flutter/examples/teams/delete-membership.md +++ b/docs/examples/1.1.x/client-flutter/examples/teams/delete-membership.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.deleteMembership( diff --git a/docs/examples/1.1.x/client-flutter/examples/teams/delete.md b/docs/examples/1.1.x/client-flutter/examples/teams/delete.md index b45d971bf6..22fe4e0b44 100644 --- a/docs/examples/1.1.x/client-flutter/examples/teams/delete.md +++ b/docs/examples/1.1.x/client-flutter/examples/teams/delete.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.delete( diff --git a/docs/examples/1.1.x/client-flutter/examples/teams/get-membership.md b/docs/examples/1.1.x/client-flutter/examples/teams/get-membership.md index 28d95a201b..9c7eac46ac 100644 --- a/docs/examples/1.1.x/client-flutter/examples/teams/get-membership.md +++ b/docs/examples/1.1.x/client-flutter/examples/teams/get-membership.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.getMembership( diff --git a/docs/examples/1.1.x/client-flutter/examples/teams/get.md b/docs/examples/1.1.x/client-flutter/examples/teams/get.md index 0ec7027f89..a3d59c10e8 100644 --- a/docs/examples/1.1.x/client-flutter/examples/teams/get.md +++ b/docs/examples/1.1.x/client-flutter/examples/teams/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.get( diff --git a/docs/examples/1.1.x/client-flutter/examples/teams/list-memberships.md b/docs/examples/1.1.x/client-flutter/examples/teams/list-memberships.md index cbbc525dc4..bb2a37df46 100644 --- a/docs/examples/1.1.x/client-flutter/examples/teams/list-memberships.md +++ b/docs/examples/1.1.x/client-flutter/examples/teams/list-memberships.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.listMemberships( diff --git a/docs/examples/1.1.x/client-flutter/examples/teams/list.md b/docs/examples/1.1.x/client-flutter/examples/teams/list.md index 80aa3016c2..41e0136529 100644 --- a/docs/examples/1.1.x/client-flutter/examples/teams/list.md +++ b/docs/examples/1.1.x/client-flutter/examples/teams/list.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.list( diff --git a/docs/examples/1.1.x/client-flutter/examples/teams/update-membership-roles.md b/docs/examples/1.1.x/client-flutter/examples/teams/update-membership-roles.md index 6e96c017e0..c031101d7a 100644 --- a/docs/examples/1.1.x/client-flutter/examples/teams/update-membership-roles.md +++ b/docs/examples/1.1.x/client-flutter/examples/teams/update-membership-roles.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.updateMembershipRoles( diff --git a/docs/examples/1.1.x/client-flutter/examples/teams/update-membership-status.md b/docs/examples/1.1.x/client-flutter/examples/teams/update-membership-status.md index ed31f54b20..65584ff424 100644 --- a/docs/examples/1.1.x/client-flutter/examples/teams/update-membership-status.md +++ b/docs/examples/1.1.x/client-flutter/examples/teams/update-membership-status.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.updateMembershipStatus( diff --git a/docs/examples/1.1.x/client-flutter/examples/teams/update.md b/docs/examples/1.1.x/client-flutter/examples/teams/update.md index 63aa33feb9..5972b9fbda 100644 --- a/docs/examples/1.1.x/client-flutter/examples/teams/update.md +++ b/docs/examples/1.1.x/client-flutter/examples/teams/update.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.update( diff --git a/docs/examples/1.1.x/client-web/examples/account/create-anonymous-session.md b/docs/examples/1.1.x/client-web/examples/account/create-anonymous-session.md index c331fc8863..d107d4a8df 100644 --- a/docs/examples/1.1.x/client-web/examples/account/create-anonymous-session.md +++ b/docs/examples/1.1.x/client-web/examples/account/create-anonymous-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/account/create-email-session.md b/docs/examples/1.1.x/client-web/examples/account/create-email-session.md index 76e2e31665..fc25824dad 100644 --- a/docs/examples/1.1.x/client-web/examples/account/create-email-session.md +++ b/docs/examples/1.1.x/client-web/examples/account/create-email-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/account/create-j-w-t.md b/docs/examples/1.1.x/client-web/examples/account/create-j-w-t.md index f388a3da31..db78c41c3c 100644 --- a/docs/examples/1.1.x/client-web/examples/account/create-j-w-t.md +++ b/docs/examples/1.1.x/client-web/examples/account/create-j-w-t.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/account/create-magic-u-r-l-session.md b/docs/examples/1.1.x/client-web/examples/account/create-magic-u-r-l-session.md index d48f031ded..1179a0efc6 100644 --- a/docs/examples/1.1.x/client-web/examples/account/create-magic-u-r-l-session.md +++ b/docs/examples/1.1.x/client-web/examples/account/create-magic-u-r-l-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/account/create-o-auth2session.md b/docs/examples/1.1.x/client-web/examples/account/create-o-auth2session.md index 3757a1c63f..03b7d2cb48 100644 --- a/docs/examples/1.1.x/client-web/examples/account/create-o-auth2session.md +++ b/docs/examples/1.1.x/client-web/examples/account/create-o-auth2session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/account/create-phone-session.md b/docs/examples/1.1.x/client-web/examples/account/create-phone-session.md index e5a23aafee..53ead8a3f8 100644 --- a/docs/examples/1.1.x/client-web/examples/account/create-phone-session.md +++ b/docs/examples/1.1.x/client-web/examples/account/create-phone-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/account/create-phone-verification.md b/docs/examples/1.1.x/client-web/examples/account/create-phone-verification.md index a1cbd55277..974f94503f 100644 --- a/docs/examples/1.1.x/client-web/examples/account/create-phone-verification.md +++ b/docs/examples/1.1.x/client-web/examples/account/create-phone-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/account/create-recovery.md b/docs/examples/1.1.x/client-web/examples/account/create-recovery.md index 1838c0414c..7030423d2f 100644 --- a/docs/examples/1.1.x/client-web/examples/account/create-recovery.md +++ b/docs/examples/1.1.x/client-web/examples/account/create-recovery.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/account/create-verification.md b/docs/examples/1.1.x/client-web/examples/account/create-verification.md index 4d8446e6ef..6448a72496 100644 --- a/docs/examples/1.1.x/client-web/examples/account/create-verification.md +++ b/docs/examples/1.1.x/client-web/examples/account/create-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/account/create.md b/docs/examples/1.1.x/client-web/examples/account/create.md index 317a0c5265..f452383fed 100644 --- a/docs/examples/1.1.x/client-web/examples/account/create.md +++ b/docs/examples/1.1.x/client-web/examples/account/create.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/account/delete-session.md b/docs/examples/1.1.x/client-web/examples/account/delete-session.md index c342afb2c9..052b78d845 100644 --- a/docs/examples/1.1.x/client-web/examples/account/delete-session.md +++ b/docs/examples/1.1.x/client-web/examples/account/delete-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/account/delete-sessions.md b/docs/examples/1.1.x/client-web/examples/account/delete-sessions.md index 82133e3845..64b1c591d3 100644 --- a/docs/examples/1.1.x/client-web/examples/account/delete-sessions.md +++ b/docs/examples/1.1.x/client-web/examples/account/delete-sessions.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/account/get-prefs.md b/docs/examples/1.1.x/client-web/examples/account/get-prefs.md index b98776fd9d..a02dc51785 100644 --- a/docs/examples/1.1.x/client-web/examples/account/get-prefs.md +++ b/docs/examples/1.1.x/client-web/examples/account/get-prefs.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/account/get-session.md b/docs/examples/1.1.x/client-web/examples/account/get-session.md index 43edd7d08a..21be1738ba 100644 --- a/docs/examples/1.1.x/client-web/examples/account/get-session.md +++ b/docs/examples/1.1.x/client-web/examples/account/get-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/account/get.md b/docs/examples/1.1.x/client-web/examples/account/get.md index 878227f019..539ace69af 100644 --- a/docs/examples/1.1.x/client-web/examples/account/get.md +++ b/docs/examples/1.1.x/client-web/examples/account/get.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/account/list-logs.md b/docs/examples/1.1.x/client-web/examples/account/list-logs.md index d710f7daa3..d26bd396ba 100644 --- a/docs/examples/1.1.x/client-web/examples/account/list-logs.md +++ b/docs/examples/1.1.x/client-web/examples/account/list-logs.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/account/list-sessions.md b/docs/examples/1.1.x/client-web/examples/account/list-sessions.md index ce6ec74862..c5a5625b17 100644 --- a/docs/examples/1.1.x/client-web/examples/account/list-sessions.md +++ b/docs/examples/1.1.x/client-web/examples/account/list-sessions.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/account/update-email.md b/docs/examples/1.1.x/client-web/examples/account/update-email.md index baac3a0ab0..2242db702c 100644 --- a/docs/examples/1.1.x/client-web/examples/account/update-email.md +++ b/docs/examples/1.1.x/client-web/examples/account/update-email.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.1.x/client-web/examples/account/update-magic-u-r-l-session.md index c07fee2b14..70bf5d17da 100644 --- a/docs/examples/1.1.x/client-web/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.1.x/client-web/examples/account/update-magic-u-r-l-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/account/update-name.md b/docs/examples/1.1.x/client-web/examples/account/update-name.md index 4af963d5fc..8ec9bd2395 100644 --- a/docs/examples/1.1.x/client-web/examples/account/update-name.md +++ b/docs/examples/1.1.x/client-web/examples/account/update-name.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/account/update-password.md b/docs/examples/1.1.x/client-web/examples/account/update-password.md index 9cb72c7fde..b5dea9c9eb 100644 --- a/docs/examples/1.1.x/client-web/examples/account/update-password.md +++ b/docs/examples/1.1.x/client-web/examples/account/update-password.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/account/update-phone-session.md b/docs/examples/1.1.x/client-web/examples/account/update-phone-session.md index b3b29481a9..9870627d9f 100644 --- a/docs/examples/1.1.x/client-web/examples/account/update-phone-session.md +++ b/docs/examples/1.1.x/client-web/examples/account/update-phone-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/account/update-phone-verification.md b/docs/examples/1.1.x/client-web/examples/account/update-phone-verification.md index a274c9b07c..912f178814 100644 --- a/docs/examples/1.1.x/client-web/examples/account/update-phone-verification.md +++ b/docs/examples/1.1.x/client-web/examples/account/update-phone-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/account/update-phone.md b/docs/examples/1.1.x/client-web/examples/account/update-phone.md index a1017fc7f4..6ee5eb40e8 100644 --- a/docs/examples/1.1.x/client-web/examples/account/update-phone.md +++ b/docs/examples/1.1.x/client-web/examples/account/update-phone.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/account/update-prefs.md b/docs/examples/1.1.x/client-web/examples/account/update-prefs.md index ecceff3158..3f90dfabd2 100644 --- a/docs/examples/1.1.x/client-web/examples/account/update-prefs.md +++ b/docs/examples/1.1.x/client-web/examples/account/update-prefs.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/account/update-recovery.md b/docs/examples/1.1.x/client-web/examples/account/update-recovery.md index eb78a8a52d..200b993a4c 100644 --- a/docs/examples/1.1.x/client-web/examples/account/update-recovery.md +++ b/docs/examples/1.1.x/client-web/examples/account/update-recovery.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/account/update-session.md b/docs/examples/1.1.x/client-web/examples/account/update-session.md index a7a42c663a..a8c40ebb81 100644 --- a/docs/examples/1.1.x/client-web/examples/account/update-session.md +++ b/docs/examples/1.1.x/client-web/examples/account/update-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/account/update-status.md b/docs/examples/1.1.x/client-web/examples/account/update-status.md index 9cbe78c5c4..d3ac91e7d5 100644 --- a/docs/examples/1.1.x/client-web/examples/account/update-status.md +++ b/docs/examples/1.1.x/client-web/examples/account/update-status.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/account/update-verification.md b/docs/examples/1.1.x/client-web/examples/account/update-verification.md index 73338da4df..404fdd4352 100644 --- a/docs/examples/1.1.x/client-web/examples/account/update-verification.md +++ b/docs/examples/1.1.x/client-web/examples/account/update-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/avatars/get-browser.md b/docs/examples/1.1.x/client-web/examples/avatars/get-browser.md index 0b4c2def00..cf5beeb458 100644 --- a/docs/examples/1.1.x/client-web/examples/avatars/get-browser.md +++ b/docs/examples/1.1.x/client-web/examples/avatars/get-browser.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/avatars/get-credit-card.md b/docs/examples/1.1.x/client-web/examples/avatars/get-credit-card.md index 082ed92b67..3486722f90 100644 --- a/docs/examples/1.1.x/client-web/examples/avatars/get-credit-card.md +++ b/docs/examples/1.1.x/client-web/examples/avatars/get-credit-card.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/avatars/get-favicon.md b/docs/examples/1.1.x/client-web/examples/avatars/get-favicon.md index 7ee6bd3da2..5e0056c888 100644 --- a/docs/examples/1.1.x/client-web/examples/avatars/get-favicon.md +++ b/docs/examples/1.1.x/client-web/examples/avatars/get-favicon.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/avatars/get-flag.md b/docs/examples/1.1.x/client-web/examples/avatars/get-flag.md index a43827a1ae..7e95a5bc13 100644 --- a/docs/examples/1.1.x/client-web/examples/avatars/get-flag.md +++ b/docs/examples/1.1.x/client-web/examples/avatars/get-flag.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/avatars/get-image.md b/docs/examples/1.1.x/client-web/examples/avatars/get-image.md index ea186a1a68..b6d25c7389 100644 --- a/docs/examples/1.1.x/client-web/examples/avatars/get-image.md +++ b/docs/examples/1.1.x/client-web/examples/avatars/get-image.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/avatars/get-initials.md b/docs/examples/1.1.x/client-web/examples/avatars/get-initials.md index 7e8c8ec413..efee82cfab 100644 --- a/docs/examples/1.1.x/client-web/examples/avatars/get-initials.md +++ b/docs/examples/1.1.x/client-web/examples/avatars/get-initials.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/avatars/get-q-r.md b/docs/examples/1.1.x/client-web/examples/avatars/get-q-r.md index b957084aa1..412dff00ea 100644 --- a/docs/examples/1.1.x/client-web/examples/avatars/get-q-r.md +++ b/docs/examples/1.1.x/client-web/examples/avatars/get-q-r.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/databases/create-document.md b/docs/examples/1.1.x/client-web/examples/databases/create-document.md index 92792066ef..a87121baa7 100644 --- a/docs/examples/1.1.x/client-web/examples/databases/create-document.md +++ b/docs/examples/1.1.x/client-web/examples/databases/create-document.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/databases/delete-document.md b/docs/examples/1.1.x/client-web/examples/databases/delete-document.md index 9e281e7166..39f96d4d12 100644 --- a/docs/examples/1.1.x/client-web/examples/databases/delete-document.md +++ b/docs/examples/1.1.x/client-web/examples/databases/delete-document.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/databases/get-document.md b/docs/examples/1.1.x/client-web/examples/databases/get-document.md index ea80328794..b38f81805d 100644 --- a/docs/examples/1.1.x/client-web/examples/databases/get-document.md +++ b/docs/examples/1.1.x/client-web/examples/databases/get-document.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/databases/list-documents.md b/docs/examples/1.1.x/client-web/examples/databases/list-documents.md index 4a94c99db3..9be7797389 100644 --- a/docs/examples/1.1.x/client-web/examples/databases/list-documents.md +++ b/docs/examples/1.1.x/client-web/examples/databases/list-documents.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/databases/update-document.md b/docs/examples/1.1.x/client-web/examples/databases/update-document.md index cc5ef1cc02..6d58415112 100644 --- a/docs/examples/1.1.x/client-web/examples/databases/update-document.md +++ b/docs/examples/1.1.x/client-web/examples/databases/update-document.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/functions/create-execution.md b/docs/examples/1.1.x/client-web/examples/functions/create-execution.md index 4fc7ac7545..091e3aae24 100644 --- a/docs/examples/1.1.x/client-web/examples/functions/create-execution.md +++ b/docs/examples/1.1.x/client-web/examples/functions/create-execution.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/functions/get-execution.md b/docs/examples/1.1.x/client-web/examples/functions/get-execution.md index 2473572c05..704cf52c62 100644 --- a/docs/examples/1.1.x/client-web/examples/functions/get-execution.md +++ b/docs/examples/1.1.x/client-web/examples/functions/get-execution.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/functions/list-executions.md b/docs/examples/1.1.x/client-web/examples/functions/list-executions.md index 481986ef40..b0a74de4a0 100644 --- a/docs/examples/1.1.x/client-web/examples/functions/list-executions.md +++ b/docs/examples/1.1.x/client-web/examples/functions/list-executions.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/locale/get.md b/docs/examples/1.1.x/client-web/examples/locale/get.md index e15bad2ce1..1001b36d05 100644 --- a/docs/examples/1.1.x/client-web/examples/locale/get.md +++ b/docs/examples/1.1.x/client-web/examples/locale/get.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/locale/list-continents.md b/docs/examples/1.1.x/client-web/examples/locale/list-continents.md index aa3716ef56..9239750852 100644 --- a/docs/examples/1.1.x/client-web/examples/locale/list-continents.md +++ b/docs/examples/1.1.x/client-web/examples/locale/list-continents.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/locale/list-countries-e-u.md b/docs/examples/1.1.x/client-web/examples/locale/list-countries-e-u.md index c924b8df4b..005d5a3327 100644 --- a/docs/examples/1.1.x/client-web/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.1.x/client-web/examples/locale/list-countries-e-u.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/locale/list-countries-phones.md b/docs/examples/1.1.x/client-web/examples/locale/list-countries-phones.md index 0ab60767da..2e5faf107d 100644 --- a/docs/examples/1.1.x/client-web/examples/locale/list-countries-phones.md +++ b/docs/examples/1.1.x/client-web/examples/locale/list-countries-phones.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/locale/list-countries.md b/docs/examples/1.1.x/client-web/examples/locale/list-countries.md index ee8c454993..d57ab0b732 100644 --- a/docs/examples/1.1.x/client-web/examples/locale/list-countries.md +++ b/docs/examples/1.1.x/client-web/examples/locale/list-countries.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/locale/list-currencies.md b/docs/examples/1.1.x/client-web/examples/locale/list-currencies.md index dd37b14e25..31015d585c 100644 --- a/docs/examples/1.1.x/client-web/examples/locale/list-currencies.md +++ b/docs/examples/1.1.x/client-web/examples/locale/list-currencies.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/locale/list-languages.md b/docs/examples/1.1.x/client-web/examples/locale/list-languages.md index 89ae06d529..cfd9adcc1a 100644 --- a/docs/examples/1.1.x/client-web/examples/locale/list-languages.md +++ b/docs/examples/1.1.x/client-web/examples/locale/list-languages.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/storage/create-file.md b/docs/examples/1.1.x/client-web/examples/storage/create-file.md index 0cddb08690..8e84ec8cee 100644 --- a/docs/examples/1.1.x/client-web/examples/storage/create-file.md +++ b/docs/examples/1.1.x/client-web/examples/storage/create-file.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/storage/delete-file.md b/docs/examples/1.1.x/client-web/examples/storage/delete-file.md index 257d855c32..47416bbb8f 100644 --- a/docs/examples/1.1.x/client-web/examples/storage/delete-file.md +++ b/docs/examples/1.1.x/client-web/examples/storage/delete-file.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/storage/get-file-download.md b/docs/examples/1.1.x/client-web/examples/storage/get-file-download.md index d8a3542aab..d9f4cd1895 100644 --- a/docs/examples/1.1.x/client-web/examples/storage/get-file-download.md +++ b/docs/examples/1.1.x/client-web/examples/storage/get-file-download.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/storage/get-file-preview.md b/docs/examples/1.1.x/client-web/examples/storage/get-file-preview.md index f0588ba7dc..d2d4731322 100644 --- a/docs/examples/1.1.x/client-web/examples/storage/get-file-preview.md +++ b/docs/examples/1.1.x/client-web/examples/storage/get-file-preview.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/storage/get-file-view.md b/docs/examples/1.1.x/client-web/examples/storage/get-file-view.md index 5eb2855bef..e9d0ff6d8d 100644 --- a/docs/examples/1.1.x/client-web/examples/storage/get-file-view.md +++ b/docs/examples/1.1.x/client-web/examples/storage/get-file-view.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/storage/get-file.md b/docs/examples/1.1.x/client-web/examples/storage/get-file.md index 6b39ee386e..e326154a4e 100644 --- a/docs/examples/1.1.x/client-web/examples/storage/get-file.md +++ b/docs/examples/1.1.x/client-web/examples/storage/get-file.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/storage/list-files.md b/docs/examples/1.1.x/client-web/examples/storage/list-files.md index 696d4013cd..7faeb85cb1 100644 --- a/docs/examples/1.1.x/client-web/examples/storage/list-files.md +++ b/docs/examples/1.1.x/client-web/examples/storage/list-files.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/storage/update-file.md b/docs/examples/1.1.x/client-web/examples/storage/update-file.md index d22a2f6a11..747044dc30 100644 --- a/docs/examples/1.1.x/client-web/examples/storage/update-file.md +++ b/docs/examples/1.1.x/client-web/examples/storage/update-file.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/teams/create-membership.md b/docs/examples/1.1.x/client-web/examples/teams/create-membership.md index 655f798288..85fb1ef124 100644 --- a/docs/examples/1.1.x/client-web/examples/teams/create-membership.md +++ b/docs/examples/1.1.x/client-web/examples/teams/create-membership.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/teams/create.md b/docs/examples/1.1.x/client-web/examples/teams/create.md index c9037e9575..382b759d9c 100644 --- a/docs/examples/1.1.x/client-web/examples/teams/create.md +++ b/docs/examples/1.1.x/client-web/examples/teams/create.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/teams/delete-membership.md b/docs/examples/1.1.x/client-web/examples/teams/delete-membership.md index c42d669457..76232de1ab 100644 --- a/docs/examples/1.1.x/client-web/examples/teams/delete-membership.md +++ b/docs/examples/1.1.x/client-web/examples/teams/delete-membership.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/teams/delete.md b/docs/examples/1.1.x/client-web/examples/teams/delete.md index 0c99b7aab8..2e5e839551 100644 --- a/docs/examples/1.1.x/client-web/examples/teams/delete.md +++ b/docs/examples/1.1.x/client-web/examples/teams/delete.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/teams/get-membership.md b/docs/examples/1.1.x/client-web/examples/teams/get-membership.md index d4d3c5a65d..0e2c145445 100644 --- a/docs/examples/1.1.x/client-web/examples/teams/get-membership.md +++ b/docs/examples/1.1.x/client-web/examples/teams/get-membership.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/teams/get.md b/docs/examples/1.1.x/client-web/examples/teams/get.md index 396916ed41..cdf8812225 100644 --- a/docs/examples/1.1.x/client-web/examples/teams/get.md +++ b/docs/examples/1.1.x/client-web/examples/teams/get.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/teams/list-memberships.md b/docs/examples/1.1.x/client-web/examples/teams/list-memberships.md index dfa0163037..845d0ce229 100644 --- a/docs/examples/1.1.x/client-web/examples/teams/list-memberships.md +++ b/docs/examples/1.1.x/client-web/examples/teams/list-memberships.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/teams/list.md b/docs/examples/1.1.x/client-web/examples/teams/list.md index daf799b95a..97b4ca31f3 100644 --- a/docs/examples/1.1.x/client-web/examples/teams/list.md +++ b/docs/examples/1.1.x/client-web/examples/teams/list.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/teams/update-membership-roles.md b/docs/examples/1.1.x/client-web/examples/teams/update-membership-roles.md index 55b2267e4e..fd0c6f46fc 100644 --- a/docs/examples/1.1.x/client-web/examples/teams/update-membership-roles.md +++ b/docs/examples/1.1.x/client-web/examples/teams/update-membership-roles.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/teams/update-membership-status.md b/docs/examples/1.1.x/client-web/examples/teams/update-membership-status.md index de1b7f8402..5ef0b2289c 100644 --- a/docs/examples/1.1.x/client-web/examples/teams/update-membership-status.md +++ b/docs/examples/1.1.x/client-web/examples/teams/update-membership-status.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/client-web/examples/teams/update.md b/docs/examples/1.1.x/client-web/examples/teams/update.md index e10252e73f..016d53add8 100644 --- a/docs/examples/1.1.x/client-web/examples/teams/update.md +++ b/docs/examples/1.1.x/client-web/examples/teams/update.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/account/create-anonymous-session.md b/docs/examples/1.1.x/console-web/examples/account/create-anonymous-session.md index c331fc8863..d107d4a8df 100644 --- a/docs/examples/1.1.x/console-web/examples/account/create-anonymous-session.md +++ b/docs/examples/1.1.x/console-web/examples/account/create-anonymous-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/account/create-email-session.md b/docs/examples/1.1.x/console-web/examples/account/create-email-session.md index 76e2e31665..fc25824dad 100644 --- a/docs/examples/1.1.x/console-web/examples/account/create-email-session.md +++ b/docs/examples/1.1.x/console-web/examples/account/create-email-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/account/create-j-w-t.md b/docs/examples/1.1.x/console-web/examples/account/create-j-w-t.md index f388a3da31..db78c41c3c 100644 --- a/docs/examples/1.1.x/console-web/examples/account/create-j-w-t.md +++ b/docs/examples/1.1.x/console-web/examples/account/create-j-w-t.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/account/create-magic-u-r-l-session.md b/docs/examples/1.1.x/console-web/examples/account/create-magic-u-r-l-session.md index d48f031ded..1179a0efc6 100644 --- a/docs/examples/1.1.x/console-web/examples/account/create-magic-u-r-l-session.md +++ b/docs/examples/1.1.x/console-web/examples/account/create-magic-u-r-l-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/account/create-o-auth2session.md b/docs/examples/1.1.x/console-web/examples/account/create-o-auth2session.md index 3757a1c63f..03b7d2cb48 100644 --- a/docs/examples/1.1.x/console-web/examples/account/create-o-auth2session.md +++ b/docs/examples/1.1.x/console-web/examples/account/create-o-auth2session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/account/create-phone-session.md b/docs/examples/1.1.x/console-web/examples/account/create-phone-session.md index e5a23aafee..53ead8a3f8 100644 --- a/docs/examples/1.1.x/console-web/examples/account/create-phone-session.md +++ b/docs/examples/1.1.x/console-web/examples/account/create-phone-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/account/create-phone-verification.md b/docs/examples/1.1.x/console-web/examples/account/create-phone-verification.md index a1cbd55277..974f94503f 100644 --- a/docs/examples/1.1.x/console-web/examples/account/create-phone-verification.md +++ b/docs/examples/1.1.x/console-web/examples/account/create-phone-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/account/create-recovery.md b/docs/examples/1.1.x/console-web/examples/account/create-recovery.md index 1838c0414c..7030423d2f 100644 --- a/docs/examples/1.1.x/console-web/examples/account/create-recovery.md +++ b/docs/examples/1.1.x/console-web/examples/account/create-recovery.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/account/create-verification.md b/docs/examples/1.1.x/console-web/examples/account/create-verification.md index 4d8446e6ef..6448a72496 100644 --- a/docs/examples/1.1.x/console-web/examples/account/create-verification.md +++ b/docs/examples/1.1.x/console-web/examples/account/create-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/account/create.md b/docs/examples/1.1.x/console-web/examples/account/create.md index 317a0c5265..f452383fed 100644 --- a/docs/examples/1.1.x/console-web/examples/account/create.md +++ b/docs/examples/1.1.x/console-web/examples/account/create.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/account/delete-session.md b/docs/examples/1.1.x/console-web/examples/account/delete-session.md index c342afb2c9..052b78d845 100644 --- a/docs/examples/1.1.x/console-web/examples/account/delete-session.md +++ b/docs/examples/1.1.x/console-web/examples/account/delete-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/account/delete-sessions.md b/docs/examples/1.1.x/console-web/examples/account/delete-sessions.md index 82133e3845..64b1c591d3 100644 --- a/docs/examples/1.1.x/console-web/examples/account/delete-sessions.md +++ b/docs/examples/1.1.x/console-web/examples/account/delete-sessions.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/account/get-prefs.md b/docs/examples/1.1.x/console-web/examples/account/get-prefs.md index b98776fd9d..a02dc51785 100644 --- a/docs/examples/1.1.x/console-web/examples/account/get-prefs.md +++ b/docs/examples/1.1.x/console-web/examples/account/get-prefs.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/account/get-session.md b/docs/examples/1.1.x/console-web/examples/account/get-session.md index 43edd7d08a..21be1738ba 100644 --- a/docs/examples/1.1.x/console-web/examples/account/get-session.md +++ b/docs/examples/1.1.x/console-web/examples/account/get-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/account/get.md b/docs/examples/1.1.x/console-web/examples/account/get.md index 878227f019..539ace69af 100644 --- a/docs/examples/1.1.x/console-web/examples/account/get.md +++ b/docs/examples/1.1.x/console-web/examples/account/get.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/account/list-logs.md b/docs/examples/1.1.x/console-web/examples/account/list-logs.md index d710f7daa3..d26bd396ba 100644 --- a/docs/examples/1.1.x/console-web/examples/account/list-logs.md +++ b/docs/examples/1.1.x/console-web/examples/account/list-logs.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/account/list-sessions.md b/docs/examples/1.1.x/console-web/examples/account/list-sessions.md index ce6ec74862..c5a5625b17 100644 --- a/docs/examples/1.1.x/console-web/examples/account/list-sessions.md +++ b/docs/examples/1.1.x/console-web/examples/account/list-sessions.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/account/update-email.md b/docs/examples/1.1.x/console-web/examples/account/update-email.md index baac3a0ab0..2242db702c 100644 --- a/docs/examples/1.1.x/console-web/examples/account/update-email.md +++ b/docs/examples/1.1.x/console-web/examples/account/update-email.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.1.x/console-web/examples/account/update-magic-u-r-l-session.md index c07fee2b14..70bf5d17da 100644 --- a/docs/examples/1.1.x/console-web/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.1.x/console-web/examples/account/update-magic-u-r-l-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/account/update-name.md b/docs/examples/1.1.x/console-web/examples/account/update-name.md index 4af963d5fc..8ec9bd2395 100644 --- a/docs/examples/1.1.x/console-web/examples/account/update-name.md +++ b/docs/examples/1.1.x/console-web/examples/account/update-name.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/account/update-password.md b/docs/examples/1.1.x/console-web/examples/account/update-password.md index 9cb72c7fde..b5dea9c9eb 100644 --- a/docs/examples/1.1.x/console-web/examples/account/update-password.md +++ b/docs/examples/1.1.x/console-web/examples/account/update-password.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/account/update-phone-session.md b/docs/examples/1.1.x/console-web/examples/account/update-phone-session.md index b3b29481a9..9870627d9f 100644 --- a/docs/examples/1.1.x/console-web/examples/account/update-phone-session.md +++ b/docs/examples/1.1.x/console-web/examples/account/update-phone-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/account/update-phone-verification.md b/docs/examples/1.1.x/console-web/examples/account/update-phone-verification.md index a274c9b07c..912f178814 100644 --- a/docs/examples/1.1.x/console-web/examples/account/update-phone-verification.md +++ b/docs/examples/1.1.x/console-web/examples/account/update-phone-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/account/update-phone.md b/docs/examples/1.1.x/console-web/examples/account/update-phone.md index a1017fc7f4..6ee5eb40e8 100644 --- a/docs/examples/1.1.x/console-web/examples/account/update-phone.md +++ b/docs/examples/1.1.x/console-web/examples/account/update-phone.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/account/update-prefs.md b/docs/examples/1.1.x/console-web/examples/account/update-prefs.md index ecceff3158..3f90dfabd2 100644 --- a/docs/examples/1.1.x/console-web/examples/account/update-prefs.md +++ b/docs/examples/1.1.x/console-web/examples/account/update-prefs.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/account/update-recovery.md b/docs/examples/1.1.x/console-web/examples/account/update-recovery.md index eb78a8a52d..200b993a4c 100644 --- a/docs/examples/1.1.x/console-web/examples/account/update-recovery.md +++ b/docs/examples/1.1.x/console-web/examples/account/update-recovery.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/account/update-session.md b/docs/examples/1.1.x/console-web/examples/account/update-session.md index a7a42c663a..a8c40ebb81 100644 --- a/docs/examples/1.1.x/console-web/examples/account/update-session.md +++ b/docs/examples/1.1.x/console-web/examples/account/update-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/account/update-status.md b/docs/examples/1.1.x/console-web/examples/account/update-status.md index 9cbe78c5c4..d3ac91e7d5 100644 --- a/docs/examples/1.1.x/console-web/examples/account/update-status.md +++ b/docs/examples/1.1.x/console-web/examples/account/update-status.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/account/update-verification.md b/docs/examples/1.1.x/console-web/examples/account/update-verification.md index 73338da4df..404fdd4352 100644 --- a/docs/examples/1.1.x/console-web/examples/account/update-verification.md +++ b/docs/examples/1.1.x/console-web/examples/account/update-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/avatars/get-browser.md b/docs/examples/1.1.x/console-web/examples/avatars/get-browser.md index 0b4c2def00..cf5beeb458 100644 --- a/docs/examples/1.1.x/console-web/examples/avatars/get-browser.md +++ b/docs/examples/1.1.x/console-web/examples/avatars/get-browser.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/avatars/get-credit-card.md b/docs/examples/1.1.x/console-web/examples/avatars/get-credit-card.md index 082ed92b67..3486722f90 100644 --- a/docs/examples/1.1.x/console-web/examples/avatars/get-credit-card.md +++ b/docs/examples/1.1.x/console-web/examples/avatars/get-credit-card.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/avatars/get-favicon.md b/docs/examples/1.1.x/console-web/examples/avatars/get-favicon.md index 7ee6bd3da2..5e0056c888 100644 --- a/docs/examples/1.1.x/console-web/examples/avatars/get-favicon.md +++ b/docs/examples/1.1.x/console-web/examples/avatars/get-favicon.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/avatars/get-flag.md b/docs/examples/1.1.x/console-web/examples/avatars/get-flag.md index a43827a1ae..7e95a5bc13 100644 --- a/docs/examples/1.1.x/console-web/examples/avatars/get-flag.md +++ b/docs/examples/1.1.x/console-web/examples/avatars/get-flag.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/avatars/get-image.md b/docs/examples/1.1.x/console-web/examples/avatars/get-image.md index ea186a1a68..b6d25c7389 100644 --- a/docs/examples/1.1.x/console-web/examples/avatars/get-image.md +++ b/docs/examples/1.1.x/console-web/examples/avatars/get-image.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/avatars/get-initials.md b/docs/examples/1.1.x/console-web/examples/avatars/get-initials.md index 7e8c8ec413..efee82cfab 100644 --- a/docs/examples/1.1.x/console-web/examples/avatars/get-initials.md +++ b/docs/examples/1.1.x/console-web/examples/avatars/get-initials.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/avatars/get-q-r.md b/docs/examples/1.1.x/console-web/examples/avatars/get-q-r.md index b957084aa1..412dff00ea 100644 --- a/docs/examples/1.1.x/console-web/examples/avatars/get-q-r.md +++ b/docs/examples/1.1.x/console-web/examples/avatars/get-q-r.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/create-boolean-attribute.md b/docs/examples/1.1.x/console-web/examples/databases/create-boolean-attribute.md index 7264597ebf..a35d7e2291 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.1.x/console-web/examples/databases/create-boolean-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/create-collection.md b/docs/examples/1.1.x/console-web/examples/databases/create-collection.md index 01cce02281..433e0641a8 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/create-collection.md +++ b/docs/examples/1.1.x/console-web/examples/databases/create-collection.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/create-datetime-attribute.md b/docs/examples/1.1.x/console-web/examples/databases/create-datetime-attribute.md index 2ffa6123a5..4af912ab14 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.1.x/console-web/examples/databases/create-datetime-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/create-document.md b/docs/examples/1.1.x/console-web/examples/databases/create-document.md index 92792066ef..a87121baa7 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/create-document.md +++ b/docs/examples/1.1.x/console-web/examples/databases/create-document.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/create-email-attribute.md b/docs/examples/1.1.x/console-web/examples/databases/create-email-attribute.md index 7aca28fd5e..4a29c9e062 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/create-email-attribute.md +++ b/docs/examples/1.1.x/console-web/examples/databases/create-email-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/create-enum-attribute.md b/docs/examples/1.1.x/console-web/examples/databases/create-enum-attribute.md index 664a4f99fb..824b72fc42 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.1.x/console-web/examples/databases/create-enum-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/create-float-attribute.md b/docs/examples/1.1.x/console-web/examples/databases/create-float-attribute.md index aec9fa850c..09968951e2 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/create-float-attribute.md +++ b/docs/examples/1.1.x/console-web/examples/databases/create-float-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/create-index.md b/docs/examples/1.1.x/console-web/examples/databases/create-index.md index d6d791fc17..2b0e8073cd 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/create-index.md +++ b/docs/examples/1.1.x/console-web/examples/databases/create-index.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/create-integer-attribute.md b/docs/examples/1.1.x/console-web/examples/databases/create-integer-attribute.md index 8d2f5c49ed..d60cb8980c 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.1.x/console-web/examples/databases/create-integer-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/create-ip-attribute.md b/docs/examples/1.1.x/console-web/examples/databases/create-ip-attribute.md index 3936077ec4..7c5efea065 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.1.x/console-web/examples/databases/create-ip-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/create-string-attribute.md b/docs/examples/1.1.x/console-web/examples/databases/create-string-attribute.md index ff865a5b0c..58d53c48ec 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/create-string-attribute.md +++ b/docs/examples/1.1.x/console-web/examples/databases/create-string-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/create-url-attribute.md b/docs/examples/1.1.x/console-web/examples/databases/create-url-attribute.md index ba4997f668..661c54a5fa 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/create-url-attribute.md +++ b/docs/examples/1.1.x/console-web/examples/databases/create-url-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/create.md b/docs/examples/1.1.x/console-web/examples/databases/create.md index ba22b473f2..d4df9e5d2b 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/create.md +++ b/docs/examples/1.1.x/console-web/examples/databases/create.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/delete-attribute.md b/docs/examples/1.1.x/console-web/examples/databases/delete-attribute.md index 5a9a98e866..79c5fefba3 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/delete-attribute.md +++ b/docs/examples/1.1.x/console-web/examples/databases/delete-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/delete-collection.md b/docs/examples/1.1.x/console-web/examples/databases/delete-collection.md index 927ce3d887..849a24b530 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/delete-collection.md +++ b/docs/examples/1.1.x/console-web/examples/databases/delete-collection.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/delete-document.md b/docs/examples/1.1.x/console-web/examples/databases/delete-document.md index 9e281e7166..39f96d4d12 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/delete-document.md +++ b/docs/examples/1.1.x/console-web/examples/databases/delete-document.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/delete-index.md b/docs/examples/1.1.x/console-web/examples/databases/delete-index.md index 23f6c9e469..ad9c9ada60 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/delete-index.md +++ b/docs/examples/1.1.x/console-web/examples/databases/delete-index.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/delete.md b/docs/examples/1.1.x/console-web/examples/databases/delete.md index bdb28f9839..fb3b6cce78 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/delete.md +++ b/docs/examples/1.1.x/console-web/examples/databases/delete.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/get-attribute.md b/docs/examples/1.1.x/console-web/examples/databases/get-attribute.md index b53234c4b1..d3ed02ea87 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/get-attribute.md +++ b/docs/examples/1.1.x/console-web/examples/databases/get-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/get-collection-usage.md b/docs/examples/1.1.x/console-web/examples/databases/get-collection-usage.md index efa1d7136d..70f5982f9f 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/get-collection-usage.md +++ b/docs/examples/1.1.x/console-web/examples/databases/get-collection-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/get-collection.md b/docs/examples/1.1.x/console-web/examples/databases/get-collection.md index eb14848e8f..a8a7480dc9 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/get-collection.md +++ b/docs/examples/1.1.x/console-web/examples/databases/get-collection.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/get-database-usage.md b/docs/examples/1.1.x/console-web/examples/databases/get-database-usage.md index 59e93cf92c..6a31c26231 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/get-database-usage.md +++ b/docs/examples/1.1.x/console-web/examples/databases/get-database-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/get-document.md b/docs/examples/1.1.x/console-web/examples/databases/get-document.md index ea80328794..b38f81805d 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/get-document.md +++ b/docs/examples/1.1.x/console-web/examples/databases/get-document.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/get-index.md b/docs/examples/1.1.x/console-web/examples/databases/get-index.md index b6f5f58300..f94b8c0215 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/get-index.md +++ b/docs/examples/1.1.x/console-web/examples/databases/get-index.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/get-usage.md b/docs/examples/1.1.x/console-web/examples/databases/get-usage.md index f74e0f3748..4a33122edf 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/get-usage.md +++ b/docs/examples/1.1.x/console-web/examples/databases/get-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/get.md b/docs/examples/1.1.x/console-web/examples/databases/get.md index bd78b84949..9ce75fa223 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/get.md +++ b/docs/examples/1.1.x/console-web/examples/databases/get.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/list-attributes.md b/docs/examples/1.1.x/console-web/examples/databases/list-attributes.md index 74de96d325..5c7240d9d2 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/list-attributes.md +++ b/docs/examples/1.1.x/console-web/examples/databases/list-attributes.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/list-collection-logs.md b/docs/examples/1.1.x/console-web/examples/databases/list-collection-logs.md index 3c9721007b..2370727c3c 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/list-collection-logs.md +++ b/docs/examples/1.1.x/console-web/examples/databases/list-collection-logs.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/list-collections.md b/docs/examples/1.1.x/console-web/examples/databases/list-collections.md index c34f3d8caf..abc239f0e5 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/list-collections.md +++ b/docs/examples/1.1.x/console-web/examples/databases/list-collections.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/list-document-logs.md b/docs/examples/1.1.x/console-web/examples/databases/list-document-logs.md index fd0870e54b..613a24bc3a 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/list-document-logs.md +++ b/docs/examples/1.1.x/console-web/examples/databases/list-document-logs.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/list-documents.md b/docs/examples/1.1.x/console-web/examples/databases/list-documents.md index 4a94c99db3..9be7797389 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/list-documents.md +++ b/docs/examples/1.1.x/console-web/examples/databases/list-documents.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/list-indexes.md b/docs/examples/1.1.x/console-web/examples/databases/list-indexes.md index 714573b758..f8bbf88526 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/list-indexes.md +++ b/docs/examples/1.1.x/console-web/examples/databases/list-indexes.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/list-logs.md b/docs/examples/1.1.x/console-web/examples/databases/list-logs.md index 5566fa3e6f..a0ff5edae7 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/list-logs.md +++ b/docs/examples/1.1.x/console-web/examples/databases/list-logs.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/list.md b/docs/examples/1.1.x/console-web/examples/databases/list.md index d97b85c138..747936f243 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/list.md +++ b/docs/examples/1.1.x/console-web/examples/databases/list.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/update-collection.md b/docs/examples/1.1.x/console-web/examples/databases/update-collection.md index 526f2453db..3fd4740da9 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/update-collection.md +++ b/docs/examples/1.1.x/console-web/examples/databases/update-collection.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/update-document.md b/docs/examples/1.1.x/console-web/examples/databases/update-document.md index cc5ef1cc02..6d58415112 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/update-document.md +++ b/docs/examples/1.1.x/console-web/examples/databases/update-document.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/databases/update.md b/docs/examples/1.1.x/console-web/examples/databases/update.md index 93b4bf8e59..d34c71b7cb 100644 --- a/docs/examples/1.1.x/console-web/examples/databases/update.md +++ b/docs/examples/1.1.x/console-web/examples/databases/update.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/functions/create-build.md b/docs/examples/1.1.x/console-web/examples/functions/create-build.md index a92ced206e..e8671187a3 100644 --- a/docs/examples/1.1.x/console-web/examples/functions/create-build.md +++ b/docs/examples/1.1.x/console-web/examples/functions/create-build.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/functions/create-deployment.md b/docs/examples/1.1.x/console-web/examples/functions/create-deployment.md index fed22c21d9..331fa957ca 100644 --- a/docs/examples/1.1.x/console-web/examples/functions/create-deployment.md +++ b/docs/examples/1.1.x/console-web/examples/functions/create-deployment.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/functions/create-execution.md b/docs/examples/1.1.x/console-web/examples/functions/create-execution.md index 4fc7ac7545..091e3aae24 100644 --- a/docs/examples/1.1.x/console-web/examples/functions/create-execution.md +++ b/docs/examples/1.1.x/console-web/examples/functions/create-execution.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/functions/create-variable.md b/docs/examples/1.1.x/console-web/examples/functions/create-variable.md index 78c465c2fe..ecdf7efb19 100644 --- a/docs/examples/1.1.x/console-web/examples/functions/create-variable.md +++ b/docs/examples/1.1.x/console-web/examples/functions/create-variable.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/functions/create.md b/docs/examples/1.1.x/console-web/examples/functions/create.md index 9639cae64b..d343679c93 100644 --- a/docs/examples/1.1.x/console-web/examples/functions/create.md +++ b/docs/examples/1.1.x/console-web/examples/functions/create.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/functions/delete-deployment.md b/docs/examples/1.1.x/console-web/examples/functions/delete-deployment.md index 06cb18591d..3c3c147bd0 100644 --- a/docs/examples/1.1.x/console-web/examples/functions/delete-deployment.md +++ b/docs/examples/1.1.x/console-web/examples/functions/delete-deployment.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/functions/delete-variable.md b/docs/examples/1.1.x/console-web/examples/functions/delete-variable.md index 91ba6778f2..3e83459230 100644 --- a/docs/examples/1.1.x/console-web/examples/functions/delete-variable.md +++ b/docs/examples/1.1.x/console-web/examples/functions/delete-variable.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/functions/delete.md b/docs/examples/1.1.x/console-web/examples/functions/delete.md index 8c78a1c928..249d118e92 100644 --- a/docs/examples/1.1.x/console-web/examples/functions/delete.md +++ b/docs/examples/1.1.x/console-web/examples/functions/delete.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/functions/get-deployment.md b/docs/examples/1.1.x/console-web/examples/functions/get-deployment.md index e2bdb9a283..9a372cc93a 100644 --- a/docs/examples/1.1.x/console-web/examples/functions/get-deployment.md +++ b/docs/examples/1.1.x/console-web/examples/functions/get-deployment.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/functions/get-execution.md b/docs/examples/1.1.x/console-web/examples/functions/get-execution.md index 2473572c05..704cf52c62 100644 --- a/docs/examples/1.1.x/console-web/examples/functions/get-execution.md +++ b/docs/examples/1.1.x/console-web/examples/functions/get-execution.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/functions/get-function-usage.md b/docs/examples/1.1.x/console-web/examples/functions/get-function-usage.md index d58dd43b90..2c424e61ae 100644 --- a/docs/examples/1.1.x/console-web/examples/functions/get-function-usage.md +++ b/docs/examples/1.1.x/console-web/examples/functions/get-function-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/functions/get-usage.md b/docs/examples/1.1.x/console-web/examples/functions/get-usage.md index 12bdbe879b..82d3959b3d 100644 --- a/docs/examples/1.1.x/console-web/examples/functions/get-usage.md +++ b/docs/examples/1.1.x/console-web/examples/functions/get-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/functions/get-variable.md b/docs/examples/1.1.x/console-web/examples/functions/get-variable.md index 4225157a86..26da0bd889 100644 --- a/docs/examples/1.1.x/console-web/examples/functions/get-variable.md +++ b/docs/examples/1.1.x/console-web/examples/functions/get-variable.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/functions/get.md b/docs/examples/1.1.x/console-web/examples/functions/get.md index 06c91ea01a..2ade672c95 100644 --- a/docs/examples/1.1.x/console-web/examples/functions/get.md +++ b/docs/examples/1.1.x/console-web/examples/functions/get.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/functions/list-deployments.md b/docs/examples/1.1.x/console-web/examples/functions/list-deployments.md index 8c2145bc63..ecf25aa1e0 100644 --- a/docs/examples/1.1.x/console-web/examples/functions/list-deployments.md +++ b/docs/examples/1.1.x/console-web/examples/functions/list-deployments.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/functions/list-executions.md b/docs/examples/1.1.x/console-web/examples/functions/list-executions.md index 481986ef40..b0a74de4a0 100644 --- a/docs/examples/1.1.x/console-web/examples/functions/list-executions.md +++ b/docs/examples/1.1.x/console-web/examples/functions/list-executions.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/functions/list-runtimes.md b/docs/examples/1.1.x/console-web/examples/functions/list-runtimes.md index 137d046cf7..e4ac34ac23 100644 --- a/docs/examples/1.1.x/console-web/examples/functions/list-runtimes.md +++ b/docs/examples/1.1.x/console-web/examples/functions/list-runtimes.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/functions/list-variables.md b/docs/examples/1.1.x/console-web/examples/functions/list-variables.md index 44f8799d8e..75d18c13cd 100644 --- a/docs/examples/1.1.x/console-web/examples/functions/list-variables.md +++ b/docs/examples/1.1.x/console-web/examples/functions/list-variables.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/functions/list.md b/docs/examples/1.1.x/console-web/examples/functions/list.md index c2a9d7bdf9..21dba3f21b 100644 --- a/docs/examples/1.1.x/console-web/examples/functions/list.md +++ b/docs/examples/1.1.x/console-web/examples/functions/list.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/functions/update-deployment.md b/docs/examples/1.1.x/console-web/examples/functions/update-deployment.md index 1c14677cde..bc92b88858 100644 --- a/docs/examples/1.1.x/console-web/examples/functions/update-deployment.md +++ b/docs/examples/1.1.x/console-web/examples/functions/update-deployment.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/functions/update-variable.md b/docs/examples/1.1.x/console-web/examples/functions/update-variable.md index de7bf53130..bccab51b68 100644 --- a/docs/examples/1.1.x/console-web/examples/functions/update-variable.md +++ b/docs/examples/1.1.x/console-web/examples/functions/update-variable.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/functions/update.md b/docs/examples/1.1.x/console-web/examples/functions/update.md index cbb427917c..4b69b0470f 100644 --- a/docs/examples/1.1.x/console-web/examples/functions/update.md +++ b/docs/examples/1.1.x/console-web/examples/functions/update.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/health/get-antivirus.md b/docs/examples/1.1.x/console-web/examples/health/get-antivirus.md index ed644f689b..2ce2d245dc 100644 --- a/docs/examples/1.1.x/console-web/examples/health/get-antivirus.md +++ b/docs/examples/1.1.x/console-web/examples/health/get-antivirus.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/health/get-cache.md b/docs/examples/1.1.x/console-web/examples/health/get-cache.md index 8d29c8c983..e28f9f827a 100644 --- a/docs/examples/1.1.x/console-web/examples/health/get-cache.md +++ b/docs/examples/1.1.x/console-web/examples/health/get-cache.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/health/get-d-b.md b/docs/examples/1.1.x/console-web/examples/health/get-d-b.md index 3738634d6b..fdf02d5945 100644 --- a/docs/examples/1.1.x/console-web/examples/health/get-d-b.md +++ b/docs/examples/1.1.x/console-web/examples/health/get-d-b.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/health/get-queue-certificates.md b/docs/examples/1.1.x/console-web/examples/health/get-queue-certificates.md index ebdfe3e2f7..ffe340f8f8 100644 --- a/docs/examples/1.1.x/console-web/examples/health/get-queue-certificates.md +++ b/docs/examples/1.1.x/console-web/examples/health/get-queue-certificates.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/health/get-queue-functions.md b/docs/examples/1.1.x/console-web/examples/health/get-queue-functions.md index c6edd987ff..111ffa735d 100644 --- a/docs/examples/1.1.x/console-web/examples/health/get-queue-functions.md +++ b/docs/examples/1.1.x/console-web/examples/health/get-queue-functions.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/health/get-queue-logs.md b/docs/examples/1.1.x/console-web/examples/health/get-queue-logs.md index 88c50cb245..902504b670 100644 --- a/docs/examples/1.1.x/console-web/examples/health/get-queue-logs.md +++ b/docs/examples/1.1.x/console-web/examples/health/get-queue-logs.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/health/get-queue-webhooks.md b/docs/examples/1.1.x/console-web/examples/health/get-queue-webhooks.md index 304d90f0a3..0dc80f7454 100644 --- a/docs/examples/1.1.x/console-web/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.1.x/console-web/examples/health/get-queue-webhooks.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/health/get-storage-local.md b/docs/examples/1.1.x/console-web/examples/health/get-storage-local.md index a8b1d9a354..affd46b7dd 100644 --- a/docs/examples/1.1.x/console-web/examples/health/get-storage-local.md +++ b/docs/examples/1.1.x/console-web/examples/health/get-storage-local.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/health/get-time.md b/docs/examples/1.1.x/console-web/examples/health/get-time.md index e4b7b5d0c3..eeaf31b05a 100644 --- a/docs/examples/1.1.x/console-web/examples/health/get-time.md +++ b/docs/examples/1.1.x/console-web/examples/health/get-time.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/health/get.md b/docs/examples/1.1.x/console-web/examples/health/get.md index 67de8fe58f..1184b6a56b 100644 --- a/docs/examples/1.1.x/console-web/examples/health/get.md +++ b/docs/examples/1.1.x/console-web/examples/health/get.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/locale/get.md b/docs/examples/1.1.x/console-web/examples/locale/get.md index e15bad2ce1..1001b36d05 100644 --- a/docs/examples/1.1.x/console-web/examples/locale/get.md +++ b/docs/examples/1.1.x/console-web/examples/locale/get.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/locale/list-continents.md b/docs/examples/1.1.x/console-web/examples/locale/list-continents.md index aa3716ef56..9239750852 100644 --- a/docs/examples/1.1.x/console-web/examples/locale/list-continents.md +++ b/docs/examples/1.1.x/console-web/examples/locale/list-continents.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/locale/list-countries-e-u.md b/docs/examples/1.1.x/console-web/examples/locale/list-countries-e-u.md index c924b8df4b..005d5a3327 100644 --- a/docs/examples/1.1.x/console-web/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.1.x/console-web/examples/locale/list-countries-e-u.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/locale/list-countries-phones.md b/docs/examples/1.1.x/console-web/examples/locale/list-countries-phones.md index 0ab60767da..2e5faf107d 100644 --- a/docs/examples/1.1.x/console-web/examples/locale/list-countries-phones.md +++ b/docs/examples/1.1.x/console-web/examples/locale/list-countries-phones.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/locale/list-countries.md b/docs/examples/1.1.x/console-web/examples/locale/list-countries.md index ee8c454993..d57ab0b732 100644 --- a/docs/examples/1.1.x/console-web/examples/locale/list-countries.md +++ b/docs/examples/1.1.x/console-web/examples/locale/list-countries.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/locale/list-currencies.md b/docs/examples/1.1.x/console-web/examples/locale/list-currencies.md index dd37b14e25..31015d585c 100644 --- a/docs/examples/1.1.x/console-web/examples/locale/list-currencies.md +++ b/docs/examples/1.1.x/console-web/examples/locale/list-currencies.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/locale/list-languages.md b/docs/examples/1.1.x/console-web/examples/locale/list-languages.md index 89ae06d529..cfd9adcc1a 100644 --- a/docs/examples/1.1.x/console-web/examples/locale/list-languages.md +++ b/docs/examples/1.1.x/console-web/examples/locale/list-languages.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/projects/create-domain.md b/docs/examples/1.1.x/console-web/examples/projects/create-domain.md index e7dfd9013c..923b888d25 100644 --- a/docs/examples/1.1.x/console-web/examples/projects/create-domain.md +++ b/docs/examples/1.1.x/console-web/examples/projects/create-domain.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/projects/create-key.md b/docs/examples/1.1.x/console-web/examples/projects/create-key.md index 0fa3677d61..b2ad13765c 100644 --- a/docs/examples/1.1.x/console-web/examples/projects/create-key.md +++ b/docs/examples/1.1.x/console-web/examples/projects/create-key.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/projects/create-platform.md b/docs/examples/1.1.x/console-web/examples/projects/create-platform.md index e3362bc560..6a02f791c8 100644 --- a/docs/examples/1.1.x/console-web/examples/projects/create-platform.md +++ b/docs/examples/1.1.x/console-web/examples/projects/create-platform.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/projects/create-webhook.md b/docs/examples/1.1.x/console-web/examples/projects/create-webhook.md index e65d59d8fa..820a4fa947 100644 --- a/docs/examples/1.1.x/console-web/examples/projects/create-webhook.md +++ b/docs/examples/1.1.x/console-web/examples/projects/create-webhook.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/projects/create.md b/docs/examples/1.1.x/console-web/examples/projects/create.md index 7427c86409..788742447c 100644 --- a/docs/examples/1.1.x/console-web/examples/projects/create.md +++ b/docs/examples/1.1.x/console-web/examples/projects/create.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/projects/delete-domain.md b/docs/examples/1.1.x/console-web/examples/projects/delete-domain.md index 4401b90e12..51f2b2d998 100644 --- a/docs/examples/1.1.x/console-web/examples/projects/delete-domain.md +++ b/docs/examples/1.1.x/console-web/examples/projects/delete-domain.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/projects/delete-key.md b/docs/examples/1.1.x/console-web/examples/projects/delete-key.md index 64dcecf923..b10631048e 100644 --- a/docs/examples/1.1.x/console-web/examples/projects/delete-key.md +++ b/docs/examples/1.1.x/console-web/examples/projects/delete-key.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/projects/delete-platform.md b/docs/examples/1.1.x/console-web/examples/projects/delete-platform.md index ac266498b9..58e7a31fdf 100644 --- a/docs/examples/1.1.x/console-web/examples/projects/delete-platform.md +++ b/docs/examples/1.1.x/console-web/examples/projects/delete-platform.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/projects/delete-webhook.md b/docs/examples/1.1.x/console-web/examples/projects/delete-webhook.md index e9fe6f9d3f..300308fdff 100644 --- a/docs/examples/1.1.x/console-web/examples/projects/delete-webhook.md +++ b/docs/examples/1.1.x/console-web/examples/projects/delete-webhook.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/projects/delete.md b/docs/examples/1.1.x/console-web/examples/projects/delete.md index a76a382e5a..2fef23195e 100644 --- a/docs/examples/1.1.x/console-web/examples/projects/delete.md +++ b/docs/examples/1.1.x/console-web/examples/projects/delete.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/projects/get-domain.md b/docs/examples/1.1.x/console-web/examples/projects/get-domain.md index 5bc60ae20a..795297cb26 100644 --- a/docs/examples/1.1.x/console-web/examples/projects/get-domain.md +++ b/docs/examples/1.1.x/console-web/examples/projects/get-domain.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/projects/get-key.md b/docs/examples/1.1.x/console-web/examples/projects/get-key.md index 94da5b02b3..5f5177f45c 100644 --- a/docs/examples/1.1.x/console-web/examples/projects/get-key.md +++ b/docs/examples/1.1.x/console-web/examples/projects/get-key.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/projects/get-platform.md b/docs/examples/1.1.x/console-web/examples/projects/get-platform.md index 7838e52957..31dd54999f 100644 --- a/docs/examples/1.1.x/console-web/examples/projects/get-platform.md +++ b/docs/examples/1.1.x/console-web/examples/projects/get-platform.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/projects/get-usage.md b/docs/examples/1.1.x/console-web/examples/projects/get-usage.md index 5bb8cb9819..cb830cacc0 100644 --- a/docs/examples/1.1.x/console-web/examples/projects/get-usage.md +++ b/docs/examples/1.1.x/console-web/examples/projects/get-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/projects/get-webhook.md b/docs/examples/1.1.x/console-web/examples/projects/get-webhook.md index 2f094d7298..928a80daeb 100644 --- a/docs/examples/1.1.x/console-web/examples/projects/get-webhook.md +++ b/docs/examples/1.1.x/console-web/examples/projects/get-webhook.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/projects/get.md b/docs/examples/1.1.x/console-web/examples/projects/get.md index ce03b2d130..2623294081 100644 --- a/docs/examples/1.1.x/console-web/examples/projects/get.md +++ b/docs/examples/1.1.x/console-web/examples/projects/get.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/projects/list-domains.md b/docs/examples/1.1.x/console-web/examples/projects/list-domains.md index 3bed0807db..642e2f0335 100644 --- a/docs/examples/1.1.x/console-web/examples/projects/list-domains.md +++ b/docs/examples/1.1.x/console-web/examples/projects/list-domains.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/projects/list-keys.md b/docs/examples/1.1.x/console-web/examples/projects/list-keys.md index 8863919ecc..7a3e4b696f 100644 --- a/docs/examples/1.1.x/console-web/examples/projects/list-keys.md +++ b/docs/examples/1.1.x/console-web/examples/projects/list-keys.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/projects/list-platforms.md b/docs/examples/1.1.x/console-web/examples/projects/list-platforms.md index a2a67535e1..925233e0b8 100644 --- a/docs/examples/1.1.x/console-web/examples/projects/list-platforms.md +++ b/docs/examples/1.1.x/console-web/examples/projects/list-platforms.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/projects/list-webhooks.md b/docs/examples/1.1.x/console-web/examples/projects/list-webhooks.md index 145385f486..61278a0482 100644 --- a/docs/examples/1.1.x/console-web/examples/projects/list-webhooks.md +++ b/docs/examples/1.1.x/console-web/examples/projects/list-webhooks.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/projects/list.md b/docs/examples/1.1.x/console-web/examples/projects/list.md index 09030e5747..75ecf56d02 100644 --- a/docs/examples/1.1.x/console-web/examples/projects/list.md +++ b/docs/examples/1.1.x/console-web/examples/projects/list.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/projects/update-auth-duration.md b/docs/examples/1.1.x/console-web/examples/projects/update-auth-duration.md index c9d1385e33..5c9a7b2cee 100644 --- a/docs/examples/1.1.x/console-web/examples/projects/update-auth-duration.md +++ b/docs/examples/1.1.x/console-web/examples/projects/update-auth-duration.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/projects/update-auth-limit.md b/docs/examples/1.1.x/console-web/examples/projects/update-auth-limit.md index be4827c26c..0700d72933 100644 --- a/docs/examples/1.1.x/console-web/examples/projects/update-auth-limit.md +++ b/docs/examples/1.1.x/console-web/examples/projects/update-auth-limit.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/projects/update-auth-status.md b/docs/examples/1.1.x/console-web/examples/projects/update-auth-status.md index 89a4a4ee28..56a821b34a 100644 --- a/docs/examples/1.1.x/console-web/examples/projects/update-auth-status.md +++ b/docs/examples/1.1.x/console-web/examples/projects/update-auth-status.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/projects/update-domain-verification.md b/docs/examples/1.1.x/console-web/examples/projects/update-domain-verification.md index 4a756883a3..fe4970e67e 100644 --- a/docs/examples/1.1.x/console-web/examples/projects/update-domain-verification.md +++ b/docs/examples/1.1.x/console-web/examples/projects/update-domain-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/projects/update-key.md b/docs/examples/1.1.x/console-web/examples/projects/update-key.md index 15f1c63a4b..61c4c6472d 100644 --- a/docs/examples/1.1.x/console-web/examples/projects/update-key.md +++ b/docs/examples/1.1.x/console-web/examples/projects/update-key.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/projects/update-o-auth2.md b/docs/examples/1.1.x/console-web/examples/projects/update-o-auth2.md index 1d3edf0ff3..d0b4af7b3f 100644 --- a/docs/examples/1.1.x/console-web/examples/projects/update-o-auth2.md +++ b/docs/examples/1.1.x/console-web/examples/projects/update-o-auth2.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/projects/update-platform.md b/docs/examples/1.1.x/console-web/examples/projects/update-platform.md index 81e6af22d4..1a4be4a6a5 100644 --- a/docs/examples/1.1.x/console-web/examples/projects/update-platform.md +++ b/docs/examples/1.1.x/console-web/examples/projects/update-platform.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/projects/update-service-status.md b/docs/examples/1.1.x/console-web/examples/projects/update-service-status.md index 0e70a446d5..42a99c7002 100644 --- a/docs/examples/1.1.x/console-web/examples/projects/update-service-status.md +++ b/docs/examples/1.1.x/console-web/examples/projects/update-service-status.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/projects/update-webhook-signature.md b/docs/examples/1.1.x/console-web/examples/projects/update-webhook-signature.md index f0de96ea86..4993c29835 100644 --- a/docs/examples/1.1.x/console-web/examples/projects/update-webhook-signature.md +++ b/docs/examples/1.1.x/console-web/examples/projects/update-webhook-signature.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/projects/update-webhook.md b/docs/examples/1.1.x/console-web/examples/projects/update-webhook.md index 561ea88783..55f947e276 100644 --- a/docs/examples/1.1.x/console-web/examples/projects/update-webhook.md +++ b/docs/examples/1.1.x/console-web/examples/projects/update-webhook.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/projects/update.md b/docs/examples/1.1.x/console-web/examples/projects/update.md index aabb6b1f3c..99dc30f82a 100644 --- a/docs/examples/1.1.x/console-web/examples/projects/update.md +++ b/docs/examples/1.1.x/console-web/examples/projects/update.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/storage/create-bucket.md b/docs/examples/1.1.x/console-web/examples/storage/create-bucket.md index 09877bec8f..243a8d4b6d 100644 --- a/docs/examples/1.1.x/console-web/examples/storage/create-bucket.md +++ b/docs/examples/1.1.x/console-web/examples/storage/create-bucket.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/storage/create-file.md b/docs/examples/1.1.x/console-web/examples/storage/create-file.md index 0cddb08690..8e84ec8cee 100644 --- a/docs/examples/1.1.x/console-web/examples/storage/create-file.md +++ b/docs/examples/1.1.x/console-web/examples/storage/create-file.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/storage/delete-bucket.md b/docs/examples/1.1.x/console-web/examples/storage/delete-bucket.md index e0ebeef67c..356608c38c 100644 --- a/docs/examples/1.1.x/console-web/examples/storage/delete-bucket.md +++ b/docs/examples/1.1.x/console-web/examples/storage/delete-bucket.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/storage/delete-file.md b/docs/examples/1.1.x/console-web/examples/storage/delete-file.md index 257d855c32..47416bbb8f 100644 --- a/docs/examples/1.1.x/console-web/examples/storage/delete-file.md +++ b/docs/examples/1.1.x/console-web/examples/storage/delete-file.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/storage/get-bucket-usage.md b/docs/examples/1.1.x/console-web/examples/storage/get-bucket-usage.md index 173eb4b2d7..1cccc62624 100644 --- a/docs/examples/1.1.x/console-web/examples/storage/get-bucket-usage.md +++ b/docs/examples/1.1.x/console-web/examples/storage/get-bucket-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/storage/get-bucket.md b/docs/examples/1.1.x/console-web/examples/storage/get-bucket.md index 4c41b9cbed..64e35f4cc0 100644 --- a/docs/examples/1.1.x/console-web/examples/storage/get-bucket.md +++ b/docs/examples/1.1.x/console-web/examples/storage/get-bucket.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/storage/get-file-download.md b/docs/examples/1.1.x/console-web/examples/storage/get-file-download.md index d8a3542aab..d9f4cd1895 100644 --- a/docs/examples/1.1.x/console-web/examples/storage/get-file-download.md +++ b/docs/examples/1.1.x/console-web/examples/storage/get-file-download.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/storage/get-file-preview.md b/docs/examples/1.1.x/console-web/examples/storage/get-file-preview.md index f0588ba7dc..d2d4731322 100644 --- a/docs/examples/1.1.x/console-web/examples/storage/get-file-preview.md +++ b/docs/examples/1.1.x/console-web/examples/storage/get-file-preview.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/storage/get-file-view.md b/docs/examples/1.1.x/console-web/examples/storage/get-file-view.md index 5eb2855bef..e9d0ff6d8d 100644 --- a/docs/examples/1.1.x/console-web/examples/storage/get-file-view.md +++ b/docs/examples/1.1.x/console-web/examples/storage/get-file-view.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/storage/get-file.md b/docs/examples/1.1.x/console-web/examples/storage/get-file.md index 6b39ee386e..e326154a4e 100644 --- a/docs/examples/1.1.x/console-web/examples/storage/get-file.md +++ b/docs/examples/1.1.x/console-web/examples/storage/get-file.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/storage/get-usage.md b/docs/examples/1.1.x/console-web/examples/storage/get-usage.md index 36a58ec951..9567f6e1ce 100644 --- a/docs/examples/1.1.x/console-web/examples/storage/get-usage.md +++ b/docs/examples/1.1.x/console-web/examples/storage/get-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/storage/list-buckets.md b/docs/examples/1.1.x/console-web/examples/storage/list-buckets.md index 286f103c68..26935e6814 100644 --- a/docs/examples/1.1.x/console-web/examples/storage/list-buckets.md +++ b/docs/examples/1.1.x/console-web/examples/storage/list-buckets.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/storage/list-files.md b/docs/examples/1.1.x/console-web/examples/storage/list-files.md index 696d4013cd..7faeb85cb1 100644 --- a/docs/examples/1.1.x/console-web/examples/storage/list-files.md +++ b/docs/examples/1.1.x/console-web/examples/storage/list-files.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/storage/update-bucket.md b/docs/examples/1.1.x/console-web/examples/storage/update-bucket.md index e1b4607285..f0aff44dd3 100644 --- a/docs/examples/1.1.x/console-web/examples/storage/update-bucket.md +++ b/docs/examples/1.1.x/console-web/examples/storage/update-bucket.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/storage/update-file.md b/docs/examples/1.1.x/console-web/examples/storage/update-file.md index d22a2f6a11..747044dc30 100644 --- a/docs/examples/1.1.x/console-web/examples/storage/update-file.md +++ b/docs/examples/1.1.x/console-web/examples/storage/update-file.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/teams/create-membership.md b/docs/examples/1.1.x/console-web/examples/teams/create-membership.md index 655f798288..85fb1ef124 100644 --- a/docs/examples/1.1.x/console-web/examples/teams/create-membership.md +++ b/docs/examples/1.1.x/console-web/examples/teams/create-membership.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/teams/create.md b/docs/examples/1.1.x/console-web/examples/teams/create.md index c9037e9575..382b759d9c 100644 --- a/docs/examples/1.1.x/console-web/examples/teams/create.md +++ b/docs/examples/1.1.x/console-web/examples/teams/create.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/teams/delete-membership.md b/docs/examples/1.1.x/console-web/examples/teams/delete-membership.md index c42d669457..76232de1ab 100644 --- a/docs/examples/1.1.x/console-web/examples/teams/delete-membership.md +++ b/docs/examples/1.1.x/console-web/examples/teams/delete-membership.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/teams/delete.md b/docs/examples/1.1.x/console-web/examples/teams/delete.md index 0c99b7aab8..2e5e839551 100644 --- a/docs/examples/1.1.x/console-web/examples/teams/delete.md +++ b/docs/examples/1.1.x/console-web/examples/teams/delete.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/teams/get-membership.md b/docs/examples/1.1.x/console-web/examples/teams/get-membership.md index d4d3c5a65d..0e2c145445 100644 --- a/docs/examples/1.1.x/console-web/examples/teams/get-membership.md +++ b/docs/examples/1.1.x/console-web/examples/teams/get-membership.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/teams/get.md b/docs/examples/1.1.x/console-web/examples/teams/get.md index 396916ed41..cdf8812225 100644 --- a/docs/examples/1.1.x/console-web/examples/teams/get.md +++ b/docs/examples/1.1.x/console-web/examples/teams/get.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/teams/list-logs.md b/docs/examples/1.1.x/console-web/examples/teams/list-logs.md index cb345448f3..3d62726082 100644 --- a/docs/examples/1.1.x/console-web/examples/teams/list-logs.md +++ b/docs/examples/1.1.x/console-web/examples/teams/list-logs.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/teams/list-memberships.md b/docs/examples/1.1.x/console-web/examples/teams/list-memberships.md index dfa0163037..845d0ce229 100644 --- a/docs/examples/1.1.x/console-web/examples/teams/list-memberships.md +++ b/docs/examples/1.1.x/console-web/examples/teams/list-memberships.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/teams/list.md b/docs/examples/1.1.x/console-web/examples/teams/list.md index daf799b95a..97b4ca31f3 100644 --- a/docs/examples/1.1.x/console-web/examples/teams/list.md +++ b/docs/examples/1.1.x/console-web/examples/teams/list.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/teams/update-membership-roles.md b/docs/examples/1.1.x/console-web/examples/teams/update-membership-roles.md index 55b2267e4e..fd0c6f46fc 100644 --- a/docs/examples/1.1.x/console-web/examples/teams/update-membership-roles.md +++ b/docs/examples/1.1.x/console-web/examples/teams/update-membership-roles.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/teams/update-membership-status.md b/docs/examples/1.1.x/console-web/examples/teams/update-membership-status.md index de1b7f8402..5ef0b2289c 100644 --- a/docs/examples/1.1.x/console-web/examples/teams/update-membership-status.md +++ b/docs/examples/1.1.x/console-web/examples/teams/update-membership-status.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/teams/update.md b/docs/examples/1.1.x/console-web/examples/teams/update.md index e10252e73f..016d53add8 100644 --- a/docs/examples/1.1.x/console-web/examples/teams/update.md +++ b/docs/examples/1.1.x/console-web/examples/teams/update.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/users/create-argon2user.md b/docs/examples/1.1.x/console-web/examples/users/create-argon2user.md index 8f607e82da..42aa7d9c8b 100644 --- a/docs/examples/1.1.x/console-web/examples/users/create-argon2user.md +++ b/docs/examples/1.1.x/console-web/examples/users/create-argon2user.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/users/create-bcrypt-user.md b/docs/examples/1.1.x/console-web/examples/users/create-bcrypt-user.md index fb5e741d80..4844f09631 100644 --- a/docs/examples/1.1.x/console-web/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.1.x/console-web/examples/users/create-bcrypt-user.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/users/create-m-d5user.md b/docs/examples/1.1.x/console-web/examples/users/create-m-d5user.md index 900813773e..15351bff92 100644 --- a/docs/examples/1.1.x/console-web/examples/users/create-m-d5user.md +++ b/docs/examples/1.1.x/console-web/examples/users/create-m-d5user.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/users/create-p-h-pass-user.md b/docs/examples/1.1.x/console-web/examples/users/create-p-h-pass-user.md index 9fb748b587..c1a40c52ff 100644 --- a/docs/examples/1.1.x/console-web/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.1.x/console-web/examples/users/create-p-h-pass-user.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/users/create-s-h-a-user.md b/docs/examples/1.1.x/console-web/examples/users/create-s-h-a-user.md index 315c188056..c94c89bdc6 100644 --- a/docs/examples/1.1.x/console-web/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.1.x/console-web/examples/users/create-s-h-a-user.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/users/create-scrypt-modified-user.md b/docs/examples/1.1.x/console-web/examples/users/create-scrypt-modified-user.md index ddc78281ed..b6c0dd728d 100644 --- a/docs/examples/1.1.x/console-web/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.1.x/console-web/examples/users/create-scrypt-modified-user.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/users/create-scrypt-user.md b/docs/examples/1.1.x/console-web/examples/users/create-scrypt-user.md index 77252face9..2a827f74a5 100644 --- a/docs/examples/1.1.x/console-web/examples/users/create-scrypt-user.md +++ b/docs/examples/1.1.x/console-web/examples/users/create-scrypt-user.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/users/create.md b/docs/examples/1.1.x/console-web/examples/users/create.md index 832ce5b90d..bb11fa30c6 100644 --- a/docs/examples/1.1.x/console-web/examples/users/create.md +++ b/docs/examples/1.1.x/console-web/examples/users/create.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/users/delete-session.md b/docs/examples/1.1.x/console-web/examples/users/delete-session.md index 80b0428c85..6352efc3ba 100644 --- a/docs/examples/1.1.x/console-web/examples/users/delete-session.md +++ b/docs/examples/1.1.x/console-web/examples/users/delete-session.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/users/delete-sessions.md b/docs/examples/1.1.x/console-web/examples/users/delete-sessions.md index 2e56048893..44ac9689c1 100644 --- a/docs/examples/1.1.x/console-web/examples/users/delete-sessions.md +++ b/docs/examples/1.1.x/console-web/examples/users/delete-sessions.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/users/delete.md b/docs/examples/1.1.x/console-web/examples/users/delete.md index 29027f83e2..5bb8612e55 100644 --- a/docs/examples/1.1.x/console-web/examples/users/delete.md +++ b/docs/examples/1.1.x/console-web/examples/users/delete.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/users/get-prefs.md b/docs/examples/1.1.x/console-web/examples/users/get-prefs.md index a835f9b30e..e58e0081f7 100644 --- a/docs/examples/1.1.x/console-web/examples/users/get-prefs.md +++ b/docs/examples/1.1.x/console-web/examples/users/get-prefs.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/users/get-usage.md b/docs/examples/1.1.x/console-web/examples/users/get-usage.md index 60060b3db4..84d3fee62a 100644 --- a/docs/examples/1.1.x/console-web/examples/users/get-usage.md +++ b/docs/examples/1.1.x/console-web/examples/users/get-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/users/get.md b/docs/examples/1.1.x/console-web/examples/users/get.md index dbcc06ae7e..1c91eabd95 100644 --- a/docs/examples/1.1.x/console-web/examples/users/get.md +++ b/docs/examples/1.1.x/console-web/examples/users/get.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/users/list-logs.md b/docs/examples/1.1.x/console-web/examples/users/list-logs.md index 8c7a5c652f..2d8941191e 100644 --- a/docs/examples/1.1.x/console-web/examples/users/list-logs.md +++ b/docs/examples/1.1.x/console-web/examples/users/list-logs.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/users/list-memberships.md b/docs/examples/1.1.x/console-web/examples/users/list-memberships.md index b4b091e9ae..075dfec272 100644 --- a/docs/examples/1.1.x/console-web/examples/users/list-memberships.md +++ b/docs/examples/1.1.x/console-web/examples/users/list-memberships.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/users/list-sessions.md b/docs/examples/1.1.x/console-web/examples/users/list-sessions.md index 7c9a2b371b..29e9bacbb8 100644 --- a/docs/examples/1.1.x/console-web/examples/users/list-sessions.md +++ b/docs/examples/1.1.x/console-web/examples/users/list-sessions.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/users/list.md b/docs/examples/1.1.x/console-web/examples/users/list.md index 6500408d6e..2211b62092 100644 --- a/docs/examples/1.1.x/console-web/examples/users/list.md +++ b/docs/examples/1.1.x/console-web/examples/users/list.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/users/update-email-verification.md b/docs/examples/1.1.x/console-web/examples/users/update-email-verification.md index a34cf45d4c..4d3ec30a1b 100644 --- a/docs/examples/1.1.x/console-web/examples/users/update-email-verification.md +++ b/docs/examples/1.1.x/console-web/examples/users/update-email-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/users/update-email.md b/docs/examples/1.1.x/console-web/examples/users/update-email.md index 4f050b433b..aec5f2d344 100644 --- a/docs/examples/1.1.x/console-web/examples/users/update-email.md +++ b/docs/examples/1.1.x/console-web/examples/users/update-email.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/users/update-name.md b/docs/examples/1.1.x/console-web/examples/users/update-name.md index eb2f415915..78b896b930 100644 --- a/docs/examples/1.1.x/console-web/examples/users/update-name.md +++ b/docs/examples/1.1.x/console-web/examples/users/update-name.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/users/update-password.md b/docs/examples/1.1.x/console-web/examples/users/update-password.md index 3723d7199b..c386abbaa2 100644 --- a/docs/examples/1.1.x/console-web/examples/users/update-password.md +++ b/docs/examples/1.1.x/console-web/examples/users/update-password.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/users/update-phone-verification.md b/docs/examples/1.1.x/console-web/examples/users/update-phone-verification.md index 962d1a6aba..b2b6c22d1e 100644 --- a/docs/examples/1.1.x/console-web/examples/users/update-phone-verification.md +++ b/docs/examples/1.1.x/console-web/examples/users/update-phone-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/users/update-phone.md b/docs/examples/1.1.x/console-web/examples/users/update-phone.md index fabc44c0af..4a81b385e8 100644 --- a/docs/examples/1.1.x/console-web/examples/users/update-phone.md +++ b/docs/examples/1.1.x/console-web/examples/users/update-phone.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/users/update-prefs.md b/docs/examples/1.1.x/console-web/examples/users/update-prefs.md index 36d9a493e3..e26da0dbb2 100644 --- a/docs/examples/1.1.x/console-web/examples/users/update-prefs.md +++ b/docs/examples/1.1.x/console-web/examples/users/update-prefs.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/console-web/examples/users/update-status.md b/docs/examples/1.1.x/console-web/examples/users/update-status.md index 4e8d9dfd10..691e5064b0 100644 --- a/docs/examples/1.1.x/console-web/examples/users/update-status.md +++ b/docs/examples/1.1.x/console-web/examples/users/update-status.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.1.x/server-dart/examples/account/create-phone-verification.md b/docs/examples/1.1.x/server-dart/examples/account/create-phone-verification.md index 912f8c3b1e..85ea968b94 100644 --- a/docs/examples/1.1.x/server-dart/examples/account/create-phone-verification.md +++ b/docs/examples/1.1.x/server-dart/examples/account/create-phone-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-dart/examples/account/create-recovery.md b/docs/examples/1.1.x/server-dart/examples/account/create-recovery.md index d9f13957c7..0fe2889a76 100644 --- a/docs/examples/1.1.x/server-dart/examples/account/create-recovery.md +++ b/docs/examples/1.1.x/server-dart/examples/account/create-recovery.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-dart/examples/account/create-verification.md b/docs/examples/1.1.x/server-dart/examples/account/create-verification.md index cca3c7b774..8daf5d7b1f 100644 --- a/docs/examples/1.1.x/server-dart/examples/account/create-verification.md +++ b/docs/examples/1.1.x/server-dart/examples/account/create-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-dart/examples/account/delete-session.md b/docs/examples/1.1.x/server-dart/examples/account/delete-session.md index 9486ec9b80..92a0fee9a2 100644 --- a/docs/examples/1.1.x/server-dart/examples/account/delete-session.md +++ b/docs/examples/1.1.x/server-dart/examples/account/delete-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-dart/examples/account/delete-sessions.md b/docs/examples/1.1.x/server-dart/examples/account/delete-sessions.md index a5732cb68e..2477115be1 100644 --- a/docs/examples/1.1.x/server-dart/examples/account/delete-sessions.md +++ b/docs/examples/1.1.x/server-dart/examples/account/delete-sessions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-dart/examples/account/get-prefs.md b/docs/examples/1.1.x/server-dart/examples/account/get-prefs.md index 527a71f3b1..fcf164dde0 100644 --- a/docs/examples/1.1.x/server-dart/examples/account/get-prefs.md +++ b/docs/examples/1.1.x/server-dart/examples/account/get-prefs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-dart/examples/account/get-session.md b/docs/examples/1.1.x/server-dart/examples/account/get-session.md index 6eb711ab4d..029d7bc3d9 100644 --- a/docs/examples/1.1.x/server-dart/examples/account/get-session.md +++ b/docs/examples/1.1.x/server-dart/examples/account/get-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-dart/examples/account/get.md b/docs/examples/1.1.x/server-dart/examples/account/get.md index c72fdddb10..805061bd70 100644 --- a/docs/examples/1.1.x/server-dart/examples/account/get.md +++ b/docs/examples/1.1.x/server-dart/examples/account/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-dart/examples/account/list-logs.md b/docs/examples/1.1.x/server-dart/examples/account/list-logs.md index 68d2c49f74..41cdad74c0 100644 --- a/docs/examples/1.1.x/server-dart/examples/account/list-logs.md +++ b/docs/examples/1.1.x/server-dart/examples/account/list-logs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-dart/examples/account/list-sessions.md b/docs/examples/1.1.x/server-dart/examples/account/list-sessions.md index 0d6567b5f3..30bb6fc8c9 100644 --- a/docs/examples/1.1.x/server-dart/examples/account/list-sessions.md +++ b/docs/examples/1.1.x/server-dart/examples/account/list-sessions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-dart/examples/account/update-email.md b/docs/examples/1.1.x/server-dart/examples/account/update-email.md index b83f7d86da..ad77ccfd9a 100644 --- a/docs/examples/1.1.x/server-dart/examples/account/update-email.md +++ b/docs/examples/1.1.x/server-dart/examples/account/update-email.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-dart/examples/account/update-name.md b/docs/examples/1.1.x/server-dart/examples/account/update-name.md index 0bd27cf204..7df0f9cc01 100644 --- a/docs/examples/1.1.x/server-dart/examples/account/update-name.md +++ b/docs/examples/1.1.x/server-dart/examples/account/update-name.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-dart/examples/account/update-password.md b/docs/examples/1.1.x/server-dart/examples/account/update-password.md index 6d8cfce1a2..8c7c3b5f95 100644 --- a/docs/examples/1.1.x/server-dart/examples/account/update-password.md +++ b/docs/examples/1.1.x/server-dart/examples/account/update-password.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-dart/examples/account/update-phone-verification.md b/docs/examples/1.1.x/server-dart/examples/account/update-phone-verification.md index f2995b9b93..4892311ef2 100644 --- a/docs/examples/1.1.x/server-dart/examples/account/update-phone-verification.md +++ b/docs/examples/1.1.x/server-dart/examples/account/update-phone-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-dart/examples/account/update-phone.md b/docs/examples/1.1.x/server-dart/examples/account/update-phone.md index 5848da5d10..465593c0ab 100644 --- a/docs/examples/1.1.x/server-dart/examples/account/update-phone.md +++ b/docs/examples/1.1.x/server-dart/examples/account/update-phone.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-dart/examples/account/update-prefs.md b/docs/examples/1.1.x/server-dart/examples/account/update-prefs.md index ffbe700288..7ffef542be 100644 --- a/docs/examples/1.1.x/server-dart/examples/account/update-prefs.md +++ b/docs/examples/1.1.x/server-dart/examples/account/update-prefs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-dart/examples/account/update-recovery.md b/docs/examples/1.1.x/server-dart/examples/account/update-recovery.md index c2cf9d2396..e3ade8270b 100644 --- a/docs/examples/1.1.x/server-dart/examples/account/update-recovery.md +++ b/docs/examples/1.1.x/server-dart/examples/account/update-recovery.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-dart/examples/account/update-session.md b/docs/examples/1.1.x/server-dart/examples/account/update-session.md index 61e11e27af..859f1a81f7 100644 --- a/docs/examples/1.1.x/server-dart/examples/account/update-session.md +++ b/docs/examples/1.1.x/server-dart/examples/account/update-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-dart/examples/account/update-status.md b/docs/examples/1.1.x/server-dart/examples/account/update-status.md index 12f733334a..610784294a 100644 --- a/docs/examples/1.1.x/server-dart/examples/account/update-status.md +++ b/docs/examples/1.1.x/server-dart/examples/account/update-status.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-dart/examples/account/update-verification.md b/docs/examples/1.1.x/server-dart/examples/account/update-verification.md index 40e36426a1..7b291b6160 100644 --- a/docs/examples/1.1.x/server-dart/examples/account/update-verification.md +++ b/docs/examples/1.1.x/server-dart/examples/account/update-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-dart/examples/avatars/get-browser.md b/docs/examples/1.1.x/server-dart/examples/avatars/get-browser.md index 0bac9df4ef..abca00ba4b 100644 --- a/docs/examples/1.1.x/server-dart/examples/avatars/get-browser.md +++ b/docs/examples/1.1.x/server-dart/examples/avatars/get-browser.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/avatars/get-credit-card.md b/docs/examples/1.1.x/server-dart/examples/avatars/get-credit-card.md index b9a8166e48..b50b1304f9 100644 --- a/docs/examples/1.1.x/server-dart/examples/avatars/get-credit-card.md +++ b/docs/examples/1.1.x/server-dart/examples/avatars/get-credit-card.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/avatars/get-favicon.md b/docs/examples/1.1.x/server-dart/examples/avatars/get-favicon.md index 6a728e7792..a547908fa4 100644 --- a/docs/examples/1.1.x/server-dart/examples/avatars/get-favicon.md +++ b/docs/examples/1.1.x/server-dart/examples/avatars/get-favicon.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/avatars/get-flag.md b/docs/examples/1.1.x/server-dart/examples/avatars/get-flag.md index 02e4880926..8e2d9f1490 100644 --- a/docs/examples/1.1.x/server-dart/examples/avatars/get-flag.md +++ b/docs/examples/1.1.x/server-dart/examples/avatars/get-flag.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/avatars/get-image.md b/docs/examples/1.1.x/server-dart/examples/avatars/get-image.md index b1d5e33884..746ec079b0 100644 --- a/docs/examples/1.1.x/server-dart/examples/avatars/get-image.md +++ b/docs/examples/1.1.x/server-dart/examples/avatars/get-image.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/avatars/get-initials.md b/docs/examples/1.1.x/server-dart/examples/avatars/get-initials.md index 5a68caf1d9..c979fddd08 100644 --- a/docs/examples/1.1.x/server-dart/examples/avatars/get-initials.md +++ b/docs/examples/1.1.x/server-dart/examples/avatars/get-initials.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/avatars/get-q-r.md b/docs/examples/1.1.x/server-dart/examples/avatars/get-q-r.md index 8283b9bdf4..6ab3cf709d 100644 --- a/docs/examples/1.1.x/server-dart/examples/avatars/get-q-r.md +++ b/docs/examples/1.1.x/server-dart/examples/avatars/get-q-r.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/databases/create-boolean-attribute.md b/docs/examples/1.1.x/server-dart/examples/databases/create-boolean-attribute.md index 224719685b..0fb759bcb2 100644 --- a/docs/examples/1.1.x/server-dart/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.1.x/server-dart/examples/databases/create-boolean-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/databases/create-collection.md b/docs/examples/1.1.x/server-dart/examples/databases/create-collection.md index c90183deed..e63877b39f 100644 --- a/docs/examples/1.1.x/server-dart/examples/databases/create-collection.md +++ b/docs/examples/1.1.x/server-dart/examples/databases/create-collection.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/databases/create-datetime-attribute.md b/docs/examples/1.1.x/server-dart/examples/databases/create-datetime-attribute.md index 24c44088f3..f56eec54ec 100644 --- a/docs/examples/1.1.x/server-dart/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.1.x/server-dart/examples/databases/create-datetime-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/databases/create-document.md b/docs/examples/1.1.x/server-dart/examples/databases/create-document.md index 00d844da0f..1f6f6b9703 100644 --- a/docs/examples/1.1.x/server-dart/examples/databases/create-document.md +++ b/docs/examples/1.1.x/server-dart/examples/databases/create-document.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/databases/create-email-attribute.md b/docs/examples/1.1.x/server-dart/examples/databases/create-email-attribute.md index 92fd32037b..ea1ebfb480 100644 --- a/docs/examples/1.1.x/server-dart/examples/databases/create-email-attribute.md +++ b/docs/examples/1.1.x/server-dart/examples/databases/create-email-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/databases/create-enum-attribute.md b/docs/examples/1.1.x/server-dart/examples/databases/create-enum-attribute.md index fa8ad92015..03773c58eb 100644 --- a/docs/examples/1.1.x/server-dart/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.1.x/server-dart/examples/databases/create-enum-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/databases/create-float-attribute.md b/docs/examples/1.1.x/server-dart/examples/databases/create-float-attribute.md index 96047bf2b2..94c716b9d4 100644 --- a/docs/examples/1.1.x/server-dart/examples/databases/create-float-attribute.md +++ b/docs/examples/1.1.x/server-dart/examples/databases/create-float-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/databases/create-index.md b/docs/examples/1.1.x/server-dart/examples/databases/create-index.md index c16a02719e..248d9632a0 100644 --- a/docs/examples/1.1.x/server-dart/examples/databases/create-index.md +++ b/docs/examples/1.1.x/server-dart/examples/databases/create-index.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/databases/create-integer-attribute.md b/docs/examples/1.1.x/server-dart/examples/databases/create-integer-attribute.md index bc4f12f0c4..4b1d76195d 100644 --- a/docs/examples/1.1.x/server-dart/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.1.x/server-dart/examples/databases/create-integer-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/databases/create-ip-attribute.md b/docs/examples/1.1.x/server-dart/examples/databases/create-ip-attribute.md index ef3e985a38..4b3586ae34 100644 --- a/docs/examples/1.1.x/server-dart/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.1.x/server-dart/examples/databases/create-ip-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/databases/create-string-attribute.md b/docs/examples/1.1.x/server-dart/examples/databases/create-string-attribute.md index 14f2769dbb..ed973e8c53 100644 --- a/docs/examples/1.1.x/server-dart/examples/databases/create-string-attribute.md +++ b/docs/examples/1.1.x/server-dart/examples/databases/create-string-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/databases/create-url-attribute.md b/docs/examples/1.1.x/server-dart/examples/databases/create-url-attribute.md index 4cf3e99a72..62b6970b27 100644 --- a/docs/examples/1.1.x/server-dart/examples/databases/create-url-attribute.md +++ b/docs/examples/1.1.x/server-dart/examples/databases/create-url-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/databases/create.md b/docs/examples/1.1.x/server-dart/examples/databases/create.md index cbaf3b742d..390baabb61 100644 --- a/docs/examples/1.1.x/server-dart/examples/databases/create.md +++ b/docs/examples/1.1.x/server-dart/examples/databases/create.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/databases/delete-attribute.md b/docs/examples/1.1.x/server-dart/examples/databases/delete-attribute.md index e9865bfe22..b52ba1f39d 100644 --- a/docs/examples/1.1.x/server-dart/examples/databases/delete-attribute.md +++ b/docs/examples/1.1.x/server-dart/examples/databases/delete-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/databases/delete-collection.md b/docs/examples/1.1.x/server-dart/examples/databases/delete-collection.md index 5886920115..8de343f869 100644 --- a/docs/examples/1.1.x/server-dart/examples/databases/delete-collection.md +++ b/docs/examples/1.1.x/server-dart/examples/databases/delete-collection.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/databases/delete-document.md b/docs/examples/1.1.x/server-dart/examples/databases/delete-document.md index 0d298f3b42..bcb4b7a2da 100644 --- a/docs/examples/1.1.x/server-dart/examples/databases/delete-document.md +++ b/docs/examples/1.1.x/server-dart/examples/databases/delete-document.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/databases/delete-index.md b/docs/examples/1.1.x/server-dart/examples/databases/delete-index.md index be5b2a5c9f..8422593fe5 100644 --- a/docs/examples/1.1.x/server-dart/examples/databases/delete-index.md +++ b/docs/examples/1.1.x/server-dart/examples/databases/delete-index.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/databases/delete.md b/docs/examples/1.1.x/server-dart/examples/databases/delete.md index ff19beea69..bd4c483f01 100644 --- a/docs/examples/1.1.x/server-dart/examples/databases/delete.md +++ b/docs/examples/1.1.x/server-dart/examples/databases/delete.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/databases/get-attribute.md b/docs/examples/1.1.x/server-dart/examples/databases/get-attribute.md index c27ddb648c..e066f70d13 100644 --- a/docs/examples/1.1.x/server-dart/examples/databases/get-attribute.md +++ b/docs/examples/1.1.x/server-dart/examples/databases/get-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/databases/get-collection.md b/docs/examples/1.1.x/server-dart/examples/databases/get-collection.md index 359f0df829..2678a1a543 100644 --- a/docs/examples/1.1.x/server-dart/examples/databases/get-collection.md +++ b/docs/examples/1.1.x/server-dart/examples/databases/get-collection.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/databases/get-document.md b/docs/examples/1.1.x/server-dart/examples/databases/get-document.md index 2141abf4be..4c5beadccf 100644 --- a/docs/examples/1.1.x/server-dart/examples/databases/get-document.md +++ b/docs/examples/1.1.x/server-dart/examples/databases/get-document.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/databases/get-index.md b/docs/examples/1.1.x/server-dart/examples/databases/get-index.md index 2b8a90318d..9b881f7d78 100644 --- a/docs/examples/1.1.x/server-dart/examples/databases/get-index.md +++ b/docs/examples/1.1.x/server-dart/examples/databases/get-index.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/databases/get.md b/docs/examples/1.1.x/server-dart/examples/databases/get.md index f0cc118b96..7a2d959101 100644 --- a/docs/examples/1.1.x/server-dart/examples/databases/get.md +++ b/docs/examples/1.1.x/server-dart/examples/databases/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/databases/list-attributes.md b/docs/examples/1.1.x/server-dart/examples/databases/list-attributes.md index 60ca58f3c3..1c9d635195 100644 --- a/docs/examples/1.1.x/server-dart/examples/databases/list-attributes.md +++ b/docs/examples/1.1.x/server-dart/examples/databases/list-attributes.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/databases/list-collections.md b/docs/examples/1.1.x/server-dart/examples/databases/list-collections.md index a10038db11..cd120817dc 100644 --- a/docs/examples/1.1.x/server-dart/examples/databases/list-collections.md +++ b/docs/examples/1.1.x/server-dart/examples/databases/list-collections.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/databases/list-documents.md b/docs/examples/1.1.x/server-dart/examples/databases/list-documents.md index 70299774fb..41703ae26b 100644 --- a/docs/examples/1.1.x/server-dart/examples/databases/list-documents.md +++ b/docs/examples/1.1.x/server-dart/examples/databases/list-documents.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/databases/list-indexes.md b/docs/examples/1.1.x/server-dart/examples/databases/list-indexes.md index 6703ebf35a..d959370fc6 100644 --- a/docs/examples/1.1.x/server-dart/examples/databases/list-indexes.md +++ b/docs/examples/1.1.x/server-dart/examples/databases/list-indexes.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/databases/list.md b/docs/examples/1.1.x/server-dart/examples/databases/list.md index d9bd06ad34..da25b576d7 100644 --- a/docs/examples/1.1.x/server-dart/examples/databases/list.md +++ b/docs/examples/1.1.x/server-dart/examples/databases/list.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/databases/update-collection.md b/docs/examples/1.1.x/server-dart/examples/databases/update-collection.md index a5f32dead1..4501459265 100644 --- a/docs/examples/1.1.x/server-dart/examples/databases/update-collection.md +++ b/docs/examples/1.1.x/server-dart/examples/databases/update-collection.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/databases/update-document.md b/docs/examples/1.1.x/server-dart/examples/databases/update-document.md index fb08413f2f..4b34007c49 100644 --- a/docs/examples/1.1.x/server-dart/examples/databases/update-document.md +++ b/docs/examples/1.1.x/server-dart/examples/databases/update-document.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/databases/update.md b/docs/examples/1.1.x/server-dart/examples/databases/update.md index 59070cefa9..7187605e81 100644 --- a/docs/examples/1.1.x/server-dart/examples/databases/update.md +++ b/docs/examples/1.1.x/server-dart/examples/databases/update.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/functions/create-build.md b/docs/examples/1.1.x/server-dart/examples/functions/create-build.md index 530ba6deab..eea5cc14c0 100644 --- a/docs/examples/1.1.x/server-dart/examples/functions/create-build.md +++ b/docs/examples/1.1.x/server-dart/examples/functions/create-build.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/functions/create-deployment.md b/docs/examples/1.1.x/server-dart/examples/functions/create-deployment.md index d646680db8..17683d2c86 100644 --- a/docs/examples/1.1.x/server-dart/examples/functions/create-deployment.md +++ b/docs/examples/1.1.x/server-dart/examples/functions/create-deployment.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/functions/create-execution.md b/docs/examples/1.1.x/server-dart/examples/functions/create-execution.md index f5de49f7cf..610579eef0 100644 --- a/docs/examples/1.1.x/server-dart/examples/functions/create-execution.md +++ b/docs/examples/1.1.x/server-dart/examples/functions/create-execution.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/functions/create-variable.md b/docs/examples/1.1.x/server-dart/examples/functions/create-variable.md index 50cd063ca1..2990bf98be 100644 --- a/docs/examples/1.1.x/server-dart/examples/functions/create-variable.md +++ b/docs/examples/1.1.x/server-dart/examples/functions/create-variable.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/functions/create.md b/docs/examples/1.1.x/server-dart/examples/functions/create.md index 923654d10a..16a5215d7c 100644 --- a/docs/examples/1.1.x/server-dart/examples/functions/create.md +++ b/docs/examples/1.1.x/server-dart/examples/functions/create.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/functions/delete-deployment.md b/docs/examples/1.1.x/server-dart/examples/functions/delete-deployment.md index e65380c501..339c0d60ce 100644 --- a/docs/examples/1.1.x/server-dart/examples/functions/delete-deployment.md +++ b/docs/examples/1.1.x/server-dart/examples/functions/delete-deployment.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/functions/delete-variable.md b/docs/examples/1.1.x/server-dart/examples/functions/delete-variable.md index 87c7f407b5..ad86ec73cb 100644 --- a/docs/examples/1.1.x/server-dart/examples/functions/delete-variable.md +++ b/docs/examples/1.1.x/server-dart/examples/functions/delete-variable.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/functions/delete.md b/docs/examples/1.1.x/server-dart/examples/functions/delete.md index 5163366912..276f7effa2 100644 --- a/docs/examples/1.1.x/server-dart/examples/functions/delete.md +++ b/docs/examples/1.1.x/server-dart/examples/functions/delete.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/functions/get-deployment.md b/docs/examples/1.1.x/server-dart/examples/functions/get-deployment.md index 9cab571e94..f46260a2ff 100644 --- a/docs/examples/1.1.x/server-dart/examples/functions/get-deployment.md +++ b/docs/examples/1.1.x/server-dart/examples/functions/get-deployment.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/functions/get-execution.md b/docs/examples/1.1.x/server-dart/examples/functions/get-execution.md index 6cadde6426..6749539306 100644 --- a/docs/examples/1.1.x/server-dart/examples/functions/get-execution.md +++ b/docs/examples/1.1.x/server-dart/examples/functions/get-execution.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/functions/get-variable.md b/docs/examples/1.1.x/server-dart/examples/functions/get-variable.md index 924bee2bff..7223c5add9 100644 --- a/docs/examples/1.1.x/server-dart/examples/functions/get-variable.md +++ b/docs/examples/1.1.x/server-dart/examples/functions/get-variable.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/functions/get.md b/docs/examples/1.1.x/server-dart/examples/functions/get.md index 503ab20709..1073d33b1a 100644 --- a/docs/examples/1.1.x/server-dart/examples/functions/get.md +++ b/docs/examples/1.1.x/server-dart/examples/functions/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/functions/list-deployments.md b/docs/examples/1.1.x/server-dart/examples/functions/list-deployments.md index b12f9eba87..d1b80ddd95 100644 --- a/docs/examples/1.1.x/server-dart/examples/functions/list-deployments.md +++ b/docs/examples/1.1.x/server-dart/examples/functions/list-deployments.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/functions/list-executions.md b/docs/examples/1.1.x/server-dart/examples/functions/list-executions.md index 3d66a4496a..255f38a299 100644 --- a/docs/examples/1.1.x/server-dart/examples/functions/list-executions.md +++ b/docs/examples/1.1.x/server-dart/examples/functions/list-executions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/functions/list-runtimes.md b/docs/examples/1.1.x/server-dart/examples/functions/list-runtimes.md index 091a1116f7..a91a501814 100644 --- a/docs/examples/1.1.x/server-dart/examples/functions/list-runtimes.md +++ b/docs/examples/1.1.x/server-dart/examples/functions/list-runtimes.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/functions/list-variables.md b/docs/examples/1.1.x/server-dart/examples/functions/list-variables.md index f3c6655b14..ea5e477987 100644 --- a/docs/examples/1.1.x/server-dart/examples/functions/list-variables.md +++ b/docs/examples/1.1.x/server-dart/examples/functions/list-variables.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/functions/list.md b/docs/examples/1.1.x/server-dart/examples/functions/list.md index 4f2b11404d..e5fde72144 100644 --- a/docs/examples/1.1.x/server-dart/examples/functions/list.md +++ b/docs/examples/1.1.x/server-dart/examples/functions/list.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/functions/update-deployment.md b/docs/examples/1.1.x/server-dart/examples/functions/update-deployment.md index d503aecb3b..cd9a57018a 100644 --- a/docs/examples/1.1.x/server-dart/examples/functions/update-deployment.md +++ b/docs/examples/1.1.x/server-dart/examples/functions/update-deployment.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/functions/update-variable.md b/docs/examples/1.1.x/server-dart/examples/functions/update-variable.md index 126d264470..d40a831970 100644 --- a/docs/examples/1.1.x/server-dart/examples/functions/update-variable.md +++ b/docs/examples/1.1.x/server-dart/examples/functions/update-variable.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/functions/update.md b/docs/examples/1.1.x/server-dart/examples/functions/update.md index 4a1b0f9b4d..973279f5f2 100644 --- a/docs/examples/1.1.x/server-dart/examples/functions/update.md +++ b/docs/examples/1.1.x/server-dart/examples/functions/update.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/health/get-antivirus.md b/docs/examples/1.1.x/server-dart/examples/health/get-antivirus.md index 922dcfa136..7b8d638d8e 100644 --- a/docs/examples/1.1.x/server-dart/examples/health/get-antivirus.md +++ b/docs/examples/1.1.x/server-dart/examples/health/get-antivirus.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/health/get-cache.md b/docs/examples/1.1.x/server-dart/examples/health/get-cache.md index 4b63edeee3..08ea1370d1 100644 --- a/docs/examples/1.1.x/server-dart/examples/health/get-cache.md +++ b/docs/examples/1.1.x/server-dart/examples/health/get-cache.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/health/get-d-b.md b/docs/examples/1.1.x/server-dart/examples/health/get-d-b.md index 65188c096e..30cf5c928f 100644 --- a/docs/examples/1.1.x/server-dart/examples/health/get-d-b.md +++ b/docs/examples/1.1.x/server-dart/examples/health/get-d-b.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/health/get-queue-certificates.md b/docs/examples/1.1.x/server-dart/examples/health/get-queue-certificates.md index 4063ab3514..884c6b31f1 100644 --- a/docs/examples/1.1.x/server-dart/examples/health/get-queue-certificates.md +++ b/docs/examples/1.1.x/server-dart/examples/health/get-queue-certificates.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/health/get-queue-functions.md b/docs/examples/1.1.x/server-dart/examples/health/get-queue-functions.md index 5ebaad6484..048fce8d32 100644 --- a/docs/examples/1.1.x/server-dart/examples/health/get-queue-functions.md +++ b/docs/examples/1.1.x/server-dart/examples/health/get-queue-functions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/health/get-queue-logs.md b/docs/examples/1.1.x/server-dart/examples/health/get-queue-logs.md index 11a5285439..4219552857 100644 --- a/docs/examples/1.1.x/server-dart/examples/health/get-queue-logs.md +++ b/docs/examples/1.1.x/server-dart/examples/health/get-queue-logs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/health/get-queue-webhooks.md b/docs/examples/1.1.x/server-dart/examples/health/get-queue-webhooks.md index a43f5f8423..5b012125e1 100644 --- a/docs/examples/1.1.x/server-dart/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.1.x/server-dart/examples/health/get-queue-webhooks.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/health/get-storage-local.md b/docs/examples/1.1.x/server-dart/examples/health/get-storage-local.md index 4a586690fe..e85aac8e01 100644 --- a/docs/examples/1.1.x/server-dart/examples/health/get-storage-local.md +++ b/docs/examples/1.1.x/server-dart/examples/health/get-storage-local.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/health/get-time.md b/docs/examples/1.1.x/server-dart/examples/health/get-time.md index d8166dd3d1..716216e6db 100644 --- a/docs/examples/1.1.x/server-dart/examples/health/get-time.md +++ b/docs/examples/1.1.x/server-dart/examples/health/get-time.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/health/get.md b/docs/examples/1.1.x/server-dart/examples/health/get.md index 1be37e5a93..2ea2ea669e 100644 --- a/docs/examples/1.1.x/server-dart/examples/health/get.md +++ b/docs/examples/1.1.x/server-dart/examples/health/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/locale/get.md b/docs/examples/1.1.x/server-dart/examples/locale/get.md index 9ecb18c52d..a3ebf5cefd 100644 --- a/docs/examples/1.1.x/server-dart/examples/locale/get.md +++ b/docs/examples/1.1.x/server-dart/examples/locale/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/locale/list-continents.md b/docs/examples/1.1.x/server-dart/examples/locale/list-continents.md index e6849303b1..a74df54886 100644 --- a/docs/examples/1.1.x/server-dart/examples/locale/list-continents.md +++ b/docs/examples/1.1.x/server-dart/examples/locale/list-continents.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/locale/list-countries-e-u.md b/docs/examples/1.1.x/server-dart/examples/locale/list-countries-e-u.md index 2d1ddcf8f0..2a81d9afef 100644 --- a/docs/examples/1.1.x/server-dart/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.1.x/server-dart/examples/locale/list-countries-e-u.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/locale/list-countries-phones.md b/docs/examples/1.1.x/server-dart/examples/locale/list-countries-phones.md index 2305701339..2d1400a960 100644 --- a/docs/examples/1.1.x/server-dart/examples/locale/list-countries-phones.md +++ b/docs/examples/1.1.x/server-dart/examples/locale/list-countries-phones.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/locale/list-countries.md b/docs/examples/1.1.x/server-dart/examples/locale/list-countries.md index ef1158339f..b4d00e52e7 100644 --- a/docs/examples/1.1.x/server-dart/examples/locale/list-countries.md +++ b/docs/examples/1.1.x/server-dart/examples/locale/list-countries.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/locale/list-currencies.md b/docs/examples/1.1.x/server-dart/examples/locale/list-currencies.md index 0810f3dafb..2c46eee2b2 100644 --- a/docs/examples/1.1.x/server-dart/examples/locale/list-currencies.md +++ b/docs/examples/1.1.x/server-dart/examples/locale/list-currencies.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/locale/list-languages.md b/docs/examples/1.1.x/server-dart/examples/locale/list-languages.md index f3d642cc48..6d1f00219e 100644 --- a/docs/examples/1.1.x/server-dart/examples/locale/list-languages.md +++ b/docs/examples/1.1.x/server-dart/examples/locale/list-languages.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/storage/create-bucket.md b/docs/examples/1.1.x/server-dart/examples/storage/create-bucket.md index 745a6b508d..647d846e06 100644 --- a/docs/examples/1.1.x/server-dart/examples/storage/create-bucket.md +++ b/docs/examples/1.1.x/server-dart/examples/storage/create-bucket.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/storage/create-file.md b/docs/examples/1.1.x/server-dart/examples/storage/create-file.md index ab4c661a54..760c95dcfb 100644 --- a/docs/examples/1.1.x/server-dart/examples/storage/create-file.md +++ b/docs/examples/1.1.x/server-dart/examples/storage/create-file.md @@ -6,7 +6,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/storage/delete-bucket.md b/docs/examples/1.1.x/server-dart/examples/storage/delete-bucket.md index de516561bd..a7c7065ba8 100644 --- a/docs/examples/1.1.x/server-dart/examples/storage/delete-bucket.md +++ b/docs/examples/1.1.x/server-dart/examples/storage/delete-bucket.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/storage/delete-file.md b/docs/examples/1.1.x/server-dart/examples/storage/delete-file.md index 8e4460bb00..ddb297c6b7 100644 --- a/docs/examples/1.1.x/server-dart/examples/storage/delete-file.md +++ b/docs/examples/1.1.x/server-dart/examples/storage/delete-file.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/storage/get-bucket.md b/docs/examples/1.1.x/server-dart/examples/storage/get-bucket.md index 9e39076e35..26fec00cdf 100644 --- a/docs/examples/1.1.x/server-dart/examples/storage/get-bucket.md +++ b/docs/examples/1.1.x/server-dart/examples/storage/get-bucket.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/storage/get-file-download.md b/docs/examples/1.1.x/server-dart/examples/storage/get-file-download.md index 6534fe33ff..632612a285 100644 --- a/docs/examples/1.1.x/server-dart/examples/storage/get-file-download.md +++ b/docs/examples/1.1.x/server-dart/examples/storage/get-file-download.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/storage/get-file-preview.md b/docs/examples/1.1.x/server-dart/examples/storage/get-file-preview.md index ca16d635b2..70f55e3e26 100644 --- a/docs/examples/1.1.x/server-dart/examples/storage/get-file-preview.md +++ b/docs/examples/1.1.x/server-dart/examples/storage/get-file-preview.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/storage/get-file-view.md b/docs/examples/1.1.x/server-dart/examples/storage/get-file-view.md index 5c3d69dcbc..59176877b0 100644 --- a/docs/examples/1.1.x/server-dart/examples/storage/get-file-view.md +++ b/docs/examples/1.1.x/server-dart/examples/storage/get-file-view.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/storage/get-file.md b/docs/examples/1.1.x/server-dart/examples/storage/get-file.md index bc45c3f1e8..024b7fc63d 100644 --- a/docs/examples/1.1.x/server-dart/examples/storage/get-file.md +++ b/docs/examples/1.1.x/server-dart/examples/storage/get-file.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/storage/list-buckets.md b/docs/examples/1.1.x/server-dart/examples/storage/list-buckets.md index 6a35febb39..fb46523303 100644 --- a/docs/examples/1.1.x/server-dart/examples/storage/list-buckets.md +++ b/docs/examples/1.1.x/server-dart/examples/storage/list-buckets.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/storage/list-files.md b/docs/examples/1.1.x/server-dart/examples/storage/list-files.md index 40b8d3bce5..bfafeb0b0a 100644 --- a/docs/examples/1.1.x/server-dart/examples/storage/list-files.md +++ b/docs/examples/1.1.x/server-dart/examples/storage/list-files.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/storage/update-bucket.md b/docs/examples/1.1.x/server-dart/examples/storage/update-bucket.md index 064d2f2e37..3bdc11240f 100644 --- a/docs/examples/1.1.x/server-dart/examples/storage/update-bucket.md +++ b/docs/examples/1.1.x/server-dart/examples/storage/update-bucket.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/storage/update-file.md b/docs/examples/1.1.x/server-dart/examples/storage/update-file.md index 2fa999a558..4e0178e27d 100644 --- a/docs/examples/1.1.x/server-dart/examples/storage/update-file.md +++ b/docs/examples/1.1.x/server-dart/examples/storage/update-file.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/teams/create-membership.md b/docs/examples/1.1.x/server-dart/examples/teams/create-membership.md index 16d875de28..f281632141 100644 --- a/docs/examples/1.1.x/server-dart/examples/teams/create-membership.md +++ b/docs/examples/1.1.x/server-dart/examples/teams/create-membership.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/teams/create.md b/docs/examples/1.1.x/server-dart/examples/teams/create.md index 74895b23a0..81c3a718d4 100644 --- a/docs/examples/1.1.x/server-dart/examples/teams/create.md +++ b/docs/examples/1.1.x/server-dart/examples/teams/create.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/teams/delete-membership.md b/docs/examples/1.1.x/server-dart/examples/teams/delete-membership.md index 8c135994d6..07d596a1b3 100644 --- a/docs/examples/1.1.x/server-dart/examples/teams/delete-membership.md +++ b/docs/examples/1.1.x/server-dart/examples/teams/delete-membership.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/teams/delete.md b/docs/examples/1.1.x/server-dart/examples/teams/delete.md index a5fee4d084..2505cdfacd 100644 --- a/docs/examples/1.1.x/server-dart/examples/teams/delete.md +++ b/docs/examples/1.1.x/server-dart/examples/teams/delete.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/teams/get-membership.md b/docs/examples/1.1.x/server-dart/examples/teams/get-membership.md index 4193b245f4..cf9d4b80a2 100644 --- a/docs/examples/1.1.x/server-dart/examples/teams/get-membership.md +++ b/docs/examples/1.1.x/server-dart/examples/teams/get-membership.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/teams/get.md b/docs/examples/1.1.x/server-dart/examples/teams/get.md index daa67c4eb8..8dd731b1be 100644 --- a/docs/examples/1.1.x/server-dart/examples/teams/get.md +++ b/docs/examples/1.1.x/server-dart/examples/teams/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/teams/list-memberships.md b/docs/examples/1.1.x/server-dart/examples/teams/list-memberships.md index 74c66c0319..71cdf466cc 100644 --- a/docs/examples/1.1.x/server-dart/examples/teams/list-memberships.md +++ b/docs/examples/1.1.x/server-dart/examples/teams/list-memberships.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/teams/list.md b/docs/examples/1.1.x/server-dart/examples/teams/list.md index 11033f33da..7d5e4ebef7 100644 --- a/docs/examples/1.1.x/server-dart/examples/teams/list.md +++ b/docs/examples/1.1.x/server-dart/examples/teams/list.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/teams/update-membership-roles.md b/docs/examples/1.1.x/server-dart/examples/teams/update-membership-roles.md index dcbef5c948..8ede36ac64 100644 --- a/docs/examples/1.1.x/server-dart/examples/teams/update-membership-roles.md +++ b/docs/examples/1.1.x/server-dart/examples/teams/update-membership-roles.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/teams/update-membership-status.md b/docs/examples/1.1.x/server-dart/examples/teams/update-membership-status.md index ca704e0fdb..50f9693bf9 100644 --- a/docs/examples/1.1.x/server-dart/examples/teams/update-membership-status.md +++ b/docs/examples/1.1.x/server-dart/examples/teams/update-membership-status.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-dart/examples/teams/update.md b/docs/examples/1.1.x/server-dart/examples/teams/update.md index 67892475ab..ce25940173 100644 --- a/docs/examples/1.1.x/server-dart/examples/teams/update.md +++ b/docs/examples/1.1.x/server-dart/examples/teams/update.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/users/create-argon2user.md b/docs/examples/1.1.x/server-dart/examples/users/create-argon2user.md index a40b3afd55..d01e8c6931 100644 --- a/docs/examples/1.1.x/server-dart/examples/users/create-argon2user.md +++ b/docs/examples/1.1.x/server-dart/examples/users/create-argon2user.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/users/create-bcrypt-user.md b/docs/examples/1.1.x/server-dart/examples/users/create-bcrypt-user.md index 8b55d656b0..4685780b25 100644 --- a/docs/examples/1.1.x/server-dart/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.1.x/server-dart/examples/users/create-bcrypt-user.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/users/create-m-d5user.md b/docs/examples/1.1.x/server-dart/examples/users/create-m-d5user.md index 3ab8901f3c..20ac1948e7 100644 --- a/docs/examples/1.1.x/server-dart/examples/users/create-m-d5user.md +++ b/docs/examples/1.1.x/server-dart/examples/users/create-m-d5user.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/users/create-p-h-pass-user.md b/docs/examples/1.1.x/server-dart/examples/users/create-p-h-pass-user.md index bedb44f4c2..0294339d64 100644 --- a/docs/examples/1.1.x/server-dart/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.1.x/server-dart/examples/users/create-p-h-pass-user.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/users/create-s-h-a-user.md b/docs/examples/1.1.x/server-dart/examples/users/create-s-h-a-user.md index 361f309a37..21c4461cdc 100644 --- a/docs/examples/1.1.x/server-dart/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.1.x/server-dart/examples/users/create-s-h-a-user.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/users/create-scrypt-modified-user.md b/docs/examples/1.1.x/server-dart/examples/users/create-scrypt-modified-user.md index fa5b80519e..9d95641d76 100644 --- a/docs/examples/1.1.x/server-dart/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.1.x/server-dart/examples/users/create-scrypt-modified-user.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/users/create-scrypt-user.md b/docs/examples/1.1.x/server-dart/examples/users/create-scrypt-user.md index 91e1f7dc6d..0a586407dc 100644 --- a/docs/examples/1.1.x/server-dart/examples/users/create-scrypt-user.md +++ b/docs/examples/1.1.x/server-dart/examples/users/create-scrypt-user.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/users/create.md b/docs/examples/1.1.x/server-dart/examples/users/create.md index 517cd22fcb..a841df0e27 100644 --- a/docs/examples/1.1.x/server-dart/examples/users/create.md +++ b/docs/examples/1.1.x/server-dart/examples/users/create.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/users/delete-session.md b/docs/examples/1.1.x/server-dart/examples/users/delete-session.md index 3f7611873e..f1432677ed 100644 --- a/docs/examples/1.1.x/server-dart/examples/users/delete-session.md +++ b/docs/examples/1.1.x/server-dart/examples/users/delete-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/users/delete-sessions.md b/docs/examples/1.1.x/server-dart/examples/users/delete-sessions.md index 69cbc5e8d5..82a71188ce 100644 --- a/docs/examples/1.1.x/server-dart/examples/users/delete-sessions.md +++ b/docs/examples/1.1.x/server-dart/examples/users/delete-sessions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/users/delete.md b/docs/examples/1.1.x/server-dart/examples/users/delete.md index 1e1311d5d9..351686fe58 100644 --- a/docs/examples/1.1.x/server-dart/examples/users/delete.md +++ b/docs/examples/1.1.x/server-dart/examples/users/delete.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/users/get-prefs.md b/docs/examples/1.1.x/server-dart/examples/users/get-prefs.md index eb33ae656c..cff91fa59b 100644 --- a/docs/examples/1.1.x/server-dart/examples/users/get-prefs.md +++ b/docs/examples/1.1.x/server-dart/examples/users/get-prefs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/users/get.md b/docs/examples/1.1.x/server-dart/examples/users/get.md index c56852934c..e2a24afd9a 100644 --- a/docs/examples/1.1.x/server-dart/examples/users/get.md +++ b/docs/examples/1.1.x/server-dart/examples/users/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/users/list-logs.md b/docs/examples/1.1.x/server-dart/examples/users/list-logs.md index 0d2143ad48..44a5e13ea4 100644 --- a/docs/examples/1.1.x/server-dart/examples/users/list-logs.md +++ b/docs/examples/1.1.x/server-dart/examples/users/list-logs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/users/list-memberships.md b/docs/examples/1.1.x/server-dart/examples/users/list-memberships.md index 36a83edec0..398e7ceee8 100644 --- a/docs/examples/1.1.x/server-dart/examples/users/list-memberships.md +++ b/docs/examples/1.1.x/server-dart/examples/users/list-memberships.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/users/list-sessions.md b/docs/examples/1.1.x/server-dart/examples/users/list-sessions.md index 5f77fdbfa7..eeac7b8d4b 100644 --- a/docs/examples/1.1.x/server-dart/examples/users/list-sessions.md +++ b/docs/examples/1.1.x/server-dart/examples/users/list-sessions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/users/list.md b/docs/examples/1.1.x/server-dart/examples/users/list.md index 34498c00ac..ef91b2db4a 100644 --- a/docs/examples/1.1.x/server-dart/examples/users/list.md +++ b/docs/examples/1.1.x/server-dart/examples/users/list.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/users/update-email-verification.md b/docs/examples/1.1.x/server-dart/examples/users/update-email-verification.md index 8853f86529..7de1325744 100644 --- a/docs/examples/1.1.x/server-dart/examples/users/update-email-verification.md +++ b/docs/examples/1.1.x/server-dart/examples/users/update-email-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/users/update-email.md b/docs/examples/1.1.x/server-dart/examples/users/update-email.md index 8813e1101f..589bf93d31 100644 --- a/docs/examples/1.1.x/server-dart/examples/users/update-email.md +++ b/docs/examples/1.1.x/server-dart/examples/users/update-email.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/users/update-name.md b/docs/examples/1.1.x/server-dart/examples/users/update-name.md index 56797d585c..a3a0c84bbb 100644 --- a/docs/examples/1.1.x/server-dart/examples/users/update-name.md +++ b/docs/examples/1.1.x/server-dart/examples/users/update-name.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/users/update-password.md b/docs/examples/1.1.x/server-dart/examples/users/update-password.md index ce2a4c7dd5..13fcef6586 100644 --- a/docs/examples/1.1.x/server-dart/examples/users/update-password.md +++ b/docs/examples/1.1.x/server-dart/examples/users/update-password.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/users/update-phone-verification.md b/docs/examples/1.1.x/server-dart/examples/users/update-phone-verification.md index 37c3ced608..0ef13f5b03 100644 --- a/docs/examples/1.1.x/server-dart/examples/users/update-phone-verification.md +++ b/docs/examples/1.1.x/server-dart/examples/users/update-phone-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/users/update-phone.md b/docs/examples/1.1.x/server-dart/examples/users/update-phone.md index 4d5e311078..f512af071e 100644 --- a/docs/examples/1.1.x/server-dart/examples/users/update-phone.md +++ b/docs/examples/1.1.x/server-dart/examples/users/update-phone.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/users/update-prefs.md b/docs/examples/1.1.x/server-dart/examples/users/update-prefs.md index c6c1bbedff..a2f0aea8fe 100644 --- a/docs/examples/1.1.x/server-dart/examples/users/update-prefs.md +++ b/docs/examples/1.1.x/server-dart/examples/users/update-prefs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-dart/examples/users/update-status.md b/docs/examples/1.1.x/server-dart/examples/users/update-status.md index 6f80745a7a..32fa9019eb 100644 --- a/docs/examples/1.1.x/server-dart/examples/users/update-status.md +++ b/docs/examples/1.1.x/server-dart/examples/users/update-status.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/account/create-phone-verification.md b/docs/examples/1.1.x/server-deno/examples/account/create-phone-verification.md index fe765887cc..aa9969c9a0 100644 --- a/docs/examples/1.1.x/server-deno/examples/account/create-phone-verification.md +++ b/docs/examples/1.1.x/server-deno/examples/account/create-phone-verification.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-deno/examples/account/create-recovery.md b/docs/examples/1.1.x/server-deno/examples/account/create-recovery.md index e5adb2a78b..ca4ef25810 100644 --- a/docs/examples/1.1.x/server-deno/examples/account/create-recovery.md +++ b/docs/examples/1.1.x/server-deno/examples/account/create-recovery.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-deno/examples/account/create-verification.md b/docs/examples/1.1.x/server-deno/examples/account/create-verification.md index 5861278e70..89810ec730 100644 --- a/docs/examples/1.1.x/server-deno/examples/account/create-verification.md +++ b/docs/examples/1.1.x/server-deno/examples/account/create-verification.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-deno/examples/account/delete-session.md b/docs/examples/1.1.x/server-deno/examples/account/delete-session.md index 22417acb98..969445ca5e 100644 --- a/docs/examples/1.1.x/server-deno/examples/account/delete-session.md +++ b/docs/examples/1.1.x/server-deno/examples/account/delete-session.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-deno/examples/account/delete-sessions.md b/docs/examples/1.1.x/server-deno/examples/account/delete-sessions.md index 2a82bd9566..ad5dcb1200 100644 --- a/docs/examples/1.1.x/server-deno/examples/account/delete-sessions.md +++ b/docs/examples/1.1.x/server-deno/examples/account/delete-sessions.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-deno/examples/account/get-prefs.md b/docs/examples/1.1.x/server-deno/examples/account/get-prefs.md index c9645d0fe1..4b413ec368 100644 --- a/docs/examples/1.1.x/server-deno/examples/account/get-prefs.md +++ b/docs/examples/1.1.x/server-deno/examples/account/get-prefs.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-deno/examples/account/get-session.md b/docs/examples/1.1.x/server-deno/examples/account/get-session.md index f2c1c94469..b39704a72f 100644 --- a/docs/examples/1.1.x/server-deno/examples/account/get-session.md +++ b/docs/examples/1.1.x/server-deno/examples/account/get-session.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-deno/examples/account/get.md b/docs/examples/1.1.x/server-deno/examples/account/get.md index 03b22307ac..d3a7a9b8e3 100644 --- a/docs/examples/1.1.x/server-deno/examples/account/get.md +++ b/docs/examples/1.1.x/server-deno/examples/account/get.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-deno/examples/account/list-logs.md b/docs/examples/1.1.x/server-deno/examples/account/list-logs.md index fb79304101..4609c8e3b6 100644 --- a/docs/examples/1.1.x/server-deno/examples/account/list-logs.md +++ b/docs/examples/1.1.x/server-deno/examples/account/list-logs.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-deno/examples/account/list-sessions.md b/docs/examples/1.1.x/server-deno/examples/account/list-sessions.md index 32a7cfa09a..498590452f 100644 --- a/docs/examples/1.1.x/server-deno/examples/account/list-sessions.md +++ b/docs/examples/1.1.x/server-deno/examples/account/list-sessions.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-deno/examples/account/update-email.md b/docs/examples/1.1.x/server-deno/examples/account/update-email.md index 26906d7eed..c92ca4dc23 100644 --- a/docs/examples/1.1.x/server-deno/examples/account/update-email.md +++ b/docs/examples/1.1.x/server-deno/examples/account/update-email.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-deno/examples/account/update-name.md b/docs/examples/1.1.x/server-deno/examples/account/update-name.md index b1a351216f..2e52634e21 100644 --- a/docs/examples/1.1.x/server-deno/examples/account/update-name.md +++ b/docs/examples/1.1.x/server-deno/examples/account/update-name.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-deno/examples/account/update-password.md b/docs/examples/1.1.x/server-deno/examples/account/update-password.md index 13e9d7c479..26114e0c8e 100644 --- a/docs/examples/1.1.x/server-deno/examples/account/update-password.md +++ b/docs/examples/1.1.x/server-deno/examples/account/update-password.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-deno/examples/account/update-phone-verification.md b/docs/examples/1.1.x/server-deno/examples/account/update-phone-verification.md index 064252a328..a7b6e4670d 100644 --- a/docs/examples/1.1.x/server-deno/examples/account/update-phone-verification.md +++ b/docs/examples/1.1.x/server-deno/examples/account/update-phone-verification.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-deno/examples/account/update-phone.md b/docs/examples/1.1.x/server-deno/examples/account/update-phone.md index e023424f9e..0d1bfcc93a 100644 --- a/docs/examples/1.1.x/server-deno/examples/account/update-phone.md +++ b/docs/examples/1.1.x/server-deno/examples/account/update-phone.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-deno/examples/account/update-prefs.md b/docs/examples/1.1.x/server-deno/examples/account/update-prefs.md index 4a6ca88ae8..472f53dd47 100644 --- a/docs/examples/1.1.x/server-deno/examples/account/update-prefs.md +++ b/docs/examples/1.1.x/server-deno/examples/account/update-prefs.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-deno/examples/account/update-recovery.md b/docs/examples/1.1.x/server-deno/examples/account/update-recovery.md index 06916bb278..ee1546f131 100644 --- a/docs/examples/1.1.x/server-deno/examples/account/update-recovery.md +++ b/docs/examples/1.1.x/server-deno/examples/account/update-recovery.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-deno/examples/account/update-session.md b/docs/examples/1.1.x/server-deno/examples/account/update-session.md index 23a7ad2cf6..310a713745 100644 --- a/docs/examples/1.1.x/server-deno/examples/account/update-session.md +++ b/docs/examples/1.1.x/server-deno/examples/account/update-session.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-deno/examples/account/update-status.md b/docs/examples/1.1.x/server-deno/examples/account/update-status.md index 6b9b18981b..40c921be3e 100644 --- a/docs/examples/1.1.x/server-deno/examples/account/update-status.md +++ b/docs/examples/1.1.x/server-deno/examples/account/update-status.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-deno/examples/account/update-verification.md b/docs/examples/1.1.x/server-deno/examples/account/update-verification.md index c11f2b71c1..db4febb20f 100644 --- a/docs/examples/1.1.x/server-deno/examples/account/update-verification.md +++ b/docs/examples/1.1.x/server-deno/examples/account/update-verification.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-deno/examples/avatars/get-browser.md b/docs/examples/1.1.x/server-deno/examples/avatars/get-browser.md index 44c946e4d7..317dc75331 100644 --- a/docs/examples/1.1.x/server-deno/examples/avatars/get-browser.md +++ b/docs/examples/1.1.x/server-deno/examples/avatars/get-browser.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/avatars/get-credit-card.md b/docs/examples/1.1.x/server-deno/examples/avatars/get-credit-card.md index 0f44982738..584c580559 100644 --- a/docs/examples/1.1.x/server-deno/examples/avatars/get-credit-card.md +++ b/docs/examples/1.1.x/server-deno/examples/avatars/get-credit-card.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/avatars/get-favicon.md b/docs/examples/1.1.x/server-deno/examples/avatars/get-favicon.md index f0a539b5fc..d387cc2b7e 100644 --- a/docs/examples/1.1.x/server-deno/examples/avatars/get-favicon.md +++ b/docs/examples/1.1.x/server-deno/examples/avatars/get-favicon.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/avatars/get-flag.md b/docs/examples/1.1.x/server-deno/examples/avatars/get-flag.md index c7593aee1e..03fa737ef2 100644 --- a/docs/examples/1.1.x/server-deno/examples/avatars/get-flag.md +++ b/docs/examples/1.1.x/server-deno/examples/avatars/get-flag.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/avatars/get-image.md b/docs/examples/1.1.x/server-deno/examples/avatars/get-image.md index 6e86307a5f..7dd33398b6 100644 --- a/docs/examples/1.1.x/server-deno/examples/avatars/get-image.md +++ b/docs/examples/1.1.x/server-deno/examples/avatars/get-image.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/avatars/get-initials.md b/docs/examples/1.1.x/server-deno/examples/avatars/get-initials.md index 2adba9e971..4054ecee99 100644 --- a/docs/examples/1.1.x/server-deno/examples/avatars/get-initials.md +++ b/docs/examples/1.1.x/server-deno/examples/avatars/get-initials.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/avatars/get-q-r.md b/docs/examples/1.1.x/server-deno/examples/avatars/get-q-r.md index 2c5faf0112..f239919e05 100644 --- a/docs/examples/1.1.x/server-deno/examples/avatars/get-q-r.md +++ b/docs/examples/1.1.x/server-deno/examples/avatars/get-q-r.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/databases/create-boolean-attribute.md b/docs/examples/1.1.x/server-deno/examples/databases/create-boolean-attribute.md index 81b66771ff..3a06b123a0 100644 --- a/docs/examples/1.1.x/server-deno/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.1.x/server-deno/examples/databases/create-boolean-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/databases/create-collection.md b/docs/examples/1.1.x/server-deno/examples/databases/create-collection.md index 5d59286e3c..c65a13e237 100644 --- a/docs/examples/1.1.x/server-deno/examples/databases/create-collection.md +++ b/docs/examples/1.1.x/server-deno/examples/databases/create-collection.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/databases/create-datetime-attribute.md b/docs/examples/1.1.x/server-deno/examples/databases/create-datetime-attribute.md index c2c4eb8185..ee4fdb9253 100644 --- a/docs/examples/1.1.x/server-deno/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.1.x/server-deno/examples/databases/create-datetime-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/databases/create-document.md b/docs/examples/1.1.x/server-deno/examples/databases/create-document.md index d38818c164..b746f3d3f3 100644 --- a/docs/examples/1.1.x/server-deno/examples/databases/create-document.md +++ b/docs/examples/1.1.x/server-deno/examples/databases/create-document.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/databases/create-email-attribute.md b/docs/examples/1.1.x/server-deno/examples/databases/create-email-attribute.md index 4952625bfc..918ed10cbc 100644 --- a/docs/examples/1.1.x/server-deno/examples/databases/create-email-attribute.md +++ b/docs/examples/1.1.x/server-deno/examples/databases/create-email-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/databases/create-enum-attribute.md b/docs/examples/1.1.x/server-deno/examples/databases/create-enum-attribute.md index d00274d616..79cca97c50 100644 --- a/docs/examples/1.1.x/server-deno/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.1.x/server-deno/examples/databases/create-enum-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/databases/create-float-attribute.md b/docs/examples/1.1.x/server-deno/examples/databases/create-float-attribute.md index c2b056fd1b..a61df747b3 100644 --- a/docs/examples/1.1.x/server-deno/examples/databases/create-float-attribute.md +++ b/docs/examples/1.1.x/server-deno/examples/databases/create-float-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/databases/create-index.md b/docs/examples/1.1.x/server-deno/examples/databases/create-index.md index bfde8e3fb5..0d238068aa 100644 --- a/docs/examples/1.1.x/server-deno/examples/databases/create-index.md +++ b/docs/examples/1.1.x/server-deno/examples/databases/create-index.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/databases/create-integer-attribute.md b/docs/examples/1.1.x/server-deno/examples/databases/create-integer-attribute.md index 2a36f413e5..fec9ed6835 100644 --- a/docs/examples/1.1.x/server-deno/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.1.x/server-deno/examples/databases/create-integer-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/databases/create-ip-attribute.md b/docs/examples/1.1.x/server-deno/examples/databases/create-ip-attribute.md index 19180d6ac0..858450d499 100644 --- a/docs/examples/1.1.x/server-deno/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.1.x/server-deno/examples/databases/create-ip-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/databases/create-string-attribute.md b/docs/examples/1.1.x/server-deno/examples/databases/create-string-attribute.md index f3b0a36923..82383ccc76 100644 --- a/docs/examples/1.1.x/server-deno/examples/databases/create-string-attribute.md +++ b/docs/examples/1.1.x/server-deno/examples/databases/create-string-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/databases/create-url-attribute.md b/docs/examples/1.1.x/server-deno/examples/databases/create-url-attribute.md index 488751adff..f556724dca 100644 --- a/docs/examples/1.1.x/server-deno/examples/databases/create-url-attribute.md +++ b/docs/examples/1.1.x/server-deno/examples/databases/create-url-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/databases/create.md b/docs/examples/1.1.x/server-deno/examples/databases/create.md index ea1ebb6460..d8747a01ae 100644 --- a/docs/examples/1.1.x/server-deno/examples/databases/create.md +++ b/docs/examples/1.1.x/server-deno/examples/databases/create.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/databases/delete-attribute.md b/docs/examples/1.1.x/server-deno/examples/databases/delete-attribute.md index e6fe0823f2..fd3fca65ef 100644 --- a/docs/examples/1.1.x/server-deno/examples/databases/delete-attribute.md +++ b/docs/examples/1.1.x/server-deno/examples/databases/delete-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/databases/delete-collection.md b/docs/examples/1.1.x/server-deno/examples/databases/delete-collection.md index 970602ac28..5f0599b7ec 100644 --- a/docs/examples/1.1.x/server-deno/examples/databases/delete-collection.md +++ b/docs/examples/1.1.x/server-deno/examples/databases/delete-collection.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/databases/delete-document.md b/docs/examples/1.1.x/server-deno/examples/databases/delete-document.md index 1a23e03e27..7c1ed710f4 100644 --- a/docs/examples/1.1.x/server-deno/examples/databases/delete-document.md +++ b/docs/examples/1.1.x/server-deno/examples/databases/delete-document.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/databases/delete-index.md b/docs/examples/1.1.x/server-deno/examples/databases/delete-index.md index 8a6050522a..c25eb4a7fc 100644 --- a/docs/examples/1.1.x/server-deno/examples/databases/delete-index.md +++ b/docs/examples/1.1.x/server-deno/examples/databases/delete-index.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/databases/delete.md b/docs/examples/1.1.x/server-deno/examples/databases/delete.md index b735eccdbe..817dcd0dd0 100644 --- a/docs/examples/1.1.x/server-deno/examples/databases/delete.md +++ b/docs/examples/1.1.x/server-deno/examples/databases/delete.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/databases/get-attribute.md b/docs/examples/1.1.x/server-deno/examples/databases/get-attribute.md index 1ec9957b5e..cf5aa9ca1e 100644 --- a/docs/examples/1.1.x/server-deno/examples/databases/get-attribute.md +++ b/docs/examples/1.1.x/server-deno/examples/databases/get-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/databases/get-collection.md b/docs/examples/1.1.x/server-deno/examples/databases/get-collection.md index bf471e3b36..8973f9e8aa 100644 --- a/docs/examples/1.1.x/server-deno/examples/databases/get-collection.md +++ b/docs/examples/1.1.x/server-deno/examples/databases/get-collection.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/databases/get-document.md b/docs/examples/1.1.x/server-deno/examples/databases/get-document.md index a7248d0641..e02b9c8f4b 100644 --- a/docs/examples/1.1.x/server-deno/examples/databases/get-document.md +++ b/docs/examples/1.1.x/server-deno/examples/databases/get-document.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/databases/get-index.md b/docs/examples/1.1.x/server-deno/examples/databases/get-index.md index c1fe00cb65..443b06883c 100644 --- a/docs/examples/1.1.x/server-deno/examples/databases/get-index.md +++ b/docs/examples/1.1.x/server-deno/examples/databases/get-index.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/databases/get.md b/docs/examples/1.1.x/server-deno/examples/databases/get.md index 46df3aad22..a8ea62a552 100644 --- a/docs/examples/1.1.x/server-deno/examples/databases/get.md +++ b/docs/examples/1.1.x/server-deno/examples/databases/get.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/databases/list-attributes.md b/docs/examples/1.1.x/server-deno/examples/databases/list-attributes.md index f2b21141b3..7ee93a5ac0 100644 --- a/docs/examples/1.1.x/server-deno/examples/databases/list-attributes.md +++ b/docs/examples/1.1.x/server-deno/examples/databases/list-attributes.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/databases/list-collections.md b/docs/examples/1.1.x/server-deno/examples/databases/list-collections.md index 83e4ee951f..7cdf106ab1 100644 --- a/docs/examples/1.1.x/server-deno/examples/databases/list-collections.md +++ b/docs/examples/1.1.x/server-deno/examples/databases/list-collections.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/databases/list-documents.md b/docs/examples/1.1.x/server-deno/examples/databases/list-documents.md index c7db17efb5..9c3cd7097e 100644 --- a/docs/examples/1.1.x/server-deno/examples/databases/list-documents.md +++ b/docs/examples/1.1.x/server-deno/examples/databases/list-documents.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/databases/list-indexes.md b/docs/examples/1.1.x/server-deno/examples/databases/list-indexes.md index 69c412b99d..8fbba4a323 100644 --- a/docs/examples/1.1.x/server-deno/examples/databases/list-indexes.md +++ b/docs/examples/1.1.x/server-deno/examples/databases/list-indexes.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/databases/list.md b/docs/examples/1.1.x/server-deno/examples/databases/list.md index 8bb75110ec..84ec9927ac 100644 --- a/docs/examples/1.1.x/server-deno/examples/databases/list.md +++ b/docs/examples/1.1.x/server-deno/examples/databases/list.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/databases/update-collection.md b/docs/examples/1.1.x/server-deno/examples/databases/update-collection.md index f81f46e7f4..234b4c68cf 100644 --- a/docs/examples/1.1.x/server-deno/examples/databases/update-collection.md +++ b/docs/examples/1.1.x/server-deno/examples/databases/update-collection.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/databases/update-document.md b/docs/examples/1.1.x/server-deno/examples/databases/update-document.md index 9964fdb6eb..78c984aae4 100644 --- a/docs/examples/1.1.x/server-deno/examples/databases/update-document.md +++ b/docs/examples/1.1.x/server-deno/examples/databases/update-document.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/databases/update.md b/docs/examples/1.1.x/server-deno/examples/databases/update.md index 64886a697b..c60c249973 100644 --- a/docs/examples/1.1.x/server-deno/examples/databases/update.md +++ b/docs/examples/1.1.x/server-deno/examples/databases/update.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/functions/create-build.md b/docs/examples/1.1.x/server-deno/examples/functions/create-build.md index 28d10105e3..ffa1906b0a 100644 --- a/docs/examples/1.1.x/server-deno/examples/functions/create-build.md +++ b/docs/examples/1.1.x/server-deno/examples/functions/create-build.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/functions/create-deployment.md b/docs/examples/1.1.x/server-deno/examples/functions/create-deployment.md index 005644b62e..e663cf473a 100644 --- a/docs/examples/1.1.x/server-deno/examples/functions/create-deployment.md +++ b/docs/examples/1.1.x/server-deno/examples/functions/create-deployment.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/functions/create-execution.md b/docs/examples/1.1.x/server-deno/examples/functions/create-execution.md index 6ec920ef9d..a24cc942b5 100644 --- a/docs/examples/1.1.x/server-deno/examples/functions/create-execution.md +++ b/docs/examples/1.1.x/server-deno/examples/functions/create-execution.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/functions/create-variable.md b/docs/examples/1.1.x/server-deno/examples/functions/create-variable.md index 375ef8b7a6..6de4953eec 100644 --- a/docs/examples/1.1.x/server-deno/examples/functions/create-variable.md +++ b/docs/examples/1.1.x/server-deno/examples/functions/create-variable.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/functions/create.md b/docs/examples/1.1.x/server-deno/examples/functions/create.md index 423a347f51..0964bce180 100644 --- a/docs/examples/1.1.x/server-deno/examples/functions/create.md +++ b/docs/examples/1.1.x/server-deno/examples/functions/create.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/functions/delete-deployment.md b/docs/examples/1.1.x/server-deno/examples/functions/delete-deployment.md index 7b6468bb06..b1f280fb13 100644 --- a/docs/examples/1.1.x/server-deno/examples/functions/delete-deployment.md +++ b/docs/examples/1.1.x/server-deno/examples/functions/delete-deployment.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/functions/delete-variable.md b/docs/examples/1.1.x/server-deno/examples/functions/delete-variable.md index 16bf385a4c..012f353540 100644 --- a/docs/examples/1.1.x/server-deno/examples/functions/delete-variable.md +++ b/docs/examples/1.1.x/server-deno/examples/functions/delete-variable.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/functions/delete.md b/docs/examples/1.1.x/server-deno/examples/functions/delete.md index 48ec374bf2..ac801878c8 100644 --- a/docs/examples/1.1.x/server-deno/examples/functions/delete.md +++ b/docs/examples/1.1.x/server-deno/examples/functions/delete.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/functions/get-deployment.md b/docs/examples/1.1.x/server-deno/examples/functions/get-deployment.md index 854f3897d9..eef2d306ec 100644 --- a/docs/examples/1.1.x/server-deno/examples/functions/get-deployment.md +++ b/docs/examples/1.1.x/server-deno/examples/functions/get-deployment.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/functions/get-execution.md b/docs/examples/1.1.x/server-deno/examples/functions/get-execution.md index 42bcdfbfdf..cfb4ef09dc 100644 --- a/docs/examples/1.1.x/server-deno/examples/functions/get-execution.md +++ b/docs/examples/1.1.x/server-deno/examples/functions/get-execution.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/functions/get-variable.md b/docs/examples/1.1.x/server-deno/examples/functions/get-variable.md index 2b4190e0a6..9881efcb03 100644 --- a/docs/examples/1.1.x/server-deno/examples/functions/get-variable.md +++ b/docs/examples/1.1.x/server-deno/examples/functions/get-variable.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/functions/get.md b/docs/examples/1.1.x/server-deno/examples/functions/get.md index 388958232a..f511f59452 100644 --- a/docs/examples/1.1.x/server-deno/examples/functions/get.md +++ b/docs/examples/1.1.x/server-deno/examples/functions/get.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/functions/list-deployments.md b/docs/examples/1.1.x/server-deno/examples/functions/list-deployments.md index e84bb9cc09..cdd0ae775a 100644 --- a/docs/examples/1.1.x/server-deno/examples/functions/list-deployments.md +++ b/docs/examples/1.1.x/server-deno/examples/functions/list-deployments.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/functions/list-executions.md b/docs/examples/1.1.x/server-deno/examples/functions/list-executions.md index aadd19f1ce..fcc47f2dcd 100644 --- a/docs/examples/1.1.x/server-deno/examples/functions/list-executions.md +++ b/docs/examples/1.1.x/server-deno/examples/functions/list-executions.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/functions/list-runtimes.md b/docs/examples/1.1.x/server-deno/examples/functions/list-runtimes.md index 6fc7570b3a..b45ec8f223 100644 --- a/docs/examples/1.1.x/server-deno/examples/functions/list-runtimes.md +++ b/docs/examples/1.1.x/server-deno/examples/functions/list-runtimes.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/functions/list-variables.md b/docs/examples/1.1.x/server-deno/examples/functions/list-variables.md index 44a9828a67..f9f241fee3 100644 --- a/docs/examples/1.1.x/server-deno/examples/functions/list-variables.md +++ b/docs/examples/1.1.x/server-deno/examples/functions/list-variables.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/functions/list.md b/docs/examples/1.1.x/server-deno/examples/functions/list.md index 7c82760a39..cadecd7fc1 100644 --- a/docs/examples/1.1.x/server-deno/examples/functions/list.md +++ b/docs/examples/1.1.x/server-deno/examples/functions/list.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/functions/update-deployment.md b/docs/examples/1.1.x/server-deno/examples/functions/update-deployment.md index 94be560a2d..4d1bda6363 100644 --- a/docs/examples/1.1.x/server-deno/examples/functions/update-deployment.md +++ b/docs/examples/1.1.x/server-deno/examples/functions/update-deployment.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/functions/update-variable.md b/docs/examples/1.1.x/server-deno/examples/functions/update-variable.md index 1a318f1eba..bcdde06c9a 100644 --- a/docs/examples/1.1.x/server-deno/examples/functions/update-variable.md +++ b/docs/examples/1.1.x/server-deno/examples/functions/update-variable.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/functions/update.md b/docs/examples/1.1.x/server-deno/examples/functions/update.md index 84316f1de7..4c527d8970 100644 --- a/docs/examples/1.1.x/server-deno/examples/functions/update.md +++ b/docs/examples/1.1.x/server-deno/examples/functions/update.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/health/get-antivirus.md b/docs/examples/1.1.x/server-deno/examples/health/get-antivirus.md index 8d51808536..7bee35a127 100644 --- a/docs/examples/1.1.x/server-deno/examples/health/get-antivirus.md +++ b/docs/examples/1.1.x/server-deno/examples/health/get-antivirus.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/health/get-cache.md b/docs/examples/1.1.x/server-deno/examples/health/get-cache.md index cafc3018c0..12dfbb1b2d 100644 --- a/docs/examples/1.1.x/server-deno/examples/health/get-cache.md +++ b/docs/examples/1.1.x/server-deno/examples/health/get-cache.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/health/get-d-b.md b/docs/examples/1.1.x/server-deno/examples/health/get-d-b.md index a000535051..73ac2931fb 100644 --- a/docs/examples/1.1.x/server-deno/examples/health/get-d-b.md +++ b/docs/examples/1.1.x/server-deno/examples/health/get-d-b.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/health/get-queue-certificates.md b/docs/examples/1.1.x/server-deno/examples/health/get-queue-certificates.md index 49dab6b2e6..ea90355ec9 100644 --- a/docs/examples/1.1.x/server-deno/examples/health/get-queue-certificates.md +++ b/docs/examples/1.1.x/server-deno/examples/health/get-queue-certificates.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/health/get-queue-functions.md b/docs/examples/1.1.x/server-deno/examples/health/get-queue-functions.md index 74f458b9fe..e95a602059 100644 --- a/docs/examples/1.1.x/server-deno/examples/health/get-queue-functions.md +++ b/docs/examples/1.1.x/server-deno/examples/health/get-queue-functions.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/health/get-queue-logs.md b/docs/examples/1.1.x/server-deno/examples/health/get-queue-logs.md index 98948b9de6..457c2689ec 100644 --- a/docs/examples/1.1.x/server-deno/examples/health/get-queue-logs.md +++ b/docs/examples/1.1.x/server-deno/examples/health/get-queue-logs.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/health/get-queue-webhooks.md b/docs/examples/1.1.x/server-deno/examples/health/get-queue-webhooks.md index 7b45c189cc..87af736da8 100644 --- a/docs/examples/1.1.x/server-deno/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.1.x/server-deno/examples/health/get-queue-webhooks.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/health/get-storage-local.md b/docs/examples/1.1.x/server-deno/examples/health/get-storage-local.md index 4c45d89aca..31f708e88a 100644 --- a/docs/examples/1.1.x/server-deno/examples/health/get-storage-local.md +++ b/docs/examples/1.1.x/server-deno/examples/health/get-storage-local.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/health/get-time.md b/docs/examples/1.1.x/server-deno/examples/health/get-time.md index 6a66a10a05..69c73045a9 100644 --- a/docs/examples/1.1.x/server-deno/examples/health/get-time.md +++ b/docs/examples/1.1.x/server-deno/examples/health/get-time.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/health/get.md b/docs/examples/1.1.x/server-deno/examples/health/get.md index 0b9af9dd15..6afe71a315 100644 --- a/docs/examples/1.1.x/server-deno/examples/health/get.md +++ b/docs/examples/1.1.x/server-deno/examples/health/get.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/locale/get.md b/docs/examples/1.1.x/server-deno/examples/locale/get.md index 22b9a62655..f9f015cfb9 100644 --- a/docs/examples/1.1.x/server-deno/examples/locale/get.md +++ b/docs/examples/1.1.x/server-deno/examples/locale/get.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/locale/list-continents.md b/docs/examples/1.1.x/server-deno/examples/locale/list-continents.md index bd69f43a61..dd42b1957f 100644 --- a/docs/examples/1.1.x/server-deno/examples/locale/list-continents.md +++ b/docs/examples/1.1.x/server-deno/examples/locale/list-continents.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/locale/list-countries-e-u.md b/docs/examples/1.1.x/server-deno/examples/locale/list-countries-e-u.md index 3d3b7b492a..597edd6f92 100644 --- a/docs/examples/1.1.x/server-deno/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.1.x/server-deno/examples/locale/list-countries-e-u.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/locale/list-countries-phones.md b/docs/examples/1.1.x/server-deno/examples/locale/list-countries-phones.md index bc9e1754ad..f3e27aa152 100644 --- a/docs/examples/1.1.x/server-deno/examples/locale/list-countries-phones.md +++ b/docs/examples/1.1.x/server-deno/examples/locale/list-countries-phones.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/locale/list-countries.md b/docs/examples/1.1.x/server-deno/examples/locale/list-countries.md index 0790270371..3d65b3c71c 100644 --- a/docs/examples/1.1.x/server-deno/examples/locale/list-countries.md +++ b/docs/examples/1.1.x/server-deno/examples/locale/list-countries.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/locale/list-currencies.md b/docs/examples/1.1.x/server-deno/examples/locale/list-currencies.md index e040312fef..ae0fad6e0b 100644 --- a/docs/examples/1.1.x/server-deno/examples/locale/list-currencies.md +++ b/docs/examples/1.1.x/server-deno/examples/locale/list-currencies.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/locale/list-languages.md b/docs/examples/1.1.x/server-deno/examples/locale/list-languages.md index be5af4d50c..792a0e8a43 100644 --- a/docs/examples/1.1.x/server-deno/examples/locale/list-languages.md +++ b/docs/examples/1.1.x/server-deno/examples/locale/list-languages.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/storage/create-bucket.md b/docs/examples/1.1.x/server-deno/examples/storage/create-bucket.md index a25211a1c7..4a2460216b 100644 --- a/docs/examples/1.1.x/server-deno/examples/storage/create-bucket.md +++ b/docs/examples/1.1.x/server-deno/examples/storage/create-bucket.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/storage/create-file.md b/docs/examples/1.1.x/server-deno/examples/storage/create-file.md index c0fe4930b9..e2b9edaa57 100644 --- a/docs/examples/1.1.x/server-deno/examples/storage/create-file.md +++ b/docs/examples/1.1.x/server-deno/examples/storage/create-file.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/storage/delete-bucket.md b/docs/examples/1.1.x/server-deno/examples/storage/delete-bucket.md index d468428141..f5c818046e 100644 --- a/docs/examples/1.1.x/server-deno/examples/storage/delete-bucket.md +++ b/docs/examples/1.1.x/server-deno/examples/storage/delete-bucket.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/storage/delete-file.md b/docs/examples/1.1.x/server-deno/examples/storage/delete-file.md index e86da1763b..61589ed878 100644 --- a/docs/examples/1.1.x/server-deno/examples/storage/delete-file.md +++ b/docs/examples/1.1.x/server-deno/examples/storage/delete-file.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/storage/get-bucket.md b/docs/examples/1.1.x/server-deno/examples/storage/get-bucket.md index 35d22b941a..34391b42c2 100644 --- a/docs/examples/1.1.x/server-deno/examples/storage/get-bucket.md +++ b/docs/examples/1.1.x/server-deno/examples/storage/get-bucket.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/storage/get-file-download.md b/docs/examples/1.1.x/server-deno/examples/storage/get-file-download.md index 206b860e25..9f2927e054 100644 --- a/docs/examples/1.1.x/server-deno/examples/storage/get-file-download.md +++ b/docs/examples/1.1.x/server-deno/examples/storage/get-file-download.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/storage/get-file-preview.md b/docs/examples/1.1.x/server-deno/examples/storage/get-file-preview.md index 4815c6b40b..903aa59270 100644 --- a/docs/examples/1.1.x/server-deno/examples/storage/get-file-preview.md +++ b/docs/examples/1.1.x/server-deno/examples/storage/get-file-preview.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/storage/get-file-view.md b/docs/examples/1.1.x/server-deno/examples/storage/get-file-view.md index 11ca8fdc6c..27d20ab4a6 100644 --- a/docs/examples/1.1.x/server-deno/examples/storage/get-file-view.md +++ b/docs/examples/1.1.x/server-deno/examples/storage/get-file-view.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/storage/get-file.md b/docs/examples/1.1.x/server-deno/examples/storage/get-file.md index 04aa43a5b1..c6ec55a1e6 100644 --- a/docs/examples/1.1.x/server-deno/examples/storage/get-file.md +++ b/docs/examples/1.1.x/server-deno/examples/storage/get-file.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/storage/list-buckets.md b/docs/examples/1.1.x/server-deno/examples/storage/list-buckets.md index 0c31feffe3..7cae11354f 100644 --- a/docs/examples/1.1.x/server-deno/examples/storage/list-buckets.md +++ b/docs/examples/1.1.x/server-deno/examples/storage/list-buckets.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/storage/list-files.md b/docs/examples/1.1.x/server-deno/examples/storage/list-files.md index 00178aa874..d5de10df59 100644 --- a/docs/examples/1.1.x/server-deno/examples/storage/list-files.md +++ b/docs/examples/1.1.x/server-deno/examples/storage/list-files.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/storage/update-bucket.md b/docs/examples/1.1.x/server-deno/examples/storage/update-bucket.md index aca746145e..d9c554bffe 100644 --- a/docs/examples/1.1.x/server-deno/examples/storage/update-bucket.md +++ b/docs/examples/1.1.x/server-deno/examples/storage/update-bucket.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/storage/update-file.md b/docs/examples/1.1.x/server-deno/examples/storage/update-file.md index 79f31c3b03..a106b4b505 100644 --- a/docs/examples/1.1.x/server-deno/examples/storage/update-file.md +++ b/docs/examples/1.1.x/server-deno/examples/storage/update-file.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/teams/create-membership.md b/docs/examples/1.1.x/server-deno/examples/teams/create-membership.md index e54377281e..85762a26de 100644 --- a/docs/examples/1.1.x/server-deno/examples/teams/create-membership.md +++ b/docs/examples/1.1.x/server-deno/examples/teams/create-membership.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/teams/create.md b/docs/examples/1.1.x/server-deno/examples/teams/create.md index 8272adb4d0..b5ad42710c 100644 --- a/docs/examples/1.1.x/server-deno/examples/teams/create.md +++ b/docs/examples/1.1.x/server-deno/examples/teams/create.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/teams/delete-membership.md b/docs/examples/1.1.x/server-deno/examples/teams/delete-membership.md index 402deb0b8a..dd73e8ae87 100644 --- a/docs/examples/1.1.x/server-deno/examples/teams/delete-membership.md +++ b/docs/examples/1.1.x/server-deno/examples/teams/delete-membership.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/teams/delete.md b/docs/examples/1.1.x/server-deno/examples/teams/delete.md index 3b30934bea..5f859e0cfc 100644 --- a/docs/examples/1.1.x/server-deno/examples/teams/delete.md +++ b/docs/examples/1.1.x/server-deno/examples/teams/delete.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/teams/get-membership.md b/docs/examples/1.1.x/server-deno/examples/teams/get-membership.md index 7d50599b67..8289e1fbd4 100644 --- a/docs/examples/1.1.x/server-deno/examples/teams/get-membership.md +++ b/docs/examples/1.1.x/server-deno/examples/teams/get-membership.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/teams/get.md b/docs/examples/1.1.x/server-deno/examples/teams/get.md index 44ecdab949..e18f9e580d 100644 --- a/docs/examples/1.1.x/server-deno/examples/teams/get.md +++ b/docs/examples/1.1.x/server-deno/examples/teams/get.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/teams/list-memberships.md b/docs/examples/1.1.x/server-deno/examples/teams/list-memberships.md index 7d730021a6..ca062ddb29 100644 --- a/docs/examples/1.1.x/server-deno/examples/teams/list-memberships.md +++ b/docs/examples/1.1.x/server-deno/examples/teams/list-memberships.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/teams/list.md b/docs/examples/1.1.x/server-deno/examples/teams/list.md index c45ffdc066..a76660063d 100644 --- a/docs/examples/1.1.x/server-deno/examples/teams/list.md +++ b/docs/examples/1.1.x/server-deno/examples/teams/list.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/teams/update-membership-roles.md b/docs/examples/1.1.x/server-deno/examples/teams/update-membership-roles.md index 9f2dad98c6..050f7dbbd7 100644 --- a/docs/examples/1.1.x/server-deno/examples/teams/update-membership-roles.md +++ b/docs/examples/1.1.x/server-deno/examples/teams/update-membership-roles.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/teams/update-membership-status.md b/docs/examples/1.1.x/server-deno/examples/teams/update-membership-status.md index 7bb57d8974..2ac6332372 100644 --- a/docs/examples/1.1.x/server-deno/examples/teams/update-membership-status.md +++ b/docs/examples/1.1.x/server-deno/examples/teams/update-membership-status.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-deno/examples/teams/update.md b/docs/examples/1.1.x/server-deno/examples/teams/update.md index b17708a9c4..590c6e4dcb 100644 --- a/docs/examples/1.1.x/server-deno/examples/teams/update.md +++ b/docs/examples/1.1.x/server-deno/examples/teams/update.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/users/create-argon2user.md b/docs/examples/1.1.x/server-deno/examples/users/create-argon2user.md index e55b644b62..c9d3e68bcd 100644 --- a/docs/examples/1.1.x/server-deno/examples/users/create-argon2user.md +++ b/docs/examples/1.1.x/server-deno/examples/users/create-argon2user.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/users/create-bcrypt-user.md b/docs/examples/1.1.x/server-deno/examples/users/create-bcrypt-user.md index 325fbe46d5..a3cc0ddc7d 100644 --- a/docs/examples/1.1.x/server-deno/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.1.x/server-deno/examples/users/create-bcrypt-user.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/users/create-m-d5user.md b/docs/examples/1.1.x/server-deno/examples/users/create-m-d5user.md index 8892688594..387fd97da0 100644 --- a/docs/examples/1.1.x/server-deno/examples/users/create-m-d5user.md +++ b/docs/examples/1.1.x/server-deno/examples/users/create-m-d5user.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/users/create-p-h-pass-user.md b/docs/examples/1.1.x/server-deno/examples/users/create-p-h-pass-user.md index d7a3428fd5..1e02fba553 100644 --- a/docs/examples/1.1.x/server-deno/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.1.x/server-deno/examples/users/create-p-h-pass-user.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/users/create-s-h-a-user.md b/docs/examples/1.1.x/server-deno/examples/users/create-s-h-a-user.md index c3ade982ef..82cf7ea8a4 100644 --- a/docs/examples/1.1.x/server-deno/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.1.x/server-deno/examples/users/create-s-h-a-user.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/users/create-scrypt-modified-user.md b/docs/examples/1.1.x/server-deno/examples/users/create-scrypt-modified-user.md index 8039a970c2..d06e6d3128 100644 --- a/docs/examples/1.1.x/server-deno/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.1.x/server-deno/examples/users/create-scrypt-modified-user.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/users/create-scrypt-user.md b/docs/examples/1.1.x/server-deno/examples/users/create-scrypt-user.md index 9889855e7c..6f9656ce5e 100644 --- a/docs/examples/1.1.x/server-deno/examples/users/create-scrypt-user.md +++ b/docs/examples/1.1.x/server-deno/examples/users/create-scrypt-user.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/users/create.md b/docs/examples/1.1.x/server-deno/examples/users/create.md index c56f8d8f88..1338a4e59f 100644 --- a/docs/examples/1.1.x/server-deno/examples/users/create.md +++ b/docs/examples/1.1.x/server-deno/examples/users/create.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/users/delete-session.md b/docs/examples/1.1.x/server-deno/examples/users/delete-session.md index e4ea45ba73..8d6e862bdb 100644 --- a/docs/examples/1.1.x/server-deno/examples/users/delete-session.md +++ b/docs/examples/1.1.x/server-deno/examples/users/delete-session.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/users/delete-sessions.md b/docs/examples/1.1.x/server-deno/examples/users/delete-sessions.md index 0e12d6dacf..894084dd90 100644 --- a/docs/examples/1.1.x/server-deno/examples/users/delete-sessions.md +++ b/docs/examples/1.1.x/server-deno/examples/users/delete-sessions.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/users/delete.md b/docs/examples/1.1.x/server-deno/examples/users/delete.md index f0223024a3..e291fa1cf1 100644 --- a/docs/examples/1.1.x/server-deno/examples/users/delete.md +++ b/docs/examples/1.1.x/server-deno/examples/users/delete.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/users/get-prefs.md b/docs/examples/1.1.x/server-deno/examples/users/get-prefs.md index 63953f9d24..98d6f6aa62 100644 --- a/docs/examples/1.1.x/server-deno/examples/users/get-prefs.md +++ b/docs/examples/1.1.x/server-deno/examples/users/get-prefs.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/users/get.md b/docs/examples/1.1.x/server-deno/examples/users/get.md index c9300c5060..77c27630ba 100644 --- a/docs/examples/1.1.x/server-deno/examples/users/get.md +++ b/docs/examples/1.1.x/server-deno/examples/users/get.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/users/list-logs.md b/docs/examples/1.1.x/server-deno/examples/users/list-logs.md index 7d0841fc77..fe4103138d 100644 --- a/docs/examples/1.1.x/server-deno/examples/users/list-logs.md +++ b/docs/examples/1.1.x/server-deno/examples/users/list-logs.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/users/list-memberships.md b/docs/examples/1.1.x/server-deno/examples/users/list-memberships.md index 74f2fb7f1e..592385fc04 100644 --- a/docs/examples/1.1.x/server-deno/examples/users/list-memberships.md +++ b/docs/examples/1.1.x/server-deno/examples/users/list-memberships.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/users/list-sessions.md b/docs/examples/1.1.x/server-deno/examples/users/list-sessions.md index 1aa4ca7d78..2117b04927 100644 --- a/docs/examples/1.1.x/server-deno/examples/users/list-sessions.md +++ b/docs/examples/1.1.x/server-deno/examples/users/list-sessions.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/users/list.md b/docs/examples/1.1.x/server-deno/examples/users/list.md index 369ccd7b29..a092136f5a 100644 --- a/docs/examples/1.1.x/server-deno/examples/users/list.md +++ b/docs/examples/1.1.x/server-deno/examples/users/list.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/users/update-email-verification.md b/docs/examples/1.1.x/server-deno/examples/users/update-email-verification.md index 146cea5027..41a3250abb 100644 --- a/docs/examples/1.1.x/server-deno/examples/users/update-email-verification.md +++ b/docs/examples/1.1.x/server-deno/examples/users/update-email-verification.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/users/update-email.md b/docs/examples/1.1.x/server-deno/examples/users/update-email.md index bd7f0ffbd8..428ab37b85 100644 --- a/docs/examples/1.1.x/server-deno/examples/users/update-email.md +++ b/docs/examples/1.1.x/server-deno/examples/users/update-email.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/users/update-name.md b/docs/examples/1.1.x/server-deno/examples/users/update-name.md index 071c948201..1b0918b5a5 100644 --- a/docs/examples/1.1.x/server-deno/examples/users/update-name.md +++ b/docs/examples/1.1.x/server-deno/examples/users/update-name.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/users/update-password.md b/docs/examples/1.1.x/server-deno/examples/users/update-password.md index 3c896fae5a..5852c340aa 100644 --- a/docs/examples/1.1.x/server-deno/examples/users/update-password.md +++ b/docs/examples/1.1.x/server-deno/examples/users/update-password.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/users/update-phone-verification.md b/docs/examples/1.1.x/server-deno/examples/users/update-phone-verification.md index 293f876152..3241b4c430 100644 --- a/docs/examples/1.1.x/server-deno/examples/users/update-phone-verification.md +++ b/docs/examples/1.1.x/server-deno/examples/users/update-phone-verification.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/users/update-phone.md b/docs/examples/1.1.x/server-deno/examples/users/update-phone.md index e634f59719..b41c9bc15f 100644 --- a/docs/examples/1.1.x/server-deno/examples/users/update-phone.md +++ b/docs/examples/1.1.x/server-deno/examples/users/update-phone.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/users/update-prefs.md b/docs/examples/1.1.x/server-deno/examples/users/update-prefs.md index 248fdb10ab..c794bc9d6c 100644 --- a/docs/examples/1.1.x/server-deno/examples/users/update-prefs.md +++ b/docs/examples/1.1.x/server-deno/examples/users/update-prefs.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-deno/examples/users/update-status.md b/docs/examples/1.1.x/server-deno/examples/users/update-status.md index 2f142596fd..80355e1b39 100644 --- a/docs/examples/1.1.x/server-deno/examples/users/update-status.md +++ b/docs/examples/1.1.x/server-deno/examples/users/update-status.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-kotlin/java/account/create-phone-verification.md b/docs/examples/1.1.x/server-kotlin/java/account/create-phone-verification.md index 307aafbb62..c4842763b0 100644 --- a/docs/examples/1.1.x/server-kotlin/java/account/create-phone-verification.md +++ b/docs/examples/1.1.x/server-kotlin/java/account/create-phone-verification.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/java/account/create-recovery.md b/docs/examples/1.1.x/server-kotlin/java/account/create-recovery.md index 92769f0897..5ea67db817 100644 --- a/docs/examples/1.1.x/server-kotlin/java/account/create-recovery.md +++ b/docs/examples/1.1.x/server-kotlin/java/account/create-recovery.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/java/account/create-verification.md b/docs/examples/1.1.x/server-kotlin/java/account/create-verification.md index 156fff0c9f..ca9a7c1f1c 100644 --- a/docs/examples/1.1.x/server-kotlin/java/account/create-verification.md +++ b/docs/examples/1.1.x/server-kotlin/java/account/create-verification.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/java/account/delete-session.md b/docs/examples/1.1.x/server-kotlin/java/account/delete-session.md index 3b08204515..8a35267d9d 100644 --- a/docs/examples/1.1.x/server-kotlin/java/account/delete-session.md +++ b/docs/examples/1.1.x/server-kotlin/java/account/delete-session.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/java/account/delete-sessions.md b/docs/examples/1.1.x/server-kotlin/java/account/delete-sessions.md index 20d1ff0010..5201cbdc70 100644 --- a/docs/examples/1.1.x/server-kotlin/java/account/delete-sessions.md +++ b/docs/examples/1.1.x/server-kotlin/java/account/delete-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/java/account/get-prefs.md b/docs/examples/1.1.x/server-kotlin/java/account/get-prefs.md index cce8abba48..9c021e158c 100644 --- a/docs/examples/1.1.x/server-kotlin/java/account/get-prefs.md +++ b/docs/examples/1.1.x/server-kotlin/java/account/get-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/java/account/get-session.md b/docs/examples/1.1.x/server-kotlin/java/account/get-session.md index 400cfeec61..d3f63ee2b2 100644 --- a/docs/examples/1.1.x/server-kotlin/java/account/get-session.md +++ b/docs/examples/1.1.x/server-kotlin/java/account/get-session.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/java/account/get.md b/docs/examples/1.1.x/server-kotlin/java/account/get.md index 994e7774b1..71728f0c3c 100644 --- a/docs/examples/1.1.x/server-kotlin/java/account/get.md +++ b/docs/examples/1.1.x/server-kotlin/java/account/get.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/java/account/list-logs.md b/docs/examples/1.1.x/server-kotlin/java/account/list-logs.md index 840e9e575b..a3338ebf75 100644 --- a/docs/examples/1.1.x/server-kotlin/java/account/list-logs.md +++ b/docs/examples/1.1.x/server-kotlin/java/account/list-logs.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/java/account/list-sessions.md b/docs/examples/1.1.x/server-kotlin/java/account/list-sessions.md index 5932a57501..55ec82c740 100644 --- a/docs/examples/1.1.x/server-kotlin/java/account/list-sessions.md +++ b/docs/examples/1.1.x/server-kotlin/java/account/list-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/java/account/update-email.md b/docs/examples/1.1.x/server-kotlin/java/account/update-email.md index 674d56e8b2..fbfc6096b4 100644 --- a/docs/examples/1.1.x/server-kotlin/java/account/update-email.md +++ b/docs/examples/1.1.x/server-kotlin/java/account/update-email.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/java/account/update-name.md b/docs/examples/1.1.x/server-kotlin/java/account/update-name.md index 7213c14f52..a96dd3abc2 100644 --- a/docs/examples/1.1.x/server-kotlin/java/account/update-name.md +++ b/docs/examples/1.1.x/server-kotlin/java/account/update-name.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/java/account/update-password.md b/docs/examples/1.1.x/server-kotlin/java/account/update-password.md index 2431ff498d..8e2eb162fd 100644 --- a/docs/examples/1.1.x/server-kotlin/java/account/update-password.md +++ b/docs/examples/1.1.x/server-kotlin/java/account/update-password.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/java/account/update-phone-verification.md b/docs/examples/1.1.x/server-kotlin/java/account/update-phone-verification.md index d544ca8054..5d3657a7cb 100644 --- a/docs/examples/1.1.x/server-kotlin/java/account/update-phone-verification.md +++ b/docs/examples/1.1.x/server-kotlin/java/account/update-phone-verification.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/java/account/update-phone.md b/docs/examples/1.1.x/server-kotlin/java/account/update-phone.md index df69489984..a953637e71 100644 --- a/docs/examples/1.1.x/server-kotlin/java/account/update-phone.md +++ b/docs/examples/1.1.x/server-kotlin/java/account/update-phone.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/java/account/update-prefs.md b/docs/examples/1.1.x/server-kotlin/java/account/update-prefs.md index dde22cb12a..c6bb503d37 100644 --- a/docs/examples/1.1.x/server-kotlin/java/account/update-prefs.md +++ b/docs/examples/1.1.x/server-kotlin/java/account/update-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/java/account/update-recovery.md b/docs/examples/1.1.x/server-kotlin/java/account/update-recovery.md index dc30a70964..70b52c3684 100644 --- a/docs/examples/1.1.x/server-kotlin/java/account/update-recovery.md +++ b/docs/examples/1.1.x/server-kotlin/java/account/update-recovery.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/java/account/update-session.md b/docs/examples/1.1.x/server-kotlin/java/account/update-session.md index 4ce0e1cdb0..69a6ac8c4a 100644 --- a/docs/examples/1.1.x/server-kotlin/java/account/update-session.md +++ b/docs/examples/1.1.x/server-kotlin/java/account/update-session.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/java/account/update-status.md b/docs/examples/1.1.x/server-kotlin/java/account/update-status.md index 41fab63e29..6b7df1225e 100644 --- a/docs/examples/1.1.x/server-kotlin/java/account/update-status.md +++ b/docs/examples/1.1.x/server-kotlin/java/account/update-status.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/java/account/update-verification.md b/docs/examples/1.1.x/server-kotlin/java/account/update-verification.md index c5e1e3d946..0df999ff67 100644 --- a/docs/examples/1.1.x/server-kotlin/java/account/update-verification.md +++ b/docs/examples/1.1.x/server-kotlin/java/account/update-verification.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/java/avatars/get-browser.md b/docs/examples/1.1.x/server-kotlin/java/avatars/get-browser.md index b892f97c7d..4a28ae82ab 100644 --- a/docs/examples/1.1.x/server-kotlin/java/avatars/get-browser.md +++ b/docs/examples/1.1.x/server-kotlin/java/avatars/get-browser.md @@ -3,7 +3,7 @@ import io.appwrite.services.Avatars public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/avatars/get-credit-card.md b/docs/examples/1.1.x/server-kotlin/java/avatars/get-credit-card.md index 5d1134a400..0a0df9e699 100644 --- a/docs/examples/1.1.x/server-kotlin/java/avatars/get-credit-card.md +++ b/docs/examples/1.1.x/server-kotlin/java/avatars/get-credit-card.md @@ -3,7 +3,7 @@ import io.appwrite.services.Avatars public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/avatars/get-favicon.md b/docs/examples/1.1.x/server-kotlin/java/avatars/get-favicon.md index 843cb5b504..484ad31a69 100644 --- a/docs/examples/1.1.x/server-kotlin/java/avatars/get-favicon.md +++ b/docs/examples/1.1.x/server-kotlin/java/avatars/get-favicon.md @@ -3,7 +3,7 @@ import io.appwrite.services.Avatars public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/avatars/get-flag.md b/docs/examples/1.1.x/server-kotlin/java/avatars/get-flag.md index b5f5af0f1a..a666bf588a 100644 --- a/docs/examples/1.1.x/server-kotlin/java/avatars/get-flag.md +++ b/docs/examples/1.1.x/server-kotlin/java/avatars/get-flag.md @@ -3,7 +3,7 @@ import io.appwrite.services.Avatars public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/avatars/get-image.md b/docs/examples/1.1.x/server-kotlin/java/avatars/get-image.md index cdcea652e1..879f938d45 100644 --- a/docs/examples/1.1.x/server-kotlin/java/avatars/get-image.md +++ b/docs/examples/1.1.x/server-kotlin/java/avatars/get-image.md @@ -3,7 +3,7 @@ import io.appwrite.services.Avatars public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/avatars/get-initials.md b/docs/examples/1.1.x/server-kotlin/java/avatars/get-initials.md index d213c5dc04..19101f3643 100644 --- a/docs/examples/1.1.x/server-kotlin/java/avatars/get-initials.md +++ b/docs/examples/1.1.x/server-kotlin/java/avatars/get-initials.md @@ -3,7 +3,7 @@ import io.appwrite.services.Avatars public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/avatars/get-q-r.md b/docs/examples/1.1.x/server-kotlin/java/avatars/get-q-r.md index 777ff03bc6..c4dd9c6806 100644 --- a/docs/examples/1.1.x/server-kotlin/java/avatars/get-q-r.md +++ b/docs/examples/1.1.x/server-kotlin/java/avatars/get-q-r.md @@ -3,7 +3,7 @@ import io.appwrite.services.Avatars public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/databases/create-boolean-attribute.md b/docs/examples/1.1.x/server-kotlin/java/databases/create-boolean-attribute.md index 594ed8e2b2..70b3b9f2d2 100644 --- a/docs/examples/1.1.x/server-kotlin/java/databases/create-boolean-attribute.md +++ b/docs/examples/1.1.x/server-kotlin/java/databases/create-boolean-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/databases/create-collection.md b/docs/examples/1.1.x/server-kotlin/java/databases/create-collection.md index 37c6fe2ed3..14d7faefe3 100644 --- a/docs/examples/1.1.x/server-kotlin/java/databases/create-collection.md +++ b/docs/examples/1.1.x/server-kotlin/java/databases/create-collection.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/databases/create-datetime-attribute.md b/docs/examples/1.1.x/server-kotlin/java/databases/create-datetime-attribute.md index 4a9617831c..7fa53f6f6e 100644 --- a/docs/examples/1.1.x/server-kotlin/java/databases/create-datetime-attribute.md +++ b/docs/examples/1.1.x/server-kotlin/java/databases/create-datetime-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/databases/create-document.md b/docs/examples/1.1.x/server-kotlin/java/databases/create-document.md index 0047d3271c..4589673e0d 100644 --- a/docs/examples/1.1.x/server-kotlin/java/databases/create-document.md +++ b/docs/examples/1.1.x/server-kotlin/java/databases/create-document.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/databases/create-email-attribute.md b/docs/examples/1.1.x/server-kotlin/java/databases/create-email-attribute.md index 650eb350c0..695659750e 100644 --- a/docs/examples/1.1.x/server-kotlin/java/databases/create-email-attribute.md +++ b/docs/examples/1.1.x/server-kotlin/java/databases/create-email-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/databases/create-enum-attribute.md b/docs/examples/1.1.x/server-kotlin/java/databases/create-enum-attribute.md index 5c0e93df46..3ecc8cc080 100644 --- a/docs/examples/1.1.x/server-kotlin/java/databases/create-enum-attribute.md +++ b/docs/examples/1.1.x/server-kotlin/java/databases/create-enum-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/databases/create-float-attribute.md b/docs/examples/1.1.x/server-kotlin/java/databases/create-float-attribute.md index 5d684d91c4..92287ff67e 100644 --- a/docs/examples/1.1.x/server-kotlin/java/databases/create-float-attribute.md +++ b/docs/examples/1.1.x/server-kotlin/java/databases/create-float-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/databases/create-index.md b/docs/examples/1.1.x/server-kotlin/java/databases/create-index.md index b2a85d5662..111d104361 100644 --- a/docs/examples/1.1.x/server-kotlin/java/databases/create-index.md +++ b/docs/examples/1.1.x/server-kotlin/java/databases/create-index.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/databases/create-integer-attribute.md b/docs/examples/1.1.x/server-kotlin/java/databases/create-integer-attribute.md index a8e7983936..79eeff6270 100644 --- a/docs/examples/1.1.x/server-kotlin/java/databases/create-integer-attribute.md +++ b/docs/examples/1.1.x/server-kotlin/java/databases/create-integer-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/databases/create-ip-attribute.md b/docs/examples/1.1.x/server-kotlin/java/databases/create-ip-attribute.md index b593726b04..40c81210c5 100644 --- a/docs/examples/1.1.x/server-kotlin/java/databases/create-ip-attribute.md +++ b/docs/examples/1.1.x/server-kotlin/java/databases/create-ip-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/databases/create-string-attribute.md b/docs/examples/1.1.x/server-kotlin/java/databases/create-string-attribute.md index 8ca68a61c6..831597c018 100644 --- a/docs/examples/1.1.x/server-kotlin/java/databases/create-string-attribute.md +++ b/docs/examples/1.1.x/server-kotlin/java/databases/create-string-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/databases/create-url-attribute.md b/docs/examples/1.1.x/server-kotlin/java/databases/create-url-attribute.md index 05a616a676..60fb69d2f4 100644 --- a/docs/examples/1.1.x/server-kotlin/java/databases/create-url-attribute.md +++ b/docs/examples/1.1.x/server-kotlin/java/databases/create-url-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/databases/create.md b/docs/examples/1.1.x/server-kotlin/java/databases/create.md index 1a76402595..07a7fed8a9 100644 --- a/docs/examples/1.1.x/server-kotlin/java/databases/create.md +++ b/docs/examples/1.1.x/server-kotlin/java/databases/create.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/databases/delete-attribute.md b/docs/examples/1.1.x/server-kotlin/java/databases/delete-attribute.md index 531a1e4ff5..f93097a340 100644 --- a/docs/examples/1.1.x/server-kotlin/java/databases/delete-attribute.md +++ b/docs/examples/1.1.x/server-kotlin/java/databases/delete-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/databases/delete-collection.md b/docs/examples/1.1.x/server-kotlin/java/databases/delete-collection.md index e21866a958..3851e5781d 100644 --- a/docs/examples/1.1.x/server-kotlin/java/databases/delete-collection.md +++ b/docs/examples/1.1.x/server-kotlin/java/databases/delete-collection.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/databases/delete-document.md b/docs/examples/1.1.x/server-kotlin/java/databases/delete-document.md index 0b4d16c0b6..7f2c2194cc 100644 --- a/docs/examples/1.1.x/server-kotlin/java/databases/delete-document.md +++ b/docs/examples/1.1.x/server-kotlin/java/databases/delete-document.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/databases/delete-index.md b/docs/examples/1.1.x/server-kotlin/java/databases/delete-index.md index fb76854719..b7209db58d 100644 --- a/docs/examples/1.1.x/server-kotlin/java/databases/delete-index.md +++ b/docs/examples/1.1.x/server-kotlin/java/databases/delete-index.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/databases/delete.md b/docs/examples/1.1.x/server-kotlin/java/databases/delete.md index 29a9bd7ff1..5a8b55b2a3 100644 --- a/docs/examples/1.1.x/server-kotlin/java/databases/delete.md +++ b/docs/examples/1.1.x/server-kotlin/java/databases/delete.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/databases/get-attribute.md b/docs/examples/1.1.x/server-kotlin/java/databases/get-attribute.md index 18c00608a2..acf0668caf 100644 --- a/docs/examples/1.1.x/server-kotlin/java/databases/get-attribute.md +++ b/docs/examples/1.1.x/server-kotlin/java/databases/get-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/databases/get-collection.md b/docs/examples/1.1.x/server-kotlin/java/databases/get-collection.md index cddfd16f87..6aae2231eb 100644 --- a/docs/examples/1.1.x/server-kotlin/java/databases/get-collection.md +++ b/docs/examples/1.1.x/server-kotlin/java/databases/get-collection.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/databases/get-document.md b/docs/examples/1.1.x/server-kotlin/java/databases/get-document.md index caba9175a9..6c89badaa8 100644 --- a/docs/examples/1.1.x/server-kotlin/java/databases/get-document.md +++ b/docs/examples/1.1.x/server-kotlin/java/databases/get-document.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/databases/get-index.md b/docs/examples/1.1.x/server-kotlin/java/databases/get-index.md index ca3a1474bd..dcd80a31db 100644 --- a/docs/examples/1.1.x/server-kotlin/java/databases/get-index.md +++ b/docs/examples/1.1.x/server-kotlin/java/databases/get-index.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/databases/get.md b/docs/examples/1.1.x/server-kotlin/java/databases/get.md index 6eee314995..fadb0a0bcb 100644 --- a/docs/examples/1.1.x/server-kotlin/java/databases/get.md +++ b/docs/examples/1.1.x/server-kotlin/java/databases/get.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/databases/list-attributes.md b/docs/examples/1.1.x/server-kotlin/java/databases/list-attributes.md index a1048cf792..b1a57e034a 100644 --- a/docs/examples/1.1.x/server-kotlin/java/databases/list-attributes.md +++ b/docs/examples/1.1.x/server-kotlin/java/databases/list-attributes.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/databases/list-collections.md b/docs/examples/1.1.x/server-kotlin/java/databases/list-collections.md index d21ab89ba0..a2c2290335 100644 --- a/docs/examples/1.1.x/server-kotlin/java/databases/list-collections.md +++ b/docs/examples/1.1.x/server-kotlin/java/databases/list-collections.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/databases/list-documents.md b/docs/examples/1.1.x/server-kotlin/java/databases/list-documents.md index 99e724d9ce..e483c79bec 100644 --- a/docs/examples/1.1.x/server-kotlin/java/databases/list-documents.md +++ b/docs/examples/1.1.x/server-kotlin/java/databases/list-documents.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/databases/list-indexes.md b/docs/examples/1.1.x/server-kotlin/java/databases/list-indexes.md index 3b8b918798..d6dbe2a0b6 100644 --- a/docs/examples/1.1.x/server-kotlin/java/databases/list-indexes.md +++ b/docs/examples/1.1.x/server-kotlin/java/databases/list-indexes.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/databases/list.md b/docs/examples/1.1.x/server-kotlin/java/databases/list.md index 94294a62fa..3c7f6fc175 100644 --- a/docs/examples/1.1.x/server-kotlin/java/databases/list.md +++ b/docs/examples/1.1.x/server-kotlin/java/databases/list.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/databases/update-collection.md b/docs/examples/1.1.x/server-kotlin/java/databases/update-collection.md index a1a2a48361..bccf252300 100644 --- a/docs/examples/1.1.x/server-kotlin/java/databases/update-collection.md +++ b/docs/examples/1.1.x/server-kotlin/java/databases/update-collection.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/databases/update-document.md b/docs/examples/1.1.x/server-kotlin/java/databases/update-document.md index b2f6c1db45..9e33b9647c 100644 --- a/docs/examples/1.1.x/server-kotlin/java/databases/update-document.md +++ b/docs/examples/1.1.x/server-kotlin/java/databases/update-document.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/databases/update.md b/docs/examples/1.1.x/server-kotlin/java/databases/update.md index 782388c095..ebc3fcf75c 100644 --- a/docs/examples/1.1.x/server-kotlin/java/databases/update.md +++ b/docs/examples/1.1.x/server-kotlin/java/databases/update.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/functions/create-build.md b/docs/examples/1.1.x/server-kotlin/java/functions/create-build.md index 93da893c8f..bf1556209a 100644 --- a/docs/examples/1.1.x/server-kotlin/java/functions/create-build.md +++ b/docs/examples/1.1.x/server-kotlin/java/functions/create-build.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/functions/create-deployment.md b/docs/examples/1.1.x/server-kotlin/java/functions/create-deployment.md index 8407ab2830..fee95cafd2 100644 --- a/docs/examples/1.1.x/server-kotlin/java/functions/create-deployment.md +++ b/docs/examples/1.1.x/server-kotlin/java/functions/create-deployment.md @@ -4,7 +4,7 @@ import io.appwrite.services.Functions public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/functions/create-execution.md b/docs/examples/1.1.x/server-kotlin/java/functions/create-execution.md index e4f69db23c..c870c451a9 100644 --- a/docs/examples/1.1.x/server-kotlin/java/functions/create-execution.md +++ b/docs/examples/1.1.x/server-kotlin/java/functions/create-execution.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/functions/create-variable.md b/docs/examples/1.1.x/server-kotlin/java/functions/create-variable.md index 915e707c8a..32c859e5b1 100644 --- a/docs/examples/1.1.x/server-kotlin/java/functions/create-variable.md +++ b/docs/examples/1.1.x/server-kotlin/java/functions/create-variable.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/functions/create.md b/docs/examples/1.1.x/server-kotlin/java/functions/create.md index 600510310a..6f78b9a7a5 100644 --- a/docs/examples/1.1.x/server-kotlin/java/functions/create.md +++ b/docs/examples/1.1.x/server-kotlin/java/functions/create.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/functions/delete-deployment.md b/docs/examples/1.1.x/server-kotlin/java/functions/delete-deployment.md index aa60c9fcc8..e48607262d 100644 --- a/docs/examples/1.1.x/server-kotlin/java/functions/delete-deployment.md +++ b/docs/examples/1.1.x/server-kotlin/java/functions/delete-deployment.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/functions/delete-variable.md b/docs/examples/1.1.x/server-kotlin/java/functions/delete-variable.md index bca29eb32f..570b3d9194 100644 --- a/docs/examples/1.1.x/server-kotlin/java/functions/delete-variable.md +++ b/docs/examples/1.1.x/server-kotlin/java/functions/delete-variable.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/functions/delete.md b/docs/examples/1.1.x/server-kotlin/java/functions/delete.md index 340253fecf..a10ace4793 100644 --- a/docs/examples/1.1.x/server-kotlin/java/functions/delete.md +++ b/docs/examples/1.1.x/server-kotlin/java/functions/delete.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/functions/get-deployment.md b/docs/examples/1.1.x/server-kotlin/java/functions/get-deployment.md index c669895e8c..e31b78547a 100644 --- a/docs/examples/1.1.x/server-kotlin/java/functions/get-deployment.md +++ b/docs/examples/1.1.x/server-kotlin/java/functions/get-deployment.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/functions/get-execution.md b/docs/examples/1.1.x/server-kotlin/java/functions/get-execution.md index 2e7de1d26a..898fd4cc66 100644 --- a/docs/examples/1.1.x/server-kotlin/java/functions/get-execution.md +++ b/docs/examples/1.1.x/server-kotlin/java/functions/get-execution.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/functions/get-variable.md b/docs/examples/1.1.x/server-kotlin/java/functions/get-variable.md index 43e284cef6..da010db540 100644 --- a/docs/examples/1.1.x/server-kotlin/java/functions/get-variable.md +++ b/docs/examples/1.1.x/server-kotlin/java/functions/get-variable.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/functions/get.md b/docs/examples/1.1.x/server-kotlin/java/functions/get.md index 660561da93..bfe82ab392 100644 --- a/docs/examples/1.1.x/server-kotlin/java/functions/get.md +++ b/docs/examples/1.1.x/server-kotlin/java/functions/get.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/functions/list-deployments.md b/docs/examples/1.1.x/server-kotlin/java/functions/list-deployments.md index 9124582076..bbbb7d2e9d 100644 --- a/docs/examples/1.1.x/server-kotlin/java/functions/list-deployments.md +++ b/docs/examples/1.1.x/server-kotlin/java/functions/list-deployments.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/functions/list-executions.md b/docs/examples/1.1.x/server-kotlin/java/functions/list-executions.md index 3f66e8082c..212efa6d8e 100644 --- a/docs/examples/1.1.x/server-kotlin/java/functions/list-executions.md +++ b/docs/examples/1.1.x/server-kotlin/java/functions/list-executions.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/functions/list-runtimes.md b/docs/examples/1.1.x/server-kotlin/java/functions/list-runtimes.md index 350e6650fd..925603c7ac 100644 --- a/docs/examples/1.1.x/server-kotlin/java/functions/list-runtimes.md +++ b/docs/examples/1.1.x/server-kotlin/java/functions/list-runtimes.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/functions/list-variables.md b/docs/examples/1.1.x/server-kotlin/java/functions/list-variables.md index 95d3e09aa7..e8f20136fb 100644 --- a/docs/examples/1.1.x/server-kotlin/java/functions/list-variables.md +++ b/docs/examples/1.1.x/server-kotlin/java/functions/list-variables.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/functions/list.md b/docs/examples/1.1.x/server-kotlin/java/functions/list.md index dd9f2c7c9c..d75d49076a 100644 --- a/docs/examples/1.1.x/server-kotlin/java/functions/list.md +++ b/docs/examples/1.1.x/server-kotlin/java/functions/list.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/functions/update-deployment.md b/docs/examples/1.1.x/server-kotlin/java/functions/update-deployment.md index e9be8adbe9..653c57e250 100644 --- a/docs/examples/1.1.x/server-kotlin/java/functions/update-deployment.md +++ b/docs/examples/1.1.x/server-kotlin/java/functions/update-deployment.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/functions/update-variable.md b/docs/examples/1.1.x/server-kotlin/java/functions/update-variable.md index 399024b36e..73bd2bb6db 100644 --- a/docs/examples/1.1.x/server-kotlin/java/functions/update-variable.md +++ b/docs/examples/1.1.x/server-kotlin/java/functions/update-variable.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/functions/update.md b/docs/examples/1.1.x/server-kotlin/java/functions/update.md index 49ca93aeb3..c453060476 100644 --- a/docs/examples/1.1.x/server-kotlin/java/functions/update.md +++ b/docs/examples/1.1.x/server-kotlin/java/functions/update.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/health/get-antivirus.md b/docs/examples/1.1.x/server-kotlin/java/health/get-antivirus.md index 43d93aab51..5c046d1c87 100644 --- a/docs/examples/1.1.x/server-kotlin/java/health/get-antivirus.md +++ b/docs/examples/1.1.x/server-kotlin/java/health/get-antivirus.md @@ -3,7 +3,7 @@ import io.appwrite.services.Health public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/health/get-cache.md b/docs/examples/1.1.x/server-kotlin/java/health/get-cache.md index 6ad11863ce..d66f3c03d9 100644 --- a/docs/examples/1.1.x/server-kotlin/java/health/get-cache.md +++ b/docs/examples/1.1.x/server-kotlin/java/health/get-cache.md @@ -3,7 +3,7 @@ import io.appwrite.services.Health public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/health/get-d-b.md b/docs/examples/1.1.x/server-kotlin/java/health/get-d-b.md index e4db1d9966..5bfc06443e 100644 --- a/docs/examples/1.1.x/server-kotlin/java/health/get-d-b.md +++ b/docs/examples/1.1.x/server-kotlin/java/health/get-d-b.md @@ -3,7 +3,7 @@ import io.appwrite.services.Health public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/health/get-queue-certificates.md b/docs/examples/1.1.x/server-kotlin/java/health/get-queue-certificates.md index d7331e50a2..690190b823 100644 --- a/docs/examples/1.1.x/server-kotlin/java/health/get-queue-certificates.md +++ b/docs/examples/1.1.x/server-kotlin/java/health/get-queue-certificates.md @@ -3,7 +3,7 @@ import io.appwrite.services.Health public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/health/get-queue-functions.md b/docs/examples/1.1.x/server-kotlin/java/health/get-queue-functions.md index 1ed847e7c8..2ecfb0584d 100644 --- a/docs/examples/1.1.x/server-kotlin/java/health/get-queue-functions.md +++ b/docs/examples/1.1.x/server-kotlin/java/health/get-queue-functions.md @@ -3,7 +3,7 @@ import io.appwrite.services.Health public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/health/get-queue-logs.md b/docs/examples/1.1.x/server-kotlin/java/health/get-queue-logs.md index 0b232c819d..f4ef35e57e 100644 --- a/docs/examples/1.1.x/server-kotlin/java/health/get-queue-logs.md +++ b/docs/examples/1.1.x/server-kotlin/java/health/get-queue-logs.md @@ -3,7 +3,7 @@ import io.appwrite.services.Health public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/health/get-queue-webhooks.md b/docs/examples/1.1.x/server-kotlin/java/health/get-queue-webhooks.md index e2a84ff187..1d7527d70e 100644 --- a/docs/examples/1.1.x/server-kotlin/java/health/get-queue-webhooks.md +++ b/docs/examples/1.1.x/server-kotlin/java/health/get-queue-webhooks.md @@ -3,7 +3,7 @@ import io.appwrite.services.Health public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/health/get-storage-local.md b/docs/examples/1.1.x/server-kotlin/java/health/get-storage-local.md index 275cb7e230..fde0b58495 100644 --- a/docs/examples/1.1.x/server-kotlin/java/health/get-storage-local.md +++ b/docs/examples/1.1.x/server-kotlin/java/health/get-storage-local.md @@ -3,7 +3,7 @@ import io.appwrite.services.Health public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/health/get-time.md b/docs/examples/1.1.x/server-kotlin/java/health/get-time.md index 57d25d6466..c2b31efa1e 100644 --- a/docs/examples/1.1.x/server-kotlin/java/health/get-time.md +++ b/docs/examples/1.1.x/server-kotlin/java/health/get-time.md @@ -3,7 +3,7 @@ import io.appwrite.services.Health public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/health/get.md b/docs/examples/1.1.x/server-kotlin/java/health/get.md index d922c22d81..a49d3599a8 100644 --- a/docs/examples/1.1.x/server-kotlin/java/health/get.md +++ b/docs/examples/1.1.x/server-kotlin/java/health/get.md @@ -3,7 +3,7 @@ import io.appwrite.services.Health public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/locale/get.md b/docs/examples/1.1.x/server-kotlin/java/locale/get.md index c8f37a5a1c..d8991cc3d1 100644 --- a/docs/examples/1.1.x/server-kotlin/java/locale/get.md +++ b/docs/examples/1.1.x/server-kotlin/java/locale/get.md @@ -3,7 +3,7 @@ import io.appwrite.services.Locale public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/locale/list-continents.md b/docs/examples/1.1.x/server-kotlin/java/locale/list-continents.md index 15d5b6e2be..ef31efe8af 100644 --- a/docs/examples/1.1.x/server-kotlin/java/locale/list-continents.md +++ b/docs/examples/1.1.x/server-kotlin/java/locale/list-continents.md @@ -3,7 +3,7 @@ import io.appwrite.services.Locale public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/locale/list-countries-e-u.md b/docs/examples/1.1.x/server-kotlin/java/locale/list-countries-e-u.md index bd2007739b..881fabbda8 100644 --- a/docs/examples/1.1.x/server-kotlin/java/locale/list-countries-e-u.md +++ b/docs/examples/1.1.x/server-kotlin/java/locale/list-countries-e-u.md @@ -3,7 +3,7 @@ import io.appwrite.services.Locale public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/locale/list-countries-phones.md b/docs/examples/1.1.x/server-kotlin/java/locale/list-countries-phones.md index 083b1633a6..974cf09838 100644 --- a/docs/examples/1.1.x/server-kotlin/java/locale/list-countries-phones.md +++ b/docs/examples/1.1.x/server-kotlin/java/locale/list-countries-phones.md @@ -3,7 +3,7 @@ import io.appwrite.services.Locale public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/locale/list-countries.md b/docs/examples/1.1.x/server-kotlin/java/locale/list-countries.md index 52dce6a165..b82a5cc1cb 100644 --- a/docs/examples/1.1.x/server-kotlin/java/locale/list-countries.md +++ b/docs/examples/1.1.x/server-kotlin/java/locale/list-countries.md @@ -3,7 +3,7 @@ import io.appwrite.services.Locale public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/locale/list-currencies.md b/docs/examples/1.1.x/server-kotlin/java/locale/list-currencies.md index d34a3a892a..b611ff4ceb 100644 --- a/docs/examples/1.1.x/server-kotlin/java/locale/list-currencies.md +++ b/docs/examples/1.1.x/server-kotlin/java/locale/list-currencies.md @@ -3,7 +3,7 @@ import io.appwrite.services.Locale public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/locale/list-languages.md b/docs/examples/1.1.x/server-kotlin/java/locale/list-languages.md index 05c574a47f..a9708c00ac 100644 --- a/docs/examples/1.1.x/server-kotlin/java/locale/list-languages.md +++ b/docs/examples/1.1.x/server-kotlin/java/locale/list-languages.md @@ -3,7 +3,7 @@ import io.appwrite.services.Locale public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/storage/create-bucket.md b/docs/examples/1.1.x/server-kotlin/java/storage/create-bucket.md index c867d697a0..8df40457b7 100644 --- a/docs/examples/1.1.x/server-kotlin/java/storage/create-bucket.md +++ b/docs/examples/1.1.x/server-kotlin/java/storage/create-bucket.md @@ -3,7 +3,7 @@ import io.appwrite.services.Storage public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/storage/create-file.md b/docs/examples/1.1.x/server-kotlin/java/storage/create-file.md index 3eff43c48f..5bd47ae7d2 100644 --- a/docs/examples/1.1.x/server-kotlin/java/storage/create-file.md +++ b/docs/examples/1.1.x/server-kotlin/java/storage/create-file.md @@ -4,7 +4,7 @@ import io.appwrite.services.Storage public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/storage/delete-bucket.md b/docs/examples/1.1.x/server-kotlin/java/storage/delete-bucket.md index ea8a4795c2..3a996f5e6f 100644 --- a/docs/examples/1.1.x/server-kotlin/java/storage/delete-bucket.md +++ b/docs/examples/1.1.x/server-kotlin/java/storage/delete-bucket.md @@ -3,7 +3,7 @@ import io.appwrite.services.Storage public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/storage/delete-file.md b/docs/examples/1.1.x/server-kotlin/java/storage/delete-file.md index b6f17557ed..326aecd10e 100644 --- a/docs/examples/1.1.x/server-kotlin/java/storage/delete-file.md +++ b/docs/examples/1.1.x/server-kotlin/java/storage/delete-file.md @@ -3,7 +3,7 @@ import io.appwrite.services.Storage public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/storage/get-bucket.md b/docs/examples/1.1.x/server-kotlin/java/storage/get-bucket.md index 53d13792e3..e3eb7b9c66 100644 --- a/docs/examples/1.1.x/server-kotlin/java/storage/get-bucket.md +++ b/docs/examples/1.1.x/server-kotlin/java/storage/get-bucket.md @@ -3,7 +3,7 @@ import io.appwrite.services.Storage public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/storage/get-file-download.md b/docs/examples/1.1.x/server-kotlin/java/storage/get-file-download.md index 11a52c8970..debc6ef723 100644 --- a/docs/examples/1.1.x/server-kotlin/java/storage/get-file-download.md +++ b/docs/examples/1.1.x/server-kotlin/java/storage/get-file-download.md @@ -3,7 +3,7 @@ import io.appwrite.services.Storage public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/storage/get-file-preview.md b/docs/examples/1.1.x/server-kotlin/java/storage/get-file-preview.md index 4219058238..8cc69e4898 100644 --- a/docs/examples/1.1.x/server-kotlin/java/storage/get-file-preview.md +++ b/docs/examples/1.1.x/server-kotlin/java/storage/get-file-preview.md @@ -3,7 +3,7 @@ import io.appwrite.services.Storage public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/storage/get-file-view.md b/docs/examples/1.1.x/server-kotlin/java/storage/get-file-view.md index 4194ca4c22..3d3b9f0b65 100644 --- a/docs/examples/1.1.x/server-kotlin/java/storage/get-file-view.md +++ b/docs/examples/1.1.x/server-kotlin/java/storage/get-file-view.md @@ -3,7 +3,7 @@ import io.appwrite.services.Storage public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/storage/get-file.md b/docs/examples/1.1.x/server-kotlin/java/storage/get-file.md index 257916252d..1845ce3087 100644 --- a/docs/examples/1.1.x/server-kotlin/java/storage/get-file.md +++ b/docs/examples/1.1.x/server-kotlin/java/storage/get-file.md @@ -3,7 +3,7 @@ import io.appwrite.services.Storage public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/storage/list-buckets.md b/docs/examples/1.1.x/server-kotlin/java/storage/list-buckets.md index 5e70c788e4..b6ae28dc54 100644 --- a/docs/examples/1.1.x/server-kotlin/java/storage/list-buckets.md +++ b/docs/examples/1.1.x/server-kotlin/java/storage/list-buckets.md @@ -3,7 +3,7 @@ import io.appwrite.services.Storage public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/storage/list-files.md b/docs/examples/1.1.x/server-kotlin/java/storage/list-files.md index 0cde2f7496..c44ce1a8ac 100644 --- a/docs/examples/1.1.x/server-kotlin/java/storage/list-files.md +++ b/docs/examples/1.1.x/server-kotlin/java/storage/list-files.md @@ -3,7 +3,7 @@ import io.appwrite.services.Storage public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/storage/update-bucket.md b/docs/examples/1.1.x/server-kotlin/java/storage/update-bucket.md index 3910afa88f..77e7fb2f27 100644 --- a/docs/examples/1.1.x/server-kotlin/java/storage/update-bucket.md +++ b/docs/examples/1.1.x/server-kotlin/java/storage/update-bucket.md @@ -3,7 +3,7 @@ import io.appwrite.services.Storage public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/storage/update-file.md b/docs/examples/1.1.x/server-kotlin/java/storage/update-file.md index bf33afc8e8..3d09d3c64e 100644 --- a/docs/examples/1.1.x/server-kotlin/java/storage/update-file.md +++ b/docs/examples/1.1.x/server-kotlin/java/storage/update-file.md @@ -3,7 +3,7 @@ import io.appwrite.services.Storage public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/teams/create-membership.md b/docs/examples/1.1.x/server-kotlin/java/teams/create-membership.md index fa8e9dabf1..3ce0908615 100644 --- a/docs/examples/1.1.x/server-kotlin/java/teams/create-membership.md +++ b/docs/examples/1.1.x/server-kotlin/java/teams/create-membership.md @@ -3,7 +3,7 @@ import io.appwrite.services.Teams public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/teams/create.md b/docs/examples/1.1.x/server-kotlin/java/teams/create.md index 3c4cd2c1e5..64c49a9068 100644 --- a/docs/examples/1.1.x/server-kotlin/java/teams/create.md +++ b/docs/examples/1.1.x/server-kotlin/java/teams/create.md @@ -3,7 +3,7 @@ import io.appwrite.services.Teams public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/teams/delete-membership.md b/docs/examples/1.1.x/server-kotlin/java/teams/delete-membership.md index 4d623972c4..5063a18099 100644 --- a/docs/examples/1.1.x/server-kotlin/java/teams/delete-membership.md +++ b/docs/examples/1.1.x/server-kotlin/java/teams/delete-membership.md @@ -3,7 +3,7 @@ import io.appwrite.services.Teams public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/teams/delete.md b/docs/examples/1.1.x/server-kotlin/java/teams/delete.md index dad6335065..8a6b008e72 100644 --- a/docs/examples/1.1.x/server-kotlin/java/teams/delete.md +++ b/docs/examples/1.1.x/server-kotlin/java/teams/delete.md @@ -3,7 +3,7 @@ import io.appwrite.services.Teams public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/teams/get-membership.md b/docs/examples/1.1.x/server-kotlin/java/teams/get-membership.md index 7c6ec27714..c26339d821 100644 --- a/docs/examples/1.1.x/server-kotlin/java/teams/get-membership.md +++ b/docs/examples/1.1.x/server-kotlin/java/teams/get-membership.md @@ -3,7 +3,7 @@ import io.appwrite.services.Teams public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/teams/get.md b/docs/examples/1.1.x/server-kotlin/java/teams/get.md index a53b587a55..103b64eeda 100644 --- a/docs/examples/1.1.x/server-kotlin/java/teams/get.md +++ b/docs/examples/1.1.x/server-kotlin/java/teams/get.md @@ -3,7 +3,7 @@ import io.appwrite.services.Teams public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/teams/list-memberships.md b/docs/examples/1.1.x/server-kotlin/java/teams/list-memberships.md index 0b32718545..0c9402c398 100644 --- a/docs/examples/1.1.x/server-kotlin/java/teams/list-memberships.md +++ b/docs/examples/1.1.x/server-kotlin/java/teams/list-memberships.md @@ -3,7 +3,7 @@ import io.appwrite.services.Teams public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/teams/list.md b/docs/examples/1.1.x/server-kotlin/java/teams/list.md index be975179d6..860b6be71f 100644 --- a/docs/examples/1.1.x/server-kotlin/java/teams/list.md +++ b/docs/examples/1.1.x/server-kotlin/java/teams/list.md @@ -3,7 +3,7 @@ import io.appwrite.services.Teams public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/teams/update-membership-roles.md b/docs/examples/1.1.x/server-kotlin/java/teams/update-membership-roles.md index 1b8ee26f48..50a70b07c7 100644 --- a/docs/examples/1.1.x/server-kotlin/java/teams/update-membership-roles.md +++ b/docs/examples/1.1.x/server-kotlin/java/teams/update-membership-roles.md @@ -3,7 +3,7 @@ import io.appwrite.services.Teams public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/teams/update-membership-status.md b/docs/examples/1.1.x/server-kotlin/java/teams/update-membership-status.md index 314060d049..d9560b33c8 100644 --- a/docs/examples/1.1.x/server-kotlin/java/teams/update-membership-status.md +++ b/docs/examples/1.1.x/server-kotlin/java/teams/update-membership-status.md @@ -3,7 +3,7 @@ import io.appwrite.services.Teams public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/java/teams/update.md b/docs/examples/1.1.x/server-kotlin/java/teams/update.md index 7cf49b0440..166d6a60a6 100644 --- a/docs/examples/1.1.x/server-kotlin/java/teams/update.md +++ b/docs/examples/1.1.x/server-kotlin/java/teams/update.md @@ -3,7 +3,7 @@ import io.appwrite.services.Teams public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/users/create-argon2user.md b/docs/examples/1.1.x/server-kotlin/java/users/create-argon2user.md index 99fbce7ea6..ec6c6abab5 100644 --- a/docs/examples/1.1.x/server-kotlin/java/users/create-argon2user.md +++ b/docs/examples/1.1.x/server-kotlin/java/users/create-argon2user.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/users/create-bcrypt-user.md b/docs/examples/1.1.x/server-kotlin/java/users/create-bcrypt-user.md index c7ca2627b9..f9d6bd2f58 100644 --- a/docs/examples/1.1.x/server-kotlin/java/users/create-bcrypt-user.md +++ b/docs/examples/1.1.x/server-kotlin/java/users/create-bcrypt-user.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/users/create-m-d5user.md b/docs/examples/1.1.x/server-kotlin/java/users/create-m-d5user.md index 61071d86fb..645c8f5b2b 100644 --- a/docs/examples/1.1.x/server-kotlin/java/users/create-m-d5user.md +++ b/docs/examples/1.1.x/server-kotlin/java/users/create-m-d5user.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/users/create-p-h-pass-user.md b/docs/examples/1.1.x/server-kotlin/java/users/create-p-h-pass-user.md index 224deb212c..10f314a39b 100644 --- a/docs/examples/1.1.x/server-kotlin/java/users/create-p-h-pass-user.md +++ b/docs/examples/1.1.x/server-kotlin/java/users/create-p-h-pass-user.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/users/create-s-h-a-user.md b/docs/examples/1.1.x/server-kotlin/java/users/create-s-h-a-user.md index beb326b7fd..eaf27c2e92 100644 --- a/docs/examples/1.1.x/server-kotlin/java/users/create-s-h-a-user.md +++ b/docs/examples/1.1.x/server-kotlin/java/users/create-s-h-a-user.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/users/create-scrypt-modified-user.md b/docs/examples/1.1.x/server-kotlin/java/users/create-scrypt-modified-user.md index 9b62aae33f..24b3155296 100644 --- a/docs/examples/1.1.x/server-kotlin/java/users/create-scrypt-modified-user.md +++ b/docs/examples/1.1.x/server-kotlin/java/users/create-scrypt-modified-user.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/users/create-scrypt-user.md b/docs/examples/1.1.x/server-kotlin/java/users/create-scrypt-user.md index 8304e52dbf..ce500eb950 100644 --- a/docs/examples/1.1.x/server-kotlin/java/users/create-scrypt-user.md +++ b/docs/examples/1.1.x/server-kotlin/java/users/create-scrypt-user.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/users/create.md b/docs/examples/1.1.x/server-kotlin/java/users/create.md index c77dd3355b..76c0f3c93a 100644 --- a/docs/examples/1.1.x/server-kotlin/java/users/create.md +++ b/docs/examples/1.1.x/server-kotlin/java/users/create.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/users/delete-session.md b/docs/examples/1.1.x/server-kotlin/java/users/delete-session.md index c7ce60f3e9..3a1eac1d89 100644 --- a/docs/examples/1.1.x/server-kotlin/java/users/delete-session.md +++ b/docs/examples/1.1.x/server-kotlin/java/users/delete-session.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/users/delete-sessions.md b/docs/examples/1.1.x/server-kotlin/java/users/delete-sessions.md index fe5d713ae0..1cc6990c3a 100644 --- a/docs/examples/1.1.x/server-kotlin/java/users/delete-sessions.md +++ b/docs/examples/1.1.x/server-kotlin/java/users/delete-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/users/delete.md b/docs/examples/1.1.x/server-kotlin/java/users/delete.md index 9c5c4db1d5..8649daa1f4 100644 --- a/docs/examples/1.1.x/server-kotlin/java/users/delete.md +++ b/docs/examples/1.1.x/server-kotlin/java/users/delete.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/users/get-prefs.md b/docs/examples/1.1.x/server-kotlin/java/users/get-prefs.md index 86388b49c7..f4e62e4c02 100644 --- a/docs/examples/1.1.x/server-kotlin/java/users/get-prefs.md +++ b/docs/examples/1.1.x/server-kotlin/java/users/get-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/users/get.md b/docs/examples/1.1.x/server-kotlin/java/users/get.md index bbc5dfa082..0b8096abf1 100644 --- a/docs/examples/1.1.x/server-kotlin/java/users/get.md +++ b/docs/examples/1.1.x/server-kotlin/java/users/get.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/users/list-logs.md b/docs/examples/1.1.x/server-kotlin/java/users/list-logs.md index f70cd2129e..e2b612111c 100644 --- a/docs/examples/1.1.x/server-kotlin/java/users/list-logs.md +++ b/docs/examples/1.1.x/server-kotlin/java/users/list-logs.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/users/list-memberships.md b/docs/examples/1.1.x/server-kotlin/java/users/list-memberships.md index 487b003aff..7ea99f53b3 100644 --- a/docs/examples/1.1.x/server-kotlin/java/users/list-memberships.md +++ b/docs/examples/1.1.x/server-kotlin/java/users/list-memberships.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/users/list-sessions.md b/docs/examples/1.1.x/server-kotlin/java/users/list-sessions.md index 5810c1720f..868340abd7 100644 --- a/docs/examples/1.1.x/server-kotlin/java/users/list-sessions.md +++ b/docs/examples/1.1.x/server-kotlin/java/users/list-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/users/list.md b/docs/examples/1.1.x/server-kotlin/java/users/list.md index 6f07e3989e..228d35a7c6 100644 --- a/docs/examples/1.1.x/server-kotlin/java/users/list.md +++ b/docs/examples/1.1.x/server-kotlin/java/users/list.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/users/update-email-verification.md b/docs/examples/1.1.x/server-kotlin/java/users/update-email-verification.md index b42b2cfeba..3e4f3377da 100644 --- a/docs/examples/1.1.x/server-kotlin/java/users/update-email-verification.md +++ b/docs/examples/1.1.x/server-kotlin/java/users/update-email-verification.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/users/update-email.md b/docs/examples/1.1.x/server-kotlin/java/users/update-email.md index f020be463e..1d1b858033 100644 --- a/docs/examples/1.1.x/server-kotlin/java/users/update-email.md +++ b/docs/examples/1.1.x/server-kotlin/java/users/update-email.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/users/update-name.md b/docs/examples/1.1.x/server-kotlin/java/users/update-name.md index cd457c870c..2e22cbdf06 100644 --- a/docs/examples/1.1.x/server-kotlin/java/users/update-name.md +++ b/docs/examples/1.1.x/server-kotlin/java/users/update-name.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/users/update-password.md b/docs/examples/1.1.x/server-kotlin/java/users/update-password.md index 80898eef0c..b242efc044 100644 --- a/docs/examples/1.1.x/server-kotlin/java/users/update-password.md +++ b/docs/examples/1.1.x/server-kotlin/java/users/update-password.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/users/update-phone-verification.md b/docs/examples/1.1.x/server-kotlin/java/users/update-phone-verification.md index f33f5fd087..dc6a3f965f 100644 --- a/docs/examples/1.1.x/server-kotlin/java/users/update-phone-verification.md +++ b/docs/examples/1.1.x/server-kotlin/java/users/update-phone-verification.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/users/update-phone.md b/docs/examples/1.1.x/server-kotlin/java/users/update-phone.md index a0989f80c9..f7c9e48b8b 100644 --- a/docs/examples/1.1.x/server-kotlin/java/users/update-phone.md +++ b/docs/examples/1.1.x/server-kotlin/java/users/update-phone.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/users/update-prefs.md b/docs/examples/1.1.x/server-kotlin/java/users/update-prefs.md index bb7c316a23..a6f13f77b2 100644 --- a/docs/examples/1.1.x/server-kotlin/java/users/update-prefs.md +++ b/docs/examples/1.1.x/server-kotlin/java/users/update-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/java/users/update-status.md b/docs/examples/1.1.x/server-kotlin/java/users/update-status.md index b66253604c..03c293de7e 100644 --- a/docs/examples/1.1.x/server-kotlin/java/users/update-status.md +++ b/docs/examples/1.1.x/server-kotlin/java/users/update-status.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users public void main() { Client client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/account/create-phone-verification.md b/docs/examples/1.1.x/server-kotlin/kotlin/account/create-phone-verification.md index 6ac3a3153e..61200e90fb 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/account/create-phone-verification.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/account/create-phone-verification.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/account/create-recovery.md b/docs/examples/1.1.x/server-kotlin/kotlin/account/create-recovery.md index cea3493225..ecd0d32225 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/account/create-recovery.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/account/create-recovery.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/account/create-verification.md b/docs/examples/1.1.x/server-kotlin/kotlin/account/create-verification.md index 5b687b2538..a238e1554d 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/account/create-verification.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/account/create-verification.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/account/delete-session.md b/docs/examples/1.1.x/server-kotlin/kotlin/account/delete-session.md index 423868b536..2a0b4ec706 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/account/delete-session.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/account/delete-session.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/account/delete-sessions.md b/docs/examples/1.1.x/server-kotlin/kotlin/account/delete-sessions.md index 52a14be05c..3fa125cd71 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/account/delete-sessions.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/account/delete-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/account/get-prefs.md b/docs/examples/1.1.x/server-kotlin/kotlin/account/get-prefs.md index e380187800..4a31335fa1 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/account/get-prefs.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/account/get-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/account/get-session.md b/docs/examples/1.1.x/server-kotlin/kotlin/account/get-session.md index 08a72ce91c..8ce5138682 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/account/get-session.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/account/get-session.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/account/get.md b/docs/examples/1.1.x/server-kotlin/kotlin/account/get.md index c1f0e68ce6..719dfcfb10 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/account/get.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/account/get.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/account/list-logs.md b/docs/examples/1.1.x/server-kotlin/kotlin/account/list-logs.md index 54067a0bae..cc9308fe8b 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/account/list-logs.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/account/list-logs.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/account/list-sessions.md b/docs/examples/1.1.x/server-kotlin/kotlin/account/list-sessions.md index 90033ec466..5dbf425980 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/account/list-sessions.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/account/list-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/account/update-email.md b/docs/examples/1.1.x/server-kotlin/kotlin/account/update-email.md index ffb13c2a43..be9857bb6c 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/account/update-email.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/account/update-email.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/account/update-name.md b/docs/examples/1.1.x/server-kotlin/kotlin/account/update-name.md index 43d9a6d6db..6760f73f01 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/account/update-name.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/account/update-name.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/account/update-password.md b/docs/examples/1.1.x/server-kotlin/kotlin/account/update-password.md index 0d5d388c0b..dcd14578d7 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/account/update-password.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/account/update-password.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/account/update-phone-verification.md b/docs/examples/1.1.x/server-kotlin/kotlin/account/update-phone-verification.md index 6a208bc3c0..2c3e1e5d77 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/account/update-phone-verification.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/account/update-phone-verification.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/account/update-phone.md b/docs/examples/1.1.x/server-kotlin/kotlin/account/update-phone.md index c6b5e33282..0e0db07178 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/account/update-phone.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/account/update-phone.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/account/update-prefs.md b/docs/examples/1.1.x/server-kotlin/kotlin/account/update-prefs.md index 73a20a6596..0ca8705a3f 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/account/update-prefs.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/account/update-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/account/update-recovery.md b/docs/examples/1.1.x/server-kotlin/kotlin/account/update-recovery.md index 9097c32edb..a90256b1a4 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/account/update-recovery.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/account/update-recovery.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/account/update-session.md b/docs/examples/1.1.x/server-kotlin/kotlin/account/update-session.md index 21bbb56e1b..38a51fdc9e 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/account/update-session.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/account/update-session.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/account/update-status.md b/docs/examples/1.1.x/server-kotlin/kotlin/account/update-status.md index 3cc5c04a91..b4b2cf47c3 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/account/update-status.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/account/update-status.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/account/update-verification.md b/docs/examples/1.1.x/server-kotlin/kotlin/account/update-verification.md index 34f5f32d3c..6c31d6841a 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/account/update-verification.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/account/update-verification.md @@ -3,7 +3,7 @@ import io.appwrite.services.Account suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/avatars/get-browser.md b/docs/examples/1.1.x/server-kotlin/kotlin/avatars/get-browser.md index 5d927ba9d4..db9e042b50 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/avatars/get-browser.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/avatars/get-browser.md @@ -3,7 +3,7 @@ import io.appwrite.services.Avatars suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/avatars/get-credit-card.md b/docs/examples/1.1.x/server-kotlin/kotlin/avatars/get-credit-card.md index 42738dd110..481860b65a 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/avatars/get-credit-card.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/avatars/get-credit-card.md @@ -3,7 +3,7 @@ import io.appwrite.services.Avatars suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/avatars/get-favicon.md b/docs/examples/1.1.x/server-kotlin/kotlin/avatars/get-favicon.md index d88a868666..69a3bddd9e 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/avatars/get-favicon.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/avatars/get-favicon.md @@ -3,7 +3,7 @@ import io.appwrite.services.Avatars suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/avatars/get-flag.md b/docs/examples/1.1.x/server-kotlin/kotlin/avatars/get-flag.md index e63201ebe9..3dc8cd2c8f 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/avatars/get-flag.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/avatars/get-flag.md @@ -3,7 +3,7 @@ import io.appwrite.services.Avatars suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/avatars/get-image.md b/docs/examples/1.1.x/server-kotlin/kotlin/avatars/get-image.md index 6cd02694cc..ecb8d8a58b 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/avatars/get-image.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/avatars/get-image.md @@ -3,7 +3,7 @@ import io.appwrite.services.Avatars suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/avatars/get-initials.md b/docs/examples/1.1.x/server-kotlin/kotlin/avatars/get-initials.md index 33deb1b302..b26598f171 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/avatars/get-initials.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/avatars/get-initials.md @@ -3,7 +3,7 @@ import io.appwrite.services.Avatars suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/avatars/get-q-r.md b/docs/examples/1.1.x/server-kotlin/kotlin/avatars/get-q-r.md index 9bb5a95f07..349cb0ec90 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/avatars/get-q-r.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/avatars/get-q-r.md @@ -3,7 +3,7 @@ import io.appwrite.services.Avatars suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-boolean-attribute.md b/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-boolean-attribute.md index c7afb42eb3..41528d028b 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-boolean-attribute.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-boolean-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-collection.md b/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-collection.md index 36d273695a..3b06b5157c 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-collection.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-collection.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-datetime-attribute.md b/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-datetime-attribute.md index 0a04a626a5..260fe7e9c7 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-datetime-attribute.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-datetime-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-document.md b/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-document.md index 85be538649..6aacdadcdc 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-document.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-document.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-email-attribute.md b/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-email-attribute.md index 0a1e885f86..288a110feb 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-email-attribute.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-email-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-enum-attribute.md b/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-enum-attribute.md index fe07f08342..d965147350 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-enum-attribute.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-enum-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-float-attribute.md b/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-float-attribute.md index 9025f2225d..18b1c2d28f 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-float-attribute.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-float-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-index.md b/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-index.md index 170b065729..6c2c05283f 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-index.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-index.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-integer-attribute.md b/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-integer-attribute.md index 2c4e86aadf..d7a86f8c11 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-integer-attribute.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-integer-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-ip-attribute.md b/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-ip-attribute.md index d9aba79052..9d3f6ba092 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-ip-attribute.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-ip-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-string-attribute.md b/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-string-attribute.md index f35dc11de0..86b022e55d 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-string-attribute.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-string-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-url-attribute.md b/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-url-attribute.md index 6c55ef471f..71b34560f3 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-url-attribute.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/databases/create-url-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/databases/create.md b/docs/examples/1.1.x/server-kotlin/kotlin/databases/create.md index 903aa72835..dcbad5af3d 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/databases/create.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/databases/create.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/databases/delete-attribute.md b/docs/examples/1.1.x/server-kotlin/kotlin/databases/delete-attribute.md index bf22e174ae..65925b89aa 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/databases/delete-attribute.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/databases/delete-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/databases/delete-collection.md b/docs/examples/1.1.x/server-kotlin/kotlin/databases/delete-collection.md index 967b1c082c..406278b640 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/databases/delete-collection.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/databases/delete-collection.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/databases/delete-document.md b/docs/examples/1.1.x/server-kotlin/kotlin/databases/delete-document.md index 911fb63be9..71e8e1e175 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/databases/delete-document.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/databases/delete-document.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/databases/delete-index.md b/docs/examples/1.1.x/server-kotlin/kotlin/databases/delete-index.md index 8a733ecda1..ee63498e36 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/databases/delete-index.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/databases/delete-index.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/databases/delete.md b/docs/examples/1.1.x/server-kotlin/kotlin/databases/delete.md index 2a64f96820..e4dfc88dc5 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/databases/delete.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/databases/delete.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/databases/get-attribute.md b/docs/examples/1.1.x/server-kotlin/kotlin/databases/get-attribute.md index 473cb1ce31..8927bdee40 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/databases/get-attribute.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/databases/get-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/databases/get-collection.md b/docs/examples/1.1.x/server-kotlin/kotlin/databases/get-collection.md index 7867c39e94..7eb0b467aa 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/databases/get-collection.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/databases/get-collection.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/databases/get-document.md b/docs/examples/1.1.x/server-kotlin/kotlin/databases/get-document.md index 03d8e4f7b7..4ac9c8c3fc 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/databases/get-document.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/databases/get-document.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/databases/get-index.md b/docs/examples/1.1.x/server-kotlin/kotlin/databases/get-index.md index e2103648fb..0d3ce4f73d 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/databases/get-index.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/databases/get-index.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/databases/get.md b/docs/examples/1.1.x/server-kotlin/kotlin/databases/get.md index ef11d92549..9c13cb7fd9 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/databases/get.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/databases/get.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/databases/list-attributes.md b/docs/examples/1.1.x/server-kotlin/kotlin/databases/list-attributes.md index fcbae6d97d..a161bb7c9b 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/databases/list-attributes.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/databases/list-attributes.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/databases/list-collections.md b/docs/examples/1.1.x/server-kotlin/kotlin/databases/list-collections.md index 9a3bc67177..cf9219ad80 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/databases/list-collections.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/databases/list-collections.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/databases/list-documents.md b/docs/examples/1.1.x/server-kotlin/kotlin/databases/list-documents.md index c963007c70..5528e9c9cf 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/databases/list-documents.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/databases/list-documents.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/databases/list-indexes.md b/docs/examples/1.1.x/server-kotlin/kotlin/databases/list-indexes.md index 4194ae11d3..f2df11f1c2 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/databases/list-indexes.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/databases/list-indexes.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/databases/list.md b/docs/examples/1.1.x/server-kotlin/kotlin/databases/list.md index aeaf8835ad..a979c19f28 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/databases/list.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/databases/list.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/databases/update-collection.md b/docs/examples/1.1.x/server-kotlin/kotlin/databases/update-collection.md index b1a0881067..53a483fc1f 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/databases/update-collection.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/databases/update-collection.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/databases/update-document.md b/docs/examples/1.1.x/server-kotlin/kotlin/databases/update-document.md index c0847f9292..403fbda6a6 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/databases/update-document.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/databases/update-document.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/databases/update.md b/docs/examples/1.1.x/server-kotlin/kotlin/databases/update.md index a349dfa907..098ec268a8 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/databases/update.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/databases/update.md @@ -3,7 +3,7 @@ import io.appwrite.services.Databases suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/functions/create-build.md b/docs/examples/1.1.x/server-kotlin/kotlin/functions/create-build.md index fc6c26e62c..be7cd2e0c1 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/functions/create-build.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/functions/create-build.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/functions/create-deployment.md b/docs/examples/1.1.x/server-kotlin/kotlin/functions/create-deployment.md index 10461d7de8..0d9b16c590 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/functions/create-deployment.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/functions/create-deployment.md @@ -4,7 +4,7 @@ import io.appwrite.services.Functions suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/functions/create-execution.md b/docs/examples/1.1.x/server-kotlin/kotlin/functions/create-execution.md index 7f5ed237f1..b8e9d8a437 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/functions/create-execution.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/functions/create-execution.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/functions/create-variable.md b/docs/examples/1.1.x/server-kotlin/kotlin/functions/create-variable.md index dbec221f28..9729be2e35 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/functions/create-variable.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/functions/create-variable.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/functions/create.md b/docs/examples/1.1.x/server-kotlin/kotlin/functions/create.md index 8b94bf705e..835f5b3199 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/functions/create.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/functions/create.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/functions/delete-deployment.md b/docs/examples/1.1.x/server-kotlin/kotlin/functions/delete-deployment.md index cf6f20f394..593efa165c 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/functions/delete-deployment.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/functions/delete-deployment.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/functions/delete-variable.md b/docs/examples/1.1.x/server-kotlin/kotlin/functions/delete-variable.md index 1ab4d4fd9c..d6037ef422 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/functions/delete-variable.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/functions/delete-variable.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/functions/delete.md b/docs/examples/1.1.x/server-kotlin/kotlin/functions/delete.md index 3a2b62ef13..2768aeb046 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/functions/delete.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/functions/delete.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/functions/get-deployment.md b/docs/examples/1.1.x/server-kotlin/kotlin/functions/get-deployment.md index ab1b3fbf5e..7c31f56d65 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/functions/get-deployment.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/functions/get-deployment.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/functions/get-execution.md b/docs/examples/1.1.x/server-kotlin/kotlin/functions/get-execution.md index 032365e1a9..ad810c587b 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/functions/get-execution.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/functions/get-execution.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/functions/get-variable.md b/docs/examples/1.1.x/server-kotlin/kotlin/functions/get-variable.md index da2d39529a..c38856addf 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/functions/get-variable.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/functions/get-variable.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/functions/get.md b/docs/examples/1.1.x/server-kotlin/kotlin/functions/get.md index b2419d2c21..695cb815dc 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/functions/get.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/functions/get.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/functions/list-deployments.md b/docs/examples/1.1.x/server-kotlin/kotlin/functions/list-deployments.md index a59bbdd8fe..f09e4f5e6a 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/functions/list-deployments.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/functions/list-deployments.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/functions/list-executions.md b/docs/examples/1.1.x/server-kotlin/kotlin/functions/list-executions.md index fe68f9984a..2ce8ad0744 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/functions/list-executions.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/functions/list-executions.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/functions/list-runtimes.md b/docs/examples/1.1.x/server-kotlin/kotlin/functions/list-runtimes.md index e440717962..30f8bbc1d5 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/functions/list-runtimes.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/functions/list-runtimes.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/functions/list-variables.md b/docs/examples/1.1.x/server-kotlin/kotlin/functions/list-variables.md index d704ca48ef..9238a91442 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/functions/list-variables.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/functions/list-variables.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/functions/list.md b/docs/examples/1.1.x/server-kotlin/kotlin/functions/list.md index 7452da29f8..2e1026ca3a 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/functions/list.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/functions/list.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/functions/update-deployment.md b/docs/examples/1.1.x/server-kotlin/kotlin/functions/update-deployment.md index 65ac548108..12b05e77e4 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/functions/update-deployment.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/functions/update-deployment.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/functions/update-variable.md b/docs/examples/1.1.x/server-kotlin/kotlin/functions/update-variable.md index 6179cb7cb5..eb69dcb6dd 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/functions/update-variable.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/functions/update-variable.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/functions/update.md b/docs/examples/1.1.x/server-kotlin/kotlin/functions/update.md index 208889b6b1..e6c60ee8af 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/functions/update.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/functions/update.md @@ -3,7 +3,7 @@ import io.appwrite.services.Functions suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/health/get-antivirus.md b/docs/examples/1.1.x/server-kotlin/kotlin/health/get-antivirus.md index 81ede56cdd..618ca13f32 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/health/get-antivirus.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/health/get-antivirus.md @@ -3,7 +3,7 @@ import io.appwrite.services.Health suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/health/get-cache.md b/docs/examples/1.1.x/server-kotlin/kotlin/health/get-cache.md index e2b7ca6e54..67b5d28c7b 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/health/get-cache.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/health/get-cache.md @@ -3,7 +3,7 @@ import io.appwrite.services.Health suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/health/get-d-b.md b/docs/examples/1.1.x/server-kotlin/kotlin/health/get-d-b.md index d8aabf4d95..7b0aa0015f 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/health/get-d-b.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/health/get-d-b.md @@ -3,7 +3,7 @@ import io.appwrite.services.Health suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/health/get-queue-certificates.md b/docs/examples/1.1.x/server-kotlin/kotlin/health/get-queue-certificates.md index b0acf58cf4..c541cee685 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/health/get-queue-certificates.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/health/get-queue-certificates.md @@ -3,7 +3,7 @@ import io.appwrite.services.Health suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/health/get-queue-functions.md b/docs/examples/1.1.x/server-kotlin/kotlin/health/get-queue-functions.md index fdfdb25526..0174b442af 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/health/get-queue-functions.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/health/get-queue-functions.md @@ -3,7 +3,7 @@ import io.appwrite.services.Health suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/health/get-queue-logs.md b/docs/examples/1.1.x/server-kotlin/kotlin/health/get-queue-logs.md index 0cd42bb1ea..7504511aee 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/health/get-queue-logs.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/health/get-queue-logs.md @@ -3,7 +3,7 @@ import io.appwrite.services.Health suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/health/get-queue-webhooks.md b/docs/examples/1.1.x/server-kotlin/kotlin/health/get-queue-webhooks.md index a08f377303..ab1848b840 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/health/get-queue-webhooks.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/health/get-queue-webhooks.md @@ -3,7 +3,7 @@ import io.appwrite.services.Health suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/health/get-storage-local.md b/docs/examples/1.1.x/server-kotlin/kotlin/health/get-storage-local.md index db5f25d7be..e44e5702ef 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/health/get-storage-local.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/health/get-storage-local.md @@ -3,7 +3,7 @@ import io.appwrite.services.Health suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/health/get-time.md b/docs/examples/1.1.x/server-kotlin/kotlin/health/get-time.md index d173c995b2..1e028bbbd3 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/health/get-time.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/health/get-time.md @@ -3,7 +3,7 @@ import io.appwrite.services.Health suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/health/get.md b/docs/examples/1.1.x/server-kotlin/kotlin/health/get.md index 3a728523a5..8638d6cfd4 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/health/get.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/health/get.md @@ -3,7 +3,7 @@ import io.appwrite.services.Health suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/locale/get.md b/docs/examples/1.1.x/server-kotlin/kotlin/locale/get.md index a2712a080b..00b19cea68 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/locale/get.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/locale/get.md @@ -3,7 +3,7 @@ import io.appwrite.services.Locale suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/locale/list-continents.md b/docs/examples/1.1.x/server-kotlin/kotlin/locale/list-continents.md index d2e877476c..f763a62d10 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/locale/list-continents.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/locale/list-continents.md @@ -3,7 +3,7 @@ import io.appwrite.services.Locale suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/locale/list-countries-e-u.md b/docs/examples/1.1.x/server-kotlin/kotlin/locale/list-countries-e-u.md index 7f07f776be..3c5ef9674b 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/locale/list-countries-e-u.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/locale/list-countries-e-u.md @@ -3,7 +3,7 @@ import io.appwrite.services.Locale suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/locale/list-countries-phones.md b/docs/examples/1.1.x/server-kotlin/kotlin/locale/list-countries-phones.md index 6bf23fab85..ceedf902da 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/locale/list-countries-phones.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/locale/list-countries-phones.md @@ -3,7 +3,7 @@ import io.appwrite.services.Locale suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/locale/list-countries.md b/docs/examples/1.1.x/server-kotlin/kotlin/locale/list-countries.md index 0edacc9ab0..ae782beaf8 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/locale/list-countries.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/locale/list-countries.md @@ -3,7 +3,7 @@ import io.appwrite.services.Locale suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/locale/list-currencies.md b/docs/examples/1.1.x/server-kotlin/kotlin/locale/list-currencies.md index b72d52a218..2b5598661a 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/locale/list-currencies.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/locale/list-currencies.md @@ -3,7 +3,7 @@ import io.appwrite.services.Locale suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/locale/list-languages.md b/docs/examples/1.1.x/server-kotlin/kotlin/locale/list-languages.md index 829ff85863..5f9f8fe31b 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/locale/list-languages.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/locale/list-languages.md @@ -3,7 +3,7 @@ import io.appwrite.services.Locale suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/storage/create-bucket.md b/docs/examples/1.1.x/server-kotlin/kotlin/storage/create-bucket.md index 40c9d60cbc..31f5295a4e 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/storage/create-bucket.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/storage/create-bucket.md @@ -3,7 +3,7 @@ import io.appwrite.services.Storage suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/storage/create-file.md b/docs/examples/1.1.x/server-kotlin/kotlin/storage/create-file.md index 4b6f3f404d..f81c9fc8a7 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/storage/create-file.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/storage/create-file.md @@ -4,7 +4,7 @@ import io.appwrite.services.Storage suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/storage/delete-bucket.md b/docs/examples/1.1.x/server-kotlin/kotlin/storage/delete-bucket.md index 3fc6e20174..4b6b5a4300 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/storage/delete-bucket.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/storage/delete-bucket.md @@ -3,7 +3,7 @@ import io.appwrite.services.Storage suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/storage/delete-file.md b/docs/examples/1.1.x/server-kotlin/kotlin/storage/delete-file.md index cdb62418c5..24d55d1f7e 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/storage/delete-file.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/storage/delete-file.md @@ -3,7 +3,7 @@ import io.appwrite.services.Storage suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/storage/get-bucket.md b/docs/examples/1.1.x/server-kotlin/kotlin/storage/get-bucket.md index d85f4ac9aa..66fa1e72ce 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/storage/get-bucket.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/storage/get-bucket.md @@ -3,7 +3,7 @@ import io.appwrite.services.Storage suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/storage/get-file-download.md b/docs/examples/1.1.x/server-kotlin/kotlin/storage/get-file-download.md index 9c66bd73d2..9ff3bdcab4 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/storage/get-file-download.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/storage/get-file-download.md @@ -3,7 +3,7 @@ import io.appwrite.services.Storage suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/storage/get-file-preview.md b/docs/examples/1.1.x/server-kotlin/kotlin/storage/get-file-preview.md index a60a76d9d5..02072f1a7e 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/storage/get-file-preview.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/storage/get-file-preview.md @@ -3,7 +3,7 @@ import io.appwrite.services.Storage suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/storage/get-file-view.md b/docs/examples/1.1.x/server-kotlin/kotlin/storage/get-file-view.md index 22a09125c1..1b84008bde 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/storage/get-file-view.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/storage/get-file-view.md @@ -3,7 +3,7 @@ import io.appwrite.services.Storage suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/storage/get-file.md b/docs/examples/1.1.x/server-kotlin/kotlin/storage/get-file.md index 6ab4713a25..dee1afe549 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/storage/get-file.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/storage/get-file.md @@ -3,7 +3,7 @@ import io.appwrite.services.Storage suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/storage/list-buckets.md b/docs/examples/1.1.x/server-kotlin/kotlin/storage/list-buckets.md index 275681ec99..06ada06f2d 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/storage/list-buckets.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/storage/list-buckets.md @@ -3,7 +3,7 @@ import io.appwrite.services.Storage suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/storage/list-files.md b/docs/examples/1.1.x/server-kotlin/kotlin/storage/list-files.md index 2ba7a12357..b835164f5e 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/storage/list-files.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/storage/list-files.md @@ -3,7 +3,7 @@ import io.appwrite.services.Storage suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/storage/update-bucket.md b/docs/examples/1.1.x/server-kotlin/kotlin/storage/update-bucket.md index 8eba7ea2d1..406f784472 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/storage/update-bucket.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/storage/update-bucket.md @@ -3,7 +3,7 @@ import io.appwrite.services.Storage suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/storage/update-file.md b/docs/examples/1.1.x/server-kotlin/kotlin/storage/update-file.md index 07e191c614..0ac87749e5 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/storage/update-file.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/storage/update-file.md @@ -3,7 +3,7 @@ import io.appwrite.services.Storage suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/teams/create-membership.md b/docs/examples/1.1.x/server-kotlin/kotlin/teams/create-membership.md index 4db9324433..d0f0c7d12e 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/teams/create-membership.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/teams/create-membership.md @@ -3,7 +3,7 @@ import io.appwrite.services.Teams suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/teams/create.md b/docs/examples/1.1.x/server-kotlin/kotlin/teams/create.md index cf2045673f..e5add3d327 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/teams/create.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/teams/create.md @@ -3,7 +3,7 @@ import io.appwrite.services.Teams suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/teams/delete-membership.md b/docs/examples/1.1.x/server-kotlin/kotlin/teams/delete-membership.md index caf36d3e17..f39691fbb9 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/teams/delete-membership.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/teams/delete-membership.md @@ -3,7 +3,7 @@ import io.appwrite.services.Teams suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/teams/delete.md b/docs/examples/1.1.x/server-kotlin/kotlin/teams/delete.md index 05532b2d61..3d70f19cdf 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/teams/delete.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/teams/delete.md @@ -3,7 +3,7 @@ import io.appwrite.services.Teams suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/teams/get-membership.md b/docs/examples/1.1.x/server-kotlin/kotlin/teams/get-membership.md index 7fcc69ad94..5856ef91c9 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/teams/get-membership.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/teams/get-membership.md @@ -3,7 +3,7 @@ import io.appwrite.services.Teams suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/teams/get.md b/docs/examples/1.1.x/server-kotlin/kotlin/teams/get.md index 9802e9a7ee..ef965b42a5 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/teams/get.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/teams/get.md @@ -3,7 +3,7 @@ import io.appwrite.services.Teams suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/teams/list-memberships.md b/docs/examples/1.1.x/server-kotlin/kotlin/teams/list-memberships.md index 6532f6c455..a155d77554 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/teams/list-memberships.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/teams/list-memberships.md @@ -3,7 +3,7 @@ import io.appwrite.services.Teams suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/teams/list.md b/docs/examples/1.1.x/server-kotlin/kotlin/teams/list.md index 7b7fc44ff1..ec0ef0b0b2 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/teams/list.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/teams/list.md @@ -3,7 +3,7 @@ import io.appwrite.services.Teams suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/teams/update-membership-roles.md b/docs/examples/1.1.x/server-kotlin/kotlin/teams/update-membership-roles.md index 3fedfb4afa..dd5eb8e85f 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/teams/update-membership-roles.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/teams/update-membership-roles.md @@ -3,7 +3,7 @@ import io.appwrite.services.Teams suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/teams/update-membership-status.md b/docs/examples/1.1.x/server-kotlin/kotlin/teams/update-membership-status.md index 89dd5b16b5..02d2895d27 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/teams/update-membership-status.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/teams/update-membership-status.md @@ -3,7 +3,7 @@ import io.appwrite.services.Teams suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/teams/update.md b/docs/examples/1.1.x/server-kotlin/kotlin/teams/update.md index 8cfae9ddc1..2054ff4b38 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/teams/update.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/teams/update.md @@ -3,7 +3,7 @@ import io.appwrite.services.Teams suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/users/create-argon2user.md b/docs/examples/1.1.x/server-kotlin/kotlin/users/create-argon2user.md index 0cb6a903d8..d99713c5c3 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/users/create-argon2user.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/users/create-argon2user.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/users/create-bcrypt-user.md b/docs/examples/1.1.x/server-kotlin/kotlin/users/create-bcrypt-user.md index 2e87a35b35..85ed37ccb8 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/users/create-bcrypt-user.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/users/create-bcrypt-user.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/users/create-m-d5user.md b/docs/examples/1.1.x/server-kotlin/kotlin/users/create-m-d5user.md index 2ba9d45be4..8bc5adf31c 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/users/create-m-d5user.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/users/create-m-d5user.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/users/create-p-h-pass-user.md b/docs/examples/1.1.x/server-kotlin/kotlin/users/create-p-h-pass-user.md index cb01ab8349..cb058d7ef1 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/users/create-p-h-pass-user.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/users/create-p-h-pass-user.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/users/create-s-h-a-user.md b/docs/examples/1.1.x/server-kotlin/kotlin/users/create-s-h-a-user.md index e334d24d1c..8e2eabd2a6 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/users/create-s-h-a-user.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/users/create-s-h-a-user.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/users/create-scrypt-modified-user.md b/docs/examples/1.1.x/server-kotlin/kotlin/users/create-scrypt-modified-user.md index 664a1d1722..754775e1cd 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/users/create-scrypt-modified-user.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/users/create-scrypt-modified-user.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/users/create-scrypt-user.md b/docs/examples/1.1.x/server-kotlin/kotlin/users/create-scrypt-user.md index af7cfc3343..a2ae0f7277 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/users/create-scrypt-user.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/users/create-scrypt-user.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/users/create.md b/docs/examples/1.1.x/server-kotlin/kotlin/users/create.md index b6e5b7beb8..032602be00 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/users/create.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/users/create.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/users/delete-session.md b/docs/examples/1.1.x/server-kotlin/kotlin/users/delete-session.md index 9116c5443b..fb700dc9e2 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/users/delete-session.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/users/delete-session.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/users/delete-sessions.md b/docs/examples/1.1.x/server-kotlin/kotlin/users/delete-sessions.md index 780154f5f9..3fdae56541 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/users/delete-sessions.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/users/delete-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/users/delete.md b/docs/examples/1.1.x/server-kotlin/kotlin/users/delete.md index 206e10b1b6..c59251f40c 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/users/delete.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/users/delete.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/users/get-prefs.md b/docs/examples/1.1.x/server-kotlin/kotlin/users/get-prefs.md index c9d1b13494..71ce11e1fe 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/users/get-prefs.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/users/get-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/users/get.md b/docs/examples/1.1.x/server-kotlin/kotlin/users/get.md index bb8cb584f2..2514dcbb81 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/users/get.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/users/get.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/users/list-logs.md b/docs/examples/1.1.x/server-kotlin/kotlin/users/list-logs.md index adec206694..fdb8261912 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/users/list-logs.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/users/list-logs.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/users/list-memberships.md b/docs/examples/1.1.x/server-kotlin/kotlin/users/list-memberships.md index 9eb105233f..8bb7275aed 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/users/list-memberships.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/users/list-memberships.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/users/list-sessions.md b/docs/examples/1.1.x/server-kotlin/kotlin/users/list-sessions.md index 262b7a4c5c..8957eabd61 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/users/list-sessions.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/users/list-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/users/list.md b/docs/examples/1.1.x/server-kotlin/kotlin/users/list.md index 247b70d073..3c92e8f546 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/users/list.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/users/list.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/users/update-email-verification.md b/docs/examples/1.1.x/server-kotlin/kotlin/users/update-email-verification.md index c4b879bb61..732a202738 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/users/update-email-verification.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/users/update-email-verification.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/users/update-email.md b/docs/examples/1.1.x/server-kotlin/kotlin/users/update-email.md index 12dd6ff489..8aeb59c8ee 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/users/update-email.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/users/update-email.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/users/update-name.md b/docs/examples/1.1.x/server-kotlin/kotlin/users/update-name.md index 051f8852b0..8c911a95b4 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/users/update-name.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/users/update-name.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/users/update-password.md b/docs/examples/1.1.x/server-kotlin/kotlin/users/update-password.md index a6c2851766..355f2a298e 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/users/update-password.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/users/update-password.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/users/update-phone-verification.md b/docs/examples/1.1.x/server-kotlin/kotlin/users/update-phone-verification.md index d07915430a..7e8a9529eb 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/users/update-phone-verification.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/users/update-phone-verification.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/users/update-phone.md b/docs/examples/1.1.x/server-kotlin/kotlin/users/update-phone.md index 420d7f65f6..57f539c7dc 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/users/update-phone.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/users/update-phone.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/users/update-prefs.md b/docs/examples/1.1.x/server-kotlin/kotlin/users/update-prefs.md index 92f5cbe549..c320abf004 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/users/update-prefs.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/users/update-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-kotlin/kotlin/users/update-status.md b/docs/examples/1.1.x/server-kotlin/kotlin/users/update-status.md index cfb632b4e0..225e5c4ae7 100644 --- a/docs/examples/1.1.x/server-kotlin/kotlin/users/update-status.md +++ b/docs/examples/1.1.x/server-kotlin/kotlin/users/update-status.md @@ -3,7 +3,7 @@ import io.appwrite.services.Users suspend fun main() { val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.1.x/server-nodejs/examples/account/create-phone-verification.md b/docs/examples/1.1.x/server-nodejs/examples/account/create-phone-verification.md index f381495f24..cd9bc62e7a 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/account/create-phone-verification.md +++ b/docs/examples/1.1.x/server-nodejs/examples/account/create-phone-verification.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/account/create-recovery.md b/docs/examples/1.1.x/server-nodejs/examples/account/create-recovery.md index f4c5ae98de..53c6060edf 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/account/create-recovery.md +++ b/docs/examples/1.1.x/server-nodejs/examples/account/create-recovery.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/account/create-verification.md b/docs/examples/1.1.x/server-nodejs/examples/account/create-verification.md index 04585621eb..1df32eb711 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/account/create-verification.md +++ b/docs/examples/1.1.x/server-nodejs/examples/account/create-verification.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/account/delete-session.md b/docs/examples/1.1.x/server-nodejs/examples/account/delete-session.md index 74f3869859..182d67e2c1 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/account/delete-session.md +++ b/docs/examples/1.1.x/server-nodejs/examples/account/delete-session.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/account/delete-sessions.md b/docs/examples/1.1.x/server-nodejs/examples/account/delete-sessions.md index 0968c30b92..dbf861cf31 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/account/delete-sessions.md +++ b/docs/examples/1.1.x/server-nodejs/examples/account/delete-sessions.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/account/get-prefs.md b/docs/examples/1.1.x/server-nodejs/examples/account/get-prefs.md index 8bd5d97c25..04e6ac307a 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/account/get-prefs.md +++ b/docs/examples/1.1.x/server-nodejs/examples/account/get-prefs.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/account/get-session.md b/docs/examples/1.1.x/server-nodejs/examples/account/get-session.md index 3abb677fbe..23d06a672b 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/account/get-session.md +++ b/docs/examples/1.1.x/server-nodejs/examples/account/get-session.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/account/get.md b/docs/examples/1.1.x/server-nodejs/examples/account/get.md index d4f4066fb1..3b0da54b7a 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/account/get.md +++ b/docs/examples/1.1.x/server-nodejs/examples/account/get.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/account/list-logs.md b/docs/examples/1.1.x/server-nodejs/examples/account/list-logs.md index 890e0d12d3..25cfab189d 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/account/list-logs.md +++ b/docs/examples/1.1.x/server-nodejs/examples/account/list-logs.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/account/list-sessions.md b/docs/examples/1.1.x/server-nodejs/examples/account/list-sessions.md index 68e97ada31..fe753dd996 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/account/list-sessions.md +++ b/docs/examples/1.1.x/server-nodejs/examples/account/list-sessions.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/account/update-email.md b/docs/examples/1.1.x/server-nodejs/examples/account/update-email.md index 388e2581bb..324dfa7db6 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/account/update-email.md +++ b/docs/examples/1.1.x/server-nodejs/examples/account/update-email.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/account/update-name.md b/docs/examples/1.1.x/server-nodejs/examples/account/update-name.md index 0984652712..8ae6bbf552 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/account/update-name.md +++ b/docs/examples/1.1.x/server-nodejs/examples/account/update-name.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/account/update-password.md b/docs/examples/1.1.x/server-nodejs/examples/account/update-password.md index b9121e3acc..f8c221a243 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/account/update-password.md +++ b/docs/examples/1.1.x/server-nodejs/examples/account/update-password.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/account/update-phone-verification.md b/docs/examples/1.1.x/server-nodejs/examples/account/update-phone-verification.md index 1aa4042f36..66c3ec8981 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/account/update-phone-verification.md +++ b/docs/examples/1.1.x/server-nodejs/examples/account/update-phone-verification.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/account/update-phone.md b/docs/examples/1.1.x/server-nodejs/examples/account/update-phone.md index 37124d81aa..02270ec33e 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/account/update-phone.md +++ b/docs/examples/1.1.x/server-nodejs/examples/account/update-phone.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/account/update-prefs.md b/docs/examples/1.1.x/server-nodejs/examples/account/update-prefs.md index 6948706abb..6a9e10bf0c 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/account/update-prefs.md +++ b/docs/examples/1.1.x/server-nodejs/examples/account/update-prefs.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/account/update-recovery.md b/docs/examples/1.1.x/server-nodejs/examples/account/update-recovery.md index 74f70f59c7..17dccf0e8b 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/account/update-recovery.md +++ b/docs/examples/1.1.x/server-nodejs/examples/account/update-recovery.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/account/update-session.md b/docs/examples/1.1.x/server-nodejs/examples/account/update-session.md index b0b932524f..ae1d9ab065 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/account/update-session.md +++ b/docs/examples/1.1.x/server-nodejs/examples/account/update-session.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/account/update-status.md b/docs/examples/1.1.x/server-nodejs/examples/account/update-status.md index 277243b824..4c13b5eec1 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/account/update-status.md +++ b/docs/examples/1.1.x/server-nodejs/examples/account/update-status.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/account/update-verification.md b/docs/examples/1.1.x/server-nodejs/examples/account/update-verification.md index 6a7fbbf99c..03d663a629 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/account/update-verification.md +++ b/docs/examples/1.1.x/server-nodejs/examples/account/update-verification.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/avatars/get-browser.md b/docs/examples/1.1.x/server-nodejs/examples/avatars/get-browser.md index c05595ad67..d88d7571de 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/avatars/get-browser.md +++ b/docs/examples/1.1.x/server-nodejs/examples/avatars/get-browser.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/avatars/get-credit-card.md b/docs/examples/1.1.x/server-nodejs/examples/avatars/get-credit-card.md index 8fbd37d29a..86cfe17059 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/avatars/get-credit-card.md +++ b/docs/examples/1.1.x/server-nodejs/examples/avatars/get-credit-card.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/avatars/get-favicon.md b/docs/examples/1.1.x/server-nodejs/examples/avatars/get-favicon.md index 2924e394a0..acc780ccab 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/avatars/get-favicon.md +++ b/docs/examples/1.1.x/server-nodejs/examples/avatars/get-favicon.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/avatars/get-flag.md b/docs/examples/1.1.x/server-nodejs/examples/avatars/get-flag.md index 50d611c399..09efae0146 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/avatars/get-flag.md +++ b/docs/examples/1.1.x/server-nodejs/examples/avatars/get-flag.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/avatars/get-image.md b/docs/examples/1.1.x/server-nodejs/examples/avatars/get-image.md index 3b2bb517d1..6cf825ff3e 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/avatars/get-image.md +++ b/docs/examples/1.1.x/server-nodejs/examples/avatars/get-image.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/avatars/get-initials.md b/docs/examples/1.1.x/server-nodejs/examples/avatars/get-initials.md index 4afda6f547..942f10ce51 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/avatars/get-initials.md +++ b/docs/examples/1.1.x/server-nodejs/examples/avatars/get-initials.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/avatars/get-q-r.md b/docs/examples/1.1.x/server-nodejs/examples/avatars/get-q-r.md index d2d24e2055..0b46c30ed6 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/avatars/get-q-r.md +++ b/docs/examples/1.1.x/server-nodejs/examples/avatars/get-q-r.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/databases/create-boolean-attribute.md b/docs/examples/1.1.x/server-nodejs/examples/databases/create-boolean-attribute.md index 12a70102ca..03b9cbd67a 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.1.x/server-nodejs/examples/databases/create-boolean-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/databases/create-collection.md b/docs/examples/1.1.x/server-nodejs/examples/databases/create-collection.md index 13ec4e037f..2ff164d553 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/databases/create-collection.md +++ b/docs/examples/1.1.x/server-nodejs/examples/databases/create-collection.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/databases/create-datetime-attribute.md b/docs/examples/1.1.x/server-nodejs/examples/databases/create-datetime-attribute.md index 70609a84e7..7c8710f80d 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.1.x/server-nodejs/examples/databases/create-datetime-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/databases/create-document.md b/docs/examples/1.1.x/server-nodejs/examples/databases/create-document.md index f5fa7a50a6..69d75e1b53 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/databases/create-document.md +++ b/docs/examples/1.1.x/server-nodejs/examples/databases/create-document.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/databases/create-email-attribute.md b/docs/examples/1.1.x/server-nodejs/examples/databases/create-email-attribute.md index 2229dfe7f9..a14075c62b 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/databases/create-email-attribute.md +++ b/docs/examples/1.1.x/server-nodejs/examples/databases/create-email-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/databases/create-enum-attribute.md b/docs/examples/1.1.x/server-nodejs/examples/databases/create-enum-attribute.md index cd9daca603..074e0098ed 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.1.x/server-nodejs/examples/databases/create-enum-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/databases/create-float-attribute.md b/docs/examples/1.1.x/server-nodejs/examples/databases/create-float-attribute.md index a12c4f4420..d818659c33 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/databases/create-float-attribute.md +++ b/docs/examples/1.1.x/server-nodejs/examples/databases/create-float-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/databases/create-index.md b/docs/examples/1.1.x/server-nodejs/examples/databases/create-index.md index 66c3e519fe..9064cbf61b 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/databases/create-index.md +++ b/docs/examples/1.1.x/server-nodejs/examples/databases/create-index.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/databases/create-integer-attribute.md b/docs/examples/1.1.x/server-nodejs/examples/databases/create-integer-attribute.md index fa693d28de..051df7214f 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.1.x/server-nodejs/examples/databases/create-integer-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/databases/create-ip-attribute.md b/docs/examples/1.1.x/server-nodejs/examples/databases/create-ip-attribute.md index 1e8985a2bd..95c465d527 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.1.x/server-nodejs/examples/databases/create-ip-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/databases/create-string-attribute.md b/docs/examples/1.1.x/server-nodejs/examples/databases/create-string-attribute.md index bfb4fbfc3f..9305983c33 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/databases/create-string-attribute.md +++ b/docs/examples/1.1.x/server-nodejs/examples/databases/create-string-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/databases/create-url-attribute.md b/docs/examples/1.1.x/server-nodejs/examples/databases/create-url-attribute.md index e6a585f76b..47c491916b 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/databases/create-url-attribute.md +++ b/docs/examples/1.1.x/server-nodejs/examples/databases/create-url-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/databases/create.md b/docs/examples/1.1.x/server-nodejs/examples/databases/create.md index 4e04f026bd..451e39b410 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/databases/create.md +++ b/docs/examples/1.1.x/server-nodejs/examples/databases/create.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/databases/delete-attribute.md b/docs/examples/1.1.x/server-nodejs/examples/databases/delete-attribute.md index 3c65f62ef5..a7ee957de8 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/databases/delete-attribute.md +++ b/docs/examples/1.1.x/server-nodejs/examples/databases/delete-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/databases/delete-collection.md b/docs/examples/1.1.x/server-nodejs/examples/databases/delete-collection.md index 047fa26846..745042ec6e 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/databases/delete-collection.md +++ b/docs/examples/1.1.x/server-nodejs/examples/databases/delete-collection.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/databases/delete-document.md b/docs/examples/1.1.x/server-nodejs/examples/databases/delete-document.md index a6f3fa58ca..0081caa499 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/databases/delete-document.md +++ b/docs/examples/1.1.x/server-nodejs/examples/databases/delete-document.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/databases/delete-index.md b/docs/examples/1.1.x/server-nodejs/examples/databases/delete-index.md index 42d73104a0..e147eb1043 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/databases/delete-index.md +++ b/docs/examples/1.1.x/server-nodejs/examples/databases/delete-index.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/databases/delete.md b/docs/examples/1.1.x/server-nodejs/examples/databases/delete.md index 3f39965820..b1ecfea0a4 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/databases/delete.md +++ b/docs/examples/1.1.x/server-nodejs/examples/databases/delete.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/databases/get-attribute.md b/docs/examples/1.1.x/server-nodejs/examples/databases/get-attribute.md index df6c665b75..36b0b0336e 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/databases/get-attribute.md +++ b/docs/examples/1.1.x/server-nodejs/examples/databases/get-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/databases/get-collection.md b/docs/examples/1.1.x/server-nodejs/examples/databases/get-collection.md index ea4ed423e8..0d0ba0e6cb 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/databases/get-collection.md +++ b/docs/examples/1.1.x/server-nodejs/examples/databases/get-collection.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/databases/get-document.md b/docs/examples/1.1.x/server-nodejs/examples/databases/get-document.md index ac07b968ae..8f641962f0 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/databases/get-document.md +++ b/docs/examples/1.1.x/server-nodejs/examples/databases/get-document.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/databases/get-index.md b/docs/examples/1.1.x/server-nodejs/examples/databases/get-index.md index c3a3d168c5..d0602952b4 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/databases/get-index.md +++ b/docs/examples/1.1.x/server-nodejs/examples/databases/get-index.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/databases/get.md b/docs/examples/1.1.x/server-nodejs/examples/databases/get.md index 133f496b2e..a47ba7a403 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/databases/get.md +++ b/docs/examples/1.1.x/server-nodejs/examples/databases/get.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/databases/list-attributes.md b/docs/examples/1.1.x/server-nodejs/examples/databases/list-attributes.md index b1a494b110..01284a5e3a 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/databases/list-attributes.md +++ b/docs/examples/1.1.x/server-nodejs/examples/databases/list-attributes.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/databases/list-collections.md b/docs/examples/1.1.x/server-nodejs/examples/databases/list-collections.md index c1d9fd3421..9005d7a5b1 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/databases/list-collections.md +++ b/docs/examples/1.1.x/server-nodejs/examples/databases/list-collections.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/databases/list-documents.md b/docs/examples/1.1.x/server-nodejs/examples/databases/list-documents.md index bf0b9156bf..9f9751ac37 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/databases/list-documents.md +++ b/docs/examples/1.1.x/server-nodejs/examples/databases/list-documents.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/databases/list-indexes.md b/docs/examples/1.1.x/server-nodejs/examples/databases/list-indexes.md index 57787f1d3e..fff198fc40 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/databases/list-indexes.md +++ b/docs/examples/1.1.x/server-nodejs/examples/databases/list-indexes.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/databases/list.md b/docs/examples/1.1.x/server-nodejs/examples/databases/list.md index 5652d1e032..2f40478570 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/databases/list.md +++ b/docs/examples/1.1.x/server-nodejs/examples/databases/list.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/databases/update-collection.md b/docs/examples/1.1.x/server-nodejs/examples/databases/update-collection.md index db74a7b9eb..4570385adc 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/databases/update-collection.md +++ b/docs/examples/1.1.x/server-nodejs/examples/databases/update-collection.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/databases/update-document.md b/docs/examples/1.1.x/server-nodejs/examples/databases/update-document.md index ca3cdb85e7..92405e556c 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/databases/update-document.md +++ b/docs/examples/1.1.x/server-nodejs/examples/databases/update-document.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/databases/update.md b/docs/examples/1.1.x/server-nodejs/examples/databases/update.md index 7abe11bf80..71a6f3a77a 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/databases/update.md +++ b/docs/examples/1.1.x/server-nodejs/examples/databases/update.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/functions/create-build.md b/docs/examples/1.1.x/server-nodejs/examples/functions/create-build.md index fe9751e73b..38f3717fb0 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/functions/create-build.md +++ b/docs/examples/1.1.x/server-nodejs/examples/functions/create-build.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/functions/create-deployment.md b/docs/examples/1.1.x/server-nodejs/examples/functions/create-deployment.md index 661afa151a..defbd30d10 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/functions/create-deployment.md +++ b/docs/examples/1.1.x/server-nodejs/examples/functions/create-deployment.md @@ -7,7 +7,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/functions/create-execution.md b/docs/examples/1.1.x/server-nodejs/examples/functions/create-execution.md index dc182fdd44..be5bfbe85c 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/functions/create-execution.md +++ b/docs/examples/1.1.x/server-nodejs/examples/functions/create-execution.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/functions/create-variable.md b/docs/examples/1.1.x/server-nodejs/examples/functions/create-variable.md index 80f3fd0257..5bb7481f6a 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/functions/create-variable.md +++ b/docs/examples/1.1.x/server-nodejs/examples/functions/create-variable.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/functions/create.md b/docs/examples/1.1.x/server-nodejs/examples/functions/create.md index 9b8e0f1820..e1d24380fa 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/functions/create.md +++ b/docs/examples/1.1.x/server-nodejs/examples/functions/create.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/functions/delete-deployment.md b/docs/examples/1.1.x/server-nodejs/examples/functions/delete-deployment.md index 5affdf18b9..c0b1c4e4a1 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/functions/delete-deployment.md +++ b/docs/examples/1.1.x/server-nodejs/examples/functions/delete-deployment.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/functions/delete-variable.md b/docs/examples/1.1.x/server-nodejs/examples/functions/delete-variable.md index 2a075fdea7..e28f991ae1 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/functions/delete-variable.md +++ b/docs/examples/1.1.x/server-nodejs/examples/functions/delete-variable.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/functions/delete.md b/docs/examples/1.1.x/server-nodejs/examples/functions/delete.md index d17f01361e..18d2f4e26c 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/functions/delete.md +++ b/docs/examples/1.1.x/server-nodejs/examples/functions/delete.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/functions/get-deployment.md b/docs/examples/1.1.x/server-nodejs/examples/functions/get-deployment.md index d67ce4647a..4043de8d59 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/functions/get-deployment.md +++ b/docs/examples/1.1.x/server-nodejs/examples/functions/get-deployment.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/functions/get-execution.md b/docs/examples/1.1.x/server-nodejs/examples/functions/get-execution.md index bbf0788138..094a1d1983 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/functions/get-execution.md +++ b/docs/examples/1.1.x/server-nodejs/examples/functions/get-execution.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/functions/get-variable.md b/docs/examples/1.1.x/server-nodejs/examples/functions/get-variable.md index 11ce7e2836..8c225de4da 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/functions/get-variable.md +++ b/docs/examples/1.1.x/server-nodejs/examples/functions/get-variable.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/functions/get.md b/docs/examples/1.1.x/server-nodejs/examples/functions/get.md index 54ea4812b8..469f6fbb4e 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/functions/get.md +++ b/docs/examples/1.1.x/server-nodejs/examples/functions/get.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/functions/list-deployments.md b/docs/examples/1.1.x/server-nodejs/examples/functions/list-deployments.md index 4819410875..505de94734 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/functions/list-deployments.md +++ b/docs/examples/1.1.x/server-nodejs/examples/functions/list-deployments.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/functions/list-executions.md b/docs/examples/1.1.x/server-nodejs/examples/functions/list-executions.md index f9e77a5d32..7ec383656d 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/functions/list-executions.md +++ b/docs/examples/1.1.x/server-nodejs/examples/functions/list-executions.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/functions/list-runtimes.md b/docs/examples/1.1.x/server-nodejs/examples/functions/list-runtimes.md index d471861374..d9edc4a040 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/functions/list-runtimes.md +++ b/docs/examples/1.1.x/server-nodejs/examples/functions/list-runtimes.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/functions/list-variables.md b/docs/examples/1.1.x/server-nodejs/examples/functions/list-variables.md index e193b2b1ba..eefc1fe27e 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/functions/list-variables.md +++ b/docs/examples/1.1.x/server-nodejs/examples/functions/list-variables.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/functions/list.md b/docs/examples/1.1.x/server-nodejs/examples/functions/list.md index 4f7b45e26a..0a2c6cd72f 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/functions/list.md +++ b/docs/examples/1.1.x/server-nodejs/examples/functions/list.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/functions/update-deployment.md b/docs/examples/1.1.x/server-nodejs/examples/functions/update-deployment.md index 25f0e79983..d90a98481c 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/functions/update-deployment.md +++ b/docs/examples/1.1.x/server-nodejs/examples/functions/update-deployment.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/functions/update-variable.md b/docs/examples/1.1.x/server-nodejs/examples/functions/update-variable.md index 86e9a698f5..8d1f6466b7 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/functions/update-variable.md +++ b/docs/examples/1.1.x/server-nodejs/examples/functions/update-variable.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/functions/update.md b/docs/examples/1.1.x/server-nodejs/examples/functions/update.md index fb825081a1..c5d06bdad3 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/functions/update.md +++ b/docs/examples/1.1.x/server-nodejs/examples/functions/update.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/health/get-antivirus.md b/docs/examples/1.1.x/server-nodejs/examples/health/get-antivirus.md index b6e5e78a30..516d19c075 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/health/get-antivirus.md +++ b/docs/examples/1.1.x/server-nodejs/examples/health/get-antivirus.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/health/get-cache.md b/docs/examples/1.1.x/server-nodejs/examples/health/get-cache.md index 8171c40fc6..84dd5b07ce 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/health/get-cache.md +++ b/docs/examples/1.1.x/server-nodejs/examples/health/get-cache.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/health/get-d-b.md b/docs/examples/1.1.x/server-nodejs/examples/health/get-d-b.md index ef1739fff0..ce5ba7b8dc 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/health/get-d-b.md +++ b/docs/examples/1.1.x/server-nodejs/examples/health/get-d-b.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/health/get-queue-certificates.md b/docs/examples/1.1.x/server-nodejs/examples/health/get-queue-certificates.md index 38dadde1b2..c89318fc38 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/health/get-queue-certificates.md +++ b/docs/examples/1.1.x/server-nodejs/examples/health/get-queue-certificates.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/health/get-queue-functions.md b/docs/examples/1.1.x/server-nodejs/examples/health/get-queue-functions.md index bc8668eda6..52d3a2e80c 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/health/get-queue-functions.md +++ b/docs/examples/1.1.x/server-nodejs/examples/health/get-queue-functions.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/health/get-queue-logs.md b/docs/examples/1.1.x/server-nodejs/examples/health/get-queue-logs.md index 918a9d9e6c..86b9fe0fb4 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/health/get-queue-logs.md +++ b/docs/examples/1.1.x/server-nodejs/examples/health/get-queue-logs.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/health/get-queue-webhooks.md b/docs/examples/1.1.x/server-nodejs/examples/health/get-queue-webhooks.md index acf023a188..ee73f37ef6 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.1.x/server-nodejs/examples/health/get-queue-webhooks.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/health/get-storage-local.md b/docs/examples/1.1.x/server-nodejs/examples/health/get-storage-local.md index 76e51489fd..d41559c5f1 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/health/get-storage-local.md +++ b/docs/examples/1.1.x/server-nodejs/examples/health/get-storage-local.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/health/get-time.md b/docs/examples/1.1.x/server-nodejs/examples/health/get-time.md index f44836ac3c..e3d70a93ff 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/health/get-time.md +++ b/docs/examples/1.1.x/server-nodejs/examples/health/get-time.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/health/get.md b/docs/examples/1.1.x/server-nodejs/examples/health/get.md index a66b25631f..1198b18624 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/health/get.md +++ b/docs/examples/1.1.x/server-nodejs/examples/health/get.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/locale/get.md b/docs/examples/1.1.x/server-nodejs/examples/locale/get.md index 31d90c6f11..27befec21a 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/locale/get.md +++ b/docs/examples/1.1.x/server-nodejs/examples/locale/get.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/locale/list-continents.md b/docs/examples/1.1.x/server-nodejs/examples/locale/list-continents.md index ffe54d34da..346f552a14 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/locale/list-continents.md +++ b/docs/examples/1.1.x/server-nodejs/examples/locale/list-continents.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/locale/list-countries-e-u.md b/docs/examples/1.1.x/server-nodejs/examples/locale/list-countries-e-u.md index f9aaff666a..627c350f8e 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.1.x/server-nodejs/examples/locale/list-countries-e-u.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/locale/list-countries-phones.md b/docs/examples/1.1.x/server-nodejs/examples/locale/list-countries-phones.md index fdd2436dc0..0a0965ab53 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/locale/list-countries-phones.md +++ b/docs/examples/1.1.x/server-nodejs/examples/locale/list-countries-phones.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/locale/list-countries.md b/docs/examples/1.1.x/server-nodejs/examples/locale/list-countries.md index 429e188776..857b7da7cf 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/locale/list-countries.md +++ b/docs/examples/1.1.x/server-nodejs/examples/locale/list-countries.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/locale/list-currencies.md b/docs/examples/1.1.x/server-nodejs/examples/locale/list-currencies.md index 12d82fb70f..017b5faebf 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/locale/list-currencies.md +++ b/docs/examples/1.1.x/server-nodejs/examples/locale/list-currencies.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/locale/list-languages.md b/docs/examples/1.1.x/server-nodejs/examples/locale/list-languages.md index 8ea2b40afc..716a44c330 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/locale/list-languages.md +++ b/docs/examples/1.1.x/server-nodejs/examples/locale/list-languages.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/storage/create-bucket.md b/docs/examples/1.1.x/server-nodejs/examples/storage/create-bucket.md index 9093b7c9a6..51e0b05acb 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/storage/create-bucket.md +++ b/docs/examples/1.1.x/server-nodejs/examples/storage/create-bucket.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/storage/create-file.md b/docs/examples/1.1.x/server-nodejs/examples/storage/create-file.md index 664005e273..be561320db 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/storage/create-file.md +++ b/docs/examples/1.1.x/server-nodejs/examples/storage/create-file.md @@ -7,7 +7,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/storage/delete-bucket.md b/docs/examples/1.1.x/server-nodejs/examples/storage/delete-bucket.md index 84486c68dc..e3368facf1 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/storage/delete-bucket.md +++ b/docs/examples/1.1.x/server-nodejs/examples/storage/delete-bucket.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/storage/delete-file.md b/docs/examples/1.1.x/server-nodejs/examples/storage/delete-file.md index c4d451c63f..d90be0a77e 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/storage/delete-file.md +++ b/docs/examples/1.1.x/server-nodejs/examples/storage/delete-file.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/storage/get-bucket.md b/docs/examples/1.1.x/server-nodejs/examples/storage/get-bucket.md index d0fbb94bbc..b176e6e575 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/storage/get-bucket.md +++ b/docs/examples/1.1.x/server-nodejs/examples/storage/get-bucket.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/storage/get-file-download.md b/docs/examples/1.1.x/server-nodejs/examples/storage/get-file-download.md index 1503d102ba..4ad79175d2 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/storage/get-file-download.md +++ b/docs/examples/1.1.x/server-nodejs/examples/storage/get-file-download.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/storage/get-file-preview.md b/docs/examples/1.1.x/server-nodejs/examples/storage/get-file-preview.md index 19d34495ba..164a1c6377 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/storage/get-file-preview.md +++ b/docs/examples/1.1.x/server-nodejs/examples/storage/get-file-preview.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/storage/get-file-view.md b/docs/examples/1.1.x/server-nodejs/examples/storage/get-file-view.md index 1affab8bc0..a8d5029bd0 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/storage/get-file-view.md +++ b/docs/examples/1.1.x/server-nodejs/examples/storage/get-file-view.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/storage/get-file.md b/docs/examples/1.1.x/server-nodejs/examples/storage/get-file.md index ceba42ce1e..06f43878e8 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/storage/get-file.md +++ b/docs/examples/1.1.x/server-nodejs/examples/storage/get-file.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/storage/list-buckets.md b/docs/examples/1.1.x/server-nodejs/examples/storage/list-buckets.md index 9945febb42..b989a0748f 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/storage/list-buckets.md +++ b/docs/examples/1.1.x/server-nodejs/examples/storage/list-buckets.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/storage/list-files.md b/docs/examples/1.1.x/server-nodejs/examples/storage/list-files.md index fea4bae61f..4bce540ec4 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/storage/list-files.md +++ b/docs/examples/1.1.x/server-nodejs/examples/storage/list-files.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/storage/update-bucket.md b/docs/examples/1.1.x/server-nodejs/examples/storage/update-bucket.md index 32df1f18d8..9cab2ca26c 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/storage/update-bucket.md +++ b/docs/examples/1.1.x/server-nodejs/examples/storage/update-bucket.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/storage/update-file.md b/docs/examples/1.1.x/server-nodejs/examples/storage/update-file.md index 042a164501..aa67cf0f0e 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/storage/update-file.md +++ b/docs/examples/1.1.x/server-nodejs/examples/storage/update-file.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/teams/create-membership.md b/docs/examples/1.1.x/server-nodejs/examples/teams/create-membership.md index 74b1d3fd1d..492c6b0d9c 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/teams/create-membership.md +++ b/docs/examples/1.1.x/server-nodejs/examples/teams/create-membership.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/teams/create.md b/docs/examples/1.1.x/server-nodejs/examples/teams/create.md index 5552f829f9..a99a2cf3f7 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/teams/create.md +++ b/docs/examples/1.1.x/server-nodejs/examples/teams/create.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/teams/delete-membership.md b/docs/examples/1.1.x/server-nodejs/examples/teams/delete-membership.md index ef72e63138..2df3e41f36 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/teams/delete-membership.md +++ b/docs/examples/1.1.x/server-nodejs/examples/teams/delete-membership.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/teams/delete.md b/docs/examples/1.1.x/server-nodejs/examples/teams/delete.md index 6f1dfaa61d..ad35874815 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/teams/delete.md +++ b/docs/examples/1.1.x/server-nodejs/examples/teams/delete.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/teams/get-membership.md b/docs/examples/1.1.x/server-nodejs/examples/teams/get-membership.md index d31aa9a8b6..d2e12d6ef6 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/teams/get-membership.md +++ b/docs/examples/1.1.x/server-nodejs/examples/teams/get-membership.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/teams/get.md b/docs/examples/1.1.x/server-nodejs/examples/teams/get.md index 0d34943242..d162cdceeb 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/teams/get.md +++ b/docs/examples/1.1.x/server-nodejs/examples/teams/get.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/teams/list-memberships.md b/docs/examples/1.1.x/server-nodejs/examples/teams/list-memberships.md index ca25bcbd25..9ff92c68ff 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/teams/list-memberships.md +++ b/docs/examples/1.1.x/server-nodejs/examples/teams/list-memberships.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/teams/list.md b/docs/examples/1.1.x/server-nodejs/examples/teams/list.md index 8610bc7dc4..e3ad03e16e 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/teams/list.md +++ b/docs/examples/1.1.x/server-nodejs/examples/teams/list.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/teams/update-membership-roles.md b/docs/examples/1.1.x/server-nodejs/examples/teams/update-membership-roles.md index 26551fe0b6..93b0f23aba 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/teams/update-membership-roles.md +++ b/docs/examples/1.1.x/server-nodejs/examples/teams/update-membership-roles.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/teams/update-membership-status.md b/docs/examples/1.1.x/server-nodejs/examples/teams/update-membership-status.md index 6c46e786a0..b3c4b64f09 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/teams/update-membership-status.md +++ b/docs/examples/1.1.x/server-nodejs/examples/teams/update-membership-status.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/teams/update.md b/docs/examples/1.1.x/server-nodejs/examples/teams/update.md index 8192c224f3..2f518f4afd 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/teams/update.md +++ b/docs/examples/1.1.x/server-nodejs/examples/teams/update.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/users/create-argon2user.md b/docs/examples/1.1.x/server-nodejs/examples/users/create-argon2user.md index 2762cc0112..17403fa229 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/users/create-argon2user.md +++ b/docs/examples/1.1.x/server-nodejs/examples/users/create-argon2user.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/users/create-bcrypt-user.md b/docs/examples/1.1.x/server-nodejs/examples/users/create-bcrypt-user.md index 7bbdd3b883..90f2efe43a 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.1.x/server-nodejs/examples/users/create-bcrypt-user.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/users/create-m-d5user.md b/docs/examples/1.1.x/server-nodejs/examples/users/create-m-d5user.md index 0661743da2..fdbc0f3040 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/users/create-m-d5user.md +++ b/docs/examples/1.1.x/server-nodejs/examples/users/create-m-d5user.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/users/create-p-h-pass-user.md b/docs/examples/1.1.x/server-nodejs/examples/users/create-p-h-pass-user.md index 37bd7e70c5..70789ec2dd 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.1.x/server-nodejs/examples/users/create-p-h-pass-user.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/users/create-s-h-a-user.md b/docs/examples/1.1.x/server-nodejs/examples/users/create-s-h-a-user.md index 1d0502598b..5b96402710 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.1.x/server-nodejs/examples/users/create-s-h-a-user.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/users/create-scrypt-modified-user.md b/docs/examples/1.1.x/server-nodejs/examples/users/create-scrypt-modified-user.md index 5a0153ec9a..ffbab8e176 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.1.x/server-nodejs/examples/users/create-scrypt-modified-user.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/users/create-scrypt-user.md b/docs/examples/1.1.x/server-nodejs/examples/users/create-scrypt-user.md index 83ec8d3d78..ae10dc5eee 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/users/create-scrypt-user.md +++ b/docs/examples/1.1.x/server-nodejs/examples/users/create-scrypt-user.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/users/create.md b/docs/examples/1.1.x/server-nodejs/examples/users/create.md index 65ab3fae41..ceb01f3735 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/users/create.md +++ b/docs/examples/1.1.x/server-nodejs/examples/users/create.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/users/delete-session.md b/docs/examples/1.1.x/server-nodejs/examples/users/delete-session.md index 18617ba2e8..c5ad8e39fd 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/users/delete-session.md +++ b/docs/examples/1.1.x/server-nodejs/examples/users/delete-session.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/users/delete-sessions.md b/docs/examples/1.1.x/server-nodejs/examples/users/delete-sessions.md index c804d7ddcf..7265c131f8 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/users/delete-sessions.md +++ b/docs/examples/1.1.x/server-nodejs/examples/users/delete-sessions.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/users/delete.md b/docs/examples/1.1.x/server-nodejs/examples/users/delete.md index 53606a7a0a..a1e694a3de 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/users/delete.md +++ b/docs/examples/1.1.x/server-nodejs/examples/users/delete.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/users/get-prefs.md b/docs/examples/1.1.x/server-nodejs/examples/users/get-prefs.md index c60db8ac77..4683f2fe24 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/users/get-prefs.md +++ b/docs/examples/1.1.x/server-nodejs/examples/users/get-prefs.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/users/get.md b/docs/examples/1.1.x/server-nodejs/examples/users/get.md index 3bad599d4d..27fd6b7464 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/users/get.md +++ b/docs/examples/1.1.x/server-nodejs/examples/users/get.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/users/list-logs.md b/docs/examples/1.1.x/server-nodejs/examples/users/list-logs.md index 0f76626c6e..40a1c8c8ba 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/users/list-logs.md +++ b/docs/examples/1.1.x/server-nodejs/examples/users/list-logs.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/users/list-memberships.md b/docs/examples/1.1.x/server-nodejs/examples/users/list-memberships.md index 81e0c4bc8f..6a83ec2857 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/users/list-memberships.md +++ b/docs/examples/1.1.x/server-nodejs/examples/users/list-memberships.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/users/list-sessions.md b/docs/examples/1.1.x/server-nodejs/examples/users/list-sessions.md index b44341bcbe..17d38f8c0e 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/users/list-sessions.md +++ b/docs/examples/1.1.x/server-nodejs/examples/users/list-sessions.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/users/list.md b/docs/examples/1.1.x/server-nodejs/examples/users/list.md index a9ba208d2e..016df4aa37 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/users/list.md +++ b/docs/examples/1.1.x/server-nodejs/examples/users/list.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/users/update-email-verification.md b/docs/examples/1.1.x/server-nodejs/examples/users/update-email-verification.md index 29c3e26593..c48ca4426e 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/users/update-email-verification.md +++ b/docs/examples/1.1.x/server-nodejs/examples/users/update-email-verification.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/users/update-email.md b/docs/examples/1.1.x/server-nodejs/examples/users/update-email.md index 5cef6fb5ec..726d191e8d 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/users/update-email.md +++ b/docs/examples/1.1.x/server-nodejs/examples/users/update-email.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/users/update-name.md b/docs/examples/1.1.x/server-nodejs/examples/users/update-name.md index ea33b7ed51..49140677fd 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/users/update-name.md +++ b/docs/examples/1.1.x/server-nodejs/examples/users/update-name.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/users/update-password.md b/docs/examples/1.1.x/server-nodejs/examples/users/update-password.md index e655eea2de..d95cf5fb54 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/users/update-password.md +++ b/docs/examples/1.1.x/server-nodejs/examples/users/update-password.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/users/update-phone-verification.md b/docs/examples/1.1.x/server-nodejs/examples/users/update-phone-verification.md index e6a95f93f8..bb2ddeccf7 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/users/update-phone-verification.md +++ b/docs/examples/1.1.x/server-nodejs/examples/users/update-phone-verification.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/users/update-phone.md b/docs/examples/1.1.x/server-nodejs/examples/users/update-phone.md index 8db9863c00..6957b6d666 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/users/update-phone.md +++ b/docs/examples/1.1.x/server-nodejs/examples/users/update-phone.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/users/update-prefs.md b/docs/examples/1.1.x/server-nodejs/examples/users/update-prefs.md index 75f1a4298c..643ebee220 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/users/update-prefs.md +++ b/docs/examples/1.1.x/server-nodejs/examples/users/update-prefs.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-nodejs/examples/users/update-status.md b/docs/examples/1.1.x/server-nodejs/examples/users/update-status.md index ac52d732ea..1b914dba72 100644 --- a/docs/examples/1.1.x/server-nodejs/examples/users/update-status.md +++ b/docs/examples/1.1.x/server-nodejs/examples/users/update-status.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/account/create-phone-verification.md b/docs/examples/1.1.x/server-php/examples/account/create-phone-verification.md index 1c41a30ce8..30d1637174 100644 --- a/docs/examples/1.1.x/server-php/examples/account/create-phone-verification.md +++ b/docs/examples/1.1.x/server-php/examples/account/create-phone-verification.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-php/examples/account/create-recovery.md b/docs/examples/1.1.x/server-php/examples/account/create-recovery.md index 8ca78fc37b..513037c533 100644 --- a/docs/examples/1.1.x/server-php/examples/account/create-recovery.md +++ b/docs/examples/1.1.x/server-php/examples/account/create-recovery.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-php/examples/account/create-verification.md b/docs/examples/1.1.x/server-php/examples/account/create-verification.md index 92fb38151c..4785065601 100644 --- a/docs/examples/1.1.x/server-php/examples/account/create-verification.md +++ b/docs/examples/1.1.x/server-php/examples/account/create-verification.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-php/examples/account/delete-session.md b/docs/examples/1.1.x/server-php/examples/account/delete-session.md index 51bf3e2d41..74847d73b7 100644 --- a/docs/examples/1.1.x/server-php/examples/account/delete-session.md +++ b/docs/examples/1.1.x/server-php/examples/account/delete-session.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-php/examples/account/delete-sessions.md b/docs/examples/1.1.x/server-php/examples/account/delete-sessions.md index bf3bc2a300..af4b46dbb6 100644 --- a/docs/examples/1.1.x/server-php/examples/account/delete-sessions.md +++ b/docs/examples/1.1.x/server-php/examples/account/delete-sessions.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-php/examples/account/get-prefs.md b/docs/examples/1.1.x/server-php/examples/account/get-prefs.md index a91b888723..50ffc766d3 100644 --- a/docs/examples/1.1.x/server-php/examples/account/get-prefs.md +++ b/docs/examples/1.1.x/server-php/examples/account/get-prefs.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-php/examples/account/get-session.md b/docs/examples/1.1.x/server-php/examples/account/get-session.md index 9e2341ce08..e2112ee4cd 100644 --- a/docs/examples/1.1.x/server-php/examples/account/get-session.md +++ b/docs/examples/1.1.x/server-php/examples/account/get-session.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-php/examples/account/get.md b/docs/examples/1.1.x/server-php/examples/account/get.md index 4333bf2e73..b9361063ce 100644 --- a/docs/examples/1.1.x/server-php/examples/account/get.md +++ b/docs/examples/1.1.x/server-php/examples/account/get.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-php/examples/account/list-logs.md b/docs/examples/1.1.x/server-php/examples/account/list-logs.md index 62bc86d668..1283d9cfd4 100644 --- a/docs/examples/1.1.x/server-php/examples/account/list-logs.md +++ b/docs/examples/1.1.x/server-php/examples/account/list-logs.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-php/examples/account/list-sessions.md b/docs/examples/1.1.x/server-php/examples/account/list-sessions.md index 7942a3de2a..a07d303fe9 100644 --- a/docs/examples/1.1.x/server-php/examples/account/list-sessions.md +++ b/docs/examples/1.1.x/server-php/examples/account/list-sessions.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-php/examples/account/update-email.md b/docs/examples/1.1.x/server-php/examples/account/update-email.md index a7ac5ede7d..a6bf5f6c24 100644 --- a/docs/examples/1.1.x/server-php/examples/account/update-email.md +++ b/docs/examples/1.1.x/server-php/examples/account/update-email.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-php/examples/account/update-name.md b/docs/examples/1.1.x/server-php/examples/account/update-name.md index 21bac94900..17f5189412 100644 --- a/docs/examples/1.1.x/server-php/examples/account/update-name.md +++ b/docs/examples/1.1.x/server-php/examples/account/update-name.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-php/examples/account/update-password.md b/docs/examples/1.1.x/server-php/examples/account/update-password.md index 11c6b48041..4b17a818d2 100644 --- a/docs/examples/1.1.x/server-php/examples/account/update-password.md +++ b/docs/examples/1.1.x/server-php/examples/account/update-password.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-php/examples/account/update-phone-verification.md b/docs/examples/1.1.x/server-php/examples/account/update-phone-verification.md index 02458727a5..466f516464 100644 --- a/docs/examples/1.1.x/server-php/examples/account/update-phone-verification.md +++ b/docs/examples/1.1.x/server-php/examples/account/update-phone-verification.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-php/examples/account/update-phone.md b/docs/examples/1.1.x/server-php/examples/account/update-phone.md index eaa1898512..75947cdf53 100644 --- a/docs/examples/1.1.x/server-php/examples/account/update-phone.md +++ b/docs/examples/1.1.x/server-php/examples/account/update-phone.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-php/examples/account/update-prefs.md b/docs/examples/1.1.x/server-php/examples/account/update-prefs.md index 96d0be5781..f7687416f2 100644 --- a/docs/examples/1.1.x/server-php/examples/account/update-prefs.md +++ b/docs/examples/1.1.x/server-php/examples/account/update-prefs.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-php/examples/account/update-recovery.md b/docs/examples/1.1.x/server-php/examples/account/update-recovery.md index 379b219e6d..0f8285654b 100644 --- a/docs/examples/1.1.x/server-php/examples/account/update-recovery.md +++ b/docs/examples/1.1.x/server-php/examples/account/update-recovery.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-php/examples/account/update-session.md b/docs/examples/1.1.x/server-php/examples/account/update-session.md index 462be6b914..264e6b6435 100644 --- a/docs/examples/1.1.x/server-php/examples/account/update-session.md +++ b/docs/examples/1.1.x/server-php/examples/account/update-session.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-php/examples/account/update-status.md b/docs/examples/1.1.x/server-php/examples/account/update-status.md index b1a1f2c8ec..ecfb4b56fa 100644 --- a/docs/examples/1.1.x/server-php/examples/account/update-status.md +++ b/docs/examples/1.1.x/server-php/examples/account/update-status.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-php/examples/account/update-verification.md b/docs/examples/1.1.x/server-php/examples/account/update-verification.md index ad583a422e..81a86041fd 100644 --- a/docs/examples/1.1.x/server-php/examples/account/update-verification.md +++ b/docs/examples/1.1.x/server-php/examples/account/update-verification.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-php/examples/avatars/get-browser.md b/docs/examples/1.1.x/server-php/examples/avatars/get-browser.md index 362106f645..dc92f02acf 100644 --- a/docs/examples/1.1.x/server-php/examples/avatars/get-browser.md +++ b/docs/examples/1.1.x/server-php/examples/avatars/get-browser.md @@ -6,7 +6,7 @@ use Appwrite\Services\Avatars; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/avatars/get-credit-card.md b/docs/examples/1.1.x/server-php/examples/avatars/get-credit-card.md index c85ebeac2e..6808432f42 100644 --- a/docs/examples/1.1.x/server-php/examples/avatars/get-credit-card.md +++ b/docs/examples/1.1.x/server-php/examples/avatars/get-credit-card.md @@ -6,7 +6,7 @@ use Appwrite\Services\Avatars; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/avatars/get-favicon.md b/docs/examples/1.1.x/server-php/examples/avatars/get-favicon.md index 088524e051..4266898e6a 100644 --- a/docs/examples/1.1.x/server-php/examples/avatars/get-favicon.md +++ b/docs/examples/1.1.x/server-php/examples/avatars/get-favicon.md @@ -6,7 +6,7 @@ use Appwrite\Services\Avatars; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/avatars/get-flag.md b/docs/examples/1.1.x/server-php/examples/avatars/get-flag.md index 2f2705b61f..df76fff7d8 100644 --- a/docs/examples/1.1.x/server-php/examples/avatars/get-flag.md +++ b/docs/examples/1.1.x/server-php/examples/avatars/get-flag.md @@ -6,7 +6,7 @@ use Appwrite\Services\Avatars; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/avatars/get-image.md b/docs/examples/1.1.x/server-php/examples/avatars/get-image.md index d576232a42..bc0b285de5 100644 --- a/docs/examples/1.1.x/server-php/examples/avatars/get-image.md +++ b/docs/examples/1.1.x/server-php/examples/avatars/get-image.md @@ -6,7 +6,7 @@ use Appwrite\Services\Avatars; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/avatars/get-initials.md b/docs/examples/1.1.x/server-php/examples/avatars/get-initials.md index 4e924c7062..eafe65f3d7 100644 --- a/docs/examples/1.1.x/server-php/examples/avatars/get-initials.md +++ b/docs/examples/1.1.x/server-php/examples/avatars/get-initials.md @@ -6,7 +6,7 @@ use Appwrite\Services\Avatars; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/avatars/get-q-r.md b/docs/examples/1.1.x/server-php/examples/avatars/get-q-r.md index fde6e35b77..ff2bbf4a38 100644 --- a/docs/examples/1.1.x/server-php/examples/avatars/get-q-r.md +++ b/docs/examples/1.1.x/server-php/examples/avatars/get-q-r.md @@ -6,7 +6,7 @@ use Appwrite\Services\Avatars; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/databases/create-boolean-attribute.md b/docs/examples/1.1.x/server-php/examples/databases/create-boolean-attribute.md index 17c92241b4..7ea50ba378 100644 --- a/docs/examples/1.1.x/server-php/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.1.x/server-php/examples/databases/create-boolean-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/databases/create-collection.md b/docs/examples/1.1.x/server-php/examples/databases/create-collection.md index 2fd5fb61c0..7bf6139f45 100644 --- a/docs/examples/1.1.x/server-php/examples/databases/create-collection.md +++ b/docs/examples/1.1.x/server-php/examples/databases/create-collection.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/databases/create-datetime-attribute.md b/docs/examples/1.1.x/server-php/examples/databases/create-datetime-attribute.md index 284163c266..8cff5f1897 100644 --- a/docs/examples/1.1.x/server-php/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.1.x/server-php/examples/databases/create-datetime-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/databases/create-document.md b/docs/examples/1.1.x/server-php/examples/databases/create-document.md index 509160b9ad..b5ed74d1d8 100644 --- a/docs/examples/1.1.x/server-php/examples/databases/create-document.md +++ b/docs/examples/1.1.x/server-php/examples/databases/create-document.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/databases/create-email-attribute.md b/docs/examples/1.1.x/server-php/examples/databases/create-email-attribute.md index df68be7fb0..2fef5160db 100644 --- a/docs/examples/1.1.x/server-php/examples/databases/create-email-attribute.md +++ b/docs/examples/1.1.x/server-php/examples/databases/create-email-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/databases/create-enum-attribute.md b/docs/examples/1.1.x/server-php/examples/databases/create-enum-attribute.md index c469679fd7..baeeb8edfb 100644 --- a/docs/examples/1.1.x/server-php/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.1.x/server-php/examples/databases/create-enum-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/databases/create-float-attribute.md b/docs/examples/1.1.x/server-php/examples/databases/create-float-attribute.md index c182d0a774..177647813c 100644 --- a/docs/examples/1.1.x/server-php/examples/databases/create-float-attribute.md +++ b/docs/examples/1.1.x/server-php/examples/databases/create-float-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/databases/create-index.md b/docs/examples/1.1.x/server-php/examples/databases/create-index.md index 6ecd4cc58b..4046c511a7 100644 --- a/docs/examples/1.1.x/server-php/examples/databases/create-index.md +++ b/docs/examples/1.1.x/server-php/examples/databases/create-index.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/databases/create-integer-attribute.md b/docs/examples/1.1.x/server-php/examples/databases/create-integer-attribute.md index d86ca7056b..8e5c54ec5a 100644 --- a/docs/examples/1.1.x/server-php/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.1.x/server-php/examples/databases/create-integer-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/databases/create-ip-attribute.md b/docs/examples/1.1.x/server-php/examples/databases/create-ip-attribute.md index 823fa99482..fe55cfe204 100644 --- a/docs/examples/1.1.x/server-php/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.1.x/server-php/examples/databases/create-ip-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/databases/create-string-attribute.md b/docs/examples/1.1.x/server-php/examples/databases/create-string-attribute.md index 50abd0a18d..7be05ee07e 100644 --- a/docs/examples/1.1.x/server-php/examples/databases/create-string-attribute.md +++ b/docs/examples/1.1.x/server-php/examples/databases/create-string-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/databases/create-url-attribute.md b/docs/examples/1.1.x/server-php/examples/databases/create-url-attribute.md index 5520cb1334..2380d74c43 100644 --- a/docs/examples/1.1.x/server-php/examples/databases/create-url-attribute.md +++ b/docs/examples/1.1.x/server-php/examples/databases/create-url-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/databases/create.md b/docs/examples/1.1.x/server-php/examples/databases/create.md index 16176b9b40..f05690391a 100644 --- a/docs/examples/1.1.x/server-php/examples/databases/create.md +++ b/docs/examples/1.1.x/server-php/examples/databases/create.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/databases/delete-attribute.md b/docs/examples/1.1.x/server-php/examples/databases/delete-attribute.md index d89c7de4f7..e46374ca42 100644 --- a/docs/examples/1.1.x/server-php/examples/databases/delete-attribute.md +++ b/docs/examples/1.1.x/server-php/examples/databases/delete-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/databases/delete-collection.md b/docs/examples/1.1.x/server-php/examples/databases/delete-collection.md index 29c627bbf0..f5ffb2c75a 100644 --- a/docs/examples/1.1.x/server-php/examples/databases/delete-collection.md +++ b/docs/examples/1.1.x/server-php/examples/databases/delete-collection.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/databases/delete-document.md b/docs/examples/1.1.x/server-php/examples/databases/delete-document.md index 9d5f1f0d51..523d3b5e0e 100644 --- a/docs/examples/1.1.x/server-php/examples/databases/delete-document.md +++ b/docs/examples/1.1.x/server-php/examples/databases/delete-document.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/databases/delete-index.md b/docs/examples/1.1.x/server-php/examples/databases/delete-index.md index 073aa3a82e..5739f5ce6b 100644 --- a/docs/examples/1.1.x/server-php/examples/databases/delete-index.md +++ b/docs/examples/1.1.x/server-php/examples/databases/delete-index.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/databases/delete.md b/docs/examples/1.1.x/server-php/examples/databases/delete.md index 3dab79bc99..0cc8b06106 100644 --- a/docs/examples/1.1.x/server-php/examples/databases/delete.md +++ b/docs/examples/1.1.x/server-php/examples/databases/delete.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/databases/get-attribute.md b/docs/examples/1.1.x/server-php/examples/databases/get-attribute.md index c286a7692a..5a109b7594 100644 --- a/docs/examples/1.1.x/server-php/examples/databases/get-attribute.md +++ b/docs/examples/1.1.x/server-php/examples/databases/get-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/databases/get-collection.md b/docs/examples/1.1.x/server-php/examples/databases/get-collection.md index 7cc578df8d..6d665e4601 100644 --- a/docs/examples/1.1.x/server-php/examples/databases/get-collection.md +++ b/docs/examples/1.1.x/server-php/examples/databases/get-collection.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/databases/get-document.md b/docs/examples/1.1.x/server-php/examples/databases/get-document.md index 7637e035e2..0397d6cbd5 100644 --- a/docs/examples/1.1.x/server-php/examples/databases/get-document.md +++ b/docs/examples/1.1.x/server-php/examples/databases/get-document.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/databases/get-index.md b/docs/examples/1.1.x/server-php/examples/databases/get-index.md index a674a5935e..ff39044a1f 100644 --- a/docs/examples/1.1.x/server-php/examples/databases/get-index.md +++ b/docs/examples/1.1.x/server-php/examples/databases/get-index.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/databases/get.md b/docs/examples/1.1.x/server-php/examples/databases/get.md index adc415f9a5..f87400b7dd 100644 --- a/docs/examples/1.1.x/server-php/examples/databases/get.md +++ b/docs/examples/1.1.x/server-php/examples/databases/get.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/databases/list-attributes.md b/docs/examples/1.1.x/server-php/examples/databases/list-attributes.md index 424c4b2405..decd393944 100644 --- a/docs/examples/1.1.x/server-php/examples/databases/list-attributes.md +++ b/docs/examples/1.1.x/server-php/examples/databases/list-attributes.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/databases/list-collections.md b/docs/examples/1.1.x/server-php/examples/databases/list-collections.md index 3f311f3138..7c0810a073 100644 --- a/docs/examples/1.1.x/server-php/examples/databases/list-collections.md +++ b/docs/examples/1.1.x/server-php/examples/databases/list-collections.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/databases/list-documents.md b/docs/examples/1.1.x/server-php/examples/databases/list-documents.md index c9a6bbe4ff..c2a1d47d2a 100644 --- a/docs/examples/1.1.x/server-php/examples/databases/list-documents.md +++ b/docs/examples/1.1.x/server-php/examples/databases/list-documents.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/databases/list-indexes.md b/docs/examples/1.1.x/server-php/examples/databases/list-indexes.md index 733d20b933..ecf4797d65 100644 --- a/docs/examples/1.1.x/server-php/examples/databases/list-indexes.md +++ b/docs/examples/1.1.x/server-php/examples/databases/list-indexes.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/databases/list.md b/docs/examples/1.1.x/server-php/examples/databases/list.md index 45963718d3..6882d17e97 100644 --- a/docs/examples/1.1.x/server-php/examples/databases/list.md +++ b/docs/examples/1.1.x/server-php/examples/databases/list.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/databases/update-collection.md b/docs/examples/1.1.x/server-php/examples/databases/update-collection.md index 878bf20986..9eedede688 100644 --- a/docs/examples/1.1.x/server-php/examples/databases/update-collection.md +++ b/docs/examples/1.1.x/server-php/examples/databases/update-collection.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/databases/update-document.md b/docs/examples/1.1.x/server-php/examples/databases/update-document.md index 796e4600eb..56310e155f 100644 --- a/docs/examples/1.1.x/server-php/examples/databases/update-document.md +++ b/docs/examples/1.1.x/server-php/examples/databases/update-document.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/databases/update.md b/docs/examples/1.1.x/server-php/examples/databases/update.md index db1ae7688e..b1f0589be9 100644 --- a/docs/examples/1.1.x/server-php/examples/databases/update.md +++ b/docs/examples/1.1.x/server-php/examples/databases/update.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/functions/create-build.md b/docs/examples/1.1.x/server-php/examples/functions/create-build.md index ac66cc2eb2..cc83570c3a 100644 --- a/docs/examples/1.1.x/server-php/examples/functions/create-build.md +++ b/docs/examples/1.1.x/server-php/examples/functions/create-build.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/functions/create-deployment.md b/docs/examples/1.1.x/server-php/examples/functions/create-deployment.md index a556cace24..f23873acb8 100644 --- a/docs/examples/1.1.x/server-php/examples/functions/create-deployment.md +++ b/docs/examples/1.1.x/server-php/examples/functions/create-deployment.md @@ -7,7 +7,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/functions/create-execution.md b/docs/examples/1.1.x/server-php/examples/functions/create-execution.md index 038126a728..bc6138825f 100644 --- a/docs/examples/1.1.x/server-php/examples/functions/create-execution.md +++ b/docs/examples/1.1.x/server-php/examples/functions/create-execution.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/functions/create-variable.md b/docs/examples/1.1.x/server-php/examples/functions/create-variable.md index f09e61861e..57244ec1f4 100644 --- a/docs/examples/1.1.x/server-php/examples/functions/create-variable.md +++ b/docs/examples/1.1.x/server-php/examples/functions/create-variable.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/functions/create.md b/docs/examples/1.1.x/server-php/examples/functions/create.md index 7fef274c7d..29da02c182 100644 --- a/docs/examples/1.1.x/server-php/examples/functions/create.md +++ b/docs/examples/1.1.x/server-php/examples/functions/create.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/functions/delete-deployment.md b/docs/examples/1.1.x/server-php/examples/functions/delete-deployment.md index 7227cd995f..bbc65aada1 100644 --- a/docs/examples/1.1.x/server-php/examples/functions/delete-deployment.md +++ b/docs/examples/1.1.x/server-php/examples/functions/delete-deployment.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/functions/delete-variable.md b/docs/examples/1.1.x/server-php/examples/functions/delete-variable.md index a457846492..42376a0e9f 100644 --- a/docs/examples/1.1.x/server-php/examples/functions/delete-variable.md +++ b/docs/examples/1.1.x/server-php/examples/functions/delete-variable.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/functions/delete.md b/docs/examples/1.1.x/server-php/examples/functions/delete.md index d06c732f57..2abe85b75d 100644 --- a/docs/examples/1.1.x/server-php/examples/functions/delete.md +++ b/docs/examples/1.1.x/server-php/examples/functions/delete.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/functions/get-deployment.md b/docs/examples/1.1.x/server-php/examples/functions/get-deployment.md index 4c4fe49eb3..19f4d58392 100644 --- a/docs/examples/1.1.x/server-php/examples/functions/get-deployment.md +++ b/docs/examples/1.1.x/server-php/examples/functions/get-deployment.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/functions/get-execution.md b/docs/examples/1.1.x/server-php/examples/functions/get-execution.md index ff59dc1cfe..994f2be976 100644 --- a/docs/examples/1.1.x/server-php/examples/functions/get-execution.md +++ b/docs/examples/1.1.x/server-php/examples/functions/get-execution.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/functions/get-variable.md b/docs/examples/1.1.x/server-php/examples/functions/get-variable.md index e80b8f9fc0..34012f9fbb 100644 --- a/docs/examples/1.1.x/server-php/examples/functions/get-variable.md +++ b/docs/examples/1.1.x/server-php/examples/functions/get-variable.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/functions/get.md b/docs/examples/1.1.x/server-php/examples/functions/get.md index aef5806259..2f5e69b142 100644 --- a/docs/examples/1.1.x/server-php/examples/functions/get.md +++ b/docs/examples/1.1.x/server-php/examples/functions/get.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/functions/list-deployments.md b/docs/examples/1.1.x/server-php/examples/functions/list-deployments.md index 366e5fdc71..db4524430b 100644 --- a/docs/examples/1.1.x/server-php/examples/functions/list-deployments.md +++ b/docs/examples/1.1.x/server-php/examples/functions/list-deployments.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/functions/list-executions.md b/docs/examples/1.1.x/server-php/examples/functions/list-executions.md index 34a80ad434..f431a4a937 100644 --- a/docs/examples/1.1.x/server-php/examples/functions/list-executions.md +++ b/docs/examples/1.1.x/server-php/examples/functions/list-executions.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/functions/list-runtimes.md b/docs/examples/1.1.x/server-php/examples/functions/list-runtimes.md index b35dadfec9..23089ec3ea 100644 --- a/docs/examples/1.1.x/server-php/examples/functions/list-runtimes.md +++ b/docs/examples/1.1.x/server-php/examples/functions/list-runtimes.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/functions/list-variables.md b/docs/examples/1.1.x/server-php/examples/functions/list-variables.md index cf74289157..aa84e28a6d 100644 --- a/docs/examples/1.1.x/server-php/examples/functions/list-variables.md +++ b/docs/examples/1.1.x/server-php/examples/functions/list-variables.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/functions/list.md b/docs/examples/1.1.x/server-php/examples/functions/list.md index f57875572e..0592572135 100644 --- a/docs/examples/1.1.x/server-php/examples/functions/list.md +++ b/docs/examples/1.1.x/server-php/examples/functions/list.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/functions/update-deployment.md b/docs/examples/1.1.x/server-php/examples/functions/update-deployment.md index b5f09cd018..3e259458ff 100644 --- a/docs/examples/1.1.x/server-php/examples/functions/update-deployment.md +++ b/docs/examples/1.1.x/server-php/examples/functions/update-deployment.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/functions/update-variable.md b/docs/examples/1.1.x/server-php/examples/functions/update-variable.md index 4eb52d94d3..f1952d8b5c 100644 --- a/docs/examples/1.1.x/server-php/examples/functions/update-variable.md +++ b/docs/examples/1.1.x/server-php/examples/functions/update-variable.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/functions/update.md b/docs/examples/1.1.x/server-php/examples/functions/update.md index 52f15eecb7..2b3d587887 100644 --- a/docs/examples/1.1.x/server-php/examples/functions/update.md +++ b/docs/examples/1.1.x/server-php/examples/functions/update.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/health/get-antivirus.md b/docs/examples/1.1.x/server-php/examples/health/get-antivirus.md index 4f1483514b..f31c642d9f 100644 --- a/docs/examples/1.1.x/server-php/examples/health/get-antivirus.md +++ b/docs/examples/1.1.x/server-php/examples/health/get-antivirus.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/health/get-cache.md b/docs/examples/1.1.x/server-php/examples/health/get-cache.md index 3d1b19b3ef..90cc8d8686 100644 --- a/docs/examples/1.1.x/server-php/examples/health/get-cache.md +++ b/docs/examples/1.1.x/server-php/examples/health/get-cache.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/health/get-d-b.md b/docs/examples/1.1.x/server-php/examples/health/get-d-b.md index c03ba23723..1ff93f4707 100644 --- a/docs/examples/1.1.x/server-php/examples/health/get-d-b.md +++ b/docs/examples/1.1.x/server-php/examples/health/get-d-b.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/health/get-queue-certificates.md b/docs/examples/1.1.x/server-php/examples/health/get-queue-certificates.md index 76236de7b5..e58ba39c47 100644 --- a/docs/examples/1.1.x/server-php/examples/health/get-queue-certificates.md +++ b/docs/examples/1.1.x/server-php/examples/health/get-queue-certificates.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/health/get-queue-functions.md b/docs/examples/1.1.x/server-php/examples/health/get-queue-functions.md index 31f65de1d1..699b4d390c 100644 --- a/docs/examples/1.1.x/server-php/examples/health/get-queue-functions.md +++ b/docs/examples/1.1.x/server-php/examples/health/get-queue-functions.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/health/get-queue-logs.md b/docs/examples/1.1.x/server-php/examples/health/get-queue-logs.md index ff1adb2a41..f55e861176 100644 --- a/docs/examples/1.1.x/server-php/examples/health/get-queue-logs.md +++ b/docs/examples/1.1.x/server-php/examples/health/get-queue-logs.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/health/get-queue-webhooks.md b/docs/examples/1.1.x/server-php/examples/health/get-queue-webhooks.md index 99592bcfac..838f442822 100644 --- a/docs/examples/1.1.x/server-php/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.1.x/server-php/examples/health/get-queue-webhooks.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/health/get-storage-local.md b/docs/examples/1.1.x/server-php/examples/health/get-storage-local.md index 55212c36ae..f156c7a6fe 100644 --- a/docs/examples/1.1.x/server-php/examples/health/get-storage-local.md +++ b/docs/examples/1.1.x/server-php/examples/health/get-storage-local.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/health/get-time.md b/docs/examples/1.1.x/server-php/examples/health/get-time.md index 5410124786..2efbd2d237 100644 --- a/docs/examples/1.1.x/server-php/examples/health/get-time.md +++ b/docs/examples/1.1.x/server-php/examples/health/get-time.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/health/get.md b/docs/examples/1.1.x/server-php/examples/health/get.md index 62cab8acf2..9a080c8e4d 100644 --- a/docs/examples/1.1.x/server-php/examples/health/get.md +++ b/docs/examples/1.1.x/server-php/examples/health/get.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/locale/get.md b/docs/examples/1.1.x/server-php/examples/locale/get.md index c4910463c5..3a8e04cc53 100644 --- a/docs/examples/1.1.x/server-php/examples/locale/get.md +++ b/docs/examples/1.1.x/server-php/examples/locale/get.md @@ -6,7 +6,7 @@ use Appwrite\Services\Locale; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/locale/list-continents.md b/docs/examples/1.1.x/server-php/examples/locale/list-continents.md index 9cd8fb1399..1103c8b847 100644 --- a/docs/examples/1.1.x/server-php/examples/locale/list-continents.md +++ b/docs/examples/1.1.x/server-php/examples/locale/list-continents.md @@ -6,7 +6,7 @@ use Appwrite\Services\Locale; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/locale/list-countries-e-u.md b/docs/examples/1.1.x/server-php/examples/locale/list-countries-e-u.md index 1f2ef98c96..7ad6b05299 100644 --- a/docs/examples/1.1.x/server-php/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.1.x/server-php/examples/locale/list-countries-e-u.md @@ -6,7 +6,7 @@ use Appwrite\Services\Locale; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/locale/list-countries-phones.md b/docs/examples/1.1.x/server-php/examples/locale/list-countries-phones.md index 6f8acb7467..3f5154c98c 100644 --- a/docs/examples/1.1.x/server-php/examples/locale/list-countries-phones.md +++ b/docs/examples/1.1.x/server-php/examples/locale/list-countries-phones.md @@ -6,7 +6,7 @@ use Appwrite\Services\Locale; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/locale/list-countries.md b/docs/examples/1.1.x/server-php/examples/locale/list-countries.md index 28c518e82a..4abf4cc491 100644 --- a/docs/examples/1.1.x/server-php/examples/locale/list-countries.md +++ b/docs/examples/1.1.x/server-php/examples/locale/list-countries.md @@ -6,7 +6,7 @@ use Appwrite\Services\Locale; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/locale/list-currencies.md b/docs/examples/1.1.x/server-php/examples/locale/list-currencies.md index 37784f3d1e..8b115f898c 100644 --- a/docs/examples/1.1.x/server-php/examples/locale/list-currencies.md +++ b/docs/examples/1.1.x/server-php/examples/locale/list-currencies.md @@ -6,7 +6,7 @@ use Appwrite\Services\Locale; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/locale/list-languages.md b/docs/examples/1.1.x/server-php/examples/locale/list-languages.md index 8b4f082cb0..74347ff87b 100644 --- a/docs/examples/1.1.x/server-php/examples/locale/list-languages.md +++ b/docs/examples/1.1.x/server-php/examples/locale/list-languages.md @@ -6,7 +6,7 @@ use Appwrite\Services\Locale; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/storage/create-bucket.md b/docs/examples/1.1.x/server-php/examples/storage/create-bucket.md index bf54c22a47..3e43cd52b4 100644 --- a/docs/examples/1.1.x/server-php/examples/storage/create-bucket.md +++ b/docs/examples/1.1.x/server-php/examples/storage/create-bucket.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/storage/create-file.md b/docs/examples/1.1.x/server-php/examples/storage/create-file.md index e2cfce7ae9..3c0fc4c71f 100644 --- a/docs/examples/1.1.x/server-php/examples/storage/create-file.md +++ b/docs/examples/1.1.x/server-php/examples/storage/create-file.md @@ -7,7 +7,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/storage/delete-bucket.md b/docs/examples/1.1.x/server-php/examples/storage/delete-bucket.md index b3659b6276..bfae9b70a7 100644 --- a/docs/examples/1.1.x/server-php/examples/storage/delete-bucket.md +++ b/docs/examples/1.1.x/server-php/examples/storage/delete-bucket.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/storage/delete-file.md b/docs/examples/1.1.x/server-php/examples/storage/delete-file.md index 00db8551b3..5fb21e0210 100644 --- a/docs/examples/1.1.x/server-php/examples/storage/delete-file.md +++ b/docs/examples/1.1.x/server-php/examples/storage/delete-file.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/storage/get-bucket.md b/docs/examples/1.1.x/server-php/examples/storage/get-bucket.md index d4d152aff4..e816ef192f 100644 --- a/docs/examples/1.1.x/server-php/examples/storage/get-bucket.md +++ b/docs/examples/1.1.x/server-php/examples/storage/get-bucket.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/storage/get-file-download.md b/docs/examples/1.1.x/server-php/examples/storage/get-file-download.md index 0c7fefda37..9a181f7007 100644 --- a/docs/examples/1.1.x/server-php/examples/storage/get-file-download.md +++ b/docs/examples/1.1.x/server-php/examples/storage/get-file-download.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/storage/get-file-preview.md b/docs/examples/1.1.x/server-php/examples/storage/get-file-preview.md index c1b91e5c29..d30c0ec450 100644 --- a/docs/examples/1.1.x/server-php/examples/storage/get-file-preview.md +++ b/docs/examples/1.1.x/server-php/examples/storage/get-file-preview.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/storage/get-file-view.md b/docs/examples/1.1.x/server-php/examples/storage/get-file-view.md index f527c1b744..983fb0c52f 100644 --- a/docs/examples/1.1.x/server-php/examples/storage/get-file-view.md +++ b/docs/examples/1.1.x/server-php/examples/storage/get-file-view.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/storage/get-file.md b/docs/examples/1.1.x/server-php/examples/storage/get-file.md index cb56c96a42..799e1192d0 100644 --- a/docs/examples/1.1.x/server-php/examples/storage/get-file.md +++ b/docs/examples/1.1.x/server-php/examples/storage/get-file.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/storage/list-buckets.md b/docs/examples/1.1.x/server-php/examples/storage/list-buckets.md index b92dc82bcb..235cc8f9b6 100644 --- a/docs/examples/1.1.x/server-php/examples/storage/list-buckets.md +++ b/docs/examples/1.1.x/server-php/examples/storage/list-buckets.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/storage/list-files.md b/docs/examples/1.1.x/server-php/examples/storage/list-files.md index e0b79186e4..12b697fc81 100644 --- a/docs/examples/1.1.x/server-php/examples/storage/list-files.md +++ b/docs/examples/1.1.x/server-php/examples/storage/list-files.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/storage/update-bucket.md b/docs/examples/1.1.x/server-php/examples/storage/update-bucket.md index 5e46dfc83b..6985651b9b 100644 --- a/docs/examples/1.1.x/server-php/examples/storage/update-bucket.md +++ b/docs/examples/1.1.x/server-php/examples/storage/update-bucket.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/storage/update-file.md b/docs/examples/1.1.x/server-php/examples/storage/update-file.md index 1d3e01e99a..6dc64b1f5b 100644 --- a/docs/examples/1.1.x/server-php/examples/storage/update-file.md +++ b/docs/examples/1.1.x/server-php/examples/storage/update-file.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/teams/create-membership.md b/docs/examples/1.1.x/server-php/examples/teams/create-membership.md index 60d3d3dc6f..0c2c684b72 100644 --- a/docs/examples/1.1.x/server-php/examples/teams/create-membership.md +++ b/docs/examples/1.1.x/server-php/examples/teams/create-membership.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/teams/create.md b/docs/examples/1.1.x/server-php/examples/teams/create.md index e5efe49b30..551922be14 100644 --- a/docs/examples/1.1.x/server-php/examples/teams/create.md +++ b/docs/examples/1.1.x/server-php/examples/teams/create.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/teams/delete-membership.md b/docs/examples/1.1.x/server-php/examples/teams/delete-membership.md index 2b40c1742e..5d070ee09c 100644 --- a/docs/examples/1.1.x/server-php/examples/teams/delete-membership.md +++ b/docs/examples/1.1.x/server-php/examples/teams/delete-membership.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/teams/delete.md b/docs/examples/1.1.x/server-php/examples/teams/delete.md index 5ec2ed995c..009c7eee2e 100644 --- a/docs/examples/1.1.x/server-php/examples/teams/delete.md +++ b/docs/examples/1.1.x/server-php/examples/teams/delete.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/teams/get-membership.md b/docs/examples/1.1.x/server-php/examples/teams/get-membership.md index fdd3024783..f23b8a7eb0 100644 --- a/docs/examples/1.1.x/server-php/examples/teams/get-membership.md +++ b/docs/examples/1.1.x/server-php/examples/teams/get-membership.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/teams/get.md b/docs/examples/1.1.x/server-php/examples/teams/get.md index 94b8a2695a..b7b4a43ac6 100644 --- a/docs/examples/1.1.x/server-php/examples/teams/get.md +++ b/docs/examples/1.1.x/server-php/examples/teams/get.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/teams/list-memberships.md b/docs/examples/1.1.x/server-php/examples/teams/list-memberships.md index f23b78eca1..3a15fd91be 100644 --- a/docs/examples/1.1.x/server-php/examples/teams/list-memberships.md +++ b/docs/examples/1.1.x/server-php/examples/teams/list-memberships.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/teams/list.md b/docs/examples/1.1.x/server-php/examples/teams/list.md index 66f54b6e1c..970b2b08d2 100644 --- a/docs/examples/1.1.x/server-php/examples/teams/list.md +++ b/docs/examples/1.1.x/server-php/examples/teams/list.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/teams/update-membership-roles.md b/docs/examples/1.1.x/server-php/examples/teams/update-membership-roles.md index 5923997551..c744578712 100644 --- a/docs/examples/1.1.x/server-php/examples/teams/update-membership-roles.md +++ b/docs/examples/1.1.x/server-php/examples/teams/update-membership-roles.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/teams/update-membership-status.md b/docs/examples/1.1.x/server-php/examples/teams/update-membership-status.md index 15504ad421..0d0a125886 100644 --- a/docs/examples/1.1.x/server-php/examples/teams/update-membership-status.md +++ b/docs/examples/1.1.x/server-php/examples/teams/update-membership-status.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.1.x/server-php/examples/teams/update.md b/docs/examples/1.1.x/server-php/examples/teams/update.md index 267112cc13..91634f6f8f 100644 --- a/docs/examples/1.1.x/server-php/examples/teams/update.md +++ b/docs/examples/1.1.x/server-php/examples/teams/update.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/users/create-argon2user.md b/docs/examples/1.1.x/server-php/examples/users/create-argon2user.md index 1036ca109e..83bc040827 100644 --- a/docs/examples/1.1.x/server-php/examples/users/create-argon2user.md +++ b/docs/examples/1.1.x/server-php/examples/users/create-argon2user.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/users/create-bcrypt-user.md b/docs/examples/1.1.x/server-php/examples/users/create-bcrypt-user.md index de15110a4e..ce1e2d5633 100644 --- a/docs/examples/1.1.x/server-php/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.1.x/server-php/examples/users/create-bcrypt-user.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/users/create-m-d5user.md b/docs/examples/1.1.x/server-php/examples/users/create-m-d5user.md index 15f4ebe0aa..d78ffa24d4 100644 --- a/docs/examples/1.1.x/server-php/examples/users/create-m-d5user.md +++ b/docs/examples/1.1.x/server-php/examples/users/create-m-d5user.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/users/create-p-h-pass-user.md b/docs/examples/1.1.x/server-php/examples/users/create-p-h-pass-user.md index 2eb682fc42..097636038a 100644 --- a/docs/examples/1.1.x/server-php/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.1.x/server-php/examples/users/create-p-h-pass-user.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/users/create-s-h-a-user.md b/docs/examples/1.1.x/server-php/examples/users/create-s-h-a-user.md index 3e63bd9928..ab5df354cc 100644 --- a/docs/examples/1.1.x/server-php/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.1.x/server-php/examples/users/create-s-h-a-user.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/users/create-scrypt-modified-user.md b/docs/examples/1.1.x/server-php/examples/users/create-scrypt-modified-user.md index bcf7c52cd5..bb71afe901 100644 --- a/docs/examples/1.1.x/server-php/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.1.x/server-php/examples/users/create-scrypt-modified-user.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/users/create-scrypt-user.md b/docs/examples/1.1.x/server-php/examples/users/create-scrypt-user.md index 43a4bcc2e2..563268784d 100644 --- a/docs/examples/1.1.x/server-php/examples/users/create-scrypt-user.md +++ b/docs/examples/1.1.x/server-php/examples/users/create-scrypt-user.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/users/create.md b/docs/examples/1.1.x/server-php/examples/users/create.md index dab8a5ed70..67ab2660eb 100644 --- a/docs/examples/1.1.x/server-php/examples/users/create.md +++ b/docs/examples/1.1.x/server-php/examples/users/create.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/users/delete-session.md b/docs/examples/1.1.x/server-php/examples/users/delete-session.md index c6a507c7b2..6ce035a739 100644 --- a/docs/examples/1.1.x/server-php/examples/users/delete-session.md +++ b/docs/examples/1.1.x/server-php/examples/users/delete-session.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/users/delete-sessions.md b/docs/examples/1.1.x/server-php/examples/users/delete-sessions.md index 570d258683..a4a07242bd 100644 --- a/docs/examples/1.1.x/server-php/examples/users/delete-sessions.md +++ b/docs/examples/1.1.x/server-php/examples/users/delete-sessions.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/users/delete.md b/docs/examples/1.1.x/server-php/examples/users/delete.md index 1d5a822fde..63279e1b46 100644 --- a/docs/examples/1.1.x/server-php/examples/users/delete.md +++ b/docs/examples/1.1.x/server-php/examples/users/delete.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/users/get-prefs.md b/docs/examples/1.1.x/server-php/examples/users/get-prefs.md index e9c8c58bf3..d52706530e 100644 --- a/docs/examples/1.1.x/server-php/examples/users/get-prefs.md +++ b/docs/examples/1.1.x/server-php/examples/users/get-prefs.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/users/get.md b/docs/examples/1.1.x/server-php/examples/users/get.md index 51482d37eb..5f84f327db 100644 --- a/docs/examples/1.1.x/server-php/examples/users/get.md +++ b/docs/examples/1.1.x/server-php/examples/users/get.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/users/list-logs.md b/docs/examples/1.1.x/server-php/examples/users/list-logs.md index e6287563c2..d5166c0b66 100644 --- a/docs/examples/1.1.x/server-php/examples/users/list-logs.md +++ b/docs/examples/1.1.x/server-php/examples/users/list-logs.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/users/list-memberships.md b/docs/examples/1.1.x/server-php/examples/users/list-memberships.md index 039216bc1e..84ebf8e8a1 100644 --- a/docs/examples/1.1.x/server-php/examples/users/list-memberships.md +++ b/docs/examples/1.1.x/server-php/examples/users/list-memberships.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/users/list-sessions.md b/docs/examples/1.1.x/server-php/examples/users/list-sessions.md index e09b65d475..100df65a48 100644 --- a/docs/examples/1.1.x/server-php/examples/users/list-sessions.md +++ b/docs/examples/1.1.x/server-php/examples/users/list-sessions.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/users/list.md b/docs/examples/1.1.x/server-php/examples/users/list.md index 8d86e86372..30929b467b 100644 --- a/docs/examples/1.1.x/server-php/examples/users/list.md +++ b/docs/examples/1.1.x/server-php/examples/users/list.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/users/update-email-verification.md b/docs/examples/1.1.x/server-php/examples/users/update-email-verification.md index 67c3e12ee0..6b0b5b0d4c 100644 --- a/docs/examples/1.1.x/server-php/examples/users/update-email-verification.md +++ b/docs/examples/1.1.x/server-php/examples/users/update-email-verification.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/users/update-email.md b/docs/examples/1.1.x/server-php/examples/users/update-email.md index c6a7412b89..fe35bf057e 100644 --- a/docs/examples/1.1.x/server-php/examples/users/update-email.md +++ b/docs/examples/1.1.x/server-php/examples/users/update-email.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/users/update-name.md b/docs/examples/1.1.x/server-php/examples/users/update-name.md index 598ef2a3a2..838f436758 100644 --- a/docs/examples/1.1.x/server-php/examples/users/update-name.md +++ b/docs/examples/1.1.x/server-php/examples/users/update-name.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/users/update-password.md b/docs/examples/1.1.x/server-php/examples/users/update-password.md index a4632c1984..bd0e328336 100644 --- a/docs/examples/1.1.x/server-php/examples/users/update-password.md +++ b/docs/examples/1.1.x/server-php/examples/users/update-password.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/users/update-phone-verification.md b/docs/examples/1.1.x/server-php/examples/users/update-phone-verification.md index e9929a547b..e18b57274a 100644 --- a/docs/examples/1.1.x/server-php/examples/users/update-phone-verification.md +++ b/docs/examples/1.1.x/server-php/examples/users/update-phone-verification.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/users/update-phone.md b/docs/examples/1.1.x/server-php/examples/users/update-phone.md index 0df380a23a..610b3a65e7 100644 --- a/docs/examples/1.1.x/server-php/examples/users/update-phone.md +++ b/docs/examples/1.1.x/server-php/examples/users/update-phone.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/users/update-prefs.md b/docs/examples/1.1.x/server-php/examples/users/update-prefs.md index 9c4ebaae2b..6aaa9451d6 100644 --- a/docs/examples/1.1.x/server-php/examples/users/update-prefs.md +++ b/docs/examples/1.1.x/server-php/examples/users/update-prefs.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-php/examples/users/update-status.md b/docs/examples/1.1.x/server-php/examples/users/update-status.md index ad3f6bde79..dbe489de72 100644 --- a/docs/examples/1.1.x/server-php/examples/users/update-status.md +++ b/docs/examples/1.1.x/server-php/examples/users/update-status.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.1.x/server-python/examples/account/create-phone-verification.md b/docs/examples/1.1.x/server-python/examples/account/create-phone-verification.md index 2203cdbd0c..1e8670084d 100644 --- a/docs/examples/1.1.x/server-python/examples/account/create-phone-verification.md +++ b/docs/examples/1.1.x/server-python/examples/account/create-phone-verification.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.1.x/server-python/examples/account/create-recovery.md b/docs/examples/1.1.x/server-python/examples/account/create-recovery.md index 21130fef6d..c86108ff4e 100644 --- a/docs/examples/1.1.x/server-python/examples/account/create-recovery.md +++ b/docs/examples/1.1.x/server-python/examples/account/create-recovery.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.1.x/server-python/examples/account/create-verification.md b/docs/examples/1.1.x/server-python/examples/account/create-verification.md index c45d0d462e..0bc3954565 100644 --- a/docs/examples/1.1.x/server-python/examples/account/create-verification.md +++ b/docs/examples/1.1.x/server-python/examples/account/create-verification.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.1.x/server-python/examples/account/delete-session.md b/docs/examples/1.1.x/server-python/examples/account/delete-session.md index 8095cdc07f..449a786169 100644 --- a/docs/examples/1.1.x/server-python/examples/account/delete-session.md +++ b/docs/examples/1.1.x/server-python/examples/account/delete-session.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.1.x/server-python/examples/account/delete-sessions.md b/docs/examples/1.1.x/server-python/examples/account/delete-sessions.md index 1728d61e67..4f208b93a6 100644 --- a/docs/examples/1.1.x/server-python/examples/account/delete-sessions.md +++ b/docs/examples/1.1.x/server-python/examples/account/delete-sessions.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.1.x/server-python/examples/account/get-prefs.md b/docs/examples/1.1.x/server-python/examples/account/get-prefs.md index da2fd7628e..7063f0c3aa 100644 --- a/docs/examples/1.1.x/server-python/examples/account/get-prefs.md +++ b/docs/examples/1.1.x/server-python/examples/account/get-prefs.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.1.x/server-python/examples/account/get-session.md b/docs/examples/1.1.x/server-python/examples/account/get-session.md index 25b8f03837..def8838e19 100644 --- a/docs/examples/1.1.x/server-python/examples/account/get-session.md +++ b/docs/examples/1.1.x/server-python/examples/account/get-session.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.1.x/server-python/examples/account/get.md b/docs/examples/1.1.x/server-python/examples/account/get.md index f75bad7769..d84d378583 100644 --- a/docs/examples/1.1.x/server-python/examples/account/get.md +++ b/docs/examples/1.1.x/server-python/examples/account/get.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.1.x/server-python/examples/account/list-logs.md b/docs/examples/1.1.x/server-python/examples/account/list-logs.md index 65802d8b0d..601d243dca 100644 --- a/docs/examples/1.1.x/server-python/examples/account/list-logs.md +++ b/docs/examples/1.1.x/server-python/examples/account/list-logs.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.1.x/server-python/examples/account/list-sessions.md b/docs/examples/1.1.x/server-python/examples/account/list-sessions.md index 12d5c81d92..fcdfd857e7 100644 --- a/docs/examples/1.1.x/server-python/examples/account/list-sessions.md +++ b/docs/examples/1.1.x/server-python/examples/account/list-sessions.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.1.x/server-python/examples/account/update-email.md b/docs/examples/1.1.x/server-python/examples/account/update-email.md index f4a6776f72..a2e393ae4a 100644 --- a/docs/examples/1.1.x/server-python/examples/account/update-email.md +++ b/docs/examples/1.1.x/server-python/examples/account/update-email.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.1.x/server-python/examples/account/update-name.md b/docs/examples/1.1.x/server-python/examples/account/update-name.md index eb1eb6279b..b56296cb21 100644 --- a/docs/examples/1.1.x/server-python/examples/account/update-name.md +++ b/docs/examples/1.1.x/server-python/examples/account/update-name.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.1.x/server-python/examples/account/update-password.md b/docs/examples/1.1.x/server-python/examples/account/update-password.md index 81bc8bbfc3..7adf938ac6 100644 --- a/docs/examples/1.1.x/server-python/examples/account/update-password.md +++ b/docs/examples/1.1.x/server-python/examples/account/update-password.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.1.x/server-python/examples/account/update-phone-verification.md b/docs/examples/1.1.x/server-python/examples/account/update-phone-verification.md index f2a75b4de9..dcba4273c4 100644 --- a/docs/examples/1.1.x/server-python/examples/account/update-phone-verification.md +++ b/docs/examples/1.1.x/server-python/examples/account/update-phone-verification.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.1.x/server-python/examples/account/update-phone.md b/docs/examples/1.1.x/server-python/examples/account/update-phone.md index aaee1f7eec..0f6470619e 100644 --- a/docs/examples/1.1.x/server-python/examples/account/update-phone.md +++ b/docs/examples/1.1.x/server-python/examples/account/update-phone.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.1.x/server-python/examples/account/update-prefs.md b/docs/examples/1.1.x/server-python/examples/account/update-prefs.md index e96546b05a..64e32cee2a 100644 --- a/docs/examples/1.1.x/server-python/examples/account/update-prefs.md +++ b/docs/examples/1.1.x/server-python/examples/account/update-prefs.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.1.x/server-python/examples/account/update-recovery.md b/docs/examples/1.1.x/server-python/examples/account/update-recovery.md index b4ea8aa89c..2bb9b10d2c 100644 --- a/docs/examples/1.1.x/server-python/examples/account/update-recovery.md +++ b/docs/examples/1.1.x/server-python/examples/account/update-recovery.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.1.x/server-python/examples/account/update-session.md b/docs/examples/1.1.x/server-python/examples/account/update-session.md index e7234f7801..16ea018303 100644 --- a/docs/examples/1.1.x/server-python/examples/account/update-session.md +++ b/docs/examples/1.1.x/server-python/examples/account/update-session.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.1.x/server-python/examples/account/update-status.md b/docs/examples/1.1.x/server-python/examples/account/update-status.md index 5924d4d54f..877b8743d1 100644 --- a/docs/examples/1.1.x/server-python/examples/account/update-status.md +++ b/docs/examples/1.1.x/server-python/examples/account/update-status.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.1.x/server-python/examples/account/update-verification.md b/docs/examples/1.1.x/server-python/examples/account/update-verification.md index 9a410a54a8..e2aecaa117 100644 --- a/docs/examples/1.1.x/server-python/examples/account/update-verification.md +++ b/docs/examples/1.1.x/server-python/examples/account/update-verification.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.1.x/server-python/examples/avatars/get-browser.md b/docs/examples/1.1.x/server-python/examples/avatars/get-browser.md index 9ed56d1d4b..e29ebcd84d 100644 --- a/docs/examples/1.1.x/server-python/examples/avatars/get-browser.md +++ b/docs/examples/1.1.x/server-python/examples/avatars/get-browser.md @@ -4,7 +4,7 @@ from appwrite.services.avatars import Avatars client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/avatars/get-credit-card.md b/docs/examples/1.1.x/server-python/examples/avatars/get-credit-card.md index 9fa6b0fd1f..3006186d81 100644 --- a/docs/examples/1.1.x/server-python/examples/avatars/get-credit-card.md +++ b/docs/examples/1.1.x/server-python/examples/avatars/get-credit-card.md @@ -4,7 +4,7 @@ from appwrite.services.avatars import Avatars client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/avatars/get-favicon.md b/docs/examples/1.1.x/server-python/examples/avatars/get-favicon.md index 75b0315eae..b860e801ce 100644 --- a/docs/examples/1.1.x/server-python/examples/avatars/get-favicon.md +++ b/docs/examples/1.1.x/server-python/examples/avatars/get-favicon.md @@ -4,7 +4,7 @@ from appwrite.services.avatars import Avatars client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/avatars/get-flag.md b/docs/examples/1.1.x/server-python/examples/avatars/get-flag.md index 70d2e5f242..055feb4282 100644 --- a/docs/examples/1.1.x/server-python/examples/avatars/get-flag.md +++ b/docs/examples/1.1.x/server-python/examples/avatars/get-flag.md @@ -4,7 +4,7 @@ from appwrite.services.avatars import Avatars client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/avatars/get-image.md b/docs/examples/1.1.x/server-python/examples/avatars/get-image.md index 35015d9620..1cd0bd0164 100644 --- a/docs/examples/1.1.x/server-python/examples/avatars/get-image.md +++ b/docs/examples/1.1.x/server-python/examples/avatars/get-image.md @@ -4,7 +4,7 @@ from appwrite.services.avatars import Avatars client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/avatars/get-initials.md b/docs/examples/1.1.x/server-python/examples/avatars/get-initials.md index 639fa03bc9..9e7e5d2c18 100644 --- a/docs/examples/1.1.x/server-python/examples/avatars/get-initials.md +++ b/docs/examples/1.1.x/server-python/examples/avatars/get-initials.md @@ -4,7 +4,7 @@ from appwrite.services.avatars import Avatars client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/avatars/get-q-r.md b/docs/examples/1.1.x/server-python/examples/avatars/get-q-r.md index 27fc8e2924..b3c3e728ab 100644 --- a/docs/examples/1.1.x/server-python/examples/avatars/get-q-r.md +++ b/docs/examples/1.1.x/server-python/examples/avatars/get-q-r.md @@ -4,7 +4,7 @@ from appwrite.services.avatars import Avatars client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/databases/create-boolean-attribute.md b/docs/examples/1.1.x/server-python/examples/databases/create-boolean-attribute.md index f073d3d3b3..e0f333caab 100644 --- a/docs/examples/1.1.x/server-python/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.1.x/server-python/examples/databases/create-boolean-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/databases/create-collection.md b/docs/examples/1.1.x/server-python/examples/databases/create-collection.md index 183c55c448..ad704dea3d 100644 --- a/docs/examples/1.1.x/server-python/examples/databases/create-collection.md +++ b/docs/examples/1.1.x/server-python/examples/databases/create-collection.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/databases/create-datetime-attribute.md b/docs/examples/1.1.x/server-python/examples/databases/create-datetime-attribute.md index 5c77689c99..8325de8230 100644 --- a/docs/examples/1.1.x/server-python/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.1.x/server-python/examples/databases/create-datetime-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/databases/create-document.md b/docs/examples/1.1.x/server-python/examples/databases/create-document.md index aa95de9ebd..c712b11bdd 100644 --- a/docs/examples/1.1.x/server-python/examples/databases/create-document.md +++ b/docs/examples/1.1.x/server-python/examples/databases/create-document.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/databases/create-email-attribute.md b/docs/examples/1.1.x/server-python/examples/databases/create-email-attribute.md index 92cdcb2a8f..05397d6ab0 100644 --- a/docs/examples/1.1.x/server-python/examples/databases/create-email-attribute.md +++ b/docs/examples/1.1.x/server-python/examples/databases/create-email-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/databases/create-enum-attribute.md b/docs/examples/1.1.x/server-python/examples/databases/create-enum-attribute.md index df66f12896..21e4635790 100644 --- a/docs/examples/1.1.x/server-python/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.1.x/server-python/examples/databases/create-enum-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/databases/create-float-attribute.md b/docs/examples/1.1.x/server-python/examples/databases/create-float-attribute.md index 0bfe4248eb..b7493dfced 100644 --- a/docs/examples/1.1.x/server-python/examples/databases/create-float-attribute.md +++ b/docs/examples/1.1.x/server-python/examples/databases/create-float-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/databases/create-index.md b/docs/examples/1.1.x/server-python/examples/databases/create-index.md index 78a7d3327e..2237a7397e 100644 --- a/docs/examples/1.1.x/server-python/examples/databases/create-index.md +++ b/docs/examples/1.1.x/server-python/examples/databases/create-index.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/databases/create-integer-attribute.md b/docs/examples/1.1.x/server-python/examples/databases/create-integer-attribute.md index b3cce2bde4..b8a213bc21 100644 --- a/docs/examples/1.1.x/server-python/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.1.x/server-python/examples/databases/create-integer-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/databases/create-ip-attribute.md b/docs/examples/1.1.x/server-python/examples/databases/create-ip-attribute.md index 967d284b9a..85f1cd5b00 100644 --- a/docs/examples/1.1.x/server-python/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.1.x/server-python/examples/databases/create-ip-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/databases/create-string-attribute.md b/docs/examples/1.1.x/server-python/examples/databases/create-string-attribute.md index 00bbbe9ce7..1992f71e44 100644 --- a/docs/examples/1.1.x/server-python/examples/databases/create-string-attribute.md +++ b/docs/examples/1.1.x/server-python/examples/databases/create-string-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/databases/create-url-attribute.md b/docs/examples/1.1.x/server-python/examples/databases/create-url-attribute.md index fd5b7f44e3..49e2cbf68c 100644 --- a/docs/examples/1.1.x/server-python/examples/databases/create-url-attribute.md +++ b/docs/examples/1.1.x/server-python/examples/databases/create-url-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/databases/create.md b/docs/examples/1.1.x/server-python/examples/databases/create.md index e4a832066b..7c1f63cb14 100644 --- a/docs/examples/1.1.x/server-python/examples/databases/create.md +++ b/docs/examples/1.1.x/server-python/examples/databases/create.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/databases/delete-attribute.md b/docs/examples/1.1.x/server-python/examples/databases/delete-attribute.md index 41871b2662..7ca55adf15 100644 --- a/docs/examples/1.1.x/server-python/examples/databases/delete-attribute.md +++ b/docs/examples/1.1.x/server-python/examples/databases/delete-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/databases/delete-collection.md b/docs/examples/1.1.x/server-python/examples/databases/delete-collection.md index 998bb61fb9..af37479be2 100644 --- a/docs/examples/1.1.x/server-python/examples/databases/delete-collection.md +++ b/docs/examples/1.1.x/server-python/examples/databases/delete-collection.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/databases/delete-document.md b/docs/examples/1.1.x/server-python/examples/databases/delete-document.md index 605b087b7c..6a3a3588c6 100644 --- a/docs/examples/1.1.x/server-python/examples/databases/delete-document.md +++ b/docs/examples/1.1.x/server-python/examples/databases/delete-document.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/databases/delete-index.md b/docs/examples/1.1.x/server-python/examples/databases/delete-index.md index a53e06c024..5f32135c3b 100644 --- a/docs/examples/1.1.x/server-python/examples/databases/delete-index.md +++ b/docs/examples/1.1.x/server-python/examples/databases/delete-index.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/databases/delete.md b/docs/examples/1.1.x/server-python/examples/databases/delete.md index 780e1451ef..594f357bbf 100644 --- a/docs/examples/1.1.x/server-python/examples/databases/delete.md +++ b/docs/examples/1.1.x/server-python/examples/databases/delete.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/databases/get-attribute.md b/docs/examples/1.1.x/server-python/examples/databases/get-attribute.md index 0a6105272a..b855fbc600 100644 --- a/docs/examples/1.1.x/server-python/examples/databases/get-attribute.md +++ b/docs/examples/1.1.x/server-python/examples/databases/get-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/databases/get-collection.md b/docs/examples/1.1.x/server-python/examples/databases/get-collection.md index 90f57a366c..5d176dd2c5 100644 --- a/docs/examples/1.1.x/server-python/examples/databases/get-collection.md +++ b/docs/examples/1.1.x/server-python/examples/databases/get-collection.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/databases/get-document.md b/docs/examples/1.1.x/server-python/examples/databases/get-document.md index 708538418e..7a11da3c27 100644 --- a/docs/examples/1.1.x/server-python/examples/databases/get-document.md +++ b/docs/examples/1.1.x/server-python/examples/databases/get-document.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/databases/get-index.md b/docs/examples/1.1.x/server-python/examples/databases/get-index.md index 3213c66660..6c376c6907 100644 --- a/docs/examples/1.1.x/server-python/examples/databases/get-index.md +++ b/docs/examples/1.1.x/server-python/examples/databases/get-index.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/databases/get.md b/docs/examples/1.1.x/server-python/examples/databases/get.md index 93a46b3fa4..c8906fc9af 100644 --- a/docs/examples/1.1.x/server-python/examples/databases/get.md +++ b/docs/examples/1.1.x/server-python/examples/databases/get.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/databases/list-attributes.md b/docs/examples/1.1.x/server-python/examples/databases/list-attributes.md index 632202c894..3c173668a4 100644 --- a/docs/examples/1.1.x/server-python/examples/databases/list-attributes.md +++ b/docs/examples/1.1.x/server-python/examples/databases/list-attributes.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/databases/list-collections.md b/docs/examples/1.1.x/server-python/examples/databases/list-collections.md index d0c98dad97..197229e308 100644 --- a/docs/examples/1.1.x/server-python/examples/databases/list-collections.md +++ b/docs/examples/1.1.x/server-python/examples/databases/list-collections.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/databases/list-documents.md b/docs/examples/1.1.x/server-python/examples/databases/list-documents.md index 5eb03b2658..01cc594d98 100644 --- a/docs/examples/1.1.x/server-python/examples/databases/list-documents.md +++ b/docs/examples/1.1.x/server-python/examples/databases/list-documents.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/databases/list-indexes.md b/docs/examples/1.1.x/server-python/examples/databases/list-indexes.md index b4224be62c..f65545454b 100644 --- a/docs/examples/1.1.x/server-python/examples/databases/list-indexes.md +++ b/docs/examples/1.1.x/server-python/examples/databases/list-indexes.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/databases/list.md b/docs/examples/1.1.x/server-python/examples/databases/list.md index 3aa6839d20..117119439b 100644 --- a/docs/examples/1.1.x/server-python/examples/databases/list.md +++ b/docs/examples/1.1.x/server-python/examples/databases/list.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/databases/update-collection.md b/docs/examples/1.1.x/server-python/examples/databases/update-collection.md index 4a38aab4d4..49c5c8154b 100644 --- a/docs/examples/1.1.x/server-python/examples/databases/update-collection.md +++ b/docs/examples/1.1.x/server-python/examples/databases/update-collection.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/databases/update-document.md b/docs/examples/1.1.x/server-python/examples/databases/update-document.md index c768c5403c..fc6645bf9f 100644 --- a/docs/examples/1.1.x/server-python/examples/databases/update-document.md +++ b/docs/examples/1.1.x/server-python/examples/databases/update-document.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/databases/update.md b/docs/examples/1.1.x/server-python/examples/databases/update.md index d46692ece4..9e32a87888 100644 --- a/docs/examples/1.1.x/server-python/examples/databases/update.md +++ b/docs/examples/1.1.x/server-python/examples/databases/update.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/functions/create-build.md b/docs/examples/1.1.x/server-python/examples/functions/create-build.md index 76888f8b16..398973ce57 100644 --- a/docs/examples/1.1.x/server-python/examples/functions/create-build.md +++ b/docs/examples/1.1.x/server-python/examples/functions/create-build.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/functions/create-deployment.md b/docs/examples/1.1.x/server-python/examples/functions/create-deployment.md index d29c43f258..859cc3745d 100644 --- a/docs/examples/1.1.x/server-python/examples/functions/create-deployment.md +++ b/docs/examples/1.1.x/server-python/examples/functions/create-deployment.md @@ -5,7 +5,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/functions/create-execution.md b/docs/examples/1.1.x/server-python/examples/functions/create-execution.md index 7c045225b3..b4476dae98 100644 --- a/docs/examples/1.1.x/server-python/examples/functions/create-execution.md +++ b/docs/examples/1.1.x/server-python/examples/functions/create-execution.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/functions/create-variable.md b/docs/examples/1.1.x/server-python/examples/functions/create-variable.md index f33ed08a71..c24fb5c825 100644 --- a/docs/examples/1.1.x/server-python/examples/functions/create-variable.md +++ b/docs/examples/1.1.x/server-python/examples/functions/create-variable.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/functions/create.md b/docs/examples/1.1.x/server-python/examples/functions/create.md index 96fd409bd3..ca8198647c 100644 --- a/docs/examples/1.1.x/server-python/examples/functions/create.md +++ b/docs/examples/1.1.x/server-python/examples/functions/create.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/functions/delete-deployment.md b/docs/examples/1.1.x/server-python/examples/functions/delete-deployment.md index 42d526eca9..2d186c10c6 100644 --- a/docs/examples/1.1.x/server-python/examples/functions/delete-deployment.md +++ b/docs/examples/1.1.x/server-python/examples/functions/delete-deployment.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/functions/delete-variable.md b/docs/examples/1.1.x/server-python/examples/functions/delete-variable.md index cae0f2df9f..d527ff09ce 100644 --- a/docs/examples/1.1.x/server-python/examples/functions/delete-variable.md +++ b/docs/examples/1.1.x/server-python/examples/functions/delete-variable.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/functions/delete.md b/docs/examples/1.1.x/server-python/examples/functions/delete.md index e89213ec7a..585e2f9b10 100644 --- a/docs/examples/1.1.x/server-python/examples/functions/delete.md +++ b/docs/examples/1.1.x/server-python/examples/functions/delete.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/functions/get-deployment.md b/docs/examples/1.1.x/server-python/examples/functions/get-deployment.md index 6257b59d2e..ccb30ccbb5 100644 --- a/docs/examples/1.1.x/server-python/examples/functions/get-deployment.md +++ b/docs/examples/1.1.x/server-python/examples/functions/get-deployment.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/functions/get-execution.md b/docs/examples/1.1.x/server-python/examples/functions/get-execution.md index f0e4f0dc67..110a760666 100644 --- a/docs/examples/1.1.x/server-python/examples/functions/get-execution.md +++ b/docs/examples/1.1.x/server-python/examples/functions/get-execution.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/functions/get-variable.md b/docs/examples/1.1.x/server-python/examples/functions/get-variable.md index 4e71bff24f..d6c445dc3f 100644 --- a/docs/examples/1.1.x/server-python/examples/functions/get-variable.md +++ b/docs/examples/1.1.x/server-python/examples/functions/get-variable.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/functions/get.md b/docs/examples/1.1.x/server-python/examples/functions/get.md index 30e1d5959a..4b1bbcf72f 100644 --- a/docs/examples/1.1.x/server-python/examples/functions/get.md +++ b/docs/examples/1.1.x/server-python/examples/functions/get.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/functions/list-deployments.md b/docs/examples/1.1.x/server-python/examples/functions/list-deployments.md index d1797a18b3..9f1eeef978 100644 --- a/docs/examples/1.1.x/server-python/examples/functions/list-deployments.md +++ b/docs/examples/1.1.x/server-python/examples/functions/list-deployments.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/functions/list-executions.md b/docs/examples/1.1.x/server-python/examples/functions/list-executions.md index d70f004478..0491ff2b3d 100644 --- a/docs/examples/1.1.x/server-python/examples/functions/list-executions.md +++ b/docs/examples/1.1.x/server-python/examples/functions/list-executions.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/functions/list-runtimes.md b/docs/examples/1.1.x/server-python/examples/functions/list-runtimes.md index 19b85e2369..6255ce3986 100644 --- a/docs/examples/1.1.x/server-python/examples/functions/list-runtimes.md +++ b/docs/examples/1.1.x/server-python/examples/functions/list-runtimes.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/functions/list-variables.md b/docs/examples/1.1.x/server-python/examples/functions/list-variables.md index 9a72bba9f8..bdaa123e0e 100644 --- a/docs/examples/1.1.x/server-python/examples/functions/list-variables.md +++ b/docs/examples/1.1.x/server-python/examples/functions/list-variables.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/functions/list.md b/docs/examples/1.1.x/server-python/examples/functions/list.md index b8442e5ade..6d05cc952c 100644 --- a/docs/examples/1.1.x/server-python/examples/functions/list.md +++ b/docs/examples/1.1.x/server-python/examples/functions/list.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/functions/update-deployment.md b/docs/examples/1.1.x/server-python/examples/functions/update-deployment.md index 87dd09710f..bb5eb869f9 100644 --- a/docs/examples/1.1.x/server-python/examples/functions/update-deployment.md +++ b/docs/examples/1.1.x/server-python/examples/functions/update-deployment.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/functions/update-variable.md b/docs/examples/1.1.x/server-python/examples/functions/update-variable.md index ab5b43abce..4c98e06807 100644 --- a/docs/examples/1.1.x/server-python/examples/functions/update-variable.md +++ b/docs/examples/1.1.x/server-python/examples/functions/update-variable.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/functions/update.md b/docs/examples/1.1.x/server-python/examples/functions/update.md index ac7730e80a..2e1d132568 100644 --- a/docs/examples/1.1.x/server-python/examples/functions/update.md +++ b/docs/examples/1.1.x/server-python/examples/functions/update.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/health/get-antivirus.md b/docs/examples/1.1.x/server-python/examples/health/get-antivirus.md index fbfaf0e52e..2837200104 100644 --- a/docs/examples/1.1.x/server-python/examples/health/get-antivirus.md +++ b/docs/examples/1.1.x/server-python/examples/health/get-antivirus.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/health/get-cache.md b/docs/examples/1.1.x/server-python/examples/health/get-cache.md index 40bc01000b..44ac2fa940 100644 --- a/docs/examples/1.1.x/server-python/examples/health/get-cache.md +++ b/docs/examples/1.1.x/server-python/examples/health/get-cache.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/health/get-d-b.md b/docs/examples/1.1.x/server-python/examples/health/get-d-b.md index 803dd73bd3..7362e83916 100644 --- a/docs/examples/1.1.x/server-python/examples/health/get-d-b.md +++ b/docs/examples/1.1.x/server-python/examples/health/get-d-b.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/health/get-queue-certificates.md b/docs/examples/1.1.x/server-python/examples/health/get-queue-certificates.md index 4fb0266d11..fed14c831a 100644 --- a/docs/examples/1.1.x/server-python/examples/health/get-queue-certificates.md +++ b/docs/examples/1.1.x/server-python/examples/health/get-queue-certificates.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/health/get-queue-functions.md b/docs/examples/1.1.x/server-python/examples/health/get-queue-functions.md index 92e4e2021d..96700cc2fd 100644 --- a/docs/examples/1.1.x/server-python/examples/health/get-queue-functions.md +++ b/docs/examples/1.1.x/server-python/examples/health/get-queue-functions.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/health/get-queue-logs.md b/docs/examples/1.1.x/server-python/examples/health/get-queue-logs.md index b798ad7332..985309b9ff 100644 --- a/docs/examples/1.1.x/server-python/examples/health/get-queue-logs.md +++ b/docs/examples/1.1.x/server-python/examples/health/get-queue-logs.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/health/get-queue-webhooks.md b/docs/examples/1.1.x/server-python/examples/health/get-queue-webhooks.md index 8406de1ff8..62da17c248 100644 --- a/docs/examples/1.1.x/server-python/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.1.x/server-python/examples/health/get-queue-webhooks.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/health/get-storage-local.md b/docs/examples/1.1.x/server-python/examples/health/get-storage-local.md index bb2533e27f..297a6a5714 100644 --- a/docs/examples/1.1.x/server-python/examples/health/get-storage-local.md +++ b/docs/examples/1.1.x/server-python/examples/health/get-storage-local.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/health/get-time.md b/docs/examples/1.1.x/server-python/examples/health/get-time.md index 9fe313dd5f..0034705ed9 100644 --- a/docs/examples/1.1.x/server-python/examples/health/get-time.md +++ b/docs/examples/1.1.x/server-python/examples/health/get-time.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/health/get.md b/docs/examples/1.1.x/server-python/examples/health/get.md index d3ff594387..118be474f3 100644 --- a/docs/examples/1.1.x/server-python/examples/health/get.md +++ b/docs/examples/1.1.x/server-python/examples/health/get.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/locale/get.md b/docs/examples/1.1.x/server-python/examples/locale/get.md index 06b04f2f63..de81e967db 100644 --- a/docs/examples/1.1.x/server-python/examples/locale/get.md +++ b/docs/examples/1.1.x/server-python/examples/locale/get.md @@ -4,7 +4,7 @@ from appwrite.services.locale import Locale client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/locale/list-continents.md b/docs/examples/1.1.x/server-python/examples/locale/list-continents.md index ba9c94f8a9..bcd150f5cd 100644 --- a/docs/examples/1.1.x/server-python/examples/locale/list-continents.md +++ b/docs/examples/1.1.x/server-python/examples/locale/list-continents.md @@ -4,7 +4,7 @@ from appwrite.services.locale import Locale client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/locale/list-countries-e-u.md b/docs/examples/1.1.x/server-python/examples/locale/list-countries-e-u.md index ea4c43cab6..2dc40cd487 100644 --- a/docs/examples/1.1.x/server-python/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.1.x/server-python/examples/locale/list-countries-e-u.md @@ -4,7 +4,7 @@ from appwrite.services.locale import Locale client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/locale/list-countries-phones.md b/docs/examples/1.1.x/server-python/examples/locale/list-countries-phones.md index 5a4cafe520..b1b0773b3f 100644 --- a/docs/examples/1.1.x/server-python/examples/locale/list-countries-phones.md +++ b/docs/examples/1.1.x/server-python/examples/locale/list-countries-phones.md @@ -4,7 +4,7 @@ from appwrite.services.locale import Locale client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/locale/list-countries.md b/docs/examples/1.1.x/server-python/examples/locale/list-countries.md index f8ec83c83e..278a039bbd 100644 --- a/docs/examples/1.1.x/server-python/examples/locale/list-countries.md +++ b/docs/examples/1.1.x/server-python/examples/locale/list-countries.md @@ -4,7 +4,7 @@ from appwrite.services.locale import Locale client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/locale/list-currencies.md b/docs/examples/1.1.x/server-python/examples/locale/list-currencies.md index 347e81c54c..077d7c393c 100644 --- a/docs/examples/1.1.x/server-python/examples/locale/list-currencies.md +++ b/docs/examples/1.1.x/server-python/examples/locale/list-currencies.md @@ -4,7 +4,7 @@ from appwrite.services.locale import Locale client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/locale/list-languages.md b/docs/examples/1.1.x/server-python/examples/locale/list-languages.md index ce50a6efe7..9cc7c8f975 100644 --- a/docs/examples/1.1.x/server-python/examples/locale/list-languages.md +++ b/docs/examples/1.1.x/server-python/examples/locale/list-languages.md @@ -4,7 +4,7 @@ from appwrite.services.locale import Locale client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/storage/create-bucket.md b/docs/examples/1.1.x/server-python/examples/storage/create-bucket.md index 72ffdccbd8..1955987f17 100644 --- a/docs/examples/1.1.x/server-python/examples/storage/create-bucket.md +++ b/docs/examples/1.1.x/server-python/examples/storage/create-bucket.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/storage/create-file.md b/docs/examples/1.1.x/server-python/examples/storage/create-file.md index b469b5bdd5..250f469290 100644 --- a/docs/examples/1.1.x/server-python/examples/storage/create-file.md +++ b/docs/examples/1.1.x/server-python/examples/storage/create-file.md @@ -5,7 +5,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/storage/delete-bucket.md b/docs/examples/1.1.x/server-python/examples/storage/delete-bucket.md index 60dc1074fd..c6c93435d0 100644 --- a/docs/examples/1.1.x/server-python/examples/storage/delete-bucket.md +++ b/docs/examples/1.1.x/server-python/examples/storage/delete-bucket.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/storage/delete-file.md b/docs/examples/1.1.x/server-python/examples/storage/delete-file.md index 9bed0af784..accf6697bf 100644 --- a/docs/examples/1.1.x/server-python/examples/storage/delete-file.md +++ b/docs/examples/1.1.x/server-python/examples/storage/delete-file.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/storage/get-bucket.md b/docs/examples/1.1.x/server-python/examples/storage/get-bucket.md index 7ea64f22aa..4fd4e70b31 100644 --- a/docs/examples/1.1.x/server-python/examples/storage/get-bucket.md +++ b/docs/examples/1.1.x/server-python/examples/storage/get-bucket.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/storage/get-file-download.md b/docs/examples/1.1.x/server-python/examples/storage/get-file-download.md index e9f5cce824..ef57f10955 100644 --- a/docs/examples/1.1.x/server-python/examples/storage/get-file-download.md +++ b/docs/examples/1.1.x/server-python/examples/storage/get-file-download.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/storage/get-file-preview.md b/docs/examples/1.1.x/server-python/examples/storage/get-file-preview.md index 4e12291f13..c7b90b9655 100644 --- a/docs/examples/1.1.x/server-python/examples/storage/get-file-preview.md +++ b/docs/examples/1.1.x/server-python/examples/storage/get-file-preview.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/storage/get-file-view.md b/docs/examples/1.1.x/server-python/examples/storage/get-file-view.md index 01cbfafd26..bd8efc6e45 100644 --- a/docs/examples/1.1.x/server-python/examples/storage/get-file-view.md +++ b/docs/examples/1.1.x/server-python/examples/storage/get-file-view.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/storage/get-file.md b/docs/examples/1.1.x/server-python/examples/storage/get-file.md index f83ed8aa61..e0013ba120 100644 --- a/docs/examples/1.1.x/server-python/examples/storage/get-file.md +++ b/docs/examples/1.1.x/server-python/examples/storage/get-file.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/storage/list-buckets.md b/docs/examples/1.1.x/server-python/examples/storage/list-buckets.md index 204fd9598c..450f876d92 100644 --- a/docs/examples/1.1.x/server-python/examples/storage/list-buckets.md +++ b/docs/examples/1.1.x/server-python/examples/storage/list-buckets.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/storage/list-files.md b/docs/examples/1.1.x/server-python/examples/storage/list-files.md index 63101e215e..05df2d0056 100644 --- a/docs/examples/1.1.x/server-python/examples/storage/list-files.md +++ b/docs/examples/1.1.x/server-python/examples/storage/list-files.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/storage/update-bucket.md b/docs/examples/1.1.x/server-python/examples/storage/update-bucket.md index fb1b76b222..f47bfa3d0e 100644 --- a/docs/examples/1.1.x/server-python/examples/storage/update-bucket.md +++ b/docs/examples/1.1.x/server-python/examples/storage/update-bucket.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/storage/update-file.md b/docs/examples/1.1.x/server-python/examples/storage/update-file.md index 24a92e36c6..3208e44d2f 100644 --- a/docs/examples/1.1.x/server-python/examples/storage/update-file.md +++ b/docs/examples/1.1.x/server-python/examples/storage/update-file.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/teams/create-membership.md b/docs/examples/1.1.x/server-python/examples/teams/create-membership.md index f020627727..ce04eeefa0 100644 --- a/docs/examples/1.1.x/server-python/examples/teams/create-membership.md +++ b/docs/examples/1.1.x/server-python/examples/teams/create-membership.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/teams/create.md b/docs/examples/1.1.x/server-python/examples/teams/create.md index c69012359f..87e76cb062 100644 --- a/docs/examples/1.1.x/server-python/examples/teams/create.md +++ b/docs/examples/1.1.x/server-python/examples/teams/create.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/teams/delete-membership.md b/docs/examples/1.1.x/server-python/examples/teams/delete-membership.md index f8d875986f..7f5e4055d1 100644 --- a/docs/examples/1.1.x/server-python/examples/teams/delete-membership.md +++ b/docs/examples/1.1.x/server-python/examples/teams/delete-membership.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/teams/delete.md b/docs/examples/1.1.x/server-python/examples/teams/delete.md index 4fc0fa44cc..651b861f03 100644 --- a/docs/examples/1.1.x/server-python/examples/teams/delete.md +++ b/docs/examples/1.1.x/server-python/examples/teams/delete.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/teams/get-membership.md b/docs/examples/1.1.x/server-python/examples/teams/get-membership.md index e9c62ae3e3..3c351b16f7 100644 --- a/docs/examples/1.1.x/server-python/examples/teams/get-membership.md +++ b/docs/examples/1.1.x/server-python/examples/teams/get-membership.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/teams/get.md b/docs/examples/1.1.x/server-python/examples/teams/get.md index fdca2fc28f..32100ad47f 100644 --- a/docs/examples/1.1.x/server-python/examples/teams/get.md +++ b/docs/examples/1.1.x/server-python/examples/teams/get.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/teams/list-memberships.md b/docs/examples/1.1.x/server-python/examples/teams/list-memberships.md index 63e662a7a6..5001ae3e8a 100644 --- a/docs/examples/1.1.x/server-python/examples/teams/list-memberships.md +++ b/docs/examples/1.1.x/server-python/examples/teams/list-memberships.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/teams/list.md b/docs/examples/1.1.x/server-python/examples/teams/list.md index e60cb60dab..5a73d32766 100644 --- a/docs/examples/1.1.x/server-python/examples/teams/list.md +++ b/docs/examples/1.1.x/server-python/examples/teams/list.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/teams/update-membership-roles.md b/docs/examples/1.1.x/server-python/examples/teams/update-membership-roles.md index dcfd7a4e55..e161a33d5c 100644 --- a/docs/examples/1.1.x/server-python/examples/teams/update-membership-roles.md +++ b/docs/examples/1.1.x/server-python/examples/teams/update-membership-roles.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/teams/update-membership-status.md b/docs/examples/1.1.x/server-python/examples/teams/update-membership-status.md index a6cd4cd45f..f35f8f7792 100644 --- a/docs/examples/1.1.x/server-python/examples/teams/update-membership-status.md +++ b/docs/examples/1.1.x/server-python/examples/teams/update-membership-status.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.1.x/server-python/examples/teams/update.md b/docs/examples/1.1.x/server-python/examples/teams/update.md index cabd1496c4..6cfbcb069f 100644 --- a/docs/examples/1.1.x/server-python/examples/teams/update.md +++ b/docs/examples/1.1.x/server-python/examples/teams/update.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/users/create-argon2user.md b/docs/examples/1.1.x/server-python/examples/users/create-argon2user.md index be1e8cef36..6314988132 100644 --- a/docs/examples/1.1.x/server-python/examples/users/create-argon2user.md +++ b/docs/examples/1.1.x/server-python/examples/users/create-argon2user.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/users/create-bcrypt-user.md b/docs/examples/1.1.x/server-python/examples/users/create-bcrypt-user.md index 77c9918879..32632b9c1d 100644 --- a/docs/examples/1.1.x/server-python/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.1.x/server-python/examples/users/create-bcrypt-user.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/users/create-m-d5user.md b/docs/examples/1.1.x/server-python/examples/users/create-m-d5user.md index f3ab3f8418..d2ecc0cc0b 100644 --- a/docs/examples/1.1.x/server-python/examples/users/create-m-d5user.md +++ b/docs/examples/1.1.x/server-python/examples/users/create-m-d5user.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/users/create-p-h-pass-user.md b/docs/examples/1.1.x/server-python/examples/users/create-p-h-pass-user.md index e715f47c14..7f4c6bcfd6 100644 --- a/docs/examples/1.1.x/server-python/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.1.x/server-python/examples/users/create-p-h-pass-user.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/users/create-s-h-a-user.md b/docs/examples/1.1.x/server-python/examples/users/create-s-h-a-user.md index 2a2db5a673..17e4209ae7 100644 --- a/docs/examples/1.1.x/server-python/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.1.x/server-python/examples/users/create-s-h-a-user.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/users/create-scrypt-modified-user.md b/docs/examples/1.1.x/server-python/examples/users/create-scrypt-modified-user.md index 0b42e98dc7..64b54170ae 100644 --- a/docs/examples/1.1.x/server-python/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.1.x/server-python/examples/users/create-scrypt-modified-user.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/users/create-scrypt-user.md b/docs/examples/1.1.x/server-python/examples/users/create-scrypt-user.md index b445623018..9a934d5cae 100644 --- a/docs/examples/1.1.x/server-python/examples/users/create-scrypt-user.md +++ b/docs/examples/1.1.x/server-python/examples/users/create-scrypt-user.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/users/create.md b/docs/examples/1.1.x/server-python/examples/users/create.md index 05249c08ea..657449e3b1 100644 --- a/docs/examples/1.1.x/server-python/examples/users/create.md +++ b/docs/examples/1.1.x/server-python/examples/users/create.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/users/delete-session.md b/docs/examples/1.1.x/server-python/examples/users/delete-session.md index 26b041db1d..baba61e58b 100644 --- a/docs/examples/1.1.x/server-python/examples/users/delete-session.md +++ b/docs/examples/1.1.x/server-python/examples/users/delete-session.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/users/delete-sessions.md b/docs/examples/1.1.x/server-python/examples/users/delete-sessions.md index dabe4f627d..0c7f38ba8e 100644 --- a/docs/examples/1.1.x/server-python/examples/users/delete-sessions.md +++ b/docs/examples/1.1.x/server-python/examples/users/delete-sessions.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/users/delete.md b/docs/examples/1.1.x/server-python/examples/users/delete.md index 7fdc77576b..4a21cab6fd 100644 --- a/docs/examples/1.1.x/server-python/examples/users/delete.md +++ b/docs/examples/1.1.x/server-python/examples/users/delete.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/users/get-prefs.md b/docs/examples/1.1.x/server-python/examples/users/get-prefs.md index 2bbaa88c59..bf325a4fda 100644 --- a/docs/examples/1.1.x/server-python/examples/users/get-prefs.md +++ b/docs/examples/1.1.x/server-python/examples/users/get-prefs.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/users/get.md b/docs/examples/1.1.x/server-python/examples/users/get.md index 463957d394..7491d3db17 100644 --- a/docs/examples/1.1.x/server-python/examples/users/get.md +++ b/docs/examples/1.1.x/server-python/examples/users/get.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/users/list-logs.md b/docs/examples/1.1.x/server-python/examples/users/list-logs.md index ca3a5eb815..84dc775e04 100644 --- a/docs/examples/1.1.x/server-python/examples/users/list-logs.md +++ b/docs/examples/1.1.x/server-python/examples/users/list-logs.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/users/list-memberships.md b/docs/examples/1.1.x/server-python/examples/users/list-memberships.md index 0dfb97afce..d091789b8b 100644 --- a/docs/examples/1.1.x/server-python/examples/users/list-memberships.md +++ b/docs/examples/1.1.x/server-python/examples/users/list-memberships.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/users/list-sessions.md b/docs/examples/1.1.x/server-python/examples/users/list-sessions.md index 5f8fbd68ea..75e3383a14 100644 --- a/docs/examples/1.1.x/server-python/examples/users/list-sessions.md +++ b/docs/examples/1.1.x/server-python/examples/users/list-sessions.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/users/list.md b/docs/examples/1.1.x/server-python/examples/users/list.md index baaf42c574..1f82be4b74 100644 --- a/docs/examples/1.1.x/server-python/examples/users/list.md +++ b/docs/examples/1.1.x/server-python/examples/users/list.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/users/update-email-verification.md b/docs/examples/1.1.x/server-python/examples/users/update-email-verification.md index 8be33ad97f..2828171035 100644 --- a/docs/examples/1.1.x/server-python/examples/users/update-email-verification.md +++ b/docs/examples/1.1.x/server-python/examples/users/update-email-verification.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/users/update-email.md b/docs/examples/1.1.x/server-python/examples/users/update-email.md index 4899bd3936..370fedf8c4 100644 --- a/docs/examples/1.1.x/server-python/examples/users/update-email.md +++ b/docs/examples/1.1.x/server-python/examples/users/update-email.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/users/update-name.md b/docs/examples/1.1.x/server-python/examples/users/update-name.md index 66bb6b2920..e8411d203b 100644 --- a/docs/examples/1.1.x/server-python/examples/users/update-name.md +++ b/docs/examples/1.1.x/server-python/examples/users/update-name.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/users/update-password.md b/docs/examples/1.1.x/server-python/examples/users/update-password.md index bf24c1ca9a..2f0091d0f6 100644 --- a/docs/examples/1.1.x/server-python/examples/users/update-password.md +++ b/docs/examples/1.1.x/server-python/examples/users/update-password.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/users/update-phone-verification.md b/docs/examples/1.1.x/server-python/examples/users/update-phone-verification.md index e42317ca30..e2d69ef2fc 100644 --- a/docs/examples/1.1.x/server-python/examples/users/update-phone-verification.md +++ b/docs/examples/1.1.x/server-python/examples/users/update-phone-verification.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/users/update-phone.md b/docs/examples/1.1.x/server-python/examples/users/update-phone.md index 6df39fc994..b6165469e8 100644 --- a/docs/examples/1.1.x/server-python/examples/users/update-phone.md +++ b/docs/examples/1.1.x/server-python/examples/users/update-phone.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/users/update-prefs.md b/docs/examples/1.1.x/server-python/examples/users/update-prefs.md index 53d1e524e2..432b9da023 100644 --- a/docs/examples/1.1.x/server-python/examples/users/update-prefs.md +++ b/docs/examples/1.1.x/server-python/examples/users/update-prefs.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-python/examples/users/update-status.md b/docs/examples/1.1.x/server-python/examples/users/update-status.md index 6d1577d401..2afab7539f 100644 --- a/docs/examples/1.1.x/server-python/examples/users/update-status.md +++ b/docs/examples/1.1.x/server-python/examples/users/update-status.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.1.x/server-ruby/examples/account/create-phone-verification.md b/docs/examples/1.1.x/server-ruby/examples/account/create-phone-verification.md index 7ec0a1c0c9..9ea5aa170c 100644 --- a/docs/examples/1.1.x/server-ruby/examples/account/create-phone-verification.md +++ b/docs/examples/1.1.x/server-ruby/examples/account/create-phone-verification.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-ruby/examples/account/create-recovery.md b/docs/examples/1.1.x/server-ruby/examples/account/create-recovery.md index 5c6d13c724..dfa4038915 100644 --- a/docs/examples/1.1.x/server-ruby/examples/account/create-recovery.md +++ b/docs/examples/1.1.x/server-ruby/examples/account/create-recovery.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-ruby/examples/account/create-verification.md b/docs/examples/1.1.x/server-ruby/examples/account/create-verification.md index dcd9722e47..37b838f4d2 100644 --- a/docs/examples/1.1.x/server-ruby/examples/account/create-verification.md +++ b/docs/examples/1.1.x/server-ruby/examples/account/create-verification.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-ruby/examples/account/delete-session.md b/docs/examples/1.1.x/server-ruby/examples/account/delete-session.md index 3357b2ba20..788b1d0dc1 100644 --- a/docs/examples/1.1.x/server-ruby/examples/account/delete-session.md +++ b/docs/examples/1.1.x/server-ruby/examples/account/delete-session.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-ruby/examples/account/delete-sessions.md b/docs/examples/1.1.x/server-ruby/examples/account/delete-sessions.md index b218a536db..fecb93ca76 100644 --- a/docs/examples/1.1.x/server-ruby/examples/account/delete-sessions.md +++ b/docs/examples/1.1.x/server-ruby/examples/account/delete-sessions.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-ruby/examples/account/get-prefs.md b/docs/examples/1.1.x/server-ruby/examples/account/get-prefs.md index 24092b922b..9870af6340 100644 --- a/docs/examples/1.1.x/server-ruby/examples/account/get-prefs.md +++ b/docs/examples/1.1.x/server-ruby/examples/account/get-prefs.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-ruby/examples/account/get-session.md b/docs/examples/1.1.x/server-ruby/examples/account/get-session.md index 2a8209031d..09946ae001 100644 --- a/docs/examples/1.1.x/server-ruby/examples/account/get-session.md +++ b/docs/examples/1.1.x/server-ruby/examples/account/get-session.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-ruby/examples/account/get.md b/docs/examples/1.1.x/server-ruby/examples/account/get.md index 61237b2215..616316ca8c 100644 --- a/docs/examples/1.1.x/server-ruby/examples/account/get.md +++ b/docs/examples/1.1.x/server-ruby/examples/account/get.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-ruby/examples/account/list-logs.md b/docs/examples/1.1.x/server-ruby/examples/account/list-logs.md index 8a08eb96be..22e23f38ee 100644 --- a/docs/examples/1.1.x/server-ruby/examples/account/list-logs.md +++ b/docs/examples/1.1.x/server-ruby/examples/account/list-logs.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-ruby/examples/account/list-sessions.md b/docs/examples/1.1.x/server-ruby/examples/account/list-sessions.md index a6bcb6816d..9e267c659d 100644 --- a/docs/examples/1.1.x/server-ruby/examples/account/list-sessions.md +++ b/docs/examples/1.1.x/server-ruby/examples/account/list-sessions.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-ruby/examples/account/update-email.md b/docs/examples/1.1.x/server-ruby/examples/account/update-email.md index cd2e10cbbe..1a871d2790 100644 --- a/docs/examples/1.1.x/server-ruby/examples/account/update-email.md +++ b/docs/examples/1.1.x/server-ruby/examples/account/update-email.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-ruby/examples/account/update-name.md b/docs/examples/1.1.x/server-ruby/examples/account/update-name.md index 2685e88cf6..f7a2bec787 100644 --- a/docs/examples/1.1.x/server-ruby/examples/account/update-name.md +++ b/docs/examples/1.1.x/server-ruby/examples/account/update-name.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-ruby/examples/account/update-password.md b/docs/examples/1.1.x/server-ruby/examples/account/update-password.md index 3ee4ed98f7..dbd46a0298 100644 --- a/docs/examples/1.1.x/server-ruby/examples/account/update-password.md +++ b/docs/examples/1.1.x/server-ruby/examples/account/update-password.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-ruby/examples/account/update-phone-verification.md b/docs/examples/1.1.x/server-ruby/examples/account/update-phone-verification.md index 103b32c00d..6a0345a6f6 100644 --- a/docs/examples/1.1.x/server-ruby/examples/account/update-phone-verification.md +++ b/docs/examples/1.1.x/server-ruby/examples/account/update-phone-verification.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-ruby/examples/account/update-phone.md b/docs/examples/1.1.x/server-ruby/examples/account/update-phone.md index 377c578dea..aa6dc9804c 100644 --- a/docs/examples/1.1.x/server-ruby/examples/account/update-phone.md +++ b/docs/examples/1.1.x/server-ruby/examples/account/update-phone.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-ruby/examples/account/update-prefs.md b/docs/examples/1.1.x/server-ruby/examples/account/update-prefs.md index 338a9704f1..1e0f9c836c 100644 --- a/docs/examples/1.1.x/server-ruby/examples/account/update-prefs.md +++ b/docs/examples/1.1.x/server-ruby/examples/account/update-prefs.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-ruby/examples/account/update-recovery.md b/docs/examples/1.1.x/server-ruby/examples/account/update-recovery.md index fa901de857..357bfa9d1d 100644 --- a/docs/examples/1.1.x/server-ruby/examples/account/update-recovery.md +++ b/docs/examples/1.1.x/server-ruby/examples/account/update-recovery.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-ruby/examples/account/update-session.md b/docs/examples/1.1.x/server-ruby/examples/account/update-session.md index 31dde2e94f..2de00124c6 100644 --- a/docs/examples/1.1.x/server-ruby/examples/account/update-session.md +++ b/docs/examples/1.1.x/server-ruby/examples/account/update-session.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-ruby/examples/account/update-status.md b/docs/examples/1.1.x/server-ruby/examples/account/update-status.md index ea7a3857b5..f0e73d13d5 100644 --- a/docs/examples/1.1.x/server-ruby/examples/account/update-status.md +++ b/docs/examples/1.1.x/server-ruby/examples/account/update-status.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-ruby/examples/account/update-verification.md b/docs/examples/1.1.x/server-ruby/examples/account/update-verification.md index b8f674ec77..32d4c79de0 100644 --- a/docs/examples/1.1.x/server-ruby/examples/account/update-verification.md +++ b/docs/examples/1.1.x/server-ruby/examples/account/update-verification.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-ruby/examples/avatars/get-browser.md b/docs/examples/1.1.x/server-ruby/examples/avatars/get-browser.md index 2a66b46b92..11fa186f0e 100644 --- a/docs/examples/1.1.x/server-ruby/examples/avatars/get-browser.md +++ b/docs/examples/1.1.x/server-ruby/examples/avatars/get-browser.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/avatars/get-credit-card.md b/docs/examples/1.1.x/server-ruby/examples/avatars/get-credit-card.md index d5bcaa824f..47c8dc8e07 100644 --- a/docs/examples/1.1.x/server-ruby/examples/avatars/get-credit-card.md +++ b/docs/examples/1.1.x/server-ruby/examples/avatars/get-credit-card.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/avatars/get-favicon.md b/docs/examples/1.1.x/server-ruby/examples/avatars/get-favicon.md index c995fb2036..48263bc19d 100644 --- a/docs/examples/1.1.x/server-ruby/examples/avatars/get-favicon.md +++ b/docs/examples/1.1.x/server-ruby/examples/avatars/get-favicon.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/avatars/get-flag.md b/docs/examples/1.1.x/server-ruby/examples/avatars/get-flag.md index 7633756425..17e2cfb053 100644 --- a/docs/examples/1.1.x/server-ruby/examples/avatars/get-flag.md +++ b/docs/examples/1.1.x/server-ruby/examples/avatars/get-flag.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/avatars/get-image.md b/docs/examples/1.1.x/server-ruby/examples/avatars/get-image.md index 4ea52a60e4..168cc78d47 100644 --- a/docs/examples/1.1.x/server-ruby/examples/avatars/get-image.md +++ b/docs/examples/1.1.x/server-ruby/examples/avatars/get-image.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/avatars/get-initials.md b/docs/examples/1.1.x/server-ruby/examples/avatars/get-initials.md index 62a8ff855d..c621832069 100644 --- a/docs/examples/1.1.x/server-ruby/examples/avatars/get-initials.md +++ b/docs/examples/1.1.x/server-ruby/examples/avatars/get-initials.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/avatars/get-q-r.md b/docs/examples/1.1.x/server-ruby/examples/avatars/get-q-r.md index 03a1f14aa9..93b91d13ea 100644 --- a/docs/examples/1.1.x/server-ruby/examples/avatars/get-q-r.md +++ b/docs/examples/1.1.x/server-ruby/examples/avatars/get-q-r.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/databases/create-boolean-attribute.md b/docs/examples/1.1.x/server-ruby/examples/databases/create-boolean-attribute.md index d617d8e322..17f0467cb1 100644 --- a/docs/examples/1.1.x/server-ruby/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.1.x/server-ruby/examples/databases/create-boolean-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/databases/create-collection.md b/docs/examples/1.1.x/server-ruby/examples/databases/create-collection.md index d27e43ad66..d0c87c6433 100644 --- a/docs/examples/1.1.x/server-ruby/examples/databases/create-collection.md +++ b/docs/examples/1.1.x/server-ruby/examples/databases/create-collection.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/databases/create-datetime-attribute.md b/docs/examples/1.1.x/server-ruby/examples/databases/create-datetime-attribute.md index 127d2ac2d7..2aebb09856 100644 --- a/docs/examples/1.1.x/server-ruby/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.1.x/server-ruby/examples/databases/create-datetime-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/databases/create-document.md b/docs/examples/1.1.x/server-ruby/examples/databases/create-document.md index 8177fc4b3b..e6d1249721 100644 --- a/docs/examples/1.1.x/server-ruby/examples/databases/create-document.md +++ b/docs/examples/1.1.x/server-ruby/examples/databases/create-document.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/databases/create-email-attribute.md b/docs/examples/1.1.x/server-ruby/examples/databases/create-email-attribute.md index c7e1aac86b..38047e524d 100644 --- a/docs/examples/1.1.x/server-ruby/examples/databases/create-email-attribute.md +++ b/docs/examples/1.1.x/server-ruby/examples/databases/create-email-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/databases/create-enum-attribute.md b/docs/examples/1.1.x/server-ruby/examples/databases/create-enum-attribute.md index 36f8ee06d4..1fe0f0c689 100644 --- a/docs/examples/1.1.x/server-ruby/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.1.x/server-ruby/examples/databases/create-enum-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/databases/create-float-attribute.md b/docs/examples/1.1.x/server-ruby/examples/databases/create-float-attribute.md index 771d281ccf..6da9f12cae 100644 --- a/docs/examples/1.1.x/server-ruby/examples/databases/create-float-attribute.md +++ b/docs/examples/1.1.x/server-ruby/examples/databases/create-float-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/databases/create-index.md b/docs/examples/1.1.x/server-ruby/examples/databases/create-index.md index 5488e36f74..68fccf90ca 100644 --- a/docs/examples/1.1.x/server-ruby/examples/databases/create-index.md +++ b/docs/examples/1.1.x/server-ruby/examples/databases/create-index.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/databases/create-integer-attribute.md b/docs/examples/1.1.x/server-ruby/examples/databases/create-integer-attribute.md index 40649c25f8..d17eef4f46 100644 --- a/docs/examples/1.1.x/server-ruby/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.1.x/server-ruby/examples/databases/create-integer-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/databases/create-ip-attribute.md b/docs/examples/1.1.x/server-ruby/examples/databases/create-ip-attribute.md index ef9e0feba5..c0daf8a4ae 100644 --- a/docs/examples/1.1.x/server-ruby/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.1.x/server-ruby/examples/databases/create-ip-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/databases/create-string-attribute.md b/docs/examples/1.1.x/server-ruby/examples/databases/create-string-attribute.md index 9901c84b02..4b4c95b7c1 100644 --- a/docs/examples/1.1.x/server-ruby/examples/databases/create-string-attribute.md +++ b/docs/examples/1.1.x/server-ruby/examples/databases/create-string-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/databases/create-url-attribute.md b/docs/examples/1.1.x/server-ruby/examples/databases/create-url-attribute.md index 475421fe53..03486d7695 100644 --- a/docs/examples/1.1.x/server-ruby/examples/databases/create-url-attribute.md +++ b/docs/examples/1.1.x/server-ruby/examples/databases/create-url-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/databases/create.md b/docs/examples/1.1.x/server-ruby/examples/databases/create.md index 1ce19d3125..8054c37fef 100644 --- a/docs/examples/1.1.x/server-ruby/examples/databases/create.md +++ b/docs/examples/1.1.x/server-ruby/examples/databases/create.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/databases/delete-attribute.md b/docs/examples/1.1.x/server-ruby/examples/databases/delete-attribute.md index ae2e32d8bd..5501315152 100644 --- a/docs/examples/1.1.x/server-ruby/examples/databases/delete-attribute.md +++ b/docs/examples/1.1.x/server-ruby/examples/databases/delete-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/databases/delete-collection.md b/docs/examples/1.1.x/server-ruby/examples/databases/delete-collection.md index f118667b6e..779865a67e 100644 --- a/docs/examples/1.1.x/server-ruby/examples/databases/delete-collection.md +++ b/docs/examples/1.1.x/server-ruby/examples/databases/delete-collection.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/databases/delete-document.md b/docs/examples/1.1.x/server-ruby/examples/databases/delete-document.md index 0b7baa89ed..b83d2a38a8 100644 --- a/docs/examples/1.1.x/server-ruby/examples/databases/delete-document.md +++ b/docs/examples/1.1.x/server-ruby/examples/databases/delete-document.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/databases/delete-index.md b/docs/examples/1.1.x/server-ruby/examples/databases/delete-index.md index 829e606135..fb30a95c64 100644 --- a/docs/examples/1.1.x/server-ruby/examples/databases/delete-index.md +++ b/docs/examples/1.1.x/server-ruby/examples/databases/delete-index.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/databases/delete.md b/docs/examples/1.1.x/server-ruby/examples/databases/delete.md index 7e0c4211f1..beeca37e8a 100644 --- a/docs/examples/1.1.x/server-ruby/examples/databases/delete.md +++ b/docs/examples/1.1.x/server-ruby/examples/databases/delete.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/databases/get-attribute.md b/docs/examples/1.1.x/server-ruby/examples/databases/get-attribute.md index 525c8f14cd..653a428054 100644 --- a/docs/examples/1.1.x/server-ruby/examples/databases/get-attribute.md +++ b/docs/examples/1.1.x/server-ruby/examples/databases/get-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/databases/get-collection.md b/docs/examples/1.1.x/server-ruby/examples/databases/get-collection.md index 897e40d109..b3251fb7a6 100644 --- a/docs/examples/1.1.x/server-ruby/examples/databases/get-collection.md +++ b/docs/examples/1.1.x/server-ruby/examples/databases/get-collection.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/databases/get-document.md b/docs/examples/1.1.x/server-ruby/examples/databases/get-document.md index d5853aba56..9a4e9b7c01 100644 --- a/docs/examples/1.1.x/server-ruby/examples/databases/get-document.md +++ b/docs/examples/1.1.x/server-ruby/examples/databases/get-document.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/databases/get-index.md b/docs/examples/1.1.x/server-ruby/examples/databases/get-index.md index 3217507541..1f7d3b6155 100644 --- a/docs/examples/1.1.x/server-ruby/examples/databases/get-index.md +++ b/docs/examples/1.1.x/server-ruby/examples/databases/get-index.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/databases/get.md b/docs/examples/1.1.x/server-ruby/examples/databases/get.md index ced51d6ad1..93b171122f 100644 --- a/docs/examples/1.1.x/server-ruby/examples/databases/get.md +++ b/docs/examples/1.1.x/server-ruby/examples/databases/get.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/databases/list-attributes.md b/docs/examples/1.1.x/server-ruby/examples/databases/list-attributes.md index 1b57bda217..5a07c9a635 100644 --- a/docs/examples/1.1.x/server-ruby/examples/databases/list-attributes.md +++ b/docs/examples/1.1.x/server-ruby/examples/databases/list-attributes.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/databases/list-collections.md b/docs/examples/1.1.x/server-ruby/examples/databases/list-collections.md index 3d646c47e7..c707b3faf7 100644 --- a/docs/examples/1.1.x/server-ruby/examples/databases/list-collections.md +++ b/docs/examples/1.1.x/server-ruby/examples/databases/list-collections.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/databases/list-documents.md b/docs/examples/1.1.x/server-ruby/examples/databases/list-documents.md index 6f57bb150c..da14516505 100644 --- a/docs/examples/1.1.x/server-ruby/examples/databases/list-documents.md +++ b/docs/examples/1.1.x/server-ruby/examples/databases/list-documents.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/databases/list-indexes.md b/docs/examples/1.1.x/server-ruby/examples/databases/list-indexes.md index d64b3bfc68..c6d42be1ea 100644 --- a/docs/examples/1.1.x/server-ruby/examples/databases/list-indexes.md +++ b/docs/examples/1.1.x/server-ruby/examples/databases/list-indexes.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/databases/list.md b/docs/examples/1.1.x/server-ruby/examples/databases/list.md index 84baa108a3..628f44c7fc 100644 --- a/docs/examples/1.1.x/server-ruby/examples/databases/list.md +++ b/docs/examples/1.1.x/server-ruby/examples/databases/list.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/databases/update-collection.md b/docs/examples/1.1.x/server-ruby/examples/databases/update-collection.md index eee4058531..ab421153cc 100644 --- a/docs/examples/1.1.x/server-ruby/examples/databases/update-collection.md +++ b/docs/examples/1.1.x/server-ruby/examples/databases/update-collection.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/databases/update-document.md b/docs/examples/1.1.x/server-ruby/examples/databases/update-document.md index dbe1b0d71a..0b5b2a07ca 100644 --- a/docs/examples/1.1.x/server-ruby/examples/databases/update-document.md +++ b/docs/examples/1.1.x/server-ruby/examples/databases/update-document.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/databases/update.md b/docs/examples/1.1.x/server-ruby/examples/databases/update.md index 0900ab3428..9e67595cbc 100644 --- a/docs/examples/1.1.x/server-ruby/examples/databases/update.md +++ b/docs/examples/1.1.x/server-ruby/examples/databases/update.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/functions/create-build.md b/docs/examples/1.1.x/server-ruby/examples/functions/create-build.md index 9c7397bf26..6c9ad31fd0 100644 --- a/docs/examples/1.1.x/server-ruby/examples/functions/create-build.md +++ b/docs/examples/1.1.x/server-ruby/examples/functions/create-build.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/functions/create-deployment.md b/docs/examples/1.1.x/server-ruby/examples/functions/create-deployment.md index 734625f449..4cb56c9ad8 100644 --- a/docs/examples/1.1.x/server-ruby/examples/functions/create-deployment.md +++ b/docs/examples/1.1.x/server-ruby/examples/functions/create-deployment.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/functions/create-execution.md b/docs/examples/1.1.x/server-ruby/examples/functions/create-execution.md index 97f4d74ba1..3dc5e844e7 100644 --- a/docs/examples/1.1.x/server-ruby/examples/functions/create-execution.md +++ b/docs/examples/1.1.x/server-ruby/examples/functions/create-execution.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/functions/create-variable.md b/docs/examples/1.1.x/server-ruby/examples/functions/create-variable.md index 003fb4743a..1340c1a379 100644 --- a/docs/examples/1.1.x/server-ruby/examples/functions/create-variable.md +++ b/docs/examples/1.1.x/server-ruby/examples/functions/create-variable.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/functions/create.md b/docs/examples/1.1.x/server-ruby/examples/functions/create.md index 414f11297d..dbf3425922 100644 --- a/docs/examples/1.1.x/server-ruby/examples/functions/create.md +++ b/docs/examples/1.1.x/server-ruby/examples/functions/create.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/functions/delete-deployment.md b/docs/examples/1.1.x/server-ruby/examples/functions/delete-deployment.md index 64feea1370..00c85f50a1 100644 --- a/docs/examples/1.1.x/server-ruby/examples/functions/delete-deployment.md +++ b/docs/examples/1.1.x/server-ruby/examples/functions/delete-deployment.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/functions/delete-variable.md b/docs/examples/1.1.x/server-ruby/examples/functions/delete-variable.md index 598e694141..191796186d 100644 --- a/docs/examples/1.1.x/server-ruby/examples/functions/delete-variable.md +++ b/docs/examples/1.1.x/server-ruby/examples/functions/delete-variable.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/functions/delete.md b/docs/examples/1.1.x/server-ruby/examples/functions/delete.md index 48ea5c7a73..c96a2621e6 100644 --- a/docs/examples/1.1.x/server-ruby/examples/functions/delete.md +++ b/docs/examples/1.1.x/server-ruby/examples/functions/delete.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/functions/get-deployment.md b/docs/examples/1.1.x/server-ruby/examples/functions/get-deployment.md index c19163e7f5..fa1bbc08be 100644 --- a/docs/examples/1.1.x/server-ruby/examples/functions/get-deployment.md +++ b/docs/examples/1.1.x/server-ruby/examples/functions/get-deployment.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/functions/get-execution.md b/docs/examples/1.1.x/server-ruby/examples/functions/get-execution.md index 3deee91574..52e46af41a 100644 --- a/docs/examples/1.1.x/server-ruby/examples/functions/get-execution.md +++ b/docs/examples/1.1.x/server-ruby/examples/functions/get-execution.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/functions/get-variable.md b/docs/examples/1.1.x/server-ruby/examples/functions/get-variable.md index 835fc30d81..b023e3653b 100644 --- a/docs/examples/1.1.x/server-ruby/examples/functions/get-variable.md +++ b/docs/examples/1.1.x/server-ruby/examples/functions/get-variable.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/functions/get.md b/docs/examples/1.1.x/server-ruby/examples/functions/get.md index cfcf8411e5..76897965e5 100644 --- a/docs/examples/1.1.x/server-ruby/examples/functions/get.md +++ b/docs/examples/1.1.x/server-ruby/examples/functions/get.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/functions/list-deployments.md b/docs/examples/1.1.x/server-ruby/examples/functions/list-deployments.md index 539301c4bb..5ec1f5ba31 100644 --- a/docs/examples/1.1.x/server-ruby/examples/functions/list-deployments.md +++ b/docs/examples/1.1.x/server-ruby/examples/functions/list-deployments.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/functions/list-executions.md b/docs/examples/1.1.x/server-ruby/examples/functions/list-executions.md index c0c1f46cf1..797817ad4f 100644 --- a/docs/examples/1.1.x/server-ruby/examples/functions/list-executions.md +++ b/docs/examples/1.1.x/server-ruby/examples/functions/list-executions.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/functions/list-runtimes.md b/docs/examples/1.1.x/server-ruby/examples/functions/list-runtimes.md index b679da2d8b..b5fd2b0aaf 100644 --- a/docs/examples/1.1.x/server-ruby/examples/functions/list-runtimes.md +++ b/docs/examples/1.1.x/server-ruby/examples/functions/list-runtimes.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/functions/list-variables.md b/docs/examples/1.1.x/server-ruby/examples/functions/list-variables.md index 4e5bfab891..196fcfe3cd 100644 --- a/docs/examples/1.1.x/server-ruby/examples/functions/list-variables.md +++ b/docs/examples/1.1.x/server-ruby/examples/functions/list-variables.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/functions/list.md b/docs/examples/1.1.x/server-ruby/examples/functions/list.md index 2cc71a5c04..bf27f73cf9 100644 --- a/docs/examples/1.1.x/server-ruby/examples/functions/list.md +++ b/docs/examples/1.1.x/server-ruby/examples/functions/list.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/functions/update-deployment.md b/docs/examples/1.1.x/server-ruby/examples/functions/update-deployment.md index c9d9f49d63..a9f039cfc6 100644 --- a/docs/examples/1.1.x/server-ruby/examples/functions/update-deployment.md +++ b/docs/examples/1.1.x/server-ruby/examples/functions/update-deployment.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/functions/update-variable.md b/docs/examples/1.1.x/server-ruby/examples/functions/update-variable.md index 28d7651a46..3418454c27 100644 --- a/docs/examples/1.1.x/server-ruby/examples/functions/update-variable.md +++ b/docs/examples/1.1.x/server-ruby/examples/functions/update-variable.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/functions/update.md b/docs/examples/1.1.x/server-ruby/examples/functions/update.md index 4bb1f2195d..02e11b5075 100644 --- a/docs/examples/1.1.x/server-ruby/examples/functions/update.md +++ b/docs/examples/1.1.x/server-ruby/examples/functions/update.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/health/get-antivirus.md b/docs/examples/1.1.x/server-ruby/examples/health/get-antivirus.md index b1f16bb0b9..32646a5a0b 100644 --- a/docs/examples/1.1.x/server-ruby/examples/health/get-antivirus.md +++ b/docs/examples/1.1.x/server-ruby/examples/health/get-antivirus.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/health/get-cache.md b/docs/examples/1.1.x/server-ruby/examples/health/get-cache.md index 4fb77ec68d..a4b43daf92 100644 --- a/docs/examples/1.1.x/server-ruby/examples/health/get-cache.md +++ b/docs/examples/1.1.x/server-ruby/examples/health/get-cache.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/health/get-d-b.md b/docs/examples/1.1.x/server-ruby/examples/health/get-d-b.md index 3317acd6fa..6b42bbaf6a 100644 --- a/docs/examples/1.1.x/server-ruby/examples/health/get-d-b.md +++ b/docs/examples/1.1.x/server-ruby/examples/health/get-d-b.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/health/get-queue-certificates.md b/docs/examples/1.1.x/server-ruby/examples/health/get-queue-certificates.md index a4c5c7016b..915731e056 100644 --- a/docs/examples/1.1.x/server-ruby/examples/health/get-queue-certificates.md +++ b/docs/examples/1.1.x/server-ruby/examples/health/get-queue-certificates.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/health/get-queue-functions.md b/docs/examples/1.1.x/server-ruby/examples/health/get-queue-functions.md index 8edb310a5e..ea585cacb7 100644 --- a/docs/examples/1.1.x/server-ruby/examples/health/get-queue-functions.md +++ b/docs/examples/1.1.x/server-ruby/examples/health/get-queue-functions.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/health/get-queue-logs.md b/docs/examples/1.1.x/server-ruby/examples/health/get-queue-logs.md index 74823fcd6c..253419c8bd 100644 --- a/docs/examples/1.1.x/server-ruby/examples/health/get-queue-logs.md +++ b/docs/examples/1.1.x/server-ruby/examples/health/get-queue-logs.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/health/get-queue-webhooks.md b/docs/examples/1.1.x/server-ruby/examples/health/get-queue-webhooks.md index 53b7f33cfe..1902a930c8 100644 --- a/docs/examples/1.1.x/server-ruby/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.1.x/server-ruby/examples/health/get-queue-webhooks.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/health/get-storage-local.md b/docs/examples/1.1.x/server-ruby/examples/health/get-storage-local.md index 3a85bd3e12..293c866762 100644 --- a/docs/examples/1.1.x/server-ruby/examples/health/get-storage-local.md +++ b/docs/examples/1.1.x/server-ruby/examples/health/get-storage-local.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/health/get-time.md b/docs/examples/1.1.x/server-ruby/examples/health/get-time.md index 9956a33d1f..e19bf05e79 100644 --- a/docs/examples/1.1.x/server-ruby/examples/health/get-time.md +++ b/docs/examples/1.1.x/server-ruby/examples/health/get-time.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/health/get.md b/docs/examples/1.1.x/server-ruby/examples/health/get.md index d23a9ad675..07fc372f3b 100644 --- a/docs/examples/1.1.x/server-ruby/examples/health/get.md +++ b/docs/examples/1.1.x/server-ruby/examples/health/get.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/locale/get.md b/docs/examples/1.1.x/server-ruby/examples/locale/get.md index e5922f4e7f..b2abf36f19 100644 --- a/docs/examples/1.1.x/server-ruby/examples/locale/get.md +++ b/docs/examples/1.1.x/server-ruby/examples/locale/get.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/locale/list-continents.md b/docs/examples/1.1.x/server-ruby/examples/locale/list-continents.md index 0416baf77a..1a086d9a2f 100644 --- a/docs/examples/1.1.x/server-ruby/examples/locale/list-continents.md +++ b/docs/examples/1.1.x/server-ruby/examples/locale/list-continents.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/locale/list-countries-e-u.md b/docs/examples/1.1.x/server-ruby/examples/locale/list-countries-e-u.md index 7faa85143c..962387167f 100644 --- a/docs/examples/1.1.x/server-ruby/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.1.x/server-ruby/examples/locale/list-countries-e-u.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/locale/list-countries-phones.md b/docs/examples/1.1.x/server-ruby/examples/locale/list-countries-phones.md index 1194f27e0c..9e842f2121 100644 --- a/docs/examples/1.1.x/server-ruby/examples/locale/list-countries-phones.md +++ b/docs/examples/1.1.x/server-ruby/examples/locale/list-countries-phones.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/locale/list-countries.md b/docs/examples/1.1.x/server-ruby/examples/locale/list-countries.md index b78fba47fd..eb093479b7 100644 --- a/docs/examples/1.1.x/server-ruby/examples/locale/list-countries.md +++ b/docs/examples/1.1.x/server-ruby/examples/locale/list-countries.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/locale/list-currencies.md b/docs/examples/1.1.x/server-ruby/examples/locale/list-currencies.md index 14b2722ae8..1e20bdbbb2 100644 --- a/docs/examples/1.1.x/server-ruby/examples/locale/list-currencies.md +++ b/docs/examples/1.1.x/server-ruby/examples/locale/list-currencies.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/locale/list-languages.md b/docs/examples/1.1.x/server-ruby/examples/locale/list-languages.md index 4d88bc4723..7b919494b3 100644 --- a/docs/examples/1.1.x/server-ruby/examples/locale/list-languages.md +++ b/docs/examples/1.1.x/server-ruby/examples/locale/list-languages.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/storage/create-bucket.md b/docs/examples/1.1.x/server-ruby/examples/storage/create-bucket.md index d6299db79f..459508e311 100644 --- a/docs/examples/1.1.x/server-ruby/examples/storage/create-bucket.md +++ b/docs/examples/1.1.x/server-ruby/examples/storage/create-bucket.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/storage/create-file.md b/docs/examples/1.1.x/server-ruby/examples/storage/create-file.md index 851ed57a48..fd29996f73 100644 --- a/docs/examples/1.1.x/server-ruby/examples/storage/create-file.md +++ b/docs/examples/1.1.x/server-ruby/examples/storage/create-file.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/storage/delete-bucket.md b/docs/examples/1.1.x/server-ruby/examples/storage/delete-bucket.md index 3fd51bef5e..be83f475f2 100644 --- a/docs/examples/1.1.x/server-ruby/examples/storage/delete-bucket.md +++ b/docs/examples/1.1.x/server-ruby/examples/storage/delete-bucket.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/storage/delete-file.md b/docs/examples/1.1.x/server-ruby/examples/storage/delete-file.md index 4d0e3fcbff..6ea4059bba 100644 --- a/docs/examples/1.1.x/server-ruby/examples/storage/delete-file.md +++ b/docs/examples/1.1.x/server-ruby/examples/storage/delete-file.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/storage/get-bucket.md b/docs/examples/1.1.x/server-ruby/examples/storage/get-bucket.md index ba88debc61..ca0905b463 100644 --- a/docs/examples/1.1.x/server-ruby/examples/storage/get-bucket.md +++ b/docs/examples/1.1.x/server-ruby/examples/storage/get-bucket.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/storage/get-file-download.md b/docs/examples/1.1.x/server-ruby/examples/storage/get-file-download.md index a22f4cb68f..77007f6b19 100644 --- a/docs/examples/1.1.x/server-ruby/examples/storage/get-file-download.md +++ b/docs/examples/1.1.x/server-ruby/examples/storage/get-file-download.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/storage/get-file-preview.md b/docs/examples/1.1.x/server-ruby/examples/storage/get-file-preview.md index c5b7c06db1..c0e2b80931 100644 --- a/docs/examples/1.1.x/server-ruby/examples/storage/get-file-preview.md +++ b/docs/examples/1.1.x/server-ruby/examples/storage/get-file-preview.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/storage/get-file-view.md b/docs/examples/1.1.x/server-ruby/examples/storage/get-file-view.md index c05770b999..7689278e56 100644 --- a/docs/examples/1.1.x/server-ruby/examples/storage/get-file-view.md +++ b/docs/examples/1.1.x/server-ruby/examples/storage/get-file-view.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/storage/get-file.md b/docs/examples/1.1.x/server-ruby/examples/storage/get-file.md index a33835c9e2..f5faa37e54 100644 --- a/docs/examples/1.1.x/server-ruby/examples/storage/get-file.md +++ b/docs/examples/1.1.x/server-ruby/examples/storage/get-file.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/storage/list-buckets.md b/docs/examples/1.1.x/server-ruby/examples/storage/list-buckets.md index 7009d0a105..46eac9a260 100644 --- a/docs/examples/1.1.x/server-ruby/examples/storage/list-buckets.md +++ b/docs/examples/1.1.x/server-ruby/examples/storage/list-buckets.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/storage/list-files.md b/docs/examples/1.1.x/server-ruby/examples/storage/list-files.md index 196831a1b3..936b6eaeeb 100644 --- a/docs/examples/1.1.x/server-ruby/examples/storage/list-files.md +++ b/docs/examples/1.1.x/server-ruby/examples/storage/list-files.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/storage/update-bucket.md b/docs/examples/1.1.x/server-ruby/examples/storage/update-bucket.md index f990ab3566..d4c791f4db 100644 --- a/docs/examples/1.1.x/server-ruby/examples/storage/update-bucket.md +++ b/docs/examples/1.1.x/server-ruby/examples/storage/update-bucket.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/storage/update-file.md b/docs/examples/1.1.x/server-ruby/examples/storage/update-file.md index 8108d3cc28..6d26d9ee48 100644 --- a/docs/examples/1.1.x/server-ruby/examples/storage/update-file.md +++ b/docs/examples/1.1.x/server-ruby/examples/storage/update-file.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/teams/create-membership.md b/docs/examples/1.1.x/server-ruby/examples/teams/create-membership.md index 515b6839f1..e23211d82b 100644 --- a/docs/examples/1.1.x/server-ruby/examples/teams/create-membership.md +++ b/docs/examples/1.1.x/server-ruby/examples/teams/create-membership.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/teams/create.md b/docs/examples/1.1.x/server-ruby/examples/teams/create.md index d2dff77f41..66127ecd34 100644 --- a/docs/examples/1.1.x/server-ruby/examples/teams/create.md +++ b/docs/examples/1.1.x/server-ruby/examples/teams/create.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/teams/delete-membership.md b/docs/examples/1.1.x/server-ruby/examples/teams/delete-membership.md index d41175d4a8..551ee62843 100644 --- a/docs/examples/1.1.x/server-ruby/examples/teams/delete-membership.md +++ b/docs/examples/1.1.x/server-ruby/examples/teams/delete-membership.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/teams/delete.md b/docs/examples/1.1.x/server-ruby/examples/teams/delete.md index c1b9b8d8bb..94a9d4bba7 100644 --- a/docs/examples/1.1.x/server-ruby/examples/teams/delete.md +++ b/docs/examples/1.1.x/server-ruby/examples/teams/delete.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/teams/get-membership.md b/docs/examples/1.1.x/server-ruby/examples/teams/get-membership.md index b06101dd84..d95348801b 100644 --- a/docs/examples/1.1.x/server-ruby/examples/teams/get-membership.md +++ b/docs/examples/1.1.x/server-ruby/examples/teams/get-membership.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/teams/get.md b/docs/examples/1.1.x/server-ruby/examples/teams/get.md index 7cee601b56..a6c2884d2c 100644 --- a/docs/examples/1.1.x/server-ruby/examples/teams/get.md +++ b/docs/examples/1.1.x/server-ruby/examples/teams/get.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/teams/list-memberships.md b/docs/examples/1.1.x/server-ruby/examples/teams/list-memberships.md index 885a857d72..4b523aa73a 100644 --- a/docs/examples/1.1.x/server-ruby/examples/teams/list-memberships.md +++ b/docs/examples/1.1.x/server-ruby/examples/teams/list-memberships.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/teams/list.md b/docs/examples/1.1.x/server-ruby/examples/teams/list.md index e8b581fd91..fd8385bc71 100644 --- a/docs/examples/1.1.x/server-ruby/examples/teams/list.md +++ b/docs/examples/1.1.x/server-ruby/examples/teams/list.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/teams/update-membership-roles.md b/docs/examples/1.1.x/server-ruby/examples/teams/update-membership-roles.md index a39ef030f9..0a240b5bac 100644 --- a/docs/examples/1.1.x/server-ruby/examples/teams/update-membership-roles.md +++ b/docs/examples/1.1.x/server-ruby/examples/teams/update-membership-roles.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/teams/update-membership-status.md b/docs/examples/1.1.x/server-ruby/examples/teams/update-membership-status.md index aaf52cbb9c..a1f8252899 100644 --- a/docs/examples/1.1.x/server-ruby/examples/teams/update-membership-status.md +++ b/docs/examples/1.1.x/server-ruby/examples/teams/update-membership-status.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.1.x/server-ruby/examples/teams/update.md b/docs/examples/1.1.x/server-ruby/examples/teams/update.md index 95e24eacb4..29f42e2e43 100644 --- a/docs/examples/1.1.x/server-ruby/examples/teams/update.md +++ b/docs/examples/1.1.x/server-ruby/examples/teams/update.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/users/create-argon2user.md b/docs/examples/1.1.x/server-ruby/examples/users/create-argon2user.md index 9c4fc9ea97..35445044c2 100644 --- a/docs/examples/1.1.x/server-ruby/examples/users/create-argon2user.md +++ b/docs/examples/1.1.x/server-ruby/examples/users/create-argon2user.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/users/create-bcrypt-user.md b/docs/examples/1.1.x/server-ruby/examples/users/create-bcrypt-user.md index 700fe49d12..50e11db190 100644 --- a/docs/examples/1.1.x/server-ruby/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.1.x/server-ruby/examples/users/create-bcrypt-user.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/users/create-m-d5user.md b/docs/examples/1.1.x/server-ruby/examples/users/create-m-d5user.md index a7f9c4f7a2..3f7a61994b 100644 --- a/docs/examples/1.1.x/server-ruby/examples/users/create-m-d5user.md +++ b/docs/examples/1.1.x/server-ruby/examples/users/create-m-d5user.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/users/create-p-h-pass-user.md b/docs/examples/1.1.x/server-ruby/examples/users/create-p-h-pass-user.md index d7d8ba1933..a793d887c8 100644 --- a/docs/examples/1.1.x/server-ruby/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.1.x/server-ruby/examples/users/create-p-h-pass-user.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/users/create-s-h-a-user.md b/docs/examples/1.1.x/server-ruby/examples/users/create-s-h-a-user.md index 2d37fc3bfa..4b7c26629b 100644 --- a/docs/examples/1.1.x/server-ruby/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.1.x/server-ruby/examples/users/create-s-h-a-user.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/users/create-scrypt-modified-user.md b/docs/examples/1.1.x/server-ruby/examples/users/create-scrypt-modified-user.md index cec9dbb277..50f52b9f12 100644 --- a/docs/examples/1.1.x/server-ruby/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.1.x/server-ruby/examples/users/create-scrypt-modified-user.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/users/create-scrypt-user.md b/docs/examples/1.1.x/server-ruby/examples/users/create-scrypt-user.md index 94a7af53d2..e8bf8cf059 100644 --- a/docs/examples/1.1.x/server-ruby/examples/users/create-scrypt-user.md +++ b/docs/examples/1.1.x/server-ruby/examples/users/create-scrypt-user.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/users/create.md b/docs/examples/1.1.x/server-ruby/examples/users/create.md index b04fd5025f..7d0cf8b48a 100644 --- a/docs/examples/1.1.x/server-ruby/examples/users/create.md +++ b/docs/examples/1.1.x/server-ruby/examples/users/create.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/users/delete-session.md b/docs/examples/1.1.x/server-ruby/examples/users/delete-session.md index 3b7918ca1f..118747affc 100644 --- a/docs/examples/1.1.x/server-ruby/examples/users/delete-session.md +++ b/docs/examples/1.1.x/server-ruby/examples/users/delete-session.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/users/delete-sessions.md b/docs/examples/1.1.x/server-ruby/examples/users/delete-sessions.md index 6772e3fe10..7d24d4442d 100644 --- a/docs/examples/1.1.x/server-ruby/examples/users/delete-sessions.md +++ b/docs/examples/1.1.x/server-ruby/examples/users/delete-sessions.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/users/delete.md b/docs/examples/1.1.x/server-ruby/examples/users/delete.md index 62585db404..b50e5a921d 100644 --- a/docs/examples/1.1.x/server-ruby/examples/users/delete.md +++ b/docs/examples/1.1.x/server-ruby/examples/users/delete.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/users/get-prefs.md b/docs/examples/1.1.x/server-ruby/examples/users/get-prefs.md index a4c4764bef..a401ae11b0 100644 --- a/docs/examples/1.1.x/server-ruby/examples/users/get-prefs.md +++ b/docs/examples/1.1.x/server-ruby/examples/users/get-prefs.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/users/get.md b/docs/examples/1.1.x/server-ruby/examples/users/get.md index a731ada955..44f68d0138 100644 --- a/docs/examples/1.1.x/server-ruby/examples/users/get.md +++ b/docs/examples/1.1.x/server-ruby/examples/users/get.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/users/list-logs.md b/docs/examples/1.1.x/server-ruby/examples/users/list-logs.md index fa8586eeff..45a974e497 100644 --- a/docs/examples/1.1.x/server-ruby/examples/users/list-logs.md +++ b/docs/examples/1.1.x/server-ruby/examples/users/list-logs.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/users/list-memberships.md b/docs/examples/1.1.x/server-ruby/examples/users/list-memberships.md index 693e6b9f2c..c84277357b 100644 --- a/docs/examples/1.1.x/server-ruby/examples/users/list-memberships.md +++ b/docs/examples/1.1.x/server-ruby/examples/users/list-memberships.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/users/list-sessions.md b/docs/examples/1.1.x/server-ruby/examples/users/list-sessions.md index 765789a0da..14c281f4e1 100644 --- a/docs/examples/1.1.x/server-ruby/examples/users/list-sessions.md +++ b/docs/examples/1.1.x/server-ruby/examples/users/list-sessions.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/users/list.md b/docs/examples/1.1.x/server-ruby/examples/users/list.md index 8d5daf21f8..eb067643e2 100644 --- a/docs/examples/1.1.x/server-ruby/examples/users/list.md +++ b/docs/examples/1.1.x/server-ruby/examples/users/list.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/users/update-email-verification.md b/docs/examples/1.1.x/server-ruby/examples/users/update-email-verification.md index 72ec0195dc..530c544bea 100644 --- a/docs/examples/1.1.x/server-ruby/examples/users/update-email-verification.md +++ b/docs/examples/1.1.x/server-ruby/examples/users/update-email-verification.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/users/update-email.md b/docs/examples/1.1.x/server-ruby/examples/users/update-email.md index a3a7dbde34..21ece40ff0 100644 --- a/docs/examples/1.1.x/server-ruby/examples/users/update-email.md +++ b/docs/examples/1.1.x/server-ruby/examples/users/update-email.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/users/update-name.md b/docs/examples/1.1.x/server-ruby/examples/users/update-name.md index fbf00bb51b..7b1d0d65d3 100644 --- a/docs/examples/1.1.x/server-ruby/examples/users/update-name.md +++ b/docs/examples/1.1.x/server-ruby/examples/users/update-name.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/users/update-password.md b/docs/examples/1.1.x/server-ruby/examples/users/update-password.md index 72556b3530..2577bc44eb 100644 --- a/docs/examples/1.1.x/server-ruby/examples/users/update-password.md +++ b/docs/examples/1.1.x/server-ruby/examples/users/update-password.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/users/update-phone-verification.md b/docs/examples/1.1.x/server-ruby/examples/users/update-phone-verification.md index 995a32a4bf..be9e323ec1 100644 --- a/docs/examples/1.1.x/server-ruby/examples/users/update-phone-verification.md +++ b/docs/examples/1.1.x/server-ruby/examples/users/update-phone-verification.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/users/update-phone.md b/docs/examples/1.1.x/server-ruby/examples/users/update-phone.md index f1e74b4a9e..e78a3d5ff3 100644 --- a/docs/examples/1.1.x/server-ruby/examples/users/update-phone.md +++ b/docs/examples/1.1.x/server-ruby/examples/users/update-phone.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/users/update-prefs.md b/docs/examples/1.1.x/server-ruby/examples/users/update-prefs.md index 9845cdf0d5..91eaf25a25 100644 --- a/docs/examples/1.1.x/server-ruby/examples/users/update-prefs.md +++ b/docs/examples/1.1.x/server-ruby/examples/users/update-prefs.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-ruby/examples/users/update-status.md b/docs/examples/1.1.x/server-ruby/examples/users/update-status.md index 8a82948c76..9f7372ede4 100644 --- a/docs/examples/1.1.x/server-ruby/examples/users/update-status.md +++ b/docs/examples/1.1.x/server-ruby/examples/users/update-status.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.1.x/server-swift/examples/account/create-phone-verification.md b/docs/examples/1.1.x/server-swift/examples/account/create-phone-verification.md index 7755c031ed..45ebcced05 100644 --- a/docs/examples/1.1.x/server-swift/examples/account/create-phone-verification.md +++ b/docs/examples/1.1.x/server-swift/examples/account/create-phone-verification.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token let account = Account(client) diff --git a/docs/examples/1.1.x/server-swift/examples/account/create-recovery.md b/docs/examples/1.1.x/server-swift/examples/account/create-recovery.md index 18b8eabf47..4ee9199ffa 100644 --- a/docs/examples/1.1.x/server-swift/examples/account/create-recovery.md +++ b/docs/examples/1.1.x/server-swift/examples/account/create-recovery.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token let account = Account(client) diff --git a/docs/examples/1.1.x/server-swift/examples/account/create-verification.md b/docs/examples/1.1.x/server-swift/examples/account/create-verification.md index a219907a94..b036a1a7e4 100644 --- a/docs/examples/1.1.x/server-swift/examples/account/create-verification.md +++ b/docs/examples/1.1.x/server-swift/examples/account/create-verification.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token let account = Account(client) diff --git a/docs/examples/1.1.x/server-swift/examples/account/delete-session.md b/docs/examples/1.1.x/server-swift/examples/account/delete-session.md index be2d784ca6..ec1bb76c9f 100644 --- a/docs/examples/1.1.x/server-swift/examples/account/delete-session.md +++ b/docs/examples/1.1.x/server-swift/examples/account/delete-session.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token let account = Account(client) diff --git a/docs/examples/1.1.x/server-swift/examples/account/delete-sessions.md b/docs/examples/1.1.x/server-swift/examples/account/delete-sessions.md index 54cdf94167..d7c94abfa8 100644 --- a/docs/examples/1.1.x/server-swift/examples/account/delete-sessions.md +++ b/docs/examples/1.1.x/server-swift/examples/account/delete-sessions.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token let account = Account(client) diff --git a/docs/examples/1.1.x/server-swift/examples/account/get-prefs.md b/docs/examples/1.1.x/server-swift/examples/account/get-prefs.md index 54b2a50707..78b392bb80 100644 --- a/docs/examples/1.1.x/server-swift/examples/account/get-prefs.md +++ b/docs/examples/1.1.x/server-swift/examples/account/get-prefs.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token let account = Account(client) diff --git a/docs/examples/1.1.x/server-swift/examples/account/get-session.md b/docs/examples/1.1.x/server-swift/examples/account/get-session.md index 0bd69cadcb..286d9ade2f 100644 --- a/docs/examples/1.1.x/server-swift/examples/account/get-session.md +++ b/docs/examples/1.1.x/server-swift/examples/account/get-session.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token let account = Account(client) diff --git a/docs/examples/1.1.x/server-swift/examples/account/get.md b/docs/examples/1.1.x/server-swift/examples/account/get.md index 470e90fad0..bad1210589 100644 --- a/docs/examples/1.1.x/server-swift/examples/account/get.md +++ b/docs/examples/1.1.x/server-swift/examples/account/get.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token let account = Account(client) diff --git a/docs/examples/1.1.x/server-swift/examples/account/list-logs.md b/docs/examples/1.1.x/server-swift/examples/account/list-logs.md index 733b48bb34..be4b204155 100644 --- a/docs/examples/1.1.x/server-swift/examples/account/list-logs.md +++ b/docs/examples/1.1.x/server-swift/examples/account/list-logs.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token let account = Account(client) diff --git a/docs/examples/1.1.x/server-swift/examples/account/list-sessions.md b/docs/examples/1.1.x/server-swift/examples/account/list-sessions.md index c6b54c6959..1c145a1d28 100644 --- a/docs/examples/1.1.x/server-swift/examples/account/list-sessions.md +++ b/docs/examples/1.1.x/server-swift/examples/account/list-sessions.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token let account = Account(client) diff --git a/docs/examples/1.1.x/server-swift/examples/account/update-email.md b/docs/examples/1.1.x/server-swift/examples/account/update-email.md index f62c77d01e..b53a9e2313 100644 --- a/docs/examples/1.1.x/server-swift/examples/account/update-email.md +++ b/docs/examples/1.1.x/server-swift/examples/account/update-email.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token let account = Account(client) diff --git a/docs/examples/1.1.x/server-swift/examples/account/update-name.md b/docs/examples/1.1.x/server-swift/examples/account/update-name.md index f2e4f8401f..b9f82c014c 100644 --- a/docs/examples/1.1.x/server-swift/examples/account/update-name.md +++ b/docs/examples/1.1.x/server-swift/examples/account/update-name.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token let account = Account(client) diff --git a/docs/examples/1.1.x/server-swift/examples/account/update-password.md b/docs/examples/1.1.x/server-swift/examples/account/update-password.md index 310b5b2d60..f02ceeeb54 100644 --- a/docs/examples/1.1.x/server-swift/examples/account/update-password.md +++ b/docs/examples/1.1.x/server-swift/examples/account/update-password.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token let account = Account(client) diff --git a/docs/examples/1.1.x/server-swift/examples/account/update-phone-verification.md b/docs/examples/1.1.x/server-swift/examples/account/update-phone-verification.md index 95a8a4e247..ff3baa5dba 100644 --- a/docs/examples/1.1.x/server-swift/examples/account/update-phone-verification.md +++ b/docs/examples/1.1.x/server-swift/examples/account/update-phone-verification.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token let account = Account(client) diff --git a/docs/examples/1.1.x/server-swift/examples/account/update-phone.md b/docs/examples/1.1.x/server-swift/examples/account/update-phone.md index 8e8e1edcbc..ff181a64be 100644 --- a/docs/examples/1.1.x/server-swift/examples/account/update-phone.md +++ b/docs/examples/1.1.x/server-swift/examples/account/update-phone.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token let account = Account(client) diff --git a/docs/examples/1.1.x/server-swift/examples/account/update-prefs.md b/docs/examples/1.1.x/server-swift/examples/account/update-prefs.md index 67dcfb9864..d7bfc07657 100644 --- a/docs/examples/1.1.x/server-swift/examples/account/update-prefs.md +++ b/docs/examples/1.1.x/server-swift/examples/account/update-prefs.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token let account = Account(client) diff --git a/docs/examples/1.1.x/server-swift/examples/account/update-recovery.md b/docs/examples/1.1.x/server-swift/examples/account/update-recovery.md index a87409df28..045346bbb4 100644 --- a/docs/examples/1.1.x/server-swift/examples/account/update-recovery.md +++ b/docs/examples/1.1.x/server-swift/examples/account/update-recovery.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token let account = Account(client) diff --git a/docs/examples/1.1.x/server-swift/examples/account/update-session.md b/docs/examples/1.1.x/server-swift/examples/account/update-session.md index 53d7245f0d..b85b5b8381 100644 --- a/docs/examples/1.1.x/server-swift/examples/account/update-session.md +++ b/docs/examples/1.1.x/server-swift/examples/account/update-session.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token let account = Account(client) diff --git a/docs/examples/1.1.x/server-swift/examples/account/update-status.md b/docs/examples/1.1.x/server-swift/examples/account/update-status.md index 0eaffe7485..6b82bdce63 100644 --- a/docs/examples/1.1.x/server-swift/examples/account/update-status.md +++ b/docs/examples/1.1.x/server-swift/examples/account/update-status.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token let account = Account(client) diff --git a/docs/examples/1.1.x/server-swift/examples/account/update-verification.md b/docs/examples/1.1.x/server-swift/examples/account/update-verification.md index beb479a288..6c9e9143a3 100644 --- a/docs/examples/1.1.x/server-swift/examples/account/update-verification.md +++ b/docs/examples/1.1.x/server-swift/examples/account/update-verification.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token let account = Account(client) diff --git a/docs/examples/1.1.x/server-swift/examples/avatars/get-browser.md b/docs/examples/1.1.x/server-swift/examples/avatars/get-browser.md index 8057182bd3..53543502d4 100644 --- a/docs/examples/1.1.x/server-swift/examples/avatars/get-browser.md +++ b/docs/examples/1.1.x/server-swift/examples/avatars/get-browser.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let avatars = Avatars(client) diff --git a/docs/examples/1.1.x/server-swift/examples/avatars/get-credit-card.md b/docs/examples/1.1.x/server-swift/examples/avatars/get-credit-card.md index c77d5bc2de..913127dcdf 100644 --- a/docs/examples/1.1.x/server-swift/examples/avatars/get-credit-card.md +++ b/docs/examples/1.1.x/server-swift/examples/avatars/get-credit-card.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let avatars = Avatars(client) diff --git a/docs/examples/1.1.x/server-swift/examples/avatars/get-favicon.md b/docs/examples/1.1.x/server-swift/examples/avatars/get-favicon.md index 7356048095..bdd5810404 100644 --- a/docs/examples/1.1.x/server-swift/examples/avatars/get-favicon.md +++ b/docs/examples/1.1.x/server-swift/examples/avatars/get-favicon.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let avatars = Avatars(client) diff --git a/docs/examples/1.1.x/server-swift/examples/avatars/get-flag.md b/docs/examples/1.1.x/server-swift/examples/avatars/get-flag.md index 2a428353fc..b8bad721a1 100644 --- a/docs/examples/1.1.x/server-swift/examples/avatars/get-flag.md +++ b/docs/examples/1.1.x/server-swift/examples/avatars/get-flag.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let avatars = Avatars(client) diff --git a/docs/examples/1.1.x/server-swift/examples/avatars/get-image.md b/docs/examples/1.1.x/server-swift/examples/avatars/get-image.md index 73c565e1f4..57b810267e 100644 --- a/docs/examples/1.1.x/server-swift/examples/avatars/get-image.md +++ b/docs/examples/1.1.x/server-swift/examples/avatars/get-image.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let avatars = Avatars(client) diff --git a/docs/examples/1.1.x/server-swift/examples/avatars/get-initials.md b/docs/examples/1.1.x/server-swift/examples/avatars/get-initials.md index 8e47fde104..6cca461388 100644 --- a/docs/examples/1.1.x/server-swift/examples/avatars/get-initials.md +++ b/docs/examples/1.1.x/server-swift/examples/avatars/get-initials.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let avatars = Avatars(client) diff --git a/docs/examples/1.1.x/server-swift/examples/avatars/get-q-r.md b/docs/examples/1.1.x/server-swift/examples/avatars/get-q-r.md index 67166250b9..5fe8146045 100644 --- a/docs/examples/1.1.x/server-swift/examples/avatars/get-q-r.md +++ b/docs/examples/1.1.x/server-swift/examples/avatars/get-q-r.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let avatars = Avatars(client) diff --git a/docs/examples/1.1.x/server-swift/examples/databases/create-boolean-attribute.md b/docs/examples/1.1.x/server-swift/examples/databases/create-boolean-attribute.md index d6ca55536a..d495efe8a3 100644 --- a/docs/examples/1.1.x/server-swift/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.1.x/server-swift/examples/databases/create-boolean-attribute.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.1.x/server-swift/examples/databases/create-collection.md b/docs/examples/1.1.x/server-swift/examples/databases/create-collection.md index b61b7d1978..cf42e76156 100644 --- a/docs/examples/1.1.x/server-swift/examples/databases/create-collection.md +++ b/docs/examples/1.1.x/server-swift/examples/databases/create-collection.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.1.x/server-swift/examples/databases/create-datetime-attribute.md b/docs/examples/1.1.x/server-swift/examples/databases/create-datetime-attribute.md index b555fcff9d..beb6479c30 100644 --- a/docs/examples/1.1.x/server-swift/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.1.x/server-swift/examples/databases/create-datetime-attribute.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.1.x/server-swift/examples/databases/create-document.md b/docs/examples/1.1.x/server-swift/examples/databases/create-document.md index 8837ce8db6..822e8853e9 100644 --- a/docs/examples/1.1.x/server-swift/examples/databases/create-document.md +++ b/docs/examples/1.1.x/server-swift/examples/databases/create-document.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.1.x/server-swift/examples/databases/create-email-attribute.md b/docs/examples/1.1.x/server-swift/examples/databases/create-email-attribute.md index 7a2d5d1a13..47fab58069 100644 --- a/docs/examples/1.1.x/server-swift/examples/databases/create-email-attribute.md +++ b/docs/examples/1.1.x/server-swift/examples/databases/create-email-attribute.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.1.x/server-swift/examples/databases/create-enum-attribute.md b/docs/examples/1.1.x/server-swift/examples/databases/create-enum-attribute.md index 38a7d523e1..4da6b72da3 100644 --- a/docs/examples/1.1.x/server-swift/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.1.x/server-swift/examples/databases/create-enum-attribute.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.1.x/server-swift/examples/databases/create-float-attribute.md b/docs/examples/1.1.x/server-swift/examples/databases/create-float-attribute.md index e32a0fe917..889aa7fe92 100644 --- a/docs/examples/1.1.x/server-swift/examples/databases/create-float-attribute.md +++ b/docs/examples/1.1.x/server-swift/examples/databases/create-float-attribute.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.1.x/server-swift/examples/databases/create-index.md b/docs/examples/1.1.x/server-swift/examples/databases/create-index.md index 5861e9e862..7498b54c84 100644 --- a/docs/examples/1.1.x/server-swift/examples/databases/create-index.md +++ b/docs/examples/1.1.x/server-swift/examples/databases/create-index.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.1.x/server-swift/examples/databases/create-integer-attribute.md b/docs/examples/1.1.x/server-swift/examples/databases/create-integer-attribute.md index 5cb313cf05..8442c862fe 100644 --- a/docs/examples/1.1.x/server-swift/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.1.x/server-swift/examples/databases/create-integer-attribute.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.1.x/server-swift/examples/databases/create-ip-attribute.md b/docs/examples/1.1.x/server-swift/examples/databases/create-ip-attribute.md index 9b1b8ae3bc..0473143e1d 100644 --- a/docs/examples/1.1.x/server-swift/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.1.x/server-swift/examples/databases/create-ip-attribute.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.1.x/server-swift/examples/databases/create-string-attribute.md b/docs/examples/1.1.x/server-swift/examples/databases/create-string-attribute.md index 6f9ae7a68a..8bc9e89b86 100644 --- a/docs/examples/1.1.x/server-swift/examples/databases/create-string-attribute.md +++ b/docs/examples/1.1.x/server-swift/examples/databases/create-string-attribute.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.1.x/server-swift/examples/databases/create-url-attribute.md b/docs/examples/1.1.x/server-swift/examples/databases/create-url-attribute.md index 6824c0565e..e8a910fd5d 100644 --- a/docs/examples/1.1.x/server-swift/examples/databases/create-url-attribute.md +++ b/docs/examples/1.1.x/server-swift/examples/databases/create-url-attribute.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.1.x/server-swift/examples/databases/create.md b/docs/examples/1.1.x/server-swift/examples/databases/create.md index 1feb7b2ae7..30530b3a8f 100644 --- a/docs/examples/1.1.x/server-swift/examples/databases/create.md +++ b/docs/examples/1.1.x/server-swift/examples/databases/create.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.1.x/server-swift/examples/databases/delete-attribute.md b/docs/examples/1.1.x/server-swift/examples/databases/delete-attribute.md index 5eaeb38496..9ba7c1805c 100644 --- a/docs/examples/1.1.x/server-swift/examples/databases/delete-attribute.md +++ b/docs/examples/1.1.x/server-swift/examples/databases/delete-attribute.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.1.x/server-swift/examples/databases/delete-collection.md b/docs/examples/1.1.x/server-swift/examples/databases/delete-collection.md index 01efd25ca8..dd6d1f7839 100644 --- a/docs/examples/1.1.x/server-swift/examples/databases/delete-collection.md +++ b/docs/examples/1.1.x/server-swift/examples/databases/delete-collection.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.1.x/server-swift/examples/databases/delete-document.md b/docs/examples/1.1.x/server-swift/examples/databases/delete-document.md index 17834bc204..a547f8a7a4 100644 --- a/docs/examples/1.1.x/server-swift/examples/databases/delete-document.md +++ b/docs/examples/1.1.x/server-swift/examples/databases/delete-document.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.1.x/server-swift/examples/databases/delete-index.md b/docs/examples/1.1.x/server-swift/examples/databases/delete-index.md index 2cc03969fa..cb5833c4c2 100644 --- a/docs/examples/1.1.x/server-swift/examples/databases/delete-index.md +++ b/docs/examples/1.1.x/server-swift/examples/databases/delete-index.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.1.x/server-swift/examples/databases/delete.md b/docs/examples/1.1.x/server-swift/examples/databases/delete.md index 8707862447..d1aca9a8d8 100644 --- a/docs/examples/1.1.x/server-swift/examples/databases/delete.md +++ b/docs/examples/1.1.x/server-swift/examples/databases/delete.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.1.x/server-swift/examples/databases/get-attribute.md b/docs/examples/1.1.x/server-swift/examples/databases/get-attribute.md index a75709148d..02519efdd2 100644 --- a/docs/examples/1.1.x/server-swift/examples/databases/get-attribute.md +++ b/docs/examples/1.1.x/server-swift/examples/databases/get-attribute.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.1.x/server-swift/examples/databases/get-collection.md b/docs/examples/1.1.x/server-swift/examples/databases/get-collection.md index 035aa043b8..e493907445 100644 --- a/docs/examples/1.1.x/server-swift/examples/databases/get-collection.md +++ b/docs/examples/1.1.x/server-swift/examples/databases/get-collection.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.1.x/server-swift/examples/databases/get-document.md b/docs/examples/1.1.x/server-swift/examples/databases/get-document.md index c496195cc8..2aa314aac3 100644 --- a/docs/examples/1.1.x/server-swift/examples/databases/get-document.md +++ b/docs/examples/1.1.x/server-swift/examples/databases/get-document.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.1.x/server-swift/examples/databases/get-index.md b/docs/examples/1.1.x/server-swift/examples/databases/get-index.md index 6cd359b29d..ba92e80f44 100644 --- a/docs/examples/1.1.x/server-swift/examples/databases/get-index.md +++ b/docs/examples/1.1.x/server-swift/examples/databases/get-index.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.1.x/server-swift/examples/databases/get.md b/docs/examples/1.1.x/server-swift/examples/databases/get.md index e887ba2e8a..ae8769e79e 100644 --- a/docs/examples/1.1.x/server-swift/examples/databases/get.md +++ b/docs/examples/1.1.x/server-swift/examples/databases/get.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.1.x/server-swift/examples/databases/list-attributes.md b/docs/examples/1.1.x/server-swift/examples/databases/list-attributes.md index 561511a97c..0b66a4ccdb 100644 --- a/docs/examples/1.1.x/server-swift/examples/databases/list-attributes.md +++ b/docs/examples/1.1.x/server-swift/examples/databases/list-attributes.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.1.x/server-swift/examples/databases/list-collections.md b/docs/examples/1.1.x/server-swift/examples/databases/list-collections.md index fc41250c70..11ccc7aa4b 100644 --- a/docs/examples/1.1.x/server-swift/examples/databases/list-collections.md +++ b/docs/examples/1.1.x/server-swift/examples/databases/list-collections.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.1.x/server-swift/examples/databases/list-documents.md b/docs/examples/1.1.x/server-swift/examples/databases/list-documents.md index f988dec8b6..792d142542 100644 --- a/docs/examples/1.1.x/server-swift/examples/databases/list-documents.md +++ b/docs/examples/1.1.x/server-swift/examples/databases/list-documents.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.1.x/server-swift/examples/databases/list-indexes.md b/docs/examples/1.1.x/server-swift/examples/databases/list-indexes.md index 7bd647981c..c10136ebc7 100644 --- a/docs/examples/1.1.x/server-swift/examples/databases/list-indexes.md +++ b/docs/examples/1.1.x/server-swift/examples/databases/list-indexes.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.1.x/server-swift/examples/databases/list.md b/docs/examples/1.1.x/server-swift/examples/databases/list.md index 5ec5ba0034..72a9f61d10 100644 --- a/docs/examples/1.1.x/server-swift/examples/databases/list.md +++ b/docs/examples/1.1.x/server-swift/examples/databases/list.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.1.x/server-swift/examples/databases/update-collection.md b/docs/examples/1.1.x/server-swift/examples/databases/update-collection.md index 2a68187556..6c29f66777 100644 --- a/docs/examples/1.1.x/server-swift/examples/databases/update-collection.md +++ b/docs/examples/1.1.x/server-swift/examples/databases/update-collection.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.1.x/server-swift/examples/databases/update-document.md b/docs/examples/1.1.x/server-swift/examples/databases/update-document.md index f68e5ae011..f41f86b536 100644 --- a/docs/examples/1.1.x/server-swift/examples/databases/update-document.md +++ b/docs/examples/1.1.x/server-swift/examples/databases/update-document.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.1.x/server-swift/examples/databases/update.md b/docs/examples/1.1.x/server-swift/examples/databases/update.md index 030893fe00..9da8892d22 100644 --- a/docs/examples/1.1.x/server-swift/examples/databases/update.md +++ b/docs/examples/1.1.x/server-swift/examples/databases/update.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.1.x/server-swift/examples/functions/create-build.md b/docs/examples/1.1.x/server-swift/examples/functions/create-build.md index 9e1d3a7222..c40aef224f 100644 --- a/docs/examples/1.1.x/server-swift/examples/functions/create-build.md +++ b/docs/examples/1.1.x/server-swift/examples/functions/create-build.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.1.x/server-swift/examples/functions/create-deployment.md b/docs/examples/1.1.x/server-swift/examples/functions/create-deployment.md index d597639f5c..0575ffbab1 100644 --- a/docs/examples/1.1.x/server-swift/examples/functions/create-deployment.md +++ b/docs/examples/1.1.x/server-swift/examples/functions/create-deployment.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.1.x/server-swift/examples/functions/create-execution.md b/docs/examples/1.1.x/server-swift/examples/functions/create-execution.md index 928d54d218..da031b75ea 100644 --- a/docs/examples/1.1.x/server-swift/examples/functions/create-execution.md +++ b/docs/examples/1.1.x/server-swift/examples/functions/create-execution.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.1.x/server-swift/examples/functions/create-variable.md b/docs/examples/1.1.x/server-swift/examples/functions/create-variable.md index 982fabcb9e..5aa7155643 100644 --- a/docs/examples/1.1.x/server-swift/examples/functions/create-variable.md +++ b/docs/examples/1.1.x/server-swift/examples/functions/create-variable.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.1.x/server-swift/examples/functions/create.md b/docs/examples/1.1.x/server-swift/examples/functions/create.md index 4b43191f1b..58cb0e7011 100644 --- a/docs/examples/1.1.x/server-swift/examples/functions/create.md +++ b/docs/examples/1.1.x/server-swift/examples/functions/create.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.1.x/server-swift/examples/functions/delete-deployment.md b/docs/examples/1.1.x/server-swift/examples/functions/delete-deployment.md index 02966e7cf9..3959d9349e 100644 --- a/docs/examples/1.1.x/server-swift/examples/functions/delete-deployment.md +++ b/docs/examples/1.1.x/server-swift/examples/functions/delete-deployment.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.1.x/server-swift/examples/functions/delete-variable.md b/docs/examples/1.1.x/server-swift/examples/functions/delete-variable.md index d9ffc1431f..0f1558429c 100644 --- a/docs/examples/1.1.x/server-swift/examples/functions/delete-variable.md +++ b/docs/examples/1.1.x/server-swift/examples/functions/delete-variable.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.1.x/server-swift/examples/functions/delete.md b/docs/examples/1.1.x/server-swift/examples/functions/delete.md index 1a03d6618f..3339f7dd5f 100644 --- a/docs/examples/1.1.x/server-swift/examples/functions/delete.md +++ b/docs/examples/1.1.x/server-swift/examples/functions/delete.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.1.x/server-swift/examples/functions/get-deployment.md b/docs/examples/1.1.x/server-swift/examples/functions/get-deployment.md index f1971accfe..d6aa186350 100644 --- a/docs/examples/1.1.x/server-swift/examples/functions/get-deployment.md +++ b/docs/examples/1.1.x/server-swift/examples/functions/get-deployment.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.1.x/server-swift/examples/functions/get-execution.md b/docs/examples/1.1.x/server-swift/examples/functions/get-execution.md index 51ce69e678..ae51d84f09 100644 --- a/docs/examples/1.1.x/server-swift/examples/functions/get-execution.md +++ b/docs/examples/1.1.x/server-swift/examples/functions/get-execution.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.1.x/server-swift/examples/functions/get-variable.md b/docs/examples/1.1.x/server-swift/examples/functions/get-variable.md index b5fd9d2993..2ad027871c 100644 --- a/docs/examples/1.1.x/server-swift/examples/functions/get-variable.md +++ b/docs/examples/1.1.x/server-swift/examples/functions/get-variable.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.1.x/server-swift/examples/functions/get.md b/docs/examples/1.1.x/server-swift/examples/functions/get.md index 54c0ced979..c2c38f39ca 100644 --- a/docs/examples/1.1.x/server-swift/examples/functions/get.md +++ b/docs/examples/1.1.x/server-swift/examples/functions/get.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.1.x/server-swift/examples/functions/list-deployments.md b/docs/examples/1.1.x/server-swift/examples/functions/list-deployments.md index 015236e68a..8d05e35601 100644 --- a/docs/examples/1.1.x/server-swift/examples/functions/list-deployments.md +++ b/docs/examples/1.1.x/server-swift/examples/functions/list-deployments.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.1.x/server-swift/examples/functions/list-executions.md b/docs/examples/1.1.x/server-swift/examples/functions/list-executions.md index c85376dd9f..ad5d6fc147 100644 --- a/docs/examples/1.1.x/server-swift/examples/functions/list-executions.md +++ b/docs/examples/1.1.x/server-swift/examples/functions/list-executions.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.1.x/server-swift/examples/functions/list-runtimes.md b/docs/examples/1.1.x/server-swift/examples/functions/list-runtimes.md index dcca318b26..82dd99c7bc 100644 --- a/docs/examples/1.1.x/server-swift/examples/functions/list-runtimes.md +++ b/docs/examples/1.1.x/server-swift/examples/functions/list-runtimes.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.1.x/server-swift/examples/functions/list-variables.md b/docs/examples/1.1.x/server-swift/examples/functions/list-variables.md index 09473bef5c..a54ba2e464 100644 --- a/docs/examples/1.1.x/server-swift/examples/functions/list-variables.md +++ b/docs/examples/1.1.x/server-swift/examples/functions/list-variables.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.1.x/server-swift/examples/functions/list.md b/docs/examples/1.1.x/server-swift/examples/functions/list.md index 8214fbe91b..12f2bb0e43 100644 --- a/docs/examples/1.1.x/server-swift/examples/functions/list.md +++ b/docs/examples/1.1.x/server-swift/examples/functions/list.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.1.x/server-swift/examples/functions/update-deployment.md b/docs/examples/1.1.x/server-swift/examples/functions/update-deployment.md index f7b9724f63..e46459d646 100644 --- a/docs/examples/1.1.x/server-swift/examples/functions/update-deployment.md +++ b/docs/examples/1.1.x/server-swift/examples/functions/update-deployment.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.1.x/server-swift/examples/functions/update-variable.md b/docs/examples/1.1.x/server-swift/examples/functions/update-variable.md index f0afd45afb..1dd1e391d6 100644 --- a/docs/examples/1.1.x/server-swift/examples/functions/update-variable.md +++ b/docs/examples/1.1.x/server-swift/examples/functions/update-variable.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.1.x/server-swift/examples/functions/update.md b/docs/examples/1.1.x/server-swift/examples/functions/update.md index 04464119d4..7ea3248791 100644 --- a/docs/examples/1.1.x/server-swift/examples/functions/update.md +++ b/docs/examples/1.1.x/server-swift/examples/functions/update.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.1.x/server-swift/examples/health/get-antivirus.md b/docs/examples/1.1.x/server-swift/examples/health/get-antivirus.md index 0b92f9868e..4477f2aa75 100644 --- a/docs/examples/1.1.x/server-swift/examples/health/get-antivirus.md +++ b/docs/examples/1.1.x/server-swift/examples/health/get-antivirus.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let health = Health(client) diff --git a/docs/examples/1.1.x/server-swift/examples/health/get-cache.md b/docs/examples/1.1.x/server-swift/examples/health/get-cache.md index f2bc6e7d27..9f4e3444fa 100644 --- a/docs/examples/1.1.x/server-swift/examples/health/get-cache.md +++ b/docs/examples/1.1.x/server-swift/examples/health/get-cache.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let health = Health(client) diff --git a/docs/examples/1.1.x/server-swift/examples/health/get-d-b.md b/docs/examples/1.1.x/server-swift/examples/health/get-d-b.md index 412e44faca..370ffdf12b 100644 --- a/docs/examples/1.1.x/server-swift/examples/health/get-d-b.md +++ b/docs/examples/1.1.x/server-swift/examples/health/get-d-b.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let health = Health(client) diff --git a/docs/examples/1.1.x/server-swift/examples/health/get-queue-certificates.md b/docs/examples/1.1.x/server-swift/examples/health/get-queue-certificates.md index 7d79ab2e69..2ef6db465f 100644 --- a/docs/examples/1.1.x/server-swift/examples/health/get-queue-certificates.md +++ b/docs/examples/1.1.x/server-swift/examples/health/get-queue-certificates.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let health = Health(client) diff --git a/docs/examples/1.1.x/server-swift/examples/health/get-queue-functions.md b/docs/examples/1.1.x/server-swift/examples/health/get-queue-functions.md index ca4880f88c..5ee20c82a9 100644 --- a/docs/examples/1.1.x/server-swift/examples/health/get-queue-functions.md +++ b/docs/examples/1.1.x/server-swift/examples/health/get-queue-functions.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let health = Health(client) diff --git a/docs/examples/1.1.x/server-swift/examples/health/get-queue-logs.md b/docs/examples/1.1.x/server-swift/examples/health/get-queue-logs.md index 9e7c9ab73b..d4cc6980f5 100644 --- a/docs/examples/1.1.x/server-swift/examples/health/get-queue-logs.md +++ b/docs/examples/1.1.x/server-swift/examples/health/get-queue-logs.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let health = Health(client) diff --git a/docs/examples/1.1.x/server-swift/examples/health/get-queue-webhooks.md b/docs/examples/1.1.x/server-swift/examples/health/get-queue-webhooks.md index e28a7af0c3..6836085d5e 100644 --- a/docs/examples/1.1.x/server-swift/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.1.x/server-swift/examples/health/get-queue-webhooks.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let health = Health(client) diff --git a/docs/examples/1.1.x/server-swift/examples/health/get-storage-local.md b/docs/examples/1.1.x/server-swift/examples/health/get-storage-local.md index 8522c316a5..65e9440b7f 100644 --- a/docs/examples/1.1.x/server-swift/examples/health/get-storage-local.md +++ b/docs/examples/1.1.x/server-swift/examples/health/get-storage-local.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let health = Health(client) diff --git a/docs/examples/1.1.x/server-swift/examples/health/get-time.md b/docs/examples/1.1.x/server-swift/examples/health/get-time.md index 9846637066..c7d0f24f46 100644 --- a/docs/examples/1.1.x/server-swift/examples/health/get-time.md +++ b/docs/examples/1.1.x/server-swift/examples/health/get-time.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let health = Health(client) diff --git a/docs/examples/1.1.x/server-swift/examples/health/get.md b/docs/examples/1.1.x/server-swift/examples/health/get.md index 07c978dfd5..bc66290b1a 100644 --- a/docs/examples/1.1.x/server-swift/examples/health/get.md +++ b/docs/examples/1.1.x/server-swift/examples/health/get.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let health = Health(client) diff --git a/docs/examples/1.1.x/server-swift/examples/locale/get.md b/docs/examples/1.1.x/server-swift/examples/locale/get.md index 4f645109a8..17184eefe9 100644 --- a/docs/examples/1.1.x/server-swift/examples/locale/get.md +++ b/docs/examples/1.1.x/server-swift/examples/locale/get.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let locale = Locale(client) diff --git a/docs/examples/1.1.x/server-swift/examples/locale/list-continents.md b/docs/examples/1.1.x/server-swift/examples/locale/list-continents.md index b8279884bf..b508cef816 100644 --- a/docs/examples/1.1.x/server-swift/examples/locale/list-continents.md +++ b/docs/examples/1.1.x/server-swift/examples/locale/list-continents.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let locale = Locale(client) diff --git a/docs/examples/1.1.x/server-swift/examples/locale/list-countries-e-u.md b/docs/examples/1.1.x/server-swift/examples/locale/list-countries-e-u.md index 4f7c2c2134..979d7d0219 100644 --- a/docs/examples/1.1.x/server-swift/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.1.x/server-swift/examples/locale/list-countries-e-u.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let locale = Locale(client) diff --git a/docs/examples/1.1.x/server-swift/examples/locale/list-countries-phones.md b/docs/examples/1.1.x/server-swift/examples/locale/list-countries-phones.md index e8ebcbec9a..b5a5acf061 100644 --- a/docs/examples/1.1.x/server-swift/examples/locale/list-countries-phones.md +++ b/docs/examples/1.1.x/server-swift/examples/locale/list-countries-phones.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let locale = Locale(client) diff --git a/docs/examples/1.1.x/server-swift/examples/locale/list-countries.md b/docs/examples/1.1.x/server-swift/examples/locale/list-countries.md index 508a13931a..45d7f1f8f1 100644 --- a/docs/examples/1.1.x/server-swift/examples/locale/list-countries.md +++ b/docs/examples/1.1.x/server-swift/examples/locale/list-countries.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let locale = Locale(client) diff --git a/docs/examples/1.1.x/server-swift/examples/locale/list-currencies.md b/docs/examples/1.1.x/server-swift/examples/locale/list-currencies.md index 8fe57a263e..72e55f2af5 100644 --- a/docs/examples/1.1.x/server-swift/examples/locale/list-currencies.md +++ b/docs/examples/1.1.x/server-swift/examples/locale/list-currencies.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let locale = Locale(client) diff --git a/docs/examples/1.1.x/server-swift/examples/locale/list-languages.md b/docs/examples/1.1.x/server-swift/examples/locale/list-languages.md index 2508c79572..eb7e7c63c1 100644 --- a/docs/examples/1.1.x/server-swift/examples/locale/list-languages.md +++ b/docs/examples/1.1.x/server-swift/examples/locale/list-languages.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let locale = Locale(client) diff --git a/docs/examples/1.1.x/server-swift/examples/storage/create-bucket.md b/docs/examples/1.1.x/server-swift/examples/storage/create-bucket.md index 3d45a638a7..f260164a40 100644 --- a/docs/examples/1.1.x/server-swift/examples/storage/create-bucket.md +++ b/docs/examples/1.1.x/server-swift/examples/storage/create-bucket.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let storage = Storage(client) diff --git a/docs/examples/1.1.x/server-swift/examples/storage/create-file.md b/docs/examples/1.1.x/server-swift/examples/storage/create-file.md index 69159c88c9..c37989129c 100644 --- a/docs/examples/1.1.x/server-swift/examples/storage/create-file.md +++ b/docs/examples/1.1.x/server-swift/examples/storage/create-file.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let storage = Storage(client) diff --git a/docs/examples/1.1.x/server-swift/examples/storage/delete-bucket.md b/docs/examples/1.1.x/server-swift/examples/storage/delete-bucket.md index ec9652671a..b142051e39 100644 --- a/docs/examples/1.1.x/server-swift/examples/storage/delete-bucket.md +++ b/docs/examples/1.1.x/server-swift/examples/storage/delete-bucket.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let storage = Storage(client) diff --git a/docs/examples/1.1.x/server-swift/examples/storage/delete-file.md b/docs/examples/1.1.x/server-swift/examples/storage/delete-file.md index f557f8da2b..3996fdf379 100644 --- a/docs/examples/1.1.x/server-swift/examples/storage/delete-file.md +++ b/docs/examples/1.1.x/server-swift/examples/storage/delete-file.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let storage = Storage(client) diff --git a/docs/examples/1.1.x/server-swift/examples/storage/get-bucket.md b/docs/examples/1.1.x/server-swift/examples/storage/get-bucket.md index e51704c98f..3fff08cdc1 100644 --- a/docs/examples/1.1.x/server-swift/examples/storage/get-bucket.md +++ b/docs/examples/1.1.x/server-swift/examples/storage/get-bucket.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let storage = Storage(client) diff --git a/docs/examples/1.1.x/server-swift/examples/storage/get-file-download.md b/docs/examples/1.1.x/server-swift/examples/storage/get-file-download.md index e71a2408a4..391a51da37 100644 --- a/docs/examples/1.1.x/server-swift/examples/storage/get-file-download.md +++ b/docs/examples/1.1.x/server-swift/examples/storage/get-file-download.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let storage = Storage(client) diff --git a/docs/examples/1.1.x/server-swift/examples/storage/get-file-preview.md b/docs/examples/1.1.x/server-swift/examples/storage/get-file-preview.md index 45b06b9081..4644f8005d 100644 --- a/docs/examples/1.1.x/server-swift/examples/storage/get-file-preview.md +++ b/docs/examples/1.1.x/server-swift/examples/storage/get-file-preview.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let storage = Storage(client) diff --git a/docs/examples/1.1.x/server-swift/examples/storage/get-file-view.md b/docs/examples/1.1.x/server-swift/examples/storage/get-file-view.md index e23670aeb3..cbd2ced90e 100644 --- a/docs/examples/1.1.x/server-swift/examples/storage/get-file-view.md +++ b/docs/examples/1.1.x/server-swift/examples/storage/get-file-view.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let storage = Storage(client) diff --git a/docs/examples/1.1.x/server-swift/examples/storage/get-file.md b/docs/examples/1.1.x/server-swift/examples/storage/get-file.md index 7f6d790b4d..9b9293506e 100644 --- a/docs/examples/1.1.x/server-swift/examples/storage/get-file.md +++ b/docs/examples/1.1.x/server-swift/examples/storage/get-file.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let storage = Storage(client) diff --git a/docs/examples/1.1.x/server-swift/examples/storage/list-buckets.md b/docs/examples/1.1.x/server-swift/examples/storage/list-buckets.md index d0313967e1..8d08f8224f 100644 --- a/docs/examples/1.1.x/server-swift/examples/storage/list-buckets.md +++ b/docs/examples/1.1.x/server-swift/examples/storage/list-buckets.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let storage = Storage(client) diff --git a/docs/examples/1.1.x/server-swift/examples/storage/list-files.md b/docs/examples/1.1.x/server-swift/examples/storage/list-files.md index b7966aac3c..c4ddef2ced 100644 --- a/docs/examples/1.1.x/server-swift/examples/storage/list-files.md +++ b/docs/examples/1.1.x/server-swift/examples/storage/list-files.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let storage = Storage(client) diff --git a/docs/examples/1.1.x/server-swift/examples/storage/update-bucket.md b/docs/examples/1.1.x/server-swift/examples/storage/update-bucket.md index 818913710f..b40294ea19 100644 --- a/docs/examples/1.1.x/server-swift/examples/storage/update-bucket.md +++ b/docs/examples/1.1.x/server-swift/examples/storage/update-bucket.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let storage = Storage(client) diff --git a/docs/examples/1.1.x/server-swift/examples/storage/update-file.md b/docs/examples/1.1.x/server-swift/examples/storage/update-file.md index 3ca3a40dc7..7df3a055c4 100644 --- a/docs/examples/1.1.x/server-swift/examples/storage/update-file.md +++ b/docs/examples/1.1.x/server-swift/examples/storage/update-file.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let storage = Storage(client) diff --git a/docs/examples/1.1.x/server-swift/examples/teams/create-membership.md b/docs/examples/1.1.x/server-swift/examples/teams/create-membership.md index 1ef67dec54..7e780492c1 100644 --- a/docs/examples/1.1.x/server-swift/examples/teams/create-membership.md +++ b/docs/examples/1.1.x/server-swift/examples/teams/create-membership.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let teams = Teams(client) diff --git a/docs/examples/1.1.x/server-swift/examples/teams/create.md b/docs/examples/1.1.x/server-swift/examples/teams/create.md index 8a7f0248cf..07e00ebb46 100644 --- a/docs/examples/1.1.x/server-swift/examples/teams/create.md +++ b/docs/examples/1.1.x/server-swift/examples/teams/create.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let teams = Teams(client) diff --git a/docs/examples/1.1.x/server-swift/examples/teams/delete-membership.md b/docs/examples/1.1.x/server-swift/examples/teams/delete-membership.md index df6703034f..219fcec190 100644 --- a/docs/examples/1.1.x/server-swift/examples/teams/delete-membership.md +++ b/docs/examples/1.1.x/server-swift/examples/teams/delete-membership.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let teams = Teams(client) diff --git a/docs/examples/1.1.x/server-swift/examples/teams/delete.md b/docs/examples/1.1.x/server-swift/examples/teams/delete.md index 53c082653c..c8bdd09b1c 100644 --- a/docs/examples/1.1.x/server-swift/examples/teams/delete.md +++ b/docs/examples/1.1.x/server-swift/examples/teams/delete.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let teams = Teams(client) diff --git a/docs/examples/1.1.x/server-swift/examples/teams/get-membership.md b/docs/examples/1.1.x/server-swift/examples/teams/get-membership.md index 7910ed0468..e60a9f67e9 100644 --- a/docs/examples/1.1.x/server-swift/examples/teams/get-membership.md +++ b/docs/examples/1.1.x/server-swift/examples/teams/get-membership.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let teams = Teams(client) diff --git a/docs/examples/1.1.x/server-swift/examples/teams/get.md b/docs/examples/1.1.x/server-swift/examples/teams/get.md index 13c8c729bc..8d728baebe 100644 --- a/docs/examples/1.1.x/server-swift/examples/teams/get.md +++ b/docs/examples/1.1.x/server-swift/examples/teams/get.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let teams = Teams(client) diff --git a/docs/examples/1.1.x/server-swift/examples/teams/list-memberships.md b/docs/examples/1.1.x/server-swift/examples/teams/list-memberships.md index 1b0ac1ade4..5910ee0a73 100644 --- a/docs/examples/1.1.x/server-swift/examples/teams/list-memberships.md +++ b/docs/examples/1.1.x/server-swift/examples/teams/list-memberships.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let teams = Teams(client) diff --git a/docs/examples/1.1.x/server-swift/examples/teams/list.md b/docs/examples/1.1.x/server-swift/examples/teams/list.md index edfd675378..3673d1be26 100644 --- a/docs/examples/1.1.x/server-swift/examples/teams/list.md +++ b/docs/examples/1.1.x/server-swift/examples/teams/list.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let teams = Teams(client) diff --git a/docs/examples/1.1.x/server-swift/examples/teams/update-membership-roles.md b/docs/examples/1.1.x/server-swift/examples/teams/update-membership-roles.md index 2088ed8628..bbeea25808 100644 --- a/docs/examples/1.1.x/server-swift/examples/teams/update-membership-roles.md +++ b/docs/examples/1.1.x/server-swift/examples/teams/update-membership-roles.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let teams = Teams(client) diff --git a/docs/examples/1.1.x/server-swift/examples/teams/update-membership-status.md b/docs/examples/1.1.x/server-swift/examples/teams/update-membership-status.md index 1b402a6ef0..0b062a8adc 100644 --- a/docs/examples/1.1.x/server-swift/examples/teams/update-membership-status.md +++ b/docs/examples/1.1.x/server-swift/examples/teams/update-membership-status.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token let teams = Teams(client) diff --git a/docs/examples/1.1.x/server-swift/examples/teams/update.md b/docs/examples/1.1.x/server-swift/examples/teams/update.md index a5031fbe66..8866800bb1 100644 --- a/docs/examples/1.1.x/server-swift/examples/teams/update.md +++ b/docs/examples/1.1.x/server-swift/examples/teams/update.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let teams = Teams(client) diff --git a/docs/examples/1.1.x/server-swift/examples/users/create-argon2user.md b/docs/examples/1.1.x/server-swift/examples/users/create-argon2user.md index 37fbb5f5e9..08c8be988c 100644 --- a/docs/examples/1.1.x/server-swift/examples/users/create-argon2user.md +++ b/docs/examples/1.1.x/server-swift/examples/users/create-argon2user.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.1.x/server-swift/examples/users/create-bcrypt-user.md b/docs/examples/1.1.x/server-swift/examples/users/create-bcrypt-user.md index 3221afcb7f..a03b98364f 100644 --- a/docs/examples/1.1.x/server-swift/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.1.x/server-swift/examples/users/create-bcrypt-user.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.1.x/server-swift/examples/users/create-m-d5user.md b/docs/examples/1.1.x/server-swift/examples/users/create-m-d5user.md index ffb6aee7cd..2e0e0c612f 100644 --- a/docs/examples/1.1.x/server-swift/examples/users/create-m-d5user.md +++ b/docs/examples/1.1.x/server-swift/examples/users/create-m-d5user.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.1.x/server-swift/examples/users/create-p-h-pass-user.md b/docs/examples/1.1.x/server-swift/examples/users/create-p-h-pass-user.md index c0103185c7..aec9d06bc6 100644 --- a/docs/examples/1.1.x/server-swift/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.1.x/server-swift/examples/users/create-p-h-pass-user.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.1.x/server-swift/examples/users/create-s-h-a-user.md b/docs/examples/1.1.x/server-swift/examples/users/create-s-h-a-user.md index 5466b08781..5a310eaaf5 100644 --- a/docs/examples/1.1.x/server-swift/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.1.x/server-swift/examples/users/create-s-h-a-user.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.1.x/server-swift/examples/users/create-scrypt-modified-user.md b/docs/examples/1.1.x/server-swift/examples/users/create-scrypt-modified-user.md index 0f6766d2c2..dfa51b2f50 100644 --- a/docs/examples/1.1.x/server-swift/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.1.x/server-swift/examples/users/create-scrypt-modified-user.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.1.x/server-swift/examples/users/create-scrypt-user.md b/docs/examples/1.1.x/server-swift/examples/users/create-scrypt-user.md index 8b958269ad..4550b0bf34 100644 --- a/docs/examples/1.1.x/server-swift/examples/users/create-scrypt-user.md +++ b/docs/examples/1.1.x/server-swift/examples/users/create-scrypt-user.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.1.x/server-swift/examples/users/create.md b/docs/examples/1.1.x/server-swift/examples/users/create.md index c03184d31c..b552d625a0 100644 --- a/docs/examples/1.1.x/server-swift/examples/users/create.md +++ b/docs/examples/1.1.x/server-swift/examples/users/create.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.1.x/server-swift/examples/users/delete-session.md b/docs/examples/1.1.x/server-swift/examples/users/delete-session.md index a811debd60..52116ebb4c 100644 --- a/docs/examples/1.1.x/server-swift/examples/users/delete-session.md +++ b/docs/examples/1.1.x/server-swift/examples/users/delete-session.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.1.x/server-swift/examples/users/delete-sessions.md b/docs/examples/1.1.x/server-swift/examples/users/delete-sessions.md index 9a55a96b16..b65ae3ed1c 100644 --- a/docs/examples/1.1.x/server-swift/examples/users/delete-sessions.md +++ b/docs/examples/1.1.x/server-swift/examples/users/delete-sessions.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.1.x/server-swift/examples/users/delete.md b/docs/examples/1.1.x/server-swift/examples/users/delete.md index 50369f9365..4b148f5713 100644 --- a/docs/examples/1.1.x/server-swift/examples/users/delete.md +++ b/docs/examples/1.1.x/server-swift/examples/users/delete.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.1.x/server-swift/examples/users/get-prefs.md b/docs/examples/1.1.x/server-swift/examples/users/get-prefs.md index e71fab142d..ed7f18cb33 100644 --- a/docs/examples/1.1.x/server-swift/examples/users/get-prefs.md +++ b/docs/examples/1.1.x/server-swift/examples/users/get-prefs.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.1.x/server-swift/examples/users/get.md b/docs/examples/1.1.x/server-swift/examples/users/get.md index 0361712d1f..3f942c1b6c 100644 --- a/docs/examples/1.1.x/server-swift/examples/users/get.md +++ b/docs/examples/1.1.x/server-swift/examples/users/get.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.1.x/server-swift/examples/users/list-logs.md b/docs/examples/1.1.x/server-swift/examples/users/list-logs.md index 281a9b3fbf..2488a702a1 100644 --- a/docs/examples/1.1.x/server-swift/examples/users/list-logs.md +++ b/docs/examples/1.1.x/server-swift/examples/users/list-logs.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.1.x/server-swift/examples/users/list-memberships.md b/docs/examples/1.1.x/server-swift/examples/users/list-memberships.md index 7aff15fd22..98fceaca96 100644 --- a/docs/examples/1.1.x/server-swift/examples/users/list-memberships.md +++ b/docs/examples/1.1.x/server-swift/examples/users/list-memberships.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.1.x/server-swift/examples/users/list-sessions.md b/docs/examples/1.1.x/server-swift/examples/users/list-sessions.md index 75f78558fb..c2e7210fe5 100644 --- a/docs/examples/1.1.x/server-swift/examples/users/list-sessions.md +++ b/docs/examples/1.1.x/server-swift/examples/users/list-sessions.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.1.x/server-swift/examples/users/list.md b/docs/examples/1.1.x/server-swift/examples/users/list.md index b41a7997bc..a7591ebb7b 100644 --- a/docs/examples/1.1.x/server-swift/examples/users/list.md +++ b/docs/examples/1.1.x/server-swift/examples/users/list.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.1.x/server-swift/examples/users/update-email-verification.md b/docs/examples/1.1.x/server-swift/examples/users/update-email-verification.md index 66ae99fef1..386dfaaee1 100644 --- a/docs/examples/1.1.x/server-swift/examples/users/update-email-verification.md +++ b/docs/examples/1.1.x/server-swift/examples/users/update-email-verification.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.1.x/server-swift/examples/users/update-email.md b/docs/examples/1.1.x/server-swift/examples/users/update-email.md index f6850bc5c4..78d4eb0065 100644 --- a/docs/examples/1.1.x/server-swift/examples/users/update-email.md +++ b/docs/examples/1.1.x/server-swift/examples/users/update-email.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.1.x/server-swift/examples/users/update-name.md b/docs/examples/1.1.x/server-swift/examples/users/update-name.md index 7b0524c0ab..79d9fef475 100644 --- a/docs/examples/1.1.x/server-swift/examples/users/update-name.md +++ b/docs/examples/1.1.x/server-swift/examples/users/update-name.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.1.x/server-swift/examples/users/update-password.md b/docs/examples/1.1.x/server-swift/examples/users/update-password.md index af04c24c41..f6cedbe942 100644 --- a/docs/examples/1.1.x/server-swift/examples/users/update-password.md +++ b/docs/examples/1.1.x/server-swift/examples/users/update-password.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.1.x/server-swift/examples/users/update-phone-verification.md b/docs/examples/1.1.x/server-swift/examples/users/update-phone-verification.md index 168cbf352c..8bd4267be2 100644 --- a/docs/examples/1.1.x/server-swift/examples/users/update-phone-verification.md +++ b/docs/examples/1.1.x/server-swift/examples/users/update-phone-verification.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.1.x/server-swift/examples/users/update-phone.md b/docs/examples/1.1.x/server-swift/examples/users/update-phone.md index 2630c8954a..fb7eb0aa3f 100644 --- a/docs/examples/1.1.x/server-swift/examples/users/update-phone.md +++ b/docs/examples/1.1.x/server-swift/examples/users/update-phone.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.1.x/server-swift/examples/users/update-prefs.md b/docs/examples/1.1.x/server-swift/examples/users/update-prefs.md index dbb87bf3b3..f57db9910a 100644 --- a/docs/examples/1.1.x/server-swift/examples/users/update-prefs.md +++ b/docs/examples/1.1.x/server-swift/examples/users/update-prefs.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.1.x/server-swift/examples/users/update-status.md b/docs/examples/1.1.x/server-swift/examples/users/update-status.md index 0fdd543d9f..7224c949d3 100644 --- a/docs/examples/1.1.x/server-swift/examples/users/update-status.md +++ b/docs/examples/1.1.x/server-swift/examples/users/update-status.md @@ -2,7 +2,7 @@ import Appwrite func main() async throws { let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.2.x/client-android/java/account/create-anonymous-session.md b/docs/examples/1.2.x/client-android/java/account/create-anonymous-session.md index 59c76309e7..a52a17d1d0 100644 --- a/docs/examples/1.2.x/client-android/java/account/create-anonymous-session.md +++ b/docs/examples/1.2.x/client-android/java/account/create-anonymous-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.2.x/client-android/java/account/create-email-session.md b/docs/examples/1.2.x/client-android/java/account/create-email-session.md index e3e6fdd007..86fa95f43c 100644 --- a/docs/examples/1.2.x/client-android/java/account/create-email-session.md +++ b/docs/examples/1.2.x/client-android/java/account/create-email-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.2.x/client-android/java/account/create-j-w-t.md b/docs/examples/1.2.x/client-android/java/account/create-j-w-t.md index c312386018..5b68aeb7dd 100644 --- a/docs/examples/1.2.x/client-android/java/account/create-j-w-t.md +++ b/docs/examples/1.2.x/client-android/java/account/create-j-w-t.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.2.x/client-android/java/account/create-magic-u-r-l-session.md b/docs/examples/1.2.x/client-android/java/account/create-magic-u-r-l-session.md index 0ed43dc286..a0b4e86b9f 100644 --- a/docs/examples/1.2.x/client-android/java/account/create-magic-u-r-l-session.md +++ b/docs/examples/1.2.x/client-android/java/account/create-magic-u-r-l-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.2.x/client-android/java/account/create-o-auth2session.md b/docs/examples/1.2.x/client-android/java/account/create-o-auth2session.md index cb9386a848..57870eedbb 100644 --- a/docs/examples/1.2.x/client-android/java/account/create-o-auth2session.md +++ b/docs/examples/1.2.x/client-android/java/account/create-o-auth2session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.2.x/client-android/java/account/create-phone-session.md b/docs/examples/1.2.x/client-android/java/account/create-phone-session.md index df5bc86891..04918325c3 100644 --- a/docs/examples/1.2.x/client-android/java/account/create-phone-session.md +++ b/docs/examples/1.2.x/client-android/java/account/create-phone-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.2.x/client-android/java/account/create-phone-verification.md b/docs/examples/1.2.x/client-android/java/account/create-phone-verification.md index 1545d0f82d..7b7c354fff 100644 --- a/docs/examples/1.2.x/client-android/java/account/create-phone-verification.md +++ b/docs/examples/1.2.x/client-android/java/account/create-phone-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.2.x/client-android/java/account/create-recovery.md b/docs/examples/1.2.x/client-android/java/account/create-recovery.md index 5e8584fc35..955fe451ba 100644 --- a/docs/examples/1.2.x/client-android/java/account/create-recovery.md +++ b/docs/examples/1.2.x/client-android/java/account/create-recovery.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.2.x/client-android/java/account/create-verification.md b/docs/examples/1.2.x/client-android/java/account/create-verification.md index fcea98f66c..3fc9879f3a 100644 --- a/docs/examples/1.2.x/client-android/java/account/create-verification.md +++ b/docs/examples/1.2.x/client-android/java/account/create-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.2.x/client-android/java/account/create.md b/docs/examples/1.2.x/client-android/java/account/create.md index a660b8ae93..83e367eaf3 100644 --- a/docs/examples/1.2.x/client-android/java/account/create.md +++ b/docs/examples/1.2.x/client-android/java/account/create.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.2.x/client-android/java/account/delete-session.md b/docs/examples/1.2.x/client-android/java/account/delete-session.md index 28009d014d..345094fcc2 100644 --- a/docs/examples/1.2.x/client-android/java/account/delete-session.md +++ b/docs/examples/1.2.x/client-android/java/account/delete-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.2.x/client-android/java/account/delete-sessions.md b/docs/examples/1.2.x/client-android/java/account/delete-sessions.md index 6bdc840cff..7be86bea51 100644 --- a/docs/examples/1.2.x/client-android/java/account/delete-sessions.md +++ b/docs/examples/1.2.x/client-android/java/account/delete-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.2.x/client-android/java/account/get-prefs.md b/docs/examples/1.2.x/client-android/java/account/get-prefs.md index 9911ad30a4..2b4f47b504 100644 --- a/docs/examples/1.2.x/client-android/java/account/get-prefs.md +++ b/docs/examples/1.2.x/client-android/java/account/get-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.2.x/client-android/java/account/get-session.md b/docs/examples/1.2.x/client-android/java/account/get-session.md index fecb543782..554bd54598 100644 --- a/docs/examples/1.2.x/client-android/java/account/get-session.md +++ b/docs/examples/1.2.x/client-android/java/account/get-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.2.x/client-android/java/account/get.md b/docs/examples/1.2.x/client-android/java/account/get.md index 2e5f40ad24..d6cf1077f5 100644 --- a/docs/examples/1.2.x/client-android/java/account/get.md +++ b/docs/examples/1.2.x/client-android/java/account/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.2.x/client-android/java/account/list-logs.md b/docs/examples/1.2.x/client-android/java/account/list-logs.md index d2ce790bfe..8fed6547c3 100644 --- a/docs/examples/1.2.x/client-android/java/account/list-logs.md +++ b/docs/examples/1.2.x/client-android/java/account/list-logs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.2.x/client-android/java/account/list-sessions.md b/docs/examples/1.2.x/client-android/java/account/list-sessions.md index 7fd587e1ba..f77b0b387a 100644 --- a/docs/examples/1.2.x/client-android/java/account/list-sessions.md +++ b/docs/examples/1.2.x/client-android/java/account/list-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.2.x/client-android/java/account/update-email.md b/docs/examples/1.2.x/client-android/java/account/update-email.md index 8034ada87d..86ea5207c9 100644 --- a/docs/examples/1.2.x/client-android/java/account/update-email.md +++ b/docs/examples/1.2.x/client-android/java/account/update-email.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.2.x/client-android/java/account/update-magic-u-r-l-session.md b/docs/examples/1.2.x/client-android/java/account/update-magic-u-r-l-session.md index 0f8f2b3c5c..58c491f389 100644 --- a/docs/examples/1.2.x/client-android/java/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.2.x/client-android/java/account/update-magic-u-r-l-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.2.x/client-android/java/account/update-name.md b/docs/examples/1.2.x/client-android/java/account/update-name.md index 5940f93ef2..f10172ee8a 100644 --- a/docs/examples/1.2.x/client-android/java/account/update-name.md +++ b/docs/examples/1.2.x/client-android/java/account/update-name.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.2.x/client-android/java/account/update-password.md b/docs/examples/1.2.x/client-android/java/account/update-password.md index 47d0415d55..d5d342219e 100644 --- a/docs/examples/1.2.x/client-android/java/account/update-password.md +++ b/docs/examples/1.2.x/client-android/java/account/update-password.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.2.x/client-android/java/account/update-phone-session.md b/docs/examples/1.2.x/client-android/java/account/update-phone-session.md index 589e4ff509..ca34b65c1f 100644 --- a/docs/examples/1.2.x/client-android/java/account/update-phone-session.md +++ b/docs/examples/1.2.x/client-android/java/account/update-phone-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.2.x/client-android/java/account/update-phone-verification.md b/docs/examples/1.2.x/client-android/java/account/update-phone-verification.md index 81785f97c2..eb0fcbd9af 100644 --- a/docs/examples/1.2.x/client-android/java/account/update-phone-verification.md +++ b/docs/examples/1.2.x/client-android/java/account/update-phone-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.2.x/client-android/java/account/update-phone.md b/docs/examples/1.2.x/client-android/java/account/update-phone.md index a8572f911c..b1680bb604 100644 --- a/docs/examples/1.2.x/client-android/java/account/update-phone.md +++ b/docs/examples/1.2.x/client-android/java/account/update-phone.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.2.x/client-android/java/account/update-prefs.md b/docs/examples/1.2.x/client-android/java/account/update-prefs.md index ffd5ef03b5..6552f1a68c 100644 --- a/docs/examples/1.2.x/client-android/java/account/update-prefs.md +++ b/docs/examples/1.2.x/client-android/java/account/update-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.2.x/client-android/java/account/update-recovery.md b/docs/examples/1.2.x/client-android/java/account/update-recovery.md index 7b0f392176..d6c17cff3f 100644 --- a/docs/examples/1.2.x/client-android/java/account/update-recovery.md +++ b/docs/examples/1.2.x/client-android/java/account/update-recovery.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.2.x/client-android/java/account/update-session.md b/docs/examples/1.2.x/client-android/java/account/update-session.md index 27b8f00668..4c40264def 100644 --- a/docs/examples/1.2.x/client-android/java/account/update-session.md +++ b/docs/examples/1.2.x/client-android/java/account/update-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.2.x/client-android/java/account/update-status.md b/docs/examples/1.2.x/client-android/java/account/update-status.md index 1e18ded540..42c0d2dd9d 100644 --- a/docs/examples/1.2.x/client-android/java/account/update-status.md +++ b/docs/examples/1.2.x/client-android/java/account/update-status.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.2.x/client-android/java/account/update-verification.md b/docs/examples/1.2.x/client-android/java/account/update-verification.md index d852dbf838..ba1a2cd5e2 100644 --- a/docs/examples/1.2.x/client-android/java/account/update-verification.md +++ b/docs/examples/1.2.x/client-android/java/account/update-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.2.x/client-android/java/avatars/get-browser.md b/docs/examples/1.2.x/client-android/java/avatars/get-browser.md index f072110236..2382d352d6 100644 --- a/docs/examples/1.2.x/client-android/java/avatars/get-browser.md +++ b/docs/examples/1.2.x/client-android/java/avatars/get-browser.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.2.x/client-android/java/avatars/get-credit-card.md b/docs/examples/1.2.x/client-android/java/avatars/get-credit-card.md index 0a73312791..9d3d9c31a3 100644 --- a/docs/examples/1.2.x/client-android/java/avatars/get-credit-card.md +++ b/docs/examples/1.2.x/client-android/java/avatars/get-credit-card.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.2.x/client-android/java/avatars/get-favicon.md b/docs/examples/1.2.x/client-android/java/avatars/get-favicon.md index e0c1cb6b8a..af7be8b226 100644 --- a/docs/examples/1.2.x/client-android/java/avatars/get-favicon.md +++ b/docs/examples/1.2.x/client-android/java/avatars/get-favicon.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.2.x/client-android/java/avatars/get-flag.md b/docs/examples/1.2.x/client-android/java/avatars/get-flag.md index a5f4790640..698813bb1c 100644 --- a/docs/examples/1.2.x/client-android/java/avatars/get-flag.md +++ b/docs/examples/1.2.x/client-android/java/avatars/get-flag.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.2.x/client-android/java/avatars/get-image.md b/docs/examples/1.2.x/client-android/java/avatars/get-image.md index cdc8ac722b..903d93f4d1 100644 --- a/docs/examples/1.2.x/client-android/java/avatars/get-image.md +++ b/docs/examples/1.2.x/client-android/java/avatars/get-image.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.2.x/client-android/java/avatars/get-initials.md b/docs/examples/1.2.x/client-android/java/avatars/get-initials.md index c02490c734..8c5d1452fb 100644 --- a/docs/examples/1.2.x/client-android/java/avatars/get-initials.md +++ b/docs/examples/1.2.x/client-android/java/avatars/get-initials.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.2.x/client-android/java/avatars/get-q-r.md b/docs/examples/1.2.x/client-android/java/avatars/get-q-r.md index 2532f204d8..80d03776ed 100644 --- a/docs/examples/1.2.x/client-android/java/avatars/get-q-r.md +++ b/docs/examples/1.2.x/client-android/java/avatars/get-q-r.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.2.x/client-android/java/databases/create-document.md b/docs/examples/1.2.x/client-android/java/databases/create-document.md index 715e4cdbbe..0be2e146d8 100644 --- a/docs/examples/1.2.x/client-android/java/databases/create-document.md +++ b/docs/examples/1.2.x/client-android/java/databases/create-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Databases databases = new Databases(client); diff --git a/docs/examples/1.2.x/client-android/java/databases/delete-document.md b/docs/examples/1.2.x/client-android/java/databases/delete-document.md index 1387f48687..f941418c08 100644 --- a/docs/examples/1.2.x/client-android/java/databases/delete-document.md +++ b/docs/examples/1.2.x/client-android/java/databases/delete-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Databases databases = new Databases(client); diff --git a/docs/examples/1.2.x/client-android/java/databases/get-document.md b/docs/examples/1.2.x/client-android/java/databases/get-document.md index fdba906d69..560f9bd896 100644 --- a/docs/examples/1.2.x/client-android/java/databases/get-document.md +++ b/docs/examples/1.2.x/client-android/java/databases/get-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Databases databases = new Databases(client); diff --git a/docs/examples/1.2.x/client-android/java/databases/list-documents.md b/docs/examples/1.2.x/client-android/java/databases/list-documents.md index 62dc2c7e29..f4957e7f60 100644 --- a/docs/examples/1.2.x/client-android/java/databases/list-documents.md +++ b/docs/examples/1.2.x/client-android/java/databases/list-documents.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Databases databases = new Databases(client); diff --git a/docs/examples/1.2.x/client-android/java/databases/update-document.md b/docs/examples/1.2.x/client-android/java/databases/update-document.md index d1ed59de3b..0f31cb086d 100644 --- a/docs/examples/1.2.x/client-android/java/databases/update-document.md +++ b/docs/examples/1.2.x/client-android/java/databases/update-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Databases databases = new Databases(client); diff --git a/docs/examples/1.2.x/client-android/java/functions/create-execution.md b/docs/examples/1.2.x/client-android/java/functions/create-execution.md index 3cce1c37be..79cf8c1199 100644 --- a/docs/examples/1.2.x/client-android/java/functions/create-execution.md +++ b/docs/examples/1.2.x/client-android/java/functions/create-execution.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Functions functions = new Functions(client); diff --git a/docs/examples/1.2.x/client-android/java/functions/get-execution.md b/docs/examples/1.2.x/client-android/java/functions/get-execution.md index 459d74394f..496dfe6125 100644 --- a/docs/examples/1.2.x/client-android/java/functions/get-execution.md +++ b/docs/examples/1.2.x/client-android/java/functions/get-execution.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Functions functions = new Functions(client); diff --git a/docs/examples/1.2.x/client-android/java/functions/list-executions.md b/docs/examples/1.2.x/client-android/java/functions/list-executions.md index c1f982b707..6b8c37245e 100644 --- a/docs/examples/1.2.x/client-android/java/functions/list-executions.md +++ b/docs/examples/1.2.x/client-android/java/functions/list-executions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Functions functions = new Functions(client); diff --git a/docs/examples/1.2.x/client-android/java/graphql/63a08ed7385a4.md b/docs/examples/1.2.x/client-android/java/graphql/63a08ed7385a4.md index b5e597eedd..d36f03722f 100644 --- a/docs/examples/1.2.x/client-android/java/graphql/63a08ed7385a4.md +++ b/docs/examples/1.2.x/client-android/java/graphql/63a08ed7385a4.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Graphql; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Graphql graphql = new Graphql(client); diff --git a/docs/examples/1.2.x/client-android/java/graphql/get.md b/docs/examples/1.2.x/client-android/java/graphql/get.md index ff76ead3b7..829f6e433b 100644 --- a/docs/examples/1.2.x/client-android/java/graphql/get.md +++ b/docs/examples/1.2.x/client-android/java/graphql/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Graphql; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Graphql graphql = new Graphql(client); diff --git a/docs/examples/1.2.x/client-android/java/graphql/mutation.md b/docs/examples/1.2.x/client-android/java/graphql/mutation.md index 262e513bed..3028bf105a 100644 --- a/docs/examples/1.2.x/client-android/java/graphql/mutation.md +++ b/docs/examples/1.2.x/client-android/java/graphql/mutation.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Graphql; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Graphql graphql = new Graphql(client); diff --git a/docs/examples/1.2.x/client-android/java/graphql/query.md b/docs/examples/1.2.x/client-android/java/graphql/query.md index 4291b4735f..8215c674be 100644 --- a/docs/examples/1.2.x/client-android/java/graphql/query.md +++ b/docs/examples/1.2.x/client-android/java/graphql/query.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Graphql; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Graphql graphql = new Graphql(client); diff --git a/docs/examples/1.2.x/client-android/java/locale/get.md b/docs/examples/1.2.x/client-android/java/locale/get.md index 4d14be6d73..443f5e29b5 100644 --- a/docs/examples/1.2.x/client-android/java/locale/get.md +++ b/docs/examples/1.2.x/client-android/java/locale/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.2.x/client-android/java/locale/list-continents.md b/docs/examples/1.2.x/client-android/java/locale/list-continents.md index 6abe97a0a0..47d11d7348 100644 --- a/docs/examples/1.2.x/client-android/java/locale/list-continents.md +++ b/docs/examples/1.2.x/client-android/java/locale/list-continents.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.2.x/client-android/java/locale/list-countries-e-u.md b/docs/examples/1.2.x/client-android/java/locale/list-countries-e-u.md index 3c5ca3ae8c..0f010e71f3 100644 --- a/docs/examples/1.2.x/client-android/java/locale/list-countries-e-u.md +++ b/docs/examples/1.2.x/client-android/java/locale/list-countries-e-u.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.2.x/client-android/java/locale/list-countries-phones.md b/docs/examples/1.2.x/client-android/java/locale/list-countries-phones.md index 81ef94d702..0ff5e0a14e 100644 --- a/docs/examples/1.2.x/client-android/java/locale/list-countries-phones.md +++ b/docs/examples/1.2.x/client-android/java/locale/list-countries-phones.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.2.x/client-android/java/locale/list-countries.md b/docs/examples/1.2.x/client-android/java/locale/list-countries.md index dc0d5f52c4..754507d56b 100644 --- a/docs/examples/1.2.x/client-android/java/locale/list-countries.md +++ b/docs/examples/1.2.x/client-android/java/locale/list-countries.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.2.x/client-android/java/locale/list-currencies.md b/docs/examples/1.2.x/client-android/java/locale/list-currencies.md index 7a327b38ae..8266537550 100644 --- a/docs/examples/1.2.x/client-android/java/locale/list-currencies.md +++ b/docs/examples/1.2.x/client-android/java/locale/list-currencies.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.2.x/client-android/java/locale/list-languages.md b/docs/examples/1.2.x/client-android/java/locale/list-languages.md index 0688614b6d..ad8d092a16 100644 --- a/docs/examples/1.2.x/client-android/java/locale/list-languages.md +++ b/docs/examples/1.2.x/client-android/java/locale/list-languages.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.2.x/client-android/java/storage/create-file.md b/docs/examples/1.2.x/client-android/java/storage/create-file.md index 732b302f63..88fdd64a10 100644 --- a/docs/examples/1.2.x/client-android/java/storage/create-file.md +++ b/docs/examples/1.2.x/client-android/java/storage/create-file.md @@ -4,7 +4,7 @@ import io.appwrite.models.InputFile; import io.appwrite.services.Storage; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.2.x/client-android/java/storage/delete-file.md b/docs/examples/1.2.x/client-android/java/storage/delete-file.md index 69a0f0f844..90e98d3f0c 100644 --- a/docs/examples/1.2.x/client-android/java/storage/delete-file.md +++ b/docs/examples/1.2.x/client-android/java/storage/delete-file.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.2.x/client-android/java/storage/get-file-download.md b/docs/examples/1.2.x/client-android/java/storage/get-file-download.md index 2ab30dce5a..5c92a9b27d 100644 --- a/docs/examples/1.2.x/client-android/java/storage/get-file-download.md +++ b/docs/examples/1.2.x/client-android/java/storage/get-file-download.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.2.x/client-android/java/storage/get-file-preview.md b/docs/examples/1.2.x/client-android/java/storage/get-file-preview.md index 483f2fca16..519b03f73b 100644 --- a/docs/examples/1.2.x/client-android/java/storage/get-file-preview.md +++ b/docs/examples/1.2.x/client-android/java/storage/get-file-preview.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.2.x/client-android/java/storage/get-file-view.md b/docs/examples/1.2.x/client-android/java/storage/get-file-view.md index 5614b694a5..376428309b 100644 --- a/docs/examples/1.2.x/client-android/java/storage/get-file-view.md +++ b/docs/examples/1.2.x/client-android/java/storage/get-file-view.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.2.x/client-android/java/storage/get-file.md b/docs/examples/1.2.x/client-android/java/storage/get-file.md index 4ae0de0d9a..61d6e9f03a 100644 --- a/docs/examples/1.2.x/client-android/java/storage/get-file.md +++ b/docs/examples/1.2.x/client-android/java/storage/get-file.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.2.x/client-android/java/storage/list-files.md b/docs/examples/1.2.x/client-android/java/storage/list-files.md index dedfb6c100..345e43fd14 100644 --- a/docs/examples/1.2.x/client-android/java/storage/list-files.md +++ b/docs/examples/1.2.x/client-android/java/storage/list-files.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.2.x/client-android/java/storage/update-file.md b/docs/examples/1.2.x/client-android/java/storage/update-file.md index 9b4dd92266..92024cfdd6 100644 --- a/docs/examples/1.2.x/client-android/java/storage/update-file.md +++ b/docs/examples/1.2.x/client-android/java/storage/update-file.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.2.x/client-android/java/teams/create-membership.md b/docs/examples/1.2.x/client-android/java/teams/create-membership.md index 32897449fc..758d7a3f66 100644 --- a/docs/examples/1.2.x/client-android/java/teams/create-membership.md +++ b/docs/examples/1.2.x/client-android/java/teams/create-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.2.x/client-android/java/teams/create.md b/docs/examples/1.2.x/client-android/java/teams/create.md index 263fa57be7..5a9dd741db 100644 --- a/docs/examples/1.2.x/client-android/java/teams/create.md +++ b/docs/examples/1.2.x/client-android/java/teams/create.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.2.x/client-android/java/teams/delete-membership.md b/docs/examples/1.2.x/client-android/java/teams/delete-membership.md index 40f28f0c21..0babc74b4d 100644 --- a/docs/examples/1.2.x/client-android/java/teams/delete-membership.md +++ b/docs/examples/1.2.x/client-android/java/teams/delete-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.2.x/client-android/java/teams/delete.md b/docs/examples/1.2.x/client-android/java/teams/delete.md index 5b4c378b5e..aa7425b365 100644 --- a/docs/examples/1.2.x/client-android/java/teams/delete.md +++ b/docs/examples/1.2.x/client-android/java/teams/delete.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.2.x/client-android/java/teams/get-membership.md b/docs/examples/1.2.x/client-android/java/teams/get-membership.md index f2f1d99ae0..f7a6a10d97 100644 --- a/docs/examples/1.2.x/client-android/java/teams/get-membership.md +++ b/docs/examples/1.2.x/client-android/java/teams/get-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.2.x/client-android/java/teams/get.md b/docs/examples/1.2.x/client-android/java/teams/get.md index 549af20d34..62af7c2201 100644 --- a/docs/examples/1.2.x/client-android/java/teams/get.md +++ b/docs/examples/1.2.x/client-android/java/teams/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.2.x/client-android/java/teams/list-memberships.md b/docs/examples/1.2.x/client-android/java/teams/list-memberships.md index 3da4e33d51..65d1bf6e96 100644 --- a/docs/examples/1.2.x/client-android/java/teams/list-memberships.md +++ b/docs/examples/1.2.x/client-android/java/teams/list-memberships.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.2.x/client-android/java/teams/list.md b/docs/examples/1.2.x/client-android/java/teams/list.md index b20ad4a211..a8d4f12d77 100644 --- a/docs/examples/1.2.x/client-android/java/teams/list.md +++ b/docs/examples/1.2.x/client-android/java/teams/list.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.2.x/client-android/java/teams/update-membership-roles.md b/docs/examples/1.2.x/client-android/java/teams/update-membership-roles.md index da5f6d8d59..2fc57ebfd9 100644 --- a/docs/examples/1.2.x/client-android/java/teams/update-membership-roles.md +++ b/docs/examples/1.2.x/client-android/java/teams/update-membership-roles.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.2.x/client-android/java/teams/update-membership-status.md b/docs/examples/1.2.x/client-android/java/teams/update-membership-status.md index 499251f21f..1a0748149f 100644 --- a/docs/examples/1.2.x/client-android/java/teams/update-membership-status.md +++ b/docs/examples/1.2.x/client-android/java/teams/update-membership-status.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.2.x/client-android/java/teams/update.md b/docs/examples/1.2.x/client-android/java/teams/update.md index 3ed2c32285..ab480f9423 100644 --- a/docs/examples/1.2.x/client-android/java/teams/update.md +++ b/docs/examples/1.2.x/client-android/java/teams/update.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.2.x/client-android/kotlin/account/create-anonymous-session.md b/docs/examples/1.2.x/client-android/kotlin/account/create-anonymous-session.md index cdcf401ed9..f0d574304d 100644 --- a/docs/examples/1.2.x/client-android/kotlin/account/create-anonymous-session.md +++ b/docs/examples/1.2.x/client-android/kotlin/account/create-anonymous-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/account/create-email-session.md b/docs/examples/1.2.x/client-android/kotlin/account/create-email-session.md index ab8d581fd1..e7b438f8cc 100644 --- a/docs/examples/1.2.x/client-android/kotlin/account/create-email-session.md +++ b/docs/examples/1.2.x/client-android/kotlin/account/create-email-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/account/create-j-w-t.md b/docs/examples/1.2.x/client-android/kotlin/account/create-j-w-t.md index 35e7a6ffd4..3e1f2e011a 100644 --- a/docs/examples/1.2.x/client-android/kotlin/account/create-j-w-t.md +++ b/docs/examples/1.2.x/client-android/kotlin/account/create-j-w-t.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/account/create-magic-u-r-l-session.md b/docs/examples/1.2.x/client-android/kotlin/account/create-magic-u-r-l-session.md index 51368b5392..88146d0732 100644 --- a/docs/examples/1.2.x/client-android/kotlin/account/create-magic-u-r-l-session.md +++ b/docs/examples/1.2.x/client-android/kotlin/account/create-magic-u-r-l-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/account/create-o-auth2session.md b/docs/examples/1.2.x/client-android/kotlin/account/create-o-auth2session.md index 395bfada00..f3bf8145e4 100644 --- a/docs/examples/1.2.x/client-android/kotlin/account/create-o-auth2session.md +++ b/docs/examples/1.2.x/client-android/kotlin/account/create-o-auth2session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/account/create-phone-session.md b/docs/examples/1.2.x/client-android/kotlin/account/create-phone-session.md index eed6f7a2e2..b87e421f8b 100644 --- a/docs/examples/1.2.x/client-android/kotlin/account/create-phone-session.md +++ b/docs/examples/1.2.x/client-android/kotlin/account/create-phone-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/account/create-phone-verification.md b/docs/examples/1.2.x/client-android/kotlin/account/create-phone-verification.md index 12fb9f74e8..8dded67ac3 100644 --- a/docs/examples/1.2.x/client-android/kotlin/account/create-phone-verification.md +++ b/docs/examples/1.2.x/client-android/kotlin/account/create-phone-verification.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/account/create-recovery.md b/docs/examples/1.2.x/client-android/kotlin/account/create-recovery.md index 7d73a671dd..70d55639c3 100644 --- a/docs/examples/1.2.x/client-android/kotlin/account/create-recovery.md +++ b/docs/examples/1.2.x/client-android/kotlin/account/create-recovery.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/account/create-verification.md b/docs/examples/1.2.x/client-android/kotlin/account/create-verification.md index b3dc43ac48..a7c8f11cac 100644 --- a/docs/examples/1.2.x/client-android/kotlin/account/create-verification.md +++ b/docs/examples/1.2.x/client-android/kotlin/account/create-verification.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/account/create.md b/docs/examples/1.2.x/client-android/kotlin/account/create.md index 4a9f2d68fb..631be02b57 100644 --- a/docs/examples/1.2.x/client-android/kotlin/account/create.md +++ b/docs/examples/1.2.x/client-android/kotlin/account/create.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/account/delete-session.md b/docs/examples/1.2.x/client-android/kotlin/account/delete-session.md index a98a28661b..5e22b53369 100644 --- a/docs/examples/1.2.x/client-android/kotlin/account/delete-session.md +++ b/docs/examples/1.2.x/client-android/kotlin/account/delete-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/account/delete-sessions.md b/docs/examples/1.2.x/client-android/kotlin/account/delete-sessions.md index c9afbf1345..e90c2a9348 100644 --- a/docs/examples/1.2.x/client-android/kotlin/account/delete-sessions.md +++ b/docs/examples/1.2.x/client-android/kotlin/account/delete-sessions.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/account/get-prefs.md b/docs/examples/1.2.x/client-android/kotlin/account/get-prefs.md index bd3f81a23f..01c128266b 100644 --- a/docs/examples/1.2.x/client-android/kotlin/account/get-prefs.md +++ b/docs/examples/1.2.x/client-android/kotlin/account/get-prefs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/account/get-session.md b/docs/examples/1.2.x/client-android/kotlin/account/get-session.md index d6d6c72eac..f150d0fb2f 100644 --- a/docs/examples/1.2.x/client-android/kotlin/account/get-session.md +++ b/docs/examples/1.2.x/client-android/kotlin/account/get-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/account/get.md b/docs/examples/1.2.x/client-android/kotlin/account/get.md index 4c8f0be9de..83f7f8789d 100644 --- a/docs/examples/1.2.x/client-android/kotlin/account/get.md +++ b/docs/examples/1.2.x/client-android/kotlin/account/get.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/account/list-logs.md b/docs/examples/1.2.x/client-android/kotlin/account/list-logs.md index eb337caec0..d9f569f320 100644 --- a/docs/examples/1.2.x/client-android/kotlin/account/list-logs.md +++ b/docs/examples/1.2.x/client-android/kotlin/account/list-logs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/account/list-sessions.md b/docs/examples/1.2.x/client-android/kotlin/account/list-sessions.md index cd9f63bc3c..2969326917 100644 --- a/docs/examples/1.2.x/client-android/kotlin/account/list-sessions.md +++ b/docs/examples/1.2.x/client-android/kotlin/account/list-sessions.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/account/update-email.md b/docs/examples/1.2.x/client-android/kotlin/account/update-email.md index 85a0242591..dcc9b822b6 100644 --- a/docs/examples/1.2.x/client-android/kotlin/account/update-email.md +++ b/docs/examples/1.2.x/client-android/kotlin/account/update-email.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/account/update-magic-u-r-l-session.md b/docs/examples/1.2.x/client-android/kotlin/account/update-magic-u-r-l-session.md index c7286ba6c8..c0e7f40811 100644 --- a/docs/examples/1.2.x/client-android/kotlin/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.2.x/client-android/kotlin/account/update-magic-u-r-l-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/account/update-name.md b/docs/examples/1.2.x/client-android/kotlin/account/update-name.md index 574f4938d8..18b631b1d5 100644 --- a/docs/examples/1.2.x/client-android/kotlin/account/update-name.md +++ b/docs/examples/1.2.x/client-android/kotlin/account/update-name.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/account/update-password.md b/docs/examples/1.2.x/client-android/kotlin/account/update-password.md index b7e9bfe905..60de660132 100644 --- a/docs/examples/1.2.x/client-android/kotlin/account/update-password.md +++ b/docs/examples/1.2.x/client-android/kotlin/account/update-password.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/account/update-phone-session.md b/docs/examples/1.2.x/client-android/kotlin/account/update-phone-session.md index d3b02e04ce..39be2c4f5f 100644 --- a/docs/examples/1.2.x/client-android/kotlin/account/update-phone-session.md +++ b/docs/examples/1.2.x/client-android/kotlin/account/update-phone-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/account/update-phone-verification.md b/docs/examples/1.2.x/client-android/kotlin/account/update-phone-verification.md index 0314f74223..4dc6c63915 100644 --- a/docs/examples/1.2.x/client-android/kotlin/account/update-phone-verification.md +++ b/docs/examples/1.2.x/client-android/kotlin/account/update-phone-verification.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/account/update-phone.md b/docs/examples/1.2.x/client-android/kotlin/account/update-phone.md index 76eb8aac5e..39d420b197 100644 --- a/docs/examples/1.2.x/client-android/kotlin/account/update-phone.md +++ b/docs/examples/1.2.x/client-android/kotlin/account/update-phone.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/account/update-prefs.md b/docs/examples/1.2.x/client-android/kotlin/account/update-prefs.md index f16e40ba41..beb8e6e2dd 100644 --- a/docs/examples/1.2.x/client-android/kotlin/account/update-prefs.md +++ b/docs/examples/1.2.x/client-android/kotlin/account/update-prefs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/account/update-recovery.md b/docs/examples/1.2.x/client-android/kotlin/account/update-recovery.md index 9682899bcb..e2f5665116 100644 --- a/docs/examples/1.2.x/client-android/kotlin/account/update-recovery.md +++ b/docs/examples/1.2.x/client-android/kotlin/account/update-recovery.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/account/update-session.md b/docs/examples/1.2.x/client-android/kotlin/account/update-session.md index e9e83d0cb0..74bf0a235e 100644 --- a/docs/examples/1.2.x/client-android/kotlin/account/update-session.md +++ b/docs/examples/1.2.x/client-android/kotlin/account/update-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/account/update-status.md b/docs/examples/1.2.x/client-android/kotlin/account/update-status.md index f7789ea237..4637918887 100644 --- a/docs/examples/1.2.x/client-android/kotlin/account/update-status.md +++ b/docs/examples/1.2.x/client-android/kotlin/account/update-status.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/account/update-verification.md b/docs/examples/1.2.x/client-android/kotlin/account/update-verification.md index af800c1fc5..de3bf1bfe3 100644 --- a/docs/examples/1.2.x/client-android/kotlin/account/update-verification.md +++ b/docs/examples/1.2.x/client-android/kotlin/account/update-verification.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/avatars/get-browser.md b/docs/examples/1.2.x/client-android/kotlin/avatars/get-browser.md index b1b2d08183..9d65c62b1c 100644 --- a/docs/examples/1.2.x/client-android/kotlin/avatars/get-browser.md +++ b/docs/examples/1.2.x/client-android/kotlin/avatars/get-browser.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/avatars/get-credit-card.md b/docs/examples/1.2.x/client-android/kotlin/avatars/get-credit-card.md index 411e05ae51..7265ea284c 100644 --- a/docs/examples/1.2.x/client-android/kotlin/avatars/get-credit-card.md +++ b/docs/examples/1.2.x/client-android/kotlin/avatars/get-credit-card.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/avatars/get-favicon.md b/docs/examples/1.2.x/client-android/kotlin/avatars/get-favicon.md index 1a4b217fa4..144c95a5c5 100644 --- a/docs/examples/1.2.x/client-android/kotlin/avatars/get-favicon.md +++ b/docs/examples/1.2.x/client-android/kotlin/avatars/get-favicon.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/avatars/get-flag.md b/docs/examples/1.2.x/client-android/kotlin/avatars/get-flag.md index 5c882d6018..82cd216677 100644 --- a/docs/examples/1.2.x/client-android/kotlin/avatars/get-flag.md +++ b/docs/examples/1.2.x/client-android/kotlin/avatars/get-flag.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/avatars/get-image.md b/docs/examples/1.2.x/client-android/kotlin/avatars/get-image.md index 20d8dff13c..05bdc47199 100644 --- a/docs/examples/1.2.x/client-android/kotlin/avatars/get-image.md +++ b/docs/examples/1.2.x/client-android/kotlin/avatars/get-image.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/avatars/get-initials.md b/docs/examples/1.2.x/client-android/kotlin/avatars/get-initials.md index 70ef9b2909..6b1d95a22a 100644 --- a/docs/examples/1.2.x/client-android/kotlin/avatars/get-initials.md +++ b/docs/examples/1.2.x/client-android/kotlin/avatars/get-initials.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/avatars/get-q-r.md b/docs/examples/1.2.x/client-android/kotlin/avatars/get-q-r.md index 92b17e1163..8d6aae60f7 100644 --- a/docs/examples/1.2.x/client-android/kotlin/avatars/get-q-r.md +++ b/docs/examples/1.2.x/client-android/kotlin/avatars/get-q-r.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/databases/create-document.md b/docs/examples/1.2.x/client-android/kotlin/databases/create-document.md index d7f1991d39..99e042cc69 100644 --- a/docs/examples/1.2.x/client-android/kotlin/databases/create-document.md +++ b/docs/examples/1.2.x/client-android/kotlin/databases/create-document.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val databases = Databases(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/databases/delete-document.md b/docs/examples/1.2.x/client-android/kotlin/databases/delete-document.md index c5bf2a2707..1a150b8c9b 100644 --- a/docs/examples/1.2.x/client-android/kotlin/databases/delete-document.md +++ b/docs/examples/1.2.x/client-android/kotlin/databases/delete-document.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val databases = Databases(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/databases/get-document.md b/docs/examples/1.2.x/client-android/kotlin/databases/get-document.md index 5bab104812..120ab5f01e 100644 --- a/docs/examples/1.2.x/client-android/kotlin/databases/get-document.md +++ b/docs/examples/1.2.x/client-android/kotlin/databases/get-document.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val databases = Databases(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/databases/list-documents.md b/docs/examples/1.2.x/client-android/kotlin/databases/list-documents.md index f97d8787c9..5e3a8d6231 100644 --- a/docs/examples/1.2.x/client-android/kotlin/databases/list-documents.md +++ b/docs/examples/1.2.x/client-android/kotlin/databases/list-documents.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val databases = Databases(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/databases/update-document.md b/docs/examples/1.2.x/client-android/kotlin/databases/update-document.md index 3820b8965c..c6186d7789 100644 --- a/docs/examples/1.2.x/client-android/kotlin/databases/update-document.md +++ b/docs/examples/1.2.x/client-android/kotlin/databases/update-document.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val databases = Databases(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/functions/create-execution.md b/docs/examples/1.2.x/client-android/kotlin/functions/create-execution.md index 77d4587755..4bf08c8436 100644 --- a/docs/examples/1.2.x/client-android/kotlin/functions/create-execution.md +++ b/docs/examples/1.2.x/client-android/kotlin/functions/create-execution.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val functions = Functions(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/functions/get-execution.md b/docs/examples/1.2.x/client-android/kotlin/functions/get-execution.md index b57668679f..a6488876ed 100644 --- a/docs/examples/1.2.x/client-android/kotlin/functions/get-execution.md +++ b/docs/examples/1.2.x/client-android/kotlin/functions/get-execution.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val functions = Functions(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/functions/list-executions.md b/docs/examples/1.2.x/client-android/kotlin/functions/list-executions.md index 14b613f703..7a0ebbf04a 100644 --- a/docs/examples/1.2.x/client-android/kotlin/functions/list-executions.md +++ b/docs/examples/1.2.x/client-android/kotlin/functions/list-executions.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val functions = Functions(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/graphql/63a08ed7385a4.md b/docs/examples/1.2.x/client-android/kotlin/graphql/63a08ed7385a4.md index 9414eb1c3c..263493e764 100644 --- a/docs/examples/1.2.x/client-android/kotlin/graphql/63a08ed7385a4.md +++ b/docs/examples/1.2.x/client-android/kotlin/graphql/63a08ed7385a4.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Graphql val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val graphql = Graphql(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/graphql/get.md b/docs/examples/1.2.x/client-android/kotlin/graphql/get.md index c1db8fa77c..107c838fb1 100644 --- a/docs/examples/1.2.x/client-android/kotlin/graphql/get.md +++ b/docs/examples/1.2.x/client-android/kotlin/graphql/get.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Graphql val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val graphql = Graphql(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/graphql/mutation.md b/docs/examples/1.2.x/client-android/kotlin/graphql/mutation.md index dc37a3e640..ff5165a1c6 100644 --- a/docs/examples/1.2.x/client-android/kotlin/graphql/mutation.md +++ b/docs/examples/1.2.x/client-android/kotlin/graphql/mutation.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Graphql val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val graphql = Graphql(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/graphql/query.md b/docs/examples/1.2.x/client-android/kotlin/graphql/query.md index d821070922..6b4c11190e 100644 --- a/docs/examples/1.2.x/client-android/kotlin/graphql/query.md +++ b/docs/examples/1.2.x/client-android/kotlin/graphql/query.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Graphql val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val graphql = Graphql(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/locale/get.md b/docs/examples/1.2.x/client-android/kotlin/locale/get.md index a2044c7257..f07d3cf7eb 100644 --- a/docs/examples/1.2.x/client-android/kotlin/locale/get.md +++ b/docs/examples/1.2.x/client-android/kotlin/locale/get.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/locale/list-continents.md b/docs/examples/1.2.x/client-android/kotlin/locale/list-continents.md index 610747ee13..5fc344d170 100644 --- a/docs/examples/1.2.x/client-android/kotlin/locale/list-continents.md +++ b/docs/examples/1.2.x/client-android/kotlin/locale/list-continents.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/locale/list-countries-e-u.md b/docs/examples/1.2.x/client-android/kotlin/locale/list-countries-e-u.md index fa5483f0b0..691a9583fd 100644 --- a/docs/examples/1.2.x/client-android/kotlin/locale/list-countries-e-u.md +++ b/docs/examples/1.2.x/client-android/kotlin/locale/list-countries-e-u.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/locale/list-countries-phones.md b/docs/examples/1.2.x/client-android/kotlin/locale/list-countries-phones.md index 6aba463a38..6ef8dcd7ac 100644 --- a/docs/examples/1.2.x/client-android/kotlin/locale/list-countries-phones.md +++ b/docs/examples/1.2.x/client-android/kotlin/locale/list-countries-phones.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/locale/list-countries.md b/docs/examples/1.2.x/client-android/kotlin/locale/list-countries.md index c58456b0f5..4dcc23e85e 100644 --- a/docs/examples/1.2.x/client-android/kotlin/locale/list-countries.md +++ b/docs/examples/1.2.x/client-android/kotlin/locale/list-countries.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/locale/list-currencies.md b/docs/examples/1.2.x/client-android/kotlin/locale/list-currencies.md index 2cf064402a..f9fb666379 100644 --- a/docs/examples/1.2.x/client-android/kotlin/locale/list-currencies.md +++ b/docs/examples/1.2.x/client-android/kotlin/locale/list-currencies.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/locale/list-languages.md b/docs/examples/1.2.x/client-android/kotlin/locale/list-languages.md index afc00b1e77..cdbcaa6f07 100644 --- a/docs/examples/1.2.x/client-android/kotlin/locale/list-languages.md +++ b/docs/examples/1.2.x/client-android/kotlin/locale/list-languages.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/storage/create-file.md b/docs/examples/1.2.x/client-android/kotlin/storage/create-file.md index 7bb79ac11e..60a80bb633 100644 --- a/docs/examples/1.2.x/client-android/kotlin/storage/create-file.md +++ b/docs/examples/1.2.x/client-android/kotlin/storage/create-file.md @@ -3,7 +3,7 @@ import io.appwrite.models.InputFile import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/storage/delete-file.md b/docs/examples/1.2.x/client-android/kotlin/storage/delete-file.md index 9430d7efe3..e4f094062b 100644 --- a/docs/examples/1.2.x/client-android/kotlin/storage/delete-file.md +++ b/docs/examples/1.2.x/client-android/kotlin/storage/delete-file.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/storage/get-file-download.md b/docs/examples/1.2.x/client-android/kotlin/storage/get-file-download.md index 85bd22c9c1..ccc23d23fb 100644 --- a/docs/examples/1.2.x/client-android/kotlin/storage/get-file-download.md +++ b/docs/examples/1.2.x/client-android/kotlin/storage/get-file-download.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/storage/get-file-preview.md b/docs/examples/1.2.x/client-android/kotlin/storage/get-file-preview.md index c5bbdef419..5338b3ce45 100644 --- a/docs/examples/1.2.x/client-android/kotlin/storage/get-file-preview.md +++ b/docs/examples/1.2.x/client-android/kotlin/storage/get-file-preview.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/storage/get-file-view.md b/docs/examples/1.2.x/client-android/kotlin/storage/get-file-view.md index 7e7589c079..acba4607d7 100644 --- a/docs/examples/1.2.x/client-android/kotlin/storage/get-file-view.md +++ b/docs/examples/1.2.x/client-android/kotlin/storage/get-file-view.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/storage/get-file.md b/docs/examples/1.2.x/client-android/kotlin/storage/get-file.md index 8fb6e244e8..14d7425c56 100644 --- a/docs/examples/1.2.x/client-android/kotlin/storage/get-file.md +++ b/docs/examples/1.2.x/client-android/kotlin/storage/get-file.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/storage/list-files.md b/docs/examples/1.2.x/client-android/kotlin/storage/list-files.md index 191a3cc97c..258daaf374 100644 --- a/docs/examples/1.2.x/client-android/kotlin/storage/list-files.md +++ b/docs/examples/1.2.x/client-android/kotlin/storage/list-files.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/storage/update-file.md b/docs/examples/1.2.x/client-android/kotlin/storage/update-file.md index 005270f3e4..b5cc0d2998 100644 --- a/docs/examples/1.2.x/client-android/kotlin/storage/update-file.md +++ b/docs/examples/1.2.x/client-android/kotlin/storage/update-file.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/teams/create-membership.md b/docs/examples/1.2.x/client-android/kotlin/teams/create-membership.md index 10e71d387a..380d06a063 100644 --- a/docs/examples/1.2.x/client-android/kotlin/teams/create-membership.md +++ b/docs/examples/1.2.x/client-android/kotlin/teams/create-membership.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/teams/create.md b/docs/examples/1.2.x/client-android/kotlin/teams/create.md index 5e70bd8df0..2fa3cff014 100644 --- a/docs/examples/1.2.x/client-android/kotlin/teams/create.md +++ b/docs/examples/1.2.x/client-android/kotlin/teams/create.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/teams/delete-membership.md b/docs/examples/1.2.x/client-android/kotlin/teams/delete-membership.md index 04ef5d3490..56157f296b 100644 --- a/docs/examples/1.2.x/client-android/kotlin/teams/delete-membership.md +++ b/docs/examples/1.2.x/client-android/kotlin/teams/delete-membership.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/teams/delete.md b/docs/examples/1.2.x/client-android/kotlin/teams/delete.md index 7d58960e7c..149c120375 100644 --- a/docs/examples/1.2.x/client-android/kotlin/teams/delete.md +++ b/docs/examples/1.2.x/client-android/kotlin/teams/delete.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/teams/get-membership.md b/docs/examples/1.2.x/client-android/kotlin/teams/get-membership.md index 653bd520fa..78420a121e 100644 --- a/docs/examples/1.2.x/client-android/kotlin/teams/get-membership.md +++ b/docs/examples/1.2.x/client-android/kotlin/teams/get-membership.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/teams/get.md b/docs/examples/1.2.x/client-android/kotlin/teams/get.md index 72aea07f30..7997e5aa2b 100644 --- a/docs/examples/1.2.x/client-android/kotlin/teams/get.md +++ b/docs/examples/1.2.x/client-android/kotlin/teams/get.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/teams/list-memberships.md b/docs/examples/1.2.x/client-android/kotlin/teams/list-memberships.md index 53bd6f3b65..79db9e5798 100644 --- a/docs/examples/1.2.x/client-android/kotlin/teams/list-memberships.md +++ b/docs/examples/1.2.x/client-android/kotlin/teams/list-memberships.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/teams/list.md b/docs/examples/1.2.x/client-android/kotlin/teams/list.md index 57c5fe8354..29b4d655e5 100644 --- a/docs/examples/1.2.x/client-android/kotlin/teams/list.md +++ b/docs/examples/1.2.x/client-android/kotlin/teams/list.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/teams/update-membership-roles.md b/docs/examples/1.2.x/client-android/kotlin/teams/update-membership-roles.md index 1570e9df4a..299cbb7e63 100644 --- a/docs/examples/1.2.x/client-android/kotlin/teams/update-membership-roles.md +++ b/docs/examples/1.2.x/client-android/kotlin/teams/update-membership-roles.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/teams/update-membership-status.md b/docs/examples/1.2.x/client-android/kotlin/teams/update-membership-status.md index 33de006871..e1a3b53df5 100644 --- a/docs/examples/1.2.x/client-android/kotlin/teams/update-membership-status.md +++ b/docs/examples/1.2.x/client-android/kotlin/teams/update-membership-status.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.2.x/client-android/kotlin/teams/update.md b/docs/examples/1.2.x/client-android/kotlin/teams/update.md index ba215c7095..f594fd198d 100644 --- a/docs/examples/1.2.x/client-android/kotlin/teams/update.md +++ b/docs/examples/1.2.x/client-android/kotlin/teams/update.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.2.x/client-apple/examples/account/create-anonymous-session.md b/docs/examples/1.2.x/client-apple/examples/account/create-anonymous-session.md index 9904f6f222..ec7bc357e1 100644 --- a/docs/examples/1.2.x/client-apple/examples/account/create-anonymous-session.md +++ b/docs/examples/1.2.x/client-apple/examples/account/create-anonymous-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.2.x/client-apple/examples/account/create-email-session.md b/docs/examples/1.2.x/client-apple/examples/account/create-email-session.md index 311a3b6260..cc9a14e931 100644 --- a/docs/examples/1.2.x/client-apple/examples/account/create-email-session.md +++ b/docs/examples/1.2.x/client-apple/examples/account/create-email-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.2.x/client-apple/examples/account/create-j-w-t.md b/docs/examples/1.2.x/client-apple/examples/account/create-j-w-t.md index c18c3c940a..7d9b4e3367 100644 --- a/docs/examples/1.2.x/client-apple/examples/account/create-j-w-t.md +++ b/docs/examples/1.2.x/client-apple/examples/account/create-j-w-t.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.2.x/client-apple/examples/account/create-magic-u-r-l-session.md b/docs/examples/1.2.x/client-apple/examples/account/create-magic-u-r-l-session.md index 929396ddc6..88efd04ca9 100644 --- a/docs/examples/1.2.x/client-apple/examples/account/create-magic-u-r-l-session.md +++ b/docs/examples/1.2.x/client-apple/examples/account/create-magic-u-r-l-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.2.x/client-apple/examples/account/create-o-auth2session.md b/docs/examples/1.2.x/client-apple/examples/account/create-o-auth2session.md index c84edfc6e7..7c4048689e 100644 --- a/docs/examples/1.2.x/client-apple/examples/account/create-o-auth2session.md +++ b/docs/examples/1.2.x/client-apple/examples/account/create-o-auth2session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.2.x/client-apple/examples/account/create-phone-session.md b/docs/examples/1.2.x/client-apple/examples/account/create-phone-session.md index caa66c161a..40ad4c34fa 100644 --- a/docs/examples/1.2.x/client-apple/examples/account/create-phone-session.md +++ b/docs/examples/1.2.x/client-apple/examples/account/create-phone-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.2.x/client-apple/examples/account/create-phone-verification.md b/docs/examples/1.2.x/client-apple/examples/account/create-phone-verification.md index b628897c60..3b1548db4a 100644 --- a/docs/examples/1.2.x/client-apple/examples/account/create-phone-verification.md +++ b/docs/examples/1.2.x/client-apple/examples/account/create-phone-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.2.x/client-apple/examples/account/create-recovery.md b/docs/examples/1.2.x/client-apple/examples/account/create-recovery.md index 8d48938a87..6f52d97ebb 100644 --- a/docs/examples/1.2.x/client-apple/examples/account/create-recovery.md +++ b/docs/examples/1.2.x/client-apple/examples/account/create-recovery.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.2.x/client-apple/examples/account/create-verification.md b/docs/examples/1.2.x/client-apple/examples/account/create-verification.md index 2c96d202d0..9271178af8 100644 --- a/docs/examples/1.2.x/client-apple/examples/account/create-verification.md +++ b/docs/examples/1.2.x/client-apple/examples/account/create-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.2.x/client-apple/examples/account/create.md b/docs/examples/1.2.x/client-apple/examples/account/create.md index 2d5af08b28..03b0a6df63 100644 --- a/docs/examples/1.2.x/client-apple/examples/account/create.md +++ b/docs/examples/1.2.x/client-apple/examples/account/create.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.2.x/client-apple/examples/account/delete-session.md b/docs/examples/1.2.x/client-apple/examples/account/delete-session.md index 316a27d8f7..6e42ce8a5e 100644 --- a/docs/examples/1.2.x/client-apple/examples/account/delete-session.md +++ b/docs/examples/1.2.x/client-apple/examples/account/delete-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.2.x/client-apple/examples/account/delete-sessions.md b/docs/examples/1.2.x/client-apple/examples/account/delete-sessions.md index efb8c7cce1..b45ea356fe 100644 --- a/docs/examples/1.2.x/client-apple/examples/account/delete-sessions.md +++ b/docs/examples/1.2.x/client-apple/examples/account/delete-sessions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.2.x/client-apple/examples/account/get-prefs.md b/docs/examples/1.2.x/client-apple/examples/account/get-prefs.md index 5a9fb2e356..7605035f35 100644 --- a/docs/examples/1.2.x/client-apple/examples/account/get-prefs.md +++ b/docs/examples/1.2.x/client-apple/examples/account/get-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.2.x/client-apple/examples/account/get-session.md b/docs/examples/1.2.x/client-apple/examples/account/get-session.md index 66b363574a..6adf367a33 100644 --- a/docs/examples/1.2.x/client-apple/examples/account/get-session.md +++ b/docs/examples/1.2.x/client-apple/examples/account/get-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.2.x/client-apple/examples/account/get.md b/docs/examples/1.2.x/client-apple/examples/account/get.md index 6b68a6ce25..9280413839 100644 --- a/docs/examples/1.2.x/client-apple/examples/account/get.md +++ b/docs/examples/1.2.x/client-apple/examples/account/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.2.x/client-apple/examples/account/list-logs.md b/docs/examples/1.2.x/client-apple/examples/account/list-logs.md index 0c9725555e..bc463217d6 100644 --- a/docs/examples/1.2.x/client-apple/examples/account/list-logs.md +++ b/docs/examples/1.2.x/client-apple/examples/account/list-logs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.2.x/client-apple/examples/account/list-sessions.md b/docs/examples/1.2.x/client-apple/examples/account/list-sessions.md index b160c89f9c..9c1daf94b9 100644 --- a/docs/examples/1.2.x/client-apple/examples/account/list-sessions.md +++ b/docs/examples/1.2.x/client-apple/examples/account/list-sessions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.2.x/client-apple/examples/account/update-email.md b/docs/examples/1.2.x/client-apple/examples/account/update-email.md index f11457c9ca..474d6d3be6 100644 --- a/docs/examples/1.2.x/client-apple/examples/account/update-email.md +++ b/docs/examples/1.2.x/client-apple/examples/account/update-email.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.2.x/client-apple/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.2.x/client-apple/examples/account/update-magic-u-r-l-session.md index 42a7f710b5..e0a340a606 100644 --- a/docs/examples/1.2.x/client-apple/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.2.x/client-apple/examples/account/update-magic-u-r-l-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.2.x/client-apple/examples/account/update-name.md b/docs/examples/1.2.x/client-apple/examples/account/update-name.md index 2baaac9c6a..49c0f31e76 100644 --- a/docs/examples/1.2.x/client-apple/examples/account/update-name.md +++ b/docs/examples/1.2.x/client-apple/examples/account/update-name.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.2.x/client-apple/examples/account/update-password.md b/docs/examples/1.2.x/client-apple/examples/account/update-password.md index f4cf56eac4..a49a587cc7 100644 --- a/docs/examples/1.2.x/client-apple/examples/account/update-password.md +++ b/docs/examples/1.2.x/client-apple/examples/account/update-password.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.2.x/client-apple/examples/account/update-phone-session.md b/docs/examples/1.2.x/client-apple/examples/account/update-phone-session.md index 41e26c3935..a102cb740d 100644 --- a/docs/examples/1.2.x/client-apple/examples/account/update-phone-session.md +++ b/docs/examples/1.2.x/client-apple/examples/account/update-phone-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.2.x/client-apple/examples/account/update-phone-verification.md b/docs/examples/1.2.x/client-apple/examples/account/update-phone-verification.md index 1c88595dc2..8e47f16be4 100644 --- a/docs/examples/1.2.x/client-apple/examples/account/update-phone-verification.md +++ b/docs/examples/1.2.x/client-apple/examples/account/update-phone-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.2.x/client-apple/examples/account/update-phone.md b/docs/examples/1.2.x/client-apple/examples/account/update-phone.md index 15ae0557d1..1dabd14eb8 100644 --- a/docs/examples/1.2.x/client-apple/examples/account/update-phone.md +++ b/docs/examples/1.2.x/client-apple/examples/account/update-phone.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.2.x/client-apple/examples/account/update-prefs.md b/docs/examples/1.2.x/client-apple/examples/account/update-prefs.md index 65cb97636e..4ce28b3a04 100644 --- a/docs/examples/1.2.x/client-apple/examples/account/update-prefs.md +++ b/docs/examples/1.2.x/client-apple/examples/account/update-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.2.x/client-apple/examples/account/update-recovery.md b/docs/examples/1.2.x/client-apple/examples/account/update-recovery.md index 335dd6aeef..1e965beff0 100644 --- a/docs/examples/1.2.x/client-apple/examples/account/update-recovery.md +++ b/docs/examples/1.2.x/client-apple/examples/account/update-recovery.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.2.x/client-apple/examples/account/update-session.md b/docs/examples/1.2.x/client-apple/examples/account/update-session.md index b71826246d..8e1d111650 100644 --- a/docs/examples/1.2.x/client-apple/examples/account/update-session.md +++ b/docs/examples/1.2.x/client-apple/examples/account/update-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.2.x/client-apple/examples/account/update-status.md b/docs/examples/1.2.x/client-apple/examples/account/update-status.md index 8fa5499015..589079b029 100644 --- a/docs/examples/1.2.x/client-apple/examples/account/update-status.md +++ b/docs/examples/1.2.x/client-apple/examples/account/update-status.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.2.x/client-apple/examples/account/update-verification.md b/docs/examples/1.2.x/client-apple/examples/account/update-verification.md index 36af6b99da..5a521a212a 100644 --- a/docs/examples/1.2.x/client-apple/examples/account/update-verification.md +++ b/docs/examples/1.2.x/client-apple/examples/account/update-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.2.x/client-apple/examples/avatars/get-browser.md b/docs/examples/1.2.x/client-apple/examples/avatars/get-browser.md index 19c8d02b6d..9f86b04435 100644 --- a/docs/examples/1.2.x/client-apple/examples/avatars/get-browser.md +++ b/docs/examples/1.2.x/client-apple/examples/avatars/get-browser.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.2.x/client-apple/examples/avatars/get-credit-card.md b/docs/examples/1.2.x/client-apple/examples/avatars/get-credit-card.md index d7a680f35e..1756c5b146 100644 --- a/docs/examples/1.2.x/client-apple/examples/avatars/get-credit-card.md +++ b/docs/examples/1.2.x/client-apple/examples/avatars/get-credit-card.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.2.x/client-apple/examples/avatars/get-favicon.md b/docs/examples/1.2.x/client-apple/examples/avatars/get-favicon.md index 01a7ec1344..945ce41a8c 100644 --- a/docs/examples/1.2.x/client-apple/examples/avatars/get-favicon.md +++ b/docs/examples/1.2.x/client-apple/examples/avatars/get-favicon.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.2.x/client-apple/examples/avatars/get-flag.md b/docs/examples/1.2.x/client-apple/examples/avatars/get-flag.md index eb33c906b6..4044888df3 100644 --- a/docs/examples/1.2.x/client-apple/examples/avatars/get-flag.md +++ b/docs/examples/1.2.x/client-apple/examples/avatars/get-flag.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.2.x/client-apple/examples/avatars/get-image.md b/docs/examples/1.2.x/client-apple/examples/avatars/get-image.md index ef0cd36920..659749d992 100644 --- a/docs/examples/1.2.x/client-apple/examples/avatars/get-image.md +++ b/docs/examples/1.2.x/client-apple/examples/avatars/get-image.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.2.x/client-apple/examples/avatars/get-initials.md b/docs/examples/1.2.x/client-apple/examples/avatars/get-initials.md index 1bdd6f058a..b9a5a7d095 100644 --- a/docs/examples/1.2.x/client-apple/examples/avatars/get-initials.md +++ b/docs/examples/1.2.x/client-apple/examples/avatars/get-initials.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.2.x/client-apple/examples/avatars/get-q-r.md b/docs/examples/1.2.x/client-apple/examples/avatars/get-q-r.md index 5c801d40bb..edf910514f 100644 --- a/docs/examples/1.2.x/client-apple/examples/avatars/get-q-r.md +++ b/docs/examples/1.2.x/client-apple/examples/avatars/get-q-r.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.2.x/client-apple/examples/databases/create-document.md b/docs/examples/1.2.x/client-apple/examples/databases/create-document.md index 533bbd534c..d7f66d018c 100644 --- a/docs/examples/1.2.x/client-apple/examples/databases/create-document.md +++ b/docs/examples/1.2.x/client-apple/examples/databases/create-document.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let databases = Databases(client) diff --git a/docs/examples/1.2.x/client-apple/examples/databases/delete-document.md b/docs/examples/1.2.x/client-apple/examples/databases/delete-document.md index c9a751294d..f05f747b6c 100644 --- a/docs/examples/1.2.x/client-apple/examples/databases/delete-document.md +++ b/docs/examples/1.2.x/client-apple/examples/databases/delete-document.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let databases = Databases(client) diff --git a/docs/examples/1.2.x/client-apple/examples/databases/get-document.md b/docs/examples/1.2.x/client-apple/examples/databases/get-document.md index 53b71fb4f5..8f85eae2a4 100644 --- a/docs/examples/1.2.x/client-apple/examples/databases/get-document.md +++ b/docs/examples/1.2.x/client-apple/examples/databases/get-document.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let databases = Databases(client) diff --git a/docs/examples/1.2.x/client-apple/examples/databases/list-documents.md b/docs/examples/1.2.x/client-apple/examples/databases/list-documents.md index 0b375df67a..c05bc15e99 100644 --- a/docs/examples/1.2.x/client-apple/examples/databases/list-documents.md +++ b/docs/examples/1.2.x/client-apple/examples/databases/list-documents.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let databases = Databases(client) diff --git a/docs/examples/1.2.x/client-apple/examples/databases/update-document.md b/docs/examples/1.2.x/client-apple/examples/databases/update-document.md index 5a943af8c1..238da36ec8 100644 --- a/docs/examples/1.2.x/client-apple/examples/databases/update-document.md +++ b/docs/examples/1.2.x/client-apple/examples/databases/update-document.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let databases = Databases(client) diff --git a/docs/examples/1.2.x/client-apple/examples/functions/create-execution.md b/docs/examples/1.2.x/client-apple/examples/functions/create-execution.md index 93702bfdbc..8c696c8dec 100644 --- a/docs/examples/1.2.x/client-apple/examples/functions/create-execution.md +++ b/docs/examples/1.2.x/client-apple/examples/functions/create-execution.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let functions = Functions(client) diff --git a/docs/examples/1.2.x/client-apple/examples/functions/get-execution.md b/docs/examples/1.2.x/client-apple/examples/functions/get-execution.md index f1e53cb570..b6ed7f7e75 100644 --- a/docs/examples/1.2.x/client-apple/examples/functions/get-execution.md +++ b/docs/examples/1.2.x/client-apple/examples/functions/get-execution.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let functions = Functions(client) diff --git a/docs/examples/1.2.x/client-apple/examples/functions/list-executions.md b/docs/examples/1.2.x/client-apple/examples/functions/list-executions.md index 0f182950ee..5e6920aa21 100644 --- a/docs/examples/1.2.x/client-apple/examples/functions/list-executions.md +++ b/docs/examples/1.2.x/client-apple/examples/functions/list-executions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let functions = Functions(client) diff --git a/docs/examples/1.2.x/client-apple/examples/graphql/63a08ed7385a4.md b/docs/examples/1.2.x/client-apple/examples/graphql/63a08ed7385a4.md index b48e3088de..82880b52b4 100644 --- a/docs/examples/1.2.x/client-apple/examples/graphql/63a08ed7385a4.md +++ b/docs/examples/1.2.x/client-apple/examples/graphql/63a08ed7385a4.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let graphql = Graphql(client) diff --git a/docs/examples/1.2.x/client-apple/examples/graphql/get.md b/docs/examples/1.2.x/client-apple/examples/graphql/get.md index dec7b275f9..db58a74188 100644 --- a/docs/examples/1.2.x/client-apple/examples/graphql/get.md +++ b/docs/examples/1.2.x/client-apple/examples/graphql/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let graphql = Graphql(client) diff --git a/docs/examples/1.2.x/client-apple/examples/graphql/mutation.md b/docs/examples/1.2.x/client-apple/examples/graphql/mutation.md index d58b881df4..aa8d9d318c 100644 --- a/docs/examples/1.2.x/client-apple/examples/graphql/mutation.md +++ b/docs/examples/1.2.x/client-apple/examples/graphql/mutation.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let graphql = Graphql(client) diff --git a/docs/examples/1.2.x/client-apple/examples/graphql/query.md b/docs/examples/1.2.x/client-apple/examples/graphql/query.md index 0aba98aeb8..78797a21a0 100644 --- a/docs/examples/1.2.x/client-apple/examples/graphql/query.md +++ b/docs/examples/1.2.x/client-apple/examples/graphql/query.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let graphql = Graphql(client) diff --git a/docs/examples/1.2.x/client-apple/examples/locale/get.md b/docs/examples/1.2.x/client-apple/examples/locale/get.md index d12470d66a..95dc75d9f8 100644 --- a/docs/examples/1.2.x/client-apple/examples/locale/get.md +++ b/docs/examples/1.2.x/client-apple/examples/locale/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.2.x/client-apple/examples/locale/list-continents.md b/docs/examples/1.2.x/client-apple/examples/locale/list-continents.md index 4853f77212..83073b0210 100644 --- a/docs/examples/1.2.x/client-apple/examples/locale/list-continents.md +++ b/docs/examples/1.2.x/client-apple/examples/locale/list-continents.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.2.x/client-apple/examples/locale/list-countries-e-u.md b/docs/examples/1.2.x/client-apple/examples/locale/list-countries-e-u.md index 6e0a4d31d0..6f9d96899a 100644 --- a/docs/examples/1.2.x/client-apple/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.2.x/client-apple/examples/locale/list-countries-e-u.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.2.x/client-apple/examples/locale/list-countries-phones.md b/docs/examples/1.2.x/client-apple/examples/locale/list-countries-phones.md index b4752eb469..46e86dbe96 100644 --- a/docs/examples/1.2.x/client-apple/examples/locale/list-countries-phones.md +++ b/docs/examples/1.2.x/client-apple/examples/locale/list-countries-phones.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.2.x/client-apple/examples/locale/list-countries.md b/docs/examples/1.2.x/client-apple/examples/locale/list-countries.md index 75369d0606..f5a43f040a 100644 --- a/docs/examples/1.2.x/client-apple/examples/locale/list-countries.md +++ b/docs/examples/1.2.x/client-apple/examples/locale/list-countries.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.2.x/client-apple/examples/locale/list-currencies.md b/docs/examples/1.2.x/client-apple/examples/locale/list-currencies.md index 92eea81275..bcbf30ec9d 100644 --- a/docs/examples/1.2.x/client-apple/examples/locale/list-currencies.md +++ b/docs/examples/1.2.x/client-apple/examples/locale/list-currencies.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.2.x/client-apple/examples/locale/list-languages.md b/docs/examples/1.2.x/client-apple/examples/locale/list-languages.md index 2184812b1e..46fa89e079 100644 --- a/docs/examples/1.2.x/client-apple/examples/locale/list-languages.md +++ b/docs/examples/1.2.x/client-apple/examples/locale/list-languages.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.2.x/client-apple/examples/storage/create-file.md b/docs/examples/1.2.x/client-apple/examples/storage/create-file.md index f882420882..9abfb7678b 100644 --- a/docs/examples/1.2.x/client-apple/examples/storage/create-file.md +++ b/docs/examples/1.2.x/client-apple/examples/storage/create-file.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.2.x/client-apple/examples/storage/delete-file.md b/docs/examples/1.2.x/client-apple/examples/storage/delete-file.md index 27624b4bc2..d0222a5263 100644 --- a/docs/examples/1.2.x/client-apple/examples/storage/delete-file.md +++ b/docs/examples/1.2.x/client-apple/examples/storage/delete-file.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.2.x/client-apple/examples/storage/get-file-download.md b/docs/examples/1.2.x/client-apple/examples/storage/get-file-download.md index ca96b31d93..48d8106676 100644 --- a/docs/examples/1.2.x/client-apple/examples/storage/get-file-download.md +++ b/docs/examples/1.2.x/client-apple/examples/storage/get-file-download.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.2.x/client-apple/examples/storage/get-file-preview.md b/docs/examples/1.2.x/client-apple/examples/storage/get-file-preview.md index 71c0f31f27..17f75ae40d 100644 --- a/docs/examples/1.2.x/client-apple/examples/storage/get-file-preview.md +++ b/docs/examples/1.2.x/client-apple/examples/storage/get-file-preview.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.2.x/client-apple/examples/storage/get-file-view.md b/docs/examples/1.2.x/client-apple/examples/storage/get-file-view.md index 85631efc83..f18fd82d3d 100644 --- a/docs/examples/1.2.x/client-apple/examples/storage/get-file-view.md +++ b/docs/examples/1.2.x/client-apple/examples/storage/get-file-view.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.2.x/client-apple/examples/storage/get-file.md b/docs/examples/1.2.x/client-apple/examples/storage/get-file.md index fa28b48d64..8f961898de 100644 --- a/docs/examples/1.2.x/client-apple/examples/storage/get-file.md +++ b/docs/examples/1.2.x/client-apple/examples/storage/get-file.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.2.x/client-apple/examples/storage/list-files.md b/docs/examples/1.2.x/client-apple/examples/storage/list-files.md index 51f7fe8f05..ab0633ade5 100644 --- a/docs/examples/1.2.x/client-apple/examples/storage/list-files.md +++ b/docs/examples/1.2.x/client-apple/examples/storage/list-files.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.2.x/client-apple/examples/storage/update-file.md b/docs/examples/1.2.x/client-apple/examples/storage/update-file.md index 13bf635ec6..ac8ef4b3d4 100644 --- a/docs/examples/1.2.x/client-apple/examples/storage/update-file.md +++ b/docs/examples/1.2.x/client-apple/examples/storage/update-file.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.2.x/client-apple/examples/teams/create-membership.md b/docs/examples/1.2.x/client-apple/examples/teams/create-membership.md index d658c5d35f..f141309f67 100644 --- a/docs/examples/1.2.x/client-apple/examples/teams/create-membership.md +++ b/docs/examples/1.2.x/client-apple/examples/teams/create-membership.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.2.x/client-apple/examples/teams/create.md b/docs/examples/1.2.x/client-apple/examples/teams/create.md index c28eec416d..5e2b092a70 100644 --- a/docs/examples/1.2.x/client-apple/examples/teams/create.md +++ b/docs/examples/1.2.x/client-apple/examples/teams/create.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.2.x/client-apple/examples/teams/delete-membership.md b/docs/examples/1.2.x/client-apple/examples/teams/delete-membership.md index 186f6ad6fb..e14bba13c7 100644 --- a/docs/examples/1.2.x/client-apple/examples/teams/delete-membership.md +++ b/docs/examples/1.2.x/client-apple/examples/teams/delete-membership.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.2.x/client-apple/examples/teams/delete.md b/docs/examples/1.2.x/client-apple/examples/teams/delete.md index e7585ec387..5e39a53370 100644 --- a/docs/examples/1.2.x/client-apple/examples/teams/delete.md +++ b/docs/examples/1.2.x/client-apple/examples/teams/delete.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.2.x/client-apple/examples/teams/get-membership.md b/docs/examples/1.2.x/client-apple/examples/teams/get-membership.md index 02ee3dab42..a792889fd4 100644 --- a/docs/examples/1.2.x/client-apple/examples/teams/get-membership.md +++ b/docs/examples/1.2.x/client-apple/examples/teams/get-membership.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.2.x/client-apple/examples/teams/get.md b/docs/examples/1.2.x/client-apple/examples/teams/get.md index c8630adaac..689c5e6885 100644 --- a/docs/examples/1.2.x/client-apple/examples/teams/get.md +++ b/docs/examples/1.2.x/client-apple/examples/teams/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.2.x/client-apple/examples/teams/list-memberships.md b/docs/examples/1.2.x/client-apple/examples/teams/list-memberships.md index 1f8a0ccb73..57876d3fea 100644 --- a/docs/examples/1.2.x/client-apple/examples/teams/list-memberships.md +++ b/docs/examples/1.2.x/client-apple/examples/teams/list-memberships.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.2.x/client-apple/examples/teams/list.md b/docs/examples/1.2.x/client-apple/examples/teams/list.md index 72226d4f5b..cb9da6c7d5 100644 --- a/docs/examples/1.2.x/client-apple/examples/teams/list.md +++ b/docs/examples/1.2.x/client-apple/examples/teams/list.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.2.x/client-apple/examples/teams/update-membership-roles.md b/docs/examples/1.2.x/client-apple/examples/teams/update-membership-roles.md index e59b86b06b..8cfb32df2c 100644 --- a/docs/examples/1.2.x/client-apple/examples/teams/update-membership-roles.md +++ b/docs/examples/1.2.x/client-apple/examples/teams/update-membership-roles.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.2.x/client-apple/examples/teams/update-membership-status.md b/docs/examples/1.2.x/client-apple/examples/teams/update-membership-status.md index 65a899cb1c..5f8b723cd5 100644 --- a/docs/examples/1.2.x/client-apple/examples/teams/update-membership-status.md +++ b/docs/examples/1.2.x/client-apple/examples/teams/update-membership-status.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.2.x/client-apple/examples/teams/update.md b/docs/examples/1.2.x/client-apple/examples/teams/update.md index 328c43ab3a..975eb7fe6f 100644 --- a/docs/examples/1.2.x/client-apple/examples/teams/update.md +++ b/docs/examples/1.2.x/client-apple/examples/teams/update.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.2.x/client-flutter/examples/account/create-anonymous-session.md b/docs/examples/1.2.x/client-flutter/examples/account/create-anonymous-session.md index 2f3e7a606c..58b707f3c9 100644 --- a/docs/examples/1.2.x/client-flutter/examples/account/create-anonymous-session.md +++ b/docs/examples/1.2.x/client-flutter/examples/account/create-anonymous-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createAnonymousSession(); diff --git a/docs/examples/1.2.x/client-flutter/examples/account/create-email-session.md b/docs/examples/1.2.x/client-flutter/examples/account/create-email-session.md index 52b6b91f19..c76c2a6e93 100644 --- a/docs/examples/1.2.x/client-flutter/examples/account/create-email-session.md +++ b/docs/examples/1.2.x/client-flutter/examples/account/create-email-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createEmailSession( diff --git a/docs/examples/1.2.x/client-flutter/examples/account/create-j-w-t.md b/docs/examples/1.2.x/client-flutter/examples/account/create-j-w-t.md index c4a61f7c34..8cee6bc69e 100644 --- a/docs/examples/1.2.x/client-flutter/examples/account/create-j-w-t.md +++ b/docs/examples/1.2.x/client-flutter/examples/account/create-j-w-t.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createJWT(); diff --git a/docs/examples/1.2.x/client-flutter/examples/account/create-magic-u-r-l-session.md b/docs/examples/1.2.x/client-flutter/examples/account/create-magic-u-r-l-session.md index d1b89bf176..e8e3732914 100644 --- a/docs/examples/1.2.x/client-flutter/examples/account/create-magic-u-r-l-session.md +++ b/docs/examples/1.2.x/client-flutter/examples/account/create-magic-u-r-l-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createMagicURLSession( diff --git a/docs/examples/1.2.x/client-flutter/examples/account/create-o-auth2session.md b/docs/examples/1.2.x/client-flutter/examples/account/create-o-auth2session.md index e985a92ae0..5d627a1451 100644 --- a/docs/examples/1.2.x/client-flutter/examples/account/create-o-auth2session.md +++ b/docs/examples/1.2.x/client-flutter/examples/account/create-o-auth2session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createOAuth2Session( diff --git a/docs/examples/1.2.x/client-flutter/examples/account/create-phone-session.md b/docs/examples/1.2.x/client-flutter/examples/account/create-phone-session.md index fcb705c938..c54c0f2397 100644 --- a/docs/examples/1.2.x/client-flutter/examples/account/create-phone-session.md +++ b/docs/examples/1.2.x/client-flutter/examples/account/create-phone-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createPhoneSession( diff --git a/docs/examples/1.2.x/client-flutter/examples/account/create-phone-verification.md b/docs/examples/1.2.x/client-flutter/examples/account/create-phone-verification.md index 76e724d829..23ee2fd588 100644 --- a/docs/examples/1.2.x/client-flutter/examples/account/create-phone-verification.md +++ b/docs/examples/1.2.x/client-flutter/examples/account/create-phone-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createPhoneVerification(); diff --git a/docs/examples/1.2.x/client-flutter/examples/account/create-recovery.md b/docs/examples/1.2.x/client-flutter/examples/account/create-recovery.md index 361a9f0459..d011eef2a3 100644 --- a/docs/examples/1.2.x/client-flutter/examples/account/create-recovery.md +++ b/docs/examples/1.2.x/client-flutter/examples/account/create-recovery.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createRecovery( diff --git a/docs/examples/1.2.x/client-flutter/examples/account/create-verification.md b/docs/examples/1.2.x/client-flutter/examples/account/create-verification.md index d66c3b1a0a..565033b9a8 100644 --- a/docs/examples/1.2.x/client-flutter/examples/account/create-verification.md +++ b/docs/examples/1.2.x/client-flutter/examples/account/create-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createVerification( diff --git a/docs/examples/1.2.x/client-flutter/examples/account/create.md b/docs/examples/1.2.x/client-flutter/examples/account/create.md index 501034aa7f..f54f047431 100644 --- a/docs/examples/1.2.x/client-flutter/examples/account/create.md +++ b/docs/examples/1.2.x/client-flutter/examples/account/create.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.create( diff --git a/docs/examples/1.2.x/client-flutter/examples/account/delete-session.md b/docs/examples/1.2.x/client-flutter/examples/account/delete-session.md index 9146561070..9e381a2fa3 100644 --- a/docs/examples/1.2.x/client-flutter/examples/account/delete-session.md +++ b/docs/examples/1.2.x/client-flutter/examples/account/delete-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.deleteSession( diff --git a/docs/examples/1.2.x/client-flutter/examples/account/delete-sessions.md b/docs/examples/1.2.x/client-flutter/examples/account/delete-sessions.md index 4963de4442..27b06b6104 100644 --- a/docs/examples/1.2.x/client-flutter/examples/account/delete-sessions.md +++ b/docs/examples/1.2.x/client-flutter/examples/account/delete-sessions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.deleteSessions(); diff --git a/docs/examples/1.2.x/client-flutter/examples/account/get-prefs.md b/docs/examples/1.2.x/client-flutter/examples/account/get-prefs.md index 81eb802d03..919b50be88 100644 --- a/docs/examples/1.2.x/client-flutter/examples/account/get-prefs.md +++ b/docs/examples/1.2.x/client-flutter/examples/account/get-prefs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.getPrefs(); diff --git a/docs/examples/1.2.x/client-flutter/examples/account/get-session.md b/docs/examples/1.2.x/client-flutter/examples/account/get-session.md index 9e0f66ca3f..ac8c35b8f5 100644 --- a/docs/examples/1.2.x/client-flutter/examples/account/get-session.md +++ b/docs/examples/1.2.x/client-flutter/examples/account/get-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.getSession( diff --git a/docs/examples/1.2.x/client-flutter/examples/account/get.md b/docs/examples/1.2.x/client-flutter/examples/account/get.md index 21192de279..4bcc080dee 100644 --- a/docs/examples/1.2.x/client-flutter/examples/account/get.md +++ b/docs/examples/1.2.x/client-flutter/examples/account/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.get(); diff --git a/docs/examples/1.2.x/client-flutter/examples/account/list-logs.md b/docs/examples/1.2.x/client-flutter/examples/account/list-logs.md index 9f7088a0d8..6d793c947d 100644 --- a/docs/examples/1.2.x/client-flutter/examples/account/list-logs.md +++ b/docs/examples/1.2.x/client-flutter/examples/account/list-logs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.listLogs( diff --git a/docs/examples/1.2.x/client-flutter/examples/account/list-sessions.md b/docs/examples/1.2.x/client-flutter/examples/account/list-sessions.md index 6f2d5dc18d..3656fca1a1 100644 --- a/docs/examples/1.2.x/client-flutter/examples/account/list-sessions.md +++ b/docs/examples/1.2.x/client-flutter/examples/account/list-sessions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.listSessions(); diff --git a/docs/examples/1.2.x/client-flutter/examples/account/update-email.md b/docs/examples/1.2.x/client-flutter/examples/account/update-email.md index 1fb9a3fe7a..2383c8e0de 100644 --- a/docs/examples/1.2.x/client-flutter/examples/account/update-email.md +++ b/docs/examples/1.2.x/client-flutter/examples/account/update-email.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updateEmail( diff --git a/docs/examples/1.2.x/client-flutter/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.2.x/client-flutter/examples/account/update-magic-u-r-l-session.md index 3c7ef8f0f2..0dff3be5bf 100644 --- a/docs/examples/1.2.x/client-flutter/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.2.x/client-flutter/examples/account/update-magic-u-r-l-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updateMagicURLSession( diff --git a/docs/examples/1.2.x/client-flutter/examples/account/update-name.md b/docs/examples/1.2.x/client-flutter/examples/account/update-name.md index ae5d6235d1..4d674ec006 100644 --- a/docs/examples/1.2.x/client-flutter/examples/account/update-name.md +++ b/docs/examples/1.2.x/client-flutter/examples/account/update-name.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updateName( diff --git a/docs/examples/1.2.x/client-flutter/examples/account/update-password.md b/docs/examples/1.2.x/client-flutter/examples/account/update-password.md index fc4e7611df..a19d697e21 100644 --- a/docs/examples/1.2.x/client-flutter/examples/account/update-password.md +++ b/docs/examples/1.2.x/client-flutter/examples/account/update-password.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updatePassword( diff --git a/docs/examples/1.2.x/client-flutter/examples/account/update-phone-session.md b/docs/examples/1.2.x/client-flutter/examples/account/update-phone-session.md index 1f979265b5..dc6c8eb893 100644 --- a/docs/examples/1.2.x/client-flutter/examples/account/update-phone-session.md +++ b/docs/examples/1.2.x/client-flutter/examples/account/update-phone-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updatePhoneSession( diff --git a/docs/examples/1.2.x/client-flutter/examples/account/update-phone-verification.md b/docs/examples/1.2.x/client-flutter/examples/account/update-phone-verification.md index 86d9b0fdfc..a7acf71661 100644 --- a/docs/examples/1.2.x/client-flutter/examples/account/update-phone-verification.md +++ b/docs/examples/1.2.x/client-flutter/examples/account/update-phone-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updatePhoneVerification( diff --git a/docs/examples/1.2.x/client-flutter/examples/account/update-phone.md b/docs/examples/1.2.x/client-flutter/examples/account/update-phone.md index edfe47850b..642ead4405 100644 --- a/docs/examples/1.2.x/client-flutter/examples/account/update-phone.md +++ b/docs/examples/1.2.x/client-flutter/examples/account/update-phone.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updatePhone( diff --git a/docs/examples/1.2.x/client-flutter/examples/account/update-prefs.md b/docs/examples/1.2.x/client-flutter/examples/account/update-prefs.md index 9769708147..d37013d80a 100644 --- a/docs/examples/1.2.x/client-flutter/examples/account/update-prefs.md +++ b/docs/examples/1.2.x/client-flutter/examples/account/update-prefs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updatePrefs( diff --git a/docs/examples/1.2.x/client-flutter/examples/account/update-recovery.md b/docs/examples/1.2.x/client-flutter/examples/account/update-recovery.md index f499b18770..ce9c8b5e8e 100644 --- a/docs/examples/1.2.x/client-flutter/examples/account/update-recovery.md +++ b/docs/examples/1.2.x/client-flutter/examples/account/update-recovery.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updateRecovery( diff --git a/docs/examples/1.2.x/client-flutter/examples/account/update-session.md b/docs/examples/1.2.x/client-flutter/examples/account/update-session.md index fb1afcc526..a6e1924e05 100644 --- a/docs/examples/1.2.x/client-flutter/examples/account/update-session.md +++ b/docs/examples/1.2.x/client-flutter/examples/account/update-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updateSession( diff --git a/docs/examples/1.2.x/client-flutter/examples/account/update-status.md b/docs/examples/1.2.x/client-flutter/examples/account/update-status.md index 8e734647fb..521101c429 100644 --- a/docs/examples/1.2.x/client-flutter/examples/account/update-status.md +++ b/docs/examples/1.2.x/client-flutter/examples/account/update-status.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updateStatus(); diff --git a/docs/examples/1.2.x/client-flutter/examples/account/update-verification.md b/docs/examples/1.2.x/client-flutter/examples/account/update-verification.md index fba8ed65bb..1be9f728f7 100644 --- a/docs/examples/1.2.x/client-flutter/examples/account/update-verification.md +++ b/docs/examples/1.2.x/client-flutter/examples/account/update-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updateVerification( diff --git a/docs/examples/1.2.x/client-flutter/examples/avatars/get-browser.md b/docs/examples/1.2.x/client-flutter/examples/avatars/get-browser.md index 70af56659b..5ca9106c01 100644 --- a/docs/examples/1.2.x/client-flutter/examples/avatars/get-browser.md +++ b/docs/examples/1.2.x/client-flutter/examples/avatars/get-browser.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.2.x/client-flutter/examples/avatars/get-credit-card.md b/docs/examples/1.2.x/client-flutter/examples/avatars/get-credit-card.md index 6a29dc8173..30485827a1 100644 --- a/docs/examples/1.2.x/client-flutter/examples/avatars/get-credit-card.md +++ b/docs/examples/1.2.x/client-flutter/examples/avatars/get-credit-card.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.2.x/client-flutter/examples/avatars/get-favicon.md b/docs/examples/1.2.x/client-flutter/examples/avatars/get-favicon.md index 2da0f2e056..769a873c84 100644 --- a/docs/examples/1.2.x/client-flutter/examples/avatars/get-favicon.md +++ b/docs/examples/1.2.x/client-flutter/examples/avatars/get-favicon.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.2.x/client-flutter/examples/avatars/get-flag.md b/docs/examples/1.2.x/client-flutter/examples/avatars/get-flag.md index 13367885d0..b8c3ea84d7 100644 --- a/docs/examples/1.2.x/client-flutter/examples/avatars/get-flag.md +++ b/docs/examples/1.2.x/client-flutter/examples/avatars/get-flag.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.2.x/client-flutter/examples/avatars/get-image.md b/docs/examples/1.2.x/client-flutter/examples/avatars/get-image.md index debbf1e290..a90045f78d 100644 --- a/docs/examples/1.2.x/client-flutter/examples/avatars/get-image.md +++ b/docs/examples/1.2.x/client-flutter/examples/avatars/get-image.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.2.x/client-flutter/examples/avatars/get-initials.md b/docs/examples/1.2.x/client-flutter/examples/avatars/get-initials.md index b0f49c6213..dc08dda981 100644 --- a/docs/examples/1.2.x/client-flutter/examples/avatars/get-initials.md +++ b/docs/examples/1.2.x/client-flutter/examples/avatars/get-initials.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.2.x/client-flutter/examples/avatars/get-q-r.md b/docs/examples/1.2.x/client-flutter/examples/avatars/get-q-r.md index 8df729379e..4217e4395a 100644 --- a/docs/examples/1.2.x/client-flutter/examples/avatars/get-q-r.md +++ b/docs/examples/1.2.x/client-flutter/examples/avatars/get-q-r.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.2.x/client-flutter/examples/databases/create-document.md b/docs/examples/1.2.x/client-flutter/examples/databases/create-document.md index 6a031738d5..5eabc3fb99 100644 --- a/docs/examples/1.2.x/client-flutter/examples/databases/create-document.md +++ b/docs/examples/1.2.x/client-flutter/examples/databases/create-document.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = databases.createDocument( diff --git a/docs/examples/1.2.x/client-flutter/examples/databases/delete-document.md b/docs/examples/1.2.x/client-flutter/examples/databases/delete-document.md index a377b02747..d883d08655 100644 --- a/docs/examples/1.2.x/client-flutter/examples/databases/delete-document.md +++ b/docs/examples/1.2.x/client-flutter/examples/databases/delete-document.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = databases.deleteDocument( diff --git a/docs/examples/1.2.x/client-flutter/examples/databases/get-document.md b/docs/examples/1.2.x/client-flutter/examples/databases/get-document.md index b2cf89a3fc..f03d2589b9 100644 --- a/docs/examples/1.2.x/client-flutter/examples/databases/get-document.md +++ b/docs/examples/1.2.x/client-flutter/examples/databases/get-document.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = databases.getDocument( diff --git a/docs/examples/1.2.x/client-flutter/examples/databases/list-documents.md b/docs/examples/1.2.x/client-flutter/examples/databases/list-documents.md index 4cd69e301a..d996d2bcfd 100644 --- a/docs/examples/1.2.x/client-flutter/examples/databases/list-documents.md +++ b/docs/examples/1.2.x/client-flutter/examples/databases/list-documents.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = databases.listDocuments( diff --git a/docs/examples/1.2.x/client-flutter/examples/databases/update-document.md b/docs/examples/1.2.x/client-flutter/examples/databases/update-document.md index 595099bcb1..79e5490aff 100644 --- a/docs/examples/1.2.x/client-flutter/examples/databases/update-document.md +++ b/docs/examples/1.2.x/client-flutter/examples/databases/update-document.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = databases.updateDocument( diff --git a/docs/examples/1.2.x/client-flutter/examples/functions/create-execution.md b/docs/examples/1.2.x/client-flutter/examples/functions/create-execution.md index b188c32f47..bb9feb3442 100644 --- a/docs/examples/1.2.x/client-flutter/examples/functions/create-execution.md +++ b/docs/examples/1.2.x/client-flutter/examples/functions/create-execution.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = functions.createExecution( diff --git a/docs/examples/1.2.x/client-flutter/examples/functions/get-execution.md b/docs/examples/1.2.x/client-flutter/examples/functions/get-execution.md index f30b4b4495..76a1392586 100644 --- a/docs/examples/1.2.x/client-flutter/examples/functions/get-execution.md +++ b/docs/examples/1.2.x/client-flutter/examples/functions/get-execution.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = functions.getExecution( diff --git a/docs/examples/1.2.x/client-flutter/examples/functions/list-executions.md b/docs/examples/1.2.x/client-flutter/examples/functions/list-executions.md index 1840f50d7f..4f363e7e82 100644 --- a/docs/examples/1.2.x/client-flutter/examples/functions/list-executions.md +++ b/docs/examples/1.2.x/client-flutter/examples/functions/list-executions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = functions.listExecutions( diff --git a/docs/examples/1.2.x/client-flutter/examples/graphql/63a08ed7385a4.md b/docs/examples/1.2.x/client-flutter/examples/graphql/63a08ed7385a4.md index 512ea5f8ca..5bc764735e 100644 --- a/docs/examples/1.2.x/client-flutter/examples/graphql/63a08ed7385a4.md +++ b/docs/examples/1.2.x/client-flutter/examples/graphql/63a08ed7385a4.md @@ -5,7 +5,7 @@ void main() { // Init SDK Graphql graphql = Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = graphql.63a08ed7385a4( diff --git a/docs/examples/1.2.x/client-flutter/examples/graphql/get.md b/docs/examples/1.2.x/client-flutter/examples/graphql/get.md index a84ddc2bff..2df8d4be91 100644 --- a/docs/examples/1.2.x/client-flutter/examples/graphql/get.md +++ b/docs/examples/1.2.x/client-flutter/examples/graphql/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Graphql graphql = Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = graphql.get( diff --git a/docs/examples/1.2.x/client-flutter/examples/graphql/mutation.md b/docs/examples/1.2.x/client-flutter/examples/graphql/mutation.md index c0bffce70a..160c5ec892 100644 --- a/docs/examples/1.2.x/client-flutter/examples/graphql/mutation.md +++ b/docs/examples/1.2.x/client-flutter/examples/graphql/mutation.md @@ -5,7 +5,7 @@ void main() { // Init SDK Graphql graphql = Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = graphql.mutation( diff --git a/docs/examples/1.2.x/client-flutter/examples/graphql/query.md b/docs/examples/1.2.x/client-flutter/examples/graphql/query.md index 455cb0bd22..fd5d8e1500 100644 --- a/docs/examples/1.2.x/client-flutter/examples/graphql/query.md +++ b/docs/examples/1.2.x/client-flutter/examples/graphql/query.md @@ -5,7 +5,7 @@ void main() { // Init SDK Graphql graphql = Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = graphql.query( diff --git a/docs/examples/1.2.x/client-flutter/examples/locale/get.md b/docs/examples/1.2.x/client-flutter/examples/locale/get.md index 9e9fa96b22..565253d950 100644 --- a/docs/examples/1.2.x/client-flutter/examples/locale/get.md +++ b/docs/examples/1.2.x/client-flutter/examples/locale/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = locale.get(); diff --git a/docs/examples/1.2.x/client-flutter/examples/locale/list-continents.md b/docs/examples/1.2.x/client-flutter/examples/locale/list-continents.md index 0ab2a4aba1..cbaa88b3de 100644 --- a/docs/examples/1.2.x/client-flutter/examples/locale/list-continents.md +++ b/docs/examples/1.2.x/client-flutter/examples/locale/list-continents.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = locale.listContinents(); diff --git a/docs/examples/1.2.x/client-flutter/examples/locale/list-countries-e-u.md b/docs/examples/1.2.x/client-flutter/examples/locale/list-countries-e-u.md index caa32e8562..af8da46e9b 100644 --- a/docs/examples/1.2.x/client-flutter/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.2.x/client-flutter/examples/locale/list-countries-e-u.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = locale.listCountriesEU(); diff --git a/docs/examples/1.2.x/client-flutter/examples/locale/list-countries-phones.md b/docs/examples/1.2.x/client-flutter/examples/locale/list-countries-phones.md index b122eee7d4..1b5438b3ca 100644 --- a/docs/examples/1.2.x/client-flutter/examples/locale/list-countries-phones.md +++ b/docs/examples/1.2.x/client-flutter/examples/locale/list-countries-phones.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = locale.listCountriesPhones(); diff --git a/docs/examples/1.2.x/client-flutter/examples/locale/list-countries.md b/docs/examples/1.2.x/client-flutter/examples/locale/list-countries.md index e6a367ddb8..704d35de89 100644 --- a/docs/examples/1.2.x/client-flutter/examples/locale/list-countries.md +++ b/docs/examples/1.2.x/client-flutter/examples/locale/list-countries.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = locale.listCountries(); diff --git a/docs/examples/1.2.x/client-flutter/examples/locale/list-currencies.md b/docs/examples/1.2.x/client-flutter/examples/locale/list-currencies.md index fcd1e825e3..52b6877069 100644 --- a/docs/examples/1.2.x/client-flutter/examples/locale/list-currencies.md +++ b/docs/examples/1.2.x/client-flutter/examples/locale/list-currencies.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = locale.listCurrencies(); diff --git a/docs/examples/1.2.x/client-flutter/examples/locale/list-languages.md b/docs/examples/1.2.x/client-flutter/examples/locale/list-languages.md index 1fb68aa84f..a54c6a1175 100644 --- a/docs/examples/1.2.x/client-flutter/examples/locale/list-languages.md +++ b/docs/examples/1.2.x/client-flutter/examples/locale/list-languages.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = locale.listLanguages(); diff --git a/docs/examples/1.2.x/client-flutter/examples/storage/create-file.md b/docs/examples/1.2.x/client-flutter/examples/storage/create-file.md index 0f5e44f5e8..fc4d327839 100644 --- a/docs/examples/1.2.x/client-flutter/examples/storage/create-file.md +++ b/docs/examples/1.2.x/client-flutter/examples/storage/create-file.md @@ -6,7 +6,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = storage.createFile( diff --git a/docs/examples/1.2.x/client-flutter/examples/storage/delete-file.md b/docs/examples/1.2.x/client-flutter/examples/storage/delete-file.md index 230b73a9ac..79cc9ef48c 100644 --- a/docs/examples/1.2.x/client-flutter/examples/storage/delete-file.md +++ b/docs/examples/1.2.x/client-flutter/examples/storage/delete-file.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = storage.deleteFile( diff --git a/docs/examples/1.2.x/client-flutter/examples/storage/get-file-download.md b/docs/examples/1.2.x/client-flutter/examples/storage/get-file-download.md index 883b7d69c4..cae5218c3a 100644 --- a/docs/examples/1.2.x/client-flutter/examples/storage/get-file-download.md +++ b/docs/examples/1.2.x/client-flutter/examples/storage/get-file-download.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.2.x/client-flutter/examples/storage/get-file-preview.md b/docs/examples/1.2.x/client-flutter/examples/storage/get-file-preview.md index f42138bd03..131630ec66 100644 --- a/docs/examples/1.2.x/client-flutter/examples/storage/get-file-preview.md +++ b/docs/examples/1.2.x/client-flutter/examples/storage/get-file-preview.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.2.x/client-flutter/examples/storage/get-file-view.md b/docs/examples/1.2.x/client-flutter/examples/storage/get-file-view.md index 4f7c4d962b..cfac3ac3b1 100644 --- a/docs/examples/1.2.x/client-flutter/examples/storage/get-file-view.md +++ b/docs/examples/1.2.x/client-flutter/examples/storage/get-file-view.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.2.x/client-flutter/examples/storage/get-file.md b/docs/examples/1.2.x/client-flutter/examples/storage/get-file.md index 681aca41e0..c997612386 100644 --- a/docs/examples/1.2.x/client-flutter/examples/storage/get-file.md +++ b/docs/examples/1.2.x/client-flutter/examples/storage/get-file.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = storage.getFile( diff --git a/docs/examples/1.2.x/client-flutter/examples/storage/list-files.md b/docs/examples/1.2.x/client-flutter/examples/storage/list-files.md index e574f7bdaa..d4d07c1909 100644 --- a/docs/examples/1.2.x/client-flutter/examples/storage/list-files.md +++ b/docs/examples/1.2.x/client-flutter/examples/storage/list-files.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = storage.listFiles( diff --git a/docs/examples/1.2.x/client-flutter/examples/storage/update-file.md b/docs/examples/1.2.x/client-flutter/examples/storage/update-file.md index 1170f05cf3..3d8140f408 100644 --- a/docs/examples/1.2.x/client-flutter/examples/storage/update-file.md +++ b/docs/examples/1.2.x/client-flutter/examples/storage/update-file.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = storage.updateFile( diff --git a/docs/examples/1.2.x/client-flutter/examples/teams/create-membership.md b/docs/examples/1.2.x/client-flutter/examples/teams/create-membership.md index fe54b4acfc..2a11b981c3 100644 --- a/docs/examples/1.2.x/client-flutter/examples/teams/create-membership.md +++ b/docs/examples/1.2.x/client-flutter/examples/teams/create-membership.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.createMembership( diff --git a/docs/examples/1.2.x/client-flutter/examples/teams/create.md b/docs/examples/1.2.x/client-flutter/examples/teams/create.md index bd62ce32ab..772eacc2a9 100644 --- a/docs/examples/1.2.x/client-flutter/examples/teams/create.md +++ b/docs/examples/1.2.x/client-flutter/examples/teams/create.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.create( diff --git a/docs/examples/1.2.x/client-flutter/examples/teams/delete-membership.md b/docs/examples/1.2.x/client-flutter/examples/teams/delete-membership.md index 0febe42121..7bcfaae8e6 100644 --- a/docs/examples/1.2.x/client-flutter/examples/teams/delete-membership.md +++ b/docs/examples/1.2.x/client-flutter/examples/teams/delete-membership.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.deleteMembership( diff --git a/docs/examples/1.2.x/client-flutter/examples/teams/delete.md b/docs/examples/1.2.x/client-flutter/examples/teams/delete.md index b45d971bf6..22fe4e0b44 100644 --- a/docs/examples/1.2.x/client-flutter/examples/teams/delete.md +++ b/docs/examples/1.2.x/client-flutter/examples/teams/delete.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.delete( diff --git a/docs/examples/1.2.x/client-flutter/examples/teams/get-membership.md b/docs/examples/1.2.x/client-flutter/examples/teams/get-membership.md index 28d95a201b..9c7eac46ac 100644 --- a/docs/examples/1.2.x/client-flutter/examples/teams/get-membership.md +++ b/docs/examples/1.2.x/client-flutter/examples/teams/get-membership.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.getMembership( diff --git a/docs/examples/1.2.x/client-flutter/examples/teams/get.md b/docs/examples/1.2.x/client-flutter/examples/teams/get.md index 0ec7027f89..a3d59c10e8 100644 --- a/docs/examples/1.2.x/client-flutter/examples/teams/get.md +++ b/docs/examples/1.2.x/client-flutter/examples/teams/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.get( diff --git a/docs/examples/1.2.x/client-flutter/examples/teams/list-memberships.md b/docs/examples/1.2.x/client-flutter/examples/teams/list-memberships.md index cbbc525dc4..bb2a37df46 100644 --- a/docs/examples/1.2.x/client-flutter/examples/teams/list-memberships.md +++ b/docs/examples/1.2.x/client-flutter/examples/teams/list-memberships.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.listMemberships( diff --git a/docs/examples/1.2.x/client-flutter/examples/teams/list.md b/docs/examples/1.2.x/client-flutter/examples/teams/list.md index 80aa3016c2..41e0136529 100644 --- a/docs/examples/1.2.x/client-flutter/examples/teams/list.md +++ b/docs/examples/1.2.x/client-flutter/examples/teams/list.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.list( diff --git a/docs/examples/1.2.x/client-flutter/examples/teams/update-membership-roles.md b/docs/examples/1.2.x/client-flutter/examples/teams/update-membership-roles.md index 6e96c017e0..c031101d7a 100644 --- a/docs/examples/1.2.x/client-flutter/examples/teams/update-membership-roles.md +++ b/docs/examples/1.2.x/client-flutter/examples/teams/update-membership-roles.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.updateMembershipRoles( diff --git a/docs/examples/1.2.x/client-flutter/examples/teams/update-membership-status.md b/docs/examples/1.2.x/client-flutter/examples/teams/update-membership-status.md index ed31f54b20..65584ff424 100644 --- a/docs/examples/1.2.x/client-flutter/examples/teams/update-membership-status.md +++ b/docs/examples/1.2.x/client-flutter/examples/teams/update-membership-status.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.updateMembershipStatus( diff --git a/docs/examples/1.2.x/client-flutter/examples/teams/update.md b/docs/examples/1.2.x/client-flutter/examples/teams/update.md index 63aa33feb9..5972b9fbda 100644 --- a/docs/examples/1.2.x/client-flutter/examples/teams/update.md +++ b/docs/examples/1.2.x/client-flutter/examples/teams/update.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.update( diff --git a/docs/examples/1.2.x/client-web/examples/account/create-anonymous-session.md b/docs/examples/1.2.x/client-web/examples/account/create-anonymous-session.md index c331fc8863..d107d4a8df 100644 --- a/docs/examples/1.2.x/client-web/examples/account/create-anonymous-session.md +++ b/docs/examples/1.2.x/client-web/examples/account/create-anonymous-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/account/create-email-session.md b/docs/examples/1.2.x/client-web/examples/account/create-email-session.md index 76e2e31665..fc25824dad 100644 --- a/docs/examples/1.2.x/client-web/examples/account/create-email-session.md +++ b/docs/examples/1.2.x/client-web/examples/account/create-email-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/account/create-j-w-t.md b/docs/examples/1.2.x/client-web/examples/account/create-j-w-t.md index f388a3da31..db78c41c3c 100644 --- a/docs/examples/1.2.x/client-web/examples/account/create-j-w-t.md +++ b/docs/examples/1.2.x/client-web/examples/account/create-j-w-t.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/account/create-magic-u-r-l-session.md b/docs/examples/1.2.x/client-web/examples/account/create-magic-u-r-l-session.md index d48f031ded..1179a0efc6 100644 --- a/docs/examples/1.2.x/client-web/examples/account/create-magic-u-r-l-session.md +++ b/docs/examples/1.2.x/client-web/examples/account/create-magic-u-r-l-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/account/create-o-auth2session.md b/docs/examples/1.2.x/client-web/examples/account/create-o-auth2session.md index 3757a1c63f..03b7d2cb48 100644 --- a/docs/examples/1.2.x/client-web/examples/account/create-o-auth2session.md +++ b/docs/examples/1.2.x/client-web/examples/account/create-o-auth2session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/account/create-phone-session.md b/docs/examples/1.2.x/client-web/examples/account/create-phone-session.md index e5a23aafee..53ead8a3f8 100644 --- a/docs/examples/1.2.x/client-web/examples/account/create-phone-session.md +++ b/docs/examples/1.2.x/client-web/examples/account/create-phone-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/account/create-phone-verification.md b/docs/examples/1.2.x/client-web/examples/account/create-phone-verification.md index a1cbd55277..974f94503f 100644 --- a/docs/examples/1.2.x/client-web/examples/account/create-phone-verification.md +++ b/docs/examples/1.2.x/client-web/examples/account/create-phone-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/account/create-recovery.md b/docs/examples/1.2.x/client-web/examples/account/create-recovery.md index 1838c0414c..7030423d2f 100644 --- a/docs/examples/1.2.x/client-web/examples/account/create-recovery.md +++ b/docs/examples/1.2.x/client-web/examples/account/create-recovery.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/account/create-verification.md b/docs/examples/1.2.x/client-web/examples/account/create-verification.md index 4d8446e6ef..6448a72496 100644 --- a/docs/examples/1.2.x/client-web/examples/account/create-verification.md +++ b/docs/examples/1.2.x/client-web/examples/account/create-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/account/create.md b/docs/examples/1.2.x/client-web/examples/account/create.md index 317a0c5265..f452383fed 100644 --- a/docs/examples/1.2.x/client-web/examples/account/create.md +++ b/docs/examples/1.2.x/client-web/examples/account/create.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/account/delete-session.md b/docs/examples/1.2.x/client-web/examples/account/delete-session.md index c342afb2c9..052b78d845 100644 --- a/docs/examples/1.2.x/client-web/examples/account/delete-session.md +++ b/docs/examples/1.2.x/client-web/examples/account/delete-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/account/delete-sessions.md b/docs/examples/1.2.x/client-web/examples/account/delete-sessions.md index 82133e3845..64b1c591d3 100644 --- a/docs/examples/1.2.x/client-web/examples/account/delete-sessions.md +++ b/docs/examples/1.2.x/client-web/examples/account/delete-sessions.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/account/get-prefs.md b/docs/examples/1.2.x/client-web/examples/account/get-prefs.md index b98776fd9d..a02dc51785 100644 --- a/docs/examples/1.2.x/client-web/examples/account/get-prefs.md +++ b/docs/examples/1.2.x/client-web/examples/account/get-prefs.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/account/get-session.md b/docs/examples/1.2.x/client-web/examples/account/get-session.md index 43edd7d08a..21be1738ba 100644 --- a/docs/examples/1.2.x/client-web/examples/account/get-session.md +++ b/docs/examples/1.2.x/client-web/examples/account/get-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/account/get.md b/docs/examples/1.2.x/client-web/examples/account/get.md index 878227f019..539ace69af 100644 --- a/docs/examples/1.2.x/client-web/examples/account/get.md +++ b/docs/examples/1.2.x/client-web/examples/account/get.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/account/list-logs.md b/docs/examples/1.2.x/client-web/examples/account/list-logs.md index d710f7daa3..d26bd396ba 100644 --- a/docs/examples/1.2.x/client-web/examples/account/list-logs.md +++ b/docs/examples/1.2.x/client-web/examples/account/list-logs.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/account/list-sessions.md b/docs/examples/1.2.x/client-web/examples/account/list-sessions.md index ce6ec74862..c5a5625b17 100644 --- a/docs/examples/1.2.x/client-web/examples/account/list-sessions.md +++ b/docs/examples/1.2.x/client-web/examples/account/list-sessions.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/account/update-email.md b/docs/examples/1.2.x/client-web/examples/account/update-email.md index baac3a0ab0..2242db702c 100644 --- a/docs/examples/1.2.x/client-web/examples/account/update-email.md +++ b/docs/examples/1.2.x/client-web/examples/account/update-email.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.2.x/client-web/examples/account/update-magic-u-r-l-session.md index c07fee2b14..70bf5d17da 100644 --- a/docs/examples/1.2.x/client-web/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.2.x/client-web/examples/account/update-magic-u-r-l-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/account/update-name.md b/docs/examples/1.2.x/client-web/examples/account/update-name.md index 4af963d5fc..8ec9bd2395 100644 --- a/docs/examples/1.2.x/client-web/examples/account/update-name.md +++ b/docs/examples/1.2.x/client-web/examples/account/update-name.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/account/update-password.md b/docs/examples/1.2.x/client-web/examples/account/update-password.md index 9cb72c7fde..b5dea9c9eb 100644 --- a/docs/examples/1.2.x/client-web/examples/account/update-password.md +++ b/docs/examples/1.2.x/client-web/examples/account/update-password.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/account/update-phone-session.md b/docs/examples/1.2.x/client-web/examples/account/update-phone-session.md index b3b29481a9..9870627d9f 100644 --- a/docs/examples/1.2.x/client-web/examples/account/update-phone-session.md +++ b/docs/examples/1.2.x/client-web/examples/account/update-phone-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/account/update-phone-verification.md b/docs/examples/1.2.x/client-web/examples/account/update-phone-verification.md index a274c9b07c..912f178814 100644 --- a/docs/examples/1.2.x/client-web/examples/account/update-phone-verification.md +++ b/docs/examples/1.2.x/client-web/examples/account/update-phone-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/account/update-phone.md b/docs/examples/1.2.x/client-web/examples/account/update-phone.md index a1017fc7f4..6ee5eb40e8 100644 --- a/docs/examples/1.2.x/client-web/examples/account/update-phone.md +++ b/docs/examples/1.2.x/client-web/examples/account/update-phone.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/account/update-prefs.md b/docs/examples/1.2.x/client-web/examples/account/update-prefs.md index ecceff3158..3f90dfabd2 100644 --- a/docs/examples/1.2.x/client-web/examples/account/update-prefs.md +++ b/docs/examples/1.2.x/client-web/examples/account/update-prefs.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/account/update-recovery.md b/docs/examples/1.2.x/client-web/examples/account/update-recovery.md index eb78a8a52d..200b993a4c 100644 --- a/docs/examples/1.2.x/client-web/examples/account/update-recovery.md +++ b/docs/examples/1.2.x/client-web/examples/account/update-recovery.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/account/update-session.md b/docs/examples/1.2.x/client-web/examples/account/update-session.md index a7a42c663a..a8c40ebb81 100644 --- a/docs/examples/1.2.x/client-web/examples/account/update-session.md +++ b/docs/examples/1.2.x/client-web/examples/account/update-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/account/update-status.md b/docs/examples/1.2.x/client-web/examples/account/update-status.md index 9cbe78c5c4..d3ac91e7d5 100644 --- a/docs/examples/1.2.x/client-web/examples/account/update-status.md +++ b/docs/examples/1.2.x/client-web/examples/account/update-status.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/account/update-verification.md b/docs/examples/1.2.x/client-web/examples/account/update-verification.md index 73338da4df..404fdd4352 100644 --- a/docs/examples/1.2.x/client-web/examples/account/update-verification.md +++ b/docs/examples/1.2.x/client-web/examples/account/update-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/avatars/get-browser.md b/docs/examples/1.2.x/client-web/examples/avatars/get-browser.md index 0b4c2def00..cf5beeb458 100644 --- a/docs/examples/1.2.x/client-web/examples/avatars/get-browser.md +++ b/docs/examples/1.2.x/client-web/examples/avatars/get-browser.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/avatars/get-credit-card.md b/docs/examples/1.2.x/client-web/examples/avatars/get-credit-card.md index 082ed92b67..3486722f90 100644 --- a/docs/examples/1.2.x/client-web/examples/avatars/get-credit-card.md +++ b/docs/examples/1.2.x/client-web/examples/avatars/get-credit-card.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/avatars/get-favicon.md b/docs/examples/1.2.x/client-web/examples/avatars/get-favicon.md index 7ee6bd3da2..5e0056c888 100644 --- a/docs/examples/1.2.x/client-web/examples/avatars/get-favicon.md +++ b/docs/examples/1.2.x/client-web/examples/avatars/get-favicon.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/avatars/get-flag.md b/docs/examples/1.2.x/client-web/examples/avatars/get-flag.md index a43827a1ae..7e95a5bc13 100644 --- a/docs/examples/1.2.x/client-web/examples/avatars/get-flag.md +++ b/docs/examples/1.2.x/client-web/examples/avatars/get-flag.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/avatars/get-image.md b/docs/examples/1.2.x/client-web/examples/avatars/get-image.md index ea186a1a68..b6d25c7389 100644 --- a/docs/examples/1.2.x/client-web/examples/avatars/get-image.md +++ b/docs/examples/1.2.x/client-web/examples/avatars/get-image.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/avatars/get-initials.md b/docs/examples/1.2.x/client-web/examples/avatars/get-initials.md index 7e8c8ec413..efee82cfab 100644 --- a/docs/examples/1.2.x/client-web/examples/avatars/get-initials.md +++ b/docs/examples/1.2.x/client-web/examples/avatars/get-initials.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/avatars/get-q-r.md b/docs/examples/1.2.x/client-web/examples/avatars/get-q-r.md index b957084aa1..412dff00ea 100644 --- a/docs/examples/1.2.x/client-web/examples/avatars/get-q-r.md +++ b/docs/examples/1.2.x/client-web/examples/avatars/get-q-r.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/databases/create-document.md b/docs/examples/1.2.x/client-web/examples/databases/create-document.md index 92792066ef..a87121baa7 100644 --- a/docs/examples/1.2.x/client-web/examples/databases/create-document.md +++ b/docs/examples/1.2.x/client-web/examples/databases/create-document.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/databases/delete-document.md b/docs/examples/1.2.x/client-web/examples/databases/delete-document.md index 9e281e7166..39f96d4d12 100644 --- a/docs/examples/1.2.x/client-web/examples/databases/delete-document.md +++ b/docs/examples/1.2.x/client-web/examples/databases/delete-document.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/databases/get-document.md b/docs/examples/1.2.x/client-web/examples/databases/get-document.md index ea80328794..b38f81805d 100644 --- a/docs/examples/1.2.x/client-web/examples/databases/get-document.md +++ b/docs/examples/1.2.x/client-web/examples/databases/get-document.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/databases/list-documents.md b/docs/examples/1.2.x/client-web/examples/databases/list-documents.md index 4a94c99db3..9be7797389 100644 --- a/docs/examples/1.2.x/client-web/examples/databases/list-documents.md +++ b/docs/examples/1.2.x/client-web/examples/databases/list-documents.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/databases/update-document.md b/docs/examples/1.2.x/client-web/examples/databases/update-document.md index cc5ef1cc02..6d58415112 100644 --- a/docs/examples/1.2.x/client-web/examples/databases/update-document.md +++ b/docs/examples/1.2.x/client-web/examples/databases/update-document.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/functions/create-execution.md b/docs/examples/1.2.x/client-web/examples/functions/create-execution.md index 4fc7ac7545..091e3aae24 100644 --- a/docs/examples/1.2.x/client-web/examples/functions/create-execution.md +++ b/docs/examples/1.2.x/client-web/examples/functions/create-execution.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/functions/get-execution.md b/docs/examples/1.2.x/client-web/examples/functions/get-execution.md index 2473572c05..704cf52c62 100644 --- a/docs/examples/1.2.x/client-web/examples/functions/get-execution.md +++ b/docs/examples/1.2.x/client-web/examples/functions/get-execution.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/functions/list-executions.md b/docs/examples/1.2.x/client-web/examples/functions/list-executions.md index 481986ef40..b0a74de4a0 100644 --- a/docs/examples/1.2.x/client-web/examples/functions/list-executions.md +++ b/docs/examples/1.2.x/client-web/examples/functions/list-executions.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/graphql/63a08ed7385a4.md b/docs/examples/1.2.x/client-web/examples/graphql/63a08ed7385a4.md index 45584f44bb..3bf6d7977f 100644 --- a/docs/examples/1.2.x/client-web/examples/graphql/63a08ed7385a4.md +++ b/docs/examples/1.2.x/client-web/examples/graphql/63a08ed7385a4.md @@ -5,7 +5,7 @@ const client = new Client(); const graphql = new Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/graphql/get.md b/docs/examples/1.2.x/client-web/examples/graphql/get.md index 25a59ceeb4..98d561e4f7 100644 --- a/docs/examples/1.2.x/client-web/examples/graphql/get.md +++ b/docs/examples/1.2.x/client-web/examples/graphql/get.md @@ -5,7 +5,7 @@ const client = new Client(); const graphql = new Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/graphql/mutation.md b/docs/examples/1.2.x/client-web/examples/graphql/mutation.md index 1a0b61cd3b..c968d9a245 100644 --- a/docs/examples/1.2.x/client-web/examples/graphql/mutation.md +++ b/docs/examples/1.2.x/client-web/examples/graphql/mutation.md @@ -5,7 +5,7 @@ const client = new Client(); const graphql = new Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/graphql/query.md b/docs/examples/1.2.x/client-web/examples/graphql/query.md index e507fbb5aa..8d1e5edd18 100644 --- a/docs/examples/1.2.x/client-web/examples/graphql/query.md +++ b/docs/examples/1.2.x/client-web/examples/graphql/query.md @@ -5,7 +5,7 @@ const client = new Client(); const graphql = new Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/locale/get.md b/docs/examples/1.2.x/client-web/examples/locale/get.md index e15bad2ce1..1001b36d05 100644 --- a/docs/examples/1.2.x/client-web/examples/locale/get.md +++ b/docs/examples/1.2.x/client-web/examples/locale/get.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/locale/list-continents.md b/docs/examples/1.2.x/client-web/examples/locale/list-continents.md index aa3716ef56..9239750852 100644 --- a/docs/examples/1.2.x/client-web/examples/locale/list-continents.md +++ b/docs/examples/1.2.x/client-web/examples/locale/list-continents.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/locale/list-countries-e-u.md b/docs/examples/1.2.x/client-web/examples/locale/list-countries-e-u.md index c924b8df4b..005d5a3327 100644 --- a/docs/examples/1.2.x/client-web/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.2.x/client-web/examples/locale/list-countries-e-u.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/locale/list-countries-phones.md b/docs/examples/1.2.x/client-web/examples/locale/list-countries-phones.md index 0ab60767da..2e5faf107d 100644 --- a/docs/examples/1.2.x/client-web/examples/locale/list-countries-phones.md +++ b/docs/examples/1.2.x/client-web/examples/locale/list-countries-phones.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/locale/list-countries.md b/docs/examples/1.2.x/client-web/examples/locale/list-countries.md index ee8c454993..d57ab0b732 100644 --- a/docs/examples/1.2.x/client-web/examples/locale/list-countries.md +++ b/docs/examples/1.2.x/client-web/examples/locale/list-countries.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/locale/list-currencies.md b/docs/examples/1.2.x/client-web/examples/locale/list-currencies.md index dd37b14e25..31015d585c 100644 --- a/docs/examples/1.2.x/client-web/examples/locale/list-currencies.md +++ b/docs/examples/1.2.x/client-web/examples/locale/list-currencies.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/locale/list-languages.md b/docs/examples/1.2.x/client-web/examples/locale/list-languages.md index 89ae06d529..cfd9adcc1a 100644 --- a/docs/examples/1.2.x/client-web/examples/locale/list-languages.md +++ b/docs/examples/1.2.x/client-web/examples/locale/list-languages.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/storage/create-file.md b/docs/examples/1.2.x/client-web/examples/storage/create-file.md index 0cddb08690..8e84ec8cee 100644 --- a/docs/examples/1.2.x/client-web/examples/storage/create-file.md +++ b/docs/examples/1.2.x/client-web/examples/storage/create-file.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/storage/delete-file.md b/docs/examples/1.2.x/client-web/examples/storage/delete-file.md index 257d855c32..47416bbb8f 100644 --- a/docs/examples/1.2.x/client-web/examples/storage/delete-file.md +++ b/docs/examples/1.2.x/client-web/examples/storage/delete-file.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/storage/get-file-download.md b/docs/examples/1.2.x/client-web/examples/storage/get-file-download.md index d8a3542aab..d9f4cd1895 100644 --- a/docs/examples/1.2.x/client-web/examples/storage/get-file-download.md +++ b/docs/examples/1.2.x/client-web/examples/storage/get-file-download.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/storage/get-file-preview.md b/docs/examples/1.2.x/client-web/examples/storage/get-file-preview.md index f0588ba7dc..d2d4731322 100644 --- a/docs/examples/1.2.x/client-web/examples/storage/get-file-preview.md +++ b/docs/examples/1.2.x/client-web/examples/storage/get-file-preview.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/storage/get-file-view.md b/docs/examples/1.2.x/client-web/examples/storage/get-file-view.md index 5eb2855bef..e9d0ff6d8d 100644 --- a/docs/examples/1.2.x/client-web/examples/storage/get-file-view.md +++ b/docs/examples/1.2.x/client-web/examples/storage/get-file-view.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/storage/get-file.md b/docs/examples/1.2.x/client-web/examples/storage/get-file.md index 6b39ee386e..e326154a4e 100644 --- a/docs/examples/1.2.x/client-web/examples/storage/get-file.md +++ b/docs/examples/1.2.x/client-web/examples/storage/get-file.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/storage/list-files.md b/docs/examples/1.2.x/client-web/examples/storage/list-files.md index 696d4013cd..7faeb85cb1 100644 --- a/docs/examples/1.2.x/client-web/examples/storage/list-files.md +++ b/docs/examples/1.2.x/client-web/examples/storage/list-files.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/storage/update-file.md b/docs/examples/1.2.x/client-web/examples/storage/update-file.md index d22a2f6a11..747044dc30 100644 --- a/docs/examples/1.2.x/client-web/examples/storage/update-file.md +++ b/docs/examples/1.2.x/client-web/examples/storage/update-file.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/teams/create-membership.md b/docs/examples/1.2.x/client-web/examples/teams/create-membership.md index 655f798288..85fb1ef124 100644 --- a/docs/examples/1.2.x/client-web/examples/teams/create-membership.md +++ b/docs/examples/1.2.x/client-web/examples/teams/create-membership.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/teams/create.md b/docs/examples/1.2.x/client-web/examples/teams/create.md index c9037e9575..382b759d9c 100644 --- a/docs/examples/1.2.x/client-web/examples/teams/create.md +++ b/docs/examples/1.2.x/client-web/examples/teams/create.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/teams/delete-membership.md b/docs/examples/1.2.x/client-web/examples/teams/delete-membership.md index c42d669457..76232de1ab 100644 --- a/docs/examples/1.2.x/client-web/examples/teams/delete-membership.md +++ b/docs/examples/1.2.x/client-web/examples/teams/delete-membership.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/teams/delete.md b/docs/examples/1.2.x/client-web/examples/teams/delete.md index 0c99b7aab8..2e5e839551 100644 --- a/docs/examples/1.2.x/client-web/examples/teams/delete.md +++ b/docs/examples/1.2.x/client-web/examples/teams/delete.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/teams/get-membership.md b/docs/examples/1.2.x/client-web/examples/teams/get-membership.md index d4d3c5a65d..0e2c145445 100644 --- a/docs/examples/1.2.x/client-web/examples/teams/get-membership.md +++ b/docs/examples/1.2.x/client-web/examples/teams/get-membership.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/teams/get.md b/docs/examples/1.2.x/client-web/examples/teams/get.md index 396916ed41..cdf8812225 100644 --- a/docs/examples/1.2.x/client-web/examples/teams/get.md +++ b/docs/examples/1.2.x/client-web/examples/teams/get.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/teams/list-memberships.md b/docs/examples/1.2.x/client-web/examples/teams/list-memberships.md index dfa0163037..845d0ce229 100644 --- a/docs/examples/1.2.x/client-web/examples/teams/list-memberships.md +++ b/docs/examples/1.2.x/client-web/examples/teams/list-memberships.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/teams/list.md b/docs/examples/1.2.x/client-web/examples/teams/list.md index daf799b95a..97b4ca31f3 100644 --- a/docs/examples/1.2.x/client-web/examples/teams/list.md +++ b/docs/examples/1.2.x/client-web/examples/teams/list.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/teams/update-membership-roles.md b/docs/examples/1.2.x/client-web/examples/teams/update-membership-roles.md index 55b2267e4e..fd0c6f46fc 100644 --- a/docs/examples/1.2.x/client-web/examples/teams/update-membership-roles.md +++ b/docs/examples/1.2.x/client-web/examples/teams/update-membership-roles.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/teams/update-membership-status.md b/docs/examples/1.2.x/client-web/examples/teams/update-membership-status.md index de1b7f8402..5ef0b2289c 100644 --- a/docs/examples/1.2.x/client-web/examples/teams/update-membership-status.md +++ b/docs/examples/1.2.x/client-web/examples/teams/update-membership-status.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/client-web/examples/teams/update.md b/docs/examples/1.2.x/client-web/examples/teams/update.md index e10252e73f..016d53add8 100644 --- a/docs/examples/1.2.x/client-web/examples/teams/update.md +++ b/docs/examples/1.2.x/client-web/examples/teams/update.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/account/create-anonymous-session.md b/docs/examples/1.2.x/console-web/examples/account/create-anonymous-session.md index 9521cf68a5..81b49b3364 100644 --- a/docs/examples/1.2.x/console-web/examples/account/create-anonymous-session.md +++ b/docs/examples/1.2.x/console-web/examples/account/create-anonymous-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/account/create-email-session.md b/docs/examples/1.2.x/console-web/examples/account/create-email-session.md index 19812773df..4b9d12c64f 100644 --- a/docs/examples/1.2.x/console-web/examples/account/create-email-session.md +++ b/docs/examples/1.2.x/console-web/examples/account/create-email-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/account/create-j-w-t.md b/docs/examples/1.2.x/console-web/examples/account/create-j-w-t.md index 8a851df369..86336ab693 100644 --- a/docs/examples/1.2.x/console-web/examples/account/create-j-w-t.md +++ b/docs/examples/1.2.x/console-web/examples/account/create-j-w-t.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/account/create-magic-u-r-l-session.md b/docs/examples/1.2.x/console-web/examples/account/create-magic-u-r-l-session.md index 6917aa288c..b000a713dd 100644 --- a/docs/examples/1.2.x/console-web/examples/account/create-magic-u-r-l-session.md +++ b/docs/examples/1.2.x/console-web/examples/account/create-magic-u-r-l-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/account/create-o-auth2session.md b/docs/examples/1.2.x/console-web/examples/account/create-o-auth2session.md index bf33c52f30..3dc8a90076 100644 --- a/docs/examples/1.2.x/console-web/examples/account/create-o-auth2session.md +++ b/docs/examples/1.2.x/console-web/examples/account/create-o-auth2session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/account/create-phone-session.md b/docs/examples/1.2.x/console-web/examples/account/create-phone-session.md index 85e7d68eed..18fb31ee85 100644 --- a/docs/examples/1.2.x/console-web/examples/account/create-phone-session.md +++ b/docs/examples/1.2.x/console-web/examples/account/create-phone-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/account/create-phone-verification.md b/docs/examples/1.2.x/console-web/examples/account/create-phone-verification.md index 0b10961e53..aadd2c149d 100644 --- a/docs/examples/1.2.x/console-web/examples/account/create-phone-verification.md +++ b/docs/examples/1.2.x/console-web/examples/account/create-phone-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/account/create-recovery.md b/docs/examples/1.2.x/console-web/examples/account/create-recovery.md index dd33c01f04..9cc625a21d 100644 --- a/docs/examples/1.2.x/console-web/examples/account/create-recovery.md +++ b/docs/examples/1.2.x/console-web/examples/account/create-recovery.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/account/create-verification.md b/docs/examples/1.2.x/console-web/examples/account/create-verification.md index 7b1ec32f2f..b3ce7d060f 100644 --- a/docs/examples/1.2.x/console-web/examples/account/create-verification.md +++ b/docs/examples/1.2.x/console-web/examples/account/create-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/account/create.md b/docs/examples/1.2.x/console-web/examples/account/create.md index 71d8f7a7ef..d308aef50e 100644 --- a/docs/examples/1.2.x/console-web/examples/account/create.md +++ b/docs/examples/1.2.x/console-web/examples/account/create.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/account/delete-session.md b/docs/examples/1.2.x/console-web/examples/account/delete-session.md index b360b3bb89..c6a6188d4e 100644 --- a/docs/examples/1.2.x/console-web/examples/account/delete-session.md +++ b/docs/examples/1.2.x/console-web/examples/account/delete-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/account/delete-sessions.md b/docs/examples/1.2.x/console-web/examples/account/delete-sessions.md index 0d0fea88f4..6cf737e92a 100644 --- a/docs/examples/1.2.x/console-web/examples/account/delete-sessions.md +++ b/docs/examples/1.2.x/console-web/examples/account/delete-sessions.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/account/get-prefs.md b/docs/examples/1.2.x/console-web/examples/account/get-prefs.md index 284f8fabda..939df8a13c 100644 --- a/docs/examples/1.2.x/console-web/examples/account/get-prefs.md +++ b/docs/examples/1.2.x/console-web/examples/account/get-prefs.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/account/get-session.md b/docs/examples/1.2.x/console-web/examples/account/get-session.md index 651d35c734..485ccb7f7c 100644 --- a/docs/examples/1.2.x/console-web/examples/account/get-session.md +++ b/docs/examples/1.2.x/console-web/examples/account/get-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/account/get.md b/docs/examples/1.2.x/console-web/examples/account/get.md index f6fc4b9401..f4bc097c8e 100644 --- a/docs/examples/1.2.x/console-web/examples/account/get.md +++ b/docs/examples/1.2.x/console-web/examples/account/get.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/account/list-logs.md b/docs/examples/1.2.x/console-web/examples/account/list-logs.md index 4f1d6813a7..68bc5a3386 100644 --- a/docs/examples/1.2.x/console-web/examples/account/list-logs.md +++ b/docs/examples/1.2.x/console-web/examples/account/list-logs.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/account/list-sessions.md b/docs/examples/1.2.x/console-web/examples/account/list-sessions.md index bd3b102b21..c54c6420f2 100644 --- a/docs/examples/1.2.x/console-web/examples/account/list-sessions.md +++ b/docs/examples/1.2.x/console-web/examples/account/list-sessions.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/account/update-email.md b/docs/examples/1.2.x/console-web/examples/account/update-email.md index 21b7fcc3f2..1d69f5d15a 100644 --- a/docs/examples/1.2.x/console-web/examples/account/update-email.md +++ b/docs/examples/1.2.x/console-web/examples/account/update-email.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.2.x/console-web/examples/account/update-magic-u-r-l-session.md index 1bc748ed30..e73d344a75 100644 --- a/docs/examples/1.2.x/console-web/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.2.x/console-web/examples/account/update-magic-u-r-l-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/account/update-name.md b/docs/examples/1.2.x/console-web/examples/account/update-name.md index 5a9ab011b4..5a221115f1 100644 --- a/docs/examples/1.2.x/console-web/examples/account/update-name.md +++ b/docs/examples/1.2.x/console-web/examples/account/update-name.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/account/update-password.md b/docs/examples/1.2.x/console-web/examples/account/update-password.md index 57f1b34349..610a6bd010 100644 --- a/docs/examples/1.2.x/console-web/examples/account/update-password.md +++ b/docs/examples/1.2.x/console-web/examples/account/update-password.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/account/update-phone-session.md b/docs/examples/1.2.x/console-web/examples/account/update-phone-session.md index 4b47389a3c..2f5ca7fa64 100644 --- a/docs/examples/1.2.x/console-web/examples/account/update-phone-session.md +++ b/docs/examples/1.2.x/console-web/examples/account/update-phone-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/account/update-phone-verification.md b/docs/examples/1.2.x/console-web/examples/account/update-phone-verification.md index 99c13cb90e..4f66ec5e81 100644 --- a/docs/examples/1.2.x/console-web/examples/account/update-phone-verification.md +++ b/docs/examples/1.2.x/console-web/examples/account/update-phone-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/account/update-phone.md b/docs/examples/1.2.x/console-web/examples/account/update-phone.md index 80f715e0bc..19ebdd256b 100644 --- a/docs/examples/1.2.x/console-web/examples/account/update-phone.md +++ b/docs/examples/1.2.x/console-web/examples/account/update-phone.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/account/update-prefs.md b/docs/examples/1.2.x/console-web/examples/account/update-prefs.md index 0a85380d34..2cba25590f 100644 --- a/docs/examples/1.2.x/console-web/examples/account/update-prefs.md +++ b/docs/examples/1.2.x/console-web/examples/account/update-prefs.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/account/update-recovery.md b/docs/examples/1.2.x/console-web/examples/account/update-recovery.md index 64c1545e89..f91b353d94 100644 --- a/docs/examples/1.2.x/console-web/examples/account/update-recovery.md +++ b/docs/examples/1.2.x/console-web/examples/account/update-recovery.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/account/update-session.md b/docs/examples/1.2.x/console-web/examples/account/update-session.md index 29dc0c0907..64abdcb0dc 100644 --- a/docs/examples/1.2.x/console-web/examples/account/update-session.md +++ b/docs/examples/1.2.x/console-web/examples/account/update-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/account/update-status.md b/docs/examples/1.2.x/console-web/examples/account/update-status.md index 87b5146525..c1a568439f 100644 --- a/docs/examples/1.2.x/console-web/examples/account/update-status.md +++ b/docs/examples/1.2.x/console-web/examples/account/update-status.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/account/update-verification.md b/docs/examples/1.2.x/console-web/examples/account/update-verification.md index 93dd5db120..7ab66b2be6 100644 --- a/docs/examples/1.2.x/console-web/examples/account/update-verification.md +++ b/docs/examples/1.2.x/console-web/examples/account/update-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/avatars/get-browser.md b/docs/examples/1.2.x/console-web/examples/avatars/get-browser.md index f830effff2..f2a966e6d3 100644 --- a/docs/examples/1.2.x/console-web/examples/avatars/get-browser.md +++ b/docs/examples/1.2.x/console-web/examples/avatars/get-browser.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/avatars/get-credit-card.md b/docs/examples/1.2.x/console-web/examples/avatars/get-credit-card.md index a4e67b25e7..a3f59418da 100644 --- a/docs/examples/1.2.x/console-web/examples/avatars/get-credit-card.md +++ b/docs/examples/1.2.x/console-web/examples/avatars/get-credit-card.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/avatars/get-favicon.md b/docs/examples/1.2.x/console-web/examples/avatars/get-favicon.md index 14bc1b9b00..0076abdd54 100644 --- a/docs/examples/1.2.x/console-web/examples/avatars/get-favicon.md +++ b/docs/examples/1.2.x/console-web/examples/avatars/get-favicon.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/avatars/get-flag.md b/docs/examples/1.2.x/console-web/examples/avatars/get-flag.md index 52ebe68c65..f6a66a01a8 100644 --- a/docs/examples/1.2.x/console-web/examples/avatars/get-flag.md +++ b/docs/examples/1.2.x/console-web/examples/avatars/get-flag.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/avatars/get-image.md b/docs/examples/1.2.x/console-web/examples/avatars/get-image.md index 517421e7f0..2435fae980 100644 --- a/docs/examples/1.2.x/console-web/examples/avatars/get-image.md +++ b/docs/examples/1.2.x/console-web/examples/avatars/get-image.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/avatars/get-initials.md b/docs/examples/1.2.x/console-web/examples/avatars/get-initials.md index 8b03b5d386..0d5bc0a6c8 100644 --- a/docs/examples/1.2.x/console-web/examples/avatars/get-initials.md +++ b/docs/examples/1.2.x/console-web/examples/avatars/get-initials.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/avatars/get-q-r.md b/docs/examples/1.2.x/console-web/examples/avatars/get-q-r.md index 89cea47ad9..5f1d17d410 100644 --- a/docs/examples/1.2.x/console-web/examples/avatars/get-q-r.md +++ b/docs/examples/1.2.x/console-web/examples/avatars/get-q-r.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/create-boolean-attribute.md b/docs/examples/1.2.x/console-web/examples/databases/create-boolean-attribute.md index 3924ff5cc5..995eb48e4b 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.2.x/console-web/examples/databases/create-boolean-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/create-collection.md b/docs/examples/1.2.x/console-web/examples/databases/create-collection.md index ff3dbd974d..a478b7eeb6 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/create-collection.md +++ b/docs/examples/1.2.x/console-web/examples/databases/create-collection.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/create-datetime-attribute.md b/docs/examples/1.2.x/console-web/examples/databases/create-datetime-attribute.md index 4e1f3190b3..a6e825299a 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.2.x/console-web/examples/databases/create-datetime-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/create-document.md b/docs/examples/1.2.x/console-web/examples/databases/create-document.md index 4b9adc4e7c..fdd014f39d 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/create-document.md +++ b/docs/examples/1.2.x/console-web/examples/databases/create-document.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/create-email-attribute.md b/docs/examples/1.2.x/console-web/examples/databases/create-email-attribute.md index 8d2a5523b6..d25d0cdca3 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/create-email-attribute.md +++ b/docs/examples/1.2.x/console-web/examples/databases/create-email-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/create-enum-attribute.md b/docs/examples/1.2.x/console-web/examples/databases/create-enum-attribute.md index 503290b951..492fc94db7 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.2.x/console-web/examples/databases/create-enum-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/create-float-attribute.md b/docs/examples/1.2.x/console-web/examples/databases/create-float-attribute.md index 7ce41b6b0b..e910e78d5f 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/create-float-attribute.md +++ b/docs/examples/1.2.x/console-web/examples/databases/create-float-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/create-index.md b/docs/examples/1.2.x/console-web/examples/databases/create-index.md index 4da79809f4..90886275fc 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/create-index.md +++ b/docs/examples/1.2.x/console-web/examples/databases/create-index.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/create-integer-attribute.md b/docs/examples/1.2.x/console-web/examples/databases/create-integer-attribute.md index 28218a16d7..5fc48e7980 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.2.x/console-web/examples/databases/create-integer-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/create-ip-attribute.md b/docs/examples/1.2.x/console-web/examples/databases/create-ip-attribute.md index 88fcd66825..4f39330577 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.2.x/console-web/examples/databases/create-ip-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/create-string-attribute.md b/docs/examples/1.2.x/console-web/examples/databases/create-string-attribute.md index 8beade8f9d..8b546994fb 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/create-string-attribute.md +++ b/docs/examples/1.2.x/console-web/examples/databases/create-string-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/create-url-attribute.md b/docs/examples/1.2.x/console-web/examples/databases/create-url-attribute.md index 1cbd402c2e..4c1621878a 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/create-url-attribute.md +++ b/docs/examples/1.2.x/console-web/examples/databases/create-url-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/create.md b/docs/examples/1.2.x/console-web/examples/databases/create.md index bca894d724..035be47b85 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/create.md +++ b/docs/examples/1.2.x/console-web/examples/databases/create.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/delete-attribute.md b/docs/examples/1.2.x/console-web/examples/databases/delete-attribute.md index 858010b313..9b5259f135 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/delete-attribute.md +++ b/docs/examples/1.2.x/console-web/examples/databases/delete-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/delete-collection.md b/docs/examples/1.2.x/console-web/examples/databases/delete-collection.md index 9ce95a5e54..b654863416 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/delete-collection.md +++ b/docs/examples/1.2.x/console-web/examples/databases/delete-collection.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/delete-document.md b/docs/examples/1.2.x/console-web/examples/databases/delete-document.md index d31d06b521..727cf132ba 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/delete-document.md +++ b/docs/examples/1.2.x/console-web/examples/databases/delete-document.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/delete-index.md b/docs/examples/1.2.x/console-web/examples/databases/delete-index.md index 2ef22b82ad..6c8f148511 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/delete-index.md +++ b/docs/examples/1.2.x/console-web/examples/databases/delete-index.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/delete.md b/docs/examples/1.2.x/console-web/examples/databases/delete.md index bfd5b0cea3..049280a06b 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/delete.md +++ b/docs/examples/1.2.x/console-web/examples/databases/delete.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/get-attribute.md b/docs/examples/1.2.x/console-web/examples/databases/get-attribute.md index 1542f64763..610f07904b 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/get-attribute.md +++ b/docs/examples/1.2.x/console-web/examples/databases/get-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/get-collection-usage.md b/docs/examples/1.2.x/console-web/examples/databases/get-collection-usage.md index 983a613373..df51953046 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/get-collection-usage.md +++ b/docs/examples/1.2.x/console-web/examples/databases/get-collection-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/get-collection.md b/docs/examples/1.2.x/console-web/examples/databases/get-collection.md index 6dae02f5c2..f5fd435ff4 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/get-collection.md +++ b/docs/examples/1.2.x/console-web/examples/databases/get-collection.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/get-database-usage.md b/docs/examples/1.2.x/console-web/examples/databases/get-database-usage.md index f75040811e..3c293f0211 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/get-database-usage.md +++ b/docs/examples/1.2.x/console-web/examples/databases/get-database-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/get-document.md b/docs/examples/1.2.x/console-web/examples/databases/get-document.md index 87569bd863..63ec42b817 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/get-document.md +++ b/docs/examples/1.2.x/console-web/examples/databases/get-document.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/get-index.md b/docs/examples/1.2.x/console-web/examples/databases/get-index.md index d3df35d7a7..92fe6b48f4 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/get-index.md +++ b/docs/examples/1.2.x/console-web/examples/databases/get-index.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/get-usage.md b/docs/examples/1.2.x/console-web/examples/databases/get-usage.md index aabe123e89..c0ad5ea3c2 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/get-usage.md +++ b/docs/examples/1.2.x/console-web/examples/databases/get-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/get.md b/docs/examples/1.2.x/console-web/examples/databases/get.md index 64c8a859ed..036ebd5294 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/get.md +++ b/docs/examples/1.2.x/console-web/examples/databases/get.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/list-attributes.md b/docs/examples/1.2.x/console-web/examples/databases/list-attributes.md index df9123680e..cb07aba1f5 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/list-attributes.md +++ b/docs/examples/1.2.x/console-web/examples/databases/list-attributes.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/list-collection-logs.md b/docs/examples/1.2.x/console-web/examples/databases/list-collection-logs.md index 89662fe4b3..a6484de5e2 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/list-collection-logs.md +++ b/docs/examples/1.2.x/console-web/examples/databases/list-collection-logs.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/list-collections.md b/docs/examples/1.2.x/console-web/examples/databases/list-collections.md index 498e0d9c13..7d0e31ab0f 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/list-collections.md +++ b/docs/examples/1.2.x/console-web/examples/databases/list-collections.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/list-document-logs.md b/docs/examples/1.2.x/console-web/examples/databases/list-document-logs.md index 0161998358..34cf6c9c3d 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/list-document-logs.md +++ b/docs/examples/1.2.x/console-web/examples/databases/list-document-logs.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/list-documents.md b/docs/examples/1.2.x/console-web/examples/databases/list-documents.md index 9e29eb52c7..6365b91045 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/list-documents.md +++ b/docs/examples/1.2.x/console-web/examples/databases/list-documents.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/list-indexes.md b/docs/examples/1.2.x/console-web/examples/databases/list-indexes.md index 3449b7d82b..e821f98a12 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/list-indexes.md +++ b/docs/examples/1.2.x/console-web/examples/databases/list-indexes.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/list-logs.md b/docs/examples/1.2.x/console-web/examples/databases/list-logs.md index 3b3f0dcead..b982f8791b 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/list-logs.md +++ b/docs/examples/1.2.x/console-web/examples/databases/list-logs.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/list.md b/docs/examples/1.2.x/console-web/examples/databases/list.md index 20ae55793d..d4ba3714c4 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/list.md +++ b/docs/examples/1.2.x/console-web/examples/databases/list.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/update-collection.md b/docs/examples/1.2.x/console-web/examples/databases/update-collection.md index c0043b2500..c6fb8f69b6 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/update-collection.md +++ b/docs/examples/1.2.x/console-web/examples/databases/update-collection.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/update-document.md b/docs/examples/1.2.x/console-web/examples/databases/update-document.md index 249af34648..2fbe08d3d2 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/update-document.md +++ b/docs/examples/1.2.x/console-web/examples/databases/update-document.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/databases/update.md b/docs/examples/1.2.x/console-web/examples/databases/update.md index a8160956e5..5f2727847c 100644 --- a/docs/examples/1.2.x/console-web/examples/databases/update.md +++ b/docs/examples/1.2.x/console-web/examples/databases/update.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/functions/create-build.md b/docs/examples/1.2.x/console-web/examples/functions/create-build.md index 141bb3247c..a4d250ba58 100644 --- a/docs/examples/1.2.x/console-web/examples/functions/create-build.md +++ b/docs/examples/1.2.x/console-web/examples/functions/create-build.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/functions/create-deployment.md b/docs/examples/1.2.x/console-web/examples/functions/create-deployment.md index cb91fa8ab6..e205e85189 100644 --- a/docs/examples/1.2.x/console-web/examples/functions/create-deployment.md +++ b/docs/examples/1.2.x/console-web/examples/functions/create-deployment.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/functions/create-execution.md b/docs/examples/1.2.x/console-web/examples/functions/create-execution.md index cd623bb056..b7c9d28652 100644 --- a/docs/examples/1.2.x/console-web/examples/functions/create-execution.md +++ b/docs/examples/1.2.x/console-web/examples/functions/create-execution.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/functions/create-variable.md b/docs/examples/1.2.x/console-web/examples/functions/create-variable.md index df147ac2c8..d8bad947e2 100644 --- a/docs/examples/1.2.x/console-web/examples/functions/create-variable.md +++ b/docs/examples/1.2.x/console-web/examples/functions/create-variable.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/functions/create.md b/docs/examples/1.2.x/console-web/examples/functions/create.md index bc59a064f2..578118fa31 100644 --- a/docs/examples/1.2.x/console-web/examples/functions/create.md +++ b/docs/examples/1.2.x/console-web/examples/functions/create.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/functions/delete-deployment.md b/docs/examples/1.2.x/console-web/examples/functions/delete-deployment.md index 9597da3dcf..a5dc558457 100644 --- a/docs/examples/1.2.x/console-web/examples/functions/delete-deployment.md +++ b/docs/examples/1.2.x/console-web/examples/functions/delete-deployment.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/functions/delete-variable.md b/docs/examples/1.2.x/console-web/examples/functions/delete-variable.md index 30f2c031aa..1687be849b 100644 --- a/docs/examples/1.2.x/console-web/examples/functions/delete-variable.md +++ b/docs/examples/1.2.x/console-web/examples/functions/delete-variable.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/functions/delete.md b/docs/examples/1.2.x/console-web/examples/functions/delete.md index 3cfa756613..bee147500b 100644 --- a/docs/examples/1.2.x/console-web/examples/functions/delete.md +++ b/docs/examples/1.2.x/console-web/examples/functions/delete.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/functions/get-deployment.md b/docs/examples/1.2.x/console-web/examples/functions/get-deployment.md index 3a16587aca..e5e988c940 100644 --- a/docs/examples/1.2.x/console-web/examples/functions/get-deployment.md +++ b/docs/examples/1.2.x/console-web/examples/functions/get-deployment.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/functions/get-execution.md b/docs/examples/1.2.x/console-web/examples/functions/get-execution.md index ac92b98af8..d5b5d7400b 100644 --- a/docs/examples/1.2.x/console-web/examples/functions/get-execution.md +++ b/docs/examples/1.2.x/console-web/examples/functions/get-execution.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/functions/get-function-usage.md b/docs/examples/1.2.x/console-web/examples/functions/get-function-usage.md index 9ac20346ea..19bb6aa293 100644 --- a/docs/examples/1.2.x/console-web/examples/functions/get-function-usage.md +++ b/docs/examples/1.2.x/console-web/examples/functions/get-function-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/functions/get-usage.md b/docs/examples/1.2.x/console-web/examples/functions/get-usage.md index 6e3fe87860..8afeec514a 100644 --- a/docs/examples/1.2.x/console-web/examples/functions/get-usage.md +++ b/docs/examples/1.2.x/console-web/examples/functions/get-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/functions/get-variable.md b/docs/examples/1.2.x/console-web/examples/functions/get-variable.md index 3d4b07f44e..0d6a078176 100644 --- a/docs/examples/1.2.x/console-web/examples/functions/get-variable.md +++ b/docs/examples/1.2.x/console-web/examples/functions/get-variable.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/functions/get.md b/docs/examples/1.2.x/console-web/examples/functions/get.md index 5cb2e28910..fbb4e8be3f 100644 --- a/docs/examples/1.2.x/console-web/examples/functions/get.md +++ b/docs/examples/1.2.x/console-web/examples/functions/get.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/functions/list-deployments.md b/docs/examples/1.2.x/console-web/examples/functions/list-deployments.md index bd63271f27..1acf26b16f 100644 --- a/docs/examples/1.2.x/console-web/examples/functions/list-deployments.md +++ b/docs/examples/1.2.x/console-web/examples/functions/list-deployments.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/functions/list-executions.md b/docs/examples/1.2.x/console-web/examples/functions/list-executions.md index 5df980d48b..b1d40eb4b6 100644 --- a/docs/examples/1.2.x/console-web/examples/functions/list-executions.md +++ b/docs/examples/1.2.x/console-web/examples/functions/list-executions.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/functions/list-runtimes.md b/docs/examples/1.2.x/console-web/examples/functions/list-runtimes.md index 18f13b2c83..c1e2c654d7 100644 --- a/docs/examples/1.2.x/console-web/examples/functions/list-runtimes.md +++ b/docs/examples/1.2.x/console-web/examples/functions/list-runtimes.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/functions/list-variables.md b/docs/examples/1.2.x/console-web/examples/functions/list-variables.md index 5fd03bfc19..4f37c95bd5 100644 --- a/docs/examples/1.2.x/console-web/examples/functions/list-variables.md +++ b/docs/examples/1.2.x/console-web/examples/functions/list-variables.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/functions/list.md b/docs/examples/1.2.x/console-web/examples/functions/list.md index 721ad6bbb0..903112a5f7 100644 --- a/docs/examples/1.2.x/console-web/examples/functions/list.md +++ b/docs/examples/1.2.x/console-web/examples/functions/list.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/functions/update-deployment.md b/docs/examples/1.2.x/console-web/examples/functions/update-deployment.md index 98752326ef..b668a3fabb 100644 --- a/docs/examples/1.2.x/console-web/examples/functions/update-deployment.md +++ b/docs/examples/1.2.x/console-web/examples/functions/update-deployment.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/functions/update-variable.md b/docs/examples/1.2.x/console-web/examples/functions/update-variable.md index 33380ee102..3ce70d0d62 100644 --- a/docs/examples/1.2.x/console-web/examples/functions/update-variable.md +++ b/docs/examples/1.2.x/console-web/examples/functions/update-variable.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/functions/update.md b/docs/examples/1.2.x/console-web/examples/functions/update.md index e442bad7c2..e355557db0 100644 --- a/docs/examples/1.2.x/console-web/examples/functions/update.md +++ b/docs/examples/1.2.x/console-web/examples/functions/update.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/graphql/63a08ed889c47.md b/docs/examples/1.2.x/console-web/examples/graphql/63a08ed889c47.md index 9d5be3a274..04f78437ef 100644 --- a/docs/examples/1.2.x/console-web/examples/graphql/63a08ed889c47.md +++ b/docs/examples/1.2.x/console-web/examples/graphql/63a08ed889c47.md @@ -5,7 +5,7 @@ const client = new Client(); const graphql = new Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/graphql/get.md b/docs/examples/1.2.x/console-web/examples/graphql/get.md index 25a59ceeb4..98d561e4f7 100644 --- a/docs/examples/1.2.x/console-web/examples/graphql/get.md +++ b/docs/examples/1.2.x/console-web/examples/graphql/get.md @@ -5,7 +5,7 @@ const client = new Client(); const graphql = new Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/graphql/mutation.md b/docs/examples/1.2.x/console-web/examples/graphql/mutation.md index ee70c3630c..6de224be68 100644 --- a/docs/examples/1.2.x/console-web/examples/graphql/mutation.md +++ b/docs/examples/1.2.x/console-web/examples/graphql/mutation.md @@ -5,7 +5,7 @@ const client = new Client(); const graphql = new Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/graphql/query.md b/docs/examples/1.2.x/console-web/examples/graphql/query.md index 055c6ad002..f1c35d81ba 100644 --- a/docs/examples/1.2.x/console-web/examples/graphql/query.md +++ b/docs/examples/1.2.x/console-web/examples/graphql/query.md @@ -5,7 +5,7 @@ const client = new Client(); const graphql = new Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/health/get-antivirus.md b/docs/examples/1.2.x/console-web/examples/health/get-antivirus.md index 6d57550dd9..c55b33a3f5 100644 --- a/docs/examples/1.2.x/console-web/examples/health/get-antivirus.md +++ b/docs/examples/1.2.x/console-web/examples/health/get-antivirus.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/health/get-cache.md b/docs/examples/1.2.x/console-web/examples/health/get-cache.md index 5748c8e9dc..7c1563ced5 100644 --- a/docs/examples/1.2.x/console-web/examples/health/get-cache.md +++ b/docs/examples/1.2.x/console-web/examples/health/get-cache.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/health/get-d-b.md b/docs/examples/1.2.x/console-web/examples/health/get-d-b.md index 181dca7076..3c3c21b88c 100644 --- a/docs/examples/1.2.x/console-web/examples/health/get-d-b.md +++ b/docs/examples/1.2.x/console-web/examples/health/get-d-b.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/health/get-queue-certificates.md b/docs/examples/1.2.x/console-web/examples/health/get-queue-certificates.md index 29fcb6707a..f1361cb68a 100644 --- a/docs/examples/1.2.x/console-web/examples/health/get-queue-certificates.md +++ b/docs/examples/1.2.x/console-web/examples/health/get-queue-certificates.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/health/get-queue-functions.md b/docs/examples/1.2.x/console-web/examples/health/get-queue-functions.md index 0b011cb32d..12e8a8b6ba 100644 --- a/docs/examples/1.2.x/console-web/examples/health/get-queue-functions.md +++ b/docs/examples/1.2.x/console-web/examples/health/get-queue-functions.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/health/get-queue-logs.md b/docs/examples/1.2.x/console-web/examples/health/get-queue-logs.md index 2dc33b377b..8ddfaf700b 100644 --- a/docs/examples/1.2.x/console-web/examples/health/get-queue-logs.md +++ b/docs/examples/1.2.x/console-web/examples/health/get-queue-logs.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/health/get-queue-webhooks.md b/docs/examples/1.2.x/console-web/examples/health/get-queue-webhooks.md index 534d68c7f4..b2ae504bd1 100644 --- a/docs/examples/1.2.x/console-web/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.2.x/console-web/examples/health/get-queue-webhooks.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/health/get-storage-local.md b/docs/examples/1.2.x/console-web/examples/health/get-storage-local.md index ff842f4ba6..b7e8d86da6 100644 --- a/docs/examples/1.2.x/console-web/examples/health/get-storage-local.md +++ b/docs/examples/1.2.x/console-web/examples/health/get-storage-local.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/health/get-time.md b/docs/examples/1.2.x/console-web/examples/health/get-time.md index 6d8e1c225a..73e1155687 100644 --- a/docs/examples/1.2.x/console-web/examples/health/get-time.md +++ b/docs/examples/1.2.x/console-web/examples/health/get-time.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/health/get.md b/docs/examples/1.2.x/console-web/examples/health/get.md index 76e74be74c..faa1a0c7c1 100644 --- a/docs/examples/1.2.x/console-web/examples/health/get.md +++ b/docs/examples/1.2.x/console-web/examples/health/get.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/locale/get.md b/docs/examples/1.2.x/console-web/examples/locale/get.md index ac47468df8..bd3c27e3c3 100644 --- a/docs/examples/1.2.x/console-web/examples/locale/get.md +++ b/docs/examples/1.2.x/console-web/examples/locale/get.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/locale/list-continents.md b/docs/examples/1.2.x/console-web/examples/locale/list-continents.md index b2358396fc..0c3d6bb499 100644 --- a/docs/examples/1.2.x/console-web/examples/locale/list-continents.md +++ b/docs/examples/1.2.x/console-web/examples/locale/list-continents.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/locale/list-countries-e-u.md b/docs/examples/1.2.x/console-web/examples/locale/list-countries-e-u.md index 59d6e24dbf..7ac2906b4c 100644 --- a/docs/examples/1.2.x/console-web/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.2.x/console-web/examples/locale/list-countries-e-u.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/locale/list-countries-phones.md b/docs/examples/1.2.x/console-web/examples/locale/list-countries-phones.md index 898cb3cf31..300c81d953 100644 --- a/docs/examples/1.2.x/console-web/examples/locale/list-countries-phones.md +++ b/docs/examples/1.2.x/console-web/examples/locale/list-countries-phones.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/locale/list-countries.md b/docs/examples/1.2.x/console-web/examples/locale/list-countries.md index a36b8c25ed..3f26f6dba8 100644 --- a/docs/examples/1.2.x/console-web/examples/locale/list-countries.md +++ b/docs/examples/1.2.x/console-web/examples/locale/list-countries.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/locale/list-currencies.md b/docs/examples/1.2.x/console-web/examples/locale/list-currencies.md index 1f34891425..66163952bd 100644 --- a/docs/examples/1.2.x/console-web/examples/locale/list-currencies.md +++ b/docs/examples/1.2.x/console-web/examples/locale/list-currencies.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/locale/list-languages.md b/docs/examples/1.2.x/console-web/examples/locale/list-languages.md index 4fb4dbf0be..048c79d38a 100644 --- a/docs/examples/1.2.x/console-web/examples/locale/list-languages.md +++ b/docs/examples/1.2.x/console-web/examples/locale/list-languages.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/projects/create-domain.md b/docs/examples/1.2.x/console-web/examples/projects/create-domain.md index 78036bc8b0..4a572cc30c 100644 --- a/docs/examples/1.2.x/console-web/examples/projects/create-domain.md +++ b/docs/examples/1.2.x/console-web/examples/projects/create-domain.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/projects/create-key.md b/docs/examples/1.2.x/console-web/examples/projects/create-key.md index 02032e81c5..d65660599b 100644 --- a/docs/examples/1.2.x/console-web/examples/projects/create-key.md +++ b/docs/examples/1.2.x/console-web/examples/projects/create-key.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/projects/create-platform.md b/docs/examples/1.2.x/console-web/examples/projects/create-platform.md index 4a31968171..b668ec12f7 100644 --- a/docs/examples/1.2.x/console-web/examples/projects/create-platform.md +++ b/docs/examples/1.2.x/console-web/examples/projects/create-platform.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/projects/create-webhook.md b/docs/examples/1.2.x/console-web/examples/projects/create-webhook.md index 356a5ffe86..0ca56346c4 100644 --- a/docs/examples/1.2.x/console-web/examples/projects/create-webhook.md +++ b/docs/examples/1.2.x/console-web/examples/projects/create-webhook.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/projects/create.md b/docs/examples/1.2.x/console-web/examples/projects/create.md index 67682bf859..df22f3a68e 100644 --- a/docs/examples/1.2.x/console-web/examples/projects/create.md +++ b/docs/examples/1.2.x/console-web/examples/projects/create.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/projects/delete-domain.md b/docs/examples/1.2.x/console-web/examples/projects/delete-domain.md index 9b8ffbce39..a5370389e1 100644 --- a/docs/examples/1.2.x/console-web/examples/projects/delete-domain.md +++ b/docs/examples/1.2.x/console-web/examples/projects/delete-domain.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/projects/delete-key.md b/docs/examples/1.2.x/console-web/examples/projects/delete-key.md index 74c6bd1562..399e97687a 100644 --- a/docs/examples/1.2.x/console-web/examples/projects/delete-key.md +++ b/docs/examples/1.2.x/console-web/examples/projects/delete-key.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/projects/delete-platform.md b/docs/examples/1.2.x/console-web/examples/projects/delete-platform.md index da8ce56e54..0d6fa3c55b 100644 --- a/docs/examples/1.2.x/console-web/examples/projects/delete-platform.md +++ b/docs/examples/1.2.x/console-web/examples/projects/delete-platform.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/projects/delete-webhook.md b/docs/examples/1.2.x/console-web/examples/projects/delete-webhook.md index 08e3af636f..2de71ec3f3 100644 --- a/docs/examples/1.2.x/console-web/examples/projects/delete-webhook.md +++ b/docs/examples/1.2.x/console-web/examples/projects/delete-webhook.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/projects/delete.md b/docs/examples/1.2.x/console-web/examples/projects/delete.md index dc620b0811..62c4339853 100644 --- a/docs/examples/1.2.x/console-web/examples/projects/delete.md +++ b/docs/examples/1.2.x/console-web/examples/projects/delete.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/projects/get-domain.md b/docs/examples/1.2.x/console-web/examples/projects/get-domain.md index 4b82d70ef5..4d42ce09ba 100644 --- a/docs/examples/1.2.x/console-web/examples/projects/get-domain.md +++ b/docs/examples/1.2.x/console-web/examples/projects/get-domain.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/projects/get-key.md b/docs/examples/1.2.x/console-web/examples/projects/get-key.md index c0d3282c14..bfadb8de56 100644 --- a/docs/examples/1.2.x/console-web/examples/projects/get-key.md +++ b/docs/examples/1.2.x/console-web/examples/projects/get-key.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/projects/get-platform.md b/docs/examples/1.2.x/console-web/examples/projects/get-platform.md index fd65231aff..d178cbb843 100644 --- a/docs/examples/1.2.x/console-web/examples/projects/get-platform.md +++ b/docs/examples/1.2.x/console-web/examples/projects/get-platform.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/projects/get-usage.md b/docs/examples/1.2.x/console-web/examples/projects/get-usage.md index 8d8c91355d..af512463fb 100644 --- a/docs/examples/1.2.x/console-web/examples/projects/get-usage.md +++ b/docs/examples/1.2.x/console-web/examples/projects/get-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/projects/get-webhook.md b/docs/examples/1.2.x/console-web/examples/projects/get-webhook.md index 7f580b5f57..4357669a22 100644 --- a/docs/examples/1.2.x/console-web/examples/projects/get-webhook.md +++ b/docs/examples/1.2.x/console-web/examples/projects/get-webhook.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/projects/get.md b/docs/examples/1.2.x/console-web/examples/projects/get.md index 23c235a741..69e53ca0f2 100644 --- a/docs/examples/1.2.x/console-web/examples/projects/get.md +++ b/docs/examples/1.2.x/console-web/examples/projects/get.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/projects/list-domains.md b/docs/examples/1.2.x/console-web/examples/projects/list-domains.md index 448dbf8d19..7f536d91de 100644 --- a/docs/examples/1.2.x/console-web/examples/projects/list-domains.md +++ b/docs/examples/1.2.x/console-web/examples/projects/list-domains.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/projects/list-keys.md b/docs/examples/1.2.x/console-web/examples/projects/list-keys.md index c2dce0a419..8800067c24 100644 --- a/docs/examples/1.2.x/console-web/examples/projects/list-keys.md +++ b/docs/examples/1.2.x/console-web/examples/projects/list-keys.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/projects/list-platforms.md b/docs/examples/1.2.x/console-web/examples/projects/list-platforms.md index 968438f6bb..692de5c43f 100644 --- a/docs/examples/1.2.x/console-web/examples/projects/list-platforms.md +++ b/docs/examples/1.2.x/console-web/examples/projects/list-platforms.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/projects/list-webhooks.md b/docs/examples/1.2.x/console-web/examples/projects/list-webhooks.md index e0e0af367f..d960a75f98 100644 --- a/docs/examples/1.2.x/console-web/examples/projects/list-webhooks.md +++ b/docs/examples/1.2.x/console-web/examples/projects/list-webhooks.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/projects/list.md b/docs/examples/1.2.x/console-web/examples/projects/list.md index 0cf5002afe..a7476905fd 100644 --- a/docs/examples/1.2.x/console-web/examples/projects/list.md +++ b/docs/examples/1.2.x/console-web/examples/projects/list.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/projects/update-auth-duration.md b/docs/examples/1.2.x/console-web/examples/projects/update-auth-duration.md index 37c69222df..f74645388d 100644 --- a/docs/examples/1.2.x/console-web/examples/projects/update-auth-duration.md +++ b/docs/examples/1.2.x/console-web/examples/projects/update-auth-duration.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/projects/update-auth-limit.md b/docs/examples/1.2.x/console-web/examples/projects/update-auth-limit.md index a63f5b4518..4195655bef 100644 --- a/docs/examples/1.2.x/console-web/examples/projects/update-auth-limit.md +++ b/docs/examples/1.2.x/console-web/examples/projects/update-auth-limit.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/projects/update-auth-sessions-limit.md b/docs/examples/1.2.x/console-web/examples/projects/update-auth-sessions-limit.md index ef2dffa67a..21ce249f7a 100644 --- a/docs/examples/1.2.x/console-web/examples/projects/update-auth-sessions-limit.md +++ b/docs/examples/1.2.x/console-web/examples/projects/update-auth-sessions-limit.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/projects/update-auth-status.md b/docs/examples/1.2.x/console-web/examples/projects/update-auth-status.md index 4751442d8f..b183e1477c 100644 --- a/docs/examples/1.2.x/console-web/examples/projects/update-auth-status.md +++ b/docs/examples/1.2.x/console-web/examples/projects/update-auth-status.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/projects/update-domain-verification.md b/docs/examples/1.2.x/console-web/examples/projects/update-domain-verification.md index d994b90aaa..aac42ce379 100644 --- a/docs/examples/1.2.x/console-web/examples/projects/update-domain-verification.md +++ b/docs/examples/1.2.x/console-web/examples/projects/update-domain-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/projects/update-key.md b/docs/examples/1.2.x/console-web/examples/projects/update-key.md index fd2bde82bf..659017451a 100644 --- a/docs/examples/1.2.x/console-web/examples/projects/update-key.md +++ b/docs/examples/1.2.x/console-web/examples/projects/update-key.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/projects/update-o-auth2.md b/docs/examples/1.2.x/console-web/examples/projects/update-o-auth2.md index 34ce814208..cf3c92658f 100644 --- a/docs/examples/1.2.x/console-web/examples/projects/update-o-auth2.md +++ b/docs/examples/1.2.x/console-web/examples/projects/update-o-auth2.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/projects/update-platform.md b/docs/examples/1.2.x/console-web/examples/projects/update-platform.md index ce49dfffd8..75f3b3b4e2 100644 --- a/docs/examples/1.2.x/console-web/examples/projects/update-platform.md +++ b/docs/examples/1.2.x/console-web/examples/projects/update-platform.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/projects/update-service-status.md b/docs/examples/1.2.x/console-web/examples/projects/update-service-status.md index 5b727003b0..66010abf74 100644 --- a/docs/examples/1.2.x/console-web/examples/projects/update-service-status.md +++ b/docs/examples/1.2.x/console-web/examples/projects/update-service-status.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/projects/update-webhook-signature.md b/docs/examples/1.2.x/console-web/examples/projects/update-webhook-signature.md index 472271f8e6..8a18c84262 100644 --- a/docs/examples/1.2.x/console-web/examples/projects/update-webhook-signature.md +++ b/docs/examples/1.2.x/console-web/examples/projects/update-webhook-signature.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/projects/update-webhook.md b/docs/examples/1.2.x/console-web/examples/projects/update-webhook.md index 1339a45822..81fdd2913e 100644 --- a/docs/examples/1.2.x/console-web/examples/projects/update-webhook.md +++ b/docs/examples/1.2.x/console-web/examples/projects/update-webhook.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/projects/update.md b/docs/examples/1.2.x/console-web/examples/projects/update.md index 31281808c4..f162bd09b5 100644 --- a/docs/examples/1.2.x/console-web/examples/projects/update.md +++ b/docs/examples/1.2.x/console-web/examples/projects/update.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/storage/create-bucket.md b/docs/examples/1.2.x/console-web/examples/storage/create-bucket.md index 7696b14294..766a4835dc 100644 --- a/docs/examples/1.2.x/console-web/examples/storage/create-bucket.md +++ b/docs/examples/1.2.x/console-web/examples/storage/create-bucket.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/storage/create-file.md b/docs/examples/1.2.x/console-web/examples/storage/create-file.md index d1bf55b42b..ce0c8f0b9c 100644 --- a/docs/examples/1.2.x/console-web/examples/storage/create-file.md +++ b/docs/examples/1.2.x/console-web/examples/storage/create-file.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/storage/delete-bucket.md b/docs/examples/1.2.x/console-web/examples/storage/delete-bucket.md index 4634b11f5b..0a3305e862 100644 --- a/docs/examples/1.2.x/console-web/examples/storage/delete-bucket.md +++ b/docs/examples/1.2.x/console-web/examples/storage/delete-bucket.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/storage/delete-file.md b/docs/examples/1.2.x/console-web/examples/storage/delete-file.md index b4c0ff0f9d..1961a1fcde 100644 --- a/docs/examples/1.2.x/console-web/examples/storage/delete-file.md +++ b/docs/examples/1.2.x/console-web/examples/storage/delete-file.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/storage/get-bucket-usage.md b/docs/examples/1.2.x/console-web/examples/storage/get-bucket-usage.md index 65c66d7aa0..58223df2ae 100644 --- a/docs/examples/1.2.x/console-web/examples/storage/get-bucket-usage.md +++ b/docs/examples/1.2.x/console-web/examples/storage/get-bucket-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/storage/get-bucket.md b/docs/examples/1.2.x/console-web/examples/storage/get-bucket.md index 2b65e8b0ce..7b386458f9 100644 --- a/docs/examples/1.2.x/console-web/examples/storage/get-bucket.md +++ b/docs/examples/1.2.x/console-web/examples/storage/get-bucket.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/storage/get-file-download.md b/docs/examples/1.2.x/console-web/examples/storage/get-file-download.md index 1ce57cb38a..bdc8fb79d3 100644 --- a/docs/examples/1.2.x/console-web/examples/storage/get-file-download.md +++ b/docs/examples/1.2.x/console-web/examples/storage/get-file-download.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/storage/get-file-preview.md b/docs/examples/1.2.x/console-web/examples/storage/get-file-preview.md index ab6bc18fc4..8f58323bd6 100644 --- a/docs/examples/1.2.x/console-web/examples/storage/get-file-preview.md +++ b/docs/examples/1.2.x/console-web/examples/storage/get-file-preview.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/storage/get-file-view.md b/docs/examples/1.2.x/console-web/examples/storage/get-file-view.md index 7ce851f025..aa482c46f5 100644 --- a/docs/examples/1.2.x/console-web/examples/storage/get-file-view.md +++ b/docs/examples/1.2.x/console-web/examples/storage/get-file-view.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/storage/get-file.md b/docs/examples/1.2.x/console-web/examples/storage/get-file.md index b6e800303d..bb5a737721 100644 --- a/docs/examples/1.2.x/console-web/examples/storage/get-file.md +++ b/docs/examples/1.2.x/console-web/examples/storage/get-file.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/storage/get-usage.md b/docs/examples/1.2.x/console-web/examples/storage/get-usage.md index f618ba4e16..e9a8eb0672 100644 --- a/docs/examples/1.2.x/console-web/examples/storage/get-usage.md +++ b/docs/examples/1.2.x/console-web/examples/storage/get-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/storage/list-buckets.md b/docs/examples/1.2.x/console-web/examples/storage/list-buckets.md index 5a356900fa..a14a0d0217 100644 --- a/docs/examples/1.2.x/console-web/examples/storage/list-buckets.md +++ b/docs/examples/1.2.x/console-web/examples/storage/list-buckets.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/storage/list-files.md b/docs/examples/1.2.x/console-web/examples/storage/list-files.md index 0c6170f11d..ac7ef669dc 100644 --- a/docs/examples/1.2.x/console-web/examples/storage/list-files.md +++ b/docs/examples/1.2.x/console-web/examples/storage/list-files.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/storage/update-bucket.md b/docs/examples/1.2.x/console-web/examples/storage/update-bucket.md index 09ed4ce441..1d050c14b8 100644 --- a/docs/examples/1.2.x/console-web/examples/storage/update-bucket.md +++ b/docs/examples/1.2.x/console-web/examples/storage/update-bucket.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/storage/update-file.md b/docs/examples/1.2.x/console-web/examples/storage/update-file.md index abaaf9afd4..12292761d2 100644 --- a/docs/examples/1.2.x/console-web/examples/storage/update-file.md +++ b/docs/examples/1.2.x/console-web/examples/storage/update-file.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/teams/create-membership.md b/docs/examples/1.2.x/console-web/examples/teams/create-membership.md index c121edc70b..3c6fe4f796 100644 --- a/docs/examples/1.2.x/console-web/examples/teams/create-membership.md +++ b/docs/examples/1.2.x/console-web/examples/teams/create-membership.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/teams/create.md b/docs/examples/1.2.x/console-web/examples/teams/create.md index a2cb34296b..881816db34 100644 --- a/docs/examples/1.2.x/console-web/examples/teams/create.md +++ b/docs/examples/1.2.x/console-web/examples/teams/create.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/teams/delete-membership.md b/docs/examples/1.2.x/console-web/examples/teams/delete-membership.md index 4e7d7e7a74..66274a17b6 100644 --- a/docs/examples/1.2.x/console-web/examples/teams/delete-membership.md +++ b/docs/examples/1.2.x/console-web/examples/teams/delete-membership.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/teams/delete.md b/docs/examples/1.2.x/console-web/examples/teams/delete.md index 0bc778ba63..d51318f89e 100644 --- a/docs/examples/1.2.x/console-web/examples/teams/delete.md +++ b/docs/examples/1.2.x/console-web/examples/teams/delete.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/teams/get-membership.md b/docs/examples/1.2.x/console-web/examples/teams/get-membership.md index c0bdae5fc6..881f37d8b0 100644 --- a/docs/examples/1.2.x/console-web/examples/teams/get-membership.md +++ b/docs/examples/1.2.x/console-web/examples/teams/get-membership.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/teams/get.md b/docs/examples/1.2.x/console-web/examples/teams/get.md index 2dbfdb4b0b..068d50c6d1 100644 --- a/docs/examples/1.2.x/console-web/examples/teams/get.md +++ b/docs/examples/1.2.x/console-web/examples/teams/get.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/teams/list-logs.md b/docs/examples/1.2.x/console-web/examples/teams/list-logs.md index 2c3c7311e2..7fb7521417 100644 --- a/docs/examples/1.2.x/console-web/examples/teams/list-logs.md +++ b/docs/examples/1.2.x/console-web/examples/teams/list-logs.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/teams/list-memberships.md b/docs/examples/1.2.x/console-web/examples/teams/list-memberships.md index f7a7d1a54e..93e8588a55 100644 --- a/docs/examples/1.2.x/console-web/examples/teams/list-memberships.md +++ b/docs/examples/1.2.x/console-web/examples/teams/list-memberships.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/teams/list.md b/docs/examples/1.2.x/console-web/examples/teams/list.md index 99e482d8f3..3a5311efe3 100644 --- a/docs/examples/1.2.x/console-web/examples/teams/list.md +++ b/docs/examples/1.2.x/console-web/examples/teams/list.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/teams/update-membership-roles.md b/docs/examples/1.2.x/console-web/examples/teams/update-membership-roles.md index c09ed1ac77..80cbd9b6e1 100644 --- a/docs/examples/1.2.x/console-web/examples/teams/update-membership-roles.md +++ b/docs/examples/1.2.x/console-web/examples/teams/update-membership-roles.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/teams/update-membership-status.md b/docs/examples/1.2.x/console-web/examples/teams/update-membership-status.md index 1c8ec3a27e..cdc93967b3 100644 --- a/docs/examples/1.2.x/console-web/examples/teams/update-membership-status.md +++ b/docs/examples/1.2.x/console-web/examples/teams/update-membership-status.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/teams/update.md b/docs/examples/1.2.x/console-web/examples/teams/update.md index 160c8626ad..c912fc6c44 100644 --- a/docs/examples/1.2.x/console-web/examples/teams/update.md +++ b/docs/examples/1.2.x/console-web/examples/teams/update.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/users/create-argon2user.md b/docs/examples/1.2.x/console-web/examples/users/create-argon2user.md index f4dabafe18..e22db4f298 100644 --- a/docs/examples/1.2.x/console-web/examples/users/create-argon2user.md +++ b/docs/examples/1.2.x/console-web/examples/users/create-argon2user.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/users/create-bcrypt-user.md b/docs/examples/1.2.x/console-web/examples/users/create-bcrypt-user.md index 247f579c9c..809c9aab77 100644 --- a/docs/examples/1.2.x/console-web/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.2.x/console-web/examples/users/create-bcrypt-user.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/users/create-m-d5user.md b/docs/examples/1.2.x/console-web/examples/users/create-m-d5user.md index 8a81f0801b..13048d3ad6 100644 --- a/docs/examples/1.2.x/console-web/examples/users/create-m-d5user.md +++ b/docs/examples/1.2.x/console-web/examples/users/create-m-d5user.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/users/create-p-h-pass-user.md b/docs/examples/1.2.x/console-web/examples/users/create-p-h-pass-user.md index f7297c1023..448fb53ac2 100644 --- a/docs/examples/1.2.x/console-web/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.2.x/console-web/examples/users/create-p-h-pass-user.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/users/create-s-h-a-user.md b/docs/examples/1.2.x/console-web/examples/users/create-s-h-a-user.md index 3cefaf17df..d188ec648d 100644 --- a/docs/examples/1.2.x/console-web/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.2.x/console-web/examples/users/create-s-h-a-user.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/users/create-scrypt-modified-user.md b/docs/examples/1.2.x/console-web/examples/users/create-scrypt-modified-user.md index d8889fa229..da40910a37 100644 --- a/docs/examples/1.2.x/console-web/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.2.x/console-web/examples/users/create-scrypt-modified-user.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/users/create-scrypt-user.md b/docs/examples/1.2.x/console-web/examples/users/create-scrypt-user.md index 3c4b357e4c..ba82d26d9f 100644 --- a/docs/examples/1.2.x/console-web/examples/users/create-scrypt-user.md +++ b/docs/examples/1.2.x/console-web/examples/users/create-scrypt-user.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/users/create.md b/docs/examples/1.2.x/console-web/examples/users/create.md index 845895d6a5..30e6ec9266 100644 --- a/docs/examples/1.2.x/console-web/examples/users/create.md +++ b/docs/examples/1.2.x/console-web/examples/users/create.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/users/delete-session.md b/docs/examples/1.2.x/console-web/examples/users/delete-session.md index 70404ca574..9098318a77 100644 --- a/docs/examples/1.2.x/console-web/examples/users/delete-session.md +++ b/docs/examples/1.2.x/console-web/examples/users/delete-session.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/users/delete-sessions.md b/docs/examples/1.2.x/console-web/examples/users/delete-sessions.md index b02771c709..c8994db4e5 100644 --- a/docs/examples/1.2.x/console-web/examples/users/delete-sessions.md +++ b/docs/examples/1.2.x/console-web/examples/users/delete-sessions.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/users/delete.md b/docs/examples/1.2.x/console-web/examples/users/delete.md index 0bb95c395b..8dd6885f0e 100644 --- a/docs/examples/1.2.x/console-web/examples/users/delete.md +++ b/docs/examples/1.2.x/console-web/examples/users/delete.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/users/get-prefs.md b/docs/examples/1.2.x/console-web/examples/users/get-prefs.md index 593552bd03..a0e8f78b94 100644 --- a/docs/examples/1.2.x/console-web/examples/users/get-prefs.md +++ b/docs/examples/1.2.x/console-web/examples/users/get-prefs.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/users/get-usage.md b/docs/examples/1.2.x/console-web/examples/users/get-usage.md index 59d95e6dcb..3c38b500d8 100644 --- a/docs/examples/1.2.x/console-web/examples/users/get-usage.md +++ b/docs/examples/1.2.x/console-web/examples/users/get-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/users/get.md b/docs/examples/1.2.x/console-web/examples/users/get.md index 46cee750f7..816b41ad39 100644 --- a/docs/examples/1.2.x/console-web/examples/users/get.md +++ b/docs/examples/1.2.x/console-web/examples/users/get.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/users/list-logs.md b/docs/examples/1.2.x/console-web/examples/users/list-logs.md index ded1e98b40..cb2402e2d0 100644 --- a/docs/examples/1.2.x/console-web/examples/users/list-logs.md +++ b/docs/examples/1.2.x/console-web/examples/users/list-logs.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/users/list-memberships.md b/docs/examples/1.2.x/console-web/examples/users/list-memberships.md index b47f7acf57..3f9dca5ab2 100644 --- a/docs/examples/1.2.x/console-web/examples/users/list-memberships.md +++ b/docs/examples/1.2.x/console-web/examples/users/list-memberships.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/users/list-sessions.md b/docs/examples/1.2.x/console-web/examples/users/list-sessions.md index 087834e569..0c0109550b 100644 --- a/docs/examples/1.2.x/console-web/examples/users/list-sessions.md +++ b/docs/examples/1.2.x/console-web/examples/users/list-sessions.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/users/list.md b/docs/examples/1.2.x/console-web/examples/users/list.md index 28a8258b12..f658f432ba 100644 --- a/docs/examples/1.2.x/console-web/examples/users/list.md +++ b/docs/examples/1.2.x/console-web/examples/users/list.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/users/update-email-verification.md b/docs/examples/1.2.x/console-web/examples/users/update-email-verification.md index 019b072371..7b9d2cc424 100644 --- a/docs/examples/1.2.x/console-web/examples/users/update-email-verification.md +++ b/docs/examples/1.2.x/console-web/examples/users/update-email-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/users/update-email.md b/docs/examples/1.2.x/console-web/examples/users/update-email.md index e37d03a01c..fe1f2500f8 100644 --- a/docs/examples/1.2.x/console-web/examples/users/update-email.md +++ b/docs/examples/1.2.x/console-web/examples/users/update-email.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/users/update-name.md b/docs/examples/1.2.x/console-web/examples/users/update-name.md index 2834c747da..2d491d7a56 100644 --- a/docs/examples/1.2.x/console-web/examples/users/update-name.md +++ b/docs/examples/1.2.x/console-web/examples/users/update-name.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/users/update-password.md b/docs/examples/1.2.x/console-web/examples/users/update-password.md index 245986ca05..eea4958d99 100644 --- a/docs/examples/1.2.x/console-web/examples/users/update-password.md +++ b/docs/examples/1.2.x/console-web/examples/users/update-password.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/users/update-phone-verification.md b/docs/examples/1.2.x/console-web/examples/users/update-phone-verification.md index 17ddf467d9..d4fe6f00a1 100644 --- a/docs/examples/1.2.x/console-web/examples/users/update-phone-verification.md +++ b/docs/examples/1.2.x/console-web/examples/users/update-phone-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/users/update-phone.md b/docs/examples/1.2.x/console-web/examples/users/update-phone.md index a1d85aaaca..ce74c71022 100644 --- a/docs/examples/1.2.x/console-web/examples/users/update-phone.md +++ b/docs/examples/1.2.x/console-web/examples/users/update-phone.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/users/update-prefs.md b/docs/examples/1.2.x/console-web/examples/users/update-prefs.md index e3c5b76c2a..c05c4df53d 100644 --- a/docs/examples/1.2.x/console-web/examples/users/update-prefs.md +++ b/docs/examples/1.2.x/console-web/examples/users/update-prefs.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/console-web/examples/users/update-status.md b/docs/examples/1.2.x/console-web/examples/users/update-status.md index eafbec728f..87e2197cfc 100644 --- a/docs/examples/1.2.x/console-web/examples/users/update-status.md +++ b/docs/examples/1.2.x/console-web/examples/users/update-status.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.2.x/server-dart/examples/account/create-phone-verification.md b/docs/examples/1.2.x/server-dart/examples/account/create-phone-verification.md index 912f8c3b1e..85ea968b94 100644 --- a/docs/examples/1.2.x/server-dart/examples/account/create-phone-verification.md +++ b/docs/examples/1.2.x/server-dart/examples/account/create-phone-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-dart/examples/account/create-recovery.md b/docs/examples/1.2.x/server-dart/examples/account/create-recovery.md index d9f13957c7..0fe2889a76 100644 --- a/docs/examples/1.2.x/server-dart/examples/account/create-recovery.md +++ b/docs/examples/1.2.x/server-dart/examples/account/create-recovery.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-dart/examples/account/create-verification.md b/docs/examples/1.2.x/server-dart/examples/account/create-verification.md index cca3c7b774..8daf5d7b1f 100644 --- a/docs/examples/1.2.x/server-dart/examples/account/create-verification.md +++ b/docs/examples/1.2.x/server-dart/examples/account/create-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-dart/examples/account/delete-session.md b/docs/examples/1.2.x/server-dart/examples/account/delete-session.md index 9486ec9b80..92a0fee9a2 100644 --- a/docs/examples/1.2.x/server-dart/examples/account/delete-session.md +++ b/docs/examples/1.2.x/server-dart/examples/account/delete-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-dart/examples/account/delete-sessions.md b/docs/examples/1.2.x/server-dart/examples/account/delete-sessions.md index a5732cb68e..2477115be1 100644 --- a/docs/examples/1.2.x/server-dart/examples/account/delete-sessions.md +++ b/docs/examples/1.2.x/server-dart/examples/account/delete-sessions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-dart/examples/account/get-prefs.md b/docs/examples/1.2.x/server-dart/examples/account/get-prefs.md index 527a71f3b1..fcf164dde0 100644 --- a/docs/examples/1.2.x/server-dart/examples/account/get-prefs.md +++ b/docs/examples/1.2.x/server-dart/examples/account/get-prefs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-dart/examples/account/get-session.md b/docs/examples/1.2.x/server-dart/examples/account/get-session.md index 6eb711ab4d..029d7bc3d9 100644 --- a/docs/examples/1.2.x/server-dart/examples/account/get-session.md +++ b/docs/examples/1.2.x/server-dart/examples/account/get-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-dart/examples/account/get.md b/docs/examples/1.2.x/server-dart/examples/account/get.md index c72fdddb10..805061bd70 100644 --- a/docs/examples/1.2.x/server-dart/examples/account/get.md +++ b/docs/examples/1.2.x/server-dart/examples/account/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-dart/examples/account/list-logs.md b/docs/examples/1.2.x/server-dart/examples/account/list-logs.md index 68d2c49f74..41cdad74c0 100644 --- a/docs/examples/1.2.x/server-dart/examples/account/list-logs.md +++ b/docs/examples/1.2.x/server-dart/examples/account/list-logs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-dart/examples/account/list-sessions.md b/docs/examples/1.2.x/server-dart/examples/account/list-sessions.md index 0d6567b5f3..30bb6fc8c9 100644 --- a/docs/examples/1.2.x/server-dart/examples/account/list-sessions.md +++ b/docs/examples/1.2.x/server-dart/examples/account/list-sessions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-dart/examples/account/update-email.md b/docs/examples/1.2.x/server-dart/examples/account/update-email.md index b83f7d86da..ad77ccfd9a 100644 --- a/docs/examples/1.2.x/server-dart/examples/account/update-email.md +++ b/docs/examples/1.2.x/server-dart/examples/account/update-email.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-dart/examples/account/update-name.md b/docs/examples/1.2.x/server-dart/examples/account/update-name.md index 0bd27cf204..7df0f9cc01 100644 --- a/docs/examples/1.2.x/server-dart/examples/account/update-name.md +++ b/docs/examples/1.2.x/server-dart/examples/account/update-name.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-dart/examples/account/update-password.md b/docs/examples/1.2.x/server-dart/examples/account/update-password.md index 6d8cfce1a2..8c7c3b5f95 100644 --- a/docs/examples/1.2.x/server-dart/examples/account/update-password.md +++ b/docs/examples/1.2.x/server-dart/examples/account/update-password.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-dart/examples/account/update-phone-verification.md b/docs/examples/1.2.x/server-dart/examples/account/update-phone-verification.md index f2995b9b93..4892311ef2 100644 --- a/docs/examples/1.2.x/server-dart/examples/account/update-phone-verification.md +++ b/docs/examples/1.2.x/server-dart/examples/account/update-phone-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-dart/examples/account/update-phone.md b/docs/examples/1.2.x/server-dart/examples/account/update-phone.md index 5848da5d10..465593c0ab 100644 --- a/docs/examples/1.2.x/server-dart/examples/account/update-phone.md +++ b/docs/examples/1.2.x/server-dart/examples/account/update-phone.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-dart/examples/account/update-prefs.md b/docs/examples/1.2.x/server-dart/examples/account/update-prefs.md index ffbe700288..7ffef542be 100644 --- a/docs/examples/1.2.x/server-dart/examples/account/update-prefs.md +++ b/docs/examples/1.2.x/server-dart/examples/account/update-prefs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-dart/examples/account/update-recovery.md b/docs/examples/1.2.x/server-dart/examples/account/update-recovery.md index c2cf9d2396..e3ade8270b 100644 --- a/docs/examples/1.2.x/server-dart/examples/account/update-recovery.md +++ b/docs/examples/1.2.x/server-dart/examples/account/update-recovery.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-dart/examples/account/update-session.md b/docs/examples/1.2.x/server-dart/examples/account/update-session.md index 61e11e27af..859f1a81f7 100644 --- a/docs/examples/1.2.x/server-dart/examples/account/update-session.md +++ b/docs/examples/1.2.x/server-dart/examples/account/update-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-dart/examples/account/update-status.md b/docs/examples/1.2.x/server-dart/examples/account/update-status.md index 12f733334a..610784294a 100644 --- a/docs/examples/1.2.x/server-dart/examples/account/update-status.md +++ b/docs/examples/1.2.x/server-dart/examples/account/update-status.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-dart/examples/account/update-verification.md b/docs/examples/1.2.x/server-dart/examples/account/update-verification.md index 40e36426a1..7b291b6160 100644 --- a/docs/examples/1.2.x/server-dart/examples/account/update-verification.md +++ b/docs/examples/1.2.x/server-dart/examples/account/update-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-dart/examples/avatars/get-browser.md b/docs/examples/1.2.x/server-dart/examples/avatars/get-browser.md index 0bac9df4ef..abca00ba4b 100644 --- a/docs/examples/1.2.x/server-dart/examples/avatars/get-browser.md +++ b/docs/examples/1.2.x/server-dart/examples/avatars/get-browser.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/avatars/get-credit-card.md b/docs/examples/1.2.x/server-dart/examples/avatars/get-credit-card.md index b9a8166e48..b50b1304f9 100644 --- a/docs/examples/1.2.x/server-dart/examples/avatars/get-credit-card.md +++ b/docs/examples/1.2.x/server-dart/examples/avatars/get-credit-card.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/avatars/get-favicon.md b/docs/examples/1.2.x/server-dart/examples/avatars/get-favicon.md index 6a728e7792..a547908fa4 100644 --- a/docs/examples/1.2.x/server-dart/examples/avatars/get-favicon.md +++ b/docs/examples/1.2.x/server-dart/examples/avatars/get-favicon.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/avatars/get-flag.md b/docs/examples/1.2.x/server-dart/examples/avatars/get-flag.md index 02e4880926..8e2d9f1490 100644 --- a/docs/examples/1.2.x/server-dart/examples/avatars/get-flag.md +++ b/docs/examples/1.2.x/server-dart/examples/avatars/get-flag.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/avatars/get-image.md b/docs/examples/1.2.x/server-dart/examples/avatars/get-image.md index b1d5e33884..746ec079b0 100644 --- a/docs/examples/1.2.x/server-dart/examples/avatars/get-image.md +++ b/docs/examples/1.2.x/server-dart/examples/avatars/get-image.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/avatars/get-initials.md b/docs/examples/1.2.x/server-dart/examples/avatars/get-initials.md index 5a68caf1d9..c979fddd08 100644 --- a/docs/examples/1.2.x/server-dart/examples/avatars/get-initials.md +++ b/docs/examples/1.2.x/server-dart/examples/avatars/get-initials.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/avatars/get-q-r.md b/docs/examples/1.2.x/server-dart/examples/avatars/get-q-r.md index 8283b9bdf4..6ab3cf709d 100644 --- a/docs/examples/1.2.x/server-dart/examples/avatars/get-q-r.md +++ b/docs/examples/1.2.x/server-dart/examples/avatars/get-q-r.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/databases/create-boolean-attribute.md b/docs/examples/1.2.x/server-dart/examples/databases/create-boolean-attribute.md index 224719685b..0fb759bcb2 100644 --- a/docs/examples/1.2.x/server-dart/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.2.x/server-dart/examples/databases/create-boolean-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/databases/create-collection.md b/docs/examples/1.2.x/server-dart/examples/databases/create-collection.md index c90183deed..e63877b39f 100644 --- a/docs/examples/1.2.x/server-dart/examples/databases/create-collection.md +++ b/docs/examples/1.2.x/server-dart/examples/databases/create-collection.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/databases/create-datetime-attribute.md b/docs/examples/1.2.x/server-dart/examples/databases/create-datetime-attribute.md index 24c44088f3..f56eec54ec 100644 --- a/docs/examples/1.2.x/server-dart/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.2.x/server-dart/examples/databases/create-datetime-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/databases/create-document.md b/docs/examples/1.2.x/server-dart/examples/databases/create-document.md index 00d844da0f..1f6f6b9703 100644 --- a/docs/examples/1.2.x/server-dart/examples/databases/create-document.md +++ b/docs/examples/1.2.x/server-dart/examples/databases/create-document.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/databases/create-email-attribute.md b/docs/examples/1.2.x/server-dart/examples/databases/create-email-attribute.md index 92fd32037b..ea1ebfb480 100644 --- a/docs/examples/1.2.x/server-dart/examples/databases/create-email-attribute.md +++ b/docs/examples/1.2.x/server-dart/examples/databases/create-email-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/databases/create-enum-attribute.md b/docs/examples/1.2.x/server-dart/examples/databases/create-enum-attribute.md index fa8ad92015..03773c58eb 100644 --- a/docs/examples/1.2.x/server-dart/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.2.x/server-dart/examples/databases/create-enum-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/databases/create-float-attribute.md b/docs/examples/1.2.x/server-dart/examples/databases/create-float-attribute.md index 96047bf2b2..94c716b9d4 100644 --- a/docs/examples/1.2.x/server-dart/examples/databases/create-float-attribute.md +++ b/docs/examples/1.2.x/server-dart/examples/databases/create-float-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/databases/create-index.md b/docs/examples/1.2.x/server-dart/examples/databases/create-index.md index c16a02719e..248d9632a0 100644 --- a/docs/examples/1.2.x/server-dart/examples/databases/create-index.md +++ b/docs/examples/1.2.x/server-dart/examples/databases/create-index.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/databases/create-integer-attribute.md b/docs/examples/1.2.x/server-dart/examples/databases/create-integer-attribute.md index bc4f12f0c4..4b1d76195d 100644 --- a/docs/examples/1.2.x/server-dart/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.2.x/server-dart/examples/databases/create-integer-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/databases/create-ip-attribute.md b/docs/examples/1.2.x/server-dart/examples/databases/create-ip-attribute.md index ef3e985a38..4b3586ae34 100644 --- a/docs/examples/1.2.x/server-dart/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.2.x/server-dart/examples/databases/create-ip-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/databases/create-string-attribute.md b/docs/examples/1.2.x/server-dart/examples/databases/create-string-attribute.md index 14f2769dbb..ed973e8c53 100644 --- a/docs/examples/1.2.x/server-dart/examples/databases/create-string-attribute.md +++ b/docs/examples/1.2.x/server-dart/examples/databases/create-string-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/databases/create-url-attribute.md b/docs/examples/1.2.x/server-dart/examples/databases/create-url-attribute.md index 4cf3e99a72..62b6970b27 100644 --- a/docs/examples/1.2.x/server-dart/examples/databases/create-url-attribute.md +++ b/docs/examples/1.2.x/server-dart/examples/databases/create-url-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/databases/create.md b/docs/examples/1.2.x/server-dart/examples/databases/create.md index cbaf3b742d..390baabb61 100644 --- a/docs/examples/1.2.x/server-dart/examples/databases/create.md +++ b/docs/examples/1.2.x/server-dart/examples/databases/create.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/databases/delete-attribute.md b/docs/examples/1.2.x/server-dart/examples/databases/delete-attribute.md index e9865bfe22..b52ba1f39d 100644 --- a/docs/examples/1.2.x/server-dart/examples/databases/delete-attribute.md +++ b/docs/examples/1.2.x/server-dart/examples/databases/delete-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/databases/delete-collection.md b/docs/examples/1.2.x/server-dart/examples/databases/delete-collection.md index 5886920115..8de343f869 100644 --- a/docs/examples/1.2.x/server-dart/examples/databases/delete-collection.md +++ b/docs/examples/1.2.x/server-dart/examples/databases/delete-collection.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/databases/delete-document.md b/docs/examples/1.2.x/server-dart/examples/databases/delete-document.md index 0d298f3b42..bcb4b7a2da 100644 --- a/docs/examples/1.2.x/server-dart/examples/databases/delete-document.md +++ b/docs/examples/1.2.x/server-dart/examples/databases/delete-document.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/databases/delete-index.md b/docs/examples/1.2.x/server-dart/examples/databases/delete-index.md index be5b2a5c9f..8422593fe5 100644 --- a/docs/examples/1.2.x/server-dart/examples/databases/delete-index.md +++ b/docs/examples/1.2.x/server-dart/examples/databases/delete-index.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/databases/delete.md b/docs/examples/1.2.x/server-dart/examples/databases/delete.md index ff19beea69..bd4c483f01 100644 --- a/docs/examples/1.2.x/server-dart/examples/databases/delete.md +++ b/docs/examples/1.2.x/server-dart/examples/databases/delete.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/databases/get-attribute.md b/docs/examples/1.2.x/server-dart/examples/databases/get-attribute.md index c27ddb648c..e066f70d13 100644 --- a/docs/examples/1.2.x/server-dart/examples/databases/get-attribute.md +++ b/docs/examples/1.2.x/server-dart/examples/databases/get-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/databases/get-collection.md b/docs/examples/1.2.x/server-dart/examples/databases/get-collection.md index 359f0df829..2678a1a543 100644 --- a/docs/examples/1.2.x/server-dart/examples/databases/get-collection.md +++ b/docs/examples/1.2.x/server-dart/examples/databases/get-collection.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/databases/get-document.md b/docs/examples/1.2.x/server-dart/examples/databases/get-document.md index 2141abf4be..4c5beadccf 100644 --- a/docs/examples/1.2.x/server-dart/examples/databases/get-document.md +++ b/docs/examples/1.2.x/server-dart/examples/databases/get-document.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/databases/get-index.md b/docs/examples/1.2.x/server-dart/examples/databases/get-index.md index 2b8a90318d..9b881f7d78 100644 --- a/docs/examples/1.2.x/server-dart/examples/databases/get-index.md +++ b/docs/examples/1.2.x/server-dart/examples/databases/get-index.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/databases/get.md b/docs/examples/1.2.x/server-dart/examples/databases/get.md index f0cc118b96..7a2d959101 100644 --- a/docs/examples/1.2.x/server-dart/examples/databases/get.md +++ b/docs/examples/1.2.x/server-dart/examples/databases/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/databases/list-attributes.md b/docs/examples/1.2.x/server-dart/examples/databases/list-attributes.md index 60ca58f3c3..1c9d635195 100644 --- a/docs/examples/1.2.x/server-dart/examples/databases/list-attributes.md +++ b/docs/examples/1.2.x/server-dart/examples/databases/list-attributes.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/databases/list-collections.md b/docs/examples/1.2.x/server-dart/examples/databases/list-collections.md index a10038db11..cd120817dc 100644 --- a/docs/examples/1.2.x/server-dart/examples/databases/list-collections.md +++ b/docs/examples/1.2.x/server-dart/examples/databases/list-collections.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/databases/list-documents.md b/docs/examples/1.2.x/server-dart/examples/databases/list-documents.md index 70299774fb..41703ae26b 100644 --- a/docs/examples/1.2.x/server-dart/examples/databases/list-documents.md +++ b/docs/examples/1.2.x/server-dart/examples/databases/list-documents.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/databases/list-indexes.md b/docs/examples/1.2.x/server-dart/examples/databases/list-indexes.md index 6703ebf35a..d959370fc6 100644 --- a/docs/examples/1.2.x/server-dart/examples/databases/list-indexes.md +++ b/docs/examples/1.2.x/server-dart/examples/databases/list-indexes.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/databases/list.md b/docs/examples/1.2.x/server-dart/examples/databases/list.md index d9bd06ad34..da25b576d7 100644 --- a/docs/examples/1.2.x/server-dart/examples/databases/list.md +++ b/docs/examples/1.2.x/server-dart/examples/databases/list.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/databases/update-collection.md b/docs/examples/1.2.x/server-dart/examples/databases/update-collection.md index a5f32dead1..4501459265 100644 --- a/docs/examples/1.2.x/server-dart/examples/databases/update-collection.md +++ b/docs/examples/1.2.x/server-dart/examples/databases/update-collection.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/databases/update-document.md b/docs/examples/1.2.x/server-dart/examples/databases/update-document.md index fb08413f2f..4b34007c49 100644 --- a/docs/examples/1.2.x/server-dart/examples/databases/update-document.md +++ b/docs/examples/1.2.x/server-dart/examples/databases/update-document.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/databases/update.md b/docs/examples/1.2.x/server-dart/examples/databases/update.md index 59070cefa9..7187605e81 100644 --- a/docs/examples/1.2.x/server-dart/examples/databases/update.md +++ b/docs/examples/1.2.x/server-dart/examples/databases/update.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/functions/create-build.md b/docs/examples/1.2.x/server-dart/examples/functions/create-build.md index 530ba6deab..eea5cc14c0 100644 --- a/docs/examples/1.2.x/server-dart/examples/functions/create-build.md +++ b/docs/examples/1.2.x/server-dart/examples/functions/create-build.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/functions/create-deployment.md b/docs/examples/1.2.x/server-dart/examples/functions/create-deployment.md index d646680db8..17683d2c86 100644 --- a/docs/examples/1.2.x/server-dart/examples/functions/create-deployment.md +++ b/docs/examples/1.2.x/server-dart/examples/functions/create-deployment.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/functions/create-execution.md b/docs/examples/1.2.x/server-dart/examples/functions/create-execution.md index f5de49f7cf..610579eef0 100644 --- a/docs/examples/1.2.x/server-dart/examples/functions/create-execution.md +++ b/docs/examples/1.2.x/server-dart/examples/functions/create-execution.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/functions/create-variable.md b/docs/examples/1.2.x/server-dart/examples/functions/create-variable.md index 50cd063ca1..2990bf98be 100644 --- a/docs/examples/1.2.x/server-dart/examples/functions/create-variable.md +++ b/docs/examples/1.2.x/server-dart/examples/functions/create-variable.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/functions/create.md b/docs/examples/1.2.x/server-dart/examples/functions/create.md index 923654d10a..16a5215d7c 100644 --- a/docs/examples/1.2.x/server-dart/examples/functions/create.md +++ b/docs/examples/1.2.x/server-dart/examples/functions/create.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/functions/delete-deployment.md b/docs/examples/1.2.x/server-dart/examples/functions/delete-deployment.md index e65380c501..339c0d60ce 100644 --- a/docs/examples/1.2.x/server-dart/examples/functions/delete-deployment.md +++ b/docs/examples/1.2.x/server-dart/examples/functions/delete-deployment.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/functions/delete-variable.md b/docs/examples/1.2.x/server-dart/examples/functions/delete-variable.md index 87c7f407b5..ad86ec73cb 100644 --- a/docs/examples/1.2.x/server-dart/examples/functions/delete-variable.md +++ b/docs/examples/1.2.x/server-dart/examples/functions/delete-variable.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/functions/delete.md b/docs/examples/1.2.x/server-dart/examples/functions/delete.md index 5163366912..276f7effa2 100644 --- a/docs/examples/1.2.x/server-dart/examples/functions/delete.md +++ b/docs/examples/1.2.x/server-dart/examples/functions/delete.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/functions/get-deployment.md b/docs/examples/1.2.x/server-dart/examples/functions/get-deployment.md index 9cab571e94..f46260a2ff 100644 --- a/docs/examples/1.2.x/server-dart/examples/functions/get-deployment.md +++ b/docs/examples/1.2.x/server-dart/examples/functions/get-deployment.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/functions/get-execution.md b/docs/examples/1.2.x/server-dart/examples/functions/get-execution.md index 6cadde6426..6749539306 100644 --- a/docs/examples/1.2.x/server-dart/examples/functions/get-execution.md +++ b/docs/examples/1.2.x/server-dart/examples/functions/get-execution.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/functions/get-variable.md b/docs/examples/1.2.x/server-dart/examples/functions/get-variable.md index 924bee2bff..7223c5add9 100644 --- a/docs/examples/1.2.x/server-dart/examples/functions/get-variable.md +++ b/docs/examples/1.2.x/server-dart/examples/functions/get-variable.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/functions/get.md b/docs/examples/1.2.x/server-dart/examples/functions/get.md index 503ab20709..1073d33b1a 100644 --- a/docs/examples/1.2.x/server-dart/examples/functions/get.md +++ b/docs/examples/1.2.x/server-dart/examples/functions/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/functions/list-deployments.md b/docs/examples/1.2.x/server-dart/examples/functions/list-deployments.md index b12f9eba87..d1b80ddd95 100644 --- a/docs/examples/1.2.x/server-dart/examples/functions/list-deployments.md +++ b/docs/examples/1.2.x/server-dart/examples/functions/list-deployments.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/functions/list-executions.md b/docs/examples/1.2.x/server-dart/examples/functions/list-executions.md index 3d66a4496a..255f38a299 100644 --- a/docs/examples/1.2.x/server-dart/examples/functions/list-executions.md +++ b/docs/examples/1.2.x/server-dart/examples/functions/list-executions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/functions/list-runtimes.md b/docs/examples/1.2.x/server-dart/examples/functions/list-runtimes.md index 091a1116f7..a91a501814 100644 --- a/docs/examples/1.2.x/server-dart/examples/functions/list-runtimes.md +++ b/docs/examples/1.2.x/server-dart/examples/functions/list-runtimes.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/functions/list-variables.md b/docs/examples/1.2.x/server-dart/examples/functions/list-variables.md index f3c6655b14..ea5e477987 100644 --- a/docs/examples/1.2.x/server-dart/examples/functions/list-variables.md +++ b/docs/examples/1.2.x/server-dart/examples/functions/list-variables.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/functions/list.md b/docs/examples/1.2.x/server-dart/examples/functions/list.md index 4f2b11404d..e5fde72144 100644 --- a/docs/examples/1.2.x/server-dart/examples/functions/list.md +++ b/docs/examples/1.2.x/server-dart/examples/functions/list.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/functions/update-deployment.md b/docs/examples/1.2.x/server-dart/examples/functions/update-deployment.md index d503aecb3b..cd9a57018a 100644 --- a/docs/examples/1.2.x/server-dart/examples/functions/update-deployment.md +++ b/docs/examples/1.2.x/server-dart/examples/functions/update-deployment.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/functions/update-variable.md b/docs/examples/1.2.x/server-dart/examples/functions/update-variable.md index 126d264470..d40a831970 100644 --- a/docs/examples/1.2.x/server-dart/examples/functions/update-variable.md +++ b/docs/examples/1.2.x/server-dart/examples/functions/update-variable.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/functions/update.md b/docs/examples/1.2.x/server-dart/examples/functions/update.md index 4a1b0f9b4d..973279f5f2 100644 --- a/docs/examples/1.2.x/server-dart/examples/functions/update.md +++ b/docs/examples/1.2.x/server-dart/examples/functions/update.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/graphql/63a08ed7b8f61.md b/docs/examples/1.2.x/server-dart/examples/graphql/63a08ed7b8f61.md index bda3c643ff..cd56e1deb3 100644 --- a/docs/examples/1.2.x/server-dart/examples/graphql/63a08ed7b8f61.md +++ b/docs/examples/1.2.x/server-dart/examples/graphql/63a08ed7b8f61.md @@ -5,7 +5,7 @@ void main() { // Init SDK Graphql graphql = Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/graphql/get.md b/docs/examples/1.2.x/server-dart/examples/graphql/get.md index ea07775165..5539cac7d7 100644 --- a/docs/examples/1.2.x/server-dart/examples/graphql/get.md +++ b/docs/examples/1.2.x/server-dart/examples/graphql/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Graphql graphql = Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/graphql/mutation.md b/docs/examples/1.2.x/server-dart/examples/graphql/mutation.md index 780ee09f4a..160c049dc2 100644 --- a/docs/examples/1.2.x/server-dart/examples/graphql/mutation.md +++ b/docs/examples/1.2.x/server-dart/examples/graphql/mutation.md @@ -5,7 +5,7 @@ void main() { // Init SDK Graphql graphql = Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/graphql/query.md b/docs/examples/1.2.x/server-dart/examples/graphql/query.md index 7f22f5360d..4191d3c271 100644 --- a/docs/examples/1.2.x/server-dart/examples/graphql/query.md +++ b/docs/examples/1.2.x/server-dart/examples/graphql/query.md @@ -5,7 +5,7 @@ void main() { // Init SDK Graphql graphql = Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/health/get-antivirus.md b/docs/examples/1.2.x/server-dart/examples/health/get-antivirus.md index 922dcfa136..7b8d638d8e 100644 --- a/docs/examples/1.2.x/server-dart/examples/health/get-antivirus.md +++ b/docs/examples/1.2.x/server-dart/examples/health/get-antivirus.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/health/get-cache.md b/docs/examples/1.2.x/server-dart/examples/health/get-cache.md index 4b63edeee3..08ea1370d1 100644 --- a/docs/examples/1.2.x/server-dart/examples/health/get-cache.md +++ b/docs/examples/1.2.x/server-dart/examples/health/get-cache.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/health/get-d-b.md b/docs/examples/1.2.x/server-dart/examples/health/get-d-b.md index 65188c096e..30cf5c928f 100644 --- a/docs/examples/1.2.x/server-dart/examples/health/get-d-b.md +++ b/docs/examples/1.2.x/server-dart/examples/health/get-d-b.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/health/get-queue-certificates.md b/docs/examples/1.2.x/server-dart/examples/health/get-queue-certificates.md index 4063ab3514..884c6b31f1 100644 --- a/docs/examples/1.2.x/server-dart/examples/health/get-queue-certificates.md +++ b/docs/examples/1.2.x/server-dart/examples/health/get-queue-certificates.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/health/get-queue-functions.md b/docs/examples/1.2.x/server-dart/examples/health/get-queue-functions.md index 5ebaad6484..048fce8d32 100644 --- a/docs/examples/1.2.x/server-dart/examples/health/get-queue-functions.md +++ b/docs/examples/1.2.x/server-dart/examples/health/get-queue-functions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/health/get-queue-logs.md b/docs/examples/1.2.x/server-dart/examples/health/get-queue-logs.md index 11a5285439..4219552857 100644 --- a/docs/examples/1.2.x/server-dart/examples/health/get-queue-logs.md +++ b/docs/examples/1.2.x/server-dart/examples/health/get-queue-logs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/health/get-queue-webhooks.md b/docs/examples/1.2.x/server-dart/examples/health/get-queue-webhooks.md index a43f5f8423..5b012125e1 100644 --- a/docs/examples/1.2.x/server-dart/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.2.x/server-dart/examples/health/get-queue-webhooks.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/health/get-storage-local.md b/docs/examples/1.2.x/server-dart/examples/health/get-storage-local.md index 4a586690fe..e85aac8e01 100644 --- a/docs/examples/1.2.x/server-dart/examples/health/get-storage-local.md +++ b/docs/examples/1.2.x/server-dart/examples/health/get-storage-local.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/health/get-time.md b/docs/examples/1.2.x/server-dart/examples/health/get-time.md index d8166dd3d1..716216e6db 100644 --- a/docs/examples/1.2.x/server-dart/examples/health/get-time.md +++ b/docs/examples/1.2.x/server-dart/examples/health/get-time.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/health/get.md b/docs/examples/1.2.x/server-dart/examples/health/get.md index 1be37e5a93..2ea2ea669e 100644 --- a/docs/examples/1.2.x/server-dart/examples/health/get.md +++ b/docs/examples/1.2.x/server-dart/examples/health/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/locale/get.md b/docs/examples/1.2.x/server-dart/examples/locale/get.md index 9ecb18c52d..a3ebf5cefd 100644 --- a/docs/examples/1.2.x/server-dart/examples/locale/get.md +++ b/docs/examples/1.2.x/server-dart/examples/locale/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/locale/list-continents.md b/docs/examples/1.2.x/server-dart/examples/locale/list-continents.md index e6849303b1..a74df54886 100644 --- a/docs/examples/1.2.x/server-dart/examples/locale/list-continents.md +++ b/docs/examples/1.2.x/server-dart/examples/locale/list-continents.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/locale/list-countries-e-u.md b/docs/examples/1.2.x/server-dart/examples/locale/list-countries-e-u.md index 2d1ddcf8f0..2a81d9afef 100644 --- a/docs/examples/1.2.x/server-dart/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.2.x/server-dart/examples/locale/list-countries-e-u.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/locale/list-countries-phones.md b/docs/examples/1.2.x/server-dart/examples/locale/list-countries-phones.md index 2305701339..2d1400a960 100644 --- a/docs/examples/1.2.x/server-dart/examples/locale/list-countries-phones.md +++ b/docs/examples/1.2.x/server-dart/examples/locale/list-countries-phones.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/locale/list-countries.md b/docs/examples/1.2.x/server-dart/examples/locale/list-countries.md index ef1158339f..b4d00e52e7 100644 --- a/docs/examples/1.2.x/server-dart/examples/locale/list-countries.md +++ b/docs/examples/1.2.x/server-dart/examples/locale/list-countries.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/locale/list-currencies.md b/docs/examples/1.2.x/server-dart/examples/locale/list-currencies.md index 0810f3dafb..2c46eee2b2 100644 --- a/docs/examples/1.2.x/server-dart/examples/locale/list-currencies.md +++ b/docs/examples/1.2.x/server-dart/examples/locale/list-currencies.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/locale/list-languages.md b/docs/examples/1.2.x/server-dart/examples/locale/list-languages.md index f3d642cc48..6d1f00219e 100644 --- a/docs/examples/1.2.x/server-dart/examples/locale/list-languages.md +++ b/docs/examples/1.2.x/server-dart/examples/locale/list-languages.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/storage/create-bucket.md b/docs/examples/1.2.x/server-dart/examples/storage/create-bucket.md index 745a6b508d..647d846e06 100644 --- a/docs/examples/1.2.x/server-dart/examples/storage/create-bucket.md +++ b/docs/examples/1.2.x/server-dart/examples/storage/create-bucket.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/storage/create-file.md b/docs/examples/1.2.x/server-dart/examples/storage/create-file.md index ab4c661a54..760c95dcfb 100644 --- a/docs/examples/1.2.x/server-dart/examples/storage/create-file.md +++ b/docs/examples/1.2.x/server-dart/examples/storage/create-file.md @@ -6,7 +6,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/storage/delete-bucket.md b/docs/examples/1.2.x/server-dart/examples/storage/delete-bucket.md index de516561bd..a7c7065ba8 100644 --- a/docs/examples/1.2.x/server-dart/examples/storage/delete-bucket.md +++ b/docs/examples/1.2.x/server-dart/examples/storage/delete-bucket.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/storage/delete-file.md b/docs/examples/1.2.x/server-dart/examples/storage/delete-file.md index 8e4460bb00..ddb297c6b7 100644 --- a/docs/examples/1.2.x/server-dart/examples/storage/delete-file.md +++ b/docs/examples/1.2.x/server-dart/examples/storage/delete-file.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/storage/get-bucket.md b/docs/examples/1.2.x/server-dart/examples/storage/get-bucket.md index 9e39076e35..26fec00cdf 100644 --- a/docs/examples/1.2.x/server-dart/examples/storage/get-bucket.md +++ b/docs/examples/1.2.x/server-dart/examples/storage/get-bucket.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/storage/get-file-download.md b/docs/examples/1.2.x/server-dart/examples/storage/get-file-download.md index 6534fe33ff..632612a285 100644 --- a/docs/examples/1.2.x/server-dart/examples/storage/get-file-download.md +++ b/docs/examples/1.2.x/server-dart/examples/storage/get-file-download.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/storage/get-file-preview.md b/docs/examples/1.2.x/server-dart/examples/storage/get-file-preview.md index ca16d635b2..70f55e3e26 100644 --- a/docs/examples/1.2.x/server-dart/examples/storage/get-file-preview.md +++ b/docs/examples/1.2.x/server-dart/examples/storage/get-file-preview.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/storage/get-file-view.md b/docs/examples/1.2.x/server-dart/examples/storage/get-file-view.md index 5c3d69dcbc..59176877b0 100644 --- a/docs/examples/1.2.x/server-dart/examples/storage/get-file-view.md +++ b/docs/examples/1.2.x/server-dart/examples/storage/get-file-view.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/storage/get-file.md b/docs/examples/1.2.x/server-dart/examples/storage/get-file.md index bc45c3f1e8..024b7fc63d 100644 --- a/docs/examples/1.2.x/server-dart/examples/storage/get-file.md +++ b/docs/examples/1.2.x/server-dart/examples/storage/get-file.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/storage/list-buckets.md b/docs/examples/1.2.x/server-dart/examples/storage/list-buckets.md index 6a35febb39..fb46523303 100644 --- a/docs/examples/1.2.x/server-dart/examples/storage/list-buckets.md +++ b/docs/examples/1.2.x/server-dart/examples/storage/list-buckets.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/storage/list-files.md b/docs/examples/1.2.x/server-dart/examples/storage/list-files.md index 40b8d3bce5..bfafeb0b0a 100644 --- a/docs/examples/1.2.x/server-dart/examples/storage/list-files.md +++ b/docs/examples/1.2.x/server-dart/examples/storage/list-files.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/storage/update-bucket.md b/docs/examples/1.2.x/server-dart/examples/storage/update-bucket.md index 064d2f2e37..3bdc11240f 100644 --- a/docs/examples/1.2.x/server-dart/examples/storage/update-bucket.md +++ b/docs/examples/1.2.x/server-dart/examples/storage/update-bucket.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/storage/update-file.md b/docs/examples/1.2.x/server-dart/examples/storage/update-file.md index 2fa999a558..4e0178e27d 100644 --- a/docs/examples/1.2.x/server-dart/examples/storage/update-file.md +++ b/docs/examples/1.2.x/server-dart/examples/storage/update-file.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/teams/create-membership.md b/docs/examples/1.2.x/server-dart/examples/teams/create-membership.md index 16d875de28..f281632141 100644 --- a/docs/examples/1.2.x/server-dart/examples/teams/create-membership.md +++ b/docs/examples/1.2.x/server-dart/examples/teams/create-membership.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/teams/create.md b/docs/examples/1.2.x/server-dart/examples/teams/create.md index 74895b23a0..81c3a718d4 100644 --- a/docs/examples/1.2.x/server-dart/examples/teams/create.md +++ b/docs/examples/1.2.x/server-dart/examples/teams/create.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/teams/delete-membership.md b/docs/examples/1.2.x/server-dart/examples/teams/delete-membership.md index 8c135994d6..07d596a1b3 100644 --- a/docs/examples/1.2.x/server-dart/examples/teams/delete-membership.md +++ b/docs/examples/1.2.x/server-dart/examples/teams/delete-membership.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/teams/delete.md b/docs/examples/1.2.x/server-dart/examples/teams/delete.md index a5fee4d084..2505cdfacd 100644 --- a/docs/examples/1.2.x/server-dart/examples/teams/delete.md +++ b/docs/examples/1.2.x/server-dart/examples/teams/delete.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/teams/get-membership.md b/docs/examples/1.2.x/server-dart/examples/teams/get-membership.md index 4193b245f4..cf9d4b80a2 100644 --- a/docs/examples/1.2.x/server-dart/examples/teams/get-membership.md +++ b/docs/examples/1.2.x/server-dart/examples/teams/get-membership.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/teams/get.md b/docs/examples/1.2.x/server-dart/examples/teams/get.md index daa67c4eb8..8dd731b1be 100644 --- a/docs/examples/1.2.x/server-dart/examples/teams/get.md +++ b/docs/examples/1.2.x/server-dart/examples/teams/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/teams/list-memberships.md b/docs/examples/1.2.x/server-dart/examples/teams/list-memberships.md index 74c66c0319..71cdf466cc 100644 --- a/docs/examples/1.2.x/server-dart/examples/teams/list-memberships.md +++ b/docs/examples/1.2.x/server-dart/examples/teams/list-memberships.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/teams/list.md b/docs/examples/1.2.x/server-dart/examples/teams/list.md index 11033f33da..7d5e4ebef7 100644 --- a/docs/examples/1.2.x/server-dart/examples/teams/list.md +++ b/docs/examples/1.2.x/server-dart/examples/teams/list.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/teams/update-membership-roles.md b/docs/examples/1.2.x/server-dart/examples/teams/update-membership-roles.md index dcbef5c948..8ede36ac64 100644 --- a/docs/examples/1.2.x/server-dart/examples/teams/update-membership-roles.md +++ b/docs/examples/1.2.x/server-dart/examples/teams/update-membership-roles.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/teams/update-membership-status.md b/docs/examples/1.2.x/server-dart/examples/teams/update-membership-status.md index ca704e0fdb..50f9693bf9 100644 --- a/docs/examples/1.2.x/server-dart/examples/teams/update-membership-status.md +++ b/docs/examples/1.2.x/server-dart/examples/teams/update-membership-status.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-dart/examples/teams/update.md b/docs/examples/1.2.x/server-dart/examples/teams/update.md index 67892475ab..ce25940173 100644 --- a/docs/examples/1.2.x/server-dart/examples/teams/update.md +++ b/docs/examples/1.2.x/server-dart/examples/teams/update.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/users/create-argon2user.md b/docs/examples/1.2.x/server-dart/examples/users/create-argon2user.md index a40b3afd55..d01e8c6931 100644 --- a/docs/examples/1.2.x/server-dart/examples/users/create-argon2user.md +++ b/docs/examples/1.2.x/server-dart/examples/users/create-argon2user.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/users/create-bcrypt-user.md b/docs/examples/1.2.x/server-dart/examples/users/create-bcrypt-user.md index 8b55d656b0..4685780b25 100644 --- a/docs/examples/1.2.x/server-dart/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.2.x/server-dart/examples/users/create-bcrypt-user.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/users/create-m-d5user.md b/docs/examples/1.2.x/server-dart/examples/users/create-m-d5user.md index 3ab8901f3c..20ac1948e7 100644 --- a/docs/examples/1.2.x/server-dart/examples/users/create-m-d5user.md +++ b/docs/examples/1.2.x/server-dart/examples/users/create-m-d5user.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/users/create-p-h-pass-user.md b/docs/examples/1.2.x/server-dart/examples/users/create-p-h-pass-user.md index bedb44f4c2..0294339d64 100644 --- a/docs/examples/1.2.x/server-dart/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.2.x/server-dart/examples/users/create-p-h-pass-user.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/users/create-s-h-a-user.md b/docs/examples/1.2.x/server-dart/examples/users/create-s-h-a-user.md index 361f309a37..21c4461cdc 100644 --- a/docs/examples/1.2.x/server-dart/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.2.x/server-dart/examples/users/create-s-h-a-user.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/users/create-scrypt-modified-user.md b/docs/examples/1.2.x/server-dart/examples/users/create-scrypt-modified-user.md index fa5b80519e..9d95641d76 100644 --- a/docs/examples/1.2.x/server-dart/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.2.x/server-dart/examples/users/create-scrypt-modified-user.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/users/create-scrypt-user.md b/docs/examples/1.2.x/server-dart/examples/users/create-scrypt-user.md index 91e1f7dc6d..0a586407dc 100644 --- a/docs/examples/1.2.x/server-dart/examples/users/create-scrypt-user.md +++ b/docs/examples/1.2.x/server-dart/examples/users/create-scrypt-user.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/users/create.md b/docs/examples/1.2.x/server-dart/examples/users/create.md index 517cd22fcb..a841df0e27 100644 --- a/docs/examples/1.2.x/server-dart/examples/users/create.md +++ b/docs/examples/1.2.x/server-dart/examples/users/create.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/users/delete-session.md b/docs/examples/1.2.x/server-dart/examples/users/delete-session.md index 3f7611873e..f1432677ed 100644 --- a/docs/examples/1.2.x/server-dart/examples/users/delete-session.md +++ b/docs/examples/1.2.x/server-dart/examples/users/delete-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/users/delete-sessions.md b/docs/examples/1.2.x/server-dart/examples/users/delete-sessions.md index 69cbc5e8d5..82a71188ce 100644 --- a/docs/examples/1.2.x/server-dart/examples/users/delete-sessions.md +++ b/docs/examples/1.2.x/server-dart/examples/users/delete-sessions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/users/delete.md b/docs/examples/1.2.x/server-dart/examples/users/delete.md index 1e1311d5d9..351686fe58 100644 --- a/docs/examples/1.2.x/server-dart/examples/users/delete.md +++ b/docs/examples/1.2.x/server-dart/examples/users/delete.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/users/get-prefs.md b/docs/examples/1.2.x/server-dart/examples/users/get-prefs.md index eb33ae656c..cff91fa59b 100644 --- a/docs/examples/1.2.x/server-dart/examples/users/get-prefs.md +++ b/docs/examples/1.2.x/server-dart/examples/users/get-prefs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/users/get.md b/docs/examples/1.2.x/server-dart/examples/users/get.md index c56852934c..e2a24afd9a 100644 --- a/docs/examples/1.2.x/server-dart/examples/users/get.md +++ b/docs/examples/1.2.x/server-dart/examples/users/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/users/list-logs.md b/docs/examples/1.2.x/server-dart/examples/users/list-logs.md index 0d2143ad48..44a5e13ea4 100644 --- a/docs/examples/1.2.x/server-dart/examples/users/list-logs.md +++ b/docs/examples/1.2.x/server-dart/examples/users/list-logs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/users/list-memberships.md b/docs/examples/1.2.x/server-dart/examples/users/list-memberships.md index 36a83edec0..398e7ceee8 100644 --- a/docs/examples/1.2.x/server-dart/examples/users/list-memberships.md +++ b/docs/examples/1.2.x/server-dart/examples/users/list-memberships.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/users/list-sessions.md b/docs/examples/1.2.x/server-dart/examples/users/list-sessions.md index 5f77fdbfa7..eeac7b8d4b 100644 --- a/docs/examples/1.2.x/server-dart/examples/users/list-sessions.md +++ b/docs/examples/1.2.x/server-dart/examples/users/list-sessions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/users/list.md b/docs/examples/1.2.x/server-dart/examples/users/list.md index 34498c00ac..ef91b2db4a 100644 --- a/docs/examples/1.2.x/server-dart/examples/users/list.md +++ b/docs/examples/1.2.x/server-dart/examples/users/list.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/users/update-email-verification.md b/docs/examples/1.2.x/server-dart/examples/users/update-email-verification.md index 8853f86529..7de1325744 100644 --- a/docs/examples/1.2.x/server-dart/examples/users/update-email-verification.md +++ b/docs/examples/1.2.x/server-dart/examples/users/update-email-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/users/update-email.md b/docs/examples/1.2.x/server-dart/examples/users/update-email.md index 8813e1101f..589bf93d31 100644 --- a/docs/examples/1.2.x/server-dart/examples/users/update-email.md +++ b/docs/examples/1.2.x/server-dart/examples/users/update-email.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/users/update-name.md b/docs/examples/1.2.x/server-dart/examples/users/update-name.md index 56797d585c..a3a0c84bbb 100644 --- a/docs/examples/1.2.x/server-dart/examples/users/update-name.md +++ b/docs/examples/1.2.x/server-dart/examples/users/update-name.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/users/update-password.md b/docs/examples/1.2.x/server-dart/examples/users/update-password.md index ce2a4c7dd5..13fcef6586 100644 --- a/docs/examples/1.2.x/server-dart/examples/users/update-password.md +++ b/docs/examples/1.2.x/server-dart/examples/users/update-password.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/users/update-phone-verification.md b/docs/examples/1.2.x/server-dart/examples/users/update-phone-verification.md index 37c3ced608..0ef13f5b03 100644 --- a/docs/examples/1.2.x/server-dart/examples/users/update-phone-verification.md +++ b/docs/examples/1.2.x/server-dart/examples/users/update-phone-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/users/update-phone.md b/docs/examples/1.2.x/server-dart/examples/users/update-phone.md index 4d5e311078..f512af071e 100644 --- a/docs/examples/1.2.x/server-dart/examples/users/update-phone.md +++ b/docs/examples/1.2.x/server-dart/examples/users/update-phone.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/users/update-prefs.md b/docs/examples/1.2.x/server-dart/examples/users/update-prefs.md index c6c1bbedff..a2f0aea8fe 100644 --- a/docs/examples/1.2.x/server-dart/examples/users/update-prefs.md +++ b/docs/examples/1.2.x/server-dart/examples/users/update-prefs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-dart/examples/users/update-status.md b/docs/examples/1.2.x/server-dart/examples/users/update-status.md index 6f80745a7a..32fa9019eb 100644 --- a/docs/examples/1.2.x/server-dart/examples/users/update-status.md +++ b/docs/examples/1.2.x/server-dart/examples/users/update-status.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/account/create-phone-verification.md b/docs/examples/1.2.x/server-deno/examples/account/create-phone-verification.md index fe765887cc..aa9969c9a0 100644 --- a/docs/examples/1.2.x/server-deno/examples/account/create-phone-verification.md +++ b/docs/examples/1.2.x/server-deno/examples/account/create-phone-verification.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-deno/examples/account/create-recovery.md b/docs/examples/1.2.x/server-deno/examples/account/create-recovery.md index e5adb2a78b..ca4ef25810 100644 --- a/docs/examples/1.2.x/server-deno/examples/account/create-recovery.md +++ b/docs/examples/1.2.x/server-deno/examples/account/create-recovery.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-deno/examples/account/create-verification.md b/docs/examples/1.2.x/server-deno/examples/account/create-verification.md index 5861278e70..89810ec730 100644 --- a/docs/examples/1.2.x/server-deno/examples/account/create-verification.md +++ b/docs/examples/1.2.x/server-deno/examples/account/create-verification.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-deno/examples/account/delete-session.md b/docs/examples/1.2.x/server-deno/examples/account/delete-session.md index 22417acb98..969445ca5e 100644 --- a/docs/examples/1.2.x/server-deno/examples/account/delete-session.md +++ b/docs/examples/1.2.x/server-deno/examples/account/delete-session.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-deno/examples/account/delete-sessions.md b/docs/examples/1.2.x/server-deno/examples/account/delete-sessions.md index 2a82bd9566..ad5dcb1200 100644 --- a/docs/examples/1.2.x/server-deno/examples/account/delete-sessions.md +++ b/docs/examples/1.2.x/server-deno/examples/account/delete-sessions.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-deno/examples/account/get-prefs.md b/docs/examples/1.2.x/server-deno/examples/account/get-prefs.md index c9645d0fe1..4b413ec368 100644 --- a/docs/examples/1.2.x/server-deno/examples/account/get-prefs.md +++ b/docs/examples/1.2.x/server-deno/examples/account/get-prefs.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-deno/examples/account/get-session.md b/docs/examples/1.2.x/server-deno/examples/account/get-session.md index f2c1c94469..b39704a72f 100644 --- a/docs/examples/1.2.x/server-deno/examples/account/get-session.md +++ b/docs/examples/1.2.x/server-deno/examples/account/get-session.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-deno/examples/account/get.md b/docs/examples/1.2.x/server-deno/examples/account/get.md index 03b22307ac..d3a7a9b8e3 100644 --- a/docs/examples/1.2.x/server-deno/examples/account/get.md +++ b/docs/examples/1.2.x/server-deno/examples/account/get.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-deno/examples/account/list-logs.md b/docs/examples/1.2.x/server-deno/examples/account/list-logs.md index fb79304101..4609c8e3b6 100644 --- a/docs/examples/1.2.x/server-deno/examples/account/list-logs.md +++ b/docs/examples/1.2.x/server-deno/examples/account/list-logs.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-deno/examples/account/list-sessions.md b/docs/examples/1.2.x/server-deno/examples/account/list-sessions.md index 32a7cfa09a..498590452f 100644 --- a/docs/examples/1.2.x/server-deno/examples/account/list-sessions.md +++ b/docs/examples/1.2.x/server-deno/examples/account/list-sessions.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-deno/examples/account/update-email.md b/docs/examples/1.2.x/server-deno/examples/account/update-email.md index 26906d7eed..c92ca4dc23 100644 --- a/docs/examples/1.2.x/server-deno/examples/account/update-email.md +++ b/docs/examples/1.2.x/server-deno/examples/account/update-email.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-deno/examples/account/update-name.md b/docs/examples/1.2.x/server-deno/examples/account/update-name.md index b1a351216f..2e52634e21 100644 --- a/docs/examples/1.2.x/server-deno/examples/account/update-name.md +++ b/docs/examples/1.2.x/server-deno/examples/account/update-name.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-deno/examples/account/update-password.md b/docs/examples/1.2.x/server-deno/examples/account/update-password.md index 13e9d7c479..26114e0c8e 100644 --- a/docs/examples/1.2.x/server-deno/examples/account/update-password.md +++ b/docs/examples/1.2.x/server-deno/examples/account/update-password.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-deno/examples/account/update-phone-verification.md b/docs/examples/1.2.x/server-deno/examples/account/update-phone-verification.md index 064252a328..a7b6e4670d 100644 --- a/docs/examples/1.2.x/server-deno/examples/account/update-phone-verification.md +++ b/docs/examples/1.2.x/server-deno/examples/account/update-phone-verification.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-deno/examples/account/update-phone.md b/docs/examples/1.2.x/server-deno/examples/account/update-phone.md index e023424f9e..0d1bfcc93a 100644 --- a/docs/examples/1.2.x/server-deno/examples/account/update-phone.md +++ b/docs/examples/1.2.x/server-deno/examples/account/update-phone.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-deno/examples/account/update-prefs.md b/docs/examples/1.2.x/server-deno/examples/account/update-prefs.md index 4a6ca88ae8..472f53dd47 100644 --- a/docs/examples/1.2.x/server-deno/examples/account/update-prefs.md +++ b/docs/examples/1.2.x/server-deno/examples/account/update-prefs.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-deno/examples/account/update-recovery.md b/docs/examples/1.2.x/server-deno/examples/account/update-recovery.md index 06916bb278..ee1546f131 100644 --- a/docs/examples/1.2.x/server-deno/examples/account/update-recovery.md +++ b/docs/examples/1.2.x/server-deno/examples/account/update-recovery.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-deno/examples/account/update-session.md b/docs/examples/1.2.x/server-deno/examples/account/update-session.md index 23a7ad2cf6..310a713745 100644 --- a/docs/examples/1.2.x/server-deno/examples/account/update-session.md +++ b/docs/examples/1.2.x/server-deno/examples/account/update-session.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-deno/examples/account/update-status.md b/docs/examples/1.2.x/server-deno/examples/account/update-status.md index 6b9b18981b..40c921be3e 100644 --- a/docs/examples/1.2.x/server-deno/examples/account/update-status.md +++ b/docs/examples/1.2.x/server-deno/examples/account/update-status.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-deno/examples/account/update-verification.md b/docs/examples/1.2.x/server-deno/examples/account/update-verification.md index c11f2b71c1..db4febb20f 100644 --- a/docs/examples/1.2.x/server-deno/examples/account/update-verification.md +++ b/docs/examples/1.2.x/server-deno/examples/account/update-verification.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-deno/examples/avatars/get-browser.md b/docs/examples/1.2.x/server-deno/examples/avatars/get-browser.md index 44c946e4d7..317dc75331 100644 --- a/docs/examples/1.2.x/server-deno/examples/avatars/get-browser.md +++ b/docs/examples/1.2.x/server-deno/examples/avatars/get-browser.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/avatars/get-credit-card.md b/docs/examples/1.2.x/server-deno/examples/avatars/get-credit-card.md index 0f44982738..584c580559 100644 --- a/docs/examples/1.2.x/server-deno/examples/avatars/get-credit-card.md +++ b/docs/examples/1.2.x/server-deno/examples/avatars/get-credit-card.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/avatars/get-favicon.md b/docs/examples/1.2.x/server-deno/examples/avatars/get-favicon.md index f0a539b5fc..d387cc2b7e 100644 --- a/docs/examples/1.2.x/server-deno/examples/avatars/get-favicon.md +++ b/docs/examples/1.2.x/server-deno/examples/avatars/get-favicon.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/avatars/get-flag.md b/docs/examples/1.2.x/server-deno/examples/avatars/get-flag.md index c7593aee1e..03fa737ef2 100644 --- a/docs/examples/1.2.x/server-deno/examples/avatars/get-flag.md +++ b/docs/examples/1.2.x/server-deno/examples/avatars/get-flag.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/avatars/get-image.md b/docs/examples/1.2.x/server-deno/examples/avatars/get-image.md index 6e86307a5f..7dd33398b6 100644 --- a/docs/examples/1.2.x/server-deno/examples/avatars/get-image.md +++ b/docs/examples/1.2.x/server-deno/examples/avatars/get-image.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/avatars/get-initials.md b/docs/examples/1.2.x/server-deno/examples/avatars/get-initials.md index 2adba9e971..4054ecee99 100644 --- a/docs/examples/1.2.x/server-deno/examples/avatars/get-initials.md +++ b/docs/examples/1.2.x/server-deno/examples/avatars/get-initials.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/avatars/get-q-r.md b/docs/examples/1.2.x/server-deno/examples/avatars/get-q-r.md index 2c5faf0112..f239919e05 100644 --- a/docs/examples/1.2.x/server-deno/examples/avatars/get-q-r.md +++ b/docs/examples/1.2.x/server-deno/examples/avatars/get-q-r.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/databases/create-boolean-attribute.md b/docs/examples/1.2.x/server-deno/examples/databases/create-boolean-attribute.md index 81b66771ff..3a06b123a0 100644 --- a/docs/examples/1.2.x/server-deno/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.2.x/server-deno/examples/databases/create-boolean-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/databases/create-collection.md b/docs/examples/1.2.x/server-deno/examples/databases/create-collection.md index 5d59286e3c..c65a13e237 100644 --- a/docs/examples/1.2.x/server-deno/examples/databases/create-collection.md +++ b/docs/examples/1.2.x/server-deno/examples/databases/create-collection.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/databases/create-datetime-attribute.md b/docs/examples/1.2.x/server-deno/examples/databases/create-datetime-attribute.md index c2c4eb8185..ee4fdb9253 100644 --- a/docs/examples/1.2.x/server-deno/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.2.x/server-deno/examples/databases/create-datetime-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/databases/create-document.md b/docs/examples/1.2.x/server-deno/examples/databases/create-document.md index d38818c164..b746f3d3f3 100644 --- a/docs/examples/1.2.x/server-deno/examples/databases/create-document.md +++ b/docs/examples/1.2.x/server-deno/examples/databases/create-document.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/databases/create-email-attribute.md b/docs/examples/1.2.x/server-deno/examples/databases/create-email-attribute.md index 4952625bfc..918ed10cbc 100644 --- a/docs/examples/1.2.x/server-deno/examples/databases/create-email-attribute.md +++ b/docs/examples/1.2.x/server-deno/examples/databases/create-email-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/databases/create-enum-attribute.md b/docs/examples/1.2.x/server-deno/examples/databases/create-enum-attribute.md index d00274d616..79cca97c50 100644 --- a/docs/examples/1.2.x/server-deno/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.2.x/server-deno/examples/databases/create-enum-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/databases/create-float-attribute.md b/docs/examples/1.2.x/server-deno/examples/databases/create-float-attribute.md index c2b056fd1b..a61df747b3 100644 --- a/docs/examples/1.2.x/server-deno/examples/databases/create-float-attribute.md +++ b/docs/examples/1.2.x/server-deno/examples/databases/create-float-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/databases/create-index.md b/docs/examples/1.2.x/server-deno/examples/databases/create-index.md index bfde8e3fb5..0d238068aa 100644 --- a/docs/examples/1.2.x/server-deno/examples/databases/create-index.md +++ b/docs/examples/1.2.x/server-deno/examples/databases/create-index.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/databases/create-integer-attribute.md b/docs/examples/1.2.x/server-deno/examples/databases/create-integer-attribute.md index 2a36f413e5..fec9ed6835 100644 --- a/docs/examples/1.2.x/server-deno/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.2.x/server-deno/examples/databases/create-integer-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/databases/create-ip-attribute.md b/docs/examples/1.2.x/server-deno/examples/databases/create-ip-attribute.md index 19180d6ac0..858450d499 100644 --- a/docs/examples/1.2.x/server-deno/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.2.x/server-deno/examples/databases/create-ip-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/databases/create-string-attribute.md b/docs/examples/1.2.x/server-deno/examples/databases/create-string-attribute.md index f3b0a36923..82383ccc76 100644 --- a/docs/examples/1.2.x/server-deno/examples/databases/create-string-attribute.md +++ b/docs/examples/1.2.x/server-deno/examples/databases/create-string-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/databases/create-url-attribute.md b/docs/examples/1.2.x/server-deno/examples/databases/create-url-attribute.md index 488751adff..f556724dca 100644 --- a/docs/examples/1.2.x/server-deno/examples/databases/create-url-attribute.md +++ b/docs/examples/1.2.x/server-deno/examples/databases/create-url-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/databases/create.md b/docs/examples/1.2.x/server-deno/examples/databases/create.md index ea1ebb6460..d8747a01ae 100644 --- a/docs/examples/1.2.x/server-deno/examples/databases/create.md +++ b/docs/examples/1.2.x/server-deno/examples/databases/create.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/databases/delete-attribute.md b/docs/examples/1.2.x/server-deno/examples/databases/delete-attribute.md index e6fe0823f2..fd3fca65ef 100644 --- a/docs/examples/1.2.x/server-deno/examples/databases/delete-attribute.md +++ b/docs/examples/1.2.x/server-deno/examples/databases/delete-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/databases/delete-collection.md b/docs/examples/1.2.x/server-deno/examples/databases/delete-collection.md index 970602ac28..5f0599b7ec 100644 --- a/docs/examples/1.2.x/server-deno/examples/databases/delete-collection.md +++ b/docs/examples/1.2.x/server-deno/examples/databases/delete-collection.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/databases/delete-document.md b/docs/examples/1.2.x/server-deno/examples/databases/delete-document.md index 1a23e03e27..7c1ed710f4 100644 --- a/docs/examples/1.2.x/server-deno/examples/databases/delete-document.md +++ b/docs/examples/1.2.x/server-deno/examples/databases/delete-document.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/databases/delete-index.md b/docs/examples/1.2.x/server-deno/examples/databases/delete-index.md index 8a6050522a..c25eb4a7fc 100644 --- a/docs/examples/1.2.x/server-deno/examples/databases/delete-index.md +++ b/docs/examples/1.2.x/server-deno/examples/databases/delete-index.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/databases/delete.md b/docs/examples/1.2.x/server-deno/examples/databases/delete.md index b735eccdbe..817dcd0dd0 100644 --- a/docs/examples/1.2.x/server-deno/examples/databases/delete.md +++ b/docs/examples/1.2.x/server-deno/examples/databases/delete.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/databases/get-attribute.md b/docs/examples/1.2.x/server-deno/examples/databases/get-attribute.md index 1ec9957b5e..cf5aa9ca1e 100644 --- a/docs/examples/1.2.x/server-deno/examples/databases/get-attribute.md +++ b/docs/examples/1.2.x/server-deno/examples/databases/get-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/databases/get-collection.md b/docs/examples/1.2.x/server-deno/examples/databases/get-collection.md index bf471e3b36..8973f9e8aa 100644 --- a/docs/examples/1.2.x/server-deno/examples/databases/get-collection.md +++ b/docs/examples/1.2.x/server-deno/examples/databases/get-collection.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/databases/get-document.md b/docs/examples/1.2.x/server-deno/examples/databases/get-document.md index a7248d0641..e02b9c8f4b 100644 --- a/docs/examples/1.2.x/server-deno/examples/databases/get-document.md +++ b/docs/examples/1.2.x/server-deno/examples/databases/get-document.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/databases/get-index.md b/docs/examples/1.2.x/server-deno/examples/databases/get-index.md index c1fe00cb65..443b06883c 100644 --- a/docs/examples/1.2.x/server-deno/examples/databases/get-index.md +++ b/docs/examples/1.2.x/server-deno/examples/databases/get-index.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/databases/get.md b/docs/examples/1.2.x/server-deno/examples/databases/get.md index 46df3aad22..a8ea62a552 100644 --- a/docs/examples/1.2.x/server-deno/examples/databases/get.md +++ b/docs/examples/1.2.x/server-deno/examples/databases/get.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/databases/list-attributes.md b/docs/examples/1.2.x/server-deno/examples/databases/list-attributes.md index f2b21141b3..7ee93a5ac0 100644 --- a/docs/examples/1.2.x/server-deno/examples/databases/list-attributes.md +++ b/docs/examples/1.2.x/server-deno/examples/databases/list-attributes.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/databases/list-collections.md b/docs/examples/1.2.x/server-deno/examples/databases/list-collections.md index 83e4ee951f..7cdf106ab1 100644 --- a/docs/examples/1.2.x/server-deno/examples/databases/list-collections.md +++ b/docs/examples/1.2.x/server-deno/examples/databases/list-collections.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/databases/list-documents.md b/docs/examples/1.2.x/server-deno/examples/databases/list-documents.md index c7db17efb5..9c3cd7097e 100644 --- a/docs/examples/1.2.x/server-deno/examples/databases/list-documents.md +++ b/docs/examples/1.2.x/server-deno/examples/databases/list-documents.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/databases/list-indexes.md b/docs/examples/1.2.x/server-deno/examples/databases/list-indexes.md index 69c412b99d..8fbba4a323 100644 --- a/docs/examples/1.2.x/server-deno/examples/databases/list-indexes.md +++ b/docs/examples/1.2.x/server-deno/examples/databases/list-indexes.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/databases/list.md b/docs/examples/1.2.x/server-deno/examples/databases/list.md index 8bb75110ec..84ec9927ac 100644 --- a/docs/examples/1.2.x/server-deno/examples/databases/list.md +++ b/docs/examples/1.2.x/server-deno/examples/databases/list.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/databases/update-collection.md b/docs/examples/1.2.x/server-deno/examples/databases/update-collection.md index f81f46e7f4..234b4c68cf 100644 --- a/docs/examples/1.2.x/server-deno/examples/databases/update-collection.md +++ b/docs/examples/1.2.x/server-deno/examples/databases/update-collection.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/databases/update-document.md b/docs/examples/1.2.x/server-deno/examples/databases/update-document.md index 9964fdb6eb..78c984aae4 100644 --- a/docs/examples/1.2.x/server-deno/examples/databases/update-document.md +++ b/docs/examples/1.2.x/server-deno/examples/databases/update-document.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/databases/update.md b/docs/examples/1.2.x/server-deno/examples/databases/update.md index 64886a697b..c60c249973 100644 --- a/docs/examples/1.2.x/server-deno/examples/databases/update.md +++ b/docs/examples/1.2.x/server-deno/examples/databases/update.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/functions/create-build.md b/docs/examples/1.2.x/server-deno/examples/functions/create-build.md index 28d10105e3..ffa1906b0a 100644 --- a/docs/examples/1.2.x/server-deno/examples/functions/create-build.md +++ b/docs/examples/1.2.x/server-deno/examples/functions/create-build.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/functions/create-deployment.md b/docs/examples/1.2.x/server-deno/examples/functions/create-deployment.md index 005644b62e..e663cf473a 100644 --- a/docs/examples/1.2.x/server-deno/examples/functions/create-deployment.md +++ b/docs/examples/1.2.x/server-deno/examples/functions/create-deployment.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/functions/create-execution.md b/docs/examples/1.2.x/server-deno/examples/functions/create-execution.md index 6ec920ef9d..a24cc942b5 100644 --- a/docs/examples/1.2.x/server-deno/examples/functions/create-execution.md +++ b/docs/examples/1.2.x/server-deno/examples/functions/create-execution.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/functions/create-variable.md b/docs/examples/1.2.x/server-deno/examples/functions/create-variable.md index 375ef8b7a6..6de4953eec 100644 --- a/docs/examples/1.2.x/server-deno/examples/functions/create-variable.md +++ b/docs/examples/1.2.x/server-deno/examples/functions/create-variable.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/functions/create.md b/docs/examples/1.2.x/server-deno/examples/functions/create.md index 423a347f51..0964bce180 100644 --- a/docs/examples/1.2.x/server-deno/examples/functions/create.md +++ b/docs/examples/1.2.x/server-deno/examples/functions/create.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/functions/delete-deployment.md b/docs/examples/1.2.x/server-deno/examples/functions/delete-deployment.md index 7b6468bb06..b1f280fb13 100644 --- a/docs/examples/1.2.x/server-deno/examples/functions/delete-deployment.md +++ b/docs/examples/1.2.x/server-deno/examples/functions/delete-deployment.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/functions/delete-variable.md b/docs/examples/1.2.x/server-deno/examples/functions/delete-variable.md index 16bf385a4c..012f353540 100644 --- a/docs/examples/1.2.x/server-deno/examples/functions/delete-variable.md +++ b/docs/examples/1.2.x/server-deno/examples/functions/delete-variable.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/functions/delete.md b/docs/examples/1.2.x/server-deno/examples/functions/delete.md index 48ec374bf2..ac801878c8 100644 --- a/docs/examples/1.2.x/server-deno/examples/functions/delete.md +++ b/docs/examples/1.2.x/server-deno/examples/functions/delete.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/functions/get-deployment.md b/docs/examples/1.2.x/server-deno/examples/functions/get-deployment.md index 854f3897d9..eef2d306ec 100644 --- a/docs/examples/1.2.x/server-deno/examples/functions/get-deployment.md +++ b/docs/examples/1.2.x/server-deno/examples/functions/get-deployment.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/functions/get-execution.md b/docs/examples/1.2.x/server-deno/examples/functions/get-execution.md index 42bcdfbfdf..cfb4ef09dc 100644 --- a/docs/examples/1.2.x/server-deno/examples/functions/get-execution.md +++ b/docs/examples/1.2.x/server-deno/examples/functions/get-execution.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/functions/get-variable.md b/docs/examples/1.2.x/server-deno/examples/functions/get-variable.md index 2b4190e0a6..9881efcb03 100644 --- a/docs/examples/1.2.x/server-deno/examples/functions/get-variable.md +++ b/docs/examples/1.2.x/server-deno/examples/functions/get-variable.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/functions/get.md b/docs/examples/1.2.x/server-deno/examples/functions/get.md index 388958232a..f511f59452 100644 --- a/docs/examples/1.2.x/server-deno/examples/functions/get.md +++ b/docs/examples/1.2.x/server-deno/examples/functions/get.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/functions/list-deployments.md b/docs/examples/1.2.x/server-deno/examples/functions/list-deployments.md index e84bb9cc09..cdd0ae775a 100644 --- a/docs/examples/1.2.x/server-deno/examples/functions/list-deployments.md +++ b/docs/examples/1.2.x/server-deno/examples/functions/list-deployments.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/functions/list-executions.md b/docs/examples/1.2.x/server-deno/examples/functions/list-executions.md index aadd19f1ce..fcc47f2dcd 100644 --- a/docs/examples/1.2.x/server-deno/examples/functions/list-executions.md +++ b/docs/examples/1.2.x/server-deno/examples/functions/list-executions.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/functions/list-runtimes.md b/docs/examples/1.2.x/server-deno/examples/functions/list-runtimes.md index 6fc7570b3a..b45ec8f223 100644 --- a/docs/examples/1.2.x/server-deno/examples/functions/list-runtimes.md +++ b/docs/examples/1.2.x/server-deno/examples/functions/list-runtimes.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/functions/list-variables.md b/docs/examples/1.2.x/server-deno/examples/functions/list-variables.md index 44a9828a67..f9f241fee3 100644 --- a/docs/examples/1.2.x/server-deno/examples/functions/list-variables.md +++ b/docs/examples/1.2.x/server-deno/examples/functions/list-variables.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/functions/list.md b/docs/examples/1.2.x/server-deno/examples/functions/list.md index 7c82760a39..cadecd7fc1 100644 --- a/docs/examples/1.2.x/server-deno/examples/functions/list.md +++ b/docs/examples/1.2.x/server-deno/examples/functions/list.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/functions/update-deployment.md b/docs/examples/1.2.x/server-deno/examples/functions/update-deployment.md index 94be560a2d..4d1bda6363 100644 --- a/docs/examples/1.2.x/server-deno/examples/functions/update-deployment.md +++ b/docs/examples/1.2.x/server-deno/examples/functions/update-deployment.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/functions/update-variable.md b/docs/examples/1.2.x/server-deno/examples/functions/update-variable.md index 1a318f1eba..bcdde06c9a 100644 --- a/docs/examples/1.2.x/server-deno/examples/functions/update-variable.md +++ b/docs/examples/1.2.x/server-deno/examples/functions/update-variable.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/functions/update.md b/docs/examples/1.2.x/server-deno/examples/functions/update.md index 84316f1de7..4c527d8970 100644 --- a/docs/examples/1.2.x/server-deno/examples/functions/update.md +++ b/docs/examples/1.2.x/server-deno/examples/functions/update.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/graphql/63a08ed7b8f61.md b/docs/examples/1.2.x/server-deno/examples/graphql/63a08ed7b8f61.md index cf6e477fc9..8d13e30ca6 100644 --- a/docs/examples/1.2.x/server-deno/examples/graphql/63a08ed7b8f61.md +++ b/docs/examples/1.2.x/server-deno/examples/graphql/63a08ed7b8f61.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let graphql = new sdk.Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/graphql/get.md b/docs/examples/1.2.x/server-deno/examples/graphql/get.md index 2cc251ccf3..f115ef7d5f 100644 --- a/docs/examples/1.2.x/server-deno/examples/graphql/get.md +++ b/docs/examples/1.2.x/server-deno/examples/graphql/get.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let graphql = new sdk.Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/graphql/mutation.md b/docs/examples/1.2.x/server-deno/examples/graphql/mutation.md index 87beeabce6..f95cdc771d 100644 --- a/docs/examples/1.2.x/server-deno/examples/graphql/mutation.md +++ b/docs/examples/1.2.x/server-deno/examples/graphql/mutation.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let graphql = new sdk.Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/graphql/query.md b/docs/examples/1.2.x/server-deno/examples/graphql/query.md index d2eec0a8db..27930bde4d 100644 --- a/docs/examples/1.2.x/server-deno/examples/graphql/query.md +++ b/docs/examples/1.2.x/server-deno/examples/graphql/query.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let graphql = new sdk.Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/health/get-antivirus.md b/docs/examples/1.2.x/server-deno/examples/health/get-antivirus.md index 8d51808536..7bee35a127 100644 --- a/docs/examples/1.2.x/server-deno/examples/health/get-antivirus.md +++ b/docs/examples/1.2.x/server-deno/examples/health/get-antivirus.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/health/get-cache.md b/docs/examples/1.2.x/server-deno/examples/health/get-cache.md index cafc3018c0..12dfbb1b2d 100644 --- a/docs/examples/1.2.x/server-deno/examples/health/get-cache.md +++ b/docs/examples/1.2.x/server-deno/examples/health/get-cache.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/health/get-d-b.md b/docs/examples/1.2.x/server-deno/examples/health/get-d-b.md index a000535051..73ac2931fb 100644 --- a/docs/examples/1.2.x/server-deno/examples/health/get-d-b.md +++ b/docs/examples/1.2.x/server-deno/examples/health/get-d-b.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/health/get-queue-certificates.md b/docs/examples/1.2.x/server-deno/examples/health/get-queue-certificates.md index 49dab6b2e6..ea90355ec9 100644 --- a/docs/examples/1.2.x/server-deno/examples/health/get-queue-certificates.md +++ b/docs/examples/1.2.x/server-deno/examples/health/get-queue-certificates.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/health/get-queue-functions.md b/docs/examples/1.2.x/server-deno/examples/health/get-queue-functions.md index 74f458b9fe..e95a602059 100644 --- a/docs/examples/1.2.x/server-deno/examples/health/get-queue-functions.md +++ b/docs/examples/1.2.x/server-deno/examples/health/get-queue-functions.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/health/get-queue-logs.md b/docs/examples/1.2.x/server-deno/examples/health/get-queue-logs.md index 98948b9de6..457c2689ec 100644 --- a/docs/examples/1.2.x/server-deno/examples/health/get-queue-logs.md +++ b/docs/examples/1.2.x/server-deno/examples/health/get-queue-logs.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/health/get-queue-webhooks.md b/docs/examples/1.2.x/server-deno/examples/health/get-queue-webhooks.md index 7b45c189cc..87af736da8 100644 --- a/docs/examples/1.2.x/server-deno/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.2.x/server-deno/examples/health/get-queue-webhooks.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/health/get-storage-local.md b/docs/examples/1.2.x/server-deno/examples/health/get-storage-local.md index 4c45d89aca..31f708e88a 100644 --- a/docs/examples/1.2.x/server-deno/examples/health/get-storage-local.md +++ b/docs/examples/1.2.x/server-deno/examples/health/get-storage-local.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/health/get-time.md b/docs/examples/1.2.x/server-deno/examples/health/get-time.md index 6a66a10a05..69c73045a9 100644 --- a/docs/examples/1.2.x/server-deno/examples/health/get-time.md +++ b/docs/examples/1.2.x/server-deno/examples/health/get-time.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/health/get.md b/docs/examples/1.2.x/server-deno/examples/health/get.md index 0b9af9dd15..6afe71a315 100644 --- a/docs/examples/1.2.x/server-deno/examples/health/get.md +++ b/docs/examples/1.2.x/server-deno/examples/health/get.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/locale/get.md b/docs/examples/1.2.x/server-deno/examples/locale/get.md index 22b9a62655..f9f015cfb9 100644 --- a/docs/examples/1.2.x/server-deno/examples/locale/get.md +++ b/docs/examples/1.2.x/server-deno/examples/locale/get.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/locale/list-continents.md b/docs/examples/1.2.x/server-deno/examples/locale/list-continents.md index bd69f43a61..dd42b1957f 100644 --- a/docs/examples/1.2.x/server-deno/examples/locale/list-continents.md +++ b/docs/examples/1.2.x/server-deno/examples/locale/list-continents.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/locale/list-countries-e-u.md b/docs/examples/1.2.x/server-deno/examples/locale/list-countries-e-u.md index 3d3b7b492a..597edd6f92 100644 --- a/docs/examples/1.2.x/server-deno/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.2.x/server-deno/examples/locale/list-countries-e-u.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/locale/list-countries-phones.md b/docs/examples/1.2.x/server-deno/examples/locale/list-countries-phones.md index bc9e1754ad..f3e27aa152 100644 --- a/docs/examples/1.2.x/server-deno/examples/locale/list-countries-phones.md +++ b/docs/examples/1.2.x/server-deno/examples/locale/list-countries-phones.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/locale/list-countries.md b/docs/examples/1.2.x/server-deno/examples/locale/list-countries.md index 0790270371..3d65b3c71c 100644 --- a/docs/examples/1.2.x/server-deno/examples/locale/list-countries.md +++ b/docs/examples/1.2.x/server-deno/examples/locale/list-countries.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/locale/list-currencies.md b/docs/examples/1.2.x/server-deno/examples/locale/list-currencies.md index e040312fef..ae0fad6e0b 100644 --- a/docs/examples/1.2.x/server-deno/examples/locale/list-currencies.md +++ b/docs/examples/1.2.x/server-deno/examples/locale/list-currencies.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/locale/list-languages.md b/docs/examples/1.2.x/server-deno/examples/locale/list-languages.md index be5af4d50c..792a0e8a43 100644 --- a/docs/examples/1.2.x/server-deno/examples/locale/list-languages.md +++ b/docs/examples/1.2.x/server-deno/examples/locale/list-languages.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/storage/create-bucket.md b/docs/examples/1.2.x/server-deno/examples/storage/create-bucket.md index a25211a1c7..4a2460216b 100644 --- a/docs/examples/1.2.x/server-deno/examples/storage/create-bucket.md +++ b/docs/examples/1.2.x/server-deno/examples/storage/create-bucket.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/storage/create-file.md b/docs/examples/1.2.x/server-deno/examples/storage/create-file.md index c0fe4930b9..e2b9edaa57 100644 --- a/docs/examples/1.2.x/server-deno/examples/storage/create-file.md +++ b/docs/examples/1.2.x/server-deno/examples/storage/create-file.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/storage/delete-bucket.md b/docs/examples/1.2.x/server-deno/examples/storage/delete-bucket.md index d468428141..f5c818046e 100644 --- a/docs/examples/1.2.x/server-deno/examples/storage/delete-bucket.md +++ b/docs/examples/1.2.x/server-deno/examples/storage/delete-bucket.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/storage/delete-file.md b/docs/examples/1.2.x/server-deno/examples/storage/delete-file.md index e86da1763b..61589ed878 100644 --- a/docs/examples/1.2.x/server-deno/examples/storage/delete-file.md +++ b/docs/examples/1.2.x/server-deno/examples/storage/delete-file.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/storage/get-bucket.md b/docs/examples/1.2.x/server-deno/examples/storage/get-bucket.md index 35d22b941a..34391b42c2 100644 --- a/docs/examples/1.2.x/server-deno/examples/storage/get-bucket.md +++ b/docs/examples/1.2.x/server-deno/examples/storage/get-bucket.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/storage/get-file-download.md b/docs/examples/1.2.x/server-deno/examples/storage/get-file-download.md index 206b860e25..9f2927e054 100644 --- a/docs/examples/1.2.x/server-deno/examples/storage/get-file-download.md +++ b/docs/examples/1.2.x/server-deno/examples/storage/get-file-download.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/storage/get-file-preview.md b/docs/examples/1.2.x/server-deno/examples/storage/get-file-preview.md index 4815c6b40b..903aa59270 100644 --- a/docs/examples/1.2.x/server-deno/examples/storage/get-file-preview.md +++ b/docs/examples/1.2.x/server-deno/examples/storage/get-file-preview.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/storage/get-file-view.md b/docs/examples/1.2.x/server-deno/examples/storage/get-file-view.md index 11ca8fdc6c..27d20ab4a6 100644 --- a/docs/examples/1.2.x/server-deno/examples/storage/get-file-view.md +++ b/docs/examples/1.2.x/server-deno/examples/storage/get-file-view.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/storage/get-file.md b/docs/examples/1.2.x/server-deno/examples/storage/get-file.md index 04aa43a5b1..c6ec55a1e6 100644 --- a/docs/examples/1.2.x/server-deno/examples/storage/get-file.md +++ b/docs/examples/1.2.x/server-deno/examples/storage/get-file.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/storage/list-buckets.md b/docs/examples/1.2.x/server-deno/examples/storage/list-buckets.md index 0c31feffe3..7cae11354f 100644 --- a/docs/examples/1.2.x/server-deno/examples/storage/list-buckets.md +++ b/docs/examples/1.2.x/server-deno/examples/storage/list-buckets.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/storage/list-files.md b/docs/examples/1.2.x/server-deno/examples/storage/list-files.md index 00178aa874..d5de10df59 100644 --- a/docs/examples/1.2.x/server-deno/examples/storage/list-files.md +++ b/docs/examples/1.2.x/server-deno/examples/storage/list-files.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/storage/update-bucket.md b/docs/examples/1.2.x/server-deno/examples/storage/update-bucket.md index aca746145e..d9c554bffe 100644 --- a/docs/examples/1.2.x/server-deno/examples/storage/update-bucket.md +++ b/docs/examples/1.2.x/server-deno/examples/storage/update-bucket.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/storage/update-file.md b/docs/examples/1.2.x/server-deno/examples/storage/update-file.md index 79f31c3b03..a106b4b505 100644 --- a/docs/examples/1.2.x/server-deno/examples/storage/update-file.md +++ b/docs/examples/1.2.x/server-deno/examples/storage/update-file.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/teams/create-membership.md b/docs/examples/1.2.x/server-deno/examples/teams/create-membership.md index e54377281e..85762a26de 100644 --- a/docs/examples/1.2.x/server-deno/examples/teams/create-membership.md +++ b/docs/examples/1.2.x/server-deno/examples/teams/create-membership.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/teams/create.md b/docs/examples/1.2.x/server-deno/examples/teams/create.md index 8272adb4d0..b5ad42710c 100644 --- a/docs/examples/1.2.x/server-deno/examples/teams/create.md +++ b/docs/examples/1.2.x/server-deno/examples/teams/create.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/teams/delete-membership.md b/docs/examples/1.2.x/server-deno/examples/teams/delete-membership.md index 402deb0b8a..dd73e8ae87 100644 --- a/docs/examples/1.2.x/server-deno/examples/teams/delete-membership.md +++ b/docs/examples/1.2.x/server-deno/examples/teams/delete-membership.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/teams/delete.md b/docs/examples/1.2.x/server-deno/examples/teams/delete.md index 3b30934bea..5f859e0cfc 100644 --- a/docs/examples/1.2.x/server-deno/examples/teams/delete.md +++ b/docs/examples/1.2.x/server-deno/examples/teams/delete.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/teams/get-membership.md b/docs/examples/1.2.x/server-deno/examples/teams/get-membership.md index 7d50599b67..8289e1fbd4 100644 --- a/docs/examples/1.2.x/server-deno/examples/teams/get-membership.md +++ b/docs/examples/1.2.x/server-deno/examples/teams/get-membership.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/teams/get.md b/docs/examples/1.2.x/server-deno/examples/teams/get.md index 44ecdab949..e18f9e580d 100644 --- a/docs/examples/1.2.x/server-deno/examples/teams/get.md +++ b/docs/examples/1.2.x/server-deno/examples/teams/get.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/teams/list-memberships.md b/docs/examples/1.2.x/server-deno/examples/teams/list-memberships.md index 7d730021a6..ca062ddb29 100644 --- a/docs/examples/1.2.x/server-deno/examples/teams/list-memberships.md +++ b/docs/examples/1.2.x/server-deno/examples/teams/list-memberships.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/teams/list.md b/docs/examples/1.2.x/server-deno/examples/teams/list.md index c45ffdc066..a76660063d 100644 --- a/docs/examples/1.2.x/server-deno/examples/teams/list.md +++ b/docs/examples/1.2.x/server-deno/examples/teams/list.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/teams/update-membership-roles.md b/docs/examples/1.2.x/server-deno/examples/teams/update-membership-roles.md index 9f2dad98c6..050f7dbbd7 100644 --- a/docs/examples/1.2.x/server-deno/examples/teams/update-membership-roles.md +++ b/docs/examples/1.2.x/server-deno/examples/teams/update-membership-roles.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/teams/update-membership-status.md b/docs/examples/1.2.x/server-deno/examples/teams/update-membership-status.md index 7bb57d8974..2ac6332372 100644 --- a/docs/examples/1.2.x/server-deno/examples/teams/update-membership-status.md +++ b/docs/examples/1.2.x/server-deno/examples/teams/update-membership-status.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-deno/examples/teams/update.md b/docs/examples/1.2.x/server-deno/examples/teams/update.md index b17708a9c4..590c6e4dcb 100644 --- a/docs/examples/1.2.x/server-deno/examples/teams/update.md +++ b/docs/examples/1.2.x/server-deno/examples/teams/update.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/users/create-argon2user.md b/docs/examples/1.2.x/server-deno/examples/users/create-argon2user.md index e55b644b62..c9d3e68bcd 100644 --- a/docs/examples/1.2.x/server-deno/examples/users/create-argon2user.md +++ b/docs/examples/1.2.x/server-deno/examples/users/create-argon2user.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/users/create-bcrypt-user.md b/docs/examples/1.2.x/server-deno/examples/users/create-bcrypt-user.md index 325fbe46d5..a3cc0ddc7d 100644 --- a/docs/examples/1.2.x/server-deno/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.2.x/server-deno/examples/users/create-bcrypt-user.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/users/create-m-d5user.md b/docs/examples/1.2.x/server-deno/examples/users/create-m-d5user.md index 8892688594..387fd97da0 100644 --- a/docs/examples/1.2.x/server-deno/examples/users/create-m-d5user.md +++ b/docs/examples/1.2.x/server-deno/examples/users/create-m-d5user.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/users/create-p-h-pass-user.md b/docs/examples/1.2.x/server-deno/examples/users/create-p-h-pass-user.md index d7a3428fd5..1e02fba553 100644 --- a/docs/examples/1.2.x/server-deno/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.2.x/server-deno/examples/users/create-p-h-pass-user.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/users/create-s-h-a-user.md b/docs/examples/1.2.x/server-deno/examples/users/create-s-h-a-user.md index c3ade982ef..82cf7ea8a4 100644 --- a/docs/examples/1.2.x/server-deno/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.2.x/server-deno/examples/users/create-s-h-a-user.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/users/create-scrypt-modified-user.md b/docs/examples/1.2.x/server-deno/examples/users/create-scrypt-modified-user.md index 8039a970c2..d06e6d3128 100644 --- a/docs/examples/1.2.x/server-deno/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.2.x/server-deno/examples/users/create-scrypt-modified-user.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/users/create-scrypt-user.md b/docs/examples/1.2.x/server-deno/examples/users/create-scrypt-user.md index 9889855e7c..6f9656ce5e 100644 --- a/docs/examples/1.2.x/server-deno/examples/users/create-scrypt-user.md +++ b/docs/examples/1.2.x/server-deno/examples/users/create-scrypt-user.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/users/create.md b/docs/examples/1.2.x/server-deno/examples/users/create.md index c56f8d8f88..1338a4e59f 100644 --- a/docs/examples/1.2.x/server-deno/examples/users/create.md +++ b/docs/examples/1.2.x/server-deno/examples/users/create.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/users/delete-session.md b/docs/examples/1.2.x/server-deno/examples/users/delete-session.md index e4ea45ba73..8d6e862bdb 100644 --- a/docs/examples/1.2.x/server-deno/examples/users/delete-session.md +++ b/docs/examples/1.2.x/server-deno/examples/users/delete-session.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/users/delete-sessions.md b/docs/examples/1.2.x/server-deno/examples/users/delete-sessions.md index 0e12d6dacf..894084dd90 100644 --- a/docs/examples/1.2.x/server-deno/examples/users/delete-sessions.md +++ b/docs/examples/1.2.x/server-deno/examples/users/delete-sessions.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/users/delete.md b/docs/examples/1.2.x/server-deno/examples/users/delete.md index f0223024a3..e291fa1cf1 100644 --- a/docs/examples/1.2.x/server-deno/examples/users/delete.md +++ b/docs/examples/1.2.x/server-deno/examples/users/delete.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/users/get-prefs.md b/docs/examples/1.2.x/server-deno/examples/users/get-prefs.md index 63953f9d24..98d6f6aa62 100644 --- a/docs/examples/1.2.x/server-deno/examples/users/get-prefs.md +++ b/docs/examples/1.2.x/server-deno/examples/users/get-prefs.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/users/get.md b/docs/examples/1.2.x/server-deno/examples/users/get.md index c9300c5060..77c27630ba 100644 --- a/docs/examples/1.2.x/server-deno/examples/users/get.md +++ b/docs/examples/1.2.x/server-deno/examples/users/get.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/users/list-logs.md b/docs/examples/1.2.x/server-deno/examples/users/list-logs.md index 7d0841fc77..fe4103138d 100644 --- a/docs/examples/1.2.x/server-deno/examples/users/list-logs.md +++ b/docs/examples/1.2.x/server-deno/examples/users/list-logs.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/users/list-memberships.md b/docs/examples/1.2.x/server-deno/examples/users/list-memberships.md index 74f2fb7f1e..592385fc04 100644 --- a/docs/examples/1.2.x/server-deno/examples/users/list-memberships.md +++ b/docs/examples/1.2.x/server-deno/examples/users/list-memberships.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/users/list-sessions.md b/docs/examples/1.2.x/server-deno/examples/users/list-sessions.md index 1aa4ca7d78..2117b04927 100644 --- a/docs/examples/1.2.x/server-deno/examples/users/list-sessions.md +++ b/docs/examples/1.2.x/server-deno/examples/users/list-sessions.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/users/list.md b/docs/examples/1.2.x/server-deno/examples/users/list.md index 369ccd7b29..a092136f5a 100644 --- a/docs/examples/1.2.x/server-deno/examples/users/list.md +++ b/docs/examples/1.2.x/server-deno/examples/users/list.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/users/update-email-verification.md b/docs/examples/1.2.x/server-deno/examples/users/update-email-verification.md index 146cea5027..41a3250abb 100644 --- a/docs/examples/1.2.x/server-deno/examples/users/update-email-verification.md +++ b/docs/examples/1.2.x/server-deno/examples/users/update-email-verification.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/users/update-email.md b/docs/examples/1.2.x/server-deno/examples/users/update-email.md index bd7f0ffbd8..428ab37b85 100644 --- a/docs/examples/1.2.x/server-deno/examples/users/update-email.md +++ b/docs/examples/1.2.x/server-deno/examples/users/update-email.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/users/update-name.md b/docs/examples/1.2.x/server-deno/examples/users/update-name.md index 071c948201..1b0918b5a5 100644 --- a/docs/examples/1.2.x/server-deno/examples/users/update-name.md +++ b/docs/examples/1.2.x/server-deno/examples/users/update-name.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/users/update-password.md b/docs/examples/1.2.x/server-deno/examples/users/update-password.md index 3c896fae5a..5852c340aa 100644 --- a/docs/examples/1.2.x/server-deno/examples/users/update-password.md +++ b/docs/examples/1.2.x/server-deno/examples/users/update-password.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/users/update-phone-verification.md b/docs/examples/1.2.x/server-deno/examples/users/update-phone-verification.md index 293f876152..3241b4c430 100644 --- a/docs/examples/1.2.x/server-deno/examples/users/update-phone-verification.md +++ b/docs/examples/1.2.x/server-deno/examples/users/update-phone-verification.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/users/update-phone.md b/docs/examples/1.2.x/server-deno/examples/users/update-phone.md index e634f59719..b41c9bc15f 100644 --- a/docs/examples/1.2.x/server-deno/examples/users/update-phone.md +++ b/docs/examples/1.2.x/server-deno/examples/users/update-phone.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/users/update-prefs.md b/docs/examples/1.2.x/server-deno/examples/users/update-prefs.md index 248fdb10ab..c794bc9d6c 100644 --- a/docs/examples/1.2.x/server-deno/examples/users/update-prefs.md +++ b/docs/examples/1.2.x/server-deno/examples/users/update-prefs.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-deno/examples/users/update-status.md b/docs/examples/1.2.x/server-deno/examples/users/update-status.md index 2f142596fd..80355e1b39 100644 --- a/docs/examples/1.2.x/server-deno/examples/users/update-status.md +++ b/docs/examples/1.2.x/server-deno/examples/users/update-status.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-kotlin/java/account/create-phone-verification.md b/docs/examples/1.2.x/server-kotlin/java/account/create-phone-verification.md index 013b357f88..86416e08aa 100644 --- a/docs/examples/1.2.x/server-kotlin/java/account/create-phone-verification.md +++ b/docs/examples/1.2.x/server-kotlin/java/account/create-phone-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/java/account/create-recovery.md b/docs/examples/1.2.x/server-kotlin/java/account/create-recovery.md index 284efc8107..7f1a21b9dc 100644 --- a/docs/examples/1.2.x/server-kotlin/java/account/create-recovery.md +++ b/docs/examples/1.2.x/server-kotlin/java/account/create-recovery.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/java/account/create-verification.md b/docs/examples/1.2.x/server-kotlin/java/account/create-verification.md index 0280b4b15b..c7911643c1 100644 --- a/docs/examples/1.2.x/server-kotlin/java/account/create-verification.md +++ b/docs/examples/1.2.x/server-kotlin/java/account/create-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/java/account/delete-session.md b/docs/examples/1.2.x/server-kotlin/java/account/delete-session.md index 2cd069eaa1..27ce537ecd 100644 --- a/docs/examples/1.2.x/server-kotlin/java/account/delete-session.md +++ b/docs/examples/1.2.x/server-kotlin/java/account/delete-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/java/account/delete-sessions.md b/docs/examples/1.2.x/server-kotlin/java/account/delete-sessions.md index 7a9999d398..cd790a3ac7 100644 --- a/docs/examples/1.2.x/server-kotlin/java/account/delete-sessions.md +++ b/docs/examples/1.2.x/server-kotlin/java/account/delete-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/java/account/get-prefs.md b/docs/examples/1.2.x/server-kotlin/java/account/get-prefs.md index 3f6cd20c9d..609707c407 100644 --- a/docs/examples/1.2.x/server-kotlin/java/account/get-prefs.md +++ b/docs/examples/1.2.x/server-kotlin/java/account/get-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/java/account/get-session.md b/docs/examples/1.2.x/server-kotlin/java/account/get-session.md index 17229e29de..efe4fabba7 100644 --- a/docs/examples/1.2.x/server-kotlin/java/account/get-session.md +++ b/docs/examples/1.2.x/server-kotlin/java/account/get-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/java/account/get.md b/docs/examples/1.2.x/server-kotlin/java/account/get.md index 80a4988af5..a79e027940 100644 --- a/docs/examples/1.2.x/server-kotlin/java/account/get.md +++ b/docs/examples/1.2.x/server-kotlin/java/account/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/java/account/list-logs.md b/docs/examples/1.2.x/server-kotlin/java/account/list-logs.md index 971ac866e1..cfb15dccfc 100644 --- a/docs/examples/1.2.x/server-kotlin/java/account/list-logs.md +++ b/docs/examples/1.2.x/server-kotlin/java/account/list-logs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/java/account/list-sessions.md b/docs/examples/1.2.x/server-kotlin/java/account/list-sessions.md index 9d7e6308e5..f850618692 100644 --- a/docs/examples/1.2.x/server-kotlin/java/account/list-sessions.md +++ b/docs/examples/1.2.x/server-kotlin/java/account/list-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/java/account/update-email.md b/docs/examples/1.2.x/server-kotlin/java/account/update-email.md index 67ab31ad88..4e09bdf1a9 100644 --- a/docs/examples/1.2.x/server-kotlin/java/account/update-email.md +++ b/docs/examples/1.2.x/server-kotlin/java/account/update-email.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/java/account/update-name.md b/docs/examples/1.2.x/server-kotlin/java/account/update-name.md index 6900f12174..6a5a1711eb 100644 --- a/docs/examples/1.2.x/server-kotlin/java/account/update-name.md +++ b/docs/examples/1.2.x/server-kotlin/java/account/update-name.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/java/account/update-password.md b/docs/examples/1.2.x/server-kotlin/java/account/update-password.md index 945ad00128..209fdd2e7d 100644 --- a/docs/examples/1.2.x/server-kotlin/java/account/update-password.md +++ b/docs/examples/1.2.x/server-kotlin/java/account/update-password.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/java/account/update-phone-verification.md b/docs/examples/1.2.x/server-kotlin/java/account/update-phone-verification.md index 8c3c9756de..0c1d440763 100644 --- a/docs/examples/1.2.x/server-kotlin/java/account/update-phone-verification.md +++ b/docs/examples/1.2.x/server-kotlin/java/account/update-phone-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/java/account/update-phone.md b/docs/examples/1.2.x/server-kotlin/java/account/update-phone.md index 9365a0f0b9..d51cc4497e 100644 --- a/docs/examples/1.2.x/server-kotlin/java/account/update-phone.md +++ b/docs/examples/1.2.x/server-kotlin/java/account/update-phone.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/java/account/update-prefs.md b/docs/examples/1.2.x/server-kotlin/java/account/update-prefs.md index 24a3625834..2c7e22f25f 100644 --- a/docs/examples/1.2.x/server-kotlin/java/account/update-prefs.md +++ b/docs/examples/1.2.x/server-kotlin/java/account/update-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/java/account/update-recovery.md b/docs/examples/1.2.x/server-kotlin/java/account/update-recovery.md index bc3251d160..ffbfd402b9 100644 --- a/docs/examples/1.2.x/server-kotlin/java/account/update-recovery.md +++ b/docs/examples/1.2.x/server-kotlin/java/account/update-recovery.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/java/account/update-session.md b/docs/examples/1.2.x/server-kotlin/java/account/update-session.md index 62d77e1366..ec83c2d357 100644 --- a/docs/examples/1.2.x/server-kotlin/java/account/update-session.md +++ b/docs/examples/1.2.x/server-kotlin/java/account/update-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/java/account/update-status.md b/docs/examples/1.2.x/server-kotlin/java/account/update-status.md index 4af2cf1083..964ce9c5b0 100644 --- a/docs/examples/1.2.x/server-kotlin/java/account/update-status.md +++ b/docs/examples/1.2.x/server-kotlin/java/account/update-status.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/java/account/update-verification.md b/docs/examples/1.2.x/server-kotlin/java/account/update-verification.md index 2190daf1b7..76780f4ac6 100644 --- a/docs/examples/1.2.x/server-kotlin/java/account/update-verification.md +++ b/docs/examples/1.2.x/server-kotlin/java/account/update-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/java/avatars/get-browser.md b/docs/examples/1.2.x/server-kotlin/java/avatars/get-browser.md index 42e8e57ee1..0682288cfe 100644 --- a/docs/examples/1.2.x/server-kotlin/java/avatars/get-browser.md +++ b/docs/examples/1.2.x/server-kotlin/java/avatars/get-browser.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/avatars/get-credit-card.md b/docs/examples/1.2.x/server-kotlin/java/avatars/get-credit-card.md index 5e3b32b527..f821a7638c 100644 --- a/docs/examples/1.2.x/server-kotlin/java/avatars/get-credit-card.md +++ b/docs/examples/1.2.x/server-kotlin/java/avatars/get-credit-card.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/avatars/get-favicon.md b/docs/examples/1.2.x/server-kotlin/java/avatars/get-favicon.md index 109f88f719..95b91adb90 100644 --- a/docs/examples/1.2.x/server-kotlin/java/avatars/get-favicon.md +++ b/docs/examples/1.2.x/server-kotlin/java/avatars/get-favicon.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/avatars/get-flag.md b/docs/examples/1.2.x/server-kotlin/java/avatars/get-flag.md index 6ad820ae7a..f0e2cda52d 100644 --- a/docs/examples/1.2.x/server-kotlin/java/avatars/get-flag.md +++ b/docs/examples/1.2.x/server-kotlin/java/avatars/get-flag.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/avatars/get-image.md b/docs/examples/1.2.x/server-kotlin/java/avatars/get-image.md index 2680544988..765a8024e5 100644 --- a/docs/examples/1.2.x/server-kotlin/java/avatars/get-image.md +++ b/docs/examples/1.2.x/server-kotlin/java/avatars/get-image.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/avatars/get-initials.md b/docs/examples/1.2.x/server-kotlin/java/avatars/get-initials.md index 8a86e7a01b..8cbcee1497 100644 --- a/docs/examples/1.2.x/server-kotlin/java/avatars/get-initials.md +++ b/docs/examples/1.2.x/server-kotlin/java/avatars/get-initials.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/avatars/get-q-r.md b/docs/examples/1.2.x/server-kotlin/java/avatars/get-q-r.md index c57d70a840..2d7e133281 100644 --- a/docs/examples/1.2.x/server-kotlin/java/avatars/get-q-r.md +++ b/docs/examples/1.2.x/server-kotlin/java/avatars/get-q-r.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/databases/create-boolean-attribute.md b/docs/examples/1.2.x/server-kotlin/java/databases/create-boolean-attribute.md index 6e79f0a917..c5d83a05ff 100644 --- a/docs/examples/1.2.x/server-kotlin/java/databases/create-boolean-attribute.md +++ b/docs/examples/1.2.x/server-kotlin/java/databases/create-boolean-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/databases/create-collection.md b/docs/examples/1.2.x/server-kotlin/java/databases/create-collection.md index 96b5d9b974..77b5c9f7b7 100644 --- a/docs/examples/1.2.x/server-kotlin/java/databases/create-collection.md +++ b/docs/examples/1.2.x/server-kotlin/java/databases/create-collection.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/databases/create-datetime-attribute.md b/docs/examples/1.2.x/server-kotlin/java/databases/create-datetime-attribute.md index 307a8ffb65..c6d3c6f229 100644 --- a/docs/examples/1.2.x/server-kotlin/java/databases/create-datetime-attribute.md +++ b/docs/examples/1.2.x/server-kotlin/java/databases/create-datetime-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/databases/create-document.md b/docs/examples/1.2.x/server-kotlin/java/databases/create-document.md index 029c3f7a25..ede98c6046 100644 --- a/docs/examples/1.2.x/server-kotlin/java/databases/create-document.md +++ b/docs/examples/1.2.x/server-kotlin/java/databases/create-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/databases/create-email-attribute.md b/docs/examples/1.2.x/server-kotlin/java/databases/create-email-attribute.md index 8774c550b7..0200f11e7d 100644 --- a/docs/examples/1.2.x/server-kotlin/java/databases/create-email-attribute.md +++ b/docs/examples/1.2.x/server-kotlin/java/databases/create-email-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/databases/create-enum-attribute.md b/docs/examples/1.2.x/server-kotlin/java/databases/create-enum-attribute.md index e2cf6a28df..c4ae2933a4 100644 --- a/docs/examples/1.2.x/server-kotlin/java/databases/create-enum-attribute.md +++ b/docs/examples/1.2.x/server-kotlin/java/databases/create-enum-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/databases/create-float-attribute.md b/docs/examples/1.2.x/server-kotlin/java/databases/create-float-attribute.md index 0fba6ac073..ceede982b0 100644 --- a/docs/examples/1.2.x/server-kotlin/java/databases/create-float-attribute.md +++ b/docs/examples/1.2.x/server-kotlin/java/databases/create-float-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/databases/create-index.md b/docs/examples/1.2.x/server-kotlin/java/databases/create-index.md index 5dbdce895b..44eba1df01 100644 --- a/docs/examples/1.2.x/server-kotlin/java/databases/create-index.md +++ b/docs/examples/1.2.x/server-kotlin/java/databases/create-index.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/databases/create-integer-attribute.md b/docs/examples/1.2.x/server-kotlin/java/databases/create-integer-attribute.md index 5446862fdb..b0d8028a62 100644 --- a/docs/examples/1.2.x/server-kotlin/java/databases/create-integer-attribute.md +++ b/docs/examples/1.2.x/server-kotlin/java/databases/create-integer-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/databases/create-ip-attribute.md b/docs/examples/1.2.x/server-kotlin/java/databases/create-ip-attribute.md index fe37da96d5..a8ade8a412 100644 --- a/docs/examples/1.2.x/server-kotlin/java/databases/create-ip-attribute.md +++ b/docs/examples/1.2.x/server-kotlin/java/databases/create-ip-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/databases/create-string-attribute.md b/docs/examples/1.2.x/server-kotlin/java/databases/create-string-attribute.md index a9b1916066..1a767be1d8 100644 --- a/docs/examples/1.2.x/server-kotlin/java/databases/create-string-attribute.md +++ b/docs/examples/1.2.x/server-kotlin/java/databases/create-string-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/databases/create-url-attribute.md b/docs/examples/1.2.x/server-kotlin/java/databases/create-url-attribute.md index 9c504d862b..c1bee6e0ba 100644 --- a/docs/examples/1.2.x/server-kotlin/java/databases/create-url-attribute.md +++ b/docs/examples/1.2.x/server-kotlin/java/databases/create-url-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/databases/create.md b/docs/examples/1.2.x/server-kotlin/java/databases/create.md index cd3cb34db7..e82a65c08a 100644 --- a/docs/examples/1.2.x/server-kotlin/java/databases/create.md +++ b/docs/examples/1.2.x/server-kotlin/java/databases/create.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/databases/delete-attribute.md b/docs/examples/1.2.x/server-kotlin/java/databases/delete-attribute.md index 68aeecd93b..d58ba87b28 100644 --- a/docs/examples/1.2.x/server-kotlin/java/databases/delete-attribute.md +++ b/docs/examples/1.2.x/server-kotlin/java/databases/delete-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/databases/delete-collection.md b/docs/examples/1.2.x/server-kotlin/java/databases/delete-collection.md index cd328b48a6..370781bea9 100644 --- a/docs/examples/1.2.x/server-kotlin/java/databases/delete-collection.md +++ b/docs/examples/1.2.x/server-kotlin/java/databases/delete-collection.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/databases/delete-document.md b/docs/examples/1.2.x/server-kotlin/java/databases/delete-document.md index 4f4c8495c3..46b9edf2f6 100644 --- a/docs/examples/1.2.x/server-kotlin/java/databases/delete-document.md +++ b/docs/examples/1.2.x/server-kotlin/java/databases/delete-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/databases/delete-index.md b/docs/examples/1.2.x/server-kotlin/java/databases/delete-index.md index 640bd0fc31..d633a8a2ae 100644 --- a/docs/examples/1.2.x/server-kotlin/java/databases/delete-index.md +++ b/docs/examples/1.2.x/server-kotlin/java/databases/delete-index.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/databases/delete.md b/docs/examples/1.2.x/server-kotlin/java/databases/delete.md index 897a450fa4..a7fad611e0 100644 --- a/docs/examples/1.2.x/server-kotlin/java/databases/delete.md +++ b/docs/examples/1.2.x/server-kotlin/java/databases/delete.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/databases/get-attribute.md b/docs/examples/1.2.x/server-kotlin/java/databases/get-attribute.md index 79c1d2b2ad..fcea6fefb9 100644 --- a/docs/examples/1.2.x/server-kotlin/java/databases/get-attribute.md +++ b/docs/examples/1.2.x/server-kotlin/java/databases/get-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/databases/get-collection.md b/docs/examples/1.2.x/server-kotlin/java/databases/get-collection.md index 3ecfa0ca80..ce0eea0cb3 100644 --- a/docs/examples/1.2.x/server-kotlin/java/databases/get-collection.md +++ b/docs/examples/1.2.x/server-kotlin/java/databases/get-collection.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/databases/get-document.md b/docs/examples/1.2.x/server-kotlin/java/databases/get-document.md index 0d6acc2c4c..b95cd6cf45 100644 --- a/docs/examples/1.2.x/server-kotlin/java/databases/get-document.md +++ b/docs/examples/1.2.x/server-kotlin/java/databases/get-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/databases/get-index.md b/docs/examples/1.2.x/server-kotlin/java/databases/get-index.md index 2bf036a057..753fef468f 100644 --- a/docs/examples/1.2.x/server-kotlin/java/databases/get-index.md +++ b/docs/examples/1.2.x/server-kotlin/java/databases/get-index.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/databases/get.md b/docs/examples/1.2.x/server-kotlin/java/databases/get.md index 066ec4d262..d4eeb222fd 100644 --- a/docs/examples/1.2.x/server-kotlin/java/databases/get.md +++ b/docs/examples/1.2.x/server-kotlin/java/databases/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/databases/list-attributes.md b/docs/examples/1.2.x/server-kotlin/java/databases/list-attributes.md index aafeca4a83..1d75e81a43 100644 --- a/docs/examples/1.2.x/server-kotlin/java/databases/list-attributes.md +++ b/docs/examples/1.2.x/server-kotlin/java/databases/list-attributes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/databases/list-collections.md b/docs/examples/1.2.x/server-kotlin/java/databases/list-collections.md index 67c343f38a..639a45bc2e 100644 --- a/docs/examples/1.2.x/server-kotlin/java/databases/list-collections.md +++ b/docs/examples/1.2.x/server-kotlin/java/databases/list-collections.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/databases/list-documents.md b/docs/examples/1.2.x/server-kotlin/java/databases/list-documents.md index 7a4a1b70b2..56de64ca4c 100644 --- a/docs/examples/1.2.x/server-kotlin/java/databases/list-documents.md +++ b/docs/examples/1.2.x/server-kotlin/java/databases/list-documents.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/databases/list-indexes.md b/docs/examples/1.2.x/server-kotlin/java/databases/list-indexes.md index 1f5cf0c30f..7ef4b6d434 100644 --- a/docs/examples/1.2.x/server-kotlin/java/databases/list-indexes.md +++ b/docs/examples/1.2.x/server-kotlin/java/databases/list-indexes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/databases/list.md b/docs/examples/1.2.x/server-kotlin/java/databases/list.md index 04f81867f0..b46abf235c 100644 --- a/docs/examples/1.2.x/server-kotlin/java/databases/list.md +++ b/docs/examples/1.2.x/server-kotlin/java/databases/list.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/databases/update-collection.md b/docs/examples/1.2.x/server-kotlin/java/databases/update-collection.md index 3f25c5047e..831193fbf5 100644 --- a/docs/examples/1.2.x/server-kotlin/java/databases/update-collection.md +++ b/docs/examples/1.2.x/server-kotlin/java/databases/update-collection.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/databases/update-document.md b/docs/examples/1.2.x/server-kotlin/java/databases/update-document.md index e9a596d3d4..3975588466 100644 --- a/docs/examples/1.2.x/server-kotlin/java/databases/update-document.md +++ b/docs/examples/1.2.x/server-kotlin/java/databases/update-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/databases/update.md b/docs/examples/1.2.x/server-kotlin/java/databases/update.md index 3f4b4e1933..e5bf2ed66c 100644 --- a/docs/examples/1.2.x/server-kotlin/java/databases/update.md +++ b/docs/examples/1.2.x/server-kotlin/java/databases/update.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/functions/create-build.md b/docs/examples/1.2.x/server-kotlin/java/functions/create-build.md index 10c8d2fc80..5a571f76e8 100644 --- a/docs/examples/1.2.x/server-kotlin/java/functions/create-build.md +++ b/docs/examples/1.2.x/server-kotlin/java/functions/create-build.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/functions/create-deployment.md b/docs/examples/1.2.x/server-kotlin/java/functions/create-deployment.md index ed79e4ecb4..6e11beaf47 100644 --- a/docs/examples/1.2.x/server-kotlin/java/functions/create-deployment.md +++ b/docs/examples/1.2.x/server-kotlin/java/functions/create-deployment.md @@ -4,7 +4,7 @@ import io.appwrite.models.InputFile; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/functions/create-execution.md b/docs/examples/1.2.x/server-kotlin/java/functions/create-execution.md index 315f57d5cb..d53744f70a 100644 --- a/docs/examples/1.2.x/server-kotlin/java/functions/create-execution.md +++ b/docs/examples/1.2.x/server-kotlin/java/functions/create-execution.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/functions/create-variable.md b/docs/examples/1.2.x/server-kotlin/java/functions/create-variable.md index 5e9c5a66bd..3ce9c2d944 100644 --- a/docs/examples/1.2.x/server-kotlin/java/functions/create-variable.md +++ b/docs/examples/1.2.x/server-kotlin/java/functions/create-variable.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/functions/create.md b/docs/examples/1.2.x/server-kotlin/java/functions/create.md index 8603a47aad..e0402a2a3a 100644 --- a/docs/examples/1.2.x/server-kotlin/java/functions/create.md +++ b/docs/examples/1.2.x/server-kotlin/java/functions/create.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/functions/delete-deployment.md b/docs/examples/1.2.x/server-kotlin/java/functions/delete-deployment.md index 703dce63aa..2da778a970 100644 --- a/docs/examples/1.2.x/server-kotlin/java/functions/delete-deployment.md +++ b/docs/examples/1.2.x/server-kotlin/java/functions/delete-deployment.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/functions/delete-variable.md b/docs/examples/1.2.x/server-kotlin/java/functions/delete-variable.md index d36615092d..cbdfabc97b 100644 --- a/docs/examples/1.2.x/server-kotlin/java/functions/delete-variable.md +++ b/docs/examples/1.2.x/server-kotlin/java/functions/delete-variable.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/functions/delete.md b/docs/examples/1.2.x/server-kotlin/java/functions/delete.md index 8f39896411..2f4eb011f1 100644 --- a/docs/examples/1.2.x/server-kotlin/java/functions/delete.md +++ b/docs/examples/1.2.x/server-kotlin/java/functions/delete.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/functions/get-deployment.md b/docs/examples/1.2.x/server-kotlin/java/functions/get-deployment.md index 5b539d2801..54bf0c461a 100644 --- a/docs/examples/1.2.x/server-kotlin/java/functions/get-deployment.md +++ b/docs/examples/1.2.x/server-kotlin/java/functions/get-deployment.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/functions/get-execution.md b/docs/examples/1.2.x/server-kotlin/java/functions/get-execution.md index b1ff9485e8..00bb0a1ab8 100644 --- a/docs/examples/1.2.x/server-kotlin/java/functions/get-execution.md +++ b/docs/examples/1.2.x/server-kotlin/java/functions/get-execution.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/functions/get-variable.md b/docs/examples/1.2.x/server-kotlin/java/functions/get-variable.md index 2be25a5c73..01a0537064 100644 --- a/docs/examples/1.2.x/server-kotlin/java/functions/get-variable.md +++ b/docs/examples/1.2.x/server-kotlin/java/functions/get-variable.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/functions/get.md b/docs/examples/1.2.x/server-kotlin/java/functions/get.md index 8ad5ea3522..f6eb035a3e 100644 --- a/docs/examples/1.2.x/server-kotlin/java/functions/get.md +++ b/docs/examples/1.2.x/server-kotlin/java/functions/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/functions/list-deployments.md b/docs/examples/1.2.x/server-kotlin/java/functions/list-deployments.md index 61f48c88c3..c5a81048ec 100644 --- a/docs/examples/1.2.x/server-kotlin/java/functions/list-deployments.md +++ b/docs/examples/1.2.x/server-kotlin/java/functions/list-deployments.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/functions/list-executions.md b/docs/examples/1.2.x/server-kotlin/java/functions/list-executions.md index 392e9c82c5..f4db7948df 100644 --- a/docs/examples/1.2.x/server-kotlin/java/functions/list-executions.md +++ b/docs/examples/1.2.x/server-kotlin/java/functions/list-executions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/functions/list-runtimes.md b/docs/examples/1.2.x/server-kotlin/java/functions/list-runtimes.md index 46d0446310..968f019f02 100644 --- a/docs/examples/1.2.x/server-kotlin/java/functions/list-runtimes.md +++ b/docs/examples/1.2.x/server-kotlin/java/functions/list-runtimes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/functions/list-variables.md b/docs/examples/1.2.x/server-kotlin/java/functions/list-variables.md index 4fa47e8c57..ad6d522b8f 100644 --- a/docs/examples/1.2.x/server-kotlin/java/functions/list-variables.md +++ b/docs/examples/1.2.x/server-kotlin/java/functions/list-variables.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/functions/list.md b/docs/examples/1.2.x/server-kotlin/java/functions/list.md index 4224cf52b7..253cbafaa1 100644 --- a/docs/examples/1.2.x/server-kotlin/java/functions/list.md +++ b/docs/examples/1.2.x/server-kotlin/java/functions/list.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/functions/update-deployment.md b/docs/examples/1.2.x/server-kotlin/java/functions/update-deployment.md index 2af0637379..9e1db35071 100644 --- a/docs/examples/1.2.x/server-kotlin/java/functions/update-deployment.md +++ b/docs/examples/1.2.x/server-kotlin/java/functions/update-deployment.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/functions/update-variable.md b/docs/examples/1.2.x/server-kotlin/java/functions/update-variable.md index f30bbf8e4e..c841731b53 100644 --- a/docs/examples/1.2.x/server-kotlin/java/functions/update-variable.md +++ b/docs/examples/1.2.x/server-kotlin/java/functions/update-variable.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/functions/update.md b/docs/examples/1.2.x/server-kotlin/java/functions/update.md index 39dc372b61..1f9ed3ec5b 100644 --- a/docs/examples/1.2.x/server-kotlin/java/functions/update.md +++ b/docs/examples/1.2.x/server-kotlin/java/functions/update.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/graphql/63a08ed7b8f61.md b/docs/examples/1.2.x/server-kotlin/java/graphql/63a08ed7b8f61.md index b2d941d852..d81c9e5f7c 100644 --- a/docs/examples/1.2.x/server-kotlin/java/graphql/63a08ed7b8f61.md +++ b/docs/examples/1.2.x/server-kotlin/java/graphql/63a08ed7b8f61.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Graphql; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/graphql/get.md b/docs/examples/1.2.x/server-kotlin/java/graphql/get.md index 45f67ab5ba..421a8da328 100644 --- a/docs/examples/1.2.x/server-kotlin/java/graphql/get.md +++ b/docs/examples/1.2.x/server-kotlin/java/graphql/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Graphql; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/graphql/mutation.md b/docs/examples/1.2.x/server-kotlin/java/graphql/mutation.md index d689c62e60..9e93425d24 100644 --- a/docs/examples/1.2.x/server-kotlin/java/graphql/mutation.md +++ b/docs/examples/1.2.x/server-kotlin/java/graphql/mutation.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Graphql; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/graphql/query.md b/docs/examples/1.2.x/server-kotlin/java/graphql/query.md index e4b8693b4f..4ce7a5e66a 100644 --- a/docs/examples/1.2.x/server-kotlin/java/graphql/query.md +++ b/docs/examples/1.2.x/server-kotlin/java/graphql/query.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Graphql; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/health/get-antivirus.md b/docs/examples/1.2.x/server-kotlin/java/health/get-antivirus.md index 334563fd1c..0e08140132 100644 --- a/docs/examples/1.2.x/server-kotlin/java/health/get-antivirus.md +++ b/docs/examples/1.2.x/server-kotlin/java/health/get-antivirus.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/health/get-cache.md b/docs/examples/1.2.x/server-kotlin/java/health/get-cache.md index 9a2981253a..4c53f7a35b 100644 --- a/docs/examples/1.2.x/server-kotlin/java/health/get-cache.md +++ b/docs/examples/1.2.x/server-kotlin/java/health/get-cache.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/health/get-d-b.md b/docs/examples/1.2.x/server-kotlin/java/health/get-d-b.md index 22a5a6b5bb..9958d8bbdc 100644 --- a/docs/examples/1.2.x/server-kotlin/java/health/get-d-b.md +++ b/docs/examples/1.2.x/server-kotlin/java/health/get-d-b.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/health/get-queue-certificates.md b/docs/examples/1.2.x/server-kotlin/java/health/get-queue-certificates.md index a0a3a22f8a..7f4c32f49b 100644 --- a/docs/examples/1.2.x/server-kotlin/java/health/get-queue-certificates.md +++ b/docs/examples/1.2.x/server-kotlin/java/health/get-queue-certificates.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/health/get-queue-functions.md b/docs/examples/1.2.x/server-kotlin/java/health/get-queue-functions.md index 54b425f63c..556c3e73e4 100644 --- a/docs/examples/1.2.x/server-kotlin/java/health/get-queue-functions.md +++ b/docs/examples/1.2.x/server-kotlin/java/health/get-queue-functions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/health/get-queue-logs.md b/docs/examples/1.2.x/server-kotlin/java/health/get-queue-logs.md index 371c98f06d..075eebf85d 100644 --- a/docs/examples/1.2.x/server-kotlin/java/health/get-queue-logs.md +++ b/docs/examples/1.2.x/server-kotlin/java/health/get-queue-logs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/health/get-queue-webhooks.md b/docs/examples/1.2.x/server-kotlin/java/health/get-queue-webhooks.md index cbd6919d72..344945db0a 100644 --- a/docs/examples/1.2.x/server-kotlin/java/health/get-queue-webhooks.md +++ b/docs/examples/1.2.x/server-kotlin/java/health/get-queue-webhooks.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/health/get-storage-local.md b/docs/examples/1.2.x/server-kotlin/java/health/get-storage-local.md index a57f34520d..527499f94e 100644 --- a/docs/examples/1.2.x/server-kotlin/java/health/get-storage-local.md +++ b/docs/examples/1.2.x/server-kotlin/java/health/get-storage-local.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/health/get-time.md b/docs/examples/1.2.x/server-kotlin/java/health/get-time.md index 36b276b4d7..0f78d41247 100644 --- a/docs/examples/1.2.x/server-kotlin/java/health/get-time.md +++ b/docs/examples/1.2.x/server-kotlin/java/health/get-time.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/health/get.md b/docs/examples/1.2.x/server-kotlin/java/health/get.md index 59badb0543..a14a4b5aec 100644 --- a/docs/examples/1.2.x/server-kotlin/java/health/get.md +++ b/docs/examples/1.2.x/server-kotlin/java/health/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/locale/get.md b/docs/examples/1.2.x/server-kotlin/java/locale/get.md index 4fb6be9416..22137f75b7 100644 --- a/docs/examples/1.2.x/server-kotlin/java/locale/get.md +++ b/docs/examples/1.2.x/server-kotlin/java/locale/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/locale/list-continents.md b/docs/examples/1.2.x/server-kotlin/java/locale/list-continents.md index 661fcc3583..3933873e37 100644 --- a/docs/examples/1.2.x/server-kotlin/java/locale/list-continents.md +++ b/docs/examples/1.2.x/server-kotlin/java/locale/list-continents.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/locale/list-countries-e-u.md b/docs/examples/1.2.x/server-kotlin/java/locale/list-countries-e-u.md index 6164ca02d2..9cb744abcb 100644 --- a/docs/examples/1.2.x/server-kotlin/java/locale/list-countries-e-u.md +++ b/docs/examples/1.2.x/server-kotlin/java/locale/list-countries-e-u.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/locale/list-countries-phones.md b/docs/examples/1.2.x/server-kotlin/java/locale/list-countries-phones.md index 2cb41c19f2..c81457dbbf 100644 --- a/docs/examples/1.2.x/server-kotlin/java/locale/list-countries-phones.md +++ b/docs/examples/1.2.x/server-kotlin/java/locale/list-countries-phones.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/locale/list-countries.md b/docs/examples/1.2.x/server-kotlin/java/locale/list-countries.md index 74d3b5d402..491b654ede 100644 --- a/docs/examples/1.2.x/server-kotlin/java/locale/list-countries.md +++ b/docs/examples/1.2.x/server-kotlin/java/locale/list-countries.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/locale/list-currencies.md b/docs/examples/1.2.x/server-kotlin/java/locale/list-currencies.md index 54a0e4de40..a4c49e3568 100644 --- a/docs/examples/1.2.x/server-kotlin/java/locale/list-currencies.md +++ b/docs/examples/1.2.x/server-kotlin/java/locale/list-currencies.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/locale/list-languages.md b/docs/examples/1.2.x/server-kotlin/java/locale/list-languages.md index 54976c5c08..4f09bab65c 100644 --- a/docs/examples/1.2.x/server-kotlin/java/locale/list-languages.md +++ b/docs/examples/1.2.x/server-kotlin/java/locale/list-languages.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/storage/create-bucket.md b/docs/examples/1.2.x/server-kotlin/java/storage/create-bucket.md index c9ebc9178c..268fa1563e 100644 --- a/docs/examples/1.2.x/server-kotlin/java/storage/create-bucket.md +++ b/docs/examples/1.2.x/server-kotlin/java/storage/create-bucket.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/storage/create-file.md b/docs/examples/1.2.x/server-kotlin/java/storage/create-file.md index c83557bf28..e6cdf74852 100644 --- a/docs/examples/1.2.x/server-kotlin/java/storage/create-file.md +++ b/docs/examples/1.2.x/server-kotlin/java/storage/create-file.md @@ -4,7 +4,7 @@ import io.appwrite.models.InputFile; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/storage/delete-bucket.md b/docs/examples/1.2.x/server-kotlin/java/storage/delete-bucket.md index f26e9ee5a1..c7844f9e90 100644 --- a/docs/examples/1.2.x/server-kotlin/java/storage/delete-bucket.md +++ b/docs/examples/1.2.x/server-kotlin/java/storage/delete-bucket.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/storage/delete-file.md b/docs/examples/1.2.x/server-kotlin/java/storage/delete-file.md index eb00b9706c..b9095c139b 100644 --- a/docs/examples/1.2.x/server-kotlin/java/storage/delete-file.md +++ b/docs/examples/1.2.x/server-kotlin/java/storage/delete-file.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/storage/get-bucket.md b/docs/examples/1.2.x/server-kotlin/java/storage/get-bucket.md index 2157dd7424..f44d23fe90 100644 --- a/docs/examples/1.2.x/server-kotlin/java/storage/get-bucket.md +++ b/docs/examples/1.2.x/server-kotlin/java/storage/get-bucket.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/storage/get-file-download.md b/docs/examples/1.2.x/server-kotlin/java/storage/get-file-download.md index 8eef7e347e..0b1207a017 100644 --- a/docs/examples/1.2.x/server-kotlin/java/storage/get-file-download.md +++ b/docs/examples/1.2.x/server-kotlin/java/storage/get-file-download.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/storage/get-file-preview.md b/docs/examples/1.2.x/server-kotlin/java/storage/get-file-preview.md index 275e803000..1356607a32 100644 --- a/docs/examples/1.2.x/server-kotlin/java/storage/get-file-preview.md +++ b/docs/examples/1.2.x/server-kotlin/java/storage/get-file-preview.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/storage/get-file-view.md b/docs/examples/1.2.x/server-kotlin/java/storage/get-file-view.md index adc0407c35..d5aa220f23 100644 --- a/docs/examples/1.2.x/server-kotlin/java/storage/get-file-view.md +++ b/docs/examples/1.2.x/server-kotlin/java/storage/get-file-view.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/storage/get-file.md b/docs/examples/1.2.x/server-kotlin/java/storage/get-file.md index 4cb6fe6db3..0bd4f682b1 100644 --- a/docs/examples/1.2.x/server-kotlin/java/storage/get-file.md +++ b/docs/examples/1.2.x/server-kotlin/java/storage/get-file.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/storage/list-buckets.md b/docs/examples/1.2.x/server-kotlin/java/storage/list-buckets.md index 49c29cad2d..e3a69b43d9 100644 --- a/docs/examples/1.2.x/server-kotlin/java/storage/list-buckets.md +++ b/docs/examples/1.2.x/server-kotlin/java/storage/list-buckets.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/storage/list-files.md b/docs/examples/1.2.x/server-kotlin/java/storage/list-files.md index 59719e530f..dc87428ebb 100644 --- a/docs/examples/1.2.x/server-kotlin/java/storage/list-files.md +++ b/docs/examples/1.2.x/server-kotlin/java/storage/list-files.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/storage/update-bucket.md b/docs/examples/1.2.x/server-kotlin/java/storage/update-bucket.md index 05483ea725..08c77804e2 100644 --- a/docs/examples/1.2.x/server-kotlin/java/storage/update-bucket.md +++ b/docs/examples/1.2.x/server-kotlin/java/storage/update-bucket.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/storage/update-file.md b/docs/examples/1.2.x/server-kotlin/java/storage/update-file.md index 05385c2b88..d2a1b6c427 100644 --- a/docs/examples/1.2.x/server-kotlin/java/storage/update-file.md +++ b/docs/examples/1.2.x/server-kotlin/java/storage/update-file.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/teams/create-membership.md b/docs/examples/1.2.x/server-kotlin/java/teams/create-membership.md index 62239ec9c1..126a53ac9e 100644 --- a/docs/examples/1.2.x/server-kotlin/java/teams/create-membership.md +++ b/docs/examples/1.2.x/server-kotlin/java/teams/create-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/teams/create.md b/docs/examples/1.2.x/server-kotlin/java/teams/create.md index 4f3be33609..75d13b6106 100644 --- a/docs/examples/1.2.x/server-kotlin/java/teams/create.md +++ b/docs/examples/1.2.x/server-kotlin/java/teams/create.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/teams/delete-membership.md b/docs/examples/1.2.x/server-kotlin/java/teams/delete-membership.md index e82ab293be..26d0fba99c 100644 --- a/docs/examples/1.2.x/server-kotlin/java/teams/delete-membership.md +++ b/docs/examples/1.2.x/server-kotlin/java/teams/delete-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/teams/delete.md b/docs/examples/1.2.x/server-kotlin/java/teams/delete.md index fa805ebd4d..7699d575bf 100644 --- a/docs/examples/1.2.x/server-kotlin/java/teams/delete.md +++ b/docs/examples/1.2.x/server-kotlin/java/teams/delete.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/teams/get-membership.md b/docs/examples/1.2.x/server-kotlin/java/teams/get-membership.md index fc00d43873..e901b4438e 100644 --- a/docs/examples/1.2.x/server-kotlin/java/teams/get-membership.md +++ b/docs/examples/1.2.x/server-kotlin/java/teams/get-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/teams/get.md b/docs/examples/1.2.x/server-kotlin/java/teams/get.md index 6be034b418..ef9c02df2f 100644 --- a/docs/examples/1.2.x/server-kotlin/java/teams/get.md +++ b/docs/examples/1.2.x/server-kotlin/java/teams/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/teams/list-memberships.md b/docs/examples/1.2.x/server-kotlin/java/teams/list-memberships.md index 0b9055f816..8abf464490 100644 --- a/docs/examples/1.2.x/server-kotlin/java/teams/list-memberships.md +++ b/docs/examples/1.2.x/server-kotlin/java/teams/list-memberships.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/teams/list.md b/docs/examples/1.2.x/server-kotlin/java/teams/list.md index 22a9d51d5f..5f0540e6c4 100644 --- a/docs/examples/1.2.x/server-kotlin/java/teams/list.md +++ b/docs/examples/1.2.x/server-kotlin/java/teams/list.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/teams/update-membership-roles.md b/docs/examples/1.2.x/server-kotlin/java/teams/update-membership-roles.md index 291417da5a..c485c0c0e6 100644 --- a/docs/examples/1.2.x/server-kotlin/java/teams/update-membership-roles.md +++ b/docs/examples/1.2.x/server-kotlin/java/teams/update-membership-roles.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/teams/update-membership-status.md b/docs/examples/1.2.x/server-kotlin/java/teams/update-membership-status.md index 64e69663d4..54ea987715 100644 --- a/docs/examples/1.2.x/server-kotlin/java/teams/update-membership-status.md +++ b/docs/examples/1.2.x/server-kotlin/java/teams/update-membership-status.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/java/teams/update.md b/docs/examples/1.2.x/server-kotlin/java/teams/update.md index b0f2e81635..ed97a24e48 100644 --- a/docs/examples/1.2.x/server-kotlin/java/teams/update.md +++ b/docs/examples/1.2.x/server-kotlin/java/teams/update.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/users/create-argon2user.md b/docs/examples/1.2.x/server-kotlin/java/users/create-argon2user.md index 47ac52c086..0f1faf77e5 100644 --- a/docs/examples/1.2.x/server-kotlin/java/users/create-argon2user.md +++ b/docs/examples/1.2.x/server-kotlin/java/users/create-argon2user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/users/create-bcrypt-user.md b/docs/examples/1.2.x/server-kotlin/java/users/create-bcrypt-user.md index 91989dff0f..3c34190dd3 100644 --- a/docs/examples/1.2.x/server-kotlin/java/users/create-bcrypt-user.md +++ b/docs/examples/1.2.x/server-kotlin/java/users/create-bcrypt-user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/users/create-m-d5user.md b/docs/examples/1.2.x/server-kotlin/java/users/create-m-d5user.md index 35de18d1a3..be38f913a6 100644 --- a/docs/examples/1.2.x/server-kotlin/java/users/create-m-d5user.md +++ b/docs/examples/1.2.x/server-kotlin/java/users/create-m-d5user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/users/create-p-h-pass-user.md b/docs/examples/1.2.x/server-kotlin/java/users/create-p-h-pass-user.md index 7501f02f2f..718f4100eb 100644 --- a/docs/examples/1.2.x/server-kotlin/java/users/create-p-h-pass-user.md +++ b/docs/examples/1.2.x/server-kotlin/java/users/create-p-h-pass-user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/users/create-s-h-a-user.md b/docs/examples/1.2.x/server-kotlin/java/users/create-s-h-a-user.md index ae26de5543..e67c874542 100644 --- a/docs/examples/1.2.x/server-kotlin/java/users/create-s-h-a-user.md +++ b/docs/examples/1.2.x/server-kotlin/java/users/create-s-h-a-user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/users/create-scrypt-modified-user.md b/docs/examples/1.2.x/server-kotlin/java/users/create-scrypt-modified-user.md index da0936a01b..7a665a7c94 100644 --- a/docs/examples/1.2.x/server-kotlin/java/users/create-scrypt-modified-user.md +++ b/docs/examples/1.2.x/server-kotlin/java/users/create-scrypt-modified-user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/users/create-scrypt-user.md b/docs/examples/1.2.x/server-kotlin/java/users/create-scrypt-user.md index 9b48e06fbd..9a99af8410 100644 --- a/docs/examples/1.2.x/server-kotlin/java/users/create-scrypt-user.md +++ b/docs/examples/1.2.x/server-kotlin/java/users/create-scrypt-user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/users/create.md b/docs/examples/1.2.x/server-kotlin/java/users/create.md index 97aad15302..c9b3c8558e 100644 --- a/docs/examples/1.2.x/server-kotlin/java/users/create.md +++ b/docs/examples/1.2.x/server-kotlin/java/users/create.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/users/delete-session.md b/docs/examples/1.2.x/server-kotlin/java/users/delete-session.md index 8415328406..dfde18e516 100644 --- a/docs/examples/1.2.x/server-kotlin/java/users/delete-session.md +++ b/docs/examples/1.2.x/server-kotlin/java/users/delete-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/users/delete-sessions.md b/docs/examples/1.2.x/server-kotlin/java/users/delete-sessions.md index 9a2284c493..45ed56eb53 100644 --- a/docs/examples/1.2.x/server-kotlin/java/users/delete-sessions.md +++ b/docs/examples/1.2.x/server-kotlin/java/users/delete-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/users/delete.md b/docs/examples/1.2.x/server-kotlin/java/users/delete.md index 893a4d3794..7120f8035c 100644 --- a/docs/examples/1.2.x/server-kotlin/java/users/delete.md +++ b/docs/examples/1.2.x/server-kotlin/java/users/delete.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/users/get-prefs.md b/docs/examples/1.2.x/server-kotlin/java/users/get-prefs.md index 664843e32c..2c3190194a 100644 --- a/docs/examples/1.2.x/server-kotlin/java/users/get-prefs.md +++ b/docs/examples/1.2.x/server-kotlin/java/users/get-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/users/get.md b/docs/examples/1.2.x/server-kotlin/java/users/get.md index 1be96aee11..43d32f8d1a 100644 --- a/docs/examples/1.2.x/server-kotlin/java/users/get.md +++ b/docs/examples/1.2.x/server-kotlin/java/users/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/users/list-logs.md b/docs/examples/1.2.x/server-kotlin/java/users/list-logs.md index 08ace35a19..df4964211c 100644 --- a/docs/examples/1.2.x/server-kotlin/java/users/list-logs.md +++ b/docs/examples/1.2.x/server-kotlin/java/users/list-logs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/users/list-memberships.md b/docs/examples/1.2.x/server-kotlin/java/users/list-memberships.md index 503dbcb10a..89c90c8cc8 100644 --- a/docs/examples/1.2.x/server-kotlin/java/users/list-memberships.md +++ b/docs/examples/1.2.x/server-kotlin/java/users/list-memberships.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/users/list-sessions.md b/docs/examples/1.2.x/server-kotlin/java/users/list-sessions.md index efe091fe74..8ea8833c2e 100644 --- a/docs/examples/1.2.x/server-kotlin/java/users/list-sessions.md +++ b/docs/examples/1.2.x/server-kotlin/java/users/list-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/users/list.md b/docs/examples/1.2.x/server-kotlin/java/users/list.md index d591bce79e..0ca7928061 100644 --- a/docs/examples/1.2.x/server-kotlin/java/users/list.md +++ b/docs/examples/1.2.x/server-kotlin/java/users/list.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/users/update-email-verification.md b/docs/examples/1.2.x/server-kotlin/java/users/update-email-verification.md index 3d6d205bce..91b989b668 100644 --- a/docs/examples/1.2.x/server-kotlin/java/users/update-email-verification.md +++ b/docs/examples/1.2.x/server-kotlin/java/users/update-email-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/users/update-email.md b/docs/examples/1.2.x/server-kotlin/java/users/update-email.md index d0e9b17c1d..2d29d4cab1 100644 --- a/docs/examples/1.2.x/server-kotlin/java/users/update-email.md +++ b/docs/examples/1.2.x/server-kotlin/java/users/update-email.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/users/update-name.md b/docs/examples/1.2.x/server-kotlin/java/users/update-name.md index e16f539bdc..9df5a00fd3 100644 --- a/docs/examples/1.2.x/server-kotlin/java/users/update-name.md +++ b/docs/examples/1.2.x/server-kotlin/java/users/update-name.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/users/update-password.md b/docs/examples/1.2.x/server-kotlin/java/users/update-password.md index 07a2741ff4..77d39643b9 100644 --- a/docs/examples/1.2.x/server-kotlin/java/users/update-password.md +++ b/docs/examples/1.2.x/server-kotlin/java/users/update-password.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/users/update-phone-verification.md b/docs/examples/1.2.x/server-kotlin/java/users/update-phone-verification.md index 8c9a26d609..ac7796c041 100644 --- a/docs/examples/1.2.x/server-kotlin/java/users/update-phone-verification.md +++ b/docs/examples/1.2.x/server-kotlin/java/users/update-phone-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/users/update-phone.md b/docs/examples/1.2.x/server-kotlin/java/users/update-phone.md index 4a2accb793..007d78dfd3 100644 --- a/docs/examples/1.2.x/server-kotlin/java/users/update-phone.md +++ b/docs/examples/1.2.x/server-kotlin/java/users/update-phone.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/users/update-prefs.md b/docs/examples/1.2.x/server-kotlin/java/users/update-prefs.md index b12a5d8e4f..655ab79f5b 100644 --- a/docs/examples/1.2.x/server-kotlin/java/users/update-prefs.md +++ b/docs/examples/1.2.x/server-kotlin/java/users/update-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/java/users/update-status.md b/docs/examples/1.2.x/server-kotlin/java/users/update-status.md index 012142cad7..d4c753e8d8 100644 --- a/docs/examples/1.2.x/server-kotlin/java/users/update-status.md +++ b/docs/examples/1.2.x/server-kotlin/java/users/update-status.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/account/create-phone-verification.md b/docs/examples/1.2.x/server-kotlin/kotlin/account/create-phone-verification.md index e18d4ce13b..9af377fed5 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/account/create-phone-verification.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/account/create-phone-verification.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/account/create-recovery.md b/docs/examples/1.2.x/server-kotlin/kotlin/account/create-recovery.md index a219cb8196..5a207d31f2 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/account/create-recovery.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/account/create-recovery.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/account/create-verification.md b/docs/examples/1.2.x/server-kotlin/kotlin/account/create-verification.md index 33846f1dba..6ba8071254 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/account/create-verification.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/account/create-verification.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/account/delete-session.md b/docs/examples/1.2.x/server-kotlin/kotlin/account/delete-session.md index 60aa4f2604..76e71066c5 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/account/delete-session.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/account/delete-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/account/delete-sessions.md b/docs/examples/1.2.x/server-kotlin/kotlin/account/delete-sessions.md index a16622a526..ac82578c8e 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/account/delete-sessions.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/account/delete-sessions.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/account/get-prefs.md b/docs/examples/1.2.x/server-kotlin/kotlin/account/get-prefs.md index dbbba1d98f..eba56b21df 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/account/get-prefs.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/account/get-prefs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/account/get-session.md b/docs/examples/1.2.x/server-kotlin/kotlin/account/get-session.md index 07861109b6..98b112b912 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/account/get-session.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/account/get-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/account/get.md b/docs/examples/1.2.x/server-kotlin/kotlin/account/get.md index 1fb002ae24..95f5490652 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/account/get.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/account/get.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/account/list-logs.md b/docs/examples/1.2.x/server-kotlin/kotlin/account/list-logs.md index daddd75843..45ba397f94 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/account/list-logs.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/account/list-logs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/account/list-sessions.md b/docs/examples/1.2.x/server-kotlin/kotlin/account/list-sessions.md index 132a5da23b..6420e6afdb 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/account/list-sessions.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/account/list-sessions.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/account/update-email.md b/docs/examples/1.2.x/server-kotlin/kotlin/account/update-email.md index 1127bbc2b2..0c9216f923 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/account/update-email.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/account/update-email.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/account/update-name.md b/docs/examples/1.2.x/server-kotlin/kotlin/account/update-name.md index 3de89a503e..e5fb2264c4 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/account/update-name.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/account/update-name.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/account/update-password.md b/docs/examples/1.2.x/server-kotlin/kotlin/account/update-password.md index e8238b2825..f4b9f657ea 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/account/update-password.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/account/update-password.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/account/update-phone-verification.md b/docs/examples/1.2.x/server-kotlin/kotlin/account/update-phone-verification.md index 0ed51d30c2..7e0bb4905c 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/account/update-phone-verification.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/account/update-phone-verification.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/account/update-phone.md b/docs/examples/1.2.x/server-kotlin/kotlin/account/update-phone.md index 9c823bb6ac..334f0fe172 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/account/update-phone.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/account/update-phone.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/account/update-prefs.md b/docs/examples/1.2.x/server-kotlin/kotlin/account/update-prefs.md index 6226269a1f..542ddcc739 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/account/update-prefs.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/account/update-prefs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/account/update-recovery.md b/docs/examples/1.2.x/server-kotlin/kotlin/account/update-recovery.md index 1b676c1ad5..d0b04380e2 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/account/update-recovery.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/account/update-recovery.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/account/update-session.md b/docs/examples/1.2.x/server-kotlin/kotlin/account/update-session.md index bd3d28e3b8..61a3289047 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/account/update-session.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/account/update-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/account/update-status.md b/docs/examples/1.2.x/server-kotlin/kotlin/account/update-status.md index 3ed0627906..4f6562528d 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/account/update-status.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/account/update-status.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/account/update-verification.md b/docs/examples/1.2.x/server-kotlin/kotlin/account/update-verification.md index e73e555c60..288750a471 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/account/update-verification.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/account/update-verification.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/avatars/get-browser.md b/docs/examples/1.2.x/server-kotlin/kotlin/avatars/get-browser.md index e9f6eb2919..7dddeea92c 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/avatars/get-browser.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/avatars/get-browser.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/avatars/get-credit-card.md b/docs/examples/1.2.x/server-kotlin/kotlin/avatars/get-credit-card.md index c3413ac644..3c56eb7ca9 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/avatars/get-credit-card.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/avatars/get-credit-card.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/avatars/get-favicon.md b/docs/examples/1.2.x/server-kotlin/kotlin/avatars/get-favicon.md index cd1ea0c7b3..2e27b70a01 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/avatars/get-favicon.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/avatars/get-favicon.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/avatars/get-flag.md b/docs/examples/1.2.x/server-kotlin/kotlin/avatars/get-flag.md index a81c59ae60..e095c7b602 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/avatars/get-flag.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/avatars/get-flag.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/avatars/get-image.md b/docs/examples/1.2.x/server-kotlin/kotlin/avatars/get-image.md index 09cacde6f8..fd2e0c6149 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/avatars/get-image.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/avatars/get-image.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/avatars/get-initials.md b/docs/examples/1.2.x/server-kotlin/kotlin/avatars/get-initials.md index ba46fb0d29..c42703969d 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/avatars/get-initials.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/avatars/get-initials.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/avatars/get-q-r.md b/docs/examples/1.2.x/server-kotlin/kotlin/avatars/get-q-r.md index c43aabcfe3..2fc413de2b 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/avatars/get-q-r.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/avatars/get-q-r.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-boolean-attribute.md b/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-boolean-attribute.md index 22de12384d..5a4e85568e 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-boolean-attribute.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-boolean-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-collection.md b/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-collection.md index 9ba70cf2fe..c48d2d49a2 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-collection.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-collection.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-datetime-attribute.md b/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-datetime-attribute.md index d410244ec8..9fe6efab3a 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-datetime-attribute.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-datetime-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-document.md b/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-document.md index 95e5977b12..58bc103401 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-document.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-document.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-email-attribute.md b/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-email-attribute.md index 292f31f525..081557e950 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-email-attribute.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-email-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-enum-attribute.md b/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-enum-attribute.md index 99008a479b..e951b71b14 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-enum-attribute.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-enum-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-float-attribute.md b/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-float-attribute.md index 6814962502..c26e5d37cc 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-float-attribute.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-float-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-index.md b/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-index.md index 42b3dbe7e1..d635002a12 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-index.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-index.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-integer-attribute.md b/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-integer-attribute.md index 57b2ff66a7..eafa05417a 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-integer-attribute.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-integer-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-ip-attribute.md b/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-ip-attribute.md index f941b82c9e..daa18f083b 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-ip-attribute.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-ip-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-string-attribute.md b/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-string-attribute.md index c5d3d52853..9993048477 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-string-attribute.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-string-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-url-attribute.md b/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-url-attribute.md index 8cd0731da1..238c73b7cc 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-url-attribute.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/databases/create-url-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/databases/create.md b/docs/examples/1.2.x/server-kotlin/kotlin/databases/create.md index b70e39e4e9..15c83e2cb8 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/databases/create.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/databases/create.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/databases/delete-attribute.md b/docs/examples/1.2.x/server-kotlin/kotlin/databases/delete-attribute.md index fef7a45cc4..9dddae53fc 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/databases/delete-attribute.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/databases/delete-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/databases/delete-collection.md b/docs/examples/1.2.x/server-kotlin/kotlin/databases/delete-collection.md index 676359331a..4fb66423e0 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/databases/delete-collection.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/databases/delete-collection.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/databases/delete-document.md b/docs/examples/1.2.x/server-kotlin/kotlin/databases/delete-document.md index 2bf047fe4e..361218721b 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/databases/delete-document.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/databases/delete-document.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/databases/delete-index.md b/docs/examples/1.2.x/server-kotlin/kotlin/databases/delete-index.md index 59bd149224..e54aa39897 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/databases/delete-index.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/databases/delete-index.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/databases/delete.md b/docs/examples/1.2.x/server-kotlin/kotlin/databases/delete.md index f927901f09..34d855ce23 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/databases/delete.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/databases/delete.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/databases/get-attribute.md b/docs/examples/1.2.x/server-kotlin/kotlin/databases/get-attribute.md index 4bba2dfa16..d3840b13b5 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/databases/get-attribute.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/databases/get-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/databases/get-collection.md b/docs/examples/1.2.x/server-kotlin/kotlin/databases/get-collection.md index 76ff9a1962..e7127649cd 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/databases/get-collection.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/databases/get-collection.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/databases/get-document.md b/docs/examples/1.2.x/server-kotlin/kotlin/databases/get-document.md index 1f9d1a86a0..256dba680e 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/databases/get-document.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/databases/get-document.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/databases/get-index.md b/docs/examples/1.2.x/server-kotlin/kotlin/databases/get-index.md index 2d588dee73..d91f52b111 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/databases/get-index.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/databases/get-index.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/databases/get.md b/docs/examples/1.2.x/server-kotlin/kotlin/databases/get.md index 5584d4dd87..1453534929 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/databases/get.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/databases/get.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/databases/list-attributes.md b/docs/examples/1.2.x/server-kotlin/kotlin/databases/list-attributes.md index c0a5da5339..df87099247 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/databases/list-attributes.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/databases/list-attributes.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/databases/list-collections.md b/docs/examples/1.2.x/server-kotlin/kotlin/databases/list-collections.md index f563c431a7..8035796f10 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/databases/list-collections.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/databases/list-collections.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/databases/list-documents.md b/docs/examples/1.2.x/server-kotlin/kotlin/databases/list-documents.md index c081013fa0..df52ef1ab6 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/databases/list-documents.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/databases/list-documents.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/databases/list-indexes.md b/docs/examples/1.2.x/server-kotlin/kotlin/databases/list-indexes.md index e8f659ebf3..a51586d4c3 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/databases/list-indexes.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/databases/list-indexes.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/databases/list.md b/docs/examples/1.2.x/server-kotlin/kotlin/databases/list.md index 6ffece0bd5..d8c0090988 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/databases/list.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/databases/list.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/databases/update-collection.md b/docs/examples/1.2.x/server-kotlin/kotlin/databases/update-collection.md index f6ccffef9d..57aba21372 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/databases/update-collection.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/databases/update-collection.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/databases/update-document.md b/docs/examples/1.2.x/server-kotlin/kotlin/databases/update-document.md index 10ff4c4b4c..4abc8c5e8e 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/databases/update-document.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/databases/update-document.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/databases/update.md b/docs/examples/1.2.x/server-kotlin/kotlin/databases/update.md index d465a8dc3f..a8c9dce5f5 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/databases/update.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/databases/update.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/functions/create-build.md b/docs/examples/1.2.x/server-kotlin/kotlin/functions/create-build.md index 62f9d1addd..fafed65c35 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/functions/create-build.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/functions/create-build.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/functions/create-deployment.md b/docs/examples/1.2.x/server-kotlin/kotlin/functions/create-deployment.md index c94c3fa5b8..695fdc7f29 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/functions/create-deployment.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/functions/create-deployment.md @@ -3,7 +3,7 @@ import io.appwrite.models.InputFile import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/functions/create-execution.md b/docs/examples/1.2.x/server-kotlin/kotlin/functions/create-execution.md index 62bce1fde0..13f476127f 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/functions/create-execution.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/functions/create-execution.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/functions/create-variable.md b/docs/examples/1.2.x/server-kotlin/kotlin/functions/create-variable.md index 6b23614d11..5b8bd6c633 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/functions/create-variable.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/functions/create-variable.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/functions/create.md b/docs/examples/1.2.x/server-kotlin/kotlin/functions/create.md index 7b1ff6b35c..062f7d3e39 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/functions/create.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/functions/create.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/functions/delete-deployment.md b/docs/examples/1.2.x/server-kotlin/kotlin/functions/delete-deployment.md index 5187ba4419..57728a9ddd 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/functions/delete-deployment.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/functions/delete-deployment.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/functions/delete-variable.md b/docs/examples/1.2.x/server-kotlin/kotlin/functions/delete-variable.md index f0fe4a3d86..9d3c95e173 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/functions/delete-variable.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/functions/delete-variable.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/functions/delete.md b/docs/examples/1.2.x/server-kotlin/kotlin/functions/delete.md index f12095b5a8..b5a1322380 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/functions/delete.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/functions/delete.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/functions/get-deployment.md b/docs/examples/1.2.x/server-kotlin/kotlin/functions/get-deployment.md index 4653e61f0e..bd21f50245 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/functions/get-deployment.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/functions/get-deployment.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/functions/get-execution.md b/docs/examples/1.2.x/server-kotlin/kotlin/functions/get-execution.md index 929a003a18..517a3499af 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/functions/get-execution.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/functions/get-execution.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/functions/get-variable.md b/docs/examples/1.2.x/server-kotlin/kotlin/functions/get-variable.md index ce42276921..ee73353aa0 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/functions/get-variable.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/functions/get-variable.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/functions/get.md b/docs/examples/1.2.x/server-kotlin/kotlin/functions/get.md index 9261ab897a..4c47e68d91 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/functions/get.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/functions/get.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/functions/list-deployments.md b/docs/examples/1.2.x/server-kotlin/kotlin/functions/list-deployments.md index 3ec2c810ee..c9cfa4be08 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/functions/list-deployments.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/functions/list-deployments.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/functions/list-executions.md b/docs/examples/1.2.x/server-kotlin/kotlin/functions/list-executions.md index 5378c79dbc..06f1bdfdf1 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/functions/list-executions.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/functions/list-executions.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/functions/list-runtimes.md b/docs/examples/1.2.x/server-kotlin/kotlin/functions/list-runtimes.md index 0e777cd1fe..abe677c034 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/functions/list-runtimes.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/functions/list-runtimes.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/functions/list-variables.md b/docs/examples/1.2.x/server-kotlin/kotlin/functions/list-variables.md index 10e74534f4..729ade920c 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/functions/list-variables.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/functions/list-variables.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/functions/list.md b/docs/examples/1.2.x/server-kotlin/kotlin/functions/list.md index a5f4f0d325..6aeafdc258 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/functions/list.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/functions/list.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/functions/update-deployment.md b/docs/examples/1.2.x/server-kotlin/kotlin/functions/update-deployment.md index 14b147384f..8c0a93fc7a 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/functions/update-deployment.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/functions/update-deployment.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/functions/update-variable.md b/docs/examples/1.2.x/server-kotlin/kotlin/functions/update-variable.md index 1e0f3bbe5f..e9990d56d1 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/functions/update-variable.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/functions/update-variable.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/functions/update.md b/docs/examples/1.2.x/server-kotlin/kotlin/functions/update.md index bfb0edf89e..ea2e059750 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/functions/update.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/functions/update.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/graphql/63a08ed7b8f61.md b/docs/examples/1.2.x/server-kotlin/kotlin/graphql/63a08ed7b8f61.md index f007ac03d2..ef2051b7b4 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/graphql/63a08ed7b8f61.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/graphql/63a08ed7b8f61.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Graphql val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/graphql/get.md b/docs/examples/1.2.x/server-kotlin/kotlin/graphql/get.md index d391c97f88..8fe4bcfa84 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/graphql/get.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/graphql/get.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Graphql val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/graphql/mutation.md b/docs/examples/1.2.x/server-kotlin/kotlin/graphql/mutation.md index aed06cd7a6..82c2c19fd2 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/graphql/mutation.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/graphql/mutation.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Graphql val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/graphql/query.md b/docs/examples/1.2.x/server-kotlin/kotlin/graphql/query.md index bd29d431c4..a271566de1 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/graphql/query.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/graphql/query.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Graphql val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/health/get-antivirus.md b/docs/examples/1.2.x/server-kotlin/kotlin/health/get-antivirus.md index e387fe0d95..d858d2189f 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/health/get-antivirus.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/health/get-antivirus.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/health/get-cache.md b/docs/examples/1.2.x/server-kotlin/kotlin/health/get-cache.md index 7aca9dd008..daa7fb646e 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/health/get-cache.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/health/get-cache.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/health/get-d-b.md b/docs/examples/1.2.x/server-kotlin/kotlin/health/get-d-b.md index 8e719142bb..496c7216f2 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/health/get-d-b.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/health/get-d-b.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/health/get-queue-certificates.md b/docs/examples/1.2.x/server-kotlin/kotlin/health/get-queue-certificates.md index f416351705..31c83bd891 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/health/get-queue-certificates.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/health/get-queue-certificates.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/health/get-queue-functions.md b/docs/examples/1.2.x/server-kotlin/kotlin/health/get-queue-functions.md index b55241d8f2..d7653c3a7d 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/health/get-queue-functions.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/health/get-queue-functions.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/health/get-queue-logs.md b/docs/examples/1.2.x/server-kotlin/kotlin/health/get-queue-logs.md index fb634ec63c..1446de4c16 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/health/get-queue-logs.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/health/get-queue-logs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/health/get-queue-webhooks.md b/docs/examples/1.2.x/server-kotlin/kotlin/health/get-queue-webhooks.md index bf4629d259..11c9b7a621 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/health/get-queue-webhooks.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/health/get-queue-webhooks.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/health/get-storage-local.md b/docs/examples/1.2.x/server-kotlin/kotlin/health/get-storage-local.md index f204168bc4..b0087b6fb2 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/health/get-storage-local.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/health/get-storage-local.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/health/get-time.md b/docs/examples/1.2.x/server-kotlin/kotlin/health/get-time.md index 35f3bb9bd6..8a9645a42b 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/health/get-time.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/health/get-time.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/health/get.md b/docs/examples/1.2.x/server-kotlin/kotlin/health/get.md index b547be9aa5..a790b949c4 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/health/get.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/health/get.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/locale/get.md b/docs/examples/1.2.x/server-kotlin/kotlin/locale/get.md index 1d84651fea..25bf0e1d0b 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/locale/get.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/locale/get.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/locale/list-continents.md b/docs/examples/1.2.x/server-kotlin/kotlin/locale/list-continents.md index bd9ad1825b..bcaad832cd 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/locale/list-continents.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/locale/list-continents.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/locale/list-countries-e-u.md b/docs/examples/1.2.x/server-kotlin/kotlin/locale/list-countries-e-u.md index 5d3258335e..b1e5671fb3 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/locale/list-countries-e-u.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/locale/list-countries-e-u.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/locale/list-countries-phones.md b/docs/examples/1.2.x/server-kotlin/kotlin/locale/list-countries-phones.md index e0f2ae3c6b..1a9a2585ca 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/locale/list-countries-phones.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/locale/list-countries-phones.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/locale/list-countries.md b/docs/examples/1.2.x/server-kotlin/kotlin/locale/list-countries.md index 626d38133e..cd8276e49b 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/locale/list-countries.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/locale/list-countries.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/locale/list-currencies.md b/docs/examples/1.2.x/server-kotlin/kotlin/locale/list-currencies.md index 6457056d70..061a5c82cd 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/locale/list-currencies.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/locale/list-currencies.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/locale/list-languages.md b/docs/examples/1.2.x/server-kotlin/kotlin/locale/list-languages.md index 437b1c3fe9..6ed17be85e 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/locale/list-languages.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/locale/list-languages.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/storage/create-bucket.md b/docs/examples/1.2.x/server-kotlin/kotlin/storage/create-bucket.md index 27d73ffd07..1adf94ca06 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/storage/create-bucket.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/storage/create-bucket.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/storage/create-file.md b/docs/examples/1.2.x/server-kotlin/kotlin/storage/create-file.md index 1bdf5e4893..354e3bf94c 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/storage/create-file.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/storage/create-file.md @@ -3,7 +3,7 @@ import io.appwrite.models.InputFile import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/storage/delete-bucket.md b/docs/examples/1.2.x/server-kotlin/kotlin/storage/delete-bucket.md index 3730a05298..a70b731423 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/storage/delete-bucket.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/storage/delete-bucket.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/storage/delete-file.md b/docs/examples/1.2.x/server-kotlin/kotlin/storage/delete-file.md index dabf805e8b..c6a2639376 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/storage/delete-file.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/storage/delete-file.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/storage/get-bucket.md b/docs/examples/1.2.x/server-kotlin/kotlin/storage/get-bucket.md index 0c7fcc137c..c2abb7b338 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/storage/get-bucket.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/storage/get-bucket.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/storage/get-file-download.md b/docs/examples/1.2.x/server-kotlin/kotlin/storage/get-file-download.md index 6c3c1fb4ae..67bcc5d5b4 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/storage/get-file-download.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/storage/get-file-download.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/storage/get-file-preview.md b/docs/examples/1.2.x/server-kotlin/kotlin/storage/get-file-preview.md index 372416ed12..4b75e70d3e 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/storage/get-file-preview.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/storage/get-file-preview.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/storage/get-file-view.md b/docs/examples/1.2.x/server-kotlin/kotlin/storage/get-file-view.md index 4b23cfc9c6..691acb1055 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/storage/get-file-view.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/storage/get-file-view.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/storage/get-file.md b/docs/examples/1.2.x/server-kotlin/kotlin/storage/get-file.md index 211713c7b6..0f98d900a1 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/storage/get-file.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/storage/get-file.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/storage/list-buckets.md b/docs/examples/1.2.x/server-kotlin/kotlin/storage/list-buckets.md index 8c4c7bdaac..b6bce3ace3 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/storage/list-buckets.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/storage/list-buckets.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/storage/list-files.md b/docs/examples/1.2.x/server-kotlin/kotlin/storage/list-files.md index 5243ed74cc..af1c301c1c 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/storage/list-files.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/storage/list-files.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/storage/update-bucket.md b/docs/examples/1.2.x/server-kotlin/kotlin/storage/update-bucket.md index 3de3b5460e..b0117be004 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/storage/update-bucket.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/storage/update-bucket.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/storage/update-file.md b/docs/examples/1.2.x/server-kotlin/kotlin/storage/update-file.md index 3d7fb9ab26..8b85210d15 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/storage/update-file.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/storage/update-file.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/teams/create-membership.md b/docs/examples/1.2.x/server-kotlin/kotlin/teams/create-membership.md index d4534692f2..19fbef3d0c 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/teams/create-membership.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/teams/create-membership.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/teams/create.md b/docs/examples/1.2.x/server-kotlin/kotlin/teams/create.md index 9e080a1346..5b0105bf71 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/teams/create.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/teams/create.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/teams/delete-membership.md b/docs/examples/1.2.x/server-kotlin/kotlin/teams/delete-membership.md index 16e73e4884..397a9b794a 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/teams/delete-membership.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/teams/delete-membership.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/teams/delete.md b/docs/examples/1.2.x/server-kotlin/kotlin/teams/delete.md index c015a772c8..ab0b1c5632 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/teams/delete.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/teams/delete.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/teams/get-membership.md b/docs/examples/1.2.x/server-kotlin/kotlin/teams/get-membership.md index 4f2bed3800..bfb8ea9406 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/teams/get-membership.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/teams/get-membership.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/teams/get.md b/docs/examples/1.2.x/server-kotlin/kotlin/teams/get.md index 402aeb1beb..a6f43f8f18 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/teams/get.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/teams/get.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/teams/list-memberships.md b/docs/examples/1.2.x/server-kotlin/kotlin/teams/list-memberships.md index e9eae80f0b..0da1afdfc1 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/teams/list-memberships.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/teams/list-memberships.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/teams/list.md b/docs/examples/1.2.x/server-kotlin/kotlin/teams/list.md index aa10ca58fd..43196f1d90 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/teams/list.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/teams/list.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/teams/update-membership-roles.md b/docs/examples/1.2.x/server-kotlin/kotlin/teams/update-membership-roles.md index e9ea1f18ab..88a020c737 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/teams/update-membership-roles.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/teams/update-membership-roles.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/teams/update-membership-status.md b/docs/examples/1.2.x/server-kotlin/kotlin/teams/update-membership-status.md index 7fa6bd837c..e9dc0d91eb 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/teams/update-membership-status.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/teams/update-membership-status.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/teams/update.md b/docs/examples/1.2.x/server-kotlin/kotlin/teams/update.md index 4dabe5b8ef..2376cf8ca5 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/teams/update.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/teams/update.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/users/create-argon2user.md b/docs/examples/1.2.x/server-kotlin/kotlin/users/create-argon2user.md index 438363aed3..81a1f9960f 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/users/create-argon2user.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/users/create-argon2user.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/users/create-bcrypt-user.md b/docs/examples/1.2.x/server-kotlin/kotlin/users/create-bcrypt-user.md index 977782ce3c..15d101773a 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/users/create-bcrypt-user.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/users/create-bcrypt-user.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/users/create-m-d5user.md b/docs/examples/1.2.x/server-kotlin/kotlin/users/create-m-d5user.md index 6d6451f376..86e13b9f1b 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/users/create-m-d5user.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/users/create-m-d5user.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/users/create-p-h-pass-user.md b/docs/examples/1.2.x/server-kotlin/kotlin/users/create-p-h-pass-user.md index c50b2c1da4..cadb580527 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/users/create-p-h-pass-user.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/users/create-p-h-pass-user.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/users/create-s-h-a-user.md b/docs/examples/1.2.x/server-kotlin/kotlin/users/create-s-h-a-user.md index 708935c970..979cc2a01b 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/users/create-s-h-a-user.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/users/create-s-h-a-user.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/users/create-scrypt-modified-user.md b/docs/examples/1.2.x/server-kotlin/kotlin/users/create-scrypt-modified-user.md index d49f7db471..b2164d5aa8 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/users/create-scrypt-modified-user.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/users/create-scrypt-modified-user.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/users/create-scrypt-user.md b/docs/examples/1.2.x/server-kotlin/kotlin/users/create-scrypt-user.md index aa006fb0db..e5cabe92b7 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/users/create-scrypt-user.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/users/create-scrypt-user.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/users/create.md b/docs/examples/1.2.x/server-kotlin/kotlin/users/create.md index ae319d8cd8..fcc5e355ec 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/users/create.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/users/create.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/users/delete-session.md b/docs/examples/1.2.x/server-kotlin/kotlin/users/delete-session.md index f3a0264aa1..7b96b24213 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/users/delete-session.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/users/delete-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/users/delete-sessions.md b/docs/examples/1.2.x/server-kotlin/kotlin/users/delete-sessions.md index 5c0070c027..580031ecac 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/users/delete-sessions.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/users/delete-sessions.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/users/delete.md b/docs/examples/1.2.x/server-kotlin/kotlin/users/delete.md index 30ee8f3d7a..2e0013f0ab 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/users/delete.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/users/delete.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/users/get-prefs.md b/docs/examples/1.2.x/server-kotlin/kotlin/users/get-prefs.md index 564489c398..a7ffd650bc 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/users/get-prefs.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/users/get-prefs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/users/get.md b/docs/examples/1.2.x/server-kotlin/kotlin/users/get.md index fd7e4b7a1b..f55878912e 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/users/get.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/users/get.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/users/list-logs.md b/docs/examples/1.2.x/server-kotlin/kotlin/users/list-logs.md index 691007588e..5b3111f552 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/users/list-logs.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/users/list-logs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/users/list-memberships.md b/docs/examples/1.2.x/server-kotlin/kotlin/users/list-memberships.md index 316889e894..0059c2dc68 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/users/list-memberships.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/users/list-memberships.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/users/list-sessions.md b/docs/examples/1.2.x/server-kotlin/kotlin/users/list-sessions.md index 1d7e950425..fd9a7716d5 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/users/list-sessions.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/users/list-sessions.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/users/list.md b/docs/examples/1.2.x/server-kotlin/kotlin/users/list.md index e973a26e52..3a74a20757 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/users/list.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/users/list.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/users/update-email-verification.md b/docs/examples/1.2.x/server-kotlin/kotlin/users/update-email-verification.md index b4f97bbcab..ea16acf33b 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/users/update-email-verification.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/users/update-email-verification.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/users/update-email.md b/docs/examples/1.2.x/server-kotlin/kotlin/users/update-email.md index c6dfaefd2f..4adad69184 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/users/update-email.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/users/update-email.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/users/update-name.md b/docs/examples/1.2.x/server-kotlin/kotlin/users/update-name.md index 1d46c7a8fc..b60d565620 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/users/update-name.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/users/update-name.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/users/update-password.md b/docs/examples/1.2.x/server-kotlin/kotlin/users/update-password.md index 5bff0dc5ef..c7316ff7c6 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/users/update-password.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/users/update-password.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/users/update-phone-verification.md b/docs/examples/1.2.x/server-kotlin/kotlin/users/update-phone-verification.md index 909803bd94..fe6bcf39c0 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/users/update-phone-verification.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/users/update-phone-verification.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/users/update-phone.md b/docs/examples/1.2.x/server-kotlin/kotlin/users/update-phone.md index 073dd6640a..3d243c0db7 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/users/update-phone.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/users/update-phone.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/users/update-prefs.md b/docs/examples/1.2.x/server-kotlin/kotlin/users/update-prefs.md index 127035ca48..c05713d316 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/users/update-prefs.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/users/update-prefs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-kotlin/kotlin/users/update-status.md b/docs/examples/1.2.x/server-kotlin/kotlin/users/update-status.md index 5899ed360f..1966d5d6d0 100644 --- a/docs/examples/1.2.x/server-kotlin/kotlin/users/update-status.md +++ b/docs/examples/1.2.x/server-kotlin/kotlin/users/update-status.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-nodejs/examples/account/create-phone-verification.md b/docs/examples/1.2.x/server-nodejs/examples/account/create-phone-verification.md index f381495f24..cd9bc62e7a 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/account/create-phone-verification.md +++ b/docs/examples/1.2.x/server-nodejs/examples/account/create-phone-verification.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/account/create-recovery.md b/docs/examples/1.2.x/server-nodejs/examples/account/create-recovery.md index f4c5ae98de..53c6060edf 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/account/create-recovery.md +++ b/docs/examples/1.2.x/server-nodejs/examples/account/create-recovery.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/account/create-verification.md b/docs/examples/1.2.x/server-nodejs/examples/account/create-verification.md index 04585621eb..1df32eb711 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/account/create-verification.md +++ b/docs/examples/1.2.x/server-nodejs/examples/account/create-verification.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/account/delete-session.md b/docs/examples/1.2.x/server-nodejs/examples/account/delete-session.md index 74f3869859..182d67e2c1 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/account/delete-session.md +++ b/docs/examples/1.2.x/server-nodejs/examples/account/delete-session.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/account/delete-sessions.md b/docs/examples/1.2.x/server-nodejs/examples/account/delete-sessions.md index 0968c30b92..dbf861cf31 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/account/delete-sessions.md +++ b/docs/examples/1.2.x/server-nodejs/examples/account/delete-sessions.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/account/get-prefs.md b/docs/examples/1.2.x/server-nodejs/examples/account/get-prefs.md index 8bd5d97c25..04e6ac307a 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/account/get-prefs.md +++ b/docs/examples/1.2.x/server-nodejs/examples/account/get-prefs.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/account/get-session.md b/docs/examples/1.2.x/server-nodejs/examples/account/get-session.md index 3abb677fbe..23d06a672b 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/account/get-session.md +++ b/docs/examples/1.2.x/server-nodejs/examples/account/get-session.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/account/get.md b/docs/examples/1.2.x/server-nodejs/examples/account/get.md index d4f4066fb1..3b0da54b7a 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/account/get.md +++ b/docs/examples/1.2.x/server-nodejs/examples/account/get.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/account/list-logs.md b/docs/examples/1.2.x/server-nodejs/examples/account/list-logs.md index 890e0d12d3..25cfab189d 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/account/list-logs.md +++ b/docs/examples/1.2.x/server-nodejs/examples/account/list-logs.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/account/list-sessions.md b/docs/examples/1.2.x/server-nodejs/examples/account/list-sessions.md index 68e97ada31..fe753dd996 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/account/list-sessions.md +++ b/docs/examples/1.2.x/server-nodejs/examples/account/list-sessions.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/account/update-email.md b/docs/examples/1.2.x/server-nodejs/examples/account/update-email.md index 388e2581bb..324dfa7db6 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/account/update-email.md +++ b/docs/examples/1.2.x/server-nodejs/examples/account/update-email.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/account/update-name.md b/docs/examples/1.2.x/server-nodejs/examples/account/update-name.md index 0984652712..8ae6bbf552 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/account/update-name.md +++ b/docs/examples/1.2.x/server-nodejs/examples/account/update-name.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/account/update-password.md b/docs/examples/1.2.x/server-nodejs/examples/account/update-password.md index b9121e3acc..f8c221a243 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/account/update-password.md +++ b/docs/examples/1.2.x/server-nodejs/examples/account/update-password.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/account/update-phone-verification.md b/docs/examples/1.2.x/server-nodejs/examples/account/update-phone-verification.md index 1aa4042f36..66c3ec8981 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/account/update-phone-verification.md +++ b/docs/examples/1.2.x/server-nodejs/examples/account/update-phone-verification.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/account/update-phone.md b/docs/examples/1.2.x/server-nodejs/examples/account/update-phone.md index 37124d81aa..02270ec33e 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/account/update-phone.md +++ b/docs/examples/1.2.x/server-nodejs/examples/account/update-phone.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/account/update-prefs.md b/docs/examples/1.2.x/server-nodejs/examples/account/update-prefs.md index 6948706abb..6a9e10bf0c 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/account/update-prefs.md +++ b/docs/examples/1.2.x/server-nodejs/examples/account/update-prefs.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/account/update-recovery.md b/docs/examples/1.2.x/server-nodejs/examples/account/update-recovery.md index 74f70f59c7..17dccf0e8b 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/account/update-recovery.md +++ b/docs/examples/1.2.x/server-nodejs/examples/account/update-recovery.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/account/update-session.md b/docs/examples/1.2.x/server-nodejs/examples/account/update-session.md index b0b932524f..ae1d9ab065 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/account/update-session.md +++ b/docs/examples/1.2.x/server-nodejs/examples/account/update-session.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/account/update-status.md b/docs/examples/1.2.x/server-nodejs/examples/account/update-status.md index 277243b824..4c13b5eec1 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/account/update-status.md +++ b/docs/examples/1.2.x/server-nodejs/examples/account/update-status.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/account/update-verification.md b/docs/examples/1.2.x/server-nodejs/examples/account/update-verification.md index 6a7fbbf99c..03d663a629 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/account/update-verification.md +++ b/docs/examples/1.2.x/server-nodejs/examples/account/update-verification.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/avatars/get-browser.md b/docs/examples/1.2.x/server-nodejs/examples/avatars/get-browser.md index c05595ad67..d88d7571de 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/avatars/get-browser.md +++ b/docs/examples/1.2.x/server-nodejs/examples/avatars/get-browser.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/avatars/get-credit-card.md b/docs/examples/1.2.x/server-nodejs/examples/avatars/get-credit-card.md index 8fbd37d29a..86cfe17059 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/avatars/get-credit-card.md +++ b/docs/examples/1.2.x/server-nodejs/examples/avatars/get-credit-card.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/avatars/get-favicon.md b/docs/examples/1.2.x/server-nodejs/examples/avatars/get-favicon.md index 2924e394a0..acc780ccab 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/avatars/get-favicon.md +++ b/docs/examples/1.2.x/server-nodejs/examples/avatars/get-favicon.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/avatars/get-flag.md b/docs/examples/1.2.x/server-nodejs/examples/avatars/get-flag.md index 50d611c399..09efae0146 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/avatars/get-flag.md +++ b/docs/examples/1.2.x/server-nodejs/examples/avatars/get-flag.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/avatars/get-image.md b/docs/examples/1.2.x/server-nodejs/examples/avatars/get-image.md index 3b2bb517d1..6cf825ff3e 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/avatars/get-image.md +++ b/docs/examples/1.2.x/server-nodejs/examples/avatars/get-image.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/avatars/get-initials.md b/docs/examples/1.2.x/server-nodejs/examples/avatars/get-initials.md index 4afda6f547..942f10ce51 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/avatars/get-initials.md +++ b/docs/examples/1.2.x/server-nodejs/examples/avatars/get-initials.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/avatars/get-q-r.md b/docs/examples/1.2.x/server-nodejs/examples/avatars/get-q-r.md index d2d24e2055..0b46c30ed6 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/avatars/get-q-r.md +++ b/docs/examples/1.2.x/server-nodejs/examples/avatars/get-q-r.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/databases/create-boolean-attribute.md b/docs/examples/1.2.x/server-nodejs/examples/databases/create-boolean-attribute.md index 12a70102ca..03b9cbd67a 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.2.x/server-nodejs/examples/databases/create-boolean-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/databases/create-collection.md b/docs/examples/1.2.x/server-nodejs/examples/databases/create-collection.md index 13ec4e037f..2ff164d553 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/databases/create-collection.md +++ b/docs/examples/1.2.x/server-nodejs/examples/databases/create-collection.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/databases/create-datetime-attribute.md b/docs/examples/1.2.x/server-nodejs/examples/databases/create-datetime-attribute.md index 70609a84e7..7c8710f80d 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.2.x/server-nodejs/examples/databases/create-datetime-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/databases/create-document.md b/docs/examples/1.2.x/server-nodejs/examples/databases/create-document.md index f5fa7a50a6..69d75e1b53 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/databases/create-document.md +++ b/docs/examples/1.2.x/server-nodejs/examples/databases/create-document.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/databases/create-email-attribute.md b/docs/examples/1.2.x/server-nodejs/examples/databases/create-email-attribute.md index 2229dfe7f9..a14075c62b 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/databases/create-email-attribute.md +++ b/docs/examples/1.2.x/server-nodejs/examples/databases/create-email-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/databases/create-enum-attribute.md b/docs/examples/1.2.x/server-nodejs/examples/databases/create-enum-attribute.md index cd9daca603..074e0098ed 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.2.x/server-nodejs/examples/databases/create-enum-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/databases/create-float-attribute.md b/docs/examples/1.2.x/server-nodejs/examples/databases/create-float-attribute.md index a12c4f4420..d818659c33 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/databases/create-float-attribute.md +++ b/docs/examples/1.2.x/server-nodejs/examples/databases/create-float-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/databases/create-index.md b/docs/examples/1.2.x/server-nodejs/examples/databases/create-index.md index 66c3e519fe..9064cbf61b 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/databases/create-index.md +++ b/docs/examples/1.2.x/server-nodejs/examples/databases/create-index.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/databases/create-integer-attribute.md b/docs/examples/1.2.x/server-nodejs/examples/databases/create-integer-attribute.md index fa693d28de..051df7214f 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.2.x/server-nodejs/examples/databases/create-integer-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/databases/create-ip-attribute.md b/docs/examples/1.2.x/server-nodejs/examples/databases/create-ip-attribute.md index 1e8985a2bd..95c465d527 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.2.x/server-nodejs/examples/databases/create-ip-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/databases/create-string-attribute.md b/docs/examples/1.2.x/server-nodejs/examples/databases/create-string-attribute.md index bfb4fbfc3f..9305983c33 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/databases/create-string-attribute.md +++ b/docs/examples/1.2.x/server-nodejs/examples/databases/create-string-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/databases/create-url-attribute.md b/docs/examples/1.2.x/server-nodejs/examples/databases/create-url-attribute.md index e6a585f76b..47c491916b 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/databases/create-url-attribute.md +++ b/docs/examples/1.2.x/server-nodejs/examples/databases/create-url-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/databases/create.md b/docs/examples/1.2.x/server-nodejs/examples/databases/create.md index 4e04f026bd..451e39b410 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/databases/create.md +++ b/docs/examples/1.2.x/server-nodejs/examples/databases/create.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/databases/delete-attribute.md b/docs/examples/1.2.x/server-nodejs/examples/databases/delete-attribute.md index 3c65f62ef5..a7ee957de8 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/databases/delete-attribute.md +++ b/docs/examples/1.2.x/server-nodejs/examples/databases/delete-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/databases/delete-collection.md b/docs/examples/1.2.x/server-nodejs/examples/databases/delete-collection.md index 047fa26846..745042ec6e 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/databases/delete-collection.md +++ b/docs/examples/1.2.x/server-nodejs/examples/databases/delete-collection.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/databases/delete-document.md b/docs/examples/1.2.x/server-nodejs/examples/databases/delete-document.md index a6f3fa58ca..0081caa499 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/databases/delete-document.md +++ b/docs/examples/1.2.x/server-nodejs/examples/databases/delete-document.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/databases/delete-index.md b/docs/examples/1.2.x/server-nodejs/examples/databases/delete-index.md index 42d73104a0..e147eb1043 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/databases/delete-index.md +++ b/docs/examples/1.2.x/server-nodejs/examples/databases/delete-index.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/databases/delete.md b/docs/examples/1.2.x/server-nodejs/examples/databases/delete.md index 3f39965820..b1ecfea0a4 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/databases/delete.md +++ b/docs/examples/1.2.x/server-nodejs/examples/databases/delete.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/databases/get-attribute.md b/docs/examples/1.2.x/server-nodejs/examples/databases/get-attribute.md index df6c665b75..36b0b0336e 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/databases/get-attribute.md +++ b/docs/examples/1.2.x/server-nodejs/examples/databases/get-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/databases/get-collection.md b/docs/examples/1.2.x/server-nodejs/examples/databases/get-collection.md index ea4ed423e8..0d0ba0e6cb 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/databases/get-collection.md +++ b/docs/examples/1.2.x/server-nodejs/examples/databases/get-collection.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/databases/get-document.md b/docs/examples/1.2.x/server-nodejs/examples/databases/get-document.md index ac07b968ae..8f641962f0 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/databases/get-document.md +++ b/docs/examples/1.2.x/server-nodejs/examples/databases/get-document.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/databases/get-index.md b/docs/examples/1.2.x/server-nodejs/examples/databases/get-index.md index c3a3d168c5..d0602952b4 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/databases/get-index.md +++ b/docs/examples/1.2.x/server-nodejs/examples/databases/get-index.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/databases/get.md b/docs/examples/1.2.x/server-nodejs/examples/databases/get.md index 133f496b2e..a47ba7a403 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/databases/get.md +++ b/docs/examples/1.2.x/server-nodejs/examples/databases/get.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/databases/list-attributes.md b/docs/examples/1.2.x/server-nodejs/examples/databases/list-attributes.md index b1a494b110..01284a5e3a 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/databases/list-attributes.md +++ b/docs/examples/1.2.x/server-nodejs/examples/databases/list-attributes.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/databases/list-collections.md b/docs/examples/1.2.x/server-nodejs/examples/databases/list-collections.md index c1d9fd3421..9005d7a5b1 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/databases/list-collections.md +++ b/docs/examples/1.2.x/server-nodejs/examples/databases/list-collections.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/databases/list-documents.md b/docs/examples/1.2.x/server-nodejs/examples/databases/list-documents.md index bf0b9156bf..9f9751ac37 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/databases/list-documents.md +++ b/docs/examples/1.2.x/server-nodejs/examples/databases/list-documents.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/databases/list-indexes.md b/docs/examples/1.2.x/server-nodejs/examples/databases/list-indexes.md index 57787f1d3e..fff198fc40 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/databases/list-indexes.md +++ b/docs/examples/1.2.x/server-nodejs/examples/databases/list-indexes.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/databases/list.md b/docs/examples/1.2.x/server-nodejs/examples/databases/list.md index 5652d1e032..2f40478570 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/databases/list.md +++ b/docs/examples/1.2.x/server-nodejs/examples/databases/list.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/databases/update-collection.md b/docs/examples/1.2.x/server-nodejs/examples/databases/update-collection.md index db74a7b9eb..4570385adc 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/databases/update-collection.md +++ b/docs/examples/1.2.x/server-nodejs/examples/databases/update-collection.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/databases/update-document.md b/docs/examples/1.2.x/server-nodejs/examples/databases/update-document.md index ca3cdb85e7..92405e556c 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/databases/update-document.md +++ b/docs/examples/1.2.x/server-nodejs/examples/databases/update-document.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/databases/update.md b/docs/examples/1.2.x/server-nodejs/examples/databases/update.md index 7abe11bf80..71a6f3a77a 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/databases/update.md +++ b/docs/examples/1.2.x/server-nodejs/examples/databases/update.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/functions/create-build.md b/docs/examples/1.2.x/server-nodejs/examples/functions/create-build.md index fe9751e73b..38f3717fb0 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/functions/create-build.md +++ b/docs/examples/1.2.x/server-nodejs/examples/functions/create-build.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/functions/create-deployment.md b/docs/examples/1.2.x/server-nodejs/examples/functions/create-deployment.md index 661afa151a..defbd30d10 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/functions/create-deployment.md +++ b/docs/examples/1.2.x/server-nodejs/examples/functions/create-deployment.md @@ -7,7 +7,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/functions/create-execution.md b/docs/examples/1.2.x/server-nodejs/examples/functions/create-execution.md index dc182fdd44..be5bfbe85c 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/functions/create-execution.md +++ b/docs/examples/1.2.x/server-nodejs/examples/functions/create-execution.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/functions/create-variable.md b/docs/examples/1.2.x/server-nodejs/examples/functions/create-variable.md index 80f3fd0257..5bb7481f6a 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/functions/create-variable.md +++ b/docs/examples/1.2.x/server-nodejs/examples/functions/create-variable.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/functions/create.md b/docs/examples/1.2.x/server-nodejs/examples/functions/create.md index 9b8e0f1820..e1d24380fa 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/functions/create.md +++ b/docs/examples/1.2.x/server-nodejs/examples/functions/create.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/functions/delete-deployment.md b/docs/examples/1.2.x/server-nodejs/examples/functions/delete-deployment.md index 5affdf18b9..c0b1c4e4a1 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/functions/delete-deployment.md +++ b/docs/examples/1.2.x/server-nodejs/examples/functions/delete-deployment.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/functions/delete-variable.md b/docs/examples/1.2.x/server-nodejs/examples/functions/delete-variable.md index 2a075fdea7..e28f991ae1 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/functions/delete-variable.md +++ b/docs/examples/1.2.x/server-nodejs/examples/functions/delete-variable.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/functions/delete.md b/docs/examples/1.2.x/server-nodejs/examples/functions/delete.md index d17f01361e..18d2f4e26c 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/functions/delete.md +++ b/docs/examples/1.2.x/server-nodejs/examples/functions/delete.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/functions/get-deployment.md b/docs/examples/1.2.x/server-nodejs/examples/functions/get-deployment.md index d67ce4647a..4043de8d59 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/functions/get-deployment.md +++ b/docs/examples/1.2.x/server-nodejs/examples/functions/get-deployment.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/functions/get-execution.md b/docs/examples/1.2.x/server-nodejs/examples/functions/get-execution.md index bbf0788138..094a1d1983 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/functions/get-execution.md +++ b/docs/examples/1.2.x/server-nodejs/examples/functions/get-execution.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/functions/get-variable.md b/docs/examples/1.2.x/server-nodejs/examples/functions/get-variable.md index 11ce7e2836..8c225de4da 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/functions/get-variable.md +++ b/docs/examples/1.2.x/server-nodejs/examples/functions/get-variable.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/functions/get.md b/docs/examples/1.2.x/server-nodejs/examples/functions/get.md index 54ea4812b8..469f6fbb4e 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/functions/get.md +++ b/docs/examples/1.2.x/server-nodejs/examples/functions/get.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/functions/list-deployments.md b/docs/examples/1.2.x/server-nodejs/examples/functions/list-deployments.md index 4819410875..505de94734 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/functions/list-deployments.md +++ b/docs/examples/1.2.x/server-nodejs/examples/functions/list-deployments.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/functions/list-executions.md b/docs/examples/1.2.x/server-nodejs/examples/functions/list-executions.md index f9e77a5d32..7ec383656d 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/functions/list-executions.md +++ b/docs/examples/1.2.x/server-nodejs/examples/functions/list-executions.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/functions/list-runtimes.md b/docs/examples/1.2.x/server-nodejs/examples/functions/list-runtimes.md index d471861374..d9edc4a040 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/functions/list-runtimes.md +++ b/docs/examples/1.2.x/server-nodejs/examples/functions/list-runtimes.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/functions/list-variables.md b/docs/examples/1.2.x/server-nodejs/examples/functions/list-variables.md index e193b2b1ba..eefc1fe27e 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/functions/list-variables.md +++ b/docs/examples/1.2.x/server-nodejs/examples/functions/list-variables.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/functions/list.md b/docs/examples/1.2.x/server-nodejs/examples/functions/list.md index 4f7b45e26a..0a2c6cd72f 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/functions/list.md +++ b/docs/examples/1.2.x/server-nodejs/examples/functions/list.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/functions/update-deployment.md b/docs/examples/1.2.x/server-nodejs/examples/functions/update-deployment.md index 25f0e79983..d90a98481c 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/functions/update-deployment.md +++ b/docs/examples/1.2.x/server-nodejs/examples/functions/update-deployment.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/functions/update-variable.md b/docs/examples/1.2.x/server-nodejs/examples/functions/update-variable.md index 86e9a698f5..8d1f6466b7 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/functions/update-variable.md +++ b/docs/examples/1.2.x/server-nodejs/examples/functions/update-variable.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/functions/update.md b/docs/examples/1.2.x/server-nodejs/examples/functions/update.md index fb825081a1..c5d06bdad3 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/functions/update.md +++ b/docs/examples/1.2.x/server-nodejs/examples/functions/update.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/graphql/63a08ed7b8f61.md b/docs/examples/1.2.x/server-nodejs/examples/graphql/63a08ed7b8f61.md index 592e8ac436..178c9b0bdb 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/graphql/63a08ed7b8f61.md +++ b/docs/examples/1.2.x/server-nodejs/examples/graphql/63a08ed7b8f61.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const graphql = new sdk.Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/graphql/get.md b/docs/examples/1.2.x/server-nodejs/examples/graphql/get.md index 841fe0f6e1..9f8bdd2739 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/graphql/get.md +++ b/docs/examples/1.2.x/server-nodejs/examples/graphql/get.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const graphql = new sdk.Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/graphql/mutation.md b/docs/examples/1.2.x/server-nodejs/examples/graphql/mutation.md index 6f9bed8426..f8f2da769c 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/graphql/mutation.md +++ b/docs/examples/1.2.x/server-nodejs/examples/graphql/mutation.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const graphql = new sdk.Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/graphql/query.md b/docs/examples/1.2.x/server-nodejs/examples/graphql/query.md index 35cd4060cc..0f30d77e99 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/graphql/query.md +++ b/docs/examples/1.2.x/server-nodejs/examples/graphql/query.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const graphql = new sdk.Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/health/get-antivirus.md b/docs/examples/1.2.x/server-nodejs/examples/health/get-antivirus.md index b6e5e78a30..516d19c075 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/health/get-antivirus.md +++ b/docs/examples/1.2.x/server-nodejs/examples/health/get-antivirus.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/health/get-cache.md b/docs/examples/1.2.x/server-nodejs/examples/health/get-cache.md index 8171c40fc6..84dd5b07ce 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/health/get-cache.md +++ b/docs/examples/1.2.x/server-nodejs/examples/health/get-cache.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/health/get-d-b.md b/docs/examples/1.2.x/server-nodejs/examples/health/get-d-b.md index ef1739fff0..ce5ba7b8dc 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/health/get-d-b.md +++ b/docs/examples/1.2.x/server-nodejs/examples/health/get-d-b.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/health/get-queue-certificates.md b/docs/examples/1.2.x/server-nodejs/examples/health/get-queue-certificates.md index 38dadde1b2..c89318fc38 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/health/get-queue-certificates.md +++ b/docs/examples/1.2.x/server-nodejs/examples/health/get-queue-certificates.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/health/get-queue-functions.md b/docs/examples/1.2.x/server-nodejs/examples/health/get-queue-functions.md index bc8668eda6..52d3a2e80c 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/health/get-queue-functions.md +++ b/docs/examples/1.2.x/server-nodejs/examples/health/get-queue-functions.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/health/get-queue-logs.md b/docs/examples/1.2.x/server-nodejs/examples/health/get-queue-logs.md index 918a9d9e6c..86b9fe0fb4 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/health/get-queue-logs.md +++ b/docs/examples/1.2.x/server-nodejs/examples/health/get-queue-logs.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/health/get-queue-webhooks.md b/docs/examples/1.2.x/server-nodejs/examples/health/get-queue-webhooks.md index acf023a188..ee73f37ef6 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.2.x/server-nodejs/examples/health/get-queue-webhooks.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/health/get-storage-local.md b/docs/examples/1.2.x/server-nodejs/examples/health/get-storage-local.md index 76e51489fd..d41559c5f1 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/health/get-storage-local.md +++ b/docs/examples/1.2.x/server-nodejs/examples/health/get-storage-local.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/health/get-time.md b/docs/examples/1.2.x/server-nodejs/examples/health/get-time.md index f44836ac3c..e3d70a93ff 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/health/get-time.md +++ b/docs/examples/1.2.x/server-nodejs/examples/health/get-time.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/health/get.md b/docs/examples/1.2.x/server-nodejs/examples/health/get.md index a66b25631f..1198b18624 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/health/get.md +++ b/docs/examples/1.2.x/server-nodejs/examples/health/get.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/locale/get.md b/docs/examples/1.2.x/server-nodejs/examples/locale/get.md index 31d90c6f11..27befec21a 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/locale/get.md +++ b/docs/examples/1.2.x/server-nodejs/examples/locale/get.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/locale/list-continents.md b/docs/examples/1.2.x/server-nodejs/examples/locale/list-continents.md index ffe54d34da..346f552a14 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/locale/list-continents.md +++ b/docs/examples/1.2.x/server-nodejs/examples/locale/list-continents.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/locale/list-countries-e-u.md b/docs/examples/1.2.x/server-nodejs/examples/locale/list-countries-e-u.md index f9aaff666a..627c350f8e 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.2.x/server-nodejs/examples/locale/list-countries-e-u.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/locale/list-countries-phones.md b/docs/examples/1.2.x/server-nodejs/examples/locale/list-countries-phones.md index fdd2436dc0..0a0965ab53 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/locale/list-countries-phones.md +++ b/docs/examples/1.2.x/server-nodejs/examples/locale/list-countries-phones.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/locale/list-countries.md b/docs/examples/1.2.x/server-nodejs/examples/locale/list-countries.md index 429e188776..857b7da7cf 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/locale/list-countries.md +++ b/docs/examples/1.2.x/server-nodejs/examples/locale/list-countries.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/locale/list-currencies.md b/docs/examples/1.2.x/server-nodejs/examples/locale/list-currencies.md index 12d82fb70f..017b5faebf 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/locale/list-currencies.md +++ b/docs/examples/1.2.x/server-nodejs/examples/locale/list-currencies.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/locale/list-languages.md b/docs/examples/1.2.x/server-nodejs/examples/locale/list-languages.md index 8ea2b40afc..716a44c330 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/locale/list-languages.md +++ b/docs/examples/1.2.x/server-nodejs/examples/locale/list-languages.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/storage/create-bucket.md b/docs/examples/1.2.x/server-nodejs/examples/storage/create-bucket.md index 9093b7c9a6..51e0b05acb 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/storage/create-bucket.md +++ b/docs/examples/1.2.x/server-nodejs/examples/storage/create-bucket.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/storage/create-file.md b/docs/examples/1.2.x/server-nodejs/examples/storage/create-file.md index 664005e273..be561320db 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/storage/create-file.md +++ b/docs/examples/1.2.x/server-nodejs/examples/storage/create-file.md @@ -7,7 +7,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/storage/delete-bucket.md b/docs/examples/1.2.x/server-nodejs/examples/storage/delete-bucket.md index 84486c68dc..e3368facf1 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/storage/delete-bucket.md +++ b/docs/examples/1.2.x/server-nodejs/examples/storage/delete-bucket.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/storage/delete-file.md b/docs/examples/1.2.x/server-nodejs/examples/storage/delete-file.md index c4d451c63f..d90be0a77e 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/storage/delete-file.md +++ b/docs/examples/1.2.x/server-nodejs/examples/storage/delete-file.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/storage/get-bucket.md b/docs/examples/1.2.x/server-nodejs/examples/storage/get-bucket.md index d0fbb94bbc..b176e6e575 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/storage/get-bucket.md +++ b/docs/examples/1.2.x/server-nodejs/examples/storage/get-bucket.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/storage/get-file-download.md b/docs/examples/1.2.x/server-nodejs/examples/storage/get-file-download.md index 1503d102ba..4ad79175d2 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/storage/get-file-download.md +++ b/docs/examples/1.2.x/server-nodejs/examples/storage/get-file-download.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/storage/get-file-preview.md b/docs/examples/1.2.x/server-nodejs/examples/storage/get-file-preview.md index 19d34495ba..164a1c6377 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/storage/get-file-preview.md +++ b/docs/examples/1.2.x/server-nodejs/examples/storage/get-file-preview.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/storage/get-file-view.md b/docs/examples/1.2.x/server-nodejs/examples/storage/get-file-view.md index 1affab8bc0..a8d5029bd0 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/storage/get-file-view.md +++ b/docs/examples/1.2.x/server-nodejs/examples/storage/get-file-view.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/storage/get-file.md b/docs/examples/1.2.x/server-nodejs/examples/storage/get-file.md index ceba42ce1e..06f43878e8 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/storage/get-file.md +++ b/docs/examples/1.2.x/server-nodejs/examples/storage/get-file.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/storage/list-buckets.md b/docs/examples/1.2.x/server-nodejs/examples/storage/list-buckets.md index 9945febb42..b989a0748f 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/storage/list-buckets.md +++ b/docs/examples/1.2.x/server-nodejs/examples/storage/list-buckets.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/storage/list-files.md b/docs/examples/1.2.x/server-nodejs/examples/storage/list-files.md index fea4bae61f..4bce540ec4 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/storage/list-files.md +++ b/docs/examples/1.2.x/server-nodejs/examples/storage/list-files.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/storage/update-bucket.md b/docs/examples/1.2.x/server-nodejs/examples/storage/update-bucket.md index 32df1f18d8..9cab2ca26c 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/storage/update-bucket.md +++ b/docs/examples/1.2.x/server-nodejs/examples/storage/update-bucket.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/storage/update-file.md b/docs/examples/1.2.x/server-nodejs/examples/storage/update-file.md index 042a164501..aa67cf0f0e 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/storage/update-file.md +++ b/docs/examples/1.2.x/server-nodejs/examples/storage/update-file.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/teams/create-membership.md b/docs/examples/1.2.x/server-nodejs/examples/teams/create-membership.md index 74b1d3fd1d..492c6b0d9c 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/teams/create-membership.md +++ b/docs/examples/1.2.x/server-nodejs/examples/teams/create-membership.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/teams/create.md b/docs/examples/1.2.x/server-nodejs/examples/teams/create.md index 5552f829f9..a99a2cf3f7 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/teams/create.md +++ b/docs/examples/1.2.x/server-nodejs/examples/teams/create.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/teams/delete-membership.md b/docs/examples/1.2.x/server-nodejs/examples/teams/delete-membership.md index ef72e63138..2df3e41f36 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/teams/delete-membership.md +++ b/docs/examples/1.2.x/server-nodejs/examples/teams/delete-membership.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/teams/delete.md b/docs/examples/1.2.x/server-nodejs/examples/teams/delete.md index 6f1dfaa61d..ad35874815 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/teams/delete.md +++ b/docs/examples/1.2.x/server-nodejs/examples/teams/delete.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/teams/get-membership.md b/docs/examples/1.2.x/server-nodejs/examples/teams/get-membership.md index d31aa9a8b6..d2e12d6ef6 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/teams/get-membership.md +++ b/docs/examples/1.2.x/server-nodejs/examples/teams/get-membership.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/teams/get.md b/docs/examples/1.2.x/server-nodejs/examples/teams/get.md index 0d34943242..d162cdceeb 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/teams/get.md +++ b/docs/examples/1.2.x/server-nodejs/examples/teams/get.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/teams/list-memberships.md b/docs/examples/1.2.x/server-nodejs/examples/teams/list-memberships.md index ca25bcbd25..9ff92c68ff 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/teams/list-memberships.md +++ b/docs/examples/1.2.x/server-nodejs/examples/teams/list-memberships.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/teams/list.md b/docs/examples/1.2.x/server-nodejs/examples/teams/list.md index 8610bc7dc4..e3ad03e16e 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/teams/list.md +++ b/docs/examples/1.2.x/server-nodejs/examples/teams/list.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/teams/update-membership-roles.md b/docs/examples/1.2.x/server-nodejs/examples/teams/update-membership-roles.md index 26551fe0b6..93b0f23aba 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/teams/update-membership-roles.md +++ b/docs/examples/1.2.x/server-nodejs/examples/teams/update-membership-roles.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/teams/update-membership-status.md b/docs/examples/1.2.x/server-nodejs/examples/teams/update-membership-status.md index 6c46e786a0..b3c4b64f09 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/teams/update-membership-status.md +++ b/docs/examples/1.2.x/server-nodejs/examples/teams/update-membership-status.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/teams/update.md b/docs/examples/1.2.x/server-nodejs/examples/teams/update.md index 8192c224f3..2f518f4afd 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/teams/update.md +++ b/docs/examples/1.2.x/server-nodejs/examples/teams/update.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/users/create-argon2user.md b/docs/examples/1.2.x/server-nodejs/examples/users/create-argon2user.md index 2762cc0112..17403fa229 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/users/create-argon2user.md +++ b/docs/examples/1.2.x/server-nodejs/examples/users/create-argon2user.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/users/create-bcrypt-user.md b/docs/examples/1.2.x/server-nodejs/examples/users/create-bcrypt-user.md index 7bbdd3b883..90f2efe43a 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.2.x/server-nodejs/examples/users/create-bcrypt-user.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/users/create-m-d5user.md b/docs/examples/1.2.x/server-nodejs/examples/users/create-m-d5user.md index 0661743da2..fdbc0f3040 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/users/create-m-d5user.md +++ b/docs/examples/1.2.x/server-nodejs/examples/users/create-m-d5user.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/users/create-p-h-pass-user.md b/docs/examples/1.2.x/server-nodejs/examples/users/create-p-h-pass-user.md index 37bd7e70c5..70789ec2dd 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.2.x/server-nodejs/examples/users/create-p-h-pass-user.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/users/create-s-h-a-user.md b/docs/examples/1.2.x/server-nodejs/examples/users/create-s-h-a-user.md index 1d0502598b..5b96402710 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.2.x/server-nodejs/examples/users/create-s-h-a-user.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/users/create-scrypt-modified-user.md b/docs/examples/1.2.x/server-nodejs/examples/users/create-scrypt-modified-user.md index 5a0153ec9a..ffbab8e176 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.2.x/server-nodejs/examples/users/create-scrypt-modified-user.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/users/create-scrypt-user.md b/docs/examples/1.2.x/server-nodejs/examples/users/create-scrypt-user.md index 83ec8d3d78..ae10dc5eee 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/users/create-scrypt-user.md +++ b/docs/examples/1.2.x/server-nodejs/examples/users/create-scrypt-user.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/users/create.md b/docs/examples/1.2.x/server-nodejs/examples/users/create.md index 65ab3fae41..ceb01f3735 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/users/create.md +++ b/docs/examples/1.2.x/server-nodejs/examples/users/create.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/users/delete-session.md b/docs/examples/1.2.x/server-nodejs/examples/users/delete-session.md index 18617ba2e8..c5ad8e39fd 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/users/delete-session.md +++ b/docs/examples/1.2.x/server-nodejs/examples/users/delete-session.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/users/delete-sessions.md b/docs/examples/1.2.x/server-nodejs/examples/users/delete-sessions.md index c804d7ddcf..7265c131f8 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/users/delete-sessions.md +++ b/docs/examples/1.2.x/server-nodejs/examples/users/delete-sessions.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/users/delete.md b/docs/examples/1.2.x/server-nodejs/examples/users/delete.md index 53606a7a0a..a1e694a3de 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/users/delete.md +++ b/docs/examples/1.2.x/server-nodejs/examples/users/delete.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/users/get-prefs.md b/docs/examples/1.2.x/server-nodejs/examples/users/get-prefs.md index c60db8ac77..4683f2fe24 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/users/get-prefs.md +++ b/docs/examples/1.2.x/server-nodejs/examples/users/get-prefs.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/users/get.md b/docs/examples/1.2.x/server-nodejs/examples/users/get.md index 3bad599d4d..27fd6b7464 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/users/get.md +++ b/docs/examples/1.2.x/server-nodejs/examples/users/get.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/users/list-logs.md b/docs/examples/1.2.x/server-nodejs/examples/users/list-logs.md index 0f76626c6e..40a1c8c8ba 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/users/list-logs.md +++ b/docs/examples/1.2.x/server-nodejs/examples/users/list-logs.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/users/list-memberships.md b/docs/examples/1.2.x/server-nodejs/examples/users/list-memberships.md index 81e0c4bc8f..6a83ec2857 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/users/list-memberships.md +++ b/docs/examples/1.2.x/server-nodejs/examples/users/list-memberships.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/users/list-sessions.md b/docs/examples/1.2.x/server-nodejs/examples/users/list-sessions.md index b44341bcbe..17d38f8c0e 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/users/list-sessions.md +++ b/docs/examples/1.2.x/server-nodejs/examples/users/list-sessions.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/users/list.md b/docs/examples/1.2.x/server-nodejs/examples/users/list.md index a9ba208d2e..016df4aa37 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/users/list.md +++ b/docs/examples/1.2.x/server-nodejs/examples/users/list.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/users/update-email-verification.md b/docs/examples/1.2.x/server-nodejs/examples/users/update-email-verification.md index 29c3e26593..c48ca4426e 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/users/update-email-verification.md +++ b/docs/examples/1.2.x/server-nodejs/examples/users/update-email-verification.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/users/update-email.md b/docs/examples/1.2.x/server-nodejs/examples/users/update-email.md index 5cef6fb5ec..726d191e8d 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/users/update-email.md +++ b/docs/examples/1.2.x/server-nodejs/examples/users/update-email.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/users/update-name.md b/docs/examples/1.2.x/server-nodejs/examples/users/update-name.md index ea33b7ed51..49140677fd 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/users/update-name.md +++ b/docs/examples/1.2.x/server-nodejs/examples/users/update-name.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/users/update-password.md b/docs/examples/1.2.x/server-nodejs/examples/users/update-password.md index e655eea2de..d95cf5fb54 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/users/update-password.md +++ b/docs/examples/1.2.x/server-nodejs/examples/users/update-password.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/users/update-phone-verification.md b/docs/examples/1.2.x/server-nodejs/examples/users/update-phone-verification.md index e6a95f93f8..bb2ddeccf7 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/users/update-phone-verification.md +++ b/docs/examples/1.2.x/server-nodejs/examples/users/update-phone-verification.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/users/update-phone.md b/docs/examples/1.2.x/server-nodejs/examples/users/update-phone.md index 8db9863c00..6957b6d666 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/users/update-phone.md +++ b/docs/examples/1.2.x/server-nodejs/examples/users/update-phone.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/users/update-prefs.md b/docs/examples/1.2.x/server-nodejs/examples/users/update-prefs.md index 75f1a4298c..643ebee220 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/users/update-prefs.md +++ b/docs/examples/1.2.x/server-nodejs/examples/users/update-prefs.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-nodejs/examples/users/update-status.md b/docs/examples/1.2.x/server-nodejs/examples/users/update-status.md index ac52d732ea..1b914dba72 100644 --- a/docs/examples/1.2.x/server-nodejs/examples/users/update-status.md +++ b/docs/examples/1.2.x/server-nodejs/examples/users/update-status.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/account/create-phone-verification.md b/docs/examples/1.2.x/server-php/examples/account/create-phone-verification.md index 1c41a30ce8..30d1637174 100644 --- a/docs/examples/1.2.x/server-php/examples/account/create-phone-verification.md +++ b/docs/examples/1.2.x/server-php/examples/account/create-phone-verification.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-php/examples/account/create-recovery.md b/docs/examples/1.2.x/server-php/examples/account/create-recovery.md index 8ca78fc37b..513037c533 100644 --- a/docs/examples/1.2.x/server-php/examples/account/create-recovery.md +++ b/docs/examples/1.2.x/server-php/examples/account/create-recovery.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-php/examples/account/create-verification.md b/docs/examples/1.2.x/server-php/examples/account/create-verification.md index 92fb38151c..4785065601 100644 --- a/docs/examples/1.2.x/server-php/examples/account/create-verification.md +++ b/docs/examples/1.2.x/server-php/examples/account/create-verification.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-php/examples/account/delete-session.md b/docs/examples/1.2.x/server-php/examples/account/delete-session.md index 51bf3e2d41..74847d73b7 100644 --- a/docs/examples/1.2.x/server-php/examples/account/delete-session.md +++ b/docs/examples/1.2.x/server-php/examples/account/delete-session.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-php/examples/account/delete-sessions.md b/docs/examples/1.2.x/server-php/examples/account/delete-sessions.md index bf3bc2a300..af4b46dbb6 100644 --- a/docs/examples/1.2.x/server-php/examples/account/delete-sessions.md +++ b/docs/examples/1.2.x/server-php/examples/account/delete-sessions.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-php/examples/account/get-prefs.md b/docs/examples/1.2.x/server-php/examples/account/get-prefs.md index a91b888723..50ffc766d3 100644 --- a/docs/examples/1.2.x/server-php/examples/account/get-prefs.md +++ b/docs/examples/1.2.x/server-php/examples/account/get-prefs.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-php/examples/account/get-session.md b/docs/examples/1.2.x/server-php/examples/account/get-session.md index 9e2341ce08..e2112ee4cd 100644 --- a/docs/examples/1.2.x/server-php/examples/account/get-session.md +++ b/docs/examples/1.2.x/server-php/examples/account/get-session.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-php/examples/account/get.md b/docs/examples/1.2.x/server-php/examples/account/get.md index 4333bf2e73..b9361063ce 100644 --- a/docs/examples/1.2.x/server-php/examples/account/get.md +++ b/docs/examples/1.2.x/server-php/examples/account/get.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-php/examples/account/list-logs.md b/docs/examples/1.2.x/server-php/examples/account/list-logs.md index 62bc86d668..1283d9cfd4 100644 --- a/docs/examples/1.2.x/server-php/examples/account/list-logs.md +++ b/docs/examples/1.2.x/server-php/examples/account/list-logs.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-php/examples/account/list-sessions.md b/docs/examples/1.2.x/server-php/examples/account/list-sessions.md index 7942a3de2a..a07d303fe9 100644 --- a/docs/examples/1.2.x/server-php/examples/account/list-sessions.md +++ b/docs/examples/1.2.x/server-php/examples/account/list-sessions.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-php/examples/account/update-email.md b/docs/examples/1.2.x/server-php/examples/account/update-email.md index a7ac5ede7d..a6bf5f6c24 100644 --- a/docs/examples/1.2.x/server-php/examples/account/update-email.md +++ b/docs/examples/1.2.x/server-php/examples/account/update-email.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-php/examples/account/update-name.md b/docs/examples/1.2.x/server-php/examples/account/update-name.md index 21bac94900..17f5189412 100644 --- a/docs/examples/1.2.x/server-php/examples/account/update-name.md +++ b/docs/examples/1.2.x/server-php/examples/account/update-name.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-php/examples/account/update-password.md b/docs/examples/1.2.x/server-php/examples/account/update-password.md index 11c6b48041..4b17a818d2 100644 --- a/docs/examples/1.2.x/server-php/examples/account/update-password.md +++ b/docs/examples/1.2.x/server-php/examples/account/update-password.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-php/examples/account/update-phone-verification.md b/docs/examples/1.2.x/server-php/examples/account/update-phone-verification.md index 02458727a5..466f516464 100644 --- a/docs/examples/1.2.x/server-php/examples/account/update-phone-verification.md +++ b/docs/examples/1.2.x/server-php/examples/account/update-phone-verification.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-php/examples/account/update-phone.md b/docs/examples/1.2.x/server-php/examples/account/update-phone.md index eaa1898512..75947cdf53 100644 --- a/docs/examples/1.2.x/server-php/examples/account/update-phone.md +++ b/docs/examples/1.2.x/server-php/examples/account/update-phone.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-php/examples/account/update-prefs.md b/docs/examples/1.2.x/server-php/examples/account/update-prefs.md index 96d0be5781..f7687416f2 100644 --- a/docs/examples/1.2.x/server-php/examples/account/update-prefs.md +++ b/docs/examples/1.2.x/server-php/examples/account/update-prefs.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-php/examples/account/update-recovery.md b/docs/examples/1.2.x/server-php/examples/account/update-recovery.md index 379b219e6d..0f8285654b 100644 --- a/docs/examples/1.2.x/server-php/examples/account/update-recovery.md +++ b/docs/examples/1.2.x/server-php/examples/account/update-recovery.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-php/examples/account/update-session.md b/docs/examples/1.2.x/server-php/examples/account/update-session.md index 462be6b914..264e6b6435 100644 --- a/docs/examples/1.2.x/server-php/examples/account/update-session.md +++ b/docs/examples/1.2.x/server-php/examples/account/update-session.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-php/examples/account/update-status.md b/docs/examples/1.2.x/server-php/examples/account/update-status.md index b1a1f2c8ec..ecfb4b56fa 100644 --- a/docs/examples/1.2.x/server-php/examples/account/update-status.md +++ b/docs/examples/1.2.x/server-php/examples/account/update-status.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-php/examples/account/update-verification.md b/docs/examples/1.2.x/server-php/examples/account/update-verification.md index ad583a422e..81a86041fd 100644 --- a/docs/examples/1.2.x/server-php/examples/account/update-verification.md +++ b/docs/examples/1.2.x/server-php/examples/account/update-verification.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-php/examples/avatars/get-browser.md b/docs/examples/1.2.x/server-php/examples/avatars/get-browser.md index 362106f645..dc92f02acf 100644 --- a/docs/examples/1.2.x/server-php/examples/avatars/get-browser.md +++ b/docs/examples/1.2.x/server-php/examples/avatars/get-browser.md @@ -6,7 +6,7 @@ use Appwrite\Services\Avatars; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/avatars/get-credit-card.md b/docs/examples/1.2.x/server-php/examples/avatars/get-credit-card.md index c85ebeac2e..6808432f42 100644 --- a/docs/examples/1.2.x/server-php/examples/avatars/get-credit-card.md +++ b/docs/examples/1.2.x/server-php/examples/avatars/get-credit-card.md @@ -6,7 +6,7 @@ use Appwrite\Services\Avatars; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/avatars/get-favicon.md b/docs/examples/1.2.x/server-php/examples/avatars/get-favicon.md index 088524e051..4266898e6a 100644 --- a/docs/examples/1.2.x/server-php/examples/avatars/get-favicon.md +++ b/docs/examples/1.2.x/server-php/examples/avatars/get-favicon.md @@ -6,7 +6,7 @@ use Appwrite\Services\Avatars; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/avatars/get-flag.md b/docs/examples/1.2.x/server-php/examples/avatars/get-flag.md index 2f2705b61f..df76fff7d8 100644 --- a/docs/examples/1.2.x/server-php/examples/avatars/get-flag.md +++ b/docs/examples/1.2.x/server-php/examples/avatars/get-flag.md @@ -6,7 +6,7 @@ use Appwrite\Services\Avatars; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/avatars/get-image.md b/docs/examples/1.2.x/server-php/examples/avatars/get-image.md index d576232a42..bc0b285de5 100644 --- a/docs/examples/1.2.x/server-php/examples/avatars/get-image.md +++ b/docs/examples/1.2.x/server-php/examples/avatars/get-image.md @@ -6,7 +6,7 @@ use Appwrite\Services\Avatars; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/avatars/get-initials.md b/docs/examples/1.2.x/server-php/examples/avatars/get-initials.md index 4e924c7062..eafe65f3d7 100644 --- a/docs/examples/1.2.x/server-php/examples/avatars/get-initials.md +++ b/docs/examples/1.2.x/server-php/examples/avatars/get-initials.md @@ -6,7 +6,7 @@ use Appwrite\Services\Avatars; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/avatars/get-q-r.md b/docs/examples/1.2.x/server-php/examples/avatars/get-q-r.md index fde6e35b77..ff2bbf4a38 100644 --- a/docs/examples/1.2.x/server-php/examples/avatars/get-q-r.md +++ b/docs/examples/1.2.x/server-php/examples/avatars/get-q-r.md @@ -6,7 +6,7 @@ use Appwrite\Services\Avatars; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/databases/create-boolean-attribute.md b/docs/examples/1.2.x/server-php/examples/databases/create-boolean-attribute.md index 17c92241b4..7ea50ba378 100644 --- a/docs/examples/1.2.x/server-php/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.2.x/server-php/examples/databases/create-boolean-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/databases/create-collection.md b/docs/examples/1.2.x/server-php/examples/databases/create-collection.md index 2fd5fb61c0..7bf6139f45 100644 --- a/docs/examples/1.2.x/server-php/examples/databases/create-collection.md +++ b/docs/examples/1.2.x/server-php/examples/databases/create-collection.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/databases/create-datetime-attribute.md b/docs/examples/1.2.x/server-php/examples/databases/create-datetime-attribute.md index 284163c266..8cff5f1897 100644 --- a/docs/examples/1.2.x/server-php/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.2.x/server-php/examples/databases/create-datetime-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/databases/create-document.md b/docs/examples/1.2.x/server-php/examples/databases/create-document.md index 509160b9ad..b5ed74d1d8 100644 --- a/docs/examples/1.2.x/server-php/examples/databases/create-document.md +++ b/docs/examples/1.2.x/server-php/examples/databases/create-document.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/databases/create-email-attribute.md b/docs/examples/1.2.x/server-php/examples/databases/create-email-attribute.md index df68be7fb0..2fef5160db 100644 --- a/docs/examples/1.2.x/server-php/examples/databases/create-email-attribute.md +++ b/docs/examples/1.2.x/server-php/examples/databases/create-email-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/databases/create-enum-attribute.md b/docs/examples/1.2.x/server-php/examples/databases/create-enum-attribute.md index c469679fd7..baeeb8edfb 100644 --- a/docs/examples/1.2.x/server-php/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.2.x/server-php/examples/databases/create-enum-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/databases/create-float-attribute.md b/docs/examples/1.2.x/server-php/examples/databases/create-float-attribute.md index c182d0a774..177647813c 100644 --- a/docs/examples/1.2.x/server-php/examples/databases/create-float-attribute.md +++ b/docs/examples/1.2.x/server-php/examples/databases/create-float-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/databases/create-index.md b/docs/examples/1.2.x/server-php/examples/databases/create-index.md index 6ecd4cc58b..4046c511a7 100644 --- a/docs/examples/1.2.x/server-php/examples/databases/create-index.md +++ b/docs/examples/1.2.x/server-php/examples/databases/create-index.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/databases/create-integer-attribute.md b/docs/examples/1.2.x/server-php/examples/databases/create-integer-attribute.md index d86ca7056b..8e5c54ec5a 100644 --- a/docs/examples/1.2.x/server-php/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.2.x/server-php/examples/databases/create-integer-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/databases/create-ip-attribute.md b/docs/examples/1.2.x/server-php/examples/databases/create-ip-attribute.md index 823fa99482..fe55cfe204 100644 --- a/docs/examples/1.2.x/server-php/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.2.x/server-php/examples/databases/create-ip-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/databases/create-string-attribute.md b/docs/examples/1.2.x/server-php/examples/databases/create-string-attribute.md index 50abd0a18d..7be05ee07e 100644 --- a/docs/examples/1.2.x/server-php/examples/databases/create-string-attribute.md +++ b/docs/examples/1.2.x/server-php/examples/databases/create-string-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/databases/create-url-attribute.md b/docs/examples/1.2.x/server-php/examples/databases/create-url-attribute.md index 5520cb1334..2380d74c43 100644 --- a/docs/examples/1.2.x/server-php/examples/databases/create-url-attribute.md +++ b/docs/examples/1.2.x/server-php/examples/databases/create-url-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/databases/create.md b/docs/examples/1.2.x/server-php/examples/databases/create.md index 16176b9b40..f05690391a 100644 --- a/docs/examples/1.2.x/server-php/examples/databases/create.md +++ b/docs/examples/1.2.x/server-php/examples/databases/create.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/databases/delete-attribute.md b/docs/examples/1.2.x/server-php/examples/databases/delete-attribute.md index d89c7de4f7..e46374ca42 100644 --- a/docs/examples/1.2.x/server-php/examples/databases/delete-attribute.md +++ b/docs/examples/1.2.x/server-php/examples/databases/delete-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/databases/delete-collection.md b/docs/examples/1.2.x/server-php/examples/databases/delete-collection.md index 29c627bbf0..f5ffb2c75a 100644 --- a/docs/examples/1.2.x/server-php/examples/databases/delete-collection.md +++ b/docs/examples/1.2.x/server-php/examples/databases/delete-collection.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/databases/delete-document.md b/docs/examples/1.2.x/server-php/examples/databases/delete-document.md index 9d5f1f0d51..523d3b5e0e 100644 --- a/docs/examples/1.2.x/server-php/examples/databases/delete-document.md +++ b/docs/examples/1.2.x/server-php/examples/databases/delete-document.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/databases/delete-index.md b/docs/examples/1.2.x/server-php/examples/databases/delete-index.md index 073aa3a82e..5739f5ce6b 100644 --- a/docs/examples/1.2.x/server-php/examples/databases/delete-index.md +++ b/docs/examples/1.2.x/server-php/examples/databases/delete-index.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/databases/delete.md b/docs/examples/1.2.x/server-php/examples/databases/delete.md index 3dab79bc99..0cc8b06106 100644 --- a/docs/examples/1.2.x/server-php/examples/databases/delete.md +++ b/docs/examples/1.2.x/server-php/examples/databases/delete.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/databases/get-attribute.md b/docs/examples/1.2.x/server-php/examples/databases/get-attribute.md index c286a7692a..5a109b7594 100644 --- a/docs/examples/1.2.x/server-php/examples/databases/get-attribute.md +++ b/docs/examples/1.2.x/server-php/examples/databases/get-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/databases/get-collection.md b/docs/examples/1.2.x/server-php/examples/databases/get-collection.md index 7cc578df8d..6d665e4601 100644 --- a/docs/examples/1.2.x/server-php/examples/databases/get-collection.md +++ b/docs/examples/1.2.x/server-php/examples/databases/get-collection.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/databases/get-document.md b/docs/examples/1.2.x/server-php/examples/databases/get-document.md index 7637e035e2..0397d6cbd5 100644 --- a/docs/examples/1.2.x/server-php/examples/databases/get-document.md +++ b/docs/examples/1.2.x/server-php/examples/databases/get-document.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/databases/get-index.md b/docs/examples/1.2.x/server-php/examples/databases/get-index.md index a674a5935e..ff39044a1f 100644 --- a/docs/examples/1.2.x/server-php/examples/databases/get-index.md +++ b/docs/examples/1.2.x/server-php/examples/databases/get-index.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/databases/get.md b/docs/examples/1.2.x/server-php/examples/databases/get.md index adc415f9a5..f87400b7dd 100644 --- a/docs/examples/1.2.x/server-php/examples/databases/get.md +++ b/docs/examples/1.2.x/server-php/examples/databases/get.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/databases/list-attributes.md b/docs/examples/1.2.x/server-php/examples/databases/list-attributes.md index 424c4b2405..decd393944 100644 --- a/docs/examples/1.2.x/server-php/examples/databases/list-attributes.md +++ b/docs/examples/1.2.x/server-php/examples/databases/list-attributes.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/databases/list-collections.md b/docs/examples/1.2.x/server-php/examples/databases/list-collections.md index 3f311f3138..7c0810a073 100644 --- a/docs/examples/1.2.x/server-php/examples/databases/list-collections.md +++ b/docs/examples/1.2.x/server-php/examples/databases/list-collections.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/databases/list-documents.md b/docs/examples/1.2.x/server-php/examples/databases/list-documents.md index c9a6bbe4ff..c2a1d47d2a 100644 --- a/docs/examples/1.2.x/server-php/examples/databases/list-documents.md +++ b/docs/examples/1.2.x/server-php/examples/databases/list-documents.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/databases/list-indexes.md b/docs/examples/1.2.x/server-php/examples/databases/list-indexes.md index 733d20b933..ecf4797d65 100644 --- a/docs/examples/1.2.x/server-php/examples/databases/list-indexes.md +++ b/docs/examples/1.2.x/server-php/examples/databases/list-indexes.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/databases/list.md b/docs/examples/1.2.x/server-php/examples/databases/list.md index 45963718d3..6882d17e97 100644 --- a/docs/examples/1.2.x/server-php/examples/databases/list.md +++ b/docs/examples/1.2.x/server-php/examples/databases/list.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/databases/update-collection.md b/docs/examples/1.2.x/server-php/examples/databases/update-collection.md index 878bf20986..9eedede688 100644 --- a/docs/examples/1.2.x/server-php/examples/databases/update-collection.md +++ b/docs/examples/1.2.x/server-php/examples/databases/update-collection.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/databases/update-document.md b/docs/examples/1.2.x/server-php/examples/databases/update-document.md index 796e4600eb..56310e155f 100644 --- a/docs/examples/1.2.x/server-php/examples/databases/update-document.md +++ b/docs/examples/1.2.x/server-php/examples/databases/update-document.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/databases/update.md b/docs/examples/1.2.x/server-php/examples/databases/update.md index db1ae7688e..b1f0589be9 100644 --- a/docs/examples/1.2.x/server-php/examples/databases/update.md +++ b/docs/examples/1.2.x/server-php/examples/databases/update.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/functions/create-build.md b/docs/examples/1.2.x/server-php/examples/functions/create-build.md index ac66cc2eb2..cc83570c3a 100644 --- a/docs/examples/1.2.x/server-php/examples/functions/create-build.md +++ b/docs/examples/1.2.x/server-php/examples/functions/create-build.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/functions/create-deployment.md b/docs/examples/1.2.x/server-php/examples/functions/create-deployment.md index a556cace24..f23873acb8 100644 --- a/docs/examples/1.2.x/server-php/examples/functions/create-deployment.md +++ b/docs/examples/1.2.x/server-php/examples/functions/create-deployment.md @@ -7,7 +7,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/functions/create-execution.md b/docs/examples/1.2.x/server-php/examples/functions/create-execution.md index 038126a728..bc6138825f 100644 --- a/docs/examples/1.2.x/server-php/examples/functions/create-execution.md +++ b/docs/examples/1.2.x/server-php/examples/functions/create-execution.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/functions/create-variable.md b/docs/examples/1.2.x/server-php/examples/functions/create-variable.md index f09e61861e..57244ec1f4 100644 --- a/docs/examples/1.2.x/server-php/examples/functions/create-variable.md +++ b/docs/examples/1.2.x/server-php/examples/functions/create-variable.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/functions/create.md b/docs/examples/1.2.x/server-php/examples/functions/create.md index 7fef274c7d..29da02c182 100644 --- a/docs/examples/1.2.x/server-php/examples/functions/create.md +++ b/docs/examples/1.2.x/server-php/examples/functions/create.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/functions/delete-deployment.md b/docs/examples/1.2.x/server-php/examples/functions/delete-deployment.md index 7227cd995f..bbc65aada1 100644 --- a/docs/examples/1.2.x/server-php/examples/functions/delete-deployment.md +++ b/docs/examples/1.2.x/server-php/examples/functions/delete-deployment.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/functions/delete-variable.md b/docs/examples/1.2.x/server-php/examples/functions/delete-variable.md index a457846492..42376a0e9f 100644 --- a/docs/examples/1.2.x/server-php/examples/functions/delete-variable.md +++ b/docs/examples/1.2.x/server-php/examples/functions/delete-variable.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/functions/delete.md b/docs/examples/1.2.x/server-php/examples/functions/delete.md index d06c732f57..2abe85b75d 100644 --- a/docs/examples/1.2.x/server-php/examples/functions/delete.md +++ b/docs/examples/1.2.x/server-php/examples/functions/delete.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/functions/get-deployment.md b/docs/examples/1.2.x/server-php/examples/functions/get-deployment.md index 4c4fe49eb3..19f4d58392 100644 --- a/docs/examples/1.2.x/server-php/examples/functions/get-deployment.md +++ b/docs/examples/1.2.x/server-php/examples/functions/get-deployment.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/functions/get-execution.md b/docs/examples/1.2.x/server-php/examples/functions/get-execution.md index ff59dc1cfe..994f2be976 100644 --- a/docs/examples/1.2.x/server-php/examples/functions/get-execution.md +++ b/docs/examples/1.2.x/server-php/examples/functions/get-execution.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/functions/get-variable.md b/docs/examples/1.2.x/server-php/examples/functions/get-variable.md index e80b8f9fc0..34012f9fbb 100644 --- a/docs/examples/1.2.x/server-php/examples/functions/get-variable.md +++ b/docs/examples/1.2.x/server-php/examples/functions/get-variable.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/functions/get.md b/docs/examples/1.2.x/server-php/examples/functions/get.md index aef5806259..2f5e69b142 100644 --- a/docs/examples/1.2.x/server-php/examples/functions/get.md +++ b/docs/examples/1.2.x/server-php/examples/functions/get.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/functions/list-deployments.md b/docs/examples/1.2.x/server-php/examples/functions/list-deployments.md index 366e5fdc71..db4524430b 100644 --- a/docs/examples/1.2.x/server-php/examples/functions/list-deployments.md +++ b/docs/examples/1.2.x/server-php/examples/functions/list-deployments.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/functions/list-executions.md b/docs/examples/1.2.x/server-php/examples/functions/list-executions.md index 34a80ad434..f431a4a937 100644 --- a/docs/examples/1.2.x/server-php/examples/functions/list-executions.md +++ b/docs/examples/1.2.x/server-php/examples/functions/list-executions.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/functions/list-runtimes.md b/docs/examples/1.2.x/server-php/examples/functions/list-runtimes.md index b35dadfec9..23089ec3ea 100644 --- a/docs/examples/1.2.x/server-php/examples/functions/list-runtimes.md +++ b/docs/examples/1.2.x/server-php/examples/functions/list-runtimes.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/functions/list-variables.md b/docs/examples/1.2.x/server-php/examples/functions/list-variables.md index cf74289157..aa84e28a6d 100644 --- a/docs/examples/1.2.x/server-php/examples/functions/list-variables.md +++ b/docs/examples/1.2.x/server-php/examples/functions/list-variables.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/functions/list.md b/docs/examples/1.2.x/server-php/examples/functions/list.md index f57875572e..0592572135 100644 --- a/docs/examples/1.2.x/server-php/examples/functions/list.md +++ b/docs/examples/1.2.x/server-php/examples/functions/list.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/functions/update-deployment.md b/docs/examples/1.2.x/server-php/examples/functions/update-deployment.md index b5f09cd018..3e259458ff 100644 --- a/docs/examples/1.2.x/server-php/examples/functions/update-deployment.md +++ b/docs/examples/1.2.x/server-php/examples/functions/update-deployment.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/functions/update-variable.md b/docs/examples/1.2.x/server-php/examples/functions/update-variable.md index 4eb52d94d3..f1952d8b5c 100644 --- a/docs/examples/1.2.x/server-php/examples/functions/update-variable.md +++ b/docs/examples/1.2.x/server-php/examples/functions/update-variable.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/functions/update.md b/docs/examples/1.2.x/server-php/examples/functions/update.md index 52f15eecb7..2b3d587887 100644 --- a/docs/examples/1.2.x/server-php/examples/functions/update.md +++ b/docs/examples/1.2.x/server-php/examples/functions/update.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/graphql/63a08ed7b8f61.md b/docs/examples/1.2.x/server-php/examples/graphql/63a08ed7b8f61.md index 9201301629..08987244c5 100644 --- a/docs/examples/1.2.x/server-php/examples/graphql/63a08ed7b8f61.md +++ b/docs/examples/1.2.x/server-php/examples/graphql/63a08ed7b8f61.md @@ -6,7 +6,7 @@ use Appwrite\Services\Graphql; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/graphql/get.md b/docs/examples/1.2.x/server-php/examples/graphql/get.md index 950096be81..7edc12727c 100644 --- a/docs/examples/1.2.x/server-php/examples/graphql/get.md +++ b/docs/examples/1.2.x/server-php/examples/graphql/get.md @@ -6,7 +6,7 @@ use Appwrite\Services\Graphql; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/graphql/mutation.md b/docs/examples/1.2.x/server-php/examples/graphql/mutation.md index 5622f7f269..f75d53e86c 100644 --- a/docs/examples/1.2.x/server-php/examples/graphql/mutation.md +++ b/docs/examples/1.2.x/server-php/examples/graphql/mutation.md @@ -6,7 +6,7 @@ use Appwrite\Services\Graphql; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/graphql/query.md b/docs/examples/1.2.x/server-php/examples/graphql/query.md index 3ca1d940c4..369dcbd47e 100644 --- a/docs/examples/1.2.x/server-php/examples/graphql/query.md +++ b/docs/examples/1.2.x/server-php/examples/graphql/query.md @@ -6,7 +6,7 @@ use Appwrite\Services\Graphql; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/health/get-antivirus.md b/docs/examples/1.2.x/server-php/examples/health/get-antivirus.md index 4f1483514b..f31c642d9f 100644 --- a/docs/examples/1.2.x/server-php/examples/health/get-antivirus.md +++ b/docs/examples/1.2.x/server-php/examples/health/get-antivirus.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/health/get-cache.md b/docs/examples/1.2.x/server-php/examples/health/get-cache.md index 3d1b19b3ef..90cc8d8686 100644 --- a/docs/examples/1.2.x/server-php/examples/health/get-cache.md +++ b/docs/examples/1.2.x/server-php/examples/health/get-cache.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/health/get-d-b.md b/docs/examples/1.2.x/server-php/examples/health/get-d-b.md index c03ba23723..1ff93f4707 100644 --- a/docs/examples/1.2.x/server-php/examples/health/get-d-b.md +++ b/docs/examples/1.2.x/server-php/examples/health/get-d-b.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/health/get-queue-certificates.md b/docs/examples/1.2.x/server-php/examples/health/get-queue-certificates.md index 76236de7b5..e58ba39c47 100644 --- a/docs/examples/1.2.x/server-php/examples/health/get-queue-certificates.md +++ b/docs/examples/1.2.x/server-php/examples/health/get-queue-certificates.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/health/get-queue-functions.md b/docs/examples/1.2.x/server-php/examples/health/get-queue-functions.md index 31f65de1d1..699b4d390c 100644 --- a/docs/examples/1.2.x/server-php/examples/health/get-queue-functions.md +++ b/docs/examples/1.2.x/server-php/examples/health/get-queue-functions.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/health/get-queue-logs.md b/docs/examples/1.2.x/server-php/examples/health/get-queue-logs.md index ff1adb2a41..f55e861176 100644 --- a/docs/examples/1.2.x/server-php/examples/health/get-queue-logs.md +++ b/docs/examples/1.2.x/server-php/examples/health/get-queue-logs.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/health/get-queue-webhooks.md b/docs/examples/1.2.x/server-php/examples/health/get-queue-webhooks.md index 99592bcfac..838f442822 100644 --- a/docs/examples/1.2.x/server-php/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.2.x/server-php/examples/health/get-queue-webhooks.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/health/get-storage-local.md b/docs/examples/1.2.x/server-php/examples/health/get-storage-local.md index 55212c36ae..f156c7a6fe 100644 --- a/docs/examples/1.2.x/server-php/examples/health/get-storage-local.md +++ b/docs/examples/1.2.x/server-php/examples/health/get-storage-local.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/health/get-time.md b/docs/examples/1.2.x/server-php/examples/health/get-time.md index 5410124786..2efbd2d237 100644 --- a/docs/examples/1.2.x/server-php/examples/health/get-time.md +++ b/docs/examples/1.2.x/server-php/examples/health/get-time.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/health/get.md b/docs/examples/1.2.x/server-php/examples/health/get.md index 62cab8acf2..9a080c8e4d 100644 --- a/docs/examples/1.2.x/server-php/examples/health/get.md +++ b/docs/examples/1.2.x/server-php/examples/health/get.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/locale/get.md b/docs/examples/1.2.x/server-php/examples/locale/get.md index c4910463c5..3a8e04cc53 100644 --- a/docs/examples/1.2.x/server-php/examples/locale/get.md +++ b/docs/examples/1.2.x/server-php/examples/locale/get.md @@ -6,7 +6,7 @@ use Appwrite\Services\Locale; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/locale/list-continents.md b/docs/examples/1.2.x/server-php/examples/locale/list-continents.md index 9cd8fb1399..1103c8b847 100644 --- a/docs/examples/1.2.x/server-php/examples/locale/list-continents.md +++ b/docs/examples/1.2.x/server-php/examples/locale/list-continents.md @@ -6,7 +6,7 @@ use Appwrite\Services\Locale; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/locale/list-countries-e-u.md b/docs/examples/1.2.x/server-php/examples/locale/list-countries-e-u.md index 1f2ef98c96..7ad6b05299 100644 --- a/docs/examples/1.2.x/server-php/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.2.x/server-php/examples/locale/list-countries-e-u.md @@ -6,7 +6,7 @@ use Appwrite\Services\Locale; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/locale/list-countries-phones.md b/docs/examples/1.2.x/server-php/examples/locale/list-countries-phones.md index 6f8acb7467..3f5154c98c 100644 --- a/docs/examples/1.2.x/server-php/examples/locale/list-countries-phones.md +++ b/docs/examples/1.2.x/server-php/examples/locale/list-countries-phones.md @@ -6,7 +6,7 @@ use Appwrite\Services\Locale; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/locale/list-countries.md b/docs/examples/1.2.x/server-php/examples/locale/list-countries.md index 28c518e82a..4abf4cc491 100644 --- a/docs/examples/1.2.x/server-php/examples/locale/list-countries.md +++ b/docs/examples/1.2.x/server-php/examples/locale/list-countries.md @@ -6,7 +6,7 @@ use Appwrite\Services\Locale; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/locale/list-currencies.md b/docs/examples/1.2.x/server-php/examples/locale/list-currencies.md index 37784f3d1e..8b115f898c 100644 --- a/docs/examples/1.2.x/server-php/examples/locale/list-currencies.md +++ b/docs/examples/1.2.x/server-php/examples/locale/list-currencies.md @@ -6,7 +6,7 @@ use Appwrite\Services\Locale; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/locale/list-languages.md b/docs/examples/1.2.x/server-php/examples/locale/list-languages.md index 8b4f082cb0..74347ff87b 100644 --- a/docs/examples/1.2.x/server-php/examples/locale/list-languages.md +++ b/docs/examples/1.2.x/server-php/examples/locale/list-languages.md @@ -6,7 +6,7 @@ use Appwrite\Services\Locale; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/storage/create-bucket.md b/docs/examples/1.2.x/server-php/examples/storage/create-bucket.md index bf54c22a47..3e43cd52b4 100644 --- a/docs/examples/1.2.x/server-php/examples/storage/create-bucket.md +++ b/docs/examples/1.2.x/server-php/examples/storage/create-bucket.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/storage/create-file.md b/docs/examples/1.2.x/server-php/examples/storage/create-file.md index e2cfce7ae9..3c0fc4c71f 100644 --- a/docs/examples/1.2.x/server-php/examples/storage/create-file.md +++ b/docs/examples/1.2.x/server-php/examples/storage/create-file.md @@ -7,7 +7,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/storage/delete-bucket.md b/docs/examples/1.2.x/server-php/examples/storage/delete-bucket.md index b3659b6276..bfae9b70a7 100644 --- a/docs/examples/1.2.x/server-php/examples/storage/delete-bucket.md +++ b/docs/examples/1.2.x/server-php/examples/storage/delete-bucket.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/storage/delete-file.md b/docs/examples/1.2.x/server-php/examples/storage/delete-file.md index 00db8551b3..5fb21e0210 100644 --- a/docs/examples/1.2.x/server-php/examples/storage/delete-file.md +++ b/docs/examples/1.2.x/server-php/examples/storage/delete-file.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/storage/get-bucket.md b/docs/examples/1.2.x/server-php/examples/storage/get-bucket.md index d4d152aff4..e816ef192f 100644 --- a/docs/examples/1.2.x/server-php/examples/storage/get-bucket.md +++ b/docs/examples/1.2.x/server-php/examples/storage/get-bucket.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/storage/get-file-download.md b/docs/examples/1.2.x/server-php/examples/storage/get-file-download.md index 0c7fefda37..9a181f7007 100644 --- a/docs/examples/1.2.x/server-php/examples/storage/get-file-download.md +++ b/docs/examples/1.2.x/server-php/examples/storage/get-file-download.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/storage/get-file-preview.md b/docs/examples/1.2.x/server-php/examples/storage/get-file-preview.md index c1b91e5c29..d30c0ec450 100644 --- a/docs/examples/1.2.x/server-php/examples/storage/get-file-preview.md +++ b/docs/examples/1.2.x/server-php/examples/storage/get-file-preview.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/storage/get-file-view.md b/docs/examples/1.2.x/server-php/examples/storage/get-file-view.md index f527c1b744..983fb0c52f 100644 --- a/docs/examples/1.2.x/server-php/examples/storage/get-file-view.md +++ b/docs/examples/1.2.x/server-php/examples/storage/get-file-view.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/storage/get-file.md b/docs/examples/1.2.x/server-php/examples/storage/get-file.md index cb56c96a42..799e1192d0 100644 --- a/docs/examples/1.2.x/server-php/examples/storage/get-file.md +++ b/docs/examples/1.2.x/server-php/examples/storage/get-file.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/storage/list-buckets.md b/docs/examples/1.2.x/server-php/examples/storage/list-buckets.md index b92dc82bcb..235cc8f9b6 100644 --- a/docs/examples/1.2.x/server-php/examples/storage/list-buckets.md +++ b/docs/examples/1.2.x/server-php/examples/storage/list-buckets.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/storage/list-files.md b/docs/examples/1.2.x/server-php/examples/storage/list-files.md index e0b79186e4..12b697fc81 100644 --- a/docs/examples/1.2.x/server-php/examples/storage/list-files.md +++ b/docs/examples/1.2.x/server-php/examples/storage/list-files.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/storage/update-bucket.md b/docs/examples/1.2.x/server-php/examples/storage/update-bucket.md index 5e46dfc83b..6985651b9b 100644 --- a/docs/examples/1.2.x/server-php/examples/storage/update-bucket.md +++ b/docs/examples/1.2.x/server-php/examples/storage/update-bucket.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/storage/update-file.md b/docs/examples/1.2.x/server-php/examples/storage/update-file.md index 1d3e01e99a..6dc64b1f5b 100644 --- a/docs/examples/1.2.x/server-php/examples/storage/update-file.md +++ b/docs/examples/1.2.x/server-php/examples/storage/update-file.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/teams/create-membership.md b/docs/examples/1.2.x/server-php/examples/teams/create-membership.md index 60d3d3dc6f..0c2c684b72 100644 --- a/docs/examples/1.2.x/server-php/examples/teams/create-membership.md +++ b/docs/examples/1.2.x/server-php/examples/teams/create-membership.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/teams/create.md b/docs/examples/1.2.x/server-php/examples/teams/create.md index e5efe49b30..551922be14 100644 --- a/docs/examples/1.2.x/server-php/examples/teams/create.md +++ b/docs/examples/1.2.x/server-php/examples/teams/create.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/teams/delete-membership.md b/docs/examples/1.2.x/server-php/examples/teams/delete-membership.md index 2b40c1742e..5d070ee09c 100644 --- a/docs/examples/1.2.x/server-php/examples/teams/delete-membership.md +++ b/docs/examples/1.2.x/server-php/examples/teams/delete-membership.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/teams/delete.md b/docs/examples/1.2.x/server-php/examples/teams/delete.md index 5ec2ed995c..009c7eee2e 100644 --- a/docs/examples/1.2.x/server-php/examples/teams/delete.md +++ b/docs/examples/1.2.x/server-php/examples/teams/delete.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/teams/get-membership.md b/docs/examples/1.2.x/server-php/examples/teams/get-membership.md index fdd3024783..f23b8a7eb0 100644 --- a/docs/examples/1.2.x/server-php/examples/teams/get-membership.md +++ b/docs/examples/1.2.x/server-php/examples/teams/get-membership.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/teams/get.md b/docs/examples/1.2.x/server-php/examples/teams/get.md index 94b8a2695a..b7b4a43ac6 100644 --- a/docs/examples/1.2.x/server-php/examples/teams/get.md +++ b/docs/examples/1.2.x/server-php/examples/teams/get.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/teams/list-memberships.md b/docs/examples/1.2.x/server-php/examples/teams/list-memberships.md index f23b78eca1..3a15fd91be 100644 --- a/docs/examples/1.2.x/server-php/examples/teams/list-memberships.md +++ b/docs/examples/1.2.x/server-php/examples/teams/list-memberships.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/teams/list.md b/docs/examples/1.2.x/server-php/examples/teams/list.md index 66f54b6e1c..970b2b08d2 100644 --- a/docs/examples/1.2.x/server-php/examples/teams/list.md +++ b/docs/examples/1.2.x/server-php/examples/teams/list.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/teams/update-membership-roles.md b/docs/examples/1.2.x/server-php/examples/teams/update-membership-roles.md index 5923997551..c744578712 100644 --- a/docs/examples/1.2.x/server-php/examples/teams/update-membership-roles.md +++ b/docs/examples/1.2.x/server-php/examples/teams/update-membership-roles.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/teams/update-membership-status.md b/docs/examples/1.2.x/server-php/examples/teams/update-membership-status.md index 15504ad421..0d0a125886 100644 --- a/docs/examples/1.2.x/server-php/examples/teams/update-membership-status.md +++ b/docs/examples/1.2.x/server-php/examples/teams/update-membership-status.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.2.x/server-php/examples/teams/update.md b/docs/examples/1.2.x/server-php/examples/teams/update.md index 267112cc13..91634f6f8f 100644 --- a/docs/examples/1.2.x/server-php/examples/teams/update.md +++ b/docs/examples/1.2.x/server-php/examples/teams/update.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/users/create-argon2user.md b/docs/examples/1.2.x/server-php/examples/users/create-argon2user.md index 1036ca109e..83bc040827 100644 --- a/docs/examples/1.2.x/server-php/examples/users/create-argon2user.md +++ b/docs/examples/1.2.x/server-php/examples/users/create-argon2user.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/users/create-bcrypt-user.md b/docs/examples/1.2.x/server-php/examples/users/create-bcrypt-user.md index de15110a4e..ce1e2d5633 100644 --- a/docs/examples/1.2.x/server-php/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.2.x/server-php/examples/users/create-bcrypt-user.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/users/create-m-d5user.md b/docs/examples/1.2.x/server-php/examples/users/create-m-d5user.md index 15f4ebe0aa..d78ffa24d4 100644 --- a/docs/examples/1.2.x/server-php/examples/users/create-m-d5user.md +++ b/docs/examples/1.2.x/server-php/examples/users/create-m-d5user.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/users/create-p-h-pass-user.md b/docs/examples/1.2.x/server-php/examples/users/create-p-h-pass-user.md index 2eb682fc42..097636038a 100644 --- a/docs/examples/1.2.x/server-php/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.2.x/server-php/examples/users/create-p-h-pass-user.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/users/create-s-h-a-user.md b/docs/examples/1.2.x/server-php/examples/users/create-s-h-a-user.md index 3e63bd9928..ab5df354cc 100644 --- a/docs/examples/1.2.x/server-php/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.2.x/server-php/examples/users/create-s-h-a-user.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/users/create-scrypt-modified-user.md b/docs/examples/1.2.x/server-php/examples/users/create-scrypt-modified-user.md index bcf7c52cd5..bb71afe901 100644 --- a/docs/examples/1.2.x/server-php/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.2.x/server-php/examples/users/create-scrypt-modified-user.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/users/create-scrypt-user.md b/docs/examples/1.2.x/server-php/examples/users/create-scrypt-user.md index 43a4bcc2e2..563268784d 100644 --- a/docs/examples/1.2.x/server-php/examples/users/create-scrypt-user.md +++ b/docs/examples/1.2.x/server-php/examples/users/create-scrypt-user.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/users/create.md b/docs/examples/1.2.x/server-php/examples/users/create.md index dab8a5ed70..67ab2660eb 100644 --- a/docs/examples/1.2.x/server-php/examples/users/create.md +++ b/docs/examples/1.2.x/server-php/examples/users/create.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/users/delete-session.md b/docs/examples/1.2.x/server-php/examples/users/delete-session.md index c6a507c7b2..6ce035a739 100644 --- a/docs/examples/1.2.x/server-php/examples/users/delete-session.md +++ b/docs/examples/1.2.x/server-php/examples/users/delete-session.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/users/delete-sessions.md b/docs/examples/1.2.x/server-php/examples/users/delete-sessions.md index 570d258683..a4a07242bd 100644 --- a/docs/examples/1.2.x/server-php/examples/users/delete-sessions.md +++ b/docs/examples/1.2.x/server-php/examples/users/delete-sessions.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/users/delete.md b/docs/examples/1.2.x/server-php/examples/users/delete.md index 1d5a822fde..63279e1b46 100644 --- a/docs/examples/1.2.x/server-php/examples/users/delete.md +++ b/docs/examples/1.2.x/server-php/examples/users/delete.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/users/get-prefs.md b/docs/examples/1.2.x/server-php/examples/users/get-prefs.md index e9c8c58bf3..d52706530e 100644 --- a/docs/examples/1.2.x/server-php/examples/users/get-prefs.md +++ b/docs/examples/1.2.x/server-php/examples/users/get-prefs.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/users/get.md b/docs/examples/1.2.x/server-php/examples/users/get.md index 51482d37eb..5f84f327db 100644 --- a/docs/examples/1.2.x/server-php/examples/users/get.md +++ b/docs/examples/1.2.x/server-php/examples/users/get.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/users/list-logs.md b/docs/examples/1.2.x/server-php/examples/users/list-logs.md index e6287563c2..d5166c0b66 100644 --- a/docs/examples/1.2.x/server-php/examples/users/list-logs.md +++ b/docs/examples/1.2.x/server-php/examples/users/list-logs.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/users/list-memberships.md b/docs/examples/1.2.x/server-php/examples/users/list-memberships.md index 039216bc1e..84ebf8e8a1 100644 --- a/docs/examples/1.2.x/server-php/examples/users/list-memberships.md +++ b/docs/examples/1.2.x/server-php/examples/users/list-memberships.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/users/list-sessions.md b/docs/examples/1.2.x/server-php/examples/users/list-sessions.md index e09b65d475..100df65a48 100644 --- a/docs/examples/1.2.x/server-php/examples/users/list-sessions.md +++ b/docs/examples/1.2.x/server-php/examples/users/list-sessions.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/users/list.md b/docs/examples/1.2.x/server-php/examples/users/list.md index 8d86e86372..30929b467b 100644 --- a/docs/examples/1.2.x/server-php/examples/users/list.md +++ b/docs/examples/1.2.x/server-php/examples/users/list.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/users/update-email-verification.md b/docs/examples/1.2.x/server-php/examples/users/update-email-verification.md index 67c3e12ee0..6b0b5b0d4c 100644 --- a/docs/examples/1.2.x/server-php/examples/users/update-email-verification.md +++ b/docs/examples/1.2.x/server-php/examples/users/update-email-verification.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/users/update-email.md b/docs/examples/1.2.x/server-php/examples/users/update-email.md index c6a7412b89..fe35bf057e 100644 --- a/docs/examples/1.2.x/server-php/examples/users/update-email.md +++ b/docs/examples/1.2.x/server-php/examples/users/update-email.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/users/update-name.md b/docs/examples/1.2.x/server-php/examples/users/update-name.md index 598ef2a3a2..838f436758 100644 --- a/docs/examples/1.2.x/server-php/examples/users/update-name.md +++ b/docs/examples/1.2.x/server-php/examples/users/update-name.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/users/update-password.md b/docs/examples/1.2.x/server-php/examples/users/update-password.md index a4632c1984..bd0e328336 100644 --- a/docs/examples/1.2.x/server-php/examples/users/update-password.md +++ b/docs/examples/1.2.x/server-php/examples/users/update-password.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/users/update-phone-verification.md b/docs/examples/1.2.x/server-php/examples/users/update-phone-verification.md index e9929a547b..e18b57274a 100644 --- a/docs/examples/1.2.x/server-php/examples/users/update-phone-verification.md +++ b/docs/examples/1.2.x/server-php/examples/users/update-phone-verification.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/users/update-phone.md b/docs/examples/1.2.x/server-php/examples/users/update-phone.md index 0df380a23a..610b3a65e7 100644 --- a/docs/examples/1.2.x/server-php/examples/users/update-phone.md +++ b/docs/examples/1.2.x/server-php/examples/users/update-phone.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/users/update-prefs.md b/docs/examples/1.2.x/server-php/examples/users/update-prefs.md index 9c4ebaae2b..6aaa9451d6 100644 --- a/docs/examples/1.2.x/server-php/examples/users/update-prefs.md +++ b/docs/examples/1.2.x/server-php/examples/users/update-prefs.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-php/examples/users/update-status.md b/docs/examples/1.2.x/server-php/examples/users/update-status.md index ad3f6bde79..dbe489de72 100644 --- a/docs/examples/1.2.x/server-php/examples/users/update-status.md +++ b/docs/examples/1.2.x/server-php/examples/users/update-status.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.2.x/server-python/examples/account/create-phone-verification.md b/docs/examples/1.2.x/server-python/examples/account/create-phone-verification.md index 2203cdbd0c..1e8670084d 100644 --- a/docs/examples/1.2.x/server-python/examples/account/create-phone-verification.md +++ b/docs/examples/1.2.x/server-python/examples/account/create-phone-verification.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.2.x/server-python/examples/account/create-recovery.md b/docs/examples/1.2.x/server-python/examples/account/create-recovery.md index 21130fef6d..c86108ff4e 100644 --- a/docs/examples/1.2.x/server-python/examples/account/create-recovery.md +++ b/docs/examples/1.2.x/server-python/examples/account/create-recovery.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.2.x/server-python/examples/account/create-verification.md b/docs/examples/1.2.x/server-python/examples/account/create-verification.md index c45d0d462e..0bc3954565 100644 --- a/docs/examples/1.2.x/server-python/examples/account/create-verification.md +++ b/docs/examples/1.2.x/server-python/examples/account/create-verification.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.2.x/server-python/examples/account/delete-session.md b/docs/examples/1.2.x/server-python/examples/account/delete-session.md index 8095cdc07f..449a786169 100644 --- a/docs/examples/1.2.x/server-python/examples/account/delete-session.md +++ b/docs/examples/1.2.x/server-python/examples/account/delete-session.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.2.x/server-python/examples/account/delete-sessions.md b/docs/examples/1.2.x/server-python/examples/account/delete-sessions.md index 1728d61e67..4f208b93a6 100644 --- a/docs/examples/1.2.x/server-python/examples/account/delete-sessions.md +++ b/docs/examples/1.2.x/server-python/examples/account/delete-sessions.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.2.x/server-python/examples/account/get-prefs.md b/docs/examples/1.2.x/server-python/examples/account/get-prefs.md index da2fd7628e..7063f0c3aa 100644 --- a/docs/examples/1.2.x/server-python/examples/account/get-prefs.md +++ b/docs/examples/1.2.x/server-python/examples/account/get-prefs.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.2.x/server-python/examples/account/get-session.md b/docs/examples/1.2.x/server-python/examples/account/get-session.md index 25b8f03837..def8838e19 100644 --- a/docs/examples/1.2.x/server-python/examples/account/get-session.md +++ b/docs/examples/1.2.x/server-python/examples/account/get-session.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.2.x/server-python/examples/account/get.md b/docs/examples/1.2.x/server-python/examples/account/get.md index f75bad7769..d84d378583 100644 --- a/docs/examples/1.2.x/server-python/examples/account/get.md +++ b/docs/examples/1.2.x/server-python/examples/account/get.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.2.x/server-python/examples/account/list-logs.md b/docs/examples/1.2.x/server-python/examples/account/list-logs.md index 65802d8b0d..601d243dca 100644 --- a/docs/examples/1.2.x/server-python/examples/account/list-logs.md +++ b/docs/examples/1.2.x/server-python/examples/account/list-logs.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.2.x/server-python/examples/account/list-sessions.md b/docs/examples/1.2.x/server-python/examples/account/list-sessions.md index 12d5c81d92..fcdfd857e7 100644 --- a/docs/examples/1.2.x/server-python/examples/account/list-sessions.md +++ b/docs/examples/1.2.x/server-python/examples/account/list-sessions.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.2.x/server-python/examples/account/update-email.md b/docs/examples/1.2.x/server-python/examples/account/update-email.md index f4a6776f72..a2e393ae4a 100644 --- a/docs/examples/1.2.x/server-python/examples/account/update-email.md +++ b/docs/examples/1.2.x/server-python/examples/account/update-email.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.2.x/server-python/examples/account/update-name.md b/docs/examples/1.2.x/server-python/examples/account/update-name.md index eb1eb6279b..b56296cb21 100644 --- a/docs/examples/1.2.x/server-python/examples/account/update-name.md +++ b/docs/examples/1.2.x/server-python/examples/account/update-name.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.2.x/server-python/examples/account/update-password.md b/docs/examples/1.2.x/server-python/examples/account/update-password.md index 81bc8bbfc3..7adf938ac6 100644 --- a/docs/examples/1.2.x/server-python/examples/account/update-password.md +++ b/docs/examples/1.2.x/server-python/examples/account/update-password.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.2.x/server-python/examples/account/update-phone-verification.md b/docs/examples/1.2.x/server-python/examples/account/update-phone-verification.md index f2a75b4de9..dcba4273c4 100644 --- a/docs/examples/1.2.x/server-python/examples/account/update-phone-verification.md +++ b/docs/examples/1.2.x/server-python/examples/account/update-phone-verification.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.2.x/server-python/examples/account/update-phone.md b/docs/examples/1.2.x/server-python/examples/account/update-phone.md index aaee1f7eec..0f6470619e 100644 --- a/docs/examples/1.2.x/server-python/examples/account/update-phone.md +++ b/docs/examples/1.2.x/server-python/examples/account/update-phone.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.2.x/server-python/examples/account/update-prefs.md b/docs/examples/1.2.x/server-python/examples/account/update-prefs.md index e96546b05a..64e32cee2a 100644 --- a/docs/examples/1.2.x/server-python/examples/account/update-prefs.md +++ b/docs/examples/1.2.x/server-python/examples/account/update-prefs.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.2.x/server-python/examples/account/update-recovery.md b/docs/examples/1.2.x/server-python/examples/account/update-recovery.md index b4ea8aa89c..2bb9b10d2c 100644 --- a/docs/examples/1.2.x/server-python/examples/account/update-recovery.md +++ b/docs/examples/1.2.x/server-python/examples/account/update-recovery.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.2.x/server-python/examples/account/update-session.md b/docs/examples/1.2.x/server-python/examples/account/update-session.md index e7234f7801..16ea018303 100644 --- a/docs/examples/1.2.x/server-python/examples/account/update-session.md +++ b/docs/examples/1.2.x/server-python/examples/account/update-session.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.2.x/server-python/examples/account/update-status.md b/docs/examples/1.2.x/server-python/examples/account/update-status.md index 5924d4d54f..877b8743d1 100644 --- a/docs/examples/1.2.x/server-python/examples/account/update-status.md +++ b/docs/examples/1.2.x/server-python/examples/account/update-status.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.2.x/server-python/examples/account/update-verification.md b/docs/examples/1.2.x/server-python/examples/account/update-verification.md index 9a410a54a8..e2aecaa117 100644 --- a/docs/examples/1.2.x/server-python/examples/account/update-verification.md +++ b/docs/examples/1.2.x/server-python/examples/account/update-verification.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.2.x/server-python/examples/avatars/get-browser.md b/docs/examples/1.2.x/server-python/examples/avatars/get-browser.md index 9ed56d1d4b..e29ebcd84d 100644 --- a/docs/examples/1.2.x/server-python/examples/avatars/get-browser.md +++ b/docs/examples/1.2.x/server-python/examples/avatars/get-browser.md @@ -4,7 +4,7 @@ from appwrite.services.avatars import Avatars client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/avatars/get-credit-card.md b/docs/examples/1.2.x/server-python/examples/avatars/get-credit-card.md index 9fa6b0fd1f..3006186d81 100644 --- a/docs/examples/1.2.x/server-python/examples/avatars/get-credit-card.md +++ b/docs/examples/1.2.x/server-python/examples/avatars/get-credit-card.md @@ -4,7 +4,7 @@ from appwrite.services.avatars import Avatars client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/avatars/get-favicon.md b/docs/examples/1.2.x/server-python/examples/avatars/get-favicon.md index 75b0315eae..b860e801ce 100644 --- a/docs/examples/1.2.x/server-python/examples/avatars/get-favicon.md +++ b/docs/examples/1.2.x/server-python/examples/avatars/get-favicon.md @@ -4,7 +4,7 @@ from appwrite.services.avatars import Avatars client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/avatars/get-flag.md b/docs/examples/1.2.x/server-python/examples/avatars/get-flag.md index 70d2e5f242..055feb4282 100644 --- a/docs/examples/1.2.x/server-python/examples/avatars/get-flag.md +++ b/docs/examples/1.2.x/server-python/examples/avatars/get-flag.md @@ -4,7 +4,7 @@ from appwrite.services.avatars import Avatars client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/avatars/get-image.md b/docs/examples/1.2.x/server-python/examples/avatars/get-image.md index 35015d9620..1cd0bd0164 100644 --- a/docs/examples/1.2.x/server-python/examples/avatars/get-image.md +++ b/docs/examples/1.2.x/server-python/examples/avatars/get-image.md @@ -4,7 +4,7 @@ from appwrite.services.avatars import Avatars client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/avatars/get-initials.md b/docs/examples/1.2.x/server-python/examples/avatars/get-initials.md index 639fa03bc9..9e7e5d2c18 100644 --- a/docs/examples/1.2.x/server-python/examples/avatars/get-initials.md +++ b/docs/examples/1.2.x/server-python/examples/avatars/get-initials.md @@ -4,7 +4,7 @@ from appwrite.services.avatars import Avatars client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/avatars/get-q-r.md b/docs/examples/1.2.x/server-python/examples/avatars/get-q-r.md index 27fc8e2924..b3c3e728ab 100644 --- a/docs/examples/1.2.x/server-python/examples/avatars/get-q-r.md +++ b/docs/examples/1.2.x/server-python/examples/avatars/get-q-r.md @@ -4,7 +4,7 @@ from appwrite.services.avatars import Avatars client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/databases/create-boolean-attribute.md b/docs/examples/1.2.x/server-python/examples/databases/create-boolean-attribute.md index f073d3d3b3..e0f333caab 100644 --- a/docs/examples/1.2.x/server-python/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.2.x/server-python/examples/databases/create-boolean-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/databases/create-collection.md b/docs/examples/1.2.x/server-python/examples/databases/create-collection.md index 183c55c448..ad704dea3d 100644 --- a/docs/examples/1.2.x/server-python/examples/databases/create-collection.md +++ b/docs/examples/1.2.x/server-python/examples/databases/create-collection.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/databases/create-datetime-attribute.md b/docs/examples/1.2.x/server-python/examples/databases/create-datetime-attribute.md index 5c77689c99..8325de8230 100644 --- a/docs/examples/1.2.x/server-python/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.2.x/server-python/examples/databases/create-datetime-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/databases/create-document.md b/docs/examples/1.2.x/server-python/examples/databases/create-document.md index aa95de9ebd..c712b11bdd 100644 --- a/docs/examples/1.2.x/server-python/examples/databases/create-document.md +++ b/docs/examples/1.2.x/server-python/examples/databases/create-document.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/databases/create-email-attribute.md b/docs/examples/1.2.x/server-python/examples/databases/create-email-attribute.md index 92cdcb2a8f..05397d6ab0 100644 --- a/docs/examples/1.2.x/server-python/examples/databases/create-email-attribute.md +++ b/docs/examples/1.2.x/server-python/examples/databases/create-email-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/databases/create-enum-attribute.md b/docs/examples/1.2.x/server-python/examples/databases/create-enum-attribute.md index df66f12896..21e4635790 100644 --- a/docs/examples/1.2.x/server-python/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.2.x/server-python/examples/databases/create-enum-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/databases/create-float-attribute.md b/docs/examples/1.2.x/server-python/examples/databases/create-float-attribute.md index 0bfe4248eb..b7493dfced 100644 --- a/docs/examples/1.2.x/server-python/examples/databases/create-float-attribute.md +++ b/docs/examples/1.2.x/server-python/examples/databases/create-float-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/databases/create-index.md b/docs/examples/1.2.x/server-python/examples/databases/create-index.md index 78a7d3327e..2237a7397e 100644 --- a/docs/examples/1.2.x/server-python/examples/databases/create-index.md +++ b/docs/examples/1.2.x/server-python/examples/databases/create-index.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/databases/create-integer-attribute.md b/docs/examples/1.2.x/server-python/examples/databases/create-integer-attribute.md index b3cce2bde4..b8a213bc21 100644 --- a/docs/examples/1.2.x/server-python/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.2.x/server-python/examples/databases/create-integer-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/databases/create-ip-attribute.md b/docs/examples/1.2.x/server-python/examples/databases/create-ip-attribute.md index 967d284b9a..85f1cd5b00 100644 --- a/docs/examples/1.2.x/server-python/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.2.x/server-python/examples/databases/create-ip-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/databases/create-string-attribute.md b/docs/examples/1.2.x/server-python/examples/databases/create-string-attribute.md index 00bbbe9ce7..1992f71e44 100644 --- a/docs/examples/1.2.x/server-python/examples/databases/create-string-attribute.md +++ b/docs/examples/1.2.x/server-python/examples/databases/create-string-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/databases/create-url-attribute.md b/docs/examples/1.2.x/server-python/examples/databases/create-url-attribute.md index fd5b7f44e3..49e2cbf68c 100644 --- a/docs/examples/1.2.x/server-python/examples/databases/create-url-attribute.md +++ b/docs/examples/1.2.x/server-python/examples/databases/create-url-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/databases/create.md b/docs/examples/1.2.x/server-python/examples/databases/create.md index e4a832066b..7c1f63cb14 100644 --- a/docs/examples/1.2.x/server-python/examples/databases/create.md +++ b/docs/examples/1.2.x/server-python/examples/databases/create.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/databases/delete-attribute.md b/docs/examples/1.2.x/server-python/examples/databases/delete-attribute.md index 41871b2662..7ca55adf15 100644 --- a/docs/examples/1.2.x/server-python/examples/databases/delete-attribute.md +++ b/docs/examples/1.2.x/server-python/examples/databases/delete-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/databases/delete-collection.md b/docs/examples/1.2.x/server-python/examples/databases/delete-collection.md index 998bb61fb9..af37479be2 100644 --- a/docs/examples/1.2.x/server-python/examples/databases/delete-collection.md +++ b/docs/examples/1.2.x/server-python/examples/databases/delete-collection.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/databases/delete-document.md b/docs/examples/1.2.x/server-python/examples/databases/delete-document.md index 605b087b7c..6a3a3588c6 100644 --- a/docs/examples/1.2.x/server-python/examples/databases/delete-document.md +++ b/docs/examples/1.2.x/server-python/examples/databases/delete-document.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/databases/delete-index.md b/docs/examples/1.2.x/server-python/examples/databases/delete-index.md index a53e06c024..5f32135c3b 100644 --- a/docs/examples/1.2.x/server-python/examples/databases/delete-index.md +++ b/docs/examples/1.2.x/server-python/examples/databases/delete-index.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/databases/delete.md b/docs/examples/1.2.x/server-python/examples/databases/delete.md index 780e1451ef..594f357bbf 100644 --- a/docs/examples/1.2.x/server-python/examples/databases/delete.md +++ b/docs/examples/1.2.x/server-python/examples/databases/delete.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/databases/get-attribute.md b/docs/examples/1.2.x/server-python/examples/databases/get-attribute.md index 0a6105272a..b855fbc600 100644 --- a/docs/examples/1.2.x/server-python/examples/databases/get-attribute.md +++ b/docs/examples/1.2.x/server-python/examples/databases/get-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/databases/get-collection.md b/docs/examples/1.2.x/server-python/examples/databases/get-collection.md index 90f57a366c..5d176dd2c5 100644 --- a/docs/examples/1.2.x/server-python/examples/databases/get-collection.md +++ b/docs/examples/1.2.x/server-python/examples/databases/get-collection.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/databases/get-document.md b/docs/examples/1.2.x/server-python/examples/databases/get-document.md index 708538418e..7a11da3c27 100644 --- a/docs/examples/1.2.x/server-python/examples/databases/get-document.md +++ b/docs/examples/1.2.x/server-python/examples/databases/get-document.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/databases/get-index.md b/docs/examples/1.2.x/server-python/examples/databases/get-index.md index 3213c66660..6c376c6907 100644 --- a/docs/examples/1.2.x/server-python/examples/databases/get-index.md +++ b/docs/examples/1.2.x/server-python/examples/databases/get-index.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/databases/get.md b/docs/examples/1.2.x/server-python/examples/databases/get.md index 93a46b3fa4..c8906fc9af 100644 --- a/docs/examples/1.2.x/server-python/examples/databases/get.md +++ b/docs/examples/1.2.x/server-python/examples/databases/get.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/databases/list-attributes.md b/docs/examples/1.2.x/server-python/examples/databases/list-attributes.md index 632202c894..3c173668a4 100644 --- a/docs/examples/1.2.x/server-python/examples/databases/list-attributes.md +++ b/docs/examples/1.2.x/server-python/examples/databases/list-attributes.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/databases/list-collections.md b/docs/examples/1.2.x/server-python/examples/databases/list-collections.md index d0c98dad97..197229e308 100644 --- a/docs/examples/1.2.x/server-python/examples/databases/list-collections.md +++ b/docs/examples/1.2.x/server-python/examples/databases/list-collections.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/databases/list-documents.md b/docs/examples/1.2.x/server-python/examples/databases/list-documents.md index 5eb03b2658..01cc594d98 100644 --- a/docs/examples/1.2.x/server-python/examples/databases/list-documents.md +++ b/docs/examples/1.2.x/server-python/examples/databases/list-documents.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/databases/list-indexes.md b/docs/examples/1.2.x/server-python/examples/databases/list-indexes.md index b4224be62c..f65545454b 100644 --- a/docs/examples/1.2.x/server-python/examples/databases/list-indexes.md +++ b/docs/examples/1.2.x/server-python/examples/databases/list-indexes.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/databases/list.md b/docs/examples/1.2.x/server-python/examples/databases/list.md index 3aa6839d20..117119439b 100644 --- a/docs/examples/1.2.x/server-python/examples/databases/list.md +++ b/docs/examples/1.2.x/server-python/examples/databases/list.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/databases/update-collection.md b/docs/examples/1.2.x/server-python/examples/databases/update-collection.md index 4a38aab4d4..49c5c8154b 100644 --- a/docs/examples/1.2.x/server-python/examples/databases/update-collection.md +++ b/docs/examples/1.2.x/server-python/examples/databases/update-collection.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/databases/update-document.md b/docs/examples/1.2.x/server-python/examples/databases/update-document.md index c768c5403c..fc6645bf9f 100644 --- a/docs/examples/1.2.x/server-python/examples/databases/update-document.md +++ b/docs/examples/1.2.x/server-python/examples/databases/update-document.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/databases/update.md b/docs/examples/1.2.x/server-python/examples/databases/update.md index d46692ece4..9e32a87888 100644 --- a/docs/examples/1.2.x/server-python/examples/databases/update.md +++ b/docs/examples/1.2.x/server-python/examples/databases/update.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/functions/create-build.md b/docs/examples/1.2.x/server-python/examples/functions/create-build.md index 76888f8b16..398973ce57 100644 --- a/docs/examples/1.2.x/server-python/examples/functions/create-build.md +++ b/docs/examples/1.2.x/server-python/examples/functions/create-build.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/functions/create-deployment.md b/docs/examples/1.2.x/server-python/examples/functions/create-deployment.md index d29c43f258..859cc3745d 100644 --- a/docs/examples/1.2.x/server-python/examples/functions/create-deployment.md +++ b/docs/examples/1.2.x/server-python/examples/functions/create-deployment.md @@ -5,7 +5,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/functions/create-execution.md b/docs/examples/1.2.x/server-python/examples/functions/create-execution.md index 7c045225b3..b4476dae98 100644 --- a/docs/examples/1.2.x/server-python/examples/functions/create-execution.md +++ b/docs/examples/1.2.x/server-python/examples/functions/create-execution.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/functions/create-variable.md b/docs/examples/1.2.x/server-python/examples/functions/create-variable.md index f33ed08a71..c24fb5c825 100644 --- a/docs/examples/1.2.x/server-python/examples/functions/create-variable.md +++ b/docs/examples/1.2.x/server-python/examples/functions/create-variable.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/functions/create.md b/docs/examples/1.2.x/server-python/examples/functions/create.md index 96fd409bd3..ca8198647c 100644 --- a/docs/examples/1.2.x/server-python/examples/functions/create.md +++ b/docs/examples/1.2.x/server-python/examples/functions/create.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/functions/delete-deployment.md b/docs/examples/1.2.x/server-python/examples/functions/delete-deployment.md index 42d526eca9..2d186c10c6 100644 --- a/docs/examples/1.2.x/server-python/examples/functions/delete-deployment.md +++ b/docs/examples/1.2.x/server-python/examples/functions/delete-deployment.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/functions/delete-variable.md b/docs/examples/1.2.x/server-python/examples/functions/delete-variable.md index cae0f2df9f..d527ff09ce 100644 --- a/docs/examples/1.2.x/server-python/examples/functions/delete-variable.md +++ b/docs/examples/1.2.x/server-python/examples/functions/delete-variable.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/functions/delete.md b/docs/examples/1.2.x/server-python/examples/functions/delete.md index e89213ec7a..585e2f9b10 100644 --- a/docs/examples/1.2.x/server-python/examples/functions/delete.md +++ b/docs/examples/1.2.x/server-python/examples/functions/delete.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/functions/get-deployment.md b/docs/examples/1.2.x/server-python/examples/functions/get-deployment.md index 6257b59d2e..ccb30ccbb5 100644 --- a/docs/examples/1.2.x/server-python/examples/functions/get-deployment.md +++ b/docs/examples/1.2.x/server-python/examples/functions/get-deployment.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/functions/get-execution.md b/docs/examples/1.2.x/server-python/examples/functions/get-execution.md index f0e4f0dc67..110a760666 100644 --- a/docs/examples/1.2.x/server-python/examples/functions/get-execution.md +++ b/docs/examples/1.2.x/server-python/examples/functions/get-execution.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/functions/get-variable.md b/docs/examples/1.2.x/server-python/examples/functions/get-variable.md index 4e71bff24f..d6c445dc3f 100644 --- a/docs/examples/1.2.x/server-python/examples/functions/get-variable.md +++ b/docs/examples/1.2.x/server-python/examples/functions/get-variable.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/functions/get.md b/docs/examples/1.2.x/server-python/examples/functions/get.md index 30e1d5959a..4b1bbcf72f 100644 --- a/docs/examples/1.2.x/server-python/examples/functions/get.md +++ b/docs/examples/1.2.x/server-python/examples/functions/get.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/functions/list-deployments.md b/docs/examples/1.2.x/server-python/examples/functions/list-deployments.md index d1797a18b3..9f1eeef978 100644 --- a/docs/examples/1.2.x/server-python/examples/functions/list-deployments.md +++ b/docs/examples/1.2.x/server-python/examples/functions/list-deployments.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/functions/list-executions.md b/docs/examples/1.2.x/server-python/examples/functions/list-executions.md index d70f004478..0491ff2b3d 100644 --- a/docs/examples/1.2.x/server-python/examples/functions/list-executions.md +++ b/docs/examples/1.2.x/server-python/examples/functions/list-executions.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/functions/list-runtimes.md b/docs/examples/1.2.x/server-python/examples/functions/list-runtimes.md index 19b85e2369..6255ce3986 100644 --- a/docs/examples/1.2.x/server-python/examples/functions/list-runtimes.md +++ b/docs/examples/1.2.x/server-python/examples/functions/list-runtimes.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/functions/list-variables.md b/docs/examples/1.2.x/server-python/examples/functions/list-variables.md index 9a72bba9f8..bdaa123e0e 100644 --- a/docs/examples/1.2.x/server-python/examples/functions/list-variables.md +++ b/docs/examples/1.2.x/server-python/examples/functions/list-variables.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/functions/list.md b/docs/examples/1.2.x/server-python/examples/functions/list.md index b8442e5ade..6d05cc952c 100644 --- a/docs/examples/1.2.x/server-python/examples/functions/list.md +++ b/docs/examples/1.2.x/server-python/examples/functions/list.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/functions/update-deployment.md b/docs/examples/1.2.x/server-python/examples/functions/update-deployment.md index 87dd09710f..bb5eb869f9 100644 --- a/docs/examples/1.2.x/server-python/examples/functions/update-deployment.md +++ b/docs/examples/1.2.x/server-python/examples/functions/update-deployment.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/functions/update-variable.md b/docs/examples/1.2.x/server-python/examples/functions/update-variable.md index ab5b43abce..4c98e06807 100644 --- a/docs/examples/1.2.x/server-python/examples/functions/update-variable.md +++ b/docs/examples/1.2.x/server-python/examples/functions/update-variable.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/functions/update.md b/docs/examples/1.2.x/server-python/examples/functions/update.md index ac7730e80a..2e1d132568 100644 --- a/docs/examples/1.2.x/server-python/examples/functions/update.md +++ b/docs/examples/1.2.x/server-python/examples/functions/update.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/graphql/63a08ed7b8f61.md b/docs/examples/1.2.x/server-python/examples/graphql/63a08ed7b8f61.md index e472dd8c9b..0c4e035f17 100644 --- a/docs/examples/1.2.x/server-python/examples/graphql/63a08ed7b8f61.md +++ b/docs/examples/1.2.x/server-python/examples/graphql/63a08ed7b8f61.md @@ -4,7 +4,7 @@ from appwrite.services.graphql import Graphql client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/graphql/get.md b/docs/examples/1.2.x/server-python/examples/graphql/get.md index a3000b1555..190739e9c0 100644 --- a/docs/examples/1.2.x/server-python/examples/graphql/get.md +++ b/docs/examples/1.2.x/server-python/examples/graphql/get.md @@ -4,7 +4,7 @@ from appwrite.services.graphql import Graphql client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/graphql/mutation.md b/docs/examples/1.2.x/server-python/examples/graphql/mutation.md index 24226a5a01..9f43d0e5d1 100644 --- a/docs/examples/1.2.x/server-python/examples/graphql/mutation.md +++ b/docs/examples/1.2.x/server-python/examples/graphql/mutation.md @@ -4,7 +4,7 @@ from appwrite.services.graphql import Graphql client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/graphql/query.md b/docs/examples/1.2.x/server-python/examples/graphql/query.md index 8e1597c759..a7315f8d31 100644 --- a/docs/examples/1.2.x/server-python/examples/graphql/query.md +++ b/docs/examples/1.2.x/server-python/examples/graphql/query.md @@ -4,7 +4,7 @@ from appwrite.services.graphql import Graphql client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/health/get-antivirus.md b/docs/examples/1.2.x/server-python/examples/health/get-antivirus.md index fbfaf0e52e..2837200104 100644 --- a/docs/examples/1.2.x/server-python/examples/health/get-antivirus.md +++ b/docs/examples/1.2.x/server-python/examples/health/get-antivirus.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/health/get-cache.md b/docs/examples/1.2.x/server-python/examples/health/get-cache.md index 40bc01000b..44ac2fa940 100644 --- a/docs/examples/1.2.x/server-python/examples/health/get-cache.md +++ b/docs/examples/1.2.x/server-python/examples/health/get-cache.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/health/get-d-b.md b/docs/examples/1.2.x/server-python/examples/health/get-d-b.md index 803dd73bd3..7362e83916 100644 --- a/docs/examples/1.2.x/server-python/examples/health/get-d-b.md +++ b/docs/examples/1.2.x/server-python/examples/health/get-d-b.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/health/get-queue-certificates.md b/docs/examples/1.2.x/server-python/examples/health/get-queue-certificates.md index 4fb0266d11..fed14c831a 100644 --- a/docs/examples/1.2.x/server-python/examples/health/get-queue-certificates.md +++ b/docs/examples/1.2.x/server-python/examples/health/get-queue-certificates.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/health/get-queue-functions.md b/docs/examples/1.2.x/server-python/examples/health/get-queue-functions.md index 92e4e2021d..96700cc2fd 100644 --- a/docs/examples/1.2.x/server-python/examples/health/get-queue-functions.md +++ b/docs/examples/1.2.x/server-python/examples/health/get-queue-functions.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/health/get-queue-logs.md b/docs/examples/1.2.x/server-python/examples/health/get-queue-logs.md index b798ad7332..985309b9ff 100644 --- a/docs/examples/1.2.x/server-python/examples/health/get-queue-logs.md +++ b/docs/examples/1.2.x/server-python/examples/health/get-queue-logs.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/health/get-queue-webhooks.md b/docs/examples/1.2.x/server-python/examples/health/get-queue-webhooks.md index 8406de1ff8..62da17c248 100644 --- a/docs/examples/1.2.x/server-python/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.2.x/server-python/examples/health/get-queue-webhooks.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/health/get-storage-local.md b/docs/examples/1.2.x/server-python/examples/health/get-storage-local.md index bb2533e27f..297a6a5714 100644 --- a/docs/examples/1.2.x/server-python/examples/health/get-storage-local.md +++ b/docs/examples/1.2.x/server-python/examples/health/get-storage-local.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/health/get-time.md b/docs/examples/1.2.x/server-python/examples/health/get-time.md index 9fe313dd5f..0034705ed9 100644 --- a/docs/examples/1.2.x/server-python/examples/health/get-time.md +++ b/docs/examples/1.2.x/server-python/examples/health/get-time.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/health/get.md b/docs/examples/1.2.x/server-python/examples/health/get.md index d3ff594387..118be474f3 100644 --- a/docs/examples/1.2.x/server-python/examples/health/get.md +++ b/docs/examples/1.2.x/server-python/examples/health/get.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/locale/get.md b/docs/examples/1.2.x/server-python/examples/locale/get.md index 06b04f2f63..de81e967db 100644 --- a/docs/examples/1.2.x/server-python/examples/locale/get.md +++ b/docs/examples/1.2.x/server-python/examples/locale/get.md @@ -4,7 +4,7 @@ from appwrite.services.locale import Locale client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/locale/list-continents.md b/docs/examples/1.2.x/server-python/examples/locale/list-continents.md index ba9c94f8a9..bcd150f5cd 100644 --- a/docs/examples/1.2.x/server-python/examples/locale/list-continents.md +++ b/docs/examples/1.2.x/server-python/examples/locale/list-continents.md @@ -4,7 +4,7 @@ from appwrite.services.locale import Locale client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/locale/list-countries-e-u.md b/docs/examples/1.2.x/server-python/examples/locale/list-countries-e-u.md index ea4c43cab6..2dc40cd487 100644 --- a/docs/examples/1.2.x/server-python/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.2.x/server-python/examples/locale/list-countries-e-u.md @@ -4,7 +4,7 @@ from appwrite.services.locale import Locale client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/locale/list-countries-phones.md b/docs/examples/1.2.x/server-python/examples/locale/list-countries-phones.md index 5a4cafe520..b1b0773b3f 100644 --- a/docs/examples/1.2.x/server-python/examples/locale/list-countries-phones.md +++ b/docs/examples/1.2.x/server-python/examples/locale/list-countries-phones.md @@ -4,7 +4,7 @@ from appwrite.services.locale import Locale client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/locale/list-countries.md b/docs/examples/1.2.x/server-python/examples/locale/list-countries.md index f8ec83c83e..278a039bbd 100644 --- a/docs/examples/1.2.x/server-python/examples/locale/list-countries.md +++ b/docs/examples/1.2.x/server-python/examples/locale/list-countries.md @@ -4,7 +4,7 @@ from appwrite.services.locale import Locale client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/locale/list-currencies.md b/docs/examples/1.2.x/server-python/examples/locale/list-currencies.md index 347e81c54c..077d7c393c 100644 --- a/docs/examples/1.2.x/server-python/examples/locale/list-currencies.md +++ b/docs/examples/1.2.x/server-python/examples/locale/list-currencies.md @@ -4,7 +4,7 @@ from appwrite.services.locale import Locale client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/locale/list-languages.md b/docs/examples/1.2.x/server-python/examples/locale/list-languages.md index ce50a6efe7..9cc7c8f975 100644 --- a/docs/examples/1.2.x/server-python/examples/locale/list-languages.md +++ b/docs/examples/1.2.x/server-python/examples/locale/list-languages.md @@ -4,7 +4,7 @@ from appwrite.services.locale import Locale client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/storage/create-bucket.md b/docs/examples/1.2.x/server-python/examples/storage/create-bucket.md index 72ffdccbd8..1955987f17 100644 --- a/docs/examples/1.2.x/server-python/examples/storage/create-bucket.md +++ b/docs/examples/1.2.x/server-python/examples/storage/create-bucket.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/storage/create-file.md b/docs/examples/1.2.x/server-python/examples/storage/create-file.md index b469b5bdd5..250f469290 100644 --- a/docs/examples/1.2.x/server-python/examples/storage/create-file.md +++ b/docs/examples/1.2.x/server-python/examples/storage/create-file.md @@ -5,7 +5,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/storage/delete-bucket.md b/docs/examples/1.2.x/server-python/examples/storage/delete-bucket.md index 60dc1074fd..c6c93435d0 100644 --- a/docs/examples/1.2.x/server-python/examples/storage/delete-bucket.md +++ b/docs/examples/1.2.x/server-python/examples/storage/delete-bucket.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/storage/delete-file.md b/docs/examples/1.2.x/server-python/examples/storage/delete-file.md index 9bed0af784..accf6697bf 100644 --- a/docs/examples/1.2.x/server-python/examples/storage/delete-file.md +++ b/docs/examples/1.2.x/server-python/examples/storage/delete-file.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/storage/get-bucket.md b/docs/examples/1.2.x/server-python/examples/storage/get-bucket.md index 7ea64f22aa..4fd4e70b31 100644 --- a/docs/examples/1.2.x/server-python/examples/storage/get-bucket.md +++ b/docs/examples/1.2.x/server-python/examples/storage/get-bucket.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/storage/get-file-download.md b/docs/examples/1.2.x/server-python/examples/storage/get-file-download.md index e9f5cce824..ef57f10955 100644 --- a/docs/examples/1.2.x/server-python/examples/storage/get-file-download.md +++ b/docs/examples/1.2.x/server-python/examples/storage/get-file-download.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/storage/get-file-preview.md b/docs/examples/1.2.x/server-python/examples/storage/get-file-preview.md index 4e12291f13..c7b90b9655 100644 --- a/docs/examples/1.2.x/server-python/examples/storage/get-file-preview.md +++ b/docs/examples/1.2.x/server-python/examples/storage/get-file-preview.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/storage/get-file-view.md b/docs/examples/1.2.x/server-python/examples/storage/get-file-view.md index 01cbfafd26..bd8efc6e45 100644 --- a/docs/examples/1.2.x/server-python/examples/storage/get-file-view.md +++ b/docs/examples/1.2.x/server-python/examples/storage/get-file-view.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/storage/get-file.md b/docs/examples/1.2.x/server-python/examples/storage/get-file.md index f83ed8aa61..e0013ba120 100644 --- a/docs/examples/1.2.x/server-python/examples/storage/get-file.md +++ b/docs/examples/1.2.x/server-python/examples/storage/get-file.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/storage/list-buckets.md b/docs/examples/1.2.x/server-python/examples/storage/list-buckets.md index 204fd9598c..450f876d92 100644 --- a/docs/examples/1.2.x/server-python/examples/storage/list-buckets.md +++ b/docs/examples/1.2.x/server-python/examples/storage/list-buckets.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/storage/list-files.md b/docs/examples/1.2.x/server-python/examples/storage/list-files.md index 63101e215e..05df2d0056 100644 --- a/docs/examples/1.2.x/server-python/examples/storage/list-files.md +++ b/docs/examples/1.2.x/server-python/examples/storage/list-files.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/storage/update-bucket.md b/docs/examples/1.2.x/server-python/examples/storage/update-bucket.md index fb1b76b222..f47bfa3d0e 100644 --- a/docs/examples/1.2.x/server-python/examples/storage/update-bucket.md +++ b/docs/examples/1.2.x/server-python/examples/storage/update-bucket.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/storage/update-file.md b/docs/examples/1.2.x/server-python/examples/storage/update-file.md index 24a92e36c6..3208e44d2f 100644 --- a/docs/examples/1.2.x/server-python/examples/storage/update-file.md +++ b/docs/examples/1.2.x/server-python/examples/storage/update-file.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/teams/create-membership.md b/docs/examples/1.2.x/server-python/examples/teams/create-membership.md index f020627727..ce04eeefa0 100644 --- a/docs/examples/1.2.x/server-python/examples/teams/create-membership.md +++ b/docs/examples/1.2.x/server-python/examples/teams/create-membership.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/teams/create.md b/docs/examples/1.2.x/server-python/examples/teams/create.md index c69012359f..87e76cb062 100644 --- a/docs/examples/1.2.x/server-python/examples/teams/create.md +++ b/docs/examples/1.2.x/server-python/examples/teams/create.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/teams/delete-membership.md b/docs/examples/1.2.x/server-python/examples/teams/delete-membership.md index f8d875986f..7f5e4055d1 100644 --- a/docs/examples/1.2.x/server-python/examples/teams/delete-membership.md +++ b/docs/examples/1.2.x/server-python/examples/teams/delete-membership.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/teams/delete.md b/docs/examples/1.2.x/server-python/examples/teams/delete.md index 4fc0fa44cc..651b861f03 100644 --- a/docs/examples/1.2.x/server-python/examples/teams/delete.md +++ b/docs/examples/1.2.x/server-python/examples/teams/delete.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/teams/get-membership.md b/docs/examples/1.2.x/server-python/examples/teams/get-membership.md index e9c62ae3e3..3c351b16f7 100644 --- a/docs/examples/1.2.x/server-python/examples/teams/get-membership.md +++ b/docs/examples/1.2.x/server-python/examples/teams/get-membership.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/teams/get.md b/docs/examples/1.2.x/server-python/examples/teams/get.md index fdca2fc28f..32100ad47f 100644 --- a/docs/examples/1.2.x/server-python/examples/teams/get.md +++ b/docs/examples/1.2.x/server-python/examples/teams/get.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/teams/list-memberships.md b/docs/examples/1.2.x/server-python/examples/teams/list-memberships.md index 63e662a7a6..5001ae3e8a 100644 --- a/docs/examples/1.2.x/server-python/examples/teams/list-memberships.md +++ b/docs/examples/1.2.x/server-python/examples/teams/list-memberships.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/teams/list.md b/docs/examples/1.2.x/server-python/examples/teams/list.md index e60cb60dab..5a73d32766 100644 --- a/docs/examples/1.2.x/server-python/examples/teams/list.md +++ b/docs/examples/1.2.x/server-python/examples/teams/list.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/teams/update-membership-roles.md b/docs/examples/1.2.x/server-python/examples/teams/update-membership-roles.md index dcfd7a4e55..e161a33d5c 100644 --- a/docs/examples/1.2.x/server-python/examples/teams/update-membership-roles.md +++ b/docs/examples/1.2.x/server-python/examples/teams/update-membership-roles.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/teams/update-membership-status.md b/docs/examples/1.2.x/server-python/examples/teams/update-membership-status.md index a6cd4cd45f..f35f8f7792 100644 --- a/docs/examples/1.2.x/server-python/examples/teams/update-membership-status.md +++ b/docs/examples/1.2.x/server-python/examples/teams/update-membership-status.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.2.x/server-python/examples/teams/update.md b/docs/examples/1.2.x/server-python/examples/teams/update.md index cabd1496c4..6cfbcb069f 100644 --- a/docs/examples/1.2.x/server-python/examples/teams/update.md +++ b/docs/examples/1.2.x/server-python/examples/teams/update.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/users/create-argon2user.md b/docs/examples/1.2.x/server-python/examples/users/create-argon2user.md index be1e8cef36..6314988132 100644 --- a/docs/examples/1.2.x/server-python/examples/users/create-argon2user.md +++ b/docs/examples/1.2.x/server-python/examples/users/create-argon2user.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/users/create-bcrypt-user.md b/docs/examples/1.2.x/server-python/examples/users/create-bcrypt-user.md index 77c9918879..32632b9c1d 100644 --- a/docs/examples/1.2.x/server-python/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.2.x/server-python/examples/users/create-bcrypt-user.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/users/create-m-d5user.md b/docs/examples/1.2.x/server-python/examples/users/create-m-d5user.md index f3ab3f8418..d2ecc0cc0b 100644 --- a/docs/examples/1.2.x/server-python/examples/users/create-m-d5user.md +++ b/docs/examples/1.2.x/server-python/examples/users/create-m-d5user.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/users/create-p-h-pass-user.md b/docs/examples/1.2.x/server-python/examples/users/create-p-h-pass-user.md index e715f47c14..7f4c6bcfd6 100644 --- a/docs/examples/1.2.x/server-python/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.2.x/server-python/examples/users/create-p-h-pass-user.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/users/create-s-h-a-user.md b/docs/examples/1.2.x/server-python/examples/users/create-s-h-a-user.md index 2a2db5a673..17e4209ae7 100644 --- a/docs/examples/1.2.x/server-python/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.2.x/server-python/examples/users/create-s-h-a-user.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/users/create-scrypt-modified-user.md b/docs/examples/1.2.x/server-python/examples/users/create-scrypt-modified-user.md index 0b42e98dc7..64b54170ae 100644 --- a/docs/examples/1.2.x/server-python/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.2.x/server-python/examples/users/create-scrypt-modified-user.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/users/create-scrypt-user.md b/docs/examples/1.2.x/server-python/examples/users/create-scrypt-user.md index b445623018..9a934d5cae 100644 --- a/docs/examples/1.2.x/server-python/examples/users/create-scrypt-user.md +++ b/docs/examples/1.2.x/server-python/examples/users/create-scrypt-user.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/users/create.md b/docs/examples/1.2.x/server-python/examples/users/create.md index 05249c08ea..657449e3b1 100644 --- a/docs/examples/1.2.x/server-python/examples/users/create.md +++ b/docs/examples/1.2.x/server-python/examples/users/create.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/users/delete-session.md b/docs/examples/1.2.x/server-python/examples/users/delete-session.md index 26b041db1d..baba61e58b 100644 --- a/docs/examples/1.2.x/server-python/examples/users/delete-session.md +++ b/docs/examples/1.2.x/server-python/examples/users/delete-session.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/users/delete-sessions.md b/docs/examples/1.2.x/server-python/examples/users/delete-sessions.md index dabe4f627d..0c7f38ba8e 100644 --- a/docs/examples/1.2.x/server-python/examples/users/delete-sessions.md +++ b/docs/examples/1.2.x/server-python/examples/users/delete-sessions.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/users/delete.md b/docs/examples/1.2.x/server-python/examples/users/delete.md index 7fdc77576b..4a21cab6fd 100644 --- a/docs/examples/1.2.x/server-python/examples/users/delete.md +++ b/docs/examples/1.2.x/server-python/examples/users/delete.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/users/get-prefs.md b/docs/examples/1.2.x/server-python/examples/users/get-prefs.md index 2bbaa88c59..bf325a4fda 100644 --- a/docs/examples/1.2.x/server-python/examples/users/get-prefs.md +++ b/docs/examples/1.2.x/server-python/examples/users/get-prefs.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/users/get.md b/docs/examples/1.2.x/server-python/examples/users/get.md index 463957d394..7491d3db17 100644 --- a/docs/examples/1.2.x/server-python/examples/users/get.md +++ b/docs/examples/1.2.x/server-python/examples/users/get.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/users/list-logs.md b/docs/examples/1.2.x/server-python/examples/users/list-logs.md index ca3a5eb815..84dc775e04 100644 --- a/docs/examples/1.2.x/server-python/examples/users/list-logs.md +++ b/docs/examples/1.2.x/server-python/examples/users/list-logs.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/users/list-memberships.md b/docs/examples/1.2.x/server-python/examples/users/list-memberships.md index 0dfb97afce..d091789b8b 100644 --- a/docs/examples/1.2.x/server-python/examples/users/list-memberships.md +++ b/docs/examples/1.2.x/server-python/examples/users/list-memberships.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/users/list-sessions.md b/docs/examples/1.2.x/server-python/examples/users/list-sessions.md index 5f8fbd68ea..75e3383a14 100644 --- a/docs/examples/1.2.x/server-python/examples/users/list-sessions.md +++ b/docs/examples/1.2.x/server-python/examples/users/list-sessions.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/users/list.md b/docs/examples/1.2.x/server-python/examples/users/list.md index baaf42c574..1f82be4b74 100644 --- a/docs/examples/1.2.x/server-python/examples/users/list.md +++ b/docs/examples/1.2.x/server-python/examples/users/list.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/users/update-email-verification.md b/docs/examples/1.2.x/server-python/examples/users/update-email-verification.md index 8be33ad97f..2828171035 100644 --- a/docs/examples/1.2.x/server-python/examples/users/update-email-verification.md +++ b/docs/examples/1.2.x/server-python/examples/users/update-email-verification.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/users/update-email.md b/docs/examples/1.2.x/server-python/examples/users/update-email.md index 4899bd3936..370fedf8c4 100644 --- a/docs/examples/1.2.x/server-python/examples/users/update-email.md +++ b/docs/examples/1.2.x/server-python/examples/users/update-email.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/users/update-name.md b/docs/examples/1.2.x/server-python/examples/users/update-name.md index 66bb6b2920..e8411d203b 100644 --- a/docs/examples/1.2.x/server-python/examples/users/update-name.md +++ b/docs/examples/1.2.x/server-python/examples/users/update-name.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/users/update-password.md b/docs/examples/1.2.x/server-python/examples/users/update-password.md index bf24c1ca9a..2f0091d0f6 100644 --- a/docs/examples/1.2.x/server-python/examples/users/update-password.md +++ b/docs/examples/1.2.x/server-python/examples/users/update-password.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/users/update-phone-verification.md b/docs/examples/1.2.x/server-python/examples/users/update-phone-verification.md index e42317ca30..e2d69ef2fc 100644 --- a/docs/examples/1.2.x/server-python/examples/users/update-phone-verification.md +++ b/docs/examples/1.2.x/server-python/examples/users/update-phone-verification.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/users/update-phone.md b/docs/examples/1.2.x/server-python/examples/users/update-phone.md index 6df39fc994..b6165469e8 100644 --- a/docs/examples/1.2.x/server-python/examples/users/update-phone.md +++ b/docs/examples/1.2.x/server-python/examples/users/update-phone.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/users/update-prefs.md b/docs/examples/1.2.x/server-python/examples/users/update-prefs.md index 53d1e524e2..432b9da023 100644 --- a/docs/examples/1.2.x/server-python/examples/users/update-prefs.md +++ b/docs/examples/1.2.x/server-python/examples/users/update-prefs.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-python/examples/users/update-status.md b/docs/examples/1.2.x/server-python/examples/users/update-status.md index 6d1577d401..2afab7539f 100644 --- a/docs/examples/1.2.x/server-python/examples/users/update-status.md +++ b/docs/examples/1.2.x/server-python/examples/users/update-status.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.2.x/server-ruby/examples/account/create-phone-verification.md b/docs/examples/1.2.x/server-ruby/examples/account/create-phone-verification.md index 7ec0a1c0c9..9ea5aa170c 100644 --- a/docs/examples/1.2.x/server-ruby/examples/account/create-phone-verification.md +++ b/docs/examples/1.2.x/server-ruby/examples/account/create-phone-verification.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-ruby/examples/account/create-recovery.md b/docs/examples/1.2.x/server-ruby/examples/account/create-recovery.md index 5c6d13c724..dfa4038915 100644 --- a/docs/examples/1.2.x/server-ruby/examples/account/create-recovery.md +++ b/docs/examples/1.2.x/server-ruby/examples/account/create-recovery.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-ruby/examples/account/create-verification.md b/docs/examples/1.2.x/server-ruby/examples/account/create-verification.md index dcd9722e47..37b838f4d2 100644 --- a/docs/examples/1.2.x/server-ruby/examples/account/create-verification.md +++ b/docs/examples/1.2.x/server-ruby/examples/account/create-verification.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-ruby/examples/account/delete-session.md b/docs/examples/1.2.x/server-ruby/examples/account/delete-session.md index 3357b2ba20..788b1d0dc1 100644 --- a/docs/examples/1.2.x/server-ruby/examples/account/delete-session.md +++ b/docs/examples/1.2.x/server-ruby/examples/account/delete-session.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-ruby/examples/account/delete-sessions.md b/docs/examples/1.2.x/server-ruby/examples/account/delete-sessions.md index b218a536db..fecb93ca76 100644 --- a/docs/examples/1.2.x/server-ruby/examples/account/delete-sessions.md +++ b/docs/examples/1.2.x/server-ruby/examples/account/delete-sessions.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-ruby/examples/account/get-prefs.md b/docs/examples/1.2.x/server-ruby/examples/account/get-prefs.md index 24092b922b..9870af6340 100644 --- a/docs/examples/1.2.x/server-ruby/examples/account/get-prefs.md +++ b/docs/examples/1.2.x/server-ruby/examples/account/get-prefs.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-ruby/examples/account/get-session.md b/docs/examples/1.2.x/server-ruby/examples/account/get-session.md index 2a8209031d..09946ae001 100644 --- a/docs/examples/1.2.x/server-ruby/examples/account/get-session.md +++ b/docs/examples/1.2.x/server-ruby/examples/account/get-session.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-ruby/examples/account/get.md b/docs/examples/1.2.x/server-ruby/examples/account/get.md index 61237b2215..616316ca8c 100644 --- a/docs/examples/1.2.x/server-ruby/examples/account/get.md +++ b/docs/examples/1.2.x/server-ruby/examples/account/get.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-ruby/examples/account/list-logs.md b/docs/examples/1.2.x/server-ruby/examples/account/list-logs.md index 8a08eb96be..22e23f38ee 100644 --- a/docs/examples/1.2.x/server-ruby/examples/account/list-logs.md +++ b/docs/examples/1.2.x/server-ruby/examples/account/list-logs.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-ruby/examples/account/list-sessions.md b/docs/examples/1.2.x/server-ruby/examples/account/list-sessions.md index a6bcb6816d..9e267c659d 100644 --- a/docs/examples/1.2.x/server-ruby/examples/account/list-sessions.md +++ b/docs/examples/1.2.x/server-ruby/examples/account/list-sessions.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-ruby/examples/account/update-email.md b/docs/examples/1.2.x/server-ruby/examples/account/update-email.md index cd2e10cbbe..1a871d2790 100644 --- a/docs/examples/1.2.x/server-ruby/examples/account/update-email.md +++ b/docs/examples/1.2.x/server-ruby/examples/account/update-email.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-ruby/examples/account/update-name.md b/docs/examples/1.2.x/server-ruby/examples/account/update-name.md index 2685e88cf6..f7a2bec787 100644 --- a/docs/examples/1.2.x/server-ruby/examples/account/update-name.md +++ b/docs/examples/1.2.x/server-ruby/examples/account/update-name.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-ruby/examples/account/update-password.md b/docs/examples/1.2.x/server-ruby/examples/account/update-password.md index 3ee4ed98f7..dbd46a0298 100644 --- a/docs/examples/1.2.x/server-ruby/examples/account/update-password.md +++ b/docs/examples/1.2.x/server-ruby/examples/account/update-password.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-ruby/examples/account/update-phone-verification.md b/docs/examples/1.2.x/server-ruby/examples/account/update-phone-verification.md index 103b32c00d..6a0345a6f6 100644 --- a/docs/examples/1.2.x/server-ruby/examples/account/update-phone-verification.md +++ b/docs/examples/1.2.x/server-ruby/examples/account/update-phone-verification.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-ruby/examples/account/update-phone.md b/docs/examples/1.2.x/server-ruby/examples/account/update-phone.md index 377c578dea..aa6dc9804c 100644 --- a/docs/examples/1.2.x/server-ruby/examples/account/update-phone.md +++ b/docs/examples/1.2.x/server-ruby/examples/account/update-phone.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-ruby/examples/account/update-prefs.md b/docs/examples/1.2.x/server-ruby/examples/account/update-prefs.md index 338a9704f1..1e0f9c836c 100644 --- a/docs/examples/1.2.x/server-ruby/examples/account/update-prefs.md +++ b/docs/examples/1.2.x/server-ruby/examples/account/update-prefs.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-ruby/examples/account/update-recovery.md b/docs/examples/1.2.x/server-ruby/examples/account/update-recovery.md index fa901de857..357bfa9d1d 100644 --- a/docs/examples/1.2.x/server-ruby/examples/account/update-recovery.md +++ b/docs/examples/1.2.x/server-ruby/examples/account/update-recovery.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-ruby/examples/account/update-session.md b/docs/examples/1.2.x/server-ruby/examples/account/update-session.md index 31dde2e94f..2de00124c6 100644 --- a/docs/examples/1.2.x/server-ruby/examples/account/update-session.md +++ b/docs/examples/1.2.x/server-ruby/examples/account/update-session.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-ruby/examples/account/update-status.md b/docs/examples/1.2.x/server-ruby/examples/account/update-status.md index ea7a3857b5..f0e73d13d5 100644 --- a/docs/examples/1.2.x/server-ruby/examples/account/update-status.md +++ b/docs/examples/1.2.x/server-ruby/examples/account/update-status.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-ruby/examples/account/update-verification.md b/docs/examples/1.2.x/server-ruby/examples/account/update-verification.md index b8f674ec77..32d4c79de0 100644 --- a/docs/examples/1.2.x/server-ruby/examples/account/update-verification.md +++ b/docs/examples/1.2.x/server-ruby/examples/account/update-verification.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-ruby/examples/avatars/get-browser.md b/docs/examples/1.2.x/server-ruby/examples/avatars/get-browser.md index 2a66b46b92..11fa186f0e 100644 --- a/docs/examples/1.2.x/server-ruby/examples/avatars/get-browser.md +++ b/docs/examples/1.2.x/server-ruby/examples/avatars/get-browser.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/avatars/get-credit-card.md b/docs/examples/1.2.x/server-ruby/examples/avatars/get-credit-card.md index d5bcaa824f..47c8dc8e07 100644 --- a/docs/examples/1.2.x/server-ruby/examples/avatars/get-credit-card.md +++ b/docs/examples/1.2.x/server-ruby/examples/avatars/get-credit-card.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/avatars/get-favicon.md b/docs/examples/1.2.x/server-ruby/examples/avatars/get-favicon.md index c995fb2036..48263bc19d 100644 --- a/docs/examples/1.2.x/server-ruby/examples/avatars/get-favicon.md +++ b/docs/examples/1.2.x/server-ruby/examples/avatars/get-favicon.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/avatars/get-flag.md b/docs/examples/1.2.x/server-ruby/examples/avatars/get-flag.md index 7633756425..17e2cfb053 100644 --- a/docs/examples/1.2.x/server-ruby/examples/avatars/get-flag.md +++ b/docs/examples/1.2.x/server-ruby/examples/avatars/get-flag.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/avatars/get-image.md b/docs/examples/1.2.x/server-ruby/examples/avatars/get-image.md index 4ea52a60e4..168cc78d47 100644 --- a/docs/examples/1.2.x/server-ruby/examples/avatars/get-image.md +++ b/docs/examples/1.2.x/server-ruby/examples/avatars/get-image.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/avatars/get-initials.md b/docs/examples/1.2.x/server-ruby/examples/avatars/get-initials.md index 62a8ff855d..c621832069 100644 --- a/docs/examples/1.2.x/server-ruby/examples/avatars/get-initials.md +++ b/docs/examples/1.2.x/server-ruby/examples/avatars/get-initials.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/avatars/get-q-r.md b/docs/examples/1.2.x/server-ruby/examples/avatars/get-q-r.md index 03a1f14aa9..93b91d13ea 100644 --- a/docs/examples/1.2.x/server-ruby/examples/avatars/get-q-r.md +++ b/docs/examples/1.2.x/server-ruby/examples/avatars/get-q-r.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/databases/create-boolean-attribute.md b/docs/examples/1.2.x/server-ruby/examples/databases/create-boolean-attribute.md index d617d8e322..17f0467cb1 100644 --- a/docs/examples/1.2.x/server-ruby/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.2.x/server-ruby/examples/databases/create-boolean-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/databases/create-collection.md b/docs/examples/1.2.x/server-ruby/examples/databases/create-collection.md index d27e43ad66..d0c87c6433 100644 --- a/docs/examples/1.2.x/server-ruby/examples/databases/create-collection.md +++ b/docs/examples/1.2.x/server-ruby/examples/databases/create-collection.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/databases/create-datetime-attribute.md b/docs/examples/1.2.x/server-ruby/examples/databases/create-datetime-attribute.md index 127d2ac2d7..2aebb09856 100644 --- a/docs/examples/1.2.x/server-ruby/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.2.x/server-ruby/examples/databases/create-datetime-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/databases/create-document.md b/docs/examples/1.2.x/server-ruby/examples/databases/create-document.md index 8177fc4b3b..e6d1249721 100644 --- a/docs/examples/1.2.x/server-ruby/examples/databases/create-document.md +++ b/docs/examples/1.2.x/server-ruby/examples/databases/create-document.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/databases/create-email-attribute.md b/docs/examples/1.2.x/server-ruby/examples/databases/create-email-attribute.md index c7e1aac86b..38047e524d 100644 --- a/docs/examples/1.2.x/server-ruby/examples/databases/create-email-attribute.md +++ b/docs/examples/1.2.x/server-ruby/examples/databases/create-email-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/databases/create-enum-attribute.md b/docs/examples/1.2.x/server-ruby/examples/databases/create-enum-attribute.md index 36f8ee06d4..1fe0f0c689 100644 --- a/docs/examples/1.2.x/server-ruby/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.2.x/server-ruby/examples/databases/create-enum-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/databases/create-float-attribute.md b/docs/examples/1.2.x/server-ruby/examples/databases/create-float-attribute.md index 771d281ccf..6da9f12cae 100644 --- a/docs/examples/1.2.x/server-ruby/examples/databases/create-float-attribute.md +++ b/docs/examples/1.2.x/server-ruby/examples/databases/create-float-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/databases/create-index.md b/docs/examples/1.2.x/server-ruby/examples/databases/create-index.md index 5488e36f74..68fccf90ca 100644 --- a/docs/examples/1.2.x/server-ruby/examples/databases/create-index.md +++ b/docs/examples/1.2.x/server-ruby/examples/databases/create-index.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/databases/create-integer-attribute.md b/docs/examples/1.2.x/server-ruby/examples/databases/create-integer-attribute.md index 40649c25f8..d17eef4f46 100644 --- a/docs/examples/1.2.x/server-ruby/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.2.x/server-ruby/examples/databases/create-integer-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/databases/create-ip-attribute.md b/docs/examples/1.2.x/server-ruby/examples/databases/create-ip-attribute.md index ef9e0feba5..c0daf8a4ae 100644 --- a/docs/examples/1.2.x/server-ruby/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.2.x/server-ruby/examples/databases/create-ip-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/databases/create-string-attribute.md b/docs/examples/1.2.x/server-ruby/examples/databases/create-string-attribute.md index 9901c84b02..4b4c95b7c1 100644 --- a/docs/examples/1.2.x/server-ruby/examples/databases/create-string-attribute.md +++ b/docs/examples/1.2.x/server-ruby/examples/databases/create-string-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/databases/create-url-attribute.md b/docs/examples/1.2.x/server-ruby/examples/databases/create-url-attribute.md index 475421fe53..03486d7695 100644 --- a/docs/examples/1.2.x/server-ruby/examples/databases/create-url-attribute.md +++ b/docs/examples/1.2.x/server-ruby/examples/databases/create-url-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/databases/create.md b/docs/examples/1.2.x/server-ruby/examples/databases/create.md index 1ce19d3125..8054c37fef 100644 --- a/docs/examples/1.2.x/server-ruby/examples/databases/create.md +++ b/docs/examples/1.2.x/server-ruby/examples/databases/create.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/databases/delete-attribute.md b/docs/examples/1.2.x/server-ruby/examples/databases/delete-attribute.md index ae2e32d8bd..5501315152 100644 --- a/docs/examples/1.2.x/server-ruby/examples/databases/delete-attribute.md +++ b/docs/examples/1.2.x/server-ruby/examples/databases/delete-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/databases/delete-collection.md b/docs/examples/1.2.x/server-ruby/examples/databases/delete-collection.md index f118667b6e..779865a67e 100644 --- a/docs/examples/1.2.x/server-ruby/examples/databases/delete-collection.md +++ b/docs/examples/1.2.x/server-ruby/examples/databases/delete-collection.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/databases/delete-document.md b/docs/examples/1.2.x/server-ruby/examples/databases/delete-document.md index 0b7baa89ed..b83d2a38a8 100644 --- a/docs/examples/1.2.x/server-ruby/examples/databases/delete-document.md +++ b/docs/examples/1.2.x/server-ruby/examples/databases/delete-document.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/databases/delete-index.md b/docs/examples/1.2.x/server-ruby/examples/databases/delete-index.md index 829e606135..fb30a95c64 100644 --- a/docs/examples/1.2.x/server-ruby/examples/databases/delete-index.md +++ b/docs/examples/1.2.x/server-ruby/examples/databases/delete-index.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/databases/delete.md b/docs/examples/1.2.x/server-ruby/examples/databases/delete.md index 7e0c4211f1..beeca37e8a 100644 --- a/docs/examples/1.2.x/server-ruby/examples/databases/delete.md +++ b/docs/examples/1.2.x/server-ruby/examples/databases/delete.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/databases/get-attribute.md b/docs/examples/1.2.x/server-ruby/examples/databases/get-attribute.md index 525c8f14cd..653a428054 100644 --- a/docs/examples/1.2.x/server-ruby/examples/databases/get-attribute.md +++ b/docs/examples/1.2.x/server-ruby/examples/databases/get-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/databases/get-collection.md b/docs/examples/1.2.x/server-ruby/examples/databases/get-collection.md index 897e40d109..b3251fb7a6 100644 --- a/docs/examples/1.2.x/server-ruby/examples/databases/get-collection.md +++ b/docs/examples/1.2.x/server-ruby/examples/databases/get-collection.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/databases/get-document.md b/docs/examples/1.2.x/server-ruby/examples/databases/get-document.md index d5853aba56..9a4e9b7c01 100644 --- a/docs/examples/1.2.x/server-ruby/examples/databases/get-document.md +++ b/docs/examples/1.2.x/server-ruby/examples/databases/get-document.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/databases/get-index.md b/docs/examples/1.2.x/server-ruby/examples/databases/get-index.md index 3217507541..1f7d3b6155 100644 --- a/docs/examples/1.2.x/server-ruby/examples/databases/get-index.md +++ b/docs/examples/1.2.x/server-ruby/examples/databases/get-index.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/databases/get.md b/docs/examples/1.2.x/server-ruby/examples/databases/get.md index ced51d6ad1..93b171122f 100644 --- a/docs/examples/1.2.x/server-ruby/examples/databases/get.md +++ b/docs/examples/1.2.x/server-ruby/examples/databases/get.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/databases/list-attributes.md b/docs/examples/1.2.x/server-ruby/examples/databases/list-attributes.md index 1b57bda217..5a07c9a635 100644 --- a/docs/examples/1.2.x/server-ruby/examples/databases/list-attributes.md +++ b/docs/examples/1.2.x/server-ruby/examples/databases/list-attributes.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/databases/list-collections.md b/docs/examples/1.2.x/server-ruby/examples/databases/list-collections.md index 3d646c47e7..c707b3faf7 100644 --- a/docs/examples/1.2.x/server-ruby/examples/databases/list-collections.md +++ b/docs/examples/1.2.x/server-ruby/examples/databases/list-collections.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/databases/list-documents.md b/docs/examples/1.2.x/server-ruby/examples/databases/list-documents.md index 6f57bb150c..da14516505 100644 --- a/docs/examples/1.2.x/server-ruby/examples/databases/list-documents.md +++ b/docs/examples/1.2.x/server-ruby/examples/databases/list-documents.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/databases/list-indexes.md b/docs/examples/1.2.x/server-ruby/examples/databases/list-indexes.md index d64b3bfc68..c6d42be1ea 100644 --- a/docs/examples/1.2.x/server-ruby/examples/databases/list-indexes.md +++ b/docs/examples/1.2.x/server-ruby/examples/databases/list-indexes.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/databases/list.md b/docs/examples/1.2.x/server-ruby/examples/databases/list.md index 84baa108a3..628f44c7fc 100644 --- a/docs/examples/1.2.x/server-ruby/examples/databases/list.md +++ b/docs/examples/1.2.x/server-ruby/examples/databases/list.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/databases/update-collection.md b/docs/examples/1.2.x/server-ruby/examples/databases/update-collection.md index eee4058531..ab421153cc 100644 --- a/docs/examples/1.2.x/server-ruby/examples/databases/update-collection.md +++ b/docs/examples/1.2.x/server-ruby/examples/databases/update-collection.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/databases/update-document.md b/docs/examples/1.2.x/server-ruby/examples/databases/update-document.md index dbe1b0d71a..0b5b2a07ca 100644 --- a/docs/examples/1.2.x/server-ruby/examples/databases/update-document.md +++ b/docs/examples/1.2.x/server-ruby/examples/databases/update-document.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/databases/update.md b/docs/examples/1.2.x/server-ruby/examples/databases/update.md index 0900ab3428..9e67595cbc 100644 --- a/docs/examples/1.2.x/server-ruby/examples/databases/update.md +++ b/docs/examples/1.2.x/server-ruby/examples/databases/update.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/functions/create-build.md b/docs/examples/1.2.x/server-ruby/examples/functions/create-build.md index 9c7397bf26..6c9ad31fd0 100644 --- a/docs/examples/1.2.x/server-ruby/examples/functions/create-build.md +++ b/docs/examples/1.2.x/server-ruby/examples/functions/create-build.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/functions/create-deployment.md b/docs/examples/1.2.x/server-ruby/examples/functions/create-deployment.md index 734625f449..4cb56c9ad8 100644 --- a/docs/examples/1.2.x/server-ruby/examples/functions/create-deployment.md +++ b/docs/examples/1.2.x/server-ruby/examples/functions/create-deployment.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/functions/create-execution.md b/docs/examples/1.2.x/server-ruby/examples/functions/create-execution.md index 97f4d74ba1..3dc5e844e7 100644 --- a/docs/examples/1.2.x/server-ruby/examples/functions/create-execution.md +++ b/docs/examples/1.2.x/server-ruby/examples/functions/create-execution.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/functions/create-variable.md b/docs/examples/1.2.x/server-ruby/examples/functions/create-variable.md index 003fb4743a..1340c1a379 100644 --- a/docs/examples/1.2.x/server-ruby/examples/functions/create-variable.md +++ b/docs/examples/1.2.x/server-ruby/examples/functions/create-variable.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/functions/create.md b/docs/examples/1.2.x/server-ruby/examples/functions/create.md index 414f11297d..dbf3425922 100644 --- a/docs/examples/1.2.x/server-ruby/examples/functions/create.md +++ b/docs/examples/1.2.x/server-ruby/examples/functions/create.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/functions/delete-deployment.md b/docs/examples/1.2.x/server-ruby/examples/functions/delete-deployment.md index 64feea1370..00c85f50a1 100644 --- a/docs/examples/1.2.x/server-ruby/examples/functions/delete-deployment.md +++ b/docs/examples/1.2.x/server-ruby/examples/functions/delete-deployment.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/functions/delete-variable.md b/docs/examples/1.2.x/server-ruby/examples/functions/delete-variable.md index 598e694141..191796186d 100644 --- a/docs/examples/1.2.x/server-ruby/examples/functions/delete-variable.md +++ b/docs/examples/1.2.x/server-ruby/examples/functions/delete-variable.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/functions/delete.md b/docs/examples/1.2.x/server-ruby/examples/functions/delete.md index 48ea5c7a73..c96a2621e6 100644 --- a/docs/examples/1.2.x/server-ruby/examples/functions/delete.md +++ b/docs/examples/1.2.x/server-ruby/examples/functions/delete.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/functions/get-deployment.md b/docs/examples/1.2.x/server-ruby/examples/functions/get-deployment.md index c19163e7f5..fa1bbc08be 100644 --- a/docs/examples/1.2.x/server-ruby/examples/functions/get-deployment.md +++ b/docs/examples/1.2.x/server-ruby/examples/functions/get-deployment.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/functions/get-execution.md b/docs/examples/1.2.x/server-ruby/examples/functions/get-execution.md index 3deee91574..52e46af41a 100644 --- a/docs/examples/1.2.x/server-ruby/examples/functions/get-execution.md +++ b/docs/examples/1.2.x/server-ruby/examples/functions/get-execution.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/functions/get-variable.md b/docs/examples/1.2.x/server-ruby/examples/functions/get-variable.md index 835fc30d81..b023e3653b 100644 --- a/docs/examples/1.2.x/server-ruby/examples/functions/get-variable.md +++ b/docs/examples/1.2.x/server-ruby/examples/functions/get-variable.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/functions/get.md b/docs/examples/1.2.x/server-ruby/examples/functions/get.md index cfcf8411e5..76897965e5 100644 --- a/docs/examples/1.2.x/server-ruby/examples/functions/get.md +++ b/docs/examples/1.2.x/server-ruby/examples/functions/get.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/functions/list-deployments.md b/docs/examples/1.2.x/server-ruby/examples/functions/list-deployments.md index 539301c4bb..5ec1f5ba31 100644 --- a/docs/examples/1.2.x/server-ruby/examples/functions/list-deployments.md +++ b/docs/examples/1.2.x/server-ruby/examples/functions/list-deployments.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/functions/list-executions.md b/docs/examples/1.2.x/server-ruby/examples/functions/list-executions.md index c0c1f46cf1..797817ad4f 100644 --- a/docs/examples/1.2.x/server-ruby/examples/functions/list-executions.md +++ b/docs/examples/1.2.x/server-ruby/examples/functions/list-executions.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/functions/list-runtimes.md b/docs/examples/1.2.x/server-ruby/examples/functions/list-runtimes.md index b679da2d8b..b5fd2b0aaf 100644 --- a/docs/examples/1.2.x/server-ruby/examples/functions/list-runtimes.md +++ b/docs/examples/1.2.x/server-ruby/examples/functions/list-runtimes.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/functions/list-variables.md b/docs/examples/1.2.x/server-ruby/examples/functions/list-variables.md index 4e5bfab891..196fcfe3cd 100644 --- a/docs/examples/1.2.x/server-ruby/examples/functions/list-variables.md +++ b/docs/examples/1.2.x/server-ruby/examples/functions/list-variables.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/functions/list.md b/docs/examples/1.2.x/server-ruby/examples/functions/list.md index 2cc71a5c04..bf27f73cf9 100644 --- a/docs/examples/1.2.x/server-ruby/examples/functions/list.md +++ b/docs/examples/1.2.x/server-ruby/examples/functions/list.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/functions/update-deployment.md b/docs/examples/1.2.x/server-ruby/examples/functions/update-deployment.md index c9d9f49d63..a9f039cfc6 100644 --- a/docs/examples/1.2.x/server-ruby/examples/functions/update-deployment.md +++ b/docs/examples/1.2.x/server-ruby/examples/functions/update-deployment.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/functions/update-variable.md b/docs/examples/1.2.x/server-ruby/examples/functions/update-variable.md index 28d7651a46..3418454c27 100644 --- a/docs/examples/1.2.x/server-ruby/examples/functions/update-variable.md +++ b/docs/examples/1.2.x/server-ruby/examples/functions/update-variable.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/functions/update.md b/docs/examples/1.2.x/server-ruby/examples/functions/update.md index 4bb1f2195d..02e11b5075 100644 --- a/docs/examples/1.2.x/server-ruby/examples/functions/update.md +++ b/docs/examples/1.2.x/server-ruby/examples/functions/update.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/graphql/63a08ed7b8f61.md b/docs/examples/1.2.x/server-ruby/examples/graphql/63a08ed7b8f61.md index 89971943fc..b3336923b9 100644 --- a/docs/examples/1.2.x/server-ruby/examples/graphql/63a08ed7b8f61.md +++ b/docs/examples/1.2.x/server-ruby/examples/graphql/63a08ed7b8f61.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/graphql/get.md b/docs/examples/1.2.x/server-ruby/examples/graphql/get.md index abd00b9656..1e2f1bb2a4 100644 --- a/docs/examples/1.2.x/server-ruby/examples/graphql/get.md +++ b/docs/examples/1.2.x/server-ruby/examples/graphql/get.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/graphql/mutation.md b/docs/examples/1.2.x/server-ruby/examples/graphql/mutation.md index 234dfe6202..a22fc7846a 100644 --- a/docs/examples/1.2.x/server-ruby/examples/graphql/mutation.md +++ b/docs/examples/1.2.x/server-ruby/examples/graphql/mutation.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/graphql/query.md b/docs/examples/1.2.x/server-ruby/examples/graphql/query.md index 1304213caf..a8c967ed6b 100644 --- a/docs/examples/1.2.x/server-ruby/examples/graphql/query.md +++ b/docs/examples/1.2.x/server-ruby/examples/graphql/query.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/health/get-antivirus.md b/docs/examples/1.2.x/server-ruby/examples/health/get-antivirus.md index b1f16bb0b9..32646a5a0b 100644 --- a/docs/examples/1.2.x/server-ruby/examples/health/get-antivirus.md +++ b/docs/examples/1.2.x/server-ruby/examples/health/get-antivirus.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/health/get-cache.md b/docs/examples/1.2.x/server-ruby/examples/health/get-cache.md index 4fb77ec68d..a4b43daf92 100644 --- a/docs/examples/1.2.x/server-ruby/examples/health/get-cache.md +++ b/docs/examples/1.2.x/server-ruby/examples/health/get-cache.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/health/get-d-b.md b/docs/examples/1.2.x/server-ruby/examples/health/get-d-b.md index 3317acd6fa..6b42bbaf6a 100644 --- a/docs/examples/1.2.x/server-ruby/examples/health/get-d-b.md +++ b/docs/examples/1.2.x/server-ruby/examples/health/get-d-b.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/health/get-queue-certificates.md b/docs/examples/1.2.x/server-ruby/examples/health/get-queue-certificates.md index a4c5c7016b..915731e056 100644 --- a/docs/examples/1.2.x/server-ruby/examples/health/get-queue-certificates.md +++ b/docs/examples/1.2.x/server-ruby/examples/health/get-queue-certificates.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/health/get-queue-functions.md b/docs/examples/1.2.x/server-ruby/examples/health/get-queue-functions.md index 8edb310a5e..ea585cacb7 100644 --- a/docs/examples/1.2.x/server-ruby/examples/health/get-queue-functions.md +++ b/docs/examples/1.2.x/server-ruby/examples/health/get-queue-functions.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/health/get-queue-logs.md b/docs/examples/1.2.x/server-ruby/examples/health/get-queue-logs.md index 74823fcd6c..253419c8bd 100644 --- a/docs/examples/1.2.x/server-ruby/examples/health/get-queue-logs.md +++ b/docs/examples/1.2.x/server-ruby/examples/health/get-queue-logs.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/health/get-queue-webhooks.md b/docs/examples/1.2.x/server-ruby/examples/health/get-queue-webhooks.md index 53b7f33cfe..1902a930c8 100644 --- a/docs/examples/1.2.x/server-ruby/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.2.x/server-ruby/examples/health/get-queue-webhooks.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/health/get-storage-local.md b/docs/examples/1.2.x/server-ruby/examples/health/get-storage-local.md index 3a85bd3e12..293c866762 100644 --- a/docs/examples/1.2.x/server-ruby/examples/health/get-storage-local.md +++ b/docs/examples/1.2.x/server-ruby/examples/health/get-storage-local.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/health/get-time.md b/docs/examples/1.2.x/server-ruby/examples/health/get-time.md index 9956a33d1f..e19bf05e79 100644 --- a/docs/examples/1.2.x/server-ruby/examples/health/get-time.md +++ b/docs/examples/1.2.x/server-ruby/examples/health/get-time.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/health/get.md b/docs/examples/1.2.x/server-ruby/examples/health/get.md index d23a9ad675..07fc372f3b 100644 --- a/docs/examples/1.2.x/server-ruby/examples/health/get.md +++ b/docs/examples/1.2.x/server-ruby/examples/health/get.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/locale/get.md b/docs/examples/1.2.x/server-ruby/examples/locale/get.md index e5922f4e7f..b2abf36f19 100644 --- a/docs/examples/1.2.x/server-ruby/examples/locale/get.md +++ b/docs/examples/1.2.x/server-ruby/examples/locale/get.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/locale/list-continents.md b/docs/examples/1.2.x/server-ruby/examples/locale/list-continents.md index 0416baf77a..1a086d9a2f 100644 --- a/docs/examples/1.2.x/server-ruby/examples/locale/list-continents.md +++ b/docs/examples/1.2.x/server-ruby/examples/locale/list-continents.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/locale/list-countries-e-u.md b/docs/examples/1.2.x/server-ruby/examples/locale/list-countries-e-u.md index 7faa85143c..962387167f 100644 --- a/docs/examples/1.2.x/server-ruby/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.2.x/server-ruby/examples/locale/list-countries-e-u.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/locale/list-countries-phones.md b/docs/examples/1.2.x/server-ruby/examples/locale/list-countries-phones.md index 1194f27e0c..9e842f2121 100644 --- a/docs/examples/1.2.x/server-ruby/examples/locale/list-countries-phones.md +++ b/docs/examples/1.2.x/server-ruby/examples/locale/list-countries-phones.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/locale/list-countries.md b/docs/examples/1.2.x/server-ruby/examples/locale/list-countries.md index b78fba47fd..eb093479b7 100644 --- a/docs/examples/1.2.x/server-ruby/examples/locale/list-countries.md +++ b/docs/examples/1.2.x/server-ruby/examples/locale/list-countries.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/locale/list-currencies.md b/docs/examples/1.2.x/server-ruby/examples/locale/list-currencies.md index 14b2722ae8..1e20bdbbb2 100644 --- a/docs/examples/1.2.x/server-ruby/examples/locale/list-currencies.md +++ b/docs/examples/1.2.x/server-ruby/examples/locale/list-currencies.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/locale/list-languages.md b/docs/examples/1.2.x/server-ruby/examples/locale/list-languages.md index 4d88bc4723..7b919494b3 100644 --- a/docs/examples/1.2.x/server-ruby/examples/locale/list-languages.md +++ b/docs/examples/1.2.x/server-ruby/examples/locale/list-languages.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/storage/create-bucket.md b/docs/examples/1.2.x/server-ruby/examples/storage/create-bucket.md index d6299db79f..459508e311 100644 --- a/docs/examples/1.2.x/server-ruby/examples/storage/create-bucket.md +++ b/docs/examples/1.2.x/server-ruby/examples/storage/create-bucket.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/storage/create-file.md b/docs/examples/1.2.x/server-ruby/examples/storage/create-file.md index 851ed57a48..fd29996f73 100644 --- a/docs/examples/1.2.x/server-ruby/examples/storage/create-file.md +++ b/docs/examples/1.2.x/server-ruby/examples/storage/create-file.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/storage/delete-bucket.md b/docs/examples/1.2.x/server-ruby/examples/storage/delete-bucket.md index 3fd51bef5e..be83f475f2 100644 --- a/docs/examples/1.2.x/server-ruby/examples/storage/delete-bucket.md +++ b/docs/examples/1.2.x/server-ruby/examples/storage/delete-bucket.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/storage/delete-file.md b/docs/examples/1.2.x/server-ruby/examples/storage/delete-file.md index 4d0e3fcbff..6ea4059bba 100644 --- a/docs/examples/1.2.x/server-ruby/examples/storage/delete-file.md +++ b/docs/examples/1.2.x/server-ruby/examples/storage/delete-file.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/storage/get-bucket.md b/docs/examples/1.2.x/server-ruby/examples/storage/get-bucket.md index ba88debc61..ca0905b463 100644 --- a/docs/examples/1.2.x/server-ruby/examples/storage/get-bucket.md +++ b/docs/examples/1.2.x/server-ruby/examples/storage/get-bucket.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/storage/get-file-download.md b/docs/examples/1.2.x/server-ruby/examples/storage/get-file-download.md index a22f4cb68f..77007f6b19 100644 --- a/docs/examples/1.2.x/server-ruby/examples/storage/get-file-download.md +++ b/docs/examples/1.2.x/server-ruby/examples/storage/get-file-download.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/storage/get-file-preview.md b/docs/examples/1.2.x/server-ruby/examples/storage/get-file-preview.md index c5b7c06db1..c0e2b80931 100644 --- a/docs/examples/1.2.x/server-ruby/examples/storage/get-file-preview.md +++ b/docs/examples/1.2.x/server-ruby/examples/storage/get-file-preview.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/storage/get-file-view.md b/docs/examples/1.2.x/server-ruby/examples/storage/get-file-view.md index c05770b999..7689278e56 100644 --- a/docs/examples/1.2.x/server-ruby/examples/storage/get-file-view.md +++ b/docs/examples/1.2.x/server-ruby/examples/storage/get-file-view.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/storage/get-file.md b/docs/examples/1.2.x/server-ruby/examples/storage/get-file.md index a33835c9e2..f5faa37e54 100644 --- a/docs/examples/1.2.x/server-ruby/examples/storage/get-file.md +++ b/docs/examples/1.2.x/server-ruby/examples/storage/get-file.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/storage/list-buckets.md b/docs/examples/1.2.x/server-ruby/examples/storage/list-buckets.md index 7009d0a105..46eac9a260 100644 --- a/docs/examples/1.2.x/server-ruby/examples/storage/list-buckets.md +++ b/docs/examples/1.2.x/server-ruby/examples/storage/list-buckets.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/storage/list-files.md b/docs/examples/1.2.x/server-ruby/examples/storage/list-files.md index 196831a1b3..936b6eaeeb 100644 --- a/docs/examples/1.2.x/server-ruby/examples/storage/list-files.md +++ b/docs/examples/1.2.x/server-ruby/examples/storage/list-files.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/storage/update-bucket.md b/docs/examples/1.2.x/server-ruby/examples/storage/update-bucket.md index f990ab3566..d4c791f4db 100644 --- a/docs/examples/1.2.x/server-ruby/examples/storage/update-bucket.md +++ b/docs/examples/1.2.x/server-ruby/examples/storage/update-bucket.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/storage/update-file.md b/docs/examples/1.2.x/server-ruby/examples/storage/update-file.md index 8108d3cc28..6d26d9ee48 100644 --- a/docs/examples/1.2.x/server-ruby/examples/storage/update-file.md +++ b/docs/examples/1.2.x/server-ruby/examples/storage/update-file.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/teams/create-membership.md b/docs/examples/1.2.x/server-ruby/examples/teams/create-membership.md index 515b6839f1..e23211d82b 100644 --- a/docs/examples/1.2.x/server-ruby/examples/teams/create-membership.md +++ b/docs/examples/1.2.x/server-ruby/examples/teams/create-membership.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/teams/create.md b/docs/examples/1.2.x/server-ruby/examples/teams/create.md index d2dff77f41..66127ecd34 100644 --- a/docs/examples/1.2.x/server-ruby/examples/teams/create.md +++ b/docs/examples/1.2.x/server-ruby/examples/teams/create.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/teams/delete-membership.md b/docs/examples/1.2.x/server-ruby/examples/teams/delete-membership.md index d41175d4a8..551ee62843 100644 --- a/docs/examples/1.2.x/server-ruby/examples/teams/delete-membership.md +++ b/docs/examples/1.2.x/server-ruby/examples/teams/delete-membership.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/teams/delete.md b/docs/examples/1.2.x/server-ruby/examples/teams/delete.md index c1b9b8d8bb..94a9d4bba7 100644 --- a/docs/examples/1.2.x/server-ruby/examples/teams/delete.md +++ b/docs/examples/1.2.x/server-ruby/examples/teams/delete.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/teams/get-membership.md b/docs/examples/1.2.x/server-ruby/examples/teams/get-membership.md index b06101dd84..d95348801b 100644 --- a/docs/examples/1.2.x/server-ruby/examples/teams/get-membership.md +++ b/docs/examples/1.2.x/server-ruby/examples/teams/get-membership.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/teams/get.md b/docs/examples/1.2.x/server-ruby/examples/teams/get.md index 7cee601b56..a6c2884d2c 100644 --- a/docs/examples/1.2.x/server-ruby/examples/teams/get.md +++ b/docs/examples/1.2.x/server-ruby/examples/teams/get.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/teams/list-memberships.md b/docs/examples/1.2.x/server-ruby/examples/teams/list-memberships.md index 885a857d72..4b523aa73a 100644 --- a/docs/examples/1.2.x/server-ruby/examples/teams/list-memberships.md +++ b/docs/examples/1.2.x/server-ruby/examples/teams/list-memberships.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/teams/list.md b/docs/examples/1.2.x/server-ruby/examples/teams/list.md index e8b581fd91..fd8385bc71 100644 --- a/docs/examples/1.2.x/server-ruby/examples/teams/list.md +++ b/docs/examples/1.2.x/server-ruby/examples/teams/list.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/teams/update-membership-roles.md b/docs/examples/1.2.x/server-ruby/examples/teams/update-membership-roles.md index a39ef030f9..0a240b5bac 100644 --- a/docs/examples/1.2.x/server-ruby/examples/teams/update-membership-roles.md +++ b/docs/examples/1.2.x/server-ruby/examples/teams/update-membership-roles.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/teams/update-membership-status.md b/docs/examples/1.2.x/server-ruby/examples/teams/update-membership-status.md index aaf52cbb9c..a1f8252899 100644 --- a/docs/examples/1.2.x/server-ruby/examples/teams/update-membership-status.md +++ b/docs/examples/1.2.x/server-ruby/examples/teams/update-membership-status.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-ruby/examples/teams/update.md b/docs/examples/1.2.x/server-ruby/examples/teams/update.md index 95e24eacb4..29f42e2e43 100644 --- a/docs/examples/1.2.x/server-ruby/examples/teams/update.md +++ b/docs/examples/1.2.x/server-ruby/examples/teams/update.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/users/create-argon2user.md b/docs/examples/1.2.x/server-ruby/examples/users/create-argon2user.md index 9c4fc9ea97..35445044c2 100644 --- a/docs/examples/1.2.x/server-ruby/examples/users/create-argon2user.md +++ b/docs/examples/1.2.x/server-ruby/examples/users/create-argon2user.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/users/create-bcrypt-user.md b/docs/examples/1.2.x/server-ruby/examples/users/create-bcrypt-user.md index 700fe49d12..50e11db190 100644 --- a/docs/examples/1.2.x/server-ruby/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.2.x/server-ruby/examples/users/create-bcrypt-user.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/users/create-m-d5user.md b/docs/examples/1.2.x/server-ruby/examples/users/create-m-d5user.md index a7f9c4f7a2..3f7a61994b 100644 --- a/docs/examples/1.2.x/server-ruby/examples/users/create-m-d5user.md +++ b/docs/examples/1.2.x/server-ruby/examples/users/create-m-d5user.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/users/create-p-h-pass-user.md b/docs/examples/1.2.x/server-ruby/examples/users/create-p-h-pass-user.md index d7d8ba1933..a793d887c8 100644 --- a/docs/examples/1.2.x/server-ruby/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.2.x/server-ruby/examples/users/create-p-h-pass-user.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/users/create-s-h-a-user.md b/docs/examples/1.2.x/server-ruby/examples/users/create-s-h-a-user.md index 2d37fc3bfa..4b7c26629b 100644 --- a/docs/examples/1.2.x/server-ruby/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.2.x/server-ruby/examples/users/create-s-h-a-user.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/users/create-scrypt-modified-user.md b/docs/examples/1.2.x/server-ruby/examples/users/create-scrypt-modified-user.md index cec9dbb277..50f52b9f12 100644 --- a/docs/examples/1.2.x/server-ruby/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.2.x/server-ruby/examples/users/create-scrypt-modified-user.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/users/create-scrypt-user.md b/docs/examples/1.2.x/server-ruby/examples/users/create-scrypt-user.md index 94a7af53d2..e8bf8cf059 100644 --- a/docs/examples/1.2.x/server-ruby/examples/users/create-scrypt-user.md +++ b/docs/examples/1.2.x/server-ruby/examples/users/create-scrypt-user.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/users/create.md b/docs/examples/1.2.x/server-ruby/examples/users/create.md index b04fd5025f..7d0cf8b48a 100644 --- a/docs/examples/1.2.x/server-ruby/examples/users/create.md +++ b/docs/examples/1.2.x/server-ruby/examples/users/create.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/users/delete-session.md b/docs/examples/1.2.x/server-ruby/examples/users/delete-session.md index 3b7918ca1f..118747affc 100644 --- a/docs/examples/1.2.x/server-ruby/examples/users/delete-session.md +++ b/docs/examples/1.2.x/server-ruby/examples/users/delete-session.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/users/delete-sessions.md b/docs/examples/1.2.x/server-ruby/examples/users/delete-sessions.md index 6772e3fe10..7d24d4442d 100644 --- a/docs/examples/1.2.x/server-ruby/examples/users/delete-sessions.md +++ b/docs/examples/1.2.x/server-ruby/examples/users/delete-sessions.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/users/delete.md b/docs/examples/1.2.x/server-ruby/examples/users/delete.md index 62585db404..b50e5a921d 100644 --- a/docs/examples/1.2.x/server-ruby/examples/users/delete.md +++ b/docs/examples/1.2.x/server-ruby/examples/users/delete.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/users/get-prefs.md b/docs/examples/1.2.x/server-ruby/examples/users/get-prefs.md index a4c4764bef..a401ae11b0 100644 --- a/docs/examples/1.2.x/server-ruby/examples/users/get-prefs.md +++ b/docs/examples/1.2.x/server-ruby/examples/users/get-prefs.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/users/get.md b/docs/examples/1.2.x/server-ruby/examples/users/get.md index a731ada955..44f68d0138 100644 --- a/docs/examples/1.2.x/server-ruby/examples/users/get.md +++ b/docs/examples/1.2.x/server-ruby/examples/users/get.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/users/list-logs.md b/docs/examples/1.2.x/server-ruby/examples/users/list-logs.md index fa8586eeff..45a974e497 100644 --- a/docs/examples/1.2.x/server-ruby/examples/users/list-logs.md +++ b/docs/examples/1.2.x/server-ruby/examples/users/list-logs.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/users/list-memberships.md b/docs/examples/1.2.x/server-ruby/examples/users/list-memberships.md index 693e6b9f2c..c84277357b 100644 --- a/docs/examples/1.2.x/server-ruby/examples/users/list-memberships.md +++ b/docs/examples/1.2.x/server-ruby/examples/users/list-memberships.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/users/list-sessions.md b/docs/examples/1.2.x/server-ruby/examples/users/list-sessions.md index 765789a0da..14c281f4e1 100644 --- a/docs/examples/1.2.x/server-ruby/examples/users/list-sessions.md +++ b/docs/examples/1.2.x/server-ruby/examples/users/list-sessions.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/users/list.md b/docs/examples/1.2.x/server-ruby/examples/users/list.md index 8d5daf21f8..eb067643e2 100644 --- a/docs/examples/1.2.x/server-ruby/examples/users/list.md +++ b/docs/examples/1.2.x/server-ruby/examples/users/list.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/users/update-email-verification.md b/docs/examples/1.2.x/server-ruby/examples/users/update-email-verification.md index 72ec0195dc..530c544bea 100644 --- a/docs/examples/1.2.x/server-ruby/examples/users/update-email-verification.md +++ b/docs/examples/1.2.x/server-ruby/examples/users/update-email-verification.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/users/update-email.md b/docs/examples/1.2.x/server-ruby/examples/users/update-email.md index a3a7dbde34..21ece40ff0 100644 --- a/docs/examples/1.2.x/server-ruby/examples/users/update-email.md +++ b/docs/examples/1.2.x/server-ruby/examples/users/update-email.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/users/update-name.md b/docs/examples/1.2.x/server-ruby/examples/users/update-name.md index fbf00bb51b..7b1d0d65d3 100644 --- a/docs/examples/1.2.x/server-ruby/examples/users/update-name.md +++ b/docs/examples/1.2.x/server-ruby/examples/users/update-name.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/users/update-password.md b/docs/examples/1.2.x/server-ruby/examples/users/update-password.md index 72556b3530..2577bc44eb 100644 --- a/docs/examples/1.2.x/server-ruby/examples/users/update-password.md +++ b/docs/examples/1.2.x/server-ruby/examples/users/update-password.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/users/update-phone-verification.md b/docs/examples/1.2.x/server-ruby/examples/users/update-phone-verification.md index 995a32a4bf..be9e323ec1 100644 --- a/docs/examples/1.2.x/server-ruby/examples/users/update-phone-verification.md +++ b/docs/examples/1.2.x/server-ruby/examples/users/update-phone-verification.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/users/update-phone.md b/docs/examples/1.2.x/server-ruby/examples/users/update-phone.md index f1e74b4a9e..e78a3d5ff3 100644 --- a/docs/examples/1.2.x/server-ruby/examples/users/update-phone.md +++ b/docs/examples/1.2.x/server-ruby/examples/users/update-phone.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/users/update-prefs.md b/docs/examples/1.2.x/server-ruby/examples/users/update-prefs.md index 9845cdf0d5..91eaf25a25 100644 --- a/docs/examples/1.2.x/server-ruby/examples/users/update-prefs.md +++ b/docs/examples/1.2.x/server-ruby/examples/users/update-prefs.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-ruby/examples/users/update-status.md b/docs/examples/1.2.x/server-ruby/examples/users/update-status.md index 8a82948c76..9f7372ede4 100644 --- a/docs/examples/1.2.x/server-ruby/examples/users/update-status.md +++ b/docs/examples/1.2.x/server-ruby/examples/users/update-status.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/account/create-phone-verification.md b/docs/examples/1.2.x/server-swift/examples/account/create-phone-verification.md index cdeba91700..26ced5985b 100644 --- a/docs/examples/1.2.x/server-swift/examples/account/create-phone-verification.md +++ b/docs/examples/1.2.x/server-swift/examples/account/create-phone-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-swift/examples/account/create-recovery.md b/docs/examples/1.2.x/server-swift/examples/account/create-recovery.md index fdb0e53765..06cc974d66 100644 --- a/docs/examples/1.2.x/server-swift/examples/account/create-recovery.md +++ b/docs/examples/1.2.x/server-swift/examples/account/create-recovery.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-swift/examples/account/create-verification.md b/docs/examples/1.2.x/server-swift/examples/account/create-verification.md index 63a6a7ac94..1abcc4abb2 100644 --- a/docs/examples/1.2.x/server-swift/examples/account/create-verification.md +++ b/docs/examples/1.2.x/server-swift/examples/account/create-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-swift/examples/account/delete-session.md b/docs/examples/1.2.x/server-swift/examples/account/delete-session.md index de9f736f9c..e5c88080e9 100644 --- a/docs/examples/1.2.x/server-swift/examples/account/delete-session.md +++ b/docs/examples/1.2.x/server-swift/examples/account/delete-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-swift/examples/account/delete-sessions.md b/docs/examples/1.2.x/server-swift/examples/account/delete-sessions.md index 0f58c600d2..971f34d524 100644 --- a/docs/examples/1.2.x/server-swift/examples/account/delete-sessions.md +++ b/docs/examples/1.2.x/server-swift/examples/account/delete-sessions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-swift/examples/account/get-prefs.md b/docs/examples/1.2.x/server-swift/examples/account/get-prefs.md index ce72d7c340..be9acecd9a 100644 --- a/docs/examples/1.2.x/server-swift/examples/account/get-prefs.md +++ b/docs/examples/1.2.x/server-swift/examples/account/get-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-swift/examples/account/get-session.md b/docs/examples/1.2.x/server-swift/examples/account/get-session.md index e1b48b5aa5..3c5092f3be 100644 --- a/docs/examples/1.2.x/server-swift/examples/account/get-session.md +++ b/docs/examples/1.2.x/server-swift/examples/account/get-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-swift/examples/account/get.md b/docs/examples/1.2.x/server-swift/examples/account/get.md index 146cdfb46b..1cccf56815 100644 --- a/docs/examples/1.2.x/server-swift/examples/account/get.md +++ b/docs/examples/1.2.x/server-swift/examples/account/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-swift/examples/account/list-logs.md b/docs/examples/1.2.x/server-swift/examples/account/list-logs.md index ee2e8bb7e6..762062d106 100644 --- a/docs/examples/1.2.x/server-swift/examples/account/list-logs.md +++ b/docs/examples/1.2.x/server-swift/examples/account/list-logs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-swift/examples/account/list-sessions.md b/docs/examples/1.2.x/server-swift/examples/account/list-sessions.md index 2baf5836a2..c3b2b0aed0 100644 --- a/docs/examples/1.2.x/server-swift/examples/account/list-sessions.md +++ b/docs/examples/1.2.x/server-swift/examples/account/list-sessions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-swift/examples/account/update-email.md b/docs/examples/1.2.x/server-swift/examples/account/update-email.md index 368b86db16..c298e5faf9 100644 --- a/docs/examples/1.2.x/server-swift/examples/account/update-email.md +++ b/docs/examples/1.2.x/server-swift/examples/account/update-email.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-swift/examples/account/update-name.md b/docs/examples/1.2.x/server-swift/examples/account/update-name.md index 400ee81ca6..bc6405afc0 100644 --- a/docs/examples/1.2.x/server-swift/examples/account/update-name.md +++ b/docs/examples/1.2.x/server-swift/examples/account/update-name.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-swift/examples/account/update-password.md b/docs/examples/1.2.x/server-swift/examples/account/update-password.md index 2b0091c018..8034cd2ee1 100644 --- a/docs/examples/1.2.x/server-swift/examples/account/update-password.md +++ b/docs/examples/1.2.x/server-swift/examples/account/update-password.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-swift/examples/account/update-phone-verification.md b/docs/examples/1.2.x/server-swift/examples/account/update-phone-verification.md index 29052c573a..22cc1e8658 100644 --- a/docs/examples/1.2.x/server-swift/examples/account/update-phone-verification.md +++ b/docs/examples/1.2.x/server-swift/examples/account/update-phone-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-swift/examples/account/update-phone.md b/docs/examples/1.2.x/server-swift/examples/account/update-phone.md index eb1a757e4f..e8a27659e6 100644 --- a/docs/examples/1.2.x/server-swift/examples/account/update-phone.md +++ b/docs/examples/1.2.x/server-swift/examples/account/update-phone.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-swift/examples/account/update-prefs.md b/docs/examples/1.2.x/server-swift/examples/account/update-prefs.md index e02316a8dc..983a31fbb3 100644 --- a/docs/examples/1.2.x/server-swift/examples/account/update-prefs.md +++ b/docs/examples/1.2.x/server-swift/examples/account/update-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-swift/examples/account/update-recovery.md b/docs/examples/1.2.x/server-swift/examples/account/update-recovery.md index 92825cae55..ba8d1fa1a0 100644 --- a/docs/examples/1.2.x/server-swift/examples/account/update-recovery.md +++ b/docs/examples/1.2.x/server-swift/examples/account/update-recovery.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-swift/examples/account/update-session.md b/docs/examples/1.2.x/server-swift/examples/account/update-session.md index 84229182aa..d0002b6e49 100644 --- a/docs/examples/1.2.x/server-swift/examples/account/update-session.md +++ b/docs/examples/1.2.x/server-swift/examples/account/update-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-swift/examples/account/update-status.md b/docs/examples/1.2.x/server-swift/examples/account/update-status.md index 71129ae999..9156a79407 100644 --- a/docs/examples/1.2.x/server-swift/examples/account/update-status.md +++ b/docs/examples/1.2.x/server-swift/examples/account/update-status.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-swift/examples/account/update-verification.md b/docs/examples/1.2.x/server-swift/examples/account/update-verification.md index b8e925783e..c50bf1b88d 100644 --- a/docs/examples/1.2.x/server-swift/examples/account/update-verification.md +++ b/docs/examples/1.2.x/server-swift/examples/account/update-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-swift/examples/avatars/get-browser.md b/docs/examples/1.2.x/server-swift/examples/avatars/get-browser.md index df3a99c67a..b566d6ca05 100644 --- a/docs/examples/1.2.x/server-swift/examples/avatars/get-browser.md +++ b/docs/examples/1.2.x/server-swift/examples/avatars/get-browser.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/avatars/get-credit-card.md b/docs/examples/1.2.x/server-swift/examples/avatars/get-credit-card.md index ce4382d77b..5b47aab1ab 100644 --- a/docs/examples/1.2.x/server-swift/examples/avatars/get-credit-card.md +++ b/docs/examples/1.2.x/server-swift/examples/avatars/get-credit-card.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/avatars/get-favicon.md b/docs/examples/1.2.x/server-swift/examples/avatars/get-favicon.md index 36c77218b7..77803cd5a0 100644 --- a/docs/examples/1.2.x/server-swift/examples/avatars/get-favicon.md +++ b/docs/examples/1.2.x/server-swift/examples/avatars/get-favicon.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/avatars/get-flag.md b/docs/examples/1.2.x/server-swift/examples/avatars/get-flag.md index 849ec48cea..16e566d9e1 100644 --- a/docs/examples/1.2.x/server-swift/examples/avatars/get-flag.md +++ b/docs/examples/1.2.x/server-swift/examples/avatars/get-flag.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/avatars/get-image.md b/docs/examples/1.2.x/server-swift/examples/avatars/get-image.md index d457976f54..2fd24c5c7d 100644 --- a/docs/examples/1.2.x/server-swift/examples/avatars/get-image.md +++ b/docs/examples/1.2.x/server-swift/examples/avatars/get-image.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/avatars/get-initials.md b/docs/examples/1.2.x/server-swift/examples/avatars/get-initials.md index 74d8d956db..9062ca5ca7 100644 --- a/docs/examples/1.2.x/server-swift/examples/avatars/get-initials.md +++ b/docs/examples/1.2.x/server-swift/examples/avatars/get-initials.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/avatars/get-q-r.md b/docs/examples/1.2.x/server-swift/examples/avatars/get-q-r.md index 537bfb5b43..c8d7fba5be 100644 --- a/docs/examples/1.2.x/server-swift/examples/avatars/get-q-r.md +++ b/docs/examples/1.2.x/server-swift/examples/avatars/get-q-r.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/databases/create-boolean-attribute.md b/docs/examples/1.2.x/server-swift/examples/databases/create-boolean-attribute.md index 11eae088e7..1be49bb0d4 100644 --- a/docs/examples/1.2.x/server-swift/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.2.x/server-swift/examples/databases/create-boolean-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/databases/create-collection.md b/docs/examples/1.2.x/server-swift/examples/databases/create-collection.md index ff9172bb29..b4bb744eee 100644 --- a/docs/examples/1.2.x/server-swift/examples/databases/create-collection.md +++ b/docs/examples/1.2.x/server-swift/examples/databases/create-collection.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/databases/create-datetime-attribute.md b/docs/examples/1.2.x/server-swift/examples/databases/create-datetime-attribute.md index 26020fb88f..119c5ec830 100644 --- a/docs/examples/1.2.x/server-swift/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.2.x/server-swift/examples/databases/create-datetime-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/databases/create-document.md b/docs/examples/1.2.x/server-swift/examples/databases/create-document.md index b76eab7c70..5985560b67 100644 --- a/docs/examples/1.2.x/server-swift/examples/databases/create-document.md +++ b/docs/examples/1.2.x/server-swift/examples/databases/create-document.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/databases/create-email-attribute.md b/docs/examples/1.2.x/server-swift/examples/databases/create-email-attribute.md index cddebec6b2..690a49b68a 100644 --- a/docs/examples/1.2.x/server-swift/examples/databases/create-email-attribute.md +++ b/docs/examples/1.2.x/server-swift/examples/databases/create-email-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/databases/create-enum-attribute.md b/docs/examples/1.2.x/server-swift/examples/databases/create-enum-attribute.md index dc56bff395..b08ccbeb83 100644 --- a/docs/examples/1.2.x/server-swift/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.2.x/server-swift/examples/databases/create-enum-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/databases/create-float-attribute.md b/docs/examples/1.2.x/server-swift/examples/databases/create-float-attribute.md index ec01499e98..851afc2ac1 100644 --- a/docs/examples/1.2.x/server-swift/examples/databases/create-float-attribute.md +++ b/docs/examples/1.2.x/server-swift/examples/databases/create-float-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/databases/create-index.md b/docs/examples/1.2.x/server-swift/examples/databases/create-index.md index 03cc91b0b4..2271a9898e 100644 --- a/docs/examples/1.2.x/server-swift/examples/databases/create-index.md +++ b/docs/examples/1.2.x/server-swift/examples/databases/create-index.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/databases/create-integer-attribute.md b/docs/examples/1.2.x/server-swift/examples/databases/create-integer-attribute.md index eeea1cb01b..72cd31c5a8 100644 --- a/docs/examples/1.2.x/server-swift/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.2.x/server-swift/examples/databases/create-integer-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/databases/create-ip-attribute.md b/docs/examples/1.2.x/server-swift/examples/databases/create-ip-attribute.md index 948aa2ad37..c03c555f52 100644 --- a/docs/examples/1.2.x/server-swift/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.2.x/server-swift/examples/databases/create-ip-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/databases/create-string-attribute.md b/docs/examples/1.2.x/server-swift/examples/databases/create-string-attribute.md index 0d3e65442b..daa04767a3 100644 --- a/docs/examples/1.2.x/server-swift/examples/databases/create-string-attribute.md +++ b/docs/examples/1.2.x/server-swift/examples/databases/create-string-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/databases/create-url-attribute.md b/docs/examples/1.2.x/server-swift/examples/databases/create-url-attribute.md index 747a6c7367..94eefa1b61 100644 --- a/docs/examples/1.2.x/server-swift/examples/databases/create-url-attribute.md +++ b/docs/examples/1.2.x/server-swift/examples/databases/create-url-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/databases/create.md b/docs/examples/1.2.x/server-swift/examples/databases/create.md index 5e4abf88a0..6578c5783b 100644 --- a/docs/examples/1.2.x/server-swift/examples/databases/create.md +++ b/docs/examples/1.2.x/server-swift/examples/databases/create.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/databases/delete-attribute.md b/docs/examples/1.2.x/server-swift/examples/databases/delete-attribute.md index 0fc9470570..a9c778b34c 100644 --- a/docs/examples/1.2.x/server-swift/examples/databases/delete-attribute.md +++ b/docs/examples/1.2.x/server-swift/examples/databases/delete-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/databases/delete-collection.md b/docs/examples/1.2.x/server-swift/examples/databases/delete-collection.md index b00916534e..f410170aa8 100644 --- a/docs/examples/1.2.x/server-swift/examples/databases/delete-collection.md +++ b/docs/examples/1.2.x/server-swift/examples/databases/delete-collection.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/databases/delete-document.md b/docs/examples/1.2.x/server-swift/examples/databases/delete-document.md index 185c33d410..24dd564236 100644 --- a/docs/examples/1.2.x/server-swift/examples/databases/delete-document.md +++ b/docs/examples/1.2.x/server-swift/examples/databases/delete-document.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/databases/delete-index.md b/docs/examples/1.2.x/server-swift/examples/databases/delete-index.md index 0ad4ac3442..fa5acc635a 100644 --- a/docs/examples/1.2.x/server-swift/examples/databases/delete-index.md +++ b/docs/examples/1.2.x/server-swift/examples/databases/delete-index.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/databases/delete.md b/docs/examples/1.2.x/server-swift/examples/databases/delete.md index 48b687e237..01be19d136 100644 --- a/docs/examples/1.2.x/server-swift/examples/databases/delete.md +++ b/docs/examples/1.2.x/server-swift/examples/databases/delete.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/databases/get-attribute.md b/docs/examples/1.2.x/server-swift/examples/databases/get-attribute.md index e0ea280f56..4d4697052b 100644 --- a/docs/examples/1.2.x/server-swift/examples/databases/get-attribute.md +++ b/docs/examples/1.2.x/server-swift/examples/databases/get-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/databases/get-collection.md b/docs/examples/1.2.x/server-swift/examples/databases/get-collection.md index 39c36b3d61..a55294591a 100644 --- a/docs/examples/1.2.x/server-swift/examples/databases/get-collection.md +++ b/docs/examples/1.2.x/server-swift/examples/databases/get-collection.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/databases/get-document.md b/docs/examples/1.2.x/server-swift/examples/databases/get-document.md index 2a12e1140a..2d2768ca2c 100644 --- a/docs/examples/1.2.x/server-swift/examples/databases/get-document.md +++ b/docs/examples/1.2.x/server-swift/examples/databases/get-document.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/databases/get-index.md b/docs/examples/1.2.x/server-swift/examples/databases/get-index.md index e69263346a..69b694d072 100644 --- a/docs/examples/1.2.x/server-swift/examples/databases/get-index.md +++ b/docs/examples/1.2.x/server-swift/examples/databases/get-index.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/databases/get.md b/docs/examples/1.2.x/server-swift/examples/databases/get.md index 805fa3ee23..9fa4abca50 100644 --- a/docs/examples/1.2.x/server-swift/examples/databases/get.md +++ b/docs/examples/1.2.x/server-swift/examples/databases/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/databases/list-attributes.md b/docs/examples/1.2.x/server-swift/examples/databases/list-attributes.md index 475da0a712..71fdcbc997 100644 --- a/docs/examples/1.2.x/server-swift/examples/databases/list-attributes.md +++ b/docs/examples/1.2.x/server-swift/examples/databases/list-attributes.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/databases/list-collections.md b/docs/examples/1.2.x/server-swift/examples/databases/list-collections.md index 8e451ca8a0..bf150e8596 100644 --- a/docs/examples/1.2.x/server-swift/examples/databases/list-collections.md +++ b/docs/examples/1.2.x/server-swift/examples/databases/list-collections.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/databases/list-documents.md b/docs/examples/1.2.x/server-swift/examples/databases/list-documents.md index 24bb859761..0ca2d5ff48 100644 --- a/docs/examples/1.2.x/server-swift/examples/databases/list-documents.md +++ b/docs/examples/1.2.x/server-swift/examples/databases/list-documents.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/databases/list-indexes.md b/docs/examples/1.2.x/server-swift/examples/databases/list-indexes.md index 145c02ddcc..be16b25a31 100644 --- a/docs/examples/1.2.x/server-swift/examples/databases/list-indexes.md +++ b/docs/examples/1.2.x/server-swift/examples/databases/list-indexes.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/databases/list.md b/docs/examples/1.2.x/server-swift/examples/databases/list.md index fe7a54df44..45796c04c0 100644 --- a/docs/examples/1.2.x/server-swift/examples/databases/list.md +++ b/docs/examples/1.2.x/server-swift/examples/databases/list.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/databases/update-collection.md b/docs/examples/1.2.x/server-swift/examples/databases/update-collection.md index 807c5659f9..d2969b4a4d 100644 --- a/docs/examples/1.2.x/server-swift/examples/databases/update-collection.md +++ b/docs/examples/1.2.x/server-swift/examples/databases/update-collection.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/databases/update-document.md b/docs/examples/1.2.x/server-swift/examples/databases/update-document.md index 56eed00082..872711afcf 100644 --- a/docs/examples/1.2.x/server-swift/examples/databases/update-document.md +++ b/docs/examples/1.2.x/server-swift/examples/databases/update-document.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/databases/update.md b/docs/examples/1.2.x/server-swift/examples/databases/update.md index 8e14f08009..b9185e6aae 100644 --- a/docs/examples/1.2.x/server-swift/examples/databases/update.md +++ b/docs/examples/1.2.x/server-swift/examples/databases/update.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/functions/create-build.md b/docs/examples/1.2.x/server-swift/examples/functions/create-build.md index 8419bf6950..2c469e5ea6 100644 --- a/docs/examples/1.2.x/server-swift/examples/functions/create-build.md +++ b/docs/examples/1.2.x/server-swift/examples/functions/create-build.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/functions/create-deployment.md b/docs/examples/1.2.x/server-swift/examples/functions/create-deployment.md index d24359e73b..6b4527852a 100644 --- a/docs/examples/1.2.x/server-swift/examples/functions/create-deployment.md +++ b/docs/examples/1.2.x/server-swift/examples/functions/create-deployment.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/functions/create-execution.md b/docs/examples/1.2.x/server-swift/examples/functions/create-execution.md index 0354bf5488..1454b4e11a 100644 --- a/docs/examples/1.2.x/server-swift/examples/functions/create-execution.md +++ b/docs/examples/1.2.x/server-swift/examples/functions/create-execution.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/functions/create-variable.md b/docs/examples/1.2.x/server-swift/examples/functions/create-variable.md index f261311192..914f189284 100644 --- a/docs/examples/1.2.x/server-swift/examples/functions/create-variable.md +++ b/docs/examples/1.2.x/server-swift/examples/functions/create-variable.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/functions/create.md b/docs/examples/1.2.x/server-swift/examples/functions/create.md index ea588276ab..feedd4725d 100644 --- a/docs/examples/1.2.x/server-swift/examples/functions/create.md +++ b/docs/examples/1.2.x/server-swift/examples/functions/create.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/functions/delete-deployment.md b/docs/examples/1.2.x/server-swift/examples/functions/delete-deployment.md index 228f9f62e2..378e1f35aa 100644 --- a/docs/examples/1.2.x/server-swift/examples/functions/delete-deployment.md +++ b/docs/examples/1.2.x/server-swift/examples/functions/delete-deployment.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/functions/delete-variable.md b/docs/examples/1.2.x/server-swift/examples/functions/delete-variable.md index 410cffe13c..55e3d4a91f 100644 --- a/docs/examples/1.2.x/server-swift/examples/functions/delete-variable.md +++ b/docs/examples/1.2.x/server-swift/examples/functions/delete-variable.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/functions/delete.md b/docs/examples/1.2.x/server-swift/examples/functions/delete.md index bee774e61b..67b2f0332c 100644 --- a/docs/examples/1.2.x/server-swift/examples/functions/delete.md +++ b/docs/examples/1.2.x/server-swift/examples/functions/delete.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/functions/get-deployment.md b/docs/examples/1.2.x/server-swift/examples/functions/get-deployment.md index 0a463c4121..aba9a5084a 100644 --- a/docs/examples/1.2.x/server-swift/examples/functions/get-deployment.md +++ b/docs/examples/1.2.x/server-swift/examples/functions/get-deployment.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/functions/get-execution.md b/docs/examples/1.2.x/server-swift/examples/functions/get-execution.md index 7af8bd5906..c8ec6c1aca 100644 --- a/docs/examples/1.2.x/server-swift/examples/functions/get-execution.md +++ b/docs/examples/1.2.x/server-swift/examples/functions/get-execution.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/functions/get-variable.md b/docs/examples/1.2.x/server-swift/examples/functions/get-variable.md index f2fa61b903..f8acd3dda4 100644 --- a/docs/examples/1.2.x/server-swift/examples/functions/get-variable.md +++ b/docs/examples/1.2.x/server-swift/examples/functions/get-variable.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/functions/get.md b/docs/examples/1.2.x/server-swift/examples/functions/get.md index c5ba24ae26..aead1667f2 100644 --- a/docs/examples/1.2.x/server-swift/examples/functions/get.md +++ b/docs/examples/1.2.x/server-swift/examples/functions/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/functions/list-deployments.md b/docs/examples/1.2.x/server-swift/examples/functions/list-deployments.md index 652620bf40..c2c32eaa34 100644 --- a/docs/examples/1.2.x/server-swift/examples/functions/list-deployments.md +++ b/docs/examples/1.2.x/server-swift/examples/functions/list-deployments.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/functions/list-executions.md b/docs/examples/1.2.x/server-swift/examples/functions/list-executions.md index fa32172cbd..26536b7e03 100644 --- a/docs/examples/1.2.x/server-swift/examples/functions/list-executions.md +++ b/docs/examples/1.2.x/server-swift/examples/functions/list-executions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/functions/list-runtimes.md b/docs/examples/1.2.x/server-swift/examples/functions/list-runtimes.md index 6a543754eb..c7de59bed3 100644 --- a/docs/examples/1.2.x/server-swift/examples/functions/list-runtimes.md +++ b/docs/examples/1.2.x/server-swift/examples/functions/list-runtimes.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/functions/list-variables.md b/docs/examples/1.2.x/server-swift/examples/functions/list-variables.md index d13c752254..abf0f514be 100644 --- a/docs/examples/1.2.x/server-swift/examples/functions/list-variables.md +++ b/docs/examples/1.2.x/server-swift/examples/functions/list-variables.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/functions/list.md b/docs/examples/1.2.x/server-swift/examples/functions/list.md index 81363f17ff..d04ab677f3 100644 --- a/docs/examples/1.2.x/server-swift/examples/functions/list.md +++ b/docs/examples/1.2.x/server-swift/examples/functions/list.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/functions/update-deployment.md b/docs/examples/1.2.x/server-swift/examples/functions/update-deployment.md index b0f4fc23c4..1e81e41286 100644 --- a/docs/examples/1.2.x/server-swift/examples/functions/update-deployment.md +++ b/docs/examples/1.2.x/server-swift/examples/functions/update-deployment.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/functions/update-variable.md b/docs/examples/1.2.x/server-swift/examples/functions/update-variable.md index 0eb5b2e976..2ce5b597ea 100644 --- a/docs/examples/1.2.x/server-swift/examples/functions/update-variable.md +++ b/docs/examples/1.2.x/server-swift/examples/functions/update-variable.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/functions/update.md b/docs/examples/1.2.x/server-swift/examples/functions/update.md index 76782521a5..c2e925bf28 100644 --- a/docs/examples/1.2.x/server-swift/examples/functions/update.md +++ b/docs/examples/1.2.x/server-swift/examples/functions/update.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/graphql/63a08ed7b8f61.md b/docs/examples/1.2.x/server-swift/examples/graphql/63a08ed7b8f61.md index 86ffab5a9f..b07095e7dd 100644 --- a/docs/examples/1.2.x/server-swift/examples/graphql/63a08ed7b8f61.md +++ b/docs/examples/1.2.x/server-swift/examples/graphql/63a08ed7b8f61.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/graphql/get.md b/docs/examples/1.2.x/server-swift/examples/graphql/get.md index 6427c6fe08..30f633f5a2 100644 --- a/docs/examples/1.2.x/server-swift/examples/graphql/get.md +++ b/docs/examples/1.2.x/server-swift/examples/graphql/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/graphql/mutation.md b/docs/examples/1.2.x/server-swift/examples/graphql/mutation.md index db869d48c9..f2a0460e28 100644 --- a/docs/examples/1.2.x/server-swift/examples/graphql/mutation.md +++ b/docs/examples/1.2.x/server-swift/examples/graphql/mutation.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/graphql/query.md b/docs/examples/1.2.x/server-swift/examples/graphql/query.md index 5e97508be5..58fe1041c4 100644 --- a/docs/examples/1.2.x/server-swift/examples/graphql/query.md +++ b/docs/examples/1.2.x/server-swift/examples/graphql/query.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/health/get-antivirus.md b/docs/examples/1.2.x/server-swift/examples/health/get-antivirus.md index cab0d98339..2c45f7a619 100644 --- a/docs/examples/1.2.x/server-swift/examples/health/get-antivirus.md +++ b/docs/examples/1.2.x/server-swift/examples/health/get-antivirus.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/health/get-cache.md b/docs/examples/1.2.x/server-swift/examples/health/get-cache.md index a682d63a6f..8d54eede9c 100644 --- a/docs/examples/1.2.x/server-swift/examples/health/get-cache.md +++ b/docs/examples/1.2.x/server-swift/examples/health/get-cache.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/health/get-d-b.md b/docs/examples/1.2.x/server-swift/examples/health/get-d-b.md index 81645497b5..e115eee2ad 100644 --- a/docs/examples/1.2.x/server-swift/examples/health/get-d-b.md +++ b/docs/examples/1.2.x/server-swift/examples/health/get-d-b.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/health/get-queue-certificates.md b/docs/examples/1.2.x/server-swift/examples/health/get-queue-certificates.md index 71f4dcfc43..f9490918e4 100644 --- a/docs/examples/1.2.x/server-swift/examples/health/get-queue-certificates.md +++ b/docs/examples/1.2.x/server-swift/examples/health/get-queue-certificates.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/health/get-queue-functions.md b/docs/examples/1.2.x/server-swift/examples/health/get-queue-functions.md index d6bdf76756..2f412b9da1 100644 --- a/docs/examples/1.2.x/server-swift/examples/health/get-queue-functions.md +++ b/docs/examples/1.2.x/server-swift/examples/health/get-queue-functions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/health/get-queue-logs.md b/docs/examples/1.2.x/server-swift/examples/health/get-queue-logs.md index 7580e46da1..6fc521baef 100644 --- a/docs/examples/1.2.x/server-swift/examples/health/get-queue-logs.md +++ b/docs/examples/1.2.x/server-swift/examples/health/get-queue-logs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/health/get-queue-webhooks.md b/docs/examples/1.2.x/server-swift/examples/health/get-queue-webhooks.md index 431a5a031c..42f1de37fe 100644 --- a/docs/examples/1.2.x/server-swift/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.2.x/server-swift/examples/health/get-queue-webhooks.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/health/get-storage-local.md b/docs/examples/1.2.x/server-swift/examples/health/get-storage-local.md index ee807980bb..276b1635ae 100644 --- a/docs/examples/1.2.x/server-swift/examples/health/get-storage-local.md +++ b/docs/examples/1.2.x/server-swift/examples/health/get-storage-local.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/health/get-time.md b/docs/examples/1.2.x/server-swift/examples/health/get-time.md index f6d66d950a..7b4bbb3dee 100644 --- a/docs/examples/1.2.x/server-swift/examples/health/get-time.md +++ b/docs/examples/1.2.x/server-swift/examples/health/get-time.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/health/get.md b/docs/examples/1.2.x/server-swift/examples/health/get.md index 828f3453e0..179b9694a2 100644 --- a/docs/examples/1.2.x/server-swift/examples/health/get.md +++ b/docs/examples/1.2.x/server-swift/examples/health/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/locale/get.md b/docs/examples/1.2.x/server-swift/examples/locale/get.md index 5c5aee4cb4..99df3ebbd1 100644 --- a/docs/examples/1.2.x/server-swift/examples/locale/get.md +++ b/docs/examples/1.2.x/server-swift/examples/locale/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/locale/list-continents.md b/docs/examples/1.2.x/server-swift/examples/locale/list-continents.md index 8cd7964b63..d3b8a66262 100644 --- a/docs/examples/1.2.x/server-swift/examples/locale/list-continents.md +++ b/docs/examples/1.2.x/server-swift/examples/locale/list-continents.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/locale/list-countries-e-u.md b/docs/examples/1.2.x/server-swift/examples/locale/list-countries-e-u.md index a787e7b722..a02f72cd7a 100644 --- a/docs/examples/1.2.x/server-swift/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.2.x/server-swift/examples/locale/list-countries-e-u.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/locale/list-countries-phones.md b/docs/examples/1.2.x/server-swift/examples/locale/list-countries-phones.md index cf16d2d0b2..2d4d7ef006 100644 --- a/docs/examples/1.2.x/server-swift/examples/locale/list-countries-phones.md +++ b/docs/examples/1.2.x/server-swift/examples/locale/list-countries-phones.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/locale/list-countries.md b/docs/examples/1.2.x/server-swift/examples/locale/list-countries.md index 32d5901e37..ba769689a3 100644 --- a/docs/examples/1.2.x/server-swift/examples/locale/list-countries.md +++ b/docs/examples/1.2.x/server-swift/examples/locale/list-countries.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/locale/list-currencies.md b/docs/examples/1.2.x/server-swift/examples/locale/list-currencies.md index 6b1daa7422..2211e1855f 100644 --- a/docs/examples/1.2.x/server-swift/examples/locale/list-currencies.md +++ b/docs/examples/1.2.x/server-swift/examples/locale/list-currencies.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/locale/list-languages.md b/docs/examples/1.2.x/server-swift/examples/locale/list-languages.md index 72c5649aae..c865670953 100644 --- a/docs/examples/1.2.x/server-swift/examples/locale/list-languages.md +++ b/docs/examples/1.2.x/server-swift/examples/locale/list-languages.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/storage/create-bucket.md b/docs/examples/1.2.x/server-swift/examples/storage/create-bucket.md index d3f91ab7af..80ffc45dec 100644 --- a/docs/examples/1.2.x/server-swift/examples/storage/create-bucket.md +++ b/docs/examples/1.2.x/server-swift/examples/storage/create-bucket.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/storage/create-file.md b/docs/examples/1.2.x/server-swift/examples/storage/create-file.md index 45dd245d31..664a54c53f 100644 --- a/docs/examples/1.2.x/server-swift/examples/storage/create-file.md +++ b/docs/examples/1.2.x/server-swift/examples/storage/create-file.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/storage/delete-bucket.md b/docs/examples/1.2.x/server-swift/examples/storage/delete-bucket.md index 4d41f1c373..6c40736576 100644 --- a/docs/examples/1.2.x/server-swift/examples/storage/delete-bucket.md +++ b/docs/examples/1.2.x/server-swift/examples/storage/delete-bucket.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/storage/delete-file.md b/docs/examples/1.2.x/server-swift/examples/storage/delete-file.md index b2168f8ca1..5d547d82a5 100644 --- a/docs/examples/1.2.x/server-swift/examples/storage/delete-file.md +++ b/docs/examples/1.2.x/server-swift/examples/storage/delete-file.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/storage/get-bucket.md b/docs/examples/1.2.x/server-swift/examples/storage/get-bucket.md index 8a27759e0e..352aab3412 100644 --- a/docs/examples/1.2.x/server-swift/examples/storage/get-bucket.md +++ b/docs/examples/1.2.x/server-swift/examples/storage/get-bucket.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/storage/get-file-download.md b/docs/examples/1.2.x/server-swift/examples/storage/get-file-download.md index 5205e17d43..1784f72852 100644 --- a/docs/examples/1.2.x/server-swift/examples/storage/get-file-download.md +++ b/docs/examples/1.2.x/server-swift/examples/storage/get-file-download.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/storage/get-file-preview.md b/docs/examples/1.2.x/server-swift/examples/storage/get-file-preview.md index f6fbec6654..92fce42694 100644 --- a/docs/examples/1.2.x/server-swift/examples/storage/get-file-preview.md +++ b/docs/examples/1.2.x/server-swift/examples/storage/get-file-preview.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/storage/get-file-view.md b/docs/examples/1.2.x/server-swift/examples/storage/get-file-view.md index 5926bdd959..10d9c181d1 100644 --- a/docs/examples/1.2.x/server-swift/examples/storage/get-file-view.md +++ b/docs/examples/1.2.x/server-swift/examples/storage/get-file-view.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/storage/get-file.md b/docs/examples/1.2.x/server-swift/examples/storage/get-file.md index e516242775..697dc83a16 100644 --- a/docs/examples/1.2.x/server-swift/examples/storage/get-file.md +++ b/docs/examples/1.2.x/server-swift/examples/storage/get-file.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/storage/list-buckets.md b/docs/examples/1.2.x/server-swift/examples/storage/list-buckets.md index a3e92b282e..c991833cdb 100644 --- a/docs/examples/1.2.x/server-swift/examples/storage/list-buckets.md +++ b/docs/examples/1.2.x/server-swift/examples/storage/list-buckets.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/storage/list-files.md b/docs/examples/1.2.x/server-swift/examples/storage/list-files.md index 153a10d27f..1f0018a150 100644 --- a/docs/examples/1.2.x/server-swift/examples/storage/list-files.md +++ b/docs/examples/1.2.x/server-swift/examples/storage/list-files.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/storage/update-bucket.md b/docs/examples/1.2.x/server-swift/examples/storage/update-bucket.md index d2fd96c33d..f495e5efaa 100644 --- a/docs/examples/1.2.x/server-swift/examples/storage/update-bucket.md +++ b/docs/examples/1.2.x/server-swift/examples/storage/update-bucket.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/storage/update-file.md b/docs/examples/1.2.x/server-swift/examples/storage/update-file.md index f37202aa30..3a29db869d 100644 --- a/docs/examples/1.2.x/server-swift/examples/storage/update-file.md +++ b/docs/examples/1.2.x/server-swift/examples/storage/update-file.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/teams/create-membership.md b/docs/examples/1.2.x/server-swift/examples/teams/create-membership.md index c130ee6eaf..26d73ab5c7 100644 --- a/docs/examples/1.2.x/server-swift/examples/teams/create-membership.md +++ b/docs/examples/1.2.x/server-swift/examples/teams/create-membership.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/teams/create.md b/docs/examples/1.2.x/server-swift/examples/teams/create.md index e4f8c09e57..2e2b7faba0 100644 --- a/docs/examples/1.2.x/server-swift/examples/teams/create.md +++ b/docs/examples/1.2.x/server-swift/examples/teams/create.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/teams/delete-membership.md b/docs/examples/1.2.x/server-swift/examples/teams/delete-membership.md index 25326deba0..2f08c2cf0b 100644 --- a/docs/examples/1.2.x/server-swift/examples/teams/delete-membership.md +++ b/docs/examples/1.2.x/server-swift/examples/teams/delete-membership.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/teams/delete.md b/docs/examples/1.2.x/server-swift/examples/teams/delete.md index c0e3d5e898..104b19cecc 100644 --- a/docs/examples/1.2.x/server-swift/examples/teams/delete.md +++ b/docs/examples/1.2.x/server-swift/examples/teams/delete.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/teams/get-membership.md b/docs/examples/1.2.x/server-swift/examples/teams/get-membership.md index c399832ec2..c7adc3d0b6 100644 --- a/docs/examples/1.2.x/server-swift/examples/teams/get-membership.md +++ b/docs/examples/1.2.x/server-swift/examples/teams/get-membership.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/teams/get.md b/docs/examples/1.2.x/server-swift/examples/teams/get.md index 07980d4f48..a100c3d20b 100644 --- a/docs/examples/1.2.x/server-swift/examples/teams/get.md +++ b/docs/examples/1.2.x/server-swift/examples/teams/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/teams/list-memberships.md b/docs/examples/1.2.x/server-swift/examples/teams/list-memberships.md index 57d6ef7d37..31fd613114 100644 --- a/docs/examples/1.2.x/server-swift/examples/teams/list-memberships.md +++ b/docs/examples/1.2.x/server-swift/examples/teams/list-memberships.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/teams/list.md b/docs/examples/1.2.x/server-swift/examples/teams/list.md index cdb174c357..b5aa000dc0 100644 --- a/docs/examples/1.2.x/server-swift/examples/teams/list.md +++ b/docs/examples/1.2.x/server-swift/examples/teams/list.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/teams/update-membership-roles.md b/docs/examples/1.2.x/server-swift/examples/teams/update-membership-roles.md index b29bc6e7cb..d0ee44be8e 100644 --- a/docs/examples/1.2.x/server-swift/examples/teams/update-membership-roles.md +++ b/docs/examples/1.2.x/server-swift/examples/teams/update-membership-roles.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/teams/update-membership-status.md b/docs/examples/1.2.x/server-swift/examples/teams/update-membership-status.md index e209ece5ea..0ef80c00cc 100644 --- a/docs/examples/1.2.x/server-swift/examples/teams/update-membership-status.md +++ b/docs/examples/1.2.x/server-swift/examples/teams/update-membership-status.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.2.x/server-swift/examples/teams/update.md b/docs/examples/1.2.x/server-swift/examples/teams/update.md index bf731ed444..3873ecdee6 100644 --- a/docs/examples/1.2.x/server-swift/examples/teams/update.md +++ b/docs/examples/1.2.x/server-swift/examples/teams/update.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/users/create-argon2user.md b/docs/examples/1.2.x/server-swift/examples/users/create-argon2user.md index 5914c87d96..bdef66e02c 100644 --- a/docs/examples/1.2.x/server-swift/examples/users/create-argon2user.md +++ b/docs/examples/1.2.x/server-swift/examples/users/create-argon2user.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/users/create-bcrypt-user.md b/docs/examples/1.2.x/server-swift/examples/users/create-bcrypt-user.md index 4321365b5c..2e2f17737b 100644 --- a/docs/examples/1.2.x/server-swift/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.2.x/server-swift/examples/users/create-bcrypt-user.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/users/create-m-d5user.md b/docs/examples/1.2.x/server-swift/examples/users/create-m-d5user.md index 2302780c6b..30033f8b9d 100644 --- a/docs/examples/1.2.x/server-swift/examples/users/create-m-d5user.md +++ b/docs/examples/1.2.x/server-swift/examples/users/create-m-d5user.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/users/create-p-h-pass-user.md b/docs/examples/1.2.x/server-swift/examples/users/create-p-h-pass-user.md index b856891a7d..65cd8658f4 100644 --- a/docs/examples/1.2.x/server-swift/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.2.x/server-swift/examples/users/create-p-h-pass-user.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/users/create-s-h-a-user.md b/docs/examples/1.2.x/server-swift/examples/users/create-s-h-a-user.md index c96661377a..c6c8f41b07 100644 --- a/docs/examples/1.2.x/server-swift/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.2.x/server-swift/examples/users/create-s-h-a-user.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/users/create-scrypt-modified-user.md b/docs/examples/1.2.x/server-swift/examples/users/create-scrypt-modified-user.md index 3a9f70386e..bfc1ba25e9 100644 --- a/docs/examples/1.2.x/server-swift/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.2.x/server-swift/examples/users/create-scrypt-modified-user.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/users/create-scrypt-user.md b/docs/examples/1.2.x/server-swift/examples/users/create-scrypt-user.md index dbe923de93..5716295eae 100644 --- a/docs/examples/1.2.x/server-swift/examples/users/create-scrypt-user.md +++ b/docs/examples/1.2.x/server-swift/examples/users/create-scrypt-user.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/users/create.md b/docs/examples/1.2.x/server-swift/examples/users/create.md index db49c1f77f..1727ee5acd 100644 --- a/docs/examples/1.2.x/server-swift/examples/users/create.md +++ b/docs/examples/1.2.x/server-swift/examples/users/create.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/users/delete-session.md b/docs/examples/1.2.x/server-swift/examples/users/delete-session.md index 161e11d274..694dcdb792 100644 --- a/docs/examples/1.2.x/server-swift/examples/users/delete-session.md +++ b/docs/examples/1.2.x/server-swift/examples/users/delete-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/users/delete-sessions.md b/docs/examples/1.2.x/server-swift/examples/users/delete-sessions.md index 71bc2bf893..a3d02a8203 100644 --- a/docs/examples/1.2.x/server-swift/examples/users/delete-sessions.md +++ b/docs/examples/1.2.x/server-swift/examples/users/delete-sessions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/users/delete.md b/docs/examples/1.2.x/server-swift/examples/users/delete.md index c8762da65a..883e305527 100644 --- a/docs/examples/1.2.x/server-swift/examples/users/delete.md +++ b/docs/examples/1.2.x/server-swift/examples/users/delete.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/users/get-prefs.md b/docs/examples/1.2.x/server-swift/examples/users/get-prefs.md index 956724d0b3..149ec00099 100644 --- a/docs/examples/1.2.x/server-swift/examples/users/get-prefs.md +++ b/docs/examples/1.2.x/server-swift/examples/users/get-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/users/get.md b/docs/examples/1.2.x/server-swift/examples/users/get.md index a2b3a126f9..83126bd872 100644 --- a/docs/examples/1.2.x/server-swift/examples/users/get.md +++ b/docs/examples/1.2.x/server-swift/examples/users/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/users/list-logs.md b/docs/examples/1.2.x/server-swift/examples/users/list-logs.md index 20a55b7f50..71c3f66785 100644 --- a/docs/examples/1.2.x/server-swift/examples/users/list-logs.md +++ b/docs/examples/1.2.x/server-swift/examples/users/list-logs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/users/list-memberships.md b/docs/examples/1.2.x/server-swift/examples/users/list-memberships.md index c07287eb46..089b27da64 100644 --- a/docs/examples/1.2.x/server-swift/examples/users/list-memberships.md +++ b/docs/examples/1.2.x/server-swift/examples/users/list-memberships.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/users/list-sessions.md b/docs/examples/1.2.x/server-swift/examples/users/list-sessions.md index 9f403d8da0..ed3c7677bf 100644 --- a/docs/examples/1.2.x/server-swift/examples/users/list-sessions.md +++ b/docs/examples/1.2.x/server-swift/examples/users/list-sessions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/users/list.md b/docs/examples/1.2.x/server-swift/examples/users/list.md index 6b41b20015..59a0e1d44d 100644 --- a/docs/examples/1.2.x/server-swift/examples/users/list.md +++ b/docs/examples/1.2.x/server-swift/examples/users/list.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/users/update-email-verification.md b/docs/examples/1.2.x/server-swift/examples/users/update-email-verification.md index b0649e63f6..76e0a069b3 100644 --- a/docs/examples/1.2.x/server-swift/examples/users/update-email-verification.md +++ b/docs/examples/1.2.x/server-swift/examples/users/update-email-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/users/update-email.md b/docs/examples/1.2.x/server-swift/examples/users/update-email.md index 892ff0033f..7d779fcd1f 100644 --- a/docs/examples/1.2.x/server-swift/examples/users/update-email.md +++ b/docs/examples/1.2.x/server-swift/examples/users/update-email.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/users/update-name.md b/docs/examples/1.2.x/server-swift/examples/users/update-name.md index a5ce6f9cad..4f0e1118f6 100644 --- a/docs/examples/1.2.x/server-swift/examples/users/update-name.md +++ b/docs/examples/1.2.x/server-swift/examples/users/update-name.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/users/update-password.md b/docs/examples/1.2.x/server-swift/examples/users/update-password.md index 9fb2d11be0..b0ab7d6375 100644 --- a/docs/examples/1.2.x/server-swift/examples/users/update-password.md +++ b/docs/examples/1.2.x/server-swift/examples/users/update-password.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/users/update-phone-verification.md b/docs/examples/1.2.x/server-swift/examples/users/update-phone-verification.md index f837ffc167..ea10791ac0 100644 --- a/docs/examples/1.2.x/server-swift/examples/users/update-phone-verification.md +++ b/docs/examples/1.2.x/server-swift/examples/users/update-phone-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/users/update-phone.md b/docs/examples/1.2.x/server-swift/examples/users/update-phone.md index f2b8f350de..465d2613c9 100644 --- a/docs/examples/1.2.x/server-swift/examples/users/update-phone.md +++ b/docs/examples/1.2.x/server-swift/examples/users/update-phone.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/users/update-prefs.md b/docs/examples/1.2.x/server-swift/examples/users/update-prefs.md index fc4131ea2f..387d04f82e 100644 --- a/docs/examples/1.2.x/server-swift/examples/users/update-prefs.md +++ b/docs/examples/1.2.x/server-swift/examples/users/update-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.2.x/server-swift/examples/users/update-status.md b/docs/examples/1.2.x/server-swift/examples/users/update-status.md index f382775b17..c89328d341 100644 --- a/docs/examples/1.2.x/server-swift/examples/users/update-status.md +++ b/docs/examples/1.2.x/server-swift/examples/users/update-status.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/client-android/java/account/create-anonymous-session.md b/docs/examples/1.3.x/client-android/java/account/create-anonymous-session.md index 59c76309e7..a52a17d1d0 100644 --- a/docs/examples/1.3.x/client-android/java/account/create-anonymous-session.md +++ b/docs/examples/1.3.x/client-android/java/account/create-anonymous-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.3.x/client-android/java/account/create-email-session.md b/docs/examples/1.3.x/client-android/java/account/create-email-session.md index e3e6fdd007..86fa95f43c 100644 --- a/docs/examples/1.3.x/client-android/java/account/create-email-session.md +++ b/docs/examples/1.3.x/client-android/java/account/create-email-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.3.x/client-android/java/account/create-j-w-t.md b/docs/examples/1.3.x/client-android/java/account/create-j-w-t.md index c312386018..5b68aeb7dd 100644 --- a/docs/examples/1.3.x/client-android/java/account/create-j-w-t.md +++ b/docs/examples/1.3.x/client-android/java/account/create-j-w-t.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.3.x/client-android/java/account/create-magic-u-r-l-session.md b/docs/examples/1.3.x/client-android/java/account/create-magic-u-r-l-session.md index 0ed43dc286..a0b4e86b9f 100644 --- a/docs/examples/1.3.x/client-android/java/account/create-magic-u-r-l-session.md +++ b/docs/examples/1.3.x/client-android/java/account/create-magic-u-r-l-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.3.x/client-android/java/account/create-o-auth2session.md b/docs/examples/1.3.x/client-android/java/account/create-o-auth2session.md index cb9386a848..57870eedbb 100644 --- a/docs/examples/1.3.x/client-android/java/account/create-o-auth2session.md +++ b/docs/examples/1.3.x/client-android/java/account/create-o-auth2session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.3.x/client-android/java/account/create-phone-session.md b/docs/examples/1.3.x/client-android/java/account/create-phone-session.md index df5bc86891..04918325c3 100644 --- a/docs/examples/1.3.x/client-android/java/account/create-phone-session.md +++ b/docs/examples/1.3.x/client-android/java/account/create-phone-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.3.x/client-android/java/account/create-phone-verification.md b/docs/examples/1.3.x/client-android/java/account/create-phone-verification.md index 1545d0f82d..7b7c354fff 100644 --- a/docs/examples/1.3.x/client-android/java/account/create-phone-verification.md +++ b/docs/examples/1.3.x/client-android/java/account/create-phone-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.3.x/client-android/java/account/create-recovery.md b/docs/examples/1.3.x/client-android/java/account/create-recovery.md index 5e8584fc35..955fe451ba 100644 --- a/docs/examples/1.3.x/client-android/java/account/create-recovery.md +++ b/docs/examples/1.3.x/client-android/java/account/create-recovery.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.3.x/client-android/java/account/create-verification.md b/docs/examples/1.3.x/client-android/java/account/create-verification.md index fcea98f66c..3fc9879f3a 100644 --- a/docs/examples/1.3.x/client-android/java/account/create-verification.md +++ b/docs/examples/1.3.x/client-android/java/account/create-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.3.x/client-android/java/account/create.md b/docs/examples/1.3.x/client-android/java/account/create.md index e08731fd7c..629374c8a4 100644 --- a/docs/examples/1.3.x/client-android/java/account/create.md +++ b/docs/examples/1.3.x/client-android/java/account/create.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.3.x/client-android/java/account/delete-session.md b/docs/examples/1.3.x/client-android/java/account/delete-session.md index 28009d014d..345094fcc2 100644 --- a/docs/examples/1.3.x/client-android/java/account/delete-session.md +++ b/docs/examples/1.3.x/client-android/java/account/delete-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.3.x/client-android/java/account/delete-sessions.md b/docs/examples/1.3.x/client-android/java/account/delete-sessions.md index 6bdc840cff..7be86bea51 100644 --- a/docs/examples/1.3.x/client-android/java/account/delete-sessions.md +++ b/docs/examples/1.3.x/client-android/java/account/delete-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.3.x/client-android/java/account/get-prefs.md b/docs/examples/1.3.x/client-android/java/account/get-prefs.md index 9911ad30a4..2b4f47b504 100644 --- a/docs/examples/1.3.x/client-android/java/account/get-prefs.md +++ b/docs/examples/1.3.x/client-android/java/account/get-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.3.x/client-android/java/account/get-session.md b/docs/examples/1.3.x/client-android/java/account/get-session.md index fecb543782..554bd54598 100644 --- a/docs/examples/1.3.x/client-android/java/account/get-session.md +++ b/docs/examples/1.3.x/client-android/java/account/get-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.3.x/client-android/java/account/get.md b/docs/examples/1.3.x/client-android/java/account/get.md index 2e5f40ad24..d6cf1077f5 100644 --- a/docs/examples/1.3.x/client-android/java/account/get.md +++ b/docs/examples/1.3.x/client-android/java/account/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.3.x/client-android/java/account/list-logs.md b/docs/examples/1.3.x/client-android/java/account/list-logs.md index d2ce790bfe..8fed6547c3 100644 --- a/docs/examples/1.3.x/client-android/java/account/list-logs.md +++ b/docs/examples/1.3.x/client-android/java/account/list-logs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.3.x/client-android/java/account/list-sessions.md b/docs/examples/1.3.x/client-android/java/account/list-sessions.md index 7fd587e1ba..f77b0b387a 100644 --- a/docs/examples/1.3.x/client-android/java/account/list-sessions.md +++ b/docs/examples/1.3.x/client-android/java/account/list-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.3.x/client-android/java/account/update-email.md b/docs/examples/1.3.x/client-android/java/account/update-email.md index 8034ada87d..86ea5207c9 100644 --- a/docs/examples/1.3.x/client-android/java/account/update-email.md +++ b/docs/examples/1.3.x/client-android/java/account/update-email.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.3.x/client-android/java/account/update-magic-u-r-l-session.md b/docs/examples/1.3.x/client-android/java/account/update-magic-u-r-l-session.md index 0f8f2b3c5c..58c491f389 100644 --- a/docs/examples/1.3.x/client-android/java/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.3.x/client-android/java/account/update-magic-u-r-l-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.3.x/client-android/java/account/update-name.md b/docs/examples/1.3.x/client-android/java/account/update-name.md index 5940f93ef2..f10172ee8a 100644 --- a/docs/examples/1.3.x/client-android/java/account/update-name.md +++ b/docs/examples/1.3.x/client-android/java/account/update-name.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.3.x/client-android/java/account/update-password.md b/docs/examples/1.3.x/client-android/java/account/update-password.md index d9426322a4..749e904c6e 100644 --- a/docs/examples/1.3.x/client-android/java/account/update-password.md +++ b/docs/examples/1.3.x/client-android/java/account/update-password.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.3.x/client-android/java/account/update-phone-session.md b/docs/examples/1.3.x/client-android/java/account/update-phone-session.md index 589e4ff509..ca34b65c1f 100644 --- a/docs/examples/1.3.x/client-android/java/account/update-phone-session.md +++ b/docs/examples/1.3.x/client-android/java/account/update-phone-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.3.x/client-android/java/account/update-phone-verification.md b/docs/examples/1.3.x/client-android/java/account/update-phone-verification.md index 81785f97c2..eb0fcbd9af 100644 --- a/docs/examples/1.3.x/client-android/java/account/update-phone-verification.md +++ b/docs/examples/1.3.x/client-android/java/account/update-phone-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.3.x/client-android/java/account/update-phone.md b/docs/examples/1.3.x/client-android/java/account/update-phone.md index a8572f911c..b1680bb604 100644 --- a/docs/examples/1.3.x/client-android/java/account/update-phone.md +++ b/docs/examples/1.3.x/client-android/java/account/update-phone.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.3.x/client-android/java/account/update-prefs.md b/docs/examples/1.3.x/client-android/java/account/update-prefs.md index ffd5ef03b5..6552f1a68c 100644 --- a/docs/examples/1.3.x/client-android/java/account/update-prefs.md +++ b/docs/examples/1.3.x/client-android/java/account/update-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.3.x/client-android/java/account/update-recovery.md b/docs/examples/1.3.x/client-android/java/account/update-recovery.md index 7b0f392176..d6c17cff3f 100644 --- a/docs/examples/1.3.x/client-android/java/account/update-recovery.md +++ b/docs/examples/1.3.x/client-android/java/account/update-recovery.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.3.x/client-android/java/account/update-session.md b/docs/examples/1.3.x/client-android/java/account/update-session.md index 27b8f00668..4c40264def 100644 --- a/docs/examples/1.3.x/client-android/java/account/update-session.md +++ b/docs/examples/1.3.x/client-android/java/account/update-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.3.x/client-android/java/account/update-status.md b/docs/examples/1.3.x/client-android/java/account/update-status.md index 1e18ded540..42c0d2dd9d 100644 --- a/docs/examples/1.3.x/client-android/java/account/update-status.md +++ b/docs/examples/1.3.x/client-android/java/account/update-status.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.3.x/client-android/java/account/update-verification.md b/docs/examples/1.3.x/client-android/java/account/update-verification.md index d852dbf838..ba1a2cd5e2 100644 --- a/docs/examples/1.3.x/client-android/java/account/update-verification.md +++ b/docs/examples/1.3.x/client-android/java/account/update-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.3.x/client-android/java/avatars/get-browser.md b/docs/examples/1.3.x/client-android/java/avatars/get-browser.md index f072110236..2382d352d6 100644 --- a/docs/examples/1.3.x/client-android/java/avatars/get-browser.md +++ b/docs/examples/1.3.x/client-android/java/avatars/get-browser.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.3.x/client-android/java/avatars/get-credit-card.md b/docs/examples/1.3.x/client-android/java/avatars/get-credit-card.md index 0a73312791..9d3d9c31a3 100644 --- a/docs/examples/1.3.x/client-android/java/avatars/get-credit-card.md +++ b/docs/examples/1.3.x/client-android/java/avatars/get-credit-card.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.3.x/client-android/java/avatars/get-favicon.md b/docs/examples/1.3.x/client-android/java/avatars/get-favicon.md index e0c1cb6b8a..af7be8b226 100644 --- a/docs/examples/1.3.x/client-android/java/avatars/get-favicon.md +++ b/docs/examples/1.3.x/client-android/java/avatars/get-favicon.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.3.x/client-android/java/avatars/get-flag.md b/docs/examples/1.3.x/client-android/java/avatars/get-flag.md index a5f4790640..698813bb1c 100644 --- a/docs/examples/1.3.x/client-android/java/avatars/get-flag.md +++ b/docs/examples/1.3.x/client-android/java/avatars/get-flag.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.3.x/client-android/java/avatars/get-image.md b/docs/examples/1.3.x/client-android/java/avatars/get-image.md index cdc8ac722b..903d93f4d1 100644 --- a/docs/examples/1.3.x/client-android/java/avatars/get-image.md +++ b/docs/examples/1.3.x/client-android/java/avatars/get-image.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.3.x/client-android/java/avatars/get-initials.md b/docs/examples/1.3.x/client-android/java/avatars/get-initials.md index c02490c734..8c5d1452fb 100644 --- a/docs/examples/1.3.x/client-android/java/avatars/get-initials.md +++ b/docs/examples/1.3.x/client-android/java/avatars/get-initials.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.3.x/client-android/java/avatars/get-q-r.md b/docs/examples/1.3.x/client-android/java/avatars/get-q-r.md index 2532f204d8..80d03776ed 100644 --- a/docs/examples/1.3.x/client-android/java/avatars/get-q-r.md +++ b/docs/examples/1.3.x/client-android/java/avatars/get-q-r.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.3.x/client-android/java/databases/create-document.md b/docs/examples/1.3.x/client-android/java/databases/create-document.md index 715e4cdbbe..0be2e146d8 100644 --- a/docs/examples/1.3.x/client-android/java/databases/create-document.md +++ b/docs/examples/1.3.x/client-android/java/databases/create-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Databases databases = new Databases(client); diff --git a/docs/examples/1.3.x/client-android/java/databases/delete-document.md b/docs/examples/1.3.x/client-android/java/databases/delete-document.md index 1387f48687..f941418c08 100644 --- a/docs/examples/1.3.x/client-android/java/databases/delete-document.md +++ b/docs/examples/1.3.x/client-android/java/databases/delete-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Databases databases = new Databases(client); diff --git a/docs/examples/1.3.x/client-android/java/databases/get-document.md b/docs/examples/1.3.x/client-android/java/databases/get-document.md index b1a7161971..987a7957c1 100644 --- a/docs/examples/1.3.x/client-android/java/databases/get-document.md +++ b/docs/examples/1.3.x/client-android/java/databases/get-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Databases databases = new Databases(client); diff --git a/docs/examples/1.3.x/client-android/java/databases/list-documents.md b/docs/examples/1.3.x/client-android/java/databases/list-documents.md index 62dc2c7e29..f4957e7f60 100644 --- a/docs/examples/1.3.x/client-android/java/databases/list-documents.md +++ b/docs/examples/1.3.x/client-android/java/databases/list-documents.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Databases databases = new Databases(client); diff --git a/docs/examples/1.3.x/client-android/java/databases/update-document.md b/docs/examples/1.3.x/client-android/java/databases/update-document.md index d1ed59de3b..0f31cb086d 100644 --- a/docs/examples/1.3.x/client-android/java/databases/update-document.md +++ b/docs/examples/1.3.x/client-android/java/databases/update-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Databases databases = new Databases(client); diff --git a/docs/examples/1.3.x/client-android/java/functions/create-execution.md b/docs/examples/1.3.x/client-android/java/functions/create-execution.md index 3cce1c37be..79cf8c1199 100644 --- a/docs/examples/1.3.x/client-android/java/functions/create-execution.md +++ b/docs/examples/1.3.x/client-android/java/functions/create-execution.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Functions functions = new Functions(client); diff --git a/docs/examples/1.3.x/client-android/java/functions/get-execution.md b/docs/examples/1.3.x/client-android/java/functions/get-execution.md index 459d74394f..496dfe6125 100644 --- a/docs/examples/1.3.x/client-android/java/functions/get-execution.md +++ b/docs/examples/1.3.x/client-android/java/functions/get-execution.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Functions functions = new Functions(client); diff --git a/docs/examples/1.3.x/client-android/java/functions/list-executions.md b/docs/examples/1.3.x/client-android/java/functions/list-executions.md index c1f982b707..6b8c37245e 100644 --- a/docs/examples/1.3.x/client-android/java/functions/list-executions.md +++ b/docs/examples/1.3.x/client-android/java/functions/list-executions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Functions functions = new Functions(client); diff --git a/docs/examples/1.3.x/client-android/java/graphql/mutation.md b/docs/examples/1.3.x/client-android/java/graphql/mutation.md index 262e513bed..3028bf105a 100644 --- a/docs/examples/1.3.x/client-android/java/graphql/mutation.md +++ b/docs/examples/1.3.x/client-android/java/graphql/mutation.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Graphql; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Graphql graphql = new Graphql(client); diff --git a/docs/examples/1.3.x/client-android/java/graphql/query.md b/docs/examples/1.3.x/client-android/java/graphql/query.md index 4291b4735f..8215c674be 100644 --- a/docs/examples/1.3.x/client-android/java/graphql/query.md +++ b/docs/examples/1.3.x/client-android/java/graphql/query.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Graphql; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Graphql graphql = new Graphql(client); diff --git a/docs/examples/1.3.x/client-android/java/locale/get.md b/docs/examples/1.3.x/client-android/java/locale/get.md index 4d14be6d73..443f5e29b5 100644 --- a/docs/examples/1.3.x/client-android/java/locale/get.md +++ b/docs/examples/1.3.x/client-android/java/locale/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.3.x/client-android/java/locale/list-continents.md b/docs/examples/1.3.x/client-android/java/locale/list-continents.md index 6abe97a0a0..47d11d7348 100644 --- a/docs/examples/1.3.x/client-android/java/locale/list-continents.md +++ b/docs/examples/1.3.x/client-android/java/locale/list-continents.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.3.x/client-android/java/locale/list-countries-e-u.md b/docs/examples/1.3.x/client-android/java/locale/list-countries-e-u.md index 3c5ca3ae8c..0f010e71f3 100644 --- a/docs/examples/1.3.x/client-android/java/locale/list-countries-e-u.md +++ b/docs/examples/1.3.x/client-android/java/locale/list-countries-e-u.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.3.x/client-android/java/locale/list-countries-phones.md b/docs/examples/1.3.x/client-android/java/locale/list-countries-phones.md index 81ef94d702..0ff5e0a14e 100644 --- a/docs/examples/1.3.x/client-android/java/locale/list-countries-phones.md +++ b/docs/examples/1.3.x/client-android/java/locale/list-countries-phones.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.3.x/client-android/java/locale/list-countries.md b/docs/examples/1.3.x/client-android/java/locale/list-countries.md index dc0d5f52c4..754507d56b 100644 --- a/docs/examples/1.3.x/client-android/java/locale/list-countries.md +++ b/docs/examples/1.3.x/client-android/java/locale/list-countries.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.3.x/client-android/java/locale/list-currencies.md b/docs/examples/1.3.x/client-android/java/locale/list-currencies.md index 7a327b38ae..8266537550 100644 --- a/docs/examples/1.3.x/client-android/java/locale/list-currencies.md +++ b/docs/examples/1.3.x/client-android/java/locale/list-currencies.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.3.x/client-android/java/locale/list-languages.md b/docs/examples/1.3.x/client-android/java/locale/list-languages.md index 0688614b6d..ad8d092a16 100644 --- a/docs/examples/1.3.x/client-android/java/locale/list-languages.md +++ b/docs/examples/1.3.x/client-android/java/locale/list-languages.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.3.x/client-android/java/storage/create-file.md b/docs/examples/1.3.x/client-android/java/storage/create-file.md index 732b302f63..88fdd64a10 100644 --- a/docs/examples/1.3.x/client-android/java/storage/create-file.md +++ b/docs/examples/1.3.x/client-android/java/storage/create-file.md @@ -4,7 +4,7 @@ import io.appwrite.models.InputFile; import io.appwrite.services.Storage; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.3.x/client-android/java/storage/delete-file.md b/docs/examples/1.3.x/client-android/java/storage/delete-file.md index 69a0f0f844..90e98d3f0c 100644 --- a/docs/examples/1.3.x/client-android/java/storage/delete-file.md +++ b/docs/examples/1.3.x/client-android/java/storage/delete-file.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.3.x/client-android/java/storage/get-file-download.md b/docs/examples/1.3.x/client-android/java/storage/get-file-download.md index 2ab30dce5a..5c92a9b27d 100644 --- a/docs/examples/1.3.x/client-android/java/storage/get-file-download.md +++ b/docs/examples/1.3.x/client-android/java/storage/get-file-download.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.3.x/client-android/java/storage/get-file-preview.md b/docs/examples/1.3.x/client-android/java/storage/get-file-preview.md index 483f2fca16..519b03f73b 100644 --- a/docs/examples/1.3.x/client-android/java/storage/get-file-preview.md +++ b/docs/examples/1.3.x/client-android/java/storage/get-file-preview.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.3.x/client-android/java/storage/get-file-view.md b/docs/examples/1.3.x/client-android/java/storage/get-file-view.md index 5614b694a5..376428309b 100644 --- a/docs/examples/1.3.x/client-android/java/storage/get-file-view.md +++ b/docs/examples/1.3.x/client-android/java/storage/get-file-view.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.3.x/client-android/java/storage/get-file.md b/docs/examples/1.3.x/client-android/java/storage/get-file.md index 4ae0de0d9a..61d6e9f03a 100644 --- a/docs/examples/1.3.x/client-android/java/storage/get-file.md +++ b/docs/examples/1.3.x/client-android/java/storage/get-file.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.3.x/client-android/java/storage/list-files.md b/docs/examples/1.3.x/client-android/java/storage/list-files.md index dedfb6c100..345e43fd14 100644 --- a/docs/examples/1.3.x/client-android/java/storage/list-files.md +++ b/docs/examples/1.3.x/client-android/java/storage/list-files.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.3.x/client-android/java/storage/update-file.md b/docs/examples/1.3.x/client-android/java/storage/update-file.md index 9b4dd92266..92024cfdd6 100644 --- a/docs/examples/1.3.x/client-android/java/storage/update-file.md +++ b/docs/examples/1.3.x/client-android/java/storage/update-file.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.3.x/client-android/java/teams/create-membership.md b/docs/examples/1.3.x/client-android/java/teams/create-membership.md index 6c8b383358..5a414db358 100644 --- a/docs/examples/1.3.x/client-android/java/teams/create-membership.md +++ b/docs/examples/1.3.x/client-android/java/teams/create-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.3.x/client-android/java/teams/create.md b/docs/examples/1.3.x/client-android/java/teams/create.md index 263fa57be7..5a9dd741db 100644 --- a/docs/examples/1.3.x/client-android/java/teams/create.md +++ b/docs/examples/1.3.x/client-android/java/teams/create.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.3.x/client-android/java/teams/delete-membership.md b/docs/examples/1.3.x/client-android/java/teams/delete-membership.md index 40f28f0c21..0babc74b4d 100644 --- a/docs/examples/1.3.x/client-android/java/teams/delete-membership.md +++ b/docs/examples/1.3.x/client-android/java/teams/delete-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.3.x/client-android/java/teams/delete.md b/docs/examples/1.3.x/client-android/java/teams/delete.md index 5b4c378b5e..aa7425b365 100644 --- a/docs/examples/1.3.x/client-android/java/teams/delete.md +++ b/docs/examples/1.3.x/client-android/java/teams/delete.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.3.x/client-android/java/teams/get-membership.md b/docs/examples/1.3.x/client-android/java/teams/get-membership.md index f2f1d99ae0..f7a6a10d97 100644 --- a/docs/examples/1.3.x/client-android/java/teams/get-membership.md +++ b/docs/examples/1.3.x/client-android/java/teams/get-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.3.x/client-android/java/teams/get-prefs.md b/docs/examples/1.3.x/client-android/java/teams/get-prefs.md index 6963cb40ca..ea0c8594a6 100644 --- a/docs/examples/1.3.x/client-android/java/teams/get-prefs.md +++ b/docs/examples/1.3.x/client-android/java/teams/get-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.3.x/client-android/java/teams/get.md b/docs/examples/1.3.x/client-android/java/teams/get.md index 549af20d34..62af7c2201 100644 --- a/docs/examples/1.3.x/client-android/java/teams/get.md +++ b/docs/examples/1.3.x/client-android/java/teams/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.3.x/client-android/java/teams/list-memberships.md b/docs/examples/1.3.x/client-android/java/teams/list-memberships.md index 3da4e33d51..65d1bf6e96 100644 --- a/docs/examples/1.3.x/client-android/java/teams/list-memberships.md +++ b/docs/examples/1.3.x/client-android/java/teams/list-memberships.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.3.x/client-android/java/teams/list.md b/docs/examples/1.3.x/client-android/java/teams/list.md index b20ad4a211..a8d4f12d77 100644 --- a/docs/examples/1.3.x/client-android/java/teams/list.md +++ b/docs/examples/1.3.x/client-android/java/teams/list.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.3.x/client-android/java/teams/update-membership-roles.md b/docs/examples/1.3.x/client-android/java/teams/update-membership-roles.md index da5f6d8d59..2fc57ebfd9 100644 --- a/docs/examples/1.3.x/client-android/java/teams/update-membership-roles.md +++ b/docs/examples/1.3.x/client-android/java/teams/update-membership-roles.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.3.x/client-android/java/teams/update-membership-status.md b/docs/examples/1.3.x/client-android/java/teams/update-membership-status.md index 499251f21f..1a0748149f 100644 --- a/docs/examples/1.3.x/client-android/java/teams/update-membership-status.md +++ b/docs/examples/1.3.x/client-android/java/teams/update-membership-status.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.3.x/client-android/java/teams/update-name.md b/docs/examples/1.3.x/client-android/java/teams/update-name.md index 170ee59015..525cfdf201 100644 --- a/docs/examples/1.3.x/client-android/java/teams/update-name.md +++ b/docs/examples/1.3.x/client-android/java/teams/update-name.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.3.x/client-android/java/teams/update-prefs.md b/docs/examples/1.3.x/client-android/java/teams/update-prefs.md index a19ad8207e..f454393c42 100644 --- a/docs/examples/1.3.x/client-android/java/teams/update-prefs.md +++ b/docs/examples/1.3.x/client-android/java/teams/update-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.3.x/client-android/kotlin/account/create-anonymous-session.md b/docs/examples/1.3.x/client-android/kotlin/account/create-anonymous-session.md index cdcf401ed9..f0d574304d 100644 --- a/docs/examples/1.3.x/client-android/kotlin/account/create-anonymous-session.md +++ b/docs/examples/1.3.x/client-android/kotlin/account/create-anonymous-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/account/create-email-session.md b/docs/examples/1.3.x/client-android/kotlin/account/create-email-session.md index ab8d581fd1..e7b438f8cc 100644 --- a/docs/examples/1.3.x/client-android/kotlin/account/create-email-session.md +++ b/docs/examples/1.3.x/client-android/kotlin/account/create-email-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/account/create-j-w-t.md b/docs/examples/1.3.x/client-android/kotlin/account/create-j-w-t.md index 35e7a6ffd4..3e1f2e011a 100644 --- a/docs/examples/1.3.x/client-android/kotlin/account/create-j-w-t.md +++ b/docs/examples/1.3.x/client-android/kotlin/account/create-j-w-t.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/account/create-magic-u-r-l-session.md b/docs/examples/1.3.x/client-android/kotlin/account/create-magic-u-r-l-session.md index 51368b5392..88146d0732 100644 --- a/docs/examples/1.3.x/client-android/kotlin/account/create-magic-u-r-l-session.md +++ b/docs/examples/1.3.x/client-android/kotlin/account/create-magic-u-r-l-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/account/create-o-auth2session.md b/docs/examples/1.3.x/client-android/kotlin/account/create-o-auth2session.md index 395bfada00..f3bf8145e4 100644 --- a/docs/examples/1.3.x/client-android/kotlin/account/create-o-auth2session.md +++ b/docs/examples/1.3.x/client-android/kotlin/account/create-o-auth2session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/account/create-phone-session.md b/docs/examples/1.3.x/client-android/kotlin/account/create-phone-session.md index eed6f7a2e2..b87e421f8b 100644 --- a/docs/examples/1.3.x/client-android/kotlin/account/create-phone-session.md +++ b/docs/examples/1.3.x/client-android/kotlin/account/create-phone-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/account/create-phone-verification.md b/docs/examples/1.3.x/client-android/kotlin/account/create-phone-verification.md index 12fb9f74e8..8dded67ac3 100644 --- a/docs/examples/1.3.x/client-android/kotlin/account/create-phone-verification.md +++ b/docs/examples/1.3.x/client-android/kotlin/account/create-phone-verification.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/account/create-recovery.md b/docs/examples/1.3.x/client-android/kotlin/account/create-recovery.md index 7d73a671dd..70d55639c3 100644 --- a/docs/examples/1.3.x/client-android/kotlin/account/create-recovery.md +++ b/docs/examples/1.3.x/client-android/kotlin/account/create-recovery.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/account/create-verification.md b/docs/examples/1.3.x/client-android/kotlin/account/create-verification.md index b3dc43ac48..a7c8f11cac 100644 --- a/docs/examples/1.3.x/client-android/kotlin/account/create-verification.md +++ b/docs/examples/1.3.x/client-android/kotlin/account/create-verification.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/account/create.md b/docs/examples/1.3.x/client-android/kotlin/account/create.md index c72ae90def..a78fc611e5 100644 --- a/docs/examples/1.3.x/client-android/kotlin/account/create.md +++ b/docs/examples/1.3.x/client-android/kotlin/account/create.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/account/delete-session.md b/docs/examples/1.3.x/client-android/kotlin/account/delete-session.md index a98a28661b..5e22b53369 100644 --- a/docs/examples/1.3.x/client-android/kotlin/account/delete-session.md +++ b/docs/examples/1.3.x/client-android/kotlin/account/delete-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/account/delete-sessions.md b/docs/examples/1.3.x/client-android/kotlin/account/delete-sessions.md index c9afbf1345..e90c2a9348 100644 --- a/docs/examples/1.3.x/client-android/kotlin/account/delete-sessions.md +++ b/docs/examples/1.3.x/client-android/kotlin/account/delete-sessions.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/account/get-prefs.md b/docs/examples/1.3.x/client-android/kotlin/account/get-prefs.md index bd3f81a23f..01c128266b 100644 --- a/docs/examples/1.3.x/client-android/kotlin/account/get-prefs.md +++ b/docs/examples/1.3.x/client-android/kotlin/account/get-prefs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/account/get-session.md b/docs/examples/1.3.x/client-android/kotlin/account/get-session.md index d6d6c72eac..f150d0fb2f 100644 --- a/docs/examples/1.3.x/client-android/kotlin/account/get-session.md +++ b/docs/examples/1.3.x/client-android/kotlin/account/get-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/account/get.md b/docs/examples/1.3.x/client-android/kotlin/account/get.md index 4c8f0be9de..83f7f8789d 100644 --- a/docs/examples/1.3.x/client-android/kotlin/account/get.md +++ b/docs/examples/1.3.x/client-android/kotlin/account/get.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/account/list-logs.md b/docs/examples/1.3.x/client-android/kotlin/account/list-logs.md index eb337caec0..d9f569f320 100644 --- a/docs/examples/1.3.x/client-android/kotlin/account/list-logs.md +++ b/docs/examples/1.3.x/client-android/kotlin/account/list-logs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/account/list-sessions.md b/docs/examples/1.3.x/client-android/kotlin/account/list-sessions.md index cd9f63bc3c..2969326917 100644 --- a/docs/examples/1.3.x/client-android/kotlin/account/list-sessions.md +++ b/docs/examples/1.3.x/client-android/kotlin/account/list-sessions.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/account/update-email.md b/docs/examples/1.3.x/client-android/kotlin/account/update-email.md index 85a0242591..dcc9b822b6 100644 --- a/docs/examples/1.3.x/client-android/kotlin/account/update-email.md +++ b/docs/examples/1.3.x/client-android/kotlin/account/update-email.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/account/update-magic-u-r-l-session.md b/docs/examples/1.3.x/client-android/kotlin/account/update-magic-u-r-l-session.md index c7286ba6c8..c0e7f40811 100644 --- a/docs/examples/1.3.x/client-android/kotlin/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.3.x/client-android/kotlin/account/update-magic-u-r-l-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/account/update-name.md b/docs/examples/1.3.x/client-android/kotlin/account/update-name.md index 574f4938d8..18b631b1d5 100644 --- a/docs/examples/1.3.x/client-android/kotlin/account/update-name.md +++ b/docs/examples/1.3.x/client-android/kotlin/account/update-name.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/account/update-password.md b/docs/examples/1.3.x/client-android/kotlin/account/update-password.md index c5338b8694..45ff1b25e6 100644 --- a/docs/examples/1.3.x/client-android/kotlin/account/update-password.md +++ b/docs/examples/1.3.x/client-android/kotlin/account/update-password.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/account/update-phone-session.md b/docs/examples/1.3.x/client-android/kotlin/account/update-phone-session.md index d3b02e04ce..39be2c4f5f 100644 --- a/docs/examples/1.3.x/client-android/kotlin/account/update-phone-session.md +++ b/docs/examples/1.3.x/client-android/kotlin/account/update-phone-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/account/update-phone-verification.md b/docs/examples/1.3.x/client-android/kotlin/account/update-phone-verification.md index 0314f74223..4dc6c63915 100644 --- a/docs/examples/1.3.x/client-android/kotlin/account/update-phone-verification.md +++ b/docs/examples/1.3.x/client-android/kotlin/account/update-phone-verification.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/account/update-phone.md b/docs/examples/1.3.x/client-android/kotlin/account/update-phone.md index 76eb8aac5e..39d420b197 100644 --- a/docs/examples/1.3.x/client-android/kotlin/account/update-phone.md +++ b/docs/examples/1.3.x/client-android/kotlin/account/update-phone.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/account/update-prefs.md b/docs/examples/1.3.x/client-android/kotlin/account/update-prefs.md index f16e40ba41..beb8e6e2dd 100644 --- a/docs/examples/1.3.x/client-android/kotlin/account/update-prefs.md +++ b/docs/examples/1.3.x/client-android/kotlin/account/update-prefs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/account/update-recovery.md b/docs/examples/1.3.x/client-android/kotlin/account/update-recovery.md index 9682899bcb..e2f5665116 100644 --- a/docs/examples/1.3.x/client-android/kotlin/account/update-recovery.md +++ b/docs/examples/1.3.x/client-android/kotlin/account/update-recovery.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/account/update-session.md b/docs/examples/1.3.x/client-android/kotlin/account/update-session.md index e9e83d0cb0..74bf0a235e 100644 --- a/docs/examples/1.3.x/client-android/kotlin/account/update-session.md +++ b/docs/examples/1.3.x/client-android/kotlin/account/update-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/account/update-status.md b/docs/examples/1.3.x/client-android/kotlin/account/update-status.md index f7789ea237..4637918887 100644 --- a/docs/examples/1.3.x/client-android/kotlin/account/update-status.md +++ b/docs/examples/1.3.x/client-android/kotlin/account/update-status.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/account/update-verification.md b/docs/examples/1.3.x/client-android/kotlin/account/update-verification.md index af800c1fc5..de3bf1bfe3 100644 --- a/docs/examples/1.3.x/client-android/kotlin/account/update-verification.md +++ b/docs/examples/1.3.x/client-android/kotlin/account/update-verification.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/avatars/get-browser.md b/docs/examples/1.3.x/client-android/kotlin/avatars/get-browser.md index b1b2d08183..9d65c62b1c 100644 --- a/docs/examples/1.3.x/client-android/kotlin/avatars/get-browser.md +++ b/docs/examples/1.3.x/client-android/kotlin/avatars/get-browser.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/avatars/get-credit-card.md b/docs/examples/1.3.x/client-android/kotlin/avatars/get-credit-card.md index 411e05ae51..7265ea284c 100644 --- a/docs/examples/1.3.x/client-android/kotlin/avatars/get-credit-card.md +++ b/docs/examples/1.3.x/client-android/kotlin/avatars/get-credit-card.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/avatars/get-favicon.md b/docs/examples/1.3.x/client-android/kotlin/avatars/get-favicon.md index 1a4b217fa4..144c95a5c5 100644 --- a/docs/examples/1.3.x/client-android/kotlin/avatars/get-favicon.md +++ b/docs/examples/1.3.x/client-android/kotlin/avatars/get-favicon.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/avatars/get-flag.md b/docs/examples/1.3.x/client-android/kotlin/avatars/get-flag.md index 5c882d6018..82cd216677 100644 --- a/docs/examples/1.3.x/client-android/kotlin/avatars/get-flag.md +++ b/docs/examples/1.3.x/client-android/kotlin/avatars/get-flag.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/avatars/get-image.md b/docs/examples/1.3.x/client-android/kotlin/avatars/get-image.md index 20d8dff13c..05bdc47199 100644 --- a/docs/examples/1.3.x/client-android/kotlin/avatars/get-image.md +++ b/docs/examples/1.3.x/client-android/kotlin/avatars/get-image.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/avatars/get-initials.md b/docs/examples/1.3.x/client-android/kotlin/avatars/get-initials.md index 70ef9b2909..6b1d95a22a 100644 --- a/docs/examples/1.3.x/client-android/kotlin/avatars/get-initials.md +++ b/docs/examples/1.3.x/client-android/kotlin/avatars/get-initials.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/avatars/get-q-r.md b/docs/examples/1.3.x/client-android/kotlin/avatars/get-q-r.md index 92b17e1163..8d6aae60f7 100644 --- a/docs/examples/1.3.x/client-android/kotlin/avatars/get-q-r.md +++ b/docs/examples/1.3.x/client-android/kotlin/avatars/get-q-r.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/databases/create-document.md b/docs/examples/1.3.x/client-android/kotlin/databases/create-document.md index d7f1991d39..99e042cc69 100644 --- a/docs/examples/1.3.x/client-android/kotlin/databases/create-document.md +++ b/docs/examples/1.3.x/client-android/kotlin/databases/create-document.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val databases = Databases(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/databases/delete-document.md b/docs/examples/1.3.x/client-android/kotlin/databases/delete-document.md index c5bf2a2707..1a150b8c9b 100644 --- a/docs/examples/1.3.x/client-android/kotlin/databases/delete-document.md +++ b/docs/examples/1.3.x/client-android/kotlin/databases/delete-document.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val databases = Databases(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/databases/get-document.md b/docs/examples/1.3.x/client-android/kotlin/databases/get-document.md index abdee36316..afad4a20be 100644 --- a/docs/examples/1.3.x/client-android/kotlin/databases/get-document.md +++ b/docs/examples/1.3.x/client-android/kotlin/databases/get-document.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val databases = Databases(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/databases/list-documents.md b/docs/examples/1.3.x/client-android/kotlin/databases/list-documents.md index f97d8787c9..5e3a8d6231 100644 --- a/docs/examples/1.3.x/client-android/kotlin/databases/list-documents.md +++ b/docs/examples/1.3.x/client-android/kotlin/databases/list-documents.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val databases = Databases(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/databases/update-document.md b/docs/examples/1.3.x/client-android/kotlin/databases/update-document.md index 3820b8965c..c6186d7789 100644 --- a/docs/examples/1.3.x/client-android/kotlin/databases/update-document.md +++ b/docs/examples/1.3.x/client-android/kotlin/databases/update-document.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val databases = Databases(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/functions/create-execution.md b/docs/examples/1.3.x/client-android/kotlin/functions/create-execution.md index 77d4587755..4bf08c8436 100644 --- a/docs/examples/1.3.x/client-android/kotlin/functions/create-execution.md +++ b/docs/examples/1.3.x/client-android/kotlin/functions/create-execution.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val functions = Functions(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/functions/get-execution.md b/docs/examples/1.3.x/client-android/kotlin/functions/get-execution.md index b57668679f..a6488876ed 100644 --- a/docs/examples/1.3.x/client-android/kotlin/functions/get-execution.md +++ b/docs/examples/1.3.x/client-android/kotlin/functions/get-execution.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val functions = Functions(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/functions/list-executions.md b/docs/examples/1.3.x/client-android/kotlin/functions/list-executions.md index 14b613f703..7a0ebbf04a 100644 --- a/docs/examples/1.3.x/client-android/kotlin/functions/list-executions.md +++ b/docs/examples/1.3.x/client-android/kotlin/functions/list-executions.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val functions = Functions(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/graphql/mutation.md b/docs/examples/1.3.x/client-android/kotlin/graphql/mutation.md index dc37a3e640..ff5165a1c6 100644 --- a/docs/examples/1.3.x/client-android/kotlin/graphql/mutation.md +++ b/docs/examples/1.3.x/client-android/kotlin/graphql/mutation.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Graphql val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val graphql = Graphql(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/graphql/query.md b/docs/examples/1.3.x/client-android/kotlin/graphql/query.md index d821070922..6b4c11190e 100644 --- a/docs/examples/1.3.x/client-android/kotlin/graphql/query.md +++ b/docs/examples/1.3.x/client-android/kotlin/graphql/query.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Graphql val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val graphql = Graphql(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/locale/get.md b/docs/examples/1.3.x/client-android/kotlin/locale/get.md index a2044c7257..f07d3cf7eb 100644 --- a/docs/examples/1.3.x/client-android/kotlin/locale/get.md +++ b/docs/examples/1.3.x/client-android/kotlin/locale/get.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/locale/list-continents.md b/docs/examples/1.3.x/client-android/kotlin/locale/list-continents.md index 610747ee13..5fc344d170 100644 --- a/docs/examples/1.3.x/client-android/kotlin/locale/list-continents.md +++ b/docs/examples/1.3.x/client-android/kotlin/locale/list-continents.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/locale/list-countries-e-u.md b/docs/examples/1.3.x/client-android/kotlin/locale/list-countries-e-u.md index fa5483f0b0..691a9583fd 100644 --- a/docs/examples/1.3.x/client-android/kotlin/locale/list-countries-e-u.md +++ b/docs/examples/1.3.x/client-android/kotlin/locale/list-countries-e-u.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/locale/list-countries-phones.md b/docs/examples/1.3.x/client-android/kotlin/locale/list-countries-phones.md index 6aba463a38..6ef8dcd7ac 100644 --- a/docs/examples/1.3.x/client-android/kotlin/locale/list-countries-phones.md +++ b/docs/examples/1.3.x/client-android/kotlin/locale/list-countries-phones.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/locale/list-countries.md b/docs/examples/1.3.x/client-android/kotlin/locale/list-countries.md index c58456b0f5..4dcc23e85e 100644 --- a/docs/examples/1.3.x/client-android/kotlin/locale/list-countries.md +++ b/docs/examples/1.3.x/client-android/kotlin/locale/list-countries.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/locale/list-currencies.md b/docs/examples/1.3.x/client-android/kotlin/locale/list-currencies.md index 2cf064402a..f9fb666379 100644 --- a/docs/examples/1.3.x/client-android/kotlin/locale/list-currencies.md +++ b/docs/examples/1.3.x/client-android/kotlin/locale/list-currencies.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/locale/list-languages.md b/docs/examples/1.3.x/client-android/kotlin/locale/list-languages.md index afc00b1e77..cdbcaa6f07 100644 --- a/docs/examples/1.3.x/client-android/kotlin/locale/list-languages.md +++ b/docs/examples/1.3.x/client-android/kotlin/locale/list-languages.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/storage/create-file.md b/docs/examples/1.3.x/client-android/kotlin/storage/create-file.md index 7bb79ac11e..60a80bb633 100644 --- a/docs/examples/1.3.x/client-android/kotlin/storage/create-file.md +++ b/docs/examples/1.3.x/client-android/kotlin/storage/create-file.md @@ -3,7 +3,7 @@ import io.appwrite.models.InputFile import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/storage/delete-file.md b/docs/examples/1.3.x/client-android/kotlin/storage/delete-file.md index 9430d7efe3..e4f094062b 100644 --- a/docs/examples/1.3.x/client-android/kotlin/storage/delete-file.md +++ b/docs/examples/1.3.x/client-android/kotlin/storage/delete-file.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/storage/get-file-download.md b/docs/examples/1.3.x/client-android/kotlin/storage/get-file-download.md index 85bd22c9c1..ccc23d23fb 100644 --- a/docs/examples/1.3.x/client-android/kotlin/storage/get-file-download.md +++ b/docs/examples/1.3.x/client-android/kotlin/storage/get-file-download.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/storage/get-file-preview.md b/docs/examples/1.3.x/client-android/kotlin/storage/get-file-preview.md index c5bbdef419..5338b3ce45 100644 --- a/docs/examples/1.3.x/client-android/kotlin/storage/get-file-preview.md +++ b/docs/examples/1.3.x/client-android/kotlin/storage/get-file-preview.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/storage/get-file-view.md b/docs/examples/1.3.x/client-android/kotlin/storage/get-file-view.md index 7e7589c079..acba4607d7 100644 --- a/docs/examples/1.3.x/client-android/kotlin/storage/get-file-view.md +++ b/docs/examples/1.3.x/client-android/kotlin/storage/get-file-view.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/storage/get-file.md b/docs/examples/1.3.x/client-android/kotlin/storage/get-file.md index 8fb6e244e8..14d7425c56 100644 --- a/docs/examples/1.3.x/client-android/kotlin/storage/get-file.md +++ b/docs/examples/1.3.x/client-android/kotlin/storage/get-file.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/storage/list-files.md b/docs/examples/1.3.x/client-android/kotlin/storage/list-files.md index 191a3cc97c..258daaf374 100644 --- a/docs/examples/1.3.x/client-android/kotlin/storage/list-files.md +++ b/docs/examples/1.3.x/client-android/kotlin/storage/list-files.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/storage/update-file.md b/docs/examples/1.3.x/client-android/kotlin/storage/update-file.md index 005270f3e4..b5cc0d2998 100644 --- a/docs/examples/1.3.x/client-android/kotlin/storage/update-file.md +++ b/docs/examples/1.3.x/client-android/kotlin/storage/update-file.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/teams/create-membership.md b/docs/examples/1.3.x/client-android/kotlin/teams/create-membership.md index afc93366be..88fcfddd31 100644 --- a/docs/examples/1.3.x/client-android/kotlin/teams/create-membership.md +++ b/docs/examples/1.3.x/client-android/kotlin/teams/create-membership.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/teams/create.md b/docs/examples/1.3.x/client-android/kotlin/teams/create.md index 5e70bd8df0..2fa3cff014 100644 --- a/docs/examples/1.3.x/client-android/kotlin/teams/create.md +++ b/docs/examples/1.3.x/client-android/kotlin/teams/create.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/teams/delete-membership.md b/docs/examples/1.3.x/client-android/kotlin/teams/delete-membership.md index 04ef5d3490..56157f296b 100644 --- a/docs/examples/1.3.x/client-android/kotlin/teams/delete-membership.md +++ b/docs/examples/1.3.x/client-android/kotlin/teams/delete-membership.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/teams/delete.md b/docs/examples/1.3.x/client-android/kotlin/teams/delete.md index 7d58960e7c..149c120375 100644 --- a/docs/examples/1.3.x/client-android/kotlin/teams/delete.md +++ b/docs/examples/1.3.x/client-android/kotlin/teams/delete.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/teams/get-membership.md b/docs/examples/1.3.x/client-android/kotlin/teams/get-membership.md index 653bd520fa..78420a121e 100644 --- a/docs/examples/1.3.x/client-android/kotlin/teams/get-membership.md +++ b/docs/examples/1.3.x/client-android/kotlin/teams/get-membership.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/teams/get-prefs.md b/docs/examples/1.3.x/client-android/kotlin/teams/get-prefs.md index bfd8f7597f..02e05873e8 100644 --- a/docs/examples/1.3.x/client-android/kotlin/teams/get-prefs.md +++ b/docs/examples/1.3.x/client-android/kotlin/teams/get-prefs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/teams/get.md b/docs/examples/1.3.x/client-android/kotlin/teams/get.md index 72aea07f30..7997e5aa2b 100644 --- a/docs/examples/1.3.x/client-android/kotlin/teams/get.md +++ b/docs/examples/1.3.x/client-android/kotlin/teams/get.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/teams/list-memberships.md b/docs/examples/1.3.x/client-android/kotlin/teams/list-memberships.md index 53bd6f3b65..79db9e5798 100644 --- a/docs/examples/1.3.x/client-android/kotlin/teams/list-memberships.md +++ b/docs/examples/1.3.x/client-android/kotlin/teams/list-memberships.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/teams/list.md b/docs/examples/1.3.x/client-android/kotlin/teams/list.md index 57c5fe8354..29b4d655e5 100644 --- a/docs/examples/1.3.x/client-android/kotlin/teams/list.md +++ b/docs/examples/1.3.x/client-android/kotlin/teams/list.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/teams/update-membership-roles.md b/docs/examples/1.3.x/client-android/kotlin/teams/update-membership-roles.md index 1570e9df4a..299cbb7e63 100644 --- a/docs/examples/1.3.x/client-android/kotlin/teams/update-membership-roles.md +++ b/docs/examples/1.3.x/client-android/kotlin/teams/update-membership-roles.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/teams/update-membership-status.md b/docs/examples/1.3.x/client-android/kotlin/teams/update-membership-status.md index 33de006871..e1a3b53df5 100644 --- a/docs/examples/1.3.x/client-android/kotlin/teams/update-membership-status.md +++ b/docs/examples/1.3.x/client-android/kotlin/teams/update-membership-status.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/teams/update-name.md b/docs/examples/1.3.x/client-android/kotlin/teams/update-name.md index 59c681232d..d14522666a 100644 --- a/docs/examples/1.3.x/client-android/kotlin/teams/update-name.md +++ b/docs/examples/1.3.x/client-android/kotlin/teams/update-name.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.3.x/client-android/kotlin/teams/update-prefs.md b/docs/examples/1.3.x/client-android/kotlin/teams/update-prefs.md index 6a89ac768d..954f6a7aeb 100644 --- a/docs/examples/1.3.x/client-android/kotlin/teams/update-prefs.md +++ b/docs/examples/1.3.x/client-android/kotlin/teams/update-prefs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.3.x/client-apple/examples/account/create-anonymous-session.md b/docs/examples/1.3.x/client-apple/examples/account/create-anonymous-session.md index 9904f6f222..ec7bc357e1 100644 --- a/docs/examples/1.3.x/client-apple/examples/account/create-anonymous-session.md +++ b/docs/examples/1.3.x/client-apple/examples/account/create-anonymous-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.3.x/client-apple/examples/account/create-email-session.md b/docs/examples/1.3.x/client-apple/examples/account/create-email-session.md index 311a3b6260..cc9a14e931 100644 --- a/docs/examples/1.3.x/client-apple/examples/account/create-email-session.md +++ b/docs/examples/1.3.x/client-apple/examples/account/create-email-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.3.x/client-apple/examples/account/create-j-w-t.md b/docs/examples/1.3.x/client-apple/examples/account/create-j-w-t.md index c18c3c940a..7d9b4e3367 100644 --- a/docs/examples/1.3.x/client-apple/examples/account/create-j-w-t.md +++ b/docs/examples/1.3.x/client-apple/examples/account/create-j-w-t.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.3.x/client-apple/examples/account/create-magic-u-r-l-session.md b/docs/examples/1.3.x/client-apple/examples/account/create-magic-u-r-l-session.md index 929396ddc6..88efd04ca9 100644 --- a/docs/examples/1.3.x/client-apple/examples/account/create-magic-u-r-l-session.md +++ b/docs/examples/1.3.x/client-apple/examples/account/create-magic-u-r-l-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.3.x/client-apple/examples/account/create-o-auth2session.md b/docs/examples/1.3.x/client-apple/examples/account/create-o-auth2session.md index c84edfc6e7..7c4048689e 100644 --- a/docs/examples/1.3.x/client-apple/examples/account/create-o-auth2session.md +++ b/docs/examples/1.3.x/client-apple/examples/account/create-o-auth2session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.3.x/client-apple/examples/account/create-phone-session.md b/docs/examples/1.3.x/client-apple/examples/account/create-phone-session.md index caa66c161a..40ad4c34fa 100644 --- a/docs/examples/1.3.x/client-apple/examples/account/create-phone-session.md +++ b/docs/examples/1.3.x/client-apple/examples/account/create-phone-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.3.x/client-apple/examples/account/create-phone-verification.md b/docs/examples/1.3.x/client-apple/examples/account/create-phone-verification.md index b628897c60..3b1548db4a 100644 --- a/docs/examples/1.3.x/client-apple/examples/account/create-phone-verification.md +++ b/docs/examples/1.3.x/client-apple/examples/account/create-phone-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.3.x/client-apple/examples/account/create-recovery.md b/docs/examples/1.3.x/client-apple/examples/account/create-recovery.md index 8d48938a87..6f52d97ebb 100644 --- a/docs/examples/1.3.x/client-apple/examples/account/create-recovery.md +++ b/docs/examples/1.3.x/client-apple/examples/account/create-recovery.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.3.x/client-apple/examples/account/create-verification.md b/docs/examples/1.3.x/client-apple/examples/account/create-verification.md index 2c96d202d0..9271178af8 100644 --- a/docs/examples/1.3.x/client-apple/examples/account/create-verification.md +++ b/docs/examples/1.3.x/client-apple/examples/account/create-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.3.x/client-apple/examples/account/create.md b/docs/examples/1.3.x/client-apple/examples/account/create.md index a7836f8e37..fe023e0f61 100644 --- a/docs/examples/1.3.x/client-apple/examples/account/create.md +++ b/docs/examples/1.3.x/client-apple/examples/account/create.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.3.x/client-apple/examples/account/delete-session.md b/docs/examples/1.3.x/client-apple/examples/account/delete-session.md index 316a27d8f7..6e42ce8a5e 100644 --- a/docs/examples/1.3.x/client-apple/examples/account/delete-session.md +++ b/docs/examples/1.3.x/client-apple/examples/account/delete-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.3.x/client-apple/examples/account/delete-sessions.md b/docs/examples/1.3.x/client-apple/examples/account/delete-sessions.md index efb8c7cce1..b45ea356fe 100644 --- a/docs/examples/1.3.x/client-apple/examples/account/delete-sessions.md +++ b/docs/examples/1.3.x/client-apple/examples/account/delete-sessions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.3.x/client-apple/examples/account/get-prefs.md b/docs/examples/1.3.x/client-apple/examples/account/get-prefs.md index 5a9fb2e356..7605035f35 100644 --- a/docs/examples/1.3.x/client-apple/examples/account/get-prefs.md +++ b/docs/examples/1.3.x/client-apple/examples/account/get-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.3.x/client-apple/examples/account/get-session.md b/docs/examples/1.3.x/client-apple/examples/account/get-session.md index 66b363574a..6adf367a33 100644 --- a/docs/examples/1.3.x/client-apple/examples/account/get-session.md +++ b/docs/examples/1.3.x/client-apple/examples/account/get-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.3.x/client-apple/examples/account/get.md b/docs/examples/1.3.x/client-apple/examples/account/get.md index f29f83f8e8..0bfdb0a705 100644 --- a/docs/examples/1.3.x/client-apple/examples/account/get.md +++ b/docs/examples/1.3.x/client-apple/examples/account/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.3.x/client-apple/examples/account/list-logs.md b/docs/examples/1.3.x/client-apple/examples/account/list-logs.md index 0c9725555e..bc463217d6 100644 --- a/docs/examples/1.3.x/client-apple/examples/account/list-logs.md +++ b/docs/examples/1.3.x/client-apple/examples/account/list-logs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.3.x/client-apple/examples/account/list-sessions.md b/docs/examples/1.3.x/client-apple/examples/account/list-sessions.md index b160c89f9c..9c1daf94b9 100644 --- a/docs/examples/1.3.x/client-apple/examples/account/list-sessions.md +++ b/docs/examples/1.3.x/client-apple/examples/account/list-sessions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.3.x/client-apple/examples/account/update-email.md b/docs/examples/1.3.x/client-apple/examples/account/update-email.md index a8c37af946..c1c3dd5251 100644 --- a/docs/examples/1.3.x/client-apple/examples/account/update-email.md +++ b/docs/examples/1.3.x/client-apple/examples/account/update-email.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.3.x/client-apple/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.3.x/client-apple/examples/account/update-magic-u-r-l-session.md index 42a7f710b5..e0a340a606 100644 --- a/docs/examples/1.3.x/client-apple/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.3.x/client-apple/examples/account/update-magic-u-r-l-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.3.x/client-apple/examples/account/update-name.md b/docs/examples/1.3.x/client-apple/examples/account/update-name.md index a9d76812b5..04f8832a6b 100644 --- a/docs/examples/1.3.x/client-apple/examples/account/update-name.md +++ b/docs/examples/1.3.x/client-apple/examples/account/update-name.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.3.x/client-apple/examples/account/update-password.md b/docs/examples/1.3.x/client-apple/examples/account/update-password.md index bb3c3b0bea..42a82dda33 100644 --- a/docs/examples/1.3.x/client-apple/examples/account/update-password.md +++ b/docs/examples/1.3.x/client-apple/examples/account/update-password.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.3.x/client-apple/examples/account/update-phone-session.md b/docs/examples/1.3.x/client-apple/examples/account/update-phone-session.md index 41e26c3935..a102cb740d 100644 --- a/docs/examples/1.3.x/client-apple/examples/account/update-phone-session.md +++ b/docs/examples/1.3.x/client-apple/examples/account/update-phone-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.3.x/client-apple/examples/account/update-phone-verification.md b/docs/examples/1.3.x/client-apple/examples/account/update-phone-verification.md index 1c88595dc2..8e47f16be4 100644 --- a/docs/examples/1.3.x/client-apple/examples/account/update-phone-verification.md +++ b/docs/examples/1.3.x/client-apple/examples/account/update-phone-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.3.x/client-apple/examples/account/update-phone.md b/docs/examples/1.3.x/client-apple/examples/account/update-phone.md index 306e8f5a93..e595ee3d08 100644 --- a/docs/examples/1.3.x/client-apple/examples/account/update-phone.md +++ b/docs/examples/1.3.x/client-apple/examples/account/update-phone.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.3.x/client-apple/examples/account/update-prefs.md b/docs/examples/1.3.x/client-apple/examples/account/update-prefs.md index cc765480c5..bab4b310e8 100644 --- a/docs/examples/1.3.x/client-apple/examples/account/update-prefs.md +++ b/docs/examples/1.3.x/client-apple/examples/account/update-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.3.x/client-apple/examples/account/update-recovery.md b/docs/examples/1.3.x/client-apple/examples/account/update-recovery.md index 335dd6aeef..1e965beff0 100644 --- a/docs/examples/1.3.x/client-apple/examples/account/update-recovery.md +++ b/docs/examples/1.3.x/client-apple/examples/account/update-recovery.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.3.x/client-apple/examples/account/update-session.md b/docs/examples/1.3.x/client-apple/examples/account/update-session.md index b71826246d..8e1d111650 100644 --- a/docs/examples/1.3.x/client-apple/examples/account/update-session.md +++ b/docs/examples/1.3.x/client-apple/examples/account/update-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.3.x/client-apple/examples/account/update-status.md b/docs/examples/1.3.x/client-apple/examples/account/update-status.md index 3f2d823641..2c7753f379 100644 --- a/docs/examples/1.3.x/client-apple/examples/account/update-status.md +++ b/docs/examples/1.3.x/client-apple/examples/account/update-status.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.3.x/client-apple/examples/account/update-verification.md b/docs/examples/1.3.x/client-apple/examples/account/update-verification.md index 36af6b99da..5a521a212a 100644 --- a/docs/examples/1.3.x/client-apple/examples/account/update-verification.md +++ b/docs/examples/1.3.x/client-apple/examples/account/update-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.3.x/client-apple/examples/avatars/get-browser.md b/docs/examples/1.3.x/client-apple/examples/avatars/get-browser.md index 19c8d02b6d..9f86b04435 100644 --- a/docs/examples/1.3.x/client-apple/examples/avatars/get-browser.md +++ b/docs/examples/1.3.x/client-apple/examples/avatars/get-browser.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.3.x/client-apple/examples/avatars/get-credit-card.md b/docs/examples/1.3.x/client-apple/examples/avatars/get-credit-card.md index d7a680f35e..1756c5b146 100644 --- a/docs/examples/1.3.x/client-apple/examples/avatars/get-credit-card.md +++ b/docs/examples/1.3.x/client-apple/examples/avatars/get-credit-card.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.3.x/client-apple/examples/avatars/get-favicon.md b/docs/examples/1.3.x/client-apple/examples/avatars/get-favicon.md index 01a7ec1344..945ce41a8c 100644 --- a/docs/examples/1.3.x/client-apple/examples/avatars/get-favicon.md +++ b/docs/examples/1.3.x/client-apple/examples/avatars/get-favicon.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.3.x/client-apple/examples/avatars/get-flag.md b/docs/examples/1.3.x/client-apple/examples/avatars/get-flag.md index eb33c906b6..4044888df3 100644 --- a/docs/examples/1.3.x/client-apple/examples/avatars/get-flag.md +++ b/docs/examples/1.3.x/client-apple/examples/avatars/get-flag.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.3.x/client-apple/examples/avatars/get-image.md b/docs/examples/1.3.x/client-apple/examples/avatars/get-image.md index ef0cd36920..659749d992 100644 --- a/docs/examples/1.3.x/client-apple/examples/avatars/get-image.md +++ b/docs/examples/1.3.x/client-apple/examples/avatars/get-image.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.3.x/client-apple/examples/avatars/get-initials.md b/docs/examples/1.3.x/client-apple/examples/avatars/get-initials.md index 1bdd6f058a..b9a5a7d095 100644 --- a/docs/examples/1.3.x/client-apple/examples/avatars/get-initials.md +++ b/docs/examples/1.3.x/client-apple/examples/avatars/get-initials.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.3.x/client-apple/examples/avatars/get-q-r.md b/docs/examples/1.3.x/client-apple/examples/avatars/get-q-r.md index 5c801d40bb..edf910514f 100644 --- a/docs/examples/1.3.x/client-apple/examples/avatars/get-q-r.md +++ b/docs/examples/1.3.x/client-apple/examples/avatars/get-q-r.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.3.x/client-apple/examples/databases/create-document.md b/docs/examples/1.3.x/client-apple/examples/databases/create-document.md index 533bbd534c..d7f66d018c 100644 --- a/docs/examples/1.3.x/client-apple/examples/databases/create-document.md +++ b/docs/examples/1.3.x/client-apple/examples/databases/create-document.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let databases = Databases(client) diff --git a/docs/examples/1.3.x/client-apple/examples/databases/delete-document.md b/docs/examples/1.3.x/client-apple/examples/databases/delete-document.md index c9a751294d..f05f747b6c 100644 --- a/docs/examples/1.3.x/client-apple/examples/databases/delete-document.md +++ b/docs/examples/1.3.x/client-apple/examples/databases/delete-document.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let databases = Databases(client) diff --git a/docs/examples/1.3.x/client-apple/examples/databases/get-document.md b/docs/examples/1.3.x/client-apple/examples/databases/get-document.md index 53b71fb4f5..8f85eae2a4 100644 --- a/docs/examples/1.3.x/client-apple/examples/databases/get-document.md +++ b/docs/examples/1.3.x/client-apple/examples/databases/get-document.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let databases = Databases(client) diff --git a/docs/examples/1.3.x/client-apple/examples/databases/list-documents.md b/docs/examples/1.3.x/client-apple/examples/databases/list-documents.md index 0b375df67a..c05bc15e99 100644 --- a/docs/examples/1.3.x/client-apple/examples/databases/list-documents.md +++ b/docs/examples/1.3.x/client-apple/examples/databases/list-documents.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let databases = Databases(client) diff --git a/docs/examples/1.3.x/client-apple/examples/databases/update-document.md b/docs/examples/1.3.x/client-apple/examples/databases/update-document.md index 5a943af8c1..238da36ec8 100644 --- a/docs/examples/1.3.x/client-apple/examples/databases/update-document.md +++ b/docs/examples/1.3.x/client-apple/examples/databases/update-document.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let databases = Databases(client) diff --git a/docs/examples/1.3.x/client-apple/examples/functions/create-execution.md b/docs/examples/1.3.x/client-apple/examples/functions/create-execution.md index 93702bfdbc..8c696c8dec 100644 --- a/docs/examples/1.3.x/client-apple/examples/functions/create-execution.md +++ b/docs/examples/1.3.x/client-apple/examples/functions/create-execution.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let functions = Functions(client) diff --git a/docs/examples/1.3.x/client-apple/examples/functions/get-execution.md b/docs/examples/1.3.x/client-apple/examples/functions/get-execution.md index f1e53cb570..b6ed7f7e75 100644 --- a/docs/examples/1.3.x/client-apple/examples/functions/get-execution.md +++ b/docs/examples/1.3.x/client-apple/examples/functions/get-execution.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let functions = Functions(client) diff --git a/docs/examples/1.3.x/client-apple/examples/functions/list-executions.md b/docs/examples/1.3.x/client-apple/examples/functions/list-executions.md index 0f182950ee..5e6920aa21 100644 --- a/docs/examples/1.3.x/client-apple/examples/functions/list-executions.md +++ b/docs/examples/1.3.x/client-apple/examples/functions/list-executions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let functions = Functions(client) diff --git a/docs/examples/1.3.x/client-apple/examples/graphql/mutation.md b/docs/examples/1.3.x/client-apple/examples/graphql/mutation.md index d58b881df4..aa8d9d318c 100644 --- a/docs/examples/1.3.x/client-apple/examples/graphql/mutation.md +++ b/docs/examples/1.3.x/client-apple/examples/graphql/mutation.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let graphql = Graphql(client) diff --git a/docs/examples/1.3.x/client-apple/examples/graphql/query.md b/docs/examples/1.3.x/client-apple/examples/graphql/query.md index 0aba98aeb8..78797a21a0 100644 --- a/docs/examples/1.3.x/client-apple/examples/graphql/query.md +++ b/docs/examples/1.3.x/client-apple/examples/graphql/query.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let graphql = Graphql(client) diff --git a/docs/examples/1.3.x/client-apple/examples/locale/get.md b/docs/examples/1.3.x/client-apple/examples/locale/get.md index d12470d66a..95dc75d9f8 100644 --- a/docs/examples/1.3.x/client-apple/examples/locale/get.md +++ b/docs/examples/1.3.x/client-apple/examples/locale/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.3.x/client-apple/examples/locale/list-continents.md b/docs/examples/1.3.x/client-apple/examples/locale/list-continents.md index 4853f77212..83073b0210 100644 --- a/docs/examples/1.3.x/client-apple/examples/locale/list-continents.md +++ b/docs/examples/1.3.x/client-apple/examples/locale/list-continents.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.3.x/client-apple/examples/locale/list-countries-e-u.md b/docs/examples/1.3.x/client-apple/examples/locale/list-countries-e-u.md index 6e0a4d31d0..6f9d96899a 100644 --- a/docs/examples/1.3.x/client-apple/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.3.x/client-apple/examples/locale/list-countries-e-u.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.3.x/client-apple/examples/locale/list-countries-phones.md b/docs/examples/1.3.x/client-apple/examples/locale/list-countries-phones.md index b4752eb469..46e86dbe96 100644 --- a/docs/examples/1.3.x/client-apple/examples/locale/list-countries-phones.md +++ b/docs/examples/1.3.x/client-apple/examples/locale/list-countries-phones.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.3.x/client-apple/examples/locale/list-countries.md b/docs/examples/1.3.x/client-apple/examples/locale/list-countries.md index 75369d0606..f5a43f040a 100644 --- a/docs/examples/1.3.x/client-apple/examples/locale/list-countries.md +++ b/docs/examples/1.3.x/client-apple/examples/locale/list-countries.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.3.x/client-apple/examples/locale/list-currencies.md b/docs/examples/1.3.x/client-apple/examples/locale/list-currencies.md index 92eea81275..bcbf30ec9d 100644 --- a/docs/examples/1.3.x/client-apple/examples/locale/list-currencies.md +++ b/docs/examples/1.3.x/client-apple/examples/locale/list-currencies.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.3.x/client-apple/examples/locale/list-languages.md b/docs/examples/1.3.x/client-apple/examples/locale/list-languages.md index 2184812b1e..46fa89e079 100644 --- a/docs/examples/1.3.x/client-apple/examples/locale/list-languages.md +++ b/docs/examples/1.3.x/client-apple/examples/locale/list-languages.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.3.x/client-apple/examples/storage/create-file.md b/docs/examples/1.3.x/client-apple/examples/storage/create-file.md index f882420882..9abfb7678b 100644 --- a/docs/examples/1.3.x/client-apple/examples/storage/create-file.md +++ b/docs/examples/1.3.x/client-apple/examples/storage/create-file.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.3.x/client-apple/examples/storage/delete-file.md b/docs/examples/1.3.x/client-apple/examples/storage/delete-file.md index 27624b4bc2..d0222a5263 100644 --- a/docs/examples/1.3.x/client-apple/examples/storage/delete-file.md +++ b/docs/examples/1.3.x/client-apple/examples/storage/delete-file.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.3.x/client-apple/examples/storage/get-file-download.md b/docs/examples/1.3.x/client-apple/examples/storage/get-file-download.md index ca96b31d93..48d8106676 100644 --- a/docs/examples/1.3.x/client-apple/examples/storage/get-file-download.md +++ b/docs/examples/1.3.x/client-apple/examples/storage/get-file-download.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.3.x/client-apple/examples/storage/get-file-preview.md b/docs/examples/1.3.x/client-apple/examples/storage/get-file-preview.md index 71c0f31f27..17f75ae40d 100644 --- a/docs/examples/1.3.x/client-apple/examples/storage/get-file-preview.md +++ b/docs/examples/1.3.x/client-apple/examples/storage/get-file-preview.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.3.x/client-apple/examples/storage/get-file-view.md b/docs/examples/1.3.x/client-apple/examples/storage/get-file-view.md index 85631efc83..f18fd82d3d 100644 --- a/docs/examples/1.3.x/client-apple/examples/storage/get-file-view.md +++ b/docs/examples/1.3.x/client-apple/examples/storage/get-file-view.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.3.x/client-apple/examples/storage/get-file.md b/docs/examples/1.3.x/client-apple/examples/storage/get-file.md index fa28b48d64..8f961898de 100644 --- a/docs/examples/1.3.x/client-apple/examples/storage/get-file.md +++ b/docs/examples/1.3.x/client-apple/examples/storage/get-file.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.3.x/client-apple/examples/storage/list-files.md b/docs/examples/1.3.x/client-apple/examples/storage/list-files.md index 51f7fe8f05..ab0633ade5 100644 --- a/docs/examples/1.3.x/client-apple/examples/storage/list-files.md +++ b/docs/examples/1.3.x/client-apple/examples/storage/list-files.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.3.x/client-apple/examples/storage/update-file.md b/docs/examples/1.3.x/client-apple/examples/storage/update-file.md index 13bf635ec6..ac8ef4b3d4 100644 --- a/docs/examples/1.3.x/client-apple/examples/storage/update-file.md +++ b/docs/examples/1.3.x/client-apple/examples/storage/update-file.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.3.x/client-apple/examples/teams/create-membership.md b/docs/examples/1.3.x/client-apple/examples/teams/create-membership.md index 1936f9d113..40cc1c96d2 100644 --- a/docs/examples/1.3.x/client-apple/examples/teams/create-membership.md +++ b/docs/examples/1.3.x/client-apple/examples/teams/create-membership.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.3.x/client-apple/examples/teams/create.md b/docs/examples/1.3.x/client-apple/examples/teams/create.md index c28eec416d..5e2b092a70 100644 --- a/docs/examples/1.3.x/client-apple/examples/teams/create.md +++ b/docs/examples/1.3.x/client-apple/examples/teams/create.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.3.x/client-apple/examples/teams/delete-membership.md b/docs/examples/1.3.x/client-apple/examples/teams/delete-membership.md index 186f6ad6fb..e14bba13c7 100644 --- a/docs/examples/1.3.x/client-apple/examples/teams/delete-membership.md +++ b/docs/examples/1.3.x/client-apple/examples/teams/delete-membership.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.3.x/client-apple/examples/teams/delete.md b/docs/examples/1.3.x/client-apple/examples/teams/delete.md index e7585ec387..5e39a53370 100644 --- a/docs/examples/1.3.x/client-apple/examples/teams/delete.md +++ b/docs/examples/1.3.x/client-apple/examples/teams/delete.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.3.x/client-apple/examples/teams/get-membership.md b/docs/examples/1.3.x/client-apple/examples/teams/get-membership.md index 02ee3dab42..a792889fd4 100644 --- a/docs/examples/1.3.x/client-apple/examples/teams/get-membership.md +++ b/docs/examples/1.3.x/client-apple/examples/teams/get-membership.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.3.x/client-apple/examples/teams/get-prefs.md b/docs/examples/1.3.x/client-apple/examples/teams/get-prefs.md index bcd65b68c4..9b7cf43c38 100644 --- a/docs/examples/1.3.x/client-apple/examples/teams/get-prefs.md +++ b/docs/examples/1.3.x/client-apple/examples/teams/get-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.3.x/client-apple/examples/teams/get.md b/docs/examples/1.3.x/client-apple/examples/teams/get.md index c8630adaac..689c5e6885 100644 --- a/docs/examples/1.3.x/client-apple/examples/teams/get.md +++ b/docs/examples/1.3.x/client-apple/examples/teams/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.3.x/client-apple/examples/teams/list-memberships.md b/docs/examples/1.3.x/client-apple/examples/teams/list-memberships.md index 1f8a0ccb73..57876d3fea 100644 --- a/docs/examples/1.3.x/client-apple/examples/teams/list-memberships.md +++ b/docs/examples/1.3.x/client-apple/examples/teams/list-memberships.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.3.x/client-apple/examples/teams/list.md b/docs/examples/1.3.x/client-apple/examples/teams/list.md index 72226d4f5b..cb9da6c7d5 100644 --- a/docs/examples/1.3.x/client-apple/examples/teams/list.md +++ b/docs/examples/1.3.x/client-apple/examples/teams/list.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.3.x/client-apple/examples/teams/update-membership-roles.md b/docs/examples/1.3.x/client-apple/examples/teams/update-membership-roles.md index e59b86b06b..8cfb32df2c 100644 --- a/docs/examples/1.3.x/client-apple/examples/teams/update-membership-roles.md +++ b/docs/examples/1.3.x/client-apple/examples/teams/update-membership-roles.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.3.x/client-apple/examples/teams/update-membership-status.md b/docs/examples/1.3.x/client-apple/examples/teams/update-membership-status.md index 65a899cb1c..5f8b723cd5 100644 --- a/docs/examples/1.3.x/client-apple/examples/teams/update-membership-status.md +++ b/docs/examples/1.3.x/client-apple/examples/teams/update-membership-status.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.3.x/client-apple/examples/teams/update-name.md b/docs/examples/1.3.x/client-apple/examples/teams/update-name.md index 357182b103..de4a6eb99e 100644 --- a/docs/examples/1.3.x/client-apple/examples/teams/update-name.md +++ b/docs/examples/1.3.x/client-apple/examples/teams/update-name.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.3.x/client-apple/examples/teams/update-prefs.md b/docs/examples/1.3.x/client-apple/examples/teams/update-prefs.md index 6cfe79e3a8..1a1a21bd79 100644 --- a/docs/examples/1.3.x/client-apple/examples/teams/update-prefs.md +++ b/docs/examples/1.3.x/client-apple/examples/teams/update-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.3.x/client-flutter/examples/account/create-anonymous-session.md b/docs/examples/1.3.x/client-flutter/examples/account/create-anonymous-session.md index 2f3e7a606c..58b707f3c9 100644 --- a/docs/examples/1.3.x/client-flutter/examples/account/create-anonymous-session.md +++ b/docs/examples/1.3.x/client-flutter/examples/account/create-anonymous-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createAnonymousSession(); diff --git a/docs/examples/1.3.x/client-flutter/examples/account/create-email-session.md b/docs/examples/1.3.x/client-flutter/examples/account/create-email-session.md index 52b6b91f19..c76c2a6e93 100644 --- a/docs/examples/1.3.x/client-flutter/examples/account/create-email-session.md +++ b/docs/examples/1.3.x/client-flutter/examples/account/create-email-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createEmailSession( diff --git a/docs/examples/1.3.x/client-flutter/examples/account/create-j-w-t.md b/docs/examples/1.3.x/client-flutter/examples/account/create-j-w-t.md index c4a61f7c34..8cee6bc69e 100644 --- a/docs/examples/1.3.x/client-flutter/examples/account/create-j-w-t.md +++ b/docs/examples/1.3.x/client-flutter/examples/account/create-j-w-t.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createJWT(); diff --git a/docs/examples/1.3.x/client-flutter/examples/account/create-magic-u-r-l-session.md b/docs/examples/1.3.x/client-flutter/examples/account/create-magic-u-r-l-session.md index d1b89bf176..e8e3732914 100644 --- a/docs/examples/1.3.x/client-flutter/examples/account/create-magic-u-r-l-session.md +++ b/docs/examples/1.3.x/client-flutter/examples/account/create-magic-u-r-l-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createMagicURLSession( diff --git a/docs/examples/1.3.x/client-flutter/examples/account/create-o-auth2session.md b/docs/examples/1.3.x/client-flutter/examples/account/create-o-auth2session.md index e985a92ae0..5d627a1451 100644 --- a/docs/examples/1.3.x/client-flutter/examples/account/create-o-auth2session.md +++ b/docs/examples/1.3.x/client-flutter/examples/account/create-o-auth2session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createOAuth2Session( diff --git a/docs/examples/1.3.x/client-flutter/examples/account/create-phone-session.md b/docs/examples/1.3.x/client-flutter/examples/account/create-phone-session.md index fcb705c938..c54c0f2397 100644 --- a/docs/examples/1.3.x/client-flutter/examples/account/create-phone-session.md +++ b/docs/examples/1.3.x/client-flutter/examples/account/create-phone-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createPhoneSession( diff --git a/docs/examples/1.3.x/client-flutter/examples/account/create-phone-verification.md b/docs/examples/1.3.x/client-flutter/examples/account/create-phone-verification.md index 76e724d829..23ee2fd588 100644 --- a/docs/examples/1.3.x/client-flutter/examples/account/create-phone-verification.md +++ b/docs/examples/1.3.x/client-flutter/examples/account/create-phone-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createPhoneVerification(); diff --git a/docs/examples/1.3.x/client-flutter/examples/account/create-recovery.md b/docs/examples/1.3.x/client-flutter/examples/account/create-recovery.md index 361a9f0459..d011eef2a3 100644 --- a/docs/examples/1.3.x/client-flutter/examples/account/create-recovery.md +++ b/docs/examples/1.3.x/client-flutter/examples/account/create-recovery.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createRecovery( diff --git a/docs/examples/1.3.x/client-flutter/examples/account/create-verification.md b/docs/examples/1.3.x/client-flutter/examples/account/create-verification.md index d66c3b1a0a..565033b9a8 100644 --- a/docs/examples/1.3.x/client-flutter/examples/account/create-verification.md +++ b/docs/examples/1.3.x/client-flutter/examples/account/create-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createVerification( diff --git a/docs/examples/1.3.x/client-flutter/examples/account/create.md b/docs/examples/1.3.x/client-flutter/examples/account/create.md index 1ff2ae91cb..d2866cf5b6 100644 --- a/docs/examples/1.3.x/client-flutter/examples/account/create.md +++ b/docs/examples/1.3.x/client-flutter/examples/account/create.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.create( diff --git a/docs/examples/1.3.x/client-flutter/examples/account/delete-session.md b/docs/examples/1.3.x/client-flutter/examples/account/delete-session.md index 9146561070..9e381a2fa3 100644 --- a/docs/examples/1.3.x/client-flutter/examples/account/delete-session.md +++ b/docs/examples/1.3.x/client-flutter/examples/account/delete-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.deleteSession( diff --git a/docs/examples/1.3.x/client-flutter/examples/account/delete-sessions.md b/docs/examples/1.3.x/client-flutter/examples/account/delete-sessions.md index 4963de4442..27b06b6104 100644 --- a/docs/examples/1.3.x/client-flutter/examples/account/delete-sessions.md +++ b/docs/examples/1.3.x/client-flutter/examples/account/delete-sessions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.deleteSessions(); diff --git a/docs/examples/1.3.x/client-flutter/examples/account/get-prefs.md b/docs/examples/1.3.x/client-flutter/examples/account/get-prefs.md index 81eb802d03..919b50be88 100644 --- a/docs/examples/1.3.x/client-flutter/examples/account/get-prefs.md +++ b/docs/examples/1.3.x/client-flutter/examples/account/get-prefs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.getPrefs(); diff --git a/docs/examples/1.3.x/client-flutter/examples/account/get-session.md b/docs/examples/1.3.x/client-flutter/examples/account/get-session.md index 9e0f66ca3f..ac8c35b8f5 100644 --- a/docs/examples/1.3.x/client-flutter/examples/account/get-session.md +++ b/docs/examples/1.3.x/client-flutter/examples/account/get-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.getSession( diff --git a/docs/examples/1.3.x/client-flutter/examples/account/get.md b/docs/examples/1.3.x/client-flutter/examples/account/get.md index 21192de279..4bcc080dee 100644 --- a/docs/examples/1.3.x/client-flutter/examples/account/get.md +++ b/docs/examples/1.3.x/client-flutter/examples/account/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.get(); diff --git a/docs/examples/1.3.x/client-flutter/examples/account/list-logs.md b/docs/examples/1.3.x/client-flutter/examples/account/list-logs.md index 9f7088a0d8..6d793c947d 100644 --- a/docs/examples/1.3.x/client-flutter/examples/account/list-logs.md +++ b/docs/examples/1.3.x/client-flutter/examples/account/list-logs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.listLogs( diff --git a/docs/examples/1.3.x/client-flutter/examples/account/list-sessions.md b/docs/examples/1.3.x/client-flutter/examples/account/list-sessions.md index 6f2d5dc18d..3656fca1a1 100644 --- a/docs/examples/1.3.x/client-flutter/examples/account/list-sessions.md +++ b/docs/examples/1.3.x/client-flutter/examples/account/list-sessions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.listSessions(); diff --git a/docs/examples/1.3.x/client-flutter/examples/account/update-email.md b/docs/examples/1.3.x/client-flutter/examples/account/update-email.md index 1fb9a3fe7a..2383c8e0de 100644 --- a/docs/examples/1.3.x/client-flutter/examples/account/update-email.md +++ b/docs/examples/1.3.x/client-flutter/examples/account/update-email.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updateEmail( diff --git a/docs/examples/1.3.x/client-flutter/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.3.x/client-flutter/examples/account/update-magic-u-r-l-session.md index 3c7ef8f0f2..0dff3be5bf 100644 --- a/docs/examples/1.3.x/client-flutter/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.3.x/client-flutter/examples/account/update-magic-u-r-l-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updateMagicURLSession( diff --git a/docs/examples/1.3.x/client-flutter/examples/account/update-name.md b/docs/examples/1.3.x/client-flutter/examples/account/update-name.md index ae5d6235d1..4d674ec006 100644 --- a/docs/examples/1.3.x/client-flutter/examples/account/update-name.md +++ b/docs/examples/1.3.x/client-flutter/examples/account/update-name.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updateName( diff --git a/docs/examples/1.3.x/client-flutter/examples/account/update-password.md b/docs/examples/1.3.x/client-flutter/examples/account/update-password.md index b5e86de273..42514bd6a1 100644 --- a/docs/examples/1.3.x/client-flutter/examples/account/update-password.md +++ b/docs/examples/1.3.x/client-flutter/examples/account/update-password.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updatePassword( diff --git a/docs/examples/1.3.x/client-flutter/examples/account/update-phone-session.md b/docs/examples/1.3.x/client-flutter/examples/account/update-phone-session.md index 1f979265b5..dc6c8eb893 100644 --- a/docs/examples/1.3.x/client-flutter/examples/account/update-phone-session.md +++ b/docs/examples/1.3.x/client-flutter/examples/account/update-phone-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updatePhoneSession( diff --git a/docs/examples/1.3.x/client-flutter/examples/account/update-phone-verification.md b/docs/examples/1.3.x/client-flutter/examples/account/update-phone-verification.md index 86d9b0fdfc..a7acf71661 100644 --- a/docs/examples/1.3.x/client-flutter/examples/account/update-phone-verification.md +++ b/docs/examples/1.3.x/client-flutter/examples/account/update-phone-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updatePhoneVerification( diff --git a/docs/examples/1.3.x/client-flutter/examples/account/update-phone.md b/docs/examples/1.3.x/client-flutter/examples/account/update-phone.md index edfe47850b..642ead4405 100644 --- a/docs/examples/1.3.x/client-flutter/examples/account/update-phone.md +++ b/docs/examples/1.3.x/client-flutter/examples/account/update-phone.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updatePhone( diff --git a/docs/examples/1.3.x/client-flutter/examples/account/update-prefs.md b/docs/examples/1.3.x/client-flutter/examples/account/update-prefs.md index 9769708147..d37013d80a 100644 --- a/docs/examples/1.3.x/client-flutter/examples/account/update-prefs.md +++ b/docs/examples/1.3.x/client-flutter/examples/account/update-prefs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updatePrefs( diff --git a/docs/examples/1.3.x/client-flutter/examples/account/update-recovery.md b/docs/examples/1.3.x/client-flutter/examples/account/update-recovery.md index f499b18770..ce9c8b5e8e 100644 --- a/docs/examples/1.3.x/client-flutter/examples/account/update-recovery.md +++ b/docs/examples/1.3.x/client-flutter/examples/account/update-recovery.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updateRecovery( diff --git a/docs/examples/1.3.x/client-flutter/examples/account/update-session.md b/docs/examples/1.3.x/client-flutter/examples/account/update-session.md index fb1afcc526..a6e1924e05 100644 --- a/docs/examples/1.3.x/client-flutter/examples/account/update-session.md +++ b/docs/examples/1.3.x/client-flutter/examples/account/update-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updateSession( diff --git a/docs/examples/1.3.x/client-flutter/examples/account/update-status.md b/docs/examples/1.3.x/client-flutter/examples/account/update-status.md index 8e734647fb..521101c429 100644 --- a/docs/examples/1.3.x/client-flutter/examples/account/update-status.md +++ b/docs/examples/1.3.x/client-flutter/examples/account/update-status.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updateStatus(); diff --git a/docs/examples/1.3.x/client-flutter/examples/account/update-verification.md b/docs/examples/1.3.x/client-flutter/examples/account/update-verification.md index fba8ed65bb..1be9f728f7 100644 --- a/docs/examples/1.3.x/client-flutter/examples/account/update-verification.md +++ b/docs/examples/1.3.x/client-flutter/examples/account/update-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updateVerification( diff --git a/docs/examples/1.3.x/client-flutter/examples/avatars/get-browser.md b/docs/examples/1.3.x/client-flutter/examples/avatars/get-browser.md index 70af56659b..5ca9106c01 100644 --- a/docs/examples/1.3.x/client-flutter/examples/avatars/get-browser.md +++ b/docs/examples/1.3.x/client-flutter/examples/avatars/get-browser.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.3.x/client-flutter/examples/avatars/get-credit-card.md b/docs/examples/1.3.x/client-flutter/examples/avatars/get-credit-card.md index 6a29dc8173..30485827a1 100644 --- a/docs/examples/1.3.x/client-flutter/examples/avatars/get-credit-card.md +++ b/docs/examples/1.3.x/client-flutter/examples/avatars/get-credit-card.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.3.x/client-flutter/examples/avatars/get-favicon.md b/docs/examples/1.3.x/client-flutter/examples/avatars/get-favicon.md index 2da0f2e056..769a873c84 100644 --- a/docs/examples/1.3.x/client-flutter/examples/avatars/get-favicon.md +++ b/docs/examples/1.3.x/client-flutter/examples/avatars/get-favicon.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.3.x/client-flutter/examples/avatars/get-flag.md b/docs/examples/1.3.x/client-flutter/examples/avatars/get-flag.md index 13367885d0..b8c3ea84d7 100644 --- a/docs/examples/1.3.x/client-flutter/examples/avatars/get-flag.md +++ b/docs/examples/1.3.x/client-flutter/examples/avatars/get-flag.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.3.x/client-flutter/examples/avatars/get-image.md b/docs/examples/1.3.x/client-flutter/examples/avatars/get-image.md index debbf1e290..a90045f78d 100644 --- a/docs/examples/1.3.x/client-flutter/examples/avatars/get-image.md +++ b/docs/examples/1.3.x/client-flutter/examples/avatars/get-image.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.3.x/client-flutter/examples/avatars/get-initials.md b/docs/examples/1.3.x/client-flutter/examples/avatars/get-initials.md index b0f49c6213..dc08dda981 100644 --- a/docs/examples/1.3.x/client-flutter/examples/avatars/get-initials.md +++ b/docs/examples/1.3.x/client-flutter/examples/avatars/get-initials.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.3.x/client-flutter/examples/avatars/get-q-r.md b/docs/examples/1.3.x/client-flutter/examples/avatars/get-q-r.md index 8df729379e..4217e4395a 100644 --- a/docs/examples/1.3.x/client-flutter/examples/avatars/get-q-r.md +++ b/docs/examples/1.3.x/client-flutter/examples/avatars/get-q-r.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.3.x/client-flutter/examples/databases/create-document.md b/docs/examples/1.3.x/client-flutter/examples/databases/create-document.md index 6a031738d5..5eabc3fb99 100644 --- a/docs/examples/1.3.x/client-flutter/examples/databases/create-document.md +++ b/docs/examples/1.3.x/client-flutter/examples/databases/create-document.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = databases.createDocument( diff --git a/docs/examples/1.3.x/client-flutter/examples/databases/delete-document.md b/docs/examples/1.3.x/client-flutter/examples/databases/delete-document.md index a377b02747..d883d08655 100644 --- a/docs/examples/1.3.x/client-flutter/examples/databases/delete-document.md +++ b/docs/examples/1.3.x/client-flutter/examples/databases/delete-document.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = databases.deleteDocument( diff --git a/docs/examples/1.3.x/client-flutter/examples/databases/get-document.md b/docs/examples/1.3.x/client-flutter/examples/databases/get-document.md index b2cf89a3fc..f03d2589b9 100644 --- a/docs/examples/1.3.x/client-flutter/examples/databases/get-document.md +++ b/docs/examples/1.3.x/client-flutter/examples/databases/get-document.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = databases.getDocument( diff --git a/docs/examples/1.3.x/client-flutter/examples/databases/list-documents.md b/docs/examples/1.3.x/client-flutter/examples/databases/list-documents.md index 4cd69e301a..d996d2bcfd 100644 --- a/docs/examples/1.3.x/client-flutter/examples/databases/list-documents.md +++ b/docs/examples/1.3.x/client-flutter/examples/databases/list-documents.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = databases.listDocuments( diff --git a/docs/examples/1.3.x/client-flutter/examples/databases/update-document.md b/docs/examples/1.3.x/client-flutter/examples/databases/update-document.md index 595099bcb1..79e5490aff 100644 --- a/docs/examples/1.3.x/client-flutter/examples/databases/update-document.md +++ b/docs/examples/1.3.x/client-flutter/examples/databases/update-document.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = databases.updateDocument( diff --git a/docs/examples/1.3.x/client-flutter/examples/functions/create-execution.md b/docs/examples/1.3.x/client-flutter/examples/functions/create-execution.md index b188c32f47..bb9feb3442 100644 --- a/docs/examples/1.3.x/client-flutter/examples/functions/create-execution.md +++ b/docs/examples/1.3.x/client-flutter/examples/functions/create-execution.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = functions.createExecution( diff --git a/docs/examples/1.3.x/client-flutter/examples/functions/get-execution.md b/docs/examples/1.3.x/client-flutter/examples/functions/get-execution.md index f30b4b4495..76a1392586 100644 --- a/docs/examples/1.3.x/client-flutter/examples/functions/get-execution.md +++ b/docs/examples/1.3.x/client-flutter/examples/functions/get-execution.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = functions.getExecution( diff --git a/docs/examples/1.3.x/client-flutter/examples/functions/list-executions.md b/docs/examples/1.3.x/client-flutter/examples/functions/list-executions.md index 1840f50d7f..4f363e7e82 100644 --- a/docs/examples/1.3.x/client-flutter/examples/functions/list-executions.md +++ b/docs/examples/1.3.x/client-flutter/examples/functions/list-executions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = functions.listExecutions( diff --git a/docs/examples/1.3.x/client-flutter/examples/graphql/mutation.md b/docs/examples/1.3.x/client-flutter/examples/graphql/mutation.md index c0bffce70a..160c5ec892 100644 --- a/docs/examples/1.3.x/client-flutter/examples/graphql/mutation.md +++ b/docs/examples/1.3.x/client-flutter/examples/graphql/mutation.md @@ -5,7 +5,7 @@ void main() { // Init SDK Graphql graphql = Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = graphql.mutation( diff --git a/docs/examples/1.3.x/client-flutter/examples/graphql/query.md b/docs/examples/1.3.x/client-flutter/examples/graphql/query.md index 455cb0bd22..fd5d8e1500 100644 --- a/docs/examples/1.3.x/client-flutter/examples/graphql/query.md +++ b/docs/examples/1.3.x/client-flutter/examples/graphql/query.md @@ -5,7 +5,7 @@ void main() { // Init SDK Graphql graphql = Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = graphql.query( diff --git a/docs/examples/1.3.x/client-flutter/examples/locale/get.md b/docs/examples/1.3.x/client-flutter/examples/locale/get.md index 9e9fa96b22..565253d950 100644 --- a/docs/examples/1.3.x/client-flutter/examples/locale/get.md +++ b/docs/examples/1.3.x/client-flutter/examples/locale/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = locale.get(); diff --git a/docs/examples/1.3.x/client-flutter/examples/locale/list-continents.md b/docs/examples/1.3.x/client-flutter/examples/locale/list-continents.md index 0ab2a4aba1..cbaa88b3de 100644 --- a/docs/examples/1.3.x/client-flutter/examples/locale/list-continents.md +++ b/docs/examples/1.3.x/client-flutter/examples/locale/list-continents.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = locale.listContinents(); diff --git a/docs/examples/1.3.x/client-flutter/examples/locale/list-countries-e-u.md b/docs/examples/1.3.x/client-flutter/examples/locale/list-countries-e-u.md index caa32e8562..af8da46e9b 100644 --- a/docs/examples/1.3.x/client-flutter/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.3.x/client-flutter/examples/locale/list-countries-e-u.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = locale.listCountriesEU(); diff --git a/docs/examples/1.3.x/client-flutter/examples/locale/list-countries-phones.md b/docs/examples/1.3.x/client-flutter/examples/locale/list-countries-phones.md index b122eee7d4..1b5438b3ca 100644 --- a/docs/examples/1.3.x/client-flutter/examples/locale/list-countries-phones.md +++ b/docs/examples/1.3.x/client-flutter/examples/locale/list-countries-phones.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = locale.listCountriesPhones(); diff --git a/docs/examples/1.3.x/client-flutter/examples/locale/list-countries.md b/docs/examples/1.3.x/client-flutter/examples/locale/list-countries.md index e6a367ddb8..704d35de89 100644 --- a/docs/examples/1.3.x/client-flutter/examples/locale/list-countries.md +++ b/docs/examples/1.3.x/client-flutter/examples/locale/list-countries.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = locale.listCountries(); diff --git a/docs/examples/1.3.x/client-flutter/examples/locale/list-currencies.md b/docs/examples/1.3.x/client-flutter/examples/locale/list-currencies.md index fcd1e825e3..52b6877069 100644 --- a/docs/examples/1.3.x/client-flutter/examples/locale/list-currencies.md +++ b/docs/examples/1.3.x/client-flutter/examples/locale/list-currencies.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = locale.listCurrencies(); diff --git a/docs/examples/1.3.x/client-flutter/examples/locale/list-languages.md b/docs/examples/1.3.x/client-flutter/examples/locale/list-languages.md index 1fb68aa84f..a54c6a1175 100644 --- a/docs/examples/1.3.x/client-flutter/examples/locale/list-languages.md +++ b/docs/examples/1.3.x/client-flutter/examples/locale/list-languages.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = locale.listLanguages(); diff --git a/docs/examples/1.3.x/client-flutter/examples/storage/create-file.md b/docs/examples/1.3.x/client-flutter/examples/storage/create-file.md index 0f5e44f5e8..fc4d327839 100644 --- a/docs/examples/1.3.x/client-flutter/examples/storage/create-file.md +++ b/docs/examples/1.3.x/client-flutter/examples/storage/create-file.md @@ -6,7 +6,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = storage.createFile( diff --git a/docs/examples/1.3.x/client-flutter/examples/storage/delete-file.md b/docs/examples/1.3.x/client-flutter/examples/storage/delete-file.md index 230b73a9ac..79cc9ef48c 100644 --- a/docs/examples/1.3.x/client-flutter/examples/storage/delete-file.md +++ b/docs/examples/1.3.x/client-flutter/examples/storage/delete-file.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = storage.deleteFile( diff --git a/docs/examples/1.3.x/client-flutter/examples/storage/get-file-download.md b/docs/examples/1.3.x/client-flutter/examples/storage/get-file-download.md index 883b7d69c4..cae5218c3a 100644 --- a/docs/examples/1.3.x/client-flutter/examples/storage/get-file-download.md +++ b/docs/examples/1.3.x/client-flutter/examples/storage/get-file-download.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.3.x/client-flutter/examples/storage/get-file-preview.md b/docs/examples/1.3.x/client-flutter/examples/storage/get-file-preview.md index f42138bd03..131630ec66 100644 --- a/docs/examples/1.3.x/client-flutter/examples/storage/get-file-preview.md +++ b/docs/examples/1.3.x/client-flutter/examples/storage/get-file-preview.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.3.x/client-flutter/examples/storage/get-file-view.md b/docs/examples/1.3.x/client-flutter/examples/storage/get-file-view.md index 4f7c4d962b..cfac3ac3b1 100644 --- a/docs/examples/1.3.x/client-flutter/examples/storage/get-file-view.md +++ b/docs/examples/1.3.x/client-flutter/examples/storage/get-file-view.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.3.x/client-flutter/examples/storage/get-file.md b/docs/examples/1.3.x/client-flutter/examples/storage/get-file.md index 681aca41e0..c997612386 100644 --- a/docs/examples/1.3.x/client-flutter/examples/storage/get-file.md +++ b/docs/examples/1.3.x/client-flutter/examples/storage/get-file.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = storage.getFile( diff --git a/docs/examples/1.3.x/client-flutter/examples/storage/list-files.md b/docs/examples/1.3.x/client-flutter/examples/storage/list-files.md index e574f7bdaa..d4d07c1909 100644 --- a/docs/examples/1.3.x/client-flutter/examples/storage/list-files.md +++ b/docs/examples/1.3.x/client-flutter/examples/storage/list-files.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = storage.listFiles( diff --git a/docs/examples/1.3.x/client-flutter/examples/storage/update-file.md b/docs/examples/1.3.x/client-flutter/examples/storage/update-file.md index 1170f05cf3..3d8140f408 100644 --- a/docs/examples/1.3.x/client-flutter/examples/storage/update-file.md +++ b/docs/examples/1.3.x/client-flutter/examples/storage/update-file.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = storage.updateFile( diff --git a/docs/examples/1.3.x/client-flutter/examples/teams/create-membership.md b/docs/examples/1.3.x/client-flutter/examples/teams/create-membership.md index ac58c5064f..22dee42732 100644 --- a/docs/examples/1.3.x/client-flutter/examples/teams/create-membership.md +++ b/docs/examples/1.3.x/client-flutter/examples/teams/create-membership.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.createMembership( diff --git a/docs/examples/1.3.x/client-flutter/examples/teams/create.md b/docs/examples/1.3.x/client-flutter/examples/teams/create.md index bd62ce32ab..772eacc2a9 100644 --- a/docs/examples/1.3.x/client-flutter/examples/teams/create.md +++ b/docs/examples/1.3.x/client-flutter/examples/teams/create.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.create( diff --git a/docs/examples/1.3.x/client-flutter/examples/teams/delete-membership.md b/docs/examples/1.3.x/client-flutter/examples/teams/delete-membership.md index 0febe42121..7bcfaae8e6 100644 --- a/docs/examples/1.3.x/client-flutter/examples/teams/delete-membership.md +++ b/docs/examples/1.3.x/client-flutter/examples/teams/delete-membership.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.deleteMembership( diff --git a/docs/examples/1.3.x/client-flutter/examples/teams/delete.md b/docs/examples/1.3.x/client-flutter/examples/teams/delete.md index b45d971bf6..22fe4e0b44 100644 --- a/docs/examples/1.3.x/client-flutter/examples/teams/delete.md +++ b/docs/examples/1.3.x/client-flutter/examples/teams/delete.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.delete( diff --git a/docs/examples/1.3.x/client-flutter/examples/teams/get-membership.md b/docs/examples/1.3.x/client-flutter/examples/teams/get-membership.md index 28d95a201b..9c7eac46ac 100644 --- a/docs/examples/1.3.x/client-flutter/examples/teams/get-membership.md +++ b/docs/examples/1.3.x/client-flutter/examples/teams/get-membership.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.getMembership( diff --git a/docs/examples/1.3.x/client-flutter/examples/teams/get-prefs.md b/docs/examples/1.3.x/client-flutter/examples/teams/get-prefs.md index e9ae94eb3f..6a40cf6684 100644 --- a/docs/examples/1.3.x/client-flutter/examples/teams/get-prefs.md +++ b/docs/examples/1.3.x/client-flutter/examples/teams/get-prefs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.getPrefs( diff --git a/docs/examples/1.3.x/client-flutter/examples/teams/get.md b/docs/examples/1.3.x/client-flutter/examples/teams/get.md index 0ec7027f89..a3d59c10e8 100644 --- a/docs/examples/1.3.x/client-flutter/examples/teams/get.md +++ b/docs/examples/1.3.x/client-flutter/examples/teams/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.get( diff --git a/docs/examples/1.3.x/client-flutter/examples/teams/list-memberships.md b/docs/examples/1.3.x/client-flutter/examples/teams/list-memberships.md index cbbc525dc4..bb2a37df46 100644 --- a/docs/examples/1.3.x/client-flutter/examples/teams/list-memberships.md +++ b/docs/examples/1.3.x/client-flutter/examples/teams/list-memberships.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.listMemberships( diff --git a/docs/examples/1.3.x/client-flutter/examples/teams/list.md b/docs/examples/1.3.x/client-flutter/examples/teams/list.md index 80aa3016c2..41e0136529 100644 --- a/docs/examples/1.3.x/client-flutter/examples/teams/list.md +++ b/docs/examples/1.3.x/client-flutter/examples/teams/list.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.list( diff --git a/docs/examples/1.3.x/client-flutter/examples/teams/update-membership-roles.md b/docs/examples/1.3.x/client-flutter/examples/teams/update-membership-roles.md index 6e96c017e0..c031101d7a 100644 --- a/docs/examples/1.3.x/client-flutter/examples/teams/update-membership-roles.md +++ b/docs/examples/1.3.x/client-flutter/examples/teams/update-membership-roles.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.updateMembershipRoles( diff --git a/docs/examples/1.3.x/client-flutter/examples/teams/update-membership-status.md b/docs/examples/1.3.x/client-flutter/examples/teams/update-membership-status.md index ed31f54b20..65584ff424 100644 --- a/docs/examples/1.3.x/client-flutter/examples/teams/update-membership-status.md +++ b/docs/examples/1.3.x/client-flutter/examples/teams/update-membership-status.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.updateMembershipStatus( diff --git a/docs/examples/1.3.x/client-flutter/examples/teams/update-name.md b/docs/examples/1.3.x/client-flutter/examples/teams/update-name.md index 5c794bd99b..7f20a7c10b 100644 --- a/docs/examples/1.3.x/client-flutter/examples/teams/update-name.md +++ b/docs/examples/1.3.x/client-flutter/examples/teams/update-name.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.updateName( diff --git a/docs/examples/1.3.x/client-flutter/examples/teams/update-prefs.md b/docs/examples/1.3.x/client-flutter/examples/teams/update-prefs.md index c29cbb9eb1..5771168177 100644 --- a/docs/examples/1.3.x/client-flutter/examples/teams/update-prefs.md +++ b/docs/examples/1.3.x/client-flutter/examples/teams/update-prefs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.updatePrefs( diff --git a/docs/examples/1.3.x/client-web/examples/account/create-anonymous-session.md b/docs/examples/1.3.x/client-web/examples/account/create-anonymous-session.md index c331fc8863..d107d4a8df 100644 --- a/docs/examples/1.3.x/client-web/examples/account/create-anonymous-session.md +++ b/docs/examples/1.3.x/client-web/examples/account/create-anonymous-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/account/create-email-session.md b/docs/examples/1.3.x/client-web/examples/account/create-email-session.md index 76e2e31665..fc25824dad 100644 --- a/docs/examples/1.3.x/client-web/examples/account/create-email-session.md +++ b/docs/examples/1.3.x/client-web/examples/account/create-email-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/account/create-j-w-t.md b/docs/examples/1.3.x/client-web/examples/account/create-j-w-t.md index f388a3da31..db78c41c3c 100644 --- a/docs/examples/1.3.x/client-web/examples/account/create-j-w-t.md +++ b/docs/examples/1.3.x/client-web/examples/account/create-j-w-t.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/account/create-magic-u-r-l-session.md b/docs/examples/1.3.x/client-web/examples/account/create-magic-u-r-l-session.md index d48f031ded..1179a0efc6 100644 --- a/docs/examples/1.3.x/client-web/examples/account/create-magic-u-r-l-session.md +++ b/docs/examples/1.3.x/client-web/examples/account/create-magic-u-r-l-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/account/create-o-auth2session.md b/docs/examples/1.3.x/client-web/examples/account/create-o-auth2session.md index 3757a1c63f..03b7d2cb48 100644 --- a/docs/examples/1.3.x/client-web/examples/account/create-o-auth2session.md +++ b/docs/examples/1.3.x/client-web/examples/account/create-o-auth2session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/account/create-phone-session.md b/docs/examples/1.3.x/client-web/examples/account/create-phone-session.md index e5a23aafee..53ead8a3f8 100644 --- a/docs/examples/1.3.x/client-web/examples/account/create-phone-session.md +++ b/docs/examples/1.3.x/client-web/examples/account/create-phone-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/account/create-phone-verification.md b/docs/examples/1.3.x/client-web/examples/account/create-phone-verification.md index a1cbd55277..974f94503f 100644 --- a/docs/examples/1.3.x/client-web/examples/account/create-phone-verification.md +++ b/docs/examples/1.3.x/client-web/examples/account/create-phone-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/account/create-recovery.md b/docs/examples/1.3.x/client-web/examples/account/create-recovery.md index 1838c0414c..7030423d2f 100644 --- a/docs/examples/1.3.x/client-web/examples/account/create-recovery.md +++ b/docs/examples/1.3.x/client-web/examples/account/create-recovery.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/account/create-verification.md b/docs/examples/1.3.x/client-web/examples/account/create-verification.md index 4d8446e6ef..6448a72496 100644 --- a/docs/examples/1.3.x/client-web/examples/account/create-verification.md +++ b/docs/examples/1.3.x/client-web/examples/account/create-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/account/create.md b/docs/examples/1.3.x/client-web/examples/account/create.md index fda1d88e0f..f15b65307d 100644 --- a/docs/examples/1.3.x/client-web/examples/account/create.md +++ b/docs/examples/1.3.x/client-web/examples/account/create.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/account/delete-session.md b/docs/examples/1.3.x/client-web/examples/account/delete-session.md index c342afb2c9..052b78d845 100644 --- a/docs/examples/1.3.x/client-web/examples/account/delete-session.md +++ b/docs/examples/1.3.x/client-web/examples/account/delete-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/account/delete-sessions.md b/docs/examples/1.3.x/client-web/examples/account/delete-sessions.md index 82133e3845..64b1c591d3 100644 --- a/docs/examples/1.3.x/client-web/examples/account/delete-sessions.md +++ b/docs/examples/1.3.x/client-web/examples/account/delete-sessions.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/account/get-prefs.md b/docs/examples/1.3.x/client-web/examples/account/get-prefs.md index b98776fd9d..a02dc51785 100644 --- a/docs/examples/1.3.x/client-web/examples/account/get-prefs.md +++ b/docs/examples/1.3.x/client-web/examples/account/get-prefs.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/account/get-session.md b/docs/examples/1.3.x/client-web/examples/account/get-session.md index 43edd7d08a..21be1738ba 100644 --- a/docs/examples/1.3.x/client-web/examples/account/get-session.md +++ b/docs/examples/1.3.x/client-web/examples/account/get-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/account/get.md b/docs/examples/1.3.x/client-web/examples/account/get.md index 878227f019..539ace69af 100644 --- a/docs/examples/1.3.x/client-web/examples/account/get.md +++ b/docs/examples/1.3.x/client-web/examples/account/get.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/account/list-logs.md b/docs/examples/1.3.x/client-web/examples/account/list-logs.md index d710f7daa3..d26bd396ba 100644 --- a/docs/examples/1.3.x/client-web/examples/account/list-logs.md +++ b/docs/examples/1.3.x/client-web/examples/account/list-logs.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/account/list-sessions.md b/docs/examples/1.3.x/client-web/examples/account/list-sessions.md index ce6ec74862..c5a5625b17 100644 --- a/docs/examples/1.3.x/client-web/examples/account/list-sessions.md +++ b/docs/examples/1.3.x/client-web/examples/account/list-sessions.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/account/update-email.md b/docs/examples/1.3.x/client-web/examples/account/update-email.md index baac3a0ab0..2242db702c 100644 --- a/docs/examples/1.3.x/client-web/examples/account/update-email.md +++ b/docs/examples/1.3.x/client-web/examples/account/update-email.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.3.x/client-web/examples/account/update-magic-u-r-l-session.md index c07fee2b14..70bf5d17da 100644 --- a/docs/examples/1.3.x/client-web/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.3.x/client-web/examples/account/update-magic-u-r-l-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/account/update-name.md b/docs/examples/1.3.x/client-web/examples/account/update-name.md index 4af963d5fc..8ec9bd2395 100644 --- a/docs/examples/1.3.x/client-web/examples/account/update-name.md +++ b/docs/examples/1.3.x/client-web/examples/account/update-name.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/account/update-password.md b/docs/examples/1.3.x/client-web/examples/account/update-password.md index 2404a743e7..0dcff6bfde 100644 --- a/docs/examples/1.3.x/client-web/examples/account/update-password.md +++ b/docs/examples/1.3.x/client-web/examples/account/update-password.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/account/update-phone-session.md b/docs/examples/1.3.x/client-web/examples/account/update-phone-session.md index b3b29481a9..9870627d9f 100644 --- a/docs/examples/1.3.x/client-web/examples/account/update-phone-session.md +++ b/docs/examples/1.3.x/client-web/examples/account/update-phone-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/account/update-phone-verification.md b/docs/examples/1.3.x/client-web/examples/account/update-phone-verification.md index a274c9b07c..912f178814 100644 --- a/docs/examples/1.3.x/client-web/examples/account/update-phone-verification.md +++ b/docs/examples/1.3.x/client-web/examples/account/update-phone-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/account/update-phone.md b/docs/examples/1.3.x/client-web/examples/account/update-phone.md index a1017fc7f4..6ee5eb40e8 100644 --- a/docs/examples/1.3.x/client-web/examples/account/update-phone.md +++ b/docs/examples/1.3.x/client-web/examples/account/update-phone.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/account/update-prefs.md b/docs/examples/1.3.x/client-web/examples/account/update-prefs.md index ecceff3158..3f90dfabd2 100644 --- a/docs/examples/1.3.x/client-web/examples/account/update-prefs.md +++ b/docs/examples/1.3.x/client-web/examples/account/update-prefs.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/account/update-recovery.md b/docs/examples/1.3.x/client-web/examples/account/update-recovery.md index eb78a8a52d..200b993a4c 100644 --- a/docs/examples/1.3.x/client-web/examples/account/update-recovery.md +++ b/docs/examples/1.3.x/client-web/examples/account/update-recovery.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/account/update-session.md b/docs/examples/1.3.x/client-web/examples/account/update-session.md index a7a42c663a..a8c40ebb81 100644 --- a/docs/examples/1.3.x/client-web/examples/account/update-session.md +++ b/docs/examples/1.3.x/client-web/examples/account/update-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/account/update-status.md b/docs/examples/1.3.x/client-web/examples/account/update-status.md index 9cbe78c5c4..d3ac91e7d5 100644 --- a/docs/examples/1.3.x/client-web/examples/account/update-status.md +++ b/docs/examples/1.3.x/client-web/examples/account/update-status.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/account/update-verification.md b/docs/examples/1.3.x/client-web/examples/account/update-verification.md index 73338da4df..404fdd4352 100644 --- a/docs/examples/1.3.x/client-web/examples/account/update-verification.md +++ b/docs/examples/1.3.x/client-web/examples/account/update-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/avatars/get-browser.md b/docs/examples/1.3.x/client-web/examples/avatars/get-browser.md index 0b4c2def00..cf5beeb458 100644 --- a/docs/examples/1.3.x/client-web/examples/avatars/get-browser.md +++ b/docs/examples/1.3.x/client-web/examples/avatars/get-browser.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/avatars/get-credit-card.md b/docs/examples/1.3.x/client-web/examples/avatars/get-credit-card.md index 082ed92b67..3486722f90 100644 --- a/docs/examples/1.3.x/client-web/examples/avatars/get-credit-card.md +++ b/docs/examples/1.3.x/client-web/examples/avatars/get-credit-card.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/avatars/get-favicon.md b/docs/examples/1.3.x/client-web/examples/avatars/get-favicon.md index 7ee6bd3da2..5e0056c888 100644 --- a/docs/examples/1.3.x/client-web/examples/avatars/get-favicon.md +++ b/docs/examples/1.3.x/client-web/examples/avatars/get-favicon.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/avatars/get-flag.md b/docs/examples/1.3.x/client-web/examples/avatars/get-flag.md index a43827a1ae..7e95a5bc13 100644 --- a/docs/examples/1.3.x/client-web/examples/avatars/get-flag.md +++ b/docs/examples/1.3.x/client-web/examples/avatars/get-flag.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/avatars/get-image.md b/docs/examples/1.3.x/client-web/examples/avatars/get-image.md index ea186a1a68..b6d25c7389 100644 --- a/docs/examples/1.3.x/client-web/examples/avatars/get-image.md +++ b/docs/examples/1.3.x/client-web/examples/avatars/get-image.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/avatars/get-initials.md b/docs/examples/1.3.x/client-web/examples/avatars/get-initials.md index 7e8c8ec413..efee82cfab 100644 --- a/docs/examples/1.3.x/client-web/examples/avatars/get-initials.md +++ b/docs/examples/1.3.x/client-web/examples/avatars/get-initials.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/avatars/get-q-r.md b/docs/examples/1.3.x/client-web/examples/avatars/get-q-r.md index b957084aa1..412dff00ea 100644 --- a/docs/examples/1.3.x/client-web/examples/avatars/get-q-r.md +++ b/docs/examples/1.3.x/client-web/examples/avatars/get-q-r.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/databases/create-document.md b/docs/examples/1.3.x/client-web/examples/databases/create-document.md index 92792066ef..a87121baa7 100644 --- a/docs/examples/1.3.x/client-web/examples/databases/create-document.md +++ b/docs/examples/1.3.x/client-web/examples/databases/create-document.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/databases/delete-document.md b/docs/examples/1.3.x/client-web/examples/databases/delete-document.md index 9e281e7166..39f96d4d12 100644 --- a/docs/examples/1.3.x/client-web/examples/databases/delete-document.md +++ b/docs/examples/1.3.x/client-web/examples/databases/delete-document.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/databases/get-document.md b/docs/examples/1.3.x/client-web/examples/databases/get-document.md index ea80328794..b38f81805d 100644 --- a/docs/examples/1.3.x/client-web/examples/databases/get-document.md +++ b/docs/examples/1.3.x/client-web/examples/databases/get-document.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/databases/list-documents.md b/docs/examples/1.3.x/client-web/examples/databases/list-documents.md index 4a94c99db3..9be7797389 100644 --- a/docs/examples/1.3.x/client-web/examples/databases/list-documents.md +++ b/docs/examples/1.3.x/client-web/examples/databases/list-documents.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/databases/update-document.md b/docs/examples/1.3.x/client-web/examples/databases/update-document.md index cc5ef1cc02..6d58415112 100644 --- a/docs/examples/1.3.x/client-web/examples/databases/update-document.md +++ b/docs/examples/1.3.x/client-web/examples/databases/update-document.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/functions/create-execution.md b/docs/examples/1.3.x/client-web/examples/functions/create-execution.md index 4fc7ac7545..091e3aae24 100644 --- a/docs/examples/1.3.x/client-web/examples/functions/create-execution.md +++ b/docs/examples/1.3.x/client-web/examples/functions/create-execution.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/functions/get-execution.md b/docs/examples/1.3.x/client-web/examples/functions/get-execution.md index 2473572c05..704cf52c62 100644 --- a/docs/examples/1.3.x/client-web/examples/functions/get-execution.md +++ b/docs/examples/1.3.x/client-web/examples/functions/get-execution.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/functions/list-executions.md b/docs/examples/1.3.x/client-web/examples/functions/list-executions.md index 481986ef40..b0a74de4a0 100644 --- a/docs/examples/1.3.x/client-web/examples/functions/list-executions.md +++ b/docs/examples/1.3.x/client-web/examples/functions/list-executions.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/graphql/mutation.md b/docs/examples/1.3.x/client-web/examples/graphql/mutation.md index 1a0b61cd3b..c968d9a245 100644 --- a/docs/examples/1.3.x/client-web/examples/graphql/mutation.md +++ b/docs/examples/1.3.x/client-web/examples/graphql/mutation.md @@ -5,7 +5,7 @@ const client = new Client(); const graphql = new Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/graphql/query.md b/docs/examples/1.3.x/client-web/examples/graphql/query.md index e507fbb5aa..8d1e5edd18 100644 --- a/docs/examples/1.3.x/client-web/examples/graphql/query.md +++ b/docs/examples/1.3.x/client-web/examples/graphql/query.md @@ -5,7 +5,7 @@ const client = new Client(); const graphql = new Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/locale/get.md b/docs/examples/1.3.x/client-web/examples/locale/get.md index e15bad2ce1..1001b36d05 100644 --- a/docs/examples/1.3.x/client-web/examples/locale/get.md +++ b/docs/examples/1.3.x/client-web/examples/locale/get.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/locale/list-continents.md b/docs/examples/1.3.x/client-web/examples/locale/list-continents.md index aa3716ef56..9239750852 100644 --- a/docs/examples/1.3.x/client-web/examples/locale/list-continents.md +++ b/docs/examples/1.3.x/client-web/examples/locale/list-continents.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/locale/list-countries-e-u.md b/docs/examples/1.3.x/client-web/examples/locale/list-countries-e-u.md index c924b8df4b..005d5a3327 100644 --- a/docs/examples/1.3.x/client-web/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.3.x/client-web/examples/locale/list-countries-e-u.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/locale/list-countries-phones.md b/docs/examples/1.3.x/client-web/examples/locale/list-countries-phones.md index 0ab60767da..2e5faf107d 100644 --- a/docs/examples/1.3.x/client-web/examples/locale/list-countries-phones.md +++ b/docs/examples/1.3.x/client-web/examples/locale/list-countries-phones.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/locale/list-countries.md b/docs/examples/1.3.x/client-web/examples/locale/list-countries.md index ee8c454993..d57ab0b732 100644 --- a/docs/examples/1.3.x/client-web/examples/locale/list-countries.md +++ b/docs/examples/1.3.x/client-web/examples/locale/list-countries.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/locale/list-currencies.md b/docs/examples/1.3.x/client-web/examples/locale/list-currencies.md index dd37b14e25..31015d585c 100644 --- a/docs/examples/1.3.x/client-web/examples/locale/list-currencies.md +++ b/docs/examples/1.3.x/client-web/examples/locale/list-currencies.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/locale/list-languages.md b/docs/examples/1.3.x/client-web/examples/locale/list-languages.md index 89ae06d529..cfd9adcc1a 100644 --- a/docs/examples/1.3.x/client-web/examples/locale/list-languages.md +++ b/docs/examples/1.3.x/client-web/examples/locale/list-languages.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/storage/create-file.md b/docs/examples/1.3.x/client-web/examples/storage/create-file.md index 0cddb08690..8e84ec8cee 100644 --- a/docs/examples/1.3.x/client-web/examples/storage/create-file.md +++ b/docs/examples/1.3.x/client-web/examples/storage/create-file.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/storage/delete-file.md b/docs/examples/1.3.x/client-web/examples/storage/delete-file.md index 257d855c32..47416bbb8f 100644 --- a/docs/examples/1.3.x/client-web/examples/storage/delete-file.md +++ b/docs/examples/1.3.x/client-web/examples/storage/delete-file.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/storage/get-file-download.md b/docs/examples/1.3.x/client-web/examples/storage/get-file-download.md index d8a3542aab..d9f4cd1895 100644 --- a/docs/examples/1.3.x/client-web/examples/storage/get-file-download.md +++ b/docs/examples/1.3.x/client-web/examples/storage/get-file-download.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/storage/get-file-preview.md b/docs/examples/1.3.x/client-web/examples/storage/get-file-preview.md index f0588ba7dc..d2d4731322 100644 --- a/docs/examples/1.3.x/client-web/examples/storage/get-file-preview.md +++ b/docs/examples/1.3.x/client-web/examples/storage/get-file-preview.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/storage/get-file-view.md b/docs/examples/1.3.x/client-web/examples/storage/get-file-view.md index 5eb2855bef..e9d0ff6d8d 100644 --- a/docs/examples/1.3.x/client-web/examples/storage/get-file-view.md +++ b/docs/examples/1.3.x/client-web/examples/storage/get-file-view.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/storage/get-file.md b/docs/examples/1.3.x/client-web/examples/storage/get-file.md index 6b39ee386e..e326154a4e 100644 --- a/docs/examples/1.3.x/client-web/examples/storage/get-file.md +++ b/docs/examples/1.3.x/client-web/examples/storage/get-file.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/storage/list-files.md b/docs/examples/1.3.x/client-web/examples/storage/list-files.md index 696d4013cd..7faeb85cb1 100644 --- a/docs/examples/1.3.x/client-web/examples/storage/list-files.md +++ b/docs/examples/1.3.x/client-web/examples/storage/list-files.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/storage/update-file.md b/docs/examples/1.3.x/client-web/examples/storage/update-file.md index d22a2f6a11..747044dc30 100644 --- a/docs/examples/1.3.x/client-web/examples/storage/update-file.md +++ b/docs/examples/1.3.x/client-web/examples/storage/update-file.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/teams/create-membership.md b/docs/examples/1.3.x/client-web/examples/teams/create-membership.md index fded560d78..f9d6089eed 100644 --- a/docs/examples/1.3.x/client-web/examples/teams/create-membership.md +++ b/docs/examples/1.3.x/client-web/examples/teams/create-membership.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/teams/create.md b/docs/examples/1.3.x/client-web/examples/teams/create.md index c9037e9575..382b759d9c 100644 --- a/docs/examples/1.3.x/client-web/examples/teams/create.md +++ b/docs/examples/1.3.x/client-web/examples/teams/create.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/teams/delete-membership.md b/docs/examples/1.3.x/client-web/examples/teams/delete-membership.md index c42d669457..76232de1ab 100644 --- a/docs/examples/1.3.x/client-web/examples/teams/delete-membership.md +++ b/docs/examples/1.3.x/client-web/examples/teams/delete-membership.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/teams/delete.md b/docs/examples/1.3.x/client-web/examples/teams/delete.md index 0c99b7aab8..2e5e839551 100644 --- a/docs/examples/1.3.x/client-web/examples/teams/delete.md +++ b/docs/examples/1.3.x/client-web/examples/teams/delete.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/teams/get-membership.md b/docs/examples/1.3.x/client-web/examples/teams/get-membership.md index d4d3c5a65d..0e2c145445 100644 --- a/docs/examples/1.3.x/client-web/examples/teams/get-membership.md +++ b/docs/examples/1.3.x/client-web/examples/teams/get-membership.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/teams/get-prefs.md b/docs/examples/1.3.x/client-web/examples/teams/get-prefs.md index bcf3f43806..6c729eead7 100644 --- a/docs/examples/1.3.x/client-web/examples/teams/get-prefs.md +++ b/docs/examples/1.3.x/client-web/examples/teams/get-prefs.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/teams/get.md b/docs/examples/1.3.x/client-web/examples/teams/get.md index 396916ed41..cdf8812225 100644 --- a/docs/examples/1.3.x/client-web/examples/teams/get.md +++ b/docs/examples/1.3.x/client-web/examples/teams/get.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/teams/list-memberships.md b/docs/examples/1.3.x/client-web/examples/teams/list-memberships.md index dfa0163037..845d0ce229 100644 --- a/docs/examples/1.3.x/client-web/examples/teams/list-memberships.md +++ b/docs/examples/1.3.x/client-web/examples/teams/list-memberships.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/teams/list.md b/docs/examples/1.3.x/client-web/examples/teams/list.md index daf799b95a..97b4ca31f3 100644 --- a/docs/examples/1.3.x/client-web/examples/teams/list.md +++ b/docs/examples/1.3.x/client-web/examples/teams/list.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/teams/update-membership-roles.md b/docs/examples/1.3.x/client-web/examples/teams/update-membership-roles.md index 55b2267e4e..fd0c6f46fc 100644 --- a/docs/examples/1.3.x/client-web/examples/teams/update-membership-roles.md +++ b/docs/examples/1.3.x/client-web/examples/teams/update-membership-roles.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/teams/update-membership-status.md b/docs/examples/1.3.x/client-web/examples/teams/update-membership-status.md index de1b7f8402..5ef0b2289c 100644 --- a/docs/examples/1.3.x/client-web/examples/teams/update-membership-status.md +++ b/docs/examples/1.3.x/client-web/examples/teams/update-membership-status.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/teams/update-name.md b/docs/examples/1.3.x/client-web/examples/teams/update-name.md index 3159d51c6c..80e59bbae6 100644 --- a/docs/examples/1.3.x/client-web/examples/teams/update-name.md +++ b/docs/examples/1.3.x/client-web/examples/teams/update-name.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/client-web/examples/teams/update-prefs.md b/docs/examples/1.3.x/client-web/examples/teams/update-prefs.md index 36f60b18e7..4ff1ca7a7f 100644 --- a/docs/examples/1.3.x/client-web/examples/teams/update-prefs.md +++ b/docs/examples/1.3.x/client-web/examples/teams/update-prefs.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/account/create-anonymous-session.md b/docs/examples/1.3.x/console-web/examples/account/create-anonymous-session.md index 9521cf68a5..81b49b3364 100644 --- a/docs/examples/1.3.x/console-web/examples/account/create-anonymous-session.md +++ b/docs/examples/1.3.x/console-web/examples/account/create-anonymous-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/account/create-email-session.md b/docs/examples/1.3.x/console-web/examples/account/create-email-session.md index 19812773df..4b9d12c64f 100644 --- a/docs/examples/1.3.x/console-web/examples/account/create-email-session.md +++ b/docs/examples/1.3.x/console-web/examples/account/create-email-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/account/create-j-w-t.md b/docs/examples/1.3.x/console-web/examples/account/create-j-w-t.md index 8a851df369..86336ab693 100644 --- a/docs/examples/1.3.x/console-web/examples/account/create-j-w-t.md +++ b/docs/examples/1.3.x/console-web/examples/account/create-j-w-t.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/account/create-magic-u-r-l-session.md b/docs/examples/1.3.x/console-web/examples/account/create-magic-u-r-l-session.md index 6917aa288c..b000a713dd 100644 --- a/docs/examples/1.3.x/console-web/examples/account/create-magic-u-r-l-session.md +++ b/docs/examples/1.3.x/console-web/examples/account/create-magic-u-r-l-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/account/create-o-auth2session.md b/docs/examples/1.3.x/console-web/examples/account/create-o-auth2session.md index bf33c52f30..3dc8a90076 100644 --- a/docs/examples/1.3.x/console-web/examples/account/create-o-auth2session.md +++ b/docs/examples/1.3.x/console-web/examples/account/create-o-auth2session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/account/create-phone-session.md b/docs/examples/1.3.x/console-web/examples/account/create-phone-session.md index 85e7d68eed..18fb31ee85 100644 --- a/docs/examples/1.3.x/console-web/examples/account/create-phone-session.md +++ b/docs/examples/1.3.x/console-web/examples/account/create-phone-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/account/create-phone-verification.md b/docs/examples/1.3.x/console-web/examples/account/create-phone-verification.md index 0b10961e53..aadd2c149d 100644 --- a/docs/examples/1.3.x/console-web/examples/account/create-phone-verification.md +++ b/docs/examples/1.3.x/console-web/examples/account/create-phone-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/account/create-recovery.md b/docs/examples/1.3.x/console-web/examples/account/create-recovery.md index dd33c01f04..9cc625a21d 100644 --- a/docs/examples/1.3.x/console-web/examples/account/create-recovery.md +++ b/docs/examples/1.3.x/console-web/examples/account/create-recovery.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/account/create-verification.md b/docs/examples/1.3.x/console-web/examples/account/create-verification.md index 7b1ec32f2f..b3ce7d060f 100644 --- a/docs/examples/1.3.x/console-web/examples/account/create-verification.md +++ b/docs/examples/1.3.x/console-web/examples/account/create-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/account/create.md b/docs/examples/1.3.x/console-web/examples/account/create.md index 4c61ef8eb2..38ad6190fa 100644 --- a/docs/examples/1.3.x/console-web/examples/account/create.md +++ b/docs/examples/1.3.x/console-web/examples/account/create.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/account/delete-session.md b/docs/examples/1.3.x/console-web/examples/account/delete-session.md index b360b3bb89..c6a6188d4e 100644 --- a/docs/examples/1.3.x/console-web/examples/account/delete-session.md +++ b/docs/examples/1.3.x/console-web/examples/account/delete-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/account/delete-sessions.md b/docs/examples/1.3.x/console-web/examples/account/delete-sessions.md index 0d0fea88f4..6cf737e92a 100644 --- a/docs/examples/1.3.x/console-web/examples/account/delete-sessions.md +++ b/docs/examples/1.3.x/console-web/examples/account/delete-sessions.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/account/get-prefs.md b/docs/examples/1.3.x/console-web/examples/account/get-prefs.md index 284f8fabda..939df8a13c 100644 --- a/docs/examples/1.3.x/console-web/examples/account/get-prefs.md +++ b/docs/examples/1.3.x/console-web/examples/account/get-prefs.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/account/get-session.md b/docs/examples/1.3.x/console-web/examples/account/get-session.md index 651d35c734..485ccb7f7c 100644 --- a/docs/examples/1.3.x/console-web/examples/account/get-session.md +++ b/docs/examples/1.3.x/console-web/examples/account/get-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/account/get.md b/docs/examples/1.3.x/console-web/examples/account/get.md index f6fc4b9401..f4bc097c8e 100644 --- a/docs/examples/1.3.x/console-web/examples/account/get.md +++ b/docs/examples/1.3.x/console-web/examples/account/get.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/account/list-logs.md b/docs/examples/1.3.x/console-web/examples/account/list-logs.md index 4f1d6813a7..68bc5a3386 100644 --- a/docs/examples/1.3.x/console-web/examples/account/list-logs.md +++ b/docs/examples/1.3.x/console-web/examples/account/list-logs.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/account/list-sessions.md b/docs/examples/1.3.x/console-web/examples/account/list-sessions.md index bd3b102b21..c54c6420f2 100644 --- a/docs/examples/1.3.x/console-web/examples/account/list-sessions.md +++ b/docs/examples/1.3.x/console-web/examples/account/list-sessions.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/account/update-email.md b/docs/examples/1.3.x/console-web/examples/account/update-email.md index 21b7fcc3f2..1d69f5d15a 100644 --- a/docs/examples/1.3.x/console-web/examples/account/update-email.md +++ b/docs/examples/1.3.x/console-web/examples/account/update-email.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.3.x/console-web/examples/account/update-magic-u-r-l-session.md index 1bc748ed30..e73d344a75 100644 --- a/docs/examples/1.3.x/console-web/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.3.x/console-web/examples/account/update-magic-u-r-l-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/account/update-name.md b/docs/examples/1.3.x/console-web/examples/account/update-name.md index 5a9ab011b4..5a221115f1 100644 --- a/docs/examples/1.3.x/console-web/examples/account/update-name.md +++ b/docs/examples/1.3.x/console-web/examples/account/update-name.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/account/update-password.md b/docs/examples/1.3.x/console-web/examples/account/update-password.md index ca059e5304..2fdc3bdf54 100644 --- a/docs/examples/1.3.x/console-web/examples/account/update-password.md +++ b/docs/examples/1.3.x/console-web/examples/account/update-password.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/account/update-phone-session.md b/docs/examples/1.3.x/console-web/examples/account/update-phone-session.md index 4b47389a3c..2f5ca7fa64 100644 --- a/docs/examples/1.3.x/console-web/examples/account/update-phone-session.md +++ b/docs/examples/1.3.x/console-web/examples/account/update-phone-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/account/update-phone-verification.md b/docs/examples/1.3.x/console-web/examples/account/update-phone-verification.md index 99c13cb90e..4f66ec5e81 100644 --- a/docs/examples/1.3.x/console-web/examples/account/update-phone-verification.md +++ b/docs/examples/1.3.x/console-web/examples/account/update-phone-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/account/update-phone.md b/docs/examples/1.3.x/console-web/examples/account/update-phone.md index 80f715e0bc..19ebdd256b 100644 --- a/docs/examples/1.3.x/console-web/examples/account/update-phone.md +++ b/docs/examples/1.3.x/console-web/examples/account/update-phone.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/account/update-prefs.md b/docs/examples/1.3.x/console-web/examples/account/update-prefs.md index 0a85380d34..2cba25590f 100644 --- a/docs/examples/1.3.x/console-web/examples/account/update-prefs.md +++ b/docs/examples/1.3.x/console-web/examples/account/update-prefs.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/account/update-recovery.md b/docs/examples/1.3.x/console-web/examples/account/update-recovery.md index 64c1545e89..f91b353d94 100644 --- a/docs/examples/1.3.x/console-web/examples/account/update-recovery.md +++ b/docs/examples/1.3.x/console-web/examples/account/update-recovery.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/account/update-session.md b/docs/examples/1.3.x/console-web/examples/account/update-session.md index 29dc0c0907..64abdcb0dc 100644 --- a/docs/examples/1.3.x/console-web/examples/account/update-session.md +++ b/docs/examples/1.3.x/console-web/examples/account/update-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/account/update-status.md b/docs/examples/1.3.x/console-web/examples/account/update-status.md index 87b5146525..c1a568439f 100644 --- a/docs/examples/1.3.x/console-web/examples/account/update-status.md +++ b/docs/examples/1.3.x/console-web/examples/account/update-status.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/account/update-verification.md b/docs/examples/1.3.x/console-web/examples/account/update-verification.md index 93dd5db120..7ab66b2be6 100644 --- a/docs/examples/1.3.x/console-web/examples/account/update-verification.md +++ b/docs/examples/1.3.x/console-web/examples/account/update-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/avatars/get-browser.md b/docs/examples/1.3.x/console-web/examples/avatars/get-browser.md index f830effff2..f2a966e6d3 100644 --- a/docs/examples/1.3.x/console-web/examples/avatars/get-browser.md +++ b/docs/examples/1.3.x/console-web/examples/avatars/get-browser.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/avatars/get-credit-card.md b/docs/examples/1.3.x/console-web/examples/avatars/get-credit-card.md index a4e67b25e7..a3f59418da 100644 --- a/docs/examples/1.3.x/console-web/examples/avatars/get-credit-card.md +++ b/docs/examples/1.3.x/console-web/examples/avatars/get-credit-card.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/avatars/get-favicon.md b/docs/examples/1.3.x/console-web/examples/avatars/get-favicon.md index 14bc1b9b00..0076abdd54 100644 --- a/docs/examples/1.3.x/console-web/examples/avatars/get-favicon.md +++ b/docs/examples/1.3.x/console-web/examples/avatars/get-favicon.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/avatars/get-flag.md b/docs/examples/1.3.x/console-web/examples/avatars/get-flag.md index 52ebe68c65..f6a66a01a8 100644 --- a/docs/examples/1.3.x/console-web/examples/avatars/get-flag.md +++ b/docs/examples/1.3.x/console-web/examples/avatars/get-flag.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/avatars/get-image.md b/docs/examples/1.3.x/console-web/examples/avatars/get-image.md index 517421e7f0..2435fae980 100644 --- a/docs/examples/1.3.x/console-web/examples/avatars/get-image.md +++ b/docs/examples/1.3.x/console-web/examples/avatars/get-image.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/avatars/get-initials.md b/docs/examples/1.3.x/console-web/examples/avatars/get-initials.md index 8b03b5d386..0d5bc0a6c8 100644 --- a/docs/examples/1.3.x/console-web/examples/avatars/get-initials.md +++ b/docs/examples/1.3.x/console-web/examples/avatars/get-initials.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/avatars/get-q-r.md b/docs/examples/1.3.x/console-web/examples/avatars/get-q-r.md index 89cea47ad9..5f1d17d410 100644 --- a/docs/examples/1.3.x/console-web/examples/avatars/get-q-r.md +++ b/docs/examples/1.3.x/console-web/examples/avatars/get-q-r.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/create-boolean-attribute.md b/docs/examples/1.3.x/console-web/examples/databases/create-boolean-attribute.md index 3924ff5cc5..995eb48e4b 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.3.x/console-web/examples/databases/create-boolean-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/create-collection.md b/docs/examples/1.3.x/console-web/examples/databases/create-collection.md index ff3dbd974d..a478b7eeb6 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/create-collection.md +++ b/docs/examples/1.3.x/console-web/examples/databases/create-collection.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/create-datetime-attribute.md b/docs/examples/1.3.x/console-web/examples/databases/create-datetime-attribute.md index 4e1f3190b3..a6e825299a 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.3.x/console-web/examples/databases/create-datetime-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/create-document.md b/docs/examples/1.3.x/console-web/examples/databases/create-document.md index 4b9adc4e7c..fdd014f39d 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/create-document.md +++ b/docs/examples/1.3.x/console-web/examples/databases/create-document.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/create-email-attribute.md b/docs/examples/1.3.x/console-web/examples/databases/create-email-attribute.md index 8d2a5523b6..d25d0cdca3 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/create-email-attribute.md +++ b/docs/examples/1.3.x/console-web/examples/databases/create-email-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/create-enum-attribute.md b/docs/examples/1.3.x/console-web/examples/databases/create-enum-attribute.md index 503290b951..492fc94db7 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.3.x/console-web/examples/databases/create-enum-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/create-float-attribute.md b/docs/examples/1.3.x/console-web/examples/databases/create-float-attribute.md index 7ce41b6b0b..e910e78d5f 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/create-float-attribute.md +++ b/docs/examples/1.3.x/console-web/examples/databases/create-float-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/create-index.md b/docs/examples/1.3.x/console-web/examples/databases/create-index.md index 4da79809f4..90886275fc 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/create-index.md +++ b/docs/examples/1.3.x/console-web/examples/databases/create-index.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/create-integer-attribute.md b/docs/examples/1.3.x/console-web/examples/databases/create-integer-attribute.md index 28218a16d7..5fc48e7980 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.3.x/console-web/examples/databases/create-integer-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/create-ip-attribute.md b/docs/examples/1.3.x/console-web/examples/databases/create-ip-attribute.md index 88fcd66825..4f39330577 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.3.x/console-web/examples/databases/create-ip-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/create-relationship-attribute.md b/docs/examples/1.3.x/console-web/examples/databases/create-relationship-attribute.md index 6fe22ad22e..5189dae44b 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.3.x/console-web/examples/databases/create-relationship-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/create-string-attribute.md b/docs/examples/1.3.x/console-web/examples/databases/create-string-attribute.md index 8beade8f9d..8b546994fb 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/create-string-attribute.md +++ b/docs/examples/1.3.x/console-web/examples/databases/create-string-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/create-url-attribute.md b/docs/examples/1.3.x/console-web/examples/databases/create-url-attribute.md index 1cbd402c2e..4c1621878a 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/create-url-attribute.md +++ b/docs/examples/1.3.x/console-web/examples/databases/create-url-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/create.md b/docs/examples/1.3.x/console-web/examples/databases/create.md index bca894d724..035be47b85 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/create.md +++ b/docs/examples/1.3.x/console-web/examples/databases/create.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/delete-attribute.md b/docs/examples/1.3.x/console-web/examples/databases/delete-attribute.md index 858010b313..9b5259f135 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/delete-attribute.md +++ b/docs/examples/1.3.x/console-web/examples/databases/delete-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/delete-collection.md b/docs/examples/1.3.x/console-web/examples/databases/delete-collection.md index 9ce95a5e54..b654863416 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/delete-collection.md +++ b/docs/examples/1.3.x/console-web/examples/databases/delete-collection.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/delete-document.md b/docs/examples/1.3.x/console-web/examples/databases/delete-document.md index d31d06b521..727cf132ba 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/delete-document.md +++ b/docs/examples/1.3.x/console-web/examples/databases/delete-document.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/delete-index.md b/docs/examples/1.3.x/console-web/examples/databases/delete-index.md index 2ef22b82ad..6c8f148511 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/delete-index.md +++ b/docs/examples/1.3.x/console-web/examples/databases/delete-index.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/delete.md b/docs/examples/1.3.x/console-web/examples/databases/delete.md index bfd5b0cea3..049280a06b 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/delete.md +++ b/docs/examples/1.3.x/console-web/examples/databases/delete.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/get-attribute.md b/docs/examples/1.3.x/console-web/examples/databases/get-attribute.md index 1542f64763..610f07904b 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/get-attribute.md +++ b/docs/examples/1.3.x/console-web/examples/databases/get-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/get-collection-usage.md b/docs/examples/1.3.x/console-web/examples/databases/get-collection-usage.md index 983a613373..df51953046 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/get-collection-usage.md +++ b/docs/examples/1.3.x/console-web/examples/databases/get-collection-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/get-collection.md b/docs/examples/1.3.x/console-web/examples/databases/get-collection.md index 6dae02f5c2..f5fd435ff4 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/get-collection.md +++ b/docs/examples/1.3.x/console-web/examples/databases/get-collection.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/get-database-usage.md b/docs/examples/1.3.x/console-web/examples/databases/get-database-usage.md index f75040811e..3c293f0211 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/get-database-usage.md +++ b/docs/examples/1.3.x/console-web/examples/databases/get-database-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/get-document.md b/docs/examples/1.3.x/console-web/examples/databases/get-document.md index 87569bd863..63ec42b817 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/get-document.md +++ b/docs/examples/1.3.x/console-web/examples/databases/get-document.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/get-index.md b/docs/examples/1.3.x/console-web/examples/databases/get-index.md index d3df35d7a7..92fe6b48f4 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/get-index.md +++ b/docs/examples/1.3.x/console-web/examples/databases/get-index.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/get-usage.md b/docs/examples/1.3.x/console-web/examples/databases/get-usage.md index aabe123e89..c0ad5ea3c2 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/get-usage.md +++ b/docs/examples/1.3.x/console-web/examples/databases/get-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/get.md b/docs/examples/1.3.x/console-web/examples/databases/get.md index 64c8a859ed..036ebd5294 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/get.md +++ b/docs/examples/1.3.x/console-web/examples/databases/get.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/list-attributes.md b/docs/examples/1.3.x/console-web/examples/databases/list-attributes.md index df9123680e..cb07aba1f5 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/list-attributes.md +++ b/docs/examples/1.3.x/console-web/examples/databases/list-attributes.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/list-collection-logs.md b/docs/examples/1.3.x/console-web/examples/databases/list-collection-logs.md index 89662fe4b3..a6484de5e2 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/list-collection-logs.md +++ b/docs/examples/1.3.x/console-web/examples/databases/list-collection-logs.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/list-collections.md b/docs/examples/1.3.x/console-web/examples/databases/list-collections.md index 498e0d9c13..7d0e31ab0f 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/list-collections.md +++ b/docs/examples/1.3.x/console-web/examples/databases/list-collections.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/list-document-logs.md b/docs/examples/1.3.x/console-web/examples/databases/list-document-logs.md index 0161998358..34cf6c9c3d 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/list-document-logs.md +++ b/docs/examples/1.3.x/console-web/examples/databases/list-document-logs.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/list-documents.md b/docs/examples/1.3.x/console-web/examples/databases/list-documents.md index 9e29eb52c7..6365b91045 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/list-documents.md +++ b/docs/examples/1.3.x/console-web/examples/databases/list-documents.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/list-indexes.md b/docs/examples/1.3.x/console-web/examples/databases/list-indexes.md index 3449b7d82b..e821f98a12 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/list-indexes.md +++ b/docs/examples/1.3.x/console-web/examples/databases/list-indexes.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/list-logs.md b/docs/examples/1.3.x/console-web/examples/databases/list-logs.md index 3b3f0dcead..b982f8791b 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/list-logs.md +++ b/docs/examples/1.3.x/console-web/examples/databases/list-logs.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/list.md b/docs/examples/1.3.x/console-web/examples/databases/list.md index 20ae55793d..d4ba3714c4 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/list.md +++ b/docs/examples/1.3.x/console-web/examples/databases/list.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/update-boolean-attribute.md b/docs/examples/1.3.x/console-web/examples/databases/update-boolean-attribute.md index 629f8644b0..2d2ae72d82 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.3.x/console-web/examples/databases/update-boolean-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/update-collection.md b/docs/examples/1.3.x/console-web/examples/databases/update-collection.md index c0043b2500..c6fb8f69b6 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/update-collection.md +++ b/docs/examples/1.3.x/console-web/examples/databases/update-collection.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/update-datetime-attribute.md b/docs/examples/1.3.x/console-web/examples/databases/update-datetime-attribute.md index f5be61d0e6..57452ed4de 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.3.x/console-web/examples/databases/update-datetime-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/update-document.md b/docs/examples/1.3.x/console-web/examples/databases/update-document.md index 249af34648..2fbe08d3d2 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/update-document.md +++ b/docs/examples/1.3.x/console-web/examples/databases/update-document.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/update-email-attribute.md b/docs/examples/1.3.x/console-web/examples/databases/update-email-attribute.md index e9a89a9436..bd7f56f0ed 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/update-email-attribute.md +++ b/docs/examples/1.3.x/console-web/examples/databases/update-email-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/update-enum-attribute.md b/docs/examples/1.3.x/console-web/examples/databases/update-enum-attribute.md index 8f0d5b6842..5fae002950 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.3.x/console-web/examples/databases/update-enum-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/update-float-attribute.md b/docs/examples/1.3.x/console-web/examples/databases/update-float-attribute.md index 72fcd77e7b..f79aa89f29 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/update-float-attribute.md +++ b/docs/examples/1.3.x/console-web/examples/databases/update-float-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/update-integer-attribute.md b/docs/examples/1.3.x/console-web/examples/databases/update-integer-attribute.md index d035b842b1..9be0327aa0 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.3.x/console-web/examples/databases/update-integer-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/update-ip-attribute.md b/docs/examples/1.3.x/console-web/examples/databases/update-ip-attribute.md index 3373ae49ae..579e5011b0 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.3.x/console-web/examples/databases/update-ip-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/update-relationship-attribute.md b/docs/examples/1.3.x/console-web/examples/databases/update-relationship-attribute.md index a329d5b6ad..aa97a12eb4 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.3.x/console-web/examples/databases/update-relationship-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/update-string-attribute.md b/docs/examples/1.3.x/console-web/examples/databases/update-string-attribute.md index 69482531ed..5afdd00648 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/update-string-attribute.md +++ b/docs/examples/1.3.x/console-web/examples/databases/update-string-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/update-url-attribute.md b/docs/examples/1.3.x/console-web/examples/databases/update-url-attribute.md index 481394021d..d57ba6db66 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/update-url-attribute.md +++ b/docs/examples/1.3.x/console-web/examples/databases/update-url-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/databases/update.md b/docs/examples/1.3.x/console-web/examples/databases/update.md index a8160956e5..5f2727847c 100644 --- a/docs/examples/1.3.x/console-web/examples/databases/update.md +++ b/docs/examples/1.3.x/console-web/examples/databases/update.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/functions/create-build.md b/docs/examples/1.3.x/console-web/examples/functions/create-build.md index 141bb3247c..a4d250ba58 100644 --- a/docs/examples/1.3.x/console-web/examples/functions/create-build.md +++ b/docs/examples/1.3.x/console-web/examples/functions/create-build.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/functions/create-deployment.md b/docs/examples/1.3.x/console-web/examples/functions/create-deployment.md index cb91fa8ab6..e205e85189 100644 --- a/docs/examples/1.3.x/console-web/examples/functions/create-deployment.md +++ b/docs/examples/1.3.x/console-web/examples/functions/create-deployment.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/functions/create-execution.md b/docs/examples/1.3.x/console-web/examples/functions/create-execution.md index cd623bb056..b7c9d28652 100644 --- a/docs/examples/1.3.x/console-web/examples/functions/create-execution.md +++ b/docs/examples/1.3.x/console-web/examples/functions/create-execution.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/functions/create-variable.md b/docs/examples/1.3.x/console-web/examples/functions/create-variable.md index df147ac2c8..d8bad947e2 100644 --- a/docs/examples/1.3.x/console-web/examples/functions/create-variable.md +++ b/docs/examples/1.3.x/console-web/examples/functions/create-variable.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/functions/create.md b/docs/examples/1.3.x/console-web/examples/functions/create.md index cbe62775f7..844be94ddc 100644 --- a/docs/examples/1.3.x/console-web/examples/functions/create.md +++ b/docs/examples/1.3.x/console-web/examples/functions/create.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/functions/delete-deployment.md b/docs/examples/1.3.x/console-web/examples/functions/delete-deployment.md index 9597da3dcf..a5dc558457 100644 --- a/docs/examples/1.3.x/console-web/examples/functions/delete-deployment.md +++ b/docs/examples/1.3.x/console-web/examples/functions/delete-deployment.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/functions/delete-variable.md b/docs/examples/1.3.x/console-web/examples/functions/delete-variable.md index 30f2c031aa..1687be849b 100644 --- a/docs/examples/1.3.x/console-web/examples/functions/delete-variable.md +++ b/docs/examples/1.3.x/console-web/examples/functions/delete-variable.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/functions/delete.md b/docs/examples/1.3.x/console-web/examples/functions/delete.md index 3cfa756613..bee147500b 100644 --- a/docs/examples/1.3.x/console-web/examples/functions/delete.md +++ b/docs/examples/1.3.x/console-web/examples/functions/delete.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/functions/get-deployment.md b/docs/examples/1.3.x/console-web/examples/functions/get-deployment.md index 3a16587aca..e5e988c940 100644 --- a/docs/examples/1.3.x/console-web/examples/functions/get-deployment.md +++ b/docs/examples/1.3.x/console-web/examples/functions/get-deployment.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/functions/get-execution.md b/docs/examples/1.3.x/console-web/examples/functions/get-execution.md index ac92b98af8..d5b5d7400b 100644 --- a/docs/examples/1.3.x/console-web/examples/functions/get-execution.md +++ b/docs/examples/1.3.x/console-web/examples/functions/get-execution.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/functions/get-function-usage.md b/docs/examples/1.3.x/console-web/examples/functions/get-function-usage.md index 9ac20346ea..19bb6aa293 100644 --- a/docs/examples/1.3.x/console-web/examples/functions/get-function-usage.md +++ b/docs/examples/1.3.x/console-web/examples/functions/get-function-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/functions/get-usage.md b/docs/examples/1.3.x/console-web/examples/functions/get-usage.md index 6e3fe87860..8afeec514a 100644 --- a/docs/examples/1.3.x/console-web/examples/functions/get-usage.md +++ b/docs/examples/1.3.x/console-web/examples/functions/get-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/functions/get-variable.md b/docs/examples/1.3.x/console-web/examples/functions/get-variable.md index 3d4b07f44e..0d6a078176 100644 --- a/docs/examples/1.3.x/console-web/examples/functions/get-variable.md +++ b/docs/examples/1.3.x/console-web/examples/functions/get-variable.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/functions/get.md b/docs/examples/1.3.x/console-web/examples/functions/get.md index 5cb2e28910..fbb4e8be3f 100644 --- a/docs/examples/1.3.x/console-web/examples/functions/get.md +++ b/docs/examples/1.3.x/console-web/examples/functions/get.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/functions/list-deployments.md b/docs/examples/1.3.x/console-web/examples/functions/list-deployments.md index bd63271f27..1acf26b16f 100644 --- a/docs/examples/1.3.x/console-web/examples/functions/list-deployments.md +++ b/docs/examples/1.3.x/console-web/examples/functions/list-deployments.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/functions/list-executions.md b/docs/examples/1.3.x/console-web/examples/functions/list-executions.md index 5df980d48b..b1d40eb4b6 100644 --- a/docs/examples/1.3.x/console-web/examples/functions/list-executions.md +++ b/docs/examples/1.3.x/console-web/examples/functions/list-executions.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/functions/list-runtimes.md b/docs/examples/1.3.x/console-web/examples/functions/list-runtimes.md index 18f13b2c83..c1e2c654d7 100644 --- a/docs/examples/1.3.x/console-web/examples/functions/list-runtimes.md +++ b/docs/examples/1.3.x/console-web/examples/functions/list-runtimes.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/functions/list-variables.md b/docs/examples/1.3.x/console-web/examples/functions/list-variables.md index 5fd03bfc19..4f37c95bd5 100644 --- a/docs/examples/1.3.x/console-web/examples/functions/list-variables.md +++ b/docs/examples/1.3.x/console-web/examples/functions/list-variables.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/functions/list.md b/docs/examples/1.3.x/console-web/examples/functions/list.md index 721ad6bbb0..903112a5f7 100644 --- a/docs/examples/1.3.x/console-web/examples/functions/list.md +++ b/docs/examples/1.3.x/console-web/examples/functions/list.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/functions/update-deployment.md b/docs/examples/1.3.x/console-web/examples/functions/update-deployment.md index 98752326ef..b668a3fabb 100644 --- a/docs/examples/1.3.x/console-web/examples/functions/update-deployment.md +++ b/docs/examples/1.3.x/console-web/examples/functions/update-deployment.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/functions/update-variable.md b/docs/examples/1.3.x/console-web/examples/functions/update-variable.md index 33380ee102..3ce70d0d62 100644 --- a/docs/examples/1.3.x/console-web/examples/functions/update-variable.md +++ b/docs/examples/1.3.x/console-web/examples/functions/update-variable.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/functions/update.md b/docs/examples/1.3.x/console-web/examples/functions/update.md index 473bbebbd6..8304a3d159 100644 --- a/docs/examples/1.3.x/console-web/examples/functions/update.md +++ b/docs/examples/1.3.x/console-web/examples/functions/update.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/graphql/mutation.md b/docs/examples/1.3.x/console-web/examples/graphql/mutation.md index ee70c3630c..6de224be68 100644 --- a/docs/examples/1.3.x/console-web/examples/graphql/mutation.md +++ b/docs/examples/1.3.x/console-web/examples/graphql/mutation.md @@ -5,7 +5,7 @@ const client = new Client(); const graphql = new Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/graphql/query.md b/docs/examples/1.3.x/console-web/examples/graphql/query.md index 055c6ad002..f1c35d81ba 100644 --- a/docs/examples/1.3.x/console-web/examples/graphql/query.md +++ b/docs/examples/1.3.x/console-web/examples/graphql/query.md @@ -5,7 +5,7 @@ const client = new Client(); const graphql = new Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/health/get-antivirus.md b/docs/examples/1.3.x/console-web/examples/health/get-antivirus.md index 6d57550dd9..c55b33a3f5 100644 --- a/docs/examples/1.3.x/console-web/examples/health/get-antivirus.md +++ b/docs/examples/1.3.x/console-web/examples/health/get-antivirus.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/health/get-cache.md b/docs/examples/1.3.x/console-web/examples/health/get-cache.md index 5748c8e9dc..7c1563ced5 100644 --- a/docs/examples/1.3.x/console-web/examples/health/get-cache.md +++ b/docs/examples/1.3.x/console-web/examples/health/get-cache.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/health/get-d-b.md b/docs/examples/1.3.x/console-web/examples/health/get-d-b.md index 181dca7076..3c3c21b88c 100644 --- a/docs/examples/1.3.x/console-web/examples/health/get-d-b.md +++ b/docs/examples/1.3.x/console-web/examples/health/get-d-b.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/health/get-queue-certificates.md b/docs/examples/1.3.x/console-web/examples/health/get-queue-certificates.md index 29fcb6707a..f1361cb68a 100644 --- a/docs/examples/1.3.x/console-web/examples/health/get-queue-certificates.md +++ b/docs/examples/1.3.x/console-web/examples/health/get-queue-certificates.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/health/get-queue-functions.md b/docs/examples/1.3.x/console-web/examples/health/get-queue-functions.md index 0b011cb32d..12e8a8b6ba 100644 --- a/docs/examples/1.3.x/console-web/examples/health/get-queue-functions.md +++ b/docs/examples/1.3.x/console-web/examples/health/get-queue-functions.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/health/get-queue-logs.md b/docs/examples/1.3.x/console-web/examples/health/get-queue-logs.md index 2dc33b377b..8ddfaf700b 100644 --- a/docs/examples/1.3.x/console-web/examples/health/get-queue-logs.md +++ b/docs/examples/1.3.x/console-web/examples/health/get-queue-logs.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/health/get-queue-webhooks.md b/docs/examples/1.3.x/console-web/examples/health/get-queue-webhooks.md index 534d68c7f4..b2ae504bd1 100644 --- a/docs/examples/1.3.x/console-web/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.3.x/console-web/examples/health/get-queue-webhooks.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/health/get-storage-local.md b/docs/examples/1.3.x/console-web/examples/health/get-storage-local.md index ff842f4ba6..b7e8d86da6 100644 --- a/docs/examples/1.3.x/console-web/examples/health/get-storage-local.md +++ b/docs/examples/1.3.x/console-web/examples/health/get-storage-local.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/health/get-time.md b/docs/examples/1.3.x/console-web/examples/health/get-time.md index 6d8e1c225a..73e1155687 100644 --- a/docs/examples/1.3.x/console-web/examples/health/get-time.md +++ b/docs/examples/1.3.x/console-web/examples/health/get-time.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/health/get.md b/docs/examples/1.3.x/console-web/examples/health/get.md index 76e74be74c..faa1a0c7c1 100644 --- a/docs/examples/1.3.x/console-web/examples/health/get.md +++ b/docs/examples/1.3.x/console-web/examples/health/get.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/locale/get.md b/docs/examples/1.3.x/console-web/examples/locale/get.md index ac47468df8..bd3c27e3c3 100644 --- a/docs/examples/1.3.x/console-web/examples/locale/get.md +++ b/docs/examples/1.3.x/console-web/examples/locale/get.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/locale/list-continents.md b/docs/examples/1.3.x/console-web/examples/locale/list-continents.md index b2358396fc..0c3d6bb499 100644 --- a/docs/examples/1.3.x/console-web/examples/locale/list-continents.md +++ b/docs/examples/1.3.x/console-web/examples/locale/list-continents.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/locale/list-countries-e-u.md b/docs/examples/1.3.x/console-web/examples/locale/list-countries-e-u.md index 59d6e24dbf..7ac2906b4c 100644 --- a/docs/examples/1.3.x/console-web/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.3.x/console-web/examples/locale/list-countries-e-u.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/locale/list-countries-phones.md b/docs/examples/1.3.x/console-web/examples/locale/list-countries-phones.md index 898cb3cf31..300c81d953 100644 --- a/docs/examples/1.3.x/console-web/examples/locale/list-countries-phones.md +++ b/docs/examples/1.3.x/console-web/examples/locale/list-countries-phones.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/locale/list-countries.md b/docs/examples/1.3.x/console-web/examples/locale/list-countries.md index a36b8c25ed..3f26f6dba8 100644 --- a/docs/examples/1.3.x/console-web/examples/locale/list-countries.md +++ b/docs/examples/1.3.x/console-web/examples/locale/list-countries.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/locale/list-currencies.md b/docs/examples/1.3.x/console-web/examples/locale/list-currencies.md index 1f34891425..66163952bd 100644 --- a/docs/examples/1.3.x/console-web/examples/locale/list-currencies.md +++ b/docs/examples/1.3.x/console-web/examples/locale/list-currencies.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/locale/list-languages.md b/docs/examples/1.3.x/console-web/examples/locale/list-languages.md index 4fb4dbf0be..048c79d38a 100644 --- a/docs/examples/1.3.x/console-web/examples/locale/list-languages.md +++ b/docs/examples/1.3.x/console-web/examples/locale/list-languages.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/create-domain.md b/docs/examples/1.3.x/console-web/examples/projects/create-domain.md index 78036bc8b0..4a572cc30c 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/create-domain.md +++ b/docs/examples/1.3.x/console-web/examples/projects/create-domain.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/create-key.md b/docs/examples/1.3.x/console-web/examples/projects/create-key.md index 02032e81c5..d65660599b 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/create-key.md +++ b/docs/examples/1.3.x/console-web/examples/projects/create-key.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/create-platform.md b/docs/examples/1.3.x/console-web/examples/projects/create-platform.md index 4a31968171..b668ec12f7 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/create-platform.md +++ b/docs/examples/1.3.x/console-web/examples/projects/create-platform.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/create-webhook.md b/docs/examples/1.3.x/console-web/examples/projects/create-webhook.md index 356a5ffe86..0ca56346c4 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/create-webhook.md +++ b/docs/examples/1.3.x/console-web/examples/projects/create-webhook.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/create.md b/docs/examples/1.3.x/console-web/examples/projects/create.md index 67682bf859..df22f3a68e 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/create.md +++ b/docs/examples/1.3.x/console-web/examples/projects/create.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/delete-domain.md b/docs/examples/1.3.x/console-web/examples/projects/delete-domain.md index 9b8ffbce39..a5370389e1 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/delete-domain.md +++ b/docs/examples/1.3.x/console-web/examples/projects/delete-domain.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/delete-key.md b/docs/examples/1.3.x/console-web/examples/projects/delete-key.md index 74c6bd1562..399e97687a 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/delete-key.md +++ b/docs/examples/1.3.x/console-web/examples/projects/delete-key.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/delete-platform.md b/docs/examples/1.3.x/console-web/examples/projects/delete-platform.md index da8ce56e54..0d6fa3c55b 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/delete-platform.md +++ b/docs/examples/1.3.x/console-web/examples/projects/delete-platform.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/delete-webhook.md b/docs/examples/1.3.x/console-web/examples/projects/delete-webhook.md index 08e3af636f..2de71ec3f3 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/delete-webhook.md +++ b/docs/examples/1.3.x/console-web/examples/projects/delete-webhook.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/delete.md b/docs/examples/1.3.x/console-web/examples/projects/delete.md index dc620b0811..62c4339853 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/delete.md +++ b/docs/examples/1.3.x/console-web/examples/projects/delete.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/get-domain.md b/docs/examples/1.3.x/console-web/examples/projects/get-domain.md index 4b82d70ef5..4d42ce09ba 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/get-domain.md +++ b/docs/examples/1.3.x/console-web/examples/projects/get-domain.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/get-key.md b/docs/examples/1.3.x/console-web/examples/projects/get-key.md index c0d3282c14..bfadb8de56 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/get-key.md +++ b/docs/examples/1.3.x/console-web/examples/projects/get-key.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/get-platform.md b/docs/examples/1.3.x/console-web/examples/projects/get-platform.md index fd65231aff..d178cbb843 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/get-platform.md +++ b/docs/examples/1.3.x/console-web/examples/projects/get-platform.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/get-usage.md b/docs/examples/1.3.x/console-web/examples/projects/get-usage.md index 8d8c91355d..af512463fb 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/get-usage.md +++ b/docs/examples/1.3.x/console-web/examples/projects/get-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/get-webhook.md b/docs/examples/1.3.x/console-web/examples/projects/get-webhook.md index 7f580b5f57..4357669a22 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/get-webhook.md +++ b/docs/examples/1.3.x/console-web/examples/projects/get-webhook.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/get.md b/docs/examples/1.3.x/console-web/examples/projects/get.md index 23c235a741..69e53ca0f2 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/get.md +++ b/docs/examples/1.3.x/console-web/examples/projects/get.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/list-domains.md b/docs/examples/1.3.x/console-web/examples/projects/list-domains.md index 448dbf8d19..7f536d91de 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/list-domains.md +++ b/docs/examples/1.3.x/console-web/examples/projects/list-domains.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/list-keys.md b/docs/examples/1.3.x/console-web/examples/projects/list-keys.md index c2dce0a419..8800067c24 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/list-keys.md +++ b/docs/examples/1.3.x/console-web/examples/projects/list-keys.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/list-platforms.md b/docs/examples/1.3.x/console-web/examples/projects/list-platforms.md index 968438f6bb..692de5c43f 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/list-platforms.md +++ b/docs/examples/1.3.x/console-web/examples/projects/list-platforms.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/list-webhooks.md b/docs/examples/1.3.x/console-web/examples/projects/list-webhooks.md index e0e0af367f..d960a75f98 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/list-webhooks.md +++ b/docs/examples/1.3.x/console-web/examples/projects/list-webhooks.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/list.md b/docs/examples/1.3.x/console-web/examples/projects/list.md index 0cf5002afe..a7476905fd 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/list.md +++ b/docs/examples/1.3.x/console-web/examples/projects/list.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/update-auth-duration.md b/docs/examples/1.3.x/console-web/examples/projects/update-auth-duration.md index 37c69222df..f74645388d 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/update-auth-duration.md +++ b/docs/examples/1.3.x/console-web/examples/projects/update-auth-duration.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/update-auth-limit.md b/docs/examples/1.3.x/console-web/examples/projects/update-auth-limit.md index a63f5b4518..4195655bef 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/update-auth-limit.md +++ b/docs/examples/1.3.x/console-web/examples/projects/update-auth-limit.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/update-auth-password-dictionary.md b/docs/examples/1.3.x/console-web/examples/projects/update-auth-password-dictionary.md index e3cb529d1b..8f81a8fb93 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/update-auth-password-dictionary.md +++ b/docs/examples/1.3.x/console-web/examples/projects/update-auth-password-dictionary.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/update-auth-password-history.md b/docs/examples/1.3.x/console-web/examples/projects/update-auth-password-history.md index 67b885d49d..a5651e4e32 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/update-auth-password-history.md +++ b/docs/examples/1.3.x/console-web/examples/projects/update-auth-password-history.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/update-auth-sessions-limit.md b/docs/examples/1.3.x/console-web/examples/projects/update-auth-sessions-limit.md index ef2dffa67a..21ce249f7a 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/update-auth-sessions-limit.md +++ b/docs/examples/1.3.x/console-web/examples/projects/update-auth-sessions-limit.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/update-auth-status.md b/docs/examples/1.3.x/console-web/examples/projects/update-auth-status.md index 4751442d8f..b183e1477c 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/update-auth-status.md +++ b/docs/examples/1.3.x/console-web/examples/projects/update-auth-status.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/update-domain-verification.md b/docs/examples/1.3.x/console-web/examples/projects/update-domain-verification.md index d994b90aaa..aac42ce379 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/update-domain-verification.md +++ b/docs/examples/1.3.x/console-web/examples/projects/update-domain-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/update-key.md b/docs/examples/1.3.x/console-web/examples/projects/update-key.md index fd2bde82bf..659017451a 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/update-key.md +++ b/docs/examples/1.3.x/console-web/examples/projects/update-key.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/update-o-auth2.md b/docs/examples/1.3.x/console-web/examples/projects/update-o-auth2.md index 34ce814208..cf3c92658f 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/update-o-auth2.md +++ b/docs/examples/1.3.x/console-web/examples/projects/update-o-auth2.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/update-platform.md b/docs/examples/1.3.x/console-web/examples/projects/update-platform.md index ce49dfffd8..75f3b3b4e2 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/update-platform.md +++ b/docs/examples/1.3.x/console-web/examples/projects/update-platform.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/update-service-status.md b/docs/examples/1.3.x/console-web/examples/projects/update-service-status.md index 5b727003b0..66010abf74 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/update-service-status.md +++ b/docs/examples/1.3.x/console-web/examples/projects/update-service-status.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/update-webhook-signature.md b/docs/examples/1.3.x/console-web/examples/projects/update-webhook-signature.md index 472271f8e6..8a18c84262 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/update-webhook-signature.md +++ b/docs/examples/1.3.x/console-web/examples/projects/update-webhook-signature.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/update-webhook.md b/docs/examples/1.3.x/console-web/examples/projects/update-webhook.md index 1339a45822..81fdd2913e 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/update-webhook.md +++ b/docs/examples/1.3.x/console-web/examples/projects/update-webhook.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/projects/update.md b/docs/examples/1.3.x/console-web/examples/projects/update.md index 31281808c4..f162bd09b5 100644 --- a/docs/examples/1.3.x/console-web/examples/projects/update.md +++ b/docs/examples/1.3.x/console-web/examples/projects/update.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/storage/create-bucket.md b/docs/examples/1.3.x/console-web/examples/storage/create-bucket.md index 7696b14294..766a4835dc 100644 --- a/docs/examples/1.3.x/console-web/examples/storage/create-bucket.md +++ b/docs/examples/1.3.x/console-web/examples/storage/create-bucket.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/storage/create-file.md b/docs/examples/1.3.x/console-web/examples/storage/create-file.md index d1bf55b42b..ce0c8f0b9c 100644 --- a/docs/examples/1.3.x/console-web/examples/storage/create-file.md +++ b/docs/examples/1.3.x/console-web/examples/storage/create-file.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/storage/delete-bucket.md b/docs/examples/1.3.x/console-web/examples/storage/delete-bucket.md index 4634b11f5b..0a3305e862 100644 --- a/docs/examples/1.3.x/console-web/examples/storage/delete-bucket.md +++ b/docs/examples/1.3.x/console-web/examples/storage/delete-bucket.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/storage/delete-file.md b/docs/examples/1.3.x/console-web/examples/storage/delete-file.md index b4c0ff0f9d..1961a1fcde 100644 --- a/docs/examples/1.3.x/console-web/examples/storage/delete-file.md +++ b/docs/examples/1.3.x/console-web/examples/storage/delete-file.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/storage/get-bucket-usage.md b/docs/examples/1.3.x/console-web/examples/storage/get-bucket-usage.md index 65c66d7aa0..58223df2ae 100644 --- a/docs/examples/1.3.x/console-web/examples/storage/get-bucket-usage.md +++ b/docs/examples/1.3.x/console-web/examples/storage/get-bucket-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/storage/get-bucket.md b/docs/examples/1.3.x/console-web/examples/storage/get-bucket.md index 2b65e8b0ce..7b386458f9 100644 --- a/docs/examples/1.3.x/console-web/examples/storage/get-bucket.md +++ b/docs/examples/1.3.x/console-web/examples/storage/get-bucket.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/storage/get-file-download.md b/docs/examples/1.3.x/console-web/examples/storage/get-file-download.md index 1ce57cb38a..bdc8fb79d3 100644 --- a/docs/examples/1.3.x/console-web/examples/storage/get-file-download.md +++ b/docs/examples/1.3.x/console-web/examples/storage/get-file-download.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/storage/get-file-preview.md b/docs/examples/1.3.x/console-web/examples/storage/get-file-preview.md index ab6bc18fc4..8f58323bd6 100644 --- a/docs/examples/1.3.x/console-web/examples/storage/get-file-preview.md +++ b/docs/examples/1.3.x/console-web/examples/storage/get-file-preview.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/storage/get-file-view.md b/docs/examples/1.3.x/console-web/examples/storage/get-file-view.md index 7ce851f025..aa482c46f5 100644 --- a/docs/examples/1.3.x/console-web/examples/storage/get-file-view.md +++ b/docs/examples/1.3.x/console-web/examples/storage/get-file-view.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/storage/get-file.md b/docs/examples/1.3.x/console-web/examples/storage/get-file.md index b6e800303d..bb5a737721 100644 --- a/docs/examples/1.3.x/console-web/examples/storage/get-file.md +++ b/docs/examples/1.3.x/console-web/examples/storage/get-file.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/storage/get-usage.md b/docs/examples/1.3.x/console-web/examples/storage/get-usage.md index f618ba4e16..e9a8eb0672 100644 --- a/docs/examples/1.3.x/console-web/examples/storage/get-usage.md +++ b/docs/examples/1.3.x/console-web/examples/storage/get-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/storage/list-buckets.md b/docs/examples/1.3.x/console-web/examples/storage/list-buckets.md index 5a356900fa..a14a0d0217 100644 --- a/docs/examples/1.3.x/console-web/examples/storage/list-buckets.md +++ b/docs/examples/1.3.x/console-web/examples/storage/list-buckets.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/storage/list-files.md b/docs/examples/1.3.x/console-web/examples/storage/list-files.md index 0c6170f11d..ac7ef669dc 100644 --- a/docs/examples/1.3.x/console-web/examples/storage/list-files.md +++ b/docs/examples/1.3.x/console-web/examples/storage/list-files.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/storage/update-bucket.md b/docs/examples/1.3.x/console-web/examples/storage/update-bucket.md index 09ed4ce441..1d050c14b8 100644 --- a/docs/examples/1.3.x/console-web/examples/storage/update-bucket.md +++ b/docs/examples/1.3.x/console-web/examples/storage/update-bucket.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/storage/update-file.md b/docs/examples/1.3.x/console-web/examples/storage/update-file.md index abaaf9afd4..12292761d2 100644 --- a/docs/examples/1.3.x/console-web/examples/storage/update-file.md +++ b/docs/examples/1.3.x/console-web/examples/storage/update-file.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/teams/create-membership.md b/docs/examples/1.3.x/console-web/examples/teams/create-membership.md index ddd4861137..4b176ca962 100644 --- a/docs/examples/1.3.x/console-web/examples/teams/create-membership.md +++ b/docs/examples/1.3.x/console-web/examples/teams/create-membership.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/teams/create.md b/docs/examples/1.3.x/console-web/examples/teams/create.md index a2cb34296b..881816db34 100644 --- a/docs/examples/1.3.x/console-web/examples/teams/create.md +++ b/docs/examples/1.3.x/console-web/examples/teams/create.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/teams/delete-membership.md b/docs/examples/1.3.x/console-web/examples/teams/delete-membership.md index 4e7d7e7a74..66274a17b6 100644 --- a/docs/examples/1.3.x/console-web/examples/teams/delete-membership.md +++ b/docs/examples/1.3.x/console-web/examples/teams/delete-membership.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/teams/delete.md b/docs/examples/1.3.x/console-web/examples/teams/delete.md index 0bc778ba63..d51318f89e 100644 --- a/docs/examples/1.3.x/console-web/examples/teams/delete.md +++ b/docs/examples/1.3.x/console-web/examples/teams/delete.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/teams/get-membership.md b/docs/examples/1.3.x/console-web/examples/teams/get-membership.md index c0bdae5fc6..881f37d8b0 100644 --- a/docs/examples/1.3.x/console-web/examples/teams/get-membership.md +++ b/docs/examples/1.3.x/console-web/examples/teams/get-membership.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/teams/get-prefs.md b/docs/examples/1.3.x/console-web/examples/teams/get-prefs.md index 2104c5f898..f039b6e3da 100644 --- a/docs/examples/1.3.x/console-web/examples/teams/get-prefs.md +++ b/docs/examples/1.3.x/console-web/examples/teams/get-prefs.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/teams/get.md b/docs/examples/1.3.x/console-web/examples/teams/get.md index 2dbfdb4b0b..068d50c6d1 100644 --- a/docs/examples/1.3.x/console-web/examples/teams/get.md +++ b/docs/examples/1.3.x/console-web/examples/teams/get.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/teams/list-logs.md b/docs/examples/1.3.x/console-web/examples/teams/list-logs.md index 2c3c7311e2..7fb7521417 100644 --- a/docs/examples/1.3.x/console-web/examples/teams/list-logs.md +++ b/docs/examples/1.3.x/console-web/examples/teams/list-logs.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/teams/list-memberships.md b/docs/examples/1.3.x/console-web/examples/teams/list-memberships.md index f7a7d1a54e..93e8588a55 100644 --- a/docs/examples/1.3.x/console-web/examples/teams/list-memberships.md +++ b/docs/examples/1.3.x/console-web/examples/teams/list-memberships.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/teams/list.md b/docs/examples/1.3.x/console-web/examples/teams/list.md index 99e482d8f3..3a5311efe3 100644 --- a/docs/examples/1.3.x/console-web/examples/teams/list.md +++ b/docs/examples/1.3.x/console-web/examples/teams/list.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/teams/update-membership-roles.md b/docs/examples/1.3.x/console-web/examples/teams/update-membership-roles.md index c09ed1ac77..80cbd9b6e1 100644 --- a/docs/examples/1.3.x/console-web/examples/teams/update-membership-roles.md +++ b/docs/examples/1.3.x/console-web/examples/teams/update-membership-roles.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/teams/update-membership-status.md b/docs/examples/1.3.x/console-web/examples/teams/update-membership-status.md index 1c8ec3a27e..cdc93967b3 100644 --- a/docs/examples/1.3.x/console-web/examples/teams/update-membership-status.md +++ b/docs/examples/1.3.x/console-web/examples/teams/update-membership-status.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/teams/update-name.md b/docs/examples/1.3.x/console-web/examples/teams/update-name.md index 4bee8deb52..9a8af03cd9 100644 --- a/docs/examples/1.3.x/console-web/examples/teams/update-name.md +++ b/docs/examples/1.3.x/console-web/examples/teams/update-name.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/teams/update-prefs.md b/docs/examples/1.3.x/console-web/examples/teams/update-prefs.md index 7d7ed63328..4f375b52ce 100644 --- a/docs/examples/1.3.x/console-web/examples/teams/update-prefs.md +++ b/docs/examples/1.3.x/console-web/examples/teams/update-prefs.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/users/create-argon2user.md b/docs/examples/1.3.x/console-web/examples/users/create-argon2user.md index f4dabafe18..e22db4f298 100644 --- a/docs/examples/1.3.x/console-web/examples/users/create-argon2user.md +++ b/docs/examples/1.3.x/console-web/examples/users/create-argon2user.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/users/create-bcrypt-user.md b/docs/examples/1.3.x/console-web/examples/users/create-bcrypt-user.md index 247f579c9c..809c9aab77 100644 --- a/docs/examples/1.3.x/console-web/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.3.x/console-web/examples/users/create-bcrypt-user.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/users/create-m-d5user.md b/docs/examples/1.3.x/console-web/examples/users/create-m-d5user.md index 8a81f0801b..13048d3ad6 100644 --- a/docs/examples/1.3.x/console-web/examples/users/create-m-d5user.md +++ b/docs/examples/1.3.x/console-web/examples/users/create-m-d5user.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/users/create-p-h-pass-user.md b/docs/examples/1.3.x/console-web/examples/users/create-p-h-pass-user.md index f7297c1023..448fb53ac2 100644 --- a/docs/examples/1.3.x/console-web/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.3.x/console-web/examples/users/create-p-h-pass-user.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/users/create-s-h-a-user.md b/docs/examples/1.3.x/console-web/examples/users/create-s-h-a-user.md index 3cefaf17df..d188ec648d 100644 --- a/docs/examples/1.3.x/console-web/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.3.x/console-web/examples/users/create-s-h-a-user.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/users/create-scrypt-modified-user.md b/docs/examples/1.3.x/console-web/examples/users/create-scrypt-modified-user.md index d8889fa229..da40910a37 100644 --- a/docs/examples/1.3.x/console-web/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.3.x/console-web/examples/users/create-scrypt-modified-user.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/users/create-scrypt-user.md b/docs/examples/1.3.x/console-web/examples/users/create-scrypt-user.md index 3c4b357e4c..ba82d26d9f 100644 --- a/docs/examples/1.3.x/console-web/examples/users/create-scrypt-user.md +++ b/docs/examples/1.3.x/console-web/examples/users/create-scrypt-user.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/users/create.md b/docs/examples/1.3.x/console-web/examples/users/create.md index 845895d6a5..30e6ec9266 100644 --- a/docs/examples/1.3.x/console-web/examples/users/create.md +++ b/docs/examples/1.3.x/console-web/examples/users/create.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/users/delete-session.md b/docs/examples/1.3.x/console-web/examples/users/delete-session.md index 70404ca574..9098318a77 100644 --- a/docs/examples/1.3.x/console-web/examples/users/delete-session.md +++ b/docs/examples/1.3.x/console-web/examples/users/delete-session.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/users/delete-sessions.md b/docs/examples/1.3.x/console-web/examples/users/delete-sessions.md index b02771c709..c8994db4e5 100644 --- a/docs/examples/1.3.x/console-web/examples/users/delete-sessions.md +++ b/docs/examples/1.3.x/console-web/examples/users/delete-sessions.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/users/delete.md b/docs/examples/1.3.x/console-web/examples/users/delete.md index 0bb95c395b..8dd6885f0e 100644 --- a/docs/examples/1.3.x/console-web/examples/users/delete.md +++ b/docs/examples/1.3.x/console-web/examples/users/delete.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/users/get-prefs.md b/docs/examples/1.3.x/console-web/examples/users/get-prefs.md index 593552bd03..a0e8f78b94 100644 --- a/docs/examples/1.3.x/console-web/examples/users/get-prefs.md +++ b/docs/examples/1.3.x/console-web/examples/users/get-prefs.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/users/get-usage.md b/docs/examples/1.3.x/console-web/examples/users/get-usage.md index 59d95e6dcb..3c38b500d8 100644 --- a/docs/examples/1.3.x/console-web/examples/users/get-usage.md +++ b/docs/examples/1.3.x/console-web/examples/users/get-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/users/get.md b/docs/examples/1.3.x/console-web/examples/users/get.md index 46cee750f7..816b41ad39 100644 --- a/docs/examples/1.3.x/console-web/examples/users/get.md +++ b/docs/examples/1.3.x/console-web/examples/users/get.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/users/list-logs.md b/docs/examples/1.3.x/console-web/examples/users/list-logs.md index ded1e98b40..cb2402e2d0 100644 --- a/docs/examples/1.3.x/console-web/examples/users/list-logs.md +++ b/docs/examples/1.3.x/console-web/examples/users/list-logs.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/users/list-memberships.md b/docs/examples/1.3.x/console-web/examples/users/list-memberships.md index b47f7acf57..3f9dca5ab2 100644 --- a/docs/examples/1.3.x/console-web/examples/users/list-memberships.md +++ b/docs/examples/1.3.x/console-web/examples/users/list-memberships.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/users/list-sessions.md b/docs/examples/1.3.x/console-web/examples/users/list-sessions.md index 087834e569..0c0109550b 100644 --- a/docs/examples/1.3.x/console-web/examples/users/list-sessions.md +++ b/docs/examples/1.3.x/console-web/examples/users/list-sessions.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/users/list.md b/docs/examples/1.3.x/console-web/examples/users/list.md index 28a8258b12..f658f432ba 100644 --- a/docs/examples/1.3.x/console-web/examples/users/list.md +++ b/docs/examples/1.3.x/console-web/examples/users/list.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/users/update-email-verification.md b/docs/examples/1.3.x/console-web/examples/users/update-email-verification.md index 019b072371..7b9d2cc424 100644 --- a/docs/examples/1.3.x/console-web/examples/users/update-email-verification.md +++ b/docs/examples/1.3.x/console-web/examples/users/update-email-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/users/update-email.md b/docs/examples/1.3.x/console-web/examples/users/update-email.md index e37d03a01c..fe1f2500f8 100644 --- a/docs/examples/1.3.x/console-web/examples/users/update-email.md +++ b/docs/examples/1.3.x/console-web/examples/users/update-email.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/users/update-name.md b/docs/examples/1.3.x/console-web/examples/users/update-name.md index 2834c747da..2d491d7a56 100644 --- a/docs/examples/1.3.x/console-web/examples/users/update-name.md +++ b/docs/examples/1.3.x/console-web/examples/users/update-name.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/users/update-password.md b/docs/examples/1.3.x/console-web/examples/users/update-password.md index 5192abda89..8edb97138f 100644 --- a/docs/examples/1.3.x/console-web/examples/users/update-password.md +++ b/docs/examples/1.3.x/console-web/examples/users/update-password.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/users/update-phone-verification.md b/docs/examples/1.3.x/console-web/examples/users/update-phone-verification.md index 17ddf467d9..d4fe6f00a1 100644 --- a/docs/examples/1.3.x/console-web/examples/users/update-phone-verification.md +++ b/docs/examples/1.3.x/console-web/examples/users/update-phone-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/users/update-phone.md b/docs/examples/1.3.x/console-web/examples/users/update-phone.md index a1d85aaaca..ce74c71022 100644 --- a/docs/examples/1.3.x/console-web/examples/users/update-phone.md +++ b/docs/examples/1.3.x/console-web/examples/users/update-phone.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/users/update-prefs.md b/docs/examples/1.3.x/console-web/examples/users/update-prefs.md index e3c5b76c2a..c05c4df53d 100644 --- a/docs/examples/1.3.x/console-web/examples/users/update-prefs.md +++ b/docs/examples/1.3.x/console-web/examples/users/update-prefs.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/console-web/examples/users/update-status.md b/docs/examples/1.3.x/console-web/examples/users/update-status.md index eafbec728f..87e2197cfc 100644 --- a/docs/examples/1.3.x/console-web/examples/users/update-status.md +++ b/docs/examples/1.3.x/console-web/examples/users/update-status.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.3.x/server-dart/examples/account/create-phone-verification.md b/docs/examples/1.3.x/server-dart/examples/account/create-phone-verification.md index 912f8c3b1e..85ea968b94 100644 --- a/docs/examples/1.3.x/server-dart/examples/account/create-phone-verification.md +++ b/docs/examples/1.3.x/server-dart/examples/account/create-phone-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-dart/examples/account/create-recovery.md b/docs/examples/1.3.x/server-dart/examples/account/create-recovery.md index d9f13957c7..0fe2889a76 100644 --- a/docs/examples/1.3.x/server-dart/examples/account/create-recovery.md +++ b/docs/examples/1.3.x/server-dart/examples/account/create-recovery.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-dart/examples/account/create-verification.md b/docs/examples/1.3.x/server-dart/examples/account/create-verification.md index cca3c7b774..8daf5d7b1f 100644 --- a/docs/examples/1.3.x/server-dart/examples/account/create-verification.md +++ b/docs/examples/1.3.x/server-dart/examples/account/create-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-dart/examples/account/delete-session.md b/docs/examples/1.3.x/server-dart/examples/account/delete-session.md index 9486ec9b80..92a0fee9a2 100644 --- a/docs/examples/1.3.x/server-dart/examples/account/delete-session.md +++ b/docs/examples/1.3.x/server-dart/examples/account/delete-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-dart/examples/account/delete-sessions.md b/docs/examples/1.3.x/server-dart/examples/account/delete-sessions.md index a5732cb68e..2477115be1 100644 --- a/docs/examples/1.3.x/server-dart/examples/account/delete-sessions.md +++ b/docs/examples/1.3.x/server-dart/examples/account/delete-sessions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-dart/examples/account/get-prefs.md b/docs/examples/1.3.x/server-dart/examples/account/get-prefs.md index 527a71f3b1..fcf164dde0 100644 --- a/docs/examples/1.3.x/server-dart/examples/account/get-prefs.md +++ b/docs/examples/1.3.x/server-dart/examples/account/get-prefs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-dart/examples/account/get-session.md b/docs/examples/1.3.x/server-dart/examples/account/get-session.md index 6eb711ab4d..029d7bc3d9 100644 --- a/docs/examples/1.3.x/server-dart/examples/account/get-session.md +++ b/docs/examples/1.3.x/server-dart/examples/account/get-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-dart/examples/account/get.md b/docs/examples/1.3.x/server-dart/examples/account/get.md index c72fdddb10..805061bd70 100644 --- a/docs/examples/1.3.x/server-dart/examples/account/get.md +++ b/docs/examples/1.3.x/server-dart/examples/account/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-dart/examples/account/list-logs.md b/docs/examples/1.3.x/server-dart/examples/account/list-logs.md index 68d2c49f74..41cdad74c0 100644 --- a/docs/examples/1.3.x/server-dart/examples/account/list-logs.md +++ b/docs/examples/1.3.x/server-dart/examples/account/list-logs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-dart/examples/account/list-sessions.md b/docs/examples/1.3.x/server-dart/examples/account/list-sessions.md index 0d6567b5f3..30bb6fc8c9 100644 --- a/docs/examples/1.3.x/server-dart/examples/account/list-sessions.md +++ b/docs/examples/1.3.x/server-dart/examples/account/list-sessions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-dart/examples/account/update-email.md b/docs/examples/1.3.x/server-dart/examples/account/update-email.md index b83f7d86da..ad77ccfd9a 100644 --- a/docs/examples/1.3.x/server-dart/examples/account/update-email.md +++ b/docs/examples/1.3.x/server-dart/examples/account/update-email.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-dart/examples/account/update-name.md b/docs/examples/1.3.x/server-dart/examples/account/update-name.md index 0bd27cf204..7df0f9cc01 100644 --- a/docs/examples/1.3.x/server-dart/examples/account/update-name.md +++ b/docs/examples/1.3.x/server-dart/examples/account/update-name.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-dart/examples/account/update-password.md b/docs/examples/1.3.x/server-dart/examples/account/update-password.md index d5e27a7574..559b875ebf 100644 --- a/docs/examples/1.3.x/server-dart/examples/account/update-password.md +++ b/docs/examples/1.3.x/server-dart/examples/account/update-password.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-dart/examples/account/update-phone-verification.md b/docs/examples/1.3.x/server-dart/examples/account/update-phone-verification.md index f2995b9b93..4892311ef2 100644 --- a/docs/examples/1.3.x/server-dart/examples/account/update-phone-verification.md +++ b/docs/examples/1.3.x/server-dart/examples/account/update-phone-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-dart/examples/account/update-phone.md b/docs/examples/1.3.x/server-dart/examples/account/update-phone.md index 5848da5d10..465593c0ab 100644 --- a/docs/examples/1.3.x/server-dart/examples/account/update-phone.md +++ b/docs/examples/1.3.x/server-dart/examples/account/update-phone.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-dart/examples/account/update-prefs.md b/docs/examples/1.3.x/server-dart/examples/account/update-prefs.md index ffbe700288..7ffef542be 100644 --- a/docs/examples/1.3.x/server-dart/examples/account/update-prefs.md +++ b/docs/examples/1.3.x/server-dart/examples/account/update-prefs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-dart/examples/account/update-recovery.md b/docs/examples/1.3.x/server-dart/examples/account/update-recovery.md index c2cf9d2396..e3ade8270b 100644 --- a/docs/examples/1.3.x/server-dart/examples/account/update-recovery.md +++ b/docs/examples/1.3.x/server-dart/examples/account/update-recovery.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-dart/examples/account/update-session.md b/docs/examples/1.3.x/server-dart/examples/account/update-session.md index 61e11e27af..859f1a81f7 100644 --- a/docs/examples/1.3.x/server-dart/examples/account/update-session.md +++ b/docs/examples/1.3.x/server-dart/examples/account/update-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-dart/examples/account/update-status.md b/docs/examples/1.3.x/server-dart/examples/account/update-status.md index 12f733334a..610784294a 100644 --- a/docs/examples/1.3.x/server-dart/examples/account/update-status.md +++ b/docs/examples/1.3.x/server-dart/examples/account/update-status.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-dart/examples/account/update-verification.md b/docs/examples/1.3.x/server-dart/examples/account/update-verification.md index 40e36426a1..7b291b6160 100644 --- a/docs/examples/1.3.x/server-dart/examples/account/update-verification.md +++ b/docs/examples/1.3.x/server-dart/examples/account/update-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-dart/examples/avatars/get-browser.md b/docs/examples/1.3.x/server-dart/examples/avatars/get-browser.md index 0bac9df4ef..abca00ba4b 100644 --- a/docs/examples/1.3.x/server-dart/examples/avatars/get-browser.md +++ b/docs/examples/1.3.x/server-dart/examples/avatars/get-browser.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/avatars/get-credit-card.md b/docs/examples/1.3.x/server-dart/examples/avatars/get-credit-card.md index b9a8166e48..b50b1304f9 100644 --- a/docs/examples/1.3.x/server-dart/examples/avatars/get-credit-card.md +++ b/docs/examples/1.3.x/server-dart/examples/avatars/get-credit-card.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/avatars/get-favicon.md b/docs/examples/1.3.x/server-dart/examples/avatars/get-favicon.md index 6a728e7792..a547908fa4 100644 --- a/docs/examples/1.3.x/server-dart/examples/avatars/get-favicon.md +++ b/docs/examples/1.3.x/server-dart/examples/avatars/get-favicon.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/avatars/get-flag.md b/docs/examples/1.3.x/server-dart/examples/avatars/get-flag.md index 02e4880926..8e2d9f1490 100644 --- a/docs/examples/1.3.x/server-dart/examples/avatars/get-flag.md +++ b/docs/examples/1.3.x/server-dart/examples/avatars/get-flag.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/avatars/get-image.md b/docs/examples/1.3.x/server-dart/examples/avatars/get-image.md index b1d5e33884..746ec079b0 100644 --- a/docs/examples/1.3.x/server-dart/examples/avatars/get-image.md +++ b/docs/examples/1.3.x/server-dart/examples/avatars/get-image.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/avatars/get-initials.md b/docs/examples/1.3.x/server-dart/examples/avatars/get-initials.md index 5a68caf1d9..c979fddd08 100644 --- a/docs/examples/1.3.x/server-dart/examples/avatars/get-initials.md +++ b/docs/examples/1.3.x/server-dart/examples/avatars/get-initials.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/avatars/get-q-r.md b/docs/examples/1.3.x/server-dart/examples/avatars/get-q-r.md index 8283b9bdf4..6ab3cf709d 100644 --- a/docs/examples/1.3.x/server-dart/examples/avatars/get-q-r.md +++ b/docs/examples/1.3.x/server-dart/examples/avatars/get-q-r.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/create-boolean-attribute.md b/docs/examples/1.3.x/server-dart/examples/databases/create-boolean-attribute.md index 224719685b..0fb759bcb2 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/create-boolean-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/create-collection.md b/docs/examples/1.3.x/server-dart/examples/databases/create-collection.md index c90183deed..e63877b39f 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/create-collection.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/create-collection.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/create-datetime-attribute.md b/docs/examples/1.3.x/server-dart/examples/databases/create-datetime-attribute.md index 24c44088f3..f56eec54ec 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/create-datetime-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/create-document.md b/docs/examples/1.3.x/server-dart/examples/databases/create-document.md index 00d844da0f..1f6f6b9703 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/create-document.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/create-document.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/create-email-attribute.md b/docs/examples/1.3.x/server-dart/examples/databases/create-email-attribute.md index 92fd32037b..ea1ebfb480 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/create-email-attribute.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/create-email-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/create-enum-attribute.md b/docs/examples/1.3.x/server-dart/examples/databases/create-enum-attribute.md index fa8ad92015..03773c58eb 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/create-enum-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/create-float-attribute.md b/docs/examples/1.3.x/server-dart/examples/databases/create-float-attribute.md index 96047bf2b2..94c716b9d4 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/create-float-attribute.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/create-float-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/create-index.md b/docs/examples/1.3.x/server-dart/examples/databases/create-index.md index c16a02719e..248d9632a0 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/create-index.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/create-index.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/create-integer-attribute.md b/docs/examples/1.3.x/server-dart/examples/databases/create-integer-attribute.md index bc4f12f0c4..4b1d76195d 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/create-integer-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/create-ip-attribute.md b/docs/examples/1.3.x/server-dart/examples/databases/create-ip-attribute.md index ef3e985a38..4b3586ae34 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/create-ip-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/create-relationship-attribute.md b/docs/examples/1.3.x/server-dart/examples/databases/create-relationship-attribute.md index 01f2b42f75..01c7e0e5db 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/create-relationship-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/create-string-attribute.md b/docs/examples/1.3.x/server-dart/examples/databases/create-string-attribute.md index 14f2769dbb..ed973e8c53 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/create-string-attribute.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/create-string-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/create-url-attribute.md b/docs/examples/1.3.x/server-dart/examples/databases/create-url-attribute.md index 4cf3e99a72..62b6970b27 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/create-url-attribute.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/create-url-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/create.md b/docs/examples/1.3.x/server-dart/examples/databases/create.md index cbaf3b742d..390baabb61 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/create.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/create.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/delete-attribute.md b/docs/examples/1.3.x/server-dart/examples/databases/delete-attribute.md index e9865bfe22..b52ba1f39d 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/delete-attribute.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/delete-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/delete-collection.md b/docs/examples/1.3.x/server-dart/examples/databases/delete-collection.md index 5886920115..8de343f869 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/delete-collection.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/delete-collection.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/delete-document.md b/docs/examples/1.3.x/server-dart/examples/databases/delete-document.md index 0d298f3b42..bcb4b7a2da 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/delete-document.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/delete-document.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/delete-index.md b/docs/examples/1.3.x/server-dart/examples/databases/delete-index.md index be5b2a5c9f..8422593fe5 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/delete-index.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/delete-index.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/delete.md b/docs/examples/1.3.x/server-dart/examples/databases/delete.md index ff19beea69..bd4c483f01 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/delete.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/delete.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/get-attribute.md b/docs/examples/1.3.x/server-dart/examples/databases/get-attribute.md index c27ddb648c..e066f70d13 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/get-attribute.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/get-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/get-collection.md b/docs/examples/1.3.x/server-dart/examples/databases/get-collection.md index 359f0df829..2678a1a543 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/get-collection.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/get-collection.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/get-document.md b/docs/examples/1.3.x/server-dart/examples/databases/get-document.md index 2141abf4be..4c5beadccf 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/get-document.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/get-document.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/get-index.md b/docs/examples/1.3.x/server-dart/examples/databases/get-index.md index 2b8a90318d..9b881f7d78 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/get-index.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/get-index.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/get.md b/docs/examples/1.3.x/server-dart/examples/databases/get.md index f0cc118b96..7a2d959101 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/get.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/list-attributes.md b/docs/examples/1.3.x/server-dart/examples/databases/list-attributes.md index 60ca58f3c3..1c9d635195 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/list-attributes.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/list-attributes.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/list-collections.md b/docs/examples/1.3.x/server-dart/examples/databases/list-collections.md index a10038db11..cd120817dc 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/list-collections.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/list-collections.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/list-documents.md b/docs/examples/1.3.x/server-dart/examples/databases/list-documents.md index 70299774fb..41703ae26b 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/list-documents.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/list-documents.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/list-indexes.md b/docs/examples/1.3.x/server-dart/examples/databases/list-indexes.md index 6703ebf35a..d959370fc6 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/list-indexes.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/list-indexes.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/list.md b/docs/examples/1.3.x/server-dart/examples/databases/list.md index d9bd06ad34..da25b576d7 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/list.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/list.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/update-boolean-attribute.md b/docs/examples/1.3.x/server-dart/examples/databases/update-boolean-attribute.md index 94853d2819..95b9735957 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/update-boolean-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/update-collection.md b/docs/examples/1.3.x/server-dart/examples/databases/update-collection.md index a5f32dead1..4501459265 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/update-collection.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/update-collection.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/update-datetime-attribute.md b/docs/examples/1.3.x/server-dart/examples/databases/update-datetime-attribute.md index f93aa81500..200266fda0 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/update-datetime-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/update-document.md b/docs/examples/1.3.x/server-dart/examples/databases/update-document.md index fb08413f2f..4b34007c49 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/update-document.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/update-document.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/update-email-attribute.md b/docs/examples/1.3.x/server-dart/examples/databases/update-email-attribute.md index 8fd104db32..c79242fcc9 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/update-email-attribute.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/update-email-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/update-enum-attribute.md b/docs/examples/1.3.x/server-dart/examples/databases/update-enum-attribute.md index 20c44817ef..29bbb49e49 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/update-enum-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/update-float-attribute.md b/docs/examples/1.3.x/server-dart/examples/databases/update-float-attribute.md index 50432542c6..b395495516 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/update-float-attribute.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/update-float-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/update-integer-attribute.md b/docs/examples/1.3.x/server-dart/examples/databases/update-integer-attribute.md index 2d3da6ced6..659631462c 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/update-integer-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/update-ip-attribute.md b/docs/examples/1.3.x/server-dart/examples/databases/update-ip-attribute.md index 8c4cf4f3f2..c3bfa069b7 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/update-ip-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/update-relationship-attribute.md b/docs/examples/1.3.x/server-dart/examples/databases/update-relationship-attribute.md index 239e23daab..35943d8f1a 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/update-relationship-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/update-string-attribute.md b/docs/examples/1.3.x/server-dart/examples/databases/update-string-attribute.md index 7f24507aba..54a3d0df6e 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/update-string-attribute.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/update-string-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/update-url-attribute.md b/docs/examples/1.3.x/server-dart/examples/databases/update-url-attribute.md index d7dd6758bb..9787d2b7c5 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/update-url-attribute.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/update-url-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/databases/update.md b/docs/examples/1.3.x/server-dart/examples/databases/update.md index 59070cefa9..7187605e81 100644 --- a/docs/examples/1.3.x/server-dart/examples/databases/update.md +++ b/docs/examples/1.3.x/server-dart/examples/databases/update.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/functions/create-build.md b/docs/examples/1.3.x/server-dart/examples/functions/create-build.md index 530ba6deab..eea5cc14c0 100644 --- a/docs/examples/1.3.x/server-dart/examples/functions/create-build.md +++ b/docs/examples/1.3.x/server-dart/examples/functions/create-build.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/functions/create-deployment.md b/docs/examples/1.3.x/server-dart/examples/functions/create-deployment.md index d646680db8..17683d2c86 100644 --- a/docs/examples/1.3.x/server-dart/examples/functions/create-deployment.md +++ b/docs/examples/1.3.x/server-dart/examples/functions/create-deployment.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/functions/create-execution.md b/docs/examples/1.3.x/server-dart/examples/functions/create-execution.md index f5de49f7cf..610579eef0 100644 --- a/docs/examples/1.3.x/server-dart/examples/functions/create-execution.md +++ b/docs/examples/1.3.x/server-dart/examples/functions/create-execution.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/functions/create-variable.md b/docs/examples/1.3.x/server-dart/examples/functions/create-variable.md index 50cd063ca1..2990bf98be 100644 --- a/docs/examples/1.3.x/server-dart/examples/functions/create-variable.md +++ b/docs/examples/1.3.x/server-dart/examples/functions/create-variable.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/functions/create.md b/docs/examples/1.3.x/server-dart/examples/functions/create.md index 839c6f6edd..381f615788 100644 --- a/docs/examples/1.3.x/server-dart/examples/functions/create.md +++ b/docs/examples/1.3.x/server-dart/examples/functions/create.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/functions/delete-deployment.md b/docs/examples/1.3.x/server-dart/examples/functions/delete-deployment.md index e65380c501..339c0d60ce 100644 --- a/docs/examples/1.3.x/server-dart/examples/functions/delete-deployment.md +++ b/docs/examples/1.3.x/server-dart/examples/functions/delete-deployment.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/functions/delete-variable.md b/docs/examples/1.3.x/server-dart/examples/functions/delete-variable.md index 87c7f407b5..ad86ec73cb 100644 --- a/docs/examples/1.3.x/server-dart/examples/functions/delete-variable.md +++ b/docs/examples/1.3.x/server-dart/examples/functions/delete-variable.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/functions/delete.md b/docs/examples/1.3.x/server-dart/examples/functions/delete.md index 5163366912..276f7effa2 100644 --- a/docs/examples/1.3.x/server-dart/examples/functions/delete.md +++ b/docs/examples/1.3.x/server-dart/examples/functions/delete.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/functions/get-deployment.md b/docs/examples/1.3.x/server-dart/examples/functions/get-deployment.md index 9cab571e94..f46260a2ff 100644 --- a/docs/examples/1.3.x/server-dart/examples/functions/get-deployment.md +++ b/docs/examples/1.3.x/server-dart/examples/functions/get-deployment.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/functions/get-execution.md b/docs/examples/1.3.x/server-dart/examples/functions/get-execution.md index 6cadde6426..6749539306 100644 --- a/docs/examples/1.3.x/server-dart/examples/functions/get-execution.md +++ b/docs/examples/1.3.x/server-dart/examples/functions/get-execution.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/functions/get-variable.md b/docs/examples/1.3.x/server-dart/examples/functions/get-variable.md index 924bee2bff..7223c5add9 100644 --- a/docs/examples/1.3.x/server-dart/examples/functions/get-variable.md +++ b/docs/examples/1.3.x/server-dart/examples/functions/get-variable.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/functions/get.md b/docs/examples/1.3.x/server-dart/examples/functions/get.md index 503ab20709..1073d33b1a 100644 --- a/docs/examples/1.3.x/server-dart/examples/functions/get.md +++ b/docs/examples/1.3.x/server-dart/examples/functions/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/functions/list-deployments.md b/docs/examples/1.3.x/server-dart/examples/functions/list-deployments.md index b12f9eba87..d1b80ddd95 100644 --- a/docs/examples/1.3.x/server-dart/examples/functions/list-deployments.md +++ b/docs/examples/1.3.x/server-dart/examples/functions/list-deployments.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/functions/list-executions.md b/docs/examples/1.3.x/server-dart/examples/functions/list-executions.md index 3d66a4496a..255f38a299 100644 --- a/docs/examples/1.3.x/server-dart/examples/functions/list-executions.md +++ b/docs/examples/1.3.x/server-dart/examples/functions/list-executions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/functions/list-runtimes.md b/docs/examples/1.3.x/server-dart/examples/functions/list-runtimes.md index 091a1116f7..a91a501814 100644 --- a/docs/examples/1.3.x/server-dart/examples/functions/list-runtimes.md +++ b/docs/examples/1.3.x/server-dart/examples/functions/list-runtimes.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/functions/list-variables.md b/docs/examples/1.3.x/server-dart/examples/functions/list-variables.md index f3c6655b14..ea5e477987 100644 --- a/docs/examples/1.3.x/server-dart/examples/functions/list-variables.md +++ b/docs/examples/1.3.x/server-dart/examples/functions/list-variables.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/functions/list.md b/docs/examples/1.3.x/server-dart/examples/functions/list.md index 4f2b11404d..e5fde72144 100644 --- a/docs/examples/1.3.x/server-dart/examples/functions/list.md +++ b/docs/examples/1.3.x/server-dart/examples/functions/list.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/functions/update-deployment.md b/docs/examples/1.3.x/server-dart/examples/functions/update-deployment.md index d503aecb3b..cd9a57018a 100644 --- a/docs/examples/1.3.x/server-dart/examples/functions/update-deployment.md +++ b/docs/examples/1.3.x/server-dart/examples/functions/update-deployment.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/functions/update-variable.md b/docs/examples/1.3.x/server-dart/examples/functions/update-variable.md index 126d264470..d40a831970 100644 --- a/docs/examples/1.3.x/server-dart/examples/functions/update-variable.md +++ b/docs/examples/1.3.x/server-dart/examples/functions/update-variable.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/functions/update.md b/docs/examples/1.3.x/server-dart/examples/functions/update.md index 2b92f55387..bf36155e7e 100644 --- a/docs/examples/1.3.x/server-dart/examples/functions/update.md +++ b/docs/examples/1.3.x/server-dart/examples/functions/update.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/graphql/mutation.md b/docs/examples/1.3.x/server-dart/examples/graphql/mutation.md index 780ee09f4a..160c049dc2 100644 --- a/docs/examples/1.3.x/server-dart/examples/graphql/mutation.md +++ b/docs/examples/1.3.x/server-dart/examples/graphql/mutation.md @@ -5,7 +5,7 @@ void main() { // Init SDK Graphql graphql = Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/graphql/query.md b/docs/examples/1.3.x/server-dart/examples/graphql/query.md index 7f22f5360d..4191d3c271 100644 --- a/docs/examples/1.3.x/server-dart/examples/graphql/query.md +++ b/docs/examples/1.3.x/server-dart/examples/graphql/query.md @@ -5,7 +5,7 @@ void main() { // Init SDK Graphql graphql = Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/health/get-antivirus.md b/docs/examples/1.3.x/server-dart/examples/health/get-antivirus.md index 922dcfa136..7b8d638d8e 100644 --- a/docs/examples/1.3.x/server-dart/examples/health/get-antivirus.md +++ b/docs/examples/1.3.x/server-dart/examples/health/get-antivirus.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/health/get-cache.md b/docs/examples/1.3.x/server-dart/examples/health/get-cache.md index 4b63edeee3..08ea1370d1 100644 --- a/docs/examples/1.3.x/server-dart/examples/health/get-cache.md +++ b/docs/examples/1.3.x/server-dart/examples/health/get-cache.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/health/get-d-b.md b/docs/examples/1.3.x/server-dart/examples/health/get-d-b.md index 65188c096e..30cf5c928f 100644 --- a/docs/examples/1.3.x/server-dart/examples/health/get-d-b.md +++ b/docs/examples/1.3.x/server-dart/examples/health/get-d-b.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/health/get-queue-certificates.md b/docs/examples/1.3.x/server-dart/examples/health/get-queue-certificates.md index 4063ab3514..884c6b31f1 100644 --- a/docs/examples/1.3.x/server-dart/examples/health/get-queue-certificates.md +++ b/docs/examples/1.3.x/server-dart/examples/health/get-queue-certificates.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/health/get-queue-functions.md b/docs/examples/1.3.x/server-dart/examples/health/get-queue-functions.md index 5ebaad6484..048fce8d32 100644 --- a/docs/examples/1.3.x/server-dart/examples/health/get-queue-functions.md +++ b/docs/examples/1.3.x/server-dart/examples/health/get-queue-functions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/health/get-queue-logs.md b/docs/examples/1.3.x/server-dart/examples/health/get-queue-logs.md index 11a5285439..4219552857 100644 --- a/docs/examples/1.3.x/server-dart/examples/health/get-queue-logs.md +++ b/docs/examples/1.3.x/server-dart/examples/health/get-queue-logs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/health/get-queue-webhooks.md b/docs/examples/1.3.x/server-dart/examples/health/get-queue-webhooks.md index a43f5f8423..5b012125e1 100644 --- a/docs/examples/1.3.x/server-dart/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.3.x/server-dart/examples/health/get-queue-webhooks.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/health/get-storage-local.md b/docs/examples/1.3.x/server-dart/examples/health/get-storage-local.md index 4a586690fe..e85aac8e01 100644 --- a/docs/examples/1.3.x/server-dart/examples/health/get-storage-local.md +++ b/docs/examples/1.3.x/server-dart/examples/health/get-storage-local.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/health/get-time.md b/docs/examples/1.3.x/server-dart/examples/health/get-time.md index d8166dd3d1..716216e6db 100644 --- a/docs/examples/1.3.x/server-dart/examples/health/get-time.md +++ b/docs/examples/1.3.x/server-dart/examples/health/get-time.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/health/get.md b/docs/examples/1.3.x/server-dart/examples/health/get.md index 1be37e5a93..2ea2ea669e 100644 --- a/docs/examples/1.3.x/server-dart/examples/health/get.md +++ b/docs/examples/1.3.x/server-dart/examples/health/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/locale/get.md b/docs/examples/1.3.x/server-dart/examples/locale/get.md index 9ecb18c52d..a3ebf5cefd 100644 --- a/docs/examples/1.3.x/server-dart/examples/locale/get.md +++ b/docs/examples/1.3.x/server-dart/examples/locale/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/locale/list-continents.md b/docs/examples/1.3.x/server-dart/examples/locale/list-continents.md index e6849303b1..a74df54886 100644 --- a/docs/examples/1.3.x/server-dart/examples/locale/list-continents.md +++ b/docs/examples/1.3.x/server-dart/examples/locale/list-continents.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/locale/list-countries-e-u.md b/docs/examples/1.3.x/server-dart/examples/locale/list-countries-e-u.md index 2d1ddcf8f0..2a81d9afef 100644 --- a/docs/examples/1.3.x/server-dart/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.3.x/server-dart/examples/locale/list-countries-e-u.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/locale/list-countries-phones.md b/docs/examples/1.3.x/server-dart/examples/locale/list-countries-phones.md index 2305701339..2d1400a960 100644 --- a/docs/examples/1.3.x/server-dart/examples/locale/list-countries-phones.md +++ b/docs/examples/1.3.x/server-dart/examples/locale/list-countries-phones.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/locale/list-countries.md b/docs/examples/1.3.x/server-dart/examples/locale/list-countries.md index ef1158339f..b4d00e52e7 100644 --- a/docs/examples/1.3.x/server-dart/examples/locale/list-countries.md +++ b/docs/examples/1.3.x/server-dart/examples/locale/list-countries.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/locale/list-currencies.md b/docs/examples/1.3.x/server-dart/examples/locale/list-currencies.md index 0810f3dafb..2c46eee2b2 100644 --- a/docs/examples/1.3.x/server-dart/examples/locale/list-currencies.md +++ b/docs/examples/1.3.x/server-dart/examples/locale/list-currencies.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/locale/list-languages.md b/docs/examples/1.3.x/server-dart/examples/locale/list-languages.md index f3d642cc48..6d1f00219e 100644 --- a/docs/examples/1.3.x/server-dart/examples/locale/list-languages.md +++ b/docs/examples/1.3.x/server-dart/examples/locale/list-languages.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/storage/create-bucket.md b/docs/examples/1.3.x/server-dart/examples/storage/create-bucket.md index 745a6b508d..647d846e06 100644 --- a/docs/examples/1.3.x/server-dart/examples/storage/create-bucket.md +++ b/docs/examples/1.3.x/server-dart/examples/storage/create-bucket.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/storage/create-file.md b/docs/examples/1.3.x/server-dart/examples/storage/create-file.md index ab4c661a54..760c95dcfb 100644 --- a/docs/examples/1.3.x/server-dart/examples/storage/create-file.md +++ b/docs/examples/1.3.x/server-dart/examples/storage/create-file.md @@ -6,7 +6,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/storage/delete-bucket.md b/docs/examples/1.3.x/server-dart/examples/storage/delete-bucket.md index de516561bd..a7c7065ba8 100644 --- a/docs/examples/1.3.x/server-dart/examples/storage/delete-bucket.md +++ b/docs/examples/1.3.x/server-dart/examples/storage/delete-bucket.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/storage/delete-file.md b/docs/examples/1.3.x/server-dart/examples/storage/delete-file.md index 8e4460bb00..ddb297c6b7 100644 --- a/docs/examples/1.3.x/server-dart/examples/storage/delete-file.md +++ b/docs/examples/1.3.x/server-dart/examples/storage/delete-file.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/storage/get-bucket.md b/docs/examples/1.3.x/server-dart/examples/storage/get-bucket.md index 9e39076e35..26fec00cdf 100644 --- a/docs/examples/1.3.x/server-dart/examples/storage/get-bucket.md +++ b/docs/examples/1.3.x/server-dart/examples/storage/get-bucket.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/storage/get-file-download.md b/docs/examples/1.3.x/server-dart/examples/storage/get-file-download.md index 6534fe33ff..632612a285 100644 --- a/docs/examples/1.3.x/server-dart/examples/storage/get-file-download.md +++ b/docs/examples/1.3.x/server-dart/examples/storage/get-file-download.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/storage/get-file-preview.md b/docs/examples/1.3.x/server-dart/examples/storage/get-file-preview.md index ca16d635b2..70f55e3e26 100644 --- a/docs/examples/1.3.x/server-dart/examples/storage/get-file-preview.md +++ b/docs/examples/1.3.x/server-dart/examples/storage/get-file-preview.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/storage/get-file-view.md b/docs/examples/1.3.x/server-dart/examples/storage/get-file-view.md index 5c3d69dcbc..59176877b0 100644 --- a/docs/examples/1.3.x/server-dart/examples/storage/get-file-view.md +++ b/docs/examples/1.3.x/server-dart/examples/storage/get-file-view.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/storage/get-file.md b/docs/examples/1.3.x/server-dart/examples/storage/get-file.md index bc45c3f1e8..024b7fc63d 100644 --- a/docs/examples/1.3.x/server-dart/examples/storage/get-file.md +++ b/docs/examples/1.3.x/server-dart/examples/storage/get-file.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/storage/list-buckets.md b/docs/examples/1.3.x/server-dart/examples/storage/list-buckets.md index 6a35febb39..fb46523303 100644 --- a/docs/examples/1.3.x/server-dart/examples/storage/list-buckets.md +++ b/docs/examples/1.3.x/server-dart/examples/storage/list-buckets.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/storage/list-files.md b/docs/examples/1.3.x/server-dart/examples/storage/list-files.md index 40b8d3bce5..bfafeb0b0a 100644 --- a/docs/examples/1.3.x/server-dart/examples/storage/list-files.md +++ b/docs/examples/1.3.x/server-dart/examples/storage/list-files.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/storage/update-bucket.md b/docs/examples/1.3.x/server-dart/examples/storage/update-bucket.md index 064d2f2e37..3bdc11240f 100644 --- a/docs/examples/1.3.x/server-dart/examples/storage/update-bucket.md +++ b/docs/examples/1.3.x/server-dart/examples/storage/update-bucket.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/storage/update-file.md b/docs/examples/1.3.x/server-dart/examples/storage/update-file.md index 2fa999a558..4e0178e27d 100644 --- a/docs/examples/1.3.x/server-dart/examples/storage/update-file.md +++ b/docs/examples/1.3.x/server-dart/examples/storage/update-file.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/teams/create-membership.md b/docs/examples/1.3.x/server-dart/examples/teams/create-membership.md index 6a98fea0bd..f0f1961450 100644 --- a/docs/examples/1.3.x/server-dart/examples/teams/create-membership.md +++ b/docs/examples/1.3.x/server-dart/examples/teams/create-membership.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/teams/create.md b/docs/examples/1.3.x/server-dart/examples/teams/create.md index 74895b23a0..81c3a718d4 100644 --- a/docs/examples/1.3.x/server-dart/examples/teams/create.md +++ b/docs/examples/1.3.x/server-dart/examples/teams/create.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/teams/delete-membership.md b/docs/examples/1.3.x/server-dart/examples/teams/delete-membership.md index 8c135994d6..07d596a1b3 100644 --- a/docs/examples/1.3.x/server-dart/examples/teams/delete-membership.md +++ b/docs/examples/1.3.x/server-dart/examples/teams/delete-membership.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/teams/delete.md b/docs/examples/1.3.x/server-dart/examples/teams/delete.md index a5fee4d084..2505cdfacd 100644 --- a/docs/examples/1.3.x/server-dart/examples/teams/delete.md +++ b/docs/examples/1.3.x/server-dart/examples/teams/delete.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/teams/get-membership.md b/docs/examples/1.3.x/server-dart/examples/teams/get-membership.md index 4193b245f4..cf9d4b80a2 100644 --- a/docs/examples/1.3.x/server-dart/examples/teams/get-membership.md +++ b/docs/examples/1.3.x/server-dart/examples/teams/get-membership.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/teams/get-prefs.md b/docs/examples/1.3.x/server-dart/examples/teams/get-prefs.md index 27f2ef15ad..27608b6699 100644 --- a/docs/examples/1.3.x/server-dart/examples/teams/get-prefs.md +++ b/docs/examples/1.3.x/server-dart/examples/teams/get-prefs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-dart/examples/teams/get.md b/docs/examples/1.3.x/server-dart/examples/teams/get.md index daa67c4eb8..8dd731b1be 100644 --- a/docs/examples/1.3.x/server-dart/examples/teams/get.md +++ b/docs/examples/1.3.x/server-dart/examples/teams/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/teams/list-memberships.md b/docs/examples/1.3.x/server-dart/examples/teams/list-memberships.md index 74c66c0319..71cdf466cc 100644 --- a/docs/examples/1.3.x/server-dart/examples/teams/list-memberships.md +++ b/docs/examples/1.3.x/server-dart/examples/teams/list-memberships.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/teams/list.md b/docs/examples/1.3.x/server-dart/examples/teams/list.md index 11033f33da..7d5e4ebef7 100644 --- a/docs/examples/1.3.x/server-dart/examples/teams/list.md +++ b/docs/examples/1.3.x/server-dart/examples/teams/list.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/teams/update-membership-roles.md b/docs/examples/1.3.x/server-dart/examples/teams/update-membership-roles.md index dcbef5c948..8ede36ac64 100644 --- a/docs/examples/1.3.x/server-dart/examples/teams/update-membership-roles.md +++ b/docs/examples/1.3.x/server-dart/examples/teams/update-membership-roles.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/teams/update-membership-status.md b/docs/examples/1.3.x/server-dart/examples/teams/update-membership-status.md index ca704e0fdb..50f9693bf9 100644 --- a/docs/examples/1.3.x/server-dart/examples/teams/update-membership-status.md +++ b/docs/examples/1.3.x/server-dart/examples/teams/update-membership-status.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-dart/examples/teams/update-name.md b/docs/examples/1.3.x/server-dart/examples/teams/update-name.md index 088a5cfbe6..324b691d3d 100644 --- a/docs/examples/1.3.x/server-dart/examples/teams/update-name.md +++ b/docs/examples/1.3.x/server-dart/examples/teams/update-name.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/teams/update-prefs.md b/docs/examples/1.3.x/server-dart/examples/teams/update-prefs.md index d99e821759..5c9d518012 100644 --- a/docs/examples/1.3.x/server-dart/examples/teams/update-prefs.md +++ b/docs/examples/1.3.x/server-dart/examples/teams/update-prefs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-dart/examples/users/create-argon2user.md b/docs/examples/1.3.x/server-dart/examples/users/create-argon2user.md index a40b3afd55..d01e8c6931 100644 --- a/docs/examples/1.3.x/server-dart/examples/users/create-argon2user.md +++ b/docs/examples/1.3.x/server-dart/examples/users/create-argon2user.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/users/create-bcrypt-user.md b/docs/examples/1.3.x/server-dart/examples/users/create-bcrypt-user.md index 8b55d656b0..4685780b25 100644 --- a/docs/examples/1.3.x/server-dart/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.3.x/server-dart/examples/users/create-bcrypt-user.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/users/create-m-d5user.md b/docs/examples/1.3.x/server-dart/examples/users/create-m-d5user.md index 3ab8901f3c..20ac1948e7 100644 --- a/docs/examples/1.3.x/server-dart/examples/users/create-m-d5user.md +++ b/docs/examples/1.3.x/server-dart/examples/users/create-m-d5user.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/users/create-p-h-pass-user.md b/docs/examples/1.3.x/server-dart/examples/users/create-p-h-pass-user.md index bedb44f4c2..0294339d64 100644 --- a/docs/examples/1.3.x/server-dart/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.3.x/server-dart/examples/users/create-p-h-pass-user.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/users/create-s-h-a-user.md b/docs/examples/1.3.x/server-dart/examples/users/create-s-h-a-user.md index 361f309a37..21c4461cdc 100644 --- a/docs/examples/1.3.x/server-dart/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.3.x/server-dart/examples/users/create-s-h-a-user.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/users/create-scrypt-modified-user.md b/docs/examples/1.3.x/server-dart/examples/users/create-scrypt-modified-user.md index fa5b80519e..9d95641d76 100644 --- a/docs/examples/1.3.x/server-dart/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.3.x/server-dart/examples/users/create-scrypt-modified-user.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/users/create-scrypt-user.md b/docs/examples/1.3.x/server-dart/examples/users/create-scrypt-user.md index 91e1f7dc6d..0a586407dc 100644 --- a/docs/examples/1.3.x/server-dart/examples/users/create-scrypt-user.md +++ b/docs/examples/1.3.x/server-dart/examples/users/create-scrypt-user.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/users/create.md b/docs/examples/1.3.x/server-dart/examples/users/create.md index 517cd22fcb..a841df0e27 100644 --- a/docs/examples/1.3.x/server-dart/examples/users/create.md +++ b/docs/examples/1.3.x/server-dart/examples/users/create.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/users/delete-session.md b/docs/examples/1.3.x/server-dart/examples/users/delete-session.md index 3f7611873e..f1432677ed 100644 --- a/docs/examples/1.3.x/server-dart/examples/users/delete-session.md +++ b/docs/examples/1.3.x/server-dart/examples/users/delete-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/users/delete-sessions.md b/docs/examples/1.3.x/server-dart/examples/users/delete-sessions.md index 69cbc5e8d5..82a71188ce 100644 --- a/docs/examples/1.3.x/server-dart/examples/users/delete-sessions.md +++ b/docs/examples/1.3.x/server-dart/examples/users/delete-sessions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/users/delete.md b/docs/examples/1.3.x/server-dart/examples/users/delete.md index 1e1311d5d9..351686fe58 100644 --- a/docs/examples/1.3.x/server-dart/examples/users/delete.md +++ b/docs/examples/1.3.x/server-dart/examples/users/delete.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/users/get-prefs.md b/docs/examples/1.3.x/server-dart/examples/users/get-prefs.md index eb33ae656c..cff91fa59b 100644 --- a/docs/examples/1.3.x/server-dart/examples/users/get-prefs.md +++ b/docs/examples/1.3.x/server-dart/examples/users/get-prefs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/users/get.md b/docs/examples/1.3.x/server-dart/examples/users/get.md index c56852934c..e2a24afd9a 100644 --- a/docs/examples/1.3.x/server-dart/examples/users/get.md +++ b/docs/examples/1.3.x/server-dart/examples/users/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/users/list-logs.md b/docs/examples/1.3.x/server-dart/examples/users/list-logs.md index 0d2143ad48..44a5e13ea4 100644 --- a/docs/examples/1.3.x/server-dart/examples/users/list-logs.md +++ b/docs/examples/1.3.x/server-dart/examples/users/list-logs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/users/list-memberships.md b/docs/examples/1.3.x/server-dart/examples/users/list-memberships.md index 36a83edec0..398e7ceee8 100644 --- a/docs/examples/1.3.x/server-dart/examples/users/list-memberships.md +++ b/docs/examples/1.3.x/server-dart/examples/users/list-memberships.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/users/list-sessions.md b/docs/examples/1.3.x/server-dart/examples/users/list-sessions.md index 5f77fdbfa7..eeac7b8d4b 100644 --- a/docs/examples/1.3.x/server-dart/examples/users/list-sessions.md +++ b/docs/examples/1.3.x/server-dart/examples/users/list-sessions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/users/list.md b/docs/examples/1.3.x/server-dart/examples/users/list.md index 34498c00ac..ef91b2db4a 100644 --- a/docs/examples/1.3.x/server-dart/examples/users/list.md +++ b/docs/examples/1.3.x/server-dart/examples/users/list.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/users/update-email-verification.md b/docs/examples/1.3.x/server-dart/examples/users/update-email-verification.md index 8853f86529..7de1325744 100644 --- a/docs/examples/1.3.x/server-dart/examples/users/update-email-verification.md +++ b/docs/examples/1.3.x/server-dart/examples/users/update-email-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/users/update-email.md b/docs/examples/1.3.x/server-dart/examples/users/update-email.md index 8813e1101f..589bf93d31 100644 --- a/docs/examples/1.3.x/server-dart/examples/users/update-email.md +++ b/docs/examples/1.3.x/server-dart/examples/users/update-email.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/users/update-name.md b/docs/examples/1.3.x/server-dart/examples/users/update-name.md index 56797d585c..a3a0c84bbb 100644 --- a/docs/examples/1.3.x/server-dart/examples/users/update-name.md +++ b/docs/examples/1.3.x/server-dart/examples/users/update-name.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/users/update-password.md b/docs/examples/1.3.x/server-dart/examples/users/update-password.md index 3dfedb4d4b..bf99d92746 100644 --- a/docs/examples/1.3.x/server-dart/examples/users/update-password.md +++ b/docs/examples/1.3.x/server-dart/examples/users/update-password.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/users/update-phone-verification.md b/docs/examples/1.3.x/server-dart/examples/users/update-phone-verification.md index 37c3ced608..0ef13f5b03 100644 --- a/docs/examples/1.3.x/server-dart/examples/users/update-phone-verification.md +++ b/docs/examples/1.3.x/server-dart/examples/users/update-phone-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/users/update-phone.md b/docs/examples/1.3.x/server-dart/examples/users/update-phone.md index 4d5e311078..f512af071e 100644 --- a/docs/examples/1.3.x/server-dart/examples/users/update-phone.md +++ b/docs/examples/1.3.x/server-dart/examples/users/update-phone.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/users/update-prefs.md b/docs/examples/1.3.x/server-dart/examples/users/update-prefs.md index c6c1bbedff..a2f0aea8fe 100644 --- a/docs/examples/1.3.x/server-dart/examples/users/update-prefs.md +++ b/docs/examples/1.3.x/server-dart/examples/users/update-prefs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dart/examples/users/update-status.md b/docs/examples/1.3.x/server-dart/examples/users/update-status.md index 6f80745a7a..32fa9019eb 100644 --- a/docs/examples/1.3.x/server-dart/examples/users/update-status.md +++ b/docs/examples/1.3.x/server-dart/examples/users/update-status.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/account/create-phone-verification.md b/docs/examples/1.3.x/server-deno/examples/account/create-phone-verification.md index fe765887cc..aa9969c9a0 100644 --- a/docs/examples/1.3.x/server-deno/examples/account/create-phone-verification.md +++ b/docs/examples/1.3.x/server-deno/examples/account/create-phone-verification.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-deno/examples/account/create-recovery.md b/docs/examples/1.3.x/server-deno/examples/account/create-recovery.md index e5adb2a78b..ca4ef25810 100644 --- a/docs/examples/1.3.x/server-deno/examples/account/create-recovery.md +++ b/docs/examples/1.3.x/server-deno/examples/account/create-recovery.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-deno/examples/account/create-verification.md b/docs/examples/1.3.x/server-deno/examples/account/create-verification.md index 5861278e70..89810ec730 100644 --- a/docs/examples/1.3.x/server-deno/examples/account/create-verification.md +++ b/docs/examples/1.3.x/server-deno/examples/account/create-verification.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-deno/examples/account/delete-session.md b/docs/examples/1.3.x/server-deno/examples/account/delete-session.md index 22417acb98..969445ca5e 100644 --- a/docs/examples/1.3.x/server-deno/examples/account/delete-session.md +++ b/docs/examples/1.3.x/server-deno/examples/account/delete-session.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-deno/examples/account/delete-sessions.md b/docs/examples/1.3.x/server-deno/examples/account/delete-sessions.md index 2a82bd9566..ad5dcb1200 100644 --- a/docs/examples/1.3.x/server-deno/examples/account/delete-sessions.md +++ b/docs/examples/1.3.x/server-deno/examples/account/delete-sessions.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-deno/examples/account/get-prefs.md b/docs/examples/1.3.x/server-deno/examples/account/get-prefs.md index c9645d0fe1..4b413ec368 100644 --- a/docs/examples/1.3.x/server-deno/examples/account/get-prefs.md +++ b/docs/examples/1.3.x/server-deno/examples/account/get-prefs.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-deno/examples/account/get-session.md b/docs/examples/1.3.x/server-deno/examples/account/get-session.md index f2c1c94469..b39704a72f 100644 --- a/docs/examples/1.3.x/server-deno/examples/account/get-session.md +++ b/docs/examples/1.3.x/server-deno/examples/account/get-session.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-deno/examples/account/get.md b/docs/examples/1.3.x/server-deno/examples/account/get.md index 03b22307ac..d3a7a9b8e3 100644 --- a/docs/examples/1.3.x/server-deno/examples/account/get.md +++ b/docs/examples/1.3.x/server-deno/examples/account/get.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-deno/examples/account/list-logs.md b/docs/examples/1.3.x/server-deno/examples/account/list-logs.md index fb79304101..4609c8e3b6 100644 --- a/docs/examples/1.3.x/server-deno/examples/account/list-logs.md +++ b/docs/examples/1.3.x/server-deno/examples/account/list-logs.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-deno/examples/account/list-sessions.md b/docs/examples/1.3.x/server-deno/examples/account/list-sessions.md index 32a7cfa09a..498590452f 100644 --- a/docs/examples/1.3.x/server-deno/examples/account/list-sessions.md +++ b/docs/examples/1.3.x/server-deno/examples/account/list-sessions.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-deno/examples/account/update-email.md b/docs/examples/1.3.x/server-deno/examples/account/update-email.md index 26906d7eed..c92ca4dc23 100644 --- a/docs/examples/1.3.x/server-deno/examples/account/update-email.md +++ b/docs/examples/1.3.x/server-deno/examples/account/update-email.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-deno/examples/account/update-name.md b/docs/examples/1.3.x/server-deno/examples/account/update-name.md index b1a351216f..2e52634e21 100644 --- a/docs/examples/1.3.x/server-deno/examples/account/update-name.md +++ b/docs/examples/1.3.x/server-deno/examples/account/update-name.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-deno/examples/account/update-password.md b/docs/examples/1.3.x/server-deno/examples/account/update-password.md index a271dfe7e6..0a2e2b5b0f 100644 --- a/docs/examples/1.3.x/server-deno/examples/account/update-password.md +++ b/docs/examples/1.3.x/server-deno/examples/account/update-password.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-deno/examples/account/update-phone-verification.md b/docs/examples/1.3.x/server-deno/examples/account/update-phone-verification.md index 064252a328..a7b6e4670d 100644 --- a/docs/examples/1.3.x/server-deno/examples/account/update-phone-verification.md +++ b/docs/examples/1.3.x/server-deno/examples/account/update-phone-verification.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-deno/examples/account/update-phone.md b/docs/examples/1.3.x/server-deno/examples/account/update-phone.md index e023424f9e..0d1bfcc93a 100644 --- a/docs/examples/1.3.x/server-deno/examples/account/update-phone.md +++ b/docs/examples/1.3.x/server-deno/examples/account/update-phone.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-deno/examples/account/update-prefs.md b/docs/examples/1.3.x/server-deno/examples/account/update-prefs.md index 4a6ca88ae8..472f53dd47 100644 --- a/docs/examples/1.3.x/server-deno/examples/account/update-prefs.md +++ b/docs/examples/1.3.x/server-deno/examples/account/update-prefs.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-deno/examples/account/update-recovery.md b/docs/examples/1.3.x/server-deno/examples/account/update-recovery.md index 06916bb278..ee1546f131 100644 --- a/docs/examples/1.3.x/server-deno/examples/account/update-recovery.md +++ b/docs/examples/1.3.x/server-deno/examples/account/update-recovery.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-deno/examples/account/update-session.md b/docs/examples/1.3.x/server-deno/examples/account/update-session.md index 23a7ad2cf6..310a713745 100644 --- a/docs/examples/1.3.x/server-deno/examples/account/update-session.md +++ b/docs/examples/1.3.x/server-deno/examples/account/update-session.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-deno/examples/account/update-status.md b/docs/examples/1.3.x/server-deno/examples/account/update-status.md index 6b9b18981b..40c921be3e 100644 --- a/docs/examples/1.3.x/server-deno/examples/account/update-status.md +++ b/docs/examples/1.3.x/server-deno/examples/account/update-status.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-deno/examples/account/update-verification.md b/docs/examples/1.3.x/server-deno/examples/account/update-verification.md index c11f2b71c1..db4febb20f 100644 --- a/docs/examples/1.3.x/server-deno/examples/account/update-verification.md +++ b/docs/examples/1.3.x/server-deno/examples/account/update-verification.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-deno/examples/avatars/get-browser.md b/docs/examples/1.3.x/server-deno/examples/avatars/get-browser.md index 44c946e4d7..317dc75331 100644 --- a/docs/examples/1.3.x/server-deno/examples/avatars/get-browser.md +++ b/docs/examples/1.3.x/server-deno/examples/avatars/get-browser.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/avatars/get-credit-card.md b/docs/examples/1.3.x/server-deno/examples/avatars/get-credit-card.md index 0f44982738..584c580559 100644 --- a/docs/examples/1.3.x/server-deno/examples/avatars/get-credit-card.md +++ b/docs/examples/1.3.x/server-deno/examples/avatars/get-credit-card.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/avatars/get-favicon.md b/docs/examples/1.3.x/server-deno/examples/avatars/get-favicon.md index f0a539b5fc..d387cc2b7e 100644 --- a/docs/examples/1.3.x/server-deno/examples/avatars/get-favicon.md +++ b/docs/examples/1.3.x/server-deno/examples/avatars/get-favicon.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/avatars/get-flag.md b/docs/examples/1.3.x/server-deno/examples/avatars/get-flag.md index c7593aee1e..03fa737ef2 100644 --- a/docs/examples/1.3.x/server-deno/examples/avatars/get-flag.md +++ b/docs/examples/1.3.x/server-deno/examples/avatars/get-flag.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/avatars/get-image.md b/docs/examples/1.3.x/server-deno/examples/avatars/get-image.md index 6e86307a5f..7dd33398b6 100644 --- a/docs/examples/1.3.x/server-deno/examples/avatars/get-image.md +++ b/docs/examples/1.3.x/server-deno/examples/avatars/get-image.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/avatars/get-initials.md b/docs/examples/1.3.x/server-deno/examples/avatars/get-initials.md index 2adba9e971..4054ecee99 100644 --- a/docs/examples/1.3.x/server-deno/examples/avatars/get-initials.md +++ b/docs/examples/1.3.x/server-deno/examples/avatars/get-initials.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/avatars/get-q-r.md b/docs/examples/1.3.x/server-deno/examples/avatars/get-q-r.md index 2c5faf0112..f239919e05 100644 --- a/docs/examples/1.3.x/server-deno/examples/avatars/get-q-r.md +++ b/docs/examples/1.3.x/server-deno/examples/avatars/get-q-r.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/create-boolean-attribute.md b/docs/examples/1.3.x/server-deno/examples/databases/create-boolean-attribute.md index 81b66771ff..3a06b123a0 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/create-boolean-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/create-collection.md b/docs/examples/1.3.x/server-deno/examples/databases/create-collection.md index 5d59286e3c..c65a13e237 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/create-collection.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/create-collection.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/create-datetime-attribute.md b/docs/examples/1.3.x/server-deno/examples/databases/create-datetime-attribute.md index c2c4eb8185..ee4fdb9253 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/create-datetime-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/create-document.md b/docs/examples/1.3.x/server-deno/examples/databases/create-document.md index d38818c164..b746f3d3f3 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/create-document.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/create-document.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/create-email-attribute.md b/docs/examples/1.3.x/server-deno/examples/databases/create-email-attribute.md index 4952625bfc..918ed10cbc 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/create-email-attribute.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/create-email-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/create-enum-attribute.md b/docs/examples/1.3.x/server-deno/examples/databases/create-enum-attribute.md index d00274d616..79cca97c50 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/create-enum-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/create-float-attribute.md b/docs/examples/1.3.x/server-deno/examples/databases/create-float-attribute.md index c2b056fd1b..a61df747b3 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/create-float-attribute.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/create-float-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/create-index.md b/docs/examples/1.3.x/server-deno/examples/databases/create-index.md index bfde8e3fb5..0d238068aa 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/create-index.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/create-index.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/create-integer-attribute.md b/docs/examples/1.3.x/server-deno/examples/databases/create-integer-attribute.md index 2a36f413e5..fec9ed6835 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/create-integer-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/create-ip-attribute.md b/docs/examples/1.3.x/server-deno/examples/databases/create-ip-attribute.md index 19180d6ac0..858450d499 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/create-ip-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/create-relationship-attribute.md b/docs/examples/1.3.x/server-deno/examples/databases/create-relationship-attribute.md index e613a6f596..787a24c665 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/create-relationship-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/create-string-attribute.md b/docs/examples/1.3.x/server-deno/examples/databases/create-string-attribute.md index f3b0a36923..82383ccc76 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/create-string-attribute.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/create-string-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/create-url-attribute.md b/docs/examples/1.3.x/server-deno/examples/databases/create-url-attribute.md index 488751adff..f556724dca 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/create-url-attribute.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/create-url-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/create.md b/docs/examples/1.3.x/server-deno/examples/databases/create.md index ea1ebb6460..d8747a01ae 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/create.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/create.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/delete-attribute.md b/docs/examples/1.3.x/server-deno/examples/databases/delete-attribute.md index e6fe0823f2..fd3fca65ef 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/delete-attribute.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/delete-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/delete-collection.md b/docs/examples/1.3.x/server-deno/examples/databases/delete-collection.md index 970602ac28..5f0599b7ec 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/delete-collection.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/delete-collection.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/delete-document.md b/docs/examples/1.3.x/server-deno/examples/databases/delete-document.md index 1a23e03e27..7c1ed710f4 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/delete-document.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/delete-document.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/delete-index.md b/docs/examples/1.3.x/server-deno/examples/databases/delete-index.md index 8a6050522a..c25eb4a7fc 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/delete-index.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/delete-index.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/delete.md b/docs/examples/1.3.x/server-deno/examples/databases/delete.md index b735eccdbe..817dcd0dd0 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/delete.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/delete.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/get-attribute.md b/docs/examples/1.3.x/server-deno/examples/databases/get-attribute.md index 1ec9957b5e..cf5aa9ca1e 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/get-attribute.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/get-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/get-collection.md b/docs/examples/1.3.x/server-deno/examples/databases/get-collection.md index bf471e3b36..8973f9e8aa 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/get-collection.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/get-collection.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/get-document.md b/docs/examples/1.3.x/server-deno/examples/databases/get-document.md index a7248d0641..e02b9c8f4b 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/get-document.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/get-document.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/get-index.md b/docs/examples/1.3.x/server-deno/examples/databases/get-index.md index c1fe00cb65..443b06883c 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/get-index.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/get-index.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/get.md b/docs/examples/1.3.x/server-deno/examples/databases/get.md index 46df3aad22..a8ea62a552 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/get.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/get.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/list-attributes.md b/docs/examples/1.3.x/server-deno/examples/databases/list-attributes.md index f2b21141b3..7ee93a5ac0 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/list-attributes.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/list-attributes.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/list-collections.md b/docs/examples/1.3.x/server-deno/examples/databases/list-collections.md index 83e4ee951f..7cdf106ab1 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/list-collections.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/list-collections.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/list-documents.md b/docs/examples/1.3.x/server-deno/examples/databases/list-documents.md index c7db17efb5..9c3cd7097e 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/list-documents.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/list-documents.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/list-indexes.md b/docs/examples/1.3.x/server-deno/examples/databases/list-indexes.md index 69c412b99d..8fbba4a323 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/list-indexes.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/list-indexes.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/list.md b/docs/examples/1.3.x/server-deno/examples/databases/list.md index 8bb75110ec..84ec9927ac 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/list.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/list.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/update-boolean-attribute.md b/docs/examples/1.3.x/server-deno/examples/databases/update-boolean-attribute.md index c8b55b77e5..bc5c976286 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/update-boolean-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/update-collection.md b/docs/examples/1.3.x/server-deno/examples/databases/update-collection.md index f81f46e7f4..234b4c68cf 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/update-collection.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/update-collection.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/update-datetime-attribute.md b/docs/examples/1.3.x/server-deno/examples/databases/update-datetime-attribute.md index 25549b4ed2..a7fce2f168 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/update-datetime-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/update-document.md b/docs/examples/1.3.x/server-deno/examples/databases/update-document.md index 9964fdb6eb..78c984aae4 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/update-document.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/update-document.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/update-email-attribute.md b/docs/examples/1.3.x/server-deno/examples/databases/update-email-attribute.md index 78d2403cd8..679b9971bb 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/update-email-attribute.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/update-email-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/update-enum-attribute.md b/docs/examples/1.3.x/server-deno/examples/databases/update-enum-attribute.md index f47b96fc53..eb04ead02e 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/update-enum-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/update-float-attribute.md b/docs/examples/1.3.x/server-deno/examples/databases/update-float-attribute.md index 62df38cddc..882beff1ca 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/update-float-attribute.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/update-float-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/update-integer-attribute.md b/docs/examples/1.3.x/server-deno/examples/databases/update-integer-attribute.md index 001671eda1..85eefe4eee 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/update-integer-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/update-ip-attribute.md b/docs/examples/1.3.x/server-deno/examples/databases/update-ip-attribute.md index 8ee0d5c80a..bc98ddfec2 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/update-ip-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/update-relationship-attribute.md b/docs/examples/1.3.x/server-deno/examples/databases/update-relationship-attribute.md index c12a64a9dc..fa8f36e995 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/update-relationship-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/update-string-attribute.md b/docs/examples/1.3.x/server-deno/examples/databases/update-string-attribute.md index ab77495e23..b166e1f621 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/update-string-attribute.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/update-string-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/update-url-attribute.md b/docs/examples/1.3.x/server-deno/examples/databases/update-url-attribute.md index c9ab818c80..1c2411f4d1 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/update-url-attribute.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/update-url-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/databases/update.md b/docs/examples/1.3.x/server-deno/examples/databases/update.md index 64886a697b..c60c249973 100644 --- a/docs/examples/1.3.x/server-deno/examples/databases/update.md +++ b/docs/examples/1.3.x/server-deno/examples/databases/update.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/functions/create-build.md b/docs/examples/1.3.x/server-deno/examples/functions/create-build.md index 28d10105e3..ffa1906b0a 100644 --- a/docs/examples/1.3.x/server-deno/examples/functions/create-build.md +++ b/docs/examples/1.3.x/server-deno/examples/functions/create-build.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/functions/create-deployment.md b/docs/examples/1.3.x/server-deno/examples/functions/create-deployment.md index 005644b62e..e663cf473a 100644 --- a/docs/examples/1.3.x/server-deno/examples/functions/create-deployment.md +++ b/docs/examples/1.3.x/server-deno/examples/functions/create-deployment.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/functions/create-execution.md b/docs/examples/1.3.x/server-deno/examples/functions/create-execution.md index 6ec920ef9d..a24cc942b5 100644 --- a/docs/examples/1.3.x/server-deno/examples/functions/create-execution.md +++ b/docs/examples/1.3.x/server-deno/examples/functions/create-execution.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/functions/create-variable.md b/docs/examples/1.3.x/server-deno/examples/functions/create-variable.md index 375ef8b7a6..6de4953eec 100644 --- a/docs/examples/1.3.x/server-deno/examples/functions/create-variable.md +++ b/docs/examples/1.3.x/server-deno/examples/functions/create-variable.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/functions/create.md b/docs/examples/1.3.x/server-deno/examples/functions/create.md index 0c5ff2ce5f..f25476d100 100644 --- a/docs/examples/1.3.x/server-deno/examples/functions/create.md +++ b/docs/examples/1.3.x/server-deno/examples/functions/create.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/functions/delete-deployment.md b/docs/examples/1.3.x/server-deno/examples/functions/delete-deployment.md index 7b6468bb06..b1f280fb13 100644 --- a/docs/examples/1.3.x/server-deno/examples/functions/delete-deployment.md +++ b/docs/examples/1.3.x/server-deno/examples/functions/delete-deployment.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/functions/delete-variable.md b/docs/examples/1.3.x/server-deno/examples/functions/delete-variable.md index 16bf385a4c..012f353540 100644 --- a/docs/examples/1.3.x/server-deno/examples/functions/delete-variable.md +++ b/docs/examples/1.3.x/server-deno/examples/functions/delete-variable.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/functions/delete.md b/docs/examples/1.3.x/server-deno/examples/functions/delete.md index 48ec374bf2..ac801878c8 100644 --- a/docs/examples/1.3.x/server-deno/examples/functions/delete.md +++ b/docs/examples/1.3.x/server-deno/examples/functions/delete.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/functions/get-deployment.md b/docs/examples/1.3.x/server-deno/examples/functions/get-deployment.md index 854f3897d9..eef2d306ec 100644 --- a/docs/examples/1.3.x/server-deno/examples/functions/get-deployment.md +++ b/docs/examples/1.3.x/server-deno/examples/functions/get-deployment.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/functions/get-execution.md b/docs/examples/1.3.x/server-deno/examples/functions/get-execution.md index 42bcdfbfdf..cfb4ef09dc 100644 --- a/docs/examples/1.3.x/server-deno/examples/functions/get-execution.md +++ b/docs/examples/1.3.x/server-deno/examples/functions/get-execution.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/functions/get-variable.md b/docs/examples/1.3.x/server-deno/examples/functions/get-variable.md index 2b4190e0a6..9881efcb03 100644 --- a/docs/examples/1.3.x/server-deno/examples/functions/get-variable.md +++ b/docs/examples/1.3.x/server-deno/examples/functions/get-variable.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/functions/get.md b/docs/examples/1.3.x/server-deno/examples/functions/get.md index 388958232a..f511f59452 100644 --- a/docs/examples/1.3.x/server-deno/examples/functions/get.md +++ b/docs/examples/1.3.x/server-deno/examples/functions/get.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/functions/list-deployments.md b/docs/examples/1.3.x/server-deno/examples/functions/list-deployments.md index e84bb9cc09..cdd0ae775a 100644 --- a/docs/examples/1.3.x/server-deno/examples/functions/list-deployments.md +++ b/docs/examples/1.3.x/server-deno/examples/functions/list-deployments.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/functions/list-executions.md b/docs/examples/1.3.x/server-deno/examples/functions/list-executions.md index aadd19f1ce..fcc47f2dcd 100644 --- a/docs/examples/1.3.x/server-deno/examples/functions/list-executions.md +++ b/docs/examples/1.3.x/server-deno/examples/functions/list-executions.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/functions/list-runtimes.md b/docs/examples/1.3.x/server-deno/examples/functions/list-runtimes.md index 6fc7570b3a..b45ec8f223 100644 --- a/docs/examples/1.3.x/server-deno/examples/functions/list-runtimes.md +++ b/docs/examples/1.3.x/server-deno/examples/functions/list-runtimes.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/functions/list-variables.md b/docs/examples/1.3.x/server-deno/examples/functions/list-variables.md index 44a9828a67..f9f241fee3 100644 --- a/docs/examples/1.3.x/server-deno/examples/functions/list-variables.md +++ b/docs/examples/1.3.x/server-deno/examples/functions/list-variables.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/functions/list.md b/docs/examples/1.3.x/server-deno/examples/functions/list.md index 7c82760a39..cadecd7fc1 100644 --- a/docs/examples/1.3.x/server-deno/examples/functions/list.md +++ b/docs/examples/1.3.x/server-deno/examples/functions/list.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/functions/update-deployment.md b/docs/examples/1.3.x/server-deno/examples/functions/update-deployment.md index 94be560a2d..4d1bda6363 100644 --- a/docs/examples/1.3.x/server-deno/examples/functions/update-deployment.md +++ b/docs/examples/1.3.x/server-deno/examples/functions/update-deployment.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/functions/update-variable.md b/docs/examples/1.3.x/server-deno/examples/functions/update-variable.md index 1a318f1eba..bcdde06c9a 100644 --- a/docs/examples/1.3.x/server-deno/examples/functions/update-variable.md +++ b/docs/examples/1.3.x/server-deno/examples/functions/update-variable.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/functions/update.md b/docs/examples/1.3.x/server-deno/examples/functions/update.md index 8ed2663ba7..9b60b79afe 100644 --- a/docs/examples/1.3.x/server-deno/examples/functions/update.md +++ b/docs/examples/1.3.x/server-deno/examples/functions/update.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/graphql/mutation.md b/docs/examples/1.3.x/server-deno/examples/graphql/mutation.md index 87beeabce6..f95cdc771d 100644 --- a/docs/examples/1.3.x/server-deno/examples/graphql/mutation.md +++ b/docs/examples/1.3.x/server-deno/examples/graphql/mutation.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let graphql = new sdk.Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/graphql/query.md b/docs/examples/1.3.x/server-deno/examples/graphql/query.md index d2eec0a8db..27930bde4d 100644 --- a/docs/examples/1.3.x/server-deno/examples/graphql/query.md +++ b/docs/examples/1.3.x/server-deno/examples/graphql/query.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let graphql = new sdk.Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/health/get-antivirus.md b/docs/examples/1.3.x/server-deno/examples/health/get-antivirus.md index 8d51808536..7bee35a127 100644 --- a/docs/examples/1.3.x/server-deno/examples/health/get-antivirus.md +++ b/docs/examples/1.3.x/server-deno/examples/health/get-antivirus.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/health/get-cache.md b/docs/examples/1.3.x/server-deno/examples/health/get-cache.md index cafc3018c0..12dfbb1b2d 100644 --- a/docs/examples/1.3.x/server-deno/examples/health/get-cache.md +++ b/docs/examples/1.3.x/server-deno/examples/health/get-cache.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/health/get-d-b.md b/docs/examples/1.3.x/server-deno/examples/health/get-d-b.md index a000535051..73ac2931fb 100644 --- a/docs/examples/1.3.x/server-deno/examples/health/get-d-b.md +++ b/docs/examples/1.3.x/server-deno/examples/health/get-d-b.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/health/get-queue-certificates.md b/docs/examples/1.3.x/server-deno/examples/health/get-queue-certificates.md index 49dab6b2e6..ea90355ec9 100644 --- a/docs/examples/1.3.x/server-deno/examples/health/get-queue-certificates.md +++ b/docs/examples/1.3.x/server-deno/examples/health/get-queue-certificates.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/health/get-queue-functions.md b/docs/examples/1.3.x/server-deno/examples/health/get-queue-functions.md index 74f458b9fe..e95a602059 100644 --- a/docs/examples/1.3.x/server-deno/examples/health/get-queue-functions.md +++ b/docs/examples/1.3.x/server-deno/examples/health/get-queue-functions.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/health/get-queue-logs.md b/docs/examples/1.3.x/server-deno/examples/health/get-queue-logs.md index 98948b9de6..457c2689ec 100644 --- a/docs/examples/1.3.x/server-deno/examples/health/get-queue-logs.md +++ b/docs/examples/1.3.x/server-deno/examples/health/get-queue-logs.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/health/get-queue-webhooks.md b/docs/examples/1.3.x/server-deno/examples/health/get-queue-webhooks.md index 7b45c189cc..87af736da8 100644 --- a/docs/examples/1.3.x/server-deno/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.3.x/server-deno/examples/health/get-queue-webhooks.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/health/get-storage-local.md b/docs/examples/1.3.x/server-deno/examples/health/get-storage-local.md index 4c45d89aca..31f708e88a 100644 --- a/docs/examples/1.3.x/server-deno/examples/health/get-storage-local.md +++ b/docs/examples/1.3.x/server-deno/examples/health/get-storage-local.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/health/get-time.md b/docs/examples/1.3.x/server-deno/examples/health/get-time.md index 6a66a10a05..69c73045a9 100644 --- a/docs/examples/1.3.x/server-deno/examples/health/get-time.md +++ b/docs/examples/1.3.x/server-deno/examples/health/get-time.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/health/get.md b/docs/examples/1.3.x/server-deno/examples/health/get.md index 0b9af9dd15..6afe71a315 100644 --- a/docs/examples/1.3.x/server-deno/examples/health/get.md +++ b/docs/examples/1.3.x/server-deno/examples/health/get.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/locale/get.md b/docs/examples/1.3.x/server-deno/examples/locale/get.md index 22b9a62655..f9f015cfb9 100644 --- a/docs/examples/1.3.x/server-deno/examples/locale/get.md +++ b/docs/examples/1.3.x/server-deno/examples/locale/get.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/locale/list-continents.md b/docs/examples/1.3.x/server-deno/examples/locale/list-continents.md index bd69f43a61..dd42b1957f 100644 --- a/docs/examples/1.3.x/server-deno/examples/locale/list-continents.md +++ b/docs/examples/1.3.x/server-deno/examples/locale/list-continents.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/locale/list-countries-e-u.md b/docs/examples/1.3.x/server-deno/examples/locale/list-countries-e-u.md index 3d3b7b492a..597edd6f92 100644 --- a/docs/examples/1.3.x/server-deno/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.3.x/server-deno/examples/locale/list-countries-e-u.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/locale/list-countries-phones.md b/docs/examples/1.3.x/server-deno/examples/locale/list-countries-phones.md index bc9e1754ad..f3e27aa152 100644 --- a/docs/examples/1.3.x/server-deno/examples/locale/list-countries-phones.md +++ b/docs/examples/1.3.x/server-deno/examples/locale/list-countries-phones.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/locale/list-countries.md b/docs/examples/1.3.x/server-deno/examples/locale/list-countries.md index 0790270371..3d65b3c71c 100644 --- a/docs/examples/1.3.x/server-deno/examples/locale/list-countries.md +++ b/docs/examples/1.3.x/server-deno/examples/locale/list-countries.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/locale/list-currencies.md b/docs/examples/1.3.x/server-deno/examples/locale/list-currencies.md index e040312fef..ae0fad6e0b 100644 --- a/docs/examples/1.3.x/server-deno/examples/locale/list-currencies.md +++ b/docs/examples/1.3.x/server-deno/examples/locale/list-currencies.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/locale/list-languages.md b/docs/examples/1.3.x/server-deno/examples/locale/list-languages.md index be5af4d50c..792a0e8a43 100644 --- a/docs/examples/1.3.x/server-deno/examples/locale/list-languages.md +++ b/docs/examples/1.3.x/server-deno/examples/locale/list-languages.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/storage/create-bucket.md b/docs/examples/1.3.x/server-deno/examples/storage/create-bucket.md index a25211a1c7..4a2460216b 100644 --- a/docs/examples/1.3.x/server-deno/examples/storage/create-bucket.md +++ b/docs/examples/1.3.x/server-deno/examples/storage/create-bucket.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/storage/create-file.md b/docs/examples/1.3.x/server-deno/examples/storage/create-file.md index c0fe4930b9..e2b9edaa57 100644 --- a/docs/examples/1.3.x/server-deno/examples/storage/create-file.md +++ b/docs/examples/1.3.x/server-deno/examples/storage/create-file.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/storage/delete-bucket.md b/docs/examples/1.3.x/server-deno/examples/storage/delete-bucket.md index d468428141..f5c818046e 100644 --- a/docs/examples/1.3.x/server-deno/examples/storage/delete-bucket.md +++ b/docs/examples/1.3.x/server-deno/examples/storage/delete-bucket.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/storage/delete-file.md b/docs/examples/1.3.x/server-deno/examples/storage/delete-file.md index e86da1763b..61589ed878 100644 --- a/docs/examples/1.3.x/server-deno/examples/storage/delete-file.md +++ b/docs/examples/1.3.x/server-deno/examples/storage/delete-file.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/storage/get-bucket.md b/docs/examples/1.3.x/server-deno/examples/storage/get-bucket.md index 35d22b941a..34391b42c2 100644 --- a/docs/examples/1.3.x/server-deno/examples/storage/get-bucket.md +++ b/docs/examples/1.3.x/server-deno/examples/storage/get-bucket.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/storage/get-file-download.md b/docs/examples/1.3.x/server-deno/examples/storage/get-file-download.md index 206b860e25..9f2927e054 100644 --- a/docs/examples/1.3.x/server-deno/examples/storage/get-file-download.md +++ b/docs/examples/1.3.x/server-deno/examples/storage/get-file-download.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/storage/get-file-preview.md b/docs/examples/1.3.x/server-deno/examples/storage/get-file-preview.md index 4815c6b40b..903aa59270 100644 --- a/docs/examples/1.3.x/server-deno/examples/storage/get-file-preview.md +++ b/docs/examples/1.3.x/server-deno/examples/storage/get-file-preview.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/storage/get-file-view.md b/docs/examples/1.3.x/server-deno/examples/storage/get-file-view.md index 11ca8fdc6c..27d20ab4a6 100644 --- a/docs/examples/1.3.x/server-deno/examples/storage/get-file-view.md +++ b/docs/examples/1.3.x/server-deno/examples/storage/get-file-view.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/storage/get-file.md b/docs/examples/1.3.x/server-deno/examples/storage/get-file.md index 04aa43a5b1..c6ec55a1e6 100644 --- a/docs/examples/1.3.x/server-deno/examples/storage/get-file.md +++ b/docs/examples/1.3.x/server-deno/examples/storage/get-file.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/storage/list-buckets.md b/docs/examples/1.3.x/server-deno/examples/storage/list-buckets.md index 0c31feffe3..7cae11354f 100644 --- a/docs/examples/1.3.x/server-deno/examples/storage/list-buckets.md +++ b/docs/examples/1.3.x/server-deno/examples/storage/list-buckets.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/storage/list-files.md b/docs/examples/1.3.x/server-deno/examples/storage/list-files.md index 00178aa874..d5de10df59 100644 --- a/docs/examples/1.3.x/server-deno/examples/storage/list-files.md +++ b/docs/examples/1.3.x/server-deno/examples/storage/list-files.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/storage/update-bucket.md b/docs/examples/1.3.x/server-deno/examples/storage/update-bucket.md index aca746145e..d9c554bffe 100644 --- a/docs/examples/1.3.x/server-deno/examples/storage/update-bucket.md +++ b/docs/examples/1.3.x/server-deno/examples/storage/update-bucket.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/storage/update-file.md b/docs/examples/1.3.x/server-deno/examples/storage/update-file.md index 79f31c3b03..a106b4b505 100644 --- a/docs/examples/1.3.x/server-deno/examples/storage/update-file.md +++ b/docs/examples/1.3.x/server-deno/examples/storage/update-file.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/teams/create-membership.md b/docs/examples/1.3.x/server-deno/examples/teams/create-membership.md index c4169a306b..8b3f82fdd2 100644 --- a/docs/examples/1.3.x/server-deno/examples/teams/create-membership.md +++ b/docs/examples/1.3.x/server-deno/examples/teams/create-membership.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/teams/create.md b/docs/examples/1.3.x/server-deno/examples/teams/create.md index 8272adb4d0..b5ad42710c 100644 --- a/docs/examples/1.3.x/server-deno/examples/teams/create.md +++ b/docs/examples/1.3.x/server-deno/examples/teams/create.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/teams/delete-membership.md b/docs/examples/1.3.x/server-deno/examples/teams/delete-membership.md index 402deb0b8a..dd73e8ae87 100644 --- a/docs/examples/1.3.x/server-deno/examples/teams/delete-membership.md +++ b/docs/examples/1.3.x/server-deno/examples/teams/delete-membership.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/teams/delete.md b/docs/examples/1.3.x/server-deno/examples/teams/delete.md index 3b30934bea..5f859e0cfc 100644 --- a/docs/examples/1.3.x/server-deno/examples/teams/delete.md +++ b/docs/examples/1.3.x/server-deno/examples/teams/delete.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/teams/get-membership.md b/docs/examples/1.3.x/server-deno/examples/teams/get-membership.md index 7d50599b67..8289e1fbd4 100644 --- a/docs/examples/1.3.x/server-deno/examples/teams/get-membership.md +++ b/docs/examples/1.3.x/server-deno/examples/teams/get-membership.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/teams/get-prefs.md b/docs/examples/1.3.x/server-deno/examples/teams/get-prefs.md index 5a7fa4d98f..3327463fac 100644 --- a/docs/examples/1.3.x/server-deno/examples/teams/get-prefs.md +++ b/docs/examples/1.3.x/server-deno/examples/teams/get-prefs.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-deno/examples/teams/get.md b/docs/examples/1.3.x/server-deno/examples/teams/get.md index 44ecdab949..e18f9e580d 100644 --- a/docs/examples/1.3.x/server-deno/examples/teams/get.md +++ b/docs/examples/1.3.x/server-deno/examples/teams/get.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/teams/list-memberships.md b/docs/examples/1.3.x/server-deno/examples/teams/list-memberships.md index 7d730021a6..ca062ddb29 100644 --- a/docs/examples/1.3.x/server-deno/examples/teams/list-memberships.md +++ b/docs/examples/1.3.x/server-deno/examples/teams/list-memberships.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/teams/list.md b/docs/examples/1.3.x/server-deno/examples/teams/list.md index c45ffdc066..a76660063d 100644 --- a/docs/examples/1.3.x/server-deno/examples/teams/list.md +++ b/docs/examples/1.3.x/server-deno/examples/teams/list.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/teams/update-membership-roles.md b/docs/examples/1.3.x/server-deno/examples/teams/update-membership-roles.md index 9f2dad98c6..050f7dbbd7 100644 --- a/docs/examples/1.3.x/server-deno/examples/teams/update-membership-roles.md +++ b/docs/examples/1.3.x/server-deno/examples/teams/update-membership-roles.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/teams/update-membership-status.md b/docs/examples/1.3.x/server-deno/examples/teams/update-membership-status.md index 7bb57d8974..2ac6332372 100644 --- a/docs/examples/1.3.x/server-deno/examples/teams/update-membership-status.md +++ b/docs/examples/1.3.x/server-deno/examples/teams/update-membership-status.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-deno/examples/teams/update-name.md b/docs/examples/1.3.x/server-deno/examples/teams/update-name.md index 47c3fc2765..bbac808c86 100644 --- a/docs/examples/1.3.x/server-deno/examples/teams/update-name.md +++ b/docs/examples/1.3.x/server-deno/examples/teams/update-name.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/teams/update-prefs.md b/docs/examples/1.3.x/server-deno/examples/teams/update-prefs.md index 83845be036..7a8823b805 100644 --- a/docs/examples/1.3.x/server-deno/examples/teams/update-prefs.md +++ b/docs/examples/1.3.x/server-deno/examples/teams/update-prefs.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-deno/examples/users/create-argon2user.md b/docs/examples/1.3.x/server-deno/examples/users/create-argon2user.md index e55b644b62..c9d3e68bcd 100644 --- a/docs/examples/1.3.x/server-deno/examples/users/create-argon2user.md +++ b/docs/examples/1.3.x/server-deno/examples/users/create-argon2user.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/users/create-bcrypt-user.md b/docs/examples/1.3.x/server-deno/examples/users/create-bcrypt-user.md index 325fbe46d5..a3cc0ddc7d 100644 --- a/docs/examples/1.3.x/server-deno/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.3.x/server-deno/examples/users/create-bcrypt-user.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/users/create-m-d5user.md b/docs/examples/1.3.x/server-deno/examples/users/create-m-d5user.md index 8892688594..387fd97da0 100644 --- a/docs/examples/1.3.x/server-deno/examples/users/create-m-d5user.md +++ b/docs/examples/1.3.x/server-deno/examples/users/create-m-d5user.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/users/create-p-h-pass-user.md b/docs/examples/1.3.x/server-deno/examples/users/create-p-h-pass-user.md index d7a3428fd5..1e02fba553 100644 --- a/docs/examples/1.3.x/server-deno/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.3.x/server-deno/examples/users/create-p-h-pass-user.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/users/create-s-h-a-user.md b/docs/examples/1.3.x/server-deno/examples/users/create-s-h-a-user.md index c3ade982ef..82cf7ea8a4 100644 --- a/docs/examples/1.3.x/server-deno/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.3.x/server-deno/examples/users/create-s-h-a-user.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/users/create-scrypt-modified-user.md b/docs/examples/1.3.x/server-deno/examples/users/create-scrypt-modified-user.md index 8039a970c2..d06e6d3128 100644 --- a/docs/examples/1.3.x/server-deno/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.3.x/server-deno/examples/users/create-scrypt-modified-user.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/users/create-scrypt-user.md b/docs/examples/1.3.x/server-deno/examples/users/create-scrypt-user.md index 9889855e7c..6f9656ce5e 100644 --- a/docs/examples/1.3.x/server-deno/examples/users/create-scrypt-user.md +++ b/docs/examples/1.3.x/server-deno/examples/users/create-scrypt-user.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/users/create.md b/docs/examples/1.3.x/server-deno/examples/users/create.md index c56f8d8f88..1338a4e59f 100644 --- a/docs/examples/1.3.x/server-deno/examples/users/create.md +++ b/docs/examples/1.3.x/server-deno/examples/users/create.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/users/delete-session.md b/docs/examples/1.3.x/server-deno/examples/users/delete-session.md index e4ea45ba73..8d6e862bdb 100644 --- a/docs/examples/1.3.x/server-deno/examples/users/delete-session.md +++ b/docs/examples/1.3.x/server-deno/examples/users/delete-session.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/users/delete-sessions.md b/docs/examples/1.3.x/server-deno/examples/users/delete-sessions.md index 0e12d6dacf..894084dd90 100644 --- a/docs/examples/1.3.x/server-deno/examples/users/delete-sessions.md +++ b/docs/examples/1.3.x/server-deno/examples/users/delete-sessions.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/users/delete.md b/docs/examples/1.3.x/server-deno/examples/users/delete.md index f0223024a3..e291fa1cf1 100644 --- a/docs/examples/1.3.x/server-deno/examples/users/delete.md +++ b/docs/examples/1.3.x/server-deno/examples/users/delete.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/users/get-prefs.md b/docs/examples/1.3.x/server-deno/examples/users/get-prefs.md index 63953f9d24..98d6f6aa62 100644 --- a/docs/examples/1.3.x/server-deno/examples/users/get-prefs.md +++ b/docs/examples/1.3.x/server-deno/examples/users/get-prefs.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/users/get.md b/docs/examples/1.3.x/server-deno/examples/users/get.md index c9300c5060..77c27630ba 100644 --- a/docs/examples/1.3.x/server-deno/examples/users/get.md +++ b/docs/examples/1.3.x/server-deno/examples/users/get.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/users/list-logs.md b/docs/examples/1.3.x/server-deno/examples/users/list-logs.md index 7d0841fc77..fe4103138d 100644 --- a/docs/examples/1.3.x/server-deno/examples/users/list-logs.md +++ b/docs/examples/1.3.x/server-deno/examples/users/list-logs.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/users/list-memberships.md b/docs/examples/1.3.x/server-deno/examples/users/list-memberships.md index 74f2fb7f1e..592385fc04 100644 --- a/docs/examples/1.3.x/server-deno/examples/users/list-memberships.md +++ b/docs/examples/1.3.x/server-deno/examples/users/list-memberships.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/users/list-sessions.md b/docs/examples/1.3.x/server-deno/examples/users/list-sessions.md index 1aa4ca7d78..2117b04927 100644 --- a/docs/examples/1.3.x/server-deno/examples/users/list-sessions.md +++ b/docs/examples/1.3.x/server-deno/examples/users/list-sessions.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/users/list.md b/docs/examples/1.3.x/server-deno/examples/users/list.md index 369ccd7b29..a092136f5a 100644 --- a/docs/examples/1.3.x/server-deno/examples/users/list.md +++ b/docs/examples/1.3.x/server-deno/examples/users/list.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/users/update-email-verification.md b/docs/examples/1.3.x/server-deno/examples/users/update-email-verification.md index 146cea5027..41a3250abb 100644 --- a/docs/examples/1.3.x/server-deno/examples/users/update-email-verification.md +++ b/docs/examples/1.3.x/server-deno/examples/users/update-email-verification.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/users/update-email.md b/docs/examples/1.3.x/server-deno/examples/users/update-email.md index bd7f0ffbd8..428ab37b85 100644 --- a/docs/examples/1.3.x/server-deno/examples/users/update-email.md +++ b/docs/examples/1.3.x/server-deno/examples/users/update-email.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/users/update-name.md b/docs/examples/1.3.x/server-deno/examples/users/update-name.md index 071c948201..1b0918b5a5 100644 --- a/docs/examples/1.3.x/server-deno/examples/users/update-name.md +++ b/docs/examples/1.3.x/server-deno/examples/users/update-name.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/users/update-password.md b/docs/examples/1.3.x/server-deno/examples/users/update-password.md index e6ae8b725e..4d9d8b217e 100644 --- a/docs/examples/1.3.x/server-deno/examples/users/update-password.md +++ b/docs/examples/1.3.x/server-deno/examples/users/update-password.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/users/update-phone-verification.md b/docs/examples/1.3.x/server-deno/examples/users/update-phone-verification.md index 293f876152..3241b4c430 100644 --- a/docs/examples/1.3.x/server-deno/examples/users/update-phone-verification.md +++ b/docs/examples/1.3.x/server-deno/examples/users/update-phone-verification.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/users/update-phone.md b/docs/examples/1.3.x/server-deno/examples/users/update-phone.md index e634f59719..b41c9bc15f 100644 --- a/docs/examples/1.3.x/server-deno/examples/users/update-phone.md +++ b/docs/examples/1.3.x/server-deno/examples/users/update-phone.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/users/update-prefs.md b/docs/examples/1.3.x/server-deno/examples/users/update-prefs.md index 248fdb10ab..c794bc9d6c 100644 --- a/docs/examples/1.3.x/server-deno/examples/users/update-prefs.md +++ b/docs/examples/1.3.x/server-deno/examples/users/update-prefs.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-deno/examples/users/update-status.md b/docs/examples/1.3.x/server-deno/examples/users/update-status.md index 2f142596fd..80355e1b39 100644 --- a/docs/examples/1.3.x/server-deno/examples/users/update-status.md +++ b/docs/examples/1.3.x/server-deno/examples/users/update-status.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-dotnet/examples/account/create-phone-verification.md b/docs/examples/1.3.x/server-dotnet/examples/account/create-phone-verification.md index 570bb20f5e..3dd38b8e05 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/account/create-phone-verification.md +++ b/docs/examples/1.3.x/server-dotnet/examples/account/create-phone-verification.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-dotnet/examples/account/create-recovery.md b/docs/examples/1.3.x/server-dotnet/examples/account/create-recovery.md index 1edc79bc50..afa76bbd9b 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/account/create-recovery.md +++ b/docs/examples/1.3.x/server-dotnet/examples/account/create-recovery.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-dotnet/examples/account/create-verification.md b/docs/examples/1.3.x/server-dotnet/examples/account/create-verification.md index 928fcb8561..09d73b228c 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/account/create-verification.md +++ b/docs/examples/1.3.x/server-dotnet/examples/account/create-verification.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-dotnet/examples/account/delete-session.md b/docs/examples/1.3.x/server-dotnet/examples/account/delete-session.md index c880a4f88d..163bd05e6a 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/account/delete-session.md +++ b/docs/examples/1.3.x/server-dotnet/examples/account/delete-session.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-dotnet/examples/account/delete-sessions.md b/docs/examples/1.3.x/server-dotnet/examples/account/delete-sessions.md index 8dcefaf71c..b683052f3b 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/account/delete-sessions.md +++ b/docs/examples/1.3.x/server-dotnet/examples/account/delete-sessions.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-dotnet/examples/account/get-prefs.md b/docs/examples/1.3.x/server-dotnet/examples/account/get-prefs.md index ce3ecc1179..6fed36e39e 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/account/get-prefs.md +++ b/docs/examples/1.3.x/server-dotnet/examples/account/get-prefs.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-dotnet/examples/account/get-session.md b/docs/examples/1.3.x/server-dotnet/examples/account/get-session.md index 9560b6a78a..9f4becbfb7 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/account/get-session.md +++ b/docs/examples/1.3.x/server-dotnet/examples/account/get-session.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-dotnet/examples/account/get.md b/docs/examples/1.3.x/server-dotnet/examples/account/get.md index 5a50299c73..4df0e2f2ce 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/account/get.md +++ b/docs/examples/1.3.x/server-dotnet/examples/account/get.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-dotnet/examples/account/list-logs.md b/docs/examples/1.3.x/server-dotnet/examples/account/list-logs.md index 03b50407f5..7873a8036e 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/account/list-logs.md +++ b/docs/examples/1.3.x/server-dotnet/examples/account/list-logs.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-dotnet/examples/account/list-sessions.md b/docs/examples/1.3.x/server-dotnet/examples/account/list-sessions.md index aa813bc1dd..b918cfe806 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/account/list-sessions.md +++ b/docs/examples/1.3.x/server-dotnet/examples/account/list-sessions.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-dotnet/examples/account/update-email.md b/docs/examples/1.3.x/server-dotnet/examples/account/update-email.md index 0b457e0abb..3d85167276 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/account/update-email.md +++ b/docs/examples/1.3.x/server-dotnet/examples/account/update-email.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-dotnet/examples/account/update-name.md b/docs/examples/1.3.x/server-dotnet/examples/account/update-name.md index b41ba37289..682ba83ab8 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/account/update-name.md +++ b/docs/examples/1.3.x/server-dotnet/examples/account/update-name.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-dotnet/examples/account/update-password.md b/docs/examples/1.3.x/server-dotnet/examples/account/update-password.md index d8bab0b4d2..153b62635e 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/account/update-password.md +++ b/docs/examples/1.3.x/server-dotnet/examples/account/update-password.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-dotnet/examples/account/update-phone-verification.md b/docs/examples/1.3.x/server-dotnet/examples/account/update-phone-verification.md index 6914e7805f..032961664b 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/account/update-phone-verification.md +++ b/docs/examples/1.3.x/server-dotnet/examples/account/update-phone-verification.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-dotnet/examples/account/update-phone.md b/docs/examples/1.3.x/server-dotnet/examples/account/update-phone.md index f3e2f14df7..8fa853a8ce 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/account/update-phone.md +++ b/docs/examples/1.3.x/server-dotnet/examples/account/update-phone.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-dotnet/examples/account/update-prefs.md b/docs/examples/1.3.x/server-dotnet/examples/account/update-prefs.md index 7a4f2378e4..c25dae59cb 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/account/update-prefs.md +++ b/docs/examples/1.3.x/server-dotnet/examples/account/update-prefs.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-dotnet/examples/account/update-recovery.md b/docs/examples/1.3.x/server-dotnet/examples/account/update-recovery.md index d26f4ab8da..3c13952fc1 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/account/update-recovery.md +++ b/docs/examples/1.3.x/server-dotnet/examples/account/update-recovery.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-dotnet/examples/account/update-session.md b/docs/examples/1.3.x/server-dotnet/examples/account/update-session.md index f3365bb96b..4a7600e820 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/account/update-session.md +++ b/docs/examples/1.3.x/server-dotnet/examples/account/update-session.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-dotnet/examples/account/update-status.md b/docs/examples/1.3.x/server-dotnet/examples/account/update-status.md index c5e3e2c576..0a01ee2325 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/account/update-status.md +++ b/docs/examples/1.3.x/server-dotnet/examples/account/update-status.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-dotnet/examples/account/update-verification.md b/docs/examples/1.3.x/server-dotnet/examples/account/update-verification.md index 697d2dffa4..4531f25611 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/account/update-verification.md +++ b/docs/examples/1.3.x/server-dotnet/examples/account/update-verification.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-dotnet/examples/avatars/get-browser.md b/docs/examples/1.3.x/server-dotnet/examples/avatars/get-browser.md index 3ac58f8b47..4b9e62bf6a 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/avatars/get-browser.md +++ b/docs/examples/1.3.x/server-dotnet/examples/avatars/get-browser.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/avatars/get-credit-card.md b/docs/examples/1.3.x/server-dotnet/examples/avatars/get-credit-card.md index 89f36fe35d..5338e4f590 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/avatars/get-credit-card.md +++ b/docs/examples/1.3.x/server-dotnet/examples/avatars/get-credit-card.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/avatars/get-favicon.md b/docs/examples/1.3.x/server-dotnet/examples/avatars/get-favicon.md index dbabf05d57..78cf8f7561 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/avatars/get-favicon.md +++ b/docs/examples/1.3.x/server-dotnet/examples/avatars/get-favicon.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/avatars/get-flag.md b/docs/examples/1.3.x/server-dotnet/examples/avatars/get-flag.md index fc20581c1c..7ef3740418 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/avatars/get-flag.md +++ b/docs/examples/1.3.x/server-dotnet/examples/avatars/get-flag.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/avatars/get-image.md b/docs/examples/1.3.x/server-dotnet/examples/avatars/get-image.md index 35bf382f12..7c85d566f2 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/avatars/get-image.md +++ b/docs/examples/1.3.x/server-dotnet/examples/avatars/get-image.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/avatars/get-initials.md b/docs/examples/1.3.x/server-dotnet/examples/avatars/get-initials.md index 20ea37a3a4..7f40a3f2a0 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/avatars/get-initials.md +++ b/docs/examples/1.3.x/server-dotnet/examples/avatars/get-initials.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/avatars/get-q-r.md b/docs/examples/1.3.x/server-dotnet/examples/avatars/get-q-r.md index 33dcac6f91..3fe62f1bcc 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/avatars/get-q-r.md +++ b/docs/examples/1.3.x/server-dotnet/examples/avatars/get-q-r.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/create-boolean-attribute.md b/docs/examples/1.3.x/server-dotnet/examples/databases/create-boolean-attribute.md index 439537a9cb..6b86445fb8 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/create-boolean-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/create-collection.md b/docs/examples/1.3.x/server-dotnet/examples/databases/create-collection.md index 1b7aa198a6..c1545c3a57 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/create-collection.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/create-collection.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/create-datetime-attribute.md b/docs/examples/1.3.x/server-dotnet/examples/databases/create-datetime-attribute.md index 1fff2965ff..5722be761f 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/create-datetime-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/create-document.md b/docs/examples/1.3.x/server-dotnet/examples/databases/create-document.md index c0081f1f20..bdd144c6c7 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/create-document.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/create-document.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/create-email-attribute.md b/docs/examples/1.3.x/server-dotnet/examples/databases/create-email-attribute.md index e22ed7ddca..416bcad541 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/create-email-attribute.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/create-email-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/create-enum-attribute.md b/docs/examples/1.3.x/server-dotnet/examples/databases/create-enum-attribute.md index 773d41e9fa..cdf4142ac9 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/create-enum-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/create-float-attribute.md b/docs/examples/1.3.x/server-dotnet/examples/databases/create-float-attribute.md index d0915184e8..038abe997b 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/create-float-attribute.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/create-float-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/create-index.md b/docs/examples/1.3.x/server-dotnet/examples/databases/create-index.md index b13de722aa..ee8c4b6fd6 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/create-index.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/create-index.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/create-integer-attribute.md b/docs/examples/1.3.x/server-dotnet/examples/databases/create-integer-attribute.md index 0d84ea7868..0bb5c42229 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/create-integer-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/create-ip-attribute.md b/docs/examples/1.3.x/server-dotnet/examples/databases/create-ip-attribute.md index ca571d00bd..81362cda5e 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/create-ip-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/create-relationship-attribute.md b/docs/examples/1.3.x/server-dotnet/examples/databases/create-relationship-attribute.md index 9c4a8c3604..37328d876e 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/create-relationship-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/create-string-attribute.md b/docs/examples/1.3.x/server-dotnet/examples/databases/create-string-attribute.md index 645492eeab..bd34f357aa 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/create-string-attribute.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/create-string-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/create-url-attribute.md b/docs/examples/1.3.x/server-dotnet/examples/databases/create-url-attribute.md index 9425882dec..46368bf2f9 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/create-url-attribute.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/create-url-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/create.md b/docs/examples/1.3.x/server-dotnet/examples/databases/create.md index 61ba46c03a..671a3864b8 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/create.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/create.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/delete-attribute.md b/docs/examples/1.3.x/server-dotnet/examples/databases/delete-attribute.md index 8ebde257c5..4ceffc2918 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/delete-attribute.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/delete-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/delete-collection.md b/docs/examples/1.3.x/server-dotnet/examples/databases/delete-collection.md index 398185c509..ecb627ceb4 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/delete-collection.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/delete-collection.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/delete-document.md b/docs/examples/1.3.x/server-dotnet/examples/databases/delete-document.md index 6892b25438..1107dce324 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/delete-document.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/delete-document.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/delete-index.md b/docs/examples/1.3.x/server-dotnet/examples/databases/delete-index.md index c5dab69e0f..c7423b974c 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/delete-index.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/delete-index.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/delete.md b/docs/examples/1.3.x/server-dotnet/examples/databases/delete.md index cc8b4317e1..d7e3d2030d 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/delete.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/delete.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/get-attribute.md b/docs/examples/1.3.x/server-dotnet/examples/databases/get-attribute.md index 13eae946e9..491a0db2f8 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/get-attribute.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/get-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/get-collection.md b/docs/examples/1.3.x/server-dotnet/examples/databases/get-collection.md index b617da7810..0b956208f6 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/get-collection.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/get-collection.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/get-document.md b/docs/examples/1.3.x/server-dotnet/examples/databases/get-document.md index 079f93a403..095d1a1e66 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/get-document.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/get-document.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/get-index.md b/docs/examples/1.3.x/server-dotnet/examples/databases/get-index.md index d989ed4651..7a81d9b119 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/get-index.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/get-index.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/get.md b/docs/examples/1.3.x/server-dotnet/examples/databases/get.md index 5dfa70eec1..bc770bbf43 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/get.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/get.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/list-attributes.md b/docs/examples/1.3.x/server-dotnet/examples/databases/list-attributes.md index 8af529df41..30362cf398 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/list-attributes.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/list-attributes.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/list-collections.md b/docs/examples/1.3.x/server-dotnet/examples/databases/list-collections.md index ed0d7bb56f..6eae10213e 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/list-collections.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/list-collections.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/list-documents.md b/docs/examples/1.3.x/server-dotnet/examples/databases/list-documents.md index 92895692f0..47bb99e03a 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/list-documents.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/list-documents.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/list-indexes.md b/docs/examples/1.3.x/server-dotnet/examples/databases/list-indexes.md index dbbed3ca53..87f1560ec4 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/list-indexes.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/list-indexes.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/list.md b/docs/examples/1.3.x/server-dotnet/examples/databases/list.md index ec234ddbab..c247e5abc2 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/list.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/list.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/update-boolean-attribute.md b/docs/examples/1.3.x/server-dotnet/examples/databases/update-boolean-attribute.md index 2d6fa80849..6e3ee9a0d0 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/update-boolean-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/update-collection.md b/docs/examples/1.3.x/server-dotnet/examples/databases/update-collection.md index aa477e4ce0..a946514ed6 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/update-collection.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/update-collection.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/update-datetime-attribute.md b/docs/examples/1.3.x/server-dotnet/examples/databases/update-datetime-attribute.md index 81966f05f1..65ba0b5c7f 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/update-datetime-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/update-document.md b/docs/examples/1.3.x/server-dotnet/examples/databases/update-document.md index b19d9226c6..e204c9b90f 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/update-document.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/update-document.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/update-email-attribute.md b/docs/examples/1.3.x/server-dotnet/examples/databases/update-email-attribute.md index 5baf67fd72..59a94d850d 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/update-email-attribute.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/update-email-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/update-enum-attribute.md b/docs/examples/1.3.x/server-dotnet/examples/databases/update-enum-attribute.md index 184ac1820f..dfef22bf6d 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/update-enum-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/update-float-attribute.md b/docs/examples/1.3.x/server-dotnet/examples/databases/update-float-attribute.md index d68815ab07..f6561415d5 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/update-float-attribute.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/update-float-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/update-integer-attribute.md b/docs/examples/1.3.x/server-dotnet/examples/databases/update-integer-attribute.md index 2ad0e05754..e19cc9f648 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/update-integer-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/update-ip-attribute.md b/docs/examples/1.3.x/server-dotnet/examples/databases/update-ip-attribute.md index 10fd34b306..0f9d4ad285 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/update-ip-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/update-relationship-attribute.md b/docs/examples/1.3.x/server-dotnet/examples/databases/update-relationship-attribute.md index 8a65da0a42..fa2042f18e 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/update-relationship-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/update-string-attribute.md b/docs/examples/1.3.x/server-dotnet/examples/databases/update-string-attribute.md index 84fc2b8da9..5ce837ccbb 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/update-string-attribute.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/update-string-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/update-url-attribute.md b/docs/examples/1.3.x/server-dotnet/examples/databases/update-url-attribute.md index e79812a77b..a66a848951 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/update-url-attribute.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/update-url-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/databases/update.md b/docs/examples/1.3.x/server-dotnet/examples/databases/update.md index 743108fc66..8ab4cc5ea0 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/databases/update.md +++ b/docs/examples/1.3.x/server-dotnet/examples/databases/update.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/functions/create-build.md b/docs/examples/1.3.x/server-dotnet/examples/functions/create-build.md index 71eb842c6c..51c539a59d 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/functions/create-build.md +++ b/docs/examples/1.3.x/server-dotnet/examples/functions/create-build.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/functions/create-deployment.md b/docs/examples/1.3.x/server-dotnet/examples/functions/create-deployment.md index c58d1ef68d..7744c8ab78 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/functions/create-deployment.md +++ b/docs/examples/1.3.x/server-dotnet/examples/functions/create-deployment.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/functions/create-execution.md b/docs/examples/1.3.x/server-dotnet/examples/functions/create-execution.md index 93cd65be5d..d6e17cbcd4 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/functions/create-execution.md +++ b/docs/examples/1.3.x/server-dotnet/examples/functions/create-execution.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/functions/create-variable.md b/docs/examples/1.3.x/server-dotnet/examples/functions/create-variable.md index 0724bc6eef..a90e0e883f 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/functions/create-variable.md +++ b/docs/examples/1.3.x/server-dotnet/examples/functions/create-variable.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/functions/create.md b/docs/examples/1.3.x/server-dotnet/examples/functions/create.md index 75c9b242f6..0210832762 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/functions/create.md +++ b/docs/examples/1.3.x/server-dotnet/examples/functions/create.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/functions/delete-deployment.md b/docs/examples/1.3.x/server-dotnet/examples/functions/delete-deployment.md index 2c17dfae9f..907a3f0326 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/functions/delete-deployment.md +++ b/docs/examples/1.3.x/server-dotnet/examples/functions/delete-deployment.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/functions/delete-variable.md b/docs/examples/1.3.x/server-dotnet/examples/functions/delete-variable.md index cf201480fa..3faa77f8ce 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/functions/delete-variable.md +++ b/docs/examples/1.3.x/server-dotnet/examples/functions/delete-variable.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/functions/delete.md b/docs/examples/1.3.x/server-dotnet/examples/functions/delete.md index 123e307c79..c3db166334 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/functions/delete.md +++ b/docs/examples/1.3.x/server-dotnet/examples/functions/delete.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/functions/get-deployment.md b/docs/examples/1.3.x/server-dotnet/examples/functions/get-deployment.md index 7d895c6d82..18f5206643 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/functions/get-deployment.md +++ b/docs/examples/1.3.x/server-dotnet/examples/functions/get-deployment.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/functions/get-execution.md b/docs/examples/1.3.x/server-dotnet/examples/functions/get-execution.md index ed65d26bef..e6dfe4a913 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/functions/get-execution.md +++ b/docs/examples/1.3.x/server-dotnet/examples/functions/get-execution.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/functions/get-variable.md b/docs/examples/1.3.x/server-dotnet/examples/functions/get-variable.md index 12083e5acb..c17dd8cf62 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/functions/get-variable.md +++ b/docs/examples/1.3.x/server-dotnet/examples/functions/get-variable.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/functions/get.md b/docs/examples/1.3.x/server-dotnet/examples/functions/get.md index 1914ccf7ac..c21fc7dbd5 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/functions/get.md +++ b/docs/examples/1.3.x/server-dotnet/examples/functions/get.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/functions/list-deployments.md b/docs/examples/1.3.x/server-dotnet/examples/functions/list-deployments.md index cd6a7b9446..4e2e85fa52 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/functions/list-deployments.md +++ b/docs/examples/1.3.x/server-dotnet/examples/functions/list-deployments.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/functions/list-executions.md b/docs/examples/1.3.x/server-dotnet/examples/functions/list-executions.md index d4c73a0d36..7bf4598b4c 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/functions/list-executions.md +++ b/docs/examples/1.3.x/server-dotnet/examples/functions/list-executions.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/functions/list-runtimes.md b/docs/examples/1.3.x/server-dotnet/examples/functions/list-runtimes.md index ca1d125eb2..ad8a60936f 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/functions/list-runtimes.md +++ b/docs/examples/1.3.x/server-dotnet/examples/functions/list-runtimes.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/functions/list-variables.md b/docs/examples/1.3.x/server-dotnet/examples/functions/list-variables.md index 31177df9ff..555e972af5 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/functions/list-variables.md +++ b/docs/examples/1.3.x/server-dotnet/examples/functions/list-variables.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/functions/list.md b/docs/examples/1.3.x/server-dotnet/examples/functions/list.md index 1b8897b76f..76128c22bf 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/functions/list.md +++ b/docs/examples/1.3.x/server-dotnet/examples/functions/list.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/functions/update-deployment.md b/docs/examples/1.3.x/server-dotnet/examples/functions/update-deployment.md index 8cd7fc5425..ba2f2b1e5a 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/functions/update-deployment.md +++ b/docs/examples/1.3.x/server-dotnet/examples/functions/update-deployment.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/functions/update-variable.md b/docs/examples/1.3.x/server-dotnet/examples/functions/update-variable.md index 63eac46609..c222a9e27f 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/functions/update-variable.md +++ b/docs/examples/1.3.x/server-dotnet/examples/functions/update-variable.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/functions/update.md b/docs/examples/1.3.x/server-dotnet/examples/functions/update.md index d9b29e6e77..fed73cc478 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/functions/update.md +++ b/docs/examples/1.3.x/server-dotnet/examples/functions/update.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/graphql/mutation.md b/docs/examples/1.3.x/server-dotnet/examples/graphql/mutation.md index 8ab5f0e458..7756823b7e 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/graphql/mutation.md +++ b/docs/examples/1.3.x/server-dotnet/examples/graphql/mutation.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/graphql/query.md b/docs/examples/1.3.x/server-dotnet/examples/graphql/query.md index e019f43e5b..24f480286d 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/graphql/query.md +++ b/docs/examples/1.3.x/server-dotnet/examples/graphql/query.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/health/get-antivirus.md b/docs/examples/1.3.x/server-dotnet/examples/health/get-antivirus.md index b8b0d5d95e..08bf120732 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/health/get-antivirus.md +++ b/docs/examples/1.3.x/server-dotnet/examples/health/get-antivirus.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/health/get-cache.md b/docs/examples/1.3.x/server-dotnet/examples/health/get-cache.md index 2f36c10f3b..98970f1442 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/health/get-cache.md +++ b/docs/examples/1.3.x/server-dotnet/examples/health/get-cache.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/health/get-d-b.md b/docs/examples/1.3.x/server-dotnet/examples/health/get-d-b.md index a263709073..1ec2dea7fd 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/health/get-d-b.md +++ b/docs/examples/1.3.x/server-dotnet/examples/health/get-d-b.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/health/get-queue-certificates.md b/docs/examples/1.3.x/server-dotnet/examples/health/get-queue-certificates.md index b2f945cbc7..4ae91c03cb 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/health/get-queue-certificates.md +++ b/docs/examples/1.3.x/server-dotnet/examples/health/get-queue-certificates.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/health/get-queue-functions.md b/docs/examples/1.3.x/server-dotnet/examples/health/get-queue-functions.md index cf2ed7fc08..935bef4436 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/health/get-queue-functions.md +++ b/docs/examples/1.3.x/server-dotnet/examples/health/get-queue-functions.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/health/get-queue-logs.md b/docs/examples/1.3.x/server-dotnet/examples/health/get-queue-logs.md index 8821509dbc..5ff91aa025 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/health/get-queue-logs.md +++ b/docs/examples/1.3.x/server-dotnet/examples/health/get-queue-logs.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/health/get-queue-webhooks.md b/docs/examples/1.3.x/server-dotnet/examples/health/get-queue-webhooks.md index d2ffb01c4d..12b0edb711 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.3.x/server-dotnet/examples/health/get-queue-webhooks.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/health/get-storage-local.md b/docs/examples/1.3.x/server-dotnet/examples/health/get-storage-local.md index bc60cc6ccd..36934e7443 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/health/get-storage-local.md +++ b/docs/examples/1.3.x/server-dotnet/examples/health/get-storage-local.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/health/get-time.md b/docs/examples/1.3.x/server-dotnet/examples/health/get-time.md index 15f1745453..ec6e71f0e9 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/health/get-time.md +++ b/docs/examples/1.3.x/server-dotnet/examples/health/get-time.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/health/get.md b/docs/examples/1.3.x/server-dotnet/examples/health/get.md index d1ddd8fdf0..fb56bd5f3e 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/health/get.md +++ b/docs/examples/1.3.x/server-dotnet/examples/health/get.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/locale/get.md b/docs/examples/1.3.x/server-dotnet/examples/locale/get.md index f049a92072..6713e1ed57 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/locale/get.md +++ b/docs/examples/1.3.x/server-dotnet/examples/locale/get.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/locale/list-continents.md b/docs/examples/1.3.x/server-dotnet/examples/locale/list-continents.md index dd91caba9d..34af0c22b7 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/locale/list-continents.md +++ b/docs/examples/1.3.x/server-dotnet/examples/locale/list-continents.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/locale/list-countries-e-u.md b/docs/examples/1.3.x/server-dotnet/examples/locale/list-countries-e-u.md index 8692c7b78e..c515841b7d 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.3.x/server-dotnet/examples/locale/list-countries-e-u.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/locale/list-countries-phones.md b/docs/examples/1.3.x/server-dotnet/examples/locale/list-countries-phones.md index 8607ae90f5..ebe76e6bfd 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/locale/list-countries-phones.md +++ b/docs/examples/1.3.x/server-dotnet/examples/locale/list-countries-phones.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/locale/list-countries.md b/docs/examples/1.3.x/server-dotnet/examples/locale/list-countries.md index c67d863856..a1a6ed3e3a 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/locale/list-countries.md +++ b/docs/examples/1.3.x/server-dotnet/examples/locale/list-countries.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/locale/list-currencies.md b/docs/examples/1.3.x/server-dotnet/examples/locale/list-currencies.md index 1bb3c427e0..dc04bca6f9 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/locale/list-currencies.md +++ b/docs/examples/1.3.x/server-dotnet/examples/locale/list-currencies.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/locale/list-languages.md b/docs/examples/1.3.x/server-dotnet/examples/locale/list-languages.md index 1c2897d4fb..79e53a2037 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/locale/list-languages.md +++ b/docs/examples/1.3.x/server-dotnet/examples/locale/list-languages.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/storage/create-bucket.md b/docs/examples/1.3.x/server-dotnet/examples/storage/create-bucket.md index b1da6cb0bd..120a177dd6 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/storage/create-bucket.md +++ b/docs/examples/1.3.x/server-dotnet/examples/storage/create-bucket.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/storage/create-file.md b/docs/examples/1.3.x/server-dotnet/examples/storage/create-file.md index f7d7315209..58118f66e1 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/storage/create-file.md +++ b/docs/examples/1.3.x/server-dotnet/examples/storage/create-file.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/storage/delete-bucket.md b/docs/examples/1.3.x/server-dotnet/examples/storage/delete-bucket.md index c8825f3063..a19aec2099 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/storage/delete-bucket.md +++ b/docs/examples/1.3.x/server-dotnet/examples/storage/delete-bucket.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/storage/delete-file.md b/docs/examples/1.3.x/server-dotnet/examples/storage/delete-file.md index 8b70175d97..5300b3e3f3 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/storage/delete-file.md +++ b/docs/examples/1.3.x/server-dotnet/examples/storage/delete-file.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/storage/get-bucket.md b/docs/examples/1.3.x/server-dotnet/examples/storage/get-bucket.md index aca9020f28..dd97d87147 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/storage/get-bucket.md +++ b/docs/examples/1.3.x/server-dotnet/examples/storage/get-bucket.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/storage/get-file-download.md b/docs/examples/1.3.x/server-dotnet/examples/storage/get-file-download.md index e6aa24bea3..50e79c821f 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/storage/get-file-download.md +++ b/docs/examples/1.3.x/server-dotnet/examples/storage/get-file-download.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/storage/get-file-preview.md b/docs/examples/1.3.x/server-dotnet/examples/storage/get-file-preview.md index 92565ae5ef..4bcb95323a 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/storage/get-file-preview.md +++ b/docs/examples/1.3.x/server-dotnet/examples/storage/get-file-preview.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/storage/get-file-view.md b/docs/examples/1.3.x/server-dotnet/examples/storage/get-file-view.md index 081f2dce7b..f0faf111ee 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/storage/get-file-view.md +++ b/docs/examples/1.3.x/server-dotnet/examples/storage/get-file-view.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/storage/get-file.md b/docs/examples/1.3.x/server-dotnet/examples/storage/get-file.md index 0299a91bbe..a2640e3deb 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/storage/get-file.md +++ b/docs/examples/1.3.x/server-dotnet/examples/storage/get-file.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/storage/list-buckets.md b/docs/examples/1.3.x/server-dotnet/examples/storage/list-buckets.md index 2caae5e0af..6b527b1aaf 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/storage/list-buckets.md +++ b/docs/examples/1.3.x/server-dotnet/examples/storage/list-buckets.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/storage/list-files.md b/docs/examples/1.3.x/server-dotnet/examples/storage/list-files.md index 9d861171ac..82cdd78bce 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/storage/list-files.md +++ b/docs/examples/1.3.x/server-dotnet/examples/storage/list-files.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/storage/update-bucket.md b/docs/examples/1.3.x/server-dotnet/examples/storage/update-bucket.md index eac7456209..8675d42d30 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/storage/update-bucket.md +++ b/docs/examples/1.3.x/server-dotnet/examples/storage/update-bucket.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/storage/update-file.md b/docs/examples/1.3.x/server-dotnet/examples/storage/update-file.md index c51d335eef..dd6bad34a8 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/storage/update-file.md +++ b/docs/examples/1.3.x/server-dotnet/examples/storage/update-file.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/teams/create-membership.md b/docs/examples/1.3.x/server-dotnet/examples/teams/create-membership.md index bcc331724e..7ea35898e2 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/teams/create-membership.md +++ b/docs/examples/1.3.x/server-dotnet/examples/teams/create-membership.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/teams/create.md b/docs/examples/1.3.x/server-dotnet/examples/teams/create.md index fa34098cb2..2cec3e2009 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/teams/create.md +++ b/docs/examples/1.3.x/server-dotnet/examples/teams/create.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/teams/delete-membership.md b/docs/examples/1.3.x/server-dotnet/examples/teams/delete-membership.md index e3c7562f99..3eb75eff7c 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/teams/delete-membership.md +++ b/docs/examples/1.3.x/server-dotnet/examples/teams/delete-membership.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/teams/delete.md b/docs/examples/1.3.x/server-dotnet/examples/teams/delete.md index 8229839b1c..497b365113 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/teams/delete.md +++ b/docs/examples/1.3.x/server-dotnet/examples/teams/delete.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/teams/get-membership.md b/docs/examples/1.3.x/server-dotnet/examples/teams/get-membership.md index 108dbadbe0..3cdaf1c8fd 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/teams/get-membership.md +++ b/docs/examples/1.3.x/server-dotnet/examples/teams/get-membership.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/teams/get-prefs.md b/docs/examples/1.3.x/server-dotnet/examples/teams/get-prefs.md index 08be12ba83..39fdbf4cbf 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/teams/get-prefs.md +++ b/docs/examples/1.3.x/server-dotnet/examples/teams/get-prefs.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-dotnet/examples/teams/get.md b/docs/examples/1.3.x/server-dotnet/examples/teams/get.md index f6c92a007b..3ed9ff6771 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/teams/get.md +++ b/docs/examples/1.3.x/server-dotnet/examples/teams/get.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/teams/list-memberships.md b/docs/examples/1.3.x/server-dotnet/examples/teams/list-memberships.md index 145376cfb9..b2a5a0ed0b 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/teams/list-memberships.md +++ b/docs/examples/1.3.x/server-dotnet/examples/teams/list-memberships.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/teams/list.md b/docs/examples/1.3.x/server-dotnet/examples/teams/list.md index 1acf615039..133907dc2c 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/teams/list.md +++ b/docs/examples/1.3.x/server-dotnet/examples/teams/list.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/teams/update-membership-roles.md b/docs/examples/1.3.x/server-dotnet/examples/teams/update-membership-roles.md index 5f9db4401f..33d9028083 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/teams/update-membership-roles.md +++ b/docs/examples/1.3.x/server-dotnet/examples/teams/update-membership-roles.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/teams/update-membership-status.md b/docs/examples/1.3.x/server-dotnet/examples/teams/update-membership-status.md index bb377203cc..d5514e7739 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/teams/update-membership-status.md +++ b/docs/examples/1.3.x/server-dotnet/examples/teams/update-membership-status.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-dotnet/examples/teams/update-name.md b/docs/examples/1.3.x/server-dotnet/examples/teams/update-name.md index 1286730437..bd0bd7df41 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/teams/update-name.md +++ b/docs/examples/1.3.x/server-dotnet/examples/teams/update-name.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/teams/update-prefs.md b/docs/examples/1.3.x/server-dotnet/examples/teams/update-prefs.md index 3dfc0a3fc1..c75e761fc4 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/teams/update-prefs.md +++ b/docs/examples/1.3.x/server-dotnet/examples/teams/update-prefs.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-dotnet/examples/users/create-argon2user.md b/docs/examples/1.3.x/server-dotnet/examples/users/create-argon2user.md index 6038594547..958efe5c51 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/users/create-argon2user.md +++ b/docs/examples/1.3.x/server-dotnet/examples/users/create-argon2user.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/users/create-bcrypt-user.md b/docs/examples/1.3.x/server-dotnet/examples/users/create-bcrypt-user.md index 954e1ad1cc..20297ef5d8 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.3.x/server-dotnet/examples/users/create-bcrypt-user.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/users/create-m-d5user.md b/docs/examples/1.3.x/server-dotnet/examples/users/create-m-d5user.md index de54ee98fe..a7b0ad1381 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/users/create-m-d5user.md +++ b/docs/examples/1.3.x/server-dotnet/examples/users/create-m-d5user.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/users/create-p-h-pass-user.md b/docs/examples/1.3.x/server-dotnet/examples/users/create-p-h-pass-user.md index e8ede042da..60d1f6d779 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.3.x/server-dotnet/examples/users/create-p-h-pass-user.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/users/create-s-h-a-user.md b/docs/examples/1.3.x/server-dotnet/examples/users/create-s-h-a-user.md index f381619651..68fcc2900e 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.3.x/server-dotnet/examples/users/create-s-h-a-user.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/users/create-scrypt-modified-user.md b/docs/examples/1.3.x/server-dotnet/examples/users/create-scrypt-modified-user.md index c16cfe97f9..b03e4d0a12 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.3.x/server-dotnet/examples/users/create-scrypt-modified-user.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/users/create-scrypt-user.md b/docs/examples/1.3.x/server-dotnet/examples/users/create-scrypt-user.md index 1d6e60dd2d..1cf9a2effe 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/users/create-scrypt-user.md +++ b/docs/examples/1.3.x/server-dotnet/examples/users/create-scrypt-user.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/users/create.md b/docs/examples/1.3.x/server-dotnet/examples/users/create.md index 0a8421a544..ad55ca54e2 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/users/create.md +++ b/docs/examples/1.3.x/server-dotnet/examples/users/create.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/users/delete-session.md b/docs/examples/1.3.x/server-dotnet/examples/users/delete-session.md index 841bd456c8..3f342d1178 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/users/delete-session.md +++ b/docs/examples/1.3.x/server-dotnet/examples/users/delete-session.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/users/delete-sessions.md b/docs/examples/1.3.x/server-dotnet/examples/users/delete-sessions.md index 8ff8f76522..bb5abd9a82 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/users/delete-sessions.md +++ b/docs/examples/1.3.x/server-dotnet/examples/users/delete-sessions.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/users/delete.md b/docs/examples/1.3.x/server-dotnet/examples/users/delete.md index 7833a7950f..71ba2bf688 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/users/delete.md +++ b/docs/examples/1.3.x/server-dotnet/examples/users/delete.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/users/get-prefs.md b/docs/examples/1.3.x/server-dotnet/examples/users/get-prefs.md index c19f5e0778..6f122c0ff2 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/users/get-prefs.md +++ b/docs/examples/1.3.x/server-dotnet/examples/users/get-prefs.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/users/get.md b/docs/examples/1.3.x/server-dotnet/examples/users/get.md index 9c315e6021..b42ff2bf73 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/users/get.md +++ b/docs/examples/1.3.x/server-dotnet/examples/users/get.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/users/list-logs.md b/docs/examples/1.3.x/server-dotnet/examples/users/list-logs.md index 277addcd25..b56bf45aa8 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/users/list-logs.md +++ b/docs/examples/1.3.x/server-dotnet/examples/users/list-logs.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/users/list-memberships.md b/docs/examples/1.3.x/server-dotnet/examples/users/list-memberships.md index c25d98b41d..d3099aad97 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/users/list-memberships.md +++ b/docs/examples/1.3.x/server-dotnet/examples/users/list-memberships.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/users/list-sessions.md b/docs/examples/1.3.x/server-dotnet/examples/users/list-sessions.md index fcd87f01ad..43230b847d 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/users/list-sessions.md +++ b/docs/examples/1.3.x/server-dotnet/examples/users/list-sessions.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/users/list.md b/docs/examples/1.3.x/server-dotnet/examples/users/list.md index 9cb177b692..580396eca5 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/users/list.md +++ b/docs/examples/1.3.x/server-dotnet/examples/users/list.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/users/update-email-verification.md b/docs/examples/1.3.x/server-dotnet/examples/users/update-email-verification.md index 2b7a5b8674..5287a38ce0 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/users/update-email-verification.md +++ b/docs/examples/1.3.x/server-dotnet/examples/users/update-email-verification.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/users/update-email.md b/docs/examples/1.3.x/server-dotnet/examples/users/update-email.md index 0d371b13fc..8bad70f956 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/users/update-email.md +++ b/docs/examples/1.3.x/server-dotnet/examples/users/update-email.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/users/update-name.md b/docs/examples/1.3.x/server-dotnet/examples/users/update-name.md index f846543117..8bfbeaafa2 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/users/update-name.md +++ b/docs/examples/1.3.x/server-dotnet/examples/users/update-name.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/users/update-password.md b/docs/examples/1.3.x/server-dotnet/examples/users/update-password.md index ce3241dfd5..c6fd97306b 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/users/update-password.md +++ b/docs/examples/1.3.x/server-dotnet/examples/users/update-password.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/users/update-phone-verification.md b/docs/examples/1.3.x/server-dotnet/examples/users/update-phone-verification.md index c2fd1673de..784ea37f18 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/users/update-phone-verification.md +++ b/docs/examples/1.3.x/server-dotnet/examples/users/update-phone-verification.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/users/update-phone.md b/docs/examples/1.3.x/server-dotnet/examples/users/update-phone.md index 90728d76c7..e293e53002 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/users/update-phone.md +++ b/docs/examples/1.3.x/server-dotnet/examples/users/update-phone.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/users/update-prefs.md b/docs/examples/1.3.x/server-dotnet/examples/users/update-prefs.md index a39d54565a..5a443de5c7 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/users/update-prefs.md +++ b/docs/examples/1.3.x/server-dotnet/examples/users/update-prefs.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-dotnet/examples/users/update-status.md b/docs/examples/1.3.x/server-dotnet/examples/users/update-status.md index 713ece02ba..d913bb5cb9 100644 --- a/docs/examples/1.3.x/server-dotnet/examples/users/update-status.md +++ b/docs/examples/1.3.x/server-dotnet/examples/users/update-status.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/account/create-phone-verification.md b/docs/examples/1.3.x/server-kotlin/java/account/create-phone-verification.md index 013b357f88..86416e08aa 100644 --- a/docs/examples/1.3.x/server-kotlin/java/account/create-phone-verification.md +++ b/docs/examples/1.3.x/server-kotlin/java/account/create-phone-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/java/account/create-recovery.md b/docs/examples/1.3.x/server-kotlin/java/account/create-recovery.md index 284efc8107..7f1a21b9dc 100644 --- a/docs/examples/1.3.x/server-kotlin/java/account/create-recovery.md +++ b/docs/examples/1.3.x/server-kotlin/java/account/create-recovery.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/java/account/create-verification.md b/docs/examples/1.3.x/server-kotlin/java/account/create-verification.md index 0280b4b15b..c7911643c1 100644 --- a/docs/examples/1.3.x/server-kotlin/java/account/create-verification.md +++ b/docs/examples/1.3.x/server-kotlin/java/account/create-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/java/account/delete-session.md b/docs/examples/1.3.x/server-kotlin/java/account/delete-session.md index 2cd069eaa1..27ce537ecd 100644 --- a/docs/examples/1.3.x/server-kotlin/java/account/delete-session.md +++ b/docs/examples/1.3.x/server-kotlin/java/account/delete-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/java/account/delete-sessions.md b/docs/examples/1.3.x/server-kotlin/java/account/delete-sessions.md index 7a9999d398..cd790a3ac7 100644 --- a/docs/examples/1.3.x/server-kotlin/java/account/delete-sessions.md +++ b/docs/examples/1.3.x/server-kotlin/java/account/delete-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/java/account/get-prefs.md b/docs/examples/1.3.x/server-kotlin/java/account/get-prefs.md index 3f6cd20c9d..609707c407 100644 --- a/docs/examples/1.3.x/server-kotlin/java/account/get-prefs.md +++ b/docs/examples/1.3.x/server-kotlin/java/account/get-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/java/account/get-session.md b/docs/examples/1.3.x/server-kotlin/java/account/get-session.md index 17229e29de..efe4fabba7 100644 --- a/docs/examples/1.3.x/server-kotlin/java/account/get-session.md +++ b/docs/examples/1.3.x/server-kotlin/java/account/get-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/java/account/get.md b/docs/examples/1.3.x/server-kotlin/java/account/get.md index 80a4988af5..a79e027940 100644 --- a/docs/examples/1.3.x/server-kotlin/java/account/get.md +++ b/docs/examples/1.3.x/server-kotlin/java/account/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/java/account/list-logs.md b/docs/examples/1.3.x/server-kotlin/java/account/list-logs.md index 971ac866e1..cfb15dccfc 100644 --- a/docs/examples/1.3.x/server-kotlin/java/account/list-logs.md +++ b/docs/examples/1.3.x/server-kotlin/java/account/list-logs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/java/account/list-sessions.md b/docs/examples/1.3.x/server-kotlin/java/account/list-sessions.md index 9d7e6308e5..f850618692 100644 --- a/docs/examples/1.3.x/server-kotlin/java/account/list-sessions.md +++ b/docs/examples/1.3.x/server-kotlin/java/account/list-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/java/account/update-email.md b/docs/examples/1.3.x/server-kotlin/java/account/update-email.md index 67ab31ad88..4e09bdf1a9 100644 --- a/docs/examples/1.3.x/server-kotlin/java/account/update-email.md +++ b/docs/examples/1.3.x/server-kotlin/java/account/update-email.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/java/account/update-name.md b/docs/examples/1.3.x/server-kotlin/java/account/update-name.md index 6900f12174..6a5a1711eb 100644 --- a/docs/examples/1.3.x/server-kotlin/java/account/update-name.md +++ b/docs/examples/1.3.x/server-kotlin/java/account/update-name.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/java/account/update-password.md b/docs/examples/1.3.x/server-kotlin/java/account/update-password.md index ace01fcc9a..3797fcb7b4 100644 --- a/docs/examples/1.3.x/server-kotlin/java/account/update-password.md +++ b/docs/examples/1.3.x/server-kotlin/java/account/update-password.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/java/account/update-phone-verification.md b/docs/examples/1.3.x/server-kotlin/java/account/update-phone-verification.md index 8c3c9756de..0c1d440763 100644 --- a/docs/examples/1.3.x/server-kotlin/java/account/update-phone-verification.md +++ b/docs/examples/1.3.x/server-kotlin/java/account/update-phone-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/java/account/update-phone.md b/docs/examples/1.3.x/server-kotlin/java/account/update-phone.md index 9365a0f0b9..d51cc4497e 100644 --- a/docs/examples/1.3.x/server-kotlin/java/account/update-phone.md +++ b/docs/examples/1.3.x/server-kotlin/java/account/update-phone.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/java/account/update-prefs.md b/docs/examples/1.3.x/server-kotlin/java/account/update-prefs.md index 24a3625834..2c7e22f25f 100644 --- a/docs/examples/1.3.x/server-kotlin/java/account/update-prefs.md +++ b/docs/examples/1.3.x/server-kotlin/java/account/update-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/java/account/update-recovery.md b/docs/examples/1.3.x/server-kotlin/java/account/update-recovery.md index bc3251d160..ffbfd402b9 100644 --- a/docs/examples/1.3.x/server-kotlin/java/account/update-recovery.md +++ b/docs/examples/1.3.x/server-kotlin/java/account/update-recovery.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/java/account/update-session.md b/docs/examples/1.3.x/server-kotlin/java/account/update-session.md index 62d77e1366..ec83c2d357 100644 --- a/docs/examples/1.3.x/server-kotlin/java/account/update-session.md +++ b/docs/examples/1.3.x/server-kotlin/java/account/update-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/java/account/update-status.md b/docs/examples/1.3.x/server-kotlin/java/account/update-status.md index 4af2cf1083..964ce9c5b0 100644 --- a/docs/examples/1.3.x/server-kotlin/java/account/update-status.md +++ b/docs/examples/1.3.x/server-kotlin/java/account/update-status.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/java/account/update-verification.md b/docs/examples/1.3.x/server-kotlin/java/account/update-verification.md index 2190daf1b7..76780f4ac6 100644 --- a/docs/examples/1.3.x/server-kotlin/java/account/update-verification.md +++ b/docs/examples/1.3.x/server-kotlin/java/account/update-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/java/avatars/get-browser.md b/docs/examples/1.3.x/server-kotlin/java/avatars/get-browser.md index 42e8e57ee1..0682288cfe 100644 --- a/docs/examples/1.3.x/server-kotlin/java/avatars/get-browser.md +++ b/docs/examples/1.3.x/server-kotlin/java/avatars/get-browser.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/avatars/get-credit-card.md b/docs/examples/1.3.x/server-kotlin/java/avatars/get-credit-card.md index 5e3b32b527..f821a7638c 100644 --- a/docs/examples/1.3.x/server-kotlin/java/avatars/get-credit-card.md +++ b/docs/examples/1.3.x/server-kotlin/java/avatars/get-credit-card.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/avatars/get-favicon.md b/docs/examples/1.3.x/server-kotlin/java/avatars/get-favicon.md index 109f88f719..95b91adb90 100644 --- a/docs/examples/1.3.x/server-kotlin/java/avatars/get-favicon.md +++ b/docs/examples/1.3.x/server-kotlin/java/avatars/get-favicon.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/avatars/get-flag.md b/docs/examples/1.3.x/server-kotlin/java/avatars/get-flag.md index 6ad820ae7a..f0e2cda52d 100644 --- a/docs/examples/1.3.x/server-kotlin/java/avatars/get-flag.md +++ b/docs/examples/1.3.x/server-kotlin/java/avatars/get-flag.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/avatars/get-image.md b/docs/examples/1.3.x/server-kotlin/java/avatars/get-image.md index 2680544988..765a8024e5 100644 --- a/docs/examples/1.3.x/server-kotlin/java/avatars/get-image.md +++ b/docs/examples/1.3.x/server-kotlin/java/avatars/get-image.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/avatars/get-initials.md b/docs/examples/1.3.x/server-kotlin/java/avatars/get-initials.md index 8a86e7a01b..8cbcee1497 100644 --- a/docs/examples/1.3.x/server-kotlin/java/avatars/get-initials.md +++ b/docs/examples/1.3.x/server-kotlin/java/avatars/get-initials.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/avatars/get-q-r.md b/docs/examples/1.3.x/server-kotlin/java/avatars/get-q-r.md index c57d70a840..2d7e133281 100644 --- a/docs/examples/1.3.x/server-kotlin/java/avatars/get-q-r.md +++ b/docs/examples/1.3.x/server-kotlin/java/avatars/get-q-r.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/create-boolean-attribute.md b/docs/examples/1.3.x/server-kotlin/java/databases/create-boolean-attribute.md index 6e79f0a917..c5d83a05ff 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/create-boolean-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/create-boolean-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/create-collection.md b/docs/examples/1.3.x/server-kotlin/java/databases/create-collection.md index 96b5d9b974..77b5c9f7b7 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/create-collection.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/create-collection.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/create-datetime-attribute.md b/docs/examples/1.3.x/server-kotlin/java/databases/create-datetime-attribute.md index 307a8ffb65..c6d3c6f229 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/create-datetime-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/create-datetime-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/create-document.md b/docs/examples/1.3.x/server-kotlin/java/databases/create-document.md index 029c3f7a25..ede98c6046 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/create-document.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/create-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/create-email-attribute.md b/docs/examples/1.3.x/server-kotlin/java/databases/create-email-attribute.md index 8774c550b7..0200f11e7d 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/create-email-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/create-email-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/create-enum-attribute.md b/docs/examples/1.3.x/server-kotlin/java/databases/create-enum-attribute.md index e2cf6a28df..c4ae2933a4 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/create-enum-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/create-enum-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/create-float-attribute.md b/docs/examples/1.3.x/server-kotlin/java/databases/create-float-attribute.md index 0fba6ac073..ceede982b0 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/create-float-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/create-float-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/create-index.md b/docs/examples/1.3.x/server-kotlin/java/databases/create-index.md index 5dbdce895b..44eba1df01 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/create-index.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/create-index.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/create-integer-attribute.md b/docs/examples/1.3.x/server-kotlin/java/databases/create-integer-attribute.md index 5446862fdb..b0d8028a62 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/create-integer-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/create-integer-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/create-ip-attribute.md b/docs/examples/1.3.x/server-kotlin/java/databases/create-ip-attribute.md index fe37da96d5..a8ade8a412 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/create-ip-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/create-ip-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/create-relationship-attribute.md b/docs/examples/1.3.x/server-kotlin/java/databases/create-relationship-attribute.md index 0b7e5f999f..1c54712e5a 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/create-relationship-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/create-relationship-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/create-string-attribute.md b/docs/examples/1.3.x/server-kotlin/java/databases/create-string-attribute.md index a9b1916066..1a767be1d8 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/create-string-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/create-string-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/create-url-attribute.md b/docs/examples/1.3.x/server-kotlin/java/databases/create-url-attribute.md index 9c504d862b..c1bee6e0ba 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/create-url-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/create-url-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/create.md b/docs/examples/1.3.x/server-kotlin/java/databases/create.md index cd3cb34db7..e82a65c08a 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/create.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/create.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/delete-attribute.md b/docs/examples/1.3.x/server-kotlin/java/databases/delete-attribute.md index 68aeecd93b..d58ba87b28 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/delete-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/delete-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/delete-collection.md b/docs/examples/1.3.x/server-kotlin/java/databases/delete-collection.md index cd328b48a6..370781bea9 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/delete-collection.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/delete-collection.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/delete-document.md b/docs/examples/1.3.x/server-kotlin/java/databases/delete-document.md index 4f4c8495c3..46b9edf2f6 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/delete-document.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/delete-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/delete-index.md b/docs/examples/1.3.x/server-kotlin/java/databases/delete-index.md index 640bd0fc31..d633a8a2ae 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/delete-index.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/delete-index.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/delete.md b/docs/examples/1.3.x/server-kotlin/java/databases/delete.md index 897a450fa4..a7fad611e0 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/delete.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/delete.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/get-attribute.md b/docs/examples/1.3.x/server-kotlin/java/databases/get-attribute.md index 79c1d2b2ad..fcea6fefb9 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/get-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/get-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/get-collection.md b/docs/examples/1.3.x/server-kotlin/java/databases/get-collection.md index 3ecfa0ca80..ce0eea0cb3 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/get-collection.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/get-collection.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/get-document.md b/docs/examples/1.3.x/server-kotlin/java/databases/get-document.md index 2061bed202..cac1612f0c 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/get-document.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/get-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/get-index.md b/docs/examples/1.3.x/server-kotlin/java/databases/get-index.md index 2bf036a057..753fef468f 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/get-index.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/get-index.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/get.md b/docs/examples/1.3.x/server-kotlin/java/databases/get.md index 066ec4d262..d4eeb222fd 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/get.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/list-attributes.md b/docs/examples/1.3.x/server-kotlin/java/databases/list-attributes.md index aafeca4a83..1d75e81a43 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/list-attributes.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/list-attributes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/list-collections.md b/docs/examples/1.3.x/server-kotlin/java/databases/list-collections.md index 67c343f38a..639a45bc2e 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/list-collections.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/list-collections.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/list-documents.md b/docs/examples/1.3.x/server-kotlin/java/databases/list-documents.md index 7a4a1b70b2..56de64ca4c 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/list-documents.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/list-documents.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/list-indexes.md b/docs/examples/1.3.x/server-kotlin/java/databases/list-indexes.md index 1f5cf0c30f..7ef4b6d434 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/list-indexes.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/list-indexes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/list.md b/docs/examples/1.3.x/server-kotlin/java/databases/list.md index 04f81867f0..b46abf235c 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/list.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/list.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/update-boolean-attribute.md b/docs/examples/1.3.x/server-kotlin/java/databases/update-boolean-attribute.md index 97cee2d548..ac9e320cec 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/update-boolean-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/update-boolean-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/update-collection.md b/docs/examples/1.3.x/server-kotlin/java/databases/update-collection.md index 3f25c5047e..831193fbf5 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/update-collection.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/update-collection.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/update-datetime-attribute.md b/docs/examples/1.3.x/server-kotlin/java/databases/update-datetime-attribute.md index 503f2debdf..4b143f17ba 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/update-datetime-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/update-datetime-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/update-document.md b/docs/examples/1.3.x/server-kotlin/java/databases/update-document.md index e9a596d3d4..3975588466 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/update-document.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/update-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/update-email-attribute.md b/docs/examples/1.3.x/server-kotlin/java/databases/update-email-attribute.md index 39ea153834..336c25482e 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/update-email-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/update-email-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/update-enum-attribute.md b/docs/examples/1.3.x/server-kotlin/java/databases/update-enum-attribute.md index 969ea4eece..cd9622fff9 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/update-enum-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/update-enum-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/update-float-attribute.md b/docs/examples/1.3.x/server-kotlin/java/databases/update-float-attribute.md index 67d76e425f..0e84626db7 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/update-float-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/update-float-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/update-integer-attribute.md b/docs/examples/1.3.x/server-kotlin/java/databases/update-integer-attribute.md index b9308dc22b..8cac261488 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/update-integer-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/update-integer-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/update-ip-attribute.md b/docs/examples/1.3.x/server-kotlin/java/databases/update-ip-attribute.md index 6a936a5f36..51cb161ea2 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/update-ip-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/update-ip-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/update-relationship-attribute.md b/docs/examples/1.3.x/server-kotlin/java/databases/update-relationship-attribute.md index 272952b597..624e66ed73 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/update-relationship-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/update-relationship-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/update-string-attribute.md b/docs/examples/1.3.x/server-kotlin/java/databases/update-string-attribute.md index aba0d0e53c..1f605fd0ee 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/update-string-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/update-string-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/update-url-attribute.md b/docs/examples/1.3.x/server-kotlin/java/databases/update-url-attribute.md index 87ab384929..f1e29c43bc 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/update-url-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/update-url-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/databases/update.md b/docs/examples/1.3.x/server-kotlin/java/databases/update.md index 3f4b4e1933..e5bf2ed66c 100644 --- a/docs/examples/1.3.x/server-kotlin/java/databases/update.md +++ b/docs/examples/1.3.x/server-kotlin/java/databases/update.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/functions/create-build.md b/docs/examples/1.3.x/server-kotlin/java/functions/create-build.md index 10c8d2fc80..5a571f76e8 100644 --- a/docs/examples/1.3.x/server-kotlin/java/functions/create-build.md +++ b/docs/examples/1.3.x/server-kotlin/java/functions/create-build.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/functions/create-deployment.md b/docs/examples/1.3.x/server-kotlin/java/functions/create-deployment.md index ed79e4ecb4..6e11beaf47 100644 --- a/docs/examples/1.3.x/server-kotlin/java/functions/create-deployment.md +++ b/docs/examples/1.3.x/server-kotlin/java/functions/create-deployment.md @@ -4,7 +4,7 @@ import io.appwrite.models.InputFile; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/functions/create-execution.md b/docs/examples/1.3.x/server-kotlin/java/functions/create-execution.md index 315f57d5cb..d53744f70a 100644 --- a/docs/examples/1.3.x/server-kotlin/java/functions/create-execution.md +++ b/docs/examples/1.3.x/server-kotlin/java/functions/create-execution.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/functions/create-variable.md b/docs/examples/1.3.x/server-kotlin/java/functions/create-variable.md index 5e9c5a66bd..3ce9c2d944 100644 --- a/docs/examples/1.3.x/server-kotlin/java/functions/create-variable.md +++ b/docs/examples/1.3.x/server-kotlin/java/functions/create-variable.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/functions/create.md b/docs/examples/1.3.x/server-kotlin/java/functions/create.md index 2386c1bbad..26e9b76909 100644 --- a/docs/examples/1.3.x/server-kotlin/java/functions/create.md +++ b/docs/examples/1.3.x/server-kotlin/java/functions/create.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/functions/delete-deployment.md b/docs/examples/1.3.x/server-kotlin/java/functions/delete-deployment.md index 703dce63aa..2da778a970 100644 --- a/docs/examples/1.3.x/server-kotlin/java/functions/delete-deployment.md +++ b/docs/examples/1.3.x/server-kotlin/java/functions/delete-deployment.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/functions/delete-variable.md b/docs/examples/1.3.x/server-kotlin/java/functions/delete-variable.md index d36615092d..cbdfabc97b 100644 --- a/docs/examples/1.3.x/server-kotlin/java/functions/delete-variable.md +++ b/docs/examples/1.3.x/server-kotlin/java/functions/delete-variable.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/functions/delete.md b/docs/examples/1.3.x/server-kotlin/java/functions/delete.md index 8f39896411..2f4eb011f1 100644 --- a/docs/examples/1.3.x/server-kotlin/java/functions/delete.md +++ b/docs/examples/1.3.x/server-kotlin/java/functions/delete.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/functions/get-deployment.md b/docs/examples/1.3.x/server-kotlin/java/functions/get-deployment.md index 5b539d2801..54bf0c461a 100644 --- a/docs/examples/1.3.x/server-kotlin/java/functions/get-deployment.md +++ b/docs/examples/1.3.x/server-kotlin/java/functions/get-deployment.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/functions/get-execution.md b/docs/examples/1.3.x/server-kotlin/java/functions/get-execution.md index b1ff9485e8..00bb0a1ab8 100644 --- a/docs/examples/1.3.x/server-kotlin/java/functions/get-execution.md +++ b/docs/examples/1.3.x/server-kotlin/java/functions/get-execution.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/functions/get-variable.md b/docs/examples/1.3.x/server-kotlin/java/functions/get-variable.md index 2be25a5c73..01a0537064 100644 --- a/docs/examples/1.3.x/server-kotlin/java/functions/get-variable.md +++ b/docs/examples/1.3.x/server-kotlin/java/functions/get-variable.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/functions/get.md b/docs/examples/1.3.x/server-kotlin/java/functions/get.md index 8ad5ea3522..f6eb035a3e 100644 --- a/docs/examples/1.3.x/server-kotlin/java/functions/get.md +++ b/docs/examples/1.3.x/server-kotlin/java/functions/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/functions/list-deployments.md b/docs/examples/1.3.x/server-kotlin/java/functions/list-deployments.md index 61f48c88c3..c5a81048ec 100644 --- a/docs/examples/1.3.x/server-kotlin/java/functions/list-deployments.md +++ b/docs/examples/1.3.x/server-kotlin/java/functions/list-deployments.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/functions/list-executions.md b/docs/examples/1.3.x/server-kotlin/java/functions/list-executions.md index 392e9c82c5..f4db7948df 100644 --- a/docs/examples/1.3.x/server-kotlin/java/functions/list-executions.md +++ b/docs/examples/1.3.x/server-kotlin/java/functions/list-executions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/functions/list-runtimes.md b/docs/examples/1.3.x/server-kotlin/java/functions/list-runtimes.md index 46d0446310..968f019f02 100644 --- a/docs/examples/1.3.x/server-kotlin/java/functions/list-runtimes.md +++ b/docs/examples/1.3.x/server-kotlin/java/functions/list-runtimes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/functions/list-variables.md b/docs/examples/1.3.x/server-kotlin/java/functions/list-variables.md index 4fa47e8c57..ad6d522b8f 100644 --- a/docs/examples/1.3.x/server-kotlin/java/functions/list-variables.md +++ b/docs/examples/1.3.x/server-kotlin/java/functions/list-variables.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/functions/list.md b/docs/examples/1.3.x/server-kotlin/java/functions/list.md index 4224cf52b7..253cbafaa1 100644 --- a/docs/examples/1.3.x/server-kotlin/java/functions/list.md +++ b/docs/examples/1.3.x/server-kotlin/java/functions/list.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/functions/update-deployment.md b/docs/examples/1.3.x/server-kotlin/java/functions/update-deployment.md index 2af0637379..9e1db35071 100644 --- a/docs/examples/1.3.x/server-kotlin/java/functions/update-deployment.md +++ b/docs/examples/1.3.x/server-kotlin/java/functions/update-deployment.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/functions/update-variable.md b/docs/examples/1.3.x/server-kotlin/java/functions/update-variable.md index f30bbf8e4e..c841731b53 100644 --- a/docs/examples/1.3.x/server-kotlin/java/functions/update-variable.md +++ b/docs/examples/1.3.x/server-kotlin/java/functions/update-variable.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/functions/update.md b/docs/examples/1.3.x/server-kotlin/java/functions/update.md index 8a53d75ea4..d8c209b53a 100644 --- a/docs/examples/1.3.x/server-kotlin/java/functions/update.md +++ b/docs/examples/1.3.x/server-kotlin/java/functions/update.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/graphql/mutation.md b/docs/examples/1.3.x/server-kotlin/java/graphql/mutation.md index d689c62e60..9e93425d24 100644 --- a/docs/examples/1.3.x/server-kotlin/java/graphql/mutation.md +++ b/docs/examples/1.3.x/server-kotlin/java/graphql/mutation.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Graphql; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/graphql/query.md b/docs/examples/1.3.x/server-kotlin/java/graphql/query.md index e4b8693b4f..4ce7a5e66a 100644 --- a/docs/examples/1.3.x/server-kotlin/java/graphql/query.md +++ b/docs/examples/1.3.x/server-kotlin/java/graphql/query.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Graphql; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/health/get-antivirus.md b/docs/examples/1.3.x/server-kotlin/java/health/get-antivirus.md index 334563fd1c..0e08140132 100644 --- a/docs/examples/1.3.x/server-kotlin/java/health/get-antivirus.md +++ b/docs/examples/1.3.x/server-kotlin/java/health/get-antivirus.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/health/get-cache.md b/docs/examples/1.3.x/server-kotlin/java/health/get-cache.md index 9a2981253a..4c53f7a35b 100644 --- a/docs/examples/1.3.x/server-kotlin/java/health/get-cache.md +++ b/docs/examples/1.3.x/server-kotlin/java/health/get-cache.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/health/get-d-b.md b/docs/examples/1.3.x/server-kotlin/java/health/get-d-b.md index 22a5a6b5bb..9958d8bbdc 100644 --- a/docs/examples/1.3.x/server-kotlin/java/health/get-d-b.md +++ b/docs/examples/1.3.x/server-kotlin/java/health/get-d-b.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/health/get-queue-certificates.md b/docs/examples/1.3.x/server-kotlin/java/health/get-queue-certificates.md index a0a3a22f8a..7f4c32f49b 100644 --- a/docs/examples/1.3.x/server-kotlin/java/health/get-queue-certificates.md +++ b/docs/examples/1.3.x/server-kotlin/java/health/get-queue-certificates.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/health/get-queue-functions.md b/docs/examples/1.3.x/server-kotlin/java/health/get-queue-functions.md index 54b425f63c..556c3e73e4 100644 --- a/docs/examples/1.3.x/server-kotlin/java/health/get-queue-functions.md +++ b/docs/examples/1.3.x/server-kotlin/java/health/get-queue-functions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/health/get-queue-logs.md b/docs/examples/1.3.x/server-kotlin/java/health/get-queue-logs.md index 371c98f06d..075eebf85d 100644 --- a/docs/examples/1.3.x/server-kotlin/java/health/get-queue-logs.md +++ b/docs/examples/1.3.x/server-kotlin/java/health/get-queue-logs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/health/get-queue-webhooks.md b/docs/examples/1.3.x/server-kotlin/java/health/get-queue-webhooks.md index cbd6919d72..344945db0a 100644 --- a/docs/examples/1.3.x/server-kotlin/java/health/get-queue-webhooks.md +++ b/docs/examples/1.3.x/server-kotlin/java/health/get-queue-webhooks.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/health/get-storage-local.md b/docs/examples/1.3.x/server-kotlin/java/health/get-storage-local.md index a57f34520d..527499f94e 100644 --- a/docs/examples/1.3.x/server-kotlin/java/health/get-storage-local.md +++ b/docs/examples/1.3.x/server-kotlin/java/health/get-storage-local.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/health/get-time.md b/docs/examples/1.3.x/server-kotlin/java/health/get-time.md index 36b276b4d7..0f78d41247 100644 --- a/docs/examples/1.3.x/server-kotlin/java/health/get-time.md +++ b/docs/examples/1.3.x/server-kotlin/java/health/get-time.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/health/get.md b/docs/examples/1.3.x/server-kotlin/java/health/get.md index 59badb0543..a14a4b5aec 100644 --- a/docs/examples/1.3.x/server-kotlin/java/health/get.md +++ b/docs/examples/1.3.x/server-kotlin/java/health/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/locale/get.md b/docs/examples/1.3.x/server-kotlin/java/locale/get.md index 4fb6be9416..22137f75b7 100644 --- a/docs/examples/1.3.x/server-kotlin/java/locale/get.md +++ b/docs/examples/1.3.x/server-kotlin/java/locale/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/locale/list-continents.md b/docs/examples/1.3.x/server-kotlin/java/locale/list-continents.md index 661fcc3583..3933873e37 100644 --- a/docs/examples/1.3.x/server-kotlin/java/locale/list-continents.md +++ b/docs/examples/1.3.x/server-kotlin/java/locale/list-continents.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/locale/list-countries-e-u.md b/docs/examples/1.3.x/server-kotlin/java/locale/list-countries-e-u.md index 6164ca02d2..9cb744abcb 100644 --- a/docs/examples/1.3.x/server-kotlin/java/locale/list-countries-e-u.md +++ b/docs/examples/1.3.x/server-kotlin/java/locale/list-countries-e-u.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/locale/list-countries-phones.md b/docs/examples/1.3.x/server-kotlin/java/locale/list-countries-phones.md index 2cb41c19f2..c81457dbbf 100644 --- a/docs/examples/1.3.x/server-kotlin/java/locale/list-countries-phones.md +++ b/docs/examples/1.3.x/server-kotlin/java/locale/list-countries-phones.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/locale/list-countries.md b/docs/examples/1.3.x/server-kotlin/java/locale/list-countries.md index 74d3b5d402..491b654ede 100644 --- a/docs/examples/1.3.x/server-kotlin/java/locale/list-countries.md +++ b/docs/examples/1.3.x/server-kotlin/java/locale/list-countries.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/locale/list-currencies.md b/docs/examples/1.3.x/server-kotlin/java/locale/list-currencies.md index 54a0e4de40..a4c49e3568 100644 --- a/docs/examples/1.3.x/server-kotlin/java/locale/list-currencies.md +++ b/docs/examples/1.3.x/server-kotlin/java/locale/list-currencies.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/locale/list-languages.md b/docs/examples/1.3.x/server-kotlin/java/locale/list-languages.md index 54976c5c08..4f09bab65c 100644 --- a/docs/examples/1.3.x/server-kotlin/java/locale/list-languages.md +++ b/docs/examples/1.3.x/server-kotlin/java/locale/list-languages.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/storage/create-bucket.md b/docs/examples/1.3.x/server-kotlin/java/storage/create-bucket.md index c9ebc9178c..268fa1563e 100644 --- a/docs/examples/1.3.x/server-kotlin/java/storage/create-bucket.md +++ b/docs/examples/1.3.x/server-kotlin/java/storage/create-bucket.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/storage/create-file.md b/docs/examples/1.3.x/server-kotlin/java/storage/create-file.md index c83557bf28..e6cdf74852 100644 --- a/docs/examples/1.3.x/server-kotlin/java/storage/create-file.md +++ b/docs/examples/1.3.x/server-kotlin/java/storage/create-file.md @@ -4,7 +4,7 @@ import io.appwrite.models.InputFile; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/storage/delete-bucket.md b/docs/examples/1.3.x/server-kotlin/java/storage/delete-bucket.md index f26e9ee5a1..c7844f9e90 100644 --- a/docs/examples/1.3.x/server-kotlin/java/storage/delete-bucket.md +++ b/docs/examples/1.3.x/server-kotlin/java/storage/delete-bucket.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/storage/delete-file.md b/docs/examples/1.3.x/server-kotlin/java/storage/delete-file.md index eb00b9706c..b9095c139b 100644 --- a/docs/examples/1.3.x/server-kotlin/java/storage/delete-file.md +++ b/docs/examples/1.3.x/server-kotlin/java/storage/delete-file.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/storage/get-bucket.md b/docs/examples/1.3.x/server-kotlin/java/storage/get-bucket.md index 2157dd7424..f44d23fe90 100644 --- a/docs/examples/1.3.x/server-kotlin/java/storage/get-bucket.md +++ b/docs/examples/1.3.x/server-kotlin/java/storage/get-bucket.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/storage/get-file-download.md b/docs/examples/1.3.x/server-kotlin/java/storage/get-file-download.md index 8eef7e347e..0b1207a017 100644 --- a/docs/examples/1.3.x/server-kotlin/java/storage/get-file-download.md +++ b/docs/examples/1.3.x/server-kotlin/java/storage/get-file-download.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/storage/get-file-preview.md b/docs/examples/1.3.x/server-kotlin/java/storage/get-file-preview.md index 275e803000..1356607a32 100644 --- a/docs/examples/1.3.x/server-kotlin/java/storage/get-file-preview.md +++ b/docs/examples/1.3.x/server-kotlin/java/storage/get-file-preview.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/storage/get-file-view.md b/docs/examples/1.3.x/server-kotlin/java/storage/get-file-view.md index adc0407c35..d5aa220f23 100644 --- a/docs/examples/1.3.x/server-kotlin/java/storage/get-file-view.md +++ b/docs/examples/1.3.x/server-kotlin/java/storage/get-file-view.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/storage/get-file.md b/docs/examples/1.3.x/server-kotlin/java/storage/get-file.md index 4cb6fe6db3..0bd4f682b1 100644 --- a/docs/examples/1.3.x/server-kotlin/java/storage/get-file.md +++ b/docs/examples/1.3.x/server-kotlin/java/storage/get-file.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/storage/list-buckets.md b/docs/examples/1.3.x/server-kotlin/java/storage/list-buckets.md index 49c29cad2d..e3a69b43d9 100644 --- a/docs/examples/1.3.x/server-kotlin/java/storage/list-buckets.md +++ b/docs/examples/1.3.x/server-kotlin/java/storage/list-buckets.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/storage/list-files.md b/docs/examples/1.3.x/server-kotlin/java/storage/list-files.md index 59719e530f..dc87428ebb 100644 --- a/docs/examples/1.3.x/server-kotlin/java/storage/list-files.md +++ b/docs/examples/1.3.x/server-kotlin/java/storage/list-files.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/storage/update-bucket.md b/docs/examples/1.3.x/server-kotlin/java/storage/update-bucket.md index 05483ea725..08c77804e2 100644 --- a/docs/examples/1.3.x/server-kotlin/java/storage/update-bucket.md +++ b/docs/examples/1.3.x/server-kotlin/java/storage/update-bucket.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/storage/update-file.md b/docs/examples/1.3.x/server-kotlin/java/storage/update-file.md index 05385c2b88..d2a1b6c427 100644 --- a/docs/examples/1.3.x/server-kotlin/java/storage/update-file.md +++ b/docs/examples/1.3.x/server-kotlin/java/storage/update-file.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/teams/create-membership.md b/docs/examples/1.3.x/server-kotlin/java/teams/create-membership.md index 0ad2dd1bf0..dd27a70a80 100644 --- a/docs/examples/1.3.x/server-kotlin/java/teams/create-membership.md +++ b/docs/examples/1.3.x/server-kotlin/java/teams/create-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/teams/create.md b/docs/examples/1.3.x/server-kotlin/java/teams/create.md index 4f3be33609..75d13b6106 100644 --- a/docs/examples/1.3.x/server-kotlin/java/teams/create.md +++ b/docs/examples/1.3.x/server-kotlin/java/teams/create.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/teams/delete-membership.md b/docs/examples/1.3.x/server-kotlin/java/teams/delete-membership.md index e82ab293be..26d0fba99c 100644 --- a/docs/examples/1.3.x/server-kotlin/java/teams/delete-membership.md +++ b/docs/examples/1.3.x/server-kotlin/java/teams/delete-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/teams/delete.md b/docs/examples/1.3.x/server-kotlin/java/teams/delete.md index fa805ebd4d..7699d575bf 100644 --- a/docs/examples/1.3.x/server-kotlin/java/teams/delete.md +++ b/docs/examples/1.3.x/server-kotlin/java/teams/delete.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/teams/get-membership.md b/docs/examples/1.3.x/server-kotlin/java/teams/get-membership.md index fc00d43873..e901b4438e 100644 --- a/docs/examples/1.3.x/server-kotlin/java/teams/get-membership.md +++ b/docs/examples/1.3.x/server-kotlin/java/teams/get-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/teams/get-prefs.md b/docs/examples/1.3.x/server-kotlin/java/teams/get-prefs.md index b14dfc94d3..8809420b19 100644 --- a/docs/examples/1.3.x/server-kotlin/java/teams/get-prefs.md +++ b/docs/examples/1.3.x/server-kotlin/java/teams/get-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/java/teams/get.md b/docs/examples/1.3.x/server-kotlin/java/teams/get.md index 6be034b418..ef9c02df2f 100644 --- a/docs/examples/1.3.x/server-kotlin/java/teams/get.md +++ b/docs/examples/1.3.x/server-kotlin/java/teams/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/teams/list-memberships.md b/docs/examples/1.3.x/server-kotlin/java/teams/list-memberships.md index 0b9055f816..8abf464490 100644 --- a/docs/examples/1.3.x/server-kotlin/java/teams/list-memberships.md +++ b/docs/examples/1.3.x/server-kotlin/java/teams/list-memberships.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/teams/list.md b/docs/examples/1.3.x/server-kotlin/java/teams/list.md index 22a9d51d5f..5f0540e6c4 100644 --- a/docs/examples/1.3.x/server-kotlin/java/teams/list.md +++ b/docs/examples/1.3.x/server-kotlin/java/teams/list.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/teams/update-membership-roles.md b/docs/examples/1.3.x/server-kotlin/java/teams/update-membership-roles.md index 291417da5a..c485c0c0e6 100644 --- a/docs/examples/1.3.x/server-kotlin/java/teams/update-membership-roles.md +++ b/docs/examples/1.3.x/server-kotlin/java/teams/update-membership-roles.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/teams/update-membership-status.md b/docs/examples/1.3.x/server-kotlin/java/teams/update-membership-status.md index 64e69663d4..54ea987715 100644 --- a/docs/examples/1.3.x/server-kotlin/java/teams/update-membership-status.md +++ b/docs/examples/1.3.x/server-kotlin/java/teams/update-membership-status.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/java/teams/update-name.md b/docs/examples/1.3.x/server-kotlin/java/teams/update-name.md index 3d95ccb9d2..317113b616 100644 --- a/docs/examples/1.3.x/server-kotlin/java/teams/update-name.md +++ b/docs/examples/1.3.x/server-kotlin/java/teams/update-name.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/teams/update-prefs.md b/docs/examples/1.3.x/server-kotlin/java/teams/update-prefs.md index 674bc6424d..7667e504ba 100644 --- a/docs/examples/1.3.x/server-kotlin/java/teams/update-prefs.md +++ b/docs/examples/1.3.x/server-kotlin/java/teams/update-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/java/users/create-argon2user.md b/docs/examples/1.3.x/server-kotlin/java/users/create-argon2user.md index 47ac52c086..0f1faf77e5 100644 --- a/docs/examples/1.3.x/server-kotlin/java/users/create-argon2user.md +++ b/docs/examples/1.3.x/server-kotlin/java/users/create-argon2user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/users/create-bcrypt-user.md b/docs/examples/1.3.x/server-kotlin/java/users/create-bcrypt-user.md index 91989dff0f..3c34190dd3 100644 --- a/docs/examples/1.3.x/server-kotlin/java/users/create-bcrypt-user.md +++ b/docs/examples/1.3.x/server-kotlin/java/users/create-bcrypt-user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/users/create-m-d5user.md b/docs/examples/1.3.x/server-kotlin/java/users/create-m-d5user.md index 35de18d1a3..be38f913a6 100644 --- a/docs/examples/1.3.x/server-kotlin/java/users/create-m-d5user.md +++ b/docs/examples/1.3.x/server-kotlin/java/users/create-m-d5user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/users/create-p-h-pass-user.md b/docs/examples/1.3.x/server-kotlin/java/users/create-p-h-pass-user.md index 7501f02f2f..718f4100eb 100644 --- a/docs/examples/1.3.x/server-kotlin/java/users/create-p-h-pass-user.md +++ b/docs/examples/1.3.x/server-kotlin/java/users/create-p-h-pass-user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/users/create-s-h-a-user.md b/docs/examples/1.3.x/server-kotlin/java/users/create-s-h-a-user.md index ae26de5543..e67c874542 100644 --- a/docs/examples/1.3.x/server-kotlin/java/users/create-s-h-a-user.md +++ b/docs/examples/1.3.x/server-kotlin/java/users/create-s-h-a-user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/users/create-scrypt-modified-user.md b/docs/examples/1.3.x/server-kotlin/java/users/create-scrypt-modified-user.md index da0936a01b..7a665a7c94 100644 --- a/docs/examples/1.3.x/server-kotlin/java/users/create-scrypt-modified-user.md +++ b/docs/examples/1.3.x/server-kotlin/java/users/create-scrypt-modified-user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/users/create-scrypt-user.md b/docs/examples/1.3.x/server-kotlin/java/users/create-scrypt-user.md index 9b48e06fbd..9a99af8410 100644 --- a/docs/examples/1.3.x/server-kotlin/java/users/create-scrypt-user.md +++ b/docs/examples/1.3.x/server-kotlin/java/users/create-scrypt-user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/users/create.md b/docs/examples/1.3.x/server-kotlin/java/users/create.md index 97aad15302..c9b3c8558e 100644 --- a/docs/examples/1.3.x/server-kotlin/java/users/create.md +++ b/docs/examples/1.3.x/server-kotlin/java/users/create.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/users/delete-session.md b/docs/examples/1.3.x/server-kotlin/java/users/delete-session.md index 8415328406..dfde18e516 100644 --- a/docs/examples/1.3.x/server-kotlin/java/users/delete-session.md +++ b/docs/examples/1.3.x/server-kotlin/java/users/delete-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/users/delete-sessions.md b/docs/examples/1.3.x/server-kotlin/java/users/delete-sessions.md index 9a2284c493..45ed56eb53 100644 --- a/docs/examples/1.3.x/server-kotlin/java/users/delete-sessions.md +++ b/docs/examples/1.3.x/server-kotlin/java/users/delete-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/users/delete.md b/docs/examples/1.3.x/server-kotlin/java/users/delete.md index 893a4d3794..7120f8035c 100644 --- a/docs/examples/1.3.x/server-kotlin/java/users/delete.md +++ b/docs/examples/1.3.x/server-kotlin/java/users/delete.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/users/get-prefs.md b/docs/examples/1.3.x/server-kotlin/java/users/get-prefs.md index 664843e32c..2c3190194a 100644 --- a/docs/examples/1.3.x/server-kotlin/java/users/get-prefs.md +++ b/docs/examples/1.3.x/server-kotlin/java/users/get-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/users/get.md b/docs/examples/1.3.x/server-kotlin/java/users/get.md index 1be96aee11..43d32f8d1a 100644 --- a/docs/examples/1.3.x/server-kotlin/java/users/get.md +++ b/docs/examples/1.3.x/server-kotlin/java/users/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/users/list-logs.md b/docs/examples/1.3.x/server-kotlin/java/users/list-logs.md index 08ace35a19..df4964211c 100644 --- a/docs/examples/1.3.x/server-kotlin/java/users/list-logs.md +++ b/docs/examples/1.3.x/server-kotlin/java/users/list-logs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/users/list-memberships.md b/docs/examples/1.3.x/server-kotlin/java/users/list-memberships.md index 503dbcb10a..89c90c8cc8 100644 --- a/docs/examples/1.3.x/server-kotlin/java/users/list-memberships.md +++ b/docs/examples/1.3.x/server-kotlin/java/users/list-memberships.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/users/list-sessions.md b/docs/examples/1.3.x/server-kotlin/java/users/list-sessions.md index efe091fe74..8ea8833c2e 100644 --- a/docs/examples/1.3.x/server-kotlin/java/users/list-sessions.md +++ b/docs/examples/1.3.x/server-kotlin/java/users/list-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/users/list.md b/docs/examples/1.3.x/server-kotlin/java/users/list.md index d591bce79e..0ca7928061 100644 --- a/docs/examples/1.3.x/server-kotlin/java/users/list.md +++ b/docs/examples/1.3.x/server-kotlin/java/users/list.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/users/update-email-verification.md b/docs/examples/1.3.x/server-kotlin/java/users/update-email-verification.md index 3d6d205bce..91b989b668 100644 --- a/docs/examples/1.3.x/server-kotlin/java/users/update-email-verification.md +++ b/docs/examples/1.3.x/server-kotlin/java/users/update-email-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/users/update-email.md b/docs/examples/1.3.x/server-kotlin/java/users/update-email.md index d0e9b17c1d..2d29d4cab1 100644 --- a/docs/examples/1.3.x/server-kotlin/java/users/update-email.md +++ b/docs/examples/1.3.x/server-kotlin/java/users/update-email.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/users/update-name.md b/docs/examples/1.3.x/server-kotlin/java/users/update-name.md index e16f539bdc..9df5a00fd3 100644 --- a/docs/examples/1.3.x/server-kotlin/java/users/update-name.md +++ b/docs/examples/1.3.x/server-kotlin/java/users/update-name.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/users/update-password.md b/docs/examples/1.3.x/server-kotlin/java/users/update-password.md index c94e6dd77b..2d2f87ea02 100644 --- a/docs/examples/1.3.x/server-kotlin/java/users/update-password.md +++ b/docs/examples/1.3.x/server-kotlin/java/users/update-password.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/users/update-phone-verification.md b/docs/examples/1.3.x/server-kotlin/java/users/update-phone-verification.md index 8c9a26d609..ac7796c041 100644 --- a/docs/examples/1.3.x/server-kotlin/java/users/update-phone-verification.md +++ b/docs/examples/1.3.x/server-kotlin/java/users/update-phone-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/users/update-phone.md b/docs/examples/1.3.x/server-kotlin/java/users/update-phone.md index 4a2accb793..007d78dfd3 100644 --- a/docs/examples/1.3.x/server-kotlin/java/users/update-phone.md +++ b/docs/examples/1.3.x/server-kotlin/java/users/update-phone.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/users/update-prefs.md b/docs/examples/1.3.x/server-kotlin/java/users/update-prefs.md index b12a5d8e4f..655ab79f5b 100644 --- a/docs/examples/1.3.x/server-kotlin/java/users/update-prefs.md +++ b/docs/examples/1.3.x/server-kotlin/java/users/update-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/java/users/update-status.md b/docs/examples/1.3.x/server-kotlin/java/users/update-status.md index 012142cad7..d4c753e8d8 100644 --- a/docs/examples/1.3.x/server-kotlin/java/users/update-status.md +++ b/docs/examples/1.3.x/server-kotlin/java/users/update-status.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/account/create-phone-verification.md b/docs/examples/1.3.x/server-kotlin/kotlin/account/create-phone-verification.md index e18d4ce13b..9af377fed5 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/account/create-phone-verification.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/account/create-phone-verification.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/account/create-recovery.md b/docs/examples/1.3.x/server-kotlin/kotlin/account/create-recovery.md index a219cb8196..5a207d31f2 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/account/create-recovery.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/account/create-recovery.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/account/create-verification.md b/docs/examples/1.3.x/server-kotlin/kotlin/account/create-verification.md index 33846f1dba..6ba8071254 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/account/create-verification.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/account/create-verification.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/account/delete-session.md b/docs/examples/1.3.x/server-kotlin/kotlin/account/delete-session.md index 60aa4f2604..76e71066c5 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/account/delete-session.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/account/delete-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/account/delete-sessions.md b/docs/examples/1.3.x/server-kotlin/kotlin/account/delete-sessions.md index a16622a526..ac82578c8e 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/account/delete-sessions.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/account/delete-sessions.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/account/get-prefs.md b/docs/examples/1.3.x/server-kotlin/kotlin/account/get-prefs.md index dbbba1d98f..eba56b21df 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/account/get-prefs.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/account/get-prefs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/account/get-session.md b/docs/examples/1.3.x/server-kotlin/kotlin/account/get-session.md index 07861109b6..98b112b912 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/account/get-session.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/account/get-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/account/get.md b/docs/examples/1.3.x/server-kotlin/kotlin/account/get.md index 1fb002ae24..95f5490652 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/account/get.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/account/get.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/account/list-logs.md b/docs/examples/1.3.x/server-kotlin/kotlin/account/list-logs.md index daddd75843..45ba397f94 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/account/list-logs.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/account/list-logs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/account/list-sessions.md b/docs/examples/1.3.x/server-kotlin/kotlin/account/list-sessions.md index 132a5da23b..6420e6afdb 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/account/list-sessions.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/account/list-sessions.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/account/update-email.md b/docs/examples/1.3.x/server-kotlin/kotlin/account/update-email.md index 1127bbc2b2..0c9216f923 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/account/update-email.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/account/update-email.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/account/update-name.md b/docs/examples/1.3.x/server-kotlin/kotlin/account/update-name.md index 3de89a503e..e5fb2264c4 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/account/update-name.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/account/update-name.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/account/update-password.md b/docs/examples/1.3.x/server-kotlin/kotlin/account/update-password.md index df92d9e928..36ea44466b 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/account/update-password.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/account/update-password.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/account/update-phone-verification.md b/docs/examples/1.3.x/server-kotlin/kotlin/account/update-phone-verification.md index 0ed51d30c2..7e0bb4905c 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/account/update-phone-verification.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/account/update-phone-verification.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/account/update-phone.md b/docs/examples/1.3.x/server-kotlin/kotlin/account/update-phone.md index 9c823bb6ac..334f0fe172 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/account/update-phone.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/account/update-phone.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/account/update-prefs.md b/docs/examples/1.3.x/server-kotlin/kotlin/account/update-prefs.md index 6226269a1f..542ddcc739 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/account/update-prefs.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/account/update-prefs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/account/update-recovery.md b/docs/examples/1.3.x/server-kotlin/kotlin/account/update-recovery.md index 1b676c1ad5..d0b04380e2 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/account/update-recovery.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/account/update-recovery.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/account/update-session.md b/docs/examples/1.3.x/server-kotlin/kotlin/account/update-session.md index bd3d28e3b8..61a3289047 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/account/update-session.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/account/update-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/account/update-status.md b/docs/examples/1.3.x/server-kotlin/kotlin/account/update-status.md index 3ed0627906..4f6562528d 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/account/update-status.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/account/update-status.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/account/update-verification.md b/docs/examples/1.3.x/server-kotlin/kotlin/account/update-verification.md index e73e555c60..288750a471 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/account/update-verification.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/account/update-verification.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/avatars/get-browser.md b/docs/examples/1.3.x/server-kotlin/kotlin/avatars/get-browser.md index e9f6eb2919..7dddeea92c 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/avatars/get-browser.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/avatars/get-browser.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/avatars/get-credit-card.md b/docs/examples/1.3.x/server-kotlin/kotlin/avatars/get-credit-card.md index c3413ac644..3c56eb7ca9 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/avatars/get-credit-card.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/avatars/get-credit-card.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/avatars/get-favicon.md b/docs/examples/1.3.x/server-kotlin/kotlin/avatars/get-favicon.md index cd1ea0c7b3..2e27b70a01 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/avatars/get-favicon.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/avatars/get-favicon.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/avatars/get-flag.md b/docs/examples/1.3.x/server-kotlin/kotlin/avatars/get-flag.md index a81c59ae60..e095c7b602 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/avatars/get-flag.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/avatars/get-flag.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/avatars/get-image.md b/docs/examples/1.3.x/server-kotlin/kotlin/avatars/get-image.md index 09cacde6f8..fd2e0c6149 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/avatars/get-image.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/avatars/get-image.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/avatars/get-initials.md b/docs/examples/1.3.x/server-kotlin/kotlin/avatars/get-initials.md index ba46fb0d29..c42703969d 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/avatars/get-initials.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/avatars/get-initials.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/avatars/get-q-r.md b/docs/examples/1.3.x/server-kotlin/kotlin/avatars/get-q-r.md index c43aabcfe3..2fc413de2b 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/avatars/get-q-r.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/avatars/get-q-r.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-boolean-attribute.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-boolean-attribute.md index 22de12384d..5a4e85568e 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-boolean-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-boolean-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-collection.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-collection.md index 9ba70cf2fe..c48d2d49a2 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-collection.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-collection.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-datetime-attribute.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-datetime-attribute.md index d410244ec8..9fe6efab3a 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-datetime-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-datetime-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-document.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-document.md index 95e5977b12..58bc103401 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-document.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-document.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-email-attribute.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-email-attribute.md index 292f31f525..081557e950 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-email-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-email-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-enum-attribute.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-enum-attribute.md index 99008a479b..e951b71b14 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-enum-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-enum-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-float-attribute.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-float-attribute.md index 6814962502..c26e5d37cc 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-float-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-float-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-index.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-index.md index 42b3dbe7e1..d635002a12 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-index.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-index.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-integer-attribute.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-integer-attribute.md index 57b2ff66a7..eafa05417a 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-integer-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-integer-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-ip-attribute.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-ip-attribute.md index f941b82c9e..daa18f083b 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-ip-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-ip-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-relationship-attribute.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-relationship-attribute.md index 22ebc4a5c7..a9a65f86a9 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-relationship-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-relationship-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-string-attribute.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-string-attribute.md index c5d3d52853..9993048477 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-string-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-string-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-url-attribute.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-url-attribute.md index 8cd0731da1..238c73b7cc 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-url-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/create-url-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/create.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/create.md index b70e39e4e9..15c83e2cb8 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/create.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/create.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/delete-attribute.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/delete-attribute.md index fef7a45cc4..9dddae53fc 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/delete-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/delete-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/delete-collection.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/delete-collection.md index 676359331a..4fb66423e0 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/delete-collection.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/delete-collection.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/delete-document.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/delete-document.md index 2bf047fe4e..361218721b 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/delete-document.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/delete-document.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/delete-index.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/delete-index.md index 59bd149224..e54aa39897 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/delete-index.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/delete-index.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/delete.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/delete.md index f927901f09..34d855ce23 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/delete.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/delete.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/get-attribute.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/get-attribute.md index 4bba2dfa16..d3840b13b5 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/get-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/get-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/get-collection.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/get-collection.md index 76ff9a1962..e7127649cd 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/get-collection.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/get-collection.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/get-document.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/get-document.md index 8bacaa57c2..da5761f085 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/get-document.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/get-document.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/get-index.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/get-index.md index 2d588dee73..d91f52b111 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/get-index.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/get-index.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/get.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/get.md index 5584d4dd87..1453534929 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/get.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/get.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/list-attributes.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/list-attributes.md index c0a5da5339..df87099247 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/list-attributes.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/list-attributes.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/list-collections.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/list-collections.md index f563c431a7..8035796f10 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/list-collections.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/list-collections.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/list-documents.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/list-documents.md index c081013fa0..df52ef1ab6 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/list-documents.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/list-documents.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/list-indexes.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/list-indexes.md index e8f659ebf3..a51586d4c3 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/list-indexes.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/list-indexes.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/list.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/list.md index 6ffece0bd5..d8c0090988 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/list.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/list.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-boolean-attribute.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-boolean-attribute.md index b74ad79547..ab0c1e23ac 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-boolean-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-boolean-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-collection.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-collection.md index f6ccffef9d..57aba21372 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-collection.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-collection.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-datetime-attribute.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-datetime-attribute.md index 013e437db5..e50375fa60 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-datetime-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-datetime-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-document.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-document.md index 10ff4c4b4c..4abc8c5e8e 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-document.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-document.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-email-attribute.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-email-attribute.md index 39ca4939ce..ace50c6702 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-email-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-email-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-enum-attribute.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-enum-attribute.md index ece9f22c76..c13303e9bb 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-enum-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-enum-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-float-attribute.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-float-attribute.md index ed9ec055e8..951dba5723 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-float-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-float-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-integer-attribute.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-integer-attribute.md index e881b01fa6..2bf2f0c318 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-integer-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-integer-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-ip-attribute.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-ip-attribute.md index 5ebe893ed5..7f44301382 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-ip-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-ip-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-relationship-attribute.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-relationship-attribute.md index 9c0ffecae6..b04e76c0dd 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-relationship-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-relationship-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-string-attribute.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-string-attribute.md index c8db170954..ff99f7d068 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-string-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-string-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-url-attribute.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-url-attribute.md index 71d9bde848..03ab3c4a74 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-url-attribute.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/update-url-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/databases/update.md b/docs/examples/1.3.x/server-kotlin/kotlin/databases/update.md index d465a8dc3f..a8c9dce5f5 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/databases/update.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/databases/update.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/functions/create-build.md b/docs/examples/1.3.x/server-kotlin/kotlin/functions/create-build.md index 62f9d1addd..fafed65c35 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/functions/create-build.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/functions/create-build.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/functions/create-deployment.md b/docs/examples/1.3.x/server-kotlin/kotlin/functions/create-deployment.md index c94c3fa5b8..695fdc7f29 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/functions/create-deployment.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/functions/create-deployment.md @@ -3,7 +3,7 @@ import io.appwrite.models.InputFile import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/functions/create-execution.md b/docs/examples/1.3.x/server-kotlin/kotlin/functions/create-execution.md index 62bce1fde0..13f476127f 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/functions/create-execution.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/functions/create-execution.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/functions/create-variable.md b/docs/examples/1.3.x/server-kotlin/kotlin/functions/create-variable.md index 6b23614d11..5b8bd6c633 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/functions/create-variable.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/functions/create-variable.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/functions/create.md b/docs/examples/1.3.x/server-kotlin/kotlin/functions/create.md index fa10f995ed..4c0d91081f 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/functions/create.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/functions/create.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/functions/delete-deployment.md b/docs/examples/1.3.x/server-kotlin/kotlin/functions/delete-deployment.md index 5187ba4419..57728a9ddd 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/functions/delete-deployment.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/functions/delete-deployment.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/functions/delete-variable.md b/docs/examples/1.3.x/server-kotlin/kotlin/functions/delete-variable.md index f0fe4a3d86..9d3c95e173 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/functions/delete-variable.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/functions/delete-variable.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/functions/delete.md b/docs/examples/1.3.x/server-kotlin/kotlin/functions/delete.md index f12095b5a8..b5a1322380 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/functions/delete.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/functions/delete.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/functions/get-deployment.md b/docs/examples/1.3.x/server-kotlin/kotlin/functions/get-deployment.md index 4653e61f0e..bd21f50245 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/functions/get-deployment.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/functions/get-deployment.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/functions/get-execution.md b/docs/examples/1.3.x/server-kotlin/kotlin/functions/get-execution.md index 929a003a18..517a3499af 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/functions/get-execution.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/functions/get-execution.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/functions/get-variable.md b/docs/examples/1.3.x/server-kotlin/kotlin/functions/get-variable.md index ce42276921..ee73353aa0 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/functions/get-variable.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/functions/get-variable.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/functions/get.md b/docs/examples/1.3.x/server-kotlin/kotlin/functions/get.md index 9261ab897a..4c47e68d91 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/functions/get.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/functions/get.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/functions/list-deployments.md b/docs/examples/1.3.x/server-kotlin/kotlin/functions/list-deployments.md index 3ec2c810ee..c9cfa4be08 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/functions/list-deployments.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/functions/list-deployments.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/functions/list-executions.md b/docs/examples/1.3.x/server-kotlin/kotlin/functions/list-executions.md index 5378c79dbc..06f1bdfdf1 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/functions/list-executions.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/functions/list-executions.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/functions/list-runtimes.md b/docs/examples/1.3.x/server-kotlin/kotlin/functions/list-runtimes.md index 0e777cd1fe..abe677c034 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/functions/list-runtimes.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/functions/list-runtimes.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/functions/list-variables.md b/docs/examples/1.3.x/server-kotlin/kotlin/functions/list-variables.md index 10e74534f4..729ade920c 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/functions/list-variables.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/functions/list-variables.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/functions/list.md b/docs/examples/1.3.x/server-kotlin/kotlin/functions/list.md index a5f4f0d325..6aeafdc258 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/functions/list.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/functions/list.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/functions/update-deployment.md b/docs/examples/1.3.x/server-kotlin/kotlin/functions/update-deployment.md index 14b147384f..8c0a93fc7a 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/functions/update-deployment.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/functions/update-deployment.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/functions/update-variable.md b/docs/examples/1.3.x/server-kotlin/kotlin/functions/update-variable.md index 1e0f3bbe5f..e9990d56d1 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/functions/update-variable.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/functions/update-variable.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/functions/update.md b/docs/examples/1.3.x/server-kotlin/kotlin/functions/update.md index f8aed9d421..126982018b 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/functions/update.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/functions/update.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/graphql/mutation.md b/docs/examples/1.3.x/server-kotlin/kotlin/graphql/mutation.md index aed06cd7a6..82c2c19fd2 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/graphql/mutation.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/graphql/mutation.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Graphql val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/graphql/query.md b/docs/examples/1.3.x/server-kotlin/kotlin/graphql/query.md index bd29d431c4..a271566de1 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/graphql/query.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/graphql/query.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Graphql val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/health/get-antivirus.md b/docs/examples/1.3.x/server-kotlin/kotlin/health/get-antivirus.md index e387fe0d95..d858d2189f 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/health/get-antivirus.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/health/get-antivirus.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/health/get-cache.md b/docs/examples/1.3.x/server-kotlin/kotlin/health/get-cache.md index 7aca9dd008..daa7fb646e 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/health/get-cache.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/health/get-cache.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/health/get-d-b.md b/docs/examples/1.3.x/server-kotlin/kotlin/health/get-d-b.md index 8e719142bb..496c7216f2 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/health/get-d-b.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/health/get-d-b.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/health/get-queue-certificates.md b/docs/examples/1.3.x/server-kotlin/kotlin/health/get-queue-certificates.md index f416351705..31c83bd891 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/health/get-queue-certificates.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/health/get-queue-certificates.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/health/get-queue-functions.md b/docs/examples/1.3.x/server-kotlin/kotlin/health/get-queue-functions.md index b55241d8f2..d7653c3a7d 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/health/get-queue-functions.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/health/get-queue-functions.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/health/get-queue-logs.md b/docs/examples/1.3.x/server-kotlin/kotlin/health/get-queue-logs.md index fb634ec63c..1446de4c16 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/health/get-queue-logs.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/health/get-queue-logs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/health/get-queue-webhooks.md b/docs/examples/1.3.x/server-kotlin/kotlin/health/get-queue-webhooks.md index bf4629d259..11c9b7a621 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/health/get-queue-webhooks.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/health/get-queue-webhooks.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/health/get-storage-local.md b/docs/examples/1.3.x/server-kotlin/kotlin/health/get-storage-local.md index f204168bc4..b0087b6fb2 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/health/get-storage-local.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/health/get-storage-local.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/health/get-time.md b/docs/examples/1.3.x/server-kotlin/kotlin/health/get-time.md index 35f3bb9bd6..8a9645a42b 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/health/get-time.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/health/get-time.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/health/get.md b/docs/examples/1.3.x/server-kotlin/kotlin/health/get.md index b547be9aa5..a790b949c4 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/health/get.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/health/get.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/locale/get.md b/docs/examples/1.3.x/server-kotlin/kotlin/locale/get.md index 1d84651fea..25bf0e1d0b 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/locale/get.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/locale/get.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/locale/list-continents.md b/docs/examples/1.3.x/server-kotlin/kotlin/locale/list-continents.md index bd9ad1825b..bcaad832cd 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/locale/list-continents.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/locale/list-continents.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/locale/list-countries-e-u.md b/docs/examples/1.3.x/server-kotlin/kotlin/locale/list-countries-e-u.md index 5d3258335e..b1e5671fb3 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/locale/list-countries-e-u.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/locale/list-countries-e-u.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/locale/list-countries-phones.md b/docs/examples/1.3.x/server-kotlin/kotlin/locale/list-countries-phones.md index e0f2ae3c6b..1a9a2585ca 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/locale/list-countries-phones.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/locale/list-countries-phones.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/locale/list-countries.md b/docs/examples/1.3.x/server-kotlin/kotlin/locale/list-countries.md index 626d38133e..cd8276e49b 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/locale/list-countries.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/locale/list-countries.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/locale/list-currencies.md b/docs/examples/1.3.x/server-kotlin/kotlin/locale/list-currencies.md index 6457056d70..061a5c82cd 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/locale/list-currencies.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/locale/list-currencies.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/locale/list-languages.md b/docs/examples/1.3.x/server-kotlin/kotlin/locale/list-languages.md index 437b1c3fe9..6ed17be85e 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/locale/list-languages.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/locale/list-languages.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/storage/create-bucket.md b/docs/examples/1.3.x/server-kotlin/kotlin/storage/create-bucket.md index 27d73ffd07..1adf94ca06 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/storage/create-bucket.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/storage/create-bucket.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/storage/create-file.md b/docs/examples/1.3.x/server-kotlin/kotlin/storage/create-file.md index 1bdf5e4893..354e3bf94c 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/storage/create-file.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/storage/create-file.md @@ -3,7 +3,7 @@ import io.appwrite.models.InputFile import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/storage/delete-bucket.md b/docs/examples/1.3.x/server-kotlin/kotlin/storage/delete-bucket.md index 3730a05298..a70b731423 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/storage/delete-bucket.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/storage/delete-bucket.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/storage/delete-file.md b/docs/examples/1.3.x/server-kotlin/kotlin/storage/delete-file.md index dabf805e8b..c6a2639376 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/storage/delete-file.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/storage/delete-file.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/storage/get-bucket.md b/docs/examples/1.3.x/server-kotlin/kotlin/storage/get-bucket.md index 0c7fcc137c..c2abb7b338 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/storage/get-bucket.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/storage/get-bucket.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/storage/get-file-download.md b/docs/examples/1.3.x/server-kotlin/kotlin/storage/get-file-download.md index 6c3c1fb4ae..67bcc5d5b4 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/storage/get-file-download.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/storage/get-file-download.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/storage/get-file-preview.md b/docs/examples/1.3.x/server-kotlin/kotlin/storage/get-file-preview.md index 372416ed12..4b75e70d3e 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/storage/get-file-preview.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/storage/get-file-preview.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/storage/get-file-view.md b/docs/examples/1.3.x/server-kotlin/kotlin/storage/get-file-view.md index 4b23cfc9c6..691acb1055 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/storage/get-file-view.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/storage/get-file-view.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/storage/get-file.md b/docs/examples/1.3.x/server-kotlin/kotlin/storage/get-file.md index 211713c7b6..0f98d900a1 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/storage/get-file.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/storage/get-file.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/storage/list-buckets.md b/docs/examples/1.3.x/server-kotlin/kotlin/storage/list-buckets.md index 8c4c7bdaac..b6bce3ace3 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/storage/list-buckets.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/storage/list-buckets.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/storage/list-files.md b/docs/examples/1.3.x/server-kotlin/kotlin/storage/list-files.md index 5243ed74cc..af1c301c1c 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/storage/list-files.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/storage/list-files.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/storage/update-bucket.md b/docs/examples/1.3.x/server-kotlin/kotlin/storage/update-bucket.md index 3de3b5460e..b0117be004 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/storage/update-bucket.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/storage/update-bucket.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/storage/update-file.md b/docs/examples/1.3.x/server-kotlin/kotlin/storage/update-file.md index 3d7fb9ab26..8b85210d15 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/storage/update-file.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/storage/update-file.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/teams/create-membership.md b/docs/examples/1.3.x/server-kotlin/kotlin/teams/create-membership.md index 44f444bc10..80184f0afd 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/teams/create-membership.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/teams/create-membership.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/teams/create.md b/docs/examples/1.3.x/server-kotlin/kotlin/teams/create.md index 9e080a1346..5b0105bf71 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/teams/create.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/teams/create.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/teams/delete-membership.md b/docs/examples/1.3.x/server-kotlin/kotlin/teams/delete-membership.md index 16e73e4884..397a9b794a 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/teams/delete-membership.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/teams/delete-membership.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/teams/delete.md b/docs/examples/1.3.x/server-kotlin/kotlin/teams/delete.md index c015a772c8..ab0b1c5632 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/teams/delete.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/teams/delete.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/teams/get-membership.md b/docs/examples/1.3.x/server-kotlin/kotlin/teams/get-membership.md index 4f2bed3800..bfb8ea9406 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/teams/get-membership.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/teams/get-membership.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/teams/get-prefs.md b/docs/examples/1.3.x/server-kotlin/kotlin/teams/get-prefs.md index 1bfcf07f7a..7af89d2166 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/teams/get-prefs.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/teams/get-prefs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/teams/get.md b/docs/examples/1.3.x/server-kotlin/kotlin/teams/get.md index 402aeb1beb..a6f43f8f18 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/teams/get.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/teams/get.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/teams/list-memberships.md b/docs/examples/1.3.x/server-kotlin/kotlin/teams/list-memberships.md index e9eae80f0b..0da1afdfc1 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/teams/list-memberships.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/teams/list-memberships.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/teams/list.md b/docs/examples/1.3.x/server-kotlin/kotlin/teams/list.md index aa10ca58fd..43196f1d90 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/teams/list.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/teams/list.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/teams/update-membership-roles.md b/docs/examples/1.3.x/server-kotlin/kotlin/teams/update-membership-roles.md index e9ea1f18ab..88a020c737 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/teams/update-membership-roles.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/teams/update-membership-roles.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/teams/update-membership-status.md b/docs/examples/1.3.x/server-kotlin/kotlin/teams/update-membership-status.md index 7fa6bd837c..e9dc0d91eb 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/teams/update-membership-status.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/teams/update-membership-status.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/teams/update-name.md b/docs/examples/1.3.x/server-kotlin/kotlin/teams/update-name.md index d717c371bc..d27c824319 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/teams/update-name.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/teams/update-name.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/teams/update-prefs.md b/docs/examples/1.3.x/server-kotlin/kotlin/teams/update-prefs.md index 62fc925415..d70eafb400 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/teams/update-prefs.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/teams/update-prefs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/users/create-argon2user.md b/docs/examples/1.3.x/server-kotlin/kotlin/users/create-argon2user.md index 438363aed3..81a1f9960f 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/users/create-argon2user.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/users/create-argon2user.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/users/create-bcrypt-user.md b/docs/examples/1.3.x/server-kotlin/kotlin/users/create-bcrypt-user.md index 977782ce3c..15d101773a 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/users/create-bcrypt-user.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/users/create-bcrypt-user.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/users/create-m-d5user.md b/docs/examples/1.3.x/server-kotlin/kotlin/users/create-m-d5user.md index 6d6451f376..86e13b9f1b 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/users/create-m-d5user.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/users/create-m-d5user.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/users/create-p-h-pass-user.md b/docs/examples/1.3.x/server-kotlin/kotlin/users/create-p-h-pass-user.md index c50b2c1da4..cadb580527 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/users/create-p-h-pass-user.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/users/create-p-h-pass-user.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/users/create-s-h-a-user.md b/docs/examples/1.3.x/server-kotlin/kotlin/users/create-s-h-a-user.md index 708935c970..979cc2a01b 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/users/create-s-h-a-user.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/users/create-s-h-a-user.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/users/create-scrypt-modified-user.md b/docs/examples/1.3.x/server-kotlin/kotlin/users/create-scrypt-modified-user.md index d49f7db471..b2164d5aa8 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/users/create-scrypt-modified-user.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/users/create-scrypt-modified-user.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/users/create-scrypt-user.md b/docs/examples/1.3.x/server-kotlin/kotlin/users/create-scrypt-user.md index aa006fb0db..e5cabe92b7 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/users/create-scrypt-user.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/users/create-scrypt-user.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/users/create.md b/docs/examples/1.3.x/server-kotlin/kotlin/users/create.md index ae319d8cd8..fcc5e355ec 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/users/create.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/users/create.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/users/delete-session.md b/docs/examples/1.3.x/server-kotlin/kotlin/users/delete-session.md index f3a0264aa1..7b96b24213 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/users/delete-session.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/users/delete-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/users/delete-sessions.md b/docs/examples/1.3.x/server-kotlin/kotlin/users/delete-sessions.md index 5c0070c027..580031ecac 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/users/delete-sessions.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/users/delete-sessions.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/users/delete.md b/docs/examples/1.3.x/server-kotlin/kotlin/users/delete.md index 30ee8f3d7a..2e0013f0ab 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/users/delete.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/users/delete.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/users/get-prefs.md b/docs/examples/1.3.x/server-kotlin/kotlin/users/get-prefs.md index 564489c398..a7ffd650bc 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/users/get-prefs.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/users/get-prefs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/users/get.md b/docs/examples/1.3.x/server-kotlin/kotlin/users/get.md index fd7e4b7a1b..f55878912e 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/users/get.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/users/get.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/users/list-logs.md b/docs/examples/1.3.x/server-kotlin/kotlin/users/list-logs.md index 691007588e..5b3111f552 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/users/list-logs.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/users/list-logs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/users/list-memberships.md b/docs/examples/1.3.x/server-kotlin/kotlin/users/list-memberships.md index 316889e894..0059c2dc68 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/users/list-memberships.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/users/list-memberships.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/users/list-sessions.md b/docs/examples/1.3.x/server-kotlin/kotlin/users/list-sessions.md index 1d7e950425..fd9a7716d5 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/users/list-sessions.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/users/list-sessions.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/users/list.md b/docs/examples/1.3.x/server-kotlin/kotlin/users/list.md index e973a26e52..3a74a20757 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/users/list.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/users/list.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/users/update-email-verification.md b/docs/examples/1.3.x/server-kotlin/kotlin/users/update-email-verification.md index b4f97bbcab..ea16acf33b 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/users/update-email-verification.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/users/update-email-verification.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/users/update-email.md b/docs/examples/1.3.x/server-kotlin/kotlin/users/update-email.md index c6dfaefd2f..4adad69184 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/users/update-email.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/users/update-email.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/users/update-name.md b/docs/examples/1.3.x/server-kotlin/kotlin/users/update-name.md index 1d46c7a8fc..b60d565620 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/users/update-name.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/users/update-name.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/users/update-password.md b/docs/examples/1.3.x/server-kotlin/kotlin/users/update-password.md index f96158faa9..b6bfe65a9a 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/users/update-password.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/users/update-password.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/users/update-phone-verification.md b/docs/examples/1.3.x/server-kotlin/kotlin/users/update-phone-verification.md index 909803bd94..fe6bcf39c0 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/users/update-phone-verification.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/users/update-phone-verification.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/users/update-phone.md b/docs/examples/1.3.x/server-kotlin/kotlin/users/update-phone.md index 073dd6640a..3d243c0db7 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/users/update-phone.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/users/update-phone.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/users/update-prefs.md b/docs/examples/1.3.x/server-kotlin/kotlin/users/update-prefs.md index 127035ca48..c05713d316 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/users/update-prefs.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/users/update-prefs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-kotlin/kotlin/users/update-status.md b/docs/examples/1.3.x/server-kotlin/kotlin/users/update-status.md index 5899ed360f..1966d5d6d0 100644 --- a/docs/examples/1.3.x/server-kotlin/kotlin/users/update-status.md +++ b/docs/examples/1.3.x/server-kotlin/kotlin/users/update-status.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-nodejs/examples/account/create-phone-verification.md b/docs/examples/1.3.x/server-nodejs/examples/account/create-phone-verification.md index f381495f24..cd9bc62e7a 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/account/create-phone-verification.md +++ b/docs/examples/1.3.x/server-nodejs/examples/account/create-phone-verification.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/account/create-recovery.md b/docs/examples/1.3.x/server-nodejs/examples/account/create-recovery.md index f4c5ae98de..53c6060edf 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/account/create-recovery.md +++ b/docs/examples/1.3.x/server-nodejs/examples/account/create-recovery.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/account/create-verification.md b/docs/examples/1.3.x/server-nodejs/examples/account/create-verification.md index 04585621eb..1df32eb711 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/account/create-verification.md +++ b/docs/examples/1.3.x/server-nodejs/examples/account/create-verification.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/account/delete-session.md b/docs/examples/1.3.x/server-nodejs/examples/account/delete-session.md index 74f3869859..182d67e2c1 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/account/delete-session.md +++ b/docs/examples/1.3.x/server-nodejs/examples/account/delete-session.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/account/delete-sessions.md b/docs/examples/1.3.x/server-nodejs/examples/account/delete-sessions.md index 0968c30b92..dbf861cf31 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/account/delete-sessions.md +++ b/docs/examples/1.3.x/server-nodejs/examples/account/delete-sessions.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/account/get-prefs.md b/docs/examples/1.3.x/server-nodejs/examples/account/get-prefs.md index 8bd5d97c25..04e6ac307a 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/account/get-prefs.md +++ b/docs/examples/1.3.x/server-nodejs/examples/account/get-prefs.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/account/get-session.md b/docs/examples/1.3.x/server-nodejs/examples/account/get-session.md index 3abb677fbe..23d06a672b 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/account/get-session.md +++ b/docs/examples/1.3.x/server-nodejs/examples/account/get-session.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/account/get.md b/docs/examples/1.3.x/server-nodejs/examples/account/get.md index d4f4066fb1..3b0da54b7a 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/account/get.md +++ b/docs/examples/1.3.x/server-nodejs/examples/account/get.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/account/list-logs.md b/docs/examples/1.3.x/server-nodejs/examples/account/list-logs.md index 890e0d12d3..25cfab189d 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/account/list-logs.md +++ b/docs/examples/1.3.x/server-nodejs/examples/account/list-logs.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/account/list-sessions.md b/docs/examples/1.3.x/server-nodejs/examples/account/list-sessions.md index 68e97ada31..fe753dd996 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/account/list-sessions.md +++ b/docs/examples/1.3.x/server-nodejs/examples/account/list-sessions.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/account/update-email.md b/docs/examples/1.3.x/server-nodejs/examples/account/update-email.md index 388e2581bb..324dfa7db6 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/account/update-email.md +++ b/docs/examples/1.3.x/server-nodejs/examples/account/update-email.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/account/update-name.md b/docs/examples/1.3.x/server-nodejs/examples/account/update-name.md index 0984652712..8ae6bbf552 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/account/update-name.md +++ b/docs/examples/1.3.x/server-nodejs/examples/account/update-name.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/account/update-password.md b/docs/examples/1.3.x/server-nodejs/examples/account/update-password.md index b46500fd3c..b2e638c28b 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/account/update-password.md +++ b/docs/examples/1.3.x/server-nodejs/examples/account/update-password.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/account/update-phone-verification.md b/docs/examples/1.3.x/server-nodejs/examples/account/update-phone-verification.md index 1aa4042f36..66c3ec8981 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/account/update-phone-verification.md +++ b/docs/examples/1.3.x/server-nodejs/examples/account/update-phone-verification.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/account/update-phone.md b/docs/examples/1.3.x/server-nodejs/examples/account/update-phone.md index 37124d81aa..02270ec33e 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/account/update-phone.md +++ b/docs/examples/1.3.x/server-nodejs/examples/account/update-phone.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/account/update-prefs.md b/docs/examples/1.3.x/server-nodejs/examples/account/update-prefs.md index 6948706abb..6a9e10bf0c 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/account/update-prefs.md +++ b/docs/examples/1.3.x/server-nodejs/examples/account/update-prefs.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/account/update-recovery.md b/docs/examples/1.3.x/server-nodejs/examples/account/update-recovery.md index 74f70f59c7..17dccf0e8b 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/account/update-recovery.md +++ b/docs/examples/1.3.x/server-nodejs/examples/account/update-recovery.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/account/update-session.md b/docs/examples/1.3.x/server-nodejs/examples/account/update-session.md index b0b932524f..ae1d9ab065 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/account/update-session.md +++ b/docs/examples/1.3.x/server-nodejs/examples/account/update-session.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/account/update-status.md b/docs/examples/1.3.x/server-nodejs/examples/account/update-status.md index 277243b824..4c13b5eec1 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/account/update-status.md +++ b/docs/examples/1.3.x/server-nodejs/examples/account/update-status.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/account/update-verification.md b/docs/examples/1.3.x/server-nodejs/examples/account/update-verification.md index 6a7fbbf99c..03d663a629 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/account/update-verification.md +++ b/docs/examples/1.3.x/server-nodejs/examples/account/update-verification.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/avatars/get-browser.md b/docs/examples/1.3.x/server-nodejs/examples/avatars/get-browser.md index c05595ad67..d88d7571de 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/avatars/get-browser.md +++ b/docs/examples/1.3.x/server-nodejs/examples/avatars/get-browser.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/avatars/get-credit-card.md b/docs/examples/1.3.x/server-nodejs/examples/avatars/get-credit-card.md index 8fbd37d29a..86cfe17059 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/avatars/get-credit-card.md +++ b/docs/examples/1.3.x/server-nodejs/examples/avatars/get-credit-card.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/avatars/get-favicon.md b/docs/examples/1.3.x/server-nodejs/examples/avatars/get-favicon.md index 2924e394a0..acc780ccab 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/avatars/get-favicon.md +++ b/docs/examples/1.3.x/server-nodejs/examples/avatars/get-favicon.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/avatars/get-flag.md b/docs/examples/1.3.x/server-nodejs/examples/avatars/get-flag.md index 50d611c399..09efae0146 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/avatars/get-flag.md +++ b/docs/examples/1.3.x/server-nodejs/examples/avatars/get-flag.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/avatars/get-image.md b/docs/examples/1.3.x/server-nodejs/examples/avatars/get-image.md index 3b2bb517d1..6cf825ff3e 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/avatars/get-image.md +++ b/docs/examples/1.3.x/server-nodejs/examples/avatars/get-image.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/avatars/get-initials.md b/docs/examples/1.3.x/server-nodejs/examples/avatars/get-initials.md index 4afda6f547..942f10ce51 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/avatars/get-initials.md +++ b/docs/examples/1.3.x/server-nodejs/examples/avatars/get-initials.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/avatars/get-q-r.md b/docs/examples/1.3.x/server-nodejs/examples/avatars/get-q-r.md index d2d24e2055..0b46c30ed6 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/avatars/get-q-r.md +++ b/docs/examples/1.3.x/server-nodejs/examples/avatars/get-q-r.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/create-boolean-attribute.md b/docs/examples/1.3.x/server-nodejs/examples/databases/create-boolean-attribute.md index 12a70102ca..03b9cbd67a 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/create-boolean-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/create-collection.md b/docs/examples/1.3.x/server-nodejs/examples/databases/create-collection.md index 13ec4e037f..2ff164d553 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/create-collection.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/create-collection.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/create-datetime-attribute.md b/docs/examples/1.3.x/server-nodejs/examples/databases/create-datetime-attribute.md index 70609a84e7..7c8710f80d 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/create-datetime-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/create-document.md b/docs/examples/1.3.x/server-nodejs/examples/databases/create-document.md index f5fa7a50a6..69d75e1b53 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/create-document.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/create-document.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/create-email-attribute.md b/docs/examples/1.3.x/server-nodejs/examples/databases/create-email-attribute.md index 2229dfe7f9..a14075c62b 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/create-email-attribute.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/create-email-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/create-enum-attribute.md b/docs/examples/1.3.x/server-nodejs/examples/databases/create-enum-attribute.md index cd9daca603..074e0098ed 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/create-enum-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/create-float-attribute.md b/docs/examples/1.3.x/server-nodejs/examples/databases/create-float-attribute.md index a12c4f4420..d818659c33 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/create-float-attribute.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/create-float-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/create-index.md b/docs/examples/1.3.x/server-nodejs/examples/databases/create-index.md index 66c3e519fe..9064cbf61b 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/create-index.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/create-index.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/create-integer-attribute.md b/docs/examples/1.3.x/server-nodejs/examples/databases/create-integer-attribute.md index fa693d28de..051df7214f 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/create-integer-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/create-ip-attribute.md b/docs/examples/1.3.x/server-nodejs/examples/databases/create-ip-attribute.md index 1e8985a2bd..95c465d527 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/create-ip-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/create-relationship-attribute.md b/docs/examples/1.3.x/server-nodejs/examples/databases/create-relationship-attribute.md index f680d1c03a..efaa37d640 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/create-relationship-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/create-string-attribute.md b/docs/examples/1.3.x/server-nodejs/examples/databases/create-string-attribute.md index bfb4fbfc3f..9305983c33 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/create-string-attribute.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/create-string-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/create-url-attribute.md b/docs/examples/1.3.x/server-nodejs/examples/databases/create-url-attribute.md index e6a585f76b..47c491916b 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/create-url-attribute.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/create-url-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/create.md b/docs/examples/1.3.x/server-nodejs/examples/databases/create.md index 4e04f026bd..451e39b410 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/create.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/create.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/delete-attribute.md b/docs/examples/1.3.x/server-nodejs/examples/databases/delete-attribute.md index 3c65f62ef5..a7ee957de8 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/delete-attribute.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/delete-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/delete-collection.md b/docs/examples/1.3.x/server-nodejs/examples/databases/delete-collection.md index 047fa26846..745042ec6e 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/delete-collection.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/delete-collection.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/delete-document.md b/docs/examples/1.3.x/server-nodejs/examples/databases/delete-document.md index a6f3fa58ca..0081caa499 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/delete-document.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/delete-document.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/delete-index.md b/docs/examples/1.3.x/server-nodejs/examples/databases/delete-index.md index 42d73104a0..e147eb1043 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/delete-index.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/delete-index.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/delete.md b/docs/examples/1.3.x/server-nodejs/examples/databases/delete.md index 3f39965820..b1ecfea0a4 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/delete.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/delete.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/get-attribute.md b/docs/examples/1.3.x/server-nodejs/examples/databases/get-attribute.md index df6c665b75..36b0b0336e 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/get-attribute.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/get-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/get-collection.md b/docs/examples/1.3.x/server-nodejs/examples/databases/get-collection.md index ea4ed423e8..0d0ba0e6cb 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/get-collection.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/get-collection.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/get-document.md b/docs/examples/1.3.x/server-nodejs/examples/databases/get-document.md index ac07b968ae..8f641962f0 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/get-document.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/get-document.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/get-index.md b/docs/examples/1.3.x/server-nodejs/examples/databases/get-index.md index c3a3d168c5..d0602952b4 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/get-index.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/get-index.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/get.md b/docs/examples/1.3.x/server-nodejs/examples/databases/get.md index 133f496b2e..a47ba7a403 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/get.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/get.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/list-attributes.md b/docs/examples/1.3.x/server-nodejs/examples/databases/list-attributes.md index b1a494b110..01284a5e3a 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/list-attributes.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/list-attributes.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/list-collections.md b/docs/examples/1.3.x/server-nodejs/examples/databases/list-collections.md index c1d9fd3421..9005d7a5b1 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/list-collections.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/list-collections.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/list-documents.md b/docs/examples/1.3.x/server-nodejs/examples/databases/list-documents.md index bf0b9156bf..9f9751ac37 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/list-documents.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/list-documents.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/list-indexes.md b/docs/examples/1.3.x/server-nodejs/examples/databases/list-indexes.md index 57787f1d3e..fff198fc40 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/list-indexes.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/list-indexes.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/list.md b/docs/examples/1.3.x/server-nodejs/examples/databases/list.md index 5652d1e032..2f40478570 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/list.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/list.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/update-boolean-attribute.md b/docs/examples/1.3.x/server-nodejs/examples/databases/update-boolean-attribute.md index 3bdfc04e5f..c9b81852e1 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/update-boolean-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/update-collection.md b/docs/examples/1.3.x/server-nodejs/examples/databases/update-collection.md index db74a7b9eb..4570385adc 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/update-collection.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/update-collection.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/update-datetime-attribute.md b/docs/examples/1.3.x/server-nodejs/examples/databases/update-datetime-attribute.md index 8b602d434f..1f3b67b47b 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/update-datetime-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/update-document.md b/docs/examples/1.3.x/server-nodejs/examples/databases/update-document.md index ca3cdb85e7..92405e556c 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/update-document.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/update-document.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/update-email-attribute.md b/docs/examples/1.3.x/server-nodejs/examples/databases/update-email-attribute.md index a96e89853b..6500f99b46 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/update-email-attribute.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/update-email-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/update-enum-attribute.md b/docs/examples/1.3.x/server-nodejs/examples/databases/update-enum-attribute.md index b0dfbb11df..c385feacdb 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/update-enum-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/update-float-attribute.md b/docs/examples/1.3.x/server-nodejs/examples/databases/update-float-attribute.md index 2c0672dd99..8d6a688d89 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/update-float-attribute.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/update-float-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/update-integer-attribute.md b/docs/examples/1.3.x/server-nodejs/examples/databases/update-integer-attribute.md index 8016aac600..69f652b27e 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/update-integer-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/update-ip-attribute.md b/docs/examples/1.3.x/server-nodejs/examples/databases/update-ip-attribute.md index 8eab99aa35..398b2246b1 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/update-ip-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/update-relationship-attribute.md b/docs/examples/1.3.x/server-nodejs/examples/databases/update-relationship-attribute.md index 699148f882..8bab7e543f 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/update-relationship-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/update-string-attribute.md b/docs/examples/1.3.x/server-nodejs/examples/databases/update-string-attribute.md index c7e6fe9b7f..f024f13d84 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/update-string-attribute.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/update-string-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/update-url-attribute.md b/docs/examples/1.3.x/server-nodejs/examples/databases/update-url-attribute.md index d8cb42aafd..0f58e00449 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/update-url-attribute.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/update-url-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/databases/update.md b/docs/examples/1.3.x/server-nodejs/examples/databases/update.md index 7abe11bf80..71a6f3a77a 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/databases/update.md +++ b/docs/examples/1.3.x/server-nodejs/examples/databases/update.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/functions/create-build.md b/docs/examples/1.3.x/server-nodejs/examples/functions/create-build.md index fe9751e73b..38f3717fb0 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/functions/create-build.md +++ b/docs/examples/1.3.x/server-nodejs/examples/functions/create-build.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/functions/create-deployment.md b/docs/examples/1.3.x/server-nodejs/examples/functions/create-deployment.md index 661afa151a..defbd30d10 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/functions/create-deployment.md +++ b/docs/examples/1.3.x/server-nodejs/examples/functions/create-deployment.md @@ -7,7 +7,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/functions/create-execution.md b/docs/examples/1.3.x/server-nodejs/examples/functions/create-execution.md index dc182fdd44..be5bfbe85c 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/functions/create-execution.md +++ b/docs/examples/1.3.x/server-nodejs/examples/functions/create-execution.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/functions/create-variable.md b/docs/examples/1.3.x/server-nodejs/examples/functions/create-variable.md index 80f3fd0257..5bb7481f6a 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/functions/create-variable.md +++ b/docs/examples/1.3.x/server-nodejs/examples/functions/create-variable.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/functions/create.md b/docs/examples/1.3.x/server-nodejs/examples/functions/create.md index 8600f34b82..a014f1384a 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/functions/create.md +++ b/docs/examples/1.3.x/server-nodejs/examples/functions/create.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/functions/delete-deployment.md b/docs/examples/1.3.x/server-nodejs/examples/functions/delete-deployment.md index 5affdf18b9..c0b1c4e4a1 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/functions/delete-deployment.md +++ b/docs/examples/1.3.x/server-nodejs/examples/functions/delete-deployment.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/functions/delete-variable.md b/docs/examples/1.3.x/server-nodejs/examples/functions/delete-variable.md index 2a075fdea7..e28f991ae1 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/functions/delete-variable.md +++ b/docs/examples/1.3.x/server-nodejs/examples/functions/delete-variable.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/functions/delete.md b/docs/examples/1.3.x/server-nodejs/examples/functions/delete.md index d17f01361e..18d2f4e26c 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/functions/delete.md +++ b/docs/examples/1.3.x/server-nodejs/examples/functions/delete.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/functions/get-deployment.md b/docs/examples/1.3.x/server-nodejs/examples/functions/get-deployment.md index d67ce4647a..4043de8d59 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/functions/get-deployment.md +++ b/docs/examples/1.3.x/server-nodejs/examples/functions/get-deployment.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/functions/get-execution.md b/docs/examples/1.3.x/server-nodejs/examples/functions/get-execution.md index bbf0788138..094a1d1983 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/functions/get-execution.md +++ b/docs/examples/1.3.x/server-nodejs/examples/functions/get-execution.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/functions/get-variable.md b/docs/examples/1.3.x/server-nodejs/examples/functions/get-variable.md index 11ce7e2836..8c225de4da 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/functions/get-variable.md +++ b/docs/examples/1.3.x/server-nodejs/examples/functions/get-variable.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/functions/get.md b/docs/examples/1.3.x/server-nodejs/examples/functions/get.md index 54ea4812b8..469f6fbb4e 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/functions/get.md +++ b/docs/examples/1.3.x/server-nodejs/examples/functions/get.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/functions/list-deployments.md b/docs/examples/1.3.x/server-nodejs/examples/functions/list-deployments.md index 4819410875..505de94734 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/functions/list-deployments.md +++ b/docs/examples/1.3.x/server-nodejs/examples/functions/list-deployments.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/functions/list-executions.md b/docs/examples/1.3.x/server-nodejs/examples/functions/list-executions.md index f9e77a5d32..7ec383656d 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/functions/list-executions.md +++ b/docs/examples/1.3.x/server-nodejs/examples/functions/list-executions.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/functions/list-runtimes.md b/docs/examples/1.3.x/server-nodejs/examples/functions/list-runtimes.md index d471861374..d9edc4a040 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/functions/list-runtimes.md +++ b/docs/examples/1.3.x/server-nodejs/examples/functions/list-runtimes.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/functions/list-variables.md b/docs/examples/1.3.x/server-nodejs/examples/functions/list-variables.md index e193b2b1ba..eefc1fe27e 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/functions/list-variables.md +++ b/docs/examples/1.3.x/server-nodejs/examples/functions/list-variables.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/functions/list.md b/docs/examples/1.3.x/server-nodejs/examples/functions/list.md index 4f7b45e26a..0a2c6cd72f 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/functions/list.md +++ b/docs/examples/1.3.x/server-nodejs/examples/functions/list.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/functions/update-deployment.md b/docs/examples/1.3.x/server-nodejs/examples/functions/update-deployment.md index 25f0e79983..d90a98481c 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/functions/update-deployment.md +++ b/docs/examples/1.3.x/server-nodejs/examples/functions/update-deployment.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/functions/update-variable.md b/docs/examples/1.3.x/server-nodejs/examples/functions/update-variable.md index 86e9a698f5..8d1f6466b7 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/functions/update-variable.md +++ b/docs/examples/1.3.x/server-nodejs/examples/functions/update-variable.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/functions/update.md b/docs/examples/1.3.x/server-nodejs/examples/functions/update.md index d8bf23f5a9..c6b35f2459 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/functions/update.md +++ b/docs/examples/1.3.x/server-nodejs/examples/functions/update.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/graphql/mutation.md b/docs/examples/1.3.x/server-nodejs/examples/graphql/mutation.md index 6f9bed8426..f8f2da769c 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/graphql/mutation.md +++ b/docs/examples/1.3.x/server-nodejs/examples/graphql/mutation.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const graphql = new sdk.Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/graphql/query.md b/docs/examples/1.3.x/server-nodejs/examples/graphql/query.md index 35cd4060cc..0f30d77e99 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/graphql/query.md +++ b/docs/examples/1.3.x/server-nodejs/examples/graphql/query.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const graphql = new sdk.Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/health/get-antivirus.md b/docs/examples/1.3.x/server-nodejs/examples/health/get-antivirus.md index b6e5e78a30..516d19c075 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/health/get-antivirus.md +++ b/docs/examples/1.3.x/server-nodejs/examples/health/get-antivirus.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/health/get-cache.md b/docs/examples/1.3.x/server-nodejs/examples/health/get-cache.md index 8171c40fc6..84dd5b07ce 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/health/get-cache.md +++ b/docs/examples/1.3.x/server-nodejs/examples/health/get-cache.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/health/get-d-b.md b/docs/examples/1.3.x/server-nodejs/examples/health/get-d-b.md index ef1739fff0..ce5ba7b8dc 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/health/get-d-b.md +++ b/docs/examples/1.3.x/server-nodejs/examples/health/get-d-b.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/health/get-queue-certificates.md b/docs/examples/1.3.x/server-nodejs/examples/health/get-queue-certificates.md index 38dadde1b2..c89318fc38 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/health/get-queue-certificates.md +++ b/docs/examples/1.3.x/server-nodejs/examples/health/get-queue-certificates.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/health/get-queue-functions.md b/docs/examples/1.3.x/server-nodejs/examples/health/get-queue-functions.md index bc8668eda6..52d3a2e80c 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/health/get-queue-functions.md +++ b/docs/examples/1.3.x/server-nodejs/examples/health/get-queue-functions.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/health/get-queue-logs.md b/docs/examples/1.3.x/server-nodejs/examples/health/get-queue-logs.md index 918a9d9e6c..86b9fe0fb4 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/health/get-queue-logs.md +++ b/docs/examples/1.3.x/server-nodejs/examples/health/get-queue-logs.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/health/get-queue-webhooks.md b/docs/examples/1.3.x/server-nodejs/examples/health/get-queue-webhooks.md index acf023a188..ee73f37ef6 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.3.x/server-nodejs/examples/health/get-queue-webhooks.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/health/get-storage-local.md b/docs/examples/1.3.x/server-nodejs/examples/health/get-storage-local.md index 76e51489fd..d41559c5f1 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/health/get-storage-local.md +++ b/docs/examples/1.3.x/server-nodejs/examples/health/get-storage-local.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/health/get-time.md b/docs/examples/1.3.x/server-nodejs/examples/health/get-time.md index f44836ac3c..e3d70a93ff 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/health/get-time.md +++ b/docs/examples/1.3.x/server-nodejs/examples/health/get-time.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/health/get.md b/docs/examples/1.3.x/server-nodejs/examples/health/get.md index a66b25631f..1198b18624 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/health/get.md +++ b/docs/examples/1.3.x/server-nodejs/examples/health/get.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/locale/get.md b/docs/examples/1.3.x/server-nodejs/examples/locale/get.md index 31d90c6f11..27befec21a 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/locale/get.md +++ b/docs/examples/1.3.x/server-nodejs/examples/locale/get.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/locale/list-continents.md b/docs/examples/1.3.x/server-nodejs/examples/locale/list-continents.md index ffe54d34da..346f552a14 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/locale/list-continents.md +++ b/docs/examples/1.3.x/server-nodejs/examples/locale/list-continents.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/locale/list-countries-e-u.md b/docs/examples/1.3.x/server-nodejs/examples/locale/list-countries-e-u.md index f9aaff666a..627c350f8e 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.3.x/server-nodejs/examples/locale/list-countries-e-u.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/locale/list-countries-phones.md b/docs/examples/1.3.x/server-nodejs/examples/locale/list-countries-phones.md index fdd2436dc0..0a0965ab53 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/locale/list-countries-phones.md +++ b/docs/examples/1.3.x/server-nodejs/examples/locale/list-countries-phones.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/locale/list-countries.md b/docs/examples/1.3.x/server-nodejs/examples/locale/list-countries.md index 429e188776..857b7da7cf 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/locale/list-countries.md +++ b/docs/examples/1.3.x/server-nodejs/examples/locale/list-countries.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/locale/list-currencies.md b/docs/examples/1.3.x/server-nodejs/examples/locale/list-currencies.md index 12d82fb70f..017b5faebf 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/locale/list-currencies.md +++ b/docs/examples/1.3.x/server-nodejs/examples/locale/list-currencies.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/locale/list-languages.md b/docs/examples/1.3.x/server-nodejs/examples/locale/list-languages.md index 8ea2b40afc..716a44c330 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/locale/list-languages.md +++ b/docs/examples/1.3.x/server-nodejs/examples/locale/list-languages.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/storage/create-bucket.md b/docs/examples/1.3.x/server-nodejs/examples/storage/create-bucket.md index 9093b7c9a6..51e0b05acb 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/storage/create-bucket.md +++ b/docs/examples/1.3.x/server-nodejs/examples/storage/create-bucket.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/storage/create-file.md b/docs/examples/1.3.x/server-nodejs/examples/storage/create-file.md index 664005e273..be561320db 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/storage/create-file.md +++ b/docs/examples/1.3.x/server-nodejs/examples/storage/create-file.md @@ -7,7 +7,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/storage/delete-bucket.md b/docs/examples/1.3.x/server-nodejs/examples/storage/delete-bucket.md index 84486c68dc..e3368facf1 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/storage/delete-bucket.md +++ b/docs/examples/1.3.x/server-nodejs/examples/storage/delete-bucket.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/storage/delete-file.md b/docs/examples/1.3.x/server-nodejs/examples/storage/delete-file.md index c4d451c63f..d90be0a77e 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/storage/delete-file.md +++ b/docs/examples/1.3.x/server-nodejs/examples/storage/delete-file.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/storage/get-bucket.md b/docs/examples/1.3.x/server-nodejs/examples/storage/get-bucket.md index d0fbb94bbc..b176e6e575 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/storage/get-bucket.md +++ b/docs/examples/1.3.x/server-nodejs/examples/storage/get-bucket.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/storage/get-file-download.md b/docs/examples/1.3.x/server-nodejs/examples/storage/get-file-download.md index 1503d102ba..4ad79175d2 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/storage/get-file-download.md +++ b/docs/examples/1.3.x/server-nodejs/examples/storage/get-file-download.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/storage/get-file-preview.md b/docs/examples/1.3.x/server-nodejs/examples/storage/get-file-preview.md index 19d34495ba..164a1c6377 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/storage/get-file-preview.md +++ b/docs/examples/1.3.x/server-nodejs/examples/storage/get-file-preview.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/storage/get-file-view.md b/docs/examples/1.3.x/server-nodejs/examples/storage/get-file-view.md index 1affab8bc0..a8d5029bd0 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/storage/get-file-view.md +++ b/docs/examples/1.3.x/server-nodejs/examples/storage/get-file-view.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/storage/get-file.md b/docs/examples/1.3.x/server-nodejs/examples/storage/get-file.md index ceba42ce1e..06f43878e8 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/storage/get-file.md +++ b/docs/examples/1.3.x/server-nodejs/examples/storage/get-file.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/storage/list-buckets.md b/docs/examples/1.3.x/server-nodejs/examples/storage/list-buckets.md index 9945febb42..b989a0748f 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/storage/list-buckets.md +++ b/docs/examples/1.3.x/server-nodejs/examples/storage/list-buckets.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/storage/list-files.md b/docs/examples/1.3.x/server-nodejs/examples/storage/list-files.md index fea4bae61f..4bce540ec4 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/storage/list-files.md +++ b/docs/examples/1.3.x/server-nodejs/examples/storage/list-files.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/storage/update-bucket.md b/docs/examples/1.3.x/server-nodejs/examples/storage/update-bucket.md index 32df1f18d8..9cab2ca26c 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/storage/update-bucket.md +++ b/docs/examples/1.3.x/server-nodejs/examples/storage/update-bucket.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/storage/update-file.md b/docs/examples/1.3.x/server-nodejs/examples/storage/update-file.md index 042a164501..aa67cf0f0e 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/storage/update-file.md +++ b/docs/examples/1.3.x/server-nodejs/examples/storage/update-file.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/teams/create-membership.md b/docs/examples/1.3.x/server-nodejs/examples/teams/create-membership.md index 34d843d934..4f5711ac64 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/teams/create-membership.md +++ b/docs/examples/1.3.x/server-nodejs/examples/teams/create-membership.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/teams/create.md b/docs/examples/1.3.x/server-nodejs/examples/teams/create.md index 5552f829f9..a99a2cf3f7 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/teams/create.md +++ b/docs/examples/1.3.x/server-nodejs/examples/teams/create.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/teams/delete-membership.md b/docs/examples/1.3.x/server-nodejs/examples/teams/delete-membership.md index ef72e63138..2df3e41f36 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/teams/delete-membership.md +++ b/docs/examples/1.3.x/server-nodejs/examples/teams/delete-membership.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/teams/delete.md b/docs/examples/1.3.x/server-nodejs/examples/teams/delete.md index 6f1dfaa61d..ad35874815 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/teams/delete.md +++ b/docs/examples/1.3.x/server-nodejs/examples/teams/delete.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/teams/get-membership.md b/docs/examples/1.3.x/server-nodejs/examples/teams/get-membership.md index d31aa9a8b6..d2e12d6ef6 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/teams/get-membership.md +++ b/docs/examples/1.3.x/server-nodejs/examples/teams/get-membership.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/teams/get-prefs.md b/docs/examples/1.3.x/server-nodejs/examples/teams/get-prefs.md index 0ac9e95ff1..2d24bdc6e0 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/teams/get-prefs.md +++ b/docs/examples/1.3.x/server-nodejs/examples/teams/get-prefs.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/teams/get.md b/docs/examples/1.3.x/server-nodejs/examples/teams/get.md index 0d34943242..d162cdceeb 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/teams/get.md +++ b/docs/examples/1.3.x/server-nodejs/examples/teams/get.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/teams/list-memberships.md b/docs/examples/1.3.x/server-nodejs/examples/teams/list-memberships.md index ca25bcbd25..9ff92c68ff 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/teams/list-memberships.md +++ b/docs/examples/1.3.x/server-nodejs/examples/teams/list-memberships.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/teams/list.md b/docs/examples/1.3.x/server-nodejs/examples/teams/list.md index 8610bc7dc4..e3ad03e16e 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/teams/list.md +++ b/docs/examples/1.3.x/server-nodejs/examples/teams/list.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/teams/update-membership-roles.md b/docs/examples/1.3.x/server-nodejs/examples/teams/update-membership-roles.md index 26551fe0b6..93b0f23aba 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/teams/update-membership-roles.md +++ b/docs/examples/1.3.x/server-nodejs/examples/teams/update-membership-roles.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/teams/update-membership-status.md b/docs/examples/1.3.x/server-nodejs/examples/teams/update-membership-status.md index 6c46e786a0..b3c4b64f09 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/teams/update-membership-status.md +++ b/docs/examples/1.3.x/server-nodejs/examples/teams/update-membership-status.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/teams/update-name.md b/docs/examples/1.3.x/server-nodejs/examples/teams/update-name.md index 962e18f168..660c29859d 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/teams/update-name.md +++ b/docs/examples/1.3.x/server-nodejs/examples/teams/update-name.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/teams/update-prefs.md b/docs/examples/1.3.x/server-nodejs/examples/teams/update-prefs.md index eeeed6c7eb..55352df924 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/teams/update-prefs.md +++ b/docs/examples/1.3.x/server-nodejs/examples/teams/update-prefs.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/users/create-argon2user.md b/docs/examples/1.3.x/server-nodejs/examples/users/create-argon2user.md index 2762cc0112..17403fa229 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/users/create-argon2user.md +++ b/docs/examples/1.3.x/server-nodejs/examples/users/create-argon2user.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/users/create-bcrypt-user.md b/docs/examples/1.3.x/server-nodejs/examples/users/create-bcrypt-user.md index 7bbdd3b883..90f2efe43a 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.3.x/server-nodejs/examples/users/create-bcrypt-user.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/users/create-m-d5user.md b/docs/examples/1.3.x/server-nodejs/examples/users/create-m-d5user.md index 0661743da2..fdbc0f3040 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/users/create-m-d5user.md +++ b/docs/examples/1.3.x/server-nodejs/examples/users/create-m-d5user.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/users/create-p-h-pass-user.md b/docs/examples/1.3.x/server-nodejs/examples/users/create-p-h-pass-user.md index 37bd7e70c5..70789ec2dd 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.3.x/server-nodejs/examples/users/create-p-h-pass-user.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/users/create-s-h-a-user.md b/docs/examples/1.3.x/server-nodejs/examples/users/create-s-h-a-user.md index 1d0502598b..5b96402710 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.3.x/server-nodejs/examples/users/create-s-h-a-user.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/users/create-scrypt-modified-user.md b/docs/examples/1.3.x/server-nodejs/examples/users/create-scrypt-modified-user.md index 5a0153ec9a..ffbab8e176 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.3.x/server-nodejs/examples/users/create-scrypt-modified-user.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/users/create-scrypt-user.md b/docs/examples/1.3.x/server-nodejs/examples/users/create-scrypt-user.md index 83ec8d3d78..ae10dc5eee 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/users/create-scrypt-user.md +++ b/docs/examples/1.3.x/server-nodejs/examples/users/create-scrypt-user.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/users/create.md b/docs/examples/1.3.x/server-nodejs/examples/users/create.md index 65ab3fae41..ceb01f3735 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/users/create.md +++ b/docs/examples/1.3.x/server-nodejs/examples/users/create.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/users/delete-session.md b/docs/examples/1.3.x/server-nodejs/examples/users/delete-session.md index 18617ba2e8..c5ad8e39fd 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/users/delete-session.md +++ b/docs/examples/1.3.x/server-nodejs/examples/users/delete-session.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/users/delete-sessions.md b/docs/examples/1.3.x/server-nodejs/examples/users/delete-sessions.md index c804d7ddcf..7265c131f8 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/users/delete-sessions.md +++ b/docs/examples/1.3.x/server-nodejs/examples/users/delete-sessions.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/users/delete.md b/docs/examples/1.3.x/server-nodejs/examples/users/delete.md index 53606a7a0a..a1e694a3de 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/users/delete.md +++ b/docs/examples/1.3.x/server-nodejs/examples/users/delete.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/users/get-prefs.md b/docs/examples/1.3.x/server-nodejs/examples/users/get-prefs.md index c60db8ac77..4683f2fe24 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/users/get-prefs.md +++ b/docs/examples/1.3.x/server-nodejs/examples/users/get-prefs.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/users/get.md b/docs/examples/1.3.x/server-nodejs/examples/users/get.md index 3bad599d4d..27fd6b7464 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/users/get.md +++ b/docs/examples/1.3.x/server-nodejs/examples/users/get.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/users/list-logs.md b/docs/examples/1.3.x/server-nodejs/examples/users/list-logs.md index 0f76626c6e..40a1c8c8ba 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/users/list-logs.md +++ b/docs/examples/1.3.x/server-nodejs/examples/users/list-logs.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/users/list-memberships.md b/docs/examples/1.3.x/server-nodejs/examples/users/list-memberships.md index 81e0c4bc8f..6a83ec2857 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/users/list-memberships.md +++ b/docs/examples/1.3.x/server-nodejs/examples/users/list-memberships.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/users/list-sessions.md b/docs/examples/1.3.x/server-nodejs/examples/users/list-sessions.md index b44341bcbe..17d38f8c0e 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/users/list-sessions.md +++ b/docs/examples/1.3.x/server-nodejs/examples/users/list-sessions.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/users/list.md b/docs/examples/1.3.x/server-nodejs/examples/users/list.md index a9ba208d2e..016df4aa37 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/users/list.md +++ b/docs/examples/1.3.x/server-nodejs/examples/users/list.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/users/update-email-verification.md b/docs/examples/1.3.x/server-nodejs/examples/users/update-email-verification.md index 29c3e26593..c48ca4426e 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/users/update-email-verification.md +++ b/docs/examples/1.3.x/server-nodejs/examples/users/update-email-verification.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/users/update-email.md b/docs/examples/1.3.x/server-nodejs/examples/users/update-email.md index 5cef6fb5ec..726d191e8d 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/users/update-email.md +++ b/docs/examples/1.3.x/server-nodejs/examples/users/update-email.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/users/update-name.md b/docs/examples/1.3.x/server-nodejs/examples/users/update-name.md index ea33b7ed51..49140677fd 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/users/update-name.md +++ b/docs/examples/1.3.x/server-nodejs/examples/users/update-name.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/users/update-password.md b/docs/examples/1.3.x/server-nodejs/examples/users/update-password.md index f08a5990f4..a5e98a0335 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/users/update-password.md +++ b/docs/examples/1.3.x/server-nodejs/examples/users/update-password.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/users/update-phone-verification.md b/docs/examples/1.3.x/server-nodejs/examples/users/update-phone-verification.md index e6a95f93f8..bb2ddeccf7 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/users/update-phone-verification.md +++ b/docs/examples/1.3.x/server-nodejs/examples/users/update-phone-verification.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/users/update-phone.md b/docs/examples/1.3.x/server-nodejs/examples/users/update-phone.md index 8db9863c00..6957b6d666 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/users/update-phone.md +++ b/docs/examples/1.3.x/server-nodejs/examples/users/update-phone.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/users/update-prefs.md b/docs/examples/1.3.x/server-nodejs/examples/users/update-prefs.md index 75f1a4298c..643ebee220 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/users/update-prefs.md +++ b/docs/examples/1.3.x/server-nodejs/examples/users/update-prefs.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-nodejs/examples/users/update-status.md b/docs/examples/1.3.x/server-nodejs/examples/users/update-status.md index ac52d732ea..1b914dba72 100644 --- a/docs/examples/1.3.x/server-nodejs/examples/users/update-status.md +++ b/docs/examples/1.3.x/server-nodejs/examples/users/update-status.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/account/create-phone-verification.md b/docs/examples/1.3.x/server-php/examples/account/create-phone-verification.md index 1c41a30ce8..30d1637174 100644 --- a/docs/examples/1.3.x/server-php/examples/account/create-phone-verification.md +++ b/docs/examples/1.3.x/server-php/examples/account/create-phone-verification.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-php/examples/account/create-recovery.md b/docs/examples/1.3.x/server-php/examples/account/create-recovery.md index 8ca78fc37b..513037c533 100644 --- a/docs/examples/1.3.x/server-php/examples/account/create-recovery.md +++ b/docs/examples/1.3.x/server-php/examples/account/create-recovery.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-php/examples/account/create-verification.md b/docs/examples/1.3.x/server-php/examples/account/create-verification.md index 92fb38151c..4785065601 100644 --- a/docs/examples/1.3.x/server-php/examples/account/create-verification.md +++ b/docs/examples/1.3.x/server-php/examples/account/create-verification.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-php/examples/account/delete-session.md b/docs/examples/1.3.x/server-php/examples/account/delete-session.md index 51bf3e2d41..74847d73b7 100644 --- a/docs/examples/1.3.x/server-php/examples/account/delete-session.md +++ b/docs/examples/1.3.x/server-php/examples/account/delete-session.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-php/examples/account/delete-sessions.md b/docs/examples/1.3.x/server-php/examples/account/delete-sessions.md index bf3bc2a300..af4b46dbb6 100644 --- a/docs/examples/1.3.x/server-php/examples/account/delete-sessions.md +++ b/docs/examples/1.3.x/server-php/examples/account/delete-sessions.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-php/examples/account/get-prefs.md b/docs/examples/1.3.x/server-php/examples/account/get-prefs.md index a91b888723..50ffc766d3 100644 --- a/docs/examples/1.3.x/server-php/examples/account/get-prefs.md +++ b/docs/examples/1.3.x/server-php/examples/account/get-prefs.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-php/examples/account/get-session.md b/docs/examples/1.3.x/server-php/examples/account/get-session.md index 9e2341ce08..e2112ee4cd 100644 --- a/docs/examples/1.3.x/server-php/examples/account/get-session.md +++ b/docs/examples/1.3.x/server-php/examples/account/get-session.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-php/examples/account/get.md b/docs/examples/1.3.x/server-php/examples/account/get.md index 4333bf2e73..b9361063ce 100644 --- a/docs/examples/1.3.x/server-php/examples/account/get.md +++ b/docs/examples/1.3.x/server-php/examples/account/get.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-php/examples/account/list-logs.md b/docs/examples/1.3.x/server-php/examples/account/list-logs.md index 62bc86d668..1283d9cfd4 100644 --- a/docs/examples/1.3.x/server-php/examples/account/list-logs.md +++ b/docs/examples/1.3.x/server-php/examples/account/list-logs.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-php/examples/account/list-sessions.md b/docs/examples/1.3.x/server-php/examples/account/list-sessions.md index 7942a3de2a..a07d303fe9 100644 --- a/docs/examples/1.3.x/server-php/examples/account/list-sessions.md +++ b/docs/examples/1.3.x/server-php/examples/account/list-sessions.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-php/examples/account/update-email.md b/docs/examples/1.3.x/server-php/examples/account/update-email.md index a7ac5ede7d..a6bf5f6c24 100644 --- a/docs/examples/1.3.x/server-php/examples/account/update-email.md +++ b/docs/examples/1.3.x/server-php/examples/account/update-email.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-php/examples/account/update-name.md b/docs/examples/1.3.x/server-php/examples/account/update-name.md index 21bac94900..17f5189412 100644 --- a/docs/examples/1.3.x/server-php/examples/account/update-name.md +++ b/docs/examples/1.3.x/server-php/examples/account/update-name.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-php/examples/account/update-password.md b/docs/examples/1.3.x/server-php/examples/account/update-password.md index 47e4c96695..8bd4b4915c 100644 --- a/docs/examples/1.3.x/server-php/examples/account/update-password.md +++ b/docs/examples/1.3.x/server-php/examples/account/update-password.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-php/examples/account/update-phone-verification.md b/docs/examples/1.3.x/server-php/examples/account/update-phone-verification.md index 02458727a5..466f516464 100644 --- a/docs/examples/1.3.x/server-php/examples/account/update-phone-verification.md +++ b/docs/examples/1.3.x/server-php/examples/account/update-phone-verification.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-php/examples/account/update-phone.md b/docs/examples/1.3.x/server-php/examples/account/update-phone.md index eaa1898512..75947cdf53 100644 --- a/docs/examples/1.3.x/server-php/examples/account/update-phone.md +++ b/docs/examples/1.3.x/server-php/examples/account/update-phone.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-php/examples/account/update-prefs.md b/docs/examples/1.3.x/server-php/examples/account/update-prefs.md index 96d0be5781..f7687416f2 100644 --- a/docs/examples/1.3.x/server-php/examples/account/update-prefs.md +++ b/docs/examples/1.3.x/server-php/examples/account/update-prefs.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-php/examples/account/update-recovery.md b/docs/examples/1.3.x/server-php/examples/account/update-recovery.md index 379b219e6d..0f8285654b 100644 --- a/docs/examples/1.3.x/server-php/examples/account/update-recovery.md +++ b/docs/examples/1.3.x/server-php/examples/account/update-recovery.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-php/examples/account/update-session.md b/docs/examples/1.3.x/server-php/examples/account/update-session.md index 462be6b914..264e6b6435 100644 --- a/docs/examples/1.3.x/server-php/examples/account/update-session.md +++ b/docs/examples/1.3.x/server-php/examples/account/update-session.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-php/examples/account/update-status.md b/docs/examples/1.3.x/server-php/examples/account/update-status.md index b1a1f2c8ec..ecfb4b56fa 100644 --- a/docs/examples/1.3.x/server-php/examples/account/update-status.md +++ b/docs/examples/1.3.x/server-php/examples/account/update-status.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-php/examples/account/update-verification.md b/docs/examples/1.3.x/server-php/examples/account/update-verification.md index ad583a422e..81a86041fd 100644 --- a/docs/examples/1.3.x/server-php/examples/account/update-verification.md +++ b/docs/examples/1.3.x/server-php/examples/account/update-verification.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-php/examples/avatars/get-browser.md b/docs/examples/1.3.x/server-php/examples/avatars/get-browser.md index 362106f645..dc92f02acf 100644 --- a/docs/examples/1.3.x/server-php/examples/avatars/get-browser.md +++ b/docs/examples/1.3.x/server-php/examples/avatars/get-browser.md @@ -6,7 +6,7 @@ use Appwrite\Services\Avatars; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/avatars/get-credit-card.md b/docs/examples/1.3.x/server-php/examples/avatars/get-credit-card.md index c85ebeac2e..6808432f42 100644 --- a/docs/examples/1.3.x/server-php/examples/avatars/get-credit-card.md +++ b/docs/examples/1.3.x/server-php/examples/avatars/get-credit-card.md @@ -6,7 +6,7 @@ use Appwrite\Services\Avatars; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/avatars/get-favicon.md b/docs/examples/1.3.x/server-php/examples/avatars/get-favicon.md index 088524e051..4266898e6a 100644 --- a/docs/examples/1.3.x/server-php/examples/avatars/get-favicon.md +++ b/docs/examples/1.3.x/server-php/examples/avatars/get-favicon.md @@ -6,7 +6,7 @@ use Appwrite\Services\Avatars; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/avatars/get-flag.md b/docs/examples/1.3.x/server-php/examples/avatars/get-flag.md index 2f2705b61f..df76fff7d8 100644 --- a/docs/examples/1.3.x/server-php/examples/avatars/get-flag.md +++ b/docs/examples/1.3.x/server-php/examples/avatars/get-flag.md @@ -6,7 +6,7 @@ use Appwrite\Services\Avatars; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/avatars/get-image.md b/docs/examples/1.3.x/server-php/examples/avatars/get-image.md index d576232a42..bc0b285de5 100644 --- a/docs/examples/1.3.x/server-php/examples/avatars/get-image.md +++ b/docs/examples/1.3.x/server-php/examples/avatars/get-image.md @@ -6,7 +6,7 @@ use Appwrite\Services\Avatars; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/avatars/get-initials.md b/docs/examples/1.3.x/server-php/examples/avatars/get-initials.md index 4e924c7062..eafe65f3d7 100644 --- a/docs/examples/1.3.x/server-php/examples/avatars/get-initials.md +++ b/docs/examples/1.3.x/server-php/examples/avatars/get-initials.md @@ -6,7 +6,7 @@ use Appwrite\Services\Avatars; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/avatars/get-q-r.md b/docs/examples/1.3.x/server-php/examples/avatars/get-q-r.md index fde6e35b77..ff2bbf4a38 100644 --- a/docs/examples/1.3.x/server-php/examples/avatars/get-q-r.md +++ b/docs/examples/1.3.x/server-php/examples/avatars/get-q-r.md @@ -6,7 +6,7 @@ use Appwrite\Services\Avatars; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/create-boolean-attribute.md b/docs/examples/1.3.x/server-php/examples/databases/create-boolean-attribute.md index 17c92241b4..7ea50ba378 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.3.x/server-php/examples/databases/create-boolean-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/create-collection.md b/docs/examples/1.3.x/server-php/examples/databases/create-collection.md index 2fd5fb61c0..7bf6139f45 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/create-collection.md +++ b/docs/examples/1.3.x/server-php/examples/databases/create-collection.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/create-datetime-attribute.md b/docs/examples/1.3.x/server-php/examples/databases/create-datetime-attribute.md index 284163c266..8cff5f1897 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.3.x/server-php/examples/databases/create-datetime-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/create-document.md b/docs/examples/1.3.x/server-php/examples/databases/create-document.md index 509160b9ad..b5ed74d1d8 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/create-document.md +++ b/docs/examples/1.3.x/server-php/examples/databases/create-document.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/create-email-attribute.md b/docs/examples/1.3.x/server-php/examples/databases/create-email-attribute.md index df68be7fb0..2fef5160db 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/create-email-attribute.md +++ b/docs/examples/1.3.x/server-php/examples/databases/create-email-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/create-enum-attribute.md b/docs/examples/1.3.x/server-php/examples/databases/create-enum-attribute.md index c469679fd7..baeeb8edfb 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.3.x/server-php/examples/databases/create-enum-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/create-float-attribute.md b/docs/examples/1.3.x/server-php/examples/databases/create-float-attribute.md index c182d0a774..177647813c 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/create-float-attribute.md +++ b/docs/examples/1.3.x/server-php/examples/databases/create-float-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/create-index.md b/docs/examples/1.3.x/server-php/examples/databases/create-index.md index 6ecd4cc58b..4046c511a7 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/create-index.md +++ b/docs/examples/1.3.x/server-php/examples/databases/create-index.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/create-integer-attribute.md b/docs/examples/1.3.x/server-php/examples/databases/create-integer-attribute.md index d86ca7056b..8e5c54ec5a 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.3.x/server-php/examples/databases/create-integer-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/create-ip-attribute.md b/docs/examples/1.3.x/server-php/examples/databases/create-ip-attribute.md index 823fa99482..fe55cfe204 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.3.x/server-php/examples/databases/create-ip-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/create-relationship-attribute.md b/docs/examples/1.3.x/server-php/examples/databases/create-relationship-attribute.md index 4840a66937..97b00cda2f 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.3.x/server-php/examples/databases/create-relationship-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/create-string-attribute.md b/docs/examples/1.3.x/server-php/examples/databases/create-string-attribute.md index 50abd0a18d..7be05ee07e 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/create-string-attribute.md +++ b/docs/examples/1.3.x/server-php/examples/databases/create-string-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/create-url-attribute.md b/docs/examples/1.3.x/server-php/examples/databases/create-url-attribute.md index 5520cb1334..2380d74c43 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/create-url-attribute.md +++ b/docs/examples/1.3.x/server-php/examples/databases/create-url-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/create.md b/docs/examples/1.3.x/server-php/examples/databases/create.md index 16176b9b40..f05690391a 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/create.md +++ b/docs/examples/1.3.x/server-php/examples/databases/create.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/delete-attribute.md b/docs/examples/1.3.x/server-php/examples/databases/delete-attribute.md index d89c7de4f7..e46374ca42 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/delete-attribute.md +++ b/docs/examples/1.3.x/server-php/examples/databases/delete-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/delete-collection.md b/docs/examples/1.3.x/server-php/examples/databases/delete-collection.md index 29c627bbf0..f5ffb2c75a 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/delete-collection.md +++ b/docs/examples/1.3.x/server-php/examples/databases/delete-collection.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/delete-document.md b/docs/examples/1.3.x/server-php/examples/databases/delete-document.md index 9d5f1f0d51..523d3b5e0e 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/delete-document.md +++ b/docs/examples/1.3.x/server-php/examples/databases/delete-document.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/delete-index.md b/docs/examples/1.3.x/server-php/examples/databases/delete-index.md index 073aa3a82e..5739f5ce6b 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/delete-index.md +++ b/docs/examples/1.3.x/server-php/examples/databases/delete-index.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/delete.md b/docs/examples/1.3.x/server-php/examples/databases/delete.md index 3dab79bc99..0cc8b06106 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/delete.md +++ b/docs/examples/1.3.x/server-php/examples/databases/delete.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/get-attribute.md b/docs/examples/1.3.x/server-php/examples/databases/get-attribute.md index c286a7692a..5a109b7594 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/get-attribute.md +++ b/docs/examples/1.3.x/server-php/examples/databases/get-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/get-collection.md b/docs/examples/1.3.x/server-php/examples/databases/get-collection.md index 7cc578df8d..6d665e4601 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/get-collection.md +++ b/docs/examples/1.3.x/server-php/examples/databases/get-collection.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/get-document.md b/docs/examples/1.3.x/server-php/examples/databases/get-document.md index 7637e035e2..0397d6cbd5 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/get-document.md +++ b/docs/examples/1.3.x/server-php/examples/databases/get-document.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/get-index.md b/docs/examples/1.3.x/server-php/examples/databases/get-index.md index a674a5935e..ff39044a1f 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/get-index.md +++ b/docs/examples/1.3.x/server-php/examples/databases/get-index.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/get.md b/docs/examples/1.3.x/server-php/examples/databases/get.md index adc415f9a5..f87400b7dd 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/get.md +++ b/docs/examples/1.3.x/server-php/examples/databases/get.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/list-attributes.md b/docs/examples/1.3.x/server-php/examples/databases/list-attributes.md index 424c4b2405..decd393944 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/list-attributes.md +++ b/docs/examples/1.3.x/server-php/examples/databases/list-attributes.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/list-collections.md b/docs/examples/1.3.x/server-php/examples/databases/list-collections.md index 3f311f3138..7c0810a073 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/list-collections.md +++ b/docs/examples/1.3.x/server-php/examples/databases/list-collections.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/list-documents.md b/docs/examples/1.3.x/server-php/examples/databases/list-documents.md index c9a6bbe4ff..c2a1d47d2a 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/list-documents.md +++ b/docs/examples/1.3.x/server-php/examples/databases/list-documents.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/list-indexes.md b/docs/examples/1.3.x/server-php/examples/databases/list-indexes.md index 733d20b933..ecf4797d65 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/list-indexes.md +++ b/docs/examples/1.3.x/server-php/examples/databases/list-indexes.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/list.md b/docs/examples/1.3.x/server-php/examples/databases/list.md index 45963718d3..6882d17e97 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/list.md +++ b/docs/examples/1.3.x/server-php/examples/databases/list.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/update-boolean-attribute.md b/docs/examples/1.3.x/server-php/examples/databases/update-boolean-attribute.md index 9e8b8699e1..13b25b52c4 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.3.x/server-php/examples/databases/update-boolean-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/update-collection.md b/docs/examples/1.3.x/server-php/examples/databases/update-collection.md index 878bf20986..9eedede688 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/update-collection.md +++ b/docs/examples/1.3.x/server-php/examples/databases/update-collection.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/update-datetime-attribute.md b/docs/examples/1.3.x/server-php/examples/databases/update-datetime-attribute.md index 26214fb785..efbb871327 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.3.x/server-php/examples/databases/update-datetime-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/update-document.md b/docs/examples/1.3.x/server-php/examples/databases/update-document.md index 796e4600eb..56310e155f 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/update-document.md +++ b/docs/examples/1.3.x/server-php/examples/databases/update-document.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/update-email-attribute.md b/docs/examples/1.3.x/server-php/examples/databases/update-email-attribute.md index 7278881e3b..ba670046c3 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/update-email-attribute.md +++ b/docs/examples/1.3.x/server-php/examples/databases/update-email-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/update-enum-attribute.md b/docs/examples/1.3.x/server-php/examples/databases/update-enum-attribute.md index a77211b0f7..df0f6409dd 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.3.x/server-php/examples/databases/update-enum-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/update-float-attribute.md b/docs/examples/1.3.x/server-php/examples/databases/update-float-attribute.md index e73793e1fd..9d27fa196f 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/update-float-attribute.md +++ b/docs/examples/1.3.x/server-php/examples/databases/update-float-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/update-integer-attribute.md b/docs/examples/1.3.x/server-php/examples/databases/update-integer-attribute.md index 1cff205200..795f2cfd44 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.3.x/server-php/examples/databases/update-integer-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/update-ip-attribute.md b/docs/examples/1.3.x/server-php/examples/databases/update-ip-attribute.md index bb49d89c39..0f42ca3f40 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.3.x/server-php/examples/databases/update-ip-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/update-relationship-attribute.md b/docs/examples/1.3.x/server-php/examples/databases/update-relationship-attribute.md index b68025b84c..078d0338ca 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.3.x/server-php/examples/databases/update-relationship-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/update-string-attribute.md b/docs/examples/1.3.x/server-php/examples/databases/update-string-attribute.md index 775d0fa2be..0c821fe9d0 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/update-string-attribute.md +++ b/docs/examples/1.3.x/server-php/examples/databases/update-string-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/update-url-attribute.md b/docs/examples/1.3.x/server-php/examples/databases/update-url-attribute.md index 6d4845e7eb..a14bde5d2d 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/update-url-attribute.md +++ b/docs/examples/1.3.x/server-php/examples/databases/update-url-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/databases/update.md b/docs/examples/1.3.x/server-php/examples/databases/update.md index db1ae7688e..b1f0589be9 100644 --- a/docs/examples/1.3.x/server-php/examples/databases/update.md +++ b/docs/examples/1.3.x/server-php/examples/databases/update.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/functions/create-build.md b/docs/examples/1.3.x/server-php/examples/functions/create-build.md index ac66cc2eb2..cc83570c3a 100644 --- a/docs/examples/1.3.x/server-php/examples/functions/create-build.md +++ b/docs/examples/1.3.x/server-php/examples/functions/create-build.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/functions/create-deployment.md b/docs/examples/1.3.x/server-php/examples/functions/create-deployment.md index a556cace24..f23873acb8 100644 --- a/docs/examples/1.3.x/server-php/examples/functions/create-deployment.md +++ b/docs/examples/1.3.x/server-php/examples/functions/create-deployment.md @@ -7,7 +7,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/functions/create-execution.md b/docs/examples/1.3.x/server-php/examples/functions/create-execution.md index 038126a728..bc6138825f 100644 --- a/docs/examples/1.3.x/server-php/examples/functions/create-execution.md +++ b/docs/examples/1.3.x/server-php/examples/functions/create-execution.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/functions/create-variable.md b/docs/examples/1.3.x/server-php/examples/functions/create-variable.md index f09e61861e..57244ec1f4 100644 --- a/docs/examples/1.3.x/server-php/examples/functions/create-variable.md +++ b/docs/examples/1.3.x/server-php/examples/functions/create-variable.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/functions/create.md b/docs/examples/1.3.x/server-php/examples/functions/create.md index 22744b7584..30df185602 100644 --- a/docs/examples/1.3.x/server-php/examples/functions/create.md +++ b/docs/examples/1.3.x/server-php/examples/functions/create.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/functions/delete-deployment.md b/docs/examples/1.3.x/server-php/examples/functions/delete-deployment.md index 7227cd995f..bbc65aada1 100644 --- a/docs/examples/1.3.x/server-php/examples/functions/delete-deployment.md +++ b/docs/examples/1.3.x/server-php/examples/functions/delete-deployment.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/functions/delete-variable.md b/docs/examples/1.3.x/server-php/examples/functions/delete-variable.md index a457846492..42376a0e9f 100644 --- a/docs/examples/1.3.x/server-php/examples/functions/delete-variable.md +++ b/docs/examples/1.3.x/server-php/examples/functions/delete-variable.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/functions/delete.md b/docs/examples/1.3.x/server-php/examples/functions/delete.md index d06c732f57..2abe85b75d 100644 --- a/docs/examples/1.3.x/server-php/examples/functions/delete.md +++ b/docs/examples/1.3.x/server-php/examples/functions/delete.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/functions/get-deployment.md b/docs/examples/1.3.x/server-php/examples/functions/get-deployment.md index 4c4fe49eb3..19f4d58392 100644 --- a/docs/examples/1.3.x/server-php/examples/functions/get-deployment.md +++ b/docs/examples/1.3.x/server-php/examples/functions/get-deployment.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/functions/get-execution.md b/docs/examples/1.3.x/server-php/examples/functions/get-execution.md index ff59dc1cfe..994f2be976 100644 --- a/docs/examples/1.3.x/server-php/examples/functions/get-execution.md +++ b/docs/examples/1.3.x/server-php/examples/functions/get-execution.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/functions/get-variable.md b/docs/examples/1.3.x/server-php/examples/functions/get-variable.md index e80b8f9fc0..34012f9fbb 100644 --- a/docs/examples/1.3.x/server-php/examples/functions/get-variable.md +++ b/docs/examples/1.3.x/server-php/examples/functions/get-variable.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/functions/get.md b/docs/examples/1.3.x/server-php/examples/functions/get.md index aef5806259..2f5e69b142 100644 --- a/docs/examples/1.3.x/server-php/examples/functions/get.md +++ b/docs/examples/1.3.x/server-php/examples/functions/get.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/functions/list-deployments.md b/docs/examples/1.3.x/server-php/examples/functions/list-deployments.md index 366e5fdc71..db4524430b 100644 --- a/docs/examples/1.3.x/server-php/examples/functions/list-deployments.md +++ b/docs/examples/1.3.x/server-php/examples/functions/list-deployments.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/functions/list-executions.md b/docs/examples/1.3.x/server-php/examples/functions/list-executions.md index 34a80ad434..f431a4a937 100644 --- a/docs/examples/1.3.x/server-php/examples/functions/list-executions.md +++ b/docs/examples/1.3.x/server-php/examples/functions/list-executions.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/functions/list-runtimes.md b/docs/examples/1.3.x/server-php/examples/functions/list-runtimes.md index b35dadfec9..23089ec3ea 100644 --- a/docs/examples/1.3.x/server-php/examples/functions/list-runtimes.md +++ b/docs/examples/1.3.x/server-php/examples/functions/list-runtimes.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/functions/list-variables.md b/docs/examples/1.3.x/server-php/examples/functions/list-variables.md index cf74289157..aa84e28a6d 100644 --- a/docs/examples/1.3.x/server-php/examples/functions/list-variables.md +++ b/docs/examples/1.3.x/server-php/examples/functions/list-variables.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/functions/list.md b/docs/examples/1.3.x/server-php/examples/functions/list.md index f57875572e..0592572135 100644 --- a/docs/examples/1.3.x/server-php/examples/functions/list.md +++ b/docs/examples/1.3.x/server-php/examples/functions/list.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/functions/update-deployment.md b/docs/examples/1.3.x/server-php/examples/functions/update-deployment.md index b5f09cd018..3e259458ff 100644 --- a/docs/examples/1.3.x/server-php/examples/functions/update-deployment.md +++ b/docs/examples/1.3.x/server-php/examples/functions/update-deployment.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/functions/update-variable.md b/docs/examples/1.3.x/server-php/examples/functions/update-variable.md index 4eb52d94d3..f1952d8b5c 100644 --- a/docs/examples/1.3.x/server-php/examples/functions/update-variable.md +++ b/docs/examples/1.3.x/server-php/examples/functions/update-variable.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/functions/update.md b/docs/examples/1.3.x/server-php/examples/functions/update.md index 072ff5cdbb..05636d40bf 100644 --- a/docs/examples/1.3.x/server-php/examples/functions/update.md +++ b/docs/examples/1.3.x/server-php/examples/functions/update.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/graphql/mutation.md b/docs/examples/1.3.x/server-php/examples/graphql/mutation.md index 5622f7f269..f75d53e86c 100644 --- a/docs/examples/1.3.x/server-php/examples/graphql/mutation.md +++ b/docs/examples/1.3.x/server-php/examples/graphql/mutation.md @@ -6,7 +6,7 @@ use Appwrite\Services\Graphql; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/graphql/query.md b/docs/examples/1.3.x/server-php/examples/graphql/query.md index 3ca1d940c4..369dcbd47e 100644 --- a/docs/examples/1.3.x/server-php/examples/graphql/query.md +++ b/docs/examples/1.3.x/server-php/examples/graphql/query.md @@ -6,7 +6,7 @@ use Appwrite\Services\Graphql; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/health/get-antivirus.md b/docs/examples/1.3.x/server-php/examples/health/get-antivirus.md index 4f1483514b..f31c642d9f 100644 --- a/docs/examples/1.3.x/server-php/examples/health/get-antivirus.md +++ b/docs/examples/1.3.x/server-php/examples/health/get-antivirus.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/health/get-cache.md b/docs/examples/1.3.x/server-php/examples/health/get-cache.md index 3d1b19b3ef..90cc8d8686 100644 --- a/docs/examples/1.3.x/server-php/examples/health/get-cache.md +++ b/docs/examples/1.3.x/server-php/examples/health/get-cache.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/health/get-d-b.md b/docs/examples/1.3.x/server-php/examples/health/get-d-b.md index c03ba23723..1ff93f4707 100644 --- a/docs/examples/1.3.x/server-php/examples/health/get-d-b.md +++ b/docs/examples/1.3.x/server-php/examples/health/get-d-b.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/health/get-queue-certificates.md b/docs/examples/1.3.x/server-php/examples/health/get-queue-certificates.md index 76236de7b5..e58ba39c47 100644 --- a/docs/examples/1.3.x/server-php/examples/health/get-queue-certificates.md +++ b/docs/examples/1.3.x/server-php/examples/health/get-queue-certificates.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/health/get-queue-functions.md b/docs/examples/1.3.x/server-php/examples/health/get-queue-functions.md index 31f65de1d1..699b4d390c 100644 --- a/docs/examples/1.3.x/server-php/examples/health/get-queue-functions.md +++ b/docs/examples/1.3.x/server-php/examples/health/get-queue-functions.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/health/get-queue-logs.md b/docs/examples/1.3.x/server-php/examples/health/get-queue-logs.md index ff1adb2a41..f55e861176 100644 --- a/docs/examples/1.3.x/server-php/examples/health/get-queue-logs.md +++ b/docs/examples/1.3.x/server-php/examples/health/get-queue-logs.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/health/get-queue-webhooks.md b/docs/examples/1.3.x/server-php/examples/health/get-queue-webhooks.md index 99592bcfac..838f442822 100644 --- a/docs/examples/1.3.x/server-php/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.3.x/server-php/examples/health/get-queue-webhooks.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/health/get-storage-local.md b/docs/examples/1.3.x/server-php/examples/health/get-storage-local.md index 55212c36ae..f156c7a6fe 100644 --- a/docs/examples/1.3.x/server-php/examples/health/get-storage-local.md +++ b/docs/examples/1.3.x/server-php/examples/health/get-storage-local.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/health/get-time.md b/docs/examples/1.3.x/server-php/examples/health/get-time.md index 5410124786..2efbd2d237 100644 --- a/docs/examples/1.3.x/server-php/examples/health/get-time.md +++ b/docs/examples/1.3.x/server-php/examples/health/get-time.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/health/get.md b/docs/examples/1.3.x/server-php/examples/health/get.md index 62cab8acf2..9a080c8e4d 100644 --- a/docs/examples/1.3.x/server-php/examples/health/get.md +++ b/docs/examples/1.3.x/server-php/examples/health/get.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/locale/get.md b/docs/examples/1.3.x/server-php/examples/locale/get.md index c4910463c5..3a8e04cc53 100644 --- a/docs/examples/1.3.x/server-php/examples/locale/get.md +++ b/docs/examples/1.3.x/server-php/examples/locale/get.md @@ -6,7 +6,7 @@ use Appwrite\Services\Locale; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/locale/list-continents.md b/docs/examples/1.3.x/server-php/examples/locale/list-continents.md index 9cd8fb1399..1103c8b847 100644 --- a/docs/examples/1.3.x/server-php/examples/locale/list-continents.md +++ b/docs/examples/1.3.x/server-php/examples/locale/list-continents.md @@ -6,7 +6,7 @@ use Appwrite\Services\Locale; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/locale/list-countries-e-u.md b/docs/examples/1.3.x/server-php/examples/locale/list-countries-e-u.md index 1f2ef98c96..7ad6b05299 100644 --- a/docs/examples/1.3.x/server-php/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.3.x/server-php/examples/locale/list-countries-e-u.md @@ -6,7 +6,7 @@ use Appwrite\Services\Locale; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/locale/list-countries-phones.md b/docs/examples/1.3.x/server-php/examples/locale/list-countries-phones.md index 6f8acb7467..3f5154c98c 100644 --- a/docs/examples/1.3.x/server-php/examples/locale/list-countries-phones.md +++ b/docs/examples/1.3.x/server-php/examples/locale/list-countries-phones.md @@ -6,7 +6,7 @@ use Appwrite\Services\Locale; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/locale/list-countries.md b/docs/examples/1.3.x/server-php/examples/locale/list-countries.md index 28c518e82a..4abf4cc491 100644 --- a/docs/examples/1.3.x/server-php/examples/locale/list-countries.md +++ b/docs/examples/1.3.x/server-php/examples/locale/list-countries.md @@ -6,7 +6,7 @@ use Appwrite\Services\Locale; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/locale/list-currencies.md b/docs/examples/1.3.x/server-php/examples/locale/list-currencies.md index 37784f3d1e..8b115f898c 100644 --- a/docs/examples/1.3.x/server-php/examples/locale/list-currencies.md +++ b/docs/examples/1.3.x/server-php/examples/locale/list-currencies.md @@ -6,7 +6,7 @@ use Appwrite\Services\Locale; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/locale/list-languages.md b/docs/examples/1.3.x/server-php/examples/locale/list-languages.md index 8b4f082cb0..74347ff87b 100644 --- a/docs/examples/1.3.x/server-php/examples/locale/list-languages.md +++ b/docs/examples/1.3.x/server-php/examples/locale/list-languages.md @@ -6,7 +6,7 @@ use Appwrite\Services\Locale; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/storage/create-bucket.md b/docs/examples/1.3.x/server-php/examples/storage/create-bucket.md index bf54c22a47..3e43cd52b4 100644 --- a/docs/examples/1.3.x/server-php/examples/storage/create-bucket.md +++ b/docs/examples/1.3.x/server-php/examples/storage/create-bucket.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/storage/create-file.md b/docs/examples/1.3.x/server-php/examples/storage/create-file.md index e2cfce7ae9..3c0fc4c71f 100644 --- a/docs/examples/1.3.x/server-php/examples/storage/create-file.md +++ b/docs/examples/1.3.x/server-php/examples/storage/create-file.md @@ -7,7 +7,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/storage/delete-bucket.md b/docs/examples/1.3.x/server-php/examples/storage/delete-bucket.md index b3659b6276..bfae9b70a7 100644 --- a/docs/examples/1.3.x/server-php/examples/storage/delete-bucket.md +++ b/docs/examples/1.3.x/server-php/examples/storage/delete-bucket.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/storage/delete-file.md b/docs/examples/1.3.x/server-php/examples/storage/delete-file.md index 00db8551b3..5fb21e0210 100644 --- a/docs/examples/1.3.x/server-php/examples/storage/delete-file.md +++ b/docs/examples/1.3.x/server-php/examples/storage/delete-file.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/storage/get-bucket.md b/docs/examples/1.3.x/server-php/examples/storage/get-bucket.md index d4d152aff4..e816ef192f 100644 --- a/docs/examples/1.3.x/server-php/examples/storage/get-bucket.md +++ b/docs/examples/1.3.x/server-php/examples/storage/get-bucket.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/storage/get-file-download.md b/docs/examples/1.3.x/server-php/examples/storage/get-file-download.md index 0c7fefda37..9a181f7007 100644 --- a/docs/examples/1.3.x/server-php/examples/storage/get-file-download.md +++ b/docs/examples/1.3.x/server-php/examples/storage/get-file-download.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/storage/get-file-preview.md b/docs/examples/1.3.x/server-php/examples/storage/get-file-preview.md index c1b91e5c29..d30c0ec450 100644 --- a/docs/examples/1.3.x/server-php/examples/storage/get-file-preview.md +++ b/docs/examples/1.3.x/server-php/examples/storage/get-file-preview.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/storage/get-file-view.md b/docs/examples/1.3.x/server-php/examples/storage/get-file-view.md index f527c1b744..983fb0c52f 100644 --- a/docs/examples/1.3.x/server-php/examples/storage/get-file-view.md +++ b/docs/examples/1.3.x/server-php/examples/storage/get-file-view.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/storage/get-file.md b/docs/examples/1.3.x/server-php/examples/storage/get-file.md index cb56c96a42..799e1192d0 100644 --- a/docs/examples/1.3.x/server-php/examples/storage/get-file.md +++ b/docs/examples/1.3.x/server-php/examples/storage/get-file.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/storage/list-buckets.md b/docs/examples/1.3.x/server-php/examples/storage/list-buckets.md index b92dc82bcb..235cc8f9b6 100644 --- a/docs/examples/1.3.x/server-php/examples/storage/list-buckets.md +++ b/docs/examples/1.3.x/server-php/examples/storage/list-buckets.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/storage/list-files.md b/docs/examples/1.3.x/server-php/examples/storage/list-files.md index e0b79186e4..12b697fc81 100644 --- a/docs/examples/1.3.x/server-php/examples/storage/list-files.md +++ b/docs/examples/1.3.x/server-php/examples/storage/list-files.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/storage/update-bucket.md b/docs/examples/1.3.x/server-php/examples/storage/update-bucket.md index 5e46dfc83b..6985651b9b 100644 --- a/docs/examples/1.3.x/server-php/examples/storage/update-bucket.md +++ b/docs/examples/1.3.x/server-php/examples/storage/update-bucket.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/storage/update-file.md b/docs/examples/1.3.x/server-php/examples/storage/update-file.md index 1d3e01e99a..6dc64b1f5b 100644 --- a/docs/examples/1.3.x/server-php/examples/storage/update-file.md +++ b/docs/examples/1.3.x/server-php/examples/storage/update-file.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/teams/create-membership.md b/docs/examples/1.3.x/server-php/examples/teams/create-membership.md index 34f642ea11..d87d3b894d 100644 --- a/docs/examples/1.3.x/server-php/examples/teams/create-membership.md +++ b/docs/examples/1.3.x/server-php/examples/teams/create-membership.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/teams/create.md b/docs/examples/1.3.x/server-php/examples/teams/create.md index e5efe49b30..551922be14 100644 --- a/docs/examples/1.3.x/server-php/examples/teams/create.md +++ b/docs/examples/1.3.x/server-php/examples/teams/create.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/teams/delete-membership.md b/docs/examples/1.3.x/server-php/examples/teams/delete-membership.md index 2b40c1742e..5d070ee09c 100644 --- a/docs/examples/1.3.x/server-php/examples/teams/delete-membership.md +++ b/docs/examples/1.3.x/server-php/examples/teams/delete-membership.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/teams/delete.md b/docs/examples/1.3.x/server-php/examples/teams/delete.md index 5ec2ed995c..009c7eee2e 100644 --- a/docs/examples/1.3.x/server-php/examples/teams/delete.md +++ b/docs/examples/1.3.x/server-php/examples/teams/delete.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/teams/get-membership.md b/docs/examples/1.3.x/server-php/examples/teams/get-membership.md index fdd3024783..f23b8a7eb0 100644 --- a/docs/examples/1.3.x/server-php/examples/teams/get-membership.md +++ b/docs/examples/1.3.x/server-php/examples/teams/get-membership.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/teams/get-prefs.md b/docs/examples/1.3.x/server-php/examples/teams/get-prefs.md index 0436f96962..211373dd8a 100644 --- a/docs/examples/1.3.x/server-php/examples/teams/get-prefs.md +++ b/docs/examples/1.3.x/server-php/examples/teams/get-prefs.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-php/examples/teams/get.md b/docs/examples/1.3.x/server-php/examples/teams/get.md index 94b8a2695a..b7b4a43ac6 100644 --- a/docs/examples/1.3.x/server-php/examples/teams/get.md +++ b/docs/examples/1.3.x/server-php/examples/teams/get.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/teams/list-memberships.md b/docs/examples/1.3.x/server-php/examples/teams/list-memberships.md index f23b78eca1..3a15fd91be 100644 --- a/docs/examples/1.3.x/server-php/examples/teams/list-memberships.md +++ b/docs/examples/1.3.x/server-php/examples/teams/list-memberships.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/teams/list.md b/docs/examples/1.3.x/server-php/examples/teams/list.md index 66f54b6e1c..970b2b08d2 100644 --- a/docs/examples/1.3.x/server-php/examples/teams/list.md +++ b/docs/examples/1.3.x/server-php/examples/teams/list.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/teams/update-membership-roles.md b/docs/examples/1.3.x/server-php/examples/teams/update-membership-roles.md index 5923997551..c744578712 100644 --- a/docs/examples/1.3.x/server-php/examples/teams/update-membership-roles.md +++ b/docs/examples/1.3.x/server-php/examples/teams/update-membership-roles.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/teams/update-membership-status.md b/docs/examples/1.3.x/server-php/examples/teams/update-membership-status.md index 15504ad421..0d0a125886 100644 --- a/docs/examples/1.3.x/server-php/examples/teams/update-membership-status.md +++ b/docs/examples/1.3.x/server-php/examples/teams/update-membership-status.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-php/examples/teams/update-name.md b/docs/examples/1.3.x/server-php/examples/teams/update-name.md index e88a31862d..09c9b6f928 100644 --- a/docs/examples/1.3.x/server-php/examples/teams/update-name.md +++ b/docs/examples/1.3.x/server-php/examples/teams/update-name.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/teams/update-prefs.md b/docs/examples/1.3.x/server-php/examples/teams/update-prefs.md index 4d044cce23..fd42914c45 100644 --- a/docs/examples/1.3.x/server-php/examples/teams/update-prefs.md +++ b/docs/examples/1.3.x/server-php/examples/teams/update-prefs.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.3.x/server-php/examples/users/create-argon2user.md b/docs/examples/1.3.x/server-php/examples/users/create-argon2user.md index 1036ca109e..83bc040827 100644 --- a/docs/examples/1.3.x/server-php/examples/users/create-argon2user.md +++ b/docs/examples/1.3.x/server-php/examples/users/create-argon2user.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/users/create-bcrypt-user.md b/docs/examples/1.3.x/server-php/examples/users/create-bcrypt-user.md index de15110a4e..ce1e2d5633 100644 --- a/docs/examples/1.3.x/server-php/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.3.x/server-php/examples/users/create-bcrypt-user.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/users/create-m-d5user.md b/docs/examples/1.3.x/server-php/examples/users/create-m-d5user.md index 15f4ebe0aa..d78ffa24d4 100644 --- a/docs/examples/1.3.x/server-php/examples/users/create-m-d5user.md +++ b/docs/examples/1.3.x/server-php/examples/users/create-m-d5user.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/users/create-p-h-pass-user.md b/docs/examples/1.3.x/server-php/examples/users/create-p-h-pass-user.md index 2eb682fc42..097636038a 100644 --- a/docs/examples/1.3.x/server-php/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.3.x/server-php/examples/users/create-p-h-pass-user.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/users/create-s-h-a-user.md b/docs/examples/1.3.x/server-php/examples/users/create-s-h-a-user.md index 3e63bd9928..ab5df354cc 100644 --- a/docs/examples/1.3.x/server-php/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.3.x/server-php/examples/users/create-s-h-a-user.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/users/create-scrypt-modified-user.md b/docs/examples/1.3.x/server-php/examples/users/create-scrypt-modified-user.md index bcf7c52cd5..bb71afe901 100644 --- a/docs/examples/1.3.x/server-php/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.3.x/server-php/examples/users/create-scrypt-modified-user.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/users/create-scrypt-user.md b/docs/examples/1.3.x/server-php/examples/users/create-scrypt-user.md index 43a4bcc2e2..563268784d 100644 --- a/docs/examples/1.3.x/server-php/examples/users/create-scrypt-user.md +++ b/docs/examples/1.3.x/server-php/examples/users/create-scrypt-user.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/users/create.md b/docs/examples/1.3.x/server-php/examples/users/create.md index dab8a5ed70..67ab2660eb 100644 --- a/docs/examples/1.3.x/server-php/examples/users/create.md +++ b/docs/examples/1.3.x/server-php/examples/users/create.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/users/delete-session.md b/docs/examples/1.3.x/server-php/examples/users/delete-session.md index c6a507c7b2..6ce035a739 100644 --- a/docs/examples/1.3.x/server-php/examples/users/delete-session.md +++ b/docs/examples/1.3.x/server-php/examples/users/delete-session.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/users/delete-sessions.md b/docs/examples/1.3.x/server-php/examples/users/delete-sessions.md index 570d258683..a4a07242bd 100644 --- a/docs/examples/1.3.x/server-php/examples/users/delete-sessions.md +++ b/docs/examples/1.3.x/server-php/examples/users/delete-sessions.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/users/delete.md b/docs/examples/1.3.x/server-php/examples/users/delete.md index 1d5a822fde..63279e1b46 100644 --- a/docs/examples/1.3.x/server-php/examples/users/delete.md +++ b/docs/examples/1.3.x/server-php/examples/users/delete.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/users/get-prefs.md b/docs/examples/1.3.x/server-php/examples/users/get-prefs.md index e9c8c58bf3..d52706530e 100644 --- a/docs/examples/1.3.x/server-php/examples/users/get-prefs.md +++ b/docs/examples/1.3.x/server-php/examples/users/get-prefs.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/users/get.md b/docs/examples/1.3.x/server-php/examples/users/get.md index 51482d37eb..5f84f327db 100644 --- a/docs/examples/1.3.x/server-php/examples/users/get.md +++ b/docs/examples/1.3.x/server-php/examples/users/get.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/users/list-logs.md b/docs/examples/1.3.x/server-php/examples/users/list-logs.md index e6287563c2..d5166c0b66 100644 --- a/docs/examples/1.3.x/server-php/examples/users/list-logs.md +++ b/docs/examples/1.3.x/server-php/examples/users/list-logs.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/users/list-memberships.md b/docs/examples/1.3.x/server-php/examples/users/list-memberships.md index 039216bc1e..84ebf8e8a1 100644 --- a/docs/examples/1.3.x/server-php/examples/users/list-memberships.md +++ b/docs/examples/1.3.x/server-php/examples/users/list-memberships.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/users/list-sessions.md b/docs/examples/1.3.x/server-php/examples/users/list-sessions.md index e09b65d475..100df65a48 100644 --- a/docs/examples/1.3.x/server-php/examples/users/list-sessions.md +++ b/docs/examples/1.3.x/server-php/examples/users/list-sessions.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/users/list.md b/docs/examples/1.3.x/server-php/examples/users/list.md index 8d86e86372..30929b467b 100644 --- a/docs/examples/1.3.x/server-php/examples/users/list.md +++ b/docs/examples/1.3.x/server-php/examples/users/list.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/users/update-email-verification.md b/docs/examples/1.3.x/server-php/examples/users/update-email-verification.md index 67c3e12ee0..6b0b5b0d4c 100644 --- a/docs/examples/1.3.x/server-php/examples/users/update-email-verification.md +++ b/docs/examples/1.3.x/server-php/examples/users/update-email-verification.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/users/update-email.md b/docs/examples/1.3.x/server-php/examples/users/update-email.md index c6a7412b89..fe35bf057e 100644 --- a/docs/examples/1.3.x/server-php/examples/users/update-email.md +++ b/docs/examples/1.3.x/server-php/examples/users/update-email.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/users/update-name.md b/docs/examples/1.3.x/server-php/examples/users/update-name.md index 598ef2a3a2..838f436758 100644 --- a/docs/examples/1.3.x/server-php/examples/users/update-name.md +++ b/docs/examples/1.3.x/server-php/examples/users/update-name.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/users/update-password.md b/docs/examples/1.3.x/server-php/examples/users/update-password.md index de5ec7d132..040e9e4599 100644 --- a/docs/examples/1.3.x/server-php/examples/users/update-password.md +++ b/docs/examples/1.3.x/server-php/examples/users/update-password.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/users/update-phone-verification.md b/docs/examples/1.3.x/server-php/examples/users/update-phone-verification.md index e9929a547b..e18b57274a 100644 --- a/docs/examples/1.3.x/server-php/examples/users/update-phone-verification.md +++ b/docs/examples/1.3.x/server-php/examples/users/update-phone-verification.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/users/update-phone.md b/docs/examples/1.3.x/server-php/examples/users/update-phone.md index 0df380a23a..610b3a65e7 100644 --- a/docs/examples/1.3.x/server-php/examples/users/update-phone.md +++ b/docs/examples/1.3.x/server-php/examples/users/update-phone.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/users/update-prefs.md b/docs/examples/1.3.x/server-php/examples/users/update-prefs.md index 9c4ebaae2b..6aaa9451d6 100644 --- a/docs/examples/1.3.x/server-php/examples/users/update-prefs.md +++ b/docs/examples/1.3.x/server-php/examples/users/update-prefs.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-php/examples/users/update-status.md b/docs/examples/1.3.x/server-php/examples/users/update-status.md index ad3f6bde79..dbe489de72 100644 --- a/docs/examples/1.3.x/server-php/examples/users/update-status.md +++ b/docs/examples/1.3.x/server-php/examples/users/update-status.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.3.x/server-python/examples/account/create-phone-verification.md b/docs/examples/1.3.x/server-python/examples/account/create-phone-verification.md index 2203cdbd0c..1e8670084d 100644 --- a/docs/examples/1.3.x/server-python/examples/account/create-phone-verification.md +++ b/docs/examples/1.3.x/server-python/examples/account/create-phone-verification.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.3.x/server-python/examples/account/create-recovery.md b/docs/examples/1.3.x/server-python/examples/account/create-recovery.md index 21130fef6d..c86108ff4e 100644 --- a/docs/examples/1.3.x/server-python/examples/account/create-recovery.md +++ b/docs/examples/1.3.x/server-python/examples/account/create-recovery.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.3.x/server-python/examples/account/create-verification.md b/docs/examples/1.3.x/server-python/examples/account/create-verification.md index c45d0d462e..0bc3954565 100644 --- a/docs/examples/1.3.x/server-python/examples/account/create-verification.md +++ b/docs/examples/1.3.x/server-python/examples/account/create-verification.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.3.x/server-python/examples/account/delete-session.md b/docs/examples/1.3.x/server-python/examples/account/delete-session.md index 8095cdc07f..449a786169 100644 --- a/docs/examples/1.3.x/server-python/examples/account/delete-session.md +++ b/docs/examples/1.3.x/server-python/examples/account/delete-session.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.3.x/server-python/examples/account/delete-sessions.md b/docs/examples/1.3.x/server-python/examples/account/delete-sessions.md index 1728d61e67..4f208b93a6 100644 --- a/docs/examples/1.3.x/server-python/examples/account/delete-sessions.md +++ b/docs/examples/1.3.x/server-python/examples/account/delete-sessions.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.3.x/server-python/examples/account/get-prefs.md b/docs/examples/1.3.x/server-python/examples/account/get-prefs.md index da2fd7628e..7063f0c3aa 100644 --- a/docs/examples/1.3.x/server-python/examples/account/get-prefs.md +++ b/docs/examples/1.3.x/server-python/examples/account/get-prefs.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.3.x/server-python/examples/account/get-session.md b/docs/examples/1.3.x/server-python/examples/account/get-session.md index 25b8f03837..def8838e19 100644 --- a/docs/examples/1.3.x/server-python/examples/account/get-session.md +++ b/docs/examples/1.3.x/server-python/examples/account/get-session.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.3.x/server-python/examples/account/get.md b/docs/examples/1.3.x/server-python/examples/account/get.md index f75bad7769..d84d378583 100644 --- a/docs/examples/1.3.x/server-python/examples/account/get.md +++ b/docs/examples/1.3.x/server-python/examples/account/get.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.3.x/server-python/examples/account/list-logs.md b/docs/examples/1.3.x/server-python/examples/account/list-logs.md index 65802d8b0d..601d243dca 100644 --- a/docs/examples/1.3.x/server-python/examples/account/list-logs.md +++ b/docs/examples/1.3.x/server-python/examples/account/list-logs.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.3.x/server-python/examples/account/list-sessions.md b/docs/examples/1.3.x/server-python/examples/account/list-sessions.md index 12d5c81d92..fcdfd857e7 100644 --- a/docs/examples/1.3.x/server-python/examples/account/list-sessions.md +++ b/docs/examples/1.3.x/server-python/examples/account/list-sessions.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.3.x/server-python/examples/account/update-email.md b/docs/examples/1.3.x/server-python/examples/account/update-email.md index f4a6776f72..a2e393ae4a 100644 --- a/docs/examples/1.3.x/server-python/examples/account/update-email.md +++ b/docs/examples/1.3.x/server-python/examples/account/update-email.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.3.x/server-python/examples/account/update-name.md b/docs/examples/1.3.x/server-python/examples/account/update-name.md index eb1eb6279b..b56296cb21 100644 --- a/docs/examples/1.3.x/server-python/examples/account/update-name.md +++ b/docs/examples/1.3.x/server-python/examples/account/update-name.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.3.x/server-python/examples/account/update-password.md b/docs/examples/1.3.x/server-python/examples/account/update-password.md index 955ada651d..7881c472f3 100644 --- a/docs/examples/1.3.x/server-python/examples/account/update-password.md +++ b/docs/examples/1.3.x/server-python/examples/account/update-password.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.3.x/server-python/examples/account/update-phone-verification.md b/docs/examples/1.3.x/server-python/examples/account/update-phone-verification.md index f2a75b4de9..dcba4273c4 100644 --- a/docs/examples/1.3.x/server-python/examples/account/update-phone-verification.md +++ b/docs/examples/1.3.x/server-python/examples/account/update-phone-verification.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.3.x/server-python/examples/account/update-phone.md b/docs/examples/1.3.x/server-python/examples/account/update-phone.md index aaee1f7eec..0f6470619e 100644 --- a/docs/examples/1.3.x/server-python/examples/account/update-phone.md +++ b/docs/examples/1.3.x/server-python/examples/account/update-phone.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.3.x/server-python/examples/account/update-prefs.md b/docs/examples/1.3.x/server-python/examples/account/update-prefs.md index e96546b05a..64e32cee2a 100644 --- a/docs/examples/1.3.x/server-python/examples/account/update-prefs.md +++ b/docs/examples/1.3.x/server-python/examples/account/update-prefs.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.3.x/server-python/examples/account/update-recovery.md b/docs/examples/1.3.x/server-python/examples/account/update-recovery.md index b4ea8aa89c..2bb9b10d2c 100644 --- a/docs/examples/1.3.x/server-python/examples/account/update-recovery.md +++ b/docs/examples/1.3.x/server-python/examples/account/update-recovery.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.3.x/server-python/examples/account/update-session.md b/docs/examples/1.3.x/server-python/examples/account/update-session.md index e7234f7801..16ea018303 100644 --- a/docs/examples/1.3.x/server-python/examples/account/update-session.md +++ b/docs/examples/1.3.x/server-python/examples/account/update-session.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.3.x/server-python/examples/account/update-status.md b/docs/examples/1.3.x/server-python/examples/account/update-status.md index 5924d4d54f..877b8743d1 100644 --- a/docs/examples/1.3.x/server-python/examples/account/update-status.md +++ b/docs/examples/1.3.x/server-python/examples/account/update-status.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.3.x/server-python/examples/account/update-verification.md b/docs/examples/1.3.x/server-python/examples/account/update-verification.md index 9a410a54a8..e2aecaa117 100644 --- a/docs/examples/1.3.x/server-python/examples/account/update-verification.md +++ b/docs/examples/1.3.x/server-python/examples/account/update-verification.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.3.x/server-python/examples/avatars/get-browser.md b/docs/examples/1.3.x/server-python/examples/avatars/get-browser.md index 9ed56d1d4b..e29ebcd84d 100644 --- a/docs/examples/1.3.x/server-python/examples/avatars/get-browser.md +++ b/docs/examples/1.3.x/server-python/examples/avatars/get-browser.md @@ -4,7 +4,7 @@ from appwrite.services.avatars import Avatars client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/avatars/get-credit-card.md b/docs/examples/1.3.x/server-python/examples/avatars/get-credit-card.md index 9fa6b0fd1f..3006186d81 100644 --- a/docs/examples/1.3.x/server-python/examples/avatars/get-credit-card.md +++ b/docs/examples/1.3.x/server-python/examples/avatars/get-credit-card.md @@ -4,7 +4,7 @@ from appwrite.services.avatars import Avatars client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/avatars/get-favicon.md b/docs/examples/1.3.x/server-python/examples/avatars/get-favicon.md index 75b0315eae..b860e801ce 100644 --- a/docs/examples/1.3.x/server-python/examples/avatars/get-favicon.md +++ b/docs/examples/1.3.x/server-python/examples/avatars/get-favicon.md @@ -4,7 +4,7 @@ from appwrite.services.avatars import Avatars client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/avatars/get-flag.md b/docs/examples/1.3.x/server-python/examples/avatars/get-flag.md index 70d2e5f242..055feb4282 100644 --- a/docs/examples/1.3.x/server-python/examples/avatars/get-flag.md +++ b/docs/examples/1.3.x/server-python/examples/avatars/get-flag.md @@ -4,7 +4,7 @@ from appwrite.services.avatars import Avatars client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/avatars/get-image.md b/docs/examples/1.3.x/server-python/examples/avatars/get-image.md index 35015d9620..1cd0bd0164 100644 --- a/docs/examples/1.3.x/server-python/examples/avatars/get-image.md +++ b/docs/examples/1.3.x/server-python/examples/avatars/get-image.md @@ -4,7 +4,7 @@ from appwrite.services.avatars import Avatars client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/avatars/get-initials.md b/docs/examples/1.3.x/server-python/examples/avatars/get-initials.md index 639fa03bc9..9e7e5d2c18 100644 --- a/docs/examples/1.3.x/server-python/examples/avatars/get-initials.md +++ b/docs/examples/1.3.x/server-python/examples/avatars/get-initials.md @@ -4,7 +4,7 @@ from appwrite.services.avatars import Avatars client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/avatars/get-q-r.md b/docs/examples/1.3.x/server-python/examples/avatars/get-q-r.md index 27fc8e2924..b3c3e728ab 100644 --- a/docs/examples/1.3.x/server-python/examples/avatars/get-q-r.md +++ b/docs/examples/1.3.x/server-python/examples/avatars/get-q-r.md @@ -4,7 +4,7 @@ from appwrite.services.avatars import Avatars client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/create-boolean-attribute.md b/docs/examples/1.3.x/server-python/examples/databases/create-boolean-attribute.md index f073d3d3b3..e0f333caab 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.3.x/server-python/examples/databases/create-boolean-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/create-collection.md b/docs/examples/1.3.x/server-python/examples/databases/create-collection.md index 183c55c448..ad704dea3d 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/create-collection.md +++ b/docs/examples/1.3.x/server-python/examples/databases/create-collection.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/create-datetime-attribute.md b/docs/examples/1.3.x/server-python/examples/databases/create-datetime-attribute.md index 5c77689c99..8325de8230 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.3.x/server-python/examples/databases/create-datetime-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/create-document.md b/docs/examples/1.3.x/server-python/examples/databases/create-document.md index aa95de9ebd..c712b11bdd 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/create-document.md +++ b/docs/examples/1.3.x/server-python/examples/databases/create-document.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/create-email-attribute.md b/docs/examples/1.3.x/server-python/examples/databases/create-email-attribute.md index 92cdcb2a8f..05397d6ab0 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/create-email-attribute.md +++ b/docs/examples/1.3.x/server-python/examples/databases/create-email-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/create-enum-attribute.md b/docs/examples/1.3.x/server-python/examples/databases/create-enum-attribute.md index df66f12896..21e4635790 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.3.x/server-python/examples/databases/create-enum-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/create-float-attribute.md b/docs/examples/1.3.x/server-python/examples/databases/create-float-attribute.md index 0bfe4248eb..b7493dfced 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/create-float-attribute.md +++ b/docs/examples/1.3.x/server-python/examples/databases/create-float-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/create-index.md b/docs/examples/1.3.x/server-python/examples/databases/create-index.md index 78a7d3327e..2237a7397e 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/create-index.md +++ b/docs/examples/1.3.x/server-python/examples/databases/create-index.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/create-integer-attribute.md b/docs/examples/1.3.x/server-python/examples/databases/create-integer-attribute.md index b3cce2bde4..b8a213bc21 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.3.x/server-python/examples/databases/create-integer-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/create-ip-attribute.md b/docs/examples/1.3.x/server-python/examples/databases/create-ip-attribute.md index 967d284b9a..85f1cd5b00 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.3.x/server-python/examples/databases/create-ip-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/create-relationship-attribute.md b/docs/examples/1.3.x/server-python/examples/databases/create-relationship-attribute.md index 4f69ecae00..041d8f2005 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.3.x/server-python/examples/databases/create-relationship-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/create-string-attribute.md b/docs/examples/1.3.x/server-python/examples/databases/create-string-attribute.md index 00bbbe9ce7..1992f71e44 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/create-string-attribute.md +++ b/docs/examples/1.3.x/server-python/examples/databases/create-string-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/create-url-attribute.md b/docs/examples/1.3.x/server-python/examples/databases/create-url-attribute.md index fd5b7f44e3..49e2cbf68c 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/create-url-attribute.md +++ b/docs/examples/1.3.x/server-python/examples/databases/create-url-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/create.md b/docs/examples/1.3.x/server-python/examples/databases/create.md index e4a832066b..7c1f63cb14 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/create.md +++ b/docs/examples/1.3.x/server-python/examples/databases/create.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/delete-attribute.md b/docs/examples/1.3.x/server-python/examples/databases/delete-attribute.md index 41871b2662..7ca55adf15 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/delete-attribute.md +++ b/docs/examples/1.3.x/server-python/examples/databases/delete-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/delete-collection.md b/docs/examples/1.3.x/server-python/examples/databases/delete-collection.md index 998bb61fb9..af37479be2 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/delete-collection.md +++ b/docs/examples/1.3.x/server-python/examples/databases/delete-collection.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/delete-document.md b/docs/examples/1.3.x/server-python/examples/databases/delete-document.md index 605b087b7c..6a3a3588c6 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/delete-document.md +++ b/docs/examples/1.3.x/server-python/examples/databases/delete-document.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/delete-index.md b/docs/examples/1.3.x/server-python/examples/databases/delete-index.md index a53e06c024..5f32135c3b 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/delete-index.md +++ b/docs/examples/1.3.x/server-python/examples/databases/delete-index.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/delete.md b/docs/examples/1.3.x/server-python/examples/databases/delete.md index 780e1451ef..594f357bbf 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/delete.md +++ b/docs/examples/1.3.x/server-python/examples/databases/delete.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/get-attribute.md b/docs/examples/1.3.x/server-python/examples/databases/get-attribute.md index 0a6105272a..b855fbc600 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/get-attribute.md +++ b/docs/examples/1.3.x/server-python/examples/databases/get-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/get-collection.md b/docs/examples/1.3.x/server-python/examples/databases/get-collection.md index 90f57a366c..5d176dd2c5 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/get-collection.md +++ b/docs/examples/1.3.x/server-python/examples/databases/get-collection.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/get-document.md b/docs/examples/1.3.x/server-python/examples/databases/get-document.md index 708538418e..7a11da3c27 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/get-document.md +++ b/docs/examples/1.3.x/server-python/examples/databases/get-document.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/get-index.md b/docs/examples/1.3.x/server-python/examples/databases/get-index.md index 3213c66660..6c376c6907 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/get-index.md +++ b/docs/examples/1.3.x/server-python/examples/databases/get-index.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/get.md b/docs/examples/1.3.x/server-python/examples/databases/get.md index 93a46b3fa4..c8906fc9af 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/get.md +++ b/docs/examples/1.3.x/server-python/examples/databases/get.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/list-attributes.md b/docs/examples/1.3.x/server-python/examples/databases/list-attributes.md index 632202c894..3c173668a4 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/list-attributes.md +++ b/docs/examples/1.3.x/server-python/examples/databases/list-attributes.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/list-collections.md b/docs/examples/1.3.x/server-python/examples/databases/list-collections.md index d0c98dad97..197229e308 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/list-collections.md +++ b/docs/examples/1.3.x/server-python/examples/databases/list-collections.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/list-documents.md b/docs/examples/1.3.x/server-python/examples/databases/list-documents.md index 5eb03b2658..01cc594d98 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/list-documents.md +++ b/docs/examples/1.3.x/server-python/examples/databases/list-documents.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/list-indexes.md b/docs/examples/1.3.x/server-python/examples/databases/list-indexes.md index b4224be62c..f65545454b 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/list-indexes.md +++ b/docs/examples/1.3.x/server-python/examples/databases/list-indexes.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/list.md b/docs/examples/1.3.x/server-python/examples/databases/list.md index 3aa6839d20..117119439b 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/list.md +++ b/docs/examples/1.3.x/server-python/examples/databases/list.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/update-boolean-attribute.md b/docs/examples/1.3.x/server-python/examples/databases/update-boolean-attribute.md index e6a7d55fb6..e9cd95c783 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.3.x/server-python/examples/databases/update-boolean-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/update-collection.md b/docs/examples/1.3.x/server-python/examples/databases/update-collection.md index 4a38aab4d4..49c5c8154b 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/update-collection.md +++ b/docs/examples/1.3.x/server-python/examples/databases/update-collection.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/update-datetime-attribute.md b/docs/examples/1.3.x/server-python/examples/databases/update-datetime-attribute.md index 5c792573ae..de0ac103e9 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.3.x/server-python/examples/databases/update-datetime-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/update-document.md b/docs/examples/1.3.x/server-python/examples/databases/update-document.md index c768c5403c..fc6645bf9f 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/update-document.md +++ b/docs/examples/1.3.x/server-python/examples/databases/update-document.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/update-email-attribute.md b/docs/examples/1.3.x/server-python/examples/databases/update-email-attribute.md index 8148b012fd..b67549292b 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/update-email-attribute.md +++ b/docs/examples/1.3.x/server-python/examples/databases/update-email-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/update-enum-attribute.md b/docs/examples/1.3.x/server-python/examples/databases/update-enum-attribute.md index 65ef26f274..79c491ecbe 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.3.x/server-python/examples/databases/update-enum-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/update-float-attribute.md b/docs/examples/1.3.x/server-python/examples/databases/update-float-attribute.md index efbf1ad04f..9c34b6f8f2 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/update-float-attribute.md +++ b/docs/examples/1.3.x/server-python/examples/databases/update-float-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/update-integer-attribute.md b/docs/examples/1.3.x/server-python/examples/databases/update-integer-attribute.md index 61c74b8675..8ab1cd1d28 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.3.x/server-python/examples/databases/update-integer-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/update-ip-attribute.md b/docs/examples/1.3.x/server-python/examples/databases/update-ip-attribute.md index 7d5a35d749..4bd7899ad8 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.3.x/server-python/examples/databases/update-ip-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/update-relationship-attribute.md b/docs/examples/1.3.x/server-python/examples/databases/update-relationship-attribute.md index 7c426a61e3..cc3b620734 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.3.x/server-python/examples/databases/update-relationship-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/update-string-attribute.md b/docs/examples/1.3.x/server-python/examples/databases/update-string-attribute.md index 2ee236e624..f59ee07ad9 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/update-string-attribute.md +++ b/docs/examples/1.3.x/server-python/examples/databases/update-string-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/update-url-attribute.md b/docs/examples/1.3.x/server-python/examples/databases/update-url-attribute.md index 119c787d2d..a0b2e04b45 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/update-url-attribute.md +++ b/docs/examples/1.3.x/server-python/examples/databases/update-url-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/databases/update.md b/docs/examples/1.3.x/server-python/examples/databases/update.md index d46692ece4..9e32a87888 100644 --- a/docs/examples/1.3.x/server-python/examples/databases/update.md +++ b/docs/examples/1.3.x/server-python/examples/databases/update.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/functions/create-build.md b/docs/examples/1.3.x/server-python/examples/functions/create-build.md index 76888f8b16..398973ce57 100644 --- a/docs/examples/1.3.x/server-python/examples/functions/create-build.md +++ b/docs/examples/1.3.x/server-python/examples/functions/create-build.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/functions/create-deployment.md b/docs/examples/1.3.x/server-python/examples/functions/create-deployment.md index d29c43f258..859cc3745d 100644 --- a/docs/examples/1.3.x/server-python/examples/functions/create-deployment.md +++ b/docs/examples/1.3.x/server-python/examples/functions/create-deployment.md @@ -5,7 +5,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/functions/create-execution.md b/docs/examples/1.3.x/server-python/examples/functions/create-execution.md index 7c045225b3..b4476dae98 100644 --- a/docs/examples/1.3.x/server-python/examples/functions/create-execution.md +++ b/docs/examples/1.3.x/server-python/examples/functions/create-execution.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/functions/create-variable.md b/docs/examples/1.3.x/server-python/examples/functions/create-variable.md index f33ed08a71..c24fb5c825 100644 --- a/docs/examples/1.3.x/server-python/examples/functions/create-variable.md +++ b/docs/examples/1.3.x/server-python/examples/functions/create-variable.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/functions/create.md b/docs/examples/1.3.x/server-python/examples/functions/create.md index fa6f46ddc1..e9558ad713 100644 --- a/docs/examples/1.3.x/server-python/examples/functions/create.md +++ b/docs/examples/1.3.x/server-python/examples/functions/create.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/functions/delete-deployment.md b/docs/examples/1.3.x/server-python/examples/functions/delete-deployment.md index 42d526eca9..2d186c10c6 100644 --- a/docs/examples/1.3.x/server-python/examples/functions/delete-deployment.md +++ b/docs/examples/1.3.x/server-python/examples/functions/delete-deployment.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/functions/delete-variable.md b/docs/examples/1.3.x/server-python/examples/functions/delete-variable.md index cae0f2df9f..d527ff09ce 100644 --- a/docs/examples/1.3.x/server-python/examples/functions/delete-variable.md +++ b/docs/examples/1.3.x/server-python/examples/functions/delete-variable.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/functions/delete.md b/docs/examples/1.3.x/server-python/examples/functions/delete.md index e89213ec7a..585e2f9b10 100644 --- a/docs/examples/1.3.x/server-python/examples/functions/delete.md +++ b/docs/examples/1.3.x/server-python/examples/functions/delete.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/functions/get-deployment.md b/docs/examples/1.3.x/server-python/examples/functions/get-deployment.md index 6257b59d2e..ccb30ccbb5 100644 --- a/docs/examples/1.3.x/server-python/examples/functions/get-deployment.md +++ b/docs/examples/1.3.x/server-python/examples/functions/get-deployment.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/functions/get-execution.md b/docs/examples/1.3.x/server-python/examples/functions/get-execution.md index f0e4f0dc67..110a760666 100644 --- a/docs/examples/1.3.x/server-python/examples/functions/get-execution.md +++ b/docs/examples/1.3.x/server-python/examples/functions/get-execution.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/functions/get-variable.md b/docs/examples/1.3.x/server-python/examples/functions/get-variable.md index 4e71bff24f..d6c445dc3f 100644 --- a/docs/examples/1.3.x/server-python/examples/functions/get-variable.md +++ b/docs/examples/1.3.x/server-python/examples/functions/get-variable.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/functions/get.md b/docs/examples/1.3.x/server-python/examples/functions/get.md index 30e1d5959a..4b1bbcf72f 100644 --- a/docs/examples/1.3.x/server-python/examples/functions/get.md +++ b/docs/examples/1.3.x/server-python/examples/functions/get.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/functions/list-deployments.md b/docs/examples/1.3.x/server-python/examples/functions/list-deployments.md index d1797a18b3..9f1eeef978 100644 --- a/docs/examples/1.3.x/server-python/examples/functions/list-deployments.md +++ b/docs/examples/1.3.x/server-python/examples/functions/list-deployments.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/functions/list-executions.md b/docs/examples/1.3.x/server-python/examples/functions/list-executions.md index d70f004478..0491ff2b3d 100644 --- a/docs/examples/1.3.x/server-python/examples/functions/list-executions.md +++ b/docs/examples/1.3.x/server-python/examples/functions/list-executions.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/functions/list-runtimes.md b/docs/examples/1.3.x/server-python/examples/functions/list-runtimes.md index 19b85e2369..6255ce3986 100644 --- a/docs/examples/1.3.x/server-python/examples/functions/list-runtimes.md +++ b/docs/examples/1.3.x/server-python/examples/functions/list-runtimes.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/functions/list-variables.md b/docs/examples/1.3.x/server-python/examples/functions/list-variables.md index 9a72bba9f8..bdaa123e0e 100644 --- a/docs/examples/1.3.x/server-python/examples/functions/list-variables.md +++ b/docs/examples/1.3.x/server-python/examples/functions/list-variables.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/functions/list.md b/docs/examples/1.3.x/server-python/examples/functions/list.md index b8442e5ade..6d05cc952c 100644 --- a/docs/examples/1.3.x/server-python/examples/functions/list.md +++ b/docs/examples/1.3.x/server-python/examples/functions/list.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/functions/update-deployment.md b/docs/examples/1.3.x/server-python/examples/functions/update-deployment.md index 87dd09710f..bb5eb869f9 100644 --- a/docs/examples/1.3.x/server-python/examples/functions/update-deployment.md +++ b/docs/examples/1.3.x/server-python/examples/functions/update-deployment.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/functions/update-variable.md b/docs/examples/1.3.x/server-python/examples/functions/update-variable.md index ab5b43abce..4c98e06807 100644 --- a/docs/examples/1.3.x/server-python/examples/functions/update-variable.md +++ b/docs/examples/1.3.x/server-python/examples/functions/update-variable.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/functions/update.md b/docs/examples/1.3.x/server-python/examples/functions/update.md index 3960054f3a..a03fd2c02e 100644 --- a/docs/examples/1.3.x/server-python/examples/functions/update.md +++ b/docs/examples/1.3.x/server-python/examples/functions/update.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/graphql/mutation.md b/docs/examples/1.3.x/server-python/examples/graphql/mutation.md index 24226a5a01..9f43d0e5d1 100644 --- a/docs/examples/1.3.x/server-python/examples/graphql/mutation.md +++ b/docs/examples/1.3.x/server-python/examples/graphql/mutation.md @@ -4,7 +4,7 @@ from appwrite.services.graphql import Graphql client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/graphql/query.md b/docs/examples/1.3.x/server-python/examples/graphql/query.md index 8e1597c759..a7315f8d31 100644 --- a/docs/examples/1.3.x/server-python/examples/graphql/query.md +++ b/docs/examples/1.3.x/server-python/examples/graphql/query.md @@ -4,7 +4,7 @@ from appwrite.services.graphql import Graphql client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/health/get-antivirus.md b/docs/examples/1.3.x/server-python/examples/health/get-antivirus.md index fbfaf0e52e..2837200104 100644 --- a/docs/examples/1.3.x/server-python/examples/health/get-antivirus.md +++ b/docs/examples/1.3.x/server-python/examples/health/get-antivirus.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/health/get-cache.md b/docs/examples/1.3.x/server-python/examples/health/get-cache.md index 40bc01000b..44ac2fa940 100644 --- a/docs/examples/1.3.x/server-python/examples/health/get-cache.md +++ b/docs/examples/1.3.x/server-python/examples/health/get-cache.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/health/get-d-b.md b/docs/examples/1.3.x/server-python/examples/health/get-d-b.md index 803dd73bd3..7362e83916 100644 --- a/docs/examples/1.3.x/server-python/examples/health/get-d-b.md +++ b/docs/examples/1.3.x/server-python/examples/health/get-d-b.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/health/get-queue-certificates.md b/docs/examples/1.3.x/server-python/examples/health/get-queue-certificates.md index 4fb0266d11..fed14c831a 100644 --- a/docs/examples/1.3.x/server-python/examples/health/get-queue-certificates.md +++ b/docs/examples/1.3.x/server-python/examples/health/get-queue-certificates.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/health/get-queue-functions.md b/docs/examples/1.3.x/server-python/examples/health/get-queue-functions.md index 92e4e2021d..96700cc2fd 100644 --- a/docs/examples/1.3.x/server-python/examples/health/get-queue-functions.md +++ b/docs/examples/1.3.x/server-python/examples/health/get-queue-functions.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/health/get-queue-logs.md b/docs/examples/1.3.x/server-python/examples/health/get-queue-logs.md index b798ad7332..985309b9ff 100644 --- a/docs/examples/1.3.x/server-python/examples/health/get-queue-logs.md +++ b/docs/examples/1.3.x/server-python/examples/health/get-queue-logs.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/health/get-queue-webhooks.md b/docs/examples/1.3.x/server-python/examples/health/get-queue-webhooks.md index 8406de1ff8..62da17c248 100644 --- a/docs/examples/1.3.x/server-python/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.3.x/server-python/examples/health/get-queue-webhooks.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/health/get-storage-local.md b/docs/examples/1.3.x/server-python/examples/health/get-storage-local.md index bb2533e27f..297a6a5714 100644 --- a/docs/examples/1.3.x/server-python/examples/health/get-storage-local.md +++ b/docs/examples/1.3.x/server-python/examples/health/get-storage-local.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/health/get-time.md b/docs/examples/1.3.x/server-python/examples/health/get-time.md index 9fe313dd5f..0034705ed9 100644 --- a/docs/examples/1.3.x/server-python/examples/health/get-time.md +++ b/docs/examples/1.3.x/server-python/examples/health/get-time.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/health/get.md b/docs/examples/1.3.x/server-python/examples/health/get.md index d3ff594387..118be474f3 100644 --- a/docs/examples/1.3.x/server-python/examples/health/get.md +++ b/docs/examples/1.3.x/server-python/examples/health/get.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/locale/get.md b/docs/examples/1.3.x/server-python/examples/locale/get.md index 06b04f2f63..de81e967db 100644 --- a/docs/examples/1.3.x/server-python/examples/locale/get.md +++ b/docs/examples/1.3.x/server-python/examples/locale/get.md @@ -4,7 +4,7 @@ from appwrite.services.locale import Locale client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/locale/list-continents.md b/docs/examples/1.3.x/server-python/examples/locale/list-continents.md index ba9c94f8a9..bcd150f5cd 100644 --- a/docs/examples/1.3.x/server-python/examples/locale/list-continents.md +++ b/docs/examples/1.3.x/server-python/examples/locale/list-continents.md @@ -4,7 +4,7 @@ from appwrite.services.locale import Locale client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/locale/list-countries-e-u.md b/docs/examples/1.3.x/server-python/examples/locale/list-countries-e-u.md index ea4c43cab6..2dc40cd487 100644 --- a/docs/examples/1.3.x/server-python/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.3.x/server-python/examples/locale/list-countries-e-u.md @@ -4,7 +4,7 @@ from appwrite.services.locale import Locale client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/locale/list-countries-phones.md b/docs/examples/1.3.x/server-python/examples/locale/list-countries-phones.md index 5a4cafe520..b1b0773b3f 100644 --- a/docs/examples/1.3.x/server-python/examples/locale/list-countries-phones.md +++ b/docs/examples/1.3.x/server-python/examples/locale/list-countries-phones.md @@ -4,7 +4,7 @@ from appwrite.services.locale import Locale client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/locale/list-countries.md b/docs/examples/1.3.x/server-python/examples/locale/list-countries.md index f8ec83c83e..278a039bbd 100644 --- a/docs/examples/1.3.x/server-python/examples/locale/list-countries.md +++ b/docs/examples/1.3.x/server-python/examples/locale/list-countries.md @@ -4,7 +4,7 @@ from appwrite.services.locale import Locale client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/locale/list-currencies.md b/docs/examples/1.3.x/server-python/examples/locale/list-currencies.md index 347e81c54c..077d7c393c 100644 --- a/docs/examples/1.3.x/server-python/examples/locale/list-currencies.md +++ b/docs/examples/1.3.x/server-python/examples/locale/list-currencies.md @@ -4,7 +4,7 @@ from appwrite.services.locale import Locale client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/locale/list-languages.md b/docs/examples/1.3.x/server-python/examples/locale/list-languages.md index ce50a6efe7..9cc7c8f975 100644 --- a/docs/examples/1.3.x/server-python/examples/locale/list-languages.md +++ b/docs/examples/1.3.x/server-python/examples/locale/list-languages.md @@ -4,7 +4,7 @@ from appwrite.services.locale import Locale client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/storage/create-bucket.md b/docs/examples/1.3.x/server-python/examples/storage/create-bucket.md index 72ffdccbd8..1955987f17 100644 --- a/docs/examples/1.3.x/server-python/examples/storage/create-bucket.md +++ b/docs/examples/1.3.x/server-python/examples/storage/create-bucket.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/storage/create-file.md b/docs/examples/1.3.x/server-python/examples/storage/create-file.md index b469b5bdd5..250f469290 100644 --- a/docs/examples/1.3.x/server-python/examples/storage/create-file.md +++ b/docs/examples/1.3.x/server-python/examples/storage/create-file.md @@ -5,7 +5,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/storage/delete-bucket.md b/docs/examples/1.3.x/server-python/examples/storage/delete-bucket.md index 60dc1074fd..c6c93435d0 100644 --- a/docs/examples/1.3.x/server-python/examples/storage/delete-bucket.md +++ b/docs/examples/1.3.x/server-python/examples/storage/delete-bucket.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/storage/delete-file.md b/docs/examples/1.3.x/server-python/examples/storage/delete-file.md index 9bed0af784..accf6697bf 100644 --- a/docs/examples/1.3.x/server-python/examples/storage/delete-file.md +++ b/docs/examples/1.3.x/server-python/examples/storage/delete-file.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/storage/get-bucket.md b/docs/examples/1.3.x/server-python/examples/storage/get-bucket.md index 7ea64f22aa..4fd4e70b31 100644 --- a/docs/examples/1.3.x/server-python/examples/storage/get-bucket.md +++ b/docs/examples/1.3.x/server-python/examples/storage/get-bucket.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/storage/get-file-download.md b/docs/examples/1.3.x/server-python/examples/storage/get-file-download.md index e9f5cce824..ef57f10955 100644 --- a/docs/examples/1.3.x/server-python/examples/storage/get-file-download.md +++ b/docs/examples/1.3.x/server-python/examples/storage/get-file-download.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/storage/get-file-preview.md b/docs/examples/1.3.x/server-python/examples/storage/get-file-preview.md index 4e12291f13..c7b90b9655 100644 --- a/docs/examples/1.3.x/server-python/examples/storage/get-file-preview.md +++ b/docs/examples/1.3.x/server-python/examples/storage/get-file-preview.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/storage/get-file-view.md b/docs/examples/1.3.x/server-python/examples/storage/get-file-view.md index 01cbfafd26..bd8efc6e45 100644 --- a/docs/examples/1.3.x/server-python/examples/storage/get-file-view.md +++ b/docs/examples/1.3.x/server-python/examples/storage/get-file-view.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/storage/get-file.md b/docs/examples/1.3.x/server-python/examples/storage/get-file.md index f83ed8aa61..e0013ba120 100644 --- a/docs/examples/1.3.x/server-python/examples/storage/get-file.md +++ b/docs/examples/1.3.x/server-python/examples/storage/get-file.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/storage/list-buckets.md b/docs/examples/1.3.x/server-python/examples/storage/list-buckets.md index 204fd9598c..450f876d92 100644 --- a/docs/examples/1.3.x/server-python/examples/storage/list-buckets.md +++ b/docs/examples/1.3.x/server-python/examples/storage/list-buckets.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/storage/list-files.md b/docs/examples/1.3.x/server-python/examples/storage/list-files.md index 63101e215e..05df2d0056 100644 --- a/docs/examples/1.3.x/server-python/examples/storage/list-files.md +++ b/docs/examples/1.3.x/server-python/examples/storage/list-files.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/storage/update-bucket.md b/docs/examples/1.3.x/server-python/examples/storage/update-bucket.md index fb1b76b222..f47bfa3d0e 100644 --- a/docs/examples/1.3.x/server-python/examples/storage/update-bucket.md +++ b/docs/examples/1.3.x/server-python/examples/storage/update-bucket.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/storage/update-file.md b/docs/examples/1.3.x/server-python/examples/storage/update-file.md index 24a92e36c6..3208e44d2f 100644 --- a/docs/examples/1.3.x/server-python/examples/storage/update-file.md +++ b/docs/examples/1.3.x/server-python/examples/storage/update-file.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/teams/create-membership.md b/docs/examples/1.3.x/server-python/examples/teams/create-membership.md index 57682383f7..c8d46aba10 100644 --- a/docs/examples/1.3.x/server-python/examples/teams/create-membership.md +++ b/docs/examples/1.3.x/server-python/examples/teams/create-membership.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/teams/create.md b/docs/examples/1.3.x/server-python/examples/teams/create.md index c69012359f..87e76cb062 100644 --- a/docs/examples/1.3.x/server-python/examples/teams/create.md +++ b/docs/examples/1.3.x/server-python/examples/teams/create.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/teams/delete-membership.md b/docs/examples/1.3.x/server-python/examples/teams/delete-membership.md index f8d875986f..7f5e4055d1 100644 --- a/docs/examples/1.3.x/server-python/examples/teams/delete-membership.md +++ b/docs/examples/1.3.x/server-python/examples/teams/delete-membership.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/teams/delete.md b/docs/examples/1.3.x/server-python/examples/teams/delete.md index 4fc0fa44cc..651b861f03 100644 --- a/docs/examples/1.3.x/server-python/examples/teams/delete.md +++ b/docs/examples/1.3.x/server-python/examples/teams/delete.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/teams/get-membership.md b/docs/examples/1.3.x/server-python/examples/teams/get-membership.md index e9c62ae3e3..3c351b16f7 100644 --- a/docs/examples/1.3.x/server-python/examples/teams/get-membership.md +++ b/docs/examples/1.3.x/server-python/examples/teams/get-membership.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/teams/get-prefs.md b/docs/examples/1.3.x/server-python/examples/teams/get-prefs.md index 40909fa7d8..b2b10fbbb2 100644 --- a/docs/examples/1.3.x/server-python/examples/teams/get-prefs.md +++ b/docs/examples/1.3.x/server-python/examples/teams/get-prefs.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.3.x/server-python/examples/teams/get.md b/docs/examples/1.3.x/server-python/examples/teams/get.md index fdca2fc28f..32100ad47f 100644 --- a/docs/examples/1.3.x/server-python/examples/teams/get.md +++ b/docs/examples/1.3.x/server-python/examples/teams/get.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/teams/list-memberships.md b/docs/examples/1.3.x/server-python/examples/teams/list-memberships.md index 63e662a7a6..5001ae3e8a 100644 --- a/docs/examples/1.3.x/server-python/examples/teams/list-memberships.md +++ b/docs/examples/1.3.x/server-python/examples/teams/list-memberships.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/teams/list.md b/docs/examples/1.3.x/server-python/examples/teams/list.md index e60cb60dab..5a73d32766 100644 --- a/docs/examples/1.3.x/server-python/examples/teams/list.md +++ b/docs/examples/1.3.x/server-python/examples/teams/list.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/teams/update-membership-roles.md b/docs/examples/1.3.x/server-python/examples/teams/update-membership-roles.md index dcfd7a4e55..e161a33d5c 100644 --- a/docs/examples/1.3.x/server-python/examples/teams/update-membership-roles.md +++ b/docs/examples/1.3.x/server-python/examples/teams/update-membership-roles.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/teams/update-membership-status.md b/docs/examples/1.3.x/server-python/examples/teams/update-membership-status.md index a6cd4cd45f..f35f8f7792 100644 --- a/docs/examples/1.3.x/server-python/examples/teams/update-membership-status.md +++ b/docs/examples/1.3.x/server-python/examples/teams/update-membership-status.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.3.x/server-python/examples/teams/update-name.md b/docs/examples/1.3.x/server-python/examples/teams/update-name.md index 929f4ecb48..b890196f11 100644 --- a/docs/examples/1.3.x/server-python/examples/teams/update-name.md +++ b/docs/examples/1.3.x/server-python/examples/teams/update-name.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/teams/update-prefs.md b/docs/examples/1.3.x/server-python/examples/teams/update-prefs.md index 4176c622a0..ef5c5989f7 100644 --- a/docs/examples/1.3.x/server-python/examples/teams/update-prefs.md +++ b/docs/examples/1.3.x/server-python/examples/teams/update-prefs.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.3.x/server-python/examples/users/create-argon2user.md b/docs/examples/1.3.x/server-python/examples/users/create-argon2user.md index be1e8cef36..6314988132 100644 --- a/docs/examples/1.3.x/server-python/examples/users/create-argon2user.md +++ b/docs/examples/1.3.x/server-python/examples/users/create-argon2user.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/users/create-bcrypt-user.md b/docs/examples/1.3.x/server-python/examples/users/create-bcrypt-user.md index 77c9918879..32632b9c1d 100644 --- a/docs/examples/1.3.x/server-python/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.3.x/server-python/examples/users/create-bcrypt-user.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/users/create-m-d5user.md b/docs/examples/1.3.x/server-python/examples/users/create-m-d5user.md index f3ab3f8418..d2ecc0cc0b 100644 --- a/docs/examples/1.3.x/server-python/examples/users/create-m-d5user.md +++ b/docs/examples/1.3.x/server-python/examples/users/create-m-d5user.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/users/create-p-h-pass-user.md b/docs/examples/1.3.x/server-python/examples/users/create-p-h-pass-user.md index e715f47c14..7f4c6bcfd6 100644 --- a/docs/examples/1.3.x/server-python/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.3.x/server-python/examples/users/create-p-h-pass-user.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/users/create-s-h-a-user.md b/docs/examples/1.3.x/server-python/examples/users/create-s-h-a-user.md index 2a2db5a673..17e4209ae7 100644 --- a/docs/examples/1.3.x/server-python/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.3.x/server-python/examples/users/create-s-h-a-user.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/users/create-scrypt-modified-user.md b/docs/examples/1.3.x/server-python/examples/users/create-scrypt-modified-user.md index 0b42e98dc7..64b54170ae 100644 --- a/docs/examples/1.3.x/server-python/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.3.x/server-python/examples/users/create-scrypt-modified-user.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/users/create-scrypt-user.md b/docs/examples/1.3.x/server-python/examples/users/create-scrypt-user.md index b445623018..9a934d5cae 100644 --- a/docs/examples/1.3.x/server-python/examples/users/create-scrypt-user.md +++ b/docs/examples/1.3.x/server-python/examples/users/create-scrypt-user.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/users/create.md b/docs/examples/1.3.x/server-python/examples/users/create.md index 05249c08ea..657449e3b1 100644 --- a/docs/examples/1.3.x/server-python/examples/users/create.md +++ b/docs/examples/1.3.x/server-python/examples/users/create.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/users/delete-session.md b/docs/examples/1.3.x/server-python/examples/users/delete-session.md index 26b041db1d..baba61e58b 100644 --- a/docs/examples/1.3.x/server-python/examples/users/delete-session.md +++ b/docs/examples/1.3.x/server-python/examples/users/delete-session.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/users/delete-sessions.md b/docs/examples/1.3.x/server-python/examples/users/delete-sessions.md index dabe4f627d..0c7f38ba8e 100644 --- a/docs/examples/1.3.x/server-python/examples/users/delete-sessions.md +++ b/docs/examples/1.3.x/server-python/examples/users/delete-sessions.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/users/delete.md b/docs/examples/1.3.x/server-python/examples/users/delete.md index 7fdc77576b..4a21cab6fd 100644 --- a/docs/examples/1.3.x/server-python/examples/users/delete.md +++ b/docs/examples/1.3.x/server-python/examples/users/delete.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/users/get-prefs.md b/docs/examples/1.3.x/server-python/examples/users/get-prefs.md index 2bbaa88c59..bf325a4fda 100644 --- a/docs/examples/1.3.x/server-python/examples/users/get-prefs.md +++ b/docs/examples/1.3.x/server-python/examples/users/get-prefs.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/users/get.md b/docs/examples/1.3.x/server-python/examples/users/get.md index 463957d394..7491d3db17 100644 --- a/docs/examples/1.3.x/server-python/examples/users/get.md +++ b/docs/examples/1.3.x/server-python/examples/users/get.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/users/list-logs.md b/docs/examples/1.3.x/server-python/examples/users/list-logs.md index ca3a5eb815..84dc775e04 100644 --- a/docs/examples/1.3.x/server-python/examples/users/list-logs.md +++ b/docs/examples/1.3.x/server-python/examples/users/list-logs.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/users/list-memberships.md b/docs/examples/1.3.x/server-python/examples/users/list-memberships.md index 0dfb97afce..d091789b8b 100644 --- a/docs/examples/1.3.x/server-python/examples/users/list-memberships.md +++ b/docs/examples/1.3.x/server-python/examples/users/list-memberships.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/users/list-sessions.md b/docs/examples/1.3.x/server-python/examples/users/list-sessions.md index 5f8fbd68ea..75e3383a14 100644 --- a/docs/examples/1.3.x/server-python/examples/users/list-sessions.md +++ b/docs/examples/1.3.x/server-python/examples/users/list-sessions.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/users/list.md b/docs/examples/1.3.x/server-python/examples/users/list.md index baaf42c574..1f82be4b74 100644 --- a/docs/examples/1.3.x/server-python/examples/users/list.md +++ b/docs/examples/1.3.x/server-python/examples/users/list.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/users/update-email-verification.md b/docs/examples/1.3.x/server-python/examples/users/update-email-verification.md index 8be33ad97f..2828171035 100644 --- a/docs/examples/1.3.x/server-python/examples/users/update-email-verification.md +++ b/docs/examples/1.3.x/server-python/examples/users/update-email-verification.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/users/update-email.md b/docs/examples/1.3.x/server-python/examples/users/update-email.md index 4899bd3936..370fedf8c4 100644 --- a/docs/examples/1.3.x/server-python/examples/users/update-email.md +++ b/docs/examples/1.3.x/server-python/examples/users/update-email.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/users/update-name.md b/docs/examples/1.3.x/server-python/examples/users/update-name.md index 66bb6b2920..e8411d203b 100644 --- a/docs/examples/1.3.x/server-python/examples/users/update-name.md +++ b/docs/examples/1.3.x/server-python/examples/users/update-name.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/users/update-password.md b/docs/examples/1.3.x/server-python/examples/users/update-password.md index e79f1255b8..548768b400 100644 --- a/docs/examples/1.3.x/server-python/examples/users/update-password.md +++ b/docs/examples/1.3.x/server-python/examples/users/update-password.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/users/update-phone-verification.md b/docs/examples/1.3.x/server-python/examples/users/update-phone-verification.md index e42317ca30..e2d69ef2fc 100644 --- a/docs/examples/1.3.x/server-python/examples/users/update-phone-verification.md +++ b/docs/examples/1.3.x/server-python/examples/users/update-phone-verification.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/users/update-phone.md b/docs/examples/1.3.x/server-python/examples/users/update-phone.md index 6df39fc994..b6165469e8 100644 --- a/docs/examples/1.3.x/server-python/examples/users/update-phone.md +++ b/docs/examples/1.3.x/server-python/examples/users/update-phone.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/users/update-prefs.md b/docs/examples/1.3.x/server-python/examples/users/update-prefs.md index 53d1e524e2..432b9da023 100644 --- a/docs/examples/1.3.x/server-python/examples/users/update-prefs.md +++ b/docs/examples/1.3.x/server-python/examples/users/update-prefs.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-python/examples/users/update-status.md b/docs/examples/1.3.x/server-python/examples/users/update-status.md index 6d1577d401..2afab7539f 100644 --- a/docs/examples/1.3.x/server-python/examples/users/update-status.md +++ b/docs/examples/1.3.x/server-python/examples/users/update-status.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.3.x/server-ruby/examples/account/create-phone-verification.md b/docs/examples/1.3.x/server-ruby/examples/account/create-phone-verification.md index 7ec0a1c0c9..9ea5aa170c 100644 --- a/docs/examples/1.3.x/server-ruby/examples/account/create-phone-verification.md +++ b/docs/examples/1.3.x/server-ruby/examples/account/create-phone-verification.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-ruby/examples/account/create-recovery.md b/docs/examples/1.3.x/server-ruby/examples/account/create-recovery.md index 5c6d13c724..dfa4038915 100644 --- a/docs/examples/1.3.x/server-ruby/examples/account/create-recovery.md +++ b/docs/examples/1.3.x/server-ruby/examples/account/create-recovery.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-ruby/examples/account/create-verification.md b/docs/examples/1.3.x/server-ruby/examples/account/create-verification.md index dcd9722e47..37b838f4d2 100644 --- a/docs/examples/1.3.x/server-ruby/examples/account/create-verification.md +++ b/docs/examples/1.3.x/server-ruby/examples/account/create-verification.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-ruby/examples/account/delete-session.md b/docs/examples/1.3.x/server-ruby/examples/account/delete-session.md index 3357b2ba20..788b1d0dc1 100644 --- a/docs/examples/1.3.x/server-ruby/examples/account/delete-session.md +++ b/docs/examples/1.3.x/server-ruby/examples/account/delete-session.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-ruby/examples/account/delete-sessions.md b/docs/examples/1.3.x/server-ruby/examples/account/delete-sessions.md index b218a536db..fecb93ca76 100644 --- a/docs/examples/1.3.x/server-ruby/examples/account/delete-sessions.md +++ b/docs/examples/1.3.x/server-ruby/examples/account/delete-sessions.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-ruby/examples/account/get-prefs.md b/docs/examples/1.3.x/server-ruby/examples/account/get-prefs.md index 24092b922b..9870af6340 100644 --- a/docs/examples/1.3.x/server-ruby/examples/account/get-prefs.md +++ b/docs/examples/1.3.x/server-ruby/examples/account/get-prefs.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-ruby/examples/account/get-session.md b/docs/examples/1.3.x/server-ruby/examples/account/get-session.md index 2a8209031d..09946ae001 100644 --- a/docs/examples/1.3.x/server-ruby/examples/account/get-session.md +++ b/docs/examples/1.3.x/server-ruby/examples/account/get-session.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-ruby/examples/account/get.md b/docs/examples/1.3.x/server-ruby/examples/account/get.md index 61237b2215..616316ca8c 100644 --- a/docs/examples/1.3.x/server-ruby/examples/account/get.md +++ b/docs/examples/1.3.x/server-ruby/examples/account/get.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-ruby/examples/account/list-logs.md b/docs/examples/1.3.x/server-ruby/examples/account/list-logs.md index 8a08eb96be..22e23f38ee 100644 --- a/docs/examples/1.3.x/server-ruby/examples/account/list-logs.md +++ b/docs/examples/1.3.x/server-ruby/examples/account/list-logs.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-ruby/examples/account/list-sessions.md b/docs/examples/1.3.x/server-ruby/examples/account/list-sessions.md index a6bcb6816d..9e267c659d 100644 --- a/docs/examples/1.3.x/server-ruby/examples/account/list-sessions.md +++ b/docs/examples/1.3.x/server-ruby/examples/account/list-sessions.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-ruby/examples/account/update-email.md b/docs/examples/1.3.x/server-ruby/examples/account/update-email.md index cd2e10cbbe..1a871d2790 100644 --- a/docs/examples/1.3.x/server-ruby/examples/account/update-email.md +++ b/docs/examples/1.3.x/server-ruby/examples/account/update-email.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-ruby/examples/account/update-name.md b/docs/examples/1.3.x/server-ruby/examples/account/update-name.md index 2685e88cf6..f7a2bec787 100644 --- a/docs/examples/1.3.x/server-ruby/examples/account/update-name.md +++ b/docs/examples/1.3.x/server-ruby/examples/account/update-name.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-ruby/examples/account/update-password.md b/docs/examples/1.3.x/server-ruby/examples/account/update-password.md index 6ec26f407a..fb7e3a7327 100644 --- a/docs/examples/1.3.x/server-ruby/examples/account/update-password.md +++ b/docs/examples/1.3.x/server-ruby/examples/account/update-password.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-ruby/examples/account/update-phone-verification.md b/docs/examples/1.3.x/server-ruby/examples/account/update-phone-verification.md index 103b32c00d..6a0345a6f6 100644 --- a/docs/examples/1.3.x/server-ruby/examples/account/update-phone-verification.md +++ b/docs/examples/1.3.x/server-ruby/examples/account/update-phone-verification.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-ruby/examples/account/update-phone.md b/docs/examples/1.3.x/server-ruby/examples/account/update-phone.md index 377c578dea..aa6dc9804c 100644 --- a/docs/examples/1.3.x/server-ruby/examples/account/update-phone.md +++ b/docs/examples/1.3.x/server-ruby/examples/account/update-phone.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-ruby/examples/account/update-prefs.md b/docs/examples/1.3.x/server-ruby/examples/account/update-prefs.md index 338a9704f1..1e0f9c836c 100644 --- a/docs/examples/1.3.x/server-ruby/examples/account/update-prefs.md +++ b/docs/examples/1.3.x/server-ruby/examples/account/update-prefs.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-ruby/examples/account/update-recovery.md b/docs/examples/1.3.x/server-ruby/examples/account/update-recovery.md index fa901de857..357bfa9d1d 100644 --- a/docs/examples/1.3.x/server-ruby/examples/account/update-recovery.md +++ b/docs/examples/1.3.x/server-ruby/examples/account/update-recovery.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-ruby/examples/account/update-session.md b/docs/examples/1.3.x/server-ruby/examples/account/update-session.md index 31dde2e94f..2de00124c6 100644 --- a/docs/examples/1.3.x/server-ruby/examples/account/update-session.md +++ b/docs/examples/1.3.x/server-ruby/examples/account/update-session.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-ruby/examples/account/update-status.md b/docs/examples/1.3.x/server-ruby/examples/account/update-status.md index ea7a3857b5..f0e73d13d5 100644 --- a/docs/examples/1.3.x/server-ruby/examples/account/update-status.md +++ b/docs/examples/1.3.x/server-ruby/examples/account/update-status.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-ruby/examples/account/update-verification.md b/docs/examples/1.3.x/server-ruby/examples/account/update-verification.md index b8f674ec77..32d4c79de0 100644 --- a/docs/examples/1.3.x/server-ruby/examples/account/update-verification.md +++ b/docs/examples/1.3.x/server-ruby/examples/account/update-verification.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-ruby/examples/avatars/get-browser.md b/docs/examples/1.3.x/server-ruby/examples/avatars/get-browser.md index 2a66b46b92..11fa186f0e 100644 --- a/docs/examples/1.3.x/server-ruby/examples/avatars/get-browser.md +++ b/docs/examples/1.3.x/server-ruby/examples/avatars/get-browser.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/avatars/get-credit-card.md b/docs/examples/1.3.x/server-ruby/examples/avatars/get-credit-card.md index d5bcaa824f..47c8dc8e07 100644 --- a/docs/examples/1.3.x/server-ruby/examples/avatars/get-credit-card.md +++ b/docs/examples/1.3.x/server-ruby/examples/avatars/get-credit-card.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/avatars/get-favicon.md b/docs/examples/1.3.x/server-ruby/examples/avatars/get-favicon.md index c995fb2036..48263bc19d 100644 --- a/docs/examples/1.3.x/server-ruby/examples/avatars/get-favicon.md +++ b/docs/examples/1.3.x/server-ruby/examples/avatars/get-favicon.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/avatars/get-flag.md b/docs/examples/1.3.x/server-ruby/examples/avatars/get-flag.md index 7633756425..17e2cfb053 100644 --- a/docs/examples/1.3.x/server-ruby/examples/avatars/get-flag.md +++ b/docs/examples/1.3.x/server-ruby/examples/avatars/get-flag.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/avatars/get-image.md b/docs/examples/1.3.x/server-ruby/examples/avatars/get-image.md index 4ea52a60e4..168cc78d47 100644 --- a/docs/examples/1.3.x/server-ruby/examples/avatars/get-image.md +++ b/docs/examples/1.3.x/server-ruby/examples/avatars/get-image.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/avatars/get-initials.md b/docs/examples/1.3.x/server-ruby/examples/avatars/get-initials.md index 62a8ff855d..c621832069 100644 --- a/docs/examples/1.3.x/server-ruby/examples/avatars/get-initials.md +++ b/docs/examples/1.3.x/server-ruby/examples/avatars/get-initials.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/avatars/get-q-r.md b/docs/examples/1.3.x/server-ruby/examples/avatars/get-q-r.md index 03a1f14aa9..93b91d13ea 100644 --- a/docs/examples/1.3.x/server-ruby/examples/avatars/get-q-r.md +++ b/docs/examples/1.3.x/server-ruby/examples/avatars/get-q-r.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/create-boolean-attribute.md b/docs/examples/1.3.x/server-ruby/examples/databases/create-boolean-attribute.md index d617d8e322..17f0467cb1 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/create-boolean-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/create-collection.md b/docs/examples/1.3.x/server-ruby/examples/databases/create-collection.md index d27e43ad66..d0c87c6433 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/create-collection.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/create-collection.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/create-datetime-attribute.md b/docs/examples/1.3.x/server-ruby/examples/databases/create-datetime-attribute.md index 127d2ac2d7..2aebb09856 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/create-datetime-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/create-document.md b/docs/examples/1.3.x/server-ruby/examples/databases/create-document.md index 8177fc4b3b..e6d1249721 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/create-document.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/create-document.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/create-email-attribute.md b/docs/examples/1.3.x/server-ruby/examples/databases/create-email-attribute.md index c7e1aac86b..38047e524d 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/create-email-attribute.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/create-email-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/create-enum-attribute.md b/docs/examples/1.3.x/server-ruby/examples/databases/create-enum-attribute.md index 36f8ee06d4..1fe0f0c689 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/create-enum-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/create-float-attribute.md b/docs/examples/1.3.x/server-ruby/examples/databases/create-float-attribute.md index 771d281ccf..6da9f12cae 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/create-float-attribute.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/create-float-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/create-index.md b/docs/examples/1.3.x/server-ruby/examples/databases/create-index.md index 5488e36f74..68fccf90ca 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/create-index.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/create-index.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/create-integer-attribute.md b/docs/examples/1.3.x/server-ruby/examples/databases/create-integer-attribute.md index 40649c25f8..d17eef4f46 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/create-integer-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/create-ip-attribute.md b/docs/examples/1.3.x/server-ruby/examples/databases/create-ip-attribute.md index ef9e0feba5..c0daf8a4ae 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/create-ip-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/create-relationship-attribute.md b/docs/examples/1.3.x/server-ruby/examples/databases/create-relationship-attribute.md index 573ab10ddc..de31af211f 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/create-relationship-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/create-string-attribute.md b/docs/examples/1.3.x/server-ruby/examples/databases/create-string-attribute.md index 9901c84b02..4b4c95b7c1 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/create-string-attribute.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/create-string-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/create-url-attribute.md b/docs/examples/1.3.x/server-ruby/examples/databases/create-url-attribute.md index 475421fe53..03486d7695 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/create-url-attribute.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/create-url-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/create.md b/docs/examples/1.3.x/server-ruby/examples/databases/create.md index 1ce19d3125..8054c37fef 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/create.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/create.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/delete-attribute.md b/docs/examples/1.3.x/server-ruby/examples/databases/delete-attribute.md index ae2e32d8bd..5501315152 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/delete-attribute.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/delete-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/delete-collection.md b/docs/examples/1.3.x/server-ruby/examples/databases/delete-collection.md index f118667b6e..779865a67e 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/delete-collection.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/delete-collection.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/delete-document.md b/docs/examples/1.3.x/server-ruby/examples/databases/delete-document.md index 0b7baa89ed..b83d2a38a8 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/delete-document.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/delete-document.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/delete-index.md b/docs/examples/1.3.x/server-ruby/examples/databases/delete-index.md index 829e606135..fb30a95c64 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/delete-index.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/delete-index.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/delete.md b/docs/examples/1.3.x/server-ruby/examples/databases/delete.md index 7e0c4211f1..beeca37e8a 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/delete.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/delete.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/get-attribute.md b/docs/examples/1.3.x/server-ruby/examples/databases/get-attribute.md index 525c8f14cd..653a428054 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/get-attribute.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/get-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/get-collection.md b/docs/examples/1.3.x/server-ruby/examples/databases/get-collection.md index 897e40d109..b3251fb7a6 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/get-collection.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/get-collection.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/get-document.md b/docs/examples/1.3.x/server-ruby/examples/databases/get-document.md index d5853aba56..9a4e9b7c01 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/get-document.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/get-document.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/get-index.md b/docs/examples/1.3.x/server-ruby/examples/databases/get-index.md index 3217507541..1f7d3b6155 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/get-index.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/get-index.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/get.md b/docs/examples/1.3.x/server-ruby/examples/databases/get.md index ced51d6ad1..93b171122f 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/get.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/get.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/list-attributes.md b/docs/examples/1.3.x/server-ruby/examples/databases/list-attributes.md index 1b57bda217..5a07c9a635 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/list-attributes.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/list-attributes.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/list-collections.md b/docs/examples/1.3.x/server-ruby/examples/databases/list-collections.md index 3d646c47e7..c707b3faf7 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/list-collections.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/list-collections.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/list-documents.md b/docs/examples/1.3.x/server-ruby/examples/databases/list-documents.md index 6f57bb150c..da14516505 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/list-documents.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/list-documents.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/list-indexes.md b/docs/examples/1.3.x/server-ruby/examples/databases/list-indexes.md index d64b3bfc68..c6d42be1ea 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/list-indexes.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/list-indexes.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/list.md b/docs/examples/1.3.x/server-ruby/examples/databases/list.md index 84baa108a3..628f44c7fc 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/list.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/list.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/update-boolean-attribute.md b/docs/examples/1.3.x/server-ruby/examples/databases/update-boolean-attribute.md index 7a7f01a854..dfd0d558fb 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/update-boolean-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/update-collection.md b/docs/examples/1.3.x/server-ruby/examples/databases/update-collection.md index eee4058531..ab421153cc 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/update-collection.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/update-collection.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/update-datetime-attribute.md b/docs/examples/1.3.x/server-ruby/examples/databases/update-datetime-attribute.md index c9f9aa759b..b5e6d092d4 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/update-datetime-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/update-document.md b/docs/examples/1.3.x/server-ruby/examples/databases/update-document.md index dbe1b0d71a..0b5b2a07ca 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/update-document.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/update-document.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/update-email-attribute.md b/docs/examples/1.3.x/server-ruby/examples/databases/update-email-attribute.md index de2d4c0749..f172b39a32 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/update-email-attribute.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/update-email-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/update-enum-attribute.md b/docs/examples/1.3.x/server-ruby/examples/databases/update-enum-attribute.md index e248a5bcf7..2ffaef300f 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/update-enum-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/update-float-attribute.md b/docs/examples/1.3.x/server-ruby/examples/databases/update-float-attribute.md index 555355d6cb..b2984c21bd 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/update-float-attribute.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/update-float-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/update-integer-attribute.md b/docs/examples/1.3.x/server-ruby/examples/databases/update-integer-attribute.md index 154daf330e..b37f45c79e 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/update-integer-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/update-ip-attribute.md b/docs/examples/1.3.x/server-ruby/examples/databases/update-ip-attribute.md index a6fe4d95bc..cd563df3db 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/update-ip-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/update-relationship-attribute.md b/docs/examples/1.3.x/server-ruby/examples/databases/update-relationship-attribute.md index 9c51daa3a5..3f20382b11 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/update-relationship-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/update-string-attribute.md b/docs/examples/1.3.x/server-ruby/examples/databases/update-string-attribute.md index e5f2f8f09d..ecd9fcbce2 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/update-string-attribute.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/update-string-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/update-url-attribute.md b/docs/examples/1.3.x/server-ruby/examples/databases/update-url-attribute.md index da21dcbfb0..99a6f7952c 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/update-url-attribute.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/update-url-attribute.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/databases/update.md b/docs/examples/1.3.x/server-ruby/examples/databases/update.md index 0900ab3428..9e67595cbc 100644 --- a/docs/examples/1.3.x/server-ruby/examples/databases/update.md +++ b/docs/examples/1.3.x/server-ruby/examples/databases/update.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/functions/create-build.md b/docs/examples/1.3.x/server-ruby/examples/functions/create-build.md index 9c7397bf26..6c9ad31fd0 100644 --- a/docs/examples/1.3.x/server-ruby/examples/functions/create-build.md +++ b/docs/examples/1.3.x/server-ruby/examples/functions/create-build.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/functions/create-deployment.md b/docs/examples/1.3.x/server-ruby/examples/functions/create-deployment.md index 734625f449..4cb56c9ad8 100644 --- a/docs/examples/1.3.x/server-ruby/examples/functions/create-deployment.md +++ b/docs/examples/1.3.x/server-ruby/examples/functions/create-deployment.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/functions/create-execution.md b/docs/examples/1.3.x/server-ruby/examples/functions/create-execution.md index 97f4d74ba1..3dc5e844e7 100644 --- a/docs/examples/1.3.x/server-ruby/examples/functions/create-execution.md +++ b/docs/examples/1.3.x/server-ruby/examples/functions/create-execution.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/functions/create-variable.md b/docs/examples/1.3.x/server-ruby/examples/functions/create-variable.md index 003fb4743a..1340c1a379 100644 --- a/docs/examples/1.3.x/server-ruby/examples/functions/create-variable.md +++ b/docs/examples/1.3.x/server-ruby/examples/functions/create-variable.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/functions/create.md b/docs/examples/1.3.x/server-ruby/examples/functions/create.md index 3f9b84d60e..0ee3958085 100644 --- a/docs/examples/1.3.x/server-ruby/examples/functions/create.md +++ b/docs/examples/1.3.x/server-ruby/examples/functions/create.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/functions/delete-deployment.md b/docs/examples/1.3.x/server-ruby/examples/functions/delete-deployment.md index 64feea1370..00c85f50a1 100644 --- a/docs/examples/1.3.x/server-ruby/examples/functions/delete-deployment.md +++ b/docs/examples/1.3.x/server-ruby/examples/functions/delete-deployment.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/functions/delete-variable.md b/docs/examples/1.3.x/server-ruby/examples/functions/delete-variable.md index 598e694141..191796186d 100644 --- a/docs/examples/1.3.x/server-ruby/examples/functions/delete-variable.md +++ b/docs/examples/1.3.x/server-ruby/examples/functions/delete-variable.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/functions/delete.md b/docs/examples/1.3.x/server-ruby/examples/functions/delete.md index 48ea5c7a73..c96a2621e6 100644 --- a/docs/examples/1.3.x/server-ruby/examples/functions/delete.md +++ b/docs/examples/1.3.x/server-ruby/examples/functions/delete.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/functions/get-deployment.md b/docs/examples/1.3.x/server-ruby/examples/functions/get-deployment.md index c19163e7f5..fa1bbc08be 100644 --- a/docs/examples/1.3.x/server-ruby/examples/functions/get-deployment.md +++ b/docs/examples/1.3.x/server-ruby/examples/functions/get-deployment.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/functions/get-execution.md b/docs/examples/1.3.x/server-ruby/examples/functions/get-execution.md index 3deee91574..52e46af41a 100644 --- a/docs/examples/1.3.x/server-ruby/examples/functions/get-execution.md +++ b/docs/examples/1.3.x/server-ruby/examples/functions/get-execution.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/functions/get-variable.md b/docs/examples/1.3.x/server-ruby/examples/functions/get-variable.md index 835fc30d81..b023e3653b 100644 --- a/docs/examples/1.3.x/server-ruby/examples/functions/get-variable.md +++ b/docs/examples/1.3.x/server-ruby/examples/functions/get-variable.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/functions/get.md b/docs/examples/1.3.x/server-ruby/examples/functions/get.md index cfcf8411e5..76897965e5 100644 --- a/docs/examples/1.3.x/server-ruby/examples/functions/get.md +++ b/docs/examples/1.3.x/server-ruby/examples/functions/get.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/functions/list-deployments.md b/docs/examples/1.3.x/server-ruby/examples/functions/list-deployments.md index 539301c4bb..5ec1f5ba31 100644 --- a/docs/examples/1.3.x/server-ruby/examples/functions/list-deployments.md +++ b/docs/examples/1.3.x/server-ruby/examples/functions/list-deployments.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/functions/list-executions.md b/docs/examples/1.3.x/server-ruby/examples/functions/list-executions.md index c0c1f46cf1..797817ad4f 100644 --- a/docs/examples/1.3.x/server-ruby/examples/functions/list-executions.md +++ b/docs/examples/1.3.x/server-ruby/examples/functions/list-executions.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/functions/list-runtimes.md b/docs/examples/1.3.x/server-ruby/examples/functions/list-runtimes.md index b679da2d8b..b5fd2b0aaf 100644 --- a/docs/examples/1.3.x/server-ruby/examples/functions/list-runtimes.md +++ b/docs/examples/1.3.x/server-ruby/examples/functions/list-runtimes.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/functions/list-variables.md b/docs/examples/1.3.x/server-ruby/examples/functions/list-variables.md index 4e5bfab891..196fcfe3cd 100644 --- a/docs/examples/1.3.x/server-ruby/examples/functions/list-variables.md +++ b/docs/examples/1.3.x/server-ruby/examples/functions/list-variables.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/functions/list.md b/docs/examples/1.3.x/server-ruby/examples/functions/list.md index 2cc71a5c04..bf27f73cf9 100644 --- a/docs/examples/1.3.x/server-ruby/examples/functions/list.md +++ b/docs/examples/1.3.x/server-ruby/examples/functions/list.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/functions/update-deployment.md b/docs/examples/1.3.x/server-ruby/examples/functions/update-deployment.md index c9d9f49d63..a9f039cfc6 100644 --- a/docs/examples/1.3.x/server-ruby/examples/functions/update-deployment.md +++ b/docs/examples/1.3.x/server-ruby/examples/functions/update-deployment.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/functions/update-variable.md b/docs/examples/1.3.x/server-ruby/examples/functions/update-variable.md index 28d7651a46..3418454c27 100644 --- a/docs/examples/1.3.x/server-ruby/examples/functions/update-variable.md +++ b/docs/examples/1.3.x/server-ruby/examples/functions/update-variable.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/functions/update.md b/docs/examples/1.3.x/server-ruby/examples/functions/update.md index 8503a50724..0850e23372 100644 --- a/docs/examples/1.3.x/server-ruby/examples/functions/update.md +++ b/docs/examples/1.3.x/server-ruby/examples/functions/update.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/graphql/mutation.md b/docs/examples/1.3.x/server-ruby/examples/graphql/mutation.md index 234dfe6202..a22fc7846a 100644 --- a/docs/examples/1.3.x/server-ruby/examples/graphql/mutation.md +++ b/docs/examples/1.3.x/server-ruby/examples/graphql/mutation.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/graphql/query.md b/docs/examples/1.3.x/server-ruby/examples/graphql/query.md index 1304213caf..a8c967ed6b 100644 --- a/docs/examples/1.3.x/server-ruby/examples/graphql/query.md +++ b/docs/examples/1.3.x/server-ruby/examples/graphql/query.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/health/get-antivirus.md b/docs/examples/1.3.x/server-ruby/examples/health/get-antivirus.md index b1f16bb0b9..32646a5a0b 100644 --- a/docs/examples/1.3.x/server-ruby/examples/health/get-antivirus.md +++ b/docs/examples/1.3.x/server-ruby/examples/health/get-antivirus.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/health/get-cache.md b/docs/examples/1.3.x/server-ruby/examples/health/get-cache.md index 4fb77ec68d..a4b43daf92 100644 --- a/docs/examples/1.3.x/server-ruby/examples/health/get-cache.md +++ b/docs/examples/1.3.x/server-ruby/examples/health/get-cache.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/health/get-d-b.md b/docs/examples/1.3.x/server-ruby/examples/health/get-d-b.md index 3317acd6fa..6b42bbaf6a 100644 --- a/docs/examples/1.3.x/server-ruby/examples/health/get-d-b.md +++ b/docs/examples/1.3.x/server-ruby/examples/health/get-d-b.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/health/get-queue-certificates.md b/docs/examples/1.3.x/server-ruby/examples/health/get-queue-certificates.md index a4c5c7016b..915731e056 100644 --- a/docs/examples/1.3.x/server-ruby/examples/health/get-queue-certificates.md +++ b/docs/examples/1.3.x/server-ruby/examples/health/get-queue-certificates.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/health/get-queue-functions.md b/docs/examples/1.3.x/server-ruby/examples/health/get-queue-functions.md index 8edb310a5e..ea585cacb7 100644 --- a/docs/examples/1.3.x/server-ruby/examples/health/get-queue-functions.md +++ b/docs/examples/1.3.x/server-ruby/examples/health/get-queue-functions.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/health/get-queue-logs.md b/docs/examples/1.3.x/server-ruby/examples/health/get-queue-logs.md index 74823fcd6c..253419c8bd 100644 --- a/docs/examples/1.3.x/server-ruby/examples/health/get-queue-logs.md +++ b/docs/examples/1.3.x/server-ruby/examples/health/get-queue-logs.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/health/get-queue-webhooks.md b/docs/examples/1.3.x/server-ruby/examples/health/get-queue-webhooks.md index 53b7f33cfe..1902a930c8 100644 --- a/docs/examples/1.3.x/server-ruby/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.3.x/server-ruby/examples/health/get-queue-webhooks.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/health/get-storage-local.md b/docs/examples/1.3.x/server-ruby/examples/health/get-storage-local.md index 3a85bd3e12..293c866762 100644 --- a/docs/examples/1.3.x/server-ruby/examples/health/get-storage-local.md +++ b/docs/examples/1.3.x/server-ruby/examples/health/get-storage-local.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/health/get-time.md b/docs/examples/1.3.x/server-ruby/examples/health/get-time.md index 9956a33d1f..e19bf05e79 100644 --- a/docs/examples/1.3.x/server-ruby/examples/health/get-time.md +++ b/docs/examples/1.3.x/server-ruby/examples/health/get-time.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/health/get.md b/docs/examples/1.3.x/server-ruby/examples/health/get.md index d23a9ad675..07fc372f3b 100644 --- a/docs/examples/1.3.x/server-ruby/examples/health/get.md +++ b/docs/examples/1.3.x/server-ruby/examples/health/get.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/locale/get.md b/docs/examples/1.3.x/server-ruby/examples/locale/get.md index e5922f4e7f..b2abf36f19 100644 --- a/docs/examples/1.3.x/server-ruby/examples/locale/get.md +++ b/docs/examples/1.3.x/server-ruby/examples/locale/get.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/locale/list-continents.md b/docs/examples/1.3.x/server-ruby/examples/locale/list-continents.md index 0416baf77a..1a086d9a2f 100644 --- a/docs/examples/1.3.x/server-ruby/examples/locale/list-continents.md +++ b/docs/examples/1.3.x/server-ruby/examples/locale/list-continents.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/locale/list-countries-e-u.md b/docs/examples/1.3.x/server-ruby/examples/locale/list-countries-e-u.md index 7faa85143c..962387167f 100644 --- a/docs/examples/1.3.x/server-ruby/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.3.x/server-ruby/examples/locale/list-countries-e-u.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/locale/list-countries-phones.md b/docs/examples/1.3.x/server-ruby/examples/locale/list-countries-phones.md index 1194f27e0c..9e842f2121 100644 --- a/docs/examples/1.3.x/server-ruby/examples/locale/list-countries-phones.md +++ b/docs/examples/1.3.x/server-ruby/examples/locale/list-countries-phones.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/locale/list-countries.md b/docs/examples/1.3.x/server-ruby/examples/locale/list-countries.md index b78fba47fd..eb093479b7 100644 --- a/docs/examples/1.3.x/server-ruby/examples/locale/list-countries.md +++ b/docs/examples/1.3.x/server-ruby/examples/locale/list-countries.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/locale/list-currencies.md b/docs/examples/1.3.x/server-ruby/examples/locale/list-currencies.md index 14b2722ae8..1e20bdbbb2 100644 --- a/docs/examples/1.3.x/server-ruby/examples/locale/list-currencies.md +++ b/docs/examples/1.3.x/server-ruby/examples/locale/list-currencies.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/locale/list-languages.md b/docs/examples/1.3.x/server-ruby/examples/locale/list-languages.md index 4d88bc4723..7b919494b3 100644 --- a/docs/examples/1.3.x/server-ruby/examples/locale/list-languages.md +++ b/docs/examples/1.3.x/server-ruby/examples/locale/list-languages.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/storage/create-bucket.md b/docs/examples/1.3.x/server-ruby/examples/storage/create-bucket.md index d6299db79f..459508e311 100644 --- a/docs/examples/1.3.x/server-ruby/examples/storage/create-bucket.md +++ b/docs/examples/1.3.x/server-ruby/examples/storage/create-bucket.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/storage/create-file.md b/docs/examples/1.3.x/server-ruby/examples/storage/create-file.md index 851ed57a48..fd29996f73 100644 --- a/docs/examples/1.3.x/server-ruby/examples/storage/create-file.md +++ b/docs/examples/1.3.x/server-ruby/examples/storage/create-file.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/storage/delete-bucket.md b/docs/examples/1.3.x/server-ruby/examples/storage/delete-bucket.md index 3fd51bef5e..be83f475f2 100644 --- a/docs/examples/1.3.x/server-ruby/examples/storage/delete-bucket.md +++ b/docs/examples/1.3.x/server-ruby/examples/storage/delete-bucket.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/storage/delete-file.md b/docs/examples/1.3.x/server-ruby/examples/storage/delete-file.md index 4d0e3fcbff..6ea4059bba 100644 --- a/docs/examples/1.3.x/server-ruby/examples/storage/delete-file.md +++ b/docs/examples/1.3.x/server-ruby/examples/storage/delete-file.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/storage/get-bucket.md b/docs/examples/1.3.x/server-ruby/examples/storage/get-bucket.md index ba88debc61..ca0905b463 100644 --- a/docs/examples/1.3.x/server-ruby/examples/storage/get-bucket.md +++ b/docs/examples/1.3.x/server-ruby/examples/storage/get-bucket.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/storage/get-file-download.md b/docs/examples/1.3.x/server-ruby/examples/storage/get-file-download.md index a22f4cb68f..77007f6b19 100644 --- a/docs/examples/1.3.x/server-ruby/examples/storage/get-file-download.md +++ b/docs/examples/1.3.x/server-ruby/examples/storage/get-file-download.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/storage/get-file-preview.md b/docs/examples/1.3.x/server-ruby/examples/storage/get-file-preview.md index c5b7c06db1..c0e2b80931 100644 --- a/docs/examples/1.3.x/server-ruby/examples/storage/get-file-preview.md +++ b/docs/examples/1.3.x/server-ruby/examples/storage/get-file-preview.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/storage/get-file-view.md b/docs/examples/1.3.x/server-ruby/examples/storage/get-file-view.md index c05770b999..7689278e56 100644 --- a/docs/examples/1.3.x/server-ruby/examples/storage/get-file-view.md +++ b/docs/examples/1.3.x/server-ruby/examples/storage/get-file-view.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/storage/get-file.md b/docs/examples/1.3.x/server-ruby/examples/storage/get-file.md index a33835c9e2..f5faa37e54 100644 --- a/docs/examples/1.3.x/server-ruby/examples/storage/get-file.md +++ b/docs/examples/1.3.x/server-ruby/examples/storage/get-file.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/storage/list-buckets.md b/docs/examples/1.3.x/server-ruby/examples/storage/list-buckets.md index 7009d0a105..46eac9a260 100644 --- a/docs/examples/1.3.x/server-ruby/examples/storage/list-buckets.md +++ b/docs/examples/1.3.x/server-ruby/examples/storage/list-buckets.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/storage/list-files.md b/docs/examples/1.3.x/server-ruby/examples/storage/list-files.md index 196831a1b3..936b6eaeeb 100644 --- a/docs/examples/1.3.x/server-ruby/examples/storage/list-files.md +++ b/docs/examples/1.3.x/server-ruby/examples/storage/list-files.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/storage/update-bucket.md b/docs/examples/1.3.x/server-ruby/examples/storage/update-bucket.md index f990ab3566..d4c791f4db 100644 --- a/docs/examples/1.3.x/server-ruby/examples/storage/update-bucket.md +++ b/docs/examples/1.3.x/server-ruby/examples/storage/update-bucket.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/storage/update-file.md b/docs/examples/1.3.x/server-ruby/examples/storage/update-file.md index 8108d3cc28..6d26d9ee48 100644 --- a/docs/examples/1.3.x/server-ruby/examples/storage/update-file.md +++ b/docs/examples/1.3.x/server-ruby/examples/storage/update-file.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/teams/create-membership.md b/docs/examples/1.3.x/server-ruby/examples/teams/create-membership.md index 30f343c5d8..1ef600b371 100644 --- a/docs/examples/1.3.x/server-ruby/examples/teams/create-membership.md +++ b/docs/examples/1.3.x/server-ruby/examples/teams/create-membership.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/teams/create.md b/docs/examples/1.3.x/server-ruby/examples/teams/create.md index d2dff77f41..66127ecd34 100644 --- a/docs/examples/1.3.x/server-ruby/examples/teams/create.md +++ b/docs/examples/1.3.x/server-ruby/examples/teams/create.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/teams/delete-membership.md b/docs/examples/1.3.x/server-ruby/examples/teams/delete-membership.md index d41175d4a8..551ee62843 100644 --- a/docs/examples/1.3.x/server-ruby/examples/teams/delete-membership.md +++ b/docs/examples/1.3.x/server-ruby/examples/teams/delete-membership.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/teams/delete.md b/docs/examples/1.3.x/server-ruby/examples/teams/delete.md index c1b9b8d8bb..94a9d4bba7 100644 --- a/docs/examples/1.3.x/server-ruby/examples/teams/delete.md +++ b/docs/examples/1.3.x/server-ruby/examples/teams/delete.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/teams/get-membership.md b/docs/examples/1.3.x/server-ruby/examples/teams/get-membership.md index b06101dd84..d95348801b 100644 --- a/docs/examples/1.3.x/server-ruby/examples/teams/get-membership.md +++ b/docs/examples/1.3.x/server-ruby/examples/teams/get-membership.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/teams/get-prefs.md b/docs/examples/1.3.x/server-ruby/examples/teams/get-prefs.md index d4317e8dba..1f5a376eca 100644 --- a/docs/examples/1.3.x/server-ruby/examples/teams/get-prefs.md +++ b/docs/examples/1.3.x/server-ruby/examples/teams/get-prefs.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-ruby/examples/teams/get.md b/docs/examples/1.3.x/server-ruby/examples/teams/get.md index 7cee601b56..a6c2884d2c 100644 --- a/docs/examples/1.3.x/server-ruby/examples/teams/get.md +++ b/docs/examples/1.3.x/server-ruby/examples/teams/get.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/teams/list-memberships.md b/docs/examples/1.3.x/server-ruby/examples/teams/list-memberships.md index 885a857d72..4b523aa73a 100644 --- a/docs/examples/1.3.x/server-ruby/examples/teams/list-memberships.md +++ b/docs/examples/1.3.x/server-ruby/examples/teams/list-memberships.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/teams/list.md b/docs/examples/1.3.x/server-ruby/examples/teams/list.md index e8b581fd91..fd8385bc71 100644 --- a/docs/examples/1.3.x/server-ruby/examples/teams/list.md +++ b/docs/examples/1.3.x/server-ruby/examples/teams/list.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/teams/update-membership-roles.md b/docs/examples/1.3.x/server-ruby/examples/teams/update-membership-roles.md index a39ef030f9..0a240b5bac 100644 --- a/docs/examples/1.3.x/server-ruby/examples/teams/update-membership-roles.md +++ b/docs/examples/1.3.x/server-ruby/examples/teams/update-membership-roles.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/teams/update-membership-status.md b/docs/examples/1.3.x/server-ruby/examples/teams/update-membership-status.md index aaf52cbb9c..a1f8252899 100644 --- a/docs/examples/1.3.x/server-ruby/examples/teams/update-membership-status.md +++ b/docs/examples/1.3.x/server-ruby/examples/teams/update-membership-status.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-ruby/examples/teams/update-name.md b/docs/examples/1.3.x/server-ruby/examples/teams/update-name.md index 41766d6872..9437075035 100644 --- a/docs/examples/1.3.x/server-ruby/examples/teams/update-name.md +++ b/docs/examples/1.3.x/server-ruby/examples/teams/update-name.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/teams/update-prefs.md b/docs/examples/1.3.x/server-ruby/examples/teams/update-prefs.md index 7656edcd8b..0ca205d495 100644 --- a/docs/examples/1.3.x/server-ruby/examples/teams/update-prefs.md +++ b/docs/examples/1.3.x/server-ruby/examples/teams/update-prefs.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-ruby/examples/users/create-argon2user.md b/docs/examples/1.3.x/server-ruby/examples/users/create-argon2user.md index 9c4fc9ea97..35445044c2 100644 --- a/docs/examples/1.3.x/server-ruby/examples/users/create-argon2user.md +++ b/docs/examples/1.3.x/server-ruby/examples/users/create-argon2user.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/users/create-bcrypt-user.md b/docs/examples/1.3.x/server-ruby/examples/users/create-bcrypt-user.md index 700fe49d12..50e11db190 100644 --- a/docs/examples/1.3.x/server-ruby/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.3.x/server-ruby/examples/users/create-bcrypt-user.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/users/create-m-d5user.md b/docs/examples/1.3.x/server-ruby/examples/users/create-m-d5user.md index a7f9c4f7a2..3f7a61994b 100644 --- a/docs/examples/1.3.x/server-ruby/examples/users/create-m-d5user.md +++ b/docs/examples/1.3.x/server-ruby/examples/users/create-m-d5user.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/users/create-p-h-pass-user.md b/docs/examples/1.3.x/server-ruby/examples/users/create-p-h-pass-user.md index d7d8ba1933..a793d887c8 100644 --- a/docs/examples/1.3.x/server-ruby/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.3.x/server-ruby/examples/users/create-p-h-pass-user.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/users/create-s-h-a-user.md b/docs/examples/1.3.x/server-ruby/examples/users/create-s-h-a-user.md index 2d37fc3bfa..4b7c26629b 100644 --- a/docs/examples/1.3.x/server-ruby/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.3.x/server-ruby/examples/users/create-s-h-a-user.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/users/create-scrypt-modified-user.md b/docs/examples/1.3.x/server-ruby/examples/users/create-scrypt-modified-user.md index cec9dbb277..50f52b9f12 100644 --- a/docs/examples/1.3.x/server-ruby/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.3.x/server-ruby/examples/users/create-scrypt-modified-user.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/users/create-scrypt-user.md b/docs/examples/1.3.x/server-ruby/examples/users/create-scrypt-user.md index 94a7af53d2..e8bf8cf059 100644 --- a/docs/examples/1.3.x/server-ruby/examples/users/create-scrypt-user.md +++ b/docs/examples/1.3.x/server-ruby/examples/users/create-scrypt-user.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/users/create.md b/docs/examples/1.3.x/server-ruby/examples/users/create.md index b04fd5025f..7d0cf8b48a 100644 --- a/docs/examples/1.3.x/server-ruby/examples/users/create.md +++ b/docs/examples/1.3.x/server-ruby/examples/users/create.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/users/delete-session.md b/docs/examples/1.3.x/server-ruby/examples/users/delete-session.md index 3b7918ca1f..118747affc 100644 --- a/docs/examples/1.3.x/server-ruby/examples/users/delete-session.md +++ b/docs/examples/1.3.x/server-ruby/examples/users/delete-session.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/users/delete-sessions.md b/docs/examples/1.3.x/server-ruby/examples/users/delete-sessions.md index 6772e3fe10..7d24d4442d 100644 --- a/docs/examples/1.3.x/server-ruby/examples/users/delete-sessions.md +++ b/docs/examples/1.3.x/server-ruby/examples/users/delete-sessions.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/users/delete.md b/docs/examples/1.3.x/server-ruby/examples/users/delete.md index 62585db404..b50e5a921d 100644 --- a/docs/examples/1.3.x/server-ruby/examples/users/delete.md +++ b/docs/examples/1.3.x/server-ruby/examples/users/delete.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/users/get-prefs.md b/docs/examples/1.3.x/server-ruby/examples/users/get-prefs.md index a4c4764bef..a401ae11b0 100644 --- a/docs/examples/1.3.x/server-ruby/examples/users/get-prefs.md +++ b/docs/examples/1.3.x/server-ruby/examples/users/get-prefs.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/users/get.md b/docs/examples/1.3.x/server-ruby/examples/users/get.md index a731ada955..44f68d0138 100644 --- a/docs/examples/1.3.x/server-ruby/examples/users/get.md +++ b/docs/examples/1.3.x/server-ruby/examples/users/get.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/users/list-logs.md b/docs/examples/1.3.x/server-ruby/examples/users/list-logs.md index fa8586eeff..45a974e497 100644 --- a/docs/examples/1.3.x/server-ruby/examples/users/list-logs.md +++ b/docs/examples/1.3.x/server-ruby/examples/users/list-logs.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/users/list-memberships.md b/docs/examples/1.3.x/server-ruby/examples/users/list-memberships.md index 693e6b9f2c..c84277357b 100644 --- a/docs/examples/1.3.x/server-ruby/examples/users/list-memberships.md +++ b/docs/examples/1.3.x/server-ruby/examples/users/list-memberships.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/users/list-sessions.md b/docs/examples/1.3.x/server-ruby/examples/users/list-sessions.md index 765789a0da..14c281f4e1 100644 --- a/docs/examples/1.3.x/server-ruby/examples/users/list-sessions.md +++ b/docs/examples/1.3.x/server-ruby/examples/users/list-sessions.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/users/list.md b/docs/examples/1.3.x/server-ruby/examples/users/list.md index 8d5daf21f8..eb067643e2 100644 --- a/docs/examples/1.3.x/server-ruby/examples/users/list.md +++ b/docs/examples/1.3.x/server-ruby/examples/users/list.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/users/update-email-verification.md b/docs/examples/1.3.x/server-ruby/examples/users/update-email-verification.md index 72ec0195dc..530c544bea 100644 --- a/docs/examples/1.3.x/server-ruby/examples/users/update-email-verification.md +++ b/docs/examples/1.3.x/server-ruby/examples/users/update-email-verification.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/users/update-email.md b/docs/examples/1.3.x/server-ruby/examples/users/update-email.md index a3a7dbde34..21ece40ff0 100644 --- a/docs/examples/1.3.x/server-ruby/examples/users/update-email.md +++ b/docs/examples/1.3.x/server-ruby/examples/users/update-email.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/users/update-name.md b/docs/examples/1.3.x/server-ruby/examples/users/update-name.md index fbf00bb51b..7b1d0d65d3 100644 --- a/docs/examples/1.3.x/server-ruby/examples/users/update-name.md +++ b/docs/examples/1.3.x/server-ruby/examples/users/update-name.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/users/update-password.md b/docs/examples/1.3.x/server-ruby/examples/users/update-password.md index 7310a2a0cc..190576fbec 100644 --- a/docs/examples/1.3.x/server-ruby/examples/users/update-password.md +++ b/docs/examples/1.3.x/server-ruby/examples/users/update-password.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/users/update-phone-verification.md b/docs/examples/1.3.x/server-ruby/examples/users/update-phone-verification.md index 995a32a4bf..be9e323ec1 100644 --- a/docs/examples/1.3.x/server-ruby/examples/users/update-phone-verification.md +++ b/docs/examples/1.3.x/server-ruby/examples/users/update-phone-verification.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/users/update-phone.md b/docs/examples/1.3.x/server-ruby/examples/users/update-phone.md index f1e74b4a9e..e78a3d5ff3 100644 --- a/docs/examples/1.3.x/server-ruby/examples/users/update-phone.md +++ b/docs/examples/1.3.x/server-ruby/examples/users/update-phone.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/users/update-prefs.md b/docs/examples/1.3.x/server-ruby/examples/users/update-prefs.md index 9845cdf0d5..91eaf25a25 100644 --- a/docs/examples/1.3.x/server-ruby/examples/users/update-prefs.md +++ b/docs/examples/1.3.x/server-ruby/examples/users/update-prefs.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-ruby/examples/users/update-status.md b/docs/examples/1.3.x/server-ruby/examples/users/update-status.md index 8a82948c76..9f7372ede4 100644 --- a/docs/examples/1.3.x/server-ruby/examples/users/update-status.md +++ b/docs/examples/1.3.x/server-ruby/examples/users/update-status.md @@ -3,7 +3,7 @@ require 'Appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/account/create-phone-verification.md b/docs/examples/1.3.x/server-swift/examples/account/create-phone-verification.md index cdeba91700..26ced5985b 100644 --- a/docs/examples/1.3.x/server-swift/examples/account/create-phone-verification.md +++ b/docs/examples/1.3.x/server-swift/examples/account/create-phone-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-swift/examples/account/create-recovery.md b/docs/examples/1.3.x/server-swift/examples/account/create-recovery.md index fdb0e53765..06cc974d66 100644 --- a/docs/examples/1.3.x/server-swift/examples/account/create-recovery.md +++ b/docs/examples/1.3.x/server-swift/examples/account/create-recovery.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-swift/examples/account/create-verification.md b/docs/examples/1.3.x/server-swift/examples/account/create-verification.md index 63a6a7ac94..1abcc4abb2 100644 --- a/docs/examples/1.3.x/server-swift/examples/account/create-verification.md +++ b/docs/examples/1.3.x/server-swift/examples/account/create-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-swift/examples/account/delete-session.md b/docs/examples/1.3.x/server-swift/examples/account/delete-session.md index de9f736f9c..e5c88080e9 100644 --- a/docs/examples/1.3.x/server-swift/examples/account/delete-session.md +++ b/docs/examples/1.3.x/server-swift/examples/account/delete-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-swift/examples/account/delete-sessions.md b/docs/examples/1.3.x/server-swift/examples/account/delete-sessions.md index 0f58c600d2..971f34d524 100644 --- a/docs/examples/1.3.x/server-swift/examples/account/delete-sessions.md +++ b/docs/examples/1.3.x/server-swift/examples/account/delete-sessions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-swift/examples/account/get-prefs.md b/docs/examples/1.3.x/server-swift/examples/account/get-prefs.md index ce72d7c340..be9acecd9a 100644 --- a/docs/examples/1.3.x/server-swift/examples/account/get-prefs.md +++ b/docs/examples/1.3.x/server-swift/examples/account/get-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-swift/examples/account/get-session.md b/docs/examples/1.3.x/server-swift/examples/account/get-session.md index e1b48b5aa5..3c5092f3be 100644 --- a/docs/examples/1.3.x/server-swift/examples/account/get-session.md +++ b/docs/examples/1.3.x/server-swift/examples/account/get-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-swift/examples/account/get.md b/docs/examples/1.3.x/server-swift/examples/account/get.md index 060b6a4a27..4d40b4b474 100644 --- a/docs/examples/1.3.x/server-swift/examples/account/get.md +++ b/docs/examples/1.3.x/server-swift/examples/account/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-swift/examples/account/list-logs.md b/docs/examples/1.3.x/server-swift/examples/account/list-logs.md index ee2e8bb7e6..762062d106 100644 --- a/docs/examples/1.3.x/server-swift/examples/account/list-logs.md +++ b/docs/examples/1.3.x/server-swift/examples/account/list-logs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-swift/examples/account/list-sessions.md b/docs/examples/1.3.x/server-swift/examples/account/list-sessions.md index 2baf5836a2..c3b2b0aed0 100644 --- a/docs/examples/1.3.x/server-swift/examples/account/list-sessions.md +++ b/docs/examples/1.3.x/server-swift/examples/account/list-sessions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-swift/examples/account/update-email.md b/docs/examples/1.3.x/server-swift/examples/account/update-email.md index 4041da0222..74244ea9d7 100644 --- a/docs/examples/1.3.x/server-swift/examples/account/update-email.md +++ b/docs/examples/1.3.x/server-swift/examples/account/update-email.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-swift/examples/account/update-name.md b/docs/examples/1.3.x/server-swift/examples/account/update-name.md index 440b1b6c24..cd4be44741 100644 --- a/docs/examples/1.3.x/server-swift/examples/account/update-name.md +++ b/docs/examples/1.3.x/server-swift/examples/account/update-name.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-swift/examples/account/update-password.md b/docs/examples/1.3.x/server-swift/examples/account/update-password.md index 91d55db20f..82c03d73db 100644 --- a/docs/examples/1.3.x/server-swift/examples/account/update-password.md +++ b/docs/examples/1.3.x/server-swift/examples/account/update-password.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-swift/examples/account/update-phone-verification.md b/docs/examples/1.3.x/server-swift/examples/account/update-phone-verification.md index 29052c573a..22cc1e8658 100644 --- a/docs/examples/1.3.x/server-swift/examples/account/update-phone-verification.md +++ b/docs/examples/1.3.x/server-swift/examples/account/update-phone-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-swift/examples/account/update-phone.md b/docs/examples/1.3.x/server-swift/examples/account/update-phone.md index 645b6fc840..9f215a9fe1 100644 --- a/docs/examples/1.3.x/server-swift/examples/account/update-phone.md +++ b/docs/examples/1.3.x/server-swift/examples/account/update-phone.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-swift/examples/account/update-prefs.md b/docs/examples/1.3.x/server-swift/examples/account/update-prefs.md index 520f9d5fd4..05a1b445ae 100644 --- a/docs/examples/1.3.x/server-swift/examples/account/update-prefs.md +++ b/docs/examples/1.3.x/server-swift/examples/account/update-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-swift/examples/account/update-recovery.md b/docs/examples/1.3.x/server-swift/examples/account/update-recovery.md index 92825cae55..ba8d1fa1a0 100644 --- a/docs/examples/1.3.x/server-swift/examples/account/update-recovery.md +++ b/docs/examples/1.3.x/server-swift/examples/account/update-recovery.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-swift/examples/account/update-session.md b/docs/examples/1.3.x/server-swift/examples/account/update-session.md index 84229182aa..d0002b6e49 100644 --- a/docs/examples/1.3.x/server-swift/examples/account/update-session.md +++ b/docs/examples/1.3.x/server-swift/examples/account/update-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-swift/examples/account/update-status.md b/docs/examples/1.3.x/server-swift/examples/account/update-status.md index 96b94d63a1..0f3e22b401 100644 --- a/docs/examples/1.3.x/server-swift/examples/account/update-status.md +++ b/docs/examples/1.3.x/server-swift/examples/account/update-status.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-swift/examples/account/update-verification.md b/docs/examples/1.3.x/server-swift/examples/account/update-verification.md index b8e925783e..c50bf1b88d 100644 --- a/docs/examples/1.3.x/server-swift/examples/account/update-verification.md +++ b/docs/examples/1.3.x/server-swift/examples/account/update-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-swift/examples/avatars/get-browser.md b/docs/examples/1.3.x/server-swift/examples/avatars/get-browser.md index df3a99c67a..b566d6ca05 100644 --- a/docs/examples/1.3.x/server-swift/examples/avatars/get-browser.md +++ b/docs/examples/1.3.x/server-swift/examples/avatars/get-browser.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/avatars/get-credit-card.md b/docs/examples/1.3.x/server-swift/examples/avatars/get-credit-card.md index ce4382d77b..5b47aab1ab 100644 --- a/docs/examples/1.3.x/server-swift/examples/avatars/get-credit-card.md +++ b/docs/examples/1.3.x/server-swift/examples/avatars/get-credit-card.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/avatars/get-favicon.md b/docs/examples/1.3.x/server-swift/examples/avatars/get-favicon.md index 36c77218b7..77803cd5a0 100644 --- a/docs/examples/1.3.x/server-swift/examples/avatars/get-favicon.md +++ b/docs/examples/1.3.x/server-swift/examples/avatars/get-favicon.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/avatars/get-flag.md b/docs/examples/1.3.x/server-swift/examples/avatars/get-flag.md index 849ec48cea..16e566d9e1 100644 --- a/docs/examples/1.3.x/server-swift/examples/avatars/get-flag.md +++ b/docs/examples/1.3.x/server-swift/examples/avatars/get-flag.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/avatars/get-image.md b/docs/examples/1.3.x/server-swift/examples/avatars/get-image.md index d457976f54..2fd24c5c7d 100644 --- a/docs/examples/1.3.x/server-swift/examples/avatars/get-image.md +++ b/docs/examples/1.3.x/server-swift/examples/avatars/get-image.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/avatars/get-initials.md b/docs/examples/1.3.x/server-swift/examples/avatars/get-initials.md index 74d8d956db..9062ca5ca7 100644 --- a/docs/examples/1.3.x/server-swift/examples/avatars/get-initials.md +++ b/docs/examples/1.3.x/server-swift/examples/avatars/get-initials.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/avatars/get-q-r.md b/docs/examples/1.3.x/server-swift/examples/avatars/get-q-r.md index 537bfb5b43..c8d7fba5be 100644 --- a/docs/examples/1.3.x/server-swift/examples/avatars/get-q-r.md +++ b/docs/examples/1.3.x/server-swift/examples/avatars/get-q-r.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/create-boolean-attribute.md b/docs/examples/1.3.x/server-swift/examples/databases/create-boolean-attribute.md index 11eae088e7..1be49bb0d4 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/create-boolean-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/create-collection.md b/docs/examples/1.3.x/server-swift/examples/databases/create-collection.md index ff9172bb29..b4bb744eee 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/create-collection.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/create-collection.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/create-datetime-attribute.md b/docs/examples/1.3.x/server-swift/examples/databases/create-datetime-attribute.md index 26020fb88f..119c5ec830 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/create-datetime-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/create-document.md b/docs/examples/1.3.x/server-swift/examples/databases/create-document.md index b76eab7c70..5985560b67 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/create-document.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/create-document.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/create-email-attribute.md b/docs/examples/1.3.x/server-swift/examples/databases/create-email-attribute.md index cddebec6b2..690a49b68a 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/create-email-attribute.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/create-email-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/create-enum-attribute.md b/docs/examples/1.3.x/server-swift/examples/databases/create-enum-attribute.md index dc56bff395..b08ccbeb83 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/create-enum-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/create-float-attribute.md b/docs/examples/1.3.x/server-swift/examples/databases/create-float-attribute.md index ec01499e98..851afc2ac1 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/create-float-attribute.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/create-float-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/create-index.md b/docs/examples/1.3.x/server-swift/examples/databases/create-index.md index 03cc91b0b4..2271a9898e 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/create-index.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/create-index.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/create-integer-attribute.md b/docs/examples/1.3.x/server-swift/examples/databases/create-integer-attribute.md index eeea1cb01b..72cd31c5a8 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/create-integer-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/create-ip-attribute.md b/docs/examples/1.3.x/server-swift/examples/databases/create-ip-attribute.md index 948aa2ad37..c03c555f52 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/create-ip-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/create-relationship-attribute.md b/docs/examples/1.3.x/server-swift/examples/databases/create-relationship-attribute.md index adb7cbb1fc..5cbf08e2a4 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/create-relationship-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/create-string-attribute.md b/docs/examples/1.3.x/server-swift/examples/databases/create-string-attribute.md index 0d3e65442b..daa04767a3 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/create-string-attribute.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/create-string-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/create-url-attribute.md b/docs/examples/1.3.x/server-swift/examples/databases/create-url-attribute.md index 747a6c7367..94eefa1b61 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/create-url-attribute.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/create-url-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/create.md b/docs/examples/1.3.x/server-swift/examples/databases/create.md index 5e4abf88a0..6578c5783b 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/create.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/create.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/delete-attribute.md b/docs/examples/1.3.x/server-swift/examples/databases/delete-attribute.md index 0fc9470570..a9c778b34c 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/delete-attribute.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/delete-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/delete-collection.md b/docs/examples/1.3.x/server-swift/examples/databases/delete-collection.md index b00916534e..f410170aa8 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/delete-collection.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/delete-collection.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/delete-document.md b/docs/examples/1.3.x/server-swift/examples/databases/delete-document.md index 185c33d410..24dd564236 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/delete-document.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/delete-document.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/delete-index.md b/docs/examples/1.3.x/server-swift/examples/databases/delete-index.md index 0ad4ac3442..fa5acc635a 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/delete-index.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/delete-index.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/delete.md b/docs/examples/1.3.x/server-swift/examples/databases/delete.md index 48b687e237..01be19d136 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/delete.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/delete.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/get-attribute.md b/docs/examples/1.3.x/server-swift/examples/databases/get-attribute.md index e0ea280f56..4d4697052b 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/get-attribute.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/get-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/get-collection.md b/docs/examples/1.3.x/server-swift/examples/databases/get-collection.md index 39c36b3d61..a55294591a 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/get-collection.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/get-collection.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/get-document.md b/docs/examples/1.3.x/server-swift/examples/databases/get-document.md index 2a12e1140a..2d2768ca2c 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/get-document.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/get-document.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/get-index.md b/docs/examples/1.3.x/server-swift/examples/databases/get-index.md index e69263346a..69b694d072 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/get-index.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/get-index.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/get.md b/docs/examples/1.3.x/server-swift/examples/databases/get.md index 805fa3ee23..9fa4abca50 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/get.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/list-attributes.md b/docs/examples/1.3.x/server-swift/examples/databases/list-attributes.md index 475da0a712..71fdcbc997 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/list-attributes.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/list-attributes.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/list-collections.md b/docs/examples/1.3.x/server-swift/examples/databases/list-collections.md index 8e451ca8a0..bf150e8596 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/list-collections.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/list-collections.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/list-documents.md b/docs/examples/1.3.x/server-swift/examples/databases/list-documents.md index 24bb859761..0ca2d5ff48 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/list-documents.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/list-documents.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/list-indexes.md b/docs/examples/1.3.x/server-swift/examples/databases/list-indexes.md index 145c02ddcc..be16b25a31 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/list-indexes.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/list-indexes.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/list.md b/docs/examples/1.3.x/server-swift/examples/databases/list.md index fe7a54df44..45796c04c0 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/list.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/list.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/update-boolean-attribute.md b/docs/examples/1.3.x/server-swift/examples/databases/update-boolean-attribute.md index 73b68190ba..90dd5f748e 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/update-boolean-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/update-collection.md b/docs/examples/1.3.x/server-swift/examples/databases/update-collection.md index 807c5659f9..d2969b4a4d 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/update-collection.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/update-collection.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/update-datetime-attribute.md b/docs/examples/1.3.x/server-swift/examples/databases/update-datetime-attribute.md index 4ec71bbcf0..5f4444a08b 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/update-datetime-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/update-document.md b/docs/examples/1.3.x/server-swift/examples/databases/update-document.md index 56eed00082..872711afcf 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/update-document.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/update-document.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/update-email-attribute.md b/docs/examples/1.3.x/server-swift/examples/databases/update-email-attribute.md index 11608e1fca..3f72ca75a6 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/update-email-attribute.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/update-email-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/update-enum-attribute.md b/docs/examples/1.3.x/server-swift/examples/databases/update-enum-attribute.md index fce99d4d03..4a0560224c 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/update-enum-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/update-float-attribute.md b/docs/examples/1.3.x/server-swift/examples/databases/update-float-attribute.md index 6cc8457d00..72393b3955 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/update-float-attribute.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/update-float-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/update-integer-attribute.md b/docs/examples/1.3.x/server-swift/examples/databases/update-integer-attribute.md index cde600aad9..56fcead967 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/update-integer-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/update-ip-attribute.md b/docs/examples/1.3.x/server-swift/examples/databases/update-ip-attribute.md index 7d70495c27..3f2e2e1b8a 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/update-ip-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/update-relationship-attribute.md b/docs/examples/1.3.x/server-swift/examples/databases/update-relationship-attribute.md index e89c3658c2..f39630217b 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/update-relationship-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/update-string-attribute.md b/docs/examples/1.3.x/server-swift/examples/databases/update-string-attribute.md index 40ab7baa48..6c8263674c 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/update-string-attribute.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/update-string-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/update-url-attribute.md b/docs/examples/1.3.x/server-swift/examples/databases/update-url-attribute.md index ef9198e3bb..3adb9f8393 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/update-url-attribute.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/update-url-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/databases/update.md b/docs/examples/1.3.x/server-swift/examples/databases/update.md index 8e14f08009..b9185e6aae 100644 --- a/docs/examples/1.3.x/server-swift/examples/databases/update.md +++ b/docs/examples/1.3.x/server-swift/examples/databases/update.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/functions/create-build.md b/docs/examples/1.3.x/server-swift/examples/functions/create-build.md index 8419bf6950..2c469e5ea6 100644 --- a/docs/examples/1.3.x/server-swift/examples/functions/create-build.md +++ b/docs/examples/1.3.x/server-swift/examples/functions/create-build.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/functions/create-deployment.md b/docs/examples/1.3.x/server-swift/examples/functions/create-deployment.md index d24359e73b..6b4527852a 100644 --- a/docs/examples/1.3.x/server-swift/examples/functions/create-deployment.md +++ b/docs/examples/1.3.x/server-swift/examples/functions/create-deployment.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/functions/create-execution.md b/docs/examples/1.3.x/server-swift/examples/functions/create-execution.md index 0354bf5488..1454b4e11a 100644 --- a/docs/examples/1.3.x/server-swift/examples/functions/create-execution.md +++ b/docs/examples/1.3.x/server-swift/examples/functions/create-execution.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/functions/create-variable.md b/docs/examples/1.3.x/server-swift/examples/functions/create-variable.md index f261311192..914f189284 100644 --- a/docs/examples/1.3.x/server-swift/examples/functions/create-variable.md +++ b/docs/examples/1.3.x/server-swift/examples/functions/create-variable.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/functions/create.md b/docs/examples/1.3.x/server-swift/examples/functions/create.md index 5370c789fa..c2e98b17e1 100644 --- a/docs/examples/1.3.x/server-swift/examples/functions/create.md +++ b/docs/examples/1.3.x/server-swift/examples/functions/create.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/functions/delete-deployment.md b/docs/examples/1.3.x/server-swift/examples/functions/delete-deployment.md index 228f9f62e2..378e1f35aa 100644 --- a/docs/examples/1.3.x/server-swift/examples/functions/delete-deployment.md +++ b/docs/examples/1.3.x/server-swift/examples/functions/delete-deployment.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/functions/delete-variable.md b/docs/examples/1.3.x/server-swift/examples/functions/delete-variable.md index 410cffe13c..55e3d4a91f 100644 --- a/docs/examples/1.3.x/server-swift/examples/functions/delete-variable.md +++ b/docs/examples/1.3.x/server-swift/examples/functions/delete-variable.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/functions/delete.md b/docs/examples/1.3.x/server-swift/examples/functions/delete.md index bee774e61b..67b2f0332c 100644 --- a/docs/examples/1.3.x/server-swift/examples/functions/delete.md +++ b/docs/examples/1.3.x/server-swift/examples/functions/delete.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/functions/get-deployment.md b/docs/examples/1.3.x/server-swift/examples/functions/get-deployment.md index 0a463c4121..aba9a5084a 100644 --- a/docs/examples/1.3.x/server-swift/examples/functions/get-deployment.md +++ b/docs/examples/1.3.x/server-swift/examples/functions/get-deployment.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/functions/get-execution.md b/docs/examples/1.3.x/server-swift/examples/functions/get-execution.md index 7af8bd5906..c8ec6c1aca 100644 --- a/docs/examples/1.3.x/server-swift/examples/functions/get-execution.md +++ b/docs/examples/1.3.x/server-swift/examples/functions/get-execution.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/functions/get-variable.md b/docs/examples/1.3.x/server-swift/examples/functions/get-variable.md index f2fa61b903..f8acd3dda4 100644 --- a/docs/examples/1.3.x/server-swift/examples/functions/get-variable.md +++ b/docs/examples/1.3.x/server-swift/examples/functions/get-variable.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/functions/get.md b/docs/examples/1.3.x/server-swift/examples/functions/get.md index c5ba24ae26..aead1667f2 100644 --- a/docs/examples/1.3.x/server-swift/examples/functions/get.md +++ b/docs/examples/1.3.x/server-swift/examples/functions/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/functions/list-deployments.md b/docs/examples/1.3.x/server-swift/examples/functions/list-deployments.md index 652620bf40..c2c32eaa34 100644 --- a/docs/examples/1.3.x/server-swift/examples/functions/list-deployments.md +++ b/docs/examples/1.3.x/server-swift/examples/functions/list-deployments.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/functions/list-executions.md b/docs/examples/1.3.x/server-swift/examples/functions/list-executions.md index fa32172cbd..26536b7e03 100644 --- a/docs/examples/1.3.x/server-swift/examples/functions/list-executions.md +++ b/docs/examples/1.3.x/server-swift/examples/functions/list-executions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/functions/list-runtimes.md b/docs/examples/1.3.x/server-swift/examples/functions/list-runtimes.md index 6a543754eb..c7de59bed3 100644 --- a/docs/examples/1.3.x/server-swift/examples/functions/list-runtimes.md +++ b/docs/examples/1.3.x/server-swift/examples/functions/list-runtimes.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/functions/list-variables.md b/docs/examples/1.3.x/server-swift/examples/functions/list-variables.md index d13c752254..abf0f514be 100644 --- a/docs/examples/1.3.x/server-swift/examples/functions/list-variables.md +++ b/docs/examples/1.3.x/server-swift/examples/functions/list-variables.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/functions/list.md b/docs/examples/1.3.x/server-swift/examples/functions/list.md index 81363f17ff..d04ab677f3 100644 --- a/docs/examples/1.3.x/server-swift/examples/functions/list.md +++ b/docs/examples/1.3.x/server-swift/examples/functions/list.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/functions/update-deployment.md b/docs/examples/1.3.x/server-swift/examples/functions/update-deployment.md index b0f4fc23c4..1e81e41286 100644 --- a/docs/examples/1.3.x/server-swift/examples/functions/update-deployment.md +++ b/docs/examples/1.3.x/server-swift/examples/functions/update-deployment.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/functions/update-variable.md b/docs/examples/1.3.x/server-swift/examples/functions/update-variable.md index 0eb5b2e976..2ce5b597ea 100644 --- a/docs/examples/1.3.x/server-swift/examples/functions/update-variable.md +++ b/docs/examples/1.3.x/server-swift/examples/functions/update-variable.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/functions/update.md b/docs/examples/1.3.x/server-swift/examples/functions/update.md index 3612a7c46d..ebbc92877b 100644 --- a/docs/examples/1.3.x/server-swift/examples/functions/update.md +++ b/docs/examples/1.3.x/server-swift/examples/functions/update.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/graphql/mutation.md b/docs/examples/1.3.x/server-swift/examples/graphql/mutation.md index db869d48c9..f2a0460e28 100644 --- a/docs/examples/1.3.x/server-swift/examples/graphql/mutation.md +++ b/docs/examples/1.3.x/server-swift/examples/graphql/mutation.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/graphql/query.md b/docs/examples/1.3.x/server-swift/examples/graphql/query.md index 5e97508be5..58fe1041c4 100644 --- a/docs/examples/1.3.x/server-swift/examples/graphql/query.md +++ b/docs/examples/1.3.x/server-swift/examples/graphql/query.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/health/get-antivirus.md b/docs/examples/1.3.x/server-swift/examples/health/get-antivirus.md index cab0d98339..2c45f7a619 100644 --- a/docs/examples/1.3.x/server-swift/examples/health/get-antivirus.md +++ b/docs/examples/1.3.x/server-swift/examples/health/get-antivirus.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/health/get-cache.md b/docs/examples/1.3.x/server-swift/examples/health/get-cache.md index a682d63a6f..8d54eede9c 100644 --- a/docs/examples/1.3.x/server-swift/examples/health/get-cache.md +++ b/docs/examples/1.3.x/server-swift/examples/health/get-cache.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/health/get-d-b.md b/docs/examples/1.3.x/server-swift/examples/health/get-d-b.md index 81645497b5..e115eee2ad 100644 --- a/docs/examples/1.3.x/server-swift/examples/health/get-d-b.md +++ b/docs/examples/1.3.x/server-swift/examples/health/get-d-b.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/health/get-queue-certificates.md b/docs/examples/1.3.x/server-swift/examples/health/get-queue-certificates.md index 71f4dcfc43..f9490918e4 100644 --- a/docs/examples/1.3.x/server-swift/examples/health/get-queue-certificates.md +++ b/docs/examples/1.3.x/server-swift/examples/health/get-queue-certificates.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/health/get-queue-functions.md b/docs/examples/1.3.x/server-swift/examples/health/get-queue-functions.md index d6bdf76756..2f412b9da1 100644 --- a/docs/examples/1.3.x/server-swift/examples/health/get-queue-functions.md +++ b/docs/examples/1.3.x/server-swift/examples/health/get-queue-functions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/health/get-queue-logs.md b/docs/examples/1.3.x/server-swift/examples/health/get-queue-logs.md index 7580e46da1..6fc521baef 100644 --- a/docs/examples/1.3.x/server-swift/examples/health/get-queue-logs.md +++ b/docs/examples/1.3.x/server-swift/examples/health/get-queue-logs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/health/get-queue-webhooks.md b/docs/examples/1.3.x/server-swift/examples/health/get-queue-webhooks.md index 431a5a031c..42f1de37fe 100644 --- a/docs/examples/1.3.x/server-swift/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.3.x/server-swift/examples/health/get-queue-webhooks.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/health/get-storage-local.md b/docs/examples/1.3.x/server-swift/examples/health/get-storage-local.md index ee807980bb..276b1635ae 100644 --- a/docs/examples/1.3.x/server-swift/examples/health/get-storage-local.md +++ b/docs/examples/1.3.x/server-swift/examples/health/get-storage-local.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/health/get-time.md b/docs/examples/1.3.x/server-swift/examples/health/get-time.md index f6d66d950a..7b4bbb3dee 100644 --- a/docs/examples/1.3.x/server-swift/examples/health/get-time.md +++ b/docs/examples/1.3.x/server-swift/examples/health/get-time.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/health/get.md b/docs/examples/1.3.x/server-swift/examples/health/get.md index 828f3453e0..179b9694a2 100644 --- a/docs/examples/1.3.x/server-swift/examples/health/get.md +++ b/docs/examples/1.3.x/server-swift/examples/health/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/locale/get.md b/docs/examples/1.3.x/server-swift/examples/locale/get.md index 5c5aee4cb4..99df3ebbd1 100644 --- a/docs/examples/1.3.x/server-swift/examples/locale/get.md +++ b/docs/examples/1.3.x/server-swift/examples/locale/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/locale/list-continents.md b/docs/examples/1.3.x/server-swift/examples/locale/list-continents.md index 8cd7964b63..d3b8a66262 100644 --- a/docs/examples/1.3.x/server-swift/examples/locale/list-continents.md +++ b/docs/examples/1.3.x/server-swift/examples/locale/list-continents.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/locale/list-countries-e-u.md b/docs/examples/1.3.x/server-swift/examples/locale/list-countries-e-u.md index a787e7b722..a02f72cd7a 100644 --- a/docs/examples/1.3.x/server-swift/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.3.x/server-swift/examples/locale/list-countries-e-u.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/locale/list-countries-phones.md b/docs/examples/1.3.x/server-swift/examples/locale/list-countries-phones.md index cf16d2d0b2..2d4d7ef006 100644 --- a/docs/examples/1.3.x/server-swift/examples/locale/list-countries-phones.md +++ b/docs/examples/1.3.x/server-swift/examples/locale/list-countries-phones.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/locale/list-countries.md b/docs/examples/1.3.x/server-swift/examples/locale/list-countries.md index 32d5901e37..ba769689a3 100644 --- a/docs/examples/1.3.x/server-swift/examples/locale/list-countries.md +++ b/docs/examples/1.3.x/server-swift/examples/locale/list-countries.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/locale/list-currencies.md b/docs/examples/1.3.x/server-swift/examples/locale/list-currencies.md index 6b1daa7422..2211e1855f 100644 --- a/docs/examples/1.3.x/server-swift/examples/locale/list-currencies.md +++ b/docs/examples/1.3.x/server-swift/examples/locale/list-currencies.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/locale/list-languages.md b/docs/examples/1.3.x/server-swift/examples/locale/list-languages.md index 72c5649aae..c865670953 100644 --- a/docs/examples/1.3.x/server-swift/examples/locale/list-languages.md +++ b/docs/examples/1.3.x/server-swift/examples/locale/list-languages.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/storage/create-bucket.md b/docs/examples/1.3.x/server-swift/examples/storage/create-bucket.md index d3f91ab7af..80ffc45dec 100644 --- a/docs/examples/1.3.x/server-swift/examples/storage/create-bucket.md +++ b/docs/examples/1.3.x/server-swift/examples/storage/create-bucket.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/storage/create-file.md b/docs/examples/1.3.x/server-swift/examples/storage/create-file.md index 45dd245d31..664a54c53f 100644 --- a/docs/examples/1.3.x/server-swift/examples/storage/create-file.md +++ b/docs/examples/1.3.x/server-swift/examples/storage/create-file.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/storage/delete-bucket.md b/docs/examples/1.3.x/server-swift/examples/storage/delete-bucket.md index 4d41f1c373..6c40736576 100644 --- a/docs/examples/1.3.x/server-swift/examples/storage/delete-bucket.md +++ b/docs/examples/1.3.x/server-swift/examples/storage/delete-bucket.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/storage/delete-file.md b/docs/examples/1.3.x/server-swift/examples/storage/delete-file.md index b2168f8ca1..5d547d82a5 100644 --- a/docs/examples/1.3.x/server-swift/examples/storage/delete-file.md +++ b/docs/examples/1.3.x/server-swift/examples/storage/delete-file.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/storage/get-bucket.md b/docs/examples/1.3.x/server-swift/examples/storage/get-bucket.md index 8a27759e0e..352aab3412 100644 --- a/docs/examples/1.3.x/server-swift/examples/storage/get-bucket.md +++ b/docs/examples/1.3.x/server-swift/examples/storage/get-bucket.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/storage/get-file-download.md b/docs/examples/1.3.x/server-swift/examples/storage/get-file-download.md index 5205e17d43..1784f72852 100644 --- a/docs/examples/1.3.x/server-swift/examples/storage/get-file-download.md +++ b/docs/examples/1.3.x/server-swift/examples/storage/get-file-download.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/storage/get-file-preview.md b/docs/examples/1.3.x/server-swift/examples/storage/get-file-preview.md index f6fbec6654..92fce42694 100644 --- a/docs/examples/1.3.x/server-swift/examples/storage/get-file-preview.md +++ b/docs/examples/1.3.x/server-swift/examples/storage/get-file-preview.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/storage/get-file-view.md b/docs/examples/1.3.x/server-swift/examples/storage/get-file-view.md index 5926bdd959..10d9c181d1 100644 --- a/docs/examples/1.3.x/server-swift/examples/storage/get-file-view.md +++ b/docs/examples/1.3.x/server-swift/examples/storage/get-file-view.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/storage/get-file.md b/docs/examples/1.3.x/server-swift/examples/storage/get-file.md index e516242775..697dc83a16 100644 --- a/docs/examples/1.3.x/server-swift/examples/storage/get-file.md +++ b/docs/examples/1.3.x/server-swift/examples/storage/get-file.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/storage/list-buckets.md b/docs/examples/1.3.x/server-swift/examples/storage/list-buckets.md index a3e92b282e..c991833cdb 100644 --- a/docs/examples/1.3.x/server-swift/examples/storage/list-buckets.md +++ b/docs/examples/1.3.x/server-swift/examples/storage/list-buckets.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/storage/list-files.md b/docs/examples/1.3.x/server-swift/examples/storage/list-files.md index 153a10d27f..1f0018a150 100644 --- a/docs/examples/1.3.x/server-swift/examples/storage/list-files.md +++ b/docs/examples/1.3.x/server-swift/examples/storage/list-files.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/storage/update-bucket.md b/docs/examples/1.3.x/server-swift/examples/storage/update-bucket.md index d2fd96c33d..f495e5efaa 100644 --- a/docs/examples/1.3.x/server-swift/examples/storage/update-bucket.md +++ b/docs/examples/1.3.x/server-swift/examples/storage/update-bucket.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/storage/update-file.md b/docs/examples/1.3.x/server-swift/examples/storage/update-file.md index f37202aa30..3a29db869d 100644 --- a/docs/examples/1.3.x/server-swift/examples/storage/update-file.md +++ b/docs/examples/1.3.x/server-swift/examples/storage/update-file.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/teams/create-membership.md b/docs/examples/1.3.x/server-swift/examples/teams/create-membership.md index a43f2a4fbf..480ea28ac7 100644 --- a/docs/examples/1.3.x/server-swift/examples/teams/create-membership.md +++ b/docs/examples/1.3.x/server-swift/examples/teams/create-membership.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/teams/create.md b/docs/examples/1.3.x/server-swift/examples/teams/create.md index e4f8c09e57..2e2b7faba0 100644 --- a/docs/examples/1.3.x/server-swift/examples/teams/create.md +++ b/docs/examples/1.3.x/server-swift/examples/teams/create.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/teams/delete-membership.md b/docs/examples/1.3.x/server-swift/examples/teams/delete-membership.md index 25326deba0..2f08c2cf0b 100644 --- a/docs/examples/1.3.x/server-swift/examples/teams/delete-membership.md +++ b/docs/examples/1.3.x/server-swift/examples/teams/delete-membership.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/teams/delete.md b/docs/examples/1.3.x/server-swift/examples/teams/delete.md index c0e3d5e898..104b19cecc 100644 --- a/docs/examples/1.3.x/server-swift/examples/teams/delete.md +++ b/docs/examples/1.3.x/server-swift/examples/teams/delete.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/teams/get-membership.md b/docs/examples/1.3.x/server-swift/examples/teams/get-membership.md index c399832ec2..c7adc3d0b6 100644 --- a/docs/examples/1.3.x/server-swift/examples/teams/get-membership.md +++ b/docs/examples/1.3.x/server-swift/examples/teams/get-membership.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/teams/get-prefs.md b/docs/examples/1.3.x/server-swift/examples/teams/get-prefs.md index 4a79855f65..8cb4da4962 100644 --- a/docs/examples/1.3.x/server-swift/examples/teams/get-prefs.md +++ b/docs/examples/1.3.x/server-swift/examples/teams/get-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-swift/examples/teams/get.md b/docs/examples/1.3.x/server-swift/examples/teams/get.md index 07980d4f48..a100c3d20b 100644 --- a/docs/examples/1.3.x/server-swift/examples/teams/get.md +++ b/docs/examples/1.3.x/server-swift/examples/teams/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/teams/list-memberships.md b/docs/examples/1.3.x/server-swift/examples/teams/list-memberships.md index 57d6ef7d37..31fd613114 100644 --- a/docs/examples/1.3.x/server-swift/examples/teams/list-memberships.md +++ b/docs/examples/1.3.x/server-swift/examples/teams/list-memberships.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/teams/list.md b/docs/examples/1.3.x/server-swift/examples/teams/list.md index cdb174c357..b5aa000dc0 100644 --- a/docs/examples/1.3.x/server-swift/examples/teams/list.md +++ b/docs/examples/1.3.x/server-swift/examples/teams/list.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/teams/update-membership-roles.md b/docs/examples/1.3.x/server-swift/examples/teams/update-membership-roles.md index b29bc6e7cb..d0ee44be8e 100644 --- a/docs/examples/1.3.x/server-swift/examples/teams/update-membership-roles.md +++ b/docs/examples/1.3.x/server-swift/examples/teams/update-membership-roles.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/teams/update-membership-status.md b/docs/examples/1.3.x/server-swift/examples/teams/update-membership-status.md index e209ece5ea..0ef80c00cc 100644 --- a/docs/examples/1.3.x/server-swift/examples/teams/update-membership-status.md +++ b/docs/examples/1.3.x/server-swift/examples/teams/update-membership-status.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-swift/examples/teams/update-name.md b/docs/examples/1.3.x/server-swift/examples/teams/update-name.md index 378d6d1ade..66196008c7 100644 --- a/docs/examples/1.3.x/server-swift/examples/teams/update-name.md +++ b/docs/examples/1.3.x/server-swift/examples/teams/update-name.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/teams/update-prefs.md b/docs/examples/1.3.x/server-swift/examples/teams/update-prefs.md index 142896ad8a..1d1ffd1d94 100644 --- a/docs/examples/1.3.x/server-swift/examples/teams/update-prefs.md +++ b/docs/examples/1.3.x/server-swift/examples/teams/update-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.3.x/server-swift/examples/users/create-argon2user.md b/docs/examples/1.3.x/server-swift/examples/users/create-argon2user.md index 5914c87d96..bdef66e02c 100644 --- a/docs/examples/1.3.x/server-swift/examples/users/create-argon2user.md +++ b/docs/examples/1.3.x/server-swift/examples/users/create-argon2user.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/users/create-bcrypt-user.md b/docs/examples/1.3.x/server-swift/examples/users/create-bcrypt-user.md index 4321365b5c..2e2f17737b 100644 --- a/docs/examples/1.3.x/server-swift/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.3.x/server-swift/examples/users/create-bcrypt-user.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/users/create-m-d5user.md b/docs/examples/1.3.x/server-swift/examples/users/create-m-d5user.md index 2302780c6b..30033f8b9d 100644 --- a/docs/examples/1.3.x/server-swift/examples/users/create-m-d5user.md +++ b/docs/examples/1.3.x/server-swift/examples/users/create-m-d5user.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/users/create-p-h-pass-user.md b/docs/examples/1.3.x/server-swift/examples/users/create-p-h-pass-user.md index b856891a7d..65cd8658f4 100644 --- a/docs/examples/1.3.x/server-swift/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.3.x/server-swift/examples/users/create-p-h-pass-user.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/users/create-s-h-a-user.md b/docs/examples/1.3.x/server-swift/examples/users/create-s-h-a-user.md index c96661377a..c6c8f41b07 100644 --- a/docs/examples/1.3.x/server-swift/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.3.x/server-swift/examples/users/create-s-h-a-user.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/users/create-scrypt-modified-user.md b/docs/examples/1.3.x/server-swift/examples/users/create-scrypt-modified-user.md index 3a9f70386e..bfc1ba25e9 100644 --- a/docs/examples/1.3.x/server-swift/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.3.x/server-swift/examples/users/create-scrypt-modified-user.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/users/create-scrypt-user.md b/docs/examples/1.3.x/server-swift/examples/users/create-scrypt-user.md index dbe923de93..5716295eae 100644 --- a/docs/examples/1.3.x/server-swift/examples/users/create-scrypt-user.md +++ b/docs/examples/1.3.x/server-swift/examples/users/create-scrypt-user.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/users/create.md b/docs/examples/1.3.x/server-swift/examples/users/create.md index db49c1f77f..1727ee5acd 100644 --- a/docs/examples/1.3.x/server-swift/examples/users/create.md +++ b/docs/examples/1.3.x/server-swift/examples/users/create.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/users/delete-session.md b/docs/examples/1.3.x/server-swift/examples/users/delete-session.md index 161e11d274..694dcdb792 100644 --- a/docs/examples/1.3.x/server-swift/examples/users/delete-session.md +++ b/docs/examples/1.3.x/server-swift/examples/users/delete-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/users/delete-sessions.md b/docs/examples/1.3.x/server-swift/examples/users/delete-sessions.md index 71bc2bf893..a3d02a8203 100644 --- a/docs/examples/1.3.x/server-swift/examples/users/delete-sessions.md +++ b/docs/examples/1.3.x/server-swift/examples/users/delete-sessions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/users/delete.md b/docs/examples/1.3.x/server-swift/examples/users/delete.md index c8762da65a..883e305527 100644 --- a/docs/examples/1.3.x/server-swift/examples/users/delete.md +++ b/docs/examples/1.3.x/server-swift/examples/users/delete.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/users/get-prefs.md b/docs/examples/1.3.x/server-swift/examples/users/get-prefs.md index 956724d0b3..149ec00099 100644 --- a/docs/examples/1.3.x/server-swift/examples/users/get-prefs.md +++ b/docs/examples/1.3.x/server-swift/examples/users/get-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/users/get.md b/docs/examples/1.3.x/server-swift/examples/users/get.md index a2b3a126f9..83126bd872 100644 --- a/docs/examples/1.3.x/server-swift/examples/users/get.md +++ b/docs/examples/1.3.x/server-swift/examples/users/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/users/list-logs.md b/docs/examples/1.3.x/server-swift/examples/users/list-logs.md index 20a55b7f50..71c3f66785 100644 --- a/docs/examples/1.3.x/server-swift/examples/users/list-logs.md +++ b/docs/examples/1.3.x/server-swift/examples/users/list-logs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/users/list-memberships.md b/docs/examples/1.3.x/server-swift/examples/users/list-memberships.md index c07287eb46..089b27da64 100644 --- a/docs/examples/1.3.x/server-swift/examples/users/list-memberships.md +++ b/docs/examples/1.3.x/server-swift/examples/users/list-memberships.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/users/list-sessions.md b/docs/examples/1.3.x/server-swift/examples/users/list-sessions.md index 9f403d8da0..ed3c7677bf 100644 --- a/docs/examples/1.3.x/server-swift/examples/users/list-sessions.md +++ b/docs/examples/1.3.x/server-swift/examples/users/list-sessions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/users/list.md b/docs/examples/1.3.x/server-swift/examples/users/list.md index 6b41b20015..59a0e1d44d 100644 --- a/docs/examples/1.3.x/server-swift/examples/users/list.md +++ b/docs/examples/1.3.x/server-swift/examples/users/list.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/users/update-email-verification.md b/docs/examples/1.3.x/server-swift/examples/users/update-email-verification.md index b0649e63f6..76e0a069b3 100644 --- a/docs/examples/1.3.x/server-swift/examples/users/update-email-verification.md +++ b/docs/examples/1.3.x/server-swift/examples/users/update-email-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/users/update-email.md b/docs/examples/1.3.x/server-swift/examples/users/update-email.md index 892ff0033f..7d779fcd1f 100644 --- a/docs/examples/1.3.x/server-swift/examples/users/update-email.md +++ b/docs/examples/1.3.x/server-swift/examples/users/update-email.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/users/update-name.md b/docs/examples/1.3.x/server-swift/examples/users/update-name.md index a5ce6f9cad..4f0e1118f6 100644 --- a/docs/examples/1.3.x/server-swift/examples/users/update-name.md +++ b/docs/examples/1.3.x/server-swift/examples/users/update-name.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/users/update-password.md b/docs/examples/1.3.x/server-swift/examples/users/update-password.md index fa2de8b93c..cac1e9c6a2 100644 --- a/docs/examples/1.3.x/server-swift/examples/users/update-password.md +++ b/docs/examples/1.3.x/server-swift/examples/users/update-password.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/users/update-phone-verification.md b/docs/examples/1.3.x/server-swift/examples/users/update-phone-verification.md index f837ffc167..ea10791ac0 100644 --- a/docs/examples/1.3.x/server-swift/examples/users/update-phone-verification.md +++ b/docs/examples/1.3.x/server-swift/examples/users/update-phone-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/users/update-phone.md b/docs/examples/1.3.x/server-swift/examples/users/update-phone.md index f2b8f350de..465d2613c9 100644 --- a/docs/examples/1.3.x/server-swift/examples/users/update-phone.md +++ b/docs/examples/1.3.x/server-swift/examples/users/update-phone.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/users/update-prefs.md b/docs/examples/1.3.x/server-swift/examples/users/update-prefs.md index fc4131ea2f..387d04f82e 100644 --- a/docs/examples/1.3.x/server-swift/examples/users/update-prefs.md +++ b/docs/examples/1.3.x/server-swift/examples/users/update-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.3.x/server-swift/examples/users/update-status.md b/docs/examples/1.3.x/server-swift/examples/users/update-status.md index f382775b17..c89328d341 100644 --- a/docs/examples/1.3.x/server-swift/examples/users/update-status.md +++ b/docs/examples/1.3.x/server-swift/examples/users/update-status.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/client-android/java/account/create-anonymous-session.md b/docs/examples/1.4.x/client-android/java/account/create-anonymous-session.md index 59c76309e7..a52a17d1d0 100644 --- a/docs/examples/1.4.x/client-android/java/account/create-anonymous-session.md +++ b/docs/examples/1.4.x/client-android/java/account/create-anonymous-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.4.x/client-android/java/account/create-email-session.md b/docs/examples/1.4.x/client-android/java/account/create-email-session.md index e3e6fdd007..86fa95f43c 100644 --- a/docs/examples/1.4.x/client-android/java/account/create-email-session.md +++ b/docs/examples/1.4.x/client-android/java/account/create-email-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.4.x/client-android/java/account/create-j-w-t.md b/docs/examples/1.4.x/client-android/java/account/create-j-w-t.md index c312386018..5b68aeb7dd 100644 --- a/docs/examples/1.4.x/client-android/java/account/create-j-w-t.md +++ b/docs/examples/1.4.x/client-android/java/account/create-j-w-t.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.4.x/client-android/java/account/create-magic-u-r-l-session.md b/docs/examples/1.4.x/client-android/java/account/create-magic-u-r-l-session.md index 0ed43dc286..a0b4e86b9f 100644 --- a/docs/examples/1.4.x/client-android/java/account/create-magic-u-r-l-session.md +++ b/docs/examples/1.4.x/client-android/java/account/create-magic-u-r-l-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.4.x/client-android/java/account/create-o-auth2session.md b/docs/examples/1.4.x/client-android/java/account/create-o-auth2session.md index cb9386a848..57870eedbb 100644 --- a/docs/examples/1.4.x/client-android/java/account/create-o-auth2session.md +++ b/docs/examples/1.4.x/client-android/java/account/create-o-auth2session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.4.x/client-android/java/account/create-phone-session.md b/docs/examples/1.4.x/client-android/java/account/create-phone-session.md index df5bc86891..04918325c3 100644 --- a/docs/examples/1.4.x/client-android/java/account/create-phone-session.md +++ b/docs/examples/1.4.x/client-android/java/account/create-phone-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.4.x/client-android/java/account/create-phone-verification.md b/docs/examples/1.4.x/client-android/java/account/create-phone-verification.md index 1545d0f82d..7b7c354fff 100644 --- a/docs/examples/1.4.x/client-android/java/account/create-phone-verification.md +++ b/docs/examples/1.4.x/client-android/java/account/create-phone-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.4.x/client-android/java/account/create-recovery.md b/docs/examples/1.4.x/client-android/java/account/create-recovery.md index 5e8584fc35..955fe451ba 100644 --- a/docs/examples/1.4.x/client-android/java/account/create-recovery.md +++ b/docs/examples/1.4.x/client-android/java/account/create-recovery.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.4.x/client-android/java/account/create-verification.md b/docs/examples/1.4.x/client-android/java/account/create-verification.md index fcea98f66c..3fc9879f3a 100644 --- a/docs/examples/1.4.x/client-android/java/account/create-verification.md +++ b/docs/examples/1.4.x/client-android/java/account/create-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.4.x/client-android/java/account/create.md b/docs/examples/1.4.x/client-android/java/account/create.md index e08731fd7c..629374c8a4 100644 --- a/docs/examples/1.4.x/client-android/java/account/create.md +++ b/docs/examples/1.4.x/client-android/java/account/create.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.4.x/client-android/java/account/delete-identity.md b/docs/examples/1.4.x/client-android/java/account/delete-identity.md index 0d92d04616..f7cdee3b86 100644 --- a/docs/examples/1.4.x/client-android/java/account/delete-identity.md +++ b/docs/examples/1.4.x/client-android/java/account/delete-identity.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.4.x/client-android/java/account/delete-session.md b/docs/examples/1.4.x/client-android/java/account/delete-session.md index 28009d014d..345094fcc2 100644 --- a/docs/examples/1.4.x/client-android/java/account/delete-session.md +++ b/docs/examples/1.4.x/client-android/java/account/delete-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.4.x/client-android/java/account/delete-sessions.md b/docs/examples/1.4.x/client-android/java/account/delete-sessions.md index 6bdc840cff..7be86bea51 100644 --- a/docs/examples/1.4.x/client-android/java/account/delete-sessions.md +++ b/docs/examples/1.4.x/client-android/java/account/delete-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.4.x/client-android/java/account/get-prefs.md b/docs/examples/1.4.x/client-android/java/account/get-prefs.md index 9911ad30a4..2b4f47b504 100644 --- a/docs/examples/1.4.x/client-android/java/account/get-prefs.md +++ b/docs/examples/1.4.x/client-android/java/account/get-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.4.x/client-android/java/account/get-session.md b/docs/examples/1.4.x/client-android/java/account/get-session.md index fecb543782..554bd54598 100644 --- a/docs/examples/1.4.x/client-android/java/account/get-session.md +++ b/docs/examples/1.4.x/client-android/java/account/get-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.4.x/client-android/java/account/get.md b/docs/examples/1.4.x/client-android/java/account/get.md index 2e5f40ad24..d6cf1077f5 100644 --- a/docs/examples/1.4.x/client-android/java/account/get.md +++ b/docs/examples/1.4.x/client-android/java/account/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.4.x/client-android/java/account/list-identities.md b/docs/examples/1.4.x/client-android/java/account/list-identities.md index d1f6a48dee..eeaa3e62d4 100644 --- a/docs/examples/1.4.x/client-android/java/account/list-identities.md +++ b/docs/examples/1.4.x/client-android/java/account/list-identities.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.4.x/client-android/java/account/list-logs.md b/docs/examples/1.4.x/client-android/java/account/list-logs.md index d2ce790bfe..8fed6547c3 100644 --- a/docs/examples/1.4.x/client-android/java/account/list-logs.md +++ b/docs/examples/1.4.x/client-android/java/account/list-logs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.4.x/client-android/java/account/list-sessions.md b/docs/examples/1.4.x/client-android/java/account/list-sessions.md index 7fd587e1ba..f77b0b387a 100644 --- a/docs/examples/1.4.x/client-android/java/account/list-sessions.md +++ b/docs/examples/1.4.x/client-android/java/account/list-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.4.x/client-android/java/account/update-email.md b/docs/examples/1.4.x/client-android/java/account/update-email.md index 8034ada87d..86ea5207c9 100644 --- a/docs/examples/1.4.x/client-android/java/account/update-email.md +++ b/docs/examples/1.4.x/client-android/java/account/update-email.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.4.x/client-android/java/account/update-magic-u-r-l-session.md b/docs/examples/1.4.x/client-android/java/account/update-magic-u-r-l-session.md index 0f8f2b3c5c..58c491f389 100644 --- a/docs/examples/1.4.x/client-android/java/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.4.x/client-android/java/account/update-magic-u-r-l-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.4.x/client-android/java/account/update-name.md b/docs/examples/1.4.x/client-android/java/account/update-name.md index 5940f93ef2..f10172ee8a 100644 --- a/docs/examples/1.4.x/client-android/java/account/update-name.md +++ b/docs/examples/1.4.x/client-android/java/account/update-name.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.4.x/client-android/java/account/update-password.md b/docs/examples/1.4.x/client-android/java/account/update-password.md index d9426322a4..749e904c6e 100644 --- a/docs/examples/1.4.x/client-android/java/account/update-password.md +++ b/docs/examples/1.4.x/client-android/java/account/update-password.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.4.x/client-android/java/account/update-phone-session.md b/docs/examples/1.4.x/client-android/java/account/update-phone-session.md index 589e4ff509..ca34b65c1f 100644 --- a/docs/examples/1.4.x/client-android/java/account/update-phone-session.md +++ b/docs/examples/1.4.x/client-android/java/account/update-phone-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.4.x/client-android/java/account/update-phone-verification.md b/docs/examples/1.4.x/client-android/java/account/update-phone-verification.md index 81785f97c2..eb0fcbd9af 100644 --- a/docs/examples/1.4.x/client-android/java/account/update-phone-verification.md +++ b/docs/examples/1.4.x/client-android/java/account/update-phone-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.4.x/client-android/java/account/update-phone.md b/docs/examples/1.4.x/client-android/java/account/update-phone.md index a8572f911c..b1680bb604 100644 --- a/docs/examples/1.4.x/client-android/java/account/update-phone.md +++ b/docs/examples/1.4.x/client-android/java/account/update-phone.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.4.x/client-android/java/account/update-prefs.md b/docs/examples/1.4.x/client-android/java/account/update-prefs.md index ffd5ef03b5..6552f1a68c 100644 --- a/docs/examples/1.4.x/client-android/java/account/update-prefs.md +++ b/docs/examples/1.4.x/client-android/java/account/update-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.4.x/client-android/java/account/update-recovery.md b/docs/examples/1.4.x/client-android/java/account/update-recovery.md index 7b0f392176..d6c17cff3f 100644 --- a/docs/examples/1.4.x/client-android/java/account/update-recovery.md +++ b/docs/examples/1.4.x/client-android/java/account/update-recovery.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.4.x/client-android/java/account/update-session.md b/docs/examples/1.4.x/client-android/java/account/update-session.md index 27b8f00668..4c40264def 100644 --- a/docs/examples/1.4.x/client-android/java/account/update-session.md +++ b/docs/examples/1.4.x/client-android/java/account/update-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.4.x/client-android/java/account/update-status.md b/docs/examples/1.4.x/client-android/java/account/update-status.md index 1e18ded540..42c0d2dd9d 100644 --- a/docs/examples/1.4.x/client-android/java/account/update-status.md +++ b/docs/examples/1.4.x/client-android/java/account/update-status.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.4.x/client-android/java/account/update-verification.md b/docs/examples/1.4.x/client-android/java/account/update-verification.md index d852dbf838..ba1a2cd5e2 100644 --- a/docs/examples/1.4.x/client-android/java/account/update-verification.md +++ b/docs/examples/1.4.x/client-android/java/account/update-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.4.x/client-android/java/avatars/get-browser.md b/docs/examples/1.4.x/client-android/java/avatars/get-browser.md index f072110236..2382d352d6 100644 --- a/docs/examples/1.4.x/client-android/java/avatars/get-browser.md +++ b/docs/examples/1.4.x/client-android/java/avatars/get-browser.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.4.x/client-android/java/avatars/get-credit-card.md b/docs/examples/1.4.x/client-android/java/avatars/get-credit-card.md index 0a73312791..9d3d9c31a3 100644 --- a/docs/examples/1.4.x/client-android/java/avatars/get-credit-card.md +++ b/docs/examples/1.4.x/client-android/java/avatars/get-credit-card.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.4.x/client-android/java/avatars/get-favicon.md b/docs/examples/1.4.x/client-android/java/avatars/get-favicon.md index e0c1cb6b8a..af7be8b226 100644 --- a/docs/examples/1.4.x/client-android/java/avatars/get-favicon.md +++ b/docs/examples/1.4.x/client-android/java/avatars/get-favicon.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.4.x/client-android/java/avatars/get-flag.md b/docs/examples/1.4.x/client-android/java/avatars/get-flag.md index a5f4790640..698813bb1c 100644 --- a/docs/examples/1.4.x/client-android/java/avatars/get-flag.md +++ b/docs/examples/1.4.x/client-android/java/avatars/get-flag.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.4.x/client-android/java/avatars/get-image.md b/docs/examples/1.4.x/client-android/java/avatars/get-image.md index cdc8ac722b..903d93f4d1 100644 --- a/docs/examples/1.4.x/client-android/java/avatars/get-image.md +++ b/docs/examples/1.4.x/client-android/java/avatars/get-image.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.4.x/client-android/java/avatars/get-initials.md b/docs/examples/1.4.x/client-android/java/avatars/get-initials.md index c02490c734..8c5d1452fb 100644 --- a/docs/examples/1.4.x/client-android/java/avatars/get-initials.md +++ b/docs/examples/1.4.x/client-android/java/avatars/get-initials.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.4.x/client-android/java/avatars/get-q-r.md b/docs/examples/1.4.x/client-android/java/avatars/get-q-r.md index 2532f204d8..80d03776ed 100644 --- a/docs/examples/1.4.x/client-android/java/avatars/get-q-r.md +++ b/docs/examples/1.4.x/client-android/java/avatars/get-q-r.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.4.x/client-android/java/databases/create-document.md b/docs/examples/1.4.x/client-android/java/databases/create-document.md index 715e4cdbbe..0be2e146d8 100644 --- a/docs/examples/1.4.x/client-android/java/databases/create-document.md +++ b/docs/examples/1.4.x/client-android/java/databases/create-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Databases databases = new Databases(client); diff --git a/docs/examples/1.4.x/client-android/java/databases/delete-document.md b/docs/examples/1.4.x/client-android/java/databases/delete-document.md index 1387f48687..f941418c08 100644 --- a/docs/examples/1.4.x/client-android/java/databases/delete-document.md +++ b/docs/examples/1.4.x/client-android/java/databases/delete-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Databases databases = new Databases(client); diff --git a/docs/examples/1.4.x/client-android/java/databases/get-document.md b/docs/examples/1.4.x/client-android/java/databases/get-document.md index b1a7161971..987a7957c1 100644 --- a/docs/examples/1.4.x/client-android/java/databases/get-document.md +++ b/docs/examples/1.4.x/client-android/java/databases/get-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Databases databases = new Databases(client); diff --git a/docs/examples/1.4.x/client-android/java/databases/list-documents.md b/docs/examples/1.4.x/client-android/java/databases/list-documents.md index 62dc2c7e29..f4957e7f60 100644 --- a/docs/examples/1.4.x/client-android/java/databases/list-documents.md +++ b/docs/examples/1.4.x/client-android/java/databases/list-documents.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Databases databases = new Databases(client); diff --git a/docs/examples/1.4.x/client-android/java/databases/update-document.md b/docs/examples/1.4.x/client-android/java/databases/update-document.md index d1ed59de3b..0f31cb086d 100644 --- a/docs/examples/1.4.x/client-android/java/databases/update-document.md +++ b/docs/examples/1.4.x/client-android/java/databases/update-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Databases databases = new Databases(client); diff --git a/docs/examples/1.4.x/client-android/java/functions/create-execution.md b/docs/examples/1.4.x/client-android/java/functions/create-execution.md index 3cce1c37be..79cf8c1199 100644 --- a/docs/examples/1.4.x/client-android/java/functions/create-execution.md +++ b/docs/examples/1.4.x/client-android/java/functions/create-execution.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Functions functions = new Functions(client); diff --git a/docs/examples/1.4.x/client-android/java/functions/get-execution.md b/docs/examples/1.4.x/client-android/java/functions/get-execution.md index 459d74394f..496dfe6125 100644 --- a/docs/examples/1.4.x/client-android/java/functions/get-execution.md +++ b/docs/examples/1.4.x/client-android/java/functions/get-execution.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Functions functions = new Functions(client); diff --git a/docs/examples/1.4.x/client-android/java/functions/list-executions.md b/docs/examples/1.4.x/client-android/java/functions/list-executions.md index c1f982b707..6b8c37245e 100644 --- a/docs/examples/1.4.x/client-android/java/functions/list-executions.md +++ b/docs/examples/1.4.x/client-android/java/functions/list-executions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Functions functions = new Functions(client); diff --git a/docs/examples/1.4.x/client-android/java/graphql/mutation.md b/docs/examples/1.4.x/client-android/java/graphql/mutation.md index 262e513bed..3028bf105a 100644 --- a/docs/examples/1.4.x/client-android/java/graphql/mutation.md +++ b/docs/examples/1.4.x/client-android/java/graphql/mutation.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Graphql; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Graphql graphql = new Graphql(client); diff --git a/docs/examples/1.4.x/client-android/java/graphql/query.md b/docs/examples/1.4.x/client-android/java/graphql/query.md index 4291b4735f..8215c674be 100644 --- a/docs/examples/1.4.x/client-android/java/graphql/query.md +++ b/docs/examples/1.4.x/client-android/java/graphql/query.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Graphql; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Graphql graphql = new Graphql(client); diff --git a/docs/examples/1.4.x/client-android/java/locale/get.md b/docs/examples/1.4.x/client-android/java/locale/get.md index 4d14be6d73..443f5e29b5 100644 --- a/docs/examples/1.4.x/client-android/java/locale/get.md +++ b/docs/examples/1.4.x/client-android/java/locale/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.4.x/client-android/java/locale/list-codes.md b/docs/examples/1.4.x/client-android/java/locale/list-codes.md index 599070ef77..1e73a6472f 100644 --- a/docs/examples/1.4.x/client-android/java/locale/list-codes.md +++ b/docs/examples/1.4.x/client-android/java/locale/list-codes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.4.x/client-android/java/locale/list-continents.md b/docs/examples/1.4.x/client-android/java/locale/list-continents.md index 6abe97a0a0..47d11d7348 100644 --- a/docs/examples/1.4.x/client-android/java/locale/list-continents.md +++ b/docs/examples/1.4.x/client-android/java/locale/list-continents.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.4.x/client-android/java/locale/list-countries-e-u.md b/docs/examples/1.4.x/client-android/java/locale/list-countries-e-u.md index 3c5ca3ae8c..0f010e71f3 100644 --- a/docs/examples/1.4.x/client-android/java/locale/list-countries-e-u.md +++ b/docs/examples/1.4.x/client-android/java/locale/list-countries-e-u.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.4.x/client-android/java/locale/list-countries-phones.md b/docs/examples/1.4.x/client-android/java/locale/list-countries-phones.md index 81ef94d702..0ff5e0a14e 100644 --- a/docs/examples/1.4.x/client-android/java/locale/list-countries-phones.md +++ b/docs/examples/1.4.x/client-android/java/locale/list-countries-phones.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.4.x/client-android/java/locale/list-countries.md b/docs/examples/1.4.x/client-android/java/locale/list-countries.md index dc0d5f52c4..754507d56b 100644 --- a/docs/examples/1.4.x/client-android/java/locale/list-countries.md +++ b/docs/examples/1.4.x/client-android/java/locale/list-countries.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.4.x/client-android/java/locale/list-currencies.md b/docs/examples/1.4.x/client-android/java/locale/list-currencies.md index 7a327b38ae..8266537550 100644 --- a/docs/examples/1.4.x/client-android/java/locale/list-currencies.md +++ b/docs/examples/1.4.x/client-android/java/locale/list-currencies.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.4.x/client-android/java/locale/list-languages.md b/docs/examples/1.4.x/client-android/java/locale/list-languages.md index 0688614b6d..ad8d092a16 100644 --- a/docs/examples/1.4.x/client-android/java/locale/list-languages.md +++ b/docs/examples/1.4.x/client-android/java/locale/list-languages.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.4.x/client-android/java/storage/create-file.md b/docs/examples/1.4.x/client-android/java/storage/create-file.md index 732b302f63..88fdd64a10 100644 --- a/docs/examples/1.4.x/client-android/java/storage/create-file.md +++ b/docs/examples/1.4.x/client-android/java/storage/create-file.md @@ -4,7 +4,7 @@ import io.appwrite.models.InputFile; import io.appwrite.services.Storage; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.4.x/client-android/java/storage/delete-file.md b/docs/examples/1.4.x/client-android/java/storage/delete-file.md index 69a0f0f844..90e98d3f0c 100644 --- a/docs/examples/1.4.x/client-android/java/storage/delete-file.md +++ b/docs/examples/1.4.x/client-android/java/storage/delete-file.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.4.x/client-android/java/storage/get-file-download.md b/docs/examples/1.4.x/client-android/java/storage/get-file-download.md index 2ab30dce5a..5c92a9b27d 100644 --- a/docs/examples/1.4.x/client-android/java/storage/get-file-download.md +++ b/docs/examples/1.4.x/client-android/java/storage/get-file-download.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.4.x/client-android/java/storage/get-file-preview.md b/docs/examples/1.4.x/client-android/java/storage/get-file-preview.md index 483f2fca16..519b03f73b 100644 --- a/docs/examples/1.4.x/client-android/java/storage/get-file-preview.md +++ b/docs/examples/1.4.x/client-android/java/storage/get-file-preview.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.4.x/client-android/java/storage/get-file-view.md b/docs/examples/1.4.x/client-android/java/storage/get-file-view.md index 5614b694a5..376428309b 100644 --- a/docs/examples/1.4.x/client-android/java/storage/get-file-view.md +++ b/docs/examples/1.4.x/client-android/java/storage/get-file-view.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.4.x/client-android/java/storage/get-file.md b/docs/examples/1.4.x/client-android/java/storage/get-file.md index 4ae0de0d9a..61d6e9f03a 100644 --- a/docs/examples/1.4.x/client-android/java/storage/get-file.md +++ b/docs/examples/1.4.x/client-android/java/storage/get-file.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.4.x/client-android/java/storage/list-files.md b/docs/examples/1.4.x/client-android/java/storage/list-files.md index dedfb6c100..345e43fd14 100644 --- a/docs/examples/1.4.x/client-android/java/storage/list-files.md +++ b/docs/examples/1.4.x/client-android/java/storage/list-files.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.4.x/client-android/java/storage/update-file.md b/docs/examples/1.4.x/client-android/java/storage/update-file.md index 9b4dd92266..92024cfdd6 100644 --- a/docs/examples/1.4.x/client-android/java/storage/update-file.md +++ b/docs/examples/1.4.x/client-android/java/storage/update-file.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.4.x/client-android/java/teams/create-membership.md b/docs/examples/1.4.x/client-android/java/teams/create-membership.md index 6073f5b035..145b45d189 100644 --- a/docs/examples/1.4.x/client-android/java/teams/create-membership.md +++ b/docs/examples/1.4.x/client-android/java/teams/create-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.4.x/client-android/java/teams/create.md b/docs/examples/1.4.x/client-android/java/teams/create.md index 263fa57be7..5a9dd741db 100644 --- a/docs/examples/1.4.x/client-android/java/teams/create.md +++ b/docs/examples/1.4.x/client-android/java/teams/create.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.4.x/client-android/java/teams/delete-membership.md b/docs/examples/1.4.x/client-android/java/teams/delete-membership.md index 40f28f0c21..0babc74b4d 100644 --- a/docs/examples/1.4.x/client-android/java/teams/delete-membership.md +++ b/docs/examples/1.4.x/client-android/java/teams/delete-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.4.x/client-android/java/teams/delete.md b/docs/examples/1.4.x/client-android/java/teams/delete.md index 5b4c378b5e..aa7425b365 100644 --- a/docs/examples/1.4.x/client-android/java/teams/delete.md +++ b/docs/examples/1.4.x/client-android/java/teams/delete.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.4.x/client-android/java/teams/get-membership.md b/docs/examples/1.4.x/client-android/java/teams/get-membership.md index f2f1d99ae0..f7a6a10d97 100644 --- a/docs/examples/1.4.x/client-android/java/teams/get-membership.md +++ b/docs/examples/1.4.x/client-android/java/teams/get-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.4.x/client-android/java/teams/get-prefs.md b/docs/examples/1.4.x/client-android/java/teams/get-prefs.md index 6963cb40ca..ea0c8594a6 100644 --- a/docs/examples/1.4.x/client-android/java/teams/get-prefs.md +++ b/docs/examples/1.4.x/client-android/java/teams/get-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.4.x/client-android/java/teams/get.md b/docs/examples/1.4.x/client-android/java/teams/get.md index 549af20d34..62af7c2201 100644 --- a/docs/examples/1.4.x/client-android/java/teams/get.md +++ b/docs/examples/1.4.x/client-android/java/teams/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.4.x/client-android/java/teams/list-memberships.md b/docs/examples/1.4.x/client-android/java/teams/list-memberships.md index 3da4e33d51..65d1bf6e96 100644 --- a/docs/examples/1.4.x/client-android/java/teams/list-memberships.md +++ b/docs/examples/1.4.x/client-android/java/teams/list-memberships.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.4.x/client-android/java/teams/list.md b/docs/examples/1.4.x/client-android/java/teams/list.md index b20ad4a211..a8d4f12d77 100644 --- a/docs/examples/1.4.x/client-android/java/teams/list.md +++ b/docs/examples/1.4.x/client-android/java/teams/list.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.4.x/client-android/java/teams/update-membership-status.md b/docs/examples/1.4.x/client-android/java/teams/update-membership-status.md index 499251f21f..1a0748149f 100644 --- a/docs/examples/1.4.x/client-android/java/teams/update-membership-status.md +++ b/docs/examples/1.4.x/client-android/java/teams/update-membership-status.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.4.x/client-android/java/teams/update-membership.md b/docs/examples/1.4.x/client-android/java/teams/update-membership.md index 6cb334603a..f64e6dc99b 100644 --- a/docs/examples/1.4.x/client-android/java/teams/update-membership.md +++ b/docs/examples/1.4.x/client-android/java/teams/update-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.4.x/client-android/java/teams/update-name.md b/docs/examples/1.4.x/client-android/java/teams/update-name.md index 170ee59015..525cfdf201 100644 --- a/docs/examples/1.4.x/client-android/java/teams/update-name.md +++ b/docs/examples/1.4.x/client-android/java/teams/update-name.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.4.x/client-android/java/teams/update-prefs.md b/docs/examples/1.4.x/client-android/java/teams/update-prefs.md index a19ad8207e..f454393c42 100644 --- a/docs/examples/1.4.x/client-android/java/teams/update-prefs.md +++ b/docs/examples/1.4.x/client-android/java/teams/update-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.4.x/client-android/kotlin/account/create-anonymous-session.md b/docs/examples/1.4.x/client-android/kotlin/account/create-anonymous-session.md index cdcf401ed9..f0d574304d 100644 --- a/docs/examples/1.4.x/client-android/kotlin/account/create-anonymous-session.md +++ b/docs/examples/1.4.x/client-android/kotlin/account/create-anonymous-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/account/create-email-session.md b/docs/examples/1.4.x/client-android/kotlin/account/create-email-session.md index ab8d581fd1..e7b438f8cc 100644 --- a/docs/examples/1.4.x/client-android/kotlin/account/create-email-session.md +++ b/docs/examples/1.4.x/client-android/kotlin/account/create-email-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/account/create-j-w-t.md b/docs/examples/1.4.x/client-android/kotlin/account/create-j-w-t.md index 35e7a6ffd4..3e1f2e011a 100644 --- a/docs/examples/1.4.x/client-android/kotlin/account/create-j-w-t.md +++ b/docs/examples/1.4.x/client-android/kotlin/account/create-j-w-t.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/account/create-magic-u-r-l-session.md b/docs/examples/1.4.x/client-android/kotlin/account/create-magic-u-r-l-session.md index 51368b5392..88146d0732 100644 --- a/docs/examples/1.4.x/client-android/kotlin/account/create-magic-u-r-l-session.md +++ b/docs/examples/1.4.x/client-android/kotlin/account/create-magic-u-r-l-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/account/create-o-auth2session.md b/docs/examples/1.4.x/client-android/kotlin/account/create-o-auth2session.md index 395bfada00..f3bf8145e4 100644 --- a/docs/examples/1.4.x/client-android/kotlin/account/create-o-auth2session.md +++ b/docs/examples/1.4.x/client-android/kotlin/account/create-o-auth2session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/account/create-phone-session.md b/docs/examples/1.4.x/client-android/kotlin/account/create-phone-session.md index eed6f7a2e2..b87e421f8b 100644 --- a/docs/examples/1.4.x/client-android/kotlin/account/create-phone-session.md +++ b/docs/examples/1.4.x/client-android/kotlin/account/create-phone-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/account/create-phone-verification.md b/docs/examples/1.4.x/client-android/kotlin/account/create-phone-verification.md index 12fb9f74e8..8dded67ac3 100644 --- a/docs/examples/1.4.x/client-android/kotlin/account/create-phone-verification.md +++ b/docs/examples/1.4.x/client-android/kotlin/account/create-phone-verification.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/account/create-recovery.md b/docs/examples/1.4.x/client-android/kotlin/account/create-recovery.md index 7d73a671dd..70d55639c3 100644 --- a/docs/examples/1.4.x/client-android/kotlin/account/create-recovery.md +++ b/docs/examples/1.4.x/client-android/kotlin/account/create-recovery.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/account/create-verification.md b/docs/examples/1.4.x/client-android/kotlin/account/create-verification.md index b3dc43ac48..a7c8f11cac 100644 --- a/docs/examples/1.4.x/client-android/kotlin/account/create-verification.md +++ b/docs/examples/1.4.x/client-android/kotlin/account/create-verification.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/account/create.md b/docs/examples/1.4.x/client-android/kotlin/account/create.md index c72ae90def..a78fc611e5 100644 --- a/docs/examples/1.4.x/client-android/kotlin/account/create.md +++ b/docs/examples/1.4.x/client-android/kotlin/account/create.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/account/delete-identity.md b/docs/examples/1.4.x/client-android/kotlin/account/delete-identity.md index 440333e1cb..4650d0a995 100644 --- a/docs/examples/1.4.x/client-android/kotlin/account/delete-identity.md +++ b/docs/examples/1.4.x/client-android/kotlin/account/delete-identity.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/account/delete-session.md b/docs/examples/1.4.x/client-android/kotlin/account/delete-session.md index a98a28661b..5e22b53369 100644 --- a/docs/examples/1.4.x/client-android/kotlin/account/delete-session.md +++ b/docs/examples/1.4.x/client-android/kotlin/account/delete-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/account/delete-sessions.md b/docs/examples/1.4.x/client-android/kotlin/account/delete-sessions.md index c9afbf1345..e90c2a9348 100644 --- a/docs/examples/1.4.x/client-android/kotlin/account/delete-sessions.md +++ b/docs/examples/1.4.x/client-android/kotlin/account/delete-sessions.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/account/get-prefs.md b/docs/examples/1.4.x/client-android/kotlin/account/get-prefs.md index bd3f81a23f..01c128266b 100644 --- a/docs/examples/1.4.x/client-android/kotlin/account/get-prefs.md +++ b/docs/examples/1.4.x/client-android/kotlin/account/get-prefs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/account/get-session.md b/docs/examples/1.4.x/client-android/kotlin/account/get-session.md index d6d6c72eac..f150d0fb2f 100644 --- a/docs/examples/1.4.x/client-android/kotlin/account/get-session.md +++ b/docs/examples/1.4.x/client-android/kotlin/account/get-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/account/get.md b/docs/examples/1.4.x/client-android/kotlin/account/get.md index 4c8f0be9de..83f7f8789d 100644 --- a/docs/examples/1.4.x/client-android/kotlin/account/get.md +++ b/docs/examples/1.4.x/client-android/kotlin/account/get.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/account/list-identities.md b/docs/examples/1.4.x/client-android/kotlin/account/list-identities.md index 3292b35ff1..c6b73eea18 100644 --- a/docs/examples/1.4.x/client-android/kotlin/account/list-identities.md +++ b/docs/examples/1.4.x/client-android/kotlin/account/list-identities.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/account/list-logs.md b/docs/examples/1.4.x/client-android/kotlin/account/list-logs.md index eb337caec0..d9f569f320 100644 --- a/docs/examples/1.4.x/client-android/kotlin/account/list-logs.md +++ b/docs/examples/1.4.x/client-android/kotlin/account/list-logs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/account/list-sessions.md b/docs/examples/1.4.x/client-android/kotlin/account/list-sessions.md index cd9f63bc3c..2969326917 100644 --- a/docs/examples/1.4.x/client-android/kotlin/account/list-sessions.md +++ b/docs/examples/1.4.x/client-android/kotlin/account/list-sessions.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/account/update-email.md b/docs/examples/1.4.x/client-android/kotlin/account/update-email.md index 85a0242591..dcc9b822b6 100644 --- a/docs/examples/1.4.x/client-android/kotlin/account/update-email.md +++ b/docs/examples/1.4.x/client-android/kotlin/account/update-email.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/account/update-magic-u-r-l-session.md b/docs/examples/1.4.x/client-android/kotlin/account/update-magic-u-r-l-session.md index c7286ba6c8..c0e7f40811 100644 --- a/docs/examples/1.4.x/client-android/kotlin/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.4.x/client-android/kotlin/account/update-magic-u-r-l-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/account/update-name.md b/docs/examples/1.4.x/client-android/kotlin/account/update-name.md index 574f4938d8..18b631b1d5 100644 --- a/docs/examples/1.4.x/client-android/kotlin/account/update-name.md +++ b/docs/examples/1.4.x/client-android/kotlin/account/update-name.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/account/update-password.md b/docs/examples/1.4.x/client-android/kotlin/account/update-password.md index c5338b8694..45ff1b25e6 100644 --- a/docs/examples/1.4.x/client-android/kotlin/account/update-password.md +++ b/docs/examples/1.4.x/client-android/kotlin/account/update-password.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/account/update-phone-session.md b/docs/examples/1.4.x/client-android/kotlin/account/update-phone-session.md index d3b02e04ce..39be2c4f5f 100644 --- a/docs/examples/1.4.x/client-android/kotlin/account/update-phone-session.md +++ b/docs/examples/1.4.x/client-android/kotlin/account/update-phone-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/account/update-phone-verification.md b/docs/examples/1.4.x/client-android/kotlin/account/update-phone-verification.md index 0314f74223..4dc6c63915 100644 --- a/docs/examples/1.4.x/client-android/kotlin/account/update-phone-verification.md +++ b/docs/examples/1.4.x/client-android/kotlin/account/update-phone-verification.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/account/update-phone.md b/docs/examples/1.4.x/client-android/kotlin/account/update-phone.md index 76eb8aac5e..39d420b197 100644 --- a/docs/examples/1.4.x/client-android/kotlin/account/update-phone.md +++ b/docs/examples/1.4.x/client-android/kotlin/account/update-phone.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/account/update-prefs.md b/docs/examples/1.4.x/client-android/kotlin/account/update-prefs.md index f16e40ba41..beb8e6e2dd 100644 --- a/docs/examples/1.4.x/client-android/kotlin/account/update-prefs.md +++ b/docs/examples/1.4.x/client-android/kotlin/account/update-prefs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/account/update-recovery.md b/docs/examples/1.4.x/client-android/kotlin/account/update-recovery.md index 9682899bcb..e2f5665116 100644 --- a/docs/examples/1.4.x/client-android/kotlin/account/update-recovery.md +++ b/docs/examples/1.4.x/client-android/kotlin/account/update-recovery.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/account/update-session.md b/docs/examples/1.4.x/client-android/kotlin/account/update-session.md index e9e83d0cb0..74bf0a235e 100644 --- a/docs/examples/1.4.x/client-android/kotlin/account/update-session.md +++ b/docs/examples/1.4.x/client-android/kotlin/account/update-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/account/update-status.md b/docs/examples/1.4.x/client-android/kotlin/account/update-status.md index f7789ea237..4637918887 100644 --- a/docs/examples/1.4.x/client-android/kotlin/account/update-status.md +++ b/docs/examples/1.4.x/client-android/kotlin/account/update-status.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/account/update-verification.md b/docs/examples/1.4.x/client-android/kotlin/account/update-verification.md index af800c1fc5..de3bf1bfe3 100644 --- a/docs/examples/1.4.x/client-android/kotlin/account/update-verification.md +++ b/docs/examples/1.4.x/client-android/kotlin/account/update-verification.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/avatars/get-browser.md b/docs/examples/1.4.x/client-android/kotlin/avatars/get-browser.md index b1b2d08183..9d65c62b1c 100644 --- a/docs/examples/1.4.x/client-android/kotlin/avatars/get-browser.md +++ b/docs/examples/1.4.x/client-android/kotlin/avatars/get-browser.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/avatars/get-credit-card.md b/docs/examples/1.4.x/client-android/kotlin/avatars/get-credit-card.md index 411e05ae51..7265ea284c 100644 --- a/docs/examples/1.4.x/client-android/kotlin/avatars/get-credit-card.md +++ b/docs/examples/1.4.x/client-android/kotlin/avatars/get-credit-card.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/avatars/get-favicon.md b/docs/examples/1.4.x/client-android/kotlin/avatars/get-favicon.md index 1a4b217fa4..144c95a5c5 100644 --- a/docs/examples/1.4.x/client-android/kotlin/avatars/get-favicon.md +++ b/docs/examples/1.4.x/client-android/kotlin/avatars/get-favicon.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/avatars/get-flag.md b/docs/examples/1.4.x/client-android/kotlin/avatars/get-flag.md index 5c882d6018..82cd216677 100644 --- a/docs/examples/1.4.x/client-android/kotlin/avatars/get-flag.md +++ b/docs/examples/1.4.x/client-android/kotlin/avatars/get-flag.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/avatars/get-image.md b/docs/examples/1.4.x/client-android/kotlin/avatars/get-image.md index 20d8dff13c..05bdc47199 100644 --- a/docs/examples/1.4.x/client-android/kotlin/avatars/get-image.md +++ b/docs/examples/1.4.x/client-android/kotlin/avatars/get-image.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/avatars/get-initials.md b/docs/examples/1.4.x/client-android/kotlin/avatars/get-initials.md index 70ef9b2909..6b1d95a22a 100644 --- a/docs/examples/1.4.x/client-android/kotlin/avatars/get-initials.md +++ b/docs/examples/1.4.x/client-android/kotlin/avatars/get-initials.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/avatars/get-q-r.md b/docs/examples/1.4.x/client-android/kotlin/avatars/get-q-r.md index 92b17e1163..8d6aae60f7 100644 --- a/docs/examples/1.4.x/client-android/kotlin/avatars/get-q-r.md +++ b/docs/examples/1.4.x/client-android/kotlin/avatars/get-q-r.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/databases/create-document.md b/docs/examples/1.4.x/client-android/kotlin/databases/create-document.md index d7f1991d39..99e042cc69 100644 --- a/docs/examples/1.4.x/client-android/kotlin/databases/create-document.md +++ b/docs/examples/1.4.x/client-android/kotlin/databases/create-document.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val databases = Databases(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/databases/delete-document.md b/docs/examples/1.4.x/client-android/kotlin/databases/delete-document.md index c5bf2a2707..1a150b8c9b 100644 --- a/docs/examples/1.4.x/client-android/kotlin/databases/delete-document.md +++ b/docs/examples/1.4.x/client-android/kotlin/databases/delete-document.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val databases = Databases(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/databases/get-document.md b/docs/examples/1.4.x/client-android/kotlin/databases/get-document.md index abdee36316..afad4a20be 100644 --- a/docs/examples/1.4.x/client-android/kotlin/databases/get-document.md +++ b/docs/examples/1.4.x/client-android/kotlin/databases/get-document.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val databases = Databases(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/databases/list-documents.md b/docs/examples/1.4.x/client-android/kotlin/databases/list-documents.md index f97d8787c9..5e3a8d6231 100644 --- a/docs/examples/1.4.x/client-android/kotlin/databases/list-documents.md +++ b/docs/examples/1.4.x/client-android/kotlin/databases/list-documents.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val databases = Databases(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/databases/update-document.md b/docs/examples/1.4.x/client-android/kotlin/databases/update-document.md index 3820b8965c..c6186d7789 100644 --- a/docs/examples/1.4.x/client-android/kotlin/databases/update-document.md +++ b/docs/examples/1.4.x/client-android/kotlin/databases/update-document.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val databases = Databases(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/functions/create-execution.md b/docs/examples/1.4.x/client-android/kotlin/functions/create-execution.md index 77d4587755..4bf08c8436 100644 --- a/docs/examples/1.4.x/client-android/kotlin/functions/create-execution.md +++ b/docs/examples/1.4.x/client-android/kotlin/functions/create-execution.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val functions = Functions(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/functions/get-execution.md b/docs/examples/1.4.x/client-android/kotlin/functions/get-execution.md index b57668679f..a6488876ed 100644 --- a/docs/examples/1.4.x/client-android/kotlin/functions/get-execution.md +++ b/docs/examples/1.4.x/client-android/kotlin/functions/get-execution.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val functions = Functions(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/functions/list-executions.md b/docs/examples/1.4.x/client-android/kotlin/functions/list-executions.md index 14b613f703..7a0ebbf04a 100644 --- a/docs/examples/1.4.x/client-android/kotlin/functions/list-executions.md +++ b/docs/examples/1.4.x/client-android/kotlin/functions/list-executions.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val functions = Functions(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/graphql/mutation.md b/docs/examples/1.4.x/client-android/kotlin/graphql/mutation.md index dc37a3e640..ff5165a1c6 100644 --- a/docs/examples/1.4.x/client-android/kotlin/graphql/mutation.md +++ b/docs/examples/1.4.x/client-android/kotlin/graphql/mutation.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Graphql val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val graphql = Graphql(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/graphql/query.md b/docs/examples/1.4.x/client-android/kotlin/graphql/query.md index d821070922..6b4c11190e 100644 --- a/docs/examples/1.4.x/client-android/kotlin/graphql/query.md +++ b/docs/examples/1.4.x/client-android/kotlin/graphql/query.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Graphql val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val graphql = Graphql(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/locale/get.md b/docs/examples/1.4.x/client-android/kotlin/locale/get.md index a2044c7257..f07d3cf7eb 100644 --- a/docs/examples/1.4.x/client-android/kotlin/locale/get.md +++ b/docs/examples/1.4.x/client-android/kotlin/locale/get.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/locale/list-codes.md b/docs/examples/1.4.x/client-android/kotlin/locale/list-codes.md index b4e949bb0d..5f90626e21 100644 --- a/docs/examples/1.4.x/client-android/kotlin/locale/list-codes.md +++ b/docs/examples/1.4.x/client-android/kotlin/locale/list-codes.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/locale/list-continents.md b/docs/examples/1.4.x/client-android/kotlin/locale/list-continents.md index 610747ee13..5fc344d170 100644 --- a/docs/examples/1.4.x/client-android/kotlin/locale/list-continents.md +++ b/docs/examples/1.4.x/client-android/kotlin/locale/list-continents.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/locale/list-countries-e-u.md b/docs/examples/1.4.x/client-android/kotlin/locale/list-countries-e-u.md index fa5483f0b0..691a9583fd 100644 --- a/docs/examples/1.4.x/client-android/kotlin/locale/list-countries-e-u.md +++ b/docs/examples/1.4.x/client-android/kotlin/locale/list-countries-e-u.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/locale/list-countries-phones.md b/docs/examples/1.4.x/client-android/kotlin/locale/list-countries-phones.md index 6aba463a38..6ef8dcd7ac 100644 --- a/docs/examples/1.4.x/client-android/kotlin/locale/list-countries-phones.md +++ b/docs/examples/1.4.x/client-android/kotlin/locale/list-countries-phones.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/locale/list-countries.md b/docs/examples/1.4.x/client-android/kotlin/locale/list-countries.md index c58456b0f5..4dcc23e85e 100644 --- a/docs/examples/1.4.x/client-android/kotlin/locale/list-countries.md +++ b/docs/examples/1.4.x/client-android/kotlin/locale/list-countries.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/locale/list-currencies.md b/docs/examples/1.4.x/client-android/kotlin/locale/list-currencies.md index 2cf064402a..f9fb666379 100644 --- a/docs/examples/1.4.x/client-android/kotlin/locale/list-currencies.md +++ b/docs/examples/1.4.x/client-android/kotlin/locale/list-currencies.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/locale/list-languages.md b/docs/examples/1.4.x/client-android/kotlin/locale/list-languages.md index afc00b1e77..cdbcaa6f07 100644 --- a/docs/examples/1.4.x/client-android/kotlin/locale/list-languages.md +++ b/docs/examples/1.4.x/client-android/kotlin/locale/list-languages.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/storage/create-file.md b/docs/examples/1.4.x/client-android/kotlin/storage/create-file.md index 7bb79ac11e..60a80bb633 100644 --- a/docs/examples/1.4.x/client-android/kotlin/storage/create-file.md +++ b/docs/examples/1.4.x/client-android/kotlin/storage/create-file.md @@ -3,7 +3,7 @@ import io.appwrite.models.InputFile import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/storage/delete-file.md b/docs/examples/1.4.x/client-android/kotlin/storage/delete-file.md index 9430d7efe3..e4f094062b 100644 --- a/docs/examples/1.4.x/client-android/kotlin/storage/delete-file.md +++ b/docs/examples/1.4.x/client-android/kotlin/storage/delete-file.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/storage/get-file-download.md b/docs/examples/1.4.x/client-android/kotlin/storage/get-file-download.md index 85bd22c9c1..ccc23d23fb 100644 --- a/docs/examples/1.4.x/client-android/kotlin/storage/get-file-download.md +++ b/docs/examples/1.4.x/client-android/kotlin/storage/get-file-download.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/storage/get-file-preview.md b/docs/examples/1.4.x/client-android/kotlin/storage/get-file-preview.md index c5bbdef419..5338b3ce45 100644 --- a/docs/examples/1.4.x/client-android/kotlin/storage/get-file-preview.md +++ b/docs/examples/1.4.x/client-android/kotlin/storage/get-file-preview.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/storage/get-file-view.md b/docs/examples/1.4.x/client-android/kotlin/storage/get-file-view.md index 7e7589c079..acba4607d7 100644 --- a/docs/examples/1.4.x/client-android/kotlin/storage/get-file-view.md +++ b/docs/examples/1.4.x/client-android/kotlin/storage/get-file-view.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/storage/get-file.md b/docs/examples/1.4.x/client-android/kotlin/storage/get-file.md index 8fb6e244e8..14d7425c56 100644 --- a/docs/examples/1.4.x/client-android/kotlin/storage/get-file.md +++ b/docs/examples/1.4.x/client-android/kotlin/storage/get-file.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/storage/list-files.md b/docs/examples/1.4.x/client-android/kotlin/storage/list-files.md index 191a3cc97c..258daaf374 100644 --- a/docs/examples/1.4.x/client-android/kotlin/storage/list-files.md +++ b/docs/examples/1.4.x/client-android/kotlin/storage/list-files.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/storage/update-file.md b/docs/examples/1.4.x/client-android/kotlin/storage/update-file.md index 005270f3e4..b5cc0d2998 100644 --- a/docs/examples/1.4.x/client-android/kotlin/storage/update-file.md +++ b/docs/examples/1.4.x/client-android/kotlin/storage/update-file.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/teams/create-membership.md b/docs/examples/1.4.x/client-android/kotlin/teams/create-membership.md index 4d1de49b70..0690f0f0e1 100644 --- a/docs/examples/1.4.x/client-android/kotlin/teams/create-membership.md +++ b/docs/examples/1.4.x/client-android/kotlin/teams/create-membership.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/teams/create.md b/docs/examples/1.4.x/client-android/kotlin/teams/create.md index 5e70bd8df0..2fa3cff014 100644 --- a/docs/examples/1.4.x/client-android/kotlin/teams/create.md +++ b/docs/examples/1.4.x/client-android/kotlin/teams/create.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/teams/delete-membership.md b/docs/examples/1.4.x/client-android/kotlin/teams/delete-membership.md index 04ef5d3490..56157f296b 100644 --- a/docs/examples/1.4.x/client-android/kotlin/teams/delete-membership.md +++ b/docs/examples/1.4.x/client-android/kotlin/teams/delete-membership.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/teams/delete.md b/docs/examples/1.4.x/client-android/kotlin/teams/delete.md index 7d58960e7c..149c120375 100644 --- a/docs/examples/1.4.x/client-android/kotlin/teams/delete.md +++ b/docs/examples/1.4.x/client-android/kotlin/teams/delete.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/teams/get-membership.md b/docs/examples/1.4.x/client-android/kotlin/teams/get-membership.md index 653bd520fa..78420a121e 100644 --- a/docs/examples/1.4.x/client-android/kotlin/teams/get-membership.md +++ b/docs/examples/1.4.x/client-android/kotlin/teams/get-membership.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/teams/get-prefs.md b/docs/examples/1.4.x/client-android/kotlin/teams/get-prefs.md index bfd8f7597f..02e05873e8 100644 --- a/docs/examples/1.4.x/client-android/kotlin/teams/get-prefs.md +++ b/docs/examples/1.4.x/client-android/kotlin/teams/get-prefs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/teams/get.md b/docs/examples/1.4.x/client-android/kotlin/teams/get.md index 72aea07f30..7997e5aa2b 100644 --- a/docs/examples/1.4.x/client-android/kotlin/teams/get.md +++ b/docs/examples/1.4.x/client-android/kotlin/teams/get.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/teams/list-memberships.md b/docs/examples/1.4.x/client-android/kotlin/teams/list-memberships.md index 53bd6f3b65..79db9e5798 100644 --- a/docs/examples/1.4.x/client-android/kotlin/teams/list-memberships.md +++ b/docs/examples/1.4.x/client-android/kotlin/teams/list-memberships.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/teams/list.md b/docs/examples/1.4.x/client-android/kotlin/teams/list.md index 57c5fe8354..29b4d655e5 100644 --- a/docs/examples/1.4.x/client-android/kotlin/teams/list.md +++ b/docs/examples/1.4.x/client-android/kotlin/teams/list.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/teams/update-membership-status.md b/docs/examples/1.4.x/client-android/kotlin/teams/update-membership-status.md index 33de006871..e1a3b53df5 100644 --- a/docs/examples/1.4.x/client-android/kotlin/teams/update-membership-status.md +++ b/docs/examples/1.4.x/client-android/kotlin/teams/update-membership-status.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/teams/update-membership.md b/docs/examples/1.4.x/client-android/kotlin/teams/update-membership.md index 40005ed365..4c73974233 100644 --- a/docs/examples/1.4.x/client-android/kotlin/teams/update-membership.md +++ b/docs/examples/1.4.x/client-android/kotlin/teams/update-membership.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/teams/update-name.md b/docs/examples/1.4.x/client-android/kotlin/teams/update-name.md index 59c681232d..d14522666a 100644 --- a/docs/examples/1.4.x/client-android/kotlin/teams/update-name.md +++ b/docs/examples/1.4.x/client-android/kotlin/teams/update-name.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.4.x/client-android/kotlin/teams/update-prefs.md b/docs/examples/1.4.x/client-android/kotlin/teams/update-prefs.md index 6a89ac768d..954f6a7aeb 100644 --- a/docs/examples/1.4.x/client-android/kotlin/teams/update-prefs.md +++ b/docs/examples/1.4.x/client-android/kotlin/teams/update-prefs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.4.x/client-apple/examples/account/create-anonymous-session.md b/docs/examples/1.4.x/client-apple/examples/account/create-anonymous-session.md index 9904f6f222..ec7bc357e1 100644 --- a/docs/examples/1.4.x/client-apple/examples/account/create-anonymous-session.md +++ b/docs/examples/1.4.x/client-apple/examples/account/create-anonymous-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.4.x/client-apple/examples/account/create-email-session.md b/docs/examples/1.4.x/client-apple/examples/account/create-email-session.md index 311a3b6260..cc9a14e931 100644 --- a/docs/examples/1.4.x/client-apple/examples/account/create-email-session.md +++ b/docs/examples/1.4.x/client-apple/examples/account/create-email-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.4.x/client-apple/examples/account/create-j-w-t.md b/docs/examples/1.4.x/client-apple/examples/account/create-j-w-t.md index c18c3c940a..7d9b4e3367 100644 --- a/docs/examples/1.4.x/client-apple/examples/account/create-j-w-t.md +++ b/docs/examples/1.4.x/client-apple/examples/account/create-j-w-t.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.4.x/client-apple/examples/account/create-magic-u-r-l-session.md b/docs/examples/1.4.x/client-apple/examples/account/create-magic-u-r-l-session.md index 929396ddc6..88efd04ca9 100644 --- a/docs/examples/1.4.x/client-apple/examples/account/create-magic-u-r-l-session.md +++ b/docs/examples/1.4.x/client-apple/examples/account/create-magic-u-r-l-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.4.x/client-apple/examples/account/create-o-auth2session.md b/docs/examples/1.4.x/client-apple/examples/account/create-o-auth2session.md index c84edfc6e7..7c4048689e 100644 --- a/docs/examples/1.4.x/client-apple/examples/account/create-o-auth2session.md +++ b/docs/examples/1.4.x/client-apple/examples/account/create-o-auth2session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.4.x/client-apple/examples/account/create-phone-session.md b/docs/examples/1.4.x/client-apple/examples/account/create-phone-session.md index caa66c161a..40ad4c34fa 100644 --- a/docs/examples/1.4.x/client-apple/examples/account/create-phone-session.md +++ b/docs/examples/1.4.x/client-apple/examples/account/create-phone-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.4.x/client-apple/examples/account/create-phone-verification.md b/docs/examples/1.4.x/client-apple/examples/account/create-phone-verification.md index b628897c60..3b1548db4a 100644 --- a/docs/examples/1.4.x/client-apple/examples/account/create-phone-verification.md +++ b/docs/examples/1.4.x/client-apple/examples/account/create-phone-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.4.x/client-apple/examples/account/create-recovery.md b/docs/examples/1.4.x/client-apple/examples/account/create-recovery.md index 8d48938a87..6f52d97ebb 100644 --- a/docs/examples/1.4.x/client-apple/examples/account/create-recovery.md +++ b/docs/examples/1.4.x/client-apple/examples/account/create-recovery.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.4.x/client-apple/examples/account/create-verification.md b/docs/examples/1.4.x/client-apple/examples/account/create-verification.md index 2c96d202d0..9271178af8 100644 --- a/docs/examples/1.4.x/client-apple/examples/account/create-verification.md +++ b/docs/examples/1.4.x/client-apple/examples/account/create-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.4.x/client-apple/examples/account/create.md b/docs/examples/1.4.x/client-apple/examples/account/create.md index a7836f8e37..fe023e0f61 100644 --- a/docs/examples/1.4.x/client-apple/examples/account/create.md +++ b/docs/examples/1.4.x/client-apple/examples/account/create.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.4.x/client-apple/examples/account/delete-identity.md b/docs/examples/1.4.x/client-apple/examples/account/delete-identity.md index 7cd37c9755..d0b98e6791 100644 --- a/docs/examples/1.4.x/client-apple/examples/account/delete-identity.md +++ b/docs/examples/1.4.x/client-apple/examples/account/delete-identity.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.4.x/client-apple/examples/account/delete-session.md b/docs/examples/1.4.x/client-apple/examples/account/delete-session.md index 316a27d8f7..6e42ce8a5e 100644 --- a/docs/examples/1.4.x/client-apple/examples/account/delete-session.md +++ b/docs/examples/1.4.x/client-apple/examples/account/delete-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.4.x/client-apple/examples/account/delete-sessions.md b/docs/examples/1.4.x/client-apple/examples/account/delete-sessions.md index efb8c7cce1..b45ea356fe 100644 --- a/docs/examples/1.4.x/client-apple/examples/account/delete-sessions.md +++ b/docs/examples/1.4.x/client-apple/examples/account/delete-sessions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.4.x/client-apple/examples/account/get-prefs.md b/docs/examples/1.4.x/client-apple/examples/account/get-prefs.md index 5a9fb2e356..7605035f35 100644 --- a/docs/examples/1.4.x/client-apple/examples/account/get-prefs.md +++ b/docs/examples/1.4.x/client-apple/examples/account/get-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.4.x/client-apple/examples/account/get-session.md b/docs/examples/1.4.x/client-apple/examples/account/get-session.md index 66b363574a..6adf367a33 100644 --- a/docs/examples/1.4.x/client-apple/examples/account/get-session.md +++ b/docs/examples/1.4.x/client-apple/examples/account/get-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.4.x/client-apple/examples/account/get.md b/docs/examples/1.4.x/client-apple/examples/account/get.md index f29f83f8e8..0bfdb0a705 100644 --- a/docs/examples/1.4.x/client-apple/examples/account/get.md +++ b/docs/examples/1.4.x/client-apple/examples/account/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.4.x/client-apple/examples/account/list-identities.md b/docs/examples/1.4.x/client-apple/examples/account/list-identities.md index 86d713c2d4..7c9961697e 100644 --- a/docs/examples/1.4.x/client-apple/examples/account/list-identities.md +++ b/docs/examples/1.4.x/client-apple/examples/account/list-identities.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.4.x/client-apple/examples/account/list-logs.md b/docs/examples/1.4.x/client-apple/examples/account/list-logs.md index 0c9725555e..bc463217d6 100644 --- a/docs/examples/1.4.x/client-apple/examples/account/list-logs.md +++ b/docs/examples/1.4.x/client-apple/examples/account/list-logs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.4.x/client-apple/examples/account/list-sessions.md b/docs/examples/1.4.x/client-apple/examples/account/list-sessions.md index b160c89f9c..9c1daf94b9 100644 --- a/docs/examples/1.4.x/client-apple/examples/account/list-sessions.md +++ b/docs/examples/1.4.x/client-apple/examples/account/list-sessions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.4.x/client-apple/examples/account/update-email.md b/docs/examples/1.4.x/client-apple/examples/account/update-email.md index a8c37af946..c1c3dd5251 100644 --- a/docs/examples/1.4.x/client-apple/examples/account/update-email.md +++ b/docs/examples/1.4.x/client-apple/examples/account/update-email.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.4.x/client-apple/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.4.x/client-apple/examples/account/update-magic-u-r-l-session.md index 42a7f710b5..e0a340a606 100644 --- a/docs/examples/1.4.x/client-apple/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.4.x/client-apple/examples/account/update-magic-u-r-l-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.4.x/client-apple/examples/account/update-name.md b/docs/examples/1.4.x/client-apple/examples/account/update-name.md index a9d76812b5..04f8832a6b 100644 --- a/docs/examples/1.4.x/client-apple/examples/account/update-name.md +++ b/docs/examples/1.4.x/client-apple/examples/account/update-name.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.4.x/client-apple/examples/account/update-password.md b/docs/examples/1.4.x/client-apple/examples/account/update-password.md index bb3c3b0bea..42a82dda33 100644 --- a/docs/examples/1.4.x/client-apple/examples/account/update-password.md +++ b/docs/examples/1.4.x/client-apple/examples/account/update-password.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.4.x/client-apple/examples/account/update-phone-session.md b/docs/examples/1.4.x/client-apple/examples/account/update-phone-session.md index 41e26c3935..a102cb740d 100644 --- a/docs/examples/1.4.x/client-apple/examples/account/update-phone-session.md +++ b/docs/examples/1.4.x/client-apple/examples/account/update-phone-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.4.x/client-apple/examples/account/update-phone-verification.md b/docs/examples/1.4.x/client-apple/examples/account/update-phone-verification.md index 1c88595dc2..8e47f16be4 100644 --- a/docs/examples/1.4.x/client-apple/examples/account/update-phone-verification.md +++ b/docs/examples/1.4.x/client-apple/examples/account/update-phone-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.4.x/client-apple/examples/account/update-phone.md b/docs/examples/1.4.x/client-apple/examples/account/update-phone.md index 306e8f5a93..e595ee3d08 100644 --- a/docs/examples/1.4.x/client-apple/examples/account/update-phone.md +++ b/docs/examples/1.4.x/client-apple/examples/account/update-phone.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.4.x/client-apple/examples/account/update-prefs.md b/docs/examples/1.4.x/client-apple/examples/account/update-prefs.md index cc765480c5..bab4b310e8 100644 --- a/docs/examples/1.4.x/client-apple/examples/account/update-prefs.md +++ b/docs/examples/1.4.x/client-apple/examples/account/update-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.4.x/client-apple/examples/account/update-recovery.md b/docs/examples/1.4.x/client-apple/examples/account/update-recovery.md index 335dd6aeef..1e965beff0 100644 --- a/docs/examples/1.4.x/client-apple/examples/account/update-recovery.md +++ b/docs/examples/1.4.x/client-apple/examples/account/update-recovery.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.4.x/client-apple/examples/account/update-session.md b/docs/examples/1.4.x/client-apple/examples/account/update-session.md index b71826246d..8e1d111650 100644 --- a/docs/examples/1.4.x/client-apple/examples/account/update-session.md +++ b/docs/examples/1.4.x/client-apple/examples/account/update-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.4.x/client-apple/examples/account/update-status.md b/docs/examples/1.4.x/client-apple/examples/account/update-status.md index 3f2d823641..2c7753f379 100644 --- a/docs/examples/1.4.x/client-apple/examples/account/update-status.md +++ b/docs/examples/1.4.x/client-apple/examples/account/update-status.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.4.x/client-apple/examples/account/update-verification.md b/docs/examples/1.4.x/client-apple/examples/account/update-verification.md index 36af6b99da..5a521a212a 100644 --- a/docs/examples/1.4.x/client-apple/examples/account/update-verification.md +++ b/docs/examples/1.4.x/client-apple/examples/account/update-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.4.x/client-apple/examples/avatars/get-browser.md b/docs/examples/1.4.x/client-apple/examples/avatars/get-browser.md index 19c8d02b6d..9f86b04435 100644 --- a/docs/examples/1.4.x/client-apple/examples/avatars/get-browser.md +++ b/docs/examples/1.4.x/client-apple/examples/avatars/get-browser.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.4.x/client-apple/examples/avatars/get-credit-card.md b/docs/examples/1.4.x/client-apple/examples/avatars/get-credit-card.md index d7a680f35e..1756c5b146 100644 --- a/docs/examples/1.4.x/client-apple/examples/avatars/get-credit-card.md +++ b/docs/examples/1.4.x/client-apple/examples/avatars/get-credit-card.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.4.x/client-apple/examples/avatars/get-favicon.md b/docs/examples/1.4.x/client-apple/examples/avatars/get-favicon.md index 01a7ec1344..945ce41a8c 100644 --- a/docs/examples/1.4.x/client-apple/examples/avatars/get-favicon.md +++ b/docs/examples/1.4.x/client-apple/examples/avatars/get-favicon.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.4.x/client-apple/examples/avatars/get-flag.md b/docs/examples/1.4.x/client-apple/examples/avatars/get-flag.md index eb33c906b6..4044888df3 100644 --- a/docs/examples/1.4.x/client-apple/examples/avatars/get-flag.md +++ b/docs/examples/1.4.x/client-apple/examples/avatars/get-flag.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.4.x/client-apple/examples/avatars/get-image.md b/docs/examples/1.4.x/client-apple/examples/avatars/get-image.md index ef0cd36920..659749d992 100644 --- a/docs/examples/1.4.x/client-apple/examples/avatars/get-image.md +++ b/docs/examples/1.4.x/client-apple/examples/avatars/get-image.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.4.x/client-apple/examples/avatars/get-initials.md b/docs/examples/1.4.x/client-apple/examples/avatars/get-initials.md index 1bdd6f058a..b9a5a7d095 100644 --- a/docs/examples/1.4.x/client-apple/examples/avatars/get-initials.md +++ b/docs/examples/1.4.x/client-apple/examples/avatars/get-initials.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.4.x/client-apple/examples/avatars/get-q-r.md b/docs/examples/1.4.x/client-apple/examples/avatars/get-q-r.md index 5c801d40bb..edf910514f 100644 --- a/docs/examples/1.4.x/client-apple/examples/avatars/get-q-r.md +++ b/docs/examples/1.4.x/client-apple/examples/avatars/get-q-r.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.4.x/client-apple/examples/databases/create-document.md b/docs/examples/1.4.x/client-apple/examples/databases/create-document.md index 533bbd534c..d7f66d018c 100644 --- a/docs/examples/1.4.x/client-apple/examples/databases/create-document.md +++ b/docs/examples/1.4.x/client-apple/examples/databases/create-document.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let databases = Databases(client) diff --git a/docs/examples/1.4.x/client-apple/examples/databases/delete-document.md b/docs/examples/1.4.x/client-apple/examples/databases/delete-document.md index c9a751294d..f05f747b6c 100644 --- a/docs/examples/1.4.x/client-apple/examples/databases/delete-document.md +++ b/docs/examples/1.4.x/client-apple/examples/databases/delete-document.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let databases = Databases(client) diff --git a/docs/examples/1.4.x/client-apple/examples/databases/get-document.md b/docs/examples/1.4.x/client-apple/examples/databases/get-document.md index 53b71fb4f5..8f85eae2a4 100644 --- a/docs/examples/1.4.x/client-apple/examples/databases/get-document.md +++ b/docs/examples/1.4.x/client-apple/examples/databases/get-document.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let databases = Databases(client) diff --git a/docs/examples/1.4.x/client-apple/examples/databases/list-documents.md b/docs/examples/1.4.x/client-apple/examples/databases/list-documents.md index 0b375df67a..c05bc15e99 100644 --- a/docs/examples/1.4.x/client-apple/examples/databases/list-documents.md +++ b/docs/examples/1.4.x/client-apple/examples/databases/list-documents.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let databases = Databases(client) diff --git a/docs/examples/1.4.x/client-apple/examples/databases/update-document.md b/docs/examples/1.4.x/client-apple/examples/databases/update-document.md index 5a943af8c1..238da36ec8 100644 --- a/docs/examples/1.4.x/client-apple/examples/databases/update-document.md +++ b/docs/examples/1.4.x/client-apple/examples/databases/update-document.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let databases = Databases(client) diff --git a/docs/examples/1.4.x/client-apple/examples/functions/create-execution.md b/docs/examples/1.4.x/client-apple/examples/functions/create-execution.md index 93702bfdbc..8c696c8dec 100644 --- a/docs/examples/1.4.x/client-apple/examples/functions/create-execution.md +++ b/docs/examples/1.4.x/client-apple/examples/functions/create-execution.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let functions = Functions(client) diff --git a/docs/examples/1.4.x/client-apple/examples/functions/get-execution.md b/docs/examples/1.4.x/client-apple/examples/functions/get-execution.md index f1e53cb570..b6ed7f7e75 100644 --- a/docs/examples/1.4.x/client-apple/examples/functions/get-execution.md +++ b/docs/examples/1.4.x/client-apple/examples/functions/get-execution.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let functions = Functions(client) diff --git a/docs/examples/1.4.x/client-apple/examples/functions/list-executions.md b/docs/examples/1.4.x/client-apple/examples/functions/list-executions.md index 0f182950ee..5e6920aa21 100644 --- a/docs/examples/1.4.x/client-apple/examples/functions/list-executions.md +++ b/docs/examples/1.4.x/client-apple/examples/functions/list-executions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let functions = Functions(client) diff --git a/docs/examples/1.4.x/client-apple/examples/graphql/mutation.md b/docs/examples/1.4.x/client-apple/examples/graphql/mutation.md index d58b881df4..aa8d9d318c 100644 --- a/docs/examples/1.4.x/client-apple/examples/graphql/mutation.md +++ b/docs/examples/1.4.x/client-apple/examples/graphql/mutation.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let graphql = Graphql(client) diff --git a/docs/examples/1.4.x/client-apple/examples/graphql/query.md b/docs/examples/1.4.x/client-apple/examples/graphql/query.md index 0aba98aeb8..78797a21a0 100644 --- a/docs/examples/1.4.x/client-apple/examples/graphql/query.md +++ b/docs/examples/1.4.x/client-apple/examples/graphql/query.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let graphql = Graphql(client) diff --git a/docs/examples/1.4.x/client-apple/examples/locale/get.md b/docs/examples/1.4.x/client-apple/examples/locale/get.md index d12470d66a..95dc75d9f8 100644 --- a/docs/examples/1.4.x/client-apple/examples/locale/get.md +++ b/docs/examples/1.4.x/client-apple/examples/locale/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.4.x/client-apple/examples/locale/list-codes.md b/docs/examples/1.4.x/client-apple/examples/locale/list-codes.md index 5832aa4ced..1bce2ff930 100644 --- a/docs/examples/1.4.x/client-apple/examples/locale/list-codes.md +++ b/docs/examples/1.4.x/client-apple/examples/locale/list-codes.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.4.x/client-apple/examples/locale/list-continents.md b/docs/examples/1.4.x/client-apple/examples/locale/list-continents.md index 4853f77212..83073b0210 100644 --- a/docs/examples/1.4.x/client-apple/examples/locale/list-continents.md +++ b/docs/examples/1.4.x/client-apple/examples/locale/list-continents.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.4.x/client-apple/examples/locale/list-countries-e-u.md b/docs/examples/1.4.x/client-apple/examples/locale/list-countries-e-u.md index 6e0a4d31d0..6f9d96899a 100644 --- a/docs/examples/1.4.x/client-apple/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.4.x/client-apple/examples/locale/list-countries-e-u.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.4.x/client-apple/examples/locale/list-countries-phones.md b/docs/examples/1.4.x/client-apple/examples/locale/list-countries-phones.md index b4752eb469..46e86dbe96 100644 --- a/docs/examples/1.4.x/client-apple/examples/locale/list-countries-phones.md +++ b/docs/examples/1.4.x/client-apple/examples/locale/list-countries-phones.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.4.x/client-apple/examples/locale/list-countries.md b/docs/examples/1.4.x/client-apple/examples/locale/list-countries.md index 75369d0606..f5a43f040a 100644 --- a/docs/examples/1.4.x/client-apple/examples/locale/list-countries.md +++ b/docs/examples/1.4.x/client-apple/examples/locale/list-countries.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.4.x/client-apple/examples/locale/list-currencies.md b/docs/examples/1.4.x/client-apple/examples/locale/list-currencies.md index 92eea81275..bcbf30ec9d 100644 --- a/docs/examples/1.4.x/client-apple/examples/locale/list-currencies.md +++ b/docs/examples/1.4.x/client-apple/examples/locale/list-currencies.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.4.x/client-apple/examples/locale/list-languages.md b/docs/examples/1.4.x/client-apple/examples/locale/list-languages.md index 2184812b1e..46fa89e079 100644 --- a/docs/examples/1.4.x/client-apple/examples/locale/list-languages.md +++ b/docs/examples/1.4.x/client-apple/examples/locale/list-languages.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.4.x/client-apple/examples/storage/create-file.md b/docs/examples/1.4.x/client-apple/examples/storage/create-file.md index f882420882..9abfb7678b 100644 --- a/docs/examples/1.4.x/client-apple/examples/storage/create-file.md +++ b/docs/examples/1.4.x/client-apple/examples/storage/create-file.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.4.x/client-apple/examples/storage/delete-file.md b/docs/examples/1.4.x/client-apple/examples/storage/delete-file.md index 27624b4bc2..d0222a5263 100644 --- a/docs/examples/1.4.x/client-apple/examples/storage/delete-file.md +++ b/docs/examples/1.4.x/client-apple/examples/storage/delete-file.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.4.x/client-apple/examples/storage/get-file-download.md b/docs/examples/1.4.x/client-apple/examples/storage/get-file-download.md index ca96b31d93..48d8106676 100644 --- a/docs/examples/1.4.x/client-apple/examples/storage/get-file-download.md +++ b/docs/examples/1.4.x/client-apple/examples/storage/get-file-download.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.4.x/client-apple/examples/storage/get-file-preview.md b/docs/examples/1.4.x/client-apple/examples/storage/get-file-preview.md index 71c0f31f27..17f75ae40d 100644 --- a/docs/examples/1.4.x/client-apple/examples/storage/get-file-preview.md +++ b/docs/examples/1.4.x/client-apple/examples/storage/get-file-preview.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.4.x/client-apple/examples/storage/get-file-view.md b/docs/examples/1.4.x/client-apple/examples/storage/get-file-view.md index 85631efc83..f18fd82d3d 100644 --- a/docs/examples/1.4.x/client-apple/examples/storage/get-file-view.md +++ b/docs/examples/1.4.x/client-apple/examples/storage/get-file-view.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.4.x/client-apple/examples/storage/get-file.md b/docs/examples/1.4.x/client-apple/examples/storage/get-file.md index fa28b48d64..8f961898de 100644 --- a/docs/examples/1.4.x/client-apple/examples/storage/get-file.md +++ b/docs/examples/1.4.x/client-apple/examples/storage/get-file.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.4.x/client-apple/examples/storage/list-files.md b/docs/examples/1.4.x/client-apple/examples/storage/list-files.md index 51f7fe8f05..ab0633ade5 100644 --- a/docs/examples/1.4.x/client-apple/examples/storage/list-files.md +++ b/docs/examples/1.4.x/client-apple/examples/storage/list-files.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.4.x/client-apple/examples/storage/update-file.md b/docs/examples/1.4.x/client-apple/examples/storage/update-file.md index 13bf635ec6..ac8ef4b3d4 100644 --- a/docs/examples/1.4.x/client-apple/examples/storage/update-file.md +++ b/docs/examples/1.4.x/client-apple/examples/storage/update-file.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.4.x/client-apple/examples/teams/create-membership.md b/docs/examples/1.4.x/client-apple/examples/teams/create-membership.md index 6de7074644..87dea9d946 100644 --- a/docs/examples/1.4.x/client-apple/examples/teams/create-membership.md +++ b/docs/examples/1.4.x/client-apple/examples/teams/create-membership.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.4.x/client-apple/examples/teams/create.md b/docs/examples/1.4.x/client-apple/examples/teams/create.md index c28eec416d..5e2b092a70 100644 --- a/docs/examples/1.4.x/client-apple/examples/teams/create.md +++ b/docs/examples/1.4.x/client-apple/examples/teams/create.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.4.x/client-apple/examples/teams/delete-membership.md b/docs/examples/1.4.x/client-apple/examples/teams/delete-membership.md index 186f6ad6fb..e14bba13c7 100644 --- a/docs/examples/1.4.x/client-apple/examples/teams/delete-membership.md +++ b/docs/examples/1.4.x/client-apple/examples/teams/delete-membership.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.4.x/client-apple/examples/teams/delete.md b/docs/examples/1.4.x/client-apple/examples/teams/delete.md index e7585ec387..5e39a53370 100644 --- a/docs/examples/1.4.x/client-apple/examples/teams/delete.md +++ b/docs/examples/1.4.x/client-apple/examples/teams/delete.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.4.x/client-apple/examples/teams/get-membership.md b/docs/examples/1.4.x/client-apple/examples/teams/get-membership.md index 02ee3dab42..a792889fd4 100644 --- a/docs/examples/1.4.x/client-apple/examples/teams/get-membership.md +++ b/docs/examples/1.4.x/client-apple/examples/teams/get-membership.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.4.x/client-apple/examples/teams/get-prefs.md b/docs/examples/1.4.x/client-apple/examples/teams/get-prefs.md index bcd65b68c4..9b7cf43c38 100644 --- a/docs/examples/1.4.x/client-apple/examples/teams/get-prefs.md +++ b/docs/examples/1.4.x/client-apple/examples/teams/get-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.4.x/client-apple/examples/teams/get.md b/docs/examples/1.4.x/client-apple/examples/teams/get.md index c8630adaac..689c5e6885 100644 --- a/docs/examples/1.4.x/client-apple/examples/teams/get.md +++ b/docs/examples/1.4.x/client-apple/examples/teams/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.4.x/client-apple/examples/teams/list-memberships.md b/docs/examples/1.4.x/client-apple/examples/teams/list-memberships.md index 1f8a0ccb73..57876d3fea 100644 --- a/docs/examples/1.4.x/client-apple/examples/teams/list-memberships.md +++ b/docs/examples/1.4.x/client-apple/examples/teams/list-memberships.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.4.x/client-apple/examples/teams/list.md b/docs/examples/1.4.x/client-apple/examples/teams/list.md index 72226d4f5b..cb9da6c7d5 100644 --- a/docs/examples/1.4.x/client-apple/examples/teams/list.md +++ b/docs/examples/1.4.x/client-apple/examples/teams/list.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.4.x/client-apple/examples/teams/update-membership-status.md b/docs/examples/1.4.x/client-apple/examples/teams/update-membership-status.md index 65a899cb1c..5f8b723cd5 100644 --- a/docs/examples/1.4.x/client-apple/examples/teams/update-membership-status.md +++ b/docs/examples/1.4.x/client-apple/examples/teams/update-membership-status.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.4.x/client-apple/examples/teams/update-membership.md b/docs/examples/1.4.x/client-apple/examples/teams/update-membership.md index 1ac7d78f55..77328e8c98 100644 --- a/docs/examples/1.4.x/client-apple/examples/teams/update-membership.md +++ b/docs/examples/1.4.x/client-apple/examples/teams/update-membership.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.4.x/client-apple/examples/teams/update-name.md b/docs/examples/1.4.x/client-apple/examples/teams/update-name.md index 357182b103..de4a6eb99e 100644 --- a/docs/examples/1.4.x/client-apple/examples/teams/update-name.md +++ b/docs/examples/1.4.x/client-apple/examples/teams/update-name.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.4.x/client-apple/examples/teams/update-prefs.md b/docs/examples/1.4.x/client-apple/examples/teams/update-prefs.md index 6cfe79e3a8..1a1a21bd79 100644 --- a/docs/examples/1.4.x/client-apple/examples/teams/update-prefs.md +++ b/docs/examples/1.4.x/client-apple/examples/teams/update-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.4.x/client-flutter/examples/account/create-anonymous-session.md b/docs/examples/1.4.x/client-flutter/examples/account/create-anonymous-session.md index 2f3e7a606c..58b707f3c9 100644 --- a/docs/examples/1.4.x/client-flutter/examples/account/create-anonymous-session.md +++ b/docs/examples/1.4.x/client-flutter/examples/account/create-anonymous-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createAnonymousSession(); diff --git a/docs/examples/1.4.x/client-flutter/examples/account/create-email-session.md b/docs/examples/1.4.x/client-flutter/examples/account/create-email-session.md index 52b6b91f19..c76c2a6e93 100644 --- a/docs/examples/1.4.x/client-flutter/examples/account/create-email-session.md +++ b/docs/examples/1.4.x/client-flutter/examples/account/create-email-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createEmailSession( diff --git a/docs/examples/1.4.x/client-flutter/examples/account/create-j-w-t.md b/docs/examples/1.4.x/client-flutter/examples/account/create-j-w-t.md index c4a61f7c34..8cee6bc69e 100644 --- a/docs/examples/1.4.x/client-flutter/examples/account/create-j-w-t.md +++ b/docs/examples/1.4.x/client-flutter/examples/account/create-j-w-t.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createJWT(); diff --git a/docs/examples/1.4.x/client-flutter/examples/account/create-magic-u-r-l-session.md b/docs/examples/1.4.x/client-flutter/examples/account/create-magic-u-r-l-session.md index d1b89bf176..e8e3732914 100644 --- a/docs/examples/1.4.x/client-flutter/examples/account/create-magic-u-r-l-session.md +++ b/docs/examples/1.4.x/client-flutter/examples/account/create-magic-u-r-l-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createMagicURLSession( diff --git a/docs/examples/1.4.x/client-flutter/examples/account/create-o-auth2session.md b/docs/examples/1.4.x/client-flutter/examples/account/create-o-auth2session.md index e985a92ae0..5d627a1451 100644 --- a/docs/examples/1.4.x/client-flutter/examples/account/create-o-auth2session.md +++ b/docs/examples/1.4.x/client-flutter/examples/account/create-o-auth2session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createOAuth2Session( diff --git a/docs/examples/1.4.x/client-flutter/examples/account/create-phone-session.md b/docs/examples/1.4.x/client-flutter/examples/account/create-phone-session.md index fcb705c938..c54c0f2397 100644 --- a/docs/examples/1.4.x/client-flutter/examples/account/create-phone-session.md +++ b/docs/examples/1.4.x/client-flutter/examples/account/create-phone-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createPhoneSession( diff --git a/docs/examples/1.4.x/client-flutter/examples/account/create-phone-verification.md b/docs/examples/1.4.x/client-flutter/examples/account/create-phone-verification.md index 76e724d829..23ee2fd588 100644 --- a/docs/examples/1.4.x/client-flutter/examples/account/create-phone-verification.md +++ b/docs/examples/1.4.x/client-flutter/examples/account/create-phone-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createPhoneVerification(); diff --git a/docs/examples/1.4.x/client-flutter/examples/account/create-recovery.md b/docs/examples/1.4.x/client-flutter/examples/account/create-recovery.md index 361a9f0459..d011eef2a3 100644 --- a/docs/examples/1.4.x/client-flutter/examples/account/create-recovery.md +++ b/docs/examples/1.4.x/client-flutter/examples/account/create-recovery.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createRecovery( diff --git a/docs/examples/1.4.x/client-flutter/examples/account/create-verification.md b/docs/examples/1.4.x/client-flutter/examples/account/create-verification.md index d66c3b1a0a..565033b9a8 100644 --- a/docs/examples/1.4.x/client-flutter/examples/account/create-verification.md +++ b/docs/examples/1.4.x/client-flutter/examples/account/create-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.createVerification( diff --git a/docs/examples/1.4.x/client-flutter/examples/account/create.md b/docs/examples/1.4.x/client-flutter/examples/account/create.md index 1ff2ae91cb..d2866cf5b6 100644 --- a/docs/examples/1.4.x/client-flutter/examples/account/create.md +++ b/docs/examples/1.4.x/client-flutter/examples/account/create.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.create( diff --git a/docs/examples/1.4.x/client-flutter/examples/account/delete-identity.md b/docs/examples/1.4.x/client-flutter/examples/account/delete-identity.md index c5ea2b39f3..2ba4b6ff21 100644 --- a/docs/examples/1.4.x/client-flutter/examples/account/delete-identity.md +++ b/docs/examples/1.4.x/client-flutter/examples/account/delete-identity.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.deleteIdentity( diff --git a/docs/examples/1.4.x/client-flutter/examples/account/delete-session.md b/docs/examples/1.4.x/client-flutter/examples/account/delete-session.md index 9146561070..9e381a2fa3 100644 --- a/docs/examples/1.4.x/client-flutter/examples/account/delete-session.md +++ b/docs/examples/1.4.x/client-flutter/examples/account/delete-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.deleteSession( diff --git a/docs/examples/1.4.x/client-flutter/examples/account/delete-sessions.md b/docs/examples/1.4.x/client-flutter/examples/account/delete-sessions.md index 4963de4442..27b06b6104 100644 --- a/docs/examples/1.4.x/client-flutter/examples/account/delete-sessions.md +++ b/docs/examples/1.4.x/client-flutter/examples/account/delete-sessions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.deleteSessions(); diff --git a/docs/examples/1.4.x/client-flutter/examples/account/get-prefs.md b/docs/examples/1.4.x/client-flutter/examples/account/get-prefs.md index 81eb802d03..919b50be88 100644 --- a/docs/examples/1.4.x/client-flutter/examples/account/get-prefs.md +++ b/docs/examples/1.4.x/client-flutter/examples/account/get-prefs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.getPrefs(); diff --git a/docs/examples/1.4.x/client-flutter/examples/account/get-session.md b/docs/examples/1.4.x/client-flutter/examples/account/get-session.md index 9e0f66ca3f..ac8c35b8f5 100644 --- a/docs/examples/1.4.x/client-flutter/examples/account/get-session.md +++ b/docs/examples/1.4.x/client-flutter/examples/account/get-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.getSession( diff --git a/docs/examples/1.4.x/client-flutter/examples/account/get.md b/docs/examples/1.4.x/client-flutter/examples/account/get.md index 21192de279..4bcc080dee 100644 --- a/docs/examples/1.4.x/client-flutter/examples/account/get.md +++ b/docs/examples/1.4.x/client-flutter/examples/account/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.get(); diff --git a/docs/examples/1.4.x/client-flutter/examples/account/list-identities.md b/docs/examples/1.4.x/client-flutter/examples/account/list-identities.md index 2f2eed0da3..9d9d4db3c9 100644 --- a/docs/examples/1.4.x/client-flutter/examples/account/list-identities.md +++ b/docs/examples/1.4.x/client-flutter/examples/account/list-identities.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.listIdentities( diff --git a/docs/examples/1.4.x/client-flutter/examples/account/list-logs.md b/docs/examples/1.4.x/client-flutter/examples/account/list-logs.md index 9f7088a0d8..6d793c947d 100644 --- a/docs/examples/1.4.x/client-flutter/examples/account/list-logs.md +++ b/docs/examples/1.4.x/client-flutter/examples/account/list-logs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.listLogs( diff --git a/docs/examples/1.4.x/client-flutter/examples/account/list-sessions.md b/docs/examples/1.4.x/client-flutter/examples/account/list-sessions.md index 6f2d5dc18d..3656fca1a1 100644 --- a/docs/examples/1.4.x/client-flutter/examples/account/list-sessions.md +++ b/docs/examples/1.4.x/client-flutter/examples/account/list-sessions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.listSessions(); diff --git a/docs/examples/1.4.x/client-flutter/examples/account/update-email.md b/docs/examples/1.4.x/client-flutter/examples/account/update-email.md index 1fb9a3fe7a..2383c8e0de 100644 --- a/docs/examples/1.4.x/client-flutter/examples/account/update-email.md +++ b/docs/examples/1.4.x/client-flutter/examples/account/update-email.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updateEmail( diff --git a/docs/examples/1.4.x/client-flutter/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.4.x/client-flutter/examples/account/update-magic-u-r-l-session.md index 3c7ef8f0f2..0dff3be5bf 100644 --- a/docs/examples/1.4.x/client-flutter/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.4.x/client-flutter/examples/account/update-magic-u-r-l-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updateMagicURLSession( diff --git a/docs/examples/1.4.x/client-flutter/examples/account/update-name.md b/docs/examples/1.4.x/client-flutter/examples/account/update-name.md index ae5d6235d1..4d674ec006 100644 --- a/docs/examples/1.4.x/client-flutter/examples/account/update-name.md +++ b/docs/examples/1.4.x/client-flutter/examples/account/update-name.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updateName( diff --git a/docs/examples/1.4.x/client-flutter/examples/account/update-password.md b/docs/examples/1.4.x/client-flutter/examples/account/update-password.md index b5e86de273..42514bd6a1 100644 --- a/docs/examples/1.4.x/client-flutter/examples/account/update-password.md +++ b/docs/examples/1.4.x/client-flutter/examples/account/update-password.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updatePassword( diff --git a/docs/examples/1.4.x/client-flutter/examples/account/update-phone-session.md b/docs/examples/1.4.x/client-flutter/examples/account/update-phone-session.md index 1f979265b5..dc6c8eb893 100644 --- a/docs/examples/1.4.x/client-flutter/examples/account/update-phone-session.md +++ b/docs/examples/1.4.x/client-flutter/examples/account/update-phone-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updatePhoneSession( diff --git a/docs/examples/1.4.x/client-flutter/examples/account/update-phone-verification.md b/docs/examples/1.4.x/client-flutter/examples/account/update-phone-verification.md index 86d9b0fdfc..a7acf71661 100644 --- a/docs/examples/1.4.x/client-flutter/examples/account/update-phone-verification.md +++ b/docs/examples/1.4.x/client-flutter/examples/account/update-phone-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updatePhoneVerification( diff --git a/docs/examples/1.4.x/client-flutter/examples/account/update-phone.md b/docs/examples/1.4.x/client-flutter/examples/account/update-phone.md index edfe47850b..642ead4405 100644 --- a/docs/examples/1.4.x/client-flutter/examples/account/update-phone.md +++ b/docs/examples/1.4.x/client-flutter/examples/account/update-phone.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updatePhone( diff --git a/docs/examples/1.4.x/client-flutter/examples/account/update-prefs.md b/docs/examples/1.4.x/client-flutter/examples/account/update-prefs.md index 9769708147..d37013d80a 100644 --- a/docs/examples/1.4.x/client-flutter/examples/account/update-prefs.md +++ b/docs/examples/1.4.x/client-flutter/examples/account/update-prefs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updatePrefs( diff --git a/docs/examples/1.4.x/client-flutter/examples/account/update-recovery.md b/docs/examples/1.4.x/client-flutter/examples/account/update-recovery.md index f499b18770..ce9c8b5e8e 100644 --- a/docs/examples/1.4.x/client-flutter/examples/account/update-recovery.md +++ b/docs/examples/1.4.x/client-flutter/examples/account/update-recovery.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updateRecovery( diff --git a/docs/examples/1.4.x/client-flutter/examples/account/update-session.md b/docs/examples/1.4.x/client-flutter/examples/account/update-session.md index fb1afcc526..a6e1924e05 100644 --- a/docs/examples/1.4.x/client-flutter/examples/account/update-session.md +++ b/docs/examples/1.4.x/client-flutter/examples/account/update-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updateSession( diff --git a/docs/examples/1.4.x/client-flutter/examples/account/update-status.md b/docs/examples/1.4.x/client-flutter/examples/account/update-status.md index 8e734647fb..521101c429 100644 --- a/docs/examples/1.4.x/client-flutter/examples/account/update-status.md +++ b/docs/examples/1.4.x/client-flutter/examples/account/update-status.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updateStatus(); diff --git a/docs/examples/1.4.x/client-flutter/examples/account/update-verification.md b/docs/examples/1.4.x/client-flutter/examples/account/update-verification.md index fba8ed65bb..1be9f728f7 100644 --- a/docs/examples/1.4.x/client-flutter/examples/account/update-verification.md +++ b/docs/examples/1.4.x/client-flutter/examples/account/update-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = account.updateVerification( diff --git a/docs/examples/1.4.x/client-flutter/examples/avatars/get-browser.md b/docs/examples/1.4.x/client-flutter/examples/avatars/get-browser.md index 70af56659b..5ca9106c01 100644 --- a/docs/examples/1.4.x/client-flutter/examples/avatars/get-browser.md +++ b/docs/examples/1.4.x/client-flutter/examples/avatars/get-browser.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.4.x/client-flutter/examples/avatars/get-credit-card.md b/docs/examples/1.4.x/client-flutter/examples/avatars/get-credit-card.md index 6a29dc8173..30485827a1 100644 --- a/docs/examples/1.4.x/client-flutter/examples/avatars/get-credit-card.md +++ b/docs/examples/1.4.x/client-flutter/examples/avatars/get-credit-card.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.4.x/client-flutter/examples/avatars/get-favicon.md b/docs/examples/1.4.x/client-flutter/examples/avatars/get-favicon.md index 2da0f2e056..769a873c84 100644 --- a/docs/examples/1.4.x/client-flutter/examples/avatars/get-favicon.md +++ b/docs/examples/1.4.x/client-flutter/examples/avatars/get-favicon.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.4.x/client-flutter/examples/avatars/get-flag.md b/docs/examples/1.4.x/client-flutter/examples/avatars/get-flag.md index 13367885d0..b8c3ea84d7 100644 --- a/docs/examples/1.4.x/client-flutter/examples/avatars/get-flag.md +++ b/docs/examples/1.4.x/client-flutter/examples/avatars/get-flag.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.4.x/client-flutter/examples/avatars/get-image.md b/docs/examples/1.4.x/client-flutter/examples/avatars/get-image.md index debbf1e290..a90045f78d 100644 --- a/docs/examples/1.4.x/client-flutter/examples/avatars/get-image.md +++ b/docs/examples/1.4.x/client-flutter/examples/avatars/get-image.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.4.x/client-flutter/examples/avatars/get-initials.md b/docs/examples/1.4.x/client-flutter/examples/avatars/get-initials.md index b0f49c6213..dc08dda981 100644 --- a/docs/examples/1.4.x/client-flutter/examples/avatars/get-initials.md +++ b/docs/examples/1.4.x/client-flutter/examples/avatars/get-initials.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.4.x/client-flutter/examples/avatars/get-q-r.md b/docs/examples/1.4.x/client-flutter/examples/avatars/get-q-r.md index 8df729379e..4217e4395a 100644 --- a/docs/examples/1.4.x/client-flutter/examples/avatars/get-q-r.md +++ b/docs/examples/1.4.x/client-flutter/examples/avatars/get-q-r.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.4.x/client-flutter/examples/databases/create-document.md b/docs/examples/1.4.x/client-flutter/examples/databases/create-document.md index 6a031738d5..5eabc3fb99 100644 --- a/docs/examples/1.4.x/client-flutter/examples/databases/create-document.md +++ b/docs/examples/1.4.x/client-flutter/examples/databases/create-document.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = databases.createDocument( diff --git a/docs/examples/1.4.x/client-flutter/examples/databases/delete-document.md b/docs/examples/1.4.x/client-flutter/examples/databases/delete-document.md index a377b02747..d883d08655 100644 --- a/docs/examples/1.4.x/client-flutter/examples/databases/delete-document.md +++ b/docs/examples/1.4.x/client-flutter/examples/databases/delete-document.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = databases.deleteDocument( diff --git a/docs/examples/1.4.x/client-flutter/examples/databases/get-document.md b/docs/examples/1.4.x/client-flutter/examples/databases/get-document.md index b2cf89a3fc..f03d2589b9 100644 --- a/docs/examples/1.4.x/client-flutter/examples/databases/get-document.md +++ b/docs/examples/1.4.x/client-flutter/examples/databases/get-document.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = databases.getDocument( diff --git a/docs/examples/1.4.x/client-flutter/examples/databases/list-documents.md b/docs/examples/1.4.x/client-flutter/examples/databases/list-documents.md index 4cd69e301a..d996d2bcfd 100644 --- a/docs/examples/1.4.x/client-flutter/examples/databases/list-documents.md +++ b/docs/examples/1.4.x/client-flutter/examples/databases/list-documents.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = databases.listDocuments( diff --git a/docs/examples/1.4.x/client-flutter/examples/databases/update-document.md b/docs/examples/1.4.x/client-flutter/examples/databases/update-document.md index 595099bcb1..79e5490aff 100644 --- a/docs/examples/1.4.x/client-flutter/examples/databases/update-document.md +++ b/docs/examples/1.4.x/client-flutter/examples/databases/update-document.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = databases.updateDocument( diff --git a/docs/examples/1.4.x/client-flutter/examples/functions/create-execution.md b/docs/examples/1.4.x/client-flutter/examples/functions/create-execution.md index b188c32f47..bb9feb3442 100644 --- a/docs/examples/1.4.x/client-flutter/examples/functions/create-execution.md +++ b/docs/examples/1.4.x/client-flutter/examples/functions/create-execution.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = functions.createExecution( diff --git a/docs/examples/1.4.x/client-flutter/examples/functions/get-execution.md b/docs/examples/1.4.x/client-flutter/examples/functions/get-execution.md index f30b4b4495..76a1392586 100644 --- a/docs/examples/1.4.x/client-flutter/examples/functions/get-execution.md +++ b/docs/examples/1.4.x/client-flutter/examples/functions/get-execution.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = functions.getExecution( diff --git a/docs/examples/1.4.x/client-flutter/examples/functions/list-executions.md b/docs/examples/1.4.x/client-flutter/examples/functions/list-executions.md index 1840f50d7f..4f363e7e82 100644 --- a/docs/examples/1.4.x/client-flutter/examples/functions/list-executions.md +++ b/docs/examples/1.4.x/client-flutter/examples/functions/list-executions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = functions.listExecutions( diff --git a/docs/examples/1.4.x/client-flutter/examples/graphql/mutation.md b/docs/examples/1.4.x/client-flutter/examples/graphql/mutation.md index c0bffce70a..160c5ec892 100644 --- a/docs/examples/1.4.x/client-flutter/examples/graphql/mutation.md +++ b/docs/examples/1.4.x/client-flutter/examples/graphql/mutation.md @@ -5,7 +5,7 @@ void main() { // Init SDK Graphql graphql = Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = graphql.mutation( diff --git a/docs/examples/1.4.x/client-flutter/examples/graphql/query.md b/docs/examples/1.4.x/client-flutter/examples/graphql/query.md index 455cb0bd22..fd5d8e1500 100644 --- a/docs/examples/1.4.x/client-flutter/examples/graphql/query.md +++ b/docs/examples/1.4.x/client-flutter/examples/graphql/query.md @@ -5,7 +5,7 @@ void main() { // Init SDK Graphql graphql = Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = graphql.query( diff --git a/docs/examples/1.4.x/client-flutter/examples/locale/get.md b/docs/examples/1.4.x/client-flutter/examples/locale/get.md index 9e9fa96b22..565253d950 100644 --- a/docs/examples/1.4.x/client-flutter/examples/locale/get.md +++ b/docs/examples/1.4.x/client-flutter/examples/locale/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = locale.get(); diff --git a/docs/examples/1.4.x/client-flutter/examples/locale/list-codes.md b/docs/examples/1.4.x/client-flutter/examples/locale/list-codes.md index d11cb7bd35..6841904665 100644 --- a/docs/examples/1.4.x/client-flutter/examples/locale/list-codes.md +++ b/docs/examples/1.4.x/client-flutter/examples/locale/list-codes.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = locale.listCodes(); diff --git a/docs/examples/1.4.x/client-flutter/examples/locale/list-continents.md b/docs/examples/1.4.x/client-flutter/examples/locale/list-continents.md index 0ab2a4aba1..cbaa88b3de 100644 --- a/docs/examples/1.4.x/client-flutter/examples/locale/list-continents.md +++ b/docs/examples/1.4.x/client-flutter/examples/locale/list-continents.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = locale.listContinents(); diff --git a/docs/examples/1.4.x/client-flutter/examples/locale/list-countries-e-u.md b/docs/examples/1.4.x/client-flutter/examples/locale/list-countries-e-u.md index caa32e8562..af8da46e9b 100644 --- a/docs/examples/1.4.x/client-flutter/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.4.x/client-flutter/examples/locale/list-countries-e-u.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = locale.listCountriesEU(); diff --git a/docs/examples/1.4.x/client-flutter/examples/locale/list-countries-phones.md b/docs/examples/1.4.x/client-flutter/examples/locale/list-countries-phones.md index b122eee7d4..1b5438b3ca 100644 --- a/docs/examples/1.4.x/client-flutter/examples/locale/list-countries-phones.md +++ b/docs/examples/1.4.x/client-flutter/examples/locale/list-countries-phones.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = locale.listCountriesPhones(); diff --git a/docs/examples/1.4.x/client-flutter/examples/locale/list-countries.md b/docs/examples/1.4.x/client-flutter/examples/locale/list-countries.md index e6a367ddb8..704d35de89 100644 --- a/docs/examples/1.4.x/client-flutter/examples/locale/list-countries.md +++ b/docs/examples/1.4.x/client-flutter/examples/locale/list-countries.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = locale.listCountries(); diff --git a/docs/examples/1.4.x/client-flutter/examples/locale/list-currencies.md b/docs/examples/1.4.x/client-flutter/examples/locale/list-currencies.md index fcd1e825e3..52b6877069 100644 --- a/docs/examples/1.4.x/client-flutter/examples/locale/list-currencies.md +++ b/docs/examples/1.4.x/client-flutter/examples/locale/list-currencies.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = locale.listCurrencies(); diff --git a/docs/examples/1.4.x/client-flutter/examples/locale/list-languages.md b/docs/examples/1.4.x/client-flutter/examples/locale/list-languages.md index 1fb68aa84f..a54c6a1175 100644 --- a/docs/examples/1.4.x/client-flutter/examples/locale/list-languages.md +++ b/docs/examples/1.4.x/client-flutter/examples/locale/list-languages.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = locale.listLanguages(); diff --git a/docs/examples/1.4.x/client-flutter/examples/storage/create-file.md b/docs/examples/1.4.x/client-flutter/examples/storage/create-file.md index 0f5e44f5e8..fc4d327839 100644 --- a/docs/examples/1.4.x/client-flutter/examples/storage/create-file.md +++ b/docs/examples/1.4.x/client-flutter/examples/storage/create-file.md @@ -6,7 +6,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = storage.createFile( diff --git a/docs/examples/1.4.x/client-flutter/examples/storage/delete-file.md b/docs/examples/1.4.x/client-flutter/examples/storage/delete-file.md index 230b73a9ac..79cc9ef48c 100644 --- a/docs/examples/1.4.x/client-flutter/examples/storage/delete-file.md +++ b/docs/examples/1.4.x/client-flutter/examples/storage/delete-file.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = storage.deleteFile( diff --git a/docs/examples/1.4.x/client-flutter/examples/storage/get-file-download.md b/docs/examples/1.4.x/client-flutter/examples/storage/get-file-download.md index 883b7d69c4..cae5218c3a 100644 --- a/docs/examples/1.4.x/client-flutter/examples/storage/get-file-download.md +++ b/docs/examples/1.4.x/client-flutter/examples/storage/get-file-download.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.4.x/client-flutter/examples/storage/get-file-preview.md b/docs/examples/1.4.x/client-flutter/examples/storage/get-file-preview.md index f42138bd03..131630ec66 100644 --- a/docs/examples/1.4.x/client-flutter/examples/storage/get-file-preview.md +++ b/docs/examples/1.4.x/client-flutter/examples/storage/get-file-preview.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.4.x/client-flutter/examples/storage/get-file-view.md b/docs/examples/1.4.x/client-flutter/examples/storage/get-file-view.md index 4f7c4d962b..cfac3ac3b1 100644 --- a/docs/examples/1.4.x/client-flutter/examples/storage/get-file-view.md +++ b/docs/examples/1.4.x/client-flutter/examples/storage/get-file-view.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; // downloading file diff --git a/docs/examples/1.4.x/client-flutter/examples/storage/get-file.md b/docs/examples/1.4.x/client-flutter/examples/storage/get-file.md index 681aca41e0..c997612386 100644 --- a/docs/examples/1.4.x/client-flutter/examples/storage/get-file.md +++ b/docs/examples/1.4.x/client-flutter/examples/storage/get-file.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = storage.getFile( diff --git a/docs/examples/1.4.x/client-flutter/examples/storage/list-files.md b/docs/examples/1.4.x/client-flutter/examples/storage/list-files.md index e574f7bdaa..d4d07c1909 100644 --- a/docs/examples/1.4.x/client-flutter/examples/storage/list-files.md +++ b/docs/examples/1.4.x/client-flutter/examples/storage/list-files.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = storage.listFiles( diff --git a/docs/examples/1.4.x/client-flutter/examples/storage/update-file.md b/docs/examples/1.4.x/client-flutter/examples/storage/update-file.md index 1170f05cf3..3d8140f408 100644 --- a/docs/examples/1.4.x/client-flutter/examples/storage/update-file.md +++ b/docs/examples/1.4.x/client-flutter/examples/storage/update-file.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = storage.updateFile( diff --git a/docs/examples/1.4.x/client-flutter/examples/teams/create-membership.md b/docs/examples/1.4.x/client-flutter/examples/teams/create-membership.md index 994462686f..9065e5cd15 100644 --- a/docs/examples/1.4.x/client-flutter/examples/teams/create-membership.md +++ b/docs/examples/1.4.x/client-flutter/examples/teams/create-membership.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.createMembership( diff --git a/docs/examples/1.4.x/client-flutter/examples/teams/create.md b/docs/examples/1.4.x/client-flutter/examples/teams/create.md index bd62ce32ab..772eacc2a9 100644 --- a/docs/examples/1.4.x/client-flutter/examples/teams/create.md +++ b/docs/examples/1.4.x/client-flutter/examples/teams/create.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.create( diff --git a/docs/examples/1.4.x/client-flutter/examples/teams/delete-membership.md b/docs/examples/1.4.x/client-flutter/examples/teams/delete-membership.md index 0febe42121..7bcfaae8e6 100644 --- a/docs/examples/1.4.x/client-flutter/examples/teams/delete-membership.md +++ b/docs/examples/1.4.x/client-flutter/examples/teams/delete-membership.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.deleteMembership( diff --git a/docs/examples/1.4.x/client-flutter/examples/teams/delete.md b/docs/examples/1.4.x/client-flutter/examples/teams/delete.md index b45d971bf6..22fe4e0b44 100644 --- a/docs/examples/1.4.x/client-flutter/examples/teams/delete.md +++ b/docs/examples/1.4.x/client-flutter/examples/teams/delete.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.delete( diff --git a/docs/examples/1.4.x/client-flutter/examples/teams/get-membership.md b/docs/examples/1.4.x/client-flutter/examples/teams/get-membership.md index 28d95a201b..9c7eac46ac 100644 --- a/docs/examples/1.4.x/client-flutter/examples/teams/get-membership.md +++ b/docs/examples/1.4.x/client-flutter/examples/teams/get-membership.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.getMembership( diff --git a/docs/examples/1.4.x/client-flutter/examples/teams/get-prefs.md b/docs/examples/1.4.x/client-flutter/examples/teams/get-prefs.md index e9ae94eb3f..6a40cf6684 100644 --- a/docs/examples/1.4.x/client-flutter/examples/teams/get-prefs.md +++ b/docs/examples/1.4.x/client-flutter/examples/teams/get-prefs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.getPrefs( diff --git a/docs/examples/1.4.x/client-flutter/examples/teams/get.md b/docs/examples/1.4.x/client-flutter/examples/teams/get.md index 0ec7027f89..a3d59c10e8 100644 --- a/docs/examples/1.4.x/client-flutter/examples/teams/get.md +++ b/docs/examples/1.4.x/client-flutter/examples/teams/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.get( diff --git a/docs/examples/1.4.x/client-flutter/examples/teams/list-memberships.md b/docs/examples/1.4.x/client-flutter/examples/teams/list-memberships.md index cbbc525dc4..bb2a37df46 100644 --- a/docs/examples/1.4.x/client-flutter/examples/teams/list-memberships.md +++ b/docs/examples/1.4.x/client-flutter/examples/teams/list-memberships.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.listMemberships( diff --git a/docs/examples/1.4.x/client-flutter/examples/teams/list.md b/docs/examples/1.4.x/client-flutter/examples/teams/list.md index 80aa3016c2..41e0136529 100644 --- a/docs/examples/1.4.x/client-flutter/examples/teams/list.md +++ b/docs/examples/1.4.x/client-flutter/examples/teams/list.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.list( diff --git a/docs/examples/1.4.x/client-flutter/examples/teams/update-membership-status.md b/docs/examples/1.4.x/client-flutter/examples/teams/update-membership-status.md index ed31f54b20..65584ff424 100644 --- a/docs/examples/1.4.x/client-flutter/examples/teams/update-membership-status.md +++ b/docs/examples/1.4.x/client-flutter/examples/teams/update-membership-status.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.updateMembershipStatus( diff --git a/docs/examples/1.4.x/client-flutter/examples/teams/update-membership.md b/docs/examples/1.4.x/client-flutter/examples/teams/update-membership.md index 669568bd81..1397b98394 100644 --- a/docs/examples/1.4.x/client-flutter/examples/teams/update-membership.md +++ b/docs/examples/1.4.x/client-flutter/examples/teams/update-membership.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.updateMembership( diff --git a/docs/examples/1.4.x/client-flutter/examples/teams/update-name.md b/docs/examples/1.4.x/client-flutter/examples/teams/update-name.md index 5c794bd99b..7f20a7c10b 100644 --- a/docs/examples/1.4.x/client-flutter/examples/teams/update-name.md +++ b/docs/examples/1.4.x/client-flutter/examples/teams/update-name.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.updateName( diff --git a/docs/examples/1.4.x/client-flutter/examples/teams/update-prefs.md b/docs/examples/1.4.x/client-flutter/examples/teams/update-prefs.md index c29cbb9eb1..5771168177 100644 --- a/docs/examples/1.4.x/client-flutter/examples/teams/update-prefs.md +++ b/docs/examples/1.4.x/client-flutter/examples/teams/update-prefs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = teams.updatePrefs( diff --git a/docs/examples/1.4.x/client-web/examples/account/create-anonymous-session.md b/docs/examples/1.4.x/client-web/examples/account/create-anonymous-session.md index c331fc8863..d107d4a8df 100644 --- a/docs/examples/1.4.x/client-web/examples/account/create-anonymous-session.md +++ b/docs/examples/1.4.x/client-web/examples/account/create-anonymous-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/account/create-email-session.md b/docs/examples/1.4.x/client-web/examples/account/create-email-session.md index 76e2e31665..fc25824dad 100644 --- a/docs/examples/1.4.x/client-web/examples/account/create-email-session.md +++ b/docs/examples/1.4.x/client-web/examples/account/create-email-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/account/create-j-w-t.md b/docs/examples/1.4.x/client-web/examples/account/create-j-w-t.md index f388a3da31..db78c41c3c 100644 --- a/docs/examples/1.4.x/client-web/examples/account/create-j-w-t.md +++ b/docs/examples/1.4.x/client-web/examples/account/create-j-w-t.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/account/create-magic-u-r-l-session.md b/docs/examples/1.4.x/client-web/examples/account/create-magic-u-r-l-session.md index d48f031ded..1179a0efc6 100644 --- a/docs/examples/1.4.x/client-web/examples/account/create-magic-u-r-l-session.md +++ b/docs/examples/1.4.x/client-web/examples/account/create-magic-u-r-l-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/account/create-o-auth2session.md b/docs/examples/1.4.x/client-web/examples/account/create-o-auth2session.md index 3757a1c63f..03b7d2cb48 100644 --- a/docs/examples/1.4.x/client-web/examples/account/create-o-auth2session.md +++ b/docs/examples/1.4.x/client-web/examples/account/create-o-auth2session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/account/create-phone-session.md b/docs/examples/1.4.x/client-web/examples/account/create-phone-session.md index e5a23aafee..53ead8a3f8 100644 --- a/docs/examples/1.4.x/client-web/examples/account/create-phone-session.md +++ b/docs/examples/1.4.x/client-web/examples/account/create-phone-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/account/create-phone-verification.md b/docs/examples/1.4.x/client-web/examples/account/create-phone-verification.md index a1cbd55277..974f94503f 100644 --- a/docs/examples/1.4.x/client-web/examples/account/create-phone-verification.md +++ b/docs/examples/1.4.x/client-web/examples/account/create-phone-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/account/create-recovery.md b/docs/examples/1.4.x/client-web/examples/account/create-recovery.md index 1838c0414c..7030423d2f 100644 --- a/docs/examples/1.4.x/client-web/examples/account/create-recovery.md +++ b/docs/examples/1.4.x/client-web/examples/account/create-recovery.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/account/create-verification.md b/docs/examples/1.4.x/client-web/examples/account/create-verification.md index 4d8446e6ef..6448a72496 100644 --- a/docs/examples/1.4.x/client-web/examples/account/create-verification.md +++ b/docs/examples/1.4.x/client-web/examples/account/create-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/account/create.md b/docs/examples/1.4.x/client-web/examples/account/create.md index fda1d88e0f..f15b65307d 100644 --- a/docs/examples/1.4.x/client-web/examples/account/create.md +++ b/docs/examples/1.4.x/client-web/examples/account/create.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/account/delete-identity.md b/docs/examples/1.4.x/client-web/examples/account/delete-identity.md index b4230cef33..7dd55f59e7 100644 --- a/docs/examples/1.4.x/client-web/examples/account/delete-identity.md +++ b/docs/examples/1.4.x/client-web/examples/account/delete-identity.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/account/delete-session.md b/docs/examples/1.4.x/client-web/examples/account/delete-session.md index c342afb2c9..052b78d845 100644 --- a/docs/examples/1.4.x/client-web/examples/account/delete-session.md +++ b/docs/examples/1.4.x/client-web/examples/account/delete-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/account/delete-sessions.md b/docs/examples/1.4.x/client-web/examples/account/delete-sessions.md index 82133e3845..64b1c591d3 100644 --- a/docs/examples/1.4.x/client-web/examples/account/delete-sessions.md +++ b/docs/examples/1.4.x/client-web/examples/account/delete-sessions.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/account/get-prefs.md b/docs/examples/1.4.x/client-web/examples/account/get-prefs.md index b98776fd9d..a02dc51785 100644 --- a/docs/examples/1.4.x/client-web/examples/account/get-prefs.md +++ b/docs/examples/1.4.x/client-web/examples/account/get-prefs.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/account/get-session.md b/docs/examples/1.4.x/client-web/examples/account/get-session.md index 43edd7d08a..21be1738ba 100644 --- a/docs/examples/1.4.x/client-web/examples/account/get-session.md +++ b/docs/examples/1.4.x/client-web/examples/account/get-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/account/get.md b/docs/examples/1.4.x/client-web/examples/account/get.md index 878227f019..539ace69af 100644 --- a/docs/examples/1.4.x/client-web/examples/account/get.md +++ b/docs/examples/1.4.x/client-web/examples/account/get.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/account/list-identities.md b/docs/examples/1.4.x/client-web/examples/account/list-identities.md index 91e01e221f..8e791353cd 100644 --- a/docs/examples/1.4.x/client-web/examples/account/list-identities.md +++ b/docs/examples/1.4.x/client-web/examples/account/list-identities.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/account/list-logs.md b/docs/examples/1.4.x/client-web/examples/account/list-logs.md index d710f7daa3..d26bd396ba 100644 --- a/docs/examples/1.4.x/client-web/examples/account/list-logs.md +++ b/docs/examples/1.4.x/client-web/examples/account/list-logs.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/account/list-sessions.md b/docs/examples/1.4.x/client-web/examples/account/list-sessions.md index ce6ec74862..c5a5625b17 100644 --- a/docs/examples/1.4.x/client-web/examples/account/list-sessions.md +++ b/docs/examples/1.4.x/client-web/examples/account/list-sessions.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/account/update-email.md b/docs/examples/1.4.x/client-web/examples/account/update-email.md index baac3a0ab0..2242db702c 100644 --- a/docs/examples/1.4.x/client-web/examples/account/update-email.md +++ b/docs/examples/1.4.x/client-web/examples/account/update-email.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.4.x/client-web/examples/account/update-magic-u-r-l-session.md index c07fee2b14..70bf5d17da 100644 --- a/docs/examples/1.4.x/client-web/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.4.x/client-web/examples/account/update-magic-u-r-l-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/account/update-name.md b/docs/examples/1.4.x/client-web/examples/account/update-name.md index 4af963d5fc..8ec9bd2395 100644 --- a/docs/examples/1.4.x/client-web/examples/account/update-name.md +++ b/docs/examples/1.4.x/client-web/examples/account/update-name.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/account/update-password.md b/docs/examples/1.4.x/client-web/examples/account/update-password.md index 2404a743e7..0dcff6bfde 100644 --- a/docs/examples/1.4.x/client-web/examples/account/update-password.md +++ b/docs/examples/1.4.x/client-web/examples/account/update-password.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/account/update-phone-session.md b/docs/examples/1.4.x/client-web/examples/account/update-phone-session.md index b3b29481a9..9870627d9f 100644 --- a/docs/examples/1.4.x/client-web/examples/account/update-phone-session.md +++ b/docs/examples/1.4.x/client-web/examples/account/update-phone-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/account/update-phone-verification.md b/docs/examples/1.4.x/client-web/examples/account/update-phone-verification.md index a274c9b07c..912f178814 100644 --- a/docs/examples/1.4.x/client-web/examples/account/update-phone-verification.md +++ b/docs/examples/1.4.x/client-web/examples/account/update-phone-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/account/update-phone.md b/docs/examples/1.4.x/client-web/examples/account/update-phone.md index a1017fc7f4..6ee5eb40e8 100644 --- a/docs/examples/1.4.x/client-web/examples/account/update-phone.md +++ b/docs/examples/1.4.x/client-web/examples/account/update-phone.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/account/update-prefs.md b/docs/examples/1.4.x/client-web/examples/account/update-prefs.md index ecceff3158..3f90dfabd2 100644 --- a/docs/examples/1.4.x/client-web/examples/account/update-prefs.md +++ b/docs/examples/1.4.x/client-web/examples/account/update-prefs.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/account/update-recovery.md b/docs/examples/1.4.x/client-web/examples/account/update-recovery.md index eb78a8a52d..200b993a4c 100644 --- a/docs/examples/1.4.x/client-web/examples/account/update-recovery.md +++ b/docs/examples/1.4.x/client-web/examples/account/update-recovery.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/account/update-session.md b/docs/examples/1.4.x/client-web/examples/account/update-session.md index a7a42c663a..a8c40ebb81 100644 --- a/docs/examples/1.4.x/client-web/examples/account/update-session.md +++ b/docs/examples/1.4.x/client-web/examples/account/update-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/account/update-status.md b/docs/examples/1.4.x/client-web/examples/account/update-status.md index 9cbe78c5c4..d3ac91e7d5 100644 --- a/docs/examples/1.4.x/client-web/examples/account/update-status.md +++ b/docs/examples/1.4.x/client-web/examples/account/update-status.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/account/update-verification.md b/docs/examples/1.4.x/client-web/examples/account/update-verification.md index 73338da4df..404fdd4352 100644 --- a/docs/examples/1.4.x/client-web/examples/account/update-verification.md +++ b/docs/examples/1.4.x/client-web/examples/account/update-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/avatars/get-browser.md b/docs/examples/1.4.x/client-web/examples/avatars/get-browser.md index 0b4c2def00..cf5beeb458 100644 --- a/docs/examples/1.4.x/client-web/examples/avatars/get-browser.md +++ b/docs/examples/1.4.x/client-web/examples/avatars/get-browser.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/avatars/get-credit-card.md b/docs/examples/1.4.x/client-web/examples/avatars/get-credit-card.md index 082ed92b67..3486722f90 100644 --- a/docs/examples/1.4.x/client-web/examples/avatars/get-credit-card.md +++ b/docs/examples/1.4.x/client-web/examples/avatars/get-credit-card.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/avatars/get-favicon.md b/docs/examples/1.4.x/client-web/examples/avatars/get-favicon.md index 7ee6bd3da2..5e0056c888 100644 --- a/docs/examples/1.4.x/client-web/examples/avatars/get-favicon.md +++ b/docs/examples/1.4.x/client-web/examples/avatars/get-favicon.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/avatars/get-flag.md b/docs/examples/1.4.x/client-web/examples/avatars/get-flag.md index a43827a1ae..7e95a5bc13 100644 --- a/docs/examples/1.4.x/client-web/examples/avatars/get-flag.md +++ b/docs/examples/1.4.x/client-web/examples/avatars/get-flag.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/avatars/get-image.md b/docs/examples/1.4.x/client-web/examples/avatars/get-image.md index ea186a1a68..b6d25c7389 100644 --- a/docs/examples/1.4.x/client-web/examples/avatars/get-image.md +++ b/docs/examples/1.4.x/client-web/examples/avatars/get-image.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/avatars/get-initials.md b/docs/examples/1.4.x/client-web/examples/avatars/get-initials.md index 7e8c8ec413..efee82cfab 100644 --- a/docs/examples/1.4.x/client-web/examples/avatars/get-initials.md +++ b/docs/examples/1.4.x/client-web/examples/avatars/get-initials.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/avatars/get-q-r.md b/docs/examples/1.4.x/client-web/examples/avatars/get-q-r.md index b957084aa1..412dff00ea 100644 --- a/docs/examples/1.4.x/client-web/examples/avatars/get-q-r.md +++ b/docs/examples/1.4.x/client-web/examples/avatars/get-q-r.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/databases/create-document.md b/docs/examples/1.4.x/client-web/examples/databases/create-document.md index 92792066ef..a87121baa7 100644 --- a/docs/examples/1.4.x/client-web/examples/databases/create-document.md +++ b/docs/examples/1.4.x/client-web/examples/databases/create-document.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/databases/delete-document.md b/docs/examples/1.4.x/client-web/examples/databases/delete-document.md index 9e281e7166..39f96d4d12 100644 --- a/docs/examples/1.4.x/client-web/examples/databases/delete-document.md +++ b/docs/examples/1.4.x/client-web/examples/databases/delete-document.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/databases/get-document.md b/docs/examples/1.4.x/client-web/examples/databases/get-document.md index ea80328794..b38f81805d 100644 --- a/docs/examples/1.4.x/client-web/examples/databases/get-document.md +++ b/docs/examples/1.4.x/client-web/examples/databases/get-document.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/databases/list-documents.md b/docs/examples/1.4.x/client-web/examples/databases/list-documents.md index 4a94c99db3..9be7797389 100644 --- a/docs/examples/1.4.x/client-web/examples/databases/list-documents.md +++ b/docs/examples/1.4.x/client-web/examples/databases/list-documents.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/databases/update-document.md b/docs/examples/1.4.x/client-web/examples/databases/update-document.md index cc5ef1cc02..6d58415112 100644 --- a/docs/examples/1.4.x/client-web/examples/databases/update-document.md +++ b/docs/examples/1.4.x/client-web/examples/databases/update-document.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/functions/create-execution.md b/docs/examples/1.4.x/client-web/examples/functions/create-execution.md index 4fc7ac7545..091e3aae24 100644 --- a/docs/examples/1.4.x/client-web/examples/functions/create-execution.md +++ b/docs/examples/1.4.x/client-web/examples/functions/create-execution.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/functions/get-execution.md b/docs/examples/1.4.x/client-web/examples/functions/get-execution.md index 2473572c05..704cf52c62 100644 --- a/docs/examples/1.4.x/client-web/examples/functions/get-execution.md +++ b/docs/examples/1.4.x/client-web/examples/functions/get-execution.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/functions/list-executions.md b/docs/examples/1.4.x/client-web/examples/functions/list-executions.md index 481986ef40..b0a74de4a0 100644 --- a/docs/examples/1.4.x/client-web/examples/functions/list-executions.md +++ b/docs/examples/1.4.x/client-web/examples/functions/list-executions.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/graphql/mutation.md b/docs/examples/1.4.x/client-web/examples/graphql/mutation.md index 1a0b61cd3b..c968d9a245 100644 --- a/docs/examples/1.4.x/client-web/examples/graphql/mutation.md +++ b/docs/examples/1.4.x/client-web/examples/graphql/mutation.md @@ -5,7 +5,7 @@ const client = new Client(); const graphql = new Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/graphql/query.md b/docs/examples/1.4.x/client-web/examples/graphql/query.md index e507fbb5aa..8d1e5edd18 100644 --- a/docs/examples/1.4.x/client-web/examples/graphql/query.md +++ b/docs/examples/1.4.x/client-web/examples/graphql/query.md @@ -5,7 +5,7 @@ const client = new Client(); const graphql = new Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/locale/get.md b/docs/examples/1.4.x/client-web/examples/locale/get.md index e15bad2ce1..1001b36d05 100644 --- a/docs/examples/1.4.x/client-web/examples/locale/get.md +++ b/docs/examples/1.4.x/client-web/examples/locale/get.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/locale/list-codes.md b/docs/examples/1.4.x/client-web/examples/locale/list-codes.md index a18baa0025..98b4152d03 100644 --- a/docs/examples/1.4.x/client-web/examples/locale/list-codes.md +++ b/docs/examples/1.4.x/client-web/examples/locale/list-codes.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/locale/list-continents.md b/docs/examples/1.4.x/client-web/examples/locale/list-continents.md index aa3716ef56..9239750852 100644 --- a/docs/examples/1.4.x/client-web/examples/locale/list-continents.md +++ b/docs/examples/1.4.x/client-web/examples/locale/list-continents.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/locale/list-countries-e-u.md b/docs/examples/1.4.x/client-web/examples/locale/list-countries-e-u.md index c924b8df4b..005d5a3327 100644 --- a/docs/examples/1.4.x/client-web/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.4.x/client-web/examples/locale/list-countries-e-u.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/locale/list-countries-phones.md b/docs/examples/1.4.x/client-web/examples/locale/list-countries-phones.md index 0ab60767da..2e5faf107d 100644 --- a/docs/examples/1.4.x/client-web/examples/locale/list-countries-phones.md +++ b/docs/examples/1.4.x/client-web/examples/locale/list-countries-phones.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/locale/list-countries.md b/docs/examples/1.4.x/client-web/examples/locale/list-countries.md index ee8c454993..d57ab0b732 100644 --- a/docs/examples/1.4.x/client-web/examples/locale/list-countries.md +++ b/docs/examples/1.4.x/client-web/examples/locale/list-countries.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/locale/list-currencies.md b/docs/examples/1.4.x/client-web/examples/locale/list-currencies.md index dd37b14e25..31015d585c 100644 --- a/docs/examples/1.4.x/client-web/examples/locale/list-currencies.md +++ b/docs/examples/1.4.x/client-web/examples/locale/list-currencies.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/locale/list-languages.md b/docs/examples/1.4.x/client-web/examples/locale/list-languages.md index 89ae06d529..cfd9adcc1a 100644 --- a/docs/examples/1.4.x/client-web/examples/locale/list-languages.md +++ b/docs/examples/1.4.x/client-web/examples/locale/list-languages.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/storage/create-file.md b/docs/examples/1.4.x/client-web/examples/storage/create-file.md index 0cddb08690..8e84ec8cee 100644 --- a/docs/examples/1.4.x/client-web/examples/storage/create-file.md +++ b/docs/examples/1.4.x/client-web/examples/storage/create-file.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/storage/delete-file.md b/docs/examples/1.4.x/client-web/examples/storage/delete-file.md index 257d855c32..47416bbb8f 100644 --- a/docs/examples/1.4.x/client-web/examples/storage/delete-file.md +++ b/docs/examples/1.4.x/client-web/examples/storage/delete-file.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/storage/get-file-download.md b/docs/examples/1.4.x/client-web/examples/storage/get-file-download.md index d8a3542aab..d9f4cd1895 100644 --- a/docs/examples/1.4.x/client-web/examples/storage/get-file-download.md +++ b/docs/examples/1.4.x/client-web/examples/storage/get-file-download.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/storage/get-file-preview.md b/docs/examples/1.4.x/client-web/examples/storage/get-file-preview.md index f0588ba7dc..d2d4731322 100644 --- a/docs/examples/1.4.x/client-web/examples/storage/get-file-preview.md +++ b/docs/examples/1.4.x/client-web/examples/storage/get-file-preview.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/storage/get-file-view.md b/docs/examples/1.4.x/client-web/examples/storage/get-file-view.md index 5eb2855bef..e9d0ff6d8d 100644 --- a/docs/examples/1.4.x/client-web/examples/storage/get-file-view.md +++ b/docs/examples/1.4.x/client-web/examples/storage/get-file-view.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/storage/get-file.md b/docs/examples/1.4.x/client-web/examples/storage/get-file.md index 6b39ee386e..e326154a4e 100644 --- a/docs/examples/1.4.x/client-web/examples/storage/get-file.md +++ b/docs/examples/1.4.x/client-web/examples/storage/get-file.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/storage/list-files.md b/docs/examples/1.4.x/client-web/examples/storage/list-files.md index 696d4013cd..7faeb85cb1 100644 --- a/docs/examples/1.4.x/client-web/examples/storage/list-files.md +++ b/docs/examples/1.4.x/client-web/examples/storage/list-files.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/storage/update-file.md b/docs/examples/1.4.x/client-web/examples/storage/update-file.md index d22a2f6a11..747044dc30 100644 --- a/docs/examples/1.4.x/client-web/examples/storage/update-file.md +++ b/docs/examples/1.4.x/client-web/examples/storage/update-file.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/teams/create-membership.md b/docs/examples/1.4.x/client-web/examples/teams/create-membership.md index 3e4707753a..7f9f4a73b1 100644 --- a/docs/examples/1.4.x/client-web/examples/teams/create-membership.md +++ b/docs/examples/1.4.x/client-web/examples/teams/create-membership.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/teams/create.md b/docs/examples/1.4.x/client-web/examples/teams/create.md index c9037e9575..382b759d9c 100644 --- a/docs/examples/1.4.x/client-web/examples/teams/create.md +++ b/docs/examples/1.4.x/client-web/examples/teams/create.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/teams/delete-membership.md b/docs/examples/1.4.x/client-web/examples/teams/delete-membership.md index c42d669457..76232de1ab 100644 --- a/docs/examples/1.4.x/client-web/examples/teams/delete-membership.md +++ b/docs/examples/1.4.x/client-web/examples/teams/delete-membership.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/teams/delete.md b/docs/examples/1.4.x/client-web/examples/teams/delete.md index 0c99b7aab8..2e5e839551 100644 --- a/docs/examples/1.4.x/client-web/examples/teams/delete.md +++ b/docs/examples/1.4.x/client-web/examples/teams/delete.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/teams/get-membership.md b/docs/examples/1.4.x/client-web/examples/teams/get-membership.md index d4d3c5a65d..0e2c145445 100644 --- a/docs/examples/1.4.x/client-web/examples/teams/get-membership.md +++ b/docs/examples/1.4.x/client-web/examples/teams/get-membership.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/teams/get-prefs.md b/docs/examples/1.4.x/client-web/examples/teams/get-prefs.md index bcf3f43806..6c729eead7 100644 --- a/docs/examples/1.4.x/client-web/examples/teams/get-prefs.md +++ b/docs/examples/1.4.x/client-web/examples/teams/get-prefs.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/teams/get.md b/docs/examples/1.4.x/client-web/examples/teams/get.md index 396916ed41..cdf8812225 100644 --- a/docs/examples/1.4.x/client-web/examples/teams/get.md +++ b/docs/examples/1.4.x/client-web/examples/teams/get.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/teams/list-memberships.md b/docs/examples/1.4.x/client-web/examples/teams/list-memberships.md index dfa0163037..845d0ce229 100644 --- a/docs/examples/1.4.x/client-web/examples/teams/list-memberships.md +++ b/docs/examples/1.4.x/client-web/examples/teams/list-memberships.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/teams/list.md b/docs/examples/1.4.x/client-web/examples/teams/list.md index daf799b95a..97b4ca31f3 100644 --- a/docs/examples/1.4.x/client-web/examples/teams/list.md +++ b/docs/examples/1.4.x/client-web/examples/teams/list.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/teams/update-membership-status.md b/docs/examples/1.4.x/client-web/examples/teams/update-membership-status.md index de1b7f8402..5ef0b2289c 100644 --- a/docs/examples/1.4.x/client-web/examples/teams/update-membership-status.md +++ b/docs/examples/1.4.x/client-web/examples/teams/update-membership-status.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/teams/update-membership.md b/docs/examples/1.4.x/client-web/examples/teams/update-membership.md index 662cb91781..aaa79028a0 100644 --- a/docs/examples/1.4.x/client-web/examples/teams/update-membership.md +++ b/docs/examples/1.4.x/client-web/examples/teams/update-membership.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/teams/update-name.md b/docs/examples/1.4.x/client-web/examples/teams/update-name.md index 3159d51c6c..80e59bbae6 100644 --- a/docs/examples/1.4.x/client-web/examples/teams/update-name.md +++ b/docs/examples/1.4.x/client-web/examples/teams/update-name.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/client-web/examples/teams/update-prefs.md b/docs/examples/1.4.x/client-web/examples/teams/update-prefs.md index 36f60b18e7..4ff1ca7a7f 100644 --- a/docs/examples/1.4.x/client-web/examples/teams/update-prefs.md +++ b/docs/examples/1.4.x/client-web/examples/teams/update-prefs.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/account/create-anonymous-session.md b/docs/examples/1.4.x/console-web/examples/account/create-anonymous-session.md index 9521cf68a5..81b49b3364 100644 --- a/docs/examples/1.4.x/console-web/examples/account/create-anonymous-session.md +++ b/docs/examples/1.4.x/console-web/examples/account/create-anonymous-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/account/create-email-session.md b/docs/examples/1.4.x/console-web/examples/account/create-email-session.md index 19812773df..4b9d12c64f 100644 --- a/docs/examples/1.4.x/console-web/examples/account/create-email-session.md +++ b/docs/examples/1.4.x/console-web/examples/account/create-email-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/account/create-j-w-t.md b/docs/examples/1.4.x/console-web/examples/account/create-j-w-t.md index 8a851df369..86336ab693 100644 --- a/docs/examples/1.4.x/console-web/examples/account/create-j-w-t.md +++ b/docs/examples/1.4.x/console-web/examples/account/create-j-w-t.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/account/create-magic-u-r-l-session.md b/docs/examples/1.4.x/console-web/examples/account/create-magic-u-r-l-session.md index 6917aa288c..b000a713dd 100644 --- a/docs/examples/1.4.x/console-web/examples/account/create-magic-u-r-l-session.md +++ b/docs/examples/1.4.x/console-web/examples/account/create-magic-u-r-l-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/account/create-o-auth2session.md b/docs/examples/1.4.x/console-web/examples/account/create-o-auth2session.md index bf33c52f30..3dc8a90076 100644 --- a/docs/examples/1.4.x/console-web/examples/account/create-o-auth2session.md +++ b/docs/examples/1.4.x/console-web/examples/account/create-o-auth2session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/account/create-phone-session.md b/docs/examples/1.4.x/console-web/examples/account/create-phone-session.md index 85e7d68eed..18fb31ee85 100644 --- a/docs/examples/1.4.x/console-web/examples/account/create-phone-session.md +++ b/docs/examples/1.4.x/console-web/examples/account/create-phone-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/account/create-phone-verification.md b/docs/examples/1.4.x/console-web/examples/account/create-phone-verification.md index 0b10961e53..aadd2c149d 100644 --- a/docs/examples/1.4.x/console-web/examples/account/create-phone-verification.md +++ b/docs/examples/1.4.x/console-web/examples/account/create-phone-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/account/create-recovery.md b/docs/examples/1.4.x/console-web/examples/account/create-recovery.md index dd33c01f04..9cc625a21d 100644 --- a/docs/examples/1.4.x/console-web/examples/account/create-recovery.md +++ b/docs/examples/1.4.x/console-web/examples/account/create-recovery.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/account/create-verification.md b/docs/examples/1.4.x/console-web/examples/account/create-verification.md index 7b1ec32f2f..b3ce7d060f 100644 --- a/docs/examples/1.4.x/console-web/examples/account/create-verification.md +++ b/docs/examples/1.4.x/console-web/examples/account/create-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/account/create.md b/docs/examples/1.4.x/console-web/examples/account/create.md index 4c61ef8eb2..38ad6190fa 100644 --- a/docs/examples/1.4.x/console-web/examples/account/create.md +++ b/docs/examples/1.4.x/console-web/examples/account/create.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/account/delete-identity.md b/docs/examples/1.4.x/console-web/examples/account/delete-identity.md index 8e7a87270a..fcc330580b 100644 --- a/docs/examples/1.4.x/console-web/examples/account/delete-identity.md +++ b/docs/examples/1.4.x/console-web/examples/account/delete-identity.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/account/delete-session.md b/docs/examples/1.4.x/console-web/examples/account/delete-session.md index b360b3bb89..c6a6188d4e 100644 --- a/docs/examples/1.4.x/console-web/examples/account/delete-session.md +++ b/docs/examples/1.4.x/console-web/examples/account/delete-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/account/delete-sessions.md b/docs/examples/1.4.x/console-web/examples/account/delete-sessions.md index 0d0fea88f4..6cf737e92a 100644 --- a/docs/examples/1.4.x/console-web/examples/account/delete-sessions.md +++ b/docs/examples/1.4.x/console-web/examples/account/delete-sessions.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/account/get-prefs.md b/docs/examples/1.4.x/console-web/examples/account/get-prefs.md index 284f8fabda..939df8a13c 100644 --- a/docs/examples/1.4.x/console-web/examples/account/get-prefs.md +++ b/docs/examples/1.4.x/console-web/examples/account/get-prefs.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/account/get-session.md b/docs/examples/1.4.x/console-web/examples/account/get-session.md index 651d35c734..485ccb7f7c 100644 --- a/docs/examples/1.4.x/console-web/examples/account/get-session.md +++ b/docs/examples/1.4.x/console-web/examples/account/get-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/account/get.md b/docs/examples/1.4.x/console-web/examples/account/get.md index f6fc4b9401..f4bc097c8e 100644 --- a/docs/examples/1.4.x/console-web/examples/account/get.md +++ b/docs/examples/1.4.x/console-web/examples/account/get.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/account/list-identities.md b/docs/examples/1.4.x/console-web/examples/account/list-identities.md index ea18a00081..a2ba957382 100644 --- a/docs/examples/1.4.x/console-web/examples/account/list-identities.md +++ b/docs/examples/1.4.x/console-web/examples/account/list-identities.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/account/list-logs.md b/docs/examples/1.4.x/console-web/examples/account/list-logs.md index 4f1d6813a7..68bc5a3386 100644 --- a/docs/examples/1.4.x/console-web/examples/account/list-logs.md +++ b/docs/examples/1.4.x/console-web/examples/account/list-logs.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/account/list-sessions.md b/docs/examples/1.4.x/console-web/examples/account/list-sessions.md index bd3b102b21..c54c6420f2 100644 --- a/docs/examples/1.4.x/console-web/examples/account/list-sessions.md +++ b/docs/examples/1.4.x/console-web/examples/account/list-sessions.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/account/update-email.md b/docs/examples/1.4.x/console-web/examples/account/update-email.md index 21b7fcc3f2..1d69f5d15a 100644 --- a/docs/examples/1.4.x/console-web/examples/account/update-email.md +++ b/docs/examples/1.4.x/console-web/examples/account/update-email.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.4.x/console-web/examples/account/update-magic-u-r-l-session.md index 1bc748ed30..e73d344a75 100644 --- a/docs/examples/1.4.x/console-web/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.4.x/console-web/examples/account/update-magic-u-r-l-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/account/update-name.md b/docs/examples/1.4.x/console-web/examples/account/update-name.md index 5a9ab011b4..5a221115f1 100644 --- a/docs/examples/1.4.x/console-web/examples/account/update-name.md +++ b/docs/examples/1.4.x/console-web/examples/account/update-name.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/account/update-password.md b/docs/examples/1.4.x/console-web/examples/account/update-password.md index ca059e5304..2fdc3bdf54 100644 --- a/docs/examples/1.4.x/console-web/examples/account/update-password.md +++ b/docs/examples/1.4.x/console-web/examples/account/update-password.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/account/update-phone-session.md b/docs/examples/1.4.x/console-web/examples/account/update-phone-session.md index 4b47389a3c..2f5ca7fa64 100644 --- a/docs/examples/1.4.x/console-web/examples/account/update-phone-session.md +++ b/docs/examples/1.4.x/console-web/examples/account/update-phone-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/account/update-phone-verification.md b/docs/examples/1.4.x/console-web/examples/account/update-phone-verification.md index 99c13cb90e..4f66ec5e81 100644 --- a/docs/examples/1.4.x/console-web/examples/account/update-phone-verification.md +++ b/docs/examples/1.4.x/console-web/examples/account/update-phone-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/account/update-phone.md b/docs/examples/1.4.x/console-web/examples/account/update-phone.md index 80f715e0bc..19ebdd256b 100644 --- a/docs/examples/1.4.x/console-web/examples/account/update-phone.md +++ b/docs/examples/1.4.x/console-web/examples/account/update-phone.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/account/update-prefs.md b/docs/examples/1.4.x/console-web/examples/account/update-prefs.md index 0a85380d34..2cba25590f 100644 --- a/docs/examples/1.4.x/console-web/examples/account/update-prefs.md +++ b/docs/examples/1.4.x/console-web/examples/account/update-prefs.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/account/update-recovery.md b/docs/examples/1.4.x/console-web/examples/account/update-recovery.md index 64c1545e89..f91b353d94 100644 --- a/docs/examples/1.4.x/console-web/examples/account/update-recovery.md +++ b/docs/examples/1.4.x/console-web/examples/account/update-recovery.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/account/update-session.md b/docs/examples/1.4.x/console-web/examples/account/update-session.md index 29dc0c0907..64abdcb0dc 100644 --- a/docs/examples/1.4.x/console-web/examples/account/update-session.md +++ b/docs/examples/1.4.x/console-web/examples/account/update-session.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/account/update-status.md b/docs/examples/1.4.x/console-web/examples/account/update-status.md index 87b5146525..c1a568439f 100644 --- a/docs/examples/1.4.x/console-web/examples/account/update-status.md +++ b/docs/examples/1.4.x/console-web/examples/account/update-status.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/account/update-verification.md b/docs/examples/1.4.x/console-web/examples/account/update-verification.md index 93dd5db120..7ab66b2be6 100644 --- a/docs/examples/1.4.x/console-web/examples/account/update-verification.md +++ b/docs/examples/1.4.x/console-web/examples/account/update-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const account = new Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/assistant/chat.md b/docs/examples/1.4.x/console-web/examples/assistant/chat.md index a6c22b98bc..ca02c9fae0 100644 --- a/docs/examples/1.4.x/console-web/examples/assistant/chat.md +++ b/docs/examples/1.4.x/console-web/examples/assistant/chat.md @@ -5,7 +5,7 @@ const client = new Client(); const assistant = new Assistant(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/avatars/get-browser.md b/docs/examples/1.4.x/console-web/examples/avatars/get-browser.md index f830effff2..f2a966e6d3 100644 --- a/docs/examples/1.4.x/console-web/examples/avatars/get-browser.md +++ b/docs/examples/1.4.x/console-web/examples/avatars/get-browser.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/avatars/get-credit-card.md b/docs/examples/1.4.x/console-web/examples/avatars/get-credit-card.md index a4e67b25e7..a3f59418da 100644 --- a/docs/examples/1.4.x/console-web/examples/avatars/get-credit-card.md +++ b/docs/examples/1.4.x/console-web/examples/avatars/get-credit-card.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/avatars/get-favicon.md b/docs/examples/1.4.x/console-web/examples/avatars/get-favicon.md index 14bc1b9b00..0076abdd54 100644 --- a/docs/examples/1.4.x/console-web/examples/avatars/get-favicon.md +++ b/docs/examples/1.4.x/console-web/examples/avatars/get-favicon.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/avatars/get-flag.md b/docs/examples/1.4.x/console-web/examples/avatars/get-flag.md index 52ebe68c65..f6a66a01a8 100644 --- a/docs/examples/1.4.x/console-web/examples/avatars/get-flag.md +++ b/docs/examples/1.4.x/console-web/examples/avatars/get-flag.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/avatars/get-image.md b/docs/examples/1.4.x/console-web/examples/avatars/get-image.md index 517421e7f0..2435fae980 100644 --- a/docs/examples/1.4.x/console-web/examples/avatars/get-image.md +++ b/docs/examples/1.4.x/console-web/examples/avatars/get-image.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/avatars/get-initials.md b/docs/examples/1.4.x/console-web/examples/avatars/get-initials.md index 8b03b5d386..0d5bc0a6c8 100644 --- a/docs/examples/1.4.x/console-web/examples/avatars/get-initials.md +++ b/docs/examples/1.4.x/console-web/examples/avatars/get-initials.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/avatars/get-q-r.md b/docs/examples/1.4.x/console-web/examples/avatars/get-q-r.md index 89cea47ad9..5f1d17d410 100644 --- a/docs/examples/1.4.x/console-web/examples/avatars/get-q-r.md +++ b/docs/examples/1.4.x/console-web/examples/avatars/get-q-r.md @@ -5,7 +5,7 @@ const client = new Client(); const avatars = new Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/console/variables.md b/docs/examples/1.4.x/console-web/examples/console/variables.md index 3c552dee38..27df66f861 100644 --- a/docs/examples/1.4.x/console-web/examples/console/variables.md +++ b/docs/examples/1.4.x/console-web/examples/console/variables.md @@ -5,7 +5,7 @@ const client = new Client(); const console = new Console(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/create-boolean-attribute.md b/docs/examples/1.4.x/console-web/examples/databases/create-boolean-attribute.md index 3924ff5cc5..995eb48e4b 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.4.x/console-web/examples/databases/create-boolean-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/create-collection.md b/docs/examples/1.4.x/console-web/examples/databases/create-collection.md index ff3dbd974d..a478b7eeb6 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/create-collection.md +++ b/docs/examples/1.4.x/console-web/examples/databases/create-collection.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/create-datetime-attribute.md b/docs/examples/1.4.x/console-web/examples/databases/create-datetime-attribute.md index 4e1f3190b3..a6e825299a 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.4.x/console-web/examples/databases/create-datetime-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/create-document.md b/docs/examples/1.4.x/console-web/examples/databases/create-document.md index 4b9adc4e7c..fdd014f39d 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/create-document.md +++ b/docs/examples/1.4.x/console-web/examples/databases/create-document.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/create-email-attribute.md b/docs/examples/1.4.x/console-web/examples/databases/create-email-attribute.md index 8d2a5523b6..d25d0cdca3 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/create-email-attribute.md +++ b/docs/examples/1.4.x/console-web/examples/databases/create-email-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/create-enum-attribute.md b/docs/examples/1.4.x/console-web/examples/databases/create-enum-attribute.md index 503290b951..492fc94db7 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.4.x/console-web/examples/databases/create-enum-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/create-float-attribute.md b/docs/examples/1.4.x/console-web/examples/databases/create-float-attribute.md index 7ce41b6b0b..e910e78d5f 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/create-float-attribute.md +++ b/docs/examples/1.4.x/console-web/examples/databases/create-float-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/create-index.md b/docs/examples/1.4.x/console-web/examples/databases/create-index.md index 4da79809f4..90886275fc 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/create-index.md +++ b/docs/examples/1.4.x/console-web/examples/databases/create-index.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/create-integer-attribute.md b/docs/examples/1.4.x/console-web/examples/databases/create-integer-attribute.md index 28218a16d7..5fc48e7980 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.4.x/console-web/examples/databases/create-integer-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/create-ip-attribute.md b/docs/examples/1.4.x/console-web/examples/databases/create-ip-attribute.md index 88fcd66825..4f39330577 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.4.x/console-web/examples/databases/create-ip-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/create-relationship-attribute.md b/docs/examples/1.4.x/console-web/examples/databases/create-relationship-attribute.md index 6fe22ad22e..5189dae44b 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.4.x/console-web/examples/databases/create-relationship-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/create-string-attribute.md b/docs/examples/1.4.x/console-web/examples/databases/create-string-attribute.md index 8beade8f9d..8b546994fb 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/create-string-attribute.md +++ b/docs/examples/1.4.x/console-web/examples/databases/create-string-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/create-url-attribute.md b/docs/examples/1.4.x/console-web/examples/databases/create-url-attribute.md index 1cbd402c2e..4c1621878a 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/create-url-attribute.md +++ b/docs/examples/1.4.x/console-web/examples/databases/create-url-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/create.md b/docs/examples/1.4.x/console-web/examples/databases/create.md index bca894d724..035be47b85 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/create.md +++ b/docs/examples/1.4.x/console-web/examples/databases/create.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/delete-attribute.md b/docs/examples/1.4.x/console-web/examples/databases/delete-attribute.md index 858010b313..9b5259f135 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/delete-attribute.md +++ b/docs/examples/1.4.x/console-web/examples/databases/delete-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/delete-collection.md b/docs/examples/1.4.x/console-web/examples/databases/delete-collection.md index 9ce95a5e54..b654863416 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/delete-collection.md +++ b/docs/examples/1.4.x/console-web/examples/databases/delete-collection.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/delete-document.md b/docs/examples/1.4.x/console-web/examples/databases/delete-document.md index d31d06b521..727cf132ba 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/delete-document.md +++ b/docs/examples/1.4.x/console-web/examples/databases/delete-document.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/delete-index.md b/docs/examples/1.4.x/console-web/examples/databases/delete-index.md index 2ef22b82ad..6c8f148511 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/delete-index.md +++ b/docs/examples/1.4.x/console-web/examples/databases/delete-index.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/delete.md b/docs/examples/1.4.x/console-web/examples/databases/delete.md index bfd5b0cea3..049280a06b 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/delete.md +++ b/docs/examples/1.4.x/console-web/examples/databases/delete.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/get-attribute.md b/docs/examples/1.4.x/console-web/examples/databases/get-attribute.md index 1542f64763..610f07904b 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/get-attribute.md +++ b/docs/examples/1.4.x/console-web/examples/databases/get-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/get-collection-usage.md b/docs/examples/1.4.x/console-web/examples/databases/get-collection-usage.md index 983a613373..df51953046 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/get-collection-usage.md +++ b/docs/examples/1.4.x/console-web/examples/databases/get-collection-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/get-collection.md b/docs/examples/1.4.x/console-web/examples/databases/get-collection.md index 6dae02f5c2..f5fd435ff4 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/get-collection.md +++ b/docs/examples/1.4.x/console-web/examples/databases/get-collection.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/get-database-usage.md b/docs/examples/1.4.x/console-web/examples/databases/get-database-usage.md index f75040811e..3c293f0211 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/get-database-usage.md +++ b/docs/examples/1.4.x/console-web/examples/databases/get-database-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/get-document.md b/docs/examples/1.4.x/console-web/examples/databases/get-document.md index 87569bd863..63ec42b817 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/get-document.md +++ b/docs/examples/1.4.x/console-web/examples/databases/get-document.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/get-index.md b/docs/examples/1.4.x/console-web/examples/databases/get-index.md index d3df35d7a7..92fe6b48f4 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/get-index.md +++ b/docs/examples/1.4.x/console-web/examples/databases/get-index.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/get-usage.md b/docs/examples/1.4.x/console-web/examples/databases/get-usage.md index aabe123e89..c0ad5ea3c2 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/get-usage.md +++ b/docs/examples/1.4.x/console-web/examples/databases/get-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/get.md b/docs/examples/1.4.x/console-web/examples/databases/get.md index 64c8a859ed..036ebd5294 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/get.md +++ b/docs/examples/1.4.x/console-web/examples/databases/get.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/list-attributes.md b/docs/examples/1.4.x/console-web/examples/databases/list-attributes.md index df9123680e..cb07aba1f5 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/list-attributes.md +++ b/docs/examples/1.4.x/console-web/examples/databases/list-attributes.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/list-collection-logs.md b/docs/examples/1.4.x/console-web/examples/databases/list-collection-logs.md index 89662fe4b3..a6484de5e2 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/list-collection-logs.md +++ b/docs/examples/1.4.x/console-web/examples/databases/list-collection-logs.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/list-collections.md b/docs/examples/1.4.x/console-web/examples/databases/list-collections.md index 498e0d9c13..7d0e31ab0f 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/list-collections.md +++ b/docs/examples/1.4.x/console-web/examples/databases/list-collections.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/list-document-logs.md b/docs/examples/1.4.x/console-web/examples/databases/list-document-logs.md index 0161998358..34cf6c9c3d 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/list-document-logs.md +++ b/docs/examples/1.4.x/console-web/examples/databases/list-document-logs.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/list-documents.md b/docs/examples/1.4.x/console-web/examples/databases/list-documents.md index 9e29eb52c7..6365b91045 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/list-documents.md +++ b/docs/examples/1.4.x/console-web/examples/databases/list-documents.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/list-indexes.md b/docs/examples/1.4.x/console-web/examples/databases/list-indexes.md index 3449b7d82b..e821f98a12 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/list-indexes.md +++ b/docs/examples/1.4.x/console-web/examples/databases/list-indexes.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/list-logs.md b/docs/examples/1.4.x/console-web/examples/databases/list-logs.md index 3b3f0dcead..b982f8791b 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/list-logs.md +++ b/docs/examples/1.4.x/console-web/examples/databases/list-logs.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/list.md b/docs/examples/1.4.x/console-web/examples/databases/list.md index 20ae55793d..d4ba3714c4 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/list.md +++ b/docs/examples/1.4.x/console-web/examples/databases/list.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/update-boolean-attribute.md b/docs/examples/1.4.x/console-web/examples/databases/update-boolean-attribute.md index 629f8644b0..2d2ae72d82 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.4.x/console-web/examples/databases/update-boolean-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/update-collection.md b/docs/examples/1.4.x/console-web/examples/databases/update-collection.md index c0043b2500..c6fb8f69b6 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/update-collection.md +++ b/docs/examples/1.4.x/console-web/examples/databases/update-collection.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/update-datetime-attribute.md b/docs/examples/1.4.x/console-web/examples/databases/update-datetime-attribute.md index f5be61d0e6..57452ed4de 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.4.x/console-web/examples/databases/update-datetime-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/update-document.md b/docs/examples/1.4.x/console-web/examples/databases/update-document.md index 249af34648..2fbe08d3d2 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/update-document.md +++ b/docs/examples/1.4.x/console-web/examples/databases/update-document.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/update-email-attribute.md b/docs/examples/1.4.x/console-web/examples/databases/update-email-attribute.md index e9a89a9436..bd7f56f0ed 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/update-email-attribute.md +++ b/docs/examples/1.4.x/console-web/examples/databases/update-email-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/update-enum-attribute.md b/docs/examples/1.4.x/console-web/examples/databases/update-enum-attribute.md index 8f0d5b6842..5fae002950 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.4.x/console-web/examples/databases/update-enum-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/update-float-attribute.md b/docs/examples/1.4.x/console-web/examples/databases/update-float-attribute.md index 72fcd77e7b..f79aa89f29 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/update-float-attribute.md +++ b/docs/examples/1.4.x/console-web/examples/databases/update-float-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/update-integer-attribute.md b/docs/examples/1.4.x/console-web/examples/databases/update-integer-attribute.md index d035b842b1..9be0327aa0 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.4.x/console-web/examples/databases/update-integer-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/update-ip-attribute.md b/docs/examples/1.4.x/console-web/examples/databases/update-ip-attribute.md index 3373ae49ae..579e5011b0 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.4.x/console-web/examples/databases/update-ip-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/update-relationship-attribute.md b/docs/examples/1.4.x/console-web/examples/databases/update-relationship-attribute.md index a329d5b6ad..aa97a12eb4 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.4.x/console-web/examples/databases/update-relationship-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/update-string-attribute.md b/docs/examples/1.4.x/console-web/examples/databases/update-string-attribute.md index 69482531ed..5afdd00648 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/update-string-attribute.md +++ b/docs/examples/1.4.x/console-web/examples/databases/update-string-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/update-url-attribute.md b/docs/examples/1.4.x/console-web/examples/databases/update-url-attribute.md index 481394021d..d57ba6db66 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/update-url-attribute.md +++ b/docs/examples/1.4.x/console-web/examples/databases/update-url-attribute.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/databases/update.md b/docs/examples/1.4.x/console-web/examples/databases/update.md index a8160956e5..5f2727847c 100644 --- a/docs/examples/1.4.x/console-web/examples/databases/update.md +++ b/docs/examples/1.4.x/console-web/examples/databases/update.md @@ -5,7 +5,7 @@ const client = new Client(); const databases = new Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/functions/create-build.md b/docs/examples/1.4.x/console-web/examples/functions/create-build.md index 141bb3247c..a4d250ba58 100644 --- a/docs/examples/1.4.x/console-web/examples/functions/create-build.md +++ b/docs/examples/1.4.x/console-web/examples/functions/create-build.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/functions/create-deployment.md b/docs/examples/1.4.x/console-web/examples/functions/create-deployment.md index 6a97468f85..97434db609 100644 --- a/docs/examples/1.4.x/console-web/examples/functions/create-deployment.md +++ b/docs/examples/1.4.x/console-web/examples/functions/create-deployment.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/functions/create-execution.md b/docs/examples/1.4.x/console-web/examples/functions/create-execution.md index cd623bb056..b7c9d28652 100644 --- a/docs/examples/1.4.x/console-web/examples/functions/create-execution.md +++ b/docs/examples/1.4.x/console-web/examples/functions/create-execution.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/functions/create-variable.md b/docs/examples/1.4.x/console-web/examples/functions/create-variable.md index df147ac2c8..d8bad947e2 100644 --- a/docs/examples/1.4.x/console-web/examples/functions/create-variable.md +++ b/docs/examples/1.4.x/console-web/examples/functions/create-variable.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/functions/create.md b/docs/examples/1.4.x/console-web/examples/functions/create.md index ef53a13a7a..d321444a0d 100644 --- a/docs/examples/1.4.x/console-web/examples/functions/create.md +++ b/docs/examples/1.4.x/console-web/examples/functions/create.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/functions/delete-deployment.md b/docs/examples/1.4.x/console-web/examples/functions/delete-deployment.md index 9597da3dcf..a5dc558457 100644 --- a/docs/examples/1.4.x/console-web/examples/functions/delete-deployment.md +++ b/docs/examples/1.4.x/console-web/examples/functions/delete-deployment.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/functions/delete-variable.md b/docs/examples/1.4.x/console-web/examples/functions/delete-variable.md index 30f2c031aa..1687be849b 100644 --- a/docs/examples/1.4.x/console-web/examples/functions/delete-variable.md +++ b/docs/examples/1.4.x/console-web/examples/functions/delete-variable.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/functions/delete.md b/docs/examples/1.4.x/console-web/examples/functions/delete.md index 3cfa756613..bee147500b 100644 --- a/docs/examples/1.4.x/console-web/examples/functions/delete.md +++ b/docs/examples/1.4.x/console-web/examples/functions/delete.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/functions/download-deployment.md b/docs/examples/1.4.x/console-web/examples/functions/download-deployment.md index fc514e7cb4..7b0f0a9d54 100644 --- a/docs/examples/1.4.x/console-web/examples/functions/download-deployment.md +++ b/docs/examples/1.4.x/console-web/examples/functions/download-deployment.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/functions/get-deployment.md b/docs/examples/1.4.x/console-web/examples/functions/get-deployment.md index 3a16587aca..e5e988c940 100644 --- a/docs/examples/1.4.x/console-web/examples/functions/get-deployment.md +++ b/docs/examples/1.4.x/console-web/examples/functions/get-deployment.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/functions/get-execution.md b/docs/examples/1.4.x/console-web/examples/functions/get-execution.md index ac92b98af8..d5b5d7400b 100644 --- a/docs/examples/1.4.x/console-web/examples/functions/get-execution.md +++ b/docs/examples/1.4.x/console-web/examples/functions/get-execution.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/functions/get-function-usage.md b/docs/examples/1.4.x/console-web/examples/functions/get-function-usage.md index 9ac20346ea..19bb6aa293 100644 --- a/docs/examples/1.4.x/console-web/examples/functions/get-function-usage.md +++ b/docs/examples/1.4.x/console-web/examples/functions/get-function-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/functions/get-usage.md b/docs/examples/1.4.x/console-web/examples/functions/get-usage.md index 6e3fe87860..8afeec514a 100644 --- a/docs/examples/1.4.x/console-web/examples/functions/get-usage.md +++ b/docs/examples/1.4.x/console-web/examples/functions/get-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/functions/get-variable.md b/docs/examples/1.4.x/console-web/examples/functions/get-variable.md index 3d4b07f44e..0d6a078176 100644 --- a/docs/examples/1.4.x/console-web/examples/functions/get-variable.md +++ b/docs/examples/1.4.x/console-web/examples/functions/get-variable.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/functions/get.md b/docs/examples/1.4.x/console-web/examples/functions/get.md index 5cb2e28910..fbb4e8be3f 100644 --- a/docs/examples/1.4.x/console-web/examples/functions/get.md +++ b/docs/examples/1.4.x/console-web/examples/functions/get.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/functions/list-deployments.md b/docs/examples/1.4.x/console-web/examples/functions/list-deployments.md index bd63271f27..1acf26b16f 100644 --- a/docs/examples/1.4.x/console-web/examples/functions/list-deployments.md +++ b/docs/examples/1.4.x/console-web/examples/functions/list-deployments.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/functions/list-executions.md b/docs/examples/1.4.x/console-web/examples/functions/list-executions.md index 5df980d48b..b1d40eb4b6 100644 --- a/docs/examples/1.4.x/console-web/examples/functions/list-executions.md +++ b/docs/examples/1.4.x/console-web/examples/functions/list-executions.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/functions/list-runtimes.md b/docs/examples/1.4.x/console-web/examples/functions/list-runtimes.md index 18f13b2c83..c1e2c654d7 100644 --- a/docs/examples/1.4.x/console-web/examples/functions/list-runtimes.md +++ b/docs/examples/1.4.x/console-web/examples/functions/list-runtimes.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/functions/list-variables.md b/docs/examples/1.4.x/console-web/examples/functions/list-variables.md index 5fd03bfc19..4f37c95bd5 100644 --- a/docs/examples/1.4.x/console-web/examples/functions/list-variables.md +++ b/docs/examples/1.4.x/console-web/examples/functions/list-variables.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/functions/list.md b/docs/examples/1.4.x/console-web/examples/functions/list.md index 721ad6bbb0..903112a5f7 100644 --- a/docs/examples/1.4.x/console-web/examples/functions/list.md +++ b/docs/examples/1.4.x/console-web/examples/functions/list.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/functions/update-deployment.md b/docs/examples/1.4.x/console-web/examples/functions/update-deployment.md index 98752326ef..b668a3fabb 100644 --- a/docs/examples/1.4.x/console-web/examples/functions/update-deployment.md +++ b/docs/examples/1.4.x/console-web/examples/functions/update-deployment.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/functions/update-variable.md b/docs/examples/1.4.x/console-web/examples/functions/update-variable.md index 33380ee102..3ce70d0d62 100644 --- a/docs/examples/1.4.x/console-web/examples/functions/update-variable.md +++ b/docs/examples/1.4.x/console-web/examples/functions/update-variable.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/functions/update.md b/docs/examples/1.4.x/console-web/examples/functions/update.md index 473bbebbd6..8304a3d159 100644 --- a/docs/examples/1.4.x/console-web/examples/functions/update.md +++ b/docs/examples/1.4.x/console-web/examples/functions/update.md @@ -5,7 +5,7 @@ const client = new Client(); const functions = new Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/graphql/mutation.md b/docs/examples/1.4.x/console-web/examples/graphql/mutation.md index ee70c3630c..6de224be68 100644 --- a/docs/examples/1.4.x/console-web/examples/graphql/mutation.md +++ b/docs/examples/1.4.x/console-web/examples/graphql/mutation.md @@ -5,7 +5,7 @@ const client = new Client(); const graphql = new Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/graphql/query.md b/docs/examples/1.4.x/console-web/examples/graphql/query.md index 055c6ad002..f1c35d81ba 100644 --- a/docs/examples/1.4.x/console-web/examples/graphql/query.md +++ b/docs/examples/1.4.x/console-web/examples/graphql/query.md @@ -5,7 +5,7 @@ const client = new Client(); const graphql = new Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/health/get-antivirus.md b/docs/examples/1.4.x/console-web/examples/health/get-antivirus.md index 6d57550dd9..c55b33a3f5 100644 --- a/docs/examples/1.4.x/console-web/examples/health/get-antivirus.md +++ b/docs/examples/1.4.x/console-web/examples/health/get-antivirus.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/health/get-cache.md b/docs/examples/1.4.x/console-web/examples/health/get-cache.md index 5748c8e9dc..7c1563ced5 100644 --- a/docs/examples/1.4.x/console-web/examples/health/get-cache.md +++ b/docs/examples/1.4.x/console-web/examples/health/get-cache.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/health/get-d-b.md b/docs/examples/1.4.x/console-web/examples/health/get-d-b.md index 181dca7076..3c3c21b88c 100644 --- a/docs/examples/1.4.x/console-web/examples/health/get-d-b.md +++ b/docs/examples/1.4.x/console-web/examples/health/get-d-b.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/health/get-pub-sub.md b/docs/examples/1.4.x/console-web/examples/health/get-pub-sub.md index a56abb704d..ddea898991 100644 --- a/docs/examples/1.4.x/console-web/examples/health/get-pub-sub.md +++ b/docs/examples/1.4.x/console-web/examples/health/get-pub-sub.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/health/get-queue-builds.md b/docs/examples/1.4.x/console-web/examples/health/get-queue-builds.md index a312fa7df0..a812a409bf 100644 --- a/docs/examples/1.4.x/console-web/examples/health/get-queue-builds.md +++ b/docs/examples/1.4.x/console-web/examples/health/get-queue-builds.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/health/get-queue-certificates.md b/docs/examples/1.4.x/console-web/examples/health/get-queue-certificates.md index 29fcb6707a..f1361cb68a 100644 --- a/docs/examples/1.4.x/console-web/examples/health/get-queue-certificates.md +++ b/docs/examples/1.4.x/console-web/examples/health/get-queue-certificates.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/health/get-queue-databases.md b/docs/examples/1.4.x/console-web/examples/health/get-queue-databases.md index 481480a80d..751a55eea1 100644 --- a/docs/examples/1.4.x/console-web/examples/health/get-queue-databases.md +++ b/docs/examples/1.4.x/console-web/examples/health/get-queue-databases.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/health/get-queue-deletes.md b/docs/examples/1.4.x/console-web/examples/health/get-queue-deletes.md index c1bbb9f655..cc3fb76f3c 100644 --- a/docs/examples/1.4.x/console-web/examples/health/get-queue-deletes.md +++ b/docs/examples/1.4.x/console-web/examples/health/get-queue-deletes.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/health/get-queue-functions.md b/docs/examples/1.4.x/console-web/examples/health/get-queue-functions.md index 0b011cb32d..12e8a8b6ba 100644 --- a/docs/examples/1.4.x/console-web/examples/health/get-queue-functions.md +++ b/docs/examples/1.4.x/console-web/examples/health/get-queue-functions.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/health/get-queue-logs.md b/docs/examples/1.4.x/console-web/examples/health/get-queue-logs.md index 2dc33b377b..8ddfaf700b 100644 --- a/docs/examples/1.4.x/console-web/examples/health/get-queue-logs.md +++ b/docs/examples/1.4.x/console-web/examples/health/get-queue-logs.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/health/get-queue-mails.md b/docs/examples/1.4.x/console-web/examples/health/get-queue-mails.md index 8d6d68228a..4c2268515f 100644 --- a/docs/examples/1.4.x/console-web/examples/health/get-queue-mails.md +++ b/docs/examples/1.4.x/console-web/examples/health/get-queue-mails.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/health/get-queue-messaging.md b/docs/examples/1.4.x/console-web/examples/health/get-queue-messaging.md index 8102e75182..c6b9dc12e1 100644 --- a/docs/examples/1.4.x/console-web/examples/health/get-queue-messaging.md +++ b/docs/examples/1.4.x/console-web/examples/health/get-queue-messaging.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/health/get-queue-migrations.md b/docs/examples/1.4.x/console-web/examples/health/get-queue-migrations.md index af0285313b..2bccd1c00f 100644 --- a/docs/examples/1.4.x/console-web/examples/health/get-queue-migrations.md +++ b/docs/examples/1.4.x/console-web/examples/health/get-queue-migrations.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/health/get-queue-webhooks.md b/docs/examples/1.4.x/console-web/examples/health/get-queue-webhooks.md index 534d68c7f4..b2ae504bd1 100644 --- a/docs/examples/1.4.x/console-web/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.4.x/console-web/examples/health/get-queue-webhooks.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/health/get-queue.md b/docs/examples/1.4.x/console-web/examples/health/get-queue.md index bdc3caf749..a216364659 100644 --- a/docs/examples/1.4.x/console-web/examples/health/get-queue.md +++ b/docs/examples/1.4.x/console-web/examples/health/get-queue.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/health/get-storage-local.md b/docs/examples/1.4.x/console-web/examples/health/get-storage-local.md index ff842f4ba6..b7e8d86da6 100644 --- a/docs/examples/1.4.x/console-web/examples/health/get-storage-local.md +++ b/docs/examples/1.4.x/console-web/examples/health/get-storage-local.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/health/get-time.md b/docs/examples/1.4.x/console-web/examples/health/get-time.md index 6d8e1c225a..73e1155687 100644 --- a/docs/examples/1.4.x/console-web/examples/health/get-time.md +++ b/docs/examples/1.4.x/console-web/examples/health/get-time.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/health/get.md b/docs/examples/1.4.x/console-web/examples/health/get.md index 76e74be74c..faa1a0c7c1 100644 --- a/docs/examples/1.4.x/console-web/examples/health/get.md +++ b/docs/examples/1.4.x/console-web/examples/health/get.md @@ -5,7 +5,7 @@ const client = new Client(); const health = new Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/locale/get.md b/docs/examples/1.4.x/console-web/examples/locale/get.md index ac47468df8..bd3c27e3c3 100644 --- a/docs/examples/1.4.x/console-web/examples/locale/get.md +++ b/docs/examples/1.4.x/console-web/examples/locale/get.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/locale/list-codes.md b/docs/examples/1.4.x/console-web/examples/locale/list-codes.md index 9cb13350b3..ab67b3c7ef 100644 --- a/docs/examples/1.4.x/console-web/examples/locale/list-codes.md +++ b/docs/examples/1.4.x/console-web/examples/locale/list-codes.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/locale/list-continents.md b/docs/examples/1.4.x/console-web/examples/locale/list-continents.md index b2358396fc..0c3d6bb499 100644 --- a/docs/examples/1.4.x/console-web/examples/locale/list-continents.md +++ b/docs/examples/1.4.x/console-web/examples/locale/list-continents.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/locale/list-countries-e-u.md b/docs/examples/1.4.x/console-web/examples/locale/list-countries-e-u.md index 59d6e24dbf..7ac2906b4c 100644 --- a/docs/examples/1.4.x/console-web/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.4.x/console-web/examples/locale/list-countries-e-u.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/locale/list-countries-phones.md b/docs/examples/1.4.x/console-web/examples/locale/list-countries-phones.md index 898cb3cf31..300c81d953 100644 --- a/docs/examples/1.4.x/console-web/examples/locale/list-countries-phones.md +++ b/docs/examples/1.4.x/console-web/examples/locale/list-countries-phones.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/locale/list-countries.md b/docs/examples/1.4.x/console-web/examples/locale/list-countries.md index a36b8c25ed..3f26f6dba8 100644 --- a/docs/examples/1.4.x/console-web/examples/locale/list-countries.md +++ b/docs/examples/1.4.x/console-web/examples/locale/list-countries.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/locale/list-currencies.md b/docs/examples/1.4.x/console-web/examples/locale/list-currencies.md index 1f34891425..66163952bd 100644 --- a/docs/examples/1.4.x/console-web/examples/locale/list-currencies.md +++ b/docs/examples/1.4.x/console-web/examples/locale/list-currencies.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/locale/list-languages.md b/docs/examples/1.4.x/console-web/examples/locale/list-languages.md index 4fb4dbf0be..048c79d38a 100644 --- a/docs/examples/1.4.x/console-web/examples/locale/list-languages.md +++ b/docs/examples/1.4.x/console-web/examples/locale/list-languages.md @@ -5,7 +5,7 @@ const client = new Client(); const locale = new Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/migrations/create-appwrite-migration.md b/docs/examples/1.4.x/console-web/examples/migrations/create-appwrite-migration.md index 7001e18204..f478d2cd63 100644 --- a/docs/examples/1.4.x/console-web/examples/migrations/create-appwrite-migration.md +++ b/docs/examples/1.4.x/console-web/examples/migrations/create-appwrite-migration.md @@ -5,7 +5,7 @@ const client = new Client(); const migrations = new Migrations(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/migrations/create-firebase-migration.md b/docs/examples/1.4.x/console-web/examples/migrations/create-firebase-migration.md index de5becb5ca..9109f1f9c8 100644 --- a/docs/examples/1.4.x/console-web/examples/migrations/create-firebase-migration.md +++ b/docs/examples/1.4.x/console-web/examples/migrations/create-firebase-migration.md @@ -5,7 +5,7 @@ const client = new Client(); const migrations = new Migrations(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/migrations/create-firebase-o-auth-migration.md b/docs/examples/1.4.x/console-web/examples/migrations/create-firebase-o-auth-migration.md index 07e3efb080..0d55b2617f 100644 --- a/docs/examples/1.4.x/console-web/examples/migrations/create-firebase-o-auth-migration.md +++ b/docs/examples/1.4.x/console-web/examples/migrations/create-firebase-o-auth-migration.md @@ -5,7 +5,7 @@ const client = new Client(); const migrations = new Migrations(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/migrations/create-n-host-migration.md b/docs/examples/1.4.x/console-web/examples/migrations/create-n-host-migration.md index b9a614d44a..c57effc4b2 100644 --- a/docs/examples/1.4.x/console-web/examples/migrations/create-n-host-migration.md +++ b/docs/examples/1.4.x/console-web/examples/migrations/create-n-host-migration.md @@ -5,7 +5,7 @@ const client = new Client(); const migrations = new Migrations(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/migrations/create-supabase-migration.md b/docs/examples/1.4.x/console-web/examples/migrations/create-supabase-migration.md index 38b533f66b..f734e42a98 100644 --- a/docs/examples/1.4.x/console-web/examples/migrations/create-supabase-migration.md +++ b/docs/examples/1.4.x/console-web/examples/migrations/create-supabase-migration.md @@ -5,7 +5,7 @@ const client = new Client(); const migrations = new Migrations(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/migrations/delete-firebase-auth.md b/docs/examples/1.4.x/console-web/examples/migrations/delete-firebase-auth.md index 9884956e54..304f9234c8 100644 --- a/docs/examples/1.4.x/console-web/examples/migrations/delete-firebase-auth.md +++ b/docs/examples/1.4.x/console-web/examples/migrations/delete-firebase-auth.md @@ -5,7 +5,7 @@ const client = new Client(); const migrations = new Migrations(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/migrations/delete.md b/docs/examples/1.4.x/console-web/examples/migrations/delete.md index 88d8262718..937c2f7057 100644 --- a/docs/examples/1.4.x/console-web/examples/migrations/delete.md +++ b/docs/examples/1.4.x/console-web/examples/migrations/delete.md @@ -5,7 +5,7 @@ const client = new Client(); const migrations = new Migrations(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/migrations/get-appwrite-report.md b/docs/examples/1.4.x/console-web/examples/migrations/get-appwrite-report.md index 0b922b2bc5..e7880c6ea6 100644 --- a/docs/examples/1.4.x/console-web/examples/migrations/get-appwrite-report.md +++ b/docs/examples/1.4.x/console-web/examples/migrations/get-appwrite-report.md @@ -5,7 +5,7 @@ const client = new Client(); const migrations = new Migrations(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/migrations/get-firebase-report-o-auth.md b/docs/examples/1.4.x/console-web/examples/migrations/get-firebase-report-o-auth.md index 7b52ac95b7..bd5fe5a228 100644 --- a/docs/examples/1.4.x/console-web/examples/migrations/get-firebase-report-o-auth.md +++ b/docs/examples/1.4.x/console-web/examples/migrations/get-firebase-report-o-auth.md @@ -5,7 +5,7 @@ const client = new Client(); const migrations = new Migrations(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/migrations/get-firebase-report.md b/docs/examples/1.4.x/console-web/examples/migrations/get-firebase-report.md index 3764d786a6..602ddc2f39 100644 --- a/docs/examples/1.4.x/console-web/examples/migrations/get-firebase-report.md +++ b/docs/examples/1.4.x/console-web/examples/migrations/get-firebase-report.md @@ -5,7 +5,7 @@ const client = new Client(); const migrations = new Migrations(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/migrations/get-n-host-report.md b/docs/examples/1.4.x/console-web/examples/migrations/get-n-host-report.md index 34d3404408..b984ce8502 100644 --- a/docs/examples/1.4.x/console-web/examples/migrations/get-n-host-report.md +++ b/docs/examples/1.4.x/console-web/examples/migrations/get-n-host-report.md @@ -5,7 +5,7 @@ const client = new Client(); const migrations = new Migrations(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/migrations/get-supabase-report.md b/docs/examples/1.4.x/console-web/examples/migrations/get-supabase-report.md index 00fbb9e56f..d27b198a69 100644 --- a/docs/examples/1.4.x/console-web/examples/migrations/get-supabase-report.md +++ b/docs/examples/1.4.x/console-web/examples/migrations/get-supabase-report.md @@ -5,7 +5,7 @@ const client = new Client(); const migrations = new Migrations(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/migrations/get.md b/docs/examples/1.4.x/console-web/examples/migrations/get.md index 1331be2543..7b6880a9b6 100644 --- a/docs/examples/1.4.x/console-web/examples/migrations/get.md +++ b/docs/examples/1.4.x/console-web/examples/migrations/get.md @@ -5,7 +5,7 @@ const client = new Client(); const migrations = new Migrations(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/migrations/list-firebase-projects.md b/docs/examples/1.4.x/console-web/examples/migrations/list-firebase-projects.md index 799f58714f..0e31008788 100644 --- a/docs/examples/1.4.x/console-web/examples/migrations/list-firebase-projects.md +++ b/docs/examples/1.4.x/console-web/examples/migrations/list-firebase-projects.md @@ -5,7 +5,7 @@ const client = new Client(); const migrations = new Migrations(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/migrations/list.md b/docs/examples/1.4.x/console-web/examples/migrations/list.md index 61f7754aff..9396ed9ab7 100644 --- a/docs/examples/1.4.x/console-web/examples/migrations/list.md +++ b/docs/examples/1.4.x/console-web/examples/migrations/list.md @@ -5,7 +5,7 @@ const client = new Client(); const migrations = new Migrations(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/migrations/retry.md b/docs/examples/1.4.x/console-web/examples/migrations/retry.md index 4c39d98c5d..5562403b14 100644 --- a/docs/examples/1.4.x/console-web/examples/migrations/retry.md +++ b/docs/examples/1.4.x/console-web/examples/migrations/retry.md @@ -5,7 +5,7 @@ const client = new Client(); const migrations = new Migrations(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/project/create-variable.md b/docs/examples/1.4.x/console-web/examples/project/create-variable.md index 94c0f04fe0..f3bc1dd13a 100644 --- a/docs/examples/1.4.x/console-web/examples/project/create-variable.md +++ b/docs/examples/1.4.x/console-web/examples/project/create-variable.md @@ -5,7 +5,7 @@ const client = new Client(); const project = new Project(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/project/delete-variable.md b/docs/examples/1.4.x/console-web/examples/project/delete-variable.md index 23c4144e39..2c28b02997 100644 --- a/docs/examples/1.4.x/console-web/examples/project/delete-variable.md +++ b/docs/examples/1.4.x/console-web/examples/project/delete-variable.md @@ -5,7 +5,7 @@ const client = new Client(); const project = new Project(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/project/get-usage.md b/docs/examples/1.4.x/console-web/examples/project/get-usage.md index c831a06ff1..4687d94252 100644 --- a/docs/examples/1.4.x/console-web/examples/project/get-usage.md +++ b/docs/examples/1.4.x/console-web/examples/project/get-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const project = new Project(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/project/get-variable.md b/docs/examples/1.4.x/console-web/examples/project/get-variable.md index c147f638e5..3c105d1e8f 100644 --- a/docs/examples/1.4.x/console-web/examples/project/get-variable.md +++ b/docs/examples/1.4.x/console-web/examples/project/get-variable.md @@ -5,7 +5,7 @@ const client = new Client(); const project = new Project(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/project/list-variables.md b/docs/examples/1.4.x/console-web/examples/project/list-variables.md index facfc32163..2bf69f7bc9 100644 --- a/docs/examples/1.4.x/console-web/examples/project/list-variables.md +++ b/docs/examples/1.4.x/console-web/examples/project/list-variables.md @@ -5,7 +5,7 @@ const client = new Client(); const project = new Project(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/project/update-variable.md b/docs/examples/1.4.x/console-web/examples/project/update-variable.md index 57590189dc..e32e3592db 100644 --- a/docs/examples/1.4.x/console-web/examples/project/update-variable.md +++ b/docs/examples/1.4.x/console-web/examples/project/update-variable.md @@ -5,7 +5,7 @@ const client = new Client(); const project = new Project(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/create-key.md b/docs/examples/1.4.x/console-web/examples/projects/create-key.md index 02032e81c5..d65660599b 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/create-key.md +++ b/docs/examples/1.4.x/console-web/examples/projects/create-key.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/create-platform.md b/docs/examples/1.4.x/console-web/examples/projects/create-platform.md index 4a31968171..b668ec12f7 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/create-platform.md +++ b/docs/examples/1.4.x/console-web/examples/projects/create-platform.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/create-webhook.md b/docs/examples/1.4.x/console-web/examples/projects/create-webhook.md index 356a5ffe86..0ca56346c4 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/create-webhook.md +++ b/docs/examples/1.4.x/console-web/examples/projects/create-webhook.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/create.md b/docs/examples/1.4.x/console-web/examples/projects/create.md index 87eab0aea0..29f5cc5c91 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/create.md +++ b/docs/examples/1.4.x/console-web/examples/projects/create.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/delete-email-template.md b/docs/examples/1.4.x/console-web/examples/projects/delete-email-template.md index 0df4a1db5c..1826f4a89f 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/delete-email-template.md +++ b/docs/examples/1.4.x/console-web/examples/projects/delete-email-template.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/delete-key.md b/docs/examples/1.4.x/console-web/examples/projects/delete-key.md index 74c6bd1562..399e97687a 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/delete-key.md +++ b/docs/examples/1.4.x/console-web/examples/projects/delete-key.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/delete-platform.md b/docs/examples/1.4.x/console-web/examples/projects/delete-platform.md index da8ce56e54..0d6fa3c55b 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/delete-platform.md +++ b/docs/examples/1.4.x/console-web/examples/projects/delete-platform.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/delete-sms-template.md b/docs/examples/1.4.x/console-web/examples/projects/delete-sms-template.md index ba0bc8ead3..389e4365c2 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/delete-sms-template.md +++ b/docs/examples/1.4.x/console-web/examples/projects/delete-sms-template.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/delete-webhook.md b/docs/examples/1.4.x/console-web/examples/projects/delete-webhook.md index 08e3af636f..2de71ec3f3 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/delete-webhook.md +++ b/docs/examples/1.4.x/console-web/examples/projects/delete-webhook.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/delete.md b/docs/examples/1.4.x/console-web/examples/projects/delete.md index 4f227a49a6..6d22dc3075 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/delete.md +++ b/docs/examples/1.4.x/console-web/examples/projects/delete.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/get-email-template.md b/docs/examples/1.4.x/console-web/examples/projects/get-email-template.md index f7c193b95d..0a368245ff 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/get-email-template.md +++ b/docs/examples/1.4.x/console-web/examples/projects/get-email-template.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/get-key.md b/docs/examples/1.4.x/console-web/examples/projects/get-key.md index c0d3282c14..bfadb8de56 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/get-key.md +++ b/docs/examples/1.4.x/console-web/examples/projects/get-key.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/get-platform.md b/docs/examples/1.4.x/console-web/examples/projects/get-platform.md index fd65231aff..d178cbb843 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/get-platform.md +++ b/docs/examples/1.4.x/console-web/examples/projects/get-platform.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/get-sms-template.md b/docs/examples/1.4.x/console-web/examples/projects/get-sms-template.md index 5fce9ffcfb..be4f1dd849 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/get-sms-template.md +++ b/docs/examples/1.4.x/console-web/examples/projects/get-sms-template.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/get-usage.md b/docs/examples/1.4.x/console-web/examples/projects/get-usage.md index 8d8c91355d..af512463fb 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/get-usage.md +++ b/docs/examples/1.4.x/console-web/examples/projects/get-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/get-webhook.md b/docs/examples/1.4.x/console-web/examples/projects/get-webhook.md index 7f580b5f57..4357669a22 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/get-webhook.md +++ b/docs/examples/1.4.x/console-web/examples/projects/get-webhook.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/get.md b/docs/examples/1.4.x/console-web/examples/projects/get.md index 23c235a741..69e53ca0f2 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/get.md +++ b/docs/examples/1.4.x/console-web/examples/projects/get.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/list-keys.md b/docs/examples/1.4.x/console-web/examples/projects/list-keys.md index c2dce0a419..8800067c24 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/list-keys.md +++ b/docs/examples/1.4.x/console-web/examples/projects/list-keys.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/list-platforms.md b/docs/examples/1.4.x/console-web/examples/projects/list-platforms.md index 968438f6bb..692de5c43f 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/list-platforms.md +++ b/docs/examples/1.4.x/console-web/examples/projects/list-platforms.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/list-webhooks.md b/docs/examples/1.4.x/console-web/examples/projects/list-webhooks.md index e0e0af367f..d960a75f98 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/list-webhooks.md +++ b/docs/examples/1.4.x/console-web/examples/projects/list-webhooks.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/list.md b/docs/examples/1.4.x/console-web/examples/projects/list.md index 0cf5002afe..a7476905fd 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/list.md +++ b/docs/examples/1.4.x/console-web/examples/projects/list.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/update-auth-duration.md b/docs/examples/1.4.x/console-web/examples/projects/update-auth-duration.md index 37c69222df..f74645388d 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/update-auth-duration.md +++ b/docs/examples/1.4.x/console-web/examples/projects/update-auth-duration.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/update-auth-limit.md b/docs/examples/1.4.x/console-web/examples/projects/update-auth-limit.md index a63f5b4518..4195655bef 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/update-auth-limit.md +++ b/docs/examples/1.4.x/console-web/examples/projects/update-auth-limit.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/update-auth-password-dictionary.md b/docs/examples/1.4.x/console-web/examples/projects/update-auth-password-dictionary.md index e3cb529d1b..8f81a8fb93 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/update-auth-password-dictionary.md +++ b/docs/examples/1.4.x/console-web/examples/projects/update-auth-password-dictionary.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/update-auth-password-history.md b/docs/examples/1.4.x/console-web/examples/projects/update-auth-password-history.md index 67b885d49d..a5651e4e32 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/update-auth-password-history.md +++ b/docs/examples/1.4.x/console-web/examples/projects/update-auth-password-history.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/update-auth-sessions-limit.md b/docs/examples/1.4.x/console-web/examples/projects/update-auth-sessions-limit.md index ef2dffa67a..21ce249f7a 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/update-auth-sessions-limit.md +++ b/docs/examples/1.4.x/console-web/examples/projects/update-auth-sessions-limit.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/update-auth-status.md b/docs/examples/1.4.x/console-web/examples/projects/update-auth-status.md index 4751442d8f..b183e1477c 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/update-auth-status.md +++ b/docs/examples/1.4.x/console-web/examples/projects/update-auth-status.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/update-email-template.md b/docs/examples/1.4.x/console-web/examples/projects/update-email-template.md index b49594768a..66939ea49e 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/update-email-template.md +++ b/docs/examples/1.4.x/console-web/examples/projects/update-email-template.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/update-key.md b/docs/examples/1.4.x/console-web/examples/projects/update-key.md index fd2bde82bf..659017451a 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/update-key.md +++ b/docs/examples/1.4.x/console-web/examples/projects/update-key.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/update-o-auth2.md b/docs/examples/1.4.x/console-web/examples/projects/update-o-auth2.md index 34ce814208..cf3c92658f 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/update-o-auth2.md +++ b/docs/examples/1.4.x/console-web/examples/projects/update-o-auth2.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/update-personal-data-check.md b/docs/examples/1.4.x/console-web/examples/projects/update-personal-data-check.md index 6165e91b80..15800560a1 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/update-personal-data-check.md +++ b/docs/examples/1.4.x/console-web/examples/projects/update-personal-data-check.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/update-platform.md b/docs/examples/1.4.x/console-web/examples/projects/update-platform.md index ce49dfffd8..75f3b3b4e2 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/update-platform.md +++ b/docs/examples/1.4.x/console-web/examples/projects/update-platform.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/update-service-status-all.md b/docs/examples/1.4.x/console-web/examples/projects/update-service-status-all.md index d348067194..68fa5defbc 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/update-service-status-all.md +++ b/docs/examples/1.4.x/console-web/examples/projects/update-service-status-all.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/update-service-status.md b/docs/examples/1.4.x/console-web/examples/projects/update-service-status.md index 5b727003b0..66010abf74 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/update-service-status.md +++ b/docs/examples/1.4.x/console-web/examples/projects/update-service-status.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/update-sms-template.md b/docs/examples/1.4.x/console-web/examples/projects/update-sms-template.md index 54edccd2aa..74b14ead37 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/update-sms-template.md +++ b/docs/examples/1.4.x/console-web/examples/projects/update-sms-template.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/update-smtp-configuration.md b/docs/examples/1.4.x/console-web/examples/projects/update-smtp-configuration.md index 54f344e3a6..730e41ffe6 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/update-smtp-configuration.md +++ b/docs/examples/1.4.x/console-web/examples/projects/update-smtp-configuration.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/update-team.md b/docs/examples/1.4.x/console-web/examples/projects/update-team.md index 8b1c2f5665..6c8f49d7a3 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/update-team.md +++ b/docs/examples/1.4.x/console-web/examples/projects/update-team.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/update-webhook-signature.md b/docs/examples/1.4.x/console-web/examples/projects/update-webhook-signature.md index 472271f8e6..8a18c84262 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/update-webhook-signature.md +++ b/docs/examples/1.4.x/console-web/examples/projects/update-webhook-signature.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/update-webhook.md b/docs/examples/1.4.x/console-web/examples/projects/update-webhook.md index 1339a45822..81fdd2913e 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/update-webhook.md +++ b/docs/examples/1.4.x/console-web/examples/projects/update-webhook.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/projects/update.md b/docs/examples/1.4.x/console-web/examples/projects/update.md index 31281808c4..f162bd09b5 100644 --- a/docs/examples/1.4.x/console-web/examples/projects/update.md +++ b/docs/examples/1.4.x/console-web/examples/projects/update.md @@ -5,7 +5,7 @@ const client = new Client(); const projects = new Projects(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/proxy/create-rule.md b/docs/examples/1.4.x/console-web/examples/proxy/create-rule.md index fc11d86b97..61923b3136 100644 --- a/docs/examples/1.4.x/console-web/examples/proxy/create-rule.md +++ b/docs/examples/1.4.x/console-web/examples/proxy/create-rule.md @@ -5,7 +5,7 @@ const client = new Client(); const proxy = new Proxy(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/proxy/delete-rule.md b/docs/examples/1.4.x/console-web/examples/proxy/delete-rule.md index f21e4f2528..05514b8c03 100644 --- a/docs/examples/1.4.x/console-web/examples/proxy/delete-rule.md +++ b/docs/examples/1.4.x/console-web/examples/proxy/delete-rule.md @@ -5,7 +5,7 @@ const client = new Client(); const proxy = new Proxy(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/proxy/get-rule.md b/docs/examples/1.4.x/console-web/examples/proxy/get-rule.md index 99ddbca273..ab8eb4ce2b 100644 --- a/docs/examples/1.4.x/console-web/examples/proxy/get-rule.md +++ b/docs/examples/1.4.x/console-web/examples/proxy/get-rule.md @@ -5,7 +5,7 @@ const client = new Client(); const proxy = new Proxy(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/proxy/list-rules.md b/docs/examples/1.4.x/console-web/examples/proxy/list-rules.md index baa277339c..72e86cfbf0 100644 --- a/docs/examples/1.4.x/console-web/examples/proxy/list-rules.md +++ b/docs/examples/1.4.x/console-web/examples/proxy/list-rules.md @@ -5,7 +5,7 @@ const client = new Client(); const proxy = new Proxy(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/proxy/update-rule-verification.md b/docs/examples/1.4.x/console-web/examples/proxy/update-rule-verification.md index 33b442220c..b0e45dc0cf 100644 --- a/docs/examples/1.4.x/console-web/examples/proxy/update-rule-verification.md +++ b/docs/examples/1.4.x/console-web/examples/proxy/update-rule-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const proxy = new Proxy(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/storage/create-bucket.md b/docs/examples/1.4.x/console-web/examples/storage/create-bucket.md index 7696b14294..766a4835dc 100644 --- a/docs/examples/1.4.x/console-web/examples/storage/create-bucket.md +++ b/docs/examples/1.4.x/console-web/examples/storage/create-bucket.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/storage/create-file.md b/docs/examples/1.4.x/console-web/examples/storage/create-file.md index d1bf55b42b..ce0c8f0b9c 100644 --- a/docs/examples/1.4.x/console-web/examples/storage/create-file.md +++ b/docs/examples/1.4.x/console-web/examples/storage/create-file.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/storage/delete-bucket.md b/docs/examples/1.4.x/console-web/examples/storage/delete-bucket.md index 4634b11f5b..0a3305e862 100644 --- a/docs/examples/1.4.x/console-web/examples/storage/delete-bucket.md +++ b/docs/examples/1.4.x/console-web/examples/storage/delete-bucket.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/storage/delete-file.md b/docs/examples/1.4.x/console-web/examples/storage/delete-file.md index b4c0ff0f9d..1961a1fcde 100644 --- a/docs/examples/1.4.x/console-web/examples/storage/delete-file.md +++ b/docs/examples/1.4.x/console-web/examples/storage/delete-file.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/storage/get-bucket-usage.md b/docs/examples/1.4.x/console-web/examples/storage/get-bucket-usage.md index 65c66d7aa0..58223df2ae 100644 --- a/docs/examples/1.4.x/console-web/examples/storage/get-bucket-usage.md +++ b/docs/examples/1.4.x/console-web/examples/storage/get-bucket-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/storage/get-bucket.md b/docs/examples/1.4.x/console-web/examples/storage/get-bucket.md index 2b65e8b0ce..7b386458f9 100644 --- a/docs/examples/1.4.x/console-web/examples/storage/get-bucket.md +++ b/docs/examples/1.4.x/console-web/examples/storage/get-bucket.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/storage/get-file-download.md b/docs/examples/1.4.x/console-web/examples/storage/get-file-download.md index 1ce57cb38a..bdc8fb79d3 100644 --- a/docs/examples/1.4.x/console-web/examples/storage/get-file-download.md +++ b/docs/examples/1.4.x/console-web/examples/storage/get-file-download.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/storage/get-file-preview.md b/docs/examples/1.4.x/console-web/examples/storage/get-file-preview.md index ab6bc18fc4..8f58323bd6 100644 --- a/docs/examples/1.4.x/console-web/examples/storage/get-file-preview.md +++ b/docs/examples/1.4.x/console-web/examples/storage/get-file-preview.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/storage/get-file-view.md b/docs/examples/1.4.x/console-web/examples/storage/get-file-view.md index 7ce851f025..aa482c46f5 100644 --- a/docs/examples/1.4.x/console-web/examples/storage/get-file-view.md +++ b/docs/examples/1.4.x/console-web/examples/storage/get-file-view.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/storage/get-file.md b/docs/examples/1.4.x/console-web/examples/storage/get-file.md index b6e800303d..bb5a737721 100644 --- a/docs/examples/1.4.x/console-web/examples/storage/get-file.md +++ b/docs/examples/1.4.x/console-web/examples/storage/get-file.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/storage/get-usage.md b/docs/examples/1.4.x/console-web/examples/storage/get-usage.md index f618ba4e16..e9a8eb0672 100644 --- a/docs/examples/1.4.x/console-web/examples/storage/get-usage.md +++ b/docs/examples/1.4.x/console-web/examples/storage/get-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/storage/list-buckets.md b/docs/examples/1.4.x/console-web/examples/storage/list-buckets.md index 5a356900fa..a14a0d0217 100644 --- a/docs/examples/1.4.x/console-web/examples/storage/list-buckets.md +++ b/docs/examples/1.4.x/console-web/examples/storage/list-buckets.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/storage/list-files.md b/docs/examples/1.4.x/console-web/examples/storage/list-files.md index 0c6170f11d..ac7ef669dc 100644 --- a/docs/examples/1.4.x/console-web/examples/storage/list-files.md +++ b/docs/examples/1.4.x/console-web/examples/storage/list-files.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/storage/update-bucket.md b/docs/examples/1.4.x/console-web/examples/storage/update-bucket.md index 09ed4ce441..1d050c14b8 100644 --- a/docs/examples/1.4.x/console-web/examples/storage/update-bucket.md +++ b/docs/examples/1.4.x/console-web/examples/storage/update-bucket.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/storage/update-file.md b/docs/examples/1.4.x/console-web/examples/storage/update-file.md index abaaf9afd4..12292761d2 100644 --- a/docs/examples/1.4.x/console-web/examples/storage/update-file.md +++ b/docs/examples/1.4.x/console-web/examples/storage/update-file.md @@ -5,7 +5,7 @@ const client = new Client(); const storage = new Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/teams/create-membership.md b/docs/examples/1.4.x/console-web/examples/teams/create-membership.md index 4ceac9feda..e2b71c7dcd 100644 --- a/docs/examples/1.4.x/console-web/examples/teams/create-membership.md +++ b/docs/examples/1.4.x/console-web/examples/teams/create-membership.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/teams/create.md b/docs/examples/1.4.x/console-web/examples/teams/create.md index a2cb34296b..881816db34 100644 --- a/docs/examples/1.4.x/console-web/examples/teams/create.md +++ b/docs/examples/1.4.x/console-web/examples/teams/create.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/teams/delete-membership.md b/docs/examples/1.4.x/console-web/examples/teams/delete-membership.md index 4e7d7e7a74..66274a17b6 100644 --- a/docs/examples/1.4.x/console-web/examples/teams/delete-membership.md +++ b/docs/examples/1.4.x/console-web/examples/teams/delete-membership.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/teams/delete.md b/docs/examples/1.4.x/console-web/examples/teams/delete.md index 0bc778ba63..d51318f89e 100644 --- a/docs/examples/1.4.x/console-web/examples/teams/delete.md +++ b/docs/examples/1.4.x/console-web/examples/teams/delete.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/teams/get-membership.md b/docs/examples/1.4.x/console-web/examples/teams/get-membership.md index c0bdae5fc6..881f37d8b0 100644 --- a/docs/examples/1.4.x/console-web/examples/teams/get-membership.md +++ b/docs/examples/1.4.x/console-web/examples/teams/get-membership.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/teams/get-prefs.md b/docs/examples/1.4.x/console-web/examples/teams/get-prefs.md index 2104c5f898..f039b6e3da 100644 --- a/docs/examples/1.4.x/console-web/examples/teams/get-prefs.md +++ b/docs/examples/1.4.x/console-web/examples/teams/get-prefs.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/teams/get.md b/docs/examples/1.4.x/console-web/examples/teams/get.md index 2dbfdb4b0b..068d50c6d1 100644 --- a/docs/examples/1.4.x/console-web/examples/teams/get.md +++ b/docs/examples/1.4.x/console-web/examples/teams/get.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/teams/list-logs.md b/docs/examples/1.4.x/console-web/examples/teams/list-logs.md index 2c3c7311e2..7fb7521417 100644 --- a/docs/examples/1.4.x/console-web/examples/teams/list-logs.md +++ b/docs/examples/1.4.x/console-web/examples/teams/list-logs.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/teams/list-memberships.md b/docs/examples/1.4.x/console-web/examples/teams/list-memberships.md index f7a7d1a54e..93e8588a55 100644 --- a/docs/examples/1.4.x/console-web/examples/teams/list-memberships.md +++ b/docs/examples/1.4.x/console-web/examples/teams/list-memberships.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/teams/list.md b/docs/examples/1.4.x/console-web/examples/teams/list.md index 99e482d8f3..3a5311efe3 100644 --- a/docs/examples/1.4.x/console-web/examples/teams/list.md +++ b/docs/examples/1.4.x/console-web/examples/teams/list.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/teams/update-membership-status.md b/docs/examples/1.4.x/console-web/examples/teams/update-membership-status.md index 1c8ec3a27e..cdc93967b3 100644 --- a/docs/examples/1.4.x/console-web/examples/teams/update-membership-status.md +++ b/docs/examples/1.4.x/console-web/examples/teams/update-membership-status.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/teams/update-membership.md b/docs/examples/1.4.x/console-web/examples/teams/update-membership.md index 1f9051fa77..906b33ea2c 100644 --- a/docs/examples/1.4.x/console-web/examples/teams/update-membership.md +++ b/docs/examples/1.4.x/console-web/examples/teams/update-membership.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/teams/update-name.md b/docs/examples/1.4.x/console-web/examples/teams/update-name.md index 4bee8deb52..9a8af03cd9 100644 --- a/docs/examples/1.4.x/console-web/examples/teams/update-name.md +++ b/docs/examples/1.4.x/console-web/examples/teams/update-name.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/teams/update-prefs.md b/docs/examples/1.4.x/console-web/examples/teams/update-prefs.md index 7d7ed63328..4f375b52ce 100644 --- a/docs/examples/1.4.x/console-web/examples/teams/update-prefs.md +++ b/docs/examples/1.4.x/console-web/examples/teams/update-prefs.md @@ -5,7 +5,7 @@ const client = new Client(); const teams = new Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/users/create-argon2user.md b/docs/examples/1.4.x/console-web/examples/users/create-argon2user.md index f4dabafe18..e22db4f298 100644 --- a/docs/examples/1.4.x/console-web/examples/users/create-argon2user.md +++ b/docs/examples/1.4.x/console-web/examples/users/create-argon2user.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/users/create-bcrypt-user.md b/docs/examples/1.4.x/console-web/examples/users/create-bcrypt-user.md index 247f579c9c..809c9aab77 100644 --- a/docs/examples/1.4.x/console-web/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.4.x/console-web/examples/users/create-bcrypt-user.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/users/create-m-d5user.md b/docs/examples/1.4.x/console-web/examples/users/create-m-d5user.md index 8a81f0801b..13048d3ad6 100644 --- a/docs/examples/1.4.x/console-web/examples/users/create-m-d5user.md +++ b/docs/examples/1.4.x/console-web/examples/users/create-m-d5user.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/users/create-p-h-pass-user.md b/docs/examples/1.4.x/console-web/examples/users/create-p-h-pass-user.md index f7297c1023..448fb53ac2 100644 --- a/docs/examples/1.4.x/console-web/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.4.x/console-web/examples/users/create-p-h-pass-user.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/users/create-s-h-a-user.md b/docs/examples/1.4.x/console-web/examples/users/create-s-h-a-user.md index 3cefaf17df..d188ec648d 100644 --- a/docs/examples/1.4.x/console-web/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.4.x/console-web/examples/users/create-s-h-a-user.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/users/create-scrypt-modified-user.md b/docs/examples/1.4.x/console-web/examples/users/create-scrypt-modified-user.md index d8889fa229..da40910a37 100644 --- a/docs/examples/1.4.x/console-web/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.4.x/console-web/examples/users/create-scrypt-modified-user.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/users/create-scrypt-user.md b/docs/examples/1.4.x/console-web/examples/users/create-scrypt-user.md index 3c4b357e4c..ba82d26d9f 100644 --- a/docs/examples/1.4.x/console-web/examples/users/create-scrypt-user.md +++ b/docs/examples/1.4.x/console-web/examples/users/create-scrypt-user.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/users/create.md b/docs/examples/1.4.x/console-web/examples/users/create.md index 845895d6a5..30e6ec9266 100644 --- a/docs/examples/1.4.x/console-web/examples/users/create.md +++ b/docs/examples/1.4.x/console-web/examples/users/create.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/users/delete-identity.md b/docs/examples/1.4.x/console-web/examples/users/delete-identity.md index d2aa30d34b..0324ff08b9 100644 --- a/docs/examples/1.4.x/console-web/examples/users/delete-identity.md +++ b/docs/examples/1.4.x/console-web/examples/users/delete-identity.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/users/delete-session.md b/docs/examples/1.4.x/console-web/examples/users/delete-session.md index 70404ca574..9098318a77 100644 --- a/docs/examples/1.4.x/console-web/examples/users/delete-session.md +++ b/docs/examples/1.4.x/console-web/examples/users/delete-session.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/users/delete-sessions.md b/docs/examples/1.4.x/console-web/examples/users/delete-sessions.md index b02771c709..c8994db4e5 100644 --- a/docs/examples/1.4.x/console-web/examples/users/delete-sessions.md +++ b/docs/examples/1.4.x/console-web/examples/users/delete-sessions.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/users/delete.md b/docs/examples/1.4.x/console-web/examples/users/delete.md index 0bb95c395b..8dd6885f0e 100644 --- a/docs/examples/1.4.x/console-web/examples/users/delete.md +++ b/docs/examples/1.4.x/console-web/examples/users/delete.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/users/get-prefs.md b/docs/examples/1.4.x/console-web/examples/users/get-prefs.md index 593552bd03..a0e8f78b94 100644 --- a/docs/examples/1.4.x/console-web/examples/users/get-prefs.md +++ b/docs/examples/1.4.x/console-web/examples/users/get-prefs.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/users/get-usage.md b/docs/examples/1.4.x/console-web/examples/users/get-usage.md index 59d95e6dcb..3c38b500d8 100644 --- a/docs/examples/1.4.x/console-web/examples/users/get-usage.md +++ b/docs/examples/1.4.x/console-web/examples/users/get-usage.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/users/get.md b/docs/examples/1.4.x/console-web/examples/users/get.md index 46cee750f7..816b41ad39 100644 --- a/docs/examples/1.4.x/console-web/examples/users/get.md +++ b/docs/examples/1.4.x/console-web/examples/users/get.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/users/list-identities.md b/docs/examples/1.4.x/console-web/examples/users/list-identities.md index 214fa9728d..bbddf9b560 100644 --- a/docs/examples/1.4.x/console-web/examples/users/list-identities.md +++ b/docs/examples/1.4.x/console-web/examples/users/list-identities.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/users/list-logs.md b/docs/examples/1.4.x/console-web/examples/users/list-logs.md index ded1e98b40..cb2402e2d0 100644 --- a/docs/examples/1.4.x/console-web/examples/users/list-logs.md +++ b/docs/examples/1.4.x/console-web/examples/users/list-logs.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/users/list-memberships.md b/docs/examples/1.4.x/console-web/examples/users/list-memberships.md index b47f7acf57..3f9dca5ab2 100644 --- a/docs/examples/1.4.x/console-web/examples/users/list-memberships.md +++ b/docs/examples/1.4.x/console-web/examples/users/list-memberships.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/users/list-sessions.md b/docs/examples/1.4.x/console-web/examples/users/list-sessions.md index 087834e569..0c0109550b 100644 --- a/docs/examples/1.4.x/console-web/examples/users/list-sessions.md +++ b/docs/examples/1.4.x/console-web/examples/users/list-sessions.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/users/list.md b/docs/examples/1.4.x/console-web/examples/users/list.md index 28a8258b12..f658f432ba 100644 --- a/docs/examples/1.4.x/console-web/examples/users/list.md +++ b/docs/examples/1.4.x/console-web/examples/users/list.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/users/update-email-verification.md b/docs/examples/1.4.x/console-web/examples/users/update-email-verification.md index 019b072371..7b9d2cc424 100644 --- a/docs/examples/1.4.x/console-web/examples/users/update-email-verification.md +++ b/docs/examples/1.4.x/console-web/examples/users/update-email-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/users/update-email.md b/docs/examples/1.4.x/console-web/examples/users/update-email.md index e37d03a01c..fe1f2500f8 100644 --- a/docs/examples/1.4.x/console-web/examples/users/update-email.md +++ b/docs/examples/1.4.x/console-web/examples/users/update-email.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/users/update-labels.md b/docs/examples/1.4.x/console-web/examples/users/update-labels.md index 9d61425d70..5ad24020a5 100644 --- a/docs/examples/1.4.x/console-web/examples/users/update-labels.md +++ b/docs/examples/1.4.x/console-web/examples/users/update-labels.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/users/update-name.md b/docs/examples/1.4.x/console-web/examples/users/update-name.md index 2834c747da..2d491d7a56 100644 --- a/docs/examples/1.4.x/console-web/examples/users/update-name.md +++ b/docs/examples/1.4.x/console-web/examples/users/update-name.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/users/update-password.md b/docs/examples/1.4.x/console-web/examples/users/update-password.md index 5192abda89..8edb97138f 100644 --- a/docs/examples/1.4.x/console-web/examples/users/update-password.md +++ b/docs/examples/1.4.x/console-web/examples/users/update-password.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/users/update-phone-verification.md b/docs/examples/1.4.x/console-web/examples/users/update-phone-verification.md index 17ddf467d9..d4fe6f00a1 100644 --- a/docs/examples/1.4.x/console-web/examples/users/update-phone-verification.md +++ b/docs/examples/1.4.x/console-web/examples/users/update-phone-verification.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/users/update-phone.md b/docs/examples/1.4.x/console-web/examples/users/update-phone.md index a1d85aaaca..ce74c71022 100644 --- a/docs/examples/1.4.x/console-web/examples/users/update-phone.md +++ b/docs/examples/1.4.x/console-web/examples/users/update-phone.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/users/update-prefs.md b/docs/examples/1.4.x/console-web/examples/users/update-prefs.md index e3c5b76c2a..c05c4df53d 100644 --- a/docs/examples/1.4.x/console-web/examples/users/update-prefs.md +++ b/docs/examples/1.4.x/console-web/examples/users/update-prefs.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/users/update-status.md b/docs/examples/1.4.x/console-web/examples/users/update-status.md index eafbec728f..87e2197cfc 100644 --- a/docs/examples/1.4.x/console-web/examples/users/update-status.md +++ b/docs/examples/1.4.x/console-web/examples/users/update-status.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/vcs/create-repository-detection.md b/docs/examples/1.4.x/console-web/examples/vcs/create-repository-detection.md index dc4591ef28..8ac0a506ec 100644 --- a/docs/examples/1.4.x/console-web/examples/vcs/create-repository-detection.md +++ b/docs/examples/1.4.x/console-web/examples/vcs/create-repository-detection.md @@ -5,7 +5,7 @@ const client = new Client(); const vcs = new Vcs(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/vcs/create-repository.md b/docs/examples/1.4.x/console-web/examples/vcs/create-repository.md index 84f919bbc1..d72fe1ee77 100644 --- a/docs/examples/1.4.x/console-web/examples/vcs/create-repository.md +++ b/docs/examples/1.4.x/console-web/examples/vcs/create-repository.md @@ -5,7 +5,7 @@ const client = new Client(); const vcs = new Vcs(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/vcs/delete-installation.md b/docs/examples/1.4.x/console-web/examples/vcs/delete-installation.md index b56f76b09f..9fd383ea01 100644 --- a/docs/examples/1.4.x/console-web/examples/vcs/delete-installation.md +++ b/docs/examples/1.4.x/console-web/examples/vcs/delete-installation.md @@ -5,7 +5,7 @@ const client = new Client(); const vcs = new Vcs(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/vcs/get-installation.md b/docs/examples/1.4.x/console-web/examples/vcs/get-installation.md index 6dc92e92b0..c5584d2b61 100644 --- a/docs/examples/1.4.x/console-web/examples/vcs/get-installation.md +++ b/docs/examples/1.4.x/console-web/examples/vcs/get-installation.md @@ -5,7 +5,7 @@ const client = new Client(); const vcs = new Vcs(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/vcs/get-repository.md b/docs/examples/1.4.x/console-web/examples/vcs/get-repository.md index b2c867d939..b5d8499312 100644 --- a/docs/examples/1.4.x/console-web/examples/vcs/get-repository.md +++ b/docs/examples/1.4.x/console-web/examples/vcs/get-repository.md @@ -5,7 +5,7 @@ const client = new Client(); const vcs = new Vcs(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/vcs/list-installations.md b/docs/examples/1.4.x/console-web/examples/vcs/list-installations.md index f18d999336..4c779dc100 100644 --- a/docs/examples/1.4.x/console-web/examples/vcs/list-installations.md +++ b/docs/examples/1.4.x/console-web/examples/vcs/list-installations.md @@ -5,7 +5,7 @@ const client = new Client(); const vcs = new Vcs(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/vcs/list-repositories.md b/docs/examples/1.4.x/console-web/examples/vcs/list-repositories.md index 85eea5d62f..50f0061d0c 100644 --- a/docs/examples/1.4.x/console-web/examples/vcs/list-repositories.md +++ b/docs/examples/1.4.x/console-web/examples/vcs/list-repositories.md @@ -5,7 +5,7 @@ const client = new Client(); const vcs = new Vcs(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/vcs/list-repository-branches.md b/docs/examples/1.4.x/console-web/examples/vcs/list-repository-branches.md index 1ebc3a5fa1..c0ccf9e105 100644 --- a/docs/examples/1.4.x/console-web/examples/vcs/list-repository-branches.md +++ b/docs/examples/1.4.x/console-web/examples/vcs/list-repository-branches.md @@ -5,7 +5,7 @@ const client = new Client(); const vcs = new Vcs(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/console-web/examples/vcs/update-external-deployments.md b/docs/examples/1.4.x/console-web/examples/vcs/update-external-deployments.md index a95a2c1e35..28b65b82d7 100644 --- a/docs/examples/1.4.x/console-web/examples/vcs/update-external-deployments.md +++ b/docs/examples/1.4.x/console-web/examples/vcs/update-external-deployments.md @@ -5,7 +5,7 @@ const client = new Client(); const vcs = new Vcs(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.4.x/server-dart/examples/account/create-phone-verification.md b/docs/examples/1.4.x/server-dart/examples/account/create-phone-verification.md index 912f8c3b1e..85ea968b94 100644 --- a/docs/examples/1.4.x/server-dart/examples/account/create-phone-verification.md +++ b/docs/examples/1.4.x/server-dart/examples/account/create-phone-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-dart/examples/account/create-recovery.md b/docs/examples/1.4.x/server-dart/examples/account/create-recovery.md index d9f13957c7..0fe2889a76 100644 --- a/docs/examples/1.4.x/server-dart/examples/account/create-recovery.md +++ b/docs/examples/1.4.x/server-dart/examples/account/create-recovery.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-dart/examples/account/create-verification.md b/docs/examples/1.4.x/server-dart/examples/account/create-verification.md index cca3c7b774..8daf5d7b1f 100644 --- a/docs/examples/1.4.x/server-dart/examples/account/create-verification.md +++ b/docs/examples/1.4.x/server-dart/examples/account/create-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-dart/examples/account/delete-identity.md b/docs/examples/1.4.x/server-dart/examples/account/delete-identity.md index 7b8f09a353..09f7ea4222 100644 --- a/docs/examples/1.4.x/server-dart/examples/account/delete-identity.md +++ b/docs/examples/1.4.x/server-dart/examples/account/delete-identity.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-dart/examples/account/delete-session.md b/docs/examples/1.4.x/server-dart/examples/account/delete-session.md index 9486ec9b80..92a0fee9a2 100644 --- a/docs/examples/1.4.x/server-dart/examples/account/delete-session.md +++ b/docs/examples/1.4.x/server-dart/examples/account/delete-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-dart/examples/account/delete-sessions.md b/docs/examples/1.4.x/server-dart/examples/account/delete-sessions.md index a5732cb68e..2477115be1 100644 --- a/docs/examples/1.4.x/server-dart/examples/account/delete-sessions.md +++ b/docs/examples/1.4.x/server-dart/examples/account/delete-sessions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-dart/examples/account/get-prefs.md b/docs/examples/1.4.x/server-dart/examples/account/get-prefs.md index 527a71f3b1..fcf164dde0 100644 --- a/docs/examples/1.4.x/server-dart/examples/account/get-prefs.md +++ b/docs/examples/1.4.x/server-dart/examples/account/get-prefs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-dart/examples/account/get-session.md b/docs/examples/1.4.x/server-dart/examples/account/get-session.md index 6eb711ab4d..029d7bc3d9 100644 --- a/docs/examples/1.4.x/server-dart/examples/account/get-session.md +++ b/docs/examples/1.4.x/server-dart/examples/account/get-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-dart/examples/account/get.md b/docs/examples/1.4.x/server-dart/examples/account/get.md index c72fdddb10..805061bd70 100644 --- a/docs/examples/1.4.x/server-dart/examples/account/get.md +++ b/docs/examples/1.4.x/server-dart/examples/account/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-dart/examples/account/list-identities.md b/docs/examples/1.4.x/server-dart/examples/account/list-identities.md index 63789e529f..67c9dbf475 100644 --- a/docs/examples/1.4.x/server-dart/examples/account/list-identities.md +++ b/docs/examples/1.4.x/server-dart/examples/account/list-identities.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-dart/examples/account/list-logs.md b/docs/examples/1.4.x/server-dart/examples/account/list-logs.md index 68d2c49f74..41cdad74c0 100644 --- a/docs/examples/1.4.x/server-dart/examples/account/list-logs.md +++ b/docs/examples/1.4.x/server-dart/examples/account/list-logs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-dart/examples/account/list-sessions.md b/docs/examples/1.4.x/server-dart/examples/account/list-sessions.md index 0d6567b5f3..30bb6fc8c9 100644 --- a/docs/examples/1.4.x/server-dart/examples/account/list-sessions.md +++ b/docs/examples/1.4.x/server-dart/examples/account/list-sessions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-dart/examples/account/update-email.md b/docs/examples/1.4.x/server-dart/examples/account/update-email.md index b83f7d86da..ad77ccfd9a 100644 --- a/docs/examples/1.4.x/server-dart/examples/account/update-email.md +++ b/docs/examples/1.4.x/server-dart/examples/account/update-email.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-dart/examples/account/update-name.md b/docs/examples/1.4.x/server-dart/examples/account/update-name.md index 0bd27cf204..7df0f9cc01 100644 --- a/docs/examples/1.4.x/server-dart/examples/account/update-name.md +++ b/docs/examples/1.4.x/server-dart/examples/account/update-name.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-dart/examples/account/update-password.md b/docs/examples/1.4.x/server-dart/examples/account/update-password.md index d5e27a7574..559b875ebf 100644 --- a/docs/examples/1.4.x/server-dart/examples/account/update-password.md +++ b/docs/examples/1.4.x/server-dart/examples/account/update-password.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-dart/examples/account/update-phone-verification.md b/docs/examples/1.4.x/server-dart/examples/account/update-phone-verification.md index f2995b9b93..4892311ef2 100644 --- a/docs/examples/1.4.x/server-dart/examples/account/update-phone-verification.md +++ b/docs/examples/1.4.x/server-dart/examples/account/update-phone-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-dart/examples/account/update-phone.md b/docs/examples/1.4.x/server-dart/examples/account/update-phone.md index 5848da5d10..465593c0ab 100644 --- a/docs/examples/1.4.x/server-dart/examples/account/update-phone.md +++ b/docs/examples/1.4.x/server-dart/examples/account/update-phone.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-dart/examples/account/update-prefs.md b/docs/examples/1.4.x/server-dart/examples/account/update-prefs.md index ffbe700288..7ffef542be 100644 --- a/docs/examples/1.4.x/server-dart/examples/account/update-prefs.md +++ b/docs/examples/1.4.x/server-dart/examples/account/update-prefs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-dart/examples/account/update-recovery.md b/docs/examples/1.4.x/server-dart/examples/account/update-recovery.md index c2cf9d2396..e3ade8270b 100644 --- a/docs/examples/1.4.x/server-dart/examples/account/update-recovery.md +++ b/docs/examples/1.4.x/server-dart/examples/account/update-recovery.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-dart/examples/account/update-session.md b/docs/examples/1.4.x/server-dart/examples/account/update-session.md index 61e11e27af..859f1a81f7 100644 --- a/docs/examples/1.4.x/server-dart/examples/account/update-session.md +++ b/docs/examples/1.4.x/server-dart/examples/account/update-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-dart/examples/account/update-status.md b/docs/examples/1.4.x/server-dart/examples/account/update-status.md index 12f733334a..610784294a 100644 --- a/docs/examples/1.4.x/server-dart/examples/account/update-status.md +++ b/docs/examples/1.4.x/server-dart/examples/account/update-status.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-dart/examples/account/update-verification.md b/docs/examples/1.4.x/server-dart/examples/account/update-verification.md index 40e36426a1..7b291b6160 100644 --- a/docs/examples/1.4.x/server-dart/examples/account/update-verification.md +++ b/docs/examples/1.4.x/server-dart/examples/account/update-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Account account = Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-dart/examples/avatars/get-browser.md b/docs/examples/1.4.x/server-dart/examples/avatars/get-browser.md index 0bac9df4ef..abca00ba4b 100644 --- a/docs/examples/1.4.x/server-dart/examples/avatars/get-browser.md +++ b/docs/examples/1.4.x/server-dart/examples/avatars/get-browser.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/avatars/get-credit-card.md b/docs/examples/1.4.x/server-dart/examples/avatars/get-credit-card.md index b9a8166e48..b50b1304f9 100644 --- a/docs/examples/1.4.x/server-dart/examples/avatars/get-credit-card.md +++ b/docs/examples/1.4.x/server-dart/examples/avatars/get-credit-card.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/avatars/get-favicon.md b/docs/examples/1.4.x/server-dart/examples/avatars/get-favicon.md index 6a728e7792..a547908fa4 100644 --- a/docs/examples/1.4.x/server-dart/examples/avatars/get-favicon.md +++ b/docs/examples/1.4.x/server-dart/examples/avatars/get-favicon.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/avatars/get-flag.md b/docs/examples/1.4.x/server-dart/examples/avatars/get-flag.md index 02e4880926..8e2d9f1490 100644 --- a/docs/examples/1.4.x/server-dart/examples/avatars/get-flag.md +++ b/docs/examples/1.4.x/server-dart/examples/avatars/get-flag.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/avatars/get-image.md b/docs/examples/1.4.x/server-dart/examples/avatars/get-image.md index b1d5e33884..746ec079b0 100644 --- a/docs/examples/1.4.x/server-dart/examples/avatars/get-image.md +++ b/docs/examples/1.4.x/server-dart/examples/avatars/get-image.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/avatars/get-initials.md b/docs/examples/1.4.x/server-dart/examples/avatars/get-initials.md index 5a68caf1d9..c979fddd08 100644 --- a/docs/examples/1.4.x/server-dart/examples/avatars/get-initials.md +++ b/docs/examples/1.4.x/server-dart/examples/avatars/get-initials.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/avatars/get-q-r.md b/docs/examples/1.4.x/server-dart/examples/avatars/get-q-r.md index 8283b9bdf4..6ab3cf709d 100644 --- a/docs/examples/1.4.x/server-dart/examples/avatars/get-q-r.md +++ b/docs/examples/1.4.x/server-dart/examples/avatars/get-q-r.md @@ -5,7 +5,7 @@ void main() { // Init SDK Avatars avatars = Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/create-boolean-attribute.md b/docs/examples/1.4.x/server-dart/examples/databases/create-boolean-attribute.md index 224719685b..0fb759bcb2 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/create-boolean-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/create-collection.md b/docs/examples/1.4.x/server-dart/examples/databases/create-collection.md index c90183deed..e63877b39f 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/create-collection.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/create-collection.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/create-datetime-attribute.md b/docs/examples/1.4.x/server-dart/examples/databases/create-datetime-attribute.md index 24c44088f3..f56eec54ec 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/create-datetime-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/create-document.md b/docs/examples/1.4.x/server-dart/examples/databases/create-document.md index 00d844da0f..1f6f6b9703 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/create-document.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/create-document.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/create-email-attribute.md b/docs/examples/1.4.x/server-dart/examples/databases/create-email-attribute.md index 92fd32037b..ea1ebfb480 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/create-email-attribute.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/create-email-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/create-enum-attribute.md b/docs/examples/1.4.x/server-dart/examples/databases/create-enum-attribute.md index fa8ad92015..03773c58eb 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/create-enum-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/create-float-attribute.md b/docs/examples/1.4.x/server-dart/examples/databases/create-float-attribute.md index 96047bf2b2..94c716b9d4 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/create-float-attribute.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/create-float-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/create-index.md b/docs/examples/1.4.x/server-dart/examples/databases/create-index.md index c16a02719e..248d9632a0 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/create-index.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/create-index.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/create-integer-attribute.md b/docs/examples/1.4.x/server-dart/examples/databases/create-integer-attribute.md index bc4f12f0c4..4b1d76195d 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/create-integer-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/create-ip-attribute.md b/docs/examples/1.4.x/server-dart/examples/databases/create-ip-attribute.md index ef3e985a38..4b3586ae34 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/create-ip-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/create-relationship-attribute.md b/docs/examples/1.4.x/server-dart/examples/databases/create-relationship-attribute.md index 01f2b42f75..01c7e0e5db 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/create-relationship-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/create-string-attribute.md b/docs/examples/1.4.x/server-dart/examples/databases/create-string-attribute.md index 14f2769dbb..ed973e8c53 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/create-string-attribute.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/create-string-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/create-url-attribute.md b/docs/examples/1.4.x/server-dart/examples/databases/create-url-attribute.md index 4cf3e99a72..62b6970b27 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/create-url-attribute.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/create-url-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/create.md b/docs/examples/1.4.x/server-dart/examples/databases/create.md index cbaf3b742d..390baabb61 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/create.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/create.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/delete-attribute.md b/docs/examples/1.4.x/server-dart/examples/databases/delete-attribute.md index e9865bfe22..b52ba1f39d 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/delete-attribute.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/delete-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/delete-collection.md b/docs/examples/1.4.x/server-dart/examples/databases/delete-collection.md index 5886920115..8de343f869 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/delete-collection.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/delete-collection.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/delete-document.md b/docs/examples/1.4.x/server-dart/examples/databases/delete-document.md index 0d298f3b42..bcb4b7a2da 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/delete-document.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/delete-document.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/delete-index.md b/docs/examples/1.4.x/server-dart/examples/databases/delete-index.md index be5b2a5c9f..8422593fe5 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/delete-index.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/delete-index.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/delete.md b/docs/examples/1.4.x/server-dart/examples/databases/delete.md index ff19beea69..bd4c483f01 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/delete.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/delete.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/get-attribute.md b/docs/examples/1.4.x/server-dart/examples/databases/get-attribute.md index c27ddb648c..e066f70d13 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/get-attribute.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/get-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/get-collection.md b/docs/examples/1.4.x/server-dart/examples/databases/get-collection.md index 359f0df829..2678a1a543 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/get-collection.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/get-collection.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/get-document.md b/docs/examples/1.4.x/server-dart/examples/databases/get-document.md index 2141abf4be..4c5beadccf 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/get-document.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/get-document.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/get-index.md b/docs/examples/1.4.x/server-dart/examples/databases/get-index.md index 2b8a90318d..9b881f7d78 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/get-index.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/get-index.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/get.md b/docs/examples/1.4.x/server-dart/examples/databases/get.md index f0cc118b96..7a2d959101 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/get.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/list-attributes.md b/docs/examples/1.4.x/server-dart/examples/databases/list-attributes.md index 60ca58f3c3..1c9d635195 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/list-attributes.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/list-attributes.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/list-collections.md b/docs/examples/1.4.x/server-dart/examples/databases/list-collections.md index a10038db11..cd120817dc 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/list-collections.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/list-collections.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/list-documents.md b/docs/examples/1.4.x/server-dart/examples/databases/list-documents.md index 70299774fb..41703ae26b 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/list-documents.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/list-documents.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/list-indexes.md b/docs/examples/1.4.x/server-dart/examples/databases/list-indexes.md index 6703ebf35a..d959370fc6 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/list-indexes.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/list-indexes.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/list.md b/docs/examples/1.4.x/server-dart/examples/databases/list.md index d9bd06ad34..da25b576d7 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/list.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/list.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/update-boolean-attribute.md b/docs/examples/1.4.x/server-dart/examples/databases/update-boolean-attribute.md index 94853d2819..95b9735957 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/update-boolean-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/update-collection.md b/docs/examples/1.4.x/server-dart/examples/databases/update-collection.md index a5f32dead1..4501459265 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/update-collection.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/update-collection.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/update-datetime-attribute.md b/docs/examples/1.4.x/server-dart/examples/databases/update-datetime-attribute.md index f93aa81500..200266fda0 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/update-datetime-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/update-document.md b/docs/examples/1.4.x/server-dart/examples/databases/update-document.md index fb08413f2f..4b34007c49 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/update-document.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/update-document.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/update-email-attribute.md b/docs/examples/1.4.x/server-dart/examples/databases/update-email-attribute.md index 8fd104db32..c79242fcc9 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/update-email-attribute.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/update-email-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/update-enum-attribute.md b/docs/examples/1.4.x/server-dart/examples/databases/update-enum-attribute.md index 20c44817ef..29bbb49e49 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/update-enum-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/update-float-attribute.md b/docs/examples/1.4.x/server-dart/examples/databases/update-float-attribute.md index 50432542c6..b395495516 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/update-float-attribute.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/update-float-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/update-integer-attribute.md b/docs/examples/1.4.x/server-dart/examples/databases/update-integer-attribute.md index 2d3da6ced6..659631462c 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/update-integer-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/update-ip-attribute.md b/docs/examples/1.4.x/server-dart/examples/databases/update-ip-attribute.md index 8c4cf4f3f2..c3bfa069b7 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/update-ip-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/update-relationship-attribute.md b/docs/examples/1.4.x/server-dart/examples/databases/update-relationship-attribute.md index 239e23daab..35943d8f1a 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/update-relationship-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/update-string-attribute.md b/docs/examples/1.4.x/server-dart/examples/databases/update-string-attribute.md index 7f24507aba..54a3d0df6e 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/update-string-attribute.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/update-string-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/update-url-attribute.md b/docs/examples/1.4.x/server-dart/examples/databases/update-url-attribute.md index d7dd6758bb..9787d2b7c5 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/update-url-attribute.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/update-url-attribute.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/databases/update.md b/docs/examples/1.4.x/server-dart/examples/databases/update.md index 59070cefa9..7187605e81 100644 --- a/docs/examples/1.4.x/server-dart/examples/databases/update.md +++ b/docs/examples/1.4.x/server-dart/examples/databases/update.md @@ -5,7 +5,7 @@ void main() { // Init SDK Databases databases = Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/functions/create-build.md b/docs/examples/1.4.x/server-dart/examples/functions/create-build.md index 530ba6deab..eea5cc14c0 100644 --- a/docs/examples/1.4.x/server-dart/examples/functions/create-build.md +++ b/docs/examples/1.4.x/server-dart/examples/functions/create-build.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/functions/create-deployment.md b/docs/examples/1.4.x/server-dart/examples/functions/create-deployment.md index 8be0f1a725..b31b345c99 100644 --- a/docs/examples/1.4.x/server-dart/examples/functions/create-deployment.md +++ b/docs/examples/1.4.x/server-dart/examples/functions/create-deployment.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/functions/create-execution.md b/docs/examples/1.4.x/server-dart/examples/functions/create-execution.md index f5de49f7cf..610579eef0 100644 --- a/docs/examples/1.4.x/server-dart/examples/functions/create-execution.md +++ b/docs/examples/1.4.x/server-dart/examples/functions/create-execution.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/functions/create-variable.md b/docs/examples/1.4.x/server-dart/examples/functions/create-variable.md index 50cd063ca1..2990bf98be 100644 --- a/docs/examples/1.4.x/server-dart/examples/functions/create-variable.md +++ b/docs/examples/1.4.x/server-dart/examples/functions/create-variable.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/functions/create.md b/docs/examples/1.4.x/server-dart/examples/functions/create.md index 73d84fcf9a..7e00eb099a 100644 --- a/docs/examples/1.4.x/server-dart/examples/functions/create.md +++ b/docs/examples/1.4.x/server-dart/examples/functions/create.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/functions/delete-deployment.md b/docs/examples/1.4.x/server-dart/examples/functions/delete-deployment.md index e65380c501..339c0d60ce 100644 --- a/docs/examples/1.4.x/server-dart/examples/functions/delete-deployment.md +++ b/docs/examples/1.4.x/server-dart/examples/functions/delete-deployment.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/functions/delete-variable.md b/docs/examples/1.4.x/server-dart/examples/functions/delete-variable.md index 87c7f407b5..ad86ec73cb 100644 --- a/docs/examples/1.4.x/server-dart/examples/functions/delete-variable.md +++ b/docs/examples/1.4.x/server-dart/examples/functions/delete-variable.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/functions/delete.md b/docs/examples/1.4.x/server-dart/examples/functions/delete.md index 5163366912..276f7effa2 100644 --- a/docs/examples/1.4.x/server-dart/examples/functions/delete.md +++ b/docs/examples/1.4.x/server-dart/examples/functions/delete.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/functions/download-deployment.md b/docs/examples/1.4.x/server-dart/examples/functions/download-deployment.md index d77d3aaff8..aca9499526 100644 --- a/docs/examples/1.4.x/server-dart/examples/functions/download-deployment.md +++ b/docs/examples/1.4.x/server-dart/examples/functions/download-deployment.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/functions/get-deployment.md b/docs/examples/1.4.x/server-dart/examples/functions/get-deployment.md index 9cab571e94..f46260a2ff 100644 --- a/docs/examples/1.4.x/server-dart/examples/functions/get-deployment.md +++ b/docs/examples/1.4.x/server-dart/examples/functions/get-deployment.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/functions/get-execution.md b/docs/examples/1.4.x/server-dart/examples/functions/get-execution.md index 6cadde6426..6749539306 100644 --- a/docs/examples/1.4.x/server-dart/examples/functions/get-execution.md +++ b/docs/examples/1.4.x/server-dart/examples/functions/get-execution.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/functions/get-variable.md b/docs/examples/1.4.x/server-dart/examples/functions/get-variable.md index 924bee2bff..7223c5add9 100644 --- a/docs/examples/1.4.x/server-dart/examples/functions/get-variable.md +++ b/docs/examples/1.4.x/server-dart/examples/functions/get-variable.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/functions/get.md b/docs/examples/1.4.x/server-dart/examples/functions/get.md index 503ab20709..1073d33b1a 100644 --- a/docs/examples/1.4.x/server-dart/examples/functions/get.md +++ b/docs/examples/1.4.x/server-dart/examples/functions/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/functions/list-deployments.md b/docs/examples/1.4.x/server-dart/examples/functions/list-deployments.md index b12f9eba87..d1b80ddd95 100644 --- a/docs/examples/1.4.x/server-dart/examples/functions/list-deployments.md +++ b/docs/examples/1.4.x/server-dart/examples/functions/list-deployments.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/functions/list-executions.md b/docs/examples/1.4.x/server-dart/examples/functions/list-executions.md index 3d66a4496a..255f38a299 100644 --- a/docs/examples/1.4.x/server-dart/examples/functions/list-executions.md +++ b/docs/examples/1.4.x/server-dart/examples/functions/list-executions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/functions/list-runtimes.md b/docs/examples/1.4.x/server-dart/examples/functions/list-runtimes.md index 091a1116f7..a91a501814 100644 --- a/docs/examples/1.4.x/server-dart/examples/functions/list-runtimes.md +++ b/docs/examples/1.4.x/server-dart/examples/functions/list-runtimes.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/functions/list-variables.md b/docs/examples/1.4.x/server-dart/examples/functions/list-variables.md index f3c6655b14..ea5e477987 100644 --- a/docs/examples/1.4.x/server-dart/examples/functions/list-variables.md +++ b/docs/examples/1.4.x/server-dart/examples/functions/list-variables.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/functions/list.md b/docs/examples/1.4.x/server-dart/examples/functions/list.md index 4f2b11404d..e5fde72144 100644 --- a/docs/examples/1.4.x/server-dart/examples/functions/list.md +++ b/docs/examples/1.4.x/server-dart/examples/functions/list.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/functions/update-deployment.md b/docs/examples/1.4.x/server-dart/examples/functions/update-deployment.md index d503aecb3b..cd9a57018a 100644 --- a/docs/examples/1.4.x/server-dart/examples/functions/update-deployment.md +++ b/docs/examples/1.4.x/server-dart/examples/functions/update-deployment.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/functions/update-variable.md b/docs/examples/1.4.x/server-dart/examples/functions/update-variable.md index 126d264470..d40a831970 100644 --- a/docs/examples/1.4.x/server-dart/examples/functions/update-variable.md +++ b/docs/examples/1.4.x/server-dart/examples/functions/update-variable.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/functions/update.md b/docs/examples/1.4.x/server-dart/examples/functions/update.md index 2b92f55387..bf36155e7e 100644 --- a/docs/examples/1.4.x/server-dart/examples/functions/update.md +++ b/docs/examples/1.4.x/server-dart/examples/functions/update.md @@ -5,7 +5,7 @@ void main() { // Init SDK Functions functions = Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/graphql/mutation.md b/docs/examples/1.4.x/server-dart/examples/graphql/mutation.md index 780ee09f4a..160c049dc2 100644 --- a/docs/examples/1.4.x/server-dart/examples/graphql/mutation.md +++ b/docs/examples/1.4.x/server-dart/examples/graphql/mutation.md @@ -5,7 +5,7 @@ void main() { // Init SDK Graphql graphql = Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/graphql/query.md b/docs/examples/1.4.x/server-dart/examples/graphql/query.md index 7f22f5360d..4191d3c271 100644 --- a/docs/examples/1.4.x/server-dart/examples/graphql/query.md +++ b/docs/examples/1.4.x/server-dart/examples/graphql/query.md @@ -5,7 +5,7 @@ void main() { // Init SDK Graphql graphql = Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/health/get-antivirus.md b/docs/examples/1.4.x/server-dart/examples/health/get-antivirus.md index 922dcfa136..7b8d638d8e 100644 --- a/docs/examples/1.4.x/server-dart/examples/health/get-antivirus.md +++ b/docs/examples/1.4.x/server-dart/examples/health/get-antivirus.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/health/get-cache.md b/docs/examples/1.4.x/server-dart/examples/health/get-cache.md index 4b63edeee3..08ea1370d1 100644 --- a/docs/examples/1.4.x/server-dart/examples/health/get-cache.md +++ b/docs/examples/1.4.x/server-dart/examples/health/get-cache.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/health/get-d-b.md b/docs/examples/1.4.x/server-dart/examples/health/get-d-b.md index 65188c096e..30cf5c928f 100644 --- a/docs/examples/1.4.x/server-dart/examples/health/get-d-b.md +++ b/docs/examples/1.4.x/server-dart/examples/health/get-d-b.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/health/get-pub-sub.md b/docs/examples/1.4.x/server-dart/examples/health/get-pub-sub.md index ef20bed89f..5eaed7c9f8 100644 --- a/docs/examples/1.4.x/server-dart/examples/health/get-pub-sub.md +++ b/docs/examples/1.4.x/server-dart/examples/health/get-pub-sub.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/health/get-queue-builds.md b/docs/examples/1.4.x/server-dart/examples/health/get-queue-builds.md index e1236d9e36..257ce544bf 100644 --- a/docs/examples/1.4.x/server-dart/examples/health/get-queue-builds.md +++ b/docs/examples/1.4.x/server-dart/examples/health/get-queue-builds.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/health/get-queue-certificates.md b/docs/examples/1.4.x/server-dart/examples/health/get-queue-certificates.md index 4063ab3514..884c6b31f1 100644 --- a/docs/examples/1.4.x/server-dart/examples/health/get-queue-certificates.md +++ b/docs/examples/1.4.x/server-dart/examples/health/get-queue-certificates.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/health/get-queue-databases.md b/docs/examples/1.4.x/server-dart/examples/health/get-queue-databases.md index a1540fbb46..bf9a83b2cc 100644 --- a/docs/examples/1.4.x/server-dart/examples/health/get-queue-databases.md +++ b/docs/examples/1.4.x/server-dart/examples/health/get-queue-databases.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/health/get-queue-deletes.md b/docs/examples/1.4.x/server-dart/examples/health/get-queue-deletes.md index 7720d8231c..a1598d0f71 100644 --- a/docs/examples/1.4.x/server-dart/examples/health/get-queue-deletes.md +++ b/docs/examples/1.4.x/server-dart/examples/health/get-queue-deletes.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/health/get-queue-functions.md b/docs/examples/1.4.x/server-dart/examples/health/get-queue-functions.md index 5ebaad6484..048fce8d32 100644 --- a/docs/examples/1.4.x/server-dart/examples/health/get-queue-functions.md +++ b/docs/examples/1.4.x/server-dart/examples/health/get-queue-functions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/health/get-queue-logs.md b/docs/examples/1.4.x/server-dart/examples/health/get-queue-logs.md index 11a5285439..4219552857 100644 --- a/docs/examples/1.4.x/server-dart/examples/health/get-queue-logs.md +++ b/docs/examples/1.4.x/server-dart/examples/health/get-queue-logs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/health/get-queue-mails.md b/docs/examples/1.4.x/server-dart/examples/health/get-queue-mails.md index 52954f1d58..f7c6d49c22 100644 --- a/docs/examples/1.4.x/server-dart/examples/health/get-queue-mails.md +++ b/docs/examples/1.4.x/server-dart/examples/health/get-queue-mails.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/health/get-queue-messaging.md b/docs/examples/1.4.x/server-dart/examples/health/get-queue-messaging.md index 794c2ec02e..f774ac01c0 100644 --- a/docs/examples/1.4.x/server-dart/examples/health/get-queue-messaging.md +++ b/docs/examples/1.4.x/server-dart/examples/health/get-queue-messaging.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/health/get-queue-migrations.md b/docs/examples/1.4.x/server-dart/examples/health/get-queue-migrations.md index cc0989a64c..f60a16271e 100644 --- a/docs/examples/1.4.x/server-dart/examples/health/get-queue-migrations.md +++ b/docs/examples/1.4.x/server-dart/examples/health/get-queue-migrations.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/health/get-queue-webhooks.md b/docs/examples/1.4.x/server-dart/examples/health/get-queue-webhooks.md index a43f5f8423..5b012125e1 100644 --- a/docs/examples/1.4.x/server-dart/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.4.x/server-dart/examples/health/get-queue-webhooks.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/health/get-queue.md b/docs/examples/1.4.x/server-dart/examples/health/get-queue.md index 8b7c823dc7..c9ff3e28fc 100644 --- a/docs/examples/1.4.x/server-dart/examples/health/get-queue.md +++ b/docs/examples/1.4.x/server-dart/examples/health/get-queue.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/health/get-storage-local.md b/docs/examples/1.4.x/server-dart/examples/health/get-storage-local.md index 4a586690fe..e85aac8e01 100644 --- a/docs/examples/1.4.x/server-dart/examples/health/get-storage-local.md +++ b/docs/examples/1.4.x/server-dart/examples/health/get-storage-local.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/health/get-time.md b/docs/examples/1.4.x/server-dart/examples/health/get-time.md index d8166dd3d1..716216e6db 100644 --- a/docs/examples/1.4.x/server-dart/examples/health/get-time.md +++ b/docs/examples/1.4.x/server-dart/examples/health/get-time.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/health/get.md b/docs/examples/1.4.x/server-dart/examples/health/get.md index 1be37e5a93..2ea2ea669e 100644 --- a/docs/examples/1.4.x/server-dart/examples/health/get.md +++ b/docs/examples/1.4.x/server-dart/examples/health/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Health health = Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/locale/get.md b/docs/examples/1.4.x/server-dart/examples/locale/get.md index 9ecb18c52d..a3ebf5cefd 100644 --- a/docs/examples/1.4.x/server-dart/examples/locale/get.md +++ b/docs/examples/1.4.x/server-dart/examples/locale/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/locale/list-codes.md b/docs/examples/1.4.x/server-dart/examples/locale/list-codes.md index abc4528cfc..26aac035e5 100644 --- a/docs/examples/1.4.x/server-dart/examples/locale/list-codes.md +++ b/docs/examples/1.4.x/server-dart/examples/locale/list-codes.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/locale/list-continents.md b/docs/examples/1.4.x/server-dart/examples/locale/list-continents.md index e6849303b1..a74df54886 100644 --- a/docs/examples/1.4.x/server-dart/examples/locale/list-continents.md +++ b/docs/examples/1.4.x/server-dart/examples/locale/list-continents.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/locale/list-countries-e-u.md b/docs/examples/1.4.x/server-dart/examples/locale/list-countries-e-u.md index 2d1ddcf8f0..2a81d9afef 100644 --- a/docs/examples/1.4.x/server-dart/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.4.x/server-dart/examples/locale/list-countries-e-u.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/locale/list-countries-phones.md b/docs/examples/1.4.x/server-dart/examples/locale/list-countries-phones.md index 2305701339..2d1400a960 100644 --- a/docs/examples/1.4.x/server-dart/examples/locale/list-countries-phones.md +++ b/docs/examples/1.4.x/server-dart/examples/locale/list-countries-phones.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/locale/list-countries.md b/docs/examples/1.4.x/server-dart/examples/locale/list-countries.md index ef1158339f..b4d00e52e7 100644 --- a/docs/examples/1.4.x/server-dart/examples/locale/list-countries.md +++ b/docs/examples/1.4.x/server-dart/examples/locale/list-countries.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/locale/list-currencies.md b/docs/examples/1.4.x/server-dart/examples/locale/list-currencies.md index 0810f3dafb..2c46eee2b2 100644 --- a/docs/examples/1.4.x/server-dart/examples/locale/list-currencies.md +++ b/docs/examples/1.4.x/server-dart/examples/locale/list-currencies.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/locale/list-languages.md b/docs/examples/1.4.x/server-dart/examples/locale/list-languages.md index f3d642cc48..6d1f00219e 100644 --- a/docs/examples/1.4.x/server-dart/examples/locale/list-languages.md +++ b/docs/examples/1.4.x/server-dart/examples/locale/list-languages.md @@ -5,7 +5,7 @@ void main() { // Init SDK Locale locale = Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/storage/create-bucket.md b/docs/examples/1.4.x/server-dart/examples/storage/create-bucket.md index 745a6b508d..647d846e06 100644 --- a/docs/examples/1.4.x/server-dart/examples/storage/create-bucket.md +++ b/docs/examples/1.4.x/server-dart/examples/storage/create-bucket.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/storage/create-file.md b/docs/examples/1.4.x/server-dart/examples/storage/create-file.md index ab4c661a54..760c95dcfb 100644 --- a/docs/examples/1.4.x/server-dart/examples/storage/create-file.md +++ b/docs/examples/1.4.x/server-dart/examples/storage/create-file.md @@ -6,7 +6,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/storage/delete-bucket.md b/docs/examples/1.4.x/server-dart/examples/storage/delete-bucket.md index de516561bd..a7c7065ba8 100644 --- a/docs/examples/1.4.x/server-dart/examples/storage/delete-bucket.md +++ b/docs/examples/1.4.x/server-dart/examples/storage/delete-bucket.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/storage/delete-file.md b/docs/examples/1.4.x/server-dart/examples/storage/delete-file.md index 8e4460bb00..ddb297c6b7 100644 --- a/docs/examples/1.4.x/server-dart/examples/storage/delete-file.md +++ b/docs/examples/1.4.x/server-dart/examples/storage/delete-file.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/storage/get-bucket.md b/docs/examples/1.4.x/server-dart/examples/storage/get-bucket.md index 9e39076e35..26fec00cdf 100644 --- a/docs/examples/1.4.x/server-dart/examples/storage/get-bucket.md +++ b/docs/examples/1.4.x/server-dart/examples/storage/get-bucket.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/storage/get-file-download.md b/docs/examples/1.4.x/server-dart/examples/storage/get-file-download.md index 6534fe33ff..632612a285 100644 --- a/docs/examples/1.4.x/server-dart/examples/storage/get-file-download.md +++ b/docs/examples/1.4.x/server-dart/examples/storage/get-file-download.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/storage/get-file-preview.md b/docs/examples/1.4.x/server-dart/examples/storage/get-file-preview.md index ca16d635b2..70f55e3e26 100644 --- a/docs/examples/1.4.x/server-dart/examples/storage/get-file-preview.md +++ b/docs/examples/1.4.x/server-dart/examples/storage/get-file-preview.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/storage/get-file-view.md b/docs/examples/1.4.x/server-dart/examples/storage/get-file-view.md index 5c3d69dcbc..59176877b0 100644 --- a/docs/examples/1.4.x/server-dart/examples/storage/get-file-view.md +++ b/docs/examples/1.4.x/server-dart/examples/storage/get-file-view.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/storage/get-file.md b/docs/examples/1.4.x/server-dart/examples/storage/get-file.md index bc45c3f1e8..024b7fc63d 100644 --- a/docs/examples/1.4.x/server-dart/examples/storage/get-file.md +++ b/docs/examples/1.4.x/server-dart/examples/storage/get-file.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/storage/list-buckets.md b/docs/examples/1.4.x/server-dart/examples/storage/list-buckets.md index 6a35febb39..fb46523303 100644 --- a/docs/examples/1.4.x/server-dart/examples/storage/list-buckets.md +++ b/docs/examples/1.4.x/server-dart/examples/storage/list-buckets.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/storage/list-files.md b/docs/examples/1.4.x/server-dart/examples/storage/list-files.md index 40b8d3bce5..bfafeb0b0a 100644 --- a/docs/examples/1.4.x/server-dart/examples/storage/list-files.md +++ b/docs/examples/1.4.x/server-dart/examples/storage/list-files.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/storage/update-bucket.md b/docs/examples/1.4.x/server-dart/examples/storage/update-bucket.md index 064d2f2e37..3bdc11240f 100644 --- a/docs/examples/1.4.x/server-dart/examples/storage/update-bucket.md +++ b/docs/examples/1.4.x/server-dart/examples/storage/update-bucket.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/storage/update-file.md b/docs/examples/1.4.x/server-dart/examples/storage/update-file.md index 2fa999a558..4e0178e27d 100644 --- a/docs/examples/1.4.x/server-dart/examples/storage/update-file.md +++ b/docs/examples/1.4.x/server-dart/examples/storage/update-file.md @@ -5,7 +5,7 @@ void main() { // Init SDK Storage storage = Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/teams/create-membership.md b/docs/examples/1.4.x/server-dart/examples/teams/create-membership.md index cc8611817c..ae9146f8c8 100644 --- a/docs/examples/1.4.x/server-dart/examples/teams/create-membership.md +++ b/docs/examples/1.4.x/server-dart/examples/teams/create-membership.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/teams/create.md b/docs/examples/1.4.x/server-dart/examples/teams/create.md index 74895b23a0..81c3a718d4 100644 --- a/docs/examples/1.4.x/server-dart/examples/teams/create.md +++ b/docs/examples/1.4.x/server-dart/examples/teams/create.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/teams/delete-membership.md b/docs/examples/1.4.x/server-dart/examples/teams/delete-membership.md index 8c135994d6..07d596a1b3 100644 --- a/docs/examples/1.4.x/server-dart/examples/teams/delete-membership.md +++ b/docs/examples/1.4.x/server-dart/examples/teams/delete-membership.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/teams/delete.md b/docs/examples/1.4.x/server-dart/examples/teams/delete.md index a5fee4d084..2505cdfacd 100644 --- a/docs/examples/1.4.x/server-dart/examples/teams/delete.md +++ b/docs/examples/1.4.x/server-dart/examples/teams/delete.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/teams/get-membership.md b/docs/examples/1.4.x/server-dart/examples/teams/get-membership.md index 4193b245f4..cf9d4b80a2 100644 --- a/docs/examples/1.4.x/server-dart/examples/teams/get-membership.md +++ b/docs/examples/1.4.x/server-dart/examples/teams/get-membership.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/teams/get-prefs.md b/docs/examples/1.4.x/server-dart/examples/teams/get-prefs.md index 27f2ef15ad..27608b6699 100644 --- a/docs/examples/1.4.x/server-dart/examples/teams/get-prefs.md +++ b/docs/examples/1.4.x/server-dart/examples/teams/get-prefs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-dart/examples/teams/get.md b/docs/examples/1.4.x/server-dart/examples/teams/get.md index daa67c4eb8..8dd731b1be 100644 --- a/docs/examples/1.4.x/server-dart/examples/teams/get.md +++ b/docs/examples/1.4.x/server-dart/examples/teams/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/teams/list-memberships.md b/docs/examples/1.4.x/server-dart/examples/teams/list-memberships.md index 74c66c0319..71cdf466cc 100644 --- a/docs/examples/1.4.x/server-dart/examples/teams/list-memberships.md +++ b/docs/examples/1.4.x/server-dart/examples/teams/list-memberships.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/teams/list.md b/docs/examples/1.4.x/server-dart/examples/teams/list.md index 11033f33da..7d5e4ebef7 100644 --- a/docs/examples/1.4.x/server-dart/examples/teams/list.md +++ b/docs/examples/1.4.x/server-dart/examples/teams/list.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/teams/update-membership-status.md b/docs/examples/1.4.x/server-dart/examples/teams/update-membership-status.md index ca704e0fdb..50f9693bf9 100644 --- a/docs/examples/1.4.x/server-dart/examples/teams/update-membership-status.md +++ b/docs/examples/1.4.x/server-dart/examples/teams/update-membership-status.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-dart/examples/teams/update-membership.md b/docs/examples/1.4.x/server-dart/examples/teams/update-membership.md index 85b126c13a..7ae596a555 100644 --- a/docs/examples/1.4.x/server-dart/examples/teams/update-membership.md +++ b/docs/examples/1.4.x/server-dart/examples/teams/update-membership.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/teams/update-name.md b/docs/examples/1.4.x/server-dart/examples/teams/update-name.md index 088a5cfbe6..324b691d3d 100644 --- a/docs/examples/1.4.x/server-dart/examples/teams/update-name.md +++ b/docs/examples/1.4.x/server-dart/examples/teams/update-name.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/teams/update-prefs.md b/docs/examples/1.4.x/server-dart/examples/teams/update-prefs.md index d99e821759..5c9d518012 100644 --- a/docs/examples/1.4.x/server-dart/examples/teams/update-prefs.md +++ b/docs/examples/1.4.x/server-dart/examples/teams/update-prefs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Teams teams = Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-dart/examples/users/create-argon2user.md b/docs/examples/1.4.x/server-dart/examples/users/create-argon2user.md index a40b3afd55..d01e8c6931 100644 --- a/docs/examples/1.4.x/server-dart/examples/users/create-argon2user.md +++ b/docs/examples/1.4.x/server-dart/examples/users/create-argon2user.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/users/create-bcrypt-user.md b/docs/examples/1.4.x/server-dart/examples/users/create-bcrypt-user.md index 8b55d656b0..4685780b25 100644 --- a/docs/examples/1.4.x/server-dart/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.4.x/server-dart/examples/users/create-bcrypt-user.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/users/create-m-d5user.md b/docs/examples/1.4.x/server-dart/examples/users/create-m-d5user.md index 3ab8901f3c..20ac1948e7 100644 --- a/docs/examples/1.4.x/server-dart/examples/users/create-m-d5user.md +++ b/docs/examples/1.4.x/server-dart/examples/users/create-m-d5user.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/users/create-p-h-pass-user.md b/docs/examples/1.4.x/server-dart/examples/users/create-p-h-pass-user.md index bedb44f4c2..0294339d64 100644 --- a/docs/examples/1.4.x/server-dart/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.4.x/server-dart/examples/users/create-p-h-pass-user.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/users/create-s-h-a-user.md b/docs/examples/1.4.x/server-dart/examples/users/create-s-h-a-user.md index 361f309a37..21c4461cdc 100644 --- a/docs/examples/1.4.x/server-dart/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.4.x/server-dart/examples/users/create-s-h-a-user.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/users/create-scrypt-modified-user.md b/docs/examples/1.4.x/server-dart/examples/users/create-scrypt-modified-user.md index fa5b80519e..9d95641d76 100644 --- a/docs/examples/1.4.x/server-dart/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.4.x/server-dart/examples/users/create-scrypt-modified-user.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/users/create-scrypt-user.md b/docs/examples/1.4.x/server-dart/examples/users/create-scrypt-user.md index 91e1f7dc6d..0a586407dc 100644 --- a/docs/examples/1.4.x/server-dart/examples/users/create-scrypt-user.md +++ b/docs/examples/1.4.x/server-dart/examples/users/create-scrypt-user.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/users/create.md b/docs/examples/1.4.x/server-dart/examples/users/create.md index 517cd22fcb..a841df0e27 100644 --- a/docs/examples/1.4.x/server-dart/examples/users/create.md +++ b/docs/examples/1.4.x/server-dart/examples/users/create.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/users/delete-identity.md b/docs/examples/1.4.x/server-dart/examples/users/delete-identity.md index 4bcfd6d421..0fe6a9e671 100644 --- a/docs/examples/1.4.x/server-dart/examples/users/delete-identity.md +++ b/docs/examples/1.4.x/server-dart/examples/users/delete-identity.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/users/delete-session.md b/docs/examples/1.4.x/server-dart/examples/users/delete-session.md index 3f7611873e..f1432677ed 100644 --- a/docs/examples/1.4.x/server-dart/examples/users/delete-session.md +++ b/docs/examples/1.4.x/server-dart/examples/users/delete-session.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/users/delete-sessions.md b/docs/examples/1.4.x/server-dart/examples/users/delete-sessions.md index 69cbc5e8d5..82a71188ce 100644 --- a/docs/examples/1.4.x/server-dart/examples/users/delete-sessions.md +++ b/docs/examples/1.4.x/server-dart/examples/users/delete-sessions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/users/delete.md b/docs/examples/1.4.x/server-dart/examples/users/delete.md index 1e1311d5d9..351686fe58 100644 --- a/docs/examples/1.4.x/server-dart/examples/users/delete.md +++ b/docs/examples/1.4.x/server-dart/examples/users/delete.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/users/get-prefs.md b/docs/examples/1.4.x/server-dart/examples/users/get-prefs.md index eb33ae656c..cff91fa59b 100644 --- a/docs/examples/1.4.x/server-dart/examples/users/get-prefs.md +++ b/docs/examples/1.4.x/server-dart/examples/users/get-prefs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/users/get.md b/docs/examples/1.4.x/server-dart/examples/users/get.md index c56852934c..e2a24afd9a 100644 --- a/docs/examples/1.4.x/server-dart/examples/users/get.md +++ b/docs/examples/1.4.x/server-dart/examples/users/get.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/users/list-identities.md b/docs/examples/1.4.x/server-dart/examples/users/list-identities.md index b19fed01fe..781937f759 100644 --- a/docs/examples/1.4.x/server-dart/examples/users/list-identities.md +++ b/docs/examples/1.4.x/server-dart/examples/users/list-identities.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/users/list-logs.md b/docs/examples/1.4.x/server-dart/examples/users/list-logs.md index 0d2143ad48..44a5e13ea4 100644 --- a/docs/examples/1.4.x/server-dart/examples/users/list-logs.md +++ b/docs/examples/1.4.x/server-dart/examples/users/list-logs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/users/list-memberships.md b/docs/examples/1.4.x/server-dart/examples/users/list-memberships.md index 36a83edec0..398e7ceee8 100644 --- a/docs/examples/1.4.x/server-dart/examples/users/list-memberships.md +++ b/docs/examples/1.4.x/server-dart/examples/users/list-memberships.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/users/list-sessions.md b/docs/examples/1.4.x/server-dart/examples/users/list-sessions.md index 5f77fdbfa7..eeac7b8d4b 100644 --- a/docs/examples/1.4.x/server-dart/examples/users/list-sessions.md +++ b/docs/examples/1.4.x/server-dart/examples/users/list-sessions.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/users/list.md b/docs/examples/1.4.x/server-dart/examples/users/list.md index 34498c00ac..ef91b2db4a 100644 --- a/docs/examples/1.4.x/server-dart/examples/users/list.md +++ b/docs/examples/1.4.x/server-dart/examples/users/list.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/users/update-email-verification.md b/docs/examples/1.4.x/server-dart/examples/users/update-email-verification.md index 8853f86529..7de1325744 100644 --- a/docs/examples/1.4.x/server-dart/examples/users/update-email-verification.md +++ b/docs/examples/1.4.x/server-dart/examples/users/update-email-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/users/update-email.md b/docs/examples/1.4.x/server-dart/examples/users/update-email.md index 8813e1101f..589bf93d31 100644 --- a/docs/examples/1.4.x/server-dart/examples/users/update-email.md +++ b/docs/examples/1.4.x/server-dart/examples/users/update-email.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/users/update-labels.md b/docs/examples/1.4.x/server-dart/examples/users/update-labels.md index ecd06e7699..c6c7d00345 100644 --- a/docs/examples/1.4.x/server-dart/examples/users/update-labels.md +++ b/docs/examples/1.4.x/server-dart/examples/users/update-labels.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/users/update-name.md b/docs/examples/1.4.x/server-dart/examples/users/update-name.md index 56797d585c..a3a0c84bbb 100644 --- a/docs/examples/1.4.x/server-dart/examples/users/update-name.md +++ b/docs/examples/1.4.x/server-dart/examples/users/update-name.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/users/update-password.md b/docs/examples/1.4.x/server-dart/examples/users/update-password.md index 3dfedb4d4b..bf99d92746 100644 --- a/docs/examples/1.4.x/server-dart/examples/users/update-password.md +++ b/docs/examples/1.4.x/server-dart/examples/users/update-password.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/users/update-phone-verification.md b/docs/examples/1.4.x/server-dart/examples/users/update-phone-verification.md index 37c3ced608..0ef13f5b03 100644 --- a/docs/examples/1.4.x/server-dart/examples/users/update-phone-verification.md +++ b/docs/examples/1.4.x/server-dart/examples/users/update-phone-verification.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/users/update-phone.md b/docs/examples/1.4.x/server-dart/examples/users/update-phone.md index 4d5e311078..f512af071e 100644 --- a/docs/examples/1.4.x/server-dart/examples/users/update-phone.md +++ b/docs/examples/1.4.x/server-dart/examples/users/update-phone.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/users/update-prefs.md b/docs/examples/1.4.x/server-dart/examples/users/update-prefs.md index c6c1bbedff..a2f0aea8fe 100644 --- a/docs/examples/1.4.x/server-dart/examples/users/update-prefs.md +++ b/docs/examples/1.4.x/server-dart/examples/users/update-prefs.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dart/examples/users/update-status.md b/docs/examples/1.4.x/server-dart/examples/users/update-status.md index 6f80745a7a..32fa9019eb 100644 --- a/docs/examples/1.4.x/server-dart/examples/users/update-status.md +++ b/docs/examples/1.4.x/server-dart/examples/users/update-status.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/account/create-phone-verification.md b/docs/examples/1.4.x/server-deno/examples/account/create-phone-verification.md index fe765887cc..aa9969c9a0 100644 --- a/docs/examples/1.4.x/server-deno/examples/account/create-phone-verification.md +++ b/docs/examples/1.4.x/server-deno/examples/account/create-phone-verification.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-deno/examples/account/create-recovery.md b/docs/examples/1.4.x/server-deno/examples/account/create-recovery.md index e5adb2a78b..ca4ef25810 100644 --- a/docs/examples/1.4.x/server-deno/examples/account/create-recovery.md +++ b/docs/examples/1.4.x/server-deno/examples/account/create-recovery.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-deno/examples/account/create-verification.md b/docs/examples/1.4.x/server-deno/examples/account/create-verification.md index 5861278e70..89810ec730 100644 --- a/docs/examples/1.4.x/server-deno/examples/account/create-verification.md +++ b/docs/examples/1.4.x/server-deno/examples/account/create-verification.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-deno/examples/account/delete-identity.md b/docs/examples/1.4.x/server-deno/examples/account/delete-identity.md index f24954e2b6..d2d43a8c9a 100644 --- a/docs/examples/1.4.x/server-deno/examples/account/delete-identity.md +++ b/docs/examples/1.4.x/server-deno/examples/account/delete-identity.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-deno/examples/account/delete-session.md b/docs/examples/1.4.x/server-deno/examples/account/delete-session.md index 22417acb98..969445ca5e 100644 --- a/docs/examples/1.4.x/server-deno/examples/account/delete-session.md +++ b/docs/examples/1.4.x/server-deno/examples/account/delete-session.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-deno/examples/account/delete-sessions.md b/docs/examples/1.4.x/server-deno/examples/account/delete-sessions.md index 2a82bd9566..ad5dcb1200 100644 --- a/docs/examples/1.4.x/server-deno/examples/account/delete-sessions.md +++ b/docs/examples/1.4.x/server-deno/examples/account/delete-sessions.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-deno/examples/account/get-prefs.md b/docs/examples/1.4.x/server-deno/examples/account/get-prefs.md index c9645d0fe1..4b413ec368 100644 --- a/docs/examples/1.4.x/server-deno/examples/account/get-prefs.md +++ b/docs/examples/1.4.x/server-deno/examples/account/get-prefs.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-deno/examples/account/get-session.md b/docs/examples/1.4.x/server-deno/examples/account/get-session.md index f2c1c94469..b39704a72f 100644 --- a/docs/examples/1.4.x/server-deno/examples/account/get-session.md +++ b/docs/examples/1.4.x/server-deno/examples/account/get-session.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-deno/examples/account/get.md b/docs/examples/1.4.x/server-deno/examples/account/get.md index 03b22307ac..d3a7a9b8e3 100644 --- a/docs/examples/1.4.x/server-deno/examples/account/get.md +++ b/docs/examples/1.4.x/server-deno/examples/account/get.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-deno/examples/account/list-identities.md b/docs/examples/1.4.x/server-deno/examples/account/list-identities.md index c3faa7b5b3..d930e9b784 100644 --- a/docs/examples/1.4.x/server-deno/examples/account/list-identities.md +++ b/docs/examples/1.4.x/server-deno/examples/account/list-identities.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-deno/examples/account/list-logs.md b/docs/examples/1.4.x/server-deno/examples/account/list-logs.md index fb79304101..4609c8e3b6 100644 --- a/docs/examples/1.4.x/server-deno/examples/account/list-logs.md +++ b/docs/examples/1.4.x/server-deno/examples/account/list-logs.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-deno/examples/account/list-sessions.md b/docs/examples/1.4.x/server-deno/examples/account/list-sessions.md index 32a7cfa09a..498590452f 100644 --- a/docs/examples/1.4.x/server-deno/examples/account/list-sessions.md +++ b/docs/examples/1.4.x/server-deno/examples/account/list-sessions.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-deno/examples/account/update-email.md b/docs/examples/1.4.x/server-deno/examples/account/update-email.md index 26906d7eed..c92ca4dc23 100644 --- a/docs/examples/1.4.x/server-deno/examples/account/update-email.md +++ b/docs/examples/1.4.x/server-deno/examples/account/update-email.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-deno/examples/account/update-name.md b/docs/examples/1.4.x/server-deno/examples/account/update-name.md index b1a351216f..2e52634e21 100644 --- a/docs/examples/1.4.x/server-deno/examples/account/update-name.md +++ b/docs/examples/1.4.x/server-deno/examples/account/update-name.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-deno/examples/account/update-password.md b/docs/examples/1.4.x/server-deno/examples/account/update-password.md index a271dfe7e6..0a2e2b5b0f 100644 --- a/docs/examples/1.4.x/server-deno/examples/account/update-password.md +++ b/docs/examples/1.4.x/server-deno/examples/account/update-password.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-deno/examples/account/update-phone-verification.md b/docs/examples/1.4.x/server-deno/examples/account/update-phone-verification.md index 064252a328..a7b6e4670d 100644 --- a/docs/examples/1.4.x/server-deno/examples/account/update-phone-verification.md +++ b/docs/examples/1.4.x/server-deno/examples/account/update-phone-verification.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-deno/examples/account/update-phone.md b/docs/examples/1.4.x/server-deno/examples/account/update-phone.md index e023424f9e..0d1bfcc93a 100644 --- a/docs/examples/1.4.x/server-deno/examples/account/update-phone.md +++ b/docs/examples/1.4.x/server-deno/examples/account/update-phone.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-deno/examples/account/update-prefs.md b/docs/examples/1.4.x/server-deno/examples/account/update-prefs.md index 4a6ca88ae8..472f53dd47 100644 --- a/docs/examples/1.4.x/server-deno/examples/account/update-prefs.md +++ b/docs/examples/1.4.x/server-deno/examples/account/update-prefs.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-deno/examples/account/update-recovery.md b/docs/examples/1.4.x/server-deno/examples/account/update-recovery.md index 06916bb278..ee1546f131 100644 --- a/docs/examples/1.4.x/server-deno/examples/account/update-recovery.md +++ b/docs/examples/1.4.x/server-deno/examples/account/update-recovery.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-deno/examples/account/update-session.md b/docs/examples/1.4.x/server-deno/examples/account/update-session.md index 23a7ad2cf6..310a713745 100644 --- a/docs/examples/1.4.x/server-deno/examples/account/update-session.md +++ b/docs/examples/1.4.x/server-deno/examples/account/update-session.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-deno/examples/account/update-status.md b/docs/examples/1.4.x/server-deno/examples/account/update-status.md index 6b9b18981b..40c921be3e 100644 --- a/docs/examples/1.4.x/server-deno/examples/account/update-status.md +++ b/docs/examples/1.4.x/server-deno/examples/account/update-status.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-deno/examples/account/update-verification.md b/docs/examples/1.4.x/server-deno/examples/account/update-verification.md index c11f2b71c1..db4febb20f 100644 --- a/docs/examples/1.4.x/server-deno/examples/account/update-verification.md +++ b/docs/examples/1.4.x/server-deno/examples/account/update-verification.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-deno/examples/avatars/get-browser.md b/docs/examples/1.4.x/server-deno/examples/avatars/get-browser.md index 44c946e4d7..317dc75331 100644 --- a/docs/examples/1.4.x/server-deno/examples/avatars/get-browser.md +++ b/docs/examples/1.4.x/server-deno/examples/avatars/get-browser.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/avatars/get-credit-card.md b/docs/examples/1.4.x/server-deno/examples/avatars/get-credit-card.md index 0f44982738..584c580559 100644 --- a/docs/examples/1.4.x/server-deno/examples/avatars/get-credit-card.md +++ b/docs/examples/1.4.x/server-deno/examples/avatars/get-credit-card.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/avatars/get-favicon.md b/docs/examples/1.4.x/server-deno/examples/avatars/get-favicon.md index f0a539b5fc..d387cc2b7e 100644 --- a/docs/examples/1.4.x/server-deno/examples/avatars/get-favicon.md +++ b/docs/examples/1.4.x/server-deno/examples/avatars/get-favicon.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/avatars/get-flag.md b/docs/examples/1.4.x/server-deno/examples/avatars/get-flag.md index c7593aee1e..03fa737ef2 100644 --- a/docs/examples/1.4.x/server-deno/examples/avatars/get-flag.md +++ b/docs/examples/1.4.x/server-deno/examples/avatars/get-flag.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/avatars/get-image.md b/docs/examples/1.4.x/server-deno/examples/avatars/get-image.md index 6e86307a5f..7dd33398b6 100644 --- a/docs/examples/1.4.x/server-deno/examples/avatars/get-image.md +++ b/docs/examples/1.4.x/server-deno/examples/avatars/get-image.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/avatars/get-initials.md b/docs/examples/1.4.x/server-deno/examples/avatars/get-initials.md index 2adba9e971..4054ecee99 100644 --- a/docs/examples/1.4.x/server-deno/examples/avatars/get-initials.md +++ b/docs/examples/1.4.x/server-deno/examples/avatars/get-initials.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/avatars/get-q-r.md b/docs/examples/1.4.x/server-deno/examples/avatars/get-q-r.md index 2c5faf0112..f239919e05 100644 --- a/docs/examples/1.4.x/server-deno/examples/avatars/get-q-r.md +++ b/docs/examples/1.4.x/server-deno/examples/avatars/get-q-r.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/create-boolean-attribute.md b/docs/examples/1.4.x/server-deno/examples/databases/create-boolean-attribute.md index 81b66771ff..3a06b123a0 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/create-boolean-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/create-collection.md b/docs/examples/1.4.x/server-deno/examples/databases/create-collection.md index 5d59286e3c..c65a13e237 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/create-collection.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/create-collection.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/create-datetime-attribute.md b/docs/examples/1.4.x/server-deno/examples/databases/create-datetime-attribute.md index c2c4eb8185..ee4fdb9253 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/create-datetime-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/create-document.md b/docs/examples/1.4.x/server-deno/examples/databases/create-document.md index d38818c164..b746f3d3f3 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/create-document.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/create-document.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/create-email-attribute.md b/docs/examples/1.4.x/server-deno/examples/databases/create-email-attribute.md index 4952625bfc..918ed10cbc 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/create-email-attribute.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/create-email-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/create-enum-attribute.md b/docs/examples/1.4.x/server-deno/examples/databases/create-enum-attribute.md index d00274d616..79cca97c50 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/create-enum-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/create-float-attribute.md b/docs/examples/1.4.x/server-deno/examples/databases/create-float-attribute.md index c2b056fd1b..a61df747b3 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/create-float-attribute.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/create-float-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/create-index.md b/docs/examples/1.4.x/server-deno/examples/databases/create-index.md index bfde8e3fb5..0d238068aa 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/create-index.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/create-index.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/create-integer-attribute.md b/docs/examples/1.4.x/server-deno/examples/databases/create-integer-attribute.md index 2a36f413e5..fec9ed6835 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/create-integer-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/create-ip-attribute.md b/docs/examples/1.4.x/server-deno/examples/databases/create-ip-attribute.md index 19180d6ac0..858450d499 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/create-ip-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/create-relationship-attribute.md b/docs/examples/1.4.x/server-deno/examples/databases/create-relationship-attribute.md index e613a6f596..787a24c665 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/create-relationship-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/create-string-attribute.md b/docs/examples/1.4.x/server-deno/examples/databases/create-string-attribute.md index f3b0a36923..82383ccc76 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/create-string-attribute.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/create-string-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/create-url-attribute.md b/docs/examples/1.4.x/server-deno/examples/databases/create-url-attribute.md index 488751adff..f556724dca 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/create-url-attribute.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/create-url-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/create.md b/docs/examples/1.4.x/server-deno/examples/databases/create.md index ea1ebb6460..d8747a01ae 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/create.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/create.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/delete-attribute.md b/docs/examples/1.4.x/server-deno/examples/databases/delete-attribute.md index e6fe0823f2..fd3fca65ef 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/delete-attribute.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/delete-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/delete-collection.md b/docs/examples/1.4.x/server-deno/examples/databases/delete-collection.md index 970602ac28..5f0599b7ec 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/delete-collection.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/delete-collection.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/delete-document.md b/docs/examples/1.4.x/server-deno/examples/databases/delete-document.md index 1a23e03e27..7c1ed710f4 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/delete-document.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/delete-document.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/delete-index.md b/docs/examples/1.4.x/server-deno/examples/databases/delete-index.md index 8a6050522a..c25eb4a7fc 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/delete-index.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/delete-index.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/delete.md b/docs/examples/1.4.x/server-deno/examples/databases/delete.md index b735eccdbe..817dcd0dd0 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/delete.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/delete.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/get-attribute.md b/docs/examples/1.4.x/server-deno/examples/databases/get-attribute.md index 1ec9957b5e..cf5aa9ca1e 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/get-attribute.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/get-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/get-collection.md b/docs/examples/1.4.x/server-deno/examples/databases/get-collection.md index bf471e3b36..8973f9e8aa 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/get-collection.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/get-collection.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/get-document.md b/docs/examples/1.4.x/server-deno/examples/databases/get-document.md index a7248d0641..e02b9c8f4b 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/get-document.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/get-document.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/get-index.md b/docs/examples/1.4.x/server-deno/examples/databases/get-index.md index c1fe00cb65..443b06883c 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/get-index.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/get-index.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/get.md b/docs/examples/1.4.x/server-deno/examples/databases/get.md index 46df3aad22..a8ea62a552 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/get.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/get.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/list-attributes.md b/docs/examples/1.4.x/server-deno/examples/databases/list-attributes.md index f2b21141b3..7ee93a5ac0 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/list-attributes.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/list-attributes.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/list-collections.md b/docs/examples/1.4.x/server-deno/examples/databases/list-collections.md index 83e4ee951f..7cdf106ab1 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/list-collections.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/list-collections.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/list-documents.md b/docs/examples/1.4.x/server-deno/examples/databases/list-documents.md index c7db17efb5..9c3cd7097e 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/list-documents.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/list-documents.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/list-indexes.md b/docs/examples/1.4.x/server-deno/examples/databases/list-indexes.md index 69c412b99d..8fbba4a323 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/list-indexes.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/list-indexes.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/list.md b/docs/examples/1.4.x/server-deno/examples/databases/list.md index 8bb75110ec..84ec9927ac 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/list.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/list.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/update-boolean-attribute.md b/docs/examples/1.4.x/server-deno/examples/databases/update-boolean-attribute.md index c8b55b77e5..bc5c976286 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/update-boolean-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/update-collection.md b/docs/examples/1.4.x/server-deno/examples/databases/update-collection.md index f81f46e7f4..234b4c68cf 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/update-collection.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/update-collection.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/update-datetime-attribute.md b/docs/examples/1.4.x/server-deno/examples/databases/update-datetime-attribute.md index 25549b4ed2..a7fce2f168 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/update-datetime-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/update-document.md b/docs/examples/1.4.x/server-deno/examples/databases/update-document.md index 9964fdb6eb..78c984aae4 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/update-document.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/update-document.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/update-email-attribute.md b/docs/examples/1.4.x/server-deno/examples/databases/update-email-attribute.md index 78d2403cd8..679b9971bb 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/update-email-attribute.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/update-email-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/update-enum-attribute.md b/docs/examples/1.4.x/server-deno/examples/databases/update-enum-attribute.md index f47b96fc53..eb04ead02e 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/update-enum-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/update-float-attribute.md b/docs/examples/1.4.x/server-deno/examples/databases/update-float-attribute.md index 62df38cddc..882beff1ca 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/update-float-attribute.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/update-float-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/update-integer-attribute.md b/docs/examples/1.4.x/server-deno/examples/databases/update-integer-attribute.md index 001671eda1..85eefe4eee 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/update-integer-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/update-ip-attribute.md b/docs/examples/1.4.x/server-deno/examples/databases/update-ip-attribute.md index 8ee0d5c80a..bc98ddfec2 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/update-ip-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/update-relationship-attribute.md b/docs/examples/1.4.x/server-deno/examples/databases/update-relationship-attribute.md index c12a64a9dc..fa8f36e995 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/update-relationship-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/update-string-attribute.md b/docs/examples/1.4.x/server-deno/examples/databases/update-string-attribute.md index ab77495e23..b166e1f621 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/update-string-attribute.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/update-string-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/update-url-attribute.md b/docs/examples/1.4.x/server-deno/examples/databases/update-url-attribute.md index c9ab818c80..1c2411f4d1 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/update-url-attribute.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/update-url-attribute.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/databases/update.md b/docs/examples/1.4.x/server-deno/examples/databases/update.md index 64886a697b..c60c249973 100644 --- a/docs/examples/1.4.x/server-deno/examples/databases/update.md +++ b/docs/examples/1.4.x/server-deno/examples/databases/update.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/functions/create-build.md b/docs/examples/1.4.x/server-deno/examples/functions/create-build.md index 28d10105e3..ffa1906b0a 100644 --- a/docs/examples/1.4.x/server-deno/examples/functions/create-build.md +++ b/docs/examples/1.4.x/server-deno/examples/functions/create-build.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/functions/create-deployment.md b/docs/examples/1.4.x/server-deno/examples/functions/create-deployment.md index 167d177bb7..3afd2bf844 100644 --- a/docs/examples/1.4.x/server-deno/examples/functions/create-deployment.md +++ b/docs/examples/1.4.x/server-deno/examples/functions/create-deployment.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/functions/create-execution.md b/docs/examples/1.4.x/server-deno/examples/functions/create-execution.md index 6ec920ef9d..a24cc942b5 100644 --- a/docs/examples/1.4.x/server-deno/examples/functions/create-execution.md +++ b/docs/examples/1.4.x/server-deno/examples/functions/create-execution.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/functions/create-variable.md b/docs/examples/1.4.x/server-deno/examples/functions/create-variable.md index 375ef8b7a6..6de4953eec 100644 --- a/docs/examples/1.4.x/server-deno/examples/functions/create-variable.md +++ b/docs/examples/1.4.x/server-deno/examples/functions/create-variable.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/functions/create.md b/docs/examples/1.4.x/server-deno/examples/functions/create.md index cd9c1503de..a8dd7c2785 100644 --- a/docs/examples/1.4.x/server-deno/examples/functions/create.md +++ b/docs/examples/1.4.x/server-deno/examples/functions/create.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/functions/delete-deployment.md b/docs/examples/1.4.x/server-deno/examples/functions/delete-deployment.md index 7b6468bb06..b1f280fb13 100644 --- a/docs/examples/1.4.x/server-deno/examples/functions/delete-deployment.md +++ b/docs/examples/1.4.x/server-deno/examples/functions/delete-deployment.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/functions/delete-variable.md b/docs/examples/1.4.x/server-deno/examples/functions/delete-variable.md index 16bf385a4c..012f353540 100644 --- a/docs/examples/1.4.x/server-deno/examples/functions/delete-variable.md +++ b/docs/examples/1.4.x/server-deno/examples/functions/delete-variable.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/functions/delete.md b/docs/examples/1.4.x/server-deno/examples/functions/delete.md index 48ec374bf2..ac801878c8 100644 --- a/docs/examples/1.4.x/server-deno/examples/functions/delete.md +++ b/docs/examples/1.4.x/server-deno/examples/functions/delete.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/functions/download-deployment.md b/docs/examples/1.4.x/server-deno/examples/functions/download-deployment.md index dc07358df1..8031278238 100644 --- a/docs/examples/1.4.x/server-deno/examples/functions/download-deployment.md +++ b/docs/examples/1.4.x/server-deno/examples/functions/download-deployment.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/functions/get-deployment.md b/docs/examples/1.4.x/server-deno/examples/functions/get-deployment.md index 854f3897d9..eef2d306ec 100644 --- a/docs/examples/1.4.x/server-deno/examples/functions/get-deployment.md +++ b/docs/examples/1.4.x/server-deno/examples/functions/get-deployment.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/functions/get-execution.md b/docs/examples/1.4.x/server-deno/examples/functions/get-execution.md index 42bcdfbfdf..cfb4ef09dc 100644 --- a/docs/examples/1.4.x/server-deno/examples/functions/get-execution.md +++ b/docs/examples/1.4.x/server-deno/examples/functions/get-execution.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/functions/get-variable.md b/docs/examples/1.4.x/server-deno/examples/functions/get-variable.md index 2b4190e0a6..9881efcb03 100644 --- a/docs/examples/1.4.x/server-deno/examples/functions/get-variable.md +++ b/docs/examples/1.4.x/server-deno/examples/functions/get-variable.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/functions/get.md b/docs/examples/1.4.x/server-deno/examples/functions/get.md index 388958232a..f511f59452 100644 --- a/docs/examples/1.4.x/server-deno/examples/functions/get.md +++ b/docs/examples/1.4.x/server-deno/examples/functions/get.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/functions/list-deployments.md b/docs/examples/1.4.x/server-deno/examples/functions/list-deployments.md index e84bb9cc09..cdd0ae775a 100644 --- a/docs/examples/1.4.x/server-deno/examples/functions/list-deployments.md +++ b/docs/examples/1.4.x/server-deno/examples/functions/list-deployments.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/functions/list-executions.md b/docs/examples/1.4.x/server-deno/examples/functions/list-executions.md index aadd19f1ce..fcc47f2dcd 100644 --- a/docs/examples/1.4.x/server-deno/examples/functions/list-executions.md +++ b/docs/examples/1.4.x/server-deno/examples/functions/list-executions.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/functions/list-runtimes.md b/docs/examples/1.4.x/server-deno/examples/functions/list-runtimes.md index 6fc7570b3a..b45ec8f223 100644 --- a/docs/examples/1.4.x/server-deno/examples/functions/list-runtimes.md +++ b/docs/examples/1.4.x/server-deno/examples/functions/list-runtimes.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/functions/list-variables.md b/docs/examples/1.4.x/server-deno/examples/functions/list-variables.md index 44a9828a67..f9f241fee3 100644 --- a/docs/examples/1.4.x/server-deno/examples/functions/list-variables.md +++ b/docs/examples/1.4.x/server-deno/examples/functions/list-variables.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/functions/list.md b/docs/examples/1.4.x/server-deno/examples/functions/list.md index 7c82760a39..cadecd7fc1 100644 --- a/docs/examples/1.4.x/server-deno/examples/functions/list.md +++ b/docs/examples/1.4.x/server-deno/examples/functions/list.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/functions/update-deployment.md b/docs/examples/1.4.x/server-deno/examples/functions/update-deployment.md index 94be560a2d..4d1bda6363 100644 --- a/docs/examples/1.4.x/server-deno/examples/functions/update-deployment.md +++ b/docs/examples/1.4.x/server-deno/examples/functions/update-deployment.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/functions/update-variable.md b/docs/examples/1.4.x/server-deno/examples/functions/update-variable.md index 1a318f1eba..bcdde06c9a 100644 --- a/docs/examples/1.4.x/server-deno/examples/functions/update-variable.md +++ b/docs/examples/1.4.x/server-deno/examples/functions/update-variable.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/functions/update.md b/docs/examples/1.4.x/server-deno/examples/functions/update.md index 8ed2663ba7..9b60b79afe 100644 --- a/docs/examples/1.4.x/server-deno/examples/functions/update.md +++ b/docs/examples/1.4.x/server-deno/examples/functions/update.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/graphql/mutation.md b/docs/examples/1.4.x/server-deno/examples/graphql/mutation.md index 87beeabce6..f95cdc771d 100644 --- a/docs/examples/1.4.x/server-deno/examples/graphql/mutation.md +++ b/docs/examples/1.4.x/server-deno/examples/graphql/mutation.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let graphql = new sdk.Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/graphql/query.md b/docs/examples/1.4.x/server-deno/examples/graphql/query.md index d2eec0a8db..27930bde4d 100644 --- a/docs/examples/1.4.x/server-deno/examples/graphql/query.md +++ b/docs/examples/1.4.x/server-deno/examples/graphql/query.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let graphql = new sdk.Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/health/get-antivirus.md b/docs/examples/1.4.x/server-deno/examples/health/get-antivirus.md index 8d51808536..7bee35a127 100644 --- a/docs/examples/1.4.x/server-deno/examples/health/get-antivirus.md +++ b/docs/examples/1.4.x/server-deno/examples/health/get-antivirus.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/health/get-cache.md b/docs/examples/1.4.x/server-deno/examples/health/get-cache.md index cafc3018c0..12dfbb1b2d 100644 --- a/docs/examples/1.4.x/server-deno/examples/health/get-cache.md +++ b/docs/examples/1.4.x/server-deno/examples/health/get-cache.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/health/get-d-b.md b/docs/examples/1.4.x/server-deno/examples/health/get-d-b.md index a000535051..73ac2931fb 100644 --- a/docs/examples/1.4.x/server-deno/examples/health/get-d-b.md +++ b/docs/examples/1.4.x/server-deno/examples/health/get-d-b.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/health/get-pub-sub.md b/docs/examples/1.4.x/server-deno/examples/health/get-pub-sub.md index 979ef0b51c..3116d314fe 100644 --- a/docs/examples/1.4.x/server-deno/examples/health/get-pub-sub.md +++ b/docs/examples/1.4.x/server-deno/examples/health/get-pub-sub.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/health/get-queue-builds.md b/docs/examples/1.4.x/server-deno/examples/health/get-queue-builds.md index 4f457495dc..3f59caf516 100644 --- a/docs/examples/1.4.x/server-deno/examples/health/get-queue-builds.md +++ b/docs/examples/1.4.x/server-deno/examples/health/get-queue-builds.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/health/get-queue-certificates.md b/docs/examples/1.4.x/server-deno/examples/health/get-queue-certificates.md index 49dab6b2e6..ea90355ec9 100644 --- a/docs/examples/1.4.x/server-deno/examples/health/get-queue-certificates.md +++ b/docs/examples/1.4.x/server-deno/examples/health/get-queue-certificates.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/health/get-queue-databases.md b/docs/examples/1.4.x/server-deno/examples/health/get-queue-databases.md index 639d1099be..323cabd57e 100644 --- a/docs/examples/1.4.x/server-deno/examples/health/get-queue-databases.md +++ b/docs/examples/1.4.x/server-deno/examples/health/get-queue-databases.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/health/get-queue-deletes.md b/docs/examples/1.4.x/server-deno/examples/health/get-queue-deletes.md index 26ff3da204..a47daba8e1 100644 --- a/docs/examples/1.4.x/server-deno/examples/health/get-queue-deletes.md +++ b/docs/examples/1.4.x/server-deno/examples/health/get-queue-deletes.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/health/get-queue-functions.md b/docs/examples/1.4.x/server-deno/examples/health/get-queue-functions.md index 74f458b9fe..e95a602059 100644 --- a/docs/examples/1.4.x/server-deno/examples/health/get-queue-functions.md +++ b/docs/examples/1.4.x/server-deno/examples/health/get-queue-functions.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/health/get-queue-logs.md b/docs/examples/1.4.x/server-deno/examples/health/get-queue-logs.md index 98948b9de6..457c2689ec 100644 --- a/docs/examples/1.4.x/server-deno/examples/health/get-queue-logs.md +++ b/docs/examples/1.4.x/server-deno/examples/health/get-queue-logs.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/health/get-queue-mails.md b/docs/examples/1.4.x/server-deno/examples/health/get-queue-mails.md index 478ad80e80..d187dc0b1f 100644 --- a/docs/examples/1.4.x/server-deno/examples/health/get-queue-mails.md +++ b/docs/examples/1.4.x/server-deno/examples/health/get-queue-mails.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/health/get-queue-messaging.md b/docs/examples/1.4.x/server-deno/examples/health/get-queue-messaging.md index ba018acae3..eef3568f47 100644 --- a/docs/examples/1.4.x/server-deno/examples/health/get-queue-messaging.md +++ b/docs/examples/1.4.x/server-deno/examples/health/get-queue-messaging.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/health/get-queue-migrations.md b/docs/examples/1.4.x/server-deno/examples/health/get-queue-migrations.md index d779a1d678..c8c7655870 100644 --- a/docs/examples/1.4.x/server-deno/examples/health/get-queue-migrations.md +++ b/docs/examples/1.4.x/server-deno/examples/health/get-queue-migrations.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/health/get-queue-webhooks.md b/docs/examples/1.4.x/server-deno/examples/health/get-queue-webhooks.md index 7b45c189cc..87af736da8 100644 --- a/docs/examples/1.4.x/server-deno/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.4.x/server-deno/examples/health/get-queue-webhooks.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/health/get-queue.md b/docs/examples/1.4.x/server-deno/examples/health/get-queue.md index 4c1f675bb6..a06fda06d1 100644 --- a/docs/examples/1.4.x/server-deno/examples/health/get-queue.md +++ b/docs/examples/1.4.x/server-deno/examples/health/get-queue.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/health/get-storage-local.md b/docs/examples/1.4.x/server-deno/examples/health/get-storage-local.md index 4c45d89aca..31f708e88a 100644 --- a/docs/examples/1.4.x/server-deno/examples/health/get-storage-local.md +++ b/docs/examples/1.4.x/server-deno/examples/health/get-storage-local.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/health/get-time.md b/docs/examples/1.4.x/server-deno/examples/health/get-time.md index 6a66a10a05..69c73045a9 100644 --- a/docs/examples/1.4.x/server-deno/examples/health/get-time.md +++ b/docs/examples/1.4.x/server-deno/examples/health/get-time.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/health/get.md b/docs/examples/1.4.x/server-deno/examples/health/get.md index 0b9af9dd15..6afe71a315 100644 --- a/docs/examples/1.4.x/server-deno/examples/health/get.md +++ b/docs/examples/1.4.x/server-deno/examples/health/get.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/locale/get.md b/docs/examples/1.4.x/server-deno/examples/locale/get.md index 22b9a62655..f9f015cfb9 100644 --- a/docs/examples/1.4.x/server-deno/examples/locale/get.md +++ b/docs/examples/1.4.x/server-deno/examples/locale/get.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/locale/list-codes.md b/docs/examples/1.4.x/server-deno/examples/locale/list-codes.md index 1ca38d4e88..ed351956ef 100644 --- a/docs/examples/1.4.x/server-deno/examples/locale/list-codes.md +++ b/docs/examples/1.4.x/server-deno/examples/locale/list-codes.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/locale/list-continents.md b/docs/examples/1.4.x/server-deno/examples/locale/list-continents.md index bd69f43a61..dd42b1957f 100644 --- a/docs/examples/1.4.x/server-deno/examples/locale/list-continents.md +++ b/docs/examples/1.4.x/server-deno/examples/locale/list-continents.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/locale/list-countries-e-u.md b/docs/examples/1.4.x/server-deno/examples/locale/list-countries-e-u.md index 3d3b7b492a..597edd6f92 100644 --- a/docs/examples/1.4.x/server-deno/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.4.x/server-deno/examples/locale/list-countries-e-u.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/locale/list-countries-phones.md b/docs/examples/1.4.x/server-deno/examples/locale/list-countries-phones.md index bc9e1754ad..f3e27aa152 100644 --- a/docs/examples/1.4.x/server-deno/examples/locale/list-countries-phones.md +++ b/docs/examples/1.4.x/server-deno/examples/locale/list-countries-phones.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/locale/list-countries.md b/docs/examples/1.4.x/server-deno/examples/locale/list-countries.md index 0790270371..3d65b3c71c 100644 --- a/docs/examples/1.4.x/server-deno/examples/locale/list-countries.md +++ b/docs/examples/1.4.x/server-deno/examples/locale/list-countries.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/locale/list-currencies.md b/docs/examples/1.4.x/server-deno/examples/locale/list-currencies.md index e040312fef..ae0fad6e0b 100644 --- a/docs/examples/1.4.x/server-deno/examples/locale/list-currencies.md +++ b/docs/examples/1.4.x/server-deno/examples/locale/list-currencies.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/locale/list-languages.md b/docs/examples/1.4.x/server-deno/examples/locale/list-languages.md index be5af4d50c..792a0e8a43 100644 --- a/docs/examples/1.4.x/server-deno/examples/locale/list-languages.md +++ b/docs/examples/1.4.x/server-deno/examples/locale/list-languages.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/storage/create-bucket.md b/docs/examples/1.4.x/server-deno/examples/storage/create-bucket.md index a25211a1c7..4a2460216b 100644 --- a/docs/examples/1.4.x/server-deno/examples/storage/create-bucket.md +++ b/docs/examples/1.4.x/server-deno/examples/storage/create-bucket.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/storage/create-file.md b/docs/examples/1.4.x/server-deno/examples/storage/create-file.md index c0fe4930b9..e2b9edaa57 100644 --- a/docs/examples/1.4.x/server-deno/examples/storage/create-file.md +++ b/docs/examples/1.4.x/server-deno/examples/storage/create-file.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/storage/delete-bucket.md b/docs/examples/1.4.x/server-deno/examples/storage/delete-bucket.md index d468428141..f5c818046e 100644 --- a/docs/examples/1.4.x/server-deno/examples/storage/delete-bucket.md +++ b/docs/examples/1.4.x/server-deno/examples/storage/delete-bucket.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/storage/delete-file.md b/docs/examples/1.4.x/server-deno/examples/storage/delete-file.md index e86da1763b..61589ed878 100644 --- a/docs/examples/1.4.x/server-deno/examples/storage/delete-file.md +++ b/docs/examples/1.4.x/server-deno/examples/storage/delete-file.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/storage/get-bucket.md b/docs/examples/1.4.x/server-deno/examples/storage/get-bucket.md index 35d22b941a..34391b42c2 100644 --- a/docs/examples/1.4.x/server-deno/examples/storage/get-bucket.md +++ b/docs/examples/1.4.x/server-deno/examples/storage/get-bucket.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/storage/get-file-download.md b/docs/examples/1.4.x/server-deno/examples/storage/get-file-download.md index 206b860e25..9f2927e054 100644 --- a/docs/examples/1.4.x/server-deno/examples/storage/get-file-download.md +++ b/docs/examples/1.4.x/server-deno/examples/storage/get-file-download.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/storage/get-file-preview.md b/docs/examples/1.4.x/server-deno/examples/storage/get-file-preview.md index 4815c6b40b..903aa59270 100644 --- a/docs/examples/1.4.x/server-deno/examples/storage/get-file-preview.md +++ b/docs/examples/1.4.x/server-deno/examples/storage/get-file-preview.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/storage/get-file-view.md b/docs/examples/1.4.x/server-deno/examples/storage/get-file-view.md index 11ca8fdc6c..27d20ab4a6 100644 --- a/docs/examples/1.4.x/server-deno/examples/storage/get-file-view.md +++ b/docs/examples/1.4.x/server-deno/examples/storage/get-file-view.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/storage/get-file.md b/docs/examples/1.4.x/server-deno/examples/storage/get-file.md index 04aa43a5b1..c6ec55a1e6 100644 --- a/docs/examples/1.4.x/server-deno/examples/storage/get-file.md +++ b/docs/examples/1.4.x/server-deno/examples/storage/get-file.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/storage/list-buckets.md b/docs/examples/1.4.x/server-deno/examples/storage/list-buckets.md index 0c31feffe3..7cae11354f 100644 --- a/docs/examples/1.4.x/server-deno/examples/storage/list-buckets.md +++ b/docs/examples/1.4.x/server-deno/examples/storage/list-buckets.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/storage/list-files.md b/docs/examples/1.4.x/server-deno/examples/storage/list-files.md index 00178aa874..d5de10df59 100644 --- a/docs/examples/1.4.x/server-deno/examples/storage/list-files.md +++ b/docs/examples/1.4.x/server-deno/examples/storage/list-files.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/storage/update-bucket.md b/docs/examples/1.4.x/server-deno/examples/storage/update-bucket.md index aca746145e..d9c554bffe 100644 --- a/docs/examples/1.4.x/server-deno/examples/storage/update-bucket.md +++ b/docs/examples/1.4.x/server-deno/examples/storage/update-bucket.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/storage/update-file.md b/docs/examples/1.4.x/server-deno/examples/storage/update-file.md index 79f31c3b03..a106b4b505 100644 --- a/docs/examples/1.4.x/server-deno/examples/storage/update-file.md +++ b/docs/examples/1.4.x/server-deno/examples/storage/update-file.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/teams/create-membership.md b/docs/examples/1.4.x/server-deno/examples/teams/create-membership.md index afb6b91492..17e98c760f 100644 --- a/docs/examples/1.4.x/server-deno/examples/teams/create-membership.md +++ b/docs/examples/1.4.x/server-deno/examples/teams/create-membership.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/teams/create.md b/docs/examples/1.4.x/server-deno/examples/teams/create.md index 8272adb4d0..b5ad42710c 100644 --- a/docs/examples/1.4.x/server-deno/examples/teams/create.md +++ b/docs/examples/1.4.x/server-deno/examples/teams/create.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/teams/delete-membership.md b/docs/examples/1.4.x/server-deno/examples/teams/delete-membership.md index 402deb0b8a..dd73e8ae87 100644 --- a/docs/examples/1.4.x/server-deno/examples/teams/delete-membership.md +++ b/docs/examples/1.4.x/server-deno/examples/teams/delete-membership.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/teams/delete.md b/docs/examples/1.4.x/server-deno/examples/teams/delete.md index 3b30934bea..5f859e0cfc 100644 --- a/docs/examples/1.4.x/server-deno/examples/teams/delete.md +++ b/docs/examples/1.4.x/server-deno/examples/teams/delete.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/teams/get-membership.md b/docs/examples/1.4.x/server-deno/examples/teams/get-membership.md index 7d50599b67..8289e1fbd4 100644 --- a/docs/examples/1.4.x/server-deno/examples/teams/get-membership.md +++ b/docs/examples/1.4.x/server-deno/examples/teams/get-membership.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/teams/get-prefs.md b/docs/examples/1.4.x/server-deno/examples/teams/get-prefs.md index 5a7fa4d98f..3327463fac 100644 --- a/docs/examples/1.4.x/server-deno/examples/teams/get-prefs.md +++ b/docs/examples/1.4.x/server-deno/examples/teams/get-prefs.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-deno/examples/teams/get.md b/docs/examples/1.4.x/server-deno/examples/teams/get.md index 44ecdab949..e18f9e580d 100644 --- a/docs/examples/1.4.x/server-deno/examples/teams/get.md +++ b/docs/examples/1.4.x/server-deno/examples/teams/get.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/teams/list-memberships.md b/docs/examples/1.4.x/server-deno/examples/teams/list-memberships.md index 7d730021a6..ca062ddb29 100644 --- a/docs/examples/1.4.x/server-deno/examples/teams/list-memberships.md +++ b/docs/examples/1.4.x/server-deno/examples/teams/list-memberships.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/teams/list.md b/docs/examples/1.4.x/server-deno/examples/teams/list.md index c45ffdc066..a76660063d 100644 --- a/docs/examples/1.4.x/server-deno/examples/teams/list.md +++ b/docs/examples/1.4.x/server-deno/examples/teams/list.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/teams/update-membership-status.md b/docs/examples/1.4.x/server-deno/examples/teams/update-membership-status.md index 7bb57d8974..2ac6332372 100644 --- a/docs/examples/1.4.x/server-deno/examples/teams/update-membership-status.md +++ b/docs/examples/1.4.x/server-deno/examples/teams/update-membership-status.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-deno/examples/teams/update-membership.md b/docs/examples/1.4.x/server-deno/examples/teams/update-membership.md index 3ada2f4745..240cf1880b 100644 --- a/docs/examples/1.4.x/server-deno/examples/teams/update-membership.md +++ b/docs/examples/1.4.x/server-deno/examples/teams/update-membership.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/teams/update-name.md b/docs/examples/1.4.x/server-deno/examples/teams/update-name.md index 47c3fc2765..bbac808c86 100644 --- a/docs/examples/1.4.x/server-deno/examples/teams/update-name.md +++ b/docs/examples/1.4.x/server-deno/examples/teams/update-name.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/teams/update-prefs.md b/docs/examples/1.4.x/server-deno/examples/teams/update-prefs.md index 83845be036..7a8823b805 100644 --- a/docs/examples/1.4.x/server-deno/examples/teams/update-prefs.md +++ b/docs/examples/1.4.x/server-deno/examples/teams/update-prefs.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-deno/examples/users/create-argon2user.md b/docs/examples/1.4.x/server-deno/examples/users/create-argon2user.md index e55b644b62..c9d3e68bcd 100644 --- a/docs/examples/1.4.x/server-deno/examples/users/create-argon2user.md +++ b/docs/examples/1.4.x/server-deno/examples/users/create-argon2user.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/users/create-bcrypt-user.md b/docs/examples/1.4.x/server-deno/examples/users/create-bcrypt-user.md index 325fbe46d5..a3cc0ddc7d 100644 --- a/docs/examples/1.4.x/server-deno/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.4.x/server-deno/examples/users/create-bcrypt-user.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/users/create-m-d5user.md b/docs/examples/1.4.x/server-deno/examples/users/create-m-d5user.md index 8892688594..387fd97da0 100644 --- a/docs/examples/1.4.x/server-deno/examples/users/create-m-d5user.md +++ b/docs/examples/1.4.x/server-deno/examples/users/create-m-d5user.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/users/create-p-h-pass-user.md b/docs/examples/1.4.x/server-deno/examples/users/create-p-h-pass-user.md index d7a3428fd5..1e02fba553 100644 --- a/docs/examples/1.4.x/server-deno/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.4.x/server-deno/examples/users/create-p-h-pass-user.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/users/create-s-h-a-user.md b/docs/examples/1.4.x/server-deno/examples/users/create-s-h-a-user.md index c3ade982ef..82cf7ea8a4 100644 --- a/docs/examples/1.4.x/server-deno/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.4.x/server-deno/examples/users/create-s-h-a-user.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/users/create-scrypt-modified-user.md b/docs/examples/1.4.x/server-deno/examples/users/create-scrypt-modified-user.md index 8039a970c2..d06e6d3128 100644 --- a/docs/examples/1.4.x/server-deno/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.4.x/server-deno/examples/users/create-scrypt-modified-user.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/users/create-scrypt-user.md b/docs/examples/1.4.x/server-deno/examples/users/create-scrypt-user.md index 9889855e7c..6f9656ce5e 100644 --- a/docs/examples/1.4.x/server-deno/examples/users/create-scrypt-user.md +++ b/docs/examples/1.4.x/server-deno/examples/users/create-scrypt-user.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/users/create.md b/docs/examples/1.4.x/server-deno/examples/users/create.md index c56f8d8f88..1338a4e59f 100644 --- a/docs/examples/1.4.x/server-deno/examples/users/create.md +++ b/docs/examples/1.4.x/server-deno/examples/users/create.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/users/delete-identity.md b/docs/examples/1.4.x/server-deno/examples/users/delete-identity.md index 7d7b88a7f9..9dac0a7217 100644 --- a/docs/examples/1.4.x/server-deno/examples/users/delete-identity.md +++ b/docs/examples/1.4.x/server-deno/examples/users/delete-identity.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/users/delete-session.md b/docs/examples/1.4.x/server-deno/examples/users/delete-session.md index e4ea45ba73..8d6e862bdb 100644 --- a/docs/examples/1.4.x/server-deno/examples/users/delete-session.md +++ b/docs/examples/1.4.x/server-deno/examples/users/delete-session.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/users/delete-sessions.md b/docs/examples/1.4.x/server-deno/examples/users/delete-sessions.md index 0e12d6dacf..894084dd90 100644 --- a/docs/examples/1.4.x/server-deno/examples/users/delete-sessions.md +++ b/docs/examples/1.4.x/server-deno/examples/users/delete-sessions.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/users/delete.md b/docs/examples/1.4.x/server-deno/examples/users/delete.md index f0223024a3..e291fa1cf1 100644 --- a/docs/examples/1.4.x/server-deno/examples/users/delete.md +++ b/docs/examples/1.4.x/server-deno/examples/users/delete.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/users/get-prefs.md b/docs/examples/1.4.x/server-deno/examples/users/get-prefs.md index 63953f9d24..98d6f6aa62 100644 --- a/docs/examples/1.4.x/server-deno/examples/users/get-prefs.md +++ b/docs/examples/1.4.x/server-deno/examples/users/get-prefs.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/users/get.md b/docs/examples/1.4.x/server-deno/examples/users/get.md index c9300c5060..77c27630ba 100644 --- a/docs/examples/1.4.x/server-deno/examples/users/get.md +++ b/docs/examples/1.4.x/server-deno/examples/users/get.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/users/list-identities.md b/docs/examples/1.4.x/server-deno/examples/users/list-identities.md index 687770178c..8c1f7e8569 100644 --- a/docs/examples/1.4.x/server-deno/examples/users/list-identities.md +++ b/docs/examples/1.4.x/server-deno/examples/users/list-identities.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/users/list-logs.md b/docs/examples/1.4.x/server-deno/examples/users/list-logs.md index 7d0841fc77..fe4103138d 100644 --- a/docs/examples/1.4.x/server-deno/examples/users/list-logs.md +++ b/docs/examples/1.4.x/server-deno/examples/users/list-logs.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/users/list-memberships.md b/docs/examples/1.4.x/server-deno/examples/users/list-memberships.md index 74f2fb7f1e..592385fc04 100644 --- a/docs/examples/1.4.x/server-deno/examples/users/list-memberships.md +++ b/docs/examples/1.4.x/server-deno/examples/users/list-memberships.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/users/list-sessions.md b/docs/examples/1.4.x/server-deno/examples/users/list-sessions.md index 1aa4ca7d78..2117b04927 100644 --- a/docs/examples/1.4.x/server-deno/examples/users/list-sessions.md +++ b/docs/examples/1.4.x/server-deno/examples/users/list-sessions.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/users/list.md b/docs/examples/1.4.x/server-deno/examples/users/list.md index 369ccd7b29..a092136f5a 100644 --- a/docs/examples/1.4.x/server-deno/examples/users/list.md +++ b/docs/examples/1.4.x/server-deno/examples/users/list.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/users/update-email-verification.md b/docs/examples/1.4.x/server-deno/examples/users/update-email-verification.md index 146cea5027..41a3250abb 100644 --- a/docs/examples/1.4.x/server-deno/examples/users/update-email-verification.md +++ b/docs/examples/1.4.x/server-deno/examples/users/update-email-verification.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/users/update-email.md b/docs/examples/1.4.x/server-deno/examples/users/update-email.md index bd7f0ffbd8..428ab37b85 100644 --- a/docs/examples/1.4.x/server-deno/examples/users/update-email.md +++ b/docs/examples/1.4.x/server-deno/examples/users/update-email.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/users/update-labels.md b/docs/examples/1.4.x/server-deno/examples/users/update-labels.md index 73aee6485b..f8f8dc51df 100644 --- a/docs/examples/1.4.x/server-deno/examples/users/update-labels.md +++ b/docs/examples/1.4.x/server-deno/examples/users/update-labels.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/users/update-name.md b/docs/examples/1.4.x/server-deno/examples/users/update-name.md index 071c948201..1b0918b5a5 100644 --- a/docs/examples/1.4.x/server-deno/examples/users/update-name.md +++ b/docs/examples/1.4.x/server-deno/examples/users/update-name.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/users/update-password.md b/docs/examples/1.4.x/server-deno/examples/users/update-password.md index e6ae8b725e..4d9d8b217e 100644 --- a/docs/examples/1.4.x/server-deno/examples/users/update-password.md +++ b/docs/examples/1.4.x/server-deno/examples/users/update-password.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/users/update-phone-verification.md b/docs/examples/1.4.x/server-deno/examples/users/update-phone-verification.md index 293f876152..3241b4c430 100644 --- a/docs/examples/1.4.x/server-deno/examples/users/update-phone-verification.md +++ b/docs/examples/1.4.x/server-deno/examples/users/update-phone-verification.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/users/update-phone.md b/docs/examples/1.4.x/server-deno/examples/users/update-phone.md index e634f59719..b41c9bc15f 100644 --- a/docs/examples/1.4.x/server-deno/examples/users/update-phone.md +++ b/docs/examples/1.4.x/server-deno/examples/users/update-phone.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/users/update-prefs.md b/docs/examples/1.4.x/server-deno/examples/users/update-prefs.md index 248fdb10ab..c794bc9d6c 100644 --- a/docs/examples/1.4.x/server-deno/examples/users/update-prefs.md +++ b/docs/examples/1.4.x/server-deno/examples/users/update-prefs.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-deno/examples/users/update-status.md b/docs/examples/1.4.x/server-deno/examples/users/update-status.md index 2f142596fd..80355e1b39 100644 --- a/docs/examples/1.4.x/server-deno/examples/users/update-status.md +++ b/docs/examples/1.4.x/server-deno/examples/users/update-status.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-dotnet/examples/account/create-phone-verification.md b/docs/examples/1.4.x/server-dotnet/examples/account/create-phone-verification.md index 570bb20f5e..3dd38b8e05 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/account/create-phone-verification.md +++ b/docs/examples/1.4.x/server-dotnet/examples/account/create-phone-verification.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-dotnet/examples/account/create-recovery.md b/docs/examples/1.4.x/server-dotnet/examples/account/create-recovery.md index 1edc79bc50..afa76bbd9b 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/account/create-recovery.md +++ b/docs/examples/1.4.x/server-dotnet/examples/account/create-recovery.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-dotnet/examples/account/create-verification.md b/docs/examples/1.4.x/server-dotnet/examples/account/create-verification.md index 928fcb8561..09d73b228c 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/account/create-verification.md +++ b/docs/examples/1.4.x/server-dotnet/examples/account/create-verification.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-dotnet/examples/account/delete-identity.md b/docs/examples/1.4.x/server-dotnet/examples/account/delete-identity.md index c5ff987822..ae99527ba6 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/account/delete-identity.md +++ b/docs/examples/1.4.x/server-dotnet/examples/account/delete-identity.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-dotnet/examples/account/delete-session.md b/docs/examples/1.4.x/server-dotnet/examples/account/delete-session.md index c880a4f88d..163bd05e6a 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/account/delete-session.md +++ b/docs/examples/1.4.x/server-dotnet/examples/account/delete-session.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-dotnet/examples/account/delete-sessions.md b/docs/examples/1.4.x/server-dotnet/examples/account/delete-sessions.md index 8dcefaf71c..b683052f3b 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/account/delete-sessions.md +++ b/docs/examples/1.4.x/server-dotnet/examples/account/delete-sessions.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-dotnet/examples/account/get-prefs.md b/docs/examples/1.4.x/server-dotnet/examples/account/get-prefs.md index ce3ecc1179..6fed36e39e 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/account/get-prefs.md +++ b/docs/examples/1.4.x/server-dotnet/examples/account/get-prefs.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-dotnet/examples/account/get-session.md b/docs/examples/1.4.x/server-dotnet/examples/account/get-session.md index 9560b6a78a..9f4becbfb7 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/account/get-session.md +++ b/docs/examples/1.4.x/server-dotnet/examples/account/get-session.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-dotnet/examples/account/get.md b/docs/examples/1.4.x/server-dotnet/examples/account/get.md index 5a50299c73..4df0e2f2ce 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/account/get.md +++ b/docs/examples/1.4.x/server-dotnet/examples/account/get.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-dotnet/examples/account/list-identities.md b/docs/examples/1.4.x/server-dotnet/examples/account/list-identities.md index 3a25342e5d..57889ef704 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/account/list-identities.md +++ b/docs/examples/1.4.x/server-dotnet/examples/account/list-identities.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-dotnet/examples/account/list-logs.md b/docs/examples/1.4.x/server-dotnet/examples/account/list-logs.md index 03b50407f5..7873a8036e 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/account/list-logs.md +++ b/docs/examples/1.4.x/server-dotnet/examples/account/list-logs.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-dotnet/examples/account/list-sessions.md b/docs/examples/1.4.x/server-dotnet/examples/account/list-sessions.md index aa813bc1dd..b918cfe806 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/account/list-sessions.md +++ b/docs/examples/1.4.x/server-dotnet/examples/account/list-sessions.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-dotnet/examples/account/update-email.md b/docs/examples/1.4.x/server-dotnet/examples/account/update-email.md index 0b457e0abb..3d85167276 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/account/update-email.md +++ b/docs/examples/1.4.x/server-dotnet/examples/account/update-email.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-dotnet/examples/account/update-name.md b/docs/examples/1.4.x/server-dotnet/examples/account/update-name.md index b41ba37289..682ba83ab8 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/account/update-name.md +++ b/docs/examples/1.4.x/server-dotnet/examples/account/update-name.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-dotnet/examples/account/update-password.md b/docs/examples/1.4.x/server-dotnet/examples/account/update-password.md index d8bab0b4d2..153b62635e 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/account/update-password.md +++ b/docs/examples/1.4.x/server-dotnet/examples/account/update-password.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-dotnet/examples/account/update-phone-verification.md b/docs/examples/1.4.x/server-dotnet/examples/account/update-phone-verification.md index 6914e7805f..032961664b 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/account/update-phone-verification.md +++ b/docs/examples/1.4.x/server-dotnet/examples/account/update-phone-verification.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-dotnet/examples/account/update-phone.md b/docs/examples/1.4.x/server-dotnet/examples/account/update-phone.md index f3e2f14df7..8fa853a8ce 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/account/update-phone.md +++ b/docs/examples/1.4.x/server-dotnet/examples/account/update-phone.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-dotnet/examples/account/update-prefs.md b/docs/examples/1.4.x/server-dotnet/examples/account/update-prefs.md index 7a4f2378e4..c25dae59cb 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/account/update-prefs.md +++ b/docs/examples/1.4.x/server-dotnet/examples/account/update-prefs.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-dotnet/examples/account/update-recovery.md b/docs/examples/1.4.x/server-dotnet/examples/account/update-recovery.md index d26f4ab8da..3c13952fc1 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/account/update-recovery.md +++ b/docs/examples/1.4.x/server-dotnet/examples/account/update-recovery.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-dotnet/examples/account/update-session.md b/docs/examples/1.4.x/server-dotnet/examples/account/update-session.md index f3365bb96b..4a7600e820 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/account/update-session.md +++ b/docs/examples/1.4.x/server-dotnet/examples/account/update-session.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-dotnet/examples/account/update-status.md b/docs/examples/1.4.x/server-dotnet/examples/account/update-status.md index c5e3e2c576..0a01ee2325 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/account/update-status.md +++ b/docs/examples/1.4.x/server-dotnet/examples/account/update-status.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-dotnet/examples/account/update-verification.md b/docs/examples/1.4.x/server-dotnet/examples/account/update-verification.md index 697d2dffa4..4531f25611 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/account/update-verification.md +++ b/docs/examples/1.4.x/server-dotnet/examples/account/update-verification.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-dotnet/examples/avatars/get-browser.md b/docs/examples/1.4.x/server-dotnet/examples/avatars/get-browser.md index 3ac58f8b47..4b9e62bf6a 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/avatars/get-browser.md +++ b/docs/examples/1.4.x/server-dotnet/examples/avatars/get-browser.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/avatars/get-credit-card.md b/docs/examples/1.4.x/server-dotnet/examples/avatars/get-credit-card.md index 89f36fe35d..5338e4f590 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/avatars/get-credit-card.md +++ b/docs/examples/1.4.x/server-dotnet/examples/avatars/get-credit-card.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/avatars/get-favicon.md b/docs/examples/1.4.x/server-dotnet/examples/avatars/get-favicon.md index dbabf05d57..78cf8f7561 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/avatars/get-favicon.md +++ b/docs/examples/1.4.x/server-dotnet/examples/avatars/get-favicon.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/avatars/get-flag.md b/docs/examples/1.4.x/server-dotnet/examples/avatars/get-flag.md index fc20581c1c..7ef3740418 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/avatars/get-flag.md +++ b/docs/examples/1.4.x/server-dotnet/examples/avatars/get-flag.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/avatars/get-image.md b/docs/examples/1.4.x/server-dotnet/examples/avatars/get-image.md index 35bf382f12..7c85d566f2 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/avatars/get-image.md +++ b/docs/examples/1.4.x/server-dotnet/examples/avatars/get-image.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/avatars/get-initials.md b/docs/examples/1.4.x/server-dotnet/examples/avatars/get-initials.md index 20ea37a3a4..7f40a3f2a0 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/avatars/get-initials.md +++ b/docs/examples/1.4.x/server-dotnet/examples/avatars/get-initials.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/avatars/get-q-r.md b/docs/examples/1.4.x/server-dotnet/examples/avatars/get-q-r.md index 33dcac6f91..3fe62f1bcc 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/avatars/get-q-r.md +++ b/docs/examples/1.4.x/server-dotnet/examples/avatars/get-q-r.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/create-boolean-attribute.md b/docs/examples/1.4.x/server-dotnet/examples/databases/create-boolean-attribute.md index 439537a9cb..6b86445fb8 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/create-boolean-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/create-collection.md b/docs/examples/1.4.x/server-dotnet/examples/databases/create-collection.md index 1b7aa198a6..c1545c3a57 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/create-collection.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/create-collection.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/create-datetime-attribute.md b/docs/examples/1.4.x/server-dotnet/examples/databases/create-datetime-attribute.md index 1fff2965ff..5722be761f 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/create-datetime-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/create-document.md b/docs/examples/1.4.x/server-dotnet/examples/databases/create-document.md index c0081f1f20..bdd144c6c7 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/create-document.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/create-document.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/create-email-attribute.md b/docs/examples/1.4.x/server-dotnet/examples/databases/create-email-attribute.md index e22ed7ddca..416bcad541 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/create-email-attribute.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/create-email-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/create-enum-attribute.md b/docs/examples/1.4.x/server-dotnet/examples/databases/create-enum-attribute.md index 773d41e9fa..cdf4142ac9 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/create-enum-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/create-float-attribute.md b/docs/examples/1.4.x/server-dotnet/examples/databases/create-float-attribute.md index d0915184e8..038abe997b 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/create-float-attribute.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/create-float-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/create-index.md b/docs/examples/1.4.x/server-dotnet/examples/databases/create-index.md index b13de722aa..ee8c4b6fd6 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/create-index.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/create-index.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/create-integer-attribute.md b/docs/examples/1.4.x/server-dotnet/examples/databases/create-integer-attribute.md index 0d84ea7868..0bb5c42229 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/create-integer-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/create-ip-attribute.md b/docs/examples/1.4.x/server-dotnet/examples/databases/create-ip-attribute.md index ca571d00bd..81362cda5e 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/create-ip-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/create-relationship-attribute.md b/docs/examples/1.4.x/server-dotnet/examples/databases/create-relationship-attribute.md index 9c4a8c3604..37328d876e 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/create-relationship-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/create-string-attribute.md b/docs/examples/1.4.x/server-dotnet/examples/databases/create-string-attribute.md index 645492eeab..bd34f357aa 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/create-string-attribute.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/create-string-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/create-url-attribute.md b/docs/examples/1.4.x/server-dotnet/examples/databases/create-url-attribute.md index 9425882dec..46368bf2f9 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/create-url-attribute.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/create-url-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/create.md b/docs/examples/1.4.x/server-dotnet/examples/databases/create.md index 61ba46c03a..671a3864b8 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/create.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/create.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/delete-attribute.md b/docs/examples/1.4.x/server-dotnet/examples/databases/delete-attribute.md index 8ebde257c5..4ceffc2918 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/delete-attribute.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/delete-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/delete-collection.md b/docs/examples/1.4.x/server-dotnet/examples/databases/delete-collection.md index 398185c509..ecb627ceb4 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/delete-collection.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/delete-collection.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/delete-document.md b/docs/examples/1.4.x/server-dotnet/examples/databases/delete-document.md index 6892b25438..1107dce324 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/delete-document.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/delete-document.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/delete-index.md b/docs/examples/1.4.x/server-dotnet/examples/databases/delete-index.md index c5dab69e0f..c7423b974c 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/delete-index.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/delete-index.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/delete.md b/docs/examples/1.4.x/server-dotnet/examples/databases/delete.md index cc8b4317e1..d7e3d2030d 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/delete.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/delete.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/get-attribute.md b/docs/examples/1.4.x/server-dotnet/examples/databases/get-attribute.md index 13eae946e9..491a0db2f8 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/get-attribute.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/get-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/get-collection.md b/docs/examples/1.4.x/server-dotnet/examples/databases/get-collection.md index b617da7810..0b956208f6 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/get-collection.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/get-collection.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/get-document.md b/docs/examples/1.4.x/server-dotnet/examples/databases/get-document.md index 079f93a403..095d1a1e66 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/get-document.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/get-document.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/get-index.md b/docs/examples/1.4.x/server-dotnet/examples/databases/get-index.md index d989ed4651..7a81d9b119 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/get-index.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/get-index.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/get.md b/docs/examples/1.4.x/server-dotnet/examples/databases/get.md index 5dfa70eec1..bc770bbf43 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/get.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/get.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/list-attributes.md b/docs/examples/1.4.x/server-dotnet/examples/databases/list-attributes.md index 8af529df41..30362cf398 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/list-attributes.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/list-attributes.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/list-collections.md b/docs/examples/1.4.x/server-dotnet/examples/databases/list-collections.md index ed0d7bb56f..6eae10213e 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/list-collections.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/list-collections.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/list-documents.md b/docs/examples/1.4.x/server-dotnet/examples/databases/list-documents.md index 92895692f0..47bb99e03a 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/list-documents.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/list-documents.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/list-indexes.md b/docs/examples/1.4.x/server-dotnet/examples/databases/list-indexes.md index dbbed3ca53..87f1560ec4 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/list-indexes.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/list-indexes.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/list.md b/docs/examples/1.4.x/server-dotnet/examples/databases/list.md index ec234ddbab..c247e5abc2 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/list.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/list.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/update-boolean-attribute.md b/docs/examples/1.4.x/server-dotnet/examples/databases/update-boolean-attribute.md index 2d6fa80849..6e3ee9a0d0 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/update-boolean-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/update-collection.md b/docs/examples/1.4.x/server-dotnet/examples/databases/update-collection.md index aa477e4ce0..a946514ed6 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/update-collection.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/update-collection.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/update-datetime-attribute.md b/docs/examples/1.4.x/server-dotnet/examples/databases/update-datetime-attribute.md index 81966f05f1..65ba0b5c7f 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/update-datetime-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/update-document.md b/docs/examples/1.4.x/server-dotnet/examples/databases/update-document.md index b19d9226c6..e204c9b90f 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/update-document.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/update-document.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/update-email-attribute.md b/docs/examples/1.4.x/server-dotnet/examples/databases/update-email-attribute.md index 5baf67fd72..59a94d850d 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/update-email-attribute.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/update-email-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/update-enum-attribute.md b/docs/examples/1.4.x/server-dotnet/examples/databases/update-enum-attribute.md index 184ac1820f..dfef22bf6d 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/update-enum-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/update-float-attribute.md b/docs/examples/1.4.x/server-dotnet/examples/databases/update-float-attribute.md index d68815ab07..f6561415d5 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/update-float-attribute.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/update-float-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/update-integer-attribute.md b/docs/examples/1.4.x/server-dotnet/examples/databases/update-integer-attribute.md index 2ad0e05754..e19cc9f648 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/update-integer-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/update-ip-attribute.md b/docs/examples/1.4.x/server-dotnet/examples/databases/update-ip-attribute.md index 10fd34b306..0f9d4ad285 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/update-ip-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/update-relationship-attribute.md b/docs/examples/1.4.x/server-dotnet/examples/databases/update-relationship-attribute.md index 8a65da0a42..fa2042f18e 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/update-relationship-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/update-string-attribute.md b/docs/examples/1.4.x/server-dotnet/examples/databases/update-string-attribute.md index 84fc2b8da9..5ce837ccbb 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/update-string-attribute.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/update-string-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/update-url-attribute.md b/docs/examples/1.4.x/server-dotnet/examples/databases/update-url-attribute.md index e79812a77b..a66a848951 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/update-url-attribute.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/update-url-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/databases/update.md b/docs/examples/1.4.x/server-dotnet/examples/databases/update.md index 743108fc66..8ab4cc5ea0 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/databases/update.md +++ b/docs/examples/1.4.x/server-dotnet/examples/databases/update.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/functions/create-build.md b/docs/examples/1.4.x/server-dotnet/examples/functions/create-build.md index 71eb842c6c..51c539a59d 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/functions/create-build.md +++ b/docs/examples/1.4.x/server-dotnet/examples/functions/create-build.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/functions/create-deployment.md b/docs/examples/1.4.x/server-dotnet/examples/functions/create-deployment.md index 9bbcc65dea..51444d9347 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/functions/create-deployment.md +++ b/docs/examples/1.4.x/server-dotnet/examples/functions/create-deployment.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/functions/create-execution.md b/docs/examples/1.4.x/server-dotnet/examples/functions/create-execution.md index 93cd65be5d..d6e17cbcd4 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/functions/create-execution.md +++ b/docs/examples/1.4.x/server-dotnet/examples/functions/create-execution.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/functions/create-variable.md b/docs/examples/1.4.x/server-dotnet/examples/functions/create-variable.md index 0724bc6eef..a90e0e883f 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/functions/create-variable.md +++ b/docs/examples/1.4.x/server-dotnet/examples/functions/create-variable.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/functions/create.md b/docs/examples/1.4.x/server-dotnet/examples/functions/create.md index 695fe8b626..f05e9ca69f 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/functions/create.md +++ b/docs/examples/1.4.x/server-dotnet/examples/functions/create.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/functions/delete-deployment.md b/docs/examples/1.4.x/server-dotnet/examples/functions/delete-deployment.md index 2c17dfae9f..907a3f0326 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/functions/delete-deployment.md +++ b/docs/examples/1.4.x/server-dotnet/examples/functions/delete-deployment.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/functions/delete-variable.md b/docs/examples/1.4.x/server-dotnet/examples/functions/delete-variable.md index cf201480fa..3faa77f8ce 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/functions/delete-variable.md +++ b/docs/examples/1.4.x/server-dotnet/examples/functions/delete-variable.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/functions/delete.md b/docs/examples/1.4.x/server-dotnet/examples/functions/delete.md index 123e307c79..c3db166334 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/functions/delete.md +++ b/docs/examples/1.4.x/server-dotnet/examples/functions/delete.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/functions/download-deployment.md b/docs/examples/1.4.x/server-dotnet/examples/functions/download-deployment.md index d167c7ddfd..e8a2f3d32e 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/functions/download-deployment.md +++ b/docs/examples/1.4.x/server-dotnet/examples/functions/download-deployment.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/functions/get-deployment.md b/docs/examples/1.4.x/server-dotnet/examples/functions/get-deployment.md index 7d895c6d82..18f5206643 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/functions/get-deployment.md +++ b/docs/examples/1.4.x/server-dotnet/examples/functions/get-deployment.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/functions/get-execution.md b/docs/examples/1.4.x/server-dotnet/examples/functions/get-execution.md index ed65d26bef..e6dfe4a913 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/functions/get-execution.md +++ b/docs/examples/1.4.x/server-dotnet/examples/functions/get-execution.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/functions/get-variable.md b/docs/examples/1.4.x/server-dotnet/examples/functions/get-variable.md index 12083e5acb..c17dd8cf62 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/functions/get-variable.md +++ b/docs/examples/1.4.x/server-dotnet/examples/functions/get-variable.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/functions/get.md b/docs/examples/1.4.x/server-dotnet/examples/functions/get.md index 1914ccf7ac..c21fc7dbd5 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/functions/get.md +++ b/docs/examples/1.4.x/server-dotnet/examples/functions/get.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/functions/list-deployments.md b/docs/examples/1.4.x/server-dotnet/examples/functions/list-deployments.md index cd6a7b9446..4e2e85fa52 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/functions/list-deployments.md +++ b/docs/examples/1.4.x/server-dotnet/examples/functions/list-deployments.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/functions/list-executions.md b/docs/examples/1.4.x/server-dotnet/examples/functions/list-executions.md index d4c73a0d36..7bf4598b4c 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/functions/list-executions.md +++ b/docs/examples/1.4.x/server-dotnet/examples/functions/list-executions.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/functions/list-runtimes.md b/docs/examples/1.4.x/server-dotnet/examples/functions/list-runtimes.md index ca1d125eb2..ad8a60936f 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/functions/list-runtimes.md +++ b/docs/examples/1.4.x/server-dotnet/examples/functions/list-runtimes.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/functions/list-variables.md b/docs/examples/1.4.x/server-dotnet/examples/functions/list-variables.md index 31177df9ff..555e972af5 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/functions/list-variables.md +++ b/docs/examples/1.4.x/server-dotnet/examples/functions/list-variables.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/functions/list.md b/docs/examples/1.4.x/server-dotnet/examples/functions/list.md index 1b8897b76f..76128c22bf 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/functions/list.md +++ b/docs/examples/1.4.x/server-dotnet/examples/functions/list.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/functions/update-deployment.md b/docs/examples/1.4.x/server-dotnet/examples/functions/update-deployment.md index 8cd7fc5425..ba2f2b1e5a 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/functions/update-deployment.md +++ b/docs/examples/1.4.x/server-dotnet/examples/functions/update-deployment.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/functions/update-variable.md b/docs/examples/1.4.x/server-dotnet/examples/functions/update-variable.md index 63eac46609..c222a9e27f 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/functions/update-variable.md +++ b/docs/examples/1.4.x/server-dotnet/examples/functions/update-variable.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/functions/update.md b/docs/examples/1.4.x/server-dotnet/examples/functions/update.md index d9b29e6e77..fed73cc478 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/functions/update.md +++ b/docs/examples/1.4.x/server-dotnet/examples/functions/update.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/graphql/mutation.md b/docs/examples/1.4.x/server-dotnet/examples/graphql/mutation.md index 8ab5f0e458..7756823b7e 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/graphql/mutation.md +++ b/docs/examples/1.4.x/server-dotnet/examples/graphql/mutation.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/graphql/query.md b/docs/examples/1.4.x/server-dotnet/examples/graphql/query.md index e019f43e5b..24f480286d 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/graphql/query.md +++ b/docs/examples/1.4.x/server-dotnet/examples/graphql/query.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/health/get-antivirus.md b/docs/examples/1.4.x/server-dotnet/examples/health/get-antivirus.md index b8b0d5d95e..08bf120732 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/health/get-antivirus.md +++ b/docs/examples/1.4.x/server-dotnet/examples/health/get-antivirus.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/health/get-cache.md b/docs/examples/1.4.x/server-dotnet/examples/health/get-cache.md index 2f36c10f3b..98970f1442 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/health/get-cache.md +++ b/docs/examples/1.4.x/server-dotnet/examples/health/get-cache.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/health/get-d-b.md b/docs/examples/1.4.x/server-dotnet/examples/health/get-d-b.md index a263709073..1ec2dea7fd 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/health/get-d-b.md +++ b/docs/examples/1.4.x/server-dotnet/examples/health/get-d-b.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/health/get-pub-sub.md b/docs/examples/1.4.x/server-dotnet/examples/health/get-pub-sub.md index 7850a7555c..3e2bde164e 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/health/get-pub-sub.md +++ b/docs/examples/1.4.x/server-dotnet/examples/health/get-pub-sub.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-builds.md b/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-builds.md index 654ab8efbb..46ab49174f 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-builds.md +++ b/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-builds.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-certificates.md b/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-certificates.md index b2f945cbc7..4ae91c03cb 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-certificates.md +++ b/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-certificates.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-databases.md b/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-databases.md index 5bd24a4607..fd6e4409d4 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-databases.md +++ b/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-databases.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-deletes.md b/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-deletes.md index 26a692ce4f..36c6100077 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-deletes.md +++ b/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-deletes.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-functions.md b/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-functions.md index cf2ed7fc08..935bef4436 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-functions.md +++ b/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-functions.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-logs.md b/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-logs.md index 8821509dbc..5ff91aa025 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-logs.md +++ b/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-logs.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-mails.md b/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-mails.md index 41e09a221f..e7d99cb23d 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-mails.md +++ b/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-mails.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-messaging.md b/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-messaging.md index 52b7aaf332..d7f3c4d962 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-messaging.md +++ b/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-messaging.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-migrations.md b/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-migrations.md index 49b0597c0c..f37ce657e0 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-migrations.md +++ b/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-migrations.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-webhooks.md b/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-webhooks.md index d2ffb01c4d..12b0edb711 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.4.x/server-dotnet/examples/health/get-queue-webhooks.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/health/get-queue.md b/docs/examples/1.4.x/server-dotnet/examples/health/get-queue.md index 1087bc12c8..b158d6fa2c 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/health/get-queue.md +++ b/docs/examples/1.4.x/server-dotnet/examples/health/get-queue.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/health/get-storage-local.md b/docs/examples/1.4.x/server-dotnet/examples/health/get-storage-local.md index bc60cc6ccd..36934e7443 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/health/get-storage-local.md +++ b/docs/examples/1.4.x/server-dotnet/examples/health/get-storage-local.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/health/get-time.md b/docs/examples/1.4.x/server-dotnet/examples/health/get-time.md index 15f1745453..ec6e71f0e9 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/health/get-time.md +++ b/docs/examples/1.4.x/server-dotnet/examples/health/get-time.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/health/get.md b/docs/examples/1.4.x/server-dotnet/examples/health/get.md index d1ddd8fdf0..fb56bd5f3e 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/health/get.md +++ b/docs/examples/1.4.x/server-dotnet/examples/health/get.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/locale/get.md b/docs/examples/1.4.x/server-dotnet/examples/locale/get.md index f049a92072..6713e1ed57 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/locale/get.md +++ b/docs/examples/1.4.x/server-dotnet/examples/locale/get.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/locale/list-codes.md b/docs/examples/1.4.x/server-dotnet/examples/locale/list-codes.md index 9eaab83462..be761094e6 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/locale/list-codes.md +++ b/docs/examples/1.4.x/server-dotnet/examples/locale/list-codes.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/locale/list-continents.md b/docs/examples/1.4.x/server-dotnet/examples/locale/list-continents.md index dd91caba9d..34af0c22b7 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/locale/list-continents.md +++ b/docs/examples/1.4.x/server-dotnet/examples/locale/list-continents.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/locale/list-countries-e-u.md b/docs/examples/1.4.x/server-dotnet/examples/locale/list-countries-e-u.md index 8692c7b78e..c515841b7d 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.4.x/server-dotnet/examples/locale/list-countries-e-u.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/locale/list-countries-phones.md b/docs/examples/1.4.x/server-dotnet/examples/locale/list-countries-phones.md index 8607ae90f5..ebe76e6bfd 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/locale/list-countries-phones.md +++ b/docs/examples/1.4.x/server-dotnet/examples/locale/list-countries-phones.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/locale/list-countries.md b/docs/examples/1.4.x/server-dotnet/examples/locale/list-countries.md index c67d863856..a1a6ed3e3a 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/locale/list-countries.md +++ b/docs/examples/1.4.x/server-dotnet/examples/locale/list-countries.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/locale/list-currencies.md b/docs/examples/1.4.x/server-dotnet/examples/locale/list-currencies.md index 1bb3c427e0..dc04bca6f9 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/locale/list-currencies.md +++ b/docs/examples/1.4.x/server-dotnet/examples/locale/list-currencies.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/locale/list-languages.md b/docs/examples/1.4.x/server-dotnet/examples/locale/list-languages.md index 1c2897d4fb..79e53a2037 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/locale/list-languages.md +++ b/docs/examples/1.4.x/server-dotnet/examples/locale/list-languages.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/storage/create-bucket.md b/docs/examples/1.4.x/server-dotnet/examples/storage/create-bucket.md index b1da6cb0bd..120a177dd6 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/storage/create-bucket.md +++ b/docs/examples/1.4.x/server-dotnet/examples/storage/create-bucket.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/storage/create-file.md b/docs/examples/1.4.x/server-dotnet/examples/storage/create-file.md index f7d7315209..58118f66e1 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/storage/create-file.md +++ b/docs/examples/1.4.x/server-dotnet/examples/storage/create-file.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/storage/delete-bucket.md b/docs/examples/1.4.x/server-dotnet/examples/storage/delete-bucket.md index c8825f3063..a19aec2099 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/storage/delete-bucket.md +++ b/docs/examples/1.4.x/server-dotnet/examples/storage/delete-bucket.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/storage/delete-file.md b/docs/examples/1.4.x/server-dotnet/examples/storage/delete-file.md index 8b70175d97..5300b3e3f3 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/storage/delete-file.md +++ b/docs/examples/1.4.x/server-dotnet/examples/storage/delete-file.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/storage/get-bucket.md b/docs/examples/1.4.x/server-dotnet/examples/storage/get-bucket.md index aca9020f28..dd97d87147 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/storage/get-bucket.md +++ b/docs/examples/1.4.x/server-dotnet/examples/storage/get-bucket.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/storage/get-file-download.md b/docs/examples/1.4.x/server-dotnet/examples/storage/get-file-download.md index e6aa24bea3..50e79c821f 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/storage/get-file-download.md +++ b/docs/examples/1.4.x/server-dotnet/examples/storage/get-file-download.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/storage/get-file-preview.md b/docs/examples/1.4.x/server-dotnet/examples/storage/get-file-preview.md index 92565ae5ef..4bcb95323a 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/storage/get-file-preview.md +++ b/docs/examples/1.4.x/server-dotnet/examples/storage/get-file-preview.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/storage/get-file-view.md b/docs/examples/1.4.x/server-dotnet/examples/storage/get-file-view.md index 081f2dce7b..f0faf111ee 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/storage/get-file-view.md +++ b/docs/examples/1.4.x/server-dotnet/examples/storage/get-file-view.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/storage/get-file.md b/docs/examples/1.4.x/server-dotnet/examples/storage/get-file.md index 0299a91bbe..a2640e3deb 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/storage/get-file.md +++ b/docs/examples/1.4.x/server-dotnet/examples/storage/get-file.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/storage/list-buckets.md b/docs/examples/1.4.x/server-dotnet/examples/storage/list-buckets.md index 2caae5e0af..6b527b1aaf 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/storage/list-buckets.md +++ b/docs/examples/1.4.x/server-dotnet/examples/storage/list-buckets.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/storage/list-files.md b/docs/examples/1.4.x/server-dotnet/examples/storage/list-files.md index 9d861171ac..82cdd78bce 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/storage/list-files.md +++ b/docs/examples/1.4.x/server-dotnet/examples/storage/list-files.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/storage/update-bucket.md b/docs/examples/1.4.x/server-dotnet/examples/storage/update-bucket.md index eac7456209..8675d42d30 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/storage/update-bucket.md +++ b/docs/examples/1.4.x/server-dotnet/examples/storage/update-bucket.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/storage/update-file.md b/docs/examples/1.4.x/server-dotnet/examples/storage/update-file.md index c51d335eef..dd6bad34a8 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/storage/update-file.md +++ b/docs/examples/1.4.x/server-dotnet/examples/storage/update-file.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/teams/create-membership.md b/docs/examples/1.4.x/server-dotnet/examples/teams/create-membership.md index 1fd8e26521..70ba09b27e 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/teams/create-membership.md +++ b/docs/examples/1.4.x/server-dotnet/examples/teams/create-membership.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/teams/create.md b/docs/examples/1.4.x/server-dotnet/examples/teams/create.md index fa34098cb2..2cec3e2009 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/teams/create.md +++ b/docs/examples/1.4.x/server-dotnet/examples/teams/create.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/teams/delete-membership.md b/docs/examples/1.4.x/server-dotnet/examples/teams/delete-membership.md index e3c7562f99..3eb75eff7c 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/teams/delete-membership.md +++ b/docs/examples/1.4.x/server-dotnet/examples/teams/delete-membership.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/teams/delete.md b/docs/examples/1.4.x/server-dotnet/examples/teams/delete.md index 8229839b1c..497b365113 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/teams/delete.md +++ b/docs/examples/1.4.x/server-dotnet/examples/teams/delete.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/teams/get-membership.md b/docs/examples/1.4.x/server-dotnet/examples/teams/get-membership.md index 108dbadbe0..3cdaf1c8fd 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/teams/get-membership.md +++ b/docs/examples/1.4.x/server-dotnet/examples/teams/get-membership.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/teams/get-prefs.md b/docs/examples/1.4.x/server-dotnet/examples/teams/get-prefs.md index 08be12ba83..39fdbf4cbf 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/teams/get-prefs.md +++ b/docs/examples/1.4.x/server-dotnet/examples/teams/get-prefs.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-dotnet/examples/teams/get.md b/docs/examples/1.4.x/server-dotnet/examples/teams/get.md index f6c92a007b..3ed9ff6771 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/teams/get.md +++ b/docs/examples/1.4.x/server-dotnet/examples/teams/get.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/teams/list-memberships.md b/docs/examples/1.4.x/server-dotnet/examples/teams/list-memberships.md index 145376cfb9..b2a5a0ed0b 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/teams/list-memberships.md +++ b/docs/examples/1.4.x/server-dotnet/examples/teams/list-memberships.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/teams/list.md b/docs/examples/1.4.x/server-dotnet/examples/teams/list.md index 1acf615039..133907dc2c 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/teams/list.md +++ b/docs/examples/1.4.x/server-dotnet/examples/teams/list.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/teams/update-membership-status.md b/docs/examples/1.4.x/server-dotnet/examples/teams/update-membership-status.md index bb377203cc..d5514e7739 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/teams/update-membership-status.md +++ b/docs/examples/1.4.x/server-dotnet/examples/teams/update-membership-status.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-dotnet/examples/teams/update-membership.md b/docs/examples/1.4.x/server-dotnet/examples/teams/update-membership.md index 70ad79f23f..bd954738b5 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/teams/update-membership.md +++ b/docs/examples/1.4.x/server-dotnet/examples/teams/update-membership.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/teams/update-name.md b/docs/examples/1.4.x/server-dotnet/examples/teams/update-name.md index 1286730437..bd0bd7df41 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/teams/update-name.md +++ b/docs/examples/1.4.x/server-dotnet/examples/teams/update-name.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/teams/update-prefs.md b/docs/examples/1.4.x/server-dotnet/examples/teams/update-prefs.md index 3dfc0a3fc1..c75e761fc4 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/teams/update-prefs.md +++ b/docs/examples/1.4.x/server-dotnet/examples/teams/update-prefs.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-dotnet/examples/users/create-argon2user.md b/docs/examples/1.4.x/server-dotnet/examples/users/create-argon2user.md index 6038594547..958efe5c51 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/users/create-argon2user.md +++ b/docs/examples/1.4.x/server-dotnet/examples/users/create-argon2user.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/users/create-bcrypt-user.md b/docs/examples/1.4.x/server-dotnet/examples/users/create-bcrypt-user.md index 954e1ad1cc..20297ef5d8 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.4.x/server-dotnet/examples/users/create-bcrypt-user.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/users/create-m-d5user.md b/docs/examples/1.4.x/server-dotnet/examples/users/create-m-d5user.md index de54ee98fe..a7b0ad1381 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/users/create-m-d5user.md +++ b/docs/examples/1.4.x/server-dotnet/examples/users/create-m-d5user.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/users/create-p-h-pass-user.md b/docs/examples/1.4.x/server-dotnet/examples/users/create-p-h-pass-user.md index e8ede042da..60d1f6d779 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.4.x/server-dotnet/examples/users/create-p-h-pass-user.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/users/create-s-h-a-user.md b/docs/examples/1.4.x/server-dotnet/examples/users/create-s-h-a-user.md index f381619651..68fcc2900e 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.4.x/server-dotnet/examples/users/create-s-h-a-user.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/users/create-scrypt-modified-user.md b/docs/examples/1.4.x/server-dotnet/examples/users/create-scrypt-modified-user.md index c16cfe97f9..b03e4d0a12 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.4.x/server-dotnet/examples/users/create-scrypt-modified-user.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/users/create-scrypt-user.md b/docs/examples/1.4.x/server-dotnet/examples/users/create-scrypt-user.md index 1d6e60dd2d..1cf9a2effe 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/users/create-scrypt-user.md +++ b/docs/examples/1.4.x/server-dotnet/examples/users/create-scrypt-user.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/users/create.md b/docs/examples/1.4.x/server-dotnet/examples/users/create.md index 0a8421a544..ad55ca54e2 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/users/create.md +++ b/docs/examples/1.4.x/server-dotnet/examples/users/create.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/users/delete-identity.md b/docs/examples/1.4.x/server-dotnet/examples/users/delete-identity.md index f1425a9ab3..ee1815bb08 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/users/delete-identity.md +++ b/docs/examples/1.4.x/server-dotnet/examples/users/delete-identity.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/users/delete-session.md b/docs/examples/1.4.x/server-dotnet/examples/users/delete-session.md index 841bd456c8..3f342d1178 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/users/delete-session.md +++ b/docs/examples/1.4.x/server-dotnet/examples/users/delete-session.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/users/delete-sessions.md b/docs/examples/1.4.x/server-dotnet/examples/users/delete-sessions.md index 8ff8f76522..bb5abd9a82 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/users/delete-sessions.md +++ b/docs/examples/1.4.x/server-dotnet/examples/users/delete-sessions.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/users/delete.md b/docs/examples/1.4.x/server-dotnet/examples/users/delete.md index 7833a7950f..71ba2bf688 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/users/delete.md +++ b/docs/examples/1.4.x/server-dotnet/examples/users/delete.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/users/get-prefs.md b/docs/examples/1.4.x/server-dotnet/examples/users/get-prefs.md index c19f5e0778..6f122c0ff2 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/users/get-prefs.md +++ b/docs/examples/1.4.x/server-dotnet/examples/users/get-prefs.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/users/get.md b/docs/examples/1.4.x/server-dotnet/examples/users/get.md index 9c315e6021..b42ff2bf73 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/users/get.md +++ b/docs/examples/1.4.x/server-dotnet/examples/users/get.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/users/list-identities.md b/docs/examples/1.4.x/server-dotnet/examples/users/list-identities.md index af8f99620f..69acb5529a 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/users/list-identities.md +++ b/docs/examples/1.4.x/server-dotnet/examples/users/list-identities.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/users/list-logs.md b/docs/examples/1.4.x/server-dotnet/examples/users/list-logs.md index 277addcd25..b56bf45aa8 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/users/list-logs.md +++ b/docs/examples/1.4.x/server-dotnet/examples/users/list-logs.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/users/list-memberships.md b/docs/examples/1.4.x/server-dotnet/examples/users/list-memberships.md index c25d98b41d..d3099aad97 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/users/list-memberships.md +++ b/docs/examples/1.4.x/server-dotnet/examples/users/list-memberships.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/users/list-sessions.md b/docs/examples/1.4.x/server-dotnet/examples/users/list-sessions.md index fcd87f01ad..43230b847d 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/users/list-sessions.md +++ b/docs/examples/1.4.x/server-dotnet/examples/users/list-sessions.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/users/list.md b/docs/examples/1.4.x/server-dotnet/examples/users/list.md index 9cb177b692..580396eca5 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/users/list.md +++ b/docs/examples/1.4.x/server-dotnet/examples/users/list.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/users/update-email-verification.md b/docs/examples/1.4.x/server-dotnet/examples/users/update-email-verification.md index 2b7a5b8674..5287a38ce0 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/users/update-email-verification.md +++ b/docs/examples/1.4.x/server-dotnet/examples/users/update-email-verification.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/users/update-email.md b/docs/examples/1.4.x/server-dotnet/examples/users/update-email.md index 0d371b13fc..8bad70f956 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/users/update-email.md +++ b/docs/examples/1.4.x/server-dotnet/examples/users/update-email.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/users/update-labels.md b/docs/examples/1.4.x/server-dotnet/examples/users/update-labels.md index 97d5db356a..050486720c 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/users/update-labels.md +++ b/docs/examples/1.4.x/server-dotnet/examples/users/update-labels.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/users/update-name.md b/docs/examples/1.4.x/server-dotnet/examples/users/update-name.md index f846543117..8bfbeaafa2 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/users/update-name.md +++ b/docs/examples/1.4.x/server-dotnet/examples/users/update-name.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/users/update-password.md b/docs/examples/1.4.x/server-dotnet/examples/users/update-password.md index ce3241dfd5..c6fd97306b 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/users/update-password.md +++ b/docs/examples/1.4.x/server-dotnet/examples/users/update-password.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/users/update-phone-verification.md b/docs/examples/1.4.x/server-dotnet/examples/users/update-phone-verification.md index c2fd1673de..784ea37f18 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/users/update-phone-verification.md +++ b/docs/examples/1.4.x/server-dotnet/examples/users/update-phone-verification.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/users/update-phone.md b/docs/examples/1.4.x/server-dotnet/examples/users/update-phone.md index 90728d76c7..e293e53002 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/users/update-phone.md +++ b/docs/examples/1.4.x/server-dotnet/examples/users/update-phone.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/users/update-prefs.md b/docs/examples/1.4.x/server-dotnet/examples/users/update-prefs.md index a39d54565a..5a443de5c7 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/users/update-prefs.md +++ b/docs/examples/1.4.x/server-dotnet/examples/users/update-prefs.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-dotnet/examples/users/update-status.md b/docs/examples/1.4.x/server-dotnet/examples/users/update-status.md index 713ece02ba..d913bb5cb9 100644 --- a/docs/examples/1.4.x/server-dotnet/examples/users/update-status.md +++ b/docs/examples/1.4.x/server-dotnet/examples/users/update-status.md @@ -3,7 +3,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/account/create-phone-verification.md b/docs/examples/1.4.x/server-kotlin/java/account/create-phone-verification.md index 013b357f88..86416e08aa 100644 --- a/docs/examples/1.4.x/server-kotlin/java/account/create-phone-verification.md +++ b/docs/examples/1.4.x/server-kotlin/java/account/create-phone-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/java/account/create-recovery.md b/docs/examples/1.4.x/server-kotlin/java/account/create-recovery.md index 284efc8107..7f1a21b9dc 100644 --- a/docs/examples/1.4.x/server-kotlin/java/account/create-recovery.md +++ b/docs/examples/1.4.x/server-kotlin/java/account/create-recovery.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/java/account/create-verification.md b/docs/examples/1.4.x/server-kotlin/java/account/create-verification.md index 0280b4b15b..c7911643c1 100644 --- a/docs/examples/1.4.x/server-kotlin/java/account/create-verification.md +++ b/docs/examples/1.4.x/server-kotlin/java/account/create-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/java/account/delete-identity.md b/docs/examples/1.4.x/server-kotlin/java/account/delete-identity.md index 54bad5a9f0..4ce39edbbf 100644 --- a/docs/examples/1.4.x/server-kotlin/java/account/delete-identity.md +++ b/docs/examples/1.4.x/server-kotlin/java/account/delete-identity.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/java/account/delete-session.md b/docs/examples/1.4.x/server-kotlin/java/account/delete-session.md index 2cd069eaa1..27ce537ecd 100644 --- a/docs/examples/1.4.x/server-kotlin/java/account/delete-session.md +++ b/docs/examples/1.4.x/server-kotlin/java/account/delete-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/java/account/delete-sessions.md b/docs/examples/1.4.x/server-kotlin/java/account/delete-sessions.md index 7a9999d398..cd790a3ac7 100644 --- a/docs/examples/1.4.x/server-kotlin/java/account/delete-sessions.md +++ b/docs/examples/1.4.x/server-kotlin/java/account/delete-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/java/account/get-prefs.md b/docs/examples/1.4.x/server-kotlin/java/account/get-prefs.md index 3f6cd20c9d..609707c407 100644 --- a/docs/examples/1.4.x/server-kotlin/java/account/get-prefs.md +++ b/docs/examples/1.4.x/server-kotlin/java/account/get-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/java/account/get-session.md b/docs/examples/1.4.x/server-kotlin/java/account/get-session.md index 17229e29de..efe4fabba7 100644 --- a/docs/examples/1.4.x/server-kotlin/java/account/get-session.md +++ b/docs/examples/1.4.x/server-kotlin/java/account/get-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/java/account/get.md b/docs/examples/1.4.x/server-kotlin/java/account/get.md index 80a4988af5..a79e027940 100644 --- a/docs/examples/1.4.x/server-kotlin/java/account/get.md +++ b/docs/examples/1.4.x/server-kotlin/java/account/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/java/account/list-identities.md b/docs/examples/1.4.x/server-kotlin/java/account/list-identities.md index d6fcb68127..d0d62fc9d5 100644 --- a/docs/examples/1.4.x/server-kotlin/java/account/list-identities.md +++ b/docs/examples/1.4.x/server-kotlin/java/account/list-identities.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/java/account/list-logs.md b/docs/examples/1.4.x/server-kotlin/java/account/list-logs.md index 971ac866e1..cfb15dccfc 100644 --- a/docs/examples/1.4.x/server-kotlin/java/account/list-logs.md +++ b/docs/examples/1.4.x/server-kotlin/java/account/list-logs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/java/account/list-sessions.md b/docs/examples/1.4.x/server-kotlin/java/account/list-sessions.md index 9d7e6308e5..f850618692 100644 --- a/docs/examples/1.4.x/server-kotlin/java/account/list-sessions.md +++ b/docs/examples/1.4.x/server-kotlin/java/account/list-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/java/account/update-email.md b/docs/examples/1.4.x/server-kotlin/java/account/update-email.md index 67ab31ad88..4e09bdf1a9 100644 --- a/docs/examples/1.4.x/server-kotlin/java/account/update-email.md +++ b/docs/examples/1.4.x/server-kotlin/java/account/update-email.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/java/account/update-name.md b/docs/examples/1.4.x/server-kotlin/java/account/update-name.md index 6900f12174..6a5a1711eb 100644 --- a/docs/examples/1.4.x/server-kotlin/java/account/update-name.md +++ b/docs/examples/1.4.x/server-kotlin/java/account/update-name.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/java/account/update-password.md b/docs/examples/1.4.x/server-kotlin/java/account/update-password.md index ace01fcc9a..3797fcb7b4 100644 --- a/docs/examples/1.4.x/server-kotlin/java/account/update-password.md +++ b/docs/examples/1.4.x/server-kotlin/java/account/update-password.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/java/account/update-phone-verification.md b/docs/examples/1.4.x/server-kotlin/java/account/update-phone-verification.md index 8c3c9756de..0c1d440763 100644 --- a/docs/examples/1.4.x/server-kotlin/java/account/update-phone-verification.md +++ b/docs/examples/1.4.x/server-kotlin/java/account/update-phone-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/java/account/update-phone.md b/docs/examples/1.4.x/server-kotlin/java/account/update-phone.md index 9365a0f0b9..d51cc4497e 100644 --- a/docs/examples/1.4.x/server-kotlin/java/account/update-phone.md +++ b/docs/examples/1.4.x/server-kotlin/java/account/update-phone.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/java/account/update-prefs.md b/docs/examples/1.4.x/server-kotlin/java/account/update-prefs.md index 24a3625834..2c7e22f25f 100644 --- a/docs/examples/1.4.x/server-kotlin/java/account/update-prefs.md +++ b/docs/examples/1.4.x/server-kotlin/java/account/update-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/java/account/update-recovery.md b/docs/examples/1.4.x/server-kotlin/java/account/update-recovery.md index bc3251d160..ffbfd402b9 100644 --- a/docs/examples/1.4.x/server-kotlin/java/account/update-recovery.md +++ b/docs/examples/1.4.x/server-kotlin/java/account/update-recovery.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/java/account/update-session.md b/docs/examples/1.4.x/server-kotlin/java/account/update-session.md index 62d77e1366..ec83c2d357 100644 --- a/docs/examples/1.4.x/server-kotlin/java/account/update-session.md +++ b/docs/examples/1.4.x/server-kotlin/java/account/update-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/java/account/update-status.md b/docs/examples/1.4.x/server-kotlin/java/account/update-status.md index 4af2cf1083..964ce9c5b0 100644 --- a/docs/examples/1.4.x/server-kotlin/java/account/update-status.md +++ b/docs/examples/1.4.x/server-kotlin/java/account/update-status.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/java/account/update-verification.md b/docs/examples/1.4.x/server-kotlin/java/account/update-verification.md index 2190daf1b7..76780f4ac6 100644 --- a/docs/examples/1.4.x/server-kotlin/java/account/update-verification.md +++ b/docs/examples/1.4.x/server-kotlin/java/account/update-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/java/avatars/get-browser.md b/docs/examples/1.4.x/server-kotlin/java/avatars/get-browser.md index 42e8e57ee1..0682288cfe 100644 --- a/docs/examples/1.4.x/server-kotlin/java/avatars/get-browser.md +++ b/docs/examples/1.4.x/server-kotlin/java/avatars/get-browser.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/avatars/get-credit-card.md b/docs/examples/1.4.x/server-kotlin/java/avatars/get-credit-card.md index 5e3b32b527..f821a7638c 100644 --- a/docs/examples/1.4.x/server-kotlin/java/avatars/get-credit-card.md +++ b/docs/examples/1.4.x/server-kotlin/java/avatars/get-credit-card.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/avatars/get-favicon.md b/docs/examples/1.4.x/server-kotlin/java/avatars/get-favicon.md index 109f88f719..95b91adb90 100644 --- a/docs/examples/1.4.x/server-kotlin/java/avatars/get-favicon.md +++ b/docs/examples/1.4.x/server-kotlin/java/avatars/get-favicon.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/avatars/get-flag.md b/docs/examples/1.4.x/server-kotlin/java/avatars/get-flag.md index 6ad820ae7a..f0e2cda52d 100644 --- a/docs/examples/1.4.x/server-kotlin/java/avatars/get-flag.md +++ b/docs/examples/1.4.x/server-kotlin/java/avatars/get-flag.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/avatars/get-image.md b/docs/examples/1.4.x/server-kotlin/java/avatars/get-image.md index 2680544988..765a8024e5 100644 --- a/docs/examples/1.4.x/server-kotlin/java/avatars/get-image.md +++ b/docs/examples/1.4.x/server-kotlin/java/avatars/get-image.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/avatars/get-initials.md b/docs/examples/1.4.x/server-kotlin/java/avatars/get-initials.md index 8a86e7a01b..8cbcee1497 100644 --- a/docs/examples/1.4.x/server-kotlin/java/avatars/get-initials.md +++ b/docs/examples/1.4.x/server-kotlin/java/avatars/get-initials.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/avatars/get-q-r.md b/docs/examples/1.4.x/server-kotlin/java/avatars/get-q-r.md index c57d70a840..2d7e133281 100644 --- a/docs/examples/1.4.x/server-kotlin/java/avatars/get-q-r.md +++ b/docs/examples/1.4.x/server-kotlin/java/avatars/get-q-r.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/create-boolean-attribute.md b/docs/examples/1.4.x/server-kotlin/java/databases/create-boolean-attribute.md index 6e79f0a917..c5d83a05ff 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/create-boolean-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/create-boolean-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/create-collection.md b/docs/examples/1.4.x/server-kotlin/java/databases/create-collection.md index 96b5d9b974..77b5c9f7b7 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/create-collection.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/create-collection.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/create-datetime-attribute.md b/docs/examples/1.4.x/server-kotlin/java/databases/create-datetime-attribute.md index 307a8ffb65..c6d3c6f229 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/create-datetime-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/create-datetime-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/create-document.md b/docs/examples/1.4.x/server-kotlin/java/databases/create-document.md index 029c3f7a25..ede98c6046 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/create-document.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/create-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/create-email-attribute.md b/docs/examples/1.4.x/server-kotlin/java/databases/create-email-attribute.md index 8774c550b7..0200f11e7d 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/create-email-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/create-email-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/create-enum-attribute.md b/docs/examples/1.4.x/server-kotlin/java/databases/create-enum-attribute.md index e2cf6a28df..c4ae2933a4 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/create-enum-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/create-enum-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/create-float-attribute.md b/docs/examples/1.4.x/server-kotlin/java/databases/create-float-attribute.md index 0fba6ac073..ceede982b0 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/create-float-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/create-float-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/create-index.md b/docs/examples/1.4.x/server-kotlin/java/databases/create-index.md index 5dbdce895b..44eba1df01 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/create-index.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/create-index.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/create-integer-attribute.md b/docs/examples/1.4.x/server-kotlin/java/databases/create-integer-attribute.md index 5446862fdb..b0d8028a62 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/create-integer-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/create-integer-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/create-ip-attribute.md b/docs/examples/1.4.x/server-kotlin/java/databases/create-ip-attribute.md index fe37da96d5..a8ade8a412 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/create-ip-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/create-ip-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/create-relationship-attribute.md b/docs/examples/1.4.x/server-kotlin/java/databases/create-relationship-attribute.md index 0b7e5f999f..1c54712e5a 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/create-relationship-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/create-relationship-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/create-string-attribute.md b/docs/examples/1.4.x/server-kotlin/java/databases/create-string-attribute.md index a9b1916066..1a767be1d8 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/create-string-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/create-string-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/create-url-attribute.md b/docs/examples/1.4.x/server-kotlin/java/databases/create-url-attribute.md index 9c504d862b..c1bee6e0ba 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/create-url-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/create-url-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/create.md b/docs/examples/1.4.x/server-kotlin/java/databases/create.md index a323434059..9a2d932dd8 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/create.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/create.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/delete-attribute.md b/docs/examples/1.4.x/server-kotlin/java/databases/delete-attribute.md index 68aeecd93b..d58ba87b28 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/delete-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/delete-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/delete-collection.md b/docs/examples/1.4.x/server-kotlin/java/databases/delete-collection.md index cd328b48a6..370781bea9 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/delete-collection.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/delete-collection.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/delete-document.md b/docs/examples/1.4.x/server-kotlin/java/databases/delete-document.md index 4f4c8495c3..46b9edf2f6 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/delete-document.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/delete-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/delete-index.md b/docs/examples/1.4.x/server-kotlin/java/databases/delete-index.md index 640bd0fc31..d633a8a2ae 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/delete-index.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/delete-index.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/delete.md b/docs/examples/1.4.x/server-kotlin/java/databases/delete.md index 897a450fa4..a7fad611e0 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/delete.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/delete.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/get-attribute.md b/docs/examples/1.4.x/server-kotlin/java/databases/get-attribute.md index 79c1d2b2ad..fcea6fefb9 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/get-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/get-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/get-collection.md b/docs/examples/1.4.x/server-kotlin/java/databases/get-collection.md index 3ecfa0ca80..ce0eea0cb3 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/get-collection.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/get-collection.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/get-document.md b/docs/examples/1.4.x/server-kotlin/java/databases/get-document.md index 2061bed202..cac1612f0c 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/get-document.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/get-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/get-index.md b/docs/examples/1.4.x/server-kotlin/java/databases/get-index.md index 2bf036a057..753fef468f 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/get-index.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/get-index.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/get.md b/docs/examples/1.4.x/server-kotlin/java/databases/get.md index 066ec4d262..d4eeb222fd 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/get.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/list-attributes.md b/docs/examples/1.4.x/server-kotlin/java/databases/list-attributes.md index f42baa02f4..9c9c2623d3 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/list-attributes.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/list-attributes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/list-collections.md b/docs/examples/1.4.x/server-kotlin/java/databases/list-collections.md index 67c343f38a..639a45bc2e 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/list-collections.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/list-collections.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/list-documents.md b/docs/examples/1.4.x/server-kotlin/java/databases/list-documents.md index 7a4a1b70b2..56de64ca4c 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/list-documents.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/list-documents.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/list-indexes.md b/docs/examples/1.4.x/server-kotlin/java/databases/list-indexes.md index be50cdd900..58a7e3d217 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/list-indexes.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/list-indexes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/list.md b/docs/examples/1.4.x/server-kotlin/java/databases/list.md index 04f81867f0..b46abf235c 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/list.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/list.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/update-boolean-attribute.md b/docs/examples/1.4.x/server-kotlin/java/databases/update-boolean-attribute.md index 97cee2d548..ac9e320cec 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/update-boolean-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/update-boolean-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/update-collection.md b/docs/examples/1.4.x/server-kotlin/java/databases/update-collection.md index 3f25c5047e..831193fbf5 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/update-collection.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/update-collection.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/update-datetime-attribute.md b/docs/examples/1.4.x/server-kotlin/java/databases/update-datetime-attribute.md index 503f2debdf..4b143f17ba 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/update-datetime-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/update-datetime-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/update-document.md b/docs/examples/1.4.x/server-kotlin/java/databases/update-document.md index e9a596d3d4..3975588466 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/update-document.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/update-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/update-email-attribute.md b/docs/examples/1.4.x/server-kotlin/java/databases/update-email-attribute.md index 39ea153834..336c25482e 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/update-email-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/update-email-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/update-enum-attribute.md b/docs/examples/1.4.x/server-kotlin/java/databases/update-enum-attribute.md index 969ea4eece..cd9622fff9 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/update-enum-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/update-enum-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/update-float-attribute.md b/docs/examples/1.4.x/server-kotlin/java/databases/update-float-attribute.md index 67d76e425f..0e84626db7 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/update-float-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/update-float-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/update-integer-attribute.md b/docs/examples/1.4.x/server-kotlin/java/databases/update-integer-attribute.md index b9308dc22b..8cac261488 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/update-integer-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/update-integer-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/update-ip-attribute.md b/docs/examples/1.4.x/server-kotlin/java/databases/update-ip-attribute.md index 6a936a5f36..51cb161ea2 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/update-ip-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/update-ip-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/update-relationship-attribute.md b/docs/examples/1.4.x/server-kotlin/java/databases/update-relationship-attribute.md index 272952b597..624e66ed73 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/update-relationship-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/update-relationship-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/update-string-attribute.md b/docs/examples/1.4.x/server-kotlin/java/databases/update-string-attribute.md index aba0d0e53c..1f605fd0ee 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/update-string-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/update-string-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/update-url-attribute.md b/docs/examples/1.4.x/server-kotlin/java/databases/update-url-attribute.md index 87ab384929..f1e29c43bc 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/update-url-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/update-url-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/databases/update.md b/docs/examples/1.4.x/server-kotlin/java/databases/update.md index b706df6524..11337ed0d3 100644 --- a/docs/examples/1.4.x/server-kotlin/java/databases/update.md +++ b/docs/examples/1.4.x/server-kotlin/java/databases/update.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/functions/create-build.md b/docs/examples/1.4.x/server-kotlin/java/functions/create-build.md index 10c8d2fc80..5a571f76e8 100644 --- a/docs/examples/1.4.x/server-kotlin/java/functions/create-build.md +++ b/docs/examples/1.4.x/server-kotlin/java/functions/create-build.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/functions/create-deployment.md b/docs/examples/1.4.x/server-kotlin/java/functions/create-deployment.md index 4e6da33482..40b8aa5ea7 100644 --- a/docs/examples/1.4.x/server-kotlin/java/functions/create-deployment.md +++ b/docs/examples/1.4.x/server-kotlin/java/functions/create-deployment.md @@ -4,7 +4,7 @@ import io.appwrite.models.InputFile; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/functions/create-execution.md b/docs/examples/1.4.x/server-kotlin/java/functions/create-execution.md index 315f57d5cb..d53744f70a 100644 --- a/docs/examples/1.4.x/server-kotlin/java/functions/create-execution.md +++ b/docs/examples/1.4.x/server-kotlin/java/functions/create-execution.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/functions/create-variable.md b/docs/examples/1.4.x/server-kotlin/java/functions/create-variable.md index 5e9c5a66bd..3ce9c2d944 100644 --- a/docs/examples/1.4.x/server-kotlin/java/functions/create-variable.md +++ b/docs/examples/1.4.x/server-kotlin/java/functions/create-variable.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/functions/create.md b/docs/examples/1.4.x/server-kotlin/java/functions/create.md index aac81692ea..2b143361f2 100644 --- a/docs/examples/1.4.x/server-kotlin/java/functions/create.md +++ b/docs/examples/1.4.x/server-kotlin/java/functions/create.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/functions/delete-deployment.md b/docs/examples/1.4.x/server-kotlin/java/functions/delete-deployment.md index 703dce63aa..2da778a970 100644 --- a/docs/examples/1.4.x/server-kotlin/java/functions/delete-deployment.md +++ b/docs/examples/1.4.x/server-kotlin/java/functions/delete-deployment.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/functions/delete-variable.md b/docs/examples/1.4.x/server-kotlin/java/functions/delete-variable.md index d36615092d..cbdfabc97b 100644 --- a/docs/examples/1.4.x/server-kotlin/java/functions/delete-variable.md +++ b/docs/examples/1.4.x/server-kotlin/java/functions/delete-variable.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/functions/delete.md b/docs/examples/1.4.x/server-kotlin/java/functions/delete.md index 8f39896411..2f4eb011f1 100644 --- a/docs/examples/1.4.x/server-kotlin/java/functions/delete.md +++ b/docs/examples/1.4.x/server-kotlin/java/functions/delete.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/functions/download-deployment.md b/docs/examples/1.4.x/server-kotlin/java/functions/download-deployment.md index 91898dc07a..1d785c14ef 100644 --- a/docs/examples/1.4.x/server-kotlin/java/functions/download-deployment.md +++ b/docs/examples/1.4.x/server-kotlin/java/functions/download-deployment.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/functions/get-deployment.md b/docs/examples/1.4.x/server-kotlin/java/functions/get-deployment.md index 5b539d2801..54bf0c461a 100644 --- a/docs/examples/1.4.x/server-kotlin/java/functions/get-deployment.md +++ b/docs/examples/1.4.x/server-kotlin/java/functions/get-deployment.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/functions/get-execution.md b/docs/examples/1.4.x/server-kotlin/java/functions/get-execution.md index b1ff9485e8..00bb0a1ab8 100644 --- a/docs/examples/1.4.x/server-kotlin/java/functions/get-execution.md +++ b/docs/examples/1.4.x/server-kotlin/java/functions/get-execution.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/functions/get-variable.md b/docs/examples/1.4.x/server-kotlin/java/functions/get-variable.md index 2be25a5c73..01a0537064 100644 --- a/docs/examples/1.4.x/server-kotlin/java/functions/get-variable.md +++ b/docs/examples/1.4.x/server-kotlin/java/functions/get-variable.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/functions/get.md b/docs/examples/1.4.x/server-kotlin/java/functions/get.md index 8ad5ea3522..f6eb035a3e 100644 --- a/docs/examples/1.4.x/server-kotlin/java/functions/get.md +++ b/docs/examples/1.4.x/server-kotlin/java/functions/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/functions/list-deployments.md b/docs/examples/1.4.x/server-kotlin/java/functions/list-deployments.md index 61f48c88c3..c5a81048ec 100644 --- a/docs/examples/1.4.x/server-kotlin/java/functions/list-deployments.md +++ b/docs/examples/1.4.x/server-kotlin/java/functions/list-deployments.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/functions/list-executions.md b/docs/examples/1.4.x/server-kotlin/java/functions/list-executions.md index 392e9c82c5..f4db7948df 100644 --- a/docs/examples/1.4.x/server-kotlin/java/functions/list-executions.md +++ b/docs/examples/1.4.x/server-kotlin/java/functions/list-executions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/functions/list-runtimes.md b/docs/examples/1.4.x/server-kotlin/java/functions/list-runtimes.md index 46d0446310..968f019f02 100644 --- a/docs/examples/1.4.x/server-kotlin/java/functions/list-runtimes.md +++ b/docs/examples/1.4.x/server-kotlin/java/functions/list-runtimes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/functions/list-variables.md b/docs/examples/1.4.x/server-kotlin/java/functions/list-variables.md index 4fa47e8c57..ad6d522b8f 100644 --- a/docs/examples/1.4.x/server-kotlin/java/functions/list-variables.md +++ b/docs/examples/1.4.x/server-kotlin/java/functions/list-variables.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/functions/list.md b/docs/examples/1.4.x/server-kotlin/java/functions/list.md index 4224cf52b7..253cbafaa1 100644 --- a/docs/examples/1.4.x/server-kotlin/java/functions/list.md +++ b/docs/examples/1.4.x/server-kotlin/java/functions/list.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/functions/update-deployment.md b/docs/examples/1.4.x/server-kotlin/java/functions/update-deployment.md index 2af0637379..9e1db35071 100644 --- a/docs/examples/1.4.x/server-kotlin/java/functions/update-deployment.md +++ b/docs/examples/1.4.x/server-kotlin/java/functions/update-deployment.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/functions/update-variable.md b/docs/examples/1.4.x/server-kotlin/java/functions/update-variable.md index f30bbf8e4e..c841731b53 100644 --- a/docs/examples/1.4.x/server-kotlin/java/functions/update-variable.md +++ b/docs/examples/1.4.x/server-kotlin/java/functions/update-variable.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/functions/update.md b/docs/examples/1.4.x/server-kotlin/java/functions/update.md index 8a53d75ea4..d8c209b53a 100644 --- a/docs/examples/1.4.x/server-kotlin/java/functions/update.md +++ b/docs/examples/1.4.x/server-kotlin/java/functions/update.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/graphql/mutation.md b/docs/examples/1.4.x/server-kotlin/java/graphql/mutation.md index d689c62e60..9e93425d24 100644 --- a/docs/examples/1.4.x/server-kotlin/java/graphql/mutation.md +++ b/docs/examples/1.4.x/server-kotlin/java/graphql/mutation.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Graphql; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/graphql/query.md b/docs/examples/1.4.x/server-kotlin/java/graphql/query.md index e4b8693b4f..4ce7a5e66a 100644 --- a/docs/examples/1.4.x/server-kotlin/java/graphql/query.md +++ b/docs/examples/1.4.x/server-kotlin/java/graphql/query.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Graphql; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/health/get-antivirus.md b/docs/examples/1.4.x/server-kotlin/java/health/get-antivirus.md index 334563fd1c..0e08140132 100644 --- a/docs/examples/1.4.x/server-kotlin/java/health/get-antivirus.md +++ b/docs/examples/1.4.x/server-kotlin/java/health/get-antivirus.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/health/get-cache.md b/docs/examples/1.4.x/server-kotlin/java/health/get-cache.md index 9a2981253a..4c53f7a35b 100644 --- a/docs/examples/1.4.x/server-kotlin/java/health/get-cache.md +++ b/docs/examples/1.4.x/server-kotlin/java/health/get-cache.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/health/get-d-b.md b/docs/examples/1.4.x/server-kotlin/java/health/get-d-b.md index 22a5a6b5bb..9958d8bbdc 100644 --- a/docs/examples/1.4.x/server-kotlin/java/health/get-d-b.md +++ b/docs/examples/1.4.x/server-kotlin/java/health/get-d-b.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/health/get-pub-sub.md b/docs/examples/1.4.x/server-kotlin/java/health/get-pub-sub.md index ba94519084..176f2211f0 100644 --- a/docs/examples/1.4.x/server-kotlin/java/health/get-pub-sub.md +++ b/docs/examples/1.4.x/server-kotlin/java/health/get-pub-sub.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/health/get-queue-builds.md b/docs/examples/1.4.x/server-kotlin/java/health/get-queue-builds.md index ed22ab75a9..1d5a4e250a 100644 --- a/docs/examples/1.4.x/server-kotlin/java/health/get-queue-builds.md +++ b/docs/examples/1.4.x/server-kotlin/java/health/get-queue-builds.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/health/get-queue-certificates.md b/docs/examples/1.4.x/server-kotlin/java/health/get-queue-certificates.md index a0a3a22f8a..7f4c32f49b 100644 --- a/docs/examples/1.4.x/server-kotlin/java/health/get-queue-certificates.md +++ b/docs/examples/1.4.x/server-kotlin/java/health/get-queue-certificates.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/health/get-queue-databases.md b/docs/examples/1.4.x/server-kotlin/java/health/get-queue-databases.md index 79b489771f..cd7e25f159 100644 --- a/docs/examples/1.4.x/server-kotlin/java/health/get-queue-databases.md +++ b/docs/examples/1.4.x/server-kotlin/java/health/get-queue-databases.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/health/get-queue-deletes.md b/docs/examples/1.4.x/server-kotlin/java/health/get-queue-deletes.md index e746c5c8ff..58f525a1ea 100644 --- a/docs/examples/1.4.x/server-kotlin/java/health/get-queue-deletes.md +++ b/docs/examples/1.4.x/server-kotlin/java/health/get-queue-deletes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/health/get-queue-functions.md b/docs/examples/1.4.x/server-kotlin/java/health/get-queue-functions.md index 54b425f63c..556c3e73e4 100644 --- a/docs/examples/1.4.x/server-kotlin/java/health/get-queue-functions.md +++ b/docs/examples/1.4.x/server-kotlin/java/health/get-queue-functions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/health/get-queue-logs.md b/docs/examples/1.4.x/server-kotlin/java/health/get-queue-logs.md index 371c98f06d..075eebf85d 100644 --- a/docs/examples/1.4.x/server-kotlin/java/health/get-queue-logs.md +++ b/docs/examples/1.4.x/server-kotlin/java/health/get-queue-logs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/health/get-queue-mails.md b/docs/examples/1.4.x/server-kotlin/java/health/get-queue-mails.md index af36ecbac7..d93dd7b1bf 100644 --- a/docs/examples/1.4.x/server-kotlin/java/health/get-queue-mails.md +++ b/docs/examples/1.4.x/server-kotlin/java/health/get-queue-mails.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/health/get-queue-messaging.md b/docs/examples/1.4.x/server-kotlin/java/health/get-queue-messaging.md index 4c7db58658..ee4724b426 100644 --- a/docs/examples/1.4.x/server-kotlin/java/health/get-queue-messaging.md +++ b/docs/examples/1.4.x/server-kotlin/java/health/get-queue-messaging.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/health/get-queue-migrations.md b/docs/examples/1.4.x/server-kotlin/java/health/get-queue-migrations.md index 966f470dee..5b45a56099 100644 --- a/docs/examples/1.4.x/server-kotlin/java/health/get-queue-migrations.md +++ b/docs/examples/1.4.x/server-kotlin/java/health/get-queue-migrations.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/health/get-queue-webhooks.md b/docs/examples/1.4.x/server-kotlin/java/health/get-queue-webhooks.md index cbd6919d72..344945db0a 100644 --- a/docs/examples/1.4.x/server-kotlin/java/health/get-queue-webhooks.md +++ b/docs/examples/1.4.x/server-kotlin/java/health/get-queue-webhooks.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/health/get-queue.md b/docs/examples/1.4.x/server-kotlin/java/health/get-queue.md index 90b7eb35ad..8072577f3e 100644 --- a/docs/examples/1.4.x/server-kotlin/java/health/get-queue.md +++ b/docs/examples/1.4.x/server-kotlin/java/health/get-queue.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/health/get-storage-local.md b/docs/examples/1.4.x/server-kotlin/java/health/get-storage-local.md index a57f34520d..527499f94e 100644 --- a/docs/examples/1.4.x/server-kotlin/java/health/get-storage-local.md +++ b/docs/examples/1.4.x/server-kotlin/java/health/get-storage-local.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/health/get-time.md b/docs/examples/1.4.x/server-kotlin/java/health/get-time.md index 36b276b4d7..0f78d41247 100644 --- a/docs/examples/1.4.x/server-kotlin/java/health/get-time.md +++ b/docs/examples/1.4.x/server-kotlin/java/health/get-time.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/health/get.md b/docs/examples/1.4.x/server-kotlin/java/health/get.md index 59badb0543..a14a4b5aec 100644 --- a/docs/examples/1.4.x/server-kotlin/java/health/get.md +++ b/docs/examples/1.4.x/server-kotlin/java/health/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/locale/get.md b/docs/examples/1.4.x/server-kotlin/java/locale/get.md index 4fb6be9416..22137f75b7 100644 --- a/docs/examples/1.4.x/server-kotlin/java/locale/get.md +++ b/docs/examples/1.4.x/server-kotlin/java/locale/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/locale/list-codes.md b/docs/examples/1.4.x/server-kotlin/java/locale/list-codes.md index a3feffe066..4ef80dc5b6 100644 --- a/docs/examples/1.4.x/server-kotlin/java/locale/list-codes.md +++ b/docs/examples/1.4.x/server-kotlin/java/locale/list-codes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/locale/list-continents.md b/docs/examples/1.4.x/server-kotlin/java/locale/list-continents.md index 661fcc3583..3933873e37 100644 --- a/docs/examples/1.4.x/server-kotlin/java/locale/list-continents.md +++ b/docs/examples/1.4.x/server-kotlin/java/locale/list-continents.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/locale/list-countries-e-u.md b/docs/examples/1.4.x/server-kotlin/java/locale/list-countries-e-u.md index 6164ca02d2..9cb744abcb 100644 --- a/docs/examples/1.4.x/server-kotlin/java/locale/list-countries-e-u.md +++ b/docs/examples/1.4.x/server-kotlin/java/locale/list-countries-e-u.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/locale/list-countries-phones.md b/docs/examples/1.4.x/server-kotlin/java/locale/list-countries-phones.md index 2cb41c19f2..c81457dbbf 100644 --- a/docs/examples/1.4.x/server-kotlin/java/locale/list-countries-phones.md +++ b/docs/examples/1.4.x/server-kotlin/java/locale/list-countries-phones.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/locale/list-countries.md b/docs/examples/1.4.x/server-kotlin/java/locale/list-countries.md index 74d3b5d402..491b654ede 100644 --- a/docs/examples/1.4.x/server-kotlin/java/locale/list-countries.md +++ b/docs/examples/1.4.x/server-kotlin/java/locale/list-countries.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/locale/list-currencies.md b/docs/examples/1.4.x/server-kotlin/java/locale/list-currencies.md index 54a0e4de40..a4c49e3568 100644 --- a/docs/examples/1.4.x/server-kotlin/java/locale/list-currencies.md +++ b/docs/examples/1.4.x/server-kotlin/java/locale/list-currencies.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/locale/list-languages.md b/docs/examples/1.4.x/server-kotlin/java/locale/list-languages.md index 54976c5c08..4f09bab65c 100644 --- a/docs/examples/1.4.x/server-kotlin/java/locale/list-languages.md +++ b/docs/examples/1.4.x/server-kotlin/java/locale/list-languages.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/storage/create-bucket.md b/docs/examples/1.4.x/server-kotlin/java/storage/create-bucket.md index c9ebc9178c..268fa1563e 100644 --- a/docs/examples/1.4.x/server-kotlin/java/storage/create-bucket.md +++ b/docs/examples/1.4.x/server-kotlin/java/storage/create-bucket.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/storage/create-file.md b/docs/examples/1.4.x/server-kotlin/java/storage/create-file.md index c83557bf28..e6cdf74852 100644 --- a/docs/examples/1.4.x/server-kotlin/java/storage/create-file.md +++ b/docs/examples/1.4.x/server-kotlin/java/storage/create-file.md @@ -4,7 +4,7 @@ import io.appwrite.models.InputFile; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/storage/delete-bucket.md b/docs/examples/1.4.x/server-kotlin/java/storage/delete-bucket.md index f26e9ee5a1..c7844f9e90 100644 --- a/docs/examples/1.4.x/server-kotlin/java/storage/delete-bucket.md +++ b/docs/examples/1.4.x/server-kotlin/java/storage/delete-bucket.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/storage/delete-file.md b/docs/examples/1.4.x/server-kotlin/java/storage/delete-file.md index eb00b9706c..b9095c139b 100644 --- a/docs/examples/1.4.x/server-kotlin/java/storage/delete-file.md +++ b/docs/examples/1.4.x/server-kotlin/java/storage/delete-file.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/storage/get-bucket.md b/docs/examples/1.4.x/server-kotlin/java/storage/get-bucket.md index 2157dd7424..f44d23fe90 100644 --- a/docs/examples/1.4.x/server-kotlin/java/storage/get-bucket.md +++ b/docs/examples/1.4.x/server-kotlin/java/storage/get-bucket.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/storage/get-file-download.md b/docs/examples/1.4.x/server-kotlin/java/storage/get-file-download.md index 8eef7e347e..0b1207a017 100644 --- a/docs/examples/1.4.x/server-kotlin/java/storage/get-file-download.md +++ b/docs/examples/1.4.x/server-kotlin/java/storage/get-file-download.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/storage/get-file-preview.md b/docs/examples/1.4.x/server-kotlin/java/storage/get-file-preview.md index 275e803000..1356607a32 100644 --- a/docs/examples/1.4.x/server-kotlin/java/storage/get-file-preview.md +++ b/docs/examples/1.4.x/server-kotlin/java/storage/get-file-preview.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/storage/get-file-view.md b/docs/examples/1.4.x/server-kotlin/java/storage/get-file-view.md index adc0407c35..d5aa220f23 100644 --- a/docs/examples/1.4.x/server-kotlin/java/storage/get-file-view.md +++ b/docs/examples/1.4.x/server-kotlin/java/storage/get-file-view.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/storage/get-file.md b/docs/examples/1.4.x/server-kotlin/java/storage/get-file.md index 4cb6fe6db3..0bd4f682b1 100644 --- a/docs/examples/1.4.x/server-kotlin/java/storage/get-file.md +++ b/docs/examples/1.4.x/server-kotlin/java/storage/get-file.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/storage/list-buckets.md b/docs/examples/1.4.x/server-kotlin/java/storage/list-buckets.md index 49c29cad2d..e3a69b43d9 100644 --- a/docs/examples/1.4.x/server-kotlin/java/storage/list-buckets.md +++ b/docs/examples/1.4.x/server-kotlin/java/storage/list-buckets.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/storage/list-files.md b/docs/examples/1.4.x/server-kotlin/java/storage/list-files.md index 59719e530f..dc87428ebb 100644 --- a/docs/examples/1.4.x/server-kotlin/java/storage/list-files.md +++ b/docs/examples/1.4.x/server-kotlin/java/storage/list-files.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/storage/update-bucket.md b/docs/examples/1.4.x/server-kotlin/java/storage/update-bucket.md index 05483ea725..08c77804e2 100644 --- a/docs/examples/1.4.x/server-kotlin/java/storage/update-bucket.md +++ b/docs/examples/1.4.x/server-kotlin/java/storage/update-bucket.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/storage/update-file.md b/docs/examples/1.4.x/server-kotlin/java/storage/update-file.md index 05385c2b88..d2a1b6c427 100644 --- a/docs/examples/1.4.x/server-kotlin/java/storage/update-file.md +++ b/docs/examples/1.4.x/server-kotlin/java/storage/update-file.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/teams/create-membership.md b/docs/examples/1.4.x/server-kotlin/java/teams/create-membership.md index 295674f9d1..0446946d3c 100644 --- a/docs/examples/1.4.x/server-kotlin/java/teams/create-membership.md +++ b/docs/examples/1.4.x/server-kotlin/java/teams/create-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/teams/create.md b/docs/examples/1.4.x/server-kotlin/java/teams/create.md index 4f3be33609..75d13b6106 100644 --- a/docs/examples/1.4.x/server-kotlin/java/teams/create.md +++ b/docs/examples/1.4.x/server-kotlin/java/teams/create.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/teams/delete-membership.md b/docs/examples/1.4.x/server-kotlin/java/teams/delete-membership.md index e82ab293be..26d0fba99c 100644 --- a/docs/examples/1.4.x/server-kotlin/java/teams/delete-membership.md +++ b/docs/examples/1.4.x/server-kotlin/java/teams/delete-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/teams/delete.md b/docs/examples/1.4.x/server-kotlin/java/teams/delete.md index fa805ebd4d..7699d575bf 100644 --- a/docs/examples/1.4.x/server-kotlin/java/teams/delete.md +++ b/docs/examples/1.4.x/server-kotlin/java/teams/delete.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/teams/get-membership.md b/docs/examples/1.4.x/server-kotlin/java/teams/get-membership.md index fc00d43873..e901b4438e 100644 --- a/docs/examples/1.4.x/server-kotlin/java/teams/get-membership.md +++ b/docs/examples/1.4.x/server-kotlin/java/teams/get-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/teams/get-prefs.md b/docs/examples/1.4.x/server-kotlin/java/teams/get-prefs.md index b14dfc94d3..8809420b19 100644 --- a/docs/examples/1.4.x/server-kotlin/java/teams/get-prefs.md +++ b/docs/examples/1.4.x/server-kotlin/java/teams/get-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/java/teams/get.md b/docs/examples/1.4.x/server-kotlin/java/teams/get.md index 6be034b418..ef9c02df2f 100644 --- a/docs/examples/1.4.x/server-kotlin/java/teams/get.md +++ b/docs/examples/1.4.x/server-kotlin/java/teams/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/teams/list-memberships.md b/docs/examples/1.4.x/server-kotlin/java/teams/list-memberships.md index 0b9055f816..8abf464490 100644 --- a/docs/examples/1.4.x/server-kotlin/java/teams/list-memberships.md +++ b/docs/examples/1.4.x/server-kotlin/java/teams/list-memberships.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/teams/list.md b/docs/examples/1.4.x/server-kotlin/java/teams/list.md index 22a9d51d5f..5f0540e6c4 100644 --- a/docs/examples/1.4.x/server-kotlin/java/teams/list.md +++ b/docs/examples/1.4.x/server-kotlin/java/teams/list.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/teams/update-membership-status.md b/docs/examples/1.4.x/server-kotlin/java/teams/update-membership-status.md index 64e69663d4..54ea987715 100644 --- a/docs/examples/1.4.x/server-kotlin/java/teams/update-membership-status.md +++ b/docs/examples/1.4.x/server-kotlin/java/teams/update-membership-status.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/java/teams/update-membership.md b/docs/examples/1.4.x/server-kotlin/java/teams/update-membership.md index e1fd4325ee..1dbfc500f2 100644 --- a/docs/examples/1.4.x/server-kotlin/java/teams/update-membership.md +++ b/docs/examples/1.4.x/server-kotlin/java/teams/update-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/teams/update-name.md b/docs/examples/1.4.x/server-kotlin/java/teams/update-name.md index 3d95ccb9d2..317113b616 100644 --- a/docs/examples/1.4.x/server-kotlin/java/teams/update-name.md +++ b/docs/examples/1.4.x/server-kotlin/java/teams/update-name.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/teams/update-prefs.md b/docs/examples/1.4.x/server-kotlin/java/teams/update-prefs.md index 674bc6424d..7667e504ba 100644 --- a/docs/examples/1.4.x/server-kotlin/java/teams/update-prefs.md +++ b/docs/examples/1.4.x/server-kotlin/java/teams/update-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/java/users/create-argon2user.md b/docs/examples/1.4.x/server-kotlin/java/users/create-argon2user.md index 47ac52c086..0f1faf77e5 100644 --- a/docs/examples/1.4.x/server-kotlin/java/users/create-argon2user.md +++ b/docs/examples/1.4.x/server-kotlin/java/users/create-argon2user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/users/create-bcrypt-user.md b/docs/examples/1.4.x/server-kotlin/java/users/create-bcrypt-user.md index 91989dff0f..3c34190dd3 100644 --- a/docs/examples/1.4.x/server-kotlin/java/users/create-bcrypt-user.md +++ b/docs/examples/1.4.x/server-kotlin/java/users/create-bcrypt-user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/users/create-m-d5user.md b/docs/examples/1.4.x/server-kotlin/java/users/create-m-d5user.md index 35de18d1a3..be38f913a6 100644 --- a/docs/examples/1.4.x/server-kotlin/java/users/create-m-d5user.md +++ b/docs/examples/1.4.x/server-kotlin/java/users/create-m-d5user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/users/create-p-h-pass-user.md b/docs/examples/1.4.x/server-kotlin/java/users/create-p-h-pass-user.md index 7501f02f2f..718f4100eb 100644 --- a/docs/examples/1.4.x/server-kotlin/java/users/create-p-h-pass-user.md +++ b/docs/examples/1.4.x/server-kotlin/java/users/create-p-h-pass-user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/users/create-s-h-a-user.md b/docs/examples/1.4.x/server-kotlin/java/users/create-s-h-a-user.md index ae26de5543..e67c874542 100644 --- a/docs/examples/1.4.x/server-kotlin/java/users/create-s-h-a-user.md +++ b/docs/examples/1.4.x/server-kotlin/java/users/create-s-h-a-user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/users/create-scrypt-modified-user.md b/docs/examples/1.4.x/server-kotlin/java/users/create-scrypt-modified-user.md index da0936a01b..7a665a7c94 100644 --- a/docs/examples/1.4.x/server-kotlin/java/users/create-scrypt-modified-user.md +++ b/docs/examples/1.4.x/server-kotlin/java/users/create-scrypt-modified-user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/users/create-scrypt-user.md b/docs/examples/1.4.x/server-kotlin/java/users/create-scrypt-user.md index 9b48e06fbd..9a99af8410 100644 --- a/docs/examples/1.4.x/server-kotlin/java/users/create-scrypt-user.md +++ b/docs/examples/1.4.x/server-kotlin/java/users/create-scrypt-user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/users/create.md b/docs/examples/1.4.x/server-kotlin/java/users/create.md index 97aad15302..c9b3c8558e 100644 --- a/docs/examples/1.4.x/server-kotlin/java/users/create.md +++ b/docs/examples/1.4.x/server-kotlin/java/users/create.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/users/delete-identity.md b/docs/examples/1.4.x/server-kotlin/java/users/delete-identity.md index cd165a6dc0..6894733f9f 100644 --- a/docs/examples/1.4.x/server-kotlin/java/users/delete-identity.md +++ b/docs/examples/1.4.x/server-kotlin/java/users/delete-identity.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/users/delete-session.md b/docs/examples/1.4.x/server-kotlin/java/users/delete-session.md index 8415328406..dfde18e516 100644 --- a/docs/examples/1.4.x/server-kotlin/java/users/delete-session.md +++ b/docs/examples/1.4.x/server-kotlin/java/users/delete-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/users/delete-sessions.md b/docs/examples/1.4.x/server-kotlin/java/users/delete-sessions.md index 9a2284c493..45ed56eb53 100644 --- a/docs/examples/1.4.x/server-kotlin/java/users/delete-sessions.md +++ b/docs/examples/1.4.x/server-kotlin/java/users/delete-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/users/delete.md b/docs/examples/1.4.x/server-kotlin/java/users/delete.md index 893a4d3794..7120f8035c 100644 --- a/docs/examples/1.4.x/server-kotlin/java/users/delete.md +++ b/docs/examples/1.4.x/server-kotlin/java/users/delete.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/users/get-prefs.md b/docs/examples/1.4.x/server-kotlin/java/users/get-prefs.md index 664843e32c..2c3190194a 100644 --- a/docs/examples/1.4.x/server-kotlin/java/users/get-prefs.md +++ b/docs/examples/1.4.x/server-kotlin/java/users/get-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/users/get.md b/docs/examples/1.4.x/server-kotlin/java/users/get.md index 1be96aee11..43d32f8d1a 100644 --- a/docs/examples/1.4.x/server-kotlin/java/users/get.md +++ b/docs/examples/1.4.x/server-kotlin/java/users/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/users/list-identities.md b/docs/examples/1.4.x/server-kotlin/java/users/list-identities.md index 011f3a6ca2..8f64b27c4c 100644 --- a/docs/examples/1.4.x/server-kotlin/java/users/list-identities.md +++ b/docs/examples/1.4.x/server-kotlin/java/users/list-identities.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/users/list-logs.md b/docs/examples/1.4.x/server-kotlin/java/users/list-logs.md index 08ace35a19..df4964211c 100644 --- a/docs/examples/1.4.x/server-kotlin/java/users/list-logs.md +++ b/docs/examples/1.4.x/server-kotlin/java/users/list-logs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/users/list-memberships.md b/docs/examples/1.4.x/server-kotlin/java/users/list-memberships.md index 503dbcb10a..89c90c8cc8 100644 --- a/docs/examples/1.4.x/server-kotlin/java/users/list-memberships.md +++ b/docs/examples/1.4.x/server-kotlin/java/users/list-memberships.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/users/list-sessions.md b/docs/examples/1.4.x/server-kotlin/java/users/list-sessions.md index efe091fe74..8ea8833c2e 100644 --- a/docs/examples/1.4.x/server-kotlin/java/users/list-sessions.md +++ b/docs/examples/1.4.x/server-kotlin/java/users/list-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/users/list.md b/docs/examples/1.4.x/server-kotlin/java/users/list.md index d591bce79e..0ca7928061 100644 --- a/docs/examples/1.4.x/server-kotlin/java/users/list.md +++ b/docs/examples/1.4.x/server-kotlin/java/users/list.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/users/update-email-verification.md b/docs/examples/1.4.x/server-kotlin/java/users/update-email-verification.md index 3d6d205bce..91b989b668 100644 --- a/docs/examples/1.4.x/server-kotlin/java/users/update-email-verification.md +++ b/docs/examples/1.4.x/server-kotlin/java/users/update-email-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/users/update-email.md b/docs/examples/1.4.x/server-kotlin/java/users/update-email.md index d0e9b17c1d..2d29d4cab1 100644 --- a/docs/examples/1.4.x/server-kotlin/java/users/update-email.md +++ b/docs/examples/1.4.x/server-kotlin/java/users/update-email.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/users/update-labels.md b/docs/examples/1.4.x/server-kotlin/java/users/update-labels.md index e0c7bdc5b8..0beaf4e725 100644 --- a/docs/examples/1.4.x/server-kotlin/java/users/update-labels.md +++ b/docs/examples/1.4.x/server-kotlin/java/users/update-labels.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/users/update-name.md b/docs/examples/1.4.x/server-kotlin/java/users/update-name.md index e16f539bdc..9df5a00fd3 100644 --- a/docs/examples/1.4.x/server-kotlin/java/users/update-name.md +++ b/docs/examples/1.4.x/server-kotlin/java/users/update-name.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/users/update-password.md b/docs/examples/1.4.x/server-kotlin/java/users/update-password.md index c94e6dd77b..2d2f87ea02 100644 --- a/docs/examples/1.4.x/server-kotlin/java/users/update-password.md +++ b/docs/examples/1.4.x/server-kotlin/java/users/update-password.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/users/update-phone-verification.md b/docs/examples/1.4.x/server-kotlin/java/users/update-phone-verification.md index 8c9a26d609..ac7796c041 100644 --- a/docs/examples/1.4.x/server-kotlin/java/users/update-phone-verification.md +++ b/docs/examples/1.4.x/server-kotlin/java/users/update-phone-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/users/update-phone.md b/docs/examples/1.4.x/server-kotlin/java/users/update-phone.md index 4a2accb793..007d78dfd3 100644 --- a/docs/examples/1.4.x/server-kotlin/java/users/update-phone.md +++ b/docs/examples/1.4.x/server-kotlin/java/users/update-phone.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/users/update-prefs.md b/docs/examples/1.4.x/server-kotlin/java/users/update-prefs.md index b12a5d8e4f..655ab79f5b 100644 --- a/docs/examples/1.4.x/server-kotlin/java/users/update-prefs.md +++ b/docs/examples/1.4.x/server-kotlin/java/users/update-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/java/users/update-status.md b/docs/examples/1.4.x/server-kotlin/java/users/update-status.md index 012142cad7..d4c753e8d8 100644 --- a/docs/examples/1.4.x/server-kotlin/java/users/update-status.md +++ b/docs/examples/1.4.x/server-kotlin/java/users/update-status.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/account/create-phone-verification.md b/docs/examples/1.4.x/server-kotlin/kotlin/account/create-phone-verification.md index e18d4ce13b..9af377fed5 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/account/create-phone-verification.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/account/create-phone-verification.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/account/create-recovery.md b/docs/examples/1.4.x/server-kotlin/kotlin/account/create-recovery.md index a219cb8196..5a207d31f2 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/account/create-recovery.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/account/create-recovery.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/account/create-verification.md b/docs/examples/1.4.x/server-kotlin/kotlin/account/create-verification.md index 33846f1dba..6ba8071254 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/account/create-verification.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/account/create-verification.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/account/delete-identity.md b/docs/examples/1.4.x/server-kotlin/kotlin/account/delete-identity.md index c21ccdab4a..da07efd4aa 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/account/delete-identity.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/account/delete-identity.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/account/delete-session.md b/docs/examples/1.4.x/server-kotlin/kotlin/account/delete-session.md index 60aa4f2604..76e71066c5 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/account/delete-session.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/account/delete-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/account/delete-sessions.md b/docs/examples/1.4.x/server-kotlin/kotlin/account/delete-sessions.md index a16622a526..ac82578c8e 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/account/delete-sessions.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/account/delete-sessions.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/account/get-prefs.md b/docs/examples/1.4.x/server-kotlin/kotlin/account/get-prefs.md index dbbba1d98f..eba56b21df 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/account/get-prefs.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/account/get-prefs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/account/get-session.md b/docs/examples/1.4.x/server-kotlin/kotlin/account/get-session.md index 07861109b6..98b112b912 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/account/get-session.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/account/get-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/account/get.md b/docs/examples/1.4.x/server-kotlin/kotlin/account/get.md index 1fb002ae24..95f5490652 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/account/get.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/account/get.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/account/list-identities.md b/docs/examples/1.4.x/server-kotlin/kotlin/account/list-identities.md index c300e28f7d..3e0fd56893 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/account/list-identities.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/account/list-identities.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/account/list-logs.md b/docs/examples/1.4.x/server-kotlin/kotlin/account/list-logs.md index daddd75843..45ba397f94 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/account/list-logs.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/account/list-logs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/account/list-sessions.md b/docs/examples/1.4.x/server-kotlin/kotlin/account/list-sessions.md index 132a5da23b..6420e6afdb 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/account/list-sessions.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/account/list-sessions.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/account/update-email.md b/docs/examples/1.4.x/server-kotlin/kotlin/account/update-email.md index 1127bbc2b2..0c9216f923 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/account/update-email.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/account/update-email.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/account/update-name.md b/docs/examples/1.4.x/server-kotlin/kotlin/account/update-name.md index 3de89a503e..e5fb2264c4 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/account/update-name.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/account/update-name.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/account/update-password.md b/docs/examples/1.4.x/server-kotlin/kotlin/account/update-password.md index df92d9e928..36ea44466b 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/account/update-password.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/account/update-password.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/account/update-phone-verification.md b/docs/examples/1.4.x/server-kotlin/kotlin/account/update-phone-verification.md index 0ed51d30c2..7e0bb4905c 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/account/update-phone-verification.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/account/update-phone-verification.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/account/update-phone.md b/docs/examples/1.4.x/server-kotlin/kotlin/account/update-phone.md index 9c823bb6ac..334f0fe172 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/account/update-phone.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/account/update-phone.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/account/update-prefs.md b/docs/examples/1.4.x/server-kotlin/kotlin/account/update-prefs.md index 6226269a1f..542ddcc739 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/account/update-prefs.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/account/update-prefs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/account/update-recovery.md b/docs/examples/1.4.x/server-kotlin/kotlin/account/update-recovery.md index 1b676c1ad5..d0b04380e2 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/account/update-recovery.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/account/update-recovery.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/account/update-session.md b/docs/examples/1.4.x/server-kotlin/kotlin/account/update-session.md index bd3d28e3b8..61a3289047 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/account/update-session.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/account/update-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/account/update-status.md b/docs/examples/1.4.x/server-kotlin/kotlin/account/update-status.md index 3ed0627906..4f6562528d 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/account/update-status.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/account/update-status.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/account/update-verification.md b/docs/examples/1.4.x/server-kotlin/kotlin/account/update-verification.md index e73e555c60..288750a471 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/account/update-verification.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/account/update-verification.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/avatars/get-browser.md b/docs/examples/1.4.x/server-kotlin/kotlin/avatars/get-browser.md index e9f6eb2919..7dddeea92c 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/avatars/get-browser.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/avatars/get-browser.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/avatars/get-credit-card.md b/docs/examples/1.4.x/server-kotlin/kotlin/avatars/get-credit-card.md index c3413ac644..3c56eb7ca9 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/avatars/get-credit-card.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/avatars/get-credit-card.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/avatars/get-favicon.md b/docs/examples/1.4.x/server-kotlin/kotlin/avatars/get-favicon.md index cd1ea0c7b3..2e27b70a01 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/avatars/get-favicon.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/avatars/get-favicon.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/avatars/get-flag.md b/docs/examples/1.4.x/server-kotlin/kotlin/avatars/get-flag.md index a81c59ae60..e095c7b602 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/avatars/get-flag.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/avatars/get-flag.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/avatars/get-image.md b/docs/examples/1.4.x/server-kotlin/kotlin/avatars/get-image.md index 09cacde6f8..fd2e0c6149 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/avatars/get-image.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/avatars/get-image.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/avatars/get-initials.md b/docs/examples/1.4.x/server-kotlin/kotlin/avatars/get-initials.md index ba46fb0d29..c42703969d 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/avatars/get-initials.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/avatars/get-initials.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/avatars/get-q-r.md b/docs/examples/1.4.x/server-kotlin/kotlin/avatars/get-q-r.md index c43aabcfe3..2fc413de2b 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/avatars/get-q-r.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/avatars/get-q-r.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-boolean-attribute.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-boolean-attribute.md index 22de12384d..5a4e85568e 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-boolean-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-boolean-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-collection.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-collection.md index 9ba70cf2fe..c48d2d49a2 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-collection.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-collection.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-datetime-attribute.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-datetime-attribute.md index d410244ec8..9fe6efab3a 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-datetime-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-datetime-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-document.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-document.md index 95e5977b12..58bc103401 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-document.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-document.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-email-attribute.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-email-attribute.md index 292f31f525..081557e950 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-email-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-email-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-enum-attribute.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-enum-attribute.md index 99008a479b..e951b71b14 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-enum-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-enum-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-float-attribute.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-float-attribute.md index 6814962502..c26e5d37cc 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-float-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-float-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-index.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-index.md index 42b3dbe7e1..d635002a12 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-index.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-index.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-integer-attribute.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-integer-attribute.md index 57b2ff66a7..eafa05417a 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-integer-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-integer-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-ip-attribute.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-ip-attribute.md index f941b82c9e..daa18f083b 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-ip-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-ip-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-relationship-attribute.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-relationship-attribute.md index 22ebc4a5c7..a9a65f86a9 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-relationship-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-relationship-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-string-attribute.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-string-attribute.md index c5d3d52853..9993048477 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-string-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-string-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-url-attribute.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-url-attribute.md index 8cd0731da1..238c73b7cc 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-url-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/create-url-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/create.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/create.md index d7d462a3ce..bd9d922b00 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/create.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/create.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/delete-attribute.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/delete-attribute.md index fef7a45cc4..9dddae53fc 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/delete-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/delete-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/delete-collection.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/delete-collection.md index 676359331a..4fb66423e0 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/delete-collection.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/delete-collection.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/delete-document.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/delete-document.md index 2bf047fe4e..361218721b 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/delete-document.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/delete-document.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/delete-index.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/delete-index.md index 59bd149224..e54aa39897 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/delete-index.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/delete-index.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/delete.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/delete.md index f927901f09..34d855ce23 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/delete.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/delete.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/get-attribute.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/get-attribute.md index 4bba2dfa16..d3840b13b5 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/get-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/get-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/get-collection.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/get-collection.md index 76ff9a1962..e7127649cd 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/get-collection.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/get-collection.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/get-document.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/get-document.md index 8bacaa57c2..da5761f085 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/get-document.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/get-document.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/get-index.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/get-index.md index 2d588dee73..d91f52b111 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/get-index.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/get-index.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/get.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/get.md index 5584d4dd87..1453534929 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/get.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/get.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/list-attributes.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/list-attributes.md index 4057571393..3e45c17e1d 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/list-attributes.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/list-attributes.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/list-collections.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/list-collections.md index f563c431a7..8035796f10 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/list-collections.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/list-collections.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/list-documents.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/list-documents.md index c081013fa0..df52ef1ab6 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/list-documents.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/list-documents.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/list-indexes.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/list-indexes.md index 431d7acbff..76c6988028 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/list-indexes.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/list-indexes.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/list.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/list.md index 6ffece0bd5..d8c0090988 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/list.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/list.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-boolean-attribute.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-boolean-attribute.md index b74ad79547..ab0c1e23ac 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-boolean-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-boolean-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-collection.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-collection.md index f6ccffef9d..57aba21372 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-collection.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-collection.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-datetime-attribute.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-datetime-attribute.md index 013e437db5..e50375fa60 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-datetime-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-datetime-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-document.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-document.md index 10ff4c4b4c..4abc8c5e8e 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-document.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-document.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-email-attribute.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-email-attribute.md index 39ca4939ce..ace50c6702 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-email-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-email-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-enum-attribute.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-enum-attribute.md index ece9f22c76..c13303e9bb 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-enum-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-enum-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-float-attribute.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-float-attribute.md index ed9ec055e8..951dba5723 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-float-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-float-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-integer-attribute.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-integer-attribute.md index e881b01fa6..2bf2f0c318 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-integer-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-integer-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-ip-attribute.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-ip-attribute.md index 5ebe893ed5..7f44301382 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-ip-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-ip-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-relationship-attribute.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-relationship-attribute.md index 9c0ffecae6..b04e76c0dd 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-relationship-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-relationship-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-string-attribute.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-string-attribute.md index c8db170954..ff99f7d068 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-string-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-string-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-url-attribute.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-url-attribute.md index 71d9bde848..03ab3c4a74 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-url-attribute.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/update-url-attribute.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/databases/update.md b/docs/examples/1.4.x/server-kotlin/kotlin/databases/update.md index 3a4c608942..b78fee1bb0 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/databases/update.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/databases/update.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/functions/create-build.md b/docs/examples/1.4.x/server-kotlin/kotlin/functions/create-build.md index 62f9d1addd..fafed65c35 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/functions/create-build.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/functions/create-build.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/functions/create-deployment.md b/docs/examples/1.4.x/server-kotlin/kotlin/functions/create-deployment.md index 28b89a69f7..21956d4789 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/functions/create-deployment.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/functions/create-deployment.md @@ -3,7 +3,7 @@ import io.appwrite.models.InputFile import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/functions/create-execution.md b/docs/examples/1.4.x/server-kotlin/kotlin/functions/create-execution.md index 62bce1fde0..13f476127f 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/functions/create-execution.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/functions/create-execution.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/functions/create-variable.md b/docs/examples/1.4.x/server-kotlin/kotlin/functions/create-variable.md index 6b23614d11..5b8bd6c633 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/functions/create-variable.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/functions/create-variable.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/functions/create.md b/docs/examples/1.4.x/server-kotlin/kotlin/functions/create.md index d45be0b51b..62cb4833a9 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/functions/create.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/functions/create.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/functions/delete-deployment.md b/docs/examples/1.4.x/server-kotlin/kotlin/functions/delete-deployment.md index 5187ba4419..57728a9ddd 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/functions/delete-deployment.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/functions/delete-deployment.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/functions/delete-variable.md b/docs/examples/1.4.x/server-kotlin/kotlin/functions/delete-variable.md index f0fe4a3d86..9d3c95e173 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/functions/delete-variable.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/functions/delete-variable.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/functions/delete.md b/docs/examples/1.4.x/server-kotlin/kotlin/functions/delete.md index f12095b5a8..b5a1322380 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/functions/delete.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/functions/delete.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/functions/download-deployment.md b/docs/examples/1.4.x/server-kotlin/kotlin/functions/download-deployment.md index 2388e829c9..b7debc7cfb 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/functions/download-deployment.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/functions/download-deployment.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/functions/get-deployment.md b/docs/examples/1.4.x/server-kotlin/kotlin/functions/get-deployment.md index 4653e61f0e..bd21f50245 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/functions/get-deployment.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/functions/get-deployment.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/functions/get-execution.md b/docs/examples/1.4.x/server-kotlin/kotlin/functions/get-execution.md index 929a003a18..517a3499af 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/functions/get-execution.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/functions/get-execution.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/functions/get-variable.md b/docs/examples/1.4.x/server-kotlin/kotlin/functions/get-variable.md index ce42276921..ee73353aa0 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/functions/get-variable.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/functions/get-variable.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/functions/get.md b/docs/examples/1.4.x/server-kotlin/kotlin/functions/get.md index 9261ab897a..4c47e68d91 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/functions/get.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/functions/get.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/functions/list-deployments.md b/docs/examples/1.4.x/server-kotlin/kotlin/functions/list-deployments.md index 3ec2c810ee..c9cfa4be08 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/functions/list-deployments.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/functions/list-deployments.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/functions/list-executions.md b/docs/examples/1.4.x/server-kotlin/kotlin/functions/list-executions.md index 5378c79dbc..06f1bdfdf1 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/functions/list-executions.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/functions/list-executions.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/functions/list-runtimes.md b/docs/examples/1.4.x/server-kotlin/kotlin/functions/list-runtimes.md index 0e777cd1fe..abe677c034 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/functions/list-runtimes.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/functions/list-runtimes.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/functions/list-variables.md b/docs/examples/1.4.x/server-kotlin/kotlin/functions/list-variables.md index 10e74534f4..729ade920c 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/functions/list-variables.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/functions/list-variables.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/functions/list.md b/docs/examples/1.4.x/server-kotlin/kotlin/functions/list.md index a5f4f0d325..6aeafdc258 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/functions/list.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/functions/list.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/functions/update-deployment.md b/docs/examples/1.4.x/server-kotlin/kotlin/functions/update-deployment.md index 14b147384f..8c0a93fc7a 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/functions/update-deployment.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/functions/update-deployment.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/functions/update-variable.md b/docs/examples/1.4.x/server-kotlin/kotlin/functions/update-variable.md index 1e0f3bbe5f..e9990d56d1 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/functions/update-variable.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/functions/update-variable.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/functions/update.md b/docs/examples/1.4.x/server-kotlin/kotlin/functions/update.md index f8aed9d421..126982018b 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/functions/update.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/functions/update.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/graphql/mutation.md b/docs/examples/1.4.x/server-kotlin/kotlin/graphql/mutation.md index aed06cd7a6..82c2c19fd2 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/graphql/mutation.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/graphql/mutation.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Graphql val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/graphql/query.md b/docs/examples/1.4.x/server-kotlin/kotlin/graphql/query.md index bd29d431c4..a271566de1 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/graphql/query.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/graphql/query.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Graphql val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-antivirus.md b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-antivirus.md index e387fe0d95..d858d2189f 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-antivirus.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-antivirus.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-cache.md b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-cache.md index 7aca9dd008..daa7fb646e 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-cache.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-cache.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-d-b.md b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-d-b.md index 8e719142bb..496c7216f2 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-d-b.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-d-b.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-pub-sub.md b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-pub-sub.md index 421407a831..e32f719e98 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-pub-sub.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-pub-sub.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-builds.md b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-builds.md index 16f2bf6cb0..93ce522dec 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-builds.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-builds.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-certificates.md b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-certificates.md index f416351705..31c83bd891 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-certificates.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-certificates.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-databases.md b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-databases.md index 80a38c104b..7d73d972dc 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-databases.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-databases.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-deletes.md b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-deletes.md index 3dca9011c3..983cde9ae5 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-deletes.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-deletes.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-functions.md b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-functions.md index b55241d8f2..d7653c3a7d 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-functions.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-functions.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-logs.md b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-logs.md index fb634ec63c..1446de4c16 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-logs.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-logs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-mails.md b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-mails.md index 80083ef951..f475ee1da5 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-mails.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-mails.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-messaging.md b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-messaging.md index 13f6666fba..3c65ab5395 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-messaging.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-messaging.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-migrations.md b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-migrations.md index 4df1cf1d3b..6524d0a4d2 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-migrations.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-migrations.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-webhooks.md b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-webhooks.md index bf4629d259..11c9b7a621 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-webhooks.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue-webhooks.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue.md b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue.md index ead51857ac..5f2e0ce0f9 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-queue.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-storage-local.md b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-storage-local.md index f204168bc4..b0087b6fb2 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-storage-local.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-storage-local.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-time.md b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-time.md index 35f3bb9bd6..8a9645a42b 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/health/get-time.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/health/get-time.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/health/get.md b/docs/examples/1.4.x/server-kotlin/kotlin/health/get.md index b547be9aa5..a790b949c4 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/health/get.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/health/get.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Health val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/locale/get.md b/docs/examples/1.4.x/server-kotlin/kotlin/locale/get.md index 1d84651fea..25bf0e1d0b 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/locale/get.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/locale/get.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/locale/list-codes.md b/docs/examples/1.4.x/server-kotlin/kotlin/locale/list-codes.md index 28f02027e7..214bf3dc09 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/locale/list-codes.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/locale/list-codes.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/locale/list-continents.md b/docs/examples/1.4.x/server-kotlin/kotlin/locale/list-continents.md index bd9ad1825b..bcaad832cd 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/locale/list-continents.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/locale/list-continents.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/locale/list-countries-e-u.md b/docs/examples/1.4.x/server-kotlin/kotlin/locale/list-countries-e-u.md index 5d3258335e..b1e5671fb3 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/locale/list-countries-e-u.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/locale/list-countries-e-u.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/locale/list-countries-phones.md b/docs/examples/1.4.x/server-kotlin/kotlin/locale/list-countries-phones.md index e0f2ae3c6b..1a9a2585ca 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/locale/list-countries-phones.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/locale/list-countries-phones.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/locale/list-countries.md b/docs/examples/1.4.x/server-kotlin/kotlin/locale/list-countries.md index 626d38133e..cd8276e49b 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/locale/list-countries.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/locale/list-countries.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/locale/list-currencies.md b/docs/examples/1.4.x/server-kotlin/kotlin/locale/list-currencies.md index 6457056d70..061a5c82cd 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/locale/list-currencies.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/locale/list-currencies.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/locale/list-languages.md b/docs/examples/1.4.x/server-kotlin/kotlin/locale/list-languages.md index 437b1c3fe9..6ed17be85e 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/locale/list-languages.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/locale/list-languages.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/storage/create-bucket.md b/docs/examples/1.4.x/server-kotlin/kotlin/storage/create-bucket.md index 27d73ffd07..1adf94ca06 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/storage/create-bucket.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/storage/create-bucket.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/storage/create-file.md b/docs/examples/1.4.x/server-kotlin/kotlin/storage/create-file.md index 1bdf5e4893..354e3bf94c 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/storage/create-file.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/storage/create-file.md @@ -3,7 +3,7 @@ import io.appwrite.models.InputFile import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/storage/delete-bucket.md b/docs/examples/1.4.x/server-kotlin/kotlin/storage/delete-bucket.md index 3730a05298..a70b731423 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/storage/delete-bucket.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/storage/delete-bucket.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/storage/delete-file.md b/docs/examples/1.4.x/server-kotlin/kotlin/storage/delete-file.md index dabf805e8b..c6a2639376 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/storage/delete-file.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/storage/delete-file.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/storage/get-bucket.md b/docs/examples/1.4.x/server-kotlin/kotlin/storage/get-bucket.md index 0c7fcc137c..c2abb7b338 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/storage/get-bucket.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/storage/get-bucket.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/storage/get-file-download.md b/docs/examples/1.4.x/server-kotlin/kotlin/storage/get-file-download.md index 6c3c1fb4ae..67bcc5d5b4 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/storage/get-file-download.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/storage/get-file-download.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/storage/get-file-preview.md b/docs/examples/1.4.x/server-kotlin/kotlin/storage/get-file-preview.md index 372416ed12..4b75e70d3e 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/storage/get-file-preview.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/storage/get-file-preview.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/storage/get-file-view.md b/docs/examples/1.4.x/server-kotlin/kotlin/storage/get-file-view.md index 4b23cfc9c6..691acb1055 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/storage/get-file-view.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/storage/get-file-view.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/storage/get-file.md b/docs/examples/1.4.x/server-kotlin/kotlin/storage/get-file.md index 211713c7b6..0f98d900a1 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/storage/get-file.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/storage/get-file.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/storage/list-buckets.md b/docs/examples/1.4.x/server-kotlin/kotlin/storage/list-buckets.md index 8c4c7bdaac..b6bce3ace3 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/storage/list-buckets.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/storage/list-buckets.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/storage/list-files.md b/docs/examples/1.4.x/server-kotlin/kotlin/storage/list-files.md index 5243ed74cc..af1c301c1c 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/storage/list-files.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/storage/list-files.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/storage/update-bucket.md b/docs/examples/1.4.x/server-kotlin/kotlin/storage/update-bucket.md index 3de3b5460e..b0117be004 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/storage/update-bucket.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/storage/update-bucket.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/storage/update-file.md b/docs/examples/1.4.x/server-kotlin/kotlin/storage/update-file.md index 3d7fb9ab26..8b85210d15 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/storage/update-file.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/storage/update-file.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/teams/create-membership.md b/docs/examples/1.4.x/server-kotlin/kotlin/teams/create-membership.md index b37a4533c7..455b103f9f 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/teams/create-membership.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/teams/create-membership.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/teams/create.md b/docs/examples/1.4.x/server-kotlin/kotlin/teams/create.md index 9e080a1346..5b0105bf71 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/teams/create.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/teams/create.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/teams/delete-membership.md b/docs/examples/1.4.x/server-kotlin/kotlin/teams/delete-membership.md index 16e73e4884..397a9b794a 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/teams/delete-membership.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/teams/delete-membership.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/teams/delete.md b/docs/examples/1.4.x/server-kotlin/kotlin/teams/delete.md index c015a772c8..ab0b1c5632 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/teams/delete.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/teams/delete.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/teams/get-membership.md b/docs/examples/1.4.x/server-kotlin/kotlin/teams/get-membership.md index 4f2bed3800..bfb8ea9406 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/teams/get-membership.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/teams/get-membership.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/teams/get-prefs.md b/docs/examples/1.4.x/server-kotlin/kotlin/teams/get-prefs.md index 1bfcf07f7a..7af89d2166 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/teams/get-prefs.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/teams/get-prefs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/teams/get.md b/docs/examples/1.4.x/server-kotlin/kotlin/teams/get.md index 402aeb1beb..a6f43f8f18 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/teams/get.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/teams/get.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/teams/list-memberships.md b/docs/examples/1.4.x/server-kotlin/kotlin/teams/list-memberships.md index e9eae80f0b..0da1afdfc1 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/teams/list-memberships.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/teams/list-memberships.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/teams/list.md b/docs/examples/1.4.x/server-kotlin/kotlin/teams/list.md index aa10ca58fd..43196f1d90 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/teams/list.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/teams/list.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/teams/update-membership-status.md b/docs/examples/1.4.x/server-kotlin/kotlin/teams/update-membership-status.md index 7fa6bd837c..e9dc0d91eb 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/teams/update-membership-status.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/teams/update-membership-status.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/teams/update-membership.md b/docs/examples/1.4.x/server-kotlin/kotlin/teams/update-membership.md index 9ca3a30f40..09803cb4aa 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/teams/update-membership.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/teams/update-membership.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/teams/update-name.md b/docs/examples/1.4.x/server-kotlin/kotlin/teams/update-name.md index d717c371bc..d27c824319 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/teams/update-name.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/teams/update-name.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/teams/update-prefs.md b/docs/examples/1.4.x/server-kotlin/kotlin/teams/update-prefs.md index 62fc925415..d70eafb400 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/teams/update-prefs.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/teams/update-prefs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/users/create-argon2user.md b/docs/examples/1.4.x/server-kotlin/kotlin/users/create-argon2user.md index 438363aed3..81a1f9960f 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/users/create-argon2user.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/users/create-argon2user.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/users/create-bcrypt-user.md b/docs/examples/1.4.x/server-kotlin/kotlin/users/create-bcrypt-user.md index 977782ce3c..15d101773a 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/users/create-bcrypt-user.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/users/create-bcrypt-user.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/users/create-m-d5user.md b/docs/examples/1.4.x/server-kotlin/kotlin/users/create-m-d5user.md index 6d6451f376..86e13b9f1b 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/users/create-m-d5user.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/users/create-m-d5user.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/users/create-p-h-pass-user.md b/docs/examples/1.4.x/server-kotlin/kotlin/users/create-p-h-pass-user.md index c50b2c1da4..cadb580527 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/users/create-p-h-pass-user.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/users/create-p-h-pass-user.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/users/create-s-h-a-user.md b/docs/examples/1.4.x/server-kotlin/kotlin/users/create-s-h-a-user.md index 708935c970..979cc2a01b 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/users/create-s-h-a-user.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/users/create-s-h-a-user.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/users/create-scrypt-modified-user.md b/docs/examples/1.4.x/server-kotlin/kotlin/users/create-scrypt-modified-user.md index d49f7db471..b2164d5aa8 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/users/create-scrypt-modified-user.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/users/create-scrypt-modified-user.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/users/create-scrypt-user.md b/docs/examples/1.4.x/server-kotlin/kotlin/users/create-scrypt-user.md index aa006fb0db..e5cabe92b7 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/users/create-scrypt-user.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/users/create-scrypt-user.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/users/create.md b/docs/examples/1.4.x/server-kotlin/kotlin/users/create.md index ae319d8cd8..fcc5e355ec 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/users/create.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/users/create.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/users/delete-identity.md b/docs/examples/1.4.x/server-kotlin/kotlin/users/delete-identity.md index 7b4de829c7..d84da15d83 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/users/delete-identity.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/users/delete-identity.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/users/delete-session.md b/docs/examples/1.4.x/server-kotlin/kotlin/users/delete-session.md index f3a0264aa1..7b96b24213 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/users/delete-session.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/users/delete-session.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/users/delete-sessions.md b/docs/examples/1.4.x/server-kotlin/kotlin/users/delete-sessions.md index 5c0070c027..580031ecac 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/users/delete-sessions.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/users/delete-sessions.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/users/delete.md b/docs/examples/1.4.x/server-kotlin/kotlin/users/delete.md index 30ee8f3d7a..2e0013f0ab 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/users/delete.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/users/delete.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/users/get-prefs.md b/docs/examples/1.4.x/server-kotlin/kotlin/users/get-prefs.md index 564489c398..a7ffd650bc 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/users/get-prefs.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/users/get-prefs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/users/get.md b/docs/examples/1.4.x/server-kotlin/kotlin/users/get.md index fd7e4b7a1b..f55878912e 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/users/get.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/users/get.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/users/list-identities.md b/docs/examples/1.4.x/server-kotlin/kotlin/users/list-identities.md index 0135fb1c23..c7c9746f3c 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/users/list-identities.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/users/list-identities.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/users/list-logs.md b/docs/examples/1.4.x/server-kotlin/kotlin/users/list-logs.md index 691007588e..5b3111f552 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/users/list-logs.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/users/list-logs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/users/list-memberships.md b/docs/examples/1.4.x/server-kotlin/kotlin/users/list-memberships.md index 316889e894..0059c2dc68 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/users/list-memberships.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/users/list-memberships.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/users/list-sessions.md b/docs/examples/1.4.x/server-kotlin/kotlin/users/list-sessions.md index 1d7e950425..fd9a7716d5 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/users/list-sessions.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/users/list-sessions.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/users/list.md b/docs/examples/1.4.x/server-kotlin/kotlin/users/list.md index e973a26e52..3a74a20757 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/users/list.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/users/list.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/users/update-email-verification.md b/docs/examples/1.4.x/server-kotlin/kotlin/users/update-email-verification.md index b4f97bbcab..ea16acf33b 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/users/update-email-verification.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/users/update-email-verification.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/users/update-email.md b/docs/examples/1.4.x/server-kotlin/kotlin/users/update-email.md index c6dfaefd2f..4adad69184 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/users/update-email.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/users/update-email.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/users/update-labels.md b/docs/examples/1.4.x/server-kotlin/kotlin/users/update-labels.md index 4e869f8237..61300a263a 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/users/update-labels.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/users/update-labels.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/users/update-name.md b/docs/examples/1.4.x/server-kotlin/kotlin/users/update-name.md index 1d46c7a8fc..b60d565620 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/users/update-name.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/users/update-name.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/users/update-password.md b/docs/examples/1.4.x/server-kotlin/kotlin/users/update-password.md index f96158faa9..b6bfe65a9a 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/users/update-password.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/users/update-password.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/users/update-phone-verification.md b/docs/examples/1.4.x/server-kotlin/kotlin/users/update-phone-verification.md index 909803bd94..fe6bcf39c0 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/users/update-phone-verification.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/users/update-phone-verification.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/users/update-phone.md b/docs/examples/1.4.x/server-kotlin/kotlin/users/update-phone.md index 073dd6640a..3d243c0db7 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/users/update-phone.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/users/update-phone.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/users/update-prefs.md b/docs/examples/1.4.x/server-kotlin/kotlin/users/update-prefs.md index 127035ca48..c05713d316 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/users/update-prefs.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/users/update-prefs.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-kotlin/kotlin/users/update-status.md b/docs/examples/1.4.x/server-kotlin/kotlin/users/update-status.md index 5899ed360f..1966d5d6d0 100644 --- a/docs/examples/1.4.x/server-kotlin/kotlin/users/update-status.md +++ b/docs/examples/1.4.x/server-kotlin/kotlin/users/update-status.md @@ -2,7 +2,7 @@ import io.appwrite.Client import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-nodejs/examples/account/create-phone-verification.md b/docs/examples/1.4.x/server-nodejs/examples/account/create-phone-verification.md index f381495f24..cd9bc62e7a 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/account/create-phone-verification.md +++ b/docs/examples/1.4.x/server-nodejs/examples/account/create-phone-verification.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/account/create-recovery.md b/docs/examples/1.4.x/server-nodejs/examples/account/create-recovery.md index f4c5ae98de..53c6060edf 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/account/create-recovery.md +++ b/docs/examples/1.4.x/server-nodejs/examples/account/create-recovery.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/account/create-verification.md b/docs/examples/1.4.x/server-nodejs/examples/account/create-verification.md index 04585621eb..1df32eb711 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/account/create-verification.md +++ b/docs/examples/1.4.x/server-nodejs/examples/account/create-verification.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/account/delete-identity.md b/docs/examples/1.4.x/server-nodejs/examples/account/delete-identity.md index 2900aa1716..fd495b1136 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/account/delete-identity.md +++ b/docs/examples/1.4.x/server-nodejs/examples/account/delete-identity.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/account/delete-session.md b/docs/examples/1.4.x/server-nodejs/examples/account/delete-session.md index 74f3869859..182d67e2c1 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/account/delete-session.md +++ b/docs/examples/1.4.x/server-nodejs/examples/account/delete-session.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/account/delete-sessions.md b/docs/examples/1.4.x/server-nodejs/examples/account/delete-sessions.md index 0968c30b92..dbf861cf31 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/account/delete-sessions.md +++ b/docs/examples/1.4.x/server-nodejs/examples/account/delete-sessions.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/account/get-prefs.md b/docs/examples/1.4.x/server-nodejs/examples/account/get-prefs.md index 8bd5d97c25..04e6ac307a 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/account/get-prefs.md +++ b/docs/examples/1.4.x/server-nodejs/examples/account/get-prefs.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/account/get-session.md b/docs/examples/1.4.x/server-nodejs/examples/account/get-session.md index 3abb677fbe..23d06a672b 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/account/get-session.md +++ b/docs/examples/1.4.x/server-nodejs/examples/account/get-session.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/account/get.md b/docs/examples/1.4.x/server-nodejs/examples/account/get.md index d4f4066fb1..3b0da54b7a 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/account/get.md +++ b/docs/examples/1.4.x/server-nodejs/examples/account/get.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/account/list-identities.md b/docs/examples/1.4.x/server-nodejs/examples/account/list-identities.md index fa2013bbf6..56c8864278 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/account/list-identities.md +++ b/docs/examples/1.4.x/server-nodejs/examples/account/list-identities.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/account/list-logs.md b/docs/examples/1.4.x/server-nodejs/examples/account/list-logs.md index 890e0d12d3..25cfab189d 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/account/list-logs.md +++ b/docs/examples/1.4.x/server-nodejs/examples/account/list-logs.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/account/list-sessions.md b/docs/examples/1.4.x/server-nodejs/examples/account/list-sessions.md index 68e97ada31..fe753dd996 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/account/list-sessions.md +++ b/docs/examples/1.4.x/server-nodejs/examples/account/list-sessions.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/account/update-email.md b/docs/examples/1.4.x/server-nodejs/examples/account/update-email.md index 388e2581bb..324dfa7db6 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/account/update-email.md +++ b/docs/examples/1.4.x/server-nodejs/examples/account/update-email.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/account/update-name.md b/docs/examples/1.4.x/server-nodejs/examples/account/update-name.md index 0984652712..8ae6bbf552 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/account/update-name.md +++ b/docs/examples/1.4.x/server-nodejs/examples/account/update-name.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/account/update-password.md b/docs/examples/1.4.x/server-nodejs/examples/account/update-password.md index b46500fd3c..b2e638c28b 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/account/update-password.md +++ b/docs/examples/1.4.x/server-nodejs/examples/account/update-password.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/account/update-phone-verification.md b/docs/examples/1.4.x/server-nodejs/examples/account/update-phone-verification.md index 1aa4042f36..66c3ec8981 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/account/update-phone-verification.md +++ b/docs/examples/1.4.x/server-nodejs/examples/account/update-phone-verification.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/account/update-phone.md b/docs/examples/1.4.x/server-nodejs/examples/account/update-phone.md index 37124d81aa..02270ec33e 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/account/update-phone.md +++ b/docs/examples/1.4.x/server-nodejs/examples/account/update-phone.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/account/update-prefs.md b/docs/examples/1.4.x/server-nodejs/examples/account/update-prefs.md index 6948706abb..6a9e10bf0c 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/account/update-prefs.md +++ b/docs/examples/1.4.x/server-nodejs/examples/account/update-prefs.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/account/update-recovery.md b/docs/examples/1.4.x/server-nodejs/examples/account/update-recovery.md index 74f70f59c7..17dccf0e8b 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/account/update-recovery.md +++ b/docs/examples/1.4.x/server-nodejs/examples/account/update-recovery.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/account/update-session.md b/docs/examples/1.4.x/server-nodejs/examples/account/update-session.md index b0b932524f..ae1d9ab065 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/account/update-session.md +++ b/docs/examples/1.4.x/server-nodejs/examples/account/update-session.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/account/update-status.md b/docs/examples/1.4.x/server-nodejs/examples/account/update-status.md index 277243b824..4c13b5eec1 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/account/update-status.md +++ b/docs/examples/1.4.x/server-nodejs/examples/account/update-status.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/account/update-verification.md b/docs/examples/1.4.x/server-nodejs/examples/account/update-verification.md index 6a7fbbf99c..03d663a629 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/account/update-verification.md +++ b/docs/examples/1.4.x/server-nodejs/examples/account/update-verification.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const account = new sdk.Account(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/avatars/get-browser.md b/docs/examples/1.4.x/server-nodejs/examples/avatars/get-browser.md index c05595ad67..d88d7571de 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/avatars/get-browser.md +++ b/docs/examples/1.4.x/server-nodejs/examples/avatars/get-browser.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/avatars/get-credit-card.md b/docs/examples/1.4.x/server-nodejs/examples/avatars/get-credit-card.md index 8fbd37d29a..86cfe17059 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/avatars/get-credit-card.md +++ b/docs/examples/1.4.x/server-nodejs/examples/avatars/get-credit-card.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/avatars/get-favicon.md b/docs/examples/1.4.x/server-nodejs/examples/avatars/get-favicon.md index 2924e394a0..acc780ccab 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/avatars/get-favicon.md +++ b/docs/examples/1.4.x/server-nodejs/examples/avatars/get-favicon.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/avatars/get-flag.md b/docs/examples/1.4.x/server-nodejs/examples/avatars/get-flag.md index 50d611c399..09efae0146 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/avatars/get-flag.md +++ b/docs/examples/1.4.x/server-nodejs/examples/avatars/get-flag.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/avatars/get-image.md b/docs/examples/1.4.x/server-nodejs/examples/avatars/get-image.md index 3b2bb517d1..6cf825ff3e 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/avatars/get-image.md +++ b/docs/examples/1.4.x/server-nodejs/examples/avatars/get-image.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/avatars/get-initials.md b/docs/examples/1.4.x/server-nodejs/examples/avatars/get-initials.md index 4afda6f547..942f10ce51 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/avatars/get-initials.md +++ b/docs/examples/1.4.x/server-nodejs/examples/avatars/get-initials.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/avatars/get-q-r.md b/docs/examples/1.4.x/server-nodejs/examples/avatars/get-q-r.md index d2d24e2055..0b46c30ed6 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/avatars/get-q-r.md +++ b/docs/examples/1.4.x/server-nodejs/examples/avatars/get-q-r.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const avatars = new sdk.Avatars(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/create-boolean-attribute.md b/docs/examples/1.4.x/server-nodejs/examples/databases/create-boolean-attribute.md index 12a70102ca..03b9cbd67a 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/create-boolean-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/create-collection.md b/docs/examples/1.4.x/server-nodejs/examples/databases/create-collection.md index 13ec4e037f..2ff164d553 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/create-collection.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/create-collection.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/create-datetime-attribute.md b/docs/examples/1.4.x/server-nodejs/examples/databases/create-datetime-attribute.md index 70609a84e7..7c8710f80d 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/create-datetime-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/create-document.md b/docs/examples/1.4.x/server-nodejs/examples/databases/create-document.md index f5fa7a50a6..69d75e1b53 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/create-document.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/create-document.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/create-email-attribute.md b/docs/examples/1.4.x/server-nodejs/examples/databases/create-email-attribute.md index 2229dfe7f9..a14075c62b 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/create-email-attribute.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/create-email-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/create-enum-attribute.md b/docs/examples/1.4.x/server-nodejs/examples/databases/create-enum-attribute.md index cd9daca603..074e0098ed 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/create-enum-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/create-float-attribute.md b/docs/examples/1.4.x/server-nodejs/examples/databases/create-float-attribute.md index a12c4f4420..d818659c33 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/create-float-attribute.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/create-float-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/create-index.md b/docs/examples/1.4.x/server-nodejs/examples/databases/create-index.md index 66c3e519fe..9064cbf61b 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/create-index.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/create-index.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/create-integer-attribute.md b/docs/examples/1.4.x/server-nodejs/examples/databases/create-integer-attribute.md index fa693d28de..051df7214f 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/create-integer-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/create-ip-attribute.md b/docs/examples/1.4.x/server-nodejs/examples/databases/create-ip-attribute.md index 1e8985a2bd..95c465d527 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/create-ip-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/create-relationship-attribute.md b/docs/examples/1.4.x/server-nodejs/examples/databases/create-relationship-attribute.md index f680d1c03a..efaa37d640 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/create-relationship-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/create-string-attribute.md b/docs/examples/1.4.x/server-nodejs/examples/databases/create-string-attribute.md index bfb4fbfc3f..9305983c33 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/create-string-attribute.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/create-string-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/create-url-attribute.md b/docs/examples/1.4.x/server-nodejs/examples/databases/create-url-attribute.md index e6a585f76b..47c491916b 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/create-url-attribute.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/create-url-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/create.md b/docs/examples/1.4.x/server-nodejs/examples/databases/create.md index 4e04f026bd..451e39b410 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/create.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/create.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/delete-attribute.md b/docs/examples/1.4.x/server-nodejs/examples/databases/delete-attribute.md index 3c65f62ef5..a7ee957de8 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/delete-attribute.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/delete-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/delete-collection.md b/docs/examples/1.4.x/server-nodejs/examples/databases/delete-collection.md index 047fa26846..745042ec6e 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/delete-collection.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/delete-collection.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/delete-document.md b/docs/examples/1.4.x/server-nodejs/examples/databases/delete-document.md index a6f3fa58ca..0081caa499 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/delete-document.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/delete-document.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/delete-index.md b/docs/examples/1.4.x/server-nodejs/examples/databases/delete-index.md index 42d73104a0..e147eb1043 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/delete-index.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/delete-index.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/delete.md b/docs/examples/1.4.x/server-nodejs/examples/databases/delete.md index 3f39965820..b1ecfea0a4 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/delete.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/delete.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/get-attribute.md b/docs/examples/1.4.x/server-nodejs/examples/databases/get-attribute.md index df6c665b75..36b0b0336e 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/get-attribute.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/get-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/get-collection.md b/docs/examples/1.4.x/server-nodejs/examples/databases/get-collection.md index ea4ed423e8..0d0ba0e6cb 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/get-collection.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/get-collection.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/get-document.md b/docs/examples/1.4.x/server-nodejs/examples/databases/get-document.md index ac07b968ae..8f641962f0 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/get-document.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/get-document.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/get-index.md b/docs/examples/1.4.x/server-nodejs/examples/databases/get-index.md index c3a3d168c5..d0602952b4 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/get-index.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/get-index.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/get.md b/docs/examples/1.4.x/server-nodejs/examples/databases/get.md index 133f496b2e..a47ba7a403 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/get.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/get.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/list-attributes.md b/docs/examples/1.4.x/server-nodejs/examples/databases/list-attributes.md index b1a494b110..01284a5e3a 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/list-attributes.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/list-attributes.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/list-collections.md b/docs/examples/1.4.x/server-nodejs/examples/databases/list-collections.md index c1d9fd3421..9005d7a5b1 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/list-collections.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/list-collections.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/list-documents.md b/docs/examples/1.4.x/server-nodejs/examples/databases/list-documents.md index bf0b9156bf..9f9751ac37 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/list-documents.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/list-documents.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/list-indexes.md b/docs/examples/1.4.x/server-nodejs/examples/databases/list-indexes.md index 57787f1d3e..fff198fc40 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/list-indexes.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/list-indexes.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/list.md b/docs/examples/1.4.x/server-nodejs/examples/databases/list.md index 5652d1e032..2f40478570 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/list.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/list.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/update-boolean-attribute.md b/docs/examples/1.4.x/server-nodejs/examples/databases/update-boolean-attribute.md index 3bdfc04e5f..c9b81852e1 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/update-boolean-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/update-collection.md b/docs/examples/1.4.x/server-nodejs/examples/databases/update-collection.md index db74a7b9eb..4570385adc 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/update-collection.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/update-collection.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/update-datetime-attribute.md b/docs/examples/1.4.x/server-nodejs/examples/databases/update-datetime-attribute.md index 8b602d434f..1f3b67b47b 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/update-datetime-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/update-document.md b/docs/examples/1.4.x/server-nodejs/examples/databases/update-document.md index ca3cdb85e7..92405e556c 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/update-document.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/update-document.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/update-email-attribute.md b/docs/examples/1.4.x/server-nodejs/examples/databases/update-email-attribute.md index a96e89853b..6500f99b46 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/update-email-attribute.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/update-email-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/update-enum-attribute.md b/docs/examples/1.4.x/server-nodejs/examples/databases/update-enum-attribute.md index b0dfbb11df..c385feacdb 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/update-enum-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/update-float-attribute.md b/docs/examples/1.4.x/server-nodejs/examples/databases/update-float-attribute.md index 2c0672dd99..8d6a688d89 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/update-float-attribute.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/update-float-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/update-integer-attribute.md b/docs/examples/1.4.x/server-nodejs/examples/databases/update-integer-attribute.md index 8016aac600..69f652b27e 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/update-integer-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/update-ip-attribute.md b/docs/examples/1.4.x/server-nodejs/examples/databases/update-ip-attribute.md index 8eab99aa35..398b2246b1 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/update-ip-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/update-relationship-attribute.md b/docs/examples/1.4.x/server-nodejs/examples/databases/update-relationship-attribute.md index 699148f882..8bab7e543f 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/update-relationship-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/update-string-attribute.md b/docs/examples/1.4.x/server-nodejs/examples/databases/update-string-attribute.md index c7e6fe9b7f..f024f13d84 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/update-string-attribute.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/update-string-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/update-url-attribute.md b/docs/examples/1.4.x/server-nodejs/examples/databases/update-url-attribute.md index d8cb42aafd..0f58e00449 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/update-url-attribute.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/update-url-attribute.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/databases/update.md b/docs/examples/1.4.x/server-nodejs/examples/databases/update.md index 7abe11bf80..71a6f3a77a 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/databases/update.md +++ b/docs/examples/1.4.x/server-nodejs/examples/databases/update.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const databases = new sdk.Databases(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/functions/create-build.md b/docs/examples/1.4.x/server-nodejs/examples/functions/create-build.md index fe9751e73b..38f3717fb0 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/functions/create-build.md +++ b/docs/examples/1.4.x/server-nodejs/examples/functions/create-build.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/functions/create-deployment.md b/docs/examples/1.4.x/server-nodejs/examples/functions/create-deployment.md index 6d14142f2f..f58f483eee 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/functions/create-deployment.md +++ b/docs/examples/1.4.x/server-nodejs/examples/functions/create-deployment.md @@ -7,7 +7,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/functions/create-execution.md b/docs/examples/1.4.x/server-nodejs/examples/functions/create-execution.md index dc182fdd44..be5bfbe85c 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/functions/create-execution.md +++ b/docs/examples/1.4.x/server-nodejs/examples/functions/create-execution.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/functions/create-variable.md b/docs/examples/1.4.x/server-nodejs/examples/functions/create-variable.md index 80f3fd0257..5bb7481f6a 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/functions/create-variable.md +++ b/docs/examples/1.4.x/server-nodejs/examples/functions/create-variable.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/functions/create.md b/docs/examples/1.4.x/server-nodejs/examples/functions/create.md index ab193ff45a..87803580f7 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/functions/create.md +++ b/docs/examples/1.4.x/server-nodejs/examples/functions/create.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/functions/delete-deployment.md b/docs/examples/1.4.x/server-nodejs/examples/functions/delete-deployment.md index 5affdf18b9..c0b1c4e4a1 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/functions/delete-deployment.md +++ b/docs/examples/1.4.x/server-nodejs/examples/functions/delete-deployment.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/functions/delete-variable.md b/docs/examples/1.4.x/server-nodejs/examples/functions/delete-variable.md index 2a075fdea7..e28f991ae1 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/functions/delete-variable.md +++ b/docs/examples/1.4.x/server-nodejs/examples/functions/delete-variable.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/functions/delete.md b/docs/examples/1.4.x/server-nodejs/examples/functions/delete.md index d17f01361e..18d2f4e26c 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/functions/delete.md +++ b/docs/examples/1.4.x/server-nodejs/examples/functions/delete.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/functions/download-deployment.md b/docs/examples/1.4.x/server-nodejs/examples/functions/download-deployment.md index d8bd913cc8..16b74e86f7 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/functions/download-deployment.md +++ b/docs/examples/1.4.x/server-nodejs/examples/functions/download-deployment.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/functions/get-deployment.md b/docs/examples/1.4.x/server-nodejs/examples/functions/get-deployment.md index d67ce4647a..4043de8d59 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/functions/get-deployment.md +++ b/docs/examples/1.4.x/server-nodejs/examples/functions/get-deployment.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/functions/get-execution.md b/docs/examples/1.4.x/server-nodejs/examples/functions/get-execution.md index bbf0788138..094a1d1983 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/functions/get-execution.md +++ b/docs/examples/1.4.x/server-nodejs/examples/functions/get-execution.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/functions/get-variable.md b/docs/examples/1.4.x/server-nodejs/examples/functions/get-variable.md index 11ce7e2836..8c225de4da 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/functions/get-variable.md +++ b/docs/examples/1.4.x/server-nodejs/examples/functions/get-variable.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/functions/get.md b/docs/examples/1.4.x/server-nodejs/examples/functions/get.md index 54ea4812b8..469f6fbb4e 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/functions/get.md +++ b/docs/examples/1.4.x/server-nodejs/examples/functions/get.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/functions/list-deployments.md b/docs/examples/1.4.x/server-nodejs/examples/functions/list-deployments.md index 4819410875..505de94734 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/functions/list-deployments.md +++ b/docs/examples/1.4.x/server-nodejs/examples/functions/list-deployments.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/functions/list-executions.md b/docs/examples/1.4.x/server-nodejs/examples/functions/list-executions.md index f9e77a5d32..7ec383656d 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/functions/list-executions.md +++ b/docs/examples/1.4.x/server-nodejs/examples/functions/list-executions.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/functions/list-runtimes.md b/docs/examples/1.4.x/server-nodejs/examples/functions/list-runtimes.md index d471861374..d9edc4a040 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/functions/list-runtimes.md +++ b/docs/examples/1.4.x/server-nodejs/examples/functions/list-runtimes.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/functions/list-variables.md b/docs/examples/1.4.x/server-nodejs/examples/functions/list-variables.md index e193b2b1ba..eefc1fe27e 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/functions/list-variables.md +++ b/docs/examples/1.4.x/server-nodejs/examples/functions/list-variables.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/functions/list.md b/docs/examples/1.4.x/server-nodejs/examples/functions/list.md index 4f7b45e26a..0a2c6cd72f 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/functions/list.md +++ b/docs/examples/1.4.x/server-nodejs/examples/functions/list.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/functions/update-deployment.md b/docs/examples/1.4.x/server-nodejs/examples/functions/update-deployment.md index 25f0e79983..d90a98481c 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/functions/update-deployment.md +++ b/docs/examples/1.4.x/server-nodejs/examples/functions/update-deployment.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/functions/update-variable.md b/docs/examples/1.4.x/server-nodejs/examples/functions/update-variable.md index 86e9a698f5..8d1f6466b7 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/functions/update-variable.md +++ b/docs/examples/1.4.x/server-nodejs/examples/functions/update-variable.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/functions/update.md b/docs/examples/1.4.x/server-nodejs/examples/functions/update.md index d8bf23f5a9..c6b35f2459 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/functions/update.md +++ b/docs/examples/1.4.x/server-nodejs/examples/functions/update.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const functions = new sdk.Functions(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/graphql/mutation.md b/docs/examples/1.4.x/server-nodejs/examples/graphql/mutation.md index 6f9bed8426..f8f2da769c 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/graphql/mutation.md +++ b/docs/examples/1.4.x/server-nodejs/examples/graphql/mutation.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const graphql = new sdk.Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/graphql/query.md b/docs/examples/1.4.x/server-nodejs/examples/graphql/query.md index 35cd4060cc..0f30d77e99 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/graphql/query.md +++ b/docs/examples/1.4.x/server-nodejs/examples/graphql/query.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const graphql = new sdk.Graphql(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/health/get-antivirus.md b/docs/examples/1.4.x/server-nodejs/examples/health/get-antivirus.md index b6e5e78a30..516d19c075 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/health/get-antivirus.md +++ b/docs/examples/1.4.x/server-nodejs/examples/health/get-antivirus.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/health/get-cache.md b/docs/examples/1.4.x/server-nodejs/examples/health/get-cache.md index 8171c40fc6..84dd5b07ce 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/health/get-cache.md +++ b/docs/examples/1.4.x/server-nodejs/examples/health/get-cache.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/health/get-d-b.md b/docs/examples/1.4.x/server-nodejs/examples/health/get-d-b.md index ef1739fff0..ce5ba7b8dc 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/health/get-d-b.md +++ b/docs/examples/1.4.x/server-nodejs/examples/health/get-d-b.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/health/get-pub-sub.md b/docs/examples/1.4.x/server-nodejs/examples/health/get-pub-sub.md index b690239910..5aa3cf3119 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/health/get-pub-sub.md +++ b/docs/examples/1.4.x/server-nodejs/examples/health/get-pub-sub.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-builds.md b/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-builds.md index ae6d605802..d1f7db9d4a 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-builds.md +++ b/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-builds.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-certificates.md b/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-certificates.md index 38dadde1b2..c89318fc38 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-certificates.md +++ b/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-certificates.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-databases.md b/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-databases.md index 0eedd16c74..3858ba923d 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-databases.md +++ b/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-databases.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-deletes.md b/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-deletes.md index c2683c1845..e16f5c0868 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-deletes.md +++ b/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-deletes.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-functions.md b/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-functions.md index bc8668eda6..52d3a2e80c 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-functions.md +++ b/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-functions.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-logs.md b/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-logs.md index 918a9d9e6c..86b9fe0fb4 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-logs.md +++ b/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-logs.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-mails.md b/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-mails.md index c8866baeb0..4533c41fa0 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-mails.md +++ b/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-mails.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-messaging.md b/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-messaging.md index d499f6669a..56bc7406c8 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-messaging.md +++ b/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-messaging.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-migrations.md b/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-migrations.md index 50dba96a23..ba2f2db502 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-migrations.md +++ b/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-migrations.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-webhooks.md b/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-webhooks.md index acf023a188..ee73f37ef6 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.4.x/server-nodejs/examples/health/get-queue-webhooks.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/health/get-queue.md b/docs/examples/1.4.x/server-nodejs/examples/health/get-queue.md index 4caafecfa4..3f705e06d3 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/health/get-queue.md +++ b/docs/examples/1.4.x/server-nodejs/examples/health/get-queue.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/health/get-storage-local.md b/docs/examples/1.4.x/server-nodejs/examples/health/get-storage-local.md index 76e51489fd..d41559c5f1 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/health/get-storage-local.md +++ b/docs/examples/1.4.x/server-nodejs/examples/health/get-storage-local.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/health/get-time.md b/docs/examples/1.4.x/server-nodejs/examples/health/get-time.md index f44836ac3c..e3d70a93ff 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/health/get-time.md +++ b/docs/examples/1.4.x/server-nodejs/examples/health/get-time.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/health/get.md b/docs/examples/1.4.x/server-nodejs/examples/health/get.md index a66b25631f..1198b18624 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/health/get.md +++ b/docs/examples/1.4.x/server-nodejs/examples/health/get.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const health = new sdk.Health(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/locale/get.md b/docs/examples/1.4.x/server-nodejs/examples/locale/get.md index 31d90c6f11..27befec21a 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/locale/get.md +++ b/docs/examples/1.4.x/server-nodejs/examples/locale/get.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/locale/list-codes.md b/docs/examples/1.4.x/server-nodejs/examples/locale/list-codes.md index aa95dafc71..bd6f9c59a4 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/locale/list-codes.md +++ b/docs/examples/1.4.x/server-nodejs/examples/locale/list-codes.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/locale/list-continents.md b/docs/examples/1.4.x/server-nodejs/examples/locale/list-continents.md index ffe54d34da..346f552a14 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/locale/list-continents.md +++ b/docs/examples/1.4.x/server-nodejs/examples/locale/list-continents.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/locale/list-countries-e-u.md b/docs/examples/1.4.x/server-nodejs/examples/locale/list-countries-e-u.md index f9aaff666a..627c350f8e 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.4.x/server-nodejs/examples/locale/list-countries-e-u.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/locale/list-countries-phones.md b/docs/examples/1.4.x/server-nodejs/examples/locale/list-countries-phones.md index fdd2436dc0..0a0965ab53 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/locale/list-countries-phones.md +++ b/docs/examples/1.4.x/server-nodejs/examples/locale/list-countries-phones.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/locale/list-countries.md b/docs/examples/1.4.x/server-nodejs/examples/locale/list-countries.md index 429e188776..857b7da7cf 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/locale/list-countries.md +++ b/docs/examples/1.4.x/server-nodejs/examples/locale/list-countries.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/locale/list-currencies.md b/docs/examples/1.4.x/server-nodejs/examples/locale/list-currencies.md index 12d82fb70f..017b5faebf 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/locale/list-currencies.md +++ b/docs/examples/1.4.x/server-nodejs/examples/locale/list-currencies.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/locale/list-languages.md b/docs/examples/1.4.x/server-nodejs/examples/locale/list-languages.md index 8ea2b40afc..716a44c330 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/locale/list-languages.md +++ b/docs/examples/1.4.x/server-nodejs/examples/locale/list-languages.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const locale = new sdk.Locale(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/storage/create-bucket.md b/docs/examples/1.4.x/server-nodejs/examples/storage/create-bucket.md index 9093b7c9a6..51e0b05acb 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/storage/create-bucket.md +++ b/docs/examples/1.4.x/server-nodejs/examples/storage/create-bucket.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/storage/create-file.md b/docs/examples/1.4.x/server-nodejs/examples/storage/create-file.md index 664005e273..be561320db 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/storage/create-file.md +++ b/docs/examples/1.4.x/server-nodejs/examples/storage/create-file.md @@ -7,7 +7,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/storage/delete-bucket.md b/docs/examples/1.4.x/server-nodejs/examples/storage/delete-bucket.md index 84486c68dc..e3368facf1 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/storage/delete-bucket.md +++ b/docs/examples/1.4.x/server-nodejs/examples/storage/delete-bucket.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/storage/delete-file.md b/docs/examples/1.4.x/server-nodejs/examples/storage/delete-file.md index c4d451c63f..d90be0a77e 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/storage/delete-file.md +++ b/docs/examples/1.4.x/server-nodejs/examples/storage/delete-file.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/storage/get-bucket.md b/docs/examples/1.4.x/server-nodejs/examples/storage/get-bucket.md index d0fbb94bbc..b176e6e575 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/storage/get-bucket.md +++ b/docs/examples/1.4.x/server-nodejs/examples/storage/get-bucket.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/storage/get-file-download.md b/docs/examples/1.4.x/server-nodejs/examples/storage/get-file-download.md index 1503d102ba..4ad79175d2 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/storage/get-file-download.md +++ b/docs/examples/1.4.x/server-nodejs/examples/storage/get-file-download.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/storage/get-file-preview.md b/docs/examples/1.4.x/server-nodejs/examples/storage/get-file-preview.md index 19d34495ba..164a1c6377 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/storage/get-file-preview.md +++ b/docs/examples/1.4.x/server-nodejs/examples/storage/get-file-preview.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/storage/get-file-view.md b/docs/examples/1.4.x/server-nodejs/examples/storage/get-file-view.md index 1affab8bc0..a8d5029bd0 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/storage/get-file-view.md +++ b/docs/examples/1.4.x/server-nodejs/examples/storage/get-file-view.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/storage/get-file.md b/docs/examples/1.4.x/server-nodejs/examples/storage/get-file.md index ceba42ce1e..06f43878e8 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/storage/get-file.md +++ b/docs/examples/1.4.x/server-nodejs/examples/storage/get-file.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/storage/list-buckets.md b/docs/examples/1.4.x/server-nodejs/examples/storage/list-buckets.md index 9945febb42..b989a0748f 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/storage/list-buckets.md +++ b/docs/examples/1.4.x/server-nodejs/examples/storage/list-buckets.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/storage/list-files.md b/docs/examples/1.4.x/server-nodejs/examples/storage/list-files.md index fea4bae61f..4bce540ec4 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/storage/list-files.md +++ b/docs/examples/1.4.x/server-nodejs/examples/storage/list-files.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/storage/update-bucket.md b/docs/examples/1.4.x/server-nodejs/examples/storage/update-bucket.md index 32df1f18d8..9cab2ca26c 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/storage/update-bucket.md +++ b/docs/examples/1.4.x/server-nodejs/examples/storage/update-bucket.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/storage/update-file.md b/docs/examples/1.4.x/server-nodejs/examples/storage/update-file.md index 042a164501..aa67cf0f0e 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/storage/update-file.md +++ b/docs/examples/1.4.x/server-nodejs/examples/storage/update-file.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const storage = new sdk.Storage(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/teams/create-membership.md b/docs/examples/1.4.x/server-nodejs/examples/teams/create-membership.md index 282e764cab..12fe61f6ea 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/teams/create-membership.md +++ b/docs/examples/1.4.x/server-nodejs/examples/teams/create-membership.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/teams/create.md b/docs/examples/1.4.x/server-nodejs/examples/teams/create.md index 5552f829f9..a99a2cf3f7 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/teams/create.md +++ b/docs/examples/1.4.x/server-nodejs/examples/teams/create.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/teams/delete-membership.md b/docs/examples/1.4.x/server-nodejs/examples/teams/delete-membership.md index ef72e63138..2df3e41f36 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/teams/delete-membership.md +++ b/docs/examples/1.4.x/server-nodejs/examples/teams/delete-membership.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/teams/delete.md b/docs/examples/1.4.x/server-nodejs/examples/teams/delete.md index 6f1dfaa61d..ad35874815 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/teams/delete.md +++ b/docs/examples/1.4.x/server-nodejs/examples/teams/delete.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/teams/get-membership.md b/docs/examples/1.4.x/server-nodejs/examples/teams/get-membership.md index d31aa9a8b6..d2e12d6ef6 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/teams/get-membership.md +++ b/docs/examples/1.4.x/server-nodejs/examples/teams/get-membership.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/teams/get-prefs.md b/docs/examples/1.4.x/server-nodejs/examples/teams/get-prefs.md index 0ac9e95ff1..2d24bdc6e0 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/teams/get-prefs.md +++ b/docs/examples/1.4.x/server-nodejs/examples/teams/get-prefs.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/teams/get.md b/docs/examples/1.4.x/server-nodejs/examples/teams/get.md index 0d34943242..d162cdceeb 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/teams/get.md +++ b/docs/examples/1.4.x/server-nodejs/examples/teams/get.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/teams/list-memberships.md b/docs/examples/1.4.x/server-nodejs/examples/teams/list-memberships.md index ca25bcbd25..9ff92c68ff 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/teams/list-memberships.md +++ b/docs/examples/1.4.x/server-nodejs/examples/teams/list-memberships.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/teams/list.md b/docs/examples/1.4.x/server-nodejs/examples/teams/list.md index 8610bc7dc4..e3ad03e16e 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/teams/list.md +++ b/docs/examples/1.4.x/server-nodejs/examples/teams/list.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/teams/update-membership-status.md b/docs/examples/1.4.x/server-nodejs/examples/teams/update-membership-status.md index 6c46e786a0..b3c4b64f09 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/teams/update-membership-status.md +++ b/docs/examples/1.4.x/server-nodejs/examples/teams/update-membership-status.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/teams/update-membership.md b/docs/examples/1.4.x/server-nodejs/examples/teams/update-membership.md index d5ba30a938..2306c056ae 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/teams/update-membership.md +++ b/docs/examples/1.4.x/server-nodejs/examples/teams/update-membership.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/teams/update-name.md b/docs/examples/1.4.x/server-nodejs/examples/teams/update-name.md index 962e18f168..660c29859d 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/teams/update-name.md +++ b/docs/examples/1.4.x/server-nodejs/examples/teams/update-name.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/teams/update-prefs.md b/docs/examples/1.4.x/server-nodejs/examples/teams/update-prefs.md index eeeed6c7eb..55352df924 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/teams/update-prefs.md +++ b/docs/examples/1.4.x/server-nodejs/examples/teams/update-prefs.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const teams = new sdk.Teams(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/users/create-argon2user.md b/docs/examples/1.4.x/server-nodejs/examples/users/create-argon2user.md index 2762cc0112..17403fa229 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/users/create-argon2user.md +++ b/docs/examples/1.4.x/server-nodejs/examples/users/create-argon2user.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/users/create-bcrypt-user.md b/docs/examples/1.4.x/server-nodejs/examples/users/create-bcrypt-user.md index 7bbdd3b883..90f2efe43a 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.4.x/server-nodejs/examples/users/create-bcrypt-user.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/users/create-m-d5user.md b/docs/examples/1.4.x/server-nodejs/examples/users/create-m-d5user.md index 0661743da2..fdbc0f3040 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/users/create-m-d5user.md +++ b/docs/examples/1.4.x/server-nodejs/examples/users/create-m-d5user.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/users/create-p-h-pass-user.md b/docs/examples/1.4.x/server-nodejs/examples/users/create-p-h-pass-user.md index 37bd7e70c5..70789ec2dd 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.4.x/server-nodejs/examples/users/create-p-h-pass-user.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/users/create-s-h-a-user.md b/docs/examples/1.4.x/server-nodejs/examples/users/create-s-h-a-user.md index 1d0502598b..5b96402710 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.4.x/server-nodejs/examples/users/create-s-h-a-user.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/users/create-scrypt-modified-user.md b/docs/examples/1.4.x/server-nodejs/examples/users/create-scrypt-modified-user.md index 5a0153ec9a..ffbab8e176 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.4.x/server-nodejs/examples/users/create-scrypt-modified-user.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/users/create-scrypt-user.md b/docs/examples/1.4.x/server-nodejs/examples/users/create-scrypt-user.md index 83ec8d3d78..ae10dc5eee 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/users/create-scrypt-user.md +++ b/docs/examples/1.4.x/server-nodejs/examples/users/create-scrypt-user.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/users/create.md b/docs/examples/1.4.x/server-nodejs/examples/users/create.md index 65ab3fae41..ceb01f3735 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/users/create.md +++ b/docs/examples/1.4.x/server-nodejs/examples/users/create.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/users/delete-identity.md b/docs/examples/1.4.x/server-nodejs/examples/users/delete-identity.md index c3acfa9eca..e2bc8f4de6 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/users/delete-identity.md +++ b/docs/examples/1.4.x/server-nodejs/examples/users/delete-identity.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/users/delete-session.md b/docs/examples/1.4.x/server-nodejs/examples/users/delete-session.md index 18617ba2e8..c5ad8e39fd 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/users/delete-session.md +++ b/docs/examples/1.4.x/server-nodejs/examples/users/delete-session.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/users/delete-sessions.md b/docs/examples/1.4.x/server-nodejs/examples/users/delete-sessions.md index c804d7ddcf..7265c131f8 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/users/delete-sessions.md +++ b/docs/examples/1.4.x/server-nodejs/examples/users/delete-sessions.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/users/delete.md b/docs/examples/1.4.x/server-nodejs/examples/users/delete.md index 53606a7a0a..a1e694a3de 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/users/delete.md +++ b/docs/examples/1.4.x/server-nodejs/examples/users/delete.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/users/get-prefs.md b/docs/examples/1.4.x/server-nodejs/examples/users/get-prefs.md index c60db8ac77..4683f2fe24 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/users/get-prefs.md +++ b/docs/examples/1.4.x/server-nodejs/examples/users/get-prefs.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/users/get.md b/docs/examples/1.4.x/server-nodejs/examples/users/get.md index 3bad599d4d..27fd6b7464 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/users/get.md +++ b/docs/examples/1.4.x/server-nodejs/examples/users/get.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/users/list-identities.md b/docs/examples/1.4.x/server-nodejs/examples/users/list-identities.md index 36a71b7051..1d2aa45992 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/users/list-identities.md +++ b/docs/examples/1.4.x/server-nodejs/examples/users/list-identities.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/users/list-logs.md b/docs/examples/1.4.x/server-nodejs/examples/users/list-logs.md index 0f76626c6e..40a1c8c8ba 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/users/list-logs.md +++ b/docs/examples/1.4.x/server-nodejs/examples/users/list-logs.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/users/list-memberships.md b/docs/examples/1.4.x/server-nodejs/examples/users/list-memberships.md index 81e0c4bc8f..6a83ec2857 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/users/list-memberships.md +++ b/docs/examples/1.4.x/server-nodejs/examples/users/list-memberships.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/users/list-sessions.md b/docs/examples/1.4.x/server-nodejs/examples/users/list-sessions.md index b44341bcbe..17d38f8c0e 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/users/list-sessions.md +++ b/docs/examples/1.4.x/server-nodejs/examples/users/list-sessions.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/users/list.md b/docs/examples/1.4.x/server-nodejs/examples/users/list.md index a9ba208d2e..016df4aa37 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/users/list.md +++ b/docs/examples/1.4.x/server-nodejs/examples/users/list.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/users/update-email-verification.md b/docs/examples/1.4.x/server-nodejs/examples/users/update-email-verification.md index 29c3e26593..c48ca4426e 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/users/update-email-verification.md +++ b/docs/examples/1.4.x/server-nodejs/examples/users/update-email-verification.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/users/update-email.md b/docs/examples/1.4.x/server-nodejs/examples/users/update-email.md index 5cef6fb5ec..726d191e8d 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/users/update-email.md +++ b/docs/examples/1.4.x/server-nodejs/examples/users/update-email.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/users/update-labels.md b/docs/examples/1.4.x/server-nodejs/examples/users/update-labels.md index d727bf1ed2..9bd7ef9de5 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/users/update-labels.md +++ b/docs/examples/1.4.x/server-nodejs/examples/users/update-labels.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/users/update-name.md b/docs/examples/1.4.x/server-nodejs/examples/users/update-name.md index ea33b7ed51..49140677fd 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/users/update-name.md +++ b/docs/examples/1.4.x/server-nodejs/examples/users/update-name.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/users/update-password.md b/docs/examples/1.4.x/server-nodejs/examples/users/update-password.md index f08a5990f4..a5e98a0335 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/users/update-password.md +++ b/docs/examples/1.4.x/server-nodejs/examples/users/update-password.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/users/update-phone-verification.md b/docs/examples/1.4.x/server-nodejs/examples/users/update-phone-verification.md index e6a95f93f8..bb2ddeccf7 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/users/update-phone-verification.md +++ b/docs/examples/1.4.x/server-nodejs/examples/users/update-phone-verification.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/users/update-phone.md b/docs/examples/1.4.x/server-nodejs/examples/users/update-phone.md index 8db9863c00..6957b6d666 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/users/update-phone.md +++ b/docs/examples/1.4.x/server-nodejs/examples/users/update-phone.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/users/update-prefs.md b/docs/examples/1.4.x/server-nodejs/examples/users/update-prefs.md index 75f1a4298c..643ebee220 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/users/update-prefs.md +++ b/docs/examples/1.4.x/server-nodejs/examples/users/update-prefs.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-nodejs/examples/users/update-status.md b/docs/examples/1.4.x/server-nodejs/examples/users/update-status.md index ac52d732ea..1b914dba72 100644 --- a/docs/examples/1.4.x/server-nodejs/examples/users/update-status.md +++ b/docs/examples/1.4.x/server-nodejs/examples/users/update-status.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/account/create-phone-verification.md b/docs/examples/1.4.x/server-php/examples/account/create-phone-verification.md index 1c41a30ce8..30d1637174 100644 --- a/docs/examples/1.4.x/server-php/examples/account/create-phone-verification.md +++ b/docs/examples/1.4.x/server-php/examples/account/create-phone-verification.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-php/examples/account/create-recovery.md b/docs/examples/1.4.x/server-php/examples/account/create-recovery.md index 8ca78fc37b..513037c533 100644 --- a/docs/examples/1.4.x/server-php/examples/account/create-recovery.md +++ b/docs/examples/1.4.x/server-php/examples/account/create-recovery.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-php/examples/account/create-verification.md b/docs/examples/1.4.x/server-php/examples/account/create-verification.md index 92fb38151c..4785065601 100644 --- a/docs/examples/1.4.x/server-php/examples/account/create-verification.md +++ b/docs/examples/1.4.x/server-php/examples/account/create-verification.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-php/examples/account/delete-identity.md b/docs/examples/1.4.x/server-php/examples/account/delete-identity.md index 0b509afdc4..6e75fda760 100644 --- a/docs/examples/1.4.x/server-php/examples/account/delete-identity.md +++ b/docs/examples/1.4.x/server-php/examples/account/delete-identity.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-php/examples/account/delete-session.md b/docs/examples/1.4.x/server-php/examples/account/delete-session.md index 51bf3e2d41..74847d73b7 100644 --- a/docs/examples/1.4.x/server-php/examples/account/delete-session.md +++ b/docs/examples/1.4.x/server-php/examples/account/delete-session.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-php/examples/account/delete-sessions.md b/docs/examples/1.4.x/server-php/examples/account/delete-sessions.md index bf3bc2a300..af4b46dbb6 100644 --- a/docs/examples/1.4.x/server-php/examples/account/delete-sessions.md +++ b/docs/examples/1.4.x/server-php/examples/account/delete-sessions.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-php/examples/account/get-prefs.md b/docs/examples/1.4.x/server-php/examples/account/get-prefs.md index a91b888723..50ffc766d3 100644 --- a/docs/examples/1.4.x/server-php/examples/account/get-prefs.md +++ b/docs/examples/1.4.x/server-php/examples/account/get-prefs.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-php/examples/account/get-session.md b/docs/examples/1.4.x/server-php/examples/account/get-session.md index 9e2341ce08..e2112ee4cd 100644 --- a/docs/examples/1.4.x/server-php/examples/account/get-session.md +++ b/docs/examples/1.4.x/server-php/examples/account/get-session.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-php/examples/account/get.md b/docs/examples/1.4.x/server-php/examples/account/get.md index 4333bf2e73..b9361063ce 100644 --- a/docs/examples/1.4.x/server-php/examples/account/get.md +++ b/docs/examples/1.4.x/server-php/examples/account/get.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-php/examples/account/list-identities.md b/docs/examples/1.4.x/server-php/examples/account/list-identities.md index c522a15a3e..4b4dd75cb4 100644 --- a/docs/examples/1.4.x/server-php/examples/account/list-identities.md +++ b/docs/examples/1.4.x/server-php/examples/account/list-identities.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-php/examples/account/list-logs.md b/docs/examples/1.4.x/server-php/examples/account/list-logs.md index 62bc86d668..1283d9cfd4 100644 --- a/docs/examples/1.4.x/server-php/examples/account/list-logs.md +++ b/docs/examples/1.4.x/server-php/examples/account/list-logs.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-php/examples/account/list-sessions.md b/docs/examples/1.4.x/server-php/examples/account/list-sessions.md index 7942a3de2a..a07d303fe9 100644 --- a/docs/examples/1.4.x/server-php/examples/account/list-sessions.md +++ b/docs/examples/1.4.x/server-php/examples/account/list-sessions.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-php/examples/account/update-email.md b/docs/examples/1.4.x/server-php/examples/account/update-email.md index a7ac5ede7d..a6bf5f6c24 100644 --- a/docs/examples/1.4.x/server-php/examples/account/update-email.md +++ b/docs/examples/1.4.x/server-php/examples/account/update-email.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-php/examples/account/update-name.md b/docs/examples/1.4.x/server-php/examples/account/update-name.md index 21bac94900..17f5189412 100644 --- a/docs/examples/1.4.x/server-php/examples/account/update-name.md +++ b/docs/examples/1.4.x/server-php/examples/account/update-name.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-php/examples/account/update-password.md b/docs/examples/1.4.x/server-php/examples/account/update-password.md index 47e4c96695..8bd4b4915c 100644 --- a/docs/examples/1.4.x/server-php/examples/account/update-password.md +++ b/docs/examples/1.4.x/server-php/examples/account/update-password.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-php/examples/account/update-phone-verification.md b/docs/examples/1.4.x/server-php/examples/account/update-phone-verification.md index 02458727a5..466f516464 100644 --- a/docs/examples/1.4.x/server-php/examples/account/update-phone-verification.md +++ b/docs/examples/1.4.x/server-php/examples/account/update-phone-verification.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-php/examples/account/update-phone.md b/docs/examples/1.4.x/server-php/examples/account/update-phone.md index eaa1898512..75947cdf53 100644 --- a/docs/examples/1.4.x/server-php/examples/account/update-phone.md +++ b/docs/examples/1.4.x/server-php/examples/account/update-phone.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-php/examples/account/update-prefs.md b/docs/examples/1.4.x/server-php/examples/account/update-prefs.md index 96d0be5781..f7687416f2 100644 --- a/docs/examples/1.4.x/server-php/examples/account/update-prefs.md +++ b/docs/examples/1.4.x/server-php/examples/account/update-prefs.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-php/examples/account/update-recovery.md b/docs/examples/1.4.x/server-php/examples/account/update-recovery.md index 379b219e6d..0f8285654b 100644 --- a/docs/examples/1.4.x/server-php/examples/account/update-recovery.md +++ b/docs/examples/1.4.x/server-php/examples/account/update-recovery.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-php/examples/account/update-session.md b/docs/examples/1.4.x/server-php/examples/account/update-session.md index 462be6b914..264e6b6435 100644 --- a/docs/examples/1.4.x/server-php/examples/account/update-session.md +++ b/docs/examples/1.4.x/server-php/examples/account/update-session.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-php/examples/account/update-status.md b/docs/examples/1.4.x/server-php/examples/account/update-status.md index b1a1f2c8ec..ecfb4b56fa 100644 --- a/docs/examples/1.4.x/server-php/examples/account/update-status.md +++ b/docs/examples/1.4.x/server-php/examples/account/update-status.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-php/examples/account/update-verification.md b/docs/examples/1.4.x/server-php/examples/account/update-verification.md index ad583a422e..81a86041fd 100644 --- a/docs/examples/1.4.x/server-php/examples/account/update-verification.md +++ b/docs/examples/1.4.x/server-php/examples/account/update-verification.md @@ -6,7 +6,7 @@ use Appwrite\Services\Account; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-php/examples/avatars/get-browser.md b/docs/examples/1.4.x/server-php/examples/avatars/get-browser.md index 362106f645..dc92f02acf 100644 --- a/docs/examples/1.4.x/server-php/examples/avatars/get-browser.md +++ b/docs/examples/1.4.x/server-php/examples/avatars/get-browser.md @@ -6,7 +6,7 @@ use Appwrite\Services\Avatars; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/avatars/get-credit-card.md b/docs/examples/1.4.x/server-php/examples/avatars/get-credit-card.md index c85ebeac2e..6808432f42 100644 --- a/docs/examples/1.4.x/server-php/examples/avatars/get-credit-card.md +++ b/docs/examples/1.4.x/server-php/examples/avatars/get-credit-card.md @@ -6,7 +6,7 @@ use Appwrite\Services\Avatars; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/avatars/get-favicon.md b/docs/examples/1.4.x/server-php/examples/avatars/get-favicon.md index 088524e051..4266898e6a 100644 --- a/docs/examples/1.4.x/server-php/examples/avatars/get-favicon.md +++ b/docs/examples/1.4.x/server-php/examples/avatars/get-favicon.md @@ -6,7 +6,7 @@ use Appwrite\Services\Avatars; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/avatars/get-flag.md b/docs/examples/1.4.x/server-php/examples/avatars/get-flag.md index 2f2705b61f..df76fff7d8 100644 --- a/docs/examples/1.4.x/server-php/examples/avatars/get-flag.md +++ b/docs/examples/1.4.x/server-php/examples/avatars/get-flag.md @@ -6,7 +6,7 @@ use Appwrite\Services\Avatars; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/avatars/get-image.md b/docs/examples/1.4.x/server-php/examples/avatars/get-image.md index d576232a42..bc0b285de5 100644 --- a/docs/examples/1.4.x/server-php/examples/avatars/get-image.md +++ b/docs/examples/1.4.x/server-php/examples/avatars/get-image.md @@ -6,7 +6,7 @@ use Appwrite\Services\Avatars; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/avatars/get-initials.md b/docs/examples/1.4.x/server-php/examples/avatars/get-initials.md index 4e924c7062..eafe65f3d7 100644 --- a/docs/examples/1.4.x/server-php/examples/avatars/get-initials.md +++ b/docs/examples/1.4.x/server-php/examples/avatars/get-initials.md @@ -6,7 +6,7 @@ use Appwrite\Services\Avatars; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/avatars/get-q-r.md b/docs/examples/1.4.x/server-php/examples/avatars/get-q-r.md index fde6e35b77..ff2bbf4a38 100644 --- a/docs/examples/1.4.x/server-php/examples/avatars/get-q-r.md +++ b/docs/examples/1.4.x/server-php/examples/avatars/get-q-r.md @@ -6,7 +6,7 @@ use Appwrite\Services\Avatars; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/create-boolean-attribute.md b/docs/examples/1.4.x/server-php/examples/databases/create-boolean-attribute.md index 17c92241b4..7ea50ba378 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.4.x/server-php/examples/databases/create-boolean-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/create-collection.md b/docs/examples/1.4.x/server-php/examples/databases/create-collection.md index 2fd5fb61c0..7bf6139f45 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/create-collection.md +++ b/docs/examples/1.4.x/server-php/examples/databases/create-collection.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/create-datetime-attribute.md b/docs/examples/1.4.x/server-php/examples/databases/create-datetime-attribute.md index 284163c266..8cff5f1897 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.4.x/server-php/examples/databases/create-datetime-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/create-document.md b/docs/examples/1.4.x/server-php/examples/databases/create-document.md index 509160b9ad..b5ed74d1d8 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/create-document.md +++ b/docs/examples/1.4.x/server-php/examples/databases/create-document.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/create-email-attribute.md b/docs/examples/1.4.x/server-php/examples/databases/create-email-attribute.md index df68be7fb0..2fef5160db 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/create-email-attribute.md +++ b/docs/examples/1.4.x/server-php/examples/databases/create-email-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/create-enum-attribute.md b/docs/examples/1.4.x/server-php/examples/databases/create-enum-attribute.md index c469679fd7..baeeb8edfb 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.4.x/server-php/examples/databases/create-enum-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/create-float-attribute.md b/docs/examples/1.4.x/server-php/examples/databases/create-float-attribute.md index c182d0a774..177647813c 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/create-float-attribute.md +++ b/docs/examples/1.4.x/server-php/examples/databases/create-float-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/create-index.md b/docs/examples/1.4.x/server-php/examples/databases/create-index.md index 6ecd4cc58b..4046c511a7 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/create-index.md +++ b/docs/examples/1.4.x/server-php/examples/databases/create-index.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/create-integer-attribute.md b/docs/examples/1.4.x/server-php/examples/databases/create-integer-attribute.md index d86ca7056b..8e5c54ec5a 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.4.x/server-php/examples/databases/create-integer-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/create-ip-attribute.md b/docs/examples/1.4.x/server-php/examples/databases/create-ip-attribute.md index 823fa99482..fe55cfe204 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.4.x/server-php/examples/databases/create-ip-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/create-relationship-attribute.md b/docs/examples/1.4.x/server-php/examples/databases/create-relationship-attribute.md index 4840a66937..97b00cda2f 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.4.x/server-php/examples/databases/create-relationship-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/create-string-attribute.md b/docs/examples/1.4.x/server-php/examples/databases/create-string-attribute.md index 50abd0a18d..7be05ee07e 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/create-string-attribute.md +++ b/docs/examples/1.4.x/server-php/examples/databases/create-string-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/create-url-attribute.md b/docs/examples/1.4.x/server-php/examples/databases/create-url-attribute.md index 5520cb1334..2380d74c43 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/create-url-attribute.md +++ b/docs/examples/1.4.x/server-php/examples/databases/create-url-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/create.md b/docs/examples/1.4.x/server-php/examples/databases/create.md index 16176b9b40..f05690391a 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/create.md +++ b/docs/examples/1.4.x/server-php/examples/databases/create.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/delete-attribute.md b/docs/examples/1.4.x/server-php/examples/databases/delete-attribute.md index d89c7de4f7..e46374ca42 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/delete-attribute.md +++ b/docs/examples/1.4.x/server-php/examples/databases/delete-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/delete-collection.md b/docs/examples/1.4.x/server-php/examples/databases/delete-collection.md index 29c627bbf0..f5ffb2c75a 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/delete-collection.md +++ b/docs/examples/1.4.x/server-php/examples/databases/delete-collection.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/delete-document.md b/docs/examples/1.4.x/server-php/examples/databases/delete-document.md index 9d5f1f0d51..523d3b5e0e 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/delete-document.md +++ b/docs/examples/1.4.x/server-php/examples/databases/delete-document.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/delete-index.md b/docs/examples/1.4.x/server-php/examples/databases/delete-index.md index 073aa3a82e..5739f5ce6b 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/delete-index.md +++ b/docs/examples/1.4.x/server-php/examples/databases/delete-index.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/delete.md b/docs/examples/1.4.x/server-php/examples/databases/delete.md index 3dab79bc99..0cc8b06106 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/delete.md +++ b/docs/examples/1.4.x/server-php/examples/databases/delete.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/get-attribute.md b/docs/examples/1.4.x/server-php/examples/databases/get-attribute.md index c286a7692a..5a109b7594 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/get-attribute.md +++ b/docs/examples/1.4.x/server-php/examples/databases/get-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/get-collection.md b/docs/examples/1.4.x/server-php/examples/databases/get-collection.md index 7cc578df8d..6d665e4601 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/get-collection.md +++ b/docs/examples/1.4.x/server-php/examples/databases/get-collection.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/get-document.md b/docs/examples/1.4.x/server-php/examples/databases/get-document.md index 7637e035e2..0397d6cbd5 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/get-document.md +++ b/docs/examples/1.4.x/server-php/examples/databases/get-document.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/get-index.md b/docs/examples/1.4.x/server-php/examples/databases/get-index.md index a674a5935e..ff39044a1f 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/get-index.md +++ b/docs/examples/1.4.x/server-php/examples/databases/get-index.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/get.md b/docs/examples/1.4.x/server-php/examples/databases/get.md index adc415f9a5..f87400b7dd 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/get.md +++ b/docs/examples/1.4.x/server-php/examples/databases/get.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/list-attributes.md b/docs/examples/1.4.x/server-php/examples/databases/list-attributes.md index 424c4b2405..decd393944 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/list-attributes.md +++ b/docs/examples/1.4.x/server-php/examples/databases/list-attributes.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/list-collections.md b/docs/examples/1.4.x/server-php/examples/databases/list-collections.md index 3f311f3138..7c0810a073 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/list-collections.md +++ b/docs/examples/1.4.x/server-php/examples/databases/list-collections.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/list-documents.md b/docs/examples/1.4.x/server-php/examples/databases/list-documents.md index c9a6bbe4ff..c2a1d47d2a 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/list-documents.md +++ b/docs/examples/1.4.x/server-php/examples/databases/list-documents.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/list-indexes.md b/docs/examples/1.4.x/server-php/examples/databases/list-indexes.md index 733d20b933..ecf4797d65 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/list-indexes.md +++ b/docs/examples/1.4.x/server-php/examples/databases/list-indexes.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/list.md b/docs/examples/1.4.x/server-php/examples/databases/list.md index 45963718d3..6882d17e97 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/list.md +++ b/docs/examples/1.4.x/server-php/examples/databases/list.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/update-boolean-attribute.md b/docs/examples/1.4.x/server-php/examples/databases/update-boolean-attribute.md index 9e8b8699e1..13b25b52c4 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.4.x/server-php/examples/databases/update-boolean-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/update-collection.md b/docs/examples/1.4.x/server-php/examples/databases/update-collection.md index 878bf20986..9eedede688 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/update-collection.md +++ b/docs/examples/1.4.x/server-php/examples/databases/update-collection.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/update-datetime-attribute.md b/docs/examples/1.4.x/server-php/examples/databases/update-datetime-attribute.md index 26214fb785..efbb871327 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.4.x/server-php/examples/databases/update-datetime-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/update-document.md b/docs/examples/1.4.x/server-php/examples/databases/update-document.md index 796e4600eb..56310e155f 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/update-document.md +++ b/docs/examples/1.4.x/server-php/examples/databases/update-document.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/update-email-attribute.md b/docs/examples/1.4.x/server-php/examples/databases/update-email-attribute.md index 7278881e3b..ba670046c3 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/update-email-attribute.md +++ b/docs/examples/1.4.x/server-php/examples/databases/update-email-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/update-enum-attribute.md b/docs/examples/1.4.x/server-php/examples/databases/update-enum-attribute.md index a77211b0f7..df0f6409dd 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.4.x/server-php/examples/databases/update-enum-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/update-float-attribute.md b/docs/examples/1.4.x/server-php/examples/databases/update-float-attribute.md index e73793e1fd..9d27fa196f 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/update-float-attribute.md +++ b/docs/examples/1.4.x/server-php/examples/databases/update-float-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/update-integer-attribute.md b/docs/examples/1.4.x/server-php/examples/databases/update-integer-attribute.md index 1cff205200..795f2cfd44 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.4.x/server-php/examples/databases/update-integer-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/update-ip-attribute.md b/docs/examples/1.4.x/server-php/examples/databases/update-ip-attribute.md index bb49d89c39..0f42ca3f40 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.4.x/server-php/examples/databases/update-ip-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/update-relationship-attribute.md b/docs/examples/1.4.x/server-php/examples/databases/update-relationship-attribute.md index b68025b84c..078d0338ca 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.4.x/server-php/examples/databases/update-relationship-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/update-string-attribute.md b/docs/examples/1.4.x/server-php/examples/databases/update-string-attribute.md index 775d0fa2be..0c821fe9d0 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/update-string-attribute.md +++ b/docs/examples/1.4.x/server-php/examples/databases/update-string-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/update-url-attribute.md b/docs/examples/1.4.x/server-php/examples/databases/update-url-attribute.md index 6d4845e7eb..a14bde5d2d 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/update-url-attribute.md +++ b/docs/examples/1.4.x/server-php/examples/databases/update-url-attribute.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/databases/update.md b/docs/examples/1.4.x/server-php/examples/databases/update.md index db1ae7688e..b1f0589be9 100644 --- a/docs/examples/1.4.x/server-php/examples/databases/update.md +++ b/docs/examples/1.4.x/server-php/examples/databases/update.md @@ -6,7 +6,7 @@ use Appwrite\Services\Databases; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/functions/create-build.md b/docs/examples/1.4.x/server-php/examples/functions/create-build.md index ac66cc2eb2..cc83570c3a 100644 --- a/docs/examples/1.4.x/server-php/examples/functions/create-build.md +++ b/docs/examples/1.4.x/server-php/examples/functions/create-build.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/functions/create-deployment.md b/docs/examples/1.4.x/server-php/examples/functions/create-deployment.md index b219b509de..d5ddbd58c2 100644 --- a/docs/examples/1.4.x/server-php/examples/functions/create-deployment.md +++ b/docs/examples/1.4.x/server-php/examples/functions/create-deployment.md @@ -7,7 +7,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/functions/create-execution.md b/docs/examples/1.4.x/server-php/examples/functions/create-execution.md index 038126a728..bc6138825f 100644 --- a/docs/examples/1.4.x/server-php/examples/functions/create-execution.md +++ b/docs/examples/1.4.x/server-php/examples/functions/create-execution.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/functions/create-variable.md b/docs/examples/1.4.x/server-php/examples/functions/create-variable.md index f09e61861e..57244ec1f4 100644 --- a/docs/examples/1.4.x/server-php/examples/functions/create-variable.md +++ b/docs/examples/1.4.x/server-php/examples/functions/create-variable.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/functions/create.md b/docs/examples/1.4.x/server-php/examples/functions/create.md index cd4b02be66..5f6d948304 100644 --- a/docs/examples/1.4.x/server-php/examples/functions/create.md +++ b/docs/examples/1.4.x/server-php/examples/functions/create.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/functions/delete-deployment.md b/docs/examples/1.4.x/server-php/examples/functions/delete-deployment.md index 7227cd995f..bbc65aada1 100644 --- a/docs/examples/1.4.x/server-php/examples/functions/delete-deployment.md +++ b/docs/examples/1.4.x/server-php/examples/functions/delete-deployment.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/functions/delete-variable.md b/docs/examples/1.4.x/server-php/examples/functions/delete-variable.md index a457846492..42376a0e9f 100644 --- a/docs/examples/1.4.x/server-php/examples/functions/delete-variable.md +++ b/docs/examples/1.4.x/server-php/examples/functions/delete-variable.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/functions/delete.md b/docs/examples/1.4.x/server-php/examples/functions/delete.md index d06c732f57..2abe85b75d 100644 --- a/docs/examples/1.4.x/server-php/examples/functions/delete.md +++ b/docs/examples/1.4.x/server-php/examples/functions/delete.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/functions/download-deployment.md b/docs/examples/1.4.x/server-php/examples/functions/download-deployment.md index d7a6d55e2a..46401e3503 100644 --- a/docs/examples/1.4.x/server-php/examples/functions/download-deployment.md +++ b/docs/examples/1.4.x/server-php/examples/functions/download-deployment.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/functions/get-deployment.md b/docs/examples/1.4.x/server-php/examples/functions/get-deployment.md index 4c4fe49eb3..19f4d58392 100644 --- a/docs/examples/1.4.x/server-php/examples/functions/get-deployment.md +++ b/docs/examples/1.4.x/server-php/examples/functions/get-deployment.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/functions/get-execution.md b/docs/examples/1.4.x/server-php/examples/functions/get-execution.md index ff59dc1cfe..994f2be976 100644 --- a/docs/examples/1.4.x/server-php/examples/functions/get-execution.md +++ b/docs/examples/1.4.x/server-php/examples/functions/get-execution.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/functions/get-variable.md b/docs/examples/1.4.x/server-php/examples/functions/get-variable.md index e80b8f9fc0..34012f9fbb 100644 --- a/docs/examples/1.4.x/server-php/examples/functions/get-variable.md +++ b/docs/examples/1.4.x/server-php/examples/functions/get-variable.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/functions/get.md b/docs/examples/1.4.x/server-php/examples/functions/get.md index aef5806259..2f5e69b142 100644 --- a/docs/examples/1.4.x/server-php/examples/functions/get.md +++ b/docs/examples/1.4.x/server-php/examples/functions/get.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/functions/list-deployments.md b/docs/examples/1.4.x/server-php/examples/functions/list-deployments.md index 366e5fdc71..db4524430b 100644 --- a/docs/examples/1.4.x/server-php/examples/functions/list-deployments.md +++ b/docs/examples/1.4.x/server-php/examples/functions/list-deployments.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/functions/list-executions.md b/docs/examples/1.4.x/server-php/examples/functions/list-executions.md index 34a80ad434..f431a4a937 100644 --- a/docs/examples/1.4.x/server-php/examples/functions/list-executions.md +++ b/docs/examples/1.4.x/server-php/examples/functions/list-executions.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/functions/list-runtimes.md b/docs/examples/1.4.x/server-php/examples/functions/list-runtimes.md index b35dadfec9..23089ec3ea 100644 --- a/docs/examples/1.4.x/server-php/examples/functions/list-runtimes.md +++ b/docs/examples/1.4.x/server-php/examples/functions/list-runtimes.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/functions/list-variables.md b/docs/examples/1.4.x/server-php/examples/functions/list-variables.md index cf74289157..aa84e28a6d 100644 --- a/docs/examples/1.4.x/server-php/examples/functions/list-variables.md +++ b/docs/examples/1.4.x/server-php/examples/functions/list-variables.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/functions/list.md b/docs/examples/1.4.x/server-php/examples/functions/list.md index f57875572e..0592572135 100644 --- a/docs/examples/1.4.x/server-php/examples/functions/list.md +++ b/docs/examples/1.4.x/server-php/examples/functions/list.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/functions/update-deployment.md b/docs/examples/1.4.x/server-php/examples/functions/update-deployment.md index b5f09cd018..3e259458ff 100644 --- a/docs/examples/1.4.x/server-php/examples/functions/update-deployment.md +++ b/docs/examples/1.4.x/server-php/examples/functions/update-deployment.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/functions/update-variable.md b/docs/examples/1.4.x/server-php/examples/functions/update-variable.md index 4eb52d94d3..f1952d8b5c 100644 --- a/docs/examples/1.4.x/server-php/examples/functions/update-variable.md +++ b/docs/examples/1.4.x/server-php/examples/functions/update-variable.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/functions/update.md b/docs/examples/1.4.x/server-php/examples/functions/update.md index 072ff5cdbb..05636d40bf 100644 --- a/docs/examples/1.4.x/server-php/examples/functions/update.md +++ b/docs/examples/1.4.x/server-php/examples/functions/update.md @@ -6,7 +6,7 @@ use Appwrite\Services\Functions; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/graphql/mutation.md b/docs/examples/1.4.x/server-php/examples/graphql/mutation.md index 5622f7f269..f75d53e86c 100644 --- a/docs/examples/1.4.x/server-php/examples/graphql/mutation.md +++ b/docs/examples/1.4.x/server-php/examples/graphql/mutation.md @@ -6,7 +6,7 @@ use Appwrite\Services\Graphql; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/graphql/query.md b/docs/examples/1.4.x/server-php/examples/graphql/query.md index 3ca1d940c4..369dcbd47e 100644 --- a/docs/examples/1.4.x/server-php/examples/graphql/query.md +++ b/docs/examples/1.4.x/server-php/examples/graphql/query.md @@ -6,7 +6,7 @@ use Appwrite\Services\Graphql; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/health/get-antivirus.md b/docs/examples/1.4.x/server-php/examples/health/get-antivirus.md index 4f1483514b..f31c642d9f 100644 --- a/docs/examples/1.4.x/server-php/examples/health/get-antivirus.md +++ b/docs/examples/1.4.x/server-php/examples/health/get-antivirus.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/health/get-cache.md b/docs/examples/1.4.x/server-php/examples/health/get-cache.md index 3d1b19b3ef..90cc8d8686 100644 --- a/docs/examples/1.4.x/server-php/examples/health/get-cache.md +++ b/docs/examples/1.4.x/server-php/examples/health/get-cache.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/health/get-d-b.md b/docs/examples/1.4.x/server-php/examples/health/get-d-b.md index c03ba23723..1ff93f4707 100644 --- a/docs/examples/1.4.x/server-php/examples/health/get-d-b.md +++ b/docs/examples/1.4.x/server-php/examples/health/get-d-b.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/health/get-pub-sub.md b/docs/examples/1.4.x/server-php/examples/health/get-pub-sub.md index 721b5c2474..8c4d031cf9 100644 --- a/docs/examples/1.4.x/server-php/examples/health/get-pub-sub.md +++ b/docs/examples/1.4.x/server-php/examples/health/get-pub-sub.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/health/get-queue-builds.md b/docs/examples/1.4.x/server-php/examples/health/get-queue-builds.md index 71d6ea8fe8..9c1937df20 100644 --- a/docs/examples/1.4.x/server-php/examples/health/get-queue-builds.md +++ b/docs/examples/1.4.x/server-php/examples/health/get-queue-builds.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/health/get-queue-certificates.md b/docs/examples/1.4.x/server-php/examples/health/get-queue-certificates.md index 76236de7b5..e58ba39c47 100644 --- a/docs/examples/1.4.x/server-php/examples/health/get-queue-certificates.md +++ b/docs/examples/1.4.x/server-php/examples/health/get-queue-certificates.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/health/get-queue-databases.md b/docs/examples/1.4.x/server-php/examples/health/get-queue-databases.md index 154625a829..9fffd33b42 100644 --- a/docs/examples/1.4.x/server-php/examples/health/get-queue-databases.md +++ b/docs/examples/1.4.x/server-php/examples/health/get-queue-databases.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/health/get-queue-deletes.md b/docs/examples/1.4.x/server-php/examples/health/get-queue-deletes.md index 84107ad35a..866d3095f3 100644 --- a/docs/examples/1.4.x/server-php/examples/health/get-queue-deletes.md +++ b/docs/examples/1.4.x/server-php/examples/health/get-queue-deletes.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/health/get-queue-functions.md b/docs/examples/1.4.x/server-php/examples/health/get-queue-functions.md index 31f65de1d1..699b4d390c 100644 --- a/docs/examples/1.4.x/server-php/examples/health/get-queue-functions.md +++ b/docs/examples/1.4.x/server-php/examples/health/get-queue-functions.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/health/get-queue-logs.md b/docs/examples/1.4.x/server-php/examples/health/get-queue-logs.md index ff1adb2a41..f55e861176 100644 --- a/docs/examples/1.4.x/server-php/examples/health/get-queue-logs.md +++ b/docs/examples/1.4.x/server-php/examples/health/get-queue-logs.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/health/get-queue-mails.md b/docs/examples/1.4.x/server-php/examples/health/get-queue-mails.md index ec7459af4c..a6b0fe59db 100644 --- a/docs/examples/1.4.x/server-php/examples/health/get-queue-mails.md +++ b/docs/examples/1.4.x/server-php/examples/health/get-queue-mails.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/health/get-queue-messaging.md b/docs/examples/1.4.x/server-php/examples/health/get-queue-messaging.md index 4b47d2ffa4..80e510b410 100644 --- a/docs/examples/1.4.x/server-php/examples/health/get-queue-messaging.md +++ b/docs/examples/1.4.x/server-php/examples/health/get-queue-messaging.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/health/get-queue-migrations.md b/docs/examples/1.4.x/server-php/examples/health/get-queue-migrations.md index 3b7a001d85..49d636ffe8 100644 --- a/docs/examples/1.4.x/server-php/examples/health/get-queue-migrations.md +++ b/docs/examples/1.4.x/server-php/examples/health/get-queue-migrations.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/health/get-queue-webhooks.md b/docs/examples/1.4.x/server-php/examples/health/get-queue-webhooks.md index 99592bcfac..838f442822 100644 --- a/docs/examples/1.4.x/server-php/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.4.x/server-php/examples/health/get-queue-webhooks.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/health/get-queue.md b/docs/examples/1.4.x/server-php/examples/health/get-queue.md index 9feb1ad8e2..4a51e4f8bf 100644 --- a/docs/examples/1.4.x/server-php/examples/health/get-queue.md +++ b/docs/examples/1.4.x/server-php/examples/health/get-queue.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/health/get-storage-local.md b/docs/examples/1.4.x/server-php/examples/health/get-storage-local.md index 55212c36ae..f156c7a6fe 100644 --- a/docs/examples/1.4.x/server-php/examples/health/get-storage-local.md +++ b/docs/examples/1.4.x/server-php/examples/health/get-storage-local.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/health/get-time.md b/docs/examples/1.4.x/server-php/examples/health/get-time.md index 5410124786..2efbd2d237 100644 --- a/docs/examples/1.4.x/server-php/examples/health/get-time.md +++ b/docs/examples/1.4.x/server-php/examples/health/get-time.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/health/get.md b/docs/examples/1.4.x/server-php/examples/health/get.md index 62cab8acf2..9a080c8e4d 100644 --- a/docs/examples/1.4.x/server-php/examples/health/get.md +++ b/docs/examples/1.4.x/server-php/examples/health/get.md @@ -6,7 +6,7 @@ use Appwrite\Services\Health; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/locale/get.md b/docs/examples/1.4.x/server-php/examples/locale/get.md index c4910463c5..3a8e04cc53 100644 --- a/docs/examples/1.4.x/server-php/examples/locale/get.md +++ b/docs/examples/1.4.x/server-php/examples/locale/get.md @@ -6,7 +6,7 @@ use Appwrite\Services\Locale; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/locale/list-codes.md b/docs/examples/1.4.x/server-php/examples/locale/list-codes.md index 55207ce32d..7f545a494b 100644 --- a/docs/examples/1.4.x/server-php/examples/locale/list-codes.md +++ b/docs/examples/1.4.x/server-php/examples/locale/list-codes.md @@ -6,7 +6,7 @@ use Appwrite\Services\Locale; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/locale/list-continents.md b/docs/examples/1.4.x/server-php/examples/locale/list-continents.md index 9cd8fb1399..1103c8b847 100644 --- a/docs/examples/1.4.x/server-php/examples/locale/list-continents.md +++ b/docs/examples/1.4.x/server-php/examples/locale/list-continents.md @@ -6,7 +6,7 @@ use Appwrite\Services\Locale; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/locale/list-countries-e-u.md b/docs/examples/1.4.x/server-php/examples/locale/list-countries-e-u.md index 1f2ef98c96..7ad6b05299 100644 --- a/docs/examples/1.4.x/server-php/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.4.x/server-php/examples/locale/list-countries-e-u.md @@ -6,7 +6,7 @@ use Appwrite\Services\Locale; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/locale/list-countries-phones.md b/docs/examples/1.4.x/server-php/examples/locale/list-countries-phones.md index 6f8acb7467..3f5154c98c 100644 --- a/docs/examples/1.4.x/server-php/examples/locale/list-countries-phones.md +++ b/docs/examples/1.4.x/server-php/examples/locale/list-countries-phones.md @@ -6,7 +6,7 @@ use Appwrite\Services\Locale; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/locale/list-countries.md b/docs/examples/1.4.x/server-php/examples/locale/list-countries.md index 28c518e82a..4abf4cc491 100644 --- a/docs/examples/1.4.x/server-php/examples/locale/list-countries.md +++ b/docs/examples/1.4.x/server-php/examples/locale/list-countries.md @@ -6,7 +6,7 @@ use Appwrite\Services\Locale; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/locale/list-currencies.md b/docs/examples/1.4.x/server-php/examples/locale/list-currencies.md index 37784f3d1e..8b115f898c 100644 --- a/docs/examples/1.4.x/server-php/examples/locale/list-currencies.md +++ b/docs/examples/1.4.x/server-php/examples/locale/list-currencies.md @@ -6,7 +6,7 @@ use Appwrite\Services\Locale; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/locale/list-languages.md b/docs/examples/1.4.x/server-php/examples/locale/list-languages.md index 8b4f082cb0..74347ff87b 100644 --- a/docs/examples/1.4.x/server-php/examples/locale/list-languages.md +++ b/docs/examples/1.4.x/server-php/examples/locale/list-languages.md @@ -6,7 +6,7 @@ use Appwrite\Services\Locale; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/storage/create-bucket.md b/docs/examples/1.4.x/server-php/examples/storage/create-bucket.md index bf54c22a47..3e43cd52b4 100644 --- a/docs/examples/1.4.x/server-php/examples/storage/create-bucket.md +++ b/docs/examples/1.4.x/server-php/examples/storage/create-bucket.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/storage/create-file.md b/docs/examples/1.4.x/server-php/examples/storage/create-file.md index e2cfce7ae9..3c0fc4c71f 100644 --- a/docs/examples/1.4.x/server-php/examples/storage/create-file.md +++ b/docs/examples/1.4.x/server-php/examples/storage/create-file.md @@ -7,7 +7,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/storage/delete-bucket.md b/docs/examples/1.4.x/server-php/examples/storage/delete-bucket.md index b3659b6276..bfae9b70a7 100644 --- a/docs/examples/1.4.x/server-php/examples/storage/delete-bucket.md +++ b/docs/examples/1.4.x/server-php/examples/storage/delete-bucket.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/storage/delete-file.md b/docs/examples/1.4.x/server-php/examples/storage/delete-file.md index 00db8551b3..5fb21e0210 100644 --- a/docs/examples/1.4.x/server-php/examples/storage/delete-file.md +++ b/docs/examples/1.4.x/server-php/examples/storage/delete-file.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/storage/get-bucket.md b/docs/examples/1.4.x/server-php/examples/storage/get-bucket.md index d4d152aff4..e816ef192f 100644 --- a/docs/examples/1.4.x/server-php/examples/storage/get-bucket.md +++ b/docs/examples/1.4.x/server-php/examples/storage/get-bucket.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/storage/get-file-download.md b/docs/examples/1.4.x/server-php/examples/storage/get-file-download.md index 0c7fefda37..9a181f7007 100644 --- a/docs/examples/1.4.x/server-php/examples/storage/get-file-download.md +++ b/docs/examples/1.4.x/server-php/examples/storage/get-file-download.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/storage/get-file-preview.md b/docs/examples/1.4.x/server-php/examples/storage/get-file-preview.md index c1b91e5c29..d30c0ec450 100644 --- a/docs/examples/1.4.x/server-php/examples/storage/get-file-preview.md +++ b/docs/examples/1.4.x/server-php/examples/storage/get-file-preview.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/storage/get-file-view.md b/docs/examples/1.4.x/server-php/examples/storage/get-file-view.md index f527c1b744..983fb0c52f 100644 --- a/docs/examples/1.4.x/server-php/examples/storage/get-file-view.md +++ b/docs/examples/1.4.x/server-php/examples/storage/get-file-view.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/storage/get-file.md b/docs/examples/1.4.x/server-php/examples/storage/get-file.md index cb56c96a42..799e1192d0 100644 --- a/docs/examples/1.4.x/server-php/examples/storage/get-file.md +++ b/docs/examples/1.4.x/server-php/examples/storage/get-file.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/storage/list-buckets.md b/docs/examples/1.4.x/server-php/examples/storage/list-buckets.md index b92dc82bcb..235cc8f9b6 100644 --- a/docs/examples/1.4.x/server-php/examples/storage/list-buckets.md +++ b/docs/examples/1.4.x/server-php/examples/storage/list-buckets.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/storage/list-files.md b/docs/examples/1.4.x/server-php/examples/storage/list-files.md index e0b79186e4..12b697fc81 100644 --- a/docs/examples/1.4.x/server-php/examples/storage/list-files.md +++ b/docs/examples/1.4.x/server-php/examples/storage/list-files.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/storage/update-bucket.md b/docs/examples/1.4.x/server-php/examples/storage/update-bucket.md index 5e46dfc83b..6985651b9b 100644 --- a/docs/examples/1.4.x/server-php/examples/storage/update-bucket.md +++ b/docs/examples/1.4.x/server-php/examples/storage/update-bucket.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/storage/update-file.md b/docs/examples/1.4.x/server-php/examples/storage/update-file.md index 1d3e01e99a..6dc64b1f5b 100644 --- a/docs/examples/1.4.x/server-php/examples/storage/update-file.md +++ b/docs/examples/1.4.x/server-php/examples/storage/update-file.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/teams/create-membership.md b/docs/examples/1.4.x/server-php/examples/teams/create-membership.md index b20e15fb18..32ba08840b 100644 --- a/docs/examples/1.4.x/server-php/examples/teams/create-membership.md +++ b/docs/examples/1.4.x/server-php/examples/teams/create-membership.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/teams/create.md b/docs/examples/1.4.x/server-php/examples/teams/create.md index e5efe49b30..551922be14 100644 --- a/docs/examples/1.4.x/server-php/examples/teams/create.md +++ b/docs/examples/1.4.x/server-php/examples/teams/create.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/teams/delete-membership.md b/docs/examples/1.4.x/server-php/examples/teams/delete-membership.md index 2b40c1742e..5d070ee09c 100644 --- a/docs/examples/1.4.x/server-php/examples/teams/delete-membership.md +++ b/docs/examples/1.4.x/server-php/examples/teams/delete-membership.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/teams/delete.md b/docs/examples/1.4.x/server-php/examples/teams/delete.md index 5ec2ed995c..009c7eee2e 100644 --- a/docs/examples/1.4.x/server-php/examples/teams/delete.md +++ b/docs/examples/1.4.x/server-php/examples/teams/delete.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/teams/get-membership.md b/docs/examples/1.4.x/server-php/examples/teams/get-membership.md index fdd3024783..f23b8a7eb0 100644 --- a/docs/examples/1.4.x/server-php/examples/teams/get-membership.md +++ b/docs/examples/1.4.x/server-php/examples/teams/get-membership.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/teams/get-prefs.md b/docs/examples/1.4.x/server-php/examples/teams/get-prefs.md index 0436f96962..211373dd8a 100644 --- a/docs/examples/1.4.x/server-php/examples/teams/get-prefs.md +++ b/docs/examples/1.4.x/server-php/examples/teams/get-prefs.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-php/examples/teams/get.md b/docs/examples/1.4.x/server-php/examples/teams/get.md index 94b8a2695a..b7b4a43ac6 100644 --- a/docs/examples/1.4.x/server-php/examples/teams/get.md +++ b/docs/examples/1.4.x/server-php/examples/teams/get.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/teams/list-memberships.md b/docs/examples/1.4.x/server-php/examples/teams/list-memberships.md index f23b78eca1..3a15fd91be 100644 --- a/docs/examples/1.4.x/server-php/examples/teams/list-memberships.md +++ b/docs/examples/1.4.x/server-php/examples/teams/list-memberships.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/teams/list.md b/docs/examples/1.4.x/server-php/examples/teams/list.md index 66f54b6e1c..970b2b08d2 100644 --- a/docs/examples/1.4.x/server-php/examples/teams/list.md +++ b/docs/examples/1.4.x/server-php/examples/teams/list.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/teams/update-membership-status.md b/docs/examples/1.4.x/server-php/examples/teams/update-membership-status.md index 15504ad421..0d0a125886 100644 --- a/docs/examples/1.4.x/server-php/examples/teams/update-membership-status.md +++ b/docs/examples/1.4.x/server-php/examples/teams/update-membership-status.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-php/examples/teams/update-membership.md b/docs/examples/1.4.x/server-php/examples/teams/update-membership.md index 37b8fa7388..befef965d2 100644 --- a/docs/examples/1.4.x/server-php/examples/teams/update-membership.md +++ b/docs/examples/1.4.x/server-php/examples/teams/update-membership.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/teams/update-name.md b/docs/examples/1.4.x/server-php/examples/teams/update-name.md index e88a31862d..09c9b6f928 100644 --- a/docs/examples/1.4.x/server-php/examples/teams/update-name.md +++ b/docs/examples/1.4.x/server-php/examples/teams/update-name.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/teams/update-prefs.md b/docs/examples/1.4.x/server-php/examples/teams/update-prefs.md index 4d044cce23..fd42914c45 100644 --- a/docs/examples/1.4.x/server-php/examples/teams/update-prefs.md +++ b/docs/examples/1.4.x/server-php/examples/teams/update-prefs.md @@ -6,7 +6,7 @@ use Appwrite\Services\Teams; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') // Your secret JSON Web Token ; diff --git a/docs/examples/1.4.x/server-php/examples/users/create-argon2user.md b/docs/examples/1.4.x/server-php/examples/users/create-argon2user.md index 1036ca109e..83bc040827 100644 --- a/docs/examples/1.4.x/server-php/examples/users/create-argon2user.md +++ b/docs/examples/1.4.x/server-php/examples/users/create-argon2user.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/users/create-bcrypt-user.md b/docs/examples/1.4.x/server-php/examples/users/create-bcrypt-user.md index de15110a4e..ce1e2d5633 100644 --- a/docs/examples/1.4.x/server-php/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.4.x/server-php/examples/users/create-bcrypt-user.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/users/create-m-d5user.md b/docs/examples/1.4.x/server-php/examples/users/create-m-d5user.md index 15f4ebe0aa..d78ffa24d4 100644 --- a/docs/examples/1.4.x/server-php/examples/users/create-m-d5user.md +++ b/docs/examples/1.4.x/server-php/examples/users/create-m-d5user.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/users/create-p-h-pass-user.md b/docs/examples/1.4.x/server-php/examples/users/create-p-h-pass-user.md index 2eb682fc42..097636038a 100644 --- a/docs/examples/1.4.x/server-php/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.4.x/server-php/examples/users/create-p-h-pass-user.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/users/create-s-h-a-user.md b/docs/examples/1.4.x/server-php/examples/users/create-s-h-a-user.md index 3e63bd9928..ab5df354cc 100644 --- a/docs/examples/1.4.x/server-php/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.4.x/server-php/examples/users/create-s-h-a-user.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/users/create-scrypt-modified-user.md b/docs/examples/1.4.x/server-php/examples/users/create-scrypt-modified-user.md index bcf7c52cd5..bb71afe901 100644 --- a/docs/examples/1.4.x/server-php/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.4.x/server-php/examples/users/create-scrypt-modified-user.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/users/create-scrypt-user.md b/docs/examples/1.4.x/server-php/examples/users/create-scrypt-user.md index 43a4bcc2e2..563268784d 100644 --- a/docs/examples/1.4.x/server-php/examples/users/create-scrypt-user.md +++ b/docs/examples/1.4.x/server-php/examples/users/create-scrypt-user.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/users/create.md b/docs/examples/1.4.x/server-php/examples/users/create.md index dab8a5ed70..67ab2660eb 100644 --- a/docs/examples/1.4.x/server-php/examples/users/create.md +++ b/docs/examples/1.4.x/server-php/examples/users/create.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/users/delete-identity.md b/docs/examples/1.4.x/server-php/examples/users/delete-identity.md index a25222751c..43a7ad69fe 100644 --- a/docs/examples/1.4.x/server-php/examples/users/delete-identity.md +++ b/docs/examples/1.4.x/server-php/examples/users/delete-identity.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/users/delete-session.md b/docs/examples/1.4.x/server-php/examples/users/delete-session.md index c6a507c7b2..6ce035a739 100644 --- a/docs/examples/1.4.x/server-php/examples/users/delete-session.md +++ b/docs/examples/1.4.x/server-php/examples/users/delete-session.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/users/delete-sessions.md b/docs/examples/1.4.x/server-php/examples/users/delete-sessions.md index 570d258683..a4a07242bd 100644 --- a/docs/examples/1.4.x/server-php/examples/users/delete-sessions.md +++ b/docs/examples/1.4.x/server-php/examples/users/delete-sessions.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/users/delete.md b/docs/examples/1.4.x/server-php/examples/users/delete.md index 1d5a822fde..63279e1b46 100644 --- a/docs/examples/1.4.x/server-php/examples/users/delete.md +++ b/docs/examples/1.4.x/server-php/examples/users/delete.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/users/get-prefs.md b/docs/examples/1.4.x/server-php/examples/users/get-prefs.md index e9c8c58bf3..d52706530e 100644 --- a/docs/examples/1.4.x/server-php/examples/users/get-prefs.md +++ b/docs/examples/1.4.x/server-php/examples/users/get-prefs.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/users/get.md b/docs/examples/1.4.x/server-php/examples/users/get.md index 51482d37eb..5f84f327db 100644 --- a/docs/examples/1.4.x/server-php/examples/users/get.md +++ b/docs/examples/1.4.x/server-php/examples/users/get.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/users/list-identities.md b/docs/examples/1.4.x/server-php/examples/users/list-identities.md index 2d229e4119..ba75d77de3 100644 --- a/docs/examples/1.4.x/server-php/examples/users/list-identities.md +++ b/docs/examples/1.4.x/server-php/examples/users/list-identities.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/users/list-logs.md b/docs/examples/1.4.x/server-php/examples/users/list-logs.md index e6287563c2..d5166c0b66 100644 --- a/docs/examples/1.4.x/server-php/examples/users/list-logs.md +++ b/docs/examples/1.4.x/server-php/examples/users/list-logs.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/users/list-memberships.md b/docs/examples/1.4.x/server-php/examples/users/list-memberships.md index 039216bc1e..84ebf8e8a1 100644 --- a/docs/examples/1.4.x/server-php/examples/users/list-memberships.md +++ b/docs/examples/1.4.x/server-php/examples/users/list-memberships.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/users/list-sessions.md b/docs/examples/1.4.x/server-php/examples/users/list-sessions.md index e09b65d475..100df65a48 100644 --- a/docs/examples/1.4.x/server-php/examples/users/list-sessions.md +++ b/docs/examples/1.4.x/server-php/examples/users/list-sessions.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/users/list.md b/docs/examples/1.4.x/server-php/examples/users/list.md index 8d86e86372..30929b467b 100644 --- a/docs/examples/1.4.x/server-php/examples/users/list.md +++ b/docs/examples/1.4.x/server-php/examples/users/list.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/users/update-email-verification.md b/docs/examples/1.4.x/server-php/examples/users/update-email-verification.md index 67c3e12ee0..6b0b5b0d4c 100644 --- a/docs/examples/1.4.x/server-php/examples/users/update-email-verification.md +++ b/docs/examples/1.4.x/server-php/examples/users/update-email-verification.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/users/update-email.md b/docs/examples/1.4.x/server-php/examples/users/update-email.md index c6a7412b89..fe35bf057e 100644 --- a/docs/examples/1.4.x/server-php/examples/users/update-email.md +++ b/docs/examples/1.4.x/server-php/examples/users/update-email.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/users/update-labels.md b/docs/examples/1.4.x/server-php/examples/users/update-labels.md index b9f4dc30dc..1d8683c000 100644 --- a/docs/examples/1.4.x/server-php/examples/users/update-labels.md +++ b/docs/examples/1.4.x/server-php/examples/users/update-labels.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/users/update-name.md b/docs/examples/1.4.x/server-php/examples/users/update-name.md index 598ef2a3a2..838f436758 100644 --- a/docs/examples/1.4.x/server-php/examples/users/update-name.md +++ b/docs/examples/1.4.x/server-php/examples/users/update-name.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/users/update-password.md b/docs/examples/1.4.x/server-php/examples/users/update-password.md index de5ec7d132..040e9e4599 100644 --- a/docs/examples/1.4.x/server-php/examples/users/update-password.md +++ b/docs/examples/1.4.x/server-php/examples/users/update-password.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/users/update-phone-verification.md b/docs/examples/1.4.x/server-php/examples/users/update-phone-verification.md index e9929a547b..e18b57274a 100644 --- a/docs/examples/1.4.x/server-php/examples/users/update-phone-verification.md +++ b/docs/examples/1.4.x/server-php/examples/users/update-phone-verification.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/users/update-phone.md b/docs/examples/1.4.x/server-php/examples/users/update-phone.md index 0df380a23a..610b3a65e7 100644 --- a/docs/examples/1.4.x/server-php/examples/users/update-phone.md +++ b/docs/examples/1.4.x/server-php/examples/users/update-phone.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/users/update-prefs.md b/docs/examples/1.4.x/server-php/examples/users/update-prefs.md index 9c4ebaae2b..6aaa9451d6 100644 --- a/docs/examples/1.4.x/server-php/examples/users/update-prefs.md +++ b/docs/examples/1.4.x/server-php/examples/users/update-prefs.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-php/examples/users/update-status.md b/docs/examples/1.4.x/server-php/examples/users/update-status.md index ad3f6bde79..dbe489de72 100644 --- a/docs/examples/1.4.x/server-php/examples/users/update-status.md +++ b/docs/examples/1.4.x/server-php/examples/users/update-status.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.4.x/server-python/examples/account/create-phone-verification.md b/docs/examples/1.4.x/server-python/examples/account/create-phone-verification.md index 2203cdbd0c..1e8670084d 100644 --- a/docs/examples/1.4.x/server-python/examples/account/create-phone-verification.md +++ b/docs/examples/1.4.x/server-python/examples/account/create-phone-verification.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.4.x/server-python/examples/account/create-recovery.md b/docs/examples/1.4.x/server-python/examples/account/create-recovery.md index 21130fef6d..c86108ff4e 100644 --- a/docs/examples/1.4.x/server-python/examples/account/create-recovery.md +++ b/docs/examples/1.4.x/server-python/examples/account/create-recovery.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.4.x/server-python/examples/account/create-verification.md b/docs/examples/1.4.x/server-python/examples/account/create-verification.md index c45d0d462e..0bc3954565 100644 --- a/docs/examples/1.4.x/server-python/examples/account/create-verification.md +++ b/docs/examples/1.4.x/server-python/examples/account/create-verification.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.4.x/server-python/examples/account/delete-identity.md b/docs/examples/1.4.x/server-python/examples/account/delete-identity.md index bac4334585..f542ade63a 100644 --- a/docs/examples/1.4.x/server-python/examples/account/delete-identity.md +++ b/docs/examples/1.4.x/server-python/examples/account/delete-identity.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.4.x/server-python/examples/account/delete-session.md b/docs/examples/1.4.x/server-python/examples/account/delete-session.md index 8095cdc07f..449a786169 100644 --- a/docs/examples/1.4.x/server-python/examples/account/delete-session.md +++ b/docs/examples/1.4.x/server-python/examples/account/delete-session.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.4.x/server-python/examples/account/delete-sessions.md b/docs/examples/1.4.x/server-python/examples/account/delete-sessions.md index 1728d61e67..4f208b93a6 100644 --- a/docs/examples/1.4.x/server-python/examples/account/delete-sessions.md +++ b/docs/examples/1.4.x/server-python/examples/account/delete-sessions.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.4.x/server-python/examples/account/get-prefs.md b/docs/examples/1.4.x/server-python/examples/account/get-prefs.md index da2fd7628e..7063f0c3aa 100644 --- a/docs/examples/1.4.x/server-python/examples/account/get-prefs.md +++ b/docs/examples/1.4.x/server-python/examples/account/get-prefs.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.4.x/server-python/examples/account/get-session.md b/docs/examples/1.4.x/server-python/examples/account/get-session.md index 25b8f03837..def8838e19 100644 --- a/docs/examples/1.4.x/server-python/examples/account/get-session.md +++ b/docs/examples/1.4.x/server-python/examples/account/get-session.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.4.x/server-python/examples/account/get.md b/docs/examples/1.4.x/server-python/examples/account/get.md index f75bad7769..d84d378583 100644 --- a/docs/examples/1.4.x/server-python/examples/account/get.md +++ b/docs/examples/1.4.x/server-python/examples/account/get.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.4.x/server-python/examples/account/list-identities.md b/docs/examples/1.4.x/server-python/examples/account/list-identities.md index 3c166d1df1..479f835b92 100644 --- a/docs/examples/1.4.x/server-python/examples/account/list-identities.md +++ b/docs/examples/1.4.x/server-python/examples/account/list-identities.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.4.x/server-python/examples/account/list-logs.md b/docs/examples/1.4.x/server-python/examples/account/list-logs.md index 65802d8b0d..601d243dca 100644 --- a/docs/examples/1.4.x/server-python/examples/account/list-logs.md +++ b/docs/examples/1.4.x/server-python/examples/account/list-logs.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.4.x/server-python/examples/account/list-sessions.md b/docs/examples/1.4.x/server-python/examples/account/list-sessions.md index 12d5c81d92..fcdfd857e7 100644 --- a/docs/examples/1.4.x/server-python/examples/account/list-sessions.md +++ b/docs/examples/1.4.x/server-python/examples/account/list-sessions.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.4.x/server-python/examples/account/update-email.md b/docs/examples/1.4.x/server-python/examples/account/update-email.md index f4a6776f72..a2e393ae4a 100644 --- a/docs/examples/1.4.x/server-python/examples/account/update-email.md +++ b/docs/examples/1.4.x/server-python/examples/account/update-email.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.4.x/server-python/examples/account/update-name.md b/docs/examples/1.4.x/server-python/examples/account/update-name.md index eb1eb6279b..b56296cb21 100644 --- a/docs/examples/1.4.x/server-python/examples/account/update-name.md +++ b/docs/examples/1.4.x/server-python/examples/account/update-name.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.4.x/server-python/examples/account/update-password.md b/docs/examples/1.4.x/server-python/examples/account/update-password.md index 955ada651d..7881c472f3 100644 --- a/docs/examples/1.4.x/server-python/examples/account/update-password.md +++ b/docs/examples/1.4.x/server-python/examples/account/update-password.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.4.x/server-python/examples/account/update-phone-verification.md b/docs/examples/1.4.x/server-python/examples/account/update-phone-verification.md index f2a75b4de9..dcba4273c4 100644 --- a/docs/examples/1.4.x/server-python/examples/account/update-phone-verification.md +++ b/docs/examples/1.4.x/server-python/examples/account/update-phone-verification.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.4.x/server-python/examples/account/update-phone.md b/docs/examples/1.4.x/server-python/examples/account/update-phone.md index aaee1f7eec..0f6470619e 100644 --- a/docs/examples/1.4.x/server-python/examples/account/update-phone.md +++ b/docs/examples/1.4.x/server-python/examples/account/update-phone.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.4.x/server-python/examples/account/update-prefs.md b/docs/examples/1.4.x/server-python/examples/account/update-prefs.md index e96546b05a..64e32cee2a 100644 --- a/docs/examples/1.4.x/server-python/examples/account/update-prefs.md +++ b/docs/examples/1.4.x/server-python/examples/account/update-prefs.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.4.x/server-python/examples/account/update-recovery.md b/docs/examples/1.4.x/server-python/examples/account/update-recovery.md index b4ea8aa89c..2bb9b10d2c 100644 --- a/docs/examples/1.4.x/server-python/examples/account/update-recovery.md +++ b/docs/examples/1.4.x/server-python/examples/account/update-recovery.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.4.x/server-python/examples/account/update-session.md b/docs/examples/1.4.x/server-python/examples/account/update-session.md index e7234f7801..16ea018303 100644 --- a/docs/examples/1.4.x/server-python/examples/account/update-session.md +++ b/docs/examples/1.4.x/server-python/examples/account/update-session.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.4.x/server-python/examples/account/update-status.md b/docs/examples/1.4.x/server-python/examples/account/update-status.md index 5924d4d54f..877b8743d1 100644 --- a/docs/examples/1.4.x/server-python/examples/account/update-status.md +++ b/docs/examples/1.4.x/server-python/examples/account/update-status.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.4.x/server-python/examples/account/update-verification.md b/docs/examples/1.4.x/server-python/examples/account/update-verification.md index 9a410a54a8..e2aecaa117 100644 --- a/docs/examples/1.4.x/server-python/examples/account/update-verification.md +++ b/docs/examples/1.4.x/server-python/examples/account/update-verification.md @@ -4,7 +4,7 @@ from appwrite.services.account import Account client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.4.x/server-python/examples/avatars/get-browser.md b/docs/examples/1.4.x/server-python/examples/avatars/get-browser.md index 9ed56d1d4b..e29ebcd84d 100644 --- a/docs/examples/1.4.x/server-python/examples/avatars/get-browser.md +++ b/docs/examples/1.4.x/server-python/examples/avatars/get-browser.md @@ -4,7 +4,7 @@ from appwrite.services.avatars import Avatars client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/avatars/get-credit-card.md b/docs/examples/1.4.x/server-python/examples/avatars/get-credit-card.md index 9fa6b0fd1f..3006186d81 100644 --- a/docs/examples/1.4.x/server-python/examples/avatars/get-credit-card.md +++ b/docs/examples/1.4.x/server-python/examples/avatars/get-credit-card.md @@ -4,7 +4,7 @@ from appwrite.services.avatars import Avatars client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/avatars/get-favicon.md b/docs/examples/1.4.x/server-python/examples/avatars/get-favicon.md index 75b0315eae..b860e801ce 100644 --- a/docs/examples/1.4.x/server-python/examples/avatars/get-favicon.md +++ b/docs/examples/1.4.x/server-python/examples/avatars/get-favicon.md @@ -4,7 +4,7 @@ from appwrite.services.avatars import Avatars client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/avatars/get-flag.md b/docs/examples/1.4.x/server-python/examples/avatars/get-flag.md index 70d2e5f242..055feb4282 100644 --- a/docs/examples/1.4.x/server-python/examples/avatars/get-flag.md +++ b/docs/examples/1.4.x/server-python/examples/avatars/get-flag.md @@ -4,7 +4,7 @@ from appwrite.services.avatars import Avatars client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/avatars/get-image.md b/docs/examples/1.4.x/server-python/examples/avatars/get-image.md index 35015d9620..1cd0bd0164 100644 --- a/docs/examples/1.4.x/server-python/examples/avatars/get-image.md +++ b/docs/examples/1.4.x/server-python/examples/avatars/get-image.md @@ -4,7 +4,7 @@ from appwrite.services.avatars import Avatars client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/avatars/get-initials.md b/docs/examples/1.4.x/server-python/examples/avatars/get-initials.md index 639fa03bc9..9e7e5d2c18 100644 --- a/docs/examples/1.4.x/server-python/examples/avatars/get-initials.md +++ b/docs/examples/1.4.x/server-python/examples/avatars/get-initials.md @@ -4,7 +4,7 @@ from appwrite.services.avatars import Avatars client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/avatars/get-q-r.md b/docs/examples/1.4.x/server-python/examples/avatars/get-q-r.md index 27fc8e2924..b3c3e728ab 100644 --- a/docs/examples/1.4.x/server-python/examples/avatars/get-q-r.md +++ b/docs/examples/1.4.x/server-python/examples/avatars/get-q-r.md @@ -4,7 +4,7 @@ from appwrite.services.avatars import Avatars client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/create-boolean-attribute.md b/docs/examples/1.4.x/server-python/examples/databases/create-boolean-attribute.md index f073d3d3b3..e0f333caab 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.4.x/server-python/examples/databases/create-boolean-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/create-collection.md b/docs/examples/1.4.x/server-python/examples/databases/create-collection.md index 183c55c448..ad704dea3d 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/create-collection.md +++ b/docs/examples/1.4.x/server-python/examples/databases/create-collection.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/create-datetime-attribute.md b/docs/examples/1.4.x/server-python/examples/databases/create-datetime-attribute.md index 5c77689c99..8325de8230 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.4.x/server-python/examples/databases/create-datetime-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/create-document.md b/docs/examples/1.4.x/server-python/examples/databases/create-document.md index aa95de9ebd..c712b11bdd 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/create-document.md +++ b/docs/examples/1.4.x/server-python/examples/databases/create-document.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/create-email-attribute.md b/docs/examples/1.4.x/server-python/examples/databases/create-email-attribute.md index 92cdcb2a8f..05397d6ab0 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/create-email-attribute.md +++ b/docs/examples/1.4.x/server-python/examples/databases/create-email-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/create-enum-attribute.md b/docs/examples/1.4.x/server-python/examples/databases/create-enum-attribute.md index df66f12896..21e4635790 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.4.x/server-python/examples/databases/create-enum-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/create-float-attribute.md b/docs/examples/1.4.x/server-python/examples/databases/create-float-attribute.md index 0bfe4248eb..b7493dfced 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/create-float-attribute.md +++ b/docs/examples/1.4.x/server-python/examples/databases/create-float-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/create-index.md b/docs/examples/1.4.x/server-python/examples/databases/create-index.md index 78a7d3327e..2237a7397e 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/create-index.md +++ b/docs/examples/1.4.x/server-python/examples/databases/create-index.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/create-integer-attribute.md b/docs/examples/1.4.x/server-python/examples/databases/create-integer-attribute.md index b3cce2bde4..b8a213bc21 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.4.x/server-python/examples/databases/create-integer-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/create-ip-attribute.md b/docs/examples/1.4.x/server-python/examples/databases/create-ip-attribute.md index 967d284b9a..85f1cd5b00 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.4.x/server-python/examples/databases/create-ip-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/create-relationship-attribute.md b/docs/examples/1.4.x/server-python/examples/databases/create-relationship-attribute.md index 4f69ecae00..041d8f2005 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.4.x/server-python/examples/databases/create-relationship-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/create-string-attribute.md b/docs/examples/1.4.x/server-python/examples/databases/create-string-attribute.md index 00bbbe9ce7..1992f71e44 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/create-string-attribute.md +++ b/docs/examples/1.4.x/server-python/examples/databases/create-string-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/create-url-attribute.md b/docs/examples/1.4.x/server-python/examples/databases/create-url-attribute.md index fd5b7f44e3..49e2cbf68c 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/create-url-attribute.md +++ b/docs/examples/1.4.x/server-python/examples/databases/create-url-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/create.md b/docs/examples/1.4.x/server-python/examples/databases/create.md index e4a832066b..7c1f63cb14 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/create.md +++ b/docs/examples/1.4.x/server-python/examples/databases/create.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/delete-attribute.md b/docs/examples/1.4.x/server-python/examples/databases/delete-attribute.md index 41871b2662..7ca55adf15 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/delete-attribute.md +++ b/docs/examples/1.4.x/server-python/examples/databases/delete-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/delete-collection.md b/docs/examples/1.4.x/server-python/examples/databases/delete-collection.md index 998bb61fb9..af37479be2 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/delete-collection.md +++ b/docs/examples/1.4.x/server-python/examples/databases/delete-collection.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/delete-document.md b/docs/examples/1.4.x/server-python/examples/databases/delete-document.md index 605b087b7c..6a3a3588c6 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/delete-document.md +++ b/docs/examples/1.4.x/server-python/examples/databases/delete-document.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/delete-index.md b/docs/examples/1.4.x/server-python/examples/databases/delete-index.md index a53e06c024..5f32135c3b 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/delete-index.md +++ b/docs/examples/1.4.x/server-python/examples/databases/delete-index.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/delete.md b/docs/examples/1.4.x/server-python/examples/databases/delete.md index 780e1451ef..594f357bbf 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/delete.md +++ b/docs/examples/1.4.x/server-python/examples/databases/delete.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/get-attribute.md b/docs/examples/1.4.x/server-python/examples/databases/get-attribute.md index 0a6105272a..b855fbc600 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/get-attribute.md +++ b/docs/examples/1.4.x/server-python/examples/databases/get-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/get-collection.md b/docs/examples/1.4.x/server-python/examples/databases/get-collection.md index 90f57a366c..5d176dd2c5 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/get-collection.md +++ b/docs/examples/1.4.x/server-python/examples/databases/get-collection.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/get-document.md b/docs/examples/1.4.x/server-python/examples/databases/get-document.md index 708538418e..7a11da3c27 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/get-document.md +++ b/docs/examples/1.4.x/server-python/examples/databases/get-document.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/get-index.md b/docs/examples/1.4.x/server-python/examples/databases/get-index.md index 3213c66660..6c376c6907 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/get-index.md +++ b/docs/examples/1.4.x/server-python/examples/databases/get-index.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/get.md b/docs/examples/1.4.x/server-python/examples/databases/get.md index 93a46b3fa4..c8906fc9af 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/get.md +++ b/docs/examples/1.4.x/server-python/examples/databases/get.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/list-attributes.md b/docs/examples/1.4.x/server-python/examples/databases/list-attributes.md index 632202c894..3c173668a4 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/list-attributes.md +++ b/docs/examples/1.4.x/server-python/examples/databases/list-attributes.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/list-collections.md b/docs/examples/1.4.x/server-python/examples/databases/list-collections.md index d0c98dad97..197229e308 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/list-collections.md +++ b/docs/examples/1.4.x/server-python/examples/databases/list-collections.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/list-documents.md b/docs/examples/1.4.x/server-python/examples/databases/list-documents.md index 5eb03b2658..01cc594d98 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/list-documents.md +++ b/docs/examples/1.4.x/server-python/examples/databases/list-documents.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/list-indexes.md b/docs/examples/1.4.x/server-python/examples/databases/list-indexes.md index b4224be62c..f65545454b 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/list-indexes.md +++ b/docs/examples/1.4.x/server-python/examples/databases/list-indexes.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/list.md b/docs/examples/1.4.x/server-python/examples/databases/list.md index 3aa6839d20..117119439b 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/list.md +++ b/docs/examples/1.4.x/server-python/examples/databases/list.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/update-boolean-attribute.md b/docs/examples/1.4.x/server-python/examples/databases/update-boolean-attribute.md index e6a7d55fb6..e9cd95c783 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.4.x/server-python/examples/databases/update-boolean-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/update-collection.md b/docs/examples/1.4.x/server-python/examples/databases/update-collection.md index 4a38aab4d4..49c5c8154b 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/update-collection.md +++ b/docs/examples/1.4.x/server-python/examples/databases/update-collection.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/update-datetime-attribute.md b/docs/examples/1.4.x/server-python/examples/databases/update-datetime-attribute.md index 5c792573ae..de0ac103e9 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.4.x/server-python/examples/databases/update-datetime-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/update-document.md b/docs/examples/1.4.x/server-python/examples/databases/update-document.md index c768c5403c..fc6645bf9f 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/update-document.md +++ b/docs/examples/1.4.x/server-python/examples/databases/update-document.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/update-email-attribute.md b/docs/examples/1.4.x/server-python/examples/databases/update-email-attribute.md index 8148b012fd..b67549292b 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/update-email-attribute.md +++ b/docs/examples/1.4.x/server-python/examples/databases/update-email-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/update-enum-attribute.md b/docs/examples/1.4.x/server-python/examples/databases/update-enum-attribute.md index 65ef26f274..79c491ecbe 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.4.x/server-python/examples/databases/update-enum-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/update-float-attribute.md b/docs/examples/1.4.x/server-python/examples/databases/update-float-attribute.md index efbf1ad04f..9c34b6f8f2 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/update-float-attribute.md +++ b/docs/examples/1.4.x/server-python/examples/databases/update-float-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/update-integer-attribute.md b/docs/examples/1.4.x/server-python/examples/databases/update-integer-attribute.md index 61c74b8675..8ab1cd1d28 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.4.x/server-python/examples/databases/update-integer-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/update-ip-attribute.md b/docs/examples/1.4.x/server-python/examples/databases/update-ip-attribute.md index 7d5a35d749..4bd7899ad8 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.4.x/server-python/examples/databases/update-ip-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/update-relationship-attribute.md b/docs/examples/1.4.x/server-python/examples/databases/update-relationship-attribute.md index 7c426a61e3..cc3b620734 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.4.x/server-python/examples/databases/update-relationship-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/update-string-attribute.md b/docs/examples/1.4.x/server-python/examples/databases/update-string-attribute.md index 2ee236e624..f59ee07ad9 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/update-string-attribute.md +++ b/docs/examples/1.4.x/server-python/examples/databases/update-string-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/update-url-attribute.md b/docs/examples/1.4.x/server-python/examples/databases/update-url-attribute.md index 119c787d2d..a0b2e04b45 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/update-url-attribute.md +++ b/docs/examples/1.4.x/server-python/examples/databases/update-url-attribute.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/databases/update.md b/docs/examples/1.4.x/server-python/examples/databases/update.md index d46692ece4..9e32a87888 100644 --- a/docs/examples/1.4.x/server-python/examples/databases/update.md +++ b/docs/examples/1.4.x/server-python/examples/databases/update.md @@ -4,7 +4,7 @@ from appwrite.services.databases import Databases client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/functions/create-build.md b/docs/examples/1.4.x/server-python/examples/functions/create-build.md index 76888f8b16..398973ce57 100644 --- a/docs/examples/1.4.x/server-python/examples/functions/create-build.md +++ b/docs/examples/1.4.x/server-python/examples/functions/create-build.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/functions/create-deployment.md b/docs/examples/1.4.x/server-python/examples/functions/create-deployment.md index 1ee1be05ed..035a643ae5 100644 --- a/docs/examples/1.4.x/server-python/examples/functions/create-deployment.md +++ b/docs/examples/1.4.x/server-python/examples/functions/create-deployment.md @@ -5,7 +5,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/functions/create-execution.md b/docs/examples/1.4.x/server-python/examples/functions/create-execution.md index 7c045225b3..b4476dae98 100644 --- a/docs/examples/1.4.x/server-python/examples/functions/create-execution.md +++ b/docs/examples/1.4.x/server-python/examples/functions/create-execution.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/functions/create-variable.md b/docs/examples/1.4.x/server-python/examples/functions/create-variable.md index f33ed08a71..c24fb5c825 100644 --- a/docs/examples/1.4.x/server-python/examples/functions/create-variable.md +++ b/docs/examples/1.4.x/server-python/examples/functions/create-variable.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/functions/create.md b/docs/examples/1.4.x/server-python/examples/functions/create.md index bf66396961..ddb94da760 100644 --- a/docs/examples/1.4.x/server-python/examples/functions/create.md +++ b/docs/examples/1.4.x/server-python/examples/functions/create.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/functions/delete-deployment.md b/docs/examples/1.4.x/server-python/examples/functions/delete-deployment.md index 42d526eca9..2d186c10c6 100644 --- a/docs/examples/1.4.x/server-python/examples/functions/delete-deployment.md +++ b/docs/examples/1.4.x/server-python/examples/functions/delete-deployment.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/functions/delete-variable.md b/docs/examples/1.4.x/server-python/examples/functions/delete-variable.md index cae0f2df9f..d527ff09ce 100644 --- a/docs/examples/1.4.x/server-python/examples/functions/delete-variable.md +++ b/docs/examples/1.4.x/server-python/examples/functions/delete-variable.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/functions/delete.md b/docs/examples/1.4.x/server-python/examples/functions/delete.md index e89213ec7a..585e2f9b10 100644 --- a/docs/examples/1.4.x/server-python/examples/functions/delete.md +++ b/docs/examples/1.4.x/server-python/examples/functions/delete.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/functions/download-deployment.md b/docs/examples/1.4.x/server-python/examples/functions/download-deployment.md index ee51f67936..9534735d6d 100644 --- a/docs/examples/1.4.x/server-python/examples/functions/download-deployment.md +++ b/docs/examples/1.4.x/server-python/examples/functions/download-deployment.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/functions/get-deployment.md b/docs/examples/1.4.x/server-python/examples/functions/get-deployment.md index 6257b59d2e..ccb30ccbb5 100644 --- a/docs/examples/1.4.x/server-python/examples/functions/get-deployment.md +++ b/docs/examples/1.4.x/server-python/examples/functions/get-deployment.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/functions/get-execution.md b/docs/examples/1.4.x/server-python/examples/functions/get-execution.md index f0e4f0dc67..110a760666 100644 --- a/docs/examples/1.4.x/server-python/examples/functions/get-execution.md +++ b/docs/examples/1.4.x/server-python/examples/functions/get-execution.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/functions/get-variable.md b/docs/examples/1.4.x/server-python/examples/functions/get-variable.md index 4e71bff24f..d6c445dc3f 100644 --- a/docs/examples/1.4.x/server-python/examples/functions/get-variable.md +++ b/docs/examples/1.4.x/server-python/examples/functions/get-variable.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/functions/get.md b/docs/examples/1.4.x/server-python/examples/functions/get.md index 30e1d5959a..4b1bbcf72f 100644 --- a/docs/examples/1.4.x/server-python/examples/functions/get.md +++ b/docs/examples/1.4.x/server-python/examples/functions/get.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/functions/list-deployments.md b/docs/examples/1.4.x/server-python/examples/functions/list-deployments.md index d1797a18b3..9f1eeef978 100644 --- a/docs/examples/1.4.x/server-python/examples/functions/list-deployments.md +++ b/docs/examples/1.4.x/server-python/examples/functions/list-deployments.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/functions/list-executions.md b/docs/examples/1.4.x/server-python/examples/functions/list-executions.md index d70f004478..0491ff2b3d 100644 --- a/docs/examples/1.4.x/server-python/examples/functions/list-executions.md +++ b/docs/examples/1.4.x/server-python/examples/functions/list-executions.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/functions/list-runtimes.md b/docs/examples/1.4.x/server-python/examples/functions/list-runtimes.md index 19b85e2369..6255ce3986 100644 --- a/docs/examples/1.4.x/server-python/examples/functions/list-runtimes.md +++ b/docs/examples/1.4.x/server-python/examples/functions/list-runtimes.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/functions/list-variables.md b/docs/examples/1.4.x/server-python/examples/functions/list-variables.md index 9a72bba9f8..bdaa123e0e 100644 --- a/docs/examples/1.4.x/server-python/examples/functions/list-variables.md +++ b/docs/examples/1.4.x/server-python/examples/functions/list-variables.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/functions/list.md b/docs/examples/1.4.x/server-python/examples/functions/list.md index b8442e5ade..6d05cc952c 100644 --- a/docs/examples/1.4.x/server-python/examples/functions/list.md +++ b/docs/examples/1.4.x/server-python/examples/functions/list.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/functions/update-deployment.md b/docs/examples/1.4.x/server-python/examples/functions/update-deployment.md index 87dd09710f..bb5eb869f9 100644 --- a/docs/examples/1.4.x/server-python/examples/functions/update-deployment.md +++ b/docs/examples/1.4.x/server-python/examples/functions/update-deployment.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/functions/update-variable.md b/docs/examples/1.4.x/server-python/examples/functions/update-variable.md index ab5b43abce..4c98e06807 100644 --- a/docs/examples/1.4.x/server-python/examples/functions/update-variable.md +++ b/docs/examples/1.4.x/server-python/examples/functions/update-variable.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/functions/update.md b/docs/examples/1.4.x/server-python/examples/functions/update.md index 3960054f3a..a03fd2c02e 100644 --- a/docs/examples/1.4.x/server-python/examples/functions/update.md +++ b/docs/examples/1.4.x/server-python/examples/functions/update.md @@ -4,7 +4,7 @@ from appwrite.services.functions import Functions client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/graphql/mutation.md b/docs/examples/1.4.x/server-python/examples/graphql/mutation.md index 24226a5a01..9f43d0e5d1 100644 --- a/docs/examples/1.4.x/server-python/examples/graphql/mutation.md +++ b/docs/examples/1.4.x/server-python/examples/graphql/mutation.md @@ -4,7 +4,7 @@ from appwrite.services.graphql import Graphql client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/graphql/query.md b/docs/examples/1.4.x/server-python/examples/graphql/query.md index 8e1597c759..a7315f8d31 100644 --- a/docs/examples/1.4.x/server-python/examples/graphql/query.md +++ b/docs/examples/1.4.x/server-python/examples/graphql/query.md @@ -4,7 +4,7 @@ from appwrite.services.graphql import Graphql client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/health/get-antivirus.md b/docs/examples/1.4.x/server-python/examples/health/get-antivirus.md index fbfaf0e52e..2837200104 100644 --- a/docs/examples/1.4.x/server-python/examples/health/get-antivirus.md +++ b/docs/examples/1.4.x/server-python/examples/health/get-antivirus.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/health/get-cache.md b/docs/examples/1.4.x/server-python/examples/health/get-cache.md index 40bc01000b..44ac2fa940 100644 --- a/docs/examples/1.4.x/server-python/examples/health/get-cache.md +++ b/docs/examples/1.4.x/server-python/examples/health/get-cache.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/health/get-d-b.md b/docs/examples/1.4.x/server-python/examples/health/get-d-b.md index 803dd73bd3..7362e83916 100644 --- a/docs/examples/1.4.x/server-python/examples/health/get-d-b.md +++ b/docs/examples/1.4.x/server-python/examples/health/get-d-b.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/health/get-pub-sub.md b/docs/examples/1.4.x/server-python/examples/health/get-pub-sub.md index 43ada69a0f..72fe297e6e 100644 --- a/docs/examples/1.4.x/server-python/examples/health/get-pub-sub.md +++ b/docs/examples/1.4.x/server-python/examples/health/get-pub-sub.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/health/get-queue-builds.md b/docs/examples/1.4.x/server-python/examples/health/get-queue-builds.md index 3170559e15..b87480b2fe 100644 --- a/docs/examples/1.4.x/server-python/examples/health/get-queue-builds.md +++ b/docs/examples/1.4.x/server-python/examples/health/get-queue-builds.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/health/get-queue-certificates.md b/docs/examples/1.4.x/server-python/examples/health/get-queue-certificates.md index 4fb0266d11..fed14c831a 100644 --- a/docs/examples/1.4.x/server-python/examples/health/get-queue-certificates.md +++ b/docs/examples/1.4.x/server-python/examples/health/get-queue-certificates.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/health/get-queue-databases.md b/docs/examples/1.4.x/server-python/examples/health/get-queue-databases.md index 4faff96905..aad59d06d7 100644 --- a/docs/examples/1.4.x/server-python/examples/health/get-queue-databases.md +++ b/docs/examples/1.4.x/server-python/examples/health/get-queue-databases.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/health/get-queue-deletes.md b/docs/examples/1.4.x/server-python/examples/health/get-queue-deletes.md index c84b9be828..b9917720a0 100644 --- a/docs/examples/1.4.x/server-python/examples/health/get-queue-deletes.md +++ b/docs/examples/1.4.x/server-python/examples/health/get-queue-deletes.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/health/get-queue-functions.md b/docs/examples/1.4.x/server-python/examples/health/get-queue-functions.md index 92e4e2021d..96700cc2fd 100644 --- a/docs/examples/1.4.x/server-python/examples/health/get-queue-functions.md +++ b/docs/examples/1.4.x/server-python/examples/health/get-queue-functions.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/health/get-queue-logs.md b/docs/examples/1.4.x/server-python/examples/health/get-queue-logs.md index b798ad7332..985309b9ff 100644 --- a/docs/examples/1.4.x/server-python/examples/health/get-queue-logs.md +++ b/docs/examples/1.4.x/server-python/examples/health/get-queue-logs.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/health/get-queue-mails.md b/docs/examples/1.4.x/server-python/examples/health/get-queue-mails.md index cc2c3bc85d..f71e209a6b 100644 --- a/docs/examples/1.4.x/server-python/examples/health/get-queue-mails.md +++ b/docs/examples/1.4.x/server-python/examples/health/get-queue-mails.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/health/get-queue-messaging.md b/docs/examples/1.4.x/server-python/examples/health/get-queue-messaging.md index 95200f36a3..6200118989 100644 --- a/docs/examples/1.4.x/server-python/examples/health/get-queue-messaging.md +++ b/docs/examples/1.4.x/server-python/examples/health/get-queue-messaging.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/health/get-queue-migrations.md b/docs/examples/1.4.x/server-python/examples/health/get-queue-migrations.md index 1c916637a9..0b47ea048e 100644 --- a/docs/examples/1.4.x/server-python/examples/health/get-queue-migrations.md +++ b/docs/examples/1.4.x/server-python/examples/health/get-queue-migrations.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/health/get-queue-webhooks.md b/docs/examples/1.4.x/server-python/examples/health/get-queue-webhooks.md index 8406de1ff8..62da17c248 100644 --- a/docs/examples/1.4.x/server-python/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.4.x/server-python/examples/health/get-queue-webhooks.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/health/get-queue.md b/docs/examples/1.4.x/server-python/examples/health/get-queue.md index 5a35588163..03561e6de2 100644 --- a/docs/examples/1.4.x/server-python/examples/health/get-queue.md +++ b/docs/examples/1.4.x/server-python/examples/health/get-queue.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/health/get-storage-local.md b/docs/examples/1.4.x/server-python/examples/health/get-storage-local.md index bb2533e27f..297a6a5714 100644 --- a/docs/examples/1.4.x/server-python/examples/health/get-storage-local.md +++ b/docs/examples/1.4.x/server-python/examples/health/get-storage-local.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/health/get-time.md b/docs/examples/1.4.x/server-python/examples/health/get-time.md index 9fe313dd5f..0034705ed9 100644 --- a/docs/examples/1.4.x/server-python/examples/health/get-time.md +++ b/docs/examples/1.4.x/server-python/examples/health/get-time.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/health/get.md b/docs/examples/1.4.x/server-python/examples/health/get.md index d3ff594387..118be474f3 100644 --- a/docs/examples/1.4.x/server-python/examples/health/get.md +++ b/docs/examples/1.4.x/server-python/examples/health/get.md @@ -4,7 +4,7 @@ from appwrite.services.health import Health client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/locale/get.md b/docs/examples/1.4.x/server-python/examples/locale/get.md index 06b04f2f63..de81e967db 100644 --- a/docs/examples/1.4.x/server-python/examples/locale/get.md +++ b/docs/examples/1.4.x/server-python/examples/locale/get.md @@ -4,7 +4,7 @@ from appwrite.services.locale import Locale client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/locale/list-codes.md b/docs/examples/1.4.x/server-python/examples/locale/list-codes.md index 3dc6cf8327..9c342603f0 100644 --- a/docs/examples/1.4.x/server-python/examples/locale/list-codes.md +++ b/docs/examples/1.4.x/server-python/examples/locale/list-codes.md @@ -4,7 +4,7 @@ from appwrite.services.locale import Locale client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/locale/list-continents.md b/docs/examples/1.4.x/server-python/examples/locale/list-continents.md index ba9c94f8a9..bcd150f5cd 100644 --- a/docs/examples/1.4.x/server-python/examples/locale/list-continents.md +++ b/docs/examples/1.4.x/server-python/examples/locale/list-continents.md @@ -4,7 +4,7 @@ from appwrite.services.locale import Locale client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/locale/list-countries-e-u.md b/docs/examples/1.4.x/server-python/examples/locale/list-countries-e-u.md index ea4c43cab6..2dc40cd487 100644 --- a/docs/examples/1.4.x/server-python/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.4.x/server-python/examples/locale/list-countries-e-u.md @@ -4,7 +4,7 @@ from appwrite.services.locale import Locale client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/locale/list-countries-phones.md b/docs/examples/1.4.x/server-python/examples/locale/list-countries-phones.md index 5a4cafe520..b1b0773b3f 100644 --- a/docs/examples/1.4.x/server-python/examples/locale/list-countries-phones.md +++ b/docs/examples/1.4.x/server-python/examples/locale/list-countries-phones.md @@ -4,7 +4,7 @@ from appwrite.services.locale import Locale client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/locale/list-countries.md b/docs/examples/1.4.x/server-python/examples/locale/list-countries.md index f8ec83c83e..278a039bbd 100644 --- a/docs/examples/1.4.x/server-python/examples/locale/list-countries.md +++ b/docs/examples/1.4.x/server-python/examples/locale/list-countries.md @@ -4,7 +4,7 @@ from appwrite.services.locale import Locale client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/locale/list-currencies.md b/docs/examples/1.4.x/server-python/examples/locale/list-currencies.md index 347e81c54c..077d7c393c 100644 --- a/docs/examples/1.4.x/server-python/examples/locale/list-currencies.md +++ b/docs/examples/1.4.x/server-python/examples/locale/list-currencies.md @@ -4,7 +4,7 @@ from appwrite.services.locale import Locale client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/locale/list-languages.md b/docs/examples/1.4.x/server-python/examples/locale/list-languages.md index ce50a6efe7..9cc7c8f975 100644 --- a/docs/examples/1.4.x/server-python/examples/locale/list-languages.md +++ b/docs/examples/1.4.x/server-python/examples/locale/list-languages.md @@ -4,7 +4,7 @@ from appwrite.services.locale import Locale client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/storage/create-bucket.md b/docs/examples/1.4.x/server-python/examples/storage/create-bucket.md index 72ffdccbd8..1955987f17 100644 --- a/docs/examples/1.4.x/server-python/examples/storage/create-bucket.md +++ b/docs/examples/1.4.x/server-python/examples/storage/create-bucket.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/storage/create-file.md b/docs/examples/1.4.x/server-python/examples/storage/create-file.md index b469b5bdd5..250f469290 100644 --- a/docs/examples/1.4.x/server-python/examples/storage/create-file.md +++ b/docs/examples/1.4.x/server-python/examples/storage/create-file.md @@ -5,7 +5,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/storage/delete-bucket.md b/docs/examples/1.4.x/server-python/examples/storage/delete-bucket.md index 60dc1074fd..c6c93435d0 100644 --- a/docs/examples/1.4.x/server-python/examples/storage/delete-bucket.md +++ b/docs/examples/1.4.x/server-python/examples/storage/delete-bucket.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/storage/delete-file.md b/docs/examples/1.4.x/server-python/examples/storage/delete-file.md index 9bed0af784..accf6697bf 100644 --- a/docs/examples/1.4.x/server-python/examples/storage/delete-file.md +++ b/docs/examples/1.4.x/server-python/examples/storage/delete-file.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/storage/get-bucket.md b/docs/examples/1.4.x/server-python/examples/storage/get-bucket.md index 7ea64f22aa..4fd4e70b31 100644 --- a/docs/examples/1.4.x/server-python/examples/storage/get-bucket.md +++ b/docs/examples/1.4.x/server-python/examples/storage/get-bucket.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/storage/get-file-download.md b/docs/examples/1.4.x/server-python/examples/storage/get-file-download.md index e9f5cce824..ef57f10955 100644 --- a/docs/examples/1.4.x/server-python/examples/storage/get-file-download.md +++ b/docs/examples/1.4.x/server-python/examples/storage/get-file-download.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/storage/get-file-preview.md b/docs/examples/1.4.x/server-python/examples/storage/get-file-preview.md index 4e12291f13..c7b90b9655 100644 --- a/docs/examples/1.4.x/server-python/examples/storage/get-file-preview.md +++ b/docs/examples/1.4.x/server-python/examples/storage/get-file-preview.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/storage/get-file-view.md b/docs/examples/1.4.x/server-python/examples/storage/get-file-view.md index 01cbfafd26..bd8efc6e45 100644 --- a/docs/examples/1.4.x/server-python/examples/storage/get-file-view.md +++ b/docs/examples/1.4.x/server-python/examples/storage/get-file-view.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/storage/get-file.md b/docs/examples/1.4.x/server-python/examples/storage/get-file.md index f83ed8aa61..e0013ba120 100644 --- a/docs/examples/1.4.x/server-python/examples/storage/get-file.md +++ b/docs/examples/1.4.x/server-python/examples/storage/get-file.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/storage/list-buckets.md b/docs/examples/1.4.x/server-python/examples/storage/list-buckets.md index 204fd9598c..450f876d92 100644 --- a/docs/examples/1.4.x/server-python/examples/storage/list-buckets.md +++ b/docs/examples/1.4.x/server-python/examples/storage/list-buckets.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/storage/list-files.md b/docs/examples/1.4.x/server-python/examples/storage/list-files.md index 63101e215e..05df2d0056 100644 --- a/docs/examples/1.4.x/server-python/examples/storage/list-files.md +++ b/docs/examples/1.4.x/server-python/examples/storage/list-files.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/storage/update-bucket.md b/docs/examples/1.4.x/server-python/examples/storage/update-bucket.md index fb1b76b222..f47bfa3d0e 100644 --- a/docs/examples/1.4.x/server-python/examples/storage/update-bucket.md +++ b/docs/examples/1.4.x/server-python/examples/storage/update-bucket.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/storage/update-file.md b/docs/examples/1.4.x/server-python/examples/storage/update-file.md index 24a92e36c6..3208e44d2f 100644 --- a/docs/examples/1.4.x/server-python/examples/storage/update-file.md +++ b/docs/examples/1.4.x/server-python/examples/storage/update-file.md @@ -4,7 +4,7 @@ from appwrite.services.storage import Storage client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/teams/create-membership.md b/docs/examples/1.4.x/server-python/examples/teams/create-membership.md index cde8455a96..0c637ef99a 100644 --- a/docs/examples/1.4.x/server-python/examples/teams/create-membership.md +++ b/docs/examples/1.4.x/server-python/examples/teams/create-membership.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/teams/create.md b/docs/examples/1.4.x/server-python/examples/teams/create.md index c69012359f..87e76cb062 100644 --- a/docs/examples/1.4.x/server-python/examples/teams/create.md +++ b/docs/examples/1.4.x/server-python/examples/teams/create.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/teams/delete-membership.md b/docs/examples/1.4.x/server-python/examples/teams/delete-membership.md index f8d875986f..7f5e4055d1 100644 --- a/docs/examples/1.4.x/server-python/examples/teams/delete-membership.md +++ b/docs/examples/1.4.x/server-python/examples/teams/delete-membership.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/teams/delete.md b/docs/examples/1.4.x/server-python/examples/teams/delete.md index 4fc0fa44cc..651b861f03 100644 --- a/docs/examples/1.4.x/server-python/examples/teams/delete.md +++ b/docs/examples/1.4.x/server-python/examples/teams/delete.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/teams/get-membership.md b/docs/examples/1.4.x/server-python/examples/teams/get-membership.md index e9c62ae3e3..3c351b16f7 100644 --- a/docs/examples/1.4.x/server-python/examples/teams/get-membership.md +++ b/docs/examples/1.4.x/server-python/examples/teams/get-membership.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/teams/get-prefs.md b/docs/examples/1.4.x/server-python/examples/teams/get-prefs.md index 40909fa7d8..b2b10fbbb2 100644 --- a/docs/examples/1.4.x/server-python/examples/teams/get-prefs.md +++ b/docs/examples/1.4.x/server-python/examples/teams/get-prefs.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.4.x/server-python/examples/teams/get.md b/docs/examples/1.4.x/server-python/examples/teams/get.md index fdca2fc28f..32100ad47f 100644 --- a/docs/examples/1.4.x/server-python/examples/teams/get.md +++ b/docs/examples/1.4.x/server-python/examples/teams/get.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/teams/list-memberships.md b/docs/examples/1.4.x/server-python/examples/teams/list-memberships.md index 63e662a7a6..5001ae3e8a 100644 --- a/docs/examples/1.4.x/server-python/examples/teams/list-memberships.md +++ b/docs/examples/1.4.x/server-python/examples/teams/list-memberships.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/teams/list.md b/docs/examples/1.4.x/server-python/examples/teams/list.md index e60cb60dab..5a73d32766 100644 --- a/docs/examples/1.4.x/server-python/examples/teams/list.md +++ b/docs/examples/1.4.x/server-python/examples/teams/list.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/teams/update-membership-status.md b/docs/examples/1.4.x/server-python/examples/teams/update-membership-status.md index a6cd4cd45f..f35f8f7792 100644 --- a/docs/examples/1.4.x/server-python/examples/teams/update-membership-status.md +++ b/docs/examples/1.4.x/server-python/examples/teams/update-membership-status.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.4.x/server-python/examples/teams/update-membership.md b/docs/examples/1.4.x/server-python/examples/teams/update-membership.md index 816c6ad894..aa31d90be2 100644 --- a/docs/examples/1.4.x/server-python/examples/teams/update-membership.md +++ b/docs/examples/1.4.x/server-python/examples/teams/update-membership.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/teams/update-name.md b/docs/examples/1.4.x/server-python/examples/teams/update-name.md index 929f4ecb48..b890196f11 100644 --- a/docs/examples/1.4.x/server-python/examples/teams/update-name.md +++ b/docs/examples/1.4.x/server-python/examples/teams/update-name.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/teams/update-prefs.md b/docs/examples/1.4.x/server-python/examples/teams/update-prefs.md index 4176c622a0..ef5c5989f7 100644 --- a/docs/examples/1.4.x/server-python/examples/teams/update-prefs.md +++ b/docs/examples/1.4.x/server-python/examples/teams/update-prefs.md @@ -4,7 +4,7 @@ from appwrite.services.teams import Teams client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token ) diff --git a/docs/examples/1.4.x/server-python/examples/users/create-argon2user.md b/docs/examples/1.4.x/server-python/examples/users/create-argon2user.md index be1e8cef36..6314988132 100644 --- a/docs/examples/1.4.x/server-python/examples/users/create-argon2user.md +++ b/docs/examples/1.4.x/server-python/examples/users/create-argon2user.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/users/create-bcrypt-user.md b/docs/examples/1.4.x/server-python/examples/users/create-bcrypt-user.md index 77c9918879..32632b9c1d 100644 --- a/docs/examples/1.4.x/server-python/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.4.x/server-python/examples/users/create-bcrypt-user.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/users/create-m-d5user.md b/docs/examples/1.4.x/server-python/examples/users/create-m-d5user.md index f3ab3f8418..d2ecc0cc0b 100644 --- a/docs/examples/1.4.x/server-python/examples/users/create-m-d5user.md +++ b/docs/examples/1.4.x/server-python/examples/users/create-m-d5user.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/users/create-p-h-pass-user.md b/docs/examples/1.4.x/server-python/examples/users/create-p-h-pass-user.md index e715f47c14..7f4c6bcfd6 100644 --- a/docs/examples/1.4.x/server-python/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.4.x/server-python/examples/users/create-p-h-pass-user.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/users/create-s-h-a-user.md b/docs/examples/1.4.x/server-python/examples/users/create-s-h-a-user.md index 2a2db5a673..17e4209ae7 100644 --- a/docs/examples/1.4.x/server-python/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.4.x/server-python/examples/users/create-s-h-a-user.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/users/create-scrypt-modified-user.md b/docs/examples/1.4.x/server-python/examples/users/create-scrypt-modified-user.md index 0b42e98dc7..64b54170ae 100644 --- a/docs/examples/1.4.x/server-python/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.4.x/server-python/examples/users/create-scrypt-modified-user.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/users/create-scrypt-user.md b/docs/examples/1.4.x/server-python/examples/users/create-scrypt-user.md index b445623018..9a934d5cae 100644 --- a/docs/examples/1.4.x/server-python/examples/users/create-scrypt-user.md +++ b/docs/examples/1.4.x/server-python/examples/users/create-scrypt-user.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/users/create.md b/docs/examples/1.4.x/server-python/examples/users/create.md index 05249c08ea..657449e3b1 100644 --- a/docs/examples/1.4.x/server-python/examples/users/create.md +++ b/docs/examples/1.4.x/server-python/examples/users/create.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/users/delete-identity.md b/docs/examples/1.4.x/server-python/examples/users/delete-identity.md index d1038248ab..c50d877ab1 100644 --- a/docs/examples/1.4.x/server-python/examples/users/delete-identity.md +++ b/docs/examples/1.4.x/server-python/examples/users/delete-identity.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/users/delete-session.md b/docs/examples/1.4.x/server-python/examples/users/delete-session.md index 26b041db1d..baba61e58b 100644 --- a/docs/examples/1.4.x/server-python/examples/users/delete-session.md +++ b/docs/examples/1.4.x/server-python/examples/users/delete-session.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/users/delete-sessions.md b/docs/examples/1.4.x/server-python/examples/users/delete-sessions.md index dabe4f627d..0c7f38ba8e 100644 --- a/docs/examples/1.4.x/server-python/examples/users/delete-sessions.md +++ b/docs/examples/1.4.x/server-python/examples/users/delete-sessions.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/users/delete.md b/docs/examples/1.4.x/server-python/examples/users/delete.md index 7fdc77576b..4a21cab6fd 100644 --- a/docs/examples/1.4.x/server-python/examples/users/delete.md +++ b/docs/examples/1.4.x/server-python/examples/users/delete.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/users/get-prefs.md b/docs/examples/1.4.x/server-python/examples/users/get-prefs.md index 2bbaa88c59..bf325a4fda 100644 --- a/docs/examples/1.4.x/server-python/examples/users/get-prefs.md +++ b/docs/examples/1.4.x/server-python/examples/users/get-prefs.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/users/get.md b/docs/examples/1.4.x/server-python/examples/users/get.md index 463957d394..7491d3db17 100644 --- a/docs/examples/1.4.x/server-python/examples/users/get.md +++ b/docs/examples/1.4.x/server-python/examples/users/get.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/users/list-identities.md b/docs/examples/1.4.x/server-python/examples/users/list-identities.md index 0addd3ec8a..283c8a1231 100644 --- a/docs/examples/1.4.x/server-python/examples/users/list-identities.md +++ b/docs/examples/1.4.x/server-python/examples/users/list-identities.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/users/list-logs.md b/docs/examples/1.4.x/server-python/examples/users/list-logs.md index ca3a5eb815..84dc775e04 100644 --- a/docs/examples/1.4.x/server-python/examples/users/list-logs.md +++ b/docs/examples/1.4.x/server-python/examples/users/list-logs.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/users/list-memberships.md b/docs/examples/1.4.x/server-python/examples/users/list-memberships.md index 0dfb97afce..d091789b8b 100644 --- a/docs/examples/1.4.x/server-python/examples/users/list-memberships.md +++ b/docs/examples/1.4.x/server-python/examples/users/list-memberships.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/users/list-sessions.md b/docs/examples/1.4.x/server-python/examples/users/list-sessions.md index 5f8fbd68ea..75e3383a14 100644 --- a/docs/examples/1.4.x/server-python/examples/users/list-sessions.md +++ b/docs/examples/1.4.x/server-python/examples/users/list-sessions.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/users/list.md b/docs/examples/1.4.x/server-python/examples/users/list.md index baaf42c574..1f82be4b74 100644 --- a/docs/examples/1.4.x/server-python/examples/users/list.md +++ b/docs/examples/1.4.x/server-python/examples/users/list.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/users/update-email-verification.md b/docs/examples/1.4.x/server-python/examples/users/update-email-verification.md index 8be33ad97f..2828171035 100644 --- a/docs/examples/1.4.x/server-python/examples/users/update-email-verification.md +++ b/docs/examples/1.4.x/server-python/examples/users/update-email-verification.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/users/update-email.md b/docs/examples/1.4.x/server-python/examples/users/update-email.md index 4899bd3936..370fedf8c4 100644 --- a/docs/examples/1.4.x/server-python/examples/users/update-email.md +++ b/docs/examples/1.4.x/server-python/examples/users/update-email.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/users/update-labels.md b/docs/examples/1.4.x/server-python/examples/users/update-labels.md index b2d4c2dd01..67e1371cfc 100644 --- a/docs/examples/1.4.x/server-python/examples/users/update-labels.md +++ b/docs/examples/1.4.x/server-python/examples/users/update-labels.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/users/update-name.md b/docs/examples/1.4.x/server-python/examples/users/update-name.md index 66bb6b2920..e8411d203b 100644 --- a/docs/examples/1.4.x/server-python/examples/users/update-name.md +++ b/docs/examples/1.4.x/server-python/examples/users/update-name.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/users/update-password.md b/docs/examples/1.4.x/server-python/examples/users/update-password.md index e79f1255b8..548768b400 100644 --- a/docs/examples/1.4.x/server-python/examples/users/update-password.md +++ b/docs/examples/1.4.x/server-python/examples/users/update-password.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/users/update-phone-verification.md b/docs/examples/1.4.x/server-python/examples/users/update-phone-verification.md index e42317ca30..e2d69ef2fc 100644 --- a/docs/examples/1.4.x/server-python/examples/users/update-phone-verification.md +++ b/docs/examples/1.4.x/server-python/examples/users/update-phone-verification.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/users/update-phone.md b/docs/examples/1.4.x/server-python/examples/users/update-phone.md index 6df39fc994..b6165469e8 100644 --- a/docs/examples/1.4.x/server-python/examples/users/update-phone.md +++ b/docs/examples/1.4.x/server-python/examples/users/update-phone.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/users/update-prefs.md b/docs/examples/1.4.x/server-python/examples/users/update-prefs.md index 53d1e524e2..432b9da023 100644 --- a/docs/examples/1.4.x/server-python/examples/users/update-prefs.md +++ b/docs/examples/1.4.x/server-python/examples/users/update-prefs.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-python/examples/users/update-status.md b/docs/examples/1.4.x/server-python/examples/users/update-status.md index 6d1577d401..2afab7539f 100644 --- a/docs/examples/1.4.x/server-python/examples/users/update-status.md +++ b/docs/examples/1.4.x/server-python/examples/users/update-status.md @@ -4,7 +4,7 @@ from appwrite.services.users import Users client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.4.x/server-ruby/examples/account/create-phone-verification.md b/docs/examples/1.4.x/server-ruby/examples/account/create-phone-verification.md index 60e88d38eb..54f287c24d 100644 --- a/docs/examples/1.4.x/server-ruby/examples/account/create-phone-verification.md +++ b/docs/examples/1.4.x/server-ruby/examples/account/create-phone-verification.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-ruby/examples/account/create-recovery.md b/docs/examples/1.4.x/server-ruby/examples/account/create-recovery.md index 5bc3e8166b..f6f5fbf80a 100644 --- a/docs/examples/1.4.x/server-ruby/examples/account/create-recovery.md +++ b/docs/examples/1.4.x/server-ruby/examples/account/create-recovery.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-ruby/examples/account/create-verification.md b/docs/examples/1.4.x/server-ruby/examples/account/create-verification.md index 2693bb6b1e..5dcb637749 100644 --- a/docs/examples/1.4.x/server-ruby/examples/account/create-verification.md +++ b/docs/examples/1.4.x/server-ruby/examples/account/create-verification.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-ruby/examples/account/delete-identity.md b/docs/examples/1.4.x/server-ruby/examples/account/delete-identity.md index 0aff3bfeaa..c3164123f7 100644 --- a/docs/examples/1.4.x/server-ruby/examples/account/delete-identity.md +++ b/docs/examples/1.4.x/server-ruby/examples/account/delete-identity.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-ruby/examples/account/delete-session.md b/docs/examples/1.4.x/server-ruby/examples/account/delete-session.md index 89589c0763..f3b25e7232 100644 --- a/docs/examples/1.4.x/server-ruby/examples/account/delete-session.md +++ b/docs/examples/1.4.x/server-ruby/examples/account/delete-session.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-ruby/examples/account/delete-sessions.md b/docs/examples/1.4.x/server-ruby/examples/account/delete-sessions.md index a1a6a2c14a..46f18d9a67 100644 --- a/docs/examples/1.4.x/server-ruby/examples/account/delete-sessions.md +++ b/docs/examples/1.4.x/server-ruby/examples/account/delete-sessions.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-ruby/examples/account/get-prefs.md b/docs/examples/1.4.x/server-ruby/examples/account/get-prefs.md index d2f684e3f0..e13c47b2f5 100644 --- a/docs/examples/1.4.x/server-ruby/examples/account/get-prefs.md +++ b/docs/examples/1.4.x/server-ruby/examples/account/get-prefs.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-ruby/examples/account/get-session.md b/docs/examples/1.4.x/server-ruby/examples/account/get-session.md index 12d048abef..1b331e10aa 100644 --- a/docs/examples/1.4.x/server-ruby/examples/account/get-session.md +++ b/docs/examples/1.4.x/server-ruby/examples/account/get-session.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-ruby/examples/account/get.md b/docs/examples/1.4.x/server-ruby/examples/account/get.md index 29ca620791..72cf8b9026 100644 --- a/docs/examples/1.4.x/server-ruby/examples/account/get.md +++ b/docs/examples/1.4.x/server-ruby/examples/account/get.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-ruby/examples/account/list-identities.md b/docs/examples/1.4.x/server-ruby/examples/account/list-identities.md index dec816d991..18af2b1a1d 100644 --- a/docs/examples/1.4.x/server-ruby/examples/account/list-identities.md +++ b/docs/examples/1.4.x/server-ruby/examples/account/list-identities.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-ruby/examples/account/list-logs.md b/docs/examples/1.4.x/server-ruby/examples/account/list-logs.md index 874ea7e443..01cdd0e767 100644 --- a/docs/examples/1.4.x/server-ruby/examples/account/list-logs.md +++ b/docs/examples/1.4.x/server-ruby/examples/account/list-logs.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-ruby/examples/account/list-sessions.md b/docs/examples/1.4.x/server-ruby/examples/account/list-sessions.md index 961142ebc2..8d08ef3e1e 100644 --- a/docs/examples/1.4.x/server-ruby/examples/account/list-sessions.md +++ b/docs/examples/1.4.x/server-ruby/examples/account/list-sessions.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-ruby/examples/account/update-email.md b/docs/examples/1.4.x/server-ruby/examples/account/update-email.md index c9088d0ffc..55acbc15db 100644 --- a/docs/examples/1.4.x/server-ruby/examples/account/update-email.md +++ b/docs/examples/1.4.x/server-ruby/examples/account/update-email.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-ruby/examples/account/update-name.md b/docs/examples/1.4.x/server-ruby/examples/account/update-name.md index e75e9a1f07..455cf8048a 100644 --- a/docs/examples/1.4.x/server-ruby/examples/account/update-name.md +++ b/docs/examples/1.4.x/server-ruby/examples/account/update-name.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-ruby/examples/account/update-password.md b/docs/examples/1.4.x/server-ruby/examples/account/update-password.md index c453a12b46..b18cf53391 100644 --- a/docs/examples/1.4.x/server-ruby/examples/account/update-password.md +++ b/docs/examples/1.4.x/server-ruby/examples/account/update-password.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-ruby/examples/account/update-phone-verification.md b/docs/examples/1.4.x/server-ruby/examples/account/update-phone-verification.md index 9a38320e7d..58f5e29e23 100644 --- a/docs/examples/1.4.x/server-ruby/examples/account/update-phone-verification.md +++ b/docs/examples/1.4.x/server-ruby/examples/account/update-phone-verification.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-ruby/examples/account/update-phone.md b/docs/examples/1.4.x/server-ruby/examples/account/update-phone.md index 81bbb322d0..5f81881006 100644 --- a/docs/examples/1.4.x/server-ruby/examples/account/update-phone.md +++ b/docs/examples/1.4.x/server-ruby/examples/account/update-phone.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-ruby/examples/account/update-prefs.md b/docs/examples/1.4.x/server-ruby/examples/account/update-prefs.md index 4a379d9bf0..bfaf7ad885 100644 --- a/docs/examples/1.4.x/server-ruby/examples/account/update-prefs.md +++ b/docs/examples/1.4.x/server-ruby/examples/account/update-prefs.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-ruby/examples/account/update-recovery.md b/docs/examples/1.4.x/server-ruby/examples/account/update-recovery.md index bbedfa1742..4202bca4c0 100644 --- a/docs/examples/1.4.x/server-ruby/examples/account/update-recovery.md +++ b/docs/examples/1.4.x/server-ruby/examples/account/update-recovery.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-ruby/examples/account/update-session.md b/docs/examples/1.4.x/server-ruby/examples/account/update-session.md index 724251e85a..032c95d8d7 100644 --- a/docs/examples/1.4.x/server-ruby/examples/account/update-session.md +++ b/docs/examples/1.4.x/server-ruby/examples/account/update-session.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-ruby/examples/account/update-status.md b/docs/examples/1.4.x/server-ruby/examples/account/update-status.md index 5f3bb37610..520981db91 100644 --- a/docs/examples/1.4.x/server-ruby/examples/account/update-status.md +++ b/docs/examples/1.4.x/server-ruby/examples/account/update-status.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-ruby/examples/account/update-verification.md b/docs/examples/1.4.x/server-ruby/examples/account/update-verification.md index 416ab5184d..92297e79ba 100644 --- a/docs/examples/1.4.x/server-ruby/examples/account/update-verification.md +++ b/docs/examples/1.4.x/server-ruby/examples/account/update-verification.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-ruby/examples/avatars/get-browser.md b/docs/examples/1.4.x/server-ruby/examples/avatars/get-browser.md index 969eb5bb6c..38786cf1c3 100644 --- a/docs/examples/1.4.x/server-ruby/examples/avatars/get-browser.md +++ b/docs/examples/1.4.x/server-ruby/examples/avatars/get-browser.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/avatars/get-credit-card.md b/docs/examples/1.4.x/server-ruby/examples/avatars/get-credit-card.md index 81a81ceeb2..c31c9e237d 100644 --- a/docs/examples/1.4.x/server-ruby/examples/avatars/get-credit-card.md +++ b/docs/examples/1.4.x/server-ruby/examples/avatars/get-credit-card.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/avatars/get-favicon.md b/docs/examples/1.4.x/server-ruby/examples/avatars/get-favicon.md index b1a574522a..49683892d0 100644 --- a/docs/examples/1.4.x/server-ruby/examples/avatars/get-favicon.md +++ b/docs/examples/1.4.x/server-ruby/examples/avatars/get-favicon.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/avatars/get-flag.md b/docs/examples/1.4.x/server-ruby/examples/avatars/get-flag.md index ed53143b2f..0080ba09a1 100644 --- a/docs/examples/1.4.x/server-ruby/examples/avatars/get-flag.md +++ b/docs/examples/1.4.x/server-ruby/examples/avatars/get-flag.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/avatars/get-image.md b/docs/examples/1.4.x/server-ruby/examples/avatars/get-image.md index 59fb6c36c5..7745cadb12 100644 --- a/docs/examples/1.4.x/server-ruby/examples/avatars/get-image.md +++ b/docs/examples/1.4.x/server-ruby/examples/avatars/get-image.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/avatars/get-initials.md b/docs/examples/1.4.x/server-ruby/examples/avatars/get-initials.md index 93263baccb..8803ac8f35 100644 --- a/docs/examples/1.4.x/server-ruby/examples/avatars/get-initials.md +++ b/docs/examples/1.4.x/server-ruby/examples/avatars/get-initials.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/avatars/get-q-r.md b/docs/examples/1.4.x/server-ruby/examples/avatars/get-q-r.md index bdaa14f892..fdc53b1021 100644 --- a/docs/examples/1.4.x/server-ruby/examples/avatars/get-q-r.md +++ b/docs/examples/1.4.x/server-ruby/examples/avatars/get-q-r.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/create-boolean-attribute.md b/docs/examples/1.4.x/server-ruby/examples/databases/create-boolean-attribute.md index 524c01a2e3..201b3fd36b 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/create-boolean-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/create-collection.md b/docs/examples/1.4.x/server-ruby/examples/databases/create-collection.md index 396fa2b6cc..d48dbec779 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/create-collection.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/create-collection.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/create-datetime-attribute.md b/docs/examples/1.4.x/server-ruby/examples/databases/create-datetime-attribute.md index 7e306bf5e2..022cc4118e 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/create-datetime-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/create-document.md b/docs/examples/1.4.x/server-ruby/examples/databases/create-document.md index e1faebd92e..ec985cf34d 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/create-document.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/create-document.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/create-email-attribute.md b/docs/examples/1.4.x/server-ruby/examples/databases/create-email-attribute.md index c81b176ac7..73e89ffde0 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/create-email-attribute.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/create-email-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/create-enum-attribute.md b/docs/examples/1.4.x/server-ruby/examples/databases/create-enum-attribute.md index 1505c9db20..2e712d045c 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/create-enum-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/create-float-attribute.md b/docs/examples/1.4.x/server-ruby/examples/databases/create-float-attribute.md index b1d7e981df..9e3406b6e2 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/create-float-attribute.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/create-float-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/create-index.md b/docs/examples/1.4.x/server-ruby/examples/databases/create-index.md index 456e293f6e..74df580eaf 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/create-index.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/create-index.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/create-integer-attribute.md b/docs/examples/1.4.x/server-ruby/examples/databases/create-integer-attribute.md index 55079da7c6..4419e87ae1 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/create-integer-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/create-ip-attribute.md b/docs/examples/1.4.x/server-ruby/examples/databases/create-ip-attribute.md index c414d631d5..ce04aa21a9 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/create-ip-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/create-relationship-attribute.md b/docs/examples/1.4.x/server-ruby/examples/databases/create-relationship-attribute.md index 73ca419ff8..a4e55221df 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/create-relationship-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/create-string-attribute.md b/docs/examples/1.4.x/server-ruby/examples/databases/create-string-attribute.md index 9027496caa..b6774761ea 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/create-string-attribute.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/create-string-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/create-url-attribute.md b/docs/examples/1.4.x/server-ruby/examples/databases/create-url-attribute.md index 6c7d356e8b..18d119a9b9 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/create-url-attribute.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/create-url-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/create.md b/docs/examples/1.4.x/server-ruby/examples/databases/create.md index 494ca1503b..77c59ab307 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/create.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/create.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/delete-attribute.md b/docs/examples/1.4.x/server-ruby/examples/databases/delete-attribute.md index de35bb2756..ca2bbb85a6 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/delete-attribute.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/delete-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/delete-collection.md b/docs/examples/1.4.x/server-ruby/examples/databases/delete-collection.md index 07e3a439f2..dbbd885278 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/delete-collection.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/delete-collection.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/delete-document.md b/docs/examples/1.4.x/server-ruby/examples/databases/delete-document.md index 0e94edd3fa..f88b2e6bc6 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/delete-document.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/delete-document.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/delete-index.md b/docs/examples/1.4.x/server-ruby/examples/databases/delete-index.md index 63436e5700..1f5096fc36 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/delete-index.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/delete-index.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/delete.md b/docs/examples/1.4.x/server-ruby/examples/databases/delete.md index ee34774cee..04819fac04 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/delete.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/delete.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/get-attribute.md b/docs/examples/1.4.x/server-ruby/examples/databases/get-attribute.md index 585c311ff7..449cae1dbc 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/get-attribute.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/get-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/get-collection.md b/docs/examples/1.4.x/server-ruby/examples/databases/get-collection.md index 3c53903ebb..771edddf04 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/get-collection.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/get-collection.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/get-document.md b/docs/examples/1.4.x/server-ruby/examples/databases/get-document.md index 342812e659..875d966bbb 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/get-document.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/get-document.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/get-index.md b/docs/examples/1.4.x/server-ruby/examples/databases/get-index.md index c32ec0565d..3d918807f1 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/get-index.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/get-index.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/get.md b/docs/examples/1.4.x/server-ruby/examples/databases/get.md index ab1f098b6d..0e4943c731 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/get.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/get.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/list-attributes.md b/docs/examples/1.4.x/server-ruby/examples/databases/list-attributes.md index 183d99d193..2935ccbdca 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/list-attributes.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/list-attributes.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/list-collections.md b/docs/examples/1.4.x/server-ruby/examples/databases/list-collections.md index 472800a4c1..18a84038e4 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/list-collections.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/list-collections.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/list-documents.md b/docs/examples/1.4.x/server-ruby/examples/databases/list-documents.md index 920946501d..6eda1af0ea 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/list-documents.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/list-documents.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/list-indexes.md b/docs/examples/1.4.x/server-ruby/examples/databases/list-indexes.md index 63b1e75ec2..5509ec0ea2 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/list-indexes.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/list-indexes.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/list.md b/docs/examples/1.4.x/server-ruby/examples/databases/list.md index eb810096f5..4d10505dd6 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/list.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/list.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/update-boolean-attribute.md b/docs/examples/1.4.x/server-ruby/examples/databases/update-boolean-attribute.md index 020d97689c..ea01a100cb 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/update-boolean-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/update-collection.md b/docs/examples/1.4.x/server-ruby/examples/databases/update-collection.md index e185aef2ae..87ce4a6e21 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/update-collection.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/update-collection.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/update-datetime-attribute.md b/docs/examples/1.4.x/server-ruby/examples/databases/update-datetime-attribute.md index 2e931947d0..1ad37e8024 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/update-datetime-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/update-document.md b/docs/examples/1.4.x/server-ruby/examples/databases/update-document.md index 8b7680b85f..38f7203c0f 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/update-document.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/update-document.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/update-email-attribute.md b/docs/examples/1.4.x/server-ruby/examples/databases/update-email-attribute.md index 3d0dc5c8a4..533be7d1d4 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/update-email-attribute.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/update-email-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/update-enum-attribute.md b/docs/examples/1.4.x/server-ruby/examples/databases/update-enum-attribute.md index feb3871125..afe0141aaf 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/update-enum-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/update-float-attribute.md b/docs/examples/1.4.x/server-ruby/examples/databases/update-float-attribute.md index ec14217766..69450c0d7d 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/update-float-attribute.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/update-float-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/update-integer-attribute.md b/docs/examples/1.4.x/server-ruby/examples/databases/update-integer-attribute.md index 976bad938d..32f3386c7a 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/update-integer-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/update-ip-attribute.md b/docs/examples/1.4.x/server-ruby/examples/databases/update-ip-attribute.md index 24d96b9d89..a072f2791d 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/update-ip-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/update-relationship-attribute.md b/docs/examples/1.4.x/server-ruby/examples/databases/update-relationship-attribute.md index 345aea9deb..2b2d68bda0 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/update-relationship-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/update-string-attribute.md b/docs/examples/1.4.x/server-ruby/examples/databases/update-string-attribute.md index 1801723c16..265eeb6882 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/update-string-attribute.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/update-string-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/update-url-attribute.md b/docs/examples/1.4.x/server-ruby/examples/databases/update-url-attribute.md index 429f690ed1..92f0a51ddb 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/update-url-attribute.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/update-url-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/databases/update.md b/docs/examples/1.4.x/server-ruby/examples/databases/update.md index f727f582d1..b866c97964 100644 --- a/docs/examples/1.4.x/server-ruby/examples/databases/update.md +++ b/docs/examples/1.4.x/server-ruby/examples/databases/update.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/functions/create-build.md b/docs/examples/1.4.x/server-ruby/examples/functions/create-build.md index 344f92a9ec..f5a347823e 100644 --- a/docs/examples/1.4.x/server-ruby/examples/functions/create-build.md +++ b/docs/examples/1.4.x/server-ruby/examples/functions/create-build.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/functions/create-deployment.md b/docs/examples/1.4.x/server-ruby/examples/functions/create-deployment.md index 491a80846e..837bc7f972 100644 --- a/docs/examples/1.4.x/server-ruby/examples/functions/create-deployment.md +++ b/docs/examples/1.4.x/server-ruby/examples/functions/create-deployment.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/functions/create-execution.md b/docs/examples/1.4.x/server-ruby/examples/functions/create-execution.md index f14283b9d3..c9ec872b1b 100644 --- a/docs/examples/1.4.x/server-ruby/examples/functions/create-execution.md +++ b/docs/examples/1.4.x/server-ruby/examples/functions/create-execution.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/functions/create-variable.md b/docs/examples/1.4.x/server-ruby/examples/functions/create-variable.md index ffb03ce042..6c9ee94781 100644 --- a/docs/examples/1.4.x/server-ruby/examples/functions/create-variable.md +++ b/docs/examples/1.4.x/server-ruby/examples/functions/create-variable.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/functions/create.md b/docs/examples/1.4.x/server-ruby/examples/functions/create.md index 92ced89620..de5058941c 100644 --- a/docs/examples/1.4.x/server-ruby/examples/functions/create.md +++ b/docs/examples/1.4.x/server-ruby/examples/functions/create.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/functions/delete-deployment.md b/docs/examples/1.4.x/server-ruby/examples/functions/delete-deployment.md index 49004f60de..51c68d42d7 100644 --- a/docs/examples/1.4.x/server-ruby/examples/functions/delete-deployment.md +++ b/docs/examples/1.4.x/server-ruby/examples/functions/delete-deployment.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/functions/delete-variable.md b/docs/examples/1.4.x/server-ruby/examples/functions/delete-variable.md index ef37dd5abb..13bd8ee4d8 100644 --- a/docs/examples/1.4.x/server-ruby/examples/functions/delete-variable.md +++ b/docs/examples/1.4.x/server-ruby/examples/functions/delete-variable.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/functions/delete.md b/docs/examples/1.4.x/server-ruby/examples/functions/delete.md index 5e7d622fb7..902160ba89 100644 --- a/docs/examples/1.4.x/server-ruby/examples/functions/delete.md +++ b/docs/examples/1.4.x/server-ruby/examples/functions/delete.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/functions/download-deployment.md b/docs/examples/1.4.x/server-ruby/examples/functions/download-deployment.md index f6186a3037..57edaba434 100644 --- a/docs/examples/1.4.x/server-ruby/examples/functions/download-deployment.md +++ b/docs/examples/1.4.x/server-ruby/examples/functions/download-deployment.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/functions/get-deployment.md b/docs/examples/1.4.x/server-ruby/examples/functions/get-deployment.md index 35c2f01108..c3d8872f3e 100644 --- a/docs/examples/1.4.x/server-ruby/examples/functions/get-deployment.md +++ b/docs/examples/1.4.x/server-ruby/examples/functions/get-deployment.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/functions/get-execution.md b/docs/examples/1.4.x/server-ruby/examples/functions/get-execution.md index c464fbc2fc..f82e539987 100644 --- a/docs/examples/1.4.x/server-ruby/examples/functions/get-execution.md +++ b/docs/examples/1.4.x/server-ruby/examples/functions/get-execution.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/functions/get-variable.md b/docs/examples/1.4.x/server-ruby/examples/functions/get-variable.md index 7559482af9..ef581e150d 100644 --- a/docs/examples/1.4.x/server-ruby/examples/functions/get-variable.md +++ b/docs/examples/1.4.x/server-ruby/examples/functions/get-variable.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/functions/get.md b/docs/examples/1.4.x/server-ruby/examples/functions/get.md index 54d61840c9..b3c99283a4 100644 --- a/docs/examples/1.4.x/server-ruby/examples/functions/get.md +++ b/docs/examples/1.4.x/server-ruby/examples/functions/get.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/functions/list-deployments.md b/docs/examples/1.4.x/server-ruby/examples/functions/list-deployments.md index d11e42e8d6..976aee548f 100644 --- a/docs/examples/1.4.x/server-ruby/examples/functions/list-deployments.md +++ b/docs/examples/1.4.x/server-ruby/examples/functions/list-deployments.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/functions/list-executions.md b/docs/examples/1.4.x/server-ruby/examples/functions/list-executions.md index 792d606f9b..34936f3b75 100644 --- a/docs/examples/1.4.x/server-ruby/examples/functions/list-executions.md +++ b/docs/examples/1.4.x/server-ruby/examples/functions/list-executions.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/functions/list-runtimes.md b/docs/examples/1.4.x/server-ruby/examples/functions/list-runtimes.md index a8c8fea4a3..ded2a6ffb2 100644 --- a/docs/examples/1.4.x/server-ruby/examples/functions/list-runtimes.md +++ b/docs/examples/1.4.x/server-ruby/examples/functions/list-runtimes.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/functions/list-variables.md b/docs/examples/1.4.x/server-ruby/examples/functions/list-variables.md index d7d088890a..41a0c9570e 100644 --- a/docs/examples/1.4.x/server-ruby/examples/functions/list-variables.md +++ b/docs/examples/1.4.x/server-ruby/examples/functions/list-variables.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/functions/list.md b/docs/examples/1.4.x/server-ruby/examples/functions/list.md index 06f9ae7ae3..d65b551cc3 100644 --- a/docs/examples/1.4.x/server-ruby/examples/functions/list.md +++ b/docs/examples/1.4.x/server-ruby/examples/functions/list.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/functions/update-deployment.md b/docs/examples/1.4.x/server-ruby/examples/functions/update-deployment.md index c768e662ec..77c68d74fd 100644 --- a/docs/examples/1.4.x/server-ruby/examples/functions/update-deployment.md +++ b/docs/examples/1.4.x/server-ruby/examples/functions/update-deployment.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/functions/update-variable.md b/docs/examples/1.4.x/server-ruby/examples/functions/update-variable.md index 07be591e9e..b53ef4f96c 100644 --- a/docs/examples/1.4.x/server-ruby/examples/functions/update-variable.md +++ b/docs/examples/1.4.x/server-ruby/examples/functions/update-variable.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/functions/update.md b/docs/examples/1.4.x/server-ruby/examples/functions/update.md index f45fc1b312..a579651468 100644 --- a/docs/examples/1.4.x/server-ruby/examples/functions/update.md +++ b/docs/examples/1.4.x/server-ruby/examples/functions/update.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/graphql/mutation.md b/docs/examples/1.4.x/server-ruby/examples/graphql/mutation.md index ad4d03770b..fea4450690 100644 --- a/docs/examples/1.4.x/server-ruby/examples/graphql/mutation.md +++ b/docs/examples/1.4.x/server-ruby/examples/graphql/mutation.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/graphql/query.md b/docs/examples/1.4.x/server-ruby/examples/graphql/query.md index a11b2881af..9e3f8d2373 100644 --- a/docs/examples/1.4.x/server-ruby/examples/graphql/query.md +++ b/docs/examples/1.4.x/server-ruby/examples/graphql/query.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/health/get-antivirus.md b/docs/examples/1.4.x/server-ruby/examples/health/get-antivirus.md index fbd9049441..23dc67ec19 100644 --- a/docs/examples/1.4.x/server-ruby/examples/health/get-antivirus.md +++ b/docs/examples/1.4.x/server-ruby/examples/health/get-antivirus.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/health/get-cache.md b/docs/examples/1.4.x/server-ruby/examples/health/get-cache.md index 3de43bf763..0e8d905b8c 100644 --- a/docs/examples/1.4.x/server-ruby/examples/health/get-cache.md +++ b/docs/examples/1.4.x/server-ruby/examples/health/get-cache.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/health/get-d-b.md b/docs/examples/1.4.x/server-ruby/examples/health/get-d-b.md index 8d37dec0bc..7c9dc9f42e 100644 --- a/docs/examples/1.4.x/server-ruby/examples/health/get-d-b.md +++ b/docs/examples/1.4.x/server-ruby/examples/health/get-d-b.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/health/get-pub-sub.md b/docs/examples/1.4.x/server-ruby/examples/health/get-pub-sub.md index dac20b2231..b4e8fd65f9 100644 --- a/docs/examples/1.4.x/server-ruby/examples/health/get-pub-sub.md +++ b/docs/examples/1.4.x/server-ruby/examples/health/get-pub-sub.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/health/get-queue-builds.md b/docs/examples/1.4.x/server-ruby/examples/health/get-queue-builds.md index 4fad17f30a..837329c43a 100644 --- a/docs/examples/1.4.x/server-ruby/examples/health/get-queue-builds.md +++ b/docs/examples/1.4.x/server-ruby/examples/health/get-queue-builds.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/health/get-queue-certificates.md b/docs/examples/1.4.x/server-ruby/examples/health/get-queue-certificates.md index 42e0863f9a..779dd120a4 100644 --- a/docs/examples/1.4.x/server-ruby/examples/health/get-queue-certificates.md +++ b/docs/examples/1.4.x/server-ruby/examples/health/get-queue-certificates.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/health/get-queue-databases.md b/docs/examples/1.4.x/server-ruby/examples/health/get-queue-databases.md index 7536fc7768..344fe6a991 100644 --- a/docs/examples/1.4.x/server-ruby/examples/health/get-queue-databases.md +++ b/docs/examples/1.4.x/server-ruby/examples/health/get-queue-databases.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/health/get-queue-deletes.md b/docs/examples/1.4.x/server-ruby/examples/health/get-queue-deletes.md index ae96a911e4..01eab0af74 100644 --- a/docs/examples/1.4.x/server-ruby/examples/health/get-queue-deletes.md +++ b/docs/examples/1.4.x/server-ruby/examples/health/get-queue-deletes.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/health/get-queue-functions.md b/docs/examples/1.4.x/server-ruby/examples/health/get-queue-functions.md index e350779f79..b1420564f8 100644 --- a/docs/examples/1.4.x/server-ruby/examples/health/get-queue-functions.md +++ b/docs/examples/1.4.x/server-ruby/examples/health/get-queue-functions.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/health/get-queue-logs.md b/docs/examples/1.4.x/server-ruby/examples/health/get-queue-logs.md index 3fd4570d2f..136720c2c6 100644 --- a/docs/examples/1.4.x/server-ruby/examples/health/get-queue-logs.md +++ b/docs/examples/1.4.x/server-ruby/examples/health/get-queue-logs.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/health/get-queue-mails.md b/docs/examples/1.4.x/server-ruby/examples/health/get-queue-mails.md index cb184182f5..7cc9f2abde 100644 --- a/docs/examples/1.4.x/server-ruby/examples/health/get-queue-mails.md +++ b/docs/examples/1.4.x/server-ruby/examples/health/get-queue-mails.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/health/get-queue-messaging.md b/docs/examples/1.4.x/server-ruby/examples/health/get-queue-messaging.md index 936d9fdffa..207cb5f654 100644 --- a/docs/examples/1.4.x/server-ruby/examples/health/get-queue-messaging.md +++ b/docs/examples/1.4.x/server-ruby/examples/health/get-queue-messaging.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/health/get-queue-migrations.md b/docs/examples/1.4.x/server-ruby/examples/health/get-queue-migrations.md index 2d8a32b6a7..150463c1d5 100644 --- a/docs/examples/1.4.x/server-ruby/examples/health/get-queue-migrations.md +++ b/docs/examples/1.4.x/server-ruby/examples/health/get-queue-migrations.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/health/get-queue-webhooks.md b/docs/examples/1.4.x/server-ruby/examples/health/get-queue-webhooks.md index 0c10a19211..8be1eaea8f 100644 --- a/docs/examples/1.4.x/server-ruby/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.4.x/server-ruby/examples/health/get-queue-webhooks.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/health/get-queue.md b/docs/examples/1.4.x/server-ruby/examples/health/get-queue.md index e67a90b11c..9af2ef2f13 100644 --- a/docs/examples/1.4.x/server-ruby/examples/health/get-queue.md +++ b/docs/examples/1.4.x/server-ruby/examples/health/get-queue.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/health/get-storage-local.md b/docs/examples/1.4.x/server-ruby/examples/health/get-storage-local.md index 4cede4153c..da3ea231fc 100644 --- a/docs/examples/1.4.x/server-ruby/examples/health/get-storage-local.md +++ b/docs/examples/1.4.x/server-ruby/examples/health/get-storage-local.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/health/get-time.md b/docs/examples/1.4.x/server-ruby/examples/health/get-time.md index 21750d7b96..5396edbcb8 100644 --- a/docs/examples/1.4.x/server-ruby/examples/health/get-time.md +++ b/docs/examples/1.4.x/server-ruby/examples/health/get-time.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/health/get.md b/docs/examples/1.4.x/server-ruby/examples/health/get.md index 395b039cec..f8cebe4977 100644 --- a/docs/examples/1.4.x/server-ruby/examples/health/get.md +++ b/docs/examples/1.4.x/server-ruby/examples/health/get.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/locale/get.md b/docs/examples/1.4.x/server-ruby/examples/locale/get.md index 6a4ecb7df2..1b3863df8a 100644 --- a/docs/examples/1.4.x/server-ruby/examples/locale/get.md +++ b/docs/examples/1.4.x/server-ruby/examples/locale/get.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/locale/list-codes.md b/docs/examples/1.4.x/server-ruby/examples/locale/list-codes.md index d32be91776..6034f358aa 100644 --- a/docs/examples/1.4.x/server-ruby/examples/locale/list-codes.md +++ b/docs/examples/1.4.x/server-ruby/examples/locale/list-codes.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/locale/list-continents.md b/docs/examples/1.4.x/server-ruby/examples/locale/list-continents.md index c154e3e74a..c97151d3a5 100644 --- a/docs/examples/1.4.x/server-ruby/examples/locale/list-continents.md +++ b/docs/examples/1.4.x/server-ruby/examples/locale/list-continents.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/locale/list-countries-e-u.md b/docs/examples/1.4.x/server-ruby/examples/locale/list-countries-e-u.md index dbbeeace38..55182c4ccf 100644 --- a/docs/examples/1.4.x/server-ruby/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.4.x/server-ruby/examples/locale/list-countries-e-u.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/locale/list-countries-phones.md b/docs/examples/1.4.x/server-ruby/examples/locale/list-countries-phones.md index d44f0c6a7f..276b5f868b 100644 --- a/docs/examples/1.4.x/server-ruby/examples/locale/list-countries-phones.md +++ b/docs/examples/1.4.x/server-ruby/examples/locale/list-countries-phones.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/locale/list-countries.md b/docs/examples/1.4.x/server-ruby/examples/locale/list-countries.md index 0431a5444e..56b04ea98b 100644 --- a/docs/examples/1.4.x/server-ruby/examples/locale/list-countries.md +++ b/docs/examples/1.4.x/server-ruby/examples/locale/list-countries.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/locale/list-currencies.md b/docs/examples/1.4.x/server-ruby/examples/locale/list-currencies.md index 610b45901c..e8fa59419e 100644 --- a/docs/examples/1.4.x/server-ruby/examples/locale/list-currencies.md +++ b/docs/examples/1.4.x/server-ruby/examples/locale/list-currencies.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/locale/list-languages.md b/docs/examples/1.4.x/server-ruby/examples/locale/list-languages.md index dc09d481c2..154d2ff2eb 100644 --- a/docs/examples/1.4.x/server-ruby/examples/locale/list-languages.md +++ b/docs/examples/1.4.x/server-ruby/examples/locale/list-languages.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/storage/create-bucket.md b/docs/examples/1.4.x/server-ruby/examples/storage/create-bucket.md index be1229ddd6..7c2898c61f 100644 --- a/docs/examples/1.4.x/server-ruby/examples/storage/create-bucket.md +++ b/docs/examples/1.4.x/server-ruby/examples/storage/create-bucket.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/storage/create-file.md b/docs/examples/1.4.x/server-ruby/examples/storage/create-file.md index de207f1b64..46f4b700b0 100644 --- a/docs/examples/1.4.x/server-ruby/examples/storage/create-file.md +++ b/docs/examples/1.4.x/server-ruby/examples/storage/create-file.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/storage/delete-bucket.md b/docs/examples/1.4.x/server-ruby/examples/storage/delete-bucket.md index bcb1b23a42..d1fea9a314 100644 --- a/docs/examples/1.4.x/server-ruby/examples/storage/delete-bucket.md +++ b/docs/examples/1.4.x/server-ruby/examples/storage/delete-bucket.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/storage/delete-file.md b/docs/examples/1.4.x/server-ruby/examples/storage/delete-file.md index 4f0585773f..f5a39397c5 100644 --- a/docs/examples/1.4.x/server-ruby/examples/storage/delete-file.md +++ b/docs/examples/1.4.x/server-ruby/examples/storage/delete-file.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/storage/get-bucket.md b/docs/examples/1.4.x/server-ruby/examples/storage/get-bucket.md index 1ee6843c8c..ce635c27fc 100644 --- a/docs/examples/1.4.x/server-ruby/examples/storage/get-bucket.md +++ b/docs/examples/1.4.x/server-ruby/examples/storage/get-bucket.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/storage/get-file-download.md b/docs/examples/1.4.x/server-ruby/examples/storage/get-file-download.md index 4fe5798e6b..af39e1e192 100644 --- a/docs/examples/1.4.x/server-ruby/examples/storage/get-file-download.md +++ b/docs/examples/1.4.x/server-ruby/examples/storage/get-file-download.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/storage/get-file-preview.md b/docs/examples/1.4.x/server-ruby/examples/storage/get-file-preview.md index e76168c3ea..afb6a88e62 100644 --- a/docs/examples/1.4.x/server-ruby/examples/storage/get-file-preview.md +++ b/docs/examples/1.4.x/server-ruby/examples/storage/get-file-preview.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/storage/get-file-view.md b/docs/examples/1.4.x/server-ruby/examples/storage/get-file-view.md index 91dcbb5905..e484703cc1 100644 --- a/docs/examples/1.4.x/server-ruby/examples/storage/get-file-view.md +++ b/docs/examples/1.4.x/server-ruby/examples/storage/get-file-view.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/storage/get-file.md b/docs/examples/1.4.x/server-ruby/examples/storage/get-file.md index 2aea60a8da..f1621af784 100644 --- a/docs/examples/1.4.x/server-ruby/examples/storage/get-file.md +++ b/docs/examples/1.4.x/server-ruby/examples/storage/get-file.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/storage/list-buckets.md b/docs/examples/1.4.x/server-ruby/examples/storage/list-buckets.md index 3201633236..a92d14c291 100644 --- a/docs/examples/1.4.x/server-ruby/examples/storage/list-buckets.md +++ b/docs/examples/1.4.x/server-ruby/examples/storage/list-buckets.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/storage/list-files.md b/docs/examples/1.4.x/server-ruby/examples/storage/list-files.md index 247426cc11..90f8db6555 100644 --- a/docs/examples/1.4.x/server-ruby/examples/storage/list-files.md +++ b/docs/examples/1.4.x/server-ruby/examples/storage/list-files.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/storage/update-bucket.md b/docs/examples/1.4.x/server-ruby/examples/storage/update-bucket.md index 97238c1eb0..245fd161bb 100644 --- a/docs/examples/1.4.x/server-ruby/examples/storage/update-bucket.md +++ b/docs/examples/1.4.x/server-ruby/examples/storage/update-bucket.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/storage/update-file.md b/docs/examples/1.4.x/server-ruby/examples/storage/update-file.md index 2a1fe43bc9..ce0b106a57 100644 --- a/docs/examples/1.4.x/server-ruby/examples/storage/update-file.md +++ b/docs/examples/1.4.x/server-ruby/examples/storage/update-file.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/teams/create-membership.md b/docs/examples/1.4.x/server-ruby/examples/teams/create-membership.md index cb2ddfb056..9485e3096e 100644 --- a/docs/examples/1.4.x/server-ruby/examples/teams/create-membership.md +++ b/docs/examples/1.4.x/server-ruby/examples/teams/create-membership.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/teams/create.md b/docs/examples/1.4.x/server-ruby/examples/teams/create.md index 5f0f1f4827..7361dd31df 100644 --- a/docs/examples/1.4.x/server-ruby/examples/teams/create.md +++ b/docs/examples/1.4.x/server-ruby/examples/teams/create.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/teams/delete-membership.md b/docs/examples/1.4.x/server-ruby/examples/teams/delete-membership.md index 2b78ca8ce1..f2137a3d13 100644 --- a/docs/examples/1.4.x/server-ruby/examples/teams/delete-membership.md +++ b/docs/examples/1.4.x/server-ruby/examples/teams/delete-membership.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/teams/delete.md b/docs/examples/1.4.x/server-ruby/examples/teams/delete.md index 4d71b38ea9..e57d386943 100644 --- a/docs/examples/1.4.x/server-ruby/examples/teams/delete.md +++ b/docs/examples/1.4.x/server-ruby/examples/teams/delete.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/teams/get-membership.md b/docs/examples/1.4.x/server-ruby/examples/teams/get-membership.md index 864ff8b8ec..a0464d55c1 100644 --- a/docs/examples/1.4.x/server-ruby/examples/teams/get-membership.md +++ b/docs/examples/1.4.x/server-ruby/examples/teams/get-membership.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/teams/get-prefs.md b/docs/examples/1.4.x/server-ruby/examples/teams/get-prefs.md index 22135af9ff..a27fc9a1e1 100644 --- a/docs/examples/1.4.x/server-ruby/examples/teams/get-prefs.md +++ b/docs/examples/1.4.x/server-ruby/examples/teams/get-prefs.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-ruby/examples/teams/get.md b/docs/examples/1.4.x/server-ruby/examples/teams/get.md index a0e2aeb2ab..cbc84c4e7e 100644 --- a/docs/examples/1.4.x/server-ruby/examples/teams/get.md +++ b/docs/examples/1.4.x/server-ruby/examples/teams/get.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/teams/list-memberships.md b/docs/examples/1.4.x/server-ruby/examples/teams/list-memberships.md index c742c4520b..6cd99fafcf 100644 --- a/docs/examples/1.4.x/server-ruby/examples/teams/list-memberships.md +++ b/docs/examples/1.4.x/server-ruby/examples/teams/list-memberships.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/teams/list.md b/docs/examples/1.4.x/server-ruby/examples/teams/list.md index 9f12e7f9ed..567fd01030 100644 --- a/docs/examples/1.4.x/server-ruby/examples/teams/list.md +++ b/docs/examples/1.4.x/server-ruby/examples/teams/list.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/teams/update-membership-status.md b/docs/examples/1.4.x/server-ruby/examples/teams/update-membership-status.md index 6c47214abc..81a6fc4dce 100644 --- a/docs/examples/1.4.x/server-ruby/examples/teams/update-membership-status.md +++ b/docs/examples/1.4.x/server-ruby/examples/teams/update-membership-status.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-ruby/examples/teams/update-membership.md b/docs/examples/1.4.x/server-ruby/examples/teams/update-membership.md index d94291bcd1..c42f067f28 100644 --- a/docs/examples/1.4.x/server-ruby/examples/teams/update-membership.md +++ b/docs/examples/1.4.x/server-ruby/examples/teams/update-membership.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/teams/update-name.md b/docs/examples/1.4.x/server-ruby/examples/teams/update-name.md index 61914f7d5a..cc36cfafa7 100644 --- a/docs/examples/1.4.x/server-ruby/examples/teams/update-name.md +++ b/docs/examples/1.4.x/server-ruby/examples/teams/update-name.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/teams/update-prefs.md b/docs/examples/1.4.x/server-ruby/examples/teams/update-prefs.md index 20e3942131..10e0b54dc1 100644 --- a/docs/examples/1.4.x/server-ruby/examples/teams/update-prefs.md +++ b/docs/examples/1.4.x/server-ruby/examples/teams/update-prefs.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-ruby/examples/users/create-argon2user.md b/docs/examples/1.4.x/server-ruby/examples/users/create-argon2user.md index 7249612c5f..10d3db6181 100644 --- a/docs/examples/1.4.x/server-ruby/examples/users/create-argon2user.md +++ b/docs/examples/1.4.x/server-ruby/examples/users/create-argon2user.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/users/create-bcrypt-user.md b/docs/examples/1.4.x/server-ruby/examples/users/create-bcrypt-user.md index 1d253f687c..04904eff44 100644 --- a/docs/examples/1.4.x/server-ruby/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.4.x/server-ruby/examples/users/create-bcrypt-user.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/users/create-m-d5user.md b/docs/examples/1.4.x/server-ruby/examples/users/create-m-d5user.md index cc36572cf4..b55c572ab4 100644 --- a/docs/examples/1.4.x/server-ruby/examples/users/create-m-d5user.md +++ b/docs/examples/1.4.x/server-ruby/examples/users/create-m-d5user.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/users/create-p-h-pass-user.md b/docs/examples/1.4.x/server-ruby/examples/users/create-p-h-pass-user.md index 30004fc360..f9be63a721 100644 --- a/docs/examples/1.4.x/server-ruby/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.4.x/server-ruby/examples/users/create-p-h-pass-user.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/users/create-s-h-a-user.md b/docs/examples/1.4.x/server-ruby/examples/users/create-s-h-a-user.md index 809c313ca6..a25317929e 100644 --- a/docs/examples/1.4.x/server-ruby/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.4.x/server-ruby/examples/users/create-s-h-a-user.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/users/create-scrypt-modified-user.md b/docs/examples/1.4.x/server-ruby/examples/users/create-scrypt-modified-user.md index 46b17d1338..81417b6cbd 100644 --- a/docs/examples/1.4.x/server-ruby/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.4.x/server-ruby/examples/users/create-scrypt-modified-user.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/users/create-scrypt-user.md b/docs/examples/1.4.x/server-ruby/examples/users/create-scrypt-user.md index c84f7e7bab..251d226f1d 100644 --- a/docs/examples/1.4.x/server-ruby/examples/users/create-scrypt-user.md +++ b/docs/examples/1.4.x/server-ruby/examples/users/create-scrypt-user.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/users/create.md b/docs/examples/1.4.x/server-ruby/examples/users/create.md index a73a489294..3f1e303b4e 100644 --- a/docs/examples/1.4.x/server-ruby/examples/users/create.md +++ b/docs/examples/1.4.x/server-ruby/examples/users/create.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/users/delete-identity.md b/docs/examples/1.4.x/server-ruby/examples/users/delete-identity.md index dd14abb41c..da10d067e8 100644 --- a/docs/examples/1.4.x/server-ruby/examples/users/delete-identity.md +++ b/docs/examples/1.4.x/server-ruby/examples/users/delete-identity.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/users/delete-session.md b/docs/examples/1.4.x/server-ruby/examples/users/delete-session.md index da0362bfcb..72d897b633 100644 --- a/docs/examples/1.4.x/server-ruby/examples/users/delete-session.md +++ b/docs/examples/1.4.x/server-ruby/examples/users/delete-session.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/users/delete-sessions.md b/docs/examples/1.4.x/server-ruby/examples/users/delete-sessions.md index 647916fdf0..2b0ce0d22a 100644 --- a/docs/examples/1.4.x/server-ruby/examples/users/delete-sessions.md +++ b/docs/examples/1.4.x/server-ruby/examples/users/delete-sessions.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/users/delete.md b/docs/examples/1.4.x/server-ruby/examples/users/delete.md index b128e57c69..e65afd4c16 100644 --- a/docs/examples/1.4.x/server-ruby/examples/users/delete.md +++ b/docs/examples/1.4.x/server-ruby/examples/users/delete.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/users/get-prefs.md b/docs/examples/1.4.x/server-ruby/examples/users/get-prefs.md index 984d1e60c3..69cea324df 100644 --- a/docs/examples/1.4.x/server-ruby/examples/users/get-prefs.md +++ b/docs/examples/1.4.x/server-ruby/examples/users/get-prefs.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/users/get.md b/docs/examples/1.4.x/server-ruby/examples/users/get.md index f0ace233a9..62b2da23ee 100644 --- a/docs/examples/1.4.x/server-ruby/examples/users/get.md +++ b/docs/examples/1.4.x/server-ruby/examples/users/get.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/users/list-identities.md b/docs/examples/1.4.x/server-ruby/examples/users/list-identities.md index fc18bc9bfe..156b3681af 100644 --- a/docs/examples/1.4.x/server-ruby/examples/users/list-identities.md +++ b/docs/examples/1.4.x/server-ruby/examples/users/list-identities.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/users/list-logs.md b/docs/examples/1.4.x/server-ruby/examples/users/list-logs.md index 4bea6d152a..28c43d95ab 100644 --- a/docs/examples/1.4.x/server-ruby/examples/users/list-logs.md +++ b/docs/examples/1.4.x/server-ruby/examples/users/list-logs.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/users/list-memberships.md b/docs/examples/1.4.x/server-ruby/examples/users/list-memberships.md index 9465441397..4ffbbb3677 100644 --- a/docs/examples/1.4.x/server-ruby/examples/users/list-memberships.md +++ b/docs/examples/1.4.x/server-ruby/examples/users/list-memberships.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/users/list-sessions.md b/docs/examples/1.4.x/server-ruby/examples/users/list-sessions.md index 27f04e1bb0..5178a7d73f 100644 --- a/docs/examples/1.4.x/server-ruby/examples/users/list-sessions.md +++ b/docs/examples/1.4.x/server-ruby/examples/users/list-sessions.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/users/list.md b/docs/examples/1.4.x/server-ruby/examples/users/list.md index 3672217a75..c284434239 100644 --- a/docs/examples/1.4.x/server-ruby/examples/users/list.md +++ b/docs/examples/1.4.x/server-ruby/examples/users/list.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/users/update-email-verification.md b/docs/examples/1.4.x/server-ruby/examples/users/update-email-verification.md index 4ef455f9d4..4dfa52e7c9 100644 --- a/docs/examples/1.4.x/server-ruby/examples/users/update-email-verification.md +++ b/docs/examples/1.4.x/server-ruby/examples/users/update-email-verification.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/users/update-email.md b/docs/examples/1.4.x/server-ruby/examples/users/update-email.md index 93e963e325..4d5e560086 100644 --- a/docs/examples/1.4.x/server-ruby/examples/users/update-email.md +++ b/docs/examples/1.4.x/server-ruby/examples/users/update-email.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/users/update-labels.md b/docs/examples/1.4.x/server-ruby/examples/users/update-labels.md index 7947ef6737..89d5126d93 100644 --- a/docs/examples/1.4.x/server-ruby/examples/users/update-labels.md +++ b/docs/examples/1.4.x/server-ruby/examples/users/update-labels.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/users/update-name.md b/docs/examples/1.4.x/server-ruby/examples/users/update-name.md index 54a3edfb09..09e745aadd 100644 --- a/docs/examples/1.4.x/server-ruby/examples/users/update-name.md +++ b/docs/examples/1.4.x/server-ruby/examples/users/update-name.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/users/update-password.md b/docs/examples/1.4.x/server-ruby/examples/users/update-password.md index 2623267f55..8d1a98d9d0 100644 --- a/docs/examples/1.4.x/server-ruby/examples/users/update-password.md +++ b/docs/examples/1.4.x/server-ruby/examples/users/update-password.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/users/update-phone-verification.md b/docs/examples/1.4.x/server-ruby/examples/users/update-phone-verification.md index ec96581e21..9e8dd9dee2 100644 --- a/docs/examples/1.4.x/server-ruby/examples/users/update-phone-verification.md +++ b/docs/examples/1.4.x/server-ruby/examples/users/update-phone-verification.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/users/update-phone.md b/docs/examples/1.4.x/server-ruby/examples/users/update-phone.md index 430f03aaed..cef37175ab 100644 --- a/docs/examples/1.4.x/server-ruby/examples/users/update-phone.md +++ b/docs/examples/1.4.x/server-ruby/examples/users/update-phone.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/users/update-prefs.md b/docs/examples/1.4.x/server-ruby/examples/users/update-prefs.md index eb17d8f500..d3058ff1b4 100644 --- a/docs/examples/1.4.x/server-ruby/examples/users/update-prefs.md +++ b/docs/examples/1.4.x/server-ruby/examples/users/update-prefs.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-ruby/examples/users/update-status.md b/docs/examples/1.4.x/server-ruby/examples/users/update-status.md index 34365cf58e..2d27d29ac7 100644 --- a/docs/examples/1.4.x/server-ruby/examples/users/update-status.md +++ b/docs/examples/1.4.x/server-ruby/examples/users/update-status.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/account/create-phone-verification.md b/docs/examples/1.4.x/server-swift/examples/account/create-phone-verification.md index cdeba91700..26ced5985b 100644 --- a/docs/examples/1.4.x/server-swift/examples/account/create-phone-verification.md +++ b/docs/examples/1.4.x/server-swift/examples/account/create-phone-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-swift/examples/account/create-recovery.md b/docs/examples/1.4.x/server-swift/examples/account/create-recovery.md index fdb0e53765..06cc974d66 100644 --- a/docs/examples/1.4.x/server-swift/examples/account/create-recovery.md +++ b/docs/examples/1.4.x/server-swift/examples/account/create-recovery.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-swift/examples/account/create-verification.md b/docs/examples/1.4.x/server-swift/examples/account/create-verification.md index 63a6a7ac94..1abcc4abb2 100644 --- a/docs/examples/1.4.x/server-swift/examples/account/create-verification.md +++ b/docs/examples/1.4.x/server-swift/examples/account/create-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-swift/examples/account/delete-identity.md b/docs/examples/1.4.x/server-swift/examples/account/delete-identity.md index 1ebcc46a7a..53f286ff87 100644 --- a/docs/examples/1.4.x/server-swift/examples/account/delete-identity.md +++ b/docs/examples/1.4.x/server-swift/examples/account/delete-identity.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-swift/examples/account/delete-session.md b/docs/examples/1.4.x/server-swift/examples/account/delete-session.md index de9f736f9c..e5c88080e9 100644 --- a/docs/examples/1.4.x/server-swift/examples/account/delete-session.md +++ b/docs/examples/1.4.x/server-swift/examples/account/delete-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-swift/examples/account/delete-sessions.md b/docs/examples/1.4.x/server-swift/examples/account/delete-sessions.md index 0f58c600d2..971f34d524 100644 --- a/docs/examples/1.4.x/server-swift/examples/account/delete-sessions.md +++ b/docs/examples/1.4.x/server-swift/examples/account/delete-sessions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-swift/examples/account/get-prefs.md b/docs/examples/1.4.x/server-swift/examples/account/get-prefs.md index ce72d7c340..be9acecd9a 100644 --- a/docs/examples/1.4.x/server-swift/examples/account/get-prefs.md +++ b/docs/examples/1.4.x/server-swift/examples/account/get-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-swift/examples/account/get-session.md b/docs/examples/1.4.x/server-swift/examples/account/get-session.md index e1b48b5aa5..3c5092f3be 100644 --- a/docs/examples/1.4.x/server-swift/examples/account/get-session.md +++ b/docs/examples/1.4.x/server-swift/examples/account/get-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-swift/examples/account/get.md b/docs/examples/1.4.x/server-swift/examples/account/get.md index 060b6a4a27..4d40b4b474 100644 --- a/docs/examples/1.4.x/server-swift/examples/account/get.md +++ b/docs/examples/1.4.x/server-swift/examples/account/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-swift/examples/account/list-identities.md b/docs/examples/1.4.x/server-swift/examples/account/list-identities.md index 4158e54b08..7940998f86 100644 --- a/docs/examples/1.4.x/server-swift/examples/account/list-identities.md +++ b/docs/examples/1.4.x/server-swift/examples/account/list-identities.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-swift/examples/account/list-logs.md b/docs/examples/1.4.x/server-swift/examples/account/list-logs.md index ee2e8bb7e6..762062d106 100644 --- a/docs/examples/1.4.x/server-swift/examples/account/list-logs.md +++ b/docs/examples/1.4.x/server-swift/examples/account/list-logs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-swift/examples/account/list-sessions.md b/docs/examples/1.4.x/server-swift/examples/account/list-sessions.md index 2baf5836a2..c3b2b0aed0 100644 --- a/docs/examples/1.4.x/server-swift/examples/account/list-sessions.md +++ b/docs/examples/1.4.x/server-swift/examples/account/list-sessions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-swift/examples/account/update-email.md b/docs/examples/1.4.x/server-swift/examples/account/update-email.md index 4041da0222..74244ea9d7 100644 --- a/docs/examples/1.4.x/server-swift/examples/account/update-email.md +++ b/docs/examples/1.4.x/server-swift/examples/account/update-email.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-swift/examples/account/update-name.md b/docs/examples/1.4.x/server-swift/examples/account/update-name.md index 440b1b6c24..cd4be44741 100644 --- a/docs/examples/1.4.x/server-swift/examples/account/update-name.md +++ b/docs/examples/1.4.x/server-swift/examples/account/update-name.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-swift/examples/account/update-password.md b/docs/examples/1.4.x/server-swift/examples/account/update-password.md index 91d55db20f..82c03d73db 100644 --- a/docs/examples/1.4.x/server-swift/examples/account/update-password.md +++ b/docs/examples/1.4.x/server-swift/examples/account/update-password.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-swift/examples/account/update-phone-verification.md b/docs/examples/1.4.x/server-swift/examples/account/update-phone-verification.md index 29052c573a..22cc1e8658 100644 --- a/docs/examples/1.4.x/server-swift/examples/account/update-phone-verification.md +++ b/docs/examples/1.4.x/server-swift/examples/account/update-phone-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-swift/examples/account/update-phone.md b/docs/examples/1.4.x/server-swift/examples/account/update-phone.md index 645b6fc840..9f215a9fe1 100644 --- a/docs/examples/1.4.x/server-swift/examples/account/update-phone.md +++ b/docs/examples/1.4.x/server-swift/examples/account/update-phone.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-swift/examples/account/update-prefs.md b/docs/examples/1.4.x/server-swift/examples/account/update-prefs.md index 520f9d5fd4..05a1b445ae 100644 --- a/docs/examples/1.4.x/server-swift/examples/account/update-prefs.md +++ b/docs/examples/1.4.x/server-swift/examples/account/update-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-swift/examples/account/update-recovery.md b/docs/examples/1.4.x/server-swift/examples/account/update-recovery.md index 92825cae55..ba8d1fa1a0 100644 --- a/docs/examples/1.4.x/server-swift/examples/account/update-recovery.md +++ b/docs/examples/1.4.x/server-swift/examples/account/update-recovery.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-swift/examples/account/update-session.md b/docs/examples/1.4.x/server-swift/examples/account/update-session.md index 84229182aa..d0002b6e49 100644 --- a/docs/examples/1.4.x/server-swift/examples/account/update-session.md +++ b/docs/examples/1.4.x/server-swift/examples/account/update-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-swift/examples/account/update-status.md b/docs/examples/1.4.x/server-swift/examples/account/update-status.md index 96b94d63a1..0f3e22b401 100644 --- a/docs/examples/1.4.x/server-swift/examples/account/update-status.md +++ b/docs/examples/1.4.x/server-swift/examples/account/update-status.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-swift/examples/account/update-verification.md b/docs/examples/1.4.x/server-swift/examples/account/update-verification.md index b8e925783e..c50bf1b88d 100644 --- a/docs/examples/1.4.x/server-swift/examples/account/update-verification.md +++ b/docs/examples/1.4.x/server-swift/examples/account/update-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-swift/examples/avatars/get-browser.md b/docs/examples/1.4.x/server-swift/examples/avatars/get-browser.md index df3a99c67a..b566d6ca05 100644 --- a/docs/examples/1.4.x/server-swift/examples/avatars/get-browser.md +++ b/docs/examples/1.4.x/server-swift/examples/avatars/get-browser.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/avatars/get-credit-card.md b/docs/examples/1.4.x/server-swift/examples/avatars/get-credit-card.md index ce4382d77b..5b47aab1ab 100644 --- a/docs/examples/1.4.x/server-swift/examples/avatars/get-credit-card.md +++ b/docs/examples/1.4.x/server-swift/examples/avatars/get-credit-card.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/avatars/get-favicon.md b/docs/examples/1.4.x/server-swift/examples/avatars/get-favicon.md index 36c77218b7..77803cd5a0 100644 --- a/docs/examples/1.4.x/server-swift/examples/avatars/get-favicon.md +++ b/docs/examples/1.4.x/server-swift/examples/avatars/get-favicon.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/avatars/get-flag.md b/docs/examples/1.4.x/server-swift/examples/avatars/get-flag.md index 849ec48cea..16e566d9e1 100644 --- a/docs/examples/1.4.x/server-swift/examples/avatars/get-flag.md +++ b/docs/examples/1.4.x/server-swift/examples/avatars/get-flag.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/avatars/get-image.md b/docs/examples/1.4.x/server-swift/examples/avatars/get-image.md index d457976f54..2fd24c5c7d 100644 --- a/docs/examples/1.4.x/server-swift/examples/avatars/get-image.md +++ b/docs/examples/1.4.x/server-swift/examples/avatars/get-image.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/avatars/get-initials.md b/docs/examples/1.4.x/server-swift/examples/avatars/get-initials.md index 74d8d956db..9062ca5ca7 100644 --- a/docs/examples/1.4.x/server-swift/examples/avatars/get-initials.md +++ b/docs/examples/1.4.x/server-swift/examples/avatars/get-initials.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/avatars/get-q-r.md b/docs/examples/1.4.x/server-swift/examples/avatars/get-q-r.md index 537bfb5b43..c8d7fba5be 100644 --- a/docs/examples/1.4.x/server-swift/examples/avatars/get-q-r.md +++ b/docs/examples/1.4.x/server-swift/examples/avatars/get-q-r.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/create-boolean-attribute.md b/docs/examples/1.4.x/server-swift/examples/databases/create-boolean-attribute.md index 11eae088e7..1be49bb0d4 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/create-boolean-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/create-collection.md b/docs/examples/1.4.x/server-swift/examples/databases/create-collection.md index ff9172bb29..b4bb744eee 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/create-collection.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/create-collection.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/create-datetime-attribute.md b/docs/examples/1.4.x/server-swift/examples/databases/create-datetime-attribute.md index 26020fb88f..119c5ec830 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/create-datetime-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/create-document.md b/docs/examples/1.4.x/server-swift/examples/databases/create-document.md index b76eab7c70..5985560b67 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/create-document.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/create-document.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/create-email-attribute.md b/docs/examples/1.4.x/server-swift/examples/databases/create-email-attribute.md index cddebec6b2..690a49b68a 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/create-email-attribute.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/create-email-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/create-enum-attribute.md b/docs/examples/1.4.x/server-swift/examples/databases/create-enum-attribute.md index dc56bff395..b08ccbeb83 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/create-enum-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/create-float-attribute.md b/docs/examples/1.4.x/server-swift/examples/databases/create-float-attribute.md index ec01499e98..851afc2ac1 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/create-float-attribute.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/create-float-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/create-index.md b/docs/examples/1.4.x/server-swift/examples/databases/create-index.md index 03cc91b0b4..2271a9898e 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/create-index.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/create-index.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/create-integer-attribute.md b/docs/examples/1.4.x/server-swift/examples/databases/create-integer-attribute.md index eeea1cb01b..72cd31c5a8 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/create-integer-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/create-ip-attribute.md b/docs/examples/1.4.x/server-swift/examples/databases/create-ip-attribute.md index 948aa2ad37..c03c555f52 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/create-ip-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/create-relationship-attribute.md b/docs/examples/1.4.x/server-swift/examples/databases/create-relationship-attribute.md index adb7cbb1fc..5cbf08e2a4 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/create-relationship-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/create-string-attribute.md b/docs/examples/1.4.x/server-swift/examples/databases/create-string-attribute.md index 0d3e65442b..daa04767a3 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/create-string-attribute.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/create-string-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/create-url-attribute.md b/docs/examples/1.4.x/server-swift/examples/databases/create-url-attribute.md index 747a6c7367..94eefa1b61 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/create-url-attribute.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/create-url-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/create.md b/docs/examples/1.4.x/server-swift/examples/databases/create.md index 5e4abf88a0..6578c5783b 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/create.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/create.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/delete-attribute.md b/docs/examples/1.4.x/server-swift/examples/databases/delete-attribute.md index 0fc9470570..a9c778b34c 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/delete-attribute.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/delete-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/delete-collection.md b/docs/examples/1.4.x/server-swift/examples/databases/delete-collection.md index b00916534e..f410170aa8 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/delete-collection.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/delete-collection.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/delete-document.md b/docs/examples/1.4.x/server-swift/examples/databases/delete-document.md index 185c33d410..24dd564236 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/delete-document.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/delete-document.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/delete-index.md b/docs/examples/1.4.x/server-swift/examples/databases/delete-index.md index 0ad4ac3442..fa5acc635a 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/delete-index.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/delete-index.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/delete.md b/docs/examples/1.4.x/server-swift/examples/databases/delete.md index 48b687e237..01be19d136 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/delete.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/delete.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/get-attribute.md b/docs/examples/1.4.x/server-swift/examples/databases/get-attribute.md index e0ea280f56..4d4697052b 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/get-attribute.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/get-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/get-collection.md b/docs/examples/1.4.x/server-swift/examples/databases/get-collection.md index 39c36b3d61..a55294591a 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/get-collection.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/get-collection.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/get-document.md b/docs/examples/1.4.x/server-swift/examples/databases/get-document.md index 2a12e1140a..2d2768ca2c 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/get-document.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/get-document.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/get-index.md b/docs/examples/1.4.x/server-swift/examples/databases/get-index.md index e69263346a..69b694d072 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/get-index.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/get-index.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/get.md b/docs/examples/1.4.x/server-swift/examples/databases/get.md index 805fa3ee23..9fa4abca50 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/get.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/list-attributes.md b/docs/examples/1.4.x/server-swift/examples/databases/list-attributes.md index 475da0a712..71fdcbc997 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/list-attributes.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/list-attributes.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/list-collections.md b/docs/examples/1.4.x/server-swift/examples/databases/list-collections.md index 8e451ca8a0..bf150e8596 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/list-collections.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/list-collections.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/list-documents.md b/docs/examples/1.4.x/server-swift/examples/databases/list-documents.md index 24bb859761..0ca2d5ff48 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/list-documents.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/list-documents.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/list-indexes.md b/docs/examples/1.4.x/server-swift/examples/databases/list-indexes.md index 145c02ddcc..be16b25a31 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/list-indexes.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/list-indexes.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/list.md b/docs/examples/1.4.x/server-swift/examples/databases/list.md index fe7a54df44..45796c04c0 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/list.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/list.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/update-boolean-attribute.md b/docs/examples/1.4.x/server-swift/examples/databases/update-boolean-attribute.md index 73b68190ba..90dd5f748e 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/update-boolean-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/update-collection.md b/docs/examples/1.4.x/server-swift/examples/databases/update-collection.md index 807c5659f9..d2969b4a4d 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/update-collection.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/update-collection.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/update-datetime-attribute.md b/docs/examples/1.4.x/server-swift/examples/databases/update-datetime-attribute.md index 4ec71bbcf0..5f4444a08b 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/update-datetime-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/update-document.md b/docs/examples/1.4.x/server-swift/examples/databases/update-document.md index 56eed00082..872711afcf 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/update-document.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/update-document.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/update-email-attribute.md b/docs/examples/1.4.x/server-swift/examples/databases/update-email-attribute.md index 11608e1fca..3f72ca75a6 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/update-email-attribute.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/update-email-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/update-enum-attribute.md b/docs/examples/1.4.x/server-swift/examples/databases/update-enum-attribute.md index fce99d4d03..4a0560224c 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/update-enum-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/update-float-attribute.md b/docs/examples/1.4.x/server-swift/examples/databases/update-float-attribute.md index 6cc8457d00..72393b3955 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/update-float-attribute.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/update-float-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/update-integer-attribute.md b/docs/examples/1.4.x/server-swift/examples/databases/update-integer-attribute.md index cde600aad9..56fcead967 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/update-integer-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/update-ip-attribute.md b/docs/examples/1.4.x/server-swift/examples/databases/update-ip-attribute.md index 7d70495c27..3f2e2e1b8a 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/update-ip-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/update-relationship-attribute.md b/docs/examples/1.4.x/server-swift/examples/databases/update-relationship-attribute.md index e89c3658c2..f39630217b 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/update-relationship-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/update-string-attribute.md b/docs/examples/1.4.x/server-swift/examples/databases/update-string-attribute.md index 40ab7baa48..6c8263674c 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/update-string-attribute.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/update-string-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/update-url-attribute.md b/docs/examples/1.4.x/server-swift/examples/databases/update-url-attribute.md index ef9198e3bb..3adb9f8393 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/update-url-attribute.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/update-url-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/databases/update.md b/docs/examples/1.4.x/server-swift/examples/databases/update.md index 8e14f08009..b9185e6aae 100644 --- a/docs/examples/1.4.x/server-swift/examples/databases/update.md +++ b/docs/examples/1.4.x/server-swift/examples/databases/update.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/functions/create-build.md b/docs/examples/1.4.x/server-swift/examples/functions/create-build.md index 8419bf6950..2c469e5ea6 100644 --- a/docs/examples/1.4.x/server-swift/examples/functions/create-build.md +++ b/docs/examples/1.4.x/server-swift/examples/functions/create-build.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/functions/create-deployment.md b/docs/examples/1.4.x/server-swift/examples/functions/create-deployment.md index c6d32a1ba8..25299ccaa0 100644 --- a/docs/examples/1.4.x/server-swift/examples/functions/create-deployment.md +++ b/docs/examples/1.4.x/server-swift/examples/functions/create-deployment.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/functions/create-execution.md b/docs/examples/1.4.x/server-swift/examples/functions/create-execution.md index 0354bf5488..1454b4e11a 100644 --- a/docs/examples/1.4.x/server-swift/examples/functions/create-execution.md +++ b/docs/examples/1.4.x/server-swift/examples/functions/create-execution.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/functions/create-variable.md b/docs/examples/1.4.x/server-swift/examples/functions/create-variable.md index f261311192..914f189284 100644 --- a/docs/examples/1.4.x/server-swift/examples/functions/create-variable.md +++ b/docs/examples/1.4.x/server-swift/examples/functions/create-variable.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/functions/create.md b/docs/examples/1.4.x/server-swift/examples/functions/create.md index 739c79825a..0c67dc478e 100644 --- a/docs/examples/1.4.x/server-swift/examples/functions/create.md +++ b/docs/examples/1.4.x/server-swift/examples/functions/create.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/functions/delete-deployment.md b/docs/examples/1.4.x/server-swift/examples/functions/delete-deployment.md index 228f9f62e2..378e1f35aa 100644 --- a/docs/examples/1.4.x/server-swift/examples/functions/delete-deployment.md +++ b/docs/examples/1.4.x/server-swift/examples/functions/delete-deployment.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/functions/delete-variable.md b/docs/examples/1.4.x/server-swift/examples/functions/delete-variable.md index 410cffe13c..55e3d4a91f 100644 --- a/docs/examples/1.4.x/server-swift/examples/functions/delete-variable.md +++ b/docs/examples/1.4.x/server-swift/examples/functions/delete-variable.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/functions/delete.md b/docs/examples/1.4.x/server-swift/examples/functions/delete.md index bee774e61b..67b2f0332c 100644 --- a/docs/examples/1.4.x/server-swift/examples/functions/delete.md +++ b/docs/examples/1.4.x/server-swift/examples/functions/delete.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/functions/download-deployment.md b/docs/examples/1.4.x/server-swift/examples/functions/download-deployment.md index e75d1e7dfc..e835027225 100644 --- a/docs/examples/1.4.x/server-swift/examples/functions/download-deployment.md +++ b/docs/examples/1.4.x/server-swift/examples/functions/download-deployment.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/functions/get-deployment.md b/docs/examples/1.4.x/server-swift/examples/functions/get-deployment.md index 0a463c4121..aba9a5084a 100644 --- a/docs/examples/1.4.x/server-swift/examples/functions/get-deployment.md +++ b/docs/examples/1.4.x/server-swift/examples/functions/get-deployment.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/functions/get-execution.md b/docs/examples/1.4.x/server-swift/examples/functions/get-execution.md index 7af8bd5906..c8ec6c1aca 100644 --- a/docs/examples/1.4.x/server-swift/examples/functions/get-execution.md +++ b/docs/examples/1.4.x/server-swift/examples/functions/get-execution.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/functions/get-variable.md b/docs/examples/1.4.x/server-swift/examples/functions/get-variable.md index f2fa61b903..f8acd3dda4 100644 --- a/docs/examples/1.4.x/server-swift/examples/functions/get-variable.md +++ b/docs/examples/1.4.x/server-swift/examples/functions/get-variable.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/functions/get.md b/docs/examples/1.4.x/server-swift/examples/functions/get.md index c5ba24ae26..aead1667f2 100644 --- a/docs/examples/1.4.x/server-swift/examples/functions/get.md +++ b/docs/examples/1.4.x/server-swift/examples/functions/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/functions/list-deployments.md b/docs/examples/1.4.x/server-swift/examples/functions/list-deployments.md index 652620bf40..c2c32eaa34 100644 --- a/docs/examples/1.4.x/server-swift/examples/functions/list-deployments.md +++ b/docs/examples/1.4.x/server-swift/examples/functions/list-deployments.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/functions/list-executions.md b/docs/examples/1.4.x/server-swift/examples/functions/list-executions.md index fa32172cbd..26536b7e03 100644 --- a/docs/examples/1.4.x/server-swift/examples/functions/list-executions.md +++ b/docs/examples/1.4.x/server-swift/examples/functions/list-executions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/functions/list-runtimes.md b/docs/examples/1.4.x/server-swift/examples/functions/list-runtimes.md index 6a543754eb..c7de59bed3 100644 --- a/docs/examples/1.4.x/server-swift/examples/functions/list-runtimes.md +++ b/docs/examples/1.4.x/server-swift/examples/functions/list-runtimes.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/functions/list-variables.md b/docs/examples/1.4.x/server-swift/examples/functions/list-variables.md index d13c752254..abf0f514be 100644 --- a/docs/examples/1.4.x/server-swift/examples/functions/list-variables.md +++ b/docs/examples/1.4.x/server-swift/examples/functions/list-variables.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/functions/list.md b/docs/examples/1.4.x/server-swift/examples/functions/list.md index 81363f17ff..d04ab677f3 100644 --- a/docs/examples/1.4.x/server-swift/examples/functions/list.md +++ b/docs/examples/1.4.x/server-swift/examples/functions/list.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/functions/update-deployment.md b/docs/examples/1.4.x/server-swift/examples/functions/update-deployment.md index b0f4fc23c4..1e81e41286 100644 --- a/docs/examples/1.4.x/server-swift/examples/functions/update-deployment.md +++ b/docs/examples/1.4.x/server-swift/examples/functions/update-deployment.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/functions/update-variable.md b/docs/examples/1.4.x/server-swift/examples/functions/update-variable.md index 0eb5b2e976..2ce5b597ea 100644 --- a/docs/examples/1.4.x/server-swift/examples/functions/update-variable.md +++ b/docs/examples/1.4.x/server-swift/examples/functions/update-variable.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/functions/update.md b/docs/examples/1.4.x/server-swift/examples/functions/update.md index 3612a7c46d..ebbc92877b 100644 --- a/docs/examples/1.4.x/server-swift/examples/functions/update.md +++ b/docs/examples/1.4.x/server-swift/examples/functions/update.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/graphql/mutation.md b/docs/examples/1.4.x/server-swift/examples/graphql/mutation.md index db869d48c9..f2a0460e28 100644 --- a/docs/examples/1.4.x/server-swift/examples/graphql/mutation.md +++ b/docs/examples/1.4.x/server-swift/examples/graphql/mutation.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/graphql/query.md b/docs/examples/1.4.x/server-swift/examples/graphql/query.md index 5e97508be5..58fe1041c4 100644 --- a/docs/examples/1.4.x/server-swift/examples/graphql/query.md +++ b/docs/examples/1.4.x/server-swift/examples/graphql/query.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/health/get-antivirus.md b/docs/examples/1.4.x/server-swift/examples/health/get-antivirus.md index cab0d98339..2c45f7a619 100644 --- a/docs/examples/1.4.x/server-swift/examples/health/get-antivirus.md +++ b/docs/examples/1.4.x/server-swift/examples/health/get-antivirus.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/health/get-cache.md b/docs/examples/1.4.x/server-swift/examples/health/get-cache.md index a682d63a6f..8d54eede9c 100644 --- a/docs/examples/1.4.x/server-swift/examples/health/get-cache.md +++ b/docs/examples/1.4.x/server-swift/examples/health/get-cache.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/health/get-d-b.md b/docs/examples/1.4.x/server-swift/examples/health/get-d-b.md index 81645497b5..e115eee2ad 100644 --- a/docs/examples/1.4.x/server-swift/examples/health/get-d-b.md +++ b/docs/examples/1.4.x/server-swift/examples/health/get-d-b.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/health/get-pub-sub.md b/docs/examples/1.4.x/server-swift/examples/health/get-pub-sub.md index 5bf027108a..d06974d629 100644 --- a/docs/examples/1.4.x/server-swift/examples/health/get-pub-sub.md +++ b/docs/examples/1.4.x/server-swift/examples/health/get-pub-sub.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/health/get-queue-builds.md b/docs/examples/1.4.x/server-swift/examples/health/get-queue-builds.md index 5c8ac11366..426924a50c 100644 --- a/docs/examples/1.4.x/server-swift/examples/health/get-queue-builds.md +++ b/docs/examples/1.4.x/server-swift/examples/health/get-queue-builds.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/health/get-queue-certificates.md b/docs/examples/1.4.x/server-swift/examples/health/get-queue-certificates.md index 71f4dcfc43..f9490918e4 100644 --- a/docs/examples/1.4.x/server-swift/examples/health/get-queue-certificates.md +++ b/docs/examples/1.4.x/server-swift/examples/health/get-queue-certificates.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/health/get-queue-databases.md b/docs/examples/1.4.x/server-swift/examples/health/get-queue-databases.md index a35bd6b232..94a6cc06c2 100644 --- a/docs/examples/1.4.x/server-swift/examples/health/get-queue-databases.md +++ b/docs/examples/1.4.x/server-swift/examples/health/get-queue-databases.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/health/get-queue-deletes.md b/docs/examples/1.4.x/server-swift/examples/health/get-queue-deletes.md index fc0ec10f84..06fb93c282 100644 --- a/docs/examples/1.4.x/server-swift/examples/health/get-queue-deletes.md +++ b/docs/examples/1.4.x/server-swift/examples/health/get-queue-deletes.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/health/get-queue-functions.md b/docs/examples/1.4.x/server-swift/examples/health/get-queue-functions.md index d6bdf76756..2f412b9da1 100644 --- a/docs/examples/1.4.x/server-swift/examples/health/get-queue-functions.md +++ b/docs/examples/1.4.x/server-swift/examples/health/get-queue-functions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/health/get-queue-logs.md b/docs/examples/1.4.x/server-swift/examples/health/get-queue-logs.md index 7580e46da1..6fc521baef 100644 --- a/docs/examples/1.4.x/server-swift/examples/health/get-queue-logs.md +++ b/docs/examples/1.4.x/server-swift/examples/health/get-queue-logs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/health/get-queue-mails.md b/docs/examples/1.4.x/server-swift/examples/health/get-queue-mails.md index a9177a7a62..0cd7fc1f63 100644 --- a/docs/examples/1.4.x/server-swift/examples/health/get-queue-mails.md +++ b/docs/examples/1.4.x/server-swift/examples/health/get-queue-mails.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/health/get-queue-messaging.md b/docs/examples/1.4.x/server-swift/examples/health/get-queue-messaging.md index 04e3643615..68dea12e93 100644 --- a/docs/examples/1.4.x/server-swift/examples/health/get-queue-messaging.md +++ b/docs/examples/1.4.x/server-swift/examples/health/get-queue-messaging.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/health/get-queue-migrations.md b/docs/examples/1.4.x/server-swift/examples/health/get-queue-migrations.md index 6b28b4ee64..13f596b269 100644 --- a/docs/examples/1.4.x/server-swift/examples/health/get-queue-migrations.md +++ b/docs/examples/1.4.x/server-swift/examples/health/get-queue-migrations.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/health/get-queue-webhooks.md b/docs/examples/1.4.x/server-swift/examples/health/get-queue-webhooks.md index 431a5a031c..42f1de37fe 100644 --- a/docs/examples/1.4.x/server-swift/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.4.x/server-swift/examples/health/get-queue-webhooks.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/health/get-queue.md b/docs/examples/1.4.x/server-swift/examples/health/get-queue.md index 6f8131d7e8..88e3b8a82b 100644 --- a/docs/examples/1.4.x/server-swift/examples/health/get-queue.md +++ b/docs/examples/1.4.x/server-swift/examples/health/get-queue.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/health/get-storage-local.md b/docs/examples/1.4.x/server-swift/examples/health/get-storage-local.md index ee807980bb..276b1635ae 100644 --- a/docs/examples/1.4.x/server-swift/examples/health/get-storage-local.md +++ b/docs/examples/1.4.x/server-swift/examples/health/get-storage-local.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/health/get-time.md b/docs/examples/1.4.x/server-swift/examples/health/get-time.md index f6d66d950a..7b4bbb3dee 100644 --- a/docs/examples/1.4.x/server-swift/examples/health/get-time.md +++ b/docs/examples/1.4.x/server-swift/examples/health/get-time.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/health/get.md b/docs/examples/1.4.x/server-swift/examples/health/get.md index 828f3453e0..179b9694a2 100644 --- a/docs/examples/1.4.x/server-swift/examples/health/get.md +++ b/docs/examples/1.4.x/server-swift/examples/health/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/locale/get.md b/docs/examples/1.4.x/server-swift/examples/locale/get.md index 5c5aee4cb4..99df3ebbd1 100644 --- a/docs/examples/1.4.x/server-swift/examples/locale/get.md +++ b/docs/examples/1.4.x/server-swift/examples/locale/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/locale/list-codes.md b/docs/examples/1.4.x/server-swift/examples/locale/list-codes.md index 72966a6371..9e0b107b54 100644 --- a/docs/examples/1.4.x/server-swift/examples/locale/list-codes.md +++ b/docs/examples/1.4.x/server-swift/examples/locale/list-codes.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/locale/list-continents.md b/docs/examples/1.4.x/server-swift/examples/locale/list-continents.md index 8cd7964b63..d3b8a66262 100644 --- a/docs/examples/1.4.x/server-swift/examples/locale/list-continents.md +++ b/docs/examples/1.4.x/server-swift/examples/locale/list-continents.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/locale/list-countries-e-u.md b/docs/examples/1.4.x/server-swift/examples/locale/list-countries-e-u.md index a787e7b722..a02f72cd7a 100644 --- a/docs/examples/1.4.x/server-swift/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.4.x/server-swift/examples/locale/list-countries-e-u.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/locale/list-countries-phones.md b/docs/examples/1.4.x/server-swift/examples/locale/list-countries-phones.md index cf16d2d0b2..2d4d7ef006 100644 --- a/docs/examples/1.4.x/server-swift/examples/locale/list-countries-phones.md +++ b/docs/examples/1.4.x/server-swift/examples/locale/list-countries-phones.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/locale/list-countries.md b/docs/examples/1.4.x/server-swift/examples/locale/list-countries.md index 32d5901e37..ba769689a3 100644 --- a/docs/examples/1.4.x/server-swift/examples/locale/list-countries.md +++ b/docs/examples/1.4.x/server-swift/examples/locale/list-countries.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/locale/list-currencies.md b/docs/examples/1.4.x/server-swift/examples/locale/list-currencies.md index 6b1daa7422..2211e1855f 100644 --- a/docs/examples/1.4.x/server-swift/examples/locale/list-currencies.md +++ b/docs/examples/1.4.x/server-swift/examples/locale/list-currencies.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/locale/list-languages.md b/docs/examples/1.4.x/server-swift/examples/locale/list-languages.md index 72c5649aae..c865670953 100644 --- a/docs/examples/1.4.x/server-swift/examples/locale/list-languages.md +++ b/docs/examples/1.4.x/server-swift/examples/locale/list-languages.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/storage/create-bucket.md b/docs/examples/1.4.x/server-swift/examples/storage/create-bucket.md index d3f91ab7af..80ffc45dec 100644 --- a/docs/examples/1.4.x/server-swift/examples/storage/create-bucket.md +++ b/docs/examples/1.4.x/server-swift/examples/storage/create-bucket.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/storage/create-file.md b/docs/examples/1.4.x/server-swift/examples/storage/create-file.md index 45dd245d31..664a54c53f 100644 --- a/docs/examples/1.4.x/server-swift/examples/storage/create-file.md +++ b/docs/examples/1.4.x/server-swift/examples/storage/create-file.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/storage/delete-bucket.md b/docs/examples/1.4.x/server-swift/examples/storage/delete-bucket.md index 4d41f1c373..6c40736576 100644 --- a/docs/examples/1.4.x/server-swift/examples/storage/delete-bucket.md +++ b/docs/examples/1.4.x/server-swift/examples/storage/delete-bucket.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/storage/delete-file.md b/docs/examples/1.4.x/server-swift/examples/storage/delete-file.md index b2168f8ca1..5d547d82a5 100644 --- a/docs/examples/1.4.x/server-swift/examples/storage/delete-file.md +++ b/docs/examples/1.4.x/server-swift/examples/storage/delete-file.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/storage/get-bucket.md b/docs/examples/1.4.x/server-swift/examples/storage/get-bucket.md index 8a27759e0e..352aab3412 100644 --- a/docs/examples/1.4.x/server-swift/examples/storage/get-bucket.md +++ b/docs/examples/1.4.x/server-swift/examples/storage/get-bucket.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/storage/get-file-download.md b/docs/examples/1.4.x/server-swift/examples/storage/get-file-download.md index 5205e17d43..1784f72852 100644 --- a/docs/examples/1.4.x/server-swift/examples/storage/get-file-download.md +++ b/docs/examples/1.4.x/server-swift/examples/storage/get-file-download.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/storage/get-file-preview.md b/docs/examples/1.4.x/server-swift/examples/storage/get-file-preview.md index f6fbec6654..92fce42694 100644 --- a/docs/examples/1.4.x/server-swift/examples/storage/get-file-preview.md +++ b/docs/examples/1.4.x/server-swift/examples/storage/get-file-preview.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/storage/get-file-view.md b/docs/examples/1.4.x/server-swift/examples/storage/get-file-view.md index 5926bdd959..10d9c181d1 100644 --- a/docs/examples/1.4.x/server-swift/examples/storage/get-file-view.md +++ b/docs/examples/1.4.x/server-swift/examples/storage/get-file-view.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/storage/get-file.md b/docs/examples/1.4.x/server-swift/examples/storage/get-file.md index e516242775..697dc83a16 100644 --- a/docs/examples/1.4.x/server-swift/examples/storage/get-file.md +++ b/docs/examples/1.4.x/server-swift/examples/storage/get-file.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/storage/list-buckets.md b/docs/examples/1.4.x/server-swift/examples/storage/list-buckets.md index a3e92b282e..c991833cdb 100644 --- a/docs/examples/1.4.x/server-swift/examples/storage/list-buckets.md +++ b/docs/examples/1.4.x/server-swift/examples/storage/list-buckets.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/storage/list-files.md b/docs/examples/1.4.x/server-swift/examples/storage/list-files.md index 153a10d27f..1f0018a150 100644 --- a/docs/examples/1.4.x/server-swift/examples/storage/list-files.md +++ b/docs/examples/1.4.x/server-swift/examples/storage/list-files.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/storage/update-bucket.md b/docs/examples/1.4.x/server-swift/examples/storage/update-bucket.md index d2fd96c33d..f495e5efaa 100644 --- a/docs/examples/1.4.x/server-swift/examples/storage/update-bucket.md +++ b/docs/examples/1.4.x/server-swift/examples/storage/update-bucket.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/storage/update-file.md b/docs/examples/1.4.x/server-swift/examples/storage/update-file.md index f37202aa30..3a29db869d 100644 --- a/docs/examples/1.4.x/server-swift/examples/storage/update-file.md +++ b/docs/examples/1.4.x/server-swift/examples/storage/update-file.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/teams/create-membership.md b/docs/examples/1.4.x/server-swift/examples/teams/create-membership.md index d441c26d27..3f32ea0873 100644 --- a/docs/examples/1.4.x/server-swift/examples/teams/create-membership.md +++ b/docs/examples/1.4.x/server-swift/examples/teams/create-membership.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/teams/create.md b/docs/examples/1.4.x/server-swift/examples/teams/create.md index e4f8c09e57..2e2b7faba0 100644 --- a/docs/examples/1.4.x/server-swift/examples/teams/create.md +++ b/docs/examples/1.4.x/server-swift/examples/teams/create.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/teams/delete-membership.md b/docs/examples/1.4.x/server-swift/examples/teams/delete-membership.md index 25326deba0..2f08c2cf0b 100644 --- a/docs/examples/1.4.x/server-swift/examples/teams/delete-membership.md +++ b/docs/examples/1.4.x/server-swift/examples/teams/delete-membership.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/teams/delete.md b/docs/examples/1.4.x/server-swift/examples/teams/delete.md index c0e3d5e898..104b19cecc 100644 --- a/docs/examples/1.4.x/server-swift/examples/teams/delete.md +++ b/docs/examples/1.4.x/server-swift/examples/teams/delete.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/teams/get-membership.md b/docs/examples/1.4.x/server-swift/examples/teams/get-membership.md index c399832ec2..c7adc3d0b6 100644 --- a/docs/examples/1.4.x/server-swift/examples/teams/get-membership.md +++ b/docs/examples/1.4.x/server-swift/examples/teams/get-membership.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/teams/get-prefs.md b/docs/examples/1.4.x/server-swift/examples/teams/get-prefs.md index 4a79855f65..8cb4da4962 100644 --- a/docs/examples/1.4.x/server-swift/examples/teams/get-prefs.md +++ b/docs/examples/1.4.x/server-swift/examples/teams/get-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-swift/examples/teams/get.md b/docs/examples/1.4.x/server-swift/examples/teams/get.md index 07980d4f48..a100c3d20b 100644 --- a/docs/examples/1.4.x/server-swift/examples/teams/get.md +++ b/docs/examples/1.4.x/server-swift/examples/teams/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/teams/list-memberships.md b/docs/examples/1.4.x/server-swift/examples/teams/list-memberships.md index 57d6ef7d37..31fd613114 100644 --- a/docs/examples/1.4.x/server-swift/examples/teams/list-memberships.md +++ b/docs/examples/1.4.x/server-swift/examples/teams/list-memberships.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/teams/list.md b/docs/examples/1.4.x/server-swift/examples/teams/list.md index cdb174c357..b5aa000dc0 100644 --- a/docs/examples/1.4.x/server-swift/examples/teams/list.md +++ b/docs/examples/1.4.x/server-swift/examples/teams/list.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/teams/update-membership-status.md b/docs/examples/1.4.x/server-swift/examples/teams/update-membership-status.md index e209ece5ea..0ef80c00cc 100644 --- a/docs/examples/1.4.x/server-swift/examples/teams/update-membership-status.md +++ b/docs/examples/1.4.x/server-swift/examples/teams/update-membership-status.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-swift/examples/teams/update-membership.md b/docs/examples/1.4.x/server-swift/examples/teams/update-membership.md index 0bbb83228e..cb2d9c776e 100644 --- a/docs/examples/1.4.x/server-swift/examples/teams/update-membership.md +++ b/docs/examples/1.4.x/server-swift/examples/teams/update-membership.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/teams/update-name.md b/docs/examples/1.4.x/server-swift/examples/teams/update-name.md index 378d6d1ade..66196008c7 100644 --- a/docs/examples/1.4.x/server-swift/examples/teams/update-name.md +++ b/docs/examples/1.4.x/server-swift/examples/teams/update-name.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/teams/update-prefs.md b/docs/examples/1.4.x/server-swift/examples/teams/update-prefs.md index 142896ad8a..1d1ffd1d94 100644 --- a/docs/examples/1.4.x/server-swift/examples/teams/update-prefs.md +++ b/docs/examples/1.4.x/server-swift/examples/teams/update-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token diff --git a/docs/examples/1.4.x/server-swift/examples/users/create-argon2user.md b/docs/examples/1.4.x/server-swift/examples/users/create-argon2user.md index 5914c87d96..bdef66e02c 100644 --- a/docs/examples/1.4.x/server-swift/examples/users/create-argon2user.md +++ b/docs/examples/1.4.x/server-swift/examples/users/create-argon2user.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/users/create-bcrypt-user.md b/docs/examples/1.4.x/server-swift/examples/users/create-bcrypt-user.md index 4321365b5c..2e2f17737b 100644 --- a/docs/examples/1.4.x/server-swift/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.4.x/server-swift/examples/users/create-bcrypt-user.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/users/create-m-d5user.md b/docs/examples/1.4.x/server-swift/examples/users/create-m-d5user.md index 2302780c6b..30033f8b9d 100644 --- a/docs/examples/1.4.x/server-swift/examples/users/create-m-d5user.md +++ b/docs/examples/1.4.x/server-swift/examples/users/create-m-d5user.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/users/create-p-h-pass-user.md b/docs/examples/1.4.x/server-swift/examples/users/create-p-h-pass-user.md index b856891a7d..65cd8658f4 100644 --- a/docs/examples/1.4.x/server-swift/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.4.x/server-swift/examples/users/create-p-h-pass-user.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/users/create-s-h-a-user.md b/docs/examples/1.4.x/server-swift/examples/users/create-s-h-a-user.md index c96661377a..c6c8f41b07 100644 --- a/docs/examples/1.4.x/server-swift/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.4.x/server-swift/examples/users/create-s-h-a-user.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/users/create-scrypt-modified-user.md b/docs/examples/1.4.x/server-swift/examples/users/create-scrypt-modified-user.md index 3a9f70386e..bfc1ba25e9 100644 --- a/docs/examples/1.4.x/server-swift/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.4.x/server-swift/examples/users/create-scrypt-modified-user.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/users/create-scrypt-user.md b/docs/examples/1.4.x/server-swift/examples/users/create-scrypt-user.md index dbe923de93..5716295eae 100644 --- a/docs/examples/1.4.x/server-swift/examples/users/create-scrypt-user.md +++ b/docs/examples/1.4.x/server-swift/examples/users/create-scrypt-user.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/users/create.md b/docs/examples/1.4.x/server-swift/examples/users/create.md index db49c1f77f..1727ee5acd 100644 --- a/docs/examples/1.4.x/server-swift/examples/users/create.md +++ b/docs/examples/1.4.x/server-swift/examples/users/create.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/users/delete-identity.md b/docs/examples/1.4.x/server-swift/examples/users/delete-identity.md index d4b26dbc68..7c18ed06d6 100644 --- a/docs/examples/1.4.x/server-swift/examples/users/delete-identity.md +++ b/docs/examples/1.4.x/server-swift/examples/users/delete-identity.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/users/delete-session.md b/docs/examples/1.4.x/server-swift/examples/users/delete-session.md index 161e11d274..694dcdb792 100644 --- a/docs/examples/1.4.x/server-swift/examples/users/delete-session.md +++ b/docs/examples/1.4.x/server-swift/examples/users/delete-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/users/delete-sessions.md b/docs/examples/1.4.x/server-swift/examples/users/delete-sessions.md index 71bc2bf893..a3d02a8203 100644 --- a/docs/examples/1.4.x/server-swift/examples/users/delete-sessions.md +++ b/docs/examples/1.4.x/server-swift/examples/users/delete-sessions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/users/delete.md b/docs/examples/1.4.x/server-swift/examples/users/delete.md index c8762da65a..883e305527 100644 --- a/docs/examples/1.4.x/server-swift/examples/users/delete.md +++ b/docs/examples/1.4.x/server-swift/examples/users/delete.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/users/get-prefs.md b/docs/examples/1.4.x/server-swift/examples/users/get-prefs.md index 956724d0b3..149ec00099 100644 --- a/docs/examples/1.4.x/server-swift/examples/users/get-prefs.md +++ b/docs/examples/1.4.x/server-swift/examples/users/get-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/users/get.md b/docs/examples/1.4.x/server-swift/examples/users/get.md index a2b3a126f9..83126bd872 100644 --- a/docs/examples/1.4.x/server-swift/examples/users/get.md +++ b/docs/examples/1.4.x/server-swift/examples/users/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/users/list-identities.md b/docs/examples/1.4.x/server-swift/examples/users/list-identities.md index db55096368..9dd48cf22d 100644 --- a/docs/examples/1.4.x/server-swift/examples/users/list-identities.md +++ b/docs/examples/1.4.x/server-swift/examples/users/list-identities.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/users/list-logs.md b/docs/examples/1.4.x/server-swift/examples/users/list-logs.md index 20a55b7f50..71c3f66785 100644 --- a/docs/examples/1.4.x/server-swift/examples/users/list-logs.md +++ b/docs/examples/1.4.x/server-swift/examples/users/list-logs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/users/list-memberships.md b/docs/examples/1.4.x/server-swift/examples/users/list-memberships.md index c07287eb46..089b27da64 100644 --- a/docs/examples/1.4.x/server-swift/examples/users/list-memberships.md +++ b/docs/examples/1.4.x/server-swift/examples/users/list-memberships.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/users/list-sessions.md b/docs/examples/1.4.x/server-swift/examples/users/list-sessions.md index 9f403d8da0..ed3c7677bf 100644 --- a/docs/examples/1.4.x/server-swift/examples/users/list-sessions.md +++ b/docs/examples/1.4.x/server-swift/examples/users/list-sessions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/users/list.md b/docs/examples/1.4.x/server-swift/examples/users/list.md index 6b41b20015..59a0e1d44d 100644 --- a/docs/examples/1.4.x/server-swift/examples/users/list.md +++ b/docs/examples/1.4.x/server-swift/examples/users/list.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/users/update-email-verification.md b/docs/examples/1.4.x/server-swift/examples/users/update-email-verification.md index b0649e63f6..76e0a069b3 100644 --- a/docs/examples/1.4.x/server-swift/examples/users/update-email-verification.md +++ b/docs/examples/1.4.x/server-swift/examples/users/update-email-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/users/update-email.md b/docs/examples/1.4.x/server-swift/examples/users/update-email.md index 892ff0033f..7d779fcd1f 100644 --- a/docs/examples/1.4.x/server-swift/examples/users/update-email.md +++ b/docs/examples/1.4.x/server-swift/examples/users/update-email.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/users/update-labels.md b/docs/examples/1.4.x/server-swift/examples/users/update-labels.md index 47fc143387..8aade12c64 100644 --- a/docs/examples/1.4.x/server-swift/examples/users/update-labels.md +++ b/docs/examples/1.4.x/server-swift/examples/users/update-labels.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/users/update-name.md b/docs/examples/1.4.x/server-swift/examples/users/update-name.md index a5ce6f9cad..4f0e1118f6 100644 --- a/docs/examples/1.4.x/server-swift/examples/users/update-name.md +++ b/docs/examples/1.4.x/server-swift/examples/users/update-name.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/users/update-password.md b/docs/examples/1.4.x/server-swift/examples/users/update-password.md index fa2de8b93c..cac1e9c6a2 100644 --- a/docs/examples/1.4.x/server-swift/examples/users/update-password.md +++ b/docs/examples/1.4.x/server-swift/examples/users/update-password.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/users/update-phone-verification.md b/docs/examples/1.4.x/server-swift/examples/users/update-phone-verification.md index f837ffc167..ea10791ac0 100644 --- a/docs/examples/1.4.x/server-swift/examples/users/update-phone-verification.md +++ b/docs/examples/1.4.x/server-swift/examples/users/update-phone-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/users/update-phone.md b/docs/examples/1.4.x/server-swift/examples/users/update-phone.md index f2b8f350de..465d2613c9 100644 --- a/docs/examples/1.4.x/server-swift/examples/users/update-phone.md +++ b/docs/examples/1.4.x/server-swift/examples/users/update-phone.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/users/update-prefs.md b/docs/examples/1.4.x/server-swift/examples/users/update-prefs.md index fc4131ea2f..387d04f82e 100644 --- a/docs/examples/1.4.x/server-swift/examples/users/update-prefs.md +++ b/docs/examples/1.4.x/server-swift/examples/users/update-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.4.x/server-swift/examples/users/update-status.md b/docs/examples/1.4.x/server-swift/examples/users/update-status.md index f382775b17..c89328d341 100644 --- a/docs/examples/1.4.x/server-swift/examples/users/update-status.md +++ b/docs/examples/1.4.x/server-swift/examples/users/update-status.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.5.x/client-android/java/account/add-authenticator.md b/docs/examples/1.5.x/client-android/java/account/add-authenticator.md index e81255d1e6..c38ff35c72 100644 --- a/docs/examples/1.5.x/client-android/java/account/add-authenticator.md +++ b/docs/examples/1.5.x/client-android/java/account/add-authenticator.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; import io.appwrite.enums.AuthenticatorType; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/create-anonymous-session.md b/docs/examples/1.5.x/client-android/java/account/create-anonymous-session.md index 46ae275ea7..1639cdc1f0 100644 --- a/docs/examples/1.5.x/client-android/java/account/create-anonymous-session.md +++ b/docs/examples/1.5.x/client-android/java/account/create-anonymous-session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/create-challenge.md b/docs/examples/1.5.x/client-android/java/account/create-challenge.md index 7a319205d9..4b93e74392 100644 --- a/docs/examples/1.5.x/client-android/java/account/create-challenge.md +++ b/docs/examples/1.5.x/client-android/java/account/create-challenge.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; import io.appwrite.enums.AuthenticationFactor; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/create-email-password-session.md b/docs/examples/1.5.x/client-android/java/account/create-email-password-session.md index 85d460e585..817bda0123 100644 --- a/docs/examples/1.5.x/client-android/java/account/create-email-password-session.md +++ b/docs/examples/1.5.x/client-android/java/account/create-email-password-session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/create-email-token.md b/docs/examples/1.5.x/client-android/java/account/create-email-token.md index adf8b3def3..a4bc83b601 100644 --- a/docs/examples/1.5.x/client-android/java/account/create-email-token.md +++ b/docs/examples/1.5.x/client-android/java/account/create-email-token.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/create-j-w-t.md b/docs/examples/1.5.x/client-android/java/account/create-j-w-t.md index 13e6e49e46..9aeb29c77a 100644 --- a/docs/examples/1.5.x/client-android/java/account/create-j-w-t.md +++ b/docs/examples/1.5.x/client-android/java/account/create-j-w-t.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/create-magic-u-r-l-token.md b/docs/examples/1.5.x/client-android/java/account/create-magic-u-r-l-token.md index 21108cc11c..e57758aca4 100644 --- a/docs/examples/1.5.x/client-android/java/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.5.x/client-android/java/account/create-magic-u-r-l-token.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/create-mfa-authenticator.md b/docs/examples/1.5.x/client-android/java/account/create-mfa-authenticator.md index cc64341441..b8b06c34f3 100644 --- a/docs/examples/1.5.x/client-android/java/account/create-mfa-authenticator.md +++ b/docs/examples/1.5.x/client-android/java/account/create-mfa-authenticator.md @@ -5,7 +5,7 @@ import io.appwrite.enums.AuthenticatorType; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/create-mfa-challenge.md b/docs/examples/1.5.x/client-android/java/account/create-mfa-challenge.md index a2c2aa4601..d9d9bb6732 100644 --- a/docs/examples/1.5.x/client-android/java/account/create-mfa-challenge.md +++ b/docs/examples/1.5.x/client-android/java/account/create-mfa-challenge.md @@ -5,7 +5,7 @@ import io.appwrite.enums.AuthenticationFactor; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/create-mfa-recovery-codes.md b/docs/examples/1.5.x/client-android/java/account/create-mfa-recovery-codes.md index 8ed8573c5e..6e23ad2a99 100644 --- a/docs/examples/1.5.x/client-android/java/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/client-android/java/account/create-mfa-recovery-codes.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/create-o-auth2session.md b/docs/examples/1.5.x/client-android/java/account/create-o-auth2session.md index ba284a1a06..59f5b418e7 100644 --- a/docs/examples/1.5.x/client-android/java/account/create-o-auth2session.md +++ b/docs/examples/1.5.x/client-android/java/account/create-o-auth2session.md @@ -5,7 +5,7 @@ import io.appwrite.enums.OAuthProvider; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/create-o-auth2token.md b/docs/examples/1.5.x/client-android/java/account/create-o-auth2token.md index eb64da12e7..610319682c 100644 --- a/docs/examples/1.5.x/client-android/java/account/create-o-auth2token.md +++ b/docs/examples/1.5.x/client-android/java/account/create-o-auth2token.md @@ -5,7 +5,7 @@ import io.appwrite.enums.OAuthProvider; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/create-phone-token.md b/docs/examples/1.5.x/client-android/java/account/create-phone-token.md index 29ef311c9a..a1ad85be75 100644 --- a/docs/examples/1.5.x/client-android/java/account/create-phone-token.md +++ b/docs/examples/1.5.x/client-android/java/account/create-phone-token.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/create-phone-verification.md b/docs/examples/1.5.x/client-android/java/account/create-phone-verification.md index ef14ce8531..cca9283392 100644 --- a/docs/examples/1.5.x/client-android/java/account/create-phone-verification.md +++ b/docs/examples/1.5.x/client-android/java/account/create-phone-verification.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/create-push-target.md b/docs/examples/1.5.x/client-android/java/account/create-push-target.md index 7eff45379a..34e8fcb25d 100644 --- a/docs/examples/1.5.x/client-android/java/account/create-push-target.md +++ b/docs/examples/1.5.x/client-android/java/account/create-push-target.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/create-recovery.md b/docs/examples/1.5.x/client-android/java/account/create-recovery.md index 19006f63ef..4d2af8b160 100644 --- a/docs/examples/1.5.x/client-android/java/account/create-recovery.md +++ b/docs/examples/1.5.x/client-android/java/account/create-recovery.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/create-session.md b/docs/examples/1.5.x/client-android/java/account/create-session.md index 013d372c00..71d11a541c 100644 --- a/docs/examples/1.5.x/client-android/java/account/create-session.md +++ b/docs/examples/1.5.x/client-android/java/account/create-session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/create-verification.md b/docs/examples/1.5.x/client-android/java/account/create-verification.md index 254a31b828..be4f7c91b9 100644 --- a/docs/examples/1.5.x/client-android/java/account/create-verification.md +++ b/docs/examples/1.5.x/client-android/java/account/create-verification.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/create.md b/docs/examples/1.5.x/client-android/java/account/create.md index 8ee1de3eda..e7212486bc 100644 --- a/docs/examples/1.5.x/client-android/java/account/create.md +++ b/docs/examples/1.5.x/client-android/java/account/create.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/create2f-a-challenge.md b/docs/examples/1.5.x/client-android/java/account/create2f-a-challenge.md index e095df776c..95bba7ca0a 100644 --- a/docs/examples/1.5.x/client-android/java/account/create2f-a-challenge.md +++ b/docs/examples/1.5.x/client-android/java/account/create2f-a-challenge.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; import io.appwrite.enums.AuthenticationFactor; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/delete-authenticator.md b/docs/examples/1.5.x/client-android/java/account/delete-authenticator.md index c988cfa1e3..270fba43ba 100644 --- a/docs/examples/1.5.x/client-android/java/account/delete-authenticator.md +++ b/docs/examples/1.5.x/client-android/java/account/delete-authenticator.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; import io.appwrite.enums.AuthenticatorType; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/delete-identity.md b/docs/examples/1.5.x/client-android/java/account/delete-identity.md index 1d6922a2f2..6a62ea2a00 100644 --- a/docs/examples/1.5.x/client-android/java/account/delete-identity.md +++ b/docs/examples/1.5.x/client-android/java/account/delete-identity.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/delete-mfa-authenticator.md b/docs/examples/1.5.x/client-android/java/account/delete-mfa-authenticator.md index e8219307b9..bb6cb09f0a 100644 --- a/docs/examples/1.5.x/client-android/java/account/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/client-android/java/account/delete-mfa-authenticator.md @@ -5,13 +5,12 @@ import io.appwrite.enums.AuthenticatorType; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); account.deleteMfaAuthenticator( AuthenticatorType.TOTP, // type - "<OTP>", // otp new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.5.x/client-android/java/account/delete-push-target.md b/docs/examples/1.5.x/client-android/java/account/delete-push-target.md index 484fc2cb13..c320800419 100644 --- a/docs/examples/1.5.x/client-android/java/account/delete-push-target.md +++ b/docs/examples/1.5.x/client-android/java/account/delete-push-target.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/delete-session.md b/docs/examples/1.5.x/client-android/java/account/delete-session.md index 4344061438..2efc0f6463 100644 --- a/docs/examples/1.5.x/client-android/java/account/delete-session.md +++ b/docs/examples/1.5.x/client-android/java/account/delete-session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/delete-sessions.md b/docs/examples/1.5.x/client-android/java/account/delete-sessions.md index 147523ed2a..d4c438070e 100644 --- a/docs/examples/1.5.x/client-android/java/account/delete-sessions.md +++ b/docs/examples/1.5.x/client-android/java/account/delete-sessions.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/get-mfa-recovery-codes.md b/docs/examples/1.5.x/client-android/java/account/get-mfa-recovery-codes.md index 14e5023a17..acf5984f69 100644 --- a/docs/examples/1.5.x/client-android/java/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/client-android/java/account/get-mfa-recovery-codes.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/get-prefs.md b/docs/examples/1.5.x/client-android/java/account/get-prefs.md index bfa3c1a0e2..0fea3fe40a 100644 --- a/docs/examples/1.5.x/client-android/java/account/get-prefs.md +++ b/docs/examples/1.5.x/client-android/java/account/get-prefs.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/get-session.md b/docs/examples/1.5.x/client-android/java/account/get-session.md index 470f643b73..3ce4ab5177 100644 --- a/docs/examples/1.5.x/client-android/java/account/get-session.md +++ b/docs/examples/1.5.x/client-android/java/account/get-session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/get.md b/docs/examples/1.5.x/client-android/java/account/get.md index 9006cb8411..5c25ed08cd 100644 --- a/docs/examples/1.5.x/client-android/java/account/get.md +++ b/docs/examples/1.5.x/client-android/java/account/get.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/list-factors.md b/docs/examples/1.5.x/client-android/java/account/list-factors.md index e2d92b5e80..4e83332a6e 100644 --- a/docs/examples/1.5.x/client-android/java/account/list-factors.md +++ b/docs/examples/1.5.x/client-android/java/account/list-factors.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/list-identities.md b/docs/examples/1.5.x/client-android/java/account/list-identities.md index cb5f74ecca..7f9449dc22 100644 --- a/docs/examples/1.5.x/client-android/java/account/list-identities.md +++ b/docs/examples/1.5.x/client-android/java/account/list-identities.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/list-logs.md b/docs/examples/1.5.x/client-android/java/account/list-logs.md index 998d8a88f6..3aa66e2b8d 100644 --- a/docs/examples/1.5.x/client-android/java/account/list-logs.md +++ b/docs/examples/1.5.x/client-android/java/account/list-logs.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/list-mfa-factors.md b/docs/examples/1.5.x/client-android/java/account/list-mfa-factors.md index e1a6fa6976..a10cb8d520 100644 --- a/docs/examples/1.5.x/client-android/java/account/list-mfa-factors.md +++ b/docs/examples/1.5.x/client-android/java/account/list-mfa-factors.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/list-sessions.md b/docs/examples/1.5.x/client-android/java/account/list-sessions.md index 9e70f0d70e..aa8d37b373 100644 --- a/docs/examples/1.5.x/client-android/java/account/list-sessions.md +++ b/docs/examples/1.5.x/client-android/java/account/list-sessions.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/update-challenge.md b/docs/examples/1.5.x/client-android/java/account/update-challenge.md index b2953e3347..90c4c4d958 100644 --- a/docs/examples/1.5.x/client-android/java/account/update-challenge.md +++ b/docs/examples/1.5.x/client-android/java/account/update-challenge.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/update-email.md b/docs/examples/1.5.x/client-android/java/account/update-email.md index 13c5b65c3b..98cf9076c4 100644 --- a/docs/examples/1.5.x/client-android/java/account/update-email.md +++ b/docs/examples/1.5.x/client-android/java/account/update-email.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/update-m-f-a.md b/docs/examples/1.5.x/client-android/java/account/update-m-f-a.md index 7c774c7d7f..620a20c267 100644 --- a/docs/examples/1.5.x/client-android/java/account/update-m-f-a.md +++ b/docs/examples/1.5.x/client-android/java/account/update-m-f-a.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/update-magic-u-r-l-session.md b/docs/examples/1.5.x/client-android/java/account/update-magic-u-r-l-session.md index 339b1f7134..1b79b73b1c 100644 --- a/docs/examples/1.5.x/client-android/java/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.5.x/client-android/java/account/update-magic-u-r-l-session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/update-mfa-authenticator.md b/docs/examples/1.5.x/client-android/java/account/update-mfa-authenticator.md index 44bb7f039d..74321be38b 100644 --- a/docs/examples/1.5.x/client-android/java/account/update-mfa-authenticator.md +++ b/docs/examples/1.5.x/client-android/java/account/update-mfa-authenticator.md @@ -5,7 +5,7 @@ import io.appwrite.enums.AuthenticatorType; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/update-mfa-challenge.md b/docs/examples/1.5.x/client-android/java/account/update-mfa-challenge.md index e30c733fa2..a92f007092 100644 --- a/docs/examples/1.5.x/client-android/java/account/update-mfa-challenge.md +++ b/docs/examples/1.5.x/client-android/java/account/update-mfa-challenge.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/update-mfa-recovery-codes.md b/docs/examples/1.5.x/client-android/java/account/update-mfa-recovery-codes.md index 880d478049..2aa82b1d44 100644 --- a/docs/examples/1.5.x/client-android/java/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/client-android/java/account/update-mfa-recovery-codes.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/update-name.md b/docs/examples/1.5.x/client-android/java/account/update-name.md index ff23acecf3..40a5e2ea55 100644 --- a/docs/examples/1.5.x/client-android/java/account/update-name.md +++ b/docs/examples/1.5.x/client-android/java/account/update-name.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/update-password.md b/docs/examples/1.5.x/client-android/java/account/update-password.md index 764debfc2d..355c06de71 100644 --- a/docs/examples/1.5.x/client-android/java/account/update-password.md +++ b/docs/examples/1.5.x/client-android/java/account/update-password.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/update-phone-session.md b/docs/examples/1.5.x/client-android/java/account/update-phone-session.md index 69d2dd76f0..042238e397 100644 --- a/docs/examples/1.5.x/client-android/java/account/update-phone-session.md +++ b/docs/examples/1.5.x/client-android/java/account/update-phone-session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/update-phone-verification.md b/docs/examples/1.5.x/client-android/java/account/update-phone-verification.md index 304e73edbc..ba7b69cb34 100644 --- a/docs/examples/1.5.x/client-android/java/account/update-phone-verification.md +++ b/docs/examples/1.5.x/client-android/java/account/update-phone-verification.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/update-phone.md b/docs/examples/1.5.x/client-android/java/account/update-phone.md index 795700a632..b3ce0f6816 100644 --- a/docs/examples/1.5.x/client-android/java/account/update-phone.md +++ b/docs/examples/1.5.x/client-android/java/account/update-phone.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/update-prefs.md b/docs/examples/1.5.x/client-android/java/account/update-prefs.md index 71eae4c26b..d74606739f 100644 --- a/docs/examples/1.5.x/client-android/java/account/update-prefs.md +++ b/docs/examples/1.5.x/client-android/java/account/update-prefs.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/update-push-target.md b/docs/examples/1.5.x/client-android/java/account/update-push-target.md index 90dc29ea3a..f9491e06b7 100644 --- a/docs/examples/1.5.x/client-android/java/account/update-push-target.md +++ b/docs/examples/1.5.x/client-android/java/account/update-push-target.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/update-recovery.md b/docs/examples/1.5.x/client-android/java/account/update-recovery.md index 527351ccef..e172f12ccf 100644 --- a/docs/examples/1.5.x/client-android/java/account/update-recovery.md +++ b/docs/examples/1.5.x/client-android/java/account/update-recovery.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/update-session.md b/docs/examples/1.5.x/client-android/java/account/update-session.md index e2ef0c35a7..b3e8706d2b 100644 --- a/docs/examples/1.5.x/client-android/java/account/update-session.md +++ b/docs/examples/1.5.x/client-android/java/account/update-session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/update-status.md b/docs/examples/1.5.x/client-android/java/account/update-status.md index 61cb944923..2216649284 100644 --- a/docs/examples/1.5.x/client-android/java/account/update-status.md +++ b/docs/examples/1.5.x/client-android/java/account/update-status.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/update-verification.md b/docs/examples/1.5.x/client-android/java/account/update-verification.md index 3f141961e0..2594943243 100644 --- a/docs/examples/1.5.x/client-android/java/account/update-verification.md +++ b/docs/examples/1.5.x/client-android/java/account/update-verification.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/account/verify-authenticator.md b/docs/examples/1.5.x/client-android/java/account/verify-authenticator.md index c73ac43fbb..7126197520 100644 --- a/docs/examples/1.5.x/client-android/java/account/verify-authenticator.md +++ b/docs/examples/1.5.x/client-android/java/account/verify-authenticator.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; import io.appwrite.enums.AuthenticatorType; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/client-android/java/avatars/get-browser.md b/docs/examples/1.5.x/client-android/java/avatars/get-browser.md index a7b9e7f047..f7e8651dfa 100644 --- a/docs/examples/1.5.x/client-android/java/avatars/get-browser.md +++ b/docs/examples/1.5.x/client-android/java/avatars/get-browser.md @@ -5,7 +5,7 @@ import io.appwrite.enums.Browser; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/client-android/java/avatars/get-credit-card.md b/docs/examples/1.5.x/client-android/java/avatars/get-credit-card.md index 61a8a5101e..5b1ee0660e 100644 --- a/docs/examples/1.5.x/client-android/java/avatars/get-credit-card.md +++ b/docs/examples/1.5.x/client-android/java/avatars/get-credit-card.md @@ -5,7 +5,7 @@ import io.appwrite.enums.CreditCard; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/client-android/java/avatars/get-favicon.md b/docs/examples/1.5.x/client-android/java/avatars/get-favicon.md index d2f86c0971..05bf590d72 100644 --- a/docs/examples/1.5.x/client-android/java/avatars/get-favicon.md +++ b/docs/examples/1.5.x/client-android/java/avatars/get-favicon.md @@ -4,7 +4,7 @@ import io.appwrite.services.Avatars; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/client-android/java/avatars/get-flag.md b/docs/examples/1.5.x/client-android/java/avatars/get-flag.md index dc8cc2901b..6a2185c543 100644 --- a/docs/examples/1.5.x/client-android/java/avatars/get-flag.md +++ b/docs/examples/1.5.x/client-android/java/avatars/get-flag.md @@ -5,7 +5,7 @@ import io.appwrite.enums.Flag; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/client-android/java/avatars/get-image.md b/docs/examples/1.5.x/client-android/java/avatars/get-image.md index 81e80292ab..78fbf98f90 100644 --- a/docs/examples/1.5.x/client-android/java/avatars/get-image.md +++ b/docs/examples/1.5.x/client-android/java/avatars/get-image.md @@ -4,7 +4,7 @@ import io.appwrite.services.Avatars; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/client-android/java/avatars/get-initials.md b/docs/examples/1.5.x/client-android/java/avatars/get-initials.md index f6c3ee6bd3..621798be3a 100644 --- a/docs/examples/1.5.x/client-android/java/avatars/get-initials.md +++ b/docs/examples/1.5.x/client-android/java/avatars/get-initials.md @@ -4,7 +4,7 @@ import io.appwrite.services.Avatars; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/client-android/java/avatars/get-q-r.md b/docs/examples/1.5.x/client-android/java/avatars/get-q-r.md index d75b3b3b25..fc8bc4397e 100644 --- a/docs/examples/1.5.x/client-android/java/avatars/get-q-r.md +++ b/docs/examples/1.5.x/client-android/java/avatars/get-q-r.md @@ -4,7 +4,7 @@ import io.appwrite.services.Avatars; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/client-android/java/databases/create-document.md b/docs/examples/1.5.x/client-android/java/databases/create-document.md index 361d5fef1f..6c7e068be8 100644 --- a/docs/examples/1.5.x/client-android/java/databases/create-document.md +++ b/docs/examples/1.5.x/client-android/java/databases/create-document.md @@ -4,7 +4,7 @@ import io.appwrite.services.Databases; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/client-android/java/databases/delete-document.md b/docs/examples/1.5.x/client-android/java/databases/delete-document.md index 26b67a239b..0cbd6b5071 100644 --- a/docs/examples/1.5.x/client-android/java/databases/delete-document.md +++ b/docs/examples/1.5.x/client-android/java/databases/delete-document.md @@ -4,7 +4,7 @@ import io.appwrite.services.Databases; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/client-android/java/databases/get-document.md b/docs/examples/1.5.x/client-android/java/databases/get-document.md index ac894897c7..0918c88450 100644 --- a/docs/examples/1.5.x/client-android/java/databases/get-document.md +++ b/docs/examples/1.5.x/client-android/java/databases/get-document.md @@ -4,7 +4,7 @@ import io.appwrite.services.Databases; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/client-android/java/databases/list-documents.md b/docs/examples/1.5.x/client-android/java/databases/list-documents.md index 9f7042587b..9cc722b0f3 100644 --- a/docs/examples/1.5.x/client-android/java/databases/list-documents.md +++ b/docs/examples/1.5.x/client-android/java/databases/list-documents.md @@ -4,7 +4,7 @@ import io.appwrite.services.Databases; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/client-android/java/databases/update-document.md b/docs/examples/1.5.x/client-android/java/databases/update-document.md index 430a617d68..ccfb4982c9 100644 --- a/docs/examples/1.5.x/client-android/java/databases/update-document.md +++ b/docs/examples/1.5.x/client-android/java/databases/update-document.md @@ -4,7 +4,7 @@ import io.appwrite.services.Databases; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/client-android/java/functions/create-execution.md b/docs/examples/1.5.x/client-android/java/functions/create-execution.md index 0db569bc2f..845f02ea70 100644 --- a/docs/examples/1.5.x/client-android/java/functions/create-execution.md +++ b/docs/examples/1.5.x/client-android/java/functions/create-execution.md @@ -4,7 +4,7 @@ import io.appwrite.services.Functions; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Functions functions = new Functions(client); @@ -15,6 +15,7 @@ functions.createExecution( "<PATH>", // path (optional) ExecutionMethod.GET, // method (optional) mapOf( "a" to "b" ), // headers (optional) + "", // scheduledAt (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.5.x/client-android/java/functions/get-execution.md b/docs/examples/1.5.x/client-android/java/functions/get-execution.md index 66bf2639c0..c53ef0e093 100644 --- a/docs/examples/1.5.x/client-android/java/functions/get-execution.md +++ b/docs/examples/1.5.x/client-android/java/functions/get-execution.md @@ -4,7 +4,7 @@ import io.appwrite.services.Functions; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/client-android/java/functions/list-executions.md b/docs/examples/1.5.x/client-android/java/functions/list-executions.md index 1bb510a4a2..b796dc96b3 100644 --- a/docs/examples/1.5.x/client-android/java/functions/list-executions.md +++ b/docs/examples/1.5.x/client-android/java/functions/list-executions.md @@ -4,7 +4,7 @@ import io.appwrite.services.Functions; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/client-android/java/graphql/mutation.md b/docs/examples/1.5.x/client-android/java/graphql/mutation.md index a7e5f6e358..b79903b711 100644 --- a/docs/examples/1.5.x/client-android/java/graphql/mutation.md +++ b/docs/examples/1.5.x/client-android/java/graphql/mutation.md @@ -4,7 +4,7 @@ import io.appwrite.services.Graphql; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Graphql graphql = new Graphql(client); diff --git a/docs/examples/1.5.x/client-android/java/graphql/query.md b/docs/examples/1.5.x/client-android/java/graphql/query.md index a6420b4a0c..82bad13666 100644 --- a/docs/examples/1.5.x/client-android/java/graphql/query.md +++ b/docs/examples/1.5.x/client-android/java/graphql/query.md @@ -4,7 +4,7 @@ import io.appwrite.services.Graphql; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Graphql graphql = new Graphql(client); diff --git a/docs/examples/1.5.x/client-android/java/locale/get.md b/docs/examples/1.5.x/client-android/java/locale/get.md index cc37896630..29b542f41f 100644 --- a/docs/examples/1.5.x/client-android/java/locale/get.md +++ b/docs/examples/1.5.x/client-android/java/locale/get.md @@ -4,7 +4,7 @@ import io.appwrite.services.Locale; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.5.x/client-android/java/locale/list-codes.md b/docs/examples/1.5.x/client-android/java/locale/list-codes.md index 3fbdf85d5e..d8c9a0bc6b 100644 --- a/docs/examples/1.5.x/client-android/java/locale/list-codes.md +++ b/docs/examples/1.5.x/client-android/java/locale/list-codes.md @@ -4,7 +4,7 @@ import io.appwrite.services.Locale; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.5.x/client-android/java/locale/list-continents.md b/docs/examples/1.5.x/client-android/java/locale/list-continents.md index 296eaded39..cf43045f6a 100644 --- a/docs/examples/1.5.x/client-android/java/locale/list-continents.md +++ b/docs/examples/1.5.x/client-android/java/locale/list-continents.md @@ -4,7 +4,7 @@ import io.appwrite.services.Locale; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.5.x/client-android/java/locale/list-countries-e-u.md b/docs/examples/1.5.x/client-android/java/locale/list-countries-e-u.md index f674ac5bf1..b7b56ab817 100644 --- a/docs/examples/1.5.x/client-android/java/locale/list-countries-e-u.md +++ b/docs/examples/1.5.x/client-android/java/locale/list-countries-e-u.md @@ -4,7 +4,7 @@ import io.appwrite.services.Locale; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.5.x/client-android/java/locale/list-countries-phones.md b/docs/examples/1.5.x/client-android/java/locale/list-countries-phones.md index 6280cbb860..c3598c0739 100644 --- a/docs/examples/1.5.x/client-android/java/locale/list-countries-phones.md +++ b/docs/examples/1.5.x/client-android/java/locale/list-countries-phones.md @@ -4,7 +4,7 @@ import io.appwrite.services.Locale; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.5.x/client-android/java/locale/list-countries.md b/docs/examples/1.5.x/client-android/java/locale/list-countries.md index eab9ae2a72..91ac0520be 100644 --- a/docs/examples/1.5.x/client-android/java/locale/list-countries.md +++ b/docs/examples/1.5.x/client-android/java/locale/list-countries.md @@ -4,7 +4,7 @@ import io.appwrite.services.Locale; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.5.x/client-android/java/locale/list-currencies.md b/docs/examples/1.5.x/client-android/java/locale/list-currencies.md index 662e0253af..5233004bae 100644 --- a/docs/examples/1.5.x/client-android/java/locale/list-currencies.md +++ b/docs/examples/1.5.x/client-android/java/locale/list-currencies.md @@ -4,7 +4,7 @@ import io.appwrite.services.Locale; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.5.x/client-android/java/locale/list-languages.md b/docs/examples/1.5.x/client-android/java/locale/list-languages.md index dd68bf26d9..0f10563846 100644 --- a/docs/examples/1.5.x/client-android/java/locale/list-languages.md +++ b/docs/examples/1.5.x/client-android/java/locale/list-languages.md @@ -4,7 +4,7 @@ import io.appwrite.services.Locale; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.5.x/client-android/java/messaging/create-subscriber.md b/docs/examples/1.5.x/client-android/java/messaging/create-subscriber.md index e83b43c05d..e8fa79f772 100644 --- a/docs/examples/1.5.x/client-android/java/messaging/create-subscriber.md +++ b/docs/examples/1.5.x/client-android/java/messaging/create-subscriber.md @@ -4,7 +4,7 @@ import io.appwrite.services.Messaging; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/client-android/java/messaging/delete-subscriber.md b/docs/examples/1.5.x/client-android/java/messaging/delete-subscriber.md index 5e8302b5d9..7e5b3d2017 100644 --- a/docs/examples/1.5.x/client-android/java/messaging/delete-subscriber.md +++ b/docs/examples/1.5.x/client-android/java/messaging/delete-subscriber.md @@ -4,7 +4,7 @@ import io.appwrite.services.Messaging; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/client-android/java/storage/create-file.md b/docs/examples/1.5.x/client-android/java/storage/create-file.md index a0605520e0..bc9ebed4f4 100644 --- a/docs/examples/1.5.x/client-android/java/storage/create-file.md +++ b/docs/examples/1.5.x/client-android/java/storage/create-file.md @@ -5,7 +5,7 @@ import io.appwrite.services.Storage; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/client-android/java/storage/delete-file.md b/docs/examples/1.5.x/client-android/java/storage/delete-file.md index 113dfceeb3..eaeb47b669 100644 --- a/docs/examples/1.5.x/client-android/java/storage/delete-file.md +++ b/docs/examples/1.5.x/client-android/java/storage/delete-file.md @@ -4,7 +4,7 @@ import io.appwrite.services.Storage; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/client-android/java/storage/get-file-download.md b/docs/examples/1.5.x/client-android/java/storage/get-file-download.md index 22207caea2..d0fdc41f76 100644 --- a/docs/examples/1.5.x/client-android/java/storage/get-file-download.md +++ b/docs/examples/1.5.x/client-android/java/storage/get-file-download.md @@ -4,7 +4,7 @@ import io.appwrite.services.Storage; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/client-android/java/storage/get-file-preview.md b/docs/examples/1.5.x/client-android/java/storage/get-file-preview.md index df81fb4047..c935e6fe2b 100644 --- a/docs/examples/1.5.x/client-android/java/storage/get-file-preview.md +++ b/docs/examples/1.5.x/client-android/java/storage/get-file-preview.md @@ -4,7 +4,7 @@ import io.appwrite.services.Storage; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/client-android/java/storage/get-file-view.md b/docs/examples/1.5.x/client-android/java/storage/get-file-view.md index d64c3e6a1d..bbfd04d51a 100644 --- a/docs/examples/1.5.x/client-android/java/storage/get-file-view.md +++ b/docs/examples/1.5.x/client-android/java/storage/get-file-view.md @@ -4,7 +4,7 @@ import io.appwrite.services.Storage; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/client-android/java/storage/get-file.md b/docs/examples/1.5.x/client-android/java/storage/get-file.md index b68bf7897f..a63122f57a 100644 --- a/docs/examples/1.5.x/client-android/java/storage/get-file.md +++ b/docs/examples/1.5.x/client-android/java/storage/get-file.md @@ -4,7 +4,7 @@ import io.appwrite.services.Storage; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/client-android/java/storage/list-files.md b/docs/examples/1.5.x/client-android/java/storage/list-files.md index 8b84ecb452..dc327fc70a 100644 --- a/docs/examples/1.5.x/client-android/java/storage/list-files.md +++ b/docs/examples/1.5.x/client-android/java/storage/list-files.md @@ -4,7 +4,7 @@ import io.appwrite.services.Storage; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/client-android/java/storage/update-file.md b/docs/examples/1.5.x/client-android/java/storage/update-file.md index 12b6443d98..ed81821cbe 100644 --- a/docs/examples/1.5.x/client-android/java/storage/update-file.md +++ b/docs/examples/1.5.x/client-android/java/storage/update-file.md @@ -4,7 +4,7 @@ import io.appwrite.services.Storage; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/client-android/java/teams/create-membership.md b/docs/examples/1.5.x/client-android/java/teams/create-membership.md index 468571ece2..b30f1765c6 100644 --- a/docs/examples/1.5.x/client-android/java/teams/create-membership.md +++ b/docs/examples/1.5.x/client-android/java/teams/create-membership.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/client-android/java/teams/create.md b/docs/examples/1.5.x/client-android/java/teams/create.md index 3c757acdb8..a0d4f07bc9 100644 --- a/docs/examples/1.5.x/client-android/java/teams/create.md +++ b/docs/examples/1.5.x/client-android/java/teams/create.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/client-android/java/teams/delete-membership.md b/docs/examples/1.5.x/client-android/java/teams/delete-membership.md index e23409f7ad..7f9189f55b 100644 --- a/docs/examples/1.5.x/client-android/java/teams/delete-membership.md +++ b/docs/examples/1.5.x/client-android/java/teams/delete-membership.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/client-android/java/teams/delete.md b/docs/examples/1.5.x/client-android/java/teams/delete.md index 567ea3dbd8..2f4e861248 100644 --- a/docs/examples/1.5.x/client-android/java/teams/delete.md +++ b/docs/examples/1.5.x/client-android/java/teams/delete.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/client-android/java/teams/get-membership.md b/docs/examples/1.5.x/client-android/java/teams/get-membership.md index c09a267be0..529feb2294 100644 --- a/docs/examples/1.5.x/client-android/java/teams/get-membership.md +++ b/docs/examples/1.5.x/client-android/java/teams/get-membership.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/client-android/java/teams/get-prefs.md b/docs/examples/1.5.x/client-android/java/teams/get-prefs.md index 48a98153c8..61da757178 100644 --- a/docs/examples/1.5.x/client-android/java/teams/get-prefs.md +++ b/docs/examples/1.5.x/client-android/java/teams/get-prefs.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/client-android/java/teams/get.md b/docs/examples/1.5.x/client-android/java/teams/get.md index 20a6f6a280..39fe4d4a0e 100644 --- a/docs/examples/1.5.x/client-android/java/teams/get.md +++ b/docs/examples/1.5.x/client-android/java/teams/get.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/client-android/java/teams/list-memberships.md b/docs/examples/1.5.x/client-android/java/teams/list-memberships.md index 2de609c2f5..58430f074c 100644 --- a/docs/examples/1.5.x/client-android/java/teams/list-memberships.md +++ b/docs/examples/1.5.x/client-android/java/teams/list-memberships.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/client-android/java/teams/list.md b/docs/examples/1.5.x/client-android/java/teams/list.md index 7f7910c2f9..914509f47d 100644 --- a/docs/examples/1.5.x/client-android/java/teams/list.md +++ b/docs/examples/1.5.x/client-android/java/teams/list.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/client-android/java/teams/update-membership-status.md b/docs/examples/1.5.x/client-android/java/teams/update-membership-status.md index 97e82427b1..513461331b 100644 --- a/docs/examples/1.5.x/client-android/java/teams/update-membership-status.md +++ b/docs/examples/1.5.x/client-android/java/teams/update-membership-status.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/client-android/java/teams/update-membership.md b/docs/examples/1.5.x/client-android/java/teams/update-membership.md index 86f0ddd3f0..a60c2a0df3 100644 --- a/docs/examples/1.5.x/client-android/java/teams/update-membership.md +++ b/docs/examples/1.5.x/client-android/java/teams/update-membership.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/client-android/java/teams/update-name.md b/docs/examples/1.5.x/client-android/java/teams/update-name.md index 1aa96f8b19..54f218e411 100644 --- a/docs/examples/1.5.x/client-android/java/teams/update-name.md +++ b/docs/examples/1.5.x/client-android/java/teams/update-name.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/client-android/java/teams/update-prefs.md b/docs/examples/1.5.x/client-android/java/teams/update-prefs.md index e188a99442..eaa161e611 100644 --- a/docs/examples/1.5.x/client-android/java/teams/update-prefs.md +++ b/docs/examples/1.5.x/client-android/java/teams/update-prefs.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams; Client client = new Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/client-android/java/users/delete-authenticator.md b/docs/examples/1.5.x/client-android/java/users/delete-authenticator.md index 2de3df7934..f86ca20315 100644 --- a/docs/examples/1.5.x/client-android/java/users/delete-authenticator.md +++ b/docs/examples/1.5.x/client-android/java/users/delete-authenticator.md @@ -4,7 +4,7 @@ import io.appwrite.services.Users; import io.appwrite.enums.AuthenticatorProvider; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Users users = new Users(client); diff --git a/docs/examples/1.5.x/client-android/java/users/list-providers.md b/docs/examples/1.5.x/client-android/java/users/list-providers.md index ca2f27d818..8e64a15b16 100644 --- a/docs/examples/1.5.x/client-android/java/users/list-providers.md +++ b/docs/examples/1.5.x/client-android/java/users/list-providers.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Users users = new Users(client); diff --git a/docs/examples/1.5.x/client-android/kotlin/account/add-authenticator.md b/docs/examples/1.5.x/client-android/kotlin/account/add-authenticator.md index f96c175dcd..c979d00e3a 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/add-authenticator.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/add-authenticator.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account import io.appwrite.enums.AuthenticatorType val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/create-anonymous-session.md b/docs/examples/1.5.x/client-android/kotlin/account/create-anonymous-session.md index 7961cc0ae4..50a011ae6b 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/create-anonymous-session.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/create-anonymous-session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/create-challenge.md b/docs/examples/1.5.x/client-android/kotlin/account/create-challenge.md index 1018b96df5..76a3ffb596 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/create-challenge.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/create-challenge.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account import io.appwrite.enums.AuthenticationFactor val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/create-email-password-session.md b/docs/examples/1.5.x/client-android/kotlin/account/create-email-password-session.md index 57bc99b066..8c44759138 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/create-email-password-session.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/create-email-password-session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/create-email-token.md b/docs/examples/1.5.x/client-android/kotlin/account/create-email-token.md index dd0bdf3a88..219e7930d7 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/create-email-token.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/create-email-token.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/create-j-w-t.md b/docs/examples/1.5.x/client-android/kotlin/account/create-j-w-t.md index 3aefe4af0c..50014d4cb8 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/create-j-w-t.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/create-j-w-t.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/create-magic-u-r-l-token.md b/docs/examples/1.5.x/client-android/kotlin/account/create-magic-u-r-l-token.md index dad908e8b3..905e942b5d 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/create-magic-u-r-l-token.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/create-mfa-authenticator.md b/docs/examples/1.5.x/client-android/kotlin/account/create-mfa-authenticator.md index f2ff748b12..dacf56a5a2 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/create-mfa-authenticator.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/create-mfa-authenticator.md @@ -5,7 +5,7 @@ import io.appwrite.enums.AuthenticatorType val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/create-mfa-challenge.md b/docs/examples/1.5.x/client-android/kotlin/account/create-mfa-challenge.md index d43aa39459..22c965851d 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/create-mfa-challenge.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/create-mfa-challenge.md @@ -5,7 +5,7 @@ import io.appwrite.enums.AuthenticationFactor val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/create-mfa-recovery-codes.md b/docs/examples/1.5.x/client-android/kotlin/account/create-mfa-recovery-codes.md index be25e74202..364bc0eb9d 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/create-mfa-recovery-codes.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/create-o-auth2session.md b/docs/examples/1.5.x/client-android/kotlin/account/create-o-auth2session.md index d642de81cf..fc9d8228c9 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/create-o-auth2session.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/create-o-auth2session.md @@ -5,7 +5,7 @@ import io.appwrite.enums.OAuthProvider val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/create-o-auth2token.md b/docs/examples/1.5.x/client-android/kotlin/account/create-o-auth2token.md index 7d651b125f..11a814b109 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/create-o-auth2token.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/create-o-auth2token.md @@ -5,7 +5,7 @@ import io.appwrite.enums.OAuthProvider val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/create-phone-token.md b/docs/examples/1.5.x/client-android/kotlin/account/create-phone-token.md index 9e72059ee0..56b53c2688 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/create-phone-token.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/create-phone-token.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/create-phone-verification.md b/docs/examples/1.5.x/client-android/kotlin/account/create-phone-verification.md index 3c94fb8e1e..531aead542 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/create-phone-verification.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/create-phone-verification.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/create-push-target.md b/docs/examples/1.5.x/client-android/kotlin/account/create-push-target.md index 66729cc142..7dd2101a63 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/create-push-target.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/create-push-target.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/create-recovery.md b/docs/examples/1.5.x/client-android/kotlin/account/create-recovery.md index 8afb76c012..d03bd32317 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/create-recovery.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/create-recovery.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/create-session.md b/docs/examples/1.5.x/client-android/kotlin/account/create-session.md index 49daa6b9d3..2b3da6d47b 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/create-session.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/create-session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/create-verification.md b/docs/examples/1.5.x/client-android/kotlin/account/create-verification.md index 0638a36be8..54174be38b 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/create-verification.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/create-verification.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/create.md b/docs/examples/1.5.x/client-android/kotlin/account/create.md index 48b8b66911..2ee3ae4a1e 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/create.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/create.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/create2f-a-challenge.md b/docs/examples/1.5.x/client-android/kotlin/account/create2f-a-challenge.md index 4608491292..650d5efb10 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/create2f-a-challenge.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/create2f-a-challenge.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account import io.appwrite.enums.AuthenticationFactor val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/delete-authenticator.md b/docs/examples/1.5.x/client-android/kotlin/account/delete-authenticator.md index bc532b88f8..0387ead98a 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/delete-authenticator.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/delete-authenticator.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account import io.appwrite.enums.AuthenticatorType val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/delete-identity.md b/docs/examples/1.5.x/client-android/kotlin/account/delete-identity.md index 099b5ac156..1e5d206536 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/delete-identity.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/delete-identity.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/delete-mfa-authenticator.md b/docs/examples/1.5.x/client-android/kotlin/account/delete-mfa-authenticator.md index c07afd099e..48220b20c5 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/delete-mfa-authenticator.md @@ -5,11 +5,10 @@ import io.appwrite.enums.AuthenticatorType val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) val result = account.deleteMfaAuthenticator( type = AuthenticatorType.TOTP, - otp = "<OTP>", ) \ No newline at end of file diff --git a/docs/examples/1.5.x/client-android/kotlin/account/delete-push-target.md b/docs/examples/1.5.x/client-android/kotlin/account/delete-push-target.md index c20d04a1ba..e67b180a4f 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/delete-push-target.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/delete-push-target.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/delete-session.md b/docs/examples/1.5.x/client-android/kotlin/account/delete-session.md index ae2ed6747a..0990989bfd 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/delete-session.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/delete-session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/delete-sessions.md b/docs/examples/1.5.x/client-android/kotlin/account/delete-sessions.md index 7caaea4696..8c464e082b 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/delete-sessions.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/delete-sessions.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/get-mfa-recovery-codes.md b/docs/examples/1.5.x/client-android/kotlin/account/get-mfa-recovery-codes.md index 4a1652c61a..bd12e834a1 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/get-mfa-recovery-codes.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/get-prefs.md b/docs/examples/1.5.x/client-android/kotlin/account/get-prefs.md index 08fdd136b6..9227effba7 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/get-prefs.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/get-prefs.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/get-session.md b/docs/examples/1.5.x/client-android/kotlin/account/get-session.md index d0520ce8de..42e61fd475 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/get-session.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/get-session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/get.md b/docs/examples/1.5.x/client-android/kotlin/account/get.md index ed4874b184..8c90304cbe 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/get.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/get.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/list-factors.md b/docs/examples/1.5.x/client-android/kotlin/account/list-factors.md index 05ba2b8c22..c3ed1ff03c 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/list-factors.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/list-factors.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/list-identities.md b/docs/examples/1.5.x/client-android/kotlin/account/list-identities.md index bde60231a3..53e388d3d4 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/list-identities.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/list-identities.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/list-logs.md b/docs/examples/1.5.x/client-android/kotlin/account/list-logs.md index 56238f96f6..683a94be45 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/list-logs.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/list-logs.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/list-mfa-factors.md b/docs/examples/1.5.x/client-android/kotlin/account/list-mfa-factors.md index 9f8572ccc9..ecfa6c2478 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/list-mfa-factors.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/list-mfa-factors.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/list-sessions.md b/docs/examples/1.5.x/client-android/kotlin/account/list-sessions.md index 9d64c74dff..2da413da7b 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/list-sessions.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/list-sessions.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/update-challenge.md b/docs/examples/1.5.x/client-android/kotlin/account/update-challenge.md index 2a82bfb762..23fbdf90ec 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/update-challenge.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/update-challenge.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/update-email.md b/docs/examples/1.5.x/client-android/kotlin/account/update-email.md index 5068962d7b..072d6db9ca 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/update-email.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/update-email.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/update-m-f-a.md b/docs/examples/1.5.x/client-android/kotlin/account/update-m-f-a.md index 79494906e9..3cac098946 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/update-m-f-a.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/update-m-f-a.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/update-magic-u-r-l-session.md b/docs/examples/1.5.x/client-android/kotlin/account/update-magic-u-r-l-session.md index 0abb033543..52d0ad76e1 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/update-magic-u-r-l-session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/update-mfa-authenticator.md b/docs/examples/1.5.x/client-android/kotlin/account/update-mfa-authenticator.md index 8b1968019e..321f25b2e8 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/update-mfa-authenticator.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/update-mfa-authenticator.md @@ -5,7 +5,7 @@ import io.appwrite.enums.AuthenticatorType val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/update-mfa-challenge.md b/docs/examples/1.5.x/client-android/kotlin/account/update-mfa-challenge.md index fe4cb1ecb0..021f51523f 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/update-mfa-challenge.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/update-mfa-challenge.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/update-mfa-recovery-codes.md b/docs/examples/1.5.x/client-android/kotlin/account/update-mfa-recovery-codes.md index f39b7c6967..d4ea7f5f91 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/update-mfa-recovery-codes.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/update-name.md b/docs/examples/1.5.x/client-android/kotlin/account/update-name.md index 20aab9d8f8..374f84f2ec 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/update-name.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/update-name.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/update-password.md b/docs/examples/1.5.x/client-android/kotlin/account/update-password.md index 86c862cc35..edf5117168 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/update-password.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/update-password.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/update-phone-session.md b/docs/examples/1.5.x/client-android/kotlin/account/update-phone-session.md index 6c8fa6526e..93e080dae9 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/update-phone-session.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/update-phone-session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/update-phone-verification.md b/docs/examples/1.5.x/client-android/kotlin/account/update-phone-verification.md index 445a47e3d2..226b21dcae 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/update-phone-verification.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/update-phone-verification.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/update-phone.md b/docs/examples/1.5.x/client-android/kotlin/account/update-phone.md index c8f50c34a3..772c099cd5 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/update-phone.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/update-phone.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/update-prefs.md b/docs/examples/1.5.x/client-android/kotlin/account/update-prefs.md index f449ccb10c..c5c7a3de3e 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/update-prefs.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/update-prefs.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/update-push-target.md b/docs/examples/1.5.x/client-android/kotlin/account/update-push-target.md index 5fff554871..c6e6f21ce3 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/update-push-target.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/update-push-target.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/update-recovery.md b/docs/examples/1.5.x/client-android/kotlin/account/update-recovery.md index da1f27edec..b4481148e9 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/update-recovery.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/update-recovery.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/update-session.md b/docs/examples/1.5.x/client-android/kotlin/account/update-session.md index 3252039461..43d84e13c3 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/update-session.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/update-session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/update-status.md b/docs/examples/1.5.x/client-android/kotlin/account/update-status.md index 2b54214446..4f44ce1a83 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/update-status.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/update-status.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/update-verification.md b/docs/examples/1.5.x/client-android/kotlin/account/update-verification.md index 5f7f902276..3c9c465afb 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/update-verification.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/update-verification.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/account/verify-authenticator.md b/docs/examples/1.5.x/client-android/kotlin/account/verify-authenticator.md index 9c306d4db3..9c9abd9dd1 100644 --- a/docs/examples/1.5.x/client-android/kotlin/account/verify-authenticator.md +++ b/docs/examples/1.5.x/client-android/kotlin/account/verify-authenticator.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account import io.appwrite.enums.AuthenticatorType val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/avatars/get-browser.md b/docs/examples/1.5.x/client-android/kotlin/avatars/get-browser.md index 1e63217483..34f6f28d2a 100644 --- a/docs/examples/1.5.x/client-android/kotlin/avatars/get-browser.md +++ b/docs/examples/1.5.x/client-android/kotlin/avatars/get-browser.md @@ -5,7 +5,7 @@ import io.appwrite.enums.Browser val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/avatars/get-credit-card.md b/docs/examples/1.5.x/client-android/kotlin/avatars/get-credit-card.md index 23fbbfd454..52eea79f6e 100644 --- a/docs/examples/1.5.x/client-android/kotlin/avatars/get-credit-card.md +++ b/docs/examples/1.5.x/client-android/kotlin/avatars/get-credit-card.md @@ -5,7 +5,7 @@ import io.appwrite.enums.CreditCard val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/avatars/get-favicon.md b/docs/examples/1.5.x/client-android/kotlin/avatars/get-favicon.md index a2d5e1884b..5f83bdd0af 100644 --- a/docs/examples/1.5.x/client-android/kotlin/avatars/get-favicon.md +++ b/docs/examples/1.5.x/client-android/kotlin/avatars/get-favicon.md @@ -4,7 +4,7 @@ import io.appwrite.services.Avatars val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/avatars/get-flag.md b/docs/examples/1.5.x/client-android/kotlin/avatars/get-flag.md index b1ac632638..cfd5d010d1 100644 --- a/docs/examples/1.5.x/client-android/kotlin/avatars/get-flag.md +++ b/docs/examples/1.5.x/client-android/kotlin/avatars/get-flag.md @@ -5,7 +5,7 @@ import io.appwrite.enums.Flag val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/avatars/get-image.md b/docs/examples/1.5.x/client-android/kotlin/avatars/get-image.md index bb76b4cacd..a9a7c2aa5c 100644 --- a/docs/examples/1.5.x/client-android/kotlin/avatars/get-image.md +++ b/docs/examples/1.5.x/client-android/kotlin/avatars/get-image.md @@ -4,7 +4,7 @@ import io.appwrite.services.Avatars val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/avatars/get-initials.md b/docs/examples/1.5.x/client-android/kotlin/avatars/get-initials.md index b2a1c25533..bd2ae1b9b9 100644 --- a/docs/examples/1.5.x/client-android/kotlin/avatars/get-initials.md +++ b/docs/examples/1.5.x/client-android/kotlin/avatars/get-initials.md @@ -4,7 +4,7 @@ import io.appwrite.services.Avatars val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/avatars/get-q-r.md b/docs/examples/1.5.x/client-android/kotlin/avatars/get-q-r.md index 853d94ec75..9e02a0c6ad 100644 --- a/docs/examples/1.5.x/client-android/kotlin/avatars/get-q-r.md +++ b/docs/examples/1.5.x/client-android/kotlin/avatars/get-q-r.md @@ -4,7 +4,7 @@ import io.appwrite.services.Avatars val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/databases/create-document.md b/docs/examples/1.5.x/client-android/kotlin/databases/create-document.md index 10b6fdfefd..2b77405d62 100644 --- a/docs/examples/1.5.x/client-android/kotlin/databases/create-document.md +++ b/docs/examples/1.5.x/client-android/kotlin/databases/create-document.md @@ -4,7 +4,7 @@ import io.appwrite.services.Databases val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val databases = Databases(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/databases/delete-document.md b/docs/examples/1.5.x/client-android/kotlin/databases/delete-document.md index 3eb114788e..e3e6de326f 100644 --- a/docs/examples/1.5.x/client-android/kotlin/databases/delete-document.md +++ b/docs/examples/1.5.x/client-android/kotlin/databases/delete-document.md @@ -4,7 +4,7 @@ import io.appwrite.services.Databases val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val databases = Databases(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/databases/get-document.md b/docs/examples/1.5.x/client-android/kotlin/databases/get-document.md index 6c5f92a73b..6ed6c8ba62 100644 --- a/docs/examples/1.5.x/client-android/kotlin/databases/get-document.md +++ b/docs/examples/1.5.x/client-android/kotlin/databases/get-document.md @@ -4,7 +4,7 @@ import io.appwrite.services.Databases val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val databases = Databases(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/databases/list-documents.md b/docs/examples/1.5.x/client-android/kotlin/databases/list-documents.md index 7b1e8512d2..ff419c44a6 100644 --- a/docs/examples/1.5.x/client-android/kotlin/databases/list-documents.md +++ b/docs/examples/1.5.x/client-android/kotlin/databases/list-documents.md @@ -4,7 +4,7 @@ import io.appwrite.services.Databases val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val databases = Databases(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/databases/update-document.md b/docs/examples/1.5.x/client-android/kotlin/databases/update-document.md index de6b192308..630e2b6c66 100644 --- a/docs/examples/1.5.x/client-android/kotlin/databases/update-document.md +++ b/docs/examples/1.5.x/client-android/kotlin/databases/update-document.md @@ -4,7 +4,7 @@ import io.appwrite.services.Databases val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val databases = Databases(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/functions/create-execution.md b/docs/examples/1.5.x/client-android/kotlin/functions/create-execution.md index de84186836..937bb4fdaa 100644 --- a/docs/examples/1.5.x/client-android/kotlin/functions/create-execution.md +++ b/docs/examples/1.5.x/client-android/kotlin/functions/create-execution.md @@ -4,7 +4,7 @@ import io.appwrite.services.Functions val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val functions = Functions(client) @@ -15,4 +15,5 @@ val result = functions.createExecution( path = "<PATH>", // (optional) method = ExecutionMethod.GET, // (optional) headers = mapOf( "a" to "b" ), // (optional) + scheduledAt = "", // (optional) ) \ No newline at end of file diff --git a/docs/examples/1.5.x/client-android/kotlin/functions/get-execution.md b/docs/examples/1.5.x/client-android/kotlin/functions/get-execution.md index 0c4de1e5e2..60b2e0f630 100644 --- a/docs/examples/1.5.x/client-android/kotlin/functions/get-execution.md +++ b/docs/examples/1.5.x/client-android/kotlin/functions/get-execution.md @@ -4,7 +4,7 @@ import io.appwrite.services.Functions val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val functions = Functions(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/functions/list-executions.md b/docs/examples/1.5.x/client-android/kotlin/functions/list-executions.md index d28b32cccc..90b2bf6ff1 100644 --- a/docs/examples/1.5.x/client-android/kotlin/functions/list-executions.md +++ b/docs/examples/1.5.x/client-android/kotlin/functions/list-executions.md @@ -4,7 +4,7 @@ import io.appwrite.services.Functions val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val functions = Functions(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/graphql/mutation.md b/docs/examples/1.5.x/client-android/kotlin/graphql/mutation.md index a429a664b0..e90c9ae301 100644 --- a/docs/examples/1.5.x/client-android/kotlin/graphql/mutation.md +++ b/docs/examples/1.5.x/client-android/kotlin/graphql/mutation.md @@ -4,7 +4,7 @@ import io.appwrite.services.Graphql val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val graphql = Graphql(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/graphql/query.md b/docs/examples/1.5.x/client-android/kotlin/graphql/query.md index 0c39eddb2f..2ce0cb1083 100644 --- a/docs/examples/1.5.x/client-android/kotlin/graphql/query.md +++ b/docs/examples/1.5.x/client-android/kotlin/graphql/query.md @@ -4,7 +4,7 @@ import io.appwrite.services.Graphql val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val graphql = Graphql(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/locale/get.md b/docs/examples/1.5.x/client-android/kotlin/locale/get.md index d38572a904..f2f235a209 100644 --- a/docs/examples/1.5.x/client-android/kotlin/locale/get.md +++ b/docs/examples/1.5.x/client-android/kotlin/locale/get.md @@ -4,7 +4,7 @@ import io.appwrite.services.Locale val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/locale/list-codes.md b/docs/examples/1.5.x/client-android/kotlin/locale/list-codes.md index 9f506f06c4..895c96df3a 100644 --- a/docs/examples/1.5.x/client-android/kotlin/locale/list-codes.md +++ b/docs/examples/1.5.x/client-android/kotlin/locale/list-codes.md @@ -4,7 +4,7 @@ import io.appwrite.services.Locale val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/locale/list-continents.md b/docs/examples/1.5.x/client-android/kotlin/locale/list-continents.md index 96cfda556a..e32034496c 100644 --- a/docs/examples/1.5.x/client-android/kotlin/locale/list-continents.md +++ b/docs/examples/1.5.x/client-android/kotlin/locale/list-continents.md @@ -4,7 +4,7 @@ import io.appwrite.services.Locale val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/locale/list-countries-e-u.md b/docs/examples/1.5.x/client-android/kotlin/locale/list-countries-e-u.md index 54faf5e6dc..b9182aa1de 100644 --- a/docs/examples/1.5.x/client-android/kotlin/locale/list-countries-e-u.md +++ b/docs/examples/1.5.x/client-android/kotlin/locale/list-countries-e-u.md @@ -4,7 +4,7 @@ import io.appwrite.services.Locale val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/locale/list-countries-phones.md b/docs/examples/1.5.x/client-android/kotlin/locale/list-countries-phones.md index 9e4bec13f9..961ebd348f 100644 --- a/docs/examples/1.5.x/client-android/kotlin/locale/list-countries-phones.md +++ b/docs/examples/1.5.x/client-android/kotlin/locale/list-countries-phones.md @@ -4,7 +4,7 @@ import io.appwrite.services.Locale val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/locale/list-countries.md b/docs/examples/1.5.x/client-android/kotlin/locale/list-countries.md index 4299efb5d2..1ebae69bea 100644 --- a/docs/examples/1.5.x/client-android/kotlin/locale/list-countries.md +++ b/docs/examples/1.5.x/client-android/kotlin/locale/list-countries.md @@ -4,7 +4,7 @@ import io.appwrite.services.Locale val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/locale/list-currencies.md b/docs/examples/1.5.x/client-android/kotlin/locale/list-currencies.md index 2bb7ca7fe9..7500aa717f 100644 --- a/docs/examples/1.5.x/client-android/kotlin/locale/list-currencies.md +++ b/docs/examples/1.5.x/client-android/kotlin/locale/list-currencies.md @@ -4,7 +4,7 @@ import io.appwrite.services.Locale val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/locale/list-languages.md b/docs/examples/1.5.x/client-android/kotlin/locale/list-languages.md index a9035e913a..2be0ba59d6 100644 --- a/docs/examples/1.5.x/client-android/kotlin/locale/list-languages.md +++ b/docs/examples/1.5.x/client-android/kotlin/locale/list-languages.md @@ -4,7 +4,7 @@ import io.appwrite.services.Locale val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/messaging/create-subscriber.md b/docs/examples/1.5.x/client-android/kotlin/messaging/create-subscriber.md index 3f1d476a6a..db233422bd 100644 --- a/docs/examples/1.5.x/client-android/kotlin/messaging/create-subscriber.md +++ b/docs/examples/1.5.x/client-android/kotlin/messaging/create-subscriber.md @@ -4,7 +4,7 @@ import io.appwrite.services.Messaging val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/messaging/delete-subscriber.md b/docs/examples/1.5.x/client-android/kotlin/messaging/delete-subscriber.md index febf6225aa..ab0d479df3 100644 --- a/docs/examples/1.5.x/client-android/kotlin/messaging/delete-subscriber.md +++ b/docs/examples/1.5.x/client-android/kotlin/messaging/delete-subscriber.md @@ -4,7 +4,7 @@ import io.appwrite.services.Messaging val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/storage/create-file.md b/docs/examples/1.5.x/client-android/kotlin/storage/create-file.md index ccd342ee2c..d327e724a0 100644 --- a/docs/examples/1.5.x/client-android/kotlin/storage/create-file.md +++ b/docs/examples/1.5.x/client-android/kotlin/storage/create-file.md @@ -5,7 +5,7 @@ import io.appwrite.services.Storage val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/storage/delete-file.md b/docs/examples/1.5.x/client-android/kotlin/storage/delete-file.md index 8def7d99d9..60df78e736 100644 --- a/docs/examples/1.5.x/client-android/kotlin/storage/delete-file.md +++ b/docs/examples/1.5.x/client-android/kotlin/storage/delete-file.md @@ -4,7 +4,7 @@ import io.appwrite.services.Storage val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/storage/get-file-download.md b/docs/examples/1.5.x/client-android/kotlin/storage/get-file-download.md index c6e8fa4b24..bb975411ba 100644 --- a/docs/examples/1.5.x/client-android/kotlin/storage/get-file-download.md +++ b/docs/examples/1.5.x/client-android/kotlin/storage/get-file-download.md @@ -4,7 +4,7 @@ import io.appwrite.services.Storage val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/storage/get-file-preview.md b/docs/examples/1.5.x/client-android/kotlin/storage/get-file-preview.md index 9c9993cb5d..904f3ec103 100644 --- a/docs/examples/1.5.x/client-android/kotlin/storage/get-file-preview.md +++ b/docs/examples/1.5.x/client-android/kotlin/storage/get-file-preview.md @@ -4,7 +4,7 @@ import io.appwrite.services.Storage val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/storage/get-file-view.md b/docs/examples/1.5.x/client-android/kotlin/storage/get-file-view.md index 83f8b3196c..898c1eec42 100644 --- a/docs/examples/1.5.x/client-android/kotlin/storage/get-file-view.md +++ b/docs/examples/1.5.x/client-android/kotlin/storage/get-file-view.md @@ -4,7 +4,7 @@ import io.appwrite.services.Storage val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/storage/get-file.md b/docs/examples/1.5.x/client-android/kotlin/storage/get-file.md index df662eabb8..a07095d375 100644 --- a/docs/examples/1.5.x/client-android/kotlin/storage/get-file.md +++ b/docs/examples/1.5.x/client-android/kotlin/storage/get-file.md @@ -4,7 +4,7 @@ import io.appwrite.services.Storage val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/storage/list-files.md b/docs/examples/1.5.x/client-android/kotlin/storage/list-files.md index 4e28fc52ef..640b7050d0 100644 --- a/docs/examples/1.5.x/client-android/kotlin/storage/list-files.md +++ b/docs/examples/1.5.x/client-android/kotlin/storage/list-files.md @@ -4,7 +4,7 @@ import io.appwrite.services.Storage val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/storage/update-file.md b/docs/examples/1.5.x/client-android/kotlin/storage/update-file.md index c84dadb72a..f7a20f0d12 100644 --- a/docs/examples/1.5.x/client-android/kotlin/storage/update-file.md +++ b/docs/examples/1.5.x/client-android/kotlin/storage/update-file.md @@ -4,7 +4,7 @@ import io.appwrite.services.Storage val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/teams/create-membership.md b/docs/examples/1.5.x/client-android/kotlin/teams/create-membership.md index a892663e10..63f3c67d8f 100644 --- a/docs/examples/1.5.x/client-android/kotlin/teams/create-membership.md +++ b/docs/examples/1.5.x/client-android/kotlin/teams/create-membership.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/teams/create.md b/docs/examples/1.5.x/client-android/kotlin/teams/create.md index 22d6e7f981..f214a3733e 100644 --- a/docs/examples/1.5.x/client-android/kotlin/teams/create.md +++ b/docs/examples/1.5.x/client-android/kotlin/teams/create.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/teams/delete-membership.md b/docs/examples/1.5.x/client-android/kotlin/teams/delete-membership.md index 66e57169e0..f3a54b38db 100644 --- a/docs/examples/1.5.x/client-android/kotlin/teams/delete-membership.md +++ b/docs/examples/1.5.x/client-android/kotlin/teams/delete-membership.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/teams/delete.md b/docs/examples/1.5.x/client-android/kotlin/teams/delete.md index a73fa75b91..bc8e8d0c97 100644 --- a/docs/examples/1.5.x/client-android/kotlin/teams/delete.md +++ b/docs/examples/1.5.x/client-android/kotlin/teams/delete.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/teams/get-membership.md b/docs/examples/1.5.x/client-android/kotlin/teams/get-membership.md index 80640c71ff..e5a589e061 100644 --- a/docs/examples/1.5.x/client-android/kotlin/teams/get-membership.md +++ b/docs/examples/1.5.x/client-android/kotlin/teams/get-membership.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/teams/get-prefs.md b/docs/examples/1.5.x/client-android/kotlin/teams/get-prefs.md index 31001bd277..af7503a434 100644 --- a/docs/examples/1.5.x/client-android/kotlin/teams/get-prefs.md +++ b/docs/examples/1.5.x/client-android/kotlin/teams/get-prefs.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/teams/get.md b/docs/examples/1.5.x/client-android/kotlin/teams/get.md index 4387118ecc..70759bcb88 100644 --- a/docs/examples/1.5.x/client-android/kotlin/teams/get.md +++ b/docs/examples/1.5.x/client-android/kotlin/teams/get.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/teams/list-memberships.md b/docs/examples/1.5.x/client-android/kotlin/teams/list-memberships.md index 7c8c686e95..abb140e2dd 100644 --- a/docs/examples/1.5.x/client-android/kotlin/teams/list-memberships.md +++ b/docs/examples/1.5.x/client-android/kotlin/teams/list-memberships.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/teams/list.md b/docs/examples/1.5.x/client-android/kotlin/teams/list.md index e73d9e46d2..5d808736ca 100644 --- a/docs/examples/1.5.x/client-android/kotlin/teams/list.md +++ b/docs/examples/1.5.x/client-android/kotlin/teams/list.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/teams/update-membership-status.md b/docs/examples/1.5.x/client-android/kotlin/teams/update-membership-status.md index 08668921d0..9ecf4170de 100644 --- a/docs/examples/1.5.x/client-android/kotlin/teams/update-membership-status.md +++ b/docs/examples/1.5.x/client-android/kotlin/teams/update-membership-status.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/teams/update-membership.md b/docs/examples/1.5.x/client-android/kotlin/teams/update-membership.md index 799c5946c0..15b2ac08e9 100644 --- a/docs/examples/1.5.x/client-android/kotlin/teams/update-membership.md +++ b/docs/examples/1.5.x/client-android/kotlin/teams/update-membership.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/teams/update-name.md b/docs/examples/1.5.x/client-android/kotlin/teams/update-name.md index 5e2399a593..0040737a66 100644 --- a/docs/examples/1.5.x/client-android/kotlin/teams/update-name.md +++ b/docs/examples/1.5.x/client-android/kotlin/teams/update-name.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/teams/update-prefs.md b/docs/examples/1.5.x/client-android/kotlin/teams/update-prefs.md index 62febab050..f70a5eb99c 100644 --- a/docs/examples/1.5.x/client-android/kotlin/teams/update-prefs.md +++ b/docs/examples/1.5.x/client-android/kotlin/teams/update-prefs.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams val client = Client(context) .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/users/delete-authenticator.md b/docs/examples/1.5.x/client-android/kotlin/users/delete-authenticator.md index 9c361733fe..6a4a250bd1 100644 --- a/docs/examples/1.5.x/client-android/kotlin/users/delete-authenticator.md +++ b/docs/examples/1.5.x/client-android/kotlin/users/delete-authenticator.md @@ -4,7 +4,7 @@ import io.appwrite.services.Users import io.appwrite.enums.AuthenticatorProvider val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val users = Users(client) diff --git a/docs/examples/1.5.x/client-android/kotlin/users/list-providers.md b/docs/examples/1.5.x/client-android/kotlin/users/list-providers.md index 008cf93706..e757d6fbe6 100644 --- a/docs/examples/1.5.x/client-android/kotlin/users/list-providers.md +++ b/docs/examples/1.5.x/client-android/kotlin/users/list-providers.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val users = Users(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/add-authenticator.md b/docs/examples/1.5.x/client-apple/examples/account/add-authenticator.md index a820b54de9..37e83761e8 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/add-authenticator.md +++ b/docs/examples/1.5.x/client-apple/examples/account/add-authenticator.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/create-anonymous-session.md b/docs/examples/1.5.x/client-apple/examples/account/create-anonymous-session.md index 9904f6f222..f676bac4da 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/create-anonymous-session.md +++ b/docs/examples/1.5.x/client-apple/examples/account/create-anonymous-session.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/create-challenge.md b/docs/examples/1.5.x/client-apple/examples/account/create-challenge.md index 9d3b54a152..4ebb3cbbfa 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/create-challenge.md +++ b/docs/examples/1.5.x/client-apple/examples/account/create-challenge.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/create-email-password-session.md b/docs/examples/1.5.x/client-apple/examples/account/create-email-password-session.md index 8740f0caa9..15051827b8 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/create-email-password-session.md +++ b/docs/examples/1.5.x/client-apple/examples/account/create-email-password-session.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/create-email-token.md b/docs/examples/1.5.x/client-apple/examples/account/create-email-token.md index 40535d583a..b9d39ff27f 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/create-email-token.md +++ b/docs/examples/1.5.x/client-apple/examples/account/create-email-token.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/create-j-w-t.md b/docs/examples/1.5.x/client-apple/examples/account/create-j-w-t.md index c18c3c940a..c1c0f22dff 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/create-j-w-t.md +++ b/docs/examples/1.5.x/client-apple/examples/account/create-j-w-t.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/create-magic-u-r-l-token.md b/docs/examples/1.5.x/client-apple/examples/account/create-magic-u-r-l-token.md index 1fd7360732..83eb681673 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.5.x/client-apple/examples/account/create-magic-u-r-l-token.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/create-mfa-authenticator.md b/docs/examples/1.5.x/client-apple/examples/account/create-mfa-authenticator.md index 2146831781..7b103e0b24 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/create-mfa-authenticator.md +++ b/docs/examples/1.5.x/client-apple/examples/account/create-mfa-authenticator.md @@ -3,7 +3,7 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/create-mfa-challenge.md b/docs/examples/1.5.x/client-apple/examples/account/create-mfa-challenge.md index 4045203b29..6d262d9c74 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.5.x/client-apple/examples/account/create-mfa-challenge.md @@ -3,7 +3,7 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/create-mfa-recovery-codes.md b/docs/examples/1.5.x/client-apple/examples/account/create-mfa-recovery-codes.md index c49dca53ba..1390b9de69 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/client-apple/examples/account/create-mfa-recovery-codes.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/create-o-auth2session.md b/docs/examples/1.5.x/client-apple/examples/account/create-o-auth2session.md index e7d6a539e3..32da4a2841 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/create-o-auth2session.md +++ b/docs/examples/1.5.x/client-apple/examples/account/create-o-auth2session.md @@ -3,7 +3,7 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/create-o-auth2token.md b/docs/examples/1.5.x/client-apple/examples/account/create-o-auth2token.md index 677450ecdb..7bbfe98f48 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/create-o-auth2token.md +++ b/docs/examples/1.5.x/client-apple/examples/account/create-o-auth2token.md @@ -3,7 +3,7 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/create-phone-token.md b/docs/examples/1.5.x/client-apple/examples/account/create-phone-token.md index a0c3a8cd87..acb7a696bc 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/create-phone-token.md +++ b/docs/examples/1.5.x/client-apple/examples/account/create-phone-token.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/create-phone-verification.md b/docs/examples/1.5.x/client-apple/examples/account/create-phone-verification.md index b628897c60..e0c4a21d96 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/create-phone-verification.md +++ b/docs/examples/1.5.x/client-apple/examples/account/create-phone-verification.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/create-push-target.md b/docs/examples/1.5.x/client-apple/examples/account/create-push-target.md index 36135264e9..75d694bcf6 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/create-push-target.md +++ b/docs/examples/1.5.x/client-apple/examples/account/create-push-target.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/create-recovery.md b/docs/examples/1.5.x/client-apple/examples/account/create-recovery.md index 8d48938a87..65536ee211 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/create-recovery.md +++ b/docs/examples/1.5.x/client-apple/examples/account/create-recovery.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/create-session.md b/docs/examples/1.5.x/client-apple/examples/account/create-session.md index 4ed985dda3..3ea5119569 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/create-session.md +++ b/docs/examples/1.5.x/client-apple/examples/account/create-session.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/create-verification.md b/docs/examples/1.5.x/client-apple/examples/account/create-verification.md index 2c96d202d0..702c3c5282 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/create-verification.md +++ b/docs/examples/1.5.x/client-apple/examples/account/create-verification.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/create.md b/docs/examples/1.5.x/client-apple/examples/account/create.md index e7caef4dc0..cad7e44c44 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/create.md +++ b/docs/examples/1.5.x/client-apple/examples/account/create.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/create2f-a-challenge.md b/docs/examples/1.5.x/client-apple/examples/account/create2f-a-challenge.md index 56386ccb9c..5c0523f0f0 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/create2f-a-challenge.md +++ b/docs/examples/1.5.x/client-apple/examples/account/create2f-a-challenge.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/delete-authenticator.md b/docs/examples/1.5.x/client-apple/examples/account/delete-authenticator.md index 0836b13b5a..81602b1720 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/delete-authenticator.md +++ b/docs/examples/1.5.x/client-apple/examples/account/delete-authenticator.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/delete-identity.md b/docs/examples/1.5.x/client-apple/examples/account/delete-identity.md index 335f4f74de..37ca520d4c 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/delete-identity.md +++ b/docs/examples/1.5.x/client-apple/examples/account/delete-identity.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/delete-mfa-authenticator.md b/docs/examples/1.5.x/client-apple/examples/account/delete-mfa-authenticator.md index 8fef7735d0..d9fe0ad8ea 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/client-apple/examples/account/delete-mfa-authenticator.md @@ -3,12 +3,11 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) let result = try await account.deleteMfaAuthenticator( - type: .totp, - otp: "<OTP>" + type: .totp ) diff --git a/docs/examples/1.5.x/client-apple/examples/account/delete-push-target.md b/docs/examples/1.5.x/client-apple/examples/account/delete-push-target.md index 9090710f4c..660a9c0376 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/delete-push-target.md +++ b/docs/examples/1.5.x/client-apple/examples/account/delete-push-target.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/delete-session.md b/docs/examples/1.5.x/client-apple/examples/account/delete-session.md index d7f13e3d82..59f89a9b5e 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/delete-session.md +++ b/docs/examples/1.5.x/client-apple/examples/account/delete-session.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/delete-sessions.md b/docs/examples/1.5.x/client-apple/examples/account/delete-sessions.md index efb8c7cce1..bfce736622 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/delete-sessions.md +++ b/docs/examples/1.5.x/client-apple/examples/account/delete-sessions.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.5.x/client-apple/examples/account/get-mfa-recovery-codes.md index 80b9550390..79e3a2c8b3 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/client-apple/examples/account/get-mfa-recovery-codes.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/get-prefs.md b/docs/examples/1.5.x/client-apple/examples/account/get-prefs.md index 5a9fb2e356..0e7909bd12 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/get-prefs.md +++ b/docs/examples/1.5.x/client-apple/examples/account/get-prefs.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/get-session.md b/docs/examples/1.5.x/client-apple/examples/account/get-session.md index 63cb9e2b69..3ed89fcbf2 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/get-session.md +++ b/docs/examples/1.5.x/client-apple/examples/account/get-session.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/get.md b/docs/examples/1.5.x/client-apple/examples/account/get.md index f29f83f8e8..2a0c2a5813 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/get.md +++ b/docs/examples/1.5.x/client-apple/examples/account/get.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/list-factors.md b/docs/examples/1.5.x/client-apple/examples/account/list-factors.md index bc8ef1ae99..b7d00eaa1c 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/list-factors.md +++ b/docs/examples/1.5.x/client-apple/examples/account/list-factors.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/list-identities.md b/docs/examples/1.5.x/client-apple/examples/account/list-identities.md index da9592ca71..4d8c580a18 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/list-identities.md +++ b/docs/examples/1.5.x/client-apple/examples/account/list-identities.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/list-logs.md b/docs/examples/1.5.x/client-apple/examples/account/list-logs.md index a90e2cbc64..ecb5617d0b 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/list-logs.md +++ b/docs/examples/1.5.x/client-apple/examples/account/list-logs.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/list-mfa-factors.md b/docs/examples/1.5.x/client-apple/examples/account/list-mfa-factors.md index df34b641d2..3af3427b29 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/list-mfa-factors.md +++ b/docs/examples/1.5.x/client-apple/examples/account/list-mfa-factors.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/list-sessions.md b/docs/examples/1.5.x/client-apple/examples/account/list-sessions.md index b160c89f9c..8b9e165c48 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/list-sessions.md +++ b/docs/examples/1.5.x/client-apple/examples/account/list-sessions.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/update-challenge.md b/docs/examples/1.5.x/client-apple/examples/account/update-challenge.md index 4743d06080..efdf38b3ba 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/update-challenge.md +++ b/docs/examples/1.5.x/client-apple/examples/account/update-challenge.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/update-email.md b/docs/examples/1.5.x/client-apple/examples/account/update-email.md index a8c37af946..4dbd3359a7 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/update-email.md +++ b/docs/examples/1.5.x/client-apple/examples/account/update-email.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/update-m-f-a.md b/docs/examples/1.5.x/client-apple/examples/account/update-m-f-a.md index 82fded780e..eefcd79fda 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/update-m-f-a.md +++ b/docs/examples/1.5.x/client-apple/examples/account/update-m-f-a.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.5.x/client-apple/examples/account/update-magic-u-r-l-session.md index 6950792fb5..8e0a26a6ef 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.5.x/client-apple/examples/account/update-magic-u-r-l-session.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/update-mfa-authenticator.md b/docs/examples/1.5.x/client-apple/examples/account/update-mfa-authenticator.md index de64595415..8ef2b24101 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/update-mfa-authenticator.md +++ b/docs/examples/1.5.x/client-apple/examples/account/update-mfa-authenticator.md @@ -3,7 +3,7 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/update-mfa-challenge.md b/docs/examples/1.5.x/client-apple/examples/account/update-mfa-challenge.md index 109c7ba565..1c5874f784 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.5.x/client-apple/examples/account/update-mfa-challenge.md @@ -2,11 +2,11 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) -let result = try await account.updateMfaChallenge( +let session = try await account.updateMfaChallenge( challengeId: "<CHALLENGE_ID>", otp: "<OTP>" ) diff --git a/docs/examples/1.5.x/client-apple/examples/account/update-mfa-recovery-codes.md b/docs/examples/1.5.x/client-apple/examples/account/update-mfa-recovery-codes.md index 76b3835548..fb5ea5a898 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/client-apple/examples/account/update-mfa-recovery-codes.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/update-name.md b/docs/examples/1.5.x/client-apple/examples/account/update-name.md index 7a493dbf94..893d96c77e 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/update-name.md +++ b/docs/examples/1.5.x/client-apple/examples/account/update-name.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/update-password.md b/docs/examples/1.5.x/client-apple/examples/account/update-password.md index cf27be3431..60737dc5d2 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/update-password.md +++ b/docs/examples/1.5.x/client-apple/examples/account/update-password.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/update-phone-session.md b/docs/examples/1.5.x/client-apple/examples/account/update-phone-session.md index 71d404eee4..50a88cbe51 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/update-phone-session.md +++ b/docs/examples/1.5.x/client-apple/examples/account/update-phone-session.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/update-phone-verification.md b/docs/examples/1.5.x/client-apple/examples/account/update-phone-verification.md index 13dcb2f9f1..045ba8d9b6 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/update-phone-verification.md +++ b/docs/examples/1.5.x/client-apple/examples/account/update-phone-verification.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/update-phone.md b/docs/examples/1.5.x/client-apple/examples/account/update-phone.md index 306e8f5a93..b43b975179 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/update-phone.md +++ b/docs/examples/1.5.x/client-apple/examples/account/update-phone.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/update-prefs.md b/docs/examples/1.5.x/client-apple/examples/account/update-prefs.md index cc765480c5..ea49c34f04 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/update-prefs.md +++ b/docs/examples/1.5.x/client-apple/examples/account/update-prefs.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/update-push-target.md b/docs/examples/1.5.x/client-apple/examples/account/update-push-target.md index 345764632a..351801e1be 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/update-push-target.md +++ b/docs/examples/1.5.x/client-apple/examples/account/update-push-target.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/update-recovery.md b/docs/examples/1.5.x/client-apple/examples/account/update-recovery.md index aec12912ec..1e50a14632 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/update-recovery.md +++ b/docs/examples/1.5.x/client-apple/examples/account/update-recovery.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/update-session.md b/docs/examples/1.5.x/client-apple/examples/account/update-session.md index b879ab7846..5fe7116cc1 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/update-session.md +++ b/docs/examples/1.5.x/client-apple/examples/account/update-session.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/update-status.md b/docs/examples/1.5.x/client-apple/examples/account/update-status.md index 3f2d823641..a7f99c3402 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/update-status.md +++ b/docs/examples/1.5.x/client-apple/examples/account/update-status.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/update-verification.md b/docs/examples/1.5.x/client-apple/examples/account/update-verification.md index 57441c9d3f..c17a787490 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/update-verification.md +++ b/docs/examples/1.5.x/client-apple/examples/account/update-verification.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/account/verify-authenticator.md b/docs/examples/1.5.x/client-apple/examples/account/verify-authenticator.md index e71c52f39d..c609686738 100644 --- a/docs/examples/1.5.x/client-apple/examples/account/verify-authenticator.md +++ b/docs/examples/1.5.x/client-apple/examples/account/verify-authenticator.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/client-apple/examples/avatars/get-browser.md b/docs/examples/1.5.x/client-apple/examples/avatars/get-browser.md index 0c4a194c94..e18a2b2cc9 100644 --- a/docs/examples/1.5.x/client-apple/examples/avatars/get-browser.md +++ b/docs/examples/1.5.x/client-apple/examples/avatars/get-browser.md @@ -3,7 +3,7 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.5.x/client-apple/examples/avatars/get-credit-card.md b/docs/examples/1.5.x/client-apple/examples/avatars/get-credit-card.md index 08a89304cf..94a7bf69c0 100644 --- a/docs/examples/1.5.x/client-apple/examples/avatars/get-credit-card.md +++ b/docs/examples/1.5.x/client-apple/examples/avatars/get-credit-card.md @@ -3,7 +3,7 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.5.x/client-apple/examples/avatars/get-favicon.md b/docs/examples/1.5.x/client-apple/examples/avatars/get-favicon.md index 0e72f0ba6b..95af5f5982 100644 --- a/docs/examples/1.5.x/client-apple/examples/avatars/get-favicon.md +++ b/docs/examples/1.5.x/client-apple/examples/avatars/get-favicon.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.5.x/client-apple/examples/avatars/get-flag.md b/docs/examples/1.5.x/client-apple/examples/avatars/get-flag.md index 22d77fde25..b79cf57ae8 100644 --- a/docs/examples/1.5.x/client-apple/examples/avatars/get-flag.md +++ b/docs/examples/1.5.x/client-apple/examples/avatars/get-flag.md @@ -3,7 +3,7 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.5.x/client-apple/examples/avatars/get-image.md b/docs/examples/1.5.x/client-apple/examples/avatars/get-image.md index 13e756ad85..f01e21bf8d 100644 --- a/docs/examples/1.5.x/client-apple/examples/avatars/get-image.md +++ b/docs/examples/1.5.x/client-apple/examples/avatars/get-image.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.5.x/client-apple/examples/avatars/get-initials.md b/docs/examples/1.5.x/client-apple/examples/avatars/get-initials.md index 482be2c18e..8593288a81 100644 --- a/docs/examples/1.5.x/client-apple/examples/avatars/get-initials.md +++ b/docs/examples/1.5.x/client-apple/examples/avatars/get-initials.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.5.x/client-apple/examples/avatars/get-q-r.md b/docs/examples/1.5.x/client-apple/examples/avatars/get-q-r.md index d03d79a9ca..370209a842 100644 --- a/docs/examples/1.5.x/client-apple/examples/avatars/get-q-r.md +++ b/docs/examples/1.5.x/client-apple/examples/avatars/get-q-r.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.5.x/client-apple/examples/databases/create-document.md b/docs/examples/1.5.x/client-apple/examples/databases/create-document.md index 5631b7abb8..1dff362576 100644 --- a/docs/examples/1.5.x/client-apple/examples/databases/create-document.md +++ b/docs/examples/1.5.x/client-apple/examples/databases/create-document.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let databases = Databases(client) diff --git a/docs/examples/1.5.x/client-apple/examples/databases/delete-document.md b/docs/examples/1.5.x/client-apple/examples/databases/delete-document.md index 4926bd6872..80ca2eb0a9 100644 --- a/docs/examples/1.5.x/client-apple/examples/databases/delete-document.md +++ b/docs/examples/1.5.x/client-apple/examples/databases/delete-document.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let databases = Databases(client) diff --git a/docs/examples/1.5.x/client-apple/examples/databases/get-document.md b/docs/examples/1.5.x/client-apple/examples/databases/get-document.md index bd5c446c00..fa7aeb9090 100644 --- a/docs/examples/1.5.x/client-apple/examples/databases/get-document.md +++ b/docs/examples/1.5.x/client-apple/examples/databases/get-document.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let databases = Databases(client) diff --git a/docs/examples/1.5.x/client-apple/examples/databases/list-documents.md b/docs/examples/1.5.x/client-apple/examples/databases/list-documents.md index c2377bd576..6b2cbbca7a 100644 --- a/docs/examples/1.5.x/client-apple/examples/databases/list-documents.md +++ b/docs/examples/1.5.x/client-apple/examples/databases/list-documents.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let databases = Databases(client) diff --git a/docs/examples/1.5.x/client-apple/examples/databases/update-document.md b/docs/examples/1.5.x/client-apple/examples/databases/update-document.md index 9de18fdfa5..2260272029 100644 --- a/docs/examples/1.5.x/client-apple/examples/databases/update-document.md +++ b/docs/examples/1.5.x/client-apple/examples/databases/update-document.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let databases = Databases(client) diff --git a/docs/examples/1.5.x/client-apple/examples/functions/create-execution.md b/docs/examples/1.5.x/client-apple/examples/functions/create-execution.md index f74bd53e9a..6d585ea42b 100644 --- a/docs/examples/1.5.x/client-apple/examples/functions/create-execution.md +++ b/docs/examples/1.5.x/client-apple/examples/functions/create-execution.md @@ -3,7 +3,7 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let functions = Functions(client) @@ -13,6 +13,7 @@ let execution = try await functions.createExecution( async: false, // optional path: "<PATH>", // optional method: .gET, // optional - headers: [:] // optional + headers: [:], // optional + scheduledAt: "" // optional ) diff --git a/docs/examples/1.5.x/client-apple/examples/functions/get-execution.md b/docs/examples/1.5.x/client-apple/examples/functions/get-execution.md index e478988a19..dbf12e17cb 100644 --- a/docs/examples/1.5.x/client-apple/examples/functions/get-execution.md +++ b/docs/examples/1.5.x/client-apple/examples/functions/get-execution.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let functions = Functions(client) diff --git a/docs/examples/1.5.x/client-apple/examples/functions/list-executions.md b/docs/examples/1.5.x/client-apple/examples/functions/list-executions.md index 618fea32b1..4eb2694f7c 100644 --- a/docs/examples/1.5.x/client-apple/examples/functions/list-executions.md +++ b/docs/examples/1.5.x/client-apple/examples/functions/list-executions.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let functions = Functions(client) diff --git a/docs/examples/1.5.x/client-apple/examples/graphql/mutation.md b/docs/examples/1.5.x/client-apple/examples/graphql/mutation.md index d58b881df4..8e54971f84 100644 --- a/docs/examples/1.5.x/client-apple/examples/graphql/mutation.md +++ b/docs/examples/1.5.x/client-apple/examples/graphql/mutation.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let graphql = Graphql(client) diff --git a/docs/examples/1.5.x/client-apple/examples/graphql/query.md b/docs/examples/1.5.x/client-apple/examples/graphql/query.md index 0aba98aeb8..db93660f1d 100644 --- a/docs/examples/1.5.x/client-apple/examples/graphql/query.md +++ b/docs/examples/1.5.x/client-apple/examples/graphql/query.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let graphql = Graphql(client) diff --git a/docs/examples/1.5.x/client-apple/examples/locale/get.md b/docs/examples/1.5.x/client-apple/examples/locale/get.md index d12470d66a..ec071cd3a6 100644 --- a/docs/examples/1.5.x/client-apple/examples/locale/get.md +++ b/docs/examples/1.5.x/client-apple/examples/locale/get.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.5.x/client-apple/examples/locale/list-codes.md b/docs/examples/1.5.x/client-apple/examples/locale/list-codes.md index 5832aa4ced..adb35393f4 100644 --- a/docs/examples/1.5.x/client-apple/examples/locale/list-codes.md +++ b/docs/examples/1.5.x/client-apple/examples/locale/list-codes.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.5.x/client-apple/examples/locale/list-continents.md b/docs/examples/1.5.x/client-apple/examples/locale/list-continents.md index 4853f77212..934b264051 100644 --- a/docs/examples/1.5.x/client-apple/examples/locale/list-continents.md +++ b/docs/examples/1.5.x/client-apple/examples/locale/list-continents.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.5.x/client-apple/examples/locale/list-countries-e-u.md b/docs/examples/1.5.x/client-apple/examples/locale/list-countries-e-u.md index 6e0a4d31d0..393e523847 100644 --- a/docs/examples/1.5.x/client-apple/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.5.x/client-apple/examples/locale/list-countries-e-u.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.5.x/client-apple/examples/locale/list-countries-phones.md b/docs/examples/1.5.x/client-apple/examples/locale/list-countries-phones.md index b4752eb469..840e9043f6 100644 --- a/docs/examples/1.5.x/client-apple/examples/locale/list-countries-phones.md +++ b/docs/examples/1.5.x/client-apple/examples/locale/list-countries-phones.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.5.x/client-apple/examples/locale/list-countries.md b/docs/examples/1.5.x/client-apple/examples/locale/list-countries.md index 75369d0606..e6adb9e7d3 100644 --- a/docs/examples/1.5.x/client-apple/examples/locale/list-countries.md +++ b/docs/examples/1.5.x/client-apple/examples/locale/list-countries.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.5.x/client-apple/examples/locale/list-currencies.md b/docs/examples/1.5.x/client-apple/examples/locale/list-currencies.md index 92eea81275..b34a9715a7 100644 --- a/docs/examples/1.5.x/client-apple/examples/locale/list-currencies.md +++ b/docs/examples/1.5.x/client-apple/examples/locale/list-currencies.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.5.x/client-apple/examples/locale/list-languages.md b/docs/examples/1.5.x/client-apple/examples/locale/list-languages.md index 2184812b1e..db41d39e00 100644 --- a/docs/examples/1.5.x/client-apple/examples/locale/list-languages.md +++ b/docs/examples/1.5.x/client-apple/examples/locale/list-languages.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.5.x/client-apple/examples/messaging/create-subscriber.md b/docs/examples/1.5.x/client-apple/examples/messaging/create-subscriber.md index 9c25454d3e..0e3793b7bc 100644 --- a/docs/examples/1.5.x/client-apple/examples/messaging/create-subscriber.md +++ b/docs/examples/1.5.x/client-apple/examples/messaging/create-subscriber.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/client-apple/examples/messaging/delete-subscriber.md b/docs/examples/1.5.x/client-apple/examples/messaging/delete-subscriber.md index 1f5baabde4..3a8b7c40ce 100644 --- a/docs/examples/1.5.x/client-apple/examples/messaging/delete-subscriber.md +++ b/docs/examples/1.5.x/client-apple/examples/messaging/delete-subscriber.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/client-apple/examples/storage/create-file.md b/docs/examples/1.5.x/client-apple/examples/storage/create-file.md index 6f467aa242..2e5b945198 100644 --- a/docs/examples/1.5.x/client-apple/examples/storage/create-file.md +++ b/docs/examples/1.5.x/client-apple/examples/storage/create-file.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.5.x/client-apple/examples/storage/delete-file.md b/docs/examples/1.5.x/client-apple/examples/storage/delete-file.md index 30d6721018..caeb173fc5 100644 --- a/docs/examples/1.5.x/client-apple/examples/storage/delete-file.md +++ b/docs/examples/1.5.x/client-apple/examples/storage/delete-file.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.5.x/client-apple/examples/storage/get-file-download.md b/docs/examples/1.5.x/client-apple/examples/storage/get-file-download.md index bc7521a683..3d8bf6bfb9 100644 --- a/docs/examples/1.5.x/client-apple/examples/storage/get-file-download.md +++ b/docs/examples/1.5.x/client-apple/examples/storage/get-file-download.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.5.x/client-apple/examples/storage/get-file-preview.md b/docs/examples/1.5.x/client-apple/examples/storage/get-file-preview.md index 4d16f200c1..17e42f9065 100644 --- a/docs/examples/1.5.x/client-apple/examples/storage/get-file-preview.md +++ b/docs/examples/1.5.x/client-apple/examples/storage/get-file-preview.md @@ -3,7 +3,7 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.5.x/client-apple/examples/storage/get-file-view.md b/docs/examples/1.5.x/client-apple/examples/storage/get-file-view.md index 9edf46bb99..e62afb7727 100644 --- a/docs/examples/1.5.x/client-apple/examples/storage/get-file-view.md +++ b/docs/examples/1.5.x/client-apple/examples/storage/get-file-view.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.5.x/client-apple/examples/storage/get-file.md b/docs/examples/1.5.x/client-apple/examples/storage/get-file.md index f07798834d..367fd39b2e 100644 --- a/docs/examples/1.5.x/client-apple/examples/storage/get-file.md +++ b/docs/examples/1.5.x/client-apple/examples/storage/get-file.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.5.x/client-apple/examples/storage/list-files.md b/docs/examples/1.5.x/client-apple/examples/storage/list-files.md index bc1129eb75..3996ba718c 100644 --- a/docs/examples/1.5.x/client-apple/examples/storage/list-files.md +++ b/docs/examples/1.5.x/client-apple/examples/storage/list-files.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.5.x/client-apple/examples/storage/update-file.md b/docs/examples/1.5.x/client-apple/examples/storage/update-file.md index eaeb5dae46..37a3001e95 100644 --- a/docs/examples/1.5.x/client-apple/examples/storage/update-file.md +++ b/docs/examples/1.5.x/client-apple/examples/storage/update-file.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.5.x/client-apple/examples/teams/create-membership.md b/docs/examples/1.5.x/client-apple/examples/teams/create-membership.md index 032579083a..e911b2aa5a 100644 --- a/docs/examples/1.5.x/client-apple/examples/teams/create-membership.md +++ b/docs/examples/1.5.x/client-apple/examples/teams/create-membership.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.5.x/client-apple/examples/teams/create.md b/docs/examples/1.5.x/client-apple/examples/teams/create.md index e5307029e6..b355a633c6 100644 --- a/docs/examples/1.5.x/client-apple/examples/teams/create.md +++ b/docs/examples/1.5.x/client-apple/examples/teams/create.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.5.x/client-apple/examples/teams/delete-membership.md b/docs/examples/1.5.x/client-apple/examples/teams/delete-membership.md index 8cd8a9afea..8252272ec7 100644 --- a/docs/examples/1.5.x/client-apple/examples/teams/delete-membership.md +++ b/docs/examples/1.5.x/client-apple/examples/teams/delete-membership.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.5.x/client-apple/examples/teams/delete.md b/docs/examples/1.5.x/client-apple/examples/teams/delete.md index 34edd05d9d..1caee83031 100644 --- a/docs/examples/1.5.x/client-apple/examples/teams/delete.md +++ b/docs/examples/1.5.x/client-apple/examples/teams/delete.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.5.x/client-apple/examples/teams/get-membership.md b/docs/examples/1.5.x/client-apple/examples/teams/get-membership.md index 9365dcd30b..62e3a513ef 100644 --- a/docs/examples/1.5.x/client-apple/examples/teams/get-membership.md +++ b/docs/examples/1.5.x/client-apple/examples/teams/get-membership.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.5.x/client-apple/examples/teams/get-prefs.md b/docs/examples/1.5.x/client-apple/examples/teams/get-prefs.md index 08e9063127..04ece54917 100644 --- a/docs/examples/1.5.x/client-apple/examples/teams/get-prefs.md +++ b/docs/examples/1.5.x/client-apple/examples/teams/get-prefs.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.5.x/client-apple/examples/teams/get.md b/docs/examples/1.5.x/client-apple/examples/teams/get.md index d5e956a327..c5673bdae3 100644 --- a/docs/examples/1.5.x/client-apple/examples/teams/get.md +++ b/docs/examples/1.5.x/client-apple/examples/teams/get.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.5.x/client-apple/examples/teams/list-memberships.md b/docs/examples/1.5.x/client-apple/examples/teams/list-memberships.md index bde4f9b629..e85b11cecb 100644 --- a/docs/examples/1.5.x/client-apple/examples/teams/list-memberships.md +++ b/docs/examples/1.5.x/client-apple/examples/teams/list-memberships.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.5.x/client-apple/examples/teams/list.md b/docs/examples/1.5.x/client-apple/examples/teams/list.md index c7ed8d4592..c5e7175d30 100644 --- a/docs/examples/1.5.x/client-apple/examples/teams/list.md +++ b/docs/examples/1.5.x/client-apple/examples/teams/list.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.5.x/client-apple/examples/teams/update-membership-status.md b/docs/examples/1.5.x/client-apple/examples/teams/update-membership-status.md index b76670b353..c50ef0e861 100644 --- a/docs/examples/1.5.x/client-apple/examples/teams/update-membership-status.md +++ b/docs/examples/1.5.x/client-apple/examples/teams/update-membership-status.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.5.x/client-apple/examples/teams/update-membership.md b/docs/examples/1.5.x/client-apple/examples/teams/update-membership.md index 85a7cb5793..c4500a3ff1 100644 --- a/docs/examples/1.5.x/client-apple/examples/teams/update-membership.md +++ b/docs/examples/1.5.x/client-apple/examples/teams/update-membership.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.5.x/client-apple/examples/teams/update-name.md b/docs/examples/1.5.x/client-apple/examples/teams/update-name.md index a7e117ad1d..64e2cab037 100644 --- a/docs/examples/1.5.x/client-apple/examples/teams/update-name.md +++ b/docs/examples/1.5.x/client-apple/examples/teams/update-name.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.5.x/client-apple/examples/teams/update-prefs.md b/docs/examples/1.5.x/client-apple/examples/teams/update-prefs.md index 469ba86b0a..a69d48567d 100644 --- a/docs/examples/1.5.x/client-apple/examples/teams/update-prefs.md +++ b/docs/examples/1.5.x/client-apple/examples/teams/update-prefs.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.5.x/client-apple/examples/users/delete-authenticator.md b/docs/examples/1.5.x/client-apple/examples/users/delete-authenticator.md index 0ff210d3c4..337ec1732d 100644 --- a/docs/examples/1.5.x/client-apple/examples/users/delete-authenticator.md +++ b/docs/examples/1.5.x/client-apple/examples/users/delete-authenticator.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let users = Users(client) diff --git a/docs/examples/1.5.x/client-apple/examples/users/list-providers.md b/docs/examples/1.5.x/client-apple/examples/users/list-providers.md index 974bce1223..9e6eb9f556 100644 --- a/docs/examples/1.5.x/client-apple/examples/users/list-providers.md +++ b/docs/examples/1.5.x/client-apple/examples/users/list-providers.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let users = Users(client) diff --git a/docs/examples/1.5.x/client-flutter/examples/account/add-authenticator.md b/docs/examples/1.5.x/client-flutter/examples/account/add-authenticator.md index 6f32c0428d..05c3d15a7f 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/add-authenticator.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/add-authenticator.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/create-anonymous-session.md b/docs/examples/1.5.x/client-flutter/examples/account/create-anonymous-session.md index 8eea4bf4f5..50887f10de 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/create-anonymous-session.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/create-anonymous-session.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/create-challenge.md b/docs/examples/1.5.x/client-flutter/examples/account/create-challenge.md index a66111694d..fc87bdf097 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/create-challenge.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/create-challenge.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/create-email-password-session.md b/docs/examples/1.5.x/client-flutter/examples/account/create-email-password-session.md index d90d9e264c..64c0e93ca2 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/create-email-password-session.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/create-email-password-session.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/create-email-token.md b/docs/examples/1.5.x/client-flutter/examples/account/create-email-token.md index 2532d82d91..140689a904 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/create-email-token.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/create-email-token.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/create-j-w-t.md b/docs/examples/1.5.x/client-flutter/examples/account/create-j-w-t.md index 1e33c888d9..256f28e0f3 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/create-j-w-t.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/create-j-w-t.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/create-magic-u-r-l-token.md b/docs/examples/1.5.x/client-flutter/examples/account/create-magic-u-r-l-token.md index 8c430c86f9..cf2d1bd1fe 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/create-magic-u-r-l-token.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/create-mfa-authenticator.md b/docs/examples/1.5.x/client-flutter/examples/account/create-mfa-authenticator.md index b43ec1a616..2b35cc9ed4 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/create-mfa-authenticator.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/create-mfa-authenticator.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/create-mfa-challenge.md b/docs/examples/1.5.x/client-flutter/examples/account/create-mfa-challenge.md index 64bcb36730..ad1b8c201f 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/create-mfa-challenge.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/create-mfa-recovery-codes.md b/docs/examples/1.5.x/client-flutter/examples/account/create-mfa-recovery-codes.md index 68fdaaa4c5..22b3b44caf 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/create-mfa-recovery-codes.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/create-o-auth2session.md b/docs/examples/1.5.x/client-flutter/examples/account/create-o-auth2session.md index ea651e7305..d00a1c7144 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/create-o-auth2session.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/create-o-auth2session.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/create-o-auth2token.md b/docs/examples/1.5.x/client-flutter/examples/account/create-o-auth2token.md index 4227359c4f..b1478bf9df 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/create-o-auth2token.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/create-o-auth2token.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/create-phone-token.md b/docs/examples/1.5.x/client-flutter/examples/account/create-phone-token.md index efcdcbe8ec..08dce5f7b2 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/create-phone-token.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/create-phone-token.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/create-phone-verification.md b/docs/examples/1.5.x/client-flutter/examples/account/create-phone-verification.md index ad0da61dd3..727cfe5012 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/create-phone-verification.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/create-phone-verification.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/create-push-target.md b/docs/examples/1.5.x/client-flutter/examples/account/create-push-target.md index be945eec97..de324b842e 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/create-push-target.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/create-push-target.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/create-recovery.md b/docs/examples/1.5.x/client-flutter/examples/account/create-recovery.md index 8b8a41a869..09d0994dd1 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/create-recovery.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/create-recovery.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/create-session.md b/docs/examples/1.5.x/client-flutter/examples/account/create-session.md index 29aca9c5df..e35cc1978d 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/create-session.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/create-session.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/create-verification.md b/docs/examples/1.5.x/client-flutter/examples/account/create-verification.md index c3a4f0f7f1..85142abee9 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/create-verification.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/create-verification.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/create.md b/docs/examples/1.5.x/client-flutter/examples/account/create.md index 032c523e79..98f6fcbaa2 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/create.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/create.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/create2f-a-challenge.md b/docs/examples/1.5.x/client-flutter/examples/account/create2f-a-challenge.md index f987391f8e..7a05586efb 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/create2f-a-challenge.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/create2f-a-challenge.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/delete-authenticator.md b/docs/examples/1.5.x/client-flutter/examples/account/delete-authenticator.md index f4f44b1b72..ac6a9f0b02 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/delete-authenticator.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/delete-authenticator.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/delete-identity.md b/docs/examples/1.5.x/client-flutter/examples/account/delete-identity.md index ab68036af9..9846a0c11c 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/delete-identity.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/delete-identity.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/delete-mfa-authenticator.md b/docs/examples/1.5.x/client-flutter/examples/account/delete-mfa-authenticator.md index 3f62177e18..6d2a21ce89 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/delete-mfa-authenticator.md @@ -2,11 +2,10 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); await account.deleteMfaAuthenticator( type: AuthenticatorType.totp, - otp: '<OTP>', ); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/delete-push-target.md b/docs/examples/1.5.x/client-flutter/examples/account/delete-push-target.md index 2081bf670b..f6ec230d71 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/delete-push-target.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/delete-push-target.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/delete-session.md b/docs/examples/1.5.x/client-flutter/examples/account/delete-session.md index 7f84f82a6d..07978e2c11 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/delete-session.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/delete-session.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/delete-sessions.md b/docs/examples/1.5.x/client-flutter/examples/account/delete-sessions.md index c17afd0d91..faafcb97bd 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/delete-sessions.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/delete-sessions.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.5.x/client-flutter/examples/account/get-mfa-recovery-codes.md index 008f8cede3..413fb059e6 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/get-mfa-recovery-codes.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/get-prefs.md b/docs/examples/1.5.x/client-flutter/examples/account/get-prefs.md index 6b3789962a..bc7731daaa 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/get-prefs.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/get-prefs.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/get-session.md b/docs/examples/1.5.x/client-flutter/examples/account/get-session.md index 6954e51e29..4958fd1c94 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/get-session.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/get-session.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/get.md b/docs/examples/1.5.x/client-flutter/examples/account/get.md index 2790b57a0e..c38dd7f4fd 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/get.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/get.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/list-factors.md b/docs/examples/1.5.x/client-flutter/examples/account/list-factors.md index b58f175dcf..d81e5277b5 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/list-factors.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/list-factors.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/list-identities.md b/docs/examples/1.5.x/client-flutter/examples/account/list-identities.md index 763e25335b..183d525b3b 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/list-identities.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/list-identities.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/list-logs.md b/docs/examples/1.5.x/client-flutter/examples/account/list-logs.md index d3b06dd95e..ec29b9510d 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/list-logs.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/list-logs.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/list-mfa-factors.md b/docs/examples/1.5.x/client-flutter/examples/account/list-mfa-factors.md index 08186e3edc..bb320225cd 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/list-mfa-factors.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/list-mfa-factors.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/list-sessions.md b/docs/examples/1.5.x/client-flutter/examples/account/list-sessions.md index 0bde760d31..3af2299e04 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/list-sessions.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/list-sessions.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/update-challenge.md b/docs/examples/1.5.x/client-flutter/examples/account/update-challenge.md index a27e620fd7..409b432f6c 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/update-challenge.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/update-challenge.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/update-email.md b/docs/examples/1.5.x/client-flutter/examples/account/update-email.md index 0ce8eb5ed5..b3c7ffe911 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/update-email.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/update-email.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/update-m-f-a.md b/docs/examples/1.5.x/client-flutter/examples/account/update-m-f-a.md index 1f5f709b07..c376c72917 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/update-m-f-a.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/update-m-f-a.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.5.x/client-flutter/examples/account/update-magic-u-r-l-session.md index 2eb4b33d80..e75aba3ffd 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/update-magic-u-r-l-session.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/update-mfa-authenticator.md b/docs/examples/1.5.x/client-flutter/examples/account/update-mfa-authenticator.md index 4f5074e29e..d2d974fbfe 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/update-mfa-authenticator.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/update-mfa-authenticator.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/update-mfa-challenge.md b/docs/examples/1.5.x/client-flutter/examples/account/update-mfa-challenge.md index 34c3780101..bbe7c03470 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/update-mfa-challenge.md @@ -2,11 +2,11 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); - result = await account.updateMfaChallenge( +Session result = await account.updateMfaChallenge( challengeId: '<CHALLENGE_ID>', otp: '<OTP>', ); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/update-mfa-recovery-codes.md b/docs/examples/1.5.x/client-flutter/examples/account/update-mfa-recovery-codes.md index 914366fb32..fd2aaf721b 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/update-mfa-recovery-codes.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/update-name.md b/docs/examples/1.5.x/client-flutter/examples/account/update-name.md index dc2c4c6afe..77e774c767 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/update-name.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/update-name.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/update-password.md b/docs/examples/1.5.x/client-flutter/examples/account/update-password.md index 37c6ecf4e2..8d36c1f68d 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/update-password.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/update-password.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/update-phone-session.md b/docs/examples/1.5.x/client-flutter/examples/account/update-phone-session.md index f687131763..64d8d84201 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/update-phone-session.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/update-phone-session.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/update-phone-verification.md b/docs/examples/1.5.x/client-flutter/examples/account/update-phone-verification.md index 0facc29f15..5c67e1a5c0 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/update-phone-verification.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/update-phone-verification.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/update-phone.md b/docs/examples/1.5.x/client-flutter/examples/account/update-phone.md index 24000c4b9d..6c9559db14 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/update-phone.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/update-phone.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/update-prefs.md b/docs/examples/1.5.x/client-flutter/examples/account/update-prefs.md index d83e25f911..ca9b709a50 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/update-prefs.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/update-prefs.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/update-push-target.md b/docs/examples/1.5.x/client-flutter/examples/account/update-push-target.md index 0311d0be17..a54b1aa30f 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/update-push-target.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/update-push-target.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/update-recovery.md b/docs/examples/1.5.x/client-flutter/examples/account/update-recovery.md index f87e8723b2..648d25b1b6 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/update-recovery.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/update-recovery.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/update-session.md b/docs/examples/1.5.x/client-flutter/examples/account/update-session.md index 5a12ad273c..2cdf32aae0 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/update-session.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/update-session.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/update-status.md b/docs/examples/1.5.x/client-flutter/examples/account/update-status.md index 8b7bc49c5a..0b0fb95ea6 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/update-status.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/update-status.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/update-verification.md b/docs/examples/1.5.x/client-flutter/examples/account/update-verification.md index c3db86b8ca..3071a0409e 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/update-verification.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/update-verification.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/account/verify-authenticator.md b/docs/examples/1.5.x/client-flutter/examples/account/verify-authenticator.md index 74f7111bd8..19df7d90d2 100644 --- a/docs/examples/1.5.x/client-flutter/examples/account/verify-authenticator.md +++ b/docs/examples/1.5.x/client-flutter/examples/account/verify-authenticator.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/avatars/get-browser.md b/docs/examples/1.5.x/client-flutter/examples/avatars/get-browser.md index 6bc6e5410e..21dae2114e 100644 --- a/docs/examples/1.5.x/client-flutter/examples/avatars/get-browser.md +++ b/docs/examples/1.5.x/client-flutter/examples/avatars/get-browser.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Avatars avatars = Avatars(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/avatars/get-credit-card.md b/docs/examples/1.5.x/client-flutter/examples/avatars/get-credit-card.md index d5b96383ad..a580e3bdaa 100644 --- a/docs/examples/1.5.x/client-flutter/examples/avatars/get-credit-card.md +++ b/docs/examples/1.5.x/client-flutter/examples/avatars/get-credit-card.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Avatars avatars = Avatars(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/avatars/get-favicon.md b/docs/examples/1.5.x/client-flutter/examples/avatars/get-favicon.md index 10047b4402..f35f5a71a0 100644 --- a/docs/examples/1.5.x/client-flutter/examples/avatars/get-favicon.md +++ b/docs/examples/1.5.x/client-flutter/examples/avatars/get-favicon.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Avatars avatars = Avatars(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/avatars/get-flag.md b/docs/examples/1.5.x/client-flutter/examples/avatars/get-flag.md index 66a5b20247..8f35826124 100644 --- a/docs/examples/1.5.x/client-flutter/examples/avatars/get-flag.md +++ b/docs/examples/1.5.x/client-flutter/examples/avatars/get-flag.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Avatars avatars = Avatars(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/avatars/get-image.md b/docs/examples/1.5.x/client-flutter/examples/avatars/get-image.md index 15f3ea6e64..5d8a986537 100644 --- a/docs/examples/1.5.x/client-flutter/examples/avatars/get-image.md +++ b/docs/examples/1.5.x/client-flutter/examples/avatars/get-image.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Avatars avatars = Avatars(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/avatars/get-initials.md b/docs/examples/1.5.x/client-flutter/examples/avatars/get-initials.md index 2d540a1dbe..26302d02c3 100644 --- a/docs/examples/1.5.x/client-flutter/examples/avatars/get-initials.md +++ b/docs/examples/1.5.x/client-flutter/examples/avatars/get-initials.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Avatars avatars = Avatars(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/avatars/get-q-r.md b/docs/examples/1.5.x/client-flutter/examples/avatars/get-q-r.md index 94b34bdaa0..40f0b5068c 100644 --- a/docs/examples/1.5.x/client-flutter/examples/avatars/get-q-r.md +++ b/docs/examples/1.5.x/client-flutter/examples/avatars/get-q-r.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Avatars avatars = Avatars(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/databases/create-document.md b/docs/examples/1.5.x/client-flutter/examples/databases/create-document.md index 6645b4edc6..7853329a05 100644 --- a/docs/examples/1.5.x/client-flutter/examples/databases/create-document.md +++ b/docs/examples/1.5.x/client-flutter/examples/databases/create-document.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/databases/delete-document.md b/docs/examples/1.5.x/client-flutter/examples/databases/delete-document.md index fc7c5ef1d5..14cec01c0a 100644 --- a/docs/examples/1.5.x/client-flutter/examples/databases/delete-document.md +++ b/docs/examples/1.5.x/client-flutter/examples/databases/delete-document.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/databases/get-document.md b/docs/examples/1.5.x/client-flutter/examples/databases/get-document.md index 4f2ba3e3b1..55206357b2 100644 --- a/docs/examples/1.5.x/client-flutter/examples/databases/get-document.md +++ b/docs/examples/1.5.x/client-flutter/examples/databases/get-document.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/databases/list-documents.md b/docs/examples/1.5.x/client-flutter/examples/databases/list-documents.md index da43b17d09..e78a02de6b 100644 --- a/docs/examples/1.5.x/client-flutter/examples/databases/list-documents.md +++ b/docs/examples/1.5.x/client-flutter/examples/databases/list-documents.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/databases/update-document.md b/docs/examples/1.5.x/client-flutter/examples/databases/update-document.md index 42f5b65726..29ee8781ff 100644 --- a/docs/examples/1.5.x/client-flutter/examples/databases/update-document.md +++ b/docs/examples/1.5.x/client-flutter/examples/databases/update-document.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/functions/create-execution.md b/docs/examples/1.5.x/client-flutter/examples/functions/create-execution.md index 6ca5e14bbc..94f0ae5581 100644 --- a/docs/examples/1.5.x/client-flutter/examples/functions/create-execution.md +++ b/docs/examples/1.5.x/client-flutter/examples/functions/create-execution.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Functions functions = Functions(client); @@ -13,4 +13,5 @@ Execution result = await functions.createExecution( path: '<PATH>', // optional method: ExecutionMethod.gET, // optional headers: {}, // optional + scheduledAt: '', // optional ); diff --git a/docs/examples/1.5.x/client-flutter/examples/functions/get-execution.md b/docs/examples/1.5.x/client-flutter/examples/functions/get-execution.md index 67439f4068..b459514624 100644 --- a/docs/examples/1.5.x/client-flutter/examples/functions/get-execution.md +++ b/docs/examples/1.5.x/client-flutter/examples/functions/get-execution.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Functions functions = Functions(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/functions/list-executions.md b/docs/examples/1.5.x/client-flutter/examples/functions/list-executions.md index 3902d6e7c8..ba4b4e41d7 100644 --- a/docs/examples/1.5.x/client-flutter/examples/functions/list-executions.md +++ b/docs/examples/1.5.x/client-flutter/examples/functions/list-executions.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Functions functions = Functions(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/graphql/mutation.md b/docs/examples/1.5.x/client-flutter/examples/graphql/mutation.md index d94c53158a..1ac9ba0a0d 100644 --- a/docs/examples/1.5.x/client-flutter/examples/graphql/mutation.md +++ b/docs/examples/1.5.x/client-flutter/examples/graphql/mutation.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Graphql graphql = Graphql(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/graphql/query.md b/docs/examples/1.5.x/client-flutter/examples/graphql/query.md index 13c21eeb45..2c06a838ab 100644 --- a/docs/examples/1.5.x/client-flutter/examples/graphql/query.md +++ b/docs/examples/1.5.x/client-flutter/examples/graphql/query.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Graphql graphql = Graphql(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/locale/get.md b/docs/examples/1.5.x/client-flutter/examples/locale/get.md index b705b834ef..53cfda5c20 100644 --- a/docs/examples/1.5.x/client-flutter/examples/locale/get.md +++ b/docs/examples/1.5.x/client-flutter/examples/locale/get.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Locale locale = Locale(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/locale/list-codes.md b/docs/examples/1.5.x/client-flutter/examples/locale/list-codes.md index c9ca329778..bfd53f97bc 100644 --- a/docs/examples/1.5.x/client-flutter/examples/locale/list-codes.md +++ b/docs/examples/1.5.x/client-flutter/examples/locale/list-codes.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Locale locale = Locale(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/locale/list-continents.md b/docs/examples/1.5.x/client-flutter/examples/locale/list-continents.md index b174e60608..c462c2e46b 100644 --- a/docs/examples/1.5.x/client-flutter/examples/locale/list-continents.md +++ b/docs/examples/1.5.x/client-flutter/examples/locale/list-continents.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Locale locale = Locale(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/locale/list-countries-e-u.md b/docs/examples/1.5.x/client-flutter/examples/locale/list-countries-e-u.md index e3772f0f6b..0f5629b54f 100644 --- a/docs/examples/1.5.x/client-flutter/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.5.x/client-flutter/examples/locale/list-countries-e-u.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Locale locale = Locale(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/locale/list-countries-phones.md b/docs/examples/1.5.x/client-flutter/examples/locale/list-countries-phones.md index 9e0ed7483b..ee8689a986 100644 --- a/docs/examples/1.5.x/client-flutter/examples/locale/list-countries-phones.md +++ b/docs/examples/1.5.x/client-flutter/examples/locale/list-countries-phones.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Locale locale = Locale(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/locale/list-countries.md b/docs/examples/1.5.x/client-flutter/examples/locale/list-countries.md index 12c57042a6..0c1bae6016 100644 --- a/docs/examples/1.5.x/client-flutter/examples/locale/list-countries.md +++ b/docs/examples/1.5.x/client-flutter/examples/locale/list-countries.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Locale locale = Locale(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/locale/list-currencies.md b/docs/examples/1.5.x/client-flutter/examples/locale/list-currencies.md index 0d6662ee13..a9c53b1264 100644 --- a/docs/examples/1.5.x/client-flutter/examples/locale/list-currencies.md +++ b/docs/examples/1.5.x/client-flutter/examples/locale/list-currencies.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Locale locale = Locale(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/locale/list-languages.md b/docs/examples/1.5.x/client-flutter/examples/locale/list-languages.md index b2f22a16a1..c5bdd2643b 100644 --- a/docs/examples/1.5.x/client-flutter/examples/locale/list-languages.md +++ b/docs/examples/1.5.x/client-flutter/examples/locale/list-languages.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Locale locale = Locale(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/messaging/create-subscriber.md b/docs/examples/1.5.x/client-flutter/examples/messaging/create-subscriber.md index fc3b2596e8..1284151b61 100644 --- a/docs/examples/1.5.x/client-flutter/examples/messaging/create-subscriber.md +++ b/docs/examples/1.5.x/client-flutter/examples/messaging/create-subscriber.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/messaging/delete-subscriber.md b/docs/examples/1.5.x/client-flutter/examples/messaging/delete-subscriber.md index 5cd62597e8..aa66acbf17 100644 --- a/docs/examples/1.5.x/client-flutter/examples/messaging/delete-subscriber.md +++ b/docs/examples/1.5.x/client-flutter/examples/messaging/delete-subscriber.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/storage/create-file.md b/docs/examples/1.5.x/client-flutter/examples/storage/create-file.md index 55216ba31f..1a0a498b76 100644 --- a/docs/examples/1.5.x/client-flutter/examples/storage/create-file.md +++ b/docs/examples/1.5.x/client-flutter/examples/storage/create-file.md @@ -3,7 +3,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Storage storage = Storage(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/storage/delete-file.md b/docs/examples/1.5.x/client-flutter/examples/storage/delete-file.md index bab2a4774a..39135824b7 100644 --- a/docs/examples/1.5.x/client-flutter/examples/storage/delete-file.md +++ b/docs/examples/1.5.x/client-flutter/examples/storage/delete-file.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Storage storage = Storage(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/storage/get-file-download.md b/docs/examples/1.5.x/client-flutter/examples/storage/get-file-download.md index 1a612be00e..3346442532 100644 --- a/docs/examples/1.5.x/client-flutter/examples/storage/get-file-download.md +++ b/docs/examples/1.5.x/client-flutter/examples/storage/get-file-download.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Storage storage = Storage(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/storage/get-file-preview.md b/docs/examples/1.5.x/client-flutter/examples/storage/get-file-preview.md index 2649bb2c60..2bb0997616 100644 --- a/docs/examples/1.5.x/client-flutter/examples/storage/get-file-preview.md +++ b/docs/examples/1.5.x/client-flutter/examples/storage/get-file-preview.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Storage storage = Storage(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/storage/get-file-view.md b/docs/examples/1.5.x/client-flutter/examples/storage/get-file-view.md index 5d0e38e881..c5f8ea1147 100644 --- a/docs/examples/1.5.x/client-flutter/examples/storage/get-file-view.md +++ b/docs/examples/1.5.x/client-flutter/examples/storage/get-file-view.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Storage storage = Storage(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/storage/get-file.md b/docs/examples/1.5.x/client-flutter/examples/storage/get-file.md index b7b894b420..83a32190a4 100644 --- a/docs/examples/1.5.x/client-flutter/examples/storage/get-file.md +++ b/docs/examples/1.5.x/client-flutter/examples/storage/get-file.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Storage storage = Storage(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/storage/list-files.md b/docs/examples/1.5.x/client-flutter/examples/storage/list-files.md index f75ef6e33c..d5f8b0b4d7 100644 --- a/docs/examples/1.5.x/client-flutter/examples/storage/list-files.md +++ b/docs/examples/1.5.x/client-flutter/examples/storage/list-files.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Storage storage = Storage(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/storage/update-file.md b/docs/examples/1.5.x/client-flutter/examples/storage/update-file.md index cca06533ca..c88355a52c 100644 --- a/docs/examples/1.5.x/client-flutter/examples/storage/update-file.md +++ b/docs/examples/1.5.x/client-flutter/examples/storage/update-file.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Storage storage = Storage(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/teams/create-membership.md b/docs/examples/1.5.x/client-flutter/examples/teams/create-membership.md index 1cf042674a..04eedde662 100644 --- a/docs/examples/1.5.x/client-flutter/examples/teams/create-membership.md +++ b/docs/examples/1.5.x/client-flutter/examples/teams/create-membership.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Teams teams = Teams(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/teams/create.md b/docs/examples/1.5.x/client-flutter/examples/teams/create.md index 04593d46ee..1afcbf1ce5 100644 --- a/docs/examples/1.5.x/client-flutter/examples/teams/create.md +++ b/docs/examples/1.5.x/client-flutter/examples/teams/create.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Teams teams = Teams(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/teams/delete-membership.md b/docs/examples/1.5.x/client-flutter/examples/teams/delete-membership.md index 38f47c791d..83c80a2703 100644 --- a/docs/examples/1.5.x/client-flutter/examples/teams/delete-membership.md +++ b/docs/examples/1.5.x/client-flutter/examples/teams/delete-membership.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Teams teams = Teams(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/teams/delete.md b/docs/examples/1.5.x/client-flutter/examples/teams/delete.md index 4107155b45..5a4d0dba42 100644 --- a/docs/examples/1.5.x/client-flutter/examples/teams/delete.md +++ b/docs/examples/1.5.x/client-flutter/examples/teams/delete.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Teams teams = Teams(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/teams/get-membership.md b/docs/examples/1.5.x/client-flutter/examples/teams/get-membership.md index 10fd959487..3ae0844c81 100644 --- a/docs/examples/1.5.x/client-flutter/examples/teams/get-membership.md +++ b/docs/examples/1.5.x/client-flutter/examples/teams/get-membership.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Teams teams = Teams(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/teams/get-prefs.md b/docs/examples/1.5.x/client-flutter/examples/teams/get-prefs.md index b8f3692231..0f93c25a33 100644 --- a/docs/examples/1.5.x/client-flutter/examples/teams/get-prefs.md +++ b/docs/examples/1.5.x/client-flutter/examples/teams/get-prefs.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Teams teams = Teams(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/teams/get.md b/docs/examples/1.5.x/client-flutter/examples/teams/get.md index 12ed636c01..bcf45530ee 100644 --- a/docs/examples/1.5.x/client-flutter/examples/teams/get.md +++ b/docs/examples/1.5.x/client-flutter/examples/teams/get.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Teams teams = Teams(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/teams/list-memberships.md b/docs/examples/1.5.x/client-flutter/examples/teams/list-memberships.md index ca98b5f1c9..7fc920a2d0 100644 --- a/docs/examples/1.5.x/client-flutter/examples/teams/list-memberships.md +++ b/docs/examples/1.5.x/client-flutter/examples/teams/list-memberships.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Teams teams = Teams(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/teams/list.md b/docs/examples/1.5.x/client-flutter/examples/teams/list.md index 25aaafa4e9..75b29554c0 100644 --- a/docs/examples/1.5.x/client-flutter/examples/teams/list.md +++ b/docs/examples/1.5.x/client-flutter/examples/teams/list.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Teams teams = Teams(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/teams/update-membership-status.md b/docs/examples/1.5.x/client-flutter/examples/teams/update-membership-status.md index ae05c371e6..e08f63bac8 100644 --- a/docs/examples/1.5.x/client-flutter/examples/teams/update-membership-status.md +++ b/docs/examples/1.5.x/client-flutter/examples/teams/update-membership-status.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Teams teams = Teams(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/teams/update-membership.md b/docs/examples/1.5.x/client-flutter/examples/teams/update-membership.md index 41f2a9be56..33e6568da1 100644 --- a/docs/examples/1.5.x/client-flutter/examples/teams/update-membership.md +++ b/docs/examples/1.5.x/client-flutter/examples/teams/update-membership.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Teams teams = Teams(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/teams/update-name.md b/docs/examples/1.5.x/client-flutter/examples/teams/update-name.md index 2b3b288d1f..43d1b0c7fc 100644 --- a/docs/examples/1.5.x/client-flutter/examples/teams/update-name.md +++ b/docs/examples/1.5.x/client-flutter/examples/teams/update-name.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Teams teams = Teams(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/teams/update-prefs.md b/docs/examples/1.5.x/client-flutter/examples/teams/update-prefs.md index 8afb99ad2f..2a446f0800 100644 --- a/docs/examples/1.5.x/client-flutter/examples/teams/update-prefs.md +++ b/docs/examples/1.5.x/client-flutter/examples/teams/update-prefs.md @@ -2,7 +2,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Teams teams = Teams(client); diff --git a/docs/examples/1.5.x/client-flutter/examples/users/delete-authenticator.md b/docs/examples/1.5.x/client-flutter/examples/users/delete-authenticator.md index 259f97c6b7..02447e24dc 100644 --- a/docs/examples/1.5.x/client-flutter/examples/users/delete-authenticator.md +++ b/docs/examples/1.5.x/client-flutter/examples/users/delete-authenticator.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = users.deleteAuthenticator( diff --git a/docs/examples/1.5.x/client-flutter/examples/users/list-providers.md b/docs/examples/1.5.x/client-flutter/examples/users/list-providers.md index d0df43eaf6..894939fe0d 100644 --- a/docs/examples/1.5.x/client-flutter/examples/users/list-providers.md +++ b/docs/examples/1.5.x/client-flutter/examples/users/list-providers.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; Future result = users.listProviders( diff --git a/docs/examples/1.5.x/client-graphql/examples/account/create-push-target.md b/docs/examples/1.5.x/client-graphql/examples/account/create-push-target.md index 8a0fad387c..63802a782e 100644 --- a/docs/examples/1.5.x/client-graphql/examples/account/create-push-target.md +++ b/docs/examples/1.5.x/client-graphql/examples/account/create-push-target.md @@ -12,5 +12,6 @@ mutation { providerId providerType identifier + expired } } diff --git a/docs/examples/1.5.x/client-graphql/examples/account/create.md b/docs/examples/1.5.x/client-graphql/examples/account/create.md index 3f8e3c3cf7..0d39394a3d 100644 --- a/docs/examples/1.5.x/client-graphql/examples/account/create.md +++ b/docs/examples/1.5.x/client-graphql/examples/account/create.md @@ -33,6 +33,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/client-graphql/examples/account/delete-mfa-authenticator.md b/docs/examples/1.5.x/client-graphql/examples/account/delete-mfa-authenticator.md index de14ae68f3..fc5486623a 100644 --- a/docs/examples/1.5.x/client-graphql/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/client-graphql/examples/account/delete-mfa-authenticator.md @@ -1,7 +1,6 @@ mutation { accountDeleteMfaAuthenticator( - type: "totp", - otp: "<OTP>" + type: "totp" ) { status } diff --git a/docs/examples/1.5.x/client-graphql/examples/account/get.md b/docs/examples/1.5.x/client-graphql/examples/account/get.md index e4db8f0e41..f4f07c187f 100644 --- a/docs/examples/1.5.x/client-graphql/examples/account/get.md +++ b/docs/examples/1.5.x/client-graphql/examples/account/get.md @@ -28,6 +28,7 @@ query { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/client-graphql/examples/account/update-email.md b/docs/examples/1.5.x/client-graphql/examples/account/update-email.md index b207bad4bb..c879e24a43 100644 --- a/docs/examples/1.5.x/client-graphql/examples/account/update-email.md +++ b/docs/examples/1.5.x/client-graphql/examples/account/update-email.md @@ -31,6 +31,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/client-graphql/examples/account/update-m-f-a.md b/docs/examples/1.5.x/client-graphql/examples/account/update-m-f-a.md index d2cd3d6ae5..787c2e0860 100644 --- a/docs/examples/1.5.x/client-graphql/examples/account/update-m-f-a.md +++ b/docs/examples/1.5.x/client-graphql/examples/account/update-m-f-a.md @@ -30,6 +30,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/client-graphql/examples/account/update-mfa-authenticator.md b/docs/examples/1.5.x/client-graphql/examples/account/update-mfa-authenticator.md index c74062c7d4..9cfe9150be 100644 --- a/docs/examples/1.5.x/client-graphql/examples/account/update-mfa-authenticator.md +++ b/docs/examples/1.5.x/client-graphql/examples/account/update-mfa-authenticator.md @@ -31,6 +31,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/client-graphql/examples/account/update-mfa-challenge.md b/docs/examples/1.5.x/client-graphql/examples/account/update-mfa-challenge.md index 8237431bcf..0bcec2157f 100644 --- a/docs/examples/1.5.x/client-graphql/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.5.x/client-graphql/examples/account/update-mfa-challenge.md @@ -3,6 +3,34 @@ mutation { challengeId: "<CHALLENGE_ID>", otp: "<OTP>" ) { - status + _id + _createdAt + _updatedAt + userId + expire + provider + providerUid + providerAccessToken + providerAccessTokenExpiry + providerRefreshToken + ip + osCode + osName + osVersion + clientType + clientCode + clientName + clientVersion + clientEngine + clientEngineVersion + deviceName + deviceBrand + deviceModel + countryCode + countryName + current + factors + secret + mfaUpdatedAt } } diff --git a/docs/examples/1.5.x/client-graphql/examples/account/update-name.md b/docs/examples/1.5.x/client-graphql/examples/account/update-name.md index 850b5760a0..8ba2c99d9c 100644 --- a/docs/examples/1.5.x/client-graphql/examples/account/update-name.md +++ b/docs/examples/1.5.x/client-graphql/examples/account/update-name.md @@ -30,6 +30,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/client-graphql/examples/account/update-password.md b/docs/examples/1.5.x/client-graphql/examples/account/update-password.md index 5904da0842..f3619a10d2 100644 --- a/docs/examples/1.5.x/client-graphql/examples/account/update-password.md +++ b/docs/examples/1.5.x/client-graphql/examples/account/update-password.md @@ -31,6 +31,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/client-graphql/examples/account/update-phone.md b/docs/examples/1.5.x/client-graphql/examples/account/update-phone.md index 408a203300..adecb71168 100644 --- a/docs/examples/1.5.x/client-graphql/examples/account/update-phone.md +++ b/docs/examples/1.5.x/client-graphql/examples/account/update-phone.md @@ -31,6 +31,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/client-graphql/examples/account/update-prefs.md b/docs/examples/1.5.x/client-graphql/examples/account/update-prefs.md index 40db7b43db..57280247e4 100644 --- a/docs/examples/1.5.x/client-graphql/examples/account/update-prefs.md +++ b/docs/examples/1.5.x/client-graphql/examples/account/update-prefs.md @@ -30,6 +30,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/client-graphql/examples/account/update-push-target.md b/docs/examples/1.5.x/client-graphql/examples/account/update-push-target.md index 059702dc97..3c402cdf12 100644 --- a/docs/examples/1.5.x/client-graphql/examples/account/update-push-target.md +++ b/docs/examples/1.5.x/client-graphql/examples/account/update-push-target.md @@ -11,5 +11,6 @@ mutation { providerId providerType identifier + expired } } diff --git a/docs/examples/1.5.x/client-graphql/examples/account/update-status.md b/docs/examples/1.5.x/client-graphql/examples/account/update-status.md index aca8c098e7..c17f556842 100644 --- a/docs/examples/1.5.x/client-graphql/examples/account/update-status.md +++ b/docs/examples/1.5.x/client-graphql/examples/account/update-status.md @@ -28,6 +28,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/client-graphql/examples/functions/create-execution.md b/docs/examples/1.5.x/client-graphql/examples/functions/create-execution.md index 1627ee9339..1479aa3bb6 100644 --- a/docs/examples/1.5.x/client-graphql/examples/functions/create-execution.md +++ b/docs/examples/1.5.x/client-graphql/examples/functions/create-execution.md @@ -5,7 +5,8 @@ mutation { async: false, path: "<PATH>", method: "GET", - headers: "{}" + headers: "{}", + scheduledAt: "" ) { _id _createdAt @@ -29,5 +30,6 @@ mutation { logs errors duration + scheduledAt } } diff --git a/docs/examples/1.5.x/client-graphql/examples/functions/get-execution.md b/docs/examples/1.5.x/client-graphql/examples/functions/get-execution.md index f9f8ef0552..6ded51a50c 100644 --- a/docs/examples/1.5.x/client-graphql/examples/functions/get-execution.md +++ b/docs/examples/1.5.x/client-graphql/examples/functions/get-execution.md @@ -25,5 +25,6 @@ query { logs errors duration + scheduledAt } } diff --git a/docs/examples/1.5.x/client-graphql/examples/functions/list-executions.md b/docs/examples/1.5.x/client-graphql/examples/functions/list-executions.md index 745ec32377..a0c02fa76f 100644 --- a/docs/examples/1.5.x/client-graphql/examples/functions/list-executions.md +++ b/docs/examples/1.5.x/client-graphql/examples/functions/list-executions.md @@ -28,6 +28,7 @@ query { logs errors duration + scheduledAt } } } diff --git a/docs/examples/1.5.x/client-graphql/examples/messaging/create-subscriber.md b/docs/examples/1.5.x/client-graphql/examples/messaging/create-subscriber.md index b2712ebb48..bab53612b7 100644 --- a/docs/examples/1.5.x/client-graphql/examples/messaging/create-subscriber.md +++ b/docs/examples/1.5.x/client-graphql/examples/messaging/create-subscriber.md @@ -17,6 +17,7 @@ mutation { providerId providerType identifier + expired } userId userName diff --git a/docs/examples/1.5.x/client-graphql/examples/storage/create-file.md b/docs/examples/1.5.x/client-graphql/examples/storage/create-file.md index 16569fccd5..e9324d2279 100644 --- a/docs/examples/1.5.x/client-graphql/examples/storage/create-file.md +++ b/docs/examples/1.5.x/client-graphql/examples/storage/create-file.md @@ -1,10 +1,10 @@ POST /v1/storage/buckets/{bucketId}/files HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: multipart/form-data; boundary="cec8e8123c05ba25" -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> Content-Length: *Length of your entity body in bytes* --cec8e8123c05ba25 diff --git a/docs/examples/1.5.x/client-react-native/examples/account/create-anonymous-session.md b/docs/examples/1.5.x/client-react-native/examples/account/create-anonymous-session.md index 1c807bdc96..333e19942b 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/create-anonymous-session.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/create-anonymous-session.md @@ -2,10 +2,10 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.createAnonymousSession(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/create-email-password-session.md b/docs/examples/1.5.x/client-react-native/examples/account/create-email-password-session.md index d338cbe233..0718e39376 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/create-email-password-session.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/create-email-password-session.md @@ -2,7 +2,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.createEmailPasswordSession( 'password' // password ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/create-email-token.md b/docs/examples/1.5.x/client-react-native/examples/account/create-email-token.md index cb2a31145b..13d08f0b2f 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/create-email-token.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/create-email-token.md @@ -2,7 +2,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -12,4 +12,4 @@ const result = await account.createEmailToken( false // phrase (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/create-j-w-t.md b/docs/examples/1.5.x/client-react-native/examples/account/create-j-w-t.md index 88ea31c5a3..fd060c8c32 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/create-j-w-t.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/create-j-w-t.md @@ -2,10 +2,10 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.createJWT(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/create-magic-u-r-l-token.md b/docs/examples/1.5.x/client-react-native/examples/account/create-magic-u-r-l-token.md index f2e7e8faf6..b627ca6c5f 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/create-magic-u-r-l-token.md @@ -2,7 +2,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -13,4 +13,4 @@ const result = await account.createMagicURLToken( false // phrase (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/create-mfa-authenticator.md b/docs/examples/1.5.x/client-react-native/examples/account/create-mfa-authenticator.md index 88bc313a88..d34d9957b1 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/create-mfa-authenticator.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/create-mfa-authenticator.md @@ -2,7 +2,7 @@ import { Client, Account, AuthenticatorType } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.createMfaAuthenticator( AuthenticatorType.Totp // type ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/create-mfa-challenge.md b/docs/examples/1.5.x/client-react-native/examples/account/create-mfa-challenge.md index 119a204f0b..f5c94903d0 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/create-mfa-challenge.md @@ -2,7 +2,7 @@ import { Client, Account, AuthenticationFactor } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.createMfaChallenge( AuthenticationFactor.Email // factor ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/create-mfa-recovery-codes.md b/docs/examples/1.5.x/client-react-native/examples/account/create-mfa-recovery-codes.md index 4ffd8a39a1..66ec3680d0 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/create-mfa-recovery-codes.md @@ -2,10 +2,10 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.createMfaRecoveryCodes(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/create-o-auth2session.md b/docs/examples/1.5.x/client-react-native/examples/account/create-o-auth2session.md index 2302aaaa1e..7dff573465 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/create-o-auth2session.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/create-o-auth2session.md @@ -2,7 +2,7 @@ import { Client, Account, OAuthProvider } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/create-o-auth2token.md b/docs/examples/1.5.x/client-react-native/examples/account/create-o-auth2token.md index 3479924e64..85ffb2a2bf 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/create-o-auth2token.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/create-o-auth2token.md @@ -2,7 +2,7 @@ import { Client, Account, OAuthProvider } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/create-phone-token.md b/docs/examples/1.5.x/client-react-native/examples/account/create-phone-token.md index 93fc1b7f51..33988887a2 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/create-phone-token.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/create-phone-token.md @@ -2,7 +2,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.createPhoneToken( '+12065550100' // phone ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/create-phone-verification.md b/docs/examples/1.5.x/client-react-native/examples/account/create-phone-verification.md index 28833c1806..39a3313556 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/create-phone-verification.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/create-phone-verification.md @@ -2,10 +2,10 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.createPhoneVerification(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/create-push-target.md b/docs/examples/1.5.x/client-react-native/examples/account/create-push-target.md index dd15821eaa..da020dae34 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/create-push-target.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/create-push-target.md @@ -2,7 +2,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -12,4 +12,4 @@ const result = await account.createPushTarget( '<PROVIDER_ID>' // providerId (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/create-recovery.md b/docs/examples/1.5.x/client-react-native/examples/account/create-recovery.md index 5d2855486b..c46c907953 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/create-recovery.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/create-recovery.md @@ -2,7 +2,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.createRecovery( 'https://example.com' // url ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/create-session.md b/docs/examples/1.5.x/client-react-native/examples/account/create-session.md index f8a9f109a7..3c85dc8a46 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/create-session.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/create-session.md @@ -2,7 +2,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.createSession( '<SECRET>' // secret ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/create-verification.md b/docs/examples/1.5.x/client-react-native/examples/account/create-verification.md index d072126c4e..cce3e1aae0 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/create-verification.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/create-verification.md @@ -2,7 +2,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.createVerification( 'https://example.com' // url ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/create.md b/docs/examples/1.5.x/client-react-native/examples/account/create.md index 300f59b219..5db3d7d9f1 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/create.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/create.md @@ -2,7 +2,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -13,4 +13,4 @@ const result = await account.create( '<NAME>' // name (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/delete-identity.md b/docs/examples/1.5.x/client-react-native/examples/account/delete-identity.md index 9ff1bbd35d..c25a5a4417 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/delete-identity.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/delete-identity.md @@ -2,7 +2,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.deleteIdentity( '<IDENTITY_ID>' // identityId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/delete-mfa-authenticator.md b/docs/examples/1.5.x/client-react-native/examples/account/delete-mfa-authenticator.md index c5f5695ddf..5be2b161aa 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/delete-mfa-authenticator.md @@ -2,13 +2,12 @@ import { Client, Account, AuthenticatorType } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.deleteMfaAuthenticator( - AuthenticatorType.Totp, // type - '<OTP>' // otp + AuthenticatorType.Totp // type ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/delete-push-target.md b/docs/examples/1.5.x/client-react-native/examples/account/delete-push-target.md index 351b933bd0..34e89ab4a3 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/delete-push-target.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/delete-push-target.md @@ -2,7 +2,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.deletePushTarget( '<TARGET_ID>' // targetId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/delete-session.md b/docs/examples/1.5.x/client-react-native/examples/account/delete-session.md index 22966495c1..60791284b6 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/delete-session.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/delete-session.md @@ -2,7 +2,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.deleteSession( '<SESSION_ID>' // sessionId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/delete-sessions.md b/docs/examples/1.5.x/client-react-native/examples/account/delete-sessions.md index b0967bf019..67652f21e8 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/delete-sessions.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/delete-sessions.md @@ -2,10 +2,10 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.deleteSessions(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.5.x/client-react-native/examples/account/get-mfa-recovery-codes.md index d1c38fdde0..06f09b8d34 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/get-mfa-recovery-codes.md @@ -2,10 +2,10 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.getMfaRecoveryCodes(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/get-prefs.md b/docs/examples/1.5.x/client-react-native/examples/account/get-prefs.md index b2502d7b19..ef4185ca12 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/get-prefs.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/get-prefs.md @@ -2,10 +2,10 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.getPrefs(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/get-session.md b/docs/examples/1.5.x/client-react-native/examples/account/get-session.md index 3ecb79feee..ca6cfb72aa 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/get-session.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/get-session.md @@ -2,7 +2,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.getSession( '<SESSION_ID>' // sessionId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/get.md b/docs/examples/1.5.x/client-react-native/examples/account/get.md index 94f0779d53..cd5d50fe28 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/get.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/get.md @@ -2,10 +2,10 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.get(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/list-identities.md b/docs/examples/1.5.x/client-react-native/examples/account/list-identities.md index e7ca637afe..6189f80e0f 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/list-identities.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/list-identities.md @@ -2,7 +2,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.listIdentities( [] // queries (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/list-logs.md b/docs/examples/1.5.x/client-react-native/examples/account/list-logs.md index 424f8d76af..48fe10be13 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/list-logs.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/list-logs.md @@ -2,7 +2,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.listLogs( [] // queries (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/list-mfa-factors.md b/docs/examples/1.5.x/client-react-native/examples/account/list-mfa-factors.md index c6343a732e..ada7d48762 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/list-mfa-factors.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/list-mfa-factors.md @@ -2,10 +2,10 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.listMfaFactors(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/list-sessions.md b/docs/examples/1.5.x/client-react-native/examples/account/list-sessions.md index b0840c59e3..cc081d5e3c 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/list-sessions.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/list-sessions.md @@ -2,10 +2,10 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.listSessions(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/update-email.md b/docs/examples/1.5.x/client-react-native/examples/account/update-email.md index 560581e63c..5f879989e3 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/update-email.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/update-email.md @@ -2,7 +2,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.updateEmail( 'password' // password ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/update-m-f-a.md b/docs/examples/1.5.x/client-react-native/examples/account/update-m-f-a.md index 38fd716c6a..30f5f64199 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/update-m-f-a.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/update-m-f-a.md @@ -2,7 +2,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.updateMFA( false // mfa ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.5.x/client-react-native/examples/account/update-magic-u-r-l-session.md index bb0c000126..a5b92765dc 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/update-magic-u-r-l-session.md @@ -2,7 +2,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.updateMagicURLSession( '<SECRET>' // secret ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/update-mfa-authenticator.md b/docs/examples/1.5.x/client-react-native/examples/account/update-mfa-authenticator.md index d8ec7aed65..f3f3276dfd 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/update-mfa-authenticator.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/update-mfa-authenticator.md @@ -2,7 +2,7 @@ import { Client, Account, AuthenticatorType } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.updateMfaAuthenticator( '<OTP>' // otp ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/update-mfa-challenge.md b/docs/examples/1.5.x/client-react-native/examples/account/update-mfa-challenge.md index 7d87506457..b26d387ad2 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/update-mfa-challenge.md @@ -2,7 +2,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.updateMfaChallenge( '<OTP>' // otp ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/update-mfa-recovery-codes.md b/docs/examples/1.5.x/client-react-native/examples/account/update-mfa-recovery-codes.md index cfbbf6f3c8..81d27f7c54 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/update-mfa-recovery-codes.md @@ -2,10 +2,10 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.updateMfaRecoveryCodes(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/update-name.md b/docs/examples/1.5.x/client-react-native/examples/account/update-name.md index 8a403f2ab1..47e5db988b 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/update-name.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/update-name.md @@ -2,7 +2,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.updateName( '<NAME>' // name ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/update-password.md b/docs/examples/1.5.x/client-react-native/examples/account/update-password.md index 09edf09182..a37ee4c355 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/update-password.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/update-password.md @@ -2,7 +2,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.updatePassword( 'password' // oldPassword (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/update-phone-session.md b/docs/examples/1.5.x/client-react-native/examples/account/update-phone-session.md index cf026227fc..d7098e5155 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/update-phone-session.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/update-phone-session.md @@ -2,7 +2,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.updatePhoneSession( '<SECRET>' // secret ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/update-phone-verification.md b/docs/examples/1.5.x/client-react-native/examples/account/update-phone-verification.md index 8467309a06..582061fac5 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/update-phone-verification.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/update-phone-verification.md @@ -2,7 +2,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.updatePhoneVerification( '<SECRET>' // secret ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/update-phone.md b/docs/examples/1.5.x/client-react-native/examples/account/update-phone.md index 46efc14142..cc39c5ef0f 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/update-phone.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/update-phone.md @@ -2,7 +2,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.updatePhone( 'password' // password ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/update-prefs.md b/docs/examples/1.5.x/client-react-native/examples/account/update-prefs.md index a3ff8c3408..4478e02320 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/update-prefs.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/update-prefs.md @@ -2,7 +2,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.updatePrefs( {} // prefs ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/update-push-target.md b/docs/examples/1.5.x/client-react-native/examples/account/update-push-target.md index 8096568d55..6871a1016c 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/update-push-target.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/update-push-target.md @@ -2,7 +2,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.updatePushTarget( '<IDENTIFIER>' // identifier ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/update-recovery.md b/docs/examples/1.5.x/client-react-native/examples/account/update-recovery.md index 1ee93d35f9..73184b84b5 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/update-recovery.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/update-recovery.md @@ -2,7 +2,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -12,4 +12,4 @@ const result = await account.updateRecovery( '' // password ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/update-session.md b/docs/examples/1.5.x/client-react-native/examples/account/update-session.md index 397e07edc2..34bc567fb5 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/update-session.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/update-session.md @@ -2,7 +2,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.updateSession( '<SESSION_ID>' // sessionId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/update-status.md b/docs/examples/1.5.x/client-react-native/examples/account/update-status.md index 27ce518621..0b6ec6f792 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/update-status.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/update-status.md @@ -2,10 +2,10 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.updateStatus(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/account/update-verification.md b/docs/examples/1.5.x/client-react-native/examples/account/update-verification.md index 0007335fa5..9d00a4826c 100644 --- a/docs/examples/1.5.x/client-react-native/examples/account/update-verification.md +++ b/docs/examples/1.5.x/client-react-native/examples/account/update-verification.md @@ -2,7 +2,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.updateVerification( '<SECRET>' // secret ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/avatars/get-browser.md b/docs/examples/1.5.x/client-react-native/examples/avatars/get-browser.md index 9ceb1a39cf..bbcb0df83a 100644 --- a/docs/examples/1.5.x/client-react-native/examples/avatars/get-browser.md +++ b/docs/examples/1.5.x/client-react-native/examples/avatars/get-browser.md @@ -2,7 +2,7 @@ import { Client, Avatars, Browser } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/client-react-native/examples/avatars/get-credit-card.md b/docs/examples/1.5.x/client-react-native/examples/avatars/get-credit-card.md index 0de631974a..a97cc6c430 100644 --- a/docs/examples/1.5.x/client-react-native/examples/avatars/get-credit-card.md +++ b/docs/examples/1.5.x/client-react-native/examples/avatars/get-credit-card.md @@ -2,7 +2,7 @@ import { Client, Avatars, CreditCard } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/client-react-native/examples/avatars/get-favicon.md b/docs/examples/1.5.x/client-react-native/examples/avatars/get-favicon.md index 6e23a774c0..067aa74000 100644 --- a/docs/examples/1.5.x/client-react-native/examples/avatars/get-favicon.md +++ b/docs/examples/1.5.x/client-react-native/examples/avatars/get-favicon.md @@ -2,7 +2,7 @@ import { Client, Avatars } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/client-react-native/examples/avatars/get-flag.md b/docs/examples/1.5.x/client-react-native/examples/avatars/get-flag.md index 6761052394..f2268fcc69 100644 --- a/docs/examples/1.5.x/client-react-native/examples/avatars/get-flag.md +++ b/docs/examples/1.5.x/client-react-native/examples/avatars/get-flag.md @@ -2,7 +2,7 @@ import { Client, Avatars, Flag } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/client-react-native/examples/avatars/get-image.md b/docs/examples/1.5.x/client-react-native/examples/avatars/get-image.md index b4956df8f1..3816e7b464 100644 --- a/docs/examples/1.5.x/client-react-native/examples/avatars/get-image.md +++ b/docs/examples/1.5.x/client-react-native/examples/avatars/get-image.md @@ -2,7 +2,7 @@ import { Client, Avatars } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/client-react-native/examples/avatars/get-initials.md b/docs/examples/1.5.x/client-react-native/examples/avatars/get-initials.md index ba70a9cb03..b8545b37ca 100644 --- a/docs/examples/1.5.x/client-react-native/examples/avatars/get-initials.md +++ b/docs/examples/1.5.x/client-react-native/examples/avatars/get-initials.md @@ -2,7 +2,7 @@ import { Client, Avatars } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/client-react-native/examples/avatars/get-q-r.md b/docs/examples/1.5.x/client-react-native/examples/avatars/get-q-r.md index d4f2db2df8..5c80c6ae2c 100644 --- a/docs/examples/1.5.x/client-react-native/examples/avatars/get-q-r.md +++ b/docs/examples/1.5.x/client-react-native/examples/avatars/get-q-r.md @@ -2,7 +2,7 @@ import { Client, Avatars } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/client-react-native/examples/databases/create-document.md b/docs/examples/1.5.x/client-react-native/examples/databases/create-document.md index 15d1afcdc3..58053ca0aa 100644 --- a/docs/examples/1.5.x/client-react-native/examples/databases/create-document.md +++ b/docs/examples/1.5.x/client-react-native/examples/databases/create-document.md @@ -2,7 +2,7 @@ import { Client, Databases } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -14,4 +14,4 @@ const result = await databases.createDocument( ["read("any")"] // permissions (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/databases/delete-document.md b/docs/examples/1.5.x/client-react-native/examples/databases/delete-document.md index f6fef3bcdf..beeb7b2a72 100644 --- a/docs/examples/1.5.x/client-react-native/examples/databases/delete-document.md +++ b/docs/examples/1.5.x/client-react-native/examples/databases/delete-document.md @@ -2,7 +2,7 @@ import { Client, Databases } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -12,4 +12,4 @@ const result = await databases.deleteDocument( '<DOCUMENT_ID>' // documentId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/databases/get-document.md b/docs/examples/1.5.x/client-react-native/examples/databases/get-document.md index 502f2f4640..df2333b5cc 100644 --- a/docs/examples/1.5.x/client-react-native/examples/databases/get-document.md +++ b/docs/examples/1.5.x/client-react-native/examples/databases/get-document.md @@ -2,7 +2,7 @@ import { Client, Databases } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -13,4 +13,4 @@ const result = await databases.getDocument( [] // queries (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/databases/list-documents.md b/docs/examples/1.5.x/client-react-native/examples/databases/list-documents.md index 90dcd6318c..88d94a9089 100644 --- a/docs/examples/1.5.x/client-react-native/examples/databases/list-documents.md +++ b/docs/examples/1.5.x/client-react-native/examples/databases/list-documents.md @@ -2,7 +2,7 @@ import { Client, Databases } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -12,4 +12,4 @@ const result = await databases.listDocuments( [] // queries (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/databases/update-document.md b/docs/examples/1.5.x/client-react-native/examples/databases/update-document.md index fa04f2134a..5021c0b0f2 100644 --- a/docs/examples/1.5.x/client-react-native/examples/databases/update-document.md +++ b/docs/examples/1.5.x/client-react-native/examples/databases/update-document.md @@ -2,7 +2,7 @@ import { Client, Databases } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -14,4 +14,4 @@ const result = await databases.updateDocument( ["read("any")"] // permissions (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/functions/create-execution.md b/docs/examples/1.5.x/client-react-native/examples/functions/create-execution.md index 1b4bfaa609..9933beb277 100644 --- a/docs/examples/1.5.x/client-react-native/examples/functions/create-execution.md +++ b/docs/examples/1.5.x/client-react-native/examples/functions/create-execution.md @@ -2,7 +2,7 @@ import { Client, Functions, ExecutionMethod } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); @@ -12,7 +12,8 @@ const result = await functions.createExecution( false, // async (optional) '<PATH>', // path (optional) ExecutionMethod.GET, // method (optional) - {} // headers (optional) + {}, // headers (optional) + '' // scheduledAt (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/functions/get-execution.md b/docs/examples/1.5.x/client-react-native/examples/functions/get-execution.md index adda043543..79fffec4b4 100644 --- a/docs/examples/1.5.x/client-react-native/examples/functions/get-execution.md +++ b/docs/examples/1.5.x/client-react-native/examples/functions/get-execution.md @@ -2,7 +2,7 @@ import { Client, Functions } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); @@ -11,4 +11,4 @@ const result = await functions.getExecution( '<EXECUTION_ID>' // executionId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/functions/list-executions.md b/docs/examples/1.5.x/client-react-native/examples/functions/list-executions.md index b1fdd6bd6f..0615ecbf57 100644 --- a/docs/examples/1.5.x/client-react-native/examples/functions/list-executions.md +++ b/docs/examples/1.5.x/client-react-native/examples/functions/list-executions.md @@ -2,7 +2,7 @@ import { Client, Functions } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); @@ -12,4 +12,4 @@ const result = await functions.listExecutions( '<SEARCH>' // search (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/graphql/mutation.md b/docs/examples/1.5.x/client-react-native/examples/graphql/mutation.md index b3c3583804..2fae4783f1 100644 --- a/docs/examples/1.5.x/client-react-native/examples/graphql/mutation.md +++ b/docs/examples/1.5.x/client-react-native/examples/graphql/mutation.md @@ -2,7 +2,7 @@ import { Client, Graphql } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const graphql = new Graphql(client); @@ -10,4 +10,4 @@ const result = await graphql.mutation( {} // query ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/graphql/query.md b/docs/examples/1.5.x/client-react-native/examples/graphql/query.md index e15400d05d..39d8cb13bb 100644 --- a/docs/examples/1.5.x/client-react-native/examples/graphql/query.md +++ b/docs/examples/1.5.x/client-react-native/examples/graphql/query.md @@ -2,7 +2,7 @@ import { Client, Graphql } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const graphql = new Graphql(client); @@ -10,4 +10,4 @@ const result = await graphql.query( {} // query ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/locale/get.md b/docs/examples/1.5.x/client-react-native/examples/locale/get.md index 4af9df39bc..0d48cd85cb 100644 --- a/docs/examples/1.5.x/client-react-native/examples/locale/get.md +++ b/docs/examples/1.5.x/client-react-native/examples/locale/get.md @@ -2,10 +2,10 @@ import { Client, Locale } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); const result = await locale.get(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/locale/list-codes.md b/docs/examples/1.5.x/client-react-native/examples/locale/list-codes.md index 8737fde873..f1466beeb5 100644 --- a/docs/examples/1.5.x/client-react-native/examples/locale/list-codes.md +++ b/docs/examples/1.5.x/client-react-native/examples/locale/list-codes.md @@ -2,10 +2,10 @@ import { Client, Locale } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); const result = await locale.listCodes(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/locale/list-continents.md b/docs/examples/1.5.x/client-react-native/examples/locale/list-continents.md index e8c3920a17..a813a69f17 100644 --- a/docs/examples/1.5.x/client-react-native/examples/locale/list-continents.md +++ b/docs/examples/1.5.x/client-react-native/examples/locale/list-continents.md @@ -2,10 +2,10 @@ import { Client, Locale } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); const result = await locale.listContinents(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/locale/list-countries-e-u.md b/docs/examples/1.5.x/client-react-native/examples/locale/list-countries-e-u.md index 0a2abc53c7..7ba7149edd 100644 --- a/docs/examples/1.5.x/client-react-native/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.5.x/client-react-native/examples/locale/list-countries-e-u.md @@ -2,10 +2,10 @@ import { Client, Locale } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); const result = await locale.listCountriesEU(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/locale/list-countries-phones.md b/docs/examples/1.5.x/client-react-native/examples/locale/list-countries-phones.md index d4d00ae394..6d3093dce2 100644 --- a/docs/examples/1.5.x/client-react-native/examples/locale/list-countries-phones.md +++ b/docs/examples/1.5.x/client-react-native/examples/locale/list-countries-phones.md @@ -2,10 +2,10 @@ import { Client, Locale } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); const result = await locale.listCountriesPhones(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/locale/list-countries.md b/docs/examples/1.5.x/client-react-native/examples/locale/list-countries.md index 8839b6f039..9ffb09b829 100644 --- a/docs/examples/1.5.x/client-react-native/examples/locale/list-countries.md +++ b/docs/examples/1.5.x/client-react-native/examples/locale/list-countries.md @@ -2,10 +2,10 @@ import { Client, Locale } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); const result = await locale.listCountries(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/locale/list-currencies.md b/docs/examples/1.5.x/client-react-native/examples/locale/list-currencies.md index 6700ef1292..06326651d2 100644 --- a/docs/examples/1.5.x/client-react-native/examples/locale/list-currencies.md +++ b/docs/examples/1.5.x/client-react-native/examples/locale/list-currencies.md @@ -2,10 +2,10 @@ import { Client, Locale } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); const result = await locale.listCurrencies(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/locale/list-languages.md b/docs/examples/1.5.x/client-react-native/examples/locale/list-languages.md index db9b17294e..1ef69e5921 100644 --- a/docs/examples/1.5.x/client-react-native/examples/locale/list-languages.md +++ b/docs/examples/1.5.x/client-react-native/examples/locale/list-languages.md @@ -2,10 +2,10 @@ import { Client, Locale } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); const result = await locale.listLanguages(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/messaging/create-subscriber.md b/docs/examples/1.5.x/client-react-native/examples/messaging/create-subscriber.md index bf5a0cec1d..153cd2e3aa 100644 --- a/docs/examples/1.5.x/client-react-native/examples/messaging/create-subscriber.md +++ b/docs/examples/1.5.x/client-react-native/examples/messaging/create-subscriber.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -12,4 +12,4 @@ const result = await messaging.createSubscriber( '<TARGET_ID>' // targetId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/messaging/delete-subscriber.md b/docs/examples/1.5.x/client-react-native/examples/messaging/delete-subscriber.md index da995fc419..6d61172ac4 100644 --- a/docs/examples/1.5.x/client-react-native/examples/messaging/delete-subscriber.md +++ b/docs/examples/1.5.x/client-react-native/examples/messaging/delete-subscriber.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -11,4 +11,4 @@ const result = await messaging.deleteSubscriber( '<SUBSCRIBER_ID>' // subscriberId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/storage/create-file.md b/docs/examples/1.5.x/client-react-native/examples/storage/create-file.md index 73908c6de0..f6e4f47263 100644 --- a/docs/examples/1.5.x/client-react-native/examples/storage/create-file.md +++ b/docs/examples/1.5.x/client-react-native/examples/storage/create-file.md @@ -2,7 +2,7 @@ import { Client, Storage } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); @@ -13,4 +13,4 @@ const result = await storage.createFile( ["read("any")"] // permissions (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/storage/delete-file.md b/docs/examples/1.5.x/client-react-native/examples/storage/delete-file.md index 4373ebec04..55aed16a46 100644 --- a/docs/examples/1.5.x/client-react-native/examples/storage/delete-file.md +++ b/docs/examples/1.5.x/client-react-native/examples/storage/delete-file.md @@ -2,7 +2,7 @@ import { Client, Storage } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); @@ -11,4 +11,4 @@ const result = await storage.deleteFile( '<FILE_ID>' // fileId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/storage/get-file-download.md b/docs/examples/1.5.x/client-react-native/examples/storage/get-file-download.md index 943bf9dd76..b4b1374ca1 100644 --- a/docs/examples/1.5.x/client-react-native/examples/storage/get-file-download.md +++ b/docs/examples/1.5.x/client-react-native/examples/storage/get-file-download.md @@ -2,7 +2,7 @@ import { Client, Storage } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.5.x/client-react-native/examples/storage/get-file-preview.md b/docs/examples/1.5.x/client-react-native/examples/storage/get-file-preview.md index 76713c8694..10d473ae06 100644 --- a/docs/examples/1.5.x/client-react-native/examples/storage/get-file-preview.md +++ b/docs/examples/1.5.x/client-react-native/examples/storage/get-file-preview.md @@ -2,7 +2,7 @@ import { Client, Storage, ImageGravity, ImageFormat } from "react-native-appwrit const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.5.x/client-react-native/examples/storage/get-file-view.md b/docs/examples/1.5.x/client-react-native/examples/storage/get-file-view.md index b551e02405..1a54452911 100644 --- a/docs/examples/1.5.x/client-react-native/examples/storage/get-file-view.md +++ b/docs/examples/1.5.x/client-react-native/examples/storage/get-file-view.md @@ -2,7 +2,7 @@ import { Client, Storage } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.5.x/client-react-native/examples/storage/get-file.md b/docs/examples/1.5.x/client-react-native/examples/storage/get-file.md index 8731c8463d..bbbb3fe9fd 100644 --- a/docs/examples/1.5.x/client-react-native/examples/storage/get-file.md +++ b/docs/examples/1.5.x/client-react-native/examples/storage/get-file.md @@ -2,7 +2,7 @@ import { Client, Storage } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); @@ -11,4 +11,4 @@ const result = await storage.getFile( '<FILE_ID>' // fileId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/storage/list-files.md b/docs/examples/1.5.x/client-react-native/examples/storage/list-files.md index c72b9ba8a5..731a1d1ef4 100644 --- a/docs/examples/1.5.x/client-react-native/examples/storage/list-files.md +++ b/docs/examples/1.5.x/client-react-native/examples/storage/list-files.md @@ -2,7 +2,7 @@ import { Client, Storage } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); @@ -12,4 +12,4 @@ const result = await storage.listFiles( '<SEARCH>' // search (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/storage/update-file.md b/docs/examples/1.5.x/client-react-native/examples/storage/update-file.md index 87f81ab038..ba8cc6068a 100644 --- a/docs/examples/1.5.x/client-react-native/examples/storage/update-file.md +++ b/docs/examples/1.5.x/client-react-native/examples/storage/update-file.md @@ -2,7 +2,7 @@ import { Client, Storage } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); @@ -13,4 +13,4 @@ const result = await storage.updateFile( ["read("any")"] // permissions (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/teams/create-membership.md b/docs/examples/1.5.x/client-react-native/examples/teams/create-membership.md index a5d6fa043e..c4fc557461 100644 --- a/docs/examples/1.5.x/client-react-native/examples/teams/create-membership.md +++ b/docs/examples/1.5.x/client-react-native/examples/teams/create-membership.md @@ -2,7 +2,7 @@ import { Client, Teams } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -16,4 +16,4 @@ const result = await teams.createMembership( '<NAME>' // name (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/teams/create.md b/docs/examples/1.5.x/client-react-native/examples/teams/create.md index f61df435a2..c252f3df89 100644 --- a/docs/examples/1.5.x/client-react-native/examples/teams/create.md +++ b/docs/examples/1.5.x/client-react-native/examples/teams/create.md @@ -2,7 +2,7 @@ import { Client, Teams } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -12,4 +12,4 @@ const result = await teams.create( [] // roles (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/teams/delete-membership.md b/docs/examples/1.5.x/client-react-native/examples/teams/delete-membership.md index f5ed1bcf9c..683c92d12b 100644 --- a/docs/examples/1.5.x/client-react-native/examples/teams/delete-membership.md +++ b/docs/examples/1.5.x/client-react-native/examples/teams/delete-membership.md @@ -2,7 +2,7 @@ import { Client, Teams } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -11,4 +11,4 @@ const result = await teams.deleteMembership( '<MEMBERSHIP_ID>' // membershipId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/teams/delete.md b/docs/examples/1.5.x/client-react-native/examples/teams/delete.md index 77dac565b0..dfd63fc917 100644 --- a/docs/examples/1.5.x/client-react-native/examples/teams/delete.md +++ b/docs/examples/1.5.x/client-react-native/examples/teams/delete.md @@ -2,7 +2,7 @@ import { Client, Teams } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -10,4 +10,4 @@ const result = await teams.delete( '<TEAM_ID>' // teamId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/teams/get-membership.md b/docs/examples/1.5.x/client-react-native/examples/teams/get-membership.md index 44a664c5db..4e30d1bda6 100644 --- a/docs/examples/1.5.x/client-react-native/examples/teams/get-membership.md +++ b/docs/examples/1.5.x/client-react-native/examples/teams/get-membership.md @@ -2,7 +2,7 @@ import { Client, Teams } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -11,4 +11,4 @@ const result = await teams.getMembership( '<MEMBERSHIP_ID>' // membershipId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/teams/get-prefs.md b/docs/examples/1.5.x/client-react-native/examples/teams/get-prefs.md index 5f7cf16921..40cffb127e 100644 --- a/docs/examples/1.5.x/client-react-native/examples/teams/get-prefs.md +++ b/docs/examples/1.5.x/client-react-native/examples/teams/get-prefs.md @@ -2,7 +2,7 @@ import { Client, Teams } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -10,4 +10,4 @@ const result = await teams.getPrefs( '<TEAM_ID>' // teamId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/teams/get.md b/docs/examples/1.5.x/client-react-native/examples/teams/get.md index 28d8895c9c..dc2d6cd4d1 100644 --- a/docs/examples/1.5.x/client-react-native/examples/teams/get.md +++ b/docs/examples/1.5.x/client-react-native/examples/teams/get.md @@ -2,7 +2,7 @@ import { Client, Teams } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -10,4 +10,4 @@ const result = await teams.get( '<TEAM_ID>' // teamId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/teams/list-memberships.md b/docs/examples/1.5.x/client-react-native/examples/teams/list-memberships.md index afc2e39d20..7eabeeeeab 100644 --- a/docs/examples/1.5.x/client-react-native/examples/teams/list-memberships.md +++ b/docs/examples/1.5.x/client-react-native/examples/teams/list-memberships.md @@ -2,7 +2,7 @@ import { Client, Teams } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -12,4 +12,4 @@ const result = await teams.listMemberships( '<SEARCH>' // search (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/teams/list.md b/docs/examples/1.5.x/client-react-native/examples/teams/list.md index cd97431d14..64b9324dce 100644 --- a/docs/examples/1.5.x/client-react-native/examples/teams/list.md +++ b/docs/examples/1.5.x/client-react-native/examples/teams/list.md @@ -2,7 +2,7 @@ import { Client, Teams } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -11,4 +11,4 @@ const result = await teams.list( '<SEARCH>' // search (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/teams/update-membership-status.md b/docs/examples/1.5.x/client-react-native/examples/teams/update-membership-status.md index 85eecb9320..0e42de9746 100644 --- a/docs/examples/1.5.x/client-react-native/examples/teams/update-membership-status.md +++ b/docs/examples/1.5.x/client-react-native/examples/teams/update-membership-status.md @@ -2,7 +2,7 @@ import { Client, Teams } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -13,4 +13,4 @@ const result = await teams.updateMembershipStatus( '<SECRET>' // secret ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/teams/update-membership.md b/docs/examples/1.5.x/client-react-native/examples/teams/update-membership.md index 684c40a2d0..e22fc975d9 100644 --- a/docs/examples/1.5.x/client-react-native/examples/teams/update-membership.md +++ b/docs/examples/1.5.x/client-react-native/examples/teams/update-membership.md @@ -2,7 +2,7 @@ import { Client, Teams } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -12,4 +12,4 @@ const result = await teams.updateMembership( [] // roles ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/teams/update-name.md b/docs/examples/1.5.x/client-react-native/examples/teams/update-name.md index 75f3fda4ef..27447af384 100644 --- a/docs/examples/1.5.x/client-react-native/examples/teams/update-name.md +++ b/docs/examples/1.5.x/client-react-native/examples/teams/update-name.md @@ -2,7 +2,7 @@ import { Client, Teams } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -11,4 +11,4 @@ const result = await teams.updateName( '<NAME>' // name ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-react-native/examples/teams/update-prefs.md b/docs/examples/1.5.x/client-react-native/examples/teams/update-prefs.md index f9c4c21623..02be2aca76 100644 --- a/docs/examples/1.5.x/client-react-native/examples/teams/update-prefs.md +++ b/docs/examples/1.5.x/client-react-native/examples/teams/update-prefs.md @@ -2,7 +2,7 @@ import { Client, Teams } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -11,4 +11,4 @@ const result = await teams.updatePrefs( {} // prefs ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-rest/examples/account/create-anonymous-session.md b/docs/examples/1.5.x/client-rest/examples/account/create-anonymous-session.md index 6e88583164..c6ea097911 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/create-anonymous-session.md +++ b/docs/examples/1.5.x/client-rest/examples/account/create-anonymous-session.md @@ -1,6 +1,6 @@ POST /v1/account/sessions/anonymous HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> diff --git a/docs/examples/1.5.x/client-rest/examples/account/create-email-password-session.md b/docs/examples/1.5.x/client-rest/examples/account/create-email-password-session.md index f18903c8b8..3e4485908b 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/create-email-password-session.md +++ b/docs/examples/1.5.x/client-rest/examples/account/create-email-password-session.md @@ -1,8 +1,8 @@ POST /v1/account/sessions/email HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> { "email": "email@example.com", diff --git a/docs/examples/1.5.x/client-rest/examples/account/create-email-token.md b/docs/examples/1.5.x/client-rest/examples/account/create-email-token.md index f1c96ce045..a296b5597e 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/create-email-token.md +++ b/docs/examples/1.5.x/client-rest/examples/account/create-email-token.md @@ -1,8 +1,8 @@ POST /v1/account/tokens/email HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> { "userId": "<USER_ID>", diff --git a/docs/examples/1.5.x/client-rest/examples/account/create-j-w-t.md b/docs/examples/1.5.x/client-rest/examples/account/create-j-w-t.md index a7a3f68866..9d225fcfc2 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/create-j-w-t.md +++ b/docs/examples/1.5.x/client-rest/examples/account/create-j-w-t.md @@ -1,6 +1,6 @@ -POST /v1/account/jwt HTTP/1.1 -Host: cloud.appwrite.io +POST /v1/account/jwts HTTP/1.1 +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> diff --git a/docs/examples/1.5.x/client-rest/examples/account/create-magic-u-r-l-token.md b/docs/examples/1.5.x/client-rest/examples/account/create-magic-u-r-l-token.md index cc88e87f9b..12581613dc 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.5.x/client-rest/examples/account/create-magic-u-r-l-token.md @@ -1,8 +1,8 @@ POST /v1/account/tokens/magic-url HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> { "userId": "<USER_ID>", diff --git a/docs/examples/1.5.x/client-rest/examples/account/create-mfa-authenticator.md b/docs/examples/1.5.x/client-rest/examples/account/create-mfa-authenticator.md index 9273151f90..fef6b8476c 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/create-mfa-authenticator.md +++ b/docs/examples/1.5.x/client-rest/examples/account/create-mfa-authenticator.md @@ -1,8 +1,8 @@ POST /v1/account/mfa/authenticators/{type} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/account/create-mfa-challenge.md b/docs/examples/1.5.x/client-rest/examples/account/create-mfa-challenge.md index d70105084d..2019a1e52c 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.5.x/client-rest/examples/account/create-mfa-challenge.md @@ -1,8 +1,8 @@ POST /v1/account/mfa/challenge HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> { "factor": "email" diff --git a/docs/examples/1.5.x/client-rest/examples/account/create-mfa-recovery-codes.md b/docs/examples/1.5.x/client-rest/examples/account/create-mfa-recovery-codes.md index f00650d13d..81e5621ece 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/client-rest/examples/account/create-mfa-recovery-codes.md @@ -1,8 +1,8 @@ POST /v1/account/mfa/recovery-codes HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/account/create-o-auth2session.md b/docs/examples/1.5.x/client-rest/examples/account/create-o-auth2session.md index 1eab451879..7c7384e449 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/create-o-auth2session.md +++ b/docs/examples/1.5.x/client-rest/examples/account/create-o-auth2session.md @@ -1,6 +1,6 @@ GET /v1/account/sessions/oauth2/{provider} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> diff --git a/docs/examples/1.5.x/client-rest/examples/account/create-o-auth2token.md b/docs/examples/1.5.x/client-rest/examples/account/create-o-auth2token.md index b7c4d07826..f353a881b7 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/create-o-auth2token.md +++ b/docs/examples/1.5.x/client-rest/examples/account/create-o-auth2token.md @@ -1,6 +1,6 @@ GET /v1/account/tokens/oauth2/{provider} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> diff --git a/docs/examples/1.5.x/client-rest/examples/account/create-phone-token.md b/docs/examples/1.5.x/client-rest/examples/account/create-phone-token.md index d7cdcd5089..45d501a770 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/create-phone-token.md +++ b/docs/examples/1.5.x/client-rest/examples/account/create-phone-token.md @@ -1,8 +1,8 @@ POST /v1/account/tokens/phone HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> { "userId": "<USER_ID>", diff --git a/docs/examples/1.5.x/client-rest/examples/account/create-phone-verification.md b/docs/examples/1.5.x/client-rest/examples/account/create-phone-verification.md index a8bd3ad8bd..bc2bedb3ec 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/create-phone-verification.md +++ b/docs/examples/1.5.x/client-rest/examples/account/create-phone-verification.md @@ -1,8 +1,8 @@ POST /v1/account/verification/phone HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/account/create-push-target.md b/docs/examples/1.5.x/client-rest/examples/account/create-push-target.md index 87a61799f1..8de4e0cd3a 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/create-push-target.md +++ b/docs/examples/1.5.x/client-rest/examples/account/create-push-target.md @@ -1,8 +1,8 @@ POST /v1/account/targets/push HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: { diff --git a/docs/examples/1.5.x/client-rest/examples/account/create-recovery.md b/docs/examples/1.5.x/client-rest/examples/account/create-recovery.md index ee811be613..0c4c0046c2 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/create-recovery.md +++ b/docs/examples/1.5.x/client-rest/examples/account/create-recovery.md @@ -1,10 +1,10 @@ POST /v1/account/recovery HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "email": "email@example.com", diff --git a/docs/examples/1.5.x/client-rest/examples/account/create-session.md b/docs/examples/1.5.x/client-rest/examples/account/create-session.md index 725adf4977..62c8afeb3d 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/create-session.md +++ b/docs/examples/1.5.x/client-rest/examples/account/create-session.md @@ -1,8 +1,8 @@ POST /v1/account/sessions/token HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> { "userId": "<USER_ID>", diff --git a/docs/examples/1.5.x/client-rest/examples/account/create-verification.md b/docs/examples/1.5.x/client-rest/examples/account/create-verification.md index e440939e8f..d89b0ccd04 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/create-verification.md +++ b/docs/examples/1.5.x/client-rest/examples/account/create-verification.md @@ -1,10 +1,10 @@ POST /v1/account/verification HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "url": "https://example.com" diff --git a/docs/examples/1.5.x/client-rest/examples/account/create.md b/docs/examples/1.5.x/client-rest/examples/account/create.md index c1a959b43f..f484be7bbd 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/create.md +++ b/docs/examples/1.5.x/client-rest/examples/account/create.md @@ -1,8 +1,8 @@ POST /v1/account HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> { "userId": "<USER_ID>", diff --git a/docs/examples/1.5.x/client-rest/examples/account/delete-identity.md b/docs/examples/1.5.x/client-rest/examples/account/delete-identity.md index b43c8deafd..dbbceb4036 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/delete-identity.md +++ b/docs/examples/1.5.x/client-rest/examples/account/delete-identity.md @@ -1,8 +1,8 @@ DELETE /v1/account/identities/{identityId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/account/delete-mfa-authenticator.md b/docs/examples/1.5.x/client-rest/examples/account/delete-mfa-authenticator.md index dfb054f980..77d8d215ad 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/client-rest/examples/account/delete-mfa-authenticator.md @@ -1,11 +1,8 @@ DELETE /v1/account/mfa/authenticators/{type} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> -{ - "otp": "<OTP>" -} \ No newline at end of file diff --git a/docs/examples/1.5.x/client-rest/examples/account/delete-push-target.md b/docs/examples/1.5.x/client-rest/examples/account/delete-push-target.md index 3647456bef..ebc60fddb7 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/delete-push-target.md +++ b/docs/examples/1.5.x/client-rest/examples/account/delete-push-target.md @@ -1,7 +1,7 @@ DELETE /v1/account/targets/{targetId}/push HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: diff --git a/docs/examples/1.5.x/client-rest/examples/account/delete-session.md b/docs/examples/1.5.x/client-rest/examples/account/delete-session.md index ba75cdd52d..7f839667cb 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/delete-session.md +++ b/docs/examples/1.5.x/client-rest/examples/account/delete-session.md @@ -1,8 +1,8 @@ DELETE /v1/account/sessions/{sessionId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/account/delete-sessions.md b/docs/examples/1.5.x/client-rest/examples/account/delete-sessions.md index b6b3ac5527..6f741155cb 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/delete-sessions.md +++ b/docs/examples/1.5.x/client-rest/examples/account/delete-sessions.md @@ -1,8 +1,8 @@ DELETE /v1/account/sessions HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.5.x/client-rest/examples/account/get-mfa-recovery-codes.md index 095029fc03..7750e99c9d 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/client-rest/examples/account/get-mfa-recovery-codes.md @@ -1,8 +1,8 @@ GET /v1/account/mfa/recovery-codes HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/account/get-prefs.md b/docs/examples/1.5.x/client-rest/examples/account/get-prefs.md index b240b0c36f..5d12b5fc06 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/get-prefs.md +++ b/docs/examples/1.5.x/client-rest/examples/account/get-prefs.md @@ -1,8 +1,8 @@ GET /v1/account/prefs HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/account/get-session.md b/docs/examples/1.5.x/client-rest/examples/account/get-session.md index 525008c406..7249457017 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/get-session.md +++ b/docs/examples/1.5.x/client-rest/examples/account/get-session.md @@ -1,8 +1,8 @@ GET /v1/account/sessions/{sessionId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/account/get.md b/docs/examples/1.5.x/client-rest/examples/account/get.md index 3318040dda..0ff1878dee 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/get.md +++ b/docs/examples/1.5.x/client-rest/examples/account/get.md @@ -1,8 +1,8 @@ GET /v1/account HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/account/list-identities.md b/docs/examples/1.5.x/client-rest/examples/account/list-identities.md index 5239970350..41aa1dd70c 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/list-identities.md +++ b/docs/examples/1.5.x/client-rest/examples/account/list-identities.md @@ -1,8 +1,8 @@ GET /v1/account/identities HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/account/list-logs.md b/docs/examples/1.5.x/client-rest/examples/account/list-logs.md index 9c4a838d5a..55b5782ae5 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/list-logs.md +++ b/docs/examples/1.5.x/client-rest/examples/account/list-logs.md @@ -1,8 +1,8 @@ GET /v1/account/logs HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/account/list-mfa-factors.md b/docs/examples/1.5.x/client-rest/examples/account/list-mfa-factors.md index 0fcbebf662..3e8479aef8 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/list-mfa-factors.md +++ b/docs/examples/1.5.x/client-rest/examples/account/list-mfa-factors.md @@ -1,8 +1,8 @@ GET /v1/account/mfa/factors HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/account/list-sessions.md b/docs/examples/1.5.x/client-rest/examples/account/list-sessions.md index fbf968ef86..89f747387f 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/list-sessions.md +++ b/docs/examples/1.5.x/client-rest/examples/account/list-sessions.md @@ -1,8 +1,8 @@ GET /v1/account/sessions HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/account/update-email.md b/docs/examples/1.5.x/client-rest/examples/account/update-email.md index e5a131b060..be4709dbc7 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/update-email.md +++ b/docs/examples/1.5.x/client-rest/examples/account/update-email.md @@ -1,10 +1,10 @@ PATCH /v1/account/email HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "email": "email@example.com", diff --git a/docs/examples/1.5.x/client-rest/examples/account/update-m-f-a.md b/docs/examples/1.5.x/client-rest/examples/account/update-m-f-a.md index 49311807e7..c7ef57666e 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/update-m-f-a.md +++ b/docs/examples/1.5.x/client-rest/examples/account/update-m-f-a.md @@ -1,10 +1,10 @@ PATCH /v1/account/mfa HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "mfa": false diff --git a/docs/examples/1.5.x/client-rest/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.5.x/client-rest/examples/account/update-magic-u-r-l-session.md index 5789bc204e..5ca270cc73 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.5.x/client-rest/examples/account/update-magic-u-r-l-session.md @@ -1,8 +1,8 @@ PUT /v1/account/sessions/magic-url HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> { "userId": "<USER_ID>", diff --git a/docs/examples/1.5.x/client-rest/examples/account/update-mfa-authenticator.md b/docs/examples/1.5.x/client-rest/examples/account/update-mfa-authenticator.md index a55ba579bc..68eabe2811 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/update-mfa-authenticator.md +++ b/docs/examples/1.5.x/client-rest/examples/account/update-mfa-authenticator.md @@ -1,10 +1,10 @@ PUT /v1/account/mfa/authenticators/{type} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "otp": "<OTP>" diff --git a/docs/examples/1.5.x/client-rest/examples/account/update-mfa-challenge.md b/docs/examples/1.5.x/client-rest/examples/account/update-mfa-challenge.md index 5e50a0e88d..520b587562 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.5.x/client-rest/examples/account/update-mfa-challenge.md @@ -1,10 +1,10 @@ PUT /v1/account/mfa/challenge HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "challengeId": "<CHALLENGE_ID>", diff --git a/docs/examples/1.5.x/client-rest/examples/account/update-mfa-recovery-codes.md b/docs/examples/1.5.x/client-rest/examples/account/update-mfa-recovery-codes.md index 4ba1cb6856..398d84e4de 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/client-rest/examples/account/update-mfa-recovery-codes.md @@ -1,8 +1,8 @@ PATCH /v1/account/mfa/recovery-codes HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/account/update-name.md b/docs/examples/1.5.x/client-rest/examples/account/update-name.md index 40b50e2f0d..bf7823fab9 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/update-name.md +++ b/docs/examples/1.5.x/client-rest/examples/account/update-name.md @@ -1,10 +1,10 @@ PATCH /v1/account/name HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "name": "<NAME>" diff --git a/docs/examples/1.5.x/client-rest/examples/account/update-password.md b/docs/examples/1.5.x/client-rest/examples/account/update-password.md index e254c25cd3..eeaf183a14 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/update-password.md +++ b/docs/examples/1.5.x/client-rest/examples/account/update-password.md @@ -1,10 +1,10 @@ PATCH /v1/account/password HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "password": , diff --git a/docs/examples/1.5.x/client-rest/examples/account/update-phone-session.md b/docs/examples/1.5.x/client-rest/examples/account/update-phone-session.md index a9e1a93950..7b62067b9e 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/update-phone-session.md +++ b/docs/examples/1.5.x/client-rest/examples/account/update-phone-session.md @@ -1,8 +1,8 @@ PUT /v1/account/sessions/phone HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> { "userId": "<USER_ID>", diff --git a/docs/examples/1.5.x/client-rest/examples/account/update-phone-verification.md b/docs/examples/1.5.x/client-rest/examples/account/update-phone-verification.md index 3ab8ee8871..8050b8ab69 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/update-phone-verification.md +++ b/docs/examples/1.5.x/client-rest/examples/account/update-phone-verification.md @@ -1,10 +1,10 @@ PUT /v1/account/verification/phone HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "userId": "<USER_ID>", diff --git a/docs/examples/1.5.x/client-rest/examples/account/update-phone.md b/docs/examples/1.5.x/client-rest/examples/account/update-phone.md index b67ed03bea..0123b564a7 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/update-phone.md +++ b/docs/examples/1.5.x/client-rest/examples/account/update-phone.md @@ -1,10 +1,10 @@ PATCH /v1/account/phone HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "phone": "+12065550100", diff --git a/docs/examples/1.5.x/client-rest/examples/account/update-prefs.md b/docs/examples/1.5.x/client-rest/examples/account/update-prefs.md index 6f7c7308b8..39a2466ed4 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/update-prefs.md +++ b/docs/examples/1.5.x/client-rest/examples/account/update-prefs.md @@ -1,10 +1,10 @@ PATCH /v1/account/prefs HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "prefs": {} diff --git a/docs/examples/1.5.x/client-rest/examples/account/update-push-target.md b/docs/examples/1.5.x/client-rest/examples/account/update-push-target.md index 9ddd76232c..6c9b318df4 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/update-push-target.md +++ b/docs/examples/1.5.x/client-rest/examples/account/update-push-target.md @@ -1,8 +1,8 @@ PUT /v1/account/targets/{targetId}/push HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: { diff --git a/docs/examples/1.5.x/client-rest/examples/account/update-recovery.md b/docs/examples/1.5.x/client-rest/examples/account/update-recovery.md index c0c0bf6c8e..cf388ea9af 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/update-recovery.md +++ b/docs/examples/1.5.x/client-rest/examples/account/update-recovery.md @@ -1,10 +1,10 @@ PUT /v1/account/recovery HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "userId": "<USER_ID>", diff --git a/docs/examples/1.5.x/client-rest/examples/account/update-session.md b/docs/examples/1.5.x/client-rest/examples/account/update-session.md index ef77866134..ca04f76e6c 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/update-session.md +++ b/docs/examples/1.5.x/client-rest/examples/account/update-session.md @@ -1,8 +1,8 @@ PATCH /v1/account/sessions/{sessionId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/account/update-status.md b/docs/examples/1.5.x/client-rest/examples/account/update-status.md index 809357b70b..1f47e378b2 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/update-status.md +++ b/docs/examples/1.5.x/client-rest/examples/account/update-status.md @@ -1,8 +1,8 @@ PATCH /v1/account/status HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/account/update-verification.md b/docs/examples/1.5.x/client-rest/examples/account/update-verification.md index e798222b4a..2558e5b4ff 100644 --- a/docs/examples/1.5.x/client-rest/examples/account/update-verification.md +++ b/docs/examples/1.5.x/client-rest/examples/account/update-verification.md @@ -1,10 +1,10 @@ PUT /v1/account/verification HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "userId": "<USER_ID>", diff --git a/docs/examples/1.5.x/client-rest/examples/avatars/get-browser.md b/docs/examples/1.5.x/client-rest/examples/avatars/get-browser.md index fb573e4eb6..93b4190343 100644 --- a/docs/examples/1.5.x/client-rest/examples/avatars/get-browser.md +++ b/docs/examples/1.5.x/client-rest/examples/avatars/get-browser.md @@ -1,8 +1,8 @@ GET /v1/avatars/browsers/{code} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/avatars/get-credit-card.md b/docs/examples/1.5.x/client-rest/examples/avatars/get-credit-card.md index 1b175ec64c..d67ce3cd96 100644 --- a/docs/examples/1.5.x/client-rest/examples/avatars/get-credit-card.md +++ b/docs/examples/1.5.x/client-rest/examples/avatars/get-credit-card.md @@ -1,8 +1,8 @@ GET /v1/avatars/credit-cards/{code} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/avatars/get-favicon.md b/docs/examples/1.5.x/client-rest/examples/avatars/get-favicon.md index 03caca5f8f..f36d5b88f3 100644 --- a/docs/examples/1.5.x/client-rest/examples/avatars/get-favicon.md +++ b/docs/examples/1.5.x/client-rest/examples/avatars/get-favicon.md @@ -1,8 +1,8 @@ GET /v1/avatars/favicon HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/avatars/get-flag.md b/docs/examples/1.5.x/client-rest/examples/avatars/get-flag.md index dfe77dcfc0..c5fe6059b7 100644 --- a/docs/examples/1.5.x/client-rest/examples/avatars/get-flag.md +++ b/docs/examples/1.5.x/client-rest/examples/avatars/get-flag.md @@ -1,8 +1,8 @@ GET /v1/avatars/flags/{code} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/avatars/get-image.md b/docs/examples/1.5.x/client-rest/examples/avatars/get-image.md index 566ee63a89..03dd55aa6c 100644 --- a/docs/examples/1.5.x/client-rest/examples/avatars/get-image.md +++ b/docs/examples/1.5.x/client-rest/examples/avatars/get-image.md @@ -1,8 +1,8 @@ GET /v1/avatars/image HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/avatars/get-initials.md b/docs/examples/1.5.x/client-rest/examples/avatars/get-initials.md index cac12f0c6e..3f78e796b1 100644 --- a/docs/examples/1.5.x/client-rest/examples/avatars/get-initials.md +++ b/docs/examples/1.5.x/client-rest/examples/avatars/get-initials.md @@ -1,8 +1,8 @@ GET /v1/avatars/initials HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/avatars/get-q-r.md b/docs/examples/1.5.x/client-rest/examples/avatars/get-q-r.md index a2ee2e0ca4..129560b001 100644 --- a/docs/examples/1.5.x/client-rest/examples/avatars/get-q-r.md +++ b/docs/examples/1.5.x/client-rest/examples/avatars/get-q-r.md @@ -1,8 +1,8 @@ GET /v1/avatars/qr HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/databases/create-document.md b/docs/examples/1.5.x/client-rest/examples/databases/create-document.md index 9ce2858456..f4e595f77f 100644 --- a/docs/examples/1.5.x/client-rest/examples/databases/create-document.md +++ b/docs/examples/1.5.x/client-rest/examples/databases/create-document.md @@ -1,10 +1,10 @@ POST /v1/databases/{databaseId}/collections/{collectionId}/documents HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "documentId": "<DOCUMENT_ID>", diff --git a/docs/examples/1.5.x/client-rest/examples/databases/delete-document.md b/docs/examples/1.5.x/client-rest/examples/databases/delete-document.md index b085a2a9f6..c26d715d42 100644 --- a/docs/examples/1.5.x/client-rest/examples/databases/delete-document.md +++ b/docs/examples/1.5.x/client-rest/examples/databases/delete-document.md @@ -1,8 +1,8 @@ DELETE /v1/databases/{databaseId}/collections/{collectionId}/documents/{documentId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/databases/get-document.md b/docs/examples/1.5.x/client-rest/examples/databases/get-document.md index 5baf4f7031..2815e446ca 100644 --- a/docs/examples/1.5.x/client-rest/examples/databases/get-document.md +++ b/docs/examples/1.5.x/client-rest/examples/databases/get-document.md @@ -1,8 +1,8 @@ GET /v1/databases/{databaseId}/collections/{collectionId}/documents/{documentId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/databases/list-documents.md b/docs/examples/1.5.x/client-rest/examples/databases/list-documents.md index 95e788f0bb..d6b7746f03 100644 --- a/docs/examples/1.5.x/client-rest/examples/databases/list-documents.md +++ b/docs/examples/1.5.x/client-rest/examples/databases/list-documents.md @@ -1,8 +1,8 @@ GET /v1/databases/{databaseId}/collections/{collectionId}/documents HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/databases/update-document.md b/docs/examples/1.5.x/client-rest/examples/databases/update-document.md index 87119b61ff..ae0aa4df28 100644 --- a/docs/examples/1.5.x/client-rest/examples/databases/update-document.md +++ b/docs/examples/1.5.x/client-rest/examples/databases/update-document.md @@ -1,10 +1,10 @@ PATCH /v1/databases/{databaseId}/collections/{collectionId}/documents/{documentId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "data": {}, diff --git a/docs/examples/1.5.x/client-rest/examples/functions/create-execution.md b/docs/examples/1.5.x/client-rest/examples/functions/create-execution.md index 5a9c4449b2..600a8b5cf3 100644 --- a/docs/examples/1.5.x/client-rest/examples/functions/create-execution.md +++ b/docs/examples/1.5.x/client-rest/examples/functions/create-execution.md @@ -1,15 +1,16 @@ POST /v1/functions/{functionId}/executions HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "body": "<BODY>", "async": false, "path": "<PATH>", "method": "GET", - "headers": {} + "headers": {}, + "scheduledAt": } diff --git a/docs/examples/1.5.x/client-rest/examples/functions/get-execution.md b/docs/examples/1.5.x/client-rest/examples/functions/get-execution.md index 10a55824b4..36879bf50f 100644 --- a/docs/examples/1.5.x/client-rest/examples/functions/get-execution.md +++ b/docs/examples/1.5.x/client-rest/examples/functions/get-execution.md @@ -1,8 +1,8 @@ GET /v1/functions/{functionId}/executions/{executionId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/functions/list-executions.md b/docs/examples/1.5.x/client-rest/examples/functions/list-executions.md index 11f64ba362..e87274915d 100644 --- a/docs/examples/1.5.x/client-rest/examples/functions/list-executions.md +++ b/docs/examples/1.5.x/client-rest/examples/functions/list-executions.md @@ -1,8 +1,8 @@ GET /v1/functions/{functionId}/executions HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/graphql/mutation.md b/docs/examples/1.5.x/client-rest/examples/graphql/mutation.md index ced360c092..6def0f1720 100644 --- a/docs/examples/1.5.x/client-rest/examples/graphql/mutation.md +++ b/docs/examples/1.5.x/client-rest/examples/graphql/mutation.md @@ -1,11 +1,11 @@ POST /v1/graphql/mutation HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io X-Sdk-Graphql: true Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "query": {} diff --git a/docs/examples/1.5.x/client-rest/examples/graphql/query.md b/docs/examples/1.5.x/client-rest/examples/graphql/query.md index 8edf1338f1..cba232be9f 100644 --- a/docs/examples/1.5.x/client-rest/examples/graphql/query.md +++ b/docs/examples/1.5.x/client-rest/examples/graphql/query.md @@ -1,11 +1,11 @@ POST /v1/graphql HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io X-Sdk-Graphql: true Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "query": {} diff --git a/docs/examples/1.5.x/client-rest/examples/locale/get.md b/docs/examples/1.5.x/client-rest/examples/locale/get.md index 6fb003b300..df152587a1 100644 --- a/docs/examples/1.5.x/client-rest/examples/locale/get.md +++ b/docs/examples/1.5.x/client-rest/examples/locale/get.md @@ -1,8 +1,8 @@ GET /v1/locale HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/locale/list-codes.md b/docs/examples/1.5.x/client-rest/examples/locale/list-codes.md index 9ee5aa201c..8202538529 100644 --- a/docs/examples/1.5.x/client-rest/examples/locale/list-codes.md +++ b/docs/examples/1.5.x/client-rest/examples/locale/list-codes.md @@ -1,8 +1,8 @@ GET /v1/locale/codes HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/locale/list-continents.md b/docs/examples/1.5.x/client-rest/examples/locale/list-continents.md index 25873b2830..83e2e5cefd 100644 --- a/docs/examples/1.5.x/client-rest/examples/locale/list-continents.md +++ b/docs/examples/1.5.x/client-rest/examples/locale/list-continents.md @@ -1,8 +1,8 @@ GET /v1/locale/continents HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/locale/list-countries-e-u.md b/docs/examples/1.5.x/client-rest/examples/locale/list-countries-e-u.md index 98bb6f4f96..a759f6648e 100644 --- a/docs/examples/1.5.x/client-rest/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.5.x/client-rest/examples/locale/list-countries-e-u.md @@ -1,8 +1,8 @@ GET /v1/locale/countries/eu HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/locale/list-countries-phones.md b/docs/examples/1.5.x/client-rest/examples/locale/list-countries-phones.md index 2128ba9beb..a5f24fb446 100644 --- a/docs/examples/1.5.x/client-rest/examples/locale/list-countries-phones.md +++ b/docs/examples/1.5.x/client-rest/examples/locale/list-countries-phones.md @@ -1,8 +1,8 @@ GET /v1/locale/countries/phones HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/locale/list-countries.md b/docs/examples/1.5.x/client-rest/examples/locale/list-countries.md index 8bd074f8f7..5e6bd11361 100644 --- a/docs/examples/1.5.x/client-rest/examples/locale/list-countries.md +++ b/docs/examples/1.5.x/client-rest/examples/locale/list-countries.md @@ -1,8 +1,8 @@ GET /v1/locale/countries HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/locale/list-currencies.md b/docs/examples/1.5.x/client-rest/examples/locale/list-currencies.md index 06d8ab1aab..9682eb8aa7 100644 --- a/docs/examples/1.5.x/client-rest/examples/locale/list-currencies.md +++ b/docs/examples/1.5.x/client-rest/examples/locale/list-currencies.md @@ -1,8 +1,8 @@ GET /v1/locale/currencies HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/locale/list-languages.md b/docs/examples/1.5.x/client-rest/examples/locale/list-languages.md index fa855689d3..832862033e 100644 --- a/docs/examples/1.5.x/client-rest/examples/locale/list-languages.md +++ b/docs/examples/1.5.x/client-rest/examples/locale/list-languages.md @@ -1,8 +1,8 @@ GET /v1/locale/languages HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/messaging/create-subscriber.md b/docs/examples/1.5.x/client-rest/examples/messaging/create-subscriber.md index add7db2035..a9a293bec1 100644 --- a/docs/examples/1.5.x/client-rest/examples/messaging/create-subscriber.md +++ b/docs/examples/1.5.x/client-rest/examples/messaging/create-subscriber.md @@ -1,9 +1,9 @@ POST /v1/messaging/topics/{topicId}/subscribers HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-JWT: <YOUR_JWT> X-Appwrite-Session: { diff --git a/docs/examples/1.5.x/client-rest/examples/messaging/delete-subscriber.md b/docs/examples/1.5.x/client-rest/examples/messaging/delete-subscriber.md index d9cb558e50..4b1d312978 100644 --- a/docs/examples/1.5.x/client-rest/examples/messaging/delete-subscriber.md +++ b/docs/examples/1.5.x/client-rest/examples/messaging/delete-subscriber.md @@ -1,8 +1,8 @@ DELETE /v1/messaging/topics/{topicId}/subscribers/{subscriberId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-JWT: <YOUR_JWT> X-Appwrite-Session: diff --git a/docs/examples/1.5.x/client-rest/examples/storage/create-file.md b/docs/examples/1.5.x/client-rest/examples/storage/create-file.md index 4f4d6e18d5..5eebfa95db 100644 --- a/docs/examples/1.5.x/client-rest/examples/storage/create-file.md +++ b/docs/examples/1.5.x/client-rest/examples/storage/create-file.md @@ -1,10 +1,10 @@ POST /v1/storage/buckets/{bucketId}/files HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: multipart/form-data; boundary="cec8e8123c05ba25" -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> Content-Length: *Length of your entity body in bytes* --cec8e8123c05ba25 diff --git a/docs/examples/1.5.x/client-rest/examples/storage/delete-file.md b/docs/examples/1.5.x/client-rest/examples/storage/delete-file.md index 4c615d3f67..fc4bc5f09a 100644 --- a/docs/examples/1.5.x/client-rest/examples/storage/delete-file.md +++ b/docs/examples/1.5.x/client-rest/examples/storage/delete-file.md @@ -1,8 +1,8 @@ DELETE /v1/storage/buckets/{bucketId}/files/{fileId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/storage/get-file-download.md b/docs/examples/1.5.x/client-rest/examples/storage/get-file-download.md index 40e66ae9e2..fe870a0f85 100644 --- a/docs/examples/1.5.x/client-rest/examples/storage/get-file-download.md +++ b/docs/examples/1.5.x/client-rest/examples/storage/get-file-download.md @@ -1,8 +1,8 @@ GET /v1/storage/buckets/{bucketId}/files/{fileId}/download HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/storage/get-file-preview.md b/docs/examples/1.5.x/client-rest/examples/storage/get-file-preview.md index 64c142275d..97d26eb1e1 100644 --- a/docs/examples/1.5.x/client-rest/examples/storage/get-file-preview.md +++ b/docs/examples/1.5.x/client-rest/examples/storage/get-file-preview.md @@ -1,8 +1,8 @@ GET /v1/storage/buckets/{bucketId}/files/{fileId}/preview HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/storage/get-file-view.md b/docs/examples/1.5.x/client-rest/examples/storage/get-file-view.md index fbc29da6b2..d24c5fdc49 100644 --- a/docs/examples/1.5.x/client-rest/examples/storage/get-file-view.md +++ b/docs/examples/1.5.x/client-rest/examples/storage/get-file-view.md @@ -1,8 +1,8 @@ GET /v1/storage/buckets/{bucketId}/files/{fileId}/view HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/storage/get-file.md b/docs/examples/1.5.x/client-rest/examples/storage/get-file.md index 42bca7c1de..31500497b5 100644 --- a/docs/examples/1.5.x/client-rest/examples/storage/get-file.md +++ b/docs/examples/1.5.x/client-rest/examples/storage/get-file.md @@ -1,8 +1,8 @@ GET /v1/storage/buckets/{bucketId}/files/{fileId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/storage/list-files.md b/docs/examples/1.5.x/client-rest/examples/storage/list-files.md index 9b463a721b..53bea3033f 100644 --- a/docs/examples/1.5.x/client-rest/examples/storage/list-files.md +++ b/docs/examples/1.5.x/client-rest/examples/storage/list-files.md @@ -1,8 +1,8 @@ GET /v1/storage/buckets/{bucketId}/files HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/storage/update-file.md b/docs/examples/1.5.x/client-rest/examples/storage/update-file.md index 3659c229b5..ab03cd18e0 100644 --- a/docs/examples/1.5.x/client-rest/examples/storage/update-file.md +++ b/docs/examples/1.5.x/client-rest/examples/storage/update-file.md @@ -1,10 +1,10 @@ PUT /v1/storage/buckets/{bucketId}/files/{fileId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "name": "<NAME>", diff --git a/docs/examples/1.5.x/client-rest/examples/teams/create-membership.md b/docs/examples/1.5.x/client-rest/examples/teams/create-membership.md index f47ae88b65..4bf97cb154 100644 --- a/docs/examples/1.5.x/client-rest/examples/teams/create-membership.md +++ b/docs/examples/1.5.x/client-rest/examples/teams/create-membership.md @@ -1,10 +1,10 @@ POST /v1/teams/{teamId}/memberships HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "email": "email@example.com", diff --git a/docs/examples/1.5.x/client-rest/examples/teams/create.md b/docs/examples/1.5.x/client-rest/examples/teams/create.md index 6208bd164b..d24eaf69a4 100644 --- a/docs/examples/1.5.x/client-rest/examples/teams/create.md +++ b/docs/examples/1.5.x/client-rest/examples/teams/create.md @@ -1,10 +1,10 @@ POST /v1/teams HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "teamId": "<TEAM_ID>", diff --git a/docs/examples/1.5.x/client-rest/examples/teams/delete-membership.md b/docs/examples/1.5.x/client-rest/examples/teams/delete-membership.md index fd9e054bdd..f162ef71ad 100644 --- a/docs/examples/1.5.x/client-rest/examples/teams/delete-membership.md +++ b/docs/examples/1.5.x/client-rest/examples/teams/delete-membership.md @@ -1,8 +1,8 @@ DELETE /v1/teams/{teamId}/memberships/{membershipId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/teams/delete.md b/docs/examples/1.5.x/client-rest/examples/teams/delete.md index 5766cc8a27..4ed41db00f 100644 --- a/docs/examples/1.5.x/client-rest/examples/teams/delete.md +++ b/docs/examples/1.5.x/client-rest/examples/teams/delete.md @@ -1,8 +1,8 @@ DELETE /v1/teams/{teamId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/teams/get-membership.md b/docs/examples/1.5.x/client-rest/examples/teams/get-membership.md index 7c94a9e6dc..8a7488ec3b 100644 --- a/docs/examples/1.5.x/client-rest/examples/teams/get-membership.md +++ b/docs/examples/1.5.x/client-rest/examples/teams/get-membership.md @@ -1,8 +1,8 @@ GET /v1/teams/{teamId}/memberships/{membershipId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/teams/get-prefs.md b/docs/examples/1.5.x/client-rest/examples/teams/get-prefs.md index dfac065734..0486648b29 100644 --- a/docs/examples/1.5.x/client-rest/examples/teams/get-prefs.md +++ b/docs/examples/1.5.x/client-rest/examples/teams/get-prefs.md @@ -1,8 +1,8 @@ GET /v1/teams/{teamId}/prefs HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/teams/get.md b/docs/examples/1.5.x/client-rest/examples/teams/get.md index 2b2a13fdb6..25e5d59eba 100644 --- a/docs/examples/1.5.x/client-rest/examples/teams/get.md +++ b/docs/examples/1.5.x/client-rest/examples/teams/get.md @@ -1,8 +1,8 @@ GET /v1/teams/{teamId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/teams/list-memberships.md b/docs/examples/1.5.x/client-rest/examples/teams/list-memberships.md index 22624768b4..691fecfa4d 100644 --- a/docs/examples/1.5.x/client-rest/examples/teams/list-memberships.md +++ b/docs/examples/1.5.x/client-rest/examples/teams/list-memberships.md @@ -1,8 +1,8 @@ GET /v1/teams/{teamId}/memberships HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/teams/list.md b/docs/examples/1.5.x/client-rest/examples/teams/list.md index 9baa9b359f..4fbc6a6afa 100644 --- a/docs/examples/1.5.x/client-rest/examples/teams/list.md +++ b/docs/examples/1.5.x/client-rest/examples/teams/list.md @@ -1,8 +1,8 @@ GET /v1/teams HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/client-rest/examples/teams/update-membership-status.md b/docs/examples/1.5.x/client-rest/examples/teams/update-membership-status.md index dbcfd29391..5fa7888d06 100644 --- a/docs/examples/1.5.x/client-rest/examples/teams/update-membership-status.md +++ b/docs/examples/1.5.x/client-rest/examples/teams/update-membership-status.md @@ -1,10 +1,10 @@ PATCH /v1/teams/{teamId}/memberships/{membershipId}/status HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "userId": "<USER_ID>", diff --git a/docs/examples/1.5.x/client-rest/examples/teams/update-membership.md b/docs/examples/1.5.x/client-rest/examples/teams/update-membership.md index 843e99ef24..672e8c5f1c 100644 --- a/docs/examples/1.5.x/client-rest/examples/teams/update-membership.md +++ b/docs/examples/1.5.x/client-rest/examples/teams/update-membership.md @@ -1,10 +1,10 @@ PATCH /v1/teams/{teamId}/memberships/{membershipId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "roles": [] diff --git a/docs/examples/1.5.x/client-rest/examples/teams/update-name.md b/docs/examples/1.5.x/client-rest/examples/teams/update-name.md index 9df25968b9..07d3be22ba 100644 --- a/docs/examples/1.5.x/client-rest/examples/teams/update-name.md +++ b/docs/examples/1.5.x/client-rest/examples/teams/update-name.md @@ -1,10 +1,10 @@ PUT /v1/teams/{teamId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "name": "<NAME>" diff --git a/docs/examples/1.5.x/client-rest/examples/teams/update-prefs.md b/docs/examples/1.5.x/client-rest/examples/teams/update-prefs.md index 1cf422595b..b6b2cc6b97 100644 --- a/docs/examples/1.5.x/client-rest/examples/teams/update-prefs.md +++ b/docs/examples/1.5.x/client-rest/examples/teams/update-prefs.md @@ -1,10 +1,10 @@ PUT /v1/teams/{teamId}/prefs HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "prefs": {} diff --git a/docs/examples/1.5.x/client-web/examples/account/add-authenticator.md b/docs/examples/1.5.x/client-web/examples/account/add-authenticator.md index e3241bc0be..c1e7e3fb9d 100644 --- a/docs/examples/1.5.x/client-web/examples/account/add-authenticator.md +++ b/docs/examples/1.5.x/client-web/examples/account/add-authenticator.md @@ -1,7 +1,7 @@ import { Client, Account, AuthenticatorType } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/client-web/examples/account/create-anonymous-session.md b/docs/examples/1.5.x/client-web/examples/account/create-anonymous-session.md index 618b003457..9a78549a30 100644 --- a/docs/examples/1.5.x/client-web/examples/account/create-anonymous-session.md +++ b/docs/examples/1.5.x/client-web/examples/account/create-anonymous-session.md @@ -2,10 +2,10 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.createAnonymousSession(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/create-challenge.md b/docs/examples/1.5.x/client-web/examples/account/create-challenge.md index b56439fba6..2b4e9796e9 100644 --- a/docs/examples/1.5.x/client-web/examples/account/create-challenge.md +++ b/docs/examples/1.5.x/client-web/examples/account/create-challenge.md @@ -1,7 +1,7 @@ import { Client, Account, AuthenticationFactor } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/client-web/examples/account/create-email-password-session.md b/docs/examples/1.5.x/client-web/examples/account/create-email-password-session.md index 7bbb30e498..517a7c7518 100644 --- a/docs/examples/1.5.x/client-web/examples/account/create-email-password-session.md +++ b/docs/examples/1.5.x/client-web/examples/account/create-email-password-session.md @@ -2,7 +2,7 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.createEmailPasswordSession( 'password' // password ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/create-email-token.md b/docs/examples/1.5.x/client-web/examples/account/create-email-token.md index 3591fcd505..bcc9316b4e 100644 --- a/docs/examples/1.5.x/client-web/examples/account/create-email-token.md +++ b/docs/examples/1.5.x/client-web/examples/account/create-email-token.md @@ -2,7 +2,7 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -12,4 +12,4 @@ const result = await account.createEmailToken( false // phrase (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/create-j-w-t.md b/docs/examples/1.5.x/client-web/examples/account/create-j-w-t.md index 467d7ab93e..e01d8de36e 100644 --- a/docs/examples/1.5.x/client-web/examples/account/create-j-w-t.md +++ b/docs/examples/1.5.x/client-web/examples/account/create-j-w-t.md @@ -2,10 +2,10 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.createJWT(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/create-magic-u-r-l-token.md b/docs/examples/1.5.x/client-web/examples/account/create-magic-u-r-l-token.md index c65b5e51c7..155944702a 100644 --- a/docs/examples/1.5.x/client-web/examples/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.5.x/client-web/examples/account/create-magic-u-r-l-token.md @@ -2,7 +2,7 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -13,4 +13,4 @@ const result = await account.createMagicURLToken( false // phrase (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/create-mfa-authenticator.md b/docs/examples/1.5.x/client-web/examples/account/create-mfa-authenticator.md index e367f24bf7..6551d13f21 100644 --- a/docs/examples/1.5.x/client-web/examples/account/create-mfa-authenticator.md +++ b/docs/examples/1.5.x/client-web/examples/account/create-mfa-authenticator.md @@ -2,7 +2,7 @@ import { Client, Account, AuthenticatorType } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.createMfaAuthenticator( AuthenticatorType.Totp // type ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/create-mfa-challenge.md b/docs/examples/1.5.x/client-web/examples/account/create-mfa-challenge.md index 48318c749d..c620ca20cd 100644 --- a/docs/examples/1.5.x/client-web/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.5.x/client-web/examples/account/create-mfa-challenge.md @@ -2,7 +2,7 @@ import { Client, Account, AuthenticationFactor } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.createMfaChallenge( AuthenticationFactor.Email // factor ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/create-mfa-recovery-codes.md b/docs/examples/1.5.x/client-web/examples/account/create-mfa-recovery-codes.md index ef5d35d574..5a3f6f2d8c 100644 --- a/docs/examples/1.5.x/client-web/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/client-web/examples/account/create-mfa-recovery-codes.md @@ -2,10 +2,10 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.createMfaRecoveryCodes(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/create-o-auth2session.md b/docs/examples/1.5.x/client-web/examples/account/create-o-auth2session.md index c158e3e77b..0d797a8eac 100644 --- a/docs/examples/1.5.x/client-web/examples/account/create-o-auth2session.md +++ b/docs/examples/1.5.x/client-web/examples/account/create-o-auth2session.md @@ -2,7 +2,7 @@ import { Client, Account, OAuthProvider } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/client-web/examples/account/create-o-auth2token.md b/docs/examples/1.5.x/client-web/examples/account/create-o-auth2token.md index a4ca0496f5..a8d7300675 100644 --- a/docs/examples/1.5.x/client-web/examples/account/create-o-auth2token.md +++ b/docs/examples/1.5.x/client-web/examples/account/create-o-auth2token.md @@ -2,7 +2,7 @@ import { Client, Account, OAuthProvider } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/client-web/examples/account/create-phone-token.md b/docs/examples/1.5.x/client-web/examples/account/create-phone-token.md index d67892a481..01a5d68af4 100644 --- a/docs/examples/1.5.x/client-web/examples/account/create-phone-token.md +++ b/docs/examples/1.5.x/client-web/examples/account/create-phone-token.md @@ -2,7 +2,7 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.createPhoneToken( '+12065550100' // phone ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/create-phone-verification.md b/docs/examples/1.5.x/client-web/examples/account/create-phone-verification.md index cdb4629a22..5da89e9bc0 100644 --- a/docs/examples/1.5.x/client-web/examples/account/create-phone-verification.md +++ b/docs/examples/1.5.x/client-web/examples/account/create-phone-verification.md @@ -2,10 +2,10 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.createPhoneVerification(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/create-push-target.md b/docs/examples/1.5.x/client-web/examples/account/create-push-target.md index fe6dd99a4c..abbbf42057 100644 --- a/docs/examples/1.5.x/client-web/examples/account/create-push-target.md +++ b/docs/examples/1.5.x/client-web/examples/account/create-push-target.md @@ -2,7 +2,7 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -12,4 +12,4 @@ const result = await account.createPushTarget( '<PROVIDER_ID>' // providerId (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/create-recovery.md b/docs/examples/1.5.x/client-web/examples/account/create-recovery.md index d6014cd94c..4d3ec34786 100644 --- a/docs/examples/1.5.x/client-web/examples/account/create-recovery.md +++ b/docs/examples/1.5.x/client-web/examples/account/create-recovery.md @@ -2,7 +2,7 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.createRecovery( 'https://example.com' // url ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/create-session.md b/docs/examples/1.5.x/client-web/examples/account/create-session.md index a3ee7ccca8..fe43a12c71 100644 --- a/docs/examples/1.5.x/client-web/examples/account/create-session.md +++ b/docs/examples/1.5.x/client-web/examples/account/create-session.md @@ -2,7 +2,7 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.createSession( '<SECRET>' // secret ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/create-verification.md b/docs/examples/1.5.x/client-web/examples/account/create-verification.md index 1757f3c984..60bb2d270e 100644 --- a/docs/examples/1.5.x/client-web/examples/account/create-verification.md +++ b/docs/examples/1.5.x/client-web/examples/account/create-verification.md @@ -2,7 +2,7 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.createVerification( 'https://example.com' // url ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/create.md b/docs/examples/1.5.x/client-web/examples/account/create.md index 069ade299b..eb4634faeb 100644 --- a/docs/examples/1.5.x/client-web/examples/account/create.md +++ b/docs/examples/1.5.x/client-web/examples/account/create.md @@ -2,7 +2,7 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -13,4 +13,4 @@ const result = await account.create( '<NAME>' // name (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/create2f-a-challenge.md b/docs/examples/1.5.x/client-web/examples/account/create2f-a-challenge.md index 24a0871e20..317d60daa1 100644 --- a/docs/examples/1.5.x/client-web/examples/account/create2f-a-challenge.md +++ b/docs/examples/1.5.x/client-web/examples/account/create2f-a-challenge.md @@ -1,7 +1,7 @@ import { Client, Account, AuthenticationFactor } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/client-web/examples/account/delete-authenticator.md b/docs/examples/1.5.x/client-web/examples/account/delete-authenticator.md index f3c504865d..cb97fb7d48 100644 --- a/docs/examples/1.5.x/client-web/examples/account/delete-authenticator.md +++ b/docs/examples/1.5.x/client-web/examples/account/delete-authenticator.md @@ -1,7 +1,7 @@ import { Client, Account, AuthenticatorType } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/client-web/examples/account/delete-identity.md b/docs/examples/1.5.x/client-web/examples/account/delete-identity.md index 07558e0791..7a6dbae0be 100644 --- a/docs/examples/1.5.x/client-web/examples/account/delete-identity.md +++ b/docs/examples/1.5.x/client-web/examples/account/delete-identity.md @@ -2,7 +2,7 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.deleteIdentity( '<IDENTITY_ID>' // identityId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/delete-mfa-authenticator.md b/docs/examples/1.5.x/client-web/examples/account/delete-mfa-authenticator.md index 6d389247e3..44f0065399 100644 --- a/docs/examples/1.5.x/client-web/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/client-web/examples/account/delete-mfa-authenticator.md @@ -2,13 +2,12 @@ import { Client, Account, AuthenticatorType } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.deleteMfaAuthenticator( - AuthenticatorType.Totp, // type - '<OTP>' // otp + AuthenticatorType.Totp // type ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/delete-push-target.md b/docs/examples/1.5.x/client-web/examples/account/delete-push-target.md index a5e7cb3fdf..7b8f505196 100644 --- a/docs/examples/1.5.x/client-web/examples/account/delete-push-target.md +++ b/docs/examples/1.5.x/client-web/examples/account/delete-push-target.md @@ -2,7 +2,7 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.deletePushTarget( '<TARGET_ID>' // targetId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/delete-session.md b/docs/examples/1.5.x/client-web/examples/account/delete-session.md index 4d5129f51e..15e91fada0 100644 --- a/docs/examples/1.5.x/client-web/examples/account/delete-session.md +++ b/docs/examples/1.5.x/client-web/examples/account/delete-session.md @@ -2,7 +2,7 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.deleteSession( '<SESSION_ID>' // sessionId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/delete-sessions.md b/docs/examples/1.5.x/client-web/examples/account/delete-sessions.md index a15d1309a1..71761b2e77 100644 --- a/docs/examples/1.5.x/client-web/examples/account/delete-sessions.md +++ b/docs/examples/1.5.x/client-web/examples/account/delete-sessions.md @@ -2,10 +2,10 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.deleteSessions(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.5.x/client-web/examples/account/get-mfa-recovery-codes.md index fe3b7a3759..3a8c308052 100644 --- a/docs/examples/1.5.x/client-web/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/client-web/examples/account/get-mfa-recovery-codes.md @@ -2,10 +2,10 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.getMfaRecoveryCodes(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/get-prefs.md b/docs/examples/1.5.x/client-web/examples/account/get-prefs.md index a65891177f..749df1642f 100644 --- a/docs/examples/1.5.x/client-web/examples/account/get-prefs.md +++ b/docs/examples/1.5.x/client-web/examples/account/get-prefs.md @@ -2,10 +2,10 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.getPrefs(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/get-session.md b/docs/examples/1.5.x/client-web/examples/account/get-session.md index b11278b937..6e491f5f68 100644 --- a/docs/examples/1.5.x/client-web/examples/account/get-session.md +++ b/docs/examples/1.5.x/client-web/examples/account/get-session.md @@ -2,7 +2,7 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.getSession( '<SESSION_ID>' // sessionId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/get.md b/docs/examples/1.5.x/client-web/examples/account/get.md index 7c000bbe89..16498a4b39 100644 --- a/docs/examples/1.5.x/client-web/examples/account/get.md +++ b/docs/examples/1.5.x/client-web/examples/account/get.md @@ -2,10 +2,10 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.get(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/list-factors.md b/docs/examples/1.5.x/client-web/examples/account/list-factors.md index a8a152f763..d9d2bcb0ef 100644 --- a/docs/examples/1.5.x/client-web/examples/account/list-factors.md +++ b/docs/examples/1.5.x/client-web/examples/account/list-factors.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/client-web/examples/account/list-identities.md b/docs/examples/1.5.x/client-web/examples/account/list-identities.md index 4c627ce07d..f6febdf192 100644 --- a/docs/examples/1.5.x/client-web/examples/account/list-identities.md +++ b/docs/examples/1.5.x/client-web/examples/account/list-identities.md @@ -2,7 +2,7 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.listIdentities( [] // queries (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/list-logs.md b/docs/examples/1.5.x/client-web/examples/account/list-logs.md index 973e37b2f0..02f1abb0b7 100644 --- a/docs/examples/1.5.x/client-web/examples/account/list-logs.md +++ b/docs/examples/1.5.x/client-web/examples/account/list-logs.md @@ -2,7 +2,7 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.listLogs( [] // queries (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/list-mfa-factors.md b/docs/examples/1.5.x/client-web/examples/account/list-mfa-factors.md index 2e7a6f1934..9a9c0d4cd6 100644 --- a/docs/examples/1.5.x/client-web/examples/account/list-mfa-factors.md +++ b/docs/examples/1.5.x/client-web/examples/account/list-mfa-factors.md @@ -2,10 +2,10 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.listMfaFactors(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/list-sessions.md b/docs/examples/1.5.x/client-web/examples/account/list-sessions.md index 0220b3abf1..a42018a00f 100644 --- a/docs/examples/1.5.x/client-web/examples/account/list-sessions.md +++ b/docs/examples/1.5.x/client-web/examples/account/list-sessions.md @@ -2,10 +2,10 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.listSessions(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/update-challenge.md b/docs/examples/1.5.x/client-web/examples/account/update-challenge.md index 7437b3a6fc..de95606069 100644 --- a/docs/examples/1.5.x/client-web/examples/account/update-challenge.md +++ b/docs/examples/1.5.x/client-web/examples/account/update-challenge.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/client-web/examples/account/update-email.md b/docs/examples/1.5.x/client-web/examples/account/update-email.md index 06fabe0888..e15f23c1c9 100644 --- a/docs/examples/1.5.x/client-web/examples/account/update-email.md +++ b/docs/examples/1.5.x/client-web/examples/account/update-email.md @@ -2,7 +2,7 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.updateEmail( 'password' // password ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/update-m-f-a.md b/docs/examples/1.5.x/client-web/examples/account/update-m-f-a.md index 4e6bb651af..8ac7607086 100644 --- a/docs/examples/1.5.x/client-web/examples/account/update-m-f-a.md +++ b/docs/examples/1.5.x/client-web/examples/account/update-m-f-a.md @@ -2,7 +2,7 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.updateMFA( false // mfa ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.5.x/client-web/examples/account/update-magic-u-r-l-session.md index 665b9f28df..5f268f8983 100644 --- a/docs/examples/1.5.x/client-web/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.5.x/client-web/examples/account/update-magic-u-r-l-session.md @@ -2,7 +2,7 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.updateMagicURLSession( '<SECRET>' // secret ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/update-mfa-authenticator.md b/docs/examples/1.5.x/client-web/examples/account/update-mfa-authenticator.md index 50bd12105b..3441946303 100644 --- a/docs/examples/1.5.x/client-web/examples/account/update-mfa-authenticator.md +++ b/docs/examples/1.5.x/client-web/examples/account/update-mfa-authenticator.md @@ -2,7 +2,7 @@ import { Client, Account, AuthenticatorType } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.updateMfaAuthenticator( '<OTP>' // otp ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/update-mfa-challenge.md b/docs/examples/1.5.x/client-web/examples/account/update-mfa-challenge.md index ca9a85d0f4..6c83570d3d 100644 --- a/docs/examples/1.5.x/client-web/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.5.x/client-web/examples/account/update-mfa-challenge.md @@ -2,7 +2,7 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.updateMfaChallenge( '<OTP>' // otp ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/update-mfa-recovery-codes.md b/docs/examples/1.5.x/client-web/examples/account/update-mfa-recovery-codes.md index 529fbae440..dce2d4e2e0 100644 --- a/docs/examples/1.5.x/client-web/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/client-web/examples/account/update-mfa-recovery-codes.md @@ -2,10 +2,10 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.updateMfaRecoveryCodes(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/update-name.md b/docs/examples/1.5.x/client-web/examples/account/update-name.md index ac11894f8c..26258fd055 100644 --- a/docs/examples/1.5.x/client-web/examples/account/update-name.md +++ b/docs/examples/1.5.x/client-web/examples/account/update-name.md @@ -2,7 +2,7 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.updateName( '<NAME>' // name ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/update-password.md b/docs/examples/1.5.x/client-web/examples/account/update-password.md index f7c815ba76..84267c0649 100644 --- a/docs/examples/1.5.x/client-web/examples/account/update-password.md +++ b/docs/examples/1.5.x/client-web/examples/account/update-password.md @@ -2,7 +2,7 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.updatePassword( 'password' // oldPassword (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/update-phone-session.md b/docs/examples/1.5.x/client-web/examples/account/update-phone-session.md index 1d64eb539e..5ab1985187 100644 --- a/docs/examples/1.5.x/client-web/examples/account/update-phone-session.md +++ b/docs/examples/1.5.x/client-web/examples/account/update-phone-session.md @@ -2,7 +2,7 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.updatePhoneSession( '<SECRET>' // secret ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/update-phone-verification.md b/docs/examples/1.5.x/client-web/examples/account/update-phone-verification.md index 53251691ea..91cb79d063 100644 --- a/docs/examples/1.5.x/client-web/examples/account/update-phone-verification.md +++ b/docs/examples/1.5.x/client-web/examples/account/update-phone-verification.md @@ -2,7 +2,7 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.updatePhoneVerification( '<SECRET>' // secret ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/update-phone.md b/docs/examples/1.5.x/client-web/examples/account/update-phone.md index 87779d4afb..03947e31d5 100644 --- a/docs/examples/1.5.x/client-web/examples/account/update-phone.md +++ b/docs/examples/1.5.x/client-web/examples/account/update-phone.md @@ -2,7 +2,7 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.updatePhone( 'password' // password ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/update-prefs.md b/docs/examples/1.5.x/client-web/examples/account/update-prefs.md index d97cd05918..4f3039f3d8 100644 --- a/docs/examples/1.5.x/client-web/examples/account/update-prefs.md +++ b/docs/examples/1.5.x/client-web/examples/account/update-prefs.md @@ -2,7 +2,7 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.updatePrefs( {} // prefs ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/update-push-target.md b/docs/examples/1.5.x/client-web/examples/account/update-push-target.md index a8ac97c23f..4803f6ba1e 100644 --- a/docs/examples/1.5.x/client-web/examples/account/update-push-target.md +++ b/docs/examples/1.5.x/client-web/examples/account/update-push-target.md @@ -2,7 +2,7 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.updatePushTarget( '<IDENTIFIER>' // identifier ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/update-recovery.md b/docs/examples/1.5.x/client-web/examples/account/update-recovery.md index 90bfb6d442..716efd2b48 100644 --- a/docs/examples/1.5.x/client-web/examples/account/update-recovery.md +++ b/docs/examples/1.5.x/client-web/examples/account/update-recovery.md @@ -2,7 +2,7 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -12,4 +12,4 @@ const result = await account.updateRecovery( '' // password ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/update-session.md b/docs/examples/1.5.x/client-web/examples/account/update-session.md index 5f30f172e5..b4370569b9 100644 --- a/docs/examples/1.5.x/client-web/examples/account/update-session.md +++ b/docs/examples/1.5.x/client-web/examples/account/update-session.md @@ -2,7 +2,7 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.updateSession( '<SESSION_ID>' // sessionId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/update-status.md b/docs/examples/1.5.x/client-web/examples/account/update-status.md index e67bc78021..c4b2c0eafb 100644 --- a/docs/examples/1.5.x/client-web/examples/account/update-status.md +++ b/docs/examples/1.5.x/client-web/examples/account/update-status.md @@ -2,10 +2,10 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.updateStatus(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/update-verification.md b/docs/examples/1.5.x/client-web/examples/account/update-verification.md index a57fe4bf63..f928efdb4e 100644 --- a/docs/examples/1.5.x/client-web/examples/account/update-verification.md +++ b/docs/examples/1.5.x/client-web/examples/account/update-verification.md @@ -2,7 +2,7 @@ import { Client, Account } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.updateVerification( '<SECRET>' // secret ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/account/verify-authenticator.md b/docs/examples/1.5.x/client-web/examples/account/verify-authenticator.md index 905ff39792..1c943e098e 100644 --- a/docs/examples/1.5.x/client-web/examples/account/verify-authenticator.md +++ b/docs/examples/1.5.x/client-web/examples/account/verify-authenticator.md @@ -1,7 +1,7 @@ import { Client, Account, AuthenticatorType } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/client-web/examples/avatars/get-browser.md b/docs/examples/1.5.x/client-web/examples/avatars/get-browser.md index 682ba98f47..3ead6d6d2b 100644 --- a/docs/examples/1.5.x/client-web/examples/avatars/get-browser.md +++ b/docs/examples/1.5.x/client-web/examples/avatars/get-browser.md @@ -2,7 +2,7 @@ import { Client, Avatars, Browser } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/client-web/examples/avatars/get-credit-card.md b/docs/examples/1.5.x/client-web/examples/avatars/get-credit-card.md index 68b5337eac..1391a33f19 100644 --- a/docs/examples/1.5.x/client-web/examples/avatars/get-credit-card.md +++ b/docs/examples/1.5.x/client-web/examples/avatars/get-credit-card.md @@ -2,7 +2,7 @@ import { Client, Avatars, CreditCard } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/client-web/examples/avatars/get-favicon.md b/docs/examples/1.5.x/client-web/examples/avatars/get-favicon.md index 5d5e93bef5..4da10c5f30 100644 --- a/docs/examples/1.5.x/client-web/examples/avatars/get-favicon.md +++ b/docs/examples/1.5.x/client-web/examples/avatars/get-favicon.md @@ -2,7 +2,7 @@ import { Client, Avatars } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/client-web/examples/avatars/get-flag.md b/docs/examples/1.5.x/client-web/examples/avatars/get-flag.md index e8521c9fa4..3bfe49d649 100644 --- a/docs/examples/1.5.x/client-web/examples/avatars/get-flag.md +++ b/docs/examples/1.5.x/client-web/examples/avatars/get-flag.md @@ -2,7 +2,7 @@ import { Client, Avatars, Flag } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/client-web/examples/avatars/get-image.md b/docs/examples/1.5.x/client-web/examples/avatars/get-image.md index 8b8fbd97e9..ef639f6079 100644 --- a/docs/examples/1.5.x/client-web/examples/avatars/get-image.md +++ b/docs/examples/1.5.x/client-web/examples/avatars/get-image.md @@ -2,7 +2,7 @@ import { Client, Avatars } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/client-web/examples/avatars/get-initials.md b/docs/examples/1.5.x/client-web/examples/avatars/get-initials.md index cc456a4638..25d23203dd 100644 --- a/docs/examples/1.5.x/client-web/examples/avatars/get-initials.md +++ b/docs/examples/1.5.x/client-web/examples/avatars/get-initials.md @@ -2,7 +2,7 @@ import { Client, Avatars } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/client-web/examples/avatars/get-q-r.md b/docs/examples/1.5.x/client-web/examples/avatars/get-q-r.md index 5254a56fd0..83344a0c84 100644 --- a/docs/examples/1.5.x/client-web/examples/avatars/get-q-r.md +++ b/docs/examples/1.5.x/client-web/examples/avatars/get-q-r.md @@ -2,7 +2,7 @@ import { Client, Avatars } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/client-web/examples/databases/create-document.md b/docs/examples/1.5.x/client-web/examples/databases/create-document.md index 3a4d53d24d..45448a893c 100644 --- a/docs/examples/1.5.x/client-web/examples/databases/create-document.md +++ b/docs/examples/1.5.x/client-web/examples/databases/create-document.md @@ -2,7 +2,7 @@ import { Client, Databases } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -14,4 +14,4 @@ const result = await databases.createDocument( ["read("any")"] // permissions (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/databases/delete-document.md b/docs/examples/1.5.x/client-web/examples/databases/delete-document.md index a08b3c7cc0..623e172a01 100644 --- a/docs/examples/1.5.x/client-web/examples/databases/delete-document.md +++ b/docs/examples/1.5.x/client-web/examples/databases/delete-document.md @@ -2,7 +2,7 @@ import { Client, Databases } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -12,4 +12,4 @@ const result = await databases.deleteDocument( '<DOCUMENT_ID>' // documentId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/databases/get-document.md b/docs/examples/1.5.x/client-web/examples/databases/get-document.md index d8fe456dbb..bdf9089c50 100644 --- a/docs/examples/1.5.x/client-web/examples/databases/get-document.md +++ b/docs/examples/1.5.x/client-web/examples/databases/get-document.md @@ -2,7 +2,7 @@ import { Client, Databases } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -13,4 +13,4 @@ const result = await databases.getDocument( [] // queries (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/databases/list-documents.md b/docs/examples/1.5.x/client-web/examples/databases/list-documents.md index 3070b002b6..1d5e48a8db 100644 --- a/docs/examples/1.5.x/client-web/examples/databases/list-documents.md +++ b/docs/examples/1.5.x/client-web/examples/databases/list-documents.md @@ -2,7 +2,7 @@ import { Client, Databases } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -12,4 +12,4 @@ const result = await databases.listDocuments( [] // queries (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/databases/update-document.md b/docs/examples/1.5.x/client-web/examples/databases/update-document.md index 1daaf01038..b7e4d5b276 100644 --- a/docs/examples/1.5.x/client-web/examples/databases/update-document.md +++ b/docs/examples/1.5.x/client-web/examples/databases/update-document.md @@ -2,7 +2,7 @@ import { Client, Databases } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -14,4 +14,4 @@ const result = await databases.updateDocument( ["read("any")"] // permissions (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/functions/create-execution.md b/docs/examples/1.5.x/client-web/examples/functions/create-execution.md index 4a62462c15..401874f375 100644 --- a/docs/examples/1.5.x/client-web/examples/functions/create-execution.md +++ b/docs/examples/1.5.x/client-web/examples/functions/create-execution.md @@ -2,7 +2,7 @@ import { Client, Functions, ExecutionMethod } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); @@ -12,7 +12,8 @@ const result = await functions.createExecution( false, // async (optional) '<PATH>', // path (optional) ExecutionMethod.GET, // method (optional) - {} // headers (optional) + {}, // headers (optional) + '' // scheduledAt (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/functions/get-execution.md b/docs/examples/1.5.x/client-web/examples/functions/get-execution.md index 06f9e484cd..05e2c3c722 100644 --- a/docs/examples/1.5.x/client-web/examples/functions/get-execution.md +++ b/docs/examples/1.5.x/client-web/examples/functions/get-execution.md @@ -2,7 +2,7 @@ import { Client, Functions } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); @@ -11,4 +11,4 @@ const result = await functions.getExecution( '<EXECUTION_ID>' // executionId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/functions/list-executions.md b/docs/examples/1.5.x/client-web/examples/functions/list-executions.md index f6a1c1f2fb..93a70d950c 100644 --- a/docs/examples/1.5.x/client-web/examples/functions/list-executions.md +++ b/docs/examples/1.5.x/client-web/examples/functions/list-executions.md @@ -2,7 +2,7 @@ import { Client, Functions } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); @@ -12,4 +12,4 @@ const result = await functions.listExecutions( '<SEARCH>' // search (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/graphql/mutation.md b/docs/examples/1.5.x/client-web/examples/graphql/mutation.md index ca03455d19..b875f0e93a 100644 --- a/docs/examples/1.5.x/client-web/examples/graphql/mutation.md +++ b/docs/examples/1.5.x/client-web/examples/graphql/mutation.md @@ -2,7 +2,7 @@ import { Client, Graphql } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const graphql = new Graphql(client); @@ -10,4 +10,4 @@ const result = await graphql.mutation( {} // query ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/graphql/query.md b/docs/examples/1.5.x/client-web/examples/graphql/query.md index 305e4c1927..c0f925a3a0 100644 --- a/docs/examples/1.5.x/client-web/examples/graphql/query.md +++ b/docs/examples/1.5.x/client-web/examples/graphql/query.md @@ -2,7 +2,7 @@ import { Client, Graphql } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const graphql = new Graphql(client); @@ -10,4 +10,4 @@ const result = await graphql.query( {} // query ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/locale/get.md b/docs/examples/1.5.x/client-web/examples/locale/get.md index 006f3392df..f3a46b43fd 100644 --- a/docs/examples/1.5.x/client-web/examples/locale/get.md +++ b/docs/examples/1.5.x/client-web/examples/locale/get.md @@ -2,10 +2,10 @@ import { Client, Locale } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); const result = await locale.get(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/locale/list-codes.md b/docs/examples/1.5.x/client-web/examples/locale/list-codes.md index ca73077f85..36957e9fec 100644 --- a/docs/examples/1.5.x/client-web/examples/locale/list-codes.md +++ b/docs/examples/1.5.x/client-web/examples/locale/list-codes.md @@ -2,10 +2,10 @@ import { Client, Locale } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); const result = await locale.listCodes(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/locale/list-continents.md b/docs/examples/1.5.x/client-web/examples/locale/list-continents.md index 83e35e207b..be3b2fa647 100644 --- a/docs/examples/1.5.x/client-web/examples/locale/list-continents.md +++ b/docs/examples/1.5.x/client-web/examples/locale/list-continents.md @@ -2,10 +2,10 @@ import { Client, Locale } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); const result = await locale.listContinents(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/locale/list-countries-e-u.md b/docs/examples/1.5.x/client-web/examples/locale/list-countries-e-u.md index 7a18ab12f4..a3af6ae93c 100644 --- a/docs/examples/1.5.x/client-web/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.5.x/client-web/examples/locale/list-countries-e-u.md @@ -2,10 +2,10 @@ import { Client, Locale } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); const result = await locale.listCountriesEU(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/locale/list-countries-phones.md b/docs/examples/1.5.x/client-web/examples/locale/list-countries-phones.md index 2e0daa1226..d6845b70db 100644 --- a/docs/examples/1.5.x/client-web/examples/locale/list-countries-phones.md +++ b/docs/examples/1.5.x/client-web/examples/locale/list-countries-phones.md @@ -2,10 +2,10 @@ import { Client, Locale } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); const result = await locale.listCountriesPhones(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/locale/list-countries.md b/docs/examples/1.5.x/client-web/examples/locale/list-countries.md index 28ce9ccc32..defdfec006 100644 --- a/docs/examples/1.5.x/client-web/examples/locale/list-countries.md +++ b/docs/examples/1.5.x/client-web/examples/locale/list-countries.md @@ -2,10 +2,10 @@ import { Client, Locale } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); const result = await locale.listCountries(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/locale/list-currencies.md b/docs/examples/1.5.x/client-web/examples/locale/list-currencies.md index 9ab5b1308d..7cbf8b81d9 100644 --- a/docs/examples/1.5.x/client-web/examples/locale/list-currencies.md +++ b/docs/examples/1.5.x/client-web/examples/locale/list-currencies.md @@ -2,10 +2,10 @@ import { Client, Locale } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); const result = await locale.listCurrencies(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/locale/list-languages.md b/docs/examples/1.5.x/client-web/examples/locale/list-languages.md index ea02c7fa5f..4f3f877332 100644 --- a/docs/examples/1.5.x/client-web/examples/locale/list-languages.md +++ b/docs/examples/1.5.x/client-web/examples/locale/list-languages.md @@ -2,10 +2,10 @@ import { Client, Locale } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); const result = await locale.listLanguages(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/messaging/create-subscriber.md b/docs/examples/1.5.x/client-web/examples/messaging/create-subscriber.md index 6485fe3784..1fa1de5d51 100644 --- a/docs/examples/1.5.x/client-web/examples/messaging/create-subscriber.md +++ b/docs/examples/1.5.x/client-web/examples/messaging/create-subscriber.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -12,4 +12,4 @@ const result = await messaging.createSubscriber( '<TARGET_ID>' // targetId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/messaging/delete-subscriber.md b/docs/examples/1.5.x/client-web/examples/messaging/delete-subscriber.md index 1319c9a2ee..bbed0715c0 100644 --- a/docs/examples/1.5.x/client-web/examples/messaging/delete-subscriber.md +++ b/docs/examples/1.5.x/client-web/examples/messaging/delete-subscriber.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -11,4 +11,4 @@ const result = await messaging.deleteSubscriber( '<SUBSCRIBER_ID>' // subscriberId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/storage/create-file.md b/docs/examples/1.5.x/client-web/examples/storage/create-file.md index 644fc652f3..db2200b86a 100644 --- a/docs/examples/1.5.x/client-web/examples/storage/create-file.md +++ b/docs/examples/1.5.x/client-web/examples/storage/create-file.md @@ -2,7 +2,7 @@ import { Client, Storage } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); @@ -13,4 +13,4 @@ const result = await storage.createFile( ["read("any")"] // permissions (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/storage/delete-file.md b/docs/examples/1.5.x/client-web/examples/storage/delete-file.md index aefef46a62..52cc1d4fa2 100644 --- a/docs/examples/1.5.x/client-web/examples/storage/delete-file.md +++ b/docs/examples/1.5.x/client-web/examples/storage/delete-file.md @@ -2,7 +2,7 @@ import { Client, Storage } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); @@ -11,4 +11,4 @@ const result = await storage.deleteFile( '<FILE_ID>' // fileId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/storage/get-file-download.md b/docs/examples/1.5.x/client-web/examples/storage/get-file-download.md index 4ec5e6376f..d37541dd06 100644 --- a/docs/examples/1.5.x/client-web/examples/storage/get-file-download.md +++ b/docs/examples/1.5.x/client-web/examples/storage/get-file-download.md @@ -2,7 +2,7 @@ import { Client, Storage } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.5.x/client-web/examples/storage/get-file-preview.md b/docs/examples/1.5.x/client-web/examples/storage/get-file-preview.md index c674e937b7..629417325b 100644 --- a/docs/examples/1.5.x/client-web/examples/storage/get-file-preview.md +++ b/docs/examples/1.5.x/client-web/examples/storage/get-file-preview.md @@ -2,7 +2,7 @@ import { Client, Storage, ImageGravity, ImageFormat } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.5.x/client-web/examples/storage/get-file-view.md b/docs/examples/1.5.x/client-web/examples/storage/get-file-view.md index db16105941..9a58250003 100644 --- a/docs/examples/1.5.x/client-web/examples/storage/get-file-view.md +++ b/docs/examples/1.5.x/client-web/examples/storage/get-file-view.md @@ -2,7 +2,7 @@ import { Client, Storage } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.5.x/client-web/examples/storage/get-file.md b/docs/examples/1.5.x/client-web/examples/storage/get-file.md index e52dc19a53..36c4b45ca6 100644 --- a/docs/examples/1.5.x/client-web/examples/storage/get-file.md +++ b/docs/examples/1.5.x/client-web/examples/storage/get-file.md @@ -2,7 +2,7 @@ import { Client, Storage } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); @@ -11,4 +11,4 @@ const result = await storage.getFile( '<FILE_ID>' // fileId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/storage/list-files.md b/docs/examples/1.5.x/client-web/examples/storage/list-files.md index ab5a755b5b..731a76e312 100644 --- a/docs/examples/1.5.x/client-web/examples/storage/list-files.md +++ b/docs/examples/1.5.x/client-web/examples/storage/list-files.md @@ -2,7 +2,7 @@ import { Client, Storage } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); @@ -12,4 +12,4 @@ const result = await storage.listFiles( '<SEARCH>' // search (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/storage/update-file.md b/docs/examples/1.5.x/client-web/examples/storage/update-file.md index 8eac864d29..75aefc1120 100644 --- a/docs/examples/1.5.x/client-web/examples/storage/update-file.md +++ b/docs/examples/1.5.x/client-web/examples/storage/update-file.md @@ -2,7 +2,7 @@ import { Client, Storage } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); @@ -13,4 +13,4 @@ const result = await storage.updateFile( ["read("any")"] // permissions (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/teams/create-membership.md b/docs/examples/1.5.x/client-web/examples/teams/create-membership.md index 9d255ec1c6..3f585859a9 100644 --- a/docs/examples/1.5.x/client-web/examples/teams/create-membership.md +++ b/docs/examples/1.5.x/client-web/examples/teams/create-membership.md @@ -2,7 +2,7 @@ import { Client, Teams } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -16,4 +16,4 @@ const result = await teams.createMembership( '<NAME>' // name (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/teams/create.md b/docs/examples/1.5.x/client-web/examples/teams/create.md index 00ca64da29..ffa1414878 100644 --- a/docs/examples/1.5.x/client-web/examples/teams/create.md +++ b/docs/examples/1.5.x/client-web/examples/teams/create.md @@ -2,7 +2,7 @@ import { Client, Teams } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -12,4 +12,4 @@ const result = await teams.create( [] // roles (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/teams/delete-membership.md b/docs/examples/1.5.x/client-web/examples/teams/delete-membership.md index c2045cd8c4..dc871165ee 100644 --- a/docs/examples/1.5.x/client-web/examples/teams/delete-membership.md +++ b/docs/examples/1.5.x/client-web/examples/teams/delete-membership.md @@ -2,7 +2,7 @@ import { Client, Teams } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -11,4 +11,4 @@ const result = await teams.deleteMembership( '<MEMBERSHIP_ID>' // membershipId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/teams/delete.md b/docs/examples/1.5.x/client-web/examples/teams/delete.md index f6e5cb7a96..99ce85673f 100644 --- a/docs/examples/1.5.x/client-web/examples/teams/delete.md +++ b/docs/examples/1.5.x/client-web/examples/teams/delete.md @@ -2,7 +2,7 @@ import { Client, Teams } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -10,4 +10,4 @@ const result = await teams.delete( '<TEAM_ID>' // teamId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/teams/get-membership.md b/docs/examples/1.5.x/client-web/examples/teams/get-membership.md index 9871a42b18..d4abeeff73 100644 --- a/docs/examples/1.5.x/client-web/examples/teams/get-membership.md +++ b/docs/examples/1.5.x/client-web/examples/teams/get-membership.md @@ -2,7 +2,7 @@ import { Client, Teams } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -11,4 +11,4 @@ const result = await teams.getMembership( '<MEMBERSHIP_ID>' // membershipId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/teams/get-prefs.md b/docs/examples/1.5.x/client-web/examples/teams/get-prefs.md index a3d036ba26..b5b3d1295f 100644 --- a/docs/examples/1.5.x/client-web/examples/teams/get-prefs.md +++ b/docs/examples/1.5.x/client-web/examples/teams/get-prefs.md @@ -2,7 +2,7 @@ import { Client, Teams } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -10,4 +10,4 @@ const result = await teams.getPrefs( '<TEAM_ID>' // teamId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/teams/get.md b/docs/examples/1.5.x/client-web/examples/teams/get.md index f54180f2ab..8306cc59b6 100644 --- a/docs/examples/1.5.x/client-web/examples/teams/get.md +++ b/docs/examples/1.5.x/client-web/examples/teams/get.md @@ -2,7 +2,7 @@ import { Client, Teams } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -10,4 +10,4 @@ const result = await teams.get( '<TEAM_ID>' // teamId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/teams/list-memberships.md b/docs/examples/1.5.x/client-web/examples/teams/list-memberships.md index 436a79b901..b1c068112b 100644 --- a/docs/examples/1.5.x/client-web/examples/teams/list-memberships.md +++ b/docs/examples/1.5.x/client-web/examples/teams/list-memberships.md @@ -2,7 +2,7 @@ import { Client, Teams } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -12,4 +12,4 @@ const result = await teams.listMemberships( '<SEARCH>' // search (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/teams/list.md b/docs/examples/1.5.x/client-web/examples/teams/list.md index 2376863b67..0d000e9b35 100644 --- a/docs/examples/1.5.x/client-web/examples/teams/list.md +++ b/docs/examples/1.5.x/client-web/examples/teams/list.md @@ -2,7 +2,7 @@ import { Client, Teams } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -11,4 +11,4 @@ const result = await teams.list( '<SEARCH>' // search (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/teams/update-membership-status.md b/docs/examples/1.5.x/client-web/examples/teams/update-membership-status.md index 2e240fa8e7..dd32bbb6f1 100644 --- a/docs/examples/1.5.x/client-web/examples/teams/update-membership-status.md +++ b/docs/examples/1.5.x/client-web/examples/teams/update-membership-status.md @@ -2,7 +2,7 @@ import { Client, Teams } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -13,4 +13,4 @@ const result = await teams.updateMembershipStatus( '<SECRET>' // secret ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/teams/update-membership.md b/docs/examples/1.5.x/client-web/examples/teams/update-membership.md index dc55d04804..ae7fb9a49c 100644 --- a/docs/examples/1.5.x/client-web/examples/teams/update-membership.md +++ b/docs/examples/1.5.x/client-web/examples/teams/update-membership.md @@ -2,7 +2,7 @@ import { Client, Teams } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -12,4 +12,4 @@ const result = await teams.updateMembership( [] // roles ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/teams/update-name.md b/docs/examples/1.5.x/client-web/examples/teams/update-name.md index c000401069..553c77de3f 100644 --- a/docs/examples/1.5.x/client-web/examples/teams/update-name.md +++ b/docs/examples/1.5.x/client-web/examples/teams/update-name.md @@ -2,7 +2,7 @@ import { Client, Teams } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -11,4 +11,4 @@ const result = await teams.updateName( '<NAME>' // name ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/teams/update-prefs.md b/docs/examples/1.5.x/client-web/examples/teams/update-prefs.md index e0fbb766f6..55b273b996 100644 --- a/docs/examples/1.5.x/client-web/examples/teams/update-prefs.md +++ b/docs/examples/1.5.x/client-web/examples/teams/update-prefs.md @@ -2,7 +2,7 @@ import { Client, Teams } from "appwrite"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -11,4 +11,4 @@ const result = await teams.updatePrefs( {} // prefs ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/client-web/examples/users/delete-authenticator.md b/docs/examples/1.5.x/client-web/examples/users/delete-authenticator.md index 78e1a0e4a9..e874ce32de 100644 --- a/docs/examples/1.5.x/client-web/examples/users/delete-authenticator.md +++ b/docs/examples/1.5.x/client-web/examples/users/delete-authenticator.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.5.x/client-web/examples/users/list-providers.md b/docs/examples/1.5.x/client-web/examples/users/list-providers.md index c75066c988..7ed886ec18 100644 --- a/docs/examples/1.5.x/client-web/examples/users/list-providers.md +++ b/docs/examples/1.5.x/client-web/examples/users/list-providers.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.5.x/console-cli/examples/account/delete-mfa-authenticator.md b/docs/examples/1.5.x/console-cli/examples/account/delete-mfa-authenticator.md index c36e9d5578..d4664855b5 100644 --- a/docs/examples/1.5.x/console-cli/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/console-cli/examples/account/delete-mfa-authenticator.md @@ -1,3 +1,2 @@ appwrite account deleteMfaAuthenticator \ - --type totp \ - --otp <OTP> + --type totp diff --git a/docs/examples/1.5.x/console-cli/examples/databases/update-boolean-attribute.md b/docs/examples/1.5.x/console-cli/examples/databases/update-boolean-attribute.md index d48c3470fe..f5adb497ec 100644 --- a/docs/examples/1.5.x/console-cli/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.5.x/console-cli/examples/databases/update-boolean-attribute.md @@ -3,4 +3,5 @@ appwrite databases updateBooleanAttribute \ --collectionId <COLLECTION_ID> \ --key '' \ --required false \ - --default false + --default false \ + diff --git a/docs/examples/1.5.x/console-cli/examples/databases/update-datetime-attribute.md b/docs/examples/1.5.x/console-cli/examples/databases/update-datetime-attribute.md index 9fc56373ed..fe4a462664 100644 --- a/docs/examples/1.5.x/console-cli/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.5.x/console-cli/examples/databases/update-datetime-attribute.md @@ -3,4 +3,5 @@ appwrite databases updateDatetimeAttribute \ --collectionId <COLLECTION_ID> \ --key '' \ --required false \ - --default '' + --default '' \ + diff --git a/docs/examples/1.5.x/console-cli/examples/databases/update-email-attribute.md b/docs/examples/1.5.x/console-cli/examples/databases/update-email-attribute.md index 9f7bffeb9c..58510a6f8e 100644 --- a/docs/examples/1.5.x/console-cli/examples/databases/update-email-attribute.md +++ b/docs/examples/1.5.x/console-cli/examples/databases/update-email-attribute.md @@ -3,4 +3,5 @@ appwrite databases updateEmailAttribute \ --collectionId <COLLECTION_ID> \ --key '' \ --required false \ - --default email@example.com + --default email@example.com \ + diff --git a/docs/examples/1.5.x/console-cli/examples/databases/update-enum-attribute.md b/docs/examples/1.5.x/console-cli/examples/databases/update-enum-attribute.md index bf562a0a82..21d56d3e64 100644 --- a/docs/examples/1.5.x/console-cli/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.5.x/console-cli/examples/databases/update-enum-attribute.md @@ -4,4 +4,5 @@ appwrite databases updateEnumAttribute \ --key '' \ --elements one two three \ --required false \ - --default <DEFAULT> + --default <DEFAULT> \ + diff --git a/docs/examples/1.5.x/console-cli/examples/databases/update-float-attribute.md b/docs/examples/1.5.x/console-cli/examples/databases/update-float-attribute.md index 097dfd310a..a9bba3eb5e 100644 --- a/docs/examples/1.5.x/console-cli/examples/databases/update-float-attribute.md +++ b/docs/examples/1.5.x/console-cli/examples/databases/update-float-attribute.md @@ -3,6 +3,7 @@ appwrite databases updateFloatAttribute \ --collectionId <COLLECTION_ID> \ --key '' \ --required false \ - --min null \ - --max null \ - --default null + --default null \ + + + diff --git a/docs/examples/1.5.x/console-cli/examples/databases/update-integer-attribute.md b/docs/examples/1.5.x/console-cli/examples/databases/update-integer-attribute.md index 6a6b0747a8..660cd4d148 100644 --- a/docs/examples/1.5.x/console-cli/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.5.x/console-cli/examples/databases/update-integer-attribute.md @@ -3,6 +3,7 @@ appwrite databases updateIntegerAttribute \ --collectionId <COLLECTION_ID> \ --key '' \ --required false \ - --min null \ - --max null \ - --default null + --default null \ + + + diff --git a/docs/examples/1.5.x/console-cli/examples/databases/update-ip-attribute.md b/docs/examples/1.5.x/console-cli/examples/databases/update-ip-attribute.md index 2439b5a8de..a400eadc1e 100644 --- a/docs/examples/1.5.x/console-cli/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.5.x/console-cli/examples/databases/update-ip-attribute.md @@ -3,4 +3,5 @@ appwrite databases updateIpAttribute \ --collectionId <COLLECTION_ID> \ --key '' \ --required false \ - --default '' + --default '' \ + diff --git a/docs/examples/1.5.x/console-cli/examples/databases/update-relationship-attribute.md b/docs/examples/1.5.x/console-cli/examples/databases/update-relationship-attribute.md index be03a70736..6e2dbd927d 100644 --- a/docs/examples/1.5.x/console-cli/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.5.x/console-cli/examples/databases/update-relationship-attribute.md @@ -3,3 +3,4 @@ appwrite databases updateRelationshipAttribute \ --collectionId <COLLECTION_ID> \ --key '' \ + diff --git a/docs/examples/1.5.x/console-cli/examples/databases/update-string-attribute.md b/docs/examples/1.5.x/console-cli/examples/databases/update-string-attribute.md index ebf45253fa..526ece0b72 100644 --- a/docs/examples/1.5.x/console-cli/examples/databases/update-string-attribute.md +++ b/docs/examples/1.5.x/console-cli/examples/databases/update-string-attribute.md @@ -3,4 +3,6 @@ appwrite databases updateStringAttribute \ --collectionId <COLLECTION_ID> \ --key '' \ --required false \ - --default <DEFAULT> + --default <DEFAULT> \ + + diff --git a/docs/examples/1.5.x/console-cli/examples/databases/update-url-attribute.md b/docs/examples/1.5.x/console-cli/examples/databases/update-url-attribute.md index aa11a588db..e6f401b8ca 100644 --- a/docs/examples/1.5.x/console-cli/examples/databases/update-url-attribute.md +++ b/docs/examples/1.5.x/console-cli/examples/databases/update-url-attribute.md @@ -3,4 +3,5 @@ appwrite databases updateUrlAttribute \ --collectionId <COLLECTION_ID> \ --key '' \ --required false \ - --default https://example.com + --default https://example.com \ + diff --git a/docs/examples/1.5.x/console-cli/examples/functions/create-build.md b/docs/examples/1.5.x/console-cli/examples/functions/create-build.md index 98d087b089..5a99f7a908 100644 --- a/docs/examples/1.5.x/console-cli/examples/functions/create-build.md +++ b/docs/examples/1.5.x/console-cli/examples/functions/create-build.md @@ -1,4 +1,4 @@ appwrite functions createBuild \ --functionId <FUNCTION_ID> \ --deploymentId <DEPLOYMENT_ID> \ - --buildId <BUILD_ID> + diff --git a/docs/examples/1.5.x/console-cli/examples/functions/create-execution.md b/docs/examples/1.5.x/console-cli/examples/functions/create-execution.md index 1efb701829..febe88c541 100644 --- a/docs/examples/1.5.x/console-cli/examples/functions/create-execution.md +++ b/docs/examples/1.5.x/console-cli/examples/functions/create-execution.md @@ -5,3 +5,4 @@ appwrite functions createExecution \ + diff --git a/docs/examples/1.5.x/console-cli/examples/functions/create.md b/docs/examples/1.5.x/console-cli/examples/functions/create.md index cfc3c9c2ad..8b83c0ea0a 100644 --- a/docs/examples/1.5.x/console-cli/examples/functions/create.md +++ b/docs/examples/1.5.x/console-cli/examples/functions/create.md @@ -19,3 +19,5 @@ appwrite functions create \ + + diff --git a/docs/examples/1.5.x/console-cli/examples/functions/delete-execution.md b/docs/examples/1.5.x/console-cli/examples/functions/delete-execution.md new file mode 100644 index 0000000000..2926b5aaf1 --- /dev/null +++ b/docs/examples/1.5.x/console-cli/examples/functions/delete-execution.md @@ -0,0 +1,3 @@ +appwrite functions deleteExecution \ + --functionId <FUNCTION_ID> \ + --executionId <EXECUTION_ID> diff --git a/docs/examples/1.5.x/console-cli/examples/functions/get-deployment-download.md b/docs/examples/1.5.x/console-cli/examples/functions/get-deployment-download.md new file mode 100644 index 0000000000..2cbb2bd655 --- /dev/null +++ b/docs/examples/1.5.x/console-cli/examples/functions/get-deployment-download.md @@ -0,0 +1,3 @@ +appwrite functions getDeploymentDownload \ + --functionId <FUNCTION_ID> \ + --deploymentId <DEPLOYMENT_ID> diff --git a/docs/examples/1.5.x/console-cli/examples/functions/get-template.md b/docs/examples/1.5.x/console-cli/examples/functions/get-template.md new file mode 100644 index 0000000000..15c6068f35 --- /dev/null +++ b/docs/examples/1.5.x/console-cli/examples/functions/get-template.md @@ -0,0 +1,2 @@ +appwrite functions getTemplate \ + --templateId <TEMPLATE_ID> diff --git a/docs/examples/1.5.x/console-cli/examples/functions/list-specifications.md b/docs/examples/1.5.x/console-cli/examples/functions/list-specifications.md new file mode 100644 index 0000000000..1d64bc68e7 --- /dev/null +++ b/docs/examples/1.5.x/console-cli/examples/functions/list-specifications.md @@ -0,0 +1 @@ +appwrite functions listSpecifications diff --git a/docs/examples/1.5.x/console-cli/examples/functions/list-templates.md b/docs/examples/1.5.x/console-cli/examples/functions/list-templates.md new file mode 100644 index 0000000000..b48bab53e1 --- /dev/null +++ b/docs/examples/1.5.x/console-cli/examples/functions/list-templates.md @@ -0,0 +1,5 @@ +appwrite functions listTemplates \ + + + + diff --git a/docs/examples/1.5.x/console-cli/examples/functions/update-deployment-build.md b/docs/examples/1.5.x/console-cli/examples/functions/update-deployment-build.md new file mode 100644 index 0000000000..ddaf1e5955 --- /dev/null +++ b/docs/examples/1.5.x/console-cli/examples/functions/update-deployment-build.md @@ -0,0 +1,3 @@ +appwrite functions updateDeploymentBuild \ + --functionId <FUNCTION_ID> \ + --deploymentId <DEPLOYMENT_ID> diff --git a/docs/examples/1.5.x/console-cli/examples/functions/update.md b/docs/examples/1.5.x/console-cli/examples/functions/update.md index 6f42584e4a..7ac63e0cd1 100644 --- a/docs/examples/1.5.x/console-cli/examples/functions/update.md +++ b/docs/examples/1.5.x/console-cli/examples/functions/update.md @@ -15,3 +15,5 @@ appwrite functions update \ + + diff --git a/docs/examples/1.5.x/console-cli/examples/health/get-queue-stats-resources.md b/docs/examples/1.5.x/console-cli/examples/health/get-queue-stats-resources.md new file mode 100644 index 0000000000..9cce963748 --- /dev/null +++ b/docs/examples/1.5.x/console-cli/examples/health/get-queue-stats-resources.md @@ -0,0 +1,2 @@ +appwrite health getQueueStatsResources \ + diff --git a/docs/examples/1.5.x/console-cli/examples/messaging/create-push.md b/docs/examples/1.5.x/console-cli/examples/messaging/create-push.md index e187342503..18d8ec5aec 100644 --- a/docs/examples/1.5.x/console-cli/examples/messaging/create-push.md +++ b/docs/examples/1.5.x/console-cli/examples/messaging/create-push.md @@ -1,7 +1,10 @@ appwrite messaging createPush \ --messageId <MESSAGE_ID> \ - --title <TITLE> \ - --body <BODY> \ + + + + + diff --git a/docs/examples/1.5.x/console-cli/examples/messaging/update-push.md b/docs/examples/1.5.x/console-cli/examples/messaging/update-push.md index 70f215c935..1f4427cee7 100644 --- a/docs/examples/1.5.x/console-cli/examples/messaging/update-push.md +++ b/docs/examples/1.5.x/console-cli/examples/messaging/update-push.md @@ -15,3 +15,6 @@ appwrite messaging updatePush \ + + + diff --git a/docs/examples/1.5.x/console-cli/examples/projects/create-j-w-t.md b/docs/examples/1.5.x/console-cli/examples/projects/create-j-w-t.md new file mode 100644 index 0000000000..d703d36b65 --- /dev/null +++ b/docs/examples/1.5.x/console-cli/examples/projects/create-j-w-t.md @@ -0,0 +1,4 @@ +appwrite projects createJWT \ + --projectId <PROJECT_ID> \ + --scopes one two three \ + diff --git a/docs/examples/1.5.x/console-cli/examples/projects/update-memberships-privacy.md b/docs/examples/1.5.x/console-cli/examples/projects/update-memberships-privacy.md new file mode 100644 index 0000000000..6c811ccfce --- /dev/null +++ b/docs/examples/1.5.x/console-cli/examples/projects/update-memberships-privacy.md @@ -0,0 +1,5 @@ +appwrite projects updateMembershipsPrivacy \ + --projectId <PROJECT_ID> \ + --userName false \ + --userEmail false \ + --mfa false diff --git a/docs/examples/1.5.x/console-cli/examples/projects/update-mock-numbers.md b/docs/examples/1.5.x/console-cli/examples/projects/update-mock-numbers.md new file mode 100644 index 0000000000..733cc16887 --- /dev/null +++ b/docs/examples/1.5.x/console-cli/examples/projects/update-mock-numbers.md @@ -0,0 +1,3 @@ +appwrite projects updateMockNumbers \ + --projectId <PROJECT_ID> \ + --numbers one two three diff --git a/docs/examples/1.5.x/console-cli/examples/projects/update-session-alerts.md b/docs/examples/1.5.x/console-cli/examples/projects/update-session-alerts.md new file mode 100644 index 0000000000..bd23b7417a --- /dev/null +++ b/docs/examples/1.5.x/console-cli/examples/projects/update-session-alerts.md @@ -0,0 +1,3 @@ +appwrite projects updateSessionAlerts \ + --projectId <PROJECT_ID> \ + --alerts false diff --git a/docs/examples/1.5.x/console-cli/examples/users/create-j-w-t.md b/docs/examples/1.5.x/console-cli/examples/users/create-j-w-t.md new file mode 100644 index 0000000000..220086bb1a --- /dev/null +++ b/docs/examples/1.5.x/console-cli/examples/users/create-j-w-t.md @@ -0,0 +1,4 @@ +appwrite users createJWT \ + --userId <USER_ID> \ + + diff --git a/docs/examples/1.5.x/console-cli/examples/vcs/get-repository-contents.md b/docs/examples/1.5.x/console-cli/examples/vcs/get-repository-contents.md new file mode 100644 index 0000000000..7d378d7efa --- /dev/null +++ b/docs/examples/1.5.x/console-cli/examples/vcs/get-repository-contents.md @@ -0,0 +1,4 @@ +appwrite vcs getRepositoryContents \ + --installationId <INSTALLATION_ID> \ + --providerRepositoryId <PROVIDER_REPOSITORY_ID> \ + diff --git a/docs/examples/1.5.x/console-web/examples/account/add-authenticator.md b/docs/examples/1.5.x/console-web/examples/account/add-authenticator.md index a93945117b..0a699c7d3b 100644 --- a/docs/examples/1.5.x/console-web/examples/account/add-authenticator.md +++ b/docs/examples/1.5.x/console-web/examples/account/add-authenticator.md @@ -1,7 +1,7 @@ import { Client, Account, AuthenticatorType } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/console-web/examples/account/create-anonymous-session.md b/docs/examples/1.5.x/console-web/examples/account/create-anonymous-session.md index c3efd84a2d..ef433a8fb6 100644 --- a/docs/examples/1.5.x/console-web/examples/account/create-anonymous-session.md +++ b/docs/examples/1.5.x/console-web/examples/account/create-anonymous-session.md @@ -2,10 +2,10 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.createAnonymousSession(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/create-challenge.md b/docs/examples/1.5.x/console-web/examples/account/create-challenge.md index 2a2bd708e4..f4e89c39d9 100644 --- a/docs/examples/1.5.x/console-web/examples/account/create-challenge.md +++ b/docs/examples/1.5.x/console-web/examples/account/create-challenge.md @@ -1,7 +1,7 @@ import { Client, Account, AuthenticationFactor } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/console-web/examples/account/create-email-password-session.md b/docs/examples/1.5.x/console-web/examples/account/create-email-password-session.md index 09004c1a75..0f51387343 100644 --- a/docs/examples/1.5.x/console-web/examples/account/create-email-password-session.md +++ b/docs/examples/1.5.x/console-web/examples/account/create-email-password-session.md @@ -2,7 +2,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.createEmailPasswordSession( 'password' // password ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/create-email-token.md b/docs/examples/1.5.x/console-web/examples/account/create-email-token.md index 9536329336..b55f7c46bc 100644 --- a/docs/examples/1.5.x/console-web/examples/account/create-email-token.md +++ b/docs/examples/1.5.x/console-web/examples/account/create-email-token.md @@ -2,7 +2,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -12,4 +12,4 @@ const result = await account.createEmailToken( false // phrase (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/create-j-w-t.md b/docs/examples/1.5.x/console-web/examples/account/create-j-w-t.md index 72ecc6a066..4f47136a6b 100644 --- a/docs/examples/1.5.x/console-web/examples/account/create-j-w-t.md +++ b/docs/examples/1.5.x/console-web/examples/account/create-j-w-t.md @@ -2,10 +2,10 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.createJWT(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/create-magic-u-r-l-token.md b/docs/examples/1.5.x/console-web/examples/account/create-magic-u-r-l-token.md index dcdef26e26..68662b8a29 100644 --- a/docs/examples/1.5.x/console-web/examples/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.5.x/console-web/examples/account/create-magic-u-r-l-token.md @@ -2,7 +2,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -13,4 +13,4 @@ const result = await account.createMagicURLToken( false // phrase (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/create-mfa-authenticator.md b/docs/examples/1.5.x/console-web/examples/account/create-mfa-authenticator.md index 94dac4d8bb..97bd528cbf 100644 --- a/docs/examples/1.5.x/console-web/examples/account/create-mfa-authenticator.md +++ b/docs/examples/1.5.x/console-web/examples/account/create-mfa-authenticator.md @@ -2,7 +2,7 @@ import { Client, Account, AuthenticatorType } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.createMfaAuthenticator( AuthenticatorType.Totp // type ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/create-mfa-challenge.md b/docs/examples/1.5.x/console-web/examples/account/create-mfa-challenge.md index 2893120c8a..ed2cd38628 100644 --- a/docs/examples/1.5.x/console-web/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.5.x/console-web/examples/account/create-mfa-challenge.md @@ -2,7 +2,7 @@ import { Client, Account, AuthenticationFactor } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.createMfaChallenge( AuthenticationFactor.Email // factor ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/create-mfa-recovery-codes.md b/docs/examples/1.5.x/console-web/examples/account/create-mfa-recovery-codes.md index 13c28bbcdd..06f25dd817 100644 --- a/docs/examples/1.5.x/console-web/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/console-web/examples/account/create-mfa-recovery-codes.md @@ -2,10 +2,10 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.createMfaRecoveryCodes(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/create-o-auth2session.md b/docs/examples/1.5.x/console-web/examples/account/create-o-auth2session.md index 35ef6f8420..e565dd5840 100644 --- a/docs/examples/1.5.x/console-web/examples/account/create-o-auth2session.md +++ b/docs/examples/1.5.x/console-web/examples/account/create-o-auth2session.md @@ -2,7 +2,7 @@ import { Client, Account, OAuthProvider } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/console-web/examples/account/create-o-auth2token.md b/docs/examples/1.5.x/console-web/examples/account/create-o-auth2token.md index a35bb3837e..14c0d00af4 100644 --- a/docs/examples/1.5.x/console-web/examples/account/create-o-auth2token.md +++ b/docs/examples/1.5.x/console-web/examples/account/create-o-auth2token.md @@ -2,7 +2,7 @@ import { Client, Account, OAuthProvider } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/console-web/examples/account/create-phone-token.md b/docs/examples/1.5.x/console-web/examples/account/create-phone-token.md index 5d7c160cfd..21fdb81e31 100644 --- a/docs/examples/1.5.x/console-web/examples/account/create-phone-token.md +++ b/docs/examples/1.5.x/console-web/examples/account/create-phone-token.md @@ -2,7 +2,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.createPhoneToken( '+12065550100' // phone ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/create-phone-verification.md b/docs/examples/1.5.x/console-web/examples/account/create-phone-verification.md index 7a1320c7c1..4d193cbd39 100644 --- a/docs/examples/1.5.x/console-web/examples/account/create-phone-verification.md +++ b/docs/examples/1.5.x/console-web/examples/account/create-phone-verification.md @@ -2,10 +2,10 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.createPhoneVerification(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/create-push-target.md b/docs/examples/1.5.x/console-web/examples/account/create-push-target.md index 093abcce42..339b9972c6 100644 --- a/docs/examples/1.5.x/console-web/examples/account/create-push-target.md +++ b/docs/examples/1.5.x/console-web/examples/account/create-push-target.md @@ -2,7 +2,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -12,4 +12,4 @@ const result = await account.createPushTarget( '<PROVIDER_ID>' // providerId (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/create-recovery.md b/docs/examples/1.5.x/console-web/examples/account/create-recovery.md index 137e7c720e..b28d4f8b01 100644 --- a/docs/examples/1.5.x/console-web/examples/account/create-recovery.md +++ b/docs/examples/1.5.x/console-web/examples/account/create-recovery.md @@ -2,7 +2,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.createRecovery( 'https://example.com' // url ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/create-session.md b/docs/examples/1.5.x/console-web/examples/account/create-session.md index be5a2a38e1..06e12603e1 100644 --- a/docs/examples/1.5.x/console-web/examples/account/create-session.md +++ b/docs/examples/1.5.x/console-web/examples/account/create-session.md @@ -2,7 +2,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.createSession( '<SECRET>' // secret ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/create-verification.md b/docs/examples/1.5.x/console-web/examples/account/create-verification.md index 34bacb0e99..555030a79e 100644 --- a/docs/examples/1.5.x/console-web/examples/account/create-verification.md +++ b/docs/examples/1.5.x/console-web/examples/account/create-verification.md @@ -2,7 +2,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.createVerification( 'https://example.com' // url ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/create.md b/docs/examples/1.5.x/console-web/examples/account/create.md index 9c0d0353f0..120aceb9d9 100644 --- a/docs/examples/1.5.x/console-web/examples/account/create.md +++ b/docs/examples/1.5.x/console-web/examples/account/create.md @@ -2,7 +2,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -13,4 +13,4 @@ const result = await account.create( '<NAME>' // name (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/create2f-a-challenge.md b/docs/examples/1.5.x/console-web/examples/account/create2f-a-challenge.md index a10dded6a8..9868f5f4fd 100644 --- a/docs/examples/1.5.x/console-web/examples/account/create2f-a-challenge.md +++ b/docs/examples/1.5.x/console-web/examples/account/create2f-a-challenge.md @@ -1,7 +1,7 @@ import { Client, Account, AuthenticationFactor } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/console-web/examples/account/delete-authenticator.md b/docs/examples/1.5.x/console-web/examples/account/delete-authenticator.md index af72aae918..b7191f30c3 100644 --- a/docs/examples/1.5.x/console-web/examples/account/delete-authenticator.md +++ b/docs/examples/1.5.x/console-web/examples/account/delete-authenticator.md @@ -1,7 +1,7 @@ import { Client, Account, AuthenticatorType } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/console-web/examples/account/delete-identity.md b/docs/examples/1.5.x/console-web/examples/account/delete-identity.md index ed23adf0e0..a541e9bd34 100644 --- a/docs/examples/1.5.x/console-web/examples/account/delete-identity.md +++ b/docs/examples/1.5.x/console-web/examples/account/delete-identity.md @@ -2,7 +2,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.deleteIdentity( '<IDENTITY_ID>' // identityId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/delete-mfa-authenticator.md b/docs/examples/1.5.x/console-web/examples/account/delete-mfa-authenticator.md index 6b25790c06..64f27fdfac 100644 --- a/docs/examples/1.5.x/console-web/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/console-web/examples/account/delete-mfa-authenticator.md @@ -2,13 +2,12 @@ import { Client, Account, AuthenticatorType } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.deleteMfaAuthenticator( - AuthenticatorType.Totp, // type - '<OTP>' // otp + AuthenticatorType.Totp // type ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/delete-push-target.md b/docs/examples/1.5.x/console-web/examples/account/delete-push-target.md index 630ebfed04..017ebd438b 100644 --- a/docs/examples/1.5.x/console-web/examples/account/delete-push-target.md +++ b/docs/examples/1.5.x/console-web/examples/account/delete-push-target.md @@ -2,7 +2,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.deletePushTarget( '<TARGET_ID>' // targetId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/delete-session.md b/docs/examples/1.5.x/console-web/examples/account/delete-session.md index 490880022a..1045e98a82 100644 --- a/docs/examples/1.5.x/console-web/examples/account/delete-session.md +++ b/docs/examples/1.5.x/console-web/examples/account/delete-session.md @@ -2,7 +2,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.deleteSession( '<SESSION_ID>' // sessionId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/delete-sessions.md b/docs/examples/1.5.x/console-web/examples/account/delete-sessions.md index 76dd39963b..ff8c069503 100644 --- a/docs/examples/1.5.x/console-web/examples/account/delete-sessions.md +++ b/docs/examples/1.5.x/console-web/examples/account/delete-sessions.md @@ -2,10 +2,10 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.deleteSessions(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/delete.md b/docs/examples/1.5.x/console-web/examples/account/delete.md index 2f8cfac8e1..7fa1ef10d1 100644 --- a/docs/examples/1.5.x/console-web/examples/account/delete.md +++ b/docs/examples/1.5.x/console-web/examples/account/delete.md @@ -2,10 +2,10 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.delete(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.5.x/console-web/examples/account/get-mfa-recovery-codes.md index 1dee196749..6d47bc3b7c 100644 --- a/docs/examples/1.5.x/console-web/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/console-web/examples/account/get-mfa-recovery-codes.md @@ -2,10 +2,10 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.getMfaRecoveryCodes(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/get-prefs.md b/docs/examples/1.5.x/console-web/examples/account/get-prefs.md index 2a56a093c9..1470b683e5 100644 --- a/docs/examples/1.5.x/console-web/examples/account/get-prefs.md +++ b/docs/examples/1.5.x/console-web/examples/account/get-prefs.md @@ -2,10 +2,10 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.getPrefs(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/get-session.md b/docs/examples/1.5.x/console-web/examples/account/get-session.md index 6707c5184a..b7de88646a 100644 --- a/docs/examples/1.5.x/console-web/examples/account/get-session.md +++ b/docs/examples/1.5.x/console-web/examples/account/get-session.md @@ -2,7 +2,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.getSession( '<SESSION_ID>' // sessionId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/get.md b/docs/examples/1.5.x/console-web/examples/account/get.md index d8ef1be454..68dbf30b40 100644 --- a/docs/examples/1.5.x/console-web/examples/account/get.md +++ b/docs/examples/1.5.x/console-web/examples/account/get.md @@ -2,10 +2,10 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.get(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/list-factors.md b/docs/examples/1.5.x/console-web/examples/account/list-factors.md index 79e1549b40..dab56b7930 100644 --- a/docs/examples/1.5.x/console-web/examples/account/list-factors.md +++ b/docs/examples/1.5.x/console-web/examples/account/list-factors.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/console-web/examples/account/list-identities.md b/docs/examples/1.5.x/console-web/examples/account/list-identities.md index ad308c6647..f67e5817b3 100644 --- a/docs/examples/1.5.x/console-web/examples/account/list-identities.md +++ b/docs/examples/1.5.x/console-web/examples/account/list-identities.md @@ -2,7 +2,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.listIdentities( [] // queries (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/list-logs.md b/docs/examples/1.5.x/console-web/examples/account/list-logs.md index 15c5054f5c..0532a94e19 100644 --- a/docs/examples/1.5.x/console-web/examples/account/list-logs.md +++ b/docs/examples/1.5.x/console-web/examples/account/list-logs.md @@ -2,7 +2,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.listLogs( [] // queries (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/list-mfa-factors.md b/docs/examples/1.5.x/console-web/examples/account/list-mfa-factors.md index a990fb1175..3fa9652dbc 100644 --- a/docs/examples/1.5.x/console-web/examples/account/list-mfa-factors.md +++ b/docs/examples/1.5.x/console-web/examples/account/list-mfa-factors.md @@ -2,10 +2,10 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.listMfaFactors(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/list-sessions.md b/docs/examples/1.5.x/console-web/examples/account/list-sessions.md index b0b48c5866..2cc2663263 100644 --- a/docs/examples/1.5.x/console-web/examples/account/list-sessions.md +++ b/docs/examples/1.5.x/console-web/examples/account/list-sessions.md @@ -2,10 +2,10 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.listSessions(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/update-challenge.md b/docs/examples/1.5.x/console-web/examples/account/update-challenge.md index 2c5c34e5b6..8c79655a5e 100644 --- a/docs/examples/1.5.x/console-web/examples/account/update-challenge.md +++ b/docs/examples/1.5.x/console-web/examples/account/update-challenge.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/console-web/examples/account/update-email.md b/docs/examples/1.5.x/console-web/examples/account/update-email.md index eecb26fd61..d7b6fb7aca 100644 --- a/docs/examples/1.5.x/console-web/examples/account/update-email.md +++ b/docs/examples/1.5.x/console-web/examples/account/update-email.md @@ -2,7 +2,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.updateEmail( 'password' // password ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/update-m-f-a.md b/docs/examples/1.5.x/console-web/examples/account/update-m-f-a.md index a039ee6546..3c9dac0326 100644 --- a/docs/examples/1.5.x/console-web/examples/account/update-m-f-a.md +++ b/docs/examples/1.5.x/console-web/examples/account/update-m-f-a.md @@ -2,7 +2,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.updateMFA( false // mfa ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.5.x/console-web/examples/account/update-magic-u-r-l-session.md index d82c7c24e5..6bafae7723 100644 --- a/docs/examples/1.5.x/console-web/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.5.x/console-web/examples/account/update-magic-u-r-l-session.md @@ -2,7 +2,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.updateMagicURLSession( '<SECRET>' // secret ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/update-mfa-authenticator.md b/docs/examples/1.5.x/console-web/examples/account/update-mfa-authenticator.md index 7a5c6407bf..430bf63cd9 100644 --- a/docs/examples/1.5.x/console-web/examples/account/update-mfa-authenticator.md +++ b/docs/examples/1.5.x/console-web/examples/account/update-mfa-authenticator.md @@ -2,7 +2,7 @@ import { Client, Account, AuthenticatorType } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.updateMfaAuthenticator( '<OTP>' // otp ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/update-mfa-challenge.md b/docs/examples/1.5.x/console-web/examples/account/update-mfa-challenge.md index 2f3c8a77c8..c170cc272d 100644 --- a/docs/examples/1.5.x/console-web/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.5.x/console-web/examples/account/update-mfa-challenge.md @@ -2,7 +2,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.updateMfaChallenge( '<OTP>' // otp ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/update-mfa-recovery-codes.md b/docs/examples/1.5.x/console-web/examples/account/update-mfa-recovery-codes.md index d9ad68a1e2..f61a5a1c1e 100644 --- a/docs/examples/1.5.x/console-web/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/console-web/examples/account/update-mfa-recovery-codes.md @@ -2,10 +2,10 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.updateMfaRecoveryCodes(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/update-name.md b/docs/examples/1.5.x/console-web/examples/account/update-name.md index d3c0d89536..b2991305c5 100644 --- a/docs/examples/1.5.x/console-web/examples/account/update-name.md +++ b/docs/examples/1.5.x/console-web/examples/account/update-name.md @@ -2,7 +2,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.updateName( '<NAME>' // name ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/update-password.md b/docs/examples/1.5.x/console-web/examples/account/update-password.md index 1d797293a9..1c6c4ce5d0 100644 --- a/docs/examples/1.5.x/console-web/examples/account/update-password.md +++ b/docs/examples/1.5.x/console-web/examples/account/update-password.md @@ -2,7 +2,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.updatePassword( 'password' // oldPassword (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/update-phone-session.md b/docs/examples/1.5.x/console-web/examples/account/update-phone-session.md index c08b9927de..a9c7546674 100644 --- a/docs/examples/1.5.x/console-web/examples/account/update-phone-session.md +++ b/docs/examples/1.5.x/console-web/examples/account/update-phone-session.md @@ -2,7 +2,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.updatePhoneSession( '<SECRET>' // secret ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/update-phone-verification.md b/docs/examples/1.5.x/console-web/examples/account/update-phone-verification.md index 5417e11bf0..de1f471e88 100644 --- a/docs/examples/1.5.x/console-web/examples/account/update-phone-verification.md +++ b/docs/examples/1.5.x/console-web/examples/account/update-phone-verification.md @@ -2,7 +2,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.updatePhoneVerification( '<SECRET>' // secret ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/update-phone.md b/docs/examples/1.5.x/console-web/examples/account/update-phone.md index 82c1e9f084..8c1880b482 100644 --- a/docs/examples/1.5.x/console-web/examples/account/update-phone.md +++ b/docs/examples/1.5.x/console-web/examples/account/update-phone.md @@ -2,7 +2,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.updatePhone( 'password' // password ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/update-prefs.md b/docs/examples/1.5.x/console-web/examples/account/update-prefs.md index c5113b267d..e3581de341 100644 --- a/docs/examples/1.5.x/console-web/examples/account/update-prefs.md +++ b/docs/examples/1.5.x/console-web/examples/account/update-prefs.md @@ -2,7 +2,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.updatePrefs( {} // prefs ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/update-push-target.md b/docs/examples/1.5.x/console-web/examples/account/update-push-target.md index 612515134f..1cbf9e933f 100644 --- a/docs/examples/1.5.x/console-web/examples/account/update-push-target.md +++ b/docs/examples/1.5.x/console-web/examples/account/update-push-target.md @@ -2,7 +2,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.updatePushTarget( '<IDENTIFIER>' // identifier ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/update-recovery.md b/docs/examples/1.5.x/console-web/examples/account/update-recovery.md index 4034ad5901..3acc705f00 100644 --- a/docs/examples/1.5.x/console-web/examples/account/update-recovery.md +++ b/docs/examples/1.5.x/console-web/examples/account/update-recovery.md @@ -2,7 +2,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -12,4 +12,4 @@ const result = await account.updateRecovery( '' // password ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/update-session.md b/docs/examples/1.5.x/console-web/examples/account/update-session.md index a55c078fcb..88f51f18f2 100644 --- a/docs/examples/1.5.x/console-web/examples/account/update-session.md +++ b/docs/examples/1.5.x/console-web/examples/account/update-session.md @@ -2,7 +2,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -10,4 +10,4 @@ const result = await account.updateSession( '<SESSION_ID>' // sessionId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/update-status.md b/docs/examples/1.5.x/console-web/examples/account/update-status.md index ef3d940675..3ed146cff8 100644 --- a/docs/examples/1.5.x/console-web/examples/account/update-status.md +++ b/docs/examples/1.5.x/console-web/examples/account/update-status.md @@ -2,10 +2,10 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); const result = await account.updateStatus(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/update-verification.md b/docs/examples/1.5.x/console-web/examples/account/update-verification.md index d221ebf338..42d05ff3ef 100644 --- a/docs/examples/1.5.x/console-web/examples/account/update-verification.md +++ b/docs/examples/1.5.x/console-web/examples/account/update-verification.md @@ -2,7 +2,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); @@ -11,4 +11,4 @@ const result = await account.updateVerification( '<SECRET>' // secret ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/account/verify-authenticator.md b/docs/examples/1.5.x/console-web/examples/account/verify-authenticator.md index 0ccb9de98c..c6042ea781 100644 --- a/docs/examples/1.5.x/console-web/examples/account/verify-authenticator.md +++ b/docs/examples/1.5.x/console-web/examples/account/verify-authenticator.md @@ -1,7 +1,7 @@ import { Client, Account, AuthenticatorType } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/console-web/examples/assistant/chat.md b/docs/examples/1.5.x/console-web/examples/assistant/chat.md index 76a461fdc8..9c44d5709a 100644 --- a/docs/examples/1.5.x/console-web/examples/assistant/chat.md +++ b/docs/examples/1.5.x/console-web/examples/assistant/chat.md @@ -2,7 +2,7 @@ import { Client, Assistant } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const assistant = new Assistant(client); @@ -10,4 +10,4 @@ const result = await assistant.chat( '<PROMPT>' // prompt ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/avatars/get-browser.md b/docs/examples/1.5.x/console-web/examples/avatars/get-browser.md index 421edc439f..3604984b89 100644 --- a/docs/examples/1.5.x/console-web/examples/avatars/get-browser.md +++ b/docs/examples/1.5.x/console-web/examples/avatars/get-browser.md @@ -2,7 +2,7 @@ import { Client, Avatars, Browser } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/console-web/examples/avatars/get-credit-card.md b/docs/examples/1.5.x/console-web/examples/avatars/get-credit-card.md index 8eec98f455..ec38da8a6b 100644 --- a/docs/examples/1.5.x/console-web/examples/avatars/get-credit-card.md +++ b/docs/examples/1.5.x/console-web/examples/avatars/get-credit-card.md @@ -2,7 +2,7 @@ import { Client, Avatars, CreditCard } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/console-web/examples/avatars/get-favicon.md b/docs/examples/1.5.x/console-web/examples/avatars/get-favicon.md index 330ebb6232..87a310aaa3 100644 --- a/docs/examples/1.5.x/console-web/examples/avatars/get-favicon.md +++ b/docs/examples/1.5.x/console-web/examples/avatars/get-favicon.md @@ -2,7 +2,7 @@ import { Client, Avatars } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/console-web/examples/avatars/get-flag.md b/docs/examples/1.5.x/console-web/examples/avatars/get-flag.md index efb03314bb..dd9e2f60ae 100644 --- a/docs/examples/1.5.x/console-web/examples/avatars/get-flag.md +++ b/docs/examples/1.5.x/console-web/examples/avatars/get-flag.md @@ -2,7 +2,7 @@ import { Client, Avatars, Flag } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/console-web/examples/avatars/get-image.md b/docs/examples/1.5.x/console-web/examples/avatars/get-image.md index f8e2f38efa..8cb6546cf2 100644 --- a/docs/examples/1.5.x/console-web/examples/avatars/get-image.md +++ b/docs/examples/1.5.x/console-web/examples/avatars/get-image.md @@ -2,7 +2,7 @@ import { Client, Avatars } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/console-web/examples/avatars/get-initials.md b/docs/examples/1.5.x/console-web/examples/avatars/get-initials.md index 384f6350a2..81cfc5ca3e 100644 --- a/docs/examples/1.5.x/console-web/examples/avatars/get-initials.md +++ b/docs/examples/1.5.x/console-web/examples/avatars/get-initials.md @@ -2,7 +2,7 @@ import { Client, Avatars } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/console-web/examples/avatars/get-q-r.md b/docs/examples/1.5.x/console-web/examples/avatars/get-q-r.md index 4bafd30d0f..d685011dc9 100644 --- a/docs/examples/1.5.x/console-web/examples/avatars/get-q-r.md +++ b/docs/examples/1.5.x/console-web/examples/avatars/get-q-r.md @@ -2,7 +2,7 @@ import { Client, Avatars } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/console-web/examples/console/variables.md b/docs/examples/1.5.x/console-web/examples/console/variables.md index 1891b4daa5..0ee1f57483 100644 --- a/docs/examples/1.5.x/console-web/examples/console/variables.md +++ b/docs/examples/1.5.x/console-web/examples/console/variables.md @@ -2,10 +2,10 @@ import { Client, Console } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const console = new Console(client); const result = await console.variables(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/create-boolean-attribute.md b/docs/examples/1.5.x/console-web/examples/databases/create-boolean-attribute.md index c1c8c86494..ae76596cb2 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.5.x/console-web/examples/databases/create-boolean-attribute.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -15,4 +15,4 @@ const result = await databases.createBooleanAttribute( false // array (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/create-collection.md b/docs/examples/1.5.x/console-web/examples/databases/create-collection.md index d8d2bc3302..29e9eeed7d 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/create-collection.md +++ b/docs/examples/1.5.x/console-web/examples/databases/create-collection.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -15,4 +15,4 @@ const result = await databases.createCollection( false // enabled (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/create-datetime-attribute.md b/docs/examples/1.5.x/console-web/examples/databases/create-datetime-attribute.md index 1b0a0822e6..7344660f51 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.5.x/console-web/examples/databases/create-datetime-attribute.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -15,4 +15,4 @@ const result = await databases.createDatetimeAttribute( false // array (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/create-document.md b/docs/examples/1.5.x/console-web/examples/databases/create-document.md index 85114bdcdb..8f1a69afe1 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/create-document.md +++ b/docs/examples/1.5.x/console-web/examples/databases/create-document.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -14,4 +14,4 @@ const result = await databases.createDocument( ["read("any")"] // permissions (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/create-email-attribute.md b/docs/examples/1.5.x/console-web/examples/databases/create-email-attribute.md index 867f9ed1ac..32a51c506d 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/create-email-attribute.md +++ b/docs/examples/1.5.x/console-web/examples/databases/create-email-attribute.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -15,4 +15,4 @@ const result = await databases.createEmailAttribute( false // array (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/create-enum-attribute.md b/docs/examples/1.5.x/console-web/examples/databases/create-enum-attribute.md index fb8ed88b24..ab460cde2b 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.5.x/console-web/examples/databases/create-enum-attribute.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -16,4 +16,4 @@ const result = await databases.createEnumAttribute( false // array (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/create-float-attribute.md b/docs/examples/1.5.x/console-web/examples/databases/create-float-attribute.md index 51c4f23f1c..7019deb0aa 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/create-float-attribute.md +++ b/docs/examples/1.5.x/console-web/examples/databases/create-float-attribute.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -17,4 +17,4 @@ const result = await databases.createFloatAttribute( false // array (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/create-index.md b/docs/examples/1.5.x/console-web/examples/databases/create-index.md index dd21231d29..e8a3470879 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/create-index.md +++ b/docs/examples/1.5.x/console-web/examples/databases/create-index.md @@ -2,7 +2,7 @@ import { Client, Databases, IndexType } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -15,4 +15,4 @@ const result = await databases.createIndex( [] // orders (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/create-integer-attribute.md b/docs/examples/1.5.x/console-web/examples/databases/create-integer-attribute.md index d73139c9cc..a2cdda2b1c 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.5.x/console-web/examples/databases/create-integer-attribute.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -17,4 +17,4 @@ const result = await databases.createIntegerAttribute( false // array (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/create-ip-attribute.md b/docs/examples/1.5.x/console-web/examples/databases/create-ip-attribute.md index 1609c87be0..daf7e4fd11 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.5.x/console-web/examples/databases/create-ip-attribute.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -15,4 +15,4 @@ const result = await databases.createIpAttribute( false // array (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/create-relationship-attribute.md b/docs/examples/1.5.x/console-web/examples/databases/create-relationship-attribute.md index f212ac4b63..a64548c963 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.5.x/console-web/examples/databases/create-relationship-attribute.md @@ -2,7 +2,7 @@ import { Client, Databases, RelationshipType, RelationMutate } from "@appwrite.i const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -17,4 +17,4 @@ const result = await databases.createRelationshipAttribute( RelationMutate.Cascade // onDelete (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/create-string-attribute.md b/docs/examples/1.5.x/console-web/examples/databases/create-string-attribute.md index 0d04eee83b..6e9541ed57 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/create-string-attribute.md +++ b/docs/examples/1.5.x/console-web/examples/databases/create-string-attribute.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -17,4 +17,4 @@ const result = await databases.createStringAttribute( false // encrypt (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/create-url-attribute.md b/docs/examples/1.5.x/console-web/examples/databases/create-url-attribute.md index 72e06b516e..dc2dfc3ba0 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/create-url-attribute.md +++ b/docs/examples/1.5.x/console-web/examples/databases/create-url-attribute.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -15,4 +15,4 @@ const result = await databases.createUrlAttribute( false // array (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/create.md b/docs/examples/1.5.x/console-web/examples/databases/create.md index b443c87cba..a7f560eef7 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/create.md +++ b/docs/examples/1.5.x/console-web/examples/databases/create.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -12,4 +12,4 @@ const result = await databases.create( false // enabled (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/delete-attribute.md b/docs/examples/1.5.x/console-web/examples/databases/delete-attribute.md index 8d21126bd6..cec93bef6d 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/delete-attribute.md +++ b/docs/examples/1.5.x/console-web/examples/databases/delete-attribute.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -12,4 +12,4 @@ const result = await databases.deleteAttribute( '' // key ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/delete-collection.md b/docs/examples/1.5.x/console-web/examples/databases/delete-collection.md index 0f3b98d4be..ef2aa90582 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/delete-collection.md +++ b/docs/examples/1.5.x/console-web/examples/databases/delete-collection.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -11,4 +11,4 @@ const result = await databases.deleteCollection( '<COLLECTION_ID>' // collectionId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/delete-document.md b/docs/examples/1.5.x/console-web/examples/databases/delete-document.md index d2d986fce1..961bc63934 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/delete-document.md +++ b/docs/examples/1.5.x/console-web/examples/databases/delete-document.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -12,4 +12,4 @@ const result = await databases.deleteDocument( '<DOCUMENT_ID>' // documentId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/delete-index.md b/docs/examples/1.5.x/console-web/examples/databases/delete-index.md index 3ecb1f1f2c..152a93e0a1 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/delete-index.md +++ b/docs/examples/1.5.x/console-web/examples/databases/delete-index.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -12,4 +12,4 @@ const result = await databases.deleteIndex( '' // key ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/delete.md b/docs/examples/1.5.x/console-web/examples/databases/delete.md index 439130279f..b6485ad9d9 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/delete.md +++ b/docs/examples/1.5.x/console-web/examples/databases/delete.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -10,4 +10,4 @@ const result = await databases.delete( '<DATABASE_ID>' // databaseId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/get-attribute.md b/docs/examples/1.5.x/console-web/examples/databases/get-attribute.md index 20ce69c8d7..20c555cb9e 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/get-attribute.md +++ b/docs/examples/1.5.x/console-web/examples/databases/get-attribute.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -12,4 +12,4 @@ const result = await databases.getAttribute( '' // key ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/get-collection-usage.md b/docs/examples/1.5.x/console-web/examples/databases/get-collection-usage.md index d7cfc42314..4b14f1fd93 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/get-collection-usage.md +++ b/docs/examples/1.5.x/console-web/examples/databases/get-collection-usage.md @@ -2,7 +2,7 @@ import { Client, Databases, DatabaseUsageRange } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -12,4 +12,4 @@ const result = await databases.getCollectionUsage( DatabaseUsageRange.TwentyFourHours // range (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/get-collection.md b/docs/examples/1.5.x/console-web/examples/databases/get-collection.md index b7d6429035..59ab03be1e 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/get-collection.md +++ b/docs/examples/1.5.x/console-web/examples/databases/get-collection.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -11,4 +11,4 @@ const result = await databases.getCollection( '<COLLECTION_ID>' // collectionId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/get-database-usage.md b/docs/examples/1.5.x/console-web/examples/databases/get-database-usage.md index 9ad346f5c7..c0f15e4e6a 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/get-database-usage.md +++ b/docs/examples/1.5.x/console-web/examples/databases/get-database-usage.md @@ -2,7 +2,7 @@ import { Client, Databases, DatabaseUsageRange } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -11,4 +11,4 @@ const result = await databases.getDatabaseUsage( DatabaseUsageRange.TwentyFourHours // range (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/get-document.md b/docs/examples/1.5.x/console-web/examples/databases/get-document.md index f961727236..cf16708bfb 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/get-document.md +++ b/docs/examples/1.5.x/console-web/examples/databases/get-document.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -13,4 +13,4 @@ const result = await databases.getDocument( [] // queries (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/get-index.md b/docs/examples/1.5.x/console-web/examples/databases/get-index.md index 340414c47a..85a1c03b1b 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/get-index.md +++ b/docs/examples/1.5.x/console-web/examples/databases/get-index.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -12,4 +12,4 @@ const result = await databases.getIndex( '' // key ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/get-usage.md b/docs/examples/1.5.x/console-web/examples/databases/get-usage.md index 3d75f6a43c..9d926e5ffb 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/get-usage.md +++ b/docs/examples/1.5.x/console-web/examples/databases/get-usage.md @@ -2,7 +2,7 @@ import { Client, Databases, DatabaseUsageRange } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -10,4 +10,4 @@ const result = await databases.getUsage( DatabaseUsageRange.TwentyFourHours // range (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/get.md b/docs/examples/1.5.x/console-web/examples/databases/get.md index 86af972332..8b9e02ed19 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/get.md +++ b/docs/examples/1.5.x/console-web/examples/databases/get.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -10,4 +10,4 @@ const result = await databases.get( '<DATABASE_ID>' // databaseId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/list-attributes.md b/docs/examples/1.5.x/console-web/examples/databases/list-attributes.md index a4d5477a63..987e1741f0 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/list-attributes.md +++ b/docs/examples/1.5.x/console-web/examples/databases/list-attributes.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -12,4 +12,4 @@ const result = await databases.listAttributes( [] // queries (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/list-collection-logs.md b/docs/examples/1.5.x/console-web/examples/databases/list-collection-logs.md index f2119e786d..d01a57ea0d 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/list-collection-logs.md +++ b/docs/examples/1.5.x/console-web/examples/databases/list-collection-logs.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -12,4 +12,4 @@ const result = await databases.listCollectionLogs( [] // queries (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/list-collections.md b/docs/examples/1.5.x/console-web/examples/databases/list-collections.md index b1aa2706f2..28450a7bfd 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/list-collections.md +++ b/docs/examples/1.5.x/console-web/examples/databases/list-collections.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -12,4 +12,4 @@ const result = await databases.listCollections( '<SEARCH>' // search (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/list-document-logs.md b/docs/examples/1.5.x/console-web/examples/databases/list-document-logs.md index 94bb129b60..c1c2b06ede 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/list-document-logs.md +++ b/docs/examples/1.5.x/console-web/examples/databases/list-document-logs.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -13,4 +13,4 @@ const result = await databases.listDocumentLogs( [] // queries (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/list-documents.md b/docs/examples/1.5.x/console-web/examples/databases/list-documents.md index d704eda5f4..27d4d77b90 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/list-documents.md +++ b/docs/examples/1.5.x/console-web/examples/databases/list-documents.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -12,4 +12,4 @@ const result = await databases.listDocuments( [] // queries (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/list-indexes.md b/docs/examples/1.5.x/console-web/examples/databases/list-indexes.md index c1818ad2ec..829f6d7b02 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/list-indexes.md +++ b/docs/examples/1.5.x/console-web/examples/databases/list-indexes.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -12,4 +12,4 @@ const result = await databases.listIndexes( [] // queries (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/list-logs.md b/docs/examples/1.5.x/console-web/examples/databases/list-logs.md index d889ec777f..ec42922d4c 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/list-logs.md +++ b/docs/examples/1.5.x/console-web/examples/databases/list-logs.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -11,4 +11,4 @@ const result = await databases.listLogs( [] // queries (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/list.md b/docs/examples/1.5.x/console-web/examples/databases/list.md index f5742ff85f..d41bdabb7b 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/list.md +++ b/docs/examples/1.5.x/console-web/examples/databases/list.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -11,4 +11,4 @@ const result = await databases.list( '<SEARCH>' // search (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/update-boolean-attribute.md b/docs/examples/1.5.x/console-web/examples/databases/update-boolean-attribute.md index 4963701b61..82b4c3ca2d 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.5.x/console-web/examples/databases/update-boolean-attribute.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -11,7 +11,8 @@ const result = await databases.updateBooleanAttribute( '<COLLECTION_ID>', // collectionId '', // key false, // required - false // default + false, // default + '' // newKey (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/update-collection.md b/docs/examples/1.5.x/console-web/examples/databases/update-collection.md index 7a94d88edf..f5e6176811 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/update-collection.md +++ b/docs/examples/1.5.x/console-web/examples/databases/update-collection.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -15,4 +15,4 @@ const result = await databases.updateCollection( false // enabled (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/update-datetime-attribute.md b/docs/examples/1.5.x/console-web/examples/databases/update-datetime-attribute.md index ce12ecf94d..453b2f369d 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.5.x/console-web/examples/databases/update-datetime-attribute.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -11,7 +11,8 @@ const result = await databases.updateDatetimeAttribute( '<COLLECTION_ID>', // collectionId '', // key false, // required - '' // default + '', // default + '' // newKey (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/update-document.md b/docs/examples/1.5.x/console-web/examples/databases/update-document.md index 82307c7e7c..635c50722d 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/update-document.md +++ b/docs/examples/1.5.x/console-web/examples/databases/update-document.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -14,4 +14,4 @@ const result = await databases.updateDocument( ["read("any")"] // permissions (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/update-email-attribute.md b/docs/examples/1.5.x/console-web/examples/databases/update-email-attribute.md index eaf1167a25..581d7ab48e 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/update-email-attribute.md +++ b/docs/examples/1.5.x/console-web/examples/databases/update-email-attribute.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -11,7 +11,8 @@ const result = await databases.updateEmailAttribute( '<COLLECTION_ID>', // collectionId '', // key false, // required - 'email@example.com' // default + 'email@example.com', // default + '' // newKey (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/update-enum-attribute.md b/docs/examples/1.5.x/console-web/examples/databases/update-enum-attribute.md index 4dba524a08..999335a27e 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.5.x/console-web/examples/databases/update-enum-attribute.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -12,7 +12,8 @@ const result = await databases.updateEnumAttribute( '', // key [], // elements false, // required - '<DEFAULT>' // default + '<DEFAULT>', // default + '' // newKey (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/update-float-attribute.md b/docs/examples/1.5.x/console-web/examples/databases/update-float-attribute.md index c8c73e1b86..91e946dad4 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/update-float-attribute.md +++ b/docs/examples/1.5.x/console-web/examples/databases/update-float-attribute.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -11,9 +11,10 @@ const result = await databases.updateFloatAttribute( '<COLLECTION_ID>', // collectionId '', // key false, // required - null, // min - null, // max - null // default + null, // default + null, // min (optional) + null, // max (optional) + '' // newKey (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/update-integer-attribute.md b/docs/examples/1.5.x/console-web/examples/databases/update-integer-attribute.md index c113213e53..84ed1656d6 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.5.x/console-web/examples/databases/update-integer-attribute.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -11,9 +11,10 @@ const result = await databases.updateIntegerAttribute( '<COLLECTION_ID>', // collectionId '', // key false, // required - null, // min - null, // max - null // default + null, // default + null, // min (optional) + null, // max (optional) + '' // newKey (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/update-ip-attribute.md b/docs/examples/1.5.x/console-web/examples/databases/update-ip-attribute.md index 81c47d4ec6..f2a018c4b4 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.5.x/console-web/examples/databases/update-ip-attribute.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -11,7 +11,8 @@ const result = await databases.updateIpAttribute( '<COLLECTION_ID>', // collectionId '', // key false, // required - '' // default + '', // default + '' // newKey (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/update-relationship-attribute.md b/docs/examples/1.5.x/console-web/examples/databases/update-relationship-attribute.md index 649cae12a4..bc5f41cf92 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.5.x/console-web/examples/databases/update-relationship-attribute.md @@ -2,7 +2,7 @@ import { Client, Databases, RelationMutate } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -10,7 +10,8 @@ const result = await databases.updateRelationshipAttribute( '<DATABASE_ID>', // databaseId '<COLLECTION_ID>', // collectionId '', // key - RelationMutate.Cascade // onDelete (optional) + RelationMutate.Cascade, // onDelete (optional) + '' // newKey (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/update-string-attribute.md b/docs/examples/1.5.x/console-web/examples/databases/update-string-attribute.md index 54d7875fdf..f652c304eb 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/update-string-attribute.md +++ b/docs/examples/1.5.x/console-web/examples/databases/update-string-attribute.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -11,7 +11,9 @@ const result = await databases.updateStringAttribute( '<COLLECTION_ID>', // collectionId '', // key false, // required - '<DEFAULT>' // default + '<DEFAULT>', // default + 1, // size (optional) + '' // newKey (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/update-url-attribute.md b/docs/examples/1.5.x/console-web/examples/databases/update-url-attribute.md index 3d02628464..e09220304e 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/update-url-attribute.md +++ b/docs/examples/1.5.x/console-web/examples/databases/update-url-attribute.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -11,7 +11,8 @@ const result = await databases.updateUrlAttribute( '<COLLECTION_ID>', // collectionId '', // key false, // required - 'https://example.com' // default + 'https://example.com', // default + '' // newKey (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/databases/update.md b/docs/examples/1.5.x/console-web/examples/databases/update.md index 41529ed884..a8c2b33ae4 100644 --- a/docs/examples/1.5.x/console-web/examples/databases/update.md +++ b/docs/examples/1.5.x/console-web/examples/databases/update.md @@ -2,7 +2,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -12,4 +12,4 @@ const result = await databases.update( false // enabled (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/functions/create-build.md b/docs/examples/1.5.x/console-web/examples/functions/create-build.md index 034ea7e56d..89c7d0817c 100644 --- a/docs/examples/1.5.x/console-web/examples/functions/create-build.md +++ b/docs/examples/1.5.x/console-web/examples/functions/create-build.md @@ -2,14 +2,14 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); const result = await functions.createBuild( '<FUNCTION_ID>', // functionId '<DEPLOYMENT_ID>', // deploymentId - '<BUILD_ID>' // buildId + '<BUILD_ID>' // buildId (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/functions/create-deployment.md b/docs/examples/1.5.x/console-web/examples/functions/create-deployment.md index d3086ceb6e..7571532356 100644 --- a/docs/examples/1.5.x/console-web/examples/functions/create-deployment.md +++ b/docs/examples/1.5.x/console-web/examples/functions/create-deployment.md @@ -2,7 +2,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); @@ -14,4 +14,4 @@ const result = await functions.createDeployment( '<COMMANDS>' // commands (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/functions/create-execution.md b/docs/examples/1.5.x/console-web/examples/functions/create-execution.md index d8ff507012..dfaf2ef260 100644 --- a/docs/examples/1.5.x/console-web/examples/functions/create-execution.md +++ b/docs/examples/1.5.x/console-web/examples/functions/create-execution.md @@ -2,7 +2,7 @@ import { Client, Functions, ExecutionMethod } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); @@ -12,7 +12,8 @@ const result = await functions.createExecution( false, // async (optional) '<PATH>', // path (optional) ExecutionMethod.GET, // method (optional) - {} // headers (optional) + {}, // headers (optional) + '' // scheduledAt (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/functions/create-variable.md b/docs/examples/1.5.x/console-web/examples/functions/create-variable.md index 3b8f6d3802..60d9a10b29 100644 --- a/docs/examples/1.5.x/console-web/examples/functions/create-variable.md +++ b/docs/examples/1.5.x/console-web/examples/functions/create-variable.md @@ -2,7 +2,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); @@ -12,4 +12,4 @@ const result = await functions.createVariable( '<VALUE>' // value ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/functions/create.md b/docs/examples/1.5.x/console-web/examples/functions/create.md index f726c5754b..63df3bfa03 100644 --- a/docs/examples/1.5.x/console-web/examples/functions/create.md +++ b/docs/examples/1.5.x/console-web/examples/functions/create.md @@ -2,7 +2,7 @@ import { Client, Functions, } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); @@ -18,6 +18,7 @@ const result = await functions.create( false, // logging (optional) '<ENTRYPOINT>', // entrypoint (optional) '<COMMANDS>', // commands (optional) + [], // scopes (optional) '<INSTALLATION_ID>', // installationId (optional) '<PROVIDER_REPOSITORY_ID>', // providerRepositoryId (optional) '<PROVIDER_BRANCH>', // providerBranch (optional) @@ -26,7 +27,8 @@ const result = await functions.create( '<TEMPLATE_REPOSITORY>', // templateRepository (optional) '<TEMPLATE_OWNER>', // templateOwner (optional) '<TEMPLATE_ROOT_DIRECTORY>', // templateRootDirectory (optional) - '<TEMPLATE_BRANCH>' // templateBranch (optional) + '<TEMPLATE_VERSION>', // templateVersion (optional) + '' // specification (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/functions/delete-deployment.md b/docs/examples/1.5.x/console-web/examples/functions/delete-deployment.md index fac4afedb8..28fd5b29e3 100644 --- a/docs/examples/1.5.x/console-web/examples/functions/delete-deployment.md +++ b/docs/examples/1.5.x/console-web/examples/functions/delete-deployment.md @@ -2,7 +2,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); @@ -11,4 +11,4 @@ const result = await functions.deleteDeployment( '<DEPLOYMENT_ID>' // deploymentId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/functions/delete-execution.md b/docs/examples/1.5.x/console-web/examples/functions/delete-execution.md new file mode 100644 index 0000000000..2a857d6535 --- /dev/null +++ b/docs/examples/1.5.x/console-web/examples/functions/delete-execution.md @@ -0,0 +1,14 @@ +import { Client, Functions } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>'); // Your project ID + +const functions = new Functions(client); + +const result = await functions.deleteExecution( + '<FUNCTION_ID>', // functionId + '<EXECUTION_ID>' // executionId +); + +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/functions/delete-variable.md b/docs/examples/1.5.x/console-web/examples/functions/delete-variable.md index d6f7f92534..60c4de54cc 100644 --- a/docs/examples/1.5.x/console-web/examples/functions/delete-variable.md +++ b/docs/examples/1.5.x/console-web/examples/functions/delete-variable.md @@ -2,7 +2,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); @@ -11,4 +11,4 @@ const result = await functions.deleteVariable( '<VARIABLE_ID>' // variableId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/functions/delete.md b/docs/examples/1.5.x/console-web/examples/functions/delete.md index 5cb2ee4c22..b6dd5ccf3e 100644 --- a/docs/examples/1.5.x/console-web/examples/functions/delete.md +++ b/docs/examples/1.5.x/console-web/examples/functions/delete.md @@ -2,7 +2,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); @@ -10,4 +10,4 @@ const result = await functions.delete( '<FUNCTION_ID>' // functionId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/functions/download-deployment.md b/docs/examples/1.5.x/console-web/examples/functions/download-deployment.md index cea9970670..edb8284c38 100644 --- a/docs/examples/1.5.x/console-web/examples/functions/download-deployment.md +++ b/docs/examples/1.5.x/console-web/examples/functions/download-deployment.md @@ -1,7 +1,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.5.x/console-web/examples/functions/get-deployment-download.md b/docs/examples/1.5.x/console-web/examples/functions/get-deployment-download.md new file mode 100644 index 0000000000..34f5b4e45f --- /dev/null +++ b/docs/examples/1.5.x/console-web/examples/functions/get-deployment-download.md @@ -0,0 +1,14 @@ +import { Client, Functions } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>'); // Your project ID + +const functions = new Functions(client); + +const result = functions.getDeploymentDownload( + '<FUNCTION_ID>', // functionId + '<DEPLOYMENT_ID>' // deploymentId +); + +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/functions/get-deployment.md b/docs/examples/1.5.x/console-web/examples/functions/get-deployment.md index 372697a00a..242c77cfe0 100644 --- a/docs/examples/1.5.x/console-web/examples/functions/get-deployment.md +++ b/docs/examples/1.5.x/console-web/examples/functions/get-deployment.md @@ -2,7 +2,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); @@ -11,4 +11,4 @@ const result = await functions.getDeployment( '<DEPLOYMENT_ID>' // deploymentId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/functions/get-execution.md b/docs/examples/1.5.x/console-web/examples/functions/get-execution.md index 7dbb0501f3..6daf1757fd 100644 --- a/docs/examples/1.5.x/console-web/examples/functions/get-execution.md +++ b/docs/examples/1.5.x/console-web/examples/functions/get-execution.md @@ -2,7 +2,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); @@ -11,4 +11,4 @@ const result = await functions.getExecution( '<EXECUTION_ID>' // executionId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/functions/get-function-usage.md b/docs/examples/1.5.x/console-web/examples/functions/get-function-usage.md index e465afcc50..cfa6c003b0 100644 --- a/docs/examples/1.5.x/console-web/examples/functions/get-function-usage.md +++ b/docs/examples/1.5.x/console-web/examples/functions/get-function-usage.md @@ -2,7 +2,7 @@ import { Client, Functions, FunctionUsageRange } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); @@ -11,4 +11,4 @@ const result = await functions.getFunctionUsage( FunctionUsageRange.TwentyFourHours // range (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/functions/get-template.md b/docs/examples/1.5.x/console-web/examples/functions/get-template.md new file mode 100644 index 0000000000..a230c7aba9 --- /dev/null +++ b/docs/examples/1.5.x/console-web/examples/functions/get-template.md @@ -0,0 +1,13 @@ +import { Client, Functions } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>'); // Your project ID + +const functions = new Functions(client); + +const result = await functions.getTemplate( + '<TEMPLATE_ID>' // templateId +); + +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/functions/get-usage.md b/docs/examples/1.5.x/console-web/examples/functions/get-usage.md index c222f0ea34..7fdf2d2f44 100644 --- a/docs/examples/1.5.x/console-web/examples/functions/get-usage.md +++ b/docs/examples/1.5.x/console-web/examples/functions/get-usage.md @@ -2,7 +2,7 @@ import { Client, Functions, FunctionUsageRange } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); @@ -10,4 +10,4 @@ const result = await functions.getUsage( FunctionUsageRange.TwentyFourHours // range (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/functions/get-variable.md b/docs/examples/1.5.x/console-web/examples/functions/get-variable.md index 3507968b03..14fd555077 100644 --- a/docs/examples/1.5.x/console-web/examples/functions/get-variable.md +++ b/docs/examples/1.5.x/console-web/examples/functions/get-variable.md @@ -2,7 +2,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); @@ -11,4 +11,4 @@ const result = await functions.getVariable( '<VARIABLE_ID>' // variableId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/functions/get.md b/docs/examples/1.5.x/console-web/examples/functions/get.md index 51c8190f45..7eb5d29923 100644 --- a/docs/examples/1.5.x/console-web/examples/functions/get.md +++ b/docs/examples/1.5.x/console-web/examples/functions/get.md @@ -2,7 +2,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); @@ -10,4 +10,4 @@ const result = await functions.get( '<FUNCTION_ID>' // functionId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/functions/list-deployments.md b/docs/examples/1.5.x/console-web/examples/functions/list-deployments.md index 30ae40f22e..453e92cfaa 100644 --- a/docs/examples/1.5.x/console-web/examples/functions/list-deployments.md +++ b/docs/examples/1.5.x/console-web/examples/functions/list-deployments.md @@ -2,7 +2,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); @@ -12,4 +12,4 @@ const result = await functions.listDeployments( '<SEARCH>' // search (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/functions/list-executions.md b/docs/examples/1.5.x/console-web/examples/functions/list-executions.md index 5236bf6562..1aad664cda 100644 --- a/docs/examples/1.5.x/console-web/examples/functions/list-executions.md +++ b/docs/examples/1.5.x/console-web/examples/functions/list-executions.md @@ -2,7 +2,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); @@ -12,4 +12,4 @@ const result = await functions.listExecutions( '<SEARCH>' // search (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/functions/list-runtimes.md b/docs/examples/1.5.x/console-web/examples/functions/list-runtimes.md index 9935779e37..36010611f0 100644 --- a/docs/examples/1.5.x/console-web/examples/functions/list-runtimes.md +++ b/docs/examples/1.5.x/console-web/examples/functions/list-runtimes.md @@ -2,10 +2,10 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); const result = await functions.listRuntimes(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/functions/list-specifications.md b/docs/examples/1.5.x/console-web/examples/functions/list-specifications.md new file mode 100644 index 0000000000..a3c11f1d83 --- /dev/null +++ b/docs/examples/1.5.x/console-web/examples/functions/list-specifications.md @@ -0,0 +1,11 @@ +import { Client, Functions } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>'); // Your project ID + +const functions = new Functions(client); + +const result = await functions.listSpecifications(); + +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/functions/list-templates.md b/docs/examples/1.5.x/console-web/examples/functions/list-templates.md new file mode 100644 index 0000000000..3970f8f669 --- /dev/null +++ b/docs/examples/1.5.x/console-web/examples/functions/list-templates.md @@ -0,0 +1,16 @@ +import { Client, Functions } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>'); // Your project ID + +const functions = new Functions(client); + +const result = await functions.listTemplates( + [], // runtimes (optional) + [], // useCases (optional) + 1, // limit (optional) + 0 // offset (optional) +); + +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/functions/list-variables.md b/docs/examples/1.5.x/console-web/examples/functions/list-variables.md index ca43b90f30..fc659e3e7d 100644 --- a/docs/examples/1.5.x/console-web/examples/functions/list-variables.md +++ b/docs/examples/1.5.x/console-web/examples/functions/list-variables.md @@ -2,7 +2,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); @@ -10,4 +10,4 @@ const result = await functions.listVariables( '<FUNCTION_ID>' // functionId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/functions/list.md b/docs/examples/1.5.x/console-web/examples/functions/list.md index 586e51d49b..26e4864e95 100644 --- a/docs/examples/1.5.x/console-web/examples/functions/list.md +++ b/docs/examples/1.5.x/console-web/examples/functions/list.md @@ -2,7 +2,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); @@ -11,4 +11,4 @@ const result = await functions.list( '<SEARCH>' // search (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/functions/update-deployment-build.md b/docs/examples/1.5.x/console-web/examples/functions/update-deployment-build.md new file mode 100644 index 0000000000..bd11a2a80e --- /dev/null +++ b/docs/examples/1.5.x/console-web/examples/functions/update-deployment-build.md @@ -0,0 +1,14 @@ +import { Client, Functions } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>'); // Your project ID + +const functions = new Functions(client); + +const result = await functions.updateDeploymentBuild( + '<FUNCTION_ID>', // functionId + '<DEPLOYMENT_ID>' // deploymentId +); + +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/functions/update-deployment.md b/docs/examples/1.5.x/console-web/examples/functions/update-deployment.md index 373c9a4bf6..3aad019b13 100644 --- a/docs/examples/1.5.x/console-web/examples/functions/update-deployment.md +++ b/docs/examples/1.5.x/console-web/examples/functions/update-deployment.md @@ -2,7 +2,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); @@ -11,4 +11,4 @@ const result = await functions.updateDeployment( '<DEPLOYMENT_ID>' // deploymentId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/functions/update-variable.md b/docs/examples/1.5.x/console-web/examples/functions/update-variable.md index bd6b0b23dd..5046499cc7 100644 --- a/docs/examples/1.5.x/console-web/examples/functions/update-variable.md +++ b/docs/examples/1.5.x/console-web/examples/functions/update-variable.md @@ -2,7 +2,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); @@ -13,4 +13,4 @@ const result = await functions.updateVariable( '<VALUE>' // value (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/functions/update.md b/docs/examples/1.5.x/console-web/examples/functions/update.md index 3bb85eec5e..a8d1709aca 100644 --- a/docs/examples/1.5.x/console-web/examples/functions/update.md +++ b/docs/examples/1.5.x/console-web/examples/functions/update.md @@ -2,7 +2,7 @@ import { Client, Functions, } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); @@ -18,11 +18,13 @@ const result = await functions.update( false, // logging (optional) '<ENTRYPOINT>', // entrypoint (optional) '<COMMANDS>', // commands (optional) + [], // scopes (optional) '<INSTALLATION_ID>', // installationId (optional) '<PROVIDER_REPOSITORY_ID>', // providerRepositoryId (optional) '<PROVIDER_BRANCH>', // providerBranch (optional) false, // providerSilentMode (optional) - '<PROVIDER_ROOT_DIRECTORY>' // providerRootDirectory (optional) + '<PROVIDER_ROOT_DIRECTORY>', // providerRootDirectory (optional) + '' // specification (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/graphql/mutation.md b/docs/examples/1.5.x/console-web/examples/graphql/mutation.md index d3e9676576..0b9b76a2fd 100644 --- a/docs/examples/1.5.x/console-web/examples/graphql/mutation.md +++ b/docs/examples/1.5.x/console-web/examples/graphql/mutation.md @@ -2,7 +2,7 @@ import { Client, Graphql } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const graphql = new Graphql(client); @@ -10,4 +10,4 @@ const result = await graphql.mutation( {} // query ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/graphql/query.md b/docs/examples/1.5.x/console-web/examples/graphql/query.md index a06a916535..a708c3904e 100644 --- a/docs/examples/1.5.x/console-web/examples/graphql/query.md +++ b/docs/examples/1.5.x/console-web/examples/graphql/query.md @@ -2,7 +2,7 @@ import { Client, Graphql } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const graphql = new Graphql(client); @@ -10,4 +10,4 @@ const result = await graphql.query( {} // query ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/health/get-antivirus.md b/docs/examples/1.5.x/console-web/examples/health/get-antivirus.md index 4d7b1cbd98..3c36cd720e 100644 --- a/docs/examples/1.5.x/console-web/examples/health/get-antivirus.md +++ b/docs/examples/1.5.x/console-web/examples/health/get-antivirus.md @@ -2,10 +2,10 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); const result = await health.getAntivirus(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/health/get-cache.md b/docs/examples/1.5.x/console-web/examples/health/get-cache.md index 34ca3ce8f1..0bdb894733 100644 --- a/docs/examples/1.5.x/console-web/examples/health/get-cache.md +++ b/docs/examples/1.5.x/console-web/examples/health/get-cache.md @@ -2,10 +2,10 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); const result = await health.getCache(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/health/get-certificate.md b/docs/examples/1.5.x/console-web/examples/health/get-certificate.md index 08f90b893d..4bd5c8a6b4 100644 --- a/docs/examples/1.5.x/console-web/examples/health/get-certificate.md +++ b/docs/examples/1.5.x/console-web/examples/health/get-certificate.md @@ -2,7 +2,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); @@ -10,4 +10,4 @@ const result = await health.getCertificate( '' // domain (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/health/get-d-b.md b/docs/examples/1.5.x/console-web/examples/health/get-d-b.md index f0015197e0..d18ed28f64 100644 --- a/docs/examples/1.5.x/console-web/examples/health/get-d-b.md +++ b/docs/examples/1.5.x/console-web/examples/health/get-d-b.md @@ -2,10 +2,10 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); const result = await health.getDB(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/health/get-failed-jobs.md b/docs/examples/1.5.x/console-web/examples/health/get-failed-jobs.md index b1768a7b6f..e1e57b1654 100644 --- a/docs/examples/1.5.x/console-web/examples/health/get-failed-jobs.md +++ b/docs/examples/1.5.x/console-web/examples/health/get-failed-jobs.md @@ -2,7 +2,7 @@ import { Client, Health, } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); @@ -11,4 +11,4 @@ const result = await health.getFailedJobs( null // threshold (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/health/get-pub-sub.md b/docs/examples/1.5.x/console-web/examples/health/get-pub-sub.md index fd2773503d..9b398f5b14 100644 --- a/docs/examples/1.5.x/console-web/examples/health/get-pub-sub.md +++ b/docs/examples/1.5.x/console-web/examples/health/get-pub-sub.md @@ -2,10 +2,10 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); const result = await health.getPubSub(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/health/get-queue-builds.md b/docs/examples/1.5.x/console-web/examples/health/get-queue-builds.md index 00c702ee6b..0ee109f8dd 100644 --- a/docs/examples/1.5.x/console-web/examples/health/get-queue-builds.md +++ b/docs/examples/1.5.x/console-web/examples/health/get-queue-builds.md @@ -2,7 +2,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); @@ -10,4 +10,4 @@ const result = await health.getQueueBuilds( null // threshold (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/health/get-queue-certificates.md b/docs/examples/1.5.x/console-web/examples/health/get-queue-certificates.md index aafe14aab1..ce82ab00de 100644 --- a/docs/examples/1.5.x/console-web/examples/health/get-queue-certificates.md +++ b/docs/examples/1.5.x/console-web/examples/health/get-queue-certificates.md @@ -2,7 +2,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); @@ -10,4 +10,4 @@ const result = await health.getQueueCertificates( null // threshold (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/health/get-queue-databases.md b/docs/examples/1.5.x/console-web/examples/health/get-queue-databases.md index 9ea4d8c10b..8a96fcf00b 100644 --- a/docs/examples/1.5.x/console-web/examples/health/get-queue-databases.md +++ b/docs/examples/1.5.x/console-web/examples/health/get-queue-databases.md @@ -2,7 +2,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); @@ -11,4 +11,4 @@ const result = await health.getQueueDatabases( null // threshold (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/health/get-queue-deletes.md b/docs/examples/1.5.x/console-web/examples/health/get-queue-deletes.md index 2e7fcbc41a..840607e113 100644 --- a/docs/examples/1.5.x/console-web/examples/health/get-queue-deletes.md +++ b/docs/examples/1.5.x/console-web/examples/health/get-queue-deletes.md @@ -2,7 +2,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); @@ -10,4 +10,4 @@ const result = await health.getQueueDeletes( null // threshold (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/health/get-queue-functions.md b/docs/examples/1.5.x/console-web/examples/health/get-queue-functions.md index 7afce2b33f..35c612a7af 100644 --- a/docs/examples/1.5.x/console-web/examples/health/get-queue-functions.md +++ b/docs/examples/1.5.x/console-web/examples/health/get-queue-functions.md @@ -2,7 +2,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); @@ -10,4 +10,4 @@ const result = await health.getQueueFunctions( null // threshold (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/health/get-queue-logs.md b/docs/examples/1.5.x/console-web/examples/health/get-queue-logs.md index 4c3477b312..9f5d51dc29 100644 --- a/docs/examples/1.5.x/console-web/examples/health/get-queue-logs.md +++ b/docs/examples/1.5.x/console-web/examples/health/get-queue-logs.md @@ -2,7 +2,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); @@ -10,4 +10,4 @@ const result = await health.getQueueLogs( null // threshold (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/health/get-queue-mails.md b/docs/examples/1.5.x/console-web/examples/health/get-queue-mails.md index c4ff788134..58d694d7b8 100644 --- a/docs/examples/1.5.x/console-web/examples/health/get-queue-mails.md +++ b/docs/examples/1.5.x/console-web/examples/health/get-queue-mails.md @@ -2,7 +2,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); @@ -10,4 +10,4 @@ const result = await health.getQueueMails( null // threshold (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/health/get-queue-messaging.md b/docs/examples/1.5.x/console-web/examples/health/get-queue-messaging.md index 33f68de8b7..cfecdf9a63 100644 --- a/docs/examples/1.5.x/console-web/examples/health/get-queue-messaging.md +++ b/docs/examples/1.5.x/console-web/examples/health/get-queue-messaging.md @@ -2,7 +2,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); @@ -10,4 +10,4 @@ const result = await health.getQueueMessaging( null // threshold (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/health/get-queue-migrations.md b/docs/examples/1.5.x/console-web/examples/health/get-queue-migrations.md index d2c873f661..5a8b74e79c 100644 --- a/docs/examples/1.5.x/console-web/examples/health/get-queue-migrations.md +++ b/docs/examples/1.5.x/console-web/examples/health/get-queue-migrations.md @@ -2,7 +2,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); @@ -10,4 +10,4 @@ const result = await health.getQueueMigrations( null // threshold (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/health/get-queue-stats-resources.md b/docs/examples/1.5.x/console-web/examples/health/get-queue-stats-resources.md new file mode 100644 index 0000000000..97f4c5b4e9 --- /dev/null +++ b/docs/examples/1.5.x/console-web/examples/health/get-queue-stats-resources.md @@ -0,0 +1,13 @@ +import { Client, Health } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>'); // Your project ID + +const health = new Health(client); + +const result = await health.getQueueStatsResources( + null // threshold (optional) +); + +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/health/get-queue-usage-dump.md b/docs/examples/1.5.x/console-web/examples/health/get-queue-usage-dump.md index e88640edce..dddfb821c5 100644 --- a/docs/examples/1.5.x/console-web/examples/health/get-queue-usage-dump.md +++ b/docs/examples/1.5.x/console-web/examples/health/get-queue-usage-dump.md @@ -1,7 +1,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID const health = new Health(client); diff --git a/docs/examples/1.5.x/console-web/examples/health/get-queue-usage.md b/docs/examples/1.5.x/console-web/examples/health/get-queue-usage.md index 7961ad6282..703574a3ba 100644 --- a/docs/examples/1.5.x/console-web/examples/health/get-queue-usage.md +++ b/docs/examples/1.5.x/console-web/examples/health/get-queue-usage.md @@ -2,7 +2,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); @@ -10,4 +10,4 @@ const result = await health.getQueueUsage( null // threshold (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/health/get-queue-webhooks.md b/docs/examples/1.5.x/console-web/examples/health/get-queue-webhooks.md index 0fce435c69..1c003864a5 100644 --- a/docs/examples/1.5.x/console-web/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.5.x/console-web/examples/health/get-queue-webhooks.md @@ -2,7 +2,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); @@ -10,4 +10,4 @@ const result = await health.getQueueWebhooks( null // threshold (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/health/get-queue.md b/docs/examples/1.5.x/console-web/examples/health/get-queue.md index 755624eb92..c6443fee3f 100644 --- a/docs/examples/1.5.x/console-web/examples/health/get-queue.md +++ b/docs/examples/1.5.x/console-web/examples/health/get-queue.md @@ -1,7 +1,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID const health = new Health(client); diff --git a/docs/examples/1.5.x/console-web/examples/health/get-storage-local.md b/docs/examples/1.5.x/console-web/examples/health/get-storage-local.md index 280d5fea40..82c6b8bebf 100644 --- a/docs/examples/1.5.x/console-web/examples/health/get-storage-local.md +++ b/docs/examples/1.5.x/console-web/examples/health/get-storage-local.md @@ -2,10 +2,10 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); const result = await health.getStorageLocal(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/health/get-storage.md b/docs/examples/1.5.x/console-web/examples/health/get-storage.md index 13dc545652..a7a377a424 100644 --- a/docs/examples/1.5.x/console-web/examples/health/get-storage.md +++ b/docs/examples/1.5.x/console-web/examples/health/get-storage.md @@ -2,10 +2,10 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); const result = await health.getStorage(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/health/get-time.md b/docs/examples/1.5.x/console-web/examples/health/get-time.md index 696d7acd40..8e126c0c07 100644 --- a/docs/examples/1.5.x/console-web/examples/health/get-time.md +++ b/docs/examples/1.5.x/console-web/examples/health/get-time.md @@ -2,10 +2,10 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); const result = await health.getTime(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/health/get.md b/docs/examples/1.5.x/console-web/examples/health/get.md index 85a6fd9f77..3f2f0fbd85 100644 --- a/docs/examples/1.5.x/console-web/examples/health/get.md +++ b/docs/examples/1.5.x/console-web/examples/health/get.md @@ -2,10 +2,10 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); const result = await health.get(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/locale/get.md b/docs/examples/1.5.x/console-web/examples/locale/get.md index 387aedc074..fc4f1490ac 100644 --- a/docs/examples/1.5.x/console-web/examples/locale/get.md +++ b/docs/examples/1.5.x/console-web/examples/locale/get.md @@ -2,10 +2,10 @@ import { Client, Locale } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); const result = await locale.get(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/locale/list-codes.md b/docs/examples/1.5.x/console-web/examples/locale/list-codes.md index d426e06a85..547ff18418 100644 --- a/docs/examples/1.5.x/console-web/examples/locale/list-codes.md +++ b/docs/examples/1.5.x/console-web/examples/locale/list-codes.md @@ -2,10 +2,10 @@ import { Client, Locale } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); const result = await locale.listCodes(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/locale/list-continents.md b/docs/examples/1.5.x/console-web/examples/locale/list-continents.md index 544550a463..2c09d6a472 100644 --- a/docs/examples/1.5.x/console-web/examples/locale/list-continents.md +++ b/docs/examples/1.5.x/console-web/examples/locale/list-continents.md @@ -2,10 +2,10 @@ import { Client, Locale } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); const result = await locale.listContinents(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/locale/list-countries-e-u.md b/docs/examples/1.5.x/console-web/examples/locale/list-countries-e-u.md index a675d30d56..12769b40f5 100644 --- a/docs/examples/1.5.x/console-web/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.5.x/console-web/examples/locale/list-countries-e-u.md @@ -2,10 +2,10 @@ import { Client, Locale } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); const result = await locale.listCountriesEU(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/locale/list-countries-phones.md b/docs/examples/1.5.x/console-web/examples/locale/list-countries-phones.md index 938b248b9d..6bd09be13e 100644 --- a/docs/examples/1.5.x/console-web/examples/locale/list-countries-phones.md +++ b/docs/examples/1.5.x/console-web/examples/locale/list-countries-phones.md @@ -2,10 +2,10 @@ import { Client, Locale } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); const result = await locale.listCountriesPhones(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/locale/list-countries.md b/docs/examples/1.5.x/console-web/examples/locale/list-countries.md index e3f84b0c3a..e245f18aa7 100644 --- a/docs/examples/1.5.x/console-web/examples/locale/list-countries.md +++ b/docs/examples/1.5.x/console-web/examples/locale/list-countries.md @@ -2,10 +2,10 @@ import { Client, Locale } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); const result = await locale.listCountries(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/locale/list-currencies.md b/docs/examples/1.5.x/console-web/examples/locale/list-currencies.md index 8ffe9ad2fd..4fabdd6a71 100644 --- a/docs/examples/1.5.x/console-web/examples/locale/list-currencies.md +++ b/docs/examples/1.5.x/console-web/examples/locale/list-currencies.md @@ -2,10 +2,10 @@ import { Client, Locale } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); const result = await locale.listCurrencies(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/locale/list-languages.md b/docs/examples/1.5.x/console-web/examples/locale/list-languages.md index c9a74bf968..3de7d36e2f 100644 --- a/docs/examples/1.5.x/console-web/examples/locale/list-languages.md +++ b/docs/examples/1.5.x/console-web/examples/locale/list-languages.md @@ -2,10 +2,10 @@ import { Client, Locale } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); const result = await locale.listLanguages(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/create-a-p-n-s-provider.md b/docs/examples/1.5.x/console-web/examples/messaging/create-a-p-n-s-provider.md index d329d2626e..eee3408386 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/create-a-p-n-s-provider.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/create-a-p-n-s-provider.md @@ -5,7 +5,7 @@ const client = new Client(); const messaging = new Messaging(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.5.x/console-web/examples/messaging/create-apns-provider.md b/docs/examples/1.5.x/console-web/examples/messaging/create-apns-provider.md index 2313716128..2c9592eacb 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/create-apns-provider.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/create-apns-provider.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -17,4 +17,4 @@ const result = await messaging.createApnsProvider( false // enabled (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/create-email.md b/docs/examples/1.5.x/console-web/examples/messaging/create-email.md index 7d1b1184e3..cf9800827c 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/create-email.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/create-email.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -21,4 +21,4 @@ const result = await messaging.createEmail( '' // scheduledAt (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/create-f-c-m-provider.md b/docs/examples/1.5.x/console-web/examples/messaging/create-f-c-m-provider.md index a4774c7561..8437f1dc58 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/create-f-c-m-provider.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/create-f-c-m-provider.md @@ -5,7 +5,7 @@ const client = new Client(); const messaging = new Messaging(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.5.x/console-web/examples/messaging/create-fcm-provider.md b/docs/examples/1.5.x/console-web/examples/messaging/create-fcm-provider.md index 64091866fb..e4db7c5b87 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/create-fcm-provider.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/create-fcm-provider.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -13,4 +13,4 @@ const result = await messaging.createFcmProvider( false // enabled (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/create-mailgun-provider.md b/docs/examples/1.5.x/console-web/examples/messaging/create-mailgun-provider.md index 70e60593fc..e03a7adc7e 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/create-mailgun-provider.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/create-mailgun-provider.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -19,4 +19,4 @@ const result = await messaging.createMailgunProvider( false // enabled (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/create-msg91provider.md b/docs/examples/1.5.x/console-web/examples/messaging/create-msg91provider.md index e066f1c3e5..2576d818e8 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/create-msg91provider.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/create-msg91provider.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -15,4 +15,4 @@ const result = await messaging.createMsg91Provider( false // enabled (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/create-push.md b/docs/examples/1.5.x/console-web/examples/messaging/create-push.md index dcb8654d1e..9a4fd4269a 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/create-push.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/create-push.md @@ -1,15 +1,15 @@ -import { Client, Messaging } from "@appwrite.io/console"; +import { Client, Messaging, MessagePriority } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); const result = await messaging.createPush( '<MESSAGE_ID>', // messageId - '<TITLE>', // title - '<BODY>', // body + '<TITLE>', // title (optional) + '<BODY>', // body (optional) [], // topics (optional) [], // users (optional) [], // targets (optional) @@ -20,9 +20,12 @@ const result = await messaging.createPush( '<SOUND>', // sound (optional) '<COLOR>', // color (optional) '<TAG>', // tag (optional) - '<BADGE>', // badge (optional) + null, // badge (optional) false, // draft (optional) - '' // scheduledAt (optional) + '', // scheduledAt (optional) + false, // contentAvailable (optional) + false, // critical (optional) + MessagePriority.Normal // priority (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/create-s-m-s.md b/docs/examples/1.5.x/console-web/examples/messaging/create-s-m-s.md index d29de0dcea..56f7320b4d 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/create-s-m-s.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/create-s-m-s.md @@ -5,7 +5,7 @@ const client = new Client(); const messaging = new Messaging(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.5.x/console-web/examples/messaging/create-s-m-t-p-provider.md b/docs/examples/1.5.x/console-web/examples/messaging/create-s-m-t-p-provider.md index d463ba3c50..c7b6d75521 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/create-s-m-t-p-provider.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/create-s-m-t-p-provider.md @@ -5,7 +5,7 @@ const client = new Client(); const messaging = new Messaging(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.5.x/console-web/examples/messaging/create-sendgrid-provider.md b/docs/examples/1.5.x/console-web/examples/messaging/create-sendgrid-provider.md index 10c1987c1e..309df22c6c 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/create-sendgrid-provider.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/create-sendgrid-provider.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -17,4 +17,4 @@ const result = await messaging.createSendgridProvider( false // enabled (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/create-sms.md b/docs/examples/1.5.x/console-web/examples/messaging/create-sms.md index 91393f627c..8cdc8ffd42 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/create-sms.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/create-sms.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -16,4 +16,4 @@ const result = await messaging.createSms( '' // scheduledAt (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/create-smtp-provider.md b/docs/examples/1.5.x/console-web/examples/messaging/create-smtp-provider.md index fd8aa44cf2..a1363e6ded 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/create-smtp-provider.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/create-smtp-provider.md @@ -2,7 +2,7 @@ import { Client, Messaging, SmtpEncryption } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -23,4 +23,4 @@ const result = await messaging.createSmtpProvider( false // enabled (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/create-subscriber.md b/docs/examples/1.5.x/console-web/examples/messaging/create-subscriber.md index 71e2e045bc..9e6705488d 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/create-subscriber.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/create-subscriber.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -12,4 +12,4 @@ const result = await messaging.createSubscriber( '<TARGET_ID>' // targetId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/create-telesign-provider.md b/docs/examples/1.5.x/console-web/examples/messaging/create-telesign-provider.md index d0105fff1e..03928d1cba 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/create-telesign-provider.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/create-telesign-provider.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -15,4 +15,4 @@ const result = await messaging.createTelesignProvider( false // enabled (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/create-textmagic-provider.md b/docs/examples/1.5.x/console-web/examples/messaging/create-textmagic-provider.md index 9eccf339d7..f3a4f21a49 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/create-textmagic-provider.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/create-textmagic-provider.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -15,4 +15,4 @@ const result = await messaging.createTextmagicProvider( false // enabled (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/create-topic.md b/docs/examples/1.5.x/console-web/examples/messaging/create-topic.md index ce49f9d097..46a7a10f38 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/create-topic.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/create-topic.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -12,4 +12,4 @@ const result = await messaging.createTopic( ["any"] // subscribe (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/create-twilio-provider.md b/docs/examples/1.5.x/console-web/examples/messaging/create-twilio-provider.md index 37e6851ac4..4a1dbef256 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/create-twilio-provider.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/create-twilio-provider.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -15,4 +15,4 @@ const result = await messaging.createTwilioProvider( false // enabled (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/create-vonage-provider.md b/docs/examples/1.5.x/console-web/examples/messaging/create-vonage-provider.md index 81b3d16ff8..97dfed44f3 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/create-vonage-provider.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/create-vonage-provider.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -15,4 +15,4 @@ const result = await messaging.createVonageProvider( false // enabled (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/delete-provider.md b/docs/examples/1.5.x/console-web/examples/messaging/delete-provider.md index dbdc076e49..03626ffd6f 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/delete-provider.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/delete-provider.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -10,4 +10,4 @@ const result = await messaging.deleteProvider( '<PROVIDER_ID>' // providerId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/delete-subscriber.md b/docs/examples/1.5.x/console-web/examples/messaging/delete-subscriber.md index c88a0a5781..dc10349ebb 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/delete-subscriber.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/delete-subscriber.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -11,4 +11,4 @@ const result = await messaging.deleteSubscriber( '<SUBSCRIBER_ID>' // subscriberId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/delete-topic.md b/docs/examples/1.5.x/console-web/examples/messaging/delete-topic.md index 1adaa6a561..f009f770af 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/delete-topic.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/delete-topic.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -10,4 +10,4 @@ const result = await messaging.deleteTopic( '<TOPIC_ID>' // topicId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/delete.md b/docs/examples/1.5.x/console-web/examples/messaging/delete.md index 5adcdda136..daf58d2900 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/delete.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/delete.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -10,4 +10,4 @@ const result = await messaging.delete( '<MESSAGE_ID>' // messageId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/get-message.md b/docs/examples/1.5.x/console-web/examples/messaging/get-message.md index d2969194e1..3e141f4182 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/get-message.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/get-message.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -10,4 +10,4 @@ const result = await messaging.getMessage( '<MESSAGE_ID>' // messageId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/get-provider.md b/docs/examples/1.5.x/console-web/examples/messaging/get-provider.md index ec576d2d4e..834241ffb3 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/get-provider.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/get-provider.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -10,4 +10,4 @@ const result = await messaging.getProvider( '<PROVIDER_ID>' // providerId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/get-subscriber.md b/docs/examples/1.5.x/console-web/examples/messaging/get-subscriber.md index 72706a0c7d..22860485dc 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/get-subscriber.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/get-subscriber.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -11,4 +11,4 @@ const result = await messaging.getSubscriber( '<SUBSCRIBER_ID>' // subscriberId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/get-topic.md b/docs/examples/1.5.x/console-web/examples/messaging/get-topic.md index 277d611ff7..dd30034a24 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/get-topic.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/get-topic.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -10,4 +10,4 @@ const result = await messaging.getTopic( '<TOPIC_ID>' // topicId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/list-message-logs.md b/docs/examples/1.5.x/console-web/examples/messaging/list-message-logs.md index 20ec0be37e..709a433e73 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/list-message-logs.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/list-message-logs.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -11,4 +11,4 @@ const result = await messaging.listMessageLogs( [] // queries (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/list-messages.md b/docs/examples/1.5.x/console-web/examples/messaging/list-messages.md index e7d58f9ccd..42cf8874e5 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/list-messages.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/list-messages.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -11,4 +11,4 @@ const result = await messaging.listMessages( '<SEARCH>' // search (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/list-provider-logs.md b/docs/examples/1.5.x/console-web/examples/messaging/list-provider-logs.md index 9b338e39fa..228a83e6ca 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/list-provider-logs.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/list-provider-logs.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -11,4 +11,4 @@ const result = await messaging.listProviderLogs( [] // queries (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/list-providers.md b/docs/examples/1.5.x/console-web/examples/messaging/list-providers.md index 5c3e1bde0c..e135b4afb7 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/list-providers.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/list-providers.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -11,4 +11,4 @@ const result = await messaging.listProviders( '<SEARCH>' // search (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/list-subscriber-logs.md b/docs/examples/1.5.x/console-web/examples/messaging/list-subscriber-logs.md index 2ef14d7cd5..33f4bdf0b1 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/list-subscriber-logs.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/list-subscriber-logs.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -11,4 +11,4 @@ const result = await messaging.listSubscriberLogs( [] // queries (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/list-subscribers.md b/docs/examples/1.5.x/console-web/examples/messaging/list-subscribers.md index c317de9cff..09818406d5 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/list-subscribers.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/list-subscribers.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -12,4 +12,4 @@ const result = await messaging.listSubscribers( '<SEARCH>' // search (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/list-targets.md b/docs/examples/1.5.x/console-web/examples/messaging/list-targets.md index 1628d1dac1..92adc0cf34 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/list-targets.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/list-targets.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -11,4 +11,4 @@ const result = await messaging.listTargets( [] // queries (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/list-topic-logs.md b/docs/examples/1.5.x/console-web/examples/messaging/list-topic-logs.md index a3675031fe..2ab33f6533 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/list-topic-logs.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/list-topic-logs.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -11,4 +11,4 @@ const result = await messaging.listTopicLogs( [] // queries (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/list-topics.md b/docs/examples/1.5.x/console-web/examples/messaging/list-topics.md index d42ae79a49..8983f834f7 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/list-topics.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/list-topics.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -11,4 +11,4 @@ const result = await messaging.listTopics( '<SEARCH>' // search (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/update-a-p-n-s-provider.md b/docs/examples/1.5.x/console-web/examples/messaging/update-a-p-n-s-provider.md index 24e3a59a3e..bb89e23de3 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/update-a-p-n-s-provider.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/update-a-p-n-s-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/update-apns-provider.md b/docs/examples/1.5.x/console-web/examples/messaging/update-apns-provider.md index adde33676d..4face78920 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/update-apns-provider.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/update-apns-provider.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -17,4 +17,4 @@ const result = await messaging.updateApnsProvider( false // sandbox (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/update-email.md b/docs/examples/1.5.x/console-web/examples/messaging/update-email.md index ea9ff13858..905ba629c4 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/update-email.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/update-email.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -21,4 +21,4 @@ const result = await messaging.updateEmail( [] // attachments (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/update-f-c-m-provider.md b/docs/examples/1.5.x/console-web/examples/messaging/update-f-c-m-provider.md index e734ce6615..7f800a3e41 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/update-f-c-m-provider.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/update-f-c-m-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/update-fcm-provider.md b/docs/examples/1.5.x/console-web/examples/messaging/update-fcm-provider.md index bf408da290..0c1b2627dc 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/update-fcm-provider.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/update-fcm-provider.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -13,4 +13,4 @@ const result = await messaging.updateFcmProvider( {} // serviceAccountJSON (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/update-mailgun-provider.md b/docs/examples/1.5.x/console-web/examples/messaging/update-mailgun-provider.md index 8edfd8f43e..8dbf6b8bc3 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/update-mailgun-provider.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/update-mailgun-provider.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -19,4 +19,4 @@ const result = await messaging.updateMailgunProvider( '<REPLY_TO_EMAIL>' // replyToEmail (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/update-msg91provider.md b/docs/examples/1.5.x/console-web/examples/messaging/update-msg91provider.md index 4a8148a24f..68db8ffe2d 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/update-msg91provider.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/update-msg91provider.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -15,4 +15,4 @@ const result = await messaging.updateMsg91Provider( '<AUTH_KEY>' // authKey (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/update-push.md b/docs/examples/1.5.x/console-web/examples/messaging/update-push.md index e6ec29c2cd..fa2220d3c6 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/update-push.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/update-push.md @@ -1,8 +1,8 @@ -import { Client, Messaging } from "@appwrite.io/console"; +import { Client, Messaging, MessagePriority } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -22,7 +22,10 @@ const result = await messaging.updatePush( '<TAG>', // tag (optional) null, // badge (optional) false, // draft (optional) - '' // scheduledAt (optional) + '', // scheduledAt (optional) + false, // contentAvailable (optional) + false, // critical (optional) + MessagePriority.Normal // priority (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/update-s-m-s.md b/docs/examples/1.5.x/console-web/examples/messaging/update-s-m-s.md index b43057ac58..c277ed618f 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/update-s-m-s.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/update-s-m-s.md @@ -5,7 +5,7 @@ const client = new Client(); const messaging = new Messaging(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.5.x/console-web/examples/messaging/update-s-m-t-p-provider.md b/docs/examples/1.5.x/console-web/examples/messaging/update-s-m-t-p-provider.md index 163512e004..d4d05e4976 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/update-s-m-t-p-provider.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/update-s-m-t-p-provider.md @@ -5,7 +5,7 @@ const client = new Client(); const messaging = new Messaging(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.5.x/console-web/examples/messaging/update-sendgrid-provider.md b/docs/examples/1.5.x/console-web/examples/messaging/update-sendgrid-provider.md index a815cfacd3..5cb6907f05 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/update-sendgrid-provider.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/update-sendgrid-provider.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -17,4 +17,4 @@ const result = await messaging.updateSendgridProvider( '<REPLY_TO_EMAIL>' // replyToEmail (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/update-sms.md b/docs/examples/1.5.x/console-web/examples/messaging/update-sms.md index 058ed8a3a4..c26662680a 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/update-sms.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/update-sms.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -16,4 +16,4 @@ const result = await messaging.updateSms( '' // scheduledAt (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/update-smtp-provider.md b/docs/examples/1.5.x/console-web/examples/messaging/update-smtp-provider.md index a8556fe482..aca32d1902 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/update-smtp-provider.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/update-smtp-provider.md @@ -2,7 +2,7 @@ import { Client, Messaging, SmtpEncryption } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -23,4 +23,4 @@ const result = await messaging.updateSmtpProvider( false // enabled (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/update-telesign-provider.md b/docs/examples/1.5.x/console-web/examples/messaging/update-telesign-provider.md index 5ae3543a5e..fcba0648f5 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/update-telesign-provider.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/update-telesign-provider.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -15,4 +15,4 @@ const result = await messaging.updateTelesignProvider( '<FROM>' // from (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/update-textmagic-provider.md b/docs/examples/1.5.x/console-web/examples/messaging/update-textmagic-provider.md index 45c19fc3f2..c2f1c2506a 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/update-textmagic-provider.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/update-textmagic-provider.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -15,4 +15,4 @@ const result = await messaging.updateTextmagicProvider( '<FROM>' // from (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/update-topic.md b/docs/examples/1.5.x/console-web/examples/messaging/update-topic.md index 19da6c5605..d5d953511b 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/update-topic.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/update-topic.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -12,4 +12,4 @@ const result = await messaging.updateTopic( ["any"] // subscribe (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/update-twilio-provider.md b/docs/examples/1.5.x/console-web/examples/messaging/update-twilio-provider.md index fd1b314287..d6a8d07a4b 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/update-twilio-provider.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/update-twilio-provider.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -15,4 +15,4 @@ const result = await messaging.updateTwilioProvider( '<FROM>' // from (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/messaging/update-vonage-provider.md b/docs/examples/1.5.x/console-web/examples/messaging/update-vonage-provider.md index 7fd146680b..939cd821d6 100644 --- a/docs/examples/1.5.x/console-web/examples/messaging/update-vonage-provider.md +++ b/docs/examples/1.5.x/console-web/examples/messaging/update-vonage-provider.md @@ -2,7 +2,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); @@ -15,4 +15,4 @@ const result = await messaging.updateVonageProvider( '<FROM>' // from (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/migrations/create-appwrite-migration.md b/docs/examples/1.5.x/console-web/examples/migrations/create-appwrite-migration.md index 91e7153986..4e5b463e38 100644 --- a/docs/examples/1.5.x/console-web/examples/migrations/create-appwrite-migration.md +++ b/docs/examples/1.5.x/console-web/examples/migrations/create-appwrite-migration.md @@ -2,7 +2,7 @@ import { Client, Migrations } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const migrations = new Migrations(client); @@ -13,4 +13,4 @@ const result = await migrations.createAppwriteMigration( '<API_KEY>' // apiKey ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/migrations/create-firebase-migration.md b/docs/examples/1.5.x/console-web/examples/migrations/create-firebase-migration.md index 20e75883d7..9e59eda642 100644 --- a/docs/examples/1.5.x/console-web/examples/migrations/create-firebase-migration.md +++ b/docs/examples/1.5.x/console-web/examples/migrations/create-firebase-migration.md @@ -2,7 +2,7 @@ import { Client, Migrations } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const migrations = new Migrations(client); @@ -11,4 +11,4 @@ const result = await migrations.createFirebaseMigration( '<SERVICE_ACCOUNT>' // serviceAccount ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/migrations/create-firebase-o-auth-migration.md b/docs/examples/1.5.x/console-web/examples/migrations/create-firebase-o-auth-migration.md index c35c654be7..fca6e8ca18 100644 --- a/docs/examples/1.5.x/console-web/examples/migrations/create-firebase-o-auth-migration.md +++ b/docs/examples/1.5.x/console-web/examples/migrations/create-firebase-o-auth-migration.md @@ -1,7 +1,7 @@ import { Client, Migrations } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID const migrations = new Migrations(client); diff --git a/docs/examples/1.5.x/console-web/examples/migrations/create-n-host-migration.md b/docs/examples/1.5.x/console-web/examples/migrations/create-n-host-migration.md index e87a6efd00..281b584d35 100644 --- a/docs/examples/1.5.x/console-web/examples/migrations/create-n-host-migration.md +++ b/docs/examples/1.5.x/console-web/examples/migrations/create-n-host-migration.md @@ -2,7 +2,7 @@ import { Client, Migrations } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const migrations = new Migrations(client); @@ -17,4 +17,4 @@ const result = await migrations.createNHostMigration( null // port (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/migrations/create-supabase-migration.md b/docs/examples/1.5.x/console-web/examples/migrations/create-supabase-migration.md index 5377c6beaf..290009b498 100644 --- a/docs/examples/1.5.x/console-web/examples/migrations/create-supabase-migration.md +++ b/docs/examples/1.5.x/console-web/examples/migrations/create-supabase-migration.md @@ -2,7 +2,7 @@ import { Client, Migrations } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const migrations = new Migrations(client); @@ -16,4 +16,4 @@ const result = await migrations.createSupabaseMigration( null // port (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/migrations/delete-firebase-auth.md b/docs/examples/1.5.x/console-web/examples/migrations/delete-firebase-auth.md index 5707be782d..e6cb673587 100644 --- a/docs/examples/1.5.x/console-web/examples/migrations/delete-firebase-auth.md +++ b/docs/examples/1.5.x/console-web/examples/migrations/delete-firebase-auth.md @@ -1,7 +1,7 @@ import { Client, Migrations } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID const migrations = new Migrations(client); diff --git a/docs/examples/1.5.x/console-web/examples/migrations/delete.md b/docs/examples/1.5.x/console-web/examples/migrations/delete.md index 2a0af9b0fa..d5f68fffaf 100644 --- a/docs/examples/1.5.x/console-web/examples/migrations/delete.md +++ b/docs/examples/1.5.x/console-web/examples/migrations/delete.md @@ -2,7 +2,7 @@ import { Client, Migrations } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const migrations = new Migrations(client); @@ -10,4 +10,4 @@ const result = await migrations.delete( '<MIGRATION_ID>' // migrationId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/migrations/get-appwrite-report.md b/docs/examples/1.5.x/console-web/examples/migrations/get-appwrite-report.md index 82313bc14f..b5de0848bc 100644 --- a/docs/examples/1.5.x/console-web/examples/migrations/get-appwrite-report.md +++ b/docs/examples/1.5.x/console-web/examples/migrations/get-appwrite-report.md @@ -2,7 +2,7 @@ import { Client, Migrations } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const migrations = new Migrations(client); @@ -13,4 +13,4 @@ const result = await migrations.getAppwriteReport( '<KEY>' // key ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/migrations/get-firebase-report-o-auth.md b/docs/examples/1.5.x/console-web/examples/migrations/get-firebase-report-o-auth.md index 634f2f0f41..cb4ee84689 100644 --- a/docs/examples/1.5.x/console-web/examples/migrations/get-firebase-report-o-auth.md +++ b/docs/examples/1.5.x/console-web/examples/migrations/get-firebase-report-o-auth.md @@ -1,7 +1,7 @@ import { Client, Migrations } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID const migrations = new Migrations(client); diff --git a/docs/examples/1.5.x/console-web/examples/migrations/get-firebase-report.md b/docs/examples/1.5.x/console-web/examples/migrations/get-firebase-report.md index 1d9ebaa6fb..112dd629d7 100644 --- a/docs/examples/1.5.x/console-web/examples/migrations/get-firebase-report.md +++ b/docs/examples/1.5.x/console-web/examples/migrations/get-firebase-report.md @@ -2,7 +2,7 @@ import { Client, Migrations } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const migrations = new Migrations(client); @@ -11,4 +11,4 @@ const result = await migrations.getFirebaseReport( '<SERVICE_ACCOUNT>' // serviceAccount ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/migrations/get-n-host-report.md b/docs/examples/1.5.x/console-web/examples/migrations/get-n-host-report.md index 7d66870e4c..ec615014f1 100644 --- a/docs/examples/1.5.x/console-web/examples/migrations/get-n-host-report.md +++ b/docs/examples/1.5.x/console-web/examples/migrations/get-n-host-report.md @@ -2,7 +2,7 @@ import { Client, Migrations } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const migrations = new Migrations(client); @@ -17,4 +17,4 @@ const result = await migrations.getNHostReport( null // port (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/migrations/get-supabase-report.md b/docs/examples/1.5.x/console-web/examples/migrations/get-supabase-report.md index 4a5e1a9719..5f6dd316e7 100644 --- a/docs/examples/1.5.x/console-web/examples/migrations/get-supabase-report.md +++ b/docs/examples/1.5.x/console-web/examples/migrations/get-supabase-report.md @@ -2,7 +2,7 @@ import { Client, Migrations } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const migrations = new Migrations(client); @@ -16,4 +16,4 @@ const result = await migrations.getSupabaseReport( null // port (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/migrations/get.md b/docs/examples/1.5.x/console-web/examples/migrations/get.md index 4c1f5d3b90..3397c2faa8 100644 --- a/docs/examples/1.5.x/console-web/examples/migrations/get.md +++ b/docs/examples/1.5.x/console-web/examples/migrations/get.md @@ -2,7 +2,7 @@ import { Client, Migrations } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const migrations = new Migrations(client); @@ -10,4 +10,4 @@ const result = await migrations.get( '<MIGRATION_ID>' // migrationId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/migrations/list-firebase-projects.md b/docs/examples/1.5.x/console-web/examples/migrations/list-firebase-projects.md index 018b1211fc..8c981c9fb6 100644 --- a/docs/examples/1.5.x/console-web/examples/migrations/list-firebase-projects.md +++ b/docs/examples/1.5.x/console-web/examples/migrations/list-firebase-projects.md @@ -1,7 +1,7 @@ import { Client, Migrations } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID const migrations = new Migrations(client); diff --git a/docs/examples/1.5.x/console-web/examples/migrations/list.md b/docs/examples/1.5.x/console-web/examples/migrations/list.md index 65c2c1888d..05207f4a6a 100644 --- a/docs/examples/1.5.x/console-web/examples/migrations/list.md +++ b/docs/examples/1.5.x/console-web/examples/migrations/list.md @@ -2,7 +2,7 @@ import { Client, Migrations } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const migrations = new Migrations(client); @@ -11,4 +11,4 @@ const result = await migrations.list( '<SEARCH>' // search (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/migrations/retry.md b/docs/examples/1.5.x/console-web/examples/migrations/retry.md index 110e600e40..e70bc0700f 100644 --- a/docs/examples/1.5.x/console-web/examples/migrations/retry.md +++ b/docs/examples/1.5.x/console-web/examples/migrations/retry.md @@ -2,7 +2,7 @@ import { Client, Migrations } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const migrations = new Migrations(client); @@ -10,4 +10,4 @@ const result = await migrations.retry( '<MIGRATION_ID>' // migrationId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/project/create-variable.md b/docs/examples/1.5.x/console-web/examples/project/create-variable.md index d9efb5eb1e..5d72427d9f 100644 --- a/docs/examples/1.5.x/console-web/examples/project/create-variable.md +++ b/docs/examples/1.5.x/console-web/examples/project/create-variable.md @@ -2,7 +2,7 @@ import { Client, Project } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const project = new Project(client); @@ -11,4 +11,4 @@ const result = await project.createVariable( '<VALUE>' // value ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/project/delete-variable.md b/docs/examples/1.5.x/console-web/examples/project/delete-variable.md index 657520fb46..f7a9cf7f3f 100644 --- a/docs/examples/1.5.x/console-web/examples/project/delete-variable.md +++ b/docs/examples/1.5.x/console-web/examples/project/delete-variable.md @@ -2,7 +2,7 @@ import { Client, Project } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const project = new Project(client); @@ -10,4 +10,4 @@ const result = await project.deleteVariable( '<VARIABLE_ID>' // variableId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/project/get-usage.md b/docs/examples/1.5.x/console-web/examples/project/get-usage.md index b81026eaa9..28d2e32a50 100644 --- a/docs/examples/1.5.x/console-web/examples/project/get-usage.md +++ b/docs/examples/1.5.x/console-web/examples/project/get-usage.md @@ -2,7 +2,7 @@ import { Client, Project, ProjectUsageRange } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const project = new Project(client); @@ -12,4 +12,4 @@ const result = await project.getUsage( ProjectUsageRange.OneHour // period (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/project/get-variable.md b/docs/examples/1.5.x/console-web/examples/project/get-variable.md index f7cb80272d..8765ccaf17 100644 --- a/docs/examples/1.5.x/console-web/examples/project/get-variable.md +++ b/docs/examples/1.5.x/console-web/examples/project/get-variable.md @@ -2,7 +2,7 @@ import { Client, Project } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const project = new Project(client); @@ -10,4 +10,4 @@ const result = await project.getVariable( '<VARIABLE_ID>' // variableId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/project/list-variables.md b/docs/examples/1.5.x/console-web/examples/project/list-variables.md index 41e448e406..fde2ccfaf0 100644 --- a/docs/examples/1.5.x/console-web/examples/project/list-variables.md +++ b/docs/examples/1.5.x/console-web/examples/project/list-variables.md @@ -2,10 +2,10 @@ import { Client, Project } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const project = new Project(client); const result = await project.listVariables(); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/project/update-variable.md b/docs/examples/1.5.x/console-web/examples/project/update-variable.md index 532fbdc82b..7263032bfb 100644 --- a/docs/examples/1.5.x/console-web/examples/project/update-variable.md +++ b/docs/examples/1.5.x/console-web/examples/project/update-variable.md @@ -2,7 +2,7 @@ import { Client, Project } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const project = new Project(client); @@ -12,4 +12,4 @@ const result = await project.updateVariable( '<VALUE>' // value (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/create-j-w-t.md b/docs/examples/1.5.x/console-web/examples/projects/create-j-w-t.md new file mode 100644 index 0000000000..2674a12ae1 --- /dev/null +++ b/docs/examples/1.5.x/console-web/examples/projects/create-j-w-t.md @@ -0,0 +1,15 @@ +import { Client, Projects } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>'); // Your project ID + +const projects = new Projects(client); + +const result = await projects.createJWT( + '<PROJECT_ID>', // projectId + [], // scopes + 0 // duration (optional) +); + +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/create-key.md b/docs/examples/1.5.x/console-web/examples/projects/create-key.md index 29f9258d5b..80ab9cc429 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/create-key.md +++ b/docs/examples/1.5.x/console-web/examples/projects/create-key.md @@ -2,7 +2,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -13,4 +13,4 @@ const result = await projects.createKey( '' // expire (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/create-platform.md b/docs/examples/1.5.x/console-web/examples/projects/create-platform.md index e8ad4f846c..472517a625 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/create-platform.md +++ b/docs/examples/1.5.x/console-web/examples/projects/create-platform.md @@ -2,7 +2,7 @@ import { Client, Projects, PlatformType } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -15,4 +15,4 @@ const result = await projects.createPlatform( '' // hostname (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/create-smtp-test.md b/docs/examples/1.5.x/console-web/examples/projects/create-smtp-test.md index dab2e5ec9b..205a60846d 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/create-smtp-test.md +++ b/docs/examples/1.5.x/console-web/examples/projects/create-smtp-test.md @@ -2,7 +2,7 @@ import { Client, Projects, SMTPSecure } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -19,4 +19,4 @@ const result = await projects.createSmtpTest( SMTPSecure.Tls // secure (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/create-webhook.md b/docs/examples/1.5.x/console-web/examples/projects/create-webhook.md index 8dec04c315..066b1b78aa 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/create-webhook.md +++ b/docs/examples/1.5.x/console-web/examples/projects/create-webhook.md @@ -2,7 +2,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -17,4 +17,4 @@ const result = await projects.createWebhook( '<HTTP_PASS>' // httpPass (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/create.md b/docs/examples/1.5.x/console-web/examples/projects/create.md index b008f9bc74..8d1eb12cac 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/create.md +++ b/docs/examples/1.5.x/console-web/examples/projects/create.md @@ -2,7 +2,7 @@ import { Client, Projects, } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -22,4 +22,4 @@ const result = await projects.create( '<LEGAL_TAX_ID>' // legalTaxId (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/delete-email-template.md b/docs/examples/1.5.x/console-web/examples/projects/delete-email-template.md index 13a384cb27..582c756260 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/delete-email-template.md +++ b/docs/examples/1.5.x/console-web/examples/projects/delete-email-template.md @@ -2,7 +2,7 @@ import { Client, Projects, EmailTemplateType, EmailTemplateLocale } from "@appwr const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -12,4 +12,4 @@ const result = await projects.deleteEmailTemplate( EmailTemplateLocale.Af // locale ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/delete-key.md b/docs/examples/1.5.x/console-web/examples/projects/delete-key.md index c1ac0a7496..21643859f7 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/delete-key.md +++ b/docs/examples/1.5.x/console-web/examples/projects/delete-key.md @@ -2,7 +2,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -11,4 +11,4 @@ const result = await projects.deleteKey( '<KEY_ID>' // keyId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/delete-platform.md b/docs/examples/1.5.x/console-web/examples/projects/delete-platform.md index 28e1109152..8a0dd667ac 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/delete-platform.md +++ b/docs/examples/1.5.x/console-web/examples/projects/delete-platform.md @@ -2,7 +2,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -11,4 +11,4 @@ const result = await projects.deletePlatform( '<PLATFORM_ID>' // platformId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/delete-sms-template.md b/docs/examples/1.5.x/console-web/examples/projects/delete-sms-template.md index 281384cab2..cee473637e 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/delete-sms-template.md +++ b/docs/examples/1.5.x/console-web/examples/projects/delete-sms-template.md @@ -2,7 +2,7 @@ import { Client, Projects, SmsTemplateType, SmsTemplateLocale } from "@appwrite. const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -12,4 +12,4 @@ const result = await projects.deleteSmsTemplate( SmsTemplateLocale.Af // locale ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/delete-webhook.md b/docs/examples/1.5.x/console-web/examples/projects/delete-webhook.md index f61268b342..9b8b0ca0b5 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/delete-webhook.md +++ b/docs/examples/1.5.x/console-web/examples/projects/delete-webhook.md @@ -2,7 +2,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -11,4 +11,4 @@ const result = await projects.deleteWebhook( '<WEBHOOK_ID>' // webhookId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/delete.md b/docs/examples/1.5.x/console-web/examples/projects/delete.md index abcdb644f4..606b449388 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/delete.md +++ b/docs/examples/1.5.x/console-web/examples/projects/delete.md @@ -2,7 +2,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -10,4 +10,4 @@ const result = await projects.delete( '<PROJECT_ID>' // projectId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/get-email-template.md b/docs/examples/1.5.x/console-web/examples/projects/get-email-template.md index 177291a07d..41da628ce2 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/get-email-template.md +++ b/docs/examples/1.5.x/console-web/examples/projects/get-email-template.md @@ -2,7 +2,7 @@ import { Client, Projects, EmailTemplateType, EmailTemplateLocale } from "@appwr const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -12,4 +12,4 @@ const result = await projects.getEmailTemplate( EmailTemplateLocale.Af // locale ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/get-key.md b/docs/examples/1.5.x/console-web/examples/projects/get-key.md index ef5c30ba3e..8965f7250a 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/get-key.md +++ b/docs/examples/1.5.x/console-web/examples/projects/get-key.md @@ -2,7 +2,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -11,4 +11,4 @@ const result = await projects.getKey( '<KEY_ID>' // keyId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/get-platform.md b/docs/examples/1.5.x/console-web/examples/projects/get-platform.md index e79319c046..aa0b084726 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/get-platform.md +++ b/docs/examples/1.5.x/console-web/examples/projects/get-platform.md @@ -2,7 +2,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -11,4 +11,4 @@ const result = await projects.getPlatform( '<PLATFORM_ID>' // platformId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/get-sms-template.md b/docs/examples/1.5.x/console-web/examples/projects/get-sms-template.md index 8d28308b61..5c424db160 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/get-sms-template.md +++ b/docs/examples/1.5.x/console-web/examples/projects/get-sms-template.md @@ -2,7 +2,7 @@ import { Client, Projects, SmsTemplateType, SmsTemplateLocale } from "@appwrite. const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -12,4 +12,4 @@ const result = await projects.getSmsTemplate( SmsTemplateLocale.Af // locale ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/get-webhook.md b/docs/examples/1.5.x/console-web/examples/projects/get-webhook.md index 70ffb98010..eff61f8e71 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/get-webhook.md +++ b/docs/examples/1.5.x/console-web/examples/projects/get-webhook.md @@ -2,7 +2,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -11,4 +11,4 @@ const result = await projects.getWebhook( '<WEBHOOK_ID>' // webhookId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/get.md b/docs/examples/1.5.x/console-web/examples/projects/get.md index 5efff32c1b..eb537bfa3f 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/get.md +++ b/docs/examples/1.5.x/console-web/examples/projects/get.md @@ -2,7 +2,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -10,4 +10,4 @@ const result = await projects.get( '<PROJECT_ID>' // projectId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/list-keys.md b/docs/examples/1.5.x/console-web/examples/projects/list-keys.md index 2a2ce19832..a381e9f508 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/list-keys.md +++ b/docs/examples/1.5.x/console-web/examples/projects/list-keys.md @@ -2,7 +2,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -10,4 +10,4 @@ const result = await projects.listKeys( '<PROJECT_ID>' // projectId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/list-platforms.md b/docs/examples/1.5.x/console-web/examples/projects/list-platforms.md index 884a712878..d2dbc82a0c 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/list-platforms.md +++ b/docs/examples/1.5.x/console-web/examples/projects/list-platforms.md @@ -2,7 +2,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -10,4 +10,4 @@ const result = await projects.listPlatforms( '<PROJECT_ID>' // projectId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/list-webhooks.md b/docs/examples/1.5.x/console-web/examples/projects/list-webhooks.md index e060f4d5e1..c0e90e9202 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/list-webhooks.md +++ b/docs/examples/1.5.x/console-web/examples/projects/list-webhooks.md @@ -2,7 +2,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -10,4 +10,4 @@ const result = await projects.listWebhooks( '<PROJECT_ID>' // projectId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/list.md b/docs/examples/1.5.x/console-web/examples/projects/list.md index 51e65ac59c..01d68f4fb0 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/list.md +++ b/docs/examples/1.5.x/console-web/examples/projects/list.md @@ -2,7 +2,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -11,4 +11,4 @@ const result = await projects.list( '<SEARCH>' // search (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/update-a-p-i-status-all.md b/docs/examples/1.5.x/console-web/examples/projects/update-a-p-i-status-all.md index 937e389542..8ef4562852 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/update-a-p-i-status-all.md +++ b/docs/examples/1.5.x/console-web/examples/projects/update-a-p-i-status-all.md @@ -1,7 +1,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.5.x/console-web/examples/projects/update-api-status-all.md b/docs/examples/1.5.x/console-web/examples/projects/update-api-status-all.md index 37a9666f84..5378a3511e 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/update-api-status-all.md +++ b/docs/examples/1.5.x/console-web/examples/projects/update-api-status-all.md @@ -2,7 +2,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -11,4 +11,4 @@ const result = await projects.updateApiStatusAll( false // status ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/update-api-status.md b/docs/examples/1.5.x/console-web/examples/projects/update-api-status.md index e53a3bd433..63328d4486 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/update-api-status.md +++ b/docs/examples/1.5.x/console-web/examples/projects/update-api-status.md @@ -2,7 +2,7 @@ import { Client, Projects, } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -12,4 +12,4 @@ const result = await projects.updateApiStatus( false // status ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/update-auth-duration.md b/docs/examples/1.5.x/console-web/examples/projects/update-auth-duration.md index a46001a55a..82738f3798 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/update-auth-duration.md +++ b/docs/examples/1.5.x/console-web/examples/projects/update-auth-duration.md @@ -2,7 +2,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -11,4 +11,4 @@ const result = await projects.updateAuthDuration( 0 // duration ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/update-auth-limit.md b/docs/examples/1.5.x/console-web/examples/projects/update-auth-limit.md index 12b444a7d3..e76582e0e2 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/update-auth-limit.md +++ b/docs/examples/1.5.x/console-web/examples/projects/update-auth-limit.md @@ -2,7 +2,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -11,4 +11,4 @@ const result = await projects.updateAuthLimit( 0 // limit ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/update-auth-password-dictionary.md b/docs/examples/1.5.x/console-web/examples/projects/update-auth-password-dictionary.md index 8510cfe32d..bd76c9b4b9 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/update-auth-password-dictionary.md +++ b/docs/examples/1.5.x/console-web/examples/projects/update-auth-password-dictionary.md @@ -2,7 +2,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -11,4 +11,4 @@ const result = await projects.updateAuthPasswordDictionary( false // enabled ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/update-auth-password-history.md b/docs/examples/1.5.x/console-web/examples/projects/update-auth-password-history.md index acf2c4673b..02aa65bbb8 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/update-auth-password-history.md +++ b/docs/examples/1.5.x/console-web/examples/projects/update-auth-password-history.md @@ -2,7 +2,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -11,4 +11,4 @@ const result = await projects.updateAuthPasswordHistory( 0 // limit ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/update-auth-sessions-limit.md b/docs/examples/1.5.x/console-web/examples/projects/update-auth-sessions-limit.md index a47267aab2..69efff8cba 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/update-auth-sessions-limit.md +++ b/docs/examples/1.5.x/console-web/examples/projects/update-auth-sessions-limit.md @@ -2,7 +2,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -11,4 +11,4 @@ const result = await projects.updateAuthSessionsLimit( 1 // limit ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/update-auth-status.md b/docs/examples/1.5.x/console-web/examples/projects/update-auth-status.md index 1f4d3978fb..fc38aa6487 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/update-auth-status.md +++ b/docs/examples/1.5.x/console-web/examples/projects/update-auth-status.md @@ -2,7 +2,7 @@ import { Client, Projects, AuthMethod } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -12,4 +12,4 @@ const result = await projects.updateAuthStatus( false // status ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/update-email-template.md b/docs/examples/1.5.x/console-web/examples/projects/update-email-template.md index 5b16b9596d..178193b452 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/update-email-template.md +++ b/docs/examples/1.5.x/console-web/examples/projects/update-email-template.md @@ -2,7 +2,7 @@ import { Client, Projects, EmailTemplateType, EmailTemplateLocale } from "@appwr const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -17,4 +17,4 @@ const result = await projects.updateEmailTemplate( 'email@example.com' // replyTo (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/update-key.md b/docs/examples/1.5.x/console-web/examples/projects/update-key.md index 1a17ac848d..287133deee 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/update-key.md +++ b/docs/examples/1.5.x/console-web/examples/projects/update-key.md @@ -2,7 +2,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -14,4 +14,4 @@ const result = await projects.updateKey( '' // expire (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/update-memberships-privacy.md b/docs/examples/1.5.x/console-web/examples/projects/update-memberships-privacy.md new file mode 100644 index 0000000000..2cde25faa5 --- /dev/null +++ b/docs/examples/1.5.x/console-web/examples/projects/update-memberships-privacy.md @@ -0,0 +1,16 @@ +import { Client, Projects } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>'); // Your project ID + +const projects = new Projects(client); + +const result = await projects.updateMembershipsPrivacy( + '<PROJECT_ID>', // projectId + false, // userName + false, // userEmail + false // mfa +); + +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/update-mock-numbers.md b/docs/examples/1.5.x/console-web/examples/projects/update-mock-numbers.md new file mode 100644 index 0000000000..c371e721e9 --- /dev/null +++ b/docs/examples/1.5.x/console-web/examples/projects/update-mock-numbers.md @@ -0,0 +1,14 @@ +import { Client, Projects } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>'); // Your project ID + +const projects = new Projects(client); + +const result = await projects.updateMockNumbers( + '<PROJECT_ID>', // projectId + [] // numbers +); + +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/update-o-auth2.md b/docs/examples/1.5.x/console-web/examples/projects/update-o-auth2.md index 6e2ff1ca9c..fc9cd5a31e 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/update-o-auth2.md +++ b/docs/examples/1.5.x/console-web/examples/projects/update-o-auth2.md @@ -2,7 +2,7 @@ import { Client, Projects, OAuthProvider } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -14,4 +14,4 @@ const result = await projects.updateOAuth2( false // enabled (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/update-personal-data-check.md b/docs/examples/1.5.x/console-web/examples/projects/update-personal-data-check.md index b597bc0c95..be52d71240 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/update-personal-data-check.md +++ b/docs/examples/1.5.x/console-web/examples/projects/update-personal-data-check.md @@ -2,7 +2,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -11,4 +11,4 @@ const result = await projects.updatePersonalDataCheck( false // enabled ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/update-platform.md b/docs/examples/1.5.x/console-web/examples/projects/update-platform.md index 3bb24ac991..a34d5ccceb 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/update-platform.md +++ b/docs/examples/1.5.x/console-web/examples/projects/update-platform.md @@ -2,7 +2,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -15,4 +15,4 @@ const result = await projects.updatePlatform( '' // hostname (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/update-service-status-all.md b/docs/examples/1.5.x/console-web/examples/projects/update-service-status-all.md index 17ac72e7ff..9a64f375a4 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/update-service-status-all.md +++ b/docs/examples/1.5.x/console-web/examples/projects/update-service-status-all.md @@ -2,7 +2,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -11,4 +11,4 @@ const result = await projects.updateServiceStatusAll( false // status ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/update-service-status.md b/docs/examples/1.5.x/console-web/examples/projects/update-service-status.md index cffa9554a0..e1af528617 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/update-service-status.md +++ b/docs/examples/1.5.x/console-web/examples/projects/update-service-status.md @@ -2,7 +2,7 @@ import { Client, Projects, ApiService } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -12,4 +12,4 @@ const result = await projects.updateServiceStatus( false // status ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/update-session-alerts.md b/docs/examples/1.5.x/console-web/examples/projects/update-session-alerts.md new file mode 100644 index 0000000000..f718d25121 --- /dev/null +++ b/docs/examples/1.5.x/console-web/examples/projects/update-session-alerts.md @@ -0,0 +1,14 @@ +import { Client, Projects } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>'); // Your project ID + +const projects = new Projects(client); + +const result = await projects.updateSessionAlerts( + '<PROJECT_ID>', // projectId + false // alerts +); + +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/update-sms-template.md b/docs/examples/1.5.x/console-web/examples/projects/update-sms-template.md index 1d35691af0..97e7001775 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/update-sms-template.md +++ b/docs/examples/1.5.x/console-web/examples/projects/update-sms-template.md @@ -2,7 +2,7 @@ import { Client, Projects, SmsTemplateType, SmsTemplateLocale } from "@appwrite. const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -13,4 +13,4 @@ const result = await projects.updateSmsTemplate( '<MESSAGE>' // message ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/update-smtp.md b/docs/examples/1.5.x/console-web/examples/projects/update-smtp.md index 91c5d5721b..d2cba5cff1 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/update-smtp.md +++ b/docs/examples/1.5.x/console-web/examples/projects/update-smtp.md @@ -2,7 +2,7 @@ import { Client, Projects, SMTPSecure } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -19,4 +19,4 @@ const result = await projects.updateSmtp( SMTPSecure.Tls // secure (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/update-team.md b/docs/examples/1.5.x/console-web/examples/projects/update-team.md index 416ccfda6f..71ef96c9fb 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/update-team.md +++ b/docs/examples/1.5.x/console-web/examples/projects/update-team.md @@ -2,7 +2,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -11,4 +11,4 @@ const result = await projects.updateTeam( '<TEAM_ID>' // teamId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/update-webhook-signature.md b/docs/examples/1.5.x/console-web/examples/projects/update-webhook-signature.md index 8c83e156d2..14a277c0e1 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/update-webhook-signature.md +++ b/docs/examples/1.5.x/console-web/examples/projects/update-webhook-signature.md @@ -2,7 +2,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -11,4 +11,4 @@ const result = await projects.updateWebhookSignature( '<WEBHOOK_ID>' // webhookId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/update-webhook.md b/docs/examples/1.5.x/console-web/examples/projects/update-webhook.md index eccb7a6905..3b248a8d29 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/update-webhook.md +++ b/docs/examples/1.5.x/console-web/examples/projects/update-webhook.md @@ -2,7 +2,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -18,4 +18,4 @@ const result = await projects.updateWebhook( '<HTTP_PASS>' // httpPass (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/projects/update.md b/docs/examples/1.5.x/console-web/examples/projects/update.md index f77fdb22e5..c5d2961acb 100644 --- a/docs/examples/1.5.x/console-web/examples/projects/update.md +++ b/docs/examples/1.5.x/console-web/examples/projects/update.md @@ -2,7 +2,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); @@ -20,4 +20,4 @@ const result = await projects.update( '<LEGAL_TAX_ID>' // legalTaxId (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/proxy/create-rule.md b/docs/examples/1.5.x/console-web/examples/proxy/create-rule.md index 69b7396ea3..e2eecb0f7f 100644 --- a/docs/examples/1.5.x/console-web/examples/proxy/create-rule.md +++ b/docs/examples/1.5.x/console-web/examples/proxy/create-rule.md @@ -2,7 +2,7 @@ import { Client, Proxy, } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const proxy = new Proxy(client); @@ -12,4 +12,4 @@ const result = await proxy.createRule( '<RESOURCE_ID>' // resourceId (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/proxy/delete-rule.md b/docs/examples/1.5.x/console-web/examples/proxy/delete-rule.md index 6db415ee42..4e8cc42375 100644 --- a/docs/examples/1.5.x/console-web/examples/proxy/delete-rule.md +++ b/docs/examples/1.5.x/console-web/examples/proxy/delete-rule.md @@ -2,7 +2,7 @@ import { Client, Proxy } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const proxy = new Proxy(client); @@ -10,4 +10,4 @@ const result = await proxy.deleteRule( '<RULE_ID>' // ruleId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/proxy/get-rule.md b/docs/examples/1.5.x/console-web/examples/proxy/get-rule.md index 41dfcb1ef5..3e4ae78a1c 100644 --- a/docs/examples/1.5.x/console-web/examples/proxy/get-rule.md +++ b/docs/examples/1.5.x/console-web/examples/proxy/get-rule.md @@ -2,7 +2,7 @@ import { Client, Proxy } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const proxy = new Proxy(client); @@ -10,4 +10,4 @@ const result = await proxy.getRule( '<RULE_ID>' // ruleId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/proxy/list-rules.md b/docs/examples/1.5.x/console-web/examples/proxy/list-rules.md index 349750440f..01b5cc0527 100644 --- a/docs/examples/1.5.x/console-web/examples/proxy/list-rules.md +++ b/docs/examples/1.5.x/console-web/examples/proxy/list-rules.md @@ -2,7 +2,7 @@ import { Client, Proxy } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const proxy = new Proxy(client); @@ -11,4 +11,4 @@ const result = await proxy.listRules( '<SEARCH>' // search (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/proxy/update-rule-verification.md b/docs/examples/1.5.x/console-web/examples/proxy/update-rule-verification.md index 480053b675..6ae0a0274e 100644 --- a/docs/examples/1.5.x/console-web/examples/proxy/update-rule-verification.md +++ b/docs/examples/1.5.x/console-web/examples/proxy/update-rule-verification.md @@ -2,7 +2,7 @@ import { Client, Proxy } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const proxy = new Proxy(client); @@ -10,4 +10,4 @@ const result = await proxy.updateRuleVerification( '<RULE_ID>' // ruleId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/storage/create-bucket.md b/docs/examples/1.5.x/console-web/examples/storage/create-bucket.md index 39671600b6..eec0272c58 100644 --- a/docs/examples/1.5.x/console-web/examples/storage/create-bucket.md +++ b/docs/examples/1.5.x/console-web/examples/storage/create-bucket.md @@ -2,7 +2,7 @@ import { Client, Storage, } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); @@ -19,4 +19,4 @@ const result = await storage.createBucket( false // antivirus (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/storage/create-file.md b/docs/examples/1.5.x/console-web/examples/storage/create-file.md index 639676f416..21c58dcbb0 100644 --- a/docs/examples/1.5.x/console-web/examples/storage/create-file.md +++ b/docs/examples/1.5.x/console-web/examples/storage/create-file.md @@ -2,7 +2,7 @@ import { Client, Storage } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); @@ -13,4 +13,4 @@ const result = await storage.createFile( ["read("any")"] // permissions (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/storage/delete-bucket.md b/docs/examples/1.5.x/console-web/examples/storage/delete-bucket.md index 0a924a6408..c20989887d 100644 --- a/docs/examples/1.5.x/console-web/examples/storage/delete-bucket.md +++ b/docs/examples/1.5.x/console-web/examples/storage/delete-bucket.md @@ -2,7 +2,7 @@ import { Client, Storage } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); @@ -10,4 +10,4 @@ const result = await storage.deleteBucket( '<BUCKET_ID>' // bucketId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/storage/delete-file.md b/docs/examples/1.5.x/console-web/examples/storage/delete-file.md index 00ffd6e342..3e2010a027 100644 --- a/docs/examples/1.5.x/console-web/examples/storage/delete-file.md +++ b/docs/examples/1.5.x/console-web/examples/storage/delete-file.md @@ -2,7 +2,7 @@ import { Client, Storage } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); @@ -11,4 +11,4 @@ const result = await storage.deleteFile( '<FILE_ID>' // fileId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/storage/get-bucket-usage.md b/docs/examples/1.5.x/console-web/examples/storage/get-bucket-usage.md index 2511bbcf5f..f28d21773a 100644 --- a/docs/examples/1.5.x/console-web/examples/storage/get-bucket-usage.md +++ b/docs/examples/1.5.x/console-web/examples/storage/get-bucket-usage.md @@ -2,7 +2,7 @@ import { Client, Storage, StorageUsageRange } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); @@ -11,4 +11,4 @@ const result = await storage.getBucketUsage( StorageUsageRange.TwentyFourHours // range (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/storage/get-bucket.md b/docs/examples/1.5.x/console-web/examples/storage/get-bucket.md index 669d974920..b69202ddd2 100644 --- a/docs/examples/1.5.x/console-web/examples/storage/get-bucket.md +++ b/docs/examples/1.5.x/console-web/examples/storage/get-bucket.md @@ -2,7 +2,7 @@ import { Client, Storage } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); @@ -10,4 +10,4 @@ const result = await storage.getBucket( '<BUCKET_ID>' // bucketId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/storage/get-file-download.md b/docs/examples/1.5.x/console-web/examples/storage/get-file-download.md index 2d9ca0b5f2..2376adc470 100644 --- a/docs/examples/1.5.x/console-web/examples/storage/get-file-download.md +++ b/docs/examples/1.5.x/console-web/examples/storage/get-file-download.md @@ -2,7 +2,7 @@ import { Client, Storage } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.5.x/console-web/examples/storage/get-file-preview.md b/docs/examples/1.5.x/console-web/examples/storage/get-file-preview.md index e63beb9ec1..ee390c5231 100644 --- a/docs/examples/1.5.x/console-web/examples/storage/get-file-preview.md +++ b/docs/examples/1.5.x/console-web/examples/storage/get-file-preview.md @@ -2,7 +2,7 @@ import { Client, Storage, ImageGravity, ImageFormat } from "@appwrite.io/console const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.5.x/console-web/examples/storage/get-file-view.md b/docs/examples/1.5.x/console-web/examples/storage/get-file-view.md index fe46fd5040..82689b5967 100644 --- a/docs/examples/1.5.x/console-web/examples/storage/get-file-view.md +++ b/docs/examples/1.5.x/console-web/examples/storage/get-file-view.md @@ -2,7 +2,7 @@ import { Client, Storage } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.5.x/console-web/examples/storage/get-file.md b/docs/examples/1.5.x/console-web/examples/storage/get-file.md index e901709c6c..f4c0aa9c50 100644 --- a/docs/examples/1.5.x/console-web/examples/storage/get-file.md +++ b/docs/examples/1.5.x/console-web/examples/storage/get-file.md @@ -2,7 +2,7 @@ import { Client, Storage } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); @@ -11,4 +11,4 @@ const result = await storage.getFile( '<FILE_ID>' // fileId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/storage/get-usage.md b/docs/examples/1.5.x/console-web/examples/storage/get-usage.md index e1c0abfe8d..6090311d54 100644 --- a/docs/examples/1.5.x/console-web/examples/storage/get-usage.md +++ b/docs/examples/1.5.x/console-web/examples/storage/get-usage.md @@ -2,7 +2,7 @@ import { Client, Storage, StorageUsageRange } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); @@ -10,4 +10,4 @@ const result = await storage.getUsage( StorageUsageRange.TwentyFourHours // range (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/storage/list-buckets.md b/docs/examples/1.5.x/console-web/examples/storage/list-buckets.md index a5b8c019ea..eb4c561386 100644 --- a/docs/examples/1.5.x/console-web/examples/storage/list-buckets.md +++ b/docs/examples/1.5.x/console-web/examples/storage/list-buckets.md @@ -2,7 +2,7 @@ import { Client, Storage } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); @@ -11,4 +11,4 @@ const result = await storage.listBuckets( '<SEARCH>' // search (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/storage/list-files.md b/docs/examples/1.5.x/console-web/examples/storage/list-files.md index db6aaf87b3..e5039136ff 100644 --- a/docs/examples/1.5.x/console-web/examples/storage/list-files.md +++ b/docs/examples/1.5.x/console-web/examples/storage/list-files.md @@ -2,7 +2,7 @@ import { Client, Storage } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); @@ -12,4 +12,4 @@ const result = await storage.listFiles( '<SEARCH>' // search (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/storage/update-bucket.md b/docs/examples/1.5.x/console-web/examples/storage/update-bucket.md index 3561b37286..8959395782 100644 --- a/docs/examples/1.5.x/console-web/examples/storage/update-bucket.md +++ b/docs/examples/1.5.x/console-web/examples/storage/update-bucket.md @@ -2,7 +2,7 @@ import { Client, Storage, } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); @@ -19,4 +19,4 @@ const result = await storage.updateBucket( false // antivirus (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/storage/update-file.md b/docs/examples/1.5.x/console-web/examples/storage/update-file.md index 759adaeb26..2d3fedbfcb 100644 --- a/docs/examples/1.5.x/console-web/examples/storage/update-file.md +++ b/docs/examples/1.5.x/console-web/examples/storage/update-file.md @@ -2,7 +2,7 @@ import { Client, Storage } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); @@ -13,4 +13,4 @@ const result = await storage.updateFile( ["read("any")"] // permissions (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/teams/create-membership.md b/docs/examples/1.5.x/console-web/examples/teams/create-membership.md index 6988e39552..2ea76b1987 100644 --- a/docs/examples/1.5.x/console-web/examples/teams/create-membership.md +++ b/docs/examples/1.5.x/console-web/examples/teams/create-membership.md @@ -2,7 +2,7 @@ import { Client, Teams } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -16,4 +16,4 @@ const result = await teams.createMembership( '<NAME>' // name (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/teams/create.md b/docs/examples/1.5.x/console-web/examples/teams/create.md index b9c4be1ea4..40cd4763c1 100644 --- a/docs/examples/1.5.x/console-web/examples/teams/create.md +++ b/docs/examples/1.5.x/console-web/examples/teams/create.md @@ -2,7 +2,7 @@ import { Client, Teams } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -12,4 +12,4 @@ const result = await teams.create( [] // roles (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/teams/delete-membership.md b/docs/examples/1.5.x/console-web/examples/teams/delete-membership.md index afe0791dd1..c7a307da48 100644 --- a/docs/examples/1.5.x/console-web/examples/teams/delete-membership.md +++ b/docs/examples/1.5.x/console-web/examples/teams/delete-membership.md @@ -2,7 +2,7 @@ import { Client, Teams } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -11,4 +11,4 @@ const result = await teams.deleteMembership( '<MEMBERSHIP_ID>' // membershipId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/teams/delete.md b/docs/examples/1.5.x/console-web/examples/teams/delete.md index 8e02cdd424..fe71deed63 100644 --- a/docs/examples/1.5.x/console-web/examples/teams/delete.md +++ b/docs/examples/1.5.x/console-web/examples/teams/delete.md @@ -2,7 +2,7 @@ import { Client, Teams } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -10,4 +10,4 @@ const result = await teams.delete( '<TEAM_ID>' // teamId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/teams/get-membership.md b/docs/examples/1.5.x/console-web/examples/teams/get-membership.md index cf9117c34e..99e67ea8ff 100644 --- a/docs/examples/1.5.x/console-web/examples/teams/get-membership.md +++ b/docs/examples/1.5.x/console-web/examples/teams/get-membership.md @@ -2,7 +2,7 @@ import { Client, Teams } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -11,4 +11,4 @@ const result = await teams.getMembership( '<MEMBERSHIP_ID>' // membershipId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/teams/get-prefs.md b/docs/examples/1.5.x/console-web/examples/teams/get-prefs.md index bb79b377b4..9b5c724aad 100644 --- a/docs/examples/1.5.x/console-web/examples/teams/get-prefs.md +++ b/docs/examples/1.5.x/console-web/examples/teams/get-prefs.md @@ -2,7 +2,7 @@ import { Client, Teams } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -10,4 +10,4 @@ const result = await teams.getPrefs( '<TEAM_ID>' // teamId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/teams/get.md b/docs/examples/1.5.x/console-web/examples/teams/get.md index 1d629a8997..d87b58f05c 100644 --- a/docs/examples/1.5.x/console-web/examples/teams/get.md +++ b/docs/examples/1.5.x/console-web/examples/teams/get.md @@ -2,7 +2,7 @@ import { Client, Teams } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -10,4 +10,4 @@ const result = await teams.get( '<TEAM_ID>' // teamId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/teams/list-logs.md b/docs/examples/1.5.x/console-web/examples/teams/list-logs.md index 51d0855e0f..76ba484ddb 100644 --- a/docs/examples/1.5.x/console-web/examples/teams/list-logs.md +++ b/docs/examples/1.5.x/console-web/examples/teams/list-logs.md @@ -2,7 +2,7 @@ import { Client, Teams } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -11,4 +11,4 @@ const result = await teams.listLogs( [] // queries (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/teams/list-memberships.md b/docs/examples/1.5.x/console-web/examples/teams/list-memberships.md index dfb8dfde3a..9f1a6f9122 100644 --- a/docs/examples/1.5.x/console-web/examples/teams/list-memberships.md +++ b/docs/examples/1.5.x/console-web/examples/teams/list-memberships.md @@ -2,7 +2,7 @@ import { Client, Teams } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -12,4 +12,4 @@ const result = await teams.listMemberships( '<SEARCH>' // search (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/teams/list.md b/docs/examples/1.5.x/console-web/examples/teams/list.md index 3b2aea921d..b738fe925b 100644 --- a/docs/examples/1.5.x/console-web/examples/teams/list.md +++ b/docs/examples/1.5.x/console-web/examples/teams/list.md @@ -2,7 +2,7 @@ import { Client, Teams } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -11,4 +11,4 @@ const result = await teams.list( '<SEARCH>' // search (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/teams/update-membership-status.md b/docs/examples/1.5.x/console-web/examples/teams/update-membership-status.md index ec9f36e5ad..b7fe25d3ee 100644 --- a/docs/examples/1.5.x/console-web/examples/teams/update-membership-status.md +++ b/docs/examples/1.5.x/console-web/examples/teams/update-membership-status.md @@ -2,7 +2,7 @@ import { Client, Teams } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -13,4 +13,4 @@ const result = await teams.updateMembershipStatus( '<SECRET>' // secret ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/teams/update-membership.md b/docs/examples/1.5.x/console-web/examples/teams/update-membership.md index 35df0fb604..2e6f75941e 100644 --- a/docs/examples/1.5.x/console-web/examples/teams/update-membership.md +++ b/docs/examples/1.5.x/console-web/examples/teams/update-membership.md @@ -2,7 +2,7 @@ import { Client, Teams } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -12,4 +12,4 @@ const result = await teams.updateMembership( [] // roles ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/teams/update-name.md b/docs/examples/1.5.x/console-web/examples/teams/update-name.md index 3cfcec14c1..c8792637f1 100644 --- a/docs/examples/1.5.x/console-web/examples/teams/update-name.md +++ b/docs/examples/1.5.x/console-web/examples/teams/update-name.md @@ -2,7 +2,7 @@ import { Client, Teams } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -11,4 +11,4 @@ const result = await teams.updateName( '<NAME>' // name ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/teams/update-prefs.md b/docs/examples/1.5.x/console-web/examples/teams/update-prefs.md index 42689cdbe1..d81c93dcce 100644 --- a/docs/examples/1.5.x/console-web/examples/teams/update-prefs.md +++ b/docs/examples/1.5.x/console-web/examples/teams/update-prefs.md @@ -2,7 +2,7 @@ import { Client, Teams } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); @@ -11,4 +11,4 @@ const result = await teams.updatePrefs( {} // prefs ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/create-argon2user.md b/docs/examples/1.5.x/console-web/examples/users/create-argon2user.md index 93d7ef2abf..b39f688c8e 100644 --- a/docs/examples/1.5.x/console-web/examples/users/create-argon2user.md +++ b/docs/examples/1.5.x/console-web/examples/users/create-argon2user.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -13,4 +13,4 @@ const result = await users.createArgon2User( '<NAME>' // name (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/create-bcrypt-user.md b/docs/examples/1.5.x/console-web/examples/users/create-bcrypt-user.md index d0631748ee..874b4e7625 100644 --- a/docs/examples/1.5.x/console-web/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.5.x/console-web/examples/users/create-bcrypt-user.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -13,4 +13,4 @@ const result = await users.createBcryptUser( '<NAME>' // name (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/create-j-w-t.md b/docs/examples/1.5.x/console-web/examples/users/create-j-w-t.md new file mode 100644 index 0000000000..aefc620800 --- /dev/null +++ b/docs/examples/1.5.x/console-web/examples/users/create-j-w-t.md @@ -0,0 +1,15 @@ +import { Client, Users } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>'); // Your project ID + +const users = new Users(client); + +const result = await users.createJWT( + '<USER_ID>', // userId + '<SESSION_ID>', // sessionId (optional) + 0 // duration (optional) +); + +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/create-m-d5user.md b/docs/examples/1.5.x/console-web/examples/users/create-m-d5user.md index 8bad78c076..da6d1065b4 100644 --- a/docs/examples/1.5.x/console-web/examples/users/create-m-d5user.md +++ b/docs/examples/1.5.x/console-web/examples/users/create-m-d5user.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -13,4 +13,4 @@ const result = await users.createMD5User( '<NAME>' // name (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/create-mfa-recovery-codes.md b/docs/examples/1.5.x/console-web/examples/users/create-mfa-recovery-codes.md index d5d609f955..6689014cfa 100644 --- a/docs/examples/1.5.x/console-web/examples/users/create-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/console-web/examples/users/create-mfa-recovery-codes.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -10,4 +10,4 @@ const result = await users.createMfaRecoveryCodes( '<USER_ID>' // userId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/create-p-h-pass-user.md b/docs/examples/1.5.x/console-web/examples/users/create-p-h-pass-user.md index bb26fedc4a..235df14059 100644 --- a/docs/examples/1.5.x/console-web/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.5.x/console-web/examples/users/create-p-h-pass-user.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -13,4 +13,4 @@ const result = await users.createPHPassUser( '<NAME>' // name (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/create-s-h-a-user.md b/docs/examples/1.5.x/console-web/examples/users/create-s-h-a-user.md index 4315928898..a13d0342f0 100644 --- a/docs/examples/1.5.x/console-web/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.5.x/console-web/examples/users/create-s-h-a-user.md @@ -2,7 +2,7 @@ import { Client, Users, PasswordHash } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -14,4 +14,4 @@ const result = await users.createSHAUser( '<NAME>' // name (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/create-scrypt-modified-user.md b/docs/examples/1.5.x/console-web/examples/users/create-scrypt-modified-user.md index 401eb4cbb4..e6e1c42c02 100644 --- a/docs/examples/1.5.x/console-web/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.5.x/console-web/examples/users/create-scrypt-modified-user.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -16,4 +16,4 @@ const result = await users.createScryptModifiedUser( '<NAME>' // name (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/create-scrypt-user.md b/docs/examples/1.5.x/console-web/examples/users/create-scrypt-user.md index 2efaaa8275..c8e9340c50 100644 --- a/docs/examples/1.5.x/console-web/examples/users/create-scrypt-user.md +++ b/docs/examples/1.5.x/console-web/examples/users/create-scrypt-user.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -18,4 +18,4 @@ const result = await users.createScryptUser( '<NAME>' // name (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/create-session.md b/docs/examples/1.5.x/console-web/examples/users/create-session.md index d64ce3b6d9..55704e5af1 100644 --- a/docs/examples/1.5.x/console-web/examples/users/create-session.md +++ b/docs/examples/1.5.x/console-web/examples/users/create-session.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -10,4 +10,4 @@ const result = await users.createSession( '<USER_ID>' // userId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/create-target.md b/docs/examples/1.5.x/console-web/examples/users/create-target.md index bcb047c4a3..28daa91202 100644 --- a/docs/examples/1.5.x/console-web/examples/users/create-target.md +++ b/docs/examples/1.5.x/console-web/examples/users/create-target.md @@ -2,7 +2,7 @@ import { Client, Users, MessagingProviderType } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -15,4 +15,4 @@ const result = await users.createTarget( '<NAME>' // name (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/create-token.md b/docs/examples/1.5.x/console-web/examples/users/create-token.md index af25ba8c08..6c91898d2f 100644 --- a/docs/examples/1.5.x/console-web/examples/users/create-token.md +++ b/docs/examples/1.5.x/console-web/examples/users/create-token.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -12,4 +12,4 @@ const result = await users.createToken( 60 // expire (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/create.md b/docs/examples/1.5.x/console-web/examples/users/create.md index c83f8d0609..8959c127d4 100644 --- a/docs/examples/1.5.x/console-web/examples/users/create.md +++ b/docs/examples/1.5.x/console-web/examples/users/create.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -14,4 +14,4 @@ const result = await users.create( '<NAME>' // name (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/delete-authenticator.md b/docs/examples/1.5.x/console-web/examples/users/delete-authenticator.md index 572b1c67c8..3ac87876f8 100644 --- a/docs/examples/1.5.x/console-web/examples/users/delete-authenticator.md +++ b/docs/examples/1.5.x/console-web/examples/users/delete-authenticator.md @@ -1,7 +1,7 @@ import { Client, Users, AuthenticatorType } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.5.x/console-web/examples/users/delete-identity.md b/docs/examples/1.5.x/console-web/examples/users/delete-identity.md index e6e9381342..b8ef32e24d 100644 --- a/docs/examples/1.5.x/console-web/examples/users/delete-identity.md +++ b/docs/examples/1.5.x/console-web/examples/users/delete-identity.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -10,4 +10,4 @@ const result = await users.deleteIdentity( '<IDENTITY_ID>' // identityId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/delete-mfa-authenticator.md b/docs/examples/1.5.x/console-web/examples/users/delete-mfa-authenticator.md index c8d2608302..586940ecb0 100644 --- a/docs/examples/1.5.x/console-web/examples/users/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/console-web/examples/users/delete-mfa-authenticator.md @@ -2,7 +2,7 @@ import { Client, Users, AuthenticatorType } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -11,4 +11,4 @@ const result = await users.deleteMfaAuthenticator( AuthenticatorType.Totp // type ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/delete-session.md b/docs/examples/1.5.x/console-web/examples/users/delete-session.md index 89534bf067..3380f90cc4 100644 --- a/docs/examples/1.5.x/console-web/examples/users/delete-session.md +++ b/docs/examples/1.5.x/console-web/examples/users/delete-session.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -11,4 +11,4 @@ const result = await users.deleteSession( '<SESSION_ID>' // sessionId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/delete-sessions.md b/docs/examples/1.5.x/console-web/examples/users/delete-sessions.md index fd0de48818..3b0e153b3f 100644 --- a/docs/examples/1.5.x/console-web/examples/users/delete-sessions.md +++ b/docs/examples/1.5.x/console-web/examples/users/delete-sessions.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -10,4 +10,4 @@ const result = await users.deleteSessions( '<USER_ID>' // userId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/delete-target.md b/docs/examples/1.5.x/console-web/examples/users/delete-target.md index cd0e15c061..1877265f08 100644 --- a/docs/examples/1.5.x/console-web/examples/users/delete-target.md +++ b/docs/examples/1.5.x/console-web/examples/users/delete-target.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -11,4 +11,4 @@ const result = await users.deleteTarget( '<TARGET_ID>' // targetId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/delete.md b/docs/examples/1.5.x/console-web/examples/users/delete.md index db3dbb206d..60a7e16fb4 100644 --- a/docs/examples/1.5.x/console-web/examples/users/delete.md +++ b/docs/examples/1.5.x/console-web/examples/users/delete.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -10,4 +10,4 @@ const result = await users.delete( '<USER_ID>' // userId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/get-mfa-recovery-codes.md b/docs/examples/1.5.x/console-web/examples/users/get-mfa-recovery-codes.md index 280a30ddf3..7b74479420 100644 --- a/docs/examples/1.5.x/console-web/examples/users/get-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/console-web/examples/users/get-mfa-recovery-codes.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -10,4 +10,4 @@ const result = await users.getMfaRecoveryCodes( '<USER_ID>' // userId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/get-prefs.md b/docs/examples/1.5.x/console-web/examples/users/get-prefs.md index fff61ee0c0..882cbd6c95 100644 --- a/docs/examples/1.5.x/console-web/examples/users/get-prefs.md +++ b/docs/examples/1.5.x/console-web/examples/users/get-prefs.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -10,4 +10,4 @@ const result = await users.getPrefs( '<USER_ID>' // userId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/get-target.md b/docs/examples/1.5.x/console-web/examples/users/get-target.md index 803e876712..a6b8962246 100644 --- a/docs/examples/1.5.x/console-web/examples/users/get-target.md +++ b/docs/examples/1.5.x/console-web/examples/users/get-target.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -11,4 +11,4 @@ const result = await users.getTarget( '<TARGET_ID>' // targetId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/get-usage.md b/docs/examples/1.5.x/console-web/examples/users/get-usage.md index ffb46678d6..5b559158b3 100644 --- a/docs/examples/1.5.x/console-web/examples/users/get-usage.md +++ b/docs/examples/1.5.x/console-web/examples/users/get-usage.md @@ -2,7 +2,7 @@ import { Client, Users, UserUsageRange } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -10,4 +10,4 @@ const result = await users.getUsage( UserUsageRange.TwentyFourHours // range (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/get.md b/docs/examples/1.5.x/console-web/examples/users/get.md index 791292a698..84f0f33207 100644 --- a/docs/examples/1.5.x/console-web/examples/users/get.md +++ b/docs/examples/1.5.x/console-web/examples/users/get.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -10,4 +10,4 @@ const result = await users.get( '<USER_ID>' // userId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/list-factors.md b/docs/examples/1.5.x/console-web/examples/users/list-factors.md index 7f84d3d783..afb6d72579 100644 --- a/docs/examples/1.5.x/console-web/examples/users/list-factors.md +++ b/docs/examples/1.5.x/console-web/examples/users/list-factors.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.5.x/console-web/examples/users/list-identities.md b/docs/examples/1.5.x/console-web/examples/users/list-identities.md index 72f60217f6..0836749535 100644 --- a/docs/examples/1.5.x/console-web/examples/users/list-identities.md +++ b/docs/examples/1.5.x/console-web/examples/users/list-identities.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -11,4 +11,4 @@ const result = await users.listIdentities( '<SEARCH>' // search (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/list-logs.md b/docs/examples/1.5.x/console-web/examples/users/list-logs.md index 23436ba75f..246cf260ce 100644 --- a/docs/examples/1.5.x/console-web/examples/users/list-logs.md +++ b/docs/examples/1.5.x/console-web/examples/users/list-logs.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -11,4 +11,4 @@ const result = await users.listLogs( [] // queries (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/list-memberships.md b/docs/examples/1.5.x/console-web/examples/users/list-memberships.md index 07b04eb6e4..9818942754 100644 --- a/docs/examples/1.5.x/console-web/examples/users/list-memberships.md +++ b/docs/examples/1.5.x/console-web/examples/users/list-memberships.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -10,4 +10,4 @@ const result = await users.listMemberships( '<USER_ID>' // userId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/list-mfa-factors.md b/docs/examples/1.5.x/console-web/examples/users/list-mfa-factors.md index 29f95d5a84..13d5571554 100644 --- a/docs/examples/1.5.x/console-web/examples/users/list-mfa-factors.md +++ b/docs/examples/1.5.x/console-web/examples/users/list-mfa-factors.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -10,4 +10,4 @@ const result = await users.listMfaFactors( '<USER_ID>' // userId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/list-providers.md b/docs/examples/1.5.x/console-web/examples/users/list-providers.md index 3df0e025c7..3e249a74e4 100644 --- a/docs/examples/1.5.x/console-web/examples/users/list-providers.md +++ b/docs/examples/1.5.x/console-web/examples/users/list-providers.md @@ -5,7 +5,7 @@ const client = new Client(); const users = new Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ; diff --git a/docs/examples/1.5.x/console-web/examples/users/list-sessions.md b/docs/examples/1.5.x/console-web/examples/users/list-sessions.md index 537dd7bd38..b99d79b745 100644 --- a/docs/examples/1.5.x/console-web/examples/users/list-sessions.md +++ b/docs/examples/1.5.x/console-web/examples/users/list-sessions.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -10,4 +10,4 @@ const result = await users.listSessions( '<USER_ID>' // userId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/list-targets.md b/docs/examples/1.5.x/console-web/examples/users/list-targets.md index 3d414afa23..3374bf91c7 100644 --- a/docs/examples/1.5.x/console-web/examples/users/list-targets.md +++ b/docs/examples/1.5.x/console-web/examples/users/list-targets.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -11,4 +11,4 @@ const result = await users.listTargets( [] // queries (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/list.md b/docs/examples/1.5.x/console-web/examples/users/list.md index c26f302603..0876ef3950 100644 --- a/docs/examples/1.5.x/console-web/examples/users/list.md +++ b/docs/examples/1.5.x/console-web/examples/users/list.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -11,4 +11,4 @@ const result = await users.list( '<SEARCH>' // search (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/update-email-verification.md b/docs/examples/1.5.x/console-web/examples/users/update-email-verification.md index 2548b1e6c8..869424d51a 100644 --- a/docs/examples/1.5.x/console-web/examples/users/update-email-verification.md +++ b/docs/examples/1.5.x/console-web/examples/users/update-email-verification.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -11,4 +11,4 @@ const result = await users.updateEmailVerification( false // emailVerification ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/update-email.md b/docs/examples/1.5.x/console-web/examples/users/update-email.md index 9600c18d81..2e47e0106d 100644 --- a/docs/examples/1.5.x/console-web/examples/users/update-email.md +++ b/docs/examples/1.5.x/console-web/examples/users/update-email.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -11,4 +11,4 @@ const result = await users.updateEmail( 'email@example.com' // email ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/update-labels.md b/docs/examples/1.5.x/console-web/examples/users/update-labels.md index aa6e30ed51..5c8cddafaf 100644 --- a/docs/examples/1.5.x/console-web/examples/users/update-labels.md +++ b/docs/examples/1.5.x/console-web/examples/users/update-labels.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -11,4 +11,4 @@ const result = await users.updateLabels( [] // labels ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/update-mfa-recovery-codes.md b/docs/examples/1.5.x/console-web/examples/users/update-mfa-recovery-codes.md index 6785a1375e..2705a2acd9 100644 --- a/docs/examples/1.5.x/console-web/examples/users/update-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/console-web/examples/users/update-mfa-recovery-codes.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -10,4 +10,4 @@ const result = await users.updateMfaRecoveryCodes( '<USER_ID>' // userId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/update-mfa.md b/docs/examples/1.5.x/console-web/examples/users/update-mfa.md index b8cb93b9ce..50a8a1d366 100644 --- a/docs/examples/1.5.x/console-web/examples/users/update-mfa.md +++ b/docs/examples/1.5.x/console-web/examples/users/update-mfa.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -11,4 +11,4 @@ const result = await users.updateMfa( false // mfa ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/update-name.md b/docs/examples/1.5.x/console-web/examples/users/update-name.md index 0e1e07e5fc..e615c4695e 100644 --- a/docs/examples/1.5.x/console-web/examples/users/update-name.md +++ b/docs/examples/1.5.x/console-web/examples/users/update-name.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -11,4 +11,4 @@ const result = await users.updateName( '<NAME>' // name ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/update-password.md b/docs/examples/1.5.x/console-web/examples/users/update-password.md index 58615724bc..3e8c33cb5b 100644 --- a/docs/examples/1.5.x/console-web/examples/users/update-password.md +++ b/docs/examples/1.5.x/console-web/examples/users/update-password.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -11,4 +11,4 @@ const result = await users.updatePassword( '' // password ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/update-phone-verification.md b/docs/examples/1.5.x/console-web/examples/users/update-phone-verification.md index 0d141db539..87cc8ee168 100644 --- a/docs/examples/1.5.x/console-web/examples/users/update-phone-verification.md +++ b/docs/examples/1.5.x/console-web/examples/users/update-phone-verification.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -11,4 +11,4 @@ const result = await users.updatePhoneVerification( false // phoneVerification ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/update-phone.md b/docs/examples/1.5.x/console-web/examples/users/update-phone.md index 4ac5380ab8..6544853533 100644 --- a/docs/examples/1.5.x/console-web/examples/users/update-phone.md +++ b/docs/examples/1.5.x/console-web/examples/users/update-phone.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -11,4 +11,4 @@ const result = await users.updatePhone( '+12065550100' // number ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/update-prefs.md b/docs/examples/1.5.x/console-web/examples/users/update-prefs.md index 227ca36b13..d65a5e736e 100644 --- a/docs/examples/1.5.x/console-web/examples/users/update-prefs.md +++ b/docs/examples/1.5.x/console-web/examples/users/update-prefs.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -11,4 +11,4 @@ const result = await users.updatePrefs( {} // prefs ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/update-status.md b/docs/examples/1.5.x/console-web/examples/users/update-status.md index cbc4dfeb88..4e61a50cf5 100644 --- a/docs/examples/1.5.x/console-web/examples/users/update-status.md +++ b/docs/examples/1.5.x/console-web/examples/users/update-status.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -11,4 +11,4 @@ const result = await users.updateStatus( false // status ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/users/update-target.md b/docs/examples/1.5.x/console-web/examples/users/update-target.md index 3bb88996a1..2872b9a57f 100644 --- a/docs/examples/1.5.x/console-web/examples/users/update-target.md +++ b/docs/examples/1.5.x/console-web/examples/users/update-target.md @@ -2,7 +2,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); @@ -14,4 +14,4 @@ const result = await users.updateTarget( '<NAME>' // name (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/vcs/create-repository-detection.md b/docs/examples/1.5.x/console-web/examples/vcs/create-repository-detection.md index 22b49a8ac2..4f269bf1a7 100644 --- a/docs/examples/1.5.x/console-web/examples/vcs/create-repository-detection.md +++ b/docs/examples/1.5.x/console-web/examples/vcs/create-repository-detection.md @@ -2,7 +2,7 @@ import { Client, Vcs } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const vcs = new Vcs(client); @@ -12,4 +12,4 @@ const result = await vcs.createRepositoryDetection( '<PROVIDER_ROOT_DIRECTORY>' // providerRootDirectory (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/vcs/create-repository.md b/docs/examples/1.5.x/console-web/examples/vcs/create-repository.md index 43abe6aceb..d48e174eac 100644 --- a/docs/examples/1.5.x/console-web/examples/vcs/create-repository.md +++ b/docs/examples/1.5.x/console-web/examples/vcs/create-repository.md @@ -2,7 +2,7 @@ import { Client, Vcs } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const vcs = new Vcs(client); @@ -12,4 +12,4 @@ const result = await vcs.createRepository( false // private ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/vcs/delete-installation.md b/docs/examples/1.5.x/console-web/examples/vcs/delete-installation.md index f4d657873b..0f49408ecb 100644 --- a/docs/examples/1.5.x/console-web/examples/vcs/delete-installation.md +++ b/docs/examples/1.5.x/console-web/examples/vcs/delete-installation.md @@ -2,7 +2,7 @@ import { Client, Vcs } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const vcs = new Vcs(client); @@ -10,4 +10,4 @@ const result = await vcs.deleteInstallation( '<INSTALLATION_ID>' // installationId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/vcs/get-installation.md b/docs/examples/1.5.x/console-web/examples/vcs/get-installation.md index 1f97d204ab..ec4b6d6729 100644 --- a/docs/examples/1.5.x/console-web/examples/vcs/get-installation.md +++ b/docs/examples/1.5.x/console-web/examples/vcs/get-installation.md @@ -2,7 +2,7 @@ import { Client, Vcs } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const vcs = new Vcs(client); @@ -10,4 +10,4 @@ const result = await vcs.getInstallation( '<INSTALLATION_ID>' // installationId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/vcs/get-repository-contents.md b/docs/examples/1.5.x/console-web/examples/vcs/get-repository-contents.md new file mode 100644 index 0000000000..8a2fc294cc --- /dev/null +++ b/docs/examples/1.5.x/console-web/examples/vcs/get-repository-contents.md @@ -0,0 +1,15 @@ +import { Client, Vcs } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>'); // Your project ID + +const vcs = new Vcs(client); + +const result = await vcs.getRepositoryContents( + '<INSTALLATION_ID>', // installationId + '<PROVIDER_REPOSITORY_ID>', // providerRepositoryId + '<PROVIDER_ROOT_DIRECTORY>' // providerRootDirectory (optional) +); + +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/vcs/get-repository.md b/docs/examples/1.5.x/console-web/examples/vcs/get-repository.md index 9707e9ebda..2161d0c22b 100644 --- a/docs/examples/1.5.x/console-web/examples/vcs/get-repository.md +++ b/docs/examples/1.5.x/console-web/examples/vcs/get-repository.md @@ -2,7 +2,7 @@ import { Client, Vcs } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const vcs = new Vcs(client); @@ -11,4 +11,4 @@ const result = await vcs.getRepository( '<PROVIDER_REPOSITORY_ID>' // providerRepositoryId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/vcs/list-installations.md b/docs/examples/1.5.x/console-web/examples/vcs/list-installations.md index a7e8307121..8213b83259 100644 --- a/docs/examples/1.5.x/console-web/examples/vcs/list-installations.md +++ b/docs/examples/1.5.x/console-web/examples/vcs/list-installations.md @@ -2,7 +2,7 @@ import { Client, Vcs } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const vcs = new Vcs(client); @@ -11,4 +11,4 @@ const result = await vcs.listInstallations( '<SEARCH>' // search (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/vcs/list-repositories.md b/docs/examples/1.5.x/console-web/examples/vcs/list-repositories.md index 365f028810..e69f9eeb75 100644 --- a/docs/examples/1.5.x/console-web/examples/vcs/list-repositories.md +++ b/docs/examples/1.5.x/console-web/examples/vcs/list-repositories.md @@ -2,7 +2,7 @@ import { Client, Vcs } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const vcs = new Vcs(client); @@ -11,4 +11,4 @@ const result = await vcs.listRepositories( '<SEARCH>' // search (optional) ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/vcs/list-repository-branches.md b/docs/examples/1.5.x/console-web/examples/vcs/list-repository-branches.md index affe85a446..4d3ab49912 100644 --- a/docs/examples/1.5.x/console-web/examples/vcs/list-repository-branches.md +++ b/docs/examples/1.5.x/console-web/examples/vcs/list-repository-branches.md @@ -2,7 +2,7 @@ import { Client, Vcs } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const vcs = new Vcs(client); @@ -11,4 +11,4 @@ const result = await vcs.listRepositoryBranches( '<PROVIDER_REPOSITORY_ID>' // providerRepositoryId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/console-web/examples/vcs/update-external-deployments.md b/docs/examples/1.5.x/console-web/examples/vcs/update-external-deployments.md index d1fbf346a2..8ad52a64dc 100644 --- a/docs/examples/1.5.x/console-web/examples/vcs/update-external-deployments.md +++ b/docs/examples/1.5.x/console-web/examples/vcs/update-external-deployments.md @@ -2,7 +2,7 @@ import { Client, Vcs } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const vcs = new Vcs(client); @@ -12,4 +12,4 @@ const result = await vcs.updateExternalDeployments( '<PROVIDER_PULL_REQUEST_ID>' // providerPullRequestId ); -console.log(response); +console.log(result); diff --git a/docs/examples/1.5.x/server-dart/examples/account/add-authenticator.md b/docs/examples/1.5.x/server-dart/examples/account/add-authenticator.md index da87a6d059..a68cdd296e 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/add-authenticator.md +++ b/docs/examples/1.5.x/server-dart/examples/account/add-authenticator.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-dart/examples/account/create-anonymous-session.md b/docs/examples/1.5.x/server-dart/examples/account/create-anonymous-session.md index 200b49ee30..2363017b6e 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/create-anonymous-session.md +++ b/docs/examples/1.5.x/server-dart/examples/account/create-anonymous-session.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/create-challenge.md b/docs/examples/1.5.x/server-dart/examples/account/create-challenge.md index 758915e7a9..97c7e125d6 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/create-challenge.md +++ b/docs/examples/1.5.x/server-dart/examples/account/create-challenge.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/create-email-password-session.md b/docs/examples/1.5.x/server-dart/examples/account/create-email-password-session.md index 9e07cd81ab..bd423de944 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/create-email-password-session.md +++ b/docs/examples/1.5.x/server-dart/examples/account/create-email-password-session.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/create-email-token.md b/docs/examples/1.5.x/server-dart/examples/account/create-email-token.md index 70870d93ca..b57a5f0641 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/create-email-token.md +++ b/docs/examples/1.5.x/server-dart/examples/account/create-email-token.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/create-j-w-t.md b/docs/examples/1.5.x/server-dart/examples/account/create-j-w-t.md index 4e452abe4f..205e244917 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/create-j-w-t.md +++ b/docs/examples/1.5.x/server-dart/examples/account/create-j-w-t.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/create-magic-u-r-l-token.md b/docs/examples/1.5.x/server-dart/examples/account/create-magic-u-r-l-token.md index ac60b0df0e..3c071b825e 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.5.x/server-dart/examples/account/create-magic-u-r-l-token.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/create-mfa-authenticator.md b/docs/examples/1.5.x/server-dart/examples/account/create-mfa-authenticator.md index a920b4754c..38ffb3630c 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/create-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-dart/examples/account/create-mfa-authenticator.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/create-mfa-challenge.md b/docs/examples/1.5.x/server-dart/examples/account/create-mfa-challenge.md index f7e24ff992..5578e32fcb 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.5.x/server-dart/examples/account/create-mfa-challenge.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/create-mfa-recovery-codes.md b/docs/examples/1.5.x/server-dart/examples/account/create-mfa-recovery-codes.md index d44817e511..d89ccd1d28 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-dart/examples/account/create-mfa-recovery-codes.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/create-o-auth2session.md b/docs/examples/1.5.x/server-dart/examples/account/create-o-auth2session.md index 993733caa3..44955f1af9 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/create-o-auth2session.md +++ b/docs/examples/1.5.x/server-dart/examples/account/create-o-auth2session.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/create-o-auth2token.md b/docs/examples/1.5.x/server-dart/examples/account/create-o-auth2token.md index 2d33ad3981..a23fa7231b 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/create-o-auth2token.md +++ b/docs/examples/1.5.x/server-dart/examples/account/create-o-auth2token.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/create-phone-token.md b/docs/examples/1.5.x/server-dart/examples/account/create-phone-token.md index 8653ad00a8..e59ad503e1 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/create-phone-token.md +++ b/docs/examples/1.5.x/server-dart/examples/account/create-phone-token.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/create-phone-verification.md b/docs/examples/1.5.x/server-dart/examples/account/create-phone-verification.md index 40d6f2fca7..a47ad80f92 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/create-phone-verification.md +++ b/docs/examples/1.5.x/server-dart/examples/account/create-phone-verification.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/create-recovery.md b/docs/examples/1.5.x/server-dart/examples/account/create-recovery.md index 0b0584dac8..0479b71c2d 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/create-recovery.md +++ b/docs/examples/1.5.x/server-dart/examples/account/create-recovery.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/create-session.md b/docs/examples/1.5.x/server-dart/examples/account/create-session.md index a85be647b3..209f5502d5 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/create-session.md +++ b/docs/examples/1.5.x/server-dart/examples/account/create-session.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/create-verification.md b/docs/examples/1.5.x/server-dart/examples/account/create-verification.md index 4ec54dc110..414a193aa3 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/create-verification.md +++ b/docs/examples/1.5.x/server-dart/examples/account/create-verification.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/create.md b/docs/examples/1.5.x/server-dart/examples/account/create.md index ac630d1bb5..59523e6201 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/create.md +++ b/docs/examples/1.5.x/server-dart/examples/account/create.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/create2f-a-challenge.md b/docs/examples/1.5.x/server-dart/examples/account/create2f-a-challenge.md index 049a3e43ea..962a945df0 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/create2f-a-challenge.md +++ b/docs/examples/1.5.x/server-dart/examples/account/create2f-a-challenge.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/delete-authenticator.md b/docs/examples/1.5.x/server-dart/examples/account/delete-authenticator.md index 2b7f411140..656b49de59 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/delete-authenticator.md +++ b/docs/examples/1.5.x/server-dart/examples/account/delete-authenticator.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-dart/examples/account/delete-identity.md b/docs/examples/1.5.x/server-dart/examples/account/delete-identity.md index 4982e13a0e..a0db3ccc70 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/delete-identity.md +++ b/docs/examples/1.5.x/server-dart/examples/account/delete-identity.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/delete-mfa-authenticator.md b/docs/examples/1.5.x/server-dart/examples/account/delete-mfa-authenticator.md index cbeb5cde40..27a5883ca8 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-dart/examples/account/delete-mfa-authenticator.md @@ -2,12 +2,11 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Account account = Account(client); await account.deleteMfaAuthenticator( type: AuthenticatorType.totp, - otp: '<OTP>', ); diff --git a/docs/examples/1.5.x/server-dart/examples/account/delete-session.md b/docs/examples/1.5.x/server-dart/examples/account/delete-session.md index eb740f19b1..ffbe416076 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/delete-session.md +++ b/docs/examples/1.5.x/server-dart/examples/account/delete-session.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/delete-sessions.md b/docs/examples/1.5.x/server-dart/examples/account/delete-sessions.md index e42f161819..ae93cf9b59 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/delete-sessions.md +++ b/docs/examples/1.5.x/server-dart/examples/account/delete-sessions.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.5.x/server-dart/examples/account/get-mfa-recovery-codes.md index b378ee7f4b..2b2018315e 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-dart/examples/account/get-mfa-recovery-codes.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/get-prefs.md b/docs/examples/1.5.x/server-dart/examples/account/get-prefs.md index 4f5ad7c973..355075c85c 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/get-prefs.md +++ b/docs/examples/1.5.x/server-dart/examples/account/get-prefs.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/get-session.md b/docs/examples/1.5.x/server-dart/examples/account/get-session.md index e2423d67f9..c4b4acedb6 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/get-session.md +++ b/docs/examples/1.5.x/server-dart/examples/account/get-session.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/get.md b/docs/examples/1.5.x/server-dart/examples/account/get.md index 86a8074719..64c923ce0d 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/get.md +++ b/docs/examples/1.5.x/server-dart/examples/account/get.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/list-factors.md b/docs/examples/1.5.x/server-dart/examples/account/list-factors.md index 2f2b00626a..cd4208465f 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/list-factors.md +++ b/docs/examples/1.5.x/server-dart/examples/account/list-factors.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-dart/examples/account/list-identities.md b/docs/examples/1.5.x/server-dart/examples/account/list-identities.md index bcd36718a0..289963709b 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/list-identities.md +++ b/docs/examples/1.5.x/server-dart/examples/account/list-identities.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/list-logs.md b/docs/examples/1.5.x/server-dart/examples/account/list-logs.md index a45ddf2999..78f527ca99 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/list-logs.md +++ b/docs/examples/1.5.x/server-dart/examples/account/list-logs.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/list-mfa-factors.md b/docs/examples/1.5.x/server-dart/examples/account/list-mfa-factors.md index 1a8a41664b..1140e5c0e0 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/list-mfa-factors.md +++ b/docs/examples/1.5.x/server-dart/examples/account/list-mfa-factors.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/list-sessions.md b/docs/examples/1.5.x/server-dart/examples/account/list-sessions.md index 7469ba55fa..0a512d439d 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/list-sessions.md +++ b/docs/examples/1.5.x/server-dart/examples/account/list-sessions.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/update-challenge.md b/docs/examples/1.5.x/server-dart/examples/account/update-challenge.md index 9c32207257..bc8c6bb918 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/update-challenge.md +++ b/docs/examples/1.5.x/server-dart/examples/account/update-challenge.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-dart/examples/account/update-email.md b/docs/examples/1.5.x/server-dart/examples/account/update-email.md index 325b764a50..91c701f8af 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/update-email.md +++ b/docs/examples/1.5.x/server-dart/examples/account/update-email.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/update-m-f-a.md b/docs/examples/1.5.x/server-dart/examples/account/update-m-f-a.md index 102525e39c..f029979ea9 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/update-m-f-a.md +++ b/docs/examples/1.5.x/server-dart/examples/account/update-m-f-a.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.5.x/server-dart/examples/account/update-magic-u-r-l-session.md index 535d26d719..e9f24349c1 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.5.x/server-dart/examples/account/update-magic-u-r-l-session.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/update-mfa-authenticator.md b/docs/examples/1.5.x/server-dart/examples/account/update-mfa-authenticator.md index f7d585ecb1..3f5d6997e7 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/update-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-dart/examples/account/update-mfa-authenticator.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/update-mfa-challenge.md b/docs/examples/1.5.x/server-dart/examples/account/update-mfa-challenge.md index 024ac9d650..2843d2f1b4 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.5.x/server-dart/examples/account/update-mfa-challenge.md @@ -2,12 +2,12 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Account account = Account(client); - result = await account.updateMfaChallenge( +Session result = await account.updateMfaChallenge( challengeId: '<CHALLENGE_ID>', otp: '<OTP>', ); diff --git a/docs/examples/1.5.x/server-dart/examples/account/update-mfa-recovery-codes.md b/docs/examples/1.5.x/server-dart/examples/account/update-mfa-recovery-codes.md index 789914372b..0ee6e92d61 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-dart/examples/account/update-mfa-recovery-codes.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/update-name.md b/docs/examples/1.5.x/server-dart/examples/account/update-name.md index bf05b276f6..4eb46121bc 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/update-name.md +++ b/docs/examples/1.5.x/server-dart/examples/account/update-name.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/update-password.md b/docs/examples/1.5.x/server-dart/examples/account/update-password.md index 92d53fadcd..d379268e39 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/update-password.md +++ b/docs/examples/1.5.x/server-dart/examples/account/update-password.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/update-phone-session.md b/docs/examples/1.5.x/server-dart/examples/account/update-phone-session.md index 2586a89346..0648c63712 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/update-phone-session.md +++ b/docs/examples/1.5.x/server-dart/examples/account/update-phone-session.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/update-phone-verification.md b/docs/examples/1.5.x/server-dart/examples/account/update-phone-verification.md index a778967703..bb7443dda2 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/update-phone-verification.md +++ b/docs/examples/1.5.x/server-dart/examples/account/update-phone-verification.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/update-phone.md b/docs/examples/1.5.x/server-dart/examples/account/update-phone.md index 9613bda833..996e057b62 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/update-phone.md +++ b/docs/examples/1.5.x/server-dart/examples/account/update-phone.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/update-prefs.md b/docs/examples/1.5.x/server-dart/examples/account/update-prefs.md index 1ef69ee90d..1c555085b8 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/update-prefs.md +++ b/docs/examples/1.5.x/server-dart/examples/account/update-prefs.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/update-recovery.md b/docs/examples/1.5.x/server-dart/examples/account/update-recovery.md index c0923c180f..5c4c073551 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/update-recovery.md +++ b/docs/examples/1.5.x/server-dart/examples/account/update-recovery.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/update-session.md b/docs/examples/1.5.x/server-dart/examples/account/update-session.md index 624b006d57..cb1930c134 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/update-session.md +++ b/docs/examples/1.5.x/server-dart/examples/account/update-session.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/update-status.md b/docs/examples/1.5.x/server-dart/examples/account/update-status.md index 211421c1d4..502522ce9a 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/update-status.md +++ b/docs/examples/1.5.x/server-dart/examples/account/update-status.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/update-verification.md b/docs/examples/1.5.x/server-dart/examples/account/update-verification.md index e0e2518775..1f0d0c1abb 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/update-verification.md +++ b/docs/examples/1.5.x/server-dart/examples/account/update-verification.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Account account = Account(client); diff --git a/docs/examples/1.5.x/server-dart/examples/account/verify-authenticator.md b/docs/examples/1.5.x/server-dart/examples/account/verify-authenticator.md index 839acf0065..99136985d0 100644 --- a/docs/examples/1.5.x/server-dart/examples/account/verify-authenticator.md +++ b/docs/examples/1.5.x/server-dart/examples/account/verify-authenticator.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-dart/examples/avatars/get-browser.md b/docs/examples/1.5.x/server-dart/examples/avatars/get-browser.md index 4ad79d3712..ba298590a4 100644 --- a/docs/examples/1.5.x/server-dart/examples/avatars/get-browser.md +++ b/docs/examples/1.5.x/server-dart/examples/avatars/get-browser.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Avatars avatars = Avatars(client); diff --git a/docs/examples/1.5.x/server-dart/examples/avatars/get-credit-card.md b/docs/examples/1.5.x/server-dart/examples/avatars/get-credit-card.md index 95f84b629c..e8495823a2 100644 --- a/docs/examples/1.5.x/server-dart/examples/avatars/get-credit-card.md +++ b/docs/examples/1.5.x/server-dart/examples/avatars/get-credit-card.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Avatars avatars = Avatars(client); diff --git a/docs/examples/1.5.x/server-dart/examples/avatars/get-favicon.md b/docs/examples/1.5.x/server-dart/examples/avatars/get-favicon.md index 5fc30514a1..d6d8c654b9 100644 --- a/docs/examples/1.5.x/server-dart/examples/avatars/get-favicon.md +++ b/docs/examples/1.5.x/server-dart/examples/avatars/get-favicon.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Avatars avatars = Avatars(client); diff --git a/docs/examples/1.5.x/server-dart/examples/avatars/get-flag.md b/docs/examples/1.5.x/server-dart/examples/avatars/get-flag.md index 3f7a10db6b..cda8d0fdb6 100644 --- a/docs/examples/1.5.x/server-dart/examples/avatars/get-flag.md +++ b/docs/examples/1.5.x/server-dart/examples/avatars/get-flag.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Avatars avatars = Avatars(client); diff --git a/docs/examples/1.5.x/server-dart/examples/avatars/get-image.md b/docs/examples/1.5.x/server-dart/examples/avatars/get-image.md index f1d911ee0e..da2541f37e 100644 --- a/docs/examples/1.5.x/server-dart/examples/avatars/get-image.md +++ b/docs/examples/1.5.x/server-dart/examples/avatars/get-image.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Avatars avatars = Avatars(client); diff --git a/docs/examples/1.5.x/server-dart/examples/avatars/get-initials.md b/docs/examples/1.5.x/server-dart/examples/avatars/get-initials.md index da2849c8c8..f1261d1c05 100644 --- a/docs/examples/1.5.x/server-dart/examples/avatars/get-initials.md +++ b/docs/examples/1.5.x/server-dart/examples/avatars/get-initials.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Avatars avatars = Avatars(client); diff --git a/docs/examples/1.5.x/server-dart/examples/avatars/get-q-r.md b/docs/examples/1.5.x/server-dart/examples/avatars/get-q-r.md index 97d31d53ad..1a9e906ca4 100644 --- a/docs/examples/1.5.x/server-dart/examples/avatars/get-q-r.md +++ b/docs/examples/1.5.x/server-dart/examples/avatars/get-q-r.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Avatars avatars = Avatars(client); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/create-boolean-attribute.md b/docs/examples/1.5.x/server-dart/examples/databases/create-boolean-attribute.md index 4c70730240..65537bab51 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/create-boolean-attribute.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/create-collection.md b/docs/examples/1.5.x/server-dart/examples/databases/create-collection.md index 2a6d8e9381..8b01aaad43 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/create-collection.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/create-collection.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/create-datetime-attribute.md b/docs/examples/1.5.x/server-dart/examples/databases/create-datetime-attribute.md index 6d44a263ca..6a53b0457f 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/create-datetime-attribute.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/create-document.md b/docs/examples/1.5.x/server-dart/examples/databases/create-document.md index b9d5eb0d69..10382e3a78 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/create-document.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/create-document.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/create-email-attribute.md b/docs/examples/1.5.x/server-dart/examples/databases/create-email-attribute.md index 15bf012926..fe77148e99 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/create-email-attribute.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/create-email-attribute.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/create-enum-attribute.md b/docs/examples/1.5.x/server-dart/examples/databases/create-enum-attribute.md index f1df262d02..f0bdb6a67f 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/create-enum-attribute.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/create-float-attribute.md b/docs/examples/1.5.x/server-dart/examples/databases/create-float-attribute.md index 548962a2ff..29568ca011 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/create-float-attribute.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/create-float-attribute.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/create-index.md b/docs/examples/1.5.x/server-dart/examples/databases/create-index.md index 7c978466c9..b7c0c04ba9 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/create-index.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/create-index.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/create-integer-attribute.md b/docs/examples/1.5.x/server-dart/examples/databases/create-integer-attribute.md index 2449950d01..35b6085066 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/create-integer-attribute.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/create-ip-attribute.md b/docs/examples/1.5.x/server-dart/examples/databases/create-ip-attribute.md index 05aa298c72..a7c3116b77 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/create-ip-attribute.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/create-relationship-attribute.md b/docs/examples/1.5.x/server-dart/examples/databases/create-relationship-attribute.md index f838747c9d..37ba8eb775 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/create-relationship-attribute.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/create-string-attribute.md b/docs/examples/1.5.x/server-dart/examples/databases/create-string-attribute.md index d4a4754148..974c7dadfa 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/create-string-attribute.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/create-string-attribute.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/create-url-attribute.md b/docs/examples/1.5.x/server-dart/examples/databases/create-url-attribute.md index f427bba541..034ee47dd9 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/create-url-attribute.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/create-url-attribute.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/create.md b/docs/examples/1.5.x/server-dart/examples/databases/create.md index 01cd75c391..199b982f31 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/create.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/create.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/delete-attribute.md b/docs/examples/1.5.x/server-dart/examples/databases/delete-attribute.md index 605220c49e..f0bcf3b054 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/delete-attribute.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/delete-attribute.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/delete-collection.md b/docs/examples/1.5.x/server-dart/examples/databases/delete-collection.md index 4243c8b90b..b97f27407a 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/delete-collection.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/delete-collection.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/delete-document.md b/docs/examples/1.5.x/server-dart/examples/databases/delete-document.md index 8e1b233fc2..8934701751 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/delete-document.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/delete-document.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/delete-index.md b/docs/examples/1.5.x/server-dart/examples/databases/delete-index.md index df5a195a51..9f0e92f69e 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/delete-index.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/delete-index.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/delete.md b/docs/examples/1.5.x/server-dart/examples/databases/delete.md index 5325af3f43..0d4853d652 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/delete.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/delete.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/get-attribute.md b/docs/examples/1.5.x/server-dart/examples/databases/get-attribute.md index fc6129ea54..33e4a4a695 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/get-attribute.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/get-attribute.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/get-collection.md b/docs/examples/1.5.x/server-dart/examples/databases/get-collection.md index 606018bc9a..42dcea3423 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/get-collection.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/get-collection.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/get-document.md b/docs/examples/1.5.x/server-dart/examples/databases/get-document.md index 17b2ca6ca2..ecda80ef37 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/get-document.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/get-document.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/get-index.md b/docs/examples/1.5.x/server-dart/examples/databases/get-index.md index 0dac7f522f..0bbf4f555b 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/get-index.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/get-index.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/get.md b/docs/examples/1.5.x/server-dart/examples/databases/get.md index c0878b8ff9..b2c0a0a2c7 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/get.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/get.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/list-attributes.md b/docs/examples/1.5.x/server-dart/examples/databases/list-attributes.md index fe51fc1ff3..4bacaa976a 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/list-attributes.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/list-attributes.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/list-collections.md b/docs/examples/1.5.x/server-dart/examples/databases/list-collections.md index de25c4078c..e9bc510793 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/list-collections.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/list-collections.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/list-documents.md b/docs/examples/1.5.x/server-dart/examples/databases/list-documents.md index d3caa082b4..244d4a7d18 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/list-documents.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/list-documents.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/list-indexes.md b/docs/examples/1.5.x/server-dart/examples/databases/list-indexes.md index a5c616c858..e9534e7820 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/list-indexes.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/list-indexes.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/list.md b/docs/examples/1.5.x/server-dart/examples/databases/list.md index 23d6830458..2678ede98f 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/list.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/list.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/update-boolean-attribute.md b/docs/examples/1.5.x/server-dart/examples/databases/update-boolean-attribute.md index fe88c9e8d6..489ce4099a 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/update-boolean-attribute.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); @@ -13,4 +13,5 @@ AttributeBoolean result = await databases.updateBooleanAttribute( key: '', xrequired: false, xdefault: false, + newKey: '', // (optional) ); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/update-collection.md b/docs/examples/1.5.x/server-dart/examples/databases/update-collection.md index a8c95b2a57..a8d1593c78 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/update-collection.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/update-collection.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/update-datetime-attribute.md b/docs/examples/1.5.x/server-dart/examples/databases/update-datetime-attribute.md index d4bba1034a..73f61e26d7 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/update-datetime-attribute.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); @@ -13,4 +13,5 @@ AttributeDatetime result = await databases.updateDatetimeAttribute( key: '', xrequired: false, xdefault: '', + newKey: '', // (optional) ); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/update-document.md b/docs/examples/1.5.x/server-dart/examples/databases/update-document.md index eccc98e9b1..c25b23f2b0 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/update-document.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/update-document.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/update-email-attribute.md b/docs/examples/1.5.x/server-dart/examples/databases/update-email-attribute.md index a5c72c9f00..37bcd4d7e7 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/update-email-attribute.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/update-email-attribute.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); @@ -13,4 +13,5 @@ AttributeEmail result = await databases.updateEmailAttribute( key: '', xrequired: false, xdefault: 'email@example.com', + newKey: '', // (optional) ); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/update-enum-attribute.md b/docs/examples/1.5.x/server-dart/examples/databases/update-enum-attribute.md index a3ebfe5773..f47078c891 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/update-enum-attribute.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); @@ -14,4 +14,5 @@ AttributeEnum result = await databases.updateEnumAttribute( elements: [], xrequired: false, xdefault: '<DEFAULT>', + newKey: '', // (optional) ); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/update-float-attribute.md b/docs/examples/1.5.x/server-dart/examples/databases/update-float-attribute.md index fe86fa69e1..b85ebf7aaf 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/update-float-attribute.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/update-float-attribute.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); @@ -12,7 +12,8 @@ AttributeFloat result = await databases.updateFloatAttribute( collectionId: '<COLLECTION_ID>', key: '', xrequired: false, - min: 0, - max: 0, xdefault: 0, + min: 0, // (optional) + max: 0, // (optional) + newKey: '', // (optional) ); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/update-integer-attribute.md b/docs/examples/1.5.x/server-dart/examples/databases/update-integer-attribute.md index 49a0b18699..486c192712 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/update-integer-attribute.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); @@ -12,7 +12,8 @@ AttributeInteger result = await databases.updateIntegerAttribute( collectionId: '<COLLECTION_ID>', key: '', xrequired: false, - min: 0, - max: 0, xdefault: 0, + min: 0, // (optional) + max: 0, // (optional) + newKey: '', // (optional) ); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/update-ip-attribute.md b/docs/examples/1.5.x/server-dart/examples/databases/update-ip-attribute.md index 3549d5c1a9..dc83bd0043 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/update-ip-attribute.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); @@ -13,4 +13,5 @@ AttributeIp result = await databases.updateIpAttribute( key: '', xrequired: false, xdefault: '', + newKey: '', // (optional) ); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/update-relationship-attribute.md b/docs/examples/1.5.x/server-dart/examples/databases/update-relationship-attribute.md index e6dea66190..6d14f52d19 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/update-relationship-attribute.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); @@ -12,4 +12,5 @@ AttributeRelationship result = await databases.updateRelationshipAttribute( collectionId: '<COLLECTION_ID>', key: '', onDelete: RelationMutate.cascade, // (optional) + newKey: '', // (optional) ); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/update-string-attribute.md b/docs/examples/1.5.x/server-dart/examples/databases/update-string-attribute.md index cb2a4b64b4..f9498aa36b 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/update-string-attribute.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/update-string-attribute.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); @@ -13,4 +13,6 @@ AttributeString result = await databases.updateStringAttribute( key: '', xrequired: false, xdefault: '<DEFAULT>', + size: 1, // (optional) + newKey: '', // (optional) ); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/update-url-attribute.md b/docs/examples/1.5.x/server-dart/examples/databases/update-url-attribute.md index 4042ed5e8f..20c11fafc5 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/update-url-attribute.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/update-url-attribute.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); @@ -13,4 +13,5 @@ AttributeUrl result = await databases.updateUrlAttribute( key: '', xrequired: false, xdefault: 'https://example.com', + newKey: '', // (optional) ); diff --git a/docs/examples/1.5.x/server-dart/examples/databases/update.md b/docs/examples/1.5.x/server-dart/examples/databases/update.md index ad8a76ee44..0139f280d1 100644 --- a/docs/examples/1.5.x/server-dart/examples/databases/update.md +++ b/docs/examples/1.5.x/server-dart/examples/databases/update.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Databases databases = Databases(client); diff --git a/docs/examples/1.5.x/server-dart/examples/functions/create-build.md b/docs/examples/1.5.x/server-dart/examples/functions/create-build.md index a90dc7ca9a..2835f8239f 100644 --- a/docs/examples/1.5.x/server-dart/examples/functions/create-build.md +++ b/docs/examples/1.5.x/server-dart/examples/functions/create-build.md @@ -2,13 +2,13 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Functions functions = Functions(client); result = await functions.createBuild( functionId: '<FUNCTION_ID>', deploymentId: '<DEPLOYMENT_ID>', - buildId: '<BUILD_ID>', + buildId: '<BUILD_ID>', // (optional) ); diff --git a/docs/examples/1.5.x/server-dart/examples/functions/create-deployment.md b/docs/examples/1.5.x/server-dart/examples/functions/create-deployment.md index dd32c60927..297bdc612a 100644 --- a/docs/examples/1.5.x/server-dart/examples/functions/create-deployment.md +++ b/docs/examples/1.5.x/server-dart/examples/functions/create-deployment.md @@ -1,9 +1,10 @@ +import 'dart:io'; import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Functions functions = Functions(client); diff --git a/docs/examples/1.5.x/server-dart/examples/functions/create-execution.md b/docs/examples/1.5.x/server-dart/examples/functions/create-execution.md index 8d3eb7446a..2bf146e285 100644 --- a/docs/examples/1.5.x/server-dart/examples/functions/create-execution.md +++ b/docs/examples/1.5.x/server-dart/examples/functions/create-execution.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Functions functions = Functions(client); @@ -14,4 +14,5 @@ Execution result = await functions.createExecution( path: '<PATH>', // (optional) method: ExecutionMethod.gET, // (optional) headers: {}, // (optional) + scheduledAt: '', // (optional) ); diff --git a/docs/examples/1.5.x/server-dart/examples/functions/create-variable.md b/docs/examples/1.5.x/server-dart/examples/functions/create-variable.md index 7b4f062336..5333f88dfe 100644 --- a/docs/examples/1.5.x/server-dart/examples/functions/create-variable.md +++ b/docs/examples/1.5.x/server-dart/examples/functions/create-variable.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Functions functions = Functions(client); diff --git a/docs/examples/1.5.x/server-dart/examples/functions/create.md b/docs/examples/1.5.x/server-dart/examples/functions/create.md index 18e2d3e478..b4283a9953 100644 --- a/docs/examples/1.5.x/server-dart/examples/functions/create.md +++ b/docs/examples/1.5.x/server-dart/examples/functions/create.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Functions functions = Functions(client); @@ -19,6 +19,7 @@ Func result = await functions.create( logging: false, // (optional) entrypoint: '<ENTRYPOINT>', // (optional) commands: '<COMMANDS>', // (optional) + scopes: [], // (optional) installationId: '<INSTALLATION_ID>', // (optional) providerRepositoryId: '<PROVIDER_REPOSITORY_ID>', // (optional) providerBranch: '<PROVIDER_BRANCH>', // (optional) @@ -27,5 +28,6 @@ Func result = await functions.create( templateRepository: '<TEMPLATE_REPOSITORY>', // (optional) templateOwner: '<TEMPLATE_OWNER>', // (optional) templateRootDirectory: '<TEMPLATE_ROOT_DIRECTORY>', // (optional) - templateBranch: '<TEMPLATE_BRANCH>', // (optional) + templateVersion: '<TEMPLATE_VERSION>', // (optional) + specification: '', // (optional) ); diff --git a/docs/examples/1.5.x/server-dart/examples/functions/delete-deployment.md b/docs/examples/1.5.x/server-dart/examples/functions/delete-deployment.md index a50d9e441c..e793812468 100644 --- a/docs/examples/1.5.x/server-dart/examples/functions/delete-deployment.md +++ b/docs/examples/1.5.x/server-dart/examples/functions/delete-deployment.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Functions functions = Functions(client); diff --git a/docs/examples/1.5.x/server-dart/examples/functions/delete-execution.md b/docs/examples/1.5.x/server-dart/examples/functions/delete-execution.md new file mode 100644 index 0000000000..a69267f6c4 --- /dev/null +++ b/docs/examples/1.5.x/server-dart/examples/functions/delete-execution.md @@ -0,0 +1,13 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key + +Functions functions = Functions(client); + +await functions.deleteExecution( + functionId: '<FUNCTION_ID>', + executionId: '<EXECUTION_ID>', +); diff --git a/docs/examples/1.5.x/server-dart/examples/functions/delete-variable.md b/docs/examples/1.5.x/server-dart/examples/functions/delete-variable.md index d677576e87..1a52f9168a 100644 --- a/docs/examples/1.5.x/server-dart/examples/functions/delete-variable.md +++ b/docs/examples/1.5.x/server-dart/examples/functions/delete-variable.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Functions functions = Functions(client); diff --git a/docs/examples/1.5.x/server-dart/examples/functions/delete.md b/docs/examples/1.5.x/server-dart/examples/functions/delete.md index bca7d18999..9ee35f1a5f 100644 --- a/docs/examples/1.5.x/server-dart/examples/functions/delete.md +++ b/docs/examples/1.5.x/server-dart/examples/functions/delete.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Functions functions = Functions(client); diff --git a/docs/examples/1.5.x/server-dart/examples/functions/download-deployment.md b/docs/examples/1.5.x/server-dart/examples/functions/download-deployment.md index 40e39a28ab..d40c253da5 100644 --- a/docs/examples/1.5.x/server-dart/examples/functions/download-deployment.md +++ b/docs/examples/1.5.x/server-dart/examples/functions/download-deployment.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key diff --git a/docs/examples/1.5.x/server-dart/examples/functions/get-deployment-download.md b/docs/examples/1.5.x/server-dart/examples/functions/get-deployment-download.md new file mode 100644 index 0000000000..bbf9561ed7 --- /dev/null +++ b/docs/examples/1.5.x/server-dart/examples/functions/get-deployment-download.md @@ -0,0 +1,13 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key + +Functions functions = Functions(client); + +UInt8List result = await functions.getDeploymentDownload( + functionId: '<FUNCTION_ID>', + deploymentId: '<DEPLOYMENT_ID>', +); diff --git a/docs/examples/1.5.x/server-dart/examples/functions/get-deployment.md b/docs/examples/1.5.x/server-dart/examples/functions/get-deployment.md index 007e84866c..e243802454 100644 --- a/docs/examples/1.5.x/server-dart/examples/functions/get-deployment.md +++ b/docs/examples/1.5.x/server-dart/examples/functions/get-deployment.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Functions functions = Functions(client); diff --git a/docs/examples/1.5.x/server-dart/examples/functions/get-execution.md b/docs/examples/1.5.x/server-dart/examples/functions/get-execution.md index 856b92b322..3ba1795f7a 100644 --- a/docs/examples/1.5.x/server-dart/examples/functions/get-execution.md +++ b/docs/examples/1.5.x/server-dart/examples/functions/get-execution.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Functions functions = Functions(client); diff --git a/docs/examples/1.5.x/server-dart/examples/functions/get-variable.md b/docs/examples/1.5.x/server-dart/examples/functions/get-variable.md index 2328572748..e9ba95912c 100644 --- a/docs/examples/1.5.x/server-dart/examples/functions/get-variable.md +++ b/docs/examples/1.5.x/server-dart/examples/functions/get-variable.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Functions functions = Functions(client); diff --git a/docs/examples/1.5.x/server-dart/examples/functions/get.md b/docs/examples/1.5.x/server-dart/examples/functions/get.md index b6d8c4ce45..e81ac8d1cc 100644 --- a/docs/examples/1.5.x/server-dart/examples/functions/get.md +++ b/docs/examples/1.5.x/server-dart/examples/functions/get.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Functions functions = Functions(client); diff --git a/docs/examples/1.5.x/server-dart/examples/functions/list-deployments.md b/docs/examples/1.5.x/server-dart/examples/functions/list-deployments.md index c9fbc11b12..c2db9a7699 100644 --- a/docs/examples/1.5.x/server-dart/examples/functions/list-deployments.md +++ b/docs/examples/1.5.x/server-dart/examples/functions/list-deployments.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Functions functions = Functions(client); diff --git a/docs/examples/1.5.x/server-dart/examples/functions/list-executions.md b/docs/examples/1.5.x/server-dart/examples/functions/list-executions.md index 3b0af609df..573634e7b1 100644 --- a/docs/examples/1.5.x/server-dart/examples/functions/list-executions.md +++ b/docs/examples/1.5.x/server-dart/examples/functions/list-executions.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Functions functions = Functions(client); diff --git a/docs/examples/1.5.x/server-dart/examples/functions/list-runtimes.md b/docs/examples/1.5.x/server-dart/examples/functions/list-runtimes.md index 199ccce5f7..d2316a9613 100644 --- a/docs/examples/1.5.x/server-dart/examples/functions/list-runtimes.md +++ b/docs/examples/1.5.x/server-dart/examples/functions/list-runtimes.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Functions functions = Functions(client); diff --git a/docs/examples/1.5.x/server-dart/examples/functions/list-specifications.md b/docs/examples/1.5.x/server-dart/examples/functions/list-specifications.md new file mode 100644 index 0000000000..4a77316978 --- /dev/null +++ b/docs/examples/1.5.x/server-dart/examples/functions/list-specifications.md @@ -0,0 +1,10 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key + +Functions functions = Functions(client); + +SpecificationList result = await functions.listSpecifications(); diff --git a/docs/examples/1.5.x/server-dart/examples/functions/list-variables.md b/docs/examples/1.5.x/server-dart/examples/functions/list-variables.md index 4c8396bba0..6c882090b4 100644 --- a/docs/examples/1.5.x/server-dart/examples/functions/list-variables.md +++ b/docs/examples/1.5.x/server-dart/examples/functions/list-variables.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Functions functions = Functions(client); diff --git a/docs/examples/1.5.x/server-dart/examples/functions/list.md b/docs/examples/1.5.x/server-dart/examples/functions/list.md index d44b40ab51..96516e7068 100644 --- a/docs/examples/1.5.x/server-dart/examples/functions/list.md +++ b/docs/examples/1.5.x/server-dart/examples/functions/list.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Functions functions = Functions(client); diff --git a/docs/examples/1.5.x/server-dart/examples/functions/update-deployment-build.md b/docs/examples/1.5.x/server-dart/examples/functions/update-deployment-build.md new file mode 100644 index 0000000000..ecd4d37bac --- /dev/null +++ b/docs/examples/1.5.x/server-dart/examples/functions/update-deployment-build.md @@ -0,0 +1,13 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key + +Functions functions = Functions(client); + +Build result = await functions.updateDeploymentBuild( + functionId: '<FUNCTION_ID>', + deploymentId: '<DEPLOYMENT_ID>', +); diff --git a/docs/examples/1.5.x/server-dart/examples/functions/update-deployment.md b/docs/examples/1.5.x/server-dart/examples/functions/update-deployment.md index 78d5061c8e..61e4d22e95 100644 --- a/docs/examples/1.5.x/server-dart/examples/functions/update-deployment.md +++ b/docs/examples/1.5.x/server-dart/examples/functions/update-deployment.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Functions functions = Functions(client); diff --git a/docs/examples/1.5.x/server-dart/examples/functions/update-variable.md b/docs/examples/1.5.x/server-dart/examples/functions/update-variable.md index d534be3f4d..570d4df3a0 100644 --- a/docs/examples/1.5.x/server-dart/examples/functions/update-variable.md +++ b/docs/examples/1.5.x/server-dart/examples/functions/update-variable.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Functions functions = Functions(client); diff --git a/docs/examples/1.5.x/server-dart/examples/functions/update.md b/docs/examples/1.5.x/server-dart/examples/functions/update.md index bc069a06c9..42aff7b823 100644 --- a/docs/examples/1.5.x/server-dart/examples/functions/update.md +++ b/docs/examples/1.5.x/server-dart/examples/functions/update.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Functions functions = Functions(client); @@ -19,9 +19,11 @@ Func result = await functions.update( logging: false, // (optional) entrypoint: '<ENTRYPOINT>', // (optional) commands: '<COMMANDS>', // (optional) + scopes: [], // (optional) installationId: '<INSTALLATION_ID>', // (optional) providerRepositoryId: '<PROVIDER_REPOSITORY_ID>', // (optional) providerBranch: '<PROVIDER_BRANCH>', // (optional) providerSilentMode: false, // (optional) providerRootDirectory: '<PROVIDER_ROOT_DIRECTORY>', // (optional) + specification: '', // (optional) ); diff --git a/docs/examples/1.5.x/server-dart/examples/graphql/mutation.md b/docs/examples/1.5.x/server-dart/examples/graphql/mutation.md index 75ba4cb0ee..1eed406b60 100644 --- a/docs/examples/1.5.x/server-dart/examples/graphql/mutation.md +++ b/docs/examples/1.5.x/server-dart/examples/graphql/mutation.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Graphql graphql = Graphql(client); diff --git a/docs/examples/1.5.x/server-dart/examples/graphql/query.md b/docs/examples/1.5.x/server-dart/examples/graphql/query.md index b69a6da167..3e2700cd59 100644 --- a/docs/examples/1.5.x/server-dart/examples/graphql/query.md +++ b/docs/examples/1.5.x/server-dart/examples/graphql/query.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Graphql graphql = Graphql(client); diff --git a/docs/examples/1.5.x/server-dart/examples/health/get-antivirus.md b/docs/examples/1.5.x/server-dart/examples/health/get-antivirus.md index 2c68b241c6..d492d0e33a 100644 --- a/docs/examples/1.5.x/server-dart/examples/health/get-antivirus.md +++ b/docs/examples/1.5.x/server-dart/examples/health/get-antivirus.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Health health = Health(client); diff --git a/docs/examples/1.5.x/server-dart/examples/health/get-cache.md b/docs/examples/1.5.x/server-dart/examples/health/get-cache.md index b379ce5348..9a3ccbd06c 100644 --- a/docs/examples/1.5.x/server-dart/examples/health/get-cache.md +++ b/docs/examples/1.5.x/server-dart/examples/health/get-cache.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Health health = Health(client); diff --git a/docs/examples/1.5.x/server-dart/examples/health/get-certificate.md b/docs/examples/1.5.x/server-dart/examples/health/get-certificate.md index bd5c94e622..2c1c60b7cb 100644 --- a/docs/examples/1.5.x/server-dart/examples/health/get-certificate.md +++ b/docs/examples/1.5.x/server-dart/examples/health/get-certificate.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Health health = Health(client); diff --git a/docs/examples/1.5.x/server-dart/examples/health/get-d-b.md b/docs/examples/1.5.x/server-dart/examples/health/get-d-b.md index 3363a249cc..201f787f3f 100644 --- a/docs/examples/1.5.x/server-dart/examples/health/get-d-b.md +++ b/docs/examples/1.5.x/server-dart/examples/health/get-d-b.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Health health = Health(client); diff --git a/docs/examples/1.5.x/server-dart/examples/health/get-failed-jobs.md b/docs/examples/1.5.x/server-dart/examples/health/get-failed-jobs.md index 5e241f0298..324a642013 100644 --- a/docs/examples/1.5.x/server-dart/examples/health/get-failed-jobs.md +++ b/docs/examples/1.5.x/server-dart/examples/health/get-failed-jobs.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Health health = Health(client); diff --git a/docs/examples/1.5.x/server-dart/examples/health/get-pub-sub.md b/docs/examples/1.5.x/server-dart/examples/health/get-pub-sub.md index c683c97515..dab221fb4f 100644 --- a/docs/examples/1.5.x/server-dart/examples/health/get-pub-sub.md +++ b/docs/examples/1.5.x/server-dart/examples/health/get-pub-sub.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Health health = Health(client); diff --git a/docs/examples/1.5.x/server-dart/examples/health/get-queue-builds.md b/docs/examples/1.5.x/server-dart/examples/health/get-queue-builds.md index ba71783e62..42b3913f1c 100644 --- a/docs/examples/1.5.x/server-dart/examples/health/get-queue-builds.md +++ b/docs/examples/1.5.x/server-dart/examples/health/get-queue-builds.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Health health = Health(client); diff --git a/docs/examples/1.5.x/server-dart/examples/health/get-queue-certificates.md b/docs/examples/1.5.x/server-dart/examples/health/get-queue-certificates.md index 1f2f44e2e9..bdd2913b51 100644 --- a/docs/examples/1.5.x/server-dart/examples/health/get-queue-certificates.md +++ b/docs/examples/1.5.x/server-dart/examples/health/get-queue-certificates.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Health health = Health(client); diff --git a/docs/examples/1.5.x/server-dart/examples/health/get-queue-databases.md b/docs/examples/1.5.x/server-dart/examples/health/get-queue-databases.md index d10f47c287..66f5822737 100644 --- a/docs/examples/1.5.x/server-dart/examples/health/get-queue-databases.md +++ b/docs/examples/1.5.x/server-dart/examples/health/get-queue-databases.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Health health = Health(client); diff --git a/docs/examples/1.5.x/server-dart/examples/health/get-queue-deletes.md b/docs/examples/1.5.x/server-dart/examples/health/get-queue-deletes.md index 340e107cf1..1b3666d6d1 100644 --- a/docs/examples/1.5.x/server-dart/examples/health/get-queue-deletes.md +++ b/docs/examples/1.5.x/server-dart/examples/health/get-queue-deletes.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Health health = Health(client); diff --git a/docs/examples/1.5.x/server-dart/examples/health/get-queue-functions.md b/docs/examples/1.5.x/server-dart/examples/health/get-queue-functions.md index 73e7d1459d..836891002c 100644 --- a/docs/examples/1.5.x/server-dart/examples/health/get-queue-functions.md +++ b/docs/examples/1.5.x/server-dart/examples/health/get-queue-functions.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Health health = Health(client); diff --git a/docs/examples/1.5.x/server-dart/examples/health/get-queue-logs.md b/docs/examples/1.5.x/server-dart/examples/health/get-queue-logs.md index f901273e0e..074d1a823e 100644 --- a/docs/examples/1.5.x/server-dart/examples/health/get-queue-logs.md +++ b/docs/examples/1.5.x/server-dart/examples/health/get-queue-logs.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Health health = Health(client); diff --git a/docs/examples/1.5.x/server-dart/examples/health/get-queue-mails.md b/docs/examples/1.5.x/server-dart/examples/health/get-queue-mails.md index a0f142925d..5960e94456 100644 --- a/docs/examples/1.5.x/server-dart/examples/health/get-queue-mails.md +++ b/docs/examples/1.5.x/server-dart/examples/health/get-queue-mails.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Health health = Health(client); diff --git a/docs/examples/1.5.x/server-dart/examples/health/get-queue-messaging.md b/docs/examples/1.5.x/server-dart/examples/health/get-queue-messaging.md index d4e09f9521..9b287116bc 100644 --- a/docs/examples/1.5.x/server-dart/examples/health/get-queue-messaging.md +++ b/docs/examples/1.5.x/server-dart/examples/health/get-queue-messaging.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Health health = Health(client); diff --git a/docs/examples/1.5.x/server-dart/examples/health/get-queue-migrations.md b/docs/examples/1.5.x/server-dart/examples/health/get-queue-migrations.md index 42d8aa10dd..80ad6d2577 100644 --- a/docs/examples/1.5.x/server-dart/examples/health/get-queue-migrations.md +++ b/docs/examples/1.5.x/server-dart/examples/health/get-queue-migrations.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Health health = Health(client); diff --git a/docs/examples/1.5.x/server-dart/examples/health/get-queue-stats-resources.md b/docs/examples/1.5.x/server-dart/examples/health/get-queue-stats-resources.md new file mode 100644 index 0000000000..d0b443e3ce --- /dev/null +++ b/docs/examples/1.5.x/server-dart/examples/health/get-queue-stats-resources.md @@ -0,0 +1,12 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key + +Health health = Health(client); + +HealthQueue result = await health.getQueueStatsResources( + threshold: 0, // (optional) +); diff --git a/docs/examples/1.5.x/server-dart/examples/health/get-queue-usage-dump.md b/docs/examples/1.5.x/server-dart/examples/health/get-queue-usage-dump.md index 7b8d61efeb..543cfdd433 100644 --- a/docs/examples/1.5.x/server-dart/examples/health/get-queue-usage-dump.md +++ b/docs/examples/1.5.x/server-dart/examples/health/get-queue-usage-dump.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key diff --git a/docs/examples/1.5.x/server-dart/examples/health/get-queue-usage.md b/docs/examples/1.5.x/server-dart/examples/health/get-queue-usage.md index 2d08bb7567..a8990b1dcb 100644 --- a/docs/examples/1.5.x/server-dart/examples/health/get-queue-usage.md +++ b/docs/examples/1.5.x/server-dart/examples/health/get-queue-usage.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Health health = Health(client); diff --git a/docs/examples/1.5.x/server-dart/examples/health/get-queue-webhooks.md b/docs/examples/1.5.x/server-dart/examples/health/get-queue-webhooks.md index d1d4c3ef11..10e5787ea7 100644 --- a/docs/examples/1.5.x/server-dart/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.5.x/server-dart/examples/health/get-queue-webhooks.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Health health = Health(client); diff --git a/docs/examples/1.5.x/server-dart/examples/health/get-queue.md b/docs/examples/1.5.x/server-dart/examples/health/get-queue.md index 87f72f4bf9..1087b217a6 100644 --- a/docs/examples/1.5.x/server-dart/examples/health/get-queue.md +++ b/docs/examples/1.5.x/server-dart/examples/health/get-queue.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key diff --git a/docs/examples/1.5.x/server-dart/examples/health/get-storage-local.md b/docs/examples/1.5.x/server-dart/examples/health/get-storage-local.md index 22232c00f3..34b8f7e3c1 100644 --- a/docs/examples/1.5.x/server-dart/examples/health/get-storage-local.md +++ b/docs/examples/1.5.x/server-dart/examples/health/get-storage-local.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Health health = Health(client); diff --git a/docs/examples/1.5.x/server-dart/examples/health/get-storage.md b/docs/examples/1.5.x/server-dart/examples/health/get-storage.md index f02b535b9d..d3745bca3c 100644 --- a/docs/examples/1.5.x/server-dart/examples/health/get-storage.md +++ b/docs/examples/1.5.x/server-dart/examples/health/get-storage.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Health health = Health(client); diff --git a/docs/examples/1.5.x/server-dart/examples/health/get-time.md b/docs/examples/1.5.x/server-dart/examples/health/get-time.md index 51f865cfaf..539e098465 100644 --- a/docs/examples/1.5.x/server-dart/examples/health/get-time.md +++ b/docs/examples/1.5.x/server-dart/examples/health/get-time.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Health health = Health(client); diff --git a/docs/examples/1.5.x/server-dart/examples/health/get.md b/docs/examples/1.5.x/server-dart/examples/health/get.md index ebabd7fdbe..6286018d89 100644 --- a/docs/examples/1.5.x/server-dart/examples/health/get.md +++ b/docs/examples/1.5.x/server-dart/examples/health/get.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Health health = Health(client); diff --git a/docs/examples/1.5.x/server-dart/examples/locale/get.md b/docs/examples/1.5.x/server-dart/examples/locale/get.md index 12dd0749cd..b5b6878b4c 100644 --- a/docs/examples/1.5.x/server-dart/examples/locale/get.md +++ b/docs/examples/1.5.x/server-dart/examples/locale/get.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Locale locale = Locale(client); diff --git a/docs/examples/1.5.x/server-dart/examples/locale/list-codes.md b/docs/examples/1.5.x/server-dart/examples/locale/list-codes.md index 40a62a9304..0b37c79f51 100644 --- a/docs/examples/1.5.x/server-dart/examples/locale/list-codes.md +++ b/docs/examples/1.5.x/server-dart/examples/locale/list-codes.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Locale locale = Locale(client); diff --git a/docs/examples/1.5.x/server-dart/examples/locale/list-continents.md b/docs/examples/1.5.x/server-dart/examples/locale/list-continents.md index 5adf67a853..9c8fb6d206 100644 --- a/docs/examples/1.5.x/server-dart/examples/locale/list-continents.md +++ b/docs/examples/1.5.x/server-dart/examples/locale/list-continents.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Locale locale = Locale(client); diff --git a/docs/examples/1.5.x/server-dart/examples/locale/list-countries-e-u.md b/docs/examples/1.5.x/server-dart/examples/locale/list-countries-e-u.md index 14890ae4bc..e114831eba 100644 --- a/docs/examples/1.5.x/server-dart/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.5.x/server-dart/examples/locale/list-countries-e-u.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Locale locale = Locale(client); diff --git a/docs/examples/1.5.x/server-dart/examples/locale/list-countries-phones.md b/docs/examples/1.5.x/server-dart/examples/locale/list-countries-phones.md index a4764593f6..6f73ed3704 100644 --- a/docs/examples/1.5.x/server-dart/examples/locale/list-countries-phones.md +++ b/docs/examples/1.5.x/server-dart/examples/locale/list-countries-phones.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Locale locale = Locale(client); diff --git a/docs/examples/1.5.x/server-dart/examples/locale/list-countries.md b/docs/examples/1.5.x/server-dart/examples/locale/list-countries.md index 5cc508b92c..404b9a12a7 100644 --- a/docs/examples/1.5.x/server-dart/examples/locale/list-countries.md +++ b/docs/examples/1.5.x/server-dart/examples/locale/list-countries.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Locale locale = Locale(client); diff --git a/docs/examples/1.5.x/server-dart/examples/locale/list-currencies.md b/docs/examples/1.5.x/server-dart/examples/locale/list-currencies.md index afb4cf4934..8e74090bdf 100644 --- a/docs/examples/1.5.x/server-dart/examples/locale/list-currencies.md +++ b/docs/examples/1.5.x/server-dart/examples/locale/list-currencies.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Locale locale = Locale(client); diff --git a/docs/examples/1.5.x/server-dart/examples/locale/list-languages.md b/docs/examples/1.5.x/server-dart/examples/locale/list-languages.md index 2a83e2d747..3a2d54b609 100644 --- a/docs/examples/1.5.x/server-dart/examples/locale/list-languages.md +++ b/docs/examples/1.5.x/server-dart/examples/locale/list-languages.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Locale locale = Locale(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/create-a-p-n-s-provider.md b/docs/examples/1.5.x/server-dart/examples/messaging/create-a-p-n-s-provider.md index 792cd997bb..069cc6b5c2 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/create-a-p-n-s-provider.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/create-a-p-n-s-provider.md @@ -5,7 +5,7 @@ void main() { // Init SDK Messaging messaging = Messaging(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/create-apns-provider.md b/docs/examples/1.5.x/server-dart/examples/messaging/create-apns-provider.md index fa6b867e7d..fc7c30efda 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/create-apns-provider.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/create-apns-provider.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/create-email.md b/docs/examples/1.5.x/server-dart/examples/messaging/create-email.md index 56b542eeb7..de06809fb0 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/create-email.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/create-email.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/create-f-c-m-provider.md b/docs/examples/1.5.x/server-dart/examples/messaging/create-f-c-m-provider.md index 595feb7f5d..5191086a2d 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/create-f-c-m-provider.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/create-f-c-m-provider.md @@ -5,7 +5,7 @@ void main() { // Init SDK Messaging messaging = Messaging(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/create-fcm-provider.md b/docs/examples/1.5.x/server-dart/examples/messaging/create-fcm-provider.md index 2f14a3dbe1..480a6ed578 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/create-fcm-provider.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/create-fcm-provider.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/create-mailgun-provider.md b/docs/examples/1.5.x/server-dart/examples/messaging/create-mailgun-provider.md index c41871205a..6617ff8c1d 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/create-mailgun-provider.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/create-mailgun-provider.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/create-msg91provider.md b/docs/examples/1.5.x/server-dart/examples/messaging/create-msg91provider.md index 696d132a4c..785c55ce4a 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/create-msg91provider.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/create-msg91provider.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/create-push.md b/docs/examples/1.5.x/server-dart/examples/messaging/create-push.md index 0249485f0a..e496de9d27 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/create-push.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/create-push.md @@ -2,15 +2,15 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); Message result = await messaging.createPush( messageId: '<MESSAGE_ID>', - title: '<TITLE>', - body: '<BODY>', + title: '<TITLE>', // (optional) + body: '<BODY>', // (optional) topics: [], // (optional) users: [], // (optional) targets: [], // (optional) @@ -21,7 +21,10 @@ Message result = await messaging.createPush( sound: '<SOUND>', // (optional) color: '<COLOR>', // (optional) tag: '<TAG>', // (optional) - badge: '<BADGE>', // (optional) + badge: 0, // (optional) draft: false, // (optional) scheduledAt: '', // (optional) + contentAvailable: false, // (optional) + critical: false, // (optional) + priority: MessagePriority.normal, // (optional) ); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/create-s-m-s.md b/docs/examples/1.5.x/server-dart/examples/messaging/create-s-m-s.md index 82bbaab24e..c27d8f1065 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/create-s-m-s.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/create-s-m-s.md @@ -5,7 +5,7 @@ void main() { // Init SDK Messaging messaging = Messaging(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/create-s-m-t-p-provider.md b/docs/examples/1.5.x/server-dart/examples/messaging/create-s-m-t-p-provider.md index c22c27c047..52d6e28a1e 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/create-s-m-t-p-provider.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/create-s-m-t-p-provider.md @@ -5,7 +5,7 @@ void main() { // Init SDK Messaging messaging = Messaging(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/create-sendgrid-provider.md b/docs/examples/1.5.x/server-dart/examples/messaging/create-sendgrid-provider.md index 7194fd6f8f..2f6d51d2fb 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/create-sendgrid-provider.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/create-sendgrid-provider.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/create-sms.md b/docs/examples/1.5.x/server-dart/examples/messaging/create-sms.md index ed6726109a..8d31dc630d 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/create-sms.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/create-sms.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/create-smtp-provider.md b/docs/examples/1.5.x/server-dart/examples/messaging/create-smtp-provider.md index 7eb8f907be..352369a8bb 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/create-smtp-provider.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/create-smtp-provider.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/create-subscriber.md b/docs/examples/1.5.x/server-dart/examples/messaging/create-subscriber.md index d7e313853f..5fdd4c8404 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/create-subscriber.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/create-subscriber.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...'); // Your secret JSON Web Token + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setJWT('<YOUR_JWT>'); // Your secret JSON Web Token Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/create-telesign-provider.md b/docs/examples/1.5.x/server-dart/examples/messaging/create-telesign-provider.md index b5c475ca7c..4fef631278 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/create-telesign-provider.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/create-telesign-provider.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/create-textmagic-provider.md b/docs/examples/1.5.x/server-dart/examples/messaging/create-textmagic-provider.md index 5b40a6ab8e..b7b456de72 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/create-textmagic-provider.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/create-textmagic-provider.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/create-topic.md b/docs/examples/1.5.x/server-dart/examples/messaging/create-topic.md index f735285749..0e83103213 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/create-topic.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/create-topic.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/create-twilio-provider.md b/docs/examples/1.5.x/server-dart/examples/messaging/create-twilio-provider.md index 050e06a34c..1d9e4f44b0 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/create-twilio-provider.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/create-twilio-provider.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/create-vonage-provider.md b/docs/examples/1.5.x/server-dart/examples/messaging/create-vonage-provider.md index 31e3e8295e..2bbad6591a 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/create-vonage-provider.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/create-vonage-provider.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/delete-provider.md b/docs/examples/1.5.x/server-dart/examples/messaging/delete-provider.md index 1761eb8da2..189cdb310a 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/delete-provider.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/delete-provider.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/delete-subscriber.md b/docs/examples/1.5.x/server-dart/examples/messaging/delete-subscriber.md index 7a098dda2b..7cfbdae02c 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/delete-subscriber.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/delete-subscriber.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...'); // Your secret JSON Web Token + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setJWT('<YOUR_JWT>'); // Your secret JSON Web Token Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/delete-topic.md b/docs/examples/1.5.x/server-dart/examples/messaging/delete-topic.md index 7455d50be5..a64056fc0f 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/delete-topic.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/delete-topic.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/delete.md b/docs/examples/1.5.x/server-dart/examples/messaging/delete.md index 549c5eb037..0cbc89ab22 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/delete.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/delete.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/get-message.md b/docs/examples/1.5.x/server-dart/examples/messaging/get-message.md index a89f803048..b95babd1f5 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/get-message.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/get-message.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/get-provider.md b/docs/examples/1.5.x/server-dart/examples/messaging/get-provider.md index 3b1f23387e..1ba21b81fb 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/get-provider.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/get-provider.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/get-subscriber.md b/docs/examples/1.5.x/server-dart/examples/messaging/get-subscriber.md index 33caa7613e..9a6711ba8d 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/get-subscriber.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/get-subscriber.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/get-topic.md b/docs/examples/1.5.x/server-dart/examples/messaging/get-topic.md index d90aea0cd1..2418390f2f 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/get-topic.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/get-topic.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/list-message-logs.md b/docs/examples/1.5.x/server-dart/examples/messaging/list-message-logs.md index c3f6a27e84..09c669dd84 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/list-message-logs.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/list-message-logs.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/list-messages.md b/docs/examples/1.5.x/server-dart/examples/messaging/list-messages.md index 6532f0f9ca..e58ab7f787 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/list-messages.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/list-messages.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/list-provider-logs.md b/docs/examples/1.5.x/server-dart/examples/messaging/list-provider-logs.md index a21afd48f4..fb8b629675 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/list-provider-logs.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/list-provider-logs.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/list-providers.md b/docs/examples/1.5.x/server-dart/examples/messaging/list-providers.md index 072cb32cbd..5ff2ac533f 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/list-providers.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/list-providers.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/list-subscriber-logs.md b/docs/examples/1.5.x/server-dart/examples/messaging/list-subscriber-logs.md index 993b0936f8..8ccbe9c8c8 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/list-subscriber-logs.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/list-subscriber-logs.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/list-subscribers.md b/docs/examples/1.5.x/server-dart/examples/messaging/list-subscribers.md index 87a2e79eff..81db0613d9 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/list-subscribers.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/list-subscribers.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/list-targets.md b/docs/examples/1.5.x/server-dart/examples/messaging/list-targets.md index e3e95823c8..af02c235df 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/list-targets.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/list-targets.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/list-topic-logs.md b/docs/examples/1.5.x/server-dart/examples/messaging/list-topic-logs.md index 232d6ecc14..afb80a24ba 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/list-topic-logs.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/list-topic-logs.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/list-topics.md b/docs/examples/1.5.x/server-dart/examples/messaging/list-topics.md index 538937490c..1516056ce1 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/list-topics.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/list-topics.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/update-a-p-n-s-provider.md b/docs/examples/1.5.x/server-dart/examples/messaging/update-a-p-n-s-provider.md index 7a321532aa..83fb65bf53 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/update-a-p-n-s-provider.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/update-a-p-n-s-provider.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/update-apns-provider.md b/docs/examples/1.5.x/server-dart/examples/messaging/update-apns-provider.md index 9c13397b67..72eb874458 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/update-apns-provider.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/update-apns-provider.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/update-email.md b/docs/examples/1.5.x/server-dart/examples/messaging/update-email.md index c6d69caa8e..a53209abfd 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/update-email.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/update-email.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/update-f-c-m-provider.md b/docs/examples/1.5.x/server-dart/examples/messaging/update-f-c-m-provider.md index 12ddad79e2..3f43671812 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/update-f-c-m-provider.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/update-f-c-m-provider.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/update-fcm-provider.md b/docs/examples/1.5.x/server-dart/examples/messaging/update-fcm-provider.md index ec2ff349b9..4b2bf6bd19 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/update-fcm-provider.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/update-fcm-provider.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/update-mailgun-provider.md b/docs/examples/1.5.x/server-dart/examples/messaging/update-mailgun-provider.md index ddf4ef4ae0..6acc4950d6 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/update-mailgun-provider.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/update-mailgun-provider.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/update-msg91provider.md b/docs/examples/1.5.x/server-dart/examples/messaging/update-msg91provider.md index 7b1c32d8f3..10a8aa1655 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/update-msg91provider.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/update-msg91provider.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/update-push.md b/docs/examples/1.5.x/server-dart/examples/messaging/update-push.md index 7b01b5c372..f5d75332e2 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/update-push.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/update-push.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); @@ -24,4 +24,7 @@ Message result = await messaging.updatePush( badge: 0, // (optional) draft: false, // (optional) scheduledAt: '', // (optional) + contentAvailable: false, // (optional) + critical: false, // (optional) + priority: MessagePriority.normal, // (optional) ); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/update-s-m-s.md b/docs/examples/1.5.x/server-dart/examples/messaging/update-s-m-s.md index f091ba6fc8..37ed6fa3c0 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/update-s-m-s.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/update-s-m-s.md @@ -5,7 +5,7 @@ void main() { // Init SDK Messaging messaging = Messaging(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/update-s-m-t-p-provider.md b/docs/examples/1.5.x/server-dart/examples/messaging/update-s-m-t-p-provider.md index d74bbcd2a6..5ff91473f6 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/update-s-m-t-p-provider.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/update-s-m-t-p-provider.md @@ -5,7 +5,7 @@ void main() { // Init SDK Messaging messaging = Messaging(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/update-sendgrid-provider.md b/docs/examples/1.5.x/server-dart/examples/messaging/update-sendgrid-provider.md index f23d036993..ce00ee26e3 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/update-sendgrid-provider.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/update-sendgrid-provider.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/update-sms.md b/docs/examples/1.5.x/server-dart/examples/messaging/update-sms.md index 054da06088..795d03e9eb 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/update-sms.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/update-sms.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/update-smtp-provider.md b/docs/examples/1.5.x/server-dart/examples/messaging/update-smtp-provider.md index 5d3fff930b..c85e62ee93 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/update-smtp-provider.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/update-smtp-provider.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/update-telesign-provider.md b/docs/examples/1.5.x/server-dart/examples/messaging/update-telesign-provider.md index d347df249f..d313321ad0 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/update-telesign-provider.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/update-telesign-provider.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/update-textmagic-provider.md b/docs/examples/1.5.x/server-dart/examples/messaging/update-textmagic-provider.md index ef0be2180e..dc966eccec 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/update-textmagic-provider.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/update-textmagic-provider.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/update-topic.md b/docs/examples/1.5.x/server-dart/examples/messaging/update-topic.md index 29bda3d6c1..8c149c57f1 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/update-topic.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/update-topic.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/update-twilio-provider.md b/docs/examples/1.5.x/server-dart/examples/messaging/update-twilio-provider.md index 7eb7cbf4c5..a246dd62b9 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/update-twilio-provider.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/update-twilio-provider.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/messaging/update-vonage-provider.md b/docs/examples/1.5.x/server-dart/examples/messaging/update-vonage-provider.md index 9965229ab8..d848a648fe 100644 --- a/docs/examples/1.5.x/server-dart/examples/messaging/update-vonage-provider.md +++ b/docs/examples/1.5.x/server-dart/examples/messaging/update-vonage-provider.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Messaging messaging = Messaging(client); diff --git a/docs/examples/1.5.x/server-dart/examples/storage/create-bucket.md b/docs/examples/1.5.x/server-dart/examples/storage/create-bucket.md index 4cdc5b5649..e9b817f367 100644 --- a/docs/examples/1.5.x/server-dart/examples/storage/create-bucket.md +++ b/docs/examples/1.5.x/server-dart/examples/storage/create-bucket.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Storage storage = Storage(client); diff --git a/docs/examples/1.5.x/server-dart/examples/storage/create-file.md b/docs/examples/1.5.x/server-dart/examples/storage/create-file.md index fb46c84c2b..0e06f4220c 100644 --- a/docs/examples/1.5.x/server-dart/examples/storage/create-file.md +++ b/docs/examples/1.5.x/server-dart/examples/storage/create-file.md @@ -3,7 +3,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Storage storage = Storage(client); diff --git a/docs/examples/1.5.x/server-dart/examples/storage/delete-bucket.md b/docs/examples/1.5.x/server-dart/examples/storage/delete-bucket.md index 28b8a5fffb..51fa7aafca 100644 --- a/docs/examples/1.5.x/server-dart/examples/storage/delete-bucket.md +++ b/docs/examples/1.5.x/server-dart/examples/storage/delete-bucket.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Storage storage = Storage(client); diff --git a/docs/examples/1.5.x/server-dart/examples/storage/delete-file.md b/docs/examples/1.5.x/server-dart/examples/storage/delete-file.md index b50ebce432..25f74b68bb 100644 --- a/docs/examples/1.5.x/server-dart/examples/storage/delete-file.md +++ b/docs/examples/1.5.x/server-dart/examples/storage/delete-file.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Storage storage = Storage(client); diff --git a/docs/examples/1.5.x/server-dart/examples/storage/get-bucket.md b/docs/examples/1.5.x/server-dart/examples/storage/get-bucket.md index b425a9f896..20dfac75b6 100644 --- a/docs/examples/1.5.x/server-dart/examples/storage/get-bucket.md +++ b/docs/examples/1.5.x/server-dart/examples/storage/get-bucket.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Storage storage = Storage(client); diff --git a/docs/examples/1.5.x/server-dart/examples/storage/get-file-download.md b/docs/examples/1.5.x/server-dart/examples/storage/get-file-download.md index 06612637da..ddbc538b8b 100644 --- a/docs/examples/1.5.x/server-dart/examples/storage/get-file-download.md +++ b/docs/examples/1.5.x/server-dart/examples/storage/get-file-download.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Storage storage = Storage(client); diff --git a/docs/examples/1.5.x/server-dart/examples/storage/get-file-preview.md b/docs/examples/1.5.x/server-dart/examples/storage/get-file-preview.md index 70a233210a..0f9cada9b3 100644 --- a/docs/examples/1.5.x/server-dart/examples/storage/get-file-preview.md +++ b/docs/examples/1.5.x/server-dart/examples/storage/get-file-preview.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Storage storage = Storage(client); diff --git a/docs/examples/1.5.x/server-dart/examples/storage/get-file-view.md b/docs/examples/1.5.x/server-dart/examples/storage/get-file-view.md index fa1471051c..d9854177e8 100644 --- a/docs/examples/1.5.x/server-dart/examples/storage/get-file-view.md +++ b/docs/examples/1.5.x/server-dart/examples/storage/get-file-view.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Storage storage = Storage(client); diff --git a/docs/examples/1.5.x/server-dart/examples/storage/get-file.md b/docs/examples/1.5.x/server-dart/examples/storage/get-file.md index c5ca6182ac..c79b608c43 100644 --- a/docs/examples/1.5.x/server-dart/examples/storage/get-file.md +++ b/docs/examples/1.5.x/server-dart/examples/storage/get-file.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Storage storage = Storage(client); diff --git a/docs/examples/1.5.x/server-dart/examples/storage/list-buckets.md b/docs/examples/1.5.x/server-dart/examples/storage/list-buckets.md index d5e26a2ca6..7d9afb7ea1 100644 --- a/docs/examples/1.5.x/server-dart/examples/storage/list-buckets.md +++ b/docs/examples/1.5.x/server-dart/examples/storage/list-buckets.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Storage storage = Storage(client); diff --git a/docs/examples/1.5.x/server-dart/examples/storage/list-files.md b/docs/examples/1.5.x/server-dart/examples/storage/list-files.md index 45555f229b..02e52ba44a 100644 --- a/docs/examples/1.5.x/server-dart/examples/storage/list-files.md +++ b/docs/examples/1.5.x/server-dart/examples/storage/list-files.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Storage storage = Storage(client); diff --git a/docs/examples/1.5.x/server-dart/examples/storage/update-bucket.md b/docs/examples/1.5.x/server-dart/examples/storage/update-bucket.md index 202157678a..23bfdb7395 100644 --- a/docs/examples/1.5.x/server-dart/examples/storage/update-bucket.md +++ b/docs/examples/1.5.x/server-dart/examples/storage/update-bucket.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Storage storage = Storage(client); diff --git a/docs/examples/1.5.x/server-dart/examples/storage/update-file.md b/docs/examples/1.5.x/server-dart/examples/storage/update-file.md index 5801bfd4bb..d03e60406e 100644 --- a/docs/examples/1.5.x/server-dart/examples/storage/update-file.md +++ b/docs/examples/1.5.x/server-dart/examples/storage/update-file.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Storage storage = Storage(client); diff --git a/docs/examples/1.5.x/server-dart/examples/teams/create-membership.md b/docs/examples/1.5.x/server-dart/examples/teams/create-membership.md index 679a9c028e..96b037a1c0 100644 --- a/docs/examples/1.5.x/server-dart/examples/teams/create-membership.md +++ b/docs/examples/1.5.x/server-dart/examples/teams/create-membership.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Teams teams = Teams(client); diff --git a/docs/examples/1.5.x/server-dart/examples/teams/create.md b/docs/examples/1.5.x/server-dart/examples/teams/create.md index 1606dfb917..f6575bc440 100644 --- a/docs/examples/1.5.x/server-dart/examples/teams/create.md +++ b/docs/examples/1.5.x/server-dart/examples/teams/create.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Teams teams = Teams(client); diff --git a/docs/examples/1.5.x/server-dart/examples/teams/delete-membership.md b/docs/examples/1.5.x/server-dart/examples/teams/delete-membership.md index f43961000a..6f495ef434 100644 --- a/docs/examples/1.5.x/server-dart/examples/teams/delete-membership.md +++ b/docs/examples/1.5.x/server-dart/examples/teams/delete-membership.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Teams teams = Teams(client); diff --git a/docs/examples/1.5.x/server-dart/examples/teams/delete.md b/docs/examples/1.5.x/server-dart/examples/teams/delete.md index c41fbd9880..021368cb05 100644 --- a/docs/examples/1.5.x/server-dart/examples/teams/delete.md +++ b/docs/examples/1.5.x/server-dart/examples/teams/delete.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Teams teams = Teams(client); diff --git a/docs/examples/1.5.x/server-dart/examples/teams/get-membership.md b/docs/examples/1.5.x/server-dart/examples/teams/get-membership.md index 5b8b51f492..1d5c3b3550 100644 --- a/docs/examples/1.5.x/server-dart/examples/teams/get-membership.md +++ b/docs/examples/1.5.x/server-dart/examples/teams/get-membership.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Teams teams = Teams(client); diff --git a/docs/examples/1.5.x/server-dart/examples/teams/get-prefs.md b/docs/examples/1.5.x/server-dart/examples/teams/get-prefs.md index 4038c0927b..1e89d0e277 100644 --- a/docs/examples/1.5.x/server-dart/examples/teams/get-prefs.md +++ b/docs/examples/1.5.x/server-dart/examples/teams/get-prefs.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Teams teams = Teams(client); diff --git a/docs/examples/1.5.x/server-dart/examples/teams/get.md b/docs/examples/1.5.x/server-dart/examples/teams/get.md index 677c708424..31d238ab96 100644 --- a/docs/examples/1.5.x/server-dart/examples/teams/get.md +++ b/docs/examples/1.5.x/server-dart/examples/teams/get.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Teams teams = Teams(client); diff --git a/docs/examples/1.5.x/server-dart/examples/teams/list-memberships.md b/docs/examples/1.5.x/server-dart/examples/teams/list-memberships.md index 6c1da3f73d..1cb91dd477 100644 --- a/docs/examples/1.5.x/server-dart/examples/teams/list-memberships.md +++ b/docs/examples/1.5.x/server-dart/examples/teams/list-memberships.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Teams teams = Teams(client); diff --git a/docs/examples/1.5.x/server-dart/examples/teams/list.md b/docs/examples/1.5.x/server-dart/examples/teams/list.md index 09a4548c60..e4c764c517 100644 --- a/docs/examples/1.5.x/server-dart/examples/teams/list.md +++ b/docs/examples/1.5.x/server-dart/examples/teams/list.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Teams teams = Teams(client); diff --git a/docs/examples/1.5.x/server-dart/examples/teams/update-membership-status.md b/docs/examples/1.5.x/server-dart/examples/teams/update-membership-status.md index befb753c4b..71c343663a 100644 --- a/docs/examples/1.5.x/server-dart/examples/teams/update-membership-status.md +++ b/docs/examples/1.5.x/server-dart/examples/teams/update-membership-status.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Teams teams = Teams(client); diff --git a/docs/examples/1.5.x/server-dart/examples/teams/update-membership.md b/docs/examples/1.5.x/server-dart/examples/teams/update-membership.md index 5e976887d3..256c0823fe 100644 --- a/docs/examples/1.5.x/server-dart/examples/teams/update-membership.md +++ b/docs/examples/1.5.x/server-dart/examples/teams/update-membership.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Teams teams = Teams(client); diff --git a/docs/examples/1.5.x/server-dart/examples/teams/update-name.md b/docs/examples/1.5.x/server-dart/examples/teams/update-name.md index 93e2e3c20a..a1727ced11 100644 --- a/docs/examples/1.5.x/server-dart/examples/teams/update-name.md +++ b/docs/examples/1.5.x/server-dart/examples/teams/update-name.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Teams teams = Teams(client); diff --git a/docs/examples/1.5.x/server-dart/examples/teams/update-prefs.md b/docs/examples/1.5.x/server-dart/examples/teams/update-prefs.md index 22c13dac97..1b3208b79f 100644 --- a/docs/examples/1.5.x/server-dart/examples/teams/update-prefs.md +++ b/docs/examples/1.5.x/server-dart/examples/teams/update-prefs.md @@ -2,7 +2,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with Teams teams = Teams(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/create-argon2user.md b/docs/examples/1.5.x/server-dart/examples/users/create-argon2user.md index 080e66a512..68dd98841e 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/create-argon2user.md +++ b/docs/examples/1.5.x/server-dart/examples/users/create-argon2user.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/create-bcrypt-user.md b/docs/examples/1.5.x/server-dart/examples/users/create-bcrypt-user.md index afddc2c9bc..cb000391c6 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.5.x/server-dart/examples/users/create-bcrypt-user.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/create-j-w-t.md b/docs/examples/1.5.x/server-dart/examples/users/create-j-w-t.md new file mode 100644 index 0000000000..2a9c67bead --- /dev/null +++ b/docs/examples/1.5.x/server-dart/examples/users/create-j-w-t.md @@ -0,0 +1,14 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key + +Users users = Users(client); + +Jwt result = await users.createJWT( + userId: '<USER_ID>', + sessionId: '<SESSION_ID>', // (optional) + duration: 0, // (optional) +); diff --git a/docs/examples/1.5.x/server-dart/examples/users/create-m-d5user.md b/docs/examples/1.5.x/server-dart/examples/users/create-m-d5user.md index 05a9cc1991..4ade88bc7d 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/create-m-d5user.md +++ b/docs/examples/1.5.x/server-dart/examples/users/create-m-d5user.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/create-mfa-recovery-codes.md b/docs/examples/1.5.x/server-dart/examples/users/create-mfa-recovery-codes.md index 15cc9c10fc..598cef4901 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/create-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-dart/examples/users/create-mfa-recovery-codes.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/create-p-h-pass-user.md b/docs/examples/1.5.x/server-dart/examples/users/create-p-h-pass-user.md index 952584d438..1c95cbe263 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.5.x/server-dart/examples/users/create-p-h-pass-user.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/create-s-h-a-user.md b/docs/examples/1.5.x/server-dart/examples/users/create-s-h-a-user.md index 9b29c5b8d4..17122072e4 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.5.x/server-dart/examples/users/create-s-h-a-user.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/create-scrypt-modified-user.md b/docs/examples/1.5.x/server-dart/examples/users/create-scrypt-modified-user.md index 967fc3806e..063fc97d84 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.5.x/server-dart/examples/users/create-scrypt-modified-user.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/create-scrypt-user.md b/docs/examples/1.5.x/server-dart/examples/users/create-scrypt-user.md index ba4fce846b..03717bd7f0 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/create-scrypt-user.md +++ b/docs/examples/1.5.x/server-dart/examples/users/create-scrypt-user.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/create-session.md b/docs/examples/1.5.x/server-dart/examples/users/create-session.md index 8efc2d959f..013707bcc5 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/create-session.md +++ b/docs/examples/1.5.x/server-dart/examples/users/create-session.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/create-target.md b/docs/examples/1.5.x/server-dart/examples/users/create-target.md index 630afbfce0..88c0c19e42 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/create-target.md +++ b/docs/examples/1.5.x/server-dart/examples/users/create-target.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/create-token.md b/docs/examples/1.5.x/server-dart/examples/users/create-token.md index 51a9892a47..16040215a3 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/create-token.md +++ b/docs/examples/1.5.x/server-dart/examples/users/create-token.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/create.md b/docs/examples/1.5.x/server-dart/examples/users/create.md index 8faa909e55..a0f0c3fe3d 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/create.md +++ b/docs/examples/1.5.x/server-dart/examples/users/create.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/delete-authenticator.md b/docs/examples/1.5.x/server-dart/examples/users/delete-authenticator.md index 62eac5899f..240790c047 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/delete-authenticator.md +++ b/docs/examples/1.5.x/server-dart/examples/users/delete-authenticator.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key diff --git a/docs/examples/1.5.x/server-dart/examples/users/delete-identity.md b/docs/examples/1.5.x/server-dart/examples/users/delete-identity.md index 3ad24e3262..07ba49764e 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/delete-identity.md +++ b/docs/examples/1.5.x/server-dart/examples/users/delete-identity.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/delete-mfa-authenticator.md b/docs/examples/1.5.x/server-dart/examples/users/delete-mfa-authenticator.md index 8c67955d32..d48ab6d4f0 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-dart/examples/users/delete-mfa-authenticator.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/delete-session.md b/docs/examples/1.5.x/server-dart/examples/users/delete-session.md index 4cca314fc8..a2c985a7e7 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/delete-session.md +++ b/docs/examples/1.5.x/server-dart/examples/users/delete-session.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/delete-sessions.md b/docs/examples/1.5.x/server-dart/examples/users/delete-sessions.md index df0c5f1deb..e86e0e29aa 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/delete-sessions.md +++ b/docs/examples/1.5.x/server-dart/examples/users/delete-sessions.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/delete-target.md b/docs/examples/1.5.x/server-dart/examples/users/delete-target.md index 34283a1c44..bae674cdcd 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/delete-target.md +++ b/docs/examples/1.5.x/server-dart/examples/users/delete-target.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/delete.md b/docs/examples/1.5.x/server-dart/examples/users/delete.md index 6801e13b6b..dbee4e8cc9 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/delete.md +++ b/docs/examples/1.5.x/server-dart/examples/users/delete.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/get-mfa-recovery-codes.md b/docs/examples/1.5.x/server-dart/examples/users/get-mfa-recovery-codes.md index 95f5543a22..1e8baf2b9f 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/get-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-dart/examples/users/get-mfa-recovery-codes.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/get-prefs.md b/docs/examples/1.5.x/server-dart/examples/users/get-prefs.md index 54da404ad2..9fa4c8bd53 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/get-prefs.md +++ b/docs/examples/1.5.x/server-dart/examples/users/get-prefs.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/get-target.md b/docs/examples/1.5.x/server-dart/examples/users/get-target.md index 4f1f1b4b28..2a62d94e9b 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/get-target.md +++ b/docs/examples/1.5.x/server-dart/examples/users/get-target.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/get.md b/docs/examples/1.5.x/server-dart/examples/users/get.md index d57f9800d7..04dfcb6a9b 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/get.md +++ b/docs/examples/1.5.x/server-dart/examples/users/get.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/list-factors.md b/docs/examples/1.5.x/server-dart/examples/users/list-factors.md index 7071dce107..1744f4ac5a 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/list-factors.md +++ b/docs/examples/1.5.x/server-dart/examples/users/list-factors.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key diff --git a/docs/examples/1.5.x/server-dart/examples/users/list-identities.md b/docs/examples/1.5.x/server-dart/examples/users/list-identities.md index d811428aa5..aa20d3f601 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/list-identities.md +++ b/docs/examples/1.5.x/server-dart/examples/users/list-identities.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/list-logs.md b/docs/examples/1.5.x/server-dart/examples/users/list-logs.md index 539710acc9..18b34a10de 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/list-logs.md +++ b/docs/examples/1.5.x/server-dart/examples/users/list-logs.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/list-memberships.md b/docs/examples/1.5.x/server-dart/examples/users/list-memberships.md index bc1bf36bdb..495ab93819 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/list-memberships.md +++ b/docs/examples/1.5.x/server-dart/examples/users/list-memberships.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/list-mfa-factors.md b/docs/examples/1.5.x/server-dart/examples/users/list-mfa-factors.md index b70fcc5537..cca4df00d2 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/list-mfa-factors.md +++ b/docs/examples/1.5.x/server-dart/examples/users/list-mfa-factors.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/list-providers.md b/docs/examples/1.5.x/server-dart/examples/users/list-providers.md index e4c751a1c4..f3b45eabed 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/list-providers.md +++ b/docs/examples/1.5.x/server-dart/examples/users/list-providers.md @@ -5,7 +5,7 @@ void main() { // Init SDK Users users = Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.5.x/server-dart/examples/users/list-sessions.md b/docs/examples/1.5.x/server-dart/examples/users/list-sessions.md index 108fd279f2..4e1a47bc47 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/list-sessions.md +++ b/docs/examples/1.5.x/server-dart/examples/users/list-sessions.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/list-targets.md b/docs/examples/1.5.x/server-dart/examples/users/list-targets.md index a4831fef98..459d0cd438 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/list-targets.md +++ b/docs/examples/1.5.x/server-dart/examples/users/list-targets.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/list.md b/docs/examples/1.5.x/server-dart/examples/users/list.md index 6da9d811bd..b909d76ef0 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/list.md +++ b/docs/examples/1.5.x/server-dart/examples/users/list.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/update-email-verification.md b/docs/examples/1.5.x/server-dart/examples/users/update-email-verification.md index 8f373b9f7d..e350eb68f3 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/update-email-verification.md +++ b/docs/examples/1.5.x/server-dart/examples/users/update-email-verification.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/update-email.md b/docs/examples/1.5.x/server-dart/examples/users/update-email.md index 5391891cb9..af995fc520 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/update-email.md +++ b/docs/examples/1.5.x/server-dart/examples/users/update-email.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/update-labels.md b/docs/examples/1.5.x/server-dart/examples/users/update-labels.md index 115e0e8edd..5cd609d2d6 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/update-labels.md +++ b/docs/examples/1.5.x/server-dart/examples/users/update-labels.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/update-mfa-recovery-codes.md b/docs/examples/1.5.x/server-dart/examples/users/update-mfa-recovery-codes.md index 15f0f6b6ba..3fdfc7c55b 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/update-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-dart/examples/users/update-mfa-recovery-codes.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/update-mfa.md b/docs/examples/1.5.x/server-dart/examples/users/update-mfa.md index be50cb6fa0..e1efba91b4 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/update-mfa.md +++ b/docs/examples/1.5.x/server-dart/examples/users/update-mfa.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/update-name.md b/docs/examples/1.5.x/server-dart/examples/users/update-name.md index bd39acd1cb..2a742bcc51 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/update-name.md +++ b/docs/examples/1.5.x/server-dart/examples/users/update-name.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/update-password.md b/docs/examples/1.5.x/server-dart/examples/users/update-password.md index 532f4c6695..8650291bd1 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/update-password.md +++ b/docs/examples/1.5.x/server-dart/examples/users/update-password.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/update-phone-verification.md b/docs/examples/1.5.x/server-dart/examples/users/update-phone-verification.md index f77847435c..cb8efa4a70 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/update-phone-verification.md +++ b/docs/examples/1.5.x/server-dart/examples/users/update-phone-verification.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/update-phone.md b/docs/examples/1.5.x/server-dart/examples/users/update-phone.md index 684cd1dcaa..5334986f38 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/update-phone.md +++ b/docs/examples/1.5.x/server-dart/examples/users/update-phone.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/update-prefs.md b/docs/examples/1.5.x/server-dart/examples/users/update-prefs.md index 1ee538f810..2a1f0572a8 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/update-prefs.md +++ b/docs/examples/1.5.x/server-dart/examples/users/update-prefs.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/update-status.md b/docs/examples/1.5.x/server-dart/examples/users/update-status.md index 82b57cf1e7..2948e6e6c3 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/update-status.md +++ b/docs/examples/1.5.x/server-dart/examples/users/update-status.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-dart/examples/users/update-target.md b/docs/examples/1.5.x/server-dart/examples/users/update-target.md index 0713439363..c3e907175b 100644 --- a/docs/examples/1.5.x/server-dart/examples/users/update-target.md +++ b/docs/examples/1.5.x/server-dart/examples/users/update-target.md @@ -2,8 +2,8 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key Users users = Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/add-authenticator.md b/docs/examples/1.5.x/server-deno/examples/account/add-authenticator.md index 0bb56d4dad..d3925aeb1c 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/add-authenticator.md +++ b/docs/examples/1.5.x/server-deno/examples/account/add-authenticator.md @@ -1,7 +1,7 @@ import { Client, Account, AuthenticatorType } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-deno/examples/account/create-anonymous-session.md b/docs/examples/1.5.x/server-deno/examples/account/create-anonymous-session.md index d3dae32db0..f71baa9d5d 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/create-anonymous-session.md +++ b/docs/examples/1.5.x/server-deno/examples/account/create-anonymous-session.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/create-challenge.md b/docs/examples/1.5.x/server-deno/examples/account/create-challenge.md index 459232859a..8c592e639c 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/create-challenge.md +++ b/docs/examples/1.5.x/server-deno/examples/account/create-challenge.md @@ -1,7 +1,7 @@ import { Client, Account, AuthenticationFactor } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/create-email-password-session.md b/docs/examples/1.5.x/server-deno/examples/account/create-email-password-session.md index ee2d6985a7..ad62b8883e 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/create-email-password-session.md +++ b/docs/examples/1.5.x/server-deno/examples/account/create-email-password-session.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/create-email-token.md b/docs/examples/1.5.x/server-deno/examples/account/create-email-token.md index 3a555ff99a..2e33d2bc33 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/create-email-token.md +++ b/docs/examples/1.5.x/server-deno/examples/account/create-email-token.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/create-j-w-t.md b/docs/examples/1.5.x/server-deno/examples/account/create-j-w-t.md index 9b0707ee3a..15197d099a 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/create-j-w-t.md +++ b/docs/examples/1.5.x/server-deno/examples/account/create-j-w-t.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/create-magic-u-r-l-token.md b/docs/examples/1.5.x/server-deno/examples/account/create-magic-u-r-l-token.md index b8c2cf4e73..57697d4039 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.5.x/server-deno/examples/account/create-magic-u-r-l-token.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/create-mfa-authenticator.md b/docs/examples/1.5.x/server-deno/examples/account/create-mfa-authenticator.md index d8206d5564..be345dc159 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/create-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-deno/examples/account/create-mfa-authenticator.md @@ -2,7 +2,7 @@ import { Client, Account, AuthenticatorType } from "https://deno.land/x/appwrite const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/create-mfa-challenge.md b/docs/examples/1.5.x/server-deno/examples/account/create-mfa-challenge.md index 7edc2bf858..877c20392c 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.5.x/server-deno/examples/account/create-mfa-challenge.md @@ -2,7 +2,7 @@ import { Client, Account, AuthenticationFactor } from "https://deno.land/x/appwr const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/create-mfa-recovery-codes.md b/docs/examples/1.5.x/server-deno/examples/account/create-mfa-recovery-codes.md index 514da0e461..18ce21a076 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-deno/examples/account/create-mfa-recovery-codes.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/create-o-auth2session.md b/docs/examples/1.5.x/server-deno/examples/account/create-o-auth2session.md index b6a8ca8a2f..72442ca23c 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/create-o-auth2session.md +++ b/docs/examples/1.5.x/server-deno/examples/account/create-o-auth2session.md @@ -1,7 +1,7 @@ import { Client, Account, OAuthProvider } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/create-o-auth2token.md b/docs/examples/1.5.x/server-deno/examples/account/create-o-auth2token.md index e1ff3b861e..037da38d68 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/create-o-auth2token.md +++ b/docs/examples/1.5.x/server-deno/examples/account/create-o-auth2token.md @@ -2,7 +2,7 @@ import { Client, Account, OAuthProvider } from "https://deno.land/x/appwrite/mod const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/create-phone-token.md b/docs/examples/1.5.x/server-deno/examples/account/create-phone-token.md index 6dcdff94f7..800f0210a1 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/create-phone-token.md +++ b/docs/examples/1.5.x/server-deno/examples/account/create-phone-token.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/create-phone-verification.md b/docs/examples/1.5.x/server-deno/examples/account/create-phone-verification.md index fa42f5ad60..5a9c87b7f6 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/create-phone-verification.md +++ b/docs/examples/1.5.x/server-deno/examples/account/create-phone-verification.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/create-recovery.md b/docs/examples/1.5.x/server-deno/examples/account/create-recovery.md index bf33fad252..e32600111b 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/create-recovery.md +++ b/docs/examples/1.5.x/server-deno/examples/account/create-recovery.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/create-session.md b/docs/examples/1.5.x/server-deno/examples/account/create-session.md index 37825fe8b9..a34d3e37d9 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/create-session.md +++ b/docs/examples/1.5.x/server-deno/examples/account/create-session.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/create-verification.md b/docs/examples/1.5.x/server-deno/examples/account/create-verification.md index 2631b628b8..fd11e13b33 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/create-verification.md +++ b/docs/examples/1.5.x/server-deno/examples/account/create-verification.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/create.md b/docs/examples/1.5.x/server-deno/examples/account/create.md index 422be32403..9f1b16b7b9 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/create.md +++ b/docs/examples/1.5.x/server-deno/examples/account/create.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/create2f-a-challenge.md b/docs/examples/1.5.x/server-deno/examples/account/create2f-a-challenge.md index d08d1b6e2d..5e2342d7fe 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/create2f-a-challenge.md +++ b/docs/examples/1.5.x/server-deno/examples/account/create2f-a-challenge.md @@ -1,7 +1,7 @@ import { Client, Account, AuthenticationFactor } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/delete-authenticator.md b/docs/examples/1.5.x/server-deno/examples/account/delete-authenticator.md index 14681f8f6e..6598a8a774 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/delete-authenticator.md +++ b/docs/examples/1.5.x/server-deno/examples/account/delete-authenticator.md @@ -1,7 +1,7 @@ import { Client, Account, AuthenticatorType } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-deno/examples/account/delete-identity.md b/docs/examples/1.5.x/server-deno/examples/account/delete-identity.md index cf6908304e..30b1468891 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/delete-identity.md +++ b/docs/examples/1.5.x/server-deno/examples/account/delete-identity.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/delete-mfa-authenticator.md b/docs/examples/1.5.x/server-deno/examples/account/delete-mfa-authenticator.md index 217dde84cc..7247155e2b 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-deno/examples/account/delete-mfa-authenticator.md @@ -2,12 +2,11 @@ import { Client, Account, AuthenticatorType } from "https://deno.land/x/appwrite const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new Account(client); const response = await account.deleteMfaAuthenticator( - AuthenticatorType.Totp, // type - '<OTP>' // otp + AuthenticatorType.Totp // type ); diff --git a/docs/examples/1.5.x/server-deno/examples/account/delete-session.md b/docs/examples/1.5.x/server-deno/examples/account/delete-session.md index 44277946bf..5fd77c155a 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/delete-session.md +++ b/docs/examples/1.5.x/server-deno/examples/account/delete-session.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/delete-sessions.md b/docs/examples/1.5.x/server-deno/examples/account/delete-sessions.md index c698bab6e6..6d676cf8f8 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/delete-sessions.md +++ b/docs/examples/1.5.x/server-deno/examples/account/delete-sessions.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.5.x/server-deno/examples/account/get-mfa-recovery-codes.md index c664309c33..5861c1b561 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-deno/examples/account/get-mfa-recovery-codes.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/get-prefs.md b/docs/examples/1.5.x/server-deno/examples/account/get-prefs.md index dc990d8633..685aa63ca6 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/get-prefs.md +++ b/docs/examples/1.5.x/server-deno/examples/account/get-prefs.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/get-session.md b/docs/examples/1.5.x/server-deno/examples/account/get-session.md index cd49260a4d..91242d4565 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/get-session.md +++ b/docs/examples/1.5.x/server-deno/examples/account/get-session.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/get.md b/docs/examples/1.5.x/server-deno/examples/account/get.md index d630fb0979..59f91ca846 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/get.md +++ b/docs/examples/1.5.x/server-deno/examples/account/get.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/list-factors.md b/docs/examples/1.5.x/server-deno/examples/account/list-factors.md index c2877395a3..28c64e963c 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/list-factors.md +++ b/docs/examples/1.5.x/server-deno/examples/account/list-factors.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-deno/examples/account/list-identities.md b/docs/examples/1.5.x/server-deno/examples/account/list-identities.md index 8e5964c044..501042160d 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/list-identities.md +++ b/docs/examples/1.5.x/server-deno/examples/account/list-identities.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/list-logs.md b/docs/examples/1.5.x/server-deno/examples/account/list-logs.md index 5360f472d0..230c3f46a6 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/list-logs.md +++ b/docs/examples/1.5.x/server-deno/examples/account/list-logs.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/list-mfa-factors.md b/docs/examples/1.5.x/server-deno/examples/account/list-mfa-factors.md index d7cc93cf8e..bf9d6b40e4 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/list-mfa-factors.md +++ b/docs/examples/1.5.x/server-deno/examples/account/list-mfa-factors.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/list-sessions.md b/docs/examples/1.5.x/server-deno/examples/account/list-sessions.md index 0eb7ae88e4..927ccfc67c 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/list-sessions.md +++ b/docs/examples/1.5.x/server-deno/examples/account/list-sessions.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/update-challenge.md b/docs/examples/1.5.x/server-deno/examples/account/update-challenge.md index 36a736a071..0c5745abc3 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/update-challenge.md +++ b/docs/examples/1.5.x/server-deno/examples/account/update-challenge.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-deno/examples/account/update-email.md b/docs/examples/1.5.x/server-deno/examples/account/update-email.md index f68a0163f8..9136450824 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/update-email.md +++ b/docs/examples/1.5.x/server-deno/examples/account/update-email.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/update-m-f-a.md b/docs/examples/1.5.x/server-deno/examples/account/update-m-f-a.md index 4f629176fe..db315e5468 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/update-m-f-a.md +++ b/docs/examples/1.5.x/server-deno/examples/account/update-m-f-a.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.5.x/server-deno/examples/account/update-magic-u-r-l-session.md index 9cf1c6e2db..99243ec118 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.5.x/server-deno/examples/account/update-magic-u-r-l-session.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/update-mfa-authenticator.md b/docs/examples/1.5.x/server-deno/examples/account/update-mfa-authenticator.md index 08ecb162e6..5c437194fe 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/update-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-deno/examples/account/update-mfa-authenticator.md @@ -2,7 +2,7 @@ import { Client, Account, AuthenticatorType } from "https://deno.land/x/appwrite const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/update-mfa-challenge.md b/docs/examples/1.5.x/server-deno/examples/account/update-mfa-challenge.md index 4c75f1d78f..4e0638ea42 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.5.x/server-deno/examples/account/update-mfa-challenge.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/update-mfa-recovery-codes.md b/docs/examples/1.5.x/server-deno/examples/account/update-mfa-recovery-codes.md index 0825cc04bd..3d604f6efd 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-deno/examples/account/update-mfa-recovery-codes.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/update-name.md b/docs/examples/1.5.x/server-deno/examples/account/update-name.md index 4d4f26024d..7e0e0122d0 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/update-name.md +++ b/docs/examples/1.5.x/server-deno/examples/account/update-name.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/update-password.md b/docs/examples/1.5.x/server-deno/examples/account/update-password.md index ab178b332a..6d546291d8 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/update-password.md +++ b/docs/examples/1.5.x/server-deno/examples/account/update-password.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/update-phone-session.md b/docs/examples/1.5.x/server-deno/examples/account/update-phone-session.md index 9efe6b0abc..1d9104829e 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/update-phone-session.md +++ b/docs/examples/1.5.x/server-deno/examples/account/update-phone-session.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/update-phone-verification.md b/docs/examples/1.5.x/server-deno/examples/account/update-phone-verification.md index ee8b488867..9737de02ac 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/update-phone-verification.md +++ b/docs/examples/1.5.x/server-deno/examples/account/update-phone-verification.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/update-phone.md b/docs/examples/1.5.x/server-deno/examples/account/update-phone.md index b8d68474f6..8b1bc7c7f0 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/update-phone.md +++ b/docs/examples/1.5.x/server-deno/examples/account/update-phone.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/update-prefs.md b/docs/examples/1.5.x/server-deno/examples/account/update-prefs.md index 7a1fe04a6f..58582c6bca 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/update-prefs.md +++ b/docs/examples/1.5.x/server-deno/examples/account/update-prefs.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/update-recovery.md b/docs/examples/1.5.x/server-deno/examples/account/update-recovery.md index f8cf494c10..1b64a3beaf 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/update-recovery.md +++ b/docs/examples/1.5.x/server-deno/examples/account/update-recovery.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/update-session.md b/docs/examples/1.5.x/server-deno/examples/account/update-session.md index 199ef85690..93dd40fcc5 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/update-session.md +++ b/docs/examples/1.5.x/server-deno/examples/account/update-session.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/update-status.md b/docs/examples/1.5.x/server-deno/examples/account/update-status.md index 1430663193..60a3d51f0d 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/update-status.md +++ b/docs/examples/1.5.x/server-deno/examples/account/update-status.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/update-verification.md b/docs/examples/1.5.x/server-deno/examples/account/update-verification.md index 805b1c652d..208988894f 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/update-verification.md +++ b/docs/examples/1.5.x/server-deno/examples/account/update-verification.md @@ -2,7 +2,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new Account(client); diff --git a/docs/examples/1.5.x/server-deno/examples/account/verify-authenticator.md b/docs/examples/1.5.x/server-deno/examples/account/verify-authenticator.md index 214856be3d..6021b61cda 100644 --- a/docs/examples/1.5.x/server-deno/examples/account/verify-authenticator.md +++ b/docs/examples/1.5.x/server-deno/examples/account/verify-authenticator.md @@ -1,7 +1,7 @@ import { Client, Account, AuthenticatorType } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-deno/examples/avatars/get-browser.md b/docs/examples/1.5.x/server-deno/examples/avatars/get-browser.md index 3265c6c1d0..c8e7264434 100644 --- a/docs/examples/1.5.x/server-deno/examples/avatars/get-browser.md +++ b/docs/examples/1.5.x/server-deno/examples/avatars/get-browser.md @@ -2,7 +2,7 @@ import { Client, Avatars, Browser } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/server-deno/examples/avatars/get-credit-card.md b/docs/examples/1.5.x/server-deno/examples/avatars/get-credit-card.md index 10f3198288..8e1b3dba62 100644 --- a/docs/examples/1.5.x/server-deno/examples/avatars/get-credit-card.md +++ b/docs/examples/1.5.x/server-deno/examples/avatars/get-credit-card.md @@ -2,7 +2,7 @@ import { Client, Avatars, CreditCard } from "https://deno.land/x/appwrite/mod.ts const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/server-deno/examples/avatars/get-favicon.md b/docs/examples/1.5.x/server-deno/examples/avatars/get-favicon.md index a7981a69d3..5f50687f91 100644 --- a/docs/examples/1.5.x/server-deno/examples/avatars/get-favicon.md +++ b/docs/examples/1.5.x/server-deno/examples/avatars/get-favicon.md @@ -2,7 +2,7 @@ import { Client, Avatars } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/server-deno/examples/avatars/get-flag.md b/docs/examples/1.5.x/server-deno/examples/avatars/get-flag.md index 346119f64f..daa488e443 100644 --- a/docs/examples/1.5.x/server-deno/examples/avatars/get-flag.md +++ b/docs/examples/1.5.x/server-deno/examples/avatars/get-flag.md @@ -2,7 +2,7 @@ import { Client, Avatars, Flag } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/server-deno/examples/avatars/get-image.md b/docs/examples/1.5.x/server-deno/examples/avatars/get-image.md index e37c975e05..fc72b74cf7 100644 --- a/docs/examples/1.5.x/server-deno/examples/avatars/get-image.md +++ b/docs/examples/1.5.x/server-deno/examples/avatars/get-image.md @@ -2,7 +2,7 @@ import { Client, Avatars } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/server-deno/examples/avatars/get-initials.md b/docs/examples/1.5.x/server-deno/examples/avatars/get-initials.md index 988f879afb..d6d8dc8c7c 100644 --- a/docs/examples/1.5.x/server-deno/examples/avatars/get-initials.md +++ b/docs/examples/1.5.x/server-deno/examples/avatars/get-initials.md @@ -2,7 +2,7 @@ import { Client, Avatars } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/server-deno/examples/avatars/get-q-r.md b/docs/examples/1.5.x/server-deno/examples/avatars/get-q-r.md index 7a806f5889..bfa7833b50 100644 --- a/docs/examples/1.5.x/server-deno/examples/avatars/get-q-r.md +++ b/docs/examples/1.5.x/server-deno/examples/avatars/get-q-r.md @@ -2,7 +2,7 @@ import { Client, Avatars } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/create-boolean-attribute.md b/docs/examples/1.5.x/server-deno/examples/databases/create-boolean-attribute.md index 730adba675..232efa137f 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/create-boolean-attribute.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/create-collection.md b/docs/examples/1.5.x/server-deno/examples/databases/create-collection.md index 72f1100159..8ae3e6acdb 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/create-collection.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/create-collection.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/create-datetime-attribute.md b/docs/examples/1.5.x/server-deno/examples/databases/create-datetime-attribute.md index 62b4af40da..10017f2162 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/create-datetime-attribute.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/create-document.md b/docs/examples/1.5.x/server-deno/examples/databases/create-document.md index a8e69def28..f0f54b79ec 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/create-document.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/create-document.md @@ -2,7 +2,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/create-email-attribute.md b/docs/examples/1.5.x/server-deno/examples/databases/create-email-attribute.md index 24568a93e2..979c513724 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/create-email-attribute.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/create-email-attribute.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/create-enum-attribute.md b/docs/examples/1.5.x/server-deno/examples/databases/create-enum-attribute.md index 013ac96376..163a9e49bd 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/create-enum-attribute.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/create-float-attribute.md b/docs/examples/1.5.x/server-deno/examples/databases/create-float-attribute.md index 7cd652a243..3b0e419398 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/create-float-attribute.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/create-float-attribute.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/create-index.md b/docs/examples/1.5.x/server-deno/examples/databases/create-index.md index d8a8aba1e2..8b7d9c676f 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/create-index.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/create-index.md @@ -2,8 +2,8 @@ import { Client, Databases, IndexType } from "https://deno.land/x/appwrite/mod.t const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/create-integer-attribute.md b/docs/examples/1.5.x/server-deno/examples/databases/create-integer-attribute.md index e6a04bc424..1a2e394d51 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/create-integer-attribute.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/create-ip-attribute.md b/docs/examples/1.5.x/server-deno/examples/databases/create-ip-attribute.md index e44ddccb42..e0acc27016 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/create-ip-attribute.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/create-relationship-attribute.md b/docs/examples/1.5.x/server-deno/examples/databases/create-relationship-attribute.md index 9f751fa4ac..83b3e5833b 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/create-relationship-attribute.md @@ -2,8 +2,8 @@ import { Client, Databases, RelationshipType, RelationMutate } from "https://den const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/create-string-attribute.md b/docs/examples/1.5.x/server-deno/examples/databases/create-string-attribute.md index 37f202f1f7..d35b8a791f 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/create-string-attribute.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/create-string-attribute.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/create-url-attribute.md b/docs/examples/1.5.x/server-deno/examples/databases/create-url-attribute.md index 9b20d0bf34..9127e3acd0 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/create-url-attribute.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/create-url-attribute.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/create.md b/docs/examples/1.5.x/server-deno/examples/databases/create.md index d6bb161ab3..a4252aa7c8 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/create.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/create.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/delete-attribute.md b/docs/examples/1.5.x/server-deno/examples/databases/delete-attribute.md index 0de42f8a08..142ae5af13 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/delete-attribute.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/delete-attribute.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/delete-collection.md b/docs/examples/1.5.x/server-deno/examples/databases/delete-collection.md index 22ddaefd79..3d72fa038a 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/delete-collection.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/delete-collection.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/delete-document.md b/docs/examples/1.5.x/server-deno/examples/databases/delete-document.md index 1b11e26fad..ade8151b80 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/delete-document.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/delete-document.md @@ -2,7 +2,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/delete-index.md b/docs/examples/1.5.x/server-deno/examples/databases/delete-index.md index f48eb72214..5bca23adf5 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/delete-index.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/delete-index.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/delete.md b/docs/examples/1.5.x/server-deno/examples/databases/delete.md index 9a42e8f29e..c729b9791c 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/delete.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/delete.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/get-attribute.md b/docs/examples/1.5.x/server-deno/examples/databases/get-attribute.md index a2fe4e60fb..a8300ea2a0 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/get-attribute.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/get-attribute.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/get-collection.md b/docs/examples/1.5.x/server-deno/examples/databases/get-collection.md index 6c49c6dcc6..b5213943e6 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/get-collection.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/get-collection.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/get-document.md b/docs/examples/1.5.x/server-deno/examples/databases/get-document.md index dc37d41b6e..1e5669ac96 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/get-document.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/get-document.md @@ -2,7 +2,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/get-index.md b/docs/examples/1.5.x/server-deno/examples/databases/get-index.md index 2540e2f88a..bfd74021fa 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/get-index.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/get-index.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/get.md b/docs/examples/1.5.x/server-deno/examples/databases/get.md index ffaddd7ba8..386fbfedc6 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/get.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/get.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/list-attributes.md b/docs/examples/1.5.x/server-deno/examples/databases/list-attributes.md index 193752eabf..bedab6c9f6 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/list-attributes.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/list-attributes.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/list-collections.md b/docs/examples/1.5.x/server-deno/examples/databases/list-collections.md index d35f4db4b8..9b4f76c57a 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/list-collections.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/list-collections.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/list-documents.md b/docs/examples/1.5.x/server-deno/examples/databases/list-documents.md index a65d720c9d..0aa7b3f0b3 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/list-documents.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/list-documents.md @@ -2,7 +2,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/list-indexes.md b/docs/examples/1.5.x/server-deno/examples/databases/list-indexes.md index da01d7218b..58222cbb55 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/list-indexes.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/list-indexes.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/list.md b/docs/examples/1.5.x/server-deno/examples/databases/list.md index e312057d6d..8c8374e7ee 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/list.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/list.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/update-boolean-attribute.md b/docs/examples/1.5.x/server-deno/examples/databases/update-boolean-attribute.md index e0e74ded3e..dc107667aa 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/update-boolean-attribute.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); @@ -12,5 +12,6 @@ const response = await databases.updateBooleanAttribute( '<COLLECTION_ID>', // collectionId '', // key false, // required - false // default + false, // default + '' // newKey (optional) ); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/update-collection.md b/docs/examples/1.5.x/server-deno/examples/databases/update-collection.md index 3a26a93584..88a3493267 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/update-collection.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/update-collection.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/update-datetime-attribute.md b/docs/examples/1.5.x/server-deno/examples/databases/update-datetime-attribute.md index d75a2ed846..7de5a2c847 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/update-datetime-attribute.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); @@ -12,5 +12,6 @@ const response = await databases.updateDatetimeAttribute( '<COLLECTION_ID>', // collectionId '', // key false, // required - '' // default + '', // default + '' // newKey (optional) ); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/update-document.md b/docs/examples/1.5.x/server-deno/examples/databases/update-document.md index 66113df00f..fe9947e745 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/update-document.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/update-document.md @@ -2,7 +2,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/update-email-attribute.md b/docs/examples/1.5.x/server-deno/examples/databases/update-email-attribute.md index b238c66a02..41df182651 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/update-email-attribute.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/update-email-attribute.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); @@ -12,5 +12,6 @@ const response = await databases.updateEmailAttribute( '<COLLECTION_ID>', // collectionId '', // key false, // required - 'email@example.com' // default + 'email@example.com', // default + '' // newKey (optional) ); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/update-enum-attribute.md b/docs/examples/1.5.x/server-deno/examples/databases/update-enum-attribute.md index 885ab0ce09..6c0f9127b0 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/update-enum-attribute.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); @@ -13,5 +13,6 @@ const response = await databases.updateEnumAttribute( '', // key [], // elements false, // required - '<DEFAULT>' // default + '<DEFAULT>', // default + '' // newKey (optional) ); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/update-float-attribute.md b/docs/examples/1.5.x/server-deno/examples/databases/update-float-attribute.md index cb422a3ebc..9511a68be4 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/update-float-attribute.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/update-float-attribute.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); @@ -12,7 +12,8 @@ const response = await databases.updateFloatAttribute( '<COLLECTION_ID>', // collectionId '', // key false, // required - null, // min - null, // max - null // default + null, // default + null, // min (optional) + null, // max (optional) + '' // newKey (optional) ); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/update-integer-attribute.md b/docs/examples/1.5.x/server-deno/examples/databases/update-integer-attribute.md index 2c4fa43f03..92aed877b7 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/update-integer-attribute.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); @@ -12,7 +12,8 @@ const response = await databases.updateIntegerAttribute( '<COLLECTION_ID>', // collectionId '', // key false, // required - null, // min - null, // max - null // default + null, // default + null, // min (optional) + null, // max (optional) + '' // newKey (optional) ); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/update-ip-attribute.md b/docs/examples/1.5.x/server-deno/examples/databases/update-ip-attribute.md index 37ec1e9db3..9348cfa0b4 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/update-ip-attribute.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); @@ -12,5 +12,6 @@ const response = await databases.updateIpAttribute( '<COLLECTION_ID>', // collectionId '', // key false, // required - '' // default + '', // default + '' // newKey (optional) ); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/update-relationship-attribute.md b/docs/examples/1.5.x/server-deno/examples/databases/update-relationship-attribute.md index 63886f9e28..3d0bfdd916 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/update-relationship-attribute.md @@ -2,8 +2,8 @@ import { Client, Databases, RelationMutate } from "https://deno.land/x/appwrite/ const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); @@ -11,5 +11,6 @@ const response = await databases.updateRelationshipAttribute( '<DATABASE_ID>', // databaseId '<COLLECTION_ID>', // collectionId '', // key - RelationMutate.Cascade // onDelete (optional) + RelationMutate.Cascade, // onDelete (optional) + '' // newKey (optional) ); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/update-string-attribute.md b/docs/examples/1.5.x/server-deno/examples/databases/update-string-attribute.md index 33b106c1d6..d57f8fd663 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/update-string-attribute.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/update-string-attribute.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); @@ -12,5 +12,7 @@ const response = await databases.updateStringAttribute( '<COLLECTION_ID>', // collectionId '', // key false, // required - '<DEFAULT>' // default + '<DEFAULT>', // default + 1, // size (optional) + '' // newKey (optional) ); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/update-url-attribute.md b/docs/examples/1.5.x/server-deno/examples/databases/update-url-attribute.md index f06fcf9106..f1027d84b6 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/update-url-attribute.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/update-url-attribute.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); @@ -12,5 +12,6 @@ const response = await databases.updateUrlAttribute( '<COLLECTION_ID>', // collectionId '', // key false, // required - 'https://example.com' // default + 'https://example.com', // default + '' // newKey (optional) ); diff --git a/docs/examples/1.5.x/server-deno/examples/databases/update.md b/docs/examples/1.5.x/server-deno/examples/databases/update.md index ce4023247a..2e19221d1a 100644 --- a/docs/examples/1.5.x/server-deno/examples/databases/update.md +++ b/docs/examples/1.5.x/server-deno/examples/databases/update.md @@ -2,8 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-deno/examples/functions/create-build.md b/docs/examples/1.5.x/server-deno/examples/functions/create-build.md index 9a58bf2eab..c68fb256e0 100644 --- a/docs/examples/1.5.x/server-deno/examples/functions/create-build.md +++ b/docs/examples/1.5.x/server-deno/examples/functions/create-build.md @@ -2,13 +2,13 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new Functions(client); const response = await functions.createBuild( '<FUNCTION_ID>', // functionId '<DEPLOYMENT_ID>', // deploymentId - '<BUILD_ID>' // buildId + '<BUILD_ID>' // buildId (optional) ); diff --git a/docs/examples/1.5.x/server-deno/examples/functions/create-deployment.md b/docs/examples/1.5.x/server-deno/examples/functions/create-deployment.md index ec6ea91579..5b976e6539 100644 --- a/docs/examples/1.5.x/server-deno/examples/functions/create-deployment.md +++ b/docs/examples/1.5.x/server-deno/examples/functions/create-deployment.md @@ -2,8 +2,8 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-deno/examples/functions/create-execution.md b/docs/examples/1.5.x/server-deno/examples/functions/create-execution.md index 6edabb4caf..c794d72231 100644 --- a/docs/examples/1.5.x/server-deno/examples/functions/create-execution.md +++ b/docs/examples/1.5.x/server-deno/examples/functions/create-execution.md @@ -2,7 +2,7 @@ import { Client, Functions, ExecutionMethod } from "https://deno.land/x/appwrite const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const functions = new Functions(client); @@ -13,5 +13,6 @@ const response = await functions.createExecution( false, // async (optional) '<PATH>', // path (optional) ExecutionMethod.GET, // method (optional) - {} // headers (optional) + {}, // headers (optional) + '' // scheduledAt (optional) ); diff --git a/docs/examples/1.5.x/server-deno/examples/functions/create-variable.md b/docs/examples/1.5.x/server-deno/examples/functions/create-variable.md index 9f933ebcd3..472a798207 100644 --- a/docs/examples/1.5.x/server-deno/examples/functions/create-variable.md +++ b/docs/examples/1.5.x/server-deno/examples/functions/create-variable.md @@ -2,8 +2,8 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-deno/examples/functions/create.md b/docs/examples/1.5.x/server-deno/examples/functions/create.md index 14e26a7c2b..2bb31f7d0c 100644 --- a/docs/examples/1.5.x/server-deno/examples/functions/create.md +++ b/docs/examples/1.5.x/server-deno/examples/functions/create.md @@ -2,8 +2,8 @@ import { Client, Functions, } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new Functions(client); @@ -19,6 +19,7 @@ const response = await functions.create( false, // logging (optional) '<ENTRYPOINT>', // entrypoint (optional) '<COMMANDS>', // commands (optional) + [], // scopes (optional) '<INSTALLATION_ID>', // installationId (optional) '<PROVIDER_REPOSITORY_ID>', // providerRepositoryId (optional) '<PROVIDER_BRANCH>', // providerBranch (optional) @@ -27,5 +28,6 @@ const response = await functions.create( '<TEMPLATE_REPOSITORY>', // templateRepository (optional) '<TEMPLATE_OWNER>', // templateOwner (optional) '<TEMPLATE_ROOT_DIRECTORY>', // templateRootDirectory (optional) - '<TEMPLATE_BRANCH>' // templateBranch (optional) + '<TEMPLATE_VERSION>', // templateVersion (optional) + '' // specification (optional) ); diff --git a/docs/examples/1.5.x/server-deno/examples/functions/delete-deployment.md b/docs/examples/1.5.x/server-deno/examples/functions/delete-deployment.md index 229c084277..b640055473 100644 --- a/docs/examples/1.5.x/server-deno/examples/functions/delete-deployment.md +++ b/docs/examples/1.5.x/server-deno/examples/functions/delete-deployment.md @@ -2,8 +2,8 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-deno/examples/functions/delete-execution.md b/docs/examples/1.5.x/server-deno/examples/functions/delete-execution.md new file mode 100644 index 0000000000..1785a0ed9e --- /dev/null +++ b/docs/examples/1.5.x/server-deno/examples/functions/delete-execution.md @@ -0,0 +1,13 @@ +import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key + +const functions = new Functions(client); + +const response = await functions.deleteExecution( + '<FUNCTION_ID>', // functionId + '<EXECUTION_ID>' // executionId +); diff --git a/docs/examples/1.5.x/server-deno/examples/functions/delete-variable.md b/docs/examples/1.5.x/server-deno/examples/functions/delete-variable.md index 5694a5fb45..c4786ffe21 100644 --- a/docs/examples/1.5.x/server-deno/examples/functions/delete-variable.md +++ b/docs/examples/1.5.x/server-deno/examples/functions/delete-variable.md @@ -2,8 +2,8 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-deno/examples/functions/delete.md b/docs/examples/1.5.x/server-deno/examples/functions/delete.md index a56e5e23e3..7155610689 100644 --- a/docs/examples/1.5.x/server-deno/examples/functions/delete.md +++ b/docs/examples/1.5.x/server-deno/examples/functions/delete.md @@ -2,8 +2,8 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-deno/examples/functions/download-deployment.md b/docs/examples/1.5.x/server-deno/examples/functions/download-deployment.md index 5697c5e219..5af14f2708 100644 --- a/docs/examples/1.5.x/server-deno/examples/functions/download-deployment.md +++ b/docs/examples/1.5.x/server-deno/examples/functions/download-deployment.md @@ -1,7 +1,7 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key diff --git a/docs/examples/1.5.x/server-deno/examples/functions/get-deployment-download.md b/docs/examples/1.5.x/server-deno/examples/functions/get-deployment-download.md new file mode 100644 index 0000000000..c619208b50 --- /dev/null +++ b/docs/examples/1.5.x/server-deno/examples/functions/get-deployment-download.md @@ -0,0 +1,13 @@ +import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key + +const functions = new Functions(client); + +const result = functions.getDeploymentDownload( + '<FUNCTION_ID>', // functionId + '<DEPLOYMENT_ID>' // deploymentId +); diff --git a/docs/examples/1.5.x/server-deno/examples/functions/get-deployment.md b/docs/examples/1.5.x/server-deno/examples/functions/get-deployment.md index 30426da2dc..50e4cc50c0 100644 --- a/docs/examples/1.5.x/server-deno/examples/functions/get-deployment.md +++ b/docs/examples/1.5.x/server-deno/examples/functions/get-deployment.md @@ -2,8 +2,8 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-deno/examples/functions/get-execution.md b/docs/examples/1.5.x/server-deno/examples/functions/get-execution.md index 7007f79f4a..af68d74360 100644 --- a/docs/examples/1.5.x/server-deno/examples/functions/get-execution.md +++ b/docs/examples/1.5.x/server-deno/examples/functions/get-execution.md @@ -2,7 +2,7 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-deno/examples/functions/get-variable.md b/docs/examples/1.5.x/server-deno/examples/functions/get-variable.md index ba335cb50d..2352321bff 100644 --- a/docs/examples/1.5.x/server-deno/examples/functions/get-variable.md +++ b/docs/examples/1.5.x/server-deno/examples/functions/get-variable.md @@ -2,8 +2,8 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-deno/examples/functions/get.md b/docs/examples/1.5.x/server-deno/examples/functions/get.md index 1f76c2af33..f90767de19 100644 --- a/docs/examples/1.5.x/server-deno/examples/functions/get.md +++ b/docs/examples/1.5.x/server-deno/examples/functions/get.md @@ -2,8 +2,8 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-deno/examples/functions/list-deployments.md b/docs/examples/1.5.x/server-deno/examples/functions/list-deployments.md index ec89f55cb7..2f4c345de2 100644 --- a/docs/examples/1.5.x/server-deno/examples/functions/list-deployments.md +++ b/docs/examples/1.5.x/server-deno/examples/functions/list-deployments.md @@ -2,8 +2,8 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-deno/examples/functions/list-executions.md b/docs/examples/1.5.x/server-deno/examples/functions/list-executions.md index 1d497a258b..b8ce31703e 100644 --- a/docs/examples/1.5.x/server-deno/examples/functions/list-executions.md +++ b/docs/examples/1.5.x/server-deno/examples/functions/list-executions.md @@ -2,7 +2,7 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-deno/examples/functions/list-runtimes.md b/docs/examples/1.5.x/server-deno/examples/functions/list-runtimes.md index 67a3e9ac89..f78dfd03e7 100644 --- a/docs/examples/1.5.x/server-deno/examples/functions/list-runtimes.md +++ b/docs/examples/1.5.x/server-deno/examples/functions/list-runtimes.md @@ -2,8 +2,8 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-deno/examples/functions/list-specifications.md b/docs/examples/1.5.x/server-deno/examples/functions/list-specifications.md new file mode 100644 index 0000000000..5dff4354ee --- /dev/null +++ b/docs/examples/1.5.x/server-deno/examples/functions/list-specifications.md @@ -0,0 +1,10 @@ +import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key + +const functions = new Functions(client); + +const response = await functions.listSpecifications(); diff --git a/docs/examples/1.5.x/server-deno/examples/functions/list-variables.md b/docs/examples/1.5.x/server-deno/examples/functions/list-variables.md index edcb4d4888..991292aac1 100644 --- a/docs/examples/1.5.x/server-deno/examples/functions/list-variables.md +++ b/docs/examples/1.5.x/server-deno/examples/functions/list-variables.md @@ -2,8 +2,8 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-deno/examples/functions/list.md b/docs/examples/1.5.x/server-deno/examples/functions/list.md index 7cbcb0b1f7..6d1e09ba52 100644 --- a/docs/examples/1.5.x/server-deno/examples/functions/list.md +++ b/docs/examples/1.5.x/server-deno/examples/functions/list.md @@ -2,8 +2,8 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-deno/examples/functions/update-deployment-build.md b/docs/examples/1.5.x/server-deno/examples/functions/update-deployment-build.md new file mode 100644 index 0000000000..65ea3a97e6 --- /dev/null +++ b/docs/examples/1.5.x/server-deno/examples/functions/update-deployment-build.md @@ -0,0 +1,13 @@ +import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key + +const functions = new Functions(client); + +const response = await functions.updateDeploymentBuild( + '<FUNCTION_ID>', // functionId + '<DEPLOYMENT_ID>' // deploymentId +); diff --git a/docs/examples/1.5.x/server-deno/examples/functions/update-deployment.md b/docs/examples/1.5.x/server-deno/examples/functions/update-deployment.md index 95fd45046c..87af2f34bf 100644 --- a/docs/examples/1.5.x/server-deno/examples/functions/update-deployment.md +++ b/docs/examples/1.5.x/server-deno/examples/functions/update-deployment.md @@ -2,8 +2,8 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-deno/examples/functions/update-variable.md b/docs/examples/1.5.x/server-deno/examples/functions/update-variable.md index 4f4d6a5836..5213a92ee8 100644 --- a/docs/examples/1.5.x/server-deno/examples/functions/update-variable.md +++ b/docs/examples/1.5.x/server-deno/examples/functions/update-variable.md @@ -2,8 +2,8 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-deno/examples/functions/update.md b/docs/examples/1.5.x/server-deno/examples/functions/update.md index 1e6f385e2b..ab275257db 100644 --- a/docs/examples/1.5.x/server-deno/examples/functions/update.md +++ b/docs/examples/1.5.x/server-deno/examples/functions/update.md @@ -2,8 +2,8 @@ import { Client, Functions, } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new Functions(client); @@ -19,9 +19,11 @@ const response = await functions.update( false, // logging (optional) '<ENTRYPOINT>', // entrypoint (optional) '<COMMANDS>', // commands (optional) + [], // scopes (optional) '<INSTALLATION_ID>', // installationId (optional) '<PROVIDER_REPOSITORY_ID>', // providerRepositoryId (optional) '<PROVIDER_BRANCH>', // providerBranch (optional) false, // providerSilentMode (optional) - '<PROVIDER_ROOT_DIRECTORY>' // providerRootDirectory (optional) + '<PROVIDER_ROOT_DIRECTORY>', // providerRootDirectory (optional) + '' // specification (optional) ); diff --git a/docs/examples/1.5.x/server-deno/examples/graphql/mutation.md b/docs/examples/1.5.x/server-deno/examples/graphql/mutation.md index a0ff9dd866..68c06aa4e4 100644 --- a/docs/examples/1.5.x/server-deno/examples/graphql/mutation.md +++ b/docs/examples/1.5.x/server-deno/examples/graphql/mutation.md @@ -2,8 +2,8 @@ import { Client, Graphql } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const graphql = new Graphql(client); diff --git a/docs/examples/1.5.x/server-deno/examples/graphql/query.md b/docs/examples/1.5.x/server-deno/examples/graphql/query.md index ecec1c4c0c..480c481f9c 100644 --- a/docs/examples/1.5.x/server-deno/examples/graphql/query.md +++ b/docs/examples/1.5.x/server-deno/examples/graphql/query.md @@ -2,8 +2,8 @@ import { Client, Graphql } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const graphql = new Graphql(client); diff --git a/docs/examples/1.5.x/server-deno/examples/health/get-antivirus.md b/docs/examples/1.5.x/server-deno/examples/health/get-antivirus.md index 81142669b6..ccf2968dd8 100644 --- a/docs/examples/1.5.x/server-deno/examples/health/get-antivirus.md +++ b/docs/examples/1.5.x/server-deno/examples/health/get-antivirus.md @@ -2,8 +2,8 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new Health(client); diff --git a/docs/examples/1.5.x/server-deno/examples/health/get-cache.md b/docs/examples/1.5.x/server-deno/examples/health/get-cache.md index 45d4464f3b..2811f017a7 100644 --- a/docs/examples/1.5.x/server-deno/examples/health/get-cache.md +++ b/docs/examples/1.5.x/server-deno/examples/health/get-cache.md @@ -2,8 +2,8 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new Health(client); diff --git a/docs/examples/1.5.x/server-deno/examples/health/get-certificate.md b/docs/examples/1.5.x/server-deno/examples/health/get-certificate.md index dc456022c3..5bde913750 100644 --- a/docs/examples/1.5.x/server-deno/examples/health/get-certificate.md +++ b/docs/examples/1.5.x/server-deno/examples/health/get-certificate.md @@ -2,8 +2,8 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new Health(client); diff --git a/docs/examples/1.5.x/server-deno/examples/health/get-d-b.md b/docs/examples/1.5.x/server-deno/examples/health/get-d-b.md index 36f5a67ef1..598c163b44 100644 --- a/docs/examples/1.5.x/server-deno/examples/health/get-d-b.md +++ b/docs/examples/1.5.x/server-deno/examples/health/get-d-b.md @@ -2,8 +2,8 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new Health(client); diff --git a/docs/examples/1.5.x/server-deno/examples/health/get-failed-jobs.md b/docs/examples/1.5.x/server-deno/examples/health/get-failed-jobs.md index 0057bbb985..dd44711e5e 100644 --- a/docs/examples/1.5.x/server-deno/examples/health/get-failed-jobs.md +++ b/docs/examples/1.5.x/server-deno/examples/health/get-failed-jobs.md @@ -2,8 +2,8 @@ import { Client, Health, } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new Health(client); diff --git a/docs/examples/1.5.x/server-deno/examples/health/get-pub-sub.md b/docs/examples/1.5.x/server-deno/examples/health/get-pub-sub.md index afa519e061..9ecda7d32a 100644 --- a/docs/examples/1.5.x/server-deno/examples/health/get-pub-sub.md +++ b/docs/examples/1.5.x/server-deno/examples/health/get-pub-sub.md @@ -2,8 +2,8 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new Health(client); diff --git a/docs/examples/1.5.x/server-deno/examples/health/get-queue-builds.md b/docs/examples/1.5.x/server-deno/examples/health/get-queue-builds.md index 6d1c88ef7f..3b05fe66c3 100644 --- a/docs/examples/1.5.x/server-deno/examples/health/get-queue-builds.md +++ b/docs/examples/1.5.x/server-deno/examples/health/get-queue-builds.md @@ -2,8 +2,8 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new Health(client); diff --git a/docs/examples/1.5.x/server-deno/examples/health/get-queue-certificates.md b/docs/examples/1.5.x/server-deno/examples/health/get-queue-certificates.md index d7c0a2406f..73139a0806 100644 --- a/docs/examples/1.5.x/server-deno/examples/health/get-queue-certificates.md +++ b/docs/examples/1.5.x/server-deno/examples/health/get-queue-certificates.md @@ -2,8 +2,8 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new Health(client); diff --git a/docs/examples/1.5.x/server-deno/examples/health/get-queue-databases.md b/docs/examples/1.5.x/server-deno/examples/health/get-queue-databases.md index fb98bbaa46..9130cb8c34 100644 --- a/docs/examples/1.5.x/server-deno/examples/health/get-queue-databases.md +++ b/docs/examples/1.5.x/server-deno/examples/health/get-queue-databases.md @@ -2,8 +2,8 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new Health(client); diff --git a/docs/examples/1.5.x/server-deno/examples/health/get-queue-deletes.md b/docs/examples/1.5.x/server-deno/examples/health/get-queue-deletes.md index 9e2a530b77..967e27d4a7 100644 --- a/docs/examples/1.5.x/server-deno/examples/health/get-queue-deletes.md +++ b/docs/examples/1.5.x/server-deno/examples/health/get-queue-deletes.md @@ -2,8 +2,8 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new Health(client); diff --git a/docs/examples/1.5.x/server-deno/examples/health/get-queue-functions.md b/docs/examples/1.5.x/server-deno/examples/health/get-queue-functions.md index 811efb334c..a621d140a1 100644 --- a/docs/examples/1.5.x/server-deno/examples/health/get-queue-functions.md +++ b/docs/examples/1.5.x/server-deno/examples/health/get-queue-functions.md @@ -2,8 +2,8 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new Health(client); diff --git a/docs/examples/1.5.x/server-deno/examples/health/get-queue-logs.md b/docs/examples/1.5.x/server-deno/examples/health/get-queue-logs.md index 17f6208735..7443b04fc4 100644 --- a/docs/examples/1.5.x/server-deno/examples/health/get-queue-logs.md +++ b/docs/examples/1.5.x/server-deno/examples/health/get-queue-logs.md @@ -2,8 +2,8 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new Health(client); diff --git a/docs/examples/1.5.x/server-deno/examples/health/get-queue-mails.md b/docs/examples/1.5.x/server-deno/examples/health/get-queue-mails.md index 26b58fb485..f794deb8ad 100644 --- a/docs/examples/1.5.x/server-deno/examples/health/get-queue-mails.md +++ b/docs/examples/1.5.x/server-deno/examples/health/get-queue-mails.md @@ -2,8 +2,8 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new Health(client); diff --git a/docs/examples/1.5.x/server-deno/examples/health/get-queue-messaging.md b/docs/examples/1.5.x/server-deno/examples/health/get-queue-messaging.md index 0198dce3da..f04652e597 100644 --- a/docs/examples/1.5.x/server-deno/examples/health/get-queue-messaging.md +++ b/docs/examples/1.5.x/server-deno/examples/health/get-queue-messaging.md @@ -2,8 +2,8 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new Health(client); diff --git a/docs/examples/1.5.x/server-deno/examples/health/get-queue-migrations.md b/docs/examples/1.5.x/server-deno/examples/health/get-queue-migrations.md index 5dfa6ea416..5b3ba57351 100644 --- a/docs/examples/1.5.x/server-deno/examples/health/get-queue-migrations.md +++ b/docs/examples/1.5.x/server-deno/examples/health/get-queue-migrations.md @@ -2,8 +2,8 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new Health(client); diff --git a/docs/examples/1.5.x/server-deno/examples/health/get-queue-stats-resources.md b/docs/examples/1.5.x/server-deno/examples/health/get-queue-stats-resources.md new file mode 100644 index 0000000000..03f48beb65 --- /dev/null +++ b/docs/examples/1.5.x/server-deno/examples/health/get-queue-stats-resources.md @@ -0,0 +1,12 @@ +import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key + +const health = new Health(client); + +const response = await health.getQueueStatsResources( + null // threshold (optional) +); diff --git a/docs/examples/1.5.x/server-deno/examples/health/get-queue-usage-dump.md b/docs/examples/1.5.x/server-deno/examples/health/get-queue-usage-dump.md index ccc5c1eb7c..3e650b63fb 100644 --- a/docs/examples/1.5.x/server-deno/examples/health/get-queue-usage-dump.md +++ b/docs/examples/1.5.x/server-deno/examples/health/get-queue-usage-dump.md @@ -1,7 +1,7 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key diff --git a/docs/examples/1.5.x/server-deno/examples/health/get-queue-usage.md b/docs/examples/1.5.x/server-deno/examples/health/get-queue-usage.md index 7c83e59333..54dc92f7fd 100644 --- a/docs/examples/1.5.x/server-deno/examples/health/get-queue-usage.md +++ b/docs/examples/1.5.x/server-deno/examples/health/get-queue-usage.md @@ -2,8 +2,8 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new Health(client); diff --git a/docs/examples/1.5.x/server-deno/examples/health/get-queue-webhooks.md b/docs/examples/1.5.x/server-deno/examples/health/get-queue-webhooks.md index 600d477bf1..b1c8b54665 100644 --- a/docs/examples/1.5.x/server-deno/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.5.x/server-deno/examples/health/get-queue-webhooks.md @@ -2,8 +2,8 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new Health(client); diff --git a/docs/examples/1.5.x/server-deno/examples/health/get-queue.md b/docs/examples/1.5.x/server-deno/examples/health/get-queue.md index 013c93ebda..2349c8f007 100644 --- a/docs/examples/1.5.x/server-deno/examples/health/get-queue.md +++ b/docs/examples/1.5.x/server-deno/examples/health/get-queue.md @@ -1,7 +1,7 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key diff --git a/docs/examples/1.5.x/server-deno/examples/health/get-storage-local.md b/docs/examples/1.5.x/server-deno/examples/health/get-storage-local.md index dd71131929..afffff6e1d 100644 --- a/docs/examples/1.5.x/server-deno/examples/health/get-storage-local.md +++ b/docs/examples/1.5.x/server-deno/examples/health/get-storage-local.md @@ -2,8 +2,8 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new Health(client); diff --git a/docs/examples/1.5.x/server-deno/examples/health/get-storage.md b/docs/examples/1.5.x/server-deno/examples/health/get-storage.md index ee7d34cb83..c7fe4358c9 100644 --- a/docs/examples/1.5.x/server-deno/examples/health/get-storage.md +++ b/docs/examples/1.5.x/server-deno/examples/health/get-storage.md @@ -2,8 +2,8 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new Health(client); diff --git a/docs/examples/1.5.x/server-deno/examples/health/get-time.md b/docs/examples/1.5.x/server-deno/examples/health/get-time.md index 4d26bdab6d..658ce30624 100644 --- a/docs/examples/1.5.x/server-deno/examples/health/get-time.md +++ b/docs/examples/1.5.x/server-deno/examples/health/get-time.md @@ -2,8 +2,8 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new Health(client); diff --git a/docs/examples/1.5.x/server-deno/examples/health/get.md b/docs/examples/1.5.x/server-deno/examples/health/get.md index d3e4b20ec1..4483f9595e 100644 --- a/docs/examples/1.5.x/server-deno/examples/health/get.md +++ b/docs/examples/1.5.x/server-deno/examples/health/get.md @@ -2,8 +2,8 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new Health(client); diff --git a/docs/examples/1.5.x/server-deno/examples/locale/get.md b/docs/examples/1.5.x/server-deno/examples/locale/get.md index f931ae4855..5d52acb386 100644 --- a/docs/examples/1.5.x/server-deno/examples/locale/get.md +++ b/docs/examples/1.5.x/server-deno/examples/locale/get.md @@ -2,7 +2,7 @@ import { Client, Locale } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const locale = new Locale(client); diff --git a/docs/examples/1.5.x/server-deno/examples/locale/list-codes.md b/docs/examples/1.5.x/server-deno/examples/locale/list-codes.md index 93dedef277..bed3b4cd81 100644 --- a/docs/examples/1.5.x/server-deno/examples/locale/list-codes.md +++ b/docs/examples/1.5.x/server-deno/examples/locale/list-codes.md @@ -2,7 +2,7 @@ import { Client, Locale } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const locale = new Locale(client); diff --git a/docs/examples/1.5.x/server-deno/examples/locale/list-continents.md b/docs/examples/1.5.x/server-deno/examples/locale/list-continents.md index 985b654171..61b53851cd 100644 --- a/docs/examples/1.5.x/server-deno/examples/locale/list-continents.md +++ b/docs/examples/1.5.x/server-deno/examples/locale/list-continents.md @@ -2,7 +2,7 @@ import { Client, Locale } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const locale = new Locale(client); diff --git a/docs/examples/1.5.x/server-deno/examples/locale/list-countries-e-u.md b/docs/examples/1.5.x/server-deno/examples/locale/list-countries-e-u.md index 311ef653d7..231c2f7f8b 100644 --- a/docs/examples/1.5.x/server-deno/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.5.x/server-deno/examples/locale/list-countries-e-u.md @@ -2,7 +2,7 @@ import { Client, Locale } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const locale = new Locale(client); diff --git a/docs/examples/1.5.x/server-deno/examples/locale/list-countries-phones.md b/docs/examples/1.5.x/server-deno/examples/locale/list-countries-phones.md index c732edaa6c..34be4cb8da 100644 --- a/docs/examples/1.5.x/server-deno/examples/locale/list-countries-phones.md +++ b/docs/examples/1.5.x/server-deno/examples/locale/list-countries-phones.md @@ -2,7 +2,7 @@ import { Client, Locale } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const locale = new Locale(client); diff --git a/docs/examples/1.5.x/server-deno/examples/locale/list-countries.md b/docs/examples/1.5.x/server-deno/examples/locale/list-countries.md index 73b530cbf0..dfa085b0a1 100644 --- a/docs/examples/1.5.x/server-deno/examples/locale/list-countries.md +++ b/docs/examples/1.5.x/server-deno/examples/locale/list-countries.md @@ -2,7 +2,7 @@ import { Client, Locale } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const locale = new Locale(client); diff --git a/docs/examples/1.5.x/server-deno/examples/locale/list-currencies.md b/docs/examples/1.5.x/server-deno/examples/locale/list-currencies.md index 942622c696..0c80928689 100644 --- a/docs/examples/1.5.x/server-deno/examples/locale/list-currencies.md +++ b/docs/examples/1.5.x/server-deno/examples/locale/list-currencies.md @@ -2,7 +2,7 @@ import { Client, Locale } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const locale = new Locale(client); diff --git a/docs/examples/1.5.x/server-deno/examples/locale/list-languages.md b/docs/examples/1.5.x/server-deno/examples/locale/list-languages.md index e96ccc27cc..8625649350 100644 --- a/docs/examples/1.5.x/server-deno/examples/locale/list-languages.md +++ b/docs/examples/1.5.x/server-deno/examples/locale/list-languages.md @@ -2,7 +2,7 @@ import { Client, Locale } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const locale = new Locale(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/create-a-p-n-s-provider.md b/docs/examples/1.5.x/server-deno/examples/messaging/create-a-p-n-s-provider.md index c0b8962384..e0c8f57e3e 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/create-a-p-n-s-provider.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/create-a-p-n-s-provider.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let messaging = new sdk.Messaging(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/create-apns-provider.md b/docs/examples/1.5.x/server-deno/examples/messaging/create-apns-provider.md index 8a1c6b57cd..8b89092564 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/create-apns-provider.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/create-apns-provider.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/create-email.md b/docs/examples/1.5.x/server-deno/examples/messaging/create-email.md index 28609fb904..552e9e3ed4 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/create-email.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/create-email.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/create-f-c-m-provider.md b/docs/examples/1.5.x/server-deno/examples/messaging/create-f-c-m-provider.md index 1bec150514..b152b3b13d 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/create-f-c-m-provider.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/create-f-c-m-provider.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let messaging = new sdk.Messaging(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/create-fcm-provider.md b/docs/examples/1.5.x/server-deno/examples/messaging/create-fcm-provider.md index e3b773f700..bd9f0756c8 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/create-fcm-provider.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/create-fcm-provider.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/create-mailgun-provider.md b/docs/examples/1.5.x/server-deno/examples/messaging/create-mailgun-provider.md index 0ede7b6ec7..3192bb2567 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/create-mailgun-provider.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/create-mailgun-provider.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/create-msg91provider.md b/docs/examples/1.5.x/server-deno/examples/messaging/create-msg91provider.md index 86dbbf4533..bd6b0304ad 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/create-msg91provider.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/create-msg91provider.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/create-push.md b/docs/examples/1.5.x/server-deno/examples/messaging/create-push.md index 28fe84dcdd..7b41911918 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/create-push.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/create-push.md @@ -1,16 +1,16 @@ -import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, Messaging, MessagePriority } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); const response = await messaging.createPush( '<MESSAGE_ID>', // messageId - '<TITLE>', // title - '<BODY>', // body + '<TITLE>', // title (optional) + '<BODY>', // body (optional) [], // topics (optional) [], // users (optional) [], // targets (optional) @@ -21,7 +21,10 @@ const response = await messaging.createPush( '<SOUND>', // sound (optional) '<COLOR>', // color (optional) '<TAG>', // tag (optional) - '<BADGE>', // badge (optional) + null, // badge (optional) false, // draft (optional) - '' // scheduledAt (optional) + '', // scheduledAt (optional) + false, // contentAvailable (optional) + false, // critical (optional) + MessagePriority.Normal // priority (optional) ); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/create-s-m-s.md b/docs/examples/1.5.x/server-deno/examples/messaging/create-s-m-s.md index a49c4d7548..d6c031caa6 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/create-s-m-s.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/create-s-m-s.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let messaging = new sdk.Messaging(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/create-s-m-t-p-provider.md b/docs/examples/1.5.x/server-deno/examples/messaging/create-s-m-t-p-provider.md index a48fc40d90..4b0f64d820 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/create-s-m-t-p-provider.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/create-s-m-t-p-provider.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let messaging = new sdk.Messaging(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/create-sendgrid-provider.md b/docs/examples/1.5.x/server-deno/examples/messaging/create-sendgrid-provider.md index fe0a791822..c6d4e2a8ee 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/create-sendgrid-provider.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/create-sendgrid-provider.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/create-sms.md b/docs/examples/1.5.x/server-deno/examples/messaging/create-sms.md index 13fb9f5bfc..c316ea5ac1 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/create-sms.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/create-sms.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/create-smtp-provider.md b/docs/examples/1.5.x/server-deno/examples/messaging/create-smtp-provider.md index 613045f18c..c1fb9ece50 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/create-smtp-provider.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/create-smtp-provider.md @@ -2,8 +2,8 @@ import { Client, Messaging, SmtpEncryption } from "https://deno.land/x/appwrite/ const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/create-subscriber.md b/docs/examples/1.5.x/server-deno/examples/messaging/create-subscriber.md index daa6ce230a..26d7a97175 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/create-subscriber.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/create-subscriber.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...'); // Your secret JSON Web Token + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setJWT('<YOUR_JWT>'); // Your secret JSON Web Token const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/create-telesign-provider.md b/docs/examples/1.5.x/server-deno/examples/messaging/create-telesign-provider.md index f3da859c2b..391483a8af 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/create-telesign-provider.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/create-telesign-provider.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/create-textmagic-provider.md b/docs/examples/1.5.x/server-deno/examples/messaging/create-textmagic-provider.md index eca653d867..934372f82f 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/create-textmagic-provider.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/create-textmagic-provider.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/create-topic.md b/docs/examples/1.5.x/server-deno/examples/messaging/create-topic.md index 0f01817886..75d1103e5e 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/create-topic.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/create-topic.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/create-twilio-provider.md b/docs/examples/1.5.x/server-deno/examples/messaging/create-twilio-provider.md index b72935429a..ee17992c71 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/create-twilio-provider.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/create-twilio-provider.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/create-vonage-provider.md b/docs/examples/1.5.x/server-deno/examples/messaging/create-vonage-provider.md index 6236cb6df9..3e8dd36ec7 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/create-vonage-provider.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/create-vonage-provider.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/delete-provider.md b/docs/examples/1.5.x/server-deno/examples/messaging/delete-provider.md index 26408a48fd..8ade1615f3 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/delete-provider.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/delete-provider.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/delete-subscriber.md b/docs/examples/1.5.x/server-deno/examples/messaging/delete-subscriber.md index 5f789a4b18..1df3175460 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/delete-subscriber.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/delete-subscriber.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...'); // Your secret JSON Web Token + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setJWT('<YOUR_JWT>'); // Your secret JSON Web Token const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/delete-topic.md b/docs/examples/1.5.x/server-deno/examples/messaging/delete-topic.md index ec26f943e8..fb50be8d5e 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/delete-topic.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/delete-topic.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/delete.md b/docs/examples/1.5.x/server-deno/examples/messaging/delete.md index d324540315..edd3456597 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/delete.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/delete.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/get-message.md b/docs/examples/1.5.x/server-deno/examples/messaging/get-message.md index f6030180d8..42d46131aa 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/get-message.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/get-message.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/get-provider.md b/docs/examples/1.5.x/server-deno/examples/messaging/get-provider.md index ad1d7abd75..fe44476934 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/get-provider.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/get-provider.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/get-subscriber.md b/docs/examples/1.5.x/server-deno/examples/messaging/get-subscriber.md index 518bf48f81..abfc167056 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/get-subscriber.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/get-subscriber.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/get-topic.md b/docs/examples/1.5.x/server-deno/examples/messaging/get-topic.md index 2079f36730..0e10488116 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/get-topic.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/get-topic.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/list-message-logs.md b/docs/examples/1.5.x/server-deno/examples/messaging/list-message-logs.md index ca72b3a513..b9424fa7cc 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/list-message-logs.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/list-message-logs.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/list-messages.md b/docs/examples/1.5.x/server-deno/examples/messaging/list-messages.md index 27d2fb9b4e..159d61b585 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/list-messages.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/list-messages.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/list-provider-logs.md b/docs/examples/1.5.x/server-deno/examples/messaging/list-provider-logs.md index f29af3a82a..af33244a7d 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/list-provider-logs.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/list-provider-logs.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/list-providers.md b/docs/examples/1.5.x/server-deno/examples/messaging/list-providers.md index 1a6ae91db9..8aa51c4474 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/list-providers.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/list-providers.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/list-subscriber-logs.md b/docs/examples/1.5.x/server-deno/examples/messaging/list-subscriber-logs.md index b1c096baa2..036b69af0a 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/list-subscriber-logs.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/list-subscriber-logs.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/list-subscribers.md b/docs/examples/1.5.x/server-deno/examples/messaging/list-subscribers.md index 622f68c23f..bc820a4283 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/list-subscribers.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/list-subscribers.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/list-targets.md b/docs/examples/1.5.x/server-deno/examples/messaging/list-targets.md index 9399c490e5..f2e7d47058 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/list-targets.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/list-targets.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/list-topic-logs.md b/docs/examples/1.5.x/server-deno/examples/messaging/list-topic-logs.md index cb5c46d234..bb57ea99ea 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/list-topic-logs.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/list-topic-logs.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/list-topics.md b/docs/examples/1.5.x/server-deno/examples/messaging/list-topics.md index 1992fd76f1..4933b229fe 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/list-topics.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/list-topics.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/update-a-p-n-s-provider.md b/docs/examples/1.5.x/server-deno/examples/messaging/update-a-p-n-s-provider.md index 483fafdfbf..c510a1b2da 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/update-a-p-n-s-provider.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/update-a-p-n-s-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/update-apns-provider.md b/docs/examples/1.5.x/server-deno/examples/messaging/update-apns-provider.md index 0db3da40ba..1786ad44ba 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/update-apns-provider.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/update-apns-provider.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/update-email.md b/docs/examples/1.5.x/server-deno/examples/messaging/update-email.md index a54d7f40d7..534bc3f2f3 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/update-email.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/update-email.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/update-f-c-m-provider.md b/docs/examples/1.5.x/server-deno/examples/messaging/update-f-c-m-provider.md index 1379d6e8b5..e4c3360968 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/update-f-c-m-provider.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/update-f-c-m-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/update-fcm-provider.md b/docs/examples/1.5.x/server-deno/examples/messaging/update-fcm-provider.md index 15cb41fbc3..f9d1533d5f 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/update-fcm-provider.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/update-fcm-provider.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/update-mailgun-provider.md b/docs/examples/1.5.x/server-deno/examples/messaging/update-mailgun-provider.md index 62efe62bc4..7de8939ff5 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/update-mailgun-provider.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/update-mailgun-provider.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/update-msg91provider.md b/docs/examples/1.5.x/server-deno/examples/messaging/update-msg91provider.md index c5e222f42e..5cbb3d9a74 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/update-msg91provider.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/update-msg91provider.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/update-push.md b/docs/examples/1.5.x/server-deno/examples/messaging/update-push.md index a6ae3c079e..11437fabe1 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/update-push.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/update-push.md @@ -1,9 +1,9 @@ -import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, Messaging, MessagePriority } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); @@ -23,5 +23,8 @@ const response = await messaging.updatePush( '<TAG>', // tag (optional) null, // badge (optional) false, // draft (optional) - '' // scheduledAt (optional) + '', // scheduledAt (optional) + false, // contentAvailable (optional) + false, // critical (optional) + MessagePriority.Normal // priority (optional) ); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/update-s-m-s.md b/docs/examples/1.5.x/server-deno/examples/messaging/update-s-m-s.md index 627f06b9b0..0f36d1e29c 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/update-s-m-s.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/update-s-m-s.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let messaging = new sdk.Messaging(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/update-s-m-t-p-provider.md b/docs/examples/1.5.x/server-deno/examples/messaging/update-s-m-t-p-provider.md index d16d988be9..e3281cdc4e 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/update-s-m-t-p-provider.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/update-s-m-t-p-provider.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let messaging = new sdk.Messaging(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/update-sendgrid-provider.md b/docs/examples/1.5.x/server-deno/examples/messaging/update-sendgrid-provider.md index 64709e2b96..66dffb18f9 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/update-sendgrid-provider.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/update-sendgrid-provider.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/update-sms.md b/docs/examples/1.5.x/server-deno/examples/messaging/update-sms.md index dc4da7ed93..a027f1dda9 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/update-sms.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/update-sms.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/update-smtp-provider.md b/docs/examples/1.5.x/server-deno/examples/messaging/update-smtp-provider.md index 78eb0dee22..6eb90cebbd 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/update-smtp-provider.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/update-smtp-provider.md @@ -2,8 +2,8 @@ import { Client, Messaging, SmtpEncryption } from "https://deno.land/x/appwrite/ const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/update-telesign-provider.md b/docs/examples/1.5.x/server-deno/examples/messaging/update-telesign-provider.md index 531b37edb8..cc8448f5b2 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/update-telesign-provider.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/update-telesign-provider.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/update-textmagic-provider.md b/docs/examples/1.5.x/server-deno/examples/messaging/update-textmagic-provider.md index 1ae95f1453..fa12103524 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/update-textmagic-provider.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/update-textmagic-provider.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/update-topic.md b/docs/examples/1.5.x/server-deno/examples/messaging/update-topic.md index ebcbd4f106..1b60af0f37 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/update-topic.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/update-topic.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/update-twilio-provider.md b/docs/examples/1.5.x/server-deno/examples/messaging/update-twilio-provider.md index 67012cf48c..e63a54cc11 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/update-twilio-provider.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/update-twilio-provider.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/messaging/update-vonage-provider.md b/docs/examples/1.5.x/server-deno/examples/messaging/update-vonage-provider.md index ba894cedd9..c4c68b290c 100644 --- a/docs/examples/1.5.x/server-deno/examples/messaging/update-vonage-provider.md +++ b/docs/examples/1.5.x/server-deno/examples/messaging/update-vonage-provider.md @@ -2,8 +2,8 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-deno/examples/storage/create-bucket.md b/docs/examples/1.5.x/server-deno/examples/storage/create-bucket.md index 69457579cc..095f390e83 100644 --- a/docs/examples/1.5.x/server-deno/examples/storage/create-bucket.md +++ b/docs/examples/1.5.x/server-deno/examples/storage/create-bucket.md @@ -2,8 +2,8 @@ import { Client, Storage, } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-deno/examples/storage/create-file.md b/docs/examples/1.5.x/server-deno/examples/storage/create-file.md index 6f52c9bb60..9a420bb65c 100644 --- a/docs/examples/1.5.x/server-deno/examples/storage/create-file.md +++ b/docs/examples/1.5.x/server-deno/examples/storage/create-file.md @@ -2,7 +2,7 @@ import { Client, Storage } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-deno/examples/storage/delete-bucket.md b/docs/examples/1.5.x/server-deno/examples/storage/delete-bucket.md index 78a652e00e..eafb60eb77 100644 --- a/docs/examples/1.5.x/server-deno/examples/storage/delete-bucket.md +++ b/docs/examples/1.5.x/server-deno/examples/storage/delete-bucket.md @@ -2,8 +2,8 @@ import { Client, Storage } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-deno/examples/storage/delete-file.md b/docs/examples/1.5.x/server-deno/examples/storage/delete-file.md index 684f719adc..554dbeb4cd 100644 --- a/docs/examples/1.5.x/server-deno/examples/storage/delete-file.md +++ b/docs/examples/1.5.x/server-deno/examples/storage/delete-file.md @@ -2,7 +2,7 @@ import { Client, Storage } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-deno/examples/storage/get-bucket.md b/docs/examples/1.5.x/server-deno/examples/storage/get-bucket.md index fcf34962e9..1e0107edb8 100644 --- a/docs/examples/1.5.x/server-deno/examples/storage/get-bucket.md +++ b/docs/examples/1.5.x/server-deno/examples/storage/get-bucket.md @@ -2,8 +2,8 @@ import { Client, Storage } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-deno/examples/storage/get-file-download.md b/docs/examples/1.5.x/server-deno/examples/storage/get-file-download.md index 10c4030c95..b3612f297d 100644 --- a/docs/examples/1.5.x/server-deno/examples/storage/get-file-download.md +++ b/docs/examples/1.5.x/server-deno/examples/storage/get-file-download.md @@ -2,7 +2,7 @@ import { Client, Storage } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-deno/examples/storage/get-file-preview.md b/docs/examples/1.5.x/server-deno/examples/storage/get-file-preview.md index 9eb85502bb..d1a91c25aa 100644 --- a/docs/examples/1.5.x/server-deno/examples/storage/get-file-preview.md +++ b/docs/examples/1.5.x/server-deno/examples/storage/get-file-preview.md @@ -2,7 +2,7 @@ import { Client, Storage, ImageGravity, ImageFormat } from "https://deno.land/x/ const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-deno/examples/storage/get-file-view.md b/docs/examples/1.5.x/server-deno/examples/storage/get-file-view.md index 4e1605c223..14e28a07b7 100644 --- a/docs/examples/1.5.x/server-deno/examples/storage/get-file-view.md +++ b/docs/examples/1.5.x/server-deno/examples/storage/get-file-view.md @@ -2,7 +2,7 @@ import { Client, Storage } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-deno/examples/storage/get-file.md b/docs/examples/1.5.x/server-deno/examples/storage/get-file.md index 6cc3423dae..0ad049a041 100644 --- a/docs/examples/1.5.x/server-deno/examples/storage/get-file.md +++ b/docs/examples/1.5.x/server-deno/examples/storage/get-file.md @@ -2,7 +2,7 @@ import { Client, Storage } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-deno/examples/storage/list-buckets.md b/docs/examples/1.5.x/server-deno/examples/storage/list-buckets.md index c52da7dcce..667f65f87d 100644 --- a/docs/examples/1.5.x/server-deno/examples/storage/list-buckets.md +++ b/docs/examples/1.5.x/server-deno/examples/storage/list-buckets.md @@ -2,8 +2,8 @@ import { Client, Storage } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-deno/examples/storage/list-files.md b/docs/examples/1.5.x/server-deno/examples/storage/list-files.md index e569eb4ff5..7d18165f33 100644 --- a/docs/examples/1.5.x/server-deno/examples/storage/list-files.md +++ b/docs/examples/1.5.x/server-deno/examples/storage/list-files.md @@ -2,7 +2,7 @@ import { Client, Storage } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-deno/examples/storage/update-bucket.md b/docs/examples/1.5.x/server-deno/examples/storage/update-bucket.md index 9adb023237..7af2c1a6a5 100644 --- a/docs/examples/1.5.x/server-deno/examples/storage/update-bucket.md +++ b/docs/examples/1.5.x/server-deno/examples/storage/update-bucket.md @@ -2,8 +2,8 @@ import { Client, Storage, } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-deno/examples/storage/update-file.md b/docs/examples/1.5.x/server-deno/examples/storage/update-file.md index ca3f476259..153ce08071 100644 --- a/docs/examples/1.5.x/server-deno/examples/storage/update-file.md +++ b/docs/examples/1.5.x/server-deno/examples/storage/update-file.md @@ -2,7 +2,7 @@ import { Client, Storage } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-deno/examples/teams/create-membership.md b/docs/examples/1.5.x/server-deno/examples/teams/create-membership.md index 1b4a56ec74..69465f5efa 100644 --- a/docs/examples/1.5.x/server-deno/examples/teams/create-membership.md +++ b/docs/examples/1.5.x/server-deno/examples/teams/create-membership.md @@ -2,7 +2,7 @@ import { Client, Teams } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-deno/examples/teams/create.md b/docs/examples/1.5.x/server-deno/examples/teams/create.md index d8a6f9db97..abcc0fd6aa 100644 --- a/docs/examples/1.5.x/server-deno/examples/teams/create.md +++ b/docs/examples/1.5.x/server-deno/examples/teams/create.md @@ -2,7 +2,7 @@ import { Client, Teams } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-deno/examples/teams/delete-membership.md b/docs/examples/1.5.x/server-deno/examples/teams/delete-membership.md index 890a36da3d..a2a4807922 100644 --- a/docs/examples/1.5.x/server-deno/examples/teams/delete-membership.md +++ b/docs/examples/1.5.x/server-deno/examples/teams/delete-membership.md @@ -2,7 +2,7 @@ import { Client, Teams } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-deno/examples/teams/delete.md b/docs/examples/1.5.x/server-deno/examples/teams/delete.md index 2384672340..05d35f0cbf 100644 --- a/docs/examples/1.5.x/server-deno/examples/teams/delete.md +++ b/docs/examples/1.5.x/server-deno/examples/teams/delete.md @@ -2,7 +2,7 @@ import { Client, Teams } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-deno/examples/teams/get-membership.md b/docs/examples/1.5.x/server-deno/examples/teams/get-membership.md index b6ee8e0620..9f9722ebde 100644 --- a/docs/examples/1.5.x/server-deno/examples/teams/get-membership.md +++ b/docs/examples/1.5.x/server-deno/examples/teams/get-membership.md @@ -2,7 +2,7 @@ import { Client, Teams } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-deno/examples/teams/get-prefs.md b/docs/examples/1.5.x/server-deno/examples/teams/get-prefs.md index 26940f0054..d741911586 100644 --- a/docs/examples/1.5.x/server-deno/examples/teams/get-prefs.md +++ b/docs/examples/1.5.x/server-deno/examples/teams/get-prefs.md @@ -2,7 +2,7 @@ import { Client, Teams } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-deno/examples/teams/get.md b/docs/examples/1.5.x/server-deno/examples/teams/get.md index 8c822adbe1..f5d7c12a86 100644 --- a/docs/examples/1.5.x/server-deno/examples/teams/get.md +++ b/docs/examples/1.5.x/server-deno/examples/teams/get.md @@ -2,7 +2,7 @@ import { Client, Teams } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-deno/examples/teams/list-memberships.md b/docs/examples/1.5.x/server-deno/examples/teams/list-memberships.md index 7a5e26e402..01988a7d17 100644 --- a/docs/examples/1.5.x/server-deno/examples/teams/list-memberships.md +++ b/docs/examples/1.5.x/server-deno/examples/teams/list-memberships.md @@ -2,7 +2,7 @@ import { Client, Teams } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-deno/examples/teams/list.md b/docs/examples/1.5.x/server-deno/examples/teams/list.md index 03c8d0e351..dd295a013a 100644 --- a/docs/examples/1.5.x/server-deno/examples/teams/list.md +++ b/docs/examples/1.5.x/server-deno/examples/teams/list.md @@ -2,7 +2,7 @@ import { Client, Teams } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-deno/examples/teams/update-membership-status.md b/docs/examples/1.5.x/server-deno/examples/teams/update-membership-status.md index 7692eed29a..349ae6d12d 100644 --- a/docs/examples/1.5.x/server-deno/examples/teams/update-membership-status.md +++ b/docs/examples/1.5.x/server-deno/examples/teams/update-membership-status.md @@ -2,7 +2,7 @@ import { Client, Teams } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-deno/examples/teams/update-membership.md b/docs/examples/1.5.x/server-deno/examples/teams/update-membership.md index 67e4d80b09..0f03ecb8dd 100644 --- a/docs/examples/1.5.x/server-deno/examples/teams/update-membership.md +++ b/docs/examples/1.5.x/server-deno/examples/teams/update-membership.md @@ -2,7 +2,7 @@ import { Client, Teams } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-deno/examples/teams/update-name.md b/docs/examples/1.5.x/server-deno/examples/teams/update-name.md index faaf1e6e8f..4e678ea881 100644 --- a/docs/examples/1.5.x/server-deno/examples/teams/update-name.md +++ b/docs/examples/1.5.x/server-deno/examples/teams/update-name.md @@ -2,7 +2,7 @@ import { Client, Teams } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-deno/examples/teams/update-prefs.md b/docs/examples/1.5.x/server-deno/examples/teams/update-prefs.md index 1638b06859..9d11a5dd38 100644 --- a/docs/examples/1.5.x/server-deno/examples/teams/update-prefs.md +++ b/docs/examples/1.5.x/server-deno/examples/teams/update-prefs.md @@ -2,7 +2,7 @@ import { Client, Teams } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/create-argon2user.md b/docs/examples/1.5.x/server-deno/examples/users/create-argon2user.md index 178fadb1a5..1dec8dc5c1 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/create-argon2user.md +++ b/docs/examples/1.5.x/server-deno/examples/users/create-argon2user.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/create-bcrypt-user.md b/docs/examples/1.5.x/server-deno/examples/users/create-bcrypt-user.md index 5787a4e037..a57d1aeaa8 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.5.x/server-deno/examples/users/create-bcrypt-user.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/create-j-w-t.md b/docs/examples/1.5.x/server-deno/examples/users/create-j-w-t.md new file mode 100644 index 0000000000..bc5205d006 --- /dev/null +++ b/docs/examples/1.5.x/server-deno/examples/users/create-j-w-t.md @@ -0,0 +1,14 @@ +import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key + +const users = new Users(client); + +const response = await users.createJWT( + '<USER_ID>', // userId + '<SESSION_ID>', // sessionId (optional) + 0 // duration (optional) +); diff --git a/docs/examples/1.5.x/server-deno/examples/users/create-m-d5user.md b/docs/examples/1.5.x/server-deno/examples/users/create-m-d5user.md index 5cdde635f9..095d19f758 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/create-m-d5user.md +++ b/docs/examples/1.5.x/server-deno/examples/users/create-m-d5user.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/create-mfa-recovery-codes.md b/docs/examples/1.5.x/server-deno/examples/users/create-mfa-recovery-codes.md index 350ae3cc80..da3741a14a 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/create-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-deno/examples/users/create-mfa-recovery-codes.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/create-p-h-pass-user.md b/docs/examples/1.5.x/server-deno/examples/users/create-p-h-pass-user.md index baf2f65637..d3ada29378 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.5.x/server-deno/examples/users/create-p-h-pass-user.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/create-s-h-a-user.md b/docs/examples/1.5.x/server-deno/examples/users/create-s-h-a-user.md index 995c970f3c..0d63f1b29c 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.5.x/server-deno/examples/users/create-s-h-a-user.md @@ -2,8 +2,8 @@ import { Client, Users, PasswordHash } from "https://deno.land/x/appwrite/mod.ts const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/create-scrypt-modified-user.md b/docs/examples/1.5.x/server-deno/examples/users/create-scrypt-modified-user.md index dfeff7cf4e..0ee061e743 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.5.x/server-deno/examples/users/create-scrypt-modified-user.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/create-scrypt-user.md b/docs/examples/1.5.x/server-deno/examples/users/create-scrypt-user.md index 75d4738240..fcf4231613 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/create-scrypt-user.md +++ b/docs/examples/1.5.x/server-deno/examples/users/create-scrypt-user.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/create-session.md b/docs/examples/1.5.x/server-deno/examples/users/create-session.md index 1e95dc7094..07c1623a61 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/create-session.md +++ b/docs/examples/1.5.x/server-deno/examples/users/create-session.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/create-target.md b/docs/examples/1.5.x/server-deno/examples/users/create-target.md index ae63ba659d..82a44f938a 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/create-target.md +++ b/docs/examples/1.5.x/server-deno/examples/users/create-target.md @@ -2,8 +2,8 @@ import { Client, Users, MessagingProviderType } from "https://deno.land/x/appwri const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/create-token.md b/docs/examples/1.5.x/server-deno/examples/users/create-token.md index 705f2726f8..aa15668a79 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/create-token.md +++ b/docs/examples/1.5.x/server-deno/examples/users/create-token.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/create.md b/docs/examples/1.5.x/server-deno/examples/users/create.md index 4c1c2266b7..cd7c5b19bd 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/create.md +++ b/docs/examples/1.5.x/server-deno/examples/users/create.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/delete-authenticator.md b/docs/examples/1.5.x/server-deno/examples/users/delete-authenticator.md index 1165dd04cc..fd8a9e1b69 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/delete-authenticator.md +++ b/docs/examples/1.5.x/server-deno/examples/users/delete-authenticator.md @@ -1,7 +1,7 @@ import { Client, Users, AuthenticatorType } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key diff --git a/docs/examples/1.5.x/server-deno/examples/users/delete-identity.md b/docs/examples/1.5.x/server-deno/examples/users/delete-identity.md index 07c1466f46..3a4280cf16 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/delete-identity.md +++ b/docs/examples/1.5.x/server-deno/examples/users/delete-identity.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/delete-mfa-authenticator.md b/docs/examples/1.5.x/server-deno/examples/users/delete-mfa-authenticator.md index 26ff1785e6..92078bbb15 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-deno/examples/users/delete-mfa-authenticator.md @@ -2,8 +2,8 @@ import { Client, Users, AuthenticatorType } from "https://deno.land/x/appwrite/m const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/delete-session.md b/docs/examples/1.5.x/server-deno/examples/users/delete-session.md index ffc359f23f..0f9c12b57c 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/delete-session.md +++ b/docs/examples/1.5.x/server-deno/examples/users/delete-session.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/delete-sessions.md b/docs/examples/1.5.x/server-deno/examples/users/delete-sessions.md index 071d2e4e58..94e2f84133 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/delete-sessions.md +++ b/docs/examples/1.5.x/server-deno/examples/users/delete-sessions.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/delete-target.md b/docs/examples/1.5.x/server-deno/examples/users/delete-target.md index d7c0fb50ff..ee6a280ab3 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/delete-target.md +++ b/docs/examples/1.5.x/server-deno/examples/users/delete-target.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/delete.md b/docs/examples/1.5.x/server-deno/examples/users/delete.md index e5df110290..3c43d5a72c 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/delete.md +++ b/docs/examples/1.5.x/server-deno/examples/users/delete.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/get-mfa-recovery-codes.md b/docs/examples/1.5.x/server-deno/examples/users/get-mfa-recovery-codes.md index 26145a966b..e63ae70917 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/get-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-deno/examples/users/get-mfa-recovery-codes.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/get-prefs.md b/docs/examples/1.5.x/server-deno/examples/users/get-prefs.md index 281a621fac..ef38e96f0e 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/get-prefs.md +++ b/docs/examples/1.5.x/server-deno/examples/users/get-prefs.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/get-target.md b/docs/examples/1.5.x/server-deno/examples/users/get-target.md index ce0965cdcc..e3d8568cc4 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/get-target.md +++ b/docs/examples/1.5.x/server-deno/examples/users/get-target.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/get.md b/docs/examples/1.5.x/server-deno/examples/users/get.md index 8a2e0d440d..d5c2155e49 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/get.md +++ b/docs/examples/1.5.x/server-deno/examples/users/get.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/list-factors.md b/docs/examples/1.5.x/server-deno/examples/users/list-factors.md index d2fac0e8a2..dd50519acd 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/list-factors.md +++ b/docs/examples/1.5.x/server-deno/examples/users/list-factors.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key diff --git a/docs/examples/1.5.x/server-deno/examples/users/list-identities.md b/docs/examples/1.5.x/server-deno/examples/users/list-identities.md index e4402f7b7f..c12a37eb51 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/list-identities.md +++ b/docs/examples/1.5.x/server-deno/examples/users/list-identities.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/list-logs.md b/docs/examples/1.5.x/server-deno/examples/users/list-logs.md index 8d7f37fec7..4fc2e6091d 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/list-logs.md +++ b/docs/examples/1.5.x/server-deno/examples/users/list-logs.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/list-memberships.md b/docs/examples/1.5.x/server-deno/examples/users/list-memberships.md index ec5a57b78f..55ca2593cb 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/list-memberships.md +++ b/docs/examples/1.5.x/server-deno/examples/users/list-memberships.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/list-mfa-factors.md b/docs/examples/1.5.x/server-deno/examples/users/list-mfa-factors.md index 90bfba8caf..7d368b3d37 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/list-mfa-factors.md +++ b/docs/examples/1.5.x/server-deno/examples/users/list-mfa-factors.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/list-providers.md b/docs/examples/1.5.x/server-deno/examples/users/list-providers.md index d1b6a41a03..e2d795d88d 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/list-providers.md +++ b/docs/examples/1.5.x/server-deno/examples/users/list-providers.md @@ -6,7 +6,7 @@ let client = new sdk.Client(); let users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.5.x/server-deno/examples/users/list-sessions.md b/docs/examples/1.5.x/server-deno/examples/users/list-sessions.md index e4b0ede686..c425ded1e0 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/list-sessions.md +++ b/docs/examples/1.5.x/server-deno/examples/users/list-sessions.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/list-targets.md b/docs/examples/1.5.x/server-deno/examples/users/list-targets.md index c15847d1bc..e9a26ff6b0 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/list-targets.md +++ b/docs/examples/1.5.x/server-deno/examples/users/list-targets.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/list.md b/docs/examples/1.5.x/server-deno/examples/users/list.md index f60536638c..d4d9da33fa 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/list.md +++ b/docs/examples/1.5.x/server-deno/examples/users/list.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/update-email-verification.md b/docs/examples/1.5.x/server-deno/examples/users/update-email-verification.md index a3684dfc2e..76f6e44341 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/update-email-verification.md +++ b/docs/examples/1.5.x/server-deno/examples/users/update-email-verification.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/update-email.md b/docs/examples/1.5.x/server-deno/examples/users/update-email.md index 592079111a..80b727bfa2 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/update-email.md +++ b/docs/examples/1.5.x/server-deno/examples/users/update-email.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/update-labels.md b/docs/examples/1.5.x/server-deno/examples/users/update-labels.md index 847c70a904..c41955caa1 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/update-labels.md +++ b/docs/examples/1.5.x/server-deno/examples/users/update-labels.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/update-mfa-recovery-codes.md b/docs/examples/1.5.x/server-deno/examples/users/update-mfa-recovery-codes.md index 4ce52fddc3..201ffba616 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/update-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-deno/examples/users/update-mfa-recovery-codes.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/update-mfa.md b/docs/examples/1.5.x/server-deno/examples/users/update-mfa.md index ced8232c9f..3f061ef366 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/update-mfa.md +++ b/docs/examples/1.5.x/server-deno/examples/users/update-mfa.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/update-name.md b/docs/examples/1.5.x/server-deno/examples/users/update-name.md index 61042dd0f2..df53c0ffb9 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/update-name.md +++ b/docs/examples/1.5.x/server-deno/examples/users/update-name.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/update-password.md b/docs/examples/1.5.x/server-deno/examples/users/update-password.md index cdefd18e04..451604f20b 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/update-password.md +++ b/docs/examples/1.5.x/server-deno/examples/users/update-password.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/update-phone-verification.md b/docs/examples/1.5.x/server-deno/examples/users/update-phone-verification.md index 6bcf61f5b8..4f97a18c48 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/update-phone-verification.md +++ b/docs/examples/1.5.x/server-deno/examples/users/update-phone-verification.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/update-phone.md b/docs/examples/1.5.x/server-deno/examples/users/update-phone.md index 54756eaa86..d0ae0d7a08 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/update-phone.md +++ b/docs/examples/1.5.x/server-deno/examples/users/update-phone.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/update-prefs.md b/docs/examples/1.5.x/server-deno/examples/users/update-prefs.md index 61cbb155bf..81a329400c 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/update-prefs.md +++ b/docs/examples/1.5.x/server-deno/examples/users/update-prefs.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/update-status.md b/docs/examples/1.5.x/server-deno/examples/users/update-status.md index 2bf8feeec7..5b1c9892d7 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/update-status.md +++ b/docs/examples/1.5.x/server-deno/examples/users/update-status.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-deno/examples/users/update-target.md b/docs/examples/1.5.x/server-deno/examples/users/update-target.md index a34f651575..8a816c8df0 100644 --- a/docs/examples/1.5.x/server-deno/examples/users/update-target.md +++ b/docs/examples/1.5.x/server-deno/examples/users/update-target.md @@ -2,8 +2,8 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/add-authenticator.md b/docs/examples/1.5.x/server-dotnet/examples/account/add-authenticator.md index 3adfaa337e..88a1069494 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/add-authenticator.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/add-authenticator.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/create-anonymous-session.md b/docs/examples/1.5.x/server-dotnet/examples/account/create-anonymous-session.md index f971377fbc..4ee42ff911 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/create-anonymous-session.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/create-anonymous-session.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2"); // Your project ID + .SetProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/create-challenge.md b/docs/examples/1.5.x/server-dotnet/examples/account/create-challenge.md index 0e81524d35..d72a7c1c6b 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/create-challenge.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/create-challenge.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/create-email-password-session.md b/docs/examples/1.5.x/server-dotnet/examples/account/create-email-password-session.md index 8dd10f164d..4b2331223f 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/create-email-password-session.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/create-email-password-session.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2"); // Your project ID + .SetProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/create-email-token.md b/docs/examples/1.5.x/server-dotnet/examples/account/create-email-token.md index e248e03ff6..954848e637 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/create-email-token.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/create-email-token.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2"); // Your project ID + .SetProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/create-j-w-t.md b/docs/examples/1.5.x/server-dotnet/examples/account/create-j-w-t.md index 92379f442e..200b025191 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/create-j-w-t.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/create-j-w-t.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2"); // Your project ID + .SetProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/create-magic-u-r-l-token.md b/docs/examples/1.5.x/server-dotnet/examples/account/create-magic-u-r-l-token.md index 5dd68b2d20..1a435de405 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/create-magic-u-r-l-token.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2"); // Your project ID + .SetProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/create-mfa-authenticator.md b/docs/examples/1.5.x/server-dotnet/examples/account/create-mfa-authenticator.md index b2f82e1912..284f44e24e 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/create-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/create-mfa-authenticator.md @@ -5,7 +5,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/create-mfa-challenge.md b/docs/examples/1.5.x/server-dotnet/examples/account/create-mfa-challenge.md index 6781e13cd8..5a9ac58d15 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/create-mfa-challenge.md @@ -5,7 +5,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2"); // Your project ID + .SetProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/create-mfa-recovery-codes.md b/docs/examples/1.5.x/server-dotnet/examples/account/create-mfa-recovery-codes.md index e83eaf69bf..647e11a527 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/create-mfa-recovery-codes.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/create-o-auth2session.md b/docs/examples/1.5.x/server-dotnet/examples/account/create-o-auth2session.md index 01f66a575d..d00791513b 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/create-o-auth2session.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/create-o-auth2session.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Enums; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/create-o-auth2token.md b/docs/examples/1.5.x/server-dotnet/examples/account/create-o-auth2token.md index d81d711a55..2936426d33 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/create-o-auth2token.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/create-o-auth2token.md @@ -5,7 +5,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2"); // Your project ID + .SetProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/create-phone-token.md b/docs/examples/1.5.x/server-dotnet/examples/account/create-phone-token.md index e23b25ff4e..131f7c2e47 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/create-phone-token.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/create-phone-token.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2"); // Your project ID + .SetProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/create-phone-verification.md b/docs/examples/1.5.x/server-dotnet/examples/account/create-phone-verification.md index 2497cbbbfb..c422790e11 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/create-phone-verification.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/create-phone-verification.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/create-recovery.md b/docs/examples/1.5.x/server-dotnet/examples/account/create-recovery.md index f92c4ff863..f50a065cd1 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/create-recovery.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/create-recovery.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/create-session.md b/docs/examples/1.5.x/server-dotnet/examples/account/create-session.md index 70d648e7d3..0c0bfae941 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/create-session.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/create-session.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2"); // Your project ID + .SetProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/create-verification.md b/docs/examples/1.5.x/server-dotnet/examples/account/create-verification.md index ae28e9292c..64f54f7c0e 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/create-verification.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/create-verification.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/create.md b/docs/examples/1.5.x/server-dotnet/examples/account/create.md index d59fe481f9..5deeb88514 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/create.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/create.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2"); // Your project ID + .SetProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/create2f-a-challenge.md b/docs/examples/1.5.x/server-dotnet/examples/account/create2f-a-challenge.md index dc9d38d0bf..b47fe1f82b 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/create2f-a-challenge.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/create2f-a-challenge.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Enums; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/delete-authenticator.md b/docs/examples/1.5.x/server-dotnet/examples/account/delete-authenticator.md index 4a9736ec38..f3e890820e 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/delete-authenticator.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/delete-authenticator.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/delete-identity.md b/docs/examples/1.5.x/server-dotnet/examples/account/delete-identity.md index b0e8051cf8..c70eed7931 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/delete-identity.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/delete-identity.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/delete-mfa-authenticator.md b/docs/examples/1.5.x/server-dotnet/examples/account/delete-mfa-authenticator.md index 9d99795af1..dd36da1a34 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/delete-mfa-authenticator.md @@ -5,12 +5,11 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Account account = new Account(client); await account.DeleteMfaAuthenticator( - type: AuthenticatorType.Totp, - otp: "<OTP>" + type: AuthenticatorType.Totp ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/delete-session.md b/docs/examples/1.5.x/server-dotnet/examples/account/delete-session.md index a98b8fb30b..3be113d517 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/delete-session.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/delete-session.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/delete-sessions.md b/docs/examples/1.5.x/server-dotnet/examples/account/delete-sessions.md index 36fa4e6001..5d7aecc200 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/delete-sessions.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/delete-sessions.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.5.x/server-dotnet/examples/account/get-mfa-recovery-codes.md index 39b23bb3d3..c798ad3a48 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/get-mfa-recovery-codes.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/get-prefs.md b/docs/examples/1.5.x/server-dotnet/examples/account/get-prefs.md index e470ede66b..0c5ee40a35 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/get-prefs.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/get-prefs.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/get-session.md b/docs/examples/1.5.x/server-dotnet/examples/account/get-session.md index a7206b6c04..82bff87388 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/get-session.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/get-session.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/get.md b/docs/examples/1.5.x/server-dotnet/examples/account/get.md index 9719ab70a1..c87f4dda16 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/get.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/get.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/list-factors.md b/docs/examples/1.5.x/server-dotnet/examples/account/list-factors.md index 5d6075d955..95d0b6cefe 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/list-factors.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/list-factors.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/list-identities.md b/docs/examples/1.5.x/server-dotnet/examples/account/list-identities.md index dc2d94d413..6d94a15744 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/list-identities.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/list-identities.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/list-logs.md b/docs/examples/1.5.x/server-dotnet/examples/account/list-logs.md index 50bf7c75df..f4c20fa38b 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/list-logs.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/list-logs.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/list-mfa-factors.md b/docs/examples/1.5.x/server-dotnet/examples/account/list-mfa-factors.md index 1117668ee6..f6ef37882a 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/list-mfa-factors.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/list-mfa-factors.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/list-sessions.md b/docs/examples/1.5.x/server-dotnet/examples/account/list-sessions.md index 75ab1bfab9..e6d634b120 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/list-sessions.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/list-sessions.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/update-challenge.md b/docs/examples/1.5.x/server-dotnet/examples/account/update-challenge.md index e49a69231d..aff706f1a8 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/update-challenge.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/update-challenge.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/update-email.md b/docs/examples/1.5.x/server-dotnet/examples/account/update-email.md index 98afbe531d..c7934f8d19 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/update-email.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/update-email.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/update-m-f-a.md b/docs/examples/1.5.x/server-dotnet/examples/account/update-m-f-a.md index 0e25998577..7cee1ad712 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/update-m-f-a.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/update-m-f-a.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.5.x/server-dotnet/examples/account/update-magic-u-r-l-session.md index 41b912f4f8..5ecf64f74f 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/update-magic-u-r-l-session.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2"); // Your project ID + .SetProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/update-mfa-authenticator.md b/docs/examples/1.5.x/server-dotnet/examples/account/update-mfa-authenticator.md index 8da8027ada..ac8ce0631f 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/update-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/update-mfa-authenticator.md @@ -5,7 +5,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/update-mfa-challenge.md b/docs/examples/1.5.x/server-dotnet/examples/account/update-mfa-challenge.md index 333161462d..ec32f8c900 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/update-mfa-challenge.md @@ -4,12 +4,12 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Account account = new Account(client); - result = await account.UpdateMfaChallenge( +Session result = await account.UpdateMfaChallenge( challengeId: "<CHALLENGE_ID>", otp: "<OTP>" ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/update-mfa-recovery-codes.md b/docs/examples/1.5.x/server-dotnet/examples/account/update-mfa-recovery-codes.md index 003a96372b..1e031e9c19 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/update-mfa-recovery-codes.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/update-name.md b/docs/examples/1.5.x/server-dotnet/examples/account/update-name.md index 8c51112073..e84fb9a96e 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/update-name.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/update-name.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/update-password.md b/docs/examples/1.5.x/server-dotnet/examples/account/update-password.md index e496d3e097..e0524a6f73 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/update-password.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/update-password.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/update-phone-session.md b/docs/examples/1.5.x/server-dotnet/examples/account/update-phone-session.md index 6cfcfa6e5b..5004730502 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/update-phone-session.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/update-phone-session.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2"); // Your project ID + .SetProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/update-phone-verification.md b/docs/examples/1.5.x/server-dotnet/examples/account/update-phone-verification.md index 7276998710..b6b310401b 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/update-phone-verification.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/update-phone-verification.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/update-phone.md b/docs/examples/1.5.x/server-dotnet/examples/account/update-phone.md index b8354dc226..dab96b6f6b 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/update-phone.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/update-phone.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/update-prefs.md b/docs/examples/1.5.x/server-dotnet/examples/account/update-prefs.md index c7f0347bb9..82d892d8a3 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/update-prefs.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/update-prefs.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/update-recovery.md b/docs/examples/1.5.x/server-dotnet/examples/account/update-recovery.md index bbf309dea6..efcea1ee10 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/update-recovery.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/update-recovery.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/update-session.md b/docs/examples/1.5.x/server-dotnet/examples/account/update-session.md index 43cbc2672a..9d7eddc6d6 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/update-session.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/update-session.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/update-status.md b/docs/examples/1.5.x/server-dotnet/examples/account/update-status.md index 0a6e7547a0..9c9fc01c40 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/update-status.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/update-status.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/update-verification.md b/docs/examples/1.5.x/server-dotnet/examples/account/update-verification.md index 59f464c500..d8cc8adedf 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/update-verification.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/update-verification.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/account/verify-authenticator.md b/docs/examples/1.5.x/server-dotnet/examples/account/verify-authenticator.md index 47a34e0a53..6a02dda325 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/account/verify-authenticator.md +++ b/docs/examples/1.5.x/server-dotnet/examples/account/verify-authenticator.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-dotnet/examples/avatars/get-browser.md b/docs/examples/1.5.x/server-dotnet/examples/avatars/get-browser.md index e938d71e9e..0fc9ac7316 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/avatars/get-browser.md +++ b/docs/examples/1.5.x/server-dotnet/examples/avatars/get-browser.md @@ -5,7 +5,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/avatars/get-credit-card.md b/docs/examples/1.5.x/server-dotnet/examples/avatars/get-credit-card.md index f7b3a6a6bd..3dc07cfc43 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/avatars/get-credit-card.md +++ b/docs/examples/1.5.x/server-dotnet/examples/avatars/get-credit-card.md @@ -5,7 +5,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/avatars/get-favicon.md b/docs/examples/1.5.x/server-dotnet/examples/avatars/get-favicon.md index 02a60c8bca..f7a3d9fed6 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/avatars/get-favicon.md +++ b/docs/examples/1.5.x/server-dotnet/examples/avatars/get-favicon.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/avatars/get-flag.md b/docs/examples/1.5.x/server-dotnet/examples/avatars/get-flag.md index 2abdb1b3e4..734d7d7517 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/avatars/get-flag.md +++ b/docs/examples/1.5.x/server-dotnet/examples/avatars/get-flag.md @@ -5,7 +5,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/avatars/get-image.md b/docs/examples/1.5.x/server-dotnet/examples/avatars/get-image.md index 2026e4e9df..942bffb258 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/avatars/get-image.md +++ b/docs/examples/1.5.x/server-dotnet/examples/avatars/get-image.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/avatars/get-initials.md b/docs/examples/1.5.x/server-dotnet/examples/avatars/get-initials.md index e9fbf31c53..5b47eea474 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/avatars/get-initials.md +++ b/docs/examples/1.5.x/server-dotnet/examples/avatars/get-initials.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/avatars/get-q-r.md b/docs/examples/1.5.x/server-dotnet/examples/avatars/get-q-r.md index 67f29775f1..b90ed074d1 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/avatars/get-q-r.md +++ b/docs/examples/1.5.x/server-dotnet/examples/avatars/get-q-r.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/create-boolean-attribute.md b/docs/examples/1.5.x/server-dotnet/examples/databases/create-boolean-attribute.md index cc47056707..0f113b0582 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/create-boolean-attribute.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/create-collection.md b/docs/examples/1.5.x/server-dotnet/examples/databases/create-collection.md index 03b7655da2..6b03dacd35 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/create-collection.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/create-collection.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/create-datetime-attribute.md b/docs/examples/1.5.x/server-dotnet/examples/databases/create-datetime-attribute.md index 486985fbe9..fac8f1b983 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/create-datetime-attribute.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/create-document.md b/docs/examples/1.5.x/server-dotnet/examples/databases/create-document.md index 7650391f32..438928d2dc 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/create-document.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/create-document.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/create-email-attribute.md b/docs/examples/1.5.x/server-dotnet/examples/databases/create-email-attribute.md index 8bd4b34152..640e8ee09a 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/create-email-attribute.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/create-email-attribute.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/create-enum-attribute.md b/docs/examples/1.5.x/server-dotnet/examples/databases/create-enum-attribute.md index 4b14bab9e2..3b0a78764f 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/create-enum-attribute.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/create-float-attribute.md b/docs/examples/1.5.x/server-dotnet/examples/databases/create-float-attribute.md index 8d6a570584..620c451d78 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/create-float-attribute.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/create-float-attribute.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/create-index.md b/docs/examples/1.5.x/server-dotnet/examples/databases/create-index.md index 4de78eeab3..a7363f4c67 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/create-index.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/create-index.md @@ -5,8 +5,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/create-integer-attribute.md b/docs/examples/1.5.x/server-dotnet/examples/databases/create-integer-attribute.md index b0a8fd0c62..3676c662f9 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/create-integer-attribute.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/create-ip-attribute.md b/docs/examples/1.5.x/server-dotnet/examples/databases/create-ip-attribute.md index 42e492229f..faad215f26 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/create-ip-attribute.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/create-relationship-attribute.md b/docs/examples/1.5.x/server-dotnet/examples/databases/create-relationship-attribute.md index 9c39d1fb5e..eb10afce64 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/create-relationship-attribute.md @@ -5,8 +5,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/create-string-attribute.md b/docs/examples/1.5.x/server-dotnet/examples/databases/create-string-attribute.md index 45ba803a4e..9d6aa904e5 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/create-string-attribute.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/create-string-attribute.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/create-url-attribute.md b/docs/examples/1.5.x/server-dotnet/examples/databases/create-url-attribute.md index 2299c937f2..9dd1913251 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/create-url-attribute.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/create-url-attribute.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/create.md b/docs/examples/1.5.x/server-dotnet/examples/databases/create.md index f882c8d37a..ea33e15992 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/create.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/create.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/delete-attribute.md b/docs/examples/1.5.x/server-dotnet/examples/databases/delete-attribute.md index 3f1933c1e3..9e4658999f 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/delete-attribute.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/delete-attribute.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/delete-collection.md b/docs/examples/1.5.x/server-dotnet/examples/databases/delete-collection.md index 7d3c02f259..bd9ced02a5 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/delete-collection.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/delete-collection.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/delete-document.md b/docs/examples/1.5.x/server-dotnet/examples/databases/delete-document.md index 17b31dea72..1c03debad5 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/delete-document.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/delete-document.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/delete-index.md b/docs/examples/1.5.x/server-dotnet/examples/databases/delete-index.md index 3d0f6d40f6..21457ad19f 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/delete-index.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/delete-index.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/delete.md b/docs/examples/1.5.x/server-dotnet/examples/databases/delete.md index d0ff3e4863..ddc1497c60 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/delete.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/delete.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/get-attribute.md b/docs/examples/1.5.x/server-dotnet/examples/databases/get-attribute.md index 5d2661160c..5eaa11ee0a 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/get-attribute.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/get-attribute.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/get-collection.md b/docs/examples/1.5.x/server-dotnet/examples/databases/get-collection.md index e27bd88d6a..055d5473c6 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/get-collection.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/get-collection.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/get-document.md b/docs/examples/1.5.x/server-dotnet/examples/databases/get-document.md index dab529aade..51d05832f0 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/get-document.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/get-document.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/get-index.md b/docs/examples/1.5.x/server-dotnet/examples/databases/get-index.md index df36cf6e1f..4cf44b66e2 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/get-index.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/get-index.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/get.md b/docs/examples/1.5.x/server-dotnet/examples/databases/get.md index 12252126dc..c9278acd47 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/get.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/get.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/list-attributes.md b/docs/examples/1.5.x/server-dotnet/examples/databases/list-attributes.md index 0b4312b809..516e3a3efa 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/list-attributes.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/list-attributes.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/list-collections.md b/docs/examples/1.5.x/server-dotnet/examples/databases/list-collections.md index 0a50302d94..1665b449d2 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/list-collections.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/list-collections.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/list-documents.md b/docs/examples/1.5.x/server-dotnet/examples/databases/list-documents.md index 51f8f29e35..7471d96a64 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/list-documents.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/list-documents.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/list-indexes.md b/docs/examples/1.5.x/server-dotnet/examples/databases/list-indexes.md index 1d13c81e6e..f567ce9c8e 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/list-indexes.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/list-indexes.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/list.md b/docs/examples/1.5.x/server-dotnet/examples/databases/list.md index c6a17397fc..9972bda934 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/list.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/list.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/update-boolean-attribute.md b/docs/examples/1.5.x/server-dotnet/examples/databases/update-boolean-attribute.md index 34765d811e..7c435f51ce 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/update-boolean-attribute.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); @@ -14,5 +14,6 @@ AttributeBoolean result = await databases.UpdateBooleanAttribute( collectionId: "<COLLECTION_ID>", key: "", required: false, - default: false + default: false, + newKey: "" // optional ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/update-collection.md b/docs/examples/1.5.x/server-dotnet/examples/databases/update-collection.md index d73920fb64..2860ba6974 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/update-collection.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/update-collection.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/update-datetime-attribute.md b/docs/examples/1.5.x/server-dotnet/examples/databases/update-datetime-attribute.md index 354f9373d9..a8208202c8 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/update-datetime-attribute.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); @@ -14,5 +14,6 @@ AttributeDatetime result = await databases.UpdateDatetimeAttribute( collectionId: "<COLLECTION_ID>", key: "", required: false, - default: "" + default: "", + newKey: "" // optional ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/update-document.md b/docs/examples/1.5.x/server-dotnet/examples/databases/update-document.md index fb069fbf49..ce0aa58034 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/update-document.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/update-document.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/update-email-attribute.md b/docs/examples/1.5.x/server-dotnet/examples/databases/update-email-attribute.md index 498c9aa6d3..f7dde2ac2f 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/update-email-attribute.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/update-email-attribute.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); @@ -14,5 +14,6 @@ AttributeEmail result = await databases.UpdateEmailAttribute( collectionId: "<COLLECTION_ID>", key: "", required: false, - default: "email@example.com" + default: "email@example.com", + newKey: "" // optional ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/update-enum-attribute.md b/docs/examples/1.5.x/server-dotnet/examples/databases/update-enum-attribute.md index 4ce38fa232..6abd3a607c 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/update-enum-attribute.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); @@ -15,5 +15,6 @@ AttributeEnum result = await databases.UpdateEnumAttribute( key: "", elements: new List<string>(), required: false, - default: "<DEFAULT>" + default: "<DEFAULT>", + newKey: "" // optional ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/update-float-attribute.md b/docs/examples/1.5.x/server-dotnet/examples/databases/update-float-attribute.md index 3cc29709b4..7191c51d2c 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/update-float-attribute.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/update-float-attribute.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); @@ -14,7 +14,8 @@ AttributeFloat result = await databases.UpdateFloatAttribute( collectionId: "<COLLECTION_ID>", key: "", required: false, - min: 0, - max: 0, - default: 0 + default: 0, + min: 0, // optional + max: 0, // optional + newKey: "" // optional ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/update-integer-attribute.md b/docs/examples/1.5.x/server-dotnet/examples/databases/update-integer-attribute.md index a19090b69f..6a261cd109 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/update-integer-attribute.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); @@ -14,7 +14,8 @@ AttributeInteger result = await databases.UpdateIntegerAttribute( collectionId: "<COLLECTION_ID>", key: "", required: false, - min: 0, - max: 0, - default: 0 + default: 0, + min: 0, // optional + max: 0, // optional + newKey: "" // optional ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/update-ip-attribute.md b/docs/examples/1.5.x/server-dotnet/examples/databases/update-ip-attribute.md index bb5f31d600..0be862b004 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/update-ip-attribute.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); @@ -14,5 +14,6 @@ AttributeIp result = await databases.UpdateIpAttribute( collectionId: "<COLLECTION_ID>", key: "", required: false, - default: "" + default: "", + newKey: "" // optional ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/update-relationship-attribute.md b/docs/examples/1.5.x/server-dotnet/examples/databases/update-relationship-attribute.md index 95f1183b10..b49f72ccf8 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/update-relationship-attribute.md @@ -5,8 +5,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); @@ -14,5 +14,6 @@ AttributeRelationship result = await databases.UpdateRelationshipAttribute( databaseId: "<DATABASE_ID>", collectionId: "<COLLECTION_ID>", key: "", - onDelete: RelationMutate.Cascade // optional + onDelete: RelationMutate.Cascade, // optional + newKey: "" // optional ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/update-string-attribute.md b/docs/examples/1.5.x/server-dotnet/examples/databases/update-string-attribute.md index a5930b74a0..a180815a50 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/update-string-attribute.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/update-string-attribute.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); @@ -14,5 +14,7 @@ AttributeString result = await databases.UpdateStringAttribute( collectionId: "<COLLECTION_ID>", key: "", required: false, - default: "<DEFAULT>" + default: "<DEFAULT>", + size: 1, // optional + newKey: "" // optional ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/update-url-attribute.md b/docs/examples/1.5.x/server-dotnet/examples/databases/update-url-attribute.md index 35ef786d90..30a9a6298a 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/update-url-attribute.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/update-url-attribute.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); @@ -14,5 +14,6 @@ AttributeUrl result = await databases.UpdateUrlAttribute( collectionId: "<COLLECTION_ID>", key: "", required: false, - default: "https://example.com" + default: "https://example.com", + newKey: "" // optional ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-dotnet/examples/databases/update.md b/docs/examples/1.5.x/server-dotnet/examples/databases/update.md index 8eccfe84c4..1e55d8ecca 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/databases/update.md +++ b/docs/examples/1.5.x/server-dotnet/examples/databases/update.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/functions/create-build.md b/docs/examples/1.5.x/server-dotnet/examples/functions/create-build.md index 4e53429ed3..fa53854b3c 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/functions/create-build.md +++ b/docs/examples/1.5.x/server-dotnet/examples/functions/create-build.md @@ -4,13 +4,13 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); result = await functions.CreateBuild( functionId: "<FUNCTION_ID>", deploymentId: "<DEPLOYMENT_ID>", - buildId: "<BUILD_ID>" + buildId: "<BUILD_ID>" // optional ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-dotnet/examples/functions/create-deployment.md b/docs/examples/1.5.x/server-dotnet/examples/functions/create-deployment.md index a2e06dc227..7c3d4d887c 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/functions/create-deployment.md +++ b/docs/examples/1.5.x/server-dotnet/examples/functions/create-deployment.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/functions/create-execution.md b/docs/examples/1.5.x/server-dotnet/examples/functions/create-execution.md index c6b6db28c1..abe5454c83 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/functions/create-execution.md +++ b/docs/examples/1.5.x/server-dotnet/examples/functions/create-execution.md @@ -5,7 +5,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Functions functions = new Functions(client); @@ -16,5 +16,6 @@ Execution result = await functions.CreateExecution( async: false, // optional path: "<PATH>", // optional method: ExecutionMethod.GET, // optional - headers: [object] // optional + headers: [object], // optional + scheduledAt: "" // optional ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-dotnet/examples/functions/create-variable.md b/docs/examples/1.5.x/server-dotnet/examples/functions/create-variable.md index 1813b57a55..2775c5b459 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/functions/create-variable.md +++ b/docs/examples/1.5.x/server-dotnet/examples/functions/create-variable.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/functions/create.md b/docs/examples/1.5.x/server-dotnet/examples/functions/create.md index 424b6a5351..0ea11a8b9f 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/functions/create.md +++ b/docs/examples/1.5.x/server-dotnet/examples/functions/create.md @@ -5,8 +5,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); @@ -22,6 +22,7 @@ Function result = await functions.Create( logging: false, // optional entrypoint: "<ENTRYPOINT>", // optional commands: "<COMMANDS>", // optional + scopes: new List<string>(), // optional installationId: "<INSTALLATION_ID>", // optional providerRepositoryId: "<PROVIDER_REPOSITORY_ID>", // optional providerBranch: "<PROVIDER_BRANCH>", // optional @@ -30,5 +31,6 @@ Function result = await functions.Create( templateRepository: "<TEMPLATE_REPOSITORY>", // optional templateOwner: "<TEMPLATE_OWNER>", // optional templateRootDirectory: "<TEMPLATE_ROOT_DIRECTORY>", // optional - templateBranch: "<TEMPLATE_BRANCH>" // optional + templateVersion: "<TEMPLATE_VERSION>", // optional + specification: "" // optional ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-dotnet/examples/functions/delete-deployment.md b/docs/examples/1.5.x/server-dotnet/examples/functions/delete-deployment.md index 33b5240cc8..387383ed2b 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/functions/delete-deployment.md +++ b/docs/examples/1.5.x/server-dotnet/examples/functions/delete-deployment.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/functions/delete-execution.md b/docs/examples/1.5.x/server-dotnet/examples/functions/delete-execution.md new file mode 100644 index 0000000000..18bd347b70 --- /dev/null +++ b/docs/examples/1.5.x/server-dotnet/examples/functions/delete-execution.md @@ -0,0 +1,15 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key + +Functions functions = new Functions(client); + +await functions.DeleteExecution( + functionId: "<FUNCTION_ID>", + executionId: "<EXECUTION_ID>" +); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-dotnet/examples/functions/delete-variable.md b/docs/examples/1.5.x/server-dotnet/examples/functions/delete-variable.md index 8c7782640b..9be23cdcbe 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/functions/delete-variable.md +++ b/docs/examples/1.5.x/server-dotnet/examples/functions/delete-variable.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/functions/delete.md b/docs/examples/1.5.x/server-dotnet/examples/functions/delete.md index d18ba2942f..7666b62407 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/functions/delete.md +++ b/docs/examples/1.5.x/server-dotnet/examples/functions/delete.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/functions/download-deployment.md b/docs/examples/1.5.x/server-dotnet/examples/functions/download-deployment.md index a06a70136b..fce305f5d4 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/functions/download-deployment.md +++ b/docs/examples/1.5.x/server-dotnet/examples/functions/download-deployment.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.5.x/server-dotnet/examples/functions/get-deployment-download.md b/docs/examples/1.5.x/server-dotnet/examples/functions/get-deployment-download.md new file mode 100644 index 0000000000..b67351e70c --- /dev/null +++ b/docs/examples/1.5.x/server-dotnet/examples/functions/get-deployment-download.md @@ -0,0 +1,15 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key + +Functions functions = new Functions(client); + +byte[] result = await functions.GetDeploymentDownload( + functionId: "<FUNCTION_ID>", + deploymentId: "<DEPLOYMENT_ID>" +); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-dotnet/examples/functions/get-deployment.md b/docs/examples/1.5.x/server-dotnet/examples/functions/get-deployment.md index 8323923165..0fb27cc623 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/functions/get-deployment.md +++ b/docs/examples/1.5.x/server-dotnet/examples/functions/get-deployment.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/functions/get-execution.md b/docs/examples/1.5.x/server-dotnet/examples/functions/get-execution.md index 6ab4ec49ad..27b8f4d620 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/functions/get-execution.md +++ b/docs/examples/1.5.x/server-dotnet/examples/functions/get-execution.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/functions/get-variable.md b/docs/examples/1.5.x/server-dotnet/examples/functions/get-variable.md index fcaf10dfcb..2c897dd648 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/functions/get-variable.md +++ b/docs/examples/1.5.x/server-dotnet/examples/functions/get-variable.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/functions/get.md b/docs/examples/1.5.x/server-dotnet/examples/functions/get.md index a75c98e04d..e1fdefd7fb 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/functions/get.md +++ b/docs/examples/1.5.x/server-dotnet/examples/functions/get.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/functions/list-deployments.md b/docs/examples/1.5.x/server-dotnet/examples/functions/list-deployments.md index 43169b61d5..d78eb6a249 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/functions/list-deployments.md +++ b/docs/examples/1.5.x/server-dotnet/examples/functions/list-deployments.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/functions/list-executions.md b/docs/examples/1.5.x/server-dotnet/examples/functions/list-executions.md index 6b325ca70c..fe2b1d98ac 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/functions/list-executions.md +++ b/docs/examples/1.5.x/server-dotnet/examples/functions/list-executions.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/functions/list-runtimes.md b/docs/examples/1.5.x/server-dotnet/examples/functions/list-runtimes.md index f390dc5ae2..68f34291be 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/functions/list-runtimes.md +++ b/docs/examples/1.5.x/server-dotnet/examples/functions/list-runtimes.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/functions/list-specifications.md b/docs/examples/1.5.x/server-dotnet/examples/functions/list-specifications.md new file mode 100644 index 0000000000..21f3b1320e --- /dev/null +++ b/docs/examples/1.5.x/server-dotnet/examples/functions/list-specifications.md @@ -0,0 +1,12 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key + +Functions functions = new Functions(client); + +SpecificationList result = await functions.ListSpecifications(); diff --git a/docs/examples/1.5.x/server-dotnet/examples/functions/list-variables.md b/docs/examples/1.5.x/server-dotnet/examples/functions/list-variables.md index 3d8aec4ab3..77f429ded0 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/functions/list-variables.md +++ b/docs/examples/1.5.x/server-dotnet/examples/functions/list-variables.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/functions/list.md b/docs/examples/1.5.x/server-dotnet/examples/functions/list.md index 7c0cbbedb4..a6c5511f8a 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/functions/list.md +++ b/docs/examples/1.5.x/server-dotnet/examples/functions/list.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/functions/update-deployment-build.md b/docs/examples/1.5.x/server-dotnet/examples/functions/update-deployment-build.md new file mode 100644 index 0000000000..3d33b61714 --- /dev/null +++ b/docs/examples/1.5.x/server-dotnet/examples/functions/update-deployment-build.md @@ -0,0 +1,15 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key + +Functions functions = new Functions(client); + +Build result = await functions.UpdateDeploymentBuild( + functionId: "<FUNCTION_ID>", + deploymentId: "<DEPLOYMENT_ID>" +); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-dotnet/examples/functions/update-deployment.md b/docs/examples/1.5.x/server-dotnet/examples/functions/update-deployment.md index e9cf91fe67..348d01eb2b 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/functions/update-deployment.md +++ b/docs/examples/1.5.x/server-dotnet/examples/functions/update-deployment.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/functions/update-variable.md b/docs/examples/1.5.x/server-dotnet/examples/functions/update-variable.md index f6c52cdb4c..fceb7587d7 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/functions/update-variable.md +++ b/docs/examples/1.5.x/server-dotnet/examples/functions/update-variable.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/functions/update.md b/docs/examples/1.5.x/server-dotnet/examples/functions/update.md index 3ac6945864..b94f5f3ebc 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/functions/update.md +++ b/docs/examples/1.5.x/server-dotnet/examples/functions/update.md @@ -5,8 +5,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); @@ -22,9 +22,11 @@ Function result = await functions.Update( logging: false, // optional entrypoint: "<ENTRYPOINT>", // optional commands: "<COMMANDS>", // optional + scopes: new List<string>(), // optional installationId: "<INSTALLATION_ID>", // optional providerRepositoryId: "<PROVIDER_REPOSITORY_ID>", // optional providerBranch: "<PROVIDER_BRANCH>", // optional providerSilentMode: false, // optional - providerRootDirectory: "<PROVIDER_ROOT_DIRECTORY>" // optional + providerRootDirectory: "<PROVIDER_ROOT_DIRECTORY>", // optional + specification: "" // optional ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-dotnet/examples/graphql/mutation.md b/docs/examples/1.5.x/server-dotnet/examples/graphql/mutation.md index 7fa2d63487..5fb0f9a190 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/graphql/mutation.md +++ b/docs/examples/1.5.x/server-dotnet/examples/graphql/mutation.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Graphql graphql = new Graphql(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/graphql/query.md b/docs/examples/1.5.x/server-dotnet/examples/graphql/query.md index 74b57d18b2..e1f6f859db 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/graphql/query.md +++ b/docs/examples/1.5.x/server-dotnet/examples/graphql/query.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Graphql graphql = new Graphql(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/health/get-antivirus.md b/docs/examples/1.5.x/server-dotnet/examples/health/get-antivirus.md index 63852498d1..674e0e70f2 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/health/get-antivirus.md +++ b/docs/examples/1.5.x/server-dotnet/examples/health/get-antivirus.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/health/get-cache.md b/docs/examples/1.5.x/server-dotnet/examples/health/get-cache.md index 2afc5220b2..d61e220794 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/health/get-cache.md +++ b/docs/examples/1.5.x/server-dotnet/examples/health/get-cache.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/health/get-certificate.md b/docs/examples/1.5.x/server-dotnet/examples/health/get-certificate.md index 5c7df9cb79..de536fd9dd 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/health/get-certificate.md +++ b/docs/examples/1.5.x/server-dotnet/examples/health/get-certificate.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/health/get-d-b.md b/docs/examples/1.5.x/server-dotnet/examples/health/get-d-b.md index cdcdbaa214..8c1bf763ca 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/health/get-d-b.md +++ b/docs/examples/1.5.x/server-dotnet/examples/health/get-d-b.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/health/get-failed-jobs.md b/docs/examples/1.5.x/server-dotnet/examples/health/get-failed-jobs.md index baa2fa827b..871abf0bc0 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/health/get-failed-jobs.md +++ b/docs/examples/1.5.x/server-dotnet/examples/health/get-failed-jobs.md @@ -5,8 +5,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/health/get-pub-sub.md b/docs/examples/1.5.x/server-dotnet/examples/health/get-pub-sub.md index 95c55cbcf7..7fe20cdcf8 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/health/get-pub-sub.md +++ b/docs/examples/1.5.x/server-dotnet/examples/health/get-pub-sub.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-builds.md b/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-builds.md index 06a979a8ad..65596b49cf 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-builds.md +++ b/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-builds.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-certificates.md b/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-certificates.md index fa57789e80..06e629d12c 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-certificates.md +++ b/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-certificates.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-databases.md b/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-databases.md index 13c25ab218..80733ec20d 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-databases.md +++ b/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-databases.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-deletes.md b/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-deletes.md index 645ea40540..7e280a1b62 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-deletes.md +++ b/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-deletes.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-functions.md b/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-functions.md index f7e80f4379..8efd075b45 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-functions.md +++ b/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-functions.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-logs.md b/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-logs.md index ba89c040f2..2a6767dd74 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-logs.md +++ b/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-logs.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-mails.md b/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-mails.md index b16a497edb..2be751cf00 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-mails.md +++ b/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-mails.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-messaging.md b/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-messaging.md index 9f6ecdd26c..5681495382 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-messaging.md +++ b/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-messaging.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-migrations.md b/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-migrations.md index 024672ed2d..f367724310 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-migrations.md +++ b/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-migrations.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-stats-resources.md b/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-stats-resources.md new file mode 100644 index 0000000000..339877afc2 --- /dev/null +++ b/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-stats-resources.md @@ -0,0 +1,14 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key + +Health health = new Health(client); + +HealthQueue result = await health.GetQueueStatsResources( + threshold: 0 // optional +); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-usage-dump.md b/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-usage-dump.md index cbd89bd169..c714a487a1 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-usage-dump.md +++ b/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-usage-dump.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-usage.md b/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-usage.md index ad79ae2e65..14ca758001 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-usage.md +++ b/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-usage.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-webhooks.md b/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-webhooks.md index 485f43004a..6dbbe05235 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.5.x/server-dotnet/examples/health/get-queue-webhooks.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/health/get-queue.md b/docs/examples/1.5.x/server-dotnet/examples/health/get-queue.md index 5825a2fb54..afe666b17d 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/health/get-queue.md +++ b/docs/examples/1.5.x/server-dotnet/examples/health/get-queue.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.5.x/server-dotnet/examples/health/get-storage-local.md b/docs/examples/1.5.x/server-dotnet/examples/health/get-storage-local.md index d96df2cfae..80e4f7574a 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/health/get-storage-local.md +++ b/docs/examples/1.5.x/server-dotnet/examples/health/get-storage-local.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/health/get-storage.md b/docs/examples/1.5.x/server-dotnet/examples/health/get-storage.md index eb61c19204..4643825b96 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/health/get-storage.md +++ b/docs/examples/1.5.x/server-dotnet/examples/health/get-storage.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/health/get-time.md b/docs/examples/1.5.x/server-dotnet/examples/health/get-time.md index 5120df9704..0b5d9b8a5d 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/health/get-time.md +++ b/docs/examples/1.5.x/server-dotnet/examples/health/get-time.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/health/get.md b/docs/examples/1.5.x/server-dotnet/examples/health/get.md index f062b0195c..16ac413bc4 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/health/get.md +++ b/docs/examples/1.5.x/server-dotnet/examples/health/get.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/locale/get.md b/docs/examples/1.5.x/server-dotnet/examples/locale/get.md index 54a42381d5..4ef0232eaa 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/locale/get.md +++ b/docs/examples/1.5.x/server-dotnet/examples/locale/get.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Locale locale = new Locale(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/locale/list-codes.md b/docs/examples/1.5.x/server-dotnet/examples/locale/list-codes.md index 2286882e3a..eea75da7d5 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/locale/list-codes.md +++ b/docs/examples/1.5.x/server-dotnet/examples/locale/list-codes.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Locale locale = new Locale(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/locale/list-continents.md b/docs/examples/1.5.x/server-dotnet/examples/locale/list-continents.md index 926a4ae89f..4148a3068d 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/locale/list-continents.md +++ b/docs/examples/1.5.x/server-dotnet/examples/locale/list-continents.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Locale locale = new Locale(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/locale/list-countries-e-u.md b/docs/examples/1.5.x/server-dotnet/examples/locale/list-countries-e-u.md index 4f5adf2dbb..4c86505bc7 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.5.x/server-dotnet/examples/locale/list-countries-e-u.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Locale locale = new Locale(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/locale/list-countries-phones.md b/docs/examples/1.5.x/server-dotnet/examples/locale/list-countries-phones.md index aed1b46bc0..0277e032d1 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/locale/list-countries-phones.md +++ b/docs/examples/1.5.x/server-dotnet/examples/locale/list-countries-phones.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Locale locale = new Locale(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/locale/list-countries.md b/docs/examples/1.5.x/server-dotnet/examples/locale/list-countries.md index 6bed4bcb0c..f85c528354 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/locale/list-countries.md +++ b/docs/examples/1.5.x/server-dotnet/examples/locale/list-countries.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Locale locale = new Locale(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/locale/list-currencies.md b/docs/examples/1.5.x/server-dotnet/examples/locale/list-currencies.md index eb3bf0bfff..384a5f4e12 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/locale/list-currencies.md +++ b/docs/examples/1.5.x/server-dotnet/examples/locale/list-currencies.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Locale locale = new Locale(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/locale/list-languages.md b/docs/examples/1.5.x/server-dotnet/examples/locale/list-languages.md index 915d1ea1ee..50f9dea6a9 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/locale/list-languages.md +++ b/docs/examples/1.5.x/server-dotnet/examples/locale/list-languages.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Locale locale = new Locale(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-a-p-n-s-provider.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-a-p-n-s-provider.md index db540ab121..0953e59582 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-a-p-n-s-provider.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-a-p-n-s-provider.md @@ -5,7 +5,7 @@ using Appwrite.Enums; using Appwrite.Enums; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-apns-provider.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-apns-provider.md index a2be62c7e0..b4b358dad2 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-apns-provider.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-apns-provider.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-email.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-email.md index 60eec84bb6..1ce8b2cd40 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-email.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-email.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-f-c-m-provider.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-f-c-m-provider.md index cfb6e4fc1e..6fe64c35e0 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-f-c-m-provider.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-f-c-m-provider.md @@ -5,7 +5,7 @@ using Appwrite.Enums; using Appwrite.Enums; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-fcm-provider.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-fcm-provider.md index 3041a1e989..7558191115 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-fcm-provider.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-fcm-provider.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-mailgun-provider.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-mailgun-provider.md index aac1598403..311ad7f948 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-mailgun-provider.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-mailgun-provider.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-msg91provider.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-msg91provider.md index a0a8daa1fd..596e63d635 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-msg91provider.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-msg91provider.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-push.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-push.md index 10e633d536..588781b3a1 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-push.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-push.md @@ -1,18 +1,19 @@ using Appwrite; +using Appwrite.Enums; using Appwrite.Models; using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); Message result = await messaging.CreatePush( messageId: "<MESSAGE_ID>", - title: "<TITLE>", - body: "<BODY>", + title: "<TITLE>", // optional + body: "<BODY>", // optional topics: new List<string>(), // optional users: new List<string>(), // optional targets: new List<string>(), // optional @@ -23,7 +24,10 @@ Message result = await messaging.CreatePush( sound: "<SOUND>", // optional color: "<COLOR>", // optional tag: "<TAG>", // optional - badge: "<BADGE>", // optional + badge: 0, // optional draft: false, // optional - scheduledAt: "" // optional + scheduledAt: "", // optional + contentAvailable: false, // optional + critical: false, // optional + priority: MessagePriority.Normal // optional ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-s-m-s.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-s-m-s.md index d5bfd6acdc..c2eca58a06 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-s-m-s.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-s-m-s.md @@ -5,7 +5,7 @@ using Appwrite.Enums; using Appwrite.Enums; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-s-m-t-p-provider.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-s-m-t-p-provider.md index 66ff4fa4a4..583bbb4d1e 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-s-m-t-p-provider.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-s-m-t-p-provider.md @@ -6,7 +6,7 @@ using Appwrite.Enums; using Appwrite.Enums; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-sendgrid-provider.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-sendgrid-provider.md index 56b28c673a..64de3805dd 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-sendgrid-provider.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-sendgrid-provider.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-sms.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-sms.md index b84ad5dde7..3ef5cb925e 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-sms.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-sms.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-smtp-provider.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-smtp-provider.md index db98dc722a..fdbd4ea5c3 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-smtp-provider.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-smtp-provider.md @@ -5,8 +5,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-subscriber.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-subscriber.md index 3360e3429e..f188a4fefa 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-subscriber.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-subscriber.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetJWT("<YOUR_JWT>"); // Your secret JSON Web Token Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-telesign-provider.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-telesign-provider.md index bf3eaee45d..8476f08866 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-telesign-provider.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-telesign-provider.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-textmagic-provider.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-textmagic-provider.md index 49e909bac9..98fbf86c23 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-textmagic-provider.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-textmagic-provider.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-topic.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-topic.md index f943f4384f..4e28defc50 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-topic.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-topic.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-twilio-provider.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-twilio-provider.md index 36f8881650..7902da1a34 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-twilio-provider.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-twilio-provider.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-vonage-provider.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-vonage-provider.md index 3c61376075..4dfe73175f 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/create-vonage-provider.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/create-vonage-provider.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/delete-provider.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/delete-provider.md index c7d8073937..767323047e 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/delete-provider.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/delete-provider.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/delete-subscriber.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/delete-subscriber.md index 249b6b0914..54b4188773 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/delete-subscriber.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/delete-subscriber.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetJWT("<YOUR_JWT>"); // Your secret JSON Web Token Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/delete-topic.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/delete-topic.md index e39f2c45f6..22226992c7 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/delete-topic.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/delete-topic.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/delete.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/delete.md index efbb7e0f0d..d0b2a243a2 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/delete.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/delete.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/get-message.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/get-message.md index 97c9222988..1959738758 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/get-message.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/get-message.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/get-provider.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/get-provider.md index 261c13247a..bc413b1ca1 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/get-provider.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/get-provider.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/get-subscriber.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/get-subscriber.md index 8a20feffe2..9a158961b1 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/get-subscriber.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/get-subscriber.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/get-topic.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/get-topic.md index 857ffc0ab6..43b7bcb55d 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/get-topic.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/get-topic.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/list-message-logs.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/list-message-logs.md index 4075261193..2d1a5fe9b7 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/list-message-logs.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/list-message-logs.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/list-messages.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/list-messages.md index 7936a67cea..5004c7d0c4 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/list-messages.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/list-messages.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/list-provider-logs.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/list-provider-logs.md index 904663e2c2..47b55acc26 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/list-provider-logs.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/list-provider-logs.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/list-providers.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/list-providers.md index cd81771ec7..2a1b4426e8 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/list-providers.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/list-providers.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/list-subscriber-logs.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/list-subscriber-logs.md index 4dff73101f..5dd1cf01b8 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/list-subscriber-logs.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/list-subscriber-logs.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/list-subscribers.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/list-subscribers.md index 4e3ad1f5ae..ca83034be0 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/list-subscribers.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/list-subscribers.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/list-targets.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/list-targets.md index ebe2b5ab10..9889e1f726 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/list-targets.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/list-targets.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/list-topic-logs.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/list-topic-logs.md index 88bc1fc0dc..b986a8babe 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/list-topic-logs.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/list-topic-logs.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/list-topics.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/list-topics.md index 02f397cd81..37842ad45a 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/list-topics.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/list-topics.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-a-p-n-s-provider.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-a-p-n-s-provider.md index 366f838633..36ff7717f3 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-a-p-n-s-provider.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-a-p-n-s-provider.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Enums; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-apns-provider.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-apns-provider.md index 9c9667f437..6750f3b786 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-apns-provider.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-apns-provider.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-email.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-email.md index a5db38cbe2..6fbb686d83 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-email.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-email.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-f-c-m-provider.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-f-c-m-provider.md index 050f8c8e2e..2467a1cb41 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-f-c-m-provider.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-f-c-m-provider.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Enums; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-fcm-provider.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-fcm-provider.md index b1a8f1ff5c..9208e930e4 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-fcm-provider.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-fcm-provider.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-mailgun-provider.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-mailgun-provider.md index 065d122755..6dd80b6349 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-mailgun-provider.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-mailgun-provider.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-msg91provider.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-msg91provider.md index 713ed5fc87..ca9c7e4e8b 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-msg91provider.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-msg91provider.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-push.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-push.md index f306272b17..2b48d1827d 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-push.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-push.md @@ -1,11 +1,12 @@ using Appwrite; +using Appwrite.Enums; using Appwrite.Models; using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); @@ -25,5 +26,8 @@ Message result = await messaging.UpdatePush( tag: "<TAG>", // optional badge: 0, // optional draft: false, // optional - scheduledAt: "" // optional + scheduledAt: "", // optional + contentAvailable: false, // optional + critical: false, // optional + priority: MessagePriority.Normal // optional ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-s-m-s.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-s-m-s.md index 4c64ff6b32..847ace5b57 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-s-m-s.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-s-m-s.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Enums; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-s-m-t-p-provider.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-s-m-t-p-provider.md index 4cb1beae4a..9538efa02e 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-s-m-t-p-provider.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-s-m-t-p-provider.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Enums; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-sendgrid-provider.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-sendgrid-provider.md index 896b8d2b53..94f5d5af2b 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-sendgrid-provider.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-sendgrid-provider.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-sms.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-sms.md index e53c728698..df2252a98b 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-sms.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-sms.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-smtp-provider.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-smtp-provider.md index 1354332553..a856055420 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-smtp-provider.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-smtp-provider.md @@ -5,8 +5,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-telesign-provider.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-telesign-provider.md index 2a26134a61..b44d068084 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-telesign-provider.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-telesign-provider.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-textmagic-provider.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-textmagic-provider.md index da23893454..6fe2f2d694 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-textmagic-provider.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-textmagic-provider.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-topic.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-topic.md index ba80bf1a23..b4a3e8ed79 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-topic.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-topic.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-twilio-provider.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-twilio-provider.md index b6060cfcc6..73078bd7a1 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-twilio-provider.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-twilio-provider.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-vonage-provider.md b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-vonage-provider.md index 89553a15e7..94bc3f400f 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/messaging/update-vonage-provider.md +++ b/docs/examples/1.5.x/server-dotnet/examples/messaging/update-vonage-provider.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/storage/create-bucket.md b/docs/examples/1.5.x/server-dotnet/examples/storage/create-bucket.md index c3d9733cdc..0a2953775b 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/storage/create-bucket.md +++ b/docs/examples/1.5.x/server-dotnet/examples/storage/create-bucket.md @@ -5,8 +5,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/storage/create-file.md b/docs/examples/1.5.x/server-dotnet/examples/storage/create-file.md index 149281a1ea..1fc110269f 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/storage/create-file.md +++ b/docs/examples/1.5.x/server-dotnet/examples/storage/create-file.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/storage/delete-bucket.md b/docs/examples/1.5.x/server-dotnet/examples/storage/delete-bucket.md index 23c6634ec6..d7cd28a911 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/storage/delete-bucket.md +++ b/docs/examples/1.5.x/server-dotnet/examples/storage/delete-bucket.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/storage/delete-file.md b/docs/examples/1.5.x/server-dotnet/examples/storage/delete-file.md index 9d4e191da8..859f81e79d 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/storage/delete-file.md +++ b/docs/examples/1.5.x/server-dotnet/examples/storage/delete-file.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/storage/get-bucket.md b/docs/examples/1.5.x/server-dotnet/examples/storage/get-bucket.md index 13ddf50d66..ea7c78c001 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/storage/get-bucket.md +++ b/docs/examples/1.5.x/server-dotnet/examples/storage/get-bucket.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/storage/get-file-download.md b/docs/examples/1.5.x/server-dotnet/examples/storage/get-file-download.md index c6b1294424..8bb19126a8 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/storage/get-file-download.md +++ b/docs/examples/1.5.x/server-dotnet/examples/storage/get-file-download.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/storage/get-file-preview.md b/docs/examples/1.5.x/server-dotnet/examples/storage/get-file-preview.md index bde0e4106d..877e913eee 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/storage/get-file-preview.md +++ b/docs/examples/1.5.x/server-dotnet/examples/storage/get-file-preview.md @@ -5,7 +5,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/storage/get-file-view.md b/docs/examples/1.5.x/server-dotnet/examples/storage/get-file-view.md index 9497543be4..e082405102 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/storage/get-file-view.md +++ b/docs/examples/1.5.x/server-dotnet/examples/storage/get-file-view.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/storage/get-file.md b/docs/examples/1.5.x/server-dotnet/examples/storage/get-file.md index 2c32d9d026..314998b73a 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/storage/get-file.md +++ b/docs/examples/1.5.x/server-dotnet/examples/storage/get-file.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/storage/list-buckets.md b/docs/examples/1.5.x/server-dotnet/examples/storage/list-buckets.md index 5545be76f5..8b59250dd9 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/storage/list-buckets.md +++ b/docs/examples/1.5.x/server-dotnet/examples/storage/list-buckets.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/storage/list-files.md b/docs/examples/1.5.x/server-dotnet/examples/storage/list-files.md index 6f75cc4fe6..cd3b52c45c 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/storage/list-files.md +++ b/docs/examples/1.5.x/server-dotnet/examples/storage/list-files.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/storage/update-bucket.md b/docs/examples/1.5.x/server-dotnet/examples/storage/update-bucket.md index 029e9ab1dd..1bd2f4f091 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/storage/update-bucket.md +++ b/docs/examples/1.5.x/server-dotnet/examples/storage/update-bucket.md @@ -5,8 +5,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/storage/update-file.md b/docs/examples/1.5.x/server-dotnet/examples/storage/update-file.md index 9d21890be6..d256e21b4f 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/storage/update-file.md +++ b/docs/examples/1.5.x/server-dotnet/examples/storage/update-file.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/teams/create-membership.md b/docs/examples/1.5.x/server-dotnet/examples/teams/create-membership.md index 3ac3f51a7f..dd768c2335 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/teams/create-membership.md +++ b/docs/examples/1.5.x/server-dotnet/examples/teams/create-membership.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/teams/create.md b/docs/examples/1.5.x/server-dotnet/examples/teams/create.md index 991423559a..5b5c8014b4 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/teams/create.md +++ b/docs/examples/1.5.x/server-dotnet/examples/teams/create.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/teams/delete-membership.md b/docs/examples/1.5.x/server-dotnet/examples/teams/delete-membership.md index 5bce1d4c6d..93f60402d7 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/teams/delete-membership.md +++ b/docs/examples/1.5.x/server-dotnet/examples/teams/delete-membership.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/teams/delete.md b/docs/examples/1.5.x/server-dotnet/examples/teams/delete.md index ddf53413bd..1c69bf0ea8 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/teams/delete.md +++ b/docs/examples/1.5.x/server-dotnet/examples/teams/delete.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/teams/get-membership.md b/docs/examples/1.5.x/server-dotnet/examples/teams/get-membership.md index 80fe57efef..bb91bc9e89 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/teams/get-membership.md +++ b/docs/examples/1.5.x/server-dotnet/examples/teams/get-membership.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/teams/get-prefs.md b/docs/examples/1.5.x/server-dotnet/examples/teams/get-prefs.md index 80333e12f5..4e6012df16 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/teams/get-prefs.md +++ b/docs/examples/1.5.x/server-dotnet/examples/teams/get-prefs.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/teams/get.md b/docs/examples/1.5.x/server-dotnet/examples/teams/get.md index fbc40f662d..c221122e7e 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/teams/get.md +++ b/docs/examples/1.5.x/server-dotnet/examples/teams/get.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/teams/list-memberships.md b/docs/examples/1.5.x/server-dotnet/examples/teams/list-memberships.md index 8664ad9808..d44f12b41c 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/teams/list-memberships.md +++ b/docs/examples/1.5.x/server-dotnet/examples/teams/list-memberships.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/teams/list.md b/docs/examples/1.5.x/server-dotnet/examples/teams/list.md index f06ab42a23..9c1a0fee65 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/teams/list.md +++ b/docs/examples/1.5.x/server-dotnet/examples/teams/list.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/teams/update-membership-status.md b/docs/examples/1.5.x/server-dotnet/examples/teams/update-membership-status.md index 5631ea4948..151f17566e 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/teams/update-membership-status.md +++ b/docs/examples/1.5.x/server-dotnet/examples/teams/update-membership-status.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/teams/update-membership.md b/docs/examples/1.5.x/server-dotnet/examples/teams/update-membership.md index 33bc057503..1d9faebbf9 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/teams/update-membership.md +++ b/docs/examples/1.5.x/server-dotnet/examples/teams/update-membership.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/teams/update-name.md b/docs/examples/1.5.x/server-dotnet/examples/teams/update-name.md index eec43cf61a..b3db0576af 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/teams/update-name.md +++ b/docs/examples/1.5.x/server-dotnet/examples/teams/update-name.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/teams/update-prefs.md b/docs/examples/1.5.x/server-dotnet/examples/teams/update-prefs.md index ea600cac19..84b9b11ca8 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/teams/update-prefs.md +++ b/docs/examples/1.5.x/server-dotnet/examples/teams/update-prefs.md @@ -4,7 +4,7 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID + .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/create-argon2user.md b/docs/examples/1.5.x/server-dotnet/examples/users/create-argon2user.md index 1658290e44..7ee4d1d89d 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/create-argon2user.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/create-argon2user.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/create-bcrypt-user.md b/docs/examples/1.5.x/server-dotnet/examples/users/create-bcrypt-user.md index 6142ffe14e..9ff609d5f4 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/create-bcrypt-user.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/create-j-w-t.md b/docs/examples/1.5.x/server-dotnet/examples/users/create-j-w-t.md new file mode 100644 index 0000000000..2997767f79 --- /dev/null +++ b/docs/examples/1.5.x/server-dotnet/examples/users/create-j-w-t.md @@ -0,0 +1,16 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key + +Users users = new Users(client); + +JWT result = await users.CreateJWT( + userId: "<USER_ID>", + sessionId: "<SESSION_ID>", // optional + duration: 0 // optional +); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/create-m-d5user.md b/docs/examples/1.5.x/server-dotnet/examples/users/create-m-d5user.md index fe4571c5f3..7294c805ed 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/create-m-d5user.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/create-m-d5user.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/create-mfa-recovery-codes.md b/docs/examples/1.5.x/server-dotnet/examples/users/create-mfa-recovery-codes.md index 5c308dc84e..bbc41a66a1 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/create-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/create-mfa-recovery-codes.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/create-p-h-pass-user.md b/docs/examples/1.5.x/server-dotnet/examples/users/create-p-h-pass-user.md index 0bbbc334e2..3db0dc707d 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/create-p-h-pass-user.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/create-s-h-a-user.md b/docs/examples/1.5.x/server-dotnet/examples/users/create-s-h-a-user.md index 4912995488..873e666cdc 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/create-s-h-a-user.md @@ -5,8 +5,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/create-scrypt-modified-user.md b/docs/examples/1.5.x/server-dotnet/examples/users/create-scrypt-modified-user.md index 389585c825..7af9f2ab8b 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/create-scrypt-modified-user.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/create-scrypt-user.md b/docs/examples/1.5.x/server-dotnet/examples/users/create-scrypt-user.md index 8a08036eec..14ee42e489 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/create-scrypt-user.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/create-scrypt-user.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/create-session.md b/docs/examples/1.5.x/server-dotnet/examples/users/create-session.md index ef29c03749..f624ff8554 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/create-session.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/create-session.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/create-target.md b/docs/examples/1.5.x/server-dotnet/examples/users/create-target.md index 9ac56a9c7f..80717ae19b 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/create-target.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/create-target.md @@ -5,8 +5,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/create-token.md b/docs/examples/1.5.x/server-dotnet/examples/users/create-token.md index 8243fe7207..ce96abc50c 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/create-token.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/create-token.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/create.md b/docs/examples/1.5.x/server-dotnet/examples/users/create.md index 87c2943d8e..04e25c3273 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/create.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/create.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/delete-authenticator.md b/docs/examples/1.5.x/server-dotnet/examples/users/delete-authenticator.md index 8cc8f63c43..b17b655864 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/delete-authenticator.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/delete-authenticator.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/delete-identity.md b/docs/examples/1.5.x/server-dotnet/examples/users/delete-identity.md index e02a0f0d7c..9579eba7a2 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/delete-identity.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/delete-identity.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/delete-mfa-authenticator.md b/docs/examples/1.5.x/server-dotnet/examples/users/delete-mfa-authenticator.md index c642cd8449..c3d081bf56 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/delete-mfa-authenticator.md @@ -5,8 +5,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/delete-session.md b/docs/examples/1.5.x/server-dotnet/examples/users/delete-session.md index a86909517d..ff46be8ad2 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/delete-session.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/delete-session.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/delete-sessions.md b/docs/examples/1.5.x/server-dotnet/examples/users/delete-sessions.md index 21d96f3322..5b9f5e1aa9 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/delete-sessions.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/delete-sessions.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/delete-target.md b/docs/examples/1.5.x/server-dotnet/examples/users/delete-target.md index cfbbe67123..482b229912 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/delete-target.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/delete-target.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/delete.md b/docs/examples/1.5.x/server-dotnet/examples/users/delete.md index 1adfb1821a..670b98cbd1 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/delete.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/delete.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/get-mfa-recovery-codes.md b/docs/examples/1.5.x/server-dotnet/examples/users/get-mfa-recovery-codes.md index 5734cf4819..a69c58da2a 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/get-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/get-mfa-recovery-codes.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/get-prefs.md b/docs/examples/1.5.x/server-dotnet/examples/users/get-prefs.md index 732f754aaf..ec25c4160f 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/get-prefs.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/get-prefs.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/get-target.md b/docs/examples/1.5.x/server-dotnet/examples/users/get-target.md index 776a7a86dd..10a6955e49 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/get-target.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/get-target.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/get.md b/docs/examples/1.5.x/server-dotnet/examples/users/get.md index a3120b814e..7dc7eebdaa 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/get.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/get.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/list-factors.md b/docs/examples/1.5.x/server-dotnet/examples/users/list-factors.md index a76aa24e84..302fd230c7 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/list-factors.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/list-factors.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/list-identities.md b/docs/examples/1.5.x/server-dotnet/examples/users/list-identities.md index fe776a3c94..36a9b5f770 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/list-identities.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/list-identities.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/list-logs.md b/docs/examples/1.5.x/server-dotnet/examples/users/list-logs.md index eb1d8c451c..303839792b 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/list-logs.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/list-logs.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/list-memberships.md b/docs/examples/1.5.x/server-dotnet/examples/users/list-memberships.md index 1d34705522..5c833de366 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/list-memberships.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/list-memberships.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/list-mfa-factors.md b/docs/examples/1.5.x/server-dotnet/examples/users/list-mfa-factors.md index 224f4f0836..31e1ee3d55 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/list-mfa-factors.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/list-mfa-factors.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/list-providers.md b/docs/examples/1.5.x/server-dotnet/examples/users/list-providers.md index dbe0bab5a6..989ae5783e 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/list-providers.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/list-providers.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Enums; var client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/list-sessions.md b/docs/examples/1.5.x/server-dotnet/examples/users/list-sessions.md index df0ecd816b..a5c0750529 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/list-sessions.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/list-sessions.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/list-targets.md b/docs/examples/1.5.x/server-dotnet/examples/users/list-targets.md index 2f79c89d41..ded2ade2b6 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/list-targets.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/list-targets.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/list.md b/docs/examples/1.5.x/server-dotnet/examples/users/list.md index 92060abd67..74bce0bb1a 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/list.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/list.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/update-email-verification.md b/docs/examples/1.5.x/server-dotnet/examples/users/update-email-verification.md index 1d93191870..025d4f0a21 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/update-email-verification.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/update-email-verification.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/update-email.md b/docs/examples/1.5.x/server-dotnet/examples/users/update-email.md index 63efb73bdd..250290539f 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/update-email.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/update-email.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/update-labels.md b/docs/examples/1.5.x/server-dotnet/examples/users/update-labels.md index 283287a264..865556db2f 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/update-labels.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/update-labels.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/update-mfa-recovery-codes.md b/docs/examples/1.5.x/server-dotnet/examples/users/update-mfa-recovery-codes.md index 807c1c03d6..cb4f68eb04 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/update-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/update-mfa-recovery-codes.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/update-mfa.md b/docs/examples/1.5.x/server-dotnet/examples/users/update-mfa.md index 9f3404d3e8..bd881528c8 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/update-mfa.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/update-mfa.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/update-name.md b/docs/examples/1.5.x/server-dotnet/examples/users/update-name.md index 164ebec2d1..492a45ed68 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/update-name.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/update-name.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/update-password.md b/docs/examples/1.5.x/server-dotnet/examples/users/update-password.md index 69f580748a..aa6e621180 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/update-password.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/update-password.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/update-phone-verification.md b/docs/examples/1.5.x/server-dotnet/examples/users/update-phone-verification.md index e475202419..13ded37df6 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/update-phone-verification.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/update-phone-verification.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/update-phone.md b/docs/examples/1.5.x/server-dotnet/examples/users/update-phone.md index d92f0b7537..50708008ba 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/update-phone.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/update-phone.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/update-prefs.md b/docs/examples/1.5.x/server-dotnet/examples/users/update-prefs.md index 57b6e5f1cd..8015f73848 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/update-prefs.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/update-prefs.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/update-status.md b/docs/examples/1.5.x/server-dotnet/examples/users/update-status.md index 0657570a73..f476bc5823 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/update-status.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/update-status.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-dotnet/examples/users/update-target.md b/docs/examples/1.5.x/server-dotnet/examples/users/update-target.md index fb431035d8..9fe888c7e3 100644 --- a/docs/examples/1.5.x/server-dotnet/examples/users/update-target.md +++ b/docs/examples/1.5.x/server-dotnet/examples/users/update-target.md @@ -4,8 +4,8 @@ using Appwrite.Services; Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("5df5acd0d48c2") // Your project ID - .SetKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-go/examples/account/create-anonymous-session.md b/docs/examples/1.5.x/server-go/examples/account/create-anonymous-session.md new file mode 100644 index 0000000000..bdf9c1b8e8 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/create-anonymous-session.md @@ -0,0 +1,24 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + + service := account.NewAccount(client) + response, error := service.CreateAnonymousSession( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/create-email-password-session.md b/docs/examples/1.5.x/server-go/examples/account/create-email-password-session.md new file mode 100644 index 0000000000..b6573084a9 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/create-email-password-session.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + + service := account.NewAccount(client) + response, error := service.CreateEmailPasswordSession( + "email@example.com", + "password", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/create-email-token.md b/docs/examples/1.5.x/server-go/examples/account/create-email-token.md new file mode 100644 index 0000000000..b9aae640a0 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/create-email-token.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + + service := account.NewAccount(client) + response, error := service.CreateEmailToken( + "<USER_ID>", + "email@example.com", + account.WithCreateEmailTokenPhrase(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/create-j-w-t.md b/docs/examples/1.5.x/server-go/examples/account/create-j-w-t.md new file mode 100644 index 0000000000..fa4d41b315 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/create-j-w-t.md @@ -0,0 +1,24 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + + service := account.NewAccount(client) + response, error := service.CreateJWT( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/create-magic-u-r-l-token.md b/docs/examples/1.5.x/server-go/examples/account/create-magic-u-r-l-token.md new file mode 100644 index 0000000000..cd1d07e5e0 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/create-magic-u-r-l-token.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + + service := account.NewAccount(client) + response, error := service.CreateMagicURLToken( + "<USER_ID>", + "email@example.com", + account.WithCreateMagicURLTokenUrl("https://example.com"), + account.WithCreateMagicURLTokenPhrase(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/create-mfa-authenticator.md b/docs/examples/1.5.x/server-go/examples/account/create-mfa-authenticator.md new file mode 100644 index 0000000000..150e4d18d6 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/create-mfa-authenticator.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := account.NewAccount(client) + response, error := service.CreateMfaAuthenticator( + "totp", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/create-mfa-challenge.md b/docs/examples/1.5.x/server-go/examples/account/create-mfa-challenge.md new file mode 100644 index 0000000000..93e122f8b3 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/create-mfa-challenge.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + + service := account.NewAccount(client) + response, error := service.CreateMfaChallenge( + "email", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/create-mfa-recovery-codes.md b/docs/examples/1.5.x/server-go/examples/account/create-mfa-recovery-codes.md new file mode 100644 index 0000000000..005b9603d8 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/create-mfa-recovery-codes.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := account.NewAccount(client) + response, error := service.CreateMfaRecoveryCodes( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/create-o-auth2token.md b/docs/examples/1.5.x/server-go/examples/account/create-o-auth2token.md new file mode 100644 index 0000000000..6cc11b004b --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/create-o-auth2token.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + + service := account.NewAccount(client) + response, error := service.CreateOAuth2Token( + "amazon", + account.WithCreateOAuth2TokenSuccess("https://example.com"), + account.WithCreateOAuth2TokenFailure("https://example.com"), + account.WithCreateOAuth2TokenScopes([]interface{}{}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/create-phone-token.md b/docs/examples/1.5.x/server-go/examples/account/create-phone-token.md new file mode 100644 index 0000000000..eff0aa2ae0 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/create-phone-token.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + + service := account.NewAccount(client) + response, error := service.CreatePhoneToken( + "<USER_ID>", + "+12065550100", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/create-phone-verification.md b/docs/examples/1.5.x/server-go/examples/account/create-phone-verification.md new file mode 100644 index 0000000000..fff450710d --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/create-phone-verification.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := account.NewAccount(client) + response, error := service.CreatePhoneVerification( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/create-recovery.md b/docs/examples/1.5.x/server-go/examples/account/create-recovery.md new file mode 100644 index 0000000000..6fc0115b03 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/create-recovery.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := account.NewAccount(client) + response, error := service.CreateRecovery( + "email@example.com", + "https://example.com", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/create-session.md b/docs/examples/1.5.x/server-go/examples/account/create-session.md new file mode 100644 index 0000000000..c525401b5f --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/create-session.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + + service := account.NewAccount(client) + response, error := service.CreateSession( + "<USER_ID>", + "<SECRET>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/create-verification.md b/docs/examples/1.5.x/server-go/examples/account/create-verification.md new file mode 100644 index 0000000000..9e2cecc6f9 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/create-verification.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := account.NewAccount(client) + response, error := service.CreateVerification( + "https://example.com", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/create.md b/docs/examples/1.5.x/server-go/examples/account/create.md new file mode 100644 index 0000000000..9cc27a5f1d --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/create.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + + service := account.NewAccount(client) + response, error := service.Create( + "<USER_ID>", + "email@example.com", + "", + account.WithCreateName("<NAME>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/delete-identity.md b/docs/examples/1.5.x/server-go/examples/account/delete-identity.md new file mode 100644 index 0000000000..939a3efa01 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/delete-identity.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := account.NewAccount(client) + response, error := service.DeleteIdentity( + "<IDENTITY_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/delete-mfa-authenticator.md b/docs/examples/1.5.x/server-go/examples/account/delete-mfa-authenticator.md new file mode 100644 index 0000000000..664628b44e --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/delete-mfa-authenticator.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := account.NewAccount(client) + response, error := service.DeleteMfaAuthenticator( + "totp", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/delete-session.md b/docs/examples/1.5.x/server-go/examples/account/delete-session.md new file mode 100644 index 0000000000..c153451efe --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/delete-session.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := account.NewAccount(client) + response, error := service.DeleteSession( + "<SESSION_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/delete-sessions.md b/docs/examples/1.5.x/server-go/examples/account/delete-sessions.md new file mode 100644 index 0000000000..3c782b93dd --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/delete-sessions.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := account.NewAccount(client) + response, error := service.DeleteSessions( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.5.x/server-go/examples/account/get-mfa-recovery-codes.md new file mode 100644 index 0000000000..d6abf99553 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/get-mfa-recovery-codes.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := account.NewAccount(client) + response, error := service.GetMfaRecoveryCodes( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/get-prefs.md b/docs/examples/1.5.x/server-go/examples/account/get-prefs.md new file mode 100644 index 0000000000..555e99d04d --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/get-prefs.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := account.NewAccount(client) + response, error := service.GetPrefs( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/get-session.md b/docs/examples/1.5.x/server-go/examples/account/get-session.md new file mode 100644 index 0000000000..b9958823bb --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/get-session.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := account.NewAccount(client) + response, error := service.GetSession( + "<SESSION_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/get.md b/docs/examples/1.5.x/server-go/examples/account/get.md new file mode 100644 index 0000000000..47e52e895f --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/get.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := account.NewAccount(client) + response, error := service.Get( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/list-identities.md b/docs/examples/1.5.x/server-go/examples/account/list-identities.md new file mode 100644 index 0000000000..01b398018f --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/list-identities.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := account.NewAccount(client) + response, error := service.ListIdentities( + account.WithListIdentitiesQueries([]interface{}{}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/list-logs.md b/docs/examples/1.5.x/server-go/examples/account/list-logs.md new file mode 100644 index 0000000000..9cbdaa3569 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/list-logs.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := account.NewAccount(client) + response, error := service.ListLogs( + account.WithListLogsQueries([]interface{}{}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/list-mfa-factors.md b/docs/examples/1.5.x/server-go/examples/account/list-mfa-factors.md new file mode 100644 index 0000000000..8e028c9615 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/list-mfa-factors.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := account.NewAccount(client) + response, error := service.ListMfaFactors( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/list-sessions.md b/docs/examples/1.5.x/server-go/examples/account/list-sessions.md new file mode 100644 index 0000000000..12454750d1 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/list-sessions.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := account.NewAccount(client) + response, error := service.ListSessions( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/update-email.md b/docs/examples/1.5.x/server-go/examples/account/update-email.md new file mode 100644 index 0000000000..16c31efe88 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/update-email.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := account.NewAccount(client) + response, error := service.UpdateEmail( + "email@example.com", + "password", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/update-m-f-a.md b/docs/examples/1.5.x/server-go/examples/account/update-m-f-a.md new file mode 100644 index 0000000000..f06eb959c1 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/update-m-f-a.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := account.NewAccount(client) + response, error := service.UpdateMFA( + false, + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.5.x/server-go/examples/account/update-magic-u-r-l-session.md new file mode 100644 index 0000000000..aaf8d69772 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/update-magic-u-r-l-session.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + + service := account.NewAccount(client) + response, error := service.UpdateMagicURLSession( + "<USER_ID>", + "<SECRET>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/update-mfa-authenticator.md b/docs/examples/1.5.x/server-go/examples/account/update-mfa-authenticator.md new file mode 100644 index 0000000000..350dcfaf64 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/update-mfa-authenticator.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := account.NewAccount(client) + response, error := service.UpdateMfaAuthenticator( + "totp", + "<OTP>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/update-mfa-challenge.md b/docs/examples/1.5.x/server-go/examples/account/update-mfa-challenge.md new file mode 100644 index 0000000000..2c367fbc96 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/update-mfa-challenge.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := account.NewAccount(client) + response, error := service.UpdateMfaChallenge( + "<CHALLENGE_ID>", + "<OTP>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/update-mfa-recovery-codes.md b/docs/examples/1.5.x/server-go/examples/account/update-mfa-recovery-codes.md new file mode 100644 index 0000000000..c04f169fa8 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/update-mfa-recovery-codes.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := account.NewAccount(client) + response, error := service.UpdateMfaRecoveryCodes( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/update-name.md b/docs/examples/1.5.x/server-go/examples/account/update-name.md new file mode 100644 index 0000000000..31baf1f1da --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/update-name.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := account.NewAccount(client) + response, error := service.UpdateName( + "<NAME>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/update-password.md b/docs/examples/1.5.x/server-go/examples/account/update-password.md new file mode 100644 index 0000000000..770d748ccf --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/update-password.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := account.NewAccount(client) + response, error := service.UpdatePassword( + "", + account.WithUpdatePasswordOldPassword("password"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/update-phone-session.md b/docs/examples/1.5.x/server-go/examples/account/update-phone-session.md new file mode 100644 index 0000000000..4fb1e2ac69 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/update-phone-session.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + + service := account.NewAccount(client) + response, error := service.UpdatePhoneSession( + "<USER_ID>", + "<SECRET>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/update-phone-verification.md b/docs/examples/1.5.x/server-go/examples/account/update-phone-verification.md new file mode 100644 index 0000000000..0e3af85754 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/update-phone-verification.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := account.NewAccount(client) + response, error := service.UpdatePhoneVerification( + "<USER_ID>", + "<SECRET>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/update-phone.md b/docs/examples/1.5.x/server-go/examples/account/update-phone.md new file mode 100644 index 0000000000..3c39ab2899 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/update-phone.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := account.NewAccount(client) + response, error := service.UpdatePhone( + "+12065550100", + "password", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/update-prefs.md b/docs/examples/1.5.x/server-go/examples/account/update-prefs.md new file mode 100644 index 0000000000..822c6fdfbb --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/update-prefs.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := account.NewAccount(client) + response, error := service.UpdatePrefs( + map[string]interface{}{}, + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/update-recovery.md b/docs/examples/1.5.x/server-go/examples/account/update-recovery.md new file mode 100644 index 0000000000..0450f9a03c --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/update-recovery.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := account.NewAccount(client) + response, error := service.UpdateRecovery( + "<USER_ID>", + "<SECRET>", + "", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/update-session.md b/docs/examples/1.5.x/server-go/examples/account/update-session.md new file mode 100644 index 0000000000..cc03ef1acd --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/update-session.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := account.NewAccount(client) + response, error := service.UpdateSession( + "<SESSION_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/update-status.md b/docs/examples/1.5.x/server-go/examples/account/update-status.md new file mode 100644 index 0000000000..2e1f4f2e2b --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/update-status.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := account.NewAccount(client) + response, error := service.UpdateStatus( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/account/update-verification.md b/docs/examples/1.5.x/server-go/examples/account/update-verification.md new file mode 100644 index 0000000000..4e245c6bd6 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/account/update-verification.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := account.NewAccount(client) + response, error := service.UpdateVerification( + "<USER_ID>", + "<SECRET>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/avatars/get-browser.md b/docs/examples/1.5.x/server-go/examples/avatars/get-browser.md new file mode 100644 index 0000000000..41e6d3a64a --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/avatars/get-browser.md @@ -0,0 +1,29 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/avatars" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := avatars.NewAvatars(client) + response, error := service.GetBrowser( + "aa", + avatars.WithGetBrowserWidth(0), + avatars.WithGetBrowserHeight(0), + avatars.WithGetBrowserQuality(0), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/avatars/get-credit-card.md b/docs/examples/1.5.x/server-go/examples/avatars/get-credit-card.md new file mode 100644 index 0000000000..29fa7c1715 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/avatars/get-credit-card.md @@ -0,0 +1,29 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/avatars" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := avatars.NewAvatars(client) + response, error := service.GetCreditCard( + "amex", + avatars.WithGetCreditCardWidth(0), + avatars.WithGetCreditCardHeight(0), + avatars.WithGetCreditCardQuality(0), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/avatars/get-favicon.md b/docs/examples/1.5.x/server-go/examples/avatars/get-favicon.md new file mode 100644 index 0000000000..52d7120133 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/avatars/get-favicon.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/avatars" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := avatars.NewAvatars(client) + response, error := service.GetFavicon( + "https://example.com", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/avatars/get-flag.md b/docs/examples/1.5.x/server-go/examples/avatars/get-flag.md new file mode 100644 index 0000000000..2024a671c7 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/avatars/get-flag.md @@ -0,0 +1,29 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/avatars" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := avatars.NewAvatars(client) + response, error := service.GetFlag( + "af", + avatars.WithGetFlagWidth(0), + avatars.WithGetFlagHeight(0), + avatars.WithGetFlagQuality(0), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/avatars/get-image.md b/docs/examples/1.5.x/server-go/examples/avatars/get-image.md new file mode 100644 index 0000000000..cbcb8c7b80 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/avatars/get-image.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/avatars" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := avatars.NewAvatars(client) + response, error := service.GetImage( + "https://example.com", + avatars.WithGetImageWidth(0), + avatars.WithGetImageHeight(0), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/avatars/get-initials.md b/docs/examples/1.5.x/server-go/examples/avatars/get-initials.md new file mode 100644 index 0000000000..83c2f212da --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/avatars/get-initials.md @@ -0,0 +1,29 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/avatars" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := avatars.NewAvatars(client) + response, error := service.GetInitials( + avatars.WithGetInitialsName("<NAME>"), + avatars.WithGetInitialsWidth(0), + avatars.WithGetInitialsHeight(0), + avatars.WithGetInitialsBackground(""), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/avatars/get-q-r.md b/docs/examples/1.5.x/server-go/examples/avatars/get-q-r.md new file mode 100644 index 0000000000..172e272016 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/avatars/get-q-r.md @@ -0,0 +1,29 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/avatars" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := avatars.NewAvatars(client) + response, error := service.GetQR( + "<TEXT>", + avatars.WithGetQRSize(1), + avatars.WithGetQRMargin(0), + avatars.WithGetQRDownload(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/create-boolean-attribute.md b/docs/examples/1.5.x/server-go/examples/databases/create-boolean-attribute.md new file mode 100644 index 0000000000..e0a0a4255d --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/create-boolean-attribute.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.CreateBooleanAttribute( + "<DATABASE_ID>", + "<COLLECTION_ID>", + "", + false, + databases.WithCreateBooleanAttributeDefault(false), + databases.WithCreateBooleanAttributeArray(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/create-collection.md b/docs/examples/1.5.x/server-go/examples/databases/create-collection.md new file mode 100644 index 0000000000..8b42c00dc1 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/create-collection.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.CreateCollection( + "<DATABASE_ID>", + "<COLLECTION_ID>", + "<NAME>", + databases.WithCreateCollectionPermissions(interface{}{"read("any")"}), + databases.WithCreateCollectionDocumentSecurity(false), + databases.WithCreateCollectionEnabled(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/create-datetime-attribute.md b/docs/examples/1.5.x/server-go/examples/databases/create-datetime-attribute.md new file mode 100644 index 0000000000..f8dc80f7fd --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/create-datetime-attribute.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.CreateDatetimeAttribute( + "<DATABASE_ID>", + "<COLLECTION_ID>", + "", + false, + databases.WithCreateDatetimeAttributeDefault(""), + databases.WithCreateDatetimeAttributeArray(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/create-document.md b/docs/examples/1.5.x/server-go/examples/databases/create-document.md new file mode 100644 index 0000000000..19bcdba0a4 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/create-document.md @@ -0,0 +1,30 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := databases.NewDatabases(client) + response, error := service.CreateDocument( + "<DATABASE_ID>", + "<COLLECTION_ID>", + "<DOCUMENT_ID>", + map[string]interface{}{}, + databases.WithCreateDocumentPermissions(interface{}{"read("any")"}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/create-email-attribute.md b/docs/examples/1.5.x/server-go/examples/databases/create-email-attribute.md new file mode 100644 index 0000000000..c79d5f28ca --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/create-email-attribute.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.CreateEmailAttribute( + "<DATABASE_ID>", + "<COLLECTION_ID>", + "", + false, + databases.WithCreateEmailAttributeDefault("email@example.com"), + databases.WithCreateEmailAttributeArray(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/create-enum-attribute.md b/docs/examples/1.5.x/server-go/examples/databases/create-enum-attribute.md new file mode 100644 index 0000000000..ade770e80e --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/create-enum-attribute.md @@ -0,0 +1,32 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.CreateEnumAttribute( + "<DATABASE_ID>", + "<COLLECTION_ID>", + "", + []interface{}{}, + false, + databases.WithCreateEnumAttributeDefault("<DEFAULT>"), + databases.WithCreateEnumAttributeArray(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/create-float-attribute.md b/docs/examples/1.5.x/server-go/examples/databases/create-float-attribute.md new file mode 100644 index 0000000000..fc873a21f0 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/create-float-attribute.md @@ -0,0 +1,33 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.CreateFloatAttribute( + "<DATABASE_ID>", + "<COLLECTION_ID>", + "", + false, + databases.WithCreateFloatAttributeMin(0), + databases.WithCreateFloatAttributeMax(0), + databases.WithCreateFloatAttributeDefault(0), + databases.WithCreateFloatAttributeArray(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/create-index.md b/docs/examples/1.5.x/server-go/examples/databases/create-index.md new file mode 100644 index 0000000000..417a5ffbe9 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/create-index.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.CreateIndex( + "<DATABASE_ID>", + "<COLLECTION_ID>", + "", + "key", + []interface{}{}, + databases.WithCreateIndexOrders([]interface{}{}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/create-integer-attribute.md b/docs/examples/1.5.x/server-go/examples/databases/create-integer-attribute.md new file mode 100644 index 0000000000..3ab7505e51 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/create-integer-attribute.md @@ -0,0 +1,33 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.CreateIntegerAttribute( + "<DATABASE_ID>", + "<COLLECTION_ID>", + "", + false, + databases.WithCreateIntegerAttributeMin(0), + databases.WithCreateIntegerAttributeMax(0), + databases.WithCreateIntegerAttributeDefault(0), + databases.WithCreateIntegerAttributeArray(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/create-ip-attribute.md b/docs/examples/1.5.x/server-go/examples/databases/create-ip-attribute.md new file mode 100644 index 0000000000..5f80658c77 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/create-ip-attribute.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.CreateIpAttribute( + "<DATABASE_ID>", + "<COLLECTION_ID>", + "", + false, + databases.WithCreateIpAttributeDefault(""), + databases.WithCreateIpAttributeArray(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/create-relationship-attribute.md b/docs/examples/1.5.x/server-go/examples/databases/create-relationship-attribute.md new file mode 100644 index 0000000000..2e9431901c --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/create-relationship-attribute.md @@ -0,0 +1,33 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.CreateRelationshipAttribute( + "<DATABASE_ID>", + "<COLLECTION_ID>", + "<RELATED_COLLECTION_ID>", + "oneToOne", + databases.WithCreateRelationshipAttributeTwoWay(false), + databases.WithCreateRelationshipAttributeKey(""), + databases.WithCreateRelationshipAttributeTwoWayKey(""), + databases.WithCreateRelationshipAttributeOnDelete("cascade"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/create-string-attribute.md b/docs/examples/1.5.x/server-go/examples/databases/create-string-attribute.md new file mode 100644 index 0000000000..07fc841f74 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/create-string-attribute.md @@ -0,0 +1,33 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.CreateStringAttribute( + "<DATABASE_ID>", + "<COLLECTION_ID>", + "", + 1, + false, + databases.WithCreateStringAttributeDefault("<DEFAULT>"), + databases.WithCreateStringAttributeArray(false), + databases.WithCreateStringAttributeEncrypt(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/create-url-attribute.md b/docs/examples/1.5.x/server-go/examples/databases/create-url-attribute.md new file mode 100644 index 0000000000..a4525afc01 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/create-url-attribute.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.CreateUrlAttribute( + "<DATABASE_ID>", + "<COLLECTION_ID>", + "", + false, + databases.WithCreateUrlAttributeDefault("https://example.com"), + databases.WithCreateUrlAttributeArray(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/create.md b/docs/examples/1.5.x/server-go/examples/databases/create.md new file mode 100644 index 0000000000..3303b89722 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/create.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.Create( + "<DATABASE_ID>", + "<NAME>", + databases.WithCreateEnabled(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/delete-attribute.md b/docs/examples/1.5.x/server-go/examples/databases/delete-attribute.md new file mode 100644 index 0000000000..6d4f2c89d7 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/delete-attribute.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.DeleteAttribute( + "<DATABASE_ID>", + "<COLLECTION_ID>", + "", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/delete-collection.md b/docs/examples/1.5.x/server-go/examples/databases/delete-collection.md new file mode 100644 index 0000000000..33b6cce1c8 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/delete-collection.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.DeleteCollection( + "<DATABASE_ID>", + "<COLLECTION_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/delete-document.md b/docs/examples/1.5.x/server-go/examples/databases/delete-document.md new file mode 100644 index 0000000000..e1d98e79c2 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/delete-document.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := databases.NewDatabases(client) + response, error := service.DeleteDocument( + "<DATABASE_ID>", + "<COLLECTION_ID>", + "<DOCUMENT_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/delete-index.md b/docs/examples/1.5.x/server-go/examples/databases/delete-index.md new file mode 100644 index 0000000000..540afeac4a --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/delete-index.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.DeleteIndex( + "<DATABASE_ID>", + "<COLLECTION_ID>", + "", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/delete.md b/docs/examples/1.5.x/server-go/examples/databases/delete.md new file mode 100644 index 0000000000..76139289ce --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/delete.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.Delete( + "<DATABASE_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/get-attribute.md b/docs/examples/1.5.x/server-go/examples/databases/get-attribute.md new file mode 100644 index 0000000000..b819b75820 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/get-attribute.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.GetAttribute( + "<DATABASE_ID>", + "<COLLECTION_ID>", + "", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/get-collection.md b/docs/examples/1.5.x/server-go/examples/databases/get-collection.md new file mode 100644 index 0000000000..9b9cd41aa3 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/get-collection.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.GetCollection( + "<DATABASE_ID>", + "<COLLECTION_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/get-document.md b/docs/examples/1.5.x/server-go/examples/databases/get-document.md new file mode 100644 index 0000000000..d1e2d7b377 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/get-document.md @@ -0,0 +1,29 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := databases.NewDatabases(client) + response, error := service.GetDocument( + "<DATABASE_ID>", + "<COLLECTION_ID>", + "<DOCUMENT_ID>", + databases.WithGetDocumentQueries([]interface{}{}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/get-index.md b/docs/examples/1.5.x/server-go/examples/databases/get-index.md new file mode 100644 index 0000000000..6c7f35113f --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/get-index.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.GetIndex( + "<DATABASE_ID>", + "<COLLECTION_ID>", + "", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/get.md b/docs/examples/1.5.x/server-go/examples/databases/get.md new file mode 100644 index 0000000000..8e1e002258 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/get.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.Get( + "<DATABASE_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/list-attributes.md b/docs/examples/1.5.x/server-go/examples/databases/list-attributes.md new file mode 100644 index 0000000000..8d127abbe6 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/list-attributes.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.ListAttributes( + "<DATABASE_ID>", + "<COLLECTION_ID>", + databases.WithListAttributesQueries([]interface{}{}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/list-collections.md b/docs/examples/1.5.x/server-go/examples/databases/list-collections.md new file mode 100644 index 0000000000..cd76783838 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/list-collections.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.ListCollections( + "<DATABASE_ID>", + databases.WithListCollectionsQueries([]interface{}{}), + databases.WithListCollectionsSearch("<SEARCH>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/list-documents.md b/docs/examples/1.5.x/server-go/examples/databases/list-documents.md new file mode 100644 index 0000000000..237b6d17f7 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/list-documents.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := databases.NewDatabases(client) + response, error := service.ListDocuments( + "<DATABASE_ID>", + "<COLLECTION_ID>", + databases.WithListDocumentsQueries([]interface{}{}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/list-indexes.md b/docs/examples/1.5.x/server-go/examples/databases/list-indexes.md new file mode 100644 index 0000000000..d0792e8dbf --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/list-indexes.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.ListIndexes( + "<DATABASE_ID>", + "<COLLECTION_ID>", + databases.WithListIndexesQueries([]interface{}{}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/list.md b/docs/examples/1.5.x/server-go/examples/databases/list.md new file mode 100644 index 0000000000..3548af4484 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/list.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.List( + databases.WithListQueries([]interface{}{}), + databases.WithListSearch("<SEARCH>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/update-boolean-attribute.md b/docs/examples/1.5.x/server-go/examples/databases/update-boolean-attribute.md new file mode 100644 index 0000000000..b5386f0111 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/update-boolean-attribute.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.UpdateBooleanAttribute( + "<DATABASE_ID>", + "<COLLECTION_ID>", + "", + false, + false, + databases.WithUpdateBooleanAttributeNewKey(""), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/update-collection.md b/docs/examples/1.5.x/server-go/examples/databases/update-collection.md new file mode 100644 index 0000000000..2e9c920022 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/update-collection.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.UpdateCollection( + "<DATABASE_ID>", + "<COLLECTION_ID>", + "<NAME>", + databases.WithUpdateCollectionPermissions(interface{}{"read("any")"}), + databases.WithUpdateCollectionDocumentSecurity(false), + databases.WithUpdateCollectionEnabled(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/update-datetime-attribute.md b/docs/examples/1.5.x/server-go/examples/databases/update-datetime-attribute.md new file mode 100644 index 0000000000..53a66e8cfe --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/update-datetime-attribute.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.UpdateDatetimeAttribute( + "<DATABASE_ID>", + "<COLLECTION_ID>", + "", + false, + "", + databases.WithUpdateDatetimeAttributeNewKey(""), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/update-document.md b/docs/examples/1.5.x/server-go/examples/databases/update-document.md new file mode 100644 index 0000000000..c934568607 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/update-document.md @@ -0,0 +1,30 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := databases.NewDatabases(client) + response, error := service.UpdateDocument( + "<DATABASE_ID>", + "<COLLECTION_ID>", + "<DOCUMENT_ID>", + databases.WithUpdateDocumentData(map[string]interface{}{}), + databases.WithUpdateDocumentPermissions(interface{}{"read("any")"}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/update-email-attribute.md b/docs/examples/1.5.x/server-go/examples/databases/update-email-attribute.md new file mode 100644 index 0000000000..0dd72beb4b --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/update-email-attribute.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.UpdateEmailAttribute( + "<DATABASE_ID>", + "<COLLECTION_ID>", + "", + false, + "email@example.com", + databases.WithUpdateEmailAttributeNewKey(""), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/update-enum-attribute.md b/docs/examples/1.5.x/server-go/examples/databases/update-enum-attribute.md new file mode 100644 index 0000000000..aec51772ee --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/update-enum-attribute.md @@ -0,0 +1,32 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.UpdateEnumAttribute( + "<DATABASE_ID>", + "<COLLECTION_ID>", + "", + []interface{}{}, + false, + "<DEFAULT>", + databases.WithUpdateEnumAttributeNewKey(""), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/update-float-attribute.md b/docs/examples/1.5.x/server-go/examples/databases/update-float-attribute.md new file mode 100644 index 0000000000..7f45543b64 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/update-float-attribute.md @@ -0,0 +1,33 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.UpdateFloatAttribute( + "<DATABASE_ID>", + "<COLLECTION_ID>", + "", + false, + 0, + databases.WithUpdateFloatAttributeMin(0), + databases.WithUpdateFloatAttributeMax(0), + databases.WithUpdateFloatAttributeNewKey(""), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/update-integer-attribute.md b/docs/examples/1.5.x/server-go/examples/databases/update-integer-attribute.md new file mode 100644 index 0000000000..07da6f38ee --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/update-integer-attribute.md @@ -0,0 +1,33 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.UpdateIntegerAttribute( + "<DATABASE_ID>", + "<COLLECTION_ID>", + "", + false, + 0, + databases.WithUpdateIntegerAttributeMin(0), + databases.WithUpdateIntegerAttributeMax(0), + databases.WithUpdateIntegerAttributeNewKey(""), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/update-ip-attribute.md b/docs/examples/1.5.x/server-go/examples/databases/update-ip-attribute.md new file mode 100644 index 0000000000..b47672c530 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/update-ip-attribute.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.UpdateIpAttribute( + "<DATABASE_ID>", + "<COLLECTION_ID>", + "", + false, + "", + databases.WithUpdateIpAttributeNewKey(""), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/update-relationship-attribute.md b/docs/examples/1.5.x/server-go/examples/databases/update-relationship-attribute.md new file mode 100644 index 0000000000..7deadc7c15 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/update-relationship-attribute.md @@ -0,0 +1,30 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.UpdateRelationshipAttribute( + "<DATABASE_ID>", + "<COLLECTION_ID>", + "", + databases.WithUpdateRelationshipAttributeOnDelete("cascade"), + databases.WithUpdateRelationshipAttributeNewKey(""), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/update-string-attribute.md b/docs/examples/1.5.x/server-go/examples/databases/update-string-attribute.md new file mode 100644 index 0000000000..f3e6addb07 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/update-string-attribute.md @@ -0,0 +1,32 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.UpdateStringAttribute( + "<DATABASE_ID>", + "<COLLECTION_ID>", + "", + false, + "<DEFAULT>", + databases.WithUpdateStringAttributeSize(1), + databases.WithUpdateStringAttributeNewKey(""), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/update-url-attribute.md b/docs/examples/1.5.x/server-go/examples/databases/update-url-attribute.md new file mode 100644 index 0000000000..98dc66fa99 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/update-url-attribute.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.UpdateUrlAttribute( + "<DATABASE_ID>", + "<COLLECTION_ID>", + "", + false, + "https://example.com", + databases.WithUpdateUrlAttributeNewKey(""), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/databases/update.md b/docs/examples/1.5.x/server-go/examples/databases/update.md new file mode 100644 index 0000000000..af9e20ba28 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/databases/update.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/databases" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := databases.NewDatabases(client) + response, error := service.Update( + "<DATABASE_ID>", + "<NAME>", + databases.WithUpdateEnabled(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/functions/create-build.md b/docs/examples/1.5.x/server-go/examples/functions/create-build.md new file mode 100644 index 0000000000..33e645bb02 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/functions/create-build.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/functions" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := functions.NewFunctions(client) + response, error := service.CreateBuild( + "<FUNCTION_ID>", + "<DEPLOYMENT_ID>", + functions.WithCreateBuildBuildId("<BUILD_ID>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/functions/create-deployment.md b/docs/examples/1.5.x/server-go/examples/functions/create-deployment.md new file mode 100644 index 0000000000..c6ec69ca4a --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/functions/create-deployment.md @@ -0,0 +1,30 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/functions" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := functions.NewFunctions(client) + response, error := service.CreateDeployment( + "<FUNCTION_ID>", + file.NewInputFile("/path/to/file.png", "file.png"), + false, + functions.WithCreateDeploymentEntrypoint("<ENTRYPOINT>"), + functions.WithCreateDeploymentCommands("<COMMANDS>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/functions/create-execution.md b/docs/examples/1.5.x/server-go/examples/functions/create-execution.md new file mode 100644 index 0000000000..4924e2338c --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/functions/create-execution.md @@ -0,0 +1,32 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/functions" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := functions.NewFunctions(client) + response, error := service.CreateExecution( + "<FUNCTION_ID>", + functions.WithCreateExecutionBody("<BODY>"), + functions.WithCreateExecutionAsync(false), + functions.WithCreateExecutionPath("<PATH>"), + functions.WithCreateExecutionMethod("GET"), + functions.WithCreateExecutionHeaders(map[string]interface{}{}), + functions.WithCreateExecutionScheduledAt(""), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/functions/create-variable.md b/docs/examples/1.5.x/server-go/examples/functions/create-variable.md new file mode 100644 index 0000000000..9d50f0e0ec --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/functions/create-variable.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/functions" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := functions.NewFunctions(client) + response, error := service.CreateVariable( + "<FUNCTION_ID>", + "<KEY>", + "<VALUE>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/functions/create.md b/docs/examples/1.5.x/server-go/examples/functions/create.md new file mode 100644 index 0000000000..01cd0f0402 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/functions/create.md @@ -0,0 +1,47 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/functions" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := functions.NewFunctions(client) + response, error := service.Create( + "<FUNCTION_ID>", + "<NAME>", + "node-14.5", + functions.WithCreateExecute(interface{}{"any"}), + functions.WithCreateEvents([]interface{}{}), + functions.WithCreateSchedule(""), + functions.WithCreateTimeout(1), + functions.WithCreateEnabled(false), + functions.WithCreateLogging(false), + functions.WithCreateEntrypoint("<ENTRYPOINT>"), + functions.WithCreateCommands("<COMMANDS>"), + functions.WithCreateScopes([]interface{}{}), + functions.WithCreateInstallationId("<INSTALLATION_ID>"), + functions.WithCreateProviderRepositoryId("<PROVIDER_REPOSITORY_ID>"), + functions.WithCreateProviderBranch("<PROVIDER_BRANCH>"), + functions.WithCreateProviderSilentMode(false), + functions.WithCreateProviderRootDirectory("<PROVIDER_ROOT_DIRECTORY>"), + functions.WithCreateTemplateRepository("<TEMPLATE_REPOSITORY>"), + functions.WithCreateTemplateOwner("<TEMPLATE_OWNER>"), + functions.WithCreateTemplateRootDirectory("<TEMPLATE_ROOT_DIRECTORY>"), + functions.WithCreateTemplateVersion("<TEMPLATE_VERSION>"), + functions.WithCreateSpecification(""), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/functions/delete-deployment.md b/docs/examples/1.5.x/server-go/examples/functions/delete-deployment.md new file mode 100644 index 0000000000..3e189ea1c6 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/functions/delete-deployment.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/functions" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := functions.NewFunctions(client) + response, error := service.DeleteDeployment( + "<FUNCTION_ID>", + "<DEPLOYMENT_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/functions/delete-execution.md b/docs/examples/1.5.x/server-go/examples/functions/delete-execution.md new file mode 100644 index 0000000000..184f6234c7 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/functions/delete-execution.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/functions" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := functions.NewFunctions(client) + response, error := service.DeleteExecution( + "<FUNCTION_ID>", + "<EXECUTION_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/functions/delete-variable.md b/docs/examples/1.5.x/server-go/examples/functions/delete-variable.md new file mode 100644 index 0000000000..da9cb443da --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/functions/delete-variable.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/functions" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := functions.NewFunctions(client) + response, error := service.DeleteVariable( + "<FUNCTION_ID>", + "<VARIABLE_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/functions/delete.md b/docs/examples/1.5.x/server-go/examples/functions/delete.md new file mode 100644 index 0000000000..c19495f32b --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/functions/delete.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/functions" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := functions.NewFunctions(client) + response, error := service.Delete( + "<FUNCTION_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/functions/get-deployment-download.md b/docs/examples/1.5.x/server-go/examples/functions/get-deployment-download.md new file mode 100644 index 0000000000..16b29f5b91 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/functions/get-deployment-download.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/functions" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := functions.NewFunctions(client) + response, error := service.GetDeploymentDownload( + "<FUNCTION_ID>", + "<DEPLOYMENT_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/functions/get-deployment.md b/docs/examples/1.5.x/server-go/examples/functions/get-deployment.md new file mode 100644 index 0000000000..879f5b3e46 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/functions/get-deployment.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/functions" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := functions.NewFunctions(client) + response, error := service.GetDeployment( + "<FUNCTION_ID>", + "<DEPLOYMENT_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/functions/get-execution.md b/docs/examples/1.5.x/server-go/examples/functions/get-execution.md new file mode 100644 index 0000000000..7ec459b7e1 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/functions/get-execution.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/functions" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := functions.NewFunctions(client) + response, error := service.GetExecution( + "<FUNCTION_ID>", + "<EXECUTION_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/functions/get-variable.md b/docs/examples/1.5.x/server-go/examples/functions/get-variable.md new file mode 100644 index 0000000000..f949ba5111 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/functions/get-variable.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/functions" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := functions.NewFunctions(client) + response, error := service.GetVariable( + "<FUNCTION_ID>", + "<VARIABLE_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/functions/get.md b/docs/examples/1.5.x/server-go/examples/functions/get.md new file mode 100644 index 0000000000..3e31a30788 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/functions/get.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/functions" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := functions.NewFunctions(client) + response, error := service.Get( + "<FUNCTION_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/functions/list-deployments.md b/docs/examples/1.5.x/server-go/examples/functions/list-deployments.md new file mode 100644 index 0000000000..9549636b8d --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/functions/list-deployments.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/functions" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := functions.NewFunctions(client) + response, error := service.ListDeployments( + "<FUNCTION_ID>", + functions.WithListDeploymentsQueries([]interface{}{}), + functions.WithListDeploymentsSearch("<SEARCH>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/functions/list-executions.md b/docs/examples/1.5.x/server-go/examples/functions/list-executions.md new file mode 100644 index 0000000000..2a6291c6f3 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/functions/list-executions.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/functions" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := functions.NewFunctions(client) + response, error := service.ListExecutions( + "<FUNCTION_ID>", + functions.WithListExecutionsQueries([]interface{}{}), + functions.WithListExecutionsSearch("<SEARCH>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/functions/list-runtimes.md b/docs/examples/1.5.x/server-go/examples/functions/list-runtimes.md new file mode 100644 index 0000000000..d5124b2d68 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/functions/list-runtimes.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/functions" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := functions.NewFunctions(client) + response, error := service.ListRuntimes( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/functions/list-specifications.md b/docs/examples/1.5.x/server-go/examples/functions/list-specifications.md new file mode 100644 index 0000000000..5fb03bb8d5 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/functions/list-specifications.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/functions" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := functions.NewFunctions(client) + response, error := service.ListSpecifications( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/functions/list-variables.md b/docs/examples/1.5.x/server-go/examples/functions/list-variables.md new file mode 100644 index 0000000000..374c64ae54 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/functions/list-variables.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/functions" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := functions.NewFunctions(client) + response, error := service.ListVariables( + "<FUNCTION_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/functions/list.md b/docs/examples/1.5.x/server-go/examples/functions/list.md new file mode 100644 index 0000000000..124126fc91 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/functions/list.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/functions" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := functions.NewFunctions(client) + response, error := service.List( + functions.WithListQueries([]interface{}{}), + functions.WithListSearch("<SEARCH>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/functions/update-deployment-build.md b/docs/examples/1.5.x/server-go/examples/functions/update-deployment-build.md new file mode 100644 index 0000000000..92af3ee31f --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/functions/update-deployment-build.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/functions" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := functions.NewFunctions(client) + response, error := service.UpdateDeploymentBuild( + "<FUNCTION_ID>", + "<DEPLOYMENT_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/functions/update-deployment.md b/docs/examples/1.5.x/server-go/examples/functions/update-deployment.md new file mode 100644 index 0000000000..da08d0d8c6 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/functions/update-deployment.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/functions" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := functions.NewFunctions(client) + response, error := service.UpdateDeployment( + "<FUNCTION_ID>", + "<DEPLOYMENT_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/functions/update-variable.md b/docs/examples/1.5.x/server-go/examples/functions/update-variable.md new file mode 100644 index 0000000000..fce59eb714 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/functions/update-variable.md @@ -0,0 +1,29 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/functions" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := functions.NewFunctions(client) + response, error := service.UpdateVariable( + "<FUNCTION_ID>", + "<VARIABLE_ID>", + "<KEY>", + functions.WithUpdateVariableValue("<VALUE>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/functions/update.md b/docs/examples/1.5.x/server-go/examples/functions/update.md new file mode 100644 index 0000000000..c29bf748ba --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/functions/update.md @@ -0,0 +1,43 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/functions" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := functions.NewFunctions(client) + response, error := service.Update( + "<FUNCTION_ID>", + "<NAME>", + functions.WithUpdateRuntime("node-14.5"), + functions.WithUpdateExecute(interface{}{"any"}), + functions.WithUpdateEvents([]interface{}{}), + functions.WithUpdateSchedule(""), + functions.WithUpdateTimeout(1), + functions.WithUpdateEnabled(false), + functions.WithUpdateLogging(false), + functions.WithUpdateEntrypoint("<ENTRYPOINT>"), + functions.WithUpdateCommands("<COMMANDS>"), + functions.WithUpdateScopes([]interface{}{}), + functions.WithUpdateInstallationId("<INSTALLATION_ID>"), + functions.WithUpdateProviderRepositoryId("<PROVIDER_REPOSITORY_ID>"), + functions.WithUpdateProviderBranch("<PROVIDER_BRANCH>"), + functions.WithUpdateProviderSilentMode(false), + functions.WithUpdateProviderRootDirectory("<PROVIDER_ROOT_DIRECTORY>"), + functions.WithUpdateSpecification(""), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/graphql/mutation.md b/docs/examples/1.5.x/server-go/examples/graphql/mutation.md new file mode 100644 index 0000000000..e011bc8016 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/graphql/mutation.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/graphql" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := graphql.NewGraphql(client) + response, error := service.Mutation( + map[string]interface{}{}, + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/graphql/query.md b/docs/examples/1.5.x/server-go/examples/graphql/query.md new file mode 100644 index 0000000000..6dec430cd7 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/graphql/query.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/graphql" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := graphql.NewGraphql(client) + response, error := service.Query( + map[string]interface{}{}, + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/health/get-antivirus.md b/docs/examples/1.5.x/server-go/examples/health/get-antivirus.md new file mode 100644 index 0000000000..2ed5b0dd5a --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/health/get-antivirus.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/health" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := health.NewHealth(client) + response, error := service.GetAntivirus( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/health/get-cache.md b/docs/examples/1.5.x/server-go/examples/health/get-cache.md new file mode 100644 index 0000000000..4e6b8de6ce --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/health/get-cache.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/health" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := health.NewHealth(client) + response, error := service.GetCache( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/health/get-certificate.md b/docs/examples/1.5.x/server-go/examples/health/get-certificate.md new file mode 100644 index 0000000000..d251fff351 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/health/get-certificate.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/health" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := health.NewHealth(client) + response, error := service.GetCertificate( + health.WithGetCertificateDomain(""), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/health/get-d-b.md b/docs/examples/1.5.x/server-go/examples/health/get-d-b.md new file mode 100644 index 0000000000..a6fbda0052 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/health/get-d-b.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/health" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := health.NewHealth(client) + response, error := service.GetDB( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/health/get-failed-jobs.md b/docs/examples/1.5.x/server-go/examples/health/get-failed-jobs.md new file mode 100644 index 0000000000..6e89dd400d --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/health/get-failed-jobs.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/health" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := health.NewHealth(client) + response, error := service.GetFailedJobs( + "v1-database", + health.WithGetFailedJobsThreshold(0), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/health/get-pub-sub.md b/docs/examples/1.5.x/server-go/examples/health/get-pub-sub.md new file mode 100644 index 0000000000..5ab0d90ef6 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/health/get-pub-sub.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/health" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := health.NewHealth(client) + response, error := service.GetPubSub( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/health/get-queue-builds.md b/docs/examples/1.5.x/server-go/examples/health/get-queue-builds.md new file mode 100644 index 0000000000..bd68bdf8b4 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/health/get-queue-builds.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/health" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := health.NewHealth(client) + response, error := service.GetQueueBuilds( + health.WithGetQueueBuildsThreshold(0), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/health/get-queue-certificates.md b/docs/examples/1.5.x/server-go/examples/health/get-queue-certificates.md new file mode 100644 index 0000000000..1e43f62b98 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/health/get-queue-certificates.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/health" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := health.NewHealth(client) + response, error := service.GetQueueCertificates( + health.WithGetQueueCertificatesThreshold(0), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/health/get-queue-databases.md b/docs/examples/1.5.x/server-go/examples/health/get-queue-databases.md new file mode 100644 index 0000000000..d0fb2fb114 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/health/get-queue-databases.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/health" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := health.NewHealth(client) + response, error := service.GetQueueDatabases( + health.WithGetQueueDatabasesName("<NAME>"), + health.WithGetQueueDatabasesThreshold(0), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/health/get-queue-deletes.md b/docs/examples/1.5.x/server-go/examples/health/get-queue-deletes.md new file mode 100644 index 0000000000..d4f76f57f2 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/health/get-queue-deletes.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/health" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := health.NewHealth(client) + response, error := service.GetQueueDeletes( + health.WithGetQueueDeletesThreshold(0), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/health/get-queue-functions.md b/docs/examples/1.5.x/server-go/examples/health/get-queue-functions.md new file mode 100644 index 0000000000..75bc0cb3c1 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/health/get-queue-functions.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/health" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := health.NewHealth(client) + response, error := service.GetQueueFunctions( + health.WithGetQueueFunctionsThreshold(0), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/health/get-queue-logs.md b/docs/examples/1.5.x/server-go/examples/health/get-queue-logs.md new file mode 100644 index 0000000000..686e42c84e --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/health/get-queue-logs.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/health" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := health.NewHealth(client) + response, error := service.GetQueueLogs( + health.WithGetQueueLogsThreshold(0), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/health/get-queue-mails.md b/docs/examples/1.5.x/server-go/examples/health/get-queue-mails.md new file mode 100644 index 0000000000..32433a1f79 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/health/get-queue-mails.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/health" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := health.NewHealth(client) + response, error := service.GetQueueMails( + health.WithGetQueueMailsThreshold(0), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/health/get-queue-messaging.md b/docs/examples/1.5.x/server-go/examples/health/get-queue-messaging.md new file mode 100644 index 0000000000..56c50010fc --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/health/get-queue-messaging.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/health" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := health.NewHealth(client) + response, error := service.GetQueueMessaging( + health.WithGetQueueMessagingThreshold(0), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/health/get-queue-migrations.md b/docs/examples/1.5.x/server-go/examples/health/get-queue-migrations.md new file mode 100644 index 0000000000..dba9bd1809 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/health/get-queue-migrations.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/health" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := health.NewHealth(client) + response, error := service.GetQueueMigrations( + health.WithGetQueueMigrationsThreshold(0), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/health/get-queue-stats-resources.md b/docs/examples/1.5.x/server-go/examples/health/get-queue-stats-resources.md new file mode 100644 index 0000000000..74462449e1 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/health/get-queue-stats-resources.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/health" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := health.NewHealth(client) + response, error := service.GetQueueStatsResources( + health.WithGetQueueStatsResourcesThreshold(0), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/health/get-queue-usage.md b/docs/examples/1.5.x/server-go/examples/health/get-queue-usage.md new file mode 100644 index 0000000000..f4315e37fb --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/health/get-queue-usage.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/health" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := health.NewHealth(client) + response, error := service.GetQueueUsage( + health.WithGetQueueUsageThreshold(0), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/health/get-queue-webhooks.md b/docs/examples/1.5.x/server-go/examples/health/get-queue-webhooks.md new file mode 100644 index 0000000000..70f3b9888c --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/health/get-queue-webhooks.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/health" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := health.NewHealth(client) + response, error := service.GetQueueWebhooks( + health.WithGetQueueWebhooksThreshold(0), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/health/get-storage-local.md b/docs/examples/1.5.x/server-go/examples/health/get-storage-local.md new file mode 100644 index 0000000000..1bebff56d4 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/health/get-storage-local.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/health" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := health.NewHealth(client) + response, error := service.GetStorageLocal( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/health/get-storage.md b/docs/examples/1.5.x/server-go/examples/health/get-storage.md new file mode 100644 index 0000000000..8ac0f7fb36 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/health/get-storage.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/health" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := health.NewHealth(client) + response, error := service.GetStorage( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/health/get-time.md b/docs/examples/1.5.x/server-go/examples/health/get-time.md new file mode 100644 index 0000000000..447954b76b --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/health/get-time.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/health" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := health.NewHealth(client) + response, error := service.GetTime( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/health/get.md b/docs/examples/1.5.x/server-go/examples/health/get.md new file mode 100644 index 0000000000..35022c7302 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/health/get.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/health" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := health.NewHealth(client) + response, error := service.Get( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/locale/get.md b/docs/examples/1.5.x/server-go/examples/locale/get.md new file mode 100644 index 0000000000..233ee953dd --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/locale/get.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/locale" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := locale.NewLocale(client) + response, error := service.Get( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/locale/list-codes.md b/docs/examples/1.5.x/server-go/examples/locale/list-codes.md new file mode 100644 index 0000000000..d3d049b1fd --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/locale/list-codes.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/locale" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := locale.NewLocale(client) + response, error := service.ListCodes( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/locale/list-continents.md b/docs/examples/1.5.x/server-go/examples/locale/list-continents.md new file mode 100644 index 0000000000..ba80f2549b --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/locale/list-continents.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/locale" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := locale.NewLocale(client) + response, error := service.ListContinents( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/locale/list-countries-e-u.md b/docs/examples/1.5.x/server-go/examples/locale/list-countries-e-u.md new file mode 100644 index 0000000000..1fbc22c1e5 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/locale/list-countries-e-u.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/locale" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := locale.NewLocale(client) + response, error := service.ListCountriesEU( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/locale/list-countries-phones.md b/docs/examples/1.5.x/server-go/examples/locale/list-countries-phones.md new file mode 100644 index 0000000000..72b7d96a19 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/locale/list-countries-phones.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/locale" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := locale.NewLocale(client) + response, error := service.ListCountriesPhones( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/locale/list-countries.md b/docs/examples/1.5.x/server-go/examples/locale/list-countries.md new file mode 100644 index 0000000000..894ae4c15b --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/locale/list-countries.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/locale" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := locale.NewLocale(client) + response, error := service.ListCountries( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/locale/list-currencies.md b/docs/examples/1.5.x/server-go/examples/locale/list-currencies.md new file mode 100644 index 0000000000..4335a93489 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/locale/list-currencies.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/locale" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := locale.NewLocale(client) + response, error := service.ListCurrencies( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/locale/list-languages.md b/docs/examples/1.5.x/server-go/examples/locale/list-languages.md new file mode 100644 index 0000000000..789d570102 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/locale/list-languages.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/locale" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := locale.NewLocale(client) + response, error := service.ListLanguages( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/create-apns-provider.md b/docs/examples/1.5.x/server-go/examples/messaging/create-apns-provider.md new file mode 100644 index 0000000000..feabfae846 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/create-apns-provider.md @@ -0,0 +1,33 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.CreateApnsProvider( + "<PROVIDER_ID>", + "<NAME>", + messaging.WithCreateApnsProviderAuthKey("<AUTH_KEY>"), + messaging.WithCreateApnsProviderAuthKeyId("<AUTH_KEY_ID>"), + messaging.WithCreateApnsProviderTeamId("<TEAM_ID>"), + messaging.WithCreateApnsProviderBundleId("<BUNDLE_ID>"), + messaging.WithCreateApnsProviderSandbox(false), + messaging.WithCreateApnsProviderEnabled(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/create-email.md b/docs/examples/1.5.x/server-go/examples/messaging/create-email.md new file mode 100644 index 0000000000..87d386452f --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/create-email.md @@ -0,0 +1,37 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.CreateEmail( + "<MESSAGE_ID>", + "<SUBJECT>", + "<CONTENT>", + messaging.WithCreateEmailTopics([]interface{}{}), + messaging.WithCreateEmailUsers([]interface{}{}), + messaging.WithCreateEmailTargets([]interface{}{}), + messaging.WithCreateEmailCc([]interface{}{}), + messaging.WithCreateEmailBcc([]interface{}{}), + messaging.WithCreateEmailAttachments([]interface{}{}), + messaging.WithCreateEmailDraft(false), + messaging.WithCreateEmailHtml(false), + messaging.WithCreateEmailScheduledAt(""), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/create-fcm-provider.md b/docs/examples/1.5.x/server-go/examples/messaging/create-fcm-provider.md new file mode 100644 index 0000000000..5422396197 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/create-fcm-provider.md @@ -0,0 +1,29 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.CreateFcmProvider( + "<PROVIDER_ID>", + "<NAME>", + messaging.WithCreateFcmProviderServiceAccountJSON(map[string]interface{}{}), + messaging.WithCreateFcmProviderEnabled(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/create-mailgun-provider.md b/docs/examples/1.5.x/server-go/examples/messaging/create-mailgun-provider.md new file mode 100644 index 0000000000..2b26246fba --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/create-mailgun-provider.md @@ -0,0 +1,35 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.CreateMailgunProvider( + "<PROVIDER_ID>", + "<NAME>", + messaging.WithCreateMailgunProviderApiKey("<API_KEY>"), + messaging.WithCreateMailgunProviderDomain("<DOMAIN>"), + messaging.WithCreateMailgunProviderIsEuRegion(false), + messaging.WithCreateMailgunProviderFromName("<FROM_NAME>"), + messaging.WithCreateMailgunProviderFromEmail("email@example.com"), + messaging.WithCreateMailgunProviderReplyToName("<REPLY_TO_NAME>"), + messaging.WithCreateMailgunProviderReplyToEmail("email@example.com"), + messaging.WithCreateMailgunProviderEnabled(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/create-msg91provider.md b/docs/examples/1.5.x/server-go/examples/messaging/create-msg91provider.md new file mode 100644 index 0000000000..e2d7412862 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/create-msg91provider.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.CreateMsg91Provider( + "<PROVIDER_ID>", + "<NAME>", + messaging.WithCreateMsg91ProviderTemplateId("<TEMPLATE_ID>"), + messaging.WithCreateMsg91ProviderSenderId("<SENDER_ID>"), + messaging.WithCreateMsg91ProviderAuthKey("<AUTH_KEY>"), + messaging.WithCreateMsg91ProviderEnabled(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/create-push.md b/docs/examples/1.5.x/server-go/examples/messaging/create-push.md new file mode 100644 index 0000000000..b40037472f --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/create-push.md @@ -0,0 +1,44 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.CreatePush( + "<MESSAGE_ID>", + messaging.WithCreatePushTitle("<TITLE>"), + messaging.WithCreatePushBody("<BODY>"), + messaging.WithCreatePushTopics([]interface{}{}), + messaging.WithCreatePushUsers([]interface{}{}), + messaging.WithCreatePushTargets([]interface{}{}), + messaging.WithCreatePushData(map[string]interface{}{}), + messaging.WithCreatePushAction("<ACTION>"), + messaging.WithCreatePushImage("[ID1:ID2]"), + messaging.WithCreatePushIcon("<ICON>"), + messaging.WithCreatePushSound("<SOUND>"), + messaging.WithCreatePushColor("<COLOR>"), + messaging.WithCreatePushTag("<TAG>"), + messaging.WithCreatePushBadge(0), + messaging.WithCreatePushDraft(false), + messaging.WithCreatePushScheduledAt(""), + messaging.WithCreatePushContentAvailable(false), + messaging.WithCreatePushCritical(false), + messaging.WithCreatePushPriority("normal"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/create-sendgrid-provider.md b/docs/examples/1.5.x/server-go/examples/messaging/create-sendgrid-provider.md new file mode 100644 index 0000000000..1f70761a7d --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/create-sendgrid-provider.md @@ -0,0 +1,33 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.CreateSendgridProvider( + "<PROVIDER_ID>", + "<NAME>", + messaging.WithCreateSendgridProviderApiKey("<API_KEY>"), + messaging.WithCreateSendgridProviderFromName("<FROM_NAME>"), + messaging.WithCreateSendgridProviderFromEmail("email@example.com"), + messaging.WithCreateSendgridProviderReplyToName("<REPLY_TO_NAME>"), + messaging.WithCreateSendgridProviderReplyToEmail("email@example.com"), + messaging.WithCreateSendgridProviderEnabled(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/create-sms.md b/docs/examples/1.5.x/server-go/examples/messaging/create-sms.md new file mode 100644 index 0000000000..74583d236d --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/create-sms.md @@ -0,0 +1,32 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.CreateSms( + "<MESSAGE_ID>", + "<CONTENT>", + messaging.WithCreateSmsTopics([]interface{}{}), + messaging.WithCreateSmsUsers([]interface{}{}), + messaging.WithCreateSmsTargets([]interface{}{}), + messaging.WithCreateSmsDraft(false), + messaging.WithCreateSmsScheduledAt(""), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/create-smtp-provider.md b/docs/examples/1.5.x/server-go/examples/messaging/create-smtp-provider.md new file mode 100644 index 0000000000..136e274ed7 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/create-smtp-provider.md @@ -0,0 +1,39 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.CreateSmtpProvider( + "<PROVIDER_ID>", + "<NAME>", + "<HOST>", + messaging.WithCreateSmtpProviderPort(1), + messaging.WithCreateSmtpProviderUsername("<USERNAME>"), + messaging.WithCreateSmtpProviderPassword("<PASSWORD>"), + messaging.WithCreateSmtpProviderEncryption("none"), + messaging.WithCreateSmtpProviderAutoTLS(false), + messaging.WithCreateSmtpProviderMailer("<MAILER>"), + messaging.WithCreateSmtpProviderFromName("<FROM_NAME>"), + messaging.WithCreateSmtpProviderFromEmail("email@example.com"), + messaging.WithCreateSmtpProviderReplyToName("<REPLY_TO_NAME>"), + messaging.WithCreateSmtpProviderReplyToEmail("email@example.com"), + messaging.WithCreateSmtpProviderEnabled(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/create-subscriber.md b/docs/examples/1.5.x/server-go/examples/messaging/create-subscriber.md new file mode 100644 index 0000000000..38f8418acc --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/create-subscriber.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetJWT("<YOUR_JWT>") // Your secret JSON Web Token + + service := messaging.NewMessaging(client) + response, error := service.CreateSubscriber( + "<TOPIC_ID>", + "<SUBSCRIBER_ID>", + "<TARGET_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/create-telesign-provider.md b/docs/examples/1.5.x/server-go/examples/messaging/create-telesign-provider.md new file mode 100644 index 0000000000..7de661031b --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/create-telesign-provider.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.CreateTelesignProvider( + "<PROVIDER_ID>", + "<NAME>", + messaging.WithCreateTelesignProviderFrom("+12065550100"), + messaging.WithCreateTelesignProviderCustomerId("<CUSTOMER_ID>"), + messaging.WithCreateTelesignProviderApiKey("<API_KEY>"), + messaging.WithCreateTelesignProviderEnabled(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/create-textmagic-provider.md b/docs/examples/1.5.x/server-go/examples/messaging/create-textmagic-provider.md new file mode 100644 index 0000000000..c58bbe7569 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/create-textmagic-provider.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.CreateTextmagicProvider( + "<PROVIDER_ID>", + "<NAME>", + messaging.WithCreateTextmagicProviderFrom("+12065550100"), + messaging.WithCreateTextmagicProviderUsername("<USERNAME>"), + messaging.WithCreateTextmagicProviderApiKey("<API_KEY>"), + messaging.WithCreateTextmagicProviderEnabled(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/create-topic.md b/docs/examples/1.5.x/server-go/examples/messaging/create-topic.md new file mode 100644 index 0000000000..d435d5e4a0 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/create-topic.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.CreateTopic( + "<TOPIC_ID>", + "<NAME>", + messaging.WithCreateTopicSubscribe(interface{}{"any"}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/create-twilio-provider.md b/docs/examples/1.5.x/server-go/examples/messaging/create-twilio-provider.md new file mode 100644 index 0000000000..73c3656ec6 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/create-twilio-provider.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.CreateTwilioProvider( + "<PROVIDER_ID>", + "<NAME>", + messaging.WithCreateTwilioProviderFrom("+12065550100"), + messaging.WithCreateTwilioProviderAccountSid("<ACCOUNT_SID>"), + messaging.WithCreateTwilioProviderAuthToken("<AUTH_TOKEN>"), + messaging.WithCreateTwilioProviderEnabled(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/create-vonage-provider.md b/docs/examples/1.5.x/server-go/examples/messaging/create-vonage-provider.md new file mode 100644 index 0000000000..37568abc68 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/create-vonage-provider.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.CreateVonageProvider( + "<PROVIDER_ID>", + "<NAME>", + messaging.WithCreateVonageProviderFrom("+12065550100"), + messaging.WithCreateVonageProviderApiKey("<API_KEY>"), + messaging.WithCreateVonageProviderApiSecret("<API_SECRET>"), + messaging.WithCreateVonageProviderEnabled(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/delete-provider.md b/docs/examples/1.5.x/server-go/examples/messaging/delete-provider.md new file mode 100644 index 0000000000..304293d780 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/delete-provider.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.DeleteProvider( + "<PROVIDER_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/delete-subscriber.md b/docs/examples/1.5.x/server-go/examples/messaging/delete-subscriber.md new file mode 100644 index 0000000000..1e918d9587 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/delete-subscriber.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetJWT("<YOUR_JWT>") // Your secret JSON Web Token + + service := messaging.NewMessaging(client) + response, error := service.DeleteSubscriber( + "<TOPIC_ID>", + "<SUBSCRIBER_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/delete-topic.md b/docs/examples/1.5.x/server-go/examples/messaging/delete-topic.md new file mode 100644 index 0000000000..36c13a4a55 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/delete-topic.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.DeleteTopic( + "<TOPIC_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/delete.md b/docs/examples/1.5.x/server-go/examples/messaging/delete.md new file mode 100644 index 0000000000..ce4b8a2e73 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/delete.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.Delete( + "<MESSAGE_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/get-message.md b/docs/examples/1.5.x/server-go/examples/messaging/get-message.md new file mode 100644 index 0000000000..d0d2d21d27 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/get-message.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.GetMessage( + "<MESSAGE_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/get-provider.md b/docs/examples/1.5.x/server-go/examples/messaging/get-provider.md new file mode 100644 index 0000000000..9796d60fd3 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/get-provider.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.GetProvider( + "<PROVIDER_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/get-subscriber.md b/docs/examples/1.5.x/server-go/examples/messaging/get-subscriber.md new file mode 100644 index 0000000000..c0c39a928c --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/get-subscriber.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.GetSubscriber( + "<TOPIC_ID>", + "<SUBSCRIBER_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/get-topic.md b/docs/examples/1.5.x/server-go/examples/messaging/get-topic.md new file mode 100644 index 0000000000..8c8f4613da --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/get-topic.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.GetTopic( + "<TOPIC_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/list-message-logs.md b/docs/examples/1.5.x/server-go/examples/messaging/list-message-logs.md new file mode 100644 index 0000000000..6d82a61ee2 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/list-message-logs.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.ListMessageLogs( + "<MESSAGE_ID>", + messaging.WithListMessageLogsQueries([]interface{}{}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/list-messages.md b/docs/examples/1.5.x/server-go/examples/messaging/list-messages.md new file mode 100644 index 0000000000..047ff9bd1f --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/list-messages.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.ListMessages( + messaging.WithListMessagesQueries([]interface{}{}), + messaging.WithListMessagesSearch("<SEARCH>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/list-provider-logs.md b/docs/examples/1.5.x/server-go/examples/messaging/list-provider-logs.md new file mode 100644 index 0000000000..89449d193a --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/list-provider-logs.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.ListProviderLogs( + "<PROVIDER_ID>", + messaging.WithListProviderLogsQueries([]interface{}{}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/list-providers.md b/docs/examples/1.5.x/server-go/examples/messaging/list-providers.md new file mode 100644 index 0000000000..b8ae055bae --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/list-providers.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.ListProviders( + messaging.WithListProvidersQueries([]interface{}{}), + messaging.WithListProvidersSearch("<SEARCH>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/list-subscriber-logs.md b/docs/examples/1.5.x/server-go/examples/messaging/list-subscriber-logs.md new file mode 100644 index 0000000000..679039ec91 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/list-subscriber-logs.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.ListSubscriberLogs( + "<SUBSCRIBER_ID>", + messaging.WithListSubscriberLogsQueries([]interface{}{}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/list-subscribers.md b/docs/examples/1.5.x/server-go/examples/messaging/list-subscribers.md new file mode 100644 index 0000000000..7da3d67bc7 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/list-subscribers.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.ListSubscribers( + "<TOPIC_ID>", + messaging.WithListSubscribersQueries([]interface{}{}), + messaging.WithListSubscribersSearch("<SEARCH>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/list-targets.md b/docs/examples/1.5.x/server-go/examples/messaging/list-targets.md new file mode 100644 index 0000000000..448e3f58a4 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/list-targets.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.ListTargets( + "<MESSAGE_ID>", + messaging.WithListTargetsQueries([]interface{}{}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/list-topic-logs.md b/docs/examples/1.5.x/server-go/examples/messaging/list-topic-logs.md new file mode 100644 index 0000000000..49316663b3 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/list-topic-logs.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.ListTopicLogs( + "<TOPIC_ID>", + messaging.WithListTopicLogsQueries([]interface{}{}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/list-topics.md b/docs/examples/1.5.x/server-go/examples/messaging/list-topics.md new file mode 100644 index 0000000000..39478d30f3 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/list-topics.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.ListTopics( + messaging.WithListTopicsQueries([]interface{}{}), + messaging.WithListTopicsSearch("<SEARCH>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/update-apns-provider.md b/docs/examples/1.5.x/server-go/examples/messaging/update-apns-provider.md new file mode 100644 index 0000000000..bd331bca3c --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/update-apns-provider.md @@ -0,0 +1,33 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.UpdateApnsProvider( + "<PROVIDER_ID>", + messaging.WithUpdateApnsProviderName("<NAME>"), + messaging.WithUpdateApnsProviderEnabled(false), + messaging.WithUpdateApnsProviderAuthKey("<AUTH_KEY>"), + messaging.WithUpdateApnsProviderAuthKeyId("<AUTH_KEY_ID>"), + messaging.WithUpdateApnsProviderTeamId("<TEAM_ID>"), + messaging.WithUpdateApnsProviderBundleId("<BUNDLE_ID>"), + messaging.WithUpdateApnsProviderSandbox(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/update-email.md b/docs/examples/1.5.x/server-go/examples/messaging/update-email.md new file mode 100644 index 0000000000..86c7ee0601 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/update-email.md @@ -0,0 +1,37 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.UpdateEmail( + "<MESSAGE_ID>", + messaging.WithUpdateEmailTopics([]interface{}{}), + messaging.WithUpdateEmailUsers([]interface{}{}), + messaging.WithUpdateEmailTargets([]interface{}{}), + messaging.WithUpdateEmailSubject("<SUBJECT>"), + messaging.WithUpdateEmailContent("<CONTENT>"), + messaging.WithUpdateEmailDraft(false), + messaging.WithUpdateEmailHtml(false), + messaging.WithUpdateEmailCc([]interface{}{}), + messaging.WithUpdateEmailBcc([]interface{}{}), + messaging.WithUpdateEmailScheduledAt(""), + messaging.WithUpdateEmailAttachments([]interface{}{}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/update-fcm-provider.md b/docs/examples/1.5.x/server-go/examples/messaging/update-fcm-provider.md new file mode 100644 index 0000000000..c6bd3ba485 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/update-fcm-provider.md @@ -0,0 +1,29 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.UpdateFcmProvider( + "<PROVIDER_ID>", + messaging.WithUpdateFcmProviderName("<NAME>"), + messaging.WithUpdateFcmProviderEnabled(false), + messaging.WithUpdateFcmProviderServiceAccountJSON(map[string]interface{}{}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/update-mailgun-provider.md b/docs/examples/1.5.x/server-go/examples/messaging/update-mailgun-provider.md new file mode 100644 index 0000000000..00789d2f6d --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/update-mailgun-provider.md @@ -0,0 +1,35 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.UpdateMailgunProvider( + "<PROVIDER_ID>", + messaging.WithUpdateMailgunProviderName("<NAME>"), + messaging.WithUpdateMailgunProviderApiKey("<API_KEY>"), + messaging.WithUpdateMailgunProviderDomain("<DOMAIN>"), + messaging.WithUpdateMailgunProviderIsEuRegion(false), + messaging.WithUpdateMailgunProviderEnabled(false), + messaging.WithUpdateMailgunProviderFromName("<FROM_NAME>"), + messaging.WithUpdateMailgunProviderFromEmail("email@example.com"), + messaging.WithUpdateMailgunProviderReplyToName("<REPLY_TO_NAME>"), + messaging.WithUpdateMailgunProviderReplyToEmail("<REPLY_TO_EMAIL>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/update-msg91provider.md b/docs/examples/1.5.x/server-go/examples/messaging/update-msg91provider.md new file mode 100644 index 0000000000..0bda860823 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/update-msg91provider.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.UpdateMsg91Provider( + "<PROVIDER_ID>", + messaging.WithUpdateMsg91ProviderName("<NAME>"), + messaging.WithUpdateMsg91ProviderEnabled(false), + messaging.WithUpdateMsg91ProviderTemplateId("<TEMPLATE_ID>"), + messaging.WithUpdateMsg91ProviderSenderId("<SENDER_ID>"), + messaging.WithUpdateMsg91ProviderAuthKey("<AUTH_KEY>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/update-push.md b/docs/examples/1.5.x/server-go/examples/messaging/update-push.md new file mode 100644 index 0000000000..d1b47256c0 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/update-push.md @@ -0,0 +1,44 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.UpdatePush( + "<MESSAGE_ID>", + messaging.WithUpdatePushTopics([]interface{}{}), + messaging.WithUpdatePushUsers([]interface{}{}), + messaging.WithUpdatePushTargets([]interface{}{}), + messaging.WithUpdatePushTitle("<TITLE>"), + messaging.WithUpdatePushBody("<BODY>"), + messaging.WithUpdatePushData(map[string]interface{}{}), + messaging.WithUpdatePushAction("<ACTION>"), + messaging.WithUpdatePushImage("[ID1:ID2]"), + messaging.WithUpdatePushIcon("<ICON>"), + messaging.WithUpdatePushSound("<SOUND>"), + messaging.WithUpdatePushColor("<COLOR>"), + messaging.WithUpdatePushTag("<TAG>"), + messaging.WithUpdatePushBadge(0), + messaging.WithUpdatePushDraft(false), + messaging.WithUpdatePushScheduledAt(""), + messaging.WithUpdatePushContentAvailable(false), + messaging.WithUpdatePushCritical(false), + messaging.WithUpdatePushPriority("normal"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/update-sendgrid-provider.md b/docs/examples/1.5.x/server-go/examples/messaging/update-sendgrid-provider.md new file mode 100644 index 0000000000..e7205716cc --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/update-sendgrid-provider.md @@ -0,0 +1,33 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.UpdateSendgridProvider( + "<PROVIDER_ID>", + messaging.WithUpdateSendgridProviderName("<NAME>"), + messaging.WithUpdateSendgridProviderEnabled(false), + messaging.WithUpdateSendgridProviderApiKey("<API_KEY>"), + messaging.WithUpdateSendgridProviderFromName("<FROM_NAME>"), + messaging.WithUpdateSendgridProviderFromEmail("email@example.com"), + messaging.WithUpdateSendgridProviderReplyToName("<REPLY_TO_NAME>"), + messaging.WithUpdateSendgridProviderReplyToEmail("<REPLY_TO_EMAIL>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/update-sms.md b/docs/examples/1.5.x/server-go/examples/messaging/update-sms.md new file mode 100644 index 0000000000..2f74b58422 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/update-sms.md @@ -0,0 +1,32 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.UpdateSms( + "<MESSAGE_ID>", + messaging.WithUpdateSmsTopics([]interface{}{}), + messaging.WithUpdateSmsUsers([]interface{}{}), + messaging.WithUpdateSmsTargets([]interface{}{}), + messaging.WithUpdateSmsContent("<CONTENT>"), + messaging.WithUpdateSmsDraft(false), + messaging.WithUpdateSmsScheduledAt(""), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/update-smtp-provider.md b/docs/examples/1.5.x/server-go/examples/messaging/update-smtp-provider.md new file mode 100644 index 0000000000..5c0ecedf94 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/update-smtp-provider.md @@ -0,0 +1,39 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.UpdateSmtpProvider( + "<PROVIDER_ID>", + messaging.WithUpdateSmtpProviderName("<NAME>"), + messaging.WithUpdateSmtpProviderHost("<HOST>"), + messaging.WithUpdateSmtpProviderPort(1), + messaging.WithUpdateSmtpProviderUsername("<USERNAME>"), + messaging.WithUpdateSmtpProviderPassword("<PASSWORD>"), + messaging.WithUpdateSmtpProviderEncryption("none"), + messaging.WithUpdateSmtpProviderAutoTLS(false), + messaging.WithUpdateSmtpProviderMailer("<MAILER>"), + messaging.WithUpdateSmtpProviderFromName("<FROM_NAME>"), + messaging.WithUpdateSmtpProviderFromEmail("email@example.com"), + messaging.WithUpdateSmtpProviderReplyToName("<REPLY_TO_NAME>"), + messaging.WithUpdateSmtpProviderReplyToEmail("<REPLY_TO_EMAIL>"), + messaging.WithUpdateSmtpProviderEnabled(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/update-telesign-provider.md b/docs/examples/1.5.x/server-go/examples/messaging/update-telesign-provider.md new file mode 100644 index 0000000000..c30c288caa --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/update-telesign-provider.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.UpdateTelesignProvider( + "<PROVIDER_ID>", + messaging.WithUpdateTelesignProviderName("<NAME>"), + messaging.WithUpdateTelesignProviderEnabled(false), + messaging.WithUpdateTelesignProviderCustomerId("<CUSTOMER_ID>"), + messaging.WithUpdateTelesignProviderApiKey("<API_KEY>"), + messaging.WithUpdateTelesignProviderFrom("<FROM>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/update-textmagic-provider.md b/docs/examples/1.5.x/server-go/examples/messaging/update-textmagic-provider.md new file mode 100644 index 0000000000..baaed6020d --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/update-textmagic-provider.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.UpdateTextmagicProvider( + "<PROVIDER_ID>", + messaging.WithUpdateTextmagicProviderName("<NAME>"), + messaging.WithUpdateTextmagicProviderEnabled(false), + messaging.WithUpdateTextmagicProviderUsername("<USERNAME>"), + messaging.WithUpdateTextmagicProviderApiKey("<API_KEY>"), + messaging.WithUpdateTextmagicProviderFrom("<FROM>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/update-topic.md b/docs/examples/1.5.x/server-go/examples/messaging/update-topic.md new file mode 100644 index 0000000000..4f5b003e3b --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/update-topic.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.UpdateTopic( + "<TOPIC_ID>", + messaging.WithUpdateTopicName("<NAME>"), + messaging.WithUpdateTopicSubscribe(interface{}{"any"}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/update-twilio-provider.md b/docs/examples/1.5.x/server-go/examples/messaging/update-twilio-provider.md new file mode 100644 index 0000000000..1763a5f02d --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/update-twilio-provider.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.UpdateTwilioProvider( + "<PROVIDER_ID>", + messaging.WithUpdateTwilioProviderName("<NAME>"), + messaging.WithUpdateTwilioProviderEnabled(false), + messaging.WithUpdateTwilioProviderAccountSid("<ACCOUNT_SID>"), + messaging.WithUpdateTwilioProviderAuthToken("<AUTH_TOKEN>"), + messaging.WithUpdateTwilioProviderFrom("<FROM>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/messaging/update-vonage-provider.md b/docs/examples/1.5.x/server-go/examples/messaging/update-vonage-provider.md new file mode 100644 index 0000000000..ea1d6fe393 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/messaging/update-vonage-provider.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := messaging.NewMessaging(client) + response, error := service.UpdateVonageProvider( + "<PROVIDER_ID>", + messaging.WithUpdateVonageProviderName("<NAME>"), + messaging.WithUpdateVonageProviderEnabled(false), + messaging.WithUpdateVonageProviderApiKey("<API_KEY>"), + messaging.WithUpdateVonageProviderApiSecret("<API_SECRET>"), + messaging.WithUpdateVonageProviderFrom("<FROM>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/storage/create-bucket.md b/docs/examples/1.5.x/server-go/examples/storage/create-bucket.md new file mode 100644 index 0000000000..9ab1965854 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/storage/create-bucket.md @@ -0,0 +1,35 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/storage" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := storage.NewStorage(client) + response, error := service.CreateBucket( + "<BUCKET_ID>", + "<NAME>", + storage.WithCreateBucketPermissions(interface{}{"read("any")"}), + storage.WithCreateBucketFileSecurity(false), + storage.WithCreateBucketEnabled(false), + storage.WithCreateBucketMaximumFileSize(1), + storage.WithCreateBucketAllowedFileExtensions([]interface{}{}), + storage.WithCreateBucketCompression("none"), + storage.WithCreateBucketEncryption(false), + storage.WithCreateBucketAntivirus(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/storage/create-file.md b/docs/examples/1.5.x/server-go/examples/storage/create-file.md new file mode 100644 index 0000000000..e561e22e3e --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/storage/create-file.md @@ -0,0 +1,29 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/storage" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := storage.NewStorage(client) + response, error := service.CreateFile( + "<BUCKET_ID>", + "<FILE_ID>", + file.NewInputFile("/path/to/file.png", "file.png"), + storage.WithCreateFilePermissions(interface{}{"read("any")"}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/storage/delete-bucket.md b/docs/examples/1.5.x/server-go/examples/storage/delete-bucket.md new file mode 100644 index 0000000000..227ae84109 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/storage/delete-bucket.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/storage" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := storage.NewStorage(client) + response, error := service.DeleteBucket( + "<BUCKET_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/storage/delete-file.md b/docs/examples/1.5.x/server-go/examples/storage/delete-file.md new file mode 100644 index 0000000000..d67861b0b2 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/storage/delete-file.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/storage" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := storage.NewStorage(client) + response, error := service.DeleteFile( + "<BUCKET_ID>", + "<FILE_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/storage/get-bucket.md b/docs/examples/1.5.x/server-go/examples/storage/get-bucket.md new file mode 100644 index 0000000000..3aa33b40c0 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/storage/get-bucket.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/storage" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := storage.NewStorage(client) + response, error := service.GetBucket( + "<BUCKET_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/storage/get-file-download.md b/docs/examples/1.5.x/server-go/examples/storage/get-file-download.md new file mode 100644 index 0000000000..aa9185cadd --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/storage/get-file-download.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/storage" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := storage.NewStorage(client) + response, error := service.GetFileDownload( + "<BUCKET_ID>", + "<FILE_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/storage/get-file-preview.md b/docs/examples/1.5.x/server-go/examples/storage/get-file-preview.md new file mode 100644 index 0000000000..2210c4559e --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/storage/get-file-preview.md @@ -0,0 +1,38 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/storage" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := storage.NewStorage(client) + response, error := service.GetFilePreview( + "<BUCKET_ID>", + "<FILE_ID>", + storage.WithGetFilePreviewWidth(0), + storage.WithGetFilePreviewHeight(0), + storage.WithGetFilePreviewGravity("center"), + storage.WithGetFilePreviewQuality(0), + storage.WithGetFilePreviewBorderWidth(0), + storage.WithGetFilePreviewBorderColor(""), + storage.WithGetFilePreviewBorderRadius(0), + storage.WithGetFilePreviewOpacity(0), + storage.WithGetFilePreviewRotation(-360), + storage.WithGetFilePreviewBackground(""), + storage.WithGetFilePreviewOutput("jpg"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/storage/get-file-view.md b/docs/examples/1.5.x/server-go/examples/storage/get-file-view.md new file mode 100644 index 0000000000..e4a3ece23c --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/storage/get-file-view.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/storage" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := storage.NewStorage(client) + response, error := service.GetFileView( + "<BUCKET_ID>", + "<FILE_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/storage/get-file.md b/docs/examples/1.5.x/server-go/examples/storage/get-file.md new file mode 100644 index 0000000000..4dfc7df829 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/storage/get-file.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/storage" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := storage.NewStorage(client) + response, error := service.GetFile( + "<BUCKET_ID>", + "<FILE_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/storage/list-buckets.md b/docs/examples/1.5.x/server-go/examples/storage/list-buckets.md new file mode 100644 index 0000000000..571d46376e --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/storage/list-buckets.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/storage" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := storage.NewStorage(client) + response, error := service.ListBuckets( + storage.WithListBucketsQueries([]interface{}{}), + storage.WithListBucketsSearch("<SEARCH>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/storage/list-files.md b/docs/examples/1.5.x/server-go/examples/storage/list-files.md new file mode 100644 index 0000000000..13f4549a9a --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/storage/list-files.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/storage" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := storage.NewStorage(client) + response, error := service.ListFiles( + "<BUCKET_ID>", + storage.WithListFilesQueries([]interface{}{}), + storage.WithListFilesSearch("<SEARCH>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/storage/update-bucket.md b/docs/examples/1.5.x/server-go/examples/storage/update-bucket.md new file mode 100644 index 0000000000..6c7f9463c9 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/storage/update-bucket.md @@ -0,0 +1,35 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/storage" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := storage.NewStorage(client) + response, error := service.UpdateBucket( + "<BUCKET_ID>", + "<NAME>", + storage.WithUpdateBucketPermissions(interface{}{"read("any")"}), + storage.WithUpdateBucketFileSecurity(false), + storage.WithUpdateBucketEnabled(false), + storage.WithUpdateBucketMaximumFileSize(1), + storage.WithUpdateBucketAllowedFileExtensions([]interface{}{}), + storage.WithUpdateBucketCompression("none"), + storage.WithUpdateBucketEncryption(false), + storage.WithUpdateBucketAntivirus(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/storage/update-file.md b/docs/examples/1.5.x/server-go/examples/storage/update-file.md new file mode 100644 index 0000000000..820e6d4f23 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/storage/update-file.md @@ -0,0 +1,29 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/storage" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := storage.NewStorage(client) + response, error := service.UpdateFile( + "<BUCKET_ID>", + "<FILE_ID>", + storage.WithUpdateFileName("<NAME>"), + storage.WithUpdateFilePermissions(interface{}{"read("any")"}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/teams/create-membership.md b/docs/examples/1.5.x/server-go/examples/teams/create-membership.md new file mode 100644 index 0000000000..186520d47a --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/teams/create-membership.md @@ -0,0 +1,32 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/teams" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := teams.NewTeams(client) + response, error := service.CreateMembership( + "<TEAM_ID>", + []interface{}{}, + teams.WithCreateMembershipEmail("email@example.com"), + teams.WithCreateMembershipUserId("<USER_ID>"), + teams.WithCreateMembershipPhone("+12065550100"), + teams.WithCreateMembershipUrl("https://example.com"), + teams.WithCreateMembershipName("<NAME>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/teams/create.md b/docs/examples/1.5.x/server-go/examples/teams/create.md new file mode 100644 index 0000000000..b429e396a6 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/teams/create.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/teams" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := teams.NewTeams(client) + response, error := service.Create( + "<TEAM_ID>", + "<NAME>", + teams.WithCreateRoles([]interface{}{}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/teams/delete-membership.md b/docs/examples/1.5.x/server-go/examples/teams/delete-membership.md new file mode 100644 index 0000000000..536aa91f93 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/teams/delete-membership.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/teams" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := teams.NewTeams(client) + response, error := service.DeleteMembership( + "<TEAM_ID>", + "<MEMBERSHIP_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/teams/delete.md b/docs/examples/1.5.x/server-go/examples/teams/delete.md new file mode 100644 index 0000000000..8e1c5d4893 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/teams/delete.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/teams" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := teams.NewTeams(client) + response, error := service.Delete( + "<TEAM_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/teams/get-membership.md b/docs/examples/1.5.x/server-go/examples/teams/get-membership.md new file mode 100644 index 0000000000..3bc8650dd9 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/teams/get-membership.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/teams" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := teams.NewTeams(client) + response, error := service.GetMembership( + "<TEAM_ID>", + "<MEMBERSHIP_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/teams/get-prefs.md b/docs/examples/1.5.x/server-go/examples/teams/get-prefs.md new file mode 100644 index 0000000000..bb2ff1c778 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/teams/get-prefs.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/teams" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := teams.NewTeams(client) + response, error := service.GetPrefs( + "<TEAM_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/teams/get.md b/docs/examples/1.5.x/server-go/examples/teams/get.md new file mode 100644 index 0000000000..69b00075a9 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/teams/get.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/teams" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := teams.NewTeams(client) + response, error := service.Get( + "<TEAM_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/teams/list-memberships.md b/docs/examples/1.5.x/server-go/examples/teams/list-memberships.md new file mode 100644 index 0000000000..45a6267e98 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/teams/list-memberships.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/teams" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := teams.NewTeams(client) + response, error := service.ListMemberships( + "<TEAM_ID>", + teams.WithListMembershipsQueries([]interface{}{}), + teams.WithListMembershipsSearch("<SEARCH>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/teams/list.md b/docs/examples/1.5.x/server-go/examples/teams/list.md new file mode 100644 index 0000000000..96c5f8ab74 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/teams/list.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/teams" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := teams.NewTeams(client) + response, error := service.List( + teams.WithListQueries([]interface{}{}), + teams.WithListSearch("<SEARCH>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/teams/update-membership-status.md b/docs/examples/1.5.x/server-go/examples/teams/update-membership-status.md new file mode 100644 index 0000000000..accc79ebce --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/teams/update-membership-status.md @@ -0,0 +1,29 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/teams" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := teams.NewTeams(client) + response, error := service.UpdateMembershipStatus( + "<TEAM_ID>", + "<MEMBERSHIP_ID>", + "<USER_ID>", + "<SECRET>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/teams/update-membership.md b/docs/examples/1.5.x/server-go/examples/teams/update-membership.md new file mode 100644 index 0000000000..9f18528938 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/teams/update-membership.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/teams" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := teams.NewTeams(client) + response, error := service.UpdateMembership( + "<TEAM_ID>", + "<MEMBERSHIP_ID>", + []interface{}{}, + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/teams/update-name.md b/docs/examples/1.5.x/server-go/examples/teams/update-name.md new file mode 100644 index 0000000000..05459deb4a --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/teams/update-name.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/teams" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := teams.NewTeams(client) + response, error := service.UpdateName( + "<TEAM_ID>", + "<NAME>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/teams/update-prefs.md b/docs/examples/1.5.x/server-go/examples/teams/update-prefs.md new file mode 100644 index 0000000000..314cf6c685 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/teams/update-prefs.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/teams" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetSession("") // The user session to authenticate with + + service := teams.NewTeams(client) + response, error := service.UpdatePrefs( + "<TEAM_ID>", + map[string]interface{}{}, + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/create-argon2user.md b/docs/examples/1.5.x/server-go/examples/users/create-argon2user.md new file mode 100644 index 0000000000..87226b8033 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/create-argon2user.md @@ -0,0 +1,29 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.CreateArgon2User( + "<USER_ID>", + "email@example.com", + "password", + users.WithCreateArgon2UserName("<NAME>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/create-bcrypt-user.md b/docs/examples/1.5.x/server-go/examples/users/create-bcrypt-user.md new file mode 100644 index 0000000000..89e979d1b8 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/create-bcrypt-user.md @@ -0,0 +1,29 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.CreateBcryptUser( + "<USER_ID>", + "email@example.com", + "password", + users.WithCreateBcryptUserName("<NAME>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/create-j-w-t.md b/docs/examples/1.5.x/server-go/examples/users/create-j-w-t.md new file mode 100644 index 0000000000..37d1a5d0eb --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/create-j-w-t.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.CreateJWT( + "<USER_ID>", + users.WithCreateJWTSessionId("<SESSION_ID>"), + users.WithCreateJWTDuration(0), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/create-m-d5user.md b/docs/examples/1.5.x/server-go/examples/users/create-m-d5user.md new file mode 100644 index 0000000000..d2c87b4d14 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/create-m-d5user.md @@ -0,0 +1,29 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.CreateMD5User( + "<USER_ID>", + "email@example.com", + "password", + users.WithCreateMD5UserName("<NAME>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/create-mfa-recovery-codes.md b/docs/examples/1.5.x/server-go/examples/users/create-mfa-recovery-codes.md new file mode 100644 index 0000000000..6757a62721 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/create-mfa-recovery-codes.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.CreateMfaRecoveryCodes( + "<USER_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/create-p-h-pass-user.md b/docs/examples/1.5.x/server-go/examples/users/create-p-h-pass-user.md new file mode 100644 index 0000000000..f8a9f4007d --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/create-p-h-pass-user.md @@ -0,0 +1,29 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.CreatePHPassUser( + "<USER_ID>", + "email@example.com", + "password", + users.WithCreatePHPassUserName("<NAME>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/create-s-h-a-user.md b/docs/examples/1.5.x/server-go/examples/users/create-s-h-a-user.md new file mode 100644 index 0000000000..b8e348c884 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/create-s-h-a-user.md @@ -0,0 +1,30 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.CreateSHAUser( + "<USER_ID>", + "email@example.com", + "password", + users.WithCreateSHAUserPasswordVersion("sha1"), + users.WithCreateSHAUserName("<NAME>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/create-scrypt-modified-user.md b/docs/examples/1.5.x/server-go/examples/users/create-scrypt-modified-user.md new file mode 100644 index 0000000000..935ecc12cc --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/create-scrypt-modified-user.md @@ -0,0 +1,32 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.CreateScryptModifiedUser( + "<USER_ID>", + "email@example.com", + "password", + "<PASSWORD_SALT>", + "<PASSWORD_SALT_SEPARATOR>", + "<PASSWORD_SIGNER_KEY>", + users.WithCreateScryptModifiedUserName("<NAME>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/create-scrypt-user.md b/docs/examples/1.5.x/server-go/examples/users/create-scrypt-user.md new file mode 100644 index 0000000000..8320412796 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/create-scrypt-user.md @@ -0,0 +1,34 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.CreateScryptUser( + "<USER_ID>", + "email@example.com", + "password", + "<PASSWORD_SALT>", + 0, + 0, + 0, + 0, + users.WithCreateScryptUserName("<NAME>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/create-session.md b/docs/examples/1.5.x/server-go/examples/users/create-session.md new file mode 100644 index 0000000000..b246b8feb7 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/create-session.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.CreateSession( + "<USER_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/create-target.md b/docs/examples/1.5.x/server-go/examples/users/create-target.md new file mode 100644 index 0000000000..d4802c1998 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/create-target.md @@ -0,0 +1,31 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.CreateTarget( + "<USER_ID>", + "<TARGET_ID>", + "email", + "<IDENTIFIER>", + users.WithCreateTargetProviderId("<PROVIDER_ID>"), + users.WithCreateTargetName("<NAME>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/create-token.md b/docs/examples/1.5.x/server-go/examples/users/create-token.md new file mode 100644 index 0000000000..ea9b5a1e8b --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/create-token.md @@ -0,0 +1,28 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.CreateToken( + "<USER_ID>", + users.WithCreateTokenLength(4), + users.WithCreateTokenExpire(60), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/create.md b/docs/examples/1.5.x/server-go/examples/users/create.md new file mode 100644 index 0000000000..f1b8f25d61 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/create.md @@ -0,0 +1,30 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.Create( + "<USER_ID>", + users.WithCreateEmail("email@example.com"), + users.WithCreatePhone("+12065550100"), + users.WithCreatePassword(""), + users.WithCreateName("<NAME>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/delete-identity.md b/docs/examples/1.5.x/server-go/examples/users/delete-identity.md new file mode 100644 index 0000000000..af33140a4f --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/delete-identity.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.DeleteIdentity( + "<IDENTITY_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/delete-mfa-authenticator.md b/docs/examples/1.5.x/server-go/examples/users/delete-mfa-authenticator.md new file mode 100644 index 0000000000..eb8f23b6a3 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/delete-mfa-authenticator.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.DeleteMfaAuthenticator( + "<USER_ID>", + "totp", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/delete-session.md b/docs/examples/1.5.x/server-go/examples/users/delete-session.md new file mode 100644 index 0000000000..b29c8b0d70 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/delete-session.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.DeleteSession( + "<USER_ID>", + "<SESSION_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/delete-sessions.md b/docs/examples/1.5.x/server-go/examples/users/delete-sessions.md new file mode 100644 index 0000000000..9fc4e8012a --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/delete-sessions.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.DeleteSessions( + "<USER_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/delete-target.md b/docs/examples/1.5.x/server-go/examples/users/delete-target.md new file mode 100644 index 0000000000..73443c5a1d --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/delete-target.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.DeleteTarget( + "<USER_ID>", + "<TARGET_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/delete.md b/docs/examples/1.5.x/server-go/examples/users/delete.md new file mode 100644 index 0000000000..4e4e046891 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/delete.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.Delete( + "<USER_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/get-mfa-recovery-codes.md b/docs/examples/1.5.x/server-go/examples/users/get-mfa-recovery-codes.md new file mode 100644 index 0000000000..6e70217d0d --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/get-mfa-recovery-codes.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.GetMfaRecoveryCodes( + "<USER_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/get-prefs.md b/docs/examples/1.5.x/server-go/examples/users/get-prefs.md new file mode 100644 index 0000000000..8c05fddc5f --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/get-prefs.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.GetPrefs( + "<USER_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/get-target.md b/docs/examples/1.5.x/server-go/examples/users/get-target.md new file mode 100644 index 0000000000..761d008b37 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/get-target.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.GetTarget( + "<USER_ID>", + "<TARGET_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/get.md b/docs/examples/1.5.x/server-go/examples/users/get.md new file mode 100644 index 0000000000..44852bb972 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/get.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.Get( + "<USER_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/list-identities.md b/docs/examples/1.5.x/server-go/examples/users/list-identities.md new file mode 100644 index 0000000000..a4cbbbd1ee --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/list-identities.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.ListIdentities( + users.WithListIdentitiesQueries([]interface{}{}), + users.WithListIdentitiesSearch("<SEARCH>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/list-logs.md b/docs/examples/1.5.x/server-go/examples/users/list-logs.md new file mode 100644 index 0000000000..a713ee3ba2 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/list-logs.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.ListLogs( + "<USER_ID>", + users.WithListLogsQueries([]interface{}{}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/list-memberships.md b/docs/examples/1.5.x/server-go/examples/users/list-memberships.md new file mode 100644 index 0000000000..5770fd8c7e --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/list-memberships.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.ListMemberships( + "<USER_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/list-mfa-factors.md b/docs/examples/1.5.x/server-go/examples/users/list-mfa-factors.md new file mode 100644 index 0000000000..d89e0f3f96 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/list-mfa-factors.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.ListMfaFactors( + "<USER_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/list-sessions.md b/docs/examples/1.5.x/server-go/examples/users/list-sessions.md new file mode 100644 index 0000000000..a58d0532df --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/list-sessions.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.ListSessions( + "<USER_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/list-targets.md b/docs/examples/1.5.x/server-go/examples/users/list-targets.md new file mode 100644 index 0000000000..45f967b424 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/list-targets.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.ListTargets( + "<USER_ID>", + users.WithListTargetsQueries([]interface{}{}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/list.md b/docs/examples/1.5.x/server-go/examples/users/list.md new file mode 100644 index 0000000000..b84ee0e3b7 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/list.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.List( + users.WithListQueries([]interface{}{}), + users.WithListSearch("<SEARCH>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/update-email-verification.md b/docs/examples/1.5.x/server-go/examples/users/update-email-verification.md new file mode 100644 index 0000000000..af4c066543 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/update-email-verification.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.UpdateEmailVerification( + "<USER_ID>", + false, + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/update-email.md b/docs/examples/1.5.x/server-go/examples/users/update-email.md new file mode 100644 index 0000000000..ea18cc6863 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/update-email.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.UpdateEmail( + "<USER_ID>", + "email@example.com", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/update-labels.md b/docs/examples/1.5.x/server-go/examples/users/update-labels.md new file mode 100644 index 0000000000..63bbe1255b --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/update-labels.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.UpdateLabels( + "<USER_ID>", + []interface{}{}, + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/update-mfa-recovery-codes.md b/docs/examples/1.5.x/server-go/examples/users/update-mfa-recovery-codes.md new file mode 100644 index 0000000000..408721b2ec --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/update-mfa-recovery-codes.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.UpdateMfaRecoveryCodes( + "<USER_ID>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/update-mfa.md b/docs/examples/1.5.x/server-go/examples/users/update-mfa.md new file mode 100644 index 0000000000..9da9d05fd0 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/update-mfa.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.UpdateMfa( + "<USER_ID>", + false, + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/update-name.md b/docs/examples/1.5.x/server-go/examples/users/update-name.md new file mode 100644 index 0000000000..7d5a2553ea --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/update-name.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.UpdateName( + "<USER_ID>", + "<NAME>", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/update-password.md b/docs/examples/1.5.x/server-go/examples/users/update-password.md new file mode 100644 index 0000000000..64f5766c9b --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/update-password.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.UpdatePassword( + "<USER_ID>", + "", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/update-phone-verification.md b/docs/examples/1.5.x/server-go/examples/users/update-phone-verification.md new file mode 100644 index 0000000000..409cdf3c18 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/update-phone-verification.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.UpdatePhoneVerification( + "<USER_ID>", + false, + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/update-phone.md b/docs/examples/1.5.x/server-go/examples/users/update-phone.md new file mode 100644 index 0000000000..0440906d1e --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/update-phone.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.UpdatePhone( + "<USER_ID>", + "+12065550100", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/update-prefs.md b/docs/examples/1.5.x/server-go/examples/users/update-prefs.md new file mode 100644 index 0000000000..184235d2dd --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/update-prefs.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.UpdatePrefs( + "<USER_ID>", + map[string]interface{}{}, + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/update-status.md b/docs/examples/1.5.x/server-go/examples/users/update-status.md new file mode 100644 index 0000000000..a081d0bff4 --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/update-status.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.UpdateStatus( + "<USER_ID>", + false, + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-go/examples/users/update-target.md b/docs/examples/1.5.x/server-go/examples/users/update-target.md new file mode 100644 index 0000000000..a06c395cab --- /dev/null +++ b/docs/examples/1.5.x/server-go/examples/users/update-target.md @@ -0,0 +1,30 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := users.NewUsers(client) + response, error := service.UpdateTarget( + "<USER_ID>", + "<TARGET_ID>", + users.WithUpdateTargetIdentifier("<IDENTIFIER>"), + users.WithUpdateTargetProviderId("<PROVIDER_ID>"), + users.WithUpdateTargetName("<NAME>"), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.5.x/server-graphql/examples/account/create.md b/docs/examples/1.5.x/server-graphql/examples/account/create.md index 3f8e3c3cf7..0d39394a3d 100644 --- a/docs/examples/1.5.x/server-graphql/examples/account/create.md +++ b/docs/examples/1.5.x/server-graphql/examples/account/create.md @@ -33,6 +33,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/server-graphql/examples/account/delete-mfa-authenticator.md b/docs/examples/1.5.x/server-graphql/examples/account/delete-mfa-authenticator.md index de14ae68f3..fc5486623a 100644 --- a/docs/examples/1.5.x/server-graphql/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-graphql/examples/account/delete-mfa-authenticator.md @@ -1,7 +1,6 @@ mutation { accountDeleteMfaAuthenticator( - type: "totp", - otp: "<OTP>" + type: "totp" ) { status } diff --git a/docs/examples/1.5.x/server-graphql/examples/account/get.md b/docs/examples/1.5.x/server-graphql/examples/account/get.md index e4db8f0e41..f4f07c187f 100644 --- a/docs/examples/1.5.x/server-graphql/examples/account/get.md +++ b/docs/examples/1.5.x/server-graphql/examples/account/get.md @@ -28,6 +28,7 @@ query { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/server-graphql/examples/account/update-email.md b/docs/examples/1.5.x/server-graphql/examples/account/update-email.md index b207bad4bb..c879e24a43 100644 --- a/docs/examples/1.5.x/server-graphql/examples/account/update-email.md +++ b/docs/examples/1.5.x/server-graphql/examples/account/update-email.md @@ -31,6 +31,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/server-graphql/examples/account/update-m-f-a.md b/docs/examples/1.5.x/server-graphql/examples/account/update-m-f-a.md index d2cd3d6ae5..787c2e0860 100644 --- a/docs/examples/1.5.x/server-graphql/examples/account/update-m-f-a.md +++ b/docs/examples/1.5.x/server-graphql/examples/account/update-m-f-a.md @@ -30,6 +30,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/server-graphql/examples/account/update-mfa-authenticator.md b/docs/examples/1.5.x/server-graphql/examples/account/update-mfa-authenticator.md index c74062c7d4..9cfe9150be 100644 --- a/docs/examples/1.5.x/server-graphql/examples/account/update-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-graphql/examples/account/update-mfa-authenticator.md @@ -31,6 +31,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/server-graphql/examples/account/update-mfa-challenge.md b/docs/examples/1.5.x/server-graphql/examples/account/update-mfa-challenge.md index 8237431bcf..0bcec2157f 100644 --- a/docs/examples/1.5.x/server-graphql/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.5.x/server-graphql/examples/account/update-mfa-challenge.md @@ -3,6 +3,34 @@ mutation { challengeId: "<CHALLENGE_ID>", otp: "<OTP>" ) { - status + _id + _createdAt + _updatedAt + userId + expire + provider + providerUid + providerAccessToken + providerAccessTokenExpiry + providerRefreshToken + ip + osCode + osName + osVersion + clientType + clientCode + clientName + clientVersion + clientEngine + clientEngineVersion + deviceName + deviceBrand + deviceModel + countryCode + countryName + current + factors + secret + mfaUpdatedAt } } diff --git a/docs/examples/1.5.x/server-graphql/examples/account/update-name.md b/docs/examples/1.5.x/server-graphql/examples/account/update-name.md index 850b5760a0..8ba2c99d9c 100644 --- a/docs/examples/1.5.x/server-graphql/examples/account/update-name.md +++ b/docs/examples/1.5.x/server-graphql/examples/account/update-name.md @@ -30,6 +30,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/server-graphql/examples/account/update-password.md b/docs/examples/1.5.x/server-graphql/examples/account/update-password.md index 5904da0842..f3619a10d2 100644 --- a/docs/examples/1.5.x/server-graphql/examples/account/update-password.md +++ b/docs/examples/1.5.x/server-graphql/examples/account/update-password.md @@ -31,6 +31,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/server-graphql/examples/account/update-phone.md b/docs/examples/1.5.x/server-graphql/examples/account/update-phone.md index 408a203300..adecb71168 100644 --- a/docs/examples/1.5.x/server-graphql/examples/account/update-phone.md +++ b/docs/examples/1.5.x/server-graphql/examples/account/update-phone.md @@ -31,6 +31,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/server-graphql/examples/account/update-prefs.md b/docs/examples/1.5.x/server-graphql/examples/account/update-prefs.md index 40db7b43db..57280247e4 100644 --- a/docs/examples/1.5.x/server-graphql/examples/account/update-prefs.md +++ b/docs/examples/1.5.x/server-graphql/examples/account/update-prefs.md @@ -30,6 +30,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/server-graphql/examples/account/update-status.md b/docs/examples/1.5.x/server-graphql/examples/account/update-status.md index aca8c098e7..c17f556842 100644 --- a/docs/examples/1.5.x/server-graphql/examples/account/update-status.md +++ b/docs/examples/1.5.x/server-graphql/examples/account/update-status.md @@ -28,6 +28,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/server-graphql/examples/databases/create-boolean-attribute.md b/docs/examples/1.5.x/server-graphql/examples/databases/create-boolean-attribute.md index 6e969a587e..aa0bfa832e 100644 --- a/docs/examples/1.5.x/server-graphql/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.5.x/server-graphql/examples/databases/create-boolean-attribute.md @@ -13,6 +13,8 @@ mutation { error required array + _createdAt + _updatedAt default } } diff --git a/docs/examples/1.5.x/server-graphql/examples/databases/create-collection.md b/docs/examples/1.5.x/server-graphql/examples/databases/create-collection.md index 05175cc1e7..51eb51f410 100644 --- a/docs/examples/1.5.x/server-graphql/examples/databases/create-collection.md +++ b/docs/examples/1.5.x/server-graphql/examples/databases/create-collection.md @@ -23,6 +23,8 @@ mutation { error attributes orders + _createdAt + _updatedAt } } } diff --git a/docs/examples/1.5.x/server-graphql/examples/databases/create-datetime-attribute.md b/docs/examples/1.5.x/server-graphql/examples/databases/create-datetime-attribute.md index fcd5cb37a2..47601df0d8 100644 --- a/docs/examples/1.5.x/server-graphql/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.5.x/server-graphql/examples/databases/create-datetime-attribute.md @@ -13,6 +13,8 @@ mutation { error required array + _createdAt + _updatedAt format default } diff --git a/docs/examples/1.5.x/server-graphql/examples/databases/create-email-attribute.md b/docs/examples/1.5.x/server-graphql/examples/databases/create-email-attribute.md index 1f23a23ba7..e5845ccd47 100644 --- a/docs/examples/1.5.x/server-graphql/examples/databases/create-email-attribute.md +++ b/docs/examples/1.5.x/server-graphql/examples/databases/create-email-attribute.md @@ -13,6 +13,8 @@ mutation { error required array + _createdAt + _updatedAt format default } diff --git a/docs/examples/1.5.x/server-graphql/examples/databases/create-enum-attribute.md b/docs/examples/1.5.x/server-graphql/examples/databases/create-enum-attribute.md index 410a7983b4..d13c080e4a 100644 --- a/docs/examples/1.5.x/server-graphql/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.5.x/server-graphql/examples/databases/create-enum-attribute.md @@ -14,6 +14,8 @@ mutation { error required array + _createdAt + _updatedAt elements format default diff --git a/docs/examples/1.5.x/server-graphql/examples/databases/create-float-attribute.md b/docs/examples/1.5.x/server-graphql/examples/databases/create-float-attribute.md index ae6f9f72d6..2a270c3aff 100644 --- a/docs/examples/1.5.x/server-graphql/examples/databases/create-float-attribute.md +++ b/docs/examples/1.5.x/server-graphql/examples/databases/create-float-attribute.md @@ -15,6 +15,8 @@ mutation { error required array + _createdAt + _updatedAt min max default diff --git a/docs/examples/1.5.x/server-graphql/examples/databases/create-index.md b/docs/examples/1.5.x/server-graphql/examples/databases/create-index.md index efc92a798c..2875a9b4b7 100644 --- a/docs/examples/1.5.x/server-graphql/examples/databases/create-index.md +++ b/docs/examples/1.5.x/server-graphql/examples/databases/create-index.md @@ -13,5 +13,7 @@ mutation { error attributes orders + _createdAt + _updatedAt } } diff --git a/docs/examples/1.5.x/server-graphql/examples/databases/create-integer-attribute.md b/docs/examples/1.5.x/server-graphql/examples/databases/create-integer-attribute.md index 1dc43f6b0d..8c79706817 100644 --- a/docs/examples/1.5.x/server-graphql/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.5.x/server-graphql/examples/databases/create-integer-attribute.md @@ -15,6 +15,8 @@ mutation { error required array + _createdAt + _updatedAt min max default diff --git a/docs/examples/1.5.x/server-graphql/examples/databases/create-ip-attribute.md b/docs/examples/1.5.x/server-graphql/examples/databases/create-ip-attribute.md index b2fd7215a0..0f4ad9e139 100644 --- a/docs/examples/1.5.x/server-graphql/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.5.x/server-graphql/examples/databases/create-ip-attribute.md @@ -13,6 +13,8 @@ mutation { error required array + _createdAt + _updatedAt format default } diff --git a/docs/examples/1.5.x/server-graphql/examples/databases/create-relationship-attribute.md b/docs/examples/1.5.x/server-graphql/examples/databases/create-relationship-attribute.md index ddca20b83a..f66b87d6af 100644 --- a/docs/examples/1.5.x/server-graphql/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.5.x/server-graphql/examples/databases/create-relationship-attribute.md @@ -15,6 +15,8 @@ mutation { error required array + _createdAt + _updatedAt relatedCollection relationType twoWay diff --git a/docs/examples/1.5.x/server-graphql/examples/databases/create-string-attribute.md b/docs/examples/1.5.x/server-graphql/examples/databases/create-string-attribute.md index 3c290712e9..62d97d6962 100644 --- a/docs/examples/1.5.x/server-graphql/examples/databases/create-string-attribute.md +++ b/docs/examples/1.5.x/server-graphql/examples/databases/create-string-attribute.md @@ -15,6 +15,8 @@ mutation { error required array + _createdAt + _updatedAt size default } diff --git a/docs/examples/1.5.x/server-graphql/examples/databases/create-url-attribute.md b/docs/examples/1.5.x/server-graphql/examples/databases/create-url-attribute.md index d2a39756c9..89ad873e52 100644 --- a/docs/examples/1.5.x/server-graphql/examples/databases/create-url-attribute.md +++ b/docs/examples/1.5.x/server-graphql/examples/databases/create-url-attribute.md @@ -13,6 +13,8 @@ mutation { error required array + _createdAt + _updatedAt format default } diff --git a/docs/examples/1.5.x/server-graphql/examples/databases/get-collection.md b/docs/examples/1.5.x/server-graphql/examples/databases/get-collection.md index f76b71b6ba..ed27286b0d 100644 --- a/docs/examples/1.5.x/server-graphql/examples/databases/get-collection.md +++ b/docs/examples/1.5.x/server-graphql/examples/databases/get-collection.md @@ -19,6 +19,8 @@ query { error attributes orders + _createdAt + _updatedAt } } } diff --git a/docs/examples/1.5.x/server-graphql/examples/databases/get-index.md b/docs/examples/1.5.x/server-graphql/examples/databases/get-index.md index de3c44ebe0..29de7a76f8 100644 --- a/docs/examples/1.5.x/server-graphql/examples/databases/get-index.md +++ b/docs/examples/1.5.x/server-graphql/examples/databases/get-index.md @@ -10,5 +10,7 @@ query { error attributes orders + _createdAt + _updatedAt } } diff --git a/docs/examples/1.5.x/server-graphql/examples/databases/list-collections.md b/docs/examples/1.5.x/server-graphql/examples/databases/list-collections.md index b821b6c4cf..8dafbf7042 100644 --- a/docs/examples/1.5.x/server-graphql/examples/databases/list-collections.md +++ b/docs/examples/1.5.x/server-graphql/examples/databases/list-collections.md @@ -22,6 +22,8 @@ query { error attributes orders + _createdAt + _updatedAt } } } diff --git a/docs/examples/1.5.x/server-graphql/examples/databases/list-indexes.md b/docs/examples/1.5.x/server-graphql/examples/databases/list-indexes.md index e1c11b6c03..3cb67c6451 100644 --- a/docs/examples/1.5.x/server-graphql/examples/databases/list-indexes.md +++ b/docs/examples/1.5.x/server-graphql/examples/databases/list-indexes.md @@ -12,6 +12,8 @@ query { error attributes orders + _createdAt + _updatedAt } } } diff --git a/docs/examples/1.5.x/server-graphql/examples/databases/update-boolean-attribute.md b/docs/examples/1.5.x/server-graphql/examples/databases/update-boolean-attribute.md index 4c9aa62ef0..d508e62139 100644 --- a/docs/examples/1.5.x/server-graphql/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.5.x/server-graphql/examples/databases/update-boolean-attribute.md @@ -4,7 +4,8 @@ mutation { collectionId: "<COLLECTION_ID>", key: "", required: false, - default: false + default: false, + newKey: "" ) { key type @@ -12,6 +13,8 @@ mutation { error required array + _createdAt + _updatedAt default } } diff --git a/docs/examples/1.5.x/server-graphql/examples/databases/update-collection.md b/docs/examples/1.5.x/server-graphql/examples/databases/update-collection.md index fc78bb8efc..e918c058b8 100644 --- a/docs/examples/1.5.x/server-graphql/examples/databases/update-collection.md +++ b/docs/examples/1.5.x/server-graphql/examples/databases/update-collection.md @@ -23,6 +23,8 @@ mutation { error attributes orders + _createdAt + _updatedAt } } } diff --git a/docs/examples/1.5.x/server-graphql/examples/databases/update-datetime-attribute.md b/docs/examples/1.5.x/server-graphql/examples/databases/update-datetime-attribute.md index 3da4483837..a21b910edc 100644 --- a/docs/examples/1.5.x/server-graphql/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.5.x/server-graphql/examples/databases/update-datetime-attribute.md @@ -4,7 +4,8 @@ mutation { collectionId: "<COLLECTION_ID>", key: "", required: false, - default: "" + default: "", + newKey: "" ) { key type @@ -12,6 +13,8 @@ mutation { error required array + _createdAt + _updatedAt format default } diff --git a/docs/examples/1.5.x/server-graphql/examples/databases/update-email-attribute.md b/docs/examples/1.5.x/server-graphql/examples/databases/update-email-attribute.md index 36dd14d646..6c83d80e16 100644 --- a/docs/examples/1.5.x/server-graphql/examples/databases/update-email-attribute.md +++ b/docs/examples/1.5.x/server-graphql/examples/databases/update-email-attribute.md @@ -4,7 +4,8 @@ mutation { collectionId: "<COLLECTION_ID>", key: "", required: false, - default: "email@example.com" + default: "email@example.com", + newKey: "" ) { key type @@ -12,6 +13,8 @@ mutation { error required array + _createdAt + _updatedAt format default } diff --git a/docs/examples/1.5.x/server-graphql/examples/databases/update-enum-attribute.md b/docs/examples/1.5.x/server-graphql/examples/databases/update-enum-attribute.md index f2954f070f..378e32f9b8 100644 --- a/docs/examples/1.5.x/server-graphql/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.5.x/server-graphql/examples/databases/update-enum-attribute.md @@ -5,7 +5,8 @@ mutation { key: "", elements: [], required: false, - default: "<DEFAULT>" + default: "<DEFAULT>", + newKey: "" ) { key type @@ -13,6 +14,8 @@ mutation { error required array + _createdAt + _updatedAt elements format default diff --git a/docs/examples/1.5.x/server-graphql/examples/databases/update-float-attribute.md b/docs/examples/1.5.x/server-graphql/examples/databases/update-float-attribute.md index de987485a7..c70232e749 100644 --- a/docs/examples/1.5.x/server-graphql/examples/databases/update-float-attribute.md +++ b/docs/examples/1.5.x/server-graphql/examples/databases/update-float-attribute.md @@ -4,9 +4,10 @@ mutation { collectionId: "<COLLECTION_ID>", key: "", required: false, + default: 0, min: 0, max: 0, - default: 0 + newKey: "" ) { key type @@ -14,6 +15,8 @@ mutation { error required array + _createdAt + _updatedAt min max default diff --git a/docs/examples/1.5.x/server-graphql/examples/databases/update-integer-attribute.md b/docs/examples/1.5.x/server-graphql/examples/databases/update-integer-attribute.md index 34ceca93af..b24af5f260 100644 --- a/docs/examples/1.5.x/server-graphql/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.5.x/server-graphql/examples/databases/update-integer-attribute.md @@ -4,9 +4,10 @@ mutation { collectionId: "<COLLECTION_ID>", key: "", required: false, + default: 0, min: 0, max: 0, - default: 0 + newKey: "" ) { key type @@ -14,6 +15,8 @@ mutation { error required array + _createdAt + _updatedAt min max default diff --git a/docs/examples/1.5.x/server-graphql/examples/databases/update-ip-attribute.md b/docs/examples/1.5.x/server-graphql/examples/databases/update-ip-attribute.md index a3a2aec585..7a26224200 100644 --- a/docs/examples/1.5.x/server-graphql/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.5.x/server-graphql/examples/databases/update-ip-attribute.md @@ -4,7 +4,8 @@ mutation { collectionId: "<COLLECTION_ID>", key: "", required: false, - default: "" + default: "", + newKey: "" ) { key type @@ -12,6 +13,8 @@ mutation { error required array + _createdAt + _updatedAt format default } diff --git a/docs/examples/1.5.x/server-graphql/examples/databases/update-relationship-attribute.md b/docs/examples/1.5.x/server-graphql/examples/databases/update-relationship-attribute.md index aa994f14ae..6694540d93 100644 --- a/docs/examples/1.5.x/server-graphql/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.5.x/server-graphql/examples/databases/update-relationship-attribute.md @@ -3,7 +3,8 @@ mutation { databaseId: "<DATABASE_ID>", collectionId: "<COLLECTION_ID>", key: "", - onDelete: "cascade" + onDelete: "cascade", + newKey: "" ) { key type @@ -11,6 +12,8 @@ mutation { error required array + _createdAt + _updatedAt relatedCollection relationType twoWay diff --git a/docs/examples/1.5.x/server-graphql/examples/databases/update-string-attribute.md b/docs/examples/1.5.x/server-graphql/examples/databases/update-string-attribute.md index cc98a1a177..afafb307f5 100644 --- a/docs/examples/1.5.x/server-graphql/examples/databases/update-string-attribute.md +++ b/docs/examples/1.5.x/server-graphql/examples/databases/update-string-attribute.md @@ -4,7 +4,9 @@ mutation { collectionId: "<COLLECTION_ID>", key: "", required: false, - default: "<DEFAULT>" + default: "<DEFAULT>", + size: 1, + newKey: "" ) { key type @@ -12,6 +14,8 @@ mutation { error required array + _createdAt + _updatedAt size default } diff --git a/docs/examples/1.5.x/server-graphql/examples/databases/update-url-attribute.md b/docs/examples/1.5.x/server-graphql/examples/databases/update-url-attribute.md index e94723efe1..f9f14a04f6 100644 --- a/docs/examples/1.5.x/server-graphql/examples/databases/update-url-attribute.md +++ b/docs/examples/1.5.x/server-graphql/examples/databases/update-url-attribute.md @@ -4,7 +4,8 @@ mutation { collectionId: "<COLLECTION_ID>", key: "", required: false, - default: "https://example.com" + default: "https://example.com", + newKey: "" ) { key type @@ -12,6 +13,8 @@ mutation { error required array + _createdAt + _updatedAt format default } diff --git a/docs/examples/1.5.x/server-graphql/examples/functions/create-deployment.md b/docs/examples/1.5.x/server-graphql/examples/functions/create-deployment.md index 3cda4d7442..5f94c49f29 100644 --- a/docs/examples/1.5.x/server-graphql/examples/functions/create-deployment.md +++ b/docs/examples/1.5.x/server-graphql/examples/functions/create-deployment.md @@ -1,9 +1,9 @@ POST /v1/functions/{functionId}/deployments HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: multipart/form-data; boundary="cec8e8123c05ba25" -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> Content-Length: *Length of your entity body in bytes* --cec8e8123c05ba25 diff --git a/docs/examples/1.5.x/server-graphql/examples/functions/create-execution.md b/docs/examples/1.5.x/server-graphql/examples/functions/create-execution.md index 1627ee9339..1479aa3bb6 100644 --- a/docs/examples/1.5.x/server-graphql/examples/functions/create-execution.md +++ b/docs/examples/1.5.x/server-graphql/examples/functions/create-execution.md @@ -5,7 +5,8 @@ mutation { async: false, path: "<PATH>", method: "GET", - headers: "{}" + headers: "{}", + scheduledAt: "" ) { _id _createdAt @@ -29,5 +30,6 @@ mutation { logs errors duration + scheduledAt } } diff --git a/docs/examples/1.5.x/server-graphql/examples/functions/create.md b/docs/examples/1.5.x/server-graphql/examples/functions/create.md index f4eba8fafa..88cb6df223 100644 --- a/docs/examples/1.5.x/server-graphql/examples/functions/create.md +++ b/docs/examples/1.5.x/server-graphql/examples/functions/create.md @@ -11,6 +11,7 @@ mutation { logging: false, entrypoint: "<ENTRYPOINT>", commands: "<COMMANDS>", + scopes: [], installationId: "<INSTALLATION_ID>", providerRepositoryId: "<PROVIDER_REPOSITORY_ID>", providerBranch: "<PROVIDER_BRANCH>", @@ -19,7 +20,8 @@ mutation { templateRepository: "<TEMPLATE_REPOSITORY>", templateOwner: "<TEMPLATE_OWNER>", templateRootDirectory: "<TEMPLATE_ROOT_DIRECTORY>", - templateBranch: "<TEMPLATE_BRANCH>" + templateVersion: "<TEMPLATE_VERSION>", + specification: "" ) { _id _createdAt @@ -31,6 +33,7 @@ mutation { logging runtime deployment + scopes vars { _id _createdAt @@ -51,5 +54,6 @@ mutation { providerBranch providerRootDirectory providerSilentMode + specification } } diff --git a/docs/examples/1.5.x/server-graphql/examples/functions/delete-execution.md b/docs/examples/1.5.x/server-graphql/examples/functions/delete-execution.md new file mode 100644 index 0000000000..c6e950afc9 --- /dev/null +++ b/docs/examples/1.5.x/server-graphql/examples/functions/delete-execution.md @@ -0,0 +1,8 @@ +mutation { + functionsDeleteExecution( + functionId: "<FUNCTION_ID>", + executionId: "<EXECUTION_ID>" + ) { + status + } +} diff --git a/docs/examples/1.5.x/server-graphql/examples/functions/get-deployment-download.md b/docs/examples/1.5.x/server-graphql/examples/functions/get-deployment-download.md new file mode 100644 index 0000000000..396047bb94 --- /dev/null +++ b/docs/examples/1.5.x/server-graphql/examples/functions/get-deployment-download.md @@ -0,0 +1,8 @@ +query { + functionsGetDeploymentDownload( + functionId: "<FUNCTION_ID>", + deploymentId: "<DEPLOYMENT_ID>" + ) { + status + } +} diff --git a/docs/examples/1.5.x/server-graphql/examples/functions/get-deployment.md b/docs/examples/1.5.x/server-graphql/examples/functions/get-deployment.md index 1e1e7208a3..1f47561dd5 100644 --- a/docs/examples/1.5.x/server-graphql/examples/functions/get-deployment.md +++ b/docs/examples/1.5.x/server-graphql/examples/functions/get-deployment.md @@ -11,6 +11,7 @@ query { resourceType entrypoint size + buildSize buildId activate status diff --git a/docs/examples/1.5.x/server-graphql/examples/functions/get-execution.md b/docs/examples/1.5.x/server-graphql/examples/functions/get-execution.md index f9f8ef0552..6ded51a50c 100644 --- a/docs/examples/1.5.x/server-graphql/examples/functions/get-execution.md +++ b/docs/examples/1.5.x/server-graphql/examples/functions/get-execution.md @@ -25,5 +25,6 @@ query { logs errors duration + scheduledAt } } diff --git a/docs/examples/1.5.x/server-graphql/examples/functions/get.md b/docs/examples/1.5.x/server-graphql/examples/functions/get.md index 1b00e91c73..016a942bce 100644 --- a/docs/examples/1.5.x/server-graphql/examples/functions/get.md +++ b/docs/examples/1.5.x/server-graphql/examples/functions/get.md @@ -12,6 +12,7 @@ query { logging runtime deployment + scopes vars { _id _createdAt @@ -32,5 +33,6 @@ query { providerBranch providerRootDirectory providerSilentMode + specification } } diff --git a/docs/examples/1.5.x/server-graphql/examples/functions/list-deployments.md b/docs/examples/1.5.x/server-graphql/examples/functions/list-deployments.md index b736744384..57b50fc98f 100644 --- a/docs/examples/1.5.x/server-graphql/examples/functions/list-deployments.md +++ b/docs/examples/1.5.x/server-graphql/examples/functions/list-deployments.md @@ -14,6 +14,7 @@ query { resourceType entrypoint size + buildSize buildId activate status diff --git a/docs/examples/1.5.x/server-graphql/examples/functions/list-executions.md b/docs/examples/1.5.x/server-graphql/examples/functions/list-executions.md index 745ec32377..a0c02fa76f 100644 --- a/docs/examples/1.5.x/server-graphql/examples/functions/list-executions.md +++ b/docs/examples/1.5.x/server-graphql/examples/functions/list-executions.md @@ -28,6 +28,7 @@ query { logs errors duration + scheduledAt } } } diff --git a/docs/examples/1.5.x/server-graphql/examples/functions/list-runtimes.md b/docs/examples/1.5.x/server-graphql/examples/functions/list-runtimes.md index 2c2b207e60..445ff9dd08 100644 --- a/docs/examples/1.5.x/server-graphql/examples/functions/list-runtimes.md +++ b/docs/examples/1.5.x/server-graphql/examples/functions/list-runtimes.md @@ -3,6 +3,7 @@ query { total runtimes { _id + key name version base diff --git a/docs/examples/1.5.x/server-graphql/examples/functions/list-specifications.md b/docs/examples/1.5.x/server-graphql/examples/functions/list-specifications.md new file mode 100644 index 0000000000..a86b6ea494 --- /dev/null +++ b/docs/examples/1.5.x/server-graphql/examples/functions/list-specifications.md @@ -0,0 +1,11 @@ +query { + functionsListSpecifications { + total + specifications { + memory + cpus + enabled + slug + } + } +} diff --git a/docs/examples/1.5.x/server-graphql/examples/functions/list.md b/docs/examples/1.5.x/server-graphql/examples/functions/list.md index fd63347701..25341ed0dd 100644 --- a/docs/examples/1.5.x/server-graphql/examples/functions/list.md +++ b/docs/examples/1.5.x/server-graphql/examples/functions/list.md @@ -15,6 +15,7 @@ query { logging runtime deployment + scopes vars { _id _createdAt @@ -35,6 +36,7 @@ query { providerBranch providerRootDirectory providerSilentMode + specification } } } diff --git a/docs/examples/1.5.x/server-graphql/examples/functions/update-deployment-build.md b/docs/examples/1.5.x/server-graphql/examples/functions/update-deployment-build.md new file mode 100644 index 0000000000..484d4b39ce --- /dev/null +++ b/docs/examples/1.5.x/server-graphql/examples/functions/update-deployment-build.md @@ -0,0 +1,16 @@ +mutation { + functionsUpdateDeploymentBuild( + functionId: "<FUNCTION_ID>", + deploymentId: "<DEPLOYMENT_ID>" + ) { + _id + deploymentId + status + stdout + stderr + startTime + endTime + duration + size + } +} diff --git a/docs/examples/1.5.x/server-graphql/examples/functions/update-deployment.md b/docs/examples/1.5.x/server-graphql/examples/functions/update-deployment.md index d19fb87f67..310efb206b 100644 --- a/docs/examples/1.5.x/server-graphql/examples/functions/update-deployment.md +++ b/docs/examples/1.5.x/server-graphql/examples/functions/update-deployment.md @@ -13,6 +13,7 @@ mutation { logging runtime deployment + scopes vars { _id _createdAt @@ -33,5 +34,6 @@ mutation { providerBranch providerRootDirectory providerSilentMode + specification } } diff --git a/docs/examples/1.5.x/server-graphql/examples/functions/update.md b/docs/examples/1.5.x/server-graphql/examples/functions/update.md index 8804dcc091..cb384058c6 100644 --- a/docs/examples/1.5.x/server-graphql/examples/functions/update.md +++ b/docs/examples/1.5.x/server-graphql/examples/functions/update.md @@ -11,11 +11,13 @@ mutation { logging: false, entrypoint: "<ENTRYPOINT>", commands: "<COMMANDS>", + scopes: [], installationId: "<INSTALLATION_ID>", providerRepositoryId: "<PROVIDER_REPOSITORY_ID>", providerBranch: "<PROVIDER_BRANCH>", providerSilentMode: false, - providerRootDirectory: "<PROVIDER_ROOT_DIRECTORY>" + providerRootDirectory: "<PROVIDER_ROOT_DIRECTORY>", + specification: "" ) { _id _createdAt @@ -27,6 +29,7 @@ mutation { logging runtime deployment + scopes vars { _id _createdAt @@ -47,5 +50,6 @@ mutation { providerBranch providerRootDirectory providerSilentMode + specification } } diff --git a/docs/examples/1.5.x/server-graphql/examples/health/get-queue-stats-resources.md b/docs/examples/1.5.x/server-graphql/examples/health/get-queue-stats-resources.md new file mode 100644 index 0000000000..ce5cf59eca --- /dev/null +++ b/docs/examples/1.5.x/server-graphql/examples/health/get-queue-stats-resources.md @@ -0,0 +1,7 @@ +query { + healthGetQueueStatsResources( + threshold: 0 + ) { + size + } +} diff --git a/docs/examples/1.5.x/server-graphql/examples/messaging/create-push.md b/docs/examples/1.5.x/server-graphql/examples/messaging/create-push.md index 3084c97635..92264d1b67 100644 --- a/docs/examples/1.5.x/server-graphql/examples/messaging/create-push.md +++ b/docs/examples/1.5.x/server-graphql/examples/messaging/create-push.md @@ -13,9 +13,12 @@ mutation { sound: "<SOUND>", color: "<COLOR>", tag: "<TAG>", - badge: "<BADGE>", + badge: 0, draft: false, - scheduledAt: "" + scheduledAt: "", + contentAvailable: false, + critical: false, + priority: "normal" ) { _id _createdAt diff --git a/docs/examples/1.5.x/server-graphql/examples/messaging/create-subscriber.md b/docs/examples/1.5.x/server-graphql/examples/messaging/create-subscriber.md index b2712ebb48..bab53612b7 100644 --- a/docs/examples/1.5.x/server-graphql/examples/messaging/create-subscriber.md +++ b/docs/examples/1.5.x/server-graphql/examples/messaging/create-subscriber.md @@ -17,6 +17,7 @@ mutation { providerId providerType identifier + expired } userId userName diff --git a/docs/examples/1.5.x/server-graphql/examples/messaging/get-subscriber.md b/docs/examples/1.5.x/server-graphql/examples/messaging/get-subscriber.md index 54096dd70a..2e1672d010 100644 --- a/docs/examples/1.5.x/server-graphql/examples/messaging/get-subscriber.md +++ b/docs/examples/1.5.x/server-graphql/examples/messaging/get-subscriber.md @@ -16,6 +16,7 @@ query { providerId providerType identifier + expired } userId userName diff --git a/docs/examples/1.5.x/server-graphql/examples/messaging/list-subscribers.md b/docs/examples/1.5.x/server-graphql/examples/messaging/list-subscribers.md index 5c48ae34bb..a5a4f91e56 100644 --- a/docs/examples/1.5.x/server-graphql/examples/messaging/list-subscribers.md +++ b/docs/examples/1.5.x/server-graphql/examples/messaging/list-subscribers.md @@ -19,6 +19,7 @@ query { providerId providerType identifier + expired } userId userName diff --git a/docs/examples/1.5.x/server-graphql/examples/messaging/list-targets.md b/docs/examples/1.5.x/server-graphql/examples/messaging/list-targets.md index 8e356dce5f..aa82276de2 100644 --- a/docs/examples/1.5.x/server-graphql/examples/messaging/list-targets.md +++ b/docs/examples/1.5.x/server-graphql/examples/messaging/list-targets.md @@ -13,6 +13,7 @@ query { providerId providerType identifier + expired } } } diff --git a/docs/examples/1.5.x/server-graphql/examples/messaging/update-push.md b/docs/examples/1.5.x/server-graphql/examples/messaging/update-push.md index 9039792573..8ee2f57610 100644 --- a/docs/examples/1.5.x/server-graphql/examples/messaging/update-push.md +++ b/docs/examples/1.5.x/server-graphql/examples/messaging/update-push.md @@ -15,7 +15,10 @@ mutation { tag: "<TAG>", badge: 0, draft: false, - scheduledAt: "" + scheduledAt: "", + contentAvailable: false, + critical: false, + priority: "normal" ) { _id _createdAt diff --git a/docs/examples/1.5.x/server-graphql/examples/storage/create-file.md b/docs/examples/1.5.x/server-graphql/examples/storage/create-file.md index ece52b9f87..ceb5b613bc 100644 --- a/docs/examples/1.5.x/server-graphql/examples/storage/create-file.md +++ b/docs/examples/1.5.x/server-graphql/examples/storage/create-file.md @@ -1,11 +1,11 @@ POST /v1/storage/buckets/{bucketId}/files HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: multipart/form-data; boundary="cec8e8123c05ba25" -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> Content-Length: *Length of your entity body in bytes* --cec8e8123c05ba25 diff --git a/docs/examples/1.5.x/server-graphql/examples/users/create-argon2user.md b/docs/examples/1.5.x/server-graphql/examples/users/create-argon2user.md index 464dc754c9..7f99622e52 100644 --- a/docs/examples/1.5.x/server-graphql/examples/users/create-argon2user.md +++ b/docs/examples/1.5.x/server-graphql/examples/users/create-argon2user.md @@ -33,6 +33,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/server-graphql/examples/users/create-bcrypt-user.md b/docs/examples/1.5.x/server-graphql/examples/users/create-bcrypt-user.md index 4d4bb09194..26659176eb 100644 --- a/docs/examples/1.5.x/server-graphql/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.5.x/server-graphql/examples/users/create-bcrypt-user.md @@ -33,6 +33,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/server-graphql/examples/users/create-j-w-t.md b/docs/examples/1.5.x/server-graphql/examples/users/create-j-w-t.md new file mode 100644 index 0000000000..bf0b1bd638 --- /dev/null +++ b/docs/examples/1.5.x/server-graphql/examples/users/create-j-w-t.md @@ -0,0 +1,9 @@ +mutation { + usersCreateJWT( + userId: "<USER_ID>", + sessionId: "<SESSION_ID>", + duration: 0 + ) { + jwt + } +} diff --git a/docs/examples/1.5.x/server-graphql/examples/users/create-m-d5user.md b/docs/examples/1.5.x/server-graphql/examples/users/create-m-d5user.md index e8e833e6de..7e642b8233 100644 --- a/docs/examples/1.5.x/server-graphql/examples/users/create-m-d5user.md +++ b/docs/examples/1.5.x/server-graphql/examples/users/create-m-d5user.md @@ -33,6 +33,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/server-graphql/examples/users/create-p-h-pass-user.md b/docs/examples/1.5.x/server-graphql/examples/users/create-p-h-pass-user.md index 53960e7890..4c06b007a2 100644 --- a/docs/examples/1.5.x/server-graphql/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.5.x/server-graphql/examples/users/create-p-h-pass-user.md @@ -33,6 +33,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/server-graphql/examples/users/create-s-h-a-user.md b/docs/examples/1.5.x/server-graphql/examples/users/create-s-h-a-user.md index 17e287f8b3..f99da2752d 100644 --- a/docs/examples/1.5.x/server-graphql/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.5.x/server-graphql/examples/users/create-s-h-a-user.md @@ -34,6 +34,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/server-graphql/examples/users/create-scrypt-modified-user.md b/docs/examples/1.5.x/server-graphql/examples/users/create-scrypt-modified-user.md index 6d51fb29ba..624ffcdd38 100644 --- a/docs/examples/1.5.x/server-graphql/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.5.x/server-graphql/examples/users/create-scrypt-modified-user.md @@ -36,6 +36,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/server-graphql/examples/users/create-scrypt-user.md b/docs/examples/1.5.x/server-graphql/examples/users/create-scrypt-user.md index 0d4bac1db8..68a5f4c75f 100644 --- a/docs/examples/1.5.x/server-graphql/examples/users/create-scrypt-user.md +++ b/docs/examples/1.5.x/server-graphql/examples/users/create-scrypt-user.md @@ -38,6 +38,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/server-graphql/examples/users/create-target.md b/docs/examples/1.5.x/server-graphql/examples/users/create-target.md index a3a0696dec..7068c21aba 100644 --- a/docs/examples/1.5.x/server-graphql/examples/users/create-target.md +++ b/docs/examples/1.5.x/server-graphql/examples/users/create-target.md @@ -15,5 +15,6 @@ mutation { providerId providerType identifier + expired } } diff --git a/docs/examples/1.5.x/server-graphql/examples/users/create.md b/docs/examples/1.5.x/server-graphql/examples/users/create.md index 826a5168ef..465da80432 100644 --- a/docs/examples/1.5.x/server-graphql/examples/users/create.md +++ b/docs/examples/1.5.x/server-graphql/examples/users/create.md @@ -34,6 +34,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/server-graphql/examples/users/delete-mfa-authenticator.md b/docs/examples/1.5.x/server-graphql/examples/users/delete-mfa-authenticator.md index 227c340c68..43f73404f0 100644 --- a/docs/examples/1.5.x/server-graphql/examples/users/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-graphql/examples/users/delete-mfa-authenticator.md @@ -3,35 +3,6 @@ mutation { userId: "<USER_ID>", type: "totp" ) { - _id - _createdAt - _updatedAt - name - password - hash - hashOptions - registration status - labels - passwordUpdate - email - phone - emailVerification - phoneVerification - mfa - prefs { - data - } - targets { - _id - _createdAt - _updatedAt - name - userId - providerId - providerType - identifier - } - accessedAt } } diff --git a/docs/examples/1.5.x/server-graphql/examples/users/get-target.md b/docs/examples/1.5.x/server-graphql/examples/users/get-target.md index e4ba1a04a1..c84f947898 100644 --- a/docs/examples/1.5.x/server-graphql/examples/users/get-target.md +++ b/docs/examples/1.5.x/server-graphql/examples/users/get-target.md @@ -11,5 +11,6 @@ query { providerId providerType identifier + expired } } diff --git a/docs/examples/1.5.x/server-graphql/examples/users/get.md b/docs/examples/1.5.x/server-graphql/examples/users/get.md index f94a5818ed..9d0be685d9 100644 --- a/docs/examples/1.5.x/server-graphql/examples/users/get.md +++ b/docs/examples/1.5.x/server-graphql/examples/users/get.md @@ -30,6 +30,7 @@ query { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/server-graphql/examples/users/list-targets.md b/docs/examples/1.5.x/server-graphql/examples/users/list-targets.md index 05e796f167..408fd96f80 100644 --- a/docs/examples/1.5.x/server-graphql/examples/users/list-targets.md +++ b/docs/examples/1.5.x/server-graphql/examples/users/list-targets.md @@ -13,6 +13,7 @@ query { providerId providerType identifier + expired } } } diff --git a/docs/examples/1.5.x/server-graphql/examples/users/list.md b/docs/examples/1.5.x/server-graphql/examples/users/list.md index e2326dd1a2..a90121adf2 100644 --- a/docs/examples/1.5.x/server-graphql/examples/users/list.md +++ b/docs/examples/1.5.x/server-graphql/examples/users/list.md @@ -33,6 +33,7 @@ query { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/server-graphql/examples/users/update-email-verification.md b/docs/examples/1.5.x/server-graphql/examples/users/update-email-verification.md index 6bb2781854..cda7278ac0 100644 --- a/docs/examples/1.5.x/server-graphql/examples/users/update-email-verification.md +++ b/docs/examples/1.5.x/server-graphql/examples/users/update-email-verification.md @@ -31,6 +31,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/server-graphql/examples/users/update-email.md b/docs/examples/1.5.x/server-graphql/examples/users/update-email.md index 046937ac04..408a74972b 100644 --- a/docs/examples/1.5.x/server-graphql/examples/users/update-email.md +++ b/docs/examples/1.5.x/server-graphql/examples/users/update-email.md @@ -31,6 +31,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/server-graphql/examples/users/update-labels.md b/docs/examples/1.5.x/server-graphql/examples/users/update-labels.md index 93da33d805..cb3c5b6483 100644 --- a/docs/examples/1.5.x/server-graphql/examples/users/update-labels.md +++ b/docs/examples/1.5.x/server-graphql/examples/users/update-labels.md @@ -31,6 +31,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/server-graphql/examples/users/update-mfa.md b/docs/examples/1.5.x/server-graphql/examples/users/update-mfa.md index 9219aa1aea..ac09ea19a4 100644 --- a/docs/examples/1.5.x/server-graphql/examples/users/update-mfa.md +++ b/docs/examples/1.5.x/server-graphql/examples/users/update-mfa.md @@ -31,6 +31,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/server-graphql/examples/users/update-name.md b/docs/examples/1.5.x/server-graphql/examples/users/update-name.md index 01a53ce479..ec7e3dc27c 100644 --- a/docs/examples/1.5.x/server-graphql/examples/users/update-name.md +++ b/docs/examples/1.5.x/server-graphql/examples/users/update-name.md @@ -31,6 +31,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/server-graphql/examples/users/update-password.md b/docs/examples/1.5.x/server-graphql/examples/users/update-password.md index c95637c4ce..95ef74c83d 100644 --- a/docs/examples/1.5.x/server-graphql/examples/users/update-password.md +++ b/docs/examples/1.5.x/server-graphql/examples/users/update-password.md @@ -31,6 +31,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/server-graphql/examples/users/update-phone-verification.md b/docs/examples/1.5.x/server-graphql/examples/users/update-phone-verification.md index 58343ae365..c6afa54ba4 100644 --- a/docs/examples/1.5.x/server-graphql/examples/users/update-phone-verification.md +++ b/docs/examples/1.5.x/server-graphql/examples/users/update-phone-verification.md @@ -31,6 +31,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/server-graphql/examples/users/update-phone.md b/docs/examples/1.5.x/server-graphql/examples/users/update-phone.md index dbcb076c65..d3fc7d5f37 100644 --- a/docs/examples/1.5.x/server-graphql/examples/users/update-phone.md +++ b/docs/examples/1.5.x/server-graphql/examples/users/update-phone.md @@ -31,6 +31,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/server-graphql/examples/users/update-status.md b/docs/examples/1.5.x/server-graphql/examples/users/update-status.md index ad05bc75ff..2499c1c258 100644 --- a/docs/examples/1.5.x/server-graphql/examples/users/update-status.md +++ b/docs/examples/1.5.x/server-graphql/examples/users/update-status.md @@ -31,6 +31,7 @@ mutation { providerId providerType identifier + expired } accessedAt } diff --git a/docs/examples/1.5.x/server-graphql/examples/users/update-target.md b/docs/examples/1.5.x/server-graphql/examples/users/update-target.md index fe3444ede7..1f7cc1147a 100644 --- a/docs/examples/1.5.x/server-graphql/examples/users/update-target.md +++ b/docs/examples/1.5.x/server-graphql/examples/users/update-target.md @@ -14,5 +14,6 @@ mutation { providerId providerType identifier + expired } } diff --git a/docs/examples/1.5.x/server-kotlin/java/account/add-authenticator.md b/docs/examples/1.5.x/server-kotlin/java/account/add-authenticator.md index 3c3ac2b064..06b329802c 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/add-authenticator.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/add-authenticator.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; import io.appwrite.enums.AuthenticatorType; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-kotlin/java/account/create-anonymous-session.md b/docs/examples/1.5.x/server-kotlin/java/account/create-anonymous-session.md index ba833732d6..0ba9c6967c 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/create-anonymous-session.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/create-anonymous-session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/create-challenge.md b/docs/examples/1.5.x/server-kotlin/java/account/create-challenge.md index 14c538d9d3..a1aad6fd10 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/create-challenge.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/create-challenge.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; import io.appwrite.enums.AuthenticationFactor; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/create-email-password-session.md b/docs/examples/1.5.x/server-kotlin/java/account/create-email-password-session.md index 0af4269f3f..75fa73fb00 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/create-email-password-session.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/create-email-password-session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/create-email-token.md b/docs/examples/1.5.x/server-kotlin/java/account/create-email-token.md index 040b59b451..eff6d4310c 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/create-email-token.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/create-email-token.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/create-j-w-t.md b/docs/examples/1.5.x/server-kotlin/java/account/create-j-w-t.md index 1e223e4029..285d1e04bb 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/create-j-w-t.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/create-j-w-t.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/create-magic-u-r-l-token.md b/docs/examples/1.5.x/server-kotlin/java/account/create-magic-u-r-l-token.md index 71a318c3f9..3f9bda200b 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/create-magic-u-r-l-token.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/create-mfa-authenticator.md b/docs/examples/1.5.x/server-kotlin/java/account/create-mfa-authenticator.md index 9cf177f64c..eb127bd458 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/create-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/create-mfa-authenticator.md @@ -5,7 +5,7 @@ import io.appwrite.enums.AuthenticatorType; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/create-mfa-challenge.md b/docs/examples/1.5.x/server-kotlin/java/account/create-mfa-challenge.md index 6a3d9ceb70..e5fcbe9576 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/create-mfa-challenge.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/create-mfa-challenge.md @@ -5,7 +5,7 @@ import io.appwrite.enums.AuthenticationFactor; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/create-mfa-recovery-codes.md b/docs/examples/1.5.x/server-kotlin/java/account/create-mfa-recovery-codes.md index 6a9342d796..b64fb7dda6 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/create-mfa-recovery-codes.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/create-o-auth2session.md b/docs/examples/1.5.x/server-kotlin/java/account/create-o-auth2session.md index 3b77fb677b..851b0cd8f1 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/create-o-auth2session.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/create-o-auth2session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; import io.appwrite.enums.OAuthProvider; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/create-o-auth2token.md b/docs/examples/1.5.x/server-kotlin/java/account/create-o-auth2token.md index 4c92629612..47873c5af7 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/create-o-auth2token.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/create-o-auth2token.md @@ -5,7 +5,7 @@ import io.appwrite.enums.OAuthProvider; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/create-phone-token.md b/docs/examples/1.5.x/server-kotlin/java/account/create-phone-token.md index 022eaa4e30..1f7c05c361 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/create-phone-token.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/create-phone-token.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/create-phone-verification.md b/docs/examples/1.5.x/server-kotlin/java/account/create-phone-verification.md index bfe3722db5..07937ab257 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/create-phone-verification.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/create-phone-verification.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/create-recovery.md b/docs/examples/1.5.x/server-kotlin/java/account/create-recovery.md index 590fee3d08..d74106bbb7 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/create-recovery.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/create-recovery.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/create-session.md b/docs/examples/1.5.x/server-kotlin/java/account/create-session.md index 0a9606e6b0..861af3da09 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/create-session.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/create-session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/create-verification.md b/docs/examples/1.5.x/server-kotlin/java/account/create-verification.md index d38067b167..4479cc6915 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/create-verification.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/create-verification.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/create.md b/docs/examples/1.5.x/server-kotlin/java/account/create.md index f0d3a51e05..3bcfe1dff6 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/create.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/create.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/create2f-a-challenge.md b/docs/examples/1.5.x/server-kotlin/java/account/create2f-a-challenge.md index abe274064d..f0e46f6cb8 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/create2f-a-challenge.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/create2f-a-challenge.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; import io.appwrite.enums.AuthenticationFactor; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/delete-authenticator.md b/docs/examples/1.5.x/server-kotlin/java/account/delete-authenticator.md index 5d11dcd278..fbd552cf67 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/delete-authenticator.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/delete-authenticator.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; import io.appwrite.enums.AuthenticatorType; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-kotlin/java/account/delete-identity.md b/docs/examples/1.5.x/server-kotlin/java/account/delete-identity.md index 9417083719..5eec2424d8 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/delete-identity.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/delete-identity.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/delete-mfa-authenticator.md b/docs/examples/1.5.x/server-kotlin/java/account/delete-mfa-authenticator.md index c335161a2b..7f3b6b9558 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/delete-mfa-authenticator.md @@ -5,14 +5,13 @@ import io.appwrite.enums.AuthenticatorType; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Account account = new Account(client); account.deleteMfaAuthenticator( AuthenticatorType.TOTP, // type - "<OTP>", // otp new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/delete-session.md b/docs/examples/1.5.x/server-kotlin/java/account/delete-session.md index b77ac28b32..687df8193b 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/delete-session.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/delete-session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/delete-sessions.md b/docs/examples/1.5.x/server-kotlin/java/account/delete-sessions.md index 80103a4ebe..0bfa1f23f5 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/delete-sessions.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/delete-sessions.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/get-mfa-recovery-codes.md b/docs/examples/1.5.x/server-kotlin/java/account/get-mfa-recovery-codes.md index 7298699bda..f99634d71e 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/get-mfa-recovery-codes.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/get-prefs.md b/docs/examples/1.5.x/server-kotlin/java/account/get-prefs.md index fd05e63d55..46d41816c7 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/get-prefs.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/get-prefs.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/get-session.md b/docs/examples/1.5.x/server-kotlin/java/account/get-session.md index 60c4312ebc..6d07a85b4a 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/get-session.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/get-session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/get.md b/docs/examples/1.5.x/server-kotlin/java/account/get.md index f49288116c..6d0eb40cf2 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/get.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/get.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/list-factors.md b/docs/examples/1.5.x/server-kotlin/java/account/list-factors.md index 55d50db3ba..373915375f 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/list-factors.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/list-factors.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-kotlin/java/account/list-identities.md b/docs/examples/1.5.x/server-kotlin/java/account/list-identities.md index 4b073999a5..8977a23b20 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/list-identities.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/list-identities.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/list-logs.md b/docs/examples/1.5.x/server-kotlin/java/account/list-logs.md index b33b55a450..e26cab9ad4 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/list-logs.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/list-logs.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/list-mfa-factors.md b/docs/examples/1.5.x/server-kotlin/java/account/list-mfa-factors.md index 9232cdf483..74f3e53444 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/list-mfa-factors.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/list-mfa-factors.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/list-sessions.md b/docs/examples/1.5.x/server-kotlin/java/account/list-sessions.md index c1fd54076e..6b01d445b2 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/list-sessions.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/list-sessions.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/update-challenge.md b/docs/examples/1.5.x/server-kotlin/java/account/update-challenge.md index f3e008c770..b94cfa5a1b 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/update-challenge.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/update-challenge.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-kotlin/java/account/update-email.md b/docs/examples/1.5.x/server-kotlin/java/account/update-email.md index 453e1da0de..391e5311ed 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/update-email.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/update-email.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/update-m-f-a.md b/docs/examples/1.5.x/server-kotlin/java/account/update-m-f-a.md index 28780aeb78..58ac56bed8 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/update-m-f-a.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/update-m-f-a.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/update-magic-u-r-l-session.md b/docs/examples/1.5.x/server-kotlin/java/account/update-magic-u-r-l-session.md index f11d09abf0..62fe856fe0 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/update-magic-u-r-l-session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/update-mfa-authenticator.md b/docs/examples/1.5.x/server-kotlin/java/account/update-mfa-authenticator.md index cc6b7740e9..b492d8c4a3 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/update-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/update-mfa-authenticator.md @@ -5,7 +5,7 @@ import io.appwrite.enums.AuthenticatorType; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/update-mfa-challenge.md b/docs/examples/1.5.x/server-kotlin/java/account/update-mfa-challenge.md index 8b907b1526..74ca4815d7 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/update-mfa-challenge.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/update-mfa-challenge.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/update-mfa-recovery-codes.md b/docs/examples/1.5.x/server-kotlin/java/account/update-mfa-recovery-codes.md index c00cd9e79d..8f38ad8345 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/update-mfa-recovery-codes.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/update-name.md b/docs/examples/1.5.x/server-kotlin/java/account/update-name.md index 48805222ea..1ce2abfa12 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/update-name.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/update-name.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/update-password.md b/docs/examples/1.5.x/server-kotlin/java/account/update-password.md index 078301ad25..437e825be5 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/update-password.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/update-password.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/update-phone-session.md b/docs/examples/1.5.x/server-kotlin/java/account/update-phone-session.md index b4fdb3cb04..c401de4c65 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/update-phone-session.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/update-phone-session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2"); // Your project ID + .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/update-phone-verification.md b/docs/examples/1.5.x/server-kotlin/java/account/update-phone-verification.md index 509f220dab..ddf786a2de 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/update-phone-verification.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/update-phone-verification.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/update-phone.md b/docs/examples/1.5.x/server-kotlin/java/account/update-phone.md index 1808767532..6a47fd1099 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/update-phone.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/update-phone.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/update-prefs.md b/docs/examples/1.5.x/server-kotlin/java/account/update-prefs.md index 0ff1116712..8c10ede3bd 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/update-prefs.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/update-prefs.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/update-recovery.md b/docs/examples/1.5.x/server-kotlin/java/account/update-recovery.md index 11cd3e7a58..be4301c516 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/update-recovery.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/update-recovery.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/update-session.md b/docs/examples/1.5.x/server-kotlin/java/account/update-session.md index a944695f7e..96e35069a9 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/update-session.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/update-session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/update-status.md b/docs/examples/1.5.x/server-kotlin/java/account/update-status.md index 888bd3102d..7c42f35ba6 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/update-status.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/update-status.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/update-verification.md b/docs/examples/1.5.x/server-kotlin/java/account/update-verification.md index 3b2db93404..ed8a40bc83 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/update-verification.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/update-verification.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Account account = new Account(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/account/verify-authenticator.md b/docs/examples/1.5.x/server-kotlin/java/account/verify-authenticator.md index f572ef1463..4169363ba5 100644 --- a/docs/examples/1.5.x/server-kotlin/java/account/verify-authenticator.md +++ b/docs/examples/1.5.x/server-kotlin/java/account/verify-authenticator.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; import io.appwrite.enums.AuthenticatorType; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-kotlin/java/avatars/get-browser.md b/docs/examples/1.5.x/server-kotlin/java/avatars/get-browser.md index 7e89188474..4cd18b6958 100644 --- a/docs/examples/1.5.x/server-kotlin/java/avatars/get-browser.md +++ b/docs/examples/1.5.x/server-kotlin/java/avatars/get-browser.md @@ -5,7 +5,7 @@ import io.appwrite.enums.Browser; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/avatars/get-credit-card.md b/docs/examples/1.5.x/server-kotlin/java/avatars/get-credit-card.md index e6e60049ed..eadbf5de9a 100644 --- a/docs/examples/1.5.x/server-kotlin/java/avatars/get-credit-card.md +++ b/docs/examples/1.5.x/server-kotlin/java/avatars/get-credit-card.md @@ -5,7 +5,7 @@ import io.appwrite.enums.CreditCard; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/avatars/get-favicon.md b/docs/examples/1.5.x/server-kotlin/java/avatars/get-favicon.md index 3819896781..9f519412aa 100644 --- a/docs/examples/1.5.x/server-kotlin/java/avatars/get-favicon.md +++ b/docs/examples/1.5.x/server-kotlin/java/avatars/get-favicon.md @@ -4,7 +4,7 @@ import io.appwrite.services.Avatars; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/avatars/get-flag.md b/docs/examples/1.5.x/server-kotlin/java/avatars/get-flag.md index b5dc08ab40..1b7f423ad8 100644 --- a/docs/examples/1.5.x/server-kotlin/java/avatars/get-flag.md +++ b/docs/examples/1.5.x/server-kotlin/java/avatars/get-flag.md @@ -5,7 +5,7 @@ import io.appwrite.enums.Flag; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/avatars/get-image.md b/docs/examples/1.5.x/server-kotlin/java/avatars/get-image.md index f1d0d297f7..af5f217e77 100644 --- a/docs/examples/1.5.x/server-kotlin/java/avatars/get-image.md +++ b/docs/examples/1.5.x/server-kotlin/java/avatars/get-image.md @@ -4,7 +4,7 @@ import io.appwrite.services.Avatars; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/avatars/get-initials.md b/docs/examples/1.5.x/server-kotlin/java/avatars/get-initials.md index 8d69379a85..4b00f73033 100644 --- a/docs/examples/1.5.x/server-kotlin/java/avatars/get-initials.md +++ b/docs/examples/1.5.x/server-kotlin/java/avatars/get-initials.md @@ -4,7 +4,7 @@ import io.appwrite.services.Avatars; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/avatars/get-q-r.md b/docs/examples/1.5.x/server-kotlin/java/avatars/get-q-r.md index 8a34781ea2..903e2b0d1d 100644 --- a/docs/examples/1.5.x/server-kotlin/java/avatars/get-q-r.md +++ b/docs/examples/1.5.x/server-kotlin/java/avatars/get-q-r.md @@ -4,7 +4,7 @@ import io.appwrite.services.Avatars; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/create-boolean-attribute.md b/docs/examples/1.5.x/server-kotlin/java/databases/create-boolean-attribute.md index c1325cf256..d959a65a9c 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/create-boolean-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/create-boolean-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/create-collection.md b/docs/examples/1.5.x/server-kotlin/java/databases/create-collection.md index 4be72451c0..9a17b26391 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/create-collection.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/create-collection.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/create-datetime-attribute.md b/docs/examples/1.5.x/server-kotlin/java/databases/create-datetime-attribute.md index 514933cb01..b35d4894e4 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/create-datetime-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/create-datetime-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/create-document.md b/docs/examples/1.5.x/server-kotlin/java/databases/create-document.md index 73f2c5a86f..e05d1fe5de 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/create-document.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/create-document.md @@ -4,7 +4,7 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/create-email-attribute.md b/docs/examples/1.5.x/server-kotlin/java/databases/create-email-attribute.md index 375ca5c2ca..5a42e97c86 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/create-email-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/create-email-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/create-enum-attribute.md b/docs/examples/1.5.x/server-kotlin/java/databases/create-enum-attribute.md index c0190bca14..59cbd46dc4 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/create-enum-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/create-enum-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/create-float-attribute.md b/docs/examples/1.5.x/server-kotlin/java/databases/create-float-attribute.md index 844ae50e78..cdbdbb24d3 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/create-float-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/create-float-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/create-index.md b/docs/examples/1.5.x/server-kotlin/java/databases/create-index.md index bcfb327474..a3f09d4379 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/create-index.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/create-index.md @@ -5,8 +5,8 @@ import io.appwrite.enums.IndexType; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/create-integer-attribute.md b/docs/examples/1.5.x/server-kotlin/java/databases/create-integer-attribute.md index feab244234..37e7f37352 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/create-integer-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/create-integer-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/create-ip-attribute.md b/docs/examples/1.5.x/server-kotlin/java/databases/create-ip-attribute.md index f624212866..bdb009374c 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/create-ip-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/create-ip-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/create-relationship-attribute.md b/docs/examples/1.5.x/server-kotlin/java/databases/create-relationship-attribute.md index ed998b4834..f3d0f51f3d 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/create-relationship-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/create-relationship-attribute.md @@ -5,8 +5,8 @@ import io.appwrite.enums.RelationshipType; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/create-string-attribute.md b/docs/examples/1.5.x/server-kotlin/java/databases/create-string-attribute.md index 70257ea477..7d9d8d48f0 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/create-string-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/create-string-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/create-url-attribute.md b/docs/examples/1.5.x/server-kotlin/java/databases/create-url-attribute.md index 706db3f375..57ed89d814 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/create-url-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/create-url-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/create.md b/docs/examples/1.5.x/server-kotlin/java/databases/create.md index 3700e180b6..5b66510887 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/create.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/create.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/delete-attribute.md b/docs/examples/1.5.x/server-kotlin/java/databases/delete-attribute.md index ee14deb737..8f9d2f0e24 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/delete-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/delete-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/delete-collection.md b/docs/examples/1.5.x/server-kotlin/java/databases/delete-collection.md index de17e072a0..334e7adffb 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/delete-collection.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/delete-collection.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/delete-document.md b/docs/examples/1.5.x/server-kotlin/java/databases/delete-document.md index 722bb4fcac..a42b3f14b0 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/delete-document.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/delete-document.md @@ -4,7 +4,7 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/delete-index.md b/docs/examples/1.5.x/server-kotlin/java/databases/delete-index.md index ed3640819f..725045eb15 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/delete-index.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/delete-index.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/delete.md b/docs/examples/1.5.x/server-kotlin/java/databases/delete.md index aa323b2ae1..41fb72bb7f 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/delete.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/delete.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/get-attribute.md b/docs/examples/1.5.x/server-kotlin/java/databases/get-attribute.md index be2dc5d00c..1b29312a67 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/get-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/get-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/get-collection.md b/docs/examples/1.5.x/server-kotlin/java/databases/get-collection.md index 75701bd4fd..41bbb234b0 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/get-collection.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/get-collection.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/get-document.md b/docs/examples/1.5.x/server-kotlin/java/databases/get-document.md index 7b6d04386a..870642bb2c 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/get-document.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/get-document.md @@ -4,7 +4,7 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/get-index.md b/docs/examples/1.5.x/server-kotlin/java/databases/get-index.md index 1c5dec7767..eb33b87f6d 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/get-index.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/get-index.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/get.md b/docs/examples/1.5.x/server-kotlin/java/databases/get.md index f21ee37ab2..b276da4eab 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/get.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/get.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/list-attributes.md b/docs/examples/1.5.x/server-kotlin/java/databases/list-attributes.md index 3f5b659cb8..417fe6e5e4 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/list-attributes.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/list-attributes.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/list-collections.md b/docs/examples/1.5.x/server-kotlin/java/databases/list-collections.md index cdb807fae5..e12e1580d3 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/list-collections.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/list-collections.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/list-documents.md b/docs/examples/1.5.x/server-kotlin/java/databases/list-documents.md index 3dd929da4c..4fab62aeaf 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/list-documents.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/list-documents.md @@ -4,7 +4,7 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/list-indexes.md b/docs/examples/1.5.x/server-kotlin/java/databases/list-indexes.md index 5d59dfa759..c26626531d 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/list-indexes.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/list-indexes.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/list.md b/docs/examples/1.5.x/server-kotlin/java/databases/list.md index 19334f3cb0..d014a70c7c 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/list.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/list.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/update-boolean-attribute.md b/docs/examples/1.5.x/server-kotlin/java/databases/update-boolean-attribute.md index 8b4791312b..01a8ba13d3 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/update-boolean-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/update-boolean-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); @@ -15,6 +15,7 @@ databases.updateBooleanAttribute( "", // key false, // required false, // default + "", // newKey (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/update-collection.md b/docs/examples/1.5.x/server-kotlin/java/databases/update-collection.md index f3cdf9adf3..533d7a762b 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/update-collection.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/update-collection.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/update-datetime-attribute.md b/docs/examples/1.5.x/server-kotlin/java/databases/update-datetime-attribute.md index bc6bee4aa8..00b35689d3 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/update-datetime-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/update-datetime-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); @@ -15,6 +15,7 @@ databases.updateDatetimeAttribute( "", // key false, // required "", // default + "", // newKey (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/update-document.md b/docs/examples/1.5.x/server-kotlin/java/databases/update-document.md index 246a9000f3..43c9600c58 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/update-document.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/update-document.md @@ -4,7 +4,7 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/update-email-attribute.md b/docs/examples/1.5.x/server-kotlin/java/databases/update-email-attribute.md index a62447d4ae..b931370189 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/update-email-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/update-email-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); @@ -15,6 +15,7 @@ databases.updateEmailAttribute( "", // key false, // required "email@example.com", // default + "", // newKey (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/update-enum-attribute.md b/docs/examples/1.5.x/server-kotlin/java/databases/update-enum-attribute.md index b78fb88568..febf784f96 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/update-enum-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/update-enum-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); @@ -16,6 +16,7 @@ databases.updateEnumAttribute( listOf(), // elements false, // required "<DEFAULT>", // default + "", // newKey (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/update-float-attribute.md b/docs/examples/1.5.x/server-kotlin/java/databases/update-float-attribute.md index 89e6c61c35..061e2a9e33 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/update-float-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/update-float-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); @@ -14,9 +14,10 @@ databases.updateFloatAttribute( "<COLLECTION_ID>", // collectionId "", // key false, // required - 0, // min - 0, // max 0, // default + 0, // min (optional) + 0, // max (optional) + "", // newKey (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/update-integer-attribute.md b/docs/examples/1.5.x/server-kotlin/java/databases/update-integer-attribute.md index 1e90bdc240..24a26eb8b4 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/update-integer-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/update-integer-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); @@ -14,9 +14,10 @@ databases.updateIntegerAttribute( "<COLLECTION_ID>", // collectionId "", // key false, // required - 0, // min - 0, // max 0, // default + 0, // min (optional) + 0, // max (optional) + "", // newKey (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/update-ip-attribute.md b/docs/examples/1.5.x/server-kotlin/java/databases/update-ip-attribute.md index 8df90b5970..72b85cf531 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/update-ip-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/update-ip-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); @@ -15,6 +15,7 @@ databases.updateIpAttribute( "", // key false, // required "", // default + "", // newKey (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/update-relationship-attribute.md b/docs/examples/1.5.x/server-kotlin/java/databases/update-relationship-attribute.md index 1fd638f8ae..73e21218b1 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/update-relationship-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/update-relationship-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); @@ -14,6 +14,7 @@ databases.updateRelationshipAttribute( "<COLLECTION_ID>", // collectionId "", // key RelationMutate.CASCADE, // onDelete (optional) + "", // newKey (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/update-string-attribute.md b/docs/examples/1.5.x/server-kotlin/java/databases/update-string-attribute.md index b5cf75ab59..2d69006181 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/update-string-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/update-string-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); @@ -15,6 +15,8 @@ databases.updateStringAttribute( "", // key false, // required "<DEFAULT>", // default + 1, // size (optional) + "", // newKey (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/update-url-attribute.md b/docs/examples/1.5.x/server-kotlin/java/databases/update-url-attribute.md index c93f509cb9..dcfbf3065d 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/update-url-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/update-url-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); @@ -15,6 +15,7 @@ databases.updateUrlAttribute( "", // key false, // required "https://example.com", // default + "", // newKey (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.5.x/server-kotlin/java/databases/update.md b/docs/examples/1.5.x/server-kotlin/java/databases/update.md index 2d9695b51b..f1e6dd3972 100644 --- a/docs/examples/1.5.x/server-kotlin/java/databases/update.md +++ b/docs/examples/1.5.x/server-kotlin/java/databases/update.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Databases databases = new Databases(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/functions/create-build.md b/docs/examples/1.5.x/server-kotlin/java/functions/create-build.md index 097587f1bd..ad55df1fcb 100644 --- a/docs/examples/1.5.x/server-kotlin/java/functions/create-build.md +++ b/docs/examples/1.5.x/server-kotlin/java/functions/create-build.md @@ -4,15 +4,15 @@ import io.appwrite.services.Functions; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); functions.createBuild( "<FUNCTION_ID>", // functionId "<DEPLOYMENT_ID>", // deploymentId - "<BUILD_ID>", // buildId + "<BUILD_ID>", // buildId (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.5.x/server-kotlin/java/functions/create-deployment.md b/docs/examples/1.5.x/server-kotlin/java/functions/create-deployment.md index 25ca118b2e..920998e601 100644 --- a/docs/examples/1.5.x/server-kotlin/java/functions/create-deployment.md +++ b/docs/examples/1.5.x/server-kotlin/java/functions/create-deployment.md @@ -5,8 +5,8 @@ import io.appwrite.services.Functions; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/functions/create-execution.md b/docs/examples/1.5.x/server-kotlin/java/functions/create-execution.md index f3507f392f..62c0634b60 100644 --- a/docs/examples/1.5.x/server-kotlin/java/functions/create-execution.md +++ b/docs/examples/1.5.x/server-kotlin/java/functions/create-execution.md @@ -4,7 +4,7 @@ import io.appwrite.services.Functions; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Functions functions = new Functions(client); @@ -16,6 +16,7 @@ functions.createExecution( "<PATH>", // path (optional) ExecutionMethod.GET, // method (optional) mapOf( "a" to "b" ), // headers (optional) + "", // scheduledAt (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.5.x/server-kotlin/java/functions/create-variable.md b/docs/examples/1.5.x/server-kotlin/java/functions/create-variable.md index f833f3466a..a1d6c7b82f 100644 --- a/docs/examples/1.5.x/server-kotlin/java/functions/create-variable.md +++ b/docs/examples/1.5.x/server-kotlin/java/functions/create-variable.md @@ -4,8 +4,8 @@ import io.appwrite.services.Functions; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/functions/create.md b/docs/examples/1.5.x/server-kotlin/java/functions/create.md index edaaa1197c..db0cc56b6b 100644 --- a/docs/examples/1.5.x/server-kotlin/java/functions/create.md +++ b/docs/examples/1.5.x/server-kotlin/java/functions/create.md @@ -5,8 +5,8 @@ import io.appwrite.enums.Runtime; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); @@ -22,6 +22,7 @@ functions.create( false, // logging (optional) "<ENTRYPOINT>", // entrypoint (optional) "<COMMANDS>", // commands (optional) + listOf(), // scopes (optional) "<INSTALLATION_ID>", // installationId (optional) "<PROVIDER_REPOSITORY_ID>", // providerRepositoryId (optional) "<PROVIDER_BRANCH>", // providerBranch (optional) @@ -30,7 +31,8 @@ functions.create( "<TEMPLATE_REPOSITORY>", // templateRepository (optional) "<TEMPLATE_OWNER>", // templateOwner (optional) "<TEMPLATE_ROOT_DIRECTORY>", // templateRootDirectory (optional) - "<TEMPLATE_BRANCH>", // templateBranch (optional) + "<TEMPLATE_VERSION>", // templateVersion (optional) + "", // specification (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.5.x/server-kotlin/java/functions/delete-deployment.md b/docs/examples/1.5.x/server-kotlin/java/functions/delete-deployment.md index 83de97038e..f115bcc191 100644 --- a/docs/examples/1.5.x/server-kotlin/java/functions/delete-deployment.md +++ b/docs/examples/1.5.x/server-kotlin/java/functions/delete-deployment.md @@ -4,8 +4,8 @@ import io.appwrite.services.Functions; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/functions/delete-execution.md b/docs/examples/1.5.x/server-kotlin/java/functions/delete-execution.md new file mode 100644 index 0000000000..68c11bd436 --- /dev/null +++ b/docs/examples/1.5.x/server-kotlin/java/functions/delete-execution.md @@ -0,0 +1,24 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Functions; + +Client client = new Client() + .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key + +Functions functions = new Functions(client); + +functions.deleteExecution( + "<FUNCTION_ID>", // functionId + "<EXECUTION_ID>", // executionId + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.5.x/server-kotlin/java/functions/delete-variable.md b/docs/examples/1.5.x/server-kotlin/java/functions/delete-variable.md index 6d91f50df9..ca4d4f4440 100644 --- a/docs/examples/1.5.x/server-kotlin/java/functions/delete-variable.md +++ b/docs/examples/1.5.x/server-kotlin/java/functions/delete-variable.md @@ -4,8 +4,8 @@ import io.appwrite.services.Functions; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/functions/delete.md b/docs/examples/1.5.x/server-kotlin/java/functions/delete.md index 647da6e525..94c7da516f 100644 --- a/docs/examples/1.5.x/server-kotlin/java/functions/delete.md +++ b/docs/examples/1.5.x/server-kotlin/java/functions/delete.md @@ -4,8 +4,8 @@ import io.appwrite.services.Functions; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/functions/download-deployment.md b/docs/examples/1.5.x/server-kotlin/java/functions/download-deployment.md index e241481194..69dfdae97f 100644 --- a/docs/examples/1.5.x/server-kotlin/java/functions/download-deployment.md +++ b/docs/examples/1.5.x/server-kotlin/java/functions/download-deployment.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.5.x/server-kotlin/java/functions/get-deployment-download.md b/docs/examples/1.5.x/server-kotlin/java/functions/get-deployment-download.md new file mode 100644 index 0000000000..719d662f7f --- /dev/null +++ b/docs/examples/1.5.x/server-kotlin/java/functions/get-deployment-download.md @@ -0,0 +1,24 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Functions; + +Client client = new Client() + .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key + +Functions functions = new Functions(client); + +functions.getDeploymentDownload( + "<FUNCTION_ID>", // functionId + "<DEPLOYMENT_ID>", // deploymentId + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.5.x/server-kotlin/java/functions/get-deployment.md b/docs/examples/1.5.x/server-kotlin/java/functions/get-deployment.md index 12575adf52..f039beed2d 100644 --- a/docs/examples/1.5.x/server-kotlin/java/functions/get-deployment.md +++ b/docs/examples/1.5.x/server-kotlin/java/functions/get-deployment.md @@ -4,8 +4,8 @@ import io.appwrite.services.Functions; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/functions/get-execution.md b/docs/examples/1.5.x/server-kotlin/java/functions/get-execution.md index 1f0d01b92e..253ff54bd8 100644 --- a/docs/examples/1.5.x/server-kotlin/java/functions/get-execution.md +++ b/docs/examples/1.5.x/server-kotlin/java/functions/get-execution.md @@ -4,7 +4,7 @@ import io.appwrite.services.Functions; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/functions/get-variable.md b/docs/examples/1.5.x/server-kotlin/java/functions/get-variable.md index 6b89b16619..3d01fa4942 100644 --- a/docs/examples/1.5.x/server-kotlin/java/functions/get-variable.md +++ b/docs/examples/1.5.x/server-kotlin/java/functions/get-variable.md @@ -4,8 +4,8 @@ import io.appwrite.services.Functions; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/functions/get.md b/docs/examples/1.5.x/server-kotlin/java/functions/get.md index 777bf83a83..c22ccca5c6 100644 --- a/docs/examples/1.5.x/server-kotlin/java/functions/get.md +++ b/docs/examples/1.5.x/server-kotlin/java/functions/get.md @@ -4,8 +4,8 @@ import io.appwrite.services.Functions; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/functions/list-deployments.md b/docs/examples/1.5.x/server-kotlin/java/functions/list-deployments.md index bee24c939f..9a1f1ef35d 100644 --- a/docs/examples/1.5.x/server-kotlin/java/functions/list-deployments.md +++ b/docs/examples/1.5.x/server-kotlin/java/functions/list-deployments.md @@ -4,8 +4,8 @@ import io.appwrite.services.Functions; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/functions/list-executions.md b/docs/examples/1.5.x/server-kotlin/java/functions/list-executions.md index d8632aacb1..f2faa02138 100644 --- a/docs/examples/1.5.x/server-kotlin/java/functions/list-executions.md +++ b/docs/examples/1.5.x/server-kotlin/java/functions/list-executions.md @@ -4,7 +4,7 @@ import io.appwrite.services.Functions; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/functions/list-runtimes.md b/docs/examples/1.5.x/server-kotlin/java/functions/list-runtimes.md index 46d0446310..156e81feb2 100644 --- a/docs/examples/1.5.x/server-kotlin/java/functions/list-runtimes.md +++ b/docs/examples/1.5.x/server-kotlin/java/functions/list-runtimes.md @@ -4,8 +4,8 @@ import io.appwrite.services.Functions; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/functions/list-specifications.md b/docs/examples/1.5.x/server-kotlin/java/functions/list-specifications.md new file mode 100644 index 0000000000..47d941c557 --- /dev/null +++ b/docs/examples/1.5.x/server-kotlin/java/functions/list-specifications.md @@ -0,0 +1,19 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Functions; + +Client client = new Client() + .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key + +Functions functions = new Functions(client); + +functions.listSpecifications(new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); +})); diff --git a/docs/examples/1.5.x/server-kotlin/java/functions/list-variables.md b/docs/examples/1.5.x/server-kotlin/java/functions/list-variables.md index df66fd7d89..1e1e0e7c8b 100644 --- a/docs/examples/1.5.x/server-kotlin/java/functions/list-variables.md +++ b/docs/examples/1.5.x/server-kotlin/java/functions/list-variables.md @@ -4,8 +4,8 @@ import io.appwrite.services.Functions; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/functions/list.md b/docs/examples/1.5.x/server-kotlin/java/functions/list.md index 2276e55ebf..1c501fd145 100644 --- a/docs/examples/1.5.x/server-kotlin/java/functions/list.md +++ b/docs/examples/1.5.x/server-kotlin/java/functions/list.md @@ -4,8 +4,8 @@ import io.appwrite.services.Functions; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/functions/update-deployment-build.md b/docs/examples/1.5.x/server-kotlin/java/functions/update-deployment-build.md new file mode 100644 index 0000000000..62b684fd8b --- /dev/null +++ b/docs/examples/1.5.x/server-kotlin/java/functions/update-deployment-build.md @@ -0,0 +1,24 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Functions; + +Client client = new Client() + .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key + +Functions functions = new Functions(client); + +functions.updateDeploymentBuild( + "<FUNCTION_ID>", // functionId + "<DEPLOYMENT_ID>", // deploymentId + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.5.x/server-kotlin/java/functions/update-deployment.md b/docs/examples/1.5.x/server-kotlin/java/functions/update-deployment.md index b0a9c157eb..8d28501908 100644 --- a/docs/examples/1.5.x/server-kotlin/java/functions/update-deployment.md +++ b/docs/examples/1.5.x/server-kotlin/java/functions/update-deployment.md @@ -4,8 +4,8 @@ import io.appwrite.services.Functions; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/functions/update-variable.md b/docs/examples/1.5.x/server-kotlin/java/functions/update-variable.md index 20610d94f9..4e0576ef10 100644 --- a/docs/examples/1.5.x/server-kotlin/java/functions/update-variable.md +++ b/docs/examples/1.5.x/server-kotlin/java/functions/update-variable.md @@ -4,8 +4,8 @@ import io.appwrite.services.Functions; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/functions/update.md b/docs/examples/1.5.x/server-kotlin/java/functions/update.md index dca994349f..c63dfb47ef 100644 --- a/docs/examples/1.5.x/server-kotlin/java/functions/update.md +++ b/docs/examples/1.5.x/server-kotlin/java/functions/update.md @@ -4,8 +4,8 @@ import io.appwrite.services.Functions; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Functions functions = new Functions(client); @@ -21,11 +21,13 @@ functions.update( false, // logging (optional) "<ENTRYPOINT>", // entrypoint (optional) "<COMMANDS>", // commands (optional) + listOf(), // scopes (optional) "<INSTALLATION_ID>", // installationId (optional) "<PROVIDER_REPOSITORY_ID>", // providerRepositoryId (optional) "<PROVIDER_BRANCH>", // providerBranch (optional) false, // providerSilentMode (optional) "<PROVIDER_ROOT_DIRECTORY>", // providerRootDirectory (optional) + "", // specification (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.5.x/server-kotlin/java/graphql/mutation.md b/docs/examples/1.5.x/server-kotlin/java/graphql/mutation.md index 3b45db7127..a929468eba 100644 --- a/docs/examples/1.5.x/server-kotlin/java/graphql/mutation.md +++ b/docs/examples/1.5.x/server-kotlin/java/graphql/mutation.md @@ -4,8 +4,8 @@ import io.appwrite.services.Graphql; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Graphql graphql = new Graphql(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/graphql/query.md b/docs/examples/1.5.x/server-kotlin/java/graphql/query.md index 508b32647b..8182ea7400 100644 --- a/docs/examples/1.5.x/server-kotlin/java/graphql/query.md +++ b/docs/examples/1.5.x/server-kotlin/java/graphql/query.md @@ -4,8 +4,8 @@ import io.appwrite.services.Graphql; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Graphql graphql = new Graphql(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/health/get-antivirus.md b/docs/examples/1.5.x/server-kotlin/java/health/get-antivirus.md index 334563fd1c..6c1eb155ce 100644 --- a/docs/examples/1.5.x/server-kotlin/java/health/get-antivirus.md +++ b/docs/examples/1.5.x/server-kotlin/java/health/get-antivirus.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/health/get-cache.md b/docs/examples/1.5.x/server-kotlin/java/health/get-cache.md index 9a2981253a..62880c9e80 100644 --- a/docs/examples/1.5.x/server-kotlin/java/health/get-cache.md +++ b/docs/examples/1.5.x/server-kotlin/java/health/get-cache.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/health/get-certificate.md b/docs/examples/1.5.x/server-kotlin/java/health/get-certificate.md index 73120ece03..2a60a4c5b7 100644 --- a/docs/examples/1.5.x/server-kotlin/java/health/get-certificate.md +++ b/docs/examples/1.5.x/server-kotlin/java/health/get-certificate.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/health/get-d-b.md b/docs/examples/1.5.x/server-kotlin/java/health/get-d-b.md index 22a5a6b5bb..703989fa1e 100644 --- a/docs/examples/1.5.x/server-kotlin/java/health/get-d-b.md +++ b/docs/examples/1.5.x/server-kotlin/java/health/get-d-b.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/health/get-failed-jobs.md b/docs/examples/1.5.x/server-kotlin/java/health/get-failed-jobs.md index 7fa35ae1c1..25f53b8337 100644 --- a/docs/examples/1.5.x/server-kotlin/java/health/get-failed-jobs.md +++ b/docs/examples/1.5.x/server-kotlin/java/health/get-failed-jobs.md @@ -5,8 +5,8 @@ import io.appwrite.enums.Name; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/health/get-pub-sub.md b/docs/examples/1.5.x/server-kotlin/java/health/get-pub-sub.md index ba94519084..116da6f15d 100644 --- a/docs/examples/1.5.x/server-kotlin/java/health/get-pub-sub.md +++ b/docs/examples/1.5.x/server-kotlin/java/health/get-pub-sub.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/health/get-queue-builds.md b/docs/examples/1.5.x/server-kotlin/java/health/get-queue-builds.md index e7289a7bc9..a80a745206 100644 --- a/docs/examples/1.5.x/server-kotlin/java/health/get-queue-builds.md +++ b/docs/examples/1.5.x/server-kotlin/java/health/get-queue-builds.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/health/get-queue-certificates.md b/docs/examples/1.5.x/server-kotlin/java/health/get-queue-certificates.md index 14722d1efc..ee0d48efe4 100644 --- a/docs/examples/1.5.x/server-kotlin/java/health/get-queue-certificates.md +++ b/docs/examples/1.5.x/server-kotlin/java/health/get-queue-certificates.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/health/get-queue-databases.md b/docs/examples/1.5.x/server-kotlin/java/health/get-queue-databases.md index c504a84dd3..7f34b19083 100644 --- a/docs/examples/1.5.x/server-kotlin/java/health/get-queue-databases.md +++ b/docs/examples/1.5.x/server-kotlin/java/health/get-queue-databases.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/health/get-queue-deletes.md b/docs/examples/1.5.x/server-kotlin/java/health/get-queue-deletes.md index 83a4862a25..23ed2aff0f 100644 --- a/docs/examples/1.5.x/server-kotlin/java/health/get-queue-deletes.md +++ b/docs/examples/1.5.x/server-kotlin/java/health/get-queue-deletes.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/health/get-queue-functions.md b/docs/examples/1.5.x/server-kotlin/java/health/get-queue-functions.md index 1984d81f29..2fcfb8b60c 100644 --- a/docs/examples/1.5.x/server-kotlin/java/health/get-queue-functions.md +++ b/docs/examples/1.5.x/server-kotlin/java/health/get-queue-functions.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/health/get-queue-logs.md b/docs/examples/1.5.x/server-kotlin/java/health/get-queue-logs.md index fa7fa7e451..bcf6da214f 100644 --- a/docs/examples/1.5.x/server-kotlin/java/health/get-queue-logs.md +++ b/docs/examples/1.5.x/server-kotlin/java/health/get-queue-logs.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/health/get-queue-mails.md b/docs/examples/1.5.x/server-kotlin/java/health/get-queue-mails.md index 3962d945a0..7580db6b2c 100644 --- a/docs/examples/1.5.x/server-kotlin/java/health/get-queue-mails.md +++ b/docs/examples/1.5.x/server-kotlin/java/health/get-queue-mails.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/health/get-queue-messaging.md b/docs/examples/1.5.x/server-kotlin/java/health/get-queue-messaging.md index 01b7e5a5b5..7b927d00b2 100644 --- a/docs/examples/1.5.x/server-kotlin/java/health/get-queue-messaging.md +++ b/docs/examples/1.5.x/server-kotlin/java/health/get-queue-messaging.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/health/get-queue-migrations.md b/docs/examples/1.5.x/server-kotlin/java/health/get-queue-migrations.md index 7272a6f9a9..c1a9fadd19 100644 --- a/docs/examples/1.5.x/server-kotlin/java/health/get-queue-migrations.md +++ b/docs/examples/1.5.x/server-kotlin/java/health/get-queue-migrations.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/health/get-queue-stats-resources.md b/docs/examples/1.5.x/server-kotlin/java/health/get-queue-stats-resources.md new file mode 100644 index 0000000000..5a6db4a62e --- /dev/null +++ b/docs/examples/1.5.x/server-kotlin/java/health/get-queue-stats-resources.md @@ -0,0 +1,23 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Health; + +Client client = new Client() + .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key + +Health health = new Health(client); + +health.getQueueStatsResources( + 0, // threshold (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.5.x/server-kotlin/java/health/get-queue-usage-dump.md b/docs/examples/1.5.x/server-kotlin/java/health/get-queue-usage-dump.md index 8083af8c66..74d5e3dbb8 100644 --- a/docs/examples/1.5.x/server-kotlin/java/health/get-queue-usage-dump.md +++ b/docs/examples/1.5.x/server-kotlin/java/health/get-queue-usage-dump.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.5.x/server-kotlin/java/health/get-queue-usage.md b/docs/examples/1.5.x/server-kotlin/java/health/get-queue-usage.md index ad4a163258..360567a553 100644 --- a/docs/examples/1.5.x/server-kotlin/java/health/get-queue-usage.md +++ b/docs/examples/1.5.x/server-kotlin/java/health/get-queue-usage.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/health/get-queue-webhooks.md b/docs/examples/1.5.x/server-kotlin/java/health/get-queue-webhooks.md index 06dba93195..180c0cc87a 100644 --- a/docs/examples/1.5.x/server-kotlin/java/health/get-queue-webhooks.md +++ b/docs/examples/1.5.x/server-kotlin/java/health/get-queue-webhooks.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/health/get-queue.md b/docs/examples/1.5.x/server-kotlin/java/health/get-queue.md index 90b7eb35ad..8072577f3e 100644 --- a/docs/examples/1.5.x/server-kotlin/java/health/get-queue.md +++ b/docs/examples/1.5.x/server-kotlin/java/health/get-queue.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.5.x/server-kotlin/java/health/get-storage-local.md b/docs/examples/1.5.x/server-kotlin/java/health/get-storage-local.md index a57f34520d..99c7513fda 100644 --- a/docs/examples/1.5.x/server-kotlin/java/health/get-storage-local.md +++ b/docs/examples/1.5.x/server-kotlin/java/health/get-storage-local.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/health/get-storage.md b/docs/examples/1.5.x/server-kotlin/java/health/get-storage.md index c011ba5dcc..9bd63ca5c9 100644 --- a/docs/examples/1.5.x/server-kotlin/java/health/get-storage.md +++ b/docs/examples/1.5.x/server-kotlin/java/health/get-storage.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/health/get-time.md b/docs/examples/1.5.x/server-kotlin/java/health/get-time.md index 36b276b4d7..89ec655ea3 100644 --- a/docs/examples/1.5.x/server-kotlin/java/health/get-time.md +++ b/docs/examples/1.5.x/server-kotlin/java/health/get-time.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/health/get.md b/docs/examples/1.5.x/server-kotlin/java/health/get.md index 59badb0543..e81254e878 100644 --- a/docs/examples/1.5.x/server-kotlin/java/health/get.md +++ b/docs/examples/1.5.x/server-kotlin/java/health/get.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Health health = new Health(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/locale/get.md b/docs/examples/1.5.x/server-kotlin/java/locale/get.md index de09960c97..8063ce161a 100644 --- a/docs/examples/1.5.x/server-kotlin/java/locale/get.md +++ b/docs/examples/1.5.x/server-kotlin/java/locale/get.md @@ -4,7 +4,7 @@ import io.appwrite.services.Locale; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Locale locale = new Locale(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/locale/list-codes.md b/docs/examples/1.5.x/server-kotlin/java/locale/list-codes.md index 55e7503bab..4bc244a0c9 100644 --- a/docs/examples/1.5.x/server-kotlin/java/locale/list-codes.md +++ b/docs/examples/1.5.x/server-kotlin/java/locale/list-codes.md @@ -4,7 +4,7 @@ import io.appwrite.services.Locale; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Locale locale = new Locale(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/locale/list-continents.md b/docs/examples/1.5.x/server-kotlin/java/locale/list-continents.md index 793c863058..03b912200f 100644 --- a/docs/examples/1.5.x/server-kotlin/java/locale/list-continents.md +++ b/docs/examples/1.5.x/server-kotlin/java/locale/list-continents.md @@ -4,7 +4,7 @@ import io.appwrite.services.Locale; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Locale locale = new Locale(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/locale/list-countries-e-u.md b/docs/examples/1.5.x/server-kotlin/java/locale/list-countries-e-u.md index 8d45317e25..9a6ee54a71 100644 --- a/docs/examples/1.5.x/server-kotlin/java/locale/list-countries-e-u.md +++ b/docs/examples/1.5.x/server-kotlin/java/locale/list-countries-e-u.md @@ -4,7 +4,7 @@ import io.appwrite.services.Locale; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Locale locale = new Locale(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/locale/list-countries-phones.md b/docs/examples/1.5.x/server-kotlin/java/locale/list-countries-phones.md index bad8ff27d2..cfab3be5db 100644 --- a/docs/examples/1.5.x/server-kotlin/java/locale/list-countries-phones.md +++ b/docs/examples/1.5.x/server-kotlin/java/locale/list-countries-phones.md @@ -4,7 +4,7 @@ import io.appwrite.services.Locale; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Locale locale = new Locale(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/locale/list-countries.md b/docs/examples/1.5.x/server-kotlin/java/locale/list-countries.md index 96aac66ab6..079a839709 100644 --- a/docs/examples/1.5.x/server-kotlin/java/locale/list-countries.md +++ b/docs/examples/1.5.x/server-kotlin/java/locale/list-countries.md @@ -4,7 +4,7 @@ import io.appwrite.services.Locale; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Locale locale = new Locale(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/locale/list-currencies.md b/docs/examples/1.5.x/server-kotlin/java/locale/list-currencies.md index 55365ef682..bab723f5be 100644 --- a/docs/examples/1.5.x/server-kotlin/java/locale/list-currencies.md +++ b/docs/examples/1.5.x/server-kotlin/java/locale/list-currencies.md @@ -4,7 +4,7 @@ import io.appwrite.services.Locale; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Locale locale = new Locale(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/locale/list-languages.md b/docs/examples/1.5.x/server-kotlin/java/locale/list-languages.md index fbf5565a1c..b0435b7835 100644 --- a/docs/examples/1.5.x/server-kotlin/java/locale/list-languages.md +++ b/docs/examples/1.5.x/server-kotlin/java/locale/list-languages.md @@ -4,7 +4,7 @@ import io.appwrite.services.Locale; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Locale locale = new Locale(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/create-a-p-n-s-provider.md b/docs/examples/1.5.x/server-kotlin/java/messaging/create-a-p-n-s-provider.md index 61fca2e267..d0926c1652 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/create-a-p-n-s-provider.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/create-a-p-n-s-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/create-apns-provider.md b/docs/examples/1.5.x/server-kotlin/java/messaging/create-apns-provider.md index 2941fc6cb3..5dde983120 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/create-apns-provider.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/create-apns-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/create-email.md b/docs/examples/1.5.x/server-kotlin/java/messaging/create-email.md index 4bf3a7cc66..753a89b695 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/create-email.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/create-email.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/create-f-c-m-provider.md b/docs/examples/1.5.x/server-kotlin/java/messaging/create-f-c-m-provider.md index 18df4badac..18c1e63bc1 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/create-f-c-m-provider.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/create-f-c-m-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/create-fcm-provider.md b/docs/examples/1.5.x/server-kotlin/java/messaging/create-fcm-provider.md index 8a0211c0d3..1078514b6b 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/create-fcm-provider.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/create-fcm-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/create-mailgun-provider.md b/docs/examples/1.5.x/server-kotlin/java/messaging/create-mailgun-provider.md index 946729be4c..4b2a7bdd3c 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/create-mailgun-provider.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/create-mailgun-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/create-msg91provider.md b/docs/examples/1.5.x/server-kotlin/java/messaging/create-msg91provider.md index 9d7ffcb12a..6cc120c37c 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/create-msg91provider.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/create-msg91provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/create-push.md b/docs/examples/1.5.x/server-kotlin/java/messaging/create-push.md index 904b43675d..56c7a60795 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/create-push.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/create-push.md @@ -4,15 +4,15 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); messaging.createPush( "<MESSAGE_ID>", // messageId - "<TITLE>", // title - "<BODY>", // body + "<TITLE>", // title (optional) + "<BODY>", // body (optional) listOf(), // topics (optional) listOf(), // users (optional) listOf(), // targets (optional) @@ -23,9 +23,12 @@ messaging.createPush( "<SOUND>", // sound (optional) "<COLOR>", // color (optional) "<TAG>", // tag (optional) - "<BADGE>", // badge (optional) + 0, // badge (optional) false, // draft (optional) "", // scheduledAt (optional) + false, // contentAvailable (optional) + false, // critical (optional) + MessagePriority.NORMAL, // priority (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/create-s-m-s.md b/docs/examples/1.5.x/server-kotlin/java/messaging/create-s-m-s.md index cc6b7cdfe0..9bc1d2ed54 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/create-s-m-s.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/create-s-m-s.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/create-s-m-t-p-provider.md b/docs/examples/1.5.x/server-kotlin/java/messaging/create-s-m-t-p-provider.md index d443f8d17d..73ffb67574 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/create-s-m-t-p-provider.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/create-s-m-t-p-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/create-sendgrid-provider.md b/docs/examples/1.5.x/server-kotlin/java/messaging/create-sendgrid-provider.md index 9da521eea8..20e12749b2 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/create-sendgrid-provider.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/create-sendgrid-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/create-sms.md b/docs/examples/1.5.x/server-kotlin/java/messaging/create-sms.md index 2bde3b6fe6..60e1749f32 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/create-sms.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/create-sms.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/create-smtp-provider.md b/docs/examples/1.5.x/server-kotlin/java/messaging/create-smtp-provider.md index 05a9ab197b..3f69f61036 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/create-smtp-provider.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/create-smtp-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/create-subscriber.md b/docs/examples/1.5.x/server-kotlin/java/messaging/create-subscriber.md index 1aa89e1d8f..77ef2d59ff 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/create-subscriber.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/create-subscriber.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setJWT("<YOUR_JWT>"); // Your secret JSON Web Token Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/create-telesign-provider.md b/docs/examples/1.5.x/server-kotlin/java/messaging/create-telesign-provider.md index 738f1fd5fd..f66081490b 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/create-telesign-provider.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/create-telesign-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/create-textmagic-provider.md b/docs/examples/1.5.x/server-kotlin/java/messaging/create-textmagic-provider.md index f78362dda0..cda11d5bad 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/create-textmagic-provider.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/create-textmagic-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/create-topic.md b/docs/examples/1.5.x/server-kotlin/java/messaging/create-topic.md index fa314c4729..8fa74d8ede 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/create-topic.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/create-topic.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/create-twilio-provider.md b/docs/examples/1.5.x/server-kotlin/java/messaging/create-twilio-provider.md index 896e4a30b8..a122837691 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/create-twilio-provider.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/create-twilio-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/create-vonage-provider.md b/docs/examples/1.5.x/server-kotlin/java/messaging/create-vonage-provider.md index e7ee86bc2a..808ca0c102 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/create-vonage-provider.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/create-vonage-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/delete-provider.md b/docs/examples/1.5.x/server-kotlin/java/messaging/delete-provider.md index f980650428..e1337dc02f 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/delete-provider.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/delete-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/delete-subscriber.md b/docs/examples/1.5.x/server-kotlin/java/messaging/delete-subscriber.md index ba02c12b04..c80fc72eb0 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/delete-subscriber.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/delete-subscriber.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ..."); // Your secret JSON Web Token + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setJWT("<YOUR_JWT>"); // Your secret JSON Web Token Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/delete-topic.md b/docs/examples/1.5.x/server-kotlin/java/messaging/delete-topic.md index 17aefe1fe7..9c51144bfc 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/delete-topic.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/delete-topic.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/delete.md b/docs/examples/1.5.x/server-kotlin/java/messaging/delete.md index 1565f8bf92..f90336a2ce 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/delete.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/delete.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/get-message.md b/docs/examples/1.5.x/server-kotlin/java/messaging/get-message.md index 9129a20e3c..5e940cff10 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/get-message.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/get-message.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/get-provider.md b/docs/examples/1.5.x/server-kotlin/java/messaging/get-provider.md index 704a2b2b14..74ece13b1b 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/get-provider.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/get-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/get-subscriber.md b/docs/examples/1.5.x/server-kotlin/java/messaging/get-subscriber.md index 53638ef02e..2e6beaac53 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/get-subscriber.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/get-subscriber.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/get-topic.md b/docs/examples/1.5.x/server-kotlin/java/messaging/get-topic.md index 3e8ad4cd9c..adf64bbec5 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/get-topic.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/get-topic.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/list-message-logs.md b/docs/examples/1.5.x/server-kotlin/java/messaging/list-message-logs.md index 224c2ef93b..70bb49ae85 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/list-message-logs.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/list-message-logs.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/list-messages.md b/docs/examples/1.5.x/server-kotlin/java/messaging/list-messages.md index 7b31e16cdf..847ce73f5c 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/list-messages.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/list-messages.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/list-provider-logs.md b/docs/examples/1.5.x/server-kotlin/java/messaging/list-provider-logs.md index 1cda4d1ea9..be1aba0eeb 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/list-provider-logs.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/list-provider-logs.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/list-providers.md b/docs/examples/1.5.x/server-kotlin/java/messaging/list-providers.md index a52493393c..feda90082a 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/list-providers.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/list-providers.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/list-subscriber-logs.md b/docs/examples/1.5.x/server-kotlin/java/messaging/list-subscriber-logs.md index 3cab92359e..30250e4688 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/list-subscriber-logs.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/list-subscriber-logs.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/list-subscribers.md b/docs/examples/1.5.x/server-kotlin/java/messaging/list-subscribers.md index 1250442af1..d00d4925a0 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/list-subscribers.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/list-subscribers.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/list-targets.md b/docs/examples/1.5.x/server-kotlin/java/messaging/list-targets.md index 32a621cf66..f1eeac02df 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/list-targets.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/list-targets.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/list-topic-logs.md b/docs/examples/1.5.x/server-kotlin/java/messaging/list-topic-logs.md index 4e00e16c5c..c7edc92992 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/list-topic-logs.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/list-topic-logs.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/list-topics.md b/docs/examples/1.5.x/server-kotlin/java/messaging/list-topics.md index 91b843eea4..278d0d4908 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/list-topics.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/list-topics.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/update-a-p-n-s-provider.md b/docs/examples/1.5.x/server-kotlin/java/messaging/update-a-p-n-s-provider.md index f38ccd52d0..60137835aa 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/update-a-p-n-s-provider.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/update-a-p-n-s-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/update-apns-provider.md b/docs/examples/1.5.x/server-kotlin/java/messaging/update-apns-provider.md index 14873beec2..b9ac1a93f2 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/update-apns-provider.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/update-apns-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/update-email.md b/docs/examples/1.5.x/server-kotlin/java/messaging/update-email.md index 0474849052..a5d98201f1 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/update-email.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/update-email.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/update-f-c-m-provider.md b/docs/examples/1.5.x/server-kotlin/java/messaging/update-f-c-m-provider.md index 27a90c1ff1..2ee8cb3f1e 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/update-f-c-m-provider.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/update-f-c-m-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/update-fcm-provider.md b/docs/examples/1.5.x/server-kotlin/java/messaging/update-fcm-provider.md index 631bdf4b27..956900d7b8 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/update-fcm-provider.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/update-fcm-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/update-mailgun-provider.md b/docs/examples/1.5.x/server-kotlin/java/messaging/update-mailgun-provider.md index 881dc3eebe..8512de159c 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/update-mailgun-provider.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/update-mailgun-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/update-msg91provider.md b/docs/examples/1.5.x/server-kotlin/java/messaging/update-msg91provider.md index 700995e90b..74de7d25e2 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/update-msg91provider.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/update-msg91provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/update-push.md b/docs/examples/1.5.x/server-kotlin/java/messaging/update-push.md index 468f95891a..bb8c3c8c2e 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/update-push.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/update-push.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); @@ -26,6 +26,9 @@ messaging.updatePush( 0, // badge (optional) false, // draft (optional) "", // scheduledAt (optional) + false, // contentAvailable (optional) + false, // critical (optional) + MessagePriority.NORMAL, // priority (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { error.printStackTrace(); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/update-s-m-s.md b/docs/examples/1.5.x/server-kotlin/java/messaging/update-s-m-s.md index 7ff3526b66..f4a65d0b98 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/update-s-m-s.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/update-s-m-s.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/update-s-m-t-p-provider.md b/docs/examples/1.5.x/server-kotlin/java/messaging/update-s-m-t-p-provider.md index 32b9d285d4..3df74573f4 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/update-s-m-t-p-provider.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/update-s-m-t-p-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/update-sendgrid-provider.md b/docs/examples/1.5.x/server-kotlin/java/messaging/update-sendgrid-provider.md index 099a617998..79c89c0fc7 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/update-sendgrid-provider.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/update-sendgrid-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/update-sms.md b/docs/examples/1.5.x/server-kotlin/java/messaging/update-sms.md index 913bd59996..bfca7d32df 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/update-sms.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/update-sms.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/update-smtp-provider.md b/docs/examples/1.5.x/server-kotlin/java/messaging/update-smtp-provider.md index 4bc5017c7d..e3083816c9 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/update-smtp-provider.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/update-smtp-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/update-telesign-provider.md b/docs/examples/1.5.x/server-kotlin/java/messaging/update-telesign-provider.md index 31ab356e61..6ffb534a3c 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/update-telesign-provider.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/update-telesign-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/update-textmagic-provider.md b/docs/examples/1.5.x/server-kotlin/java/messaging/update-textmagic-provider.md index c4013dd670..d80b5ae5c7 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/update-textmagic-provider.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/update-textmagic-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/update-topic.md b/docs/examples/1.5.x/server-kotlin/java/messaging/update-topic.md index 0c6d41f8ba..1013fbac57 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/update-topic.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/update-topic.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/update-twilio-provider.md b/docs/examples/1.5.x/server-kotlin/java/messaging/update-twilio-provider.md index 7f8980d024..65fb0fcb7e 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/update-twilio-provider.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/update-twilio-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/messaging/update-vonage-provider.md b/docs/examples/1.5.x/server-kotlin/java/messaging/update-vonage-provider.md index 7bbb06e50f..6548d1758b 100644 --- a/docs/examples/1.5.x/server-kotlin/java/messaging/update-vonage-provider.md +++ b/docs/examples/1.5.x/server-kotlin/java/messaging/update-vonage-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/storage/create-bucket.md b/docs/examples/1.5.x/server-kotlin/java/storage/create-bucket.md index 735aef7159..ccb9961b01 100644 --- a/docs/examples/1.5.x/server-kotlin/java/storage/create-bucket.md +++ b/docs/examples/1.5.x/server-kotlin/java/storage/create-bucket.md @@ -4,8 +4,8 @@ import io.appwrite.services.Storage; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/storage/create-file.md b/docs/examples/1.5.x/server-kotlin/java/storage/create-file.md index 275724fcdb..92907fc4d9 100644 --- a/docs/examples/1.5.x/server-kotlin/java/storage/create-file.md +++ b/docs/examples/1.5.x/server-kotlin/java/storage/create-file.md @@ -5,7 +5,7 @@ import io.appwrite.services.Storage; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/storage/delete-bucket.md b/docs/examples/1.5.x/server-kotlin/java/storage/delete-bucket.md index e6e3d122d3..8c46ba9303 100644 --- a/docs/examples/1.5.x/server-kotlin/java/storage/delete-bucket.md +++ b/docs/examples/1.5.x/server-kotlin/java/storage/delete-bucket.md @@ -4,8 +4,8 @@ import io.appwrite.services.Storage; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/storage/delete-file.md b/docs/examples/1.5.x/server-kotlin/java/storage/delete-file.md index af498b47d5..01d423d13a 100644 --- a/docs/examples/1.5.x/server-kotlin/java/storage/delete-file.md +++ b/docs/examples/1.5.x/server-kotlin/java/storage/delete-file.md @@ -4,7 +4,7 @@ import io.appwrite.services.Storage; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/storage/get-bucket.md b/docs/examples/1.5.x/server-kotlin/java/storage/get-bucket.md index e2259853f0..63c847f171 100644 --- a/docs/examples/1.5.x/server-kotlin/java/storage/get-bucket.md +++ b/docs/examples/1.5.x/server-kotlin/java/storage/get-bucket.md @@ -4,8 +4,8 @@ import io.appwrite.services.Storage; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/storage/get-file-download.md b/docs/examples/1.5.x/server-kotlin/java/storage/get-file-download.md index 171cfd62b0..32bff0b051 100644 --- a/docs/examples/1.5.x/server-kotlin/java/storage/get-file-download.md +++ b/docs/examples/1.5.x/server-kotlin/java/storage/get-file-download.md @@ -4,7 +4,7 @@ import io.appwrite.services.Storage; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/storage/get-file-preview.md b/docs/examples/1.5.x/server-kotlin/java/storage/get-file-preview.md index 17d6e688aa..650ea4dff5 100644 --- a/docs/examples/1.5.x/server-kotlin/java/storage/get-file-preview.md +++ b/docs/examples/1.5.x/server-kotlin/java/storage/get-file-preview.md @@ -4,7 +4,7 @@ import io.appwrite.services.Storage; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/storage/get-file-view.md b/docs/examples/1.5.x/server-kotlin/java/storage/get-file-view.md index fc90ab91cf..5a81ebaca0 100644 --- a/docs/examples/1.5.x/server-kotlin/java/storage/get-file-view.md +++ b/docs/examples/1.5.x/server-kotlin/java/storage/get-file-view.md @@ -4,7 +4,7 @@ import io.appwrite.services.Storage; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/storage/get-file.md b/docs/examples/1.5.x/server-kotlin/java/storage/get-file.md index edcba745d4..004dc01f38 100644 --- a/docs/examples/1.5.x/server-kotlin/java/storage/get-file.md +++ b/docs/examples/1.5.x/server-kotlin/java/storage/get-file.md @@ -4,7 +4,7 @@ import io.appwrite.services.Storage; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/storage/list-buckets.md b/docs/examples/1.5.x/server-kotlin/java/storage/list-buckets.md index 7e1e93469f..8ab56e3253 100644 --- a/docs/examples/1.5.x/server-kotlin/java/storage/list-buckets.md +++ b/docs/examples/1.5.x/server-kotlin/java/storage/list-buckets.md @@ -4,8 +4,8 @@ import io.appwrite.services.Storage; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/storage/list-files.md b/docs/examples/1.5.x/server-kotlin/java/storage/list-files.md index cf1f9a024a..6fbd2c3aa4 100644 --- a/docs/examples/1.5.x/server-kotlin/java/storage/list-files.md +++ b/docs/examples/1.5.x/server-kotlin/java/storage/list-files.md @@ -4,7 +4,7 @@ import io.appwrite.services.Storage; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/storage/update-bucket.md b/docs/examples/1.5.x/server-kotlin/java/storage/update-bucket.md index ade3a575e5..342174ead5 100644 --- a/docs/examples/1.5.x/server-kotlin/java/storage/update-bucket.md +++ b/docs/examples/1.5.x/server-kotlin/java/storage/update-bucket.md @@ -4,8 +4,8 @@ import io.appwrite.services.Storage; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/storage/update-file.md b/docs/examples/1.5.x/server-kotlin/java/storage/update-file.md index 961228c4d0..3578bcd625 100644 --- a/docs/examples/1.5.x/server-kotlin/java/storage/update-file.md +++ b/docs/examples/1.5.x/server-kotlin/java/storage/update-file.md @@ -4,7 +4,7 @@ import io.appwrite.services.Storage; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Storage storage = new Storage(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/teams/create-membership.md b/docs/examples/1.5.x/server-kotlin/java/teams/create-membership.md index c16dd8361f..f7a4ecb66b 100644 --- a/docs/examples/1.5.x/server-kotlin/java/teams/create-membership.md +++ b/docs/examples/1.5.x/server-kotlin/java/teams/create-membership.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/teams/create.md b/docs/examples/1.5.x/server-kotlin/java/teams/create.md index b709bc7ee1..e8fb127b3e 100644 --- a/docs/examples/1.5.x/server-kotlin/java/teams/create.md +++ b/docs/examples/1.5.x/server-kotlin/java/teams/create.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/teams/delete-membership.md b/docs/examples/1.5.x/server-kotlin/java/teams/delete-membership.md index 25e3a399f7..0fe1e170cf 100644 --- a/docs/examples/1.5.x/server-kotlin/java/teams/delete-membership.md +++ b/docs/examples/1.5.x/server-kotlin/java/teams/delete-membership.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/teams/delete.md b/docs/examples/1.5.x/server-kotlin/java/teams/delete.md index 3bdd838cc2..74f5a7c26d 100644 --- a/docs/examples/1.5.x/server-kotlin/java/teams/delete.md +++ b/docs/examples/1.5.x/server-kotlin/java/teams/delete.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/teams/get-membership.md b/docs/examples/1.5.x/server-kotlin/java/teams/get-membership.md index de1c052b6e..d013d913b2 100644 --- a/docs/examples/1.5.x/server-kotlin/java/teams/get-membership.md +++ b/docs/examples/1.5.x/server-kotlin/java/teams/get-membership.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/teams/get-prefs.md b/docs/examples/1.5.x/server-kotlin/java/teams/get-prefs.md index 86474430a5..27cd6f9a8b 100644 --- a/docs/examples/1.5.x/server-kotlin/java/teams/get-prefs.md +++ b/docs/examples/1.5.x/server-kotlin/java/teams/get-prefs.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/teams/get.md b/docs/examples/1.5.x/server-kotlin/java/teams/get.md index 3fd4ba7475..0416602ae7 100644 --- a/docs/examples/1.5.x/server-kotlin/java/teams/get.md +++ b/docs/examples/1.5.x/server-kotlin/java/teams/get.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/teams/list-memberships.md b/docs/examples/1.5.x/server-kotlin/java/teams/list-memberships.md index 98b1096078..0260673a09 100644 --- a/docs/examples/1.5.x/server-kotlin/java/teams/list-memberships.md +++ b/docs/examples/1.5.x/server-kotlin/java/teams/list-memberships.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/teams/list.md b/docs/examples/1.5.x/server-kotlin/java/teams/list.md index c27e9fed71..a4e85acc5c 100644 --- a/docs/examples/1.5.x/server-kotlin/java/teams/list.md +++ b/docs/examples/1.5.x/server-kotlin/java/teams/list.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/teams/update-membership-status.md b/docs/examples/1.5.x/server-kotlin/java/teams/update-membership-status.md index 9c86c609da..8ca3398e6e 100644 --- a/docs/examples/1.5.x/server-kotlin/java/teams/update-membership-status.md +++ b/docs/examples/1.5.x/server-kotlin/java/teams/update-membership-status.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/teams/update-membership.md b/docs/examples/1.5.x/server-kotlin/java/teams/update-membership.md index fd2abed1e1..60be82cbf0 100644 --- a/docs/examples/1.5.x/server-kotlin/java/teams/update-membership.md +++ b/docs/examples/1.5.x/server-kotlin/java/teams/update-membership.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/teams/update-name.md b/docs/examples/1.5.x/server-kotlin/java/teams/update-name.md index 96f50322e5..8db6f04d91 100644 --- a/docs/examples/1.5.x/server-kotlin/java/teams/update-name.md +++ b/docs/examples/1.5.x/server-kotlin/java/teams/update-name.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/teams/update-prefs.md b/docs/examples/1.5.x/server-kotlin/java/teams/update-prefs.md index 790fa3ee26..91f1492e72 100644 --- a/docs/examples/1.5.x/server-kotlin/java/teams/update-prefs.md +++ b/docs/examples/1.5.x/server-kotlin/java/teams/update-prefs.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with Teams teams = new Teams(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/create-argon2user.md b/docs/examples/1.5.x/server-kotlin/java/users/create-argon2user.md index 4e6a2579cb..01275263db 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/create-argon2user.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/create-argon2user.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/create-bcrypt-user.md b/docs/examples/1.5.x/server-kotlin/java/users/create-bcrypt-user.md index 8faeb03496..c98939bf02 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/create-bcrypt-user.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/create-bcrypt-user.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/create-j-w-t.md b/docs/examples/1.5.x/server-kotlin/java/users/create-j-w-t.md new file mode 100644 index 0000000000..c4538b730d --- /dev/null +++ b/docs/examples/1.5.x/server-kotlin/java/users/create-j-w-t.md @@ -0,0 +1,25 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Users; + +Client client = new Client() + .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key + +Users users = new Users(client); + +users.createJWT( + "<USER_ID>", // userId + "<SESSION_ID>", // sessionId (optional) + 0, // duration (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.5.x/server-kotlin/java/users/create-m-d5user.md b/docs/examples/1.5.x/server-kotlin/java/users/create-m-d5user.md index 134db690e5..0456a77576 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/create-m-d5user.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/create-m-d5user.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/create-mfa-recovery-codes.md b/docs/examples/1.5.x/server-kotlin/java/users/create-mfa-recovery-codes.md index 5e7e665433..f9dfbe8faf 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/create-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/create-mfa-recovery-codes.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/create-p-h-pass-user.md b/docs/examples/1.5.x/server-kotlin/java/users/create-p-h-pass-user.md index 48f9070cda..e97767887c 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/create-p-h-pass-user.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/create-p-h-pass-user.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/create-s-h-a-user.md b/docs/examples/1.5.x/server-kotlin/java/users/create-s-h-a-user.md index b10674c74b..6a3869ce47 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/create-s-h-a-user.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/create-s-h-a-user.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/create-scrypt-modified-user.md b/docs/examples/1.5.x/server-kotlin/java/users/create-scrypt-modified-user.md index eb06445e24..28d5881f7d 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/create-scrypt-modified-user.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/create-scrypt-modified-user.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/create-scrypt-user.md b/docs/examples/1.5.x/server-kotlin/java/users/create-scrypt-user.md index a98d50bd14..43e1ad8db9 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/create-scrypt-user.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/create-scrypt-user.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/create-session.md b/docs/examples/1.5.x/server-kotlin/java/users/create-session.md index 8b20589d20..bc7dfb0299 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/create-session.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/create-session.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/create-target.md b/docs/examples/1.5.x/server-kotlin/java/users/create-target.md index 5b38772321..6bad1ce682 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/create-target.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/create-target.md @@ -5,8 +5,8 @@ import io.appwrite.enums.MessagingProviderType; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/create-token.md b/docs/examples/1.5.x/server-kotlin/java/users/create-token.md index 44f0a3c3ee..9389e0eaef 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/create-token.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/create-token.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/create.md b/docs/examples/1.5.x/server-kotlin/java/users/create.md index 89eb328f55..9889129570 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/create.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/create.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/delete-authenticator.md b/docs/examples/1.5.x/server-kotlin/java/users/delete-authenticator.md index af291b22d5..6e3cb5f253 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/delete-authenticator.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/delete-authenticator.md @@ -4,7 +4,7 @@ import io.appwrite.services.Users; import io.appwrite.enums.AuthenticatorType; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.5.x/server-kotlin/java/users/delete-identity.md b/docs/examples/1.5.x/server-kotlin/java/users/delete-identity.md index 54459cdd15..063a91da89 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/delete-identity.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/delete-identity.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/delete-mfa-authenticator.md b/docs/examples/1.5.x/server-kotlin/java/users/delete-mfa-authenticator.md index df3691fad9..cd5d9ab00d 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/delete-mfa-authenticator.md @@ -5,8 +5,8 @@ import io.appwrite.enums.AuthenticatorType; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/delete-session.md b/docs/examples/1.5.x/server-kotlin/java/users/delete-session.md index 3eaaef2638..4ed2713d25 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/delete-session.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/delete-session.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/delete-sessions.md b/docs/examples/1.5.x/server-kotlin/java/users/delete-sessions.md index 63981e7b6f..f0da6e09ce 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/delete-sessions.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/delete-sessions.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/delete-target.md b/docs/examples/1.5.x/server-kotlin/java/users/delete-target.md index 6a703faf58..ddd0460207 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/delete-target.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/delete-target.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/delete.md b/docs/examples/1.5.x/server-kotlin/java/users/delete.md index 4dfbe9467b..6a256f87e9 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/delete.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/delete.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/get-mfa-recovery-codes.md b/docs/examples/1.5.x/server-kotlin/java/users/get-mfa-recovery-codes.md index 13ffbb3d59..be33d2095e 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/get-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/get-mfa-recovery-codes.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/get-prefs.md b/docs/examples/1.5.x/server-kotlin/java/users/get-prefs.md index a1dc1c077f..3e36f16603 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/get-prefs.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/get-prefs.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/get-target.md b/docs/examples/1.5.x/server-kotlin/java/users/get-target.md index c5674c721e..2ee5b4a965 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/get-target.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/get-target.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/get.md b/docs/examples/1.5.x/server-kotlin/java/users/get.md index 55060b5950..8c34ebacaf 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/get.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/get.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/list-factors.md b/docs/examples/1.5.x/server-kotlin/java/users/list-factors.md index e72fdb2243..5adb6a5025 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/list-factors.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/list-factors.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.5.x/server-kotlin/java/users/list-identities.md b/docs/examples/1.5.x/server-kotlin/java/users/list-identities.md index 16724f02c2..169b41440d 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/list-identities.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/list-identities.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/list-logs.md b/docs/examples/1.5.x/server-kotlin/java/users/list-logs.md index 6a38abbbba..f3d2701609 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/list-logs.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/list-logs.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/list-memberships.md b/docs/examples/1.5.x/server-kotlin/java/users/list-memberships.md index 240f6f9d07..4f3cfd82be 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/list-memberships.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/list-memberships.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/list-mfa-factors.md b/docs/examples/1.5.x/server-kotlin/java/users/list-mfa-factors.md index ee28831856..4d51ece94b 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/list-mfa-factors.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/list-mfa-factors.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/list-providers.md b/docs/examples/1.5.x/server-kotlin/java/users/list-providers.md index 2c3e56a91b..4e62056b48 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/list-providers.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/list-providers.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key diff --git a/docs/examples/1.5.x/server-kotlin/java/users/list-sessions.md b/docs/examples/1.5.x/server-kotlin/java/users/list-sessions.md index 680bee0c2b..a1d3a3a7d9 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/list-sessions.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/list-sessions.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/list-targets.md b/docs/examples/1.5.x/server-kotlin/java/users/list-targets.md index 6e925eb848..ab0457725a 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/list-targets.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/list-targets.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/list.md b/docs/examples/1.5.x/server-kotlin/java/users/list.md index 9d8b0a703a..a854ba0a79 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/list.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/list.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/update-email-verification.md b/docs/examples/1.5.x/server-kotlin/java/users/update-email-verification.md index 7770ee40cc..7423f77484 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/update-email-verification.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/update-email-verification.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/update-email.md b/docs/examples/1.5.x/server-kotlin/java/users/update-email.md index bc9407b0f3..23e3977db1 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/update-email.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/update-email.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/update-labels.md b/docs/examples/1.5.x/server-kotlin/java/users/update-labels.md index 6b3c81be47..acc3d1b024 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/update-labels.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/update-labels.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/update-mfa-recovery-codes.md b/docs/examples/1.5.x/server-kotlin/java/users/update-mfa-recovery-codes.md index 34bdcc66fd..eb560e72e0 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/update-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/update-mfa-recovery-codes.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/update-mfa.md b/docs/examples/1.5.x/server-kotlin/java/users/update-mfa.md index 7630c81330..e1fc96f8af 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/update-mfa.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/update-mfa.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/update-name.md b/docs/examples/1.5.x/server-kotlin/java/users/update-name.md index f2b8e98a95..e8bfe567cb 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/update-name.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/update-name.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/update-password.md b/docs/examples/1.5.x/server-kotlin/java/users/update-password.md index 4f5c58b88d..bdf31a7771 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/update-password.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/update-password.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/update-phone-verification.md b/docs/examples/1.5.x/server-kotlin/java/users/update-phone-verification.md index 58137b52af..ce2377be9b 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/update-phone-verification.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/update-phone-verification.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/update-phone.md b/docs/examples/1.5.x/server-kotlin/java/users/update-phone.md index 7b060aa701..e0a0a4976f 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/update-phone.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/update-phone.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/update-prefs.md b/docs/examples/1.5.x/server-kotlin/java/users/update-prefs.md index e9f278af1b..1d1cc7c5ba 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/update-prefs.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/update-prefs.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/update-status.md b/docs/examples/1.5.x/server-kotlin/java/users/update-status.md index ce78408699..e757ece454 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/update-status.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/update-status.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/java/users/update-target.md b/docs/examples/1.5.x/server-kotlin/java/users/update-target.md index 8f3ae78a94..23ca8d0187 100644 --- a/docs/examples/1.5.x/server-kotlin/java/users/update-target.md +++ b/docs/examples/1.5.x/server-kotlin/java/users/update-target.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users; Client client = new Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2"); // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key Users users = new Users(client); diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/add-authenticator.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/add-authenticator.md index 0d178a4ca4..d0bac4f54f 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/add-authenticator.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/add-authenticator.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account import io.appwrite.enums.AuthenticatorType val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/create-anonymous-session.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/create-anonymous-session.md index 67686bb0d3..932b8a7507 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/create-anonymous-session.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/create-anonymous-session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/create-challenge.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/create-challenge.md index 416fd7da7f..0fb3e706e4 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/create-challenge.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/create-challenge.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account import io.appwrite.enums.AuthenticationFactor val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/create-email-password-session.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/create-email-password-session.md index e02d47c3be..cc3b8cb3fa 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/create-email-password-session.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/create-email-password-session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/create-email-token.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/create-email-token.md index 90a7c9effd..b56e48909f 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/create-email-token.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/create-email-token.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/create-j-w-t.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/create-j-w-t.md index 234e0129ea..a0208cb911 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/create-j-w-t.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/create-j-w-t.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/create-magic-u-r-l-token.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/create-magic-u-r-l-token.md index 4d4775bf8a..ba66695f15 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/create-magic-u-r-l-token.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/create-mfa-authenticator.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/create-mfa-authenticator.md index 48aed25886..0afd790727 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/create-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/create-mfa-authenticator.md @@ -5,7 +5,7 @@ import io.appwrite.enums.AuthenticatorType val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/create-mfa-challenge.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/create-mfa-challenge.md index 2f041ebf84..921e791154 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/create-mfa-challenge.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/create-mfa-challenge.md @@ -5,7 +5,7 @@ import io.appwrite.enums.AuthenticationFactor val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/create-mfa-recovery-codes.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/create-mfa-recovery-codes.md index 2665e994fa..270fedaf7a 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/create-mfa-recovery-codes.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/create-o-auth2session.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/create-o-auth2session.md index fbffb4126f..d1b34b3e52 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/create-o-auth2session.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/create-o-auth2session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account import io.appwrite.enums.OAuthProvider val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/create-o-auth2token.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/create-o-auth2token.md index 5718139a20..62d176d6b8 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/create-o-auth2token.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/create-o-auth2token.md @@ -5,7 +5,7 @@ import io.appwrite.enums.OAuthProvider val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/create-phone-token.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/create-phone-token.md index 925d861645..b9633e7811 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/create-phone-token.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/create-phone-token.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/create-phone-verification.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/create-phone-verification.md index a2e08c6354..038d72e6f4 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/create-phone-verification.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/create-phone-verification.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/create-recovery.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/create-recovery.md index c1d22f5c8c..27c6af55fd 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/create-recovery.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/create-recovery.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/create-session.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/create-session.md index 8627df3dde..5e6c47cc1b 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/create-session.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/create-session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/create-verification.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/create-verification.md index cfd0f21ac5..0d42f8a919 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/create-verification.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/create-verification.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/create.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/create.md index e18eaf22e1..19d7c12b5b 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/create.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/create.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/create2f-a-challenge.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/create2f-a-challenge.md index a73686d8f9..3da5010865 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/create2f-a-challenge.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/create2f-a-challenge.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account import io.appwrite.enums.AuthenticationFactor val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/delete-authenticator.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/delete-authenticator.md index 26afb5e717..51768e3b27 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/delete-authenticator.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/delete-authenticator.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account import io.appwrite.enums.AuthenticatorType val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/delete-identity.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/delete-identity.md index 569502939b..f6ede24729 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/delete-identity.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/delete-identity.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/delete-mfa-authenticator.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/delete-mfa-authenticator.md index 56b69f59bc..ffa853f3f6 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/delete-mfa-authenticator.md @@ -5,12 +5,11 @@ import io.appwrite.enums.AuthenticatorType val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val account = Account(client) val response = account.deleteMfaAuthenticator( - type = AuthenticatorType.TOTP, - otp = "<OTP>" + type = AuthenticatorType.TOTP ) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/delete-session.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/delete-session.md index a02389dd63..47b80d77a5 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/delete-session.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/delete-session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/delete-sessions.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/delete-sessions.md index 3698dacd6b..b2571de021 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/delete-sessions.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/delete-sessions.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/get-mfa-recovery-codes.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/get-mfa-recovery-codes.md index 4ff8a23cdb..5335a0d004 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/get-mfa-recovery-codes.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/get-prefs.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/get-prefs.md index 8581225ddd..3705645a02 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/get-prefs.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/get-prefs.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/get-session.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/get-session.md index d64687b3c6..78478e1eb7 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/get-session.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/get-session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/get.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/get.md index 4c8cb97b93..84f9bc3fe8 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/get.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/get.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/list-factors.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/list-factors.md index 7b281b0108..b1c65eebc2 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/list-factors.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/list-factors.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/list-identities.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/list-identities.md index 5dda161c5f..f947de3da4 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/list-identities.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/list-identities.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/list-logs.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/list-logs.md index 4550de2932..ba926ae06e 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/list-logs.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/list-logs.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/list-mfa-factors.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/list-mfa-factors.md index 5703870995..ee07a486c9 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/list-mfa-factors.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/list-mfa-factors.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/list-sessions.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/list-sessions.md index 91a922cde5..7f23ad3017 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/list-sessions.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/list-sessions.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-challenge.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-challenge.md index e8ff319bbb..376169965a 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-challenge.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-challenge.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-email.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-email.md index c952b55d15..c10c25e4ba 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-email.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-email.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-m-f-a.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-m-f-a.md index 6f23864dce..516f14d5cd 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-m-f-a.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-m-f-a.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-magic-u-r-l-session.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-magic-u-r-l-session.md index 1a533bfb4d..99b65ebbc9 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-magic-u-r-l-session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-mfa-authenticator.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-mfa-authenticator.md index a3edc9b40d..482dfb360d 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-mfa-authenticator.md @@ -5,7 +5,7 @@ import io.appwrite.enums.AuthenticatorType val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-mfa-challenge.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-mfa-challenge.md index 2fb5d38ace..2a9a1a463d 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-mfa-challenge.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-mfa-challenge.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-mfa-recovery-codes.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-mfa-recovery-codes.md index bef9f9a38f..ebc6d718c9 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-mfa-recovery-codes.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-name.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-name.md index 711aa36b94..13f90197f0 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-name.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-name.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-password.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-password.md index 8d62d873dd..fbb67963d6 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-password.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-password.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-phone-session.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-phone-session.md index b6b13855b9..1f6aa40dde 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-phone-session.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-phone-session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-phone-verification.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-phone-verification.md index eb2c0752f5..87cd3ffeb7 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-phone-verification.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-phone-verification.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-phone.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-phone.md index 35adaab972..1a2600c4f0 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-phone.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-phone.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-prefs.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-prefs.md index fda3f9483b..32d083b6b9 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-prefs.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-prefs.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-recovery.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-recovery.md index 3543991fcb..8626e97984 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-recovery.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-recovery.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-session.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-session.md index c75abc0649..5f83a2bb91 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-session.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-status.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-status.md index 07adc5311a..aa94adec10 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-status.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-status.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-verification.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-verification.md index 19e55fc1a7..2f8cc25cef 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/update-verification.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/update-verification.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val account = Account(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/account/verify-authenticator.md b/docs/examples/1.5.x/server-kotlin/kotlin/account/verify-authenticator.md index 02695612f8..33cf99eadd 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/account/verify-authenticator.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/account/verify-authenticator.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account import io.appwrite.enums.AuthenticatorType val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/avatars/get-browser.md b/docs/examples/1.5.x/server-kotlin/kotlin/avatars/get-browser.md index b5eb52d485..0e29e1146d 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/avatars/get-browser.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/avatars/get-browser.md @@ -5,7 +5,7 @@ import io.appwrite.enums.Browser val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val avatars = Avatars(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/avatars/get-credit-card.md b/docs/examples/1.5.x/server-kotlin/kotlin/avatars/get-credit-card.md index f60f78ff40..9929e76440 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/avatars/get-credit-card.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/avatars/get-credit-card.md @@ -5,7 +5,7 @@ import io.appwrite.enums.CreditCard val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val avatars = Avatars(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/avatars/get-favicon.md b/docs/examples/1.5.x/server-kotlin/kotlin/avatars/get-favicon.md index 22d91ffaa8..8cf4af26fe 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/avatars/get-favicon.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/avatars/get-favicon.md @@ -4,7 +4,7 @@ import io.appwrite.services.Avatars val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val avatars = Avatars(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/avatars/get-flag.md b/docs/examples/1.5.x/server-kotlin/kotlin/avatars/get-flag.md index 646445c5a8..73f3fefbdc 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/avatars/get-flag.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/avatars/get-flag.md @@ -5,7 +5,7 @@ import io.appwrite.enums.Flag val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val avatars = Avatars(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/avatars/get-image.md b/docs/examples/1.5.x/server-kotlin/kotlin/avatars/get-image.md index bda8ee63d9..1369000a46 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/avatars/get-image.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/avatars/get-image.md @@ -4,7 +4,7 @@ import io.appwrite.services.Avatars val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val avatars = Avatars(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/avatars/get-initials.md b/docs/examples/1.5.x/server-kotlin/kotlin/avatars/get-initials.md index 35378c0579..95499241a1 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/avatars/get-initials.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/avatars/get-initials.md @@ -4,7 +4,7 @@ import io.appwrite.services.Avatars val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val avatars = Avatars(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/avatars/get-q-r.md b/docs/examples/1.5.x/server-kotlin/kotlin/avatars/get-q-r.md index 84e5e374a8..cea667bc93 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/avatars/get-q-r.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/avatars/get-q-r.md @@ -4,7 +4,7 @@ import io.appwrite.services.Avatars val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val avatars = Avatars(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-boolean-attribute.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-boolean-attribute.md index 733fedef70..64ac210006 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-boolean-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-boolean-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-collection.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-collection.md index 1ae8865698..03ca6a4b74 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-collection.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-collection.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-datetime-attribute.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-datetime-attribute.md index 3c39c717a6..d9e0771c9d 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-datetime-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-datetime-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-document.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-document.md index 9c7608bcc8..873e2edd48 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-document.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-document.md @@ -4,7 +4,7 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val databases = Databases(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-email-attribute.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-email-attribute.md index 94d928dada..5e5091be6b 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-email-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-email-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-enum-attribute.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-enum-attribute.md index 4376186448..733fbadf44 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-enum-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-enum-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-float-attribute.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-float-attribute.md index 1d6f94c3a6..04e9bfa17c 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-float-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-float-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-index.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-index.md index f61f8295d8..6dab46fec9 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-index.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-index.md @@ -5,8 +5,8 @@ import io.appwrite.enums.IndexType val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-integer-attribute.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-integer-attribute.md index ae496a8e7e..6c483bbac6 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-integer-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-integer-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-ip-attribute.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-ip-attribute.md index 5f78d503b6..76dd82dcb9 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-ip-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-ip-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-relationship-attribute.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-relationship-attribute.md index 832192ab71..4797b94c91 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-relationship-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-relationship-attribute.md @@ -5,8 +5,8 @@ import io.appwrite.enums.RelationshipType val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-string-attribute.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-string-attribute.md index 3724e6b130..06781f236c 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-string-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-string-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-url-attribute.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-url-attribute.md index e2c52202fb..33cadc7933 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-url-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/create-url-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/create.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/create.md index ce481876af..c17246f776 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/create.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/create.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/delete-attribute.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/delete-attribute.md index ad31cd46f5..8fed2d841c 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/delete-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/delete-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/delete-collection.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/delete-collection.md index ce4ebe7688..2c85947f37 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/delete-collection.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/delete-collection.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/delete-document.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/delete-document.md index b399a1dbec..e920841a93 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/delete-document.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/delete-document.md @@ -4,7 +4,7 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val databases = Databases(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/delete-index.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/delete-index.md index 791ced39c8..8655b6bc67 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/delete-index.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/delete-index.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/delete.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/delete.md index 60cc227987..13c5660580 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/delete.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/delete.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/get-attribute.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/get-attribute.md index 1ee14627a7..6a7ceb2210 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/get-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/get-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/get-collection.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/get-collection.md index 10da0e296d..79980c5db7 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/get-collection.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/get-collection.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/get-document.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/get-document.md index 4d57861673..508e0dae37 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/get-document.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/get-document.md @@ -4,7 +4,7 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val databases = Databases(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/get-index.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/get-index.md index ecb05402d0..3935c38ba6 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/get-index.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/get-index.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/get.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/get.md index 92923f1b7a..bb6b17cd19 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/get.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/get.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/list-attributes.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/list-attributes.md index 7d67ff0425..b3f26a2e38 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/list-attributes.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/list-attributes.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/list-collections.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/list-collections.md index df8796e3b1..9bdfa6e4d0 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/list-collections.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/list-collections.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/list-documents.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/list-documents.md index 53a48bbee4..90cef399a2 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/list-documents.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/list-documents.md @@ -4,7 +4,7 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val databases = Databases(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/list-indexes.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/list-indexes.md index 8c653ea597..6dd29ba206 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/list-indexes.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/list-indexes.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/list.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/list.md index 7134f0e839..f7f332b91f 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/list.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/list.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-boolean-attribute.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-boolean-attribute.md index 8ccc39884c..ebffab74f2 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-boolean-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-boolean-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) @@ -14,5 +14,6 @@ val response = databases.updateBooleanAttribute( collectionId = "<COLLECTION_ID>", key = "", required = false, - default = false + default = false, + newKey = "" // optional ) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-collection.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-collection.md index f7b648f90e..7ceef8423b 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-collection.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-collection.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-datetime-attribute.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-datetime-attribute.md index 3ffb212edd..676c779bc9 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-datetime-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-datetime-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) @@ -14,5 +14,6 @@ val response = databases.updateDatetimeAttribute( collectionId = "<COLLECTION_ID>", key = "", required = false, - default = "" + default = "", + newKey = "" // optional ) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-document.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-document.md index ef02fdb4cd..1737be1d3d 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-document.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-document.md @@ -4,7 +4,7 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val databases = Databases(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-email-attribute.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-email-attribute.md index 2a7a74ced3..2f1cbd2527 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-email-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-email-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) @@ -14,5 +14,6 @@ val response = databases.updateEmailAttribute( collectionId = "<COLLECTION_ID>", key = "", required = false, - default = "email@example.com" + default = "email@example.com", + newKey = "" // optional ) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-enum-attribute.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-enum-attribute.md index 18ff0a34d7..7c0c92fad6 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-enum-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-enum-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) @@ -15,5 +15,6 @@ val response = databases.updateEnumAttribute( key = "", elements = listOf(), required = false, - default = "<DEFAULT>" + default = "<DEFAULT>", + newKey = "" // optional ) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-float-attribute.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-float-attribute.md index 315bf5602e..3d0485f953 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-float-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-float-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) @@ -14,7 +14,8 @@ val response = databases.updateFloatAttribute( collectionId = "<COLLECTION_ID>", key = "", required = false, - min = 0, - max = 0, - default = 0 + default = 0, + min = 0, // optional + max = 0, // optional + newKey = "" // optional ) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-integer-attribute.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-integer-attribute.md index 9c61307e7a..249972d975 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-integer-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-integer-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) @@ -14,7 +14,8 @@ val response = databases.updateIntegerAttribute( collectionId = "<COLLECTION_ID>", key = "", required = false, - min = 0, - max = 0, - default = 0 + default = 0, + min = 0, // optional + max = 0, // optional + newKey = "" // optional ) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-ip-attribute.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-ip-attribute.md index a7959648d8..bfc0cddce0 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-ip-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-ip-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) @@ -14,5 +14,6 @@ val response = databases.updateIpAttribute( collectionId = "<COLLECTION_ID>", key = "", required = false, - default = "" + default = "", + newKey = "" // optional ) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-relationship-attribute.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-relationship-attribute.md index b58559b2aa..ab12195140 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-relationship-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-relationship-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) @@ -13,5 +13,6 @@ val response = databases.updateRelationshipAttribute( databaseId = "<DATABASE_ID>", collectionId = "<COLLECTION_ID>", key = "", - onDelete = "cascade" // optional + onDelete = "cascade", // optional + newKey = "" // optional ) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-string-attribute.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-string-attribute.md index e6fc440a5a..32e17beb9c 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-string-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-string-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) @@ -14,5 +14,7 @@ val response = databases.updateStringAttribute( collectionId = "<COLLECTION_ID>", key = "", required = false, - default = "<DEFAULT>" + default = "<DEFAULT>", + size = 1, // optional + newKey = "" // optional ) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-url-attribute.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-url-attribute.md index 84ce862295..78351133db 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-url-attribute.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/update-url-attribute.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) @@ -14,5 +14,6 @@ val response = databases.updateUrlAttribute( collectionId = "<COLLECTION_ID>", key = "", required = false, - default = "https://example.com" + default = "https://example.com", + newKey = "" // optional ) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/databases/update.md b/docs/examples/1.5.x/server-kotlin/kotlin/databases/update.md index e458d69c44..7da795cb72 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/databases/update.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/databases/update.md @@ -4,8 +4,8 @@ import io.appwrite.services.Databases val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val databases = Databases(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/functions/create-build.md b/docs/examples/1.5.x/server-kotlin/kotlin/functions/create-build.md index fe64c02b82..6d20586e94 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/functions/create-build.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/functions/create-build.md @@ -4,13 +4,13 @@ import io.appwrite.services.Functions val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val functions = Functions(client) val response = functions.createBuild( functionId = "<FUNCTION_ID>", deploymentId = "<DEPLOYMENT_ID>", - buildId = "<BUILD_ID>" + buildId = "<BUILD_ID>" // optional ) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/functions/create-deployment.md b/docs/examples/1.5.x/server-kotlin/kotlin/functions/create-deployment.md index e961aa3ea7..aba8f0c5f7 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/functions/create-deployment.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/functions/create-deployment.md @@ -5,8 +5,8 @@ import io.appwrite.services.Functions val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val functions = Functions(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/functions/create-execution.md b/docs/examples/1.5.x/server-kotlin/kotlin/functions/create-execution.md index 29f64bcf62..42267458e0 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/functions/create-execution.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/functions/create-execution.md @@ -4,7 +4,7 @@ import io.appwrite.services.Functions val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val functions = Functions(client) @@ -15,5 +15,6 @@ val response = functions.createExecution( async = false, // optional path = "<PATH>", // optional method = "GET", // optional - headers = mapOf( "a" to "b" ) // optional + headers = mapOf( "a" to "b" ), // optional + scheduledAt = "" // optional ) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/functions/create-variable.md b/docs/examples/1.5.x/server-kotlin/kotlin/functions/create-variable.md index e604360978..e5d33b4f1a 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/functions/create-variable.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/functions/create-variable.md @@ -4,8 +4,8 @@ import io.appwrite.services.Functions val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val functions = Functions(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/functions/create.md b/docs/examples/1.5.x/server-kotlin/kotlin/functions/create.md index f15566e61d..d94bdf6378 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/functions/create.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/functions/create.md @@ -5,8 +5,8 @@ import io.appwrite.enums.Runtime val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val functions = Functions(client) @@ -22,6 +22,7 @@ val response = functions.create( logging = false, // optional entrypoint = "<ENTRYPOINT>", // optional commands = "<COMMANDS>", // optional + scopes = listOf(), // optional installationId = "<INSTALLATION_ID>", // optional providerRepositoryId = "<PROVIDER_REPOSITORY_ID>", // optional providerBranch = "<PROVIDER_BRANCH>", // optional @@ -30,5 +31,6 @@ val response = functions.create( templateRepository = "<TEMPLATE_REPOSITORY>", // optional templateOwner = "<TEMPLATE_OWNER>", // optional templateRootDirectory = "<TEMPLATE_ROOT_DIRECTORY>", // optional - templateBranch = "<TEMPLATE_BRANCH>" // optional + templateVersion = "<TEMPLATE_VERSION>", // optional + specification = "" // optional ) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/functions/delete-deployment.md b/docs/examples/1.5.x/server-kotlin/kotlin/functions/delete-deployment.md index 43a8b60d15..9e4e4762f1 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/functions/delete-deployment.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/functions/delete-deployment.md @@ -4,8 +4,8 @@ import io.appwrite.services.Functions val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val functions = Functions(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/functions/delete-execution.md b/docs/examples/1.5.x/server-kotlin/kotlin/functions/delete-execution.md new file mode 100644 index 0000000000..eb1f59eda7 --- /dev/null +++ b/docs/examples/1.5.x/server-kotlin/kotlin/functions/delete-execution.md @@ -0,0 +1,15 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Functions + +val client = Client() + .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key + +val functions = Functions(client) + +val response = functions.deleteExecution( + functionId = "<FUNCTION_ID>", + executionId = "<EXECUTION_ID>" +) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/functions/delete-variable.md b/docs/examples/1.5.x/server-kotlin/kotlin/functions/delete-variable.md index db1290a455..912e7699b6 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/functions/delete-variable.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/functions/delete-variable.md @@ -4,8 +4,8 @@ import io.appwrite.services.Functions val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val functions = Functions(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/functions/delete.md b/docs/examples/1.5.x/server-kotlin/kotlin/functions/delete.md index 4acba27226..97f0b0082f 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/functions/delete.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/functions/delete.md @@ -4,8 +4,8 @@ import io.appwrite.services.Functions val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val functions = Functions(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/functions/download-deployment.md b/docs/examples/1.5.x/server-kotlin/kotlin/functions/download-deployment.md index 7e12635449..b1954498fc 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/functions/download-deployment.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/functions/download-deployment.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Functions val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/functions/get-deployment-download.md b/docs/examples/1.5.x/server-kotlin/kotlin/functions/get-deployment-download.md new file mode 100644 index 0000000000..13dec6ade2 --- /dev/null +++ b/docs/examples/1.5.x/server-kotlin/kotlin/functions/get-deployment-download.md @@ -0,0 +1,15 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Functions + +val client = Client() + .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key + +val functions = Functions(client) + +val result = functions.getDeploymentDownload( + functionId = "<FUNCTION_ID>", + deploymentId = "<DEPLOYMENT_ID>" +) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/functions/get-deployment.md b/docs/examples/1.5.x/server-kotlin/kotlin/functions/get-deployment.md index cb92710acc..e844328f58 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/functions/get-deployment.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/functions/get-deployment.md @@ -4,8 +4,8 @@ import io.appwrite.services.Functions val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val functions = Functions(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/functions/get-execution.md b/docs/examples/1.5.x/server-kotlin/kotlin/functions/get-execution.md index e0c9dc76ff..5f981bfc4f 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/functions/get-execution.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/functions/get-execution.md @@ -4,7 +4,7 @@ import io.appwrite.services.Functions val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val functions = Functions(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/functions/get-variable.md b/docs/examples/1.5.x/server-kotlin/kotlin/functions/get-variable.md index c9a0f11a2e..8d6ee38cf2 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/functions/get-variable.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/functions/get-variable.md @@ -4,8 +4,8 @@ import io.appwrite.services.Functions val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val functions = Functions(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/functions/get.md b/docs/examples/1.5.x/server-kotlin/kotlin/functions/get.md index bffb1a074e..f56d8b9eaa 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/functions/get.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/functions/get.md @@ -4,8 +4,8 @@ import io.appwrite.services.Functions val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val functions = Functions(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/functions/list-deployments.md b/docs/examples/1.5.x/server-kotlin/kotlin/functions/list-deployments.md index bb4b0b8f41..cf7deffa73 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/functions/list-deployments.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/functions/list-deployments.md @@ -4,8 +4,8 @@ import io.appwrite.services.Functions val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val functions = Functions(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/functions/list-executions.md b/docs/examples/1.5.x/server-kotlin/kotlin/functions/list-executions.md index 04d6216e49..8f4546cb62 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/functions/list-executions.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/functions/list-executions.md @@ -4,7 +4,7 @@ import io.appwrite.services.Functions val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val functions = Functions(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/functions/list-runtimes.md b/docs/examples/1.5.x/server-kotlin/kotlin/functions/list-runtimes.md index 099b87b936..a464156a1c 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/functions/list-runtimes.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/functions/list-runtimes.md @@ -4,8 +4,8 @@ import io.appwrite.services.Functions val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val functions = Functions(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/functions/list-specifications.md b/docs/examples/1.5.x/server-kotlin/kotlin/functions/list-specifications.md new file mode 100644 index 0000000000..8d86aa6cae --- /dev/null +++ b/docs/examples/1.5.x/server-kotlin/kotlin/functions/list-specifications.md @@ -0,0 +1,12 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Functions + +val client = Client() + .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key + +val functions = Functions(client) + +val response = functions.listSpecifications() diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/functions/list-variables.md b/docs/examples/1.5.x/server-kotlin/kotlin/functions/list-variables.md index c1521632da..4876517279 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/functions/list-variables.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/functions/list-variables.md @@ -4,8 +4,8 @@ import io.appwrite.services.Functions val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val functions = Functions(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/functions/list.md b/docs/examples/1.5.x/server-kotlin/kotlin/functions/list.md index c04efeea40..9a585017da 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/functions/list.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/functions/list.md @@ -4,8 +4,8 @@ import io.appwrite.services.Functions val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val functions = Functions(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/functions/update-deployment-build.md b/docs/examples/1.5.x/server-kotlin/kotlin/functions/update-deployment-build.md new file mode 100644 index 0000000000..6adb07a781 --- /dev/null +++ b/docs/examples/1.5.x/server-kotlin/kotlin/functions/update-deployment-build.md @@ -0,0 +1,15 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Functions + +val client = Client() + .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key + +val functions = Functions(client) + +val response = functions.updateDeploymentBuild( + functionId = "<FUNCTION_ID>", + deploymentId = "<DEPLOYMENT_ID>" +) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/functions/update-deployment.md b/docs/examples/1.5.x/server-kotlin/kotlin/functions/update-deployment.md index 85b0f65cd5..fb95b08abc 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/functions/update-deployment.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/functions/update-deployment.md @@ -4,8 +4,8 @@ import io.appwrite.services.Functions val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val functions = Functions(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/functions/update-variable.md b/docs/examples/1.5.x/server-kotlin/kotlin/functions/update-variable.md index 010de12e8e..db9438c667 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/functions/update-variable.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/functions/update-variable.md @@ -4,8 +4,8 @@ import io.appwrite.services.Functions val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val functions = Functions(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/functions/update.md b/docs/examples/1.5.x/server-kotlin/kotlin/functions/update.md index 0dc8ec3797..d36c761018 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/functions/update.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/functions/update.md @@ -4,8 +4,8 @@ import io.appwrite.services.Functions val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val functions = Functions(client) @@ -21,9 +21,11 @@ val response = functions.update( logging = false, // optional entrypoint = "<ENTRYPOINT>", // optional commands = "<COMMANDS>", // optional + scopes = listOf(), // optional installationId = "<INSTALLATION_ID>", // optional providerRepositoryId = "<PROVIDER_REPOSITORY_ID>", // optional providerBranch = "<PROVIDER_BRANCH>", // optional providerSilentMode = false, // optional - providerRootDirectory = "<PROVIDER_ROOT_DIRECTORY>" // optional + providerRootDirectory = "<PROVIDER_ROOT_DIRECTORY>", // optional + specification = "" // optional ) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/graphql/mutation.md b/docs/examples/1.5.x/server-kotlin/kotlin/graphql/mutation.md index 9024c0ecb8..d4d2fd2dc2 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/graphql/mutation.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/graphql/mutation.md @@ -4,8 +4,8 @@ import io.appwrite.services.Graphql val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val graphql = Graphql(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/graphql/query.md b/docs/examples/1.5.x/server-kotlin/kotlin/graphql/query.md index c5e616583a..79457c1e14 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/graphql/query.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/graphql/query.md @@ -4,8 +4,8 @@ import io.appwrite.services.Graphql val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val graphql = Graphql(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-antivirus.md b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-antivirus.md index b381dc2bcc..c84072504b 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-antivirus.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-antivirus.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val health = Health(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-cache.md b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-cache.md index 0359605ad8..20ddb89ad3 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-cache.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-cache.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val health = Health(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-certificate.md b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-certificate.md index 48b1e06d3e..714a2709a9 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-certificate.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-certificate.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val health = Health(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-d-b.md b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-d-b.md index 92553e733b..c707be3911 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-d-b.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-d-b.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val health = Health(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-failed-jobs.md b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-failed-jobs.md index b8384d31e6..5c5497a4c0 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-failed-jobs.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-failed-jobs.md @@ -5,8 +5,8 @@ import io.appwrite.enums.Name val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val health = Health(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-pub-sub.md b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-pub-sub.md index 0f91e7758a..8a69bc7be6 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-pub-sub.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-pub-sub.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val health = Health(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-builds.md b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-builds.md index 139268975e..4d0cb3a0e6 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-builds.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-builds.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val health = Health(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-certificates.md b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-certificates.md index af6e44290d..1b07df680e 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-certificates.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-certificates.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val health = Health(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-databases.md b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-databases.md index d9b020099f..fb1dce69f8 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-databases.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-databases.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val health = Health(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-deletes.md b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-deletes.md index c7f7a0a078..d3f1186242 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-deletes.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-deletes.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val health = Health(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-functions.md b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-functions.md index 37f2c67600..2a045955cb 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-functions.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-functions.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val health = Health(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-logs.md b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-logs.md index f0f2bde0c7..6467a390ad 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-logs.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-logs.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val health = Health(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-mails.md b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-mails.md index d4dc40aa19..143dc409ae 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-mails.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-mails.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val health = Health(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-messaging.md b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-messaging.md index ffb71923c4..e85e425832 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-messaging.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-messaging.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val health = Health(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-migrations.md b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-migrations.md index 300814c7dd..f287e78d4a 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-migrations.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-migrations.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val health = Health(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-stats-resources.md b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-stats-resources.md new file mode 100644 index 0000000000..ac95abc636 --- /dev/null +++ b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-stats-resources.md @@ -0,0 +1,14 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Health + +val client = Client() + .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key + +val health = Health(client) + +val response = health.getQueueStatsResources( + threshold = 0 // optional +) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-usage-dump.md b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-usage-dump.md index 11c3164105..a97db61f2a 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-usage-dump.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-usage-dump.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Health val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-usage.md b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-usage.md index e5a9ade342..fcfcf108e1 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-usage.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-usage.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val health = Health(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-webhooks.md b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-webhooks.md index d4d56dd377..6452f1a76e 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-webhooks.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue-webhooks.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val health = Health(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue.md b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue.md index f9749e9eb0..5aa235ee31 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-queue.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Health val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-storage-local.md b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-storage-local.md index cc2664b790..b2c9987353 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-storage-local.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-storage-local.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val health = Health(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-storage.md b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-storage.md index b4a35abd01..7038ee2b5a 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-storage.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-storage.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val health = Health(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-time.md b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-time.md index e121cb9d4b..7c50ae424b 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/health/get-time.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/health/get-time.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val health = Health(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/health/get.md b/docs/examples/1.5.x/server-kotlin/kotlin/health/get.md index 49e229ef9b..c53445ff99 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/health/get.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/health/get.md @@ -4,8 +4,8 @@ import io.appwrite.services.Health val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val health = Health(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/locale/get.md b/docs/examples/1.5.x/server-kotlin/kotlin/locale/get.md index 9d4853f6a6..b8dc768a0d 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/locale/get.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/locale/get.md @@ -4,7 +4,7 @@ import io.appwrite.services.Locale val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val locale = Locale(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/locale/list-codes.md b/docs/examples/1.5.x/server-kotlin/kotlin/locale/list-codes.md index 084581055e..784e688f4d 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/locale/list-codes.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/locale/list-codes.md @@ -4,7 +4,7 @@ import io.appwrite.services.Locale val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val locale = Locale(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/locale/list-continents.md b/docs/examples/1.5.x/server-kotlin/kotlin/locale/list-continents.md index b4be20b162..6cad16e4a9 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/locale/list-continents.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/locale/list-continents.md @@ -4,7 +4,7 @@ import io.appwrite.services.Locale val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val locale = Locale(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/locale/list-countries-e-u.md b/docs/examples/1.5.x/server-kotlin/kotlin/locale/list-countries-e-u.md index f09845708d..cfec468dd5 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/locale/list-countries-e-u.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/locale/list-countries-e-u.md @@ -4,7 +4,7 @@ import io.appwrite.services.Locale val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val locale = Locale(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/locale/list-countries-phones.md b/docs/examples/1.5.x/server-kotlin/kotlin/locale/list-countries-phones.md index 9308be7dc1..06585ad248 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/locale/list-countries-phones.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/locale/list-countries-phones.md @@ -4,7 +4,7 @@ import io.appwrite.services.Locale val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val locale = Locale(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/locale/list-countries.md b/docs/examples/1.5.x/server-kotlin/kotlin/locale/list-countries.md index 4b2f1b1625..7789bbeff5 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/locale/list-countries.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/locale/list-countries.md @@ -4,7 +4,7 @@ import io.appwrite.services.Locale val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val locale = Locale(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/locale/list-currencies.md b/docs/examples/1.5.x/server-kotlin/kotlin/locale/list-currencies.md index 2ab56dbf31..6c7f7097d3 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/locale/list-currencies.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/locale/list-currencies.md @@ -4,7 +4,7 @@ import io.appwrite.services.Locale val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val locale = Locale(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/locale/list-languages.md b/docs/examples/1.5.x/server-kotlin/kotlin/locale/list-languages.md index 8401d258c3..a20096e335 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/locale/list-languages.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/locale/list-languages.md @@ -4,7 +4,7 @@ import io.appwrite.services.Locale val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val locale = Locale(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-a-p-n-s-provider.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-a-p-n-s-provider.md index 56f2b48490..2342e3c4eb 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-a-p-n-s-provider.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-a-p-n-s-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-apns-provider.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-apns-provider.md index d2125dc0a5..8a58fe8672 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-apns-provider.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-apns-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-email.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-email.md index f5d76790f4..02b0651b68 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-email.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-email.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-f-c-m-provider.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-f-c-m-provider.md index a066bc6191..4e40c7ff3a 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-f-c-m-provider.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-f-c-m-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-fcm-provider.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-fcm-provider.md index 343ba99871..779596cd78 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-fcm-provider.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-fcm-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-mailgun-provider.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-mailgun-provider.md index 0d1c55ce9f..a73a27ff08 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-mailgun-provider.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-mailgun-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-msg91provider.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-msg91provider.md index e3bf36cc06..31eb606e28 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-msg91provider.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-msg91provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-push.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-push.md index 1e78333576..f92a49d627 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-push.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-push.md @@ -4,15 +4,15 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) val response = messaging.createPush( messageId = "<MESSAGE_ID>", - title = "<TITLE>", - body = "<BODY>", + title = "<TITLE>", // optional + body = "<BODY>", // optional topics = listOf(), // optional users = listOf(), // optional targets = listOf(), // optional @@ -23,7 +23,10 @@ val response = messaging.createPush( sound = "<SOUND>", // optional color = "<COLOR>", // optional tag = "<TAG>", // optional - badge = "<BADGE>", // optional + badge = 0, // optional draft = false, // optional - scheduledAt = "" // optional + scheduledAt = "", // optional + contentAvailable = false, // optional + critical = false, // optional + priority = "normal" // optional ) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-s-m-s.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-s-m-s.md index 9b413e8906..ee552e6059 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-s-m-s.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-s-m-s.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-s-m-t-p-provider.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-s-m-t-p-provider.md index df4c616392..56ab28e03d 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-s-m-t-p-provider.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-s-m-t-p-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-sendgrid-provider.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-sendgrid-provider.md index 701094d428..34f61c9889 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-sendgrid-provider.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-sendgrid-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-sms.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-sms.md index b6f591a522..6fbcffb09e 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-sms.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-sms.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-smtp-provider.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-smtp-provider.md index f263dcc29f..17643dc6a5 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-smtp-provider.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-smtp-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-subscriber.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-subscriber.md index 57b3e68e59..805cd58327 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-subscriber.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-subscriber.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setJWT("<YOUR_JWT>") // Your secret JSON Web Token val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-telesign-provider.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-telesign-provider.md index 88084239b3..1d44fcab2a 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-telesign-provider.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-telesign-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-textmagic-provider.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-textmagic-provider.md index d6abf3245d..d88b9bb9d0 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-textmagic-provider.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-textmagic-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-topic.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-topic.md index 110abf4773..6a6b9bd4b2 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-topic.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-topic.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-twilio-provider.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-twilio-provider.md index 24920ead98..3df99e97da 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-twilio-provider.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-twilio-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-vonage-provider.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-vonage-provider.md index bccd07769e..59e5d149fe 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-vonage-provider.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/create-vonage-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/delete-provider.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/delete-provider.md index c437e34b88..3ecd64deab 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/delete-provider.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/delete-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/delete-subscriber.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/delete-subscriber.md index 51012d8964..4a7c18faf9 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/delete-subscriber.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/delete-subscriber.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setJWT("<YOUR_JWT>") // Your secret JSON Web Token val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/delete-topic.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/delete-topic.md index 83b460de9c..4859c0a621 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/delete-topic.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/delete-topic.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/delete.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/delete.md index f7f400c41f..0b925ca8a0 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/delete.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/delete.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/get-message.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/get-message.md index 8fbbdc02f6..01db389b24 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/get-message.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/get-message.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/get-provider.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/get-provider.md index 48fdc64ea2..53e5cf32d5 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/get-provider.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/get-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/get-subscriber.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/get-subscriber.md index 23bae3ee48..036f17f757 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/get-subscriber.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/get-subscriber.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/get-topic.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/get-topic.md index 21e5ae741d..09d36884f3 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/get-topic.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/get-topic.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-message-logs.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-message-logs.md index d3062ea7ff..3048904133 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-message-logs.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-message-logs.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-messages.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-messages.md index ca4ab22ca9..e9e509e4c9 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-messages.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-messages.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-provider-logs.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-provider-logs.md index 51d7723d4d..e0a52cb402 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-provider-logs.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-provider-logs.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-providers.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-providers.md index 2779e86147..66439e2a4c 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-providers.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-providers.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-subscriber-logs.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-subscriber-logs.md index b331ccb444..5472d5f46f 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-subscriber-logs.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-subscriber-logs.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-subscribers.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-subscribers.md index d257171059..a95e854328 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-subscribers.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-subscribers.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-targets.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-targets.md index 415d611914..a99e8226d1 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-targets.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-targets.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-topic-logs.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-topic-logs.md index a9d5d5ab0b..7b7d2f0384 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-topic-logs.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-topic-logs.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-topics.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-topics.md index ed19b2a990..4550f1e658 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-topics.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/list-topics.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-a-p-n-s-provider.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-a-p-n-s-provider.md index f14c171848..2bd5c5e79c 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-a-p-n-s-provider.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-a-p-n-s-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-apns-provider.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-apns-provider.md index 52e03d816f..83a60830b1 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-apns-provider.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-apns-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-email.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-email.md index 9af06277a9..29baf1896d 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-email.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-email.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-f-c-m-provider.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-f-c-m-provider.md index d80a715a52..579e083625 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-f-c-m-provider.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-f-c-m-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-fcm-provider.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-fcm-provider.md index b64f48ae44..4d8534c2c4 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-fcm-provider.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-fcm-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-mailgun-provider.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-mailgun-provider.md index 1ad9e35f1a..9caff421c8 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-mailgun-provider.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-mailgun-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-msg91provider.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-msg91provider.md index c5c690bc6d..1a6a0b49ad 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-msg91provider.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-msg91provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-push.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-push.md index 4469e10612..0ba72c461c 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-push.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-push.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) @@ -25,5 +25,8 @@ val response = messaging.updatePush( tag = "<TAG>", // optional badge = 0, // optional draft = false, // optional - scheduledAt = "" // optional + scheduledAt = "", // optional + contentAvailable = false, // optional + critical = false, // optional + priority = "normal" // optional ) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-s-m-s.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-s-m-s.md index f13dc22104..9f6a5a96d8 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-s-m-s.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-s-m-s.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-s-m-t-p-provider.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-s-m-t-p-provider.md index 1c0ef7f25a..d2584f548d 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-s-m-t-p-provider.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-s-m-t-p-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-sendgrid-provider.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-sendgrid-provider.md index cb8a9cea54..353cbd0180 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-sendgrid-provider.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-sendgrid-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-sms.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-sms.md index 752cf26eb2..7f008e8dbe 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-sms.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-sms.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-smtp-provider.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-smtp-provider.md index 40e466c564..465d76b4da 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-smtp-provider.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-smtp-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-telesign-provider.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-telesign-provider.md index 601d676dcb..9a4d93e9c3 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-telesign-provider.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-telesign-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-textmagic-provider.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-textmagic-provider.md index d16de03d8e..14e8ac5102 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-textmagic-provider.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-textmagic-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-topic.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-topic.md index 9a2002688b..68e894973d 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-topic.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-topic.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-twilio-provider.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-twilio-provider.md index bfd2775857..2c7a5e8cf9 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-twilio-provider.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-twilio-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-vonage-provider.md b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-vonage-provider.md index 209aef0389..4d432f7310 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-vonage-provider.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/messaging/update-vonage-provider.md @@ -4,8 +4,8 @@ import io.appwrite.services.Messaging val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/storage/create-bucket.md b/docs/examples/1.5.x/server-kotlin/kotlin/storage/create-bucket.md index 08419ef2c0..0c0119e556 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/storage/create-bucket.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/storage/create-bucket.md @@ -4,8 +4,8 @@ import io.appwrite.services.Storage val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val storage = Storage(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/storage/create-file.md b/docs/examples/1.5.x/server-kotlin/kotlin/storage/create-file.md index 8789d17138..a2203ff686 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/storage/create-file.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/storage/create-file.md @@ -5,7 +5,7 @@ import io.appwrite.services.Storage val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val storage = Storage(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/storage/delete-bucket.md b/docs/examples/1.5.x/server-kotlin/kotlin/storage/delete-bucket.md index 5209db7e80..22981035d1 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/storage/delete-bucket.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/storage/delete-bucket.md @@ -4,8 +4,8 @@ import io.appwrite.services.Storage val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val storage = Storage(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/storage/delete-file.md b/docs/examples/1.5.x/server-kotlin/kotlin/storage/delete-file.md index c26d90021e..5b17c5c8b0 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/storage/delete-file.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/storage/delete-file.md @@ -4,7 +4,7 @@ import io.appwrite.services.Storage val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val storage = Storage(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/storage/get-bucket.md b/docs/examples/1.5.x/server-kotlin/kotlin/storage/get-bucket.md index c8e007b1a5..604ec05a26 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/storage/get-bucket.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/storage/get-bucket.md @@ -4,8 +4,8 @@ import io.appwrite.services.Storage val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val storage = Storage(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/storage/get-file-download.md b/docs/examples/1.5.x/server-kotlin/kotlin/storage/get-file-download.md index 0635561cd5..46b02e7730 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/storage/get-file-download.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/storage/get-file-download.md @@ -4,7 +4,7 @@ import io.appwrite.services.Storage val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val storage = Storage(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/storage/get-file-preview.md b/docs/examples/1.5.x/server-kotlin/kotlin/storage/get-file-preview.md index 3362bb03bd..88be42f6f5 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/storage/get-file-preview.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/storage/get-file-preview.md @@ -4,7 +4,7 @@ import io.appwrite.services.Storage val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val storage = Storage(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/storage/get-file-view.md b/docs/examples/1.5.x/server-kotlin/kotlin/storage/get-file-view.md index 4005a6d0b1..b4ad81fcec 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/storage/get-file-view.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/storage/get-file-view.md @@ -4,7 +4,7 @@ import io.appwrite.services.Storage val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val storage = Storage(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/storage/get-file.md b/docs/examples/1.5.x/server-kotlin/kotlin/storage/get-file.md index 5fc6d6740f..a6d2d3d85d 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/storage/get-file.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/storage/get-file.md @@ -4,7 +4,7 @@ import io.appwrite.services.Storage val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val storage = Storage(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/storage/list-buckets.md b/docs/examples/1.5.x/server-kotlin/kotlin/storage/list-buckets.md index 942490ef41..4b22970641 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/storage/list-buckets.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/storage/list-buckets.md @@ -4,8 +4,8 @@ import io.appwrite.services.Storage val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val storage = Storage(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/storage/list-files.md b/docs/examples/1.5.x/server-kotlin/kotlin/storage/list-files.md index 50fcda67fa..e7c3d66438 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/storage/list-files.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/storage/list-files.md @@ -4,7 +4,7 @@ import io.appwrite.services.Storage val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val storage = Storage(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/storage/update-bucket.md b/docs/examples/1.5.x/server-kotlin/kotlin/storage/update-bucket.md index 45bcf390c0..4040dfb4f9 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/storage/update-bucket.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/storage/update-bucket.md @@ -4,8 +4,8 @@ import io.appwrite.services.Storage val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val storage = Storage(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/storage/update-file.md b/docs/examples/1.5.x/server-kotlin/kotlin/storage/update-file.md index 05fb981f05..96d4b08f9a 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/storage/update-file.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/storage/update-file.md @@ -4,7 +4,7 @@ import io.appwrite.services.Storage val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val storage = Storage(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/teams/create-membership.md b/docs/examples/1.5.x/server-kotlin/kotlin/teams/create-membership.md index 59cd67ed44..250502ecc9 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/teams/create-membership.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/teams/create-membership.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val teams = Teams(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/teams/create.md b/docs/examples/1.5.x/server-kotlin/kotlin/teams/create.md index 9b1ceaa50d..b66029f08e 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/teams/create.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/teams/create.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val teams = Teams(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/teams/delete-membership.md b/docs/examples/1.5.x/server-kotlin/kotlin/teams/delete-membership.md index 7f703a6442..0dff54515f 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/teams/delete-membership.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/teams/delete-membership.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val teams = Teams(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/teams/delete.md b/docs/examples/1.5.x/server-kotlin/kotlin/teams/delete.md index 678182b3ff..9a75b2ae72 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/teams/delete.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/teams/delete.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val teams = Teams(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/teams/get-membership.md b/docs/examples/1.5.x/server-kotlin/kotlin/teams/get-membership.md index 860ded7663..77c6ae5d1a 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/teams/get-membership.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/teams/get-membership.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val teams = Teams(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/teams/get-prefs.md b/docs/examples/1.5.x/server-kotlin/kotlin/teams/get-prefs.md index 331d3c3317..2700c893ae 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/teams/get-prefs.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/teams/get-prefs.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val teams = Teams(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/teams/get.md b/docs/examples/1.5.x/server-kotlin/kotlin/teams/get.md index dfd0a53b12..a7be374a46 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/teams/get.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/teams/get.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val teams = Teams(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/teams/list-memberships.md b/docs/examples/1.5.x/server-kotlin/kotlin/teams/list-memberships.md index 8f942472c4..916252dd61 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/teams/list-memberships.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/teams/list-memberships.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val teams = Teams(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/teams/list.md b/docs/examples/1.5.x/server-kotlin/kotlin/teams/list.md index 6d40484363..5af95dbfc7 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/teams/list.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/teams/list.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val teams = Teams(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/teams/update-membership-status.md b/docs/examples/1.5.x/server-kotlin/kotlin/teams/update-membership-status.md index d72eace77f..75c4a73731 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/teams/update-membership-status.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/teams/update-membership-status.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val teams = Teams(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/teams/update-membership.md b/docs/examples/1.5.x/server-kotlin/kotlin/teams/update-membership.md index 61b3622f4f..556e0a3394 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/teams/update-membership.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/teams/update-membership.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val teams = Teams(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/teams/update-name.md b/docs/examples/1.5.x/server-kotlin/kotlin/teams/update-name.md index cfa502215e..8e6a2a237c 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/teams/update-name.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/teams/update-name.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val teams = Teams(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/teams/update-prefs.md b/docs/examples/1.5.x/server-kotlin/kotlin/teams/update-prefs.md index 60bb17f003..c9153d359a 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/teams/update-prefs.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/teams/update-prefs.md @@ -4,7 +4,7 @@ import io.appwrite.services.Teams val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with val teams = Teams(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/create-argon2user.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/create-argon2user.md index 47e9e3447e..a01f6d54c3 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/create-argon2user.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/create-argon2user.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/create-bcrypt-user.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/create-bcrypt-user.md index 938c90dd1c..b4758e4aba 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/create-bcrypt-user.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/create-bcrypt-user.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/create-j-w-t.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/create-j-w-t.md new file mode 100644 index 0000000000..137847d13b --- /dev/null +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/create-j-w-t.md @@ -0,0 +1,16 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Users + +val client = Client() + .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key + +val users = Users(client) + +val response = users.createJWT( + userId = "<USER_ID>", + sessionId = "<SESSION_ID>", // optional + duration = 0 // optional +) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/create-m-d5user.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/create-m-d5user.md index cadc7e55b6..f9d7cb2f12 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/create-m-d5user.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/create-m-d5user.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/create-mfa-recovery-codes.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/create-mfa-recovery-codes.md index cd63135084..b3a3950f54 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/create-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/create-mfa-recovery-codes.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/create-p-h-pass-user.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/create-p-h-pass-user.md index e473698af9..87d74aac8b 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/create-p-h-pass-user.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/create-p-h-pass-user.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/create-s-h-a-user.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/create-s-h-a-user.md index f169d38a08..0be03bf8a0 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/create-s-h-a-user.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/create-s-h-a-user.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/create-scrypt-modified-user.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/create-scrypt-modified-user.md index 738de127e2..f651d3fc58 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/create-scrypt-modified-user.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/create-scrypt-modified-user.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/create-scrypt-user.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/create-scrypt-user.md index 9a547bd249..2502312f55 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/create-scrypt-user.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/create-scrypt-user.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/create-session.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/create-session.md index 0eed0ceec4..4b0e5dc277 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/create-session.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/create-session.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/create-target.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/create-target.md index a683cb0fc9..4a7856bd61 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/create-target.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/create-target.md @@ -5,8 +5,8 @@ import io.appwrite.enums.MessagingProviderType val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/create-token.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/create-token.md index 0d39bcc8df..bd8f76d9be 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/create-token.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/create-token.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/create.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/create.md index 8983f6fe47..b5bcee929f 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/create.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/create.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/delete-authenticator.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/delete-authenticator.md index 002df8eb9f..5ab0cb2eec 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/delete-authenticator.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/delete-authenticator.md @@ -4,7 +4,7 @@ import io.appwrite.services.Users import io.appwrite.enums.AuthenticatorType val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/delete-identity.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/delete-identity.md index 59e927e373..2c0bfae3bc 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/delete-identity.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/delete-identity.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/delete-mfa-authenticator.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/delete-mfa-authenticator.md index 56df063f37..60989d4c6a 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/delete-mfa-authenticator.md @@ -5,8 +5,8 @@ import io.appwrite.enums.AuthenticatorType val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/delete-session.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/delete-session.md index c9fffaddce..0127fa3183 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/delete-session.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/delete-session.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/delete-sessions.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/delete-sessions.md index 51b92ea039..26d7c703d9 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/delete-sessions.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/delete-sessions.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/delete-target.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/delete-target.md index 50e641d1c6..6be6652c32 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/delete-target.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/delete-target.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/delete.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/delete.md index 508e72e596..e250c44b7a 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/delete.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/delete.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/get-mfa-recovery-codes.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/get-mfa-recovery-codes.md index e2e75541b3..5860b4cca6 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/get-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/get-mfa-recovery-codes.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/get-prefs.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/get-prefs.md index b89f0fdc5c..7654537708 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/get-prefs.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/get-prefs.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/get-target.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/get-target.md index cd89cb7b68..be8bbe81ca 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/get-target.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/get-target.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/get.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/get.md index 9f296b5bda..829843065b 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/get.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/get.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/list-factors.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/list-factors.md index 0d723c0262..40acf17074 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/list-factors.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/list-factors.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/list-identities.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/list-identities.md index 4e13335f7d..05156dbe93 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/list-identities.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/list-identities.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/list-logs.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/list-logs.md index 3c5ece22e4..8868d0d30b 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/list-logs.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/list-logs.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/list-memberships.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/list-memberships.md index 498644cf73..5a3d2ead35 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/list-memberships.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/list-memberships.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/list-mfa-factors.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/list-mfa-factors.md index 162a66b578..25d9a4a112 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/list-mfa-factors.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/list-mfa-factors.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/list-providers.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/list-providers.md index 7d96f2521f..bc1c6a1762 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/list-providers.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/list-providers.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/list-sessions.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/list-sessions.md index a2133550c2..c14ebd7b82 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/list-sessions.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/list-sessions.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/list-targets.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/list-targets.md index d2eb67f845..d017592a86 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/list-targets.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/list-targets.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/list.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/list.md index 8744fecd67..e86ac0de46 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/list.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/list.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/update-email-verification.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/update-email-verification.md index ea2e7c538a..3f5f2937e5 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/update-email-verification.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/update-email-verification.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/update-email.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/update-email.md index 27f1437be4..b7a0644338 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/update-email.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/update-email.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/update-labels.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/update-labels.md index 0414183076..ecc29480a8 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/update-labels.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/update-labels.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/update-mfa-recovery-codes.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/update-mfa-recovery-codes.md index 723599f426..b8fa2c503a 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/update-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/update-mfa-recovery-codes.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/update-mfa.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/update-mfa.md index 50e9255e3f..a169f3df78 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/update-mfa.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/update-mfa.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/update-name.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/update-name.md index 96db1f9938..32d164df29 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/update-name.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/update-name.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/update-password.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/update-password.md index 00fd47fb36..152226767c 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/update-password.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/update-password.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/update-phone-verification.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/update-phone-verification.md index 9b311aae60..bc8f4c626f 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/update-phone-verification.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/update-phone-verification.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/update-phone.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/update-phone.md index 144266201c..f00a15d015 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/update-phone.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/update-phone.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/update-prefs.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/update-prefs.md index d2e7041502..cc8dcf6e74 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/update-prefs.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/update-prefs.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/update-status.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/update-status.md index e568cc9b44..e546ba5705 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/update-status.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/update-status.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-kotlin/kotlin/users/update-target.md b/docs/examples/1.5.x/server-kotlin/kotlin/users/update-target.md index 9326748c04..1827c6a95b 100644 --- a/docs/examples/1.5.x/server-kotlin/kotlin/users/update-target.md +++ b/docs/examples/1.5.x/server-kotlin/kotlin/users/update-target.md @@ -4,8 +4,8 @@ import io.appwrite.services.Users val client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key val users = Users(client) diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/add-authenticator.md b/docs/examples/1.5.x/server-nodejs/examples/account/add-authenticator.md index 4109ee4fb9..6f74d501b0 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/add-authenticator.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/add-authenticator.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/create-anonymous-session.md b/docs/examples/1.5.x/server-nodejs/examples/account/create-anonymous-session.md index de09b8a176..90a916143d 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/create-anonymous-session.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/create-anonymous-session.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/create-challenge.md b/docs/examples/1.5.x/server-nodejs/examples/account/create-challenge.md index 212645934e..42097bb1a2 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/create-challenge.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/create-challenge.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/create-email-password-session.md b/docs/examples/1.5.x/server-nodejs/examples/account/create-email-password-session.md index 72808985c1..34aabddad7 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/create-email-password-session.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/create-email-password-session.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/create-email-token.md b/docs/examples/1.5.x/server-nodejs/examples/account/create-email-token.md index ee95c2478f..0f218a2bc0 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/create-email-token.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/create-email-token.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/create-j-w-t.md b/docs/examples/1.5.x/server-nodejs/examples/account/create-j-w-t.md index 6df2696a84..673e1e077a 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/create-j-w-t.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/create-j-w-t.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/create-magic-u-r-l-token.md b/docs/examples/1.5.x/server-nodejs/examples/account/create-magic-u-r-l-token.md index 1a0be7c30c..cb6ef36732 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/create-magic-u-r-l-token.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/create-mfa-authenticator.md b/docs/examples/1.5.x/server-nodejs/examples/account/create-mfa-authenticator.md index 54f32dc79d..0305e02991 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/create-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/create-mfa-authenticator.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/create-mfa-challenge.md b/docs/examples/1.5.x/server-nodejs/examples/account/create-mfa-challenge.md index 8ba238064e..301d83d040 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/create-mfa-challenge.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/create-mfa-recovery-codes.md b/docs/examples/1.5.x/server-nodejs/examples/account/create-mfa-recovery-codes.md index 4cbd16336d..c653ae55b2 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/create-mfa-recovery-codes.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/create-o-auth2session.md b/docs/examples/1.5.x/server-nodejs/examples/account/create-o-auth2session.md index d0c12a9c93..9140a082cb 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/create-o-auth2session.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/create-o-auth2session.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/create-o-auth2token.md b/docs/examples/1.5.x/server-nodejs/examples/account/create-o-auth2token.md index 62dc22a879..7538a9d01a 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/create-o-auth2token.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/create-o-auth2token.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/create-phone-token.md b/docs/examples/1.5.x/server-nodejs/examples/account/create-phone-token.md index 5258ee7144..04d5bc08c2 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/create-phone-token.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/create-phone-token.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/create-phone-verification.md b/docs/examples/1.5.x/server-nodejs/examples/account/create-phone-verification.md index c1940fdc7c..15dcf8a15f 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/create-phone-verification.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/create-phone-verification.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/create-recovery.md b/docs/examples/1.5.x/server-nodejs/examples/account/create-recovery.md index 6595eaf35f..ed83848e7e 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/create-recovery.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/create-recovery.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/create-session.md b/docs/examples/1.5.x/server-nodejs/examples/account/create-session.md index 8ad93ce377..8b2751b1a5 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/create-session.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/create-session.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/create-verification.md b/docs/examples/1.5.x/server-nodejs/examples/account/create-verification.md index 2c3421c812..14456ef69f 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/create-verification.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/create-verification.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/create.md b/docs/examples/1.5.x/server-nodejs/examples/account/create.md index c32343efd8..860e341a47 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/create.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/create.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/create2f-a-challenge.md b/docs/examples/1.5.x/server-nodejs/examples/account/create2f-a-challenge.md index 40954647bd..6d5126ed9a 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/create2f-a-challenge.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/create2f-a-challenge.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/delete-authenticator.md b/docs/examples/1.5.x/server-nodejs/examples/account/delete-authenticator.md index 3a72939693..e1534a66bf 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/delete-authenticator.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/delete-authenticator.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/delete-identity.md b/docs/examples/1.5.x/server-nodejs/examples/account/delete-identity.md index 436a5e1a9f..071133465e 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/delete-identity.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/delete-identity.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/delete-mfa-authenticator.md b/docs/examples/1.5.x/server-nodejs/examples/account/delete-mfa-authenticator.md index 7d756dff14..1cf8154acd 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/delete-mfa-authenticator.md @@ -2,12 +2,11 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); const result = await account.deleteMfaAuthenticator( - sdk.AuthenticatorType.Totp, // type - '<OTP>' // otp + sdk.AuthenticatorType.Totp // type ); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/delete-session.md b/docs/examples/1.5.x/server-nodejs/examples/account/delete-session.md index bbe3d07062..d29810f267 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/delete-session.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/delete-session.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/delete-sessions.md b/docs/examples/1.5.x/server-nodejs/examples/account/delete-sessions.md index 943f4bb6ca..496bd4a5f6 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/delete-sessions.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/delete-sessions.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.5.x/server-nodejs/examples/account/get-mfa-recovery-codes.md index 9fe1d11cf3..2bada1bafa 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/get-mfa-recovery-codes.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/get-prefs.md b/docs/examples/1.5.x/server-nodejs/examples/account/get-prefs.md index 4b21918c8d..9ed003c69a 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/get-prefs.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/get-prefs.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/get-session.md b/docs/examples/1.5.x/server-nodejs/examples/account/get-session.md index acef3abe9f..aeaaa14933 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/get-session.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/get-session.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/get.md b/docs/examples/1.5.x/server-nodejs/examples/account/get.md index a72e90ed43..b1fc61f1ee 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/get.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/get.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/list-factors.md b/docs/examples/1.5.x/server-nodejs/examples/account/list-factors.md index 3910c325b4..9191d012ed 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/list-factors.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/list-factors.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/list-identities.md b/docs/examples/1.5.x/server-nodejs/examples/account/list-identities.md index 019cacb91d..642034d796 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/list-identities.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/list-identities.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/list-logs.md b/docs/examples/1.5.x/server-nodejs/examples/account/list-logs.md index 04e4797520..08dcf812f4 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/list-logs.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/list-logs.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/list-mfa-factors.md b/docs/examples/1.5.x/server-nodejs/examples/account/list-mfa-factors.md index c6be1f22cc..e2c9683ee6 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/list-mfa-factors.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/list-mfa-factors.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/list-sessions.md b/docs/examples/1.5.x/server-nodejs/examples/account/list-sessions.md index 17793ca2b9..a8b423f95d 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/list-sessions.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/list-sessions.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/update-challenge.md b/docs/examples/1.5.x/server-nodejs/examples/account/update-challenge.md index 401ddab873..7c9b7d4921 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/update-challenge.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/update-challenge.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/update-email.md b/docs/examples/1.5.x/server-nodejs/examples/account/update-email.md index 53dcc45ae4..4c0c6c23fb 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/update-email.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/update-email.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/update-m-f-a.md b/docs/examples/1.5.x/server-nodejs/examples/account/update-m-f-a.md index 318976d0e6..30c36230ac 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/update-m-f-a.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/update-m-f-a.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.5.x/server-nodejs/examples/account/update-magic-u-r-l-session.md index 4bcda8fcb0..56d2b02f04 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/update-magic-u-r-l-session.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/update-mfa-authenticator.md b/docs/examples/1.5.x/server-nodejs/examples/account/update-mfa-authenticator.md index dc2e5f13fe..c8f1773daf 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/update-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/update-mfa-authenticator.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/update-mfa-challenge.md b/docs/examples/1.5.x/server-nodejs/examples/account/update-mfa-challenge.md index aeb5f2bdc5..bdb1a538af 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/update-mfa-challenge.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/update-mfa-recovery-codes.md b/docs/examples/1.5.x/server-nodejs/examples/account/update-mfa-recovery-codes.md index bc3af027a8..16a3d3cca1 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/update-mfa-recovery-codes.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/update-name.md b/docs/examples/1.5.x/server-nodejs/examples/account/update-name.md index 93412144a2..df510029d3 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/update-name.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/update-name.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/update-password.md b/docs/examples/1.5.x/server-nodejs/examples/account/update-password.md index 797eb9afc5..76021bcb89 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/update-password.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/update-password.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/update-phone-session.md b/docs/examples/1.5.x/server-nodejs/examples/account/update-phone-session.md index f38c1f0c64..40fccba90e 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/update-phone-session.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/update-phone-session.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2'); // Your project ID + .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/update-phone-verification.md b/docs/examples/1.5.x/server-nodejs/examples/account/update-phone-verification.md index 0144cbda2c..93f35a8d3e 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/update-phone-verification.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/update-phone-verification.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/update-phone.md b/docs/examples/1.5.x/server-nodejs/examples/account/update-phone.md index f305df7084..11982b7c81 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/update-phone.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/update-phone.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/update-prefs.md b/docs/examples/1.5.x/server-nodejs/examples/account/update-prefs.md index b8a94c89cf..6f2700358d 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/update-prefs.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/update-prefs.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/update-recovery.md b/docs/examples/1.5.x/server-nodejs/examples/account/update-recovery.md index c932694eb5..09bfc64d42 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/update-recovery.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/update-recovery.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/update-session.md b/docs/examples/1.5.x/server-nodejs/examples/account/update-session.md index 2ae0425305..64ec68ebd9 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/update-session.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/update-session.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/update-status.md b/docs/examples/1.5.x/server-nodejs/examples/account/update-status.md index b5692625c6..cf65e82865 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/update-status.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/update-status.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/update-verification.md b/docs/examples/1.5.x/server-nodejs/examples/account/update-verification.md index 3c7303ec0f..cc3678ec21 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/update-verification.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/update-verification.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const account = new sdk.Account(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/account/verify-authenticator.md b/docs/examples/1.5.x/server-nodejs/examples/account/verify-authenticator.md index af0b31bb88..e03566f276 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/account/verify-authenticator.md +++ b/docs/examples/1.5.x/server-nodejs/examples/account/verify-authenticator.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-nodejs/examples/avatars/get-browser.md b/docs/examples/1.5.x/server-nodejs/examples/avatars/get-browser.md index da49225bc9..ad6d0d4b68 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/avatars/get-browser.md +++ b/docs/examples/1.5.x/server-nodejs/examples/avatars/get-browser.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const avatars = new sdk.Avatars(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/avatars/get-credit-card.md b/docs/examples/1.5.x/server-nodejs/examples/avatars/get-credit-card.md index d3aa637c9e..5ffcc344b1 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/avatars/get-credit-card.md +++ b/docs/examples/1.5.x/server-nodejs/examples/avatars/get-credit-card.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const avatars = new sdk.Avatars(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/avatars/get-favicon.md b/docs/examples/1.5.x/server-nodejs/examples/avatars/get-favicon.md index aac0795498..0980403543 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/avatars/get-favicon.md +++ b/docs/examples/1.5.x/server-nodejs/examples/avatars/get-favicon.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const avatars = new sdk.Avatars(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/avatars/get-flag.md b/docs/examples/1.5.x/server-nodejs/examples/avatars/get-flag.md index f2b3ea9ad4..53b912f5a8 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/avatars/get-flag.md +++ b/docs/examples/1.5.x/server-nodejs/examples/avatars/get-flag.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const avatars = new sdk.Avatars(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/avatars/get-image.md b/docs/examples/1.5.x/server-nodejs/examples/avatars/get-image.md index ee3b07dc20..5a72fe3bcc 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/avatars/get-image.md +++ b/docs/examples/1.5.x/server-nodejs/examples/avatars/get-image.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const avatars = new sdk.Avatars(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/avatars/get-initials.md b/docs/examples/1.5.x/server-nodejs/examples/avatars/get-initials.md index 9225048a4c..b9d41fc27a 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/avatars/get-initials.md +++ b/docs/examples/1.5.x/server-nodejs/examples/avatars/get-initials.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const avatars = new sdk.Avatars(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/avatars/get-q-r.md b/docs/examples/1.5.x/server-nodejs/examples/avatars/get-q-r.md index ff3dc25757..0a2723561c 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/avatars/get-q-r.md +++ b/docs/examples/1.5.x/server-nodejs/examples/avatars/get-q-r.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const avatars = new sdk.Avatars(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/create-boolean-attribute.md b/docs/examples/1.5.x/server-nodejs/examples/databases/create-boolean-attribute.md index 382322d7c4..7a04ed02fc 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/create-boolean-attribute.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/create-collection.md b/docs/examples/1.5.x/server-nodejs/examples/databases/create-collection.md index 2f37e3e686..7119a4e500 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/create-collection.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/create-collection.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/create-datetime-attribute.md b/docs/examples/1.5.x/server-nodejs/examples/databases/create-datetime-attribute.md index 01119abdba..ba40de8b43 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/create-datetime-attribute.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/create-document.md b/docs/examples/1.5.x/server-nodejs/examples/databases/create-document.md index a99748edba..3e1c76945b 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/create-document.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/create-document.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const databases = new sdk.Databases(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/create-email-attribute.md b/docs/examples/1.5.x/server-nodejs/examples/databases/create-email-attribute.md index cbb8fe2bb6..6f2da81f39 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/create-email-attribute.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/create-email-attribute.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/create-enum-attribute.md b/docs/examples/1.5.x/server-nodejs/examples/databases/create-enum-attribute.md index 468c91597f..9439f8f5df 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/create-enum-attribute.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/create-float-attribute.md b/docs/examples/1.5.x/server-nodejs/examples/databases/create-float-attribute.md index a85114fb98..7ed6223922 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/create-float-attribute.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/create-float-attribute.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/create-index.md b/docs/examples/1.5.x/server-nodejs/examples/databases/create-index.md index b29265cfc9..73cdf3912e 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/create-index.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/create-index.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/create-integer-attribute.md b/docs/examples/1.5.x/server-nodejs/examples/databases/create-integer-attribute.md index ad0532b519..479b9d8754 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/create-integer-attribute.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/create-ip-attribute.md b/docs/examples/1.5.x/server-nodejs/examples/databases/create-ip-attribute.md index 870d724166..c88087f944 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/create-ip-attribute.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/create-relationship-attribute.md b/docs/examples/1.5.x/server-nodejs/examples/databases/create-relationship-attribute.md index 1cbf17b729..7be4bae6a2 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/create-relationship-attribute.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/create-string-attribute.md b/docs/examples/1.5.x/server-nodejs/examples/databases/create-string-attribute.md index 3abde18839..03905f4e86 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/create-string-attribute.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/create-string-attribute.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/create-url-attribute.md b/docs/examples/1.5.x/server-nodejs/examples/databases/create-url-attribute.md index 9223af1aae..741249bb00 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/create-url-attribute.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/create-url-attribute.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/create.md b/docs/examples/1.5.x/server-nodejs/examples/databases/create.md index 36f01c7c64..792bbf1c90 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/create.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/create.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/delete-attribute.md b/docs/examples/1.5.x/server-nodejs/examples/databases/delete-attribute.md index b67c0ab4c3..b8b2d47a65 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/delete-attribute.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/delete-attribute.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/delete-collection.md b/docs/examples/1.5.x/server-nodejs/examples/databases/delete-collection.md index 1dd41af615..bb72b9eb84 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/delete-collection.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/delete-collection.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/delete-document.md b/docs/examples/1.5.x/server-nodejs/examples/databases/delete-document.md index ddc6625f5b..05183b5e04 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/delete-document.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/delete-document.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const databases = new sdk.Databases(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/delete-index.md b/docs/examples/1.5.x/server-nodejs/examples/databases/delete-index.md index 2e98d498d4..0f50d7d2f6 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/delete-index.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/delete-index.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/delete.md b/docs/examples/1.5.x/server-nodejs/examples/databases/delete.md index ff14436ea6..79ca89ddba 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/delete.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/delete.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/get-attribute.md b/docs/examples/1.5.x/server-nodejs/examples/databases/get-attribute.md index ab530a8459..86dccff42b 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/get-attribute.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/get-attribute.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/get-collection.md b/docs/examples/1.5.x/server-nodejs/examples/databases/get-collection.md index b2622ccbce..f107c149c6 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/get-collection.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/get-collection.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/get-document.md b/docs/examples/1.5.x/server-nodejs/examples/databases/get-document.md index b4fe065924..edd2cb210f 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/get-document.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/get-document.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const databases = new sdk.Databases(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/get-index.md b/docs/examples/1.5.x/server-nodejs/examples/databases/get-index.md index b14322f21e..3c1039cd1e 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/get-index.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/get-index.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/get.md b/docs/examples/1.5.x/server-nodejs/examples/databases/get.md index 223f09caa3..ca5dd328e1 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/get.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/get.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/list-attributes.md b/docs/examples/1.5.x/server-nodejs/examples/databases/list-attributes.md index 02e65dd8e8..fb0264f8a1 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/list-attributes.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/list-attributes.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/list-collections.md b/docs/examples/1.5.x/server-nodejs/examples/databases/list-collections.md index 6f44cce88c..e5f725d1f8 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/list-collections.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/list-collections.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/list-documents.md b/docs/examples/1.5.x/server-nodejs/examples/databases/list-documents.md index 066e2733c3..346fba0abd 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/list-documents.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/list-documents.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const databases = new sdk.Databases(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/list-indexes.md b/docs/examples/1.5.x/server-nodejs/examples/databases/list-indexes.md index 08fa9fe1ed..7acfc918ef 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/list-indexes.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/list-indexes.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/list.md b/docs/examples/1.5.x/server-nodejs/examples/databases/list.md index 23c429934c..f887719cbd 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/list.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/list.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/update-boolean-attribute.md b/docs/examples/1.5.x/server-nodejs/examples/databases/update-boolean-attribute.md index 1298c51e38..e6329b6674 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/update-boolean-attribute.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); @@ -12,5 +12,6 @@ const result = await databases.updateBooleanAttribute( '<COLLECTION_ID>', // collectionId '', // key false, // required - false // default + false, // default + '' // newKey (optional) ); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/update-collection.md b/docs/examples/1.5.x/server-nodejs/examples/databases/update-collection.md index 9af17fe330..b9bbeb8c45 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/update-collection.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/update-collection.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/update-datetime-attribute.md b/docs/examples/1.5.x/server-nodejs/examples/databases/update-datetime-attribute.md index 2395bfd3ad..ef69c7e4b5 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/update-datetime-attribute.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); @@ -12,5 +12,6 @@ const result = await databases.updateDatetimeAttribute( '<COLLECTION_ID>', // collectionId '', // key false, // required - '' // default + '', // default + '' // newKey (optional) ); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/update-document.md b/docs/examples/1.5.x/server-nodejs/examples/databases/update-document.md index b80b1031d6..2e087ca7d0 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/update-document.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/update-document.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const databases = new sdk.Databases(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/update-email-attribute.md b/docs/examples/1.5.x/server-nodejs/examples/databases/update-email-attribute.md index c06a21363b..1fe9e572d4 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/update-email-attribute.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/update-email-attribute.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); @@ -12,5 +12,6 @@ const result = await databases.updateEmailAttribute( '<COLLECTION_ID>', // collectionId '', // key false, // required - 'email@example.com' // default + 'email@example.com', // default + '' // newKey (optional) ); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/update-enum-attribute.md b/docs/examples/1.5.x/server-nodejs/examples/databases/update-enum-attribute.md index b04826495e..ec9e3bd2cb 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/update-enum-attribute.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); @@ -13,5 +13,6 @@ const result = await databases.updateEnumAttribute( '', // key [], // elements false, // required - '<DEFAULT>' // default + '<DEFAULT>', // default + '' // newKey (optional) ); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/update-float-attribute.md b/docs/examples/1.5.x/server-nodejs/examples/databases/update-float-attribute.md index 953492309b..b064bf7c9f 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/update-float-attribute.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/update-float-attribute.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); @@ -12,7 +12,8 @@ const result = await databases.updateFloatAttribute( '<COLLECTION_ID>', // collectionId '', // key false, // required - null, // min - null, // max - null // default + null, // default + null, // min (optional) + null, // max (optional) + '' // newKey (optional) ); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/update-integer-attribute.md b/docs/examples/1.5.x/server-nodejs/examples/databases/update-integer-attribute.md index fcdc509cb4..f686612fa2 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/update-integer-attribute.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); @@ -12,7 +12,8 @@ const result = await databases.updateIntegerAttribute( '<COLLECTION_ID>', // collectionId '', // key false, // required - null, // min - null, // max - null // default + null, // default + null, // min (optional) + null, // max (optional) + '' // newKey (optional) ); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/update-ip-attribute.md b/docs/examples/1.5.x/server-nodejs/examples/databases/update-ip-attribute.md index 91d928abfd..019b4f2dbf 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/update-ip-attribute.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); @@ -12,5 +12,6 @@ const result = await databases.updateIpAttribute( '<COLLECTION_ID>', // collectionId '', // key false, // required - '' // default + '', // default + '' // newKey (optional) ); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/update-relationship-attribute.md b/docs/examples/1.5.x/server-nodejs/examples/databases/update-relationship-attribute.md index 72b6a70958..2668380b50 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/update-relationship-attribute.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); @@ -11,5 +11,6 @@ const result = await databases.updateRelationshipAttribute( '<DATABASE_ID>', // databaseId '<COLLECTION_ID>', // collectionId '', // key - sdk.RelationMutate.Cascade // onDelete (optional) + sdk.RelationMutate.Cascade, // onDelete (optional) + '' // newKey (optional) ); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/update-string-attribute.md b/docs/examples/1.5.x/server-nodejs/examples/databases/update-string-attribute.md index 5d9bb738dd..6aecbb591e 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/update-string-attribute.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/update-string-attribute.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); @@ -12,5 +12,7 @@ const result = await databases.updateStringAttribute( '<COLLECTION_ID>', // collectionId '', // key false, // required - '<DEFAULT>' // default + '<DEFAULT>', // default + 1, // size (optional) + '' // newKey (optional) ); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/update-url-attribute.md b/docs/examples/1.5.x/server-nodejs/examples/databases/update-url-attribute.md index f7acda30bf..36d1095399 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/update-url-attribute.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/update-url-attribute.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); @@ -12,5 +12,6 @@ const result = await databases.updateUrlAttribute( '<COLLECTION_ID>', // collectionId '', // key false, // required - 'https://example.com' // default + 'https://example.com', // default + '' // newKey (optional) ); diff --git a/docs/examples/1.5.x/server-nodejs/examples/databases/update.md b/docs/examples/1.5.x/server-nodejs/examples/databases/update.md index d57e811bd1..4b24cdddf9 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/databases/update.md +++ b/docs/examples/1.5.x/server-nodejs/examples/databases/update.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const databases = new sdk.Databases(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/functions/create-build.md b/docs/examples/1.5.x/server-nodejs/examples/functions/create-build.md index 9466124405..c026a960c6 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/functions/create-build.md +++ b/docs/examples/1.5.x/server-nodejs/examples/functions/create-build.md @@ -2,13 +2,13 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new sdk.Functions(client); const result = await functions.createBuild( '<FUNCTION_ID>', // functionId '<DEPLOYMENT_ID>', // deploymentId - '<BUILD_ID>' // buildId + '<BUILD_ID>' // buildId (optional) ); diff --git a/docs/examples/1.5.x/server-nodejs/examples/functions/create-deployment.md b/docs/examples/1.5.x/server-nodejs/examples/functions/create-deployment.md index 89ae42dad3..1928e4c5a9 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/functions/create-deployment.md +++ b/docs/examples/1.5.x/server-nodejs/examples/functions/create-deployment.md @@ -3,8 +3,8 @@ const fs = require('fs'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new sdk.Functions(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/functions/create-execution.md b/docs/examples/1.5.x/server-nodejs/examples/functions/create-execution.md index 72b6d66943..4eec409ef0 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/functions/create-execution.md +++ b/docs/examples/1.5.x/server-nodejs/examples/functions/create-execution.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const functions = new sdk.Functions(client); @@ -13,5 +13,6 @@ const result = await functions.createExecution( false, // async (optional) '<PATH>', // path (optional) sdk.ExecutionMethod.GET, // method (optional) - {} // headers (optional) + {}, // headers (optional) + '' // scheduledAt (optional) ); diff --git a/docs/examples/1.5.x/server-nodejs/examples/functions/create-variable.md b/docs/examples/1.5.x/server-nodejs/examples/functions/create-variable.md index 6290edc4f5..60a93666b8 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/functions/create-variable.md +++ b/docs/examples/1.5.x/server-nodejs/examples/functions/create-variable.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new sdk.Functions(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/functions/create.md b/docs/examples/1.5.x/server-nodejs/examples/functions/create.md index 8f8aea8c41..cb4464825c 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/functions/create.md +++ b/docs/examples/1.5.x/server-nodejs/examples/functions/create.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new sdk.Functions(client); @@ -19,6 +19,7 @@ const result = await functions.create( false, // logging (optional) '<ENTRYPOINT>', // entrypoint (optional) '<COMMANDS>', // commands (optional) + [], // scopes (optional) '<INSTALLATION_ID>', // installationId (optional) '<PROVIDER_REPOSITORY_ID>', // providerRepositoryId (optional) '<PROVIDER_BRANCH>', // providerBranch (optional) @@ -27,5 +28,6 @@ const result = await functions.create( '<TEMPLATE_REPOSITORY>', // templateRepository (optional) '<TEMPLATE_OWNER>', // templateOwner (optional) '<TEMPLATE_ROOT_DIRECTORY>', // templateRootDirectory (optional) - '<TEMPLATE_BRANCH>' // templateBranch (optional) + '<TEMPLATE_VERSION>', // templateVersion (optional) + '' // specification (optional) ); diff --git a/docs/examples/1.5.x/server-nodejs/examples/functions/delete-deployment.md b/docs/examples/1.5.x/server-nodejs/examples/functions/delete-deployment.md index f84b635cf7..a9038bc6ea 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/functions/delete-deployment.md +++ b/docs/examples/1.5.x/server-nodejs/examples/functions/delete-deployment.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new sdk.Functions(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/functions/delete-execution.md b/docs/examples/1.5.x/server-nodejs/examples/functions/delete-execution.md new file mode 100644 index 0000000000..28b5e415b9 --- /dev/null +++ b/docs/examples/1.5.x/server-nodejs/examples/functions/delete-execution.md @@ -0,0 +1,13 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key + +const functions = new sdk.Functions(client); + +const result = await functions.deleteExecution( + '<FUNCTION_ID>', // functionId + '<EXECUTION_ID>' // executionId +); diff --git a/docs/examples/1.5.x/server-nodejs/examples/functions/delete-variable.md b/docs/examples/1.5.x/server-nodejs/examples/functions/delete-variable.md index 87b69e46bf..f3cf0186d0 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/functions/delete-variable.md +++ b/docs/examples/1.5.x/server-nodejs/examples/functions/delete-variable.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new sdk.Functions(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/functions/delete.md b/docs/examples/1.5.x/server-nodejs/examples/functions/delete.md index c793aa887f..43acc4b130 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/functions/delete.md +++ b/docs/examples/1.5.x/server-nodejs/examples/functions/delete.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new sdk.Functions(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/functions/download-deployment.md b/docs/examples/1.5.x/server-nodejs/examples/functions/download-deployment.md index 496f349627..16a77908e3 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/functions/download-deployment.md +++ b/docs/examples/1.5.x/server-nodejs/examples/functions/download-deployment.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key diff --git a/docs/examples/1.5.x/server-nodejs/examples/functions/get-deployment-download.md b/docs/examples/1.5.x/server-nodejs/examples/functions/get-deployment-download.md new file mode 100644 index 0000000000..a15215dd3a --- /dev/null +++ b/docs/examples/1.5.x/server-nodejs/examples/functions/get-deployment-download.md @@ -0,0 +1,13 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key + +const functions = new sdk.Functions(client); + +const result = await functions.getDeploymentDownload( + '<FUNCTION_ID>', // functionId + '<DEPLOYMENT_ID>' // deploymentId +); diff --git a/docs/examples/1.5.x/server-nodejs/examples/functions/get-deployment.md b/docs/examples/1.5.x/server-nodejs/examples/functions/get-deployment.md index c801f570f8..1c10a92d4a 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/functions/get-deployment.md +++ b/docs/examples/1.5.x/server-nodejs/examples/functions/get-deployment.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new sdk.Functions(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/functions/get-execution.md b/docs/examples/1.5.x/server-nodejs/examples/functions/get-execution.md index b1168edf99..7be4378c4e 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/functions/get-execution.md +++ b/docs/examples/1.5.x/server-nodejs/examples/functions/get-execution.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const functions = new sdk.Functions(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/functions/get-variable.md b/docs/examples/1.5.x/server-nodejs/examples/functions/get-variable.md index 9a8932b836..64150e0f55 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/functions/get-variable.md +++ b/docs/examples/1.5.x/server-nodejs/examples/functions/get-variable.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new sdk.Functions(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/functions/get.md b/docs/examples/1.5.x/server-nodejs/examples/functions/get.md index a6e561b233..26807e7908 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/functions/get.md +++ b/docs/examples/1.5.x/server-nodejs/examples/functions/get.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new sdk.Functions(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/functions/list-deployments.md b/docs/examples/1.5.x/server-nodejs/examples/functions/list-deployments.md index ff524ba649..67c3c3c5ad 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/functions/list-deployments.md +++ b/docs/examples/1.5.x/server-nodejs/examples/functions/list-deployments.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new sdk.Functions(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/functions/list-executions.md b/docs/examples/1.5.x/server-nodejs/examples/functions/list-executions.md index a837455e57..26aa02e16e 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/functions/list-executions.md +++ b/docs/examples/1.5.x/server-nodejs/examples/functions/list-executions.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const functions = new sdk.Functions(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/functions/list-runtimes.md b/docs/examples/1.5.x/server-nodejs/examples/functions/list-runtimes.md index f128b1c519..729cce7c2b 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/functions/list-runtimes.md +++ b/docs/examples/1.5.x/server-nodejs/examples/functions/list-runtimes.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new sdk.Functions(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/functions/list-specifications.md b/docs/examples/1.5.x/server-nodejs/examples/functions/list-specifications.md new file mode 100644 index 0000000000..4942bc3918 --- /dev/null +++ b/docs/examples/1.5.x/server-nodejs/examples/functions/list-specifications.md @@ -0,0 +1,10 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key + +const functions = new sdk.Functions(client); + +const result = await functions.listSpecifications(); diff --git a/docs/examples/1.5.x/server-nodejs/examples/functions/list-variables.md b/docs/examples/1.5.x/server-nodejs/examples/functions/list-variables.md index feeaa118a3..f213d0ceef 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/functions/list-variables.md +++ b/docs/examples/1.5.x/server-nodejs/examples/functions/list-variables.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new sdk.Functions(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/functions/list.md b/docs/examples/1.5.x/server-nodejs/examples/functions/list.md index f6751ca26f..ba7365f936 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/functions/list.md +++ b/docs/examples/1.5.x/server-nodejs/examples/functions/list.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new sdk.Functions(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/functions/update-deployment-build.md b/docs/examples/1.5.x/server-nodejs/examples/functions/update-deployment-build.md new file mode 100644 index 0000000000..b492af8254 --- /dev/null +++ b/docs/examples/1.5.x/server-nodejs/examples/functions/update-deployment-build.md @@ -0,0 +1,13 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key + +const functions = new sdk.Functions(client); + +const result = await functions.updateDeploymentBuild( + '<FUNCTION_ID>', // functionId + '<DEPLOYMENT_ID>' // deploymentId +); diff --git a/docs/examples/1.5.x/server-nodejs/examples/functions/update-deployment.md b/docs/examples/1.5.x/server-nodejs/examples/functions/update-deployment.md index 00eafd350a..82543900df 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/functions/update-deployment.md +++ b/docs/examples/1.5.x/server-nodejs/examples/functions/update-deployment.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new sdk.Functions(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/functions/update-variable.md b/docs/examples/1.5.x/server-nodejs/examples/functions/update-variable.md index 068abee2f9..657b0bd10e 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/functions/update-variable.md +++ b/docs/examples/1.5.x/server-nodejs/examples/functions/update-variable.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new sdk.Functions(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/functions/update.md b/docs/examples/1.5.x/server-nodejs/examples/functions/update.md index dc1da25b67..b82dc35f36 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/functions/update.md +++ b/docs/examples/1.5.x/server-nodejs/examples/functions/update.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const functions = new sdk.Functions(client); @@ -19,9 +19,11 @@ const result = await functions.update( false, // logging (optional) '<ENTRYPOINT>', // entrypoint (optional) '<COMMANDS>', // commands (optional) + [], // scopes (optional) '<INSTALLATION_ID>', // installationId (optional) '<PROVIDER_REPOSITORY_ID>', // providerRepositoryId (optional) '<PROVIDER_BRANCH>', // providerBranch (optional) false, // providerSilentMode (optional) - '<PROVIDER_ROOT_DIRECTORY>' // providerRootDirectory (optional) + '<PROVIDER_ROOT_DIRECTORY>', // providerRootDirectory (optional) + '' // specification (optional) ); diff --git a/docs/examples/1.5.x/server-nodejs/examples/graphql/mutation.md b/docs/examples/1.5.x/server-nodejs/examples/graphql/mutation.md index ee32b9eee7..64b2393426 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/graphql/mutation.md +++ b/docs/examples/1.5.x/server-nodejs/examples/graphql/mutation.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const graphql = new sdk.Graphql(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/graphql/query.md b/docs/examples/1.5.x/server-nodejs/examples/graphql/query.md index 887b5bdcb2..24a6e56e67 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/graphql/query.md +++ b/docs/examples/1.5.x/server-nodejs/examples/graphql/query.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const graphql = new sdk.Graphql(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/health/get-antivirus.md b/docs/examples/1.5.x/server-nodejs/examples/health/get-antivirus.md index 1555b6d20c..fc98ff937c 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/health/get-antivirus.md +++ b/docs/examples/1.5.x/server-nodejs/examples/health/get-antivirus.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new sdk.Health(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/health/get-cache.md b/docs/examples/1.5.x/server-nodejs/examples/health/get-cache.md index c418a4995e..9289cad7e4 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/health/get-cache.md +++ b/docs/examples/1.5.x/server-nodejs/examples/health/get-cache.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new sdk.Health(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/health/get-certificate.md b/docs/examples/1.5.x/server-nodejs/examples/health/get-certificate.md index 9f25b69a97..637f30bd21 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/health/get-certificate.md +++ b/docs/examples/1.5.x/server-nodejs/examples/health/get-certificate.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new sdk.Health(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/health/get-d-b.md b/docs/examples/1.5.x/server-nodejs/examples/health/get-d-b.md index 36519bda47..6cca907ba3 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/health/get-d-b.md +++ b/docs/examples/1.5.x/server-nodejs/examples/health/get-d-b.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new sdk.Health(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/health/get-failed-jobs.md b/docs/examples/1.5.x/server-nodejs/examples/health/get-failed-jobs.md index 0cff48836c..2ce2dfb6eb 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/health/get-failed-jobs.md +++ b/docs/examples/1.5.x/server-nodejs/examples/health/get-failed-jobs.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new sdk.Health(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/health/get-pub-sub.md b/docs/examples/1.5.x/server-nodejs/examples/health/get-pub-sub.md index a17f5c6291..36dc5ba39e 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/health/get-pub-sub.md +++ b/docs/examples/1.5.x/server-nodejs/examples/health/get-pub-sub.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new sdk.Health(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-builds.md b/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-builds.md index 93b27631e0..ef09f92d92 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-builds.md +++ b/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-builds.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new sdk.Health(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-certificates.md b/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-certificates.md index efb52c64c8..1095c39820 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-certificates.md +++ b/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-certificates.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new sdk.Health(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-databases.md b/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-databases.md index c3ae629bb0..fcd113aaa3 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-databases.md +++ b/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-databases.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new sdk.Health(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-deletes.md b/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-deletes.md index 4a7f96acf0..6a6f5175d7 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-deletes.md +++ b/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-deletes.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new sdk.Health(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-functions.md b/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-functions.md index 9459939562..05cd6e63dc 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-functions.md +++ b/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-functions.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new sdk.Health(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-logs.md b/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-logs.md index 2ee3693206..e0a75b8de0 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-logs.md +++ b/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-logs.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new sdk.Health(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-mails.md b/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-mails.md index 6c099d31c0..253e9ba004 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-mails.md +++ b/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-mails.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new sdk.Health(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-messaging.md b/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-messaging.md index 9494c636dd..3db1f6f5ae 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-messaging.md +++ b/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-messaging.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new sdk.Health(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-migrations.md b/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-migrations.md index 6e94b98b77..a203449537 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-migrations.md +++ b/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-migrations.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new sdk.Health(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-stats-resources.md b/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-stats-resources.md new file mode 100644 index 0000000000..e469391403 --- /dev/null +++ b/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-stats-resources.md @@ -0,0 +1,12 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key + +const health = new sdk.Health(client); + +const result = await health.getQueueStatsResources( + null // threshold (optional) +); diff --git a/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-usage-dump.md b/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-usage-dump.md index e7651bebf3..584518a18a 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-usage-dump.md +++ b/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-usage-dump.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key diff --git a/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-usage.md b/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-usage.md index 6902e1df98..919d0973e2 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-usage.md +++ b/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-usage.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new sdk.Health(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-webhooks.md b/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-webhooks.md index 4e53e28647..54b6ba4dd2 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.5.x/server-nodejs/examples/health/get-queue-webhooks.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new sdk.Health(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/health/get-queue.md b/docs/examples/1.5.x/server-nodejs/examples/health/get-queue.md index 46fd991021..b6806d5da6 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/health/get-queue.md +++ b/docs/examples/1.5.x/server-nodejs/examples/health/get-queue.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key diff --git a/docs/examples/1.5.x/server-nodejs/examples/health/get-storage-local.md b/docs/examples/1.5.x/server-nodejs/examples/health/get-storage-local.md index 29daa87120..d04610df9b 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/health/get-storage-local.md +++ b/docs/examples/1.5.x/server-nodejs/examples/health/get-storage-local.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new sdk.Health(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/health/get-storage.md b/docs/examples/1.5.x/server-nodejs/examples/health/get-storage.md index 7b7ad5cb33..cd6d494d84 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/health/get-storage.md +++ b/docs/examples/1.5.x/server-nodejs/examples/health/get-storage.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new sdk.Health(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/health/get-time.md b/docs/examples/1.5.x/server-nodejs/examples/health/get-time.md index 5768c15847..71caa3ff8a 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/health/get-time.md +++ b/docs/examples/1.5.x/server-nodejs/examples/health/get-time.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new sdk.Health(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/health/get.md b/docs/examples/1.5.x/server-nodejs/examples/health/get.md index 75e5726c39..d92cb944ac 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/health/get.md +++ b/docs/examples/1.5.x/server-nodejs/examples/health/get.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const health = new sdk.Health(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/locale/get.md b/docs/examples/1.5.x/server-nodejs/examples/locale/get.md index 27e8f0665c..eb7353d3a8 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/locale/get.md +++ b/docs/examples/1.5.x/server-nodejs/examples/locale/get.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const locale = new sdk.Locale(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/locale/list-codes.md b/docs/examples/1.5.x/server-nodejs/examples/locale/list-codes.md index 9bcbd72ea7..c95a852238 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/locale/list-codes.md +++ b/docs/examples/1.5.x/server-nodejs/examples/locale/list-codes.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const locale = new sdk.Locale(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/locale/list-continents.md b/docs/examples/1.5.x/server-nodejs/examples/locale/list-continents.md index 3ba7f795f7..ffce38e71e 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/locale/list-continents.md +++ b/docs/examples/1.5.x/server-nodejs/examples/locale/list-continents.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const locale = new sdk.Locale(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/locale/list-countries-e-u.md b/docs/examples/1.5.x/server-nodejs/examples/locale/list-countries-e-u.md index 309cca604b..3bd63b33a6 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.5.x/server-nodejs/examples/locale/list-countries-e-u.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const locale = new sdk.Locale(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/locale/list-countries-phones.md b/docs/examples/1.5.x/server-nodejs/examples/locale/list-countries-phones.md index dca14893d8..be39d0f87c 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/locale/list-countries-phones.md +++ b/docs/examples/1.5.x/server-nodejs/examples/locale/list-countries-phones.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const locale = new sdk.Locale(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/locale/list-countries.md b/docs/examples/1.5.x/server-nodejs/examples/locale/list-countries.md index 808d3ea022..5496a1f747 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/locale/list-countries.md +++ b/docs/examples/1.5.x/server-nodejs/examples/locale/list-countries.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const locale = new sdk.Locale(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/locale/list-currencies.md b/docs/examples/1.5.x/server-nodejs/examples/locale/list-currencies.md index 2e1216bb66..ff67f9f78e 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/locale/list-currencies.md +++ b/docs/examples/1.5.x/server-nodejs/examples/locale/list-currencies.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const locale = new sdk.Locale(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/locale/list-languages.md b/docs/examples/1.5.x/server-nodejs/examples/locale/list-languages.md index b01c5f06ad..d6753d3354 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/locale/list-languages.md +++ b/docs/examples/1.5.x/server-nodejs/examples/locale/list-languages.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const locale = new sdk.Locale(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-a-p-n-s-provider.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-a-p-n-s-provider.md index 6666c40cab..dd7555f3bc 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-a-p-n-s-provider.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-a-p-n-s-provider.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const messaging = new sdk.Messaging(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-apns-provider.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-apns-provider.md index 11622dff76..fedbc556e3 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-apns-provider.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-apns-provider.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-email.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-email.md index fbec7a369e..35ac684b93 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-email.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-email.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-f-c-m-provider.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-f-c-m-provider.md index d53252e494..8285cea937 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-f-c-m-provider.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-f-c-m-provider.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const messaging = new sdk.Messaging(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-fcm-provider.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-fcm-provider.md index a296b77aac..80ffa5839a 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-fcm-provider.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-fcm-provider.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-mailgun-provider.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-mailgun-provider.md index 2ce3bb1e9d..2b5f657182 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-mailgun-provider.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-mailgun-provider.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-msg91provider.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-msg91provider.md index 5e6a44a1c8..c8dcb38592 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-msg91provider.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-msg91provider.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-push.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-push.md index af57507d6c..bb98538748 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-push.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-push.md @@ -2,15 +2,15 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); const result = await messaging.createPush( '<MESSAGE_ID>', // messageId - '<TITLE>', // title - '<BODY>', // body + '<TITLE>', // title (optional) + '<BODY>', // body (optional) [], // topics (optional) [], // users (optional) [], // targets (optional) @@ -21,7 +21,10 @@ const result = await messaging.createPush( '<SOUND>', // sound (optional) '<COLOR>', // color (optional) '<TAG>', // tag (optional) - '<BADGE>', // badge (optional) + null, // badge (optional) false, // draft (optional) - '' // scheduledAt (optional) + '', // scheduledAt (optional) + false, // contentAvailable (optional) + false, // critical (optional) + sdk.MessagePriority.Normal // priority (optional) ); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-s-m-s.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-s-m-s.md index 23f2779ec5..b1e04ab0a3 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-s-m-s.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-s-m-s.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const messaging = new sdk.Messaging(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-s-m-t-p-provider.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-s-m-t-p-provider.md index a81fc24279..06bf4fa7e6 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-s-m-t-p-provider.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-s-m-t-p-provider.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const messaging = new sdk.Messaging(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-sendgrid-provider.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-sendgrid-provider.md index 125c8e3f98..65d4f4026a 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-sendgrid-provider.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-sendgrid-provider.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-sms.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-sms.md index 786aac4fad..75dce904f2 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-sms.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-sms.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-smtp-provider.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-smtp-provider.md index d03d2e6534..9c69f27671 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-smtp-provider.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-smtp-provider.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-subscriber.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-subscriber.md index 75b9321a5c..e5d2a9774c 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-subscriber.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-subscriber.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...'); // Your secret JSON Web Token + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setJWT('<YOUR_JWT>'); // Your secret JSON Web Token const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-telesign-provider.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-telesign-provider.md index 5642b48838..544be15a2c 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-telesign-provider.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-telesign-provider.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-textmagic-provider.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-textmagic-provider.md index d3f301dc01..ef41b803af 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-textmagic-provider.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-textmagic-provider.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-topic.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-topic.md index 1bbd1b5dd8..22fe4121ce 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-topic.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-topic.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-twilio-provider.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-twilio-provider.md index dbaa0aaa27..908f09ed1d 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-twilio-provider.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-twilio-provider.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-vonage-provider.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-vonage-provider.md index 68b8dba88a..78270b7f84 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/create-vonage-provider.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/create-vonage-provider.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/delete-provider.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/delete-provider.md index 39678390b2..fd664515fe 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/delete-provider.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/delete-provider.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/delete-subscriber.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/delete-subscriber.md index 22ed0af8f7..aec3a7ed5d 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/delete-subscriber.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/delete-subscriber.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...'); // Your secret JSON Web Token + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setJWT('<YOUR_JWT>'); // Your secret JSON Web Token const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/delete-topic.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/delete-topic.md index fa389953f2..7b4a360e8c 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/delete-topic.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/delete-topic.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/delete.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/delete.md index 22a3d35adf..d4f8bfcc6d 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/delete.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/delete.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/get-message.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/get-message.md index 4f0b92c859..7b46622685 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/get-message.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/get-message.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/get-provider.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/get-provider.md index 17d1e580ea..796bcbc768 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/get-provider.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/get-provider.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/get-subscriber.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/get-subscriber.md index 96ca08ad2b..3930e54bcb 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/get-subscriber.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/get-subscriber.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/get-topic.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/get-topic.md index 8075b0c891..68fda14e94 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/get-topic.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/get-topic.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/list-message-logs.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/list-message-logs.md index e83f316d15..01b941b652 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/list-message-logs.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/list-message-logs.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/list-messages.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/list-messages.md index d09b3e5867..4c0ee7a307 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/list-messages.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/list-messages.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/list-provider-logs.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/list-provider-logs.md index 8e267daf6f..625fedb2b9 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/list-provider-logs.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/list-provider-logs.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/list-providers.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/list-providers.md index b9273f1eca..4d3a63b93e 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/list-providers.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/list-providers.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/list-subscriber-logs.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/list-subscriber-logs.md index 17f8fefdc8..61077f299d 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/list-subscriber-logs.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/list-subscriber-logs.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/list-subscribers.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/list-subscribers.md index 05e27aaffa..85b91ca5fa 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/list-subscribers.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/list-subscribers.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/list-targets.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/list-targets.md index 0e509ab5f6..cafdf9bab1 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/list-targets.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/list-targets.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/list-topic-logs.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/list-topic-logs.md index 9f63540824..fe0a09487e 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/list-topic-logs.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/list-topic-logs.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/list-topics.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/list-topics.md index ae16c26a97..5d0419a7a5 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/list-topics.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/list-topics.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-a-p-n-s-provider.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-a-p-n-s-provider.md index 1ec27d0845..894383dcf1 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-a-p-n-s-provider.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-a-p-n-s-provider.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-apns-provider.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-apns-provider.md index 8498b4f974..23d806e013 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-apns-provider.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-apns-provider.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-email.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-email.md index 92117111b2..a6798eeb6c 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-email.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-email.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-f-c-m-provider.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-f-c-m-provider.md index 0de756c6d5..fd15afd074 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-f-c-m-provider.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-f-c-m-provider.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-fcm-provider.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-fcm-provider.md index fc084ff790..3d343993aa 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-fcm-provider.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-fcm-provider.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-mailgun-provider.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-mailgun-provider.md index 850fcf6aca..5bcc4d1ae4 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-mailgun-provider.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-mailgun-provider.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-msg91provider.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-msg91provider.md index 7f84b5d2f1..02f091f3d7 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-msg91provider.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-msg91provider.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-push.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-push.md index c2de910489..700c3a99de 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-push.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-push.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); @@ -23,5 +23,8 @@ const result = await messaging.updatePush( '<TAG>', // tag (optional) null, // badge (optional) false, // draft (optional) - '' // scheduledAt (optional) + '', // scheduledAt (optional) + false, // contentAvailable (optional) + false, // critical (optional) + sdk.MessagePriority.Normal // priority (optional) ); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-s-m-s.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-s-m-s.md index 44251f74e2..dbb8ff9fc6 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-s-m-s.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-s-m-s.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const messaging = new sdk.Messaging(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-s-m-t-p-provider.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-s-m-t-p-provider.md index 969bab0a1e..f64134fa5b 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-s-m-t-p-provider.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-s-m-t-p-provider.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const messaging = new sdk.Messaging(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-sendgrid-provider.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-sendgrid-provider.md index b9c94398e3..22a5fe5964 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-sendgrid-provider.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-sendgrid-provider.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-sms.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-sms.md index 172dcb6bf4..03c266be58 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-sms.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-sms.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-smtp-provider.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-smtp-provider.md index 3f8f20c122..35b744347b 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-smtp-provider.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-smtp-provider.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-telesign-provider.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-telesign-provider.md index 2f331688c4..dd668f82c5 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-telesign-provider.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-telesign-provider.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-textmagic-provider.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-textmagic-provider.md index 788c0ddeb4..d90c95d845 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-textmagic-provider.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-textmagic-provider.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-topic.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-topic.md index eeb34f6d58..08690a195e 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-topic.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-topic.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-twilio-provider.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-twilio-provider.md index ec18761207..c6d2b8c077 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-twilio-provider.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-twilio-provider.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-vonage-provider.md b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-vonage-provider.md index 4b5dc9ac05..ba9f102950 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/messaging/update-vonage-provider.md +++ b/docs/examples/1.5.x/server-nodejs/examples/messaging/update-vonage-provider.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const messaging = new sdk.Messaging(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/storage/create-bucket.md b/docs/examples/1.5.x/server-nodejs/examples/storage/create-bucket.md index c961c7915c..91a5126e90 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/storage/create-bucket.md +++ b/docs/examples/1.5.x/server-nodejs/examples/storage/create-bucket.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const storage = new sdk.Storage(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/storage/create-file.md b/docs/examples/1.5.x/server-nodejs/examples/storage/create-file.md index 7440143e49..067307cc5d 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/storage/create-file.md +++ b/docs/examples/1.5.x/server-nodejs/examples/storage/create-file.md @@ -3,7 +3,7 @@ const fs = require('fs'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const storage = new sdk.Storage(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/storage/delete-bucket.md b/docs/examples/1.5.x/server-nodejs/examples/storage/delete-bucket.md index f3db8caa06..606ffba719 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/storage/delete-bucket.md +++ b/docs/examples/1.5.x/server-nodejs/examples/storage/delete-bucket.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const storage = new sdk.Storage(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/storage/delete-file.md b/docs/examples/1.5.x/server-nodejs/examples/storage/delete-file.md index c7dbe9ee62..c5b9df9296 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/storage/delete-file.md +++ b/docs/examples/1.5.x/server-nodejs/examples/storage/delete-file.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const storage = new sdk.Storage(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/storage/get-bucket.md b/docs/examples/1.5.x/server-nodejs/examples/storage/get-bucket.md index f9d0385381..711753d409 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/storage/get-bucket.md +++ b/docs/examples/1.5.x/server-nodejs/examples/storage/get-bucket.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const storage = new sdk.Storage(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/storage/get-file-download.md b/docs/examples/1.5.x/server-nodejs/examples/storage/get-file-download.md index e94ba95162..cbd4c1615c 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/storage/get-file-download.md +++ b/docs/examples/1.5.x/server-nodejs/examples/storage/get-file-download.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const storage = new sdk.Storage(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/storage/get-file-preview.md b/docs/examples/1.5.x/server-nodejs/examples/storage/get-file-preview.md index 7ce73718b3..be7b974be8 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/storage/get-file-preview.md +++ b/docs/examples/1.5.x/server-nodejs/examples/storage/get-file-preview.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const storage = new sdk.Storage(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/storage/get-file-view.md b/docs/examples/1.5.x/server-nodejs/examples/storage/get-file-view.md index 1ddfa1cd2a..f5722d06cd 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/storage/get-file-view.md +++ b/docs/examples/1.5.x/server-nodejs/examples/storage/get-file-view.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const storage = new sdk.Storage(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/storage/get-file.md b/docs/examples/1.5.x/server-nodejs/examples/storage/get-file.md index 54d41b1ba4..61b14e6bba 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/storage/get-file.md +++ b/docs/examples/1.5.x/server-nodejs/examples/storage/get-file.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const storage = new sdk.Storage(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/storage/list-buckets.md b/docs/examples/1.5.x/server-nodejs/examples/storage/list-buckets.md index beaea21ed2..ce012c450e 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/storage/list-buckets.md +++ b/docs/examples/1.5.x/server-nodejs/examples/storage/list-buckets.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const storage = new sdk.Storage(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/storage/list-files.md b/docs/examples/1.5.x/server-nodejs/examples/storage/list-files.md index 001c18630f..a9dbaa8f80 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/storage/list-files.md +++ b/docs/examples/1.5.x/server-nodejs/examples/storage/list-files.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const storage = new sdk.Storage(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/storage/update-bucket.md b/docs/examples/1.5.x/server-nodejs/examples/storage/update-bucket.md index 483b4cc42d..31e131675f 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/storage/update-bucket.md +++ b/docs/examples/1.5.x/server-nodejs/examples/storage/update-bucket.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const storage = new sdk.Storage(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/storage/update-file.md b/docs/examples/1.5.x/server-nodejs/examples/storage/update-file.md index d508bbbf7a..c60b2e4a8b 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/storage/update-file.md +++ b/docs/examples/1.5.x/server-nodejs/examples/storage/update-file.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const storage = new sdk.Storage(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/teams/create-membership.md b/docs/examples/1.5.x/server-nodejs/examples/teams/create-membership.md index 642fb0ab48..4606624157 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/teams/create-membership.md +++ b/docs/examples/1.5.x/server-nodejs/examples/teams/create-membership.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const teams = new sdk.Teams(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/teams/create.md b/docs/examples/1.5.x/server-nodejs/examples/teams/create.md index dc30f1009c..cecf4f6024 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/teams/create.md +++ b/docs/examples/1.5.x/server-nodejs/examples/teams/create.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const teams = new sdk.Teams(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/teams/delete-membership.md b/docs/examples/1.5.x/server-nodejs/examples/teams/delete-membership.md index 08dcf39a71..933cd7ccf8 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/teams/delete-membership.md +++ b/docs/examples/1.5.x/server-nodejs/examples/teams/delete-membership.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const teams = new sdk.Teams(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/teams/delete.md b/docs/examples/1.5.x/server-nodejs/examples/teams/delete.md index 6956f5f545..50963b3e1d 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/teams/delete.md +++ b/docs/examples/1.5.x/server-nodejs/examples/teams/delete.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const teams = new sdk.Teams(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/teams/get-membership.md b/docs/examples/1.5.x/server-nodejs/examples/teams/get-membership.md index 1fbd993318..b638adeb12 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/teams/get-membership.md +++ b/docs/examples/1.5.x/server-nodejs/examples/teams/get-membership.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const teams = new sdk.Teams(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/teams/get-prefs.md b/docs/examples/1.5.x/server-nodejs/examples/teams/get-prefs.md index aea783094c..68f19a4117 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/teams/get-prefs.md +++ b/docs/examples/1.5.x/server-nodejs/examples/teams/get-prefs.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const teams = new sdk.Teams(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/teams/get.md b/docs/examples/1.5.x/server-nodejs/examples/teams/get.md index 2fbfb3ef08..38ee6e4c41 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/teams/get.md +++ b/docs/examples/1.5.x/server-nodejs/examples/teams/get.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const teams = new sdk.Teams(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/teams/list-memberships.md b/docs/examples/1.5.x/server-nodejs/examples/teams/list-memberships.md index 22ce29961d..c66ec7d601 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/teams/list-memberships.md +++ b/docs/examples/1.5.x/server-nodejs/examples/teams/list-memberships.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const teams = new sdk.Teams(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/teams/list.md b/docs/examples/1.5.x/server-nodejs/examples/teams/list.md index 51f200f26c..d50527bf12 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/teams/list.md +++ b/docs/examples/1.5.x/server-nodejs/examples/teams/list.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const teams = new sdk.Teams(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/teams/update-membership-status.md b/docs/examples/1.5.x/server-nodejs/examples/teams/update-membership-status.md index c97f0fd964..80660e94f9 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/teams/update-membership-status.md +++ b/docs/examples/1.5.x/server-nodejs/examples/teams/update-membership-status.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const teams = new sdk.Teams(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/teams/update-membership.md b/docs/examples/1.5.x/server-nodejs/examples/teams/update-membership.md index bb8edccad3..068cc55bca 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/teams/update-membership.md +++ b/docs/examples/1.5.x/server-nodejs/examples/teams/update-membership.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const teams = new sdk.Teams(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/teams/update-name.md b/docs/examples/1.5.x/server-nodejs/examples/teams/update-name.md index ed349bb4b5..217412020f 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/teams/update-name.md +++ b/docs/examples/1.5.x/server-nodejs/examples/teams/update-name.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const teams = new sdk.Teams(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/teams/update-prefs.md b/docs/examples/1.5.x/server-nodejs/examples/teams/update-prefs.md index 3f396b6c14..9d6a6f5f87 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/teams/update-prefs.md +++ b/docs/examples/1.5.x/server-nodejs/examples/teams/update-prefs.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID + .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with const teams = new sdk.Teams(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/create-argon2user.md b/docs/examples/1.5.x/server-nodejs/examples/users/create-argon2user.md index 942f3d0904..e96a797d05 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/create-argon2user.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/create-argon2user.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/create-bcrypt-user.md b/docs/examples/1.5.x/server-nodejs/examples/users/create-bcrypt-user.md index 2ab4974a51..be14d217a0 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/create-bcrypt-user.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/create-j-w-t.md b/docs/examples/1.5.x/server-nodejs/examples/users/create-j-w-t.md new file mode 100644 index 0000000000..e615b1ee5b --- /dev/null +++ b/docs/examples/1.5.x/server-nodejs/examples/users/create-j-w-t.md @@ -0,0 +1,14 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key + +const users = new sdk.Users(client); + +const result = await users.createJWT( + '<USER_ID>', // userId + '<SESSION_ID>', // sessionId (optional) + 0 // duration (optional) +); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/create-m-d5user.md b/docs/examples/1.5.x/server-nodejs/examples/users/create-m-d5user.md index e862f56d3e..77a7d70885 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/create-m-d5user.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/create-m-d5user.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/create-mfa-recovery-codes.md b/docs/examples/1.5.x/server-nodejs/examples/users/create-mfa-recovery-codes.md index ad7d0d49df..42945293c1 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/create-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/create-mfa-recovery-codes.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/create-p-h-pass-user.md b/docs/examples/1.5.x/server-nodejs/examples/users/create-p-h-pass-user.md index 20f9676408..a5784d7ded 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/create-p-h-pass-user.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/create-s-h-a-user.md b/docs/examples/1.5.x/server-nodejs/examples/users/create-s-h-a-user.md index 3e2707f7d6..a72e373040 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/create-s-h-a-user.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/create-scrypt-modified-user.md b/docs/examples/1.5.x/server-nodejs/examples/users/create-scrypt-modified-user.md index b012154acc..b27fe318aa 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/create-scrypt-modified-user.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/create-scrypt-user.md b/docs/examples/1.5.x/server-nodejs/examples/users/create-scrypt-user.md index 0920b59109..60b61be49f 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/create-scrypt-user.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/create-scrypt-user.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/create-session.md b/docs/examples/1.5.x/server-nodejs/examples/users/create-session.md index 0a79f5c09a..2672905ef7 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/create-session.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/create-session.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/create-target.md b/docs/examples/1.5.x/server-nodejs/examples/users/create-target.md index 79e889c261..099b00379b 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/create-target.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/create-target.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/create-token.md b/docs/examples/1.5.x/server-nodejs/examples/users/create-token.md index 971ad967ae..a399313104 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/create-token.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/create-token.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/create.md b/docs/examples/1.5.x/server-nodejs/examples/users/create.md index 95e6c4c5bc..e8fb4cd927 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/create.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/create.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/delete-authenticator.md b/docs/examples/1.5.x/server-nodejs/examples/users/delete-authenticator.md index 384a20b63d..4ce6ab6f4d 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/delete-authenticator.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/delete-authenticator.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/delete-identity.md b/docs/examples/1.5.x/server-nodejs/examples/users/delete-identity.md index 611039b6d5..46f5203da1 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/delete-identity.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/delete-identity.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/delete-mfa-authenticator.md b/docs/examples/1.5.x/server-nodejs/examples/users/delete-mfa-authenticator.md index 5be1ed403f..1f00e963ea 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/delete-mfa-authenticator.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/delete-session.md b/docs/examples/1.5.x/server-nodejs/examples/users/delete-session.md index ec24ea9867..168f4948bc 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/delete-session.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/delete-session.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/delete-sessions.md b/docs/examples/1.5.x/server-nodejs/examples/users/delete-sessions.md index 4ad7e1689c..4c320fc4a7 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/delete-sessions.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/delete-sessions.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/delete-target.md b/docs/examples/1.5.x/server-nodejs/examples/users/delete-target.md index d857d7f3ab..6505a8bb49 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/delete-target.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/delete-target.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/delete.md b/docs/examples/1.5.x/server-nodejs/examples/users/delete.md index e30be84dda..4d6c9963e7 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/delete.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/delete.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/get-mfa-recovery-codes.md b/docs/examples/1.5.x/server-nodejs/examples/users/get-mfa-recovery-codes.md index ef67a0aad2..3e97065fa1 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/get-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/get-mfa-recovery-codes.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/get-prefs.md b/docs/examples/1.5.x/server-nodejs/examples/users/get-prefs.md index 04ed004929..fda205b04d 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/get-prefs.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/get-prefs.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/get-target.md b/docs/examples/1.5.x/server-nodejs/examples/users/get-target.md index ef44e9b294..1d93a1b162 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/get-target.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/get-target.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/get.md b/docs/examples/1.5.x/server-nodejs/examples/users/get.md index 3d3eb15976..9d36157325 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/get.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/get.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/list-factors.md b/docs/examples/1.5.x/server-nodejs/examples/users/list-factors.md index 87b1523b70..70ad6bf14c 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/list-factors.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/list-factors.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/list-identities.md b/docs/examples/1.5.x/server-nodejs/examples/users/list-identities.md index 1ead975092..0ba1345397 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/list-identities.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/list-identities.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/list-logs.md b/docs/examples/1.5.x/server-nodejs/examples/users/list-logs.md index ad90cfed50..5636e021b9 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/list-logs.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/list-logs.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/list-memberships.md b/docs/examples/1.5.x/server-nodejs/examples/users/list-memberships.md index 51631be604..bc4ce5e8b7 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/list-memberships.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/list-memberships.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/list-mfa-factors.md b/docs/examples/1.5.x/server-nodejs/examples/users/list-mfa-factors.md index 601410b286..6396a694e5 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/list-mfa-factors.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/list-mfa-factors.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/list-providers.md b/docs/examples/1.5.x/server-nodejs/examples/users/list-providers.md index 4efaad18da..95deee8d80 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/list-providers.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/list-providers.md @@ -6,7 +6,7 @@ const client = new sdk.Client(); const users = new sdk.Users(client); client - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/list-sessions.md b/docs/examples/1.5.x/server-nodejs/examples/users/list-sessions.md index b07fb87e4f..de4aa3d424 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/list-sessions.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/list-sessions.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/list-targets.md b/docs/examples/1.5.x/server-nodejs/examples/users/list-targets.md index 547f496e3e..2d2a6d26c4 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/list-targets.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/list-targets.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/list.md b/docs/examples/1.5.x/server-nodejs/examples/users/list.md index a1ba8bda8a..664d32c625 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/list.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/list.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/update-email-verification.md b/docs/examples/1.5.x/server-nodejs/examples/users/update-email-verification.md index f8c9988728..560ca3e870 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/update-email-verification.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/update-email-verification.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/update-email.md b/docs/examples/1.5.x/server-nodejs/examples/users/update-email.md index ec27032ed8..eef17615ee 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/update-email.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/update-email.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/update-labels.md b/docs/examples/1.5.x/server-nodejs/examples/users/update-labels.md index 9bfb286c97..ec27094275 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/update-labels.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/update-labels.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/update-mfa-recovery-codes.md b/docs/examples/1.5.x/server-nodejs/examples/users/update-mfa-recovery-codes.md index bc64df375a..56ef9b2022 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/update-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/update-mfa-recovery-codes.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/update-mfa.md b/docs/examples/1.5.x/server-nodejs/examples/users/update-mfa.md index 2726e5825c..7c7944429a 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/update-mfa.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/update-mfa.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/update-name.md b/docs/examples/1.5.x/server-nodejs/examples/users/update-name.md index 388c82d331..5478a78bb0 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/update-name.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/update-name.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/update-password.md b/docs/examples/1.5.x/server-nodejs/examples/users/update-password.md index 40fa2fb6bc..856e3a8576 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/update-password.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/update-password.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/update-phone-verification.md b/docs/examples/1.5.x/server-nodejs/examples/users/update-phone-verification.md index fdfa81645a..654e7833d0 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/update-phone-verification.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/update-phone-verification.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/update-phone.md b/docs/examples/1.5.x/server-nodejs/examples/users/update-phone.md index c1d3276a8a..8cc4af0513 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/update-phone.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/update-phone.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/update-prefs.md b/docs/examples/1.5.x/server-nodejs/examples/users/update-prefs.md index 4114565364..f80dae1178 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/update-prefs.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/update-prefs.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/update-status.md b/docs/examples/1.5.x/server-nodejs/examples/users/update-status.md index 0b56965b1e..04a18a2636 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/update-status.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/update-status.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-nodejs/examples/users/update-target.md b/docs/examples/1.5.x/server-nodejs/examples/users/update-target.md index c7d995d876..3322867dba 100644 --- a/docs/examples/1.5.x/server-nodejs/examples/users/update-target.md +++ b/docs/examples/1.5.x/server-nodejs/examples/users/update-target.md @@ -2,8 +2,8 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - .setProject('5df5acd0d48c2') // Your project ID - .setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key const users = new sdk.Users(client); diff --git a/docs/examples/1.5.x/server-php/examples/account/add-authenticator.md b/docs/examples/1.5.x/server-php/examples/account/add-authenticator.md index 09f1fd995c..78cf5f81b7 100644 --- a/docs/examples/1.5.x/server-php/examples/account/add-authenticator.md +++ b/docs/examples/1.5.x/server-php/examples/account/add-authenticator.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; use Appwrite\Enums\AuthenticatorType; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-php/examples/account/create-anonymous-session.md b/docs/examples/1.5.x/server-php/examples/account/create-anonymous-session.md index 950bb4a5e4..4cf953855c 100644 --- a/docs/examples/1.5.x/server-php/examples/account/create-anonymous-session.md +++ b/docs/examples/1.5.x/server-php/examples/account/create-anonymous-session.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2'); // Your project ID + ->setProject('<YOUR_PROJECT_ID>'); // Your project ID $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/create-challenge.md b/docs/examples/1.5.x/server-php/examples/account/create-challenge.md index b81a7b4778..336beb4f0f 100644 --- a/docs/examples/1.5.x/server-php/examples/account/create-challenge.md +++ b/docs/examples/1.5.x/server-php/examples/account/create-challenge.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; use Appwrite\Enums\AuthenticationFactor; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2'); // Your project ID $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/create-email-password-session.md b/docs/examples/1.5.x/server-php/examples/account/create-email-password-session.md index 3fd96f3d58..b0e4d75c90 100644 --- a/docs/examples/1.5.x/server-php/examples/account/create-email-password-session.md +++ b/docs/examples/1.5.x/server-php/examples/account/create-email-password-session.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2'); // Your project ID + ->setProject('<YOUR_PROJECT_ID>'); // Your project ID $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/create-email-token.md b/docs/examples/1.5.x/server-php/examples/account/create-email-token.md index 1477366e0e..afa9bc9094 100644 --- a/docs/examples/1.5.x/server-php/examples/account/create-email-token.md +++ b/docs/examples/1.5.x/server-php/examples/account/create-email-token.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2'); // Your project ID + ->setProject('<YOUR_PROJECT_ID>'); // Your project ID $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/create-j-w-t.md b/docs/examples/1.5.x/server-php/examples/account/create-j-w-t.md index d59316f4ea..2658a66f2e 100644 --- a/docs/examples/1.5.x/server-php/examples/account/create-j-w-t.md +++ b/docs/examples/1.5.x/server-php/examples/account/create-j-w-t.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2'); // Your project ID + ->setProject('<YOUR_PROJECT_ID>'); // Your project ID $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/create-magic-u-r-l-token.md b/docs/examples/1.5.x/server-php/examples/account/create-magic-u-r-l-token.md index e744157d87..1ac0087c57 100644 --- a/docs/examples/1.5.x/server-php/examples/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.5.x/server-php/examples/account/create-magic-u-r-l-token.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2'); // Your project ID + ->setProject('<YOUR_PROJECT_ID>'); // Your project ID $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/create-mfa-authenticator.md b/docs/examples/1.5.x/server-php/examples/account/create-mfa-authenticator.md index 1b3d176ec6..7833852043 100644 --- a/docs/examples/1.5.x/server-php/examples/account/create-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-php/examples/account/create-mfa-authenticator.md @@ -6,7 +6,7 @@ use Appwrite\Enums\AuthenticatorType; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/create-mfa-challenge.md b/docs/examples/1.5.x/server-php/examples/account/create-mfa-challenge.md index 5cef510889..a58d674d30 100644 --- a/docs/examples/1.5.x/server-php/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.5.x/server-php/examples/account/create-mfa-challenge.md @@ -6,7 +6,7 @@ use Appwrite\Enums\AuthenticationFactor; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2'); // Your project ID + ->setProject('<YOUR_PROJECT_ID>'); // Your project ID $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/create-mfa-recovery-codes.md b/docs/examples/1.5.x/server-php/examples/account/create-mfa-recovery-codes.md index 8adf24711d..d82a97ab0a 100644 --- a/docs/examples/1.5.x/server-php/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-php/examples/account/create-mfa-recovery-codes.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/create-o-auth2session.md b/docs/examples/1.5.x/server-php/examples/account/create-o-auth2session.md index 105fbd2bce..ee60581366 100644 --- a/docs/examples/1.5.x/server-php/examples/account/create-o-auth2session.md +++ b/docs/examples/1.5.x/server-php/examples/account/create-o-auth2session.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; use Appwrite\Enums\OAuthProvider; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2'); // Your project ID $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/create-o-auth2token.md b/docs/examples/1.5.x/server-php/examples/account/create-o-auth2token.md index dc97ef6992..21b9ef1313 100644 --- a/docs/examples/1.5.x/server-php/examples/account/create-o-auth2token.md +++ b/docs/examples/1.5.x/server-php/examples/account/create-o-auth2token.md @@ -6,7 +6,7 @@ use Appwrite\Enums\OAuthProvider; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2'); // Your project ID + ->setProject('<YOUR_PROJECT_ID>'); // Your project ID $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/create-phone-token.md b/docs/examples/1.5.x/server-php/examples/account/create-phone-token.md index 43ff008941..72462ff175 100644 --- a/docs/examples/1.5.x/server-php/examples/account/create-phone-token.md +++ b/docs/examples/1.5.x/server-php/examples/account/create-phone-token.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2'); // Your project ID + ->setProject('<YOUR_PROJECT_ID>'); // Your project ID $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/create-phone-verification.md b/docs/examples/1.5.x/server-php/examples/account/create-phone-verification.md index c4b52f3a35..cb81da53af 100644 --- a/docs/examples/1.5.x/server-php/examples/account/create-phone-verification.md +++ b/docs/examples/1.5.x/server-php/examples/account/create-phone-verification.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/create-recovery.md b/docs/examples/1.5.x/server-php/examples/account/create-recovery.md index b35c58f90e..a924379cd4 100644 --- a/docs/examples/1.5.x/server-php/examples/account/create-recovery.md +++ b/docs/examples/1.5.x/server-php/examples/account/create-recovery.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/create-session.md b/docs/examples/1.5.x/server-php/examples/account/create-session.md index 71fa75ceab..aa089ae586 100644 --- a/docs/examples/1.5.x/server-php/examples/account/create-session.md +++ b/docs/examples/1.5.x/server-php/examples/account/create-session.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2'); // Your project ID + ->setProject('<YOUR_PROJECT_ID>'); // Your project ID $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/create-verification.md b/docs/examples/1.5.x/server-php/examples/account/create-verification.md index b1ca321cf2..99929f1a2a 100644 --- a/docs/examples/1.5.x/server-php/examples/account/create-verification.md +++ b/docs/examples/1.5.x/server-php/examples/account/create-verification.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/create.md b/docs/examples/1.5.x/server-php/examples/account/create.md index c07c2d777c..2b25cde457 100644 --- a/docs/examples/1.5.x/server-php/examples/account/create.md +++ b/docs/examples/1.5.x/server-php/examples/account/create.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2'); // Your project ID + ->setProject('<YOUR_PROJECT_ID>'); // Your project ID $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/create2f-a-challenge.md b/docs/examples/1.5.x/server-php/examples/account/create2f-a-challenge.md index 3c1b48f555..6744733541 100644 --- a/docs/examples/1.5.x/server-php/examples/account/create2f-a-challenge.md +++ b/docs/examples/1.5.x/server-php/examples/account/create2f-a-challenge.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; use Appwrite\Enums\AuthenticationFactor; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2'); // Your project ID $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/delete-authenticator.md b/docs/examples/1.5.x/server-php/examples/account/delete-authenticator.md index 3582a6b954..5b72178899 100644 --- a/docs/examples/1.5.x/server-php/examples/account/delete-authenticator.md +++ b/docs/examples/1.5.x/server-php/examples/account/delete-authenticator.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; use Appwrite\Enums\AuthenticatorType; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-php/examples/account/delete-identity.md b/docs/examples/1.5.x/server-php/examples/account/delete-identity.md index 06a6a389b5..31e5f42946 100644 --- a/docs/examples/1.5.x/server-php/examples/account/delete-identity.md +++ b/docs/examples/1.5.x/server-php/examples/account/delete-identity.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/delete-mfa-authenticator.md b/docs/examples/1.5.x/server-php/examples/account/delete-mfa-authenticator.md index 78a304f7b2..5367409d4a 100644 --- a/docs/examples/1.5.x/server-php/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-php/examples/account/delete-mfa-authenticator.md @@ -6,12 +6,11 @@ use Appwrite\Enums\AuthenticatorType; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $account = new Account($client); $result = $account->deleteMfaAuthenticator( - type: AuthenticatorType::TOTP(), - otp: '<OTP>' + type: AuthenticatorType::TOTP() ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-php/examples/account/delete-session.md b/docs/examples/1.5.x/server-php/examples/account/delete-session.md index 9b06705854..d44aca87fa 100644 --- a/docs/examples/1.5.x/server-php/examples/account/delete-session.md +++ b/docs/examples/1.5.x/server-php/examples/account/delete-session.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/delete-sessions.md b/docs/examples/1.5.x/server-php/examples/account/delete-sessions.md index 7f927fa1f8..bf9e5c1fdc 100644 --- a/docs/examples/1.5.x/server-php/examples/account/delete-sessions.md +++ b/docs/examples/1.5.x/server-php/examples/account/delete-sessions.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.5.x/server-php/examples/account/get-mfa-recovery-codes.md index 795559b1db..43c3f06b37 100644 --- a/docs/examples/1.5.x/server-php/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-php/examples/account/get-mfa-recovery-codes.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/get-prefs.md b/docs/examples/1.5.x/server-php/examples/account/get-prefs.md index 57990c174d..808699ab44 100644 --- a/docs/examples/1.5.x/server-php/examples/account/get-prefs.md +++ b/docs/examples/1.5.x/server-php/examples/account/get-prefs.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/get-session.md b/docs/examples/1.5.x/server-php/examples/account/get-session.md index 5236002661..dfd1c23339 100644 --- a/docs/examples/1.5.x/server-php/examples/account/get-session.md +++ b/docs/examples/1.5.x/server-php/examples/account/get-session.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/get.md b/docs/examples/1.5.x/server-php/examples/account/get.md index 4b6d8e2b50..427632d2d0 100644 --- a/docs/examples/1.5.x/server-php/examples/account/get.md +++ b/docs/examples/1.5.x/server-php/examples/account/get.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/list-factors.md b/docs/examples/1.5.x/server-php/examples/account/list-factors.md index 09a29d4e66..04fcca08aa 100644 --- a/docs/examples/1.5.x/server-php/examples/account/list-factors.md +++ b/docs/examples/1.5.x/server-php/examples/account/list-factors.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-php/examples/account/list-identities.md b/docs/examples/1.5.x/server-php/examples/account/list-identities.md index da36bbdefe..d928921277 100644 --- a/docs/examples/1.5.x/server-php/examples/account/list-identities.md +++ b/docs/examples/1.5.x/server-php/examples/account/list-identities.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/list-logs.md b/docs/examples/1.5.x/server-php/examples/account/list-logs.md index a83c39a691..72199a2d95 100644 --- a/docs/examples/1.5.x/server-php/examples/account/list-logs.md +++ b/docs/examples/1.5.x/server-php/examples/account/list-logs.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/list-mfa-factors.md b/docs/examples/1.5.x/server-php/examples/account/list-mfa-factors.md index 448f18d296..d670b97c8a 100644 --- a/docs/examples/1.5.x/server-php/examples/account/list-mfa-factors.md +++ b/docs/examples/1.5.x/server-php/examples/account/list-mfa-factors.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/list-sessions.md b/docs/examples/1.5.x/server-php/examples/account/list-sessions.md index bae339f965..bbc1b788ab 100644 --- a/docs/examples/1.5.x/server-php/examples/account/list-sessions.md +++ b/docs/examples/1.5.x/server-php/examples/account/list-sessions.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/update-challenge.md b/docs/examples/1.5.x/server-php/examples/account/update-challenge.md index b0e85bd70b..de3c0ed533 100644 --- a/docs/examples/1.5.x/server-php/examples/account/update-challenge.md +++ b/docs/examples/1.5.x/server-php/examples/account/update-challenge.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-php/examples/account/update-email.md b/docs/examples/1.5.x/server-php/examples/account/update-email.md index efe3d996bc..c5fd462047 100644 --- a/docs/examples/1.5.x/server-php/examples/account/update-email.md +++ b/docs/examples/1.5.x/server-php/examples/account/update-email.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/update-m-f-a.md b/docs/examples/1.5.x/server-php/examples/account/update-m-f-a.md index 5247ec43b7..9489b96a15 100644 --- a/docs/examples/1.5.x/server-php/examples/account/update-m-f-a.md +++ b/docs/examples/1.5.x/server-php/examples/account/update-m-f-a.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.5.x/server-php/examples/account/update-magic-u-r-l-session.md index 1fa3422e35..e80adf9a86 100644 --- a/docs/examples/1.5.x/server-php/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.5.x/server-php/examples/account/update-magic-u-r-l-session.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2'); // Your project ID + ->setProject('<YOUR_PROJECT_ID>'); // Your project ID $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/update-mfa-authenticator.md b/docs/examples/1.5.x/server-php/examples/account/update-mfa-authenticator.md index e97fff565b..d3c36a3a9f 100644 --- a/docs/examples/1.5.x/server-php/examples/account/update-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-php/examples/account/update-mfa-authenticator.md @@ -6,7 +6,7 @@ use Appwrite\Enums\AuthenticatorType; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/update-mfa-challenge.md b/docs/examples/1.5.x/server-php/examples/account/update-mfa-challenge.md index d0f278c160..dcc5dcdf51 100644 --- a/docs/examples/1.5.x/server-php/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.5.x/server-php/examples/account/update-mfa-challenge.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/update-mfa-recovery-codes.md b/docs/examples/1.5.x/server-php/examples/account/update-mfa-recovery-codes.md index 7b6809f048..cf6204a300 100644 --- a/docs/examples/1.5.x/server-php/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-php/examples/account/update-mfa-recovery-codes.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/update-name.md b/docs/examples/1.5.x/server-php/examples/account/update-name.md index ea6353f592..a55a076791 100644 --- a/docs/examples/1.5.x/server-php/examples/account/update-name.md +++ b/docs/examples/1.5.x/server-php/examples/account/update-name.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/update-password.md b/docs/examples/1.5.x/server-php/examples/account/update-password.md index dc873db433..9ef275701c 100644 --- a/docs/examples/1.5.x/server-php/examples/account/update-password.md +++ b/docs/examples/1.5.x/server-php/examples/account/update-password.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/update-phone-session.md b/docs/examples/1.5.x/server-php/examples/account/update-phone-session.md index 9681b35474..973d29d04c 100644 --- a/docs/examples/1.5.x/server-php/examples/account/update-phone-session.md +++ b/docs/examples/1.5.x/server-php/examples/account/update-phone-session.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2'); // Your project ID + ->setProject('<YOUR_PROJECT_ID>'); // Your project ID $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/update-phone-verification.md b/docs/examples/1.5.x/server-php/examples/account/update-phone-verification.md index 9c3d3b76fa..a1164474c0 100644 --- a/docs/examples/1.5.x/server-php/examples/account/update-phone-verification.md +++ b/docs/examples/1.5.x/server-php/examples/account/update-phone-verification.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/update-phone.md b/docs/examples/1.5.x/server-php/examples/account/update-phone.md index cbaf93a73b..be489f7d64 100644 --- a/docs/examples/1.5.x/server-php/examples/account/update-phone.md +++ b/docs/examples/1.5.x/server-php/examples/account/update-phone.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/update-prefs.md b/docs/examples/1.5.x/server-php/examples/account/update-prefs.md index f0574710ec..0d47ee8957 100644 --- a/docs/examples/1.5.x/server-php/examples/account/update-prefs.md +++ b/docs/examples/1.5.x/server-php/examples/account/update-prefs.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/update-recovery.md b/docs/examples/1.5.x/server-php/examples/account/update-recovery.md index 5b7f88bb7e..523a61779e 100644 --- a/docs/examples/1.5.x/server-php/examples/account/update-recovery.md +++ b/docs/examples/1.5.x/server-php/examples/account/update-recovery.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/update-session.md b/docs/examples/1.5.x/server-php/examples/account/update-session.md index d0220daed3..3eebb12c3c 100644 --- a/docs/examples/1.5.x/server-php/examples/account/update-session.md +++ b/docs/examples/1.5.x/server-php/examples/account/update-session.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/update-status.md b/docs/examples/1.5.x/server-php/examples/account/update-status.md index e5d51ec9d7..d343c95f2a 100644 --- a/docs/examples/1.5.x/server-php/examples/account/update-status.md +++ b/docs/examples/1.5.x/server-php/examples/account/update-status.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/update-verification.md b/docs/examples/1.5.x/server-php/examples/account/update-verification.md index b7cd6f9528..a03e87fd96 100644 --- a/docs/examples/1.5.x/server-php/examples/account/update-verification.md +++ b/docs/examples/1.5.x/server-php/examples/account/update-verification.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $account = new Account($client); diff --git a/docs/examples/1.5.x/server-php/examples/account/verify-authenticator.md b/docs/examples/1.5.x/server-php/examples/account/verify-authenticator.md index 8131bf3f84..49b48af592 100644 --- a/docs/examples/1.5.x/server-php/examples/account/verify-authenticator.md +++ b/docs/examples/1.5.x/server-php/examples/account/verify-authenticator.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; use Appwrite\Enums\AuthenticatorType; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-php/examples/avatars/get-browser.md b/docs/examples/1.5.x/server-php/examples/avatars/get-browser.md index 02bc411a10..d7e7e76e85 100644 --- a/docs/examples/1.5.x/server-php/examples/avatars/get-browser.md +++ b/docs/examples/1.5.x/server-php/examples/avatars/get-browser.md @@ -6,7 +6,7 @@ use Appwrite\Enums\Browser; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $avatars = new Avatars($client); diff --git a/docs/examples/1.5.x/server-php/examples/avatars/get-credit-card.md b/docs/examples/1.5.x/server-php/examples/avatars/get-credit-card.md index be93427709..55e2516f31 100644 --- a/docs/examples/1.5.x/server-php/examples/avatars/get-credit-card.md +++ b/docs/examples/1.5.x/server-php/examples/avatars/get-credit-card.md @@ -6,7 +6,7 @@ use Appwrite\Enums\CreditCard; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $avatars = new Avatars($client); diff --git a/docs/examples/1.5.x/server-php/examples/avatars/get-favicon.md b/docs/examples/1.5.x/server-php/examples/avatars/get-favicon.md index ff48929407..5f5c5d7d5b 100644 --- a/docs/examples/1.5.x/server-php/examples/avatars/get-favicon.md +++ b/docs/examples/1.5.x/server-php/examples/avatars/get-favicon.md @@ -5,7 +5,7 @@ use Appwrite\Services\Avatars; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $avatars = new Avatars($client); diff --git a/docs/examples/1.5.x/server-php/examples/avatars/get-flag.md b/docs/examples/1.5.x/server-php/examples/avatars/get-flag.md index b2cd79abc9..2e5e4b648c 100644 --- a/docs/examples/1.5.x/server-php/examples/avatars/get-flag.md +++ b/docs/examples/1.5.x/server-php/examples/avatars/get-flag.md @@ -6,7 +6,7 @@ use Appwrite\Enums\Flag; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $avatars = new Avatars($client); diff --git a/docs/examples/1.5.x/server-php/examples/avatars/get-image.md b/docs/examples/1.5.x/server-php/examples/avatars/get-image.md index f069e7f659..0ab77fea0d 100644 --- a/docs/examples/1.5.x/server-php/examples/avatars/get-image.md +++ b/docs/examples/1.5.x/server-php/examples/avatars/get-image.md @@ -5,7 +5,7 @@ use Appwrite\Services\Avatars; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $avatars = new Avatars($client); diff --git a/docs/examples/1.5.x/server-php/examples/avatars/get-initials.md b/docs/examples/1.5.x/server-php/examples/avatars/get-initials.md index 448e1a6dce..2bd0bbeb39 100644 --- a/docs/examples/1.5.x/server-php/examples/avatars/get-initials.md +++ b/docs/examples/1.5.x/server-php/examples/avatars/get-initials.md @@ -5,7 +5,7 @@ use Appwrite\Services\Avatars; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $avatars = new Avatars($client); diff --git a/docs/examples/1.5.x/server-php/examples/avatars/get-q-r.md b/docs/examples/1.5.x/server-php/examples/avatars/get-q-r.md index 8d19ddd752..05f8128c91 100644 --- a/docs/examples/1.5.x/server-php/examples/avatars/get-q-r.md +++ b/docs/examples/1.5.x/server-php/examples/avatars/get-q-r.md @@ -5,7 +5,7 @@ use Appwrite\Services\Avatars; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $avatars = new Avatars($client); diff --git a/docs/examples/1.5.x/server-php/examples/databases/create-boolean-attribute.md b/docs/examples/1.5.x/server-php/examples/databases/create-boolean-attribute.md index 9344cff885..823dd03345 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.5.x/server-php/examples/databases/create-boolean-attribute.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); diff --git a/docs/examples/1.5.x/server-php/examples/databases/create-collection.md b/docs/examples/1.5.x/server-php/examples/databases/create-collection.md index f5c5cb39f9..ae886b9f7d 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/create-collection.md +++ b/docs/examples/1.5.x/server-php/examples/databases/create-collection.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); diff --git a/docs/examples/1.5.x/server-php/examples/databases/create-datetime-attribute.md b/docs/examples/1.5.x/server-php/examples/databases/create-datetime-attribute.md index 3169914f20..fb3ce709ce 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.5.x/server-php/examples/databases/create-datetime-attribute.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); diff --git a/docs/examples/1.5.x/server-php/examples/databases/create-document.md b/docs/examples/1.5.x/server-php/examples/databases/create-document.md index 83ffc07566..f68ea8104d 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/create-document.md +++ b/docs/examples/1.5.x/server-php/examples/databases/create-document.md @@ -5,7 +5,7 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $databases = new Databases($client); diff --git a/docs/examples/1.5.x/server-php/examples/databases/create-email-attribute.md b/docs/examples/1.5.x/server-php/examples/databases/create-email-attribute.md index c88a039521..b2f7770f4e 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/create-email-attribute.md +++ b/docs/examples/1.5.x/server-php/examples/databases/create-email-attribute.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); diff --git a/docs/examples/1.5.x/server-php/examples/databases/create-enum-attribute.md b/docs/examples/1.5.x/server-php/examples/databases/create-enum-attribute.md index e12bb36959..de2553ce82 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.5.x/server-php/examples/databases/create-enum-attribute.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); diff --git a/docs/examples/1.5.x/server-php/examples/databases/create-float-attribute.md b/docs/examples/1.5.x/server-php/examples/databases/create-float-attribute.md index c685c6a654..ad534aa4be 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/create-float-attribute.md +++ b/docs/examples/1.5.x/server-php/examples/databases/create-float-attribute.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); diff --git a/docs/examples/1.5.x/server-php/examples/databases/create-index.md b/docs/examples/1.5.x/server-php/examples/databases/create-index.md index b6582349fb..7f95d3f818 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/create-index.md +++ b/docs/examples/1.5.x/server-php/examples/databases/create-index.md @@ -6,8 +6,8 @@ use Appwrite\Enums\IndexType; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); diff --git a/docs/examples/1.5.x/server-php/examples/databases/create-integer-attribute.md b/docs/examples/1.5.x/server-php/examples/databases/create-integer-attribute.md index ef63e05fc5..fb481188e7 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.5.x/server-php/examples/databases/create-integer-attribute.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); diff --git a/docs/examples/1.5.x/server-php/examples/databases/create-ip-attribute.md b/docs/examples/1.5.x/server-php/examples/databases/create-ip-attribute.md index a3d9de9aac..d40e23729e 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.5.x/server-php/examples/databases/create-ip-attribute.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); diff --git a/docs/examples/1.5.x/server-php/examples/databases/create-relationship-attribute.md b/docs/examples/1.5.x/server-php/examples/databases/create-relationship-attribute.md index 1d262cf8ed..4b353f1897 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.5.x/server-php/examples/databases/create-relationship-attribute.md @@ -6,8 +6,8 @@ use Appwrite\Enums\RelationshipType; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); diff --git a/docs/examples/1.5.x/server-php/examples/databases/create-string-attribute.md b/docs/examples/1.5.x/server-php/examples/databases/create-string-attribute.md index 2a88397394..a04dfba7e0 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/create-string-attribute.md +++ b/docs/examples/1.5.x/server-php/examples/databases/create-string-attribute.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); diff --git a/docs/examples/1.5.x/server-php/examples/databases/create-url-attribute.md b/docs/examples/1.5.x/server-php/examples/databases/create-url-attribute.md index 299ff70644..bfa8af0058 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/create-url-attribute.md +++ b/docs/examples/1.5.x/server-php/examples/databases/create-url-attribute.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); diff --git a/docs/examples/1.5.x/server-php/examples/databases/create.md b/docs/examples/1.5.x/server-php/examples/databases/create.md index 10f46ff3ca..3b9881a60a 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/create.md +++ b/docs/examples/1.5.x/server-php/examples/databases/create.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); diff --git a/docs/examples/1.5.x/server-php/examples/databases/delete-attribute.md b/docs/examples/1.5.x/server-php/examples/databases/delete-attribute.md index 097e7f0aab..2db4c76211 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/delete-attribute.md +++ b/docs/examples/1.5.x/server-php/examples/databases/delete-attribute.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); diff --git a/docs/examples/1.5.x/server-php/examples/databases/delete-collection.md b/docs/examples/1.5.x/server-php/examples/databases/delete-collection.md index 5c3606bf28..4af5130647 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/delete-collection.md +++ b/docs/examples/1.5.x/server-php/examples/databases/delete-collection.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); diff --git a/docs/examples/1.5.x/server-php/examples/databases/delete-document.md b/docs/examples/1.5.x/server-php/examples/databases/delete-document.md index 892dc03ca0..05a3abbc68 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/delete-document.md +++ b/docs/examples/1.5.x/server-php/examples/databases/delete-document.md @@ -5,7 +5,7 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $databases = new Databases($client); diff --git a/docs/examples/1.5.x/server-php/examples/databases/delete-index.md b/docs/examples/1.5.x/server-php/examples/databases/delete-index.md index f0ba6e76cc..67cda1205f 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/delete-index.md +++ b/docs/examples/1.5.x/server-php/examples/databases/delete-index.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); diff --git a/docs/examples/1.5.x/server-php/examples/databases/delete.md b/docs/examples/1.5.x/server-php/examples/databases/delete.md index 999fe3a2e3..2480a7c825 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/delete.md +++ b/docs/examples/1.5.x/server-php/examples/databases/delete.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); diff --git a/docs/examples/1.5.x/server-php/examples/databases/get-attribute.md b/docs/examples/1.5.x/server-php/examples/databases/get-attribute.md index 87f684e709..a9dad4bc40 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/get-attribute.md +++ b/docs/examples/1.5.x/server-php/examples/databases/get-attribute.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); diff --git a/docs/examples/1.5.x/server-php/examples/databases/get-collection.md b/docs/examples/1.5.x/server-php/examples/databases/get-collection.md index cf9fa777b1..deeddec4ad 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/get-collection.md +++ b/docs/examples/1.5.x/server-php/examples/databases/get-collection.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); diff --git a/docs/examples/1.5.x/server-php/examples/databases/get-document.md b/docs/examples/1.5.x/server-php/examples/databases/get-document.md index 25bc79a79b..851e2d5747 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/get-document.md +++ b/docs/examples/1.5.x/server-php/examples/databases/get-document.md @@ -5,7 +5,7 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $databases = new Databases($client); diff --git a/docs/examples/1.5.x/server-php/examples/databases/get-index.md b/docs/examples/1.5.x/server-php/examples/databases/get-index.md index be8fab39da..a6e60f599d 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/get-index.md +++ b/docs/examples/1.5.x/server-php/examples/databases/get-index.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); diff --git a/docs/examples/1.5.x/server-php/examples/databases/get.md b/docs/examples/1.5.x/server-php/examples/databases/get.md index d30acdc658..7234b2369f 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/get.md +++ b/docs/examples/1.5.x/server-php/examples/databases/get.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); diff --git a/docs/examples/1.5.x/server-php/examples/databases/list-attributes.md b/docs/examples/1.5.x/server-php/examples/databases/list-attributes.md index 2e087d026c..fb53eae371 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/list-attributes.md +++ b/docs/examples/1.5.x/server-php/examples/databases/list-attributes.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); diff --git a/docs/examples/1.5.x/server-php/examples/databases/list-collections.md b/docs/examples/1.5.x/server-php/examples/databases/list-collections.md index 0f43e4d05f..941e4a6e57 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/list-collections.md +++ b/docs/examples/1.5.x/server-php/examples/databases/list-collections.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); diff --git a/docs/examples/1.5.x/server-php/examples/databases/list-documents.md b/docs/examples/1.5.x/server-php/examples/databases/list-documents.md index bead79b364..6ccddf6093 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/list-documents.md +++ b/docs/examples/1.5.x/server-php/examples/databases/list-documents.md @@ -5,7 +5,7 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $databases = new Databases($client); diff --git a/docs/examples/1.5.x/server-php/examples/databases/list-indexes.md b/docs/examples/1.5.x/server-php/examples/databases/list-indexes.md index 2ba17a4598..b3935fc10a 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/list-indexes.md +++ b/docs/examples/1.5.x/server-php/examples/databases/list-indexes.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); diff --git a/docs/examples/1.5.x/server-php/examples/databases/list.md b/docs/examples/1.5.x/server-php/examples/databases/list.md index d2bfe71d48..d5d078f8ec 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/list.md +++ b/docs/examples/1.5.x/server-php/examples/databases/list.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); diff --git a/docs/examples/1.5.x/server-php/examples/databases/update-boolean-attribute.md b/docs/examples/1.5.x/server-php/examples/databases/update-boolean-attribute.md index a070a83327..133fbb8b47 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.5.x/server-php/examples/databases/update-boolean-attribute.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); @@ -15,5 +15,6 @@ $result = $databases->updateBooleanAttribute( collectionId: '<COLLECTION_ID>', key: '', required: false, - default: false + default: false, + newKey: '' // optional ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-php/examples/databases/update-collection.md b/docs/examples/1.5.x/server-php/examples/databases/update-collection.md index c9232170c4..790bb2b9c8 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/update-collection.md +++ b/docs/examples/1.5.x/server-php/examples/databases/update-collection.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); diff --git a/docs/examples/1.5.x/server-php/examples/databases/update-datetime-attribute.md b/docs/examples/1.5.x/server-php/examples/databases/update-datetime-attribute.md index e4e89ad9fc..4773e54537 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.5.x/server-php/examples/databases/update-datetime-attribute.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); @@ -15,5 +15,6 @@ $result = $databases->updateDatetimeAttribute( collectionId: '<COLLECTION_ID>', key: '', required: false, - default: '' + default: '', + newKey: '' // optional ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-php/examples/databases/update-document.md b/docs/examples/1.5.x/server-php/examples/databases/update-document.md index 837653ff9a..a1b7018711 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/update-document.md +++ b/docs/examples/1.5.x/server-php/examples/databases/update-document.md @@ -5,7 +5,7 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $databases = new Databases($client); diff --git a/docs/examples/1.5.x/server-php/examples/databases/update-email-attribute.md b/docs/examples/1.5.x/server-php/examples/databases/update-email-attribute.md index 518a255b37..9c1bdb48bd 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/update-email-attribute.md +++ b/docs/examples/1.5.x/server-php/examples/databases/update-email-attribute.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); @@ -15,5 +15,6 @@ $result = $databases->updateEmailAttribute( collectionId: '<COLLECTION_ID>', key: '', required: false, - default: 'email@example.com' + default: 'email@example.com', + newKey: '' // optional ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-php/examples/databases/update-enum-attribute.md b/docs/examples/1.5.x/server-php/examples/databases/update-enum-attribute.md index 55368c61c1..88229bc999 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.5.x/server-php/examples/databases/update-enum-attribute.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); @@ -16,5 +16,6 @@ $result = $databases->updateEnumAttribute( key: '', elements: [], required: false, - default: '<DEFAULT>' + default: '<DEFAULT>', + newKey: '' // optional ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-php/examples/databases/update-float-attribute.md b/docs/examples/1.5.x/server-php/examples/databases/update-float-attribute.md index a7ec238718..39ad3b1ce2 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/update-float-attribute.md +++ b/docs/examples/1.5.x/server-php/examples/databases/update-float-attribute.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); @@ -15,7 +15,8 @@ $result = $databases->updateFloatAttribute( collectionId: '<COLLECTION_ID>', key: '', required: false, - min: null, - max: null, - default: null + default: null, + min: null, // optional + max: null, // optional + newKey: '' // optional ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-php/examples/databases/update-integer-attribute.md b/docs/examples/1.5.x/server-php/examples/databases/update-integer-attribute.md index 4567a3cd33..af4957aa05 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.5.x/server-php/examples/databases/update-integer-attribute.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); @@ -15,7 +15,8 @@ $result = $databases->updateIntegerAttribute( collectionId: '<COLLECTION_ID>', key: '', required: false, - min: null, - max: null, - default: null + default: null, + min: null, // optional + max: null, // optional + newKey: '' // optional ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-php/examples/databases/update-ip-attribute.md b/docs/examples/1.5.x/server-php/examples/databases/update-ip-attribute.md index 8e7c87b9a8..e88e75c2b6 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.5.x/server-php/examples/databases/update-ip-attribute.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); @@ -15,5 +15,6 @@ $result = $databases->updateIpAttribute( collectionId: '<COLLECTION_ID>', key: '', required: false, - default: '' + default: '', + newKey: '' // optional ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-php/examples/databases/update-relationship-attribute.md b/docs/examples/1.5.x/server-php/examples/databases/update-relationship-attribute.md index 756de78263..0afaea27b5 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.5.x/server-php/examples/databases/update-relationship-attribute.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); @@ -14,5 +14,6 @@ $result = $databases->updateRelationshipAttribute( databaseId: '<DATABASE_ID>', collectionId: '<COLLECTION_ID>', key: '', - onDelete: RelationMutate::CASCADE() // optional + onDelete: RelationMutate::CASCADE(), // optional + newKey: '' // optional ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-php/examples/databases/update-string-attribute.md b/docs/examples/1.5.x/server-php/examples/databases/update-string-attribute.md index 819aee45e6..721ba324de 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/update-string-attribute.md +++ b/docs/examples/1.5.x/server-php/examples/databases/update-string-attribute.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); @@ -15,5 +15,7 @@ $result = $databases->updateStringAttribute( collectionId: '<COLLECTION_ID>', key: '', required: false, - default: '<DEFAULT>' + default: '<DEFAULT>', + size: 1, // optional + newKey: '' // optional ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-php/examples/databases/update-url-attribute.md b/docs/examples/1.5.x/server-php/examples/databases/update-url-attribute.md index d7f9c8981b..1825e55845 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/update-url-attribute.md +++ b/docs/examples/1.5.x/server-php/examples/databases/update-url-attribute.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); @@ -15,5 +15,6 @@ $result = $databases->updateUrlAttribute( collectionId: '<COLLECTION_ID>', key: '', required: false, - default: 'https://example.com' + default: 'https://example.com', + newKey: '' // optional ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-php/examples/databases/update.md b/docs/examples/1.5.x/server-php/examples/databases/update.md index 484875a7a6..d9bf5e9738 100644 --- a/docs/examples/1.5.x/server-php/examples/databases/update.md +++ b/docs/examples/1.5.x/server-php/examples/databases/update.md @@ -5,8 +5,8 @@ use Appwrite\Services\Databases; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $databases = new Databases($client); diff --git a/docs/examples/1.5.x/server-php/examples/functions/create-build.md b/docs/examples/1.5.x/server-php/examples/functions/create-build.md index 6d60cb8324..429653c3c5 100644 --- a/docs/examples/1.5.x/server-php/examples/functions/create-build.md +++ b/docs/examples/1.5.x/server-php/examples/functions/create-build.md @@ -5,13 +5,13 @@ use Appwrite\Services\Functions; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $functions = new Functions($client); $result = $functions->createBuild( functionId: '<FUNCTION_ID>', deploymentId: '<DEPLOYMENT_ID>', - buildId: '<BUILD_ID>' + buildId: '<BUILD_ID>' // optional ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-php/examples/functions/create-deployment.md b/docs/examples/1.5.x/server-php/examples/functions/create-deployment.md index 370ca1d048..90f4c7ed18 100644 --- a/docs/examples/1.5.x/server-php/examples/functions/create-deployment.md +++ b/docs/examples/1.5.x/server-php/examples/functions/create-deployment.md @@ -6,8 +6,8 @@ use Appwrite\Services\Functions; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $functions = new Functions($client); diff --git a/docs/examples/1.5.x/server-php/examples/functions/create-execution.md b/docs/examples/1.5.x/server-php/examples/functions/create-execution.md index 59493d4adf..4c62b9afc0 100644 --- a/docs/examples/1.5.x/server-php/examples/functions/create-execution.md +++ b/docs/examples/1.5.x/server-php/examples/functions/create-execution.md @@ -5,7 +5,7 @@ use Appwrite\Services\Functions; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $functions = new Functions($client); @@ -16,5 +16,6 @@ $result = $functions->createExecution( async: false, // optional path: '<PATH>', // optional method: ExecutionMethod::GET(), // optional - headers: [] // optional + headers: [], // optional + scheduledAt: '' // optional ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-php/examples/functions/create-variable.md b/docs/examples/1.5.x/server-php/examples/functions/create-variable.md index f1d35c3092..fc1ee4afeb 100644 --- a/docs/examples/1.5.x/server-php/examples/functions/create-variable.md +++ b/docs/examples/1.5.x/server-php/examples/functions/create-variable.md @@ -5,8 +5,8 @@ use Appwrite\Services\Functions; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $functions = new Functions($client); diff --git a/docs/examples/1.5.x/server-php/examples/functions/create.md b/docs/examples/1.5.x/server-php/examples/functions/create.md index 0c282bae10..6b16c59cbd 100644 --- a/docs/examples/1.5.x/server-php/examples/functions/create.md +++ b/docs/examples/1.5.x/server-php/examples/functions/create.md @@ -6,8 +6,8 @@ use Appwrite\Enums\; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $functions = new Functions($client); @@ -23,6 +23,7 @@ $result = $functions->create( logging: false, // optional entrypoint: '<ENTRYPOINT>', // optional commands: '<COMMANDS>', // optional + scopes: [], // optional installationId: '<INSTALLATION_ID>', // optional providerRepositoryId: '<PROVIDER_REPOSITORY_ID>', // optional providerBranch: '<PROVIDER_BRANCH>', // optional @@ -31,5 +32,6 @@ $result = $functions->create( templateRepository: '<TEMPLATE_REPOSITORY>', // optional templateOwner: '<TEMPLATE_OWNER>', // optional templateRootDirectory: '<TEMPLATE_ROOT_DIRECTORY>', // optional - templateBranch: '<TEMPLATE_BRANCH>' // optional + templateVersion: '<TEMPLATE_VERSION>', // optional + specification: '' // optional ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-php/examples/functions/delete-deployment.md b/docs/examples/1.5.x/server-php/examples/functions/delete-deployment.md index 6a609cd037..23439f2107 100644 --- a/docs/examples/1.5.x/server-php/examples/functions/delete-deployment.md +++ b/docs/examples/1.5.x/server-php/examples/functions/delete-deployment.md @@ -5,8 +5,8 @@ use Appwrite\Services\Functions; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $functions = new Functions($client); diff --git a/docs/examples/1.5.x/server-php/examples/functions/delete-execution.md b/docs/examples/1.5.x/server-php/examples/functions/delete-execution.md new file mode 100644 index 0000000000..4fbef18175 --- /dev/null +++ b/docs/examples/1.5.x/server-php/examples/functions/delete-execution.md @@ -0,0 +1,16 @@ +<?php + +use Appwrite\Client; +use Appwrite\Services\Functions; + +$client = (new Client()) + ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key + +$functions = new Functions($client); + +$result = $functions->deleteExecution( + functionId: '<FUNCTION_ID>', + executionId: '<EXECUTION_ID>' +); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-php/examples/functions/delete-variable.md b/docs/examples/1.5.x/server-php/examples/functions/delete-variable.md index d25df57af6..344506b9e2 100644 --- a/docs/examples/1.5.x/server-php/examples/functions/delete-variable.md +++ b/docs/examples/1.5.x/server-php/examples/functions/delete-variable.md @@ -5,8 +5,8 @@ use Appwrite\Services\Functions; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $functions = new Functions($client); diff --git a/docs/examples/1.5.x/server-php/examples/functions/delete.md b/docs/examples/1.5.x/server-php/examples/functions/delete.md index 08b5cc403b..6596754991 100644 --- a/docs/examples/1.5.x/server-php/examples/functions/delete.md +++ b/docs/examples/1.5.x/server-php/examples/functions/delete.md @@ -5,8 +5,8 @@ use Appwrite\Services\Functions; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $functions = new Functions($client); diff --git a/docs/examples/1.5.x/server-php/examples/functions/download-deployment.md b/docs/examples/1.5.x/server-php/examples/functions/download-deployment.md index 9f3b3da51e..17da83111d 100644 --- a/docs/examples/1.5.x/server-php/examples/functions/download-deployment.md +++ b/docs/examples/1.5.x/server-php/examples/functions/download-deployment.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Functions; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key diff --git a/docs/examples/1.5.x/server-php/examples/functions/get-deployment-download.md b/docs/examples/1.5.x/server-php/examples/functions/get-deployment-download.md new file mode 100644 index 0000000000..4103ec81e9 --- /dev/null +++ b/docs/examples/1.5.x/server-php/examples/functions/get-deployment-download.md @@ -0,0 +1,16 @@ +<?php + +use Appwrite\Client; +use Appwrite\Services\Functions; + +$client = (new Client()) + ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key + +$functions = new Functions($client); + +$result = $functions->getDeploymentDownload( + functionId: '<FUNCTION_ID>', + deploymentId: '<DEPLOYMENT_ID>' +); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-php/examples/functions/get-deployment.md b/docs/examples/1.5.x/server-php/examples/functions/get-deployment.md index 12e37f32eb..73d70816cf 100644 --- a/docs/examples/1.5.x/server-php/examples/functions/get-deployment.md +++ b/docs/examples/1.5.x/server-php/examples/functions/get-deployment.md @@ -5,8 +5,8 @@ use Appwrite\Services\Functions; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $functions = new Functions($client); diff --git a/docs/examples/1.5.x/server-php/examples/functions/get-execution.md b/docs/examples/1.5.x/server-php/examples/functions/get-execution.md index 47270d66fc..9bb8d6af7a 100644 --- a/docs/examples/1.5.x/server-php/examples/functions/get-execution.md +++ b/docs/examples/1.5.x/server-php/examples/functions/get-execution.md @@ -5,7 +5,7 @@ use Appwrite\Services\Functions; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $functions = new Functions($client); diff --git a/docs/examples/1.5.x/server-php/examples/functions/get-variable.md b/docs/examples/1.5.x/server-php/examples/functions/get-variable.md index 3635372af5..cdb5ce9c45 100644 --- a/docs/examples/1.5.x/server-php/examples/functions/get-variable.md +++ b/docs/examples/1.5.x/server-php/examples/functions/get-variable.md @@ -5,8 +5,8 @@ use Appwrite\Services\Functions; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $functions = new Functions($client); diff --git a/docs/examples/1.5.x/server-php/examples/functions/get.md b/docs/examples/1.5.x/server-php/examples/functions/get.md index 00993f7da2..d249ce7266 100644 --- a/docs/examples/1.5.x/server-php/examples/functions/get.md +++ b/docs/examples/1.5.x/server-php/examples/functions/get.md @@ -5,8 +5,8 @@ use Appwrite\Services\Functions; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $functions = new Functions($client); diff --git a/docs/examples/1.5.x/server-php/examples/functions/list-deployments.md b/docs/examples/1.5.x/server-php/examples/functions/list-deployments.md index 7f6480859c..9046c1880a 100644 --- a/docs/examples/1.5.x/server-php/examples/functions/list-deployments.md +++ b/docs/examples/1.5.x/server-php/examples/functions/list-deployments.md @@ -5,8 +5,8 @@ use Appwrite\Services\Functions; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $functions = new Functions($client); diff --git a/docs/examples/1.5.x/server-php/examples/functions/list-executions.md b/docs/examples/1.5.x/server-php/examples/functions/list-executions.md index b446868c2c..05e60a0cb9 100644 --- a/docs/examples/1.5.x/server-php/examples/functions/list-executions.md +++ b/docs/examples/1.5.x/server-php/examples/functions/list-executions.md @@ -5,7 +5,7 @@ use Appwrite\Services\Functions; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $functions = new Functions($client); diff --git a/docs/examples/1.5.x/server-php/examples/functions/list-runtimes.md b/docs/examples/1.5.x/server-php/examples/functions/list-runtimes.md index 75be157f69..1d2297846a 100644 --- a/docs/examples/1.5.x/server-php/examples/functions/list-runtimes.md +++ b/docs/examples/1.5.x/server-php/examples/functions/list-runtimes.md @@ -5,8 +5,8 @@ use Appwrite\Services\Functions; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $functions = new Functions($client); diff --git a/docs/examples/1.5.x/server-php/examples/functions/list-specifications.md b/docs/examples/1.5.x/server-php/examples/functions/list-specifications.md new file mode 100644 index 0000000000..e68a4b0a8b --- /dev/null +++ b/docs/examples/1.5.x/server-php/examples/functions/list-specifications.md @@ -0,0 +1,13 @@ +<?php + +use Appwrite\Client; +use Appwrite\Services\Functions; + +$client = (new Client()) + ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key + +$functions = new Functions($client); + +$result = $functions->listSpecifications(); diff --git a/docs/examples/1.5.x/server-php/examples/functions/list-variables.md b/docs/examples/1.5.x/server-php/examples/functions/list-variables.md index 681102b418..b9687a4ef8 100644 --- a/docs/examples/1.5.x/server-php/examples/functions/list-variables.md +++ b/docs/examples/1.5.x/server-php/examples/functions/list-variables.md @@ -5,8 +5,8 @@ use Appwrite\Services\Functions; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $functions = new Functions($client); diff --git a/docs/examples/1.5.x/server-php/examples/functions/list.md b/docs/examples/1.5.x/server-php/examples/functions/list.md index b59494bed7..22aa3cf906 100644 --- a/docs/examples/1.5.x/server-php/examples/functions/list.md +++ b/docs/examples/1.5.x/server-php/examples/functions/list.md @@ -5,8 +5,8 @@ use Appwrite\Services\Functions; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $functions = new Functions($client); diff --git a/docs/examples/1.5.x/server-php/examples/functions/update-deployment-build.md b/docs/examples/1.5.x/server-php/examples/functions/update-deployment-build.md new file mode 100644 index 0000000000..98f2a3aace --- /dev/null +++ b/docs/examples/1.5.x/server-php/examples/functions/update-deployment-build.md @@ -0,0 +1,16 @@ +<?php + +use Appwrite\Client; +use Appwrite\Services\Functions; + +$client = (new Client()) + ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key + +$functions = new Functions($client); + +$result = $functions->updateDeploymentBuild( + functionId: '<FUNCTION_ID>', + deploymentId: '<DEPLOYMENT_ID>' +); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-php/examples/functions/update-deployment.md b/docs/examples/1.5.x/server-php/examples/functions/update-deployment.md index 4405767fe9..9c6ad6dc8f 100644 --- a/docs/examples/1.5.x/server-php/examples/functions/update-deployment.md +++ b/docs/examples/1.5.x/server-php/examples/functions/update-deployment.md @@ -5,8 +5,8 @@ use Appwrite\Services\Functions; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $functions = new Functions($client); diff --git a/docs/examples/1.5.x/server-php/examples/functions/update-variable.md b/docs/examples/1.5.x/server-php/examples/functions/update-variable.md index cdce618450..b1b5008161 100644 --- a/docs/examples/1.5.x/server-php/examples/functions/update-variable.md +++ b/docs/examples/1.5.x/server-php/examples/functions/update-variable.md @@ -5,8 +5,8 @@ use Appwrite\Services\Functions; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $functions = new Functions($client); diff --git a/docs/examples/1.5.x/server-php/examples/functions/update.md b/docs/examples/1.5.x/server-php/examples/functions/update.md index e55108ffdd..8f84ca85eb 100644 --- a/docs/examples/1.5.x/server-php/examples/functions/update.md +++ b/docs/examples/1.5.x/server-php/examples/functions/update.md @@ -5,8 +5,8 @@ use Appwrite\Services\Functions; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $functions = new Functions($client); @@ -22,9 +22,11 @@ $result = $functions->update( logging: false, // optional entrypoint: '<ENTRYPOINT>', // optional commands: '<COMMANDS>', // optional + scopes: [], // optional installationId: '<INSTALLATION_ID>', // optional providerRepositoryId: '<PROVIDER_REPOSITORY_ID>', // optional providerBranch: '<PROVIDER_BRANCH>', // optional providerSilentMode: false, // optional - providerRootDirectory: '<PROVIDER_ROOT_DIRECTORY>' // optional + providerRootDirectory: '<PROVIDER_ROOT_DIRECTORY>', // optional + specification: '' // optional ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-php/examples/graphql/mutation.md b/docs/examples/1.5.x/server-php/examples/graphql/mutation.md index 1be480261b..1a0da4a405 100644 --- a/docs/examples/1.5.x/server-php/examples/graphql/mutation.md +++ b/docs/examples/1.5.x/server-php/examples/graphql/mutation.md @@ -5,8 +5,8 @@ use Appwrite\Services\Graphql; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $graphql = new Graphql($client); diff --git a/docs/examples/1.5.x/server-php/examples/graphql/query.md b/docs/examples/1.5.x/server-php/examples/graphql/query.md index 5467fe11db..eea9e8fc60 100644 --- a/docs/examples/1.5.x/server-php/examples/graphql/query.md +++ b/docs/examples/1.5.x/server-php/examples/graphql/query.md @@ -5,8 +5,8 @@ use Appwrite\Services\Graphql; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $graphql = new Graphql($client); diff --git a/docs/examples/1.5.x/server-php/examples/health/get-antivirus.md b/docs/examples/1.5.x/server-php/examples/health/get-antivirus.md index 7f4fcb8ac3..1f0dd2feeb 100644 --- a/docs/examples/1.5.x/server-php/examples/health/get-antivirus.md +++ b/docs/examples/1.5.x/server-php/examples/health/get-antivirus.md @@ -5,8 +5,8 @@ use Appwrite\Services\Health; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $health = new Health($client); diff --git a/docs/examples/1.5.x/server-php/examples/health/get-cache.md b/docs/examples/1.5.x/server-php/examples/health/get-cache.md index 4fe6e69b57..4755d69f1d 100644 --- a/docs/examples/1.5.x/server-php/examples/health/get-cache.md +++ b/docs/examples/1.5.x/server-php/examples/health/get-cache.md @@ -5,8 +5,8 @@ use Appwrite\Services\Health; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $health = new Health($client); diff --git a/docs/examples/1.5.x/server-php/examples/health/get-certificate.md b/docs/examples/1.5.x/server-php/examples/health/get-certificate.md index 1f4d55ee99..1f0cda448d 100644 --- a/docs/examples/1.5.x/server-php/examples/health/get-certificate.md +++ b/docs/examples/1.5.x/server-php/examples/health/get-certificate.md @@ -5,8 +5,8 @@ use Appwrite\Services\Health; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $health = new Health($client); diff --git a/docs/examples/1.5.x/server-php/examples/health/get-d-b.md b/docs/examples/1.5.x/server-php/examples/health/get-d-b.md index ca1349b170..fec1daa8ee 100644 --- a/docs/examples/1.5.x/server-php/examples/health/get-d-b.md +++ b/docs/examples/1.5.x/server-php/examples/health/get-d-b.md @@ -5,8 +5,8 @@ use Appwrite\Services\Health; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $health = new Health($client); diff --git a/docs/examples/1.5.x/server-php/examples/health/get-failed-jobs.md b/docs/examples/1.5.x/server-php/examples/health/get-failed-jobs.md index 94a8d74671..8e331bcbfe 100644 --- a/docs/examples/1.5.x/server-php/examples/health/get-failed-jobs.md +++ b/docs/examples/1.5.x/server-php/examples/health/get-failed-jobs.md @@ -6,8 +6,8 @@ use Appwrite\Enums\; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $health = new Health($client); diff --git a/docs/examples/1.5.x/server-php/examples/health/get-pub-sub.md b/docs/examples/1.5.x/server-php/examples/health/get-pub-sub.md index 63cd7647bc..fb266b132d 100644 --- a/docs/examples/1.5.x/server-php/examples/health/get-pub-sub.md +++ b/docs/examples/1.5.x/server-php/examples/health/get-pub-sub.md @@ -5,8 +5,8 @@ use Appwrite\Services\Health; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $health = new Health($client); diff --git a/docs/examples/1.5.x/server-php/examples/health/get-queue-builds.md b/docs/examples/1.5.x/server-php/examples/health/get-queue-builds.md index 56d342ba5d..7886dfb21e 100644 --- a/docs/examples/1.5.x/server-php/examples/health/get-queue-builds.md +++ b/docs/examples/1.5.x/server-php/examples/health/get-queue-builds.md @@ -5,8 +5,8 @@ use Appwrite\Services\Health; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $health = new Health($client); diff --git a/docs/examples/1.5.x/server-php/examples/health/get-queue-certificates.md b/docs/examples/1.5.x/server-php/examples/health/get-queue-certificates.md index 10c1308e59..b00611e354 100644 --- a/docs/examples/1.5.x/server-php/examples/health/get-queue-certificates.md +++ b/docs/examples/1.5.x/server-php/examples/health/get-queue-certificates.md @@ -5,8 +5,8 @@ use Appwrite\Services\Health; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $health = new Health($client); diff --git a/docs/examples/1.5.x/server-php/examples/health/get-queue-databases.md b/docs/examples/1.5.x/server-php/examples/health/get-queue-databases.md index c51e123bcd..81e8442f0d 100644 --- a/docs/examples/1.5.x/server-php/examples/health/get-queue-databases.md +++ b/docs/examples/1.5.x/server-php/examples/health/get-queue-databases.md @@ -5,8 +5,8 @@ use Appwrite\Services\Health; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $health = new Health($client); diff --git a/docs/examples/1.5.x/server-php/examples/health/get-queue-deletes.md b/docs/examples/1.5.x/server-php/examples/health/get-queue-deletes.md index 70dcaca398..fe51b072c8 100644 --- a/docs/examples/1.5.x/server-php/examples/health/get-queue-deletes.md +++ b/docs/examples/1.5.x/server-php/examples/health/get-queue-deletes.md @@ -5,8 +5,8 @@ use Appwrite\Services\Health; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $health = new Health($client); diff --git a/docs/examples/1.5.x/server-php/examples/health/get-queue-functions.md b/docs/examples/1.5.x/server-php/examples/health/get-queue-functions.md index 46cde88161..e6ee688076 100644 --- a/docs/examples/1.5.x/server-php/examples/health/get-queue-functions.md +++ b/docs/examples/1.5.x/server-php/examples/health/get-queue-functions.md @@ -5,8 +5,8 @@ use Appwrite\Services\Health; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $health = new Health($client); diff --git a/docs/examples/1.5.x/server-php/examples/health/get-queue-logs.md b/docs/examples/1.5.x/server-php/examples/health/get-queue-logs.md index c982068db4..4c9b0cd81c 100644 --- a/docs/examples/1.5.x/server-php/examples/health/get-queue-logs.md +++ b/docs/examples/1.5.x/server-php/examples/health/get-queue-logs.md @@ -5,8 +5,8 @@ use Appwrite\Services\Health; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $health = new Health($client); diff --git a/docs/examples/1.5.x/server-php/examples/health/get-queue-mails.md b/docs/examples/1.5.x/server-php/examples/health/get-queue-mails.md index ad415fc88b..02d4ed2663 100644 --- a/docs/examples/1.5.x/server-php/examples/health/get-queue-mails.md +++ b/docs/examples/1.5.x/server-php/examples/health/get-queue-mails.md @@ -5,8 +5,8 @@ use Appwrite\Services\Health; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $health = new Health($client); diff --git a/docs/examples/1.5.x/server-php/examples/health/get-queue-messaging.md b/docs/examples/1.5.x/server-php/examples/health/get-queue-messaging.md index a722d2fca9..ec69788353 100644 --- a/docs/examples/1.5.x/server-php/examples/health/get-queue-messaging.md +++ b/docs/examples/1.5.x/server-php/examples/health/get-queue-messaging.md @@ -5,8 +5,8 @@ use Appwrite\Services\Health; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $health = new Health($client); diff --git a/docs/examples/1.5.x/server-php/examples/health/get-queue-migrations.md b/docs/examples/1.5.x/server-php/examples/health/get-queue-migrations.md index 2e2826dc6d..f52f78a0a8 100644 --- a/docs/examples/1.5.x/server-php/examples/health/get-queue-migrations.md +++ b/docs/examples/1.5.x/server-php/examples/health/get-queue-migrations.md @@ -5,8 +5,8 @@ use Appwrite\Services\Health; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $health = new Health($client); diff --git a/docs/examples/1.5.x/server-php/examples/health/get-queue-stats-resources.md b/docs/examples/1.5.x/server-php/examples/health/get-queue-stats-resources.md new file mode 100644 index 0000000000..fd9d421773 --- /dev/null +++ b/docs/examples/1.5.x/server-php/examples/health/get-queue-stats-resources.md @@ -0,0 +1,15 @@ +<?php + +use Appwrite\Client; +use Appwrite\Services\Health; + +$client = (new Client()) + ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key + +$health = new Health($client); + +$result = $health->getQueueStatsResources( + threshold: null // optional +); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-php/examples/health/get-queue-usage-dump.md b/docs/examples/1.5.x/server-php/examples/health/get-queue-usage-dump.md index 050cbeb857..bd7d1c5d0b 100644 --- a/docs/examples/1.5.x/server-php/examples/health/get-queue-usage-dump.md +++ b/docs/examples/1.5.x/server-php/examples/health/get-queue-usage-dump.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Health; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key diff --git a/docs/examples/1.5.x/server-php/examples/health/get-queue-usage.md b/docs/examples/1.5.x/server-php/examples/health/get-queue-usage.md index d9a3fb9121..018e8acf0a 100644 --- a/docs/examples/1.5.x/server-php/examples/health/get-queue-usage.md +++ b/docs/examples/1.5.x/server-php/examples/health/get-queue-usage.md @@ -5,8 +5,8 @@ use Appwrite\Services\Health; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $health = new Health($client); diff --git a/docs/examples/1.5.x/server-php/examples/health/get-queue-webhooks.md b/docs/examples/1.5.x/server-php/examples/health/get-queue-webhooks.md index e1d6e6fdc7..7e7af127c1 100644 --- a/docs/examples/1.5.x/server-php/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.5.x/server-php/examples/health/get-queue-webhooks.md @@ -5,8 +5,8 @@ use Appwrite\Services\Health; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $health = new Health($client); diff --git a/docs/examples/1.5.x/server-php/examples/health/get-queue.md b/docs/examples/1.5.x/server-php/examples/health/get-queue.md index a8b1393e0b..3a6033414a 100644 --- a/docs/examples/1.5.x/server-php/examples/health/get-queue.md +++ b/docs/examples/1.5.x/server-php/examples/health/get-queue.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Health; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key diff --git a/docs/examples/1.5.x/server-php/examples/health/get-storage-local.md b/docs/examples/1.5.x/server-php/examples/health/get-storage-local.md index 43bef96231..0c26902ee7 100644 --- a/docs/examples/1.5.x/server-php/examples/health/get-storage-local.md +++ b/docs/examples/1.5.x/server-php/examples/health/get-storage-local.md @@ -5,8 +5,8 @@ use Appwrite\Services\Health; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $health = new Health($client); diff --git a/docs/examples/1.5.x/server-php/examples/health/get-storage.md b/docs/examples/1.5.x/server-php/examples/health/get-storage.md index d5d817a12e..abfc5bbd1b 100644 --- a/docs/examples/1.5.x/server-php/examples/health/get-storage.md +++ b/docs/examples/1.5.x/server-php/examples/health/get-storage.md @@ -5,8 +5,8 @@ use Appwrite\Services\Health; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $health = new Health($client); diff --git a/docs/examples/1.5.x/server-php/examples/health/get-time.md b/docs/examples/1.5.x/server-php/examples/health/get-time.md index d31e757f3f..4577be3294 100644 --- a/docs/examples/1.5.x/server-php/examples/health/get-time.md +++ b/docs/examples/1.5.x/server-php/examples/health/get-time.md @@ -5,8 +5,8 @@ use Appwrite\Services\Health; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $health = new Health($client); diff --git a/docs/examples/1.5.x/server-php/examples/health/get.md b/docs/examples/1.5.x/server-php/examples/health/get.md index 6e8216c1a8..514d083756 100644 --- a/docs/examples/1.5.x/server-php/examples/health/get.md +++ b/docs/examples/1.5.x/server-php/examples/health/get.md @@ -5,8 +5,8 @@ use Appwrite\Services\Health; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $health = new Health($client); diff --git a/docs/examples/1.5.x/server-php/examples/locale/get.md b/docs/examples/1.5.x/server-php/examples/locale/get.md index beecee98db..82247d4a68 100644 --- a/docs/examples/1.5.x/server-php/examples/locale/get.md +++ b/docs/examples/1.5.x/server-php/examples/locale/get.md @@ -5,7 +5,7 @@ use Appwrite\Services\Locale; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $locale = new Locale($client); diff --git a/docs/examples/1.5.x/server-php/examples/locale/list-codes.md b/docs/examples/1.5.x/server-php/examples/locale/list-codes.md index 699326fc65..a88c2b6476 100644 --- a/docs/examples/1.5.x/server-php/examples/locale/list-codes.md +++ b/docs/examples/1.5.x/server-php/examples/locale/list-codes.md @@ -5,7 +5,7 @@ use Appwrite\Services\Locale; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $locale = new Locale($client); diff --git a/docs/examples/1.5.x/server-php/examples/locale/list-continents.md b/docs/examples/1.5.x/server-php/examples/locale/list-continents.md index 038f099445..e861eced56 100644 --- a/docs/examples/1.5.x/server-php/examples/locale/list-continents.md +++ b/docs/examples/1.5.x/server-php/examples/locale/list-continents.md @@ -5,7 +5,7 @@ use Appwrite\Services\Locale; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $locale = new Locale($client); diff --git a/docs/examples/1.5.x/server-php/examples/locale/list-countries-e-u.md b/docs/examples/1.5.x/server-php/examples/locale/list-countries-e-u.md index 1b895e5e97..2b8bf7ee02 100644 --- a/docs/examples/1.5.x/server-php/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.5.x/server-php/examples/locale/list-countries-e-u.md @@ -5,7 +5,7 @@ use Appwrite\Services\Locale; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $locale = new Locale($client); diff --git a/docs/examples/1.5.x/server-php/examples/locale/list-countries-phones.md b/docs/examples/1.5.x/server-php/examples/locale/list-countries-phones.md index 503ff39c0b..fba9ff8ec2 100644 --- a/docs/examples/1.5.x/server-php/examples/locale/list-countries-phones.md +++ b/docs/examples/1.5.x/server-php/examples/locale/list-countries-phones.md @@ -5,7 +5,7 @@ use Appwrite\Services\Locale; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $locale = new Locale($client); diff --git a/docs/examples/1.5.x/server-php/examples/locale/list-countries.md b/docs/examples/1.5.x/server-php/examples/locale/list-countries.md index 3e092d7713..60801b4dc5 100644 --- a/docs/examples/1.5.x/server-php/examples/locale/list-countries.md +++ b/docs/examples/1.5.x/server-php/examples/locale/list-countries.md @@ -5,7 +5,7 @@ use Appwrite\Services\Locale; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $locale = new Locale($client); diff --git a/docs/examples/1.5.x/server-php/examples/locale/list-currencies.md b/docs/examples/1.5.x/server-php/examples/locale/list-currencies.md index 81157c9efe..5fb1667e59 100644 --- a/docs/examples/1.5.x/server-php/examples/locale/list-currencies.md +++ b/docs/examples/1.5.x/server-php/examples/locale/list-currencies.md @@ -5,7 +5,7 @@ use Appwrite\Services\Locale; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $locale = new Locale($client); diff --git a/docs/examples/1.5.x/server-php/examples/locale/list-languages.md b/docs/examples/1.5.x/server-php/examples/locale/list-languages.md index 31de74086b..aec67ca74a 100644 --- a/docs/examples/1.5.x/server-php/examples/locale/list-languages.md +++ b/docs/examples/1.5.x/server-php/examples/locale/list-languages.md @@ -5,7 +5,7 @@ use Appwrite\Services\Locale; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $locale = new Locale($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/create-a-p-n-s-provider.md b/docs/examples/1.5.x/server-php/examples/messaging/create-a-p-n-s-provider.md index 686c61cd77..0b2d4669ba 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/create-a-p-n-s-provider.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/create-a-p-n-s-provider.md @@ -6,7 +6,7 @@ use Appwrite\Services\Messaging; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.5.x/server-php/examples/messaging/create-apns-provider.md b/docs/examples/1.5.x/server-php/examples/messaging/create-apns-provider.md index 48140782a9..bdc5d7fcc7 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/create-apns-provider.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/create-apns-provider.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/create-email.md b/docs/examples/1.5.x/server-php/examples/messaging/create-email.md index 8327f74e1b..fe51bf1627 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/create-email.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/create-email.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/create-f-c-m-provider.md b/docs/examples/1.5.x/server-php/examples/messaging/create-f-c-m-provider.md index 7f083cdbd5..beb512b239 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/create-f-c-m-provider.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/create-f-c-m-provider.md @@ -6,7 +6,7 @@ use Appwrite\Services\Messaging; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.5.x/server-php/examples/messaging/create-fcm-provider.md b/docs/examples/1.5.x/server-php/examples/messaging/create-fcm-provider.md index 4bb7123a50..7252fde72e 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/create-fcm-provider.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/create-fcm-provider.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/create-mailgun-provider.md b/docs/examples/1.5.x/server-php/examples/messaging/create-mailgun-provider.md index 8ffa70c51c..72f3360f26 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/create-mailgun-provider.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/create-mailgun-provider.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/create-msg91provider.md b/docs/examples/1.5.x/server-php/examples/messaging/create-msg91provider.md index 5efd866c1e..bb7a79aea1 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/create-msg91provider.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/create-msg91provider.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/create-push.md b/docs/examples/1.5.x/server-php/examples/messaging/create-push.md index 7b7eb8e712..9aaf6ad4ad 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/create-push.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/create-push.md @@ -5,15 +5,15 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); $result = $messaging->createPush( messageId: '<MESSAGE_ID>', - title: '<TITLE>', - body: '<BODY>', + title: '<TITLE>', // optional + body: '<BODY>', // optional topics: [], // optional users: [], // optional targets: [], // optional @@ -24,7 +24,10 @@ $result = $messaging->createPush( sound: '<SOUND>', // optional color: '<COLOR>', // optional tag: '<TAG>', // optional - badge: '<BADGE>', // optional + badge: null, // optional draft: false, // optional - scheduledAt: '' // optional + scheduledAt: '', // optional + contentAvailable: false, // optional + critical: false, // optional + priority: MessagePriority::NORMAL() // optional ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-php/examples/messaging/create-s-m-s.md b/docs/examples/1.5.x/server-php/examples/messaging/create-s-m-s.md index 5ee3ae3c7d..fd6f57fdc1 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/create-s-m-s.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/create-s-m-s.md @@ -6,7 +6,7 @@ use Appwrite\Services\Messaging; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.5.x/server-php/examples/messaging/create-s-m-t-p-provider.md b/docs/examples/1.5.x/server-php/examples/messaging/create-s-m-t-p-provider.md index 8c84350d29..f3aa85c439 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/create-s-m-t-p-provider.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/create-s-m-t-p-provider.md @@ -6,7 +6,7 @@ use Appwrite\Services\Messaging; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.5.x/server-php/examples/messaging/create-sendgrid-provider.md b/docs/examples/1.5.x/server-php/examples/messaging/create-sendgrid-provider.md index fbaa819ea2..53381f67c3 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/create-sendgrid-provider.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/create-sendgrid-provider.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/create-sms.md b/docs/examples/1.5.x/server-php/examples/messaging/create-sms.md index ae28808176..8c0cb79dbf 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/create-sms.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/create-sms.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/create-smtp-provider.md b/docs/examples/1.5.x/server-php/examples/messaging/create-smtp-provider.md index 4c6d384633..fd771fa2ac 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/create-smtp-provider.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/create-smtp-provider.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/create-subscriber.md b/docs/examples/1.5.x/server-php/examples/messaging/create-subscriber.md index 36a2a76082..c0324ab382 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/create-subscriber.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/create-subscriber.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...'); // Your secret JSON Web Token + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setJWT('<YOUR_JWT>'); // Your secret JSON Web Token $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/create-telesign-provider.md b/docs/examples/1.5.x/server-php/examples/messaging/create-telesign-provider.md index d84c93f795..89e17a1bca 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/create-telesign-provider.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/create-telesign-provider.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/create-textmagic-provider.md b/docs/examples/1.5.x/server-php/examples/messaging/create-textmagic-provider.md index c1d0337db6..0e0c8681ea 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/create-textmagic-provider.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/create-textmagic-provider.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/create-topic.md b/docs/examples/1.5.x/server-php/examples/messaging/create-topic.md index bf214946c8..79e3d2635d 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/create-topic.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/create-topic.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/create-twilio-provider.md b/docs/examples/1.5.x/server-php/examples/messaging/create-twilio-provider.md index 915cc940a0..f370df244e 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/create-twilio-provider.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/create-twilio-provider.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/create-vonage-provider.md b/docs/examples/1.5.x/server-php/examples/messaging/create-vonage-provider.md index bd1e665651..4663b05c3e 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/create-vonage-provider.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/create-vonage-provider.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/delete-provider.md b/docs/examples/1.5.x/server-php/examples/messaging/delete-provider.md index b52e5f07ed..a3d8d474fc 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/delete-provider.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/delete-provider.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/delete-subscriber.md b/docs/examples/1.5.x/server-php/examples/messaging/delete-subscriber.md index 1736d00f67..a5f7eb79eb 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/delete-subscriber.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/delete-subscriber.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setJWT('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...'); // Your secret JSON Web Token + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setJWT('<YOUR_JWT>'); // Your secret JSON Web Token $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/delete-topic.md b/docs/examples/1.5.x/server-php/examples/messaging/delete-topic.md index 25ed35e77b..7333a8de8d 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/delete-topic.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/delete-topic.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/delete.md b/docs/examples/1.5.x/server-php/examples/messaging/delete.md index 5c05eedd02..b9b3380866 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/delete.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/delete.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/get-message.md b/docs/examples/1.5.x/server-php/examples/messaging/get-message.md index 47b6afd738..c6ff233e6e 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/get-message.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/get-message.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/get-provider.md b/docs/examples/1.5.x/server-php/examples/messaging/get-provider.md index 1576107a97..1d29307aec 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/get-provider.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/get-provider.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/get-subscriber.md b/docs/examples/1.5.x/server-php/examples/messaging/get-subscriber.md index 3fa4c0ae73..503e7010cb 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/get-subscriber.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/get-subscriber.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/get-topic.md b/docs/examples/1.5.x/server-php/examples/messaging/get-topic.md index f732fcbb53..3277168bec 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/get-topic.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/get-topic.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/list-message-logs.md b/docs/examples/1.5.x/server-php/examples/messaging/list-message-logs.md index 58c026e7b0..283b2a7794 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/list-message-logs.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/list-message-logs.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/list-messages.md b/docs/examples/1.5.x/server-php/examples/messaging/list-messages.md index 681863babb..a4190e644b 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/list-messages.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/list-messages.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/list-provider-logs.md b/docs/examples/1.5.x/server-php/examples/messaging/list-provider-logs.md index 3809e67a02..bf80f20477 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/list-provider-logs.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/list-provider-logs.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/list-providers.md b/docs/examples/1.5.x/server-php/examples/messaging/list-providers.md index 99c8cc1dc0..1dc0e3cb98 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/list-providers.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/list-providers.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/list-subscriber-logs.md b/docs/examples/1.5.x/server-php/examples/messaging/list-subscriber-logs.md index 45837902e8..c0c88d6935 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/list-subscriber-logs.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/list-subscriber-logs.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/list-subscribers.md b/docs/examples/1.5.x/server-php/examples/messaging/list-subscribers.md index 36054d2028..7597ad89ce 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/list-subscribers.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/list-subscribers.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/list-targets.md b/docs/examples/1.5.x/server-php/examples/messaging/list-targets.md index b12aa4455d..1825a08838 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/list-targets.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/list-targets.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/list-topic-logs.md b/docs/examples/1.5.x/server-php/examples/messaging/list-topic-logs.md index 49bcc048aa..1ab8c363d6 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/list-topic-logs.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/list-topic-logs.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/list-topics.md b/docs/examples/1.5.x/server-php/examples/messaging/list-topics.md index 565504ab2b..cfcba97a21 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/list-topics.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/list-topics.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/update-a-p-n-s-provider.md b/docs/examples/1.5.x/server-php/examples/messaging/update-a-p-n-s-provider.md index 1a114d7c30..5e39b6da06 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/update-a-p-n-s-provider.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/update-a-p-n-s-provider.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key diff --git a/docs/examples/1.5.x/server-php/examples/messaging/update-apns-provider.md b/docs/examples/1.5.x/server-php/examples/messaging/update-apns-provider.md index 5de36f2425..d7177551d5 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/update-apns-provider.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/update-apns-provider.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/update-email.md b/docs/examples/1.5.x/server-php/examples/messaging/update-email.md index 2acafafe46..d3b65692c1 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/update-email.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/update-email.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/update-f-c-m-provider.md b/docs/examples/1.5.x/server-php/examples/messaging/update-f-c-m-provider.md index 314d4393b0..48ec3542c9 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/update-f-c-m-provider.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/update-f-c-m-provider.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key diff --git a/docs/examples/1.5.x/server-php/examples/messaging/update-fcm-provider.md b/docs/examples/1.5.x/server-php/examples/messaging/update-fcm-provider.md index 2cadd87da6..9a80b44ff2 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/update-fcm-provider.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/update-fcm-provider.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/update-mailgun-provider.md b/docs/examples/1.5.x/server-php/examples/messaging/update-mailgun-provider.md index 7f36655f22..7891cb5bb0 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/update-mailgun-provider.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/update-mailgun-provider.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/update-msg91provider.md b/docs/examples/1.5.x/server-php/examples/messaging/update-msg91provider.md index 9ca978293c..98f4f13a59 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/update-msg91provider.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/update-msg91provider.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/update-push.md b/docs/examples/1.5.x/server-php/examples/messaging/update-push.md index 204c63d5da..7546fc8668 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/update-push.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/update-push.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); @@ -26,5 +26,8 @@ $result = $messaging->updatePush( tag: '<TAG>', // optional badge: null, // optional draft: false, // optional - scheduledAt: '' // optional + scheduledAt: '', // optional + contentAvailable: false, // optional + critical: false, // optional + priority: MessagePriority::NORMAL() // optional ); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-php/examples/messaging/update-s-m-s.md b/docs/examples/1.5.x/server-php/examples/messaging/update-s-m-s.md index 825f9ab60f..1f4712234d 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/update-s-m-s.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/update-s-m-s.md @@ -6,7 +6,7 @@ use Appwrite\Services\Messaging; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.5.x/server-php/examples/messaging/update-s-m-t-p-provider.md b/docs/examples/1.5.x/server-php/examples/messaging/update-s-m-t-p-provider.md index 531e4e104e..5123c03031 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/update-s-m-t-p-provider.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/update-s-m-t-p-provider.md @@ -6,7 +6,7 @@ use Appwrite\Services\Messaging; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.5.x/server-php/examples/messaging/update-sendgrid-provider.md b/docs/examples/1.5.x/server-php/examples/messaging/update-sendgrid-provider.md index 61253a467e..2820e2e20e 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/update-sendgrid-provider.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/update-sendgrid-provider.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/update-sms.md b/docs/examples/1.5.x/server-php/examples/messaging/update-sms.md index 9f4b24165d..a342b7a067 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/update-sms.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/update-sms.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/update-smtp-provider.md b/docs/examples/1.5.x/server-php/examples/messaging/update-smtp-provider.md index e4b0ad83c8..66dde3ea01 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/update-smtp-provider.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/update-smtp-provider.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/update-telesign-provider.md b/docs/examples/1.5.x/server-php/examples/messaging/update-telesign-provider.md index b77a45cbb2..3c1b760dd1 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/update-telesign-provider.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/update-telesign-provider.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/update-textmagic-provider.md b/docs/examples/1.5.x/server-php/examples/messaging/update-textmagic-provider.md index e3e3f2b62c..3328ac714d 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/update-textmagic-provider.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/update-textmagic-provider.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/update-topic.md b/docs/examples/1.5.x/server-php/examples/messaging/update-topic.md index 50671b1582..5669e5f754 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/update-topic.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/update-topic.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/update-twilio-provider.md b/docs/examples/1.5.x/server-php/examples/messaging/update-twilio-provider.md index 60eef45d9d..07b7a2eafe 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/update-twilio-provider.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/update-twilio-provider.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/messaging/update-vonage-provider.md b/docs/examples/1.5.x/server-php/examples/messaging/update-vonage-provider.md index 4a3ee5afa2..ba7f5305e5 100644 --- a/docs/examples/1.5.x/server-php/examples/messaging/update-vonage-provider.md +++ b/docs/examples/1.5.x/server-php/examples/messaging/update-vonage-provider.md @@ -5,8 +5,8 @@ use Appwrite\Services\Messaging; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); diff --git a/docs/examples/1.5.x/server-php/examples/storage/create-bucket.md b/docs/examples/1.5.x/server-php/examples/storage/create-bucket.md index 0582e188fd..0c8ef0fefe 100644 --- a/docs/examples/1.5.x/server-php/examples/storage/create-bucket.md +++ b/docs/examples/1.5.x/server-php/examples/storage/create-bucket.md @@ -5,8 +5,8 @@ use Appwrite\Services\Storage; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $storage = new Storage($client); diff --git a/docs/examples/1.5.x/server-php/examples/storage/create-file.md b/docs/examples/1.5.x/server-php/examples/storage/create-file.md index e73af54716..a948546563 100644 --- a/docs/examples/1.5.x/server-php/examples/storage/create-file.md +++ b/docs/examples/1.5.x/server-php/examples/storage/create-file.md @@ -6,7 +6,7 @@ use Appwrite\Services\Storage; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $storage = new Storage($client); diff --git a/docs/examples/1.5.x/server-php/examples/storage/delete-bucket.md b/docs/examples/1.5.x/server-php/examples/storage/delete-bucket.md index 6d5278dfcc..784331887e 100644 --- a/docs/examples/1.5.x/server-php/examples/storage/delete-bucket.md +++ b/docs/examples/1.5.x/server-php/examples/storage/delete-bucket.md @@ -5,8 +5,8 @@ use Appwrite\Services\Storage; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $storage = new Storage($client); diff --git a/docs/examples/1.5.x/server-php/examples/storage/delete-file.md b/docs/examples/1.5.x/server-php/examples/storage/delete-file.md index eff096dc44..4274c25a45 100644 --- a/docs/examples/1.5.x/server-php/examples/storage/delete-file.md +++ b/docs/examples/1.5.x/server-php/examples/storage/delete-file.md @@ -5,7 +5,7 @@ use Appwrite\Services\Storage; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $storage = new Storage($client); diff --git a/docs/examples/1.5.x/server-php/examples/storage/get-bucket.md b/docs/examples/1.5.x/server-php/examples/storage/get-bucket.md index a7a8c1d2af..85a5b75f62 100644 --- a/docs/examples/1.5.x/server-php/examples/storage/get-bucket.md +++ b/docs/examples/1.5.x/server-php/examples/storage/get-bucket.md @@ -5,8 +5,8 @@ use Appwrite\Services\Storage; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $storage = new Storage($client); diff --git a/docs/examples/1.5.x/server-php/examples/storage/get-file-download.md b/docs/examples/1.5.x/server-php/examples/storage/get-file-download.md index 1d4969509c..72be0f6841 100644 --- a/docs/examples/1.5.x/server-php/examples/storage/get-file-download.md +++ b/docs/examples/1.5.x/server-php/examples/storage/get-file-download.md @@ -5,7 +5,7 @@ use Appwrite\Services\Storage; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $storage = new Storage($client); diff --git a/docs/examples/1.5.x/server-php/examples/storage/get-file-preview.md b/docs/examples/1.5.x/server-php/examples/storage/get-file-preview.md index 519ee53ea4..aef4f4a63f 100644 --- a/docs/examples/1.5.x/server-php/examples/storage/get-file-preview.md +++ b/docs/examples/1.5.x/server-php/examples/storage/get-file-preview.md @@ -5,7 +5,7 @@ use Appwrite\Services\Storage; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $storage = new Storage($client); diff --git a/docs/examples/1.5.x/server-php/examples/storage/get-file-view.md b/docs/examples/1.5.x/server-php/examples/storage/get-file-view.md index 9e37230789..782e49bd21 100644 --- a/docs/examples/1.5.x/server-php/examples/storage/get-file-view.md +++ b/docs/examples/1.5.x/server-php/examples/storage/get-file-view.md @@ -5,7 +5,7 @@ use Appwrite\Services\Storage; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $storage = new Storage($client); diff --git a/docs/examples/1.5.x/server-php/examples/storage/get-file.md b/docs/examples/1.5.x/server-php/examples/storage/get-file.md index 894c8bbf95..80196a5199 100644 --- a/docs/examples/1.5.x/server-php/examples/storage/get-file.md +++ b/docs/examples/1.5.x/server-php/examples/storage/get-file.md @@ -5,7 +5,7 @@ use Appwrite\Services\Storage; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $storage = new Storage($client); diff --git a/docs/examples/1.5.x/server-php/examples/storage/list-buckets.md b/docs/examples/1.5.x/server-php/examples/storage/list-buckets.md index 06f4e2a9cb..a53eb913c9 100644 --- a/docs/examples/1.5.x/server-php/examples/storage/list-buckets.md +++ b/docs/examples/1.5.x/server-php/examples/storage/list-buckets.md @@ -5,8 +5,8 @@ use Appwrite\Services\Storage; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $storage = new Storage($client); diff --git a/docs/examples/1.5.x/server-php/examples/storage/list-files.md b/docs/examples/1.5.x/server-php/examples/storage/list-files.md index 824ae303a5..767fe86c30 100644 --- a/docs/examples/1.5.x/server-php/examples/storage/list-files.md +++ b/docs/examples/1.5.x/server-php/examples/storage/list-files.md @@ -5,7 +5,7 @@ use Appwrite\Services\Storage; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $storage = new Storage($client); diff --git a/docs/examples/1.5.x/server-php/examples/storage/update-bucket.md b/docs/examples/1.5.x/server-php/examples/storage/update-bucket.md index 451ff80587..e4a0f5df35 100644 --- a/docs/examples/1.5.x/server-php/examples/storage/update-bucket.md +++ b/docs/examples/1.5.x/server-php/examples/storage/update-bucket.md @@ -5,8 +5,8 @@ use Appwrite\Services\Storage; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $storage = new Storage($client); diff --git a/docs/examples/1.5.x/server-php/examples/storage/update-file.md b/docs/examples/1.5.x/server-php/examples/storage/update-file.md index 531a843ec4..506593f427 100644 --- a/docs/examples/1.5.x/server-php/examples/storage/update-file.md +++ b/docs/examples/1.5.x/server-php/examples/storage/update-file.md @@ -5,7 +5,7 @@ use Appwrite\Services\Storage; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $storage = new Storage($client); diff --git a/docs/examples/1.5.x/server-php/examples/teams/create-membership.md b/docs/examples/1.5.x/server-php/examples/teams/create-membership.md index ef9bf44f86..51b1795a01 100644 --- a/docs/examples/1.5.x/server-php/examples/teams/create-membership.md +++ b/docs/examples/1.5.x/server-php/examples/teams/create-membership.md @@ -5,7 +5,7 @@ use Appwrite\Services\Teams; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $teams = new Teams($client); diff --git a/docs/examples/1.5.x/server-php/examples/teams/create.md b/docs/examples/1.5.x/server-php/examples/teams/create.md index de01cbc473..3cc6b19be9 100644 --- a/docs/examples/1.5.x/server-php/examples/teams/create.md +++ b/docs/examples/1.5.x/server-php/examples/teams/create.md @@ -5,7 +5,7 @@ use Appwrite\Services\Teams; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $teams = new Teams($client); diff --git a/docs/examples/1.5.x/server-php/examples/teams/delete-membership.md b/docs/examples/1.5.x/server-php/examples/teams/delete-membership.md index b68b692a81..04f4056fcd 100644 --- a/docs/examples/1.5.x/server-php/examples/teams/delete-membership.md +++ b/docs/examples/1.5.x/server-php/examples/teams/delete-membership.md @@ -5,7 +5,7 @@ use Appwrite\Services\Teams; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $teams = new Teams($client); diff --git a/docs/examples/1.5.x/server-php/examples/teams/delete.md b/docs/examples/1.5.x/server-php/examples/teams/delete.md index 45f2100cf4..734464538f 100644 --- a/docs/examples/1.5.x/server-php/examples/teams/delete.md +++ b/docs/examples/1.5.x/server-php/examples/teams/delete.md @@ -5,7 +5,7 @@ use Appwrite\Services\Teams; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $teams = new Teams($client); diff --git a/docs/examples/1.5.x/server-php/examples/teams/get-membership.md b/docs/examples/1.5.x/server-php/examples/teams/get-membership.md index f075372fb8..5f4bd63a64 100644 --- a/docs/examples/1.5.x/server-php/examples/teams/get-membership.md +++ b/docs/examples/1.5.x/server-php/examples/teams/get-membership.md @@ -5,7 +5,7 @@ use Appwrite\Services\Teams; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $teams = new Teams($client); diff --git a/docs/examples/1.5.x/server-php/examples/teams/get-prefs.md b/docs/examples/1.5.x/server-php/examples/teams/get-prefs.md index 738a6c7d18..27f6e06973 100644 --- a/docs/examples/1.5.x/server-php/examples/teams/get-prefs.md +++ b/docs/examples/1.5.x/server-php/examples/teams/get-prefs.md @@ -5,7 +5,7 @@ use Appwrite\Services\Teams; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $teams = new Teams($client); diff --git a/docs/examples/1.5.x/server-php/examples/teams/get.md b/docs/examples/1.5.x/server-php/examples/teams/get.md index f68c41582a..f1ce1348d8 100644 --- a/docs/examples/1.5.x/server-php/examples/teams/get.md +++ b/docs/examples/1.5.x/server-php/examples/teams/get.md @@ -5,7 +5,7 @@ use Appwrite\Services\Teams; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $teams = new Teams($client); diff --git a/docs/examples/1.5.x/server-php/examples/teams/list-memberships.md b/docs/examples/1.5.x/server-php/examples/teams/list-memberships.md index 27d5d0075e..9d0c988ce6 100644 --- a/docs/examples/1.5.x/server-php/examples/teams/list-memberships.md +++ b/docs/examples/1.5.x/server-php/examples/teams/list-memberships.md @@ -5,7 +5,7 @@ use Appwrite\Services\Teams; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $teams = new Teams($client); diff --git a/docs/examples/1.5.x/server-php/examples/teams/list.md b/docs/examples/1.5.x/server-php/examples/teams/list.md index 90cdcfd656..7ab8f81b27 100644 --- a/docs/examples/1.5.x/server-php/examples/teams/list.md +++ b/docs/examples/1.5.x/server-php/examples/teams/list.md @@ -5,7 +5,7 @@ use Appwrite\Services\Teams; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $teams = new Teams($client); diff --git a/docs/examples/1.5.x/server-php/examples/teams/update-membership-status.md b/docs/examples/1.5.x/server-php/examples/teams/update-membership-status.md index 4a802a5ec2..6179020df2 100644 --- a/docs/examples/1.5.x/server-php/examples/teams/update-membership-status.md +++ b/docs/examples/1.5.x/server-php/examples/teams/update-membership-status.md @@ -5,7 +5,7 @@ use Appwrite\Services\Teams; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $teams = new Teams($client); diff --git a/docs/examples/1.5.x/server-php/examples/teams/update-membership.md b/docs/examples/1.5.x/server-php/examples/teams/update-membership.md index 308f7f1b9e..3b6cafa5f5 100644 --- a/docs/examples/1.5.x/server-php/examples/teams/update-membership.md +++ b/docs/examples/1.5.x/server-php/examples/teams/update-membership.md @@ -5,7 +5,7 @@ use Appwrite\Services\Teams; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $teams = new Teams($client); diff --git a/docs/examples/1.5.x/server-php/examples/teams/update-name.md b/docs/examples/1.5.x/server-php/examples/teams/update-name.md index 088d32ef25..62768a9fb8 100644 --- a/docs/examples/1.5.x/server-php/examples/teams/update-name.md +++ b/docs/examples/1.5.x/server-php/examples/teams/update-name.md @@ -5,7 +5,7 @@ use Appwrite\Services\Teams; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $teams = new Teams($client); diff --git a/docs/examples/1.5.x/server-php/examples/teams/update-prefs.md b/docs/examples/1.5.x/server-php/examples/teams/update-prefs.md index c2a9aad1ff..ec52ac07df 100644 --- a/docs/examples/1.5.x/server-php/examples/teams/update-prefs.md +++ b/docs/examples/1.5.x/server-php/examples/teams/update-prefs.md @@ -5,7 +5,7 @@ use Appwrite\Services\Teams; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID + ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $teams = new Teams($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/create-argon2user.md b/docs/examples/1.5.x/server-php/examples/users/create-argon2user.md index db01dda58b..a482b5dd57 100644 --- a/docs/examples/1.5.x/server-php/examples/users/create-argon2user.md +++ b/docs/examples/1.5.x/server-php/examples/users/create-argon2user.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/create-bcrypt-user.md b/docs/examples/1.5.x/server-php/examples/users/create-bcrypt-user.md index 0a061f9a50..af71dcdc73 100644 --- a/docs/examples/1.5.x/server-php/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.5.x/server-php/examples/users/create-bcrypt-user.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/create-j-w-t.md b/docs/examples/1.5.x/server-php/examples/users/create-j-w-t.md new file mode 100644 index 0000000000..994cdc3bb3 --- /dev/null +++ b/docs/examples/1.5.x/server-php/examples/users/create-j-w-t.md @@ -0,0 +1,17 @@ +<?php + +use Appwrite\Client; +use Appwrite\Services\Users; + +$client = (new Client()) + ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key + +$users = new Users($client); + +$result = $users->createJWT( + userId: '<USER_ID>', + sessionId: '<SESSION_ID>', // optional + duration: 0 // optional +); \ No newline at end of file diff --git a/docs/examples/1.5.x/server-php/examples/users/create-m-d5user.md b/docs/examples/1.5.x/server-php/examples/users/create-m-d5user.md index 400b6bdbed..13bb884aa7 100644 --- a/docs/examples/1.5.x/server-php/examples/users/create-m-d5user.md +++ b/docs/examples/1.5.x/server-php/examples/users/create-m-d5user.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/create-mfa-recovery-codes.md b/docs/examples/1.5.x/server-php/examples/users/create-mfa-recovery-codes.md index e8b3b60f1a..faec234106 100644 --- a/docs/examples/1.5.x/server-php/examples/users/create-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-php/examples/users/create-mfa-recovery-codes.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/create-p-h-pass-user.md b/docs/examples/1.5.x/server-php/examples/users/create-p-h-pass-user.md index e0d734281b..da0889df70 100644 --- a/docs/examples/1.5.x/server-php/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.5.x/server-php/examples/users/create-p-h-pass-user.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/create-s-h-a-user.md b/docs/examples/1.5.x/server-php/examples/users/create-s-h-a-user.md index 9cb35ee9bc..ecb9af7f31 100644 --- a/docs/examples/1.5.x/server-php/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.5.x/server-php/examples/users/create-s-h-a-user.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/create-scrypt-modified-user.md b/docs/examples/1.5.x/server-php/examples/users/create-scrypt-modified-user.md index 325745d3e3..d1c99065e1 100644 --- a/docs/examples/1.5.x/server-php/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.5.x/server-php/examples/users/create-scrypt-modified-user.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/create-scrypt-user.md b/docs/examples/1.5.x/server-php/examples/users/create-scrypt-user.md index 0828acc658..3c833b098e 100644 --- a/docs/examples/1.5.x/server-php/examples/users/create-scrypt-user.md +++ b/docs/examples/1.5.x/server-php/examples/users/create-scrypt-user.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/create-session.md b/docs/examples/1.5.x/server-php/examples/users/create-session.md index c4f905256c..498e161c67 100644 --- a/docs/examples/1.5.x/server-php/examples/users/create-session.md +++ b/docs/examples/1.5.x/server-php/examples/users/create-session.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/create-target.md b/docs/examples/1.5.x/server-php/examples/users/create-target.md index 2820472dd8..999cae1394 100644 --- a/docs/examples/1.5.x/server-php/examples/users/create-target.md +++ b/docs/examples/1.5.x/server-php/examples/users/create-target.md @@ -6,8 +6,8 @@ use Appwrite\Enums\MessagingProviderType; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/create-token.md b/docs/examples/1.5.x/server-php/examples/users/create-token.md index 83f05e15d3..9d8e1635a7 100644 --- a/docs/examples/1.5.x/server-php/examples/users/create-token.md +++ b/docs/examples/1.5.x/server-php/examples/users/create-token.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/create.md b/docs/examples/1.5.x/server-php/examples/users/create.md index 7cf4b6fb7f..16549ae092 100644 --- a/docs/examples/1.5.x/server-php/examples/users/create.md +++ b/docs/examples/1.5.x/server-php/examples/users/create.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/delete-authenticator.md b/docs/examples/1.5.x/server-php/examples/users/delete-authenticator.md index 78f8f7718b..2cf23df55c 100644 --- a/docs/examples/1.5.x/server-php/examples/users/delete-authenticator.md +++ b/docs/examples/1.5.x/server-php/examples/users/delete-authenticator.md @@ -5,7 +5,7 @@ use Appwrite\Services\Users; use Appwrite\Enums\AuthenticatorType; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key diff --git a/docs/examples/1.5.x/server-php/examples/users/delete-identity.md b/docs/examples/1.5.x/server-php/examples/users/delete-identity.md index 81751a165c..9ca15569ce 100644 --- a/docs/examples/1.5.x/server-php/examples/users/delete-identity.md +++ b/docs/examples/1.5.x/server-php/examples/users/delete-identity.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/delete-mfa-authenticator.md b/docs/examples/1.5.x/server-php/examples/users/delete-mfa-authenticator.md index aa7405ebe0..94a9e04b59 100644 --- a/docs/examples/1.5.x/server-php/examples/users/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-php/examples/users/delete-mfa-authenticator.md @@ -6,8 +6,8 @@ use Appwrite\Enums\AuthenticatorType; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/delete-session.md b/docs/examples/1.5.x/server-php/examples/users/delete-session.md index 3ef58aa4d0..e711a92319 100644 --- a/docs/examples/1.5.x/server-php/examples/users/delete-session.md +++ b/docs/examples/1.5.x/server-php/examples/users/delete-session.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/delete-sessions.md b/docs/examples/1.5.x/server-php/examples/users/delete-sessions.md index e89b65f928..3b46021a81 100644 --- a/docs/examples/1.5.x/server-php/examples/users/delete-sessions.md +++ b/docs/examples/1.5.x/server-php/examples/users/delete-sessions.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/delete-target.md b/docs/examples/1.5.x/server-php/examples/users/delete-target.md index 444c496942..6b9975d748 100644 --- a/docs/examples/1.5.x/server-php/examples/users/delete-target.md +++ b/docs/examples/1.5.x/server-php/examples/users/delete-target.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/delete.md b/docs/examples/1.5.x/server-php/examples/users/delete.md index b715e8466c..f1dbbf3d93 100644 --- a/docs/examples/1.5.x/server-php/examples/users/delete.md +++ b/docs/examples/1.5.x/server-php/examples/users/delete.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/get-mfa-recovery-codes.md b/docs/examples/1.5.x/server-php/examples/users/get-mfa-recovery-codes.md index a852fa558d..b0e3a759bd 100644 --- a/docs/examples/1.5.x/server-php/examples/users/get-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-php/examples/users/get-mfa-recovery-codes.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/get-prefs.md b/docs/examples/1.5.x/server-php/examples/users/get-prefs.md index 79f778a83c..59589f74ff 100644 --- a/docs/examples/1.5.x/server-php/examples/users/get-prefs.md +++ b/docs/examples/1.5.x/server-php/examples/users/get-prefs.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/get-target.md b/docs/examples/1.5.x/server-php/examples/users/get-target.md index 489e1e2777..ba146a3004 100644 --- a/docs/examples/1.5.x/server-php/examples/users/get-target.md +++ b/docs/examples/1.5.x/server-php/examples/users/get-target.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/get.md b/docs/examples/1.5.x/server-php/examples/users/get.md index 5428d73d9a..4ff399b622 100644 --- a/docs/examples/1.5.x/server-php/examples/users/get.md +++ b/docs/examples/1.5.x/server-php/examples/users/get.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/list-factors.md b/docs/examples/1.5.x/server-php/examples/users/list-factors.md index 0c6f2b9bb1..f82be6a8db 100644 --- a/docs/examples/1.5.x/server-php/examples/users/list-factors.md +++ b/docs/examples/1.5.x/server-php/examples/users/list-factors.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key diff --git a/docs/examples/1.5.x/server-php/examples/users/list-identities.md b/docs/examples/1.5.x/server-php/examples/users/list-identities.md index 0fde8a3db4..53ba78d8b2 100644 --- a/docs/examples/1.5.x/server-php/examples/users/list-identities.md +++ b/docs/examples/1.5.x/server-php/examples/users/list-identities.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/list-logs.md b/docs/examples/1.5.x/server-php/examples/users/list-logs.md index 863bab5bec..434dbafc11 100644 --- a/docs/examples/1.5.x/server-php/examples/users/list-logs.md +++ b/docs/examples/1.5.x/server-php/examples/users/list-logs.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/list-memberships.md b/docs/examples/1.5.x/server-php/examples/users/list-memberships.md index 616f014eae..addc6b75d0 100644 --- a/docs/examples/1.5.x/server-php/examples/users/list-memberships.md +++ b/docs/examples/1.5.x/server-php/examples/users/list-memberships.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/list-mfa-factors.md b/docs/examples/1.5.x/server-php/examples/users/list-mfa-factors.md index 305896622c..0d137aaf5e 100644 --- a/docs/examples/1.5.x/server-php/examples/users/list-mfa-factors.md +++ b/docs/examples/1.5.x/server-php/examples/users/list-mfa-factors.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/list-providers.md b/docs/examples/1.5.x/server-php/examples/users/list-providers.md index b31b9f37ec..1a61af4639 100644 --- a/docs/examples/1.5.x/server-php/examples/users/list-providers.md +++ b/docs/examples/1.5.x/server-php/examples/users/list-providers.md @@ -6,7 +6,7 @@ use Appwrite\Services\Users; $client = new Client(); $client - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('5df5acd0d48c2') // Your project ID ->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key ; diff --git a/docs/examples/1.5.x/server-php/examples/users/list-sessions.md b/docs/examples/1.5.x/server-php/examples/users/list-sessions.md index 3b0c4905d4..5dcac1f5a4 100644 --- a/docs/examples/1.5.x/server-php/examples/users/list-sessions.md +++ b/docs/examples/1.5.x/server-php/examples/users/list-sessions.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/list-targets.md b/docs/examples/1.5.x/server-php/examples/users/list-targets.md index c441a1c070..a91ac5e8cb 100644 --- a/docs/examples/1.5.x/server-php/examples/users/list-targets.md +++ b/docs/examples/1.5.x/server-php/examples/users/list-targets.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/list.md b/docs/examples/1.5.x/server-php/examples/users/list.md index 63616e5246..9b8d1d5f2c 100644 --- a/docs/examples/1.5.x/server-php/examples/users/list.md +++ b/docs/examples/1.5.x/server-php/examples/users/list.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/update-email-verification.md b/docs/examples/1.5.x/server-php/examples/users/update-email-verification.md index 74ef3401b2..e74e88735e 100644 --- a/docs/examples/1.5.x/server-php/examples/users/update-email-verification.md +++ b/docs/examples/1.5.x/server-php/examples/users/update-email-verification.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/update-email.md b/docs/examples/1.5.x/server-php/examples/users/update-email.md index fb8e231f72..fc40fac027 100644 --- a/docs/examples/1.5.x/server-php/examples/users/update-email.md +++ b/docs/examples/1.5.x/server-php/examples/users/update-email.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/update-labels.md b/docs/examples/1.5.x/server-php/examples/users/update-labels.md index 87e1b66a6f..45fe23b7c9 100644 --- a/docs/examples/1.5.x/server-php/examples/users/update-labels.md +++ b/docs/examples/1.5.x/server-php/examples/users/update-labels.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/update-mfa-recovery-codes.md b/docs/examples/1.5.x/server-php/examples/users/update-mfa-recovery-codes.md index aec96fae3d..369c248f11 100644 --- a/docs/examples/1.5.x/server-php/examples/users/update-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-php/examples/users/update-mfa-recovery-codes.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/update-mfa.md b/docs/examples/1.5.x/server-php/examples/users/update-mfa.md index 83a3e3709a..5df7aa265d 100644 --- a/docs/examples/1.5.x/server-php/examples/users/update-mfa.md +++ b/docs/examples/1.5.x/server-php/examples/users/update-mfa.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/update-name.md b/docs/examples/1.5.x/server-php/examples/users/update-name.md index 33ca175175..7050d19bcf 100644 --- a/docs/examples/1.5.x/server-php/examples/users/update-name.md +++ b/docs/examples/1.5.x/server-php/examples/users/update-name.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/update-password.md b/docs/examples/1.5.x/server-php/examples/users/update-password.md index a6226eb058..8dcb57b6a4 100644 --- a/docs/examples/1.5.x/server-php/examples/users/update-password.md +++ b/docs/examples/1.5.x/server-php/examples/users/update-password.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/update-phone-verification.md b/docs/examples/1.5.x/server-php/examples/users/update-phone-verification.md index 8d26d649a5..12e44dade1 100644 --- a/docs/examples/1.5.x/server-php/examples/users/update-phone-verification.md +++ b/docs/examples/1.5.x/server-php/examples/users/update-phone-verification.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/update-phone.md b/docs/examples/1.5.x/server-php/examples/users/update-phone.md index eb5f55e52f..95c31156ee 100644 --- a/docs/examples/1.5.x/server-php/examples/users/update-phone.md +++ b/docs/examples/1.5.x/server-php/examples/users/update-phone.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/update-prefs.md b/docs/examples/1.5.x/server-php/examples/users/update-prefs.md index b96ff17ca8..2ffd93875b 100644 --- a/docs/examples/1.5.x/server-php/examples/users/update-prefs.md +++ b/docs/examples/1.5.x/server-php/examples/users/update-prefs.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/update-status.md b/docs/examples/1.5.x/server-php/examples/users/update-status.md index ef74801981..28a05320ce 100644 --- a/docs/examples/1.5.x/server-php/examples/users/update-status.md +++ b/docs/examples/1.5.x/server-php/examples/users/update-status.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-php/examples/users/update-target.md b/docs/examples/1.5.x/server-php/examples/users/update-target.md index 4d40c8345c..a1b654d901 100644 --- a/docs/examples/1.5.x/server-php/examples/users/update-target.md +++ b/docs/examples/1.5.x/server-php/examples/users/update-target.md @@ -5,8 +5,8 @@ use Appwrite\Services\Users; $client = (new Client()) ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('5df5acd0d48c2') // Your project ID - ->setKey('919c2d18fb5d4...a2ae413da83346ad2'); // Your secret API key + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key $users = new Users($client); diff --git a/docs/examples/1.5.x/server-python/examples/account/add-authenticator.md b/docs/examples/1.5.x/server-python/examples/account/add-authenticator.md index 3c52b8933a..72d5688e26 100644 --- a/docs/examples/1.5.x/server-python/examples/account/add-authenticator.md +++ b/docs/examples/1.5.x/server-python/examples/account/add-authenticator.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.enums import AuthenticatorType client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('5df5acd0d48c2') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.5.x/server-python/examples/account/create-anonymous-session.md b/docs/examples/1.5.x/server-python/examples/account/create-anonymous-session.md index afaa76b4db..ce5a92ad18 100644 --- a/docs/examples/1.5.x/server-python/examples/account/create-anonymous-session.md +++ b/docs/examples/1.5.x/server-python/examples/account/create-anonymous-session.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/create-challenge.md b/docs/examples/1.5.x/server-python/examples/account/create-challenge.md index 6952faefc6..531af7cf2d 100644 --- a/docs/examples/1.5.x/server-python/examples/account/create-challenge.md +++ b/docs/examples/1.5.x/server-python/examples/account/create-challenge.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.enums import AuthenticationFactor client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('5df5acd0d48c2') # Your project ID account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/create-email-password-session.md b/docs/examples/1.5.x/server-python/examples/account/create-email-password-session.md index 667d85a186..5e869fd40c 100644 --- a/docs/examples/1.5.x/server-python/examples/account/create-email-password-session.md +++ b/docs/examples/1.5.x/server-python/examples/account/create-email-password-session.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/create-email-token.md b/docs/examples/1.5.x/server-python/examples/account/create-email-token.md index a283f4212e..5cf2bfb085 100644 --- a/docs/examples/1.5.x/server-python/examples/account/create-email-token.md +++ b/docs/examples/1.5.x/server-python/examples/account/create-email-token.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/create-j-w-t.md b/docs/examples/1.5.x/server-python/examples/account/create-j-w-t.md index bc9b6842d5..c737f1b8e9 100644 --- a/docs/examples/1.5.x/server-python/examples/account/create-j-w-t.md +++ b/docs/examples/1.5.x/server-python/examples/account/create-j-w-t.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/create-magic-u-r-l-token.md b/docs/examples/1.5.x/server-python/examples/account/create-magic-u-r-l-token.md index 1f6593b3f0..00778172bb 100644 --- a/docs/examples/1.5.x/server-python/examples/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.5.x/server-python/examples/account/create-magic-u-r-l-token.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/create-mfa-authenticator.md b/docs/examples/1.5.x/server-python/examples/account/create-mfa-authenticator.md index 1c59624f16..a6f09eb4f0 100644 --- a/docs/examples/1.5.x/server-python/examples/account/create-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-python/examples/account/create-mfa-authenticator.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.account import Account from appwrite.enums import AuthenticatorType client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/create-mfa-challenge.md b/docs/examples/1.5.x/server-python/examples/account/create-mfa-challenge.md index 5448d961a6..deb4c9c600 100644 --- a/docs/examples/1.5.x/server-python/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.5.x/server-python/examples/account/create-mfa-challenge.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.account import Account from appwrite.enums import AuthenticationFactor client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/create-mfa-recovery-codes.md b/docs/examples/1.5.x/server-python/examples/account/create-mfa-recovery-codes.md index c675936404..a149cb95b7 100644 --- a/docs/examples/1.5.x/server-python/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-python/examples/account/create-mfa-recovery-codes.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/create-o-auth2session.md b/docs/examples/1.5.x/server-python/examples/account/create-o-auth2session.md index 341087fa3e..991f946ce3 100644 --- a/docs/examples/1.5.x/server-python/examples/account/create-o-auth2session.md +++ b/docs/examples/1.5.x/server-python/examples/account/create-o-auth2session.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.enums import OAuthProvider client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('5df5acd0d48c2') # Your project ID account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/create-o-auth2token.md b/docs/examples/1.5.x/server-python/examples/account/create-o-auth2token.md index 96c0f88904..fa11d31c31 100644 --- a/docs/examples/1.5.x/server-python/examples/account/create-o-auth2token.md +++ b/docs/examples/1.5.x/server-python/examples/account/create-o-auth2token.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.account import Account from appwrite.enums import OAuthProvider client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/create-phone-token.md b/docs/examples/1.5.x/server-python/examples/account/create-phone-token.md index b7597dfe9b..d242d71bc1 100644 --- a/docs/examples/1.5.x/server-python/examples/account/create-phone-token.md +++ b/docs/examples/1.5.x/server-python/examples/account/create-phone-token.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/create-phone-verification.md b/docs/examples/1.5.x/server-python/examples/account/create-phone-verification.md index ca46b01b82..bb2058eb2a 100644 --- a/docs/examples/1.5.x/server-python/examples/account/create-phone-verification.md +++ b/docs/examples/1.5.x/server-python/examples/account/create-phone-verification.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/create-recovery.md b/docs/examples/1.5.x/server-python/examples/account/create-recovery.md index c16be97bf2..3d215a400e 100644 --- a/docs/examples/1.5.x/server-python/examples/account/create-recovery.md +++ b/docs/examples/1.5.x/server-python/examples/account/create-recovery.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/create-session.md b/docs/examples/1.5.x/server-python/examples/account/create-session.md index 118a1ab780..d00e8cb899 100644 --- a/docs/examples/1.5.x/server-python/examples/account/create-session.md +++ b/docs/examples/1.5.x/server-python/examples/account/create-session.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/create-verification.md b/docs/examples/1.5.x/server-python/examples/account/create-verification.md index 6138686978..329d19e6fd 100644 --- a/docs/examples/1.5.x/server-python/examples/account/create-verification.md +++ b/docs/examples/1.5.x/server-python/examples/account/create-verification.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/create.md b/docs/examples/1.5.x/server-python/examples/account/create.md index d1656976dc..39b33c62ee 100644 --- a/docs/examples/1.5.x/server-python/examples/account/create.md +++ b/docs/examples/1.5.x/server-python/examples/account/create.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/create2f-a-challenge.md b/docs/examples/1.5.x/server-python/examples/account/create2f-a-challenge.md index 60141a5634..38ddec75be 100644 --- a/docs/examples/1.5.x/server-python/examples/account/create2f-a-challenge.md +++ b/docs/examples/1.5.x/server-python/examples/account/create2f-a-challenge.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.enums import AuthenticationFactor client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('5df5acd0d48c2') # Your project ID account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/delete-authenticator.md b/docs/examples/1.5.x/server-python/examples/account/delete-authenticator.md index 6539a4faeb..857df4149a 100644 --- a/docs/examples/1.5.x/server-python/examples/account/delete-authenticator.md +++ b/docs/examples/1.5.x/server-python/examples/account/delete-authenticator.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.enums import AuthenticatorType client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('5df5acd0d48c2') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.5.x/server-python/examples/account/delete-identity.md b/docs/examples/1.5.x/server-python/examples/account/delete-identity.md index 1462fbc7ca..3556122de8 100644 --- a/docs/examples/1.5.x/server-python/examples/account/delete-identity.md +++ b/docs/examples/1.5.x/server-python/examples/account/delete-identity.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/delete-mfa-authenticator.md b/docs/examples/1.5.x/server-python/examples/account/delete-mfa-authenticator.md index 5deb210d54..939ea718c7 100644 --- a/docs/examples/1.5.x/server-python/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-python/examples/account/delete-mfa-authenticator.md @@ -1,14 +1,14 @@ from appwrite.client import Client +from appwrite.services.account import Account from appwrite.enums import AuthenticatorType client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) result = account.delete_mfa_authenticator( - type = AuthenticatorType.TOTP, - otp = '<OTP>' + type = AuthenticatorType.TOTP ) diff --git a/docs/examples/1.5.x/server-python/examples/account/delete-session.md b/docs/examples/1.5.x/server-python/examples/account/delete-session.md index 030d69817a..9ddb4431d3 100644 --- a/docs/examples/1.5.x/server-python/examples/account/delete-session.md +++ b/docs/examples/1.5.x/server-python/examples/account/delete-session.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/delete-sessions.md b/docs/examples/1.5.x/server-python/examples/account/delete-sessions.md index 182c375d5f..751ab9bb2d 100644 --- a/docs/examples/1.5.x/server-python/examples/account/delete-sessions.md +++ b/docs/examples/1.5.x/server-python/examples/account/delete-sessions.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.5.x/server-python/examples/account/get-mfa-recovery-codes.md index 123fe4b67f..f70b968274 100644 --- a/docs/examples/1.5.x/server-python/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-python/examples/account/get-mfa-recovery-codes.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/get-prefs.md b/docs/examples/1.5.x/server-python/examples/account/get-prefs.md index 102f4dca31..52df6450dc 100644 --- a/docs/examples/1.5.x/server-python/examples/account/get-prefs.md +++ b/docs/examples/1.5.x/server-python/examples/account/get-prefs.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/get-session.md b/docs/examples/1.5.x/server-python/examples/account/get-session.md index b9483ac2f4..f38466fb34 100644 --- a/docs/examples/1.5.x/server-python/examples/account/get-session.md +++ b/docs/examples/1.5.x/server-python/examples/account/get-session.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/get.md b/docs/examples/1.5.x/server-python/examples/account/get.md index cc66fe6024..b414047e2d 100644 --- a/docs/examples/1.5.x/server-python/examples/account/get.md +++ b/docs/examples/1.5.x/server-python/examples/account/get.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/list-factors.md b/docs/examples/1.5.x/server-python/examples/account/list-factors.md index 5b0c2596bb..419707efb4 100644 --- a/docs/examples/1.5.x/server-python/examples/account/list-factors.md +++ b/docs/examples/1.5.x/server-python/examples/account/list-factors.md @@ -1,7 +1,7 @@ from appwrite.client import Client client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('5df5acd0d48c2') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.5.x/server-python/examples/account/list-identities.md b/docs/examples/1.5.x/server-python/examples/account/list-identities.md index 3e0d4e024f..4bf9beb1b2 100644 --- a/docs/examples/1.5.x/server-python/examples/account/list-identities.md +++ b/docs/examples/1.5.x/server-python/examples/account/list-identities.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/list-logs.md b/docs/examples/1.5.x/server-python/examples/account/list-logs.md index 0c0b28aaf0..5d8c27aded 100644 --- a/docs/examples/1.5.x/server-python/examples/account/list-logs.md +++ b/docs/examples/1.5.x/server-python/examples/account/list-logs.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/list-mfa-factors.md b/docs/examples/1.5.x/server-python/examples/account/list-mfa-factors.md index 007c23758b..ba3796bf65 100644 --- a/docs/examples/1.5.x/server-python/examples/account/list-mfa-factors.md +++ b/docs/examples/1.5.x/server-python/examples/account/list-mfa-factors.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/list-sessions.md b/docs/examples/1.5.x/server-python/examples/account/list-sessions.md index 23398dcbb6..74733138cd 100644 --- a/docs/examples/1.5.x/server-python/examples/account/list-sessions.md +++ b/docs/examples/1.5.x/server-python/examples/account/list-sessions.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/update-challenge.md b/docs/examples/1.5.x/server-python/examples/account/update-challenge.md index b9aa1863cc..5ecdf42679 100644 --- a/docs/examples/1.5.x/server-python/examples/account/update-challenge.md +++ b/docs/examples/1.5.x/server-python/examples/account/update-challenge.md @@ -1,7 +1,7 @@ from appwrite.client import Client client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('5df5acd0d48c2') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.5.x/server-python/examples/account/update-email.md b/docs/examples/1.5.x/server-python/examples/account/update-email.md index 353edb0d34..004d071da1 100644 --- a/docs/examples/1.5.x/server-python/examples/account/update-email.md +++ b/docs/examples/1.5.x/server-python/examples/account/update-email.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/update-m-f-a.md b/docs/examples/1.5.x/server-python/examples/account/update-m-f-a.md index b59ede8c1a..2f9321c485 100644 --- a/docs/examples/1.5.x/server-python/examples/account/update-m-f-a.md +++ b/docs/examples/1.5.x/server-python/examples/account/update-m-f-a.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.5.x/server-python/examples/account/update-magic-u-r-l-session.md index 631fac0a05..ca8e8e51a3 100644 --- a/docs/examples/1.5.x/server-python/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.5.x/server-python/examples/account/update-magic-u-r-l-session.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/update-mfa-authenticator.md b/docs/examples/1.5.x/server-python/examples/account/update-mfa-authenticator.md index dc9a21f1bb..a5a951906c 100644 --- a/docs/examples/1.5.x/server-python/examples/account/update-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-python/examples/account/update-mfa-authenticator.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.account import Account from appwrite.enums import AuthenticatorType client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/update-mfa-challenge.md b/docs/examples/1.5.x/server-python/examples/account/update-mfa-challenge.md index 7074e6d470..d28a2518d7 100644 --- a/docs/examples/1.5.x/server-python/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.5.x/server-python/examples/account/update-mfa-challenge.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/update-mfa-recovery-codes.md b/docs/examples/1.5.x/server-python/examples/account/update-mfa-recovery-codes.md index 281d8920ea..38cb41ca8d 100644 --- a/docs/examples/1.5.x/server-python/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-python/examples/account/update-mfa-recovery-codes.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/update-name.md b/docs/examples/1.5.x/server-python/examples/account/update-name.md index 8e16f49891..9b4bf8291d 100644 --- a/docs/examples/1.5.x/server-python/examples/account/update-name.md +++ b/docs/examples/1.5.x/server-python/examples/account/update-name.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/update-password.md b/docs/examples/1.5.x/server-python/examples/account/update-password.md index 7d651c22c1..ecb4228df0 100644 --- a/docs/examples/1.5.x/server-python/examples/account/update-password.md +++ b/docs/examples/1.5.x/server-python/examples/account/update-password.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/update-phone-session.md b/docs/examples/1.5.x/server-python/examples/account/update-phone-session.md index ff0c10dfda..d29ab28e39 100644 --- a/docs/examples/1.5.x/server-python/examples/account/update-phone-session.md +++ b/docs/examples/1.5.x/server-python/examples/account/update-phone-session.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/update-phone-verification.md b/docs/examples/1.5.x/server-python/examples/account/update-phone-verification.md index adb5b355b2..e64d79f6bd 100644 --- a/docs/examples/1.5.x/server-python/examples/account/update-phone-verification.md +++ b/docs/examples/1.5.x/server-python/examples/account/update-phone-verification.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/update-phone.md b/docs/examples/1.5.x/server-python/examples/account/update-phone.md index c05bb16793..65a6a387b3 100644 --- a/docs/examples/1.5.x/server-python/examples/account/update-phone.md +++ b/docs/examples/1.5.x/server-python/examples/account/update-phone.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/update-prefs.md b/docs/examples/1.5.x/server-python/examples/account/update-prefs.md index 2c58cca2c4..c3683007b7 100644 --- a/docs/examples/1.5.x/server-python/examples/account/update-prefs.md +++ b/docs/examples/1.5.x/server-python/examples/account/update-prefs.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/update-recovery.md b/docs/examples/1.5.x/server-python/examples/account/update-recovery.md index 4dca711618..2493dc5e53 100644 --- a/docs/examples/1.5.x/server-python/examples/account/update-recovery.md +++ b/docs/examples/1.5.x/server-python/examples/account/update-recovery.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/update-session.md b/docs/examples/1.5.x/server-python/examples/account/update-session.md index 006c508198..ee3a2f7543 100644 --- a/docs/examples/1.5.x/server-python/examples/account/update-session.md +++ b/docs/examples/1.5.x/server-python/examples/account/update-session.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/update-status.md b/docs/examples/1.5.x/server-python/examples/account/update-status.md index 5c17fa19a3..c8318a43ce 100644 --- a/docs/examples/1.5.x/server-python/examples/account/update-status.md +++ b/docs/examples/1.5.x/server-python/examples/account/update-status.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/update-verification.md b/docs/examples/1.5.x/server-python/examples/account/update-verification.md index 84c8c4bc2b..63a7f26322 100644 --- a/docs/examples/1.5.x/server-python/examples/account/update-verification.md +++ b/docs/examples/1.5.x/server-python/examples/account/update-verification.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/1.5.x/server-python/examples/account/verify-authenticator.md b/docs/examples/1.5.x/server-python/examples/account/verify-authenticator.md index e0a26a3709..9a4e584a47 100644 --- a/docs/examples/1.5.x/server-python/examples/account/verify-authenticator.md +++ b/docs/examples/1.5.x/server-python/examples/account/verify-authenticator.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.enums import AuthenticatorType client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('5df5acd0d48c2') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.5.x/server-python/examples/avatars/get-browser.md b/docs/examples/1.5.x/server-python/examples/avatars/get-browser.md index 1de5eab6c2..7ed831835f 100644 --- a/docs/examples/1.5.x/server-python/examples/avatars/get-browser.md +++ b/docs/examples/1.5.x/server-python/examples/avatars/get-browser.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.avatars import Avatars from appwrite.enums import Browser client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with avatars = Avatars(client) diff --git a/docs/examples/1.5.x/server-python/examples/avatars/get-credit-card.md b/docs/examples/1.5.x/server-python/examples/avatars/get-credit-card.md index 9437ff8ade..aa66b86b2d 100644 --- a/docs/examples/1.5.x/server-python/examples/avatars/get-credit-card.md +++ b/docs/examples/1.5.x/server-python/examples/avatars/get-credit-card.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.avatars import Avatars from appwrite.enums import CreditCard client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with avatars = Avatars(client) diff --git a/docs/examples/1.5.x/server-python/examples/avatars/get-favicon.md b/docs/examples/1.5.x/server-python/examples/avatars/get-favicon.md index 2867696566..2c6a67e2f2 100644 --- a/docs/examples/1.5.x/server-python/examples/avatars/get-favicon.md +++ b/docs/examples/1.5.x/server-python/examples/avatars/get-favicon.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.avatars import Avatars client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with avatars = Avatars(client) diff --git a/docs/examples/1.5.x/server-python/examples/avatars/get-flag.md b/docs/examples/1.5.x/server-python/examples/avatars/get-flag.md index 37ac482e96..435c8550f7 100644 --- a/docs/examples/1.5.x/server-python/examples/avatars/get-flag.md +++ b/docs/examples/1.5.x/server-python/examples/avatars/get-flag.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.avatars import Avatars from appwrite.enums import Flag client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with avatars = Avatars(client) diff --git a/docs/examples/1.5.x/server-python/examples/avatars/get-image.md b/docs/examples/1.5.x/server-python/examples/avatars/get-image.md index 00afe0c87d..ee9e0cb15e 100644 --- a/docs/examples/1.5.x/server-python/examples/avatars/get-image.md +++ b/docs/examples/1.5.x/server-python/examples/avatars/get-image.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.avatars import Avatars client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with avatars = Avatars(client) diff --git a/docs/examples/1.5.x/server-python/examples/avatars/get-initials.md b/docs/examples/1.5.x/server-python/examples/avatars/get-initials.md index 0a20c14b14..edcbbb33ec 100644 --- a/docs/examples/1.5.x/server-python/examples/avatars/get-initials.md +++ b/docs/examples/1.5.x/server-python/examples/avatars/get-initials.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.avatars import Avatars client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with avatars = Avatars(client) diff --git a/docs/examples/1.5.x/server-python/examples/avatars/get-q-r.md b/docs/examples/1.5.x/server-python/examples/avatars/get-q-r.md index bee29f7b26..7f6da32ddf 100644 --- a/docs/examples/1.5.x/server-python/examples/avatars/get-q-r.md +++ b/docs/examples/1.5.x/server-python/examples/avatars/get-q-r.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.avatars import Avatars client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with avatars = Avatars(client) diff --git a/docs/examples/1.5.x/server-python/examples/databases/create-boolean-attribute.md b/docs/examples/1.5.x/server-python/examples/databases/create-boolean-attribute.md index bf09562b4c..2b4209db9d 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.5.x/server-python/examples/databases/create-boolean-attribute.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/1.5.x/server-python/examples/databases/create-collection.md b/docs/examples/1.5.x/server-python/examples/databases/create-collection.md index dfe3611ee8..99c44a2f9f 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/create-collection.md +++ b/docs/examples/1.5.x/server-python/examples/databases/create-collection.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/1.5.x/server-python/examples/databases/create-datetime-attribute.md b/docs/examples/1.5.x/server-python/examples/databases/create-datetime-attribute.md index 0b8a555c68..db81c021e2 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.5.x/server-python/examples/databases/create-datetime-attribute.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/1.5.x/server-python/examples/databases/create-document.md b/docs/examples/1.5.x/server-python/examples/databases/create-document.md index a4578117c4..22f2c07396 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/create-document.md +++ b/docs/examples/1.5.x/server-python/examples/databases/create-document.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with databases = Databases(client) diff --git a/docs/examples/1.5.x/server-python/examples/databases/create-email-attribute.md b/docs/examples/1.5.x/server-python/examples/databases/create-email-attribute.md index 840e6b53df..2e28e0bfff 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/create-email-attribute.md +++ b/docs/examples/1.5.x/server-python/examples/databases/create-email-attribute.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/1.5.x/server-python/examples/databases/create-enum-attribute.md b/docs/examples/1.5.x/server-python/examples/databases/create-enum-attribute.md index 0e891d51cd..b1efdc7dc3 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.5.x/server-python/examples/databases/create-enum-attribute.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/1.5.x/server-python/examples/databases/create-float-attribute.md b/docs/examples/1.5.x/server-python/examples/databases/create-float-attribute.md index 34fda4ff35..b36863b8ee 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/create-float-attribute.md +++ b/docs/examples/1.5.x/server-python/examples/databases/create-float-attribute.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/1.5.x/server-python/examples/databases/create-index.md b/docs/examples/1.5.x/server-python/examples/databases/create-index.md index 72fe6229d2..9885c06e95 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/create-index.md +++ b/docs/examples/1.5.x/server-python/examples/databases/create-index.md @@ -1,10 +1,11 @@ from appwrite.client import Client +from appwrite.services.databases import Databases from appwrite.enums import IndexType client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/1.5.x/server-python/examples/databases/create-integer-attribute.md b/docs/examples/1.5.x/server-python/examples/databases/create-integer-attribute.md index 057cfb7d3e..8cb140a7b9 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.5.x/server-python/examples/databases/create-integer-attribute.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/1.5.x/server-python/examples/databases/create-ip-attribute.md b/docs/examples/1.5.x/server-python/examples/databases/create-ip-attribute.md index 54e887cbbd..d4b4ab6528 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.5.x/server-python/examples/databases/create-ip-attribute.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/1.5.x/server-python/examples/databases/create-relationship-attribute.md b/docs/examples/1.5.x/server-python/examples/databases/create-relationship-attribute.md index 0d1dbe0316..4172c27249 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.5.x/server-python/examples/databases/create-relationship-attribute.md @@ -1,10 +1,11 @@ from appwrite.client import Client +from appwrite.services.databases import Databases from appwrite.enums import RelationshipType client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/1.5.x/server-python/examples/databases/create-string-attribute.md b/docs/examples/1.5.x/server-python/examples/databases/create-string-attribute.md index c15512acc0..e69687124d 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/create-string-attribute.md +++ b/docs/examples/1.5.x/server-python/examples/databases/create-string-attribute.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/1.5.x/server-python/examples/databases/create-url-attribute.md b/docs/examples/1.5.x/server-python/examples/databases/create-url-attribute.md index f77a630b73..4ad03c4010 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/create-url-attribute.md +++ b/docs/examples/1.5.x/server-python/examples/databases/create-url-attribute.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/1.5.x/server-python/examples/databases/create.md b/docs/examples/1.5.x/server-python/examples/databases/create.md index 329e6538b1..d5cbb99eed 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/create.md +++ b/docs/examples/1.5.x/server-python/examples/databases/create.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/1.5.x/server-python/examples/databases/delete-attribute.md b/docs/examples/1.5.x/server-python/examples/databases/delete-attribute.md index 87fcf5722c..b317ba9dd4 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/delete-attribute.md +++ b/docs/examples/1.5.x/server-python/examples/databases/delete-attribute.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/1.5.x/server-python/examples/databases/delete-collection.md b/docs/examples/1.5.x/server-python/examples/databases/delete-collection.md index 296c69d23b..ab274c6bdf 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/delete-collection.md +++ b/docs/examples/1.5.x/server-python/examples/databases/delete-collection.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/1.5.x/server-python/examples/databases/delete-document.md b/docs/examples/1.5.x/server-python/examples/databases/delete-document.md index 3191f10dd6..69151aad9e 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/delete-document.md +++ b/docs/examples/1.5.x/server-python/examples/databases/delete-document.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with databases = Databases(client) diff --git a/docs/examples/1.5.x/server-python/examples/databases/delete-index.md b/docs/examples/1.5.x/server-python/examples/databases/delete-index.md index bd4fcf5e6b..2ed0165b36 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/delete-index.md +++ b/docs/examples/1.5.x/server-python/examples/databases/delete-index.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/1.5.x/server-python/examples/databases/delete.md b/docs/examples/1.5.x/server-python/examples/databases/delete.md index 302a6524df..e7e988a9a5 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/delete.md +++ b/docs/examples/1.5.x/server-python/examples/databases/delete.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/1.5.x/server-python/examples/databases/get-attribute.md b/docs/examples/1.5.x/server-python/examples/databases/get-attribute.md index 8316fe7904..a717552659 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/get-attribute.md +++ b/docs/examples/1.5.x/server-python/examples/databases/get-attribute.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/1.5.x/server-python/examples/databases/get-collection.md b/docs/examples/1.5.x/server-python/examples/databases/get-collection.md index 7b0c7e4a33..f63298ebed 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/get-collection.md +++ b/docs/examples/1.5.x/server-python/examples/databases/get-collection.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/1.5.x/server-python/examples/databases/get-document.md b/docs/examples/1.5.x/server-python/examples/databases/get-document.md index 978c5a5f6a..acdc25de7e 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/get-document.md +++ b/docs/examples/1.5.x/server-python/examples/databases/get-document.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with databases = Databases(client) diff --git a/docs/examples/1.5.x/server-python/examples/databases/get-index.md b/docs/examples/1.5.x/server-python/examples/databases/get-index.md index e53878ced5..ca5a9958ad 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/get-index.md +++ b/docs/examples/1.5.x/server-python/examples/databases/get-index.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/1.5.x/server-python/examples/databases/get.md b/docs/examples/1.5.x/server-python/examples/databases/get.md index b12f7d8ff0..deadf6ab41 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/get.md +++ b/docs/examples/1.5.x/server-python/examples/databases/get.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/1.5.x/server-python/examples/databases/list-attributes.md b/docs/examples/1.5.x/server-python/examples/databases/list-attributes.md index 46283940bc..245ec60c19 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/list-attributes.md +++ b/docs/examples/1.5.x/server-python/examples/databases/list-attributes.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/1.5.x/server-python/examples/databases/list-collections.md b/docs/examples/1.5.x/server-python/examples/databases/list-collections.md index 0ceed95f25..ca18267250 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/list-collections.md +++ b/docs/examples/1.5.x/server-python/examples/databases/list-collections.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/1.5.x/server-python/examples/databases/list-documents.md b/docs/examples/1.5.x/server-python/examples/databases/list-documents.md index 08f3c8912f..41f0380e15 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/list-documents.md +++ b/docs/examples/1.5.x/server-python/examples/databases/list-documents.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with databases = Databases(client) diff --git a/docs/examples/1.5.x/server-python/examples/databases/list-indexes.md b/docs/examples/1.5.x/server-python/examples/databases/list-indexes.md index 05a9e15397..bf18bd1c95 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/list-indexes.md +++ b/docs/examples/1.5.x/server-python/examples/databases/list-indexes.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/1.5.x/server-python/examples/databases/list.md b/docs/examples/1.5.x/server-python/examples/databases/list.md index 8ba8b28448..11669b3453 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/list.md +++ b/docs/examples/1.5.x/server-python/examples/databases/list.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/1.5.x/server-python/examples/databases/update-boolean-attribute.md b/docs/examples/1.5.x/server-python/examples/databases/update-boolean-attribute.md index 8cf9bc87d4..c9300ea57d 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.5.x/server-python/examples/databases/update-boolean-attribute.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) @@ -12,5 +13,6 @@ result = databases.update_boolean_attribute( collection_id = '<COLLECTION_ID>', key = '', required = False, - default = False + default = False, + new_key = '' # optional ) diff --git a/docs/examples/1.5.x/server-python/examples/databases/update-collection.md b/docs/examples/1.5.x/server-python/examples/databases/update-collection.md index 9f0615fb91..d9297285ee 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/update-collection.md +++ b/docs/examples/1.5.x/server-python/examples/databases/update-collection.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/1.5.x/server-python/examples/databases/update-datetime-attribute.md b/docs/examples/1.5.x/server-python/examples/databases/update-datetime-attribute.md index 5541dd4706..96c7fb5439 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.5.x/server-python/examples/databases/update-datetime-attribute.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) @@ -12,5 +13,6 @@ result = databases.update_datetime_attribute( collection_id = '<COLLECTION_ID>', key = '', required = False, - default = '' + default = '', + new_key = '' # optional ) diff --git a/docs/examples/1.5.x/server-python/examples/databases/update-document.md b/docs/examples/1.5.x/server-python/examples/databases/update-document.md index 37c1b433dd..7b9cce9513 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/update-document.md +++ b/docs/examples/1.5.x/server-python/examples/databases/update-document.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with databases = Databases(client) diff --git a/docs/examples/1.5.x/server-python/examples/databases/update-email-attribute.md b/docs/examples/1.5.x/server-python/examples/databases/update-email-attribute.md index cedde9da12..5b042d4b72 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/update-email-attribute.md +++ b/docs/examples/1.5.x/server-python/examples/databases/update-email-attribute.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) @@ -12,5 +13,6 @@ result = databases.update_email_attribute( collection_id = '<COLLECTION_ID>', key = '', required = False, - default = 'email@example.com' + default = 'email@example.com', + new_key = '' # optional ) diff --git a/docs/examples/1.5.x/server-python/examples/databases/update-enum-attribute.md b/docs/examples/1.5.x/server-python/examples/databases/update-enum-attribute.md index 76ede75730..caa1b4ecdb 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.5.x/server-python/examples/databases/update-enum-attribute.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) @@ -13,5 +14,6 @@ result = databases.update_enum_attribute( key = '', elements = [], required = False, - default = '<DEFAULT>' + default = '<DEFAULT>', + new_key = '' # optional ) diff --git a/docs/examples/1.5.x/server-python/examples/databases/update-float-attribute.md b/docs/examples/1.5.x/server-python/examples/databases/update-float-attribute.md index 1556e03b62..d16b9bbbeb 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/update-float-attribute.md +++ b/docs/examples/1.5.x/server-python/examples/databases/update-float-attribute.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) @@ -12,7 +13,8 @@ result = databases.update_float_attribute( collection_id = '<COLLECTION_ID>', key = '', required = False, - min = None, - max = None, - default = None + default = None, + min = None, # optional + max = None, # optional + new_key = '' # optional ) diff --git a/docs/examples/1.5.x/server-python/examples/databases/update-integer-attribute.md b/docs/examples/1.5.x/server-python/examples/databases/update-integer-attribute.md index 37a87ed7d7..ab0ccd6724 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.5.x/server-python/examples/databases/update-integer-attribute.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) @@ -12,7 +13,8 @@ result = databases.update_integer_attribute( collection_id = '<COLLECTION_ID>', key = '', required = False, - min = None, - max = None, - default = None + default = None, + min = None, # optional + max = None, # optional + new_key = '' # optional ) diff --git a/docs/examples/1.5.x/server-python/examples/databases/update-ip-attribute.md b/docs/examples/1.5.x/server-python/examples/databases/update-ip-attribute.md index d6df600399..a2b8bad201 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.5.x/server-python/examples/databases/update-ip-attribute.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) @@ -12,5 +13,6 @@ result = databases.update_ip_attribute( collection_id = '<COLLECTION_ID>', key = '', required = False, - default = '' + default = '', + new_key = '' # optional ) diff --git a/docs/examples/1.5.x/server-python/examples/databases/update-relationship-attribute.md b/docs/examples/1.5.x/server-python/examples/databases/update-relationship-attribute.md index 8c9fb456f0..0aacc139a0 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.5.x/server-python/examples/databases/update-relationship-attribute.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) @@ -11,5 +12,6 @@ result = databases.update_relationship_attribute( database_id = '<DATABASE_ID>', collection_id = '<COLLECTION_ID>', key = '', - on_delete = RelationMutate.CASCADE # optional + on_delete = RelationMutate.CASCADE, # optional + new_key = '' # optional ) diff --git a/docs/examples/1.5.x/server-python/examples/databases/update-string-attribute.md b/docs/examples/1.5.x/server-python/examples/databases/update-string-attribute.md index d765acf483..c85eb25f59 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/update-string-attribute.md +++ b/docs/examples/1.5.x/server-python/examples/databases/update-string-attribute.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) @@ -12,5 +13,7 @@ result = databases.update_string_attribute( collection_id = '<COLLECTION_ID>', key = '', required = False, - default = '<DEFAULT>' + default = '<DEFAULT>', + size = 1, # optional + new_key = '' # optional ) diff --git a/docs/examples/1.5.x/server-python/examples/databases/update-url-attribute.md b/docs/examples/1.5.x/server-python/examples/databases/update-url-attribute.md index 3a6347c301..53da6ae45f 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/update-url-attribute.md +++ b/docs/examples/1.5.x/server-python/examples/databases/update-url-attribute.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) @@ -12,5 +13,6 @@ result = databases.update_url_attribute( collection_id = '<COLLECTION_ID>', key = '', required = False, - default = 'https://example.com' + default = 'https://example.com', + new_key = '' # optional ) diff --git a/docs/examples/1.5.x/server-python/examples/databases/update.md b/docs/examples/1.5.x/server-python/examples/databases/update.md index ab6227f67e..da59776b3e 100644 --- a/docs/examples/1.5.x/server-python/examples/databases/update.md +++ b/docs/examples/1.5.x/server-python/examples/databases/update.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.databases import Databases client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/1.5.x/server-python/examples/functions/create-build.md b/docs/examples/1.5.x/server-python/examples/functions/create-build.md index f3422f33f7..ce2ffb72f5 100644 --- a/docs/examples/1.5.x/server-python/examples/functions/create-build.md +++ b/docs/examples/1.5.x/server-python/examples/functions/create-build.md @@ -1,14 +1,15 @@ from appwrite.client import Client +from appwrite.services.functions import Functions client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) result = functions.create_build( function_id = '<FUNCTION_ID>', deployment_id = '<DEPLOYMENT_ID>', - build_id = '<BUILD_ID>' + build_id = '<BUILD_ID>' # optional ) diff --git a/docs/examples/1.5.x/server-python/examples/functions/create-deployment.md b/docs/examples/1.5.x/server-python/examples/functions/create-deployment.md index 68ae7a9601..c86fdf679d 100644 --- a/docs/examples/1.5.x/server-python/examples/functions/create-deployment.md +++ b/docs/examples/1.5.x/server-python/examples/functions/create-deployment.md @@ -1,10 +1,11 @@ from appwrite.client import Client +from appwrite.services.functions import Functions from appwrite.input_file import InputFile client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) diff --git a/docs/examples/1.5.x/server-python/examples/functions/create-execution.md b/docs/examples/1.5.x/server-python/examples/functions/create-execution.md index 46c64b2ee6..cb3fddd02b 100644 --- a/docs/examples/1.5.x/server-python/examples/functions/create-execution.md +++ b/docs/examples/1.5.x/server-python/examples/functions/create-execution.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.functions import Functions client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with functions = Functions(client) @@ -13,5 +14,6 @@ result = functions.create_execution( async = False, # optional path = '<PATH>', # optional method = ExecutionMethod.GET, # optional - headers = {} # optional + headers = {}, # optional + scheduled_at = '' # optional ) diff --git a/docs/examples/1.5.x/server-python/examples/functions/create-variable.md b/docs/examples/1.5.x/server-python/examples/functions/create-variable.md index 6b4e95525d..101ecdf315 100644 --- a/docs/examples/1.5.x/server-python/examples/functions/create-variable.md +++ b/docs/examples/1.5.x/server-python/examples/functions/create-variable.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.functions import Functions client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) diff --git a/docs/examples/1.5.x/server-python/examples/functions/create.md b/docs/examples/1.5.x/server-python/examples/functions/create.md index 76320c2731..f10a953ca8 100644 --- a/docs/examples/1.5.x/server-python/examples/functions/create.md +++ b/docs/examples/1.5.x/server-python/examples/functions/create.md @@ -1,10 +1,11 @@ from appwrite.client import Client +from appwrite.services.functions import Functions from appwrite.enums import client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) @@ -20,6 +21,7 @@ result = functions.create( logging = False, # optional entrypoint = '<ENTRYPOINT>', # optional commands = '<COMMANDS>', # optional + scopes = [], # optional installation_id = '<INSTALLATION_ID>', # optional provider_repository_id = '<PROVIDER_REPOSITORY_ID>', # optional provider_branch = '<PROVIDER_BRANCH>', # optional @@ -28,5 +30,6 @@ result = functions.create( template_repository = '<TEMPLATE_REPOSITORY>', # optional template_owner = '<TEMPLATE_OWNER>', # optional template_root_directory = '<TEMPLATE_ROOT_DIRECTORY>', # optional - template_branch = '<TEMPLATE_BRANCH>' # optional + template_version = '<TEMPLATE_VERSION>', # optional + specification = '' # optional ) diff --git a/docs/examples/1.5.x/server-python/examples/functions/delete-deployment.md b/docs/examples/1.5.x/server-python/examples/functions/delete-deployment.md index def007ba73..f98bd60a9b 100644 --- a/docs/examples/1.5.x/server-python/examples/functions/delete-deployment.md +++ b/docs/examples/1.5.x/server-python/examples/functions/delete-deployment.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.functions import Functions client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) diff --git a/docs/examples/1.5.x/server-python/examples/functions/delete-execution.md b/docs/examples/1.5.x/server-python/examples/functions/delete-execution.md new file mode 100644 index 0000000000..b723fd6c47 --- /dev/null +++ b/docs/examples/1.5.x/server-python/examples/functions/delete-execution.md @@ -0,0 +1,14 @@ +from appwrite.client import Client +from appwrite.services.functions import Functions + +client = Client() +client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key + +functions = Functions(client) + +result = functions.delete_execution( + function_id = '<FUNCTION_ID>', + execution_id = '<EXECUTION_ID>' +) diff --git a/docs/examples/1.5.x/server-python/examples/functions/delete-variable.md b/docs/examples/1.5.x/server-python/examples/functions/delete-variable.md index 96f1304c94..e17afed363 100644 --- a/docs/examples/1.5.x/server-python/examples/functions/delete-variable.md +++ b/docs/examples/1.5.x/server-python/examples/functions/delete-variable.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.functions import Functions client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) diff --git a/docs/examples/1.5.x/server-python/examples/functions/delete.md b/docs/examples/1.5.x/server-python/examples/functions/delete.md index 7e20857472..a34d476744 100644 --- a/docs/examples/1.5.x/server-python/examples/functions/delete.md +++ b/docs/examples/1.5.x/server-python/examples/functions/delete.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.functions import Functions client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) diff --git a/docs/examples/1.5.x/server-python/examples/functions/download-deployment.md b/docs/examples/1.5.x/server-python/examples/functions/download-deployment.md index 91c1fac67f..38ccb1a335 100644 --- a/docs/examples/1.5.x/server-python/examples/functions/download-deployment.md +++ b/docs/examples/1.5.x/server-python/examples/functions/download-deployment.md @@ -1,7 +1,7 @@ from appwrite.client import Client client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('5df5acd0d48c2') # Your project ID client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.5.x/server-python/examples/functions/get-deployment-download.md b/docs/examples/1.5.x/server-python/examples/functions/get-deployment-download.md new file mode 100644 index 0000000000..90f029aff5 --- /dev/null +++ b/docs/examples/1.5.x/server-python/examples/functions/get-deployment-download.md @@ -0,0 +1,14 @@ +from appwrite.client import Client +from appwrite.services.functions import Functions + +client = Client() +client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key + +functions = Functions(client) + +result = functions.get_deployment_download( + function_id = '<FUNCTION_ID>', + deployment_id = '<DEPLOYMENT_ID>' +) diff --git a/docs/examples/1.5.x/server-python/examples/functions/get-deployment.md b/docs/examples/1.5.x/server-python/examples/functions/get-deployment.md index e2b8e3f6cd..0617b0429c 100644 --- a/docs/examples/1.5.x/server-python/examples/functions/get-deployment.md +++ b/docs/examples/1.5.x/server-python/examples/functions/get-deployment.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.functions import Functions client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) diff --git a/docs/examples/1.5.x/server-python/examples/functions/get-execution.md b/docs/examples/1.5.x/server-python/examples/functions/get-execution.md index 04be41b899..0a9a347409 100644 --- a/docs/examples/1.5.x/server-python/examples/functions/get-execution.md +++ b/docs/examples/1.5.x/server-python/examples/functions/get-execution.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.functions import Functions client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with functions = Functions(client) diff --git a/docs/examples/1.5.x/server-python/examples/functions/get-variable.md b/docs/examples/1.5.x/server-python/examples/functions/get-variable.md index 21157003c6..174c8b27bf 100644 --- a/docs/examples/1.5.x/server-python/examples/functions/get-variable.md +++ b/docs/examples/1.5.x/server-python/examples/functions/get-variable.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.functions import Functions client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) diff --git a/docs/examples/1.5.x/server-python/examples/functions/get.md b/docs/examples/1.5.x/server-python/examples/functions/get.md index f630486887..a463fa6b28 100644 --- a/docs/examples/1.5.x/server-python/examples/functions/get.md +++ b/docs/examples/1.5.x/server-python/examples/functions/get.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.functions import Functions client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) diff --git a/docs/examples/1.5.x/server-python/examples/functions/list-deployments.md b/docs/examples/1.5.x/server-python/examples/functions/list-deployments.md index c681463841..4d8feea927 100644 --- a/docs/examples/1.5.x/server-python/examples/functions/list-deployments.md +++ b/docs/examples/1.5.x/server-python/examples/functions/list-deployments.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.functions import Functions client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) diff --git a/docs/examples/1.5.x/server-python/examples/functions/list-executions.md b/docs/examples/1.5.x/server-python/examples/functions/list-executions.md index 50dc7cb748..293bab047a 100644 --- a/docs/examples/1.5.x/server-python/examples/functions/list-executions.md +++ b/docs/examples/1.5.x/server-python/examples/functions/list-executions.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.functions import Functions client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with functions = Functions(client) diff --git a/docs/examples/1.5.x/server-python/examples/functions/list-runtimes.md b/docs/examples/1.5.x/server-python/examples/functions/list-runtimes.md index ae64245d5b..b6247330d0 100644 --- a/docs/examples/1.5.x/server-python/examples/functions/list-runtimes.md +++ b/docs/examples/1.5.x/server-python/examples/functions/list-runtimes.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.functions import Functions client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) diff --git a/docs/examples/1.5.x/server-python/examples/functions/list-specifications.md b/docs/examples/1.5.x/server-python/examples/functions/list-specifications.md new file mode 100644 index 0000000000..5e1ec7fd61 --- /dev/null +++ b/docs/examples/1.5.x/server-python/examples/functions/list-specifications.md @@ -0,0 +1,11 @@ +from appwrite.client import Client +from appwrite.services.functions import Functions + +client = Client() +client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key + +functions = Functions(client) + +result = functions.list_specifications() diff --git a/docs/examples/1.5.x/server-python/examples/functions/list-variables.md b/docs/examples/1.5.x/server-python/examples/functions/list-variables.md index cfd0b644e8..ee1a516c5e 100644 --- a/docs/examples/1.5.x/server-python/examples/functions/list-variables.md +++ b/docs/examples/1.5.x/server-python/examples/functions/list-variables.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.functions import Functions client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) diff --git a/docs/examples/1.5.x/server-python/examples/functions/list.md b/docs/examples/1.5.x/server-python/examples/functions/list.md index bc4fc218d0..0b5f18d70a 100644 --- a/docs/examples/1.5.x/server-python/examples/functions/list.md +++ b/docs/examples/1.5.x/server-python/examples/functions/list.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.functions import Functions client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) diff --git a/docs/examples/1.5.x/server-python/examples/functions/update-deployment-build.md b/docs/examples/1.5.x/server-python/examples/functions/update-deployment-build.md new file mode 100644 index 0000000000..c69cd7c181 --- /dev/null +++ b/docs/examples/1.5.x/server-python/examples/functions/update-deployment-build.md @@ -0,0 +1,14 @@ +from appwrite.client import Client +from appwrite.services.functions import Functions + +client = Client() +client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key + +functions = Functions(client) + +result = functions.update_deployment_build( + function_id = '<FUNCTION_ID>', + deployment_id = '<DEPLOYMENT_ID>' +) diff --git a/docs/examples/1.5.x/server-python/examples/functions/update-deployment.md b/docs/examples/1.5.x/server-python/examples/functions/update-deployment.md index 59e183e251..0f4c96e85c 100644 --- a/docs/examples/1.5.x/server-python/examples/functions/update-deployment.md +++ b/docs/examples/1.5.x/server-python/examples/functions/update-deployment.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.functions import Functions client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) diff --git a/docs/examples/1.5.x/server-python/examples/functions/update-variable.md b/docs/examples/1.5.x/server-python/examples/functions/update-variable.md index 3fb73e0b2e..bcab3685a2 100644 --- a/docs/examples/1.5.x/server-python/examples/functions/update-variable.md +++ b/docs/examples/1.5.x/server-python/examples/functions/update-variable.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.functions import Functions client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) diff --git a/docs/examples/1.5.x/server-python/examples/functions/update.md b/docs/examples/1.5.x/server-python/examples/functions/update.md index edc1b0c3ff..a7282412cc 100644 --- a/docs/examples/1.5.x/server-python/examples/functions/update.md +++ b/docs/examples/1.5.x/server-python/examples/functions/update.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.functions import Functions client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) @@ -19,9 +20,11 @@ result = functions.update( logging = False, # optional entrypoint = '<ENTRYPOINT>', # optional commands = '<COMMANDS>', # optional + scopes = [], # optional installation_id = '<INSTALLATION_ID>', # optional provider_repository_id = '<PROVIDER_REPOSITORY_ID>', # optional provider_branch = '<PROVIDER_BRANCH>', # optional provider_silent_mode = False, # optional - provider_root_directory = '<PROVIDER_ROOT_DIRECTORY>' # optional + provider_root_directory = '<PROVIDER_ROOT_DIRECTORY>', # optional + specification = '' # optional ) diff --git a/docs/examples/1.5.x/server-python/examples/graphql/mutation.md b/docs/examples/1.5.x/server-python/examples/graphql/mutation.md index 3d9ad02139..e05f602719 100644 --- a/docs/examples/1.5.x/server-python/examples/graphql/mutation.md +++ b/docs/examples/1.5.x/server-python/examples/graphql/mutation.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.graphql import Graphql client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key graphql = Graphql(client) diff --git a/docs/examples/1.5.x/server-python/examples/graphql/query.md b/docs/examples/1.5.x/server-python/examples/graphql/query.md index deb07a882d..c8f3c78a1a 100644 --- a/docs/examples/1.5.x/server-python/examples/graphql/query.md +++ b/docs/examples/1.5.x/server-python/examples/graphql/query.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.graphql import Graphql client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key graphql = Graphql(client) diff --git a/docs/examples/1.5.x/server-python/examples/health/get-antivirus.md b/docs/examples/1.5.x/server-python/examples/health/get-antivirus.md index 5ba219917f..7bc0475abf 100644 --- a/docs/examples/1.5.x/server-python/examples/health/get-antivirus.md +++ b/docs/examples/1.5.x/server-python/examples/health/get-antivirus.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.health import Health client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/1.5.x/server-python/examples/health/get-cache.md b/docs/examples/1.5.x/server-python/examples/health/get-cache.md index 02b85b3286..7e69825ecf 100644 --- a/docs/examples/1.5.x/server-python/examples/health/get-cache.md +++ b/docs/examples/1.5.x/server-python/examples/health/get-cache.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.health import Health client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/1.5.x/server-python/examples/health/get-certificate.md b/docs/examples/1.5.x/server-python/examples/health/get-certificate.md index 83018cf1b1..f6a713e2f3 100644 --- a/docs/examples/1.5.x/server-python/examples/health/get-certificate.md +++ b/docs/examples/1.5.x/server-python/examples/health/get-certificate.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.health import Health client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/1.5.x/server-python/examples/health/get-d-b.md b/docs/examples/1.5.x/server-python/examples/health/get-d-b.md index 5446df5b9d..a23a073ac7 100644 --- a/docs/examples/1.5.x/server-python/examples/health/get-d-b.md +++ b/docs/examples/1.5.x/server-python/examples/health/get-d-b.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.health import Health client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/1.5.x/server-python/examples/health/get-failed-jobs.md b/docs/examples/1.5.x/server-python/examples/health/get-failed-jobs.md index ad9f88c25f..d0fe64f7f3 100644 --- a/docs/examples/1.5.x/server-python/examples/health/get-failed-jobs.md +++ b/docs/examples/1.5.x/server-python/examples/health/get-failed-jobs.md @@ -1,10 +1,11 @@ from appwrite.client import Client +from appwrite.services.health import Health from appwrite.enums import client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/1.5.x/server-python/examples/health/get-pub-sub.md b/docs/examples/1.5.x/server-python/examples/health/get-pub-sub.md index 84ffd974a2..109b2889f6 100644 --- a/docs/examples/1.5.x/server-python/examples/health/get-pub-sub.md +++ b/docs/examples/1.5.x/server-python/examples/health/get-pub-sub.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.health import Health client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/1.5.x/server-python/examples/health/get-queue-builds.md b/docs/examples/1.5.x/server-python/examples/health/get-queue-builds.md index b513c2c364..b1d4d62116 100644 --- a/docs/examples/1.5.x/server-python/examples/health/get-queue-builds.md +++ b/docs/examples/1.5.x/server-python/examples/health/get-queue-builds.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.health import Health client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/1.5.x/server-python/examples/health/get-queue-certificates.md b/docs/examples/1.5.x/server-python/examples/health/get-queue-certificates.md index bbeece1702..99f52b8eda 100644 --- a/docs/examples/1.5.x/server-python/examples/health/get-queue-certificates.md +++ b/docs/examples/1.5.x/server-python/examples/health/get-queue-certificates.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.health import Health client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/1.5.x/server-python/examples/health/get-queue-databases.md b/docs/examples/1.5.x/server-python/examples/health/get-queue-databases.md index 936266c609..7d5e5a0c58 100644 --- a/docs/examples/1.5.x/server-python/examples/health/get-queue-databases.md +++ b/docs/examples/1.5.x/server-python/examples/health/get-queue-databases.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.health import Health client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/1.5.x/server-python/examples/health/get-queue-deletes.md b/docs/examples/1.5.x/server-python/examples/health/get-queue-deletes.md index b39b445cd1..d677af582e 100644 --- a/docs/examples/1.5.x/server-python/examples/health/get-queue-deletes.md +++ b/docs/examples/1.5.x/server-python/examples/health/get-queue-deletes.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.health import Health client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/1.5.x/server-python/examples/health/get-queue-functions.md b/docs/examples/1.5.x/server-python/examples/health/get-queue-functions.md index a989a6a397..3ffc4b8f52 100644 --- a/docs/examples/1.5.x/server-python/examples/health/get-queue-functions.md +++ b/docs/examples/1.5.x/server-python/examples/health/get-queue-functions.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.health import Health client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/1.5.x/server-python/examples/health/get-queue-logs.md b/docs/examples/1.5.x/server-python/examples/health/get-queue-logs.md index 47a56f7ef0..0cb6417f4f 100644 --- a/docs/examples/1.5.x/server-python/examples/health/get-queue-logs.md +++ b/docs/examples/1.5.x/server-python/examples/health/get-queue-logs.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.health import Health client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/1.5.x/server-python/examples/health/get-queue-mails.md b/docs/examples/1.5.x/server-python/examples/health/get-queue-mails.md index 39fc879aed..97a501cc1c 100644 --- a/docs/examples/1.5.x/server-python/examples/health/get-queue-mails.md +++ b/docs/examples/1.5.x/server-python/examples/health/get-queue-mails.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.health import Health client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/1.5.x/server-python/examples/health/get-queue-messaging.md b/docs/examples/1.5.x/server-python/examples/health/get-queue-messaging.md index 3862c9ee2e..ea93eab6dc 100644 --- a/docs/examples/1.5.x/server-python/examples/health/get-queue-messaging.md +++ b/docs/examples/1.5.x/server-python/examples/health/get-queue-messaging.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.health import Health client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/1.5.x/server-python/examples/health/get-queue-migrations.md b/docs/examples/1.5.x/server-python/examples/health/get-queue-migrations.md index 85a5e56544..09e35dfa9d 100644 --- a/docs/examples/1.5.x/server-python/examples/health/get-queue-migrations.md +++ b/docs/examples/1.5.x/server-python/examples/health/get-queue-migrations.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.health import Health client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/1.5.x/server-python/examples/health/get-queue-stats-resources.md b/docs/examples/1.5.x/server-python/examples/health/get-queue-stats-resources.md new file mode 100644 index 0000000000..3b09342c4b --- /dev/null +++ b/docs/examples/1.5.x/server-python/examples/health/get-queue-stats-resources.md @@ -0,0 +1,13 @@ +from appwrite.client import Client +from appwrite.services.health import Health + +client = Client() +client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key + +health = Health(client) + +result = health.get_queue_stats_resources( + threshold = None # optional +) diff --git a/docs/examples/1.5.x/server-python/examples/health/get-queue-usage-dump.md b/docs/examples/1.5.x/server-python/examples/health/get-queue-usage-dump.md index 2b8e302fd5..d12e9abe8a 100644 --- a/docs/examples/1.5.x/server-python/examples/health/get-queue-usage-dump.md +++ b/docs/examples/1.5.x/server-python/examples/health/get-queue-usage-dump.md @@ -1,7 +1,7 @@ from appwrite.client import Client client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('5df5acd0d48c2') # Your project ID client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.5.x/server-python/examples/health/get-queue-usage.md b/docs/examples/1.5.x/server-python/examples/health/get-queue-usage.md index 42d7281ff9..dbee75fce0 100644 --- a/docs/examples/1.5.x/server-python/examples/health/get-queue-usage.md +++ b/docs/examples/1.5.x/server-python/examples/health/get-queue-usage.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.health import Health client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/1.5.x/server-python/examples/health/get-queue-webhooks.md b/docs/examples/1.5.x/server-python/examples/health/get-queue-webhooks.md index 435ba95b3b..1072a20def 100644 --- a/docs/examples/1.5.x/server-python/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.5.x/server-python/examples/health/get-queue-webhooks.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.health import Health client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/1.5.x/server-python/examples/health/get-queue.md b/docs/examples/1.5.x/server-python/examples/health/get-queue.md index 81ea4ba6bd..2b1a03b8a6 100644 --- a/docs/examples/1.5.x/server-python/examples/health/get-queue.md +++ b/docs/examples/1.5.x/server-python/examples/health/get-queue.md @@ -1,7 +1,7 @@ from appwrite.client import Client client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('5df5acd0d48c2') # Your project ID client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.5.x/server-python/examples/health/get-storage-local.md b/docs/examples/1.5.x/server-python/examples/health/get-storage-local.md index c2624558db..d3b94b2177 100644 --- a/docs/examples/1.5.x/server-python/examples/health/get-storage-local.md +++ b/docs/examples/1.5.x/server-python/examples/health/get-storage-local.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.health import Health client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/1.5.x/server-python/examples/health/get-storage.md b/docs/examples/1.5.x/server-python/examples/health/get-storage.md index ebe83edc28..65af2f959d 100644 --- a/docs/examples/1.5.x/server-python/examples/health/get-storage.md +++ b/docs/examples/1.5.x/server-python/examples/health/get-storage.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.health import Health client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/1.5.x/server-python/examples/health/get-time.md b/docs/examples/1.5.x/server-python/examples/health/get-time.md index 02405dbd73..d63beb988b 100644 --- a/docs/examples/1.5.x/server-python/examples/health/get-time.md +++ b/docs/examples/1.5.x/server-python/examples/health/get-time.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.health import Health client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/1.5.x/server-python/examples/health/get.md b/docs/examples/1.5.x/server-python/examples/health/get.md index 22034e760a..f5c494e12d 100644 --- a/docs/examples/1.5.x/server-python/examples/health/get.md +++ b/docs/examples/1.5.x/server-python/examples/health/get.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.health import Health client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/1.5.x/server-python/examples/locale/get.md b/docs/examples/1.5.x/server-python/examples/locale/get.md index 8915eb10b3..a44f4974ac 100644 --- a/docs/examples/1.5.x/server-python/examples/locale/get.md +++ b/docs/examples/1.5.x/server-python/examples/locale/get.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.locale import Locale client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with locale = Locale(client) diff --git a/docs/examples/1.5.x/server-python/examples/locale/list-codes.md b/docs/examples/1.5.x/server-python/examples/locale/list-codes.md index 9d2c93905f..12cd12ee70 100644 --- a/docs/examples/1.5.x/server-python/examples/locale/list-codes.md +++ b/docs/examples/1.5.x/server-python/examples/locale/list-codes.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.locale import Locale client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with locale = Locale(client) diff --git a/docs/examples/1.5.x/server-python/examples/locale/list-continents.md b/docs/examples/1.5.x/server-python/examples/locale/list-continents.md index fadd5f36fc..ea4ac5312d 100644 --- a/docs/examples/1.5.x/server-python/examples/locale/list-continents.md +++ b/docs/examples/1.5.x/server-python/examples/locale/list-continents.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.locale import Locale client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with locale = Locale(client) diff --git a/docs/examples/1.5.x/server-python/examples/locale/list-countries-e-u.md b/docs/examples/1.5.x/server-python/examples/locale/list-countries-e-u.md index 2f3bd50704..7fb6aaa59e 100644 --- a/docs/examples/1.5.x/server-python/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.5.x/server-python/examples/locale/list-countries-e-u.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.locale import Locale client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with locale = Locale(client) diff --git a/docs/examples/1.5.x/server-python/examples/locale/list-countries-phones.md b/docs/examples/1.5.x/server-python/examples/locale/list-countries-phones.md index 134ddaab17..aafdb3d547 100644 --- a/docs/examples/1.5.x/server-python/examples/locale/list-countries-phones.md +++ b/docs/examples/1.5.x/server-python/examples/locale/list-countries-phones.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.locale import Locale client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with locale = Locale(client) diff --git a/docs/examples/1.5.x/server-python/examples/locale/list-countries.md b/docs/examples/1.5.x/server-python/examples/locale/list-countries.md index f344cc1098..a2f1ec458d 100644 --- a/docs/examples/1.5.x/server-python/examples/locale/list-countries.md +++ b/docs/examples/1.5.x/server-python/examples/locale/list-countries.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.locale import Locale client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with locale = Locale(client) diff --git a/docs/examples/1.5.x/server-python/examples/locale/list-currencies.md b/docs/examples/1.5.x/server-python/examples/locale/list-currencies.md index 19d831f7c2..39267c663c 100644 --- a/docs/examples/1.5.x/server-python/examples/locale/list-currencies.md +++ b/docs/examples/1.5.x/server-python/examples/locale/list-currencies.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.locale import Locale client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with locale = Locale(client) diff --git a/docs/examples/1.5.x/server-python/examples/locale/list-languages.md b/docs/examples/1.5.x/server-python/examples/locale/list-languages.md index 6de06d36d8..6dec1b9072 100644 --- a/docs/examples/1.5.x/server-python/examples/locale/list-languages.md +++ b/docs/examples/1.5.x/server-python/examples/locale/list-languages.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.locale import Locale client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with locale = Locale(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/create-a-p-n-s-provider.md b/docs/examples/1.5.x/server-python/examples/messaging/create-a-p-n-s-provider.md index ad05664cd1..5a08fdeede 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/create-a-p-n-s-provider.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/create-a-p-n-s-provider.md @@ -3,7 +3,7 @@ from appwrite.client import Client client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/create-apns-provider.md b/docs/examples/1.5.x/server-python/examples/messaging/create-apns-provider.md index 287472fa3e..700e909c44 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/create-apns-provider.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/create-apns-provider.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/create-email.md b/docs/examples/1.5.x/server-python/examples/messaging/create-email.md index acca4d5ade..92353e22c2 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/create-email.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/create-email.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/create-f-c-m-provider.md b/docs/examples/1.5.x/server-python/examples/messaging/create-f-c-m-provider.md index b6b2a7b3ed..7619f4d2f2 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/create-f-c-m-provider.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/create-f-c-m-provider.md @@ -3,7 +3,7 @@ from appwrite.client import Client client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/create-fcm-provider.md b/docs/examples/1.5.x/server-python/examples/messaging/create-fcm-provider.md index 43c882befa..d13ba0213d 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/create-fcm-provider.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/create-fcm-provider.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/create-mailgun-provider.md b/docs/examples/1.5.x/server-python/examples/messaging/create-mailgun-provider.md index 38eb415db7..83899716d7 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/create-mailgun-provider.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/create-mailgun-provider.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/create-msg91provider.md b/docs/examples/1.5.x/server-python/examples/messaging/create-msg91provider.md index d11812c8cb..117c46edca 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/create-msg91provider.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/create-msg91provider.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/create-push.md b/docs/examples/1.5.x/server-python/examples/messaging/create-push.md index 7da7ac75a3..d4051859df 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/create-push.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/create-push.md @@ -1,16 +1,17 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) result = messaging.create_push( message_id = '<MESSAGE_ID>', - title = '<TITLE>', - body = '<BODY>', + title = '<TITLE>', # optional + body = '<BODY>', # optional topics = [], # optional users = [], # optional targets = [], # optional @@ -21,7 +22,10 @@ result = messaging.create_push( sound = '<SOUND>', # optional color = '<COLOR>', # optional tag = '<TAG>', # optional - badge = '<BADGE>', # optional + badge = None, # optional draft = False, # optional - scheduled_at = '' # optional + scheduled_at = '', # optional + content_available = False, # optional + critical = False, # optional + priority = MessagePriority.NORMAL # optional ) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/create-s-m-s.md b/docs/examples/1.5.x/server-python/examples/messaging/create-s-m-s.md index d2eb41a92d..12d0961e93 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/create-s-m-s.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/create-s-m-s.md @@ -3,7 +3,7 @@ from appwrite.client import Client client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/create-s-m-t-p-provider.md b/docs/examples/1.5.x/server-python/examples/messaging/create-s-m-t-p-provider.md index f7af468d9a..c283216807 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/create-s-m-t-p-provider.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/create-s-m-t-p-provider.md @@ -3,7 +3,7 @@ from appwrite.client import Client client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/create-sendgrid-provider.md b/docs/examples/1.5.x/server-python/examples/messaging/create-sendgrid-provider.md index e22dad8efe..5d20cde78d 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/create-sendgrid-provider.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/create-sendgrid-provider.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/create-sms.md b/docs/examples/1.5.x/server-python/examples/messaging/create-sms.md index 38c36657fb..c7e66d8c75 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/create-sms.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/create-sms.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/create-smtp-provider.md b/docs/examples/1.5.x/server-python/examples/messaging/create-smtp-provider.md index b3b299b8ab..85c58236c0 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/create-smtp-provider.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/create-smtp-provider.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/create-subscriber.md b/docs/examples/1.5.x/server-python/examples/messaging/create-subscriber.md index d6ffd09c5e..cb8f4f748d 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/create-subscriber.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/create-subscriber.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_jwt('<YOUR_JWT>') # Your secret JSON Web Token messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/create-telesign-provider.md b/docs/examples/1.5.x/server-python/examples/messaging/create-telesign-provider.md index b1fbab3192..b602213b78 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/create-telesign-provider.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/create-telesign-provider.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/create-textmagic-provider.md b/docs/examples/1.5.x/server-python/examples/messaging/create-textmagic-provider.md index bd251d9ccf..03287e8fac 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/create-textmagic-provider.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/create-textmagic-provider.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/create-topic.md b/docs/examples/1.5.x/server-python/examples/messaging/create-topic.md index e8532b27c4..4dd16da3f0 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/create-topic.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/create-topic.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/create-twilio-provider.md b/docs/examples/1.5.x/server-python/examples/messaging/create-twilio-provider.md index 3535fd003b..524348f085 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/create-twilio-provider.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/create-twilio-provider.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/create-vonage-provider.md b/docs/examples/1.5.x/server-python/examples/messaging/create-vonage-provider.md index 60780969ca..68416bd8c3 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/create-vonage-provider.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/create-vonage-provider.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/delete-provider.md b/docs/examples/1.5.x/server-python/examples/messaging/delete-provider.md index 58e1684976..2a1840d64d 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/delete-provider.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/delete-provider.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/delete-subscriber.md b/docs/examples/1.5.x/server-python/examples/messaging/delete-subscriber.md index 4988d0696b..94085ef86b 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/delete-subscriber.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/delete-subscriber.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_jwt('<YOUR_JWT>') # Your secret JSON Web Token messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/delete-topic.md b/docs/examples/1.5.x/server-python/examples/messaging/delete-topic.md index 769df6ee38..1c2f5635da 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/delete-topic.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/delete-topic.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/delete.md b/docs/examples/1.5.x/server-python/examples/messaging/delete.md index a25e80b7bd..aee928a792 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/delete.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/delete.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/get-message.md b/docs/examples/1.5.x/server-python/examples/messaging/get-message.md index db6506eee9..9e32d80623 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/get-message.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/get-message.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/get-provider.md b/docs/examples/1.5.x/server-python/examples/messaging/get-provider.md index 3e71e95154..6bc85f2710 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/get-provider.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/get-provider.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/get-subscriber.md b/docs/examples/1.5.x/server-python/examples/messaging/get-subscriber.md index e8bb0300e4..43185d7eb3 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/get-subscriber.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/get-subscriber.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/get-topic.md b/docs/examples/1.5.x/server-python/examples/messaging/get-topic.md index a5e9e7b816..dea6cbfb6b 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/get-topic.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/get-topic.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/list-message-logs.md b/docs/examples/1.5.x/server-python/examples/messaging/list-message-logs.md index 1cfbb2ea2a..1c2ab0b035 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/list-message-logs.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/list-message-logs.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/list-messages.md b/docs/examples/1.5.x/server-python/examples/messaging/list-messages.md index 429273305a..8457f99ad5 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/list-messages.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/list-messages.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/list-provider-logs.md b/docs/examples/1.5.x/server-python/examples/messaging/list-provider-logs.md index be2f73557d..c8544fac1e 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/list-provider-logs.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/list-provider-logs.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/list-providers.md b/docs/examples/1.5.x/server-python/examples/messaging/list-providers.md index 477c3b2dc7..258e7cd6e1 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/list-providers.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/list-providers.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/list-subscriber-logs.md b/docs/examples/1.5.x/server-python/examples/messaging/list-subscriber-logs.md index 744b53ff25..d2049bd560 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/list-subscriber-logs.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/list-subscriber-logs.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/list-subscribers.md b/docs/examples/1.5.x/server-python/examples/messaging/list-subscribers.md index ec8ef1d408..ba9e09d8b9 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/list-subscribers.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/list-subscribers.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/list-targets.md b/docs/examples/1.5.x/server-python/examples/messaging/list-targets.md index 7ccc6f95ec..b941ccbd31 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/list-targets.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/list-targets.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/list-topic-logs.md b/docs/examples/1.5.x/server-python/examples/messaging/list-topic-logs.md index 4813049dff..57ba7f8d31 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/list-topic-logs.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/list-topic-logs.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/list-topics.md b/docs/examples/1.5.x/server-python/examples/messaging/list-topics.md index 6bae44592f..cb21567d42 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/list-topics.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/list-topics.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/update-a-p-n-s-provider.md b/docs/examples/1.5.x/server-python/examples/messaging/update-a-p-n-s-provider.md index 02b9dd8d00..73f3d16775 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/update-a-p-n-s-provider.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/update-a-p-n-s-provider.md @@ -1,7 +1,7 @@ from appwrite.client import Client client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('5df5acd0d48c2') # Your project ID client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.5.x/server-python/examples/messaging/update-apns-provider.md b/docs/examples/1.5.x/server-python/examples/messaging/update-apns-provider.md index 4e3f998d8e..3f0205d4ce 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/update-apns-provider.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/update-apns-provider.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/update-email.md b/docs/examples/1.5.x/server-python/examples/messaging/update-email.md index a2d2589424..b8f9d719c1 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/update-email.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/update-email.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/update-f-c-m-provider.md b/docs/examples/1.5.x/server-python/examples/messaging/update-f-c-m-provider.md index e767772f2c..1905e17ce6 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/update-f-c-m-provider.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/update-f-c-m-provider.md @@ -1,7 +1,7 @@ from appwrite.client import Client client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('5df5acd0d48c2') # Your project ID client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.5.x/server-python/examples/messaging/update-fcm-provider.md b/docs/examples/1.5.x/server-python/examples/messaging/update-fcm-provider.md index d2179b6e43..862e579f53 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/update-fcm-provider.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/update-fcm-provider.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/update-mailgun-provider.md b/docs/examples/1.5.x/server-python/examples/messaging/update-mailgun-provider.md index d04c61756e..aa1d4e922c 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/update-mailgun-provider.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/update-mailgun-provider.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/update-msg91provider.md b/docs/examples/1.5.x/server-python/examples/messaging/update-msg91provider.md index d13a3871ff..2d4efdbd78 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/update-msg91provider.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/update-msg91provider.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/update-push.md b/docs/examples/1.5.x/server-python/examples/messaging/update-push.md index ff136b940d..12663533c3 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/update-push.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/update-push.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) @@ -23,5 +24,8 @@ result = messaging.update_push( tag = '<TAG>', # optional badge = None, # optional draft = False, # optional - scheduled_at = '' # optional + scheduled_at = '', # optional + content_available = False, # optional + critical = False, # optional + priority = MessagePriority.NORMAL # optional ) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/update-s-m-s.md b/docs/examples/1.5.x/server-python/examples/messaging/update-s-m-s.md index bb8039a4e8..0b0ac5909d 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/update-s-m-s.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/update-s-m-s.md @@ -3,7 +3,7 @@ from appwrite.client import Client client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/update-s-m-t-p-provider.md b/docs/examples/1.5.x/server-python/examples/messaging/update-s-m-t-p-provider.md index 7faad9eb08..9475fb8a8d 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/update-s-m-t-p-provider.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/update-s-m-t-p-provider.md @@ -3,7 +3,7 @@ from appwrite.client import Client client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/update-sendgrid-provider.md b/docs/examples/1.5.x/server-python/examples/messaging/update-sendgrid-provider.md index 4d10aad1f2..e528bd543d 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/update-sendgrid-provider.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/update-sendgrid-provider.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/update-sms.md b/docs/examples/1.5.x/server-python/examples/messaging/update-sms.md index 4b9319ba6c..7cb008736f 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/update-sms.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/update-sms.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/update-smtp-provider.md b/docs/examples/1.5.x/server-python/examples/messaging/update-smtp-provider.md index f3a9b96360..2d798d4e0e 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/update-smtp-provider.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/update-smtp-provider.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/update-telesign-provider.md b/docs/examples/1.5.x/server-python/examples/messaging/update-telesign-provider.md index 9c3c5bb62a..91de1f155c 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/update-telesign-provider.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/update-telesign-provider.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/update-textmagic-provider.md b/docs/examples/1.5.x/server-python/examples/messaging/update-textmagic-provider.md index 4da5e71fd5..c3031047c9 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/update-textmagic-provider.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/update-textmagic-provider.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/update-topic.md b/docs/examples/1.5.x/server-python/examples/messaging/update-topic.md index 73c2c88886..160ac26b6b 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/update-topic.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/update-topic.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/update-twilio-provider.md b/docs/examples/1.5.x/server-python/examples/messaging/update-twilio-provider.md index 8461df020b..865fcb5c1d 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/update-twilio-provider.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/update-twilio-provider.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/messaging/update-vonage-provider.md b/docs/examples/1.5.x/server-python/examples/messaging/update-vonage-provider.md index 32708b01b5..8e01128bf2 100644 --- a/docs/examples/1.5.x/server-python/examples/messaging/update-vonage-provider.md +++ b/docs/examples/1.5.x/server-python/examples/messaging/update-vonage-provider.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.messaging import Messaging client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-python/examples/storage/create-bucket.md b/docs/examples/1.5.x/server-python/examples/storage/create-bucket.md index bbeebf1328..7e321f12a3 100644 --- a/docs/examples/1.5.x/server-python/examples/storage/create-bucket.md +++ b/docs/examples/1.5.x/server-python/examples/storage/create-bucket.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.storage import Storage client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key storage = Storage(client) diff --git a/docs/examples/1.5.x/server-python/examples/storage/create-file.md b/docs/examples/1.5.x/server-python/examples/storage/create-file.md index b8cae35c35..fa0b117b01 100644 --- a/docs/examples/1.5.x/server-python/examples/storage/create-file.md +++ b/docs/examples/1.5.x/server-python/examples/storage/create-file.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.storage import Storage from appwrite.input_file import InputFile client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with storage = Storage(client) diff --git a/docs/examples/1.5.x/server-python/examples/storage/delete-bucket.md b/docs/examples/1.5.x/server-python/examples/storage/delete-bucket.md index cd008a7bcc..8cddfb9202 100644 --- a/docs/examples/1.5.x/server-python/examples/storage/delete-bucket.md +++ b/docs/examples/1.5.x/server-python/examples/storage/delete-bucket.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.storage import Storage client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key storage = Storage(client) diff --git a/docs/examples/1.5.x/server-python/examples/storage/delete-file.md b/docs/examples/1.5.x/server-python/examples/storage/delete-file.md index 69fe398bbf..08bba5ca4b 100644 --- a/docs/examples/1.5.x/server-python/examples/storage/delete-file.md +++ b/docs/examples/1.5.x/server-python/examples/storage/delete-file.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.storage import Storage client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with storage = Storage(client) diff --git a/docs/examples/1.5.x/server-python/examples/storage/get-bucket.md b/docs/examples/1.5.x/server-python/examples/storage/get-bucket.md index 8740eb5fa1..79f903f244 100644 --- a/docs/examples/1.5.x/server-python/examples/storage/get-bucket.md +++ b/docs/examples/1.5.x/server-python/examples/storage/get-bucket.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.storage import Storage client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key storage = Storage(client) diff --git a/docs/examples/1.5.x/server-python/examples/storage/get-file-download.md b/docs/examples/1.5.x/server-python/examples/storage/get-file-download.md index 30fff99e22..1a82b26c70 100644 --- a/docs/examples/1.5.x/server-python/examples/storage/get-file-download.md +++ b/docs/examples/1.5.x/server-python/examples/storage/get-file-download.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.storage import Storage client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with storage = Storage(client) diff --git a/docs/examples/1.5.x/server-python/examples/storage/get-file-preview.md b/docs/examples/1.5.x/server-python/examples/storage/get-file-preview.md index 08dcb47c2d..40f32f1f10 100644 --- a/docs/examples/1.5.x/server-python/examples/storage/get-file-preview.md +++ b/docs/examples/1.5.x/server-python/examples/storage/get-file-preview.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.storage import Storage client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with storage = Storage(client) diff --git a/docs/examples/1.5.x/server-python/examples/storage/get-file-view.md b/docs/examples/1.5.x/server-python/examples/storage/get-file-view.md index 6cf8565aac..3947c76761 100644 --- a/docs/examples/1.5.x/server-python/examples/storage/get-file-view.md +++ b/docs/examples/1.5.x/server-python/examples/storage/get-file-view.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.storage import Storage client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with storage = Storage(client) diff --git a/docs/examples/1.5.x/server-python/examples/storage/get-file.md b/docs/examples/1.5.x/server-python/examples/storage/get-file.md index f54c7a5c02..0c2d5e3b2c 100644 --- a/docs/examples/1.5.x/server-python/examples/storage/get-file.md +++ b/docs/examples/1.5.x/server-python/examples/storage/get-file.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.storage import Storage client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with storage = Storage(client) diff --git a/docs/examples/1.5.x/server-python/examples/storage/list-buckets.md b/docs/examples/1.5.x/server-python/examples/storage/list-buckets.md index 909d6f7db1..88540cd5ce 100644 --- a/docs/examples/1.5.x/server-python/examples/storage/list-buckets.md +++ b/docs/examples/1.5.x/server-python/examples/storage/list-buckets.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.storage import Storage client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key storage = Storage(client) diff --git a/docs/examples/1.5.x/server-python/examples/storage/list-files.md b/docs/examples/1.5.x/server-python/examples/storage/list-files.md index 73f4a285b8..e26ac2e5f3 100644 --- a/docs/examples/1.5.x/server-python/examples/storage/list-files.md +++ b/docs/examples/1.5.x/server-python/examples/storage/list-files.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.storage import Storage client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with storage = Storage(client) diff --git a/docs/examples/1.5.x/server-python/examples/storage/update-bucket.md b/docs/examples/1.5.x/server-python/examples/storage/update-bucket.md index 4722284f96..61388b0923 100644 --- a/docs/examples/1.5.x/server-python/examples/storage/update-bucket.md +++ b/docs/examples/1.5.x/server-python/examples/storage/update-bucket.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.storage import Storage client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key storage = Storage(client) diff --git a/docs/examples/1.5.x/server-python/examples/storage/update-file.md b/docs/examples/1.5.x/server-python/examples/storage/update-file.md index 0a0b78cc25..336e8a0846 100644 --- a/docs/examples/1.5.x/server-python/examples/storage/update-file.md +++ b/docs/examples/1.5.x/server-python/examples/storage/update-file.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.storage import Storage client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with storage = Storage(client) diff --git a/docs/examples/1.5.x/server-python/examples/teams/create-membership.md b/docs/examples/1.5.x/server-python/examples/teams/create-membership.md index 5be1405b64..1af9f252ab 100644 --- a/docs/examples/1.5.x/server-python/examples/teams/create-membership.md +++ b/docs/examples/1.5.x/server-python/examples/teams/create-membership.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.teams import Teams client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with teams = Teams(client) diff --git a/docs/examples/1.5.x/server-python/examples/teams/create.md b/docs/examples/1.5.x/server-python/examples/teams/create.md index c305b46b75..7085d39642 100644 --- a/docs/examples/1.5.x/server-python/examples/teams/create.md +++ b/docs/examples/1.5.x/server-python/examples/teams/create.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.teams import Teams client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with teams = Teams(client) diff --git a/docs/examples/1.5.x/server-python/examples/teams/delete-membership.md b/docs/examples/1.5.x/server-python/examples/teams/delete-membership.md index b9f34aa2bd..adf065cd3c 100644 --- a/docs/examples/1.5.x/server-python/examples/teams/delete-membership.md +++ b/docs/examples/1.5.x/server-python/examples/teams/delete-membership.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.teams import Teams client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with teams = Teams(client) diff --git a/docs/examples/1.5.x/server-python/examples/teams/delete.md b/docs/examples/1.5.x/server-python/examples/teams/delete.md index 18623d180b..762f532dbf 100644 --- a/docs/examples/1.5.x/server-python/examples/teams/delete.md +++ b/docs/examples/1.5.x/server-python/examples/teams/delete.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.teams import Teams client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with teams = Teams(client) diff --git a/docs/examples/1.5.x/server-python/examples/teams/get-membership.md b/docs/examples/1.5.x/server-python/examples/teams/get-membership.md index 06d270a9c9..17bacff1d3 100644 --- a/docs/examples/1.5.x/server-python/examples/teams/get-membership.md +++ b/docs/examples/1.5.x/server-python/examples/teams/get-membership.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.teams import Teams client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with teams = Teams(client) diff --git a/docs/examples/1.5.x/server-python/examples/teams/get-prefs.md b/docs/examples/1.5.x/server-python/examples/teams/get-prefs.md index 046d638508..035777d5cd 100644 --- a/docs/examples/1.5.x/server-python/examples/teams/get-prefs.md +++ b/docs/examples/1.5.x/server-python/examples/teams/get-prefs.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.teams import Teams client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with teams = Teams(client) diff --git a/docs/examples/1.5.x/server-python/examples/teams/get.md b/docs/examples/1.5.x/server-python/examples/teams/get.md index ee5fdf6a59..985924e10b 100644 --- a/docs/examples/1.5.x/server-python/examples/teams/get.md +++ b/docs/examples/1.5.x/server-python/examples/teams/get.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.teams import Teams client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with teams = Teams(client) diff --git a/docs/examples/1.5.x/server-python/examples/teams/list-memberships.md b/docs/examples/1.5.x/server-python/examples/teams/list-memberships.md index 997a106dd9..885a4c2822 100644 --- a/docs/examples/1.5.x/server-python/examples/teams/list-memberships.md +++ b/docs/examples/1.5.x/server-python/examples/teams/list-memberships.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.teams import Teams client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with teams = Teams(client) diff --git a/docs/examples/1.5.x/server-python/examples/teams/list.md b/docs/examples/1.5.x/server-python/examples/teams/list.md index f066e01894..c92d4c9c13 100644 --- a/docs/examples/1.5.x/server-python/examples/teams/list.md +++ b/docs/examples/1.5.x/server-python/examples/teams/list.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.teams import Teams client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with teams = Teams(client) diff --git a/docs/examples/1.5.x/server-python/examples/teams/update-membership-status.md b/docs/examples/1.5.x/server-python/examples/teams/update-membership-status.md index 5ab354e93e..ae6e524da5 100644 --- a/docs/examples/1.5.x/server-python/examples/teams/update-membership-status.md +++ b/docs/examples/1.5.x/server-python/examples/teams/update-membership-status.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.teams import Teams client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with teams = Teams(client) diff --git a/docs/examples/1.5.x/server-python/examples/teams/update-membership.md b/docs/examples/1.5.x/server-python/examples/teams/update-membership.md index a681533a6b..c50f345b88 100644 --- a/docs/examples/1.5.x/server-python/examples/teams/update-membership.md +++ b/docs/examples/1.5.x/server-python/examples/teams/update-membership.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.teams import Teams client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with teams = Teams(client) diff --git a/docs/examples/1.5.x/server-python/examples/teams/update-name.md b/docs/examples/1.5.x/server-python/examples/teams/update-name.md index 24305701c8..d25c8db1f2 100644 --- a/docs/examples/1.5.x/server-python/examples/teams/update-name.md +++ b/docs/examples/1.5.x/server-python/examples/teams/update-name.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.teams import Teams client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with teams = Teams(client) diff --git a/docs/examples/1.5.x/server-python/examples/teams/update-prefs.md b/docs/examples/1.5.x/server-python/examples/teams/update-prefs.md index 27de6470b5..9eca847a02 100644 --- a/docs/examples/1.5.x/server-python/examples/teams/update-prefs.md +++ b/docs/examples/1.5.x/server-python/examples/teams/update-prefs.md @@ -1,8 +1,9 @@ from appwrite.client import Client +from appwrite.services.teams import Teams client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with teams = Teams(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/create-argon2user.md b/docs/examples/1.5.x/server-python/examples/users/create-argon2user.md index 2317c81100..3d65496573 100644 --- a/docs/examples/1.5.x/server-python/examples/users/create-argon2user.md +++ b/docs/examples/1.5.x/server-python/examples/users/create-argon2user.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/create-bcrypt-user.md b/docs/examples/1.5.x/server-python/examples/users/create-bcrypt-user.md index 7ea2345d80..76532a98f0 100644 --- a/docs/examples/1.5.x/server-python/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.5.x/server-python/examples/users/create-bcrypt-user.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/create-j-w-t.md b/docs/examples/1.5.x/server-python/examples/users/create-j-w-t.md new file mode 100644 index 0000000000..2e1fdf632f --- /dev/null +++ b/docs/examples/1.5.x/server-python/examples/users/create-j-w-t.md @@ -0,0 +1,15 @@ +from appwrite.client import Client +from appwrite.services.users import Users + +client = Client() +client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key + +users = Users(client) + +result = users.create_jwt( + user_id = '<USER_ID>', + session_id = '<SESSION_ID>', # optional + duration = 0 # optional +) diff --git a/docs/examples/1.5.x/server-python/examples/users/create-m-d5user.md b/docs/examples/1.5.x/server-python/examples/users/create-m-d5user.md index 10b33e5699..da9d471fe2 100644 --- a/docs/examples/1.5.x/server-python/examples/users/create-m-d5user.md +++ b/docs/examples/1.5.x/server-python/examples/users/create-m-d5user.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/create-mfa-recovery-codes.md b/docs/examples/1.5.x/server-python/examples/users/create-mfa-recovery-codes.md index 35706cc3d9..a4477b0406 100644 --- a/docs/examples/1.5.x/server-python/examples/users/create-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-python/examples/users/create-mfa-recovery-codes.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/create-p-h-pass-user.md b/docs/examples/1.5.x/server-python/examples/users/create-p-h-pass-user.md index 5f923302ee..363be4f92f 100644 --- a/docs/examples/1.5.x/server-python/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.5.x/server-python/examples/users/create-p-h-pass-user.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/create-s-h-a-user.md b/docs/examples/1.5.x/server-python/examples/users/create-s-h-a-user.md index c4c9a92a23..bb78ff7b5c 100644 --- a/docs/examples/1.5.x/server-python/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.5.x/server-python/examples/users/create-s-h-a-user.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/create-scrypt-modified-user.md b/docs/examples/1.5.x/server-python/examples/users/create-scrypt-modified-user.md index 321642fc4d..1cfbcfc4b4 100644 --- a/docs/examples/1.5.x/server-python/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.5.x/server-python/examples/users/create-scrypt-modified-user.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/create-scrypt-user.md b/docs/examples/1.5.x/server-python/examples/users/create-scrypt-user.md index e7da3a54a0..2d1e72bf77 100644 --- a/docs/examples/1.5.x/server-python/examples/users/create-scrypt-user.md +++ b/docs/examples/1.5.x/server-python/examples/users/create-scrypt-user.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/create-session.md b/docs/examples/1.5.x/server-python/examples/users/create-session.md index 2440e5040a..bebd46b022 100644 --- a/docs/examples/1.5.x/server-python/examples/users/create-session.md +++ b/docs/examples/1.5.x/server-python/examples/users/create-session.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/create-target.md b/docs/examples/1.5.x/server-python/examples/users/create-target.md index 123a092318..c11c7ca233 100644 --- a/docs/examples/1.5.x/server-python/examples/users/create-target.md +++ b/docs/examples/1.5.x/server-python/examples/users/create-target.md @@ -1,10 +1,11 @@ from appwrite.client import Client +from appwrite.services.users import Users from appwrite.enums import MessagingProviderType client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/create-token.md b/docs/examples/1.5.x/server-python/examples/users/create-token.md index 27e4f5153a..00a0e78610 100644 --- a/docs/examples/1.5.x/server-python/examples/users/create-token.md +++ b/docs/examples/1.5.x/server-python/examples/users/create-token.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/create.md b/docs/examples/1.5.x/server-python/examples/users/create.md index 716c4acc56..c8dac9feae 100644 --- a/docs/examples/1.5.x/server-python/examples/users/create.md +++ b/docs/examples/1.5.x/server-python/examples/users/create.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/delete-authenticator.md b/docs/examples/1.5.x/server-python/examples/users/delete-authenticator.md index b5c5203ee4..0950484851 100644 --- a/docs/examples/1.5.x/server-python/examples/users/delete-authenticator.md +++ b/docs/examples/1.5.x/server-python/examples/users/delete-authenticator.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.enums import AuthenticatorType client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('5df5acd0d48c2') # Your project ID client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.5.x/server-python/examples/users/delete-identity.md b/docs/examples/1.5.x/server-python/examples/users/delete-identity.md index 8e9918f8b3..85c5b6dee3 100644 --- a/docs/examples/1.5.x/server-python/examples/users/delete-identity.md +++ b/docs/examples/1.5.x/server-python/examples/users/delete-identity.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/delete-mfa-authenticator.md b/docs/examples/1.5.x/server-python/examples/users/delete-mfa-authenticator.md index d4181078c4..b22d391879 100644 --- a/docs/examples/1.5.x/server-python/examples/users/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-python/examples/users/delete-mfa-authenticator.md @@ -1,10 +1,11 @@ from appwrite.client import Client +from appwrite.services.users import Users from appwrite.enums import AuthenticatorType client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/delete-session.md b/docs/examples/1.5.x/server-python/examples/users/delete-session.md index b3bdcb24d7..dda5713a9e 100644 --- a/docs/examples/1.5.x/server-python/examples/users/delete-session.md +++ b/docs/examples/1.5.x/server-python/examples/users/delete-session.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/delete-sessions.md b/docs/examples/1.5.x/server-python/examples/users/delete-sessions.md index 08640f5a23..268c311dd9 100644 --- a/docs/examples/1.5.x/server-python/examples/users/delete-sessions.md +++ b/docs/examples/1.5.x/server-python/examples/users/delete-sessions.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/delete-target.md b/docs/examples/1.5.x/server-python/examples/users/delete-target.md index 5309b17c90..38cc5a9a23 100644 --- a/docs/examples/1.5.x/server-python/examples/users/delete-target.md +++ b/docs/examples/1.5.x/server-python/examples/users/delete-target.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/delete.md b/docs/examples/1.5.x/server-python/examples/users/delete.md index bb73199ad3..090c20f5a9 100644 --- a/docs/examples/1.5.x/server-python/examples/users/delete.md +++ b/docs/examples/1.5.x/server-python/examples/users/delete.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/get-mfa-recovery-codes.md b/docs/examples/1.5.x/server-python/examples/users/get-mfa-recovery-codes.md index 529346a497..ec9986ce60 100644 --- a/docs/examples/1.5.x/server-python/examples/users/get-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-python/examples/users/get-mfa-recovery-codes.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/get-prefs.md b/docs/examples/1.5.x/server-python/examples/users/get-prefs.md index 34614de240..eb14d3acb9 100644 --- a/docs/examples/1.5.x/server-python/examples/users/get-prefs.md +++ b/docs/examples/1.5.x/server-python/examples/users/get-prefs.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/get-target.md b/docs/examples/1.5.x/server-python/examples/users/get-target.md index d07591f165..f549f08450 100644 --- a/docs/examples/1.5.x/server-python/examples/users/get-target.md +++ b/docs/examples/1.5.x/server-python/examples/users/get-target.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/get.md b/docs/examples/1.5.x/server-python/examples/users/get.md index efa59416e7..6e018c2b00 100644 --- a/docs/examples/1.5.x/server-python/examples/users/get.md +++ b/docs/examples/1.5.x/server-python/examples/users/get.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/list-factors.md b/docs/examples/1.5.x/server-python/examples/users/list-factors.md index f30144f38c..d45661d8ec 100644 --- a/docs/examples/1.5.x/server-python/examples/users/list-factors.md +++ b/docs/examples/1.5.x/server-python/examples/users/list-factors.md @@ -1,7 +1,7 @@ from appwrite.client import Client client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('5df5acd0d48c2') # Your project ID client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.5.x/server-python/examples/users/list-identities.md b/docs/examples/1.5.x/server-python/examples/users/list-identities.md index e19a3dd3b4..b10c320cdd 100644 --- a/docs/examples/1.5.x/server-python/examples/users/list-identities.md +++ b/docs/examples/1.5.x/server-python/examples/users/list-identities.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/list-logs.md b/docs/examples/1.5.x/server-python/examples/users/list-logs.md index 54e688616c..10d8ae0d03 100644 --- a/docs/examples/1.5.x/server-python/examples/users/list-logs.md +++ b/docs/examples/1.5.x/server-python/examples/users/list-logs.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/list-memberships.md b/docs/examples/1.5.x/server-python/examples/users/list-memberships.md index d0de2fbc0d..fbb3b4c05e 100644 --- a/docs/examples/1.5.x/server-python/examples/users/list-memberships.md +++ b/docs/examples/1.5.x/server-python/examples/users/list-memberships.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/list-mfa-factors.md b/docs/examples/1.5.x/server-python/examples/users/list-mfa-factors.md index 8092b0fd39..1f40b1f538 100644 --- a/docs/examples/1.5.x/server-python/examples/users/list-mfa-factors.md +++ b/docs/examples/1.5.x/server-python/examples/users/list-mfa-factors.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/list-providers.md b/docs/examples/1.5.x/server-python/examples/users/list-providers.md index cf95496c3d..c13ec88462 100644 --- a/docs/examples/1.5.x/server-python/examples/users/list-providers.md +++ b/docs/examples/1.5.x/server-python/examples/users/list-providers.md @@ -3,7 +3,7 @@ from appwrite.client import Client client = Client() (client - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key ) diff --git a/docs/examples/1.5.x/server-python/examples/users/list-sessions.md b/docs/examples/1.5.x/server-python/examples/users/list-sessions.md index f4a59463f6..a9eead0d78 100644 --- a/docs/examples/1.5.x/server-python/examples/users/list-sessions.md +++ b/docs/examples/1.5.x/server-python/examples/users/list-sessions.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/list-targets.md b/docs/examples/1.5.x/server-python/examples/users/list-targets.md index 3b1e28b39f..47666467ff 100644 --- a/docs/examples/1.5.x/server-python/examples/users/list-targets.md +++ b/docs/examples/1.5.x/server-python/examples/users/list-targets.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/list.md b/docs/examples/1.5.x/server-python/examples/users/list.md index 9dbe774640..4b09ca5f85 100644 --- a/docs/examples/1.5.x/server-python/examples/users/list.md +++ b/docs/examples/1.5.x/server-python/examples/users/list.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/update-email-verification.md b/docs/examples/1.5.x/server-python/examples/users/update-email-verification.md index 7c541c9eea..4623bc34b1 100644 --- a/docs/examples/1.5.x/server-python/examples/users/update-email-verification.md +++ b/docs/examples/1.5.x/server-python/examples/users/update-email-verification.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/update-email.md b/docs/examples/1.5.x/server-python/examples/users/update-email.md index e1c95ee289..083715bbfa 100644 --- a/docs/examples/1.5.x/server-python/examples/users/update-email.md +++ b/docs/examples/1.5.x/server-python/examples/users/update-email.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/update-labels.md b/docs/examples/1.5.x/server-python/examples/users/update-labels.md index 2a54e768de..24c5b27034 100644 --- a/docs/examples/1.5.x/server-python/examples/users/update-labels.md +++ b/docs/examples/1.5.x/server-python/examples/users/update-labels.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/update-mfa-recovery-codes.md b/docs/examples/1.5.x/server-python/examples/users/update-mfa-recovery-codes.md index 5ff7bfe014..d0e4da4e4a 100644 --- a/docs/examples/1.5.x/server-python/examples/users/update-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-python/examples/users/update-mfa-recovery-codes.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/update-mfa.md b/docs/examples/1.5.x/server-python/examples/users/update-mfa.md index 305566ac68..efd6730a26 100644 --- a/docs/examples/1.5.x/server-python/examples/users/update-mfa.md +++ b/docs/examples/1.5.x/server-python/examples/users/update-mfa.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/update-name.md b/docs/examples/1.5.x/server-python/examples/users/update-name.md index 17ebfb62cd..6014ef51a5 100644 --- a/docs/examples/1.5.x/server-python/examples/users/update-name.md +++ b/docs/examples/1.5.x/server-python/examples/users/update-name.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/update-password.md b/docs/examples/1.5.x/server-python/examples/users/update-password.md index 1ee3edb18f..90ac15f565 100644 --- a/docs/examples/1.5.x/server-python/examples/users/update-password.md +++ b/docs/examples/1.5.x/server-python/examples/users/update-password.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/update-phone-verification.md b/docs/examples/1.5.x/server-python/examples/users/update-phone-verification.md index 70ce29fa4c..a62e6a8ceb 100644 --- a/docs/examples/1.5.x/server-python/examples/users/update-phone-verification.md +++ b/docs/examples/1.5.x/server-python/examples/users/update-phone-verification.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/update-phone.md b/docs/examples/1.5.x/server-python/examples/users/update-phone.md index 10c5e61e54..f522730003 100644 --- a/docs/examples/1.5.x/server-python/examples/users/update-phone.md +++ b/docs/examples/1.5.x/server-python/examples/users/update-phone.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/update-prefs.md b/docs/examples/1.5.x/server-python/examples/users/update-prefs.md index df773464e4..64d9df39f8 100644 --- a/docs/examples/1.5.x/server-python/examples/users/update-prefs.md +++ b/docs/examples/1.5.x/server-python/examples/users/update-prefs.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/update-status.md b/docs/examples/1.5.x/server-python/examples/users/update-status.md index 6b8e8b8dda..8943ef59f5 100644 --- a/docs/examples/1.5.x/server-python/examples/users/update-status.md +++ b/docs/examples/1.5.x/server-python/examples/users/update-status.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-python/examples/users/update-target.md b/docs/examples/1.5.x/server-python/examples/users/update-target.md index c7ec1a657e..89513850b0 100644 --- a/docs/examples/1.5.x/server-python/examples/users/update-target.md +++ b/docs/examples/1.5.x/server-python/examples/users/update-target.md @@ -1,9 +1,10 @@ from appwrite.client import Client +from appwrite.services.users import Users client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/1.5.x/server-rest/examples/account/create-anonymous-session.md b/docs/examples/1.5.x/server-rest/examples/account/create-anonymous-session.md index 6e88583164..c6ea097911 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/create-anonymous-session.md +++ b/docs/examples/1.5.x/server-rest/examples/account/create-anonymous-session.md @@ -1,6 +1,6 @@ POST /v1/account/sessions/anonymous HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> diff --git a/docs/examples/1.5.x/server-rest/examples/account/create-email-password-session.md b/docs/examples/1.5.x/server-rest/examples/account/create-email-password-session.md index f18903c8b8..3e4485908b 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/create-email-password-session.md +++ b/docs/examples/1.5.x/server-rest/examples/account/create-email-password-session.md @@ -1,8 +1,8 @@ POST /v1/account/sessions/email HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> { "email": "email@example.com", diff --git a/docs/examples/1.5.x/server-rest/examples/account/create-email-token.md b/docs/examples/1.5.x/server-rest/examples/account/create-email-token.md index f1c96ce045..a296b5597e 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/create-email-token.md +++ b/docs/examples/1.5.x/server-rest/examples/account/create-email-token.md @@ -1,8 +1,8 @@ POST /v1/account/tokens/email HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> { "userId": "<USER_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/account/create-j-w-t.md b/docs/examples/1.5.x/server-rest/examples/account/create-j-w-t.md index a7a3f68866..9d225fcfc2 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/create-j-w-t.md +++ b/docs/examples/1.5.x/server-rest/examples/account/create-j-w-t.md @@ -1,6 +1,6 @@ -POST /v1/account/jwt HTTP/1.1 -Host: cloud.appwrite.io +POST /v1/account/jwts HTTP/1.1 +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> diff --git a/docs/examples/1.5.x/server-rest/examples/account/create-magic-u-r-l-token.md b/docs/examples/1.5.x/server-rest/examples/account/create-magic-u-r-l-token.md index cc88e87f9b..12581613dc 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.5.x/server-rest/examples/account/create-magic-u-r-l-token.md @@ -1,8 +1,8 @@ POST /v1/account/tokens/magic-url HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> { "userId": "<USER_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/account/create-mfa-authenticator.md b/docs/examples/1.5.x/server-rest/examples/account/create-mfa-authenticator.md index 9273151f90..fef6b8476c 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/create-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-rest/examples/account/create-mfa-authenticator.md @@ -1,8 +1,8 @@ POST /v1/account/mfa/authenticators/{type} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/account/create-mfa-challenge.md b/docs/examples/1.5.x/server-rest/examples/account/create-mfa-challenge.md index d70105084d..2019a1e52c 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.5.x/server-rest/examples/account/create-mfa-challenge.md @@ -1,8 +1,8 @@ POST /v1/account/mfa/challenge HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> { "factor": "email" diff --git a/docs/examples/1.5.x/server-rest/examples/account/create-mfa-recovery-codes.md b/docs/examples/1.5.x/server-rest/examples/account/create-mfa-recovery-codes.md index f00650d13d..81e5621ece 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-rest/examples/account/create-mfa-recovery-codes.md @@ -1,8 +1,8 @@ POST /v1/account/mfa/recovery-codes HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/account/create-o-auth2token.md b/docs/examples/1.5.x/server-rest/examples/account/create-o-auth2token.md index b7c4d07826..f353a881b7 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/create-o-auth2token.md +++ b/docs/examples/1.5.x/server-rest/examples/account/create-o-auth2token.md @@ -1,6 +1,6 @@ GET /v1/account/tokens/oauth2/{provider} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> diff --git a/docs/examples/1.5.x/server-rest/examples/account/create-phone-token.md b/docs/examples/1.5.x/server-rest/examples/account/create-phone-token.md index d7cdcd5089..45d501a770 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/create-phone-token.md +++ b/docs/examples/1.5.x/server-rest/examples/account/create-phone-token.md @@ -1,8 +1,8 @@ POST /v1/account/tokens/phone HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> { "userId": "<USER_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/account/create-phone-verification.md b/docs/examples/1.5.x/server-rest/examples/account/create-phone-verification.md index a8bd3ad8bd..bc2bedb3ec 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/create-phone-verification.md +++ b/docs/examples/1.5.x/server-rest/examples/account/create-phone-verification.md @@ -1,8 +1,8 @@ POST /v1/account/verification/phone HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/account/create-recovery.md b/docs/examples/1.5.x/server-rest/examples/account/create-recovery.md index ee811be613..0c4c0046c2 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/create-recovery.md +++ b/docs/examples/1.5.x/server-rest/examples/account/create-recovery.md @@ -1,10 +1,10 @@ POST /v1/account/recovery HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "email": "email@example.com", diff --git a/docs/examples/1.5.x/server-rest/examples/account/create-session.md b/docs/examples/1.5.x/server-rest/examples/account/create-session.md index 725adf4977..62c8afeb3d 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/create-session.md +++ b/docs/examples/1.5.x/server-rest/examples/account/create-session.md @@ -1,8 +1,8 @@ POST /v1/account/sessions/token HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> { "userId": "<USER_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/account/create-verification.md b/docs/examples/1.5.x/server-rest/examples/account/create-verification.md index e440939e8f..d89b0ccd04 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/create-verification.md +++ b/docs/examples/1.5.x/server-rest/examples/account/create-verification.md @@ -1,10 +1,10 @@ POST /v1/account/verification HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "url": "https://example.com" diff --git a/docs/examples/1.5.x/server-rest/examples/account/create.md b/docs/examples/1.5.x/server-rest/examples/account/create.md index c1a959b43f..f484be7bbd 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/create.md +++ b/docs/examples/1.5.x/server-rest/examples/account/create.md @@ -1,8 +1,8 @@ POST /v1/account HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> { "userId": "<USER_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/account/delete-identity.md b/docs/examples/1.5.x/server-rest/examples/account/delete-identity.md index b43c8deafd..dbbceb4036 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/delete-identity.md +++ b/docs/examples/1.5.x/server-rest/examples/account/delete-identity.md @@ -1,8 +1,8 @@ DELETE /v1/account/identities/{identityId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/account/delete-mfa-authenticator.md b/docs/examples/1.5.x/server-rest/examples/account/delete-mfa-authenticator.md index 3d178f6b59..77d8d215ad 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-rest/examples/account/delete-mfa-authenticator.md @@ -1,11 +1,8 @@ DELETE /v1/account/mfa/authenticators/{type} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> -{ - "otp": "<OTP>" -} diff --git a/docs/examples/1.5.x/server-rest/examples/account/delete-session.md b/docs/examples/1.5.x/server-rest/examples/account/delete-session.md index ba75cdd52d..7f839667cb 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/delete-session.md +++ b/docs/examples/1.5.x/server-rest/examples/account/delete-session.md @@ -1,8 +1,8 @@ DELETE /v1/account/sessions/{sessionId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/account/delete-sessions.md b/docs/examples/1.5.x/server-rest/examples/account/delete-sessions.md index b6b3ac5527..6f741155cb 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/delete-sessions.md +++ b/docs/examples/1.5.x/server-rest/examples/account/delete-sessions.md @@ -1,8 +1,8 @@ DELETE /v1/account/sessions HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.5.x/server-rest/examples/account/get-mfa-recovery-codes.md index 095029fc03..7750e99c9d 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-rest/examples/account/get-mfa-recovery-codes.md @@ -1,8 +1,8 @@ GET /v1/account/mfa/recovery-codes HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/account/get-prefs.md b/docs/examples/1.5.x/server-rest/examples/account/get-prefs.md index b240b0c36f..5d12b5fc06 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/get-prefs.md +++ b/docs/examples/1.5.x/server-rest/examples/account/get-prefs.md @@ -1,8 +1,8 @@ GET /v1/account/prefs HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/account/get-session.md b/docs/examples/1.5.x/server-rest/examples/account/get-session.md index 525008c406..7249457017 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/get-session.md +++ b/docs/examples/1.5.x/server-rest/examples/account/get-session.md @@ -1,8 +1,8 @@ GET /v1/account/sessions/{sessionId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/account/get.md b/docs/examples/1.5.x/server-rest/examples/account/get.md index 3318040dda..0ff1878dee 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/get.md +++ b/docs/examples/1.5.x/server-rest/examples/account/get.md @@ -1,8 +1,8 @@ GET /v1/account HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/account/list-identities.md b/docs/examples/1.5.x/server-rest/examples/account/list-identities.md index 5239970350..41aa1dd70c 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/list-identities.md +++ b/docs/examples/1.5.x/server-rest/examples/account/list-identities.md @@ -1,8 +1,8 @@ GET /v1/account/identities HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/account/list-logs.md b/docs/examples/1.5.x/server-rest/examples/account/list-logs.md index 9c4a838d5a..55b5782ae5 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/list-logs.md +++ b/docs/examples/1.5.x/server-rest/examples/account/list-logs.md @@ -1,8 +1,8 @@ GET /v1/account/logs HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/account/list-mfa-factors.md b/docs/examples/1.5.x/server-rest/examples/account/list-mfa-factors.md index 0fcbebf662..3e8479aef8 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/list-mfa-factors.md +++ b/docs/examples/1.5.x/server-rest/examples/account/list-mfa-factors.md @@ -1,8 +1,8 @@ GET /v1/account/mfa/factors HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/account/list-sessions.md b/docs/examples/1.5.x/server-rest/examples/account/list-sessions.md index fbf968ef86..89f747387f 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/list-sessions.md +++ b/docs/examples/1.5.x/server-rest/examples/account/list-sessions.md @@ -1,8 +1,8 @@ GET /v1/account/sessions HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/account/update-email.md b/docs/examples/1.5.x/server-rest/examples/account/update-email.md index e5a131b060..be4709dbc7 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/update-email.md +++ b/docs/examples/1.5.x/server-rest/examples/account/update-email.md @@ -1,10 +1,10 @@ PATCH /v1/account/email HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "email": "email@example.com", diff --git a/docs/examples/1.5.x/server-rest/examples/account/update-m-f-a.md b/docs/examples/1.5.x/server-rest/examples/account/update-m-f-a.md index 49311807e7..c7ef57666e 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/update-m-f-a.md +++ b/docs/examples/1.5.x/server-rest/examples/account/update-m-f-a.md @@ -1,10 +1,10 @@ PATCH /v1/account/mfa HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "mfa": false diff --git a/docs/examples/1.5.x/server-rest/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.5.x/server-rest/examples/account/update-magic-u-r-l-session.md index 5789bc204e..5ca270cc73 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.5.x/server-rest/examples/account/update-magic-u-r-l-session.md @@ -1,8 +1,8 @@ PUT /v1/account/sessions/magic-url HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> { "userId": "<USER_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/account/update-mfa-authenticator.md b/docs/examples/1.5.x/server-rest/examples/account/update-mfa-authenticator.md index a55ba579bc..68eabe2811 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/update-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-rest/examples/account/update-mfa-authenticator.md @@ -1,10 +1,10 @@ PUT /v1/account/mfa/authenticators/{type} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "otp": "<OTP>" diff --git a/docs/examples/1.5.x/server-rest/examples/account/update-mfa-challenge.md b/docs/examples/1.5.x/server-rest/examples/account/update-mfa-challenge.md index 5e50a0e88d..520b587562 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.5.x/server-rest/examples/account/update-mfa-challenge.md @@ -1,10 +1,10 @@ PUT /v1/account/mfa/challenge HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "challengeId": "<CHALLENGE_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/account/update-mfa-recovery-codes.md b/docs/examples/1.5.x/server-rest/examples/account/update-mfa-recovery-codes.md index 4ba1cb6856..398d84e4de 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-rest/examples/account/update-mfa-recovery-codes.md @@ -1,8 +1,8 @@ PATCH /v1/account/mfa/recovery-codes HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/account/update-name.md b/docs/examples/1.5.x/server-rest/examples/account/update-name.md index 40b50e2f0d..bf7823fab9 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/update-name.md +++ b/docs/examples/1.5.x/server-rest/examples/account/update-name.md @@ -1,10 +1,10 @@ PATCH /v1/account/name HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "name": "<NAME>" diff --git a/docs/examples/1.5.x/server-rest/examples/account/update-password.md b/docs/examples/1.5.x/server-rest/examples/account/update-password.md index e254c25cd3..eeaf183a14 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/update-password.md +++ b/docs/examples/1.5.x/server-rest/examples/account/update-password.md @@ -1,10 +1,10 @@ PATCH /v1/account/password HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "password": , diff --git a/docs/examples/1.5.x/server-rest/examples/account/update-phone-session.md b/docs/examples/1.5.x/server-rest/examples/account/update-phone-session.md index a9e1a93950..7b62067b9e 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/update-phone-session.md +++ b/docs/examples/1.5.x/server-rest/examples/account/update-phone-session.md @@ -1,8 +1,8 @@ PUT /v1/account/sessions/phone HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> { "userId": "<USER_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/account/update-phone-verification.md b/docs/examples/1.5.x/server-rest/examples/account/update-phone-verification.md index 3ab8ee8871..8050b8ab69 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/update-phone-verification.md +++ b/docs/examples/1.5.x/server-rest/examples/account/update-phone-verification.md @@ -1,10 +1,10 @@ PUT /v1/account/verification/phone HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "userId": "<USER_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/account/update-phone.md b/docs/examples/1.5.x/server-rest/examples/account/update-phone.md index b67ed03bea..0123b564a7 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/update-phone.md +++ b/docs/examples/1.5.x/server-rest/examples/account/update-phone.md @@ -1,10 +1,10 @@ PATCH /v1/account/phone HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "phone": "+12065550100", diff --git a/docs/examples/1.5.x/server-rest/examples/account/update-prefs.md b/docs/examples/1.5.x/server-rest/examples/account/update-prefs.md index 6f7c7308b8..39a2466ed4 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/update-prefs.md +++ b/docs/examples/1.5.x/server-rest/examples/account/update-prefs.md @@ -1,10 +1,10 @@ PATCH /v1/account/prefs HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "prefs": {} diff --git a/docs/examples/1.5.x/server-rest/examples/account/update-recovery.md b/docs/examples/1.5.x/server-rest/examples/account/update-recovery.md index c0c0bf6c8e..cf388ea9af 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/update-recovery.md +++ b/docs/examples/1.5.x/server-rest/examples/account/update-recovery.md @@ -1,10 +1,10 @@ PUT /v1/account/recovery HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "userId": "<USER_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/account/update-session.md b/docs/examples/1.5.x/server-rest/examples/account/update-session.md index ef77866134..ca04f76e6c 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/update-session.md +++ b/docs/examples/1.5.x/server-rest/examples/account/update-session.md @@ -1,8 +1,8 @@ PATCH /v1/account/sessions/{sessionId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/account/update-status.md b/docs/examples/1.5.x/server-rest/examples/account/update-status.md index 809357b70b..1f47e378b2 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/update-status.md +++ b/docs/examples/1.5.x/server-rest/examples/account/update-status.md @@ -1,8 +1,8 @@ PATCH /v1/account/status HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/account/update-verification.md b/docs/examples/1.5.x/server-rest/examples/account/update-verification.md index e798222b4a..2558e5b4ff 100644 --- a/docs/examples/1.5.x/server-rest/examples/account/update-verification.md +++ b/docs/examples/1.5.x/server-rest/examples/account/update-verification.md @@ -1,10 +1,10 @@ PUT /v1/account/verification HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "userId": "<USER_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/avatars/get-browser.md b/docs/examples/1.5.x/server-rest/examples/avatars/get-browser.md index 4f9c11890a..8dfcd6601c 100644 --- a/docs/examples/1.5.x/server-rest/examples/avatars/get-browser.md +++ b/docs/examples/1.5.x/server-rest/examples/avatars/get-browser.md @@ -1,9 +1,9 @@ GET /v1/avatars/browsers/{code} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/avatars/get-credit-card.md b/docs/examples/1.5.x/server-rest/examples/avatars/get-credit-card.md index 0aafd32b77..672e535947 100644 --- a/docs/examples/1.5.x/server-rest/examples/avatars/get-credit-card.md +++ b/docs/examples/1.5.x/server-rest/examples/avatars/get-credit-card.md @@ -1,9 +1,9 @@ GET /v1/avatars/credit-cards/{code} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/avatars/get-favicon.md b/docs/examples/1.5.x/server-rest/examples/avatars/get-favicon.md index b4c7c52332..c696a12466 100644 --- a/docs/examples/1.5.x/server-rest/examples/avatars/get-favicon.md +++ b/docs/examples/1.5.x/server-rest/examples/avatars/get-favicon.md @@ -1,9 +1,9 @@ GET /v1/avatars/favicon HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/avatars/get-flag.md b/docs/examples/1.5.x/server-rest/examples/avatars/get-flag.md index 87b99f4b19..b991cde06c 100644 --- a/docs/examples/1.5.x/server-rest/examples/avatars/get-flag.md +++ b/docs/examples/1.5.x/server-rest/examples/avatars/get-flag.md @@ -1,9 +1,9 @@ GET /v1/avatars/flags/{code} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/avatars/get-image.md b/docs/examples/1.5.x/server-rest/examples/avatars/get-image.md index dbb2b01181..16ae4afb8f 100644 --- a/docs/examples/1.5.x/server-rest/examples/avatars/get-image.md +++ b/docs/examples/1.5.x/server-rest/examples/avatars/get-image.md @@ -1,9 +1,9 @@ GET /v1/avatars/image HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/avatars/get-initials.md b/docs/examples/1.5.x/server-rest/examples/avatars/get-initials.md index 18d76624d6..fa6d69cf98 100644 --- a/docs/examples/1.5.x/server-rest/examples/avatars/get-initials.md +++ b/docs/examples/1.5.x/server-rest/examples/avatars/get-initials.md @@ -1,9 +1,9 @@ GET /v1/avatars/initials HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/avatars/get-q-r.md b/docs/examples/1.5.x/server-rest/examples/avatars/get-q-r.md index 2c00b19a0c..e11b23eea9 100644 --- a/docs/examples/1.5.x/server-rest/examples/avatars/get-q-r.md +++ b/docs/examples/1.5.x/server-rest/examples/avatars/get-q-r.md @@ -1,9 +1,9 @@ GET /v1/avatars/qr HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/databases/create-boolean-attribute.md b/docs/examples/1.5.x/server-rest/examples/databases/create-boolean-attribute.md index 76d18604f4..329c4736bc 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/create-boolean-attribute.md @@ -1,9 +1,9 @@ POST /v1/databases/{databaseId}/collections/{collectionId}/attributes/boolean HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "key": , diff --git a/docs/examples/1.5.x/server-rest/examples/databases/create-collection.md b/docs/examples/1.5.x/server-rest/examples/databases/create-collection.md index 1b56150e2f..67ad310c85 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/create-collection.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/create-collection.md @@ -1,9 +1,9 @@ POST /v1/databases/{databaseId}/collections HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "collectionId": "<COLLECTION_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/databases/create-datetime-attribute.md b/docs/examples/1.5.x/server-rest/examples/databases/create-datetime-attribute.md index d9a991c902..e05713d86c 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/create-datetime-attribute.md @@ -1,9 +1,9 @@ POST /v1/databases/{databaseId}/collections/{collectionId}/attributes/datetime HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "key": , diff --git a/docs/examples/1.5.x/server-rest/examples/databases/create-document.md b/docs/examples/1.5.x/server-rest/examples/databases/create-document.md index f4207eddd3..3dfc27f2a3 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/create-document.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/create-document.md @@ -1,11 +1,11 @@ POST /v1/databases/{databaseId}/collections/{collectionId}/documents HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> { "documentId": "<DOCUMENT_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/databases/create-email-attribute.md b/docs/examples/1.5.x/server-rest/examples/databases/create-email-attribute.md index ce6bb59dd1..adf2433f37 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/create-email-attribute.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/create-email-attribute.md @@ -1,9 +1,9 @@ POST /v1/databases/{databaseId}/collections/{collectionId}/attributes/email HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "key": , diff --git a/docs/examples/1.5.x/server-rest/examples/databases/create-enum-attribute.md b/docs/examples/1.5.x/server-rest/examples/databases/create-enum-attribute.md index 2b38d86573..4a16c0439e 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/create-enum-attribute.md @@ -1,9 +1,9 @@ POST /v1/databases/{databaseId}/collections/{collectionId}/attributes/enum HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "key": , diff --git a/docs/examples/1.5.x/server-rest/examples/databases/create-float-attribute.md b/docs/examples/1.5.x/server-rest/examples/databases/create-float-attribute.md index ccd6e5fbe1..69927412b2 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/create-float-attribute.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/create-float-attribute.md @@ -1,9 +1,9 @@ POST /v1/databases/{databaseId}/collections/{collectionId}/attributes/float HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "key": , diff --git a/docs/examples/1.5.x/server-rest/examples/databases/create-index.md b/docs/examples/1.5.x/server-rest/examples/databases/create-index.md index 9719ebf8fb..2cc17ae7cb 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/create-index.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/create-index.md @@ -1,9 +1,9 @@ POST /v1/databases/{databaseId}/collections/{collectionId}/indexes HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "key": , diff --git a/docs/examples/1.5.x/server-rest/examples/databases/create-integer-attribute.md b/docs/examples/1.5.x/server-rest/examples/databases/create-integer-attribute.md index d2bfbf1967..7ed36b8253 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/create-integer-attribute.md @@ -1,9 +1,9 @@ POST /v1/databases/{databaseId}/collections/{collectionId}/attributes/integer HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "key": , diff --git a/docs/examples/1.5.x/server-rest/examples/databases/create-ip-attribute.md b/docs/examples/1.5.x/server-rest/examples/databases/create-ip-attribute.md index 0f1fae446e..1ad575ee24 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/create-ip-attribute.md @@ -1,9 +1,9 @@ POST /v1/databases/{databaseId}/collections/{collectionId}/attributes/ip HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "key": , diff --git a/docs/examples/1.5.x/server-rest/examples/databases/create-relationship-attribute.md b/docs/examples/1.5.x/server-rest/examples/databases/create-relationship-attribute.md index aaf56bac05..c351021548 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/create-relationship-attribute.md @@ -1,9 +1,9 @@ POST /v1/databases/{databaseId}/collections/{collectionId}/attributes/relationship HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "relatedCollectionId": "<RELATED_COLLECTION_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/databases/create-string-attribute.md b/docs/examples/1.5.x/server-rest/examples/databases/create-string-attribute.md index 7e6e73d1c1..49095885a8 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/create-string-attribute.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/create-string-attribute.md @@ -1,9 +1,9 @@ POST /v1/databases/{databaseId}/collections/{collectionId}/attributes/string HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "key": , diff --git a/docs/examples/1.5.x/server-rest/examples/databases/create-url-attribute.md b/docs/examples/1.5.x/server-rest/examples/databases/create-url-attribute.md index e960ccada5..050212e3ab 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/create-url-attribute.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/create-url-attribute.md @@ -1,9 +1,9 @@ POST /v1/databases/{databaseId}/collections/{collectionId}/attributes/url HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "key": , diff --git a/docs/examples/1.5.x/server-rest/examples/databases/create.md b/docs/examples/1.5.x/server-rest/examples/databases/create.md index 7e00ee2d0b..5b57073a5c 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/create.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/create.md @@ -1,9 +1,9 @@ POST /v1/databases HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "databaseId": "<DATABASE_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/databases/delete-attribute.md b/docs/examples/1.5.x/server-rest/examples/databases/delete-attribute.md index 11aeaef043..9cfed13ae1 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/delete-attribute.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/delete-attribute.md @@ -1,7 +1,7 @@ DELETE /v1/databases/{databaseId}/collections/{collectionId}/attributes/{key} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/databases/delete-collection.md b/docs/examples/1.5.x/server-rest/examples/databases/delete-collection.md index 22f3e14e77..a09a008843 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/delete-collection.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/delete-collection.md @@ -1,7 +1,7 @@ DELETE /v1/databases/{databaseId}/collections/{collectionId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/databases/delete-document.md b/docs/examples/1.5.x/server-rest/examples/databases/delete-document.md index a0311bde52..033b7dcc4a 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/delete-document.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/delete-document.md @@ -1,9 +1,9 @@ DELETE /v1/databases/{databaseId}/collections/{collectionId}/documents/{documentId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/databases/delete-index.md b/docs/examples/1.5.x/server-rest/examples/databases/delete-index.md index 5b09484459..6c6db3385f 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/delete-index.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/delete-index.md @@ -1,7 +1,7 @@ DELETE /v1/databases/{databaseId}/collections/{collectionId}/indexes/{key} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/databases/delete.md b/docs/examples/1.5.x/server-rest/examples/databases/delete.md index 51b6d3c8ce..32ee4890c6 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/delete.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/delete.md @@ -1,7 +1,7 @@ DELETE /v1/databases/{databaseId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/databases/get-attribute.md b/docs/examples/1.5.x/server-rest/examples/databases/get-attribute.md index 1af8f3e32d..9327bc1fe3 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/get-attribute.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/get-attribute.md @@ -1,7 +1,7 @@ GET /v1/databases/{databaseId}/collections/{collectionId}/attributes/{key} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/databases/get-collection.md b/docs/examples/1.5.x/server-rest/examples/databases/get-collection.md index 04e1ef3b6c..bb170d1de2 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/get-collection.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/get-collection.md @@ -1,7 +1,7 @@ GET /v1/databases/{databaseId}/collections/{collectionId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/databases/get-document.md b/docs/examples/1.5.x/server-rest/examples/databases/get-document.md index 9612b66aff..8321397b82 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/get-document.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/get-document.md @@ -1,9 +1,9 @@ GET /v1/databases/{databaseId}/collections/{collectionId}/documents/{documentId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/databases/get-index.md b/docs/examples/1.5.x/server-rest/examples/databases/get-index.md index 97822cb304..f8be405d6e 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/get-index.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/get-index.md @@ -1,7 +1,7 @@ GET /v1/databases/{databaseId}/collections/{collectionId}/indexes/{key} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/databases/get.md b/docs/examples/1.5.x/server-rest/examples/databases/get.md index f1404f98df..3a6ef2d740 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/get.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/get.md @@ -1,7 +1,7 @@ GET /v1/databases/{databaseId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/databases/list-attributes.md b/docs/examples/1.5.x/server-rest/examples/databases/list-attributes.md index 69747154a2..a9427ad339 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/list-attributes.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/list-attributes.md @@ -1,7 +1,7 @@ GET /v1/databases/{databaseId}/collections/{collectionId}/attributes HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/databases/list-collections.md b/docs/examples/1.5.x/server-rest/examples/databases/list-collections.md index 0153088d35..4f7cbcb1a6 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/list-collections.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/list-collections.md @@ -1,7 +1,7 @@ GET /v1/databases/{databaseId}/collections HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/databases/list-documents.md b/docs/examples/1.5.x/server-rest/examples/databases/list-documents.md index 44c6ddad4c..047e6dfd21 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/list-documents.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/list-documents.md @@ -1,9 +1,9 @@ GET /v1/databases/{databaseId}/collections/{collectionId}/documents HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/databases/list-indexes.md b/docs/examples/1.5.x/server-rest/examples/databases/list-indexes.md index 6128a67de9..e5f503d043 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/list-indexes.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/list-indexes.md @@ -1,7 +1,7 @@ GET /v1/databases/{databaseId}/collections/{collectionId}/indexes HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/databases/list.md b/docs/examples/1.5.x/server-rest/examples/databases/list.md index 087c332105..63cb6fcf86 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/list.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/list.md @@ -1,7 +1,7 @@ GET /v1/databases HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/databases/update-boolean-attribute.md b/docs/examples/1.5.x/server-rest/examples/databases/update-boolean-attribute.md index b30dffb1ba..cb8b8cc456 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/update-boolean-attribute.md @@ -1,11 +1,12 @@ PATCH /v1/databases/{databaseId}/collections/{collectionId}/attributes/boolean/{key} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "required": false, - "default": false + "default": false, + "newKey": } diff --git a/docs/examples/1.5.x/server-rest/examples/databases/update-collection.md b/docs/examples/1.5.x/server-rest/examples/databases/update-collection.md index 0c75605d82..8d2d5468e4 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/update-collection.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/update-collection.md @@ -1,9 +1,9 @@ PUT /v1/databases/{databaseId}/collections/{collectionId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "name": "<NAME>", diff --git a/docs/examples/1.5.x/server-rest/examples/databases/update-datetime-attribute.md b/docs/examples/1.5.x/server-rest/examples/databases/update-datetime-attribute.md index 9fbf82ec75..1a99d4d4dc 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/update-datetime-attribute.md @@ -1,11 +1,12 @@ PATCH /v1/databases/{databaseId}/collections/{collectionId}/attributes/datetime/{key} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "required": false, - "default": + "default": , + "newKey": } diff --git a/docs/examples/1.5.x/server-rest/examples/databases/update-document.md b/docs/examples/1.5.x/server-rest/examples/databases/update-document.md index 47b3c11827..74108cefad 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/update-document.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/update-document.md @@ -1,11 +1,11 @@ PATCH /v1/databases/{databaseId}/collections/{collectionId}/documents/{documentId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> { "data": {}, diff --git a/docs/examples/1.5.x/server-rest/examples/databases/update-email-attribute.md b/docs/examples/1.5.x/server-rest/examples/databases/update-email-attribute.md index 8e2e745a2d..0d411b1146 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/update-email-attribute.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/update-email-attribute.md @@ -1,11 +1,12 @@ PATCH /v1/databases/{databaseId}/collections/{collectionId}/attributes/email/{key} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "required": false, - "default": "email@example.com" + "default": "email@example.com", + "newKey": } diff --git a/docs/examples/1.5.x/server-rest/examples/databases/update-enum-attribute.md b/docs/examples/1.5.x/server-rest/examples/databases/update-enum-attribute.md index 82f14405f5..e2fb151bfc 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/update-enum-attribute.md @@ -1,12 +1,13 @@ PATCH /v1/databases/{databaseId}/collections/{collectionId}/attributes/enum/{key} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "elements": [], "required": false, - "default": "<DEFAULT>" + "default": "<DEFAULT>", + "newKey": } diff --git a/docs/examples/1.5.x/server-rest/examples/databases/update-float-attribute.md b/docs/examples/1.5.x/server-rest/examples/databases/update-float-attribute.md index 0845a06c19..76241850b6 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/update-float-attribute.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/update-float-attribute.md @@ -1,13 +1,14 @@ PATCH /v1/databases/{databaseId}/collections/{collectionId}/attributes/float/{key} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "required": false, "min": 0, "max": 0, - "default": 0 + "default": 0, + "newKey": } diff --git a/docs/examples/1.5.x/server-rest/examples/databases/update-integer-attribute.md b/docs/examples/1.5.x/server-rest/examples/databases/update-integer-attribute.md index 953449ca30..19707ef4fd 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/update-integer-attribute.md @@ -1,13 +1,14 @@ PATCH /v1/databases/{databaseId}/collections/{collectionId}/attributes/integer/{key} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "required": false, "min": 0, "max": 0, - "default": 0 + "default": 0, + "newKey": } diff --git a/docs/examples/1.5.x/server-rest/examples/databases/update-ip-attribute.md b/docs/examples/1.5.x/server-rest/examples/databases/update-ip-attribute.md index abcbec9b38..9abf54069c 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/update-ip-attribute.md @@ -1,11 +1,12 @@ PATCH /v1/databases/{databaseId}/collections/{collectionId}/attributes/ip/{key} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "required": false, - "default": + "default": , + "newKey": } diff --git a/docs/examples/1.5.x/server-rest/examples/databases/update-relationship-attribute.md b/docs/examples/1.5.x/server-rest/examples/databases/update-relationship-attribute.md index 214a8db45c..dd12556c92 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/update-relationship-attribute.md @@ -1,10 +1,11 @@ PATCH /v1/databases/{databaseId}/collections/{collectionId}/attributes/{key}/relationship HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { - "onDelete": "cascade" + "onDelete": "cascade", + "newKey": } diff --git a/docs/examples/1.5.x/server-rest/examples/databases/update-string-attribute.md b/docs/examples/1.5.x/server-rest/examples/databases/update-string-attribute.md index 3df5ae9565..e64833d2a6 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/update-string-attribute.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/update-string-attribute.md @@ -1,11 +1,13 @@ PATCH /v1/databases/{databaseId}/collections/{collectionId}/attributes/string/{key} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "required": false, - "default": "<DEFAULT>" + "default": "<DEFAULT>", + "size": 1, + "newKey": } diff --git a/docs/examples/1.5.x/server-rest/examples/databases/update-url-attribute.md b/docs/examples/1.5.x/server-rest/examples/databases/update-url-attribute.md index 5e4544511a..562ea1624f 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/update-url-attribute.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/update-url-attribute.md @@ -1,11 +1,12 @@ PATCH /v1/databases/{databaseId}/collections/{collectionId}/attributes/url/{key} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "required": false, - "default": "https://example.com" + "default": "https://example.com", + "newKey": } diff --git a/docs/examples/1.5.x/server-rest/examples/databases/update.md b/docs/examples/1.5.x/server-rest/examples/databases/update.md index ba142d80a3..9eaca1a948 100644 --- a/docs/examples/1.5.x/server-rest/examples/databases/update.md +++ b/docs/examples/1.5.x/server-rest/examples/databases/update.md @@ -1,9 +1,9 @@ PUT /v1/databases/{databaseId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "name": "<NAME>", diff --git a/docs/examples/1.5.x/server-rest/examples/functions/create-build.md b/docs/examples/1.5.x/server-rest/examples/functions/create-build.md index e0cee7e41a..ca474f32d8 100644 --- a/docs/examples/1.5.x/server-rest/examples/functions/create-build.md +++ b/docs/examples/1.5.x/server-rest/examples/functions/create-build.md @@ -1,7 +1,10 @@ -POST /v1/functions/{functionId}/deployments/{deploymentId}/builds/{buildId} HTTP/1.1 -Host: cloud.appwrite.io +POST /v1/functions/{functionId}/deployments/{deploymentId}/build HTTP/1.1 +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> +{ + "buildId": "<BUILD_ID>" +} diff --git a/docs/examples/1.5.x/server-rest/examples/functions/create-deployment.md b/docs/examples/1.5.x/server-rest/examples/functions/create-deployment.md index dc553a3967..82900f7844 100644 --- a/docs/examples/1.5.x/server-rest/examples/functions/create-deployment.md +++ b/docs/examples/1.5.x/server-rest/examples/functions/create-deployment.md @@ -1,9 +1,9 @@ POST /v1/functions/{functionId}/deployments HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: multipart/form-data; boundary="cec8e8123c05ba25" -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> Content-Length: *Length of your entity body in bytes* --cec8e8123c05ba25 diff --git a/docs/examples/1.5.x/server-rest/examples/functions/create-execution.md b/docs/examples/1.5.x/server-rest/examples/functions/create-execution.md index 775d4c1fc2..708ee0d748 100644 --- a/docs/examples/1.5.x/server-rest/examples/functions/create-execution.md +++ b/docs/examples/1.5.x/server-rest/examples/functions/create-execution.md @@ -1,16 +1,17 @@ POST /v1/functions/{functionId}/executions HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> { "body": "<BODY>", "async": false, "path": "<PATH>", "method": "GET", - "headers": {} + "headers": {}, + "scheduledAt": } diff --git a/docs/examples/1.5.x/server-rest/examples/functions/create-variable.md b/docs/examples/1.5.x/server-rest/examples/functions/create-variable.md index 4e9a88290f..8a0606fca1 100644 --- a/docs/examples/1.5.x/server-rest/examples/functions/create-variable.md +++ b/docs/examples/1.5.x/server-rest/examples/functions/create-variable.md @@ -1,9 +1,9 @@ POST /v1/functions/{functionId}/variables HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "key": "<KEY>", diff --git a/docs/examples/1.5.x/server-rest/examples/functions/create.md b/docs/examples/1.5.x/server-rest/examples/functions/create.md index b19f780709..057907719a 100644 --- a/docs/examples/1.5.x/server-rest/examples/functions/create.md +++ b/docs/examples/1.5.x/server-rest/examples/functions/create.md @@ -1,9 +1,9 @@ POST /v1/functions HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "functionId": "<FUNCTION_ID>", @@ -17,6 +17,7 @@ X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 "logging": false, "entrypoint": "<ENTRYPOINT>", "commands": "<COMMANDS>", + "scopes": [], "installationId": "<INSTALLATION_ID>", "providerRepositoryId": "<PROVIDER_REPOSITORY_ID>", "providerBranch": "<PROVIDER_BRANCH>", @@ -25,5 +26,6 @@ X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 "templateRepository": "<TEMPLATE_REPOSITORY>", "templateOwner": "<TEMPLATE_OWNER>", "templateRootDirectory": "<TEMPLATE_ROOT_DIRECTORY>", - "templateBranch": "<TEMPLATE_BRANCH>" + "templateVersion": "<TEMPLATE_VERSION>", + "specification": } diff --git a/docs/examples/1.5.x/server-rest/examples/functions/delete-deployment.md b/docs/examples/1.5.x/server-rest/examples/functions/delete-deployment.md index a3d6193420..be87144804 100644 --- a/docs/examples/1.5.x/server-rest/examples/functions/delete-deployment.md +++ b/docs/examples/1.5.x/server-rest/examples/functions/delete-deployment.md @@ -1,7 +1,7 @@ DELETE /v1/functions/{functionId}/deployments/{deploymentId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/functions/delete-execution.md b/docs/examples/1.5.x/server-rest/examples/functions/delete-execution.md new file mode 100644 index 0000000000..78b94d2fbc --- /dev/null +++ b/docs/examples/1.5.x/server-rest/examples/functions/delete-execution.md @@ -0,0 +1,7 @@ +DELETE /v1/functions/{functionId}/executions/{executionId} HTTP/1.1 +Host: <REGION>.cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> + diff --git a/docs/examples/1.5.x/server-rest/examples/functions/delete-variable.md b/docs/examples/1.5.x/server-rest/examples/functions/delete-variable.md index a56fb68f1f..55280b57ee 100644 --- a/docs/examples/1.5.x/server-rest/examples/functions/delete-variable.md +++ b/docs/examples/1.5.x/server-rest/examples/functions/delete-variable.md @@ -1,7 +1,7 @@ DELETE /v1/functions/{functionId}/variables/{variableId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/functions/delete.md b/docs/examples/1.5.x/server-rest/examples/functions/delete.md index cfd32f14b3..ea574b2d4c 100644 --- a/docs/examples/1.5.x/server-rest/examples/functions/delete.md +++ b/docs/examples/1.5.x/server-rest/examples/functions/delete.md @@ -1,7 +1,7 @@ DELETE /v1/functions/{functionId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/functions/get-deployment-download.md b/docs/examples/1.5.x/server-rest/examples/functions/get-deployment-download.md new file mode 100644 index 0000000000..37321ee2ad --- /dev/null +++ b/docs/examples/1.5.x/server-rest/examples/functions/get-deployment-download.md @@ -0,0 +1,8 @@ +GET /v1/functions/{functionId}/deployments/{deploymentId}/download HTTP/1.1 +Host: <REGION>.cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> + diff --git a/docs/examples/1.5.x/server-rest/examples/functions/get-deployment.md b/docs/examples/1.5.x/server-rest/examples/functions/get-deployment.md index 4677fc1dd4..1f5108659c 100644 --- a/docs/examples/1.5.x/server-rest/examples/functions/get-deployment.md +++ b/docs/examples/1.5.x/server-rest/examples/functions/get-deployment.md @@ -1,7 +1,7 @@ GET /v1/functions/{functionId}/deployments/{deploymentId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/functions/get-execution.md b/docs/examples/1.5.x/server-rest/examples/functions/get-execution.md index 69f8e766fa..8013646ef2 100644 --- a/docs/examples/1.5.x/server-rest/examples/functions/get-execution.md +++ b/docs/examples/1.5.x/server-rest/examples/functions/get-execution.md @@ -1,9 +1,9 @@ GET /v1/functions/{functionId}/executions/{executionId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/functions/get-variable.md b/docs/examples/1.5.x/server-rest/examples/functions/get-variable.md index 344af84b7e..a31cd5b9ea 100644 --- a/docs/examples/1.5.x/server-rest/examples/functions/get-variable.md +++ b/docs/examples/1.5.x/server-rest/examples/functions/get-variable.md @@ -1,7 +1,7 @@ GET /v1/functions/{functionId}/variables/{variableId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/functions/get.md b/docs/examples/1.5.x/server-rest/examples/functions/get.md index 729f22b4dd..89cd27e80b 100644 --- a/docs/examples/1.5.x/server-rest/examples/functions/get.md +++ b/docs/examples/1.5.x/server-rest/examples/functions/get.md @@ -1,7 +1,7 @@ GET /v1/functions/{functionId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/functions/list-deployments.md b/docs/examples/1.5.x/server-rest/examples/functions/list-deployments.md index 8284adca50..ab7bd74e19 100644 --- a/docs/examples/1.5.x/server-rest/examples/functions/list-deployments.md +++ b/docs/examples/1.5.x/server-rest/examples/functions/list-deployments.md @@ -1,7 +1,7 @@ GET /v1/functions/{functionId}/deployments HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/functions/list-executions.md b/docs/examples/1.5.x/server-rest/examples/functions/list-executions.md index 58daa1edae..3f6c95faf3 100644 --- a/docs/examples/1.5.x/server-rest/examples/functions/list-executions.md +++ b/docs/examples/1.5.x/server-rest/examples/functions/list-executions.md @@ -1,9 +1,9 @@ GET /v1/functions/{functionId}/executions HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/functions/list-runtimes.md b/docs/examples/1.5.x/server-rest/examples/functions/list-runtimes.md index 2b6e4ed3e8..f583a77aaa 100644 --- a/docs/examples/1.5.x/server-rest/examples/functions/list-runtimes.md +++ b/docs/examples/1.5.x/server-rest/examples/functions/list-runtimes.md @@ -1,7 +1,7 @@ GET /v1/functions/runtimes HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/functions/list-specifications.md b/docs/examples/1.5.x/server-rest/examples/functions/list-specifications.md new file mode 100644 index 0000000000..b71075fcae --- /dev/null +++ b/docs/examples/1.5.x/server-rest/examples/functions/list-specifications.md @@ -0,0 +1,7 @@ +GET /v1/functions/specifications HTTP/1.1 +Host: <REGION>.cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> + diff --git a/docs/examples/1.5.x/server-rest/examples/functions/list-variables.md b/docs/examples/1.5.x/server-rest/examples/functions/list-variables.md index 38003de08c..094eed9938 100644 --- a/docs/examples/1.5.x/server-rest/examples/functions/list-variables.md +++ b/docs/examples/1.5.x/server-rest/examples/functions/list-variables.md @@ -1,7 +1,7 @@ GET /v1/functions/{functionId}/variables HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/functions/list.md b/docs/examples/1.5.x/server-rest/examples/functions/list.md index 4f1c89e817..73817aafb2 100644 --- a/docs/examples/1.5.x/server-rest/examples/functions/list.md +++ b/docs/examples/1.5.x/server-rest/examples/functions/list.md @@ -1,7 +1,7 @@ GET /v1/functions HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/functions/update-deployment-build.md b/docs/examples/1.5.x/server-rest/examples/functions/update-deployment-build.md new file mode 100644 index 0000000000..4621fdc97a --- /dev/null +++ b/docs/examples/1.5.x/server-rest/examples/functions/update-deployment-build.md @@ -0,0 +1,7 @@ +PATCH /v1/functions/{functionId}/deployments/{deploymentId}/build HTTP/1.1 +Host: <REGION>.cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> + diff --git a/docs/examples/1.5.x/server-rest/examples/functions/update-deployment.md b/docs/examples/1.5.x/server-rest/examples/functions/update-deployment.md index 1f7bdb38ff..30c68f7b86 100644 --- a/docs/examples/1.5.x/server-rest/examples/functions/update-deployment.md +++ b/docs/examples/1.5.x/server-rest/examples/functions/update-deployment.md @@ -1,7 +1,7 @@ PATCH /v1/functions/{functionId}/deployments/{deploymentId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/functions/update-variable.md b/docs/examples/1.5.x/server-rest/examples/functions/update-variable.md index a90e728471..64975d6953 100644 --- a/docs/examples/1.5.x/server-rest/examples/functions/update-variable.md +++ b/docs/examples/1.5.x/server-rest/examples/functions/update-variable.md @@ -1,9 +1,9 @@ PUT /v1/functions/{functionId}/variables/{variableId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "key": "<KEY>", diff --git a/docs/examples/1.5.x/server-rest/examples/functions/update.md b/docs/examples/1.5.x/server-rest/examples/functions/update.md index 8bf01a4c54..873a98faec 100644 --- a/docs/examples/1.5.x/server-rest/examples/functions/update.md +++ b/docs/examples/1.5.x/server-rest/examples/functions/update.md @@ -1,9 +1,9 @@ PUT /v1/functions/{functionId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "name": "<NAME>", @@ -16,9 +16,11 @@ X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 "logging": false, "entrypoint": "<ENTRYPOINT>", "commands": "<COMMANDS>", + "scopes": [], "installationId": "<INSTALLATION_ID>", "providerRepositoryId": "<PROVIDER_REPOSITORY_ID>", "providerBranch": "<PROVIDER_BRANCH>", "providerSilentMode": false, - "providerRootDirectory": "<PROVIDER_ROOT_DIRECTORY>" + "providerRootDirectory": "<PROVIDER_ROOT_DIRECTORY>", + "specification": } diff --git a/docs/examples/1.5.x/server-rest/examples/graphql/mutation.md b/docs/examples/1.5.x/server-rest/examples/graphql/mutation.md index 096eef1011..4004e7c3ff 100644 --- a/docs/examples/1.5.x/server-rest/examples/graphql/mutation.md +++ b/docs/examples/1.5.x/server-rest/examples/graphql/mutation.md @@ -1,12 +1,12 @@ POST /v1/graphql/mutation HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io X-Sdk-Graphql: true Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "query": {} diff --git a/docs/examples/1.5.x/server-rest/examples/graphql/query.md b/docs/examples/1.5.x/server-rest/examples/graphql/query.md index 707adc117e..bcf4e56c84 100644 --- a/docs/examples/1.5.x/server-rest/examples/graphql/query.md +++ b/docs/examples/1.5.x/server-rest/examples/graphql/query.md @@ -1,12 +1,12 @@ POST /v1/graphql HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io X-Sdk-Graphql: true Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "query": {} diff --git a/docs/examples/1.5.x/server-rest/examples/health/get-antivirus.md b/docs/examples/1.5.x/server-rest/examples/health/get-antivirus.md index b18b71819c..0e9957b1f2 100644 --- a/docs/examples/1.5.x/server-rest/examples/health/get-antivirus.md +++ b/docs/examples/1.5.x/server-rest/examples/health/get-antivirus.md @@ -1,7 +1,7 @@ GET /v1/health/anti-virus HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/health/get-cache.md b/docs/examples/1.5.x/server-rest/examples/health/get-cache.md index 80efc5e289..475daca98d 100644 --- a/docs/examples/1.5.x/server-rest/examples/health/get-cache.md +++ b/docs/examples/1.5.x/server-rest/examples/health/get-cache.md @@ -1,7 +1,7 @@ GET /v1/health/cache HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/health/get-certificate.md b/docs/examples/1.5.x/server-rest/examples/health/get-certificate.md index 86cc98cd26..34614428dd 100644 --- a/docs/examples/1.5.x/server-rest/examples/health/get-certificate.md +++ b/docs/examples/1.5.x/server-rest/examples/health/get-certificate.md @@ -1,7 +1,7 @@ GET /v1/health/certificate HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/health/get-d-b.md b/docs/examples/1.5.x/server-rest/examples/health/get-d-b.md index 173c8c6e7e..6ac4518526 100644 --- a/docs/examples/1.5.x/server-rest/examples/health/get-d-b.md +++ b/docs/examples/1.5.x/server-rest/examples/health/get-d-b.md @@ -1,7 +1,7 @@ GET /v1/health/db HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/health/get-failed-jobs.md b/docs/examples/1.5.x/server-rest/examples/health/get-failed-jobs.md index 8b0a02c552..0cf2048ec8 100644 --- a/docs/examples/1.5.x/server-rest/examples/health/get-failed-jobs.md +++ b/docs/examples/1.5.x/server-rest/examples/health/get-failed-jobs.md @@ -1,7 +1,7 @@ GET /v1/health/queue/failed/{name} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/health/get-pub-sub.md b/docs/examples/1.5.x/server-rest/examples/health/get-pub-sub.md index 58916feeee..ea06b06e27 100644 --- a/docs/examples/1.5.x/server-rest/examples/health/get-pub-sub.md +++ b/docs/examples/1.5.x/server-rest/examples/health/get-pub-sub.md @@ -1,7 +1,7 @@ GET /v1/health/pubsub HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/health/get-queue-builds.md b/docs/examples/1.5.x/server-rest/examples/health/get-queue-builds.md index 538b0b9c33..ba0ba56241 100644 --- a/docs/examples/1.5.x/server-rest/examples/health/get-queue-builds.md +++ b/docs/examples/1.5.x/server-rest/examples/health/get-queue-builds.md @@ -1,7 +1,7 @@ GET /v1/health/queue/builds HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/health/get-queue-certificates.md b/docs/examples/1.5.x/server-rest/examples/health/get-queue-certificates.md index 059775c0fe..9a7e417230 100644 --- a/docs/examples/1.5.x/server-rest/examples/health/get-queue-certificates.md +++ b/docs/examples/1.5.x/server-rest/examples/health/get-queue-certificates.md @@ -1,7 +1,7 @@ GET /v1/health/queue/certificates HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/health/get-queue-databases.md b/docs/examples/1.5.x/server-rest/examples/health/get-queue-databases.md index cecfcdb335..f805b8c231 100644 --- a/docs/examples/1.5.x/server-rest/examples/health/get-queue-databases.md +++ b/docs/examples/1.5.x/server-rest/examples/health/get-queue-databases.md @@ -1,7 +1,7 @@ GET /v1/health/queue/databases HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/health/get-queue-deletes.md b/docs/examples/1.5.x/server-rest/examples/health/get-queue-deletes.md index 38f01dbaf1..6f0cfef129 100644 --- a/docs/examples/1.5.x/server-rest/examples/health/get-queue-deletes.md +++ b/docs/examples/1.5.x/server-rest/examples/health/get-queue-deletes.md @@ -1,7 +1,7 @@ GET /v1/health/queue/deletes HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/health/get-queue-functions.md b/docs/examples/1.5.x/server-rest/examples/health/get-queue-functions.md index d697c0815b..1c0778aef3 100644 --- a/docs/examples/1.5.x/server-rest/examples/health/get-queue-functions.md +++ b/docs/examples/1.5.x/server-rest/examples/health/get-queue-functions.md @@ -1,7 +1,7 @@ GET /v1/health/queue/functions HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/health/get-queue-logs.md b/docs/examples/1.5.x/server-rest/examples/health/get-queue-logs.md index a6fa176d6b..e8355ae481 100644 --- a/docs/examples/1.5.x/server-rest/examples/health/get-queue-logs.md +++ b/docs/examples/1.5.x/server-rest/examples/health/get-queue-logs.md @@ -1,7 +1,7 @@ GET /v1/health/queue/logs HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/health/get-queue-mails.md b/docs/examples/1.5.x/server-rest/examples/health/get-queue-mails.md index 0cf720c554..667dc1dd26 100644 --- a/docs/examples/1.5.x/server-rest/examples/health/get-queue-mails.md +++ b/docs/examples/1.5.x/server-rest/examples/health/get-queue-mails.md @@ -1,7 +1,7 @@ GET /v1/health/queue/mails HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/health/get-queue-messaging.md b/docs/examples/1.5.x/server-rest/examples/health/get-queue-messaging.md index 584a57062d..4c2e744123 100644 --- a/docs/examples/1.5.x/server-rest/examples/health/get-queue-messaging.md +++ b/docs/examples/1.5.x/server-rest/examples/health/get-queue-messaging.md @@ -1,7 +1,7 @@ GET /v1/health/queue/messaging HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/health/get-queue-migrations.md b/docs/examples/1.5.x/server-rest/examples/health/get-queue-migrations.md index 974c0ff4f1..ffbc4de372 100644 --- a/docs/examples/1.5.x/server-rest/examples/health/get-queue-migrations.md +++ b/docs/examples/1.5.x/server-rest/examples/health/get-queue-migrations.md @@ -1,7 +1,7 @@ GET /v1/health/queue/migrations HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/health/get-queue-stats-resources.md b/docs/examples/1.5.x/server-rest/examples/health/get-queue-stats-resources.md new file mode 100644 index 0000000000..b9b3da1985 --- /dev/null +++ b/docs/examples/1.5.x/server-rest/examples/health/get-queue-stats-resources.md @@ -0,0 +1,7 @@ +GET /v1/health/queue/stats-resources HTTP/1.1 +Host: <REGION>.cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> + diff --git a/docs/examples/1.5.x/server-rest/examples/health/get-queue-usage.md b/docs/examples/1.5.x/server-rest/examples/health/get-queue-usage.md index a14be91a49..ef71659392 100644 --- a/docs/examples/1.5.x/server-rest/examples/health/get-queue-usage.md +++ b/docs/examples/1.5.x/server-rest/examples/health/get-queue-usage.md @@ -1,7 +1,7 @@ -GET /v1/health/queue/usage HTTP/1.1 -Host: cloud.appwrite.io +GET /v1/health/queue/stats-usage HTTP/1.1 +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/health/get-queue-webhooks.md b/docs/examples/1.5.x/server-rest/examples/health/get-queue-webhooks.md index 26e86bd3a5..cc69225d98 100644 --- a/docs/examples/1.5.x/server-rest/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.5.x/server-rest/examples/health/get-queue-webhooks.md @@ -1,7 +1,7 @@ GET /v1/health/queue/webhooks HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/health/get-storage-local.md b/docs/examples/1.5.x/server-rest/examples/health/get-storage-local.md index 082ecea1db..47762ff360 100644 --- a/docs/examples/1.5.x/server-rest/examples/health/get-storage-local.md +++ b/docs/examples/1.5.x/server-rest/examples/health/get-storage-local.md @@ -1,7 +1,7 @@ GET /v1/health/storage/local HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/health/get-storage.md b/docs/examples/1.5.x/server-rest/examples/health/get-storage.md index b7d80d1ac4..60c5b1f52a 100644 --- a/docs/examples/1.5.x/server-rest/examples/health/get-storage.md +++ b/docs/examples/1.5.x/server-rest/examples/health/get-storage.md @@ -1,7 +1,7 @@ GET /v1/health/storage HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/health/get-time.md b/docs/examples/1.5.x/server-rest/examples/health/get-time.md index 7aa66a63e1..6865f00a70 100644 --- a/docs/examples/1.5.x/server-rest/examples/health/get-time.md +++ b/docs/examples/1.5.x/server-rest/examples/health/get-time.md @@ -1,7 +1,7 @@ GET /v1/health/time HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/health/get.md b/docs/examples/1.5.x/server-rest/examples/health/get.md index 5a572c60d1..65dde394f6 100644 --- a/docs/examples/1.5.x/server-rest/examples/health/get.md +++ b/docs/examples/1.5.x/server-rest/examples/health/get.md @@ -1,7 +1,7 @@ GET /v1/health HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/locale/get.md b/docs/examples/1.5.x/server-rest/examples/locale/get.md index b1362c3dd7..6f5d23b2b7 100644 --- a/docs/examples/1.5.x/server-rest/examples/locale/get.md +++ b/docs/examples/1.5.x/server-rest/examples/locale/get.md @@ -1,9 +1,9 @@ GET /v1/locale HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/locale/list-codes.md b/docs/examples/1.5.x/server-rest/examples/locale/list-codes.md index 7954d3f8b2..536c2f9375 100644 --- a/docs/examples/1.5.x/server-rest/examples/locale/list-codes.md +++ b/docs/examples/1.5.x/server-rest/examples/locale/list-codes.md @@ -1,9 +1,9 @@ GET /v1/locale/codes HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/locale/list-continents.md b/docs/examples/1.5.x/server-rest/examples/locale/list-continents.md index 613ca7aff2..a4c02757ef 100644 --- a/docs/examples/1.5.x/server-rest/examples/locale/list-continents.md +++ b/docs/examples/1.5.x/server-rest/examples/locale/list-continents.md @@ -1,9 +1,9 @@ GET /v1/locale/continents HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/locale/list-countries-e-u.md b/docs/examples/1.5.x/server-rest/examples/locale/list-countries-e-u.md index 9f92b563a6..f581f5251a 100644 --- a/docs/examples/1.5.x/server-rest/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.5.x/server-rest/examples/locale/list-countries-e-u.md @@ -1,9 +1,9 @@ GET /v1/locale/countries/eu HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/locale/list-countries-phones.md b/docs/examples/1.5.x/server-rest/examples/locale/list-countries-phones.md index 6ab1c478d6..9802b4e8b5 100644 --- a/docs/examples/1.5.x/server-rest/examples/locale/list-countries-phones.md +++ b/docs/examples/1.5.x/server-rest/examples/locale/list-countries-phones.md @@ -1,9 +1,9 @@ GET /v1/locale/countries/phones HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/locale/list-countries.md b/docs/examples/1.5.x/server-rest/examples/locale/list-countries.md index c553e9b49c..9a23a0849c 100644 --- a/docs/examples/1.5.x/server-rest/examples/locale/list-countries.md +++ b/docs/examples/1.5.x/server-rest/examples/locale/list-countries.md @@ -1,9 +1,9 @@ GET /v1/locale/countries HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/locale/list-currencies.md b/docs/examples/1.5.x/server-rest/examples/locale/list-currencies.md index f8cfc778bf..da625de369 100644 --- a/docs/examples/1.5.x/server-rest/examples/locale/list-currencies.md +++ b/docs/examples/1.5.x/server-rest/examples/locale/list-currencies.md @@ -1,9 +1,9 @@ GET /v1/locale/currencies HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/locale/list-languages.md b/docs/examples/1.5.x/server-rest/examples/locale/list-languages.md index fd02f64b0a..3e258e1331 100644 --- a/docs/examples/1.5.x/server-rest/examples/locale/list-languages.md +++ b/docs/examples/1.5.x/server-rest/examples/locale/list-languages.md @@ -1,9 +1,9 @@ GET /v1/locale/languages HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/create-apns-provider.md b/docs/examples/1.5.x/server-rest/examples/messaging/create-apns-provider.md index 710d7c2ad1..ca189a55eb 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/create-apns-provider.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/create-apns-provider.md @@ -1,9 +1,9 @@ POST /v1/messaging/providers/apns HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "providerId": "<PROVIDER_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/create-email.md b/docs/examples/1.5.x/server-rest/examples/messaging/create-email.md index 7a988c1c00..3d187c1bde 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/create-email.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/create-email.md @@ -1,9 +1,9 @@ POST /v1/messaging/messages/email HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "messageId": "<MESSAGE_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/create-fcm-provider.md b/docs/examples/1.5.x/server-rest/examples/messaging/create-fcm-provider.md index ba6aa9888f..70c8b84d76 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/create-fcm-provider.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/create-fcm-provider.md @@ -1,9 +1,9 @@ POST /v1/messaging/providers/fcm HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "providerId": "<PROVIDER_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/create-mailgun-provider.md b/docs/examples/1.5.x/server-rest/examples/messaging/create-mailgun-provider.md index 57bd4a365f..1ccd17c44b 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/create-mailgun-provider.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/create-mailgun-provider.md @@ -1,9 +1,9 @@ POST /v1/messaging/providers/mailgun HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "providerId": "<PROVIDER_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/create-msg91provider.md b/docs/examples/1.5.x/server-rest/examples/messaging/create-msg91provider.md index 05052e4b1e..59f3a30d5e 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/create-msg91provider.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/create-msg91provider.md @@ -1,9 +1,9 @@ POST /v1/messaging/providers/msg91 HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "providerId": "<PROVIDER_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/create-push.md b/docs/examples/1.5.x/server-rest/examples/messaging/create-push.md index 1f20509d25..30efda6702 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/create-push.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/create-push.md @@ -1,9 +1,9 @@ POST /v1/messaging/messages/push HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "messageId": "<MESSAGE_ID>", @@ -19,7 +19,10 @@ X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 "sound": "<SOUND>", "color": "<COLOR>", "tag": "<TAG>", - "badge": "<BADGE>", + "badge": 0, "draft": false, - "scheduledAt": + "scheduledAt": , + "contentAvailable": false, + "critical": false, + "priority": "normal" } diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/create-sendgrid-provider.md b/docs/examples/1.5.x/server-rest/examples/messaging/create-sendgrid-provider.md index 148d0537cf..bb82e42882 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/create-sendgrid-provider.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/create-sendgrid-provider.md @@ -1,9 +1,9 @@ POST /v1/messaging/providers/sendgrid HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "providerId": "<PROVIDER_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/create-sms.md b/docs/examples/1.5.x/server-rest/examples/messaging/create-sms.md index 10280fc943..14d6a6e386 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/create-sms.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/create-sms.md @@ -1,9 +1,9 @@ POST /v1/messaging/messages/sms HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "messageId": "<MESSAGE_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/create-smtp-provider.md b/docs/examples/1.5.x/server-rest/examples/messaging/create-smtp-provider.md index a6a5ca213e..fbb23f9b6a 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/create-smtp-provider.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/create-smtp-provider.md @@ -1,9 +1,9 @@ POST /v1/messaging/providers/smtp HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "providerId": "<PROVIDER_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/create-subscriber.md b/docs/examples/1.5.x/server-rest/examples/messaging/create-subscriber.md index 6141a408e8..cb952c36ae 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/create-subscriber.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/create-subscriber.md @@ -1,11 +1,11 @@ POST /v1/messaging/topics/{topicId}/subscribers HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-JWT: <YOUR_JWT> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Key: <YOUR_API_KEY> { "subscriberId": "<SUBSCRIBER_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/create-telesign-provider.md b/docs/examples/1.5.x/server-rest/examples/messaging/create-telesign-provider.md index 07cc843557..d9fcf64fc9 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/create-telesign-provider.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/create-telesign-provider.md @@ -1,9 +1,9 @@ POST /v1/messaging/providers/telesign HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "providerId": "<PROVIDER_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/create-textmagic-provider.md b/docs/examples/1.5.x/server-rest/examples/messaging/create-textmagic-provider.md index 8f4ae3486e..bb94b511f6 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/create-textmagic-provider.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/create-textmagic-provider.md @@ -1,9 +1,9 @@ POST /v1/messaging/providers/textmagic HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "providerId": "<PROVIDER_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/create-topic.md b/docs/examples/1.5.x/server-rest/examples/messaging/create-topic.md index dc44f11668..45c9d24a1f 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/create-topic.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/create-topic.md @@ -1,9 +1,9 @@ POST /v1/messaging/topics HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "topicId": "<TOPIC_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/create-twilio-provider.md b/docs/examples/1.5.x/server-rest/examples/messaging/create-twilio-provider.md index 64906f002e..a4e7f8c1f0 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/create-twilio-provider.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/create-twilio-provider.md @@ -1,9 +1,9 @@ POST /v1/messaging/providers/twilio HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "providerId": "<PROVIDER_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/create-vonage-provider.md b/docs/examples/1.5.x/server-rest/examples/messaging/create-vonage-provider.md index 1a85b726ac..1b866521e1 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/create-vonage-provider.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/create-vonage-provider.md @@ -1,9 +1,9 @@ POST /v1/messaging/providers/vonage HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "providerId": "<PROVIDER_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/delete-provider.md b/docs/examples/1.5.x/server-rest/examples/messaging/delete-provider.md index 9bd35794ad..6423382896 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/delete-provider.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/delete-provider.md @@ -1,7 +1,7 @@ DELETE /v1/messaging/providers/{providerId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/delete-subscriber.md b/docs/examples/1.5.x/server-rest/examples/messaging/delete-subscriber.md index 0420315e1d..d826c6ceb2 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/delete-subscriber.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/delete-subscriber.md @@ -1,9 +1,9 @@ DELETE /v1/messaging/topics/{topicId}/subscribers/{subscriberId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-JWT: <YOUR_JWT> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/delete-topic.md b/docs/examples/1.5.x/server-rest/examples/messaging/delete-topic.md index 86bd0797fa..43753ee3de 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/delete-topic.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/delete-topic.md @@ -1,7 +1,7 @@ DELETE /v1/messaging/topics/{topicId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/delete.md b/docs/examples/1.5.x/server-rest/examples/messaging/delete.md index 50d0cea0af..c86e7df658 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/delete.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/delete.md @@ -1,7 +1,7 @@ DELETE /v1/messaging/messages/{messageId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/get-message.md b/docs/examples/1.5.x/server-rest/examples/messaging/get-message.md index 1d1ff563fa..a028ed942b 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/get-message.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/get-message.md @@ -1,7 +1,7 @@ GET /v1/messaging/messages/{messageId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/get-provider.md b/docs/examples/1.5.x/server-rest/examples/messaging/get-provider.md index 97347364f5..c721575af6 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/get-provider.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/get-provider.md @@ -1,7 +1,7 @@ GET /v1/messaging/providers/{providerId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/get-subscriber.md b/docs/examples/1.5.x/server-rest/examples/messaging/get-subscriber.md index 7ab1e6611a..bb0ce225f1 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/get-subscriber.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/get-subscriber.md @@ -1,7 +1,7 @@ GET /v1/messaging/topics/{topicId}/subscribers/{subscriberId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/get-topic.md b/docs/examples/1.5.x/server-rest/examples/messaging/get-topic.md index d4e3bf3480..0efe944421 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/get-topic.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/get-topic.md @@ -1,7 +1,7 @@ GET /v1/messaging/topics/{topicId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/list-message-logs.md b/docs/examples/1.5.x/server-rest/examples/messaging/list-message-logs.md index c7aba35f03..15729cf60a 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/list-message-logs.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/list-message-logs.md @@ -1,7 +1,7 @@ GET /v1/messaging/messages/{messageId}/logs HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/list-messages.md b/docs/examples/1.5.x/server-rest/examples/messaging/list-messages.md index daf72c3c53..e497923c87 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/list-messages.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/list-messages.md @@ -1,7 +1,7 @@ GET /v1/messaging/messages HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/list-provider-logs.md b/docs/examples/1.5.x/server-rest/examples/messaging/list-provider-logs.md index 16b81708e7..38f9cd36e0 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/list-provider-logs.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/list-provider-logs.md @@ -1,7 +1,7 @@ GET /v1/messaging/providers/{providerId}/logs HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/list-providers.md b/docs/examples/1.5.x/server-rest/examples/messaging/list-providers.md index 556facdae2..b1fc0e9bfc 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/list-providers.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/list-providers.md @@ -1,7 +1,7 @@ GET /v1/messaging/providers HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/list-subscriber-logs.md b/docs/examples/1.5.x/server-rest/examples/messaging/list-subscriber-logs.md index 952c461802..008132bec6 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/list-subscriber-logs.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/list-subscriber-logs.md @@ -1,7 +1,7 @@ GET /v1/messaging/subscribers/{subscriberId}/logs HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/list-subscribers.md b/docs/examples/1.5.x/server-rest/examples/messaging/list-subscribers.md index 38ec946a42..8e8f80fa86 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/list-subscribers.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/list-subscribers.md @@ -1,7 +1,7 @@ GET /v1/messaging/topics/{topicId}/subscribers HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/list-targets.md b/docs/examples/1.5.x/server-rest/examples/messaging/list-targets.md index fd4dda146c..00fefdcfcc 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/list-targets.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/list-targets.md @@ -1,7 +1,7 @@ GET /v1/messaging/messages/{messageId}/targets HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/list-topic-logs.md b/docs/examples/1.5.x/server-rest/examples/messaging/list-topic-logs.md index b4a266c627..5dce531491 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/list-topic-logs.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/list-topic-logs.md @@ -1,7 +1,7 @@ GET /v1/messaging/topics/{topicId}/logs HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/list-topics.md b/docs/examples/1.5.x/server-rest/examples/messaging/list-topics.md index 71225acd6b..cf5bc4e509 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/list-topics.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/list-topics.md @@ -1,7 +1,7 @@ GET /v1/messaging/topics HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/update-apns-provider.md b/docs/examples/1.5.x/server-rest/examples/messaging/update-apns-provider.md index d230f150bd..34c569193a 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/update-apns-provider.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/update-apns-provider.md @@ -1,9 +1,9 @@ PATCH /v1/messaging/providers/apns/{providerId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "name": "<NAME>", diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/update-email.md b/docs/examples/1.5.x/server-rest/examples/messaging/update-email.md index 61ef1ed798..d197337125 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/update-email.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/update-email.md @@ -1,9 +1,9 @@ PATCH /v1/messaging/messages/email/{messageId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "topics": [], diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/update-fcm-provider.md b/docs/examples/1.5.x/server-rest/examples/messaging/update-fcm-provider.md index 14e5cc9cca..eff2cd3d04 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/update-fcm-provider.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/update-fcm-provider.md @@ -1,9 +1,9 @@ PATCH /v1/messaging/providers/fcm/{providerId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "name": "<NAME>", diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/update-mailgun-provider.md b/docs/examples/1.5.x/server-rest/examples/messaging/update-mailgun-provider.md index a25d1c1885..2a4b07d8b1 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/update-mailgun-provider.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/update-mailgun-provider.md @@ -1,9 +1,9 @@ PATCH /v1/messaging/providers/mailgun/{providerId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "name": "<NAME>", diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/update-msg91provider.md b/docs/examples/1.5.x/server-rest/examples/messaging/update-msg91provider.md index a2458c0634..426a625847 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/update-msg91provider.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/update-msg91provider.md @@ -1,9 +1,9 @@ PATCH /v1/messaging/providers/msg91/{providerId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "name": "<NAME>", diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/update-push.md b/docs/examples/1.5.x/server-rest/examples/messaging/update-push.md index b99b7e0c48..e4a46603d1 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/update-push.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/update-push.md @@ -1,9 +1,9 @@ PATCH /v1/messaging/messages/push/{messageId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "topics": [], @@ -20,5 +20,8 @@ X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 "tag": "<TAG>", "badge": 0, "draft": false, - "scheduledAt": + "scheduledAt": , + "contentAvailable": false, + "critical": false, + "priority": "normal" } diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/update-sendgrid-provider.md b/docs/examples/1.5.x/server-rest/examples/messaging/update-sendgrid-provider.md index 08249e5674..e3082f9750 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/update-sendgrid-provider.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/update-sendgrid-provider.md @@ -1,9 +1,9 @@ PATCH /v1/messaging/providers/sendgrid/{providerId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "name": "<NAME>", diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/update-sms.md b/docs/examples/1.5.x/server-rest/examples/messaging/update-sms.md index 3af498bed8..ad63dd6d16 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/update-sms.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/update-sms.md @@ -1,9 +1,9 @@ PATCH /v1/messaging/messages/sms/{messageId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "topics": [], diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/update-smtp-provider.md b/docs/examples/1.5.x/server-rest/examples/messaging/update-smtp-provider.md index 6d78182b66..981ee039a5 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/update-smtp-provider.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/update-smtp-provider.md @@ -1,9 +1,9 @@ PATCH /v1/messaging/providers/smtp/{providerId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "name": "<NAME>", diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/update-telesign-provider.md b/docs/examples/1.5.x/server-rest/examples/messaging/update-telesign-provider.md index ec8e52d3bc..7b79305285 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/update-telesign-provider.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/update-telesign-provider.md @@ -1,9 +1,9 @@ PATCH /v1/messaging/providers/telesign/{providerId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "name": "<NAME>", diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/update-textmagic-provider.md b/docs/examples/1.5.x/server-rest/examples/messaging/update-textmagic-provider.md index 2e7ca828f2..270da23b47 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/update-textmagic-provider.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/update-textmagic-provider.md @@ -1,9 +1,9 @@ PATCH /v1/messaging/providers/textmagic/{providerId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "name": "<NAME>", diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/update-topic.md b/docs/examples/1.5.x/server-rest/examples/messaging/update-topic.md index 1406601320..a05bec9618 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/update-topic.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/update-topic.md @@ -1,9 +1,9 @@ PATCH /v1/messaging/topics/{topicId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "name": "<NAME>", diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/update-twilio-provider.md b/docs/examples/1.5.x/server-rest/examples/messaging/update-twilio-provider.md index cc96053b88..65c7ca6181 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/update-twilio-provider.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/update-twilio-provider.md @@ -1,9 +1,9 @@ PATCH /v1/messaging/providers/twilio/{providerId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "name": "<NAME>", diff --git a/docs/examples/1.5.x/server-rest/examples/messaging/update-vonage-provider.md b/docs/examples/1.5.x/server-rest/examples/messaging/update-vonage-provider.md index a8155ec61a..c99fa7f4fb 100644 --- a/docs/examples/1.5.x/server-rest/examples/messaging/update-vonage-provider.md +++ b/docs/examples/1.5.x/server-rest/examples/messaging/update-vonage-provider.md @@ -1,9 +1,9 @@ PATCH /v1/messaging/providers/vonage/{providerId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "name": "<NAME>", diff --git a/docs/examples/1.5.x/server-rest/examples/storage/create-bucket.md b/docs/examples/1.5.x/server-rest/examples/storage/create-bucket.md index 194c28f8ba..e73ec00482 100644 --- a/docs/examples/1.5.x/server-rest/examples/storage/create-bucket.md +++ b/docs/examples/1.5.x/server-rest/examples/storage/create-bucket.md @@ -1,9 +1,9 @@ POST /v1/storage/buckets HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "bucketId": "<BUCKET_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/storage/create-file.md b/docs/examples/1.5.x/server-rest/examples/storage/create-file.md index e2dd42aec8..1b18a8022c 100644 --- a/docs/examples/1.5.x/server-rest/examples/storage/create-file.md +++ b/docs/examples/1.5.x/server-rest/examples/storage/create-file.md @@ -1,11 +1,11 @@ POST /v1/storage/buckets/{bucketId}/files HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: multipart/form-data; boundary="cec8e8123c05ba25" -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> Content-Length: *Length of your entity body in bytes* --cec8e8123c05ba25 diff --git a/docs/examples/1.5.x/server-rest/examples/storage/delete-bucket.md b/docs/examples/1.5.x/server-rest/examples/storage/delete-bucket.md index ce3a81b557..0f7f6ed134 100644 --- a/docs/examples/1.5.x/server-rest/examples/storage/delete-bucket.md +++ b/docs/examples/1.5.x/server-rest/examples/storage/delete-bucket.md @@ -1,7 +1,7 @@ DELETE /v1/storage/buckets/{bucketId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/storage/delete-file.md b/docs/examples/1.5.x/server-rest/examples/storage/delete-file.md index 3824dad3ca..2bc22c81c3 100644 --- a/docs/examples/1.5.x/server-rest/examples/storage/delete-file.md +++ b/docs/examples/1.5.x/server-rest/examples/storage/delete-file.md @@ -1,9 +1,9 @@ DELETE /v1/storage/buckets/{bucketId}/files/{fileId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/storage/get-bucket.md b/docs/examples/1.5.x/server-rest/examples/storage/get-bucket.md index d67eb5c375..f8b1248ac4 100644 --- a/docs/examples/1.5.x/server-rest/examples/storage/get-bucket.md +++ b/docs/examples/1.5.x/server-rest/examples/storage/get-bucket.md @@ -1,7 +1,7 @@ GET /v1/storage/buckets/{bucketId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/storage/get-file-download.md b/docs/examples/1.5.x/server-rest/examples/storage/get-file-download.md index b2546ebfb6..8e72699a88 100644 --- a/docs/examples/1.5.x/server-rest/examples/storage/get-file-download.md +++ b/docs/examples/1.5.x/server-rest/examples/storage/get-file-download.md @@ -1,9 +1,9 @@ GET /v1/storage/buckets/{bucketId}/files/{fileId}/download HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/storage/get-file-preview.md b/docs/examples/1.5.x/server-rest/examples/storage/get-file-preview.md index 722d8ea1b4..312c2c87ab 100644 --- a/docs/examples/1.5.x/server-rest/examples/storage/get-file-preview.md +++ b/docs/examples/1.5.x/server-rest/examples/storage/get-file-preview.md @@ -1,9 +1,9 @@ GET /v1/storage/buckets/{bucketId}/files/{fileId}/preview HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/storage/get-file-view.md b/docs/examples/1.5.x/server-rest/examples/storage/get-file-view.md index e436e47112..3112ccbbf5 100644 --- a/docs/examples/1.5.x/server-rest/examples/storage/get-file-view.md +++ b/docs/examples/1.5.x/server-rest/examples/storage/get-file-view.md @@ -1,9 +1,9 @@ GET /v1/storage/buckets/{bucketId}/files/{fileId}/view HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/storage/get-file.md b/docs/examples/1.5.x/server-rest/examples/storage/get-file.md index 797ee58cb5..74695ded85 100644 --- a/docs/examples/1.5.x/server-rest/examples/storage/get-file.md +++ b/docs/examples/1.5.x/server-rest/examples/storage/get-file.md @@ -1,9 +1,9 @@ GET /v1/storage/buckets/{bucketId}/files/{fileId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/storage/list-buckets.md b/docs/examples/1.5.x/server-rest/examples/storage/list-buckets.md index 1fe1fe6e7b..f801c6a42b 100644 --- a/docs/examples/1.5.x/server-rest/examples/storage/list-buckets.md +++ b/docs/examples/1.5.x/server-rest/examples/storage/list-buckets.md @@ -1,7 +1,7 @@ GET /v1/storage/buckets HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/storage/list-files.md b/docs/examples/1.5.x/server-rest/examples/storage/list-files.md index d37bee88ce..c64556fb57 100644 --- a/docs/examples/1.5.x/server-rest/examples/storage/list-files.md +++ b/docs/examples/1.5.x/server-rest/examples/storage/list-files.md @@ -1,9 +1,9 @@ GET /v1/storage/buckets/{bucketId}/files HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/storage/update-bucket.md b/docs/examples/1.5.x/server-rest/examples/storage/update-bucket.md index 02e4f6b52a..aa966fe57c 100644 --- a/docs/examples/1.5.x/server-rest/examples/storage/update-bucket.md +++ b/docs/examples/1.5.x/server-rest/examples/storage/update-bucket.md @@ -1,9 +1,9 @@ PUT /v1/storage/buckets/{bucketId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "name": "<NAME>", diff --git a/docs/examples/1.5.x/server-rest/examples/storage/update-file.md b/docs/examples/1.5.x/server-rest/examples/storage/update-file.md index af2c0ca673..1d3183936e 100644 --- a/docs/examples/1.5.x/server-rest/examples/storage/update-file.md +++ b/docs/examples/1.5.x/server-rest/examples/storage/update-file.md @@ -1,11 +1,11 @@ PUT /v1/storage/buckets/{bucketId}/files/{fileId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> { "name": "<NAME>", diff --git a/docs/examples/1.5.x/server-rest/examples/teams/create-membership.md b/docs/examples/1.5.x/server-rest/examples/teams/create-membership.md index 8fb7f2c359..92ba6cb9ae 100644 --- a/docs/examples/1.5.x/server-rest/examples/teams/create-membership.md +++ b/docs/examples/1.5.x/server-rest/examples/teams/create-membership.md @@ -1,11 +1,11 @@ POST /v1/teams/{teamId}/memberships HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> { "email": "email@example.com", diff --git a/docs/examples/1.5.x/server-rest/examples/teams/create.md b/docs/examples/1.5.x/server-rest/examples/teams/create.md index 667031e2a6..ff86b5365b 100644 --- a/docs/examples/1.5.x/server-rest/examples/teams/create.md +++ b/docs/examples/1.5.x/server-rest/examples/teams/create.md @@ -1,11 +1,11 @@ POST /v1/teams HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> { "teamId": "<TEAM_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/teams/delete-membership.md b/docs/examples/1.5.x/server-rest/examples/teams/delete-membership.md index db22608716..4dce5657bc 100644 --- a/docs/examples/1.5.x/server-rest/examples/teams/delete-membership.md +++ b/docs/examples/1.5.x/server-rest/examples/teams/delete-membership.md @@ -1,9 +1,9 @@ DELETE /v1/teams/{teamId}/memberships/{membershipId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/teams/delete.md b/docs/examples/1.5.x/server-rest/examples/teams/delete.md index e8e7bb4e02..c071c2a9ee 100644 --- a/docs/examples/1.5.x/server-rest/examples/teams/delete.md +++ b/docs/examples/1.5.x/server-rest/examples/teams/delete.md @@ -1,9 +1,9 @@ DELETE /v1/teams/{teamId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/teams/get-membership.md b/docs/examples/1.5.x/server-rest/examples/teams/get-membership.md index ed5d6cbf69..2cd4b719a0 100644 --- a/docs/examples/1.5.x/server-rest/examples/teams/get-membership.md +++ b/docs/examples/1.5.x/server-rest/examples/teams/get-membership.md @@ -1,9 +1,9 @@ GET /v1/teams/{teamId}/memberships/{membershipId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/teams/get-prefs.md b/docs/examples/1.5.x/server-rest/examples/teams/get-prefs.md index dfac065734..0486648b29 100644 --- a/docs/examples/1.5.x/server-rest/examples/teams/get-prefs.md +++ b/docs/examples/1.5.x/server-rest/examples/teams/get-prefs.md @@ -1,8 +1,8 @@ GET /v1/teams/{teamId}/prefs HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/teams/get.md b/docs/examples/1.5.x/server-rest/examples/teams/get.md index 1205d42fb5..90da5602f9 100644 --- a/docs/examples/1.5.x/server-rest/examples/teams/get.md +++ b/docs/examples/1.5.x/server-rest/examples/teams/get.md @@ -1,9 +1,9 @@ GET /v1/teams/{teamId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/teams/list-memberships.md b/docs/examples/1.5.x/server-rest/examples/teams/list-memberships.md index 91b3db092c..647ab68c06 100644 --- a/docs/examples/1.5.x/server-rest/examples/teams/list-memberships.md +++ b/docs/examples/1.5.x/server-rest/examples/teams/list-memberships.md @@ -1,9 +1,9 @@ GET /v1/teams/{teamId}/memberships HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/teams/list.md b/docs/examples/1.5.x/server-rest/examples/teams/list.md index 650719cd6a..67b43b562c 100644 --- a/docs/examples/1.5.x/server-rest/examples/teams/list.md +++ b/docs/examples/1.5.x/server-rest/examples/teams/list.md @@ -1,9 +1,9 @@ GET /v1/teams HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> diff --git a/docs/examples/1.5.x/server-rest/examples/teams/update-membership-status.md b/docs/examples/1.5.x/server-rest/examples/teams/update-membership-status.md index dbcfd29391..5fa7888d06 100644 --- a/docs/examples/1.5.x/server-rest/examples/teams/update-membership-status.md +++ b/docs/examples/1.5.x/server-rest/examples/teams/update-membership-status.md @@ -1,10 +1,10 @@ PATCH /v1/teams/{teamId}/memberships/{membershipId}/status HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "userId": "<USER_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/teams/update-membership.md b/docs/examples/1.5.x/server-rest/examples/teams/update-membership.md index 0e5c94eb1a..f41efcfaa9 100644 --- a/docs/examples/1.5.x/server-rest/examples/teams/update-membership.md +++ b/docs/examples/1.5.x/server-rest/examples/teams/update-membership.md @@ -1,11 +1,11 @@ PATCH /v1/teams/{teamId}/memberships/{membershipId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> { "roles": [] diff --git a/docs/examples/1.5.x/server-rest/examples/teams/update-name.md b/docs/examples/1.5.x/server-rest/examples/teams/update-name.md index 682ca49812..fb17efab35 100644 --- a/docs/examples/1.5.x/server-rest/examples/teams/update-name.md +++ b/docs/examples/1.5.x/server-rest/examples/teams/update-name.md @@ -1,11 +1,11 @@ PUT /v1/teams/{teamId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-Key: <YOUR_API_KEY> +X-Appwrite-JWT: <YOUR_JWT> { "name": "<NAME>" diff --git a/docs/examples/1.5.x/server-rest/examples/teams/update-prefs.md b/docs/examples/1.5.x/server-rest/examples/teams/update-prefs.md index 1cf422595b..b6b2cc6b97 100644 --- a/docs/examples/1.5.x/server-rest/examples/teams/update-prefs.md +++ b/docs/examples/1.5.x/server-rest/examples/teams/update-prefs.md @@ -1,10 +1,10 @@ PUT /v1/teams/{teamId}/prefs HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: -X-Appwrite-JWT: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ... +X-Appwrite-JWT: <YOUR_JWT> { "prefs": {} diff --git a/docs/examples/1.5.x/server-rest/examples/users/create-argon2user.md b/docs/examples/1.5.x/server-rest/examples/users/create-argon2user.md index d3c8ba5130..8de112573c 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/create-argon2user.md +++ b/docs/examples/1.5.x/server-rest/examples/users/create-argon2user.md @@ -1,9 +1,9 @@ POST /v1/users/argon2 HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "userId": "<USER_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/users/create-bcrypt-user.md b/docs/examples/1.5.x/server-rest/examples/users/create-bcrypt-user.md index 4824ca9835..b85346b061 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.5.x/server-rest/examples/users/create-bcrypt-user.md @@ -1,9 +1,9 @@ POST /v1/users/bcrypt HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "userId": "<USER_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/users/create-j-w-t.md b/docs/examples/1.5.x/server-rest/examples/users/create-j-w-t.md new file mode 100644 index 0000000000..7b35707322 --- /dev/null +++ b/docs/examples/1.5.x/server-rest/examples/users/create-j-w-t.md @@ -0,0 +1,11 @@ +POST /v1/users/{userId}/jwts HTTP/1.1 +Host: <REGION>.cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> + +{ + "sessionId": "<SESSION_ID>", + "duration": 0 +} diff --git a/docs/examples/1.5.x/server-rest/examples/users/create-m-d5user.md b/docs/examples/1.5.x/server-rest/examples/users/create-m-d5user.md index ac7a693149..338df5c4cf 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/create-m-d5user.md +++ b/docs/examples/1.5.x/server-rest/examples/users/create-m-d5user.md @@ -1,9 +1,9 @@ POST /v1/users/md5 HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "userId": "<USER_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/users/create-mfa-recovery-codes.md b/docs/examples/1.5.x/server-rest/examples/users/create-mfa-recovery-codes.md index 86d51a1d22..26e6a144b7 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/create-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-rest/examples/users/create-mfa-recovery-codes.md @@ -1,7 +1,7 @@ PATCH /v1/users/{userId}/mfa/recovery-codes HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/users/create-p-h-pass-user.md b/docs/examples/1.5.x/server-rest/examples/users/create-p-h-pass-user.md index 426101ca4e..811c8f0822 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.5.x/server-rest/examples/users/create-p-h-pass-user.md @@ -1,9 +1,9 @@ POST /v1/users/phpass HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "userId": "<USER_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/users/create-s-h-a-user.md b/docs/examples/1.5.x/server-rest/examples/users/create-s-h-a-user.md index 07597619d5..e523526c88 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.5.x/server-rest/examples/users/create-s-h-a-user.md @@ -1,9 +1,9 @@ POST /v1/users/sha HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "userId": "<USER_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/users/create-scrypt-modified-user.md b/docs/examples/1.5.x/server-rest/examples/users/create-scrypt-modified-user.md index 57051fef0b..0ebd35752e 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.5.x/server-rest/examples/users/create-scrypt-modified-user.md @@ -1,9 +1,9 @@ POST /v1/users/scrypt-modified HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "userId": "<USER_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/users/create-scrypt-user.md b/docs/examples/1.5.x/server-rest/examples/users/create-scrypt-user.md index fdd4ce0405..ab26763949 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/create-scrypt-user.md +++ b/docs/examples/1.5.x/server-rest/examples/users/create-scrypt-user.md @@ -1,9 +1,9 @@ POST /v1/users/scrypt HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "userId": "<USER_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/users/create-session.md b/docs/examples/1.5.x/server-rest/examples/users/create-session.md index cf6c9ab28b..02c337f360 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/create-session.md +++ b/docs/examples/1.5.x/server-rest/examples/users/create-session.md @@ -1,7 +1,7 @@ POST /v1/users/{userId}/sessions HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/users/create-target.md b/docs/examples/1.5.x/server-rest/examples/users/create-target.md index ba9b99aae9..80266b1284 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/create-target.md +++ b/docs/examples/1.5.x/server-rest/examples/users/create-target.md @@ -1,9 +1,9 @@ POST /v1/users/{userId}/targets HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "targetId": "<TARGET_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/users/create-token.md b/docs/examples/1.5.x/server-rest/examples/users/create-token.md index 856e089bf6..934ec0255e 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/create-token.md +++ b/docs/examples/1.5.x/server-rest/examples/users/create-token.md @@ -1,9 +1,9 @@ POST /v1/users/{userId}/tokens HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "length": 4, diff --git a/docs/examples/1.5.x/server-rest/examples/users/create.md b/docs/examples/1.5.x/server-rest/examples/users/create.md index 885ab9fa28..036f57c7a7 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/create.md +++ b/docs/examples/1.5.x/server-rest/examples/users/create.md @@ -1,9 +1,9 @@ POST /v1/users HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "userId": "<USER_ID>", diff --git a/docs/examples/1.5.x/server-rest/examples/users/delete-identity.md b/docs/examples/1.5.x/server-rest/examples/users/delete-identity.md index ab49f1958d..32ac042d05 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/delete-identity.md +++ b/docs/examples/1.5.x/server-rest/examples/users/delete-identity.md @@ -1,7 +1,7 @@ DELETE /v1/users/identities/{identityId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/users/delete-mfa-authenticator.md b/docs/examples/1.5.x/server-rest/examples/users/delete-mfa-authenticator.md index c4e389ff6c..135301b190 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-rest/examples/users/delete-mfa-authenticator.md @@ -1,7 +1,7 @@ DELETE /v1/users/{userId}/mfa/authenticators/{type} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/users/delete-session.md b/docs/examples/1.5.x/server-rest/examples/users/delete-session.md index 2a88fadf70..e718e6abf2 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/delete-session.md +++ b/docs/examples/1.5.x/server-rest/examples/users/delete-session.md @@ -1,7 +1,7 @@ DELETE /v1/users/{userId}/sessions/{sessionId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/users/delete-sessions.md b/docs/examples/1.5.x/server-rest/examples/users/delete-sessions.md index 96d4ee638b..740a8117ad 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/delete-sessions.md +++ b/docs/examples/1.5.x/server-rest/examples/users/delete-sessions.md @@ -1,7 +1,7 @@ DELETE /v1/users/{userId}/sessions HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/users/delete-target.md b/docs/examples/1.5.x/server-rest/examples/users/delete-target.md index 18189d75a1..b38f49e509 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/delete-target.md +++ b/docs/examples/1.5.x/server-rest/examples/users/delete-target.md @@ -1,7 +1,7 @@ DELETE /v1/users/{userId}/targets/{targetId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/users/delete.md b/docs/examples/1.5.x/server-rest/examples/users/delete.md index 5f2aef9c5d..46f2edaa4c 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/delete.md +++ b/docs/examples/1.5.x/server-rest/examples/users/delete.md @@ -1,7 +1,7 @@ DELETE /v1/users/{userId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/users/get-mfa-recovery-codes.md b/docs/examples/1.5.x/server-rest/examples/users/get-mfa-recovery-codes.md index 0ce4059e85..3cf339ca55 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/get-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-rest/examples/users/get-mfa-recovery-codes.md @@ -1,7 +1,7 @@ GET /v1/users/{userId}/mfa/recovery-codes HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/users/get-prefs.md b/docs/examples/1.5.x/server-rest/examples/users/get-prefs.md index faab4904e7..afb2ec1d72 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/get-prefs.md +++ b/docs/examples/1.5.x/server-rest/examples/users/get-prefs.md @@ -1,7 +1,7 @@ GET /v1/users/{userId}/prefs HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/users/get-target.md b/docs/examples/1.5.x/server-rest/examples/users/get-target.md index 76f69bceb3..3014c22539 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/get-target.md +++ b/docs/examples/1.5.x/server-rest/examples/users/get-target.md @@ -1,7 +1,7 @@ GET /v1/users/{userId}/targets/{targetId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/users/get.md b/docs/examples/1.5.x/server-rest/examples/users/get.md index bad5c3218f..a1b448aa69 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/get.md +++ b/docs/examples/1.5.x/server-rest/examples/users/get.md @@ -1,7 +1,7 @@ GET /v1/users/{userId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/users/list-identities.md b/docs/examples/1.5.x/server-rest/examples/users/list-identities.md index 3e784b07b4..5e02343e5c 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/list-identities.md +++ b/docs/examples/1.5.x/server-rest/examples/users/list-identities.md @@ -1,7 +1,7 @@ GET /v1/users/identities HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/users/list-logs.md b/docs/examples/1.5.x/server-rest/examples/users/list-logs.md index 1a53a5c3eb..cfa6b75ce4 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/list-logs.md +++ b/docs/examples/1.5.x/server-rest/examples/users/list-logs.md @@ -1,7 +1,7 @@ GET /v1/users/{userId}/logs HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/users/list-memberships.md b/docs/examples/1.5.x/server-rest/examples/users/list-memberships.md index 8ef09ab56b..0f1825b5b0 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/list-memberships.md +++ b/docs/examples/1.5.x/server-rest/examples/users/list-memberships.md @@ -1,7 +1,7 @@ GET /v1/users/{userId}/memberships HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/users/list-mfa-factors.md b/docs/examples/1.5.x/server-rest/examples/users/list-mfa-factors.md index 42d5b8f802..5ef70d1d10 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/list-mfa-factors.md +++ b/docs/examples/1.5.x/server-rest/examples/users/list-mfa-factors.md @@ -1,7 +1,7 @@ GET /v1/users/{userId}/mfa/factors HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/users/list-sessions.md b/docs/examples/1.5.x/server-rest/examples/users/list-sessions.md index 2572954b82..37d23974ce 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/list-sessions.md +++ b/docs/examples/1.5.x/server-rest/examples/users/list-sessions.md @@ -1,7 +1,7 @@ GET /v1/users/{userId}/sessions HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/users/list-targets.md b/docs/examples/1.5.x/server-rest/examples/users/list-targets.md index 3d3f56b4a1..01c6572c26 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/list-targets.md +++ b/docs/examples/1.5.x/server-rest/examples/users/list-targets.md @@ -1,7 +1,7 @@ GET /v1/users/{userId}/targets HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/users/list.md b/docs/examples/1.5.x/server-rest/examples/users/list.md index b41435a1ed..44fd36a284 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/list.md +++ b/docs/examples/1.5.x/server-rest/examples/users/list.md @@ -1,7 +1,7 @@ GET /v1/users HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/users/update-email-verification.md b/docs/examples/1.5.x/server-rest/examples/users/update-email-verification.md index fd83b4243e..c0e3f6fdfe 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/update-email-verification.md +++ b/docs/examples/1.5.x/server-rest/examples/users/update-email-verification.md @@ -1,9 +1,9 @@ PATCH /v1/users/{userId}/verification HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "emailVerification": false diff --git a/docs/examples/1.5.x/server-rest/examples/users/update-email.md b/docs/examples/1.5.x/server-rest/examples/users/update-email.md index 6738d08be0..95751defb5 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/update-email.md +++ b/docs/examples/1.5.x/server-rest/examples/users/update-email.md @@ -1,9 +1,9 @@ PATCH /v1/users/{userId}/email HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "email": "email@example.com" diff --git a/docs/examples/1.5.x/server-rest/examples/users/update-labels.md b/docs/examples/1.5.x/server-rest/examples/users/update-labels.md index 4192fce261..2076b3bb22 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/update-labels.md +++ b/docs/examples/1.5.x/server-rest/examples/users/update-labels.md @@ -1,9 +1,9 @@ PUT /v1/users/{userId}/labels HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "labels": [] diff --git a/docs/examples/1.5.x/server-rest/examples/users/update-mfa-recovery-codes.md b/docs/examples/1.5.x/server-rest/examples/users/update-mfa-recovery-codes.md index 2fb9eaa618..31ccea9f74 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/update-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-rest/examples/users/update-mfa-recovery-codes.md @@ -1,7 +1,7 @@ PUT /v1/users/{userId}/mfa/recovery-codes HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.5.x/server-rest/examples/users/update-mfa.md b/docs/examples/1.5.x/server-rest/examples/users/update-mfa.md index f89945d3fc..98b2708cd4 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/update-mfa.md +++ b/docs/examples/1.5.x/server-rest/examples/users/update-mfa.md @@ -1,9 +1,9 @@ PATCH /v1/users/{userId}/mfa HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "mfa": false diff --git a/docs/examples/1.5.x/server-rest/examples/users/update-name.md b/docs/examples/1.5.x/server-rest/examples/users/update-name.md index 2d3b0ffc1e..a3cdb1c034 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/update-name.md +++ b/docs/examples/1.5.x/server-rest/examples/users/update-name.md @@ -1,9 +1,9 @@ PATCH /v1/users/{userId}/name HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "name": "<NAME>" diff --git a/docs/examples/1.5.x/server-rest/examples/users/update-password.md b/docs/examples/1.5.x/server-rest/examples/users/update-password.md index b8090b2273..1b984747fa 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/update-password.md +++ b/docs/examples/1.5.x/server-rest/examples/users/update-password.md @@ -1,9 +1,9 @@ PATCH /v1/users/{userId}/password HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "password": diff --git a/docs/examples/1.5.x/server-rest/examples/users/update-phone-verification.md b/docs/examples/1.5.x/server-rest/examples/users/update-phone-verification.md index b2d19ba401..fe49c6231c 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/update-phone-verification.md +++ b/docs/examples/1.5.x/server-rest/examples/users/update-phone-verification.md @@ -1,9 +1,9 @@ PATCH /v1/users/{userId}/verification/phone HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "phoneVerification": false diff --git a/docs/examples/1.5.x/server-rest/examples/users/update-phone.md b/docs/examples/1.5.x/server-rest/examples/users/update-phone.md index b7fa7d5078..2e5337ce2b 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/update-phone.md +++ b/docs/examples/1.5.x/server-rest/examples/users/update-phone.md @@ -1,9 +1,9 @@ PATCH /v1/users/{userId}/phone HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "number": "+12065550100" diff --git a/docs/examples/1.5.x/server-rest/examples/users/update-prefs.md b/docs/examples/1.5.x/server-rest/examples/users/update-prefs.md index f79fdf283e..c048503369 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/update-prefs.md +++ b/docs/examples/1.5.x/server-rest/examples/users/update-prefs.md @@ -1,9 +1,9 @@ PATCH /v1/users/{userId}/prefs HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "prefs": {} diff --git a/docs/examples/1.5.x/server-rest/examples/users/update-status.md b/docs/examples/1.5.x/server-rest/examples/users/update-status.md index 106f3fc30a..f029b62ae3 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/update-status.md +++ b/docs/examples/1.5.x/server-rest/examples/users/update-status.md @@ -1,9 +1,9 @@ PATCH /v1/users/{userId}/status HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "status": false diff --git a/docs/examples/1.5.x/server-rest/examples/users/update-target.md b/docs/examples/1.5.x/server-rest/examples/users/update-target.md index 4b51889127..96d70d4b80 100644 --- a/docs/examples/1.5.x/server-rest/examples/users/update-target.md +++ b/docs/examples/1.5.x/server-rest/examples/users/update-target.md @@ -1,9 +1,9 @@ PATCH /v1/users/{userId}/targets/{targetId} HTTP/1.1 -Host: cloud.appwrite.io +Host: <REGION>.cloud.appwrite.io Content-Type: application/json -X-Appwrite-Response-Format: 1.5.0 -X-Appwrite-Project: 5df5acd0d48c2 -X-Appwrite-Key: 919c2d18fb5d4...a2ae413da83346ad2 +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> { "identifier": "<IDENTIFIER>", diff --git a/docs/examples/1.5.x/server-ruby/examples/account/add-authenticator.md b/docs/examples/1.5.x/server-ruby/examples/account/add-authenticator.md index f47f31f41a..247d82198e 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/add-authenticator.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/add-authenticator.md @@ -4,7 +4,7 @@ include Appwrite include Appwrite::Enums client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.5.x/server-ruby/examples/account/create-anonymous-session.md b/docs/examples/1.5.x/server-ruby/examples/account/create-anonymous-session.md index ccdddd5c6c..a54d5f0057 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/create-anonymous-session.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/create-anonymous-session.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/create-challenge.md b/docs/examples/1.5.x/server-ruby/examples/account/create-challenge.md index 968527e9f8..c8042dfc0e 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/create-challenge.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/create-challenge.md @@ -4,7 +4,7 @@ include Appwrite include Appwrite::Enums client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/create-email-password-session.md b/docs/examples/1.5.x/server-ruby/examples/account/create-email-password-session.md index e95a51430b..08d34230a0 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/create-email-password-session.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/create-email-password-session.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/create-email-token.md b/docs/examples/1.5.x/server-ruby/examples/account/create-email-token.md index bf2e1f2f13..1e85706cf2 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/create-email-token.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/create-email-token.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/create-j-w-t.md b/docs/examples/1.5.x/server-ruby/examples/account/create-j-w-t.md index fb9d1f9b01..8ad2db14ca 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/create-j-w-t.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/create-j-w-t.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/create-magic-u-r-l-token.md b/docs/examples/1.5.x/server-ruby/examples/account/create-magic-u-r-l-token.md index d1aa8ac5e5..253b26309e 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/create-magic-u-r-l-token.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/create-mfa-authenticator.md b/docs/examples/1.5.x/server-ruby/examples/account/create-mfa-authenticator.md index 8df238ae9f..38ad5492d9 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/create-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/create-mfa-authenticator.md @@ -5,7 +5,7 @@ include Appwrite::Enums client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/create-mfa-challenge.md b/docs/examples/1.5.x/server-ruby/examples/account/create-mfa-challenge.md index c6dc502af7..b5fa72f78b 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/create-mfa-challenge.md @@ -5,7 +5,7 @@ include Appwrite::Enums client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/create-mfa-recovery-codes.md b/docs/examples/1.5.x/server-ruby/examples/account/create-mfa-recovery-codes.md index 95a18b0aa5..9c64fdf47a 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/create-mfa-recovery-codes.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/create-o-auth2session.md b/docs/examples/1.5.x/server-ruby/examples/account/create-o-auth2session.md index d3b04366d9..562453b174 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/create-o-auth2session.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/create-o-auth2session.md @@ -4,7 +4,7 @@ include Appwrite include Appwrite::Enums client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/create-o-auth2token.md b/docs/examples/1.5.x/server-ruby/examples/account/create-o-auth2token.md index d79e48ac1b..be8169e58d 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/create-o-auth2token.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/create-o-auth2token.md @@ -5,7 +5,7 @@ include Appwrite::Enums client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/create-phone-token.md b/docs/examples/1.5.x/server-ruby/examples/account/create-phone-token.md index f6c9ac9e2f..70e8be2ca9 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/create-phone-token.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/create-phone-token.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/create-phone-verification.md b/docs/examples/1.5.x/server-ruby/examples/account/create-phone-verification.md index f95fa3bb86..0f5685bf20 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/create-phone-verification.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/create-phone-verification.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/create-recovery.md b/docs/examples/1.5.x/server-ruby/examples/account/create-recovery.md index 51863f669c..15f0f93a98 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/create-recovery.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/create-recovery.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/create-session.md b/docs/examples/1.5.x/server-ruby/examples/account/create-session.md index 1684a09ac3..27c265549e 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/create-session.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/create-session.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/create-verification.md b/docs/examples/1.5.x/server-ruby/examples/account/create-verification.md index a4cb5f2521..216d88c02c 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/create-verification.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/create-verification.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/create.md b/docs/examples/1.5.x/server-ruby/examples/account/create.md index a722eac1f2..e27f488f6b 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/create.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/create.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/create2f-a-challenge.md b/docs/examples/1.5.x/server-ruby/examples/account/create2f-a-challenge.md index f555305608..ace1ed64a9 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/create2f-a-challenge.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/create2f-a-challenge.md @@ -4,7 +4,7 @@ include Appwrite include Appwrite::Enums client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/delete-authenticator.md b/docs/examples/1.5.x/server-ruby/examples/account/delete-authenticator.md index a6b50dff65..91cc135807 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/delete-authenticator.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/delete-authenticator.md @@ -4,7 +4,7 @@ include Appwrite include Appwrite::Enums client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.5.x/server-ruby/examples/account/delete-identity.md b/docs/examples/1.5.x/server-ruby/examples/account/delete-identity.md index 37ce0d40b0..a38eccd080 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/delete-identity.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/delete-identity.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/delete-mfa-authenticator.md b/docs/examples/1.5.x/server-ruby/examples/account/delete-mfa-authenticator.md index 8bebf5a717..9b4f352bad 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/delete-mfa-authenticator.md @@ -5,12 +5,11 @@ include Appwrite::Enums client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with account = Account.new(client) result = account.delete_mfa_authenticator( - type: AuthenticatorType::TOTP, - otp: '<OTP>' + type: AuthenticatorType::TOTP ) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/delete-session.md b/docs/examples/1.5.x/server-ruby/examples/account/delete-session.md index 0c63c2c36b..4781eecdc6 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/delete-session.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/delete-session.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/delete-sessions.md b/docs/examples/1.5.x/server-ruby/examples/account/delete-sessions.md index 8d79d217cb..776938e2dc 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/delete-sessions.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/delete-sessions.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.5.x/server-ruby/examples/account/get-mfa-recovery-codes.md index ffd1e6608e..207e5219d6 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/get-mfa-recovery-codes.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/get-prefs.md b/docs/examples/1.5.x/server-ruby/examples/account/get-prefs.md index 951aed5e29..0a1ca1c1c9 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/get-prefs.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/get-prefs.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/get-session.md b/docs/examples/1.5.x/server-ruby/examples/account/get-session.md index 61ff279944..32a162e60d 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/get-session.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/get-session.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/get.md b/docs/examples/1.5.x/server-ruby/examples/account/get.md index 153cf2eeb6..5174ab7177 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/get.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/get.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/list-factors.md b/docs/examples/1.5.x/server-ruby/examples/account/list-factors.md index 3f5fe6305e..f5cc05831a 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/list-factors.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/list-factors.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.5.x/server-ruby/examples/account/list-identities.md b/docs/examples/1.5.x/server-ruby/examples/account/list-identities.md index 1fb8b3d473..91b513b9c0 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/list-identities.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/list-identities.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/list-logs.md b/docs/examples/1.5.x/server-ruby/examples/account/list-logs.md index 11210754e3..b11dc1a4ab 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/list-logs.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/list-logs.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/list-mfa-factors.md b/docs/examples/1.5.x/server-ruby/examples/account/list-mfa-factors.md index bc10699b56..48050f2235 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/list-mfa-factors.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/list-mfa-factors.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/list-sessions.md b/docs/examples/1.5.x/server-ruby/examples/account/list-sessions.md index 62cc448506..65d50483bb 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/list-sessions.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/list-sessions.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/update-challenge.md b/docs/examples/1.5.x/server-ruby/examples/account/update-challenge.md index 7b38086a34..f830299fe2 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/update-challenge.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/update-challenge.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.5.x/server-ruby/examples/account/update-email.md b/docs/examples/1.5.x/server-ruby/examples/account/update-email.md index b504424476..69e49847cb 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/update-email.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/update-email.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/update-m-f-a.md b/docs/examples/1.5.x/server-ruby/examples/account/update-m-f-a.md index 496a5bdd96..bf5d745875 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/update-m-f-a.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/update-m-f-a.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.5.x/server-ruby/examples/account/update-magic-u-r-l-session.md index b7939c814d..7e72263f97 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/update-magic-u-r-l-session.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/update-mfa-authenticator.md b/docs/examples/1.5.x/server-ruby/examples/account/update-mfa-authenticator.md index a5485169a8..ba6389d043 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/update-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/update-mfa-authenticator.md @@ -5,7 +5,7 @@ include Appwrite::Enums client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/update-mfa-challenge.md b/docs/examples/1.5.x/server-ruby/examples/account/update-mfa-challenge.md index 92e84b3b4e..ab0d4d31ef 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/update-mfa-challenge.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/update-mfa-recovery-codes.md b/docs/examples/1.5.x/server-ruby/examples/account/update-mfa-recovery-codes.md index 3016f27c19..5724025f63 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/update-mfa-recovery-codes.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/update-name.md b/docs/examples/1.5.x/server-ruby/examples/account/update-name.md index 851010ee9d..e071dd96fd 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/update-name.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/update-name.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/update-password.md b/docs/examples/1.5.x/server-ruby/examples/account/update-password.md index f826da68a5..8dd0da6bdd 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/update-password.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/update-password.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/update-phone-session.md b/docs/examples/1.5.x/server-ruby/examples/account/update-phone-session.md index 4cb0bd27e0..90776ceded 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/update-phone-session.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/update-phone-session.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/update-phone-verification.md b/docs/examples/1.5.x/server-ruby/examples/account/update-phone-verification.md index 6faf3df062..b41bb42fad 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/update-phone-verification.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/update-phone-verification.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/update-phone.md b/docs/examples/1.5.x/server-ruby/examples/account/update-phone.md index 9851e8916d..b562355f0e 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/update-phone.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/update-phone.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/update-prefs.md b/docs/examples/1.5.x/server-ruby/examples/account/update-prefs.md index 15345e655d..5dc92d1242 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/update-prefs.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/update-prefs.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/update-recovery.md b/docs/examples/1.5.x/server-ruby/examples/account/update-recovery.md index 3ff5f606d1..06372cb86a 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/update-recovery.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/update-recovery.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/update-session.md b/docs/examples/1.5.x/server-ruby/examples/account/update-session.md index bbf039a435..b1181e0c87 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/update-session.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/update-session.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/update-status.md b/docs/examples/1.5.x/server-ruby/examples/account/update-status.md index 5a12f33bf0..f69f527dfa 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/update-status.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/update-status.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/update-verification.md b/docs/examples/1.5.x/server-ruby/examples/account/update-verification.md index 19503990e7..5a0cff80a2 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/update-verification.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/update-verification.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with account = Account.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/account/verify-authenticator.md b/docs/examples/1.5.x/server-ruby/examples/account/verify-authenticator.md index d04b9fcee0..3ec98a8949 100644 --- a/docs/examples/1.5.x/server-ruby/examples/account/verify-authenticator.md +++ b/docs/examples/1.5.x/server-ruby/examples/account/verify-authenticator.md @@ -4,7 +4,7 @@ include Appwrite include Appwrite::Enums client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.5.x/server-ruby/examples/avatars/get-browser.md b/docs/examples/1.5.x/server-ruby/examples/avatars/get-browser.md index 518770d47e..f48a05a06e 100644 --- a/docs/examples/1.5.x/server-ruby/examples/avatars/get-browser.md +++ b/docs/examples/1.5.x/server-ruby/examples/avatars/get-browser.md @@ -5,7 +5,7 @@ include Appwrite::Enums client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with avatars = Avatars.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/avatars/get-credit-card.md b/docs/examples/1.5.x/server-ruby/examples/avatars/get-credit-card.md index f8b05fc9ed..99b3c62646 100644 --- a/docs/examples/1.5.x/server-ruby/examples/avatars/get-credit-card.md +++ b/docs/examples/1.5.x/server-ruby/examples/avatars/get-credit-card.md @@ -5,7 +5,7 @@ include Appwrite::Enums client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with avatars = Avatars.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/avatars/get-favicon.md b/docs/examples/1.5.x/server-ruby/examples/avatars/get-favicon.md index 1c30235f42..470512868b 100644 --- a/docs/examples/1.5.x/server-ruby/examples/avatars/get-favicon.md +++ b/docs/examples/1.5.x/server-ruby/examples/avatars/get-favicon.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with avatars = Avatars.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/avatars/get-flag.md b/docs/examples/1.5.x/server-ruby/examples/avatars/get-flag.md index 34199ee999..cd162a5f9e 100644 --- a/docs/examples/1.5.x/server-ruby/examples/avatars/get-flag.md +++ b/docs/examples/1.5.x/server-ruby/examples/avatars/get-flag.md @@ -5,7 +5,7 @@ include Appwrite::Enums client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with avatars = Avatars.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/avatars/get-image.md b/docs/examples/1.5.x/server-ruby/examples/avatars/get-image.md index 348eea01f4..bc38de19c9 100644 --- a/docs/examples/1.5.x/server-ruby/examples/avatars/get-image.md +++ b/docs/examples/1.5.x/server-ruby/examples/avatars/get-image.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with avatars = Avatars.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/avatars/get-initials.md b/docs/examples/1.5.x/server-ruby/examples/avatars/get-initials.md index 96eb588da2..9d79e8eac7 100644 --- a/docs/examples/1.5.x/server-ruby/examples/avatars/get-initials.md +++ b/docs/examples/1.5.x/server-ruby/examples/avatars/get-initials.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with avatars = Avatars.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/avatars/get-q-r.md b/docs/examples/1.5.x/server-ruby/examples/avatars/get-q-r.md index 9d9bd6df47..f5228664fa 100644 --- a/docs/examples/1.5.x/server-ruby/examples/avatars/get-q-r.md +++ b/docs/examples/1.5.x/server-ruby/examples/avatars/get-q-r.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with avatars = Avatars.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/create-boolean-attribute.md b/docs/examples/1.5.x/server-ruby/examples/databases/create-boolean-attribute.md index 600718ce3f..35449c28f8 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/create-boolean-attribute.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/create-collection.md b/docs/examples/1.5.x/server-ruby/examples/databases/create-collection.md index 8387e134c7..8d564a38e6 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/create-collection.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/create-collection.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/create-datetime-attribute.md b/docs/examples/1.5.x/server-ruby/examples/databases/create-datetime-attribute.md index 48477340b3..594f36eda9 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/create-datetime-attribute.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/create-document.md b/docs/examples/1.5.x/server-ruby/examples/databases/create-document.md index e9be93057a..30ef93f61a 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/create-document.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/create-document.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with databases = Databases.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/create-email-attribute.md b/docs/examples/1.5.x/server-ruby/examples/databases/create-email-attribute.md index abb77fc8da..d7456a1d5a 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/create-email-attribute.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/create-email-attribute.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/create-enum-attribute.md b/docs/examples/1.5.x/server-ruby/examples/databases/create-enum-attribute.md index 741678c748..86212795f2 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/create-enum-attribute.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/create-float-attribute.md b/docs/examples/1.5.x/server-ruby/examples/databases/create-float-attribute.md index 1497999eae..3b61bf56e6 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/create-float-attribute.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/create-float-attribute.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/create-index.md b/docs/examples/1.5.x/server-ruby/examples/databases/create-index.md index cbf13bf9b8..865ce932cc 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/create-index.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/create-index.md @@ -5,8 +5,8 @@ include Appwrite::Enums client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/create-integer-attribute.md b/docs/examples/1.5.x/server-ruby/examples/databases/create-integer-attribute.md index 140f367ecb..88832bdf74 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/create-integer-attribute.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/create-ip-attribute.md b/docs/examples/1.5.x/server-ruby/examples/databases/create-ip-attribute.md index eb591b4d7c..88167e1f53 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/create-ip-attribute.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/create-relationship-attribute.md b/docs/examples/1.5.x/server-ruby/examples/databases/create-relationship-attribute.md index a868dc0a1f..d80f19c8f8 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/create-relationship-attribute.md @@ -5,8 +5,8 @@ include Appwrite::Enums client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/create-string-attribute.md b/docs/examples/1.5.x/server-ruby/examples/databases/create-string-attribute.md index 6c8dfa3253..05f96cfb80 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/create-string-attribute.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/create-string-attribute.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/create-url-attribute.md b/docs/examples/1.5.x/server-ruby/examples/databases/create-url-attribute.md index e551d75c26..9f216d9125 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/create-url-attribute.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/create-url-attribute.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/create.md b/docs/examples/1.5.x/server-ruby/examples/databases/create.md index 020dba8c5e..3846e50a84 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/create.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/create.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/delete-attribute.md b/docs/examples/1.5.x/server-ruby/examples/databases/delete-attribute.md index d79757dc61..a352a73a19 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/delete-attribute.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/delete-attribute.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/delete-collection.md b/docs/examples/1.5.x/server-ruby/examples/databases/delete-collection.md index d6ff193a0a..1c0b961d2d 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/delete-collection.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/delete-collection.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/delete-document.md b/docs/examples/1.5.x/server-ruby/examples/databases/delete-document.md index 971d532eda..5195ea4efe 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/delete-document.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/delete-document.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with databases = Databases.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/delete-index.md b/docs/examples/1.5.x/server-ruby/examples/databases/delete-index.md index 5e8e666e12..e91770c338 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/delete-index.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/delete-index.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/delete.md b/docs/examples/1.5.x/server-ruby/examples/databases/delete.md index e142eff4a0..dbd5b559d7 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/delete.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/delete.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/get-attribute.md b/docs/examples/1.5.x/server-ruby/examples/databases/get-attribute.md index e6162e5861..94ed06a508 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/get-attribute.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/get-attribute.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/get-collection.md b/docs/examples/1.5.x/server-ruby/examples/databases/get-collection.md index 04f62a9e10..ff66336b85 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/get-collection.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/get-collection.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/get-document.md b/docs/examples/1.5.x/server-ruby/examples/databases/get-document.md index 406a8c20b7..bd0e4ec030 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/get-document.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/get-document.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with databases = Databases.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/get-index.md b/docs/examples/1.5.x/server-ruby/examples/databases/get-index.md index d2aebfc858..3042e1496f 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/get-index.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/get-index.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/get.md b/docs/examples/1.5.x/server-ruby/examples/databases/get.md index 0c1d3f3ede..cd8b777cce 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/get.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/get.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/list-attributes.md b/docs/examples/1.5.x/server-ruby/examples/databases/list-attributes.md index 7c39cde713..2a500a69e2 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/list-attributes.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/list-attributes.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/list-collections.md b/docs/examples/1.5.x/server-ruby/examples/databases/list-collections.md index 8d39c92be2..bac8095c1c 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/list-collections.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/list-collections.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/list-documents.md b/docs/examples/1.5.x/server-ruby/examples/databases/list-documents.md index 4dc7cb0d41..891e5345c8 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/list-documents.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/list-documents.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with databases = Databases.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/list-indexes.md b/docs/examples/1.5.x/server-ruby/examples/databases/list-indexes.md index 8d82d784e1..7f86bb77b1 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/list-indexes.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/list-indexes.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/list.md b/docs/examples/1.5.x/server-ruby/examples/databases/list.md index b96d2d677d..14c6fd1644 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/list.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/list.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/update-boolean-attribute.md b/docs/examples/1.5.x/server-ruby/examples/databases/update-boolean-attribute.md index c91eab7016..854848617b 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/update-boolean-attribute.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) @@ -14,5 +14,6 @@ result = databases.update_boolean_attribute( collection_id: '<COLLECTION_ID>', key: '', required: false, - default: false + default: false, + new_key: '' # optional ) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/update-collection.md b/docs/examples/1.5.x/server-ruby/examples/databases/update-collection.md index 9b3280ffde..9a1c73cb10 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/update-collection.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/update-collection.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/update-datetime-attribute.md b/docs/examples/1.5.x/server-ruby/examples/databases/update-datetime-attribute.md index 56827225b7..a7c8b32e9f 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/update-datetime-attribute.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) @@ -14,5 +14,6 @@ result = databases.update_datetime_attribute( collection_id: '<COLLECTION_ID>', key: '', required: false, - default: '' + default: '', + new_key: '' # optional ) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/update-document.md b/docs/examples/1.5.x/server-ruby/examples/databases/update-document.md index 3dcc969d91..dce09af140 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/update-document.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/update-document.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with databases = Databases.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/update-email-attribute.md b/docs/examples/1.5.x/server-ruby/examples/databases/update-email-attribute.md index d30a592fe3..9845f4bf4d 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/update-email-attribute.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/update-email-attribute.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) @@ -14,5 +14,6 @@ result = databases.update_email_attribute( collection_id: '<COLLECTION_ID>', key: '', required: false, - default: 'email@example.com' + default: 'email@example.com', + new_key: '' # optional ) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/update-enum-attribute.md b/docs/examples/1.5.x/server-ruby/examples/databases/update-enum-attribute.md index 870458b71c..6bc28c3759 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/update-enum-attribute.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) @@ -15,5 +15,6 @@ result = databases.update_enum_attribute( key: '', elements: [], required: false, - default: '<DEFAULT>' + default: '<DEFAULT>', + new_key: '' # optional ) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/update-float-attribute.md b/docs/examples/1.5.x/server-ruby/examples/databases/update-float-attribute.md index 5a1ded1ae2..241a6395a4 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/update-float-attribute.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/update-float-attribute.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) @@ -14,7 +14,8 @@ result = databases.update_float_attribute( collection_id: '<COLLECTION_ID>', key: '', required: false, - min: null, - max: null, - default: null + default: null, + min: null, # optional + max: null, # optional + new_key: '' # optional ) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/update-integer-attribute.md b/docs/examples/1.5.x/server-ruby/examples/databases/update-integer-attribute.md index 44e2540578..15e3960a96 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/update-integer-attribute.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) @@ -14,7 +14,8 @@ result = databases.update_integer_attribute( collection_id: '<COLLECTION_ID>', key: '', required: false, - min: null, - max: null, - default: null + default: null, + min: null, # optional + max: null, # optional + new_key: '' # optional ) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/update-ip-attribute.md b/docs/examples/1.5.x/server-ruby/examples/databases/update-ip-attribute.md index ddf841617b..b53719edd8 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/update-ip-attribute.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) @@ -14,5 +14,6 @@ result = databases.update_ip_attribute( collection_id: '<COLLECTION_ID>', key: '', required: false, - default: '' + default: '', + new_key: '' # optional ) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/update-relationship-attribute.md b/docs/examples/1.5.x/server-ruby/examples/databases/update-relationship-attribute.md index a13af6a044..2b9d72a93a 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/update-relationship-attribute.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) @@ -13,5 +13,6 @@ result = databases.update_relationship_attribute( database_id: '<DATABASE_ID>', collection_id: '<COLLECTION_ID>', key: '', - on_delete: RelationMutate::CASCADE # optional + on_delete: RelationMutate::CASCADE, # optional + new_key: '' # optional ) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/update-string-attribute.md b/docs/examples/1.5.x/server-ruby/examples/databases/update-string-attribute.md index d7fb983368..5e4ac573dc 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/update-string-attribute.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/update-string-attribute.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) @@ -14,5 +14,7 @@ result = databases.update_string_attribute( collection_id: '<COLLECTION_ID>', key: '', required: false, - default: '<DEFAULT>' + default: '<DEFAULT>', + size: 1, # optional + new_key: '' # optional ) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/update-url-attribute.md b/docs/examples/1.5.x/server-ruby/examples/databases/update-url-attribute.md index 28cdbe2c9c..4367107e95 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/update-url-attribute.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/update-url-attribute.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) @@ -14,5 +14,6 @@ result = databases.update_url_attribute( collection_id: '<COLLECTION_ID>', key: '', required: false, - default: 'https://example.com' + default: 'https://example.com', + new_key: '' # optional ) diff --git a/docs/examples/1.5.x/server-ruby/examples/databases/update.md b/docs/examples/1.5.x/server-ruby/examples/databases/update.md index a024d21154..eb5e42c399 100644 --- a/docs/examples/1.5.x/server-ruby/examples/databases/update.md +++ b/docs/examples/1.5.x/server-ruby/examples/databases/update.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/functions/create-build.md b/docs/examples/1.5.x/server-ruby/examples/functions/create-build.md index 313a49db75..031bf03d6b 100644 --- a/docs/examples/1.5.x/server-ruby/examples/functions/create-build.md +++ b/docs/examples/1.5.x/server-ruby/examples/functions/create-build.md @@ -4,13 +4,13 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions.new(client) result = functions.create_build( function_id: '<FUNCTION_ID>', deployment_id: '<DEPLOYMENT_ID>', - build_id: '<BUILD_ID>' + build_id: '<BUILD_ID>' # optional ) diff --git a/docs/examples/1.5.x/server-ruby/examples/functions/create-deployment.md b/docs/examples/1.5.x/server-ruby/examples/functions/create-deployment.md index 1465494820..8c0b3a58d8 100644 --- a/docs/examples/1.5.x/server-ruby/examples/functions/create-deployment.md +++ b/docs/examples/1.5.x/server-ruby/examples/functions/create-deployment.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/functions/create-execution.md b/docs/examples/1.5.x/server-ruby/examples/functions/create-execution.md index 920b26c86d..bda612c813 100644 --- a/docs/examples/1.5.x/server-ruby/examples/functions/create-execution.md +++ b/docs/examples/1.5.x/server-ruby/examples/functions/create-execution.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with functions = Functions.new(client) @@ -15,5 +15,6 @@ result = functions.create_execution( async: false, # optional path: '<PATH>', # optional method: ExecutionMethod::GET, # optional - headers: {} # optional + headers: {}, # optional + scheduled_at: '' # optional ) diff --git a/docs/examples/1.5.x/server-ruby/examples/functions/create-variable.md b/docs/examples/1.5.x/server-ruby/examples/functions/create-variable.md index 1d3b141f17..10fa86e4cc 100644 --- a/docs/examples/1.5.x/server-ruby/examples/functions/create-variable.md +++ b/docs/examples/1.5.x/server-ruby/examples/functions/create-variable.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/functions/create.md b/docs/examples/1.5.x/server-ruby/examples/functions/create.md index 51c4ac5cd3..9c0bf2911b 100644 --- a/docs/examples/1.5.x/server-ruby/examples/functions/create.md +++ b/docs/examples/1.5.x/server-ruby/examples/functions/create.md @@ -5,8 +5,8 @@ include Appwrite::Enums client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions.new(client) @@ -22,6 +22,7 @@ result = functions.create( logging: false, # optional entrypoint: '<ENTRYPOINT>', # optional commands: '<COMMANDS>', # optional + scopes: [], # optional installation_id: '<INSTALLATION_ID>', # optional provider_repository_id: '<PROVIDER_REPOSITORY_ID>', # optional provider_branch: '<PROVIDER_BRANCH>', # optional @@ -30,5 +31,6 @@ result = functions.create( template_repository: '<TEMPLATE_REPOSITORY>', # optional template_owner: '<TEMPLATE_OWNER>', # optional template_root_directory: '<TEMPLATE_ROOT_DIRECTORY>', # optional - template_branch: '<TEMPLATE_BRANCH>' # optional + template_version: '<TEMPLATE_VERSION>', # optional + specification: '' # optional ) diff --git a/docs/examples/1.5.x/server-ruby/examples/functions/delete-deployment.md b/docs/examples/1.5.x/server-ruby/examples/functions/delete-deployment.md index 4d6d58cd6b..642bf23b90 100644 --- a/docs/examples/1.5.x/server-ruby/examples/functions/delete-deployment.md +++ b/docs/examples/1.5.x/server-ruby/examples/functions/delete-deployment.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/functions/delete-execution.md b/docs/examples/1.5.x/server-ruby/examples/functions/delete-execution.md new file mode 100644 index 0000000000..bb91baa338 --- /dev/null +++ b/docs/examples/1.5.x/server-ruby/examples/functions/delete-execution.md @@ -0,0 +1,15 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key + +functions = Functions.new(client) + +result = functions.delete_execution( + function_id: '<FUNCTION_ID>', + execution_id: '<EXECUTION_ID>' +) diff --git a/docs/examples/1.5.x/server-ruby/examples/functions/delete-variable.md b/docs/examples/1.5.x/server-ruby/examples/functions/delete-variable.md index b1b7abc4e8..c36a58359e 100644 --- a/docs/examples/1.5.x/server-ruby/examples/functions/delete-variable.md +++ b/docs/examples/1.5.x/server-ruby/examples/functions/delete-variable.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/functions/delete.md b/docs/examples/1.5.x/server-ruby/examples/functions/delete.md index 82737b01b8..787692accc 100644 --- a/docs/examples/1.5.x/server-ruby/examples/functions/delete.md +++ b/docs/examples/1.5.x/server-ruby/examples/functions/delete.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/functions/download-deployment.md b/docs/examples/1.5.x/server-ruby/examples/functions/download-deployment.md index 98f2cdd7b2..f31c13ec9d 100644 --- a/docs/examples/1.5.x/server-ruby/examples/functions/download-deployment.md +++ b/docs/examples/1.5.x/server-ruby/examples/functions/download-deployment.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.5.x/server-ruby/examples/functions/get-deployment-download.md b/docs/examples/1.5.x/server-ruby/examples/functions/get-deployment-download.md new file mode 100644 index 0000000000..01db87c754 --- /dev/null +++ b/docs/examples/1.5.x/server-ruby/examples/functions/get-deployment-download.md @@ -0,0 +1,15 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key + +functions = Functions.new(client) + +result = functions.get_deployment_download( + function_id: '<FUNCTION_ID>', + deployment_id: '<DEPLOYMENT_ID>' +) diff --git a/docs/examples/1.5.x/server-ruby/examples/functions/get-deployment.md b/docs/examples/1.5.x/server-ruby/examples/functions/get-deployment.md index 51beea92a9..b6baee4910 100644 --- a/docs/examples/1.5.x/server-ruby/examples/functions/get-deployment.md +++ b/docs/examples/1.5.x/server-ruby/examples/functions/get-deployment.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/functions/get-execution.md b/docs/examples/1.5.x/server-ruby/examples/functions/get-execution.md index 6ddf923d24..6b19e4e65b 100644 --- a/docs/examples/1.5.x/server-ruby/examples/functions/get-execution.md +++ b/docs/examples/1.5.x/server-ruby/examples/functions/get-execution.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with functions = Functions.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/functions/get-variable.md b/docs/examples/1.5.x/server-ruby/examples/functions/get-variable.md index f84a46e42b..30d6a0009d 100644 --- a/docs/examples/1.5.x/server-ruby/examples/functions/get-variable.md +++ b/docs/examples/1.5.x/server-ruby/examples/functions/get-variable.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/functions/get.md b/docs/examples/1.5.x/server-ruby/examples/functions/get.md index 7248bac3e7..c2d63deb77 100644 --- a/docs/examples/1.5.x/server-ruby/examples/functions/get.md +++ b/docs/examples/1.5.x/server-ruby/examples/functions/get.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/functions/list-deployments.md b/docs/examples/1.5.x/server-ruby/examples/functions/list-deployments.md index 72532e34ad..7db9d45c01 100644 --- a/docs/examples/1.5.x/server-ruby/examples/functions/list-deployments.md +++ b/docs/examples/1.5.x/server-ruby/examples/functions/list-deployments.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/functions/list-executions.md b/docs/examples/1.5.x/server-ruby/examples/functions/list-executions.md index 7f1c147840..159c78dbde 100644 --- a/docs/examples/1.5.x/server-ruby/examples/functions/list-executions.md +++ b/docs/examples/1.5.x/server-ruby/examples/functions/list-executions.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with functions = Functions.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/functions/list-runtimes.md b/docs/examples/1.5.x/server-ruby/examples/functions/list-runtimes.md index 431ba11d1e..938fcf7552 100644 --- a/docs/examples/1.5.x/server-ruby/examples/functions/list-runtimes.md +++ b/docs/examples/1.5.x/server-ruby/examples/functions/list-runtimes.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/functions/list-specifications.md b/docs/examples/1.5.x/server-ruby/examples/functions/list-specifications.md new file mode 100644 index 0000000000..2ccd05e3fd --- /dev/null +++ b/docs/examples/1.5.x/server-ruby/examples/functions/list-specifications.md @@ -0,0 +1,12 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key + +functions = Functions.new(client) + +result = functions.list_specifications() diff --git a/docs/examples/1.5.x/server-ruby/examples/functions/list-variables.md b/docs/examples/1.5.x/server-ruby/examples/functions/list-variables.md index a229353500..6159bf102b 100644 --- a/docs/examples/1.5.x/server-ruby/examples/functions/list-variables.md +++ b/docs/examples/1.5.x/server-ruby/examples/functions/list-variables.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/functions/list.md b/docs/examples/1.5.x/server-ruby/examples/functions/list.md index 06336138c7..a49034d051 100644 --- a/docs/examples/1.5.x/server-ruby/examples/functions/list.md +++ b/docs/examples/1.5.x/server-ruby/examples/functions/list.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/functions/update-deployment-build.md b/docs/examples/1.5.x/server-ruby/examples/functions/update-deployment-build.md new file mode 100644 index 0000000000..5164aebd6e --- /dev/null +++ b/docs/examples/1.5.x/server-ruby/examples/functions/update-deployment-build.md @@ -0,0 +1,15 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key + +functions = Functions.new(client) + +result = functions.update_deployment_build( + function_id: '<FUNCTION_ID>', + deployment_id: '<DEPLOYMENT_ID>' +) diff --git a/docs/examples/1.5.x/server-ruby/examples/functions/update-deployment.md b/docs/examples/1.5.x/server-ruby/examples/functions/update-deployment.md index ef40373517..862e86d2a6 100644 --- a/docs/examples/1.5.x/server-ruby/examples/functions/update-deployment.md +++ b/docs/examples/1.5.x/server-ruby/examples/functions/update-deployment.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/functions/update-variable.md b/docs/examples/1.5.x/server-ruby/examples/functions/update-variable.md index 77db1b940a..6ac47f80dc 100644 --- a/docs/examples/1.5.x/server-ruby/examples/functions/update-variable.md +++ b/docs/examples/1.5.x/server-ruby/examples/functions/update-variable.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/functions/update.md b/docs/examples/1.5.x/server-ruby/examples/functions/update.md index d258dc30d7..8f5cafdb55 100644 --- a/docs/examples/1.5.x/server-ruby/examples/functions/update.md +++ b/docs/examples/1.5.x/server-ruby/examples/functions/update.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions.new(client) @@ -21,9 +21,11 @@ result = functions.update( logging: false, # optional entrypoint: '<ENTRYPOINT>', # optional commands: '<COMMANDS>', # optional + scopes: [], # optional installation_id: '<INSTALLATION_ID>', # optional provider_repository_id: '<PROVIDER_REPOSITORY_ID>', # optional provider_branch: '<PROVIDER_BRANCH>', # optional provider_silent_mode: false, # optional - provider_root_directory: '<PROVIDER_ROOT_DIRECTORY>' # optional + provider_root_directory: '<PROVIDER_ROOT_DIRECTORY>', # optional + specification: '' # optional ) diff --git a/docs/examples/1.5.x/server-ruby/examples/graphql/mutation.md b/docs/examples/1.5.x/server-ruby/examples/graphql/mutation.md index 0a744c9ca5..7daf975ea6 100644 --- a/docs/examples/1.5.x/server-ruby/examples/graphql/mutation.md +++ b/docs/examples/1.5.x/server-ruby/examples/graphql/mutation.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key graphql = Graphql.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/graphql/query.md b/docs/examples/1.5.x/server-ruby/examples/graphql/query.md index 1606e365f3..0825bdea46 100644 --- a/docs/examples/1.5.x/server-ruby/examples/graphql/query.md +++ b/docs/examples/1.5.x/server-ruby/examples/graphql/query.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key graphql = Graphql.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/health/get-antivirus.md b/docs/examples/1.5.x/server-ruby/examples/health/get-antivirus.md index e8f84fb705..5112507656 100644 --- a/docs/examples/1.5.x/server-ruby/examples/health/get-antivirus.md +++ b/docs/examples/1.5.x/server-ruby/examples/health/get-antivirus.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key health = Health.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/health/get-cache.md b/docs/examples/1.5.x/server-ruby/examples/health/get-cache.md index 5a6c7c2661..5493b757be 100644 --- a/docs/examples/1.5.x/server-ruby/examples/health/get-cache.md +++ b/docs/examples/1.5.x/server-ruby/examples/health/get-cache.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key health = Health.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/health/get-certificate.md b/docs/examples/1.5.x/server-ruby/examples/health/get-certificate.md index 68fe88c88e..dcfcb6afb7 100644 --- a/docs/examples/1.5.x/server-ruby/examples/health/get-certificate.md +++ b/docs/examples/1.5.x/server-ruby/examples/health/get-certificate.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key health = Health.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/health/get-d-b.md b/docs/examples/1.5.x/server-ruby/examples/health/get-d-b.md index 716bca7e5f..a707a14ada 100644 --- a/docs/examples/1.5.x/server-ruby/examples/health/get-d-b.md +++ b/docs/examples/1.5.x/server-ruby/examples/health/get-d-b.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key health = Health.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/health/get-failed-jobs.md b/docs/examples/1.5.x/server-ruby/examples/health/get-failed-jobs.md index 78b7e88b47..da41856b40 100644 --- a/docs/examples/1.5.x/server-ruby/examples/health/get-failed-jobs.md +++ b/docs/examples/1.5.x/server-ruby/examples/health/get-failed-jobs.md @@ -5,8 +5,8 @@ include Appwrite::Enums client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key health = Health.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/health/get-pub-sub.md b/docs/examples/1.5.x/server-ruby/examples/health/get-pub-sub.md index 35029bc810..4d86e06ea2 100644 --- a/docs/examples/1.5.x/server-ruby/examples/health/get-pub-sub.md +++ b/docs/examples/1.5.x/server-ruby/examples/health/get-pub-sub.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key health = Health.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/health/get-queue-builds.md b/docs/examples/1.5.x/server-ruby/examples/health/get-queue-builds.md index 609c008827..bb002f8b39 100644 --- a/docs/examples/1.5.x/server-ruby/examples/health/get-queue-builds.md +++ b/docs/examples/1.5.x/server-ruby/examples/health/get-queue-builds.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key health = Health.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/health/get-queue-certificates.md b/docs/examples/1.5.x/server-ruby/examples/health/get-queue-certificates.md index 8cc69a14cc..59572f94f3 100644 --- a/docs/examples/1.5.x/server-ruby/examples/health/get-queue-certificates.md +++ b/docs/examples/1.5.x/server-ruby/examples/health/get-queue-certificates.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key health = Health.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/health/get-queue-databases.md b/docs/examples/1.5.x/server-ruby/examples/health/get-queue-databases.md index e6c6e9dc50..e09233bc34 100644 --- a/docs/examples/1.5.x/server-ruby/examples/health/get-queue-databases.md +++ b/docs/examples/1.5.x/server-ruby/examples/health/get-queue-databases.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key health = Health.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/health/get-queue-deletes.md b/docs/examples/1.5.x/server-ruby/examples/health/get-queue-deletes.md index f2f273833e..184c13421c 100644 --- a/docs/examples/1.5.x/server-ruby/examples/health/get-queue-deletes.md +++ b/docs/examples/1.5.x/server-ruby/examples/health/get-queue-deletes.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key health = Health.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/health/get-queue-functions.md b/docs/examples/1.5.x/server-ruby/examples/health/get-queue-functions.md index 1da04f82c9..b44b7b8983 100644 --- a/docs/examples/1.5.x/server-ruby/examples/health/get-queue-functions.md +++ b/docs/examples/1.5.x/server-ruby/examples/health/get-queue-functions.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key health = Health.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/health/get-queue-logs.md b/docs/examples/1.5.x/server-ruby/examples/health/get-queue-logs.md index 87dc2e0306..dd3f8759c3 100644 --- a/docs/examples/1.5.x/server-ruby/examples/health/get-queue-logs.md +++ b/docs/examples/1.5.x/server-ruby/examples/health/get-queue-logs.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key health = Health.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/health/get-queue-mails.md b/docs/examples/1.5.x/server-ruby/examples/health/get-queue-mails.md index 2eb19cef2e..ce7c40587b 100644 --- a/docs/examples/1.5.x/server-ruby/examples/health/get-queue-mails.md +++ b/docs/examples/1.5.x/server-ruby/examples/health/get-queue-mails.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key health = Health.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/health/get-queue-messaging.md b/docs/examples/1.5.x/server-ruby/examples/health/get-queue-messaging.md index 27d2aca3e7..842da5bdd0 100644 --- a/docs/examples/1.5.x/server-ruby/examples/health/get-queue-messaging.md +++ b/docs/examples/1.5.x/server-ruby/examples/health/get-queue-messaging.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key health = Health.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/health/get-queue-migrations.md b/docs/examples/1.5.x/server-ruby/examples/health/get-queue-migrations.md index 4125bb99ee..3349291ff8 100644 --- a/docs/examples/1.5.x/server-ruby/examples/health/get-queue-migrations.md +++ b/docs/examples/1.5.x/server-ruby/examples/health/get-queue-migrations.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key health = Health.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/health/get-queue-stats-resources.md b/docs/examples/1.5.x/server-ruby/examples/health/get-queue-stats-resources.md new file mode 100644 index 0000000000..9796195c40 --- /dev/null +++ b/docs/examples/1.5.x/server-ruby/examples/health/get-queue-stats-resources.md @@ -0,0 +1,14 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key + +health = Health.new(client) + +result = health.get_queue_stats_resources( + threshold: null # optional +) diff --git a/docs/examples/1.5.x/server-ruby/examples/health/get-queue-usage-dump.md b/docs/examples/1.5.x/server-ruby/examples/health/get-queue-usage-dump.md index 2363018227..6cc915cbe7 100644 --- a/docs/examples/1.5.x/server-ruby/examples/health/get-queue-usage-dump.md +++ b/docs/examples/1.5.x/server-ruby/examples/health/get-queue-usage-dump.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.5.x/server-ruby/examples/health/get-queue-usage.md b/docs/examples/1.5.x/server-ruby/examples/health/get-queue-usage.md index 414bd10268..b1d17042e7 100644 --- a/docs/examples/1.5.x/server-ruby/examples/health/get-queue-usage.md +++ b/docs/examples/1.5.x/server-ruby/examples/health/get-queue-usage.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key health = Health.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/health/get-queue-webhooks.md b/docs/examples/1.5.x/server-ruby/examples/health/get-queue-webhooks.md index 207039b13c..982e244bbb 100644 --- a/docs/examples/1.5.x/server-ruby/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.5.x/server-ruby/examples/health/get-queue-webhooks.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key health = Health.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/health/get-queue.md b/docs/examples/1.5.x/server-ruby/examples/health/get-queue.md index ef9e783733..1eb1399b66 100644 --- a/docs/examples/1.5.x/server-ruby/examples/health/get-queue.md +++ b/docs/examples/1.5.x/server-ruby/examples/health/get-queue.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.5.x/server-ruby/examples/health/get-storage-local.md b/docs/examples/1.5.x/server-ruby/examples/health/get-storage-local.md index 6a4a5f9b63..8a04f77b9b 100644 --- a/docs/examples/1.5.x/server-ruby/examples/health/get-storage-local.md +++ b/docs/examples/1.5.x/server-ruby/examples/health/get-storage-local.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key health = Health.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/health/get-storage.md b/docs/examples/1.5.x/server-ruby/examples/health/get-storage.md index c5305dd35d..6a5dfa97e4 100644 --- a/docs/examples/1.5.x/server-ruby/examples/health/get-storage.md +++ b/docs/examples/1.5.x/server-ruby/examples/health/get-storage.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key health = Health.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/health/get-time.md b/docs/examples/1.5.x/server-ruby/examples/health/get-time.md index 0eedfd4cd4..9e95c2332e 100644 --- a/docs/examples/1.5.x/server-ruby/examples/health/get-time.md +++ b/docs/examples/1.5.x/server-ruby/examples/health/get-time.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key health = Health.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/health/get.md b/docs/examples/1.5.x/server-ruby/examples/health/get.md index 9ab56f1c5e..5c82e66ce2 100644 --- a/docs/examples/1.5.x/server-ruby/examples/health/get.md +++ b/docs/examples/1.5.x/server-ruby/examples/health/get.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key health = Health.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/locale/get.md b/docs/examples/1.5.x/server-ruby/examples/locale/get.md index 3bba39add9..d3a982d043 100644 --- a/docs/examples/1.5.x/server-ruby/examples/locale/get.md +++ b/docs/examples/1.5.x/server-ruby/examples/locale/get.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with locale = Locale.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/locale/list-codes.md b/docs/examples/1.5.x/server-ruby/examples/locale/list-codes.md index 30ddf1fbab..74a41b9524 100644 --- a/docs/examples/1.5.x/server-ruby/examples/locale/list-codes.md +++ b/docs/examples/1.5.x/server-ruby/examples/locale/list-codes.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with locale = Locale.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/locale/list-continents.md b/docs/examples/1.5.x/server-ruby/examples/locale/list-continents.md index cedb505773..312936104c 100644 --- a/docs/examples/1.5.x/server-ruby/examples/locale/list-continents.md +++ b/docs/examples/1.5.x/server-ruby/examples/locale/list-continents.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with locale = Locale.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/locale/list-countries-e-u.md b/docs/examples/1.5.x/server-ruby/examples/locale/list-countries-e-u.md index 17101e78cb..9b19151d11 100644 --- a/docs/examples/1.5.x/server-ruby/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.5.x/server-ruby/examples/locale/list-countries-e-u.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with locale = Locale.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/locale/list-countries-phones.md b/docs/examples/1.5.x/server-ruby/examples/locale/list-countries-phones.md index b03b1a93b6..c011734ae1 100644 --- a/docs/examples/1.5.x/server-ruby/examples/locale/list-countries-phones.md +++ b/docs/examples/1.5.x/server-ruby/examples/locale/list-countries-phones.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with locale = Locale.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/locale/list-countries.md b/docs/examples/1.5.x/server-ruby/examples/locale/list-countries.md index 5de35adbe3..4884f6a681 100644 --- a/docs/examples/1.5.x/server-ruby/examples/locale/list-countries.md +++ b/docs/examples/1.5.x/server-ruby/examples/locale/list-countries.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with locale = Locale.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/locale/list-currencies.md b/docs/examples/1.5.x/server-ruby/examples/locale/list-currencies.md index 4323fe7337..3dcfb703db 100644 --- a/docs/examples/1.5.x/server-ruby/examples/locale/list-currencies.md +++ b/docs/examples/1.5.x/server-ruby/examples/locale/list-currencies.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with locale = Locale.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/locale/list-languages.md b/docs/examples/1.5.x/server-ruby/examples/locale/list-languages.md index 025dffa952..3d9a2dbc9c 100644 --- a/docs/examples/1.5.x/server-ruby/examples/locale/list-languages.md +++ b/docs/examples/1.5.x/server-ruby/examples/locale/list-languages.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with locale = Locale.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/create-a-p-n-s-provider.md b/docs/examples/1.5.x/server-ruby/examples/messaging/create-a-p-n-s-provider.md index 3d9425415d..770125e936 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/create-a-p-n-s-provider.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/create-a-p-n-s-provider.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/create-apns-provider.md b/docs/examples/1.5.x/server-ruby/examples/messaging/create-apns-provider.md index 3f9e84a780..88988f6e43 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/create-apns-provider.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/create-apns-provider.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/create-email.md b/docs/examples/1.5.x/server-ruby/examples/messaging/create-email.md index 1f46f01e5a..c64cf5f284 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/create-email.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/create-email.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/create-f-c-m-provider.md b/docs/examples/1.5.x/server-ruby/examples/messaging/create-f-c-m-provider.md index 9552da9aa5..2e727936b7 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/create-f-c-m-provider.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/create-f-c-m-provider.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/create-fcm-provider.md b/docs/examples/1.5.x/server-ruby/examples/messaging/create-fcm-provider.md index 3aa3e4eae5..1c23df81f7 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/create-fcm-provider.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/create-fcm-provider.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/create-mailgun-provider.md b/docs/examples/1.5.x/server-ruby/examples/messaging/create-mailgun-provider.md index 5f9608c435..3c8a574d6e 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/create-mailgun-provider.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/create-mailgun-provider.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/create-msg91provider.md b/docs/examples/1.5.x/server-ruby/examples/messaging/create-msg91provider.md index 951b3bffcc..7037f00d0e 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/create-msg91provider.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/create-msg91provider.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/create-push.md b/docs/examples/1.5.x/server-ruby/examples/messaging/create-push.md index 26c29c59de..61663f4dc0 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/create-push.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/create-push.md @@ -4,15 +4,15 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) result = messaging.create_push( message_id: '<MESSAGE_ID>', - title: '<TITLE>', - body: '<BODY>', + title: '<TITLE>', # optional + body: '<BODY>', # optional topics: [], # optional users: [], # optional targets: [], # optional @@ -23,7 +23,10 @@ result = messaging.create_push( sound: '<SOUND>', # optional color: '<COLOR>', # optional tag: '<TAG>', # optional - badge: '<BADGE>', # optional + badge: null, # optional draft: false, # optional - scheduled_at: '' # optional + scheduled_at: '', # optional + content_available: false, # optional + critical: false, # optional + priority: MessagePriority::NORMAL # optional ) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/create-s-m-s.md b/docs/examples/1.5.x/server-ruby/examples/messaging/create-s-m-s.md index 012095ab84..d73887837c 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/create-s-m-s.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/create-s-m-s.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/create-s-m-t-p-provider.md b/docs/examples/1.5.x/server-ruby/examples/messaging/create-s-m-t-p-provider.md index 601663bc8c..8b3d556596 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/create-s-m-t-p-provider.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/create-s-m-t-p-provider.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/create-sendgrid-provider.md b/docs/examples/1.5.x/server-ruby/examples/messaging/create-sendgrid-provider.md index 11831f145f..e9c31548d4 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/create-sendgrid-provider.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/create-sendgrid-provider.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/create-sms.md b/docs/examples/1.5.x/server-ruby/examples/messaging/create-sms.md index bc25191c91..58a96aa477 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/create-sms.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/create-sms.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/create-smtp-provider.md b/docs/examples/1.5.x/server-ruby/examples/messaging/create-smtp-provider.md index 02ae76d575..cbdaaaf8b5 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/create-smtp-provider.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/create-smtp-provider.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/create-subscriber.md b/docs/examples/1.5.x/server-ruby/examples/messaging/create-subscriber.md index 1fc7a5abab..973349084f 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/create-subscriber.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/create-subscriber.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_jwt('<YOUR_JWT>') # Your secret JSON Web Token messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/create-telesign-provider.md b/docs/examples/1.5.x/server-ruby/examples/messaging/create-telesign-provider.md index 727369329f..40c60a793c 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/create-telesign-provider.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/create-telesign-provider.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/create-textmagic-provider.md b/docs/examples/1.5.x/server-ruby/examples/messaging/create-textmagic-provider.md index 6f8025bd1c..804f0b2c86 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/create-textmagic-provider.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/create-textmagic-provider.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/create-topic.md b/docs/examples/1.5.x/server-ruby/examples/messaging/create-topic.md index 0a290f9d85..f1f29c9962 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/create-topic.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/create-topic.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/create-twilio-provider.md b/docs/examples/1.5.x/server-ruby/examples/messaging/create-twilio-provider.md index 44c51c4870..1350b8535a 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/create-twilio-provider.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/create-twilio-provider.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/create-vonage-provider.md b/docs/examples/1.5.x/server-ruby/examples/messaging/create-vonage-provider.md index 2efe730a09..c1c83a4b0b 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/create-vonage-provider.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/create-vonage-provider.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/delete-provider.md b/docs/examples/1.5.x/server-ruby/examples/messaging/delete-provider.md index 47521cd37a..86c9ae1473 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/delete-provider.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/delete-provider.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/delete-subscriber.md b/docs/examples/1.5.x/server-ruby/examples/messaging/delete-subscriber.md index 834a6b335c..5606269d53 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/delete-subscriber.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/delete-subscriber.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_jwt('<YOUR_JWT>') # Your secret JSON Web Token messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/delete-topic.md b/docs/examples/1.5.x/server-ruby/examples/messaging/delete-topic.md index 14772d3774..d850662194 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/delete-topic.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/delete-topic.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/delete.md b/docs/examples/1.5.x/server-ruby/examples/messaging/delete.md index 3aafc876d1..1155406f81 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/delete.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/delete.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/get-message.md b/docs/examples/1.5.x/server-ruby/examples/messaging/get-message.md index 72e3614ef8..8b7ffad012 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/get-message.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/get-message.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/get-provider.md b/docs/examples/1.5.x/server-ruby/examples/messaging/get-provider.md index 1d25b0199a..3da5beb468 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/get-provider.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/get-provider.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/get-subscriber.md b/docs/examples/1.5.x/server-ruby/examples/messaging/get-subscriber.md index 45b12de176..278aba08d2 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/get-subscriber.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/get-subscriber.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/get-topic.md b/docs/examples/1.5.x/server-ruby/examples/messaging/get-topic.md index 62a6e30fe8..ec58550f23 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/get-topic.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/get-topic.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/list-message-logs.md b/docs/examples/1.5.x/server-ruby/examples/messaging/list-message-logs.md index 581f0f2ab3..7db1381d84 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/list-message-logs.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/list-message-logs.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/list-messages.md b/docs/examples/1.5.x/server-ruby/examples/messaging/list-messages.md index 8ef429805e..07fc3fcc9b 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/list-messages.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/list-messages.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/list-provider-logs.md b/docs/examples/1.5.x/server-ruby/examples/messaging/list-provider-logs.md index 03df3ad2cd..fda60b669a 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/list-provider-logs.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/list-provider-logs.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/list-providers.md b/docs/examples/1.5.x/server-ruby/examples/messaging/list-providers.md index 1afab7d165..43f4a213f5 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/list-providers.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/list-providers.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/list-subscriber-logs.md b/docs/examples/1.5.x/server-ruby/examples/messaging/list-subscriber-logs.md index e131f59c7d..5be2900cb6 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/list-subscriber-logs.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/list-subscriber-logs.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/list-subscribers.md b/docs/examples/1.5.x/server-ruby/examples/messaging/list-subscribers.md index e033939311..6583f9300e 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/list-subscribers.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/list-subscribers.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/list-targets.md b/docs/examples/1.5.x/server-ruby/examples/messaging/list-targets.md index d763add908..7354fc54b6 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/list-targets.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/list-targets.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/list-topic-logs.md b/docs/examples/1.5.x/server-ruby/examples/messaging/list-topic-logs.md index 903006a76d..fb1f0e21b3 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/list-topic-logs.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/list-topic-logs.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/list-topics.md b/docs/examples/1.5.x/server-ruby/examples/messaging/list-topics.md index b5351bd52c..c00b8f1731 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/list-topics.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/list-topics.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/update-a-p-n-s-provider.md b/docs/examples/1.5.x/server-ruby/examples/messaging/update-a-p-n-s-provider.md index 3c59e90b48..cf9a52d51b 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/update-a-p-n-s-provider.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/update-a-p-n-s-provider.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/update-apns-provider.md b/docs/examples/1.5.x/server-ruby/examples/messaging/update-apns-provider.md index db12c14d59..e1748e6d88 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/update-apns-provider.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/update-apns-provider.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/update-email.md b/docs/examples/1.5.x/server-ruby/examples/messaging/update-email.md index a692c55402..baae0f9462 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/update-email.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/update-email.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/update-f-c-m-provider.md b/docs/examples/1.5.x/server-ruby/examples/messaging/update-f-c-m-provider.md index e398b701c2..2a29665825 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/update-f-c-m-provider.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/update-f-c-m-provider.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/update-fcm-provider.md b/docs/examples/1.5.x/server-ruby/examples/messaging/update-fcm-provider.md index 6660826b70..463e028d5a 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/update-fcm-provider.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/update-fcm-provider.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/update-mailgun-provider.md b/docs/examples/1.5.x/server-ruby/examples/messaging/update-mailgun-provider.md index f5aee1ddc1..38f741749b 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/update-mailgun-provider.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/update-mailgun-provider.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/update-msg91provider.md b/docs/examples/1.5.x/server-ruby/examples/messaging/update-msg91provider.md index a8adc2d8ac..b58c04f494 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/update-msg91provider.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/update-msg91provider.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/update-push.md b/docs/examples/1.5.x/server-ruby/examples/messaging/update-push.md index 55e0f2d18d..6bf9fcaa79 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/update-push.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/update-push.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) @@ -25,5 +25,8 @@ result = messaging.update_push( tag: '<TAG>', # optional badge: null, # optional draft: false, # optional - scheduled_at: '' # optional + scheduled_at: '', # optional + content_available: false, # optional + critical: false, # optional + priority: MessagePriority::NORMAL # optional ) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/update-s-m-s.md b/docs/examples/1.5.x/server-ruby/examples/messaging/update-s-m-s.md index cf0114115e..6e3f2611b9 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/update-s-m-s.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/update-s-m-s.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/update-s-m-t-p-provider.md b/docs/examples/1.5.x/server-ruby/examples/messaging/update-s-m-t-p-provider.md index 51b2a7a0ef..508be6e93e 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/update-s-m-t-p-provider.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/update-s-m-t-p-provider.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/update-sendgrid-provider.md b/docs/examples/1.5.x/server-ruby/examples/messaging/update-sendgrid-provider.md index cb3f597937..afa2c172f7 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/update-sendgrid-provider.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/update-sendgrid-provider.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/update-sms.md b/docs/examples/1.5.x/server-ruby/examples/messaging/update-sms.md index fc520cd97f..31adae7aa2 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/update-sms.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/update-sms.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/update-smtp-provider.md b/docs/examples/1.5.x/server-ruby/examples/messaging/update-smtp-provider.md index 14b5d98475..00c6d57c0e 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/update-smtp-provider.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/update-smtp-provider.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/update-telesign-provider.md b/docs/examples/1.5.x/server-ruby/examples/messaging/update-telesign-provider.md index 6dcd3fb927..1d530f07b6 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/update-telesign-provider.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/update-telesign-provider.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/update-textmagic-provider.md b/docs/examples/1.5.x/server-ruby/examples/messaging/update-textmagic-provider.md index a3c3d5cb70..e4e7a42d70 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/update-textmagic-provider.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/update-textmagic-provider.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/update-topic.md b/docs/examples/1.5.x/server-ruby/examples/messaging/update-topic.md index 6eb8dc8449..c944fb4ab6 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/update-topic.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/update-topic.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/update-twilio-provider.md b/docs/examples/1.5.x/server-ruby/examples/messaging/update-twilio-provider.md index 5f1cdb8cf8..8203054f59 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/update-twilio-provider.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/update-twilio-provider.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/messaging/update-vonage-provider.md b/docs/examples/1.5.x/server-ruby/examples/messaging/update-vonage-provider.md index 83a788c62b..01d7fe12de 100644 --- a/docs/examples/1.5.x/server-ruby/examples/messaging/update-vonage-provider.md +++ b/docs/examples/1.5.x/server-ruby/examples/messaging/update-vonage-provider.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/storage/create-bucket.md b/docs/examples/1.5.x/server-ruby/examples/storage/create-bucket.md index 385641f285..a6bb22cc5a 100644 --- a/docs/examples/1.5.x/server-ruby/examples/storage/create-bucket.md +++ b/docs/examples/1.5.x/server-ruby/examples/storage/create-bucket.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key storage = Storage.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/storage/create-file.md b/docs/examples/1.5.x/server-ruby/examples/storage/create-file.md index 13fe655460..c6f3e266a9 100644 --- a/docs/examples/1.5.x/server-ruby/examples/storage/create-file.md +++ b/docs/examples/1.5.x/server-ruby/examples/storage/create-file.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with storage = Storage.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/storage/delete-bucket.md b/docs/examples/1.5.x/server-ruby/examples/storage/delete-bucket.md index a91f458753..37d504cdc3 100644 --- a/docs/examples/1.5.x/server-ruby/examples/storage/delete-bucket.md +++ b/docs/examples/1.5.x/server-ruby/examples/storage/delete-bucket.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key storage = Storage.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/storage/delete-file.md b/docs/examples/1.5.x/server-ruby/examples/storage/delete-file.md index 5b369f18d9..74bd8df8a8 100644 --- a/docs/examples/1.5.x/server-ruby/examples/storage/delete-file.md +++ b/docs/examples/1.5.x/server-ruby/examples/storage/delete-file.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with storage = Storage.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/storage/get-bucket.md b/docs/examples/1.5.x/server-ruby/examples/storage/get-bucket.md index 7e8049c763..158fc300b0 100644 --- a/docs/examples/1.5.x/server-ruby/examples/storage/get-bucket.md +++ b/docs/examples/1.5.x/server-ruby/examples/storage/get-bucket.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key storage = Storage.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/storage/get-file-download.md b/docs/examples/1.5.x/server-ruby/examples/storage/get-file-download.md index 8f1c4d2685..86efd7c609 100644 --- a/docs/examples/1.5.x/server-ruby/examples/storage/get-file-download.md +++ b/docs/examples/1.5.x/server-ruby/examples/storage/get-file-download.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with storage = Storage.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/storage/get-file-preview.md b/docs/examples/1.5.x/server-ruby/examples/storage/get-file-preview.md index bb47d0a37b..2babfbd856 100644 --- a/docs/examples/1.5.x/server-ruby/examples/storage/get-file-preview.md +++ b/docs/examples/1.5.x/server-ruby/examples/storage/get-file-preview.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with storage = Storage.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/storage/get-file-view.md b/docs/examples/1.5.x/server-ruby/examples/storage/get-file-view.md index a438659470..b6b0c560bb 100644 --- a/docs/examples/1.5.x/server-ruby/examples/storage/get-file-view.md +++ b/docs/examples/1.5.x/server-ruby/examples/storage/get-file-view.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with storage = Storage.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/storage/get-file.md b/docs/examples/1.5.x/server-ruby/examples/storage/get-file.md index cb1705a3e4..76bcca4483 100644 --- a/docs/examples/1.5.x/server-ruby/examples/storage/get-file.md +++ b/docs/examples/1.5.x/server-ruby/examples/storage/get-file.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with storage = Storage.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/storage/list-buckets.md b/docs/examples/1.5.x/server-ruby/examples/storage/list-buckets.md index 56cee3ac7f..73cf40ed4f 100644 --- a/docs/examples/1.5.x/server-ruby/examples/storage/list-buckets.md +++ b/docs/examples/1.5.x/server-ruby/examples/storage/list-buckets.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key storage = Storage.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/storage/list-files.md b/docs/examples/1.5.x/server-ruby/examples/storage/list-files.md index e8776f168a..0ce09d8c15 100644 --- a/docs/examples/1.5.x/server-ruby/examples/storage/list-files.md +++ b/docs/examples/1.5.x/server-ruby/examples/storage/list-files.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with storage = Storage.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/storage/update-bucket.md b/docs/examples/1.5.x/server-ruby/examples/storage/update-bucket.md index 87491d0628..3db084deff 100644 --- a/docs/examples/1.5.x/server-ruby/examples/storage/update-bucket.md +++ b/docs/examples/1.5.x/server-ruby/examples/storage/update-bucket.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key storage = Storage.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/storage/update-file.md b/docs/examples/1.5.x/server-ruby/examples/storage/update-file.md index 6d3a93c40a..ed50e9c908 100644 --- a/docs/examples/1.5.x/server-ruby/examples/storage/update-file.md +++ b/docs/examples/1.5.x/server-ruby/examples/storage/update-file.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with storage = Storage.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/teams/create-membership.md b/docs/examples/1.5.x/server-ruby/examples/teams/create-membership.md index cce792959d..1990223142 100644 --- a/docs/examples/1.5.x/server-ruby/examples/teams/create-membership.md +++ b/docs/examples/1.5.x/server-ruby/examples/teams/create-membership.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with teams = Teams.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/teams/create.md b/docs/examples/1.5.x/server-ruby/examples/teams/create.md index b6fca1c3d9..e462cf4277 100644 --- a/docs/examples/1.5.x/server-ruby/examples/teams/create.md +++ b/docs/examples/1.5.x/server-ruby/examples/teams/create.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with teams = Teams.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/teams/delete-membership.md b/docs/examples/1.5.x/server-ruby/examples/teams/delete-membership.md index d02bacd767..4dc3397592 100644 --- a/docs/examples/1.5.x/server-ruby/examples/teams/delete-membership.md +++ b/docs/examples/1.5.x/server-ruby/examples/teams/delete-membership.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with teams = Teams.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/teams/delete.md b/docs/examples/1.5.x/server-ruby/examples/teams/delete.md index 6c8931bd3b..f4879ba422 100644 --- a/docs/examples/1.5.x/server-ruby/examples/teams/delete.md +++ b/docs/examples/1.5.x/server-ruby/examples/teams/delete.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with teams = Teams.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/teams/get-membership.md b/docs/examples/1.5.x/server-ruby/examples/teams/get-membership.md index 54098318c2..ed60299e2c 100644 --- a/docs/examples/1.5.x/server-ruby/examples/teams/get-membership.md +++ b/docs/examples/1.5.x/server-ruby/examples/teams/get-membership.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with teams = Teams.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/teams/get-prefs.md b/docs/examples/1.5.x/server-ruby/examples/teams/get-prefs.md index 87bb54cfee..1708412d56 100644 --- a/docs/examples/1.5.x/server-ruby/examples/teams/get-prefs.md +++ b/docs/examples/1.5.x/server-ruby/examples/teams/get-prefs.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with teams = Teams.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/teams/get.md b/docs/examples/1.5.x/server-ruby/examples/teams/get.md index c57565daff..5d5a274b55 100644 --- a/docs/examples/1.5.x/server-ruby/examples/teams/get.md +++ b/docs/examples/1.5.x/server-ruby/examples/teams/get.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with teams = Teams.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/teams/list-memberships.md b/docs/examples/1.5.x/server-ruby/examples/teams/list-memberships.md index 28e51ebcbc..ac22269e3c 100644 --- a/docs/examples/1.5.x/server-ruby/examples/teams/list-memberships.md +++ b/docs/examples/1.5.x/server-ruby/examples/teams/list-memberships.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with teams = Teams.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/teams/list.md b/docs/examples/1.5.x/server-ruby/examples/teams/list.md index ca84b8f118..50b49f8b45 100644 --- a/docs/examples/1.5.x/server-ruby/examples/teams/list.md +++ b/docs/examples/1.5.x/server-ruby/examples/teams/list.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with teams = Teams.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/teams/update-membership-status.md b/docs/examples/1.5.x/server-ruby/examples/teams/update-membership-status.md index daeee571bc..bb22ef03e7 100644 --- a/docs/examples/1.5.x/server-ruby/examples/teams/update-membership-status.md +++ b/docs/examples/1.5.x/server-ruby/examples/teams/update-membership-status.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with teams = Teams.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/teams/update-membership.md b/docs/examples/1.5.x/server-ruby/examples/teams/update-membership.md index 65a206b38b..7f92ff053c 100644 --- a/docs/examples/1.5.x/server-ruby/examples/teams/update-membership.md +++ b/docs/examples/1.5.x/server-ruby/examples/teams/update-membership.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with teams = Teams.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/teams/update-name.md b/docs/examples/1.5.x/server-ruby/examples/teams/update-name.md index 324d6cb121..267e5f2963 100644 --- a/docs/examples/1.5.x/server-ruby/examples/teams/update-name.md +++ b/docs/examples/1.5.x/server-ruby/examples/teams/update-name.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with teams = Teams.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/teams/update-prefs.md b/docs/examples/1.5.x/server-ruby/examples/teams/update-prefs.md index 08df9cce4a..337db7f22f 100644 --- a/docs/examples/1.5.x/server-ruby/examples/teams/update-prefs.md +++ b/docs/examples/1.5.x/server-ruby/examples/teams/update-prefs.md @@ -4,7 +4,7 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID + .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with teams = Teams.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/create-argon2user.md b/docs/examples/1.5.x/server-ruby/examples/users/create-argon2user.md index 073b8405a6..8b633daaa8 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/create-argon2user.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/create-argon2user.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/create-bcrypt-user.md b/docs/examples/1.5.x/server-ruby/examples/users/create-bcrypt-user.md index 800f1932bf..d76f653d27 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/create-bcrypt-user.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/create-j-w-t.md b/docs/examples/1.5.x/server-ruby/examples/users/create-j-w-t.md new file mode 100644 index 0000000000..a30a2b6bf0 --- /dev/null +++ b/docs/examples/1.5.x/server-ruby/examples/users/create-j-w-t.md @@ -0,0 +1,16 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key + +users = Users.new(client) + +result = users.create_jwt( + user_id: '<USER_ID>', + session_id: '<SESSION_ID>', # optional + duration: 0 # optional +) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/create-m-d5user.md b/docs/examples/1.5.x/server-ruby/examples/users/create-m-d5user.md index 75304c11fe..80ca9f59cb 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/create-m-d5user.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/create-m-d5user.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/create-mfa-recovery-codes.md b/docs/examples/1.5.x/server-ruby/examples/users/create-mfa-recovery-codes.md index 3766310c8d..64fc8d5c58 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/create-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/create-mfa-recovery-codes.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/create-p-h-pass-user.md b/docs/examples/1.5.x/server-ruby/examples/users/create-p-h-pass-user.md index 29925904a2..2fa6081cea 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/create-p-h-pass-user.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/create-s-h-a-user.md b/docs/examples/1.5.x/server-ruby/examples/users/create-s-h-a-user.md index d7361f7450..39c17743fd 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/create-s-h-a-user.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/create-scrypt-modified-user.md b/docs/examples/1.5.x/server-ruby/examples/users/create-scrypt-modified-user.md index ff0b9fdaca..2a0ac89ebe 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/create-scrypt-modified-user.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/create-scrypt-user.md b/docs/examples/1.5.x/server-ruby/examples/users/create-scrypt-user.md index c8ef8ee24e..38c250e552 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/create-scrypt-user.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/create-scrypt-user.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/create-session.md b/docs/examples/1.5.x/server-ruby/examples/users/create-session.md index ccf143da6c..ece2f429af 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/create-session.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/create-session.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/create-target.md b/docs/examples/1.5.x/server-ruby/examples/users/create-target.md index d9b6f4d2a2..5e5d943331 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/create-target.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/create-target.md @@ -5,8 +5,8 @@ include Appwrite::Enums client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/create-token.md b/docs/examples/1.5.x/server-ruby/examples/users/create-token.md index 8e5fc76758..318294b989 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/create-token.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/create-token.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/create.md b/docs/examples/1.5.x/server-ruby/examples/users/create.md index 310706e9d4..aa742f60ff 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/create.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/create.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/delete-authenticator.md b/docs/examples/1.5.x/server-ruby/examples/users/delete-authenticator.md index 24b17dbfe4..988edcea1d 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/delete-authenticator.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/delete-authenticator.md @@ -4,7 +4,7 @@ include Appwrite include Appwrite::Enums client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.5.x/server-ruby/examples/users/delete-identity.md b/docs/examples/1.5.x/server-ruby/examples/users/delete-identity.md index bce226b844..3c2e7a55b9 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/delete-identity.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/delete-identity.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/delete-mfa-authenticator.md b/docs/examples/1.5.x/server-ruby/examples/users/delete-mfa-authenticator.md index 737d52b569..9bed8637c2 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/delete-mfa-authenticator.md @@ -5,8 +5,8 @@ include Appwrite::Enums client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/delete-session.md b/docs/examples/1.5.x/server-ruby/examples/users/delete-session.md index 0652d8e706..4ac5f2795c 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/delete-session.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/delete-session.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/delete-sessions.md b/docs/examples/1.5.x/server-ruby/examples/users/delete-sessions.md index 88c63f7615..b83a4224f2 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/delete-sessions.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/delete-sessions.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/delete-target.md b/docs/examples/1.5.x/server-ruby/examples/users/delete-target.md index 3c275d6144..0e016cf70c 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/delete-target.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/delete-target.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/delete.md b/docs/examples/1.5.x/server-ruby/examples/users/delete.md index 3494a66f11..0aea69334e 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/delete.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/delete.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/get-mfa-recovery-codes.md b/docs/examples/1.5.x/server-ruby/examples/users/get-mfa-recovery-codes.md index a06060c732..f12a2879ee 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/get-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/get-mfa-recovery-codes.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/get-prefs.md b/docs/examples/1.5.x/server-ruby/examples/users/get-prefs.md index b1705aeaf4..afcb56f42d 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/get-prefs.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/get-prefs.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/get-target.md b/docs/examples/1.5.x/server-ruby/examples/users/get-target.md index 641cb0f560..b2e268e816 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/get-target.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/get-target.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/get.md b/docs/examples/1.5.x/server-ruby/examples/users/get.md index 056f772302..86ec849c7c 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/get.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/get.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/list-factors.md b/docs/examples/1.5.x/server-ruby/examples/users/list-factors.md index a9c71759ff..e0b5618dc5 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/list-factors.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/list-factors.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.5.x/server-ruby/examples/users/list-identities.md b/docs/examples/1.5.x/server-ruby/examples/users/list-identities.md index 539f108e86..2d4aa2f7ee 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/list-identities.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/list-identities.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/list-logs.md b/docs/examples/1.5.x/server-ruby/examples/users/list-logs.md index 7138c779fa..a13cec1b53 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/list-logs.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/list-logs.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/list-memberships.md b/docs/examples/1.5.x/server-ruby/examples/users/list-memberships.md index 6e102d2667..8706af1405 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/list-memberships.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/list-memberships.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/list-mfa-factors.md b/docs/examples/1.5.x/server-ruby/examples/users/list-mfa-factors.md index 44ea4775f3..ab98651311 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/list-mfa-factors.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/list-mfa-factors.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/list-providers.md b/docs/examples/1.5.x/server-ruby/examples/users/list-providers.md index 905a1b1833..f05ec6db10 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/list-providers.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/list-providers.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('5df5acd0d48c2') # Your project ID .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key diff --git a/docs/examples/1.5.x/server-ruby/examples/users/list-sessions.md b/docs/examples/1.5.x/server-ruby/examples/users/list-sessions.md index 3169afa7a3..17faa16701 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/list-sessions.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/list-sessions.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/list-targets.md b/docs/examples/1.5.x/server-ruby/examples/users/list-targets.md index 0f071251a4..9b849e4fcc 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/list-targets.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/list-targets.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/list.md b/docs/examples/1.5.x/server-ruby/examples/users/list.md index a67741daa7..40d1e83944 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/list.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/list.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/update-email-verification.md b/docs/examples/1.5.x/server-ruby/examples/users/update-email-verification.md index 61b85984e0..439fa330d4 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/update-email-verification.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/update-email-verification.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/update-email.md b/docs/examples/1.5.x/server-ruby/examples/users/update-email.md index 4be0112e19..d93141f3c9 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/update-email.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/update-email.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/update-labels.md b/docs/examples/1.5.x/server-ruby/examples/users/update-labels.md index 063e0c3570..2789e8fea9 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/update-labels.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/update-labels.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/update-mfa-recovery-codes.md b/docs/examples/1.5.x/server-ruby/examples/users/update-mfa-recovery-codes.md index 8dde2d0900..1fc497c22e 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/update-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/update-mfa-recovery-codes.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/update-mfa.md b/docs/examples/1.5.x/server-ruby/examples/users/update-mfa.md index 5d076d0252..9bafee47ef 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/update-mfa.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/update-mfa.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/update-name.md b/docs/examples/1.5.x/server-ruby/examples/users/update-name.md index 08eec19714..7645c16597 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/update-name.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/update-name.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/update-password.md b/docs/examples/1.5.x/server-ruby/examples/users/update-password.md index 24f26d8fdf..40e03eea9c 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/update-password.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/update-password.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/update-phone-verification.md b/docs/examples/1.5.x/server-ruby/examples/users/update-phone-verification.md index a2c46b0b08..88082ee034 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/update-phone-verification.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/update-phone-verification.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/update-phone.md b/docs/examples/1.5.x/server-ruby/examples/users/update-phone.md index 6a2083bc58..b08daa8386 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/update-phone.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/update-phone.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/update-prefs.md b/docs/examples/1.5.x/server-ruby/examples/users/update-prefs.md index b7c843ad56..9871ff5b62 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/update-prefs.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/update-prefs.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/update-status.md b/docs/examples/1.5.x/server-ruby/examples/users/update-status.md index 9a024033ee..a5d9544cbf 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/update-status.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/update-status.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-ruby/examples/users/update-target.md b/docs/examples/1.5.x/server-ruby/examples/users/update-target.md index 70d74f624f..6acc913642 100644 --- a/docs/examples/1.5.x/server-ruby/examples/users/update-target.md +++ b/docs/examples/1.5.x/server-ruby/examples/users/update-target.md @@ -4,8 +4,8 @@ include Appwrite client = Client.new .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint - .set_project('5df5acd0d48c2') # Your project ID - .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key users = Users.new(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/add-authenticator.md b/docs/examples/1.5.x/server-swift/examples/account/add-authenticator.md index 07607a3168..ce7e7650c0 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/add-authenticator.md +++ b/docs/examples/1.5.x/server-swift/examples/account/add-authenticator.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-swift/examples/account/create-anonymous-session.md b/docs/examples/1.5.x/server-swift/examples/account/create-anonymous-session.md index 9904f6f222..f676bac4da 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/create-anonymous-session.md +++ b/docs/examples/1.5.x/server-swift/examples/account/create-anonymous-session.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/create-challenge.md b/docs/examples/1.5.x/server-swift/examples/account/create-challenge.md index 9d3b54a152..4ebb3cbbfa 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/create-challenge.md +++ b/docs/examples/1.5.x/server-swift/examples/account/create-challenge.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/create-email-password-session.md b/docs/examples/1.5.x/server-swift/examples/account/create-email-password-session.md index 8740f0caa9..15051827b8 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/create-email-password-session.md +++ b/docs/examples/1.5.x/server-swift/examples/account/create-email-password-session.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/create-email-token.md b/docs/examples/1.5.x/server-swift/examples/account/create-email-token.md index 40535d583a..b9d39ff27f 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/create-email-token.md +++ b/docs/examples/1.5.x/server-swift/examples/account/create-email-token.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/create-j-w-t.md b/docs/examples/1.5.x/server-swift/examples/account/create-j-w-t.md index c18c3c940a..c1c0f22dff 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/create-j-w-t.md +++ b/docs/examples/1.5.x/server-swift/examples/account/create-j-w-t.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/create-magic-u-r-l-token.md b/docs/examples/1.5.x/server-swift/examples/account/create-magic-u-r-l-token.md index 1fd7360732..83eb681673 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.5.x/server-swift/examples/account/create-magic-u-r-l-token.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/create-mfa-authenticator.md b/docs/examples/1.5.x/server-swift/examples/account/create-mfa-authenticator.md index ff53e0b20a..70294e99a2 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/create-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-swift/examples/account/create-mfa-authenticator.md @@ -3,7 +3,7 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/create-mfa-challenge.md b/docs/examples/1.5.x/server-swift/examples/account/create-mfa-challenge.md index 4045203b29..6d262d9c74 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.5.x/server-swift/examples/account/create-mfa-challenge.md @@ -3,7 +3,7 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/create-mfa-recovery-codes.md b/docs/examples/1.5.x/server-swift/examples/account/create-mfa-recovery-codes.md index 77bb2efd8f..8480f41779 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-swift/examples/account/create-mfa-recovery-codes.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/create-o-auth2session.md b/docs/examples/1.5.x/server-swift/examples/account/create-o-auth2session.md index e7d6a539e3..77826ccac7 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/create-o-auth2session.md +++ b/docs/examples/1.5.x/server-swift/examples/account/create-o-auth2session.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/create-o-auth2token.md b/docs/examples/1.5.x/server-swift/examples/account/create-o-auth2token.md index 677450ecdb..7bbfe98f48 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/create-o-auth2token.md +++ b/docs/examples/1.5.x/server-swift/examples/account/create-o-auth2token.md @@ -3,7 +3,7 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/create-phone-token.md b/docs/examples/1.5.x/server-swift/examples/account/create-phone-token.md index a0c3a8cd87..acb7a696bc 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/create-phone-token.md +++ b/docs/examples/1.5.x/server-swift/examples/account/create-phone-token.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/create-phone-verification.md b/docs/examples/1.5.x/server-swift/examples/account/create-phone-verification.md index 1391fe5679..8bab0b760f 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/create-phone-verification.md +++ b/docs/examples/1.5.x/server-swift/examples/account/create-phone-verification.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/create-recovery.md b/docs/examples/1.5.x/server-swift/examples/account/create-recovery.md index 1069fd4a84..f110d5b84d 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/create-recovery.md +++ b/docs/examples/1.5.x/server-swift/examples/account/create-recovery.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/create-session.md b/docs/examples/1.5.x/server-swift/examples/account/create-session.md index 4ed985dda3..3ea5119569 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/create-session.md +++ b/docs/examples/1.5.x/server-swift/examples/account/create-session.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/create-verification.md b/docs/examples/1.5.x/server-swift/examples/account/create-verification.md index 259bb51a99..305adcab30 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/create-verification.md +++ b/docs/examples/1.5.x/server-swift/examples/account/create-verification.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/create.md b/docs/examples/1.5.x/server-swift/examples/account/create.md index e7caef4dc0..cad7e44c44 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/create.md +++ b/docs/examples/1.5.x/server-swift/examples/account/create.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/create2f-a-challenge.md b/docs/examples/1.5.x/server-swift/examples/account/create2f-a-challenge.md index 56386ccb9c..5c0523f0f0 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/create2f-a-challenge.md +++ b/docs/examples/1.5.x/server-swift/examples/account/create2f-a-challenge.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/delete-authenticator.md b/docs/examples/1.5.x/server-swift/examples/account/delete-authenticator.md index 125244e8ec..b8d01666c7 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/delete-authenticator.md +++ b/docs/examples/1.5.x/server-swift/examples/account/delete-authenticator.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-swift/examples/account/delete-identity.md b/docs/examples/1.5.x/server-swift/examples/account/delete-identity.md index 59001b43fa..e0322503f8 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/delete-identity.md +++ b/docs/examples/1.5.x/server-swift/examples/account/delete-identity.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/delete-mfa-authenticator.md b/docs/examples/1.5.x/server-swift/examples/account/delete-mfa-authenticator.md index eeee94cd21..9aa02ff4ca 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-swift/examples/account/delete-mfa-authenticator.md @@ -3,13 +3,12 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let account = Account(client) let result = try await account.deleteMfaAuthenticator( - type: .totp, - otp: "<OTP>" + type: .totp ) diff --git a/docs/examples/1.5.x/server-swift/examples/account/delete-session.md b/docs/examples/1.5.x/server-swift/examples/account/delete-session.md index c0682f47b9..9c685bc551 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/delete-session.md +++ b/docs/examples/1.5.x/server-swift/examples/account/delete-session.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/delete-sessions.md b/docs/examples/1.5.x/server-swift/examples/account/delete-sessions.md index bfd1689ea2..59710f1a77 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/delete-sessions.md +++ b/docs/examples/1.5.x/server-swift/examples/account/delete-sessions.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.5.x/server-swift/examples/account/get-mfa-recovery-codes.md index d24b4f9c2f..34743be6d3 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-swift/examples/account/get-mfa-recovery-codes.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/get-prefs.md b/docs/examples/1.5.x/server-swift/examples/account/get-prefs.md index 6351eb2c1d..08d9ab5b4a 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/get-prefs.md +++ b/docs/examples/1.5.x/server-swift/examples/account/get-prefs.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/get-session.md b/docs/examples/1.5.x/server-swift/examples/account/get-session.md index 49f0f57a07..37747add26 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/get-session.md +++ b/docs/examples/1.5.x/server-swift/examples/account/get-session.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/get.md b/docs/examples/1.5.x/server-swift/examples/account/get.md index 701135bd8a..91ed56ab7c 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/get.md +++ b/docs/examples/1.5.x/server-swift/examples/account/get.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/list-factors.md b/docs/examples/1.5.x/server-swift/examples/account/list-factors.md index e2fc910ec2..13d0ef8810 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/list-factors.md +++ b/docs/examples/1.5.x/server-swift/examples/account/list-factors.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-swift/examples/account/list-identities.md b/docs/examples/1.5.x/server-swift/examples/account/list-identities.md index 973719579f..96c6fd9dc2 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/list-identities.md +++ b/docs/examples/1.5.x/server-swift/examples/account/list-identities.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/list-logs.md b/docs/examples/1.5.x/server-swift/examples/account/list-logs.md index 28b72f7fc7..1a93da0d0e 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/list-logs.md +++ b/docs/examples/1.5.x/server-swift/examples/account/list-logs.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/list-mfa-factors.md b/docs/examples/1.5.x/server-swift/examples/account/list-mfa-factors.md index 0fcf12eadd..72c2f5affe 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/list-mfa-factors.md +++ b/docs/examples/1.5.x/server-swift/examples/account/list-mfa-factors.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/list-sessions.md b/docs/examples/1.5.x/server-swift/examples/account/list-sessions.md index 6d8b674206..67bb107091 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/list-sessions.md +++ b/docs/examples/1.5.x/server-swift/examples/account/list-sessions.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/update-challenge.md b/docs/examples/1.5.x/server-swift/examples/account/update-challenge.md index a671374dc3..b4f3a35e1a 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/update-challenge.md +++ b/docs/examples/1.5.x/server-swift/examples/account/update-challenge.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-swift/examples/account/update-email.md b/docs/examples/1.5.x/server-swift/examples/account/update-email.md index 21e907a4af..d8126b5cf8 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/update-email.md +++ b/docs/examples/1.5.x/server-swift/examples/account/update-email.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/update-m-f-a.md b/docs/examples/1.5.x/server-swift/examples/account/update-m-f-a.md index 35f69fbae4..4a471a4a35 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/update-m-f-a.md +++ b/docs/examples/1.5.x/server-swift/examples/account/update-m-f-a.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.5.x/server-swift/examples/account/update-magic-u-r-l-session.md index 6950792fb5..8e0a26a6ef 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.5.x/server-swift/examples/account/update-magic-u-r-l-session.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/update-mfa-authenticator.md b/docs/examples/1.5.x/server-swift/examples/account/update-mfa-authenticator.md index cde9bf2c5b..30e2705318 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/update-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-swift/examples/account/update-mfa-authenticator.md @@ -3,7 +3,7 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/update-mfa-challenge.md b/docs/examples/1.5.x/server-swift/examples/account/update-mfa-challenge.md index 13bd81ea7d..fee76bf0dd 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.5.x/server-swift/examples/account/update-mfa-challenge.md @@ -2,12 +2,12 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let account = Account(client) -let result = try await account.updateMfaChallenge( +let session = try await account.updateMfaChallenge( challengeId: "<CHALLENGE_ID>", otp: "<OTP>" ) diff --git a/docs/examples/1.5.x/server-swift/examples/account/update-mfa-recovery-codes.md b/docs/examples/1.5.x/server-swift/examples/account/update-mfa-recovery-codes.md index b194a21460..2be8f6fbf6 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-swift/examples/account/update-mfa-recovery-codes.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/update-name.md b/docs/examples/1.5.x/server-swift/examples/account/update-name.md index 89b64ee235..419b30a009 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/update-name.md +++ b/docs/examples/1.5.x/server-swift/examples/account/update-name.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/update-password.md b/docs/examples/1.5.x/server-swift/examples/account/update-password.md index aca15882ae..8358ede14f 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/update-password.md +++ b/docs/examples/1.5.x/server-swift/examples/account/update-password.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/update-phone-session.md b/docs/examples/1.5.x/server-swift/examples/account/update-phone-session.md index 71d404eee4..50a88cbe51 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/update-phone-session.md +++ b/docs/examples/1.5.x/server-swift/examples/account/update-phone-session.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/update-phone-verification.md b/docs/examples/1.5.x/server-swift/examples/account/update-phone-verification.md index c4aee72c8b..13b0baca63 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/update-phone-verification.md +++ b/docs/examples/1.5.x/server-swift/examples/account/update-phone-verification.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/update-phone.md b/docs/examples/1.5.x/server-swift/examples/account/update-phone.md index 0c1517bc36..496ddd9d0e 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/update-phone.md +++ b/docs/examples/1.5.x/server-swift/examples/account/update-phone.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/update-prefs.md b/docs/examples/1.5.x/server-swift/examples/account/update-prefs.md index b39d94392a..846764b4e5 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/update-prefs.md +++ b/docs/examples/1.5.x/server-swift/examples/account/update-prefs.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/update-recovery.md b/docs/examples/1.5.x/server-swift/examples/account/update-recovery.md index e6df18509d..82e86839d8 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/update-recovery.md +++ b/docs/examples/1.5.x/server-swift/examples/account/update-recovery.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/update-session.md b/docs/examples/1.5.x/server-swift/examples/account/update-session.md index 3e7a0be2cc..866ea03047 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/update-session.md +++ b/docs/examples/1.5.x/server-swift/examples/account/update-session.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/update-status.md b/docs/examples/1.5.x/server-swift/examples/account/update-status.md index 979cf37f3e..d63ceed724 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/update-status.md +++ b/docs/examples/1.5.x/server-swift/examples/account/update-status.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/update-verification.md b/docs/examples/1.5.x/server-swift/examples/account/update-verification.md index 2d79cfc7d9..5bae677744 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/update-verification.md +++ b/docs/examples/1.5.x/server-swift/examples/account/update-verification.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let account = Account(client) diff --git a/docs/examples/1.5.x/server-swift/examples/account/verify-authenticator.md b/docs/examples/1.5.x/server-swift/examples/account/verify-authenticator.md index 2c11311180..bc5398088e 100644 --- a/docs/examples/1.5.x/server-swift/examples/account/verify-authenticator.md +++ b/docs/examples/1.5.x/server-swift/examples/account/verify-authenticator.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.5.x/server-swift/examples/avatars/get-browser.md b/docs/examples/1.5.x/server-swift/examples/avatars/get-browser.md index dbe9f60a5d..e2a79f953f 100644 --- a/docs/examples/1.5.x/server-swift/examples/avatars/get-browser.md +++ b/docs/examples/1.5.x/server-swift/examples/avatars/get-browser.md @@ -3,7 +3,7 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let avatars = Avatars(client) diff --git a/docs/examples/1.5.x/server-swift/examples/avatars/get-credit-card.md b/docs/examples/1.5.x/server-swift/examples/avatars/get-credit-card.md index 9475b42d63..741d341060 100644 --- a/docs/examples/1.5.x/server-swift/examples/avatars/get-credit-card.md +++ b/docs/examples/1.5.x/server-swift/examples/avatars/get-credit-card.md @@ -3,7 +3,7 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let avatars = Avatars(client) diff --git a/docs/examples/1.5.x/server-swift/examples/avatars/get-favicon.md b/docs/examples/1.5.x/server-swift/examples/avatars/get-favicon.md index bb5ed293f0..0ee7ba1766 100644 --- a/docs/examples/1.5.x/server-swift/examples/avatars/get-favicon.md +++ b/docs/examples/1.5.x/server-swift/examples/avatars/get-favicon.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let avatars = Avatars(client) diff --git a/docs/examples/1.5.x/server-swift/examples/avatars/get-flag.md b/docs/examples/1.5.x/server-swift/examples/avatars/get-flag.md index ecde3c8ae9..2bdd9577ee 100644 --- a/docs/examples/1.5.x/server-swift/examples/avatars/get-flag.md +++ b/docs/examples/1.5.x/server-swift/examples/avatars/get-flag.md @@ -3,7 +3,7 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let avatars = Avatars(client) diff --git a/docs/examples/1.5.x/server-swift/examples/avatars/get-image.md b/docs/examples/1.5.x/server-swift/examples/avatars/get-image.md index 37fa82b540..fecadf7cf7 100644 --- a/docs/examples/1.5.x/server-swift/examples/avatars/get-image.md +++ b/docs/examples/1.5.x/server-swift/examples/avatars/get-image.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let avatars = Avatars(client) diff --git a/docs/examples/1.5.x/server-swift/examples/avatars/get-initials.md b/docs/examples/1.5.x/server-swift/examples/avatars/get-initials.md index d324dcb882..d5e09050f2 100644 --- a/docs/examples/1.5.x/server-swift/examples/avatars/get-initials.md +++ b/docs/examples/1.5.x/server-swift/examples/avatars/get-initials.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let avatars = Avatars(client) diff --git a/docs/examples/1.5.x/server-swift/examples/avatars/get-q-r.md b/docs/examples/1.5.x/server-swift/examples/avatars/get-q-r.md index 3c418c2ff5..56f4b9c7d7 100644 --- a/docs/examples/1.5.x/server-swift/examples/avatars/get-q-r.md +++ b/docs/examples/1.5.x/server-swift/examples/avatars/get-q-r.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let avatars = Avatars(client) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/create-boolean-attribute.md b/docs/examples/1.5.x/server-swift/examples/databases/create-boolean-attribute.md index c7ffdd0eb0..0776be6ead 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/create-boolean-attribute.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/create-collection.md b/docs/examples/1.5.x/server-swift/examples/databases/create-collection.md index 241b381008..79c2d59861 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/create-collection.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/create-collection.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/create-datetime-attribute.md b/docs/examples/1.5.x/server-swift/examples/databases/create-datetime-attribute.md index 022be46b32..b4f51d8f0c 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/create-datetime-attribute.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/create-document.md b/docs/examples/1.5.x/server-swift/examples/databases/create-document.md index aac1abd0b7..5f480a5ee4 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/create-document.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/create-document.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let databases = Databases(client) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/create-email-attribute.md b/docs/examples/1.5.x/server-swift/examples/databases/create-email-attribute.md index e64ce2fc9c..7c44f4d62e 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/create-email-attribute.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/create-email-attribute.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/create-enum-attribute.md b/docs/examples/1.5.x/server-swift/examples/databases/create-enum-attribute.md index ca05520207..b1d680824c 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/create-enum-attribute.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/create-float-attribute.md b/docs/examples/1.5.x/server-swift/examples/databases/create-float-attribute.md index 9353b2f9a2..780e53b775 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/create-float-attribute.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/create-float-attribute.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/create-index.md b/docs/examples/1.5.x/server-swift/examples/databases/create-index.md index 03d0b965f7..bd1d26dc32 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/create-index.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/create-index.md @@ -3,8 +3,8 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/create-integer-attribute.md b/docs/examples/1.5.x/server-swift/examples/databases/create-integer-attribute.md index b43fd66afc..03fea65bc6 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/create-integer-attribute.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/create-ip-attribute.md b/docs/examples/1.5.x/server-swift/examples/databases/create-ip-attribute.md index 8c3af36cc6..4e601a37c8 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/create-ip-attribute.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/create-relationship-attribute.md b/docs/examples/1.5.x/server-swift/examples/databases/create-relationship-attribute.md index faee863d67..c85b477998 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/create-relationship-attribute.md @@ -3,8 +3,8 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/create-string-attribute.md b/docs/examples/1.5.x/server-swift/examples/databases/create-string-attribute.md index e3b4763e1a..6a7ae27c6e 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/create-string-attribute.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/create-string-attribute.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/create-url-attribute.md b/docs/examples/1.5.x/server-swift/examples/databases/create-url-attribute.md index ebd7ef43a5..6d59fed958 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/create-url-attribute.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/create-url-attribute.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/create.md b/docs/examples/1.5.x/server-swift/examples/databases/create.md index b6eb502b92..82689d1b52 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/create.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/create.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/delete-attribute.md b/docs/examples/1.5.x/server-swift/examples/databases/delete-attribute.md index 7f0690d362..7fb7c3a02e 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/delete-attribute.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/delete-attribute.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/delete-collection.md b/docs/examples/1.5.x/server-swift/examples/databases/delete-collection.md index 2f22e551c3..781e97c27d 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/delete-collection.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/delete-collection.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/delete-document.md b/docs/examples/1.5.x/server-swift/examples/databases/delete-document.md index e0728330fb..f934d5b29c 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/delete-document.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/delete-document.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let databases = Databases(client) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/delete-index.md b/docs/examples/1.5.x/server-swift/examples/databases/delete-index.md index df7015f5ca..f819d921b6 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/delete-index.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/delete-index.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/delete.md b/docs/examples/1.5.x/server-swift/examples/databases/delete.md index d6ef6c4918..8cb3f88212 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/delete.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/delete.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/get-attribute.md b/docs/examples/1.5.x/server-swift/examples/databases/get-attribute.md index 4910e2b6d4..f22fd9280a 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/get-attribute.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/get-attribute.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/get-collection.md b/docs/examples/1.5.x/server-swift/examples/databases/get-collection.md index 6fed2393b7..81b0bf21ba 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/get-collection.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/get-collection.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/get-document.md b/docs/examples/1.5.x/server-swift/examples/databases/get-document.md index 27338b8afa..206fddd3e6 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/get-document.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/get-document.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let databases = Databases(client) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/get-index.md b/docs/examples/1.5.x/server-swift/examples/databases/get-index.md index 572b04d7b9..b2c1b30902 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/get-index.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/get-index.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/get.md b/docs/examples/1.5.x/server-swift/examples/databases/get.md index f6ba9543f7..37c15982cb 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/get.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/get.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/list-attributes.md b/docs/examples/1.5.x/server-swift/examples/databases/list-attributes.md index 2e5a5afa3b..356b13be0f 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/list-attributes.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/list-attributes.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/list-collections.md b/docs/examples/1.5.x/server-swift/examples/databases/list-collections.md index bfa60eb66f..03db34f8d5 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/list-collections.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/list-collections.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/list-documents.md b/docs/examples/1.5.x/server-swift/examples/databases/list-documents.md index 45683f831e..11dc91d2ae 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/list-documents.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/list-documents.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let databases = Databases(client) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/list-indexes.md b/docs/examples/1.5.x/server-swift/examples/databases/list-indexes.md index 643f51097b..2f37a0b30d 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/list-indexes.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/list-indexes.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/list.md b/docs/examples/1.5.x/server-swift/examples/databases/list.md index e65284b982..e27367659a 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/list.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/list.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/update-boolean-attribute.md b/docs/examples/1.5.x/server-swift/examples/databases/update-boolean-attribute.md index 98293937a7..e40da1a1e1 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/update-boolean-attribute.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) @@ -12,6 +12,7 @@ let attributeBoolean = try await databases.updateBooleanAttribute( collectionId: "<COLLECTION_ID>", key: "", required: false, - default: false + default: false, + newKey: "" // optional ) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/update-collection.md b/docs/examples/1.5.x/server-swift/examples/databases/update-collection.md index 4338b1abb5..741d3c6016 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/update-collection.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/update-collection.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/update-datetime-attribute.md b/docs/examples/1.5.x/server-swift/examples/databases/update-datetime-attribute.md index 41324dddb8..a7728d24c5 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/update-datetime-attribute.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) @@ -12,6 +12,7 @@ let attributeDatetime = try await databases.updateDatetimeAttribute( collectionId: "<COLLECTION_ID>", key: "", required: false, - default: "" + default: "", + newKey: "" // optional ) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/update-document.md b/docs/examples/1.5.x/server-swift/examples/databases/update-document.md index 52e6a52caf..67cfb960ea 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/update-document.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/update-document.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let databases = Databases(client) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/update-email-attribute.md b/docs/examples/1.5.x/server-swift/examples/databases/update-email-attribute.md index c5e1f16b27..137ca78afe 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/update-email-attribute.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/update-email-attribute.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) @@ -12,6 +12,7 @@ let attributeEmail = try await databases.updateEmailAttribute( collectionId: "<COLLECTION_ID>", key: "", required: false, - default: "email@example.com" + default: "email@example.com", + newKey: "" // optional ) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/update-enum-attribute.md b/docs/examples/1.5.x/server-swift/examples/databases/update-enum-attribute.md index 4f6823878b..bf7df6f714 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/update-enum-attribute.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) @@ -13,6 +13,7 @@ let attributeEnum = try await databases.updateEnumAttribute( key: "", elements: [], required: false, - default: "<DEFAULT>" + default: "<DEFAULT>", + newKey: "" // optional ) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/update-float-attribute.md b/docs/examples/1.5.x/server-swift/examples/databases/update-float-attribute.md index c95c12f804..7e246a7635 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/update-float-attribute.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/update-float-attribute.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) @@ -12,8 +12,9 @@ let attributeFloat = try await databases.updateFloatAttribute( collectionId: "<COLLECTION_ID>", key: "", required: false, - min: 0, - max: 0, - default: 0 + default: 0, + min: 0, // optional + max: 0, // optional + newKey: "" // optional ) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/update-integer-attribute.md b/docs/examples/1.5.x/server-swift/examples/databases/update-integer-attribute.md index 5e26e2ad7e..d502b8cef1 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/update-integer-attribute.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) @@ -12,8 +12,9 @@ let attributeInteger = try await databases.updateIntegerAttribute( collectionId: "<COLLECTION_ID>", key: "", required: false, - min: 0, - max: 0, - default: 0 + default: 0, + min: 0, // optional + max: 0, // optional + newKey: "" // optional ) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/update-ip-attribute.md b/docs/examples/1.5.x/server-swift/examples/databases/update-ip-attribute.md index 99bbbb6cd7..2b4109665a 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/update-ip-attribute.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) @@ -12,6 +12,7 @@ let attributeIp = try await databases.updateIpAttribute( collectionId: "<COLLECTION_ID>", key: "", required: false, - default: "" + default: "", + newKey: "" // optional ) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/update-relationship-attribute.md b/docs/examples/1.5.x/server-swift/examples/databases/update-relationship-attribute.md index fa5bd54fbc..8faa5ae17f 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/update-relationship-attribute.md @@ -3,8 +3,8 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) @@ -12,6 +12,7 @@ let attributeRelationship = try await databases.updateRelationshipAttribute( databaseId: "<DATABASE_ID>", collectionId: "<COLLECTION_ID>", key: "", - onDelete: .cascade // optional + onDelete: .cascade, // optional + newKey: "" // optional ) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/update-string-attribute.md b/docs/examples/1.5.x/server-swift/examples/databases/update-string-attribute.md index fe381e051d..d3129dcce2 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/update-string-attribute.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/update-string-attribute.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) @@ -12,6 +12,8 @@ let attributeString = try await databases.updateStringAttribute( collectionId: "<COLLECTION_ID>", key: "", required: false, - default: "<DEFAULT>" + default: "<DEFAULT>", + size: 1, // optional + newKey: "" // optional ) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/update-url-attribute.md b/docs/examples/1.5.x/server-swift/examples/databases/update-url-attribute.md index e3f7bb2447..b442a6add4 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/update-url-attribute.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/update-url-attribute.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) @@ -12,6 +12,7 @@ let attributeUrl = try await databases.updateUrlAttribute( collectionId: "<COLLECTION_ID>", key: "", required: false, - default: "https://example.com" + default: "https://example.com", + newKey: "" // optional ) diff --git a/docs/examples/1.5.x/server-swift/examples/databases/update.md b/docs/examples/1.5.x/server-swift/examples/databases/update.md index 9d60ad44e9..a03a74b4ff 100644 --- a/docs/examples/1.5.x/server-swift/examples/databases/update.md +++ b/docs/examples/1.5.x/server-swift/examples/databases/update.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let databases = Databases(client) diff --git a/docs/examples/1.5.x/server-swift/examples/functions/create-build.md b/docs/examples/1.5.x/server-swift/examples/functions/create-build.md index d2ce165e86..f67ac99bc1 100644 --- a/docs/examples/1.5.x/server-swift/examples/functions/create-build.md +++ b/docs/examples/1.5.x/server-swift/examples/functions/create-build.md @@ -2,14 +2,14 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let functions = Functions(client) let result = try await functions.createBuild( functionId: "<FUNCTION_ID>", deploymentId: "<DEPLOYMENT_ID>", - buildId: "<BUILD_ID>" + buildId: "<BUILD_ID>" // optional ) diff --git a/docs/examples/1.5.x/server-swift/examples/functions/create-deployment.md b/docs/examples/1.5.x/server-swift/examples/functions/create-deployment.md index 7eeee10ec8..bcd10ae042 100644 --- a/docs/examples/1.5.x/server-swift/examples/functions/create-deployment.md +++ b/docs/examples/1.5.x/server-swift/examples/functions/create-deployment.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.5.x/server-swift/examples/functions/create-execution.md b/docs/examples/1.5.x/server-swift/examples/functions/create-execution.md index cf6acb5fca..560f1a977f 100644 --- a/docs/examples/1.5.x/server-swift/examples/functions/create-execution.md +++ b/docs/examples/1.5.x/server-swift/examples/functions/create-execution.md @@ -3,7 +3,7 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let functions = Functions(client) @@ -14,6 +14,7 @@ let execution = try await functions.createExecution( async: false, // optional path: "<PATH>", // optional method: .gET, // optional - headers: [:] // optional + headers: [:], // optional + scheduledAt: "" // optional ) diff --git a/docs/examples/1.5.x/server-swift/examples/functions/create-variable.md b/docs/examples/1.5.x/server-swift/examples/functions/create-variable.md index e1e78f75c9..3af3220975 100644 --- a/docs/examples/1.5.x/server-swift/examples/functions/create-variable.md +++ b/docs/examples/1.5.x/server-swift/examples/functions/create-variable.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.5.x/server-swift/examples/functions/create.md b/docs/examples/1.5.x/server-swift/examples/functions/create.md index ab776cb327..fb614b5a4e 100644 --- a/docs/examples/1.5.x/server-swift/examples/functions/create.md +++ b/docs/examples/1.5.x/server-swift/examples/functions/create.md @@ -3,8 +3,8 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let functions = Functions(client) @@ -20,6 +20,7 @@ let function = try await functions.create( logging: false, // optional entrypoint: "<ENTRYPOINT>", // optional commands: "<COMMANDS>", // optional + scopes: [], // optional installationId: "<INSTALLATION_ID>", // optional providerRepositoryId: "<PROVIDER_REPOSITORY_ID>", // optional providerBranch: "<PROVIDER_BRANCH>", // optional @@ -28,6 +29,7 @@ let function = try await functions.create( templateRepository: "<TEMPLATE_REPOSITORY>", // optional templateOwner: "<TEMPLATE_OWNER>", // optional templateRootDirectory: "<TEMPLATE_ROOT_DIRECTORY>", // optional - templateBranch: "<TEMPLATE_BRANCH>" // optional + templateVersion: "<TEMPLATE_VERSION>", // optional + specification: "" // optional ) diff --git a/docs/examples/1.5.x/server-swift/examples/functions/delete-deployment.md b/docs/examples/1.5.x/server-swift/examples/functions/delete-deployment.md index ad5fd23793..cf9315e9af 100644 --- a/docs/examples/1.5.x/server-swift/examples/functions/delete-deployment.md +++ b/docs/examples/1.5.x/server-swift/examples/functions/delete-deployment.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.5.x/server-swift/examples/functions/delete-execution.md b/docs/examples/1.5.x/server-swift/examples/functions/delete-execution.md new file mode 100644 index 0000000000..f6e13cd4bb --- /dev/null +++ b/docs/examples/1.5.x/server-swift/examples/functions/delete-execution.md @@ -0,0 +1,14 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key + +let functions = Functions(client) + +let result = try await functions.deleteExecution( + functionId: "<FUNCTION_ID>", + executionId: "<EXECUTION_ID>" +) + diff --git a/docs/examples/1.5.x/server-swift/examples/functions/delete-variable.md b/docs/examples/1.5.x/server-swift/examples/functions/delete-variable.md index 08ae7e9499..7d09f11048 100644 --- a/docs/examples/1.5.x/server-swift/examples/functions/delete-variable.md +++ b/docs/examples/1.5.x/server-swift/examples/functions/delete-variable.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.5.x/server-swift/examples/functions/delete.md b/docs/examples/1.5.x/server-swift/examples/functions/delete.md index ff9a12f6be..ff1d049090 100644 --- a/docs/examples/1.5.x/server-swift/examples/functions/delete.md +++ b/docs/examples/1.5.x/server-swift/examples/functions/delete.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.5.x/server-swift/examples/functions/download-deployment.md b/docs/examples/1.5.x/server-swift/examples/functions/download-deployment.md index e01e8feb28..189d829fb0 100644 --- a/docs/examples/1.5.x/server-swift/examples/functions/download-deployment.md +++ b/docs/examples/1.5.x/server-swift/examples/functions/download-deployment.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.5.x/server-swift/examples/functions/get-deployment-download.md b/docs/examples/1.5.x/server-swift/examples/functions/get-deployment-download.md new file mode 100644 index 0000000000..6d08d9bb7f --- /dev/null +++ b/docs/examples/1.5.x/server-swift/examples/functions/get-deployment-download.md @@ -0,0 +1,14 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key + +let functions = Functions(client) + +let bytes = try await functions.getDeploymentDownload( + functionId: "<FUNCTION_ID>", + deploymentId: "<DEPLOYMENT_ID>" +) + diff --git a/docs/examples/1.5.x/server-swift/examples/functions/get-deployment.md b/docs/examples/1.5.x/server-swift/examples/functions/get-deployment.md index 7246236c3e..438b667e10 100644 --- a/docs/examples/1.5.x/server-swift/examples/functions/get-deployment.md +++ b/docs/examples/1.5.x/server-swift/examples/functions/get-deployment.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.5.x/server-swift/examples/functions/get-execution.md b/docs/examples/1.5.x/server-swift/examples/functions/get-execution.md index 6b16cc45cc..0aa9d66af6 100644 --- a/docs/examples/1.5.x/server-swift/examples/functions/get-execution.md +++ b/docs/examples/1.5.x/server-swift/examples/functions/get-execution.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let functions = Functions(client) diff --git a/docs/examples/1.5.x/server-swift/examples/functions/get-variable.md b/docs/examples/1.5.x/server-swift/examples/functions/get-variable.md index 17b7060486..0832b41e88 100644 --- a/docs/examples/1.5.x/server-swift/examples/functions/get-variable.md +++ b/docs/examples/1.5.x/server-swift/examples/functions/get-variable.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.5.x/server-swift/examples/functions/get.md b/docs/examples/1.5.x/server-swift/examples/functions/get.md index 5063dfc173..aa434c03e3 100644 --- a/docs/examples/1.5.x/server-swift/examples/functions/get.md +++ b/docs/examples/1.5.x/server-swift/examples/functions/get.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.5.x/server-swift/examples/functions/list-deployments.md b/docs/examples/1.5.x/server-swift/examples/functions/list-deployments.md index 21b737d60f..5f005f02fa 100644 --- a/docs/examples/1.5.x/server-swift/examples/functions/list-deployments.md +++ b/docs/examples/1.5.x/server-swift/examples/functions/list-deployments.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.5.x/server-swift/examples/functions/list-executions.md b/docs/examples/1.5.x/server-swift/examples/functions/list-executions.md index c25b06e5bc..2c28d54274 100644 --- a/docs/examples/1.5.x/server-swift/examples/functions/list-executions.md +++ b/docs/examples/1.5.x/server-swift/examples/functions/list-executions.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let functions = Functions(client) diff --git a/docs/examples/1.5.x/server-swift/examples/functions/list-runtimes.md b/docs/examples/1.5.x/server-swift/examples/functions/list-runtimes.md index 6a543754eb..bad50b172c 100644 --- a/docs/examples/1.5.x/server-swift/examples/functions/list-runtimes.md +++ b/docs/examples/1.5.x/server-swift/examples/functions/list-runtimes.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.5.x/server-swift/examples/functions/list-specifications.md b/docs/examples/1.5.x/server-swift/examples/functions/list-specifications.md new file mode 100644 index 0000000000..0c9da2df0b --- /dev/null +++ b/docs/examples/1.5.x/server-swift/examples/functions/list-specifications.md @@ -0,0 +1,11 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key + +let functions = Functions(client) + +let specificationList = try await functions.listSpecifications() + diff --git a/docs/examples/1.5.x/server-swift/examples/functions/list-variables.md b/docs/examples/1.5.x/server-swift/examples/functions/list-variables.md index cbddf45a3a..67030b93d1 100644 --- a/docs/examples/1.5.x/server-swift/examples/functions/list-variables.md +++ b/docs/examples/1.5.x/server-swift/examples/functions/list-variables.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.5.x/server-swift/examples/functions/list.md b/docs/examples/1.5.x/server-swift/examples/functions/list.md index 475cab3ff6..f6ed013a56 100644 --- a/docs/examples/1.5.x/server-swift/examples/functions/list.md +++ b/docs/examples/1.5.x/server-swift/examples/functions/list.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.5.x/server-swift/examples/functions/update-deployment-build.md b/docs/examples/1.5.x/server-swift/examples/functions/update-deployment-build.md new file mode 100644 index 0000000000..9003a02df3 --- /dev/null +++ b/docs/examples/1.5.x/server-swift/examples/functions/update-deployment-build.md @@ -0,0 +1,14 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key + +let functions = Functions(client) + +let build = try await functions.updateDeploymentBuild( + functionId: "<FUNCTION_ID>", + deploymentId: "<DEPLOYMENT_ID>" +) + diff --git a/docs/examples/1.5.x/server-swift/examples/functions/update-deployment.md b/docs/examples/1.5.x/server-swift/examples/functions/update-deployment.md index 49730d2201..9ae6ec4f51 100644 --- a/docs/examples/1.5.x/server-swift/examples/functions/update-deployment.md +++ b/docs/examples/1.5.x/server-swift/examples/functions/update-deployment.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.5.x/server-swift/examples/functions/update-variable.md b/docs/examples/1.5.x/server-swift/examples/functions/update-variable.md index 5e468259c8..67169852a7 100644 --- a/docs/examples/1.5.x/server-swift/examples/functions/update-variable.md +++ b/docs/examples/1.5.x/server-swift/examples/functions/update-variable.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let functions = Functions(client) diff --git a/docs/examples/1.5.x/server-swift/examples/functions/update.md b/docs/examples/1.5.x/server-swift/examples/functions/update.md index 51b7aa7fd0..dcc4ed637e 100644 --- a/docs/examples/1.5.x/server-swift/examples/functions/update.md +++ b/docs/examples/1.5.x/server-swift/examples/functions/update.md @@ -3,8 +3,8 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let functions = Functions(client) @@ -20,10 +20,12 @@ let function = try await functions.update( logging: false, // optional entrypoint: "<ENTRYPOINT>", // optional commands: "<COMMANDS>", // optional + scopes: [], // optional installationId: "<INSTALLATION_ID>", // optional providerRepositoryId: "<PROVIDER_REPOSITORY_ID>", // optional providerBranch: "<PROVIDER_BRANCH>", // optional providerSilentMode: false, // optional - providerRootDirectory: "<PROVIDER_ROOT_DIRECTORY>" // optional + providerRootDirectory: "<PROVIDER_ROOT_DIRECTORY>", // optional + specification: "" // optional ) diff --git a/docs/examples/1.5.x/server-swift/examples/graphql/mutation.md b/docs/examples/1.5.x/server-swift/examples/graphql/mutation.md index db869d48c9..6d4f747537 100644 --- a/docs/examples/1.5.x/server-swift/examples/graphql/mutation.md +++ b/docs/examples/1.5.x/server-swift/examples/graphql/mutation.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let graphql = Graphql(client) diff --git a/docs/examples/1.5.x/server-swift/examples/graphql/query.md b/docs/examples/1.5.x/server-swift/examples/graphql/query.md index 5e97508be5..4a10f57cbc 100644 --- a/docs/examples/1.5.x/server-swift/examples/graphql/query.md +++ b/docs/examples/1.5.x/server-swift/examples/graphql/query.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let graphql = Graphql(client) diff --git a/docs/examples/1.5.x/server-swift/examples/health/get-antivirus.md b/docs/examples/1.5.x/server-swift/examples/health/get-antivirus.md index cab0d98339..d45b7190eb 100644 --- a/docs/examples/1.5.x/server-swift/examples/health/get-antivirus.md +++ b/docs/examples/1.5.x/server-swift/examples/health/get-antivirus.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let health = Health(client) diff --git a/docs/examples/1.5.x/server-swift/examples/health/get-cache.md b/docs/examples/1.5.x/server-swift/examples/health/get-cache.md index a682d63a6f..4d493c40ad 100644 --- a/docs/examples/1.5.x/server-swift/examples/health/get-cache.md +++ b/docs/examples/1.5.x/server-swift/examples/health/get-cache.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let health = Health(client) diff --git a/docs/examples/1.5.x/server-swift/examples/health/get-certificate.md b/docs/examples/1.5.x/server-swift/examples/health/get-certificate.md index 6014dd5538..1d2d453d73 100644 --- a/docs/examples/1.5.x/server-swift/examples/health/get-certificate.md +++ b/docs/examples/1.5.x/server-swift/examples/health/get-certificate.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let health = Health(client) diff --git a/docs/examples/1.5.x/server-swift/examples/health/get-d-b.md b/docs/examples/1.5.x/server-swift/examples/health/get-d-b.md index 81645497b5..c7b5127d59 100644 --- a/docs/examples/1.5.x/server-swift/examples/health/get-d-b.md +++ b/docs/examples/1.5.x/server-swift/examples/health/get-d-b.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let health = Health(client) diff --git a/docs/examples/1.5.x/server-swift/examples/health/get-failed-jobs.md b/docs/examples/1.5.x/server-swift/examples/health/get-failed-jobs.md index b76dc69ac6..5120c072a6 100644 --- a/docs/examples/1.5.x/server-swift/examples/health/get-failed-jobs.md +++ b/docs/examples/1.5.x/server-swift/examples/health/get-failed-jobs.md @@ -3,8 +3,8 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let health = Health(client) diff --git a/docs/examples/1.5.x/server-swift/examples/health/get-pub-sub.md b/docs/examples/1.5.x/server-swift/examples/health/get-pub-sub.md index 5bf027108a..561fc6b7a9 100644 --- a/docs/examples/1.5.x/server-swift/examples/health/get-pub-sub.md +++ b/docs/examples/1.5.x/server-swift/examples/health/get-pub-sub.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let health = Health(client) diff --git a/docs/examples/1.5.x/server-swift/examples/health/get-queue-builds.md b/docs/examples/1.5.x/server-swift/examples/health/get-queue-builds.md index af09ed2bcb..81b4fb2523 100644 --- a/docs/examples/1.5.x/server-swift/examples/health/get-queue-builds.md +++ b/docs/examples/1.5.x/server-swift/examples/health/get-queue-builds.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let health = Health(client) diff --git a/docs/examples/1.5.x/server-swift/examples/health/get-queue-certificates.md b/docs/examples/1.5.x/server-swift/examples/health/get-queue-certificates.md index 48d39f2a41..cecb88ae67 100644 --- a/docs/examples/1.5.x/server-swift/examples/health/get-queue-certificates.md +++ b/docs/examples/1.5.x/server-swift/examples/health/get-queue-certificates.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let health = Health(client) diff --git a/docs/examples/1.5.x/server-swift/examples/health/get-queue-databases.md b/docs/examples/1.5.x/server-swift/examples/health/get-queue-databases.md index 016146d796..b3fefc8b05 100644 --- a/docs/examples/1.5.x/server-swift/examples/health/get-queue-databases.md +++ b/docs/examples/1.5.x/server-swift/examples/health/get-queue-databases.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let health = Health(client) diff --git a/docs/examples/1.5.x/server-swift/examples/health/get-queue-deletes.md b/docs/examples/1.5.x/server-swift/examples/health/get-queue-deletes.md index 33ea238109..0d90387c6d 100644 --- a/docs/examples/1.5.x/server-swift/examples/health/get-queue-deletes.md +++ b/docs/examples/1.5.x/server-swift/examples/health/get-queue-deletes.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let health = Health(client) diff --git a/docs/examples/1.5.x/server-swift/examples/health/get-queue-functions.md b/docs/examples/1.5.x/server-swift/examples/health/get-queue-functions.md index a66e8ace0d..961cc6221d 100644 --- a/docs/examples/1.5.x/server-swift/examples/health/get-queue-functions.md +++ b/docs/examples/1.5.x/server-swift/examples/health/get-queue-functions.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let health = Health(client) diff --git a/docs/examples/1.5.x/server-swift/examples/health/get-queue-logs.md b/docs/examples/1.5.x/server-swift/examples/health/get-queue-logs.md index 6bdf95f73d..34d26efd75 100644 --- a/docs/examples/1.5.x/server-swift/examples/health/get-queue-logs.md +++ b/docs/examples/1.5.x/server-swift/examples/health/get-queue-logs.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let health = Health(client) diff --git a/docs/examples/1.5.x/server-swift/examples/health/get-queue-mails.md b/docs/examples/1.5.x/server-swift/examples/health/get-queue-mails.md index 6424b4d725..f48a96d7c8 100644 --- a/docs/examples/1.5.x/server-swift/examples/health/get-queue-mails.md +++ b/docs/examples/1.5.x/server-swift/examples/health/get-queue-mails.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let health = Health(client) diff --git a/docs/examples/1.5.x/server-swift/examples/health/get-queue-messaging.md b/docs/examples/1.5.x/server-swift/examples/health/get-queue-messaging.md index 31db7ac5f5..7a171bd733 100644 --- a/docs/examples/1.5.x/server-swift/examples/health/get-queue-messaging.md +++ b/docs/examples/1.5.x/server-swift/examples/health/get-queue-messaging.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let health = Health(client) diff --git a/docs/examples/1.5.x/server-swift/examples/health/get-queue-migrations.md b/docs/examples/1.5.x/server-swift/examples/health/get-queue-migrations.md index 503d0bf571..f36eb129a6 100644 --- a/docs/examples/1.5.x/server-swift/examples/health/get-queue-migrations.md +++ b/docs/examples/1.5.x/server-swift/examples/health/get-queue-migrations.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let health = Health(client) diff --git a/docs/examples/1.5.x/server-swift/examples/health/get-queue-stats-resources.md b/docs/examples/1.5.x/server-swift/examples/health/get-queue-stats-resources.md new file mode 100644 index 0000000000..3c349662cb --- /dev/null +++ b/docs/examples/1.5.x/server-swift/examples/health/get-queue-stats-resources.md @@ -0,0 +1,13 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key + +let health = Health(client) + +let healthQueue = try await health.getQueueStatsResources( + threshold: 0 // optional +) + diff --git a/docs/examples/1.5.x/server-swift/examples/health/get-queue-usage-dump.md b/docs/examples/1.5.x/server-swift/examples/health/get-queue-usage-dump.md index 3537c4ccf2..3830e94bd0 100644 --- a/docs/examples/1.5.x/server-swift/examples/health/get-queue-usage-dump.md +++ b/docs/examples/1.5.x/server-swift/examples/health/get-queue-usage-dump.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.5.x/server-swift/examples/health/get-queue-usage.md b/docs/examples/1.5.x/server-swift/examples/health/get-queue-usage.md index 586e635e97..b3bc88ed88 100644 --- a/docs/examples/1.5.x/server-swift/examples/health/get-queue-usage.md +++ b/docs/examples/1.5.x/server-swift/examples/health/get-queue-usage.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let health = Health(client) diff --git a/docs/examples/1.5.x/server-swift/examples/health/get-queue-webhooks.md b/docs/examples/1.5.x/server-swift/examples/health/get-queue-webhooks.md index dcfd11e8e4..25ed30f442 100644 --- a/docs/examples/1.5.x/server-swift/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.5.x/server-swift/examples/health/get-queue-webhooks.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let health = Health(client) diff --git a/docs/examples/1.5.x/server-swift/examples/health/get-queue.md b/docs/examples/1.5.x/server-swift/examples/health/get-queue.md index 6f8131d7e8..88e3b8a82b 100644 --- a/docs/examples/1.5.x/server-swift/examples/health/get-queue.md +++ b/docs/examples/1.5.x/server-swift/examples/health/get-queue.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.5.x/server-swift/examples/health/get-storage-local.md b/docs/examples/1.5.x/server-swift/examples/health/get-storage-local.md index ee807980bb..4e8518362c 100644 --- a/docs/examples/1.5.x/server-swift/examples/health/get-storage-local.md +++ b/docs/examples/1.5.x/server-swift/examples/health/get-storage-local.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let health = Health(client) diff --git a/docs/examples/1.5.x/server-swift/examples/health/get-storage.md b/docs/examples/1.5.x/server-swift/examples/health/get-storage.md index eccd97db13..fbe116fcce 100644 --- a/docs/examples/1.5.x/server-swift/examples/health/get-storage.md +++ b/docs/examples/1.5.x/server-swift/examples/health/get-storage.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let health = Health(client) diff --git a/docs/examples/1.5.x/server-swift/examples/health/get-time.md b/docs/examples/1.5.x/server-swift/examples/health/get-time.md index f6d66d950a..02cca3f21b 100644 --- a/docs/examples/1.5.x/server-swift/examples/health/get-time.md +++ b/docs/examples/1.5.x/server-swift/examples/health/get-time.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let health = Health(client) diff --git a/docs/examples/1.5.x/server-swift/examples/health/get.md b/docs/examples/1.5.x/server-swift/examples/health/get.md index 828f3453e0..140b304461 100644 --- a/docs/examples/1.5.x/server-swift/examples/health/get.md +++ b/docs/examples/1.5.x/server-swift/examples/health/get.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let health = Health(client) diff --git a/docs/examples/1.5.x/server-swift/examples/locale/get.md b/docs/examples/1.5.x/server-swift/examples/locale/get.md index cabd64c3a7..94121fd0b2 100644 --- a/docs/examples/1.5.x/server-swift/examples/locale/get.md +++ b/docs/examples/1.5.x/server-swift/examples/locale/get.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let locale = Locale(client) diff --git a/docs/examples/1.5.x/server-swift/examples/locale/list-codes.md b/docs/examples/1.5.x/server-swift/examples/locale/list-codes.md index d8704287fa..1f41799b20 100644 --- a/docs/examples/1.5.x/server-swift/examples/locale/list-codes.md +++ b/docs/examples/1.5.x/server-swift/examples/locale/list-codes.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let locale = Locale(client) diff --git a/docs/examples/1.5.x/server-swift/examples/locale/list-continents.md b/docs/examples/1.5.x/server-swift/examples/locale/list-continents.md index fd700f3435..f46f3c034b 100644 --- a/docs/examples/1.5.x/server-swift/examples/locale/list-continents.md +++ b/docs/examples/1.5.x/server-swift/examples/locale/list-continents.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let locale = Locale(client) diff --git a/docs/examples/1.5.x/server-swift/examples/locale/list-countries-e-u.md b/docs/examples/1.5.x/server-swift/examples/locale/list-countries-e-u.md index 8cf5ca1f8f..ee57e01a8e 100644 --- a/docs/examples/1.5.x/server-swift/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.5.x/server-swift/examples/locale/list-countries-e-u.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let locale = Locale(client) diff --git a/docs/examples/1.5.x/server-swift/examples/locale/list-countries-phones.md b/docs/examples/1.5.x/server-swift/examples/locale/list-countries-phones.md index aa0ca92ff0..9263de68e5 100644 --- a/docs/examples/1.5.x/server-swift/examples/locale/list-countries-phones.md +++ b/docs/examples/1.5.x/server-swift/examples/locale/list-countries-phones.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let locale = Locale(client) diff --git a/docs/examples/1.5.x/server-swift/examples/locale/list-countries.md b/docs/examples/1.5.x/server-swift/examples/locale/list-countries.md index b82c61c203..d793492f71 100644 --- a/docs/examples/1.5.x/server-swift/examples/locale/list-countries.md +++ b/docs/examples/1.5.x/server-swift/examples/locale/list-countries.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let locale = Locale(client) diff --git a/docs/examples/1.5.x/server-swift/examples/locale/list-currencies.md b/docs/examples/1.5.x/server-swift/examples/locale/list-currencies.md index 43a48a1b24..eb0ddf7f5e 100644 --- a/docs/examples/1.5.x/server-swift/examples/locale/list-currencies.md +++ b/docs/examples/1.5.x/server-swift/examples/locale/list-currencies.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let locale = Locale(client) diff --git a/docs/examples/1.5.x/server-swift/examples/locale/list-languages.md b/docs/examples/1.5.x/server-swift/examples/locale/list-languages.md index 0aedcd735b..19a70b23a4 100644 --- a/docs/examples/1.5.x/server-swift/examples/locale/list-languages.md +++ b/docs/examples/1.5.x/server-swift/examples/locale/list-languages.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let locale = Locale(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/create-a-p-n-s-provider.md b/docs/examples/1.5.x/server-swift/examples/messaging/create-a-p-n-s-provider.md index d56050fedf..0e6f8e3274 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/create-a-p-n-s-provider.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/create-a-p-n-s-provider.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/create-apns-provider.md b/docs/examples/1.5.x/server-swift/examples/messaging/create-apns-provider.md index f16352c968..9bbb4da7a1 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/create-apns-provider.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/create-apns-provider.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/create-email.md b/docs/examples/1.5.x/server-swift/examples/messaging/create-email.md index d1a5f86fc9..655daeaad4 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/create-email.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/create-email.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/create-f-c-m-provider.md b/docs/examples/1.5.x/server-swift/examples/messaging/create-f-c-m-provider.md index 41a3d44b82..375720320b 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/create-f-c-m-provider.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/create-f-c-m-provider.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/create-fcm-provider.md b/docs/examples/1.5.x/server-swift/examples/messaging/create-fcm-provider.md index 6a39c33d87..b127946cf8 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/create-fcm-provider.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/create-fcm-provider.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/create-mailgun-provider.md b/docs/examples/1.5.x/server-swift/examples/messaging/create-mailgun-provider.md index 752ec02efb..63fd5a127f 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/create-mailgun-provider.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/create-mailgun-provider.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/create-msg91provider.md b/docs/examples/1.5.x/server-swift/examples/messaging/create-msg91provider.md index 35647c6308..57cd54be15 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/create-msg91provider.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/create-msg91provider.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/create-push.md b/docs/examples/1.5.x/server-swift/examples/messaging/create-push.md index c62f36d843..42f48ddd2e 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/create-push.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/create-push.md @@ -1,16 +1,17 @@ import Appwrite +import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) let message = try await messaging.createPush( messageId: "<MESSAGE_ID>", - title: "<TITLE>", - body: "<BODY>", + title: "<TITLE>", // optional + body: "<BODY>", // optional topics: [], // optional users: [], // optional targets: [], // optional @@ -21,8 +22,11 @@ let message = try await messaging.createPush( sound: "<SOUND>", // optional color: "<COLOR>", // optional tag: "<TAG>", // optional - badge: "<BADGE>", // optional + badge: 0, // optional draft: false, // optional - scheduledAt: "" // optional + scheduledAt: "", // optional + contentAvailable: false, // optional + critical: false, // optional + priority: .normal // optional ) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/create-s-m-s.md b/docs/examples/1.5.x/server-swift/examples/messaging/create-s-m-s.md index 7c764462cb..8efc17ac93 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/create-s-m-s.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/create-s-m-s.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/create-s-m-t-p-provider.md b/docs/examples/1.5.x/server-swift/examples/messaging/create-s-m-t-p-provider.md index 16647161ab..fba631f080 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/create-s-m-t-p-provider.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/create-s-m-t-p-provider.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/create-sendgrid-provider.md b/docs/examples/1.5.x/server-swift/examples/messaging/create-sendgrid-provider.md index 3f435bc829..e8b70b629f 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/create-sendgrid-provider.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/create-sendgrid-provider.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/create-sms.md b/docs/examples/1.5.x/server-swift/examples/messaging/create-sms.md index ae465198f0..22ca198e46 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/create-sms.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/create-sms.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/create-smtp-provider.md b/docs/examples/1.5.x/server-swift/examples/messaging/create-smtp-provider.md index ba097b110a..5eff6413e1 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/create-smtp-provider.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/create-smtp-provider.md @@ -3,8 +3,8 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/create-subscriber.md b/docs/examples/1.5.x/server-swift/examples/messaging/create-subscriber.md index 68afa345a0..087ec0e31e 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/create-subscriber.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/create-subscriber.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setJWT("<YOUR_JWT>") // Your secret JSON Web Token let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/create-telesign-provider.md b/docs/examples/1.5.x/server-swift/examples/messaging/create-telesign-provider.md index e960d5a2b8..b9beb151f6 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/create-telesign-provider.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/create-telesign-provider.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/create-textmagic-provider.md b/docs/examples/1.5.x/server-swift/examples/messaging/create-textmagic-provider.md index 361934887b..f1802d9f29 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/create-textmagic-provider.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/create-textmagic-provider.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/create-topic.md b/docs/examples/1.5.x/server-swift/examples/messaging/create-topic.md index c6227a4787..14f222907b 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/create-topic.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/create-topic.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/create-twilio-provider.md b/docs/examples/1.5.x/server-swift/examples/messaging/create-twilio-provider.md index 131b54c5f0..f0f0d6e087 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/create-twilio-provider.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/create-twilio-provider.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/create-vonage-provider.md b/docs/examples/1.5.x/server-swift/examples/messaging/create-vonage-provider.md index 609001481e..4e683dfc9d 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/create-vonage-provider.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/create-vonage-provider.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/delete-provider.md b/docs/examples/1.5.x/server-swift/examples/messaging/delete-provider.md index ffc9b6927a..3652609bec 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/delete-provider.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/delete-provider.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/delete-subscriber.md b/docs/examples/1.5.x/server-swift/examples/messaging/delete-subscriber.md index 24e86a1295..b083fc4e1a 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/delete-subscriber.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/delete-subscriber.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setJWT("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...") // Your secret JSON Web Token + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setJWT("<YOUR_JWT>") // Your secret JSON Web Token let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/delete-topic.md b/docs/examples/1.5.x/server-swift/examples/messaging/delete-topic.md index 771d98415a..1de412682d 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/delete-topic.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/delete-topic.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/delete.md b/docs/examples/1.5.x/server-swift/examples/messaging/delete.md index 148c945bd8..2e407808af 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/delete.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/delete.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/get-message.md b/docs/examples/1.5.x/server-swift/examples/messaging/get-message.md index 358dadeeb4..5db5f7d508 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/get-message.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/get-message.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/get-provider.md b/docs/examples/1.5.x/server-swift/examples/messaging/get-provider.md index 419f2a5c69..b5a8156288 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/get-provider.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/get-provider.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/get-subscriber.md b/docs/examples/1.5.x/server-swift/examples/messaging/get-subscriber.md index fbc702d2e1..ac4d289871 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/get-subscriber.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/get-subscriber.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/get-topic.md b/docs/examples/1.5.x/server-swift/examples/messaging/get-topic.md index 06723c55c2..3d88371458 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/get-topic.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/get-topic.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/list-message-logs.md b/docs/examples/1.5.x/server-swift/examples/messaging/list-message-logs.md index 4512e06519..c58ef450d2 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/list-message-logs.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/list-message-logs.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/list-messages.md b/docs/examples/1.5.x/server-swift/examples/messaging/list-messages.md index c47f9be12f..bfa9222239 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/list-messages.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/list-messages.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/list-provider-logs.md b/docs/examples/1.5.x/server-swift/examples/messaging/list-provider-logs.md index 8fcb13f3bc..55f0d1f254 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/list-provider-logs.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/list-provider-logs.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/list-providers.md b/docs/examples/1.5.x/server-swift/examples/messaging/list-providers.md index dc395dc8c9..fbb5803538 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/list-providers.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/list-providers.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/list-subscriber-logs.md b/docs/examples/1.5.x/server-swift/examples/messaging/list-subscriber-logs.md index 0debb66a92..a83cb6053d 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/list-subscriber-logs.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/list-subscriber-logs.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/list-subscribers.md b/docs/examples/1.5.x/server-swift/examples/messaging/list-subscribers.md index 9d2be0336c..ded4fdf975 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/list-subscribers.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/list-subscribers.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/list-targets.md b/docs/examples/1.5.x/server-swift/examples/messaging/list-targets.md index facdb44eba..00219f15f6 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/list-targets.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/list-targets.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/list-topic-logs.md b/docs/examples/1.5.x/server-swift/examples/messaging/list-topic-logs.md index 396ca6cec5..68f121c9ef 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/list-topic-logs.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/list-topic-logs.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/list-topics.md b/docs/examples/1.5.x/server-swift/examples/messaging/list-topics.md index 5ee09819b8..617b13c70d 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/list-topics.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/list-topics.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/update-a-p-n-s-provider.md b/docs/examples/1.5.x/server-swift/examples/messaging/update-a-p-n-s-provider.md index 09574c870c..05f474809a 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/update-a-p-n-s-provider.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/update-a-p-n-s-provider.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/update-apns-provider.md b/docs/examples/1.5.x/server-swift/examples/messaging/update-apns-provider.md index 071d2ee7ce..012e91e7bf 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/update-apns-provider.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/update-apns-provider.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/update-email.md b/docs/examples/1.5.x/server-swift/examples/messaging/update-email.md index 358bf5dea6..e925164180 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/update-email.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/update-email.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/update-f-c-m-provider.md b/docs/examples/1.5.x/server-swift/examples/messaging/update-f-c-m-provider.md index 69cbf382f5..6c240f8c6b 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/update-f-c-m-provider.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/update-f-c-m-provider.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/update-fcm-provider.md b/docs/examples/1.5.x/server-swift/examples/messaging/update-fcm-provider.md index 428eaca697..60a0ce46e2 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/update-fcm-provider.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/update-fcm-provider.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/update-mailgun-provider.md b/docs/examples/1.5.x/server-swift/examples/messaging/update-mailgun-provider.md index 63d27b8e84..bc385267ec 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/update-mailgun-provider.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/update-mailgun-provider.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/update-msg91provider.md b/docs/examples/1.5.x/server-swift/examples/messaging/update-msg91provider.md index 5d8cebb325..3818b7a9c1 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/update-msg91provider.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/update-msg91provider.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/update-push.md b/docs/examples/1.5.x/server-swift/examples/messaging/update-push.md index 5344fb369b..02893a180a 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/update-push.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/update-push.md @@ -1,9 +1,10 @@ import Appwrite +import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) @@ -23,6 +24,9 @@ let message = try await messaging.updatePush( tag: "<TAG>", // optional badge: 0, // optional draft: false, // optional - scheduledAt: "" // optional + scheduledAt: "", // optional + contentAvailable: false, // optional + critical: false, // optional + priority: .normal // optional ) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/update-s-m-s.md b/docs/examples/1.5.x/server-swift/examples/messaging/update-s-m-s.md index cdf0f9329d..e3475259cc 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/update-s-m-s.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/update-s-m-s.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/update-s-m-t-p-provider.md b/docs/examples/1.5.x/server-swift/examples/messaging/update-s-m-t-p-provider.md index 408bc0d3af..f6dcc74c71 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/update-s-m-t-p-provider.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/update-s-m-t-p-provider.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/update-sendgrid-provider.md b/docs/examples/1.5.x/server-swift/examples/messaging/update-sendgrid-provider.md index 0ec24c4a9a..af950c7db0 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/update-sendgrid-provider.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/update-sendgrid-provider.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/update-sms.md b/docs/examples/1.5.x/server-swift/examples/messaging/update-sms.md index cf588c954f..8f4476783e 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/update-sms.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/update-sms.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/update-smtp-provider.md b/docs/examples/1.5.x/server-swift/examples/messaging/update-smtp-provider.md index 3c71a8309e..95db5056cf 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/update-smtp-provider.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/update-smtp-provider.md @@ -3,8 +3,8 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/update-telesign-provider.md b/docs/examples/1.5.x/server-swift/examples/messaging/update-telesign-provider.md index 51dc3ba109..0d3279c98b 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/update-telesign-provider.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/update-telesign-provider.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/update-textmagic-provider.md b/docs/examples/1.5.x/server-swift/examples/messaging/update-textmagic-provider.md index 530da15950..738d27d7c1 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/update-textmagic-provider.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/update-textmagic-provider.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/update-topic.md b/docs/examples/1.5.x/server-swift/examples/messaging/update-topic.md index 5d645df59b..ad5edd1f90 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/update-topic.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/update-topic.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/update-twilio-provider.md b/docs/examples/1.5.x/server-swift/examples/messaging/update-twilio-provider.md index d505416f43..6320665e61 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/update-twilio-provider.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/update-twilio-provider.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/messaging/update-vonage-provider.md b/docs/examples/1.5.x/server-swift/examples/messaging/update-vonage-provider.md index 6a0e4ae9a2..ffdbe95d3d 100644 --- a/docs/examples/1.5.x/server-swift/examples/messaging/update-vonage-provider.md +++ b/docs/examples/1.5.x/server-swift/examples/messaging/update-vonage-provider.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let messaging = Messaging(client) diff --git a/docs/examples/1.5.x/server-swift/examples/storage/create-bucket.md b/docs/examples/1.5.x/server-swift/examples/storage/create-bucket.md index 57c8beefc5..4ebbdf8415 100644 --- a/docs/examples/1.5.x/server-swift/examples/storage/create-bucket.md +++ b/docs/examples/1.5.x/server-swift/examples/storage/create-bucket.md @@ -3,8 +3,8 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let storage = Storage(client) diff --git a/docs/examples/1.5.x/server-swift/examples/storage/create-file.md b/docs/examples/1.5.x/server-swift/examples/storage/create-file.md index cdf2215fc0..0716cf7d23 100644 --- a/docs/examples/1.5.x/server-swift/examples/storage/create-file.md +++ b/docs/examples/1.5.x/server-swift/examples/storage/create-file.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let storage = Storage(client) diff --git a/docs/examples/1.5.x/server-swift/examples/storage/delete-bucket.md b/docs/examples/1.5.x/server-swift/examples/storage/delete-bucket.md index 4bef175332..56c7d3ed6d 100644 --- a/docs/examples/1.5.x/server-swift/examples/storage/delete-bucket.md +++ b/docs/examples/1.5.x/server-swift/examples/storage/delete-bucket.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let storage = Storage(client) diff --git a/docs/examples/1.5.x/server-swift/examples/storage/delete-file.md b/docs/examples/1.5.x/server-swift/examples/storage/delete-file.md index 151bd96db1..35dca5e706 100644 --- a/docs/examples/1.5.x/server-swift/examples/storage/delete-file.md +++ b/docs/examples/1.5.x/server-swift/examples/storage/delete-file.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let storage = Storage(client) diff --git a/docs/examples/1.5.x/server-swift/examples/storage/get-bucket.md b/docs/examples/1.5.x/server-swift/examples/storage/get-bucket.md index 9e92b87dd7..e33af5cc3b 100644 --- a/docs/examples/1.5.x/server-swift/examples/storage/get-bucket.md +++ b/docs/examples/1.5.x/server-swift/examples/storage/get-bucket.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let storage = Storage(client) diff --git a/docs/examples/1.5.x/server-swift/examples/storage/get-file-download.md b/docs/examples/1.5.x/server-swift/examples/storage/get-file-download.md index 90379b0c51..40607d08dd 100644 --- a/docs/examples/1.5.x/server-swift/examples/storage/get-file-download.md +++ b/docs/examples/1.5.x/server-swift/examples/storage/get-file-download.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let storage = Storage(client) diff --git a/docs/examples/1.5.x/server-swift/examples/storage/get-file-preview.md b/docs/examples/1.5.x/server-swift/examples/storage/get-file-preview.md index 4377ce92ec..e3372093d8 100644 --- a/docs/examples/1.5.x/server-swift/examples/storage/get-file-preview.md +++ b/docs/examples/1.5.x/server-swift/examples/storage/get-file-preview.md @@ -3,7 +3,7 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let storage = Storage(client) diff --git a/docs/examples/1.5.x/server-swift/examples/storage/get-file-view.md b/docs/examples/1.5.x/server-swift/examples/storage/get-file-view.md index ff035c5c06..0c88e15b72 100644 --- a/docs/examples/1.5.x/server-swift/examples/storage/get-file-view.md +++ b/docs/examples/1.5.x/server-swift/examples/storage/get-file-view.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let storage = Storage(client) diff --git a/docs/examples/1.5.x/server-swift/examples/storage/get-file.md b/docs/examples/1.5.x/server-swift/examples/storage/get-file.md index 4ab1605215..a0c997c40b 100644 --- a/docs/examples/1.5.x/server-swift/examples/storage/get-file.md +++ b/docs/examples/1.5.x/server-swift/examples/storage/get-file.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let storage = Storage(client) diff --git a/docs/examples/1.5.x/server-swift/examples/storage/list-buckets.md b/docs/examples/1.5.x/server-swift/examples/storage/list-buckets.md index a538679339..2329b15ad6 100644 --- a/docs/examples/1.5.x/server-swift/examples/storage/list-buckets.md +++ b/docs/examples/1.5.x/server-swift/examples/storage/list-buckets.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let storage = Storage(client) diff --git a/docs/examples/1.5.x/server-swift/examples/storage/list-files.md b/docs/examples/1.5.x/server-swift/examples/storage/list-files.md index 18bbc357ca..546bd1c1ef 100644 --- a/docs/examples/1.5.x/server-swift/examples/storage/list-files.md +++ b/docs/examples/1.5.x/server-swift/examples/storage/list-files.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let storage = Storage(client) diff --git a/docs/examples/1.5.x/server-swift/examples/storage/update-bucket.md b/docs/examples/1.5.x/server-swift/examples/storage/update-bucket.md index 472a243d9a..4122d1f062 100644 --- a/docs/examples/1.5.x/server-swift/examples/storage/update-bucket.md +++ b/docs/examples/1.5.x/server-swift/examples/storage/update-bucket.md @@ -3,8 +3,8 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let storage = Storage(client) diff --git a/docs/examples/1.5.x/server-swift/examples/storage/update-file.md b/docs/examples/1.5.x/server-swift/examples/storage/update-file.md index 708138a58f..ca3fc2c293 100644 --- a/docs/examples/1.5.x/server-swift/examples/storage/update-file.md +++ b/docs/examples/1.5.x/server-swift/examples/storage/update-file.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let storage = Storage(client) diff --git a/docs/examples/1.5.x/server-swift/examples/teams/create-membership.md b/docs/examples/1.5.x/server-swift/examples/teams/create-membership.md index 215fcf25c4..5c86f2db33 100644 --- a/docs/examples/1.5.x/server-swift/examples/teams/create-membership.md +++ b/docs/examples/1.5.x/server-swift/examples/teams/create-membership.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let teams = Teams(client) diff --git a/docs/examples/1.5.x/server-swift/examples/teams/create.md b/docs/examples/1.5.x/server-swift/examples/teams/create.md index 5b46ca3f9a..2533c27902 100644 --- a/docs/examples/1.5.x/server-swift/examples/teams/create.md +++ b/docs/examples/1.5.x/server-swift/examples/teams/create.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let teams = Teams(client) diff --git a/docs/examples/1.5.x/server-swift/examples/teams/delete-membership.md b/docs/examples/1.5.x/server-swift/examples/teams/delete-membership.md index df1607bf09..e260b01ff8 100644 --- a/docs/examples/1.5.x/server-swift/examples/teams/delete-membership.md +++ b/docs/examples/1.5.x/server-swift/examples/teams/delete-membership.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let teams = Teams(client) diff --git a/docs/examples/1.5.x/server-swift/examples/teams/delete.md b/docs/examples/1.5.x/server-swift/examples/teams/delete.md index 9393066a92..b9fbcbe446 100644 --- a/docs/examples/1.5.x/server-swift/examples/teams/delete.md +++ b/docs/examples/1.5.x/server-swift/examples/teams/delete.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let teams = Teams(client) diff --git a/docs/examples/1.5.x/server-swift/examples/teams/get-membership.md b/docs/examples/1.5.x/server-swift/examples/teams/get-membership.md index 5a640c33b9..cce480cc70 100644 --- a/docs/examples/1.5.x/server-swift/examples/teams/get-membership.md +++ b/docs/examples/1.5.x/server-swift/examples/teams/get-membership.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let teams = Teams(client) diff --git a/docs/examples/1.5.x/server-swift/examples/teams/get-prefs.md b/docs/examples/1.5.x/server-swift/examples/teams/get-prefs.md index 966c06b94d..9ec230df38 100644 --- a/docs/examples/1.5.x/server-swift/examples/teams/get-prefs.md +++ b/docs/examples/1.5.x/server-swift/examples/teams/get-prefs.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let teams = Teams(client) diff --git a/docs/examples/1.5.x/server-swift/examples/teams/get.md b/docs/examples/1.5.x/server-swift/examples/teams/get.md index 0b0f921bef..8dce2c137b 100644 --- a/docs/examples/1.5.x/server-swift/examples/teams/get.md +++ b/docs/examples/1.5.x/server-swift/examples/teams/get.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let teams = Teams(client) diff --git a/docs/examples/1.5.x/server-swift/examples/teams/list-memberships.md b/docs/examples/1.5.x/server-swift/examples/teams/list-memberships.md index 1edb4d7052..08b3235e51 100644 --- a/docs/examples/1.5.x/server-swift/examples/teams/list-memberships.md +++ b/docs/examples/1.5.x/server-swift/examples/teams/list-memberships.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let teams = Teams(client) diff --git a/docs/examples/1.5.x/server-swift/examples/teams/list.md b/docs/examples/1.5.x/server-swift/examples/teams/list.md index 5c69c524d8..8b6d0a1674 100644 --- a/docs/examples/1.5.x/server-swift/examples/teams/list.md +++ b/docs/examples/1.5.x/server-swift/examples/teams/list.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let teams = Teams(client) diff --git a/docs/examples/1.5.x/server-swift/examples/teams/update-membership-status.md b/docs/examples/1.5.x/server-swift/examples/teams/update-membership-status.md index 1630b8c615..1ae6d6e993 100644 --- a/docs/examples/1.5.x/server-swift/examples/teams/update-membership-status.md +++ b/docs/examples/1.5.x/server-swift/examples/teams/update-membership-status.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let teams = Teams(client) diff --git a/docs/examples/1.5.x/server-swift/examples/teams/update-membership.md b/docs/examples/1.5.x/server-swift/examples/teams/update-membership.md index 5948c43c6f..92b747458a 100644 --- a/docs/examples/1.5.x/server-swift/examples/teams/update-membership.md +++ b/docs/examples/1.5.x/server-swift/examples/teams/update-membership.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let teams = Teams(client) diff --git a/docs/examples/1.5.x/server-swift/examples/teams/update-name.md b/docs/examples/1.5.x/server-swift/examples/teams/update-name.md index 3425f5d5bd..bc9731bd56 100644 --- a/docs/examples/1.5.x/server-swift/examples/teams/update-name.md +++ b/docs/examples/1.5.x/server-swift/examples/teams/update-name.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let teams = Teams(client) diff --git a/docs/examples/1.5.x/server-swift/examples/teams/update-prefs.md b/docs/examples/1.5.x/server-swift/examples/teams/update-prefs.md index fce81c6e04..b86e93793e 100644 --- a/docs/examples/1.5.x/server-swift/examples/teams/update-prefs.md +++ b/docs/examples/1.5.x/server-swift/examples/teams/update-prefs.md @@ -2,7 +2,7 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID + .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with let teams = Teams(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/create-argon2user.md b/docs/examples/1.5.x/server-swift/examples/users/create-argon2user.md index f122745de6..6f584e4724 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/create-argon2user.md +++ b/docs/examples/1.5.x/server-swift/examples/users/create-argon2user.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/create-bcrypt-user.md b/docs/examples/1.5.x/server-swift/examples/users/create-bcrypt-user.md index 24f5343607..cd0960f354 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.5.x/server-swift/examples/users/create-bcrypt-user.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/create-j-w-t.md b/docs/examples/1.5.x/server-swift/examples/users/create-j-w-t.md new file mode 100644 index 0000000000..77ef4da98f --- /dev/null +++ b/docs/examples/1.5.x/server-swift/examples/users/create-j-w-t.md @@ -0,0 +1,15 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key + +let users = Users(client) + +let jwt = try await users.createJWT( + userId: "<USER_ID>", + sessionId: "<SESSION_ID>", // optional + duration: 0 // optional +) + diff --git a/docs/examples/1.5.x/server-swift/examples/users/create-m-d5user.md b/docs/examples/1.5.x/server-swift/examples/users/create-m-d5user.md index 48eadabd15..a305f6a744 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/create-m-d5user.md +++ b/docs/examples/1.5.x/server-swift/examples/users/create-m-d5user.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/create-mfa-recovery-codes.md b/docs/examples/1.5.x/server-swift/examples/users/create-mfa-recovery-codes.md index fd3b6fe96d..cb25d43cb1 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/create-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-swift/examples/users/create-mfa-recovery-codes.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/create-p-h-pass-user.md b/docs/examples/1.5.x/server-swift/examples/users/create-p-h-pass-user.md index 491c29f8ae..5a95af73e4 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.5.x/server-swift/examples/users/create-p-h-pass-user.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/create-s-h-a-user.md b/docs/examples/1.5.x/server-swift/examples/users/create-s-h-a-user.md index b841a0f41b..70d6f284db 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.5.x/server-swift/examples/users/create-s-h-a-user.md @@ -3,8 +3,8 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/create-scrypt-modified-user.md b/docs/examples/1.5.x/server-swift/examples/users/create-scrypt-modified-user.md index 8b1472427d..62709130e3 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.5.x/server-swift/examples/users/create-scrypt-modified-user.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/create-scrypt-user.md b/docs/examples/1.5.x/server-swift/examples/users/create-scrypt-user.md index 579336e967..41a086560d 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/create-scrypt-user.md +++ b/docs/examples/1.5.x/server-swift/examples/users/create-scrypt-user.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/create-session.md b/docs/examples/1.5.x/server-swift/examples/users/create-session.md index 3e506dcc67..764d4d87d6 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/create-session.md +++ b/docs/examples/1.5.x/server-swift/examples/users/create-session.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/create-target.md b/docs/examples/1.5.x/server-swift/examples/users/create-target.md index e52aa11384..f6bc443ea4 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/create-target.md +++ b/docs/examples/1.5.x/server-swift/examples/users/create-target.md @@ -3,8 +3,8 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/create-token.md b/docs/examples/1.5.x/server-swift/examples/users/create-token.md index 94d3499b02..0d8c363537 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/create-token.md +++ b/docs/examples/1.5.x/server-swift/examples/users/create-token.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/create.md b/docs/examples/1.5.x/server-swift/examples/users/create.md index 1393f6a646..8c07a780b6 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/create.md +++ b/docs/examples/1.5.x/server-swift/examples/users/create.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/delete-authenticator.md b/docs/examples/1.5.x/server-swift/examples/users/delete-authenticator.md index 2b311241b8..86d44fbcdf 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/delete-authenticator.md +++ b/docs/examples/1.5.x/server-swift/examples/users/delete-authenticator.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.5.x/server-swift/examples/users/delete-identity.md b/docs/examples/1.5.x/server-swift/examples/users/delete-identity.md index 9fa0d4c7c8..c5bf2b3526 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/delete-identity.md +++ b/docs/examples/1.5.x/server-swift/examples/users/delete-identity.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/delete-mfa-authenticator.md b/docs/examples/1.5.x/server-swift/examples/users/delete-mfa-authenticator.md index f55282af77..5f1d6a0eeb 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/delete-mfa-authenticator.md +++ b/docs/examples/1.5.x/server-swift/examples/users/delete-mfa-authenticator.md @@ -3,12 +3,12 @@ import AppwriteEnums let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) -let user = try await users.deleteMfaAuthenticator( +let result = try await users.deleteMfaAuthenticator( userId: "<USER_ID>", type: .totp ) diff --git a/docs/examples/1.5.x/server-swift/examples/users/delete-session.md b/docs/examples/1.5.x/server-swift/examples/users/delete-session.md index 6308430e74..3f191a2502 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/delete-session.md +++ b/docs/examples/1.5.x/server-swift/examples/users/delete-session.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/delete-sessions.md b/docs/examples/1.5.x/server-swift/examples/users/delete-sessions.md index 0aaea4f1c0..6c4e8bfc08 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/delete-sessions.md +++ b/docs/examples/1.5.x/server-swift/examples/users/delete-sessions.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/delete-target.md b/docs/examples/1.5.x/server-swift/examples/users/delete-target.md index 2f9f843d85..274bb60a8d 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/delete-target.md +++ b/docs/examples/1.5.x/server-swift/examples/users/delete-target.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/delete.md b/docs/examples/1.5.x/server-swift/examples/users/delete.md index 5d26ebc570..2b28a98532 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/delete.md +++ b/docs/examples/1.5.x/server-swift/examples/users/delete.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/get-mfa-recovery-codes.md b/docs/examples/1.5.x/server-swift/examples/users/get-mfa-recovery-codes.md index 93300d1217..dc7f471134 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/get-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-swift/examples/users/get-mfa-recovery-codes.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/get-prefs.md b/docs/examples/1.5.x/server-swift/examples/users/get-prefs.md index fa718a6900..aec033a96d 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/get-prefs.md +++ b/docs/examples/1.5.x/server-swift/examples/users/get-prefs.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/get-target.md b/docs/examples/1.5.x/server-swift/examples/users/get-target.md index 0f4e373d09..d6753814c8 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/get-target.md +++ b/docs/examples/1.5.x/server-swift/examples/users/get-target.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/get.md b/docs/examples/1.5.x/server-swift/examples/users/get.md index 730a7e463b..095c84c8dc 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/get.md +++ b/docs/examples/1.5.x/server-swift/examples/users/get.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/list-factors.md b/docs/examples/1.5.x/server-swift/examples/users/list-factors.md index c5a9971a2a..8374c37462 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/list-factors.md +++ b/docs/examples/1.5.x/server-swift/examples/users/list-factors.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.5.x/server-swift/examples/users/list-identities.md b/docs/examples/1.5.x/server-swift/examples/users/list-identities.md index 7a18c6aada..b31890275e 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/list-identities.md +++ b/docs/examples/1.5.x/server-swift/examples/users/list-identities.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/list-logs.md b/docs/examples/1.5.x/server-swift/examples/users/list-logs.md index e6fb9437c6..5e80043d79 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/list-logs.md +++ b/docs/examples/1.5.x/server-swift/examples/users/list-logs.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/list-memberships.md b/docs/examples/1.5.x/server-swift/examples/users/list-memberships.md index 9d8607317e..5ca0152cd7 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/list-memberships.md +++ b/docs/examples/1.5.x/server-swift/examples/users/list-memberships.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/list-mfa-factors.md b/docs/examples/1.5.x/server-swift/examples/users/list-mfa-factors.md index 698df04978..4cf7d7ce6e 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/list-mfa-factors.md +++ b/docs/examples/1.5.x/server-swift/examples/users/list-mfa-factors.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/list-providers.md b/docs/examples/1.5.x/server-swift/examples/users/list-providers.md index 23b476a927..55ad345652 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/list-providers.md +++ b/docs/examples/1.5.x/server-swift/examples/users/list-providers.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key diff --git a/docs/examples/1.5.x/server-swift/examples/users/list-sessions.md b/docs/examples/1.5.x/server-swift/examples/users/list-sessions.md index 8a76f75475..035716ed16 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/list-sessions.md +++ b/docs/examples/1.5.x/server-swift/examples/users/list-sessions.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/list-targets.md b/docs/examples/1.5.x/server-swift/examples/users/list-targets.md index 6ff1aa4ea6..3ab651c6e7 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/list-targets.md +++ b/docs/examples/1.5.x/server-swift/examples/users/list-targets.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/list.md b/docs/examples/1.5.x/server-swift/examples/users/list.md index de98510ac9..aaa619e202 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/list.md +++ b/docs/examples/1.5.x/server-swift/examples/users/list.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/update-email-verification.md b/docs/examples/1.5.x/server-swift/examples/users/update-email-verification.md index 86ed9effe2..cd4b51b00a 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/update-email-verification.md +++ b/docs/examples/1.5.x/server-swift/examples/users/update-email-verification.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/update-email.md b/docs/examples/1.5.x/server-swift/examples/users/update-email.md index 5ac30bbf1e..3a80ae5c5d 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/update-email.md +++ b/docs/examples/1.5.x/server-swift/examples/users/update-email.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/update-labels.md b/docs/examples/1.5.x/server-swift/examples/users/update-labels.md index 7180c87710..5b3000df73 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/update-labels.md +++ b/docs/examples/1.5.x/server-swift/examples/users/update-labels.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/update-mfa-recovery-codes.md b/docs/examples/1.5.x/server-swift/examples/users/update-mfa-recovery-codes.md index d933d2d12c..528319c7aa 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/update-mfa-recovery-codes.md +++ b/docs/examples/1.5.x/server-swift/examples/users/update-mfa-recovery-codes.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/update-mfa.md b/docs/examples/1.5.x/server-swift/examples/users/update-mfa.md index 1cd25a6ad2..3fd2571768 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/update-mfa.md +++ b/docs/examples/1.5.x/server-swift/examples/users/update-mfa.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/update-name.md b/docs/examples/1.5.x/server-swift/examples/users/update-name.md index 75c801dda6..bf697be84e 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/update-name.md +++ b/docs/examples/1.5.x/server-swift/examples/users/update-name.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/update-password.md b/docs/examples/1.5.x/server-swift/examples/users/update-password.md index 9fc74833f3..0f35cefc0a 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/update-password.md +++ b/docs/examples/1.5.x/server-swift/examples/users/update-password.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/update-phone-verification.md b/docs/examples/1.5.x/server-swift/examples/users/update-phone-verification.md index 80c2f13e46..7f99390ff5 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/update-phone-verification.md +++ b/docs/examples/1.5.x/server-swift/examples/users/update-phone-verification.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/update-phone.md b/docs/examples/1.5.x/server-swift/examples/users/update-phone.md index bf175e6ad1..2097c452ff 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/update-phone.md +++ b/docs/examples/1.5.x/server-swift/examples/users/update-phone.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/update-prefs.md b/docs/examples/1.5.x/server-swift/examples/users/update-prefs.md index 2a675326ea..d4818db4f2 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/update-prefs.md +++ b/docs/examples/1.5.x/server-swift/examples/users/update-prefs.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/update-status.md b/docs/examples/1.5.x/server-swift/examples/users/update-status.md index 3de9ce63bc..2408d05566 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/update-status.md +++ b/docs/examples/1.5.x/server-swift/examples/users/update-status.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.5.x/server-swift/examples/users/update-target.md b/docs/examples/1.5.x/server-swift/examples/users/update-target.md index c08e6cca2e..bd3cc7c470 100644 --- a/docs/examples/1.5.x/server-swift/examples/users/update-target.md +++ b/docs/examples/1.5.x/server-swift/examples/users/update-target.md @@ -2,8 +2,8 @@ import Appwrite let client = Client() .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint - .setProject("5df5acd0d48c2") // Your project ID - .setKey("919c2d18fb5d4...a2ae413da83346ad2") // Your secret API key + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key let users = Users(client) diff --git a/docs/examples/1.6.x/client-android/java/account/create-anonymous-session.md b/docs/examples/1.6.x/client-android/java/account/create-anonymous-session.md index 1639cdc1f0..9d805882b8 100644 --- a/docs/examples/1.6.x/client-android/java/account/create-anonymous-session.md +++ b/docs/examples/1.6.x/client-android/java/account/create-anonymous-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/create-email-password-session.md b/docs/examples/1.6.x/client-android/java/account/create-email-password-session.md index 817bda0123..428b6fddb6 100644 --- a/docs/examples/1.6.x/client-android/java/account/create-email-password-session.md +++ b/docs/examples/1.6.x/client-android/java/account/create-email-password-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/create-email-token.md b/docs/examples/1.6.x/client-android/java/account/create-email-token.md index a4bc83b601..869f4a8991 100644 --- a/docs/examples/1.6.x/client-android/java/account/create-email-token.md +++ b/docs/examples/1.6.x/client-android/java/account/create-email-token.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/create-j-w-t.md b/docs/examples/1.6.x/client-android/java/account/create-j-w-t.md index 9aeb29c77a..9e3bd287f3 100644 --- a/docs/examples/1.6.x/client-android/java/account/create-j-w-t.md +++ b/docs/examples/1.6.x/client-android/java/account/create-j-w-t.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/create-magic-u-r-l-token.md b/docs/examples/1.6.x/client-android/java/account/create-magic-u-r-l-token.md index e57758aca4..6253e00d58 100644 --- a/docs/examples/1.6.x/client-android/java/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.6.x/client-android/java/account/create-magic-u-r-l-token.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/create-mfa-authenticator.md b/docs/examples/1.6.x/client-android/java/account/create-mfa-authenticator.md index b8b06c34f3..54781f2dc8 100644 --- a/docs/examples/1.6.x/client-android/java/account/create-mfa-authenticator.md +++ b/docs/examples/1.6.x/client-android/java/account/create-mfa-authenticator.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; import io.appwrite.enums.AuthenticatorType; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/create-mfa-challenge.md b/docs/examples/1.6.x/client-android/java/account/create-mfa-challenge.md index d9d9bb6732..87a56fe350 100644 --- a/docs/examples/1.6.x/client-android/java/account/create-mfa-challenge.md +++ b/docs/examples/1.6.x/client-android/java/account/create-mfa-challenge.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; import io.appwrite.enums.AuthenticationFactor; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/create-mfa-recovery-codes.md b/docs/examples/1.6.x/client-android/java/account/create-mfa-recovery-codes.md index 6e23ad2a99..ab50734215 100644 --- a/docs/examples/1.6.x/client-android/java/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/client-android/java/account/create-mfa-recovery-codes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/create-o-auth2session.md b/docs/examples/1.6.x/client-android/java/account/create-o-auth2session.md index 59f5b418e7..4420859ce3 100644 --- a/docs/examples/1.6.x/client-android/java/account/create-o-auth2session.md +++ b/docs/examples/1.6.x/client-android/java/account/create-o-auth2session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; import io.appwrite.enums.OAuthProvider; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/create-o-auth2token.md b/docs/examples/1.6.x/client-android/java/account/create-o-auth2token.md index 610319682c..e5590c8ceb 100644 --- a/docs/examples/1.6.x/client-android/java/account/create-o-auth2token.md +++ b/docs/examples/1.6.x/client-android/java/account/create-o-auth2token.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; import io.appwrite.enums.OAuthProvider; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/create-phone-token.md b/docs/examples/1.6.x/client-android/java/account/create-phone-token.md index a1ad85be75..19d90b3475 100644 --- a/docs/examples/1.6.x/client-android/java/account/create-phone-token.md +++ b/docs/examples/1.6.x/client-android/java/account/create-phone-token.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/create-phone-verification.md b/docs/examples/1.6.x/client-android/java/account/create-phone-verification.md index cca9283392..8c16b6c268 100644 --- a/docs/examples/1.6.x/client-android/java/account/create-phone-verification.md +++ b/docs/examples/1.6.x/client-android/java/account/create-phone-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/create-push-target.md b/docs/examples/1.6.x/client-android/java/account/create-push-target.md index 34e8fcb25d..d434a5c6f6 100644 --- a/docs/examples/1.6.x/client-android/java/account/create-push-target.md +++ b/docs/examples/1.6.x/client-android/java/account/create-push-target.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/create-recovery.md b/docs/examples/1.6.x/client-android/java/account/create-recovery.md index 4d2af8b160..5592c6eb66 100644 --- a/docs/examples/1.6.x/client-android/java/account/create-recovery.md +++ b/docs/examples/1.6.x/client-android/java/account/create-recovery.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/create-session.md b/docs/examples/1.6.x/client-android/java/account/create-session.md index 71d11a541c..0c59a802b1 100644 --- a/docs/examples/1.6.x/client-android/java/account/create-session.md +++ b/docs/examples/1.6.x/client-android/java/account/create-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/create-verification.md b/docs/examples/1.6.x/client-android/java/account/create-verification.md index be4f7c91b9..e91acc85f9 100644 --- a/docs/examples/1.6.x/client-android/java/account/create-verification.md +++ b/docs/examples/1.6.x/client-android/java/account/create-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/create.md b/docs/examples/1.6.x/client-android/java/account/create.md index e7212486bc..ad04805ce3 100644 --- a/docs/examples/1.6.x/client-android/java/account/create.md +++ b/docs/examples/1.6.x/client-android/java/account/create.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/delete-identity.md b/docs/examples/1.6.x/client-android/java/account/delete-identity.md index 6a62ea2a00..d556722769 100644 --- a/docs/examples/1.6.x/client-android/java/account/delete-identity.md +++ b/docs/examples/1.6.x/client-android/java/account/delete-identity.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/delete-mfa-authenticator.md b/docs/examples/1.6.x/client-android/java/account/delete-mfa-authenticator.md index bb6cb09f0a..4a9693bf8c 100644 --- a/docs/examples/1.6.x/client-android/java/account/delete-mfa-authenticator.md +++ b/docs/examples/1.6.x/client-android/java/account/delete-mfa-authenticator.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; import io.appwrite.enums.AuthenticatorType; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/delete-push-target.md b/docs/examples/1.6.x/client-android/java/account/delete-push-target.md index c320800419..00ab902792 100644 --- a/docs/examples/1.6.x/client-android/java/account/delete-push-target.md +++ b/docs/examples/1.6.x/client-android/java/account/delete-push-target.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/delete-session.md b/docs/examples/1.6.x/client-android/java/account/delete-session.md index 2efc0f6463..99d2f8e888 100644 --- a/docs/examples/1.6.x/client-android/java/account/delete-session.md +++ b/docs/examples/1.6.x/client-android/java/account/delete-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/delete-sessions.md b/docs/examples/1.6.x/client-android/java/account/delete-sessions.md index d4c438070e..e93f3e33ac 100644 --- a/docs/examples/1.6.x/client-android/java/account/delete-sessions.md +++ b/docs/examples/1.6.x/client-android/java/account/delete-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/get-mfa-recovery-codes.md b/docs/examples/1.6.x/client-android/java/account/get-mfa-recovery-codes.md index acf5984f69..8274bb351a 100644 --- a/docs/examples/1.6.x/client-android/java/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/client-android/java/account/get-mfa-recovery-codes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/get-prefs.md b/docs/examples/1.6.x/client-android/java/account/get-prefs.md index 0fea3fe40a..5bb11a4a95 100644 --- a/docs/examples/1.6.x/client-android/java/account/get-prefs.md +++ b/docs/examples/1.6.x/client-android/java/account/get-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/get-session.md b/docs/examples/1.6.x/client-android/java/account/get-session.md index 3ce4ab5177..288cd3b3ba 100644 --- a/docs/examples/1.6.x/client-android/java/account/get-session.md +++ b/docs/examples/1.6.x/client-android/java/account/get-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/get.md b/docs/examples/1.6.x/client-android/java/account/get.md index 5c25ed08cd..6b5eb3b7fa 100644 --- a/docs/examples/1.6.x/client-android/java/account/get.md +++ b/docs/examples/1.6.x/client-android/java/account/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/list-identities.md b/docs/examples/1.6.x/client-android/java/account/list-identities.md index 7f9449dc22..d4a6f9f31d 100644 --- a/docs/examples/1.6.x/client-android/java/account/list-identities.md +++ b/docs/examples/1.6.x/client-android/java/account/list-identities.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/list-logs.md b/docs/examples/1.6.x/client-android/java/account/list-logs.md index 3aa66e2b8d..951a479f98 100644 --- a/docs/examples/1.6.x/client-android/java/account/list-logs.md +++ b/docs/examples/1.6.x/client-android/java/account/list-logs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/list-mfa-factors.md b/docs/examples/1.6.x/client-android/java/account/list-mfa-factors.md index a10cb8d520..9ea8331620 100644 --- a/docs/examples/1.6.x/client-android/java/account/list-mfa-factors.md +++ b/docs/examples/1.6.x/client-android/java/account/list-mfa-factors.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/list-sessions.md b/docs/examples/1.6.x/client-android/java/account/list-sessions.md index aa8d37b373..8946d96e7c 100644 --- a/docs/examples/1.6.x/client-android/java/account/list-sessions.md +++ b/docs/examples/1.6.x/client-android/java/account/list-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/update-email.md b/docs/examples/1.6.x/client-android/java/account/update-email.md index 98cf9076c4..ac80e451d0 100644 --- a/docs/examples/1.6.x/client-android/java/account/update-email.md +++ b/docs/examples/1.6.x/client-android/java/account/update-email.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/update-m-f-a.md b/docs/examples/1.6.x/client-android/java/account/update-m-f-a.md index 620a20c267..b765cda94a 100644 --- a/docs/examples/1.6.x/client-android/java/account/update-m-f-a.md +++ b/docs/examples/1.6.x/client-android/java/account/update-m-f-a.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/update-magic-u-r-l-session.md b/docs/examples/1.6.x/client-android/java/account/update-magic-u-r-l-session.md index 1b79b73b1c..5893aa6e6b 100644 --- a/docs/examples/1.6.x/client-android/java/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.6.x/client-android/java/account/update-magic-u-r-l-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/update-mfa-authenticator.md b/docs/examples/1.6.x/client-android/java/account/update-mfa-authenticator.md index 74321be38b..b8016e75f2 100644 --- a/docs/examples/1.6.x/client-android/java/account/update-mfa-authenticator.md +++ b/docs/examples/1.6.x/client-android/java/account/update-mfa-authenticator.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; import io.appwrite.enums.AuthenticatorType; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/update-mfa-challenge.md b/docs/examples/1.6.x/client-android/java/account/update-mfa-challenge.md index a92f007092..c6401504d8 100644 --- a/docs/examples/1.6.x/client-android/java/account/update-mfa-challenge.md +++ b/docs/examples/1.6.x/client-android/java/account/update-mfa-challenge.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/update-mfa-recovery-codes.md b/docs/examples/1.6.x/client-android/java/account/update-mfa-recovery-codes.md index 2aa82b1d44..650ae24128 100644 --- a/docs/examples/1.6.x/client-android/java/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/client-android/java/account/update-mfa-recovery-codes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/update-name.md b/docs/examples/1.6.x/client-android/java/account/update-name.md index 40a5e2ea55..47582c2b30 100644 --- a/docs/examples/1.6.x/client-android/java/account/update-name.md +++ b/docs/examples/1.6.x/client-android/java/account/update-name.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/update-password.md b/docs/examples/1.6.x/client-android/java/account/update-password.md index 355c06de71..09f572eb31 100644 --- a/docs/examples/1.6.x/client-android/java/account/update-password.md +++ b/docs/examples/1.6.x/client-android/java/account/update-password.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/update-phone-session.md b/docs/examples/1.6.x/client-android/java/account/update-phone-session.md index 042238e397..2e1b880017 100644 --- a/docs/examples/1.6.x/client-android/java/account/update-phone-session.md +++ b/docs/examples/1.6.x/client-android/java/account/update-phone-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/update-phone-verification.md b/docs/examples/1.6.x/client-android/java/account/update-phone-verification.md index ba7b69cb34..f93ae6906f 100644 --- a/docs/examples/1.6.x/client-android/java/account/update-phone-verification.md +++ b/docs/examples/1.6.x/client-android/java/account/update-phone-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/update-phone.md b/docs/examples/1.6.x/client-android/java/account/update-phone.md index b3ce0f6816..fae9bfaaec 100644 --- a/docs/examples/1.6.x/client-android/java/account/update-phone.md +++ b/docs/examples/1.6.x/client-android/java/account/update-phone.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/update-prefs.md b/docs/examples/1.6.x/client-android/java/account/update-prefs.md index d74606739f..f1a16c7de0 100644 --- a/docs/examples/1.6.x/client-android/java/account/update-prefs.md +++ b/docs/examples/1.6.x/client-android/java/account/update-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/update-push-target.md b/docs/examples/1.6.x/client-android/java/account/update-push-target.md index f9491e06b7..197a9095a7 100644 --- a/docs/examples/1.6.x/client-android/java/account/update-push-target.md +++ b/docs/examples/1.6.x/client-android/java/account/update-push-target.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/update-recovery.md b/docs/examples/1.6.x/client-android/java/account/update-recovery.md index e172f12ccf..953bde4f26 100644 --- a/docs/examples/1.6.x/client-android/java/account/update-recovery.md +++ b/docs/examples/1.6.x/client-android/java/account/update-recovery.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/update-session.md b/docs/examples/1.6.x/client-android/java/account/update-session.md index b3e8706d2b..ed82840836 100644 --- a/docs/examples/1.6.x/client-android/java/account/update-session.md +++ b/docs/examples/1.6.x/client-android/java/account/update-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/update-status.md b/docs/examples/1.6.x/client-android/java/account/update-status.md index 2216649284..9a283c092c 100644 --- a/docs/examples/1.6.x/client-android/java/account/update-status.md +++ b/docs/examples/1.6.x/client-android/java/account/update-status.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/account/update-verification.md b/docs/examples/1.6.x/client-android/java/account/update-verification.md index 2594943243..caa3869e25 100644 --- a/docs/examples/1.6.x/client-android/java/account/update-verification.md +++ b/docs/examples/1.6.x/client-android/java/account/update-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/client-android/java/avatars/get-browser.md b/docs/examples/1.6.x/client-android/java/avatars/get-browser.md index f7e8651dfa..4c8579649e 100644 --- a/docs/examples/1.6.x/client-android/java/avatars/get-browser.md +++ b/docs/examples/1.6.x/client-android/java/avatars/get-browser.md @@ -4,7 +4,7 @@ import io.appwrite.services.Avatars; import io.appwrite.enums.Browser; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.6.x/client-android/java/avatars/get-credit-card.md b/docs/examples/1.6.x/client-android/java/avatars/get-credit-card.md index 5b1ee0660e..a8bc30308f 100644 --- a/docs/examples/1.6.x/client-android/java/avatars/get-credit-card.md +++ b/docs/examples/1.6.x/client-android/java/avatars/get-credit-card.md @@ -4,7 +4,7 @@ import io.appwrite.services.Avatars; import io.appwrite.enums.CreditCard; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.6.x/client-android/java/avatars/get-favicon.md b/docs/examples/1.6.x/client-android/java/avatars/get-favicon.md index 05bf590d72..70373a607b 100644 --- a/docs/examples/1.6.x/client-android/java/avatars/get-favicon.md +++ b/docs/examples/1.6.x/client-android/java/avatars/get-favicon.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.6.x/client-android/java/avatars/get-flag.md b/docs/examples/1.6.x/client-android/java/avatars/get-flag.md index 6a2185c543..61ced3b604 100644 --- a/docs/examples/1.6.x/client-android/java/avatars/get-flag.md +++ b/docs/examples/1.6.x/client-android/java/avatars/get-flag.md @@ -4,7 +4,7 @@ import io.appwrite.services.Avatars; import io.appwrite.enums.Flag; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.6.x/client-android/java/avatars/get-image.md b/docs/examples/1.6.x/client-android/java/avatars/get-image.md index 78fbf98f90..71a90dd1c2 100644 --- a/docs/examples/1.6.x/client-android/java/avatars/get-image.md +++ b/docs/examples/1.6.x/client-android/java/avatars/get-image.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.6.x/client-android/java/avatars/get-initials.md b/docs/examples/1.6.x/client-android/java/avatars/get-initials.md index 621798be3a..ca16ee7e36 100644 --- a/docs/examples/1.6.x/client-android/java/avatars/get-initials.md +++ b/docs/examples/1.6.x/client-android/java/avatars/get-initials.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.6.x/client-android/java/avatars/get-q-r.md b/docs/examples/1.6.x/client-android/java/avatars/get-q-r.md index fc8bc4397e..781acf6741 100644 --- a/docs/examples/1.6.x/client-android/java/avatars/get-q-r.md +++ b/docs/examples/1.6.x/client-android/java/avatars/get-q-r.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Avatars avatars = new Avatars(client); diff --git a/docs/examples/1.6.x/client-android/java/databases/create-document.md b/docs/examples/1.6.x/client-android/java/databases/create-document.md index 6c7e068be8..4804d751e3 100644 --- a/docs/examples/1.6.x/client-android/java/databases/create-document.md +++ b/docs/examples/1.6.x/client-android/java/databases/create-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Databases databases = new Databases(client); diff --git a/docs/examples/1.6.x/client-android/java/databases/delete-document.md b/docs/examples/1.6.x/client-android/java/databases/delete-document.md index 0cbd6b5071..5288e53bed 100644 --- a/docs/examples/1.6.x/client-android/java/databases/delete-document.md +++ b/docs/examples/1.6.x/client-android/java/databases/delete-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Databases databases = new Databases(client); diff --git a/docs/examples/1.6.x/client-android/java/databases/get-document.md b/docs/examples/1.6.x/client-android/java/databases/get-document.md index 0918c88450..e7ae2079ed 100644 --- a/docs/examples/1.6.x/client-android/java/databases/get-document.md +++ b/docs/examples/1.6.x/client-android/java/databases/get-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Databases databases = new Databases(client); diff --git a/docs/examples/1.6.x/client-android/java/databases/list-documents.md b/docs/examples/1.6.x/client-android/java/databases/list-documents.md index 9cc722b0f3..606d67705d 100644 --- a/docs/examples/1.6.x/client-android/java/databases/list-documents.md +++ b/docs/examples/1.6.x/client-android/java/databases/list-documents.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Databases databases = new Databases(client); diff --git a/docs/examples/1.6.x/client-android/java/databases/update-document.md b/docs/examples/1.6.x/client-android/java/databases/update-document.md index ccfb4982c9..baa827cdf5 100644 --- a/docs/examples/1.6.x/client-android/java/databases/update-document.md +++ b/docs/examples/1.6.x/client-android/java/databases/update-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Databases databases = new Databases(client); diff --git a/docs/examples/1.6.x/client-android/java/functions/create-execution.md b/docs/examples/1.6.x/client-android/java/functions/create-execution.md index 845f02ea70..c138b0ef86 100644 --- a/docs/examples/1.6.x/client-android/java/functions/create-execution.md +++ b/docs/examples/1.6.x/client-android/java/functions/create-execution.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Functions functions = new Functions(client); diff --git a/docs/examples/1.6.x/client-android/java/functions/get-execution.md b/docs/examples/1.6.x/client-android/java/functions/get-execution.md index c53ef0e093..f3195fa126 100644 --- a/docs/examples/1.6.x/client-android/java/functions/get-execution.md +++ b/docs/examples/1.6.x/client-android/java/functions/get-execution.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Functions functions = new Functions(client); diff --git a/docs/examples/1.6.x/client-android/java/functions/list-executions.md b/docs/examples/1.6.x/client-android/java/functions/list-executions.md index b796dc96b3..f23e5fb9af 100644 --- a/docs/examples/1.6.x/client-android/java/functions/list-executions.md +++ b/docs/examples/1.6.x/client-android/java/functions/list-executions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Functions functions = new Functions(client); diff --git a/docs/examples/1.6.x/client-android/java/graphql/mutation.md b/docs/examples/1.6.x/client-android/java/graphql/mutation.md index b79903b711..25f095e1b1 100644 --- a/docs/examples/1.6.x/client-android/java/graphql/mutation.md +++ b/docs/examples/1.6.x/client-android/java/graphql/mutation.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Graphql; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Graphql graphql = new Graphql(client); diff --git a/docs/examples/1.6.x/client-android/java/graphql/query.md b/docs/examples/1.6.x/client-android/java/graphql/query.md index 82bad13666..6b2a04d0b6 100644 --- a/docs/examples/1.6.x/client-android/java/graphql/query.md +++ b/docs/examples/1.6.x/client-android/java/graphql/query.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Graphql; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Graphql graphql = new Graphql(client); diff --git a/docs/examples/1.6.x/client-android/java/locale/get.md b/docs/examples/1.6.x/client-android/java/locale/get.md index 29b542f41f..89e1e88b26 100644 --- a/docs/examples/1.6.x/client-android/java/locale/get.md +++ b/docs/examples/1.6.x/client-android/java/locale/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.6.x/client-android/java/locale/list-codes.md b/docs/examples/1.6.x/client-android/java/locale/list-codes.md index d8c9a0bc6b..85a96fce77 100644 --- a/docs/examples/1.6.x/client-android/java/locale/list-codes.md +++ b/docs/examples/1.6.x/client-android/java/locale/list-codes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.6.x/client-android/java/locale/list-continents.md b/docs/examples/1.6.x/client-android/java/locale/list-continents.md index cf43045f6a..6f4572d572 100644 --- a/docs/examples/1.6.x/client-android/java/locale/list-continents.md +++ b/docs/examples/1.6.x/client-android/java/locale/list-continents.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.6.x/client-android/java/locale/list-countries-e-u.md b/docs/examples/1.6.x/client-android/java/locale/list-countries-e-u.md index b7b56ab817..51458a929d 100644 --- a/docs/examples/1.6.x/client-android/java/locale/list-countries-e-u.md +++ b/docs/examples/1.6.x/client-android/java/locale/list-countries-e-u.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.6.x/client-android/java/locale/list-countries-phones.md b/docs/examples/1.6.x/client-android/java/locale/list-countries-phones.md index c3598c0739..93438d2130 100644 --- a/docs/examples/1.6.x/client-android/java/locale/list-countries-phones.md +++ b/docs/examples/1.6.x/client-android/java/locale/list-countries-phones.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.6.x/client-android/java/locale/list-countries.md b/docs/examples/1.6.x/client-android/java/locale/list-countries.md index 91ac0520be..5cd5525e93 100644 --- a/docs/examples/1.6.x/client-android/java/locale/list-countries.md +++ b/docs/examples/1.6.x/client-android/java/locale/list-countries.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.6.x/client-android/java/locale/list-currencies.md b/docs/examples/1.6.x/client-android/java/locale/list-currencies.md index 5233004bae..d3ef02c865 100644 --- a/docs/examples/1.6.x/client-android/java/locale/list-currencies.md +++ b/docs/examples/1.6.x/client-android/java/locale/list-currencies.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.6.x/client-android/java/locale/list-languages.md b/docs/examples/1.6.x/client-android/java/locale/list-languages.md index 0f10563846..0d724943a9 100644 --- a/docs/examples/1.6.x/client-android/java/locale/list-languages.md +++ b/docs/examples/1.6.x/client-android/java/locale/list-languages.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Locale locale = new Locale(client); diff --git a/docs/examples/1.6.x/client-android/java/messaging/create-subscriber.md b/docs/examples/1.6.x/client-android/java/messaging/create-subscriber.md index e8fa79f772..5616435ab5 100644 --- a/docs/examples/1.6.x/client-android/java/messaging/create-subscriber.md +++ b/docs/examples/1.6.x/client-android/java/messaging/create-subscriber.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/client-android/java/messaging/delete-subscriber.md b/docs/examples/1.6.x/client-android/java/messaging/delete-subscriber.md index 7e5b3d2017..9adae5e7df 100644 --- a/docs/examples/1.6.x/client-android/java/messaging/delete-subscriber.md +++ b/docs/examples/1.6.x/client-android/java/messaging/delete-subscriber.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Messaging messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/client-android/java/storage/create-file.md b/docs/examples/1.6.x/client-android/java/storage/create-file.md index bc9ebed4f4..598e683150 100644 --- a/docs/examples/1.6.x/client-android/java/storage/create-file.md +++ b/docs/examples/1.6.x/client-android/java/storage/create-file.md @@ -4,7 +4,7 @@ import io.appwrite.models.InputFile; import io.appwrite.services.Storage; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.6.x/client-android/java/storage/delete-file.md b/docs/examples/1.6.x/client-android/java/storage/delete-file.md index eaeb47b669..5c63ae7cd5 100644 --- a/docs/examples/1.6.x/client-android/java/storage/delete-file.md +++ b/docs/examples/1.6.x/client-android/java/storage/delete-file.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.6.x/client-android/java/storage/get-file-download.md b/docs/examples/1.6.x/client-android/java/storage/get-file-download.md index d0fdc41f76..ce2b846cc0 100644 --- a/docs/examples/1.6.x/client-android/java/storage/get-file-download.md +++ b/docs/examples/1.6.x/client-android/java/storage/get-file-download.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.6.x/client-android/java/storage/get-file-preview.md b/docs/examples/1.6.x/client-android/java/storage/get-file-preview.md index c935e6fe2b..1f5e36539a 100644 --- a/docs/examples/1.6.x/client-android/java/storage/get-file-preview.md +++ b/docs/examples/1.6.x/client-android/java/storage/get-file-preview.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.6.x/client-android/java/storage/get-file-view.md b/docs/examples/1.6.x/client-android/java/storage/get-file-view.md index bbfd04d51a..cda3545bad 100644 --- a/docs/examples/1.6.x/client-android/java/storage/get-file-view.md +++ b/docs/examples/1.6.x/client-android/java/storage/get-file-view.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.6.x/client-android/java/storage/get-file.md b/docs/examples/1.6.x/client-android/java/storage/get-file.md index a63122f57a..c9cc00d8f7 100644 --- a/docs/examples/1.6.x/client-android/java/storage/get-file.md +++ b/docs/examples/1.6.x/client-android/java/storage/get-file.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.6.x/client-android/java/storage/list-files.md b/docs/examples/1.6.x/client-android/java/storage/list-files.md index dc327fc70a..a87286c6d6 100644 --- a/docs/examples/1.6.x/client-android/java/storage/list-files.md +++ b/docs/examples/1.6.x/client-android/java/storage/list-files.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.6.x/client-android/java/storage/update-file.md b/docs/examples/1.6.x/client-android/java/storage/update-file.md index ed81821cbe..14fa77939d 100644 --- a/docs/examples/1.6.x/client-android/java/storage/update-file.md +++ b/docs/examples/1.6.x/client-android/java/storage/update-file.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Storage storage = new Storage(client); diff --git a/docs/examples/1.6.x/client-android/java/teams/create-membership.md b/docs/examples/1.6.x/client-android/java/teams/create-membership.md index b30f1765c6..bb5293ef63 100644 --- a/docs/examples/1.6.x/client-android/java/teams/create-membership.md +++ b/docs/examples/1.6.x/client-android/java/teams/create-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-android/java/teams/create.md b/docs/examples/1.6.x/client-android/java/teams/create.md index a0d4f07bc9..ae2fdf32c8 100644 --- a/docs/examples/1.6.x/client-android/java/teams/create.md +++ b/docs/examples/1.6.x/client-android/java/teams/create.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-android/java/teams/delete-membership.md b/docs/examples/1.6.x/client-android/java/teams/delete-membership.md index 7f9189f55b..c8bb088cc6 100644 --- a/docs/examples/1.6.x/client-android/java/teams/delete-membership.md +++ b/docs/examples/1.6.x/client-android/java/teams/delete-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-android/java/teams/delete.md b/docs/examples/1.6.x/client-android/java/teams/delete.md index 2f4e861248..74f6a4f997 100644 --- a/docs/examples/1.6.x/client-android/java/teams/delete.md +++ b/docs/examples/1.6.x/client-android/java/teams/delete.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-android/java/teams/get-membership.md b/docs/examples/1.6.x/client-android/java/teams/get-membership.md index 529feb2294..e9dc5786d6 100644 --- a/docs/examples/1.6.x/client-android/java/teams/get-membership.md +++ b/docs/examples/1.6.x/client-android/java/teams/get-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-android/java/teams/get-prefs.md b/docs/examples/1.6.x/client-android/java/teams/get-prefs.md index 61da757178..8ba14355a1 100644 --- a/docs/examples/1.6.x/client-android/java/teams/get-prefs.md +++ b/docs/examples/1.6.x/client-android/java/teams/get-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-android/java/teams/get.md b/docs/examples/1.6.x/client-android/java/teams/get.md index 39fe4d4a0e..f00057a822 100644 --- a/docs/examples/1.6.x/client-android/java/teams/get.md +++ b/docs/examples/1.6.x/client-android/java/teams/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-android/java/teams/list-memberships.md b/docs/examples/1.6.x/client-android/java/teams/list-memberships.md index 58430f074c..216ca40e6d 100644 --- a/docs/examples/1.6.x/client-android/java/teams/list-memberships.md +++ b/docs/examples/1.6.x/client-android/java/teams/list-memberships.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-android/java/teams/list.md b/docs/examples/1.6.x/client-android/java/teams/list.md index 914509f47d..b69f21ed43 100644 --- a/docs/examples/1.6.x/client-android/java/teams/list.md +++ b/docs/examples/1.6.x/client-android/java/teams/list.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-android/java/teams/update-membership-status.md b/docs/examples/1.6.x/client-android/java/teams/update-membership-status.md index 513461331b..4b31ed55ec 100644 --- a/docs/examples/1.6.x/client-android/java/teams/update-membership-status.md +++ b/docs/examples/1.6.x/client-android/java/teams/update-membership-status.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-android/java/teams/update-membership.md b/docs/examples/1.6.x/client-android/java/teams/update-membership.md index a60c2a0df3..481be43107 100644 --- a/docs/examples/1.6.x/client-android/java/teams/update-membership.md +++ b/docs/examples/1.6.x/client-android/java/teams/update-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-android/java/teams/update-name.md b/docs/examples/1.6.x/client-android/java/teams/update-name.md index 54f218e411..207bcc81e3 100644 --- a/docs/examples/1.6.x/client-android/java/teams/update-name.md +++ b/docs/examples/1.6.x/client-android/java/teams/update-name.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-android/java/teams/update-prefs.md b/docs/examples/1.6.x/client-android/java/teams/update-prefs.md index eaa161e611..5a0186ff31 100644 --- a/docs/examples/1.6.x/client-android/java/teams/update-prefs.md +++ b/docs/examples/1.6.x/client-android/java/teams/update-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Teams teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-android/kotlin/account/create-anonymous-session.md b/docs/examples/1.6.x/client-android/kotlin/account/create-anonymous-session.md index 50a011ae6b..d2966a18cd 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/create-anonymous-session.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/create-anonymous-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/create-email-password-session.md b/docs/examples/1.6.x/client-android/kotlin/account/create-email-password-session.md index 8c44759138..a327cf280e 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/create-email-password-session.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/create-email-password-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/create-email-token.md b/docs/examples/1.6.x/client-android/kotlin/account/create-email-token.md index 219e7930d7..37c9e1b380 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/create-email-token.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/create-email-token.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/create-j-w-t.md b/docs/examples/1.6.x/client-android/kotlin/account/create-j-w-t.md index 50014d4cb8..c87eaf3128 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/create-j-w-t.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/create-j-w-t.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/create-magic-u-r-l-token.md b/docs/examples/1.6.x/client-android/kotlin/account/create-magic-u-r-l-token.md index 905e942b5d..76f4c91884 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/create-magic-u-r-l-token.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/create-mfa-authenticator.md b/docs/examples/1.6.x/client-android/kotlin/account/create-mfa-authenticator.md index dacf56a5a2..ffb2f2f9bf 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/create-mfa-authenticator.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/create-mfa-authenticator.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account import io.appwrite.enums.AuthenticatorType val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/create-mfa-challenge.md b/docs/examples/1.6.x/client-android/kotlin/account/create-mfa-challenge.md index 22c965851d..36b12d3f98 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/create-mfa-challenge.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/create-mfa-challenge.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account import io.appwrite.enums.AuthenticationFactor val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/create-mfa-recovery-codes.md b/docs/examples/1.6.x/client-android/kotlin/account/create-mfa-recovery-codes.md index 364bc0eb9d..974c8f25a0 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/create-mfa-recovery-codes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/create-o-auth2session.md b/docs/examples/1.6.x/client-android/kotlin/account/create-o-auth2session.md index fc9d8228c9..61ea634ad7 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/create-o-auth2session.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/create-o-auth2session.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account import io.appwrite.enums.OAuthProvider val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/create-o-auth2token.md b/docs/examples/1.6.x/client-android/kotlin/account/create-o-auth2token.md index 11a814b109..cdd2ef3445 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/create-o-auth2token.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/create-o-auth2token.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account import io.appwrite.enums.OAuthProvider val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/create-phone-token.md b/docs/examples/1.6.x/client-android/kotlin/account/create-phone-token.md index 56b53c2688..4eb1a9ac4e 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/create-phone-token.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/create-phone-token.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/create-phone-verification.md b/docs/examples/1.6.x/client-android/kotlin/account/create-phone-verification.md index 531aead542..f7594668fa 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/create-phone-verification.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/create-phone-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/create-push-target.md b/docs/examples/1.6.x/client-android/kotlin/account/create-push-target.md index 7dd2101a63..59b252be15 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/create-push-target.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/create-push-target.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/create-recovery.md b/docs/examples/1.6.x/client-android/kotlin/account/create-recovery.md index d03bd32317..7e13138111 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/create-recovery.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/create-recovery.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/create-session.md b/docs/examples/1.6.x/client-android/kotlin/account/create-session.md index 2b3da6d47b..ab9e20e7e2 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/create-session.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/create-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/create-verification.md b/docs/examples/1.6.x/client-android/kotlin/account/create-verification.md index 54174be38b..669b00ba18 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/create-verification.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/create-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/create.md b/docs/examples/1.6.x/client-android/kotlin/account/create.md index 2ee3ae4a1e..16f3a60ded 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/create.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/create.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/delete-identity.md b/docs/examples/1.6.x/client-android/kotlin/account/delete-identity.md index 1e5d206536..c8d7463685 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/delete-identity.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/delete-identity.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/delete-mfa-authenticator.md b/docs/examples/1.6.x/client-android/kotlin/account/delete-mfa-authenticator.md index 48220b20c5..057e021f6d 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/delete-mfa-authenticator.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/delete-mfa-authenticator.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account import io.appwrite.enums.AuthenticatorType val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/delete-push-target.md b/docs/examples/1.6.x/client-android/kotlin/account/delete-push-target.md index e67b180a4f..8e0b418c90 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/delete-push-target.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/delete-push-target.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/delete-session.md b/docs/examples/1.6.x/client-android/kotlin/account/delete-session.md index 0990989bfd..6af414be27 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/delete-session.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/delete-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/delete-sessions.md b/docs/examples/1.6.x/client-android/kotlin/account/delete-sessions.md index 8c464e082b..f7e6c71c10 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/delete-sessions.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/delete-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/get-mfa-recovery-codes.md b/docs/examples/1.6.x/client-android/kotlin/account/get-mfa-recovery-codes.md index bd12e834a1..6201658fe3 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/get-mfa-recovery-codes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/get-prefs.md b/docs/examples/1.6.x/client-android/kotlin/account/get-prefs.md index 9227effba7..85dbb18b43 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/get-prefs.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/get-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/get-session.md b/docs/examples/1.6.x/client-android/kotlin/account/get-session.md index 42e61fd475..4de64a1487 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/get-session.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/get-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/get.md b/docs/examples/1.6.x/client-android/kotlin/account/get.md index 8c90304cbe..3e85e79ad0 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/get.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/list-identities.md b/docs/examples/1.6.x/client-android/kotlin/account/list-identities.md index 53e388d3d4..5908a44a9c 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/list-identities.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/list-identities.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/list-logs.md b/docs/examples/1.6.x/client-android/kotlin/account/list-logs.md index 683a94be45..385ccc0116 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/list-logs.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/list-logs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/list-mfa-factors.md b/docs/examples/1.6.x/client-android/kotlin/account/list-mfa-factors.md index ecfa6c2478..09119ab65a 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/list-mfa-factors.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/list-mfa-factors.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/list-sessions.md b/docs/examples/1.6.x/client-android/kotlin/account/list-sessions.md index 2da413da7b..573dd865e2 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/list-sessions.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/list-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/update-email.md b/docs/examples/1.6.x/client-android/kotlin/account/update-email.md index 072d6db9ca..0862f112c0 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/update-email.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/update-email.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/update-m-f-a.md b/docs/examples/1.6.x/client-android/kotlin/account/update-m-f-a.md index 3cac098946..f214e78f44 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/update-m-f-a.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/update-m-f-a.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/update-magic-u-r-l-session.md b/docs/examples/1.6.x/client-android/kotlin/account/update-magic-u-r-l-session.md index 52d0ad76e1..2c1a0b0a38 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/update-magic-u-r-l-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/update-mfa-authenticator.md b/docs/examples/1.6.x/client-android/kotlin/account/update-mfa-authenticator.md index 321f25b2e8..987825e589 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/update-mfa-authenticator.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/update-mfa-authenticator.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account import io.appwrite.enums.AuthenticatorType val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/update-mfa-challenge.md b/docs/examples/1.6.x/client-android/kotlin/account/update-mfa-challenge.md index 021f51523f..c7f8139f15 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/update-mfa-challenge.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/update-mfa-challenge.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/update-mfa-recovery-codes.md b/docs/examples/1.6.x/client-android/kotlin/account/update-mfa-recovery-codes.md index d4ea7f5f91..c0ee3c386f 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/update-mfa-recovery-codes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/update-name.md b/docs/examples/1.6.x/client-android/kotlin/account/update-name.md index 374f84f2ec..2cb5327ebe 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/update-name.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/update-name.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/update-password.md b/docs/examples/1.6.x/client-android/kotlin/account/update-password.md index edf5117168..140ca8b219 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/update-password.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/update-password.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/update-phone-session.md b/docs/examples/1.6.x/client-android/kotlin/account/update-phone-session.md index 93e080dae9..b3911dd5e0 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/update-phone-session.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/update-phone-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/update-phone-verification.md b/docs/examples/1.6.x/client-android/kotlin/account/update-phone-verification.md index 226b21dcae..ad0d5d73eb 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/update-phone-verification.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/update-phone-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/update-phone.md b/docs/examples/1.6.x/client-android/kotlin/account/update-phone.md index 772c099cd5..84ff508184 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/update-phone.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/update-phone.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/update-prefs.md b/docs/examples/1.6.x/client-android/kotlin/account/update-prefs.md index c5c7a3de3e..fdfed577ac 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/update-prefs.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/update-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/update-push-target.md b/docs/examples/1.6.x/client-android/kotlin/account/update-push-target.md index c6e6f21ce3..5c3816860f 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/update-push-target.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/update-push-target.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/update-recovery.md b/docs/examples/1.6.x/client-android/kotlin/account/update-recovery.md index b4481148e9..d505d1afb1 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/update-recovery.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/update-recovery.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/update-session.md b/docs/examples/1.6.x/client-android/kotlin/account/update-session.md index 43d84e13c3..6fc9a9f9d2 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/update-session.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/update-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/update-status.md b/docs/examples/1.6.x/client-android/kotlin/account/update-status.md index 4f44ce1a83..b86a25ad4d 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/update-status.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/update-status.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/account/update-verification.md b/docs/examples/1.6.x/client-android/kotlin/account/update-verification.md index 3c9c465afb..028eb7c4ce 100644 --- a/docs/examples/1.6.x/client-android/kotlin/account/update-verification.md +++ b/docs/examples/1.6.x/client-android/kotlin/account/update-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/avatars/get-browser.md b/docs/examples/1.6.x/client-android/kotlin/avatars/get-browser.md index 34f6f28d2a..4e2f5e0991 100644 --- a/docs/examples/1.6.x/client-android/kotlin/avatars/get-browser.md +++ b/docs/examples/1.6.x/client-android/kotlin/avatars/get-browser.md @@ -4,7 +4,7 @@ import io.appwrite.services.Avatars import io.appwrite.enums.Browser val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/avatars/get-credit-card.md b/docs/examples/1.6.x/client-android/kotlin/avatars/get-credit-card.md index 52eea79f6e..91aae45660 100644 --- a/docs/examples/1.6.x/client-android/kotlin/avatars/get-credit-card.md +++ b/docs/examples/1.6.x/client-android/kotlin/avatars/get-credit-card.md @@ -4,7 +4,7 @@ import io.appwrite.services.Avatars import io.appwrite.enums.CreditCard val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/avatars/get-favicon.md b/docs/examples/1.6.x/client-android/kotlin/avatars/get-favicon.md index 5f83bdd0af..01df8cb54b 100644 --- a/docs/examples/1.6.x/client-android/kotlin/avatars/get-favicon.md +++ b/docs/examples/1.6.x/client-android/kotlin/avatars/get-favicon.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/avatars/get-flag.md b/docs/examples/1.6.x/client-android/kotlin/avatars/get-flag.md index cfd5d010d1..1d8f5f6305 100644 --- a/docs/examples/1.6.x/client-android/kotlin/avatars/get-flag.md +++ b/docs/examples/1.6.x/client-android/kotlin/avatars/get-flag.md @@ -4,7 +4,7 @@ import io.appwrite.services.Avatars import io.appwrite.enums.Flag val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/avatars/get-image.md b/docs/examples/1.6.x/client-android/kotlin/avatars/get-image.md index a9a7c2aa5c..64166c0a6d 100644 --- a/docs/examples/1.6.x/client-android/kotlin/avatars/get-image.md +++ b/docs/examples/1.6.x/client-android/kotlin/avatars/get-image.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/avatars/get-initials.md b/docs/examples/1.6.x/client-android/kotlin/avatars/get-initials.md index bd2ae1b9b9..883da02744 100644 --- a/docs/examples/1.6.x/client-android/kotlin/avatars/get-initials.md +++ b/docs/examples/1.6.x/client-android/kotlin/avatars/get-initials.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/avatars/get-q-r.md b/docs/examples/1.6.x/client-android/kotlin/avatars/get-q-r.md index 9e02a0c6ad..fa8a38cabb 100644 --- a/docs/examples/1.6.x/client-android/kotlin/avatars/get-q-r.md +++ b/docs/examples/1.6.x/client-android/kotlin/avatars/get-q-r.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Avatars val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val avatars = Avatars(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/databases/create-document.md b/docs/examples/1.6.x/client-android/kotlin/databases/create-document.md index 2b77405d62..849a636afb 100644 --- a/docs/examples/1.6.x/client-android/kotlin/databases/create-document.md +++ b/docs/examples/1.6.x/client-android/kotlin/databases/create-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val databases = Databases(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/databases/delete-document.md b/docs/examples/1.6.x/client-android/kotlin/databases/delete-document.md index e3e6de326f..052bf97f89 100644 --- a/docs/examples/1.6.x/client-android/kotlin/databases/delete-document.md +++ b/docs/examples/1.6.x/client-android/kotlin/databases/delete-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val databases = Databases(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/databases/get-document.md b/docs/examples/1.6.x/client-android/kotlin/databases/get-document.md index 6ed6c8ba62..157af2b562 100644 --- a/docs/examples/1.6.x/client-android/kotlin/databases/get-document.md +++ b/docs/examples/1.6.x/client-android/kotlin/databases/get-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val databases = Databases(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/databases/list-documents.md b/docs/examples/1.6.x/client-android/kotlin/databases/list-documents.md index ff419c44a6..1cc785fab1 100644 --- a/docs/examples/1.6.x/client-android/kotlin/databases/list-documents.md +++ b/docs/examples/1.6.x/client-android/kotlin/databases/list-documents.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val databases = Databases(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/databases/update-document.md b/docs/examples/1.6.x/client-android/kotlin/databases/update-document.md index 630e2b6c66..d61fdea5b1 100644 --- a/docs/examples/1.6.x/client-android/kotlin/databases/update-document.md +++ b/docs/examples/1.6.x/client-android/kotlin/databases/update-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val databases = Databases(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/functions/create-execution.md b/docs/examples/1.6.x/client-android/kotlin/functions/create-execution.md index 937bb4fdaa..cb7c60bac1 100644 --- a/docs/examples/1.6.x/client-android/kotlin/functions/create-execution.md +++ b/docs/examples/1.6.x/client-android/kotlin/functions/create-execution.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val functions = Functions(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/functions/get-execution.md b/docs/examples/1.6.x/client-android/kotlin/functions/get-execution.md index 60b2e0f630..267be53cbb 100644 --- a/docs/examples/1.6.x/client-android/kotlin/functions/get-execution.md +++ b/docs/examples/1.6.x/client-android/kotlin/functions/get-execution.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val functions = Functions(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/functions/list-executions.md b/docs/examples/1.6.x/client-android/kotlin/functions/list-executions.md index 90b2bf6ff1..a56993fd4d 100644 --- a/docs/examples/1.6.x/client-android/kotlin/functions/list-executions.md +++ b/docs/examples/1.6.x/client-android/kotlin/functions/list-executions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Functions val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val functions = Functions(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/graphql/mutation.md b/docs/examples/1.6.x/client-android/kotlin/graphql/mutation.md index e90c9ae301..a3a762203d 100644 --- a/docs/examples/1.6.x/client-android/kotlin/graphql/mutation.md +++ b/docs/examples/1.6.x/client-android/kotlin/graphql/mutation.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Graphql val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val graphql = Graphql(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/graphql/query.md b/docs/examples/1.6.x/client-android/kotlin/graphql/query.md index 2ce0cb1083..13f149cbf0 100644 --- a/docs/examples/1.6.x/client-android/kotlin/graphql/query.md +++ b/docs/examples/1.6.x/client-android/kotlin/graphql/query.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Graphql val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val graphql = Graphql(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/locale/get.md b/docs/examples/1.6.x/client-android/kotlin/locale/get.md index f2f235a209..a116aed349 100644 --- a/docs/examples/1.6.x/client-android/kotlin/locale/get.md +++ b/docs/examples/1.6.x/client-android/kotlin/locale/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/locale/list-codes.md b/docs/examples/1.6.x/client-android/kotlin/locale/list-codes.md index 895c96df3a..0b63b06e3e 100644 --- a/docs/examples/1.6.x/client-android/kotlin/locale/list-codes.md +++ b/docs/examples/1.6.x/client-android/kotlin/locale/list-codes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/locale/list-continents.md b/docs/examples/1.6.x/client-android/kotlin/locale/list-continents.md index e32034496c..98acdc9b6a 100644 --- a/docs/examples/1.6.x/client-android/kotlin/locale/list-continents.md +++ b/docs/examples/1.6.x/client-android/kotlin/locale/list-continents.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/locale/list-countries-e-u.md b/docs/examples/1.6.x/client-android/kotlin/locale/list-countries-e-u.md index b9182aa1de..c01602598b 100644 --- a/docs/examples/1.6.x/client-android/kotlin/locale/list-countries-e-u.md +++ b/docs/examples/1.6.x/client-android/kotlin/locale/list-countries-e-u.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/locale/list-countries-phones.md b/docs/examples/1.6.x/client-android/kotlin/locale/list-countries-phones.md index 961ebd348f..d95c1c6ff6 100644 --- a/docs/examples/1.6.x/client-android/kotlin/locale/list-countries-phones.md +++ b/docs/examples/1.6.x/client-android/kotlin/locale/list-countries-phones.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/locale/list-countries.md b/docs/examples/1.6.x/client-android/kotlin/locale/list-countries.md index 1ebae69bea..4775161159 100644 --- a/docs/examples/1.6.x/client-android/kotlin/locale/list-countries.md +++ b/docs/examples/1.6.x/client-android/kotlin/locale/list-countries.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/locale/list-currencies.md b/docs/examples/1.6.x/client-android/kotlin/locale/list-currencies.md index 7500aa717f..6d0a04f808 100644 --- a/docs/examples/1.6.x/client-android/kotlin/locale/list-currencies.md +++ b/docs/examples/1.6.x/client-android/kotlin/locale/list-currencies.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/locale/list-languages.md b/docs/examples/1.6.x/client-android/kotlin/locale/list-languages.md index 2be0ba59d6..de588aa077 100644 --- a/docs/examples/1.6.x/client-android/kotlin/locale/list-languages.md +++ b/docs/examples/1.6.x/client-android/kotlin/locale/list-languages.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Locale val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val locale = Locale(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/messaging/create-subscriber.md b/docs/examples/1.6.x/client-android/kotlin/messaging/create-subscriber.md index db233422bd..b7e244f041 100644 --- a/docs/examples/1.6.x/client-android/kotlin/messaging/create-subscriber.md +++ b/docs/examples/1.6.x/client-android/kotlin/messaging/create-subscriber.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val messaging = Messaging(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/messaging/delete-subscriber.md b/docs/examples/1.6.x/client-android/kotlin/messaging/delete-subscriber.md index ab0d479df3..9e102d6faa 100644 --- a/docs/examples/1.6.x/client-android/kotlin/messaging/delete-subscriber.md +++ b/docs/examples/1.6.x/client-android/kotlin/messaging/delete-subscriber.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val messaging = Messaging(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/storage/create-file.md b/docs/examples/1.6.x/client-android/kotlin/storage/create-file.md index d327e724a0..1c78c51e67 100644 --- a/docs/examples/1.6.x/client-android/kotlin/storage/create-file.md +++ b/docs/examples/1.6.x/client-android/kotlin/storage/create-file.md @@ -4,7 +4,7 @@ import io.appwrite.models.InputFile import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/storage/delete-file.md b/docs/examples/1.6.x/client-android/kotlin/storage/delete-file.md index 60df78e736..ca40f41b71 100644 --- a/docs/examples/1.6.x/client-android/kotlin/storage/delete-file.md +++ b/docs/examples/1.6.x/client-android/kotlin/storage/delete-file.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/storage/get-file-download.md b/docs/examples/1.6.x/client-android/kotlin/storage/get-file-download.md index bb975411ba..b4d33868d2 100644 --- a/docs/examples/1.6.x/client-android/kotlin/storage/get-file-download.md +++ b/docs/examples/1.6.x/client-android/kotlin/storage/get-file-download.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/storage/get-file-preview.md b/docs/examples/1.6.x/client-android/kotlin/storage/get-file-preview.md index 904f3ec103..31aa6e2ce7 100644 --- a/docs/examples/1.6.x/client-android/kotlin/storage/get-file-preview.md +++ b/docs/examples/1.6.x/client-android/kotlin/storage/get-file-preview.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/storage/get-file-view.md b/docs/examples/1.6.x/client-android/kotlin/storage/get-file-view.md index 898c1eec42..7a5b31de5b 100644 --- a/docs/examples/1.6.x/client-android/kotlin/storage/get-file-view.md +++ b/docs/examples/1.6.x/client-android/kotlin/storage/get-file-view.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/storage/get-file.md b/docs/examples/1.6.x/client-android/kotlin/storage/get-file.md index a07095d375..1e9943059b 100644 --- a/docs/examples/1.6.x/client-android/kotlin/storage/get-file.md +++ b/docs/examples/1.6.x/client-android/kotlin/storage/get-file.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/storage/list-files.md b/docs/examples/1.6.x/client-android/kotlin/storage/list-files.md index 640b7050d0..06f6cda4eb 100644 --- a/docs/examples/1.6.x/client-android/kotlin/storage/list-files.md +++ b/docs/examples/1.6.x/client-android/kotlin/storage/list-files.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/storage/update-file.md b/docs/examples/1.6.x/client-android/kotlin/storage/update-file.md index f7a20f0d12..116d156ead 100644 --- a/docs/examples/1.6.x/client-android/kotlin/storage/update-file.md +++ b/docs/examples/1.6.x/client-android/kotlin/storage/update-file.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Storage val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val storage = Storage(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/teams/create-membership.md b/docs/examples/1.6.x/client-android/kotlin/teams/create-membership.md index 63f3c67d8f..70eb7ddd19 100644 --- a/docs/examples/1.6.x/client-android/kotlin/teams/create-membership.md +++ b/docs/examples/1.6.x/client-android/kotlin/teams/create-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/teams/create.md b/docs/examples/1.6.x/client-android/kotlin/teams/create.md index f214a3733e..dfa4df446e 100644 --- a/docs/examples/1.6.x/client-android/kotlin/teams/create.md +++ b/docs/examples/1.6.x/client-android/kotlin/teams/create.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/teams/delete-membership.md b/docs/examples/1.6.x/client-android/kotlin/teams/delete-membership.md index f3a54b38db..adf1119761 100644 --- a/docs/examples/1.6.x/client-android/kotlin/teams/delete-membership.md +++ b/docs/examples/1.6.x/client-android/kotlin/teams/delete-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/teams/delete.md b/docs/examples/1.6.x/client-android/kotlin/teams/delete.md index bc8e8d0c97..e144a78e3d 100644 --- a/docs/examples/1.6.x/client-android/kotlin/teams/delete.md +++ b/docs/examples/1.6.x/client-android/kotlin/teams/delete.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/teams/get-membership.md b/docs/examples/1.6.x/client-android/kotlin/teams/get-membership.md index e5a589e061..8fb8c54c3b 100644 --- a/docs/examples/1.6.x/client-android/kotlin/teams/get-membership.md +++ b/docs/examples/1.6.x/client-android/kotlin/teams/get-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/teams/get-prefs.md b/docs/examples/1.6.x/client-android/kotlin/teams/get-prefs.md index af7503a434..5e892fb49d 100644 --- a/docs/examples/1.6.x/client-android/kotlin/teams/get-prefs.md +++ b/docs/examples/1.6.x/client-android/kotlin/teams/get-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/teams/get.md b/docs/examples/1.6.x/client-android/kotlin/teams/get.md index 70759bcb88..dbb487d3d6 100644 --- a/docs/examples/1.6.x/client-android/kotlin/teams/get.md +++ b/docs/examples/1.6.x/client-android/kotlin/teams/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/teams/list-memberships.md b/docs/examples/1.6.x/client-android/kotlin/teams/list-memberships.md index abb140e2dd..e305403a52 100644 --- a/docs/examples/1.6.x/client-android/kotlin/teams/list-memberships.md +++ b/docs/examples/1.6.x/client-android/kotlin/teams/list-memberships.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/teams/list.md b/docs/examples/1.6.x/client-android/kotlin/teams/list.md index 5d808736ca..984858d26c 100644 --- a/docs/examples/1.6.x/client-android/kotlin/teams/list.md +++ b/docs/examples/1.6.x/client-android/kotlin/teams/list.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/teams/update-membership-status.md b/docs/examples/1.6.x/client-android/kotlin/teams/update-membership-status.md index 9ecf4170de..c3770c7f1e 100644 --- a/docs/examples/1.6.x/client-android/kotlin/teams/update-membership-status.md +++ b/docs/examples/1.6.x/client-android/kotlin/teams/update-membership-status.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/teams/update-membership.md b/docs/examples/1.6.x/client-android/kotlin/teams/update-membership.md index 15b2ac08e9..86216a8692 100644 --- a/docs/examples/1.6.x/client-android/kotlin/teams/update-membership.md +++ b/docs/examples/1.6.x/client-android/kotlin/teams/update-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/teams/update-name.md b/docs/examples/1.6.x/client-android/kotlin/teams/update-name.md index 0040737a66..abeb6dc7c1 100644 --- a/docs/examples/1.6.x/client-android/kotlin/teams/update-name.md +++ b/docs/examples/1.6.x/client-android/kotlin/teams/update-name.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.6.x/client-android/kotlin/teams/update-prefs.md b/docs/examples/1.6.x/client-android/kotlin/teams/update-prefs.md index f70a5eb99c..d0066a94b3 100644 --- a/docs/examples/1.6.x/client-android/kotlin/teams/update-prefs.md +++ b/docs/examples/1.6.x/client-android/kotlin/teams/update-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Teams val client = Client(context) - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val teams = Teams(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/create-anonymous-session.md b/docs/examples/1.6.x/client-apple/examples/account/create-anonymous-session.md index f676bac4da..22020a16d9 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/create-anonymous-session.md +++ b/docs/examples/1.6.x/client-apple/examples/account/create-anonymous-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/create-email-password-session.md b/docs/examples/1.6.x/client-apple/examples/account/create-email-password-session.md index 15051827b8..5f541a8a15 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/create-email-password-session.md +++ b/docs/examples/1.6.x/client-apple/examples/account/create-email-password-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/create-email-token.md b/docs/examples/1.6.x/client-apple/examples/account/create-email-token.md index b9d39ff27f..cf82afde8f 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/create-email-token.md +++ b/docs/examples/1.6.x/client-apple/examples/account/create-email-token.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/create-j-w-t.md b/docs/examples/1.6.x/client-apple/examples/account/create-j-w-t.md index c1c0f22dff..fbcd50401c 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/create-j-w-t.md +++ b/docs/examples/1.6.x/client-apple/examples/account/create-j-w-t.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/create-magic-u-r-l-token.md b/docs/examples/1.6.x/client-apple/examples/account/create-magic-u-r-l-token.md index 83eb681673..27bbe4137e 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.6.x/client-apple/examples/account/create-magic-u-r-l-token.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/create-mfa-authenticator.md b/docs/examples/1.6.x/client-apple/examples/account/create-mfa-authenticator.md index 7b103e0b24..56799e327e 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/create-mfa-authenticator.md +++ b/docs/examples/1.6.x/client-apple/examples/account/create-mfa-authenticator.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/create-mfa-challenge.md b/docs/examples/1.6.x/client-apple/examples/account/create-mfa-challenge.md index 6d262d9c74..0b5d385999 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.6.x/client-apple/examples/account/create-mfa-challenge.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/create-mfa-recovery-codes.md b/docs/examples/1.6.x/client-apple/examples/account/create-mfa-recovery-codes.md index 1390b9de69..c0ccb39e86 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/client-apple/examples/account/create-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/create-o-auth2session.md b/docs/examples/1.6.x/client-apple/examples/account/create-o-auth2session.md index 32da4a2841..756112e701 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/create-o-auth2session.md +++ b/docs/examples/1.6.x/client-apple/examples/account/create-o-auth2session.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/create-o-auth2token.md b/docs/examples/1.6.x/client-apple/examples/account/create-o-auth2token.md index 7bbfe98f48..21b54e8c9a 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/create-o-auth2token.md +++ b/docs/examples/1.6.x/client-apple/examples/account/create-o-auth2token.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/create-phone-token.md b/docs/examples/1.6.x/client-apple/examples/account/create-phone-token.md index acb7a696bc..12b2d4b223 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/create-phone-token.md +++ b/docs/examples/1.6.x/client-apple/examples/account/create-phone-token.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/create-phone-verification.md b/docs/examples/1.6.x/client-apple/examples/account/create-phone-verification.md index e0c4a21d96..f0eb94b6fc 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/create-phone-verification.md +++ b/docs/examples/1.6.x/client-apple/examples/account/create-phone-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/create-push-target.md b/docs/examples/1.6.x/client-apple/examples/account/create-push-target.md index 75d694bcf6..ce2d194272 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/create-push-target.md +++ b/docs/examples/1.6.x/client-apple/examples/account/create-push-target.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/create-recovery.md b/docs/examples/1.6.x/client-apple/examples/account/create-recovery.md index 65536ee211..ccfd5ac519 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/create-recovery.md +++ b/docs/examples/1.6.x/client-apple/examples/account/create-recovery.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/create-session.md b/docs/examples/1.6.x/client-apple/examples/account/create-session.md index 3ea5119569..2065692a16 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/create-session.md +++ b/docs/examples/1.6.x/client-apple/examples/account/create-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/create-verification.md b/docs/examples/1.6.x/client-apple/examples/account/create-verification.md index 702c3c5282..d3ca74c7c0 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/create-verification.md +++ b/docs/examples/1.6.x/client-apple/examples/account/create-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/create.md b/docs/examples/1.6.x/client-apple/examples/account/create.md index cad7e44c44..79b4db64ba 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/create.md +++ b/docs/examples/1.6.x/client-apple/examples/account/create.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/delete-identity.md b/docs/examples/1.6.x/client-apple/examples/account/delete-identity.md index 37ca520d4c..04a3ee5f47 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/delete-identity.md +++ b/docs/examples/1.6.x/client-apple/examples/account/delete-identity.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/delete-mfa-authenticator.md b/docs/examples/1.6.x/client-apple/examples/account/delete-mfa-authenticator.md index d9fe0ad8ea..16cbbe3b72 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.6.x/client-apple/examples/account/delete-mfa-authenticator.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/delete-push-target.md b/docs/examples/1.6.x/client-apple/examples/account/delete-push-target.md index 660a9c0376..a96a1b1d05 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/delete-push-target.md +++ b/docs/examples/1.6.x/client-apple/examples/account/delete-push-target.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/delete-session.md b/docs/examples/1.6.x/client-apple/examples/account/delete-session.md index 59f89a9b5e..ea353e8723 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/delete-session.md +++ b/docs/examples/1.6.x/client-apple/examples/account/delete-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/delete-sessions.md b/docs/examples/1.6.x/client-apple/examples/account/delete-sessions.md index bfce736622..51a86bdcc3 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/delete-sessions.md +++ b/docs/examples/1.6.x/client-apple/examples/account/delete-sessions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.6.x/client-apple/examples/account/get-mfa-recovery-codes.md index 79e3a2c8b3..2f5d623304 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/client-apple/examples/account/get-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/get-prefs.md b/docs/examples/1.6.x/client-apple/examples/account/get-prefs.md index 0e7909bd12..65ce5f5908 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/get-prefs.md +++ b/docs/examples/1.6.x/client-apple/examples/account/get-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/get-session.md b/docs/examples/1.6.x/client-apple/examples/account/get-session.md index 3ed89fcbf2..bd491ff4d7 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/get-session.md +++ b/docs/examples/1.6.x/client-apple/examples/account/get-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/get.md b/docs/examples/1.6.x/client-apple/examples/account/get.md index 2a0c2a5813..1b1213e1da 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/get.md +++ b/docs/examples/1.6.x/client-apple/examples/account/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/list-identities.md b/docs/examples/1.6.x/client-apple/examples/account/list-identities.md index 4d8c580a18..1d3a999d4a 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/list-identities.md +++ b/docs/examples/1.6.x/client-apple/examples/account/list-identities.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/list-logs.md b/docs/examples/1.6.x/client-apple/examples/account/list-logs.md index ecb5617d0b..2c42307f96 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/list-logs.md +++ b/docs/examples/1.6.x/client-apple/examples/account/list-logs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/list-mfa-factors.md b/docs/examples/1.6.x/client-apple/examples/account/list-mfa-factors.md index 3af3427b29..f6d7a6fe75 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/list-mfa-factors.md +++ b/docs/examples/1.6.x/client-apple/examples/account/list-mfa-factors.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/list-sessions.md b/docs/examples/1.6.x/client-apple/examples/account/list-sessions.md index 8b9e165c48..99f6930cd2 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/list-sessions.md +++ b/docs/examples/1.6.x/client-apple/examples/account/list-sessions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/update-email.md b/docs/examples/1.6.x/client-apple/examples/account/update-email.md index 4dbd3359a7..037133282b 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/update-email.md +++ b/docs/examples/1.6.x/client-apple/examples/account/update-email.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/update-m-f-a.md b/docs/examples/1.6.x/client-apple/examples/account/update-m-f-a.md index eefcd79fda..fe2b04f9a3 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/update-m-f-a.md +++ b/docs/examples/1.6.x/client-apple/examples/account/update-m-f-a.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.6.x/client-apple/examples/account/update-magic-u-r-l-session.md index 8e0a26a6ef..507006b230 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.6.x/client-apple/examples/account/update-magic-u-r-l-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/update-mfa-authenticator.md b/docs/examples/1.6.x/client-apple/examples/account/update-mfa-authenticator.md index 8ef2b24101..6a42fb9b6d 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/update-mfa-authenticator.md +++ b/docs/examples/1.6.x/client-apple/examples/account/update-mfa-authenticator.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/update-mfa-challenge.md b/docs/examples/1.6.x/client-apple/examples/account/update-mfa-challenge.md index 1c5874f784..db9753b777 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.6.x/client-apple/examples/account/update-mfa-challenge.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/update-mfa-recovery-codes.md b/docs/examples/1.6.x/client-apple/examples/account/update-mfa-recovery-codes.md index fb5ea5a898..c3b8d412c5 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/client-apple/examples/account/update-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/update-name.md b/docs/examples/1.6.x/client-apple/examples/account/update-name.md index 893d96c77e..7f8abf54fb 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/update-name.md +++ b/docs/examples/1.6.x/client-apple/examples/account/update-name.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/update-password.md b/docs/examples/1.6.x/client-apple/examples/account/update-password.md index 60737dc5d2..7fa03caebc 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/update-password.md +++ b/docs/examples/1.6.x/client-apple/examples/account/update-password.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/update-phone-session.md b/docs/examples/1.6.x/client-apple/examples/account/update-phone-session.md index 50a88cbe51..f6776d1de1 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/update-phone-session.md +++ b/docs/examples/1.6.x/client-apple/examples/account/update-phone-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/update-phone-verification.md b/docs/examples/1.6.x/client-apple/examples/account/update-phone-verification.md index 045ba8d9b6..0bf2db1f0a 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/update-phone-verification.md +++ b/docs/examples/1.6.x/client-apple/examples/account/update-phone-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/update-phone.md b/docs/examples/1.6.x/client-apple/examples/account/update-phone.md index b43b975179..604fc85377 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/update-phone.md +++ b/docs/examples/1.6.x/client-apple/examples/account/update-phone.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/update-prefs.md b/docs/examples/1.6.x/client-apple/examples/account/update-prefs.md index ea49c34f04..fea527337b 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/update-prefs.md +++ b/docs/examples/1.6.x/client-apple/examples/account/update-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/update-push-target.md b/docs/examples/1.6.x/client-apple/examples/account/update-push-target.md index 351801e1be..549c4d6c16 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/update-push-target.md +++ b/docs/examples/1.6.x/client-apple/examples/account/update-push-target.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/update-recovery.md b/docs/examples/1.6.x/client-apple/examples/account/update-recovery.md index 1e50a14632..536da69b8a 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/update-recovery.md +++ b/docs/examples/1.6.x/client-apple/examples/account/update-recovery.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/update-session.md b/docs/examples/1.6.x/client-apple/examples/account/update-session.md index 5fe7116cc1..8999b0a310 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/update-session.md +++ b/docs/examples/1.6.x/client-apple/examples/account/update-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/update-status.md b/docs/examples/1.6.x/client-apple/examples/account/update-status.md index a7f99c3402..892858dfbc 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/update-status.md +++ b/docs/examples/1.6.x/client-apple/examples/account/update-status.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/account/update-verification.md b/docs/examples/1.6.x/client-apple/examples/account/update-verification.md index c17a787490..094e10f33c 100644 --- a/docs/examples/1.6.x/client-apple/examples/account/update-verification.md +++ b/docs/examples/1.6.x/client-apple/examples/account/update-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/client-apple/examples/avatars/get-browser.md b/docs/examples/1.6.x/client-apple/examples/avatars/get-browser.md index e18a2b2cc9..8f326a87aa 100644 --- a/docs/examples/1.6.x/client-apple/examples/avatars/get-browser.md +++ b/docs/examples/1.6.x/client-apple/examples/avatars/get-browser.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.6.x/client-apple/examples/avatars/get-credit-card.md b/docs/examples/1.6.x/client-apple/examples/avatars/get-credit-card.md index 94a7bf69c0..d294d807d5 100644 --- a/docs/examples/1.6.x/client-apple/examples/avatars/get-credit-card.md +++ b/docs/examples/1.6.x/client-apple/examples/avatars/get-credit-card.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.6.x/client-apple/examples/avatars/get-favicon.md b/docs/examples/1.6.x/client-apple/examples/avatars/get-favicon.md index 95af5f5982..b7dc6830c3 100644 --- a/docs/examples/1.6.x/client-apple/examples/avatars/get-favicon.md +++ b/docs/examples/1.6.x/client-apple/examples/avatars/get-favicon.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.6.x/client-apple/examples/avatars/get-flag.md b/docs/examples/1.6.x/client-apple/examples/avatars/get-flag.md index b79cf57ae8..710611739c 100644 --- a/docs/examples/1.6.x/client-apple/examples/avatars/get-flag.md +++ b/docs/examples/1.6.x/client-apple/examples/avatars/get-flag.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.6.x/client-apple/examples/avatars/get-image.md b/docs/examples/1.6.x/client-apple/examples/avatars/get-image.md index f01e21bf8d..0fe71e1765 100644 --- a/docs/examples/1.6.x/client-apple/examples/avatars/get-image.md +++ b/docs/examples/1.6.x/client-apple/examples/avatars/get-image.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.6.x/client-apple/examples/avatars/get-initials.md b/docs/examples/1.6.x/client-apple/examples/avatars/get-initials.md index 8593288a81..2bbfbe6a47 100644 --- a/docs/examples/1.6.x/client-apple/examples/avatars/get-initials.md +++ b/docs/examples/1.6.x/client-apple/examples/avatars/get-initials.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.6.x/client-apple/examples/avatars/get-q-r.md b/docs/examples/1.6.x/client-apple/examples/avatars/get-q-r.md index 370209a842..3cc650c1b9 100644 --- a/docs/examples/1.6.x/client-apple/examples/avatars/get-q-r.md +++ b/docs/examples/1.6.x/client-apple/examples/avatars/get-q-r.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let avatars = Avatars(client) diff --git a/docs/examples/1.6.x/client-apple/examples/databases/create-document.md b/docs/examples/1.6.x/client-apple/examples/databases/create-document.md index 1dff362576..51adb64bb3 100644 --- a/docs/examples/1.6.x/client-apple/examples/databases/create-document.md +++ b/docs/examples/1.6.x/client-apple/examples/databases/create-document.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let databases = Databases(client) diff --git a/docs/examples/1.6.x/client-apple/examples/databases/delete-document.md b/docs/examples/1.6.x/client-apple/examples/databases/delete-document.md index 80ca2eb0a9..301203dc7f 100644 --- a/docs/examples/1.6.x/client-apple/examples/databases/delete-document.md +++ b/docs/examples/1.6.x/client-apple/examples/databases/delete-document.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let databases = Databases(client) diff --git a/docs/examples/1.6.x/client-apple/examples/databases/get-document.md b/docs/examples/1.6.x/client-apple/examples/databases/get-document.md index fa7aeb9090..6e4dc55c6d 100644 --- a/docs/examples/1.6.x/client-apple/examples/databases/get-document.md +++ b/docs/examples/1.6.x/client-apple/examples/databases/get-document.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let databases = Databases(client) diff --git a/docs/examples/1.6.x/client-apple/examples/databases/list-documents.md b/docs/examples/1.6.x/client-apple/examples/databases/list-documents.md index 6b2cbbca7a..0d624f3a92 100644 --- a/docs/examples/1.6.x/client-apple/examples/databases/list-documents.md +++ b/docs/examples/1.6.x/client-apple/examples/databases/list-documents.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let databases = Databases(client) diff --git a/docs/examples/1.6.x/client-apple/examples/databases/update-document.md b/docs/examples/1.6.x/client-apple/examples/databases/update-document.md index 2260272029..af224c8e09 100644 --- a/docs/examples/1.6.x/client-apple/examples/databases/update-document.md +++ b/docs/examples/1.6.x/client-apple/examples/databases/update-document.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let databases = Databases(client) diff --git a/docs/examples/1.6.x/client-apple/examples/functions/create-execution.md b/docs/examples/1.6.x/client-apple/examples/functions/create-execution.md index 6d585ea42b..7470e9ebf6 100644 --- a/docs/examples/1.6.x/client-apple/examples/functions/create-execution.md +++ b/docs/examples/1.6.x/client-apple/examples/functions/create-execution.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let functions = Functions(client) diff --git a/docs/examples/1.6.x/client-apple/examples/functions/get-execution.md b/docs/examples/1.6.x/client-apple/examples/functions/get-execution.md index dbf12e17cb..787f297b2c 100644 --- a/docs/examples/1.6.x/client-apple/examples/functions/get-execution.md +++ b/docs/examples/1.6.x/client-apple/examples/functions/get-execution.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let functions = Functions(client) diff --git a/docs/examples/1.6.x/client-apple/examples/functions/list-executions.md b/docs/examples/1.6.x/client-apple/examples/functions/list-executions.md index 4eb2694f7c..0e39181886 100644 --- a/docs/examples/1.6.x/client-apple/examples/functions/list-executions.md +++ b/docs/examples/1.6.x/client-apple/examples/functions/list-executions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let functions = Functions(client) diff --git a/docs/examples/1.6.x/client-apple/examples/graphql/mutation.md b/docs/examples/1.6.x/client-apple/examples/graphql/mutation.md index 8e54971f84..6cd2e588f9 100644 --- a/docs/examples/1.6.x/client-apple/examples/graphql/mutation.md +++ b/docs/examples/1.6.x/client-apple/examples/graphql/mutation.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let graphql = Graphql(client) diff --git a/docs/examples/1.6.x/client-apple/examples/graphql/query.md b/docs/examples/1.6.x/client-apple/examples/graphql/query.md index db93660f1d..47e4c243fa 100644 --- a/docs/examples/1.6.x/client-apple/examples/graphql/query.md +++ b/docs/examples/1.6.x/client-apple/examples/graphql/query.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let graphql = Graphql(client) diff --git a/docs/examples/1.6.x/client-apple/examples/locale/get.md b/docs/examples/1.6.x/client-apple/examples/locale/get.md index ec071cd3a6..9c48317a1d 100644 --- a/docs/examples/1.6.x/client-apple/examples/locale/get.md +++ b/docs/examples/1.6.x/client-apple/examples/locale/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.6.x/client-apple/examples/locale/list-codes.md b/docs/examples/1.6.x/client-apple/examples/locale/list-codes.md index adb35393f4..21d693a7b8 100644 --- a/docs/examples/1.6.x/client-apple/examples/locale/list-codes.md +++ b/docs/examples/1.6.x/client-apple/examples/locale/list-codes.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.6.x/client-apple/examples/locale/list-continents.md b/docs/examples/1.6.x/client-apple/examples/locale/list-continents.md index 934b264051..bd44915a34 100644 --- a/docs/examples/1.6.x/client-apple/examples/locale/list-continents.md +++ b/docs/examples/1.6.x/client-apple/examples/locale/list-continents.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.6.x/client-apple/examples/locale/list-countries-e-u.md b/docs/examples/1.6.x/client-apple/examples/locale/list-countries-e-u.md index 393e523847..2dc24e5a63 100644 --- a/docs/examples/1.6.x/client-apple/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.6.x/client-apple/examples/locale/list-countries-e-u.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.6.x/client-apple/examples/locale/list-countries-phones.md b/docs/examples/1.6.x/client-apple/examples/locale/list-countries-phones.md index 840e9043f6..f3ab6b1f6d 100644 --- a/docs/examples/1.6.x/client-apple/examples/locale/list-countries-phones.md +++ b/docs/examples/1.6.x/client-apple/examples/locale/list-countries-phones.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.6.x/client-apple/examples/locale/list-countries.md b/docs/examples/1.6.x/client-apple/examples/locale/list-countries.md index e6adb9e7d3..dadcd3ee26 100644 --- a/docs/examples/1.6.x/client-apple/examples/locale/list-countries.md +++ b/docs/examples/1.6.x/client-apple/examples/locale/list-countries.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.6.x/client-apple/examples/locale/list-currencies.md b/docs/examples/1.6.x/client-apple/examples/locale/list-currencies.md index b34a9715a7..dc20ead45e 100644 --- a/docs/examples/1.6.x/client-apple/examples/locale/list-currencies.md +++ b/docs/examples/1.6.x/client-apple/examples/locale/list-currencies.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.6.x/client-apple/examples/locale/list-languages.md b/docs/examples/1.6.x/client-apple/examples/locale/list-languages.md index db41d39e00..92c1d7b1dc 100644 --- a/docs/examples/1.6.x/client-apple/examples/locale/list-languages.md +++ b/docs/examples/1.6.x/client-apple/examples/locale/list-languages.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let locale = Locale(client) diff --git a/docs/examples/1.6.x/client-apple/examples/messaging/create-subscriber.md b/docs/examples/1.6.x/client-apple/examples/messaging/create-subscriber.md index 0e3793b7bc..f85d5e6fb1 100644 --- a/docs/examples/1.6.x/client-apple/examples/messaging/create-subscriber.md +++ b/docs/examples/1.6.x/client-apple/examples/messaging/create-subscriber.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let messaging = Messaging(client) diff --git a/docs/examples/1.6.x/client-apple/examples/messaging/delete-subscriber.md b/docs/examples/1.6.x/client-apple/examples/messaging/delete-subscriber.md index 3a8b7c40ce..f1cdda95c7 100644 --- a/docs/examples/1.6.x/client-apple/examples/messaging/delete-subscriber.md +++ b/docs/examples/1.6.x/client-apple/examples/messaging/delete-subscriber.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let messaging = Messaging(client) diff --git a/docs/examples/1.6.x/client-apple/examples/storage/create-file.md b/docs/examples/1.6.x/client-apple/examples/storage/create-file.md index 2e5b945198..2db9b20e1b 100644 --- a/docs/examples/1.6.x/client-apple/examples/storage/create-file.md +++ b/docs/examples/1.6.x/client-apple/examples/storage/create-file.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.6.x/client-apple/examples/storage/delete-file.md b/docs/examples/1.6.x/client-apple/examples/storage/delete-file.md index caeb173fc5..ca721a4a41 100644 --- a/docs/examples/1.6.x/client-apple/examples/storage/delete-file.md +++ b/docs/examples/1.6.x/client-apple/examples/storage/delete-file.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.6.x/client-apple/examples/storage/get-file-download.md b/docs/examples/1.6.x/client-apple/examples/storage/get-file-download.md index 3d8bf6bfb9..92ac2a89ff 100644 --- a/docs/examples/1.6.x/client-apple/examples/storage/get-file-download.md +++ b/docs/examples/1.6.x/client-apple/examples/storage/get-file-download.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.6.x/client-apple/examples/storage/get-file-preview.md b/docs/examples/1.6.x/client-apple/examples/storage/get-file-preview.md index 17e42f9065..d157635688 100644 --- a/docs/examples/1.6.x/client-apple/examples/storage/get-file-preview.md +++ b/docs/examples/1.6.x/client-apple/examples/storage/get-file-preview.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.6.x/client-apple/examples/storage/get-file-view.md b/docs/examples/1.6.x/client-apple/examples/storage/get-file-view.md index e62afb7727..14843a7ae0 100644 --- a/docs/examples/1.6.x/client-apple/examples/storage/get-file-view.md +++ b/docs/examples/1.6.x/client-apple/examples/storage/get-file-view.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.6.x/client-apple/examples/storage/get-file.md b/docs/examples/1.6.x/client-apple/examples/storage/get-file.md index 367fd39b2e..2730b4d528 100644 --- a/docs/examples/1.6.x/client-apple/examples/storage/get-file.md +++ b/docs/examples/1.6.x/client-apple/examples/storage/get-file.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.6.x/client-apple/examples/storage/list-files.md b/docs/examples/1.6.x/client-apple/examples/storage/list-files.md index 3996ba718c..48bd0d065f 100644 --- a/docs/examples/1.6.x/client-apple/examples/storage/list-files.md +++ b/docs/examples/1.6.x/client-apple/examples/storage/list-files.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.6.x/client-apple/examples/storage/update-file.md b/docs/examples/1.6.x/client-apple/examples/storage/update-file.md index 37a3001e95..adef969845 100644 --- a/docs/examples/1.6.x/client-apple/examples/storage/update-file.md +++ b/docs/examples/1.6.x/client-apple/examples/storage/update-file.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let storage = Storage(client) diff --git a/docs/examples/1.6.x/client-apple/examples/teams/create-membership.md b/docs/examples/1.6.x/client-apple/examples/teams/create-membership.md index e911b2aa5a..3c6d093c64 100644 --- a/docs/examples/1.6.x/client-apple/examples/teams/create-membership.md +++ b/docs/examples/1.6.x/client-apple/examples/teams/create-membership.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.6.x/client-apple/examples/teams/create.md b/docs/examples/1.6.x/client-apple/examples/teams/create.md index b355a633c6..b9f5ea4080 100644 --- a/docs/examples/1.6.x/client-apple/examples/teams/create.md +++ b/docs/examples/1.6.x/client-apple/examples/teams/create.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.6.x/client-apple/examples/teams/delete-membership.md b/docs/examples/1.6.x/client-apple/examples/teams/delete-membership.md index 8252272ec7..7c21410bf3 100644 --- a/docs/examples/1.6.x/client-apple/examples/teams/delete-membership.md +++ b/docs/examples/1.6.x/client-apple/examples/teams/delete-membership.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.6.x/client-apple/examples/teams/delete.md b/docs/examples/1.6.x/client-apple/examples/teams/delete.md index 1caee83031..1787b4c749 100644 --- a/docs/examples/1.6.x/client-apple/examples/teams/delete.md +++ b/docs/examples/1.6.x/client-apple/examples/teams/delete.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.6.x/client-apple/examples/teams/get-membership.md b/docs/examples/1.6.x/client-apple/examples/teams/get-membership.md index 62e3a513ef..837a92dd04 100644 --- a/docs/examples/1.6.x/client-apple/examples/teams/get-membership.md +++ b/docs/examples/1.6.x/client-apple/examples/teams/get-membership.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.6.x/client-apple/examples/teams/get-prefs.md b/docs/examples/1.6.x/client-apple/examples/teams/get-prefs.md index 04ece54917..b5b17a3bc2 100644 --- a/docs/examples/1.6.x/client-apple/examples/teams/get-prefs.md +++ b/docs/examples/1.6.x/client-apple/examples/teams/get-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.6.x/client-apple/examples/teams/get.md b/docs/examples/1.6.x/client-apple/examples/teams/get.md index c5673bdae3..af358fbb67 100644 --- a/docs/examples/1.6.x/client-apple/examples/teams/get.md +++ b/docs/examples/1.6.x/client-apple/examples/teams/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.6.x/client-apple/examples/teams/list-memberships.md b/docs/examples/1.6.x/client-apple/examples/teams/list-memberships.md index e85b11cecb..5c8669a3d8 100644 --- a/docs/examples/1.6.x/client-apple/examples/teams/list-memberships.md +++ b/docs/examples/1.6.x/client-apple/examples/teams/list-memberships.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.6.x/client-apple/examples/teams/list.md b/docs/examples/1.6.x/client-apple/examples/teams/list.md index c5e7175d30..be81e9c5aa 100644 --- a/docs/examples/1.6.x/client-apple/examples/teams/list.md +++ b/docs/examples/1.6.x/client-apple/examples/teams/list.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.6.x/client-apple/examples/teams/update-membership-status.md b/docs/examples/1.6.x/client-apple/examples/teams/update-membership-status.md index c50ef0e861..1f3cb39d92 100644 --- a/docs/examples/1.6.x/client-apple/examples/teams/update-membership-status.md +++ b/docs/examples/1.6.x/client-apple/examples/teams/update-membership-status.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.6.x/client-apple/examples/teams/update-membership.md b/docs/examples/1.6.x/client-apple/examples/teams/update-membership.md index c4500a3ff1..eaa61799c2 100644 --- a/docs/examples/1.6.x/client-apple/examples/teams/update-membership.md +++ b/docs/examples/1.6.x/client-apple/examples/teams/update-membership.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.6.x/client-apple/examples/teams/update-name.md b/docs/examples/1.6.x/client-apple/examples/teams/update-name.md index 64e2cab037..ce5188b950 100644 --- a/docs/examples/1.6.x/client-apple/examples/teams/update-name.md +++ b/docs/examples/1.6.x/client-apple/examples/teams/update-name.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.6.x/client-apple/examples/teams/update-prefs.md b/docs/examples/1.6.x/client-apple/examples/teams/update-prefs.md index a69d48567d..e20ec2ea18 100644 --- a/docs/examples/1.6.x/client-apple/examples/teams/update-prefs.md +++ b/docs/examples/1.6.x/client-apple/examples/teams/update-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let teams = Teams(client) diff --git a/docs/examples/1.6.x/client-flutter/examples/account/create-anonymous-session.md b/docs/examples/1.6.x/client-flutter/examples/account/create-anonymous-session.md index 50887f10de..cdcd98ddb2 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/create-anonymous-session.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/create-anonymous-session.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/create-email-password-session.md b/docs/examples/1.6.x/client-flutter/examples/account/create-email-password-session.md index 64c0e93ca2..66bc2ab5f4 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/create-email-password-session.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/create-email-password-session.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/create-email-token.md b/docs/examples/1.6.x/client-flutter/examples/account/create-email-token.md index 140689a904..2640894502 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/create-email-token.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/create-email-token.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/create-j-w-t.md b/docs/examples/1.6.x/client-flutter/examples/account/create-j-w-t.md index 256f28e0f3..b9cbc8f5a5 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/create-j-w-t.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/create-j-w-t.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/create-magic-u-r-l-token.md b/docs/examples/1.6.x/client-flutter/examples/account/create-magic-u-r-l-token.md index cf2d1bd1fe..454a951022 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/create-magic-u-r-l-token.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/create-mfa-authenticator.md b/docs/examples/1.6.x/client-flutter/examples/account/create-mfa-authenticator.md index 2b35cc9ed4..ca66149654 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/create-mfa-authenticator.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/create-mfa-authenticator.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/create-mfa-challenge.md b/docs/examples/1.6.x/client-flutter/examples/account/create-mfa-challenge.md index ad1b8c201f..6815e5c52f 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/create-mfa-challenge.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/create-mfa-recovery-codes.md b/docs/examples/1.6.x/client-flutter/examples/account/create-mfa-recovery-codes.md index 22b3b44caf..274dc598a8 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/create-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/create-o-auth2session.md b/docs/examples/1.6.x/client-flutter/examples/account/create-o-auth2session.md index d00a1c7144..ab53f4a777 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/create-o-auth2session.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/create-o-auth2session.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/create-o-auth2token.md b/docs/examples/1.6.x/client-flutter/examples/account/create-o-auth2token.md index b1478bf9df..d6b6c72c7e 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/create-o-auth2token.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/create-o-auth2token.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/create-phone-token.md b/docs/examples/1.6.x/client-flutter/examples/account/create-phone-token.md index 08dce5f7b2..ff0187f0dc 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/create-phone-token.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/create-phone-token.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/create-phone-verification.md b/docs/examples/1.6.x/client-flutter/examples/account/create-phone-verification.md index 727cfe5012..11e215a060 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/create-phone-verification.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/create-phone-verification.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/create-push-target.md b/docs/examples/1.6.x/client-flutter/examples/account/create-push-target.md index de324b842e..fd1755e3c5 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/create-push-target.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/create-push-target.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/create-recovery.md b/docs/examples/1.6.x/client-flutter/examples/account/create-recovery.md index 09d0994dd1..44985beb80 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/create-recovery.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/create-recovery.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/create-session.md b/docs/examples/1.6.x/client-flutter/examples/account/create-session.md index e35cc1978d..e54e68a317 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/create-session.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/create-session.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/create-verification.md b/docs/examples/1.6.x/client-flutter/examples/account/create-verification.md index 85142abee9..8f96997249 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/create-verification.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/create-verification.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/create.md b/docs/examples/1.6.x/client-flutter/examples/account/create.md index 98f6fcbaa2..ae0d526944 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/create.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/create.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/delete-identity.md b/docs/examples/1.6.x/client-flutter/examples/account/delete-identity.md index 9846a0c11c..849fa726a4 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/delete-identity.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/delete-identity.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/delete-mfa-authenticator.md b/docs/examples/1.6.x/client-flutter/examples/account/delete-mfa-authenticator.md index 6d2a21ce89..bf4b0c509b 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/delete-mfa-authenticator.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/delete-push-target.md b/docs/examples/1.6.x/client-flutter/examples/account/delete-push-target.md index f6ec230d71..6393d4ed4e 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/delete-push-target.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/delete-push-target.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/delete-session.md b/docs/examples/1.6.x/client-flutter/examples/account/delete-session.md index 07978e2c11..55abb18c85 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/delete-session.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/delete-session.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/delete-sessions.md b/docs/examples/1.6.x/client-flutter/examples/account/delete-sessions.md index faafcb97bd..c50b611cac 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/delete-sessions.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/delete-sessions.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.6.x/client-flutter/examples/account/get-mfa-recovery-codes.md index 413fb059e6..f9d50131e5 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/get-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/get-prefs.md b/docs/examples/1.6.x/client-flutter/examples/account/get-prefs.md index bc7731daaa..9332da3a63 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/get-prefs.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/get-prefs.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/get-session.md b/docs/examples/1.6.x/client-flutter/examples/account/get-session.md index 4958fd1c94..d68afcecd2 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/get-session.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/get-session.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/get.md b/docs/examples/1.6.x/client-flutter/examples/account/get.md index c38dd7f4fd..a318617f78 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/get.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/get.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/list-identities.md b/docs/examples/1.6.x/client-flutter/examples/account/list-identities.md index 183d525b3b..9d2ad83c17 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/list-identities.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/list-identities.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/list-logs.md b/docs/examples/1.6.x/client-flutter/examples/account/list-logs.md index ec29b9510d..6d9b120991 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/list-logs.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/list-logs.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/list-mfa-factors.md b/docs/examples/1.6.x/client-flutter/examples/account/list-mfa-factors.md index bb320225cd..9f945400ac 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/list-mfa-factors.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/list-mfa-factors.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/list-sessions.md b/docs/examples/1.6.x/client-flutter/examples/account/list-sessions.md index 3af2299e04..fd1d0e080c 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/list-sessions.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/list-sessions.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/update-email.md b/docs/examples/1.6.x/client-flutter/examples/account/update-email.md index b3c7ffe911..0f3d998284 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/update-email.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/update-email.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/update-m-f-a.md b/docs/examples/1.6.x/client-flutter/examples/account/update-m-f-a.md index c376c72917..fc81c565ed 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/update-m-f-a.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/update-m-f-a.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.6.x/client-flutter/examples/account/update-magic-u-r-l-session.md index e75aba3ffd..d0f91eb0a4 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/update-magic-u-r-l-session.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/update-mfa-authenticator.md b/docs/examples/1.6.x/client-flutter/examples/account/update-mfa-authenticator.md index d2d974fbfe..7f026578c5 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/update-mfa-authenticator.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/update-mfa-authenticator.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/update-mfa-challenge.md b/docs/examples/1.6.x/client-flutter/examples/account/update-mfa-challenge.md index bbe7c03470..a938f0af68 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/update-mfa-challenge.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/update-mfa-recovery-codes.md b/docs/examples/1.6.x/client-flutter/examples/account/update-mfa-recovery-codes.md index fd2aaf721b..37334ef69a 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/update-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/update-name.md b/docs/examples/1.6.x/client-flutter/examples/account/update-name.md index 77e774c767..303a12351f 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/update-name.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/update-name.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/update-password.md b/docs/examples/1.6.x/client-flutter/examples/account/update-password.md index 8d36c1f68d..835d2383ca 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/update-password.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/update-password.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/update-phone-session.md b/docs/examples/1.6.x/client-flutter/examples/account/update-phone-session.md index 64d8d84201..36801792f6 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/update-phone-session.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/update-phone-session.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/update-phone-verification.md b/docs/examples/1.6.x/client-flutter/examples/account/update-phone-verification.md index 5c67e1a5c0..f5bbb773d0 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/update-phone-verification.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/update-phone-verification.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/update-phone.md b/docs/examples/1.6.x/client-flutter/examples/account/update-phone.md index 6c9559db14..6390d14245 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/update-phone.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/update-phone.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/update-prefs.md b/docs/examples/1.6.x/client-flutter/examples/account/update-prefs.md index ca9b709a50..81fa362f89 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/update-prefs.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/update-prefs.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/update-push-target.md b/docs/examples/1.6.x/client-flutter/examples/account/update-push-target.md index a54b1aa30f..c695ea0984 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/update-push-target.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/update-push-target.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/update-recovery.md b/docs/examples/1.6.x/client-flutter/examples/account/update-recovery.md index 648d25b1b6..5ca0239f47 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/update-recovery.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/update-recovery.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/update-session.md b/docs/examples/1.6.x/client-flutter/examples/account/update-session.md index 2cdf32aae0..4c78ebb187 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/update-session.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/update-session.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/update-status.md b/docs/examples/1.6.x/client-flutter/examples/account/update-status.md index 0b0fb95ea6..289a3f0a96 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/update-status.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/update-status.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/account/update-verification.md b/docs/examples/1.6.x/client-flutter/examples/account/update-verification.md index 3071a0409e..15c7ed1928 100644 --- a/docs/examples/1.6.x/client-flutter/examples/account/update-verification.md +++ b/docs/examples/1.6.x/client-flutter/examples/account/update-verification.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/avatars/get-browser.md b/docs/examples/1.6.x/client-flutter/examples/avatars/get-browser.md index 21dae2114e..0ca83b89aa 100644 --- a/docs/examples/1.6.x/client-flutter/examples/avatars/get-browser.md +++ b/docs/examples/1.6.x/client-flutter/examples/avatars/get-browser.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Avatars avatars = Avatars(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/avatars/get-credit-card.md b/docs/examples/1.6.x/client-flutter/examples/avatars/get-credit-card.md index a580e3bdaa..1075e8196a 100644 --- a/docs/examples/1.6.x/client-flutter/examples/avatars/get-credit-card.md +++ b/docs/examples/1.6.x/client-flutter/examples/avatars/get-credit-card.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Avatars avatars = Avatars(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/avatars/get-favicon.md b/docs/examples/1.6.x/client-flutter/examples/avatars/get-favicon.md index f35f5a71a0..0df5ed0d2a 100644 --- a/docs/examples/1.6.x/client-flutter/examples/avatars/get-favicon.md +++ b/docs/examples/1.6.x/client-flutter/examples/avatars/get-favicon.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Avatars avatars = Avatars(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/avatars/get-flag.md b/docs/examples/1.6.x/client-flutter/examples/avatars/get-flag.md index 8f35826124..3aae5bfba7 100644 --- a/docs/examples/1.6.x/client-flutter/examples/avatars/get-flag.md +++ b/docs/examples/1.6.x/client-flutter/examples/avatars/get-flag.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Avatars avatars = Avatars(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/avatars/get-image.md b/docs/examples/1.6.x/client-flutter/examples/avatars/get-image.md index 5d8a986537..5b9d1b58c1 100644 --- a/docs/examples/1.6.x/client-flutter/examples/avatars/get-image.md +++ b/docs/examples/1.6.x/client-flutter/examples/avatars/get-image.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Avatars avatars = Avatars(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/avatars/get-initials.md b/docs/examples/1.6.x/client-flutter/examples/avatars/get-initials.md index 26302d02c3..0c5b62a309 100644 --- a/docs/examples/1.6.x/client-flutter/examples/avatars/get-initials.md +++ b/docs/examples/1.6.x/client-flutter/examples/avatars/get-initials.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Avatars avatars = Avatars(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/avatars/get-q-r.md b/docs/examples/1.6.x/client-flutter/examples/avatars/get-q-r.md index 40f0b5068c..d9a533c886 100644 --- a/docs/examples/1.6.x/client-flutter/examples/avatars/get-q-r.md +++ b/docs/examples/1.6.x/client-flutter/examples/avatars/get-q-r.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Avatars avatars = Avatars(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/databases/create-document.md b/docs/examples/1.6.x/client-flutter/examples/databases/create-document.md index 7853329a05..27efc34580 100644 --- a/docs/examples/1.6.x/client-flutter/examples/databases/create-document.md +++ b/docs/examples/1.6.x/client-flutter/examples/databases/create-document.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Databases databases = Databases(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/databases/delete-document.md b/docs/examples/1.6.x/client-flutter/examples/databases/delete-document.md index 14cec01c0a..3354917c20 100644 --- a/docs/examples/1.6.x/client-flutter/examples/databases/delete-document.md +++ b/docs/examples/1.6.x/client-flutter/examples/databases/delete-document.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Databases databases = Databases(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/databases/get-document.md b/docs/examples/1.6.x/client-flutter/examples/databases/get-document.md index 55206357b2..f85c1f9b5a 100644 --- a/docs/examples/1.6.x/client-flutter/examples/databases/get-document.md +++ b/docs/examples/1.6.x/client-flutter/examples/databases/get-document.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Databases databases = Databases(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/databases/list-documents.md b/docs/examples/1.6.x/client-flutter/examples/databases/list-documents.md index e78a02de6b..31fec1f522 100644 --- a/docs/examples/1.6.x/client-flutter/examples/databases/list-documents.md +++ b/docs/examples/1.6.x/client-flutter/examples/databases/list-documents.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Databases databases = Databases(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/databases/update-document.md b/docs/examples/1.6.x/client-flutter/examples/databases/update-document.md index 29ee8781ff..1f444d875a 100644 --- a/docs/examples/1.6.x/client-flutter/examples/databases/update-document.md +++ b/docs/examples/1.6.x/client-flutter/examples/databases/update-document.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Databases databases = Databases(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/functions/create-execution.md b/docs/examples/1.6.x/client-flutter/examples/functions/create-execution.md index 94f0ae5581..d2a3d9e00a 100644 --- a/docs/examples/1.6.x/client-flutter/examples/functions/create-execution.md +++ b/docs/examples/1.6.x/client-flutter/examples/functions/create-execution.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Functions functions = Functions(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/functions/get-execution.md b/docs/examples/1.6.x/client-flutter/examples/functions/get-execution.md index b459514624..714933be32 100644 --- a/docs/examples/1.6.x/client-flutter/examples/functions/get-execution.md +++ b/docs/examples/1.6.x/client-flutter/examples/functions/get-execution.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Functions functions = Functions(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/functions/list-executions.md b/docs/examples/1.6.x/client-flutter/examples/functions/list-executions.md index ba4b4e41d7..accebe9dd8 100644 --- a/docs/examples/1.6.x/client-flutter/examples/functions/list-executions.md +++ b/docs/examples/1.6.x/client-flutter/examples/functions/list-executions.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Functions functions = Functions(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/graphql/mutation.md b/docs/examples/1.6.x/client-flutter/examples/graphql/mutation.md index 1ac9ba0a0d..60f0c29703 100644 --- a/docs/examples/1.6.x/client-flutter/examples/graphql/mutation.md +++ b/docs/examples/1.6.x/client-flutter/examples/graphql/mutation.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Graphql graphql = Graphql(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/graphql/query.md b/docs/examples/1.6.x/client-flutter/examples/graphql/query.md index 2c06a838ab..d90c3432e9 100644 --- a/docs/examples/1.6.x/client-flutter/examples/graphql/query.md +++ b/docs/examples/1.6.x/client-flutter/examples/graphql/query.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Graphql graphql = Graphql(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/locale/get.md b/docs/examples/1.6.x/client-flutter/examples/locale/get.md index 53cfda5c20..b284699046 100644 --- a/docs/examples/1.6.x/client-flutter/examples/locale/get.md +++ b/docs/examples/1.6.x/client-flutter/examples/locale/get.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Locale locale = Locale(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/locale/list-codes.md b/docs/examples/1.6.x/client-flutter/examples/locale/list-codes.md index bfd53f97bc..0227471571 100644 --- a/docs/examples/1.6.x/client-flutter/examples/locale/list-codes.md +++ b/docs/examples/1.6.x/client-flutter/examples/locale/list-codes.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Locale locale = Locale(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/locale/list-continents.md b/docs/examples/1.6.x/client-flutter/examples/locale/list-continents.md index c462c2e46b..1098bd1d58 100644 --- a/docs/examples/1.6.x/client-flutter/examples/locale/list-continents.md +++ b/docs/examples/1.6.x/client-flutter/examples/locale/list-continents.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Locale locale = Locale(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/locale/list-countries-e-u.md b/docs/examples/1.6.x/client-flutter/examples/locale/list-countries-e-u.md index 0f5629b54f..7d6571f4ee 100644 --- a/docs/examples/1.6.x/client-flutter/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.6.x/client-flutter/examples/locale/list-countries-e-u.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Locale locale = Locale(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/locale/list-countries-phones.md b/docs/examples/1.6.x/client-flutter/examples/locale/list-countries-phones.md index ee8689a986..395f240fd7 100644 --- a/docs/examples/1.6.x/client-flutter/examples/locale/list-countries-phones.md +++ b/docs/examples/1.6.x/client-flutter/examples/locale/list-countries-phones.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Locale locale = Locale(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/locale/list-countries.md b/docs/examples/1.6.x/client-flutter/examples/locale/list-countries.md index 0c1bae6016..a322eb2078 100644 --- a/docs/examples/1.6.x/client-flutter/examples/locale/list-countries.md +++ b/docs/examples/1.6.x/client-flutter/examples/locale/list-countries.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Locale locale = Locale(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/locale/list-currencies.md b/docs/examples/1.6.x/client-flutter/examples/locale/list-currencies.md index a9c53b1264..8884bf45b2 100644 --- a/docs/examples/1.6.x/client-flutter/examples/locale/list-currencies.md +++ b/docs/examples/1.6.x/client-flutter/examples/locale/list-currencies.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Locale locale = Locale(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/locale/list-languages.md b/docs/examples/1.6.x/client-flutter/examples/locale/list-languages.md index c5bdd2643b..0444d94151 100644 --- a/docs/examples/1.6.x/client-flutter/examples/locale/list-languages.md +++ b/docs/examples/1.6.x/client-flutter/examples/locale/list-languages.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Locale locale = Locale(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/messaging/create-subscriber.md b/docs/examples/1.6.x/client-flutter/examples/messaging/create-subscriber.md index 1284151b61..2a278a0481 100644 --- a/docs/examples/1.6.x/client-flutter/examples/messaging/create-subscriber.md +++ b/docs/examples/1.6.x/client-flutter/examples/messaging/create-subscriber.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Messaging messaging = Messaging(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/messaging/delete-subscriber.md b/docs/examples/1.6.x/client-flutter/examples/messaging/delete-subscriber.md index aa66acbf17..02c1f61535 100644 --- a/docs/examples/1.6.x/client-flutter/examples/messaging/delete-subscriber.md +++ b/docs/examples/1.6.x/client-flutter/examples/messaging/delete-subscriber.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Messaging messaging = Messaging(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/storage/create-file.md b/docs/examples/1.6.x/client-flutter/examples/storage/create-file.md index 1a0a498b76..661f6b8b1e 100644 --- a/docs/examples/1.6.x/client-flutter/examples/storage/create-file.md +++ b/docs/examples/1.6.x/client-flutter/examples/storage/create-file.md @@ -2,7 +2,7 @@ import 'dart:io'; import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Storage storage = Storage(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/storage/delete-file.md b/docs/examples/1.6.x/client-flutter/examples/storage/delete-file.md index 39135824b7..b2c6a78f75 100644 --- a/docs/examples/1.6.x/client-flutter/examples/storage/delete-file.md +++ b/docs/examples/1.6.x/client-flutter/examples/storage/delete-file.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Storage storage = Storage(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/storage/get-file-download.md b/docs/examples/1.6.x/client-flutter/examples/storage/get-file-download.md index 3346442532..9048fe469b 100644 --- a/docs/examples/1.6.x/client-flutter/examples/storage/get-file-download.md +++ b/docs/examples/1.6.x/client-flutter/examples/storage/get-file-download.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Storage storage = Storage(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/storage/get-file-preview.md b/docs/examples/1.6.x/client-flutter/examples/storage/get-file-preview.md index 2bb0997616..3d81e61c92 100644 --- a/docs/examples/1.6.x/client-flutter/examples/storage/get-file-preview.md +++ b/docs/examples/1.6.x/client-flutter/examples/storage/get-file-preview.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Storage storage = Storage(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/storage/get-file-view.md b/docs/examples/1.6.x/client-flutter/examples/storage/get-file-view.md index c5f8ea1147..7d43806c2c 100644 --- a/docs/examples/1.6.x/client-flutter/examples/storage/get-file-view.md +++ b/docs/examples/1.6.x/client-flutter/examples/storage/get-file-view.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Storage storage = Storage(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/storage/get-file.md b/docs/examples/1.6.x/client-flutter/examples/storage/get-file.md index 83a32190a4..f4b541ffd1 100644 --- a/docs/examples/1.6.x/client-flutter/examples/storage/get-file.md +++ b/docs/examples/1.6.x/client-flutter/examples/storage/get-file.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Storage storage = Storage(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/storage/list-files.md b/docs/examples/1.6.x/client-flutter/examples/storage/list-files.md index d5f8b0b4d7..7950005b6a 100644 --- a/docs/examples/1.6.x/client-flutter/examples/storage/list-files.md +++ b/docs/examples/1.6.x/client-flutter/examples/storage/list-files.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Storage storage = Storage(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/storage/update-file.md b/docs/examples/1.6.x/client-flutter/examples/storage/update-file.md index c88355a52c..8e598121c1 100644 --- a/docs/examples/1.6.x/client-flutter/examples/storage/update-file.md +++ b/docs/examples/1.6.x/client-flutter/examples/storage/update-file.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Storage storage = Storage(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/teams/create-membership.md b/docs/examples/1.6.x/client-flutter/examples/teams/create-membership.md index 04eedde662..8026521408 100644 --- a/docs/examples/1.6.x/client-flutter/examples/teams/create-membership.md +++ b/docs/examples/1.6.x/client-flutter/examples/teams/create-membership.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Teams teams = Teams(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/teams/create.md b/docs/examples/1.6.x/client-flutter/examples/teams/create.md index 1afcbf1ce5..637e216a04 100644 --- a/docs/examples/1.6.x/client-flutter/examples/teams/create.md +++ b/docs/examples/1.6.x/client-flutter/examples/teams/create.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Teams teams = Teams(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/teams/delete-membership.md b/docs/examples/1.6.x/client-flutter/examples/teams/delete-membership.md index 83c80a2703..0f1941d88b 100644 --- a/docs/examples/1.6.x/client-flutter/examples/teams/delete-membership.md +++ b/docs/examples/1.6.x/client-flutter/examples/teams/delete-membership.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Teams teams = Teams(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/teams/delete.md b/docs/examples/1.6.x/client-flutter/examples/teams/delete.md index 5a4d0dba42..74c74c9cf1 100644 --- a/docs/examples/1.6.x/client-flutter/examples/teams/delete.md +++ b/docs/examples/1.6.x/client-flutter/examples/teams/delete.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Teams teams = Teams(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/teams/get-membership.md b/docs/examples/1.6.x/client-flutter/examples/teams/get-membership.md index 3ae0844c81..468e02cf32 100644 --- a/docs/examples/1.6.x/client-flutter/examples/teams/get-membership.md +++ b/docs/examples/1.6.x/client-flutter/examples/teams/get-membership.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Teams teams = Teams(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/teams/get-prefs.md b/docs/examples/1.6.x/client-flutter/examples/teams/get-prefs.md index 0f93c25a33..a22c78869c 100644 --- a/docs/examples/1.6.x/client-flutter/examples/teams/get-prefs.md +++ b/docs/examples/1.6.x/client-flutter/examples/teams/get-prefs.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Teams teams = Teams(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/teams/get.md b/docs/examples/1.6.x/client-flutter/examples/teams/get.md index bcf45530ee..5e8c3463ea 100644 --- a/docs/examples/1.6.x/client-flutter/examples/teams/get.md +++ b/docs/examples/1.6.x/client-flutter/examples/teams/get.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Teams teams = Teams(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/teams/list-memberships.md b/docs/examples/1.6.x/client-flutter/examples/teams/list-memberships.md index 7fc920a2d0..374dd49069 100644 --- a/docs/examples/1.6.x/client-flutter/examples/teams/list-memberships.md +++ b/docs/examples/1.6.x/client-flutter/examples/teams/list-memberships.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Teams teams = Teams(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/teams/list.md b/docs/examples/1.6.x/client-flutter/examples/teams/list.md index 75b29554c0..3aa972fb5f 100644 --- a/docs/examples/1.6.x/client-flutter/examples/teams/list.md +++ b/docs/examples/1.6.x/client-flutter/examples/teams/list.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Teams teams = Teams(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/teams/update-membership-status.md b/docs/examples/1.6.x/client-flutter/examples/teams/update-membership-status.md index e08f63bac8..1ce3eacb79 100644 --- a/docs/examples/1.6.x/client-flutter/examples/teams/update-membership-status.md +++ b/docs/examples/1.6.x/client-flutter/examples/teams/update-membership-status.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Teams teams = Teams(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/teams/update-membership.md b/docs/examples/1.6.x/client-flutter/examples/teams/update-membership.md index 33e6568da1..bc2bbae75c 100644 --- a/docs/examples/1.6.x/client-flutter/examples/teams/update-membership.md +++ b/docs/examples/1.6.x/client-flutter/examples/teams/update-membership.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Teams teams = Teams(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/teams/update-name.md b/docs/examples/1.6.x/client-flutter/examples/teams/update-name.md index 43d1b0c7fc..8f1794587e 100644 --- a/docs/examples/1.6.x/client-flutter/examples/teams/update-name.md +++ b/docs/examples/1.6.x/client-flutter/examples/teams/update-name.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Teams teams = Teams(client); diff --git a/docs/examples/1.6.x/client-flutter/examples/teams/update-prefs.md b/docs/examples/1.6.x/client-flutter/examples/teams/update-prefs.md index 2a446f0800..7b33c8c313 100644 --- a/docs/examples/1.6.x/client-flutter/examples/teams/update-prefs.md +++ b/docs/examples/1.6.x/client-flutter/examples/teams/update-prefs.md @@ -1,7 +1,7 @@ import 'package:appwrite/appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Teams teams = Teams(client); diff --git a/docs/examples/1.6.x/client-graphql/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.6.x/client-graphql/examples/account/get-mfa-recovery-codes.md index e2de72b57f..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/client-graphql/examples/account/get-mfa-recovery-codes.md @@ -1,5 +0,0 @@ -query { - accountGetMfaRecoveryCodes { - recoveryCodes - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/account/get-prefs.md b/docs/examples/1.6.x/client-graphql/examples/account/get-prefs.md index 6cb48d2b58..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/account/get-prefs.md +++ b/docs/examples/1.6.x/client-graphql/examples/account/get-prefs.md @@ -1,5 +0,0 @@ -query { - accountGetPrefs { - data - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/account/get-session.md b/docs/examples/1.6.x/client-graphql/examples/account/get-session.md index 65c824f68b..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/account/get-session.md +++ b/docs/examples/1.6.x/client-graphql/examples/account/get-session.md @@ -1,35 +0,0 @@ -query { - accountGetSession( - sessionId: "<SESSION_ID>" - ) { - _id - _createdAt - _updatedAt - userId - expire - provider - providerUid - providerAccessToken - providerAccessTokenExpiry - providerRefreshToken - ip - osCode - osName - osVersion - clientType - clientCode - clientName - clientVersion - clientEngine - clientEngineVersion - deviceName - deviceBrand - deviceModel - countryCode - countryName - current - factors - secret - mfaUpdatedAt - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/account/get.md b/docs/examples/1.6.x/client-graphql/examples/account/get.md index f4f07c187f..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/account/get.md +++ b/docs/examples/1.6.x/client-graphql/examples/account/get.md @@ -1,35 +0,0 @@ -query { - accountGet { - _id - _createdAt - _updatedAt - name - password - hash - hashOptions - registration - status - labels - passwordUpdate - email - phone - emailVerification - phoneVerification - mfa - prefs { - data - } - targets { - _id - _createdAt - _updatedAt - name - userId - providerId - providerType - identifier - expired - } - accessedAt - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/account/list-identities.md b/docs/examples/1.6.x/client-graphql/examples/account/list-identities.md index b7a2a6d39a..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/account/list-identities.md +++ b/docs/examples/1.6.x/client-graphql/examples/account/list-identities.md @@ -1,19 +0,0 @@ -query { - accountListIdentities( - queries: [] - ) { - total - identities { - _id - _createdAt - _updatedAt - userId - provider - providerUid - providerEmail - providerAccessToken - providerAccessTokenExpiry - providerRefreshToken - } - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/account/list-logs.md b/docs/examples/1.6.x/client-graphql/examples/account/list-logs.md index 1e17b2f69f..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/account/list-logs.md +++ b/docs/examples/1.6.x/client-graphql/examples/account/list-logs.md @@ -1,30 +0,0 @@ -query { - accountListLogs( - queries: [] - ) { - total - logs { - event - userId - userEmail - userName - mode - ip - time - osCode - osName - osVersion - clientType - clientCode - clientName - clientVersion - clientEngine - clientEngineVersion - deviceName - deviceBrand - deviceModel - countryCode - countryName - } - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/account/list-mfa-factors.md b/docs/examples/1.6.x/client-graphql/examples/account/list-mfa-factors.md index 2a78b901b3..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/account/list-mfa-factors.md +++ b/docs/examples/1.6.x/client-graphql/examples/account/list-mfa-factors.md @@ -1,8 +0,0 @@ -query { - accountListMfaFactors { - totp - phone - email - recoveryCode - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/account/list-sessions.md b/docs/examples/1.6.x/client-graphql/examples/account/list-sessions.md index 6d45f1d4ae..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/account/list-sessions.md +++ b/docs/examples/1.6.x/client-graphql/examples/account/list-sessions.md @@ -1,36 +0,0 @@ -query { - accountListSessions { - total - sessions { - _id - _createdAt - _updatedAt - userId - expire - provider - providerUid - providerAccessToken - providerAccessTokenExpiry - providerRefreshToken - ip - osCode - osName - osVersion - clientType - clientCode - clientName - clientVersion - clientEngine - clientEngineVersion - deviceName - deviceBrand - deviceModel - countryCode - countryName - current - factors - secret - mfaUpdatedAt - } - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/avatars/get-browser.md b/docs/examples/1.6.x/client-graphql/examples/avatars/get-browser.md index 817e1e54c2..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/avatars/get-browser.md +++ b/docs/examples/1.6.x/client-graphql/examples/avatars/get-browser.md @@ -1,10 +0,0 @@ -query { - avatarsGetBrowser( - code: "aa", - width: 0, - height: 0, - quality: 0 - ) { - status - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/avatars/get-credit-card.md b/docs/examples/1.6.x/client-graphql/examples/avatars/get-credit-card.md index e4b5dc18d9..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/avatars/get-credit-card.md +++ b/docs/examples/1.6.x/client-graphql/examples/avatars/get-credit-card.md @@ -1,10 +0,0 @@ -query { - avatarsGetCreditCard( - code: "amex", - width: 0, - height: 0, - quality: 0 - ) { - status - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/avatars/get-favicon.md b/docs/examples/1.6.x/client-graphql/examples/avatars/get-favicon.md index bfea71f498..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/avatars/get-favicon.md +++ b/docs/examples/1.6.x/client-graphql/examples/avatars/get-favicon.md @@ -1,7 +0,0 @@ -query { - avatarsGetFavicon( - url: "https://example.com" - ) { - status - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/avatars/get-flag.md b/docs/examples/1.6.x/client-graphql/examples/avatars/get-flag.md index 1502128581..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/avatars/get-flag.md +++ b/docs/examples/1.6.x/client-graphql/examples/avatars/get-flag.md @@ -1,10 +0,0 @@ -query { - avatarsGetFlag( - code: "af", - width: 0, - height: 0, - quality: 0 - ) { - status - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/avatars/get-image.md b/docs/examples/1.6.x/client-graphql/examples/avatars/get-image.md index 3b9aa104dc..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/avatars/get-image.md +++ b/docs/examples/1.6.x/client-graphql/examples/avatars/get-image.md @@ -1,9 +0,0 @@ -query { - avatarsGetImage( - url: "https://example.com", - width: 0, - height: 0 - ) { - status - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/avatars/get-initials.md b/docs/examples/1.6.x/client-graphql/examples/avatars/get-initials.md index 51ae36136b..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/avatars/get-initials.md +++ b/docs/examples/1.6.x/client-graphql/examples/avatars/get-initials.md @@ -1,10 +0,0 @@ -query { - avatarsGetInitials( - name: "<NAME>", - width: 0, - height: 0, - background: "" - ) { - status - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/avatars/get-q-r.md b/docs/examples/1.6.x/client-graphql/examples/avatars/get-q-r.md index a19f218412..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/avatars/get-q-r.md +++ b/docs/examples/1.6.x/client-graphql/examples/avatars/get-q-r.md @@ -1,10 +0,0 @@ -query { - avatarsGetQR( - text: "<TEXT>", - size: 1, - margin: 0, - download: false - ) { - status - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/databases/get-document.md b/docs/examples/1.6.x/client-graphql/examples/databases/get-document.md index 7cff0a18c1..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/databases/get-document.md +++ b/docs/examples/1.6.x/client-graphql/examples/databases/get-document.md @@ -1,16 +0,0 @@ -query { - databasesGetDocument( - databaseId: "<DATABASE_ID>", - collectionId: "<COLLECTION_ID>", - documentId: "<DOCUMENT_ID>", - queries: [] - ) { - _id - _collectionId - _databaseId - _createdAt - _updatedAt - _permissions - data - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/databases/list-documents.md b/docs/examples/1.6.x/client-graphql/examples/databases/list-documents.md index 077d7c8f12..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/databases/list-documents.md +++ b/docs/examples/1.6.x/client-graphql/examples/databases/list-documents.md @@ -1,18 +0,0 @@ -query { - databasesListDocuments( - databaseId: "<DATABASE_ID>", - collectionId: "<COLLECTION_ID>", - queries: [] - ) { - total - documents { - _id - _collectionId - _databaseId - _createdAt - _updatedAt - _permissions - data - } - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/functions/get-execution.md b/docs/examples/1.6.x/client-graphql/examples/functions/get-execution.md index 6ded51a50c..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/functions/get-execution.md +++ b/docs/examples/1.6.x/client-graphql/examples/functions/get-execution.md @@ -1,30 +0,0 @@ -query { - functionsGetExecution( - functionId: "<FUNCTION_ID>", - executionId: "<EXECUTION_ID>" - ) { - _id - _createdAt - _updatedAt - _permissions - functionId - trigger - status - requestMethod - requestPath - requestHeaders { - name - value - } - responseStatusCode - responseBody - responseHeaders { - name - value - } - logs - errors - duration - scheduledAt - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/functions/list-executions.md b/docs/examples/1.6.x/client-graphql/examples/functions/list-executions.md index a0c02fa76f..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/functions/list-executions.md +++ b/docs/examples/1.6.x/client-graphql/examples/functions/list-executions.md @@ -1,34 +0,0 @@ -query { - functionsListExecutions( - functionId: "<FUNCTION_ID>", - queries: [], - search: "<SEARCH>" - ) { - total - executions { - _id - _createdAt - _updatedAt - _permissions - functionId - trigger - status - requestMethod - requestPath - requestHeaders { - name - value - } - responseStatusCode - responseBody - responseHeaders { - name - value - } - logs - errors - duration - scheduledAt - } - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/locale/get.md b/docs/examples/1.6.x/client-graphql/examples/locale/get.md index 2b2bbcc1f1..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/locale/get.md +++ b/docs/examples/1.6.x/client-graphql/examples/locale/get.md @@ -1,11 +0,0 @@ -query { - localeGet { - ip - countryCode - country - continentCode - continent - eu - currency - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/locale/list-codes.md b/docs/examples/1.6.x/client-graphql/examples/locale/list-codes.md index 0164cc3782..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/locale/list-codes.md +++ b/docs/examples/1.6.x/client-graphql/examples/locale/list-codes.md @@ -1,9 +0,0 @@ -query { - localeListCodes { - total - localeCodes { - code - name - } - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/locale/list-continents.md b/docs/examples/1.6.x/client-graphql/examples/locale/list-continents.md index 41f672c565..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/locale/list-continents.md +++ b/docs/examples/1.6.x/client-graphql/examples/locale/list-continents.md @@ -1,9 +0,0 @@ -query { - localeListContinents { - total - continents { - name - code - } - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/locale/list-countries-e-u.md b/docs/examples/1.6.x/client-graphql/examples/locale/list-countries-e-u.md index 00cd4652f9..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.6.x/client-graphql/examples/locale/list-countries-e-u.md @@ -1,9 +0,0 @@ -query { - localeListCountriesEU { - total - countries { - name - code - } - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/locale/list-countries-phones.md b/docs/examples/1.6.x/client-graphql/examples/locale/list-countries-phones.md index 33d2296850..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/locale/list-countries-phones.md +++ b/docs/examples/1.6.x/client-graphql/examples/locale/list-countries-phones.md @@ -1,10 +0,0 @@ -query { - localeListCountriesPhones { - total - phones { - code - countryCode - countryName - } - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/locale/list-countries.md b/docs/examples/1.6.x/client-graphql/examples/locale/list-countries.md index 9312bc94b1..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/locale/list-countries.md +++ b/docs/examples/1.6.x/client-graphql/examples/locale/list-countries.md @@ -1,9 +0,0 @@ -query { - localeListCountries { - total - countries { - name - code - } - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/locale/list-currencies.md b/docs/examples/1.6.x/client-graphql/examples/locale/list-currencies.md index cde3ab488a..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/locale/list-currencies.md +++ b/docs/examples/1.6.x/client-graphql/examples/locale/list-currencies.md @@ -1,14 +0,0 @@ -query { - localeListCurrencies { - total - currencies { - symbol - name - symbolNative - decimalDigits - rounding - code - namePlural - } - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/locale/list-languages.md b/docs/examples/1.6.x/client-graphql/examples/locale/list-languages.md index b0d76c522b..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/locale/list-languages.md +++ b/docs/examples/1.6.x/client-graphql/examples/locale/list-languages.md @@ -1,10 +0,0 @@ -query { - localeListLanguages { - total - languages { - name - code - nativeName - } - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/storage/get-file-download.md b/docs/examples/1.6.x/client-graphql/examples/storage/get-file-download.md index 8325e8a230..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/storage/get-file-download.md +++ b/docs/examples/1.6.x/client-graphql/examples/storage/get-file-download.md @@ -1,8 +0,0 @@ -query { - storageGetFileDownload( - bucketId: "<BUCKET_ID>", - fileId: "<FILE_ID>" - ) { - status - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/storage/get-file-preview.md b/docs/examples/1.6.x/client-graphql/examples/storage/get-file-preview.md index df32e88350..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/storage/get-file-preview.md +++ b/docs/examples/1.6.x/client-graphql/examples/storage/get-file-preview.md @@ -1,19 +0,0 @@ -query { - storageGetFilePreview( - bucketId: "<BUCKET_ID>", - fileId: "<FILE_ID>", - width: 0, - height: 0, - gravity: "center", - quality: 0, - borderWidth: 0, - borderColor: "", - borderRadius: 0, - opacity: 0, - rotation: -360, - background: "", - output: "jpg" - ) { - status - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/storage/get-file-view.md b/docs/examples/1.6.x/client-graphql/examples/storage/get-file-view.md index 434328a1ec..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/storage/get-file-view.md +++ b/docs/examples/1.6.x/client-graphql/examples/storage/get-file-view.md @@ -1,8 +0,0 @@ -query { - storageGetFileView( - bucketId: "<BUCKET_ID>", - fileId: "<FILE_ID>" - ) { - status - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/storage/get-file.md b/docs/examples/1.6.x/client-graphql/examples/storage/get-file.md index 60886b0f6f..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/storage/get-file.md +++ b/docs/examples/1.6.x/client-graphql/examples/storage/get-file.md @@ -1,18 +0,0 @@ -query { - storageGetFile( - bucketId: "<BUCKET_ID>", - fileId: "<FILE_ID>" - ) { - _id - bucketId - _createdAt - _updatedAt - _permissions - name - signature - mimeType - sizeOriginal - chunksTotal - chunksUploaded - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/storage/list-files.md b/docs/examples/1.6.x/client-graphql/examples/storage/list-files.md index 774cc51b97..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/storage/list-files.md +++ b/docs/examples/1.6.x/client-graphql/examples/storage/list-files.md @@ -1,22 +0,0 @@ -query { - storageListFiles( - bucketId: "<BUCKET_ID>", - queries: [], - search: "<SEARCH>" - ) { - total - files { - _id - bucketId - _createdAt - _updatedAt - _permissions - name - signature - mimeType - sizeOriginal - chunksTotal - chunksUploaded - } - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/teams/get-membership.md b/docs/examples/1.6.x/client-graphql/examples/teams/get-membership.md index c33528609e..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/teams/get-membership.md +++ b/docs/examples/1.6.x/client-graphql/examples/teams/get-membership.md @@ -1,20 +0,0 @@ -query { - teamsGetMembership( - teamId: "<TEAM_ID>", - membershipId: "<MEMBERSHIP_ID>" - ) { - _id - _createdAt - _updatedAt - userId - userName - userEmail - teamId - teamName - invited - joined - confirm - mfa - roles - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/teams/get-prefs.md b/docs/examples/1.6.x/client-graphql/examples/teams/get-prefs.md index fe498079cf..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/teams/get-prefs.md +++ b/docs/examples/1.6.x/client-graphql/examples/teams/get-prefs.md @@ -1,7 +0,0 @@ -query { - teamsGetPrefs( - teamId: "<TEAM_ID>" - ) { - data - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/teams/get.md b/docs/examples/1.6.x/client-graphql/examples/teams/get.md index a3fbb491e0..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/teams/get.md +++ b/docs/examples/1.6.x/client-graphql/examples/teams/get.md @@ -1,14 +0,0 @@ -query { - teamsGet( - teamId: "<TEAM_ID>" - ) { - _id - _createdAt - _updatedAt - name - total - prefs { - data - } - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/teams/list-memberships.md b/docs/examples/1.6.x/client-graphql/examples/teams/list-memberships.md index bf7f0d1eed..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/teams/list-memberships.md +++ b/docs/examples/1.6.x/client-graphql/examples/teams/list-memberships.md @@ -1,24 +0,0 @@ -query { - teamsListMemberships( - teamId: "<TEAM_ID>", - queries: [], - search: "<SEARCH>" - ) { - total - memberships { - _id - _createdAt - _updatedAt - userId - userName - userEmail - teamId - teamName - invited - joined - confirm - mfa - roles - } - } -} diff --git a/docs/examples/1.6.x/client-graphql/examples/teams/list.md b/docs/examples/1.6.x/client-graphql/examples/teams/list.md index e7005b5326..e69de29bb2 100644 --- a/docs/examples/1.6.x/client-graphql/examples/teams/list.md +++ b/docs/examples/1.6.x/client-graphql/examples/teams/list.md @@ -1,18 +0,0 @@ -query { - teamsList( - queries: [], - search: "<SEARCH>" - ) { - total - teams { - _id - _createdAt - _updatedAt - name - total - prefs { - data - } - } - } -} diff --git a/docs/examples/1.6.x/client-react-native/examples/account/create-anonymous-session.md b/docs/examples/1.6.x/client-react-native/examples/account/create-anonymous-session.md index 333e19942b..4baad33e9d 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/create-anonymous-session.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/create-anonymous-session.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/create-email-password-session.md b/docs/examples/1.6.x/client-react-native/examples/account/create-email-password-session.md index 0718e39376..217d7873ae 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/create-email-password-session.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/create-email-password-session.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/create-email-token.md b/docs/examples/1.6.x/client-react-native/examples/account/create-email-token.md index 13d08f0b2f..b9bdf3bbe2 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/create-email-token.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/create-email-token.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/create-j-w-t.md b/docs/examples/1.6.x/client-react-native/examples/account/create-j-w-t.md index fd060c8c32..217dc78785 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/create-j-w-t.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/create-j-w-t.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/create-magic-u-r-l-token.md b/docs/examples/1.6.x/client-react-native/examples/account/create-magic-u-r-l-token.md index b627ca6c5f..413e347aef 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/create-magic-u-r-l-token.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/create-mfa-authenticator.md b/docs/examples/1.6.x/client-react-native/examples/account/create-mfa-authenticator.md index d34d9957b1..ec243490aa 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/create-mfa-authenticator.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/create-mfa-authenticator.md @@ -1,7 +1,7 @@ import { Client, Account, AuthenticatorType } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/create-mfa-challenge.md b/docs/examples/1.6.x/client-react-native/examples/account/create-mfa-challenge.md index f5c94903d0..04de25863f 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/create-mfa-challenge.md @@ -1,7 +1,7 @@ import { Client, Account, AuthenticationFactor } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/create-mfa-recovery-codes.md b/docs/examples/1.6.x/client-react-native/examples/account/create-mfa-recovery-codes.md index 66ec3680d0..f256be308b 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/create-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/create-o-auth2session.md b/docs/examples/1.6.x/client-react-native/examples/account/create-o-auth2session.md index 7dff573465..84bddb4777 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/create-o-auth2session.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/create-o-auth2session.md @@ -1,7 +1,7 @@ import { Client, Account, OAuthProvider } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/create-o-auth2token.md b/docs/examples/1.6.x/client-react-native/examples/account/create-o-auth2token.md index 85ffb2a2bf..cd4ee86aa1 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/create-o-auth2token.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/create-o-auth2token.md @@ -1,7 +1,7 @@ import { Client, Account, OAuthProvider } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/create-phone-token.md b/docs/examples/1.6.x/client-react-native/examples/account/create-phone-token.md index 33988887a2..d03e5ea4bc 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/create-phone-token.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/create-phone-token.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/create-phone-verification.md b/docs/examples/1.6.x/client-react-native/examples/account/create-phone-verification.md index 39a3313556..62bcc48113 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/create-phone-verification.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/create-phone-verification.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/create-push-target.md b/docs/examples/1.6.x/client-react-native/examples/account/create-push-target.md index da020dae34..83211ab9f3 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/create-push-target.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/create-push-target.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/create-recovery.md b/docs/examples/1.6.x/client-react-native/examples/account/create-recovery.md index c46c907953..802af82fb7 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/create-recovery.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/create-recovery.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/create-session.md b/docs/examples/1.6.x/client-react-native/examples/account/create-session.md index 3c85dc8a46..bb3040aef6 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/create-session.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/create-session.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/create-verification.md b/docs/examples/1.6.x/client-react-native/examples/account/create-verification.md index cce3e1aae0..5fdffcba5c 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/create-verification.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/create-verification.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/create.md b/docs/examples/1.6.x/client-react-native/examples/account/create.md index 5db3d7d9f1..eb3d04ac54 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/create.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/create.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/delete-identity.md b/docs/examples/1.6.x/client-react-native/examples/account/delete-identity.md index c25a5a4417..df492a528d 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/delete-identity.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/delete-identity.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/delete-mfa-authenticator.md b/docs/examples/1.6.x/client-react-native/examples/account/delete-mfa-authenticator.md index 5be2b161aa..093ba4d5a2 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/delete-mfa-authenticator.md @@ -1,7 +1,7 @@ import { Client, Account, AuthenticatorType } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/delete-push-target.md b/docs/examples/1.6.x/client-react-native/examples/account/delete-push-target.md index 34e89ab4a3..a926ede9c6 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/delete-push-target.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/delete-push-target.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/delete-session.md b/docs/examples/1.6.x/client-react-native/examples/account/delete-session.md index 60791284b6..134a2caa56 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/delete-session.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/delete-session.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/delete-sessions.md b/docs/examples/1.6.x/client-react-native/examples/account/delete-sessions.md index 67652f21e8..830eb273a8 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/delete-sessions.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/delete-sessions.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.6.x/client-react-native/examples/account/get-mfa-recovery-codes.md index 06f09b8d34..c660a17ab8 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/get-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/get-prefs.md b/docs/examples/1.6.x/client-react-native/examples/account/get-prefs.md index ef4185ca12..b26a7b09f0 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/get-prefs.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/get-prefs.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/get-session.md b/docs/examples/1.6.x/client-react-native/examples/account/get-session.md index ca6cfb72aa..1db05d5c26 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/get-session.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/get-session.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/get.md b/docs/examples/1.6.x/client-react-native/examples/account/get.md index cd5d50fe28..21d2401601 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/get.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/get.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/list-identities.md b/docs/examples/1.6.x/client-react-native/examples/account/list-identities.md index 6189f80e0f..239dbbf21f 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/list-identities.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/list-identities.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/list-logs.md b/docs/examples/1.6.x/client-react-native/examples/account/list-logs.md index 48fe10be13..9cf441453c 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/list-logs.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/list-logs.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/list-mfa-factors.md b/docs/examples/1.6.x/client-react-native/examples/account/list-mfa-factors.md index ada7d48762..51b76c90e4 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/list-mfa-factors.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/list-mfa-factors.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/list-sessions.md b/docs/examples/1.6.x/client-react-native/examples/account/list-sessions.md index cc081d5e3c..68232be292 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/list-sessions.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/list-sessions.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/update-email.md b/docs/examples/1.6.x/client-react-native/examples/account/update-email.md index 5f879989e3..4bbe0b03e7 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/update-email.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/update-email.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/update-m-f-a.md b/docs/examples/1.6.x/client-react-native/examples/account/update-m-f-a.md index 30f5f64199..ebbfc0c8cd 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/update-m-f-a.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/update-m-f-a.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.6.x/client-react-native/examples/account/update-magic-u-r-l-session.md index a5b92765dc..c5e6b61395 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/update-magic-u-r-l-session.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/update-mfa-authenticator.md b/docs/examples/1.6.x/client-react-native/examples/account/update-mfa-authenticator.md index f3f3276dfd..07a798e7a6 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/update-mfa-authenticator.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/update-mfa-authenticator.md @@ -1,7 +1,7 @@ import { Client, Account, AuthenticatorType } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/update-mfa-challenge.md b/docs/examples/1.6.x/client-react-native/examples/account/update-mfa-challenge.md index b26d387ad2..b93e0bf520 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/update-mfa-challenge.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/update-mfa-recovery-codes.md b/docs/examples/1.6.x/client-react-native/examples/account/update-mfa-recovery-codes.md index 81d27f7c54..2ed9bb0204 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/update-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/update-name.md b/docs/examples/1.6.x/client-react-native/examples/account/update-name.md index 47e5db988b..adbbcab5be 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/update-name.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/update-name.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/update-password.md b/docs/examples/1.6.x/client-react-native/examples/account/update-password.md index a37ee4c355..3bde58e68a 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/update-password.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/update-password.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/update-phone-session.md b/docs/examples/1.6.x/client-react-native/examples/account/update-phone-session.md index d7098e5155..c9c82696fc 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/update-phone-session.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/update-phone-session.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/update-phone-verification.md b/docs/examples/1.6.x/client-react-native/examples/account/update-phone-verification.md index 582061fac5..0ef7e53e66 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/update-phone-verification.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/update-phone-verification.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/update-phone.md b/docs/examples/1.6.x/client-react-native/examples/account/update-phone.md index cc39c5ef0f..bf8aae2a3d 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/update-phone.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/update-phone.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/update-prefs.md b/docs/examples/1.6.x/client-react-native/examples/account/update-prefs.md index 4478e02320..01d4fd6878 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/update-prefs.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/update-prefs.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/update-push-target.md b/docs/examples/1.6.x/client-react-native/examples/account/update-push-target.md index 6871a1016c..d88e22e04d 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/update-push-target.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/update-push-target.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/update-recovery.md b/docs/examples/1.6.x/client-react-native/examples/account/update-recovery.md index 73184b84b5..9a5ef04f3a 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/update-recovery.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/update-recovery.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/update-session.md b/docs/examples/1.6.x/client-react-native/examples/account/update-session.md index 34bc567fb5..0c8a9e5df3 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/update-session.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/update-session.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/update-status.md b/docs/examples/1.6.x/client-react-native/examples/account/update-status.md index 0b6ec6f792..8d3a2b0698 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/update-status.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/update-status.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/account/update-verification.md b/docs/examples/1.6.x/client-react-native/examples/account/update-verification.md index 9d00a4826c..c956d5fcd6 100644 --- a/docs/examples/1.6.x/client-react-native/examples/account/update-verification.md +++ b/docs/examples/1.6.x/client-react-native/examples/account/update-verification.md @@ -1,7 +1,7 @@ import { Client, Account } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/avatars/get-browser.md b/docs/examples/1.6.x/client-react-native/examples/avatars/get-browser.md index bbcb0df83a..6bb005e579 100644 --- a/docs/examples/1.6.x/client-react-native/examples/avatars/get-browser.md +++ b/docs/examples/1.6.x/client-react-native/examples/avatars/get-browser.md @@ -1,7 +1,7 @@ import { Client, Avatars, Browser } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/avatars/get-credit-card.md b/docs/examples/1.6.x/client-react-native/examples/avatars/get-credit-card.md index a97cc6c430..bdaaf8bfd6 100644 --- a/docs/examples/1.6.x/client-react-native/examples/avatars/get-credit-card.md +++ b/docs/examples/1.6.x/client-react-native/examples/avatars/get-credit-card.md @@ -1,7 +1,7 @@ import { Client, Avatars, CreditCard } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/avatars/get-favicon.md b/docs/examples/1.6.x/client-react-native/examples/avatars/get-favicon.md index 067aa74000..ff48c76ffc 100644 --- a/docs/examples/1.6.x/client-react-native/examples/avatars/get-favicon.md +++ b/docs/examples/1.6.x/client-react-native/examples/avatars/get-favicon.md @@ -1,7 +1,7 @@ import { Client, Avatars } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/avatars/get-flag.md b/docs/examples/1.6.x/client-react-native/examples/avatars/get-flag.md index f2268fcc69..ac7aaf98b3 100644 --- a/docs/examples/1.6.x/client-react-native/examples/avatars/get-flag.md +++ b/docs/examples/1.6.x/client-react-native/examples/avatars/get-flag.md @@ -1,7 +1,7 @@ import { Client, Avatars, Flag } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/avatars/get-image.md b/docs/examples/1.6.x/client-react-native/examples/avatars/get-image.md index 3816e7b464..006155effd 100644 --- a/docs/examples/1.6.x/client-react-native/examples/avatars/get-image.md +++ b/docs/examples/1.6.x/client-react-native/examples/avatars/get-image.md @@ -1,7 +1,7 @@ import { Client, Avatars } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/avatars/get-initials.md b/docs/examples/1.6.x/client-react-native/examples/avatars/get-initials.md index b8545b37ca..a87a643450 100644 --- a/docs/examples/1.6.x/client-react-native/examples/avatars/get-initials.md +++ b/docs/examples/1.6.x/client-react-native/examples/avatars/get-initials.md @@ -1,7 +1,7 @@ import { Client, Avatars } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/avatars/get-q-r.md b/docs/examples/1.6.x/client-react-native/examples/avatars/get-q-r.md index 5c80c6ae2c..177759d9ef 100644 --- a/docs/examples/1.6.x/client-react-native/examples/avatars/get-q-r.md +++ b/docs/examples/1.6.x/client-react-native/examples/avatars/get-q-r.md @@ -1,7 +1,7 @@ import { Client, Avatars } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/databases/create-document.md b/docs/examples/1.6.x/client-react-native/examples/databases/create-document.md index 58053ca0aa..1b28231ed3 100644 --- a/docs/examples/1.6.x/client-react-native/examples/databases/create-document.md +++ b/docs/examples/1.6.x/client-react-native/examples/databases/create-document.md @@ -1,7 +1,7 @@ import { Client, Databases } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/databases/delete-document.md b/docs/examples/1.6.x/client-react-native/examples/databases/delete-document.md index beeb7b2a72..9136107a3c 100644 --- a/docs/examples/1.6.x/client-react-native/examples/databases/delete-document.md +++ b/docs/examples/1.6.x/client-react-native/examples/databases/delete-document.md @@ -1,7 +1,7 @@ import { Client, Databases } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/databases/get-document.md b/docs/examples/1.6.x/client-react-native/examples/databases/get-document.md index df2333b5cc..9993e2c941 100644 --- a/docs/examples/1.6.x/client-react-native/examples/databases/get-document.md +++ b/docs/examples/1.6.x/client-react-native/examples/databases/get-document.md @@ -1,7 +1,7 @@ import { Client, Databases } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/databases/list-documents.md b/docs/examples/1.6.x/client-react-native/examples/databases/list-documents.md index 88d94a9089..b2f377e53c 100644 --- a/docs/examples/1.6.x/client-react-native/examples/databases/list-documents.md +++ b/docs/examples/1.6.x/client-react-native/examples/databases/list-documents.md @@ -1,7 +1,7 @@ import { Client, Databases } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/databases/update-document.md b/docs/examples/1.6.x/client-react-native/examples/databases/update-document.md index 5021c0b0f2..7676ee109b 100644 --- a/docs/examples/1.6.x/client-react-native/examples/databases/update-document.md +++ b/docs/examples/1.6.x/client-react-native/examples/databases/update-document.md @@ -1,7 +1,7 @@ import { Client, Databases } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/functions/create-execution.md b/docs/examples/1.6.x/client-react-native/examples/functions/create-execution.md index 9933beb277..72c71f7767 100644 --- a/docs/examples/1.6.x/client-react-native/examples/functions/create-execution.md +++ b/docs/examples/1.6.x/client-react-native/examples/functions/create-execution.md @@ -1,7 +1,7 @@ import { Client, Functions, ExecutionMethod } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/functions/get-execution.md b/docs/examples/1.6.x/client-react-native/examples/functions/get-execution.md index 79fffec4b4..848747ea2f 100644 --- a/docs/examples/1.6.x/client-react-native/examples/functions/get-execution.md +++ b/docs/examples/1.6.x/client-react-native/examples/functions/get-execution.md @@ -1,7 +1,7 @@ import { Client, Functions } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/functions/list-executions.md b/docs/examples/1.6.x/client-react-native/examples/functions/list-executions.md index 0615ecbf57..6a1f5821d7 100644 --- a/docs/examples/1.6.x/client-react-native/examples/functions/list-executions.md +++ b/docs/examples/1.6.x/client-react-native/examples/functions/list-executions.md @@ -1,7 +1,7 @@ import { Client, Functions } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/graphql/mutation.md b/docs/examples/1.6.x/client-react-native/examples/graphql/mutation.md index 2fae4783f1..3292a5dad2 100644 --- a/docs/examples/1.6.x/client-react-native/examples/graphql/mutation.md +++ b/docs/examples/1.6.x/client-react-native/examples/graphql/mutation.md @@ -1,7 +1,7 @@ import { Client, Graphql } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const graphql = new Graphql(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/graphql/query.md b/docs/examples/1.6.x/client-react-native/examples/graphql/query.md index 39d8cb13bb..a00c517a46 100644 --- a/docs/examples/1.6.x/client-react-native/examples/graphql/query.md +++ b/docs/examples/1.6.x/client-react-native/examples/graphql/query.md @@ -1,7 +1,7 @@ import { Client, Graphql } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const graphql = new Graphql(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/locale/get.md b/docs/examples/1.6.x/client-react-native/examples/locale/get.md index 0d48cd85cb..34c1672c53 100644 --- a/docs/examples/1.6.x/client-react-native/examples/locale/get.md +++ b/docs/examples/1.6.x/client-react-native/examples/locale/get.md @@ -1,7 +1,7 @@ import { Client, Locale } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/locale/list-codes.md b/docs/examples/1.6.x/client-react-native/examples/locale/list-codes.md index f1466beeb5..29cec5a5cf 100644 --- a/docs/examples/1.6.x/client-react-native/examples/locale/list-codes.md +++ b/docs/examples/1.6.x/client-react-native/examples/locale/list-codes.md @@ -1,7 +1,7 @@ import { Client, Locale } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/locale/list-continents.md b/docs/examples/1.6.x/client-react-native/examples/locale/list-continents.md index a813a69f17..c98ba19af3 100644 --- a/docs/examples/1.6.x/client-react-native/examples/locale/list-continents.md +++ b/docs/examples/1.6.x/client-react-native/examples/locale/list-continents.md @@ -1,7 +1,7 @@ import { Client, Locale } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/locale/list-countries-e-u.md b/docs/examples/1.6.x/client-react-native/examples/locale/list-countries-e-u.md index 7ba7149edd..7fb71a548d 100644 --- a/docs/examples/1.6.x/client-react-native/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.6.x/client-react-native/examples/locale/list-countries-e-u.md @@ -1,7 +1,7 @@ import { Client, Locale } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/locale/list-countries-phones.md b/docs/examples/1.6.x/client-react-native/examples/locale/list-countries-phones.md index 6d3093dce2..612debc5ab 100644 --- a/docs/examples/1.6.x/client-react-native/examples/locale/list-countries-phones.md +++ b/docs/examples/1.6.x/client-react-native/examples/locale/list-countries-phones.md @@ -1,7 +1,7 @@ import { Client, Locale } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/locale/list-countries.md b/docs/examples/1.6.x/client-react-native/examples/locale/list-countries.md index 9ffb09b829..8b1f636fa6 100644 --- a/docs/examples/1.6.x/client-react-native/examples/locale/list-countries.md +++ b/docs/examples/1.6.x/client-react-native/examples/locale/list-countries.md @@ -1,7 +1,7 @@ import { Client, Locale } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/locale/list-currencies.md b/docs/examples/1.6.x/client-react-native/examples/locale/list-currencies.md index 06326651d2..4b96a5fdbc 100644 --- a/docs/examples/1.6.x/client-react-native/examples/locale/list-currencies.md +++ b/docs/examples/1.6.x/client-react-native/examples/locale/list-currencies.md @@ -1,7 +1,7 @@ import { Client, Locale } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/locale/list-languages.md b/docs/examples/1.6.x/client-react-native/examples/locale/list-languages.md index 1ef69e5921..54166afb1e 100644 --- a/docs/examples/1.6.x/client-react-native/examples/locale/list-languages.md +++ b/docs/examples/1.6.x/client-react-native/examples/locale/list-languages.md @@ -1,7 +1,7 @@ import { Client, Locale } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/messaging/create-subscriber.md b/docs/examples/1.6.x/client-react-native/examples/messaging/create-subscriber.md index 153cd2e3aa..c950e90bae 100644 --- a/docs/examples/1.6.x/client-react-native/examples/messaging/create-subscriber.md +++ b/docs/examples/1.6.x/client-react-native/examples/messaging/create-subscriber.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/messaging/delete-subscriber.md b/docs/examples/1.6.x/client-react-native/examples/messaging/delete-subscriber.md index 6d61172ac4..5004b59cac 100644 --- a/docs/examples/1.6.x/client-react-native/examples/messaging/delete-subscriber.md +++ b/docs/examples/1.6.x/client-react-native/examples/messaging/delete-subscriber.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/storage/create-file.md b/docs/examples/1.6.x/client-react-native/examples/storage/create-file.md index f6e4f47263..efbfd607c1 100644 --- a/docs/examples/1.6.x/client-react-native/examples/storage/create-file.md +++ b/docs/examples/1.6.x/client-react-native/examples/storage/create-file.md @@ -1,7 +1,7 @@ import { Client, Storage } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/storage/delete-file.md b/docs/examples/1.6.x/client-react-native/examples/storage/delete-file.md index 55aed16a46..1a436ac8a8 100644 --- a/docs/examples/1.6.x/client-react-native/examples/storage/delete-file.md +++ b/docs/examples/1.6.x/client-react-native/examples/storage/delete-file.md @@ -1,7 +1,7 @@ import { Client, Storage } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/storage/get-file-download.md b/docs/examples/1.6.x/client-react-native/examples/storage/get-file-download.md index b4b1374ca1..c8dcea3d8d 100644 --- a/docs/examples/1.6.x/client-react-native/examples/storage/get-file-download.md +++ b/docs/examples/1.6.x/client-react-native/examples/storage/get-file-download.md @@ -1,7 +1,7 @@ import { Client, Storage } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/storage/get-file-preview.md b/docs/examples/1.6.x/client-react-native/examples/storage/get-file-preview.md index 10d473ae06..b41236f619 100644 --- a/docs/examples/1.6.x/client-react-native/examples/storage/get-file-preview.md +++ b/docs/examples/1.6.x/client-react-native/examples/storage/get-file-preview.md @@ -1,7 +1,7 @@ import { Client, Storage, ImageGravity, ImageFormat } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/storage/get-file-view.md b/docs/examples/1.6.x/client-react-native/examples/storage/get-file-view.md index 1a54452911..06443a894a 100644 --- a/docs/examples/1.6.x/client-react-native/examples/storage/get-file-view.md +++ b/docs/examples/1.6.x/client-react-native/examples/storage/get-file-view.md @@ -1,7 +1,7 @@ import { Client, Storage } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/storage/get-file.md b/docs/examples/1.6.x/client-react-native/examples/storage/get-file.md index bbbb3fe9fd..6d358adabd 100644 --- a/docs/examples/1.6.x/client-react-native/examples/storage/get-file.md +++ b/docs/examples/1.6.x/client-react-native/examples/storage/get-file.md @@ -1,7 +1,7 @@ import { Client, Storage } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/storage/list-files.md b/docs/examples/1.6.x/client-react-native/examples/storage/list-files.md index 731a1d1ef4..19099b1288 100644 --- a/docs/examples/1.6.x/client-react-native/examples/storage/list-files.md +++ b/docs/examples/1.6.x/client-react-native/examples/storage/list-files.md @@ -1,7 +1,7 @@ import { Client, Storage } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/storage/update-file.md b/docs/examples/1.6.x/client-react-native/examples/storage/update-file.md index ba8cc6068a..d4ed68a337 100644 --- a/docs/examples/1.6.x/client-react-native/examples/storage/update-file.md +++ b/docs/examples/1.6.x/client-react-native/examples/storage/update-file.md @@ -1,7 +1,7 @@ import { Client, Storage } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/teams/create-membership.md b/docs/examples/1.6.x/client-react-native/examples/teams/create-membership.md index c4fc557461..680fdb2ad8 100644 --- a/docs/examples/1.6.x/client-react-native/examples/teams/create-membership.md +++ b/docs/examples/1.6.x/client-react-native/examples/teams/create-membership.md @@ -1,7 +1,7 @@ import { Client, Teams } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/teams/create.md b/docs/examples/1.6.x/client-react-native/examples/teams/create.md index c252f3df89..51aaee358e 100644 --- a/docs/examples/1.6.x/client-react-native/examples/teams/create.md +++ b/docs/examples/1.6.x/client-react-native/examples/teams/create.md @@ -1,7 +1,7 @@ import { Client, Teams } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/teams/delete-membership.md b/docs/examples/1.6.x/client-react-native/examples/teams/delete-membership.md index 683c92d12b..37bdc7f87f 100644 --- a/docs/examples/1.6.x/client-react-native/examples/teams/delete-membership.md +++ b/docs/examples/1.6.x/client-react-native/examples/teams/delete-membership.md @@ -1,7 +1,7 @@ import { Client, Teams } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/teams/delete.md b/docs/examples/1.6.x/client-react-native/examples/teams/delete.md index dfd63fc917..fe67eaffd1 100644 --- a/docs/examples/1.6.x/client-react-native/examples/teams/delete.md +++ b/docs/examples/1.6.x/client-react-native/examples/teams/delete.md @@ -1,7 +1,7 @@ import { Client, Teams } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/teams/get-membership.md b/docs/examples/1.6.x/client-react-native/examples/teams/get-membership.md index 4e30d1bda6..2b253c8b51 100644 --- a/docs/examples/1.6.x/client-react-native/examples/teams/get-membership.md +++ b/docs/examples/1.6.x/client-react-native/examples/teams/get-membership.md @@ -1,7 +1,7 @@ import { Client, Teams } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/teams/get-prefs.md b/docs/examples/1.6.x/client-react-native/examples/teams/get-prefs.md index 40cffb127e..943ed1a181 100644 --- a/docs/examples/1.6.x/client-react-native/examples/teams/get-prefs.md +++ b/docs/examples/1.6.x/client-react-native/examples/teams/get-prefs.md @@ -1,7 +1,7 @@ import { Client, Teams } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/teams/get.md b/docs/examples/1.6.x/client-react-native/examples/teams/get.md index dc2d6cd4d1..9267b57e2f 100644 --- a/docs/examples/1.6.x/client-react-native/examples/teams/get.md +++ b/docs/examples/1.6.x/client-react-native/examples/teams/get.md @@ -1,7 +1,7 @@ import { Client, Teams } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/teams/list-memberships.md b/docs/examples/1.6.x/client-react-native/examples/teams/list-memberships.md index 7eabeeeeab..4444bcd664 100644 --- a/docs/examples/1.6.x/client-react-native/examples/teams/list-memberships.md +++ b/docs/examples/1.6.x/client-react-native/examples/teams/list-memberships.md @@ -1,7 +1,7 @@ import { Client, Teams } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/teams/list.md b/docs/examples/1.6.x/client-react-native/examples/teams/list.md index 64b9324dce..779538a70a 100644 --- a/docs/examples/1.6.x/client-react-native/examples/teams/list.md +++ b/docs/examples/1.6.x/client-react-native/examples/teams/list.md @@ -1,7 +1,7 @@ import { Client, Teams } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/teams/update-membership-status.md b/docs/examples/1.6.x/client-react-native/examples/teams/update-membership-status.md index 0e42de9746..c8edbf08c7 100644 --- a/docs/examples/1.6.x/client-react-native/examples/teams/update-membership-status.md +++ b/docs/examples/1.6.x/client-react-native/examples/teams/update-membership-status.md @@ -1,7 +1,7 @@ import { Client, Teams } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/teams/update-membership.md b/docs/examples/1.6.x/client-react-native/examples/teams/update-membership.md index e22fc975d9..347cbdd095 100644 --- a/docs/examples/1.6.x/client-react-native/examples/teams/update-membership.md +++ b/docs/examples/1.6.x/client-react-native/examples/teams/update-membership.md @@ -1,7 +1,7 @@ import { Client, Teams } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/teams/update-name.md b/docs/examples/1.6.x/client-react-native/examples/teams/update-name.md index 27447af384..0ab4aa1c84 100644 --- a/docs/examples/1.6.x/client-react-native/examples/teams/update-name.md +++ b/docs/examples/1.6.x/client-react-native/examples/teams/update-name.md @@ -1,7 +1,7 @@ import { Client, Teams } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-react-native/examples/teams/update-prefs.md b/docs/examples/1.6.x/client-react-native/examples/teams/update-prefs.md index 02be2aca76..fda16a05db 100644 --- a/docs/examples/1.6.x/client-react-native/examples/teams/update-prefs.md +++ b/docs/examples/1.6.x/client-react-native/examples/teams/update-prefs.md @@ -1,7 +1,7 @@ import { Client, Teams } from "react-native-appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-rest/examples/account/create-o-auth2session.md b/docs/examples/1.6.x/client-rest/examples/account/create-o-auth2session.md index 7b05340413..64a056e229 100644 --- a/docs/examples/1.6.x/client-rest/examples/account/create-o-auth2session.md +++ b/docs/examples/1.6.x/client-rest/examples/account/create-o-auth2session.md @@ -1,6 +1,4 @@ GET /v1/account/sessions/oauth2/{provider} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> - diff --git a/docs/examples/1.6.x/client-rest/examples/account/create-o-auth2token.md b/docs/examples/1.6.x/client-rest/examples/account/create-o-auth2token.md index bd1c62ad70..ab5cf7b65a 100644 --- a/docs/examples/1.6.x/client-rest/examples/account/create-o-auth2token.md +++ b/docs/examples/1.6.x/client-rest/examples/account/create-o-auth2token.md @@ -1,6 +1,4 @@ GET /v1/account/tokens/oauth2/{provider} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> - diff --git a/docs/examples/1.6.x/client-rest/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.6.x/client-rest/examples/account/get-mfa-recovery-codes.md index 4ff19b4907..5cbcdd074f 100644 --- a/docs/examples/1.6.x/client-rest/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/client-rest/examples/account/get-mfa-recovery-codes.md @@ -1,8 +1,6 @@ GET /v1/account/mfa/recovery-codes HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/account/get-prefs.md b/docs/examples/1.6.x/client-rest/examples/account/get-prefs.md index f6e9245809..b3f7689f9c 100644 --- a/docs/examples/1.6.x/client-rest/examples/account/get-prefs.md +++ b/docs/examples/1.6.x/client-rest/examples/account/get-prefs.md @@ -1,8 +1,6 @@ GET /v1/account/prefs HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/account/get-session.md b/docs/examples/1.6.x/client-rest/examples/account/get-session.md index 34d0f05dad..e0ca8b7524 100644 --- a/docs/examples/1.6.x/client-rest/examples/account/get-session.md +++ b/docs/examples/1.6.x/client-rest/examples/account/get-session.md @@ -1,8 +1,6 @@ GET /v1/account/sessions/{sessionId} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/account/get.md b/docs/examples/1.6.x/client-rest/examples/account/get.md index 41ba456ace..af2d783377 100644 --- a/docs/examples/1.6.x/client-rest/examples/account/get.md +++ b/docs/examples/1.6.x/client-rest/examples/account/get.md @@ -1,8 +1,6 @@ GET /v1/account HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/account/list-identities.md b/docs/examples/1.6.x/client-rest/examples/account/list-identities.md index 28c7ebfb78..27ffc6e7c3 100644 --- a/docs/examples/1.6.x/client-rest/examples/account/list-identities.md +++ b/docs/examples/1.6.x/client-rest/examples/account/list-identities.md @@ -1,8 +1,6 @@ GET /v1/account/identities HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/account/list-logs.md b/docs/examples/1.6.x/client-rest/examples/account/list-logs.md index bac50d727e..ace64fb895 100644 --- a/docs/examples/1.6.x/client-rest/examples/account/list-logs.md +++ b/docs/examples/1.6.x/client-rest/examples/account/list-logs.md @@ -1,8 +1,6 @@ GET /v1/account/logs HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/account/list-mfa-factors.md b/docs/examples/1.6.x/client-rest/examples/account/list-mfa-factors.md index 9246740d80..ea2364bebc 100644 --- a/docs/examples/1.6.x/client-rest/examples/account/list-mfa-factors.md +++ b/docs/examples/1.6.x/client-rest/examples/account/list-mfa-factors.md @@ -1,8 +1,6 @@ GET /v1/account/mfa/factors HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/account/list-sessions.md b/docs/examples/1.6.x/client-rest/examples/account/list-sessions.md index ec11f66380..39fa5035dc 100644 --- a/docs/examples/1.6.x/client-rest/examples/account/list-sessions.md +++ b/docs/examples/1.6.x/client-rest/examples/account/list-sessions.md @@ -1,8 +1,6 @@ GET /v1/account/sessions HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/avatars/get-browser.md b/docs/examples/1.6.x/client-rest/examples/avatars/get-browser.md index 553168ecf1..67a8b1dfe2 100644 --- a/docs/examples/1.6.x/client-rest/examples/avatars/get-browser.md +++ b/docs/examples/1.6.x/client-rest/examples/avatars/get-browser.md @@ -1,8 +1,6 @@ GET /v1/avatars/browsers/{code} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/avatars/get-credit-card.md b/docs/examples/1.6.x/client-rest/examples/avatars/get-credit-card.md index daa84cfe15..77b59dac02 100644 --- a/docs/examples/1.6.x/client-rest/examples/avatars/get-credit-card.md +++ b/docs/examples/1.6.x/client-rest/examples/avatars/get-credit-card.md @@ -1,8 +1,6 @@ GET /v1/avatars/credit-cards/{code} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/avatars/get-favicon.md b/docs/examples/1.6.x/client-rest/examples/avatars/get-favicon.md index d4f3a2bc3d..df69a54c53 100644 --- a/docs/examples/1.6.x/client-rest/examples/avatars/get-favicon.md +++ b/docs/examples/1.6.x/client-rest/examples/avatars/get-favicon.md @@ -1,8 +1,6 @@ GET /v1/avatars/favicon HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/avatars/get-flag.md b/docs/examples/1.6.x/client-rest/examples/avatars/get-flag.md index 83f3f4633a..48157d94c3 100644 --- a/docs/examples/1.6.x/client-rest/examples/avatars/get-flag.md +++ b/docs/examples/1.6.x/client-rest/examples/avatars/get-flag.md @@ -1,8 +1,6 @@ GET /v1/avatars/flags/{code} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/avatars/get-image.md b/docs/examples/1.6.x/client-rest/examples/avatars/get-image.md index 26e32f35f9..438297a4ff 100644 --- a/docs/examples/1.6.x/client-rest/examples/avatars/get-image.md +++ b/docs/examples/1.6.x/client-rest/examples/avatars/get-image.md @@ -1,8 +1,6 @@ GET /v1/avatars/image HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/avatars/get-initials.md b/docs/examples/1.6.x/client-rest/examples/avatars/get-initials.md index f84f674e75..6bf5d014ca 100644 --- a/docs/examples/1.6.x/client-rest/examples/avatars/get-initials.md +++ b/docs/examples/1.6.x/client-rest/examples/avatars/get-initials.md @@ -1,8 +1,6 @@ GET /v1/avatars/initials HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/avatars/get-q-r.md b/docs/examples/1.6.x/client-rest/examples/avatars/get-q-r.md index 51a7600426..e9718c5bc5 100644 --- a/docs/examples/1.6.x/client-rest/examples/avatars/get-q-r.md +++ b/docs/examples/1.6.x/client-rest/examples/avatars/get-q-r.md @@ -1,8 +1,6 @@ GET /v1/avatars/qr HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/databases/get-document.md b/docs/examples/1.6.x/client-rest/examples/databases/get-document.md index c89360927c..98b3c08b16 100644 --- a/docs/examples/1.6.x/client-rest/examples/databases/get-document.md +++ b/docs/examples/1.6.x/client-rest/examples/databases/get-document.md @@ -1,8 +1,6 @@ GET /v1/databases/{databaseId}/collections/{collectionId}/documents/{documentId} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/databases/list-documents.md b/docs/examples/1.6.x/client-rest/examples/databases/list-documents.md index 10a67a0da9..b8bf795ff4 100644 --- a/docs/examples/1.6.x/client-rest/examples/databases/list-documents.md +++ b/docs/examples/1.6.x/client-rest/examples/databases/list-documents.md @@ -1,8 +1,6 @@ GET /v1/databases/{databaseId}/collections/{collectionId}/documents HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/functions/get-execution.md b/docs/examples/1.6.x/client-rest/examples/functions/get-execution.md index db50365ae3..af3948fe0e 100644 --- a/docs/examples/1.6.x/client-rest/examples/functions/get-execution.md +++ b/docs/examples/1.6.x/client-rest/examples/functions/get-execution.md @@ -1,8 +1,6 @@ GET /v1/functions/{functionId}/executions/{executionId} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/functions/list-executions.md b/docs/examples/1.6.x/client-rest/examples/functions/list-executions.md index ad399fffdc..306c420fab 100644 --- a/docs/examples/1.6.x/client-rest/examples/functions/list-executions.md +++ b/docs/examples/1.6.x/client-rest/examples/functions/list-executions.md @@ -1,8 +1,6 @@ GET /v1/functions/{functionId}/executions HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/locale/get.md b/docs/examples/1.6.x/client-rest/examples/locale/get.md index b8a4b1db3d..8449f415f4 100644 --- a/docs/examples/1.6.x/client-rest/examples/locale/get.md +++ b/docs/examples/1.6.x/client-rest/examples/locale/get.md @@ -1,8 +1,6 @@ GET /v1/locale HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/locale/list-codes.md b/docs/examples/1.6.x/client-rest/examples/locale/list-codes.md index 9dfb36c9f4..3dc84c7448 100644 --- a/docs/examples/1.6.x/client-rest/examples/locale/list-codes.md +++ b/docs/examples/1.6.x/client-rest/examples/locale/list-codes.md @@ -1,8 +1,6 @@ GET /v1/locale/codes HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/locale/list-continents.md b/docs/examples/1.6.x/client-rest/examples/locale/list-continents.md index 819f40ca65..c0071fac08 100644 --- a/docs/examples/1.6.x/client-rest/examples/locale/list-continents.md +++ b/docs/examples/1.6.x/client-rest/examples/locale/list-continents.md @@ -1,8 +1,6 @@ GET /v1/locale/continents HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/locale/list-countries-e-u.md b/docs/examples/1.6.x/client-rest/examples/locale/list-countries-e-u.md index 83408788f1..11c4e5fa5a 100644 --- a/docs/examples/1.6.x/client-rest/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.6.x/client-rest/examples/locale/list-countries-e-u.md @@ -1,8 +1,6 @@ GET /v1/locale/countries/eu HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/locale/list-countries-phones.md b/docs/examples/1.6.x/client-rest/examples/locale/list-countries-phones.md index e841f46ab8..0403bcb3dc 100644 --- a/docs/examples/1.6.x/client-rest/examples/locale/list-countries-phones.md +++ b/docs/examples/1.6.x/client-rest/examples/locale/list-countries-phones.md @@ -1,8 +1,6 @@ GET /v1/locale/countries/phones HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/locale/list-countries.md b/docs/examples/1.6.x/client-rest/examples/locale/list-countries.md index cbbef63fa1..860b9ee786 100644 --- a/docs/examples/1.6.x/client-rest/examples/locale/list-countries.md +++ b/docs/examples/1.6.x/client-rest/examples/locale/list-countries.md @@ -1,8 +1,6 @@ GET /v1/locale/countries HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/locale/list-currencies.md b/docs/examples/1.6.x/client-rest/examples/locale/list-currencies.md index 20cd73e4dd..7bffe3432d 100644 --- a/docs/examples/1.6.x/client-rest/examples/locale/list-currencies.md +++ b/docs/examples/1.6.x/client-rest/examples/locale/list-currencies.md @@ -1,8 +1,6 @@ GET /v1/locale/currencies HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/locale/list-languages.md b/docs/examples/1.6.x/client-rest/examples/locale/list-languages.md index 67c1b4b5e9..390b7af66f 100644 --- a/docs/examples/1.6.x/client-rest/examples/locale/list-languages.md +++ b/docs/examples/1.6.x/client-rest/examples/locale/list-languages.md @@ -1,8 +1,6 @@ GET /v1/locale/languages HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/storage/get-file-download.md b/docs/examples/1.6.x/client-rest/examples/storage/get-file-download.md index 81316189d7..a4e9392fbd 100644 --- a/docs/examples/1.6.x/client-rest/examples/storage/get-file-download.md +++ b/docs/examples/1.6.x/client-rest/examples/storage/get-file-download.md @@ -1,8 +1,6 @@ GET /v1/storage/buckets/{bucketId}/files/{fileId}/download HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/storage/get-file-preview.md b/docs/examples/1.6.x/client-rest/examples/storage/get-file-preview.md index 7658cfe7c3..26dc43cbf9 100644 --- a/docs/examples/1.6.x/client-rest/examples/storage/get-file-preview.md +++ b/docs/examples/1.6.x/client-rest/examples/storage/get-file-preview.md @@ -1,8 +1,6 @@ GET /v1/storage/buckets/{bucketId}/files/{fileId}/preview HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/storage/get-file-view.md b/docs/examples/1.6.x/client-rest/examples/storage/get-file-view.md index 8800bf311b..a49ef0648a 100644 --- a/docs/examples/1.6.x/client-rest/examples/storage/get-file-view.md +++ b/docs/examples/1.6.x/client-rest/examples/storage/get-file-view.md @@ -1,8 +1,6 @@ GET /v1/storage/buckets/{bucketId}/files/{fileId}/view HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/storage/get-file.md b/docs/examples/1.6.x/client-rest/examples/storage/get-file.md index a2f52e1ec5..0c987dd2e6 100644 --- a/docs/examples/1.6.x/client-rest/examples/storage/get-file.md +++ b/docs/examples/1.6.x/client-rest/examples/storage/get-file.md @@ -1,8 +1,6 @@ GET /v1/storage/buckets/{bucketId}/files/{fileId} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/storage/list-files.md b/docs/examples/1.6.x/client-rest/examples/storage/list-files.md index badf55c82d..8892200057 100644 --- a/docs/examples/1.6.x/client-rest/examples/storage/list-files.md +++ b/docs/examples/1.6.x/client-rest/examples/storage/list-files.md @@ -1,8 +1,6 @@ GET /v1/storage/buckets/{bucketId}/files HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/teams/get-membership.md b/docs/examples/1.6.x/client-rest/examples/teams/get-membership.md index ff5e06e704..8751ab65b9 100644 --- a/docs/examples/1.6.x/client-rest/examples/teams/get-membership.md +++ b/docs/examples/1.6.x/client-rest/examples/teams/get-membership.md @@ -1,8 +1,6 @@ GET /v1/teams/{teamId}/memberships/{membershipId} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/teams/get-prefs.md b/docs/examples/1.6.x/client-rest/examples/teams/get-prefs.md index 8af5263810..cc3f6c3394 100644 --- a/docs/examples/1.6.x/client-rest/examples/teams/get-prefs.md +++ b/docs/examples/1.6.x/client-rest/examples/teams/get-prefs.md @@ -1,8 +1,6 @@ GET /v1/teams/{teamId}/prefs HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/teams/get.md b/docs/examples/1.6.x/client-rest/examples/teams/get.md index c02aa8432c..2ff9345685 100644 --- a/docs/examples/1.6.x/client-rest/examples/teams/get.md +++ b/docs/examples/1.6.x/client-rest/examples/teams/get.md @@ -1,8 +1,6 @@ GET /v1/teams/{teamId} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/teams/list-memberships.md b/docs/examples/1.6.x/client-rest/examples/teams/list-memberships.md index 25e602c3fb..85d0e1cd89 100644 --- a/docs/examples/1.6.x/client-rest/examples/teams/list-memberships.md +++ b/docs/examples/1.6.x/client-rest/examples/teams/list-memberships.md @@ -1,8 +1,6 @@ GET /v1/teams/{teamId}/memberships HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-rest/examples/teams/list.md b/docs/examples/1.6.x/client-rest/examples/teams/list.md index d1bb709687..dee3f5b883 100644 --- a/docs/examples/1.6.x/client-rest/examples/teams/list.md +++ b/docs/examples/1.6.x/client-rest/examples/teams/list.md @@ -1,8 +1,6 @@ GET /v1/teams HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/client-web/examples/account/create-anonymous-session.md b/docs/examples/1.6.x/client-web/examples/account/create-anonymous-session.md index 9a78549a30..42279c0312 100644 --- a/docs/examples/1.6.x/client-web/examples/account/create-anonymous-session.md +++ b/docs/examples/1.6.x/client-web/examples/account/create-anonymous-session.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/create-email-password-session.md b/docs/examples/1.6.x/client-web/examples/account/create-email-password-session.md index 517a7c7518..3438ffbe54 100644 --- a/docs/examples/1.6.x/client-web/examples/account/create-email-password-session.md +++ b/docs/examples/1.6.x/client-web/examples/account/create-email-password-session.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/create-email-token.md b/docs/examples/1.6.x/client-web/examples/account/create-email-token.md index bcc9316b4e..e7cab7c360 100644 --- a/docs/examples/1.6.x/client-web/examples/account/create-email-token.md +++ b/docs/examples/1.6.x/client-web/examples/account/create-email-token.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/create-j-w-t.md b/docs/examples/1.6.x/client-web/examples/account/create-j-w-t.md index e01d8de36e..ff17d60661 100644 --- a/docs/examples/1.6.x/client-web/examples/account/create-j-w-t.md +++ b/docs/examples/1.6.x/client-web/examples/account/create-j-w-t.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/create-magic-u-r-l-token.md b/docs/examples/1.6.x/client-web/examples/account/create-magic-u-r-l-token.md index 155944702a..ba87bd9a3f 100644 --- a/docs/examples/1.6.x/client-web/examples/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.6.x/client-web/examples/account/create-magic-u-r-l-token.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/create-mfa-authenticator.md b/docs/examples/1.6.x/client-web/examples/account/create-mfa-authenticator.md index 6551d13f21..510481511d 100644 --- a/docs/examples/1.6.x/client-web/examples/account/create-mfa-authenticator.md +++ b/docs/examples/1.6.x/client-web/examples/account/create-mfa-authenticator.md @@ -1,7 +1,7 @@ import { Client, Account, AuthenticatorType } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/create-mfa-challenge.md b/docs/examples/1.6.x/client-web/examples/account/create-mfa-challenge.md index c620ca20cd..e9f6f08b48 100644 --- a/docs/examples/1.6.x/client-web/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.6.x/client-web/examples/account/create-mfa-challenge.md @@ -1,7 +1,7 @@ import { Client, Account, AuthenticationFactor } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/create-mfa-recovery-codes.md b/docs/examples/1.6.x/client-web/examples/account/create-mfa-recovery-codes.md index 5a3f6f2d8c..2cc744175e 100644 --- a/docs/examples/1.6.x/client-web/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/client-web/examples/account/create-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/create-o-auth2session.md b/docs/examples/1.6.x/client-web/examples/account/create-o-auth2session.md index 0d797a8eac..caad309ffd 100644 --- a/docs/examples/1.6.x/client-web/examples/account/create-o-auth2session.md +++ b/docs/examples/1.6.x/client-web/examples/account/create-o-auth2session.md @@ -1,7 +1,7 @@ import { Client, Account, OAuthProvider } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/create-o-auth2token.md b/docs/examples/1.6.x/client-web/examples/account/create-o-auth2token.md index a8d7300675..5f0aab36d8 100644 --- a/docs/examples/1.6.x/client-web/examples/account/create-o-auth2token.md +++ b/docs/examples/1.6.x/client-web/examples/account/create-o-auth2token.md @@ -1,7 +1,7 @@ import { Client, Account, OAuthProvider } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/create-phone-token.md b/docs/examples/1.6.x/client-web/examples/account/create-phone-token.md index 01a5d68af4..481e57d353 100644 --- a/docs/examples/1.6.x/client-web/examples/account/create-phone-token.md +++ b/docs/examples/1.6.x/client-web/examples/account/create-phone-token.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/create-phone-verification.md b/docs/examples/1.6.x/client-web/examples/account/create-phone-verification.md index 5da89e9bc0..00373a3dd4 100644 --- a/docs/examples/1.6.x/client-web/examples/account/create-phone-verification.md +++ b/docs/examples/1.6.x/client-web/examples/account/create-phone-verification.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/create-push-target.md b/docs/examples/1.6.x/client-web/examples/account/create-push-target.md index abbbf42057..c987e3d2a8 100644 --- a/docs/examples/1.6.x/client-web/examples/account/create-push-target.md +++ b/docs/examples/1.6.x/client-web/examples/account/create-push-target.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/create-recovery.md b/docs/examples/1.6.x/client-web/examples/account/create-recovery.md index 4d3ec34786..f0a400d86d 100644 --- a/docs/examples/1.6.x/client-web/examples/account/create-recovery.md +++ b/docs/examples/1.6.x/client-web/examples/account/create-recovery.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/create-session.md b/docs/examples/1.6.x/client-web/examples/account/create-session.md index fe43a12c71..b6d7ef8bbb 100644 --- a/docs/examples/1.6.x/client-web/examples/account/create-session.md +++ b/docs/examples/1.6.x/client-web/examples/account/create-session.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/create-verification.md b/docs/examples/1.6.x/client-web/examples/account/create-verification.md index 60bb2d270e..4a3b3144b6 100644 --- a/docs/examples/1.6.x/client-web/examples/account/create-verification.md +++ b/docs/examples/1.6.x/client-web/examples/account/create-verification.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/create.md b/docs/examples/1.6.x/client-web/examples/account/create.md index eb4634faeb..bf2dbec02a 100644 --- a/docs/examples/1.6.x/client-web/examples/account/create.md +++ b/docs/examples/1.6.x/client-web/examples/account/create.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/delete-identity.md b/docs/examples/1.6.x/client-web/examples/account/delete-identity.md index 7a6dbae0be..f34baaaf5e 100644 --- a/docs/examples/1.6.x/client-web/examples/account/delete-identity.md +++ b/docs/examples/1.6.x/client-web/examples/account/delete-identity.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/delete-mfa-authenticator.md b/docs/examples/1.6.x/client-web/examples/account/delete-mfa-authenticator.md index 44f0065399..d11351442c 100644 --- a/docs/examples/1.6.x/client-web/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.6.x/client-web/examples/account/delete-mfa-authenticator.md @@ -1,7 +1,7 @@ import { Client, Account, AuthenticatorType } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/delete-push-target.md b/docs/examples/1.6.x/client-web/examples/account/delete-push-target.md index 7b8f505196..79bb06ed5d 100644 --- a/docs/examples/1.6.x/client-web/examples/account/delete-push-target.md +++ b/docs/examples/1.6.x/client-web/examples/account/delete-push-target.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/delete-session.md b/docs/examples/1.6.x/client-web/examples/account/delete-session.md index 15e91fada0..4d27221d85 100644 --- a/docs/examples/1.6.x/client-web/examples/account/delete-session.md +++ b/docs/examples/1.6.x/client-web/examples/account/delete-session.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/delete-sessions.md b/docs/examples/1.6.x/client-web/examples/account/delete-sessions.md index 71761b2e77..c0fdf13924 100644 --- a/docs/examples/1.6.x/client-web/examples/account/delete-sessions.md +++ b/docs/examples/1.6.x/client-web/examples/account/delete-sessions.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.6.x/client-web/examples/account/get-mfa-recovery-codes.md index 3a8c308052..850488b0c8 100644 --- a/docs/examples/1.6.x/client-web/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/client-web/examples/account/get-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/get-prefs.md b/docs/examples/1.6.x/client-web/examples/account/get-prefs.md index 749df1642f..f283832896 100644 --- a/docs/examples/1.6.x/client-web/examples/account/get-prefs.md +++ b/docs/examples/1.6.x/client-web/examples/account/get-prefs.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/get-session.md b/docs/examples/1.6.x/client-web/examples/account/get-session.md index 6e491f5f68..29af11052e 100644 --- a/docs/examples/1.6.x/client-web/examples/account/get-session.md +++ b/docs/examples/1.6.x/client-web/examples/account/get-session.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/get.md b/docs/examples/1.6.x/client-web/examples/account/get.md index 16498a4b39..ea605914ce 100644 --- a/docs/examples/1.6.x/client-web/examples/account/get.md +++ b/docs/examples/1.6.x/client-web/examples/account/get.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/list-identities.md b/docs/examples/1.6.x/client-web/examples/account/list-identities.md index f6febdf192..54c569b836 100644 --- a/docs/examples/1.6.x/client-web/examples/account/list-identities.md +++ b/docs/examples/1.6.x/client-web/examples/account/list-identities.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/list-logs.md b/docs/examples/1.6.x/client-web/examples/account/list-logs.md index 02f1abb0b7..17c214f949 100644 --- a/docs/examples/1.6.x/client-web/examples/account/list-logs.md +++ b/docs/examples/1.6.x/client-web/examples/account/list-logs.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/list-mfa-factors.md b/docs/examples/1.6.x/client-web/examples/account/list-mfa-factors.md index 9a9c0d4cd6..c9fa7da1bc 100644 --- a/docs/examples/1.6.x/client-web/examples/account/list-mfa-factors.md +++ b/docs/examples/1.6.x/client-web/examples/account/list-mfa-factors.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/list-sessions.md b/docs/examples/1.6.x/client-web/examples/account/list-sessions.md index a42018a00f..453e606517 100644 --- a/docs/examples/1.6.x/client-web/examples/account/list-sessions.md +++ b/docs/examples/1.6.x/client-web/examples/account/list-sessions.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/update-email.md b/docs/examples/1.6.x/client-web/examples/account/update-email.md index e15f23c1c9..9e02fc9416 100644 --- a/docs/examples/1.6.x/client-web/examples/account/update-email.md +++ b/docs/examples/1.6.x/client-web/examples/account/update-email.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/update-m-f-a.md b/docs/examples/1.6.x/client-web/examples/account/update-m-f-a.md index 8ac7607086..58b6a061b1 100644 --- a/docs/examples/1.6.x/client-web/examples/account/update-m-f-a.md +++ b/docs/examples/1.6.x/client-web/examples/account/update-m-f-a.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.6.x/client-web/examples/account/update-magic-u-r-l-session.md index 5f268f8983..47501c528f 100644 --- a/docs/examples/1.6.x/client-web/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.6.x/client-web/examples/account/update-magic-u-r-l-session.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/update-mfa-authenticator.md b/docs/examples/1.6.x/client-web/examples/account/update-mfa-authenticator.md index 3441946303..74eedd8dc7 100644 --- a/docs/examples/1.6.x/client-web/examples/account/update-mfa-authenticator.md +++ b/docs/examples/1.6.x/client-web/examples/account/update-mfa-authenticator.md @@ -1,7 +1,7 @@ import { Client, Account, AuthenticatorType } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/update-mfa-challenge.md b/docs/examples/1.6.x/client-web/examples/account/update-mfa-challenge.md index 6c83570d3d..01a09dd354 100644 --- a/docs/examples/1.6.x/client-web/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.6.x/client-web/examples/account/update-mfa-challenge.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/update-mfa-recovery-codes.md b/docs/examples/1.6.x/client-web/examples/account/update-mfa-recovery-codes.md index dce2d4e2e0..24ff10b1e4 100644 --- a/docs/examples/1.6.x/client-web/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/client-web/examples/account/update-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/update-name.md b/docs/examples/1.6.x/client-web/examples/account/update-name.md index 26258fd055..d6a6946795 100644 --- a/docs/examples/1.6.x/client-web/examples/account/update-name.md +++ b/docs/examples/1.6.x/client-web/examples/account/update-name.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/update-password.md b/docs/examples/1.6.x/client-web/examples/account/update-password.md index 84267c0649..575779e35c 100644 --- a/docs/examples/1.6.x/client-web/examples/account/update-password.md +++ b/docs/examples/1.6.x/client-web/examples/account/update-password.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/update-phone-session.md b/docs/examples/1.6.x/client-web/examples/account/update-phone-session.md index 5ab1985187..092205ec6a 100644 --- a/docs/examples/1.6.x/client-web/examples/account/update-phone-session.md +++ b/docs/examples/1.6.x/client-web/examples/account/update-phone-session.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/update-phone-verification.md b/docs/examples/1.6.x/client-web/examples/account/update-phone-verification.md index 91cb79d063..1b85178e76 100644 --- a/docs/examples/1.6.x/client-web/examples/account/update-phone-verification.md +++ b/docs/examples/1.6.x/client-web/examples/account/update-phone-verification.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/update-phone.md b/docs/examples/1.6.x/client-web/examples/account/update-phone.md index 03947e31d5..0c5ff216d8 100644 --- a/docs/examples/1.6.x/client-web/examples/account/update-phone.md +++ b/docs/examples/1.6.x/client-web/examples/account/update-phone.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/update-prefs.md b/docs/examples/1.6.x/client-web/examples/account/update-prefs.md index 4f3039f3d8..b9e88eac28 100644 --- a/docs/examples/1.6.x/client-web/examples/account/update-prefs.md +++ b/docs/examples/1.6.x/client-web/examples/account/update-prefs.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/update-push-target.md b/docs/examples/1.6.x/client-web/examples/account/update-push-target.md index 4803f6ba1e..3475a22ba9 100644 --- a/docs/examples/1.6.x/client-web/examples/account/update-push-target.md +++ b/docs/examples/1.6.x/client-web/examples/account/update-push-target.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/update-recovery.md b/docs/examples/1.6.x/client-web/examples/account/update-recovery.md index 716efd2b48..328e50ea4f 100644 --- a/docs/examples/1.6.x/client-web/examples/account/update-recovery.md +++ b/docs/examples/1.6.x/client-web/examples/account/update-recovery.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/update-session.md b/docs/examples/1.6.x/client-web/examples/account/update-session.md index b4370569b9..4ccc8295d9 100644 --- a/docs/examples/1.6.x/client-web/examples/account/update-session.md +++ b/docs/examples/1.6.x/client-web/examples/account/update-session.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/update-status.md b/docs/examples/1.6.x/client-web/examples/account/update-status.md index c4b2c0eafb..932f167033 100644 --- a/docs/examples/1.6.x/client-web/examples/account/update-status.md +++ b/docs/examples/1.6.x/client-web/examples/account/update-status.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/account/update-verification.md b/docs/examples/1.6.x/client-web/examples/account/update-verification.md index f928efdb4e..6d15aeec2e 100644 --- a/docs/examples/1.6.x/client-web/examples/account/update-verification.md +++ b/docs/examples/1.6.x/client-web/examples/account/update-verification.md @@ -1,7 +1,7 @@ import { Client, Account } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/client-web/examples/avatars/get-browser.md b/docs/examples/1.6.x/client-web/examples/avatars/get-browser.md index 3ead6d6d2b..f4c342fb03 100644 --- a/docs/examples/1.6.x/client-web/examples/avatars/get-browser.md +++ b/docs/examples/1.6.x/client-web/examples/avatars/get-browser.md @@ -1,7 +1,7 @@ import { Client, Avatars, Browser } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.6.x/client-web/examples/avatars/get-credit-card.md b/docs/examples/1.6.x/client-web/examples/avatars/get-credit-card.md index 1391a33f19..9efd0d62f1 100644 --- a/docs/examples/1.6.x/client-web/examples/avatars/get-credit-card.md +++ b/docs/examples/1.6.x/client-web/examples/avatars/get-credit-card.md @@ -1,7 +1,7 @@ import { Client, Avatars, CreditCard } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.6.x/client-web/examples/avatars/get-favicon.md b/docs/examples/1.6.x/client-web/examples/avatars/get-favicon.md index 4da10c5f30..85317f1383 100644 --- a/docs/examples/1.6.x/client-web/examples/avatars/get-favicon.md +++ b/docs/examples/1.6.x/client-web/examples/avatars/get-favicon.md @@ -1,7 +1,7 @@ import { Client, Avatars } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.6.x/client-web/examples/avatars/get-flag.md b/docs/examples/1.6.x/client-web/examples/avatars/get-flag.md index 3bfe49d649..fc78922e24 100644 --- a/docs/examples/1.6.x/client-web/examples/avatars/get-flag.md +++ b/docs/examples/1.6.x/client-web/examples/avatars/get-flag.md @@ -1,7 +1,7 @@ import { Client, Avatars, Flag } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.6.x/client-web/examples/avatars/get-image.md b/docs/examples/1.6.x/client-web/examples/avatars/get-image.md index ef639f6079..36f88ecb52 100644 --- a/docs/examples/1.6.x/client-web/examples/avatars/get-image.md +++ b/docs/examples/1.6.x/client-web/examples/avatars/get-image.md @@ -1,7 +1,7 @@ import { Client, Avatars } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.6.x/client-web/examples/avatars/get-initials.md b/docs/examples/1.6.x/client-web/examples/avatars/get-initials.md index 25d23203dd..321c448807 100644 --- a/docs/examples/1.6.x/client-web/examples/avatars/get-initials.md +++ b/docs/examples/1.6.x/client-web/examples/avatars/get-initials.md @@ -1,7 +1,7 @@ import { Client, Avatars } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.6.x/client-web/examples/avatars/get-q-r.md b/docs/examples/1.6.x/client-web/examples/avatars/get-q-r.md index 83344a0c84..cbbabbc2c8 100644 --- a/docs/examples/1.6.x/client-web/examples/avatars/get-q-r.md +++ b/docs/examples/1.6.x/client-web/examples/avatars/get-q-r.md @@ -1,7 +1,7 @@ import { Client, Avatars } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.6.x/client-web/examples/databases/create-document.md b/docs/examples/1.6.x/client-web/examples/databases/create-document.md index 45448a893c..916cc92689 100644 --- a/docs/examples/1.6.x/client-web/examples/databases/create-document.md +++ b/docs/examples/1.6.x/client-web/examples/databases/create-document.md @@ -1,7 +1,7 @@ import { Client, Databases } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/client-web/examples/databases/delete-document.md b/docs/examples/1.6.x/client-web/examples/databases/delete-document.md index 623e172a01..c9a1e9f759 100644 --- a/docs/examples/1.6.x/client-web/examples/databases/delete-document.md +++ b/docs/examples/1.6.x/client-web/examples/databases/delete-document.md @@ -1,7 +1,7 @@ import { Client, Databases } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/client-web/examples/databases/get-document.md b/docs/examples/1.6.x/client-web/examples/databases/get-document.md index bdf9089c50..a2836fc6ef 100644 --- a/docs/examples/1.6.x/client-web/examples/databases/get-document.md +++ b/docs/examples/1.6.x/client-web/examples/databases/get-document.md @@ -1,7 +1,7 @@ import { Client, Databases } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/client-web/examples/databases/list-documents.md b/docs/examples/1.6.x/client-web/examples/databases/list-documents.md index 1d5e48a8db..d00ac56390 100644 --- a/docs/examples/1.6.x/client-web/examples/databases/list-documents.md +++ b/docs/examples/1.6.x/client-web/examples/databases/list-documents.md @@ -1,7 +1,7 @@ import { Client, Databases } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/client-web/examples/databases/update-document.md b/docs/examples/1.6.x/client-web/examples/databases/update-document.md index b7e4d5b276..c0e06fce40 100644 --- a/docs/examples/1.6.x/client-web/examples/databases/update-document.md +++ b/docs/examples/1.6.x/client-web/examples/databases/update-document.md @@ -1,7 +1,7 @@ import { Client, Databases } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/client-web/examples/functions/create-execution.md b/docs/examples/1.6.x/client-web/examples/functions/create-execution.md index 401874f375..8f07523b2b 100644 --- a/docs/examples/1.6.x/client-web/examples/functions/create-execution.md +++ b/docs/examples/1.6.x/client-web/examples/functions/create-execution.md @@ -1,7 +1,7 @@ import { Client, Functions, ExecutionMethod } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/client-web/examples/functions/get-execution.md b/docs/examples/1.6.x/client-web/examples/functions/get-execution.md index 05e2c3c722..9b88f81f6c 100644 --- a/docs/examples/1.6.x/client-web/examples/functions/get-execution.md +++ b/docs/examples/1.6.x/client-web/examples/functions/get-execution.md @@ -1,7 +1,7 @@ import { Client, Functions } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/client-web/examples/functions/list-executions.md b/docs/examples/1.6.x/client-web/examples/functions/list-executions.md index 93a70d950c..1373e314cf 100644 --- a/docs/examples/1.6.x/client-web/examples/functions/list-executions.md +++ b/docs/examples/1.6.x/client-web/examples/functions/list-executions.md @@ -1,7 +1,7 @@ import { Client, Functions } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/client-web/examples/graphql/mutation.md b/docs/examples/1.6.x/client-web/examples/graphql/mutation.md index b875f0e93a..0e7466ac13 100644 --- a/docs/examples/1.6.x/client-web/examples/graphql/mutation.md +++ b/docs/examples/1.6.x/client-web/examples/graphql/mutation.md @@ -1,7 +1,7 @@ import { Client, Graphql } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const graphql = new Graphql(client); diff --git a/docs/examples/1.6.x/client-web/examples/graphql/query.md b/docs/examples/1.6.x/client-web/examples/graphql/query.md index c0f925a3a0..f9cd9b740f 100644 --- a/docs/examples/1.6.x/client-web/examples/graphql/query.md +++ b/docs/examples/1.6.x/client-web/examples/graphql/query.md @@ -1,7 +1,7 @@ import { Client, Graphql } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const graphql = new Graphql(client); diff --git a/docs/examples/1.6.x/client-web/examples/locale/get.md b/docs/examples/1.6.x/client-web/examples/locale/get.md index f3a46b43fd..bdd74722f4 100644 --- a/docs/examples/1.6.x/client-web/examples/locale/get.md +++ b/docs/examples/1.6.x/client-web/examples/locale/get.md @@ -1,7 +1,7 @@ import { Client, Locale } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); diff --git a/docs/examples/1.6.x/client-web/examples/locale/list-codes.md b/docs/examples/1.6.x/client-web/examples/locale/list-codes.md index 36957e9fec..547bb056c0 100644 --- a/docs/examples/1.6.x/client-web/examples/locale/list-codes.md +++ b/docs/examples/1.6.x/client-web/examples/locale/list-codes.md @@ -1,7 +1,7 @@ import { Client, Locale } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); diff --git a/docs/examples/1.6.x/client-web/examples/locale/list-continents.md b/docs/examples/1.6.x/client-web/examples/locale/list-continents.md index be3b2fa647..217ffc116c 100644 --- a/docs/examples/1.6.x/client-web/examples/locale/list-continents.md +++ b/docs/examples/1.6.x/client-web/examples/locale/list-continents.md @@ -1,7 +1,7 @@ import { Client, Locale } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); diff --git a/docs/examples/1.6.x/client-web/examples/locale/list-countries-e-u.md b/docs/examples/1.6.x/client-web/examples/locale/list-countries-e-u.md index a3af6ae93c..515a3040ab 100644 --- a/docs/examples/1.6.x/client-web/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.6.x/client-web/examples/locale/list-countries-e-u.md @@ -1,7 +1,7 @@ import { Client, Locale } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); diff --git a/docs/examples/1.6.x/client-web/examples/locale/list-countries-phones.md b/docs/examples/1.6.x/client-web/examples/locale/list-countries-phones.md index d6845b70db..72a6a31d08 100644 --- a/docs/examples/1.6.x/client-web/examples/locale/list-countries-phones.md +++ b/docs/examples/1.6.x/client-web/examples/locale/list-countries-phones.md @@ -1,7 +1,7 @@ import { Client, Locale } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); diff --git a/docs/examples/1.6.x/client-web/examples/locale/list-countries.md b/docs/examples/1.6.x/client-web/examples/locale/list-countries.md index defdfec006..a127521f36 100644 --- a/docs/examples/1.6.x/client-web/examples/locale/list-countries.md +++ b/docs/examples/1.6.x/client-web/examples/locale/list-countries.md @@ -1,7 +1,7 @@ import { Client, Locale } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); diff --git a/docs/examples/1.6.x/client-web/examples/locale/list-currencies.md b/docs/examples/1.6.x/client-web/examples/locale/list-currencies.md index 7cbf8b81d9..e6ff0e1fce 100644 --- a/docs/examples/1.6.x/client-web/examples/locale/list-currencies.md +++ b/docs/examples/1.6.x/client-web/examples/locale/list-currencies.md @@ -1,7 +1,7 @@ import { Client, Locale } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); diff --git a/docs/examples/1.6.x/client-web/examples/locale/list-languages.md b/docs/examples/1.6.x/client-web/examples/locale/list-languages.md index 4f3f877332..03b4e7d2c1 100644 --- a/docs/examples/1.6.x/client-web/examples/locale/list-languages.md +++ b/docs/examples/1.6.x/client-web/examples/locale/list-languages.md @@ -1,7 +1,7 @@ import { Client, Locale } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); diff --git a/docs/examples/1.6.x/client-web/examples/messaging/create-subscriber.md b/docs/examples/1.6.x/client-web/examples/messaging/create-subscriber.md index 1fa1de5d51..254870985d 100644 --- a/docs/examples/1.6.x/client-web/examples/messaging/create-subscriber.md +++ b/docs/examples/1.6.x/client-web/examples/messaging/create-subscriber.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/client-web/examples/messaging/delete-subscriber.md b/docs/examples/1.6.x/client-web/examples/messaging/delete-subscriber.md index bbed0715c0..3d5d0a4b42 100644 --- a/docs/examples/1.6.x/client-web/examples/messaging/delete-subscriber.md +++ b/docs/examples/1.6.x/client-web/examples/messaging/delete-subscriber.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/client-web/examples/storage/create-file.md b/docs/examples/1.6.x/client-web/examples/storage/create-file.md index db2200b86a..20a42206a2 100644 --- a/docs/examples/1.6.x/client-web/examples/storage/create-file.md +++ b/docs/examples/1.6.x/client-web/examples/storage/create-file.md @@ -1,7 +1,7 @@ import { Client, Storage } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.6.x/client-web/examples/storage/delete-file.md b/docs/examples/1.6.x/client-web/examples/storage/delete-file.md index 52cc1d4fa2..373cdc03fc 100644 --- a/docs/examples/1.6.x/client-web/examples/storage/delete-file.md +++ b/docs/examples/1.6.x/client-web/examples/storage/delete-file.md @@ -1,7 +1,7 @@ import { Client, Storage } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.6.x/client-web/examples/storage/get-file-download.md b/docs/examples/1.6.x/client-web/examples/storage/get-file-download.md index d37541dd06..2cd3cd4feb 100644 --- a/docs/examples/1.6.x/client-web/examples/storage/get-file-download.md +++ b/docs/examples/1.6.x/client-web/examples/storage/get-file-download.md @@ -1,7 +1,7 @@ import { Client, Storage } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.6.x/client-web/examples/storage/get-file-preview.md b/docs/examples/1.6.x/client-web/examples/storage/get-file-preview.md index 629417325b..40ffcffa94 100644 --- a/docs/examples/1.6.x/client-web/examples/storage/get-file-preview.md +++ b/docs/examples/1.6.x/client-web/examples/storage/get-file-preview.md @@ -1,7 +1,7 @@ import { Client, Storage, ImageGravity, ImageFormat } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.6.x/client-web/examples/storage/get-file-view.md b/docs/examples/1.6.x/client-web/examples/storage/get-file-view.md index 9a58250003..ced0010f51 100644 --- a/docs/examples/1.6.x/client-web/examples/storage/get-file-view.md +++ b/docs/examples/1.6.x/client-web/examples/storage/get-file-view.md @@ -1,7 +1,7 @@ import { Client, Storage } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.6.x/client-web/examples/storage/get-file.md b/docs/examples/1.6.x/client-web/examples/storage/get-file.md index 36c4b45ca6..10bd9fb775 100644 --- a/docs/examples/1.6.x/client-web/examples/storage/get-file.md +++ b/docs/examples/1.6.x/client-web/examples/storage/get-file.md @@ -1,7 +1,7 @@ import { Client, Storage } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.6.x/client-web/examples/storage/list-files.md b/docs/examples/1.6.x/client-web/examples/storage/list-files.md index 731a76e312..f2c3ccb2b8 100644 --- a/docs/examples/1.6.x/client-web/examples/storage/list-files.md +++ b/docs/examples/1.6.x/client-web/examples/storage/list-files.md @@ -1,7 +1,7 @@ import { Client, Storage } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.6.x/client-web/examples/storage/update-file.md b/docs/examples/1.6.x/client-web/examples/storage/update-file.md index 75aefc1120..1432b85099 100644 --- a/docs/examples/1.6.x/client-web/examples/storage/update-file.md +++ b/docs/examples/1.6.x/client-web/examples/storage/update-file.md @@ -1,7 +1,7 @@ import { Client, Storage } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.6.x/client-web/examples/teams/create-membership.md b/docs/examples/1.6.x/client-web/examples/teams/create-membership.md index 3f585859a9..8802e25af9 100644 --- a/docs/examples/1.6.x/client-web/examples/teams/create-membership.md +++ b/docs/examples/1.6.x/client-web/examples/teams/create-membership.md @@ -1,7 +1,7 @@ import { Client, Teams } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-web/examples/teams/create.md b/docs/examples/1.6.x/client-web/examples/teams/create.md index ffa1414878..b23f2201ac 100644 --- a/docs/examples/1.6.x/client-web/examples/teams/create.md +++ b/docs/examples/1.6.x/client-web/examples/teams/create.md @@ -1,7 +1,7 @@ import { Client, Teams } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-web/examples/teams/delete-membership.md b/docs/examples/1.6.x/client-web/examples/teams/delete-membership.md index dc871165ee..2f360c3547 100644 --- a/docs/examples/1.6.x/client-web/examples/teams/delete-membership.md +++ b/docs/examples/1.6.x/client-web/examples/teams/delete-membership.md @@ -1,7 +1,7 @@ import { Client, Teams } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-web/examples/teams/delete.md b/docs/examples/1.6.x/client-web/examples/teams/delete.md index 99ce85673f..5fd7f5d858 100644 --- a/docs/examples/1.6.x/client-web/examples/teams/delete.md +++ b/docs/examples/1.6.x/client-web/examples/teams/delete.md @@ -1,7 +1,7 @@ import { Client, Teams } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-web/examples/teams/get-membership.md b/docs/examples/1.6.x/client-web/examples/teams/get-membership.md index d4abeeff73..cd253fd6ef 100644 --- a/docs/examples/1.6.x/client-web/examples/teams/get-membership.md +++ b/docs/examples/1.6.x/client-web/examples/teams/get-membership.md @@ -1,7 +1,7 @@ import { Client, Teams } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-web/examples/teams/get-prefs.md b/docs/examples/1.6.x/client-web/examples/teams/get-prefs.md index b5b3d1295f..a7f346f11f 100644 --- a/docs/examples/1.6.x/client-web/examples/teams/get-prefs.md +++ b/docs/examples/1.6.x/client-web/examples/teams/get-prefs.md @@ -1,7 +1,7 @@ import { Client, Teams } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-web/examples/teams/get.md b/docs/examples/1.6.x/client-web/examples/teams/get.md index 8306cc59b6..539bdcf051 100644 --- a/docs/examples/1.6.x/client-web/examples/teams/get.md +++ b/docs/examples/1.6.x/client-web/examples/teams/get.md @@ -1,7 +1,7 @@ import { Client, Teams } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-web/examples/teams/list-memberships.md b/docs/examples/1.6.x/client-web/examples/teams/list-memberships.md index b1c068112b..e8cc39b5d8 100644 --- a/docs/examples/1.6.x/client-web/examples/teams/list-memberships.md +++ b/docs/examples/1.6.x/client-web/examples/teams/list-memberships.md @@ -1,7 +1,7 @@ import { Client, Teams } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-web/examples/teams/list.md b/docs/examples/1.6.x/client-web/examples/teams/list.md index 0d000e9b35..4ca13ce8dd 100644 --- a/docs/examples/1.6.x/client-web/examples/teams/list.md +++ b/docs/examples/1.6.x/client-web/examples/teams/list.md @@ -1,7 +1,7 @@ import { Client, Teams } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-web/examples/teams/update-membership-status.md b/docs/examples/1.6.x/client-web/examples/teams/update-membership-status.md index dd32bbb6f1..89cc13cac2 100644 --- a/docs/examples/1.6.x/client-web/examples/teams/update-membership-status.md +++ b/docs/examples/1.6.x/client-web/examples/teams/update-membership-status.md @@ -1,7 +1,7 @@ import { Client, Teams } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-web/examples/teams/update-membership.md b/docs/examples/1.6.x/client-web/examples/teams/update-membership.md index ae7fb9a49c..fd6fffffcb 100644 --- a/docs/examples/1.6.x/client-web/examples/teams/update-membership.md +++ b/docs/examples/1.6.x/client-web/examples/teams/update-membership.md @@ -1,7 +1,7 @@ import { Client, Teams } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-web/examples/teams/update-name.md b/docs/examples/1.6.x/client-web/examples/teams/update-name.md index 553c77de3f..d91939ff73 100644 --- a/docs/examples/1.6.x/client-web/examples/teams/update-name.md +++ b/docs/examples/1.6.x/client-web/examples/teams/update-name.md @@ -1,7 +1,7 @@ import { Client, Teams } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/client-web/examples/teams/update-prefs.md b/docs/examples/1.6.x/client-web/examples/teams/update-prefs.md index 55b273b996..d7d4c36759 100644 --- a/docs/examples/1.6.x/client-web/examples/teams/update-prefs.md +++ b/docs/examples/1.6.x/client-web/examples/teams/update-prefs.md @@ -1,7 +1,7 @@ import { Client, Teams } from "appwrite"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/console-cli/examples/databases/update-float-attribute.md b/docs/examples/1.6.x/console-cli/examples/databases/update-float-attribute.md index 353320d78a..a9bba3eb5e 100644 --- a/docs/examples/1.6.x/console-cli/examples/databases/update-float-attribute.md +++ b/docs/examples/1.6.x/console-cli/examples/databases/update-float-attribute.md @@ -3,7 +3,7 @@ appwrite databases updateFloatAttribute \ --collectionId <COLLECTION_ID> \ --key '' \ --required false \ - --min null \ - --max null \ --default null \ + + diff --git a/docs/examples/1.6.x/console-cli/examples/databases/update-integer-attribute.md b/docs/examples/1.6.x/console-cli/examples/databases/update-integer-attribute.md index c170b7f6fa..660cd4d148 100644 --- a/docs/examples/1.6.x/console-cli/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.6.x/console-cli/examples/databases/update-integer-attribute.md @@ -3,7 +3,7 @@ appwrite databases updateIntegerAttribute \ --collectionId <COLLECTION_ID> \ --key '' \ --required false \ - --min null \ - --max null \ --default null \ + + diff --git a/docs/examples/1.6.x/console-cli/examples/health/get-queue-stats-resources.md b/docs/examples/1.6.x/console-cli/examples/health/get-queue-stats-resources.md new file mode 100644 index 0000000000..9cce963748 --- /dev/null +++ b/docs/examples/1.6.x/console-cli/examples/health/get-queue-stats-resources.md @@ -0,0 +1,2 @@ +appwrite health getQueueStatsResources \ + diff --git a/docs/examples/1.6.x/console-cli/examples/health/get-queue-stats-usage-dump.md b/docs/examples/1.6.x/console-cli/examples/health/get-queue-stats-usage-dump.md new file mode 100644 index 0000000000..fed2f5fa46 --- /dev/null +++ b/docs/examples/1.6.x/console-cli/examples/health/get-queue-stats-usage-dump.md @@ -0,0 +1,2 @@ +appwrite health getQueueStatsUsageDump \ + diff --git a/docs/examples/1.6.x/console-web/examples/account/create-anonymous-session.md b/docs/examples/1.6.x/console-web/examples/account/create-anonymous-session.md index ef433a8fb6..113f882e80 100644 --- a/docs/examples/1.6.x/console-web/examples/account/create-anonymous-session.md +++ b/docs/examples/1.6.x/console-web/examples/account/create-anonymous-session.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/create-email-password-session.md b/docs/examples/1.6.x/console-web/examples/account/create-email-password-session.md index 0f51387343..36a503164b 100644 --- a/docs/examples/1.6.x/console-web/examples/account/create-email-password-session.md +++ b/docs/examples/1.6.x/console-web/examples/account/create-email-password-session.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/create-email-token.md b/docs/examples/1.6.x/console-web/examples/account/create-email-token.md index b55f7c46bc..9517000af3 100644 --- a/docs/examples/1.6.x/console-web/examples/account/create-email-token.md +++ b/docs/examples/1.6.x/console-web/examples/account/create-email-token.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/create-j-w-t.md b/docs/examples/1.6.x/console-web/examples/account/create-j-w-t.md index 4f47136a6b..9fc0e6da5e 100644 --- a/docs/examples/1.6.x/console-web/examples/account/create-j-w-t.md +++ b/docs/examples/1.6.x/console-web/examples/account/create-j-w-t.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/create-magic-u-r-l-token.md b/docs/examples/1.6.x/console-web/examples/account/create-magic-u-r-l-token.md index 68662b8a29..6b1891855e 100644 --- a/docs/examples/1.6.x/console-web/examples/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.6.x/console-web/examples/account/create-magic-u-r-l-token.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/create-mfa-authenticator.md b/docs/examples/1.6.x/console-web/examples/account/create-mfa-authenticator.md index 97bd528cbf..923eb1ee3c 100644 --- a/docs/examples/1.6.x/console-web/examples/account/create-mfa-authenticator.md +++ b/docs/examples/1.6.x/console-web/examples/account/create-mfa-authenticator.md @@ -1,7 +1,7 @@ import { Client, Account, AuthenticatorType } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/create-mfa-challenge.md b/docs/examples/1.6.x/console-web/examples/account/create-mfa-challenge.md index ed2cd38628..fd6af6ec19 100644 --- a/docs/examples/1.6.x/console-web/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.6.x/console-web/examples/account/create-mfa-challenge.md @@ -1,7 +1,7 @@ import { Client, Account, AuthenticationFactor } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/create-mfa-recovery-codes.md b/docs/examples/1.6.x/console-web/examples/account/create-mfa-recovery-codes.md index 06f25dd817..d7c122b79c 100644 --- a/docs/examples/1.6.x/console-web/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/console-web/examples/account/create-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/create-o-auth2session.md b/docs/examples/1.6.x/console-web/examples/account/create-o-auth2session.md index e565dd5840..a11bd9880b 100644 --- a/docs/examples/1.6.x/console-web/examples/account/create-o-auth2session.md +++ b/docs/examples/1.6.x/console-web/examples/account/create-o-auth2session.md @@ -1,7 +1,7 @@ import { Client, Account, OAuthProvider } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/create-o-auth2token.md b/docs/examples/1.6.x/console-web/examples/account/create-o-auth2token.md index 14c0d00af4..9eb7cfab67 100644 --- a/docs/examples/1.6.x/console-web/examples/account/create-o-auth2token.md +++ b/docs/examples/1.6.x/console-web/examples/account/create-o-auth2token.md @@ -1,7 +1,7 @@ import { Client, Account, OAuthProvider } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/create-phone-token.md b/docs/examples/1.6.x/console-web/examples/account/create-phone-token.md index 21fdb81e31..25216ca73c 100644 --- a/docs/examples/1.6.x/console-web/examples/account/create-phone-token.md +++ b/docs/examples/1.6.x/console-web/examples/account/create-phone-token.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/create-phone-verification.md b/docs/examples/1.6.x/console-web/examples/account/create-phone-verification.md index 4d193cbd39..03185e3e91 100644 --- a/docs/examples/1.6.x/console-web/examples/account/create-phone-verification.md +++ b/docs/examples/1.6.x/console-web/examples/account/create-phone-verification.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/create-push-target.md b/docs/examples/1.6.x/console-web/examples/account/create-push-target.md index 339b9972c6..ee35566f8a 100644 --- a/docs/examples/1.6.x/console-web/examples/account/create-push-target.md +++ b/docs/examples/1.6.x/console-web/examples/account/create-push-target.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/create-recovery.md b/docs/examples/1.6.x/console-web/examples/account/create-recovery.md index b28d4f8b01..c2bb4422fa 100644 --- a/docs/examples/1.6.x/console-web/examples/account/create-recovery.md +++ b/docs/examples/1.6.x/console-web/examples/account/create-recovery.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/create-session.md b/docs/examples/1.6.x/console-web/examples/account/create-session.md index 06e12603e1..1c8d8a4480 100644 --- a/docs/examples/1.6.x/console-web/examples/account/create-session.md +++ b/docs/examples/1.6.x/console-web/examples/account/create-session.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/create-verification.md b/docs/examples/1.6.x/console-web/examples/account/create-verification.md index 555030a79e..f6eacdce1f 100644 --- a/docs/examples/1.6.x/console-web/examples/account/create-verification.md +++ b/docs/examples/1.6.x/console-web/examples/account/create-verification.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/create.md b/docs/examples/1.6.x/console-web/examples/account/create.md index 120aceb9d9..d220aed8d0 100644 --- a/docs/examples/1.6.x/console-web/examples/account/create.md +++ b/docs/examples/1.6.x/console-web/examples/account/create.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/delete-identity.md b/docs/examples/1.6.x/console-web/examples/account/delete-identity.md index a541e9bd34..6808b32a1d 100644 --- a/docs/examples/1.6.x/console-web/examples/account/delete-identity.md +++ b/docs/examples/1.6.x/console-web/examples/account/delete-identity.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/delete-mfa-authenticator.md b/docs/examples/1.6.x/console-web/examples/account/delete-mfa-authenticator.md index 64f27fdfac..54610a810c 100644 --- a/docs/examples/1.6.x/console-web/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.6.x/console-web/examples/account/delete-mfa-authenticator.md @@ -1,7 +1,7 @@ import { Client, Account, AuthenticatorType } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/delete-push-target.md b/docs/examples/1.6.x/console-web/examples/account/delete-push-target.md index 017ebd438b..f530b64dad 100644 --- a/docs/examples/1.6.x/console-web/examples/account/delete-push-target.md +++ b/docs/examples/1.6.x/console-web/examples/account/delete-push-target.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/delete-session.md b/docs/examples/1.6.x/console-web/examples/account/delete-session.md index 1045e98a82..4eba0515e4 100644 --- a/docs/examples/1.6.x/console-web/examples/account/delete-session.md +++ b/docs/examples/1.6.x/console-web/examples/account/delete-session.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/delete-sessions.md b/docs/examples/1.6.x/console-web/examples/account/delete-sessions.md index ff8c069503..b9904d612f 100644 --- a/docs/examples/1.6.x/console-web/examples/account/delete-sessions.md +++ b/docs/examples/1.6.x/console-web/examples/account/delete-sessions.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/delete.md b/docs/examples/1.6.x/console-web/examples/account/delete.md index 7fa1ef10d1..2fc730f9f0 100644 --- a/docs/examples/1.6.x/console-web/examples/account/delete.md +++ b/docs/examples/1.6.x/console-web/examples/account/delete.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.6.x/console-web/examples/account/get-mfa-recovery-codes.md index 6d47bc3b7c..bee039c48d 100644 --- a/docs/examples/1.6.x/console-web/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/console-web/examples/account/get-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/get-prefs.md b/docs/examples/1.6.x/console-web/examples/account/get-prefs.md index 1470b683e5..3a013e6615 100644 --- a/docs/examples/1.6.x/console-web/examples/account/get-prefs.md +++ b/docs/examples/1.6.x/console-web/examples/account/get-prefs.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/get-session.md b/docs/examples/1.6.x/console-web/examples/account/get-session.md index b7de88646a..d5da237783 100644 --- a/docs/examples/1.6.x/console-web/examples/account/get-session.md +++ b/docs/examples/1.6.x/console-web/examples/account/get-session.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/get.md b/docs/examples/1.6.x/console-web/examples/account/get.md index 68dbf30b40..35661e483b 100644 --- a/docs/examples/1.6.x/console-web/examples/account/get.md +++ b/docs/examples/1.6.x/console-web/examples/account/get.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/list-identities.md b/docs/examples/1.6.x/console-web/examples/account/list-identities.md index f67e5817b3..675e902c9f 100644 --- a/docs/examples/1.6.x/console-web/examples/account/list-identities.md +++ b/docs/examples/1.6.x/console-web/examples/account/list-identities.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/list-logs.md b/docs/examples/1.6.x/console-web/examples/account/list-logs.md index 0532a94e19..72a0ee12dd 100644 --- a/docs/examples/1.6.x/console-web/examples/account/list-logs.md +++ b/docs/examples/1.6.x/console-web/examples/account/list-logs.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/list-mfa-factors.md b/docs/examples/1.6.x/console-web/examples/account/list-mfa-factors.md index 3fa9652dbc..7cbc52ec71 100644 --- a/docs/examples/1.6.x/console-web/examples/account/list-mfa-factors.md +++ b/docs/examples/1.6.x/console-web/examples/account/list-mfa-factors.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/list-sessions.md b/docs/examples/1.6.x/console-web/examples/account/list-sessions.md index 2cc2663263..6a24e372c5 100644 --- a/docs/examples/1.6.x/console-web/examples/account/list-sessions.md +++ b/docs/examples/1.6.x/console-web/examples/account/list-sessions.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/update-email.md b/docs/examples/1.6.x/console-web/examples/account/update-email.md index d7b6fb7aca..df1c7f480a 100644 --- a/docs/examples/1.6.x/console-web/examples/account/update-email.md +++ b/docs/examples/1.6.x/console-web/examples/account/update-email.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/update-m-f-a.md b/docs/examples/1.6.x/console-web/examples/account/update-m-f-a.md index 3c9dac0326..b813b60bb4 100644 --- a/docs/examples/1.6.x/console-web/examples/account/update-m-f-a.md +++ b/docs/examples/1.6.x/console-web/examples/account/update-m-f-a.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.6.x/console-web/examples/account/update-magic-u-r-l-session.md index 6bafae7723..e0ecd66740 100644 --- a/docs/examples/1.6.x/console-web/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.6.x/console-web/examples/account/update-magic-u-r-l-session.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/update-mfa-authenticator.md b/docs/examples/1.6.x/console-web/examples/account/update-mfa-authenticator.md index 430bf63cd9..b960675914 100644 --- a/docs/examples/1.6.x/console-web/examples/account/update-mfa-authenticator.md +++ b/docs/examples/1.6.x/console-web/examples/account/update-mfa-authenticator.md @@ -1,7 +1,7 @@ import { Client, Account, AuthenticatorType } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/update-mfa-challenge.md b/docs/examples/1.6.x/console-web/examples/account/update-mfa-challenge.md index c170cc272d..5314959f25 100644 --- a/docs/examples/1.6.x/console-web/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.6.x/console-web/examples/account/update-mfa-challenge.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/update-mfa-recovery-codes.md b/docs/examples/1.6.x/console-web/examples/account/update-mfa-recovery-codes.md index f61a5a1c1e..654d9fb0fa 100644 --- a/docs/examples/1.6.x/console-web/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/console-web/examples/account/update-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/update-name.md b/docs/examples/1.6.x/console-web/examples/account/update-name.md index b2991305c5..cd36ece113 100644 --- a/docs/examples/1.6.x/console-web/examples/account/update-name.md +++ b/docs/examples/1.6.x/console-web/examples/account/update-name.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/update-password.md b/docs/examples/1.6.x/console-web/examples/account/update-password.md index 1c6c4ce5d0..863c5f28b3 100644 --- a/docs/examples/1.6.x/console-web/examples/account/update-password.md +++ b/docs/examples/1.6.x/console-web/examples/account/update-password.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/update-phone-session.md b/docs/examples/1.6.x/console-web/examples/account/update-phone-session.md index a9c7546674..d23c10bbda 100644 --- a/docs/examples/1.6.x/console-web/examples/account/update-phone-session.md +++ b/docs/examples/1.6.x/console-web/examples/account/update-phone-session.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/update-phone-verification.md b/docs/examples/1.6.x/console-web/examples/account/update-phone-verification.md index de1f471e88..1a05386a9d 100644 --- a/docs/examples/1.6.x/console-web/examples/account/update-phone-verification.md +++ b/docs/examples/1.6.x/console-web/examples/account/update-phone-verification.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/update-phone.md b/docs/examples/1.6.x/console-web/examples/account/update-phone.md index 8c1880b482..380279d057 100644 --- a/docs/examples/1.6.x/console-web/examples/account/update-phone.md +++ b/docs/examples/1.6.x/console-web/examples/account/update-phone.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/update-prefs.md b/docs/examples/1.6.x/console-web/examples/account/update-prefs.md index e3581de341..13d857468d 100644 --- a/docs/examples/1.6.x/console-web/examples/account/update-prefs.md +++ b/docs/examples/1.6.x/console-web/examples/account/update-prefs.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/update-push-target.md b/docs/examples/1.6.x/console-web/examples/account/update-push-target.md index 1cbf9e933f..566d754db7 100644 --- a/docs/examples/1.6.x/console-web/examples/account/update-push-target.md +++ b/docs/examples/1.6.x/console-web/examples/account/update-push-target.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/update-recovery.md b/docs/examples/1.6.x/console-web/examples/account/update-recovery.md index 3acc705f00..53d75f95d2 100644 --- a/docs/examples/1.6.x/console-web/examples/account/update-recovery.md +++ b/docs/examples/1.6.x/console-web/examples/account/update-recovery.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/update-session.md b/docs/examples/1.6.x/console-web/examples/account/update-session.md index 88f51f18f2..207fc026d8 100644 --- a/docs/examples/1.6.x/console-web/examples/account/update-session.md +++ b/docs/examples/1.6.x/console-web/examples/account/update-session.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/update-status.md b/docs/examples/1.6.x/console-web/examples/account/update-status.md index 3ed146cff8..c1377dc4a6 100644 --- a/docs/examples/1.6.x/console-web/examples/account/update-status.md +++ b/docs/examples/1.6.x/console-web/examples/account/update-status.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/account/update-verification.md b/docs/examples/1.6.x/console-web/examples/account/update-verification.md index 42d05ff3ef..4861ca2b81 100644 --- a/docs/examples/1.6.x/console-web/examples/account/update-verification.md +++ b/docs/examples/1.6.x/console-web/examples/account/update-verification.md @@ -1,7 +1,7 @@ import { Client, Account } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/console-web/examples/assistant/chat.md b/docs/examples/1.6.x/console-web/examples/assistant/chat.md index 9c44d5709a..98032043a5 100644 --- a/docs/examples/1.6.x/console-web/examples/assistant/chat.md +++ b/docs/examples/1.6.x/console-web/examples/assistant/chat.md @@ -1,7 +1,7 @@ import { Client, Assistant } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const assistant = new Assistant(client); diff --git a/docs/examples/1.6.x/console-web/examples/avatars/get-browser.md b/docs/examples/1.6.x/console-web/examples/avatars/get-browser.md index 3604984b89..fd6c878ba2 100644 --- a/docs/examples/1.6.x/console-web/examples/avatars/get-browser.md +++ b/docs/examples/1.6.x/console-web/examples/avatars/get-browser.md @@ -1,7 +1,7 @@ import { Client, Avatars, Browser } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.6.x/console-web/examples/avatars/get-credit-card.md b/docs/examples/1.6.x/console-web/examples/avatars/get-credit-card.md index ec38da8a6b..96e2d6b5fa 100644 --- a/docs/examples/1.6.x/console-web/examples/avatars/get-credit-card.md +++ b/docs/examples/1.6.x/console-web/examples/avatars/get-credit-card.md @@ -1,7 +1,7 @@ import { Client, Avatars, CreditCard } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.6.x/console-web/examples/avatars/get-favicon.md b/docs/examples/1.6.x/console-web/examples/avatars/get-favicon.md index 87a310aaa3..b23e99a551 100644 --- a/docs/examples/1.6.x/console-web/examples/avatars/get-favicon.md +++ b/docs/examples/1.6.x/console-web/examples/avatars/get-favicon.md @@ -1,7 +1,7 @@ import { Client, Avatars } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.6.x/console-web/examples/avatars/get-flag.md b/docs/examples/1.6.x/console-web/examples/avatars/get-flag.md index dd9e2f60ae..172d21d29e 100644 --- a/docs/examples/1.6.x/console-web/examples/avatars/get-flag.md +++ b/docs/examples/1.6.x/console-web/examples/avatars/get-flag.md @@ -1,7 +1,7 @@ import { Client, Avatars, Flag } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.6.x/console-web/examples/avatars/get-image.md b/docs/examples/1.6.x/console-web/examples/avatars/get-image.md index 8cb6546cf2..209e1ea836 100644 --- a/docs/examples/1.6.x/console-web/examples/avatars/get-image.md +++ b/docs/examples/1.6.x/console-web/examples/avatars/get-image.md @@ -1,7 +1,7 @@ import { Client, Avatars } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.6.x/console-web/examples/avatars/get-initials.md b/docs/examples/1.6.x/console-web/examples/avatars/get-initials.md index 81cfc5ca3e..6ec70b2143 100644 --- a/docs/examples/1.6.x/console-web/examples/avatars/get-initials.md +++ b/docs/examples/1.6.x/console-web/examples/avatars/get-initials.md @@ -1,7 +1,7 @@ import { Client, Avatars } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.6.x/console-web/examples/avatars/get-q-r.md b/docs/examples/1.6.x/console-web/examples/avatars/get-q-r.md index d685011dc9..a255cdc531 100644 --- a/docs/examples/1.6.x/console-web/examples/avatars/get-q-r.md +++ b/docs/examples/1.6.x/console-web/examples/avatars/get-q-r.md @@ -1,7 +1,7 @@ import { Client, Avatars } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const avatars = new Avatars(client); diff --git a/docs/examples/1.6.x/console-web/examples/console/variables.md b/docs/examples/1.6.x/console-web/examples/console/variables.md index 0ee1f57483..1dce6c0260 100644 --- a/docs/examples/1.6.x/console-web/examples/console/variables.md +++ b/docs/examples/1.6.x/console-web/examples/console/variables.md @@ -1,7 +1,7 @@ import { Client, Console } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const console = new Console(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/create-boolean-attribute.md b/docs/examples/1.6.x/console-web/examples/databases/create-boolean-attribute.md index ae76596cb2..5b161c6f51 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.6.x/console-web/examples/databases/create-boolean-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/create-collection.md b/docs/examples/1.6.x/console-web/examples/databases/create-collection.md index 29e9eeed7d..cd28cf8616 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/create-collection.md +++ b/docs/examples/1.6.x/console-web/examples/databases/create-collection.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/create-datetime-attribute.md b/docs/examples/1.6.x/console-web/examples/databases/create-datetime-attribute.md index 7344660f51..c431105bdf 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.6.x/console-web/examples/databases/create-datetime-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/create-document.md b/docs/examples/1.6.x/console-web/examples/databases/create-document.md index 8f1a69afe1..1b96d07899 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/create-document.md +++ b/docs/examples/1.6.x/console-web/examples/databases/create-document.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/create-email-attribute.md b/docs/examples/1.6.x/console-web/examples/databases/create-email-attribute.md index 32a51c506d..f11c1a9649 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/create-email-attribute.md +++ b/docs/examples/1.6.x/console-web/examples/databases/create-email-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/create-enum-attribute.md b/docs/examples/1.6.x/console-web/examples/databases/create-enum-attribute.md index ab460cde2b..d180b1b9f2 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.6.x/console-web/examples/databases/create-enum-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/create-float-attribute.md b/docs/examples/1.6.x/console-web/examples/databases/create-float-attribute.md index 7019deb0aa..036d3fc201 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/create-float-attribute.md +++ b/docs/examples/1.6.x/console-web/examples/databases/create-float-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/create-index.md b/docs/examples/1.6.x/console-web/examples/databases/create-index.md index e8a3470879..f75857fc98 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/create-index.md +++ b/docs/examples/1.6.x/console-web/examples/databases/create-index.md @@ -1,7 +1,7 @@ import { Client, Databases, IndexType } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/create-integer-attribute.md b/docs/examples/1.6.x/console-web/examples/databases/create-integer-attribute.md index a2cdda2b1c..25f474d0aa 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.6.x/console-web/examples/databases/create-integer-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/create-ip-attribute.md b/docs/examples/1.6.x/console-web/examples/databases/create-ip-attribute.md index daf7e4fd11..e8abc80f91 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.6.x/console-web/examples/databases/create-ip-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/create-relationship-attribute.md b/docs/examples/1.6.x/console-web/examples/databases/create-relationship-attribute.md index a64548c963..358a2df5fc 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.6.x/console-web/examples/databases/create-relationship-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases, RelationshipType, RelationMutate } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/create-string-attribute.md b/docs/examples/1.6.x/console-web/examples/databases/create-string-attribute.md index 6e9541ed57..ba94b0348b 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/create-string-attribute.md +++ b/docs/examples/1.6.x/console-web/examples/databases/create-string-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/create-url-attribute.md b/docs/examples/1.6.x/console-web/examples/databases/create-url-attribute.md index dc2dfc3ba0..da80e392d3 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/create-url-attribute.md +++ b/docs/examples/1.6.x/console-web/examples/databases/create-url-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/create.md b/docs/examples/1.6.x/console-web/examples/databases/create.md index a7f560eef7..6d709ddd56 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/create.md +++ b/docs/examples/1.6.x/console-web/examples/databases/create.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/delete-attribute.md b/docs/examples/1.6.x/console-web/examples/databases/delete-attribute.md index cec93bef6d..df12b0d2f0 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/delete-attribute.md +++ b/docs/examples/1.6.x/console-web/examples/databases/delete-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/delete-collection.md b/docs/examples/1.6.x/console-web/examples/databases/delete-collection.md index ef2aa90582..f490ae1096 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/delete-collection.md +++ b/docs/examples/1.6.x/console-web/examples/databases/delete-collection.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/delete-document.md b/docs/examples/1.6.x/console-web/examples/databases/delete-document.md index 961bc63934..a56a4f23c5 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/delete-document.md +++ b/docs/examples/1.6.x/console-web/examples/databases/delete-document.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/delete-index.md b/docs/examples/1.6.x/console-web/examples/databases/delete-index.md index 152a93e0a1..cdd96a31f0 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/delete-index.md +++ b/docs/examples/1.6.x/console-web/examples/databases/delete-index.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/delete.md b/docs/examples/1.6.x/console-web/examples/databases/delete.md index b6485ad9d9..3bd69657f9 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/delete.md +++ b/docs/examples/1.6.x/console-web/examples/databases/delete.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/get-attribute.md b/docs/examples/1.6.x/console-web/examples/databases/get-attribute.md index 20c555cb9e..9dac2ad133 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/get-attribute.md +++ b/docs/examples/1.6.x/console-web/examples/databases/get-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/get-collection-usage.md b/docs/examples/1.6.x/console-web/examples/databases/get-collection-usage.md index 4b14f1fd93..a2f736377a 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/get-collection-usage.md +++ b/docs/examples/1.6.x/console-web/examples/databases/get-collection-usage.md @@ -1,7 +1,7 @@ import { Client, Databases, DatabaseUsageRange } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/get-collection.md b/docs/examples/1.6.x/console-web/examples/databases/get-collection.md index 59ab03be1e..56d29f05cb 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/get-collection.md +++ b/docs/examples/1.6.x/console-web/examples/databases/get-collection.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/get-database-usage.md b/docs/examples/1.6.x/console-web/examples/databases/get-database-usage.md index c0f15e4e6a..13038ab755 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/get-database-usage.md +++ b/docs/examples/1.6.x/console-web/examples/databases/get-database-usage.md @@ -1,7 +1,7 @@ import { Client, Databases, DatabaseUsageRange } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/get-document.md b/docs/examples/1.6.x/console-web/examples/databases/get-document.md index cf16708bfb..0e90cf785e 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/get-document.md +++ b/docs/examples/1.6.x/console-web/examples/databases/get-document.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/get-index.md b/docs/examples/1.6.x/console-web/examples/databases/get-index.md index 85a1c03b1b..4c8c3794af 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/get-index.md +++ b/docs/examples/1.6.x/console-web/examples/databases/get-index.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/get-usage.md b/docs/examples/1.6.x/console-web/examples/databases/get-usage.md index 9d926e5ffb..a0dd3ce983 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/get-usage.md +++ b/docs/examples/1.6.x/console-web/examples/databases/get-usage.md @@ -1,7 +1,7 @@ import { Client, Databases, DatabaseUsageRange } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/get.md b/docs/examples/1.6.x/console-web/examples/databases/get.md index 8b9e02ed19..5c72c5639c 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/get.md +++ b/docs/examples/1.6.x/console-web/examples/databases/get.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/list-attributes.md b/docs/examples/1.6.x/console-web/examples/databases/list-attributes.md index 987e1741f0..0c2cd4092c 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/list-attributes.md +++ b/docs/examples/1.6.x/console-web/examples/databases/list-attributes.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/list-collection-logs.md b/docs/examples/1.6.x/console-web/examples/databases/list-collection-logs.md index d01a57ea0d..b2ef92d677 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/list-collection-logs.md +++ b/docs/examples/1.6.x/console-web/examples/databases/list-collection-logs.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/list-collections.md b/docs/examples/1.6.x/console-web/examples/databases/list-collections.md index 28450a7bfd..f9a0511e3e 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/list-collections.md +++ b/docs/examples/1.6.x/console-web/examples/databases/list-collections.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/list-document-logs.md b/docs/examples/1.6.x/console-web/examples/databases/list-document-logs.md index c1c2b06ede..ddb789b3f0 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/list-document-logs.md +++ b/docs/examples/1.6.x/console-web/examples/databases/list-document-logs.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/list-documents.md b/docs/examples/1.6.x/console-web/examples/databases/list-documents.md index 27d4d77b90..3a77c05faa 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/list-documents.md +++ b/docs/examples/1.6.x/console-web/examples/databases/list-documents.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/list-indexes.md b/docs/examples/1.6.x/console-web/examples/databases/list-indexes.md index 829f6d7b02..fbbef1a9d8 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/list-indexes.md +++ b/docs/examples/1.6.x/console-web/examples/databases/list-indexes.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/list-logs.md b/docs/examples/1.6.x/console-web/examples/databases/list-logs.md index ec42922d4c..12ccccf87e 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/list-logs.md +++ b/docs/examples/1.6.x/console-web/examples/databases/list-logs.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/list.md b/docs/examples/1.6.x/console-web/examples/databases/list.md index d41bdabb7b..58ec7209a3 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/list.md +++ b/docs/examples/1.6.x/console-web/examples/databases/list.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/update-boolean-attribute.md b/docs/examples/1.6.x/console-web/examples/databases/update-boolean-attribute.md index 82b4c3ca2d..95207fd2ab 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.6.x/console-web/examples/databases/update-boolean-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/update-collection.md b/docs/examples/1.6.x/console-web/examples/databases/update-collection.md index f5e6176811..ced992baf4 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/update-collection.md +++ b/docs/examples/1.6.x/console-web/examples/databases/update-collection.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/update-datetime-attribute.md b/docs/examples/1.6.x/console-web/examples/databases/update-datetime-attribute.md index 453b2f369d..7c413ee532 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.6.x/console-web/examples/databases/update-datetime-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/update-document.md b/docs/examples/1.6.x/console-web/examples/databases/update-document.md index 635c50722d..85898ea2a7 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/update-document.md +++ b/docs/examples/1.6.x/console-web/examples/databases/update-document.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/update-email-attribute.md b/docs/examples/1.6.x/console-web/examples/databases/update-email-attribute.md index 581d7ab48e..e54dba99bd 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/update-email-attribute.md +++ b/docs/examples/1.6.x/console-web/examples/databases/update-email-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/update-enum-attribute.md b/docs/examples/1.6.x/console-web/examples/databases/update-enum-attribute.md index 999335a27e..aa5330af04 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.6.x/console-web/examples/databases/update-enum-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/update-float-attribute.md b/docs/examples/1.6.x/console-web/examples/databases/update-float-attribute.md index 8d6d423f65..344ddb8815 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/update-float-attribute.md +++ b/docs/examples/1.6.x/console-web/examples/databases/update-float-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -11,9 +11,9 @@ const result = await databases.updateFloatAttribute( '<COLLECTION_ID>', // collectionId '', // key false, // required - null, // min - null, // max null, // default + null, // min (optional) + null, // max (optional) '' // newKey (optional) ); diff --git a/docs/examples/1.6.x/console-web/examples/databases/update-integer-attribute.md b/docs/examples/1.6.x/console-web/examples/databases/update-integer-attribute.md index 727c016455..72565bd5f4 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.6.x/console-web/examples/databases/update-integer-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); @@ -11,9 +11,9 @@ const result = await databases.updateIntegerAttribute( '<COLLECTION_ID>', // collectionId '', // key false, // required - null, // min - null, // max null, // default + null, // min (optional) + null, // max (optional) '' // newKey (optional) ); diff --git a/docs/examples/1.6.x/console-web/examples/databases/update-ip-attribute.md b/docs/examples/1.6.x/console-web/examples/databases/update-ip-attribute.md index f2a018c4b4..ff6dded552 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.6.x/console-web/examples/databases/update-ip-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/update-relationship-attribute.md b/docs/examples/1.6.x/console-web/examples/databases/update-relationship-attribute.md index bc5f41cf92..acce3fd741 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.6.x/console-web/examples/databases/update-relationship-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases, RelationMutate } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/update-string-attribute.md b/docs/examples/1.6.x/console-web/examples/databases/update-string-attribute.md index f652c304eb..05601bd4a2 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/update-string-attribute.md +++ b/docs/examples/1.6.x/console-web/examples/databases/update-string-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/update-url-attribute.md b/docs/examples/1.6.x/console-web/examples/databases/update-url-attribute.md index e09220304e..78b4d92a28 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/update-url-attribute.md +++ b/docs/examples/1.6.x/console-web/examples/databases/update-url-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/databases/update.md b/docs/examples/1.6.x/console-web/examples/databases/update.md index a8c2b33ae4..a29475b816 100644 --- a/docs/examples/1.6.x/console-web/examples/databases/update.md +++ b/docs/examples/1.6.x/console-web/examples/databases/update.md @@ -1,7 +1,7 @@ import { Client, Databases } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const databases = new Databases(client); diff --git a/docs/examples/1.6.x/console-web/examples/functions/create-build.md b/docs/examples/1.6.x/console-web/examples/functions/create-build.md index 89c7d0817c..1b029a3b33 100644 --- a/docs/examples/1.6.x/console-web/examples/functions/create-build.md +++ b/docs/examples/1.6.x/console-web/examples/functions/create-build.md @@ -1,7 +1,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/console-web/examples/functions/create-deployment.md b/docs/examples/1.6.x/console-web/examples/functions/create-deployment.md index 7571532356..62309d5e98 100644 --- a/docs/examples/1.6.x/console-web/examples/functions/create-deployment.md +++ b/docs/examples/1.6.x/console-web/examples/functions/create-deployment.md @@ -1,7 +1,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/console-web/examples/functions/create-execution.md b/docs/examples/1.6.x/console-web/examples/functions/create-execution.md index dfaf2ef260..813e1fd0a7 100644 --- a/docs/examples/1.6.x/console-web/examples/functions/create-execution.md +++ b/docs/examples/1.6.x/console-web/examples/functions/create-execution.md @@ -1,7 +1,7 @@ import { Client, Functions, ExecutionMethod } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/console-web/examples/functions/create-variable.md b/docs/examples/1.6.x/console-web/examples/functions/create-variable.md index 60d9a10b29..e8154ef181 100644 --- a/docs/examples/1.6.x/console-web/examples/functions/create-variable.md +++ b/docs/examples/1.6.x/console-web/examples/functions/create-variable.md @@ -1,7 +1,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/console-web/examples/functions/create.md b/docs/examples/1.6.x/console-web/examples/functions/create.md index 63df3bfa03..c30dfac9a1 100644 --- a/docs/examples/1.6.x/console-web/examples/functions/create.md +++ b/docs/examples/1.6.x/console-web/examples/functions/create.md @@ -1,7 +1,7 @@ import { Client, Functions, } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/console-web/examples/functions/delete-deployment.md b/docs/examples/1.6.x/console-web/examples/functions/delete-deployment.md index 28fd5b29e3..1bc26feab0 100644 --- a/docs/examples/1.6.x/console-web/examples/functions/delete-deployment.md +++ b/docs/examples/1.6.x/console-web/examples/functions/delete-deployment.md @@ -1,7 +1,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/console-web/examples/functions/delete-execution.md b/docs/examples/1.6.x/console-web/examples/functions/delete-execution.md index 2a857d6535..0816434637 100644 --- a/docs/examples/1.6.x/console-web/examples/functions/delete-execution.md +++ b/docs/examples/1.6.x/console-web/examples/functions/delete-execution.md @@ -1,7 +1,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/console-web/examples/functions/delete-variable.md b/docs/examples/1.6.x/console-web/examples/functions/delete-variable.md index 60c4de54cc..878d15d235 100644 --- a/docs/examples/1.6.x/console-web/examples/functions/delete-variable.md +++ b/docs/examples/1.6.x/console-web/examples/functions/delete-variable.md @@ -1,7 +1,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/console-web/examples/functions/delete.md b/docs/examples/1.6.x/console-web/examples/functions/delete.md index b6dd5ccf3e..86d616d267 100644 --- a/docs/examples/1.6.x/console-web/examples/functions/delete.md +++ b/docs/examples/1.6.x/console-web/examples/functions/delete.md @@ -1,7 +1,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/console-web/examples/functions/get-deployment-download.md b/docs/examples/1.6.x/console-web/examples/functions/get-deployment-download.md index 34f5b4e45f..2b171dc785 100644 --- a/docs/examples/1.6.x/console-web/examples/functions/get-deployment-download.md +++ b/docs/examples/1.6.x/console-web/examples/functions/get-deployment-download.md @@ -1,7 +1,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/console-web/examples/functions/get-deployment.md b/docs/examples/1.6.x/console-web/examples/functions/get-deployment.md index 242c77cfe0..75cb11f741 100644 --- a/docs/examples/1.6.x/console-web/examples/functions/get-deployment.md +++ b/docs/examples/1.6.x/console-web/examples/functions/get-deployment.md @@ -1,7 +1,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/console-web/examples/functions/get-execution.md b/docs/examples/1.6.x/console-web/examples/functions/get-execution.md index 6daf1757fd..58ab917bbd 100644 --- a/docs/examples/1.6.x/console-web/examples/functions/get-execution.md +++ b/docs/examples/1.6.x/console-web/examples/functions/get-execution.md @@ -1,7 +1,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/console-web/examples/functions/get-function-usage.md b/docs/examples/1.6.x/console-web/examples/functions/get-function-usage.md index cfa6c003b0..dacfd61564 100644 --- a/docs/examples/1.6.x/console-web/examples/functions/get-function-usage.md +++ b/docs/examples/1.6.x/console-web/examples/functions/get-function-usage.md @@ -1,7 +1,7 @@ import { Client, Functions, FunctionUsageRange } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/console-web/examples/functions/get-template.md b/docs/examples/1.6.x/console-web/examples/functions/get-template.md index a230c7aba9..13c95210ab 100644 --- a/docs/examples/1.6.x/console-web/examples/functions/get-template.md +++ b/docs/examples/1.6.x/console-web/examples/functions/get-template.md @@ -1,7 +1,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/console-web/examples/functions/get-usage.md b/docs/examples/1.6.x/console-web/examples/functions/get-usage.md index 7fdf2d2f44..56e9725701 100644 --- a/docs/examples/1.6.x/console-web/examples/functions/get-usage.md +++ b/docs/examples/1.6.x/console-web/examples/functions/get-usage.md @@ -1,7 +1,7 @@ import { Client, Functions, FunctionUsageRange } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/console-web/examples/functions/get-variable.md b/docs/examples/1.6.x/console-web/examples/functions/get-variable.md index 14fd555077..d80b2bccbf 100644 --- a/docs/examples/1.6.x/console-web/examples/functions/get-variable.md +++ b/docs/examples/1.6.x/console-web/examples/functions/get-variable.md @@ -1,7 +1,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/console-web/examples/functions/get.md b/docs/examples/1.6.x/console-web/examples/functions/get.md index 7eb5d29923..9b852849eb 100644 --- a/docs/examples/1.6.x/console-web/examples/functions/get.md +++ b/docs/examples/1.6.x/console-web/examples/functions/get.md @@ -1,7 +1,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/console-web/examples/functions/list-deployments.md b/docs/examples/1.6.x/console-web/examples/functions/list-deployments.md index 453e92cfaa..b9f2ec0eaf 100644 --- a/docs/examples/1.6.x/console-web/examples/functions/list-deployments.md +++ b/docs/examples/1.6.x/console-web/examples/functions/list-deployments.md @@ -1,7 +1,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/console-web/examples/functions/list-executions.md b/docs/examples/1.6.x/console-web/examples/functions/list-executions.md index 1aad664cda..d1d5857b60 100644 --- a/docs/examples/1.6.x/console-web/examples/functions/list-executions.md +++ b/docs/examples/1.6.x/console-web/examples/functions/list-executions.md @@ -1,7 +1,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/console-web/examples/functions/list-runtimes.md b/docs/examples/1.6.x/console-web/examples/functions/list-runtimes.md index 36010611f0..cdd1e08cad 100644 --- a/docs/examples/1.6.x/console-web/examples/functions/list-runtimes.md +++ b/docs/examples/1.6.x/console-web/examples/functions/list-runtimes.md @@ -1,7 +1,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/console-web/examples/functions/list-specifications.md b/docs/examples/1.6.x/console-web/examples/functions/list-specifications.md index a3c11f1d83..fe671c54bb 100644 --- a/docs/examples/1.6.x/console-web/examples/functions/list-specifications.md +++ b/docs/examples/1.6.x/console-web/examples/functions/list-specifications.md @@ -1,7 +1,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/console-web/examples/functions/list-templates.md b/docs/examples/1.6.x/console-web/examples/functions/list-templates.md index 3970f8f669..ab7f84b34d 100644 --- a/docs/examples/1.6.x/console-web/examples/functions/list-templates.md +++ b/docs/examples/1.6.x/console-web/examples/functions/list-templates.md @@ -1,7 +1,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/console-web/examples/functions/list-variables.md b/docs/examples/1.6.x/console-web/examples/functions/list-variables.md index fc659e3e7d..5651dbd1c5 100644 --- a/docs/examples/1.6.x/console-web/examples/functions/list-variables.md +++ b/docs/examples/1.6.x/console-web/examples/functions/list-variables.md @@ -1,7 +1,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/console-web/examples/functions/list.md b/docs/examples/1.6.x/console-web/examples/functions/list.md index 26e4864e95..462214449d 100644 --- a/docs/examples/1.6.x/console-web/examples/functions/list.md +++ b/docs/examples/1.6.x/console-web/examples/functions/list.md @@ -1,7 +1,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/console-web/examples/functions/update-deployment-build.md b/docs/examples/1.6.x/console-web/examples/functions/update-deployment-build.md index bd11a2a80e..7ec812a4ba 100644 --- a/docs/examples/1.6.x/console-web/examples/functions/update-deployment-build.md +++ b/docs/examples/1.6.x/console-web/examples/functions/update-deployment-build.md @@ -1,7 +1,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/console-web/examples/functions/update-deployment.md b/docs/examples/1.6.x/console-web/examples/functions/update-deployment.md index 3aad019b13..c8e0bc15a4 100644 --- a/docs/examples/1.6.x/console-web/examples/functions/update-deployment.md +++ b/docs/examples/1.6.x/console-web/examples/functions/update-deployment.md @@ -1,7 +1,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/console-web/examples/functions/update-variable.md b/docs/examples/1.6.x/console-web/examples/functions/update-variable.md index 5046499cc7..1889b883be 100644 --- a/docs/examples/1.6.x/console-web/examples/functions/update-variable.md +++ b/docs/examples/1.6.x/console-web/examples/functions/update-variable.md @@ -1,7 +1,7 @@ import { Client, Functions } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/console-web/examples/functions/update.md b/docs/examples/1.6.x/console-web/examples/functions/update.md index a8d1709aca..66d3cd8e8f 100644 --- a/docs/examples/1.6.x/console-web/examples/functions/update.md +++ b/docs/examples/1.6.x/console-web/examples/functions/update.md @@ -1,7 +1,7 @@ import { Client, Functions, } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const functions = new Functions(client); diff --git a/docs/examples/1.6.x/console-web/examples/graphql/mutation.md b/docs/examples/1.6.x/console-web/examples/graphql/mutation.md index 0b9b76a2fd..5360139b07 100644 --- a/docs/examples/1.6.x/console-web/examples/graphql/mutation.md +++ b/docs/examples/1.6.x/console-web/examples/graphql/mutation.md @@ -1,7 +1,7 @@ import { Client, Graphql } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const graphql = new Graphql(client); diff --git a/docs/examples/1.6.x/console-web/examples/graphql/query.md b/docs/examples/1.6.x/console-web/examples/graphql/query.md index a708c3904e..15434872ab 100644 --- a/docs/examples/1.6.x/console-web/examples/graphql/query.md +++ b/docs/examples/1.6.x/console-web/examples/graphql/query.md @@ -1,7 +1,7 @@ import { Client, Graphql } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const graphql = new Graphql(client); diff --git a/docs/examples/1.6.x/console-web/examples/health/get-antivirus.md b/docs/examples/1.6.x/console-web/examples/health/get-antivirus.md index 3c36cd720e..30e142a63d 100644 --- a/docs/examples/1.6.x/console-web/examples/health/get-antivirus.md +++ b/docs/examples/1.6.x/console-web/examples/health/get-antivirus.md @@ -1,7 +1,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); diff --git a/docs/examples/1.6.x/console-web/examples/health/get-cache.md b/docs/examples/1.6.x/console-web/examples/health/get-cache.md index 0bdb894733..1c0bb182e2 100644 --- a/docs/examples/1.6.x/console-web/examples/health/get-cache.md +++ b/docs/examples/1.6.x/console-web/examples/health/get-cache.md @@ -1,7 +1,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); diff --git a/docs/examples/1.6.x/console-web/examples/health/get-certificate.md b/docs/examples/1.6.x/console-web/examples/health/get-certificate.md index 4bd5c8a6b4..288c0f8732 100644 --- a/docs/examples/1.6.x/console-web/examples/health/get-certificate.md +++ b/docs/examples/1.6.x/console-web/examples/health/get-certificate.md @@ -1,7 +1,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); diff --git a/docs/examples/1.6.x/console-web/examples/health/get-d-b.md b/docs/examples/1.6.x/console-web/examples/health/get-d-b.md index d18ed28f64..855e73466c 100644 --- a/docs/examples/1.6.x/console-web/examples/health/get-d-b.md +++ b/docs/examples/1.6.x/console-web/examples/health/get-d-b.md @@ -1,7 +1,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); diff --git a/docs/examples/1.6.x/console-web/examples/health/get-failed-jobs.md b/docs/examples/1.6.x/console-web/examples/health/get-failed-jobs.md index e1e57b1654..d96a5545aa 100644 --- a/docs/examples/1.6.x/console-web/examples/health/get-failed-jobs.md +++ b/docs/examples/1.6.x/console-web/examples/health/get-failed-jobs.md @@ -1,7 +1,7 @@ import { Client, Health, } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); diff --git a/docs/examples/1.6.x/console-web/examples/health/get-pub-sub.md b/docs/examples/1.6.x/console-web/examples/health/get-pub-sub.md index 9b398f5b14..0ccce8e4d8 100644 --- a/docs/examples/1.6.x/console-web/examples/health/get-pub-sub.md +++ b/docs/examples/1.6.x/console-web/examples/health/get-pub-sub.md @@ -1,7 +1,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); diff --git a/docs/examples/1.6.x/console-web/examples/health/get-queue-builds.md b/docs/examples/1.6.x/console-web/examples/health/get-queue-builds.md index 0ee109f8dd..dfbbfd91a6 100644 --- a/docs/examples/1.6.x/console-web/examples/health/get-queue-builds.md +++ b/docs/examples/1.6.x/console-web/examples/health/get-queue-builds.md @@ -1,7 +1,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); diff --git a/docs/examples/1.6.x/console-web/examples/health/get-queue-certificates.md b/docs/examples/1.6.x/console-web/examples/health/get-queue-certificates.md index ce82ab00de..b0397f4422 100644 --- a/docs/examples/1.6.x/console-web/examples/health/get-queue-certificates.md +++ b/docs/examples/1.6.x/console-web/examples/health/get-queue-certificates.md @@ -1,7 +1,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); diff --git a/docs/examples/1.6.x/console-web/examples/health/get-queue-databases.md b/docs/examples/1.6.x/console-web/examples/health/get-queue-databases.md index 8a96fcf00b..1b958a9c75 100644 --- a/docs/examples/1.6.x/console-web/examples/health/get-queue-databases.md +++ b/docs/examples/1.6.x/console-web/examples/health/get-queue-databases.md @@ -1,7 +1,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); diff --git a/docs/examples/1.6.x/console-web/examples/health/get-queue-deletes.md b/docs/examples/1.6.x/console-web/examples/health/get-queue-deletes.md index 840607e113..3f34bc2228 100644 --- a/docs/examples/1.6.x/console-web/examples/health/get-queue-deletes.md +++ b/docs/examples/1.6.x/console-web/examples/health/get-queue-deletes.md @@ -1,7 +1,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); diff --git a/docs/examples/1.6.x/console-web/examples/health/get-queue-functions.md b/docs/examples/1.6.x/console-web/examples/health/get-queue-functions.md index 35c612a7af..2ea3701462 100644 --- a/docs/examples/1.6.x/console-web/examples/health/get-queue-functions.md +++ b/docs/examples/1.6.x/console-web/examples/health/get-queue-functions.md @@ -1,7 +1,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); diff --git a/docs/examples/1.6.x/console-web/examples/health/get-queue-logs.md b/docs/examples/1.6.x/console-web/examples/health/get-queue-logs.md index 9f5d51dc29..73bd18589a 100644 --- a/docs/examples/1.6.x/console-web/examples/health/get-queue-logs.md +++ b/docs/examples/1.6.x/console-web/examples/health/get-queue-logs.md @@ -1,7 +1,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); diff --git a/docs/examples/1.6.x/console-web/examples/health/get-queue-mails.md b/docs/examples/1.6.x/console-web/examples/health/get-queue-mails.md index 58d694d7b8..a6d86c04c7 100644 --- a/docs/examples/1.6.x/console-web/examples/health/get-queue-mails.md +++ b/docs/examples/1.6.x/console-web/examples/health/get-queue-mails.md @@ -1,7 +1,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); diff --git a/docs/examples/1.6.x/console-web/examples/health/get-queue-messaging.md b/docs/examples/1.6.x/console-web/examples/health/get-queue-messaging.md index cfecdf9a63..d25979713d 100644 --- a/docs/examples/1.6.x/console-web/examples/health/get-queue-messaging.md +++ b/docs/examples/1.6.x/console-web/examples/health/get-queue-messaging.md @@ -1,7 +1,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); diff --git a/docs/examples/1.6.x/console-web/examples/health/get-queue-migrations.md b/docs/examples/1.6.x/console-web/examples/health/get-queue-migrations.md index 5a8b74e79c..3619c56028 100644 --- a/docs/examples/1.6.x/console-web/examples/health/get-queue-migrations.md +++ b/docs/examples/1.6.x/console-web/examples/health/get-queue-migrations.md @@ -1,7 +1,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); diff --git a/docs/examples/1.6.x/console-web/examples/health/get-queue-stats-resources.md b/docs/examples/1.6.x/console-web/examples/health/get-queue-stats-resources.md new file mode 100644 index 0000000000..cf1c3ee5df --- /dev/null +++ b/docs/examples/1.6.x/console-web/examples/health/get-queue-stats-resources.md @@ -0,0 +1,13 @@ +import { Client, Health } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>'); // Your project ID + +const health = new Health(client); + +const result = await health.getQueueStatsResources( + null // threshold (optional) +); + +console.log(result); diff --git a/docs/examples/1.6.x/console-web/examples/health/get-queue-usage-dump.md b/docs/examples/1.6.x/console-web/examples/health/get-queue-usage-dump.md index 4312ace961..969b6346f7 100644 --- a/docs/examples/1.6.x/console-web/examples/health/get-queue-usage-dump.md +++ b/docs/examples/1.6.x/console-web/examples/health/get-queue-usage-dump.md @@ -1,7 +1,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); diff --git a/docs/examples/1.6.x/console-web/examples/health/get-queue-usage.md b/docs/examples/1.6.x/console-web/examples/health/get-queue-usage.md index 703574a3ba..f79fd3b5ad 100644 --- a/docs/examples/1.6.x/console-web/examples/health/get-queue-usage.md +++ b/docs/examples/1.6.x/console-web/examples/health/get-queue-usage.md @@ -1,7 +1,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); diff --git a/docs/examples/1.6.x/console-web/examples/health/get-queue-webhooks.md b/docs/examples/1.6.x/console-web/examples/health/get-queue-webhooks.md index 1c003864a5..72bcc44c9a 100644 --- a/docs/examples/1.6.x/console-web/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.6.x/console-web/examples/health/get-queue-webhooks.md @@ -1,7 +1,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); diff --git a/docs/examples/1.6.x/console-web/examples/health/get-queue.md b/docs/examples/1.6.x/console-web/examples/health/get-queue.md index cef5e8cc41..9c13097bb0 100644 --- a/docs/examples/1.6.x/console-web/examples/health/get-queue.md +++ b/docs/examples/1.6.x/console-web/examples/health/get-queue.md @@ -1,7 +1,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); diff --git a/docs/examples/1.6.x/console-web/examples/health/get-storage-local.md b/docs/examples/1.6.x/console-web/examples/health/get-storage-local.md index 82c6b8bebf..e6bdf62c50 100644 --- a/docs/examples/1.6.x/console-web/examples/health/get-storage-local.md +++ b/docs/examples/1.6.x/console-web/examples/health/get-storage-local.md @@ -1,7 +1,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); diff --git a/docs/examples/1.6.x/console-web/examples/health/get-storage.md b/docs/examples/1.6.x/console-web/examples/health/get-storage.md index a7a377a424..1d8941490e 100644 --- a/docs/examples/1.6.x/console-web/examples/health/get-storage.md +++ b/docs/examples/1.6.x/console-web/examples/health/get-storage.md @@ -1,7 +1,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); diff --git a/docs/examples/1.6.x/console-web/examples/health/get-time.md b/docs/examples/1.6.x/console-web/examples/health/get-time.md index 8e126c0c07..826eaf5a8c 100644 --- a/docs/examples/1.6.x/console-web/examples/health/get-time.md +++ b/docs/examples/1.6.x/console-web/examples/health/get-time.md @@ -1,7 +1,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); diff --git a/docs/examples/1.6.x/console-web/examples/health/get.md b/docs/examples/1.6.x/console-web/examples/health/get.md index 3f2f0fbd85..b510d8a891 100644 --- a/docs/examples/1.6.x/console-web/examples/health/get.md +++ b/docs/examples/1.6.x/console-web/examples/health/get.md @@ -1,7 +1,7 @@ import { Client, Health } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const health = new Health(client); diff --git a/docs/examples/1.6.x/console-web/examples/locale/get.md b/docs/examples/1.6.x/console-web/examples/locale/get.md index fc4f1490ac..4b0331787e 100644 --- a/docs/examples/1.6.x/console-web/examples/locale/get.md +++ b/docs/examples/1.6.x/console-web/examples/locale/get.md @@ -1,7 +1,7 @@ import { Client, Locale } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); diff --git a/docs/examples/1.6.x/console-web/examples/locale/list-codes.md b/docs/examples/1.6.x/console-web/examples/locale/list-codes.md index 547ff18418..d20399af4a 100644 --- a/docs/examples/1.6.x/console-web/examples/locale/list-codes.md +++ b/docs/examples/1.6.x/console-web/examples/locale/list-codes.md @@ -1,7 +1,7 @@ import { Client, Locale } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); diff --git a/docs/examples/1.6.x/console-web/examples/locale/list-continents.md b/docs/examples/1.6.x/console-web/examples/locale/list-continents.md index 2c09d6a472..d769e88f1c 100644 --- a/docs/examples/1.6.x/console-web/examples/locale/list-continents.md +++ b/docs/examples/1.6.x/console-web/examples/locale/list-continents.md @@ -1,7 +1,7 @@ import { Client, Locale } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); diff --git a/docs/examples/1.6.x/console-web/examples/locale/list-countries-e-u.md b/docs/examples/1.6.x/console-web/examples/locale/list-countries-e-u.md index 12769b40f5..ce8746421b 100644 --- a/docs/examples/1.6.x/console-web/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.6.x/console-web/examples/locale/list-countries-e-u.md @@ -1,7 +1,7 @@ import { Client, Locale } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); diff --git a/docs/examples/1.6.x/console-web/examples/locale/list-countries-phones.md b/docs/examples/1.6.x/console-web/examples/locale/list-countries-phones.md index 6bd09be13e..457867707c 100644 --- a/docs/examples/1.6.x/console-web/examples/locale/list-countries-phones.md +++ b/docs/examples/1.6.x/console-web/examples/locale/list-countries-phones.md @@ -1,7 +1,7 @@ import { Client, Locale } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); diff --git a/docs/examples/1.6.x/console-web/examples/locale/list-countries.md b/docs/examples/1.6.x/console-web/examples/locale/list-countries.md index e245f18aa7..298e25ee81 100644 --- a/docs/examples/1.6.x/console-web/examples/locale/list-countries.md +++ b/docs/examples/1.6.x/console-web/examples/locale/list-countries.md @@ -1,7 +1,7 @@ import { Client, Locale } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); diff --git a/docs/examples/1.6.x/console-web/examples/locale/list-currencies.md b/docs/examples/1.6.x/console-web/examples/locale/list-currencies.md index 4fabdd6a71..05ff041cbb 100644 --- a/docs/examples/1.6.x/console-web/examples/locale/list-currencies.md +++ b/docs/examples/1.6.x/console-web/examples/locale/list-currencies.md @@ -1,7 +1,7 @@ import { Client, Locale } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); diff --git a/docs/examples/1.6.x/console-web/examples/locale/list-languages.md b/docs/examples/1.6.x/console-web/examples/locale/list-languages.md index 3de7d36e2f..1a2db31b55 100644 --- a/docs/examples/1.6.x/console-web/examples/locale/list-languages.md +++ b/docs/examples/1.6.x/console-web/examples/locale/list-languages.md @@ -1,7 +1,7 @@ import { Client, Locale } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const locale = new Locale(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/create-apns-provider.md b/docs/examples/1.6.x/console-web/examples/messaging/create-apns-provider.md index 2c9592eacb..9b238afc9e 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/create-apns-provider.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/create-apns-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/create-email.md b/docs/examples/1.6.x/console-web/examples/messaging/create-email.md index cf9800827c..108517c89d 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/create-email.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/create-email.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/create-fcm-provider.md b/docs/examples/1.6.x/console-web/examples/messaging/create-fcm-provider.md index e4db7c5b87..9d67e89fd6 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/create-fcm-provider.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/create-fcm-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/create-mailgun-provider.md b/docs/examples/1.6.x/console-web/examples/messaging/create-mailgun-provider.md index e03a7adc7e..dc165af859 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/create-mailgun-provider.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/create-mailgun-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/create-msg91provider.md b/docs/examples/1.6.x/console-web/examples/messaging/create-msg91provider.md index 2576d818e8..cab468a089 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/create-msg91provider.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/create-msg91provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/create-push.md b/docs/examples/1.6.x/console-web/examples/messaging/create-push.md index 9a4fd4269a..79c3a20e83 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/create-push.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/create-push.md @@ -1,7 +1,7 @@ import { Client, Messaging, MessagePriority } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/create-sendgrid-provider.md b/docs/examples/1.6.x/console-web/examples/messaging/create-sendgrid-provider.md index 309df22c6c..b93c84b258 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/create-sendgrid-provider.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/create-sendgrid-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/create-sms.md b/docs/examples/1.6.x/console-web/examples/messaging/create-sms.md index 8cdc8ffd42..7146ee4ac9 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/create-sms.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/create-sms.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/create-smtp-provider.md b/docs/examples/1.6.x/console-web/examples/messaging/create-smtp-provider.md index a1363e6ded..b4bcf14d0b 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/create-smtp-provider.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/create-smtp-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging, SmtpEncryption } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/create-subscriber.md b/docs/examples/1.6.x/console-web/examples/messaging/create-subscriber.md index 9e6705488d..b1f7239413 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/create-subscriber.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/create-subscriber.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/create-telesign-provider.md b/docs/examples/1.6.x/console-web/examples/messaging/create-telesign-provider.md index 03928d1cba..355bc22f85 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/create-telesign-provider.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/create-telesign-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/create-textmagic-provider.md b/docs/examples/1.6.x/console-web/examples/messaging/create-textmagic-provider.md index f3a4f21a49..d79cffc316 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/create-textmagic-provider.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/create-textmagic-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/create-topic.md b/docs/examples/1.6.x/console-web/examples/messaging/create-topic.md index 46a7a10f38..274714a63b 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/create-topic.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/create-topic.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/create-twilio-provider.md b/docs/examples/1.6.x/console-web/examples/messaging/create-twilio-provider.md index 4a1dbef256..9b8f440743 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/create-twilio-provider.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/create-twilio-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/create-vonage-provider.md b/docs/examples/1.6.x/console-web/examples/messaging/create-vonage-provider.md index 97dfed44f3..6e115e8eb9 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/create-vonage-provider.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/create-vonage-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/delete-provider.md b/docs/examples/1.6.x/console-web/examples/messaging/delete-provider.md index 03626ffd6f..f71eb65f29 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/delete-provider.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/delete-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/delete-subscriber.md b/docs/examples/1.6.x/console-web/examples/messaging/delete-subscriber.md index dc10349ebb..ace9670211 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/delete-subscriber.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/delete-subscriber.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/delete-topic.md b/docs/examples/1.6.x/console-web/examples/messaging/delete-topic.md index f009f770af..8f8e5460d3 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/delete-topic.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/delete-topic.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/delete.md b/docs/examples/1.6.x/console-web/examples/messaging/delete.md index daf58d2900..17324cca7e 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/delete.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/delete.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/get-message.md b/docs/examples/1.6.x/console-web/examples/messaging/get-message.md index 3e141f4182..3282adbe57 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/get-message.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/get-message.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/get-provider.md b/docs/examples/1.6.x/console-web/examples/messaging/get-provider.md index 834241ffb3..97ac5fd127 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/get-provider.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/get-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/get-subscriber.md b/docs/examples/1.6.x/console-web/examples/messaging/get-subscriber.md index 22860485dc..b718558d71 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/get-subscriber.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/get-subscriber.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/get-topic.md b/docs/examples/1.6.x/console-web/examples/messaging/get-topic.md index dd30034a24..802ec1fba4 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/get-topic.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/get-topic.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/list-message-logs.md b/docs/examples/1.6.x/console-web/examples/messaging/list-message-logs.md index 709a433e73..8679b267ce 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/list-message-logs.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/list-message-logs.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/list-messages.md b/docs/examples/1.6.x/console-web/examples/messaging/list-messages.md index 42cf8874e5..a537844f81 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/list-messages.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/list-messages.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/list-provider-logs.md b/docs/examples/1.6.x/console-web/examples/messaging/list-provider-logs.md index 228a83e6ca..2e4acb38cf 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/list-provider-logs.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/list-provider-logs.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/list-providers.md b/docs/examples/1.6.x/console-web/examples/messaging/list-providers.md index e135b4afb7..5c91f01bbc 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/list-providers.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/list-providers.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/list-subscriber-logs.md b/docs/examples/1.6.x/console-web/examples/messaging/list-subscriber-logs.md index 33f4bdf0b1..f722c9a9ed 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/list-subscriber-logs.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/list-subscriber-logs.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/list-subscribers.md b/docs/examples/1.6.x/console-web/examples/messaging/list-subscribers.md index 09818406d5..f120e9d96d 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/list-subscribers.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/list-subscribers.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/list-targets.md b/docs/examples/1.6.x/console-web/examples/messaging/list-targets.md index 92adc0cf34..89baf87cb0 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/list-targets.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/list-targets.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/list-topic-logs.md b/docs/examples/1.6.x/console-web/examples/messaging/list-topic-logs.md index 2ab33f6533..bc23a09a91 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/list-topic-logs.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/list-topic-logs.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/list-topics.md b/docs/examples/1.6.x/console-web/examples/messaging/list-topics.md index 8983f834f7..d23cca3171 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/list-topics.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/list-topics.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/update-apns-provider.md b/docs/examples/1.6.x/console-web/examples/messaging/update-apns-provider.md index 4face78920..bc69c3ad1e 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/update-apns-provider.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/update-apns-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/update-email.md b/docs/examples/1.6.x/console-web/examples/messaging/update-email.md index 905ba629c4..ba9bc7eb48 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/update-email.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/update-email.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/update-fcm-provider.md b/docs/examples/1.6.x/console-web/examples/messaging/update-fcm-provider.md index 0c1b2627dc..d2e7382561 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/update-fcm-provider.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/update-fcm-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/update-mailgun-provider.md b/docs/examples/1.6.x/console-web/examples/messaging/update-mailgun-provider.md index 8dbf6b8bc3..cc48ac52f3 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/update-mailgun-provider.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/update-mailgun-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/update-msg91provider.md b/docs/examples/1.6.x/console-web/examples/messaging/update-msg91provider.md index 68db8ffe2d..c2a6faec24 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/update-msg91provider.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/update-msg91provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/update-push.md b/docs/examples/1.6.x/console-web/examples/messaging/update-push.md index fa2220d3c6..e479dcc425 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/update-push.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/update-push.md @@ -1,7 +1,7 @@ import { Client, Messaging, MessagePriority } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/update-sendgrid-provider.md b/docs/examples/1.6.x/console-web/examples/messaging/update-sendgrid-provider.md index 5cb6907f05..efe8263718 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/update-sendgrid-provider.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/update-sendgrid-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/update-sms.md b/docs/examples/1.6.x/console-web/examples/messaging/update-sms.md index c26662680a..2c535a014e 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/update-sms.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/update-sms.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/update-smtp-provider.md b/docs/examples/1.6.x/console-web/examples/messaging/update-smtp-provider.md index aca32d1902..0274337a7b 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/update-smtp-provider.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/update-smtp-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging, SmtpEncryption } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/update-telesign-provider.md b/docs/examples/1.6.x/console-web/examples/messaging/update-telesign-provider.md index fcba0648f5..5d8bc1602d 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/update-telesign-provider.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/update-telesign-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/update-textmagic-provider.md b/docs/examples/1.6.x/console-web/examples/messaging/update-textmagic-provider.md index c2f1c2506a..564ad4fc69 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/update-textmagic-provider.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/update-textmagic-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/update-topic.md b/docs/examples/1.6.x/console-web/examples/messaging/update-topic.md index d5d953511b..e0edbae714 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/update-topic.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/update-topic.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/update-twilio-provider.md b/docs/examples/1.6.x/console-web/examples/messaging/update-twilio-provider.md index d6a8d07a4b..544a52e4fd 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/update-twilio-provider.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/update-twilio-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/messaging/update-vonage-provider.md b/docs/examples/1.6.x/console-web/examples/messaging/update-vonage-provider.md index 939cd821d6..e831c03184 100644 --- a/docs/examples/1.6.x/console-web/examples/messaging/update-vonage-provider.md +++ b/docs/examples/1.6.x/console-web/examples/messaging/update-vonage-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const messaging = new Messaging(client); diff --git a/docs/examples/1.6.x/console-web/examples/migrations/create-appwrite-migration.md b/docs/examples/1.6.x/console-web/examples/migrations/create-appwrite-migration.md index 4e5b463e38..db9a4cd0e0 100644 --- a/docs/examples/1.6.x/console-web/examples/migrations/create-appwrite-migration.md +++ b/docs/examples/1.6.x/console-web/examples/migrations/create-appwrite-migration.md @@ -1,7 +1,7 @@ import { Client, Migrations } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const migrations = new Migrations(client); diff --git a/docs/examples/1.6.x/console-web/examples/migrations/create-firebase-migration.md b/docs/examples/1.6.x/console-web/examples/migrations/create-firebase-migration.md index 9e59eda642..20ce3a8b3c 100644 --- a/docs/examples/1.6.x/console-web/examples/migrations/create-firebase-migration.md +++ b/docs/examples/1.6.x/console-web/examples/migrations/create-firebase-migration.md @@ -1,7 +1,7 @@ import { Client, Migrations } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const migrations = new Migrations(client); diff --git a/docs/examples/1.6.x/console-web/examples/migrations/create-n-host-migration.md b/docs/examples/1.6.x/console-web/examples/migrations/create-n-host-migration.md index 281b584d35..23b22ff371 100644 --- a/docs/examples/1.6.x/console-web/examples/migrations/create-n-host-migration.md +++ b/docs/examples/1.6.x/console-web/examples/migrations/create-n-host-migration.md @@ -1,7 +1,7 @@ import { Client, Migrations } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const migrations = new Migrations(client); diff --git a/docs/examples/1.6.x/console-web/examples/migrations/create-supabase-migration.md b/docs/examples/1.6.x/console-web/examples/migrations/create-supabase-migration.md index 290009b498..18c326ca7e 100644 --- a/docs/examples/1.6.x/console-web/examples/migrations/create-supabase-migration.md +++ b/docs/examples/1.6.x/console-web/examples/migrations/create-supabase-migration.md @@ -1,7 +1,7 @@ import { Client, Migrations } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const migrations = new Migrations(client); diff --git a/docs/examples/1.6.x/console-web/examples/migrations/delete.md b/docs/examples/1.6.x/console-web/examples/migrations/delete.md index d5f68fffaf..bb013ddf27 100644 --- a/docs/examples/1.6.x/console-web/examples/migrations/delete.md +++ b/docs/examples/1.6.x/console-web/examples/migrations/delete.md @@ -1,7 +1,7 @@ import { Client, Migrations } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const migrations = new Migrations(client); diff --git a/docs/examples/1.6.x/console-web/examples/migrations/get-appwrite-report.md b/docs/examples/1.6.x/console-web/examples/migrations/get-appwrite-report.md index b5de0848bc..a70b6a45fb 100644 --- a/docs/examples/1.6.x/console-web/examples/migrations/get-appwrite-report.md +++ b/docs/examples/1.6.x/console-web/examples/migrations/get-appwrite-report.md @@ -1,7 +1,7 @@ import { Client, Migrations } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const migrations = new Migrations(client); diff --git a/docs/examples/1.6.x/console-web/examples/migrations/get-firebase-report.md b/docs/examples/1.6.x/console-web/examples/migrations/get-firebase-report.md index 112dd629d7..bf1c85eeb6 100644 --- a/docs/examples/1.6.x/console-web/examples/migrations/get-firebase-report.md +++ b/docs/examples/1.6.x/console-web/examples/migrations/get-firebase-report.md @@ -1,7 +1,7 @@ import { Client, Migrations } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const migrations = new Migrations(client); diff --git a/docs/examples/1.6.x/console-web/examples/migrations/get-n-host-report.md b/docs/examples/1.6.x/console-web/examples/migrations/get-n-host-report.md index ec615014f1..a983088f0d 100644 --- a/docs/examples/1.6.x/console-web/examples/migrations/get-n-host-report.md +++ b/docs/examples/1.6.x/console-web/examples/migrations/get-n-host-report.md @@ -1,7 +1,7 @@ import { Client, Migrations } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const migrations = new Migrations(client); diff --git a/docs/examples/1.6.x/console-web/examples/migrations/get-supabase-report.md b/docs/examples/1.6.x/console-web/examples/migrations/get-supabase-report.md index 5f6dd316e7..d6ea7a9712 100644 --- a/docs/examples/1.6.x/console-web/examples/migrations/get-supabase-report.md +++ b/docs/examples/1.6.x/console-web/examples/migrations/get-supabase-report.md @@ -1,7 +1,7 @@ import { Client, Migrations } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const migrations = new Migrations(client); diff --git a/docs/examples/1.6.x/console-web/examples/migrations/get.md b/docs/examples/1.6.x/console-web/examples/migrations/get.md index 3397c2faa8..e2c67eb884 100644 --- a/docs/examples/1.6.x/console-web/examples/migrations/get.md +++ b/docs/examples/1.6.x/console-web/examples/migrations/get.md @@ -1,7 +1,7 @@ import { Client, Migrations } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const migrations = new Migrations(client); diff --git a/docs/examples/1.6.x/console-web/examples/migrations/list.md b/docs/examples/1.6.x/console-web/examples/migrations/list.md index 05207f4a6a..a978e1843e 100644 --- a/docs/examples/1.6.x/console-web/examples/migrations/list.md +++ b/docs/examples/1.6.x/console-web/examples/migrations/list.md @@ -1,7 +1,7 @@ import { Client, Migrations } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const migrations = new Migrations(client); diff --git a/docs/examples/1.6.x/console-web/examples/migrations/retry.md b/docs/examples/1.6.x/console-web/examples/migrations/retry.md index e70bc0700f..f489168d7e 100644 --- a/docs/examples/1.6.x/console-web/examples/migrations/retry.md +++ b/docs/examples/1.6.x/console-web/examples/migrations/retry.md @@ -1,7 +1,7 @@ import { Client, Migrations } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const migrations = new Migrations(client); diff --git a/docs/examples/1.6.x/console-web/examples/project/create-variable.md b/docs/examples/1.6.x/console-web/examples/project/create-variable.md index 5d72427d9f..5b027511e9 100644 --- a/docs/examples/1.6.x/console-web/examples/project/create-variable.md +++ b/docs/examples/1.6.x/console-web/examples/project/create-variable.md @@ -1,7 +1,7 @@ import { Client, Project } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const project = new Project(client); diff --git a/docs/examples/1.6.x/console-web/examples/project/delete-variable.md b/docs/examples/1.6.x/console-web/examples/project/delete-variable.md index f7a9cf7f3f..224691691d 100644 --- a/docs/examples/1.6.x/console-web/examples/project/delete-variable.md +++ b/docs/examples/1.6.x/console-web/examples/project/delete-variable.md @@ -1,7 +1,7 @@ import { Client, Project } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const project = new Project(client); diff --git a/docs/examples/1.6.x/console-web/examples/project/get-usage.md b/docs/examples/1.6.x/console-web/examples/project/get-usage.md index 28d2e32a50..300311dd8f 100644 --- a/docs/examples/1.6.x/console-web/examples/project/get-usage.md +++ b/docs/examples/1.6.x/console-web/examples/project/get-usage.md @@ -1,7 +1,7 @@ import { Client, Project, ProjectUsageRange } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const project = new Project(client); diff --git a/docs/examples/1.6.x/console-web/examples/project/get-variable.md b/docs/examples/1.6.x/console-web/examples/project/get-variable.md index 8765ccaf17..bc30baa325 100644 --- a/docs/examples/1.6.x/console-web/examples/project/get-variable.md +++ b/docs/examples/1.6.x/console-web/examples/project/get-variable.md @@ -1,7 +1,7 @@ import { Client, Project } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const project = new Project(client); diff --git a/docs/examples/1.6.x/console-web/examples/project/list-variables.md b/docs/examples/1.6.x/console-web/examples/project/list-variables.md index fde2ccfaf0..9c17f8514e 100644 --- a/docs/examples/1.6.x/console-web/examples/project/list-variables.md +++ b/docs/examples/1.6.x/console-web/examples/project/list-variables.md @@ -1,7 +1,7 @@ import { Client, Project } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const project = new Project(client); diff --git a/docs/examples/1.6.x/console-web/examples/project/update-variable.md b/docs/examples/1.6.x/console-web/examples/project/update-variable.md index 7263032bfb..85dd578764 100644 --- a/docs/examples/1.6.x/console-web/examples/project/update-variable.md +++ b/docs/examples/1.6.x/console-web/examples/project/update-variable.md @@ -1,7 +1,7 @@ import { Client, Project } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const project = new Project(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/create-j-w-t.md b/docs/examples/1.6.x/console-web/examples/projects/create-j-w-t.md index 2674a12ae1..7175e266ae 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/create-j-w-t.md +++ b/docs/examples/1.6.x/console-web/examples/projects/create-j-w-t.md @@ -1,7 +1,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/create-key.md b/docs/examples/1.6.x/console-web/examples/projects/create-key.md index 80ab9cc429..25bcc125ed 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/create-key.md +++ b/docs/examples/1.6.x/console-web/examples/projects/create-key.md @@ -1,7 +1,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/create-platform.md b/docs/examples/1.6.x/console-web/examples/projects/create-platform.md index 472517a625..7e23dd6f9e 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/create-platform.md +++ b/docs/examples/1.6.x/console-web/examples/projects/create-platform.md @@ -1,7 +1,7 @@ import { Client, Projects, PlatformType } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/create-smtp-test.md b/docs/examples/1.6.x/console-web/examples/projects/create-smtp-test.md index 205a60846d..ab0e184432 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/create-smtp-test.md +++ b/docs/examples/1.6.x/console-web/examples/projects/create-smtp-test.md @@ -1,7 +1,7 @@ import { Client, Projects, SMTPSecure } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/create-webhook.md b/docs/examples/1.6.x/console-web/examples/projects/create-webhook.md index 066b1b78aa..62fdac56cd 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/create-webhook.md +++ b/docs/examples/1.6.x/console-web/examples/projects/create-webhook.md @@ -1,7 +1,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/create.md b/docs/examples/1.6.x/console-web/examples/projects/create.md index 8d1eb12cac..58efd0b75f 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/create.md +++ b/docs/examples/1.6.x/console-web/examples/projects/create.md @@ -1,7 +1,7 @@ import { Client, Projects, } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/delete-email-template.md b/docs/examples/1.6.x/console-web/examples/projects/delete-email-template.md index 582c756260..10e3d302ae 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/delete-email-template.md +++ b/docs/examples/1.6.x/console-web/examples/projects/delete-email-template.md @@ -1,7 +1,7 @@ import { Client, Projects, EmailTemplateType, EmailTemplateLocale } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/delete-key.md b/docs/examples/1.6.x/console-web/examples/projects/delete-key.md index 21643859f7..7ea7dc6fdc 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/delete-key.md +++ b/docs/examples/1.6.x/console-web/examples/projects/delete-key.md @@ -1,7 +1,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/delete-platform.md b/docs/examples/1.6.x/console-web/examples/projects/delete-platform.md index 8a0dd667ac..5c71747a64 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/delete-platform.md +++ b/docs/examples/1.6.x/console-web/examples/projects/delete-platform.md @@ -1,7 +1,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/delete-sms-template.md b/docs/examples/1.6.x/console-web/examples/projects/delete-sms-template.md index cee473637e..eef3cccae9 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/delete-sms-template.md +++ b/docs/examples/1.6.x/console-web/examples/projects/delete-sms-template.md @@ -1,7 +1,7 @@ import { Client, Projects, SmsTemplateType, SmsTemplateLocale } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/delete-webhook.md b/docs/examples/1.6.x/console-web/examples/projects/delete-webhook.md index 9b8b0ca0b5..24abaafc66 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/delete-webhook.md +++ b/docs/examples/1.6.x/console-web/examples/projects/delete-webhook.md @@ -1,7 +1,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/delete.md b/docs/examples/1.6.x/console-web/examples/projects/delete.md index 606b449388..d868616db2 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/delete.md +++ b/docs/examples/1.6.x/console-web/examples/projects/delete.md @@ -1,7 +1,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/get-email-template.md b/docs/examples/1.6.x/console-web/examples/projects/get-email-template.md index 41da628ce2..1d27c8c682 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/get-email-template.md +++ b/docs/examples/1.6.x/console-web/examples/projects/get-email-template.md @@ -1,7 +1,7 @@ import { Client, Projects, EmailTemplateType, EmailTemplateLocale } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/get-key.md b/docs/examples/1.6.x/console-web/examples/projects/get-key.md index 8965f7250a..79359e298b 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/get-key.md +++ b/docs/examples/1.6.x/console-web/examples/projects/get-key.md @@ -1,7 +1,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/get-platform.md b/docs/examples/1.6.x/console-web/examples/projects/get-platform.md index aa0b084726..a17bcb122d 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/get-platform.md +++ b/docs/examples/1.6.x/console-web/examples/projects/get-platform.md @@ -1,7 +1,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/get-sms-template.md b/docs/examples/1.6.x/console-web/examples/projects/get-sms-template.md index 5c424db160..0badf1cca4 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/get-sms-template.md +++ b/docs/examples/1.6.x/console-web/examples/projects/get-sms-template.md @@ -1,7 +1,7 @@ import { Client, Projects, SmsTemplateType, SmsTemplateLocale } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/get-webhook.md b/docs/examples/1.6.x/console-web/examples/projects/get-webhook.md index eff61f8e71..6b6530a04e 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/get-webhook.md +++ b/docs/examples/1.6.x/console-web/examples/projects/get-webhook.md @@ -1,7 +1,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/get.md b/docs/examples/1.6.x/console-web/examples/projects/get.md index eb537bfa3f..dbec5dd543 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/get.md +++ b/docs/examples/1.6.x/console-web/examples/projects/get.md @@ -1,7 +1,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/list-keys.md b/docs/examples/1.6.x/console-web/examples/projects/list-keys.md index a381e9f508..5701133ba4 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/list-keys.md +++ b/docs/examples/1.6.x/console-web/examples/projects/list-keys.md @@ -1,7 +1,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/list-platforms.md b/docs/examples/1.6.x/console-web/examples/projects/list-platforms.md index d2dbc82a0c..214092b6b3 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/list-platforms.md +++ b/docs/examples/1.6.x/console-web/examples/projects/list-platforms.md @@ -1,7 +1,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/list-webhooks.md b/docs/examples/1.6.x/console-web/examples/projects/list-webhooks.md index c0e90e9202..11639bfccf 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/list-webhooks.md +++ b/docs/examples/1.6.x/console-web/examples/projects/list-webhooks.md @@ -1,7 +1,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/list.md b/docs/examples/1.6.x/console-web/examples/projects/list.md index 01d68f4fb0..0ade65189a 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/list.md +++ b/docs/examples/1.6.x/console-web/examples/projects/list.md @@ -1,7 +1,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/update-api-status-all.md b/docs/examples/1.6.x/console-web/examples/projects/update-api-status-all.md index 5378a3511e..a51ed2df2b 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/update-api-status-all.md +++ b/docs/examples/1.6.x/console-web/examples/projects/update-api-status-all.md @@ -1,7 +1,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/update-api-status.md b/docs/examples/1.6.x/console-web/examples/projects/update-api-status.md index 63328d4486..9cc7dfe8ab 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/update-api-status.md +++ b/docs/examples/1.6.x/console-web/examples/projects/update-api-status.md @@ -1,7 +1,7 @@ import { Client, Projects, } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/update-auth-duration.md b/docs/examples/1.6.x/console-web/examples/projects/update-auth-duration.md index 82738f3798..d0d8c67b28 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/update-auth-duration.md +++ b/docs/examples/1.6.x/console-web/examples/projects/update-auth-duration.md @@ -1,7 +1,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/update-auth-limit.md b/docs/examples/1.6.x/console-web/examples/projects/update-auth-limit.md index e76582e0e2..80f73f871f 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/update-auth-limit.md +++ b/docs/examples/1.6.x/console-web/examples/projects/update-auth-limit.md @@ -1,7 +1,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/update-auth-password-dictionary.md b/docs/examples/1.6.x/console-web/examples/projects/update-auth-password-dictionary.md index bd76c9b4b9..1e878c2246 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/update-auth-password-dictionary.md +++ b/docs/examples/1.6.x/console-web/examples/projects/update-auth-password-dictionary.md @@ -1,7 +1,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/update-auth-password-history.md b/docs/examples/1.6.x/console-web/examples/projects/update-auth-password-history.md index 02aa65bbb8..26a3adcfde 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/update-auth-password-history.md +++ b/docs/examples/1.6.x/console-web/examples/projects/update-auth-password-history.md @@ -1,7 +1,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/update-auth-sessions-limit.md b/docs/examples/1.6.x/console-web/examples/projects/update-auth-sessions-limit.md index 69efff8cba..c1b0e14e91 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/update-auth-sessions-limit.md +++ b/docs/examples/1.6.x/console-web/examples/projects/update-auth-sessions-limit.md @@ -1,7 +1,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/update-auth-status.md b/docs/examples/1.6.x/console-web/examples/projects/update-auth-status.md index fc38aa6487..d4862282a6 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/update-auth-status.md +++ b/docs/examples/1.6.x/console-web/examples/projects/update-auth-status.md @@ -1,7 +1,7 @@ import { Client, Projects, AuthMethod } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/update-email-template.md b/docs/examples/1.6.x/console-web/examples/projects/update-email-template.md index 178193b452..44467c4f8a 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/update-email-template.md +++ b/docs/examples/1.6.x/console-web/examples/projects/update-email-template.md @@ -1,7 +1,7 @@ import { Client, Projects, EmailTemplateType, EmailTemplateLocale } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/update-key.md b/docs/examples/1.6.x/console-web/examples/projects/update-key.md index 287133deee..492a0ac23d 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/update-key.md +++ b/docs/examples/1.6.x/console-web/examples/projects/update-key.md @@ -1,7 +1,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/update-memberships-privacy.md b/docs/examples/1.6.x/console-web/examples/projects/update-memberships-privacy.md index 2cde25faa5..31adcd3855 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/update-memberships-privacy.md +++ b/docs/examples/1.6.x/console-web/examples/projects/update-memberships-privacy.md @@ -1,7 +1,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/update-mock-numbers.md b/docs/examples/1.6.x/console-web/examples/projects/update-mock-numbers.md index c371e721e9..245a20c19b 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/update-mock-numbers.md +++ b/docs/examples/1.6.x/console-web/examples/projects/update-mock-numbers.md @@ -1,7 +1,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/update-o-auth2.md b/docs/examples/1.6.x/console-web/examples/projects/update-o-auth2.md index fc9cd5a31e..0671ee38bd 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/update-o-auth2.md +++ b/docs/examples/1.6.x/console-web/examples/projects/update-o-auth2.md @@ -1,7 +1,7 @@ import { Client, Projects, OAuthProvider } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/update-personal-data-check.md b/docs/examples/1.6.x/console-web/examples/projects/update-personal-data-check.md index be52d71240..fb0fcffc16 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/update-personal-data-check.md +++ b/docs/examples/1.6.x/console-web/examples/projects/update-personal-data-check.md @@ -1,7 +1,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/update-platform.md b/docs/examples/1.6.x/console-web/examples/projects/update-platform.md index a34d5ccceb..2f9cc0a4fd 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/update-platform.md +++ b/docs/examples/1.6.x/console-web/examples/projects/update-platform.md @@ -1,7 +1,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/update-service-status-all.md b/docs/examples/1.6.x/console-web/examples/projects/update-service-status-all.md index 9a64f375a4..672a1491bc 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/update-service-status-all.md +++ b/docs/examples/1.6.x/console-web/examples/projects/update-service-status-all.md @@ -1,7 +1,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/update-service-status.md b/docs/examples/1.6.x/console-web/examples/projects/update-service-status.md index e1af528617..5d2189e339 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/update-service-status.md +++ b/docs/examples/1.6.x/console-web/examples/projects/update-service-status.md @@ -1,7 +1,7 @@ import { Client, Projects, ApiService } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/update-session-alerts.md b/docs/examples/1.6.x/console-web/examples/projects/update-session-alerts.md index f718d25121..65aa353b2b 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/update-session-alerts.md +++ b/docs/examples/1.6.x/console-web/examples/projects/update-session-alerts.md @@ -1,7 +1,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/update-sms-template.md b/docs/examples/1.6.x/console-web/examples/projects/update-sms-template.md index 97e7001775..cc801a67c5 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/update-sms-template.md +++ b/docs/examples/1.6.x/console-web/examples/projects/update-sms-template.md @@ -1,7 +1,7 @@ import { Client, Projects, SmsTemplateType, SmsTemplateLocale } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/update-smtp.md b/docs/examples/1.6.x/console-web/examples/projects/update-smtp.md index d2cba5cff1..605ba0f5e3 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/update-smtp.md +++ b/docs/examples/1.6.x/console-web/examples/projects/update-smtp.md @@ -1,7 +1,7 @@ import { Client, Projects, SMTPSecure } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/update-team.md b/docs/examples/1.6.x/console-web/examples/projects/update-team.md index 71ef96c9fb..b7c5d934e2 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/update-team.md +++ b/docs/examples/1.6.x/console-web/examples/projects/update-team.md @@ -1,7 +1,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/update-webhook-signature.md b/docs/examples/1.6.x/console-web/examples/projects/update-webhook-signature.md index 14a277c0e1..593c6c0fce 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/update-webhook-signature.md +++ b/docs/examples/1.6.x/console-web/examples/projects/update-webhook-signature.md @@ -1,7 +1,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/update-webhook.md b/docs/examples/1.6.x/console-web/examples/projects/update-webhook.md index 3b248a8d29..18d10051e9 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/update-webhook.md +++ b/docs/examples/1.6.x/console-web/examples/projects/update-webhook.md @@ -1,7 +1,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/projects/update.md b/docs/examples/1.6.x/console-web/examples/projects/update.md index c5d2961acb..8b2d2823ca 100644 --- a/docs/examples/1.6.x/console-web/examples/projects/update.md +++ b/docs/examples/1.6.x/console-web/examples/projects/update.md @@ -1,7 +1,7 @@ import { Client, Projects } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const projects = new Projects(client); diff --git a/docs/examples/1.6.x/console-web/examples/proxy/create-rule.md b/docs/examples/1.6.x/console-web/examples/proxy/create-rule.md index e2eecb0f7f..0fa61ca757 100644 --- a/docs/examples/1.6.x/console-web/examples/proxy/create-rule.md +++ b/docs/examples/1.6.x/console-web/examples/proxy/create-rule.md @@ -1,7 +1,7 @@ import { Client, Proxy, } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const proxy = new Proxy(client); diff --git a/docs/examples/1.6.x/console-web/examples/proxy/delete-rule.md b/docs/examples/1.6.x/console-web/examples/proxy/delete-rule.md index 4e8cc42375..783f06d95c 100644 --- a/docs/examples/1.6.x/console-web/examples/proxy/delete-rule.md +++ b/docs/examples/1.6.x/console-web/examples/proxy/delete-rule.md @@ -1,7 +1,7 @@ import { Client, Proxy } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const proxy = new Proxy(client); diff --git a/docs/examples/1.6.x/console-web/examples/proxy/get-rule.md b/docs/examples/1.6.x/console-web/examples/proxy/get-rule.md index 3e4ae78a1c..e69c8210ce 100644 --- a/docs/examples/1.6.x/console-web/examples/proxy/get-rule.md +++ b/docs/examples/1.6.x/console-web/examples/proxy/get-rule.md @@ -1,7 +1,7 @@ import { Client, Proxy } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const proxy = new Proxy(client); diff --git a/docs/examples/1.6.x/console-web/examples/proxy/list-rules.md b/docs/examples/1.6.x/console-web/examples/proxy/list-rules.md index 01b5cc0527..8c07168292 100644 --- a/docs/examples/1.6.x/console-web/examples/proxy/list-rules.md +++ b/docs/examples/1.6.x/console-web/examples/proxy/list-rules.md @@ -1,7 +1,7 @@ import { Client, Proxy } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const proxy = new Proxy(client); diff --git a/docs/examples/1.6.x/console-web/examples/proxy/update-rule-verification.md b/docs/examples/1.6.x/console-web/examples/proxy/update-rule-verification.md index 6ae0a0274e..349535cec8 100644 --- a/docs/examples/1.6.x/console-web/examples/proxy/update-rule-verification.md +++ b/docs/examples/1.6.x/console-web/examples/proxy/update-rule-verification.md @@ -1,7 +1,7 @@ import { Client, Proxy } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const proxy = new Proxy(client); diff --git a/docs/examples/1.6.x/console-web/examples/storage/create-bucket.md b/docs/examples/1.6.x/console-web/examples/storage/create-bucket.md index eec0272c58..a01bb0945f 100644 --- a/docs/examples/1.6.x/console-web/examples/storage/create-bucket.md +++ b/docs/examples/1.6.x/console-web/examples/storage/create-bucket.md @@ -1,7 +1,7 @@ import { Client, Storage, } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.6.x/console-web/examples/storage/create-file.md b/docs/examples/1.6.x/console-web/examples/storage/create-file.md index 21c58dcbb0..8048772389 100644 --- a/docs/examples/1.6.x/console-web/examples/storage/create-file.md +++ b/docs/examples/1.6.x/console-web/examples/storage/create-file.md @@ -1,7 +1,7 @@ import { Client, Storage } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.6.x/console-web/examples/storage/delete-bucket.md b/docs/examples/1.6.x/console-web/examples/storage/delete-bucket.md index c20989887d..20084fd7e3 100644 --- a/docs/examples/1.6.x/console-web/examples/storage/delete-bucket.md +++ b/docs/examples/1.6.x/console-web/examples/storage/delete-bucket.md @@ -1,7 +1,7 @@ import { Client, Storage } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.6.x/console-web/examples/storage/delete-file.md b/docs/examples/1.6.x/console-web/examples/storage/delete-file.md index 3e2010a027..41afa9e375 100644 --- a/docs/examples/1.6.x/console-web/examples/storage/delete-file.md +++ b/docs/examples/1.6.x/console-web/examples/storage/delete-file.md @@ -1,7 +1,7 @@ import { Client, Storage } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.6.x/console-web/examples/storage/get-bucket-usage.md b/docs/examples/1.6.x/console-web/examples/storage/get-bucket-usage.md index f28d21773a..1007454c2e 100644 --- a/docs/examples/1.6.x/console-web/examples/storage/get-bucket-usage.md +++ b/docs/examples/1.6.x/console-web/examples/storage/get-bucket-usage.md @@ -1,7 +1,7 @@ import { Client, Storage, StorageUsageRange } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.6.x/console-web/examples/storage/get-bucket.md b/docs/examples/1.6.x/console-web/examples/storage/get-bucket.md index b69202ddd2..ec77dd2bf5 100644 --- a/docs/examples/1.6.x/console-web/examples/storage/get-bucket.md +++ b/docs/examples/1.6.x/console-web/examples/storage/get-bucket.md @@ -1,7 +1,7 @@ import { Client, Storage } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.6.x/console-web/examples/storage/get-file-download.md b/docs/examples/1.6.x/console-web/examples/storage/get-file-download.md index 2376adc470..8cef65e7df 100644 --- a/docs/examples/1.6.x/console-web/examples/storage/get-file-download.md +++ b/docs/examples/1.6.x/console-web/examples/storage/get-file-download.md @@ -1,7 +1,7 @@ import { Client, Storage } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.6.x/console-web/examples/storage/get-file-preview.md b/docs/examples/1.6.x/console-web/examples/storage/get-file-preview.md index ee390c5231..e844be00c6 100644 --- a/docs/examples/1.6.x/console-web/examples/storage/get-file-preview.md +++ b/docs/examples/1.6.x/console-web/examples/storage/get-file-preview.md @@ -1,7 +1,7 @@ import { Client, Storage, ImageGravity, ImageFormat } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.6.x/console-web/examples/storage/get-file-view.md b/docs/examples/1.6.x/console-web/examples/storage/get-file-view.md index 82689b5967..6444fd0ac8 100644 --- a/docs/examples/1.6.x/console-web/examples/storage/get-file-view.md +++ b/docs/examples/1.6.x/console-web/examples/storage/get-file-view.md @@ -1,7 +1,7 @@ import { Client, Storage } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.6.x/console-web/examples/storage/get-file.md b/docs/examples/1.6.x/console-web/examples/storage/get-file.md index f4c0aa9c50..76658edb0b 100644 --- a/docs/examples/1.6.x/console-web/examples/storage/get-file.md +++ b/docs/examples/1.6.x/console-web/examples/storage/get-file.md @@ -1,7 +1,7 @@ import { Client, Storage } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.6.x/console-web/examples/storage/get-usage.md b/docs/examples/1.6.x/console-web/examples/storage/get-usage.md index 6090311d54..b57f8f8b03 100644 --- a/docs/examples/1.6.x/console-web/examples/storage/get-usage.md +++ b/docs/examples/1.6.x/console-web/examples/storage/get-usage.md @@ -1,7 +1,7 @@ import { Client, Storage, StorageUsageRange } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.6.x/console-web/examples/storage/list-buckets.md b/docs/examples/1.6.x/console-web/examples/storage/list-buckets.md index eb4c561386..f82c01a879 100644 --- a/docs/examples/1.6.x/console-web/examples/storage/list-buckets.md +++ b/docs/examples/1.6.x/console-web/examples/storage/list-buckets.md @@ -1,7 +1,7 @@ import { Client, Storage } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.6.x/console-web/examples/storage/list-files.md b/docs/examples/1.6.x/console-web/examples/storage/list-files.md index e5039136ff..9076b8997f 100644 --- a/docs/examples/1.6.x/console-web/examples/storage/list-files.md +++ b/docs/examples/1.6.x/console-web/examples/storage/list-files.md @@ -1,7 +1,7 @@ import { Client, Storage } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.6.x/console-web/examples/storage/update-bucket.md b/docs/examples/1.6.x/console-web/examples/storage/update-bucket.md index 8959395782..d6c125a213 100644 --- a/docs/examples/1.6.x/console-web/examples/storage/update-bucket.md +++ b/docs/examples/1.6.x/console-web/examples/storage/update-bucket.md @@ -1,7 +1,7 @@ import { Client, Storage, } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.6.x/console-web/examples/storage/update-file.md b/docs/examples/1.6.x/console-web/examples/storage/update-file.md index 2d3fedbfcb..79830f77d2 100644 --- a/docs/examples/1.6.x/console-web/examples/storage/update-file.md +++ b/docs/examples/1.6.x/console-web/examples/storage/update-file.md @@ -1,7 +1,7 @@ import { Client, Storage } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const storage = new Storage(client); diff --git a/docs/examples/1.6.x/console-web/examples/teams/create-membership.md b/docs/examples/1.6.x/console-web/examples/teams/create-membership.md index 2ea76b1987..18f6b0ab4d 100644 --- a/docs/examples/1.6.x/console-web/examples/teams/create-membership.md +++ b/docs/examples/1.6.x/console-web/examples/teams/create-membership.md @@ -1,7 +1,7 @@ import { Client, Teams } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/console-web/examples/teams/create.md b/docs/examples/1.6.x/console-web/examples/teams/create.md index 40cd4763c1..a33e71ad5f 100644 --- a/docs/examples/1.6.x/console-web/examples/teams/create.md +++ b/docs/examples/1.6.x/console-web/examples/teams/create.md @@ -1,7 +1,7 @@ import { Client, Teams } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/console-web/examples/teams/delete-membership.md b/docs/examples/1.6.x/console-web/examples/teams/delete-membership.md index c7a307da48..a63ed46749 100644 --- a/docs/examples/1.6.x/console-web/examples/teams/delete-membership.md +++ b/docs/examples/1.6.x/console-web/examples/teams/delete-membership.md @@ -1,7 +1,7 @@ import { Client, Teams } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/console-web/examples/teams/delete.md b/docs/examples/1.6.x/console-web/examples/teams/delete.md index fe71deed63..e97cc05cc7 100644 --- a/docs/examples/1.6.x/console-web/examples/teams/delete.md +++ b/docs/examples/1.6.x/console-web/examples/teams/delete.md @@ -1,7 +1,7 @@ import { Client, Teams } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/console-web/examples/teams/get-membership.md b/docs/examples/1.6.x/console-web/examples/teams/get-membership.md index 99e67ea8ff..bc31ee1470 100644 --- a/docs/examples/1.6.x/console-web/examples/teams/get-membership.md +++ b/docs/examples/1.6.x/console-web/examples/teams/get-membership.md @@ -1,7 +1,7 @@ import { Client, Teams } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/console-web/examples/teams/get-prefs.md b/docs/examples/1.6.x/console-web/examples/teams/get-prefs.md index 9b5c724aad..394848c5c3 100644 --- a/docs/examples/1.6.x/console-web/examples/teams/get-prefs.md +++ b/docs/examples/1.6.x/console-web/examples/teams/get-prefs.md @@ -1,7 +1,7 @@ import { Client, Teams } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/console-web/examples/teams/get.md b/docs/examples/1.6.x/console-web/examples/teams/get.md index d87b58f05c..8c752a9828 100644 --- a/docs/examples/1.6.x/console-web/examples/teams/get.md +++ b/docs/examples/1.6.x/console-web/examples/teams/get.md @@ -1,7 +1,7 @@ import { Client, Teams } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/console-web/examples/teams/list-logs.md b/docs/examples/1.6.x/console-web/examples/teams/list-logs.md index 76ba484ddb..004e627f0d 100644 --- a/docs/examples/1.6.x/console-web/examples/teams/list-logs.md +++ b/docs/examples/1.6.x/console-web/examples/teams/list-logs.md @@ -1,7 +1,7 @@ import { Client, Teams } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/console-web/examples/teams/list-memberships.md b/docs/examples/1.6.x/console-web/examples/teams/list-memberships.md index 9f1a6f9122..22fb731175 100644 --- a/docs/examples/1.6.x/console-web/examples/teams/list-memberships.md +++ b/docs/examples/1.6.x/console-web/examples/teams/list-memberships.md @@ -1,7 +1,7 @@ import { Client, Teams } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/console-web/examples/teams/list.md b/docs/examples/1.6.x/console-web/examples/teams/list.md index b738fe925b..c51dfaf389 100644 --- a/docs/examples/1.6.x/console-web/examples/teams/list.md +++ b/docs/examples/1.6.x/console-web/examples/teams/list.md @@ -1,7 +1,7 @@ import { Client, Teams } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/console-web/examples/teams/update-membership-status.md b/docs/examples/1.6.x/console-web/examples/teams/update-membership-status.md index b7fe25d3ee..c8e608278e 100644 --- a/docs/examples/1.6.x/console-web/examples/teams/update-membership-status.md +++ b/docs/examples/1.6.x/console-web/examples/teams/update-membership-status.md @@ -1,7 +1,7 @@ import { Client, Teams } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/console-web/examples/teams/update-membership.md b/docs/examples/1.6.x/console-web/examples/teams/update-membership.md index 2e6f75941e..d3e0164a17 100644 --- a/docs/examples/1.6.x/console-web/examples/teams/update-membership.md +++ b/docs/examples/1.6.x/console-web/examples/teams/update-membership.md @@ -1,7 +1,7 @@ import { Client, Teams } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/console-web/examples/teams/update-name.md b/docs/examples/1.6.x/console-web/examples/teams/update-name.md index c8792637f1..43703d0c98 100644 --- a/docs/examples/1.6.x/console-web/examples/teams/update-name.md +++ b/docs/examples/1.6.x/console-web/examples/teams/update-name.md @@ -1,7 +1,7 @@ import { Client, Teams } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/console-web/examples/teams/update-prefs.md b/docs/examples/1.6.x/console-web/examples/teams/update-prefs.md index d81c93dcce..e0acff0a30 100644 --- a/docs/examples/1.6.x/console-web/examples/teams/update-prefs.md +++ b/docs/examples/1.6.x/console-web/examples/teams/update-prefs.md @@ -1,7 +1,7 @@ import { Client, Teams } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const teams = new Teams(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/create-argon2user.md b/docs/examples/1.6.x/console-web/examples/users/create-argon2user.md index b39f688c8e..c190225d4b 100644 --- a/docs/examples/1.6.x/console-web/examples/users/create-argon2user.md +++ b/docs/examples/1.6.x/console-web/examples/users/create-argon2user.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/create-bcrypt-user.md b/docs/examples/1.6.x/console-web/examples/users/create-bcrypt-user.md index 874b4e7625..9c51181890 100644 --- a/docs/examples/1.6.x/console-web/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.6.x/console-web/examples/users/create-bcrypt-user.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/create-j-w-t.md b/docs/examples/1.6.x/console-web/examples/users/create-j-w-t.md index aefc620800..7d50fbce03 100644 --- a/docs/examples/1.6.x/console-web/examples/users/create-j-w-t.md +++ b/docs/examples/1.6.x/console-web/examples/users/create-j-w-t.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/create-m-d5user.md b/docs/examples/1.6.x/console-web/examples/users/create-m-d5user.md index da6d1065b4..610f795ab0 100644 --- a/docs/examples/1.6.x/console-web/examples/users/create-m-d5user.md +++ b/docs/examples/1.6.x/console-web/examples/users/create-m-d5user.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/create-mfa-recovery-codes.md b/docs/examples/1.6.x/console-web/examples/users/create-mfa-recovery-codes.md index 6689014cfa..ea52af9cf8 100644 --- a/docs/examples/1.6.x/console-web/examples/users/create-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/console-web/examples/users/create-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/create-p-h-pass-user.md b/docs/examples/1.6.x/console-web/examples/users/create-p-h-pass-user.md index 235df14059..c9437c5c38 100644 --- a/docs/examples/1.6.x/console-web/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.6.x/console-web/examples/users/create-p-h-pass-user.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/create-s-h-a-user.md b/docs/examples/1.6.x/console-web/examples/users/create-s-h-a-user.md index a13d0342f0..b70f09c133 100644 --- a/docs/examples/1.6.x/console-web/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.6.x/console-web/examples/users/create-s-h-a-user.md @@ -1,7 +1,7 @@ import { Client, Users, PasswordHash } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/create-scrypt-modified-user.md b/docs/examples/1.6.x/console-web/examples/users/create-scrypt-modified-user.md index e6e1c42c02..c0a0435b67 100644 --- a/docs/examples/1.6.x/console-web/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.6.x/console-web/examples/users/create-scrypt-modified-user.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/create-scrypt-user.md b/docs/examples/1.6.x/console-web/examples/users/create-scrypt-user.md index c8e9340c50..f1cb93637a 100644 --- a/docs/examples/1.6.x/console-web/examples/users/create-scrypt-user.md +++ b/docs/examples/1.6.x/console-web/examples/users/create-scrypt-user.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/create-session.md b/docs/examples/1.6.x/console-web/examples/users/create-session.md index 55704e5af1..5393c4408d 100644 --- a/docs/examples/1.6.x/console-web/examples/users/create-session.md +++ b/docs/examples/1.6.x/console-web/examples/users/create-session.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/create-target.md b/docs/examples/1.6.x/console-web/examples/users/create-target.md index 28daa91202..4c8eac9c45 100644 --- a/docs/examples/1.6.x/console-web/examples/users/create-target.md +++ b/docs/examples/1.6.x/console-web/examples/users/create-target.md @@ -1,7 +1,7 @@ import { Client, Users, MessagingProviderType } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/create-token.md b/docs/examples/1.6.x/console-web/examples/users/create-token.md index 6c91898d2f..58e8c9f035 100644 --- a/docs/examples/1.6.x/console-web/examples/users/create-token.md +++ b/docs/examples/1.6.x/console-web/examples/users/create-token.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/create.md b/docs/examples/1.6.x/console-web/examples/users/create.md index 8959c127d4..131ef1290c 100644 --- a/docs/examples/1.6.x/console-web/examples/users/create.md +++ b/docs/examples/1.6.x/console-web/examples/users/create.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/delete-identity.md b/docs/examples/1.6.x/console-web/examples/users/delete-identity.md index b8ef32e24d..cf7425c843 100644 --- a/docs/examples/1.6.x/console-web/examples/users/delete-identity.md +++ b/docs/examples/1.6.x/console-web/examples/users/delete-identity.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/delete-mfa-authenticator.md b/docs/examples/1.6.x/console-web/examples/users/delete-mfa-authenticator.md index 586940ecb0..023686ae26 100644 --- a/docs/examples/1.6.x/console-web/examples/users/delete-mfa-authenticator.md +++ b/docs/examples/1.6.x/console-web/examples/users/delete-mfa-authenticator.md @@ -1,7 +1,7 @@ import { Client, Users, AuthenticatorType } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/delete-session.md b/docs/examples/1.6.x/console-web/examples/users/delete-session.md index 3380f90cc4..ca6880431b 100644 --- a/docs/examples/1.6.x/console-web/examples/users/delete-session.md +++ b/docs/examples/1.6.x/console-web/examples/users/delete-session.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/delete-sessions.md b/docs/examples/1.6.x/console-web/examples/users/delete-sessions.md index 3b0e153b3f..1137a8b29b 100644 --- a/docs/examples/1.6.x/console-web/examples/users/delete-sessions.md +++ b/docs/examples/1.6.x/console-web/examples/users/delete-sessions.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/delete-target.md b/docs/examples/1.6.x/console-web/examples/users/delete-target.md index 1877265f08..386d8a90b5 100644 --- a/docs/examples/1.6.x/console-web/examples/users/delete-target.md +++ b/docs/examples/1.6.x/console-web/examples/users/delete-target.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/delete.md b/docs/examples/1.6.x/console-web/examples/users/delete.md index 60a7e16fb4..1d4b1d0e1c 100644 --- a/docs/examples/1.6.x/console-web/examples/users/delete.md +++ b/docs/examples/1.6.x/console-web/examples/users/delete.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/get-mfa-recovery-codes.md b/docs/examples/1.6.x/console-web/examples/users/get-mfa-recovery-codes.md index 7b74479420..02d17649c8 100644 --- a/docs/examples/1.6.x/console-web/examples/users/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/console-web/examples/users/get-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/get-prefs.md b/docs/examples/1.6.x/console-web/examples/users/get-prefs.md index 882cbd6c95..b24f2bd3ae 100644 --- a/docs/examples/1.6.x/console-web/examples/users/get-prefs.md +++ b/docs/examples/1.6.x/console-web/examples/users/get-prefs.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/get-target.md b/docs/examples/1.6.x/console-web/examples/users/get-target.md index a6b8962246..cfa7d3d5cd 100644 --- a/docs/examples/1.6.x/console-web/examples/users/get-target.md +++ b/docs/examples/1.6.x/console-web/examples/users/get-target.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/get-usage.md b/docs/examples/1.6.x/console-web/examples/users/get-usage.md index 5b559158b3..bd87faf10f 100644 --- a/docs/examples/1.6.x/console-web/examples/users/get-usage.md +++ b/docs/examples/1.6.x/console-web/examples/users/get-usage.md @@ -1,7 +1,7 @@ import { Client, Users, UserUsageRange } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/get.md b/docs/examples/1.6.x/console-web/examples/users/get.md index 84f0f33207..77f5006890 100644 --- a/docs/examples/1.6.x/console-web/examples/users/get.md +++ b/docs/examples/1.6.x/console-web/examples/users/get.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/list-identities.md b/docs/examples/1.6.x/console-web/examples/users/list-identities.md index 0836749535..34b92900a7 100644 --- a/docs/examples/1.6.x/console-web/examples/users/list-identities.md +++ b/docs/examples/1.6.x/console-web/examples/users/list-identities.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/list-logs.md b/docs/examples/1.6.x/console-web/examples/users/list-logs.md index 246cf260ce..85e6cf5071 100644 --- a/docs/examples/1.6.x/console-web/examples/users/list-logs.md +++ b/docs/examples/1.6.x/console-web/examples/users/list-logs.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/list-memberships.md b/docs/examples/1.6.x/console-web/examples/users/list-memberships.md index 9818942754..cbddc194c5 100644 --- a/docs/examples/1.6.x/console-web/examples/users/list-memberships.md +++ b/docs/examples/1.6.x/console-web/examples/users/list-memberships.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/list-mfa-factors.md b/docs/examples/1.6.x/console-web/examples/users/list-mfa-factors.md index 13d5571554..fe1dd23594 100644 --- a/docs/examples/1.6.x/console-web/examples/users/list-mfa-factors.md +++ b/docs/examples/1.6.x/console-web/examples/users/list-mfa-factors.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/list-sessions.md b/docs/examples/1.6.x/console-web/examples/users/list-sessions.md index b99d79b745..e3d5d6e51d 100644 --- a/docs/examples/1.6.x/console-web/examples/users/list-sessions.md +++ b/docs/examples/1.6.x/console-web/examples/users/list-sessions.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/list-targets.md b/docs/examples/1.6.x/console-web/examples/users/list-targets.md index 3374bf91c7..58f4079aee 100644 --- a/docs/examples/1.6.x/console-web/examples/users/list-targets.md +++ b/docs/examples/1.6.x/console-web/examples/users/list-targets.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/list.md b/docs/examples/1.6.x/console-web/examples/users/list.md index 0876ef3950..d2189b9c93 100644 --- a/docs/examples/1.6.x/console-web/examples/users/list.md +++ b/docs/examples/1.6.x/console-web/examples/users/list.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/update-email-verification.md b/docs/examples/1.6.x/console-web/examples/users/update-email-verification.md index 869424d51a..3fedd4b86f 100644 --- a/docs/examples/1.6.x/console-web/examples/users/update-email-verification.md +++ b/docs/examples/1.6.x/console-web/examples/users/update-email-verification.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/update-email.md b/docs/examples/1.6.x/console-web/examples/users/update-email.md index 2e47e0106d..9922376778 100644 --- a/docs/examples/1.6.x/console-web/examples/users/update-email.md +++ b/docs/examples/1.6.x/console-web/examples/users/update-email.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/update-labels.md b/docs/examples/1.6.x/console-web/examples/users/update-labels.md index 5c8cddafaf..4fc268fc3c 100644 --- a/docs/examples/1.6.x/console-web/examples/users/update-labels.md +++ b/docs/examples/1.6.x/console-web/examples/users/update-labels.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/update-mfa-recovery-codes.md b/docs/examples/1.6.x/console-web/examples/users/update-mfa-recovery-codes.md index 2705a2acd9..041cd9098b 100644 --- a/docs/examples/1.6.x/console-web/examples/users/update-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/console-web/examples/users/update-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/update-mfa.md b/docs/examples/1.6.x/console-web/examples/users/update-mfa.md index 50a8a1d366..af710ecd48 100644 --- a/docs/examples/1.6.x/console-web/examples/users/update-mfa.md +++ b/docs/examples/1.6.x/console-web/examples/users/update-mfa.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/update-name.md b/docs/examples/1.6.x/console-web/examples/users/update-name.md index e615c4695e..b57cb33730 100644 --- a/docs/examples/1.6.x/console-web/examples/users/update-name.md +++ b/docs/examples/1.6.x/console-web/examples/users/update-name.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/update-password.md b/docs/examples/1.6.x/console-web/examples/users/update-password.md index 3e8c33cb5b..e9c7f9b51d 100644 --- a/docs/examples/1.6.x/console-web/examples/users/update-password.md +++ b/docs/examples/1.6.x/console-web/examples/users/update-password.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/update-phone-verification.md b/docs/examples/1.6.x/console-web/examples/users/update-phone-verification.md index 87cc8ee168..a29e38591c 100644 --- a/docs/examples/1.6.x/console-web/examples/users/update-phone-verification.md +++ b/docs/examples/1.6.x/console-web/examples/users/update-phone-verification.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/update-phone.md b/docs/examples/1.6.x/console-web/examples/users/update-phone.md index 6544853533..a87780161b 100644 --- a/docs/examples/1.6.x/console-web/examples/users/update-phone.md +++ b/docs/examples/1.6.x/console-web/examples/users/update-phone.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/update-prefs.md b/docs/examples/1.6.x/console-web/examples/users/update-prefs.md index d65a5e736e..7d9993bbb1 100644 --- a/docs/examples/1.6.x/console-web/examples/users/update-prefs.md +++ b/docs/examples/1.6.x/console-web/examples/users/update-prefs.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/update-status.md b/docs/examples/1.6.x/console-web/examples/users/update-status.md index 4e61a50cf5..5e823e7a48 100644 --- a/docs/examples/1.6.x/console-web/examples/users/update-status.md +++ b/docs/examples/1.6.x/console-web/examples/users/update-status.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/users/update-target.md b/docs/examples/1.6.x/console-web/examples/users/update-target.md index 2872b9a57f..ed33fe9bb0 100644 --- a/docs/examples/1.6.x/console-web/examples/users/update-target.md +++ b/docs/examples/1.6.x/console-web/examples/users/update-target.md @@ -1,7 +1,7 @@ import { Client, Users } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const users = new Users(client); diff --git a/docs/examples/1.6.x/console-web/examples/vcs/create-repository-detection.md b/docs/examples/1.6.x/console-web/examples/vcs/create-repository-detection.md index 4f269bf1a7..e9fa0fa450 100644 --- a/docs/examples/1.6.x/console-web/examples/vcs/create-repository-detection.md +++ b/docs/examples/1.6.x/console-web/examples/vcs/create-repository-detection.md @@ -1,7 +1,7 @@ import { Client, Vcs } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const vcs = new Vcs(client); diff --git a/docs/examples/1.6.x/console-web/examples/vcs/create-repository.md b/docs/examples/1.6.x/console-web/examples/vcs/create-repository.md index d48e174eac..1d08ac5b09 100644 --- a/docs/examples/1.6.x/console-web/examples/vcs/create-repository.md +++ b/docs/examples/1.6.x/console-web/examples/vcs/create-repository.md @@ -1,7 +1,7 @@ import { Client, Vcs } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const vcs = new Vcs(client); diff --git a/docs/examples/1.6.x/console-web/examples/vcs/delete-installation.md b/docs/examples/1.6.x/console-web/examples/vcs/delete-installation.md index 0f49408ecb..3f760c09b6 100644 --- a/docs/examples/1.6.x/console-web/examples/vcs/delete-installation.md +++ b/docs/examples/1.6.x/console-web/examples/vcs/delete-installation.md @@ -1,7 +1,7 @@ import { Client, Vcs } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const vcs = new Vcs(client); diff --git a/docs/examples/1.6.x/console-web/examples/vcs/get-installation.md b/docs/examples/1.6.x/console-web/examples/vcs/get-installation.md index ec4b6d6729..4230f2bd9a 100644 --- a/docs/examples/1.6.x/console-web/examples/vcs/get-installation.md +++ b/docs/examples/1.6.x/console-web/examples/vcs/get-installation.md @@ -1,7 +1,7 @@ import { Client, Vcs } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const vcs = new Vcs(client); diff --git a/docs/examples/1.6.x/console-web/examples/vcs/get-repository-contents.md b/docs/examples/1.6.x/console-web/examples/vcs/get-repository-contents.md index 8a2fc294cc..8a04ba1ae4 100644 --- a/docs/examples/1.6.x/console-web/examples/vcs/get-repository-contents.md +++ b/docs/examples/1.6.x/console-web/examples/vcs/get-repository-contents.md @@ -1,7 +1,7 @@ import { Client, Vcs } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const vcs = new Vcs(client); diff --git a/docs/examples/1.6.x/console-web/examples/vcs/get-repository.md b/docs/examples/1.6.x/console-web/examples/vcs/get-repository.md index 2161d0c22b..516265a0c8 100644 --- a/docs/examples/1.6.x/console-web/examples/vcs/get-repository.md +++ b/docs/examples/1.6.x/console-web/examples/vcs/get-repository.md @@ -1,7 +1,7 @@ import { Client, Vcs } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const vcs = new Vcs(client); diff --git a/docs/examples/1.6.x/console-web/examples/vcs/list-installations.md b/docs/examples/1.6.x/console-web/examples/vcs/list-installations.md index 8213b83259..1ba1e64615 100644 --- a/docs/examples/1.6.x/console-web/examples/vcs/list-installations.md +++ b/docs/examples/1.6.x/console-web/examples/vcs/list-installations.md @@ -1,7 +1,7 @@ import { Client, Vcs } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const vcs = new Vcs(client); diff --git a/docs/examples/1.6.x/console-web/examples/vcs/list-repositories.md b/docs/examples/1.6.x/console-web/examples/vcs/list-repositories.md index e69f9eeb75..533bd8d0fb 100644 --- a/docs/examples/1.6.x/console-web/examples/vcs/list-repositories.md +++ b/docs/examples/1.6.x/console-web/examples/vcs/list-repositories.md @@ -1,7 +1,7 @@ import { Client, Vcs } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const vcs = new Vcs(client); diff --git a/docs/examples/1.6.x/console-web/examples/vcs/list-repository-branches.md b/docs/examples/1.6.x/console-web/examples/vcs/list-repository-branches.md index 4d3ab49912..ba6b86a053 100644 --- a/docs/examples/1.6.x/console-web/examples/vcs/list-repository-branches.md +++ b/docs/examples/1.6.x/console-web/examples/vcs/list-repository-branches.md @@ -1,7 +1,7 @@ import { Client, Vcs } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const vcs = new Vcs(client); diff --git a/docs/examples/1.6.x/console-web/examples/vcs/update-external-deployments.md b/docs/examples/1.6.x/console-web/examples/vcs/update-external-deployments.md index 8ad52a64dc..31425cb883 100644 --- a/docs/examples/1.6.x/console-web/examples/vcs/update-external-deployments.md +++ b/docs/examples/1.6.x/console-web/examples/vcs/update-external-deployments.md @@ -1,7 +1,7 @@ import { Client, Vcs } from "@appwrite.io/console"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const vcs = new Vcs(client); diff --git a/docs/examples/1.6.x/server-dart/examples/account/create-anonymous-session.md b/docs/examples/1.6.x/server-dart/examples/account/create-anonymous-session.md index 2363017b6e..7b1cc08304 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/create-anonymous-session.md +++ b/docs/examples/1.6.x/server-dart/examples/account/create-anonymous-session.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/server-dart/examples/account/create-email-password-session.md b/docs/examples/1.6.x/server-dart/examples/account/create-email-password-session.md index bd423de944..2305367d94 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/create-email-password-session.md +++ b/docs/examples/1.6.x/server-dart/examples/account/create-email-password-session.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/server-dart/examples/account/create-email-token.md b/docs/examples/1.6.x/server-dart/examples/account/create-email-token.md index b57a5f0641..e9696f92bf 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/create-email-token.md +++ b/docs/examples/1.6.x/server-dart/examples/account/create-email-token.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/server-dart/examples/account/create-j-w-t.md b/docs/examples/1.6.x/server-dart/examples/account/create-j-w-t.md index 205e244917..4288c71ce1 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/create-j-w-t.md +++ b/docs/examples/1.6.x/server-dart/examples/account/create-j-w-t.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/server-dart/examples/account/create-magic-u-r-l-token.md b/docs/examples/1.6.x/server-dart/examples/account/create-magic-u-r-l-token.md index 3c071b825e..791b9cbd4f 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.6.x/server-dart/examples/account/create-magic-u-r-l-token.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/server-dart/examples/account/create-mfa-authenticator.md b/docs/examples/1.6.x/server-dart/examples/account/create-mfa-authenticator.md index 38ffb3630c..87797fa645 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/create-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-dart/examples/account/create-mfa-authenticator.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/account/create-mfa-challenge.md b/docs/examples/1.6.x/server-dart/examples/account/create-mfa-challenge.md index 5578e32fcb..62f3eaf2c2 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.6.x/server-dart/examples/account/create-mfa-challenge.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/server-dart/examples/account/create-mfa-recovery-codes.md b/docs/examples/1.6.x/server-dart/examples/account/create-mfa-recovery-codes.md index d89ccd1d28..5ebe0e9e92 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-dart/examples/account/create-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/account/create-o-auth2token.md b/docs/examples/1.6.x/server-dart/examples/account/create-o-auth2token.md index a23fa7231b..4a26a9fd7f 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/create-o-auth2token.md +++ b/docs/examples/1.6.x/server-dart/examples/account/create-o-auth2token.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/server-dart/examples/account/create-phone-token.md b/docs/examples/1.6.x/server-dart/examples/account/create-phone-token.md index e59ad503e1..7011b3cf48 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/create-phone-token.md +++ b/docs/examples/1.6.x/server-dart/examples/account/create-phone-token.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/server-dart/examples/account/create-phone-verification.md b/docs/examples/1.6.x/server-dart/examples/account/create-phone-verification.md index a47ad80f92..8616834b27 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/create-phone-verification.md +++ b/docs/examples/1.6.x/server-dart/examples/account/create-phone-verification.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/account/create-recovery.md b/docs/examples/1.6.x/server-dart/examples/account/create-recovery.md index 0479b71c2d..f56d4227a9 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/create-recovery.md +++ b/docs/examples/1.6.x/server-dart/examples/account/create-recovery.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/account/create-session.md b/docs/examples/1.6.x/server-dart/examples/account/create-session.md index 209f5502d5..1e56fc71bb 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/create-session.md +++ b/docs/examples/1.6.x/server-dart/examples/account/create-session.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/server-dart/examples/account/create-verification.md b/docs/examples/1.6.x/server-dart/examples/account/create-verification.md index 414a193aa3..150833cd6b 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/create-verification.md +++ b/docs/examples/1.6.x/server-dart/examples/account/create-verification.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/account/create.md b/docs/examples/1.6.x/server-dart/examples/account/create.md index 59523e6201..f0384f46f4 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/create.md +++ b/docs/examples/1.6.x/server-dart/examples/account/create.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/server-dart/examples/account/delete-identity.md b/docs/examples/1.6.x/server-dart/examples/account/delete-identity.md index a0db3ccc70..124e6adad4 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/delete-identity.md +++ b/docs/examples/1.6.x/server-dart/examples/account/delete-identity.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/account/delete-mfa-authenticator.md b/docs/examples/1.6.x/server-dart/examples/account/delete-mfa-authenticator.md index 27a5883ca8..efd5263e22 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-dart/examples/account/delete-mfa-authenticator.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/account/delete-session.md b/docs/examples/1.6.x/server-dart/examples/account/delete-session.md index ffbe416076..d02808bbe9 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/delete-session.md +++ b/docs/examples/1.6.x/server-dart/examples/account/delete-session.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/account/delete-sessions.md b/docs/examples/1.6.x/server-dart/examples/account/delete-sessions.md index ae93cf9b59..9406ca39d0 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/delete-sessions.md +++ b/docs/examples/1.6.x/server-dart/examples/account/delete-sessions.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.6.x/server-dart/examples/account/get-mfa-recovery-codes.md index 2b2018315e..b073d40238 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-dart/examples/account/get-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/account/get-prefs.md b/docs/examples/1.6.x/server-dart/examples/account/get-prefs.md index 355075c85c..94e10db1b6 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/get-prefs.md +++ b/docs/examples/1.6.x/server-dart/examples/account/get-prefs.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/account/get-session.md b/docs/examples/1.6.x/server-dart/examples/account/get-session.md index c4b4acedb6..3a81954bd9 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/get-session.md +++ b/docs/examples/1.6.x/server-dart/examples/account/get-session.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/account/get.md b/docs/examples/1.6.x/server-dart/examples/account/get.md index 64c923ce0d..76a139a46a 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/get.md +++ b/docs/examples/1.6.x/server-dart/examples/account/get.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/account/list-identities.md b/docs/examples/1.6.x/server-dart/examples/account/list-identities.md index 289963709b..a0b67851c2 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/list-identities.md +++ b/docs/examples/1.6.x/server-dart/examples/account/list-identities.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/account/list-logs.md b/docs/examples/1.6.x/server-dart/examples/account/list-logs.md index 78f527ca99..d3c50af1d5 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/list-logs.md +++ b/docs/examples/1.6.x/server-dart/examples/account/list-logs.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/account/list-mfa-factors.md b/docs/examples/1.6.x/server-dart/examples/account/list-mfa-factors.md index 1140e5c0e0..32b269fbd7 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/list-mfa-factors.md +++ b/docs/examples/1.6.x/server-dart/examples/account/list-mfa-factors.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/account/list-sessions.md b/docs/examples/1.6.x/server-dart/examples/account/list-sessions.md index 0a512d439d..73cf462af6 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/list-sessions.md +++ b/docs/examples/1.6.x/server-dart/examples/account/list-sessions.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/account/update-email.md b/docs/examples/1.6.x/server-dart/examples/account/update-email.md index 91c701f8af..cf6a56edcc 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/update-email.md +++ b/docs/examples/1.6.x/server-dart/examples/account/update-email.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/account/update-m-f-a.md b/docs/examples/1.6.x/server-dart/examples/account/update-m-f-a.md index f029979ea9..947d862e46 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/update-m-f-a.md +++ b/docs/examples/1.6.x/server-dart/examples/account/update-m-f-a.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.6.x/server-dart/examples/account/update-magic-u-r-l-session.md index e9f24349c1..475e464ff0 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.6.x/server-dart/examples/account/update-magic-u-r-l-session.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/server-dart/examples/account/update-mfa-authenticator.md b/docs/examples/1.6.x/server-dart/examples/account/update-mfa-authenticator.md index 3f5d6997e7..5a0f98f578 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/update-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-dart/examples/account/update-mfa-authenticator.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/account/update-mfa-challenge.md b/docs/examples/1.6.x/server-dart/examples/account/update-mfa-challenge.md index 2843d2f1b4..749c4cd6a0 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.6.x/server-dart/examples/account/update-mfa-challenge.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/account/update-mfa-recovery-codes.md b/docs/examples/1.6.x/server-dart/examples/account/update-mfa-recovery-codes.md index 0ee6e92d61..7e274f0ead 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-dart/examples/account/update-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/account/update-name.md b/docs/examples/1.6.x/server-dart/examples/account/update-name.md index 4eb46121bc..82cc3358a1 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/update-name.md +++ b/docs/examples/1.6.x/server-dart/examples/account/update-name.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/account/update-password.md b/docs/examples/1.6.x/server-dart/examples/account/update-password.md index d379268e39..27d360ba51 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/update-password.md +++ b/docs/examples/1.6.x/server-dart/examples/account/update-password.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/account/update-phone-session.md b/docs/examples/1.6.x/server-dart/examples/account/update-phone-session.md index 0648c63712..046dd0a701 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/update-phone-session.md +++ b/docs/examples/1.6.x/server-dart/examples/account/update-phone-session.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID Account account = Account(client); diff --git a/docs/examples/1.6.x/server-dart/examples/account/update-phone-verification.md b/docs/examples/1.6.x/server-dart/examples/account/update-phone-verification.md index bb7443dda2..f4b0c6fe6a 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/update-phone-verification.md +++ b/docs/examples/1.6.x/server-dart/examples/account/update-phone-verification.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/account/update-phone.md b/docs/examples/1.6.x/server-dart/examples/account/update-phone.md index 996e057b62..d861561b60 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/update-phone.md +++ b/docs/examples/1.6.x/server-dart/examples/account/update-phone.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/account/update-prefs.md b/docs/examples/1.6.x/server-dart/examples/account/update-prefs.md index 1c555085b8..f4533cbea6 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/update-prefs.md +++ b/docs/examples/1.6.x/server-dart/examples/account/update-prefs.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/account/update-recovery.md b/docs/examples/1.6.x/server-dart/examples/account/update-recovery.md index 5c4c073551..162ad58ac9 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/update-recovery.md +++ b/docs/examples/1.6.x/server-dart/examples/account/update-recovery.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/account/update-session.md b/docs/examples/1.6.x/server-dart/examples/account/update-session.md index cb1930c134..a317a0840a 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/update-session.md +++ b/docs/examples/1.6.x/server-dart/examples/account/update-session.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/account/update-status.md b/docs/examples/1.6.x/server-dart/examples/account/update-status.md index 502522ce9a..2ee15d603c 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/update-status.md +++ b/docs/examples/1.6.x/server-dart/examples/account/update-status.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/account/update-verification.md b/docs/examples/1.6.x/server-dart/examples/account/update-verification.md index 1f0d0c1abb..61904fd3f0 100644 --- a/docs/examples/1.6.x/server-dart/examples/account/update-verification.md +++ b/docs/examples/1.6.x/server-dart/examples/account/update-verification.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/avatars/get-browser.md b/docs/examples/1.6.x/server-dart/examples/avatars/get-browser.md index ba298590a4..902c719af5 100644 --- a/docs/examples/1.6.x/server-dart/examples/avatars/get-browser.md +++ b/docs/examples/1.6.x/server-dart/examples/avatars/get-browser.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/avatars/get-credit-card.md b/docs/examples/1.6.x/server-dart/examples/avatars/get-credit-card.md index e8495823a2..b242d27123 100644 --- a/docs/examples/1.6.x/server-dart/examples/avatars/get-credit-card.md +++ b/docs/examples/1.6.x/server-dart/examples/avatars/get-credit-card.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/avatars/get-favicon.md b/docs/examples/1.6.x/server-dart/examples/avatars/get-favicon.md index d6d8c654b9..d4cd8eae83 100644 --- a/docs/examples/1.6.x/server-dart/examples/avatars/get-favicon.md +++ b/docs/examples/1.6.x/server-dart/examples/avatars/get-favicon.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/avatars/get-flag.md b/docs/examples/1.6.x/server-dart/examples/avatars/get-flag.md index cda8d0fdb6..5eaed135ae 100644 --- a/docs/examples/1.6.x/server-dart/examples/avatars/get-flag.md +++ b/docs/examples/1.6.x/server-dart/examples/avatars/get-flag.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/avatars/get-image.md b/docs/examples/1.6.x/server-dart/examples/avatars/get-image.md index da2541f37e..b6db1858c5 100644 --- a/docs/examples/1.6.x/server-dart/examples/avatars/get-image.md +++ b/docs/examples/1.6.x/server-dart/examples/avatars/get-image.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/avatars/get-initials.md b/docs/examples/1.6.x/server-dart/examples/avatars/get-initials.md index f1261d1c05..7dc0989b4d 100644 --- a/docs/examples/1.6.x/server-dart/examples/avatars/get-initials.md +++ b/docs/examples/1.6.x/server-dart/examples/avatars/get-initials.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/avatars/get-q-r.md b/docs/examples/1.6.x/server-dart/examples/avatars/get-q-r.md index 1a9e906ca4..f64fe8a4ff 100644 --- a/docs/examples/1.6.x/server-dart/examples/avatars/get-q-r.md +++ b/docs/examples/1.6.x/server-dart/examples/avatars/get-q-r.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/databases/create-boolean-attribute.md b/docs/examples/1.6.x/server-dart/examples/databases/create-boolean-attribute.md index 65537bab51..13ca992889 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/create-boolean-attribute.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/create-collection.md b/docs/examples/1.6.x/server-dart/examples/databases/create-collection.md index 8b01aaad43..61401761ec 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/create-collection.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/create-collection.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/create-datetime-attribute.md b/docs/examples/1.6.x/server-dart/examples/databases/create-datetime-attribute.md index 6a53b0457f..2591011423 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/create-datetime-attribute.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/create-document.md b/docs/examples/1.6.x/server-dart/examples/databases/create-document.md index 10382e3a78..1d58fc586c 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/create-document.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/create-document.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/databases/create-email-attribute.md b/docs/examples/1.6.x/server-dart/examples/databases/create-email-attribute.md index fe77148e99..216d020260 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/create-email-attribute.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/create-email-attribute.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/create-enum-attribute.md b/docs/examples/1.6.x/server-dart/examples/databases/create-enum-attribute.md index f0bdb6a67f..d45ca4476c 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/create-enum-attribute.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/create-float-attribute.md b/docs/examples/1.6.x/server-dart/examples/databases/create-float-attribute.md index 29568ca011..75d47f44ad 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/create-float-attribute.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/create-float-attribute.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/create-index.md b/docs/examples/1.6.x/server-dart/examples/databases/create-index.md index b7c0c04ba9..ff847a9493 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/create-index.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/create-index.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/create-integer-attribute.md b/docs/examples/1.6.x/server-dart/examples/databases/create-integer-attribute.md index 35b6085066..6511696f92 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/create-integer-attribute.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/create-ip-attribute.md b/docs/examples/1.6.x/server-dart/examples/databases/create-ip-attribute.md index a7c3116b77..10ddb47bdf 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/create-ip-attribute.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/create-relationship-attribute.md b/docs/examples/1.6.x/server-dart/examples/databases/create-relationship-attribute.md index 37ba8eb775..dcdf34fcb8 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/create-relationship-attribute.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/create-string-attribute.md b/docs/examples/1.6.x/server-dart/examples/databases/create-string-attribute.md index 974c7dadfa..8785ea7647 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/create-string-attribute.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/create-string-attribute.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/create-url-attribute.md b/docs/examples/1.6.x/server-dart/examples/databases/create-url-attribute.md index 034ee47dd9..9088f8dfeb 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/create-url-attribute.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/create-url-attribute.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/create.md b/docs/examples/1.6.x/server-dart/examples/databases/create.md index 199b982f31..a2e978bd30 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/create.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/create.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/delete-attribute.md b/docs/examples/1.6.x/server-dart/examples/databases/delete-attribute.md index f0bcf3b054..f9cbbd42ef 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/delete-attribute.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/delete-attribute.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/delete-collection.md b/docs/examples/1.6.x/server-dart/examples/databases/delete-collection.md index b97f27407a..919e17891b 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/delete-collection.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/delete-collection.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/delete-document.md b/docs/examples/1.6.x/server-dart/examples/databases/delete-document.md index 8934701751..dd04d89959 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/delete-document.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/delete-document.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/databases/delete-index.md b/docs/examples/1.6.x/server-dart/examples/databases/delete-index.md index 9f0e92f69e..f16c84b9a7 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/delete-index.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/delete-index.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/delete.md b/docs/examples/1.6.x/server-dart/examples/databases/delete.md index 0d4853d652..5e9042e542 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/delete.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/delete.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/get-attribute.md b/docs/examples/1.6.x/server-dart/examples/databases/get-attribute.md index 33e4a4a695..8329f8db05 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/get-attribute.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/get-attribute.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/get-collection.md b/docs/examples/1.6.x/server-dart/examples/databases/get-collection.md index 42dcea3423..b678420128 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/get-collection.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/get-collection.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/get-document.md b/docs/examples/1.6.x/server-dart/examples/databases/get-document.md index ecda80ef37..45745186e6 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/get-document.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/get-document.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/databases/get-index.md b/docs/examples/1.6.x/server-dart/examples/databases/get-index.md index 0bbf4f555b..848257960a 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/get-index.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/get-index.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/get.md b/docs/examples/1.6.x/server-dart/examples/databases/get.md index b2c0a0a2c7..28d3d2bd14 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/get.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/get.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/list-attributes.md b/docs/examples/1.6.x/server-dart/examples/databases/list-attributes.md index 4bacaa976a..64aaf331b8 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/list-attributes.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/list-attributes.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/list-collections.md b/docs/examples/1.6.x/server-dart/examples/databases/list-collections.md index e9bc510793..69c2a0fe61 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/list-collections.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/list-collections.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/list-documents.md b/docs/examples/1.6.x/server-dart/examples/databases/list-documents.md index 244d4a7d18..cdecc59e33 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/list-documents.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/list-documents.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/databases/list-indexes.md b/docs/examples/1.6.x/server-dart/examples/databases/list-indexes.md index e9534e7820..38b95d5d5b 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/list-indexes.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/list-indexes.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/list.md b/docs/examples/1.6.x/server-dart/examples/databases/list.md index 2678ede98f..2de4e97cf2 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/list.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/list.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/update-boolean-attribute.md b/docs/examples/1.6.x/server-dart/examples/databases/update-boolean-attribute.md index 489ce4099a..46e3ef4ce3 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/update-boolean-attribute.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/update-collection.md b/docs/examples/1.6.x/server-dart/examples/databases/update-collection.md index a8d1593c78..c3c565b231 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/update-collection.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/update-collection.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/update-datetime-attribute.md b/docs/examples/1.6.x/server-dart/examples/databases/update-datetime-attribute.md index 73f61e26d7..ddc8f26a70 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/update-datetime-attribute.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/update-document.md b/docs/examples/1.6.x/server-dart/examples/databases/update-document.md index c25b23f2b0..47a1867c10 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/update-document.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/update-document.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/databases/update-email-attribute.md b/docs/examples/1.6.x/server-dart/examples/databases/update-email-attribute.md index 37bcd4d7e7..ee0e09719e 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/update-email-attribute.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/update-email-attribute.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/update-enum-attribute.md b/docs/examples/1.6.x/server-dart/examples/databases/update-enum-attribute.md index f47078c891..61ef4d0835 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/update-enum-attribute.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/update-float-attribute.md b/docs/examples/1.6.x/server-dart/examples/databases/update-float-attribute.md index 8e023bc457..36f360eebc 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/update-float-attribute.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/update-float-attribute.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key @@ -12,8 +12,8 @@ AttributeFloat result = await databases.updateFloatAttribute( collectionId: '<COLLECTION_ID>', key: '', xrequired: false, - min: 0, - max: 0, xdefault: 0, + min: 0, // (optional) + max: 0, // (optional) newKey: '', // (optional) ); diff --git a/docs/examples/1.6.x/server-dart/examples/databases/update-integer-attribute.md b/docs/examples/1.6.x/server-dart/examples/databases/update-integer-attribute.md index 1dac743a27..9089cc8bf6 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/update-integer-attribute.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key @@ -12,8 +12,8 @@ AttributeInteger result = await databases.updateIntegerAttribute( collectionId: '<COLLECTION_ID>', key: '', xrequired: false, - min: 0, - max: 0, xdefault: 0, + min: 0, // (optional) + max: 0, // (optional) newKey: '', // (optional) ); diff --git a/docs/examples/1.6.x/server-dart/examples/databases/update-ip-attribute.md b/docs/examples/1.6.x/server-dart/examples/databases/update-ip-attribute.md index dc83bd0043..e698a59e3a 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/update-ip-attribute.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/update-relationship-attribute.md b/docs/examples/1.6.x/server-dart/examples/databases/update-relationship-attribute.md index 6d14f52d19..28aac9643f 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/update-relationship-attribute.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/update-string-attribute.md b/docs/examples/1.6.x/server-dart/examples/databases/update-string-attribute.md index f9498aa36b..7674f51c5b 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/update-string-attribute.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/update-string-attribute.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/update-url-attribute.md b/docs/examples/1.6.x/server-dart/examples/databases/update-url-attribute.md index 20c11fafc5..3aaa01b441 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/update-url-attribute.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/update-url-attribute.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/databases/update.md b/docs/examples/1.6.x/server-dart/examples/databases/update.md index 0139f280d1..a46f116389 100644 --- a/docs/examples/1.6.x/server-dart/examples/databases/update.md +++ b/docs/examples/1.6.x/server-dart/examples/databases/update.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/functions/create-build.md b/docs/examples/1.6.x/server-dart/examples/functions/create-build.md index 2835f8239f..eb7ae5d0de 100644 --- a/docs/examples/1.6.x/server-dart/examples/functions/create-build.md +++ b/docs/examples/1.6.x/server-dart/examples/functions/create-build.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/functions/create-deployment.md b/docs/examples/1.6.x/server-dart/examples/functions/create-deployment.md index 297bdc612a..f459b3dd89 100644 --- a/docs/examples/1.6.x/server-dart/examples/functions/create-deployment.md +++ b/docs/examples/1.6.x/server-dart/examples/functions/create-deployment.md @@ -2,7 +2,7 @@ import 'dart:io'; import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/functions/create-execution.md b/docs/examples/1.6.x/server-dart/examples/functions/create-execution.md index 2bf146e285..2ae64bce55 100644 --- a/docs/examples/1.6.x/server-dart/examples/functions/create-execution.md +++ b/docs/examples/1.6.x/server-dart/examples/functions/create-execution.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/functions/create-variable.md b/docs/examples/1.6.x/server-dart/examples/functions/create-variable.md index 5333f88dfe..b46e575210 100644 --- a/docs/examples/1.6.x/server-dart/examples/functions/create-variable.md +++ b/docs/examples/1.6.x/server-dart/examples/functions/create-variable.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/functions/create.md b/docs/examples/1.6.x/server-dart/examples/functions/create.md index b4283a9953..93c78a141e 100644 --- a/docs/examples/1.6.x/server-dart/examples/functions/create.md +++ b/docs/examples/1.6.x/server-dart/examples/functions/create.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/functions/delete-deployment.md b/docs/examples/1.6.x/server-dart/examples/functions/delete-deployment.md index e793812468..8e4167f756 100644 --- a/docs/examples/1.6.x/server-dart/examples/functions/delete-deployment.md +++ b/docs/examples/1.6.x/server-dart/examples/functions/delete-deployment.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/functions/delete-execution.md b/docs/examples/1.6.x/server-dart/examples/functions/delete-execution.md index a69267f6c4..d077bc9328 100644 --- a/docs/examples/1.6.x/server-dart/examples/functions/delete-execution.md +++ b/docs/examples/1.6.x/server-dart/examples/functions/delete-execution.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/functions/delete-variable.md b/docs/examples/1.6.x/server-dart/examples/functions/delete-variable.md index 1a52f9168a..d4b2832830 100644 --- a/docs/examples/1.6.x/server-dart/examples/functions/delete-variable.md +++ b/docs/examples/1.6.x/server-dart/examples/functions/delete-variable.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/functions/delete.md b/docs/examples/1.6.x/server-dart/examples/functions/delete.md index 9ee35f1a5f..38d360b764 100644 --- a/docs/examples/1.6.x/server-dart/examples/functions/delete.md +++ b/docs/examples/1.6.x/server-dart/examples/functions/delete.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/functions/get-deployment-download.md b/docs/examples/1.6.x/server-dart/examples/functions/get-deployment-download.md index bbf9561ed7..c1add89be1 100644 --- a/docs/examples/1.6.x/server-dart/examples/functions/get-deployment-download.md +++ b/docs/examples/1.6.x/server-dart/examples/functions/get-deployment-download.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/functions/get-deployment.md b/docs/examples/1.6.x/server-dart/examples/functions/get-deployment.md index e243802454..805ca0b634 100644 --- a/docs/examples/1.6.x/server-dart/examples/functions/get-deployment.md +++ b/docs/examples/1.6.x/server-dart/examples/functions/get-deployment.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/functions/get-execution.md b/docs/examples/1.6.x/server-dart/examples/functions/get-execution.md index 3ba1795f7a..e0026e0c4b 100644 --- a/docs/examples/1.6.x/server-dart/examples/functions/get-execution.md +++ b/docs/examples/1.6.x/server-dart/examples/functions/get-execution.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/functions/get-variable.md b/docs/examples/1.6.x/server-dart/examples/functions/get-variable.md index e9ba95912c..fe61cee587 100644 --- a/docs/examples/1.6.x/server-dart/examples/functions/get-variable.md +++ b/docs/examples/1.6.x/server-dart/examples/functions/get-variable.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/functions/get.md b/docs/examples/1.6.x/server-dart/examples/functions/get.md index e81ac8d1cc..c92a4f746c 100644 --- a/docs/examples/1.6.x/server-dart/examples/functions/get.md +++ b/docs/examples/1.6.x/server-dart/examples/functions/get.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/functions/list-deployments.md b/docs/examples/1.6.x/server-dart/examples/functions/list-deployments.md index c2db9a7699..d07d2b32f3 100644 --- a/docs/examples/1.6.x/server-dart/examples/functions/list-deployments.md +++ b/docs/examples/1.6.x/server-dart/examples/functions/list-deployments.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/functions/list-executions.md b/docs/examples/1.6.x/server-dart/examples/functions/list-executions.md index 573634e7b1..54f6673004 100644 --- a/docs/examples/1.6.x/server-dart/examples/functions/list-executions.md +++ b/docs/examples/1.6.x/server-dart/examples/functions/list-executions.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/functions/list-runtimes.md b/docs/examples/1.6.x/server-dart/examples/functions/list-runtimes.md index d2316a9613..a99f872b7e 100644 --- a/docs/examples/1.6.x/server-dart/examples/functions/list-runtimes.md +++ b/docs/examples/1.6.x/server-dart/examples/functions/list-runtimes.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/functions/list-specifications.md b/docs/examples/1.6.x/server-dart/examples/functions/list-specifications.md index 4a77316978..bec5d5e635 100644 --- a/docs/examples/1.6.x/server-dart/examples/functions/list-specifications.md +++ b/docs/examples/1.6.x/server-dart/examples/functions/list-specifications.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/functions/list-variables.md b/docs/examples/1.6.x/server-dart/examples/functions/list-variables.md index 6c882090b4..0fa3b002bf 100644 --- a/docs/examples/1.6.x/server-dart/examples/functions/list-variables.md +++ b/docs/examples/1.6.x/server-dart/examples/functions/list-variables.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/functions/list.md b/docs/examples/1.6.x/server-dart/examples/functions/list.md index 96516e7068..8eaeec0625 100644 --- a/docs/examples/1.6.x/server-dart/examples/functions/list.md +++ b/docs/examples/1.6.x/server-dart/examples/functions/list.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/functions/update-deployment-build.md b/docs/examples/1.6.x/server-dart/examples/functions/update-deployment-build.md index ecd4d37bac..5b547595fd 100644 --- a/docs/examples/1.6.x/server-dart/examples/functions/update-deployment-build.md +++ b/docs/examples/1.6.x/server-dart/examples/functions/update-deployment-build.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/functions/update-deployment.md b/docs/examples/1.6.x/server-dart/examples/functions/update-deployment.md index 61e4d22e95..59db36b64e 100644 --- a/docs/examples/1.6.x/server-dart/examples/functions/update-deployment.md +++ b/docs/examples/1.6.x/server-dart/examples/functions/update-deployment.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/functions/update-variable.md b/docs/examples/1.6.x/server-dart/examples/functions/update-variable.md index 570d4df3a0..df460fae10 100644 --- a/docs/examples/1.6.x/server-dart/examples/functions/update-variable.md +++ b/docs/examples/1.6.x/server-dart/examples/functions/update-variable.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/functions/update.md b/docs/examples/1.6.x/server-dart/examples/functions/update.md index 42aff7b823..ebe3be8cc6 100644 --- a/docs/examples/1.6.x/server-dart/examples/functions/update.md +++ b/docs/examples/1.6.x/server-dart/examples/functions/update.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/graphql/mutation.md b/docs/examples/1.6.x/server-dart/examples/graphql/mutation.md index 1eed406b60..a88749851c 100644 --- a/docs/examples/1.6.x/server-dart/examples/graphql/mutation.md +++ b/docs/examples/1.6.x/server-dart/examples/graphql/mutation.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/graphql/query.md b/docs/examples/1.6.x/server-dart/examples/graphql/query.md index 3e2700cd59..2dca8f2929 100644 --- a/docs/examples/1.6.x/server-dart/examples/graphql/query.md +++ b/docs/examples/1.6.x/server-dart/examples/graphql/query.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/health/get-antivirus.md b/docs/examples/1.6.x/server-dart/examples/health/get-antivirus.md index d492d0e33a..395d1f84d1 100644 --- a/docs/examples/1.6.x/server-dart/examples/health/get-antivirus.md +++ b/docs/examples/1.6.x/server-dart/examples/health/get-antivirus.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/health/get-cache.md b/docs/examples/1.6.x/server-dart/examples/health/get-cache.md index 9a3ccbd06c..6312e3cbe6 100644 --- a/docs/examples/1.6.x/server-dart/examples/health/get-cache.md +++ b/docs/examples/1.6.x/server-dart/examples/health/get-cache.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/health/get-certificate.md b/docs/examples/1.6.x/server-dart/examples/health/get-certificate.md index 2c1c60b7cb..eac30a6aef 100644 --- a/docs/examples/1.6.x/server-dart/examples/health/get-certificate.md +++ b/docs/examples/1.6.x/server-dart/examples/health/get-certificate.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/health/get-d-b.md b/docs/examples/1.6.x/server-dart/examples/health/get-d-b.md index 201f787f3f..25ad9607f5 100644 --- a/docs/examples/1.6.x/server-dart/examples/health/get-d-b.md +++ b/docs/examples/1.6.x/server-dart/examples/health/get-d-b.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/health/get-failed-jobs.md b/docs/examples/1.6.x/server-dart/examples/health/get-failed-jobs.md index 324a642013..6f80718f6b 100644 --- a/docs/examples/1.6.x/server-dart/examples/health/get-failed-jobs.md +++ b/docs/examples/1.6.x/server-dart/examples/health/get-failed-jobs.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/health/get-pub-sub.md b/docs/examples/1.6.x/server-dart/examples/health/get-pub-sub.md index dab221fb4f..d544fbfc40 100644 --- a/docs/examples/1.6.x/server-dart/examples/health/get-pub-sub.md +++ b/docs/examples/1.6.x/server-dart/examples/health/get-pub-sub.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/health/get-queue-builds.md b/docs/examples/1.6.x/server-dart/examples/health/get-queue-builds.md index 42b3913f1c..b48623ec18 100644 --- a/docs/examples/1.6.x/server-dart/examples/health/get-queue-builds.md +++ b/docs/examples/1.6.x/server-dart/examples/health/get-queue-builds.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/health/get-queue-certificates.md b/docs/examples/1.6.x/server-dart/examples/health/get-queue-certificates.md index bdd2913b51..d72ac97b14 100644 --- a/docs/examples/1.6.x/server-dart/examples/health/get-queue-certificates.md +++ b/docs/examples/1.6.x/server-dart/examples/health/get-queue-certificates.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/health/get-queue-databases.md b/docs/examples/1.6.x/server-dart/examples/health/get-queue-databases.md index 66f5822737..b9d8e8bc66 100644 --- a/docs/examples/1.6.x/server-dart/examples/health/get-queue-databases.md +++ b/docs/examples/1.6.x/server-dart/examples/health/get-queue-databases.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/health/get-queue-deletes.md b/docs/examples/1.6.x/server-dart/examples/health/get-queue-deletes.md index 1b3666d6d1..3074cbb8ab 100644 --- a/docs/examples/1.6.x/server-dart/examples/health/get-queue-deletes.md +++ b/docs/examples/1.6.x/server-dart/examples/health/get-queue-deletes.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/health/get-queue-functions.md b/docs/examples/1.6.x/server-dart/examples/health/get-queue-functions.md index 836891002c..727fd239cc 100644 --- a/docs/examples/1.6.x/server-dart/examples/health/get-queue-functions.md +++ b/docs/examples/1.6.x/server-dart/examples/health/get-queue-functions.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/health/get-queue-logs.md b/docs/examples/1.6.x/server-dart/examples/health/get-queue-logs.md index 074d1a823e..32d3e3bb7b 100644 --- a/docs/examples/1.6.x/server-dart/examples/health/get-queue-logs.md +++ b/docs/examples/1.6.x/server-dart/examples/health/get-queue-logs.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/health/get-queue-mails.md b/docs/examples/1.6.x/server-dart/examples/health/get-queue-mails.md index 5960e94456..93ec993845 100644 --- a/docs/examples/1.6.x/server-dart/examples/health/get-queue-mails.md +++ b/docs/examples/1.6.x/server-dart/examples/health/get-queue-mails.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/health/get-queue-messaging.md b/docs/examples/1.6.x/server-dart/examples/health/get-queue-messaging.md index 9b287116bc..4ffd769d3c 100644 --- a/docs/examples/1.6.x/server-dart/examples/health/get-queue-messaging.md +++ b/docs/examples/1.6.x/server-dart/examples/health/get-queue-messaging.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/health/get-queue-migrations.md b/docs/examples/1.6.x/server-dart/examples/health/get-queue-migrations.md index 80ad6d2577..fab19875e5 100644 --- a/docs/examples/1.6.x/server-dart/examples/health/get-queue-migrations.md +++ b/docs/examples/1.6.x/server-dart/examples/health/get-queue-migrations.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/health/get-queue-stats-resources.md b/docs/examples/1.6.x/server-dart/examples/health/get-queue-stats-resources.md new file mode 100644 index 0000000000..89a3d03179 --- /dev/null +++ b/docs/examples/1.6.x/server-dart/examples/health/get-queue-stats-resources.md @@ -0,0 +1,12 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key + +Health health = Health(client); + +HealthQueue result = await health.getQueueStatsResources( + threshold: 0, // (optional) +); diff --git a/docs/examples/1.6.x/server-dart/examples/health/get-queue-usage-dump.md b/docs/examples/1.6.x/server-dart/examples/health/get-queue-usage-dump.md index 8c01b68c1f..a5be1c9264 100644 --- a/docs/examples/1.6.x/server-dart/examples/health/get-queue-usage-dump.md +++ b/docs/examples/1.6.x/server-dart/examples/health/get-queue-usage-dump.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/health/get-queue-usage.md b/docs/examples/1.6.x/server-dart/examples/health/get-queue-usage.md index a8990b1dcb..473dcd15ee 100644 --- a/docs/examples/1.6.x/server-dart/examples/health/get-queue-usage.md +++ b/docs/examples/1.6.x/server-dart/examples/health/get-queue-usage.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/health/get-queue-webhooks.md b/docs/examples/1.6.x/server-dart/examples/health/get-queue-webhooks.md index 10e5787ea7..523c1007f5 100644 --- a/docs/examples/1.6.x/server-dart/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.6.x/server-dart/examples/health/get-queue-webhooks.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/health/get-queue.md b/docs/examples/1.6.x/server-dart/examples/health/get-queue.md index c68e15ef76..3ba7d40c0e 100644 --- a/docs/examples/1.6.x/server-dart/examples/health/get-queue.md +++ b/docs/examples/1.6.x/server-dart/examples/health/get-queue.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/health/get-storage-local.md b/docs/examples/1.6.x/server-dart/examples/health/get-storage-local.md index 34b8f7e3c1..c33cf555f3 100644 --- a/docs/examples/1.6.x/server-dart/examples/health/get-storage-local.md +++ b/docs/examples/1.6.x/server-dart/examples/health/get-storage-local.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/health/get-storage.md b/docs/examples/1.6.x/server-dart/examples/health/get-storage.md index d3745bca3c..cb6c572154 100644 --- a/docs/examples/1.6.x/server-dart/examples/health/get-storage.md +++ b/docs/examples/1.6.x/server-dart/examples/health/get-storage.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/health/get-time.md b/docs/examples/1.6.x/server-dart/examples/health/get-time.md index 539e098465..f4439957d9 100644 --- a/docs/examples/1.6.x/server-dart/examples/health/get-time.md +++ b/docs/examples/1.6.x/server-dart/examples/health/get-time.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/health/get.md b/docs/examples/1.6.x/server-dart/examples/health/get.md index 6286018d89..3134490848 100644 --- a/docs/examples/1.6.x/server-dart/examples/health/get.md +++ b/docs/examples/1.6.x/server-dart/examples/health/get.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/locale/get.md b/docs/examples/1.6.x/server-dart/examples/locale/get.md index b5b6878b4c..dec6f068c6 100644 --- a/docs/examples/1.6.x/server-dart/examples/locale/get.md +++ b/docs/examples/1.6.x/server-dart/examples/locale/get.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/locale/list-codes.md b/docs/examples/1.6.x/server-dart/examples/locale/list-codes.md index 0b37c79f51..9f9eac9f29 100644 --- a/docs/examples/1.6.x/server-dart/examples/locale/list-codes.md +++ b/docs/examples/1.6.x/server-dart/examples/locale/list-codes.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/locale/list-continents.md b/docs/examples/1.6.x/server-dart/examples/locale/list-continents.md index 9c8fb6d206..276738eac7 100644 --- a/docs/examples/1.6.x/server-dart/examples/locale/list-continents.md +++ b/docs/examples/1.6.x/server-dart/examples/locale/list-continents.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/locale/list-countries-e-u.md b/docs/examples/1.6.x/server-dart/examples/locale/list-countries-e-u.md index e114831eba..59596c624c 100644 --- a/docs/examples/1.6.x/server-dart/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.6.x/server-dart/examples/locale/list-countries-e-u.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/locale/list-countries-phones.md b/docs/examples/1.6.x/server-dart/examples/locale/list-countries-phones.md index 6f73ed3704..2a2d32eaca 100644 --- a/docs/examples/1.6.x/server-dart/examples/locale/list-countries-phones.md +++ b/docs/examples/1.6.x/server-dart/examples/locale/list-countries-phones.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/locale/list-countries.md b/docs/examples/1.6.x/server-dart/examples/locale/list-countries.md index 404b9a12a7..6b8343c6b3 100644 --- a/docs/examples/1.6.x/server-dart/examples/locale/list-countries.md +++ b/docs/examples/1.6.x/server-dart/examples/locale/list-countries.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/locale/list-currencies.md b/docs/examples/1.6.x/server-dart/examples/locale/list-currencies.md index 8e74090bdf..48247d98fe 100644 --- a/docs/examples/1.6.x/server-dart/examples/locale/list-currencies.md +++ b/docs/examples/1.6.x/server-dart/examples/locale/list-currencies.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/locale/list-languages.md b/docs/examples/1.6.x/server-dart/examples/locale/list-languages.md index 3a2d54b609..2376f18917 100644 --- a/docs/examples/1.6.x/server-dart/examples/locale/list-languages.md +++ b/docs/examples/1.6.x/server-dart/examples/locale/list-languages.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/create-apns-provider.md b/docs/examples/1.6.x/server-dart/examples/messaging/create-apns-provider.md index fc7c30efda..82c1eb5da6 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/create-apns-provider.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/create-apns-provider.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/create-email.md b/docs/examples/1.6.x/server-dart/examples/messaging/create-email.md index de06809fb0..78c695c7ed 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/create-email.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/create-email.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/create-fcm-provider.md b/docs/examples/1.6.x/server-dart/examples/messaging/create-fcm-provider.md index 480a6ed578..25c2cb8cfa 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/create-fcm-provider.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/create-fcm-provider.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/create-mailgun-provider.md b/docs/examples/1.6.x/server-dart/examples/messaging/create-mailgun-provider.md index 6617ff8c1d..10d803d624 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/create-mailgun-provider.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/create-mailgun-provider.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/create-msg91provider.md b/docs/examples/1.6.x/server-dart/examples/messaging/create-msg91provider.md index 785c55ce4a..b283b75325 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/create-msg91provider.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/create-msg91provider.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/create-push.md b/docs/examples/1.6.x/server-dart/examples/messaging/create-push.md index e496de9d27..58d82c7a0a 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/create-push.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/create-push.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/create-sendgrid-provider.md b/docs/examples/1.6.x/server-dart/examples/messaging/create-sendgrid-provider.md index 2f6d51d2fb..e759a26094 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/create-sendgrid-provider.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/create-sendgrid-provider.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/create-sms.md b/docs/examples/1.6.x/server-dart/examples/messaging/create-sms.md index 8d31dc630d..04a715870f 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/create-sms.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/create-sms.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/create-smtp-provider.md b/docs/examples/1.6.x/server-dart/examples/messaging/create-smtp-provider.md index 352369a8bb..6201987fbb 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/create-smtp-provider.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/create-smtp-provider.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/create-subscriber.md b/docs/examples/1.6.x/server-dart/examples/messaging/create-subscriber.md index 5fdd4c8404..5fd4859fb9 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/create-subscriber.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/create-subscriber.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setJWT('<YOUR_JWT>'); // Your secret JSON Web Token diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/create-telesign-provider.md b/docs/examples/1.6.x/server-dart/examples/messaging/create-telesign-provider.md index 4fef631278..5417b951dd 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/create-telesign-provider.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/create-telesign-provider.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/create-textmagic-provider.md b/docs/examples/1.6.x/server-dart/examples/messaging/create-textmagic-provider.md index b7b456de72..4cf6463b6e 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/create-textmagic-provider.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/create-textmagic-provider.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/create-topic.md b/docs/examples/1.6.x/server-dart/examples/messaging/create-topic.md index 0e83103213..67e47412a1 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/create-topic.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/create-topic.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/create-twilio-provider.md b/docs/examples/1.6.x/server-dart/examples/messaging/create-twilio-provider.md index 1d9e4f44b0..8c3370baa7 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/create-twilio-provider.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/create-twilio-provider.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/create-vonage-provider.md b/docs/examples/1.6.x/server-dart/examples/messaging/create-vonage-provider.md index 2bbad6591a..d625f38230 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/create-vonage-provider.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/create-vonage-provider.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/delete-provider.md b/docs/examples/1.6.x/server-dart/examples/messaging/delete-provider.md index 189cdb310a..361bacc2c3 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/delete-provider.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/delete-provider.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/delete-subscriber.md b/docs/examples/1.6.x/server-dart/examples/messaging/delete-subscriber.md index 7cfbdae02c..e4a044c280 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/delete-subscriber.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/delete-subscriber.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setJWT('<YOUR_JWT>'); // Your secret JSON Web Token diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/delete-topic.md b/docs/examples/1.6.x/server-dart/examples/messaging/delete-topic.md index a64056fc0f..59c5592c93 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/delete-topic.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/delete-topic.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/delete.md b/docs/examples/1.6.x/server-dart/examples/messaging/delete.md index 0cbc89ab22..14b680ae99 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/delete.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/delete.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/get-message.md b/docs/examples/1.6.x/server-dart/examples/messaging/get-message.md index b95babd1f5..ccc98961e7 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/get-message.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/get-message.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/get-provider.md b/docs/examples/1.6.x/server-dart/examples/messaging/get-provider.md index 1ba21b81fb..a82ef15775 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/get-provider.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/get-provider.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/get-subscriber.md b/docs/examples/1.6.x/server-dart/examples/messaging/get-subscriber.md index 9a6711ba8d..03f78b7fa4 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/get-subscriber.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/get-subscriber.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/get-topic.md b/docs/examples/1.6.x/server-dart/examples/messaging/get-topic.md index 2418390f2f..204f875793 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/get-topic.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/get-topic.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/list-message-logs.md b/docs/examples/1.6.x/server-dart/examples/messaging/list-message-logs.md index 09c669dd84..1d2b1805b4 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/list-message-logs.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/list-message-logs.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/list-messages.md b/docs/examples/1.6.x/server-dart/examples/messaging/list-messages.md index e58ab7f787..2c0a142ee8 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/list-messages.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/list-messages.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/list-provider-logs.md b/docs/examples/1.6.x/server-dart/examples/messaging/list-provider-logs.md index fb8b629675..9f40a5fa49 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/list-provider-logs.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/list-provider-logs.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/list-providers.md b/docs/examples/1.6.x/server-dart/examples/messaging/list-providers.md index 5ff2ac533f..df7a8a022c 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/list-providers.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/list-providers.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/list-subscriber-logs.md b/docs/examples/1.6.x/server-dart/examples/messaging/list-subscriber-logs.md index 8ccbe9c8c8..3a9593ca89 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/list-subscriber-logs.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/list-subscriber-logs.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/list-subscribers.md b/docs/examples/1.6.x/server-dart/examples/messaging/list-subscribers.md index 81db0613d9..19d907cd9a 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/list-subscribers.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/list-subscribers.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/list-targets.md b/docs/examples/1.6.x/server-dart/examples/messaging/list-targets.md index af02c235df..5a327773c2 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/list-targets.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/list-targets.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/list-topic-logs.md b/docs/examples/1.6.x/server-dart/examples/messaging/list-topic-logs.md index afb80a24ba..0ab02eaa74 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/list-topic-logs.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/list-topic-logs.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/list-topics.md b/docs/examples/1.6.x/server-dart/examples/messaging/list-topics.md index 1516056ce1..c5fdb4901f 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/list-topics.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/list-topics.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/update-apns-provider.md b/docs/examples/1.6.x/server-dart/examples/messaging/update-apns-provider.md index 72eb874458..edc0a1f769 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/update-apns-provider.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/update-apns-provider.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/update-email.md b/docs/examples/1.6.x/server-dart/examples/messaging/update-email.md index a53209abfd..b725cee5f0 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/update-email.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/update-email.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/update-fcm-provider.md b/docs/examples/1.6.x/server-dart/examples/messaging/update-fcm-provider.md index 4b2bf6bd19..1e2d8a8ca2 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/update-fcm-provider.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/update-fcm-provider.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/update-mailgun-provider.md b/docs/examples/1.6.x/server-dart/examples/messaging/update-mailgun-provider.md index 6acc4950d6..c042a6faaa 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/update-mailgun-provider.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/update-mailgun-provider.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/update-msg91provider.md b/docs/examples/1.6.x/server-dart/examples/messaging/update-msg91provider.md index 10a8aa1655..24290e958f 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/update-msg91provider.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/update-msg91provider.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/update-push.md b/docs/examples/1.6.x/server-dart/examples/messaging/update-push.md index f5d75332e2..f7cc117b64 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/update-push.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/update-push.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/update-sendgrid-provider.md b/docs/examples/1.6.x/server-dart/examples/messaging/update-sendgrid-provider.md index ce00ee26e3..53b8c33df4 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/update-sendgrid-provider.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/update-sendgrid-provider.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/update-sms.md b/docs/examples/1.6.x/server-dart/examples/messaging/update-sms.md index 795d03e9eb..f4356deed3 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/update-sms.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/update-sms.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/update-smtp-provider.md b/docs/examples/1.6.x/server-dart/examples/messaging/update-smtp-provider.md index c85e62ee93..16530c01c8 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/update-smtp-provider.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/update-smtp-provider.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/update-telesign-provider.md b/docs/examples/1.6.x/server-dart/examples/messaging/update-telesign-provider.md index d313321ad0..4bf76fbcfe 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/update-telesign-provider.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/update-telesign-provider.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/update-textmagic-provider.md b/docs/examples/1.6.x/server-dart/examples/messaging/update-textmagic-provider.md index dc966eccec..86bb985778 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/update-textmagic-provider.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/update-textmagic-provider.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/update-topic.md b/docs/examples/1.6.x/server-dart/examples/messaging/update-topic.md index 8c149c57f1..5311fd5e9b 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/update-topic.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/update-topic.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/update-twilio-provider.md b/docs/examples/1.6.x/server-dart/examples/messaging/update-twilio-provider.md index a246dd62b9..8ace97521b 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/update-twilio-provider.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/update-twilio-provider.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/messaging/update-vonage-provider.md b/docs/examples/1.6.x/server-dart/examples/messaging/update-vonage-provider.md index d848a648fe..e0d95d1cb4 100644 --- a/docs/examples/1.6.x/server-dart/examples/messaging/update-vonage-provider.md +++ b/docs/examples/1.6.x/server-dart/examples/messaging/update-vonage-provider.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/storage/create-bucket.md b/docs/examples/1.6.x/server-dart/examples/storage/create-bucket.md index e9b817f367..c09a4f2c5d 100644 --- a/docs/examples/1.6.x/server-dart/examples/storage/create-bucket.md +++ b/docs/examples/1.6.x/server-dart/examples/storage/create-bucket.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/storage/create-file.md b/docs/examples/1.6.x/server-dart/examples/storage/create-file.md index 0e06f4220c..e631416ecb 100644 --- a/docs/examples/1.6.x/server-dart/examples/storage/create-file.md +++ b/docs/examples/1.6.x/server-dart/examples/storage/create-file.md @@ -2,7 +2,7 @@ import 'dart:io'; import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/storage/delete-bucket.md b/docs/examples/1.6.x/server-dart/examples/storage/delete-bucket.md index 51fa7aafca..1eb1b51ca2 100644 --- a/docs/examples/1.6.x/server-dart/examples/storage/delete-bucket.md +++ b/docs/examples/1.6.x/server-dart/examples/storage/delete-bucket.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/storage/delete-file.md b/docs/examples/1.6.x/server-dart/examples/storage/delete-file.md index 25f74b68bb..26dd602c7e 100644 --- a/docs/examples/1.6.x/server-dart/examples/storage/delete-file.md +++ b/docs/examples/1.6.x/server-dart/examples/storage/delete-file.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/storage/get-bucket.md b/docs/examples/1.6.x/server-dart/examples/storage/get-bucket.md index 20dfac75b6..3464d2233b 100644 --- a/docs/examples/1.6.x/server-dart/examples/storage/get-bucket.md +++ b/docs/examples/1.6.x/server-dart/examples/storage/get-bucket.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/storage/get-file-download.md b/docs/examples/1.6.x/server-dart/examples/storage/get-file-download.md index ddbc538b8b..09f06c04fc 100644 --- a/docs/examples/1.6.x/server-dart/examples/storage/get-file-download.md +++ b/docs/examples/1.6.x/server-dart/examples/storage/get-file-download.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/storage/get-file-preview.md b/docs/examples/1.6.x/server-dart/examples/storage/get-file-preview.md index 0f9cada9b3..7fd69c5692 100644 --- a/docs/examples/1.6.x/server-dart/examples/storage/get-file-preview.md +++ b/docs/examples/1.6.x/server-dart/examples/storage/get-file-preview.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/storage/get-file-view.md b/docs/examples/1.6.x/server-dart/examples/storage/get-file-view.md index d9854177e8..df5d3a20ff 100644 --- a/docs/examples/1.6.x/server-dart/examples/storage/get-file-view.md +++ b/docs/examples/1.6.x/server-dart/examples/storage/get-file-view.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/storage/get-file.md b/docs/examples/1.6.x/server-dart/examples/storage/get-file.md index c79b608c43..f765c62356 100644 --- a/docs/examples/1.6.x/server-dart/examples/storage/get-file.md +++ b/docs/examples/1.6.x/server-dart/examples/storage/get-file.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/storage/list-buckets.md b/docs/examples/1.6.x/server-dart/examples/storage/list-buckets.md index 7d9afb7ea1..c20dac1968 100644 --- a/docs/examples/1.6.x/server-dart/examples/storage/list-buckets.md +++ b/docs/examples/1.6.x/server-dart/examples/storage/list-buckets.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/storage/list-files.md b/docs/examples/1.6.x/server-dart/examples/storage/list-files.md index 02e52ba44a..28f85b091a 100644 --- a/docs/examples/1.6.x/server-dart/examples/storage/list-files.md +++ b/docs/examples/1.6.x/server-dart/examples/storage/list-files.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/storage/update-bucket.md b/docs/examples/1.6.x/server-dart/examples/storage/update-bucket.md index 23bfdb7395..b4e45e059c 100644 --- a/docs/examples/1.6.x/server-dart/examples/storage/update-bucket.md +++ b/docs/examples/1.6.x/server-dart/examples/storage/update-bucket.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/storage/update-file.md b/docs/examples/1.6.x/server-dart/examples/storage/update-file.md index d03e60406e..966883a1f9 100644 --- a/docs/examples/1.6.x/server-dart/examples/storage/update-file.md +++ b/docs/examples/1.6.x/server-dart/examples/storage/update-file.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/teams/create-membership.md b/docs/examples/1.6.x/server-dart/examples/teams/create-membership.md index 96b037a1c0..f13a6e69bb 100644 --- a/docs/examples/1.6.x/server-dart/examples/teams/create-membership.md +++ b/docs/examples/1.6.x/server-dart/examples/teams/create-membership.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/teams/create.md b/docs/examples/1.6.x/server-dart/examples/teams/create.md index f6575bc440..772f3cfa86 100644 --- a/docs/examples/1.6.x/server-dart/examples/teams/create.md +++ b/docs/examples/1.6.x/server-dart/examples/teams/create.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/teams/delete-membership.md b/docs/examples/1.6.x/server-dart/examples/teams/delete-membership.md index 6f495ef434..9d99cbbd3d 100644 --- a/docs/examples/1.6.x/server-dart/examples/teams/delete-membership.md +++ b/docs/examples/1.6.x/server-dart/examples/teams/delete-membership.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/teams/delete.md b/docs/examples/1.6.x/server-dart/examples/teams/delete.md index 021368cb05..1c08ab8ed9 100644 --- a/docs/examples/1.6.x/server-dart/examples/teams/delete.md +++ b/docs/examples/1.6.x/server-dart/examples/teams/delete.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/teams/get-membership.md b/docs/examples/1.6.x/server-dart/examples/teams/get-membership.md index 1d5c3b3550..0bdc63f8d4 100644 --- a/docs/examples/1.6.x/server-dart/examples/teams/get-membership.md +++ b/docs/examples/1.6.x/server-dart/examples/teams/get-membership.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/teams/get-prefs.md b/docs/examples/1.6.x/server-dart/examples/teams/get-prefs.md index 1e89d0e277..e206393320 100644 --- a/docs/examples/1.6.x/server-dart/examples/teams/get-prefs.md +++ b/docs/examples/1.6.x/server-dart/examples/teams/get-prefs.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/teams/get.md b/docs/examples/1.6.x/server-dart/examples/teams/get.md index 31d238ab96..bb3bcaf7e2 100644 --- a/docs/examples/1.6.x/server-dart/examples/teams/get.md +++ b/docs/examples/1.6.x/server-dart/examples/teams/get.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/teams/list-memberships.md b/docs/examples/1.6.x/server-dart/examples/teams/list-memberships.md index 1cb91dd477..3c01dec4c5 100644 --- a/docs/examples/1.6.x/server-dart/examples/teams/list-memberships.md +++ b/docs/examples/1.6.x/server-dart/examples/teams/list-memberships.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/teams/list.md b/docs/examples/1.6.x/server-dart/examples/teams/list.md index e4c764c517..093a139f71 100644 --- a/docs/examples/1.6.x/server-dart/examples/teams/list.md +++ b/docs/examples/1.6.x/server-dart/examples/teams/list.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/teams/update-membership-status.md b/docs/examples/1.6.x/server-dart/examples/teams/update-membership-status.md index 71c343663a..c947162fa4 100644 --- a/docs/examples/1.6.x/server-dart/examples/teams/update-membership-status.md +++ b/docs/examples/1.6.x/server-dart/examples/teams/update-membership-status.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/teams/update-membership.md b/docs/examples/1.6.x/server-dart/examples/teams/update-membership.md index 256c0823fe..87a4325857 100644 --- a/docs/examples/1.6.x/server-dart/examples/teams/update-membership.md +++ b/docs/examples/1.6.x/server-dart/examples/teams/update-membership.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/teams/update-name.md b/docs/examples/1.6.x/server-dart/examples/teams/update-name.md index a1727ced11..fe3a9faabf 100644 --- a/docs/examples/1.6.x/server-dart/examples/teams/update-name.md +++ b/docs/examples/1.6.x/server-dart/examples/teams/update-name.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/teams/update-prefs.md b/docs/examples/1.6.x/server-dart/examples/teams/update-prefs.md index 1b3208b79f..57518ada43 100644 --- a/docs/examples/1.6.x/server-dart/examples/teams/update-prefs.md +++ b/docs/examples/1.6.x/server-dart/examples/teams/update-prefs.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dart/examples/users/create-argon2user.md b/docs/examples/1.6.x/server-dart/examples/users/create-argon2user.md index 68dd98841e..38b0255ea4 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/create-argon2user.md +++ b/docs/examples/1.6.x/server-dart/examples/users/create-argon2user.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/create-bcrypt-user.md b/docs/examples/1.6.x/server-dart/examples/users/create-bcrypt-user.md index cb000391c6..aa898ba22f 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.6.x/server-dart/examples/users/create-bcrypt-user.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/create-j-w-t.md b/docs/examples/1.6.x/server-dart/examples/users/create-j-w-t.md index 2a9c67bead..6e8b7a2bac 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/create-j-w-t.md +++ b/docs/examples/1.6.x/server-dart/examples/users/create-j-w-t.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/create-m-d5user.md b/docs/examples/1.6.x/server-dart/examples/users/create-m-d5user.md index 4ade88bc7d..e08edd617f 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/create-m-d5user.md +++ b/docs/examples/1.6.x/server-dart/examples/users/create-m-d5user.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/create-mfa-recovery-codes.md b/docs/examples/1.6.x/server-dart/examples/users/create-mfa-recovery-codes.md index 598cef4901..c2b9562e4e 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/create-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-dart/examples/users/create-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/create-p-h-pass-user.md b/docs/examples/1.6.x/server-dart/examples/users/create-p-h-pass-user.md index 1c95cbe263..9f23baaef2 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.6.x/server-dart/examples/users/create-p-h-pass-user.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/create-s-h-a-user.md b/docs/examples/1.6.x/server-dart/examples/users/create-s-h-a-user.md index 17122072e4..628cf3297e 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.6.x/server-dart/examples/users/create-s-h-a-user.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/create-scrypt-modified-user.md b/docs/examples/1.6.x/server-dart/examples/users/create-scrypt-modified-user.md index 063fc97d84..34bfbf66c4 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.6.x/server-dart/examples/users/create-scrypt-modified-user.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/create-scrypt-user.md b/docs/examples/1.6.x/server-dart/examples/users/create-scrypt-user.md index 03717bd7f0..20cf911a09 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/create-scrypt-user.md +++ b/docs/examples/1.6.x/server-dart/examples/users/create-scrypt-user.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/create-session.md b/docs/examples/1.6.x/server-dart/examples/users/create-session.md index 013707bcc5..4293e7edf6 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/create-session.md +++ b/docs/examples/1.6.x/server-dart/examples/users/create-session.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/create-target.md b/docs/examples/1.6.x/server-dart/examples/users/create-target.md index 88c0c19e42..354a8dbb48 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/create-target.md +++ b/docs/examples/1.6.x/server-dart/examples/users/create-target.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/create-token.md b/docs/examples/1.6.x/server-dart/examples/users/create-token.md index 16040215a3..ab7acba3dd 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/create-token.md +++ b/docs/examples/1.6.x/server-dart/examples/users/create-token.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/create.md b/docs/examples/1.6.x/server-dart/examples/users/create.md index a0f0c3fe3d..b4953748e5 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/create.md +++ b/docs/examples/1.6.x/server-dart/examples/users/create.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/delete-identity.md b/docs/examples/1.6.x/server-dart/examples/users/delete-identity.md index 07ba49764e..7ac2da9000 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/delete-identity.md +++ b/docs/examples/1.6.x/server-dart/examples/users/delete-identity.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/delete-mfa-authenticator.md b/docs/examples/1.6.x/server-dart/examples/users/delete-mfa-authenticator.md index d48ab6d4f0..eed7dbd41b 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/delete-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-dart/examples/users/delete-mfa-authenticator.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/delete-session.md b/docs/examples/1.6.x/server-dart/examples/users/delete-session.md index a2c985a7e7..68d243e52f 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/delete-session.md +++ b/docs/examples/1.6.x/server-dart/examples/users/delete-session.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/delete-sessions.md b/docs/examples/1.6.x/server-dart/examples/users/delete-sessions.md index e86e0e29aa..07c3566a7c 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/delete-sessions.md +++ b/docs/examples/1.6.x/server-dart/examples/users/delete-sessions.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/delete-target.md b/docs/examples/1.6.x/server-dart/examples/users/delete-target.md index bae674cdcd..aa27b32d38 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/delete-target.md +++ b/docs/examples/1.6.x/server-dart/examples/users/delete-target.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/delete.md b/docs/examples/1.6.x/server-dart/examples/users/delete.md index dbee4e8cc9..93819b72d7 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/delete.md +++ b/docs/examples/1.6.x/server-dart/examples/users/delete.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/get-mfa-recovery-codes.md b/docs/examples/1.6.x/server-dart/examples/users/get-mfa-recovery-codes.md index 1e8baf2b9f..cf66c67610 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-dart/examples/users/get-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/get-prefs.md b/docs/examples/1.6.x/server-dart/examples/users/get-prefs.md index 9fa4c8bd53..146cff6820 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/get-prefs.md +++ b/docs/examples/1.6.x/server-dart/examples/users/get-prefs.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/get-target.md b/docs/examples/1.6.x/server-dart/examples/users/get-target.md index 2a62d94e9b..9ddaafb55f 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/get-target.md +++ b/docs/examples/1.6.x/server-dart/examples/users/get-target.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/get.md b/docs/examples/1.6.x/server-dart/examples/users/get.md index 04dfcb6a9b..a171b79582 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/get.md +++ b/docs/examples/1.6.x/server-dart/examples/users/get.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/list-identities.md b/docs/examples/1.6.x/server-dart/examples/users/list-identities.md index aa20d3f601..2c14775e9a 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/list-identities.md +++ b/docs/examples/1.6.x/server-dart/examples/users/list-identities.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/list-logs.md b/docs/examples/1.6.x/server-dart/examples/users/list-logs.md index 18b34a10de..5885dcb874 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/list-logs.md +++ b/docs/examples/1.6.x/server-dart/examples/users/list-logs.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/list-memberships.md b/docs/examples/1.6.x/server-dart/examples/users/list-memberships.md index 495ab93819..22c64b15eb 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/list-memberships.md +++ b/docs/examples/1.6.x/server-dart/examples/users/list-memberships.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/list-mfa-factors.md b/docs/examples/1.6.x/server-dart/examples/users/list-mfa-factors.md index cca4df00d2..7134ee5dab 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/list-mfa-factors.md +++ b/docs/examples/1.6.x/server-dart/examples/users/list-mfa-factors.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/list-sessions.md b/docs/examples/1.6.x/server-dart/examples/users/list-sessions.md index 4e1a47bc47..22a37c05a0 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/list-sessions.md +++ b/docs/examples/1.6.x/server-dart/examples/users/list-sessions.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/list-targets.md b/docs/examples/1.6.x/server-dart/examples/users/list-targets.md index 459d0cd438..971fbea0e1 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/list-targets.md +++ b/docs/examples/1.6.x/server-dart/examples/users/list-targets.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/list.md b/docs/examples/1.6.x/server-dart/examples/users/list.md index b909d76ef0..6d34bb470b 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/list.md +++ b/docs/examples/1.6.x/server-dart/examples/users/list.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/update-email-verification.md b/docs/examples/1.6.x/server-dart/examples/users/update-email-verification.md index e350eb68f3..9930e30be5 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/update-email-verification.md +++ b/docs/examples/1.6.x/server-dart/examples/users/update-email-verification.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/update-email.md b/docs/examples/1.6.x/server-dart/examples/users/update-email.md index af995fc520..129a8e2437 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/update-email.md +++ b/docs/examples/1.6.x/server-dart/examples/users/update-email.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/update-labels.md b/docs/examples/1.6.x/server-dart/examples/users/update-labels.md index 5cd609d2d6..d247bf5e74 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/update-labels.md +++ b/docs/examples/1.6.x/server-dart/examples/users/update-labels.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/update-mfa-recovery-codes.md b/docs/examples/1.6.x/server-dart/examples/users/update-mfa-recovery-codes.md index 3fdfc7c55b..3b7d81f57c 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/update-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-dart/examples/users/update-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/update-mfa.md b/docs/examples/1.6.x/server-dart/examples/users/update-mfa.md index e1efba91b4..f26b105534 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/update-mfa.md +++ b/docs/examples/1.6.x/server-dart/examples/users/update-mfa.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/update-name.md b/docs/examples/1.6.x/server-dart/examples/users/update-name.md index 2a742bcc51..905cee0e49 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/update-name.md +++ b/docs/examples/1.6.x/server-dart/examples/users/update-name.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/update-password.md b/docs/examples/1.6.x/server-dart/examples/users/update-password.md index 8650291bd1..14e27482ec 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/update-password.md +++ b/docs/examples/1.6.x/server-dart/examples/users/update-password.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/update-phone-verification.md b/docs/examples/1.6.x/server-dart/examples/users/update-phone-verification.md index cb8efa4a70..b57aafab1f 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/update-phone-verification.md +++ b/docs/examples/1.6.x/server-dart/examples/users/update-phone-verification.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/update-phone.md b/docs/examples/1.6.x/server-dart/examples/users/update-phone.md index 5334986f38..aa891d2351 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/update-phone.md +++ b/docs/examples/1.6.x/server-dart/examples/users/update-phone.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/update-prefs.md b/docs/examples/1.6.x/server-dart/examples/users/update-prefs.md index 2a1f0572a8..87fc2968f5 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/update-prefs.md +++ b/docs/examples/1.6.x/server-dart/examples/users/update-prefs.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/update-status.md b/docs/examples/1.6.x/server-dart/examples/users/update-status.md index 2948e6e6c3..4d8dca03ad 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/update-status.md +++ b/docs/examples/1.6.x/server-dart/examples/users/update-status.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dart/examples/users/update-target.md b/docs/examples/1.6.x/server-dart/examples/users/update-target.md index c3e907175b..f66f0b7475 100644 --- a/docs/examples/1.6.x/server-dart/examples/users/update-target.md +++ b/docs/examples/1.6.x/server-dart/examples/users/update-target.md @@ -1,7 +1,7 @@ import 'package:dart_appwrite/dart_appwrite.dart'; Client client = Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/account/create-anonymous-session.md b/docs/examples/1.6.x/server-deno/examples/account/create-anonymous-session.md index f71baa9d5d..62ad345304 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/create-anonymous-session.md +++ b/docs/examples/1.6.x/server-deno/examples/account/create-anonymous-session.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/server-deno/examples/account/create-email-password-session.md b/docs/examples/1.6.x/server-deno/examples/account/create-email-password-session.md index ad62b8883e..d08a92d2c3 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/create-email-password-session.md +++ b/docs/examples/1.6.x/server-deno/examples/account/create-email-password-session.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/server-deno/examples/account/create-email-token.md b/docs/examples/1.6.x/server-deno/examples/account/create-email-token.md index 2e33d2bc33..384a3fbbea 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/create-email-token.md +++ b/docs/examples/1.6.x/server-deno/examples/account/create-email-token.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/server-deno/examples/account/create-j-w-t.md b/docs/examples/1.6.x/server-deno/examples/account/create-j-w-t.md index 15197d099a..a0a7f722cc 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/create-j-w-t.md +++ b/docs/examples/1.6.x/server-deno/examples/account/create-j-w-t.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/server-deno/examples/account/create-magic-u-r-l-token.md b/docs/examples/1.6.x/server-deno/examples/account/create-magic-u-r-l-token.md index 57697d4039..29e552a819 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.6.x/server-deno/examples/account/create-magic-u-r-l-token.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/server-deno/examples/account/create-mfa-authenticator.md b/docs/examples/1.6.x/server-deno/examples/account/create-mfa-authenticator.md index be345dc159..52c193a848 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/create-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-deno/examples/account/create-mfa-authenticator.md @@ -1,7 +1,7 @@ import { Client, Account, AuthenticatorType } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/account/create-mfa-challenge.md b/docs/examples/1.6.x/server-deno/examples/account/create-mfa-challenge.md index 877c20392c..296e36dec4 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.6.x/server-deno/examples/account/create-mfa-challenge.md @@ -1,7 +1,7 @@ import { Client, Account, AuthenticationFactor } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/server-deno/examples/account/create-mfa-recovery-codes.md b/docs/examples/1.6.x/server-deno/examples/account/create-mfa-recovery-codes.md index 18ce21a076..cfd9aa2ba8 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-deno/examples/account/create-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/account/create-o-auth2token.md b/docs/examples/1.6.x/server-deno/examples/account/create-o-auth2token.md index 037da38d68..24e43a9d9c 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/create-o-auth2token.md +++ b/docs/examples/1.6.x/server-deno/examples/account/create-o-auth2token.md @@ -1,7 +1,7 @@ import { Client, Account, OAuthProvider } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/server-deno/examples/account/create-phone-token.md b/docs/examples/1.6.x/server-deno/examples/account/create-phone-token.md index 800f0210a1..77e4adcb9c 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/create-phone-token.md +++ b/docs/examples/1.6.x/server-deno/examples/account/create-phone-token.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/server-deno/examples/account/create-phone-verification.md b/docs/examples/1.6.x/server-deno/examples/account/create-phone-verification.md index 5a9c87b7f6..8f01304f5b 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/create-phone-verification.md +++ b/docs/examples/1.6.x/server-deno/examples/account/create-phone-verification.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/account/create-recovery.md b/docs/examples/1.6.x/server-deno/examples/account/create-recovery.md index e32600111b..a3d92d866e 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/create-recovery.md +++ b/docs/examples/1.6.x/server-deno/examples/account/create-recovery.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/account/create-session.md b/docs/examples/1.6.x/server-deno/examples/account/create-session.md index a34d3e37d9..888493a21a 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/create-session.md +++ b/docs/examples/1.6.x/server-deno/examples/account/create-session.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/server-deno/examples/account/create-verification.md b/docs/examples/1.6.x/server-deno/examples/account/create-verification.md index fd11e13b33..438feee807 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/create-verification.md +++ b/docs/examples/1.6.x/server-deno/examples/account/create-verification.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/account/create.md b/docs/examples/1.6.x/server-deno/examples/account/create.md index 9f1b16b7b9..c410a0f7c7 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/create.md +++ b/docs/examples/1.6.x/server-deno/examples/account/create.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/server-deno/examples/account/delete-identity.md b/docs/examples/1.6.x/server-deno/examples/account/delete-identity.md index 30b1468891..359c7a3cfa 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/delete-identity.md +++ b/docs/examples/1.6.x/server-deno/examples/account/delete-identity.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/account/delete-mfa-authenticator.md b/docs/examples/1.6.x/server-deno/examples/account/delete-mfa-authenticator.md index 7247155e2b..f4b164b43d 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-deno/examples/account/delete-mfa-authenticator.md @@ -1,7 +1,7 @@ import { Client, Account, AuthenticatorType } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/account/delete-session.md b/docs/examples/1.6.x/server-deno/examples/account/delete-session.md index 5fd77c155a..a0b7d19687 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/delete-session.md +++ b/docs/examples/1.6.x/server-deno/examples/account/delete-session.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/account/delete-sessions.md b/docs/examples/1.6.x/server-deno/examples/account/delete-sessions.md index 6d676cf8f8..864c50535b 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/delete-sessions.md +++ b/docs/examples/1.6.x/server-deno/examples/account/delete-sessions.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.6.x/server-deno/examples/account/get-mfa-recovery-codes.md index 5861c1b561..73fc143978 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-deno/examples/account/get-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/account/get-prefs.md b/docs/examples/1.6.x/server-deno/examples/account/get-prefs.md index 685aa63ca6..4479df71f7 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/get-prefs.md +++ b/docs/examples/1.6.x/server-deno/examples/account/get-prefs.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/account/get-session.md b/docs/examples/1.6.x/server-deno/examples/account/get-session.md index 91242d4565..c380b72ed5 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/get-session.md +++ b/docs/examples/1.6.x/server-deno/examples/account/get-session.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/account/get.md b/docs/examples/1.6.x/server-deno/examples/account/get.md index 59f91ca846..5abdc95ec7 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/get.md +++ b/docs/examples/1.6.x/server-deno/examples/account/get.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/account/list-identities.md b/docs/examples/1.6.x/server-deno/examples/account/list-identities.md index 501042160d..1c612f9737 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/list-identities.md +++ b/docs/examples/1.6.x/server-deno/examples/account/list-identities.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/account/list-logs.md b/docs/examples/1.6.x/server-deno/examples/account/list-logs.md index 230c3f46a6..28ab351f5a 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/list-logs.md +++ b/docs/examples/1.6.x/server-deno/examples/account/list-logs.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/account/list-mfa-factors.md b/docs/examples/1.6.x/server-deno/examples/account/list-mfa-factors.md index bf9d6b40e4..35fb7497de 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/list-mfa-factors.md +++ b/docs/examples/1.6.x/server-deno/examples/account/list-mfa-factors.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/account/list-sessions.md b/docs/examples/1.6.x/server-deno/examples/account/list-sessions.md index 927ccfc67c..e34da16995 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/list-sessions.md +++ b/docs/examples/1.6.x/server-deno/examples/account/list-sessions.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/account/update-email.md b/docs/examples/1.6.x/server-deno/examples/account/update-email.md index 9136450824..0753cff9fd 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/update-email.md +++ b/docs/examples/1.6.x/server-deno/examples/account/update-email.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/account/update-m-f-a.md b/docs/examples/1.6.x/server-deno/examples/account/update-m-f-a.md index db315e5468..24611aa43a 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/update-m-f-a.md +++ b/docs/examples/1.6.x/server-deno/examples/account/update-m-f-a.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.6.x/server-deno/examples/account/update-magic-u-r-l-session.md index 99243ec118..a83c1d91a4 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.6.x/server-deno/examples/account/update-magic-u-r-l-session.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/server-deno/examples/account/update-mfa-authenticator.md b/docs/examples/1.6.x/server-deno/examples/account/update-mfa-authenticator.md index 5c437194fe..6b95818e06 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/update-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-deno/examples/account/update-mfa-authenticator.md @@ -1,7 +1,7 @@ import { Client, Account, AuthenticatorType } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/account/update-mfa-challenge.md b/docs/examples/1.6.x/server-deno/examples/account/update-mfa-challenge.md index 4e0638ea42..61a7b44fd0 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.6.x/server-deno/examples/account/update-mfa-challenge.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/account/update-mfa-recovery-codes.md b/docs/examples/1.6.x/server-deno/examples/account/update-mfa-recovery-codes.md index 3d604f6efd..2030e1c551 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-deno/examples/account/update-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/account/update-name.md b/docs/examples/1.6.x/server-deno/examples/account/update-name.md index 7e0e0122d0..a02591b3b5 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/update-name.md +++ b/docs/examples/1.6.x/server-deno/examples/account/update-name.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/account/update-password.md b/docs/examples/1.6.x/server-deno/examples/account/update-password.md index 6d546291d8..088bea88ac 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/update-password.md +++ b/docs/examples/1.6.x/server-deno/examples/account/update-password.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/account/update-phone-session.md b/docs/examples/1.6.x/server-deno/examples/account/update-phone-session.md index 1d9104829e..4710a451a8 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/update-phone-session.md +++ b/docs/examples/1.6.x/server-deno/examples/account/update-phone-session.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new Account(client); diff --git a/docs/examples/1.6.x/server-deno/examples/account/update-phone-verification.md b/docs/examples/1.6.x/server-deno/examples/account/update-phone-verification.md index 9737de02ac..3b150c8c4a 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/update-phone-verification.md +++ b/docs/examples/1.6.x/server-deno/examples/account/update-phone-verification.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/account/update-phone.md b/docs/examples/1.6.x/server-deno/examples/account/update-phone.md index 8b1bc7c7f0..9c1923c217 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/update-phone.md +++ b/docs/examples/1.6.x/server-deno/examples/account/update-phone.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/account/update-prefs.md b/docs/examples/1.6.x/server-deno/examples/account/update-prefs.md index 58582c6bca..4b37a64fe7 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/update-prefs.md +++ b/docs/examples/1.6.x/server-deno/examples/account/update-prefs.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/account/update-recovery.md b/docs/examples/1.6.x/server-deno/examples/account/update-recovery.md index 1b64a3beaf..5d0d80f956 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/update-recovery.md +++ b/docs/examples/1.6.x/server-deno/examples/account/update-recovery.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/account/update-session.md b/docs/examples/1.6.x/server-deno/examples/account/update-session.md index 93dd40fcc5..cb36b9491e 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/update-session.md +++ b/docs/examples/1.6.x/server-deno/examples/account/update-session.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/account/update-status.md b/docs/examples/1.6.x/server-deno/examples/account/update-status.md index 60a3d51f0d..0c70c88b51 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/update-status.md +++ b/docs/examples/1.6.x/server-deno/examples/account/update-status.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/account/update-verification.md b/docs/examples/1.6.x/server-deno/examples/account/update-verification.md index 208988894f..96370858cd 100644 --- a/docs/examples/1.6.x/server-deno/examples/account/update-verification.md +++ b/docs/examples/1.6.x/server-deno/examples/account/update-verification.md @@ -1,7 +1,7 @@ import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/avatars/get-browser.md b/docs/examples/1.6.x/server-deno/examples/avatars/get-browser.md index c8e7264434..f0a355a460 100644 --- a/docs/examples/1.6.x/server-deno/examples/avatars/get-browser.md +++ b/docs/examples/1.6.x/server-deno/examples/avatars/get-browser.md @@ -1,7 +1,7 @@ import { Client, Avatars, Browser } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/avatars/get-credit-card.md b/docs/examples/1.6.x/server-deno/examples/avatars/get-credit-card.md index 8e1b3dba62..040b06c59e 100644 --- a/docs/examples/1.6.x/server-deno/examples/avatars/get-credit-card.md +++ b/docs/examples/1.6.x/server-deno/examples/avatars/get-credit-card.md @@ -1,7 +1,7 @@ import { Client, Avatars, CreditCard } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/avatars/get-favicon.md b/docs/examples/1.6.x/server-deno/examples/avatars/get-favicon.md index 5f50687f91..cca313a9a2 100644 --- a/docs/examples/1.6.x/server-deno/examples/avatars/get-favicon.md +++ b/docs/examples/1.6.x/server-deno/examples/avatars/get-favicon.md @@ -1,7 +1,7 @@ import { Client, Avatars } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/avatars/get-flag.md b/docs/examples/1.6.x/server-deno/examples/avatars/get-flag.md index daa488e443..937724f118 100644 --- a/docs/examples/1.6.x/server-deno/examples/avatars/get-flag.md +++ b/docs/examples/1.6.x/server-deno/examples/avatars/get-flag.md @@ -1,7 +1,7 @@ import { Client, Avatars, Flag } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/avatars/get-image.md b/docs/examples/1.6.x/server-deno/examples/avatars/get-image.md index fc72b74cf7..2960daba8d 100644 --- a/docs/examples/1.6.x/server-deno/examples/avatars/get-image.md +++ b/docs/examples/1.6.x/server-deno/examples/avatars/get-image.md @@ -1,7 +1,7 @@ import { Client, Avatars } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/avatars/get-initials.md b/docs/examples/1.6.x/server-deno/examples/avatars/get-initials.md index d6d8dc8c7c..10eb2d80b8 100644 --- a/docs/examples/1.6.x/server-deno/examples/avatars/get-initials.md +++ b/docs/examples/1.6.x/server-deno/examples/avatars/get-initials.md @@ -1,7 +1,7 @@ import { Client, Avatars } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/avatars/get-q-r.md b/docs/examples/1.6.x/server-deno/examples/avatars/get-q-r.md index bfa7833b50..d9ccc0dbca 100644 --- a/docs/examples/1.6.x/server-deno/examples/avatars/get-q-r.md +++ b/docs/examples/1.6.x/server-deno/examples/avatars/get-q-r.md @@ -1,7 +1,7 @@ import { Client, Avatars } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/databases/create-boolean-attribute.md b/docs/examples/1.6.x/server-deno/examples/databases/create-boolean-attribute.md index 232efa137f..b216c2ead3 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/create-boolean-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/create-collection.md b/docs/examples/1.6.x/server-deno/examples/databases/create-collection.md index 8ae3e6acdb..c7e8026758 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/create-collection.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/create-collection.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/create-datetime-attribute.md b/docs/examples/1.6.x/server-deno/examples/databases/create-datetime-attribute.md index 10017f2162..664da19de2 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/create-datetime-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/create-document.md b/docs/examples/1.6.x/server-deno/examples/databases/create-document.md index f0f54b79ec..be8a1bdac9 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/create-document.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/create-document.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/databases/create-email-attribute.md b/docs/examples/1.6.x/server-deno/examples/databases/create-email-attribute.md index 979c513724..6c667ed38a 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/create-email-attribute.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/create-email-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/create-enum-attribute.md b/docs/examples/1.6.x/server-deno/examples/databases/create-enum-attribute.md index 163a9e49bd..6fdd2773c8 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/create-enum-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/create-float-attribute.md b/docs/examples/1.6.x/server-deno/examples/databases/create-float-attribute.md index 3b0e419398..c5991d49f6 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/create-float-attribute.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/create-float-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/create-index.md b/docs/examples/1.6.x/server-deno/examples/databases/create-index.md index 8b7d9c676f..69e694bbba 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/create-index.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/create-index.md @@ -1,7 +1,7 @@ import { Client, Databases, IndexType } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/create-integer-attribute.md b/docs/examples/1.6.x/server-deno/examples/databases/create-integer-attribute.md index 1a2e394d51..4a306cd50d 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/create-integer-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/create-ip-attribute.md b/docs/examples/1.6.x/server-deno/examples/databases/create-ip-attribute.md index e0acc27016..c043b25207 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/create-ip-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/create-relationship-attribute.md b/docs/examples/1.6.x/server-deno/examples/databases/create-relationship-attribute.md index 83b3e5833b..d96ee59a4d 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/create-relationship-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases, RelationshipType, RelationMutate } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/create-string-attribute.md b/docs/examples/1.6.x/server-deno/examples/databases/create-string-attribute.md index d35b8a791f..5f8e955541 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/create-string-attribute.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/create-string-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/create-url-attribute.md b/docs/examples/1.6.x/server-deno/examples/databases/create-url-attribute.md index 9127e3acd0..4639f75f5b 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/create-url-attribute.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/create-url-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/create.md b/docs/examples/1.6.x/server-deno/examples/databases/create.md index a4252aa7c8..86795eb750 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/create.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/create.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/delete-attribute.md b/docs/examples/1.6.x/server-deno/examples/databases/delete-attribute.md index 142ae5af13..f7ad6b105a 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/delete-attribute.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/delete-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/delete-collection.md b/docs/examples/1.6.x/server-deno/examples/databases/delete-collection.md index 3d72fa038a..828d48a7bc 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/delete-collection.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/delete-collection.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/delete-document.md b/docs/examples/1.6.x/server-deno/examples/databases/delete-document.md index ade8151b80..47d5df49f1 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/delete-document.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/delete-document.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/databases/delete-index.md b/docs/examples/1.6.x/server-deno/examples/databases/delete-index.md index 5bca23adf5..eee1613a87 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/delete-index.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/delete-index.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/delete.md b/docs/examples/1.6.x/server-deno/examples/databases/delete.md index c729b9791c..39b3f5395e 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/delete.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/delete.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/get-attribute.md b/docs/examples/1.6.x/server-deno/examples/databases/get-attribute.md index a8300ea2a0..f2b801b5f1 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/get-attribute.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/get-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/get-collection.md b/docs/examples/1.6.x/server-deno/examples/databases/get-collection.md index b5213943e6..b94f4fd5ff 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/get-collection.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/get-collection.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/get-document.md b/docs/examples/1.6.x/server-deno/examples/databases/get-document.md index 1e5669ac96..5cb02c4de3 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/get-document.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/get-document.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/databases/get-index.md b/docs/examples/1.6.x/server-deno/examples/databases/get-index.md index bfd74021fa..6c3a3dec1a 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/get-index.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/get-index.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/get.md b/docs/examples/1.6.x/server-deno/examples/databases/get.md index 386fbfedc6..403e467e04 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/get.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/get.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/list-attributes.md b/docs/examples/1.6.x/server-deno/examples/databases/list-attributes.md index bedab6c9f6..2171ffe4ad 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/list-attributes.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/list-attributes.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/list-collections.md b/docs/examples/1.6.x/server-deno/examples/databases/list-collections.md index 9b4f76c57a..408ea2d601 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/list-collections.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/list-collections.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/list-documents.md b/docs/examples/1.6.x/server-deno/examples/databases/list-documents.md index 0aa7b3f0b3..528e979517 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/list-documents.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/list-documents.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/databases/list-indexes.md b/docs/examples/1.6.x/server-deno/examples/databases/list-indexes.md index 58222cbb55..88af3b7f28 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/list-indexes.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/list-indexes.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/list.md b/docs/examples/1.6.x/server-deno/examples/databases/list.md index 8c8374e7ee..dcae151617 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/list.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/list.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/update-boolean-attribute.md b/docs/examples/1.6.x/server-deno/examples/databases/update-boolean-attribute.md index dc107667aa..fe1b80073a 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/update-boolean-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/update-collection.md b/docs/examples/1.6.x/server-deno/examples/databases/update-collection.md index 88a3493267..47f1c02783 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/update-collection.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/update-collection.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/update-datetime-attribute.md b/docs/examples/1.6.x/server-deno/examples/databases/update-datetime-attribute.md index 7de5a2c847..ad18d93865 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/update-datetime-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/update-document.md b/docs/examples/1.6.x/server-deno/examples/databases/update-document.md index fe9947e745..31cce5ed1c 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/update-document.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/update-document.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/databases/update-email-attribute.md b/docs/examples/1.6.x/server-deno/examples/databases/update-email-attribute.md index 41df182651..116fadc6c7 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/update-email-attribute.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/update-email-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/update-enum-attribute.md b/docs/examples/1.6.x/server-deno/examples/databases/update-enum-attribute.md index 6c0f9127b0..663e44b530 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/update-enum-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/update-float-attribute.md b/docs/examples/1.6.x/server-deno/examples/databases/update-float-attribute.md index fef0c8c6b4..d9eab5aac5 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/update-float-attribute.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/update-float-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key @@ -12,8 +12,8 @@ const response = await databases.updateFloatAttribute( '<COLLECTION_ID>', // collectionId '', // key false, // required - null, // min - null, // max null, // default + null, // min (optional) + null, // max (optional) '' // newKey (optional) ); diff --git a/docs/examples/1.6.x/server-deno/examples/databases/update-integer-attribute.md b/docs/examples/1.6.x/server-deno/examples/databases/update-integer-attribute.md index 18db8ddc0d..369b49d574 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/update-integer-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key @@ -12,8 +12,8 @@ const response = await databases.updateIntegerAttribute( '<COLLECTION_ID>', // collectionId '', // key false, // required - null, // min - null, // max null, // default + null, // min (optional) + null, // max (optional) '' // newKey (optional) ); diff --git a/docs/examples/1.6.x/server-deno/examples/databases/update-ip-attribute.md b/docs/examples/1.6.x/server-deno/examples/databases/update-ip-attribute.md index 9348cfa0b4..049a527993 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/update-ip-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/update-relationship-attribute.md b/docs/examples/1.6.x/server-deno/examples/databases/update-relationship-attribute.md index 3d0bfdd916..7fae26b535 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/update-relationship-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases, RelationMutate } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/update-string-attribute.md b/docs/examples/1.6.x/server-deno/examples/databases/update-string-attribute.md index d57f8fd663..ec91d3367e 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/update-string-attribute.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/update-string-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/update-url-attribute.md b/docs/examples/1.6.x/server-deno/examples/databases/update-url-attribute.md index f1027d84b6..32f44b7eaf 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/update-url-attribute.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/update-url-attribute.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/databases/update.md b/docs/examples/1.6.x/server-deno/examples/databases/update.md index 2e19221d1a..b87ad82ec0 100644 --- a/docs/examples/1.6.x/server-deno/examples/databases/update.md +++ b/docs/examples/1.6.x/server-deno/examples/databases/update.md @@ -1,7 +1,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/functions/create-build.md b/docs/examples/1.6.x/server-deno/examples/functions/create-build.md index c68fb256e0..16384c1978 100644 --- a/docs/examples/1.6.x/server-deno/examples/functions/create-build.md +++ b/docs/examples/1.6.x/server-deno/examples/functions/create-build.md @@ -1,7 +1,7 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/functions/create-deployment.md b/docs/examples/1.6.x/server-deno/examples/functions/create-deployment.md index 5b976e6539..a134a382fa 100644 --- a/docs/examples/1.6.x/server-deno/examples/functions/create-deployment.md +++ b/docs/examples/1.6.x/server-deno/examples/functions/create-deployment.md @@ -1,7 +1,7 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/functions/create-execution.md b/docs/examples/1.6.x/server-deno/examples/functions/create-execution.md index c794d72231..bec6a17db2 100644 --- a/docs/examples/1.6.x/server-deno/examples/functions/create-execution.md +++ b/docs/examples/1.6.x/server-deno/examples/functions/create-execution.md @@ -1,7 +1,7 @@ import { Client, Functions, ExecutionMethod } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/functions/create-variable.md b/docs/examples/1.6.x/server-deno/examples/functions/create-variable.md index 472a798207..383512c8a6 100644 --- a/docs/examples/1.6.x/server-deno/examples/functions/create-variable.md +++ b/docs/examples/1.6.x/server-deno/examples/functions/create-variable.md @@ -1,7 +1,7 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/functions/create.md b/docs/examples/1.6.x/server-deno/examples/functions/create.md index 2bb31f7d0c..b05189943e 100644 --- a/docs/examples/1.6.x/server-deno/examples/functions/create.md +++ b/docs/examples/1.6.x/server-deno/examples/functions/create.md @@ -1,7 +1,7 @@ import { Client, Functions, } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/functions/delete-deployment.md b/docs/examples/1.6.x/server-deno/examples/functions/delete-deployment.md index b640055473..179bbaf303 100644 --- a/docs/examples/1.6.x/server-deno/examples/functions/delete-deployment.md +++ b/docs/examples/1.6.x/server-deno/examples/functions/delete-deployment.md @@ -1,7 +1,7 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/functions/delete-execution.md b/docs/examples/1.6.x/server-deno/examples/functions/delete-execution.md index 1785a0ed9e..4ab7c37785 100644 --- a/docs/examples/1.6.x/server-deno/examples/functions/delete-execution.md +++ b/docs/examples/1.6.x/server-deno/examples/functions/delete-execution.md @@ -1,7 +1,7 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/functions/delete-variable.md b/docs/examples/1.6.x/server-deno/examples/functions/delete-variable.md index c4786ffe21..39a9428ed3 100644 --- a/docs/examples/1.6.x/server-deno/examples/functions/delete-variable.md +++ b/docs/examples/1.6.x/server-deno/examples/functions/delete-variable.md @@ -1,7 +1,7 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/functions/delete.md b/docs/examples/1.6.x/server-deno/examples/functions/delete.md index 7155610689..94d58c33dd 100644 --- a/docs/examples/1.6.x/server-deno/examples/functions/delete.md +++ b/docs/examples/1.6.x/server-deno/examples/functions/delete.md @@ -1,7 +1,7 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/functions/get-deployment-download.md b/docs/examples/1.6.x/server-deno/examples/functions/get-deployment-download.md index c619208b50..05fdfa608f 100644 --- a/docs/examples/1.6.x/server-deno/examples/functions/get-deployment-download.md +++ b/docs/examples/1.6.x/server-deno/examples/functions/get-deployment-download.md @@ -1,7 +1,7 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/functions/get-deployment.md b/docs/examples/1.6.x/server-deno/examples/functions/get-deployment.md index 50e4cc50c0..339b99d4f1 100644 --- a/docs/examples/1.6.x/server-deno/examples/functions/get-deployment.md +++ b/docs/examples/1.6.x/server-deno/examples/functions/get-deployment.md @@ -1,7 +1,7 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/functions/get-execution.md b/docs/examples/1.6.x/server-deno/examples/functions/get-execution.md index af68d74360..adeff0256a 100644 --- a/docs/examples/1.6.x/server-deno/examples/functions/get-execution.md +++ b/docs/examples/1.6.x/server-deno/examples/functions/get-execution.md @@ -1,7 +1,7 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/functions/get-variable.md b/docs/examples/1.6.x/server-deno/examples/functions/get-variable.md index 2352321bff..cbbdd2f847 100644 --- a/docs/examples/1.6.x/server-deno/examples/functions/get-variable.md +++ b/docs/examples/1.6.x/server-deno/examples/functions/get-variable.md @@ -1,7 +1,7 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/functions/get.md b/docs/examples/1.6.x/server-deno/examples/functions/get.md index f90767de19..8fec17ed15 100644 --- a/docs/examples/1.6.x/server-deno/examples/functions/get.md +++ b/docs/examples/1.6.x/server-deno/examples/functions/get.md @@ -1,7 +1,7 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/functions/list-deployments.md b/docs/examples/1.6.x/server-deno/examples/functions/list-deployments.md index 2f4c345de2..849fe232b8 100644 --- a/docs/examples/1.6.x/server-deno/examples/functions/list-deployments.md +++ b/docs/examples/1.6.x/server-deno/examples/functions/list-deployments.md @@ -1,7 +1,7 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/functions/list-executions.md b/docs/examples/1.6.x/server-deno/examples/functions/list-executions.md index b8ce31703e..4efe6c7475 100644 --- a/docs/examples/1.6.x/server-deno/examples/functions/list-executions.md +++ b/docs/examples/1.6.x/server-deno/examples/functions/list-executions.md @@ -1,7 +1,7 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/functions/list-runtimes.md b/docs/examples/1.6.x/server-deno/examples/functions/list-runtimes.md index f78dfd03e7..a45afe4aa7 100644 --- a/docs/examples/1.6.x/server-deno/examples/functions/list-runtimes.md +++ b/docs/examples/1.6.x/server-deno/examples/functions/list-runtimes.md @@ -1,7 +1,7 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/functions/list-specifications.md b/docs/examples/1.6.x/server-deno/examples/functions/list-specifications.md index 5dff4354ee..3bf0d08e7c 100644 --- a/docs/examples/1.6.x/server-deno/examples/functions/list-specifications.md +++ b/docs/examples/1.6.x/server-deno/examples/functions/list-specifications.md @@ -1,7 +1,7 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/functions/list-variables.md b/docs/examples/1.6.x/server-deno/examples/functions/list-variables.md index 991292aac1..173d5aa9ef 100644 --- a/docs/examples/1.6.x/server-deno/examples/functions/list-variables.md +++ b/docs/examples/1.6.x/server-deno/examples/functions/list-variables.md @@ -1,7 +1,7 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/functions/list.md b/docs/examples/1.6.x/server-deno/examples/functions/list.md index 6d1e09ba52..ecc43d1a7c 100644 --- a/docs/examples/1.6.x/server-deno/examples/functions/list.md +++ b/docs/examples/1.6.x/server-deno/examples/functions/list.md @@ -1,7 +1,7 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/functions/update-deployment-build.md b/docs/examples/1.6.x/server-deno/examples/functions/update-deployment-build.md index 65ea3a97e6..16614de37a 100644 --- a/docs/examples/1.6.x/server-deno/examples/functions/update-deployment-build.md +++ b/docs/examples/1.6.x/server-deno/examples/functions/update-deployment-build.md @@ -1,7 +1,7 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/functions/update-deployment.md b/docs/examples/1.6.x/server-deno/examples/functions/update-deployment.md index 87af2f34bf..c29551ea33 100644 --- a/docs/examples/1.6.x/server-deno/examples/functions/update-deployment.md +++ b/docs/examples/1.6.x/server-deno/examples/functions/update-deployment.md @@ -1,7 +1,7 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/functions/update-variable.md b/docs/examples/1.6.x/server-deno/examples/functions/update-variable.md index 5213a92ee8..bda189bdd4 100644 --- a/docs/examples/1.6.x/server-deno/examples/functions/update-variable.md +++ b/docs/examples/1.6.x/server-deno/examples/functions/update-variable.md @@ -1,7 +1,7 @@ import { Client, Functions } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/functions/update.md b/docs/examples/1.6.x/server-deno/examples/functions/update.md index ab275257db..399af05841 100644 --- a/docs/examples/1.6.x/server-deno/examples/functions/update.md +++ b/docs/examples/1.6.x/server-deno/examples/functions/update.md @@ -1,7 +1,7 @@ import { Client, Functions, } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/graphql/mutation.md b/docs/examples/1.6.x/server-deno/examples/graphql/mutation.md index 68c06aa4e4..200120f1e8 100644 --- a/docs/examples/1.6.x/server-deno/examples/graphql/mutation.md +++ b/docs/examples/1.6.x/server-deno/examples/graphql/mutation.md @@ -1,7 +1,7 @@ import { Client, Graphql } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/graphql/query.md b/docs/examples/1.6.x/server-deno/examples/graphql/query.md index 480c481f9c..bb0116278c 100644 --- a/docs/examples/1.6.x/server-deno/examples/graphql/query.md +++ b/docs/examples/1.6.x/server-deno/examples/graphql/query.md @@ -1,7 +1,7 @@ import { Client, Graphql } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/health/get-antivirus.md b/docs/examples/1.6.x/server-deno/examples/health/get-antivirus.md index ccf2968dd8..d8dcc1fe3a 100644 --- a/docs/examples/1.6.x/server-deno/examples/health/get-antivirus.md +++ b/docs/examples/1.6.x/server-deno/examples/health/get-antivirus.md @@ -1,7 +1,7 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/health/get-cache.md b/docs/examples/1.6.x/server-deno/examples/health/get-cache.md index 2811f017a7..e138b50b26 100644 --- a/docs/examples/1.6.x/server-deno/examples/health/get-cache.md +++ b/docs/examples/1.6.x/server-deno/examples/health/get-cache.md @@ -1,7 +1,7 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/health/get-certificate.md b/docs/examples/1.6.x/server-deno/examples/health/get-certificate.md index 5bde913750..828e53dd7b 100644 --- a/docs/examples/1.6.x/server-deno/examples/health/get-certificate.md +++ b/docs/examples/1.6.x/server-deno/examples/health/get-certificate.md @@ -1,7 +1,7 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/health/get-d-b.md b/docs/examples/1.6.x/server-deno/examples/health/get-d-b.md index 598c163b44..bded9eb81b 100644 --- a/docs/examples/1.6.x/server-deno/examples/health/get-d-b.md +++ b/docs/examples/1.6.x/server-deno/examples/health/get-d-b.md @@ -1,7 +1,7 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/health/get-failed-jobs.md b/docs/examples/1.6.x/server-deno/examples/health/get-failed-jobs.md index dd44711e5e..5e40f762e4 100644 --- a/docs/examples/1.6.x/server-deno/examples/health/get-failed-jobs.md +++ b/docs/examples/1.6.x/server-deno/examples/health/get-failed-jobs.md @@ -1,7 +1,7 @@ import { Client, Health, } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/health/get-pub-sub.md b/docs/examples/1.6.x/server-deno/examples/health/get-pub-sub.md index 9ecda7d32a..ecc05a3e21 100644 --- a/docs/examples/1.6.x/server-deno/examples/health/get-pub-sub.md +++ b/docs/examples/1.6.x/server-deno/examples/health/get-pub-sub.md @@ -1,7 +1,7 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/health/get-queue-builds.md b/docs/examples/1.6.x/server-deno/examples/health/get-queue-builds.md index 3b05fe66c3..f6b9388bb3 100644 --- a/docs/examples/1.6.x/server-deno/examples/health/get-queue-builds.md +++ b/docs/examples/1.6.x/server-deno/examples/health/get-queue-builds.md @@ -1,7 +1,7 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/health/get-queue-certificates.md b/docs/examples/1.6.x/server-deno/examples/health/get-queue-certificates.md index 73139a0806..e783fa52b3 100644 --- a/docs/examples/1.6.x/server-deno/examples/health/get-queue-certificates.md +++ b/docs/examples/1.6.x/server-deno/examples/health/get-queue-certificates.md @@ -1,7 +1,7 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/health/get-queue-databases.md b/docs/examples/1.6.x/server-deno/examples/health/get-queue-databases.md index 9130cb8c34..e33c7a2929 100644 --- a/docs/examples/1.6.x/server-deno/examples/health/get-queue-databases.md +++ b/docs/examples/1.6.x/server-deno/examples/health/get-queue-databases.md @@ -1,7 +1,7 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/health/get-queue-deletes.md b/docs/examples/1.6.x/server-deno/examples/health/get-queue-deletes.md index 967e27d4a7..ea7da5b587 100644 --- a/docs/examples/1.6.x/server-deno/examples/health/get-queue-deletes.md +++ b/docs/examples/1.6.x/server-deno/examples/health/get-queue-deletes.md @@ -1,7 +1,7 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/health/get-queue-functions.md b/docs/examples/1.6.x/server-deno/examples/health/get-queue-functions.md index a621d140a1..e075a65602 100644 --- a/docs/examples/1.6.x/server-deno/examples/health/get-queue-functions.md +++ b/docs/examples/1.6.x/server-deno/examples/health/get-queue-functions.md @@ -1,7 +1,7 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/health/get-queue-logs.md b/docs/examples/1.6.x/server-deno/examples/health/get-queue-logs.md index 7443b04fc4..eb7ffb028a 100644 --- a/docs/examples/1.6.x/server-deno/examples/health/get-queue-logs.md +++ b/docs/examples/1.6.x/server-deno/examples/health/get-queue-logs.md @@ -1,7 +1,7 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/health/get-queue-mails.md b/docs/examples/1.6.x/server-deno/examples/health/get-queue-mails.md index f794deb8ad..d9f61bc088 100644 --- a/docs/examples/1.6.x/server-deno/examples/health/get-queue-mails.md +++ b/docs/examples/1.6.x/server-deno/examples/health/get-queue-mails.md @@ -1,7 +1,7 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/health/get-queue-messaging.md b/docs/examples/1.6.x/server-deno/examples/health/get-queue-messaging.md index f04652e597..8bc76398d9 100644 --- a/docs/examples/1.6.x/server-deno/examples/health/get-queue-messaging.md +++ b/docs/examples/1.6.x/server-deno/examples/health/get-queue-messaging.md @@ -1,7 +1,7 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/health/get-queue-migrations.md b/docs/examples/1.6.x/server-deno/examples/health/get-queue-migrations.md index 5b3ba57351..e6f7bf543c 100644 --- a/docs/examples/1.6.x/server-deno/examples/health/get-queue-migrations.md +++ b/docs/examples/1.6.x/server-deno/examples/health/get-queue-migrations.md @@ -1,7 +1,7 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/health/get-queue-stats-resources.md b/docs/examples/1.6.x/server-deno/examples/health/get-queue-stats-resources.md new file mode 100644 index 0000000000..ecc7ebd322 --- /dev/null +++ b/docs/examples/1.6.x/server-deno/examples/health/get-queue-stats-resources.md @@ -0,0 +1,12 @@ +import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key + +const health = new Health(client); + +const response = await health.getQueueStatsResources( + null // threshold (optional) +); diff --git a/docs/examples/1.6.x/server-deno/examples/health/get-queue-usage-dump.md b/docs/examples/1.6.x/server-deno/examples/health/get-queue-usage-dump.md index 5103b031af..5efbc61624 100644 --- a/docs/examples/1.6.x/server-deno/examples/health/get-queue-usage-dump.md +++ b/docs/examples/1.6.x/server-deno/examples/health/get-queue-usage-dump.md @@ -1,7 +1,7 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/health/get-queue-usage.md b/docs/examples/1.6.x/server-deno/examples/health/get-queue-usage.md index 54dc92f7fd..46aa4db5be 100644 --- a/docs/examples/1.6.x/server-deno/examples/health/get-queue-usage.md +++ b/docs/examples/1.6.x/server-deno/examples/health/get-queue-usage.md @@ -1,7 +1,7 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/health/get-queue-webhooks.md b/docs/examples/1.6.x/server-deno/examples/health/get-queue-webhooks.md index b1c8b54665..75a1c1f833 100644 --- a/docs/examples/1.6.x/server-deno/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.6.x/server-deno/examples/health/get-queue-webhooks.md @@ -1,7 +1,7 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/health/get-queue.md b/docs/examples/1.6.x/server-deno/examples/health/get-queue.md index 078993c5b8..fe4962d351 100644 --- a/docs/examples/1.6.x/server-deno/examples/health/get-queue.md +++ b/docs/examples/1.6.x/server-deno/examples/health/get-queue.md @@ -1,7 +1,7 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/health/get-storage-local.md b/docs/examples/1.6.x/server-deno/examples/health/get-storage-local.md index afffff6e1d..0e64e1a6dd 100644 --- a/docs/examples/1.6.x/server-deno/examples/health/get-storage-local.md +++ b/docs/examples/1.6.x/server-deno/examples/health/get-storage-local.md @@ -1,7 +1,7 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/health/get-storage.md b/docs/examples/1.6.x/server-deno/examples/health/get-storage.md index c7fe4358c9..698e33b999 100644 --- a/docs/examples/1.6.x/server-deno/examples/health/get-storage.md +++ b/docs/examples/1.6.x/server-deno/examples/health/get-storage.md @@ -1,7 +1,7 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/health/get-time.md b/docs/examples/1.6.x/server-deno/examples/health/get-time.md index 658ce30624..1bb1ae0e56 100644 --- a/docs/examples/1.6.x/server-deno/examples/health/get-time.md +++ b/docs/examples/1.6.x/server-deno/examples/health/get-time.md @@ -1,7 +1,7 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/health/get.md b/docs/examples/1.6.x/server-deno/examples/health/get.md index 4483f9595e..87d7ea5396 100644 --- a/docs/examples/1.6.x/server-deno/examples/health/get.md +++ b/docs/examples/1.6.x/server-deno/examples/health/get.md @@ -1,7 +1,7 @@ import { Client, Health } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/locale/get.md b/docs/examples/1.6.x/server-deno/examples/locale/get.md index 5d52acb386..960ee6f4f3 100644 --- a/docs/examples/1.6.x/server-deno/examples/locale/get.md +++ b/docs/examples/1.6.x/server-deno/examples/locale/get.md @@ -1,7 +1,7 @@ import { Client, Locale } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/locale/list-codes.md b/docs/examples/1.6.x/server-deno/examples/locale/list-codes.md index bed3b4cd81..8f91c212df 100644 --- a/docs/examples/1.6.x/server-deno/examples/locale/list-codes.md +++ b/docs/examples/1.6.x/server-deno/examples/locale/list-codes.md @@ -1,7 +1,7 @@ import { Client, Locale } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/locale/list-continents.md b/docs/examples/1.6.x/server-deno/examples/locale/list-continents.md index 61b53851cd..55b208c741 100644 --- a/docs/examples/1.6.x/server-deno/examples/locale/list-continents.md +++ b/docs/examples/1.6.x/server-deno/examples/locale/list-continents.md @@ -1,7 +1,7 @@ import { Client, Locale } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/locale/list-countries-e-u.md b/docs/examples/1.6.x/server-deno/examples/locale/list-countries-e-u.md index 231c2f7f8b..b4fbfa0e37 100644 --- a/docs/examples/1.6.x/server-deno/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.6.x/server-deno/examples/locale/list-countries-e-u.md @@ -1,7 +1,7 @@ import { Client, Locale } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/locale/list-countries-phones.md b/docs/examples/1.6.x/server-deno/examples/locale/list-countries-phones.md index 34be4cb8da..19ac0a06cf 100644 --- a/docs/examples/1.6.x/server-deno/examples/locale/list-countries-phones.md +++ b/docs/examples/1.6.x/server-deno/examples/locale/list-countries-phones.md @@ -1,7 +1,7 @@ import { Client, Locale } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/locale/list-countries.md b/docs/examples/1.6.x/server-deno/examples/locale/list-countries.md index dfa085b0a1..67ba0fedd7 100644 --- a/docs/examples/1.6.x/server-deno/examples/locale/list-countries.md +++ b/docs/examples/1.6.x/server-deno/examples/locale/list-countries.md @@ -1,7 +1,7 @@ import { Client, Locale } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/locale/list-currencies.md b/docs/examples/1.6.x/server-deno/examples/locale/list-currencies.md index 0c80928689..986f09d237 100644 --- a/docs/examples/1.6.x/server-deno/examples/locale/list-currencies.md +++ b/docs/examples/1.6.x/server-deno/examples/locale/list-currencies.md @@ -1,7 +1,7 @@ import { Client, Locale } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/locale/list-languages.md b/docs/examples/1.6.x/server-deno/examples/locale/list-languages.md index 8625649350..91b4a857b9 100644 --- a/docs/examples/1.6.x/server-deno/examples/locale/list-languages.md +++ b/docs/examples/1.6.x/server-deno/examples/locale/list-languages.md @@ -1,7 +1,7 @@ import { Client, Locale } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/create-apns-provider.md b/docs/examples/1.6.x/server-deno/examples/messaging/create-apns-provider.md index 8b89092564..e2c33feff8 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/create-apns-provider.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/create-apns-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/create-email.md b/docs/examples/1.6.x/server-deno/examples/messaging/create-email.md index 552e9e3ed4..8db2879f9c 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/create-email.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/create-email.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/create-fcm-provider.md b/docs/examples/1.6.x/server-deno/examples/messaging/create-fcm-provider.md index bd9f0756c8..3f443d6bf5 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/create-fcm-provider.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/create-fcm-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/create-mailgun-provider.md b/docs/examples/1.6.x/server-deno/examples/messaging/create-mailgun-provider.md index 3192bb2567..32f7c94f21 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/create-mailgun-provider.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/create-mailgun-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/create-msg91provider.md b/docs/examples/1.6.x/server-deno/examples/messaging/create-msg91provider.md index bd6b0304ad..57e94188b9 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/create-msg91provider.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/create-msg91provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/create-push.md b/docs/examples/1.6.x/server-deno/examples/messaging/create-push.md index 7b41911918..7523c2978f 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/create-push.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/create-push.md @@ -1,7 +1,7 @@ import { Client, Messaging, MessagePriority } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/create-sendgrid-provider.md b/docs/examples/1.6.x/server-deno/examples/messaging/create-sendgrid-provider.md index c6d4e2a8ee..15fe7b8c7b 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/create-sendgrid-provider.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/create-sendgrid-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/create-sms.md b/docs/examples/1.6.x/server-deno/examples/messaging/create-sms.md index c316ea5ac1..264203a8be 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/create-sms.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/create-sms.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/create-smtp-provider.md b/docs/examples/1.6.x/server-deno/examples/messaging/create-smtp-provider.md index c1fb9ece50..2d6d33c62a 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/create-smtp-provider.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/create-smtp-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging, SmtpEncryption } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/create-subscriber.md b/docs/examples/1.6.x/server-deno/examples/messaging/create-subscriber.md index 26d7a97175..8be79f3f9e 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/create-subscriber.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/create-subscriber.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setJWT('<YOUR_JWT>'); // Your secret JSON Web Token diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/create-telesign-provider.md b/docs/examples/1.6.x/server-deno/examples/messaging/create-telesign-provider.md index 391483a8af..2bb95c4e2d 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/create-telesign-provider.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/create-telesign-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/create-textmagic-provider.md b/docs/examples/1.6.x/server-deno/examples/messaging/create-textmagic-provider.md index 934372f82f..4657493664 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/create-textmagic-provider.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/create-textmagic-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/create-topic.md b/docs/examples/1.6.x/server-deno/examples/messaging/create-topic.md index 75d1103e5e..c2ca3a4ed2 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/create-topic.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/create-topic.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/create-twilio-provider.md b/docs/examples/1.6.x/server-deno/examples/messaging/create-twilio-provider.md index ee17992c71..aa7bbf6a18 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/create-twilio-provider.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/create-twilio-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/create-vonage-provider.md b/docs/examples/1.6.x/server-deno/examples/messaging/create-vonage-provider.md index 3e8dd36ec7..5fe734fb0c 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/create-vonage-provider.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/create-vonage-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/delete-provider.md b/docs/examples/1.6.x/server-deno/examples/messaging/delete-provider.md index 8ade1615f3..7bc99ef3b5 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/delete-provider.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/delete-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/delete-subscriber.md b/docs/examples/1.6.x/server-deno/examples/messaging/delete-subscriber.md index 1df3175460..147456887d 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/delete-subscriber.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/delete-subscriber.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setJWT('<YOUR_JWT>'); // Your secret JSON Web Token diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/delete-topic.md b/docs/examples/1.6.x/server-deno/examples/messaging/delete-topic.md index fb50be8d5e..aa1359cf28 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/delete-topic.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/delete-topic.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/delete.md b/docs/examples/1.6.x/server-deno/examples/messaging/delete.md index edd3456597..0442da1e8b 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/delete.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/delete.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/get-message.md b/docs/examples/1.6.x/server-deno/examples/messaging/get-message.md index 42d46131aa..9565a611ae 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/get-message.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/get-message.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/get-provider.md b/docs/examples/1.6.x/server-deno/examples/messaging/get-provider.md index fe44476934..8e5d426418 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/get-provider.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/get-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/get-subscriber.md b/docs/examples/1.6.x/server-deno/examples/messaging/get-subscriber.md index abfc167056..e9377a532f 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/get-subscriber.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/get-subscriber.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/get-topic.md b/docs/examples/1.6.x/server-deno/examples/messaging/get-topic.md index 0e10488116..35f1853ada 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/get-topic.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/get-topic.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/list-message-logs.md b/docs/examples/1.6.x/server-deno/examples/messaging/list-message-logs.md index b9424fa7cc..f39a90037a 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/list-message-logs.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/list-message-logs.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/list-messages.md b/docs/examples/1.6.x/server-deno/examples/messaging/list-messages.md index 159d61b585..50b1a10f4b 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/list-messages.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/list-messages.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/list-provider-logs.md b/docs/examples/1.6.x/server-deno/examples/messaging/list-provider-logs.md index af33244a7d..c4b20a8306 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/list-provider-logs.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/list-provider-logs.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/list-providers.md b/docs/examples/1.6.x/server-deno/examples/messaging/list-providers.md index 8aa51c4474..7c877c25de 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/list-providers.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/list-providers.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/list-subscriber-logs.md b/docs/examples/1.6.x/server-deno/examples/messaging/list-subscriber-logs.md index 036b69af0a..0d14f85777 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/list-subscriber-logs.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/list-subscriber-logs.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/list-subscribers.md b/docs/examples/1.6.x/server-deno/examples/messaging/list-subscribers.md index bc820a4283..384bb8fe4f 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/list-subscribers.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/list-subscribers.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/list-targets.md b/docs/examples/1.6.x/server-deno/examples/messaging/list-targets.md index f2e7d47058..5ce2082236 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/list-targets.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/list-targets.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/list-topic-logs.md b/docs/examples/1.6.x/server-deno/examples/messaging/list-topic-logs.md index bb57ea99ea..d2c771d480 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/list-topic-logs.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/list-topic-logs.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/list-topics.md b/docs/examples/1.6.x/server-deno/examples/messaging/list-topics.md index 4933b229fe..1d0ec43066 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/list-topics.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/list-topics.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/update-apns-provider.md b/docs/examples/1.6.x/server-deno/examples/messaging/update-apns-provider.md index 1786ad44ba..71bd038edb 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/update-apns-provider.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/update-apns-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/update-email.md b/docs/examples/1.6.x/server-deno/examples/messaging/update-email.md index 534bc3f2f3..c8b0558250 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/update-email.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/update-email.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/update-fcm-provider.md b/docs/examples/1.6.x/server-deno/examples/messaging/update-fcm-provider.md index f9d1533d5f..eb71dddd1a 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/update-fcm-provider.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/update-fcm-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/update-mailgun-provider.md b/docs/examples/1.6.x/server-deno/examples/messaging/update-mailgun-provider.md index 7de8939ff5..f80d6a4b1d 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/update-mailgun-provider.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/update-mailgun-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/update-msg91provider.md b/docs/examples/1.6.x/server-deno/examples/messaging/update-msg91provider.md index 5cbb3d9a74..36943f2fa0 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/update-msg91provider.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/update-msg91provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/update-push.md b/docs/examples/1.6.x/server-deno/examples/messaging/update-push.md index 11437fabe1..c7f068604b 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/update-push.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/update-push.md @@ -1,7 +1,7 @@ import { Client, Messaging, MessagePriority } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/update-sendgrid-provider.md b/docs/examples/1.6.x/server-deno/examples/messaging/update-sendgrid-provider.md index 66dffb18f9..0ec96db2f8 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/update-sendgrid-provider.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/update-sendgrid-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/update-sms.md b/docs/examples/1.6.x/server-deno/examples/messaging/update-sms.md index a027f1dda9..9c1dc4a5dc 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/update-sms.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/update-sms.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/update-smtp-provider.md b/docs/examples/1.6.x/server-deno/examples/messaging/update-smtp-provider.md index 6eb90cebbd..9d59bb3646 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/update-smtp-provider.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/update-smtp-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging, SmtpEncryption } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/update-telesign-provider.md b/docs/examples/1.6.x/server-deno/examples/messaging/update-telesign-provider.md index cc8448f5b2..052d394f05 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/update-telesign-provider.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/update-telesign-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/update-textmagic-provider.md b/docs/examples/1.6.x/server-deno/examples/messaging/update-textmagic-provider.md index fa12103524..2163792f83 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/update-textmagic-provider.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/update-textmagic-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/update-topic.md b/docs/examples/1.6.x/server-deno/examples/messaging/update-topic.md index 1b60af0f37..5f7f77901b 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/update-topic.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/update-topic.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/update-twilio-provider.md b/docs/examples/1.6.x/server-deno/examples/messaging/update-twilio-provider.md index e63a54cc11..5abdd65a9c 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/update-twilio-provider.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/update-twilio-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/messaging/update-vonage-provider.md b/docs/examples/1.6.x/server-deno/examples/messaging/update-vonage-provider.md index c4c68b290c..c8fa90d9ab 100644 --- a/docs/examples/1.6.x/server-deno/examples/messaging/update-vonage-provider.md +++ b/docs/examples/1.6.x/server-deno/examples/messaging/update-vonage-provider.md @@ -1,7 +1,7 @@ import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/storage/create-bucket.md b/docs/examples/1.6.x/server-deno/examples/storage/create-bucket.md index 095f390e83..e7d3e9006a 100644 --- a/docs/examples/1.6.x/server-deno/examples/storage/create-bucket.md +++ b/docs/examples/1.6.x/server-deno/examples/storage/create-bucket.md @@ -1,7 +1,7 @@ import { Client, Storage, } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/storage/create-file.md b/docs/examples/1.6.x/server-deno/examples/storage/create-file.md index 9a420bb65c..d8912c6c1e 100644 --- a/docs/examples/1.6.x/server-deno/examples/storage/create-file.md +++ b/docs/examples/1.6.x/server-deno/examples/storage/create-file.md @@ -1,7 +1,7 @@ import { Client, Storage } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/storage/delete-bucket.md b/docs/examples/1.6.x/server-deno/examples/storage/delete-bucket.md index eafb60eb77..f0d71467d4 100644 --- a/docs/examples/1.6.x/server-deno/examples/storage/delete-bucket.md +++ b/docs/examples/1.6.x/server-deno/examples/storage/delete-bucket.md @@ -1,7 +1,7 @@ import { Client, Storage } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/storage/delete-file.md b/docs/examples/1.6.x/server-deno/examples/storage/delete-file.md index 554dbeb4cd..2a1f95ed18 100644 --- a/docs/examples/1.6.x/server-deno/examples/storage/delete-file.md +++ b/docs/examples/1.6.x/server-deno/examples/storage/delete-file.md @@ -1,7 +1,7 @@ import { Client, Storage } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/storage/get-bucket.md b/docs/examples/1.6.x/server-deno/examples/storage/get-bucket.md index 1e0107edb8..a695021b72 100644 --- a/docs/examples/1.6.x/server-deno/examples/storage/get-bucket.md +++ b/docs/examples/1.6.x/server-deno/examples/storage/get-bucket.md @@ -1,7 +1,7 @@ import { Client, Storage } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/storage/get-file-download.md b/docs/examples/1.6.x/server-deno/examples/storage/get-file-download.md index b3612f297d..8319e64f09 100644 --- a/docs/examples/1.6.x/server-deno/examples/storage/get-file-download.md +++ b/docs/examples/1.6.x/server-deno/examples/storage/get-file-download.md @@ -1,7 +1,7 @@ import { Client, Storage } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/storage/get-file-preview.md b/docs/examples/1.6.x/server-deno/examples/storage/get-file-preview.md index d1a91c25aa..ed87c3549e 100644 --- a/docs/examples/1.6.x/server-deno/examples/storage/get-file-preview.md +++ b/docs/examples/1.6.x/server-deno/examples/storage/get-file-preview.md @@ -1,7 +1,7 @@ import { Client, Storage, ImageGravity, ImageFormat } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/storage/get-file-view.md b/docs/examples/1.6.x/server-deno/examples/storage/get-file-view.md index 14e28a07b7..b18cffcd01 100644 --- a/docs/examples/1.6.x/server-deno/examples/storage/get-file-view.md +++ b/docs/examples/1.6.x/server-deno/examples/storage/get-file-view.md @@ -1,7 +1,7 @@ import { Client, Storage } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/storage/get-file.md b/docs/examples/1.6.x/server-deno/examples/storage/get-file.md index 0ad049a041..5479dc569d 100644 --- a/docs/examples/1.6.x/server-deno/examples/storage/get-file.md +++ b/docs/examples/1.6.x/server-deno/examples/storage/get-file.md @@ -1,7 +1,7 @@ import { Client, Storage } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/storage/list-buckets.md b/docs/examples/1.6.x/server-deno/examples/storage/list-buckets.md index 667f65f87d..9286bd488c 100644 --- a/docs/examples/1.6.x/server-deno/examples/storage/list-buckets.md +++ b/docs/examples/1.6.x/server-deno/examples/storage/list-buckets.md @@ -1,7 +1,7 @@ import { Client, Storage } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/storage/list-files.md b/docs/examples/1.6.x/server-deno/examples/storage/list-files.md index 7d18165f33..316875cf51 100644 --- a/docs/examples/1.6.x/server-deno/examples/storage/list-files.md +++ b/docs/examples/1.6.x/server-deno/examples/storage/list-files.md @@ -1,7 +1,7 @@ import { Client, Storage } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/storage/update-bucket.md b/docs/examples/1.6.x/server-deno/examples/storage/update-bucket.md index 7af2c1a6a5..1e70f16ef3 100644 --- a/docs/examples/1.6.x/server-deno/examples/storage/update-bucket.md +++ b/docs/examples/1.6.x/server-deno/examples/storage/update-bucket.md @@ -1,7 +1,7 @@ import { Client, Storage, } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/storage/update-file.md b/docs/examples/1.6.x/server-deno/examples/storage/update-file.md index 153ce08071..683b0b7304 100644 --- a/docs/examples/1.6.x/server-deno/examples/storage/update-file.md +++ b/docs/examples/1.6.x/server-deno/examples/storage/update-file.md @@ -1,7 +1,7 @@ import { Client, Storage } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/teams/create-membership.md b/docs/examples/1.6.x/server-deno/examples/teams/create-membership.md index 69465f5efa..d8e855f852 100644 --- a/docs/examples/1.6.x/server-deno/examples/teams/create-membership.md +++ b/docs/examples/1.6.x/server-deno/examples/teams/create-membership.md @@ -1,7 +1,7 @@ import { Client, Teams } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/teams/create.md b/docs/examples/1.6.x/server-deno/examples/teams/create.md index abcc0fd6aa..495f26e006 100644 --- a/docs/examples/1.6.x/server-deno/examples/teams/create.md +++ b/docs/examples/1.6.x/server-deno/examples/teams/create.md @@ -1,7 +1,7 @@ import { Client, Teams } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/teams/delete-membership.md b/docs/examples/1.6.x/server-deno/examples/teams/delete-membership.md index a2a4807922..a5b03875d5 100644 --- a/docs/examples/1.6.x/server-deno/examples/teams/delete-membership.md +++ b/docs/examples/1.6.x/server-deno/examples/teams/delete-membership.md @@ -1,7 +1,7 @@ import { Client, Teams } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/teams/delete.md b/docs/examples/1.6.x/server-deno/examples/teams/delete.md index 05d35f0cbf..556fbb5ea5 100644 --- a/docs/examples/1.6.x/server-deno/examples/teams/delete.md +++ b/docs/examples/1.6.x/server-deno/examples/teams/delete.md @@ -1,7 +1,7 @@ import { Client, Teams } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/teams/get-membership.md b/docs/examples/1.6.x/server-deno/examples/teams/get-membership.md index 9f9722ebde..75283bffc7 100644 --- a/docs/examples/1.6.x/server-deno/examples/teams/get-membership.md +++ b/docs/examples/1.6.x/server-deno/examples/teams/get-membership.md @@ -1,7 +1,7 @@ import { Client, Teams } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/teams/get-prefs.md b/docs/examples/1.6.x/server-deno/examples/teams/get-prefs.md index d741911586..442d8b139a 100644 --- a/docs/examples/1.6.x/server-deno/examples/teams/get-prefs.md +++ b/docs/examples/1.6.x/server-deno/examples/teams/get-prefs.md @@ -1,7 +1,7 @@ import { Client, Teams } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/teams/get.md b/docs/examples/1.6.x/server-deno/examples/teams/get.md index f5d7c12a86..2e5803ca7b 100644 --- a/docs/examples/1.6.x/server-deno/examples/teams/get.md +++ b/docs/examples/1.6.x/server-deno/examples/teams/get.md @@ -1,7 +1,7 @@ import { Client, Teams } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/teams/list-memberships.md b/docs/examples/1.6.x/server-deno/examples/teams/list-memberships.md index 01988a7d17..0b7e6638e6 100644 --- a/docs/examples/1.6.x/server-deno/examples/teams/list-memberships.md +++ b/docs/examples/1.6.x/server-deno/examples/teams/list-memberships.md @@ -1,7 +1,7 @@ import { Client, Teams } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/teams/list.md b/docs/examples/1.6.x/server-deno/examples/teams/list.md index dd295a013a..6c08b5c80a 100644 --- a/docs/examples/1.6.x/server-deno/examples/teams/list.md +++ b/docs/examples/1.6.x/server-deno/examples/teams/list.md @@ -1,7 +1,7 @@ import { Client, Teams } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/teams/update-membership-status.md b/docs/examples/1.6.x/server-deno/examples/teams/update-membership-status.md index 349ae6d12d..48fc9cd8be 100644 --- a/docs/examples/1.6.x/server-deno/examples/teams/update-membership-status.md +++ b/docs/examples/1.6.x/server-deno/examples/teams/update-membership-status.md @@ -1,7 +1,7 @@ import { Client, Teams } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/teams/update-membership.md b/docs/examples/1.6.x/server-deno/examples/teams/update-membership.md index 0f03ecb8dd..be8651d724 100644 --- a/docs/examples/1.6.x/server-deno/examples/teams/update-membership.md +++ b/docs/examples/1.6.x/server-deno/examples/teams/update-membership.md @@ -1,7 +1,7 @@ import { Client, Teams } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/teams/update-name.md b/docs/examples/1.6.x/server-deno/examples/teams/update-name.md index 4e678ea881..6e2144b897 100644 --- a/docs/examples/1.6.x/server-deno/examples/teams/update-name.md +++ b/docs/examples/1.6.x/server-deno/examples/teams/update-name.md @@ -1,7 +1,7 @@ import { Client, Teams } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/teams/update-prefs.md b/docs/examples/1.6.x/server-deno/examples/teams/update-prefs.md index 9d11a5dd38..dea8a368c4 100644 --- a/docs/examples/1.6.x/server-deno/examples/teams/update-prefs.md +++ b/docs/examples/1.6.x/server-deno/examples/teams/update-prefs.md @@ -1,7 +1,7 @@ import { Client, Teams } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-deno/examples/users/create-argon2user.md b/docs/examples/1.6.x/server-deno/examples/users/create-argon2user.md index 1dec8dc5c1..7a6e0fb144 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/create-argon2user.md +++ b/docs/examples/1.6.x/server-deno/examples/users/create-argon2user.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/create-bcrypt-user.md b/docs/examples/1.6.x/server-deno/examples/users/create-bcrypt-user.md index a57d1aeaa8..ddfb7f3b12 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.6.x/server-deno/examples/users/create-bcrypt-user.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/create-j-w-t.md b/docs/examples/1.6.x/server-deno/examples/users/create-j-w-t.md index bc5205d006..4c433aebdd 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/create-j-w-t.md +++ b/docs/examples/1.6.x/server-deno/examples/users/create-j-w-t.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/create-m-d5user.md b/docs/examples/1.6.x/server-deno/examples/users/create-m-d5user.md index 095d19f758..8cc63cedbd 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/create-m-d5user.md +++ b/docs/examples/1.6.x/server-deno/examples/users/create-m-d5user.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/create-mfa-recovery-codes.md b/docs/examples/1.6.x/server-deno/examples/users/create-mfa-recovery-codes.md index da3741a14a..98ba71a845 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/create-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-deno/examples/users/create-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/create-p-h-pass-user.md b/docs/examples/1.6.x/server-deno/examples/users/create-p-h-pass-user.md index d3ada29378..750b299074 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.6.x/server-deno/examples/users/create-p-h-pass-user.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/create-s-h-a-user.md b/docs/examples/1.6.x/server-deno/examples/users/create-s-h-a-user.md index 0d63f1b29c..e243a1d6ee 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.6.x/server-deno/examples/users/create-s-h-a-user.md @@ -1,7 +1,7 @@ import { Client, Users, PasswordHash } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/create-scrypt-modified-user.md b/docs/examples/1.6.x/server-deno/examples/users/create-scrypt-modified-user.md index 0ee061e743..0d6a65b8b4 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.6.x/server-deno/examples/users/create-scrypt-modified-user.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/create-scrypt-user.md b/docs/examples/1.6.x/server-deno/examples/users/create-scrypt-user.md index fcf4231613..87f2dbb09e 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/create-scrypt-user.md +++ b/docs/examples/1.6.x/server-deno/examples/users/create-scrypt-user.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/create-session.md b/docs/examples/1.6.x/server-deno/examples/users/create-session.md index 07c1623a61..37d6948942 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/create-session.md +++ b/docs/examples/1.6.x/server-deno/examples/users/create-session.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/create-target.md b/docs/examples/1.6.x/server-deno/examples/users/create-target.md index 82a44f938a..a36072a5de 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/create-target.md +++ b/docs/examples/1.6.x/server-deno/examples/users/create-target.md @@ -1,7 +1,7 @@ import { Client, Users, MessagingProviderType } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/create-token.md b/docs/examples/1.6.x/server-deno/examples/users/create-token.md index aa15668a79..91885e15f3 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/create-token.md +++ b/docs/examples/1.6.x/server-deno/examples/users/create-token.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/create.md b/docs/examples/1.6.x/server-deno/examples/users/create.md index cd7c5b19bd..e0eb5856d1 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/create.md +++ b/docs/examples/1.6.x/server-deno/examples/users/create.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/delete-identity.md b/docs/examples/1.6.x/server-deno/examples/users/delete-identity.md index 3a4280cf16..7aea654645 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/delete-identity.md +++ b/docs/examples/1.6.x/server-deno/examples/users/delete-identity.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/delete-mfa-authenticator.md b/docs/examples/1.6.x/server-deno/examples/users/delete-mfa-authenticator.md index 92078bbb15..2d7595005e 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/delete-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-deno/examples/users/delete-mfa-authenticator.md @@ -1,7 +1,7 @@ import { Client, Users, AuthenticatorType } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/delete-session.md b/docs/examples/1.6.x/server-deno/examples/users/delete-session.md index 0f9c12b57c..0ce82fe50f 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/delete-session.md +++ b/docs/examples/1.6.x/server-deno/examples/users/delete-session.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/delete-sessions.md b/docs/examples/1.6.x/server-deno/examples/users/delete-sessions.md index 94e2f84133..f80300b205 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/delete-sessions.md +++ b/docs/examples/1.6.x/server-deno/examples/users/delete-sessions.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/delete-target.md b/docs/examples/1.6.x/server-deno/examples/users/delete-target.md index ee6a280ab3..9080a962e6 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/delete-target.md +++ b/docs/examples/1.6.x/server-deno/examples/users/delete-target.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/delete.md b/docs/examples/1.6.x/server-deno/examples/users/delete.md index 3c43d5a72c..7ac1bf1d3a 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/delete.md +++ b/docs/examples/1.6.x/server-deno/examples/users/delete.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/get-mfa-recovery-codes.md b/docs/examples/1.6.x/server-deno/examples/users/get-mfa-recovery-codes.md index e63ae70917..f78c0bf1b0 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-deno/examples/users/get-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/get-prefs.md b/docs/examples/1.6.x/server-deno/examples/users/get-prefs.md index ef38e96f0e..ef1be1e18b 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/get-prefs.md +++ b/docs/examples/1.6.x/server-deno/examples/users/get-prefs.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/get-target.md b/docs/examples/1.6.x/server-deno/examples/users/get-target.md index e3d8568cc4..301ee6e7ed 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/get-target.md +++ b/docs/examples/1.6.x/server-deno/examples/users/get-target.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/get.md b/docs/examples/1.6.x/server-deno/examples/users/get.md index d5c2155e49..8e41ed6350 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/get.md +++ b/docs/examples/1.6.x/server-deno/examples/users/get.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/list-identities.md b/docs/examples/1.6.x/server-deno/examples/users/list-identities.md index c12a37eb51..6ac439547b 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/list-identities.md +++ b/docs/examples/1.6.x/server-deno/examples/users/list-identities.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/list-logs.md b/docs/examples/1.6.x/server-deno/examples/users/list-logs.md index 4fc2e6091d..983ffba299 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/list-logs.md +++ b/docs/examples/1.6.x/server-deno/examples/users/list-logs.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/list-memberships.md b/docs/examples/1.6.x/server-deno/examples/users/list-memberships.md index 55ca2593cb..7a55a2120b 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/list-memberships.md +++ b/docs/examples/1.6.x/server-deno/examples/users/list-memberships.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/list-mfa-factors.md b/docs/examples/1.6.x/server-deno/examples/users/list-mfa-factors.md index 7d368b3d37..34b65afac3 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/list-mfa-factors.md +++ b/docs/examples/1.6.x/server-deno/examples/users/list-mfa-factors.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/list-sessions.md b/docs/examples/1.6.x/server-deno/examples/users/list-sessions.md index c425ded1e0..314f277d7a 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/list-sessions.md +++ b/docs/examples/1.6.x/server-deno/examples/users/list-sessions.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/list-targets.md b/docs/examples/1.6.x/server-deno/examples/users/list-targets.md index e9a26ff6b0..9ed2dda4ce 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/list-targets.md +++ b/docs/examples/1.6.x/server-deno/examples/users/list-targets.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/list.md b/docs/examples/1.6.x/server-deno/examples/users/list.md index d4d9da33fa..488fbdc09c 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/list.md +++ b/docs/examples/1.6.x/server-deno/examples/users/list.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/update-email-verification.md b/docs/examples/1.6.x/server-deno/examples/users/update-email-verification.md index 76f6e44341..3243f21c6f 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/update-email-verification.md +++ b/docs/examples/1.6.x/server-deno/examples/users/update-email-verification.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/update-email.md b/docs/examples/1.6.x/server-deno/examples/users/update-email.md index 80b727bfa2..f609cab463 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/update-email.md +++ b/docs/examples/1.6.x/server-deno/examples/users/update-email.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/update-labels.md b/docs/examples/1.6.x/server-deno/examples/users/update-labels.md index c41955caa1..5a23298179 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/update-labels.md +++ b/docs/examples/1.6.x/server-deno/examples/users/update-labels.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/update-mfa-recovery-codes.md b/docs/examples/1.6.x/server-deno/examples/users/update-mfa-recovery-codes.md index 201ffba616..a74577e9cc 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/update-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-deno/examples/users/update-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/update-mfa.md b/docs/examples/1.6.x/server-deno/examples/users/update-mfa.md index 3f061ef366..717f8d6ab7 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/update-mfa.md +++ b/docs/examples/1.6.x/server-deno/examples/users/update-mfa.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/update-name.md b/docs/examples/1.6.x/server-deno/examples/users/update-name.md index df53c0ffb9..35fc853e3f 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/update-name.md +++ b/docs/examples/1.6.x/server-deno/examples/users/update-name.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/update-password.md b/docs/examples/1.6.x/server-deno/examples/users/update-password.md index 451604f20b..8366b5c4c2 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/update-password.md +++ b/docs/examples/1.6.x/server-deno/examples/users/update-password.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/update-phone-verification.md b/docs/examples/1.6.x/server-deno/examples/users/update-phone-verification.md index 4f97a18c48..088fd1eb57 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/update-phone-verification.md +++ b/docs/examples/1.6.x/server-deno/examples/users/update-phone-verification.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/update-phone.md b/docs/examples/1.6.x/server-deno/examples/users/update-phone.md index d0ae0d7a08..a8e47a62b8 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/update-phone.md +++ b/docs/examples/1.6.x/server-deno/examples/users/update-phone.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/update-prefs.md b/docs/examples/1.6.x/server-deno/examples/users/update-prefs.md index 81a329400c..cb8919a98f 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/update-prefs.md +++ b/docs/examples/1.6.x/server-deno/examples/users/update-prefs.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/update-status.md b/docs/examples/1.6.x/server-deno/examples/users/update-status.md index 5b1c9892d7..1c672a4d25 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/update-status.md +++ b/docs/examples/1.6.x/server-deno/examples/users/update-status.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-deno/examples/users/update-target.md b/docs/examples/1.6.x/server-deno/examples/users/update-target.md index 8a816c8df0..4524748c55 100644 --- a/docs/examples/1.6.x/server-deno/examples/users/update-target.md +++ b/docs/examples/1.6.x/server-deno/examples/users/update-target.md @@ -1,7 +1,7 @@ import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/create-anonymous-session.md b/docs/examples/1.6.x/server-dotnet/examples/account/create-anonymous-session.md index 4ee42ff911..fc807aa4e5 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/create-anonymous-session.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/create-anonymous-session.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/create-email-password-session.md b/docs/examples/1.6.x/server-dotnet/examples/account/create-email-password-session.md index 4b2331223f..abf5a41317 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/create-email-password-session.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/create-email-password-session.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/create-email-token.md b/docs/examples/1.6.x/server-dotnet/examples/account/create-email-token.md index 954848e637..69862feed0 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/create-email-token.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/create-email-token.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/create-j-w-t.md b/docs/examples/1.6.x/server-dotnet/examples/account/create-j-w-t.md index 200b025191..423cbed2b3 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/create-j-w-t.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/create-j-w-t.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/create-magic-u-r-l-token.md b/docs/examples/1.6.x/server-dotnet/examples/account/create-magic-u-r-l-token.md index 1a435de405..21bcef6bed 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/create-magic-u-r-l-token.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/create-mfa-authenticator.md b/docs/examples/1.6.x/server-dotnet/examples/account/create-mfa-authenticator.md index 284f44e24e..bc54970469 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/create-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/create-mfa-authenticator.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/create-mfa-challenge.md b/docs/examples/1.6.x/server-dotnet/examples/account/create-mfa-challenge.md index 5a9ac58d15..734133f2bd 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/create-mfa-challenge.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/create-mfa-recovery-codes.md b/docs/examples/1.6.x/server-dotnet/examples/account/create-mfa-recovery-codes.md index 647e11a527..1922a45c0a 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/create-mfa-recovery-codes.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/create-o-auth2token.md b/docs/examples/1.6.x/server-dotnet/examples/account/create-o-auth2token.md index 2936426d33..5b405449b1 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/create-o-auth2token.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/create-o-auth2token.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/create-phone-token.md b/docs/examples/1.6.x/server-dotnet/examples/account/create-phone-token.md index 131f7c2e47..0d17f5ecee 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/create-phone-token.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/create-phone-token.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/create-phone-verification.md b/docs/examples/1.6.x/server-dotnet/examples/account/create-phone-verification.md index c422790e11..185fc46e0d 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/create-phone-verification.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/create-phone-verification.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/create-recovery.md b/docs/examples/1.6.x/server-dotnet/examples/account/create-recovery.md index f50a065cd1..c2e3571d56 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/create-recovery.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/create-recovery.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/create-session.md b/docs/examples/1.6.x/server-dotnet/examples/account/create-session.md index 0c0bfae941..2da46ce62b 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/create-session.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/create-session.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/create-verification.md b/docs/examples/1.6.x/server-dotnet/examples/account/create-verification.md index 64f54f7c0e..92222ea88a 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/create-verification.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/create-verification.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/create.md b/docs/examples/1.6.x/server-dotnet/examples/account/create.md index 5deeb88514..83c1d54251 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/create.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/create.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/delete-identity.md b/docs/examples/1.6.x/server-dotnet/examples/account/delete-identity.md index c70eed7931..9b084800d4 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/delete-identity.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/delete-identity.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/delete-mfa-authenticator.md b/docs/examples/1.6.x/server-dotnet/examples/account/delete-mfa-authenticator.md index dd36da1a34..2b27cb6ad8 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/delete-mfa-authenticator.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/delete-session.md b/docs/examples/1.6.x/server-dotnet/examples/account/delete-session.md index 3be113d517..0bca7c172a 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/delete-session.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/delete-session.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/delete-sessions.md b/docs/examples/1.6.x/server-dotnet/examples/account/delete-sessions.md index 5d7aecc200..5b0e7b5cba 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/delete-sessions.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/delete-sessions.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.6.x/server-dotnet/examples/account/get-mfa-recovery-codes.md index c798ad3a48..cc39db191d 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/get-mfa-recovery-codes.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/get-prefs.md b/docs/examples/1.6.x/server-dotnet/examples/account/get-prefs.md index 0c5ee40a35..b0fce89a3f 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/get-prefs.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/get-prefs.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/get-session.md b/docs/examples/1.6.x/server-dotnet/examples/account/get-session.md index 82bff87388..9aa7abaee0 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/get-session.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/get-session.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/get.md b/docs/examples/1.6.x/server-dotnet/examples/account/get.md index c87f4dda16..eecb890b30 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/get.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/get.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/list-identities.md b/docs/examples/1.6.x/server-dotnet/examples/account/list-identities.md index 6d94a15744..661fab9f4e 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/list-identities.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/list-identities.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/list-logs.md b/docs/examples/1.6.x/server-dotnet/examples/account/list-logs.md index f4c20fa38b..8e5eadf961 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/list-logs.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/list-logs.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/list-mfa-factors.md b/docs/examples/1.6.x/server-dotnet/examples/account/list-mfa-factors.md index f6ef37882a..291534920f 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/list-mfa-factors.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/list-mfa-factors.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/list-sessions.md b/docs/examples/1.6.x/server-dotnet/examples/account/list-sessions.md index e6d634b120..6304383cb3 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/list-sessions.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/list-sessions.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/update-email.md b/docs/examples/1.6.x/server-dotnet/examples/account/update-email.md index c7934f8d19..06e2a2a9df 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/update-email.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/update-email.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/update-m-f-a.md b/docs/examples/1.6.x/server-dotnet/examples/account/update-m-f-a.md index 7cee1ad712..b9405e7e2c 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/update-m-f-a.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/update-m-f-a.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.6.x/server-dotnet/examples/account/update-magic-u-r-l-session.md index 5ecf64f74f..a8d8312e18 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/update-magic-u-r-l-session.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/update-mfa-authenticator.md b/docs/examples/1.6.x/server-dotnet/examples/account/update-mfa-authenticator.md index ac8ce0631f..051653d19a 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/update-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/update-mfa-authenticator.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/update-mfa-challenge.md b/docs/examples/1.6.x/server-dotnet/examples/account/update-mfa-challenge.md index ec32f8c900..d273505839 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/update-mfa-challenge.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/update-mfa-recovery-codes.md b/docs/examples/1.6.x/server-dotnet/examples/account/update-mfa-recovery-codes.md index 1e031e9c19..7daaf93213 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/update-mfa-recovery-codes.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/update-name.md b/docs/examples/1.6.x/server-dotnet/examples/account/update-name.md index e84fb9a96e..6088226fc8 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/update-name.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/update-name.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/update-password.md b/docs/examples/1.6.x/server-dotnet/examples/account/update-password.md index e0524a6f73..f24c703a9a 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/update-password.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/update-password.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/update-phone-session.md b/docs/examples/1.6.x/server-dotnet/examples/account/update-phone-session.md index 5004730502..2f8b091999 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/update-phone-session.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/update-phone-session.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/update-phone-verification.md b/docs/examples/1.6.x/server-dotnet/examples/account/update-phone-verification.md index b6b310401b..a100c0f2e2 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/update-phone-verification.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/update-phone-verification.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/update-phone.md b/docs/examples/1.6.x/server-dotnet/examples/account/update-phone.md index dab96b6f6b..224001dd6e 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/update-phone.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/update-phone.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/update-prefs.md b/docs/examples/1.6.x/server-dotnet/examples/account/update-prefs.md index 82d892d8a3..0b348a9c74 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/update-prefs.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/update-prefs.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/update-recovery.md b/docs/examples/1.6.x/server-dotnet/examples/account/update-recovery.md index efcea1ee10..188462229b 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/update-recovery.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/update-recovery.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/update-session.md b/docs/examples/1.6.x/server-dotnet/examples/account/update-session.md index 9d7eddc6d6..a98644c032 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/update-session.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/update-session.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/update-status.md b/docs/examples/1.6.x/server-dotnet/examples/account/update-status.md index 9c9fc01c40..d9c5b41d72 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/update-status.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/update-status.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/account/update-verification.md b/docs/examples/1.6.x/server-dotnet/examples/account/update-verification.md index d8cc8adedf..b9dd1ded40 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/account/update-verification.md +++ b/docs/examples/1.6.x/server-dotnet/examples/account/update-verification.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/avatars/get-browser.md b/docs/examples/1.6.x/server-dotnet/examples/avatars/get-browser.md index 0fc9ac7316..888f97e288 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/avatars/get-browser.md +++ b/docs/examples/1.6.x/server-dotnet/examples/avatars/get-browser.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/avatars/get-credit-card.md b/docs/examples/1.6.x/server-dotnet/examples/avatars/get-credit-card.md index 3dc07cfc43..01ee3e533e 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/avatars/get-credit-card.md +++ b/docs/examples/1.6.x/server-dotnet/examples/avatars/get-credit-card.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/avatars/get-favicon.md b/docs/examples/1.6.x/server-dotnet/examples/avatars/get-favicon.md index f7a3d9fed6..345d856717 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/avatars/get-favicon.md +++ b/docs/examples/1.6.x/server-dotnet/examples/avatars/get-favicon.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/avatars/get-flag.md b/docs/examples/1.6.x/server-dotnet/examples/avatars/get-flag.md index 734d7d7517..a4890b962e 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/avatars/get-flag.md +++ b/docs/examples/1.6.x/server-dotnet/examples/avatars/get-flag.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/avatars/get-image.md b/docs/examples/1.6.x/server-dotnet/examples/avatars/get-image.md index 942bffb258..4a67e58517 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/avatars/get-image.md +++ b/docs/examples/1.6.x/server-dotnet/examples/avatars/get-image.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/avatars/get-initials.md b/docs/examples/1.6.x/server-dotnet/examples/avatars/get-initials.md index 5b47eea474..55427ff622 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/avatars/get-initials.md +++ b/docs/examples/1.6.x/server-dotnet/examples/avatars/get-initials.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/avatars/get-q-r.md b/docs/examples/1.6.x/server-dotnet/examples/avatars/get-q-r.md index b90ed074d1..4591b7d99c 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/avatars/get-q-r.md +++ b/docs/examples/1.6.x/server-dotnet/examples/avatars/get-q-r.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/create-boolean-attribute.md b/docs/examples/1.6.x/server-dotnet/examples/databases/create-boolean-attribute.md index 0f113b0582..8807648521 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/create-boolean-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/create-collection.md b/docs/examples/1.6.x/server-dotnet/examples/databases/create-collection.md index 6b03dacd35..75a1c5c311 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/create-collection.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/create-collection.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/create-datetime-attribute.md b/docs/examples/1.6.x/server-dotnet/examples/databases/create-datetime-attribute.md index fac8f1b983..7be723379e 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/create-datetime-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/create-document.md b/docs/examples/1.6.x/server-dotnet/examples/databases/create-document.md index 438928d2dc..52254e0c25 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/create-document.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/create-document.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/create-email-attribute.md b/docs/examples/1.6.x/server-dotnet/examples/databases/create-email-attribute.md index 640e8ee09a..df00119ff9 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/create-email-attribute.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/create-email-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/create-enum-attribute.md b/docs/examples/1.6.x/server-dotnet/examples/databases/create-enum-attribute.md index 3b0a78764f..d85e8a72a9 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/create-enum-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/create-float-attribute.md b/docs/examples/1.6.x/server-dotnet/examples/databases/create-float-attribute.md index 620c451d78..bc03fac7ae 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/create-float-attribute.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/create-float-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/create-index.md b/docs/examples/1.6.x/server-dotnet/examples/databases/create-index.md index a7363f4c67..b132cd2f02 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/create-index.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/create-index.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/create-integer-attribute.md b/docs/examples/1.6.x/server-dotnet/examples/databases/create-integer-attribute.md index 3676c662f9..c8e7c13355 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/create-integer-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/create-ip-attribute.md b/docs/examples/1.6.x/server-dotnet/examples/databases/create-ip-attribute.md index faad215f26..f95c257089 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/create-ip-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/create-relationship-attribute.md b/docs/examples/1.6.x/server-dotnet/examples/databases/create-relationship-attribute.md index eb10afce64..b0f4d1194f 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/create-relationship-attribute.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/create-string-attribute.md b/docs/examples/1.6.x/server-dotnet/examples/databases/create-string-attribute.md index 9d6aa904e5..6cba31ff36 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/create-string-attribute.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/create-string-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/create-url-attribute.md b/docs/examples/1.6.x/server-dotnet/examples/databases/create-url-attribute.md index 9dd1913251..dce1ac496a 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/create-url-attribute.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/create-url-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/create.md b/docs/examples/1.6.x/server-dotnet/examples/databases/create.md index ea33e15992..9b66c15cef 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/create.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/create.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/delete-attribute.md b/docs/examples/1.6.x/server-dotnet/examples/databases/delete-attribute.md index 9e4658999f..46eb44b4b8 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/delete-attribute.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/delete-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/delete-collection.md b/docs/examples/1.6.x/server-dotnet/examples/databases/delete-collection.md index bd9ced02a5..e05717dc6c 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/delete-collection.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/delete-collection.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/delete-document.md b/docs/examples/1.6.x/server-dotnet/examples/databases/delete-document.md index 1c03debad5..221b80e254 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/delete-document.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/delete-document.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/delete-index.md b/docs/examples/1.6.x/server-dotnet/examples/databases/delete-index.md index 21457ad19f..02dcf5c66a 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/delete-index.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/delete-index.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/delete.md b/docs/examples/1.6.x/server-dotnet/examples/databases/delete.md index ddc1497c60..a877eabc02 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/delete.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/delete.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/get-attribute.md b/docs/examples/1.6.x/server-dotnet/examples/databases/get-attribute.md index 5eaa11ee0a..d9e02e36b6 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/get-attribute.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/get-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/get-collection.md b/docs/examples/1.6.x/server-dotnet/examples/databases/get-collection.md index 055d5473c6..79fe685cbc 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/get-collection.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/get-collection.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/get-document.md b/docs/examples/1.6.x/server-dotnet/examples/databases/get-document.md index 51d05832f0..d7e9b68807 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/get-document.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/get-document.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/get-index.md b/docs/examples/1.6.x/server-dotnet/examples/databases/get-index.md index 4cf44b66e2..02f7b812c8 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/get-index.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/get-index.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/get.md b/docs/examples/1.6.x/server-dotnet/examples/databases/get.md index c9278acd47..174d74c4f0 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/get.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/get.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/list-attributes.md b/docs/examples/1.6.x/server-dotnet/examples/databases/list-attributes.md index 516e3a3efa..d2ac6c3afd 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/list-attributes.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/list-attributes.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/list-collections.md b/docs/examples/1.6.x/server-dotnet/examples/databases/list-collections.md index 1665b449d2..5dacb62e97 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/list-collections.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/list-collections.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/list-documents.md b/docs/examples/1.6.x/server-dotnet/examples/databases/list-documents.md index 7471d96a64..f59e4576bd 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/list-documents.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/list-documents.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/list-indexes.md b/docs/examples/1.6.x/server-dotnet/examples/databases/list-indexes.md index f567ce9c8e..e6adab1f2d 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/list-indexes.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/list-indexes.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/list.md b/docs/examples/1.6.x/server-dotnet/examples/databases/list.md index 9972bda934..d2b552b27c 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/list.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/list.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/update-boolean-attribute.md b/docs/examples/1.6.x/server-dotnet/examples/databases/update-boolean-attribute.md index 7c435f51ce..aa2ed498d2 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/update-boolean-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/update-collection.md b/docs/examples/1.6.x/server-dotnet/examples/databases/update-collection.md index 2860ba6974..7885ad3969 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/update-collection.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/update-collection.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/update-datetime-attribute.md b/docs/examples/1.6.x/server-dotnet/examples/databases/update-datetime-attribute.md index a8208202c8..e6b60c8753 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/update-datetime-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/update-document.md b/docs/examples/1.6.x/server-dotnet/examples/databases/update-document.md index ce0aa58034..3121c15e08 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/update-document.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/update-document.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/update-email-attribute.md b/docs/examples/1.6.x/server-dotnet/examples/databases/update-email-attribute.md index f7dde2ac2f..8d36a43780 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/update-email-attribute.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/update-email-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/update-enum-attribute.md b/docs/examples/1.6.x/server-dotnet/examples/databases/update-enum-attribute.md index 6abd3a607c..e3ca9fe124 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/update-enum-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/update-float-attribute.md b/docs/examples/1.6.x/server-dotnet/examples/databases/update-float-attribute.md index 2e5e7dde6b..46328d26f5 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/update-float-attribute.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/update-float-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key @@ -14,8 +14,8 @@ AttributeFloat result = await databases.UpdateFloatAttribute( collectionId: "<COLLECTION_ID>", key: "", required: false, - min: 0, - max: 0, default: 0, + min: 0, // optional + max: 0, // optional newKey: "" // optional ); \ No newline at end of file diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/update-integer-attribute.md b/docs/examples/1.6.x/server-dotnet/examples/databases/update-integer-attribute.md index da074ba7d5..91ff1897c7 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/update-integer-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key @@ -14,8 +14,8 @@ AttributeInteger result = await databases.UpdateIntegerAttribute( collectionId: "<COLLECTION_ID>", key: "", required: false, - min: 0, - max: 0, default: 0, + min: 0, // optional + max: 0, // optional newKey: "" // optional ); \ No newline at end of file diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/update-ip-attribute.md b/docs/examples/1.6.x/server-dotnet/examples/databases/update-ip-attribute.md index 0be862b004..dfcb5d214a 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/update-ip-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/update-relationship-attribute.md b/docs/examples/1.6.x/server-dotnet/examples/databases/update-relationship-attribute.md index b49f72ccf8..5b6dd71467 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/update-relationship-attribute.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/update-string-attribute.md b/docs/examples/1.6.x/server-dotnet/examples/databases/update-string-attribute.md index a180815a50..918fdc0e3f 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/update-string-attribute.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/update-string-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/update-url-attribute.md b/docs/examples/1.6.x/server-dotnet/examples/databases/update-url-attribute.md index 30a9a6298a..8766a3f2f7 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/update-url-attribute.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/update-url-attribute.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/databases/update.md b/docs/examples/1.6.x/server-dotnet/examples/databases/update.md index 1e55d8ecca..d4dd28aa2b 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/databases/update.md +++ b/docs/examples/1.6.x/server-dotnet/examples/databases/update.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/functions/create-build.md b/docs/examples/1.6.x/server-dotnet/examples/functions/create-build.md index fa53854b3c..cc8797168c 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/functions/create-build.md +++ b/docs/examples/1.6.x/server-dotnet/examples/functions/create-build.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/functions/create-deployment.md b/docs/examples/1.6.x/server-dotnet/examples/functions/create-deployment.md index 7c3d4d887c..26c6ff4c42 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/functions/create-deployment.md +++ b/docs/examples/1.6.x/server-dotnet/examples/functions/create-deployment.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/functions/create-execution.md b/docs/examples/1.6.x/server-dotnet/examples/functions/create-execution.md index abe5454c83..c8fd5595e9 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/functions/create-execution.md +++ b/docs/examples/1.6.x/server-dotnet/examples/functions/create-execution.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/functions/create-variable.md b/docs/examples/1.6.x/server-dotnet/examples/functions/create-variable.md index 2775c5b459..18fd6e9841 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/functions/create-variable.md +++ b/docs/examples/1.6.x/server-dotnet/examples/functions/create-variable.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/functions/create.md b/docs/examples/1.6.x/server-dotnet/examples/functions/create.md index 0ea11a8b9f..3263271f17 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/functions/create.md +++ b/docs/examples/1.6.x/server-dotnet/examples/functions/create.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/functions/delete-deployment.md b/docs/examples/1.6.x/server-dotnet/examples/functions/delete-deployment.md index 387383ed2b..33c537ad0d 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/functions/delete-deployment.md +++ b/docs/examples/1.6.x/server-dotnet/examples/functions/delete-deployment.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/functions/delete-execution.md b/docs/examples/1.6.x/server-dotnet/examples/functions/delete-execution.md index 18bd347b70..5d5ab8dee2 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/functions/delete-execution.md +++ b/docs/examples/1.6.x/server-dotnet/examples/functions/delete-execution.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/functions/delete-variable.md b/docs/examples/1.6.x/server-dotnet/examples/functions/delete-variable.md index 9be23cdcbe..263c3f6420 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/functions/delete-variable.md +++ b/docs/examples/1.6.x/server-dotnet/examples/functions/delete-variable.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/functions/delete.md b/docs/examples/1.6.x/server-dotnet/examples/functions/delete.md index 7666b62407..ed780ac15a 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/functions/delete.md +++ b/docs/examples/1.6.x/server-dotnet/examples/functions/delete.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/functions/get-deployment-download.md b/docs/examples/1.6.x/server-dotnet/examples/functions/get-deployment-download.md index b67351e70c..be145577c2 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/functions/get-deployment-download.md +++ b/docs/examples/1.6.x/server-dotnet/examples/functions/get-deployment-download.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/functions/get-deployment.md b/docs/examples/1.6.x/server-dotnet/examples/functions/get-deployment.md index 0fb27cc623..5fe31a2f6e 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/functions/get-deployment.md +++ b/docs/examples/1.6.x/server-dotnet/examples/functions/get-deployment.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/functions/get-execution.md b/docs/examples/1.6.x/server-dotnet/examples/functions/get-execution.md index 27b8f4d620..8581b968af 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/functions/get-execution.md +++ b/docs/examples/1.6.x/server-dotnet/examples/functions/get-execution.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/functions/get-variable.md b/docs/examples/1.6.x/server-dotnet/examples/functions/get-variable.md index 2c897dd648..57ba993389 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/functions/get-variable.md +++ b/docs/examples/1.6.x/server-dotnet/examples/functions/get-variable.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/functions/get.md b/docs/examples/1.6.x/server-dotnet/examples/functions/get.md index e1fdefd7fb..baba5d0b4a 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/functions/get.md +++ b/docs/examples/1.6.x/server-dotnet/examples/functions/get.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/functions/list-deployments.md b/docs/examples/1.6.x/server-dotnet/examples/functions/list-deployments.md index d78eb6a249..093befcf61 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/functions/list-deployments.md +++ b/docs/examples/1.6.x/server-dotnet/examples/functions/list-deployments.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/functions/list-executions.md b/docs/examples/1.6.x/server-dotnet/examples/functions/list-executions.md index fe2b1d98ac..5c410e33b7 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/functions/list-executions.md +++ b/docs/examples/1.6.x/server-dotnet/examples/functions/list-executions.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/functions/list-runtimes.md b/docs/examples/1.6.x/server-dotnet/examples/functions/list-runtimes.md index 68f34291be..c238671670 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/functions/list-runtimes.md +++ b/docs/examples/1.6.x/server-dotnet/examples/functions/list-runtimes.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/functions/list-specifications.md b/docs/examples/1.6.x/server-dotnet/examples/functions/list-specifications.md index 21f3b1320e..2d868d1343 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/functions/list-specifications.md +++ b/docs/examples/1.6.x/server-dotnet/examples/functions/list-specifications.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/functions/list-variables.md b/docs/examples/1.6.x/server-dotnet/examples/functions/list-variables.md index 77f429ded0..4c85da8995 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/functions/list-variables.md +++ b/docs/examples/1.6.x/server-dotnet/examples/functions/list-variables.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/functions/list.md b/docs/examples/1.6.x/server-dotnet/examples/functions/list.md index a6c5511f8a..750642d498 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/functions/list.md +++ b/docs/examples/1.6.x/server-dotnet/examples/functions/list.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/functions/update-deployment-build.md b/docs/examples/1.6.x/server-dotnet/examples/functions/update-deployment-build.md index 3d33b61714..93dcfa1e0b 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/functions/update-deployment-build.md +++ b/docs/examples/1.6.x/server-dotnet/examples/functions/update-deployment-build.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/functions/update-deployment.md b/docs/examples/1.6.x/server-dotnet/examples/functions/update-deployment.md index 348d01eb2b..71f0a2b816 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/functions/update-deployment.md +++ b/docs/examples/1.6.x/server-dotnet/examples/functions/update-deployment.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/functions/update-variable.md b/docs/examples/1.6.x/server-dotnet/examples/functions/update-variable.md index fceb7587d7..1cf321352c 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/functions/update-variable.md +++ b/docs/examples/1.6.x/server-dotnet/examples/functions/update-variable.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/functions/update.md b/docs/examples/1.6.x/server-dotnet/examples/functions/update.md index b94f5f3ebc..7160795f77 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/functions/update.md +++ b/docs/examples/1.6.x/server-dotnet/examples/functions/update.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/graphql/mutation.md b/docs/examples/1.6.x/server-dotnet/examples/graphql/mutation.md index 5fb0f9a190..b153e34d51 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/graphql/mutation.md +++ b/docs/examples/1.6.x/server-dotnet/examples/graphql/mutation.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/graphql/query.md b/docs/examples/1.6.x/server-dotnet/examples/graphql/query.md index e1f6f859db..61345d7665 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/graphql/query.md +++ b/docs/examples/1.6.x/server-dotnet/examples/graphql/query.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/health/get-antivirus.md b/docs/examples/1.6.x/server-dotnet/examples/health/get-antivirus.md index 674e0e70f2..115c0e5c7b 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/health/get-antivirus.md +++ b/docs/examples/1.6.x/server-dotnet/examples/health/get-antivirus.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/health/get-cache.md b/docs/examples/1.6.x/server-dotnet/examples/health/get-cache.md index d61e220794..0c5ec37c2b 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/health/get-cache.md +++ b/docs/examples/1.6.x/server-dotnet/examples/health/get-cache.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/health/get-certificate.md b/docs/examples/1.6.x/server-dotnet/examples/health/get-certificate.md index de536fd9dd..457b70128a 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/health/get-certificate.md +++ b/docs/examples/1.6.x/server-dotnet/examples/health/get-certificate.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/health/get-d-b.md b/docs/examples/1.6.x/server-dotnet/examples/health/get-d-b.md index 8c1bf763ca..7ae8b14854 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/health/get-d-b.md +++ b/docs/examples/1.6.x/server-dotnet/examples/health/get-d-b.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/health/get-failed-jobs.md b/docs/examples/1.6.x/server-dotnet/examples/health/get-failed-jobs.md index 871abf0bc0..4d43479831 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/health/get-failed-jobs.md +++ b/docs/examples/1.6.x/server-dotnet/examples/health/get-failed-jobs.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/health/get-pub-sub.md b/docs/examples/1.6.x/server-dotnet/examples/health/get-pub-sub.md index 7fe20cdcf8..4ffdd7e531 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/health/get-pub-sub.md +++ b/docs/examples/1.6.x/server-dotnet/examples/health/get-pub-sub.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-builds.md b/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-builds.md index 65596b49cf..5d522f03f2 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-builds.md +++ b/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-builds.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-certificates.md b/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-certificates.md index 06e629d12c..c7e186e5ee 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-certificates.md +++ b/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-certificates.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-databases.md b/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-databases.md index 80733ec20d..1db6fb518c 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-databases.md +++ b/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-databases.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-deletes.md b/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-deletes.md index 7e280a1b62..487cee3411 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-deletes.md +++ b/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-deletes.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-functions.md b/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-functions.md index 8efd075b45..949e3766a7 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-functions.md +++ b/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-functions.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-logs.md b/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-logs.md index 2a6767dd74..58ad1ac2fe 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-logs.md +++ b/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-logs.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-mails.md b/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-mails.md index 2be751cf00..2c1008c7b1 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-mails.md +++ b/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-mails.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-messaging.md b/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-messaging.md index 5681495382..4116f19b1f 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-messaging.md +++ b/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-messaging.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-migrations.md b/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-migrations.md index f367724310..5a0c7a0337 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-migrations.md +++ b/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-migrations.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-stats-resources.md b/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-stats-resources.md new file mode 100644 index 0000000000..4002cca158 --- /dev/null +++ b/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-stats-resources.md @@ -0,0 +1,14 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("<YOUR_PROJECT_ID>") // Your project ID + .SetKey("<YOUR_API_KEY>"); // Your secret API key + +Health health = new Health(client); + +HealthQueue result = await health.GetQueueStatsResources( + threshold: 0 // optional +); \ No newline at end of file diff --git a/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-usage-dump.md b/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-usage-dump.md index 78c3a924b1..51233fb2ec 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-usage-dump.md +++ b/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-usage-dump.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-usage.md b/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-usage.md index 14ca758001..546e9a07de 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-usage.md +++ b/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-usage.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-webhooks.md b/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-webhooks.md index 6dbbe05235..1fc8d4d63c 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.6.x/server-dotnet/examples/health/get-queue-webhooks.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/health/get-queue.md b/docs/examples/1.6.x/server-dotnet/examples/health/get-queue.md index 55f49c6735..43f472d21a 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/health/get-queue.md +++ b/docs/examples/1.6.x/server-dotnet/examples/health/get-queue.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/health/get-storage-local.md b/docs/examples/1.6.x/server-dotnet/examples/health/get-storage-local.md index 80e4f7574a..3e8539794a 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/health/get-storage-local.md +++ b/docs/examples/1.6.x/server-dotnet/examples/health/get-storage-local.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/health/get-storage.md b/docs/examples/1.6.x/server-dotnet/examples/health/get-storage.md index 4643825b96..42d4aba45b 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/health/get-storage.md +++ b/docs/examples/1.6.x/server-dotnet/examples/health/get-storage.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/health/get-time.md b/docs/examples/1.6.x/server-dotnet/examples/health/get-time.md index 0b5d9b8a5d..959060113b 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/health/get-time.md +++ b/docs/examples/1.6.x/server-dotnet/examples/health/get-time.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/health/get.md b/docs/examples/1.6.x/server-dotnet/examples/health/get.md index 16ac413bc4..a926fe71e5 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/health/get.md +++ b/docs/examples/1.6.x/server-dotnet/examples/health/get.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/locale/get.md b/docs/examples/1.6.x/server-dotnet/examples/locale/get.md index 4ef0232eaa..48b9701801 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/locale/get.md +++ b/docs/examples/1.6.x/server-dotnet/examples/locale/get.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/locale/list-codes.md b/docs/examples/1.6.x/server-dotnet/examples/locale/list-codes.md index eea75da7d5..0df7696da5 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/locale/list-codes.md +++ b/docs/examples/1.6.x/server-dotnet/examples/locale/list-codes.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/locale/list-continents.md b/docs/examples/1.6.x/server-dotnet/examples/locale/list-continents.md index 4148a3068d..7cf74caec3 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/locale/list-continents.md +++ b/docs/examples/1.6.x/server-dotnet/examples/locale/list-continents.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/locale/list-countries-e-u.md b/docs/examples/1.6.x/server-dotnet/examples/locale/list-countries-e-u.md index 4c86505bc7..106e140ee4 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.6.x/server-dotnet/examples/locale/list-countries-e-u.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/locale/list-countries-phones.md b/docs/examples/1.6.x/server-dotnet/examples/locale/list-countries-phones.md index 0277e032d1..38fbe24ff3 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/locale/list-countries-phones.md +++ b/docs/examples/1.6.x/server-dotnet/examples/locale/list-countries-phones.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/locale/list-countries.md b/docs/examples/1.6.x/server-dotnet/examples/locale/list-countries.md index f85c528354..5e5d9f407f 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/locale/list-countries.md +++ b/docs/examples/1.6.x/server-dotnet/examples/locale/list-countries.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/locale/list-currencies.md b/docs/examples/1.6.x/server-dotnet/examples/locale/list-currencies.md index 384a5f4e12..e51a138813 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/locale/list-currencies.md +++ b/docs/examples/1.6.x/server-dotnet/examples/locale/list-currencies.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/locale/list-languages.md b/docs/examples/1.6.x/server-dotnet/examples/locale/list-languages.md index 50f9dea6a9..62aa15d1d9 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/locale/list-languages.md +++ b/docs/examples/1.6.x/server-dotnet/examples/locale/list-languages.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/create-apns-provider.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/create-apns-provider.md index b4b358dad2..9cc37a17e0 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/create-apns-provider.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/create-apns-provider.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/create-email.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/create-email.md index 1ce8b2cd40..51c6db4ddb 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/create-email.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/create-email.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/create-fcm-provider.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/create-fcm-provider.md index 7558191115..15fdace2d3 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/create-fcm-provider.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/create-fcm-provider.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/create-mailgun-provider.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/create-mailgun-provider.md index 311ad7f948..1bacbab8d5 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/create-mailgun-provider.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/create-mailgun-provider.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/create-msg91provider.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/create-msg91provider.md index 596e63d635..a0b7372709 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/create-msg91provider.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/create-msg91provider.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/create-push.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/create-push.md index 588781b3a1..1d2dbec1f2 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/create-push.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/create-push.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/create-sendgrid-provider.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/create-sendgrid-provider.md index 64de3805dd..8464c47ae1 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/create-sendgrid-provider.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/create-sendgrid-provider.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/create-sms.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/create-sms.md index 3ef5cb925e..06e9e69e65 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/create-sms.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/create-sms.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/create-smtp-provider.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/create-smtp-provider.md index fdbd4ea5c3..16b091f98e 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/create-smtp-provider.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/create-smtp-provider.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/create-subscriber.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/create-subscriber.md index f188a4fefa..8b37d31e68 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/create-subscriber.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/create-subscriber.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetJWT("<YOUR_JWT>"); // Your secret JSON Web Token diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/create-telesign-provider.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/create-telesign-provider.md index 8476f08866..37e1bd1df9 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/create-telesign-provider.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/create-telesign-provider.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/create-textmagic-provider.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/create-textmagic-provider.md index 98fbf86c23..7dc0a6b26f 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/create-textmagic-provider.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/create-textmagic-provider.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/create-topic.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/create-topic.md index 4e28defc50..51eab0fd11 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/create-topic.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/create-topic.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/create-twilio-provider.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/create-twilio-provider.md index 7902da1a34..0deba742ff 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/create-twilio-provider.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/create-twilio-provider.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/create-vonage-provider.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/create-vonage-provider.md index 4dfe73175f..8f4855aab4 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/create-vonage-provider.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/create-vonage-provider.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/delete-provider.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/delete-provider.md index 767323047e..a1ca2a1450 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/delete-provider.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/delete-provider.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/delete-subscriber.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/delete-subscriber.md index 54b4188773..9424535c9f 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/delete-subscriber.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/delete-subscriber.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetJWT("<YOUR_JWT>"); // Your secret JSON Web Token diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/delete-topic.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/delete-topic.md index 22226992c7..0b4819a219 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/delete-topic.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/delete-topic.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/delete.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/delete.md index d0b2a243a2..ff041e853a 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/delete.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/delete.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/get-message.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/get-message.md index 1959738758..0dad3668f8 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/get-message.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/get-message.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/get-provider.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/get-provider.md index bc413b1ca1..fac5a07da5 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/get-provider.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/get-provider.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/get-subscriber.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/get-subscriber.md index 9a158961b1..516aa682c8 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/get-subscriber.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/get-subscriber.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/get-topic.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/get-topic.md index 43b7bcb55d..3a662b3111 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/get-topic.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/get-topic.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/list-message-logs.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/list-message-logs.md index 2d1a5fe9b7..49d3513127 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/list-message-logs.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/list-message-logs.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/list-messages.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/list-messages.md index 5004c7d0c4..4c17128e72 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/list-messages.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/list-messages.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/list-provider-logs.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/list-provider-logs.md index 47b55acc26..928c14845a 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/list-provider-logs.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/list-provider-logs.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/list-providers.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/list-providers.md index 2a1b4426e8..6cf5757fb6 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/list-providers.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/list-providers.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/list-subscriber-logs.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/list-subscriber-logs.md index 5dd1cf01b8..815f1325d4 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/list-subscriber-logs.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/list-subscriber-logs.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/list-subscribers.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/list-subscribers.md index ca83034be0..b522be327c 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/list-subscribers.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/list-subscribers.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/list-targets.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/list-targets.md index 9889e1f726..a8e8de567e 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/list-targets.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/list-targets.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/list-topic-logs.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/list-topic-logs.md index b986a8babe..093db0ff2c 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/list-topic-logs.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/list-topic-logs.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/list-topics.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/list-topics.md index 37842ad45a..cc88afab69 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/list-topics.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/list-topics.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/update-apns-provider.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/update-apns-provider.md index 6750f3b786..f06e134d02 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/update-apns-provider.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/update-apns-provider.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/update-email.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/update-email.md index 6fbb686d83..90d1555d8f 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/update-email.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/update-email.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/update-fcm-provider.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/update-fcm-provider.md index 9208e930e4..0006fedf54 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/update-fcm-provider.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/update-fcm-provider.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/update-mailgun-provider.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/update-mailgun-provider.md index 6dd80b6349..512cb0586b 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/update-mailgun-provider.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/update-mailgun-provider.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/update-msg91provider.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/update-msg91provider.md index ca9c7e4e8b..51355c5836 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/update-msg91provider.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/update-msg91provider.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/update-push.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/update-push.md index 2b48d1827d..37da215e82 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/update-push.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/update-push.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/update-sendgrid-provider.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/update-sendgrid-provider.md index 94f5d5af2b..d718a7158b 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/update-sendgrid-provider.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/update-sendgrid-provider.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/update-sms.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/update-sms.md index df2252a98b..475d29923d 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/update-sms.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/update-sms.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/update-smtp-provider.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/update-smtp-provider.md index a856055420..4e7ab6dfeb 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/update-smtp-provider.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/update-smtp-provider.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/update-telesign-provider.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/update-telesign-provider.md index b44d068084..d4f1c5e015 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/update-telesign-provider.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/update-telesign-provider.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/update-textmagic-provider.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/update-textmagic-provider.md index 6fe2f2d694..3529f9b99c 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/update-textmagic-provider.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/update-textmagic-provider.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/update-topic.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/update-topic.md index b4a3e8ed79..11943f70e2 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/update-topic.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/update-topic.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/update-twilio-provider.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/update-twilio-provider.md index 73078bd7a1..66fc7e27a3 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/update-twilio-provider.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/update-twilio-provider.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/messaging/update-vonage-provider.md b/docs/examples/1.6.x/server-dotnet/examples/messaging/update-vonage-provider.md index 94bc3f400f..03addd3de6 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/messaging/update-vonage-provider.md +++ b/docs/examples/1.6.x/server-dotnet/examples/messaging/update-vonage-provider.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/storage/create-bucket.md b/docs/examples/1.6.x/server-dotnet/examples/storage/create-bucket.md index 0a2953775b..0cc317d9a6 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/storage/create-bucket.md +++ b/docs/examples/1.6.x/server-dotnet/examples/storage/create-bucket.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/storage/create-file.md b/docs/examples/1.6.x/server-dotnet/examples/storage/create-file.md index 1fc110269f..a4cedb8214 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/storage/create-file.md +++ b/docs/examples/1.6.x/server-dotnet/examples/storage/create-file.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/storage/delete-bucket.md b/docs/examples/1.6.x/server-dotnet/examples/storage/delete-bucket.md index d7cd28a911..22aa2acf19 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/storage/delete-bucket.md +++ b/docs/examples/1.6.x/server-dotnet/examples/storage/delete-bucket.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/storage/delete-file.md b/docs/examples/1.6.x/server-dotnet/examples/storage/delete-file.md index 859f81e79d..a8cc310aa5 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/storage/delete-file.md +++ b/docs/examples/1.6.x/server-dotnet/examples/storage/delete-file.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/storage/get-bucket.md b/docs/examples/1.6.x/server-dotnet/examples/storage/get-bucket.md index ea7c78c001..a6f74ebdae 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/storage/get-bucket.md +++ b/docs/examples/1.6.x/server-dotnet/examples/storage/get-bucket.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/storage/get-file-download.md b/docs/examples/1.6.x/server-dotnet/examples/storage/get-file-download.md index 8bb19126a8..5f27e48c16 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/storage/get-file-download.md +++ b/docs/examples/1.6.x/server-dotnet/examples/storage/get-file-download.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/storage/get-file-preview.md b/docs/examples/1.6.x/server-dotnet/examples/storage/get-file-preview.md index 877e913eee..a48a84eafc 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/storage/get-file-preview.md +++ b/docs/examples/1.6.x/server-dotnet/examples/storage/get-file-preview.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/storage/get-file-view.md b/docs/examples/1.6.x/server-dotnet/examples/storage/get-file-view.md index e082405102..f8ad1b0bc1 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/storage/get-file-view.md +++ b/docs/examples/1.6.x/server-dotnet/examples/storage/get-file-view.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/storage/get-file.md b/docs/examples/1.6.x/server-dotnet/examples/storage/get-file.md index 314998b73a..e4c05c1e6b 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/storage/get-file.md +++ b/docs/examples/1.6.x/server-dotnet/examples/storage/get-file.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/storage/list-buckets.md b/docs/examples/1.6.x/server-dotnet/examples/storage/list-buckets.md index 8b59250dd9..8e397729e6 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/storage/list-buckets.md +++ b/docs/examples/1.6.x/server-dotnet/examples/storage/list-buckets.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/storage/list-files.md b/docs/examples/1.6.x/server-dotnet/examples/storage/list-files.md index cd3b52c45c..2751da5244 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/storage/list-files.md +++ b/docs/examples/1.6.x/server-dotnet/examples/storage/list-files.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/storage/update-bucket.md b/docs/examples/1.6.x/server-dotnet/examples/storage/update-bucket.md index 1bd2f4f091..2a439ba2af 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/storage/update-bucket.md +++ b/docs/examples/1.6.x/server-dotnet/examples/storage/update-bucket.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/storage/update-file.md b/docs/examples/1.6.x/server-dotnet/examples/storage/update-file.md index d256e21b4f..3f6ea608d7 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/storage/update-file.md +++ b/docs/examples/1.6.x/server-dotnet/examples/storage/update-file.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/teams/create-membership.md b/docs/examples/1.6.x/server-dotnet/examples/teams/create-membership.md index dd768c2335..f3f5682cbf 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/teams/create-membership.md +++ b/docs/examples/1.6.x/server-dotnet/examples/teams/create-membership.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/teams/create.md b/docs/examples/1.6.x/server-dotnet/examples/teams/create.md index 5b5c8014b4..07b102d70a 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/teams/create.md +++ b/docs/examples/1.6.x/server-dotnet/examples/teams/create.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/teams/delete-membership.md b/docs/examples/1.6.x/server-dotnet/examples/teams/delete-membership.md index 93f60402d7..01a58aaa11 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/teams/delete-membership.md +++ b/docs/examples/1.6.x/server-dotnet/examples/teams/delete-membership.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/teams/delete.md b/docs/examples/1.6.x/server-dotnet/examples/teams/delete.md index 1c69bf0ea8..ee525f23c9 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/teams/delete.md +++ b/docs/examples/1.6.x/server-dotnet/examples/teams/delete.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/teams/get-membership.md b/docs/examples/1.6.x/server-dotnet/examples/teams/get-membership.md index bb91bc9e89..cb9109df14 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/teams/get-membership.md +++ b/docs/examples/1.6.x/server-dotnet/examples/teams/get-membership.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/teams/get-prefs.md b/docs/examples/1.6.x/server-dotnet/examples/teams/get-prefs.md index 4e6012df16..f95d73af77 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/teams/get-prefs.md +++ b/docs/examples/1.6.x/server-dotnet/examples/teams/get-prefs.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/teams/get.md b/docs/examples/1.6.x/server-dotnet/examples/teams/get.md index c221122e7e..339b33f657 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/teams/get.md +++ b/docs/examples/1.6.x/server-dotnet/examples/teams/get.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/teams/list-memberships.md b/docs/examples/1.6.x/server-dotnet/examples/teams/list-memberships.md index d44f12b41c..6072158100 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/teams/list-memberships.md +++ b/docs/examples/1.6.x/server-dotnet/examples/teams/list-memberships.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/teams/list.md b/docs/examples/1.6.x/server-dotnet/examples/teams/list.md index 9c1a0fee65..b1ca72b82e 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/teams/list.md +++ b/docs/examples/1.6.x/server-dotnet/examples/teams/list.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/teams/update-membership-status.md b/docs/examples/1.6.x/server-dotnet/examples/teams/update-membership-status.md index 151f17566e..87609aa32e 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/teams/update-membership-status.md +++ b/docs/examples/1.6.x/server-dotnet/examples/teams/update-membership-status.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/teams/update-membership.md b/docs/examples/1.6.x/server-dotnet/examples/teams/update-membership.md index 1d9faebbf9..3583b4d0a9 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/teams/update-membership.md +++ b/docs/examples/1.6.x/server-dotnet/examples/teams/update-membership.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/teams/update-name.md b/docs/examples/1.6.x/server-dotnet/examples/teams/update-name.md index b3db0576af..9a3fb1316a 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/teams/update-name.md +++ b/docs/examples/1.6.x/server-dotnet/examples/teams/update-name.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/teams/update-prefs.md b/docs/examples/1.6.x/server-dotnet/examples/teams/update-prefs.md index 84b9b11ca8..55ff96e9e8 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/teams/update-prefs.md +++ b/docs/examples/1.6.x/server-dotnet/examples/teams/update-prefs.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/create-argon2user.md b/docs/examples/1.6.x/server-dotnet/examples/users/create-argon2user.md index 7ee4d1d89d..db6dd6486a 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/create-argon2user.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/create-argon2user.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/create-bcrypt-user.md b/docs/examples/1.6.x/server-dotnet/examples/users/create-bcrypt-user.md index 9ff609d5f4..bf8bf3dedd 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/create-bcrypt-user.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/create-j-w-t.md b/docs/examples/1.6.x/server-dotnet/examples/users/create-j-w-t.md index 2997767f79..a7c57ad642 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/create-j-w-t.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/create-j-w-t.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/create-m-d5user.md b/docs/examples/1.6.x/server-dotnet/examples/users/create-m-d5user.md index 7294c805ed..7b7d0e7760 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/create-m-d5user.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/create-m-d5user.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/create-mfa-recovery-codes.md b/docs/examples/1.6.x/server-dotnet/examples/users/create-mfa-recovery-codes.md index bbc41a66a1..9b43dc02af 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/create-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/create-mfa-recovery-codes.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/create-p-h-pass-user.md b/docs/examples/1.6.x/server-dotnet/examples/users/create-p-h-pass-user.md index 3db0dc707d..9f5521ef2f 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/create-p-h-pass-user.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/create-s-h-a-user.md b/docs/examples/1.6.x/server-dotnet/examples/users/create-s-h-a-user.md index 873e666cdc..0821bf46e9 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/create-s-h-a-user.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/create-scrypt-modified-user.md b/docs/examples/1.6.x/server-dotnet/examples/users/create-scrypt-modified-user.md index 7af9f2ab8b..3af99e88c2 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/create-scrypt-modified-user.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/create-scrypt-user.md b/docs/examples/1.6.x/server-dotnet/examples/users/create-scrypt-user.md index 14ee42e489..79085f7206 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/create-scrypt-user.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/create-scrypt-user.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/create-session.md b/docs/examples/1.6.x/server-dotnet/examples/users/create-session.md index f624ff8554..a021c2551f 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/create-session.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/create-session.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/create-target.md b/docs/examples/1.6.x/server-dotnet/examples/users/create-target.md index 80717ae19b..44ba48ac01 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/create-target.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/create-target.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/create-token.md b/docs/examples/1.6.x/server-dotnet/examples/users/create-token.md index ce96abc50c..0e9cf43fd7 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/create-token.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/create-token.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/create.md b/docs/examples/1.6.x/server-dotnet/examples/users/create.md index 04e25c3273..3cf1d3af29 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/create.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/create.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/delete-identity.md b/docs/examples/1.6.x/server-dotnet/examples/users/delete-identity.md index 9579eba7a2..d2bac6b797 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/delete-identity.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/delete-identity.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/delete-mfa-authenticator.md b/docs/examples/1.6.x/server-dotnet/examples/users/delete-mfa-authenticator.md index c3d081bf56..bb33dbf9e4 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/delete-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/delete-mfa-authenticator.md @@ -4,7 +4,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/delete-session.md b/docs/examples/1.6.x/server-dotnet/examples/users/delete-session.md index ff46be8ad2..d9d36d20b4 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/delete-session.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/delete-session.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/delete-sessions.md b/docs/examples/1.6.x/server-dotnet/examples/users/delete-sessions.md index 5b9f5e1aa9..7011e426bb 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/delete-sessions.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/delete-sessions.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/delete-target.md b/docs/examples/1.6.x/server-dotnet/examples/users/delete-target.md index 482b229912..ad900afa5a 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/delete-target.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/delete-target.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/delete.md b/docs/examples/1.6.x/server-dotnet/examples/users/delete.md index 670b98cbd1..00ed23cf5f 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/delete.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/delete.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/get-mfa-recovery-codes.md b/docs/examples/1.6.x/server-dotnet/examples/users/get-mfa-recovery-codes.md index a69c58da2a..213c3473a8 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/get-mfa-recovery-codes.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/get-prefs.md b/docs/examples/1.6.x/server-dotnet/examples/users/get-prefs.md index ec25c4160f..36888651d9 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/get-prefs.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/get-prefs.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/get-target.md b/docs/examples/1.6.x/server-dotnet/examples/users/get-target.md index 10a6955e49..2bbf4d614c 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/get-target.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/get-target.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/get.md b/docs/examples/1.6.x/server-dotnet/examples/users/get.md index 7dc7eebdaa..25971baddc 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/get.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/get.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/list-identities.md b/docs/examples/1.6.x/server-dotnet/examples/users/list-identities.md index 36a9b5f770..996edfba71 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/list-identities.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/list-identities.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/list-logs.md b/docs/examples/1.6.x/server-dotnet/examples/users/list-logs.md index 303839792b..822d16fe64 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/list-logs.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/list-logs.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/list-memberships.md b/docs/examples/1.6.x/server-dotnet/examples/users/list-memberships.md index 5c833de366..ac89928770 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/list-memberships.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/list-memberships.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/list-mfa-factors.md b/docs/examples/1.6.x/server-dotnet/examples/users/list-mfa-factors.md index 31e1ee3d55..54f68ae516 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/list-mfa-factors.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/list-mfa-factors.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/list-sessions.md b/docs/examples/1.6.x/server-dotnet/examples/users/list-sessions.md index a5c0750529..97f92f3b07 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/list-sessions.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/list-sessions.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/list-targets.md b/docs/examples/1.6.x/server-dotnet/examples/users/list-targets.md index ded2ade2b6..aa59ce2983 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/list-targets.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/list-targets.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/list.md b/docs/examples/1.6.x/server-dotnet/examples/users/list.md index 74bce0bb1a..aae7ae27b3 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/list.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/list.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/update-email-verification.md b/docs/examples/1.6.x/server-dotnet/examples/users/update-email-verification.md index 025d4f0a21..8add2d4d6b 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/update-email-verification.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/update-email-verification.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/update-email.md b/docs/examples/1.6.x/server-dotnet/examples/users/update-email.md index 250290539f..d0d737cb80 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/update-email.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/update-email.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/update-labels.md b/docs/examples/1.6.x/server-dotnet/examples/users/update-labels.md index 865556db2f..6637ad0438 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/update-labels.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/update-labels.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/update-mfa-recovery-codes.md b/docs/examples/1.6.x/server-dotnet/examples/users/update-mfa-recovery-codes.md index cb4f68eb04..35be70777a 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/update-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/update-mfa-recovery-codes.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/update-mfa.md b/docs/examples/1.6.x/server-dotnet/examples/users/update-mfa.md index bd881528c8..d009df1759 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/update-mfa.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/update-mfa.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/update-name.md b/docs/examples/1.6.x/server-dotnet/examples/users/update-name.md index 492a45ed68..ffa90f9657 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/update-name.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/update-name.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/update-password.md b/docs/examples/1.6.x/server-dotnet/examples/users/update-password.md index aa6e621180..6dc30d5bcf 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/update-password.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/update-password.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/update-phone-verification.md b/docs/examples/1.6.x/server-dotnet/examples/users/update-phone-verification.md index 13ded37df6..ba5ca253ee 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/update-phone-verification.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/update-phone-verification.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/update-phone.md b/docs/examples/1.6.x/server-dotnet/examples/users/update-phone.md index 50708008ba..e633740e94 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/update-phone.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/update-phone.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/update-prefs.md b/docs/examples/1.6.x/server-dotnet/examples/users/update-prefs.md index 8015f73848..421a4c2314 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/update-prefs.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/update-prefs.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/update-status.md b/docs/examples/1.6.x/server-dotnet/examples/users/update-status.md index f476bc5823..3037d8dd0c 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/update-status.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/update-status.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-dotnet/examples/users/update-target.md b/docs/examples/1.6.x/server-dotnet/examples/users/update-target.md index 9fe888c7e3..9863af19d8 100644 --- a/docs/examples/1.6.x/server-dotnet/examples/users/update-target.md +++ b/docs/examples/1.6.x/server-dotnet/examples/users/update-target.md @@ -3,7 +3,7 @@ using Appwrite.Models; using Appwrite.Services; Client client = new Client() - .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .SetEndPoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/account/create-anonymous-session.md b/docs/examples/1.6.x/server-go/examples/account/create-anonymous-session.md index bdf9c1b8e8..a6b5b6a2cf 100644 --- a/docs/examples/1.6.x/server-go/examples/account/create-anonymous-session.md +++ b/docs/examples/1.6.x/server-go/examples/account/create-anonymous-session.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID service := account.NewAccount(client) diff --git a/docs/examples/1.6.x/server-go/examples/account/create-email-password-session.md b/docs/examples/1.6.x/server-go/examples/account/create-email-password-session.md index b6573084a9..d876edc7ac 100644 --- a/docs/examples/1.6.x/server-go/examples/account/create-email-password-session.md +++ b/docs/examples/1.6.x/server-go/examples/account/create-email-password-session.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID service := account.NewAccount(client) diff --git a/docs/examples/1.6.x/server-go/examples/account/create-email-token.md b/docs/examples/1.6.x/server-go/examples/account/create-email-token.md index b9aae640a0..aa832e7bf5 100644 --- a/docs/examples/1.6.x/server-go/examples/account/create-email-token.md +++ b/docs/examples/1.6.x/server-go/examples/account/create-email-token.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID service := account.NewAccount(client) diff --git a/docs/examples/1.6.x/server-go/examples/account/create-j-w-t.md b/docs/examples/1.6.x/server-go/examples/account/create-j-w-t.md index fa4d41b315..fad35ab519 100644 --- a/docs/examples/1.6.x/server-go/examples/account/create-j-w-t.md +++ b/docs/examples/1.6.x/server-go/examples/account/create-j-w-t.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID service := account.NewAccount(client) diff --git a/docs/examples/1.6.x/server-go/examples/account/create-magic-u-r-l-token.md b/docs/examples/1.6.x/server-go/examples/account/create-magic-u-r-l-token.md index cd1d07e5e0..1e2090fd8e 100644 --- a/docs/examples/1.6.x/server-go/examples/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.6.x/server-go/examples/account/create-magic-u-r-l-token.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID service := account.NewAccount(client) diff --git a/docs/examples/1.6.x/server-go/examples/account/create-mfa-authenticator.md b/docs/examples/1.6.x/server-go/examples/account/create-mfa-authenticator.md index 150e4d18d6..8d425404b5 100644 --- a/docs/examples/1.6.x/server-go/examples/account/create-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-go/examples/account/create-mfa-authenticator.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/account/create-mfa-challenge.md b/docs/examples/1.6.x/server-go/examples/account/create-mfa-challenge.md index 93e122f8b3..3ac4a3babf 100644 --- a/docs/examples/1.6.x/server-go/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.6.x/server-go/examples/account/create-mfa-challenge.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID service := account.NewAccount(client) diff --git a/docs/examples/1.6.x/server-go/examples/account/create-mfa-recovery-codes.md b/docs/examples/1.6.x/server-go/examples/account/create-mfa-recovery-codes.md index 005b9603d8..063a804f6e 100644 --- a/docs/examples/1.6.x/server-go/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-go/examples/account/create-mfa-recovery-codes.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/account/create-o-auth2token.md b/docs/examples/1.6.x/server-go/examples/account/create-o-auth2token.md index 6cc11b004b..f3b6997fff 100644 --- a/docs/examples/1.6.x/server-go/examples/account/create-o-auth2token.md +++ b/docs/examples/1.6.x/server-go/examples/account/create-o-auth2token.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID service := account.NewAccount(client) diff --git a/docs/examples/1.6.x/server-go/examples/account/create-phone-token.md b/docs/examples/1.6.x/server-go/examples/account/create-phone-token.md index eff0aa2ae0..c9e80de622 100644 --- a/docs/examples/1.6.x/server-go/examples/account/create-phone-token.md +++ b/docs/examples/1.6.x/server-go/examples/account/create-phone-token.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID service := account.NewAccount(client) diff --git a/docs/examples/1.6.x/server-go/examples/account/create-phone-verification.md b/docs/examples/1.6.x/server-go/examples/account/create-phone-verification.md index fff450710d..c7a6bf4bf5 100644 --- a/docs/examples/1.6.x/server-go/examples/account/create-phone-verification.md +++ b/docs/examples/1.6.x/server-go/examples/account/create-phone-verification.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/account/create-recovery.md b/docs/examples/1.6.x/server-go/examples/account/create-recovery.md index 6fc0115b03..9d55755c37 100644 --- a/docs/examples/1.6.x/server-go/examples/account/create-recovery.md +++ b/docs/examples/1.6.x/server-go/examples/account/create-recovery.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/account/create-session.md b/docs/examples/1.6.x/server-go/examples/account/create-session.md index c525401b5f..f93502a31f 100644 --- a/docs/examples/1.6.x/server-go/examples/account/create-session.md +++ b/docs/examples/1.6.x/server-go/examples/account/create-session.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID service := account.NewAccount(client) diff --git a/docs/examples/1.6.x/server-go/examples/account/create-verification.md b/docs/examples/1.6.x/server-go/examples/account/create-verification.md index 9e2cecc6f9..afb98c7ec0 100644 --- a/docs/examples/1.6.x/server-go/examples/account/create-verification.md +++ b/docs/examples/1.6.x/server-go/examples/account/create-verification.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/account/create.md b/docs/examples/1.6.x/server-go/examples/account/create.md index 9cc27a5f1d..b834d47d0f 100644 --- a/docs/examples/1.6.x/server-go/examples/account/create.md +++ b/docs/examples/1.6.x/server-go/examples/account/create.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID service := account.NewAccount(client) diff --git a/docs/examples/1.6.x/server-go/examples/account/delete-identity.md b/docs/examples/1.6.x/server-go/examples/account/delete-identity.md index 939a3efa01..30d2534602 100644 --- a/docs/examples/1.6.x/server-go/examples/account/delete-identity.md +++ b/docs/examples/1.6.x/server-go/examples/account/delete-identity.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/account/delete-mfa-authenticator.md b/docs/examples/1.6.x/server-go/examples/account/delete-mfa-authenticator.md index 664628b44e..7f3edec33d 100644 --- a/docs/examples/1.6.x/server-go/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-go/examples/account/delete-mfa-authenticator.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/account/delete-session.md b/docs/examples/1.6.x/server-go/examples/account/delete-session.md index c153451efe..398604ecdd 100644 --- a/docs/examples/1.6.x/server-go/examples/account/delete-session.md +++ b/docs/examples/1.6.x/server-go/examples/account/delete-session.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/account/delete-sessions.md b/docs/examples/1.6.x/server-go/examples/account/delete-sessions.md index 3c782b93dd..97eda5899a 100644 --- a/docs/examples/1.6.x/server-go/examples/account/delete-sessions.md +++ b/docs/examples/1.6.x/server-go/examples/account/delete-sessions.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.6.x/server-go/examples/account/get-mfa-recovery-codes.md index d6abf99553..0dd93bb765 100644 --- a/docs/examples/1.6.x/server-go/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-go/examples/account/get-mfa-recovery-codes.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/account/get-prefs.md b/docs/examples/1.6.x/server-go/examples/account/get-prefs.md index 555e99d04d..b7985acbd7 100644 --- a/docs/examples/1.6.x/server-go/examples/account/get-prefs.md +++ b/docs/examples/1.6.x/server-go/examples/account/get-prefs.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/account/get-session.md b/docs/examples/1.6.x/server-go/examples/account/get-session.md index b9958823bb..d6d1ffe05f 100644 --- a/docs/examples/1.6.x/server-go/examples/account/get-session.md +++ b/docs/examples/1.6.x/server-go/examples/account/get-session.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/account/get.md b/docs/examples/1.6.x/server-go/examples/account/get.md index 47e52e895f..7e08024930 100644 --- a/docs/examples/1.6.x/server-go/examples/account/get.md +++ b/docs/examples/1.6.x/server-go/examples/account/get.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/account/list-identities.md b/docs/examples/1.6.x/server-go/examples/account/list-identities.md index 01b398018f..7a7f4bc09f 100644 --- a/docs/examples/1.6.x/server-go/examples/account/list-identities.md +++ b/docs/examples/1.6.x/server-go/examples/account/list-identities.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/account/list-logs.md b/docs/examples/1.6.x/server-go/examples/account/list-logs.md index 9cbdaa3569..eec9ed33e0 100644 --- a/docs/examples/1.6.x/server-go/examples/account/list-logs.md +++ b/docs/examples/1.6.x/server-go/examples/account/list-logs.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/account/list-mfa-factors.md b/docs/examples/1.6.x/server-go/examples/account/list-mfa-factors.md index 8e028c9615..4dca59fff6 100644 --- a/docs/examples/1.6.x/server-go/examples/account/list-mfa-factors.md +++ b/docs/examples/1.6.x/server-go/examples/account/list-mfa-factors.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/account/list-sessions.md b/docs/examples/1.6.x/server-go/examples/account/list-sessions.md index 12454750d1..9f8a5f4799 100644 --- a/docs/examples/1.6.x/server-go/examples/account/list-sessions.md +++ b/docs/examples/1.6.x/server-go/examples/account/list-sessions.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/account/update-email.md b/docs/examples/1.6.x/server-go/examples/account/update-email.md index 16c31efe88..11f98265b6 100644 --- a/docs/examples/1.6.x/server-go/examples/account/update-email.md +++ b/docs/examples/1.6.x/server-go/examples/account/update-email.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/account/update-m-f-a.md b/docs/examples/1.6.x/server-go/examples/account/update-m-f-a.md index f06eb959c1..d3df3d4638 100644 --- a/docs/examples/1.6.x/server-go/examples/account/update-m-f-a.md +++ b/docs/examples/1.6.x/server-go/examples/account/update-m-f-a.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.6.x/server-go/examples/account/update-magic-u-r-l-session.md index aaf8d69772..fdc9d45c04 100644 --- a/docs/examples/1.6.x/server-go/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.6.x/server-go/examples/account/update-magic-u-r-l-session.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID service := account.NewAccount(client) diff --git a/docs/examples/1.6.x/server-go/examples/account/update-mfa-authenticator.md b/docs/examples/1.6.x/server-go/examples/account/update-mfa-authenticator.md index 350dcfaf64..fb225574d4 100644 --- a/docs/examples/1.6.x/server-go/examples/account/update-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-go/examples/account/update-mfa-authenticator.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/account/update-mfa-challenge.md b/docs/examples/1.6.x/server-go/examples/account/update-mfa-challenge.md index 2c367fbc96..1e95a60d34 100644 --- a/docs/examples/1.6.x/server-go/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.6.x/server-go/examples/account/update-mfa-challenge.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/account/update-mfa-recovery-codes.md b/docs/examples/1.6.x/server-go/examples/account/update-mfa-recovery-codes.md index c04f169fa8..08feede261 100644 --- a/docs/examples/1.6.x/server-go/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-go/examples/account/update-mfa-recovery-codes.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/account/update-name.md b/docs/examples/1.6.x/server-go/examples/account/update-name.md index 31baf1f1da..8424a26946 100644 --- a/docs/examples/1.6.x/server-go/examples/account/update-name.md +++ b/docs/examples/1.6.x/server-go/examples/account/update-name.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/account/update-password.md b/docs/examples/1.6.x/server-go/examples/account/update-password.md index 770d748ccf..561ff0a667 100644 --- a/docs/examples/1.6.x/server-go/examples/account/update-password.md +++ b/docs/examples/1.6.x/server-go/examples/account/update-password.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/account/update-phone-session.md b/docs/examples/1.6.x/server-go/examples/account/update-phone-session.md index 4fb1e2ac69..433043e439 100644 --- a/docs/examples/1.6.x/server-go/examples/account/update-phone-session.md +++ b/docs/examples/1.6.x/server-go/examples/account/update-phone-session.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID service := account.NewAccount(client) diff --git a/docs/examples/1.6.x/server-go/examples/account/update-phone-verification.md b/docs/examples/1.6.x/server-go/examples/account/update-phone-verification.md index 0e3af85754..46602a8be8 100644 --- a/docs/examples/1.6.x/server-go/examples/account/update-phone-verification.md +++ b/docs/examples/1.6.x/server-go/examples/account/update-phone-verification.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/account/update-phone.md b/docs/examples/1.6.x/server-go/examples/account/update-phone.md index 3c39ab2899..d753cb21d3 100644 --- a/docs/examples/1.6.x/server-go/examples/account/update-phone.md +++ b/docs/examples/1.6.x/server-go/examples/account/update-phone.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/account/update-prefs.md b/docs/examples/1.6.x/server-go/examples/account/update-prefs.md index 822c6fdfbb..0319de200a 100644 --- a/docs/examples/1.6.x/server-go/examples/account/update-prefs.md +++ b/docs/examples/1.6.x/server-go/examples/account/update-prefs.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/account/update-recovery.md b/docs/examples/1.6.x/server-go/examples/account/update-recovery.md index 0450f9a03c..f40414e5e8 100644 --- a/docs/examples/1.6.x/server-go/examples/account/update-recovery.md +++ b/docs/examples/1.6.x/server-go/examples/account/update-recovery.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/account/update-session.md b/docs/examples/1.6.x/server-go/examples/account/update-session.md index cc03ef1acd..8e1725a71c 100644 --- a/docs/examples/1.6.x/server-go/examples/account/update-session.md +++ b/docs/examples/1.6.x/server-go/examples/account/update-session.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/account/update-status.md b/docs/examples/1.6.x/server-go/examples/account/update-status.md index 2e1f4f2e2b..a9a0e239b0 100644 --- a/docs/examples/1.6.x/server-go/examples/account/update-status.md +++ b/docs/examples/1.6.x/server-go/examples/account/update-status.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/account/update-verification.md b/docs/examples/1.6.x/server-go/examples/account/update-verification.md index 4e245c6bd6..2fd356dcf8 100644 --- a/docs/examples/1.6.x/server-go/examples/account/update-verification.md +++ b/docs/examples/1.6.x/server-go/examples/account/update-verification.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/avatars/get-browser.md b/docs/examples/1.6.x/server-go/examples/avatars/get-browser.md index 41e6d3a64a..31f16ec7be 100644 --- a/docs/examples/1.6.x/server-go/examples/avatars/get-browser.md +++ b/docs/examples/1.6.x/server-go/examples/avatars/get-browser.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/avatars/get-credit-card.md b/docs/examples/1.6.x/server-go/examples/avatars/get-credit-card.md index 29fa7c1715..51d3f589db 100644 --- a/docs/examples/1.6.x/server-go/examples/avatars/get-credit-card.md +++ b/docs/examples/1.6.x/server-go/examples/avatars/get-credit-card.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/avatars/get-favicon.md b/docs/examples/1.6.x/server-go/examples/avatars/get-favicon.md index 52d7120133..bdea40db2f 100644 --- a/docs/examples/1.6.x/server-go/examples/avatars/get-favicon.md +++ b/docs/examples/1.6.x/server-go/examples/avatars/get-favicon.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/avatars/get-flag.md b/docs/examples/1.6.x/server-go/examples/avatars/get-flag.md index 2024a671c7..74e11ef43a 100644 --- a/docs/examples/1.6.x/server-go/examples/avatars/get-flag.md +++ b/docs/examples/1.6.x/server-go/examples/avatars/get-flag.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/avatars/get-image.md b/docs/examples/1.6.x/server-go/examples/avatars/get-image.md index cbcb8c7b80..a751abb927 100644 --- a/docs/examples/1.6.x/server-go/examples/avatars/get-image.md +++ b/docs/examples/1.6.x/server-go/examples/avatars/get-image.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/avatars/get-initials.md b/docs/examples/1.6.x/server-go/examples/avatars/get-initials.md index 83c2f212da..21fa9282ae 100644 --- a/docs/examples/1.6.x/server-go/examples/avatars/get-initials.md +++ b/docs/examples/1.6.x/server-go/examples/avatars/get-initials.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/avatars/get-q-r.md b/docs/examples/1.6.x/server-go/examples/avatars/get-q-r.md index 172e272016..8eeea5f6bf 100644 --- a/docs/examples/1.6.x/server-go/examples/avatars/get-q-r.md +++ b/docs/examples/1.6.x/server-go/examples/avatars/get-q-r.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/databases/create-boolean-attribute.md b/docs/examples/1.6.x/server-go/examples/databases/create-boolean-attribute.md index e0a0a4255d..73e118e3b7 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.6.x/server-go/examples/databases/create-boolean-attribute.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/create-collection.md b/docs/examples/1.6.x/server-go/examples/databases/create-collection.md index 8b42c00dc1..815b21d6cb 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/create-collection.md +++ b/docs/examples/1.6.x/server-go/examples/databases/create-collection.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/create-datetime-attribute.md b/docs/examples/1.6.x/server-go/examples/databases/create-datetime-attribute.md index f8dc80f7fd..edf716911d 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.6.x/server-go/examples/databases/create-datetime-attribute.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/create-document.md b/docs/examples/1.6.x/server-go/examples/databases/create-document.md index 19bcdba0a4..142c55cffc 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/create-document.md +++ b/docs/examples/1.6.x/server-go/examples/databases/create-document.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/databases/create-email-attribute.md b/docs/examples/1.6.x/server-go/examples/databases/create-email-attribute.md index c79d5f28ca..f564b4033a 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/create-email-attribute.md +++ b/docs/examples/1.6.x/server-go/examples/databases/create-email-attribute.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/create-enum-attribute.md b/docs/examples/1.6.x/server-go/examples/databases/create-enum-attribute.md index ade770e80e..0827d31e1a 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.6.x/server-go/examples/databases/create-enum-attribute.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/create-float-attribute.md b/docs/examples/1.6.x/server-go/examples/databases/create-float-attribute.md index fc873a21f0..a262e1d3f3 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/create-float-attribute.md +++ b/docs/examples/1.6.x/server-go/examples/databases/create-float-attribute.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/create-index.md b/docs/examples/1.6.x/server-go/examples/databases/create-index.md index 417a5ffbe9..3544bd9f58 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/create-index.md +++ b/docs/examples/1.6.x/server-go/examples/databases/create-index.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/create-integer-attribute.md b/docs/examples/1.6.x/server-go/examples/databases/create-integer-attribute.md index 3ab7505e51..daa54f9ec6 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.6.x/server-go/examples/databases/create-integer-attribute.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/create-ip-attribute.md b/docs/examples/1.6.x/server-go/examples/databases/create-ip-attribute.md index 5f80658c77..4c5c9c37c2 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.6.x/server-go/examples/databases/create-ip-attribute.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/create-relationship-attribute.md b/docs/examples/1.6.x/server-go/examples/databases/create-relationship-attribute.md index 2e9431901c..e10aee8ddd 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.6.x/server-go/examples/databases/create-relationship-attribute.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/create-string-attribute.md b/docs/examples/1.6.x/server-go/examples/databases/create-string-attribute.md index 07fc841f74..e4bd63ce35 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/create-string-attribute.md +++ b/docs/examples/1.6.x/server-go/examples/databases/create-string-attribute.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/create-url-attribute.md b/docs/examples/1.6.x/server-go/examples/databases/create-url-attribute.md index a4525afc01..9d8b2e13f8 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/create-url-attribute.md +++ b/docs/examples/1.6.x/server-go/examples/databases/create-url-attribute.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/create.md b/docs/examples/1.6.x/server-go/examples/databases/create.md index 3303b89722..80f9f92c29 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/create.md +++ b/docs/examples/1.6.x/server-go/examples/databases/create.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/delete-attribute.md b/docs/examples/1.6.x/server-go/examples/databases/delete-attribute.md index 6d4f2c89d7..746dae5d0b 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/delete-attribute.md +++ b/docs/examples/1.6.x/server-go/examples/databases/delete-attribute.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/delete-collection.md b/docs/examples/1.6.x/server-go/examples/databases/delete-collection.md index 33b6cce1c8..abf6a7ae20 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/delete-collection.md +++ b/docs/examples/1.6.x/server-go/examples/databases/delete-collection.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/delete-document.md b/docs/examples/1.6.x/server-go/examples/databases/delete-document.md index e1d98e79c2..e8131a73f5 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/delete-document.md +++ b/docs/examples/1.6.x/server-go/examples/databases/delete-document.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/databases/delete-index.md b/docs/examples/1.6.x/server-go/examples/databases/delete-index.md index 540afeac4a..38e6bc94d0 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/delete-index.md +++ b/docs/examples/1.6.x/server-go/examples/databases/delete-index.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/delete.md b/docs/examples/1.6.x/server-go/examples/databases/delete.md index 76139289ce..0e7fb0a058 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/delete.md +++ b/docs/examples/1.6.x/server-go/examples/databases/delete.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/get-attribute.md b/docs/examples/1.6.x/server-go/examples/databases/get-attribute.md index b819b75820..64ba82e65c 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/get-attribute.md +++ b/docs/examples/1.6.x/server-go/examples/databases/get-attribute.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/get-collection.md b/docs/examples/1.6.x/server-go/examples/databases/get-collection.md index 9b9cd41aa3..ee166a4ff9 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/get-collection.md +++ b/docs/examples/1.6.x/server-go/examples/databases/get-collection.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/get-document.md b/docs/examples/1.6.x/server-go/examples/databases/get-document.md index d1e2d7b377..657a3dcab3 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/get-document.md +++ b/docs/examples/1.6.x/server-go/examples/databases/get-document.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/databases/get-index.md b/docs/examples/1.6.x/server-go/examples/databases/get-index.md index 6c7f35113f..efc9c1f950 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/get-index.md +++ b/docs/examples/1.6.x/server-go/examples/databases/get-index.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/get.md b/docs/examples/1.6.x/server-go/examples/databases/get.md index 8e1e002258..b6d337111b 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/get.md +++ b/docs/examples/1.6.x/server-go/examples/databases/get.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/list-attributes.md b/docs/examples/1.6.x/server-go/examples/databases/list-attributes.md index 8d127abbe6..8095b75d19 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/list-attributes.md +++ b/docs/examples/1.6.x/server-go/examples/databases/list-attributes.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/list-collections.md b/docs/examples/1.6.x/server-go/examples/databases/list-collections.md index cd76783838..2303c98bde 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/list-collections.md +++ b/docs/examples/1.6.x/server-go/examples/databases/list-collections.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/list-documents.md b/docs/examples/1.6.x/server-go/examples/databases/list-documents.md index 237b6d17f7..952a1b2b48 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/list-documents.md +++ b/docs/examples/1.6.x/server-go/examples/databases/list-documents.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/databases/list-indexes.md b/docs/examples/1.6.x/server-go/examples/databases/list-indexes.md index d0792e8dbf..8593dd71b7 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/list-indexes.md +++ b/docs/examples/1.6.x/server-go/examples/databases/list-indexes.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/list.md b/docs/examples/1.6.x/server-go/examples/databases/list.md index 3548af4484..798e33b6ea 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/list.md +++ b/docs/examples/1.6.x/server-go/examples/databases/list.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/update-boolean-attribute.md b/docs/examples/1.6.x/server-go/examples/databases/update-boolean-attribute.md index b5386f0111..770617635d 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.6.x/server-go/examples/databases/update-boolean-attribute.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/update-collection.md b/docs/examples/1.6.x/server-go/examples/databases/update-collection.md index 2e9c920022..1f80eaa255 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/update-collection.md +++ b/docs/examples/1.6.x/server-go/examples/databases/update-collection.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/update-datetime-attribute.md b/docs/examples/1.6.x/server-go/examples/databases/update-datetime-attribute.md index 53a66e8cfe..252334b20f 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.6.x/server-go/examples/databases/update-datetime-attribute.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/update-document.md b/docs/examples/1.6.x/server-go/examples/databases/update-document.md index c934568607..5ec0e189e9 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/update-document.md +++ b/docs/examples/1.6.x/server-go/examples/databases/update-document.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/databases/update-email-attribute.md b/docs/examples/1.6.x/server-go/examples/databases/update-email-attribute.md index 0dd72beb4b..c2e0cf9552 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/update-email-attribute.md +++ b/docs/examples/1.6.x/server-go/examples/databases/update-email-attribute.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/update-enum-attribute.md b/docs/examples/1.6.x/server-go/examples/databases/update-enum-attribute.md index aec51772ee..fb993f37cc 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.6.x/server-go/examples/databases/update-enum-attribute.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/update-float-attribute.md b/docs/examples/1.6.x/server-go/examples/databases/update-float-attribute.md index f7b40a299d..814da25bde 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/update-float-attribute.md +++ b/docs/examples/1.6.x/server-go/examples/databases/update-float-attribute.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key @@ -20,8 +20,8 @@ func main() { "", false, 0, - 0, - 0, + databases.WithUpdateFloatAttributeMin(0), + databases.WithUpdateFloatAttributeMax(0), databases.WithUpdateFloatAttributeNewKey(""), ) diff --git a/docs/examples/1.6.x/server-go/examples/databases/update-integer-attribute.md b/docs/examples/1.6.x/server-go/examples/databases/update-integer-attribute.md index 705d92c8aa..961374e3db 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.6.x/server-go/examples/databases/update-integer-attribute.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key @@ -20,8 +20,8 @@ func main() { "", false, 0, - 0, - 0, + databases.WithUpdateIntegerAttributeMin(0), + databases.WithUpdateIntegerAttributeMax(0), databases.WithUpdateIntegerAttributeNewKey(""), ) diff --git a/docs/examples/1.6.x/server-go/examples/databases/update-ip-attribute.md b/docs/examples/1.6.x/server-go/examples/databases/update-ip-attribute.md index b47672c530..4895feb54d 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.6.x/server-go/examples/databases/update-ip-attribute.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/update-relationship-attribute.md b/docs/examples/1.6.x/server-go/examples/databases/update-relationship-attribute.md index 7deadc7c15..6df9de2015 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.6.x/server-go/examples/databases/update-relationship-attribute.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/update-string-attribute.md b/docs/examples/1.6.x/server-go/examples/databases/update-string-attribute.md index f3e6addb07..0469527d04 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/update-string-attribute.md +++ b/docs/examples/1.6.x/server-go/examples/databases/update-string-attribute.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/update-url-attribute.md b/docs/examples/1.6.x/server-go/examples/databases/update-url-attribute.md index 98dc66fa99..53e2a482ef 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/update-url-attribute.md +++ b/docs/examples/1.6.x/server-go/examples/databases/update-url-attribute.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/databases/update.md b/docs/examples/1.6.x/server-go/examples/databases/update.md index af9e20ba28..8f5c6896a6 100644 --- a/docs/examples/1.6.x/server-go/examples/databases/update.md +++ b/docs/examples/1.6.x/server-go/examples/databases/update.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/functions/create-build.md b/docs/examples/1.6.x/server-go/examples/functions/create-build.md index 33e645bb02..a0dfeb672f 100644 --- a/docs/examples/1.6.x/server-go/examples/functions/create-build.md +++ b/docs/examples/1.6.x/server-go/examples/functions/create-build.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/functions/create-deployment.md b/docs/examples/1.6.x/server-go/examples/functions/create-deployment.md index c6ec69ca4a..afcfeb3173 100644 --- a/docs/examples/1.6.x/server-go/examples/functions/create-deployment.md +++ b/docs/examples/1.6.x/server-go/examples/functions/create-deployment.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/functions/create-execution.md b/docs/examples/1.6.x/server-go/examples/functions/create-execution.md index 4924e2338c..356e851376 100644 --- a/docs/examples/1.6.x/server-go/examples/functions/create-execution.md +++ b/docs/examples/1.6.x/server-go/examples/functions/create-execution.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/functions/create-variable.md b/docs/examples/1.6.x/server-go/examples/functions/create-variable.md index 9d50f0e0ec..411c480e8f 100644 --- a/docs/examples/1.6.x/server-go/examples/functions/create-variable.md +++ b/docs/examples/1.6.x/server-go/examples/functions/create-variable.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/functions/create.md b/docs/examples/1.6.x/server-go/examples/functions/create.md index 01cd0f0402..396a0049e5 100644 --- a/docs/examples/1.6.x/server-go/examples/functions/create.md +++ b/docs/examples/1.6.x/server-go/examples/functions/create.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/functions/delete-deployment.md b/docs/examples/1.6.x/server-go/examples/functions/delete-deployment.md index 3e189ea1c6..cf088e82c8 100644 --- a/docs/examples/1.6.x/server-go/examples/functions/delete-deployment.md +++ b/docs/examples/1.6.x/server-go/examples/functions/delete-deployment.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/functions/delete-execution.md b/docs/examples/1.6.x/server-go/examples/functions/delete-execution.md index 184f6234c7..e863e3ba57 100644 --- a/docs/examples/1.6.x/server-go/examples/functions/delete-execution.md +++ b/docs/examples/1.6.x/server-go/examples/functions/delete-execution.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/functions/delete-variable.md b/docs/examples/1.6.x/server-go/examples/functions/delete-variable.md index da9cb443da..7cb66a04ce 100644 --- a/docs/examples/1.6.x/server-go/examples/functions/delete-variable.md +++ b/docs/examples/1.6.x/server-go/examples/functions/delete-variable.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/functions/delete.md b/docs/examples/1.6.x/server-go/examples/functions/delete.md index c19495f32b..ec006f2079 100644 --- a/docs/examples/1.6.x/server-go/examples/functions/delete.md +++ b/docs/examples/1.6.x/server-go/examples/functions/delete.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/functions/get-deployment-download.md b/docs/examples/1.6.x/server-go/examples/functions/get-deployment-download.md index 16b29f5b91..cf903f0489 100644 --- a/docs/examples/1.6.x/server-go/examples/functions/get-deployment-download.md +++ b/docs/examples/1.6.x/server-go/examples/functions/get-deployment-download.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/functions/get-deployment.md b/docs/examples/1.6.x/server-go/examples/functions/get-deployment.md index 879f5b3e46..6b6824500a 100644 --- a/docs/examples/1.6.x/server-go/examples/functions/get-deployment.md +++ b/docs/examples/1.6.x/server-go/examples/functions/get-deployment.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/functions/get-execution.md b/docs/examples/1.6.x/server-go/examples/functions/get-execution.md index 7ec459b7e1..627c95b5a7 100644 --- a/docs/examples/1.6.x/server-go/examples/functions/get-execution.md +++ b/docs/examples/1.6.x/server-go/examples/functions/get-execution.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/functions/get-variable.md b/docs/examples/1.6.x/server-go/examples/functions/get-variable.md index f949ba5111..003baf4011 100644 --- a/docs/examples/1.6.x/server-go/examples/functions/get-variable.md +++ b/docs/examples/1.6.x/server-go/examples/functions/get-variable.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/functions/get.md b/docs/examples/1.6.x/server-go/examples/functions/get.md index 3e31a30788..a18d0526de 100644 --- a/docs/examples/1.6.x/server-go/examples/functions/get.md +++ b/docs/examples/1.6.x/server-go/examples/functions/get.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/functions/list-deployments.md b/docs/examples/1.6.x/server-go/examples/functions/list-deployments.md index 9549636b8d..b137c3047c 100644 --- a/docs/examples/1.6.x/server-go/examples/functions/list-deployments.md +++ b/docs/examples/1.6.x/server-go/examples/functions/list-deployments.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/functions/list-executions.md b/docs/examples/1.6.x/server-go/examples/functions/list-executions.md index 2a6291c6f3..2f63153b68 100644 --- a/docs/examples/1.6.x/server-go/examples/functions/list-executions.md +++ b/docs/examples/1.6.x/server-go/examples/functions/list-executions.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/functions/list-runtimes.md b/docs/examples/1.6.x/server-go/examples/functions/list-runtimes.md index d5124b2d68..76e4414df2 100644 --- a/docs/examples/1.6.x/server-go/examples/functions/list-runtimes.md +++ b/docs/examples/1.6.x/server-go/examples/functions/list-runtimes.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/functions/list-specifications.md b/docs/examples/1.6.x/server-go/examples/functions/list-specifications.md index 5fb03bb8d5..c1abea5d17 100644 --- a/docs/examples/1.6.x/server-go/examples/functions/list-specifications.md +++ b/docs/examples/1.6.x/server-go/examples/functions/list-specifications.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/functions/list-variables.md b/docs/examples/1.6.x/server-go/examples/functions/list-variables.md index 374c64ae54..e27df96670 100644 --- a/docs/examples/1.6.x/server-go/examples/functions/list-variables.md +++ b/docs/examples/1.6.x/server-go/examples/functions/list-variables.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/functions/list.md b/docs/examples/1.6.x/server-go/examples/functions/list.md index 124126fc91..36a55d72b2 100644 --- a/docs/examples/1.6.x/server-go/examples/functions/list.md +++ b/docs/examples/1.6.x/server-go/examples/functions/list.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/functions/update-deployment-build.md b/docs/examples/1.6.x/server-go/examples/functions/update-deployment-build.md index 92af3ee31f..2c4266fb06 100644 --- a/docs/examples/1.6.x/server-go/examples/functions/update-deployment-build.md +++ b/docs/examples/1.6.x/server-go/examples/functions/update-deployment-build.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/functions/update-deployment.md b/docs/examples/1.6.x/server-go/examples/functions/update-deployment.md index da08d0d8c6..0b63770a12 100644 --- a/docs/examples/1.6.x/server-go/examples/functions/update-deployment.md +++ b/docs/examples/1.6.x/server-go/examples/functions/update-deployment.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/functions/update-variable.md b/docs/examples/1.6.x/server-go/examples/functions/update-variable.md index fce59eb714..4063706ff8 100644 --- a/docs/examples/1.6.x/server-go/examples/functions/update-variable.md +++ b/docs/examples/1.6.x/server-go/examples/functions/update-variable.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/functions/update.md b/docs/examples/1.6.x/server-go/examples/functions/update.md index c29bf748ba..318ba4dfd0 100644 --- a/docs/examples/1.6.x/server-go/examples/functions/update.md +++ b/docs/examples/1.6.x/server-go/examples/functions/update.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/graphql/mutation.md b/docs/examples/1.6.x/server-go/examples/graphql/mutation.md index e011bc8016..092e817c93 100644 --- a/docs/examples/1.6.x/server-go/examples/graphql/mutation.md +++ b/docs/examples/1.6.x/server-go/examples/graphql/mutation.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/graphql/query.md b/docs/examples/1.6.x/server-go/examples/graphql/query.md index 6dec430cd7..511d6c452e 100644 --- a/docs/examples/1.6.x/server-go/examples/graphql/query.md +++ b/docs/examples/1.6.x/server-go/examples/graphql/query.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/health/get-antivirus.md b/docs/examples/1.6.x/server-go/examples/health/get-antivirus.md index 2ed5b0dd5a..1640c01c0e 100644 --- a/docs/examples/1.6.x/server-go/examples/health/get-antivirus.md +++ b/docs/examples/1.6.x/server-go/examples/health/get-antivirus.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/health/get-cache.md b/docs/examples/1.6.x/server-go/examples/health/get-cache.md index 4e6b8de6ce..976d51fbe7 100644 --- a/docs/examples/1.6.x/server-go/examples/health/get-cache.md +++ b/docs/examples/1.6.x/server-go/examples/health/get-cache.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/health/get-certificate.md b/docs/examples/1.6.x/server-go/examples/health/get-certificate.md index d251fff351..44d1d1bb92 100644 --- a/docs/examples/1.6.x/server-go/examples/health/get-certificate.md +++ b/docs/examples/1.6.x/server-go/examples/health/get-certificate.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/health/get-d-b.md b/docs/examples/1.6.x/server-go/examples/health/get-d-b.md index a6fbda0052..8f681a04c1 100644 --- a/docs/examples/1.6.x/server-go/examples/health/get-d-b.md +++ b/docs/examples/1.6.x/server-go/examples/health/get-d-b.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/health/get-failed-jobs.md b/docs/examples/1.6.x/server-go/examples/health/get-failed-jobs.md index 6e89dd400d..814b8850e8 100644 --- a/docs/examples/1.6.x/server-go/examples/health/get-failed-jobs.md +++ b/docs/examples/1.6.x/server-go/examples/health/get-failed-jobs.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/health/get-pub-sub.md b/docs/examples/1.6.x/server-go/examples/health/get-pub-sub.md index 5ab0d90ef6..6a3d67e838 100644 --- a/docs/examples/1.6.x/server-go/examples/health/get-pub-sub.md +++ b/docs/examples/1.6.x/server-go/examples/health/get-pub-sub.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/health/get-queue-builds.md b/docs/examples/1.6.x/server-go/examples/health/get-queue-builds.md index bd68bdf8b4..ebd1a2f3d8 100644 --- a/docs/examples/1.6.x/server-go/examples/health/get-queue-builds.md +++ b/docs/examples/1.6.x/server-go/examples/health/get-queue-builds.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/health/get-queue-certificates.md b/docs/examples/1.6.x/server-go/examples/health/get-queue-certificates.md index 1e43f62b98..473d953c15 100644 --- a/docs/examples/1.6.x/server-go/examples/health/get-queue-certificates.md +++ b/docs/examples/1.6.x/server-go/examples/health/get-queue-certificates.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/health/get-queue-databases.md b/docs/examples/1.6.x/server-go/examples/health/get-queue-databases.md index d0fb2fb114..83eb8584a5 100644 --- a/docs/examples/1.6.x/server-go/examples/health/get-queue-databases.md +++ b/docs/examples/1.6.x/server-go/examples/health/get-queue-databases.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/health/get-queue-deletes.md b/docs/examples/1.6.x/server-go/examples/health/get-queue-deletes.md index d4f76f57f2..e491446f94 100644 --- a/docs/examples/1.6.x/server-go/examples/health/get-queue-deletes.md +++ b/docs/examples/1.6.x/server-go/examples/health/get-queue-deletes.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/health/get-queue-functions.md b/docs/examples/1.6.x/server-go/examples/health/get-queue-functions.md index 75bc0cb3c1..c7cf45a355 100644 --- a/docs/examples/1.6.x/server-go/examples/health/get-queue-functions.md +++ b/docs/examples/1.6.x/server-go/examples/health/get-queue-functions.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/health/get-queue-logs.md b/docs/examples/1.6.x/server-go/examples/health/get-queue-logs.md index 686e42c84e..b369c24277 100644 --- a/docs/examples/1.6.x/server-go/examples/health/get-queue-logs.md +++ b/docs/examples/1.6.x/server-go/examples/health/get-queue-logs.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/health/get-queue-mails.md b/docs/examples/1.6.x/server-go/examples/health/get-queue-mails.md index 32433a1f79..cc944d0cad 100644 --- a/docs/examples/1.6.x/server-go/examples/health/get-queue-mails.md +++ b/docs/examples/1.6.x/server-go/examples/health/get-queue-mails.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/health/get-queue-messaging.md b/docs/examples/1.6.x/server-go/examples/health/get-queue-messaging.md index 56c50010fc..65c6c34610 100644 --- a/docs/examples/1.6.x/server-go/examples/health/get-queue-messaging.md +++ b/docs/examples/1.6.x/server-go/examples/health/get-queue-messaging.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/health/get-queue-migrations.md b/docs/examples/1.6.x/server-go/examples/health/get-queue-migrations.md index dba9bd1809..d0c3bd2573 100644 --- a/docs/examples/1.6.x/server-go/examples/health/get-queue-migrations.md +++ b/docs/examples/1.6.x/server-go/examples/health/get-queue-migrations.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/health/get-queue-stats-resources.md b/docs/examples/1.6.x/server-go/examples/health/get-queue-stats-resources.md new file mode 100644 index 0000000000..5ed004c7cf --- /dev/null +++ b/docs/examples/1.6.x/server-go/examples/health/get-queue-stats-resources.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/health" +) + +func main() { + client := client.NewClient() + + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint + client.SetProject("<YOUR_PROJECT_ID>") // Your project ID + client.SetKey("<YOUR_API_KEY>") // Your secret API key + + service := health.NewHealth(client) + response, error := service.GetQueueStatsResources( + health.WithGetQueueStatsResourcesThreshold(0), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.6.x/server-go/examples/health/get-queue-usage-dump.md b/docs/examples/1.6.x/server-go/examples/health/get-queue-usage-dump.md index f7ad9bd80f..9e5731e6a3 100644 --- a/docs/examples/1.6.x/server-go/examples/health/get-queue-usage-dump.md +++ b/docs/examples/1.6.x/server-go/examples/health/get-queue-usage-dump.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/health/get-queue-usage.md b/docs/examples/1.6.x/server-go/examples/health/get-queue-usage.md index f4315e37fb..5202371d1e 100644 --- a/docs/examples/1.6.x/server-go/examples/health/get-queue-usage.md +++ b/docs/examples/1.6.x/server-go/examples/health/get-queue-usage.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/health/get-queue-webhooks.md b/docs/examples/1.6.x/server-go/examples/health/get-queue-webhooks.md index 70f3b9888c..4782aef9ac 100644 --- a/docs/examples/1.6.x/server-go/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.6.x/server-go/examples/health/get-queue-webhooks.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/health/get-queue.md b/docs/examples/1.6.x/server-go/examples/health/get-queue.md index 9797a93be2..5fbda1d9ce 100644 --- a/docs/examples/1.6.x/server-go/examples/health/get-queue.md +++ b/docs/examples/1.6.x/server-go/examples/health/get-queue.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/health/get-storage-local.md b/docs/examples/1.6.x/server-go/examples/health/get-storage-local.md index 1bebff56d4..e58b944497 100644 --- a/docs/examples/1.6.x/server-go/examples/health/get-storage-local.md +++ b/docs/examples/1.6.x/server-go/examples/health/get-storage-local.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/health/get-storage.md b/docs/examples/1.6.x/server-go/examples/health/get-storage.md index 8ac0f7fb36..73ae964d51 100644 --- a/docs/examples/1.6.x/server-go/examples/health/get-storage.md +++ b/docs/examples/1.6.x/server-go/examples/health/get-storage.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/health/get-time.md b/docs/examples/1.6.x/server-go/examples/health/get-time.md index 447954b76b..43c0ca46a4 100644 --- a/docs/examples/1.6.x/server-go/examples/health/get-time.md +++ b/docs/examples/1.6.x/server-go/examples/health/get-time.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/health/get.md b/docs/examples/1.6.x/server-go/examples/health/get.md index 35022c7302..c9730f70dd 100644 --- a/docs/examples/1.6.x/server-go/examples/health/get.md +++ b/docs/examples/1.6.x/server-go/examples/health/get.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/locale/get.md b/docs/examples/1.6.x/server-go/examples/locale/get.md index 233ee953dd..055889b6ce 100644 --- a/docs/examples/1.6.x/server-go/examples/locale/get.md +++ b/docs/examples/1.6.x/server-go/examples/locale/get.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/locale/list-codes.md b/docs/examples/1.6.x/server-go/examples/locale/list-codes.md index d3d049b1fd..a69a05d6cd 100644 --- a/docs/examples/1.6.x/server-go/examples/locale/list-codes.md +++ b/docs/examples/1.6.x/server-go/examples/locale/list-codes.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/locale/list-continents.md b/docs/examples/1.6.x/server-go/examples/locale/list-continents.md index ba80f2549b..0430fdbe99 100644 --- a/docs/examples/1.6.x/server-go/examples/locale/list-continents.md +++ b/docs/examples/1.6.x/server-go/examples/locale/list-continents.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/locale/list-countries-e-u.md b/docs/examples/1.6.x/server-go/examples/locale/list-countries-e-u.md index 1fbc22c1e5..92bd24d1f8 100644 --- a/docs/examples/1.6.x/server-go/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.6.x/server-go/examples/locale/list-countries-e-u.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/locale/list-countries-phones.md b/docs/examples/1.6.x/server-go/examples/locale/list-countries-phones.md index 72b7d96a19..1615834103 100644 --- a/docs/examples/1.6.x/server-go/examples/locale/list-countries-phones.md +++ b/docs/examples/1.6.x/server-go/examples/locale/list-countries-phones.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/locale/list-countries.md b/docs/examples/1.6.x/server-go/examples/locale/list-countries.md index 894ae4c15b..25bbbd1538 100644 --- a/docs/examples/1.6.x/server-go/examples/locale/list-countries.md +++ b/docs/examples/1.6.x/server-go/examples/locale/list-countries.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/locale/list-currencies.md b/docs/examples/1.6.x/server-go/examples/locale/list-currencies.md index 4335a93489..e4bde5d9d9 100644 --- a/docs/examples/1.6.x/server-go/examples/locale/list-currencies.md +++ b/docs/examples/1.6.x/server-go/examples/locale/list-currencies.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/locale/list-languages.md b/docs/examples/1.6.x/server-go/examples/locale/list-languages.md index 789d570102..acce3181be 100644 --- a/docs/examples/1.6.x/server-go/examples/locale/list-languages.md +++ b/docs/examples/1.6.x/server-go/examples/locale/list-languages.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/messaging/create-apns-provider.md b/docs/examples/1.6.x/server-go/examples/messaging/create-apns-provider.md index feabfae846..620219e07d 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/create-apns-provider.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/create-apns-provider.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/create-email.md b/docs/examples/1.6.x/server-go/examples/messaging/create-email.md index 87d386452f..3da6c88cf4 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/create-email.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/create-email.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/create-fcm-provider.md b/docs/examples/1.6.x/server-go/examples/messaging/create-fcm-provider.md index 5422396197..c70c340eb5 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/create-fcm-provider.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/create-fcm-provider.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/create-mailgun-provider.md b/docs/examples/1.6.x/server-go/examples/messaging/create-mailgun-provider.md index 2b26246fba..e265218ef4 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/create-mailgun-provider.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/create-mailgun-provider.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/create-msg91provider.md b/docs/examples/1.6.x/server-go/examples/messaging/create-msg91provider.md index e2d7412862..53660cbfa0 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/create-msg91provider.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/create-msg91provider.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/create-push.md b/docs/examples/1.6.x/server-go/examples/messaging/create-push.md index b40037472f..214d6ae0ed 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/create-push.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/create-push.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/create-sendgrid-provider.md b/docs/examples/1.6.x/server-go/examples/messaging/create-sendgrid-provider.md index 1f70761a7d..69375a23ca 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/create-sendgrid-provider.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/create-sendgrid-provider.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/create-sms.md b/docs/examples/1.6.x/server-go/examples/messaging/create-sms.md index 74583d236d..95c7738969 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/create-sms.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/create-sms.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/create-smtp-provider.md b/docs/examples/1.6.x/server-go/examples/messaging/create-smtp-provider.md index 136e274ed7..4c88b4ef7a 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/create-smtp-provider.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/create-smtp-provider.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/create-subscriber.md b/docs/examples/1.6.x/server-go/examples/messaging/create-subscriber.md index 38f8418acc..c4faa8544a 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/create-subscriber.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/create-subscriber.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetJWT("<YOUR_JWT>") // Your secret JSON Web Token diff --git a/docs/examples/1.6.x/server-go/examples/messaging/create-telesign-provider.md b/docs/examples/1.6.x/server-go/examples/messaging/create-telesign-provider.md index 7de661031b..11dd8c9bc6 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/create-telesign-provider.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/create-telesign-provider.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/create-textmagic-provider.md b/docs/examples/1.6.x/server-go/examples/messaging/create-textmagic-provider.md index c58bbe7569..a036549240 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/create-textmagic-provider.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/create-textmagic-provider.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/create-topic.md b/docs/examples/1.6.x/server-go/examples/messaging/create-topic.md index d435d5e4a0..0453089fbc 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/create-topic.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/create-topic.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/create-twilio-provider.md b/docs/examples/1.6.x/server-go/examples/messaging/create-twilio-provider.md index 73c3656ec6..cd8a993a6c 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/create-twilio-provider.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/create-twilio-provider.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/create-vonage-provider.md b/docs/examples/1.6.x/server-go/examples/messaging/create-vonage-provider.md index 37568abc68..e17e8d885b 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/create-vonage-provider.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/create-vonage-provider.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/delete-provider.md b/docs/examples/1.6.x/server-go/examples/messaging/delete-provider.md index 304293d780..2c5b77d622 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/delete-provider.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/delete-provider.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/delete-subscriber.md b/docs/examples/1.6.x/server-go/examples/messaging/delete-subscriber.md index 1e918d9587..fec03f53f7 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/delete-subscriber.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/delete-subscriber.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetJWT("<YOUR_JWT>") // Your secret JSON Web Token diff --git a/docs/examples/1.6.x/server-go/examples/messaging/delete-topic.md b/docs/examples/1.6.x/server-go/examples/messaging/delete-topic.md index 36c13a4a55..3a9787b6ce 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/delete-topic.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/delete-topic.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/delete.md b/docs/examples/1.6.x/server-go/examples/messaging/delete.md index ce4b8a2e73..4d5accd22f 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/delete.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/delete.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/get-message.md b/docs/examples/1.6.x/server-go/examples/messaging/get-message.md index d0d2d21d27..d6db3188c8 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/get-message.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/get-message.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/get-provider.md b/docs/examples/1.6.x/server-go/examples/messaging/get-provider.md index 9796d60fd3..ff2bab3acf 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/get-provider.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/get-provider.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/get-subscriber.md b/docs/examples/1.6.x/server-go/examples/messaging/get-subscriber.md index c0c39a928c..47fccf23cd 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/get-subscriber.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/get-subscriber.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/get-topic.md b/docs/examples/1.6.x/server-go/examples/messaging/get-topic.md index 8c8f4613da..a332f55ba4 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/get-topic.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/get-topic.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/list-message-logs.md b/docs/examples/1.6.x/server-go/examples/messaging/list-message-logs.md index 6d82a61ee2..b4a5528b41 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/list-message-logs.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/list-message-logs.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/list-messages.md b/docs/examples/1.6.x/server-go/examples/messaging/list-messages.md index 047ff9bd1f..f1ca97d3fe 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/list-messages.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/list-messages.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/list-provider-logs.md b/docs/examples/1.6.x/server-go/examples/messaging/list-provider-logs.md index 89449d193a..945dbcfd4e 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/list-provider-logs.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/list-provider-logs.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/list-providers.md b/docs/examples/1.6.x/server-go/examples/messaging/list-providers.md index b8ae055bae..57c09a2061 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/list-providers.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/list-providers.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/list-subscriber-logs.md b/docs/examples/1.6.x/server-go/examples/messaging/list-subscriber-logs.md index 679039ec91..cb2f050dd9 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/list-subscriber-logs.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/list-subscriber-logs.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/list-subscribers.md b/docs/examples/1.6.x/server-go/examples/messaging/list-subscribers.md index 7da3d67bc7..045777d8c4 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/list-subscribers.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/list-subscribers.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/list-targets.md b/docs/examples/1.6.x/server-go/examples/messaging/list-targets.md index 448e3f58a4..9cc65e0d1c 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/list-targets.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/list-targets.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/list-topic-logs.md b/docs/examples/1.6.x/server-go/examples/messaging/list-topic-logs.md index 49316663b3..2e928dbfc7 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/list-topic-logs.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/list-topic-logs.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/list-topics.md b/docs/examples/1.6.x/server-go/examples/messaging/list-topics.md index 39478d30f3..69574ae02f 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/list-topics.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/list-topics.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/update-apns-provider.md b/docs/examples/1.6.x/server-go/examples/messaging/update-apns-provider.md index bd331bca3c..aac3e39c6e 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/update-apns-provider.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/update-apns-provider.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/update-email.md b/docs/examples/1.6.x/server-go/examples/messaging/update-email.md index 86c7ee0601..f1e9f081d2 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/update-email.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/update-email.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/update-fcm-provider.md b/docs/examples/1.6.x/server-go/examples/messaging/update-fcm-provider.md index c6bd3ba485..55e4b90363 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/update-fcm-provider.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/update-fcm-provider.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/update-mailgun-provider.md b/docs/examples/1.6.x/server-go/examples/messaging/update-mailgun-provider.md index 00789d2f6d..5bb229f348 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/update-mailgun-provider.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/update-mailgun-provider.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/update-msg91provider.md b/docs/examples/1.6.x/server-go/examples/messaging/update-msg91provider.md index 0bda860823..d19c500262 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/update-msg91provider.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/update-msg91provider.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/update-push.md b/docs/examples/1.6.x/server-go/examples/messaging/update-push.md index d1b47256c0..856b95dc1b 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/update-push.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/update-push.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/update-sendgrid-provider.md b/docs/examples/1.6.x/server-go/examples/messaging/update-sendgrid-provider.md index e7205716cc..5742b44874 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/update-sendgrid-provider.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/update-sendgrid-provider.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/update-sms.md b/docs/examples/1.6.x/server-go/examples/messaging/update-sms.md index 2f74b58422..09b3456d38 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/update-sms.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/update-sms.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/update-smtp-provider.md b/docs/examples/1.6.x/server-go/examples/messaging/update-smtp-provider.md index 5c0ecedf94..b99f86e123 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/update-smtp-provider.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/update-smtp-provider.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/update-telesign-provider.md b/docs/examples/1.6.x/server-go/examples/messaging/update-telesign-provider.md index c30c288caa..5fb99a68ec 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/update-telesign-provider.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/update-telesign-provider.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/update-textmagic-provider.md b/docs/examples/1.6.x/server-go/examples/messaging/update-textmagic-provider.md index baaed6020d..24e619cc7f 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/update-textmagic-provider.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/update-textmagic-provider.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/update-topic.md b/docs/examples/1.6.x/server-go/examples/messaging/update-topic.md index 4f5b003e3b..ab8902b4b2 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/update-topic.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/update-topic.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/update-twilio-provider.md b/docs/examples/1.6.x/server-go/examples/messaging/update-twilio-provider.md index 1763a5f02d..316a2516d1 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/update-twilio-provider.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/update-twilio-provider.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/messaging/update-vonage-provider.md b/docs/examples/1.6.x/server-go/examples/messaging/update-vonage-provider.md index ea1d6fe393..d17452140a 100644 --- a/docs/examples/1.6.x/server-go/examples/messaging/update-vonage-provider.md +++ b/docs/examples/1.6.x/server-go/examples/messaging/update-vonage-provider.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/storage/create-bucket.md b/docs/examples/1.6.x/server-go/examples/storage/create-bucket.md index 9ab1965854..39dc1d06d9 100644 --- a/docs/examples/1.6.x/server-go/examples/storage/create-bucket.md +++ b/docs/examples/1.6.x/server-go/examples/storage/create-bucket.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/storage/create-file.md b/docs/examples/1.6.x/server-go/examples/storage/create-file.md index e561e22e3e..1ca815c92e 100644 --- a/docs/examples/1.6.x/server-go/examples/storage/create-file.md +++ b/docs/examples/1.6.x/server-go/examples/storage/create-file.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/storage/delete-bucket.md b/docs/examples/1.6.x/server-go/examples/storage/delete-bucket.md index 227ae84109..37a3f69b25 100644 --- a/docs/examples/1.6.x/server-go/examples/storage/delete-bucket.md +++ b/docs/examples/1.6.x/server-go/examples/storage/delete-bucket.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/storage/delete-file.md b/docs/examples/1.6.x/server-go/examples/storage/delete-file.md index d67861b0b2..522aacae72 100644 --- a/docs/examples/1.6.x/server-go/examples/storage/delete-file.md +++ b/docs/examples/1.6.x/server-go/examples/storage/delete-file.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/storage/get-bucket.md b/docs/examples/1.6.x/server-go/examples/storage/get-bucket.md index 3aa33b40c0..b76ac37d25 100644 --- a/docs/examples/1.6.x/server-go/examples/storage/get-bucket.md +++ b/docs/examples/1.6.x/server-go/examples/storage/get-bucket.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/storage/get-file-download.md b/docs/examples/1.6.x/server-go/examples/storage/get-file-download.md index aa9185cadd..b8c8202460 100644 --- a/docs/examples/1.6.x/server-go/examples/storage/get-file-download.md +++ b/docs/examples/1.6.x/server-go/examples/storage/get-file-download.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/storage/get-file-preview.md b/docs/examples/1.6.x/server-go/examples/storage/get-file-preview.md index 2210c4559e..ffa1ad4a4a 100644 --- a/docs/examples/1.6.x/server-go/examples/storage/get-file-preview.md +++ b/docs/examples/1.6.x/server-go/examples/storage/get-file-preview.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/storage/get-file-view.md b/docs/examples/1.6.x/server-go/examples/storage/get-file-view.md index e4a3ece23c..f8685f42d5 100644 --- a/docs/examples/1.6.x/server-go/examples/storage/get-file-view.md +++ b/docs/examples/1.6.x/server-go/examples/storage/get-file-view.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/storage/get-file.md b/docs/examples/1.6.x/server-go/examples/storage/get-file.md index 4dfc7df829..824c86f054 100644 --- a/docs/examples/1.6.x/server-go/examples/storage/get-file.md +++ b/docs/examples/1.6.x/server-go/examples/storage/get-file.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/storage/list-buckets.md b/docs/examples/1.6.x/server-go/examples/storage/list-buckets.md index 571d46376e..00dd8d657b 100644 --- a/docs/examples/1.6.x/server-go/examples/storage/list-buckets.md +++ b/docs/examples/1.6.x/server-go/examples/storage/list-buckets.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/storage/list-files.md b/docs/examples/1.6.x/server-go/examples/storage/list-files.md index 13f4549a9a..a84dfac6fd 100644 --- a/docs/examples/1.6.x/server-go/examples/storage/list-files.md +++ b/docs/examples/1.6.x/server-go/examples/storage/list-files.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/storage/update-bucket.md b/docs/examples/1.6.x/server-go/examples/storage/update-bucket.md index 6c7f9463c9..58efff687b 100644 --- a/docs/examples/1.6.x/server-go/examples/storage/update-bucket.md +++ b/docs/examples/1.6.x/server-go/examples/storage/update-bucket.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/storage/update-file.md b/docs/examples/1.6.x/server-go/examples/storage/update-file.md index 820e6d4f23..f1705138e9 100644 --- a/docs/examples/1.6.x/server-go/examples/storage/update-file.md +++ b/docs/examples/1.6.x/server-go/examples/storage/update-file.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/teams/create-membership.md b/docs/examples/1.6.x/server-go/examples/teams/create-membership.md index 186520d47a..90c3d82348 100644 --- a/docs/examples/1.6.x/server-go/examples/teams/create-membership.md +++ b/docs/examples/1.6.x/server-go/examples/teams/create-membership.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/teams/create.md b/docs/examples/1.6.x/server-go/examples/teams/create.md index b429e396a6..1898936941 100644 --- a/docs/examples/1.6.x/server-go/examples/teams/create.md +++ b/docs/examples/1.6.x/server-go/examples/teams/create.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/teams/delete-membership.md b/docs/examples/1.6.x/server-go/examples/teams/delete-membership.md index 536aa91f93..78810817a9 100644 --- a/docs/examples/1.6.x/server-go/examples/teams/delete-membership.md +++ b/docs/examples/1.6.x/server-go/examples/teams/delete-membership.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/teams/delete.md b/docs/examples/1.6.x/server-go/examples/teams/delete.md index 8e1c5d4893..fb4771605d 100644 --- a/docs/examples/1.6.x/server-go/examples/teams/delete.md +++ b/docs/examples/1.6.x/server-go/examples/teams/delete.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/teams/get-membership.md b/docs/examples/1.6.x/server-go/examples/teams/get-membership.md index 3bc8650dd9..c61b9c57c3 100644 --- a/docs/examples/1.6.x/server-go/examples/teams/get-membership.md +++ b/docs/examples/1.6.x/server-go/examples/teams/get-membership.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/teams/get-prefs.md b/docs/examples/1.6.x/server-go/examples/teams/get-prefs.md index bb2ff1c778..c237cd144a 100644 --- a/docs/examples/1.6.x/server-go/examples/teams/get-prefs.md +++ b/docs/examples/1.6.x/server-go/examples/teams/get-prefs.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/teams/get.md b/docs/examples/1.6.x/server-go/examples/teams/get.md index 69b00075a9..c29e9fa786 100644 --- a/docs/examples/1.6.x/server-go/examples/teams/get.md +++ b/docs/examples/1.6.x/server-go/examples/teams/get.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/teams/list-memberships.md b/docs/examples/1.6.x/server-go/examples/teams/list-memberships.md index 45a6267e98..1e8fb45ca7 100644 --- a/docs/examples/1.6.x/server-go/examples/teams/list-memberships.md +++ b/docs/examples/1.6.x/server-go/examples/teams/list-memberships.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/teams/list.md b/docs/examples/1.6.x/server-go/examples/teams/list.md index 96c5f8ab74..c4b109f1f3 100644 --- a/docs/examples/1.6.x/server-go/examples/teams/list.md +++ b/docs/examples/1.6.x/server-go/examples/teams/list.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/teams/update-membership-status.md b/docs/examples/1.6.x/server-go/examples/teams/update-membership-status.md index accc79ebce..fbec3b8e84 100644 --- a/docs/examples/1.6.x/server-go/examples/teams/update-membership-status.md +++ b/docs/examples/1.6.x/server-go/examples/teams/update-membership-status.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/teams/update-membership.md b/docs/examples/1.6.x/server-go/examples/teams/update-membership.md index 9f18528938..1b478a1913 100644 --- a/docs/examples/1.6.x/server-go/examples/teams/update-membership.md +++ b/docs/examples/1.6.x/server-go/examples/teams/update-membership.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/teams/update-name.md b/docs/examples/1.6.x/server-go/examples/teams/update-name.md index 05459deb4a..a7b5da7c20 100644 --- a/docs/examples/1.6.x/server-go/examples/teams/update-name.md +++ b/docs/examples/1.6.x/server-go/examples/teams/update-name.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/teams/update-prefs.md b/docs/examples/1.6.x/server-go/examples/teams/update-prefs.md index 314cf6c685..6d395add21 100644 --- a/docs/examples/1.6.x/server-go/examples/teams/update-prefs.md +++ b/docs/examples/1.6.x/server-go/examples/teams/update-prefs.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-go/examples/users/create-argon2user.md b/docs/examples/1.6.x/server-go/examples/users/create-argon2user.md index 87226b8033..44eaafbcd4 100644 --- a/docs/examples/1.6.x/server-go/examples/users/create-argon2user.md +++ b/docs/examples/1.6.x/server-go/examples/users/create-argon2user.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/create-bcrypt-user.md b/docs/examples/1.6.x/server-go/examples/users/create-bcrypt-user.md index 89e979d1b8..d818598c70 100644 --- a/docs/examples/1.6.x/server-go/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.6.x/server-go/examples/users/create-bcrypt-user.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/create-j-w-t.md b/docs/examples/1.6.x/server-go/examples/users/create-j-w-t.md index 37d1a5d0eb..dc1e51b195 100644 --- a/docs/examples/1.6.x/server-go/examples/users/create-j-w-t.md +++ b/docs/examples/1.6.x/server-go/examples/users/create-j-w-t.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/create-m-d5user.md b/docs/examples/1.6.x/server-go/examples/users/create-m-d5user.md index d2c87b4d14..1dba39c5fd 100644 --- a/docs/examples/1.6.x/server-go/examples/users/create-m-d5user.md +++ b/docs/examples/1.6.x/server-go/examples/users/create-m-d5user.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/create-mfa-recovery-codes.md b/docs/examples/1.6.x/server-go/examples/users/create-mfa-recovery-codes.md index 6757a62721..3078f0993b 100644 --- a/docs/examples/1.6.x/server-go/examples/users/create-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-go/examples/users/create-mfa-recovery-codes.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/create-p-h-pass-user.md b/docs/examples/1.6.x/server-go/examples/users/create-p-h-pass-user.md index f8a9f4007d..c0380bd9f3 100644 --- a/docs/examples/1.6.x/server-go/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.6.x/server-go/examples/users/create-p-h-pass-user.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/create-s-h-a-user.md b/docs/examples/1.6.x/server-go/examples/users/create-s-h-a-user.md index b8e348c884..93aa77e853 100644 --- a/docs/examples/1.6.x/server-go/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.6.x/server-go/examples/users/create-s-h-a-user.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/create-scrypt-modified-user.md b/docs/examples/1.6.x/server-go/examples/users/create-scrypt-modified-user.md index 935ecc12cc..cd48f6c83f 100644 --- a/docs/examples/1.6.x/server-go/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.6.x/server-go/examples/users/create-scrypt-modified-user.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/create-scrypt-user.md b/docs/examples/1.6.x/server-go/examples/users/create-scrypt-user.md index 8320412796..65d70e986f 100644 --- a/docs/examples/1.6.x/server-go/examples/users/create-scrypt-user.md +++ b/docs/examples/1.6.x/server-go/examples/users/create-scrypt-user.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/create-session.md b/docs/examples/1.6.x/server-go/examples/users/create-session.md index b246b8feb7..92304e647d 100644 --- a/docs/examples/1.6.x/server-go/examples/users/create-session.md +++ b/docs/examples/1.6.x/server-go/examples/users/create-session.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/create-target.md b/docs/examples/1.6.x/server-go/examples/users/create-target.md index d4802c1998..db42e2c391 100644 --- a/docs/examples/1.6.x/server-go/examples/users/create-target.md +++ b/docs/examples/1.6.x/server-go/examples/users/create-target.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/create-token.md b/docs/examples/1.6.x/server-go/examples/users/create-token.md index ea9b5a1e8b..6181a8d9d4 100644 --- a/docs/examples/1.6.x/server-go/examples/users/create-token.md +++ b/docs/examples/1.6.x/server-go/examples/users/create-token.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/create.md b/docs/examples/1.6.x/server-go/examples/users/create.md index f1b8f25d61..0ab673bc73 100644 --- a/docs/examples/1.6.x/server-go/examples/users/create.md +++ b/docs/examples/1.6.x/server-go/examples/users/create.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/delete-identity.md b/docs/examples/1.6.x/server-go/examples/users/delete-identity.md index af33140a4f..1095a1763a 100644 --- a/docs/examples/1.6.x/server-go/examples/users/delete-identity.md +++ b/docs/examples/1.6.x/server-go/examples/users/delete-identity.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/delete-mfa-authenticator.md b/docs/examples/1.6.x/server-go/examples/users/delete-mfa-authenticator.md index eb8f23b6a3..d61c5db0c8 100644 --- a/docs/examples/1.6.x/server-go/examples/users/delete-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-go/examples/users/delete-mfa-authenticator.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/delete-session.md b/docs/examples/1.6.x/server-go/examples/users/delete-session.md index b29c8b0d70..2a0de4c271 100644 --- a/docs/examples/1.6.x/server-go/examples/users/delete-session.md +++ b/docs/examples/1.6.x/server-go/examples/users/delete-session.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/delete-sessions.md b/docs/examples/1.6.x/server-go/examples/users/delete-sessions.md index 9fc4e8012a..ea15501819 100644 --- a/docs/examples/1.6.x/server-go/examples/users/delete-sessions.md +++ b/docs/examples/1.6.x/server-go/examples/users/delete-sessions.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/delete-target.md b/docs/examples/1.6.x/server-go/examples/users/delete-target.md index 73443c5a1d..d4cd4e51a8 100644 --- a/docs/examples/1.6.x/server-go/examples/users/delete-target.md +++ b/docs/examples/1.6.x/server-go/examples/users/delete-target.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/delete.md b/docs/examples/1.6.x/server-go/examples/users/delete.md index 4e4e046891..2c359e3ab0 100644 --- a/docs/examples/1.6.x/server-go/examples/users/delete.md +++ b/docs/examples/1.6.x/server-go/examples/users/delete.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/get-mfa-recovery-codes.md b/docs/examples/1.6.x/server-go/examples/users/get-mfa-recovery-codes.md index 6e70217d0d..485075546f 100644 --- a/docs/examples/1.6.x/server-go/examples/users/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-go/examples/users/get-mfa-recovery-codes.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/get-prefs.md b/docs/examples/1.6.x/server-go/examples/users/get-prefs.md index 8c05fddc5f..0dba272388 100644 --- a/docs/examples/1.6.x/server-go/examples/users/get-prefs.md +++ b/docs/examples/1.6.x/server-go/examples/users/get-prefs.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/get-target.md b/docs/examples/1.6.x/server-go/examples/users/get-target.md index 761d008b37..b1291d7490 100644 --- a/docs/examples/1.6.x/server-go/examples/users/get-target.md +++ b/docs/examples/1.6.x/server-go/examples/users/get-target.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/get.md b/docs/examples/1.6.x/server-go/examples/users/get.md index 44852bb972..c6aae29d5d 100644 --- a/docs/examples/1.6.x/server-go/examples/users/get.md +++ b/docs/examples/1.6.x/server-go/examples/users/get.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/list-identities.md b/docs/examples/1.6.x/server-go/examples/users/list-identities.md index a4cbbbd1ee..063b9100fb 100644 --- a/docs/examples/1.6.x/server-go/examples/users/list-identities.md +++ b/docs/examples/1.6.x/server-go/examples/users/list-identities.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/list-logs.md b/docs/examples/1.6.x/server-go/examples/users/list-logs.md index a713ee3ba2..674668b965 100644 --- a/docs/examples/1.6.x/server-go/examples/users/list-logs.md +++ b/docs/examples/1.6.x/server-go/examples/users/list-logs.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/list-memberships.md b/docs/examples/1.6.x/server-go/examples/users/list-memberships.md index 5770fd8c7e..95cc841f16 100644 --- a/docs/examples/1.6.x/server-go/examples/users/list-memberships.md +++ b/docs/examples/1.6.x/server-go/examples/users/list-memberships.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/list-mfa-factors.md b/docs/examples/1.6.x/server-go/examples/users/list-mfa-factors.md index d89e0f3f96..1c39b87a66 100644 --- a/docs/examples/1.6.x/server-go/examples/users/list-mfa-factors.md +++ b/docs/examples/1.6.x/server-go/examples/users/list-mfa-factors.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/list-sessions.md b/docs/examples/1.6.x/server-go/examples/users/list-sessions.md index a58d0532df..835c23b1bc 100644 --- a/docs/examples/1.6.x/server-go/examples/users/list-sessions.md +++ b/docs/examples/1.6.x/server-go/examples/users/list-sessions.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/list-targets.md b/docs/examples/1.6.x/server-go/examples/users/list-targets.md index 45f967b424..84c2c312a9 100644 --- a/docs/examples/1.6.x/server-go/examples/users/list-targets.md +++ b/docs/examples/1.6.x/server-go/examples/users/list-targets.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/list.md b/docs/examples/1.6.x/server-go/examples/users/list.md index b84ee0e3b7..247ad4c2e7 100644 --- a/docs/examples/1.6.x/server-go/examples/users/list.md +++ b/docs/examples/1.6.x/server-go/examples/users/list.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/update-email-verification.md b/docs/examples/1.6.x/server-go/examples/users/update-email-verification.md index af4c066543..70f5a10757 100644 --- a/docs/examples/1.6.x/server-go/examples/users/update-email-verification.md +++ b/docs/examples/1.6.x/server-go/examples/users/update-email-verification.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/update-email.md b/docs/examples/1.6.x/server-go/examples/users/update-email.md index ea18cc6863..697783b967 100644 --- a/docs/examples/1.6.x/server-go/examples/users/update-email.md +++ b/docs/examples/1.6.x/server-go/examples/users/update-email.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/update-labels.md b/docs/examples/1.6.x/server-go/examples/users/update-labels.md index 63bbe1255b..a65d2ead9d 100644 --- a/docs/examples/1.6.x/server-go/examples/users/update-labels.md +++ b/docs/examples/1.6.x/server-go/examples/users/update-labels.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/update-mfa-recovery-codes.md b/docs/examples/1.6.x/server-go/examples/users/update-mfa-recovery-codes.md index 408721b2ec..eb47e2ee09 100644 --- a/docs/examples/1.6.x/server-go/examples/users/update-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-go/examples/users/update-mfa-recovery-codes.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/update-mfa.md b/docs/examples/1.6.x/server-go/examples/users/update-mfa.md index 9da9d05fd0..756863799f 100644 --- a/docs/examples/1.6.x/server-go/examples/users/update-mfa.md +++ b/docs/examples/1.6.x/server-go/examples/users/update-mfa.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/update-name.md b/docs/examples/1.6.x/server-go/examples/users/update-name.md index 7d5a2553ea..8ef173c2e3 100644 --- a/docs/examples/1.6.x/server-go/examples/users/update-name.md +++ b/docs/examples/1.6.x/server-go/examples/users/update-name.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/update-password.md b/docs/examples/1.6.x/server-go/examples/users/update-password.md index 64f5766c9b..2f9efac65f 100644 --- a/docs/examples/1.6.x/server-go/examples/users/update-password.md +++ b/docs/examples/1.6.x/server-go/examples/users/update-password.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/update-phone-verification.md b/docs/examples/1.6.x/server-go/examples/users/update-phone-verification.md index 409cdf3c18..c94fbd861e 100644 --- a/docs/examples/1.6.x/server-go/examples/users/update-phone-verification.md +++ b/docs/examples/1.6.x/server-go/examples/users/update-phone-verification.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/update-phone.md b/docs/examples/1.6.x/server-go/examples/users/update-phone.md index 0440906d1e..77d20162f9 100644 --- a/docs/examples/1.6.x/server-go/examples/users/update-phone.md +++ b/docs/examples/1.6.x/server-go/examples/users/update-phone.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/update-prefs.md b/docs/examples/1.6.x/server-go/examples/users/update-prefs.md index 184235d2dd..f7889a6337 100644 --- a/docs/examples/1.6.x/server-go/examples/users/update-prefs.md +++ b/docs/examples/1.6.x/server-go/examples/users/update-prefs.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/update-status.md b/docs/examples/1.6.x/server-go/examples/users/update-status.md index a081d0bff4..2349e4e0c9 100644 --- a/docs/examples/1.6.x/server-go/examples/users/update-status.md +++ b/docs/examples/1.6.x/server-go/examples/users/update-status.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-go/examples/users/update-target.md b/docs/examples/1.6.x/server-go/examples/users/update-target.md index a06c395cab..f8028b4483 100644 --- a/docs/examples/1.6.x/server-go/examples/users/update-target.md +++ b/docs/examples/1.6.x/server-go/examples/users/update-target.md @@ -9,7 +9,7 @@ import ( func main() { client := client.NewClient() - client.SetEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + client.SetEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint client.SetProject("<YOUR_PROJECT_ID>") // Your project ID client.SetKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-graphql/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.6.x/server-graphql/examples/account/get-mfa-recovery-codes.md index e2de72b57f..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-graphql/examples/account/get-mfa-recovery-codes.md @@ -1,5 +0,0 @@ -query { - accountGetMfaRecoveryCodes { - recoveryCodes - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/account/get-prefs.md b/docs/examples/1.6.x/server-graphql/examples/account/get-prefs.md index 6cb48d2b58..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/account/get-prefs.md +++ b/docs/examples/1.6.x/server-graphql/examples/account/get-prefs.md @@ -1,5 +0,0 @@ -query { - accountGetPrefs { - data - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/account/get-session.md b/docs/examples/1.6.x/server-graphql/examples/account/get-session.md index 65c824f68b..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/account/get-session.md +++ b/docs/examples/1.6.x/server-graphql/examples/account/get-session.md @@ -1,35 +0,0 @@ -query { - accountGetSession( - sessionId: "<SESSION_ID>" - ) { - _id - _createdAt - _updatedAt - userId - expire - provider - providerUid - providerAccessToken - providerAccessTokenExpiry - providerRefreshToken - ip - osCode - osName - osVersion - clientType - clientCode - clientName - clientVersion - clientEngine - clientEngineVersion - deviceName - deviceBrand - deviceModel - countryCode - countryName - current - factors - secret - mfaUpdatedAt - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/account/get.md b/docs/examples/1.6.x/server-graphql/examples/account/get.md index f4f07c187f..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/account/get.md +++ b/docs/examples/1.6.x/server-graphql/examples/account/get.md @@ -1,35 +0,0 @@ -query { - accountGet { - _id - _createdAt - _updatedAt - name - password - hash - hashOptions - registration - status - labels - passwordUpdate - email - phone - emailVerification - phoneVerification - mfa - prefs { - data - } - targets { - _id - _createdAt - _updatedAt - name - userId - providerId - providerType - identifier - expired - } - accessedAt - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/account/list-identities.md b/docs/examples/1.6.x/server-graphql/examples/account/list-identities.md index b7a2a6d39a..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/account/list-identities.md +++ b/docs/examples/1.6.x/server-graphql/examples/account/list-identities.md @@ -1,19 +0,0 @@ -query { - accountListIdentities( - queries: [] - ) { - total - identities { - _id - _createdAt - _updatedAt - userId - provider - providerUid - providerEmail - providerAccessToken - providerAccessTokenExpiry - providerRefreshToken - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/account/list-logs.md b/docs/examples/1.6.x/server-graphql/examples/account/list-logs.md index 1e17b2f69f..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/account/list-logs.md +++ b/docs/examples/1.6.x/server-graphql/examples/account/list-logs.md @@ -1,30 +0,0 @@ -query { - accountListLogs( - queries: [] - ) { - total - logs { - event - userId - userEmail - userName - mode - ip - time - osCode - osName - osVersion - clientType - clientCode - clientName - clientVersion - clientEngine - clientEngineVersion - deviceName - deviceBrand - deviceModel - countryCode - countryName - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/account/list-mfa-factors.md b/docs/examples/1.6.x/server-graphql/examples/account/list-mfa-factors.md index 2a78b901b3..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/account/list-mfa-factors.md +++ b/docs/examples/1.6.x/server-graphql/examples/account/list-mfa-factors.md @@ -1,8 +0,0 @@ -query { - accountListMfaFactors { - totp - phone - email - recoveryCode - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/account/list-sessions.md b/docs/examples/1.6.x/server-graphql/examples/account/list-sessions.md index 6d45f1d4ae..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/account/list-sessions.md +++ b/docs/examples/1.6.x/server-graphql/examples/account/list-sessions.md @@ -1,36 +0,0 @@ -query { - accountListSessions { - total - sessions { - _id - _createdAt - _updatedAt - userId - expire - provider - providerUid - providerAccessToken - providerAccessTokenExpiry - providerRefreshToken - ip - osCode - osName - osVersion - clientType - clientCode - clientName - clientVersion - clientEngine - clientEngineVersion - deviceName - deviceBrand - deviceModel - countryCode - countryName - current - factors - secret - mfaUpdatedAt - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/avatars/get-browser.md b/docs/examples/1.6.x/server-graphql/examples/avatars/get-browser.md index 817e1e54c2..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/avatars/get-browser.md +++ b/docs/examples/1.6.x/server-graphql/examples/avatars/get-browser.md @@ -1,10 +0,0 @@ -query { - avatarsGetBrowser( - code: "aa", - width: 0, - height: 0, - quality: 0 - ) { - status - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/avatars/get-credit-card.md b/docs/examples/1.6.x/server-graphql/examples/avatars/get-credit-card.md index e4b5dc18d9..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/avatars/get-credit-card.md +++ b/docs/examples/1.6.x/server-graphql/examples/avatars/get-credit-card.md @@ -1,10 +0,0 @@ -query { - avatarsGetCreditCard( - code: "amex", - width: 0, - height: 0, - quality: 0 - ) { - status - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/avatars/get-favicon.md b/docs/examples/1.6.x/server-graphql/examples/avatars/get-favicon.md index bfea71f498..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/avatars/get-favicon.md +++ b/docs/examples/1.6.x/server-graphql/examples/avatars/get-favicon.md @@ -1,7 +0,0 @@ -query { - avatarsGetFavicon( - url: "https://example.com" - ) { - status - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/avatars/get-flag.md b/docs/examples/1.6.x/server-graphql/examples/avatars/get-flag.md index 1502128581..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/avatars/get-flag.md +++ b/docs/examples/1.6.x/server-graphql/examples/avatars/get-flag.md @@ -1,10 +0,0 @@ -query { - avatarsGetFlag( - code: "af", - width: 0, - height: 0, - quality: 0 - ) { - status - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/avatars/get-image.md b/docs/examples/1.6.x/server-graphql/examples/avatars/get-image.md index 3b9aa104dc..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/avatars/get-image.md +++ b/docs/examples/1.6.x/server-graphql/examples/avatars/get-image.md @@ -1,9 +0,0 @@ -query { - avatarsGetImage( - url: "https://example.com", - width: 0, - height: 0 - ) { - status - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/avatars/get-initials.md b/docs/examples/1.6.x/server-graphql/examples/avatars/get-initials.md index 51ae36136b..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/avatars/get-initials.md +++ b/docs/examples/1.6.x/server-graphql/examples/avatars/get-initials.md @@ -1,10 +0,0 @@ -query { - avatarsGetInitials( - name: "<NAME>", - width: 0, - height: 0, - background: "" - ) { - status - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/avatars/get-q-r.md b/docs/examples/1.6.x/server-graphql/examples/avatars/get-q-r.md index a19f218412..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/avatars/get-q-r.md +++ b/docs/examples/1.6.x/server-graphql/examples/avatars/get-q-r.md @@ -1,10 +0,0 @@ -query { - avatarsGetQR( - text: "<TEXT>", - size: 1, - margin: 0, - download: false - ) { - status - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/databases/get-attribute.md b/docs/examples/1.6.x/server-graphql/examples/databases/get-attribute.md index 873d03b708..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/databases/get-attribute.md +++ b/docs/examples/1.6.x/server-graphql/examples/databases/get-attribute.md @@ -1,9 +0,0 @@ -query { - databasesGetAttribute( - databaseId: "<DATABASE_ID>", - collectionId: "<COLLECTION_ID>", - key: "" - ) { - status - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/databases/get-collection.md b/docs/examples/1.6.x/server-graphql/examples/databases/get-collection.md index ed27286b0d..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/databases/get-collection.md +++ b/docs/examples/1.6.x/server-graphql/examples/databases/get-collection.md @@ -1,26 +0,0 @@ -query { - databasesGetCollection( - databaseId: "<DATABASE_ID>", - collectionId: "<COLLECTION_ID>" - ) { - _id - _createdAt - _updatedAt - _permissions - databaseId - name - enabled - documentSecurity - attributes - indexes { - key - type - status - error - attributes - orders - _createdAt - _updatedAt - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/databases/get-document.md b/docs/examples/1.6.x/server-graphql/examples/databases/get-document.md index 7cff0a18c1..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/databases/get-document.md +++ b/docs/examples/1.6.x/server-graphql/examples/databases/get-document.md @@ -1,16 +0,0 @@ -query { - databasesGetDocument( - databaseId: "<DATABASE_ID>", - collectionId: "<COLLECTION_ID>", - documentId: "<DOCUMENT_ID>", - queries: [] - ) { - _id - _collectionId - _databaseId - _createdAt - _updatedAt - _permissions - data - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/databases/get-index.md b/docs/examples/1.6.x/server-graphql/examples/databases/get-index.md index 29de7a76f8..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/databases/get-index.md +++ b/docs/examples/1.6.x/server-graphql/examples/databases/get-index.md @@ -1,16 +0,0 @@ -query { - databasesGetIndex( - databaseId: "<DATABASE_ID>", - collectionId: "<COLLECTION_ID>", - key: "" - ) { - key - type - status - error - attributes - orders - _createdAt - _updatedAt - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/databases/get.md b/docs/examples/1.6.x/server-graphql/examples/databases/get.md index 74c4fe5619..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/databases/get.md +++ b/docs/examples/1.6.x/server-graphql/examples/databases/get.md @@ -1,11 +0,0 @@ -query { - databasesGet( - databaseId: "<DATABASE_ID>" - ) { - _id - name - _createdAt - _updatedAt - enabled - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/databases/list-attributes.md b/docs/examples/1.6.x/server-graphql/examples/databases/list-attributes.md index 660c0945a7..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/databases/list-attributes.md +++ b/docs/examples/1.6.x/server-graphql/examples/databases/list-attributes.md @@ -1,10 +0,0 @@ -query { - databasesListAttributes( - databaseId: "<DATABASE_ID>", - collectionId: "<COLLECTION_ID>", - queries: [] - ) { - total - attributes - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/databases/list-collections.md b/docs/examples/1.6.x/server-graphql/examples/databases/list-collections.md index 8dafbf7042..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/databases/list-collections.md +++ b/docs/examples/1.6.x/server-graphql/examples/databases/list-collections.md @@ -1,30 +0,0 @@ -query { - databasesListCollections( - databaseId: "<DATABASE_ID>", - queries: [], - search: "<SEARCH>" - ) { - total - collections { - _id - _createdAt - _updatedAt - _permissions - databaseId - name - enabled - documentSecurity - attributes - indexes { - key - type - status - error - attributes - orders - _createdAt - _updatedAt - } - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/databases/list-documents.md b/docs/examples/1.6.x/server-graphql/examples/databases/list-documents.md index 077d7c8f12..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/databases/list-documents.md +++ b/docs/examples/1.6.x/server-graphql/examples/databases/list-documents.md @@ -1,18 +0,0 @@ -query { - databasesListDocuments( - databaseId: "<DATABASE_ID>", - collectionId: "<COLLECTION_ID>", - queries: [] - ) { - total - documents { - _id - _collectionId - _databaseId - _createdAt - _updatedAt - _permissions - data - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/databases/list-indexes.md b/docs/examples/1.6.x/server-graphql/examples/databases/list-indexes.md index 3cb67c6451..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/databases/list-indexes.md +++ b/docs/examples/1.6.x/server-graphql/examples/databases/list-indexes.md @@ -1,19 +0,0 @@ -query { - databasesListIndexes( - databaseId: "<DATABASE_ID>", - collectionId: "<COLLECTION_ID>", - queries: [] - ) { - total - indexes { - key - type - status - error - attributes - orders - _createdAt - _updatedAt - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/databases/list.md b/docs/examples/1.6.x/server-graphql/examples/databases/list.md index 1adf3d3b48..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/databases/list.md +++ b/docs/examples/1.6.x/server-graphql/examples/databases/list.md @@ -1,15 +0,0 @@ -query { - databasesList( - queries: [], - search: "<SEARCH>" - ) { - total - databases { - _id - name - _createdAt - _updatedAt - enabled - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/databases/update-float-attribute.md b/docs/examples/1.6.x/server-graphql/examples/databases/update-float-attribute.md index c5c7afca44..c70232e749 100644 --- a/docs/examples/1.6.x/server-graphql/examples/databases/update-float-attribute.md +++ b/docs/examples/1.6.x/server-graphql/examples/databases/update-float-attribute.md @@ -4,9 +4,9 @@ mutation { collectionId: "<COLLECTION_ID>", key: "", required: false, + default: 0, min: 0, max: 0, - default: 0, newKey: "" ) { key diff --git a/docs/examples/1.6.x/server-graphql/examples/databases/update-integer-attribute.md b/docs/examples/1.6.x/server-graphql/examples/databases/update-integer-attribute.md index e38ccaa88c..b24af5f260 100644 --- a/docs/examples/1.6.x/server-graphql/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.6.x/server-graphql/examples/databases/update-integer-attribute.md @@ -4,9 +4,9 @@ mutation { collectionId: "<COLLECTION_ID>", key: "", required: false, + default: 0, min: 0, max: 0, - default: 0, newKey: "" ) { key diff --git a/docs/examples/1.6.x/server-graphql/examples/functions/get-deployment-download.md b/docs/examples/1.6.x/server-graphql/examples/functions/get-deployment-download.md index 396047bb94..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/functions/get-deployment-download.md +++ b/docs/examples/1.6.x/server-graphql/examples/functions/get-deployment-download.md @@ -1,8 +0,0 @@ -query { - functionsGetDeploymentDownload( - functionId: "<FUNCTION_ID>", - deploymentId: "<DEPLOYMENT_ID>" - ) { - status - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/functions/get-deployment.md b/docs/examples/1.6.x/server-graphql/examples/functions/get-deployment.md index 1f47561dd5..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/functions/get-deployment.md +++ b/docs/examples/1.6.x/server-graphql/examples/functions/get-deployment.md @@ -1,31 +0,0 @@ -query { - functionsGetDeployment( - functionId: "<FUNCTION_ID>", - deploymentId: "<DEPLOYMENT_ID>" - ) { - _id - _createdAt - _updatedAt - type - resourceId - resourceType - entrypoint - size - buildSize - buildId - activate - status - buildLogs - buildTime - providerRepositoryName - providerRepositoryOwner - providerRepositoryUrl - providerBranch - providerCommitHash - providerCommitAuthorUrl - providerCommitAuthor - providerCommitMessage - providerCommitUrl - providerBranchUrl - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/functions/get-execution.md b/docs/examples/1.6.x/server-graphql/examples/functions/get-execution.md index 6ded51a50c..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/functions/get-execution.md +++ b/docs/examples/1.6.x/server-graphql/examples/functions/get-execution.md @@ -1,30 +0,0 @@ -query { - functionsGetExecution( - functionId: "<FUNCTION_ID>", - executionId: "<EXECUTION_ID>" - ) { - _id - _createdAt - _updatedAt - _permissions - functionId - trigger - status - requestMethod - requestPath - requestHeaders { - name - value - } - responseStatusCode - responseBody - responseHeaders { - name - value - } - logs - errors - duration - scheduledAt - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/functions/get-variable.md b/docs/examples/1.6.x/server-graphql/examples/functions/get-variable.md index cd683f0dbd..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/functions/get-variable.md +++ b/docs/examples/1.6.x/server-graphql/examples/functions/get-variable.md @@ -1,14 +0,0 @@ -query { - functionsGetVariable( - functionId: "<FUNCTION_ID>", - variableId: "<VARIABLE_ID>" - ) { - _id - _createdAt - _updatedAt - key - value - resourceType - resourceId - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/functions/get.md b/docs/examples/1.6.x/server-graphql/examples/functions/get.md index 016a942bce..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/functions/get.md +++ b/docs/examples/1.6.x/server-graphql/examples/functions/get.md @@ -1,38 +0,0 @@ -query { - functionsGet( - functionId: "<FUNCTION_ID>" - ) { - _id - _createdAt - _updatedAt - execute - name - enabled - live - logging - runtime - deployment - scopes - vars { - _id - _createdAt - _updatedAt - key - value - resourceType - resourceId - } - events - schedule - timeout - entrypoint - commands - version - installationId - providerRepositoryId - providerBranch - providerRootDirectory - providerSilentMode - specification - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/functions/list-deployments.md b/docs/examples/1.6.x/server-graphql/examples/functions/list-deployments.md index 57b50fc98f..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/functions/list-deployments.md +++ b/docs/examples/1.6.x/server-graphql/examples/functions/list-deployments.md @@ -1,35 +0,0 @@ -query { - functionsListDeployments( - functionId: "<FUNCTION_ID>", - queries: [], - search: "<SEARCH>" - ) { - total - deployments { - _id - _createdAt - _updatedAt - type - resourceId - resourceType - entrypoint - size - buildSize - buildId - activate - status - buildLogs - buildTime - providerRepositoryName - providerRepositoryOwner - providerRepositoryUrl - providerBranch - providerCommitHash - providerCommitAuthorUrl - providerCommitAuthor - providerCommitMessage - providerCommitUrl - providerBranchUrl - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/functions/list-executions.md b/docs/examples/1.6.x/server-graphql/examples/functions/list-executions.md index a0c02fa76f..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/functions/list-executions.md +++ b/docs/examples/1.6.x/server-graphql/examples/functions/list-executions.md @@ -1,34 +0,0 @@ -query { - functionsListExecutions( - functionId: "<FUNCTION_ID>", - queries: [], - search: "<SEARCH>" - ) { - total - executions { - _id - _createdAt - _updatedAt - _permissions - functionId - trigger - status - requestMethod - requestPath - requestHeaders { - name - value - } - responseStatusCode - responseBody - responseHeaders { - name - value - } - logs - errors - duration - scheduledAt - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/functions/list-runtimes.md b/docs/examples/1.6.x/server-graphql/examples/functions/list-runtimes.md index 445ff9dd08..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/functions/list-runtimes.md +++ b/docs/examples/1.6.x/server-graphql/examples/functions/list-runtimes.md @@ -1,15 +0,0 @@ -query { - functionsListRuntimes { - total - runtimes { - _id - key - name - version - base - image - logo - supports - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/functions/list-specifications.md b/docs/examples/1.6.x/server-graphql/examples/functions/list-specifications.md index a86b6ea494..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/functions/list-specifications.md +++ b/docs/examples/1.6.x/server-graphql/examples/functions/list-specifications.md @@ -1,11 +0,0 @@ -query { - functionsListSpecifications { - total - specifications { - memory - cpus - enabled - slug - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/functions/list-variables.md b/docs/examples/1.6.x/server-graphql/examples/functions/list-variables.md index 583107bd2e..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/functions/list-variables.md +++ b/docs/examples/1.6.x/server-graphql/examples/functions/list-variables.md @@ -1,16 +0,0 @@ -query { - functionsListVariables( - functionId: "<FUNCTION_ID>" - ) { - total - variables { - _id - _createdAt - _updatedAt - key - value - resourceType - resourceId - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/functions/list.md b/docs/examples/1.6.x/server-graphql/examples/functions/list.md index 25341ed0dd..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/functions/list.md +++ b/docs/examples/1.6.x/server-graphql/examples/functions/list.md @@ -1,42 +0,0 @@ -query { - functionsList( - queries: [], - search: "<SEARCH>" - ) { - total - functions { - _id - _createdAt - _updatedAt - execute - name - enabled - live - logging - runtime - deployment - scopes - vars { - _id - _createdAt - _updatedAt - key - value - resourceType - resourceId - } - events - schedule - timeout - entrypoint - commands - version - installationId - providerRepositoryId - providerBranch - providerRootDirectory - providerSilentMode - specification - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/health/get-antivirus.md b/docs/examples/1.6.x/server-graphql/examples/health/get-antivirus.md index 3634dc11c1..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/health/get-antivirus.md +++ b/docs/examples/1.6.x/server-graphql/examples/health/get-antivirus.md @@ -1,6 +0,0 @@ -query { - healthGetAntivirus { - version - status - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/health/get-cache.md b/docs/examples/1.6.x/server-graphql/examples/health/get-cache.md index 3db4076257..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/health/get-cache.md +++ b/docs/examples/1.6.x/server-graphql/examples/health/get-cache.md @@ -1,7 +0,0 @@ -query { - healthGetCache { - name - ping - status - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/health/get-certificate.md b/docs/examples/1.6.x/server-graphql/examples/health/get-certificate.md index 91356f8512..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/health/get-certificate.md +++ b/docs/examples/1.6.x/server-graphql/examples/health/get-certificate.md @@ -1,12 +0,0 @@ -query { - healthGetCertificate( - domain: "" - ) { - name - subjectSN - issuerOrganisation - validFrom - validTo - signatureTypeSN - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/health/get-d-b.md b/docs/examples/1.6.x/server-graphql/examples/health/get-d-b.md index 16e67c674e..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/health/get-d-b.md +++ b/docs/examples/1.6.x/server-graphql/examples/health/get-d-b.md @@ -1,7 +0,0 @@ -query { - healthGetDB { - name - ping - status - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/health/get-failed-jobs.md b/docs/examples/1.6.x/server-graphql/examples/health/get-failed-jobs.md index ca17166a89..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/health/get-failed-jobs.md +++ b/docs/examples/1.6.x/server-graphql/examples/health/get-failed-jobs.md @@ -1,8 +0,0 @@ -query { - healthGetFailedJobs( - name: "v1-database", - threshold: 0 - ) { - size - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/health/get-pub-sub.md b/docs/examples/1.6.x/server-graphql/examples/health/get-pub-sub.md index cec6469b31..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/health/get-pub-sub.md +++ b/docs/examples/1.6.x/server-graphql/examples/health/get-pub-sub.md @@ -1,7 +0,0 @@ -query { - healthGetPubSub { - name - ping - status - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/health/get-queue-builds.md b/docs/examples/1.6.x/server-graphql/examples/health/get-queue-builds.md index 26fb7f89fa..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/health/get-queue-builds.md +++ b/docs/examples/1.6.x/server-graphql/examples/health/get-queue-builds.md @@ -1,7 +0,0 @@ -query { - healthGetQueueBuilds( - threshold: 0 - ) { - size - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/health/get-queue-certificates.md b/docs/examples/1.6.x/server-graphql/examples/health/get-queue-certificates.md index 8073528cc6..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/health/get-queue-certificates.md +++ b/docs/examples/1.6.x/server-graphql/examples/health/get-queue-certificates.md @@ -1,7 +0,0 @@ -query { - healthGetQueueCertificates( - threshold: 0 - ) { - size - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/health/get-queue-databases.md b/docs/examples/1.6.x/server-graphql/examples/health/get-queue-databases.md index 3e77623903..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/health/get-queue-databases.md +++ b/docs/examples/1.6.x/server-graphql/examples/health/get-queue-databases.md @@ -1,8 +0,0 @@ -query { - healthGetQueueDatabases( - name: "<NAME>", - threshold: 0 - ) { - size - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/health/get-queue-deletes.md b/docs/examples/1.6.x/server-graphql/examples/health/get-queue-deletes.md index 8e7dedcf54..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/health/get-queue-deletes.md +++ b/docs/examples/1.6.x/server-graphql/examples/health/get-queue-deletes.md @@ -1,7 +0,0 @@ -query { - healthGetQueueDeletes( - threshold: 0 - ) { - size - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/health/get-queue-functions.md b/docs/examples/1.6.x/server-graphql/examples/health/get-queue-functions.md index a827c9a143..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/health/get-queue-functions.md +++ b/docs/examples/1.6.x/server-graphql/examples/health/get-queue-functions.md @@ -1,7 +0,0 @@ -query { - healthGetQueueFunctions( - threshold: 0 - ) { - size - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/health/get-queue-logs.md b/docs/examples/1.6.x/server-graphql/examples/health/get-queue-logs.md index 96c93304bd..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/health/get-queue-logs.md +++ b/docs/examples/1.6.x/server-graphql/examples/health/get-queue-logs.md @@ -1,7 +0,0 @@ -query { - healthGetQueueLogs( - threshold: 0 - ) { - size - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/health/get-queue-mails.md b/docs/examples/1.6.x/server-graphql/examples/health/get-queue-mails.md index a30747567b..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/health/get-queue-mails.md +++ b/docs/examples/1.6.x/server-graphql/examples/health/get-queue-mails.md @@ -1,7 +0,0 @@ -query { - healthGetQueueMails( - threshold: 0 - ) { - size - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/health/get-queue-messaging.md b/docs/examples/1.6.x/server-graphql/examples/health/get-queue-messaging.md index 9209550b11..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/health/get-queue-messaging.md +++ b/docs/examples/1.6.x/server-graphql/examples/health/get-queue-messaging.md @@ -1,7 +0,0 @@ -query { - healthGetQueueMessaging( - threshold: 0 - ) { - size - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/health/get-queue-migrations.md b/docs/examples/1.6.x/server-graphql/examples/health/get-queue-migrations.md index 99fd99134d..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/health/get-queue-migrations.md +++ b/docs/examples/1.6.x/server-graphql/examples/health/get-queue-migrations.md @@ -1,7 +0,0 @@ -query { - healthGetQueueMigrations( - threshold: 0 - ) { - size - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/health/get-queue-stats-resources.md b/docs/examples/1.6.x/server-graphql/examples/health/get-queue-stats-resources.md new file mode 100644 index 0000000000..e69de29bb2 diff --git a/docs/examples/1.6.x/server-graphql/examples/health/get-queue-usage.md b/docs/examples/1.6.x/server-graphql/examples/health/get-queue-usage.md index 2d9f7cb14b..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/health/get-queue-usage.md +++ b/docs/examples/1.6.x/server-graphql/examples/health/get-queue-usage.md @@ -1,7 +0,0 @@ -query { - healthGetQueueUsage( - threshold: 0 - ) { - size - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/health/get-queue-webhooks.md b/docs/examples/1.6.x/server-graphql/examples/health/get-queue-webhooks.md index 3e95e2fc0d..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.6.x/server-graphql/examples/health/get-queue-webhooks.md @@ -1,7 +0,0 @@ -query { - healthGetQueueWebhooks( - threshold: 0 - ) { - size - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/health/get-storage-local.md b/docs/examples/1.6.x/server-graphql/examples/health/get-storage-local.md index 953af346ae..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/health/get-storage-local.md +++ b/docs/examples/1.6.x/server-graphql/examples/health/get-storage-local.md @@ -1,7 +0,0 @@ -query { - healthGetStorageLocal { - name - ping - status - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/health/get-storage.md b/docs/examples/1.6.x/server-graphql/examples/health/get-storage.md index d7161df205..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/health/get-storage.md +++ b/docs/examples/1.6.x/server-graphql/examples/health/get-storage.md @@ -1,7 +0,0 @@ -query { - healthGetStorage { - name - ping - status - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/health/get-time.md b/docs/examples/1.6.x/server-graphql/examples/health/get-time.md index 0def76b9ad..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/health/get-time.md +++ b/docs/examples/1.6.x/server-graphql/examples/health/get-time.md @@ -1,7 +0,0 @@ -query { - healthGetTime { - remoteTime - localTime - diff - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/health/get.md b/docs/examples/1.6.x/server-graphql/examples/health/get.md index 8481d3625a..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/health/get.md +++ b/docs/examples/1.6.x/server-graphql/examples/health/get.md @@ -1,7 +0,0 @@ -query { - healthGet { - name - ping - status - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/locale/get.md b/docs/examples/1.6.x/server-graphql/examples/locale/get.md index 2b2bbcc1f1..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/locale/get.md +++ b/docs/examples/1.6.x/server-graphql/examples/locale/get.md @@ -1,11 +0,0 @@ -query { - localeGet { - ip - countryCode - country - continentCode - continent - eu - currency - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/locale/list-codes.md b/docs/examples/1.6.x/server-graphql/examples/locale/list-codes.md index 0164cc3782..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/locale/list-codes.md +++ b/docs/examples/1.6.x/server-graphql/examples/locale/list-codes.md @@ -1,9 +0,0 @@ -query { - localeListCodes { - total - localeCodes { - code - name - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/locale/list-continents.md b/docs/examples/1.6.x/server-graphql/examples/locale/list-continents.md index 41f672c565..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/locale/list-continents.md +++ b/docs/examples/1.6.x/server-graphql/examples/locale/list-continents.md @@ -1,9 +0,0 @@ -query { - localeListContinents { - total - continents { - name - code - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/locale/list-countries-e-u.md b/docs/examples/1.6.x/server-graphql/examples/locale/list-countries-e-u.md index 00cd4652f9..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.6.x/server-graphql/examples/locale/list-countries-e-u.md @@ -1,9 +0,0 @@ -query { - localeListCountriesEU { - total - countries { - name - code - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/locale/list-countries-phones.md b/docs/examples/1.6.x/server-graphql/examples/locale/list-countries-phones.md index 33d2296850..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/locale/list-countries-phones.md +++ b/docs/examples/1.6.x/server-graphql/examples/locale/list-countries-phones.md @@ -1,10 +0,0 @@ -query { - localeListCountriesPhones { - total - phones { - code - countryCode - countryName - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/locale/list-countries.md b/docs/examples/1.6.x/server-graphql/examples/locale/list-countries.md index 9312bc94b1..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/locale/list-countries.md +++ b/docs/examples/1.6.x/server-graphql/examples/locale/list-countries.md @@ -1,9 +0,0 @@ -query { - localeListCountries { - total - countries { - name - code - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/locale/list-currencies.md b/docs/examples/1.6.x/server-graphql/examples/locale/list-currencies.md index cde3ab488a..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/locale/list-currencies.md +++ b/docs/examples/1.6.x/server-graphql/examples/locale/list-currencies.md @@ -1,14 +0,0 @@ -query { - localeListCurrencies { - total - currencies { - symbol - name - symbolNative - decimalDigits - rounding - code - namePlural - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/locale/list-languages.md b/docs/examples/1.6.x/server-graphql/examples/locale/list-languages.md index b0d76c522b..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/locale/list-languages.md +++ b/docs/examples/1.6.x/server-graphql/examples/locale/list-languages.md @@ -1,10 +0,0 @@ -query { - localeListLanguages { - total - languages { - name - code - nativeName - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/messaging/get-message.md b/docs/examples/1.6.x/server-graphql/examples/messaging/get-message.md index a6824cd911..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/messaging/get-message.md +++ b/docs/examples/1.6.x/server-graphql/examples/messaging/get-message.md @@ -1,19 +0,0 @@ -query { - messagingGetMessage( - messageId: "<MESSAGE_ID>" - ) { - _id - _createdAt - _updatedAt - providerType - topics - users - targets - scheduledAt - deliveredAt - deliveryErrors - deliveredTotal - data - status - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/messaging/get-provider.md b/docs/examples/1.6.x/server-graphql/examples/messaging/get-provider.md index 03fb039be2..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/messaging/get-provider.md +++ b/docs/examples/1.6.x/server-graphql/examples/messaging/get-provider.md @@ -1,15 +0,0 @@ -query { - messagingGetProvider( - providerId: "<PROVIDER_ID>" - ) { - _id - _createdAt - _updatedAt - name - provider - enabled - type - credentials - options - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/messaging/get-subscriber.md b/docs/examples/1.6.x/server-graphql/examples/messaging/get-subscriber.md index 2e1672d010..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/messaging/get-subscriber.md +++ b/docs/examples/1.6.x/server-graphql/examples/messaging/get-subscriber.md @@ -1,26 +0,0 @@ -query { - messagingGetSubscriber( - topicId: "<TOPIC_ID>", - subscriberId: "<SUBSCRIBER_ID>" - ) { - _id - _createdAt - _updatedAt - targetId - target { - _id - _createdAt - _updatedAt - name - userId - providerId - providerType - identifier - expired - } - userId - userName - topicId - providerType - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/messaging/get-topic.md b/docs/examples/1.6.x/server-graphql/examples/messaging/get-topic.md index 7f0dd01ee6..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/messaging/get-topic.md +++ b/docs/examples/1.6.x/server-graphql/examples/messaging/get-topic.md @@ -1,14 +0,0 @@ -query { - messagingGetTopic( - topicId: "<TOPIC_ID>" - ) { - _id - _createdAt - _updatedAt - name - emailTotal - smsTotal - pushTotal - subscribe - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/messaging/list-message-logs.md b/docs/examples/1.6.x/server-graphql/examples/messaging/list-message-logs.md index b1e32d8e99..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/messaging/list-message-logs.md +++ b/docs/examples/1.6.x/server-graphql/examples/messaging/list-message-logs.md @@ -1,31 +0,0 @@ -query { - messagingListMessageLogs( - messageId: "<MESSAGE_ID>", - queries: [] - ) { - total - logs { - event - userId - userEmail - userName - mode - ip - time - osCode - osName - osVersion - clientType - clientCode - clientName - clientVersion - clientEngine - clientEngineVersion - deviceName - deviceBrand - deviceModel - countryCode - countryName - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/messaging/list-messages.md b/docs/examples/1.6.x/server-graphql/examples/messaging/list-messages.md index 7cdf05c7d8..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/messaging/list-messages.md +++ b/docs/examples/1.6.x/server-graphql/examples/messaging/list-messages.md @@ -1,23 +0,0 @@ -query { - messagingListMessages( - queries: [], - search: "<SEARCH>" - ) { - total - messages { - _id - _createdAt - _updatedAt - providerType - topics - users - targets - scheduledAt - deliveredAt - deliveryErrors - deliveredTotal - data - status - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/messaging/list-provider-logs.md b/docs/examples/1.6.x/server-graphql/examples/messaging/list-provider-logs.md index 69df6fa06d..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/messaging/list-provider-logs.md +++ b/docs/examples/1.6.x/server-graphql/examples/messaging/list-provider-logs.md @@ -1,31 +0,0 @@ -query { - messagingListProviderLogs( - providerId: "<PROVIDER_ID>", - queries: [] - ) { - total - logs { - event - userId - userEmail - userName - mode - ip - time - osCode - osName - osVersion - clientType - clientCode - clientName - clientVersion - clientEngine - clientEngineVersion - deviceName - deviceBrand - deviceModel - countryCode - countryName - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/messaging/list-providers.md b/docs/examples/1.6.x/server-graphql/examples/messaging/list-providers.md index d7ae7b16ba..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/messaging/list-providers.md +++ b/docs/examples/1.6.x/server-graphql/examples/messaging/list-providers.md @@ -1,19 +0,0 @@ -query { - messagingListProviders( - queries: [], - search: "<SEARCH>" - ) { - total - providers { - _id - _createdAt - _updatedAt - name - provider - enabled - type - credentials - options - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/messaging/list-subscriber-logs.md b/docs/examples/1.6.x/server-graphql/examples/messaging/list-subscriber-logs.md index 23e117a07d..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/messaging/list-subscriber-logs.md +++ b/docs/examples/1.6.x/server-graphql/examples/messaging/list-subscriber-logs.md @@ -1,31 +0,0 @@ -query { - messagingListSubscriberLogs( - subscriberId: "<SUBSCRIBER_ID>", - queries: [] - ) { - total - logs { - event - userId - userEmail - userName - mode - ip - time - osCode - osName - osVersion - clientType - clientCode - clientName - clientVersion - clientEngine - clientEngineVersion - deviceName - deviceBrand - deviceModel - countryCode - countryName - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/messaging/list-subscribers.md b/docs/examples/1.6.x/server-graphql/examples/messaging/list-subscribers.md index a5a4f91e56..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/messaging/list-subscribers.md +++ b/docs/examples/1.6.x/server-graphql/examples/messaging/list-subscribers.md @@ -1,30 +0,0 @@ -query { - messagingListSubscribers( - topicId: "<TOPIC_ID>", - queries: [], - search: "<SEARCH>" - ) { - total - subscribers { - _id - _createdAt - _updatedAt - targetId - target { - _id - _createdAt - _updatedAt - name - userId - providerId - providerType - identifier - expired - } - userId - userName - topicId - providerType - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/messaging/list-targets.md b/docs/examples/1.6.x/server-graphql/examples/messaging/list-targets.md index aa82276de2..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/messaging/list-targets.md +++ b/docs/examples/1.6.x/server-graphql/examples/messaging/list-targets.md @@ -1,19 +0,0 @@ -query { - messagingListTargets( - messageId: "<MESSAGE_ID>", - queries: [] - ) { - total - targets { - _id - _createdAt - _updatedAt - name - userId - providerId - providerType - identifier - expired - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/messaging/list-topic-logs.md b/docs/examples/1.6.x/server-graphql/examples/messaging/list-topic-logs.md index 0b0a5f9a4b..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/messaging/list-topic-logs.md +++ b/docs/examples/1.6.x/server-graphql/examples/messaging/list-topic-logs.md @@ -1,31 +0,0 @@ -query { - messagingListTopicLogs( - topicId: "<TOPIC_ID>", - queries: [] - ) { - total - logs { - event - userId - userEmail - userName - mode - ip - time - osCode - osName - osVersion - clientType - clientCode - clientName - clientVersion - clientEngine - clientEngineVersion - deviceName - deviceBrand - deviceModel - countryCode - countryName - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/messaging/list-topics.md b/docs/examples/1.6.x/server-graphql/examples/messaging/list-topics.md index 4b36c92511..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/messaging/list-topics.md +++ b/docs/examples/1.6.x/server-graphql/examples/messaging/list-topics.md @@ -1,18 +0,0 @@ -query { - messagingListTopics( - queries: [], - search: "<SEARCH>" - ) { - total - topics { - _id - _createdAt - _updatedAt - name - emailTotal - smsTotal - pushTotal - subscribe - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/storage/get-bucket.md b/docs/examples/1.6.x/server-graphql/examples/storage/get-bucket.md index 4ce0f626ab..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/storage/get-bucket.md +++ b/docs/examples/1.6.x/server-graphql/examples/storage/get-bucket.md @@ -1,18 +0,0 @@ -query { - storageGetBucket( - bucketId: "<BUCKET_ID>" - ) { - _id - _createdAt - _updatedAt - _permissions - fileSecurity - name - enabled - maximumFileSize - allowedFileExtensions - compression - encryption - antivirus - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/storage/get-file-download.md b/docs/examples/1.6.x/server-graphql/examples/storage/get-file-download.md index 8325e8a230..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/storage/get-file-download.md +++ b/docs/examples/1.6.x/server-graphql/examples/storage/get-file-download.md @@ -1,8 +0,0 @@ -query { - storageGetFileDownload( - bucketId: "<BUCKET_ID>", - fileId: "<FILE_ID>" - ) { - status - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/storage/get-file-preview.md b/docs/examples/1.6.x/server-graphql/examples/storage/get-file-preview.md index df32e88350..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/storage/get-file-preview.md +++ b/docs/examples/1.6.x/server-graphql/examples/storage/get-file-preview.md @@ -1,19 +0,0 @@ -query { - storageGetFilePreview( - bucketId: "<BUCKET_ID>", - fileId: "<FILE_ID>", - width: 0, - height: 0, - gravity: "center", - quality: 0, - borderWidth: 0, - borderColor: "", - borderRadius: 0, - opacity: 0, - rotation: -360, - background: "", - output: "jpg" - ) { - status - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/storage/get-file-view.md b/docs/examples/1.6.x/server-graphql/examples/storage/get-file-view.md index 434328a1ec..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/storage/get-file-view.md +++ b/docs/examples/1.6.x/server-graphql/examples/storage/get-file-view.md @@ -1,8 +0,0 @@ -query { - storageGetFileView( - bucketId: "<BUCKET_ID>", - fileId: "<FILE_ID>" - ) { - status - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/storage/get-file.md b/docs/examples/1.6.x/server-graphql/examples/storage/get-file.md index 60886b0f6f..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/storage/get-file.md +++ b/docs/examples/1.6.x/server-graphql/examples/storage/get-file.md @@ -1,18 +0,0 @@ -query { - storageGetFile( - bucketId: "<BUCKET_ID>", - fileId: "<FILE_ID>" - ) { - _id - bucketId - _createdAt - _updatedAt - _permissions - name - signature - mimeType - sizeOriginal - chunksTotal - chunksUploaded - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/storage/list-buckets.md b/docs/examples/1.6.x/server-graphql/examples/storage/list-buckets.md index e4d636ccde..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/storage/list-buckets.md +++ b/docs/examples/1.6.x/server-graphql/examples/storage/list-buckets.md @@ -1,22 +0,0 @@ -query { - storageListBuckets( - queries: [], - search: "<SEARCH>" - ) { - total - buckets { - _id - _createdAt - _updatedAt - _permissions - fileSecurity - name - enabled - maximumFileSize - allowedFileExtensions - compression - encryption - antivirus - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/storage/list-files.md b/docs/examples/1.6.x/server-graphql/examples/storage/list-files.md index 774cc51b97..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/storage/list-files.md +++ b/docs/examples/1.6.x/server-graphql/examples/storage/list-files.md @@ -1,22 +0,0 @@ -query { - storageListFiles( - bucketId: "<BUCKET_ID>", - queries: [], - search: "<SEARCH>" - ) { - total - files { - _id - bucketId - _createdAt - _updatedAt - _permissions - name - signature - mimeType - sizeOriginal - chunksTotal - chunksUploaded - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/teams/get-membership.md b/docs/examples/1.6.x/server-graphql/examples/teams/get-membership.md index c33528609e..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/teams/get-membership.md +++ b/docs/examples/1.6.x/server-graphql/examples/teams/get-membership.md @@ -1,20 +0,0 @@ -query { - teamsGetMembership( - teamId: "<TEAM_ID>", - membershipId: "<MEMBERSHIP_ID>" - ) { - _id - _createdAt - _updatedAt - userId - userName - userEmail - teamId - teamName - invited - joined - confirm - mfa - roles - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/teams/get-prefs.md b/docs/examples/1.6.x/server-graphql/examples/teams/get-prefs.md index fe498079cf..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/teams/get-prefs.md +++ b/docs/examples/1.6.x/server-graphql/examples/teams/get-prefs.md @@ -1,7 +0,0 @@ -query { - teamsGetPrefs( - teamId: "<TEAM_ID>" - ) { - data - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/teams/get.md b/docs/examples/1.6.x/server-graphql/examples/teams/get.md index a3fbb491e0..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/teams/get.md +++ b/docs/examples/1.6.x/server-graphql/examples/teams/get.md @@ -1,14 +0,0 @@ -query { - teamsGet( - teamId: "<TEAM_ID>" - ) { - _id - _createdAt - _updatedAt - name - total - prefs { - data - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/teams/list-memberships.md b/docs/examples/1.6.x/server-graphql/examples/teams/list-memberships.md index bf7f0d1eed..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/teams/list-memberships.md +++ b/docs/examples/1.6.x/server-graphql/examples/teams/list-memberships.md @@ -1,24 +0,0 @@ -query { - teamsListMemberships( - teamId: "<TEAM_ID>", - queries: [], - search: "<SEARCH>" - ) { - total - memberships { - _id - _createdAt - _updatedAt - userId - userName - userEmail - teamId - teamName - invited - joined - confirm - mfa - roles - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/teams/list.md b/docs/examples/1.6.x/server-graphql/examples/teams/list.md index e7005b5326..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/teams/list.md +++ b/docs/examples/1.6.x/server-graphql/examples/teams/list.md @@ -1,18 +0,0 @@ -query { - teamsList( - queries: [], - search: "<SEARCH>" - ) { - total - teams { - _id - _createdAt - _updatedAt - name - total - prefs { - data - } - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/users/get-mfa-recovery-codes.md b/docs/examples/1.6.x/server-graphql/examples/users/get-mfa-recovery-codes.md index c4ca9f79b4..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/users/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-graphql/examples/users/get-mfa-recovery-codes.md @@ -1,7 +0,0 @@ -query { - usersGetMfaRecoveryCodes( - userId: "<USER_ID>" - ) { - recoveryCodes - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/users/get-prefs.md b/docs/examples/1.6.x/server-graphql/examples/users/get-prefs.md index fe08758d99..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/users/get-prefs.md +++ b/docs/examples/1.6.x/server-graphql/examples/users/get-prefs.md @@ -1,7 +0,0 @@ -query { - usersGetPrefs( - userId: "<USER_ID>" - ) { - data - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/users/get-target.md b/docs/examples/1.6.x/server-graphql/examples/users/get-target.md index c84f947898..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/users/get-target.md +++ b/docs/examples/1.6.x/server-graphql/examples/users/get-target.md @@ -1,16 +0,0 @@ -query { - usersGetTarget( - userId: "<USER_ID>", - targetId: "<TARGET_ID>" - ) { - _id - _createdAt - _updatedAt - name - userId - providerId - providerType - identifier - expired - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/users/get.md b/docs/examples/1.6.x/server-graphql/examples/users/get.md index 9d0be685d9..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/users/get.md +++ b/docs/examples/1.6.x/server-graphql/examples/users/get.md @@ -1,37 +0,0 @@ -query { - usersGet( - userId: "<USER_ID>" - ) { - _id - _createdAt - _updatedAt - name - password - hash - hashOptions - registration - status - labels - passwordUpdate - email - phone - emailVerification - phoneVerification - mfa - prefs { - data - } - targets { - _id - _createdAt - _updatedAt - name - userId - providerId - providerType - identifier - expired - } - accessedAt - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/users/list-identities.md b/docs/examples/1.6.x/server-graphql/examples/users/list-identities.md index 38ab302f38..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/users/list-identities.md +++ b/docs/examples/1.6.x/server-graphql/examples/users/list-identities.md @@ -1,20 +0,0 @@ -query { - usersListIdentities( - queries: [], - search: "<SEARCH>" - ) { - total - identities { - _id - _createdAt - _updatedAt - userId - provider - providerUid - providerEmail - providerAccessToken - providerAccessTokenExpiry - providerRefreshToken - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/users/list-logs.md b/docs/examples/1.6.x/server-graphql/examples/users/list-logs.md index 8594e87b22..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/users/list-logs.md +++ b/docs/examples/1.6.x/server-graphql/examples/users/list-logs.md @@ -1,31 +0,0 @@ -query { - usersListLogs( - userId: "<USER_ID>", - queries: [] - ) { - total - logs { - event - userId - userEmail - userName - mode - ip - time - osCode - osName - osVersion - clientType - clientCode - clientName - clientVersion - clientEngine - clientEngineVersion - deviceName - deviceBrand - deviceModel - countryCode - countryName - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/users/list-memberships.md b/docs/examples/1.6.x/server-graphql/examples/users/list-memberships.md index cf64f61f10..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/users/list-memberships.md +++ b/docs/examples/1.6.x/server-graphql/examples/users/list-memberships.md @@ -1,22 +0,0 @@ -query { - usersListMemberships( - userId: "<USER_ID>" - ) { - total - memberships { - _id - _createdAt - _updatedAt - userId - userName - userEmail - teamId - teamName - invited - joined - confirm - mfa - roles - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/users/list-mfa-factors.md b/docs/examples/1.6.x/server-graphql/examples/users/list-mfa-factors.md index 12c910835a..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/users/list-mfa-factors.md +++ b/docs/examples/1.6.x/server-graphql/examples/users/list-mfa-factors.md @@ -1,10 +0,0 @@ -query { - usersListMfaFactors( - userId: "<USER_ID>" - ) { - totp - phone - email - recoveryCode - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/users/list-sessions.md b/docs/examples/1.6.x/server-graphql/examples/users/list-sessions.md index 1a09c9ffe0..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/users/list-sessions.md +++ b/docs/examples/1.6.x/server-graphql/examples/users/list-sessions.md @@ -1,38 +0,0 @@ -query { - usersListSessions( - userId: "<USER_ID>" - ) { - total - sessions { - _id - _createdAt - _updatedAt - userId - expire - provider - providerUid - providerAccessToken - providerAccessTokenExpiry - providerRefreshToken - ip - osCode - osName - osVersion - clientType - clientCode - clientName - clientVersion - clientEngine - clientEngineVersion - deviceName - deviceBrand - deviceModel - countryCode - countryName - current - factors - secret - mfaUpdatedAt - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/users/list-targets.md b/docs/examples/1.6.x/server-graphql/examples/users/list-targets.md index 408fd96f80..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/users/list-targets.md +++ b/docs/examples/1.6.x/server-graphql/examples/users/list-targets.md @@ -1,19 +0,0 @@ -query { - usersListTargets( - userId: "<USER_ID>", - queries: [] - ) { - total - targets { - _id - _createdAt - _updatedAt - name - userId - providerId - providerType - identifier - expired - } - } -} diff --git a/docs/examples/1.6.x/server-graphql/examples/users/list.md b/docs/examples/1.6.x/server-graphql/examples/users/list.md index a90121adf2..e69de29bb2 100644 --- a/docs/examples/1.6.x/server-graphql/examples/users/list.md +++ b/docs/examples/1.6.x/server-graphql/examples/users/list.md @@ -1,41 +0,0 @@ -query { - usersList( - queries: [], - search: "<SEARCH>" - ) { - total - users { - _id - _createdAt - _updatedAt - name - password - hash - hashOptions - registration - status - labels - passwordUpdate - email - phone - emailVerification - phoneVerification - mfa - prefs { - data - } - targets { - _id - _createdAt - _updatedAt - name - userId - providerId - providerType - identifier - expired - } - accessedAt - } - } -} diff --git a/docs/examples/1.6.x/server-kotlin/java/account/create-anonymous-session.md b/docs/examples/1.6.x/server-kotlin/java/account/create-anonymous-session.md index 0ba9c6967c..d65c20a600 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/create-anonymous-session.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/create-anonymous-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/server-kotlin/java/account/create-email-password-session.md b/docs/examples/1.6.x/server-kotlin/java/account/create-email-password-session.md index 75fa73fb00..633931089f 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/create-email-password-session.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/create-email-password-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/server-kotlin/java/account/create-email-token.md b/docs/examples/1.6.x/server-kotlin/java/account/create-email-token.md index eff6d4310c..7a6a0d7fea 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/create-email-token.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/create-email-token.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/server-kotlin/java/account/create-j-w-t.md b/docs/examples/1.6.x/server-kotlin/java/account/create-j-w-t.md index 285d1e04bb..3756edee25 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/create-j-w-t.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/create-j-w-t.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/server-kotlin/java/account/create-magic-u-r-l-token.md b/docs/examples/1.6.x/server-kotlin/java/account/create-magic-u-r-l-token.md index 3f9bda200b..df021f9568 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/create-magic-u-r-l-token.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/server-kotlin/java/account/create-mfa-authenticator.md b/docs/examples/1.6.x/server-kotlin/java/account/create-mfa-authenticator.md index eb127bd458..ee37e48794 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/create-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/create-mfa-authenticator.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; import io.appwrite.enums.AuthenticatorType; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/account/create-mfa-challenge.md b/docs/examples/1.6.x/server-kotlin/java/account/create-mfa-challenge.md index e5fcbe9576..4a07e26e49 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/create-mfa-challenge.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/create-mfa-challenge.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; import io.appwrite.enums.AuthenticationFactor; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/server-kotlin/java/account/create-mfa-recovery-codes.md b/docs/examples/1.6.x/server-kotlin/java/account/create-mfa-recovery-codes.md index b64fb7dda6..eb76cdca9b 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/create-mfa-recovery-codes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/account/create-o-auth2token.md b/docs/examples/1.6.x/server-kotlin/java/account/create-o-auth2token.md index 47873c5af7..5b325f5c61 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/create-o-auth2token.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/create-o-auth2token.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; import io.appwrite.enums.OAuthProvider; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/server-kotlin/java/account/create-phone-token.md b/docs/examples/1.6.x/server-kotlin/java/account/create-phone-token.md index 1f7c05c361..14fb812687 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/create-phone-token.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/create-phone-token.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/server-kotlin/java/account/create-phone-verification.md b/docs/examples/1.6.x/server-kotlin/java/account/create-phone-verification.md index 07937ab257..9e49c62880 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/create-phone-verification.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/create-phone-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/account/create-recovery.md b/docs/examples/1.6.x/server-kotlin/java/account/create-recovery.md index d74106bbb7..f529ea4cb7 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/create-recovery.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/create-recovery.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/account/create-session.md b/docs/examples/1.6.x/server-kotlin/java/account/create-session.md index 861af3da09..5bcdf99059 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/create-session.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/create-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/server-kotlin/java/account/create-verification.md b/docs/examples/1.6.x/server-kotlin/java/account/create-verification.md index 4479cc6915..65c8e8be49 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/create-verification.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/create-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/account/create.md b/docs/examples/1.6.x/server-kotlin/java/account/create.md index 3bcfe1dff6..d24bfb8592 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/create.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/create.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/server-kotlin/java/account/delete-identity.md b/docs/examples/1.6.x/server-kotlin/java/account/delete-identity.md index 5eec2424d8..0d6f860a63 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/delete-identity.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/delete-identity.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/account/delete-mfa-authenticator.md b/docs/examples/1.6.x/server-kotlin/java/account/delete-mfa-authenticator.md index 7f3b6b9558..06835f6680 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/delete-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/delete-mfa-authenticator.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; import io.appwrite.enums.AuthenticatorType; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/account/delete-session.md b/docs/examples/1.6.x/server-kotlin/java/account/delete-session.md index 687df8193b..fd27d746b1 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/delete-session.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/delete-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/account/delete-sessions.md b/docs/examples/1.6.x/server-kotlin/java/account/delete-sessions.md index 0bfa1f23f5..11076e72d2 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/delete-sessions.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/delete-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/account/get-mfa-recovery-codes.md b/docs/examples/1.6.x/server-kotlin/java/account/get-mfa-recovery-codes.md index f99634d71e..c818c3ea74 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/get-mfa-recovery-codes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/account/get-prefs.md b/docs/examples/1.6.x/server-kotlin/java/account/get-prefs.md index 46d41816c7..6614f92aaa 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/get-prefs.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/get-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/account/get-session.md b/docs/examples/1.6.x/server-kotlin/java/account/get-session.md index 6d07a85b4a..3f30d90256 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/get-session.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/get-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/account/get.md b/docs/examples/1.6.x/server-kotlin/java/account/get.md index 6d0eb40cf2..70e2dfb97f 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/get.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/account/list-identities.md b/docs/examples/1.6.x/server-kotlin/java/account/list-identities.md index 8977a23b20..ceb4b3099a 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/list-identities.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/list-identities.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/account/list-logs.md b/docs/examples/1.6.x/server-kotlin/java/account/list-logs.md index e26cab9ad4..de22fcec6a 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/list-logs.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/list-logs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/account/list-mfa-factors.md b/docs/examples/1.6.x/server-kotlin/java/account/list-mfa-factors.md index 74f3e53444..d9f90a4127 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/list-mfa-factors.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/list-mfa-factors.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/account/list-sessions.md b/docs/examples/1.6.x/server-kotlin/java/account/list-sessions.md index 6b01d445b2..557832df82 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/list-sessions.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/list-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/account/update-email.md b/docs/examples/1.6.x/server-kotlin/java/account/update-email.md index 391e5311ed..8529ba6a26 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/update-email.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/update-email.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/account/update-m-f-a.md b/docs/examples/1.6.x/server-kotlin/java/account/update-m-f-a.md index 58ac56bed8..d1b60c5473 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/update-m-f-a.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/update-m-f-a.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/account/update-magic-u-r-l-session.md b/docs/examples/1.6.x/server-kotlin/java/account/update-magic-u-r-l-session.md index 62fe856fe0..b4735f49ea 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/update-magic-u-r-l-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/server-kotlin/java/account/update-mfa-authenticator.md b/docs/examples/1.6.x/server-kotlin/java/account/update-mfa-authenticator.md index b492d8c4a3..947c85a244 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/update-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/update-mfa-authenticator.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account; import io.appwrite.enums.AuthenticatorType; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/account/update-mfa-challenge.md b/docs/examples/1.6.x/server-kotlin/java/account/update-mfa-challenge.md index 74ca4815d7..b9b0ae9db5 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/update-mfa-challenge.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/update-mfa-challenge.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/account/update-mfa-recovery-codes.md b/docs/examples/1.6.x/server-kotlin/java/account/update-mfa-recovery-codes.md index 8f38ad8345..4b3e52700b 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/update-mfa-recovery-codes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/account/update-name.md b/docs/examples/1.6.x/server-kotlin/java/account/update-name.md index 1ce2abfa12..749fe268af 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/update-name.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/update-name.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/account/update-password.md b/docs/examples/1.6.x/server-kotlin/java/account/update-password.md index 437e825be5..8eaa08b460 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/update-password.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/update-password.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/account/update-phone-session.md b/docs/examples/1.6.x/server-kotlin/java/account/update-phone-session.md index c401de4c65..cbfdca58ec 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/update-phone-session.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/update-phone-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>"); // Your project ID Account account = new Account(client); diff --git a/docs/examples/1.6.x/server-kotlin/java/account/update-phone-verification.md b/docs/examples/1.6.x/server-kotlin/java/account/update-phone-verification.md index ddf786a2de..998826544a 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/update-phone-verification.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/update-phone-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/account/update-phone.md b/docs/examples/1.6.x/server-kotlin/java/account/update-phone.md index 6a47fd1099..d54aa9cfb2 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/update-phone.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/update-phone.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/account/update-prefs.md b/docs/examples/1.6.x/server-kotlin/java/account/update-prefs.md index 8c10ede3bd..0e900d0a66 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/update-prefs.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/update-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/account/update-recovery.md b/docs/examples/1.6.x/server-kotlin/java/account/update-recovery.md index be4301c516..8ab16e18ce 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/update-recovery.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/update-recovery.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/account/update-session.md b/docs/examples/1.6.x/server-kotlin/java/account/update-session.md index 96e35069a9..8233c054f5 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/update-session.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/update-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/account/update-status.md b/docs/examples/1.6.x/server-kotlin/java/account/update-status.md index 7c42f35ba6..d5f4f79476 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/update-status.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/update-status.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/account/update-verification.md b/docs/examples/1.6.x/server-kotlin/java/account/update-verification.md index ed8a40bc83..dafe6db457 100644 --- a/docs/examples/1.6.x/server-kotlin/java/account/update-verification.md +++ b/docs/examples/1.6.x/server-kotlin/java/account/update-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Account; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/avatars/get-browser.md b/docs/examples/1.6.x/server-kotlin/java/avatars/get-browser.md index 4cd18b6958..c87d5e9100 100644 --- a/docs/examples/1.6.x/server-kotlin/java/avatars/get-browser.md +++ b/docs/examples/1.6.x/server-kotlin/java/avatars/get-browser.md @@ -4,7 +4,7 @@ import io.appwrite.services.Avatars; import io.appwrite.enums.Browser; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/avatars/get-credit-card.md b/docs/examples/1.6.x/server-kotlin/java/avatars/get-credit-card.md index eadbf5de9a..ddb53a67ec 100644 --- a/docs/examples/1.6.x/server-kotlin/java/avatars/get-credit-card.md +++ b/docs/examples/1.6.x/server-kotlin/java/avatars/get-credit-card.md @@ -4,7 +4,7 @@ import io.appwrite.services.Avatars; import io.appwrite.enums.CreditCard; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/avatars/get-favicon.md b/docs/examples/1.6.x/server-kotlin/java/avatars/get-favicon.md index 9f519412aa..f4e89cfadc 100644 --- a/docs/examples/1.6.x/server-kotlin/java/avatars/get-favicon.md +++ b/docs/examples/1.6.x/server-kotlin/java/avatars/get-favicon.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/avatars/get-flag.md b/docs/examples/1.6.x/server-kotlin/java/avatars/get-flag.md index 1b7f423ad8..aadf4267c9 100644 --- a/docs/examples/1.6.x/server-kotlin/java/avatars/get-flag.md +++ b/docs/examples/1.6.x/server-kotlin/java/avatars/get-flag.md @@ -4,7 +4,7 @@ import io.appwrite.services.Avatars; import io.appwrite.enums.Flag; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/avatars/get-image.md b/docs/examples/1.6.x/server-kotlin/java/avatars/get-image.md index af5f217e77..afad760c38 100644 --- a/docs/examples/1.6.x/server-kotlin/java/avatars/get-image.md +++ b/docs/examples/1.6.x/server-kotlin/java/avatars/get-image.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/avatars/get-initials.md b/docs/examples/1.6.x/server-kotlin/java/avatars/get-initials.md index 4b00f73033..171b636f02 100644 --- a/docs/examples/1.6.x/server-kotlin/java/avatars/get-initials.md +++ b/docs/examples/1.6.x/server-kotlin/java/avatars/get-initials.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/avatars/get-q-r.md b/docs/examples/1.6.x/server-kotlin/java/avatars/get-q-r.md index 903e2b0d1d..113fd1fceb 100644 --- a/docs/examples/1.6.x/server-kotlin/java/avatars/get-q-r.md +++ b/docs/examples/1.6.x/server-kotlin/java/avatars/get-q-r.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Avatars; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/create-boolean-attribute.md b/docs/examples/1.6.x/server-kotlin/java/databases/create-boolean-attribute.md index d959a65a9c..7585471443 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/create-boolean-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/create-boolean-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/create-collection.md b/docs/examples/1.6.x/server-kotlin/java/databases/create-collection.md index 9a17b26391..8ec51e698a 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/create-collection.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/create-collection.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/create-datetime-attribute.md b/docs/examples/1.6.x/server-kotlin/java/databases/create-datetime-attribute.md index b35d4894e4..d95e048b09 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/create-datetime-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/create-datetime-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/create-document.md b/docs/examples/1.6.x/server-kotlin/java/databases/create-document.md index e05d1fe5de..5231be33d6 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/create-document.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/create-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/create-email-attribute.md b/docs/examples/1.6.x/server-kotlin/java/databases/create-email-attribute.md index 5a42e97c86..b2ecc99a17 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/create-email-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/create-email-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/create-enum-attribute.md b/docs/examples/1.6.x/server-kotlin/java/databases/create-enum-attribute.md index 59cbd46dc4..44202086b0 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/create-enum-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/create-enum-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/create-float-attribute.md b/docs/examples/1.6.x/server-kotlin/java/databases/create-float-attribute.md index cdbdbb24d3..2263cdb5c6 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/create-float-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/create-float-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/create-index.md b/docs/examples/1.6.x/server-kotlin/java/databases/create-index.md index a3f09d4379..f3faec7fdd 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/create-index.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/create-index.md @@ -4,7 +4,7 @@ import io.appwrite.services.Databases; import io.appwrite.enums.IndexType; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/create-integer-attribute.md b/docs/examples/1.6.x/server-kotlin/java/databases/create-integer-attribute.md index 37e7f37352..b084e7c974 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/create-integer-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/create-integer-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/create-ip-attribute.md b/docs/examples/1.6.x/server-kotlin/java/databases/create-ip-attribute.md index bdb009374c..ba62dba1d7 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/create-ip-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/create-ip-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/create-relationship-attribute.md b/docs/examples/1.6.x/server-kotlin/java/databases/create-relationship-attribute.md index f3d0f51f3d..a67f452647 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/create-relationship-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/create-relationship-attribute.md @@ -4,7 +4,7 @@ import io.appwrite.services.Databases; import io.appwrite.enums.RelationshipType; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/create-string-attribute.md b/docs/examples/1.6.x/server-kotlin/java/databases/create-string-attribute.md index 7d9d8d48f0..3286c7aa01 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/create-string-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/create-string-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/create-url-attribute.md b/docs/examples/1.6.x/server-kotlin/java/databases/create-url-attribute.md index 57ed89d814..d445d67e33 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/create-url-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/create-url-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/create.md b/docs/examples/1.6.x/server-kotlin/java/databases/create.md index 5b66510887..31cd37e169 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/create.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/create.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/delete-attribute.md b/docs/examples/1.6.x/server-kotlin/java/databases/delete-attribute.md index 8f9d2f0e24..236d492adb 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/delete-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/delete-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/delete-collection.md b/docs/examples/1.6.x/server-kotlin/java/databases/delete-collection.md index 334e7adffb..5da2a3d684 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/delete-collection.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/delete-collection.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/delete-document.md b/docs/examples/1.6.x/server-kotlin/java/databases/delete-document.md index a42b3f14b0..f6e6209f36 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/delete-document.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/delete-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/delete-index.md b/docs/examples/1.6.x/server-kotlin/java/databases/delete-index.md index 725045eb15..6f68435779 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/delete-index.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/delete-index.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/delete.md b/docs/examples/1.6.x/server-kotlin/java/databases/delete.md index 41fb72bb7f..b082491383 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/delete.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/delete.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/get-attribute.md b/docs/examples/1.6.x/server-kotlin/java/databases/get-attribute.md index 1b29312a67..672f0b062e 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/get-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/get-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/get-collection.md b/docs/examples/1.6.x/server-kotlin/java/databases/get-collection.md index 41bbb234b0..59401be370 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/get-collection.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/get-collection.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/get-document.md b/docs/examples/1.6.x/server-kotlin/java/databases/get-document.md index 870642bb2c..2719073a7d 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/get-document.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/get-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/get-index.md b/docs/examples/1.6.x/server-kotlin/java/databases/get-index.md index eb33b87f6d..61cfe84ee4 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/get-index.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/get-index.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/get.md b/docs/examples/1.6.x/server-kotlin/java/databases/get.md index b276da4eab..b0e3742149 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/get.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/list-attributes.md b/docs/examples/1.6.x/server-kotlin/java/databases/list-attributes.md index 417fe6e5e4..9681831a35 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/list-attributes.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/list-attributes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/list-collections.md b/docs/examples/1.6.x/server-kotlin/java/databases/list-collections.md index e12e1580d3..32534474e1 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/list-collections.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/list-collections.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/list-documents.md b/docs/examples/1.6.x/server-kotlin/java/databases/list-documents.md index 4fab62aeaf..36982c0eb0 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/list-documents.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/list-documents.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/list-indexes.md b/docs/examples/1.6.x/server-kotlin/java/databases/list-indexes.md index c26626531d..8c912bb36c 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/list-indexes.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/list-indexes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/list.md b/docs/examples/1.6.x/server-kotlin/java/databases/list.md index d014a70c7c..758b9f75fe 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/list.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/list.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/update-boolean-attribute.md b/docs/examples/1.6.x/server-kotlin/java/databases/update-boolean-attribute.md index 01a8ba13d3..3c95851027 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/update-boolean-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/update-boolean-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/update-collection.md b/docs/examples/1.6.x/server-kotlin/java/databases/update-collection.md index 533d7a762b..6805c1149d 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/update-collection.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/update-collection.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/update-datetime-attribute.md b/docs/examples/1.6.x/server-kotlin/java/databases/update-datetime-attribute.md index 00b35689d3..3f451b83f2 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/update-datetime-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/update-datetime-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/update-document.md b/docs/examples/1.6.x/server-kotlin/java/databases/update-document.md index 43c9600c58..f7b05c9601 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/update-document.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/update-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/update-email-attribute.md b/docs/examples/1.6.x/server-kotlin/java/databases/update-email-attribute.md index b931370189..1ff12217ba 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/update-email-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/update-email-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/update-enum-attribute.md b/docs/examples/1.6.x/server-kotlin/java/databases/update-enum-attribute.md index febf784f96..89606806d9 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/update-enum-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/update-enum-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/update-float-attribute.md b/docs/examples/1.6.x/server-kotlin/java/databases/update-float-attribute.md index 071bd48df0..0076987f85 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/update-float-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/update-float-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key @@ -14,9 +14,9 @@ databases.updateFloatAttribute( "<COLLECTION_ID>", // collectionId "", // key false, // required - 0, // min - 0, // max 0, // default + 0, // min (optional) + 0, // max (optional) "", // newKey (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/update-integer-attribute.md b/docs/examples/1.6.x/server-kotlin/java/databases/update-integer-attribute.md index b6c1e449ba..c39af22b36 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/update-integer-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/update-integer-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key @@ -14,9 +14,9 @@ databases.updateIntegerAttribute( "<COLLECTION_ID>", // collectionId "", // key false, // required - 0, // min - 0, // max 0, // default + 0, // min (optional) + 0, // max (optional) "", // newKey (optional) new CoroutineCallback<>((result, error) -> { if (error != null) { diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/update-ip-attribute.md b/docs/examples/1.6.x/server-kotlin/java/databases/update-ip-attribute.md index 72b85cf531..44b4da2abc 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/update-ip-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/update-ip-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/update-relationship-attribute.md b/docs/examples/1.6.x/server-kotlin/java/databases/update-relationship-attribute.md index 73e21218b1..8af20e91a9 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/update-relationship-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/update-relationship-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/update-string-attribute.md b/docs/examples/1.6.x/server-kotlin/java/databases/update-string-attribute.md index 2d69006181..1f156f3dbb 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/update-string-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/update-string-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/update-url-attribute.md b/docs/examples/1.6.x/server-kotlin/java/databases/update-url-attribute.md index dcfbf3065d..959054ab48 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/update-url-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/update-url-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/databases/update.md b/docs/examples/1.6.x/server-kotlin/java/databases/update.md index f1e6dd3972..9928dae6f6 100644 --- a/docs/examples/1.6.x/server-kotlin/java/databases/update.md +++ b/docs/examples/1.6.x/server-kotlin/java/databases/update.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Databases; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/functions/create-build.md b/docs/examples/1.6.x/server-kotlin/java/functions/create-build.md index ad55df1fcb..a3f6cc5423 100644 --- a/docs/examples/1.6.x/server-kotlin/java/functions/create-build.md +++ b/docs/examples/1.6.x/server-kotlin/java/functions/create-build.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/functions/create-deployment.md b/docs/examples/1.6.x/server-kotlin/java/functions/create-deployment.md index 920998e601..6e435f41fa 100644 --- a/docs/examples/1.6.x/server-kotlin/java/functions/create-deployment.md +++ b/docs/examples/1.6.x/server-kotlin/java/functions/create-deployment.md @@ -4,7 +4,7 @@ import io.appwrite.models.InputFile; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/functions/create-execution.md b/docs/examples/1.6.x/server-kotlin/java/functions/create-execution.md index 62c0634b60..82d48fa55b 100644 --- a/docs/examples/1.6.x/server-kotlin/java/functions/create-execution.md +++ b/docs/examples/1.6.x/server-kotlin/java/functions/create-execution.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/functions/create-variable.md b/docs/examples/1.6.x/server-kotlin/java/functions/create-variable.md index a1d6c7b82f..df2bb8ed3c 100644 --- a/docs/examples/1.6.x/server-kotlin/java/functions/create-variable.md +++ b/docs/examples/1.6.x/server-kotlin/java/functions/create-variable.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/functions/create.md b/docs/examples/1.6.x/server-kotlin/java/functions/create.md index db0cc56b6b..7137e40359 100644 --- a/docs/examples/1.6.x/server-kotlin/java/functions/create.md +++ b/docs/examples/1.6.x/server-kotlin/java/functions/create.md @@ -4,7 +4,7 @@ import io.appwrite.services.Functions; import io.appwrite.enums.Runtime; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/functions/delete-deployment.md b/docs/examples/1.6.x/server-kotlin/java/functions/delete-deployment.md index f115bcc191..1a6279ff3f 100644 --- a/docs/examples/1.6.x/server-kotlin/java/functions/delete-deployment.md +++ b/docs/examples/1.6.x/server-kotlin/java/functions/delete-deployment.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/functions/delete-execution.md b/docs/examples/1.6.x/server-kotlin/java/functions/delete-execution.md index 68c11bd436..68f81e8ee4 100644 --- a/docs/examples/1.6.x/server-kotlin/java/functions/delete-execution.md +++ b/docs/examples/1.6.x/server-kotlin/java/functions/delete-execution.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/functions/delete-variable.md b/docs/examples/1.6.x/server-kotlin/java/functions/delete-variable.md index ca4d4f4440..c881bdc800 100644 --- a/docs/examples/1.6.x/server-kotlin/java/functions/delete-variable.md +++ b/docs/examples/1.6.x/server-kotlin/java/functions/delete-variable.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/functions/delete.md b/docs/examples/1.6.x/server-kotlin/java/functions/delete.md index 94c7da516f..255fc002fa 100644 --- a/docs/examples/1.6.x/server-kotlin/java/functions/delete.md +++ b/docs/examples/1.6.x/server-kotlin/java/functions/delete.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/functions/get-deployment-download.md b/docs/examples/1.6.x/server-kotlin/java/functions/get-deployment-download.md index 719d662f7f..e2a0748507 100644 --- a/docs/examples/1.6.x/server-kotlin/java/functions/get-deployment-download.md +++ b/docs/examples/1.6.x/server-kotlin/java/functions/get-deployment-download.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/functions/get-deployment.md b/docs/examples/1.6.x/server-kotlin/java/functions/get-deployment.md index f039beed2d..b3000272b4 100644 --- a/docs/examples/1.6.x/server-kotlin/java/functions/get-deployment.md +++ b/docs/examples/1.6.x/server-kotlin/java/functions/get-deployment.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/functions/get-execution.md b/docs/examples/1.6.x/server-kotlin/java/functions/get-execution.md index 253ff54bd8..76e302fa82 100644 --- a/docs/examples/1.6.x/server-kotlin/java/functions/get-execution.md +++ b/docs/examples/1.6.x/server-kotlin/java/functions/get-execution.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/functions/get-variable.md b/docs/examples/1.6.x/server-kotlin/java/functions/get-variable.md index 3d01fa4942..d54882b293 100644 --- a/docs/examples/1.6.x/server-kotlin/java/functions/get-variable.md +++ b/docs/examples/1.6.x/server-kotlin/java/functions/get-variable.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/functions/get.md b/docs/examples/1.6.x/server-kotlin/java/functions/get.md index c22ccca5c6..aa55b93e07 100644 --- a/docs/examples/1.6.x/server-kotlin/java/functions/get.md +++ b/docs/examples/1.6.x/server-kotlin/java/functions/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/functions/list-deployments.md b/docs/examples/1.6.x/server-kotlin/java/functions/list-deployments.md index 9a1f1ef35d..16a10ca4a2 100644 --- a/docs/examples/1.6.x/server-kotlin/java/functions/list-deployments.md +++ b/docs/examples/1.6.x/server-kotlin/java/functions/list-deployments.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/functions/list-executions.md b/docs/examples/1.6.x/server-kotlin/java/functions/list-executions.md index f2faa02138..7a2ff91d68 100644 --- a/docs/examples/1.6.x/server-kotlin/java/functions/list-executions.md +++ b/docs/examples/1.6.x/server-kotlin/java/functions/list-executions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/functions/list-runtimes.md b/docs/examples/1.6.x/server-kotlin/java/functions/list-runtimes.md index 156e81feb2..304a90d0da 100644 --- a/docs/examples/1.6.x/server-kotlin/java/functions/list-runtimes.md +++ b/docs/examples/1.6.x/server-kotlin/java/functions/list-runtimes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/functions/list-specifications.md b/docs/examples/1.6.x/server-kotlin/java/functions/list-specifications.md index 47d941c557..e6c9c091d7 100644 --- a/docs/examples/1.6.x/server-kotlin/java/functions/list-specifications.md +++ b/docs/examples/1.6.x/server-kotlin/java/functions/list-specifications.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/functions/list-variables.md b/docs/examples/1.6.x/server-kotlin/java/functions/list-variables.md index 1e1e0e7c8b..98c9ff4527 100644 --- a/docs/examples/1.6.x/server-kotlin/java/functions/list-variables.md +++ b/docs/examples/1.6.x/server-kotlin/java/functions/list-variables.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/functions/list.md b/docs/examples/1.6.x/server-kotlin/java/functions/list.md index 1c501fd145..a9a320660d 100644 --- a/docs/examples/1.6.x/server-kotlin/java/functions/list.md +++ b/docs/examples/1.6.x/server-kotlin/java/functions/list.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/functions/update-deployment-build.md b/docs/examples/1.6.x/server-kotlin/java/functions/update-deployment-build.md index 62b684fd8b..5fc416bc40 100644 --- a/docs/examples/1.6.x/server-kotlin/java/functions/update-deployment-build.md +++ b/docs/examples/1.6.x/server-kotlin/java/functions/update-deployment-build.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/functions/update-deployment.md b/docs/examples/1.6.x/server-kotlin/java/functions/update-deployment.md index 8d28501908..b83e001c2b 100644 --- a/docs/examples/1.6.x/server-kotlin/java/functions/update-deployment.md +++ b/docs/examples/1.6.x/server-kotlin/java/functions/update-deployment.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/functions/update-variable.md b/docs/examples/1.6.x/server-kotlin/java/functions/update-variable.md index 4e0576ef10..d2bf6db692 100644 --- a/docs/examples/1.6.x/server-kotlin/java/functions/update-variable.md +++ b/docs/examples/1.6.x/server-kotlin/java/functions/update-variable.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/functions/update.md b/docs/examples/1.6.x/server-kotlin/java/functions/update.md index c63dfb47ef..5956c57b73 100644 --- a/docs/examples/1.6.x/server-kotlin/java/functions/update.md +++ b/docs/examples/1.6.x/server-kotlin/java/functions/update.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Functions; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/graphql/mutation.md b/docs/examples/1.6.x/server-kotlin/java/graphql/mutation.md index a929468eba..778892457b 100644 --- a/docs/examples/1.6.x/server-kotlin/java/graphql/mutation.md +++ b/docs/examples/1.6.x/server-kotlin/java/graphql/mutation.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Graphql; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/graphql/query.md b/docs/examples/1.6.x/server-kotlin/java/graphql/query.md index 8182ea7400..e109d523f8 100644 --- a/docs/examples/1.6.x/server-kotlin/java/graphql/query.md +++ b/docs/examples/1.6.x/server-kotlin/java/graphql/query.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Graphql; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/health/get-antivirus.md b/docs/examples/1.6.x/server-kotlin/java/health/get-antivirus.md index 6c1eb155ce..ca3abf7100 100644 --- a/docs/examples/1.6.x/server-kotlin/java/health/get-antivirus.md +++ b/docs/examples/1.6.x/server-kotlin/java/health/get-antivirus.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/health/get-cache.md b/docs/examples/1.6.x/server-kotlin/java/health/get-cache.md index 62880c9e80..24a584c04b 100644 --- a/docs/examples/1.6.x/server-kotlin/java/health/get-cache.md +++ b/docs/examples/1.6.x/server-kotlin/java/health/get-cache.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/health/get-certificate.md b/docs/examples/1.6.x/server-kotlin/java/health/get-certificate.md index 2a60a4c5b7..f4cb5a4e1e 100644 --- a/docs/examples/1.6.x/server-kotlin/java/health/get-certificate.md +++ b/docs/examples/1.6.x/server-kotlin/java/health/get-certificate.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/health/get-d-b.md b/docs/examples/1.6.x/server-kotlin/java/health/get-d-b.md index 703989fa1e..c7a7bef903 100644 --- a/docs/examples/1.6.x/server-kotlin/java/health/get-d-b.md +++ b/docs/examples/1.6.x/server-kotlin/java/health/get-d-b.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/health/get-failed-jobs.md b/docs/examples/1.6.x/server-kotlin/java/health/get-failed-jobs.md index 25f53b8337..d2b81bd0bf 100644 --- a/docs/examples/1.6.x/server-kotlin/java/health/get-failed-jobs.md +++ b/docs/examples/1.6.x/server-kotlin/java/health/get-failed-jobs.md @@ -4,7 +4,7 @@ import io.appwrite.services.Health; import io.appwrite.enums.Name; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/health/get-pub-sub.md b/docs/examples/1.6.x/server-kotlin/java/health/get-pub-sub.md index 116da6f15d..70210c4296 100644 --- a/docs/examples/1.6.x/server-kotlin/java/health/get-pub-sub.md +++ b/docs/examples/1.6.x/server-kotlin/java/health/get-pub-sub.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/health/get-queue-builds.md b/docs/examples/1.6.x/server-kotlin/java/health/get-queue-builds.md index a80a745206..2ca5d7f4e4 100644 --- a/docs/examples/1.6.x/server-kotlin/java/health/get-queue-builds.md +++ b/docs/examples/1.6.x/server-kotlin/java/health/get-queue-builds.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/health/get-queue-certificates.md b/docs/examples/1.6.x/server-kotlin/java/health/get-queue-certificates.md index ee0d48efe4..519817ae46 100644 --- a/docs/examples/1.6.x/server-kotlin/java/health/get-queue-certificates.md +++ b/docs/examples/1.6.x/server-kotlin/java/health/get-queue-certificates.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/health/get-queue-databases.md b/docs/examples/1.6.x/server-kotlin/java/health/get-queue-databases.md index 7f34b19083..2f175668eb 100644 --- a/docs/examples/1.6.x/server-kotlin/java/health/get-queue-databases.md +++ b/docs/examples/1.6.x/server-kotlin/java/health/get-queue-databases.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/health/get-queue-deletes.md b/docs/examples/1.6.x/server-kotlin/java/health/get-queue-deletes.md index 23ed2aff0f..e65aa9a528 100644 --- a/docs/examples/1.6.x/server-kotlin/java/health/get-queue-deletes.md +++ b/docs/examples/1.6.x/server-kotlin/java/health/get-queue-deletes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/health/get-queue-functions.md b/docs/examples/1.6.x/server-kotlin/java/health/get-queue-functions.md index 2fcfb8b60c..720f114acb 100644 --- a/docs/examples/1.6.x/server-kotlin/java/health/get-queue-functions.md +++ b/docs/examples/1.6.x/server-kotlin/java/health/get-queue-functions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/health/get-queue-logs.md b/docs/examples/1.6.x/server-kotlin/java/health/get-queue-logs.md index bcf6da214f..09b0de4e63 100644 --- a/docs/examples/1.6.x/server-kotlin/java/health/get-queue-logs.md +++ b/docs/examples/1.6.x/server-kotlin/java/health/get-queue-logs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/health/get-queue-mails.md b/docs/examples/1.6.x/server-kotlin/java/health/get-queue-mails.md index 7580db6b2c..b1ae357aef 100644 --- a/docs/examples/1.6.x/server-kotlin/java/health/get-queue-mails.md +++ b/docs/examples/1.6.x/server-kotlin/java/health/get-queue-mails.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/health/get-queue-messaging.md b/docs/examples/1.6.x/server-kotlin/java/health/get-queue-messaging.md index 7b927d00b2..61c0b8cad7 100644 --- a/docs/examples/1.6.x/server-kotlin/java/health/get-queue-messaging.md +++ b/docs/examples/1.6.x/server-kotlin/java/health/get-queue-messaging.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/health/get-queue-migrations.md b/docs/examples/1.6.x/server-kotlin/java/health/get-queue-migrations.md index c1a9fadd19..0e7d669e7f 100644 --- a/docs/examples/1.6.x/server-kotlin/java/health/get-queue-migrations.md +++ b/docs/examples/1.6.x/server-kotlin/java/health/get-queue-migrations.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/health/get-queue-stats-resources.md b/docs/examples/1.6.x/server-kotlin/java/health/get-queue-stats-resources.md new file mode 100644 index 0000000000..e2f8062fcc --- /dev/null +++ b/docs/examples/1.6.x/server-kotlin/java/health/get-queue-stats-resources.md @@ -0,0 +1,23 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Health; + +Client client = new Client() + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>"); // Your secret API key + +Health health = new Health(client); + +health.getQueueStatsResources( + 0, // threshold (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.6.x/server-kotlin/java/health/get-queue-usage-dump.md b/docs/examples/1.6.x/server-kotlin/java/health/get-queue-usage-dump.md index 59bd406960..88bbbd339f 100644 --- a/docs/examples/1.6.x/server-kotlin/java/health/get-queue-usage-dump.md +++ b/docs/examples/1.6.x/server-kotlin/java/health/get-queue-usage-dump.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/health/get-queue-usage.md b/docs/examples/1.6.x/server-kotlin/java/health/get-queue-usage.md index 360567a553..bfda61a544 100644 --- a/docs/examples/1.6.x/server-kotlin/java/health/get-queue-usage.md +++ b/docs/examples/1.6.x/server-kotlin/java/health/get-queue-usage.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/health/get-queue-webhooks.md b/docs/examples/1.6.x/server-kotlin/java/health/get-queue-webhooks.md index 180c0cc87a..d9aed66db6 100644 --- a/docs/examples/1.6.x/server-kotlin/java/health/get-queue-webhooks.md +++ b/docs/examples/1.6.x/server-kotlin/java/health/get-queue-webhooks.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/health/get-queue.md b/docs/examples/1.6.x/server-kotlin/java/health/get-queue.md index 55937b7dea..0f36cf098d 100644 --- a/docs/examples/1.6.x/server-kotlin/java/health/get-queue.md +++ b/docs/examples/1.6.x/server-kotlin/java/health/get-queue.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/health/get-storage-local.md b/docs/examples/1.6.x/server-kotlin/java/health/get-storage-local.md index 99c7513fda..65367cc252 100644 --- a/docs/examples/1.6.x/server-kotlin/java/health/get-storage-local.md +++ b/docs/examples/1.6.x/server-kotlin/java/health/get-storage-local.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/health/get-storage.md b/docs/examples/1.6.x/server-kotlin/java/health/get-storage.md index 9bd63ca5c9..3a0f0f8ed3 100644 --- a/docs/examples/1.6.x/server-kotlin/java/health/get-storage.md +++ b/docs/examples/1.6.x/server-kotlin/java/health/get-storage.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/health/get-time.md b/docs/examples/1.6.x/server-kotlin/java/health/get-time.md index 89ec655ea3..f0ba668ab8 100644 --- a/docs/examples/1.6.x/server-kotlin/java/health/get-time.md +++ b/docs/examples/1.6.x/server-kotlin/java/health/get-time.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/health/get.md b/docs/examples/1.6.x/server-kotlin/java/health/get.md index e81254e878..87a7c0a32d 100644 --- a/docs/examples/1.6.x/server-kotlin/java/health/get.md +++ b/docs/examples/1.6.x/server-kotlin/java/health/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Health; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/locale/get.md b/docs/examples/1.6.x/server-kotlin/java/locale/get.md index 8063ce161a..2d5e0ac06d 100644 --- a/docs/examples/1.6.x/server-kotlin/java/locale/get.md +++ b/docs/examples/1.6.x/server-kotlin/java/locale/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/locale/list-codes.md b/docs/examples/1.6.x/server-kotlin/java/locale/list-codes.md index 4bc244a0c9..9f07d1dbf1 100644 --- a/docs/examples/1.6.x/server-kotlin/java/locale/list-codes.md +++ b/docs/examples/1.6.x/server-kotlin/java/locale/list-codes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/locale/list-continents.md b/docs/examples/1.6.x/server-kotlin/java/locale/list-continents.md index 03b912200f..5d9e4b0fdb 100644 --- a/docs/examples/1.6.x/server-kotlin/java/locale/list-continents.md +++ b/docs/examples/1.6.x/server-kotlin/java/locale/list-continents.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/locale/list-countries-e-u.md b/docs/examples/1.6.x/server-kotlin/java/locale/list-countries-e-u.md index 9a6ee54a71..232a0ef8cf 100644 --- a/docs/examples/1.6.x/server-kotlin/java/locale/list-countries-e-u.md +++ b/docs/examples/1.6.x/server-kotlin/java/locale/list-countries-e-u.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/locale/list-countries-phones.md b/docs/examples/1.6.x/server-kotlin/java/locale/list-countries-phones.md index cfab3be5db..a4739a5b93 100644 --- a/docs/examples/1.6.x/server-kotlin/java/locale/list-countries-phones.md +++ b/docs/examples/1.6.x/server-kotlin/java/locale/list-countries-phones.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/locale/list-countries.md b/docs/examples/1.6.x/server-kotlin/java/locale/list-countries.md index 079a839709..5b8f250f3c 100644 --- a/docs/examples/1.6.x/server-kotlin/java/locale/list-countries.md +++ b/docs/examples/1.6.x/server-kotlin/java/locale/list-countries.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/locale/list-currencies.md b/docs/examples/1.6.x/server-kotlin/java/locale/list-currencies.md index bab723f5be..adf1d787c1 100644 --- a/docs/examples/1.6.x/server-kotlin/java/locale/list-currencies.md +++ b/docs/examples/1.6.x/server-kotlin/java/locale/list-currencies.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/locale/list-languages.md b/docs/examples/1.6.x/server-kotlin/java/locale/list-languages.md index b0435b7835..c92ea525f7 100644 --- a/docs/examples/1.6.x/server-kotlin/java/locale/list-languages.md +++ b/docs/examples/1.6.x/server-kotlin/java/locale/list-languages.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Locale; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/create-apns-provider.md b/docs/examples/1.6.x/server-kotlin/java/messaging/create-apns-provider.md index 5dde983120..0f6618079f 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/create-apns-provider.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/create-apns-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/create-email.md b/docs/examples/1.6.x/server-kotlin/java/messaging/create-email.md index 753a89b695..d6ab5ee1bf 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/create-email.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/create-email.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/create-fcm-provider.md b/docs/examples/1.6.x/server-kotlin/java/messaging/create-fcm-provider.md index 1078514b6b..636a1bdd39 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/create-fcm-provider.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/create-fcm-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/create-mailgun-provider.md b/docs/examples/1.6.x/server-kotlin/java/messaging/create-mailgun-provider.md index 4b2a7bdd3c..272f9d2356 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/create-mailgun-provider.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/create-mailgun-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/create-msg91provider.md b/docs/examples/1.6.x/server-kotlin/java/messaging/create-msg91provider.md index 6cc120c37c..21005293ea 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/create-msg91provider.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/create-msg91provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/create-push.md b/docs/examples/1.6.x/server-kotlin/java/messaging/create-push.md index 56c7a60795..277ab9655c 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/create-push.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/create-push.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/create-sendgrid-provider.md b/docs/examples/1.6.x/server-kotlin/java/messaging/create-sendgrid-provider.md index 20e12749b2..84c5bf42f9 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/create-sendgrid-provider.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/create-sendgrid-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/create-sms.md b/docs/examples/1.6.x/server-kotlin/java/messaging/create-sms.md index 60e1749f32..9e3e3bdf5d 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/create-sms.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/create-sms.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/create-smtp-provider.md b/docs/examples/1.6.x/server-kotlin/java/messaging/create-smtp-provider.md index 3f69f61036..ebd153c29c 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/create-smtp-provider.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/create-smtp-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/create-subscriber.md b/docs/examples/1.6.x/server-kotlin/java/messaging/create-subscriber.md index 77ef2d59ff..1ccb8fe60c 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/create-subscriber.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/create-subscriber.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setJWT("<YOUR_JWT>"); // Your secret JSON Web Token diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/create-telesign-provider.md b/docs/examples/1.6.x/server-kotlin/java/messaging/create-telesign-provider.md index f66081490b..6b64499419 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/create-telesign-provider.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/create-telesign-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/create-textmagic-provider.md b/docs/examples/1.6.x/server-kotlin/java/messaging/create-textmagic-provider.md index cda11d5bad..477d7d8c4b 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/create-textmagic-provider.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/create-textmagic-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/create-topic.md b/docs/examples/1.6.x/server-kotlin/java/messaging/create-topic.md index 8fa74d8ede..63a24b467d 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/create-topic.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/create-topic.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/create-twilio-provider.md b/docs/examples/1.6.x/server-kotlin/java/messaging/create-twilio-provider.md index a122837691..8d1b4da970 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/create-twilio-provider.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/create-twilio-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/create-vonage-provider.md b/docs/examples/1.6.x/server-kotlin/java/messaging/create-vonage-provider.md index 808ca0c102..db1e476db2 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/create-vonage-provider.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/create-vonage-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/delete-provider.md b/docs/examples/1.6.x/server-kotlin/java/messaging/delete-provider.md index e1337dc02f..b0fa837feb 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/delete-provider.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/delete-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/delete-subscriber.md b/docs/examples/1.6.x/server-kotlin/java/messaging/delete-subscriber.md index c80fc72eb0..a3635b9db7 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/delete-subscriber.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/delete-subscriber.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setJWT("<YOUR_JWT>"); // Your secret JSON Web Token diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/delete-topic.md b/docs/examples/1.6.x/server-kotlin/java/messaging/delete-topic.md index 9c51144bfc..7b598b25f4 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/delete-topic.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/delete-topic.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/delete.md b/docs/examples/1.6.x/server-kotlin/java/messaging/delete.md index f90336a2ce..1395a39245 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/delete.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/delete.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/get-message.md b/docs/examples/1.6.x/server-kotlin/java/messaging/get-message.md index 5e940cff10..3860ff2347 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/get-message.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/get-message.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/get-provider.md b/docs/examples/1.6.x/server-kotlin/java/messaging/get-provider.md index 74ece13b1b..9717b90b7d 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/get-provider.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/get-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/get-subscriber.md b/docs/examples/1.6.x/server-kotlin/java/messaging/get-subscriber.md index 2e6beaac53..641a494b5c 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/get-subscriber.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/get-subscriber.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/get-topic.md b/docs/examples/1.6.x/server-kotlin/java/messaging/get-topic.md index adf64bbec5..c9f2eff74b 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/get-topic.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/get-topic.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/list-message-logs.md b/docs/examples/1.6.x/server-kotlin/java/messaging/list-message-logs.md index 70bb49ae85..0f94e46cd1 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/list-message-logs.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/list-message-logs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/list-messages.md b/docs/examples/1.6.x/server-kotlin/java/messaging/list-messages.md index 847ce73f5c..006ba7c27f 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/list-messages.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/list-messages.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/list-provider-logs.md b/docs/examples/1.6.x/server-kotlin/java/messaging/list-provider-logs.md index be1aba0eeb..5f77f2d03d 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/list-provider-logs.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/list-provider-logs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/list-providers.md b/docs/examples/1.6.x/server-kotlin/java/messaging/list-providers.md index feda90082a..b069dda04c 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/list-providers.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/list-providers.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/list-subscriber-logs.md b/docs/examples/1.6.x/server-kotlin/java/messaging/list-subscriber-logs.md index 30250e4688..b10e446a66 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/list-subscriber-logs.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/list-subscriber-logs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/list-subscribers.md b/docs/examples/1.6.x/server-kotlin/java/messaging/list-subscribers.md index d00d4925a0..52ca5b0d01 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/list-subscribers.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/list-subscribers.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/list-targets.md b/docs/examples/1.6.x/server-kotlin/java/messaging/list-targets.md index f1eeac02df..5b9f40e873 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/list-targets.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/list-targets.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/list-topic-logs.md b/docs/examples/1.6.x/server-kotlin/java/messaging/list-topic-logs.md index c7edc92992..b2e9444419 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/list-topic-logs.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/list-topic-logs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/list-topics.md b/docs/examples/1.6.x/server-kotlin/java/messaging/list-topics.md index 278d0d4908..e6408a60e1 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/list-topics.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/list-topics.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/update-apns-provider.md b/docs/examples/1.6.x/server-kotlin/java/messaging/update-apns-provider.md index b9ac1a93f2..737a142495 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/update-apns-provider.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/update-apns-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/update-email.md b/docs/examples/1.6.x/server-kotlin/java/messaging/update-email.md index a5d98201f1..56e9767861 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/update-email.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/update-email.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/update-fcm-provider.md b/docs/examples/1.6.x/server-kotlin/java/messaging/update-fcm-provider.md index 956900d7b8..68c56ef18e 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/update-fcm-provider.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/update-fcm-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/update-mailgun-provider.md b/docs/examples/1.6.x/server-kotlin/java/messaging/update-mailgun-provider.md index 8512de159c..5547ae8575 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/update-mailgun-provider.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/update-mailgun-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/update-msg91provider.md b/docs/examples/1.6.x/server-kotlin/java/messaging/update-msg91provider.md index 74de7d25e2..d8e485629b 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/update-msg91provider.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/update-msg91provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/update-push.md b/docs/examples/1.6.x/server-kotlin/java/messaging/update-push.md index bb8c3c8c2e..b7038de6a4 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/update-push.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/update-push.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/update-sendgrid-provider.md b/docs/examples/1.6.x/server-kotlin/java/messaging/update-sendgrid-provider.md index 79c89c0fc7..14a4e99f5b 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/update-sendgrid-provider.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/update-sendgrid-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/update-sms.md b/docs/examples/1.6.x/server-kotlin/java/messaging/update-sms.md index bfca7d32df..c55cfdfddb 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/update-sms.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/update-sms.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/update-smtp-provider.md b/docs/examples/1.6.x/server-kotlin/java/messaging/update-smtp-provider.md index e3083816c9..3f39661024 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/update-smtp-provider.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/update-smtp-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/update-telesign-provider.md b/docs/examples/1.6.x/server-kotlin/java/messaging/update-telesign-provider.md index 6ffb534a3c..8181bf1c82 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/update-telesign-provider.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/update-telesign-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/update-textmagic-provider.md b/docs/examples/1.6.x/server-kotlin/java/messaging/update-textmagic-provider.md index d80b5ae5c7..bc156b7a31 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/update-textmagic-provider.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/update-textmagic-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/update-topic.md b/docs/examples/1.6.x/server-kotlin/java/messaging/update-topic.md index 1013fbac57..be9c44dc23 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/update-topic.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/update-topic.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/update-twilio-provider.md b/docs/examples/1.6.x/server-kotlin/java/messaging/update-twilio-provider.md index 65fb0fcb7e..ed58ee9a24 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/update-twilio-provider.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/update-twilio-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/messaging/update-vonage-provider.md b/docs/examples/1.6.x/server-kotlin/java/messaging/update-vonage-provider.md index 6548d1758b..d5bfe3610c 100644 --- a/docs/examples/1.6.x/server-kotlin/java/messaging/update-vonage-provider.md +++ b/docs/examples/1.6.x/server-kotlin/java/messaging/update-vonage-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Messaging; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/storage/create-bucket.md b/docs/examples/1.6.x/server-kotlin/java/storage/create-bucket.md index ccb9961b01..a3a3308420 100644 --- a/docs/examples/1.6.x/server-kotlin/java/storage/create-bucket.md +++ b/docs/examples/1.6.x/server-kotlin/java/storage/create-bucket.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/storage/create-file.md b/docs/examples/1.6.x/server-kotlin/java/storage/create-file.md index 92907fc4d9..583f8569a5 100644 --- a/docs/examples/1.6.x/server-kotlin/java/storage/create-file.md +++ b/docs/examples/1.6.x/server-kotlin/java/storage/create-file.md @@ -4,7 +4,7 @@ import io.appwrite.models.InputFile; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/storage/delete-bucket.md b/docs/examples/1.6.x/server-kotlin/java/storage/delete-bucket.md index 8c46ba9303..eb77754f92 100644 --- a/docs/examples/1.6.x/server-kotlin/java/storage/delete-bucket.md +++ b/docs/examples/1.6.x/server-kotlin/java/storage/delete-bucket.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/storage/delete-file.md b/docs/examples/1.6.x/server-kotlin/java/storage/delete-file.md index 01d423d13a..8976fd198f 100644 --- a/docs/examples/1.6.x/server-kotlin/java/storage/delete-file.md +++ b/docs/examples/1.6.x/server-kotlin/java/storage/delete-file.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/storage/get-bucket.md b/docs/examples/1.6.x/server-kotlin/java/storage/get-bucket.md index 63c847f171..a099f33dd8 100644 --- a/docs/examples/1.6.x/server-kotlin/java/storage/get-bucket.md +++ b/docs/examples/1.6.x/server-kotlin/java/storage/get-bucket.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/storage/get-file-download.md b/docs/examples/1.6.x/server-kotlin/java/storage/get-file-download.md index 32bff0b051..d0399f94e2 100644 --- a/docs/examples/1.6.x/server-kotlin/java/storage/get-file-download.md +++ b/docs/examples/1.6.x/server-kotlin/java/storage/get-file-download.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/storage/get-file-preview.md b/docs/examples/1.6.x/server-kotlin/java/storage/get-file-preview.md index 650ea4dff5..dd7c09d33b 100644 --- a/docs/examples/1.6.x/server-kotlin/java/storage/get-file-preview.md +++ b/docs/examples/1.6.x/server-kotlin/java/storage/get-file-preview.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/storage/get-file-view.md b/docs/examples/1.6.x/server-kotlin/java/storage/get-file-view.md index 5a81ebaca0..1de4ae0317 100644 --- a/docs/examples/1.6.x/server-kotlin/java/storage/get-file-view.md +++ b/docs/examples/1.6.x/server-kotlin/java/storage/get-file-view.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/storage/get-file.md b/docs/examples/1.6.x/server-kotlin/java/storage/get-file.md index 004dc01f38..7a04c80e9e 100644 --- a/docs/examples/1.6.x/server-kotlin/java/storage/get-file.md +++ b/docs/examples/1.6.x/server-kotlin/java/storage/get-file.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/storage/list-buckets.md b/docs/examples/1.6.x/server-kotlin/java/storage/list-buckets.md index 8ab56e3253..9d85957803 100644 --- a/docs/examples/1.6.x/server-kotlin/java/storage/list-buckets.md +++ b/docs/examples/1.6.x/server-kotlin/java/storage/list-buckets.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/storage/list-files.md b/docs/examples/1.6.x/server-kotlin/java/storage/list-files.md index 6fbd2c3aa4..f002754813 100644 --- a/docs/examples/1.6.x/server-kotlin/java/storage/list-files.md +++ b/docs/examples/1.6.x/server-kotlin/java/storage/list-files.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/storage/update-bucket.md b/docs/examples/1.6.x/server-kotlin/java/storage/update-bucket.md index 342174ead5..2d80e2648c 100644 --- a/docs/examples/1.6.x/server-kotlin/java/storage/update-bucket.md +++ b/docs/examples/1.6.x/server-kotlin/java/storage/update-bucket.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/storage/update-file.md b/docs/examples/1.6.x/server-kotlin/java/storage/update-file.md index 3578bcd625..7f325f91fb 100644 --- a/docs/examples/1.6.x/server-kotlin/java/storage/update-file.md +++ b/docs/examples/1.6.x/server-kotlin/java/storage/update-file.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Storage; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/teams/create-membership.md b/docs/examples/1.6.x/server-kotlin/java/teams/create-membership.md index f7a4ecb66b..89e9d96ef6 100644 --- a/docs/examples/1.6.x/server-kotlin/java/teams/create-membership.md +++ b/docs/examples/1.6.x/server-kotlin/java/teams/create-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/teams/create.md b/docs/examples/1.6.x/server-kotlin/java/teams/create.md index e8fb127b3e..28cc3dada1 100644 --- a/docs/examples/1.6.x/server-kotlin/java/teams/create.md +++ b/docs/examples/1.6.x/server-kotlin/java/teams/create.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/teams/delete-membership.md b/docs/examples/1.6.x/server-kotlin/java/teams/delete-membership.md index 0fe1e170cf..3b414be028 100644 --- a/docs/examples/1.6.x/server-kotlin/java/teams/delete-membership.md +++ b/docs/examples/1.6.x/server-kotlin/java/teams/delete-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/teams/delete.md b/docs/examples/1.6.x/server-kotlin/java/teams/delete.md index 74f5a7c26d..07f5c12e4c 100644 --- a/docs/examples/1.6.x/server-kotlin/java/teams/delete.md +++ b/docs/examples/1.6.x/server-kotlin/java/teams/delete.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/teams/get-membership.md b/docs/examples/1.6.x/server-kotlin/java/teams/get-membership.md index d013d913b2..e7c1571af6 100644 --- a/docs/examples/1.6.x/server-kotlin/java/teams/get-membership.md +++ b/docs/examples/1.6.x/server-kotlin/java/teams/get-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/teams/get-prefs.md b/docs/examples/1.6.x/server-kotlin/java/teams/get-prefs.md index 27cd6f9a8b..6d30814801 100644 --- a/docs/examples/1.6.x/server-kotlin/java/teams/get-prefs.md +++ b/docs/examples/1.6.x/server-kotlin/java/teams/get-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/teams/get.md b/docs/examples/1.6.x/server-kotlin/java/teams/get.md index 0416602ae7..a479e9aff2 100644 --- a/docs/examples/1.6.x/server-kotlin/java/teams/get.md +++ b/docs/examples/1.6.x/server-kotlin/java/teams/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/teams/list-memberships.md b/docs/examples/1.6.x/server-kotlin/java/teams/list-memberships.md index 0260673a09..9694482008 100644 --- a/docs/examples/1.6.x/server-kotlin/java/teams/list-memberships.md +++ b/docs/examples/1.6.x/server-kotlin/java/teams/list-memberships.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/teams/list.md b/docs/examples/1.6.x/server-kotlin/java/teams/list.md index a4e85acc5c..d0855ba841 100644 --- a/docs/examples/1.6.x/server-kotlin/java/teams/list.md +++ b/docs/examples/1.6.x/server-kotlin/java/teams/list.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/teams/update-membership-status.md b/docs/examples/1.6.x/server-kotlin/java/teams/update-membership-status.md index 8ca3398e6e..461cf4cbc3 100644 --- a/docs/examples/1.6.x/server-kotlin/java/teams/update-membership-status.md +++ b/docs/examples/1.6.x/server-kotlin/java/teams/update-membership-status.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/teams/update-membership.md b/docs/examples/1.6.x/server-kotlin/java/teams/update-membership.md index 60be82cbf0..d4816c57f1 100644 --- a/docs/examples/1.6.x/server-kotlin/java/teams/update-membership.md +++ b/docs/examples/1.6.x/server-kotlin/java/teams/update-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/teams/update-name.md b/docs/examples/1.6.x/server-kotlin/java/teams/update-name.md index 8db6f04d91..f2f1b02d93 100644 --- a/docs/examples/1.6.x/server-kotlin/java/teams/update-name.md +++ b/docs/examples/1.6.x/server-kotlin/java/teams/update-name.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/teams/update-prefs.md b/docs/examples/1.6.x/server-kotlin/java/teams/update-prefs.md index 91f1492e72..2ef05222df 100644 --- a/docs/examples/1.6.x/server-kotlin/java/teams/update-prefs.md +++ b/docs/examples/1.6.x/server-kotlin/java/teams/update-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Teams; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession(""); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/java/users/create-argon2user.md b/docs/examples/1.6.x/server-kotlin/java/users/create-argon2user.md index 01275263db..c78f236cec 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/create-argon2user.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/create-argon2user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/create-bcrypt-user.md b/docs/examples/1.6.x/server-kotlin/java/users/create-bcrypt-user.md index c98939bf02..7b85f96054 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/create-bcrypt-user.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/create-bcrypt-user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/create-j-w-t.md b/docs/examples/1.6.x/server-kotlin/java/users/create-j-w-t.md index c4538b730d..2b4d7e9c50 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/create-j-w-t.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/create-j-w-t.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/create-m-d5user.md b/docs/examples/1.6.x/server-kotlin/java/users/create-m-d5user.md index 0456a77576..666e10792e 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/create-m-d5user.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/create-m-d5user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/create-mfa-recovery-codes.md b/docs/examples/1.6.x/server-kotlin/java/users/create-mfa-recovery-codes.md index f9dfbe8faf..62afec2a1f 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/create-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/create-mfa-recovery-codes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/create-p-h-pass-user.md b/docs/examples/1.6.x/server-kotlin/java/users/create-p-h-pass-user.md index e97767887c..048ba39cca 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/create-p-h-pass-user.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/create-p-h-pass-user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/create-s-h-a-user.md b/docs/examples/1.6.x/server-kotlin/java/users/create-s-h-a-user.md index 6a3869ce47..ad729071c2 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/create-s-h-a-user.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/create-s-h-a-user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/create-scrypt-modified-user.md b/docs/examples/1.6.x/server-kotlin/java/users/create-scrypt-modified-user.md index 28d5881f7d..77a7d5fdb3 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/create-scrypt-modified-user.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/create-scrypt-modified-user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/create-scrypt-user.md b/docs/examples/1.6.x/server-kotlin/java/users/create-scrypt-user.md index 43e1ad8db9..0e81237ecf 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/create-scrypt-user.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/create-scrypt-user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/create-session.md b/docs/examples/1.6.x/server-kotlin/java/users/create-session.md index bc7dfb0299..8d9ce03d8e 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/create-session.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/create-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/create-target.md b/docs/examples/1.6.x/server-kotlin/java/users/create-target.md index 6bad1ce682..6681b170da 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/create-target.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/create-target.md @@ -4,7 +4,7 @@ import io.appwrite.services.Users; import io.appwrite.enums.MessagingProviderType; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/create-token.md b/docs/examples/1.6.x/server-kotlin/java/users/create-token.md index 9389e0eaef..330b344b15 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/create-token.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/create-token.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/create.md b/docs/examples/1.6.x/server-kotlin/java/users/create.md index 9889129570..95a72bf7e0 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/create.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/create.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/delete-identity.md b/docs/examples/1.6.x/server-kotlin/java/users/delete-identity.md index 063a91da89..40c410db47 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/delete-identity.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/delete-identity.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/delete-mfa-authenticator.md b/docs/examples/1.6.x/server-kotlin/java/users/delete-mfa-authenticator.md index cd5d9ab00d..7ed33d6d82 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/delete-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/delete-mfa-authenticator.md @@ -4,7 +4,7 @@ import io.appwrite.services.Users; import io.appwrite.enums.AuthenticatorType; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/delete-session.md b/docs/examples/1.6.x/server-kotlin/java/users/delete-session.md index 4ed2713d25..0e0a52baf8 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/delete-session.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/delete-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/delete-sessions.md b/docs/examples/1.6.x/server-kotlin/java/users/delete-sessions.md index f0da6e09ce..6a3bbbf46f 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/delete-sessions.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/delete-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/delete-target.md b/docs/examples/1.6.x/server-kotlin/java/users/delete-target.md index ddd0460207..e38ee1d57d 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/delete-target.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/delete-target.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/delete.md b/docs/examples/1.6.x/server-kotlin/java/users/delete.md index 6a256f87e9..d207f9af4b 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/delete.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/delete.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/get-mfa-recovery-codes.md b/docs/examples/1.6.x/server-kotlin/java/users/get-mfa-recovery-codes.md index be33d2095e..940dafee90 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/get-mfa-recovery-codes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/get-prefs.md b/docs/examples/1.6.x/server-kotlin/java/users/get-prefs.md index 3e36f16603..9ff3e4b308 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/get-prefs.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/get-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/get-target.md b/docs/examples/1.6.x/server-kotlin/java/users/get-target.md index 2ee5b4a965..05c802835d 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/get-target.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/get-target.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/get.md b/docs/examples/1.6.x/server-kotlin/java/users/get.md index 8c34ebacaf..d8cd707c9c 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/get.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/list-identities.md b/docs/examples/1.6.x/server-kotlin/java/users/list-identities.md index 169b41440d..e0fc9d122a 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/list-identities.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/list-identities.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/list-logs.md b/docs/examples/1.6.x/server-kotlin/java/users/list-logs.md index f3d2701609..86c94ee3a4 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/list-logs.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/list-logs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/list-memberships.md b/docs/examples/1.6.x/server-kotlin/java/users/list-memberships.md index 4f3cfd82be..dc03be2ef3 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/list-memberships.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/list-memberships.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/list-mfa-factors.md b/docs/examples/1.6.x/server-kotlin/java/users/list-mfa-factors.md index 4d51ece94b..a377214d19 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/list-mfa-factors.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/list-mfa-factors.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/list-sessions.md b/docs/examples/1.6.x/server-kotlin/java/users/list-sessions.md index a1d3a3a7d9..7e13cb31c9 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/list-sessions.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/list-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/list-targets.md b/docs/examples/1.6.x/server-kotlin/java/users/list-targets.md index ab0457725a..efa754273f 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/list-targets.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/list-targets.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/list.md b/docs/examples/1.6.x/server-kotlin/java/users/list.md index a854ba0a79..d587eaf46b 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/list.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/list.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/update-email-verification.md b/docs/examples/1.6.x/server-kotlin/java/users/update-email-verification.md index 7423f77484..a79c87b4d6 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/update-email-verification.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/update-email-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/update-email.md b/docs/examples/1.6.x/server-kotlin/java/users/update-email.md index 23e3977db1..24cdb00dff 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/update-email.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/update-email.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/update-labels.md b/docs/examples/1.6.x/server-kotlin/java/users/update-labels.md index acc3d1b024..379200a56b 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/update-labels.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/update-labels.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/update-mfa-recovery-codes.md b/docs/examples/1.6.x/server-kotlin/java/users/update-mfa-recovery-codes.md index eb560e72e0..439561012f 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/update-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/update-mfa-recovery-codes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/update-mfa.md b/docs/examples/1.6.x/server-kotlin/java/users/update-mfa.md index e1fc96f8af..76a198f513 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/update-mfa.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/update-mfa.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/update-name.md b/docs/examples/1.6.x/server-kotlin/java/users/update-name.md index e8bfe567cb..b4f889cb6d 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/update-name.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/update-name.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/update-password.md b/docs/examples/1.6.x/server-kotlin/java/users/update-password.md index bdf31a7771..94e24da45d 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/update-password.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/update-password.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/update-phone-verification.md b/docs/examples/1.6.x/server-kotlin/java/users/update-phone-verification.md index ce2377be9b..4a1d5a2900 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/update-phone-verification.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/update-phone-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/update-phone.md b/docs/examples/1.6.x/server-kotlin/java/users/update-phone.md index e0a0a4976f..49477fad43 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/update-phone.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/update-phone.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/update-prefs.md b/docs/examples/1.6.x/server-kotlin/java/users/update-prefs.md index 1d1cc7c5ba..c5a9677a20 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/update-prefs.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/update-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/update-status.md b/docs/examples/1.6.x/server-kotlin/java/users/update-status.md index e757ece454..6e875b982f 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/update-status.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/update-status.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/java/users/update-target.md b/docs/examples/1.6.x/server-kotlin/java/users/update-target.md index 23ca8d0187..67b90bfbac 100644 --- a/docs/examples/1.6.x/server-kotlin/java/users/update-target.md +++ b/docs/examples/1.6.x/server-kotlin/java/users/update-target.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback; import io.appwrite.services.Users; Client client = new Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>"); // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/create-anonymous-session.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/create-anonymous-session.md index 932b8a7507..0ddc3835dc 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/create-anonymous-session.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/create-anonymous-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/create-email-password-session.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/create-email-password-session.md index cc3b8cb3fa..9c7af95e13 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/create-email-password-session.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/create-email-password-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/create-email-token.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/create-email-token.md index b56e48909f..84acd78a9c 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/create-email-token.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/create-email-token.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/create-j-w-t.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/create-j-w-t.md index a0208cb911..4c04aa1215 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/create-j-w-t.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/create-j-w-t.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/create-magic-u-r-l-token.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/create-magic-u-r-l-token.md index ba66695f15..c1d8cba2cb 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/create-magic-u-r-l-token.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/create-mfa-authenticator.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/create-mfa-authenticator.md index 0afd790727..803579da03 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/create-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/create-mfa-authenticator.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account import io.appwrite.enums.AuthenticatorType val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/create-mfa-challenge.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/create-mfa-challenge.md index 921e791154..a3fbe25d75 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/create-mfa-challenge.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/create-mfa-challenge.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account import io.appwrite.enums.AuthenticationFactor val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/create-mfa-recovery-codes.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/create-mfa-recovery-codes.md index 270fedaf7a..c21a382fcc 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/create-mfa-recovery-codes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/create-o-auth2token.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/create-o-auth2token.md index 62d176d6b8..1a8c1188b0 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/create-o-auth2token.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/create-o-auth2token.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account import io.appwrite.enums.OAuthProvider val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/create-phone-token.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/create-phone-token.md index b9633e7811..be03e0659f 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/create-phone-token.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/create-phone-token.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/create-phone-verification.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/create-phone-verification.md index 038d72e6f4..3ae45b3982 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/create-phone-verification.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/create-phone-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/create-recovery.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/create-recovery.md index 27c6af55fd..949219cfca 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/create-recovery.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/create-recovery.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/create-session.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/create-session.md index 5e6c47cc1b..5afb219ff0 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/create-session.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/create-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/create-verification.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/create-verification.md index 0d42f8a919..f3441c9bdd 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/create-verification.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/create-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/create.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/create.md index 19d7c12b5b..80640ba830 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/create.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/create.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/delete-identity.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/delete-identity.md index f6ede24729..f9a5ce0a12 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/delete-identity.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/delete-identity.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/delete-mfa-authenticator.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/delete-mfa-authenticator.md index ffa853f3f6..2068077f46 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/delete-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/delete-mfa-authenticator.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account import io.appwrite.enums.AuthenticatorType val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/delete-session.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/delete-session.md index 47b80d77a5..31096ccc65 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/delete-session.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/delete-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/delete-sessions.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/delete-sessions.md index b2571de021..dc29fb8aac 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/delete-sessions.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/delete-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/get-mfa-recovery-codes.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/get-mfa-recovery-codes.md index 5335a0d004..027c211230 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/get-mfa-recovery-codes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/get-prefs.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/get-prefs.md index 3705645a02..299abbd929 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/get-prefs.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/get-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/get-session.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/get-session.md index 78478e1eb7..e40297e60c 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/get-session.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/get-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/get.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/get.md index 84f9bc3fe8..f65f4fd618 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/get.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/list-identities.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/list-identities.md index f947de3da4..32eb86cb43 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/list-identities.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/list-identities.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/list-logs.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/list-logs.md index ba926ae06e..345b2f1f06 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/list-logs.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/list-logs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/list-mfa-factors.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/list-mfa-factors.md index ee07a486c9..ce47dcd752 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/list-mfa-factors.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/list-mfa-factors.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/list-sessions.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/list-sessions.md index 7f23ad3017..899260cd5b 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/list-sessions.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/list-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/update-email.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/update-email.md index c10c25e4ba..6ebe5e7ec9 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/update-email.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/update-email.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/update-m-f-a.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/update-m-f-a.md index 516f14d5cd..e12e8e00e2 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/update-m-f-a.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/update-m-f-a.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/update-magic-u-r-l-session.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/update-magic-u-r-l-session.md index 99b65ebbc9..d4fe7f4861 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/update-magic-u-r-l-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/update-mfa-authenticator.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/update-mfa-authenticator.md index 482dfb360d..521d133f6f 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/update-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/update-mfa-authenticator.md @@ -4,7 +4,7 @@ import io.appwrite.services.Account import io.appwrite.enums.AuthenticatorType val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/update-mfa-challenge.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/update-mfa-challenge.md index 2a9a1a463d..6b978b765e 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/update-mfa-challenge.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/update-mfa-challenge.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/update-mfa-recovery-codes.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/update-mfa-recovery-codes.md index ebc6d718c9..31da824bbf 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/update-mfa-recovery-codes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/update-name.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/update-name.md index 13f90197f0..ecb7a2bd2f 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/update-name.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/update-name.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/update-password.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/update-password.md index fbb67963d6..159aa79aef 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/update-password.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/update-password.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/update-phone-session.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/update-phone-session.md index 1f6aa40dde..1bcc4c0955 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/update-phone-session.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/update-phone-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID val account = Account(client) diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/update-phone-verification.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/update-phone-verification.md index 87cd3ffeb7..36a2d9c73b 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/update-phone-verification.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/update-phone-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/update-phone.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/update-phone.md index 1a2600c4f0..1ee4cbd39b 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/update-phone.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/update-phone.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/update-prefs.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/update-prefs.md index 32d083b6b9..dafee7c0e5 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/update-prefs.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/update-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/update-recovery.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/update-recovery.md index 8626e97984..e56381365d 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/update-recovery.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/update-recovery.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/update-session.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/update-session.md index 5f83a2bb91..ab3730af0e 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/update-session.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/update-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/update-status.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/update-status.md index aa94adec10..021f6143c0 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/update-status.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/update-status.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/account/update-verification.md b/docs/examples/1.6.x/server-kotlin/kotlin/account/update-verification.md index 2f8cc25cef..6402093410 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/account/update-verification.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/account/update-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Account val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/avatars/get-browser.md b/docs/examples/1.6.x/server-kotlin/kotlin/avatars/get-browser.md index 0e29e1146d..e9b95c9422 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/avatars/get-browser.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/avatars/get-browser.md @@ -4,7 +4,7 @@ import io.appwrite.services.Avatars import io.appwrite.enums.Browser val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/avatars/get-credit-card.md b/docs/examples/1.6.x/server-kotlin/kotlin/avatars/get-credit-card.md index 9929e76440..8554dbd00e 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/avatars/get-credit-card.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/avatars/get-credit-card.md @@ -4,7 +4,7 @@ import io.appwrite.services.Avatars import io.appwrite.enums.CreditCard val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/avatars/get-favicon.md b/docs/examples/1.6.x/server-kotlin/kotlin/avatars/get-favicon.md index 8cf4af26fe..d1f5d9bfe6 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/avatars/get-favicon.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/avatars/get-favicon.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Avatars val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/avatars/get-flag.md b/docs/examples/1.6.x/server-kotlin/kotlin/avatars/get-flag.md index 73f3fefbdc..011a7296b2 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/avatars/get-flag.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/avatars/get-flag.md @@ -4,7 +4,7 @@ import io.appwrite.services.Avatars import io.appwrite.enums.Flag val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/avatars/get-image.md b/docs/examples/1.6.x/server-kotlin/kotlin/avatars/get-image.md index 1369000a46..98b9c07e7f 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/avatars/get-image.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/avatars/get-image.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Avatars val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/avatars/get-initials.md b/docs/examples/1.6.x/server-kotlin/kotlin/avatars/get-initials.md index 95499241a1..2aa165ccf8 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/avatars/get-initials.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/avatars/get-initials.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Avatars val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/avatars/get-q-r.md b/docs/examples/1.6.x/server-kotlin/kotlin/avatars/get-q-r.md index cea667bc93..abcf488cbb 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/avatars/get-q-r.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/avatars/get-q-r.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Avatars val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-boolean-attribute.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-boolean-attribute.md index 64ac210006..b80bd9497a 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-boolean-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-boolean-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-collection.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-collection.md index 03ca6a4b74..de9679f559 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-collection.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-collection.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-datetime-attribute.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-datetime-attribute.md index d9e0771c9d..2d730562a9 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-datetime-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-datetime-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-document.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-document.md index 873e2edd48..695fdbdfaa 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-document.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-email-attribute.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-email-attribute.md index 5e5091be6b..2a5a9c2a60 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-email-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-email-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-enum-attribute.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-enum-attribute.md index 733fbadf44..d9decdeba9 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-enum-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-enum-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-float-attribute.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-float-attribute.md index 04e9bfa17c..5ca86a66af 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-float-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-float-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-index.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-index.md index 6dab46fec9..7ada0f743b 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-index.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-index.md @@ -4,7 +4,7 @@ import io.appwrite.services.Databases import io.appwrite.enums.IndexType val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-integer-attribute.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-integer-attribute.md index 6c483bbac6..748d01a849 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-integer-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-integer-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-ip-attribute.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-ip-attribute.md index 76dd82dcb9..bfc610517a 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-ip-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-ip-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-relationship-attribute.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-relationship-attribute.md index 4797b94c91..1bf610321a 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-relationship-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-relationship-attribute.md @@ -4,7 +4,7 @@ import io.appwrite.services.Databases import io.appwrite.enums.RelationshipType val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-string-attribute.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-string-attribute.md index 06781f236c..333cb76763 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-string-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-string-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-url-attribute.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-url-attribute.md index 33cadc7933..06057d4683 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-url-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/create-url-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/create.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/create.md index c17246f776..04c64801d2 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/create.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/create.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/delete-attribute.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/delete-attribute.md index 8fed2d841c..9a25155957 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/delete-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/delete-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/delete-collection.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/delete-collection.md index 2c85947f37..c46ca086b9 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/delete-collection.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/delete-collection.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/delete-document.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/delete-document.md index e920841a93..a9eea6b648 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/delete-document.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/delete-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/delete-index.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/delete-index.md index 8655b6bc67..37c75dcfe5 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/delete-index.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/delete-index.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/delete.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/delete.md index 13c5660580..07225698e2 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/delete.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/delete.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/get-attribute.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/get-attribute.md index 6a7ceb2210..a59facd7db 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/get-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/get-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/get-collection.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/get-collection.md index 79980c5db7..7f6e578db1 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/get-collection.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/get-collection.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/get-document.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/get-document.md index 508e0dae37..d21a19869b 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/get-document.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/get-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/get-index.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/get-index.md index 3935c38ba6..39ac7af9fb 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/get-index.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/get-index.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/get.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/get.md index bb6b17cd19..6ebb0c109c 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/get.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/list-attributes.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/list-attributes.md index b3f26a2e38..5ddb0a6fea 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/list-attributes.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/list-attributes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/list-collections.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/list-collections.md index 9bdfa6e4d0..5340903927 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/list-collections.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/list-collections.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/list-documents.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/list-documents.md index 90cef399a2..ed9cb3165d 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/list-documents.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/list-documents.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/list-indexes.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/list-indexes.md index 6dd29ba206..2ab2e6a1b2 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/list-indexes.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/list-indexes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/list.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/list.md index f7f332b91f..cd61a0e714 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/list.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/list.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-boolean-attribute.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-boolean-attribute.md index ebffab74f2..4c9fd91d83 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-boolean-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-boolean-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-collection.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-collection.md index 7ceef8423b..bd42ba07f4 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-collection.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-collection.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-datetime-attribute.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-datetime-attribute.md index 676c779bc9..082ae1c05a 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-datetime-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-datetime-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-document.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-document.md index 1737be1d3d..4dd0349823 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-document.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-document.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-email-attribute.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-email-attribute.md index 2f1cbd2527..026bd6447f 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-email-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-email-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-enum-attribute.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-enum-attribute.md index 7c0c92fad6..e68a29c20a 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-enum-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-enum-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-float-attribute.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-float-attribute.md index 4701530831..58b110743e 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-float-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-float-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key @@ -14,8 +14,8 @@ val response = databases.updateFloatAttribute( collectionId = "<COLLECTION_ID>", key = "", required = false, - min = 0, - max = 0, default = 0, + min = 0, // optional + max = 0, // optional newKey = "" // optional ) diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-integer-attribute.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-integer-attribute.md index e5742a5830..a00dcf95a0 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-integer-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-integer-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key @@ -14,8 +14,8 @@ val response = databases.updateIntegerAttribute( collectionId = "<COLLECTION_ID>", key = "", required = false, - min = 0, - max = 0, default = 0, + min = 0, // optional + max = 0, // optional newKey = "" // optional ) diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-ip-attribute.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-ip-attribute.md index bfc0cddce0..505e5ea18d 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-ip-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-ip-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-relationship-attribute.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-relationship-attribute.md index ab12195140..001dd1a391 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-relationship-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-relationship-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-string-attribute.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-string-attribute.md index 32e17beb9c..364a6b5b7f 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-string-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-string-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-url-attribute.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-url-attribute.md index 78351133db..a628cc57f8 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-url-attribute.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/update-url-attribute.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/databases/update.md b/docs/examples/1.6.x/server-kotlin/kotlin/databases/update.md index 7da795cb72..05f832738a 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/databases/update.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/databases/update.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Databases val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/functions/create-build.md b/docs/examples/1.6.x/server-kotlin/kotlin/functions/create-build.md index 6d20586e94..f835d93860 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/functions/create-build.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/functions/create-build.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Functions val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/functions/create-deployment.md b/docs/examples/1.6.x/server-kotlin/kotlin/functions/create-deployment.md index aba8f0c5f7..ddc6e8b207 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/functions/create-deployment.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/functions/create-deployment.md @@ -4,7 +4,7 @@ import io.appwrite.models.InputFile import io.appwrite.services.Functions val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/functions/create-execution.md b/docs/examples/1.6.x/server-kotlin/kotlin/functions/create-execution.md index 42267458e0..94bfa2310c 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/functions/create-execution.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/functions/create-execution.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Functions val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/functions/create-variable.md b/docs/examples/1.6.x/server-kotlin/kotlin/functions/create-variable.md index e5d33b4f1a..5dff26f80e 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/functions/create-variable.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/functions/create-variable.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Functions val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/functions/create.md b/docs/examples/1.6.x/server-kotlin/kotlin/functions/create.md index d94bdf6378..7278878418 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/functions/create.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/functions/create.md @@ -4,7 +4,7 @@ import io.appwrite.services.Functions import io.appwrite.enums.Runtime val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/functions/delete-deployment.md b/docs/examples/1.6.x/server-kotlin/kotlin/functions/delete-deployment.md index 9e4e4762f1..937fc961da 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/functions/delete-deployment.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/functions/delete-deployment.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Functions val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/functions/delete-execution.md b/docs/examples/1.6.x/server-kotlin/kotlin/functions/delete-execution.md index eb1f59eda7..95994f822a 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/functions/delete-execution.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/functions/delete-execution.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Functions val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/functions/delete-variable.md b/docs/examples/1.6.x/server-kotlin/kotlin/functions/delete-variable.md index 912e7699b6..e1793675c9 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/functions/delete-variable.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/functions/delete-variable.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Functions val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/functions/delete.md b/docs/examples/1.6.x/server-kotlin/kotlin/functions/delete.md index 97f0b0082f..9651744767 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/functions/delete.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/functions/delete.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Functions val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/functions/get-deployment-download.md b/docs/examples/1.6.x/server-kotlin/kotlin/functions/get-deployment-download.md index 13dec6ade2..5e9558e9fa 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/functions/get-deployment-download.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/functions/get-deployment-download.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Functions val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/functions/get-deployment.md b/docs/examples/1.6.x/server-kotlin/kotlin/functions/get-deployment.md index e844328f58..eba4abb6df 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/functions/get-deployment.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/functions/get-deployment.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Functions val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/functions/get-execution.md b/docs/examples/1.6.x/server-kotlin/kotlin/functions/get-execution.md index 5f981bfc4f..480dbb76ba 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/functions/get-execution.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/functions/get-execution.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Functions val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/functions/get-variable.md b/docs/examples/1.6.x/server-kotlin/kotlin/functions/get-variable.md index 8d6ee38cf2..95359ef8fc 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/functions/get-variable.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/functions/get-variable.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Functions val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/functions/get.md b/docs/examples/1.6.x/server-kotlin/kotlin/functions/get.md index f56d8b9eaa..162fa22497 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/functions/get.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/functions/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Functions val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/functions/list-deployments.md b/docs/examples/1.6.x/server-kotlin/kotlin/functions/list-deployments.md index cf7deffa73..9318442afa 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/functions/list-deployments.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/functions/list-deployments.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Functions val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/functions/list-executions.md b/docs/examples/1.6.x/server-kotlin/kotlin/functions/list-executions.md index 8f4546cb62..9f85f67f33 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/functions/list-executions.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/functions/list-executions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Functions val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/functions/list-runtimes.md b/docs/examples/1.6.x/server-kotlin/kotlin/functions/list-runtimes.md index a464156a1c..5b3673b84d 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/functions/list-runtimes.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/functions/list-runtimes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Functions val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/functions/list-specifications.md b/docs/examples/1.6.x/server-kotlin/kotlin/functions/list-specifications.md index 8d86aa6cae..0b2fb46a4b 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/functions/list-specifications.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/functions/list-specifications.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Functions val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/functions/list-variables.md b/docs/examples/1.6.x/server-kotlin/kotlin/functions/list-variables.md index 4876517279..7f576e8957 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/functions/list-variables.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/functions/list-variables.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Functions val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/functions/list.md b/docs/examples/1.6.x/server-kotlin/kotlin/functions/list.md index 9a585017da..b10fdff53a 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/functions/list.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/functions/list.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Functions val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/functions/update-deployment-build.md b/docs/examples/1.6.x/server-kotlin/kotlin/functions/update-deployment-build.md index 6adb07a781..839bbe6ff6 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/functions/update-deployment-build.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/functions/update-deployment-build.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Functions val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/functions/update-deployment.md b/docs/examples/1.6.x/server-kotlin/kotlin/functions/update-deployment.md index fb95b08abc..cf020d697c 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/functions/update-deployment.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/functions/update-deployment.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Functions val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/functions/update-variable.md b/docs/examples/1.6.x/server-kotlin/kotlin/functions/update-variable.md index db9438c667..ed6e4fffce 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/functions/update-variable.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/functions/update-variable.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Functions val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/functions/update.md b/docs/examples/1.6.x/server-kotlin/kotlin/functions/update.md index d36c761018..7f0b33ebd7 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/functions/update.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/functions/update.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Functions val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/graphql/mutation.md b/docs/examples/1.6.x/server-kotlin/kotlin/graphql/mutation.md index d4d2fd2dc2..98081ab06b 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/graphql/mutation.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/graphql/mutation.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Graphql val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/graphql/query.md b/docs/examples/1.6.x/server-kotlin/kotlin/graphql/query.md index 79457c1e14..dec8dd350c 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/graphql/query.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/graphql/query.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Graphql val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-antivirus.md b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-antivirus.md index c84072504b..869b4c4804 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-antivirus.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-antivirus.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Health val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-cache.md b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-cache.md index 20ddb89ad3..8b72ec414f 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-cache.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-cache.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Health val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-certificate.md b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-certificate.md index 714a2709a9..74bf618704 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-certificate.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-certificate.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Health val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-d-b.md b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-d-b.md index c707be3911..a55a1146f4 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-d-b.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-d-b.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Health val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-failed-jobs.md b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-failed-jobs.md index 5c5497a4c0..027df127cc 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-failed-jobs.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-failed-jobs.md @@ -4,7 +4,7 @@ import io.appwrite.services.Health import io.appwrite.enums.Name val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-pub-sub.md b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-pub-sub.md index 8a69bc7be6..53c3820232 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-pub-sub.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-pub-sub.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Health val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-builds.md b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-builds.md index 4d0cb3a0e6..371aad90f8 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-builds.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-builds.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Health val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-certificates.md b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-certificates.md index 1b07df680e..5c6adeecb5 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-certificates.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-certificates.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Health val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-databases.md b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-databases.md index fb1dce69f8..3a3405830d 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-databases.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-databases.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Health val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-deletes.md b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-deletes.md index d3f1186242..5d0b8a3381 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-deletes.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-deletes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Health val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-functions.md b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-functions.md index 2a045955cb..7a42b61ba5 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-functions.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-functions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Health val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-logs.md b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-logs.md index 6467a390ad..151025bfb6 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-logs.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-logs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Health val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-mails.md b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-mails.md index 143dc409ae..f5a905dd73 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-mails.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-mails.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Health val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-messaging.md b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-messaging.md index e85e425832..4a837928eb 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-messaging.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-messaging.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Health val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-migrations.md b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-migrations.md index f287e78d4a..853d294ed1 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-migrations.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-migrations.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Health val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-stats-resources.md b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-stats-resources.md new file mode 100644 index 0000000000..6a76f528e2 --- /dev/null +++ b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-stats-resources.md @@ -0,0 +1,14 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Health + +val client = Client() + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key + +val health = Health(client) + +val response = health.getQueueStatsResources( + threshold = 0 // optional +) diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-usage-dump.md b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-usage-dump.md index a1b1a30b3c..4a39357b6c 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-usage-dump.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-usage-dump.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Health val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-usage.md b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-usage.md index fcfcf108e1..e344b9eddc 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-usage.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-usage.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Health val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-webhooks.md b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-webhooks.md index 6452f1a76e..f5ffc58d8d 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-webhooks.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue-webhooks.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Health val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue.md b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue.md index d24e8c43e3..671a756502 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-queue.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Health val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-storage-local.md b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-storage-local.md index b2c9987353..32a21aea0a 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-storage-local.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-storage-local.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Health val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-storage.md b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-storage.md index 7038ee2b5a..8af609aad9 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-storage.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-storage.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Health val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-time.md b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-time.md index 7c50ae424b..8054ed7c69 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/health/get-time.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/health/get-time.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Health val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/health/get.md b/docs/examples/1.6.x/server-kotlin/kotlin/health/get.md index c53445ff99..0845320bb5 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/health/get.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/health/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Health val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/locale/get.md b/docs/examples/1.6.x/server-kotlin/kotlin/locale/get.md index b8dc768a0d..6840259c27 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/locale/get.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/locale/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Locale val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/locale/list-codes.md b/docs/examples/1.6.x/server-kotlin/kotlin/locale/list-codes.md index 784e688f4d..fd0c4e413e 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/locale/list-codes.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/locale/list-codes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Locale val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/locale/list-continents.md b/docs/examples/1.6.x/server-kotlin/kotlin/locale/list-continents.md index 6cad16e4a9..699d599f56 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/locale/list-continents.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/locale/list-continents.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Locale val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/locale/list-countries-e-u.md b/docs/examples/1.6.x/server-kotlin/kotlin/locale/list-countries-e-u.md index cfec468dd5..13e86f3064 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/locale/list-countries-e-u.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/locale/list-countries-e-u.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Locale val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/locale/list-countries-phones.md b/docs/examples/1.6.x/server-kotlin/kotlin/locale/list-countries-phones.md index 06585ad248..b660ccf433 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/locale/list-countries-phones.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/locale/list-countries-phones.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Locale val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/locale/list-countries.md b/docs/examples/1.6.x/server-kotlin/kotlin/locale/list-countries.md index 7789bbeff5..3457ceb4c5 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/locale/list-countries.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/locale/list-countries.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Locale val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/locale/list-currencies.md b/docs/examples/1.6.x/server-kotlin/kotlin/locale/list-currencies.md index 6c7f7097d3..80b2cc7e52 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/locale/list-currencies.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/locale/list-currencies.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Locale val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/locale/list-languages.md b/docs/examples/1.6.x/server-kotlin/kotlin/locale/list-languages.md index a20096e335..b36c1389a5 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/locale/list-languages.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/locale/list-languages.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Locale val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-apns-provider.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-apns-provider.md index 8a58fe8672..a19cbe2725 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-apns-provider.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-apns-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-email.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-email.md index 02b0651b68..f0f41e9e53 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-email.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-email.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-fcm-provider.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-fcm-provider.md index 779596cd78..c1a077ca5c 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-fcm-provider.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-fcm-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-mailgun-provider.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-mailgun-provider.md index a73a27ff08..d205171dfe 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-mailgun-provider.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-mailgun-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-msg91provider.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-msg91provider.md index 31eb606e28..5ea3d223e9 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-msg91provider.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-msg91provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-push.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-push.md index f92a49d627..5b07f5355b 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-push.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-push.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-sendgrid-provider.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-sendgrid-provider.md index 34f61c9889..e96a052d5a 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-sendgrid-provider.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-sendgrid-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-sms.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-sms.md index 6fbcffb09e..49185290c3 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-sms.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-sms.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-smtp-provider.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-smtp-provider.md index 17643dc6a5..ae3b6678e4 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-smtp-provider.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-smtp-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-subscriber.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-subscriber.md index 805cd58327..44e3a72a1d 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-subscriber.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-subscriber.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setJWT("<YOUR_JWT>") // Your secret JSON Web Token diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-telesign-provider.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-telesign-provider.md index 1d44fcab2a..cddd6d801a 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-telesign-provider.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-telesign-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-textmagic-provider.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-textmagic-provider.md index d88b9bb9d0..12eb62d957 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-textmagic-provider.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-textmagic-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-topic.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-topic.md index 6a6b9bd4b2..570be33e41 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-topic.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-topic.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-twilio-provider.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-twilio-provider.md index 3df99e97da..c05b835d52 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-twilio-provider.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-twilio-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-vonage-provider.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-vonage-provider.md index 59e5d149fe..7e049d8313 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-vonage-provider.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/create-vonage-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/delete-provider.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/delete-provider.md index 3ecd64deab..4989da8cd3 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/delete-provider.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/delete-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/delete-subscriber.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/delete-subscriber.md index 4a7c18faf9..0f99f251a3 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/delete-subscriber.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/delete-subscriber.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setJWT("<YOUR_JWT>") // Your secret JSON Web Token diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/delete-topic.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/delete-topic.md index 4859c0a621..8a52c9f9a5 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/delete-topic.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/delete-topic.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/delete.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/delete.md index 0b925ca8a0..7e4ec51c93 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/delete.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/delete.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/get-message.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/get-message.md index 01db389b24..710d356113 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/get-message.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/get-message.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/get-provider.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/get-provider.md index 53e5cf32d5..c678d4d984 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/get-provider.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/get-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/get-subscriber.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/get-subscriber.md index 036f17f757..59b335a2e6 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/get-subscriber.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/get-subscriber.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/get-topic.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/get-topic.md index 09d36884f3..c189898e95 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/get-topic.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/get-topic.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-message-logs.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-message-logs.md index 3048904133..e1463f8911 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-message-logs.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-message-logs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-messages.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-messages.md index e9e509e4c9..618f8c493e 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-messages.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-messages.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-provider-logs.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-provider-logs.md index e0a52cb402..ab0a9f1260 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-provider-logs.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-provider-logs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-providers.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-providers.md index 66439e2a4c..34c70a9c86 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-providers.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-providers.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-subscriber-logs.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-subscriber-logs.md index 5472d5f46f..8a82af8f70 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-subscriber-logs.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-subscriber-logs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-subscribers.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-subscribers.md index a95e854328..acf5249900 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-subscribers.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-subscribers.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-targets.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-targets.md index a99e8226d1..ad500f0e38 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-targets.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-targets.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-topic-logs.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-topic-logs.md index 7b7d2f0384..683b418032 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-topic-logs.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-topic-logs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-topics.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-topics.md index 4550f1e658..125c6ffb82 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-topics.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/list-topics.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-apns-provider.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-apns-provider.md index 83a60830b1..d0d5a07848 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-apns-provider.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-apns-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-email.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-email.md index 29baf1896d..cd74bb4290 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-email.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-email.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-fcm-provider.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-fcm-provider.md index 4d8534c2c4..477e7188d8 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-fcm-provider.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-fcm-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-mailgun-provider.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-mailgun-provider.md index 9caff421c8..4bec8d2a44 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-mailgun-provider.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-mailgun-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-msg91provider.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-msg91provider.md index 1a6a0b49ad..3abaca75bb 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-msg91provider.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-msg91provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-push.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-push.md index 0ba72c461c..710a37e518 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-push.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-push.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-sendgrid-provider.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-sendgrid-provider.md index 353cbd0180..962aa694e6 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-sendgrid-provider.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-sendgrid-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-sms.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-sms.md index 7f008e8dbe..3d08b8a16c 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-sms.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-sms.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-smtp-provider.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-smtp-provider.md index 465d76b4da..cb745865ec 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-smtp-provider.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-smtp-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-telesign-provider.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-telesign-provider.md index 9a4d93e9c3..83fb11a856 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-telesign-provider.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-telesign-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-textmagic-provider.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-textmagic-provider.md index 14e8ac5102..1e2ee1e2c8 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-textmagic-provider.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-textmagic-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-topic.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-topic.md index 68e894973d..0991fd0ee4 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-topic.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-topic.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-twilio-provider.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-twilio-provider.md index 2c7a5e8cf9..1c86f9e853 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-twilio-provider.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-twilio-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-vonage-provider.md b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-vonage-provider.md index 4d432f7310..bf0ee2b75c 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-vonage-provider.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/messaging/update-vonage-provider.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Messaging val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/storage/create-bucket.md b/docs/examples/1.6.x/server-kotlin/kotlin/storage/create-bucket.md index 0c0119e556..0bca827872 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/storage/create-bucket.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/storage/create-bucket.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Storage val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/storage/create-file.md b/docs/examples/1.6.x/server-kotlin/kotlin/storage/create-file.md index a2203ff686..b22b32a665 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/storage/create-file.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/storage/create-file.md @@ -4,7 +4,7 @@ import io.appwrite.models.InputFile import io.appwrite.services.Storage val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/storage/delete-bucket.md b/docs/examples/1.6.x/server-kotlin/kotlin/storage/delete-bucket.md index 22981035d1..4a0904ec63 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/storage/delete-bucket.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/storage/delete-bucket.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Storage val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/storage/delete-file.md b/docs/examples/1.6.x/server-kotlin/kotlin/storage/delete-file.md index 5b17c5c8b0..cf5e285db3 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/storage/delete-file.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/storage/delete-file.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Storage val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/storage/get-bucket.md b/docs/examples/1.6.x/server-kotlin/kotlin/storage/get-bucket.md index 604ec05a26..e2a6a8f527 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/storage/get-bucket.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/storage/get-bucket.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Storage val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/storage/get-file-download.md b/docs/examples/1.6.x/server-kotlin/kotlin/storage/get-file-download.md index 46b02e7730..f3422f958d 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/storage/get-file-download.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/storage/get-file-download.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Storage val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/storage/get-file-preview.md b/docs/examples/1.6.x/server-kotlin/kotlin/storage/get-file-preview.md index 88be42f6f5..8c37ce832e 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/storage/get-file-preview.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/storage/get-file-preview.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Storage val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/storage/get-file-view.md b/docs/examples/1.6.x/server-kotlin/kotlin/storage/get-file-view.md index b4ad81fcec..cf8cde33c4 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/storage/get-file-view.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/storage/get-file-view.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Storage val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/storage/get-file.md b/docs/examples/1.6.x/server-kotlin/kotlin/storage/get-file.md index a6d2d3d85d..a807177dce 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/storage/get-file.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/storage/get-file.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Storage val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/storage/list-buckets.md b/docs/examples/1.6.x/server-kotlin/kotlin/storage/list-buckets.md index 4b22970641..a8a066dc9f 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/storage/list-buckets.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/storage/list-buckets.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Storage val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/storage/list-files.md b/docs/examples/1.6.x/server-kotlin/kotlin/storage/list-files.md index e7c3d66438..cb9a776775 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/storage/list-files.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/storage/list-files.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Storage val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/storage/update-bucket.md b/docs/examples/1.6.x/server-kotlin/kotlin/storage/update-bucket.md index 4040dfb4f9..d475a6e5ed 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/storage/update-bucket.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/storage/update-bucket.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Storage val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/storage/update-file.md b/docs/examples/1.6.x/server-kotlin/kotlin/storage/update-file.md index 96d4b08f9a..e82ea8125c 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/storage/update-file.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/storage/update-file.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Storage val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/teams/create-membership.md b/docs/examples/1.6.x/server-kotlin/kotlin/teams/create-membership.md index 250502ecc9..33eb16568e 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/teams/create-membership.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/teams/create-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Teams val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/teams/create.md b/docs/examples/1.6.x/server-kotlin/kotlin/teams/create.md index b66029f08e..6ec7e533d2 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/teams/create.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/teams/create.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Teams val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/teams/delete-membership.md b/docs/examples/1.6.x/server-kotlin/kotlin/teams/delete-membership.md index 0dff54515f..48c924f37b 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/teams/delete-membership.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/teams/delete-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Teams val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/teams/delete.md b/docs/examples/1.6.x/server-kotlin/kotlin/teams/delete.md index 9a75b2ae72..4b70ff2f18 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/teams/delete.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/teams/delete.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Teams val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/teams/get-membership.md b/docs/examples/1.6.x/server-kotlin/kotlin/teams/get-membership.md index 77c6ae5d1a..a636c217da 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/teams/get-membership.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/teams/get-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Teams val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/teams/get-prefs.md b/docs/examples/1.6.x/server-kotlin/kotlin/teams/get-prefs.md index 2700c893ae..2b73432d6c 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/teams/get-prefs.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/teams/get-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Teams val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/teams/get.md b/docs/examples/1.6.x/server-kotlin/kotlin/teams/get.md index a7be374a46..72b667776f 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/teams/get.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/teams/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Teams val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/teams/list-memberships.md b/docs/examples/1.6.x/server-kotlin/kotlin/teams/list-memberships.md index 916252dd61..287087394e 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/teams/list-memberships.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/teams/list-memberships.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Teams val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/teams/list.md b/docs/examples/1.6.x/server-kotlin/kotlin/teams/list.md index 5af95dbfc7..ee3e3e43b4 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/teams/list.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/teams/list.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Teams val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/teams/update-membership-status.md b/docs/examples/1.6.x/server-kotlin/kotlin/teams/update-membership-status.md index 75c4a73731..b7a0d51ec5 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/teams/update-membership-status.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/teams/update-membership-status.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Teams val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/teams/update-membership.md b/docs/examples/1.6.x/server-kotlin/kotlin/teams/update-membership.md index 556e0a3394..7a4377fb4d 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/teams/update-membership.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/teams/update-membership.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Teams val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/teams/update-name.md b/docs/examples/1.6.x/server-kotlin/kotlin/teams/update-name.md index 8e6a2a237c..2f13d7c460 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/teams/update-name.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/teams/update-name.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Teams val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/teams/update-prefs.md b/docs/examples/1.6.x/server-kotlin/kotlin/teams/update-prefs.md index c9153d359a..62c7f01ca5 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/teams/update-prefs.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/teams/update-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Teams val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/create-argon2user.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/create-argon2user.md index a01f6d54c3..27008a0415 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/create-argon2user.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/create-argon2user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/create-bcrypt-user.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/create-bcrypt-user.md index b4758e4aba..c7231307cf 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/create-bcrypt-user.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/create-bcrypt-user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/create-j-w-t.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/create-j-w-t.md index 137847d13b..a556a901c5 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/create-j-w-t.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/create-j-w-t.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/create-m-d5user.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/create-m-d5user.md index f9d7cb2f12..27b985920c 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/create-m-d5user.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/create-m-d5user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/create-mfa-recovery-codes.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/create-mfa-recovery-codes.md index b3a3950f54..2d1dbf0a1d 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/create-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/create-mfa-recovery-codes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/create-p-h-pass-user.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/create-p-h-pass-user.md index 87d74aac8b..5441e49e6c 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/create-p-h-pass-user.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/create-p-h-pass-user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/create-s-h-a-user.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/create-s-h-a-user.md index 0be03bf8a0..17a157b2cd 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/create-s-h-a-user.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/create-s-h-a-user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/create-scrypt-modified-user.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/create-scrypt-modified-user.md index f651d3fc58..814883cae5 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/create-scrypt-modified-user.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/create-scrypt-modified-user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/create-scrypt-user.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/create-scrypt-user.md index 2502312f55..619525a799 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/create-scrypt-user.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/create-scrypt-user.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/create-session.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/create-session.md index 4b0e5dc277..a67e605121 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/create-session.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/create-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/create-target.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/create-target.md index 4a7856bd61..139c6ff049 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/create-target.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/create-target.md @@ -4,7 +4,7 @@ import io.appwrite.services.Users import io.appwrite.enums.MessagingProviderType val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/create-token.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/create-token.md index bd8f76d9be..43492f4747 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/create-token.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/create-token.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/create.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/create.md index b5bcee929f..27ae85ae6e 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/create.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/create.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/delete-identity.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/delete-identity.md index 2c0bfae3bc..37b4ed2e71 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/delete-identity.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/delete-identity.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/delete-mfa-authenticator.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/delete-mfa-authenticator.md index 60989d4c6a..22085b2f72 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/delete-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/delete-mfa-authenticator.md @@ -4,7 +4,7 @@ import io.appwrite.services.Users import io.appwrite.enums.AuthenticatorType val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/delete-session.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/delete-session.md index 0127fa3183..e9e3c7c55e 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/delete-session.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/delete-session.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/delete-sessions.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/delete-sessions.md index 26d7c703d9..6288e1bc04 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/delete-sessions.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/delete-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/delete-target.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/delete-target.md index 6be6652c32..f93be0677a 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/delete-target.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/delete-target.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/delete.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/delete.md index e250c44b7a..b938ac70d1 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/delete.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/delete.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/get-mfa-recovery-codes.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/get-mfa-recovery-codes.md index 5860b4cca6..e0c45dc258 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/get-mfa-recovery-codes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/get-prefs.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/get-prefs.md index 7654537708..927a4a43a1 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/get-prefs.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/get-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/get-target.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/get-target.md index be8bbe81ca..556349c684 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/get-target.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/get-target.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/get.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/get.md index 829843065b..70f0ee9d5f 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/get.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/get.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/list-identities.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/list-identities.md index 05156dbe93..1ac0e5b887 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/list-identities.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/list-identities.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/list-logs.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/list-logs.md index 8868d0d30b..a263293a7a 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/list-logs.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/list-logs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/list-memberships.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/list-memberships.md index 5a3d2ead35..528b69c5e8 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/list-memberships.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/list-memberships.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/list-mfa-factors.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/list-mfa-factors.md index 25d9a4a112..4eb6721ce5 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/list-mfa-factors.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/list-mfa-factors.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/list-sessions.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/list-sessions.md index c14ebd7b82..4ff34dd53e 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/list-sessions.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/list-sessions.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/list-targets.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/list-targets.md index d017592a86..0824acfd9e 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/list-targets.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/list-targets.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/list.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/list.md index e86ac0de46..23dd217a6c 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/list.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/list.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/update-email-verification.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/update-email-verification.md index 3f5f2937e5..ebf2232f3e 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/update-email-verification.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/update-email-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/update-email.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/update-email.md index b7a0644338..a617705dbb 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/update-email.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/update-email.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/update-labels.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/update-labels.md index ecc29480a8..86f536f728 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/update-labels.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/update-labels.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/update-mfa-recovery-codes.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/update-mfa-recovery-codes.md index b8fa2c503a..74602c0f7e 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/update-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/update-mfa-recovery-codes.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/update-mfa.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/update-mfa.md index a169f3df78..0148d582b8 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/update-mfa.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/update-mfa.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/update-name.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/update-name.md index 32d164df29..fedfce36bd 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/update-name.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/update-name.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/update-password.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/update-password.md index 152226767c..4a0ad576e1 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/update-password.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/update-password.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/update-phone-verification.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/update-phone-verification.md index bc8f4c626f..6520ef4c95 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/update-phone-verification.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/update-phone-verification.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/update-phone.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/update-phone.md index f00a15d015..7261f95db5 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/update-phone.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/update-phone.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/update-prefs.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/update-prefs.md index cc8dcf6e74..451f4ff4c6 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/update-prefs.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/update-prefs.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/update-status.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/update-status.md index e546ba5705..a69ae30dbc 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/update-status.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/update-status.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-kotlin/kotlin/users/update-target.md b/docs/examples/1.6.x/server-kotlin/kotlin/users/update-target.md index 1827c6a95b..a18fc63bcb 100644 --- a/docs/examples/1.6.x/server-kotlin/kotlin/users/update-target.md +++ b/docs/examples/1.6.x/server-kotlin/kotlin/users/update-target.md @@ -3,7 +3,7 @@ import io.appwrite.coroutines.CoroutineCallback import io.appwrite.services.Users val client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/create-anonymous-session.md b/docs/examples/1.6.x/server-nodejs/examples/account/create-anonymous-session.md index 90a916143d..d8590b03cb 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/create-anonymous-session.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/create-anonymous-session.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new sdk.Account(client); diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/create-email-password-session.md b/docs/examples/1.6.x/server-nodejs/examples/account/create-email-password-session.md index 34aabddad7..6c940f5435 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/create-email-password-session.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/create-email-password-session.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new sdk.Account(client); diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/create-email-token.md b/docs/examples/1.6.x/server-nodejs/examples/account/create-email-token.md index 0f218a2bc0..b6be71d45c 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/create-email-token.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/create-email-token.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new sdk.Account(client); diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/create-j-w-t.md b/docs/examples/1.6.x/server-nodejs/examples/account/create-j-w-t.md index 673e1e077a..2273646635 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/create-j-w-t.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/create-j-w-t.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new sdk.Account(client); diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/create-magic-u-r-l-token.md b/docs/examples/1.6.x/server-nodejs/examples/account/create-magic-u-r-l-token.md index cb6ef36732..6dbdc3d9fb 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/create-magic-u-r-l-token.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new sdk.Account(client); diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/create-mfa-authenticator.md b/docs/examples/1.6.x/server-nodejs/examples/account/create-mfa-authenticator.md index 0305e02991..e52658b533 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/create-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/create-mfa-authenticator.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/create-mfa-challenge.md b/docs/examples/1.6.x/server-nodejs/examples/account/create-mfa-challenge.md index 301d83d040..79d5e89eed 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/create-mfa-challenge.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new sdk.Account(client); diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/create-mfa-recovery-codes.md b/docs/examples/1.6.x/server-nodejs/examples/account/create-mfa-recovery-codes.md index c653ae55b2..42b3c8c6f5 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/create-mfa-recovery-codes.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/create-o-auth2token.md b/docs/examples/1.6.x/server-nodejs/examples/account/create-o-auth2token.md index 7538a9d01a..adae095105 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/create-o-auth2token.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/create-o-auth2token.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new sdk.Account(client); diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/create-phone-token.md b/docs/examples/1.6.x/server-nodejs/examples/account/create-phone-token.md index 04d5bc08c2..aca0bd2d8a 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/create-phone-token.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/create-phone-token.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new sdk.Account(client); diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/create-phone-verification.md b/docs/examples/1.6.x/server-nodejs/examples/account/create-phone-verification.md index 15dcf8a15f..f7c87f0675 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/create-phone-verification.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/create-phone-verification.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/create-recovery.md b/docs/examples/1.6.x/server-nodejs/examples/account/create-recovery.md index ed83848e7e..660942affb 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/create-recovery.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/create-recovery.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/create-session.md b/docs/examples/1.6.x/server-nodejs/examples/account/create-session.md index 8b2751b1a5..8c6b910089 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/create-session.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/create-session.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new sdk.Account(client); diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/create-verification.md b/docs/examples/1.6.x/server-nodejs/examples/account/create-verification.md index 14456ef69f..1f1db27e8a 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/create-verification.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/create-verification.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/create.md b/docs/examples/1.6.x/server-nodejs/examples/account/create.md index 860e341a47..85e3d2fcca 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/create.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/create.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new sdk.Account(client); diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/delete-identity.md b/docs/examples/1.6.x/server-nodejs/examples/account/delete-identity.md index 071133465e..0424ab247e 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/delete-identity.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/delete-identity.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/delete-mfa-authenticator.md b/docs/examples/1.6.x/server-nodejs/examples/account/delete-mfa-authenticator.md index 1cf8154acd..5979c3a6d7 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/delete-mfa-authenticator.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/delete-session.md b/docs/examples/1.6.x/server-nodejs/examples/account/delete-session.md index d29810f267..4276ccad24 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/delete-session.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/delete-session.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/delete-sessions.md b/docs/examples/1.6.x/server-nodejs/examples/account/delete-sessions.md index 496bd4a5f6..884c0e0ebc 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/delete-sessions.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/delete-sessions.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.6.x/server-nodejs/examples/account/get-mfa-recovery-codes.md index 2bada1bafa..27f902424e 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/get-mfa-recovery-codes.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/get-prefs.md b/docs/examples/1.6.x/server-nodejs/examples/account/get-prefs.md index 9ed003c69a..d0d7d31aaf 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/get-prefs.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/get-prefs.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/get-session.md b/docs/examples/1.6.x/server-nodejs/examples/account/get-session.md index aeaaa14933..63b6f0893a 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/get-session.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/get-session.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/get.md b/docs/examples/1.6.x/server-nodejs/examples/account/get.md index b1fc61f1ee..6ebb605ae8 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/get.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/get.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/list-identities.md b/docs/examples/1.6.x/server-nodejs/examples/account/list-identities.md index 642034d796..c49894c8c0 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/list-identities.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/list-identities.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/list-logs.md b/docs/examples/1.6.x/server-nodejs/examples/account/list-logs.md index 08dcf812f4..4260a72e30 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/list-logs.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/list-logs.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/list-mfa-factors.md b/docs/examples/1.6.x/server-nodejs/examples/account/list-mfa-factors.md index e2c9683ee6..a993e31aa8 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/list-mfa-factors.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/list-mfa-factors.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/list-sessions.md b/docs/examples/1.6.x/server-nodejs/examples/account/list-sessions.md index a8b423f95d..33fb527415 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/list-sessions.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/list-sessions.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/update-email.md b/docs/examples/1.6.x/server-nodejs/examples/account/update-email.md index 4c0c6c23fb..6111f0e52a 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/update-email.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/update-email.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/update-m-f-a.md b/docs/examples/1.6.x/server-nodejs/examples/account/update-m-f-a.md index 30c36230ac..58629cda3b 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/update-m-f-a.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/update-m-f-a.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.6.x/server-nodejs/examples/account/update-magic-u-r-l-session.md index 56d2b02f04..3e059d88d9 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/update-magic-u-r-l-session.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new sdk.Account(client); diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/update-mfa-authenticator.md b/docs/examples/1.6.x/server-nodejs/examples/account/update-mfa-authenticator.md index c8f1773daf..7b24dc8712 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/update-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/update-mfa-authenticator.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/update-mfa-challenge.md b/docs/examples/1.6.x/server-nodejs/examples/account/update-mfa-challenge.md index bdb1a538af..4d30999129 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/update-mfa-challenge.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/update-mfa-recovery-codes.md b/docs/examples/1.6.x/server-nodejs/examples/account/update-mfa-recovery-codes.md index 16a3d3cca1..9db82175c9 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/update-mfa-recovery-codes.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/update-name.md b/docs/examples/1.6.x/server-nodejs/examples/account/update-name.md index df510029d3..f47d215288 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/update-name.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/update-name.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/update-password.md b/docs/examples/1.6.x/server-nodejs/examples/account/update-password.md index 76021bcb89..aa9d67aede 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/update-password.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/update-password.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/update-phone-session.md b/docs/examples/1.6.x/server-nodejs/examples/account/update-phone-session.md index 40fccba90e..c208714a37 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/update-phone-session.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/update-phone-session.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID const account = new sdk.Account(client); diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/update-phone-verification.md b/docs/examples/1.6.x/server-nodejs/examples/account/update-phone-verification.md index 93f35a8d3e..116d171c92 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/update-phone-verification.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/update-phone-verification.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/update-phone.md b/docs/examples/1.6.x/server-nodejs/examples/account/update-phone.md index 11982b7c81..c6c02fde9a 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/update-phone.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/update-phone.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/update-prefs.md b/docs/examples/1.6.x/server-nodejs/examples/account/update-prefs.md index 6f2700358d..ee8b042693 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/update-prefs.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/update-prefs.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/update-recovery.md b/docs/examples/1.6.x/server-nodejs/examples/account/update-recovery.md index 09bfc64d42..bd4a87c3a9 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/update-recovery.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/update-recovery.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/update-session.md b/docs/examples/1.6.x/server-nodejs/examples/account/update-session.md index 64ec68ebd9..be80c85750 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/update-session.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/update-session.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/update-status.md b/docs/examples/1.6.x/server-nodejs/examples/account/update-status.md index cf65e82865..1b70af5378 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/update-status.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/update-status.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/account/update-verification.md b/docs/examples/1.6.x/server-nodejs/examples/account/update-verification.md index cc3678ec21..0abb562a95 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/account/update-verification.md +++ b/docs/examples/1.6.x/server-nodejs/examples/account/update-verification.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/avatars/get-browser.md b/docs/examples/1.6.x/server-nodejs/examples/avatars/get-browser.md index ad6d0d4b68..3bcd70d0f2 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/avatars/get-browser.md +++ b/docs/examples/1.6.x/server-nodejs/examples/avatars/get-browser.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/avatars/get-credit-card.md b/docs/examples/1.6.x/server-nodejs/examples/avatars/get-credit-card.md index 5ffcc344b1..a60c2da86e 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/avatars/get-credit-card.md +++ b/docs/examples/1.6.x/server-nodejs/examples/avatars/get-credit-card.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/avatars/get-favicon.md b/docs/examples/1.6.x/server-nodejs/examples/avatars/get-favicon.md index 0980403543..6056354e9e 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/avatars/get-favicon.md +++ b/docs/examples/1.6.x/server-nodejs/examples/avatars/get-favicon.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/avatars/get-flag.md b/docs/examples/1.6.x/server-nodejs/examples/avatars/get-flag.md index 53b912f5a8..df0164d280 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/avatars/get-flag.md +++ b/docs/examples/1.6.x/server-nodejs/examples/avatars/get-flag.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/avatars/get-image.md b/docs/examples/1.6.x/server-nodejs/examples/avatars/get-image.md index 5a72fe3bcc..7dac2423ba 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/avatars/get-image.md +++ b/docs/examples/1.6.x/server-nodejs/examples/avatars/get-image.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/avatars/get-initials.md b/docs/examples/1.6.x/server-nodejs/examples/avatars/get-initials.md index b9d41fc27a..2cd45bfac8 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/avatars/get-initials.md +++ b/docs/examples/1.6.x/server-nodejs/examples/avatars/get-initials.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/avatars/get-q-r.md b/docs/examples/1.6.x/server-nodejs/examples/avatars/get-q-r.md index 0a2723561c..cfd649ea33 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/avatars/get-q-r.md +++ b/docs/examples/1.6.x/server-nodejs/examples/avatars/get-q-r.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/create-boolean-attribute.md b/docs/examples/1.6.x/server-nodejs/examples/databases/create-boolean-attribute.md index 7a04ed02fc..b6239698a5 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/create-boolean-attribute.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/create-collection.md b/docs/examples/1.6.x/server-nodejs/examples/databases/create-collection.md index 7119a4e500..fc5c798385 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/create-collection.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/create-collection.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/create-datetime-attribute.md b/docs/examples/1.6.x/server-nodejs/examples/databases/create-datetime-attribute.md index ba40de8b43..4c7328ce4b 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/create-datetime-attribute.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/create-document.md b/docs/examples/1.6.x/server-nodejs/examples/databases/create-document.md index 3e1c76945b..a2e77b9241 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/create-document.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/create-document.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/create-email-attribute.md b/docs/examples/1.6.x/server-nodejs/examples/databases/create-email-attribute.md index 6f2da81f39..47b27508cd 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/create-email-attribute.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/create-email-attribute.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/create-enum-attribute.md b/docs/examples/1.6.x/server-nodejs/examples/databases/create-enum-attribute.md index 9439f8f5df..61c1d77f2c 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/create-enum-attribute.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/create-float-attribute.md b/docs/examples/1.6.x/server-nodejs/examples/databases/create-float-attribute.md index 7ed6223922..3e605001e6 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/create-float-attribute.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/create-float-attribute.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/create-index.md b/docs/examples/1.6.x/server-nodejs/examples/databases/create-index.md index 73cdf3912e..bd616222a6 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/create-index.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/create-index.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/create-integer-attribute.md b/docs/examples/1.6.x/server-nodejs/examples/databases/create-integer-attribute.md index 479b9d8754..ce62624001 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/create-integer-attribute.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/create-ip-attribute.md b/docs/examples/1.6.x/server-nodejs/examples/databases/create-ip-attribute.md index c88087f944..e3bbffe227 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/create-ip-attribute.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/create-relationship-attribute.md b/docs/examples/1.6.x/server-nodejs/examples/databases/create-relationship-attribute.md index 7be4bae6a2..bb77bc00c3 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/create-relationship-attribute.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/create-string-attribute.md b/docs/examples/1.6.x/server-nodejs/examples/databases/create-string-attribute.md index 03905f4e86..94793e86db 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/create-string-attribute.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/create-string-attribute.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/create-url-attribute.md b/docs/examples/1.6.x/server-nodejs/examples/databases/create-url-attribute.md index 741249bb00..6b6b1daaa0 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/create-url-attribute.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/create-url-attribute.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/create.md b/docs/examples/1.6.x/server-nodejs/examples/databases/create.md index 792bbf1c90..c1fd4eca43 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/create.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/create.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/delete-attribute.md b/docs/examples/1.6.x/server-nodejs/examples/databases/delete-attribute.md index b8b2d47a65..8291fc095e 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/delete-attribute.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/delete-attribute.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/delete-collection.md b/docs/examples/1.6.x/server-nodejs/examples/databases/delete-collection.md index bb72b9eb84..9551c558fb 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/delete-collection.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/delete-collection.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/delete-document.md b/docs/examples/1.6.x/server-nodejs/examples/databases/delete-document.md index 05183b5e04..526f00eb3a 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/delete-document.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/delete-document.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/delete-index.md b/docs/examples/1.6.x/server-nodejs/examples/databases/delete-index.md index 0f50d7d2f6..90353ea44e 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/delete-index.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/delete-index.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/delete.md b/docs/examples/1.6.x/server-nodejs/examples/databases/delete.md index 79ca89ddba..65179d2b2a 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/delete.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/delete.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/get-attribute.md b/docs/examples/1.6.x/server-nodejs/examples/databases/get-attribute.md index 86dccff42b..8757265edb 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/get-attribute.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/get-attribute.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/get-collection.md b/docs/examples/1.6.x/server-nodejs/examples/databases/get-collection.md index f107c149c6..79c5674985 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/get-collection.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/get-collection.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/get-document.md b/docs/examples/1.6.x/server-nodejs/examples/databases/get-document.md index edd2cb210f..eee515bf36 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/get-document.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/get-document.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/get-index.md b/docs/examples/1.6.x/server-nodejs/examples/databases/get-index.md index 3c1039cd1e..a4b3a45eb8 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/get-index.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/get-index.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/get.md b/docs/examples/1.6.x/server-nodejs/examples/databases/get.md index ca5dd328e1..a8e8084673 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/get.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/get.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/list-attributes.md b/docs/examples/1.6.x/server-nodejs/examples/databases/list-attributes.md index fb0264f8a1..e7b48fb9f0 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/list-attributes.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/list-attributes.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/list-collections.md b/docs/examples/1.6.x/server-nodejs/examples/databases/list-collections.md index e5f725d1f8..bc31eadf9b 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/list-collections.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/list-collections.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/list-documents.md b/docs/examples/1.6.x/server-nodejs/examples/databases/list-documents.md index 346fba0abd..d2514850d8 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/list-documents.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/list-documents.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/list-indexes.md b/docs/examples/1.6.x/server-nodejs/examples/databases/list-indexes.md index 7acfc918ef..86c6c26ec6 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/list-indexes.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/list-indexes.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/list.md b/docs/examples/1.6.x/server-nodejs/examples/databases/list.md index f887719cbd..06fe6a8462 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/list.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/list.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/update-boolean-attribute.md b/docs/examples/1.6.x/server-nodejs/examples/databases/update-boolean-attribute.md index e6329b6674..d0d551c3fd 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/update-boolean-attribute.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/update-collection.md b/docs/examples/1.6.x/server-nodejs/examples/databases/update-collection.md index b9bbeb8c45..2618fc735e 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/update-collection.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/update-collection.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/update-datetime-attribute.md b/docs/examples/1.6.x/server-nodejs/examples/databases/update-datetime-attribute.md index ef69c7e4b5..d2378f93ca 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/update-datetime-attribute.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/update-document.md b/docs/examples/1.6.x/server-nodejs/examples/databases/update-document.md index 2e087ca7d0..96468037e7 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/update-document.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/update-document.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/update-email-attribute.md b/docs/examples/1.6.x/server-nodejs/examples/databases/update-email-attribute.md index 1fe9e572d4..8b7afbebb5 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/update-email-attribute.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/update-email-attribute.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/update-enum-attribute.md b/docs/examples/1.6.x/server-nodejs/examples/databases/update-enum-attribute.md index ec9e3bd2cb..f328132519 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/update-enum-attribute.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/update-float-attribute.md b/docs/examples/1.6.x/server-nodejs/examples/databases/update-float-attribute.md index 6833f876e7..abb93c28fa 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/update-float-attribute.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/update-float-attribute.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key @@ -12,8 +12,8 @@ const result = await databases.updateFloatAttribute( '<COLLECTION_ID>', // collectionId '', // key false, // required - null, // min - null, // max null, // default + null, // min (optional) + null, // max (optional) '' // newKey (optional) ); diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/update-integer-attribute.md b/docs/examples/1.6.x/server-nodejs/examples/databases/update-integer-attribute.md index d6d16f52a8..e126f31fd8 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/update-integer-attribute.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key @@ -12,8 +12,8 @@ const result = await databases.updateIntegerAttribute( '<COLLECTION_ID>', // collectionId '', // key false, // required - null, // min - null, // max null, // default + null, // min (optional) + null, // max (optional) '' // newKey (optional) ); diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/update-ip-attribute.md b/docs/examples/1.6.x/server-nodejs/examples/databases/update-ip-attribute.md index 019b4f2dbf..1c8ac79dd8 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/update-ip-attribute.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/update-relationship-attribute.md b/docs/examples/1.6.x/server-nodejs/examples/databases/update-relationship-attribute.md index 2668380b50..1a7a26cc92 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/update-relationship-attribute.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/update-string-attribute.md b/docs/examples/1.6.x/server-nodejs/examples/databases/update-string-attribute.md index 6aecbb591e..0e0656ef10 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/update-string-attribute.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/update-string-attribute.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/update-url-attribute.md b/docs/examples/1.6.x/server-nodejs/examples/databases/update-url-attribute.md index 36d1095399..4a2aca0fe9 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/update-url-attribute.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/update-url-attribute.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/databases/update.md b/docs/examples/1.6.x/server-nodejs/examples/databases/update.md index 4b24cdddf9..9c69bfd2ce 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/databases/update.md +++ b/docs/examples/1.6.x/server-nodejs/examples/databases/update.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/functions/create-build.md b/docs/examples/1.6.x/server-nodejs/examples/functions/create-build.md index c026a960c6..c9434c070c 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/functions/create-build.md +++ b/docs/examples/1.6.x/server-nodejs/examples/functions/create-build.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/functions/create-deployment.md b/docs/examples/1.6.x/server-nodejs/examples/functions/create-deployment.md index 1928e4c5a9..5ede954907 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/functions/create-deployment.md +++ b/docs/examples/1.6.x/server-nodejs/examples/functions/create-deployment.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const fs = require('fs'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/functions/create-execution.md b/docs/examples/1.6.x/server-nodejs/examples/functions/create-execution.md index 4eec409ef0..3c89030ca6 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/functions/create-execution.md +++ b/docs/examples/1.6.x/server-nodejs/examples/functions/create-execution.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/functions/create-variable.md b/docs/examples/1.6.x/server-nodejs/examples/functions/create-variable.md index 60a93666b8..7146591b71 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/functions/create-variable.md +++ b/docs/examples/1.6.x/server-nodejs/examples/functions/create-variable.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/functions/create.md b/docs/examples/1.6.x/server-nodejs/examples/functions/create.md index cb4464825c..90b4300e0a 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/functions/create.md +++ b/docs/examples/1.6.x/server-nodejs/examples/functions/create.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/functions/delete-deployment.md b/docs/examples/1.6.x/server-nodejs/examples/functions/delete-deployment.md index a9038bc6ea..f6768ec739 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/functions/delete-deployment.md +++ b/docs/examples/1.6.x/server-nodejs/examples/functions/delete-deployment.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/functions/delete-execution.md b/docs/examples/1.6.x/server-nodejs/examples/functions/delete-execution.md index 28b5e415b9..c3e77a6860 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/functions/delete-execution.md +++ b/docs/examples/1.6.x/server-nodejs/examples/functions/delete-execution.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/functions/delete-variable.md b/docs/examples/1.6.x/server-nodejs/examples/functions/delete-variable.md index f3cf0186d0..7840b1d562 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/functions/delete-variable.md +++ b/docs/examples/1.6.x/server-nodejs/examples/functions/delete-variable.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/functions/delete.md b/docs/examples/1.6.x/server-nodejs/examples/functions/delete.md index 43acc4b130..a2e0a23a2b 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/functions/delete.md +++ b/docs/examples/1.6.x/server-nodejs/examples/functions/delete.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/functions/get-deployment-download.md b/docs/examples/1.6.x/server-nodejs/examples/functions/get-deployment-download.md index a15215dd3a..cde26a43f6 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/functions/get-deployment-download.md +++ b/docs/examples/1.6.x/server-nodejs/examples/functions/get-deployment-download.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/functions/get-deployment.md b/docs/examples/1.6.x/server-nodejs/examples/functions/get-deployment.md index 1c10a92d4a..6a55534af4 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/functions/get-deployment.md +++ b/docs/examples/1.6.x/server-nodejs/examples/functions/get-deployment.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/functions/get-execution.md b/docs/examples/1.6.x/server-nodejs/examples/functions/get-execution.md index 7be4378c4e..b9fed55799 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/functions/get-execution.md +++ b/docs/examples/1.6.x/server-nodejs/examples/functions/get-execution.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/functions/get-variable.md b/docs/examples/1.6.x/server-nodejs/examples/functions/get-variable.md index 64150e0f55..3b6135f7dc 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/functions/get-variable.md +++ b/docs/examples/1.6.x/server-nodejs/examples/functions/get-variable.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/functions/get.md b/docs/examples/1.6.x/server-nodejs/examples/functions/get.md index 26807e7908..b88609252e 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/functions/get.md +++ b/docs/examples/1.6.x/server-nodejs/examples/functions/get.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/functions/list-deployments.md b/docs/examples/1.6.x/server-nodejs/examples/functions/list-deployments.md index 67c3c3c5ad..731d1c46cf 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/functions/list-deployments.md +++ b/docs/examples/1.6.x/server-nodejs/examples/functions/list-deployments.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/functions/list-executions.md b/docs/examples/1.6.x/server-nodejs/examples/functions/list-executions.md index 26aa02e16e..81e2379f76 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/functions/list-executions.md +++ b/docs/examples/1.6.x/server-nodejs/examples/functions/list-executions.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/functions/list-runtimes.md b/docs/examples/1.6.x/server-nodejs/examples/functions/list-runtimes.md index 729cce7c2b..a0f83b2273 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/functions/list-runtimes.md +++ b/docs/examples/1.6.x/server-nodejs/examples/functions/list-runtimes.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/functions/list-specifications.md b/docs/examples/1.6.x/server-nodejs/examples/functions/list-specifications.md index 4942bc3918..f918c44053 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/functions/list-specifications.md +++ b/docs/examples/1.6.x/server-nodejs/examples/functions/list-specifications.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/functions/list-variables.md b/docs/examples/1.6.x/server-nodejs/examples/functions/list-variables.md index f213d0ceef..4220918fa6 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/functions/list-variables.md +++ b/docs/examples/1.6.x/server-nodejs/examples/functions/list-variables.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/functions/list.md b/docs/examples/1.6.x/server-nodejs/examples/functions/list.md index ba7365f936..af5082c25e 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/functions/list.md +++ b/docs/examples/1.6.x/server-nodejs/examples/functions/list.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/functions/update-deployment-build.md b/docs/examples/1.6.x/server-nodejs/examples/functions/update-deployment-build.md index b492af8254..7b5594c0da 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/functions/update-deployment-build.md +++ b/docs/examples/1.6.x/server-nodejs/examples/functions/update-deployment-build.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/functions/update-deployment.md b/docs/examples/1.6.x/server-nodejs/examples/functions/update-deployment.md index 82543900df..e27bad4df5 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/functions/update-deployment.md +++ b/docs/examples/1.6.x/server-nodejs/examples/functions/update-deployment.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/functions/update-variable.md b/docs/examples/1.6.x/server-nodejs/examples/functions/update-variable.md index 657b0bd10e..e24ff88214 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/functions/update-variable.md +++ b/docs/examples/1.6.x/server-nodejs/examples/functions/update-variable.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/functions/update.md b/docs/examples/1.6.x/server-nodejs/examples/functions/update.md index b82dc35f36..b6de177cff 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/functions/update.md +++ b/docs/examples/1.6.x/server-nodejs/examples/functions/update.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/graphql/mutation.md b/docs/examples/1.6.x/server-nodejs/examples/graphql/mutation.md index 64b2393426..8031a5285a 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/graphql/mutation.md +++ b/docs/examples/1.6.x/server-nodejs/examples/graphql/mutation.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/graphql/query.md b/docs/examples/1.6.x/server-nodejs/examples/graphql/query.md index 24a6e56e67..15456754cb 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/graphql/query.md +++ b/docs/examples/1.6.x/server-nodejs/examples/graphql/query.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/health/get-antivirus.md b/docs/examples/1.6.x/server-nodejs/examples/health/get-antivirus.md index fc98ff937c..9efa2d803c 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/health/get-antivirus.md +++ b/docs/examples/1.6.x/server-nodejs/examples/health/get-antivirus.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/health/get-cache.md b/docs/examples/1.6.x/server-nodejs/examples/health/get-cache.md index 9289cad7e4..014340123d 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/health/get-cache.md +++ b/docs/examples/1.6.x/server-nodejs/examples/health/get-cache.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/health/get-certificate.md b/docs/examples/1.6.x/server-nodejs/examples/health/get-certificate.md index 637f30bd21..ec9129344c 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/health/get-certificate.md +++ b/docs/examples/1.6.x/server-nodejs/examples/health/get-certificate.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/health/get-d-b.md b/docs/examples/1.6.x/server-nodejs/examples/health/get-d-b.md index 6cca907ba3..0d86d08d1c 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/health/get-d-b.md +++ b/docs/examples/1.6.x/server-nodejs/examples/health/get-d-b.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/health/get-failed-jobs.md b/docs/examples/1.6.x/server-nodejs/examples/health/get-failed-jobs.md index 2ce2dfb6eb..d88b7f2bfd 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/health/get-failed-jobs.md +++ b/docs/examples/1.6.x/server-nodejs/examples/health/get-failed-jobs.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/health/get-pub-sub.md b/docs/examples/1.6.x/server-nodejs/examples/health/get-pub-sub.md index 36dc5ba39e..b5b97374d5 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/health/get-pub-sub.md +++ b/docs/examples/1.6.x/server-nodejs/examples/health/get-pub-sub.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-builds.md b/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-builds.md index ef09f92d92..929f9769fb 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-builds.md +++ b/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-builds.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-certificates.md b/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-certificates.md index 1095c39820..33e71ecac6 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-certificates.md +++ b/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-certificates.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-databases.md b/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-databases.md index fcd113aaa3..ca409c1ba5 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-databases.md +++ b/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-databases.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-deletes.md b/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-deletes.md index 6a6f5175d7..9f2d6f8cf5 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-deletes.md +++ b/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-deletes.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-functions.md b/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-functions.md index 05cd6e63dc..0392db1079 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-functions.md +++ b/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-functions.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-logs.md b/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-logs.md index e0a75b8de0..a71ff13397 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-logs.md +++ b/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-logs.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-mails.md b/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-mails.md index 253e9ba004..8c45c1a194 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-mails.md +++ b/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-mails.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-messaging.md b/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-messaging.md index 3db1f6f5ae..46160a0e88 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-messaging.md +++ b/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-messaging.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-migrations.md b/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-migrations.md index a203449537..5f8d262e30 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-migrations.md +++ b/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-migrations.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-stats-resources.md b/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-stats-resources.md new file mode 100644 index 0000000000..1b16e6d5b8 --- /dev/null +++ b/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-stats-resources.md @@ -0,0 +1,12 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('<YOUR_PROJECT_ID>') // Your project ID + .setKey('<YOUR_API_KEY>'); // Your secret API key + +const health = new sdk.Health(client); + +const result = await health.getQueueStatsResources( + null // threshold (optional) +); diff --git a/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-usage-dump.md b/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-usage-dump.md index 412015c678..b26b6c330b 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-usage-dump.md +++ b/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-usage-dump.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-usage.md b/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-usage.md index 919d0973e2..2a20620cd2 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-usage.md +++ b/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-usage.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-webhooks.md b/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-webhooks.md index 54b6ba4dd2..acc2098365 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.6.x/server-nodejs/examples/health/get-queue-webhooks.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/health/get-queue.md b/docs/examples/1.6.x/server-nodejs/examples/health/get-queue.md index b63d2f1afc..0cbda6383f 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/health/get-queue.md +++ b/docs/examples/1.6.x/server-nodejs/examples/health/get-queue.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/health/get-storage-local.md b/docs/examples/1.6.x/server-nodejs/examples/health/get-storage-local.md index d04610df9b..0ea8e0e27f 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/health/get-storage-local.md +++ b/docs/examples/1.6.x/server-nodejs/examples/health/get-storage-local.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/health/get-storage.md b/docs/examples/1.6.x/server-nodejs/examples/health/get-storage.md index cd6d494d84..d199800559 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/health/get-storage.md +++ b/docs/examples/1.6.x/server-nodejs/examples/health/get-storage.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/health/get-time.md b/docs/examples/1.6.x/server-nodejs/examples/health/get-time.md index 71caa3ff8a..cd4f42e33e 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/health/get-time.md +++ b/docs/examples/1.6.x/server-nodejs/examples/health/get-time.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/health/get.md b/docs/examples/1.6.x/server-nodejs/examples/health/get.md index d92cb944ac..e10c4e28f5 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/health/get.md +++ b/docs/examples/1.6.x/server-nodejs/examples/health/get.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/locale/get.md b/docs/examples/1.6.x/server-nodejs/examples/locale/get.md index eb7353d3a8..d57eb8f241 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/locale/get.md +++ b/docs/examples/1.6.x/server-nodejs/examples/locale/get.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/locale/list-codes.md b/docs/examples/1.6.x/server-nodejs/examples/locale/list-codes.md index c95a852238..280d14ae6e 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/locale/list-codes.md +++ b/docs/examples/1.6.x/server-nodejs/examples/locale/list-codes.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/locale/list-continents.md b/docs/examples/1.6.x/server-nodejs/examples/locale/list-continents.md index ffce38e71e..d04d6d6a47 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/locale/list-continents.md +++ b/docs/examples/1.6.x/server-nodejs/examples/locale/list-continents.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/locale/list-countries-e-u.md b/docs/examples/1.6.x/server-nodejs/examples/locale/list-countries-e-u.md index 3bd63b33a6..6e41074b61 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.6.x/server-nodejs/examples/locale/list-countries-e-u.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/locale/list-countries-phones.md b/docs/examples/1.6.x/server-nodejs/examples/locale/list-countries-phones.md index be39d0f87c..9621e9cbfc 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/locale/list-countries-phones.md +++ b/docs/examples/1.6.x/server-nodejs/examples/locale/list-countries-phones.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/locale/list-countries.md b/docs/examples/1.6.x/server-nodejs/examples/locale/list-countries.md index 5496a1f747..a81b1581f3 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/locale/list-countries.md +++ b/docs/examples/1.6.x/server-nodejs/examples/locale/list-countries.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/locale/list-currencies.md b/docs/examples/1.6.x/server-nodejs/examples/locale/list-currencies.md index ff67f9f78e..a585fd33ae 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/locale/list-currencies.md +++ b/docs/examples/1.6.x/server-nodejs/examples/locale/list-currencies.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/locale/list-languages.md b/docs/examples/1.6.x/server-nodejs/examples/locale/list-languages.md index d6753d3354..aea0fadf89 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/locale/list-languages.md +++ b/docs/examples/1.6.x/server-nodejs/examples/locale/list-languages.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/create-apns-provider.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/create-apns-provider.md index fedbc556e3..a28309023a 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/create-apns-provider.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/create-apns-provider.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/create-email.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/create-email.md index 35ac684b93..b4b1f6622a 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/create-email.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/create-email.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/create-fcm-provider.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/create-fcm-provider.md index 80ffa5839a..a8af6ba12c 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/create-fcm-provider.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/create-fcm-provider.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/create-mailgun-provider.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/create-mailgun-provider.md index 2b5f657182..ee49f64f7c 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/create-mailgun-provider.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/create-mailgun-provider.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/create-msg91provider.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/create-msg91provider.md index c8dcb38592..e7075dc3b8 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/create-msg91provider.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/create-msg91provider.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/create-push.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/create-push.md index bb98538748..bd89f761fb 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/create-push.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/create-push.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/create-sendgrid-provider.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/create-sendgrid-provider.md index 65d4f4026a..8cde02e80c 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/create-sendgrid-provider.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/create-sendgrid-provider.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/create-sms.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/create-sms.md index 75dce904f2..226f47c8d4 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/create-sms.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/create-sms.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/create-smtp-provider.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/create-smtp-provider.md index 9c69f27671..50a8d202c5 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/create-smtp-provider.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/create-smtp-provider.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/create-subscriber.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/create-subscriber.md index e5d2a9774c..9874d072b8 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/create-subscriber.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/create-subscriber.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setJWT('<YOUR_JWT>'); // Your secret JSON Web Token diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/create-telesign-provider.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/create-telesign-provider.md index 544be15a2c..b877172163 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/create-telesign-provider.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/create-telesign-provider.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/create-textmagic-provider.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/create-textmagic-provider.md index ef41b803af..b40d5ee4e7 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/create-textmagic-provider.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/create-textmagic-provider.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/create-topic.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/create-topic.md index 22fe4121ce..35c93eadca 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/create-topic.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/create-topic.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/create-twilio-provider.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/create-twilio-provider.md index 908f09ed1d..4dcb9a841d 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/create-twilio-provider.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/create-twilio-provider.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/create-vonage-provider.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/create-vonage-provider.md index 78270b7f84..493cd2b660 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/create-vonage-provider.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/create-vonage-provider.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/delete-provider.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/delete-provider.md index fd664515fe..23b474f787 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/delete-provider.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/delete-provider.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/delete-subscriber.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/delete-subscriber.md index aec3a7ed5d..1f5e21af93 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/delete-subscriber.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/delete-subscriber.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setJWT('<YOUR_JWT>'); // Your secret JSON Web Token diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/delete-topic.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/delete-topic.md index 7b4a360e8c..af39f73491 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/delete-topic.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/delete-topic.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/delete.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/delete.md index d4f8bfcc6d..fd49104a49 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/delete.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/delete.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/get-message.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/get-message.md index 7b46622685..f83ab51c23 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/get-message.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/get-message.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/get-provider.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/get-provider.md index 796bcbc768..2f52698bfc 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/get-provider.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/get-provider.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/get-subscriber.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/get-subscriber.md index 3930e54bcb..5132f1772a 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/get-subscriber.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/get-subscriber.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/get-topic.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/get-topic.md index 68fda14e94..98e38383d4 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/get-topic.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/get-topic.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/list-message-logs.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/list-message-logs.md index 01b941b652..56e1288af7 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/list-message-logs.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/list-message-logs.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/list-messages.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/list-messages.md index 4c0ee7a307..db0785ece8 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/list-messages.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/list-messages.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/list-provider-logs.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/list-provider-logs.md index 625fedb2b9..6cb2a01df4 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/list-provider-logs.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/list-provider-logs.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/list-providers.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/list-providers.md index 4d3a63b93e..aefb41d15a 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/list-providers.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/list-providers.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/list-subscriber-logs.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/list-subscriber-logs.md index 61077f299d..8d46a08578 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/list-subscriber-logs.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/list-subscriber-logs.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/list-subscribers.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/list-subscribers.md index 85b91ca5fa..167b48e978 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/list-subscribers.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/list-subscribers.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/list-targets.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/list-targets.md index cafdf9bab1..971285d87c 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/list-targets.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/list-targets.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/list-topic-logs.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/list-topic-logs.md index fe0a09487e..39e82954d1 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/list-topic-logs.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/list-topic-logs.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/list-topics.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/list-topics.md index 5d0419a7a5..6fd94bba42 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/list-topics.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/list-topics.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/update-apns-provider.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/update-apns-provider.md index 23d806e013..e782b8c3f7 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/update-apns-provider.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/update-apns-provider.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/update-email.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/update-email.md index a6798eeb6c..2ea2941efd 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/update-email.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/update-email.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/update-fcm-provider.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/update-fcm-provider.md index 3d343993aa..9184f283d0 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/update-fcm-provider.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/update-fcm-provider.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/update-mailgun-provider.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/update-mailgun-provider.md index 5bcc4d1ae4..a1ac18fd60 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/update-mailgun-provider.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/update-mailgun-provider.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/update-msg91provider.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/update-msg91provider.md index 02f091f3d7..c66b91f8c0 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/update-msg91provider.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/update-msg91provider.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/update-push.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/update-push.md index 700c3a99de..db52bee373 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/update-push.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/update-push.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/update-sendgrid-provider.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/update-sendgrid-provider.md index 22a5fe5964..8420a2fac2 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/update-sendgrid-provider.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/update-sendgrid-provider.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/update-sms.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/update-sms.md index 03c266be58..98ee6feb23 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/update-sms.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/update-sms.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/update-smtp-provider.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/update-smtp-provider.md index 35b744347b..0bbe4cd2cb 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/update-smtp-provider.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/update-smtp-provider.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/update-telesign-provider.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/update-telesign-provider.md index dd668f82c5..2f23a3b11f 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/update-telesign-provider.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/update-telesign-provider.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/update-textmagic-provider.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/update-textmagic-provider.md index d90c95d845..6fb6c82e8f 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/update-textmagic-provider.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/update-textmagic-provider.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/update-topic.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/update-topic.md index 08690a195e..6330970077 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/update-topic.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/update-topic.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/update-twilio-provider.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/update-twilio-provider.md index c6d2b8c077..e4667f56ae 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/update-twilio-provider.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/update-twilio-provider.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/messaging/update-vonage-provider.md b/docs/examples/1.6.x/server-nodejs/examples/messaging/update-vonage-provider.md index ba9f102950..b95398b4ea 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/messaging/update-vonage-provider.md +++ b/docs/examples/1.6.x/server-nodejs/examples/messaging/update-vonage-provider.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/storage/create-bucket.md b/docs/examples/1.6.x/server-nodejs/examples/storage/create-bucket.md index 91a5126e90..fc318f169d 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/storage/create-bucket.md +++ b/docs/examples/1.6.x/server-nodejs/examples/storage/create-bucket.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/storage/create-file.md b/docs/examples/1.6.x/server-nodejs/examples/storage/create-file.md index 067307cc5d..b84d9ac653 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/storage/create-file.md +++ b/docs/examples/1.6.x/server-nodejs/examples/storage/create-file.md @@ -2,7 +2,7 @@ const sdk = require('node-appwrite'); const fs = require('fs'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/storage/delete-bucket.md b/docs/examples/1.6.x/server-nodejs/examples/storage/delete-bucket.md index 606ffba719..c2067efda2 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/storage/delete-bucket.md +++ b/docs/examples/1.6.x/server-nodejs/examples/storage/delete-bucket.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/storage/delete-file.md b/docs/examples/1.6.x/server-nodejs/examples/storage/delete-file.md index c5b9df9296..4d2e7128cd 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/storage/delete-file.md +++ b/docs/examples/1.6.x/server-nodejs/examples/storage/delete-file.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/storage/get-bucket.md b/docs/examples/1.6.x/server-nodejs/examples/storage/get-bucket.md index 711753d409..c8a0b1c55d 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/storage/get-bucket.md +++ b/docs/examples/1.6.x/server-nodejs/examples/storage/get-bucket.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/storage/get-file-download.md b/docs/examples/1.6.x/server-nodejs/examples/storage/get-file-download.md index cbd4c1615c..051f51c842 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/storage/get-file-download.md +++ b/docs/examples/1.6.x/server-nodejs/examples/storage/get-file-download.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/storage/get-file-preview.md b/docs/examples/1.6.x/server-nodejs/examples/storage/get-file-preview.md index be7b974be8..45da053c50 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/storage/get-file-preview.md +++ b/docs/examples/1.6.x/server-nodejs/examples/storage/get-file-preview.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/storage/get-file-view.md b/docs/examples/1.6.x/server-nodejs/examples/storage/get-file-view.md index f5722d06cd..fd06b3088b 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/storage/get-file-view.md +++ b/docs/examples/1.6.x/server-nodejs/examples/storage/get-file-view.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/storage/get-file.md b/docs/examples/1.6.x/server-nodejs/examples/storage/get-file.md index 61b14e6bba..1a6b500013 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/storage/get-file.md +++ b/docs/examples/1.6.x/server-nodejs/examples/storage/get-file.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/storage/list-buckets.md b/docs/examples/1.6.x/server-nodejs/examples/storage/list-buckets.md index ce012c450e..3c4d4b14f7 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/storage/list-buckets.md +++ b/docs/examples/1.6.x/server-nodejs/examples/storage/list-buckets.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/storage/list-files.md b/docs/examples/1.6.x/server-nodejs/examples/storage/list-files.md index a9dbaa8f80..fb595efc05 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/storage/list-files.md +++ b/docs/examples/1.6.x/server-nodejs/examples/storage/list-files.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/storage/update-bucket.md b/docs/examples/1.6.x/server-nodejs/examples/storage/update-bucket.md index 31e131675f..24e4872d8d 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/storage/update-bucket.md +++ b/docs/examples/1.6.x/server-nodejs/examples/storage/update-bucket.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/storage/update-file.md b/docs/examples/1.6.x/server-nodejs/examples/storage/update-file.md index c60b2e4a8b..7eed687cf5 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/storage/update-file.md +++ b/docs/examples/1.6.x/server-nodejs/examples/storage/update-file.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/teams/create-membership.md b/docs/examples/1.6.x/server-nodejs/examples/teams/create-membership.md index 4606624157..7994423be0 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/teams/create-membership.md +++ b/docs/examples/1.6.x/server-nodejs/examples/teams/create-membership.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/teams/create.md b/docs/examples/1.6.x/server-nodejs/examples/teams/create.md index cecf4f6024..94de494bf0 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/teams/create.md +++ b/docs/examples/1.6.x/server-nodejs/examples/teams/create.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/teams/delete-membership.md b/docs/examples/1.6.x/server-nodejs/examples/teams/delete-membership.md index 933cd7ccf8..5264af7f13 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/teams/delete-membership.md +++ b/docs/examples/1.6.x/server-nodejs/examples/teams/delete-membership.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/teams/delete.md b/docs/examples/1.6.x/server-nodejs/examples/teams/delete.md index 50963b3e1d..151bfb3f70 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/teams/delete.md +++ b/docs/examples/1.6.x/server-nodejs/examples/teams/delete.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/teams/get-membership.md b/docs/examples/1.6.x/server-nodejs/examples/teams/get-membership.md index b638adeb12..a8e9fc7311 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/teams/get-membership.md +++ b/docs/examples/1.6.x/server-nodejs/examples/teams/get-membership.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/teams/get-prefs.md b/docs/examples/1.6.x/server-nodejs/examples/teams/get-prefs.md index 68f19a4117..18afdaa67b 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/teams/get-prefs.md +++ b/docs/examples/1.6.x/server-nodejs/examples/teams/get-prefs.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/teams/get.md b/docs/examples/1.6.x/server-nodejs/examples/teams/get.md index 38ee6e4c41..8afc800aa9 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/teams/get.md +++ b/docs/examples/1.6.x/server-nodejs/examples/teams/get.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/teams/list-memberships.md b/docs/examples/1.6.x/server-nodejs/examples/teams/list-memberships.md index c66ec7d601..4fead97b8f 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/teams/list-memberships.md +++ b/docs/examples/1.6.x/server-nodejs/examples/teams/list-memberships.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/teams/list.md b/docs/examples/1.6.x/server-nodejs/examples/teams/list.md index d50527bf12..17fe585224 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/teams/list.md +++ b/docs/examples/1.6.x/server-nodejs/examples/teams/list.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/teams/update-membership-status.md b/docs/examples/1.6.x/server-nodejs/examples/teams/update-membership-status.md index 80660e94f9..74fd9580fe 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/teams/update-membership-status.md +++ b/docs/examples/1.6.x/server-nodejs/examples/teams/update-membership-status.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/teams/update-membership.md b/docs/examples/1.6.x/server-nodejs/examples/teams/update-membership.md index 068cc55bca..649630ded9 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/teams/update-membership.md +++ b/docs/examples/1.6.x/server-nodejs/examples/teams/update-membership.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/teams/update-name.md b/docs/examples/1.6.x/server-nodejs/examples/teams/update-name.md index 217412020f..571f7ce399 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/teams/update-name.md +++ b/docs/examples/1.6.x/server-nodejs/examples/teams/update-name.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/teams/update-prefs.md b/docs/examples/1.6.x/server-nodejs/examples/teams/update-prefs.md index 9d6a6f5f87..b054694df5 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/teams/update-prefs.md +++ b/docs/examples/1.6.x/server-nodejs/examples/teams/update-prefs.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/create-argon2user.md b/docs/examples/1.6.x/server-nodejs/examples/users/create-argon2user.md index e96a797d05..dce3646a48 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/create-argon2user.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/create-argon2user.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/create-bcrypt-user.md b/docs/examples/1.6.x/server-nodejs/examples/users/create-bcrypt-user.md index be14d217a0..d010676d29 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/create-bcrypt-user.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/create-j-w-t.md b/docs/examples/1.6.x/server-nodejs/examples/users/create-j-w-t.md index e615b1ee5b..a2c9b59056 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/create-j-w-t.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/create-j-w-t.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/create-m-d5user.md b/docs/examples/1.6.x/server-nodejs/examples/users/create-m-d5user.md index 77a7d70885..954374c37d 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/create-m-d5user.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/create-m-d5user.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/create-mfa-recovery-codes.md b/docs/examples/1.6.x/server-nodejs/examples/users/create-mfa-recovery-codes.md index 42945293c1..8b2ed93b23 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/create-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/create-mfa-recovery-codes.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/create-p-h-pass-user.md b/docs/examples/1.6.x/server-nodejs/examples/users/create-p-h-pass-user.md index a5784d7ded..eca31fe659 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/create-p-h-pass-user.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/create-s-h-a-user.md b/docs/examples/1.6.x/server-nodejs/examples/users/create-s-h-a-user.md index a72e373040..e7d8588fca 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/create-s-h-a-user.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/create-scrypt-modified-user.md b/docs/examples/1.6.x/server-nodejs/examples/users/create-scrypt-modified-user.md index b27fe318aa..831107b569 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/create-scrypt-modified-user.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/create-scrypt-user.md b/docs/examples/1.6.x/server-nodejs/examples/users/create-scrypt-user.md index 60b61be49f..2c2da7e055 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/create-scrypt-user.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/create-scrypt-user.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/create-session.md b/docs/examples/1.6.x/server-nodejs/examples/users/create-session.md index 2672905ef7..9d8cc03ba0 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/create-session.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/create-session.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/create-target.md b/docs/examples/1.6.x/server-nodejs/examples/users/create-target.md index 099b00379b..7b9e6b0347 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/create-target.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/create-target.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/create-token.md b/docs/examples/1.6.x/server-nodejs/examples/users/create-token.md index a399313104..de7d866e8c 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/create-token.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/create-token.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/create.md b/docs/examples/1.6.x/server-nodejs/examples/users/create.md index e8fb4cd927..025c15ada1 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/create.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/create.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/delete-identity.md b/docs/examples/1.6.x/server-nodejs/examples/users/delete-identity.md index 46f5203da1..4c92f27d25 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/delete-identity.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/delete-identity.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/delete-mfa-authenticator.md b/docs/examples/1.6.x/server-nodejs/examples/users/delete-mfa-authenticator.md index 1f00e963ea..456242e22d 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/delete-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/delete-mfa-authenticator.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/delete-session.md b/docs/examples/1.6.x/server-nodejs/examples/users/delete-session.md index 168f4948bc..3f08370f3b 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/delete-session.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/delete-session.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/delete-sessions.md b/docs/examples/1.6.x/server-nodejs/examples/users/delete-sessions.md index 4c320fc4a7..48714a0db1 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/delete-sessions.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/delete-sessions.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/delete-target.md b/docs/examples/1.6.x/server-nodejs/examples/users/delete-target.md index 6505a8bb49..ba7e6afd9c 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/delete-target.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/delete-target.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/delete.md b/docs/examples/1.6.x/server-nodejs/examples/users/delete.md index 4d6c9963e7..8fdd9e90b8 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/delete.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/delete.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/get-mfa-recovery-codes.md b/docs/examples/1.6.x/server-nodejs/examples/users/get-mfa-recovery-codes.md index 3e97065fa1..233c3375ec 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/get-mfa-recovery-codes.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/get-prefs.md b/docs/examples/1.6.x/server-nodejs/examples/users/get-prefs.md index fda205b04d..61933872e4 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/get-prefs.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/get-prefs.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/get-target.md b/docs/examples/1.6.x/server-nodejs/examples/users/get-target.md index 1d93a1b162..00dc1f118b 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/get-target.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/get-target.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/get.md b/docs/examples/1.6.x/server-nodejs/examples/users/get.md index 9d36157325..640aa6315c 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/get.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/get.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/list-identities.md b/docs/examples/1.6.x/server-nodejs/examples/users/list-identities.md index 0ba1345397..819b1688ef 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/list-identities.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/list-identities.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/list-logs.md b/docs/examples/1.6.x/server-nodejs/examples/users/list-logs.md index 5636e021b9..c1155d55e2 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/list-logs.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/list-logs.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/list-memberships.md b/docs/examples/1.6.x/server-nodejs/examples/users/list-memberships.md index bc4ce5e8b7..080688a9f6 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/list-memberships.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/list-memberships.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/list-mfa-factors.md b/docs/examples/1.6.x/server-nodejs/examples/users/list-mfa-factors.md index 6396a694e5..8bffa28834 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/list-mfa-factors.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/list-mfa-factors.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/list-sessions.md b/docs/examples/1.6.x/server-nodejs/examples/users/list-sessions.md index de4aa3d424..51ba0814c4 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/list-sessions.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/list-sessions.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/list-targets.md b/docs/examples/1.6.x/server-nodejs/examples/users/list-targets.md index 2d2a6d26c4..d991dcca73 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/list-targets.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/list-targets.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/list.md b/docs/examples/1.6.x/server-nodejs/examples/users/list.md index 664d32c625..2bf765bea2 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/list.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/list.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/update-email-verification.md b/docs/examples/1.6.x/server-nodejs/examples/users/update-email-verification.md index 560ca3e870..9dac2d0e54 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/update-email-verification.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/update-email-verification.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/update-email.md b/docs/examples/1.6.x/server-nodejs/examples/users/update-email.md index eef17615ee..0a8b1aa7af 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/update-email.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/update-email.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/update-labels.md b/docs/examples/1.6.x/server-nodejs/examples/users/update-labels.md index ec27094275..db9e8778ad 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/update-labels.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/update-labels.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/update-mfa-recovery-codes.md b/docs/examples/1.6.x/server-nodejs/examples/users/update-mfa-recovery-codes.md index 56ef9b2022..9d47085370 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/update-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/update-mfa-recovery-codes.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/update-mfa.md b/docs/examples/1.6.x/server-nodejs/examples/users/update-mfa.md index 7c7944429a..b4acc79938 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/update-mfa.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/update-mfa.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/update-name.md b/docs/examples/1.6.x/server-nodejs/examples/users/update-name.md index 5478a78bb0..581e57b755 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/update-name.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/update-name.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/update-password.md b/docs/examples/1.6.x/server-nodejs/examples/users/update-password.md index 856e3a8576..f4af49d67e 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/update-password.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/update-password.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/update-phone-verification.md b/docs/examples/1.6.x/server-nodejs/examples/users/update-phone-verification.md index 654e7833d0..ecbe7591df 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/update-phone-verification.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/update-phone-verification.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/update-phone.md b/docs/examples/1.6.x/server-nodejs/examples/users/update-phone.md index 8cc4af0513..45e5a6582a 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/update-phone.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/update-phone.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/update-prefs.md b/docs/examples/1.6.x/server-nodejs/examples/users/update-prefs.md index f80dae1178..bb7eff8d6b 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/update-prefs.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/update-prefs.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/update-status.md b/docs/examples/1.6.x/server-nodejs/examples/users/update-status.md index 04a18a2636..57f64ce942 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/update-status.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/update-status.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-nodejs/examples/users/update-target.md b/docs/examples/1.6.x/server-nodejs/examples/users/update-target.md index 3322867dba..c6e4d9a1b0 100644 --- a/docs/examples/1.6.x/server-nodejs/examples/users/update-target.md +++ b/docs/examples/1.6.x/server-nodejs/examples/users/update-target.md @@ -1,7 +1,7 @@ const sdk = require('node-appwrite'); const client = new sdk.Client() - .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/account/create-anonymous-session.md b/docs/examples/1.6.x/server-php/examples/account/create-anonymous-session.md index 4cf953855c..b3e811e18d 100644 --- a/docs/examples/1.6.x/server-php/examples/account/create-anonymous-session.md +++ b/docs/examples/1.6.x/server-php/examples/account/create-anonymous-session.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>'); // Your project ID $account = new Account($client); diff --git a/docs/examples/1.6.x/server-php/examples/account/create-email-password-session.md b/docs/examples/1.6.x/server-php/examples/account/create-email-password-session.md index b0e4d75c90..827b1292c5 100644 --- a/docs/examples/1.6.x/server-php/examples/account/create-email-password-session.md +++ b/docs/examples/1.6.x/server-php/examples/account/create-email-password-session.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>'); // Your project ID $account = new Account($client); diff --git a/docs/examples/1.6.x/server-php/examples/account/create-email-token.md b/docs/examples/1.6.x/server-php/examples/account/create-email-token.md index afa9bc9094..b2c553291b 100644 --- a/docs/examples/1.6.x/server-php/examples/account/create-email-token.md +++ b/docs/examples/1.6.x/server-php/examples/account/create-email-token.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>'); // Your project ID $account = new Account($client); diff --git a/docs/examples/1.6.x/server-php/examples/account/create-j-w-t.md b/docs/examples/1.6.x/server-php/examples/account/create-j-w-t.md index 2658a66f2e..3dc486502d 100644 --- a/docs/examples/1.6.x/server-php/examples/account/create-j-w-t.md +++ b/docs/examples/1.6.x/server-php/examples/account/create-j-w-t.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>'); // Your project ID $account = new Account($client); diff --git a/docs/examples/1.6.x/server-php/examples/account/create-magic-u-r-l-token.md b/docs/examples/1.6.x/server-php/examples/account/create-magic-u-r-l-token.md index 1ac0087c57..639b199756 100644 --- a/docs/examples/1.6.x/server-php/examples/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.6.x/server-php/examples/account/create-magic-u-r-l-token.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>'); // Your project ID $account = new Account($client); diff --git a/docs/examples/1.6.x/server-php/examples/account/create-mfa-authenticator.md b/docs/examples/1.6.x/server-php/examples/account/create-mfa-authenticator.md index 7833852043..da3b4634e0 100644 --- a/docs/examples/1.6.x/server-php/examples/account/create-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-php/examples/account/create-mfa-authenticator.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; use Appwrite\Enums\AuthenticatorType; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/account/create-mfa-challenge.md b/docs/examples/1.6.x/server-php/examples/account/create-mfa-challenge.md index a58d674d30..faa679fdf1 100644 --- a/docs/examples/1.6.x/server-php/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.6.x/server-php/examples/account/create-mfa-challenge.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; use Appwrite\Enums\AuthenticationFactor; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>'); // Your project ID $account = new Account($client); diff --git a/docs/examples/1.6.x/server-php/examples/account/create-mfa-recovery-codes.md b/docs/examples/1.6.x/server-php/examples/account/create-mfa-recovery-codes.md index d82a97ab0a..223c95be97 100644 --- a/docs/examples/1.6.x/server-php/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-php/examples/account/create-mfa-recovery-codes.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/account/create-o-auth2token.md b/docs/examples/1.6.x/server-php/examples/account/create-o-auth2token.md index 21b9ef1313..1f91db79fd 100644 --- a/docs/examples/1.6.x/server-php/examples/account/create-o-auth2token.md +++ b/docs/examples/1.6.x/server-php/examples/account/create-o-auth2token.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; use Appwrite\Enums\OAuthProvider; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>'); // Your project ID $account = new Account($client); diff --git a/docs/examples/1.6.x/server-php/examples/account/create-phone-token.md b/docs/examples/1.6.x/server-php/examples/account/create-phone-token.md index 72462ff175..93c185479e 100644 --- a/docs/examples/1.6.x/server-php/examples/account/create-phone-token.md +++ b/docs/examples/1.6.x/server-php/examples/account/create-phone-token.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>'); // Your project ID $account = new Account($client); diff --git a/docs/examples/1.6.x/server-php/examples/account/create-phone-verification.md b/docs/examples/1.6.x/server-php/examples/account/create-phone-verification.md index cb81da53af..a152667313 100644 --- a/docs/examples/1.6.x/server-php/examples/account/create-phone-verification.md +++ b/docs/examples/1.6.x/server-php/examples/account/create-phone-verification.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/account/create-recovery.md b/docs/examples/1.6.x/server-php/examples/account/create-recovery.md index a924379cd4..c15e41d545 100644 --- a/docs/examples/1.6.x/server-php/examples/account/create-recovery.md +++ b/docs/examples/1.6.x/server-php/examples/account/create-recovery.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/account/create-session.md b/docs/examples/1.6.x/server-php/examples/account/create-session.md index aa089ae586..2ff630a2c2 100644 --- a/docs/examples/1.6.x/server-php/examples/account/create-session.md +++ b/docs/examples/1.6.x/server-php/examples/account/create-session.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>'); // Your project ID $account = new Account($client); diff --git a/docs/examples/1.6.x/server-php/examples/account/create-verification.md b/docs/examples/1.6.x/server-php/examples/account/create-verification.md index 99929f1a2a..4628175fab 100644 --- a/docs/examples/1.6.x/server-php/examples/account/create-verification.md +++ b/docs/examples/1.6.x/server-php/examples/account/create-verification.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/account/create.md b/docs/examples/1.6.x/server-php/examples/account/create.md index 2b25cde457..f92155b6ab 100644 --- a/docs/examples/1.6.x/server-php/examples/account/create.md +++ b/docs/examples/1.6.x/server-php/examples/account/create.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>'); // Your project ID $account = new Account($client); diff --git a/docs/examples/1.6.x/server-php/examples/account/delete-identity.md b/docs/examples/1.6.x/server-php/examples/account/delete-identity.md index 31e5f42946..fd66d3ae24 100644 --- a/docs/examples/1.6.x/server-php/examples/account/delete-identity.md +++ b/docs/examples/1.6.x/server-php/examples/account/delete-identity.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/account/delete-mfa-authenticator.md b/docs/examples/1.6.x/server-php/examples/account/delete-mfa-authenticator.md index 5367409d4a..42806f8358 100644 --- a/docs/examples/1.6.x/server-php/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-php/examples/account/delete-mfa-authenticator.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; use Appwrite\Enums\AuthenticatorType; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/account/delete-session.md b/docs/examples/1.6.x/server-php/examples/account/delete-session.md index d44aca87fa..9233ae14e8 100644 --- a/docs/examples/1.6.x/server-php/examples/account/delete-session.md +++ b/docs/examples/1.6.x/server-php/examples/account/delete-session.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/account/delete-sessions.md b/docs/examples/1.6.x/server-php/examples/account/delete-sessions.md index bf9e5c1fdc..557fd6d3aa 100644 --- a/docs/examples/1.6.x/server-php/examples/account/delete-sessions.md +++ b/docs/examples/1.6.x/server-php/examples/account/delete-sessions.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.6.x/server-php/examples/account/get-mfa-recovery-codes.md index 43c3f06b37..bafd6d8520 100644 --- a/docs/examples/1.6.x/server-php/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-php/examples/account/get-mfa-recovery-codes.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/account/get-prefs.md b/docs/examples/1.6.x/server-php/examples/account/get-prefs.md index 808699ab44..c7077affe0 100644 --- a/docs/examples/1.6.x/server-php/examples/account/get-prefs.md +++ b/docs/examples/1.6.x/server-php/examples/account/get-prefs.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/account/get-session.md b/docs/examples/1.6.x/server-php/examples/account/get-session.md index dfd1c23339..be2671348e 100644 --- a/docs/examples/1.6.x/server-php/examples/account/get-session.md +++ b/docs/examples/1.6.x/server-php/examples/account/get-session.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/account/get.md b/docs/examples/1.6.x/server-php/examples/account/get.md index 427632d2d0..30cb7b2af5 100644 --- a/docs/examples/1.6.x/server-php/examples/account/get.md +++ b/docs/examples/1.6.x/server-php/examples/account/get.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/account/list-identities.md b/docs/examples/1.6.x/server-php/examples/account/list-identities.md index d928921277..a7d0a85c66 100644 --- a/docs/examples/1.6.x/server-php/examples/account/list-identities.md +++ b/docs/examples/1.6.x/server-php/examples/account/list-identities.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/account/list-logs.md b/docs/examples/1.6.x/server-php/examples/account/list-logs.md index 72199a2d95..cc7a173d2e 100644 --- a/docs/examples/1.6.x/server-php/examples/account/list-logs.md +++ b/docs/examples/1.6.x/server-php/examples/account/list-logs.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/account/list-mfa-factors.md b/docs/examples/1.6.x/server-php/examples/account/list-mfa-factors.md index d670b97c8a..6756573cdb 100644 --- a/docs/examples/1.6.x/server-php/examples/account/list-mfa-factors.md +++ b/docs/examples/1.6.x/server-php/examples/account/list-mfa-factors.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/account/list-sessions.md b/docs/examples/1.6.x/server-php/examples/account/list-sessions.md index bbc1b788ab..7f9749f7be 100644 --- a/docs/examples/1.6.x/server-php/examples/account/list-sessions.md +++ b/docs/examples/1.6.x/server-php/examples/account/list-sessions.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/account/update-email.md b/docs/examples/1.6.x/server-php/examples/account/update-email.md index c5fd462047..c7c0d485ea 100644 --- a/docs/examples/1.6.x/server-php/examples/account/update-email.md +++ b/docs/examples/1.6.x/server-php/examples/account/update-email.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/account/update-m-f-a.md b/docs/examples/1.6.x/server-php/examples/account/update-m-f-a.md index 9489b96a15..a1978e63ac 100644 --- a/docs/examples/1.6.x/server-php/examples/account/update-m-f-a.md +++ b/docs/examples/1.6.x/server-php/examples/account/update-m-f-a.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.6.x/server-php/examples/account/update-magic-u-r-l-session.md index e80adf9a86..fc42cbe6d1 100644 --- a/docs/examples/1.6.x/server-php/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.6.x/server-php/examples/account/update-magic-u-r-l-session.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>'); // Your project ID $account = new Account($client); diff --git a/docs/examples/1.6.x/server-php/examples/account/update-mfa-authenticator.md b/docs/examples/1.6.x/server-php/examples/account/update-mfa-authenticator.md index d3c36a3a9f..6a09d95a10 100644 --- a/docs/examples/1.6.x/server-php/examples/account/update-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-php/examples/account/update-mfa-authenticator.md @@ -5,7 +5,7 @@ use Appwrite\Services\Account; use Appwrite\Enums\AuthenticatorType; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/account/update-mfa-challenge.md b/docs/examples/1.6.x/server-php/examples/account/update-mfa-challenge.md index dcc5dcdf51..03ace31144 100644 --- a/docs/examples/1.6.x/server-php/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.6.x/server-php/examples/account/update-mfa-challenge.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/account/update-mfa-recovery-codes.md b/docs/examples/1.6.x/server-php/examples/account/update-mfa-recovery-codes.md index cf6204a300..c7ec6cb2b2 100644 --- a/docs/examples/1.6.x/server-php/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-php/examples/account/update-mfa-recovery-codes.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/account/update-name.md b/docs/examples/1.6.x/server-php/examples/account/update-name.md index a55a076791..2603b6e68b 100644 --- a/docs/examples/1.6.x/server-php/examples/account/update-name.md +++ b/docs/examples/1.6.x/server-php/examples/account/update-name.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/account/update-password.md b/docs/examples/1.6.x/server-php/examples/account/update-password.md index 9ef275701c..c5101381e4 100644 --- a/docs/examples/1.6.x/server-php/examples/account/update-password.md +++ b/docs/examples/1.6.x/server-php/examples/account/update-password.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/account/update-phone-session.md b/docs/examples/1.6.x/server-php/examples/account/update-phone-session.md index 973d29d04c..12d71c2fcd 100644 --- a/docs/examples/1.6.x/server-php/examples/account/update-phone-session.md +++ b/docs/examples/1.6.x/server-php/examples/account/update-phone-session.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>'); // Your project ID $account = new Account($client); diff --git a/docs/examples/1.6.x/server-php/examples/account/update-phone-verification.md b/docs/examples/1.6.x/server-php/examples/account/update-phone-verification.md index a1164474c0..df59922996 100644 --- a/docs/examples/1.6.x/server-php/examples/account/update-phone-verification.md +++ b/docs/examples/1.6.x/server-php/examples/account/update-phone-verification.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/account/update-phone.md b/docs/examples/1.6.x/server-php/examples/account/update-phone.md index be489f7d64..853cb62fce 100644 --- a/docs/examples/1.6.x/server-php/examples/account/update-phone.md +++ b/docs/examples/1.6.x/server-php/examples/account/update-phone.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/account/update-prefs.md b/docs/examples/1.6.x/server-php/examples/account/update-prefs.md index 0d47ee8957..698da0fd8a 100644 --- a/docs/examples/1.6.x/server-php/examples/account/update-prefs.md +++ b/docs/examples/1.6.x/server-php/examples/account/update-prefs.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/account/update-recovery.md b/docs/examples/1.6.x/server-php/examples/account/update-recovery.md index 523a61779e..63518b0029 100644 --- a/docs/examples/1.6.x/server-php/examples/account/update-recovery.md +++ b/docs/examples/1.6.x/server-php/examples/account/update-recovery.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/account/update-session.md b/docs/examples/1.6.x/server-php/examples/account/update-session.md index 3eebb12c3c..11cb4c7d98 100644 --- a/docs/examples/1.6.x/server-php/examples/account/update-session.md +++ b/docs/examples/1.6.x/server-php/examples/account/update-session.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/account/update-status.md b/docs/examples/1.6.x/server-php/examples/account/update-status.md index d343c95f2a..7c8075e5c7 100644 --- a/docs/examples/1.6.x/server-php/examples/account/update-status.md +++ b/docs/examples/1.6.x/server-php/examples/account/update-status.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/account/update-verification.md b/docs/examples/1.6.x/server-php/examples/account/update-verification.md index a03e87fd96..60ec0b3196 100644 --- a/docs/examples/1.6.x/server-php/examples/account/update-verification.md +++ b/docs/examples/1.6.x/server-php/examples/account/update-verification.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Account; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/avatars/get-browser.md b/docs/examples/1.6.x/server-php/examples/avatars/get-browser.md index d7e7e76e85..c65c31dae3 100644 --- a/docs/examples/1.6.x/server-php/examples/avatars/get-browser.md +++ b/docs/examples/1.6.x/server-php/examples/avatars/get-browser.md @@ -5,7 +5,7 @@ use Appwrite\Services\Avatars; use Appwrite\Enums\Browser; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/avatars/get-credit-card.md b/docs/examples/1.6.x/server-php/examples/avatars/get-credit-card.md index 55e2516f31..1f19ee2797 100644 --- a/docs/examples/1.6.x/server-php/examples/avatars/get-credit-card.md +++ b/docs/examples/1.6.x/server-php/examples/avatars/get-credit-card.md @@ -5,7 +5,7 @@ use Appwrite\Services\Avatars; use Appwrite\Enums\CreditCard; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/avatars/get-favicon.md b/docs/examples/1.6.x/server-php/examples/avatars/get-favicon.md index 5f5c5d7d5b..1e671864c8 100644 --- a/docs/examples/1.6.x/server-php/examples/avatars/get-favicon.md +++ b/docs/examples/1.6.x/server-php/examples/avatars/get-favicon.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Avatars; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/avatars/get-flag.md b/docs/examples/1.6.x/server-php/examples/avatars/get-flag.md index 2e5e4b648c..8ffb39c30e 100644 --- a/docs/examples/1.6.x/server-php/examples/avatars/get-flag.md +++ b/docs/examples/1.6.x/server-php/examples/avatars/get-flag.md @@ -5,7 +5,7 @@ use Appwrite\Services\Avatars; use Appwrite\Enums\Flag; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/avatars/get-image.md b/docs/examples/1.6.x/server-php/examples/avatars/get-image.md index 0ab77fea0d..e1555453ec 100644 --- a/docs/examples/1.6.x/server-php/examples/avatars/get-image.md +++ b/docs/examples/1.6.x/server-php/examples/avatars/get-image.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Avatars; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/avatars/get-initials.md b/docs/examples/1.6.x/server-php/examples/avatars/get-initials.md index 2bd0bbeb39..d84e23a157 100644 --- a/docs/examples/1.6.x/server-php/examples/avatars/get-initials.md +++ b/docs/examples/1.6.x/server-php/examples/avatars/get-initials.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Avatars; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/avatars/get-q-r.md b/docs/examples/1.6.x/server-php/examples/avatars/get-q-r.md index 05f8128c91..0d5936af6b 100644 --- a/docs/examples/1.6.x/server-php/examples/avatars/get-q-r.md +++ b/docs/examples/1.6.x/server-php/examples/avatars/get-q-r.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Avatars; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/databases/create-boolean-attribute.md b/docs/examples/1.6.x/server-php/examples/databases/create-boolean-attribute.md index 823dd03345..805d022194 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.6.x/server-php/examples/databases/create-boolean-attribute.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/create-collection.md b/docs/examples/1.6.x/server-php/examples/databases/create-collection.md index ae886b9f7d..700d97177b 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/create-collection.md +++ b/docs/examples/1.6.x/server-php/examples/databases/create-collection.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/create-datetime-attribute.md b/docs/examples/1.6.x/server-php/examples/databases/create-datetime-attribute.md index fb3ce709ce..dd2fcecc80 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.6.x/server-php/examples/databases/create-datetime-attribute.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/create-document.md b/docs/examples/1.6.x/server-php/examples/databases/create-document.md index f68ea8104d..bf1ee3f62a 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/create-document.md +++ b/docs/examples/1.6.x/server-php/examples/databases/create-document.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/databases/create-email-attribute.md b/docs/examples/1.6.x/server-php/examples/databases/create-email-attribute.md index b2f7770f4e..1274a4b9e1 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/create-email-attribute.md +++ b/docs/examples/1.6.x/server-php/examples/databases/create-email-attribute.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/create-enum-attribute.md b/docs/examples/1.6.x/server-php/examples/databases/create-enum-attribute.md index de2553ce82..9abf2dfa1b 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.6.x/server-php/examples/databases/create-enum-attribute.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/create-float-attribute.md b/docs/examples/1.6.x/server-php/examples/databases/create-float-attribute.md index ad534aa4be..e6eecb5298 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/create-float-attribute.md +++ b/docs/examples/1.6.x/server-php/examples/databases/create-float-attribute.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/create-index.md b/docs/examples/1.6.x/server-php/examples/databases/create-index.md index 7f95d3f818..1d01f09cca 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/create-index.md +++ b/docs/examples/1.6.x/server-php/examples/databases/create-index.md @@ -5,7 +5,7 @@ use Appwrite\Services\Databases; use Appwrite\Enums\IndexType; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/create-integer-attribute.md b/docs/examples/1.6.x/server-php/examples/databases/create-integer-attribute.md index fb481188e7..1dbeefa547 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.6.x/server-php/examples/databases/create-integer-attribute.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/create-ip-attribute.md b/docs/examples/1.6.x/server-php/examples/databases/create-ip-attribute.md index d40e23729e..f42717caa4 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.6.x/server-php/examples/databases/create-ip-attribute.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/create-relationship-attribute.md b/docs/examples/1.6.x/server-php/examples/databases/create-relationship-attribute.md index 4b353f1897..caccd36031 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.6.x/server-php/examples/databases/create-relationship-attribute.md @@ -5,7 +5,7 @@ use Appwrite\Services\Databases; use Appwrite\Enums\RelationshipType; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/create-string-attribute.md b/docs/examples/1.6.x/server-php/examples/databases/create-string-attribute.md index a04dfba7e0..5a4f72b6c8 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/create-string-attribute.md +++ b/docs/examples/1.6.x/server-php/examples/databases/create-string-attribute.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/create-url-attribute.md b/docs/examples/1.6.x/server-php/examples/databases/create-url-attribute.md index bfa8af0058..6b9bc800e5 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/create-url-attribute.md +++ b/docs/examples/1.6.x/server-php/examples/databases/create-url-attribute.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/create.md b/docs/examples/1.6.x/server-php/examples/databases/create.md index 3b9881a60a..73c618874a 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/create.md +++ b/docs/examples/1.6.x/server-php/examples/databases/create.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/delete-attribute.md b/docs/examples/1.6.x/server-php/examples/databases/delete-attribute.md index 2db4c76211..71b7162655 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/delete-attribute.md +++ b/docs/examples/1.6.x/server-php/examples/databases/delete-attribute.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/delete-collection.md b/docs/examples/1.6.x/server-php/examples/databases/delete-collection.md index 4af5130647..4e98dfdb4e 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/delete-collection.md +++ b/docs/examples/1.6.x/server-php/examples/databases/delete-collection.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/delete-document.md b/docs/examples/1.6.x/server-php/examples/databases/delete-document.md index 05a3abbc68..def7f24569 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/delete-document.md +++ b/docs/examples/1.6.x/server-php/examples/databases/delete-document.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/databases/delete-index.md b/docs/examples/1.6.x/server-php/examples/databases/delete-index.md index 67cda1205f..79e476b6d0 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/delete-index.md +++ b/docs/examples/1.6.x/server-php/examples/databases/delete-index.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/delete.md b/docs/examples/1.6.x/server-php/examples/databases/delete.md index 2480a7c825..c796b7c406 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/delete.md +++ b/docs/examples/1.6.x/server-php/examples/databases/delete.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/get-attribute.md b/docs/examples/1.6.x/server-php/examples/databases/get-attribute.md index a9dad4bc40..ba82db4065 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/get-attribute.md +++ b/docs/examples/1.6.x/server-php/examples/databases/get-attribute.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/get-collection.md b/docs/examples/1.6.x/server-php/examples/databases/get-collection.md index deeddec4ad..ecddab053d 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/get-collection.md +++ b/docs/examples/1.6.x/server-php/examples/databases/get-collection.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/get-document.md b/docs/examples/1.6.x/server-php/examples/databases/get-document.md index 851e2d5747..a3204c50a7 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/get-document.md +++ b/docs/examples/1.6.x/server-php/examples/databases/get-document.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/databases/get-index.md b/docs/examples/1.6.x/server-php/examples/databases/get-index.md index a6e60f599d..e9c6307671 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/get-index.md +++ b/docs/examples/1.6.x/server-php/examples/databases/get-index.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/get.md b/docs/examples/1.6.x/server-php/examples/databases/get.md index 7234b2369f..9aa6395587 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/get.md +++ b/docs/examples/1.6.x/server-php/examples/databases/get.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/list-attributes.md b/docs/examples/1.6.x/server-php/examples/databases/list-attributes.md index fb53eae371..3105fc419c 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/list-attributes.md +++ b/docs/examples/1.6.x/server-php/examples/databases/list-attributes.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/list-collections.md b/docs/examples/1.6.x/server-php/examples/databases/list-collections.md index 941e4a6e57..533b26a055 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/list-collections.md +++ b/docs/examples/1.6.x/server-php/examples/databases/list-collections.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/list-documents.md b/docs/examples/1.6.x/server-php/examples/databases/list-documents.md index 6ccddf6093..07183ac8bf 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/list-documents.md +++ b/docs/examples/1.6.x/server-php/examples/databases/list-documents.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/databases/list-indexes.md b/docs/examples/1.6.x/server-php/examples/databases/list-indexes.md index b3935fc10a..65b45dae80 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/list-indexes.md +++ b/docs/examples/1.6.x/server-php/examples/databases/list-indexes.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/list.md b/docs/examples/1.6.x/server-php/examples/databases/list.md index d5d078f8ec..6bba74da59 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/list.md +++ b/docs/examples/1.6.x/server-php/examples/databases/list.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/update-boolean-attribute.md b/docs/examples/1.6.x/server-php/examples/databases/update-boolean-attribute.md index 133fbb8b47..2e4bee72fe 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.6.x/server-php/examples/databases/update-boolean-attribute.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/update-collection.md b/docs/examples/1.6.x/server-php/examples/databases/update-collection.md index 790bb2b9c8..dd030c0792 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/update-collection.md +++ b/docs/examples/1.6.x/server-php/examples/databases/update-collection.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/update-datetime-attribute.md b/docs/examples/1.6.x/server-php/examples/databases/update-datetime-attribute.md index 4773e54537..b1a03ec028 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.6.x/server-php/examples/databases/update-datetime-attribute.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/update-document.md b/docs/examples/1.6.x/server-php/examples/databases/update-document.md index a1b7018711..f1c8a34680 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/update-document.md +++ b/docs/examples/1.6.x/server-php/examples/databases/update-document.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/databases/update-email-attribute.md b/docs/examples/1.6.x/server-php/examples/databases/update-email-attribute.md index 9c1bdb48bd..dc9865f81a 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/update-email-attribute.md +++ b/docs/examples/1.6.x/server-php/examples/databases/update-email-attribute.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/update-enum-attribute.md b/docs/examples/1.6.x/server-php/examples/databases/update-enum-attribute.md index 88229bc999..f7cd0b7b83 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.6.x/server-php/examples/databases/update-enum-attribute.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/update-float-attribute.md b/docs/examples/1.6.x/server-php/examples/databases/update-float-attribute.md index 7beac26ea2..51f6ec9239 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/update-float-attribute.md +++ b/docs/examples/1.6.x/server-php/examples/databases/update-float-attribute.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key @@ -15,8 +15,8 @@ $result = $databases->updateFloatAttribute( collectionId: '<COLLECTION_ID>', key: '', required: false, - min: null, - max: null, default: null, + min: null, // optional + max: null, // optional newKey: '' // optional ); \ No newline at end of file diff --git a/docs/examples/1.6.x/server-php/examples/databases/update-integer-attribute.md b/docs/examples/1.6.x/server-php/examples/databases/update-integer-attribute.md index e92385d2bf..bdbd96ca12 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.6.x/server-php/examples/databases/update-integer-attribute.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key @@ -15,8 +15,8 @@ $result = $databases->updateIntegerAttribute( collectionId: '<COLLECTION_ID>', key: '', required: false, - min: null, - max: null, default: null, + min: null, // optional + max: null, // optional newKey: '' // optional ); \ No newline at end of file diff --git a/docs/examples/1.6.x/server-php/examples/databases/update-ip-attribute.md b/docs/examples/1.6.x/server-php/examples/databases/update-ip-attribute.md index e88e75c2b6..130cd0cc9f 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.6.x/server-php/examples/databases/update-ip-attribute.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/update-relationship-attribute.md b/docs/examples/1.6.x/server-php/examples/databases/update-relationship-attribute.md index 0afaea27b5..01783cf3bf 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.6.x/server-php/examples/databases/update-relationship-attribute.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/update-string-attribute.md b/docs/examples/1.6.x/server-php/examples/databases/update-string-attribute.md index 721ba324de..e0c8f992ea 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/update-string-attribute.md +++ b/docs/examples/1.6.x/server-php/examples/databases/update-string-attribute.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/update-url-attribute.md b/docs/examples/1.6.x/server-php/examples/databases/update-url-attribute.md index 1825e55845..c200463894 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/update-url-attribute.md +++ b/docs/examples/1.6.x/server-php/examples/databases/update-url-attribute.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/databases/update.md b/docs/examples/1.6.x/server-php/examples/databases/update.md index d9bf5e9738..9b0b0789ca 100644 --- a/docs/examples/1.6.x/server-php/examples/databases/update.md +++ b/docs/examples/1.6.x/server-php/examples/databases/update.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Databases; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/functions/create-build.md b/docs/examples/1.6.x/server-php/examples/functions/create-build.md index 429653c3c5..1b081ea605 100644 --- a/docs/examples/1.6.x/server-php/examples/functions/create-build.md +++ b/docs/examples/1.6.x/server-php/examples/functions/create-build.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Functions; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/functions/create-deployment.md b/docs/examples/1.6.x/server-php/examples/functions/create-deployment.md index 90f4c7ed18..7e48b89ca7 100644 --- a/docs/examples/1.6.x/server-php/examples/functions/create-deployment.md +++ b/docs/examples/1.6.x/server-php/examples/functions/create-deployment.md @@ -5,7 +5,7 @@ use Appwrite\InputFile; use Appwrite\Services\Functions; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/functions/create-execution.md b/docs/examples/1.6.x/server-php/examples/functions/create-execution.md index 4c62b9afc0..9aeb976cf3 100644 --- a/docs/examples/1.6.x/server-php/examples/functions/create-execution.md +++ b/docs/examples/1.6.x/server-php/examples/functions/create-execution.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Functions; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/functions/create-variable.md b/docs/examples/1.6.x/server-php/examples/functions/create-variable.md index fc1ee4afeb..ecc1f1df8b 100644 --- a/docs/examples/1.6.x/server-php/examples/functions/create-variable.md +++ b/docs/examples/1.6.x/server-php/examples/functions/create-variable.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Functions; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/functions/create.md b/docs/examples/1.6.x/server-php/examples/functions/create.md index 6b16c59cbd..5e2f71e5e3 100644 --- a/docs/examples/1.6.x/server-php/examples/functions/create.md +++ b/docs/examples/1.6.x/server-php/examples/functions/create.md @@ -5,7 +5,7 @@ use Appwrite\Services\Functions; use Appwrite\Enums\; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/functions/delete-deployment.md b/docs/examples/1.6.x/server-php/examples/functions/delete-deployment.md index 23439f2107..20285d7610 100644 --- a/docs/examples/1.6.x/server-php/examples/functions/delete-deployment.md +++ b/docs/examples/1.6.x/server-php/examples/functions/delete-deployment.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Functions; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/functions/delete-execution.md b/docs/examples/1.6.x/server-php/examples/functions/delete-execution.md index 4fbef18175..e55a8b1892 100644 --- a/docs/examples/1.6.x/server-php/examples/functions/delete-execution.md +++ b/docs/examples/1.6.x/server-php/examples/functions/delete-execution.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Functions; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/functions/delete-variable.md b/docs/examples/1.6.x/server-php/examples/functions/delete-variable.md index 344506b9e2..e1fb391d79 100644 --- a/docs/examples/1.6.x/server-php/examples/functions/delete-variable.md +++ b/docs/examples/1.6.x/server-php/examples/functions/delete-variable.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Functions; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/functions/delete.md b/docs/examples/1.6.x/server-php/examples/functions/delete.md index 6596754991..9f87f5c9f0 100644 --- a/docs/examples/1.6.x/server-php/examples/functions/delete.md +++ b/docs/examples/1.6.x/server-php/examples/functions/delete.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Functions; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/functions/get-deployment-download.md b/docs/examples/1.6.x/server-php/examples/functions/get-deployment-download.md index 4103ec81e9..ec25652b89 100644 --- a/docs/examples/1.6.x/server-php/examples/functions/get-deployment-download.md +++ b/docs/examples/1.6.x/server-php/examples/functions/get-deployment-download.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Functions; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/functions/get-deployment.md b/docs/examples/1.6.x/server-php/examples/functions/get-deployment.md index 73d70816cf..945933b2ad 100644 --- a/docs/examples/1.6.x/server-php/examples/functions/get-deployment.md +++ b/docs/examples/1.6.x/server-php/examples/functions/get-deployment.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Functions; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/functions/get-execution.md b/docs/examples/1.6.x/server-php/examples/functions/get-execution.md index 9bb8d6af7a..7dfeeed0c0 100644 --- a/docs/examples/1.6.x/server-php/examples/functions/get-execution.md +++ b/docs/examples/1.6.x/server-php/examples/functions/get-execution.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Functions; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/functions/get-variable.md b/docs/examples/1.6.x/server-php/examples/functions/get-variable.md index cdb5ce9c45..4c8d3d6b53 100644 --- a/docs/examples/1.6.x/server-php/examples/functions/get-variable.md +++ b/docs/examples/1.6.x/server-php/examples/functions/get-variable.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Functions; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/functions/get.md b/docs/examples/1.6.x/server-php/examples/functions/get.md index d249ce7266..ca2160f6c9 100644 --- a/docs/examples/1.6.x/server-php/examples/functions/get.md +++ b/docs/examples/1.6.x/server-php/examples/functions/get.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Functions; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/functions/list-deployments.md b/docs/examples/1.6.x/server-php/examples/functions/list-deployments.md index 9046c1880a..7bbaa0ed3e 100644 --- a/docs/examples/1.6.x/server-php/examples/functions/list-deployments.md +++ b/docs/examples/1.6.x/server-php/examples/functions/list-deployments.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Functions; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/functions/list-executions.md b/docs/examples/1.6.x/server-php/examples/functions/list-executions.md index 05e60a0cb9..2ff953b729 100644 --- a/docs/examples/1.6.x/server-php/examples/functions/list-executions.md +++ b/docs/examples/1.6.x/server-php/examples/functions/list-executions.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Functions; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/functions/list-runtimes.md b/docs/examples/1.6.x/server-php/examples/functions/list-runtimes.md index 1d2297846a..6c77c42678 100644 --- a/docs/examples/1.6.x/server-php/examples/functions/list-runtimes.md +++ b/docs/examples/1.6.x/server-php/examples/functions/list-runtimes.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Functions; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/functions/list-specifications.md b/docs/examples/1.6.x/server-php/examples/functions/list-specifications.md index e68a4b0a8b..eec5c33c9d 100644 --- a/docs/examples/1.6.x/server-php/examples/functions/list-specifications.md +++ b/docs/examples/1.6.x/server-php/examples/functions/list-specifications.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Functions; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/functions/list-variables.md b/docs/examples/1.6.x/server-php/examples/functions/list-variables.md index b9687a4ef8..f85e85490c 100644 --- a/docs/examples/1.6.x/server-php/examples/functions/list-variables.md +++ b/docs/examples/1.6.x/server-php/examples/functions/list-variables.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Functions; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/functions/list.md b/docs/examples/1.6.x/server-php/examples/functions/list.md index 22aa3cf906..de914afc58 100644 --- a/docs/examples/1.6.x/server-php/examples/functions/list.md +++ b/docs/examples/1.6.x/server-php/examples/functions/list.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Functions; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/functions/update-deployment-build.md b/docs/examples/1.6.x/server-php/examples/functions/update-deployment-build.md index 98f2a3aace..44722f9eab 100644 --- a/docs/examples/1.6.x/server-php/examples/functions/update-deployment-build.md +++ b/docs/examples/1.6.x/server-php/examples/functions/update-deployment-build.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Functions; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/functions/update-deployment.md b/docs/examples/1.6.x/server-php/examples/functions/update-deployment.md index 9c6ad6dc8f..1dd25e51ca 100644 --- a/docs/examples/1.6.x/server-php/examples/functions/update-deployment.md +++ b/docs/examples/1.6.x/server-php/examples/functions/update-deployment.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Functions; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/functions/update-variable.md b/docs/examples/1.6.x/server-php/examples/functions/update-variable.md index b1b5008161..10cfb58366 100644 --- a/docs/examples/1.6.x/server-php/examples/functions/update-variable.md +++ b/docs/examples/1.6.x/server-php/examples/functions/update-variable.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Functions; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/functions/update.md b/docs/examples/1.6.x/server-php/examples/functions/update.md index 8f84ca85eb..ea8d863ae5 100644 --- a/docs/examples/1.6.x/server-php/examples/functions/update.md +++ b/docs/examples/1.6.x/server-php/examples/functions/update.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Functions; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/graphql/mutation.md b/docs/examples/1.6.x/server-php/examples/graphql/mutation.md index 1a0da4a405..c349bc2dbd 100644 --- a/docs/examples/1.6.x/server-php/examples/graphql/mutation.md +++ b/docs/examples/1.6.x/server-php/examples/graphql/mutation.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Graphql; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/graphql/query.md b/docs/examples/1.6.x/server-php/examples/graphql/query.md index eea9e8fc60..e6e277c27b 100644 --- a/docs/examples/1.6.x/server-php/examples/graphql/query.md +++ b/docs/examples/1.6.x/server-php/examples/graphql/query.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Graphql; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/health/get-antivirus.md b/docs/examples/1.6.x/server-php/examples/health/get-antivirus.md index 1f0dd2feeb..47210646df 100644 --- a/docs/examples/1.6.x/server-php/examples/health/get-antivirus.md +++ b/docs/examples/1.6.x/server-php/examples/health/get-antivirus.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Health; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/health/get-cache.md b/docs/examples/1.6.x/server-php/examples/health/get-cache.md index 4755d69f1d..2e81dae328 100644 --- a/docs/examples/1.6.x/server-php/examples/health/get-cache.md +++ b/docs/examples/1.6.x/server-php/examples/health/get-cache.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Health; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/health/get-certificate.md b/docs/examples/1.6.x/server-php/examples/health/get-certificate.md index 1f0cda448d..408581beac 100644 --- a/docs/examples/1.6.x/server-php/examples/health/get-certificate.md +++ b/docs/examples/1.6.x/server-php/examples/health/get-certificate.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Health; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/health/get-d-b.md b/docs/examples/1.6.x/server-php/examples/health/get-d-b.md index fec1daa8ee..cfec70e604 100644 --- a/docs/examples/1.6.x/server-php/examples/health/get-d-b.md +++ b/docs/examples/1.6.x/server-php/examples/health/get-d-b.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Health; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/health/get-failed-jobs.md b/docs/examples/1.6.x/server-php/examples/health/get-failed-jobs.md index 8e331bcbfe..02959db3b5 100644 --- a/docs/examples/1.6.x/server-php/examples/health/get-failed-jobs.md +++ b/docs/examples/1.6.x/server-php/examples/health/get-failed-jobs.md @@ -5,7 +5,7 @@ use Appwrite\Services\Health; use Appwrite\Enums\; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/health/get-pub-sub.md b/docs/examples/1.6.x/server-php/examples/health/get-pub-sub.md index fb266b132d..1c346caab6 100644 --- a/docs/examples/1.6.x/server-php/examples/health/get-pub-sub.md +++ b/docs/examples/1.6.x/server-php/examples/health/get-pub-sub.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Health; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/health/get-queue-builds.md b/docs/examples/1.6.x/server-php/examples/health/get-queue-builds.md index 7886dfb21e..8c1f77433b 100644 --- a/docs/examples/1.6.x/server-php/examples/health/get-queue-builds.md +++ b/docs/examples/1.6.x/server-php/examples/health/get-queue-builds.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Health; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/health/get-queue-certificates.md b/docs/examples/1.6.x/server-php/examples/health/get-queue-certificates.md index b00611e354..92fb79a98c 100644 --- a/docs/examples/1.6.x/server-php/examples/health/get-queue-certificates.md +++ b/docs/examples/1.6.x/server-php/examples/health/get-queue-certificates.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Health; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/health/get-queue-databases.md b/docs/examples/1.6.x/server-php/examples/health/get-queue-databases.md index 81e8442f0d..745b469434 100644 --- a/docs/examples/1.6.x/server-php/examples/health/get-queue-databases.md +++ b/docs/examples/1.6.x/server-php/examples/health/get-queue-databases.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Health; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/health/get-queue-deletes.md b/docs/examples/1.6.x/server-php/examples/health/get-queue-deletes.md index fe51b072c8..d3952685c4 100644 --- a/docs/examples/1.6.x/server-php/examples/health/get-queue-deletes.md +++ b/docs/examples/1.6.x/server-php/examples/health/get-queue-deletes.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Health; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/health/get-queue-functions.md b/docs/examples/1.6.x/server-php/examples/health/get-queue-functions.md index e6ee688076..1a5bea2b4c 100644 --- a/docs/examples/1.6.x/server-php/examples/health/get-queue-functions.md +++ b/docs/examples/1.6.x/server-php/examples/health/get-queue-functions.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Health; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/health/get-queue-logs.md b/docs/examples/1.6.x/server-php/examples/health/get-queue-logs.md index 4c9b0cd81c..cf5e3b9d83 100644 --- a/docs/examples/1.6.x/server-php/examples/health/get-queue-logs.md +++ b/docs/examples/1.6.x/server-php/examples/health/get-queue-logs.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Health; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/health/get-queue-mails.md b/docs/examples/1.6.x/server-php/examples/health/get-queue-mails.md index 02d4ed2663..132dfa68aa 100644 --- a/docs/examples/1.6.x/server-php/examples/health/get-queue-mails.md +++ b/docs/examples/1.6.x/server-php/examples/health/get-queue-mails.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Health; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/health/get-queue-messaging.md b/docs/examples/1.6.x/server-php/examples/health/get-queue-messaging.md index ec69788353..fd5fdb1ede 100644 --- a/docs/examples/1.6.x/server-php/examples/health/get-queue-messaging.md +++ b/docs/examples/1.6.x/server-php/examples/health/get-queue-messaging.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Health; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/health/get-queue-migrations.md b/docs/examples/1.6.x/server-php/examples/health/get-queue-migrations.md index f52f78a0a8..68110189e5 100644 --- a/docs/examples/1.6.x/server-php/examples/health/get-queue-migrations.md +++ b/docs/examples/1.6.x/server-php/examples/health/get-queue-migrations.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Health; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/health/get-queue-stats-resources.md b/docs/examples/1.6.x/server-php/examples/health/get-queue-stats-resources.md new file mode 100644 index 0000000000..d0bd6c054e --- /dev/null +++ b/docs/examples/1.6.x/server-php/examples/health/get-queue-stats-resources.md @@ -0,0 +1,15 @@ +<?php + +use Appwrite\Client; +use Appwrite\Services\Health; + +$client = (new Client()) + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('<YOUR_PROJECT_ID>') // Your project ID + ->setKey('<YOUR_API_KEY>'); // Your secret API key + +$health = new Health($client); + +$result = $health->getQueueStatsResources( + threshold: null // optional +); \ No newline at end of file diff --git a/docs/examples/1.6.x/server-php/examples/health/get-queue-usage-dump.md b/docs/examples/1.6.x/server-php/examples/health/get-queue-usage-dump.md index 9b477f27f5..0827f4cc79 100644 --- a/docs/examples/1.6.x/server-php/examples/health/get-queue-usage-dump.md +++ b/docs/examples/1.6.x/server-php/examples/health/get-queue-usage-dump.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Health; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/health/get-queue-usage.md b/docs/examples/1.6.x/server-php/examples/health/get-queue-usage.md index 018e8acf0a..627a85c845 100644 --- a/docs/examples/1.6.x/server-php/examples/health/get-queue-usage.md +++ b/docs/examples/1.6.x/server-php/examples/health/get-queue-usage.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Health; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/health/get-queue-webhooks.md b/docs/examples/1.6.x/server-php/examples/health/get-queue-webhooks.md index 7e7af127c1..d6ccd7cd83 100644 --- a/docs/examples/1.6.x/server-php/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.6.x/server-php/examples/health/get-queue-webhooks.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Health; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/health/get-queue.md b/docs/examples/1.6.x/server-php/examples/health/get-queue.md index ef34100a03..23eece124a 100644 --- a/docs/examples/1.6.x/server-php/examples/health/get-queue.md +++ b/docs/examples/1.6.x/server-php/examples/health/get-queue.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Health; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/health/get-storage-local.md b/docs/examples/1.6.x/server-php/examples/health/get-storage-local.md index 0c26902ee7..041d24954c 100644 --- a/docs/examples/1.6.x/server-php/examples/health/get-storage-local.md +++ b/docs/examples/1.6.x/server-php/examples/health/get-storage-local.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Health; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/health/get-storage.md b/docs/examples/1.6.x/server-php/examples/health/get-storage.md index abfc5bbd1b..377416ed13 100644 --- a/docs/examples/1.6.x/server-php/examples/health/get-storage.md +++ b/docs/examples/1.6.x/server-php/examples/health/get-storage.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Health; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/health/get-time.md b/docs/examples/1.6.x/server-php/examples/health/get-time.md index 4577be3294..aa2699349d 100644 --- a/docs/examples/1.6.x/server-php/examples/health/get-time.md +++ b/docs/examples/1.6.x/server-php/examples/health/get-time.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Health; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/health/get.md b/docs/examples/1.6.x/server-php/examples/health/get.md index 514d083756..fec3e3f485 100644 --- a/docs/examples/1.6.x/server-php/examples/health/get.md +++ b/docs/examples/1.6.x/server-php/examples/health/get.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Health; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/locale/get.md b/docs/examples/1.6.x/server-php/examples/locale/get.md index 82247d4a68..ef4c0432dd 100644 --- a/docs/examples/1.6.x/server-php/examples/locale/get.md +++ b/docs/examples/1.6.x/server-php/examples/locale/get.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Locale; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/locale/list-codes.md b/docs/examples/1.6.x/server-php/examples/locale/list-codes.md index a88c2b6476..273fad0839 100644 --- a/docs/examples/1.6.x/server-php/examples/locale/list-codes.md +++ b/docs/examples/1.6.x/server-php/examples/locale/list-codes.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Locale; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/locale/list-continents.md b/docs/examples/1.6.x/server-php/examples/locale/list-continents.md index e861eced56..e8c7ca46df 100644 --- a/docs/examples/1.6.x/server-php/examples/locale/list-continents.md +++ b/docs/examples/1.6.x/server-php/examples/locale/list-continents.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Locale; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/locale/list-countries-e-u.md b/docs/examples/1.6.x/server-php/examples/locale/list-countries-e-u.md index 2b8bf7ee02..c5dd1d2ad6 100644 --- a/docs/examples/1.6.x/server-php/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.6.x/server-php/examples/locale/list-countries-e-u.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Locale; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/locale/list-countries-phones.md b/docs/examples/1.6.x/server-php/examples/locale/list-countries-phones.md index fba9ff8ec2..7585c1071e 100644 --- a/docs/examples/1.6.x/server-php/examples/locale/list-countries-phones.md +++ b/docs/examples/1.6.x/server-php/examples/locale/list-countries-phones.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Locale; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/locale/list-countries.md b/docs/examples/1.6.x/server-php/examples/locale/list-countries.md index 60801b4dc5..63a2e0b5f7 100644 --- a/docs/examples/1.6.x/server-php/examples/locale/list-countries.md +++ b/docs/examples/1.6.x/server-php/examples/locale/list-countries.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Locale; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/locale/list-currencies.md b/docs/examples/1.6.x/server-php/examples/locale/list-currencies.md index 5fb1667e59..d385018e7d 100644 --- a/docs/examples/1.6.x/server-php/examples/locale/list-currencies.md +++ b/docs/examples/1.6.x/server-php/examples/locale/list-currencies.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Locale; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/locale/list-languages.md b/docs/examples/1.6.x/server-php/examples/locale/list-languages.md index aec67ca74a..f0ca4d4f04 100644 --- a/docs/examples/1.6.x/server-php/examples/locale/list-languages.md +++ b/docs/examples/1.6.x/server-php/examples/locale/list-languages.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Locale; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/messaging/create-apns-provider.md b/docs/examples/1.6.x/server-php/examples/messaging/create-apns-provider.md index bdc5d7fcc7..da13d17231 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/create-apns-provider.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/create-apns-provider.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/create-email.md b/docs/examples/1.6.x/server-php/examples/messaging/create-email.md index fe51bf1627..9de24873bf 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/create-email.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/create-email.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/create-fcm-provider.md b/docs/examples/1.6.x/server-php/examples/messaging/create-fcm-provider.md index 7252fde72e..baf72a1df4 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/create-fcm-provider.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/create-fcm-provider.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/create-mailgun-provider.md b/docs/examples/1.6.x/server-php/examples/messaging/create-mailgun-provider.md index 72f3360f26..6c62ee8837 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/create-mailgun-provider.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/create-mailgun-provider.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/create-msg91provider.md b/docs/examples/1.6.x/server-php/examples/messaging/create-msg91provider.md index bb7a79aea1..1eb954a2c6 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/create-msg91provider.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/create-msg91provider.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/create-push.md b/docs/examples/1.6.x/server-php/examples/messaging/create-push.md index 9aaf6ad4ad..46aeeb3b8b 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/create-push.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/create-push.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/create-sendgrid-provider.md b/docs/examples/1.6.x/server-php/examples/messaging/create-sendgrid-provider.md index 53381f67c3..892d856305 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/create-sendgrid-provider.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/create-sendgrid-provider.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/create-sms.md b/docs/examples/1.6.x/server-php/examples/messaging/create-sms.md index 8c0cb79dbf..1e2d9ac765 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/create-sms.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/create-sms.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/create-smtp-provider.md b/docs/examples/1.6.x/server-php/examples/messaging/create-smtp-provider.md index fd771fa2ac..4dcfb3a088 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/create-smtp-provider.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/create-smtp-provider.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/create-subscriber.md b/docs/examples/1.6.x/server-php/examples/messaging/create-subscriber.md index c0324ab382..3516fa3d6a 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/create-subscriber.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/create-subscriber.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setJWT('<YOUR_JWT>'); // Your secret JSON Web Token diff --git a/docs/examples/1.6.x/server-php/examples/messaging/create-telesign-provider.md b/docs/examples/1.6.x/server-php/examples/messaging/create-telesign-provider.md index 89e17a1bca..9006918029 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/create-telesign-provider.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/create-telesign-provider.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/create-textmagic-provider.md b/docs/examples/1.6.x/server-php/examples/messaging/create-textmagic-provider.md index 0e0c8681ea..5215d52642 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/create-textmagic-provider.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/create-textmagic-provider.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/create-topic.md b/docs/examples/1.6.x/server-php/examples/messaging/create-topic.md index 79e3d2635d..e94141cc73 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/create-topic.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/create-topic.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/create-twilio-provider.md b/docs/examples/1.6.x/server-php/examples/messaging/create-twilio-provider.md index f370df244e..c356828640 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/create-twilio-provider.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/create-twilio-provider.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/create-vonage-provider.md b/docs/examples/1.6.x/server-php/examples/messaging/create-vonage-provider.md index 4663b05c3e..adeacbc45e 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/create-vonage-provider.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/create-vonage-provider.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/delete-provider.md b/docs/examples/1.6.x/server-php/examples/messaging/delete-provider.md index a3d8d474fc..f37d18b4fd 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/delete-provider.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/delete-provider.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/delete-subscriber.md b/docs/examples/1.6.x/server-php/examples/messaging/delete-subscriber.md index a5f7eb79eb..f7a8425920 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/delete-subscriber.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/delete-subscriber.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setJWT('<YOUR_JWT>'); // Your secret JSON Web Token diff --git a/docs/examples/1.6.x/server-php/examples/messaging/delete-topic.md b/docs/examples/1.6.x/server-php/examples/messaging/delete-topic.md index 7333a8de8d..2ec899b1d6 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/delete-topic.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/delete-topic.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/delete.md b/docs/examples/1.6.x/server-php/examples/messaging/delete.md index b9b3380866..5781838bdc 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/delete.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/delete.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/get-message.md b/docs/examples/1.6.x/server-php/examples/messaging/get-message.md index c6ff233e6e..cf922219c7 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/get-message.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/get-message.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/get-provider.md b/docs/examples/1.6.x/server-php/examples/messaging/get-provider.md index 1d29307aec..d19f5c65e5 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/get-provider.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/get-provider.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/get-subscriber.md b/docs/examples/1.6.x/server-php/examples/messaging/get-subscriber.md index 503e7010cb..e2a0d7ef35 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/get-subscriber.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/get-subscriber.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/get-topic.md b/docs/examples/1.6.x/server-php/examples/messaging/get-topic.md index 3277168bec..fc06cbbc95 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/get-topic.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/get-topic.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/list-message-logs.md b/docs/examples/1.6.x/server-php/examples/messaging/list-message-logs.md index 283b2a7794..03231375f8 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/list-message-logs.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/list-message-logs.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/list-messages.md b/docs/examples/1.6.x/server-php/examples/messaging/list-messages.md index a4190e644b..965fe08fc7 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/list-messages.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/list-messages.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/list-provider-logs.md b/docs/examples/1.6.x/server-php/examples/messaging/list-provider-logs.md index bf80f20477..761bb966d6 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/list-provider-logs.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/list-provider-logs.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/list-providers.md b/docs/examples/1.6.x/server-php/examples/messaging/list-providers.md index 1dc0e3cb98..614e9c58f1 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/list-providers.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/list-providers.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/list-subscriber-logs.md b/docs/examples/1.6.x/server-php/examples/messaging/list-subscriber-logs.md index c0c88d6935..c710575a46 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/list-subscriber-logs.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/list-subscriber-logs.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/list-subscribers.md b/docs/examples/1.6.x/server-php/examples/messaging/list-subscribers.md index 7597ad89ce..d2625cd555 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/list-subscribers.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/list-subscribers.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/list-targets.md b/docs/examples/1.6.x/server-php/examples/messaging/list-targets.md index 1825a08838..1112d28003 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/list-targets.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/list-targets.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/list-topic-logs.md b/docs/examples/1.6.x/server-php/examples/messaging/list-topic-logs.md index 1ab8c363d6..3bbb35a006 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/list-topic-logs.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/list-topic-logs.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/list-topics.md b/docs/examples/1.6.x/server-php/examples/messaging/list-topics.md index cfcba97a21..debb363133 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/list-topics.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/list-topics.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/update-apns-provider.md b/docs/examples/1.6.x/server-php/examples/messaging/update-apns-provider.md index d7177551d5..724453b9b1 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/update-apns-provider.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/update-apns-provider.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/update-email.md b/docs/examples/1.6.x/server-php/examples/messaging/update-email.md index d3b65692c1..dd0f645af6 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/update-email.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/update-email.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/update-fcm-provider.md b/docs/examples/1.6.x/server-php/examples/messaging/update-fcm-provider.md index 9a80b44ff2..36672f4b65 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/update-fcm-provider.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/update-fcm-provider.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/update-mailgun-provider.md b/docs/examples/1.6.x/server-php/examples/messaging/update-mailgun-provider.md index 7891cb5bb0..c99ebc7d73 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/update-mailgun-provider.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/update-mailgun-provider.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/update-msg91provider.md b/docs/examples/1.6.x/server-php/examples/messaging/update-msg91provider.md index 98f4f13a59..f6f557cce4 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/update-msg91provider.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/update-msg91provider.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/update-push.md b/docs/examples/1.6.x/server-php/examples/messaging/update-push.md index 7546fc8668..e1df0b9132 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/update-push.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/update-push.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/update-sendgrid-provider.md b/docs/examples/1.6.x/server-php/examples/messaging/update-sendgrid-provider.md index 2820e2e20e..b8473c16a3 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/update-sendgrid-provider.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/update-sendgrid-provider.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/update-sms.md b/docs/examples/1.6.x/server-php/examples/messaging/update-sms.md index a342b7a067..730da4178a 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/update-sms.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/update-sms.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/update-smtp-provider.md b/docs/examples/1.6.x/server-php/examples/messaging/update-smtp-provider.md index 66dde3ea01..a16a630283 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/update-smtp-provider.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/update-smtp-provider.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/update-telesign-provider.md b/docs/examples/1.6.x/server-php/examples/messaging/update-telesign-provider.md index 3c1b760dd1..29a54bfaed 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/update-telesign-provider.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/update-telesign-provider.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/update-textmagic-provider.md b/docs/examples/1.6.x/server-php/examples/messaging/update-textmagic-provider.md index 3328ac714d..e6a1ed1a1e 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/update-textmagic-provider.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/update-textmagic-provider.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/update-topic.md b/docs/examples/1.6.x/server-php/examples/messaging/update-topic.md index 5669e5f754..b1f9a32ec5 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/update-topic.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/update-topic.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/update-twilio-provider.md b/docs/examples/1.6.x/server-php/examples/messaging/update-twilio-provider.md index 07b7a2eafe..def821adc4 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/update-twilio-provider.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/update-twilio-provider.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/messaging/update-vonage-provider.md b/docs/examples/1.6.x/server-php/examples/messaging/update-vonage-provider.md index ba7f5305e5..0841e284eb 100644 --- a/docs/examples/1.6.x/server-php/examples/messaging/update-vonage-provider.md +++ b/docs/examples/1.6.x/server-php/examples/messaging/update-vonage-provider.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Messaging; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/storage/create-bucket.md b/docs/examples/1.6.x/server-php/examples/storage/create-bucket.md index 0c8ef0fefe..cd17ffedac 100644 --- a/docs/examples/1.6.x/server-php/examples/storage/create-bucket.md +++ b/docs/examples/1.6.x/server-php/examples/storage/create-bucket.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Storage; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/storage/create-file.md b/docs/examples/1.6.x/server-php/examples/storage/create-file.md index a948546563..2d13305984 100644 --- a/docs/examples/1.6.x/server-php/examples/storage/create-file.md +++ b/docs/examples/1.6.x/server-php/examples/storage/create-file.md @@ -5,7 +5,7 @@ use Appwrite\InputFile; use Appwrite\Services\Storage; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/storage/delete-bucket.md b/docs/examples/1.6.x/server-php/examples/storage/delete-bucket.md index 784331887e..50adf35b6b 100644 --- a/docs/examples/1.6.x/server-php/examples/storage/delete-bucket.md +++ b/docs/examples/1.6.x/server-php/examples/storage/delete-bucket.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Storage; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/storage/delete-file.md b/docs/examples/1.6.x/server-php/examples/storage/delete-file.md index 4274c25a45..d4c45eb66a 100644 --- a/docs/examples/1.6.x/server-php/examples/storage/delete-file.md +++ b/docs/examples/1.6.x/server-php/examples/storage/delete-file.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Storage; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/storage/get-bucket.md b/docs/examples/1.6.x/server-php/examples/storage/get-bucket.md index 85a5b75f62..e62c43d2d3 100644 --- a/docs/examples/1.6.x/server-php/examples/storage/get-bucket.md +++ b/docs/examples/1.6.x/server-php/examples/storage/get-bucket.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Storage; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/storage/get-file-download.md b/docs/examples/1.6.x/server-php/examples/storage/get-file-download.md index 72be0f6841..8831f0da9f 100644 --- a/docs/examples/1.6.x/server-php/examples/storage/get-file-download.md +++ b/docs/examples/1.6.x/server-php/examples/storage/get-file-download.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Storage; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/storage/get-file-preview.md b/docs/examples/1.6.x/server-php/examples/storage/get-file-preview.md index aef4f4a63f..0c9db136b8 100644 --- a/docs/examples/1.6.x/server-php/examples/storage/get-file-preview.md +++ b/docs/examples/1.6.x/server-php/examples/storage/get-file-preview.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Storage; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/storage/get-file-view.md b/docs/examples/1.6.x/server-php/examples/storage/get-file-view.md index 782e49bd21..95a32bd3c2 100644 --- a/docs/examples/1.6.x/server-php/examples/storage/get-file-view.md +++ b/docs/examples/1.6.x/server-php/examples/storage/get-file-view.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Storage; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/storage/get-file.md b/docs/examples/1.6.x/server-php/examples/storage/get-file.md index 80196a5199..6964144801 100644 --- a/docs/examples/1.6.x/server-php/examples/storage/get-file.md +++ b/docs/examples/1.6.x/server-php/examples/storage/get-file.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Storage; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/storage/list-buckets.md b/docs/examples/1.6.x/server-php/examples/storage/list-buckets.md index a53eb913c9..a4538c6f3a 100644 --- a/docs/examples/1.6.x/server-php/examples/storage/list-buckets.md +++ b/docs/examples/1.6.x/server-php/examples/storage/list-buckets.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Storage; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/storage/list-files.md b/docs/examples/1.6.x/server-php/examples/storage/list-files.md index 767fe86c30..ede0e7c979 100644 --- a/docs/examples/1.6.x/server-php/examples/storage/list-files.md +++ b/docs/examples/1.6.x/server-php/examples/storage/list-files.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Storage; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/storage/update-bucket.md b/docs/examples/1.6.x/server-php/examples/storage/update-bucket.md index e4a0f5df35..1517e36621 100644 --- a/docs/examples/1.6.x/server-php/examples/storage/update-bucket.md +++ b/docs/examples/1.6.x/server-php/examples/storage/update-bucket.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Storage; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/storage/update-file.md b/docs/examples/1.6.x/server-php/examples/storage/update-file.md index 506593f427..7b467acfe3 100644 --- a/docs/examples/1.6.x/server-php/examples/storage/update-file.md +++ b/docs/examples/1.6.x/server-php/examples/storage/update-file.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Storage; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/teams/create-membership.md b/docs/examples/1.6.x/server-php/examples/teams/create-membership.md index 51b1795a01..285368f9dd 100644 --- a/docs/examples/1.6.x/server-php/examples/teams/create-membership.md +++ b/docs/examples/1.6.x/server-php/examples/teams/create-membership.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Teams; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/teams/create.md b/docs/examples/1.6.x/server-php/examples/teams/create.md index 3cc6b19be9..643fa0eb11 100644 --- a/docs/examples/1.6.x/server-php/examples/teams/create.md +++ b/docs/examples/1.6.x/server-php/examples/teams/create.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Teams; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/teams/delete-membership.md b/docs/examples/1.6.x/server-php/examples/teams/delete-membership.md index 04f4056fcd..579b790c55 100644 --- a/docs/examples/1.6.x/server-php/examples/teams/delete-membership.md +++ b/docs/examples/1.6.x/server-php/examples/teams/delete-membership.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Teams; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/teams/delete.md b/docs/examples/1.6.x/server-php/examples/teams/delete.md index 734464538f..9db4e7e9a7 100644 --- a/docs/examples/1.6.x/server-php/examples/teams/delete.md +++ b/docs/examples/1.6.x/server-php/examples/teams/delete.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Teams; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/teams/get-membership.md b/docs/examples/1.6.x/server-php/examples/teams/get-membership.md index 5f4bd63a64..bd6cbe8b42 100644 --- a/docs/examples/1.6.x/server-php/examples/teams/get-membership.md +++ b/docs/examples/1.6.x/server-php/examples/teams/get-membership.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Teams; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/teams/get-prefs.md b/docs/examples/1.6.x/server-php/examples/teams/get-prefs.md index 27f6e06973..fbade4fc2f 100644 --- a/docs/examples/1.6.x/server-php/examples/teams/get-prefs.md +++ b/docs/examples/1.6.x/server-php/examples/teams/get-prefs.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Teams; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/teams/get.md b/docs/examples/1.6.x/server-php/examples/teams/get.md index f1ce1348d8..0dafa8a5d3 100644 --- a/docs/examples/1.6.x/server-php/examples/teams/get.md +++ b/docs/examples/1.6.x/server-php/examples/teams/get.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Teams; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/teams/list-memberships.md b/docs/examples/1.6.x/server-php/examples/teams/list-memberships.md index 9d0c988ce6..817ea7fefc 100644 --- a/docs/examples/1.6.x/server-php/examples/teams/list-memberships.md +++ b/docs/examples/1.6.x/server-php/examples/teams/list-memberships.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Teams; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/teams/list.md b/docs/examples/1.6.x/server-php/examples/teams/list.md index 7ab8f81b27..99d9895fe5 100644 --- a/docs/examples/1.6.x/server-php/examples/teams/list.md +++ b/docs/examples/1.6.x/server-php/examples/teams/list.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Teams; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/teams/update-membership-status.md b/docs/examples/1.6.x/server-php/examples/teams/update-membership-status.md index 6179020df2..5dbfd4cb0f 100644 --- a/docs/examples/1.6.x/server-php/examples/teams/update-membership-status.md +++ b/docs/examples/1.6.x/server-php/examples/teams/update-membership-status.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Teams; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/teams/update-membership.md b/docs/examples/1.6.x/server-php/examples/teams/update-membership.md index 3b6cafa5f5..10f135b01f 100644 --- a/docs/examples/1.6.x/server-php/examples/teams/update-membership.md +++ b/docs/examples/1.6.x/server-php/examples/teams/update-membership.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Teams; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/teams/update-name.md b/docs/examples/1.6.x/server-php/examples/teams/update-name.md index 62768a9fb8..bc13d924e4 100644 --- a/docs/examples/1.6.x/server-php/examples/teams/update-name.md +++ b/docs/examples/1.6.x/server-php/examples/teams/update-name.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Teams; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/teams/update-prefs.md b/docs/examples/1.6.x/server-php/examples/teams/update-prefs.md index ec52ac07df..bd8d9de32f 100644 --- a/docs/examples/1.6.x/server-php/examples/teams/update-prefs.md +++ b/docs/examples/1.6.x/server-php/examples/teams/update-prefs.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Teams; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-php/examples/users/create-argon2user.md b/docs/examples/1.6.x/server-php/examples/users/create-argon2user.md index a482b5dd57..a9166ef3b0 100644 --- a/docs/examples/1.6.x/server-php/examples/users/create-argon2user.md +++ b/docs/examples/1.6.x/server-php/examples/users/create-argon2user.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/create-bcrypt-user.md b/docs/examples/1.6.x/server-php/examples/users/create-bcrypt-user.md index af71dcdc73..c9fd81e43a 100644 --- a/docs/examples/1.6.x/server-php/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.6.x/server-php/examples/users/create-bcrypt-user.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/create-j-w-t.md b/docs/examples/1.6.x/server-php/examples/users/create-j-w-t.md index 994cdc3bb3..1c1c6d40bd 100644 --- a/docs/examples/1.6.x/server-php/examples/users/create-j-w-t.md +++ b/docs/examples/1.6.x/server-php/examples/users/create-j-w-t.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/create-m-d5user.md b/docs/examples/1.6.x/server-php/examples/users/create-m-d5user.md index 13bb884aa7..696cbbeb57 100644 --- a/docs/examples/1.6.x/server-php/examples/users/create-m-d5user.md +++ b/docs/examples/1.6.x/server-php/examples/users/create-m-d5user.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/create-mfa-recovery-codes.md b/docs/examples/1.6.x/server-php/examples/users/create-mfa-recovery-codes.md index faec234106..372fb1bc6a 100644 --- a/docs/examples/1.6.x/server-php/examples/users/create-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-php/examples/users/create-mfa-recovery-codes.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/create-p-h-pass-user.md b/docs/examples/1.6.x/server-php/examples/users/create-p-h-pass-user.md index da0889df70..d56c4651f6 100644 --- a/docs/examples/1.6.x/server-php/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.6.x/server-php/examples/users/create-p-h-pass-user.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/create-s-h-a-user.md b/docs/examples/1.6.x/server-php/examples/users/create-s-h-a-user.md index ecb9af7f31..0b9a27ed8e 100644 --- a/docs/examples/1.6.x/server-php/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.6.x/server-php/examples/users/create-s-h-a-user.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/create-scrypt-modified-user.md b/docs/examples/1.6.x/server-php/examples/users/create-scrypt-modified-user.md index d1c99065e1..f579efb5f2 100644 --- a/docs/examples/1.6.x/server-php/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.6.x/server-php/examples/users/create-scrypt-modified-user.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/create-scrypt-user.md b/docs/examples/1.6.x/server-php/examples/users/create-scrypt-user.md index 3c833b098e..b406b9404a 100644 --- a/docs/examples/1.6.x/server-php/examples/users/create-scrypt-user.md +++ b/docs/examples/1.6.x/server-php/examples/users/create-scrypt-user.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/create-session.md b/docs/examples/1.6.x/server-php/examples/users/create-session.md index 498e161c67..1589315f92 100644 --- a/docs/examples/1.6.x/server-php/examples/users/create-session.md +++ b/docs/examples/1.6.x/server-php/examples/users/create-session.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/create-target.md b/docs/examples/1.6.x/server-php/examples/users/create-target.md index 999cae1394..57946a440f 100644 --- a/docs/examples/1.6.x/server-php/examples/users/create-target.md +++ b/docs/examples/1.6.x/server-php/examples/users/create-target.md @@ -5,7 +5,7 @@ use Appwrite\Services\Users; use Appwrite\Enums\MessagingProviderType; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/create-token.md b/docs/examples/1.6.x/server-php/examples/users/create-token.md index 9d8e1635a7..1b92f5171d 100644 --- a/docs/examples/1.6.x/server-php/examples/users/create-token.md +++ b/docs/examples/1.6.x/server-php/examples/users/create-token.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/create.md b/docs/examples/1.6.x/server-php/examples/users/create.md index 16549ae092..595f24fbce 100644 --- a/docs/examples/1.6.x/server-php/examples/users/create.md +++ b/docs/examples/1.6.x/server-php/examples/users/create.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/delete-identity.md b/docs/examples/1.6.x/server-php/examples/users/delete-identity.md index 9ca15569ce..26b71eead2 100644 --- a/docs/examples/1.6.x/server-php/examples/users/delete-identity.md +++ b/docs/examples/1.6.x/server-php/examples/users/delete-identity.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/delete-mfa-authenticator.md b/docs/examples/1.6.x/server-php/examples/users/delete-mfa-authenticator.md index 94a9e04b59..8ef1279589 100644 --- a/docs/examples/1.6.x/server-php/examples/users/delete-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-php/examples/users/delete-mfa-authenticator.md @@ -5,7 +5,7 @@ use Appwrite\Services\Users; use Appwrite\Enums\AuthenticatorType; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/delete-session.md b/docs/examples/1.6.x/server-php/examples/users/delete-session.md index e711a92319..493cf53d2f 100644 --- a/docs/examples/1.6.x/server-php/examples/users/delete-session.md +++ b/docs/examples/1.6.x/server-php/examples/users/delete-session.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/delete-sessions.md b/docs/examples/1.6.x/server-php/examples/users/delete-sessions.md index 3b46021a81..cd6d11e1d7 100644 --- a/docs/examples/1.6.x/server-php/examples/users/delete-sessions.md +++ b/docs/examples/1.6.x/server-php/examples/users/delete-sessions.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/delete-target.md b/docs/examples/1.6.x/server-php/examples/users/delete-target.md index 6b9975d748..0d85d3e4df 100644 --- a/docs/examples/1.6.x/server-php/examples/users/delete-target.md +++ b/docs/examples/1.6.x/server-php/examples/users/delete-target.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/delete.md b/docs/examples/1.6.x/server-php/examples/users/delete.md index f1dbbf3d93..883156ecd6 100644 --- a/docs/examples/1.6.x/server-php/examples/users/delete.md +++ b/docs/examples/1.6.x/server-php/examples/users/delete.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/get-mfa-recovery-codes.md b/docs/examples/1.6.x/server-php/examples/users/get-mfa-recovery-codes.md index b0e3a759bd..db090fb245 100644 --- a/docs/examples/1.6.x/server-php/examples/users/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-php/examples/users/get-mfa-recovery-codes.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/get-prefs.md b/docs/examples/1.6.x/server-php/examples/users/get-prefs.md index 59589f74ff..5e99e14b52 100644 --- a/docs/examples/1.6.x/server-php/examples/users/get-prefs.md +++ b/docs/examples/1.6.x/server-php/examples/users/get-prefs.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/get-target.md b/docs/examples/1.6.x/server-php/examples/users/get-target.md index ba146a3004..31baf3c852 100644 --- a/docs/examples/1.6.x/server-php/examples/users/get-target.md +++ b/docs/examples/1.6.x/server-php/examples/users/get-target.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/get.md b/docs/examples/1.6.x/server-php/examples/users/get.md index 4ff399b622..0ce39ae6e5 100644 --- a/docs/examples/1.6.x/server-php/examples/users/get.md +++ b/docs/examples/1.6.x/server-php/examples/users/get.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/list-identities.md b/docs/examples/1.6.x/server-php/examples/users/list-identities.md index 53ba78d8b2..fd15b7b51a 100644 --- a/docs/examples/1.6.x/server-php/examples/users/list-identities.md +++ b/docs/examples/1.6.x/server-php/examples/users/list-identities.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/list-logs.md b/docs/examples/1.6.x/server-php/examples/users/list-logs.md index 434dbafc11..7aea2dc59a 100644 --- a/docs/examples/1.6.x/server-php/examples/users/list-logs.md +++ b/docs/examples/1.6.x/server-php/examples/users/list-logs.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/list-memberships.md b/docs/examples/1.6.x/server-php/examples/users/list-memberships.md index addc6b75d0..13ec2211e6 100644 --- a/docs/examples/1.6.x/server-php/examples/users/list-memberships.md +++ b/docs/examples/1.6.x/server-php/examples/users/list-memberships.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/list-mfa-factors.md b/docs/examples/1.6.x/server-php/examples/users/list-mfa-factors.md index 0d137aaf5e..6a0088c9bd 100644 --- a/docs/examples/1.6.x/server-php/examples/users/list-mfa-factors.md +++ b/docs/examples/1.6.x/server-php/examples/users/list-mfa-factors.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/list-sessions.md b/docs/examples/1.6.x/server-php/examples/users/list-sessions.md index 5dcac1f5a4..bdbd0e5e51 100644 --- a/docs/examples/1.6.x/server-php/examples/users/list-sessions.md +++ b/docs/examples/1.6.x/server-php/examples/users/list-sessions.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/list-targets.md b/docs/examples/1.6.x/server-php/examples/users/list-targets.md index a91ac5e8cb..005d51a531 100644 --- a/docs/examples/1.6.x/server-php/examples/users/list-targets.md +++ b/docs/examples/1.6.x/server-php/examples/users/list-targets.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/list.md b/docs/examples/1.6.x/server-php/examples/users/list.md index 9b8d1d5f2c..04217363f0 100644 --- a/docs/examples/1.6.x/server-php/examples/users/list.md +++ b/docs/examples/1.6.x/server-php/examples/users/list.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/update-email-verification.md b/docs/examples/1.6.x/server-php/examples/users/update-email-verification.md index e74e88735e..636f1d2404 100644 --- a/docs/examples/1.6.x/server-php/examples/users/update-email-verification.md +++ b/docs/examples/1.6.x/server-php/examples/users/update-email-verification.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/update-email.md b/docs/examples/1.6.x/server-php/examples/users/update-email.md index fc40fac027..21ec88b334 100644 --- a/docs/examples/1.6.x/server-php/examples/users/update-email.md +++ b/docs/examples/1.6.x/server-php/examples/users/update-email.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/update-labels.md b/docs/examples/1.6.x/server-php/examples/users/update-labels.md index 45fe23b7c9..7d4ae5de50 100644 --- a/docs/examples/1.6.x/server-php/examples/users/update-labels.md +++ b/docs/examples/1.6.x/server-php/examples/users/update-labels.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/update-mfa-recovery-codes.md b/docs/examples/1.6.x/server-php/examples/users/update-mfa-recovery-codes.md index 369c248f11..75214de880 100644 --- a/docs/examples/1.6.x/server-php/examples/users/update-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-php/examples/users/update-mfa-recovery-codes.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/update-mfa.md b/docs/examples/1.6.x/server-php/examples/users/update-mfa.md index 5df7aa265d..3eda496f1f 100644 --- a/docs/examples/1.6.x/server-php/examples/users/update-mfa.md +++ b/docs/examples/1.6.x/server-php/examples/users/update-mfa.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/update-name.md b/docs/examples/1.6.x/server-php/examples/users/update-name.md index 7050d19bcf..09bb07cdd7 100644 --- a/docs/examples/1.6.x/server-php/examples/users/update-name.md +++ b/docs/examples/1.6.x/server-php/examples/users/update-name.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/update-password.md b/docs/examples/1.6.x/server-php/examples/users/update-password.md index 8dcb57b6a4..6d58605d5c 100644 --- a/docs/examples/1.6.x/server-php/examples/users/update-password.md +++ b/docs/examples/1.6.x/server-php/examples/users/update-password.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/update-phone-verification.md b/docs/examples/1.6.x/server-php/examples/users/update-phone-verification.md index 12e44dade1..019fb3f148 100644 --- a/docs/examples/1.6.x/server-php/examples/users/update-phone-verification.md +++ b/docs/examples/1.6.x/server-php/examples/users/update-phone-verification.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/update-phone.md b/docs/examples/1.6.x/server-php/examples/users/update-phone.md index 95c31156ee..13bd41bfa8 100644 --- a/docs/examples/1.6.x/server-php/examples/users/update-phone.md +++ b/docs/examples/1.6.x/server-php/examples/users/update-phone.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/update-prefs.md b/docs/examples/1.6.x/server-php/examples/users/update-prefs.md index 2ffd93875b..9491239271 100644 --- a/docs/examples/1.6.x/server-php/examples/users/update-prefs.md +++ b/docs/examples/1.6.x/server-php/examples/users/update-prefs.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/update-status.md b/docs/examples/1.6.x/server-php/examples/users/update-status.md index 28a05320ce..f29dc95e2f 100644 --- a/docs/examples/1.6.x/server-php/examples/users/update-status.md +++ b/docs/examples/1.6.x/server-php/examples/users/update-status.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-php/examples/users/update-target.md b/docs/examples/1.6.x/server-php/examples/users/update-target.md index a1b654d901..00ad27b9a7 100644 --- a/docs/examples/1.6.x/server-php/examples/users/update-target.md +++ b/docs/examples/1.6.x/server-php/examples/users/update-target.md @@ -4,7 +4,7 @@ use Appwrite\Client; use Appwrite\Services\Users; $client = (new Client()) - ->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint + ->setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/account/create-anonymous-session.md b/docs/examples/1.6.x/server-python/examples/account/create-anonymous-session.md index ce5a92ad18..c3b7a87d27 100644 --- a/docs/examples/1.6.x/server-python/examples/account/create-anonymous-session.md +++ b/docs/examples/1.6.x/server-python/examples/account/create-anonymous-session.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/1.6.x/server-python/examples/account/create-email-password-session.md b/docs/examples/1.6.x/server-python/examples/account/create-email-password-session.md index 5e869fd40c..e831821a6c 100644 --- a/docs/examples/1.6.x/server-python/examples/account/create-email-password-session.md +++ b/docs/examples/1.6.x/server-python/examples/account/create-email-password-session.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/1.6.x/server-python/examples/account/create-email-token.md b/docs/examples/1.6.x/server-python/examples/account/create-email-token.md index 5cf2bfb085..7ff4f6b8a9 100644 --- a/docs/examples/1.6.x/server-python/examples/account/create-email-token.md +++ b/docs/examples/1.6.x/server-python/examples/account/create-email-token.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/1.6.x/server-python/examples/account/create-j-w-t.md b/docs/examples/1.6.x/server-python/examples/account/create-j-w-t.md index c737f1b8e9..172f45f996 100644 --- a/docs/examples/1.6.x/server-python/examples/account/create-j-w-t.md +++ b/docs/examples/1.6.x/server-python/examples/account/create-j-w-t.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/1.6.x/server-python/examples/account/create-magic-u-r-l-token.md b/docs/examples/1.6.x/server-python/examples/account/create-magic-u-r-l-token.md index 00778172bb..14e76ed4d3 100644 --- a/docs/examples/1.6.x/server-python/examples/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.6.x/server-python/examples/account/create-magic-u-r-l-token.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/1.6.x/server-python/examples/account/create-mfa-authenticator.md b/docs/examples/1.6.x/server-python/examples/account/create-mfa-authenticator.md index a6f09eb4f0..70cee1d60c 100644 --- a/docs/examples/1.6.x/server-python/examples/account/create-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-python/examples/account/create-mfa-authenticator.md @@ -3,7 +3,7 @@ from appwrite.services.account import Account from appwrite.enums import AuthenticatorType client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/account/create-mfa-challenge.md b/docs/examples/1.6.x/server-python/examples/account/create-mfa-challenge.md index deb4c9c600..abd746c605 100644 --- a/docs/examples/1.6.x/server-python/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.6.x/server-python/examples/account/create-mfa-challenge.md @@ -3,7 +3,7 @@ from appwrite.services.account import Account from appwrite.enums import AuthenticationFactor client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/1.6.x/server-python/examples/account/create-mfa-recovery-codes.md b/docs/examples/1.6.x/server-python/examples/account/create-mfa-recovery-codes.md index a149cb95b7..69aaa6091f 100644 --- a/docs/examples/1.6.x/server-python/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-python/examples/account/create-mfa-recovery-codes.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/account/create-o-auth2token.md b/docs/examples/1.6.x/server-python/examples/account/create-o-auth2token.md index fa11d31c31..2dc171bb31 100644 --- a/docs/examples/1.6.x/server-python/examples/account/create-o-auth2token.md +++ b/docs/examples/1.6.x/server-python/examples/account/create-o-auth2token.md @@ -3,7 +3,7 @@ from appwrite.services.account import Account from appwrite.enums import OAuthProvider client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/1.6.x/server-python/examples/account/create-phone-token.md b/docs/examples/1.6.x/server-python/examples/account/create-phone-token.md index d242d71bc1..06c2b20414 100644 --- a/docs/examples/1.6.x/server-python/examples/account/create-phone-token.md +++ b/docs/examples/1.6.x/server-python/examples/account/create-phone-token.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/1.6.x/server-python/examples/account/create-phone-verification.md b/docs/examples/1.6.x/server-python/examples/account/create-phone-verification.md index bb2058eb2a..c130646bee 100644 --- a/docs/examples/1.6.x/server-python/examples/account/create-phone-verification.md +++ b/docs/examples/1.6.x/server-python/examples/account/create-phone-verification.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/account/create-recovery.md b/docs/examples/1.6.x/server-python/examples/account/create-recovery.md index 3d215a400e..51c1777245 100644 --- a/docs/examples/1.6.x/server-python/examples/account/create-recovery.md +++ b/docs/examples/1.6.x/server-python/examples/account/create-recovery.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/account/create-session.md b/docs/examples/1.6.x/server-python/examples/account/create-session.md index d00e8cb899..1048dfedb2 100644 --- a/docs/examples/1.6.x/server-python/examples/account/create-session.md +++ b/docs/examples/1.6.x/server-python/examples/account/create-session.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/1.6.x/server-python/examples/account/create-verification.md b/docs/examples/1.6.x/server-python/examples/account/create-verification.md index 329d19e6fd..d66fc2cd7d 100644 --- a/docs/examples/1.6.x/server-python/examples/account/create-verification.md +++ b/docs/examples/1.6.x/server-python/examples/account/create-verification.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/account/create.md b/docs/examples/1.6.x/server-python/examples/account/create.md index 39b33c62ee..7eda5a37fe 100644 --- a/docs/examples/1.6.x/server-python/examples/account/create.md +++ b/docs/examples/1.6.x/server-python/examples/account/create.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/1.6.x/server-python/examples/account/delete-identity.md b/docs/examples/1.6.x/server-python/examples/account/delete-identity.md index 3556122de8..0c894fa693 100644 --- a/docs/examples/1.6.x/server-python/examples/account/delete-identity.md +++ b/docs/examples/1.6.x/server-python/examples/account/delete-identity.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/account/delete-mfa-authenticator.md b/docs/examples/1.6.x/server-python/examples/account/delete-mfa-authenticator.md index 939ea718c7..83709c7aff 100644 --- a/docs/examples/1.6.x/server-python/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-python/examples/account/delete-mfa-authenticator.md @@ -3,7 +3,7 @@ from appwrite.services.account import Account from appwrite.enums import AuthenticatorType client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/account/delete-session.md b/docs/examples/1.6.x/server-python/examples/account/delete-session.md index 9ddb4431d3..5967d7026a 100644 --- a/docs/examples/1.6.x/server-python/examples/account/delete-session.md +++ b/docs/examples/1.6.x/server-python/examples/account/delete-session.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/account/delete-sessions.md b/docs/examples/1.6.x/server-python/examples/account/delete-sessions.md index 751ab9bb2d..5061f84c5d 100644 --- a/docs/examples/1.6.x/server-python/examples/account/delete-sessions.md +++ b/docs/examples/1.6.x/server-python/examples/account/delete-sessions.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.6.x/server-python/examples/account/get-mfa-recovery-codes.md index f70b968274..c8fe494d0f 100644 --- a/docs/examples/1.6.x/server-python/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-python/examples/account/get-mfa-recovery-codes.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/account/get-prefs.md b/docs/examples/1.6.x/server-python/examples/account/get-prefs.md index 52df6450dc..d577b4b274 100644 --- a/docs/examples/1.6.x/server-python/examples/account/get-prefs.md +++ b/docs/examples/1.6.x/server-python/examples/account/get-prefs.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/account/get-session.md b/docs/examples/1.6.x/server-python/examples/account/get-session.md index f38466fb34..3e2937b913 100644 --- a/docs/examples/1.6.x/server-python/examples/account/get-session.md +++ b/docs/examples/1.6.x/server-python/examples/account/get-session.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/account/get.md b/docs/examples/1.6.x/server-python/examples/account/get.md index b414047e2d..542622851c 100644 --- a/docs/examples/1.6.x/server-python/examples/account/get.md +++ b/docs/examples/1.6.x/server-python/examples/account/get.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/account/list-identities.md b/docs/examples/1.6.x/server-python/examples/account/list-identities.md index 4bf9beb1b2..aeb23be747 100644 --- a/docs/examples/1.6.x/server-python/examples/account/list-identities.md +++ b/docs/examples/1.6.x/server-python/examples/account/list-identities.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/account/list-logs.md b/docs/examples/1.6.x/server-python/examples/account/list-logs.md index 5d8c27aded..67d193d186 100644 --- a/docs/examples/1.6.x/server-python/examples/account/list-logs.md +++ b/docs/examples/1.6.x/server-python/examples/account/list-logs.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/account/list-mfa-factors.md b/docs/examples/1.6.x/server-python/examples/account/list-mfa-factors.md index ba3796bf65..72a392465a 100644 --- a/docs/examples/1.6.x/server-python/examples/account/list-mfa-factors.md +++ b/docs/examples/1.6.x/server-python/examples/account/list-mfa-factors.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/account/list-sessions.md b/docs/examples/1.6.x/server-python/examples/account/list-sessions.md index 74733138cd..c553a7bce2 100644 --- a/docs/examples/1.6.x/server-python/examples/account/list-sessions.md +++ b/docs/examples/1.6.x/server-python/examples/account/list-sessions.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/account/update-email.md b/docs/examples/1.6.x/server-python/examples/account/update-email.md index 004d071da1..14de4fd41e 100644 --- a/docs/examples/1.6.x/server-python/examples/account/update-email.md +++ b/docs/examples/1.6.x/server-python/examples/account/update-email.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/account/update-m-f-a.md b/docs/examples/1.6.x/server-python/examples/account/update-m-f-a.md index 2f9321c485..7083d09642 100644 --- a/docs/examples/1.6.x/server-python/examples/account/update-m-f-a.md +++ b/docs/examples/1.6.x/server-python/examples/account/update-m-f-a.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.6.x/server-python/examples/account/update-magic-u-r-l-session.md index ca8e8e51a3..0146083030 100644 --- a/docs/examples/1.6.x/server-python/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.6.x/server-python/examples/account/update-magic-u-r-l-session.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/1.6.x/server-python/examples/account/update-mfa-authenticator.md b/docs/examples/1.6.x/server-python/examples/account/update-mfa-authenticator.md index a5a951906c..d53607fe10 100644 --- a/docs/examples/1.6.x/server-python/examples/account/update-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-python/examples/account/update-mfa-authenticator.md @@ -3,7 +3,7 @@ from appwrite.services.account import Account from appwrite.enums import AuthenticatorType client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/account/update-mfa-challenge.md b/docs/examples/1.6.x/server-python/examples/account/update-mfa-challenge.md index d28a2518d7..cfc58c58a2 100644 --- a/docs/examples/1.6.x/server-python/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.6.x/server-python/examples/account/update-mfa-challenge.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/account/update-mfa-recovery-codes.md b/docs/examples/1.6.x/server-python/examples/account/update-mfa-recovery-codes.md index 38cb41ca8d..51718eb03a 100644 --- a/docs/examples/1.6.x/server-python/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-python/examples/account/update-mfa-recovery-codes.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/account/update-name.md b/docs/examples/1.6.x/server-python/examples/account/update-name.md index 9b4bf8291d..534a94e8bb 100644 --- a/docs/examples/1.6.x/server-python/examples/account/update-name.md +++ b/docs/examples/1.6.x/server-python/examples/account/update-name.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/account/update-password.md b/docs/examples/1.6.x/server-python/examples/account/update-password.md index ecb4228df0..3c072e32d7 100644 --- a/docs/examples/1.6.x/server-python/examples/account/update-password.md +++ b/docs/examples/1.6.x/server-python/examples/account/update-password.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/account/update-phone-session.md b/docs/examples/1.6.x/server-python/examples/account/update-phone-session.md index d29ab28e39..52e77233a6 100644 --- a/docs/examples/1.6.x/server-python/examples/account/update-phone-session.md +++ b/docs/examples/1.6.x/server-python/examples/account/update-phone-session.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/1.6.x/server-python/examples/account/update-phone-verification.md b/docs/examples/1.6.x/server-python/examples/account/update-phone-verification.md index e64d79f6bd..bcc57dee71 100644 --- a/docs/examples/1.6.x/server-python/examples/account/update-phone-verification.md +++ b/docs/examples/1.6.x/server-python/examples/account/update-phone-verification.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/account/update-phone.md b/docs/examples/1.6.x/server-python/examples/account/update-phone.md index 65a6a387b3..a2cb7d3c83 100644 --- a/docs/examples/1.6.x/server-python/examples/account/update-phone.md +++ b/docs/examples/1.6.x/server-python/examples/account/update-phone.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/account/update-prefs.md b/docs/examples/1.6.x/server-python/examples/account/update-prefs.md index c3683007b7..e2ac7a28c1 100644 --- a/docs/examples/1.6.x/server-python/examples/account/update-prefs.md +++ b/docs/examples/1.6.x/server-python/examples/account/update-prefs.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/account/update-recovery.md b/docs/examples/1.6.x/server-python/examples/account/update-recovery.md index 2493dc5e53..ed140abc0f 100644 --- a/docs/examples/1.6.x/server-python/examples/account/update-recovery.md +++ b/docs/examples/1.6.x/server-python/examples/account/update-recovery.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/account/update-session.md b/docs/examples/1.6.x/server-python/examples/account/update-session.md index ee3a2f7543..abee773edc 100644 --- a/docs/examples/1.6.x/server-python/examples/account/update-session.md +++ b/docs/examples/1.6.x/server-python/examples/account/update-session.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/account/update-status.md b/docs/examples/1.6.x/server-python/examples/account/update-status.md index c8318a43ce..a5272f09de 100644 --- a/docs/examples/1.6.x/server-python/examples/account/update-status.md +++ b/docs/examples/1.6.x/server-python/examples/account/update-status.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/account/update-verification.md b/docs/examples/1.6.x/server-python/examples/account/update-verification.md index 63a7f26322..fbc7af5302 100644 --- a/docs/examples/1.6.x/server-python/examples/account/update-verification.md +++ b/docs/examples/1.6.x/server-python/examples/account/update-verification.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.account import Account client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/avatars/get-browser.md b/docs/examples/1.6.x/server-python/examples/avatars/get-browser.md index 7ed831835f..c7ae77f082 100644 --- a/docs/examples/1.6.x/server-python/examples/avatars/get-browser.md +++ b/docs/examples/1.6.x/server-python/examples/avatars/get-browser.md @@ -3,7 +3,7 @@ from appwrite.services.avatars import Avatars from appwrite.enums import Browser client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/avatars/get-credit-card.md b/docs/examples/1.6.x/server-python/examples/avatars/get-credit-card.md index aa66b86b2d..160636de7e 100644 --- a/docs/examples/1.6.x/server-python/examples/avatars/get-credit-card.md +++ b/docs/examples/1.6.x/server-python/examples/avatars/get-credit-card.md @@ -3,7 +3,7 @@ from appwrite.services.avatars import Avatars from appwrite.enums import CreditCard client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/avatars/get-favicon.md b/docs/examples/1.6.x/server-python/examples/avatars/get-favicon.md index 2c6a67e2f2..f034ea41f3 100644 --- a/docs/examples/1.6.x/server-python/examples/avatars/get-favicon.md +++ b/docs/examples/1.6.x/server-python/examples/avatars/get-favicon.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.avatars import Avatars client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/avatars/get-flag.md b/docs/examples/1.6.x/server-python/examples/avatars/get-flag.md index 435c8550f7..844dbb6a25 100644 --- a/docs/examples/1.6.x/server-python/examples/avatars/get-flag.md +++ b/docs/examples/1.6.x/server-python/examples/avatars/get-flag.md @@ -3,7 +3,7 @@ from appwrite.services.avatars import Avatars from appwrite.enums import Flag client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/avatars/get-image.md b/docs/examples/1.6.x/server-python/examples/avatars/get-image.md index ee9e0cb15e..9272c4d8fb 100644 --- a/docs/examples/1.6.x/server-python/examples/avatars/get-image.md +++ b/docs/examples/1.6.x/server-python/examples/avatars/get-image.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.avatars import Avatars client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/avatars/get-initials.md b/docs/examples/1.6.x/server-python/examples/avatars/get-initials.md index edcbbb33ec..2729ff5133 100644 --- a/docs/examples/1.6.x/server-python/examples/avatars/get-initials.md +++ b/docs/examples/1.6.x/server-python/examples/avatars/get-initials.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.avatars import Avatars client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/avatars/get-q-r.md b/docs/examples/1.6.x/server-python/examples/avatars/get-q-r.md index 7f6da32ddf..3fb76a7f7c 100644 --- a/docs/examples/1.6.x/server-python/examples/avatars/get-q-r.md +++ b/docs/examples/1.6.x/server-python/examples/avatars/get-q-r.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.avatars import Avatars client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/databases/create-boolean-attribute.md b/docs/examples/1.6.x/server-python/examples/databases/create-boolean-attribute.md index 2b4209db9d..f12f446d30 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.6.x/server-python/examples/databases/create-boolean-attribute.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/create-collection.md b/docs/examples/1.6.x/server-python/examples/databases/create-collection.md index 99c44a2f9f..596d4a9383 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/create-collection.md +++ b/docs/examples/1.6.x/server-python/examples/databases/create-collection.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/create-datetime-attribute.md b/docs/examples/1.6.x/server-python/examples/databases/create-datetime-attribute.md index db81c021e2..8fd59e694f 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.6.x/server-python/examples/databases/create-datetime-attribute.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/create-document.md b/docs/examples/1.6.x/server-python/examples/databases/create-document.md index 22f2c07396..1eaf0246f3 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/create-document.md +++ b/docs/examples/1.6.x/server-python/examples/databases/create-document.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/databases/create-email-attribute.md b/docs/examples/1.6.x/server-python/examples/databases/create-email-attribute.md index 2e28e0bfff..230567aa46 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/create-email-attribute.md +++ b/docs/examples/1.6.x/server-python/examples/databases/create-email-attribute.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/create-enum-attribute.md b/docs/examples/1.6.x/server-python/examples/databases/create-enum-attribute.md index b1efdc7dc3..de1ceb9f1f 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.6.x/server-python/examples/databases/create-enum-attribute.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/create-float-attribute.md b/docs/examples/1.6.x/server-python/examples/databases/create-float-attribute.md index b36863b8ee..53305c8d4e 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/create-float-attribute.md +++ b/docs/examples/1.6.x/server-python/examples/databases/create-float-attribute.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/create-index.md b/docs/examples/1.6.x/server-python/examples/databases/create-index.md index 9885c06e95..fe78b5e152 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/create-index.md +++ b/docs/examples/1.6.x/server-python/examples/databases/create-index.md @@ -3,7 +3,7 @@ from appwrite.services.databases import Databases from appwrite.enums import IndexType client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/create-integer-attribute.md b/docs/examples/1.6.x/server-python/examples/databases/create-integer-attribute.md index 8cb140a7b9..92e8b0f86a 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.6.x/server-python/examples/databases/create-integer-attribute.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/create-ip-attribute.md b/docs/examples/1.6.x/server-python/examples/databases/create-ip-attribute.md index d4b4ab6528..a7f424b22c 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.6.x/server-python/examples/databases/create-ip-attribute.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/create-relationship-attribute.md b/docs/examples/1.6.x/server-python/examples/databases/create-relationship-attribute.md index 4172c27249..6c8f4dc5bb 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.6.x/server-python/examples/databases/create-relationship-attribute.md @@ -3,7 +3,7 @@ from appwrite.services.databases import Databases from appwrite.enums import RelationshipType client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/create-string-attribute.md b/docs/examples/1.6.x/server-python/examples/databases/create-string-attribute.md index e69687124d..dc434cccaf 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/create-string-attribute.md +++ b/docs/examples/1.6.x/server-python/examples/databases/create-string-attribute.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/create-url-attribute.md b/docs/examples/1.6.x/server-python/examples/databases/create-url-attribute.md index 4ad03c4010..af375733dd 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/create-url-attribute.md +++ b/docs/examples/1.6.x/server-python/examples/databases/create-url-attribute.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/create.md b/docs/examples/1.6.x/server-python/examples/databases/create.md index d5cbb99eed..0492203e4c 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/create.md +++ b/docs/examples/1.6.x/server-python/examples/databases/create.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/delete-attribute.md b/docs/examples/1.6.x/server-python/examples/databases/delete-attribute.md index b317ba9dd4..e1c4eecd01 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/delete-attribute.md +++ b/docs/examples/1.6.x/server-python/examples/databases/delete-attribute.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/delete-collection.md b/docs/examples/1.6.x/server-python/examples/databases/delete-collection.md index ab274c6bdf..02f1e1c536 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/delete-collection.md +++ b/docs/examples/1.6.x/server-python/examples/databases/delete-collection.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/delete-document.md b/docs/examples/1.6.x/server-python/examples/databases/delete-document.md index 69151aad9e..57f8b3bd9d 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/delete-document.md +++ b/docs/examples/1.6.x/server-python/examples/databases/delete-document.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/databases/delete-index.md b/docs/examples/1.6.x/server-python/examples/databases/delete-index.md index 2ed0165b36..006006421d 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/delete-index.md +++ b/docs/examples/1.6.x/server-python/examples/databases/delete-index.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/delete.md b/docs/examples/1.6.x/server-python/examples/databases/delete.md index e7e988a9a5..be64e8c628 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/delete.md +++ b/docs/examples/1.6.x/server-python/examples/databases/delete.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/get-attribute.md b/docs/examples/1.6.x/server-python/examples/databases/get-attribute.md index a717552659..dcdb0a6ea9 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/get-attribute.md +++ b/docs/examples/1.6.x/server-python/examples/databases/get-attribute.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/get-collection.md b/docs/examples/1.6.x/server-python/examples/databases/get-collection.md index f63298ebed..0833b4fd7e 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/get-collection.md +++ b/docs/examples/1.6.x/server-python/examples/databases/get-collection.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/get-document.md b/docs/examples/1.6.x/server-python/examples/databases/get-document.md index acdc25de7e..aff5008fa0 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/get-document.md +++ b/docs/examples/1.6.x/server-python/examples/databases/get-document.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/databases/get-index.md b/docs/examples/1.6.x/server-python/examples/databases/get-index.md index ca5a9958ad..6971683072 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/get-index.md +++ b/docs/examples/1.6.x/server-python/examples/databases/get-index.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/get.md b/docs/examples/1.6.x/server-python/examples/databases/get.md index deadf6ab41..c8191a3777 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/get.md +++ b/docs/examples/1.6.x/server-python/examples/databases/get.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/list-attributes.md b/docs/examples/1.6.x/server-python/examples/databases/list-attributes.md index 245ec60c19..c97a5ced64 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/list-attributes.md +++ b/docs/examples/1.6.x/server-python/examples/databases/list-attributes.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/list-collections.md b/docs/examples/1.6.x/server-python/examples/databases/list-collections.md index ca18267250..17d0a3d878 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/list-collections.md +++ b/docs/examples/1.6.x/server-python/examples/databases/list-collections.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/list-documents.md b/docs/examples/1.6.x/server-python/examples/databases/list-documents.md index 41f0380e15..8b450cd020 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/list-documents.md +++ b/docs/examples/1.6.x/server-python/examples/databases/list-documents.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/databases/list-indexes.md b/docs/examples/1.6.x/server-python/examples/databases/list-indexes.md index bf18bd1c95..1457151a4e 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/list-indexes.md +++ b/docs/examples/1.6.x/server-python/examples/databases/list-indexes.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/list.md b/docs/examples/1.6.x/server-python/examples/databases/list.md index 11669b3453..58336c9f89 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/list.md +++ b/docs/examples/1.6.x/server-python/examples/databases/list.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/update-boolean-attribute.md b/docs/examples/1.6.x/server-python/examples/databases/update-boolean-attribute.md index c9300ea57d..a0f72a49fb 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.6.x/server-python/examples/databases/update-boolean-attribute.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/update-collection.md b/docs/examples/1.6.x/server-python/examples/databases/update-collection.md index d9297285ee..2e5be50581 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/update-collection.md +++ b/docs/examples/1.6.x/server-python/examples/databases/update-collection.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/update-datetime-attribute.md b/docs/examples/1.6.x/server-python/examples/databases/update-datetime-attribute.md index 96c7fb5439..29bc6be4d1 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.6.x/server-python/examples/databases/update-datetime-attribute.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/update-document.md b/docs/examples/1.6.x/server-python/examples/databases/update-document.md index 7b9cce9513..9ef6527934 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/update-document.md +++ b/docs/examples/1.6.x/server-python/examples/databases/update-document.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/databases/update-email-attribute.md b/docs/examples/1.6.x/server-python/examples/databases/update-email-attribute.md index 5b042d4b72..c833789a37 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/update-email-attribute.md +++ b/docs/examples/1.6.x/server-python/examples/databases/update-email-attribute.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/update-enum-attribute.md b/docs/examples/1.6.x/server-python/examples/databases/update-enum-attribute.md index caa1b4ecdb..6186a72a66 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.6.x/server-python/examples/databases/update-enum-attribute.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/update-float-attribute.md b/docs/examples/1.6.x/server-python/examples/databases/update-float-attribute.md index 8f8a35a2c8..68cb7d7929 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/update-float-attribute.md +++ b/docs/examples/1.6.x/server-python/examples/databases/update-float-attribute.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key @@ -13,8 +13,8 @@ result = databases.update_float_attribute( collection_id = '<COLLECTION_ID>', key = '', required = False, - min = None, - max = None, default = None, + min = None, # optional + max = None, # optional new_key = '' # optional ) diff --git a/docs/examples/1.6.x/server-python/examples/databases/update-integer-attribute.md b/docs/examples/1.6.x/server-python/examples/databases/update-integer-attribute.md index 125cf825bf..05c6bfe915 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.6.x/server-python/examples/databases/update-integer-attribute.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key @@ -13,8 +13,8 @@ result = databases.update_integer_attribute( collection_id = '<COLLECTION_ID>', key = '', required = False, - min = None, - max = None, default = None, + min = None, # optional + max = None, # optional new_key = '' # optional ) diff --git a/docs/examples/1.6.x/server-python/examples/databases/update-ip-attribute.md b/docs/examples/1.6.x/server-python/examples/databases/update-ip-attribute.md index a2b8bad201..550d3af641 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.6.x/server-python/examples/databases/update-ip-attribute.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/update-relationship-attribute.md b/docs/examples/1.6.x/server-python/examples/databases/update-relationship-attribute.md index 0aacc139a0..3b6c8e93e9 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.6.x/server-python/examples/databases/update-relationship-attribute.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/update-string-attribute.md b/docs/examples/1.6.x/server-python/examples/databases/update-string-attribute.md index c85eb25f59..5b66fb015c 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/update-string-attribute.md +++ b/docs/examples/1.6.x/server-python/examples/databases/update-string-attribute.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/update-url-attribute.md b/docs/examples/1.6.x/server-python/examples/databases/update-url-attribute.md index 53da6ae45f..4a6202760f 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/update-url-attribute.md +++ b/docs/examples/1.6.x/server-python/examples/databases/update-url-attribute.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/databases/update.md b/docs/examples/1.6.x/server-python/examples/databases/update.md index da59776b3e..35d2c0cc40 100644 --- a/docs/examples/1.6.x/server-python/examples/databases/update.md +++ b/docs/examples/1.6.x/server-python/examples/databases/update.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.databases import Databases client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/functions/create-build.md b/docs/examples/1.6.x/server-python/examples/functions/create-build.md index ce2ffb72f5..3d784b0e7c 100644 --- a/docs/examples/1.6.x/server-python/examples/functions/create-build.md +++ b/docs/examples/1.6.x/server-python/examples/functions/create-build.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.functions import Functions client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/functions/create-deployment.md b/docs/examples/1.6.x/server-python/examples/functions/create-deployment.md index c86fdf679d..0774005729 100644 --- a/docs/examples/1.6.x/server-python/examples/functions/create-deployment.md +++ b/docs/examples/1.6.x/server-python/examples/functions/create-deployment.md @@ -3,7 +3,7 @@ from appwrite.services.functions import Functions from appwrite.input_file import InputFile client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/functions/create-execution.md b/docs/examples/1.6.x/server-python/examples/functions/create-execution.md index cb3fddd02b..b41c7e376c 100644 --- a/docs/examples/1.6.x/server-python/examples/functions/create-execution.md +++ b/docs/examples/1.6.x/server-python/examples/functions/create-execution.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.functions import Functions client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/functions/create-variable.md b/docs/examples/1.6.x/server-python/examples/functions/create-variable.md index 101ecdf315..84c286f560 100644 --- a/docs/examples/1.6.x/server-python/examples/functions/create-variable.md +++ b/docs/examples/1.6.x/server-python/examples/functions/create-variable.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.functions import Functions client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/functions/create.md b/docs/examples/1.6.x/server-python/examples/functions/create.md index f10a953ca8..68d6e99c6e 100644 --- a/docs/examples/1.6.x/server-python/examples/functions/create.md +++ b/docs/examples/1.6.x/server-python/examples/functions/create.md @@ -3,7 +3,7 @@ from appwrite.services.functions import Functions from appwrite.enums import client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/functions/delete-deployment.md b/docs/examples/1.6.x/server-python/examples/functions/delete-deployment.md index f98bd60a9b..f874b2d270 100644 --- a/docs/examples/1.6.x/server-python/examples/functions/delete-deployment.md +++ b/docs/examples/1.6.x/server-python/examples/functions/delete-deployment.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.functions import Functions client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/functions/delete-execution.md b/docs/examples/1.6.x/server-python/examples/functions/delete-execution.md index b723fd6c47..df7ce7cb5b 100644 --- a/docs/examples/1.6.x/server-python/examples/functions/delete-execution.md +++ b/docs/examples/1.6.x/server-python/examples/functions/delete-execution.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.functions import Functions client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/functions/delete-variable.md b/docs/examples/1.6.x/server-python/examples/functions/delete-variable.md index e17afed363..a6e3dc853c 100644 --- a/docs/examples/1.6.x/server-python/examples/functions/delete-variable.md +++ b/docs/examples/1.6.x/server-python/examples/functions/delete-variable.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.functions import Functions client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/functions/delete.md b/docs/examples/1.6.x/server-python/examples/functions/delete.md index a34d476744..ed2fef76c7 100644 --- a/docs/examples/1.6.x/server-python/examples/functions/delete.md +++ b/docs/examples/1.6.x/server-python/examples/functions/delete.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.functions import Functions client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/functions/get-deployment-download.md b/docs/examples/1.6.x/server-python/examples/functions/get-deployment-download.md index 90f029aff5..8cc16faec1 100644 --- a/docs/examples/1.6.x/server-python/examples/functions/get-deployment-download.md +++ b/docs/examples/1.6.x/server-python/examples/functions/get-deployment-download.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.functions import Functions client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/functions/get-deployment.md b/docs/examples/1.6.x/server-python/examples/functions/get-deployment.md index 0617b0429c..59a1374e0f 100644 --- a/docs/examples/1.6.x/server-python/examples/functions/get-deployment.md +++ b/docs/examples/1.6.x/server-python/examples/functions/get-deployment.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.functions import Functions client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/functions/get-execution.md b/docs/examples/1.6.x/server-python/examples/functions/get-execution.md index 0a9a347409..a299f35195 100644 --- a/docs/examples/1.6.x/server-python/examples/functions/get-execution.md +++ b/docs/examples/1.6.x/server-python/examples/functions/get-execution.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.functions import Functions client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/functions/get-variable.md b/docs/examples/1.6.x/server-python/examples/functions/get-variable.md index 174c8b27bf..629948e909 100644 --- a/docs/examples/1.6.x/server-python/examples/functions/get-variable.md +++ b/docs/examples/1.6.x/server-python/examples/functions/get-variable.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.functions import Functions client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/functions/get.md b/docs/examples/1.6.x/server-python/examples/functions/get.md index a463fa6b28..eeab5a556b 100644 --- a/docs/examples/1.6.x/server-python/examples/functions/get.md +++ b/docs/examples/1.6.x/server-python/examples/functions/get.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.functions import Functions client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/functions/list-deployments.md b/docs/examples/1.6.x/server-python/examples/functions/list-deployments.md index 4d8feea927..4eb92f60df 100644 --- a/docs/examples/1.6.x/server-python/examples/functions/list-deployments.md +++ b/docs/examples/1.6.x/server-python/examples/functions/list-deployments.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.functions import Functions client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/functions/list-executions.md b/docs/examples/1.6.x/server-python/examples/functions/list-executions.md index 293bab047a..e83f7271fa 100644 --- a/docs/examples/1.6.x/server-python/examples/functions/list-executions.md +++ b/docs/examples/1.6.x/server-python/examples/functions/list-executions.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.functions import Functions client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/functions/list-runtimes.md b/docs/examples/1.6.x/server-python/examples/functions/list-runtimes.md index b6247330d0..9c89a36f0c 100644 --- a/docs/examples/1.6.x/server-python/examples/functions/list-runtimes.md +++ b/docs/examples/1.6.x/server-python/examples/functions/list-runtimes.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.functions import Functions client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/functions/list-specifications.md b/docs/examples/1.6.x/server-python/examples/functions/list-specifications.md index 5e1ec7fd61..d7d0036d35 100644 --- a/docs/examples/1.6.x/server-python/examples/functions/list-specifications.md +++ b/docs/examples/1.6.x/server-python/examples/functions/list-specifications.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.functions import Functions client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/functions/list-variables.md b/docs/examples/1.6.x/server-python/examples/functions/list-variables.md index ee1a516c5e..ebc19c5ba4 100644 --- a/docs/examples/1.6.x/server-python/examples/functions/list-variables.md +++ b/docs/examples/1.6.x/server-python/examples/functions/list-variables.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.functions import Functions client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/functions/list.md b/docs/examples/1.6.x/server-python/examples/functions/list.md index 0b5f18d70a..b1d696d25a 100644 --- a/docs/examples/1.6.x/server-python/examples/functions/list.md +++ b/docs/examples/1.6.x/server-python/examples/functions/list.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.functions import Functions client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/functions/update-deployment-build.md b/docs/examples/1.6.x/server-python/examples/functions/update-deployment-build.md index c69cd7c181..ef2b8a6d04 100644 --- a/docs/examples/1.6.x/server-python/examples/functions/update-deployment-build.md +++ b/docs/examples/1.6.x/server-python/examples/functions/update-deployment-build.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.functions import Functions client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/functions/update-deployment.md b/docs/examples/1.6.x/server-python/examples/functions/update-deployment.md index 0f4c96e85c..6b96434a46 100644 --- a/docs/examples/1.6.x/server-python/examples/functions/update-deployment.md +++ b/docs/examples/1.6.x/server-python/examples/functions/update-deployment.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.functions import Functions client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/functions/update-variable.md b/docs/examples/1.6.x/server-python/examples/functions/update-variable.md index bcab3685a2..e333ec1193 100644 --- a/docs/examples/1.6.x/server-python/examples/functions/update-variable.md +++ b/docs/examples/1.6.x/server-python/examples/functions/update-variable.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.functions import Functions client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/functions/update.md b/docs/examples/1.6.x/server-python/examples/functions/update.md index a7282412cc..64ee39b29d 100644 --- a/docs/examples/1.6.x/server-python/examples/functions/update.md +++ b/docs/examples/1.6.x/server-python/examples/functions/update.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.functions import Functions client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/graphql/mutation.md b/docs/examples/1.6.x/server-python/examples/graphql/mutation.md index e05f602719..189892a4ad 100644 --- a/docs/examples/1.6.x/server-python/examples/graphql/mutation.md +++ b/docs/examples/1.6.x/server-python/examples/graphql/mutation.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.graphql import Graphql client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/graphql/query.md b/docs/examples/1.6.x/server-python/examples/graphql/query.md index c8f3c78a1a..585a5029b5 100644 --- a/docs/examples/1.6.x/server-python/examples/graphql/query.md +++ b/docs/examples/1.6.x/server-python/examples/graphql/query.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.graphql import Graphql client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/health/get-antivirus.md b/docs/examples/1.6.x/server-python/examples/health/get-antivirus.md index 7bc0475abf..2b621472ee 100644 --- a/docs/examples/1.6.x/server-python/examples/health/get-antivirus.md +++ b/docs/examples/1.6.x/server-python/examples/health/get-antivirus.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.health import Health client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/health/get-cache.md b/docs/examples/1.6.x/server-python/examples/health/get-cache.md index 7e69825ecf..595c4bf0a5 100644 --- a/docs/examples/1.6.x/server-python/examples/health/get-cache.md +++ b/docs/examples/1.6.x/server-python/examples/health/get-cache.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.health import Health client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/health/get-certificate.md b/docs/examples/1.6.x/server-python/examples/health/get-certificate.md index f6a713e2f3..5b3e2c0ad3 100644 --- a/docs/examples/1.6.x/server-python/examples/health/get-certificate.md +++ b/docs/examples/1.6.x/server-python/examples/health/get-certificate.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.health import Health client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/health/get-d-b.md b/docs/examples/1.6.x/server-python/examples/health/get-d-b.md index a23a073ac7..47c7bd8efb 100644 --- a/docs/examples/1.6.x/server-python/examples/health/get-d-b.md +++ b/docs/examples/1.6.x/server-python/examples/health/get-d-b.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.health import Health client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/health/get-failed-jobs.md b/docs/examples/1.6.x/server-python/examples/health/get-failed-jobs.md index d0fe64f7f3..5362a2d02a 100644 --- a/docs/examples/1.6.x/server-python/examples/health/get-failed-jobs.md +++ b/docs/examples/1.6.x/server-python/examples/health/get-failed-jobs.md @@ -3,7 +3,7 @@ from appwrite.services.health import Health from appwrite.enums import client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/health/get-pub-sub.md b/docs/examples/1.6.x/server-python/examples/health/get-pub-sub.md index 109b2889f6..e5115d06b8 100644 --- a/docs/examples/1.6.x/server-python/examples/health/get-pub-sub.md +++ b/docs/examples/1.6.x/server-python/examples/health/get-pub-sub.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.health import Health client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/health/get-queue-builds.md b/docs/examples/1.6.x/server-python/examples/health/get-queue-builds.md index b1d4d62116..18ed8e3023 100644 --- a/docs/examples/1.6.x/server-python/examples/health/get-queue-builds.md +++ b/docs/examples/1.6.x/server-python/examples/health/get-queue-builds.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.health import Health client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/health/get-queue-certificates.md b/docs/examples/1.6.x/server-python/examples/health/get-queue-certificates.md index 99f52b8eda..b0a29e2d5b 100644 --- a/docs/examples/1.6.x/server-python/examples/health/get-queue-certificates.md +++ b/docs/examples/1.6.x/server-python/examples/health/get-queue-certificates.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.health import Health client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/health/get-queue-databases.md b/docs/examples/1.6.x/server-python/examples/health/get-queue-databases.md index 7d5e5a0c58..491d1f7c35 100644 --- a/docs/examples/1.6.x/server-python/examples/health/get-queue-databases.md +++ b/docs/examples/1.6.x/server-python/examples/health/get-queue-databases.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.health import Health client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/health/get-queue-deletes.md b/docs/examples/1.6.x/server-python/examples/health/get-queue-deletes.md index d677af582e..fa860c6111 100644 --- a/docs/examples/1.6.x/server-python/examples/health/get-queue-deletes.md +++ b/docs/examples/1.6.x/server-python/examples/health/get-queue-deletes.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.health import Health client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/health/get-queue-functions.md b/docs/examples/1.6.x/server-python/examples/health/get-queue-functions.md index 3ffc4b8f52..d4ca9388d9 100644 --- a/docs/examples/1.6.x/server-python/examples/health/get-queue-functions.md +++ b/docs/examples/1.6.x/server-python/examples/health/get-queue-functions.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.health import Health client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/health/get-queue-logs.md b/docs/examples/1.6.x/server-python/examples/health/get-queue-logs.md index 0cb6417f4f..1479f03634 100644 --- a/docs/examples/1.6.x/server-python/examples/health/get-queue-logs.md +++ b/docs/examples/1.6.x/server-python/examples/health/get-queue-logs.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.health import Health client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/health/get-queue-mails.md b/docs/examples/1.6.x/server-python/examples/health/get-queue-mails.md index 97a501cc1c..6835efeaa4 100644 --- a/docs/examples/1.6.x/server-python/examples/health/get-queue-mails.md +++ b/docs/examples/1.6.x/server-python/examples/health/get-queue-mails.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.health import Health client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/health/get-queue-messaging.md b/docs/examples/1.6.x/server-python/examples/health/get-queue-messaging.md index ea93eab6dc..34cbad2f31 100644 --- a/docs/examples/1.6.x/server-python/examples/health/get-queue-messaging.md +++ b/docs/examples/1.6.x/server-python/examples/health/get-queue-messaging.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.health import Health client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/health/get-queue-migrations.md b/docs/examples/1.6.x/server-python/examples/health/get-queue-migrations.md index 09e35dfa9d..019db4e811 100644 --- a/docs/examples/1.6.x/server-python/examples/health/get-queue-migrations.md +++ b/docs/examples/1.6.x/server-python/examples/health/get-queue-migrations.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.health import Health client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/health/get-queue-stats-resources.md b/docs/examples/1.6.x/server-python/examples/health/get-queue-stats-resources.md new file mode 100644 index 0000000000..92aebc3c91 --- /dev/null +++ b/docs/examples/1.6.x/server-python/examples/health/get-queue-stats-resources.md @@ -0,0 +1,13 @@ +from appwrite.client import Client +from appwrite.services.health import Health + +client = Client() +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key + +health = Health(client) + +result = health.get_queue_stats_resources( + threshold = None # optional +) diff --git a/docs/examples/1.6.x/server-python/examples/health/get-queue-usage-dump.md b/docs/examples/1.6.x/server-python/examples/health/get-queue-usage-dump.md index dabb79ae96..e5e27a7912 100644 --- a/docs/examples/1.6.x/server-python/examples/health/get-queue-usage-dump.md +++ b/docs/examples/1.6.x/server-python/examples/health/get-queue-usage-dump.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.health import Health client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/health/get-queue-usage.md b/docs/examples/1.6.x/server-python/examples/health/get-queue-usage.md index dbee75fce0..266ca828b1 100644 --- a/docs/examples/1.6.x/server-python/examples/health/get-queue-usage.md +++ b/docs/examples/1.6.x/server-python/examples/health/get-queue-usage.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.health import Health client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/health/get-queue-webhooks.md b/docs/examples/1.6.x/server-python/examples/health/get-queue-webhooks.md index 1072a20def..df5e2d56db 100644 --- a/docs/examples/1.6.x/server-python/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.6.x/server-python/examples/health/get-queue-webhooks.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.health import Health client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/health/get-queue.md b/docs/examples/1.6.x/server-python/examples/health/get-queue.md index aafe7c7dd0..3cafb9be95 100644 --- a/docs/examples/1.6.x/server-python/examples/health/get-queue.md +++ b/docs/examples/1.6.x/server-python/examples/health/get-queue.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.health import Health client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/health/get-storage-local.md b/docs/examples/1.6.x/server-python/examples/health/get-storage-local.md index d3b94b2177..7d2ea44f45 100644 --- a/docs/examples/1.6.x/server-python/examples/health/get-storage-local.md +++ b/docs/examples/1.6.x/server-python/examples/health/get-storage-local.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.health import Health client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/health/get-storage.md b/docs/examples/1.6.x/server-python/examples/health/get-storage.md index 65af2f959d..821d9f3986 100644 --- a/docs/examples/1.6.x/server-python/examples/health/get-storage.md +++ b/docs/examples/1.6.x/server-python/examples/health/get-storage.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.health import Health client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/health/get-time.md b/docs/examples/1.6.x/server-python/examples/health/get-time.md index d63beb988b..907e96499b 100644 --- a/docs/examples/1.6.x/server-python/examples/health/get-time.md +++ b/docs/examples/1.6.x/server-python/examples/health/get-time.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.health import Health client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/health/get.md b/docs/examples/1.6.x/server-python/examples/health/get.md index f5c494e12d..c544fcc9b6 100644 --- a/docs/examples/1.6.x/server-python/examples/health/get.md +++ b/docs/examples/1.6.x/server-python/examples/health/get.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.health import Health client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/locale/get.md b/docs/examples/1.6.x/server-python/examples/locale/get.md index a44f4974ac..6f2a877b0c 100644 --- a/docs/examples/1.6.x/server-python/examples/locale/get.md +++ b/docs/examples/1.6.x/server-python/examples/locale/get.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.locale import Locale client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/locale/list-codes.md b/docs/examples/1.6.x/server-python/examples/locale/list-codes.md index 12cd12ee70..5f3e501fe1 100644 --- a/docs/examples/1.6.x/server-python/examples/locale/list-codes.md +++ b/docs/examples/1.6.x/server-python/examples/locale/list-codes.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.locale import Locale client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/locale/list-continents.md b/docs/examples/1.6.x/server-python/examples/locale/list-continents.md index ea4ac5312d..0aead81734 100644 --- a/docs/examples/1.6.x/server-python/examples/locale/list-continents.md +++ b/docs/examples/1.6.x/server-python/examples/locale/list-continents.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.locale import Locale client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/locale/list-countries-e-u.md b/docs/examples/1.6.x/server-python/examples/locale/list-countries-e-u.md index 7fb6aaa59e..f88e331f43 100644 --- a/docs/examples/1.6.x/server-python/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.6.x/server-python/examples/locale/list-countries-e-u.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.locale import Locale client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/locale/list-countries-phones.md b/docs/examples/1.6.x/server-python/examples/locale/list-countries-phones.md index aafdb3d547..b1fdc1ae51 100644 --- a/docs/examples/1.6.x/server-python/examples/locale/list-countries-phones.md +++ b/docs/examples/1.6.x/server-python/examples/locale/list-countries-phones.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.locale import Locale client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/locale/list-countries.md b/docs/examples/1.6.x/server-python/examples/locale/list-countries.md index a2f1ec458d..0c5b23cdd1 100644 --- a/docs/examples/1.6.x/server-python/examples/locale/list-countries.md +++ b/docs/examples/1.6.x/server-python/examples/locale/list-countries.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.locale import Locale client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/locale/list-currencies.md b/docs/examples/1.6.x/server-python/examples/locale/list-currencies.md index 39267c663c..20009d6569 100644 --- a/docs/examples/1.6.x/server-python/examples/locale/list-currencies.md +++ b/docs/examples/1.6.x/server-python/examples/locale/list-currencies.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.locale import Locale client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/locale/list-languages.md b/docs/examples/1.6.x/server-python/examples/locale/list-languages.md index 6dec1b9072..1962a8399e 100644 --- a/docs/examples/1.6.x/server-python/examples/locale/list-languages.md +++ b/docs/examples/1.6.x/server-python/examples/locale/list-languages.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.locale import Locale client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/messaging/create-apns-provider.md b/docs/examples/1.6.x/server-python/examples/messaging/create-apns-provider.md index 700e909c44..b57fa00f23 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/create-apns-provider.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/create-apns-provider.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/create-email.md b/docs/examples/1.6.x/server-python/examples/messaging/create-email.md index 92353e22c2..8b4c9d267e 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/create-email.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/create-email.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/create-fcm-provider.md b/docs/examples/1.6.x/server-python/examples/messaging/create-fcm-provider.md index d13ba0213d..9c40eb7828 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/create-fcm-provider.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/create-fcm-provider.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/create-mailgun-provider.md b/docs/examples/1.6.x/server-python/examples/messaging/create-mailgun-provider.md index 83899716d7..6703f6fdcc 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/create-mailgun-provider.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/create-mailgun-provider.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/create-msg91provider.md b/docs/examples/1.6.x/server-python/examples/messaging/create-msg91provider.md index 117c46edca..9315dcdd30 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/create-msg91provider.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/create-msg91provider.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/create-push.md b/docs/examples/1.6.x/server-python/examples/messaging/create-push.md index d4051859df..8671b56a39 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/create-push.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/create-push.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/create-sendgrid-provider.md b/docs/examples/1.6.x/server-python/examples/messaging/create-sendgrid-provider.md index 5d20cde78d..46ff54f166 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/create-sendgrid-provider.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/create-sendgrid-provider.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/create-sms.md b/docs/examples/1.6.x/server-python/examples/messaging/create-sms.md index c7e66d8c75..d1c7b495b2 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/create-sms.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/create-sms.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/create-smtp-provider.md b/docs/examples/1.6.x/server-python/examples/messaging/create-smtp-provider.md index 85c58236c0..99914f0779 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/create-smtp-provider.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/create-smtp-provider.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/create-subscriber.md b/docs/examples/1.6.x/server-python/examples/messaging/create-subscriber.md index cb8f4f748d..bc0c892b48 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/create-subscriber.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/create-subscriber.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_jwt('<YOUR_JWT>') # Your secret JSON Web Token diff --git a/docs/examples/1.6.x/server-python/examples/messaging/create-telesign-provider.md b/docs/examples/1.6.x/server-python/examples/messaging/create-telesign-provider.md index b602213b78..aff09fe852 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/create-telesign-provider.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/create-telesign-provider.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/create-textmagic-provider.md b/docs/examples/1.6.x/server-python/examples/messaging/create-textmagic-provider.md index 03287e8fac..46ded71cdd 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/create-textmagic-provider.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/create-textmagic-provider.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/create-topic.md b/docs/examples/1.6.x/server-python/examples/messaging/create-topic.md index 4dd16da3f0..c1cb465e9b 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/create-topic.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/create-topic.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/create-twilio-provider.md b/docs/examples/1.6.x/server-python/examples/messaging/create-twilio-provider.md index 524348f085..4438563abf 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/create-twilio-provider.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/create-twilio-provider.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/create-vonage-provider.md b/docs/examples/1.6.x/server-python/examples/messaging/create-vonage-provider.md index 68416bd8c3..6ffded5b53 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/create-vonage-provider.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/create-vonage-provider.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/delete-provider.md b/docs/examples/1.6.x/server-python/examples/messaging/delete-provider.md index 2a1840d64d..649e504c19 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/delete-provider.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/delete-provider.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/delete-subscriber.md b/docs/examples/1.6.x/server-python/examples/messaging/delete-subscriber.md index 94085ef86b..c012a9ac97 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/delete-subscriber.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/delete-subscriber.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_jwt('<YOUR_JWT>') # Your secret JSON Web Token diff --git a/docs/examples/1.6.x/server-python/examples/messaging/delete-topic.md b/docs/examples/1.6.x/server-python/examples/messaging/delete-topic.md index 1c2f5635da..76f9093a5f 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/delete-topic.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/delete-topic.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/delete.md b/docs/examples/1.6.x/server-python/examples/messaging/delete.md index aee928a792..0153ac90cb 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/delete.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/delete.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/get-message.md b/docs/examples/1.6.x/server-python/examples/messaging/get-message.md index 9e32d80623..3fadcff7d3 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/get-message.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/get-message.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/get-provider.md b/docs/examples/1.6.x/server-python/examples/messaging/get-provider.md index 6bc85f2710..58e6228053 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/get-provider.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/get-provider.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/get-subscriber.md b/docs/examples/1.6.x/server-python/examples/messaging/get-subscriber.md index 43185d7eb3..ca997f21f0 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/get-subscriber.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/get-subscriber.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/get-topic.md b/docs/examples/1.6.x/server-python/examples/messaging/get-topic.md index dea6cbfb6b..c238a98afe 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/get-topic.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/get-topic.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/list-message-logs.md b/docs/examples/1.6.x/server-python/examples/messaging/list-message-logs.md index 1c2ab0b035..f28c3e506f 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/list-message-logs.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/list-message-logs.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/list-messages.md b/docs/examples/1.6.x/server-python/examples/messaging/list-messages.md index 8457f99ad5..211649d5fb 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/list-messages.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/list-messages.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/list-provider-logs.md b/docs/examples/1.6.x/server-python/examples/messaging/list-provider-logs.md index c8544fac1e..da87e5939b 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/list-provider-logs.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/list-provider-logs.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/list-providers.md b/docs/examples/1.6.x/server-python/examples/messaging/list-providers.md index 258e7cd6e1..03e5c4ebbc 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/list-providers.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/list-providers.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/list-subscriber-logs.md b/docs/examples/1.6.x/server-python/examples/messaging/list-subscriber-logs.md index d2049bd560..df8ec72911 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/list-subscriber-logs.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/list-subscriber-logs.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/list-subscribers.md b/docs/examples/1.6.x/server-python/examples/messaging/list-subscribers.md index ba9e09d8b9..f949b408e5 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/list-subscribers.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/list-subscribers.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/list-targets.md b/docs/examples/1.6.x/server-python/examples/messaging/list-targets.md index b941ccbd31..786ee42b19 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/list-targets.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/list-targets.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/list-topic-logs.md b/docs/examples/1.6.x/server-python/examples/messaging/list-topic-logs.md index 57ba7f8d31..f8a3995295 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/list-topic-logs.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/list-topic-logs.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/list-topics.md b/docs/examples/1.6.x/server-python/examples/messaging/list-topics.md index cb21567d42..1c2cefc9cd 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/list-topics.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/list-topics.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/update-apns-provider.md b/docs/examples/1.6.x/server-python/examples/messaging/update-apns-provider.md index 3f0205d4ce..f695b61b8c 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/update-apns-provider.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/update-apns-provider.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/update-email.md b/docs/examples/1.6.x/server-python/examples/messaging/update-email.md index b8f9d719c1..5731d5f29a 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/update-email.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/update-email.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/update-fcm-provider.md b/docs/examples/1.6.x/server-python/examples/messaging/update-fcm-provider.md index 862e579f53..0119d71b4f 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/update-fcm-provider.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/update-fcm-provider.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/update-mailgun-provider.md b/docs/examples/1.6.x/server-python/examples/messaging/update-mailgun-provider.md index aa1d4e922c..039475ffdc 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/update-mailgun-provider.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/update-mailgun-provider.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/update-msg91provider.md b/docs/examples/1.6.x/server-python/examples/messaging/update-msg91provider.md index 2d4efdbd78..c5bd057912 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/update-msg91provider.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/update-msg91provider.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/update-push.md b/docs/examples/1.6.x/server-python/examples/messaging/update-push.md index 12663533c3..e3bb02e71f 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/update-push.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/update-push.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/update-sendgrid-provider.md b/docs/examples/1.6.x/server-python/examples/messaging/update-sendgrid-provider.md index e528bd543d..fc0a44d6cd 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/update-sendgrid-provider.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/update-sendgrid-provider.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/update-sms.md b/docs/examples/1.6.x/server-python/examples/messaging/update-sms.md index 7cb008736f..2eec4e215b 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/update-sms.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/update-sms.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/update-smtp-provider.md b/docs/examples/1.6.x/server-python/examples/messaging/update-smtp-provider.md index 2d798d4e0e..80019aad40 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/update-smtp-provider.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/update-smtp-provider.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/update-telesign-provider.md b/docs/examples/1.6.x/server-python/examples/messaging/update-telesign-provider.md index 91de1f155c..193a26f830 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/update-telesign-provider.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/update-telesign-provider.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/update-textmagic-provider.md b/docs/examples/1.6.x/server-python/examples/messaging/update-textmagic-provider.md index c3031047c9..159f95490e 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/update-textmagic-provider.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/update-textmagic-provider.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/update-topic.md b/docs/examples/1.6.x/server-python/examples/messaging/update-topic.md index 160ac26b6b..721f160642 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/update-topic.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/update-topic.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/update-twilio-provider.md b/docs/examples/1.6.x/server-python/examples/messaging/update-twilio-provider.md index 865fcb5c1d..b80c55b300 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/update-twilio-provider.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/update-twilio-provider.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/messaging/update-vonage-provider.md b/docs/examples/1.6.x/server-python/examples/messaging/update-vonage-provider.md index 8e01128bf2..b25f416cef 100644 --- a/docs/examples/1.6.x/server-python/examples/messaging/update-vonage-provider.md +++ b/docs/examples/1.6.x/server-python/examples/messaging/update-vonage-provider.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.messaging import Messaging client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/storage/create-bucket.md b/docs/examples/1.6.x/server-python/examples/storage/create-bucket.md index 7e321f12a3..9672782b5c 100644 --- a/docs/examples/1.6.x/server-python/examples/storage/create-bucket.md +++ b/docs/examples/1.6.x/server-python/examples/storage/create-bucket.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.storage import Storage client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/storage/create-file.md b/docs/examples/1.6.x/server-python/examples/storage/create-file.md index fa0b117b01..6e57284b85 100644 --- a/docs/examples/1.6.x/server-python/examples/storage/create-file.md +++ b/docs/examples/1.6.x/server-python/examples/storage/create-file.md @@ -3,7 +3,7 @@ from appwrite.services.storage import Storage from appwrite.input_file import InputFile client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/storage/delete-bucket.md b/docs/examples/1.6.x/server-python/examples/storage/delete-bucket.md index 8cddfb9202..dd8e8ebc43 100644 --- a/docs/examples/1.6.x/server-python/examples/storage/delete-bucket.md +++ b/docs/examples/1.6.x/server-python/examples/storage/delete-bucket.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.storage import Storage client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/storage/delete-file.md b/docs/examples/1.6.x/server-python/examples/storage/delete-file.md index 08bba5ca4b..17bc251e50 100644 --- a/docs/examples/1.6.x/server-python/examples/storage/delete-file.md +++ b/docs/examples/1.6.x/server-python/examples/storage/delete-file.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.storage import Storage client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/storage/get-bucket.md b/docs/examples/1.6.x/server-python/examples/storage/get-bucket.md index 79f903f244..e5eeb4c097 100644 --- a/docs/examples/1.6.x/server-python/examples/storage/get-bucket.md +++ b/docs/examples/1.6.x/server-python/examples/storage/get-bucket.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.storage import Storage client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/storage/get-file-download.md b/docs/examples/1.6.x/server-python/examples/storage/get-file-download.md index 1a82b26c70..d21db6304a 100644 --- a/docs/examples/1.6.x/server-python/examples/storage/get-file-download.md +++ b/docs/examples/1.6.x/server-python/examples/storage/get-file-download.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.storage import Storage client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/storage/get-file-preview.md b/docs/examples/1.6.x/server-python/examples/storage/get-file-preview.md index 40f32f1f10..20939b20b4 100644 --- a/docs/examples/1.6.x/server-python/examples/storage/get-file-preview.md +++ b/docs/examples/1.6.x/server-python/examples/storage/get-file-preview.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.storage import Storage client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/storage/get-file-view.md b/docs/examples/1.6.x/server-python/examples/storage/get-file-view.md index 3947c76761..bf70d136e2 100644 --- a/docs/examples/1.6.x/server-python/examples/storage/get-file-view.md +++ b/docs/examples/1.6.x/server-python/examples/storage/get-file-view.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.storage import Storage client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/storage/get-file.md b/docs/examples/1.6.x/server-python/examples/storage/get-file.md index 0c2d5e3b2c..461543e3fd 100644 --- a/docs/examples/1.6.x/server-python/examples/storage/get-file.md +++ b/docs/examples/1.6.x/server-python/examples/storage/get-file.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.storage import Storage client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/storage/list-buckets.md b/docs/examples/1.6.x/server-python/examples/storage/list-buckets.md index 88540cd5ce..51a1ae6836 100644 --- a/docs/examples/1.6.x/server-python/examples/storage/list-buckets.md +++ b/docs/examples/1.6.x/server-python/examples/storage/list-buckets.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.storage import Storage client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/storage/list-files.md b/docs/examples/1.6.x/server-python/examples/storage/list-files.md index e26ac2e5f3..4034bd477d 100644 --- a/docs/examples/1.6.x/server-python/examples/storage/list-files.md +++ b/docs/examples/1.6.x/server-python/examples/storage/list-files.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.storage import Storage client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/storage/update-bucket.md b/docs/examples/1.6.x/server-python/examples/storage/update-bucket.md index 61388b0923..f2e741a5aa 100644 --- a/docs/examples/1.6.x/server-python/examples/storage/update-bucket.md +++ b/docs/examples/1.6.x/server-python/examples/storage/update-bucket.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.storage import Storage client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/storage/update-file.md b/docs/examples/1.6.x/server-python/examples/storage/update-file.md index 336e8a0846..cf1e5779bb 100644 --- a/docs/examples/1.6.x/server-python/examples/storage/update-file.md +++ b/docs/examples/1.6.x/server-python/examples/storage/update-file.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.storage import Storage client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/teams/create-membership.md b/docs/examples/1.6.x/server-python/examples/teams/create-membership.md index 1af9f252ab..cb3bf73195 100644 --- a/docs/examples/1.6.x/server-python/examples/teams/create-membership.md +++ b/docs/examples/1.6.x/server-python/examples/teams/create-membership.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.teams import Teams client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/teams/create.md b/docs/examples/1.6.x/server-python/examples/teams/create.md index 7085d39642..f623151b27 100644 --- a/docs/examples/1.6.x/server-python/examples/teams/create.md +++ b/docs/examples/1.6.x/server-python/examples/teams/create.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.teams import Teams client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/teams/delete-membership.md b/docs/examples/1.6.x/server-python/examples/teams/delete-membership.md index adf065cd3c..6fb218266f 100644 --- a/docs/examples/1.6.x/server-python/examples/teams/delete-membership.md +++ b/docs/examples/1.6.x/server-python/examples/teams/delete-membership.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.teams import Teams client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/teams/delete.md b/docs/examples/1.6.x/server-python/examples/teams/delete.md index 762f532dbf..056114bfad 100644 --- a/docs/examples/1.6.x/server-python/examples/teams/delete.md +++ b/docs/examples/1.6.x/server-python/examples/teams/delete.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.teams import Teams client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/teams/get-membership.md b/docs/examples/1.6.x/server-python/examples/teams/get-membership.md index 17bacff1d3..3c028a5c7e 100644 --- a/docs/examples/1.6.x/server-python/examples/teams/get-membership.md +++ b/docs/examples/1.6.x/server-python/examples/teams/get-membership.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.teams import Teams client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/teams/get-prefs.md b/docs/examples/1.6.x/server-python/examples/teams/get-prefs.md index 035777d5cd..8d645897c6 100644 --- a/docs/examples/1.6.x/server-python/examples/teams/get-prefs.md +++ b/docs/examples/1.6.x/server-python/examples/teams/get-prefs.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.teams import Teams client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/teams/get.md b/docs/examples/1.6.x/server-python/examples/teams/get.md index 985924e10b..55f172eadd 100644 --- a/docs/examples/1.6.x/server-python/examples/teams/get.md +++ b/docs/examples/1.6.x/server-python/examples/teams/get.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.teams import Teams client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/teams/list-memberships.md b/docs/examples/1.6.x/server-python/examples/teams/list-memberships.md index 885a4c2822..6e6f15a284 100644 --- a/docs/examples/1.6.x/server-python/examples/teams/list-memberships.md +++ b/docs/examples/1.6.x/server-python/examples/teams/list-memberships.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.teams import Teams client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/teams/list.md b/docs/examples/1.6.x/server-python/examples/teams/list.md index c92d4c9c13..bf91a50744 100644 --- a/docs/examples/1.6.x/server-python/examples/teams/list.md +++ b/docs/examples/1.6.x/server-python/examples/teams/list.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.teams import Teams client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/teams/update-membership-status.md b/docs/examples/1.6.x/server-python/examples/teams/update-membership-status.md index ae6e524da5..9c08421579 100644 --- a/docs/examples/1.6.x/server-python/examples/teams/update-membership-status.md +++ b/docs/examples/1.6.x/server-python/examples/teams/update-membership-status.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.teams import Teams client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/teams/update-membership.md b/docs/examples/1.6.x/server-python/examples/teams/update-membership.md index c50f345b88..db20c5aaae 100644 --- a/docs/examples/1.6.x/server-python/examples/teams/update-membership.md +++ b/docs/examples/1.6.x/server-python/examples/teams/update-membership.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.teams import Teams client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/teams/update-name.md b/docs/examples/1.6.x/server-python/examples/teams/update-name.md index d25c8db1f2..160b496932 100644 --- a/docs/examples/1.6.x/server-python/examples/teams/update-name.md +++ b/docs/examples/1.6.x/server-python/examples/teams/update-name.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.teams import Teams client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/teams/update-prefs.md b/docs/examples/1.6.x/server-python/examples/teams/update-prefs.md index 9eca847a02..e82da1b64f 100644 --- a/docs/examples/1.6.x/server-python/examples/teams/update-prefs.md +++ b/docs/examples/1.6.x/server-python/examples/teams/update-prefs.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.teams import Teams client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-python/examples/users/create-argon2user.md b/docs/examples/1.6.x/server-python/examples/users/create-argon2user.md index 3d65496573..5e95cc26ac 100644 --- a/docs/examples/1.6.x/server-python/examples/users/create-argon2user.md +++ b/docs/examples/1.6.x/server-python/examples/users/create-argon2user.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/create-bcrypt-user.md b/docs/examples/1.6.x/server-python/examples/users/create-bcrypt-user.md index 76532a98f0..d3d9e21586 100644 --- a/docs/examples/1.6.x/server-python/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.6.x/server-python/examples/users/create-bcrypt-user.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/create-j-w-t.md b/docs/examples/1.6.x/server-python/examples/users/create-j-w-t.md index 2e1fdf632f..bed6c483e0 100644 --- a/docs/examples/1.6.x/server-python/examples/users/create-j-w-t.md +++ b/docs/examples/1.6.x/server-python/examples/users/create-j-w-t.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/create-m-d5user.md b/docs/examples/1.6.x/server-python/examples/users/create-m-d5user.md index da9d471fe2..b1cbb53f23 100644 --- a/docs/examples/1.6.x/server-python/examples/users/create-m-d5user.md +++ b/docs/examples/1.6.x/server-python/examples/users/create-m-d5user.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/create-mfa-recovery-codes.md b/docs/examples/1.6.x/server-python/examples/users/create-mfa-recovery-codes.md index a4477b0406..64a87c05ff 100644 --- a/docs/examples/1.6.x/server-python/examples/users/create-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-python/examples/users/create-mfa-recovery-codes.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/create-p-h-pass-user.md b/docs/examples/1.6.x/server-python/examples/users/create-p-h-pass-user.md index 363be4f92f..33f65f44d9 100644 --- a/docs/examples/1.6.x/server-python/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.6.x/server-python/examples/users/create-p-h-pass-user.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/create-s-h-a-user.md b/docs/examples/1.6.x/server-python/examples/users/create-s-h-a-user.md index bb78ff7b5c..5b4c8f831a 100644 --- a/docs/examples/1.6.x/server-python/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.6.x/server-python/examples/users/create-s-h-a-user.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/create-scrypt-modified-user.md b/docs/examples/1.6.x/server-python/examples/users/create-scrypt-modified-user.md index 1cfbcfc4b4..9d644ce4ca 100644 --- a/docs/examples/1.6.x/server-python/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.6.x/server-python/examples/users/create-scrypt-modified-user.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/create-scrypt-user.md b/docs/examples/1.6.x/server-python/examples/users/create-scrypt-user.md index 2d1e72bf77..f442ab9d3e 100644 --- a/docs/examples/1.6.x/server-python/examples/users/create-scrypt-user.md +++ b/docs/examples/1.6.x/server-python/examples/users/create-scrypt-user.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/create-session.md b/docs/examples/1.6.x/server-python/examples/users/create-session.md index bebd46b022..7e4c49fc95 100644 --- a/docs/examples/1.6.x/server-python/examples/users/create-session.md +++ b/docs/examples/1.6.x/server-python/examples/users/create-session.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/create-target.md b/docs/examples/1.6.x/server-python/examples/users/create-target.md index c11c7ca233..dfa64ac757 100644 --- a/docs/examples/1.6.x/server-python/examples/users/create-target.md +++ b/docs/examples/1.6.x/server-python/examples/users/create-target.md @@ -3,7 +3,7 @@ from appwrite.services.users import Users from appwrite.enums import MessagingProviderType client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/create-token.md b/docs/examples/1.6.x/server-python/examples/users/create-token.md index 00a0e78610..b40658c312 100644 --- a/docs/examples/1.6.x/server-python/examples/users/create-token.md +++ b/docs/examples/1.6.x/server-python/examples/users/create-token.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/create.md b/docs/examples/1.6.x/server-python/examples/users/create.md index c8dac9feae..4c51a3fffb 100644 --- a/docs/examples/1.6.x/server-python/examples/users/create.md +++ b/docs/examples/1.6.x/server-python/examples/users/create.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/delete-identity.md b/docs/examples/1.6.x/server-python/examples/users/delete-identity.md index 85c5b6dee3..412fbd393a 100644 --- a/docs/examples/1.6.x/server-python/examples/users/delete-identity.md +++ b/docs/examples/1.6.x/server-python/examples/users/delete-identity.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/delete-mfa-authenticator.md b/docs/examples/1.6.x/server-python/examples/users/delete-mfa-authenticator.md index b22d391879..6472498344 100644 --- a/docs/examples/1.6.x/server-python/examples/users/delete-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-python/examples/users/delete-mfa-authenticator.md @@ -3,7 +3,7 @@ from appwrite.services.users import Users from appwrite.enums import AuthenticatorType client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/delete-session.md b/docs/examples/1.6.x/server-python/examples/users/delete-session.md index dda5713a9e..815a96ed37 100644 --- a/docs/examples/1.6.x/server-python/examples/users/delete-session.md +++ b/docs/examples/1.6.x/server-python/examples/users/delete-session.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/delete-sessions.md b/docs/examples/1.6.x/server-python/examples/users/delete-sessions.md index 268c311dd9..2dde88f471 100644 --- a/docs/examples/1.6.x/server-python/examples/users/delete-sessions.md +++ b/docs/examples/1.6.x/server-python/examples/users/delete-sessions.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/delete-target.md b/docs/examples/1.6.x/server-python/examples/users/delete-target.md index 38cc5a9a23..287f5a26cf 100644 --- a/docs/examples/1.6.x/server-python/examples/users/delete-target.md +++ b/docs/examples/1.6.x/server-python/examples/users/delete-target.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/delete.md b/docs/examples/1.6.x/server-python/examples/users/delete.md index 090c20f5a9..7032b0f81e 100644 --- a/docs/examples/1.6.x/server-python/examples/users/delete.md +++ b/docs/examples/1.6.x/server-python/examples/users/delete.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/get-mfa-recovery-codes.md b/docs/examples/1.6.x/server-python/examples/users/get-mfa-recovery-codes.md index ec9986ce60..bca43b08ec 100644 --- a/docs/examples/1.6.x/server-python/examples/users/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-python/examples/users/get-mfa-recovery-codes.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/get-prefs.md b/docs/examples/1.6.x/server-python/examples/users/get-prefs.md index eb14d3acb9..ec9d363f8d 100644 --- a/docs/examples/1.6.x/server-python/examples/users/get-prefs.md +++ b/docs/examples/1.6.x/server-python/examples/users/get-prefs.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/get-target.md b/docs/examples/1.6.x/server-python/examples/users/get-target.md index f549f08450..3b80b1ff7f 100644 --- a/docs/examples/1.6.x/server-python/examples/users/get-target.md +++ b/docs/examples/1.6.x/server-python/examples/users/get-target.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/get.md b/docs/examples/1.6.x/server-python/examples/users/get.md index 6e018c2b00..267086a3df 100644 --- a/docs/examples/1.6.x/server-python/examples/users/get.md +++ b/docs/examples/1.6.x/server-python/examples/users/get.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/list-identities.md b/docs/examples/1.6.x/server-python/examples/users/list-identities.md index b10c320cdd..0fc7811a3f 100644 --- a/docs/examples/1.6.x/server-python/examples/users/list-identities.md +++ b/docs/examples/1.6.x/server-python/examples/users/list-identities.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/list-logs.md b/docs/examples/1.6.x/server-python/examples/users/list-logs.md index 10d8ae0d03..6cbbe498cb 100644 --- a/docs/examples/1.6.x/server-python/examples/users/list-logs.md +++ b/docs/examples/1.6.x/server-python/examples/users/list-logs.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/list-memberships.md b/docs/examples/1.6.x/server-python/examples/users/list-memberships.md index fbb3b4c05e..9e3b0053ea 100644 --- a/docs/examples/1.6.x/server-python/examples/users/list-memberships.md +++ b/docs/examples/1.6.x/server-python/examples/users/list-memberships.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/list-mfa-factors.md b/docs/examples/1.6.x/server-python/examples/users/list-mfa-factors.md index 1f40b1f538..a2b59895e8 100644 --- a/docs/examples/1.6.x/server-python/examples/users/list-mfa-factors.md +++ b/docs/examples/1.6.x/server-python/examples/users/list-mfa-factors.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/list-sessions.md b/docs/examples/1.6.x/server-python/examples/users/list-sessions.md index a9eead0d78..77b04c935e 100644 --- a/docs/examples/1.6.x/server-python/examples/users/list-sessions.md +++ b/docs/examples/1.6.x/server-python/examples/users/list-sessions.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/list-targets.md b/docs/examples/1.6.x/server-python/examples/users/list-targets.md index 47666467ff..14107fa296 100644 --- a/docs/examples/1.6.x/server-python/examples/users/list-targets.md +++ b/docs/examples/1.6.x/server-python/examples/users/list-targets.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/list.md b/docs/examples/1.6.x/server-python/examples/users/list.md index 4b09ca5f85..778f33935d 100644 --- a/docs/examples/1.6.x/server-python/examples/users/list.md +++ b/docs/examples/1.6.x/server-python/examples/users/list.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/update-email-verification.md b/docs/examples/1.6.x/server-python/examples/users/update-email-verification.md index 4623bc34b1..2605861416 100644 --- a/docs/examples/1.6.x/server-python/examples/users/update-email-verification.md +++ b/docs/examples/1.6.x/server-python/examples/users/update-email-verification.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/update-email.md b/docs/examples/1.6.x/server-python/examples/users/update-email.md index 083715bbfa..c4a468e234 100644 --- a/docs/examples/1.6.x/server-python/examples/users/update-email.md +++ b/docs/examples/1.6.x/server-python/examples/users/update-email.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/update-labels.md b/docs/examples/1.6.x/server-python/examples/users/update-labels.md index 24c5b27034..b9af53a50e 100644 --- a/docs/examples/1.6.x/server-python/examples/users/update-labels.md +++ b/docs/examples/1.6.x/server-python/examples/users/update-labels.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/update-mfa-recovery-codes.md b/docs/examples/1.6.x/server-python/examples/users/update-mfa-recovery-codes.md index d0e4da4e4a..c0990e1ef7 100644 --- a/docs/examples/1.6.x/server-python/examples/users/update-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-python/examples/users/update-mfa-recovery-codes.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/update-mfa.md b/docs/examples/1.6.x/server-python/examples/users/update-mfa.md index efd6730a26..9b35701185 100644 --- a/docs/examples/1.6.x/server-python/examples/users/update-mfa.md +++ b/docs/examples/1.6.x/server-python/examples/users/update-mfa.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/update-name.md b/docs/examples/1.6.x/server-python/examples/users/update-name.md index 6014ef51a5..1e328b4c48 100644 --- a/docs/examples/1.6.x/server-python/examples/users/update-name.md +++ b/docs/examples/1.6.x/server-python/examples/users/update-name.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/update-password.md b/docs/examples/1.6.x/server-python/examples/users/update-password.md index 90ac15f565..d104184cad 100644 --- a/docs/examples/1.6.x/server-python/examples/users/update-password.md +++ b/docs/examples/1.6.x/server-python/examples/users/update-password.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/update-phone-verification.md b/docs/examples/1.6.x/server-python/examples/users/update-phone-verification.md index a62e6a8ceb..1d2656c3f1 100644 --- a/docs/examples/1.6.x/server-python/examples/users/update-phone-verification.md +++ b/docs/examples/1.6.x/server-python/examples/users/update-phone-verification.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/update-phone.md b/docs/examples/1.6.x/server-python/examples/users/update-phone.md index f522730003..14826bb54c 100644 --- a/docs/examples/1.6.x/server-python/examples/users/update-phone.md +++ b/docs/examples/1.6.x/server-python/examples/users/update-phone.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/update-prefs.md b/docs/examples/1.6.x/server-python/examples/users/update-prefs.md index 64d9df39f8..76903b7611 100644 --- a/docs/examples/1.6.x/server-python/examples/users/update-prefs.md +++ b/docs/examples/1.6.x/server-python/examples/users/update-prefs.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/update-status.md b/docs/examples/1.6.x/server-python/examples/users/update-status.md index 8943ef59f5..49c0516ee4 100644 --- a/docs/examples/1.6.x/server-python/examples/users/update-status.md +++ b/docs/examples/1.6.x/server-python/examples/users/update-status.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-python/examples/users/update-target.md b/docs/examples/1.6.x/server-python/examples/users/update-target.md index 89513850b0..119c5fab88 100644 --- a/docs/examples/1.6.x/server-python/examples/users/update-target.md +++ b/docs/examples/1.6.x/server-python/examples/users/update-target.md @@ -2,7 +2,7 @@ from appwrite.client import Client from appwrite.services.users import Users client = Client() -client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-rest/examples/account/create-o-auth2token.md b/docs/examples/1.6.x/server-rest/examples/account/create-o-auth2token.md index bd1c62ad70..ab5cf7b65a 100644 --- a/docs/examples/1.6.x/server-rest/examples/account/create-o-auth2token.md +++ b/docs/examples/1.6.x/server-rest/examples/account/create-o-auth2token.md @@ -1,6 +1,4 @@ GET /v1/account/tokens/oauth2/{provider} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> - diff --git a/docs/examples/1.6.x/server-rest/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.6.x/server-rest/examples/account/get-mfa-recovery-codes.md index 4ff19b4907..5cbcdd074f 100644 --- a/docs/examples/1.6.x/server-rest/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-rest/examples/account/get-mfa-recovery-codes.md @@ -1,8 +1,6 @@ GET /v1/account/mfa/recovery-codes HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/account/get-prefs.md b/docs/examples/1.6.x/server-rest/examples/account/get-prefs.md index f6e9245809..b3f7689f9c 100644 --- a/docs/examples/1.6.x/server-rest/examples/account/get-prefs.md +++ b/docs/examples/1.6.x/server-rest/examples/account/get-prefs.md @@ -1,8 +1,6 @@ GET /v1/account/prefs HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/account/get-session.md b/docs/examples/1.6.x/server-rest/examples/account/get-session.md index 34d0f05dad..e0ca8b7524 100644 --- a/docs/examples/1.6.x/server-rest/examples/account/get-session.md +++ b/docs/examples/1.6.x/server-rest/examples/account/get-session.md @@ -1,8 +1,6 @@ GET /v1/account/sessions/{sessionId} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/account/get.md b/docs/examples/1.6.x/server-rest/examples/account/get.md index 41ba456ace..af2d783377 100644 --- a/docs/examples/1.6.x/server-rest/examples/account/get.md +++ b/docs/examples/1.6.x/server-rest/examples/account/get.md @@ -1,8 +1,6 @@ GET /v1/account HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/account/list-identities.md b/docs/examples/1.6.x/server-rest/examples/account/list-identities.md index 28c7ebfb78..27ffc6e7c3 100644 --- a/docs/examples/1.6.x/server-rest/examples/account/list-identities.md +++ b/docs/examples/1.6.x/server-rest/examples/account/list-identities.md @@ -1,8 +1,6 @@ GET /v1/account/identities HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/account/list-logs.md b/docs/examples/1.6.x/server-rest/examples/account/list-logs.md index bac50d727e..ace64fb895 100644 --- a/docs/examples/1.6.x/server-rest/examples/account/list-logs.md +++ b/docs/examples/1.6.x/server-rest/examples/account/list-logs.md @@ -1,8 +1,6 @@ GET /v1/account/logs HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/account/list-mfa-factors.md b/docs/examples/1.6.x/server-rest/examples/account/list-mfa-factors.md index 9246740d80..ea2364bebc 100644 --- a/docs/examples/1.6.x/server-rest/examples/account/list-mfa-factors.md +++ b/docs/examples/1.6.x/server-rest/examples/account/list-mfa-factors.md @@ -1,8 +1,6 @@ GET /v1/account/mfa/factors HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/account/list-sessions.md b/docs/examples/1.6.x/server-rest/examples/account/list-sessions.md index ec11f66380..39fa5035dc 100644 --- a/docs/examples/1.6.x/server-rest/examples/account/list-sessions.md +++ b/docs/examples/1.6.x/server-rest/examples/account/list-sessions.md @@ -1,8 +1,6 @@ GET /v1/account/sessions HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/avatars/get-browser.md b/docs/examples/1.6.x/server-rest/examples/avatars/get-browser.md index 06991b1472..d4520a05dc 100644 --- a/docs/examples/1.6.x/server-rest/examples/avatars/get-browser.md +++ b/docs/examples/1.6.x/server-rest/examples/avatars/get-browser.md @@ -1,9 +1,7 @@ GET /v1/avatars/browsers/{code} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-Key: <YOUR_API_KEY> X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/avatars/get-credit-card.md b/docs/examples/1.6.x/server-rest/examples/avatars/get-credit-card.md index 37a0113b7a..327b38a206 100644 --- a/docs/examples/1.6.x/server-rest/examples/avatars/get-credit-card.md +++ b/docs/examples/1.6.x/server-rest/examples/avatars/get-credit-card.md @@ -1,9 +1,7 @@ GET /v1/avatars/credit-cards/{code} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-Key: <YOUR_API_KEY> X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/avatars/get-favicon.md b/docs/examples/1.6.x/server-rest/examples/avatars/get-favicon.md index ec2471d335..0114daaf18 100644 --- a/docs/examples/1.6.x/server-rest/examples/avatars/get-favicon.md +++ b/docs/examples/1.6.x/server-rest/examples/avatars/get-favicon.md @@ -1,9 +1,7 @@ GET /v1/avatars/favicon HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-Key: <YOUR_API_KEY> X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/avatars/get-flag.md b/docs/examples/1.6.x/server-rest/examples/avatars/get-flag.md index f8d1a4221e..02c6d5e30f 100644 --- a/docs/examples/1.6.x/server-rest/examples/avatars/get-flag.md +++ b/docs/examples/1.6.x/server-rest/examples/avatars/get-flag.md @@ -1,9 +1,7 @@ GET /v1/avatars/flags/{code} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-Key: <YOUR_API_KEY> X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/avatars/get-image.md b/docs/examples/1.6.x/server-rest/examples/avatars/get-image.md index d73bf5ea9b..810f5087dd 100644 --- a/docs/examples/1.6.x/server-rest/examples/avatars/get-image.md +++ b/docs/examples/1.6.x/server-rest/examples/avatars/get-image.md @@ -1,9 +1,7 @@ GET /v1/avatars/image HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-Key: <YOUR_API_KEY> X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/avatars/get-initials.md b/docs/examples/1.6.x/server-rest/examples/avatars/get-initials.md index 799f399cd5..1e5fd759ba 100644 --- a/docs/examples/1.6.x/server-rest/examples/avatars/get-initials.md +++ b/docs/examples/1.6.x/server-rest/examples/avatars/get-initials.md @@ -1,9 +1,7 @@ GET /v1/avatars/initials HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-Key: <YOUR_API_KEY> X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/avatars/get-q-r.md b/docs/examples/1.6.x/server-rest/examples/avatars/get-q-r.md index cdf8f0d6ce..e0a87fe825 100644 --- a/docs/examples/1.6.x/server-rest/examples/avatars/get-q-r.md +++ b/docs/examples/1.6.x/server-rest/examples/avatars/get-q-r.md @@ -1,9 +1,7 @@ GET /v1/avatars/qr HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-Key: <YOUR_API_KEY> X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/databases/get-attribute.md b/docs/examples/1.6.x/server-rest/examples/databases/get-attribute.md index 7bee7eada8..adff49f1ca 100644 --- a/docs/examples/1.6.x/server-rest/examples/databases/get-attribute.md +++ b/docs/examples/1.6.x/server-rest/examples/databases/get-attribute.md @@ -1,7 +1,5 @@ GET /v1/databases/{databaseId}/collections/{collectionId}/attributes/{key} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/databases/get-collection.md b/docs/examples/1.6.x/server-rest/examples/databases/get-collection.md index 6d9d732dbb..dc7fb0dd3b 100644 --- a/docs/examples/1.6.x/server-rest/examples/databases/get-collection.md +++ b/docs/examples/1.6.x/server-rest/examples/databases/get-collection.md @@ -1,7 +1,5 @@ GET /v1/databases/{databaseId}/collections/{collectionId} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/databases/get-document.md b/docs/examples/1.6.x/server-rest/examples/databases/get-document.md index 184a2560cb..d9456475cf 100644 --- a/docs/examples/1.6.x/server-rest/examples/databases/get-document.md +++ b/docs/examples/1.6.x/server-rest/examples/databases/get-document.md @@ -1,9 +1,7 @@ GET /v1/databases/{databaseId}/collections/{collectionId}/documents/{documentId} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-Key: <YOUR_API_KEY> X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/databases/get-index.md b/docs/examples/1.6.x/server-rest/examples/databases/get-index.md index 6680327704..d271f14265 100644 --- a/docs/examples/1.6.x/server-rest/examples/databases/get-index.md +++ b/docs/examples/1.6.x/server-rest/examples/databases/get-index.md @@ -1,7 +1,5 @@ GET /v1/databases/{databaseId}/collections/{collectionId}/indexes/{key} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/databases/get.md b/docs/examples/1.6.x/server-rest/examples/databases/get.md index fc9c7e80ae..20fb7b42d1 100644 --- a/docs/examples/1.6.x/server-rest/examples/databases/get.md +++ b/docs/examples/1.6.x/server-rest/examples/databases/get.md @@ -1,7 +1,5 @@ GET /v1/databases/{databaseId} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/databases/list-attributes.md b/docs/examples/1.6.x/server-rest/examples/databases/list-attributes.md index de5dcb91f2..e3b5206faa 100644 --- a/docs/examples/1.6.x/server-rest/examples/databases/list-attributes.md +++ b/docs/examples/1.6.x/server-rest/examples/databases/list-attributes.md @@ -1,7 +1,5 @@ GET /v1/databases/{databaseId}/collections/{collectionId}/attributes HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/databases/list-collections.md b/docs/examples/1.6.x/server-rest/examples/databases/list-collections.md index 6a3f6ef303..703c1b27e1 100644 --- a/docs/examples/1.6.x/server-rest/examples/databases/list-collections.md +++ b/docs/examples/1.6.x/server-rest/examples/databases/list-collections.md @@ -1,7 +1,5 @@ GET /v1/databases/{databaseId}/collections HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/databases/list-documents.md b/docs/examples/1.6.x/server-rest/examples/databases/list-documents.md index 7c9202e71a..d65976b09a 100644 --- a/docs/examples/1.6.x/server-rest/examples/databases/list-documents.md +++ b/docs/examples/1.6.x/server-rest/examples/databases/list-documents.md @@ -1,9 +1,7 @@ GET /v1/databases/{databaseId}/collections/{collectionId}/documents HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-Key: <YOUR_API_KEY> X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/databases/list-indexes.md b/docs/examples/1.6.x/server-rest/examples/databases/list-indexes.md index 7334ba0322..5fc839d151 100644 --- a/docs/examples/1.6.x/server-rest/examples/databases/list-indexes.md +++ b/docs/examples/1.6.x/server-rest/examples/databases/list-indexes.md @@ -1,7 +1,5 @@ GET /v1/databases/{databaseId}/collections/{collectionId}/indexes HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/databases/list.md b/docs/examples/1.6.x/server-rest/examples/databases/list.md index 90e88fd34e..1381b1a94f 100644 --- a/docs/examples/1.6.x/server-rest/examples/databases/list.md +++ b/docs/examples/1.6.x/server-rest/examples/databases/list.md @@ -1,7 +1,5 @@ GET /v1/databases HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/functions/get-deployment-download.md b/docs/examples/1.6.x/server-rest/examples/functions/get-deployment-download.md index 4c5c3f2a34..099d18e899 100644 --- a/docs/examples/1.6.x/server-rest/examples/functions/get-deployment-download.md +++ b/docs/examples/1.6.x/server-rest/examples/functions/get-deployment-download.md @@ -1,8 +1,6 @@ GET /v1/functions/{functionId}/deployments/{deploymentId}/download HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/functions/get-deployment.md b/docs/examples/1.6.x/server-rest/examples/functions/get-deployment.md index 130618b10b..46dad098be 100644 --- a/docs/examples/1.6.x/server-rest/examples/functions/get-deployment.md +++ b/docs/examples/1.6.x/server-rest/examples/functions/get-deployment.md @@ -1,7 +1,5 @@ GET /v1/functions/{functionId}/deployments/{deploymentId} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/functions/get-execution.md b/docs/examples/1.6.x/server-rest/examples/functions/get-execution.md index 6d4de2b447..e5bd7d878d 100644 --- a/docs/examples/1.6.x/server-rest/examples/functions/get-execution.md +++ b/docs/examples/1.6.x/server-rest/examples/functions/get-execution.md @@ -1,9 +1,7 @@ GET /v1/functions/{functionId}/executions/{executionId} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-Key: <YOUR_API_KEY> X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/functions/get-variable.md b/docs/examples/1.6.x/server-rest/examples/functions/get-variable.md index 8260b4e74e..dcd65e60c7 100644 --- a/docs/examples/1.6.x/server-rest/examples/functions/get-variable.md +++ b/docs/examples/1.6.x/server-rest/examples/functions/get-variable.md @@ -1,7 +1,5 @@ GET /v1/functions/{functionId}/variables/{variableId} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/functions/get.md b/docs/examples/1.6.x/server-rest/examples/functions/get.md index af1de30e3e..5a2e4a3b1e 100644 --- a/docs/examples/1.6.x/server-rest/examples/functions/get.md +++ b/docs/examples/1.6.x/server-rest/examples/functions/get.md @@ -1,7 +1,5 @@ GET /v1/functions/{functionId} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/functions/list-deployments.md b/docs/examples/1.6.x/server-rest/examples/functions/list-deployments.md index 531afed127..eb95020faf 100644 --- a/docs/examples/1.6.x/server-rest/examples/functions/list-deployments.md +++ b/docs/examples/1.6.x/server-rest/examples/functions/list-deployments.md @@ -1,7 +1,5 @@ GET /v1/functions/{functionId}/deployments HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/functions/list-executions.md b/docs/examples/1.6.x/server-rest/examples/functions/list-executions.md index 36fa78beda..a693d5fa0c 100644 --- a/docs/examples/1.6.x/server-rest/examples/functions/list-executions.md +++ b/docs/examples/1.6.x/server-rest/examples/functions/list-executions.md @@ -1,9 +1,7 @@ GET /v1/functions/{functionId}/executions HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-Key: <YOUR_API_KEY> X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/functions/list-runtimes.md b/docs/examples/1.6.x/server-rest/examples/functions/list-runtimes.md index b519e72801..1b2e478393 100644 --- a/docs/examples/1.6.x/server-rest/examples/functions/list-runtimes.md +++ b/docs/examples/1.6.x/server-rest/examples/functions/list-runtimes.md @@ -1,7 +1,5 @@ GET /v1/functions/runtimes HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/functions/list-specifications.md b/docs/examples/1.6.x/server-rest/examples/functions/list-specifications.md index 16dc73924a..7d0e360b22 100644 --- a/docs/examples/1.6.x/server-rest/examples/functions/list-specifications.md +++ b/docs/examples/1.6.x/server-rest/examples/functions/list-specifications.md @@ -1,7 +1,5 @@ GET /v1/functions/specifications HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/functions/list-variables.md b/docs/examples/1.6.x/server-rest/examples/functions/list-variables.md index 3fae1b93d9..c9c45f4abe 100644 --- a/docs/examples/1.6.x/server-rest/examples/functions/list-variables.md +++ b/docs/examples/1.6.x/server-rest/examples/functions/list-variables.md @@ -1,7 +1,5 @@ GET /v1/functions/{functionId}/variables HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/functions/list.md b/docs/examples/1.6.x/server-rest/examples/functions/list.md index f2e29bc251..86e289b430 100644 --- a/docs/examples/1.6.x/server-rest/examples/functions/list.md +++ b/docs/examples/1.6.x/server-rest/examples/functions/list.md @@ -1,7 +1,5 @@ GET /v1/functions HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/health/get-antivirus.md b/docs/examples/1.6.x/server-rest/examples/health/get-antivirus.md index 580aa42206..1b58ac8a99 100644 --- a/docs/examples/1.6.x/server-rest/examples/health/get-antivirus.md +++ b/docs/examples/1.6.x/server-rest/examples/health/get-antivirus.md @@ -1,7 +1,5 @@ GET /v1/health/anti-virus HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/health/get-cache.md b/docs/examples/1.6.x/server-rest/examples/health/get-cache.md index 321cbd1c6f..c0201133e5 100644 --- a/docs/examples/1.6.x/server-rest/examples/health/get-cache.md +++ b/docs/examples/1.6.x/server-rest/examples/health/get-cache.md @@ -1,7 +1,5 @@ GET /v1/health/cache HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/health/get-certificate.md b/docs/examples/1.6.x/server-rest/examples/health/get-certificate.md index 650686521c..1cb20a8fee 100644 --- a/docs/examples/1.6.x/server-rest/examples/health/get-certificate.md +++ b/docs/examples/1.6.x/server-rest/examples/health/get-certificate.md @@ -1,7 +1,5 @@ GET /v1/health/certificate HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/health/get-d-b.md b/docs/examples/1.6.x/server-rest/examples/health/get-d-b.md index 92f3399d1d..0f079ec4cb 100644 --- a/docs/examples/1.6.x/server-rest/examples/health/get-d-b.md +++ b/docs/examples/1.6.x/server-rest/examples/health/get-d-b.md @@ -1,7 +1,5 @@ GET /v1/health/db HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/health/get-failed-jobs.md b/docs/examples/1.6.x/server-rest/examples/health/get-failed-jobs.md index 09bce30cab..77cf41e6f0 100644 --- a/docs/examples/1.6.x/server-rest/examples/health/get-failed-jobs.md +++ b/docs/examples/1.6.x/server-rest/examples/health/get-failed-jobs.md @@ -1,7 +1,5 @@ GET /v1/health/queue/failed/{name} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/health/get-pub-sub.md b/docs/examples/1.6.x/server-rest/examples/health/get-pub-sub.md index 6c01e4ea4b..ae99d2a104 100644 --- a/docs/examples/1.6.x/server-rest/examples/health/get-pub-sub.md +++ b/docs/examples/1.6.x/server-rest/examples/health/get-pub-sub.md @@ -1,7 +1,5 @@ GET /v1/health/pubsub HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/health/get-queue-builds.md b/docs/examples/1.6.x/server-rest/examples/health/get-queue-builds.md index 6b2dc650b3..622a013dca 100644 --- a/docs/examples/1.6.x/server-rest/examples/health/get-queue-builds.md +++ b/docs/examples/1.6.x/server-rest/examples/health/get-queue-builds.md @@ -1,7 +1,5 @@ GET /v1/health/queue/builds HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/health/get-queue-certificates.md b/docs/examples/1.6.x/server-rest/examples/health/get-queue-certificates.md index f5df6532b3..dfdffd9f66 100644 --- a/docs/examples/1.6.x/server-rest/examples/health/get-queue-certificates.md +++ b/docs/examples/1.6.x/server-rest/examples/health/get-queue-certificates.md @@ -1,7 +1,5 @@ GET /v1/health/queue/certificates HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/health/get-queue-databases.md b/docs/examples/1.6.x/server-rest/examples/health/get-queue-databases.md index dff44fc037..9bb9484aed 100644 --- a/docs/examples/1.6.x/server-rest/examples/health/get-queue-databases.md +++ b/docs/examples/1.6.x/server-rest/examples/health/get-queue-databases.md @@ -1,7 +1,5 @@ GET /v1/health/queue/databases HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/health/get-queue-deletes.md b/docs/examples/1.6.x/server-rest/examples/health/get-queue-deletes.md index 3bf2cd34fe..070a27e802 100644 --- a/docs/examples/1.6.x/server-rest/examples/health/get-queue-deletes.md +++ b/docs/examples/1.6.x/server-rest/examples/health/get-queue-deletes.md @@ -1,7 +1,5 @@ GET /v1/health/queue/deletes HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/health/get-queue-functions.md b/docs/examples/1.6.x/server-rest/examples/health/get-queue-functions.md index 81eb8cf68e..e6f17d0839 100644 --- a/docs/examples/1.6.x/server-rest/examples/health/get-queue-functions.md +++ b/docs/examples/1.6.x/server-rest/examples/health/get-queue-functions.md @@ -1,7 +1,5 @@ GET /v1/health/queue/functions HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/health/get-queue-logs.md b/docs/examples/1.6.x/server-rest/examples/health/get-queue-logs.md index 398444a9c1..34a0fa166c 100644 --- a/docs/examples/1.6.x/server-rest/examples/health/get-queue-logs.md +++ b/docs/examples/1.6.x/server-rest/examples/health/get-queue-logs.md @@ -1,7 +1,5 @@ GET /v1/health/queue/logs HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/health/get-queue-mails.md b/docs/examples/1.6.x/server-rest/examples/health/get-queue-mails.md index 7fb0a9b595..0634937659 100644 --- a/docs/examples/1.6.x/server-rest/examples/health/get-queue-mails.md +++ b/docs/examples/1.6.x/server-rest/examples/health/get-queue-mails.md @@ -1,7 +1,5 @@ GET /v1/health/queue/mails HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/health/get-queue-messaging.md b/docs/examples/1.6.x/server-rest/examples/health/get-queue-messaging.md index 8af59a9e87..d0f8adbb82 100644 --- a/docs/examples/1.6.x/server-rest/examples/health/get-queue-messaging.md +++ b/docs/examples/1.6.x/server-rest/examples/health/get-queue-messaging.md @@ -1,7 +1,5 @@ GET /v1/health/queue/messaging HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/health/get-queue-migrations.md b/docs/examples/1.6.x/server-rest/examples/health/get-queue-migrations.md index 1ec49bae1f..ae4d4a0a0b 100644 --- a/docs/examples/1.6.x/server-rest/examples/health/get-queue-migrations.md +++ b/docs/examples/1.6.x/server-rest/examples/health/get-queue-migrations.md @@ -1,7 +1,5 @@ GET /v1/health/queue/migrations HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/health/get-queue-stats-resources.md b/docs/examples/1.6.x/server-rest/examples/health/get-queue-stats-resources.md new file mode 100644 index 0000000000..8230f90035 --- /dev/null +++ b/docs/examples/1.6.x/server-rest/examples/health/get-queue-stats-resources.md @@ -0,0 +1,5 @@ +GET /v1/health/queue/stats-resources HTTP/1.1 +Host: cloud.appwrite.io +X-Appwrite-Response-Format: 1.6.0 +X-Appwrite-Project: <YOUR_PROJECT_ID> +X-Appwrite-Key: <YOUR_API_KEY> diff --git a/docs/examples/1.6.x/server-rest/examples/health/get-queue-usage.md b/docs/examples/1.6.x/server-rest/examples/health/get-queue-usage.md index 22bff6dc29..8f9fceb137 100644 --- a/docs/examples/1.6.x/server-rest/examples/health/get-queue-usage.md +++ b/docs/examples/1.6.x/server-rest/examples/health/get-queue-usage.md @@ -1,7 +1,5 @@ -GET /v1/health/queue/usage HTTP/1.1 +GET /v1/health/queue/stats-usage HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/health/get-queue-webhooks.md b/docs/examples/1.6.x/server-rest/examples/health/get-queue-webhooks.md index e144bdd982..9878188524 100644 --- a/docs/examples/1.6.x/server-rest/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.6.x/server-rest/examples/health/get-queue-webhooks.md @@ -1,7 +1,5 @@ GET /v1/health/queue/webhooks HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/health/get-storage-local.md b/docs/examples/1.6.x/server-rest/examples/health/get-storage-local.md index 63841a454e..dcb6cd7c79 100644 --- a/docs/examples/1.6.x/server-rest/examples/health/get-storage-local.md +++ b/docs/examples/1.6.x/server-rest/examples/health/get-storage-local.md @@ -1,7 +1,5 @@ GET /v1/health/storage/local HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/health/get-storage.md b/docs/examples/1.6.x/server-rest/examples/health/get-storage.md index b37bce1ac2..1f0d81c78b 100644 --- a/docs/examples/1.6.x/server-rest/examples/health/get-storage.md +++ b/docs/examples/1.6.x/server-rest/examples/health/get-storage.md @@ -1,7 +1,5 @@ GET /v1/health/storage HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/health/get-time.md b/docs/examples/1.6.x/server-rest/examples/health/get-time.md index e40b12ee56..6a041633e6 100644 --- a/docs/examples/1.6.x/server-rest/examples/health/get-time.md +++ b/docs/examples/1.6.x/server-rest/examples/health/get-time.md @@ -1,7 +1,5 @@ GET /v1/health/time HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/health/get.md b/docs/examples/1.6.x/server-rest/examples/health/get.md index 5176969cca..7277c65076 100644 --- a/docs/examples/1.6.x/server-rest/examples/health/get.md +++ b/docs/examples/1.6.x/server-rest/examples/health/get.md @@ -1,7 +1,5 @@ GET /v1/health HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/locale/get.md b/docs/examples/1.6.x/server-rest/examples/locale/get.md index 496f2605fc..81fa1182f1 100644 --- a/docs/examples/1.6.x/server-rest/examples/locale/get.md +++ b/docs/examples/1.6.x/server-rest/examples/locale/get.md @@ -1,9 +1,7 @@ GET /v1/locale HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-Key: <YOUR_API_KEY> X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/locale/list-codes.md b/docs/examples/1.6.x/server-rest/examples/locale/list-codes.md index a66e6cf922..59ff34bc36 100644 --- a/docs/examples/1.6.x/server-rest/examples/locale/list-codes.md +++ b/docs/examples/1.6.x/server-rest/examples/locale/list-codes.md @@ -1,9 +1,7 @@ GET /v1/locale/codes HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-Key: <YOUR_API_KEY> X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/locale/list-continents.md b/docs/examples/1.6.x/server-rest/examples/locale/list-continents.md index 171fa44458..3344f0c047 100644 --- a/docs/examples/1.6.x/server-rest/examples/locale/list-continents.md +++ b/docs/examples/1.6.x/server-rest/examples/locale/list-continents.md @@ -1,9 +1,7 @@ GET /v1/locale/continents HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-Key: <YOUR_API_KEY> X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/locale/list-countries-e-u.md b/docs/examples/1.6.x/server-rest/examples/locale/list-countries-e-u.md index 37a1808f79..5d983c7830 100644 --- a/docs/examples/1.6.x/server-rest/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.6.x/server-rest/examples/locale/list-countries-e-u.md @@ -1,9 +1,7 @@ GET /v1/locale/countries/eu HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-Key: <YOUR_API_KEY> X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/locale/list-countries-phones.md b/docs/examples/1.6.x/server-rest/examples/locale/list-countries-phones.md index 1fcf6e9624..68b2e39751 100644 --- a/docs/examples/1.6.x/server-rest/examples/locale/list-countries-phones.md +++ b/docs/examples/1.6.x/server-rest/examples/locale/list-countries-phones.md @@ -1,9 +1,7 @@ GET /v1/locale/countries/phones HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-Key: <YOUR_API_KEY> X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/locale/list-countries.md b/docs/examples/1.6.x/server-rest/examples/locale/list-countries.md index 1177ea41af..e3c8e94c12 100644 --- a/docs/examples/1.6.x/server-rest/examples/locale/list-countries.md +++ b/docs/examples/1.6.x/server-rest/examples/locale/list-countries.md @@ -1,9 +1,7 @@ GET /v1/locale/countries HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-Key: <YOUR_API_KEY> X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/locale/list-currencies.md b/docs/examples/1.6.x/server-rest/examples/locale/list-currencies.md index 26af678b04..4cba4cf386 100644 --- a/docs/examples/1.6.x/server-rest/examples/locale/list-currencies.md +++ b/docs/examples/1.6.x/server-rest/examples/locale/list-currencies.md @@ -1,9 +1,7 @@ GET /v1/locale/currencies HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-Key: <YOUR_API_KEY> X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/locale/list-languages.md b/docs/examples/1.6.x/server-rest/examples/locale/list-languages.md index ac2a85591d..f4cc449332 100644 --- a/docs/examples/1.6.x/server-rest/examples/locale/list-languages.md +++ b/docs/examples/1.6.x/server-rest/examples/locale/list-languages.md @@ -1,9 +1,7 @@ GET /v1/locale/languages HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-Key: <YOUR_API_KEY> X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/messaging/get-message.md b/docs/examples/1.6.x/server-rest/examples/messaging/get-message.md index 1458946ccc..f23222f007 100644 --- a/docs/examples/1.6.x/server-rest/examples/messaging/get-message.md +++ b/docs/examples/1.6.x/server-rest/examples/messaging/get-message.md @@ -1,7 +1,5 @@ GET /v1/messaging/messages/{messageId} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/messaging/get-provider.md b/docs/examples/1.6.x/server-rest/examples/messaging/get-provider.md index f605d363d5..21ed22bbef 100644 --- a/docs/examples/1.6.x/server-rest/examples/messaging/get-provider.md +++ b/docs/examples/1.6.x/server-rest/examples/messaging/get-provider.md @@ -1,7 +1,5 @@ GET /v1/messaging/providers/{providerId} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/messaging/get-subscriber.md b/docs/examples/1.6.x/server-rest/examples/messaging/get-subscriber.md index e5301debd3..0f7796a133 100644 --- a/docs/examples/1.6.x/server-rest/examples/messaging/get-subscriber.md +++ b/docs/examples/1.6.x/server-rest/examples/messaging/get-subscriber.md @@ -1,7 +1,5 @@ GET /v1/messaging/topics/{topicId}/subscribers/{subscriberId} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/messaging/get-topic.md b/docs/examples/1.6.x/server-rest/examples/messaging/get-topic.md index 50a545e5d5..f9b2d9fe10 100644 --- a/docs/examples/1.6.x/server-rest/examples/messaging/get-topic.md +++ b/docs/examples/1.6.x/server-rest/examples/messaging/get-topic.md @@ -1,7 +1,5 @@ GET /v1/messaging/topics/{topicId} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/messaging/list-message-logs.md b/docs/examples/1.6.x/server-rest/examples/messaging/list-message-logs.md index 9376f807c1..a5f8565ed2 100644 --- a/docs/examples/1.6.x/server-rest/examples/messaging/list-message-logs.md +++ b/docs/examples/1.6.x/server-rest/examples/messaging/list-message-logs.md @@ -1,7 +1,5 @@ GET /v1/messaging/messages/{messageId}/logs HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/messaging/list-messages.md b/docs/examples/1.6.x/server-rest/examples/messaging/list-messages.md index 9588c3f9cc..369f1ed61d 100644 --- a/docs/examples/1.6.x/server-rest/examples/messaging/list-messages.md +++ b/docs/examples/1.6.x/server-rest/examples/messaging/list-messages.md @@ -1,7 +1,5 @@ GET /v1/messaging/messages HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/messaging/list-provider-logs.md b/docs/examples/1.6.x/server-rest/examples/messaging/list-provider-logs.md index 9e9ca02917..2461a6b18f 100644 --- a/docs/examples/1.6.x/server-rest/examples/messaging/list-provider-logs.md +++ b/docs/examples/1.6.x/server-rest/examples/messaging/list-provider-logs.md @@ -1,7 +1,5 @@ GET /v1/messaging/providers/{providerId}/logs HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/messaging/list-providers.md b/docs/examples/1.6.x/server-rest/examples/messaging/list-providers.md index a540123cc9..57f40f047f 100644 --- a/docs/examples/1.6.x/server-rest/examples/messaging/list-providers.md +++ b/docs/examples/1.6.x/server-rest/examples/messaging/list-providers.md @@ -1,7 +1,5 @@ GET /v1/messaging/providers HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/messaging/list-subscriber-logs.md b/docs/examples/1.6.x/server-rest/examples/messaging/list-subscriber-logs.md index 7bd09d054e..ffd9400780 100644 --- a/docs/examples/1.6.x/server-rest/examples/messaging/list-subscriber-logs.md +++ b/docs/examples/1.6.x/server-rest/examples/messaging/list-subscriber-logs.md @@ -1,7 +1,5 @@ GET /v1/messaging/subscribers/{subscriberId}/logs HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/messaging/list-subscribers.md b/docs/examples/1.6.x/server-rest/examples/messaging/list-subscribers.md index 6ce6230ea2..79f84b11ff 100644 --- a/docs/examples/1.6.x/server-rest/examples/messaging/list-subscribers.md +++ b/docs/examples/1.6.x/server-rest/examples/messaging/list-subscribers.md @@ -1,7 +1,5 @@ GET /v1/messaging/topics/{topicId}/subscribers HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/messaging/list-targets.md b/docs/examples/1.6.x/server-rest/examples/messaging/list-targets.md index c97bd2cd17..3bc58ada2d 100644 --- a/docs/examples/1.6.x/server-rest/examples/messaging/list-targets.md +++ b/docs/examples/1.6.x/server-rest/examples/messaging/list-targets.md @@ -1,7 +1,5 @@ GET /v1/messaging/messages/{messageId}/targets HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/messaging/list-topic-logs.md b/docs/examples/1.6.x/server-rest/examples/messaging/list-topic-logs.md index 2fbb01e3bd..c26603b0c0 100644 --- a/docs/examples/1.6.x/server-rest/examples/messaging/list-topic-logs.md +++ b/docs/examples/1.6.x/server-rest/examples/messaging/list-topic-logs.md @@ -1,7 +1,5 @@ GET /v1/messaging/topics/{topicId}/logs HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/messaging/list-topics.md b/docs/examples/1.6.x/server-rest/examples/messaging/list-topics.md index 053d290d67..0c633badff 100644 --- a/docs/examples/1.6.x/server-rest/examples/messaging/list-topics.md +++ b/docs/examples/1.6.x/server-rest/examples/messaging/list-topics.md @@ -1,7 +1,5 @@ GET /v1/messaging/topics HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/storage/get-bucket.md b/docs/examples/1.6.x/server-rest/examples/storage/get-bucket.md index 8d47b56cd5..d43931a53b 100644 --- a/docs/examples/1.6.x/server-rest/examples/storage/get-bucket.md +++ b/docs/examples/1.6.x/server-rest/examples/storage/get-bucket.md @@ -1,7 +1,5 @@ GET /v1/storage/buckets/{bucketId} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/storage/get-file-download.md b/docs/examples/1.6.x/server-rest/examples/storage/get-file-download.md index 25c7ad23a0..ec58a2a93f 100644 --- a/docs/examples/1.6.x/server-rest/examples/storage/get-file-download.md +++ b/docs/examples/1.6.x/server-rest/examples/storage/get-file-download.md @@ -1,9 +1,7 @@ GET /v1/storage/buckets/{bucketId}/files/{fileId}/download HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-Key: <YOUR_API_KEY> X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/storage/get-file-preview.md b/docs/examples/1.6.x/server-rest/examples/storage/get-file-preview.md index 922f6eedf3..f4703730ad 100644 --- a/docs/examples/1.6.x/server-rest/examples/storage/get-file-preview.md +++ b/docs/examples/1.6.x/server-rest/examples/storage/get-file-preview.md @@ -1,9 +1,7 @@ GET /v1/storage/buckets/{bucketId}/files/{fileId}/preview HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-Key: <YOUR_API_KEY> X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/storage/get-file-view.md b/docs/examples/1.6.x/server-rest/examples/storage/get-file-view.md index 41154613a4..fee30719b3 100644 --- a/docs/examples/1.6.x/server-rest/examples/storage/get-file-view.md +++ b/docs/examples/1.6.x/server-rest/examples/storage/get-file-view.md @@ -1,9 +1,7 @@ GET /v1/storage/buckets/{bucketId}/files/{fileId}/view HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-Key: <YOUR_API_KEY> X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/storage/get-file.md b/docs/examples/1.6.x/server-rest/examples/storage/get-file.md index 041ba84099..ff477aa2db 100644 --- a/docs/examples/1.6.x/server-rest/examples/storage/get-file.md +++ b/docs/examples/1.6.x/server-rest/examples/storage/get-file.md @@ -1,9 +1,7 @@ GET /v1/storage/buckets/{bucketId}/files/{fileId} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-Key: <YOUR_API_KEY> X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/storage/list-buckets.md b/docs/examples/1.6.x/server-rest/examples/storage/list-buckets.md index 9ae348b905..b92d639db6 100644 --- a/docs/examples/1.6.x/server-rest/examples/storage/list-buckets.md +++ b/docs/examples/1.6.x/server-rest/examples/storage/list-buckets.md @@ -1,7 +1,5 @@ GET /v1/storage/buckets HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/storage/list-files.md b/docs/examples/1.6.x/server-rest/examples/storage/list-files.md index 1b5a80de5d..f464b524d3 100644 --- a/docs/examples/1.6.x/server-rest/examples/storage/list-files.md +++ b/docs/examples/1.6.x/server-rest/examples/storage/list-files.md @@ -1,9 +1,7 @@ GET /v1/storage/buckets/{bucketId}/files HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-Key: <YOUR_API_KEY> X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/teams/get-membership.md b/docs/examples/1.6.x/server-rest/examples/teams/get-membership.md index 0b0d71d338..de5503aa97 100644 --- a/docs/examples/1.6.x/server-rest/examples/teams/get-membership.md +++ b/docs/examples/1.6.x/server-rest/examples/teams/get-membership.md @@ -1,9 +1,7 @@ GET /v1/teams/{teamId}/memberships/{membershipId} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-Key: <YOUR_API_KEY> X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/teams/get-prefs.md b/docs/examples/1.6.x/server-rest/examples/teams/get-prefs.md index 8af5263810..cc3f6c3394 100644 --- a/docs/examples/1.6.x/server-rest/examples/teams/get-prefs.md +++ b/docs/examples/1.6.x/server-rest/examples/teams/get-prefs.md @@ -1,8 +1,6 @@ GET /v1/teams/{teamId}/prefs HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/teams/get.md b/docs/examples/1.6.x/server-rest/examples/teams/get.md index b926719f55..fe6391f0ca 100644 --- a/docs/examples/1.6.x/server-rest/examples/teams/get.md +++ b/docs/examples/1.6.x/server-rest/examples/teams/get.md @@ -1,9 +1,7 @@ GET /v1/teams/{teamId} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-Key: <YOUR_API_KEY> X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/teams/list-memberships.md b/docs/examples/1.6.x/server-rest/examples/teams/list-memberships.md index c5142bc8a4..d11943f58f 100644 --- a/docs/examples/1.6.x/server-rest/examples/teams/list-memberships.md +++ b/docs/examples/1.6.x/server-rest/examples/teams/list-memberships.md @@ -1,9 +1,7 @@ GET /v1/teams/{teamId}/memberships HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-Key: <YOUR_API_KEY> X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/teams/list.md b/docs/examples/1.6.x/server-rest/examples/teams/list.md index 4d322d6d4f..7ff9f48e12 100644 --- a/docs/examples/1.6.x/server-rest/examples/teams/list.md +++ b/docs/examples/1.6.x/server-rest/examples/teams/list.md @@ -1,9 +1,7 @@ GET /v1/teams HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Session: X-Appwrite-Key: <YOUR_API_KEY> X-Appwrite-JWT: <YOUR_JWT> - diff --git a/docs/examples/1.6.x/server-rest/examples/users/get-mfa-recovery-codes.md b/docs/examples/1.6.x/server-rest/examples/users/get-mfa-recovery-codes.md index da744ce23d..d3820ba2fa 100644 --- a/docs/examples/1.6.x/server-rest/examples/users/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-rest/examples/users/get-mfa-recovery-codes.md @@ -1,7 +1,5 @@ GET /v1/users/{userId}/mfa/recovery-codes HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/users/get-prefs.md b/docs/examples/1.6.x/server-rest/examples/users/get-prefs.md index acf09a82f8..bcaba93262 100644 --- a/docs/examples/1.6.x/server-rest/examples/users/get-prefs.md +++ b/docs/examples/1.6.x/server-rest/examples/users/get-prefs.md @@ -1,7 +1,5 @@ GET /v1/users/{userId}/prefs HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/users/get-target.md b/docs/examples/1.6.x/server-rest/examples/users/get-target.md index 657cef16d4..c26d3fc61b 100644 --- a/docs/examples/1.6.x/server-rest/examples/users/get-target.md +++ b/docs/examples/1.6.x/server-rest/examples/users/get-target.md @@ -1,7 +1,5 @@ GET /v1/users/{userId}/targets/{targetId} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/users/get.md b/docs/examples/1.6.x/server-rest/examples/users/get.md index 4000161e8e..77f6ca2d77 100644 --- a/docs/examples/1.6.x/server-rest/examples/users/get.md +++ b/docs/examples/1.6.x/server-rest/examples/users/get.md @@ -1,7 +1,5 @@ GET /v1/users/{userId} HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/users/list-identities.md b/docs/examples/1.6.x/server-rest/examples/users/list-identities.md index 617e7de122..26b3dfdefa 100644 --- a/docs/examples/1.6.x/server-rest/examples/users/list-identities.md +++ b/docs/examples/1.6.x/server-rest/examples/users/list-identities.md @@ -1,7 +1,5 @@ GET /v1/users/identities HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/users/list-logs.md b/docs/examples/1.6.x/server-rest/examples/users/list-logs.md index 0588e609e1..28b6707279 100644 --- a/docs/examples/1.6.x/server-rest/examples/users/list-logs.md +++ b/docs/examples/1.6.x/server-rest/examples/users/list-logs.md @@ -1,7 +1,5 @@ GET /v1/users/{userId}/logs HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/users/list-memberships.md b/docs/examples/1.6.x/server-rest/examples/users/list-memberships.md index 1937004e58..e5526448d9 100644 --- a/docs/examples/1.6.x/server-rest/examples/users/list-memberships.md +++ b/docs/examples/1.6.x/server-rest/examples/users/list-memberships.md @@ -1,7 +1,5 @@ GET /v1/users/{userId}/memberships HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/users/list-mfa-factors.md b/docs/examples/1.6.x/server-rest/examples/users/list-mfa-factors.md index 64570341b2..586e0daa75 100644 --- a/docs/examples/1.6.x/server-rest/examples/users/list-mfa-factors.md +++ b/docs/examples/1.6.x/server-rest/examples/users/list-mfa-factors.md @@ -1,7 +1,5 @@ GET /v1/users/{userId}/mfa/factors HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/users/list-sessions.md b/docs/examples/1.6.x/server-rest/examples/users/list-sessions.md index b6b80f15bb..49a81c19d5 100644 --- a/docs/examples/1.6.x/server-rest/examples/users/list-sessions.md +++ b/docs/examples/1.6.x/server-rest/examples/users/list-sessions.md @@ -1,7 +1,5 @@ GET /v1/users/{userId}/sessions HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/users/list-targets.md b/docs/examples/1.6.x/server-rest/examples/users/list-targets.md index 6c48a184f6..4ffa874b99 100644 --- a/docs/examples/1.6.x/server-rest/examples/users/list-targets.md +++ b/docs/examples/1.6.x/server-rest/examples/users/list-targets.md @@ -1,7 +1,5 @@ GET /v1/users/{userId}/targets HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-rest/examples/users/list.md b/docs/examples/1.6.x/server-rest/examples/users/list.md index 0a5c318591..7e66ccc365 100644 --- a/docs/examples/1.6.x/server-rest/examples/users/list.md +++ b/docs/examples/1.6.x/server-rest/examples/users/list.md @@ -1,7 +1,5 @@ GET /v1/users HTTP/1.1 Host: cloud.appwrite.io -Content-Type: application/json X-Appwrite-Response-Format: 1.6.0 X-Appwrite-Project: <YOUR_PROJECT_ID> X-Appwrite-Key: <YOUR_API_KEY> - diff --git a/docs/examples/1.6.x/server-ruby/examples/account/create-anonymous-session.md b/docs/examples/1.6.x/server-ruby/examples/account/create-anonymous-session.md index a54d5f0057..bcb25d66f5 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/create-anonymous-session.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/create-anonymous-session.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account.new(client) diff --git a/docs/examples/1.6.x/server-ruby/examples/account/create-email-password-session.md b/docs/examples/1.6.x/server-ruby/examples/account/create-email-password-session.md index 08d34230a0..be5fc1c07a 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/create-email-password-session.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/create-email-password-session.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account.new(client) diff --git a/docs/examples/1.6.x/server-ruby/examples/account/create-email-token.md b/docs/examples/1.6.x/server-ruby/examples/account/create-email-token.md index 1e85706cf2..d75e310a36 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/create-email-token.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/create-email-token.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account.new(client) diff --git a/docs/examples/1.6.x/server-ruby/examples/account/create-j-w-t.md b/docs/examples/1.6.x/server-ruby/examples/account/create-j-w-t.md index 8ad2db14ca..8e5b6b78c8 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/create-j-w-t.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/create-j-w-t.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account.new(client) diff --git a/docs/examples/1.6.x/server-ruby/examples/account/create-magic-u-r-l-token.md b/docs/examples/1.6.x/server-ruby/examples/account/create-magic-u-r-l-token.md index 253b26309e..9537d1fb3d 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/create-magic-u-r-l-token.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account.new(client) diff --git a/docs/examples/1.6.x/server-ruby/examples/account/create-mfa-authenticator.md b/docs/examples/1.6.x/server-ruby/examples/account/create-mfa-authenticator.md index 38ad5492d9..a3cc71cd8a 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/create-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/create-mfa-authenticator.md @@ -4,7 +4,7 @@ include Appwrite include Appwrite::Enums client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/account/create-mfa-challenge.md b/docs/examples/1.6.x/server-ruby/examples/account/create-mfa-challenge.md index b5fa72f78b..ba34779ad2 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/create-mfa-challenge.md @@ -4,7 +4,7 @@ include Appwrite include Appwrite::Enums client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account.new(client) diff --git a/docs/examples/1.6.x/server-ruby/examples/account/create-mfa-recovery-codes.md b/docs/examples/1.6.x/server-ruby/examples/account/create-mfa-recovery-codes.md index 9c64fdf47a..db91cf533d 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/create-mfa-recovery-codes.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/account/create-o-auth2token.md b/docs/examples/1.6.x/server-ruby/examples/account/create-o-auth2token.md index be8169e58d..52bc5d6194 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/create-o-auth2token.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/create-o-auth2token.md @@ -4,7 +4,7 @@ include Appwrite include Appwrite::Enums client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account.new(client) diff --git a/docs/examples/1.6.x/server-ruby/examples/account/create-phone-token.md b/docs/examples/1.6.x/server-ruby/examples/account/create-phone-token.md index 70e8be2ca9..81bedd0ce9 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/create-phone-token.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/create-phone-token.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account.new(client) diff --git a/docs/examples/1.6.x/server-ruby/examples/account/create-phone-verification.md b/docs/examples/1.6.x/server-ruby/examples/account/create-phone-verification.md index 0f5685bf20..a7dec8f34e 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/create-phone-verification.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/create-phone-verification.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/account/create-recovery.md b/docs/examples/1.6.x/server-ruby/examples/account/create-recovery.md index 15f0f93a98..e344bafc75 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/create-recovery.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/create-recovery.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/account/create-session.md b/docs/examples/1.6.x/server-ruby/examples/account/create-session.md index 27c265549e..4b8ce216bc 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/create-session.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/create-session.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account.new(client) diff --git a/docs/examples/1.6.x/server-ruby/examples/account/create-verification.md b/docs/examples/1.6.x/server-ruby/examples/account/create-verification.md index 216d88c02c..2eba7c776d 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/create-verification.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/create-verification.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/account/create.md b/docs/examples/1.6.x/server-ruby/examples/account/create.md index e27f488f6b..84228b8351 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/create.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/create.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account.new(client) diff --git a/docs/examples/1.6.x/server-ruby/examples/account/delete-identity.md b/docs/examples/1.6.x/server-ruby/examples/account/delete-identity.md index a38eccd080..e8f8e83814 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/delete-identity.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/delete-identity.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/account/delete-mfa-authenticator.md b/docs/examples/1.6.x/server-ruby/examples/account/delete-mfa-authenticator.md index 9b4f352bad..832ff6ae13 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/delete-mfa-authenticator.md @@ -4,7 +4,7 @@ include Appwrite include Appwrite::Enums client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/account/delete-session.md b/docs/examples/1.6.x/server-ruby/examples/account/delete-session.md index 4781eecdc6..7496cafe3a 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/delete-session.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/delete-session.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/account/delete-sessions.md b/docs/examples/1.6.x/server-ruby/examples/account/delete-sessions.md index 776938e2dc..ca5d922483 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/delete-sessions.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/delete-sessions.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.6.x/server-ruby/examples/account/get-mfa-recovery-codes.md index 207e5219d6..26ffa9d61d 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/get-mfa-recovery-codes.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/account/get-prefs.md b/docs/examples/1.6.x/server-ruby/examples/account/get-prefs.md index 0a1ca1c1c9..664454cf2f 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/get-prefs.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/get-prefs.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/account/get-session.md b/docs/examples/1.6.x/server-ruby/examples/account/get-session.md index 32a162e60d..c433b22e46 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/get-session.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/get-session.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/account/get.md b/docs/examples/1.6.x/server-ruby/examples/account/get.md index 5174ab7177..f33050345d 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/get.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/get.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/account/list-identities.md b/docs/examples/1.6.x/server-ruby/examples/account/list-identities.md index 91b513b9c0..696e02dd5a 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/list-identities.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/list-identities.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/account/list-logs.md b/docs/examples/1.6.x/server-ruby/examples/account/list-logs.md index b11dc1a4ab..1f3366a2ed 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/list-logs.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/list-logs.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/account/list-mfa-factors.md b/docs/examples/1.6.x/server-ruby/examples/account/list-mfa-factors.md index 48050f2235..460ac87ac1 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/list-mfa-factors.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/list-mfa-factors.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/account/list-sessions.md b/docs/examples/1.6.x/server-ruby/examples/account/list-sessions.md index 65d50483bb..b5968c498f 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/list-sessions.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/list-sessions.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/account/update-email.md b/docs/examples/1.6.x/server-ruby/examples/account/update-email.md index 69e49847cb..24b43edebd 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/update-email.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/update-email.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/account/update-m-f-a.md b/docs/examples/1.6.x/server-ruby/examples/account/update-m-f-a.md index bf5d745875..b1b50f32fd 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/update-m-f-a.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/update-m-f-a.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.6.x/server-ruby/examples/account/update-magic-u-r-l-session.md index 7e72263f97..c96820f183 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/update-magic-u-r-l-session.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account.new(client) diff --git a/docs/examples/1.6.x/server-ruby/examples/account/update-mfa-authenticator.md b/docs/examples/1.6.x/server-ruby/examples/account/update-mfa-authenticator.md index ba6389d043..5ff2adcbdc 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/update-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/update-mfa-authenticator.md @@ -4,7 +4,7 @@ include Appwrite include Appwrite::Enums client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/account/update-mfa-challenge.md b/docs/examples/1.6.x/server-ruby/examples/account/update-mfa-challenge.md index ab0d4d31ef..2f4b61d581 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/update-mfa-challenge.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/account/update-mfa-recovery-codes.md b/docs/examples/1.6.x/server-ruby/examples/account/update-mfa-recovery-codes.md index 5724025f63..ad1f2e5f0e 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/update-mfa-recovery-codes.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/account/update-name.md b/docs/examples/1.6.x/server-ruby/examples/account/update-name.md index e071dd96fd..ef8a5cbb4f 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/update-name.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/update-name.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/account/update-password.md b/docs/examples/1.6.x/server-ruby/examples/account/update-password.md index 8dd0da6bdd..4b8705359b 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/update-password.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/update-password.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/account/update-phone-session.md b/docs/examples/1.6.x/server-ruby/examples/account/update-phone-session.md index 90776ceded..b81c485c8c 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/update-phone-session.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/update-phone-session.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account.new(client) diff --git a/docs/examples/1.6.x/server-ruby/examples/account/update-phone-verification.md b/docs/examples/1.6.x/server-ruby/examples/account/update-phone-verification.md index b41bb42fad..8dcf316e49 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/update-phone-verification.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/update-phone-verification.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/account/update-phone.md b/docs/examples/1.6.x/server-ruby/examples/account/update-phone.md index b562355f0e..ea758a8d8d 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/update-phone.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/update-phone.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/account/update-prefs.md b/docs/examples/1.6.x/server-ruby/examples/account/update-prefs.md index 5dc92d1242..ecfe4f4988 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/update-prefs.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/update-prefs.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/account/update-recovery.md b/docs/examples/1.6.x/server-ruby/examples/account/update-recovery.md index 06372cb86a..42c483771c 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/update-recovery.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/update-recovery.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/account/update-session.md b/docs/examples/1.6.x/server-ruby/examples/account/update-session.md index b1181e0c87..34e00eec25 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/update-session.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/update-session.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/account/update-status.md b/docs/examples/1.6.x/server-ruby/examples/account/update-status.md index f69f527dfa..5c543b790c 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/update-status.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/update-status.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/account/update-verification.md b/docs/examples/1.6.x/server-ruby/examples/account/update-verification.md index 5a0cff80a2..9866ade95c 100644 --- a/docs/examples/1.6.x/server-ruby/examples/account/update-verification.md +++ b/docs/examples/1.6.x/server-ruby/examples/account/update-verification.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/avatars/get-browser.md b/docs/examples/1.6.x/server-ruby/examples/avatars/get-browser.md index f48a05a06e..4afdf779a4 100644 --- a/docs/examples/1.6.x/server-ruby/examples/avatars/get-browser.md +++ b/docs/examples/1.6.x/server-ruby/examples/avatars/get-browser.md @@ -4,7 +4,7 @@ include Appwrite include Appwrite::Enums client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/avatars/get-credit-card.md b/docs/examples/1.6.x/server-ruby/examples/avatars/get-credit-card.md index 99b3c62646..a324f6db75 100644 --- a/docs/examples/1.6.x/server-ruby/examples/avatars/get-credit-card.md +++ b/docs/examples/1.6.x/server-ruby/examples/avatars/get-credit-card.md @@ -4,7 +4,7 @@ include Appwrite include Appwrite::Enums client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/avatars/get-favicon.md b/docs/examples/1.6.x/server-ruby/examples/avatars/get-favicon.md index 470512868b..7c8bd4347f 100644 --- a/docs/examples/1.6.x/server-ruby/examples/avatars/get-favicon.md +++ b/docs/examples/1.6.x/server-ruby/examples/avatars/get-favicon.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/avatars/get-flag.md b/docs/examples/1.6.x/server-ruby/examples/avatars/get-flag.md index cd162a5f9e..f648a285d1 100644 --- a/docs/examples/1.6.x/server-ruby/examples/avatars/get-flag.md +++ b/docs/examples/1.6.x/server-ruby/examples/avatars/get-flag.md @@ -4,7 +4,7 @@ include Appwrite include Appwrite::Enums client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/avatars/get-image.md b/docs/examples/1.6.x/server-ruby/examples/avatars/get-image.md index bc38de19c9..f46fad0c44 100644 --- a/docs/examples/1.6.x/server-ruby/examples/avatars/get-image.md +++ b/docs/examples/1.6.x/server-ruby/examples/avatars/get-image.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/avatars/get-initials.md b/docs/examples/1.6.x/server-ruby/examples/avatars/get-initials.md index 9d79e8eac7..85e5a6a422 100644 --- a/docs/examples/1.6.x/server-ruby/examples/avatars/get-initials.md +++ b/docs/examples/1.6.x/server-ruby/examples/avatars/get-initials.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/avatars/get-q-r.md b/docs/examples/1.6.x/server-ruby/examples/avatars/get-q-r.md index f5228664fa..9c6e34686c 100644 --- a/docs/examples/1.6.x/server-ruby/examples/avatars/get-q-r.md +++ b/docs/examples/1.6.x/server-ruby/examples/avatars/get-q-r.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/create-boolean-attribute.md b/docs/examples/1.6.x/server-ruby/examples/databases/create-boolean-attribute.md index 35449c28f8..158ea05623 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/create-boolean-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/create-collection.md b/docs/examples/1.6.x/server-ruby/examples/databases/create-collection.md index 8d564a38e6..c22b34813e 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/create-collection.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/create-collection.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/create-datetime-attribute.md b/docs/examples/1.6.x/server-ruby/examples/databases/create-datetime-attribute.md index 594f36eda9..af12b7965b 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/create-datetime-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/create-document.md b/docs/examples/1.6.x/server-ruby/examples/databases/create-document.md index 30ef93f61a..e6831084a1 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/create-document.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/create-document.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/create-email-attribute.md b/docs/examples/1.6.x/server-ruby/examples/databases/create-email-attribute.md index d7456a1d5a..7f36f6b076 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/create-email-attribute.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/create-email-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/create-enum-attribute.md b/docs/examples/1.6.x/server-ruby/examples/databases/create-enum-attribute.md index 86212795f2..c8e390a1a9 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/create-enum-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/create-float-attribute.md b/docs/examples/1.6.x/server-ruby/examples/databases/create-float-attribute.md index 3b61bf56e6..fa77f89902 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/create-float-attribute.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/create-float-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/create-index.md b/docs/examples/1.6.x/server-ruby/examples/databases/create-index.md index 865ce932cc..e75478dea2 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/create-index.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/create-index.md @@ -4,7 +4,7 @@ include Appwrite include Appwrite::Enums client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/create-integer-attribute.md b/docs/examples/1.6.x/server-ruby/examples/databases/create-integer-attribute.md index 88832bdf74..a689502136 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/create-integer-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/create-ip-attribute.md b/docs/examples/1.6.x/server-ruby/examples/databases/create-ip-attribute.md index 88167e1f53..7abeee9403 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/create-ip-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/create-relationship-attribute.md b/docs/examples/1.6.x/server-ruby/examples/databases/create-relationship-attribute.md index d80f19c8f8..b056f3bbb2 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/create-relationship-attribute.md @@ -4,7 +4,7 @@ include Appwrite include Appwrite::Enums client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/create-string-attribute.md b/docs/examples/1.6.x/server-ruby/examples/databases/create-string-attribute.md index 05f96cfb80..d94af0f22f 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/create-string-attribute.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/create-string-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/create-url-attribute.md b/docs/examples/1.6.x/server-ruby/examples/databases/create-url-attribute.md index 9f216d9125..3ffd7321a1 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/create-url-attribute.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/create-url-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/create.md b/docs/examples/1.6.x/server-ruby/examples/databases/create.md index 3846e50a84..62675e6ba7 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/create.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/create.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/delete-attribute.md b/docs/examples/1.6.x/server-ruby/examples/databases/delete-attribute.md index a352a73a19..816b31e43f 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/delete-attribute.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/delete-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/delete-collection.md b/docs/examples/1.6.x/server-ruby/examples/databases/delete-collection.md index 1c0b961d2d..28dd8d773c 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/delete-collection.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/delete-collection.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/delete-document.md b/docs/examples/1.6.x/server-ruby/examples/databases/delete-document.md index 5195ea4efe..2102d2695b 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/delete-document.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/delete-document.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/delete-index.md b/docs/examples/1.6.x/server-ruby/examples/databases/delete-index.md index e91770c338..b5d9231508 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/delete-index.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/delete-index.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/delete.md b/docs/examples/1.6.x/server-ruby/examples/databases/delete.md index dbd5b559d7..802f5d6bd4 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/delete.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/delete.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/get-attribute.md b/docs/examples/1.6.x/server-ruby/examples/databases/get-attribute.md index 94ed06a508..1558de656a 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/get-attribute.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/get-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/get-collection.md b/docs/examples/1.6.x/server-ruby/examples/databases/get-collection.md index ff66336b85..89ae0e32ac 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/get-collection.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/get-collection.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/get-document.md b/docs/examples/1.6.x/server-ruby/examples/databases/get-document.md index bd0e4ec030..f43a1a2924 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/get-document.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/get-document.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/get-index.md b/docs/examples/1.6.x/server-ruby/examples/databases/get-index.md index 3042e1496f..cd5fca3d60 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/get-index.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/get-index.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/get.md b/docs/examples/1.6.x/server-ruby/examples/databases/get.md index cd8b777cce..c042cd7c4e 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/get.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/get.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/list-attributes.md b/docs/examples/1.6.x/server-ruby/examples/databases/list-attributes.md index 2a500a69e2..f1ec0dedcd 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/list-attributes.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/list-attributes.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/list-collections.md b/docs/examples/1.6.x/server-ruby/examples/databases/list-collections.md index bac8095c1c..26f3d35552 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/list-collections.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/list-collections.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/list-documents.md b/docs/examples/1.6.x/server-ruby/examples/databases/list-documents.md index 891e5345c8..6617198d3f 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/list-documents.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/list-documents.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/list-indexes.md b/docs/examples/1.6.x/server-ruby/examples/databases/list-indexes.md index 7f86bb77b1..f98c62a444 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/list-indexes.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/list-indexes.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/list.md b/docs/examples/1.6.x/server-ruby/examples/databases/list.md index 14c6fd1644..2e093f73b1 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/list.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/list.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/update-boolean-attribute.md b/docs/examples/1.6.x/server-ruby/examples/databases/update-boolean-attribute.md index 854848617b..72f0eac088 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/update-boolean-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/update-collection.md b/docs/examples/1.6.x/server-ruby/examples/databases/update-collection.md index 9a1c73cb10..d42a651cbb 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/update-collection.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/update-collection.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/update-datetime-attribute.md b/docs/examples/1.6.x/server-ruby/examples/databases/update-datetime-attribute.md index a7c8b32e9f..b726283323 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/update-datetime-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/update-document.md b/docs/examples/1.6.x/server-ruby/examples/databases/update-document.md index dce09af140..485eb0485a 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/update-document.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/update-document.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/update-email-attribute.md b/docs/examples/1.6.x/server-ruby/examples/databases/update-email-attribute.md index 9845f4bf4d..3324e39860 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/update-email-attribute.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/update-email-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/update-enum-attribute.md b/docs/examples/1.6.x/server-ruby/examples/databases/update-enum-attribute.md index 6bc28c3759..72a0515467 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/update-enum-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/update-float-attribute.md b/docs/examples/1.6.x/server-ruby/examples/databases/update-float-attribute.md index 4116d49e97..738e6de36a 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/update-float-attribute.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/update-float-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key @@ -14,8 +14,8 @@ result = databases.update_float_attribute( collection_id: '<COLLECTION_ID>', key: '', required: false, - min: null, - max: null, default: null, + min: null, # optional + max: null, # optional new_key: '' # optional ) diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/update-integer-attribute.md b/docs/examples/1.6.x/server-ruby/examples/databases/update-integer-attribute.md index 7bb8a19b76..dece44544f 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/update-integer-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key @@ -14,8 +14,8 @@ result = databases.update_integer_attribute( collection_id: '<COLLECTION_ID>', key: '', required: false, - min: null, - max: null, default: null, + min: null, # optional + max: null, # optional new_key: '' # optional ) diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/update-ip-attribute.md b/docs/examples/1.6.x/server-ruby/examples/databases/update-ip-attribute.md index b53719edd8..deceb732e4 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/update-ip-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/update-relationship-attribute.md b/docs/examples/1.6.x/server-ruby/examples/databases/update-relationship-attribute.md index 2b9d72a93a..679edb823e 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/update-relationship-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/update-string-attribute.md b/docs/examples/1.6.x/server-ruby/examples/databases/update-string-attribute.md index 5e4ac573dc..66f458e800 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/update-string-attribute.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/update-string-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/update-url-attribute.md b/docs/examples/1.6.x/server-ruby/examples/databases/update-url-attribute.md index 4367107e95..cbf417b6bf 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/update-url-attribute.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/update-url-attribute.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/databases/update.md b/docs/examples/1.6.x/server-ruby/examples/databases/update.md index eb5e42c399..e5c02a11f1 100644 --- a/docs/examples/1.6.x/server-ruby/examples/databases/update.md +++ b/docs/examples/1.6.x/server-ruby/examples/databases/update.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/functions/create-build.md b/docs/examples/1.6.x/server-ruby/examples/functions/create-build.md index 031bf03d6b..ef6151ca44 100644 --- a/docs/examples/1.6.x/server-ruby/examples/functions/create-build.md +++ b/docs/examples/1.6.x/server-ruby/examples/functions/create-build.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/functions/create-deployment.md b/docs/examples/1.6.x/server-ruby/examples/functions/create-deployment.md index 8c0b3a58d8..0ff3db31e9 100644 --- a/docs/examples/1.6.x/server-ruby/examples/functions/create-deployment.md +++ b/docs/examples/1.6.x/server-ruby/examples/functions/create-deployment.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/functions/create-execution.md b/docs/examples/1.6.x/server-ruby/examples/functions/create-execution.md index bda612c813..b64b1d5c57 100644 --- a/docs/examples/1.6.x/server-ruby/examples/functions/create-execution.md +++ b/docs/examples/1.6.x/server-ruby/examples/functions/create-execution.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/functions/create-variable.md b/docs/examples/1.6.x/server-ruby/examples/functions/create-variable.md index 10fa86e4cc..8094b7d064 100644 --- a/docs/examples/1.6.x/server-ruby/examples/functions/create-variable.md +++ b/docs/examples/1.6.x/server-ruby/examples/functions/create-variable.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/functions/create.md b/docs/examples/1.6.x/server-ruby/examples/functions/create.md index 9c0bf2911b..100491da13 100644 --- a/docs/examples/1.6.x/server-ruby/examples/functions/create.md +++ b/docs/examples/1.6.x/server-ruby/examples/functions/create.md @@ -4,7 +4,7 @@ include Appwrite include Appwrite::Enums client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/functions/delete-deployment.md b/docs/examples/1.6.x/server-ruby/examples/functions/delete-deployment.md index 642bf23b90..192172cf9c 100644 --- a/docs/examples/1.6.x/server-ruby/examples/functions/delete-deployment.md +++ b/docs/examples/1.6.x/server-ruby/examples/functions/delete-deployment.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/functions/delete-execution.md b/docs/examples/1.6.x/server-ruby/examples/functions/delete-execution.md index bb91baa338..4172aade32 100644 --- a/docs/examples/1.6.x/server-ruby/examples/functions/delete-execution.md +++ b/docs/examples/1.6.x/server-ruby/examples/functions/delete-execution.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/functions/delete-variable.md b/docs/examples/1.6.x/server-ruby/examples/functions/delete-variable.md index c36a58359e..ffbe69f106 100644 --- a/docs/examples/1.6.x/server-ruby/examples/functions/delete-variable.md +++ b/docs/examples/1.6.x/server-ruby/examples/functions/delete-variable.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/functions/delete.md b/docs/examples/1.6.x/server-ruby/examples/functions/delete.md index 787692accc..e5c59e39c0 100644 --- a/docs/examples/1.6.x/server-ruby/examples/functions/delete.md +++ b/docs/examples/1.6.x/server-ruby/examples/functions/delete.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/functions/get-deployment-download.md b/docs/examples/1.6.x/server-ruby/examples/functions/get-deployment-download.md index 01db87c754..57cacc6dbf 100644 --- a/docs/examples/1.6.x/server-ruby/examples/functions/get-deployment-download.md +++ b/docs/examples/1.6.x/server-ruby/examples/functions/get-deployment-download.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/functions/get-deployment.md b/docs/examples/1.6.x/server-ruby/examples/functions/get-deployment.md index b6baee4910..1651ae1285 100644 --- a/docs/examples/1.6.x/server-ruby/examples/functions/get-deployment.md +++ b/docs/examples/1.6.x/server-ruby/examples/functions/get-deployment.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/functions/get-execution.md b/docs/examples/1.6.x/server-ruby/examples/functions/get-execution.md index 6b19e4e65b..7ab910e785 100644 --- a/docs/examples/1.6.x/server-ruby/examples/functions/get-execution.md +++ b/docs/examples/1.6.x/server-ruby/examples/functions/get-execution.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/functions/get-variable.md b/docs/examples/1.6.x/server-ruby/examples/functions/get-variable.md index 30d6a0009d..5022cf84d6 100644 --- a/docs/examples/1.6.x/server-ruby/examples/functions/get-variable.md +++ b/docs/examples/1.6.x/server-ruby/examples/functions/get-variable.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/functions/get.md b/docs/examples/1.6.x/server-ruby/examples/functions/get.md index c2d63deb77..5cfd135028 100644 --- a/docs/examples/1.6.x/server-ruby/examples/functions/get.md +++ b/docs/examples/1.6.x/server-ruby/examples/functions/get.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/functions/list-deployments.md b/docs/examples/1.6.x/server-ruby/examples/functions/list-deployments.md index 7db9d45c01..3df3dd3ee8 100644 --- a/docs/examples/1.6.x/server-ruby/examples/functions/list-deployments.md +++ b/docs/examples/1.6.x/server-ruby/examples/functions/list-deployments.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/functions/list-executions.md b/docs/examples/1.6.x/server-ruby/examples/functions/list-executions.md index 159c78dbde..df63053a21 100644 --- a/docs/examples/1.6.x/server-ruby/examples/functions/list-executions.md +++ b/docs/examples/1.6.x/server-ruby/examples/functions/list-executions.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/functions/list-runtimes.md b/docs/examples/1.6.x/server-ruby/examples/functions/list-runtimes.md index 938fcf7552..1b6d25ee6d 100644 --- a/docs/examples/1.6.x/server-ruby/examples/functions/list-runtimes.md +++ b/docs/examples/1.6.x/server-ruby/examples/functions/list-runtimes.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/functions/list-specifications.md b/docs/examples/1.6.x/server-ruby/examples/functions/list-specifications.md index 2ccd05e3fd..2c9cf7c470 100644 --- a/docs/examples/1.6.x/server-ruby/examples/functions/list-specifications.md +++ b/docs/examples/1.6.x/server-ruby/examples/functions/list-specifications.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/functions/list-variables.md b/docs/examples/1.6.x/server-ruby/examples/functions/list-variables.md index 6159bf102b..dd3fc4f2ae 100644 --- a/docs/examples/1.6.x/server-ruby/examples/functions/list-variables.md +++ b/docs/examples/1.6.x/server-ruby/examples/functions/list-variables.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/functions/list.md b/docs/examples/1.6.x/server-ruby/examples/functions/list.md index a49034d051..0cab1c34d7 100644 --- a/docs/examples/1.6.x/server-ruby/examples/functions/list.md +++ b/docs/examples/1.6.x/server-ruby/examples/functions/list.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/functions/update-deployment-build.md b/docs/examples/1.6.x/server-ruby/examples/functions/update-deployment-build.md index 5164aebd6e..b8611f2637 100644 --- a/docs/examples/1.6.x/server-ruby/examples/functions/update-deployment-build.md +++ b/docs/examples/1.6.x/server-ruby/examples/functions/update-deployment-build.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/functions/update-deployment.md b/docs/examples/1.6.x/server-ruby/examples/functions/update-deployment.md index 862e86d2a6..c460885353 100644 --- a/docs/examples/1.6.x/server-ruby/examples/functions/update-deployment.md +++ b/docs/examples/1.6.x/server-ruby/examples/functions/update-deployment.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/functions/update-variable.md b/docs/examples/1.6.x/server-ruby/examples/functions/update-variable.md index 6ac47f80dc..f0b6002e9b 100644 --- a/docs/examples/1.6.x/server-ruby/examples/functions/update-variable.md +++ b/docs/examples/1.6.x/server-ruby/examples/functions/update-variable.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/functions/update.md b/docs/examples/1.6.x/server-ruby/examples/functions/update.md index 8f5cafdb55..45b6e32ab3 100644 --- a/docs/examples/1.6.x/server-ruby/examples/functions/update.md +++ b/docs/examples/1.6.x/server-ruby/examples/functions/update.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/graphql/mutation.md b/docs/examples/1.6.x/server-ruby/examples/graphql/mutation.md index 7daf975ea6..08ca6f30d2 100644 --- a/docs/examples/1.6.x/server-ruby/examples/graphql/mutation.md +++ b/docs/examples/1.6.x/server-ruby/examples/graphql/mutation.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/graphql/query.md b/docs/examples/1.6.x/server-ruby/examples/graphql/query.md index 0825bdea46..05e69506a1 100644 --- a/docs/examples/1.6.x/server-ruby/examples/graphql/query.md +++ b/docs/examples/1.6.x/server-ruby/examples/graphql/query.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/health/get-antivirus.md b/docs/examples/1.6.x/server-ruby/examples/health/get-antivirus.md index 5112507656..5f8d06056d 100644 --- a/docs/examples/1.6.x/server-ruby/examples/health/get-antivirus.md +++ b/docs/examples/1.6.x/server-ruby/examples/health/get-antivirus.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/health/get-cache.md b/docs/examples/1.6.x/server-ruby/examples/health/get-cache.md index 5493b757be..01bd46cd0b 100644 --- a/docs/examples/1.6.x/server-ruby/examples/health/get-cache.md +++ b/docs/examples/1.6.x/server-ruby/examples/health/get-cache.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/health/get-certificate.md b/docs/examples/1.6.x/server-ruby/examples/health/get-certificate.md index dcfcb6afb7..64699d42d0 100644 --- a/docs/examples/1.6.x/server-ruby/examples/health/get-certificate.md +++ b/docs/examples/1.6.x/server-ruby/examples/health/get-certificate.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/health/get-d-b.md b/docs/examples/1.6.x/server-ruby/examples/health/get-d-b.md index a707a14ada..d9668339c5 100644 --- a/docs/examples/1.6.x/server-ruby/examples/health/get-d-b.md +++ b/docs/examples/1.6.x/server-ruby/examples/health/get-d-b.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/health/get-failed-jobs.md b/docs/examples/1.6.x/server-ruby/examples/health/get-failed-jobs.md index da41856b40..73e1983e3a 100644 --- a/docs/examples/1.6.x/server-ruby/examples/health/get-failed-jobs.md +++ b/docs/examples/1.6.x/server-ruby/examples/health/get-failed-jobs.md @@ -4,7 +4,7 @@ include Appwrite include Appwrite::Enums client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/health/get-pub-sub.md b/docs/examples/1.6.x/server-ruby/examples/health/get-pub-sub.md index 4d86e06ea2..86e9c409ed 100644 --- a/docs/examples/1.6.x/server-ruby/examples/health/get-pub-sub.md +++ b/docs/examples/1.6.x/server-ruby/examples/health/get-pub-sub.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/health/get-queue-builds.md b/docs/examples/1.6.x/server-ruby/examples/health/get-queue-builds.md index bb002f8b39..9f876982ef 100644 --- a/docs/examples/1.6.x/server-ruby/examples/health/get-queue-builds.md +++ b/docs/examples/1.6.x/server-ruby/examples/health/get-queue-builds.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/health/get-queue-certificates.md b/docs/examples/1.6.x/server-ruby/examples/health/get-queue-certificates.md index 59572f94f3..d10c2feb39 100644 --- a/docs/examples/1.6.x/server-ruby/examples/health/get-queue-certificates.md +++ b/docs/examples/1.6.x/server-ruby/examples/health/get-queue-certificates.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/health/get-queue-databases.md b/docs/examples/1.6.x/server-ruby/examples/health/get-queue-databases.md index e09233bc34..37024d8144 100644 --- a/docs/examples/1.6.x/server-ruby/examples/health/get-queue-databases.md +++ b/docs/examples/1.6.x/server-ruby/examples/health/get-queue-databases.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/health/get-queue-deletes.md b/docs/examples/1.6.x/server-ruby/examples/health/get-queue-deletes.md index 184c13421c..2508be22ba 100644 --- a/docs/examples/1.6.x/server-ruby/examples/health/get-queue-deletes.md +++ b/docs/examples/1.6.x/server-ruby/examples/health/get-queue-deletes.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/health/get-queue-functions.md b/docs/examples/1.6.x/server-ruby/examples/health/get-queue-functions.md index b44b7b8983..e5b56474bc 100644 --- a/docs/examples/1.6.x/server-ruby/examples/health/get-queue-functions.md +++ b/docs/examples/1.6.x/server-ruby/examples/health/get-queue-functions.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/health/get-queue-logs.md b/docs/examples/1.6.x/server-ruby/examples/health/get-queue-logs.md index dd3f8759c3..cb35ac333b 100644 --- a/docs/examples/1.6.x/server-ruby/examples/health/get-queue-logs.md +++ b/docs/examples/1.6.x/server-ruby/examples/health/get-queue-logs.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/health/get-queue-mails.md b/docs/examples/1.6.x/server-ruby/examples/health/get-queue-mails.md index ce7c40587b..36cfec3d87 100644 --- a/docs/examples/1.6.x/server-ruby/examples/health/get-queue-mails.md +++ b/docs/examples/1.6.x/server-ruby/examples/health/get-queue-mails.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/health/get-queue-messaging.md b/docs/examples/1.6.x/server-ruby/examples/health/get-queue-messaging.md index 842da5bdd0..d317f2a74c 100644 --- a/docs/examples/1.6.x/server-ruby/examples/health/get-queue-messaging.md +++ b/docs/examples/1.6.x/server-ruby/examples/health/get-queue-messaging.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/health/get-queue-migrations.md b/docs/examples/1.6.x/server-ruby/examples/health/get-queue-migrations.md index 3349291ff8..3c68c865dc 100644 --- a/docs/examples/1.6.x/server-ruby/examples/health/get-queue-migrations.md +++ b/docs/examples/1.6.x/server-ruby/examples/health/get-queue-migrations.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/health/get-queue-stats-resources.md b/docs/examples/1.6.x/server-ruby/examples/health/get-queue-stats-resources.md new file mode 100644 index 0000000000..7024bac307 --- /dev/null +++ b/docs/examples/1.6.x/server-ruby/examples/health/get-queue-stats-resources.md @@ -0,0 +1,14 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('<YOUR_PROJECT_ID>') # Your project ID + .set_key('<YOUR_API_KEY>') # Your secret API key + +health = Health.new(client) + +result = health.get_queue_stats_resources( + threshold: null # optional +) diff --git a/docs/examples/1.6.x/server-ruby/examples/health/get-queue-usage-dump.md b/docs/examples/1.6.x/server-ruby/examples/health/get-queue-usage-dump.md index f8bf30b014..96088c25c7 100644 --- a/docs/examples/1.6.x/server-ruby/examples/health/get-queue-usage-dump.md +++ b/docs/examples/1.6.x/server-ruby/examples/health/get-queue-usage-dump.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/health/get-queue-usage.md b/docs/examples/1.6.x/server-ruby/examples/health/get-queue-usage.md index b1d17042e7..b687bd8789 100644 --- a/docs/examples/1.6.x/server-ruby/examples/health/get-queue-usage.md +++ b/docs/examples/1.6.x/server-ruby/examples/health/get-queue-usage.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/health/get-queue-webhooks.md b/docs/examples/1.6.x/server-ruby/examples/health/get-queue-webhooks.md index 982e244bbb..28f28ea78a 100644 --- a/docs/examples/1.6.x/server-ruby/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.6.x/server-ruby/examples/health/get-queue-webhooks.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/health/get-queue.md b/docs/examples/1.6.x/server-ruby/examples/health/get-queue.md index 936082a447..6e39da598e 100644 --- a/docs/examples/1.6.x/server-ruby/examples/health/get-queue.md +++ b/docs/examples/1.6.x/server-ruby/examples/health/get-queue.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/health/get-storage-local.md b/docs/examples/1.6.x/server-ruby/examples/health/get-storage-local.md index 8a04f77b9b..a122de50ee 100644 --- a/docs/examples/1.6.x/server-ruby/examples/health/get-storage-local.md +++ b/docs/examples/1.6.x/server-ruby/examples/health/get-storage-local.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/health/get-storage.md b/docs/examples/1.6.x/server-ruby/examples/health/get-storage.md index 6a5dfa97e4..ee778643ec 100644 --- a/docs/examples/1.6.x/server-ruby/examples/health/get-storage.md +++ b/docs/examples/1.6.x/server-ruby/examples/health/get-storage.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/health/get-time.md b/docs/examples/1.6.x/server-ruby/examples/health/get-time.md index 9e95c2332e..9d345557a3 100644 --- a/docs/examples/1.6.x/server-ruby/examples/health/get-time.md +++ b/docs/examples/1.6.x/server-ruby/examples/health/get-time.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/health/get.md b/docs/examples/1.6.x/server-ruby/examples/health/get.md index 5c82e66ce2..4bbf0c0eb0 100644 --- a/docs/examples/1.6.x/server-ruby/examples/health/get.md +++ b/docs/examples/1.6.x/server-ruby/examples/health/get.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/locale/get.md b/docs/examples/1.6.x/server-ruby/examples/locale/get.md index d3a982d043..264da0e187 100644 --- a/docs/examples/1.6.x/server-ruby/examples/locale/get.md +++ b/docs/examples/1.6.x/server-ruby/examples/locale/get.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/locale/list-codes.md b/docs/examples/1.6.x/server-ruby/examples/locale/list-codes.md index 74a41b9524..27632669f0 100644 --- a/docs/examples/1.6.x/server-ruby/examples/locale/list-codes.md +++ b/docs/examples/1.6.x/server-ruby/examples/locale/list-codes.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/locale/list-continents.md b/docs/examples/1.6.x/server-ruby/examples/locale/list-continents.md index 312936104c..b78f130201 100644 --- a/docs/examples/1.6.x/server-ruby/examples/locale/list-continents.md +++ b/docs/examples/1.6.x/server-ruby/examples/locale/list-continents.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/locale/list-countries-e-u.md b/docs/examples/1.6.x/server-ruby/examples/locale/list-countries-e-u.md index 9b19151d11..8498f2bdda 100644 --- a/docs/examples/1.6.x/server-ruby/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.6.x/server-ruby/examples/locale/list-countries-e-u.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/locale/list-countries-phones.md b/docs/examples/1.6.x/server-ruby/examples/locale/list-countries-phones.md index c011734ae1..8fa087e920 100644 --- a/docs/examples/1.6.x/server-ruby/examples/locale/list-countries-phones.md +++ b/docs/examples/1.6.x/server-ruby/examples/locale/list-countries-phones.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/locale/list-countries.md b/docs/examples/1.6.x/server-ruby/examples/locale/list-countries.md index 4884f6a681..a635a4e0b3 100644 --- a/docs/examples/1.6.x/server-ruby/examples/locale/list-countries.md +++ b/docs/examples/1.6.x/server-ruby/examples/locale/list-countries.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/locale/list-currencies.md b/docs/examples/1.6.x/server-ruby/examples/locale/list-currencies.md index 3dcfb703db..60e9d94df9 100644 --- a/docs/examples/1.6.x/server-ruby/examples/locale/list-currencies.md +++ b/docs/examples/1.6.x/server-ruby/examples/locale/list-currencies.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/locale/list-languages.md b/docs/examples/1.6.x/server-ruby/examples/locale/list-languages.md index 3d9a2dbc9c..e5b9df1945 100644 --- a/docs/examples/1.6.x/server-ruby/examples/locale/list-languages.md +++ b/docs/examples/1.6.x/server-ruby/examples/locale/list-languages.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/create-apns-provider.md b/docs/examples/1.6.x/server-ruby/examples/messaging/create-apns-provider.md index 88988f6e43..a280340847 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/create-apns-provider.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/create-apns-provider.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/create-email.md b/docs/examples/1.6.x/server-ruby/examples/messaging/create-email.md index c64cf5f284..573a5b83d4 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/create-email.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/create-email.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/create-fcm-provider.md b/docs/examples/1.6.x/server-ruby/examples/messaging/create-fcm-provider.md index 1c23df81f7..a1e8b67b51 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/create-fcm-provider.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/create-fcm-provider.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/create-mailgun-provider.md b/docs/examples/1.6.x/server-ruby/examples/messaging/create-mailgun-provider.md index 3c8a574d6e..aa5b7f1899 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/create-mailgun-provider.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/create-mailgun-provider.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/create-msg91provider.md b/docs/examples/1.6.x/server-ruby/examples/messaging/create-msg91provider.md index 7037f00d0e..35a192f148 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/create-msg91provider.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/create-msg91provider.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/create-push.md b/docs/examples/1.6.x/server-ruby/examples/messaging/create-push.md index 61663f4dc0..5c58fa542b 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/create-push.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/create-push.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/create-sendgrid-provider.md b/docs/examples/1.6.x/server-ruby/examples/messaging/create-sendgrid-provider.md index e9c31548d4..eae3ad3ece 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/create-sendgrid-provider.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/create-sendgrid-provider.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/create-sms.md b/docs/examples/1.6.x/server-ruby/examples/messaging/create-sms.md index 58a96aa477..901ec40c05 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/create-sms.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/create-sms.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/create-smtp-provider.md b/docs/examples/1.6.x/server-ruby/examples/messaging/create-smtp-provider.md index cbdaaaf8b5..b062e574b4 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/create-smtp-provider.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/create-smtp-provider.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/create-subscriber.md b/docs/examples/1.6.x/server-ruby/examples/messaging/create-subscriber.md index 973349084f..1f6fa43736 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/create-subscriber.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/create-subscriber.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_jwt('<YOUR_JWT>') # Your secret JSON Web Token diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/create-telesign-provider.md b/docs/examples/1.6.x/server-ruby/examples/messaging/create-telesign-provider.md index 40c60a793c..b26d9d2784 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/create-telesign-provider.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/create-telesign-provider.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/create-textmagic-provider.md b/docs/examples/1.6.x/server-ruby/examples/messaging/create-textmagic-provider.md index 804f0b2c86..4fd1a3683e 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/create-textmagic-provider.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/create-textmagic-provider.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/create-topic.md b/docs/examples/1.6.x/server-ruby/examples/messaging/create-topic.md index f1f29c9962..da2cf5e57b 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/create-topic.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/create-topic.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/create-twilio-provider.md b/docs/examples/1.6.x/server-ruby/examples/messaging/create-twilio-provider.md index 1350b8535a..a945602646 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/create-twilio-provider.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/create-twilio-provider.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/create-vonage-provider.md b/docs/examples/1.6.x/server-ruby/examples/messaging/create-vonage-provider.md index c1c83a4b0b..5a5f6eb72b 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/create-vonage-provider.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/create-vonage-provider.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/delete-provider.md b/docs/examples/1.6.x/server-ruby/examples/messaging/delete-provider.md index 86c9ae1473..3c19e1ba0f 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/delete-provider.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/delete-provider.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/delete-subscriber.md b/docs/examples/1.6.x/server-ruby/examples/messaging/delete-subscriber.md index 5606269d53..a82e5e94c2 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/delete-subscriber.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/delete-subscriber.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_jwt('<YOUR_JWT>') # Your secret JSON Web Token diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/delete-topic.md b/docs/examples/1.6.x/server-ruby/examples/messaging/delete-topic.md index d850662194..cb58ee5c6c 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/delete-topic.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/delete-topic.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/delete.md b/docs/examples/1.6.x/server-ruby/examples/messaging/delete.md index 1155406f81..e3db26127d 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/delete.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/delete.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/get-message.md b/docs/examples/1.6.x/server-ruby/examples/messaging/get-message.md index 8b7ffad012..f5449a0be4 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/get-message.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/get-message.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/get-provider.md b/docs/examples/1.6.x/server-ruby/examples/messaging/get-provider.md index 3da5beb468..ddb28da4de 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/get-provider.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/get-provider.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/get-subscriber.md b/docs/examples/1.6.x/server-ruby/examples/messaging/get-subscriber.md index 278aba08d2..3c7d05334e 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/get-subscriber.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/get-subscriber.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/get-topic.md b/docs/examples/1.6.x/server-ruby/examples/messaging/get-topic.md index ec58550f23..9ff732fc26 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/get-topic.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/get-topic.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/list-message-logs.md b/docs/examples/1.6.x/server-ruby/examples/messaging/list-message-logs.md index 7db1381d84..f20d6fb491 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/list-message-logs.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/list-message-logs.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/list-messages.md b/docs/examples/1.6.x/server-ruby/examples/messaging/list-messages.md index 07fc3fcc9b..ffc5dcdbc6 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/list-messages.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/list-messages.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/list-provider-logs.md b/docs/examples/1.6.x/server-ruby/examples/messaging/list-provider-logs.md index fda60b669a..af3751a18f 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/list-provider-logs.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/list-provider-logs.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/list-providers.md b/docs/examples/1.6.x/server-ruby/examples/messaging/list-providers.md index 43f4a213f5..a857f0562f 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/list-providers.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/list-providers.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/list-subscriber-logs.md b/docs/examples/1.6.x/server-ruby/examples/messaging/list-subscriber-logs.md index 5be2900cb6..06550e7067 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/list-subscriber-logs.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/list-subscriber-logs.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/list-subscribers.md b/docs/examples/1.6.x/server-ruby/examples/messaging/list-subscribers.md index 6583f9300e..07ebc99bab 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/list-subscribers.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/list-subscribers.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/list-targets.md b/docs/examples/1.6.x/server-ruby/examples/messaging/list-targets.md index 7354fc54b6..0407255d86 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/list-targets.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/list-targets.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/list-topic-logs.md b/docs/examples/1.6.x/server-ruby/examples/messaging/list-topic-logs.md index fb1f0e21b3..9b53c47f82 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/list-topic-logs.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/list-topic-logs.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/list-topics.md b/docs/examples/1.6.x/server-ruby/examples/messaging/list-topics.md index c00b8f1731..5e7b6740cc 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/list-topics.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/list-topics.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/update-apns-provider.md b/docs/examples/1.6.x/server-ruby/examples/messaging/update-apns-provider.md index e1748e6d88..b19704aaed 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/update-apns-provider.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/update-apns-provider.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/update-email.md b/docs/examples/1.6.x/server-ruby/examples/messaging/update-email.md index baae0f9462..aa3593292f 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/update-email.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/update-email.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/update-fcm-provider.md b/docs/examples/1.6.x/server-ruby/examples/messaging/update-fcm-provider.md index 463e028d5a..44ea0d28de 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/update-fcm-provider.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/update-fcm-provider.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/update-mailgun-provider.md b/docs/examples/1.6.x/server-ruby/examples/messaging/update-mailgun-provider.md index 38f741749b..a2e53190d7 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/update-mailgun-provider.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/update-mailgun-provider.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/update-msg91provider.md b/docs/examples/1.6.x/server-ruby/examples/messaging/update-msg91provider.md index b58c04f494..0e88382850 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/update-msg91provider.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/update-msg91provider.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/update-push.md b/docs/examples/1.6.x/server-ruby/examples/messaging/update-push.md index 6bf9fcaa79..42a5104ccb 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/update-push.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/update-push.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/update-sendgrid-provider.md b/docs/examples/1.6.x/server-ruby/examples/messaging/update-sendgrid-provider.md index afa2c172f7..99f1a9c7f1 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/update-sendgrid-provider.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/update-sendgrid-provider.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/update-sms.md b/docs/examples/1.6.x/server-ruby/examples/messaging/update-sms.md index 31adae7aa2..b31480c1a0 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/update-sms.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/update-sms.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/update-smtp-provider.md b/docs/examples/1.6.x/server-ruby/examples/messaging/update-smtp-provider.md index 00c6d57c0e..bbaebf3c32 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/update-smtp-provider.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/update-smtp-provider.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/update-telesign-provider.md b/docs/examples/1.6.x/server-ruby/examples/messaging/update-telesign-provider.md index 1d530f07b6..4f1bf6ff5b 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/update-telesign-provider.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/update-telesign-provider.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/update-textmagic-provider.md b/docs/examples/1.6.x/server-ruby/examples/messaging/update-textmagic-provider.md index e4e7a42d70..c8cd2f0daf 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/update-textmagic-provider.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/update-textmagic-provider.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/update-topic.md b/docs/examples/1.6.x/server-ruby/examples/messaging/update-topic.md index c944fb4ab6..d20d945385 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/update-topic.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/update-topic.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/update-twilio-provider.md b/docs/examples/1.6.x/server-ruby/examples/messaging/update-twilio-provider.md index 8203054f59..0f6a6761e1 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/update-twilio-provider.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/update-twilio-provider.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/messaging/update-vonage-provider.md b/docs/examples/1.6.x/server-ruby/examples/messaging/update-vonage-provider.md index 01d7fe12de..e75bfbd98e 100644 --- a/docs/examples/1.6.x/server-ruby/examples/messaging/update-vonage-provider.md +++ b/docs/examples/1.6.x/server-ruby/examples/messaging/update-vonage-provider.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/storage/create-bucket.md b/docs/examples/1.6.x/server-ruby/examples/storage/create-bucket.md index a6bb22cc5a..643431ed2c 100644 --- a/docs/examples/1.6.x/server-ruby/examples/storage/create-bucket.md +++ b/docs/examples/1.6.x/server-ruby/examples/storage/create-bucket.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/storage/create-file.md b/docs/examples/1.6.x/server-ruby/examples/storage/create-file.md index c6f3e266a9..99e07c33f4 100644 --- a/docs/examples/1.6.x/server-ruby/examples/storage/create-file.md +++ b/docs/examples/1.6.x/server-ruby/examples/storage/create-file.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/storage/delete-bucket.md b/docs/examples/1.6.x/server-ruby/examples/storage/delete-bucket.md index 37d504cdc3..dda3264e66 100644 --- a/docs/examples/1.6.x/server-ruby/examples/storage/delete-bucket.md +++ b/docs/examples/1.6.x/server-ruby/examples/storage/delete-bucket.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/storage/delete-file.md b/docs/examples/1.6.x/server-ruby/examples/storage/delete-file.md index 74bd8df8a8..eef058857c 100644 --- a/docs/examples/1.6.x/server-ruby/examples/storage/delete-file.md +++ b/docs/examples/1.6.x/server-ruby/examples/storage/delete-file.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/storage/get-bucket.md b/docs/examples/1.6.x/server-ruby/examples/storage/get-bucket.md index 158fc300b0..7c8580dcaf 100644 --- a/docs/examples/1.6.x/server-ruby/examples/storage/get-bucket.md +++ b/docs/examples/1.6.x/server-ruby/examples/storage/get-bucket.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/storage/get-file-download.md b/docs/examples/1.6.x/server-ruby/examples/storage/get-file-download.md index 86efd7c609..0747fdf04b 100644 --- a/docs/examples/1.6.x/server-ruby/examples/storage/get-file-download.md +++ b/docs/examples/1.6.x/server-ruby/examples/storage/get-file-download.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/storage/get-file-preview.md b/docs/examples/1.6.x/server-ruby/examples/storage/get-file-preview.md index 2babfbd856..38a68a8c8b 100644 --- a/docs/examples/1.6.x/server-ruby/examples/storage/get-file-preview.md +++ b/docs/examples/1.6.x/server-ruby/examples/storage/get-file-preview.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/storage/get-file-view.md b/docs/examples/1.6.x/server-ruby/examples/storage/get-file-view.md index b6b0c560bb..4c31305ecd 100644 --- a/docs/examples/1.6.x/server-ruby/examples/storage/get-file-view.md +++ b/docs/examples/1.6.x/server-ruby/examples/storage/get-file-view.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/storage/get-file.md b/docs/examples/1.6.x/server-ruby/examples/storage/get-file.md index 76bcca4483..b816bdba02 100644 --- a/docs/examples/1.6.x/server-ruby/examples/storage/get-file.md +++ b/docs/examples/1.6.x/server-ruby/examples/storage/get-file.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/storage/list-buckets.md b/docs/examples/1.6.x/server-ruby/examples/storage/list-buckets.md index 73cf40ed4f..dfee831b69 100644 --- a/docs/examples/1.6.x/server-ruby/examples/storage/list-buckets.md +++ b/docs/examples/1.6.x/server-ruby/examples/storage/list-buckets.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/storage/list-files.md b/docs/examples/1.6.x/server-ruby/examples/storage/list-files.md index 0ce09d8c15..078ff55e41 100644 --- a/docs/examples/1.6.x/server-ruby/examples/storage/list-files.md +++ b/docs/examples/1.6.x/server-ruby/examples/storage/list-files.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/storage/update-bucket.md b/docs/examples/1.6.x/server-ruby/examples/storage/update-bucket.md index 3db084deff..09b915eb5f 100644 --- a/docs/examples/1.6.x/server-ruby/examples/storage/update-bucket.md +++ b/docs/examples/1.6.x/server-ruby/examples/storage/update-bucket.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/storage/update-file.md b/docs/examples/1.6.x/server-ruby/examples/storage/update-file.md index ed50e9c908..a454499d9d 100644 --- a/docs/examples/1.6.x/server-ruby/examples/storage/update-file.md +++ b/docs/examples/1.6.x/server-ruby/examples/storage/update-file.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/teams/create-membership.md b/docs/examples/1.6.x/server-ruby/examples/teams/create-membership.md index 1990223142..6c0faba77d 100644 --- a/docs/examples/1.6.x/server-ruby/examples/teams/create-membership.md +++ b/docs/examples/1.6.x/server-ruby/examples/teams/create-membership.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/teams/create.md b/docs/examples/1.6.x/server-ruby/examples/teams/create.md index e462cf4277..ba71a1dfc4 100644 --- a/docs/examples/1.6.x/server-ruby/examples/teams/create.md +++ b/docs/examples/1.6.x/server-ruby/examples/teams/create.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/teams/delete-membership.md b/docs/examples/1.6.x/server-ruby/examples/teams/delete-membership.md index 4dc3397592..5d815a8ca3 100644 --- a/docs/examples/1.6.x/server-ruby/examples/teams/delete-membership.md +++ b/docs/examples/1.6.x/server-ruby/examples/teams/delete-membership.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/teams/delete.md b/docs/examples/1.6.x/server-ruby/examples/teams/delete.md index f4879ba422..c9f7c400e9 100644 --- a/docs/examples/1.6.x/server-ruby/examples/teams/delete.md +++ b/docs/examples/1.6.x/server-ruby/examples/teams/delete.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/teams/get-membership.md b/docs/examples/1.6.x/server-ruby/examples/teams/get-membership.md index ed60299e2c..41a2c7bfb4 100644 --- a/docs/examples/1.6.x/server-ruby/examples/teams/get-membership.md +++ b/docs/examples/1.6.x/server-ruby/examples/teams/get-membership.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/teams/get-prefs.md b/docs/examples/1.6.x/server-ruby/examples/teams/get-prefs.md index 1708412d56..e6b2cfadce 100644 --- a/docs/examples/1.6.x/server-ruby/examples/teams/get-prefs.md +++ b/docs/examples/1.6.x/server-ruby/examples/teams/get-prefs.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/teams/get.md b/docs/examples/1.6.x/server-ruby/examples/teams/get.md index 5d5a274b55..af51193cd3 100644 --- a/docs/examples/1.6.x/server-ruby/examples/teams/get.md +++ b/docs/examples/1.6.x/server-ruby/examples/teams/get.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/teams/list-memberships.md b/docs/examples/1.6.x/server-ruby/examples/teams/list-memberships.md index ac22269e3c..db48f0cfc6 100644 --- a/docs/examples/1.6.x/server-ruby/examples/teams/list-memberships.md +++ b/docs/examples/1.6.x/server-ruby/examples/teams/list-memberships.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/teams/list.md b/docs/examples/1.6.x/server-ruby/examples/teams/list.md index 50b49f8b45..9e96391975 100644 --- a/docs/examples/1.6.x/server-ruby/examples/teams/list.md +++ b/docs/examples/1.6.x/server-ruby/examples/teams/list.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/teams/update-membership-status.md b/docs/examples/1.6.x/server-ruby/examples/teams/update-membership-status.md index bb22ef03e7..40d82b86f1 100644 --- a/docs/examples/1.6.x/server-ruby/examples/teams/update-membership-status.md +++ b/docs/examples/1.6.x/server-ruby/examples/teams/update-membership-status.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/teams/update-membership.md b/docs/examples/1.6.x/server-ruby/examples/teams/update-membership.md index 7f92ff053c..92b69b1773 100644 --- a/docs/examples/1.6.x/server-ruby/examples/teams/update-membership.md +++ b/docs/examples/1.6.x/server-ruby/examples/teams/update-membership.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/teams/update-name.md b/docs/examples/1.6.x/server-ruby/examples/teams/update-name.md index 267e5f2963..74f785c4ca 100644 --- a/docs/examples/1.6.x/server-ruby/examples/teams/update-name.md +++ b/docs/examples/1.6.x/server-ruby/examples/teams/update-name.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/teams/update-prefs.md b/docs/examples/1.6.x/server-ruby/examples/teams/update-prefs.md index 337db7f22f..03426aa3b9 100644 --- a/docs/examples/1.6.x/server-ruby/examples/teams/update-prefs.md +++ b/docs/examples/1.6.x/server-ruby/examples/teams/update-prefs.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_session('') # The user session to authenticate with diff --git a/docs/examples/1.6.x/server-ruby/examples/users/create-argon2user.md b/docs/examples/1.6.x/server-ruby/examples/users/create-argon2user.md index 8b633daaa8..8da9e0b1ff 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/create-argon2user.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/create-argon2user.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/create-bcrypt-user.md b/docs/examples/1.6.x/server-ruby/examples/users/create-bcrypt-user.md index d76f653d27..7c2b852d69 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/create-bcrypt-user.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/create-j-w-t.md b/docs/examples/1.6.x/server-ruby/examples/users/create-j-w-t.md index a30a2b6bf0..57f7f1d32f 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/create-j-w-t.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/create-j-w-t.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/create-m-d5user.md b/docs/examples/1.6.x/server-ruby/examples/users/create-m-d5user.md index 80ca9f59cb..63fb68742e 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/create-m-d5user.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/create-m-d5user.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/create-mfa-recovery-codes.md b/docs/examples/1.6.x/server-ruby/examples/users/create-mfa-recovery-codes.md index 64fc8d5c58..0cdea46af3 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/create-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/create-mfa-recovery-codes.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/create-p-h-pass-user.md b/docs/examples/1.6.x/server-ruby/examples/users/create-p-h-pass-user.md index 2fa6081cea..7cd898a6fc 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/create-p-h-pass-user.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/create-s-h-a-user.md b/docs/examples/1.6.x/server-ruby/examples/users/create-s-h-a-user.md index 39c17743fd..f3951d9c80 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/create-s-h-a-user.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/create-scrypt-modified-user.md b/docs/examples/1.6.x/server-ruby/examples/users/create-scrypt-modified-user.md index 2a0ac89ebe..d84c2eed48 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/create-scrypt-modified-user.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/create-scrypt-user.md b/docs/examples/1.6.x/server-ruby/examples/users/create-scrypt-user.md index 38c250e552..53aa253d2a 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/create-scrypt-user.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/create-scrypt-user.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/create-session.md b/docs/examples/1.6.x/server-ruby/examples/users/create-session.md index ece2f429af..32d2b5f2ad 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/create-session.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/create-session.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/create-target.md b/docs/examples/1.6.x/server-ruby/examples/users/create-target.md index 5e5d943331..3e87868df6 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/create-target.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/create-target.md @@ -4,7 +4,7 @@ include Appwrite include Appwrite::Enums client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/create-token.md b/docs/examples/1.6.x/server-ruby/examples/users/create-token.md index 318294b989..85e5f448ca 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/create-token.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/create-token.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/create.md b/docs/examples/1.6.x/server-ruby/examples/users/create.md index aa742f60ff..4f57adeb87 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/create.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/create.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/delete-identity.md b/docs/examples/1.6.x/server-ruby/examples/users/delete-identity.md index 3c2e7a55b9..d2482dfae1 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/delete-identity.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/delete-identity.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/delete-mfa-authenticator.md b/docs/examples/1.6.x/server-ruby/examples/users/delete-mfa-authenticator.md index 9bed8637c2..50fcb0fa0d 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/delete-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/delete-mfa-authenticator.md @@ -4,7 +4,7 @@ include Appwrite include Appwrite::Enums client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/delete-session.md b/docs/examples/1.6.x/server-ruby/examples/users/delete-session.md index 4ac5f2795c..9b14cc4fa3 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/delete-session.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/delete-session.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/delete-sessions.md b/docs/examples/1.6.x/server-ruby/examples/users/delete-sessions.md index b83a4224f2..23fd505763 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/delete-sessions.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/delete-sessions.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/delete-target.md b/docs/examples/1.6.x/server-ruby/examples/users/delete-target.md index 0e016cf70c..f1564024db 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/delete-target.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/delete-target.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/delete.md b/docs/examples/1.6.x/server-ruby/examples/users/delete.md index 0aea69334e..db7f2ee6f8 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/delete.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/delete.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/get-mfa-recovery-codes.md b/docs/examples/1.6.x/server-ruby/examples/users/get-mfa-recovery-codes.md index f12a2879ee..f984517d26 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/get-mfa-recovery-codes.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/get-prefs.md b/docs/examples/1.6.x/server-ruby/examples/users/get-prefs.md index afcb56f42d..0118b39897 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/get-prefs.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/get-prefs.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/get-target.md b/docs/examples/1.6.x/server-ruby/examples/users/get-target.md index b2e268e816..10ce49b229 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/get-target.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/get-target.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/get.md b/docs/examples/1.6.x/server-ruby/examples/users/get.md index 86ec849c7c..95865b7e6c 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/get.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/get.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/list-identities.md b/docs/examples/1.6.x/server-ruby/examples/users/list-identities.md index 2d4aa2f7ee..78c8cf5098 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/list-identities.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/list-identities.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/list-logs.md b/docs/examples/1.6.x/server-ruby/examples/users/list-logs.md index a13cec1b53..686434869c 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/list-logs.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/list-logs.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/list-memberships.md b/docs/examples/1.6.x/server-ruby/examples/users/list-memberships.md index 8706af1405..d36c380cec 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/list-memberships.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/list-memberships.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/list-mfa-factors.md b/docs/examples/1.6.x/server-ruby/examples/users/list-mfa-factors.md index ab98651311..ca1e2b2b96 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/list-mfa-factors.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/list-mfa-factors.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/list-sessions.md b/docs/examples/1.6.x/server-ruby/examples/users/list-sessions.md index 17faa16701..311420531f 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/list-sessions.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/list-sessions.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/list-targets.md b/docs/examples/1.6.x/server-ruby/examples/users/list-targets.md index 9b849e4fcc..aae9941794 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/list-targets.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/list-targets.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/list.md b/docs/examples/1.6.x/server-ruby/examples/users/list.md index 40d1e83944..b490b65099 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/list.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/list.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/update-email-verification.md b/docs/examples/1.6.x/server-ruby/examples/users/update-email-verification.md index 439fa330d4..07f85f0318 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/update-email-verification.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/update-email-verification.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/update-email.md b/docs/examples/1.6.x/server-ruby/examples/users/update-email.md index d93141f3c9..b36aac59d1 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/update-email.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/update-email.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/update-labels.md b/docs/examples/1.6.x/server-ruby/examples/users/update-labels.md index 2789e8fea9..a62d34b2e2 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/update-labels.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/update-labels.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/update-mfa-recovery-codes.md b/docs/examples/1.6.x/server-ruby/examples/users/update-mfa-recovery-codes.md index 1fc497c22e..aaf5ba16c0 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/update-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/update-mfa-recovery-codes.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/update-mfa.md b/docs/examples/1.6.x/server-ruby/examples/users/update-mfa.md index 9bafee47ef..3ebfb96116 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/update-mfa.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/update-mfa.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/update-name.md b/docs/examples/1.6.x/server-ruby/examples/users/update-name.md index 7645c16597..e7ade96e32 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/update-name.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/update-name.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/update-password.md b/docs/examples/1.6.x/server-ruby/examples/users/update-password.md index 40e03eea9c..47c1f1ef49 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/update-password.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/update-password.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/update-phone-verification.md b/docs/examples/1.6.x/server-ruby/examples/users/update-phone-verification.md index 88082ee034..6af7fcb638 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/update-phone-verification.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/update-phone-verification.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/update-phone.md b/docs/examples/1.6.x/server-ruby/examples/users/update-phone.md index b08daa8386..bd26547daa 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/update-phone.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/update-phone.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/update-prefs.md b/docs/examples/1.6.x/server-ruby/examples/users/update-prefs.md index 9871ff5b62..fbdccd7d23 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/update-prefs.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/update-prefs.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/update-status.md b/docs/examples/1.6.x/server-ruby/examples/users/update-status.md index a5d9544cbf..d73982c149 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/update-status.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/update-status.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-ruby/examples/users/update-target.md b/docs/examples/1.6.x/server-ruby/examples/users/update-target.md index 6acc913642..dbcd1bd2f4 100644 --- a/docs/examples/1.6.x/server-ruby/examples/users/update-target.md +++ b/docs/examples/1.6.x/server-ruby/examples/users/update-target.md @@ -3,7 +3,7 @@ require 'appwrite' include Appwrite client = Client.new - .set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + .set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint .set_project('<YOUR_PROJECT_ID>') # Your project ID .set_key('<YOUR_API_KEY>') # Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/account/create-anonymous-session.md b/docs/examples/1.6.x/server-swift/examples/account/create-anonymous-session.md index f676bac4da..22020a16d9 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/create-anonymous-session.md +++ b/docs/examples/1.6.x/server-swift/examples/account/create-anonymous-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/server-swift/examples/account/create-email-password-session.md b/docs/examples/1.6.x/server-swift/examples/account/create-email-password-session.md index 15051827b8..5f541a8a15 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/create-email-password-session.md +++ b/docs/examples/1.6.x/server-swift/examples/account/create-email-password-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/server-swift/examples/account/create-email-token.md b/docs/examples/1.6.x/server-swift/examples/account/create-email-token.md index b9d39ff27f..cf82afde8f 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/create-email-token.md +++ b/docs/examples/1.6.x/server-swift/examples/account/create-email-token.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/server-swift/examples/account/create-j-w-t.md b/docs/examples/1.6.x/server-swift/examples/account/create-j-w-t.md index c1c0f22dff..fbcd50401c 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/create-j-w-t.md +++ b/docs/examples/1.6.x/server-swift/examples/account/create-j-w-t.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/server-swift/examples/account/create-magic-u-r-l-token.md b/docs/examples/1.6.x/server-swift/examples/account/create-magic-u-r-l-token.md index 83eb681673..27bbe4137e 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/create-magic-u-r-l-token.md +++ b/docs/examples/1.6.x/server-swift/examples/account/create-magic-u-r-l-token.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/server-swift/examples/account/create-mfa-authenticator.md b/docs/examples/1.6.x/server-swift/examples/account/create-mfa-authenticator.md index 70294e99a2..4dd91d84dd 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/create-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-swift/examples/account/create-mfa-authenticator.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/account/create-mfa-challenge.md b/docs/examples/1.6.x/server-swift/examples/account/create-mfa-challenge.md index 6d262d9c74..0b5d385999 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/create-mfa-challenge.md +++ b/docs/examples/1.6.x/server-swift/examples/account/create-mfa-challenge.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/server-swift/examples/account/create-mfa-recovery-codes.md b/docs/examples/1.6.x/server-swift/examples/account/create-mfa-recovery-codes.md index 8480f41779..a73e4f6024 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-swift/examples/account/create-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/account/create-o-auth2token.md b/docs/examples/1.6.x/server-swift/examples/account/create-o-auth2token.md index 7bbfe98f48..21b54e8c9a 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/create-o-auth2token.md +++ b/docs/examples/1.6.x/server-swift/examples/account/create-o-auth2token.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/server-swift/examples/account/create-phone-token.md b/docs/examples/1.6.x/server-swift/examples/account/create-phone-token.md index acb7a696bc..12b2d4b223 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/create-phone-token.md +++ b/docs/examples/1.6.x/server-swift/examples/account/create-phone-token.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/server-swift/examples/account/create-phone-verification.md b/docs/examples/1.6.x/server-swift/examples/account/create-phone-verification.md index 8bab0b760f..cba0637648 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/create-phone-verification.md +++ b/docs/examples/1.6.x/server-swift/examples/account/create-phone-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/account/create-recovery.md b/docs/examples/1.6.x/server-swift/examples/account/create-recovery.md index f110d5b84d..d89f679e0c 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/create-recovery.md +++ b/docs/examples/1.6.x/server-swift/examples/account/create-recovery.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/account/create-session.md b/docs/examples/1.6.x/server-swift/examples/account/create-session.md index 3ea5119569..2065692a16 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/create-session.md +++ b/docs/examples/1.6.x/server-swift/examples/account/create-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/server-swift/examples/account/create-verification.md b/docs/examples/1.6.x/server-swift/examples/account/create-verification.md index 305adcab30..71e9bdd32b 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/create-verification.md +++ b/docs/examples/1.6.x/server-swift/examples/account/create-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/account/create.md b/docs/examples/1.6.x/server-swift/examples/account/create.md index cad7e44c44..79b4db64ba 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/create.md +++ b/docs/examples/1.6.x/server-swift/examples/account/create.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/server-swift/examples/account/delete-identity.md b/docs/examples/1.6.x/server-swift/examples/account/delete-identity.md index e0322503f8..f0f14b37d2 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/delete-identity.md +++ b/docs/examples/1.6.x/server-swift/examples/account/delete-identity.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/account/delete-mfa-authenticator.md b/docs/examples/1.6.x/server-swift/examples/account/delete-mfa-authenticator.md index 9aa02ff4ca..e4209a2550 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-swift/examples/account/delete-mfa-authenticator.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/account/delete-session.md b/docs/examples/1.6.x/server-swift/examples/account/delete-session.md index 9c685bc551..2469620116 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/delete-session.md +++ b/docs/examples/1.6.x/server-swift/examples/account/delete-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/account/delete-sessions.md b/docs/examples/1.6.x/server-swift/examples/account/delete-sessions.md index 59710f1a77..da8ac6dfe8 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/delete-sessions.md +++ b/docs/examples/1.6.x/server-swift/examples/account/delete-sessions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/account/get-mfa-recovery-codes.md b/docs/examples/1.6.x/server-swift/examples/account/get-mfa-recovery-codes.md index 34743be6d3..69455f4acd 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-swift/examples/account/get-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/account/get-prefs.md b/docs/examples/1.6.x/server-swift/examples/account/get-prefs.md index 08d9ab5b4a..6551df92e6 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/get-prefs.md +++ b/docs/examples/1.6.x/server-swift/examples/account/get-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/account/get-session.md b/docs/examples/1.6.x/server-swift/examples/account/get-session.md index 37747add26..63efb3f098 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/get-session.md +++ b/docs/examples/1.6.x/server-swift/examples/account/get-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/account/get.md b/docs/examples/1.6.x/server-swift/examples/account/get.md index 91ed56ab7c..833901b5b4 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/get.md +++ b/docs/examples/1.6.x/server-swift/examples/account/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/account/list-identities.md b/docs/examples/1.6.x/server-swift/examples/account/list-identities.md index 96c6fd9dc2..c7ecff9962 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/list-identities.md +++ b/docs/examples/1.6.x/server-swift/examples/account/list-identities.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/account/list-logs.md b/docs/examples/1.6.x/server-swift/examples/account/list-logs.md index 1a93da0d0e..84c3327762 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/list-logs.md +++ b/docs/examples/1.6.x/server-swift/examples/account/list-logs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/account/list-mfa-factors.md b/docs/examples/1.6.x/server-swift/examples/account/list-mfa-factors.md index 72c2f5affe..a63d4d0f82 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/list-mfa-factors.md +++ b/docs/examples/1.6.x/server-swift/examples/account/list-mfa-factors.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/account/list-sessions.md b/docs/examples/1.6.x/server-swift/examples/account/list-sessions.md index 67bb107091..49691b3a9e 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/list-sessions.md +++ b/docs/examples/1.6.x/server-swift/examples/account/list-sessions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/account/update-email.md b/docs/examples/1.6.x/server-swift/examples/account/update-email.md index d8126b5cf8..48cce5055d 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/update-email.md +++ b/docs/examples/1.6.x/server-swift/examples/account/update-email.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/account/update-m-f-a.md b/docs/examples/1.6.x/server-swift/examples/account/update-m-f-a.md index 4a471a4a35..ac486fceb6 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/update-m-f-a.md +++ b/docs/examples/1.6.x/server-swift/examples/account/update-m-f-a.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/account/update-magic-u-r-l-session.md b/docs/examples/1.6.x/server-swift/examples/account/update-magic-u-r-l-session.md index 8e0a26a6ef..507006b230 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/1.6.x/server-swift/examples/account/update-magic-u-r-l-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/server-swift/examples/account/update-mfa-authenticator.md b/docs/examples/1.6.x/server-swift/examples/account/update-mfa-authenticator.md index 30e2705318..fedbc954af 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/update-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-swift/examples/account/update-mfa-authenticator.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/account/update-mfa-challenge.md b/docs/examples/1.6.x/server-swift/examples/account/update-mfa-challenge.md index fee76bf0dd..4edb1fbbc3 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/update-mfa-challenge.md +++ b/docs/examples/1.6.x/server-swift/examples/account/update-mfa-challenge.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/account/update-mfa-recovery-codes.md b/docs/examples/1.6.x/server-swift/examples/account/update-mfa-recovery-codes.md index 2be8f6fbf6..d0a2b8c686 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-swift/examples/account/update-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/account/update-name.md b/docs/examples/1.6.x/server-swift/examples/account/update-name.md index 419b30a009..2c676d8714 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/update-name.md +++ b/docs/examples/1.6.x/server-swift/examples/account/update-name.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/account/update-password.md b/docs/examples/1.6.x/server-swift/examples/account/update-password.md index 8358ede14f..62fe48e6e9 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/update-password.md +++ b/docs/examples/1.6.x/server-swift/examples/account/update-password.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/account/update-phone-session.md b/docs/examples/1.6.x/server-swift/examples/account/update-phone-session.md index 50a88cbe51..f6776d1de1 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/update-phone-session.md +++ b/docs/examples/1.6.x/server-swift/examples/account/update-phone-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID let account = Account(client) diff --git a/docs/examples/1.6.x/server-swift/examples/account/update-phone-verification.md b/docs/examples/1.6.x/server-swift/examples/account/update-phone-verification.md index 13b0baca63..a983e79c3c 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/update-phone-verification.md +++ b/docs/examples/1.6.x/server-swift/examples/account/update-phone-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/account/update-phone.md b/docs/examples/1.6.x/server-swift/examples/account/update-phone.md index 496ddd9d0e..6dd87a0ce5 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/update-phone.md +++ b/docs/examples/1.6.x/server-swift/examples/account/update-phone.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/account/update-prefs.md b/docs/examples/1.6.x/server-swift/examples/account/update-prefs.md index 846764b4e5..53bf623469 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/update-prefs.md +++ b/docs/examples/1.6.x/server-swift/examples/account/update-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/account/update-recovery.md b/docs/examples/1.6.x/server-swift/examples/account/update-recovery.md index 82e86839d8..d655edfe59 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/update-recovery.md +++ b/docs/examples/1.6.x/server-swift/examples/account/update-recovery.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/account/update-session.md b/docs/examples/1.6.x/server-swift/examples/account/update-session.md index 866ea03047..f2f4f7b737 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/update-session.md +++ b/docs/examples/1.6.x/server-swift/examples/account/update-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/account/update-status.md b/docs/examples/1.6.x/server-swift/examples/account/update-status.md index d63ceed724..88e30cfb09 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/update-status.md +++ b/docs/examples/1.6.x/server-swift/examples/account/update-status.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/account/update-verification.md b/docs/examples/1.6.x/server-swift/examples/account/update-verification.md index 5bae677744..61bc18cc48 100644 --- a/docs/examples/1.6.x/server-swift/examples/account/update-verification.md +++ b/docs/examples/1.6.x/server-swift/examples/account/update-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/avatars/get-browser.md b/docs/examples/1.6.x/server-swift/examples/avatars/get-browser.md index e2a79f953f..7db84f1ba2 100644 --- a/docs/examples/1.6.x/server-swift/examples/avatars/get-browser.md +++ b/docs/examples/1.6.x/server-swift/examples/avatars/get-browser.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/avatars/get-credit-card.md b/docs/examples/1.6.x/server-swift/examples/avatars/get-credit-card.md index 741d341060..aa9bafd2c3 100644 --- a/docs/examples/1.6.x/server-swift/examples/avatars/get-credit-card.md +++ b/docs/examples/1.6.x/server-swift/examples/avatars/get-credit-card.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/avatars/get-favicon.md b/docs/examples/1.6.x/server-swift/examples/avatars/get-favicon.md index 0ee7ba1766..73f54fe5d3 100644 --- a/docs/examples/1.6.x/server-swift/examples/avatars/get-favicon.md +++ b/docs/examples/1.6.x/server-swift/examples/avatars/get-favicon.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/avatars/get-flag.md b/docs/examples/1.6.x/server-swift/examples/avatars/get-flag.md index 2bdd9577ee..c276572ce9 100644 --- a/docs/examples/1.6.x/server-swift/examples/avatars/get-flag.md +++ b/docs/examples/1.6.x/server-swift/examples/avatars/get-flag.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/avatars/get-image.md b/docs/examples/1.6.x/server-swift/examples/avatars/get-image.md index fecadf7cf7..5455ad18f5 100644 --- a/docs/examples/1.6.x/server-swift/examples/avatars/get-image.md +++ b/docs/examples/1.6.x/server-swift/examples/avatars/get-image.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/avatars/get-initials.md b/docs/examples/1.6.x/server-swift/examples/avatars/get-initials.md index d5e09050f2..63dfa5e5ab 100644 --- a/docs/examples/1.6.x/server-swift/examples/avatars/get-initials.md +++ b/docs/examples/1.6.x/server-swift/examples/avatars/get-initials.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/avatars/get-q-r.md b/docs/examples/1.6.x/server-swift/examples/avatars/get-q-r.md index 56f4b9c7d7..ae4cc910ab 100644 --- a/docs/examples/1.6.x/server-swift/examples/avatars/get-q-r.md +++ b/docs/examples/1.6.x/server-swift/examples/avatars/get-q-r.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/databases/create-boolean-attribute.md b/docs/examples/1.6.x/server-swift/examples/databases/create-boolean-attribute.md index 0776be6ead..4530c385ca 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/create-boolean-attribute.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/create-boolean-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/create-collection.md b/docs/examples/1.6.x/server-swift/examples/databases/create-collection.md index 79c2d59861..c3335b48cb 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/create-collection.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/create-collection.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/create-datetime-attribute.md b/docs/examples/1.6.x/server-swift/examples/databases/create-datetime-attribute.md index b4f51d8f0c..d14d0b5cab 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/create-datetime-attribute.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/create-datetime-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/create-document.md b/docs/examples/1.6.x/server-swift/examples/databases/create-document.md index 5f480a5ee4..daeaf144e1 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/create-document.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/create-document.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/databases/create-email-attribute.md b/docs/examples/1.6.x/server-swift/examples/databases/create-email-attribute.md index 7c44f4d62e..9bd30b38c9 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/create-email-attribute.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/create-email-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/create-enum-attribute.md b/docs/examples/1.6.x/server-swift/examples/databases/create-enum-attribute.md index b1d680824c..08023f652b 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/create-enum-attribute.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/create-enum-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/create-float-attribute.md b/docs/examples/1.6.x/server-swift/examples/databases/create-float-attribute.md index 780e53b775..b5126c6a50 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/create-float-attribute.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/create-float-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/create-index.md b/docs/examples/1.6.x/server-swift/examples/databases/create-index.md index bd1d26dc32..11cbc17982 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/create-index.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/create-index.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/create-integer-attribute.md b/docs/examples/1.6.x/server-swift/examples/databases/create-integer-attribute.md index 03fea65bc6..20c29cd569 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/create-integer-attribute.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/create-integer-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/create-ip-attribute.md b/docs/examples/1.6.x/server-swift/examples/databases/create-ip-attribute.md index 4e601a37c8..09605ba522 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/create-ip-attribute.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/create-ip-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/create-relationship-attribute.md b/docs/examples/1.6.x/server-swift/examples/databases/create-relationship-attribute.md index c85b477998..8e6c3eb84b 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/create-relationship-attribute.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/create-relationship-attribute.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/create-string-attribute.md b/docs/examples/1.6.x/server-swift/examples/databases/create-string-attribute.md index 6a7ae27c6e..80c321ecdb 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/create-string-attribute.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/create-string-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/create-url-attribute.md b/docs/examples/1.6.x/server-swift/examples/databases/create-url-attribute.md index 6d59fed958..efd2acbc08 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/create-url-attribute.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/create-url-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/create.md b/docs/examples/1.6.x/server-swift/examples/databases/create.md index 82689d1b52..b0362bb3e8 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/create.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/create.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/delete-attribute.md b/docs/examples/1.6.x/server-swift/examples/databases/delete-attribute.md index 7fb7c3a02e..9948555981 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/delete-attribute.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/delete-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/delete-collection.md b/docs/examples/1.6.x/server-swift/examples/databases/delete-collection.md index 781e97c27d..d61f0e658d 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/delete-collection.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/delete-collection.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/delete-document.md b/docs/examples/1.6.x/server-swift/examples/databases/delete-document.md index f934d5b29c..1db59709ab 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/delete-document.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/delete-document.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/databases/delete-index.md b/docs/examples/1.6.x/server-swift/examples/databases/delete-index.md index f819d921b6..ecd09f7ce6 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/delete-index.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/delete-index.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/delete.md b/docs/examples/1.6.x/server-swift/examples/databases/delete.md index 8cb3f88212..40567e4288 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/delete.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/delete.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/get-attribute.md b/docs/examples/1.6.x/server-swift/examples/databases/get-attribute.md index f22fd9280a..30cd0c8832 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/get-attribute.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/get-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/get-collection.md b/docs/examples/1.6.x/server-swift/examples/databases/get-collection.md index 81b0bf21ba..96c1fa0f94 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/get-collection.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/get-collection.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/get-document.md b/docs/examples/1.6.x/server-swift/examples/databases/get-document.md index 206fddd3e6..c92856a731 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/get-document.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/get-document.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/databases/get-index.md b/docs/examples/1.6.x/server-swift/examples/databases/get-index.md index b2c1b30902..cd59074dc8 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/get-index.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/get-index.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/get.md b/docs/examples/1.6.x/server-swift/examples/databases/get.md index 37c15982cb..875929bed0 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/get.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/list-attributes.md b/docs/examples/1.6.x/server-swift/examples/databases/list-attributes.md index 356b13be0f..b375c8771b 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/list-attributes.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/list-attributes.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/list-collections.md b/docs/examples/1.6.x/server-swift/examples/databases/list-collections.md index 03db34f8d5..10481d985c 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/list-collections.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/list-collections.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/list-documents.md b/docs/examples/1.6.x/server-swift/examples/databases/list-documents.md index 11dc91d2ae..2cac9330b3 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/list-documents.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/list-documents.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/databases/list-indexes.md b/docs/examples/1.6.x/server-swift/examples/databases/list-indexes.md index 2f37a0b30d..691f74b076 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/list-indexes.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/list-indexes.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/list.md b/docs/examples/1.6.x/server-swift/examples/databases/list.md index e27367659a..f8a2313acc 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/list.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/list.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/update-boolean-attribute.md b/docs/examples/1.6.x/server-swift/examples/databases/update-boolean-attribute.md index e40da1a1e1..0d925056c2 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/update-boolean-attribute.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/update-boolean-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/update-collection.md b/docs/examples/1.6.x/server-swift/examples/databases/update-collection.md index 741d3c6016..9109990109 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/update-collection.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/update-collection.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/update-datetime-attribute.md b/docs/examples/1.6.x/server-swift/examples/databases/update-datetime-attribute.md index a7728d24c5..906b374946 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/update-datetime-attribute.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/update-datetime-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/update-document.md b/docs/examples/1.6.x/server-swift/examples/databases/update-document.md index 67cfb960ea..7d452db284 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/update-document.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/update-document.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/databases/update-email-attribute.md b/docs/examples/1.6.x/server-swift/examples/databases/update-email-attribute.md index 137ca78afe..b485712ada 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/update-email-attribute.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/update-email-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/update-enum-attribute.md b/docs/examples/1.6.x/server-swift/examples/databases/update-enum-attribute.md index bf7df6f714..997b940c1b 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/update-enum-attribute.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/update-enum-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/update-float-attribute.md b/docs/examples/1.6.x/server-swift/examples/databases/update-float-attribute.md index 54a6065bcd..5f3e8da4da 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/update-float-attribute.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/update-float-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key @@ -12,9 +12,9 @@ let attributeFloat = try await databases.updateFloatAttribute( collectionId: "<COLLECTION_ID>", key: "", required: false, - min: 0, - max: 0, default: 0, + min: 0, // optional + max: 0, // optional newKey: "" // optional ) diff --git a/docs/examples/1.6.x/server-swift/examples/databases/update-integer-attribute.md b/docs/examples/1.6.x/server-swift/examples/databases/update-integer-attribute.md index 0a8d545ec9..edc0a12c8c 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/update-integer-attribute.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/update-integer-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key @@ -12,9 +12,9 @@ let attributeInteger = try await databases.updateIntegerAttribute( collectionId: "<COLLECTION_ID>", key: "", required: false, - min: 0, - max: 0, default: 0, + min: 0, // optional + max: 0, // optional newKey: "" // optional ) diff --git a/docs/examples/1.6.x/server-swift/examples/databases/update-ip-attribute.md b/docs/examples/1.6.x/server-swift/examples/databases/update-ip-attribute.md index 2b4109665a..e08835747c 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/update-ip-attribute.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/update-ip-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/update-relationship-attribute.md b/docs/examples/1.6.x/server-swift/examples/databases/update-relationship-attribute.md index 8faa5ae17f..0fb06d7796 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/update-relationship-attribute.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/update-relationship-attribute.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/update-string-attribute.md b/docs/examples/1.6.x/server-swift/examples/databases/update-string-attribute.md index d3129dcce2..1eb3315dca 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/update-string-attribute.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/update-string-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/update-url-attribute.md b/docs/examples/1.6.x/server-swift/examples/databases/update-url-attribute.md index b442a6add4..cd18f96368 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/update-url-attribute.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/update-url-attribute.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/databases/update.md b/docs/examples/1.6.x/server-swift/examples/databases/update.md index a03a74b4ff..07f506257b 100644 --- a/docs/examples/1.6.x/server-swift/examples/databases/update.md +++ b/docs/examples/1.6.x/server-swift/examples/databases/update.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/functions/create-build.md b/docs/examples/1.6.x/server-swift/examples/functions/create-build.md index f67ac99bc1..22d3c4307b 100644 --- a/docs/examples/1.6.x/server-swift/examples/functions/create-build.md +++ b/docs/examples/1.6.x/server-swift/examples/functions/create-build.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/functions/create-deployment.md b/docs/examples/1.6.x/server-swift/examples/functions/create-deployment.md index bcd10ae042..de3d14d242 100644 --- a/docs/examples/1.6.x/server-swift/examples/functions/create-deployment.md +++ b/docs/examples/1.6.x/server-swift/examples/functions/create-deployment.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/functions/create-execution.md b/docs/examples/1.6.x/server-swift/examples/functions/create-execution.md index 560f1a977f..aae7a0f52f 100644 --- a/docs/examples/1.6.x/server-swift/examples/functions/create-execution.md +++ b/docs/examples/1.6.x/server-swift/examples/functions/create-execution.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/functions/create-variable.md b/docs/examples/1.6.x/server-swift/examples/functions/create-variable.md index 3af3220975..83ec4dbdd9 100644 --- a/docs/examples/1.6.x/server-swift/examples/functions/create-variable.md +++ b/docs/examples/1.6.x/server-swift/examples/functions/create-variable.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/functions/create.md b/docs/examples/1.6.x/server-swift/examples/functions/create.md index fb614b5a4e..aa77cc4741 100644 --- a/docs/examples/1.6.x/server-swift/examples/functions/create.md +++ b/docs/examples/1.6.x/server-swift/examples/functions/create.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/functions/delete-deployment.md b/docs/examples/1.6.x/server-swift/examples/functions/delete-deployment.md index cf9315e9af..dec7b1db8f 100644 --- a/docs/examples/1.6.x/server-swift/examples/functions/delete-deployment.md +++ b/docs/examples/1.6.x/server-swift/examples/functions/delete-deployment.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/functions/delete-execution.md b/docs/examples/1.6.x/server-swift/examples/functions/delete-execution.md index f6e13cd4bb..e51b7dcd5c 100644 --- a/docs/examples/1.6.x/server-swift/examples/functions/delete-execution.md +++ b/docs/examples/1.6.x/server-swift/examples/functions/delete-execution.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/functions/delete-variable.md b/docs/examples/1.6.x/server-swift/examples/functions/delete-variable.md index 7d09f11048..ea0ebab079 100644 --- a/docs/examples/1.6.x/server-swift/examples/functions/delete-variable.md +++ b/docs/examples/1.6.x/server-swift/examples/functions/delete-variable.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/functions/delete.md b/docs/examples/1.6.x/server-swift/examples/functions/delete.md index ff1d049090..76bb48cddf 100644 --- a/docs/examples/1.6.x/server-swift/examples/functions/delete.md +++ b/docs/examples/1.6.x/server-swift/examples/functions/delete.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/functions/get-deployment-download.md b/docs/examples/1.6.x/server-swift/examples/functions/get-deployment-download.md index 6d08d9bb7f..383a187380 100644 --- a/docs/examples/1.6.x/server-swift/examples/functions/get-deployment-download.md +++ b/docs/examples/1.6.x/server-swift/examples/functions/get-deployment-download.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/functions/get-deployment.md b/docs/examples/1.6.x/server-swift/examples/functions/get-deployment.md index 438b667e10..56ed2e8512 100644 --- a/docs/examples/1.6.x/server-swift/examples/functions/get-deployment.md +++ b/docs/examples/1.6.x/server-swift/examples/functions/get-deployment.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/functions/get-execution.md b/docs/examples/1.6.x/server-swift/examples/functions/get-execution.md index 0aa9d66af6..6d24ee9390 100644 --- a/docs/examples/1.6.x/server-swift/examples/functions/get-execution.md +++ b/docs/examples/1.6.x/server-swift/examples/functions/get-execution.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/functions/get-variable.md b/docs/examples/1.6.x/server-swift/examples/functions/get-variable.md index 0832b41e88..da20d68007 100644 --- a/docs/examples/1.6.x/server-swift/examples/functions/get-variable.md +++ b/docs/examples/1.6.x/server-swift/examples/functions/get-variable.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/functions/get.md b/docs/examples/1.6.x/server-swift/examples/functions/get.md index aa434c03e3..98babdb04d 100644 --- a/docs/examples/1.6.x/server-swift/examples/functions/get.md +++ b/docs/examples/1.6.x/server-swift/examples/functions/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/functions/list-deployments.md b/docs/examples/1.6.x/server-swift/examples/functions/list-deployments.md index 5f005f02fa..599f301ca8 100644 --- a/docs/examples/1.6.x/server-swift/examples/functions/list-deployments.md +++ b/docs/examples/1.6.x/server-swift/examples/functions/list-deployments.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/functions/list-executions.md b/docs/examples/1.6.x/server-swift/examples/functions/list-executions.md index 2c28d54274..512c890fc5 100644 --- a/docs/examples/1.6.x/server-swift/examples/functions/list-executions.md +++ b/docs/examples/1.6.x/server-swift/examples/functions/list-executions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/functions/list-runtimes.md b/docs/examples/1.6.x/server-swift/examples/functions/list-runtimes.md index bad50b172c..c4a3f31174 100644 --- a/docs/examples/1.6.x/server-swift/examples/functions/list-runtimes.md +++ b/docs/examples/1.6.x/server-swift/examples/functions/list-runtimes.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/functions/list-specifications.md b/docs/examples/1.6.x/server-swift/examples/functions/list-specifications.md index 0c9da2df0b..1f5914ba91 100644 --- a/docs/examples/1.6.x/server-swift/examples/functions/list-specifications.md +++ b/docs/examples/1.6.x/server-swift/examples/functions/list-specifications.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/functions/list-variables.md b/docs/examples/1.6.x/server-swift/examples/functions/list-variables.md index 67030b93d1..0343e54772 100644 --- a/docs/examples/1.6.x/server-swift/examples/functions/list-variables.md +++ b/docs/examples/1.6.x/server-swift/examples/functions/list-variables.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/functions/list.md b/docs/examples/1.6.x/server-swift/examples/functions/list.md index f6ed013a56..370b6bddfd 100644 --- a/docs/examples/1.6.x/server-swift/examples/functions/list.md +++ b/docs/examples/1.6.x/server-swift/examples/functions/list.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/functions/update-deployment-build.md b/docs/examples/1.6.x/server-swift/examples/functions/update-deployment-build.md index 9003a02df3..8f48cac855 100644 --- a/docs/examples/1.6.x/server-swift/examples/functions/update-deployment-build.md +++ b/docs/examples/1.6.x/server-swift/examples/functions/update-deployment-build.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/functions/update-deployment.md b/docs/examples/1.6.x/server-swift/examples/functions/update-deployment.md index 9ae6ec4f51..313ccc4b5e 100644 --- a/docs/examples/1.6.x/server-swift/examples/functions/update-deployment.md +++ b/docs/examples/1.6.x/server-swift/examples/functions/update-deployment.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/functions/update-variable.md b/docs/examples/1.6.x/server-swift/examples/functions/update-variable.md index 67169852a7..86eaf58593 100644 --- a/docs/examples/1.6.x/server-swift/examples/functions/update-variable.md +++ b/docs/examples/1.6.x/server-swift/examples/functions/update-variable.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/functions/update.md b/docs/examples/1.6.x/server-swift/examples/functions/update.md index dcc4ed637e..ebb2828bc8 100644 --- a/docs/examples/1.6.x/server-swift/examples/functions/update.md +++ b/docs/examples/1.6.x/server-swift/examples/functions/update.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/graphql/mutation.md b/docs/examples/1.6.x/server-swift/examples/graphql/mutation.md index 6d4f747537..ad33858894 100644 --- a/docs/examples/1.6.x/server-swift/examples/graphql/mutation.md +++ b/docs/examples/1.6.x/server-swift/examples/graphql/mutation.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/graphql/query.md b/docs/examples/1.6.x/server-swift/examples/graphql/query.md index 4a10f57cbc..f087c888a3 100644 --- a/docs/examples/1.6.x/server-swift/examples/graphql/query.md +++ b/docs/examples/1.6.x/server-swift/examples/graphql/query.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/health/get-antivirus.md b/docs/examples/1.6.x/server-swift/examples/health/get-antivirus.md index d45b7190eb..5fc335f8fc 100644 --- a/docs/examples/1.6.x/server-swift/examples/health/get-antivirus.md +++ b/docs/examples/1.6.x/server-swift/examples/health/get-antivirus.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/health/get-cache.md b/docs/examples/1.6.x/server-swift/examples/health/get-cache.md index 4d493c40ad..a1c514b60e 100644 --- a/docs/examples/1.6.x/server-swift/examples/health/get-cache.md +++ b/docs/examples/1.6.x/server-swift/examples/health/get-cache.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/health/get-certificate.md b/docs/examples/1.6.x/server-swift/examples/health/get-certificate.md index 1d2d453d73..6adf4d6052 100644 --- a/docs/examples/1.6.x/server-swift/examples/health/get-certificate.md +++ b/docs/examples/1.6.x/server-swift/examples/health/get-certificate.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/health/get-d-b.md b/docs/examples/1.6.x/server-swift/examples/health/get-d-b.md index c7b5127d59..a6aeb12e44 100644 --- a/docs/examples/1.6.x/server-swift/examples/health/get-d-b.md +++ b/docs/examples/1.6.x/server-swift/examples/health/get-d-b.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/health/get-failed-jobs.md b/docs/examples/1.6.x/server-swift/examples/health/get-failed-jobs.md index 5120c072a6..c508106bfa 100644 --- a/docs/examples/1.6.x/server-swift/examples/health/get-failed-jobs.md +++ b/docs/examples/1.6.x/server-swift/examples/health/get-failed-jobs.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/health/get-pub-sub.md b/docs/examples/1.6.x/server-swift/examples/health/get-pub-sub.md index 561fc6b7a9..9a7766c94a 100644 --- a/docs/examples/1.6.x/server-swift/examples/health/get-pub-sub.md +++ b/docs/examples/1.6.x/server-swift/examples/health/get-pub-sub.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/health/get-queue-builds.md b/docs/examples/1.6.x/server-swift/examples/health/get-queue-builds.md index 81b4fb2523..8db346ccbe 100644 --- a/docs/examples/1.6.x/server-swift/examples/health/get-queue-builds.md +++ b/docs/examples/1.6.x/server-swift/examples/health/get-queue-builds.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/health/get-queue-certificates.md b/docs/examples/1.6.x/server-swift/examples/health/get-queue-certificates.md index cecb88ae67..4814f29d87 100644 --- a/docs/examples/1.6.x/server-swift/examples/health/get-queue-certificates.md +++ b/docs/examples/1.6.x/server-swift/examples/health/get-queue-certificates.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/health/get-queue-databases.md b/docs/examples/1.6.x/server-swift/examples/health/get-queue-databases.md index b3fefc8b05..3acda3ddd7 100644 --- a/docs/examples/1.6.x/server-swift/examples/health/get-queue-databases.md +++ b/docs/examples/1.6.x/server-swift/examples/health/get-queue-databases.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/health/get-queue-deletes.md b/docs/examples/1.6.x/server-swift/examples/health/get-queue-deletes.md index 0d90387c6d..8be397f53f 100644 --- a/docs/examples/1.6.x/server-swift/examples/health/get-queue-deletes.md +++ b/docs/examples/1.6.x/server-swift/examples/health/get-queue-deletes.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/health/get-queue-functions.md b/docs/examples/1.6.x/server-swift/examples/health/get-queue-functions.md index 961cc6221d..aa420409d2 100644 --- a/docs/examples/1.6.x/server-swift/examples/health/get-queue-functions.md +++ b/docs/examples/1.6.x/server-swift/examples/health/get-queue-functions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/health/get-queue-logs.md b/docs/examples/1.6.x/server-swift/examples/health/get-queue-logs.md index 34d26efd75..dc989a510f 100644 --- a/docs/examples/1.6.x/server-swift/examples/health/get-queue-logs.md +++ b/docs/examples/1.6.x/server-swift/examples/health/get-queue-logs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/health/get-queue-mails.md b/docs/examples/1.6.x/server-swift/examples/health/get-queue-mails.md index f48a96d7c8..2106b2f233 100644 --- a/docs/examples/1.6.x/server-swift/examples/health/get-queue-mails.md +++ b/docs/examples/1.6.x/server-swift/examples/health/get-queue-mails.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/health/get-queue-messaging.md b/docs/examples/1.6.x/server-swift/examples/health/get-queue-messaging.md index 7a171bd733..11cb16c5e3 100644 --- a/docs/examples/1.6.x/server-swift/examples/health/get-queue-messaging.md +++ b/docs/examples/1.6.x/server-swift/examples/health/get-queue-messaging.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/health/get-queue-migrations.md b/docs/examples/1.6.x/server-swift/examples/health/get-queue-migrations.md index f36eb129a6..a0a4588b54 100644 --- a/docs/examples/1.6.x/server-swift/examples/health/get-queue-migrations.md +++ b/docs/examples/1.6.x/server-swift/examples/health/get-queue-migrations.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/health/get-queue-stats-resources.md b/docs/examples/1.6.x/server-swift/examples/health/get-queue-stats-resources.md new file mode 100644 index 0000000000..4eb6ba7de3 --- /dev/null +++ b/docs/examples/1.6.x/server-swift/examples/health/get-queue-stats-resources.md @@ -0,0 +1,13 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("<YOUR_PROJECT_ID>") // Your project ID + .setKey("<YOUR_API_KEY>") // Your secret API key + +let health = Health(client) + +let healthQueue = try await health.getQueueStatsResources( + threshold: 0 // optional +) + diff --git a/docs/examples/1.6.x/server-swift/examples/health/get-queue-usage-dump.md b/docs/examples/1.6.x/server-swift/examples/health/get-queue-usage-dump.md index df4c043e16..e4ad03ce0a 100644 --- a/docs/examples/1.6.x/server-swift/examples/health/get-queue-usage-dump.md +++ b/docs/examples/1.6.x/server-swift/examples/health/get-queue-usage-dump.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/health/get-queue-usage.md b/docs/examples/1.6.x/server-swift/examples/health/get-queue-usage.md index b3bc88ed88..bfaeab0b36 100644 --- a/docs/examples/1.6.x/server-swift/examples/health/get-queue-usage.md +++ b/docs/examples/1.6.x/server-swift/examples/health/get-queue-usage.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/health/get-queue-webhooks.md b/docs/examples/1.6.x/server-swift/examples/health/get-queue-webhooks.md index 25ed30f442..c315406627 100644 --- a/docs/examples/1.6.x/server-swift/examples/health/get-queue-webhooks.md +++ b/docs/examples/1.6.x/server-swift/examples/health/get-queue-webhooks.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/health/get-queue.md b/docs/examples/1.6.x/server-swift/examples/health/get-queue.md index b7da587aed..9e95237c9f 100644 --- a/docs/examples/1.6.x/server-swift/examples/health/get-queue.md +++ b/docs/examples/1.6.x/server-swift/examples/health/get-queue.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/health/get-storage-local.md b/docs/examples/1.6.x/server-swift/examples/health/get-storage-local.md index 4e8518362c..9e23c09b6d 100644 --- a/docs/examples/1.6.x/server-swift/examples/health/get-storage-local.md +++ b/docs/examples/1.6.x/server-swift/examples/health/get-storage-local.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/health/get-storage.md b/docs/examples/1.6.x/server-swift/examples/health/get-storage.md index fbe116fcce..513ebac944 100644 --- a/docs/examples/1.6.x/server-swift/examples/health/get-storage.md +++ b/docs/examples/1.6.x/server-swift/examples/health/get-storage.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/health/get-time.md b/docs/examples/1.6.x/server-swift/examples/health/get-time.md index 02cca3f21b..6624b40b22 100644 --- a/docs/examples/1.6.x/server-swift/examples/health/get-time.md +++ b/docs/examples/1.6.x/server-swift/examples/health/get-time.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/health/get.md b/docs/examples/1.6.x/server-swift/examples/health/get.md index 140b304461..ef1ffaab6c 100644 --- a/docs/examples/1.6.x/server-swift/examples/health/get.md +++ b/docs/examples/1.6.x/server-swift/examples/health/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/locale/get.md b/docs/examples/1.6.x/server-swift/examples/locale/get.md index 94121fd0b2..e22f3157c7 100644 --- a/docs/examples/1.6.x/server-swift/examples/locale/get.md +++ b/docs/examples/1.6.x/server-swift/examples/locale/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/locale/list-codes.md b/docs/examples/1.6.x/server-swift/examples/locale/list-codes.md index 1f41799b20..b31448a119 100644 --- a/docs/examples/1.6.x/server-swift/examples/locale/list-codes.md +++ b/docs/examples/1.6.x/server-swift/examples/locale/list-codes.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/locale/list-continents.md b/docs/examples/1.6.x/server-swift/examples/locale/list-continents.md index f46f3c034b..c75abf8a4d 100644 --- a/docs/examples/1.6.x/server-swift/examples/locale/list-continents.md +++ b/docs/examples/1.6.x/server-swift/examples/locale/list-continents.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/locale/list-countries-e-u.md b/docs/examples/1.6.x/server-swift/examples/locale/list-countries-e-u.md index ee57e01a8e..e09f3db4f7 100644 --- a/docs/examples/1.6.x/server-swift/examples/locale/list-countries-e-u.md +++ b/docs/examples/1.6.x/server-swift/examples/locale/list-countries-e-u.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/locale/list-countries-phones.md b/docs/examples/1.6.x/server-swift/examples/locale/list-countries-phones.md index 9263de68e5..de360c4408 100644 --- a/docs/examples/1.6.x/server-swift/examples/locale/list-countries-phones.md +++ b/docs/examples/1.6.x/server-swift/examples/locale/list-countries-phones.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/locale/list-countries.md b/docs/examples/1.6.x/server-swift/examples/locale/list-countries.md index d793492f71..b214f9899b 100644 --- a/docs/examples/1.6.x/server-swift/examples/locale/list-countries.md +++ b/docs/examples/1.6.x/server-swift/examples/locale/list-countries.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/locale/list-currencies.md b/docs/examples/1.6.x/server-swift/examples/locale/list-currencies.md index eb0ddf7f5e..a47cae696b 100644 --- a/docs/examples/1.6.x/server-swift/examples/locale/list-currencies.md +++ b/docs/examples/1.6.x/server-swift/examples/locale/list-currencies.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/locale/list-languages.md b/docs/examples/1.6.x/server-swift/examples/locale/list-languages.md index 19a70b23a4..40db7e5fe6 100644 --- a/docs/examples/1.6.x/server-swift/examples/locale/list-languages.md +++ b/docs/examples/1.6.x/server-swift/examples/locale/list-languages.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/create-apns-provider.md b/docs/examples/1.6.x/server-swift/examples/messaging/create-apns-provider.md index 9bbb4da7a1..5e20018fef 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/create-apns-provider.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/create-apns-provider.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/create-email.md b/docs/examples/1.6.x/server-swift/examples/messaging/create-email.md index 655daeaad4..a1b4774228 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/create-email.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/create-email.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/create-fcm-provider.md b/docs/examples/1.6.x/server-swift/examples/messaging/create-fcm-provider.md index b127946cf8..0071e477f1 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/create-fcm-provider.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/create-fcm-provider.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/create-mailgun-provider.md b/docs/examples/1.6.x/server-swift/examples/messaging/create-mailgun-provider.md index 63fd5a127f..aca295d1bd 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/create-mailgun-provider.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/create-mailgun-provider.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/create-msg91provider.md b/docs/examples/1.6.x/server-swift/examples/messaging/create-msg91provider.md index 57cd54be15..01503c10cb 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/create-msg91provider.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/create-msg91provider.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/create-push.md b/docs/examples/1.6.x/server-swift/examples/messaging/create-push.md index 42f48ddd2e..498eccb51a 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/create-push.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/create-push.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/create-sendgrid-provider.md b/docs/examples/1.6.x/server-swift/examples/messaging/create-sendgrid-provider.md index e8b70b629f..5275f6cdb7 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/create-sendgrid-provider.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/create-sendgrid-provider.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/create-sms.md b/docs/examples/1.6.x/server-swift/examples/messaging/create-sms.md index 22ca198e46..4f579312a9 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/create-sms.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/create-sms.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/create-smtp-provider.md b/docs/examples/1.6.x/server-swift/examples/messaging/create-smtp-provider.md index 5eff6413e1..18d25df738 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/create-smtp-provider.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/create-smtp-provider.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/create-subscriber.md b/docs/examples/1.6.x/server-swift/examples/messaging/create-subscriber.md index 087ec0e31e..cb23162484 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/create-subscriber.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/create-subscriber.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setJWT("<YOUR_JWT>") // Your secret JSON Web Token diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/create-telesign-provider.md b/docs/examples/1.6.x/server-swift/examples/messaging/create-telesign-provider.md index b9beb151f6..a787134992 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/create-telesign-provider.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/create-telesign-provider.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/create-textmagic-provider.md b/docs/examples/1.6.x/server-swift/examples/messaging/create-textmagic-provider.md index f1802d9f29..9b12a7d8cb 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/create-textmagic-provider.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/create-textmagic-provider.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/create-topic.md b/docs/examples/1.6.x/server-swift/examples/messaging/create-topic.md index 14f222907b..9429c45554 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/create-topic.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/create-topic.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/create-twilio-provider.md b/docs/examples/1.6.x/server-swift/examples/messaging/create-twilio-provider.md index f0f0d6e087..7421290e05 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/create-twilio-provider.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/create-twilio-provider.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/create-vonage-provider.md b/docs/examples/1.6.x/server-swift/examples/messaging/create-vonage-provider.md index 4e683dfc9d..b6a3014391 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/create-vonage-provider.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/create-vonage-provider.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/delete-provider.md b/docs/examples/1.6.x/server-swift/examples/messaging/delete-provider.md index 3652609bec..94da565e1f 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/delete-provider.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/delete-provider.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/delete-subscriber.md b/docs/examples/1.6.x/server-swift/examples/messaging/delete-subscriber.md index b083fc4e1a..b0aa96602f 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/delete-subscriber.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/delete-subscriber.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setJWT("<YOUR_JWT>") // Your secret JSON Web Token diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/delete-topic.md b/docs/examples/1.6.x/server-swift/examples/messaging/delete-topic.md index 1de412682d..6676adf94e 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/delete-topic.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/delete-topic.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/delete.md b/docs/examples/1.6.x/server-swift/examples/messaging/delete.md index 2e407808af..fca66c7f43 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/delete.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/delete.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/get-message.md b/docs/examples/1.6.x/server-swift/examples/messaging/get-message.md index 5db5f7d508..b1bbf9d5f0 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/get-message.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/get-message.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/get-provider.md b/docs/examples/1.6.x/server-swift/examples/messaging/get-provider.md index b5a8156288..6ff8545bd0 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/get-provider.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/get-provider.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/get-subscriber.md b/docs/examples/1.6.x/server-swift/examples/messaging/get-subscriber.md index ac4d289871..55538e073d 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/get-subscriber.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/get-subscriber.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/get-topic.md b/docs/examples/1.6.x/server-swift/examples/messaging/get-topic.md index 3d88371458..0d2035bd9d 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/get-topic.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/get-topic.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/list-message-logs.md b/docs/examples/1.6.x/server-swift/examples/messaging/list-message-logs.md index c58ef450d2..b7efe6fa9f 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/list-message-logs.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/list-message-logs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/list-messages.md b/docs/examples/1.6.x/server-swift/examples/messaging/list-messages.md index bfa9222239..73832f7dae 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/list-messages.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/list-messages.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/list-provider-logs.md b/docs/examples/1.6.x/server-swift/examples/messaging/list-provider-logs.md index 55f0d1f254..0633e15b62 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/list-provider-logs.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/list-provider-logs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/list-providers.md b/docs/examples/1.6.x/server-swift/examples/messaging/list-providers.md index fbb5803538..c24af425a6 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/list-providers.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/list-providers.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/list-subscriber-logs.md b/docs/examples/1.6.x/server-swift/examples/messaging/list-subscriber-logs.md index a83cb6053d..eab170d7cb 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/list-subscriber-logs.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/list-subscriber-logs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/list-subscribers.md b/docs/examples/1.6.x/server-swift/examples/messaging/list-subscribers.md index ded4fdf975..a29bcefaf1 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/list-subscribers.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/list-subscribers.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/list-targets.md b/docs/examples/1.6.x/server-swift/examples/messaging/list-targets.md index 00219f15f6..974ae4f7b5 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/list-targets.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/list-targets.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/list-topic-logs.md b/docs/examples/1.6.x/server-swift/examples/messaging/list-topic-logs.md index 68f121c9ef..e6f32ad232 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/list-topic-logs.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/list-topic-logs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/list-topics.md b/docs/examples/1.6.x/server-swift/examples/messaging/list-topics.md index 617b13c70d..13106e940c 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/list-topics.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/list-topics.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/update-apns-provider.md b/docs/examples/1.6.x/server-swift/examples/messaging/update-apns-provider.md index 012e91e7bf..03afe5555b 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/update-apns-provider.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/update-apns-provider.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/update-email.md b/docs/examples/1.6.x/server-swift/examples/messaging/update-email.md index e925164180..1404fb8f77 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/update-email.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/update-email.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/update-fcm-provider.md b/docs/examples/1.6.x/server-swift/examples/messaging/update-fcm-provider.md index 60a0ce46e2..c4548f6549 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/update-fcm-provider.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/update-fcm-provider.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/update-mailgun-provider.md b/docs/examples/1.6.x/server-swift/examples/messaging/update-mailgun-provider.md index bc385267ec..8ed28aa40e 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/update-mailgun-provider.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/update-mailgun-provider.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/update-msg91provider.md b/docs/examples/1.6.x/server-swift/examples/messaging/update-msg91provider.md index 3818b7a9c1..e4a441c561 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/update-msg91provider.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/update-msg91provider.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/update-push.md b/docs/examples/1.6.x/server-swift/examples/messaging/update-push.md index 02893a180a..e443161aa9 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/update-push.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/update-push.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/update-sendgrid-provider.md b/docs/examples/1.6.x/server-swift/examples/messaging/update-sendgrid-provider.md index af950c7db0..d363342af8 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/update-sendgrid-provider.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/update-sendgrid-provider.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/update-sms.md b/docs/examples/1.6.x/server-swift/examples/messaging/update-sms.md index 8f4476783e..46b225fce0 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/update-sms.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/update-sms.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/update-smtp-provider.md b/docs/examples/1.6.x/server-swift/examples/messaging/update-smtp-provider.md index 95db5056cf..7ef8f2e760 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/update-smtp-provider.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/update-smtp-provider.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/update-telesign-provider.md b/docs/examples/1.6.x/server-swift/examples/messaging/update-telesign-provider.md index 0d3279c98b..4475128b71 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/update-telesign-provider.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/update-telesign-provider.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/update-textmagic-provider.md b/docs/examples/1.6.x/server-swift/examples/messaging/update-textmagic-provider.md index 738d27d7c1..e412faab65 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/update-textmagic-provider.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/update-textmagic-provider.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/update-topic.md b/docs/examples/1.6.x/server-swift/examples/messaging/update-topic.md index ad5edd1f90..796f581f07 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/update-topic.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/update-topic.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/update-twilio-provider.md b/docs/examples/1.6.x/server-swift/examples/messaging/update-twilio-provider.md index 6320665e61..7b4592b048 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/update-twilio-provider.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/update-twilio-provider.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/messaging/update-vonage-provider.md b/docs/examples/1.6.x/server-swift/examples/messaging/update-vonage-provider.md index ffdbe95d3d..ba10ce2309 100644 --- a/docs/examples/1.6.x/server-swift/examples/messaging/update-vonage-provider.md +++ b/docs/examples/1.6.x/server-swift/examples/messaging/update-vonage-provider.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/storage/create-bucket.md b/docs/examples/1.6.x/server-swift/examples/storage/create-bucket.md index 4ebbdf8415..a664e14f5f 100644 --- a/docs/examples/1.6.x/server-swift/examples/storage/create-bucket.md +++ b/docs/examples/1.6.x/server-swift/examples/storage/create-bucket.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/storage/create-file.md b/docs/examples/1.6.x/server-swift/examples/storage/create-file.md index 0716cf7d23..540c869fab 100644 --- a/docs/examples/1.6.x/server-swift/examples/storage/create-file.md +++ b/docs/examples/1.6.x/server-swift/examples/storage/create-file.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/storage/delete-bucket.md b/docs/examples/1.6.x/server-swift/examples/storage/delete-bucket.md index 56c7d3ed6d..2f4916dba2 100644 --- a/docs/examples/1.6.x/server-swift/examples/storage/delete-bucket.md +++ b/docs/examples/1.6.x/server-swift/examples/storage/delete-bucket.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/storage/delete-file.md b/docs/examples/1.6.x/server-swift/examples/storage/delete-file.md index 35dca5e706..7ac1b194e6 100644 --- a/docs/examples/1.6.x/server-swift/examples/storage/delete-file.md +++ b/docs/examples/1.6.x/server-swift/examples/storage/delete-file.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/storage/get-bucket.md b/docs/examples/1.6.x/server-swift/examples/storage/get-bucket.md index e33af5cc3b..296a27bf85 100644 --- a/docs/examples/1.6.x/server-swift/examples/storage/get-bucket.md +++ b/docs/examples/1.6.x/server-swift/examples/storage/get-bucket.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/storage/get-file-download.md b/docs/examples/1.6.x/server-swift/examples/storage/get-file-download.md index 40607d08dd..5893cefad1 100644 --- a/docs/examples/1.6.x/server-swift/examples/storage/get-file-download.md +++ b/docs/examples/1.6.x/server-swift/examples/storage/get-file-download.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/storage/get-file-preview.md b/docs/examples/1.6.x/server-swift/examples/storage/get-file-preview.md index e3372093d8..874e5675e4 100644 --- a/docs/examples/1.6.x/server-swift/examples/storage/get-file-preview.md +++ b/docs/examples/1.6.x/server-swift/examples/storage/get-file-preview.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/storage/get-file-view.md b/docs/examples/1.6.x/server-swift/examples/storage/get-file-view.md index 0c88e15b72..4cf7e7d996 100644 --- a/docs/examples/1.6.x/server-swift/examples/storage/get-file-view.md +++ b/docs/examples/1.6.x/server-swift/examples/storage/get-file-view.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/storage/get-file.md b/docs/examples/1.6.x/server-swift/examples/storage/get-file.md index a0c997c40b..033a643a83 100644 --- a/docs/examples/1.6.x/server-swift/examples/storage/get-file.md +++ b/docs/examples/1.6.x/server-swift/examples/storage/get-file.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/storage/list-buckets.md b/docs/examples/1.6.x/server-swift/examples/storage/list-buckets.md index 2329b15ad6..957d266e9a 100644 --- a/docs/examples/1.6.x/server-swift/examples/storage/list-buckets.md +++ b/docs/examples/1.6.x/server-swift/examples/storage/list-buckets.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/storage/list-files.md b/docs/examples/1.6.x/server-swift/examples/storage/list-files.md index 546bd1c1ef..103d3c328c 100644 --- a/docs/examples/1.6.x/server-swift/examples/storage/list-files.md +++ b/docs/examples/1.6.x/server-swift/examples/storage/list-files.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/storage/update-bucket.md b/docs/examples/1.6.x/server-swift/examples/storage/update-bucket.md index 4122d1f062..de3b5bf0e5 100644 --- a/docs/examples/1.6.x/server-swift/examples/storage/update-bucket.md +++ b/docs/examples/1.6.x/server-swift/examples/storage/update-bucket.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/storage/update-file.md b/docs/examples/1.6.x/server-swift/examples/storage/update-file.md index ca3fc2c293..d4d7484bd3 100644 --- a/docs/examples/1.6.x/server-swift/examples/storage/update-file.md +++ b/docs/examples/1.6.x/server-swift/examples/storage/update-file.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/teams/create-membership.md b/docs/examples/1.6.x/server-swift/examples/teams/create-membership.md index 5c86f2db33..9010372175 100644 --- a/docs/examples/1.6.x/server-swift/examples/teams/create-membership.md +++ b/docs/examples/1.6.x/server-swift/examples/teams/create-membership.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/teams/create.md b/docs/examples/1.6.x/server-swift/examples/teams/create.md index 2533c27902..71f3d70874 100644 --- a/docs/examples/1.6.x/server-swift/examples/teams/create.md +++ b/docs/examples/1.6.x/server-swift/examples/teams/create.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/teams/delete-membership.md b/docs/examples/1.6.x/server-swift/examples/teams/delete-membership.md index e260b01ff8..dbdbc96ff9 100644 --- a/docs/examples/1.6.x/server-swift/examples/teams/delete-membership.md +++ b/docs/examples/1.6.x/server-swift/examples/teams/delete-membership.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/teams/delete.md b/docs/examples/1.6.x/server-swift/examples/teams/delete.md index b9fbcbe446..ee9daaa55b 100644 --- a/docs/examples/1.6.x/server-swift/examples/teams/delete.md +++ b/docs/examples/1.6.x/server-swift/examples/teams/delete.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/teams/get-membership.md b/docs/examples/1.6.x/server-swift/examples/teams/get-membership.md index cce480cc70..ab7b29eb3a 100644 --- a/docs/examples/1.6.x/server-swift/examples/teams/get-membership.md +++ b/docs/examples/1.6.x/server-swift/examples/teams/get-membership.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/teams/get-prefs.md b/docs/examples/1.6.x/server-swift/examples/teams/get-prefs.md index 9ec230df38..ae3e9f2875 100644 --- a/docs/examples/1.6.x/server-swift/examples/teams/get-prefs.md +++ b/docs/examples/1.6.x/server-swift/examples/teams/get-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/teams/get.md b/docs/examples/1.6.x/server-swift/examples/teams/get.md index 8dce2c137b..cd4b75567a 100644 --- a/docs/examples/1.6.x/server-swift/examples/teams/get.md +++ b/docs/examples/1.6.x/server-swift/examples/teams/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/teams/list-memberships.md b/docs/examples/1.6.x/server-swift/examples/teams/list-memberships.md index 08b3235e51..0670d91ab2 100644 --- a/docs/examples/1.6.x/server-swift/examples/teams/list-memberships.md +++ b/docs/examples/1.6.x/server-swift/examples/teams/list-memberships.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/teams/list.md b/docs/examples/1.6.x/server-swift/examples/teams/list.md index 8b6d0a1674..b5130cbf89 100644 --- a/docs/examples/1.6.x/server-swift/examples/teams/list.md +++ b/docs/examples/1.6.x/server-swift/examples/teams/list.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/teams/update-membership-status.md b/docs/examples/1.6.x/server-swift/examples/teams/update-membership-status.md index 1ae6d6e993..69fca1de74 100644 --- a/docs/examples/1.6.x/server-swift/examples/teams/update-membership-status.md +++ b/docs/examples/1.6.x/server-swift/examples/teams/update-membership-status.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/teams/update-membership.md b/docs/examples/1.6.x/server-swift/examples/teams/update-membership.md index 92b747458a..47f28e74fd 100644 --- a/docs/examples/1.6.x/server-swift/examples/teams/update-membership.md +++ b/docs/examples/1.6.x/server-swift/examples/teams/update-membership.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/teams/update-name.md b/docs/examples/1.6.x/server-swift/examples/teams/update-name.md index bc9731bd56..56f5ab60db 100644 --- a/docs/examples/1.6.x/server-swift/examples/teams/update-name.md +++ b/docs/examples/1.6.x/server-swift/examples/teams/update-name.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/teams/update-prefs.md b/docs/examples/1.6.x/server-swift/examples/teams/update-prefs.md index b86e93793e..b8bb200b65 100644 --- a/docs/examples/1.6.x/server-swift/examples/teams/update-prefs.md +++ b/docs/examples/1.6.x/server-swift/examples/teams/update-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with diff --git a/docs/examples/1.6.x/server-swift/examples/users/create-argon2user.md b/docs/examples/1.6.x/server-swift/examples/users/create-argon2user.md index 6f584e4724..9b7477001d 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/create-argon2user.md +++ b/docs/examples/1.6.x/server-swift/examples/users/create-argon2user.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/create-bcrypt-user.md b/docs/examples/1.6.x/server-swift/examples/users/create-bcrypt-user.md index cd0960f354..ad5a81fe34 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/create-bcrypt-user.md +++ b/docs/examples/1.6.x/server-swift/examples/users/create-bcrypt-user.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/create-j-w-t.md b/docs/examples/1.6.x/server-swift/examples/users/create-j-w-t.md index 77ef4da98f..d61adfb9a7 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/create-j-w-t.md +++ b/docs/examples/1.6.x/server-swift/examples/users/create-j-w-t.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/create-m-d5user.md b/docs/examples/1.6.x/server-swift/examples/users/create-m-d5user.md index a305f6a744..ffe7180c5e 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/create-m-d5user.md +++ b/docs/examples/1.6.x/server-swift/examples/users/create-m-d5user.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/create-mfa-recovery-codes.md b/docs/examples/1.6.x/server-swift/examples/users/create-mfa-recovery-codes.md index cb25d43cb1..577a533fcb 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/create-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-swift/examples/users/create-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/create-p-h-pass-user.md b/docs/examples/1.6.x/server-swift/examples/users/create-p-h-pass-user.md index 5a95af73e4..e1d8d3f3ef 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/create-p-h-pass-user.md +++ b/docs/examples/1.6.x/server-swift/examples/users/create-p-h-pass-user.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/create-s-h-a-user.md b/docs/examples/1.6.x/server-swift/examples/users/create-s-h-a-user.md index 70d6f284db..ac42f2fe9d 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/create-s-h-a-user.md +++ b/docs/examples/1.6.x/server-swift/examples/users/create-s-h-a-user.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/create-scrypt-modified-user.md b/docs/examples/1.6.x/server-swift/examples/users/create-scrypt-modified-user.md index 62709130e3..d6c67f6f3d 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/1.6.x/server-swift/examples/users/create-scrypt-modified-user.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/create-scrypt-user.md b/docs/examples/1.6.x/server-swift/examples/users/create-scrypt-user.md index 41a086560d..16452c4606 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/create-scrypt-user.md +++ b/docs/examples/1.6.x/server-swift/examples/users/create-scrypt-user.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/create-session.md b/docs/examples/1.6.x/server-swift/examples/users/create-session.md index 764d4d87d6..cf6f67bd91 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/create-session.md +++ b/docs/examples/1.6.x/server-swift/examples/users/create-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/create-target.md b/docs/examples/1.6.x/server-swift/examples/users/create-target.md index f6bc443ea4..e736afcf31 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/create-target.md +++ b/docs/examples/1.6.x/server-swift/examples/users/create-target.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/create-token.md b/docs/examples/1.6.x/server-swift/examples/users/create-token.md index 0d8c363537..ca1767e178 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/create-token.md +++ b/docs/examples/1.6.x/server-swift/examples/users/create-token.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/create.md b/docs/examples/1.6.x/server-swift/examples/users/create.md index 8c07a780b6..98b886005b 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/create.md +++ b/docs/examples/1.6.x/server-swift/examples/users/create.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/delete-identity.md b/docs/examples/1.6.x/server-swift/examples/users/delete-identity.md index c5bf2b3526..bb3d812457 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/delete-identity.md +++ b/docs/examples/1.6.x/server-swift/examples/users/delete-identity.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/delete-mfa-authenticator.md b/docs/examples/1.6.x/server-swift/examples/users/delete-mfa-authenticator.md index 5f1d6a0eeb..da2b8e091a 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/delete-mfa-authenticator.md +++ b/docs/examples/1.6.x/server-swift/examples/users/delete-mfa-authenticator.md @@ -2,7 +2,7 @@ import Appwrite import AppwriteEnums let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/delete-session.md b/docs/examples/1.6.x/server-swift/examples/users/delete-session.md index 3f191a2502..c664e4f2ba 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/delete-session.md +++ b/docs/examples/1.6.x/server-swift/examples/users/delete-session.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/delete-sessions.md b/docs/examples/1.6.x/server-swift/examples/users/delete-sessions.md index 6c4e8bfc08..92ab9d7748 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/delete-sessions.md +++ b/docs/examples/1.6.x/server-swift/examples/users/delete-sessions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/delete-target.md b/docs/examples/1.6.x/server-swift/examples/users/delete-target.md index 274bb60a8d..1cce56657a 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/delete-target.md +++ b/docs/examples/1.6.x/server-swift/examples/users/delete-target.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/delete.md b/docs/examples/1.6.x/server-swift/examples/users/delete.md index 2b28a98532..8dfe648d6e 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/delete.md +++ b/docs/examples/1.6.x/server-swift/examples/users/delete.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/get-mfa-recovery-codes.md b/docs/examples/1.6.x/server-swift/examples/users/get-mfa-recovery-codes.md index dc7f471134..1ae285142f 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/get-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-swift/examples/users/get-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/get-prefs.md b/docs/examples/1.6.x/server-swift/examples/users/get-prefs.md index aec033a96d..c4ae61d9dd 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/get-prefs.md +++ b/docs/examples/1.6.x/server-swift/examples/users/get-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/get-target.md b/docs/examples/1.6.x/server-swift/examples/users/get-target.md index d6753814c8..100c56398d 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/get-target.md +++ b/docs/examples/1.6.x/server-swift/examples/users/get-target.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/get.md b/docs/examples/1.6.x/server-swift/examples/users/get.md index 095c84c8dc..563042b8ef 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/get.md +++ b/docs/examples/1.6.x/server-swift/examples/users/get.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/list-identities.md b/docs/examples/1.6.x/server-swift/examples/users/list-identities.md index b31890275e..8cbe8a71f4 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/list-identities.md +++ b/docs/examples/1.6.x/server-swift/examples/users/list-identities.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/list-logs.md b/docs/examples/1.6.x/server-swift/examples/users/list-logs.md index 5e80043d79..80d9199c3e 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/list-logs.md +++ b/docs/examples/1.6.x/server-swift/examples/users/list-logs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/list-memberships.md b/docs/examples/1.6.x/server-swift/examples/users/list-memberships.md index 5ca0152cd7..6f9999e2d9 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/list-memberships.md +++ b/docs/examples/1.6.x/server-swift/examples/users/list-memberships.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/list-mfa-factors.md b/docs/examples/1.6.x/server-swift/examples/users/list-mfa-factors.md index 4cf7d7ce6e..a5b5e38e12 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/list-mfa-factors.md +++ b/docs/examples/1.6.x/server-swift/examples/users/list-mfa-factors.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/list-sessions.md b/docs/examples/1.6.x/server-swift/examples/users/list-sessions.md index 035716ed16..e0278279a4 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/list-sessions.md +++ b/docs/examples/1.6.x/server-swift/examples/users/list-sessions.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/list-targets.md b/docs/examples/1.6.x/server-swift/examples/users/list-targets.md index 3ab651c6e7..b069781f70 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/list-targets.md +++ b/docs/examples/1.6.x/server-swift/examples/users/list-targets.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/list.md b/docs/examples/1.6.x/server-swift/examples/users/list.md index aaa619e202..45ccf23961 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/list.md +++ b/docs/examples/1.6.x/server-swift/examples/users/list.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/update-email-verification.md b/docs/examples/1.6.x/server-swift/examples/users/update-email-verification.md index cd4b51b00a..e0de947fa2 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/update-email-verification.md +++ b/docs/examples/1.6.x/server-swift/examples/users/update-email-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/update-email.md b/docs/examples/1.6.x/server-swift/examples/users/update-email.md index 3a80ae5c5d..4d3c1c2db2 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/update-email.md +++ b/docs/examples/1.6.x/server-swift/examples/users/update-email.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/update-labels.md b/docs/examples/1.6.x/server-swift/examples/users/update-labels.md index 5b3000df73..8916996b1f 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/update-labels.md +++ b/docs/examples/1.6.x/server-swift/examples/users/update-labels.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/update-mfa-recovery-codes.md b/docs/examples/1.6.x/server-swift/examples/users/update-mfa-recovery-codes.md index 528319c7aa..a6169a782c 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/update-mfa-recovery-codes.md +++ b/docs/examples/1.6.x/server-swift/examples/users/update-mfa-recovery-codes.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/update-mfa.md b/docs/examples/1.6.x/server-swift/examples/users/update-mfa.md index 3fd2571768..ad010f36b8 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/update-mfa.md +++ b/docs/examples/1.6.x/server-swift/examples/users/update-mfa.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/update-name.md b/docs/examples/1.6.x/server-swift/examples/users/update-name.md index bf697be84e..3735b706d8 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/update-name.md +++ b/docs/examples/1.6.x/server-swift/examples/users/update-name.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/update-password.md b/docs/examples/1.6.x/server-swift/examples/users/update-password.md index 0f35cefc0a..3a5b804478 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/update-password.md +++ b/docs/examples/1.6.x/server-swift/examples/users/update-password.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/update-phone-verification.md b/docs/examples/1.6.x/server-swift/examples/users/update-phone-verification.md index 7f99390ff5..fffd768f5d 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/update-phone-verification.md +++ b/docs/examples/1.6.x/server-swift/examples/users/update-phone-verification.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/update-phone.md b/docs/examples/1.6.x/server-swift/examples/users/update-phone.md index 2097c452ff..8411ad22a2 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/update-phone.md +++ b/docs/examples/1.6.x/server-swift/examples/users/update-phone.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/update-prefs.md b/docs/examples/1.6.x/server-swift/examples/users/update-prefs.md index d4818db4f2..c71b712df3 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/update-prefs.md +++ b/docs/examples/1.6.x/server-swift/examples/users/update-prefs.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/update-status.md b/docs/examples/1.6.x/server-swift/examples/users/update-status.md index 2408d05566..43ecea44f6 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/update-status.md +++ b/docs/examples/1.6.x/server-swift/examples/users/update-status.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/examples/1.6.x/server-swift/examples/users/update-target.md b/docs/examples/1.6.x/server-swift/examples/users/update-target.md index bd3cc7c470..579f0d282e 100644 --- a/docs/examples/1.6.x/server-swift/examples/users/update-target.md +++ b/docs/examples/1.6.x/server-swift/examples/users/update-target.md @@ -1,7 +1,7 @@ import Appwrite let client = Client() - .setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint + .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setKey("<YOUR_API_KEY>") // Your secret API key diff --git a/docs/sdks/dotnet/GETTING_STARTED.md b/docs/sdks/dotnet/GETTING_STARTED.md index ae1f692e0c..5a2343dc92 100644 --- a/docs/sdks/dotnet/GETTING_STARTED.md +++ b/docs/sdks/dotnet/GETTING_STARTED.md @@ -9,7 +9,7 @@ using Appwrite.Services; using Appwrite.Models; var client = new Client() - .SetEndpoint("http://cloud.appwrite.io/v1") + .SetEndpoint("http://<REGION>.cloud.appwrite.io/v1") .SetProject("5ff3379a01d25") // Your project ID .SetKey("cd868db89"); // Your secret API key diff --git a/public/images/sites/templates/lynx-starter-dark.png b/public/images/sites/templates/lynx-starter-dark.png deleted file mode 100644 index 017b00907f..0000000000 Binary files a/public/images/sites/templates/lynx-starter-dark.png and /dev/null differ diff --git a/public/images/sites/templates/lynx-starter-light.png b/public/images/sites/templates/lynx-starter-light.png deleted file mode 100644 index 0ffb0cfa43..0000000000 Binary files a/public/images/sites/templates/lynx-starter-light.png and /dev/null differ diff --git a/public/images/sites/templates/playground-for-analog-dark.png b/public/images/sites/templates/playground-for-analog-dark.png new file mode 100644 index 0000000000..7a1d1d77ef Binary files /dev/null and b/public/images/sites/templates/playground-for-analog-dark.png differ diff --git a/public/images/sites/templates/playground-for-analog-light.png b/public/images/sites/templates/playground-for-analog-light.png new file mode 100644 index 0000000000..69d2efb753 Binary files /dev/null and b/public/images/sites/templates/playground-for-analog-light.png differ diff --git a/public/images/sites/templates/playground-for-angular-dark.png b/public/images/sites/templates/playground-for-angular-dark.png new file mode 100644 index 0000000000..91a77137d3 Binary files /dev/null and b/public/images/sites/templates/playground-for-angular-dark.png differ diff --git a/public/images/sites/templates/playground-for-angular-light.png b/public/images/sites/templates/playground-for-angular-light.png new file mode 100644 index 0000000000..91a77137d3 Binary files /dev/null and b/public/images/sites/templates/playground-for-angular-light.png differ diff --git a/public/images/sites/templates/astro-starter-dark.png b/public/images/sites/templates/playground-for-astro-dark.png similarity index 100% rename from public/images/sites/templates/astro-starter-dark.png rename to public/images/sites/templates/playground-for-astro-dark.png diff --git a/public/images/sites/templates/astro-starter-light.png b/public/images/sites/templates/playground-for-astro-light.png similarity index 100% rename from public/images/sites/templates/astro-starter-light.png rename to public/images/sites/templates/playground-for-astro-light.png diff --git a/public/images/sites/templates/playground-for-flutter-dark.png b/public/images/sites/templates/playground-for-flutter-dark.png new file mode 100644 index 0000000000..9b239ff767 Binary files /dev/null and b/public/images/sites/templates/playground-for-flutter-dark.png differ diff --git a/public/images/sites/templates/playground-for-flutter-light.png b/public/images/sites/templates/playground-for-flutter-light.png new file mode 100644 index 0000000000..9b239ff767 Binary files /dev/null and b/public/images/sites/templates/playground-for-flutter-light.png differ diff --git a/public/images/sites/templates/playground-for-lynx-dark.png b/public/images/sites/templates/playground-for-lynx-dark.png new file mode 100644 index 0000000000..7697b3bea4 Binary files /dev/null and b/public/images/sites/templates/playground-for-lynx-dark.png differ diff --git a/public/images/sites/templates/playground-for-lynx-light.png b/public/images/sites/templates/playground-for-lynx-light.png new file mode 100644 index 0000000000..655d810d10 Binary files /dev/null and b/public/images/sites/templates/playground-for-lynx-light.png differ diff --git a/public/images/sites/templates/playground-for-nextjs-dark.png b/public/images/sites/templates/playground-for-nextjs-dark.png new file mode 100644 index 0000000000..9569a416de Binary files /dev/null and b/public/images/sites/templates/playground-for-nextjs-dark.png differ diff --git a/public/images/sites/templates/playground-for-nextjs-light.png b/public/images/sites/templates/playground-for-nextjs-light.png new file mode 100644 index 0000000000..d048c17a8a Binary files /dev/null and b/public/images/sites/templates/playground-for-nextjs-light.png differ diff --git a/public/images/sites/templates/playground-for-nuxt-dark.png b/public/images/sites/templates/playground-for-nuxt-dark.png new file mode 100644 index 0000000000..bea04f1cf9 Binary files /dev/null and b/public/images/sites/templates/playground-for-nuxt-dark.png differ diff --git a/public/images/sites/templates/playground-for-nuxt-light.png b/public/images/sites/templates/playground-for-nuxt-light.png new file mode 100644 index 0000000000..006e366a9f Binary files /dev/null and b/public/images/sites/templates/playground-for-nuxt-light.png differ diff --git a/public/images/sites/templates/playground-for-react-dark.png b/public/images/sites/templates/playground-for-react-dark.png new file mode 100644 index 0000000000..6873d5632e Binary files /dev/null and b/public/images/sites/templates/playground-for-react-dark.png differ diff --git a/public/images/sites/templates/playground-for-react-light.png b/public/images/sites/templates/playground-for-react-light.png new file mode 100644 index 0000000000..79dc16ffdb Binary files /dev/null and b/public/images/sites/templates/playground-for-react-light.png differ diff --git a/public/images/sites/templates/playground-for-react-native-dark.png b/public/images/sites/templates/playground-for-react-native-dark.png new file mode 100644 index 0000000000..0e20806edc Binary files /dev/null and b/public/images/sites/templates/playground-for-react-native-dark.png differ diff --git a/public/images/sites/templates/playground-for-react-native-light.png b/public/images/sites/templates/playground-for-react-native-light.png new file mode 100644 index 0000000000..12829d47d6 Binary files /dev/null and b/public/images/sites/templates/playground-for-react-native-light.png differ diff --git a/public/images/sites/templates/playground-for-remix-dark.png b/public/images/sites/templates/playground-for-remix-dark.png new file mode 100644 index 0000000000..092e96da32 Binary files /dev/null and b/public/images/sites/templates/playground-for-remix-dark.png differ diff --git a/public/images/sites/templates/playground-for-remix-light.png b/public/images/sites/templates/playground-for-remix-light.png new file mode 100644 index 0000000000..f2ef9a9baf Binary files /dev/null and b/public/images/sites/templates/playground-for-remix-light.png differ diff --git a/public/images/sites/templates/playground-for-svelte-dark.png b/public/images/sites/templates/playground-for-svelte-dark.png new file mode 100644 index 0000000000..90ac7f96aa Binary files /dev/null and b/public/images/sites/templates/playground-for-svelte-dark.png differ diff --git a/public/images/sites/templates/playground-for-svelte-light.png b/public/images/sites/templates/playground-for-svelte-light.png new file mode 100644 index 0000000000..90ac7f96aa Binary files /dev/null and b/public/images/sites/templates/playground-for-svelte-light.png differ diff --git a/public/images/sites/templates/playground-for-vite-dark.png b/public/images/sites/templates/playground-for-vite-dark.png new file mode 100644 index 0000000000..35dfb354d9 Binary files /dev/null and b/public/images/sites/templates/playground-for-vite-dark.png differ diff --git a/public/images/sites/templates/playground-for-vite-light.png b/public/images/sites/templates/playground-for-vite-light.png new file mode 100644 index 0000000000..f06fab0470 Binary files /dev/null and b/public/images/sites/templates/playground-for-vite-light.png differ diff --git a/public/images/sites/templates/playground-for-vue-dark.png b/public/images/sites/templates/playground-for-vue-dark.png new file mode 100644 index 0000000000..7df0dfd555 Binary files /dev/null and b/public/images/sites/templates/playground-for-vue-dark.png differ diff --git a/public/images/sites/templates/playground-for-vue-light.png b/public/images/sites/templates/playground-for-vue-light.png new file mode 100644 index 0000000000..850e7ba9b8 Binary files /dev/null and b/public/images/sites/templates/playground-for-vue-light.png differ diff --git a/public/images/sites/templates/remix-starter-dark.png b/public/images/sites/templates/remix-starter-dark.png deleted file mode 100644 index 47c0cc0394..0000000000 Binary files a/public/images/sites/templates/remix-starter-dark.png and /dev/null differ diff --git a/public/images/sites/templates/remix-starter-light.png b/public/images/sites/templates/remix-starter-light.png deleted file mode 100644 index 73c2d12625..0000000000 Binary files a/public/images/sites/templates/remix-starter-light.png and /dev/null differ diff --git a/src/Appwrite/Auth/OAuth2.php b/src/Appwrite/Auth/OAuth2.php index f7dc1d50a1..9358c89547 100644 --- a/src/Appwrite/Auth/OAuth2.php +++ b/src/Appwrite/Auth/OAuth2.php @@ -196,9 +196,9 @@ abstract class OAuth2 if (!empty($payload)) { \curl_setopt($ch, CURLOPT_POSTFIELDS, $payload); + $headers[] = 'Content-length: ' . \strlen($payload); } - $headers[] = 'Content-length: ' . \strlen($payload); \curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); // Send the request & save response to $response diff --git a/src/Appwrite/Auth/OAuth2/Figma.php b/src/Appwrite/Auth/OAuth2/Figma.php new file mode 100644 index 0000000000..b5e53cbed4 --- /dev/null +++ b/src/Appwrite/Auth/OAuth2/Figma.php @@ -0,0 +1,178 @@ +<?php + +namespace Appwrite\Auth\OAuth2; + +use Appwrite\Auth\OAuth2; + +// Reference Material +// https://www.figma.com/developers/api#oauth2 +// https://www.figma.com/developers/api#authentication + +class Figma extends OAuth2 +{ + /** + * @var array + */ + protected array $user = []; + + /** + * @var array + */ + protected array $tokens = []; + + /** + * @var array + */ + protected array $scopes = [ + 'current_user:read' + ]; + + /** + * @return string + */ + public function getName(): string + { + return 'figma'; + } + + /** + * @return string + */ + public function getLoginURL(): string + { + return 'https://www.figma.com/oauth?' . \http_build_query([ + 'response_type' => 'code', + 'client_id' => $this->appID, + 'redirect_uri' => $this->callback, + 'scope' => \implode(' ', $this->getScopes()), + 'state' => \json_encode($this->state) + ]); + } + + /** + * @param string $code + * + * @return array + */ + protected function getTokens(string $code): array + { + if (empty($this->tokens)) { + $headers = [ + 'Content-Type: application/x-www-form-urlencoded', + 'Authorization: Basic ' . \base64_encode($this->appID . ':' . $this->appSecret) + ]; + $this->tokens = \json_decode($this->request( + 'POST', + 'https://api.figma.com/v1/oauth/token', + $headers, + \http_build_query([ + 'redirect_uri' => $this->callback, + 'code' => $code, + 'grant_type' => 'authorization_code' + ]) + ), true); + } + + return $this->tokens; + } + + /** + * @param string $refreshToken + * + * @return array + */ + public function refreshTokens(string $refreshToken): array + { + $headers = [ + 'Content-Type: application/x-www-form-urlencoded', + 'Authorization: Basic ' . \base64_encode($this->appID . ':' . $this->appSecret) + ]; + $this->tokens = \json_decode($this->request( + 'POST', + 'https://api.figma.com/v1/oauth/refresh', + $headers, + \http_build_query([ + 'refresh_token' => $refreshToken + ]) + ), true); + + if (empty($this->tokens['refresh_token'])) { + $this->tokens['refresh_token'] = $refreshToken; + } + + return $this->tokens; + } + + /** + * @param string $accessToken + * + * @return string + */ + public function getUserID(string $accessToken): string + { + $user = $this->getUser($accessToken); + + return $user['id'] ?? ''; + } + + /** + * @param string $accessToken + * + * @return string + */ + public function getUserEmail(string $accessToken): string + { + $user = $this->getUser($accessToken); + + return $user['email'] ?? ''; + } + + /** + * Check if the OAuth email is verified + * + * Figma requires email verification during signup, + * so if we have an email, it's verified + * + * @param string $accessToken + * + * @return bool + */ + public function isEmailVerified(string $accessToken): bool + { + $email = $this->getUserEmail($accessToken); + + return !empty($email); + } + + /** + * @param string $accessToken + * + * @return string + */ + public function getUserName(string $accessToken): string + { + $user = $this->getUser($accessToken); + + return $user['handle'] ?? ''; + } + + /** + * @param string $accessToken + * + * @return array + */ + protected function getUser(string $accessToken): array + { + if (empty($this->user)) { + $headers = ['Authorization: Bearer ' . $accessToken]; + $user = $this->request( + 'GET', + 'https://api.figma.com/v1/me', + $headers + ); + $this->user = \json_decode($user, true); + } + + return $this->user; + } +} diff --git a/src/Appwrite/Event/Audit.php b/src/Appwrite/Event/Audit.php index 6c2a9c3086..dd48093dc5 100644 --- a/src/Appwrite/Event/Audit.php +++ b/src/Appwrite/Event/Audit.php @@ -12,6 +12,8 @@ class Audit extends Event protected string $ip = ''; protected string $hostname = ''; + protected bool $critical = false; + public function __construct(protected Publisher $publisher) { parent::__construct($publisher); diff --git a/src/Appwrite/Event/Event.php b/src/Appwrite/Event/Event.php index 0edffdf4dc..d699a45417 100644 --- a/src/Appwrite/Event/Event.php +++ b/src/Appwrite/Event/Event.php @@ -24,23 +24,12 @@ class Event public const FUNCTIONS_QUEUE_NAME = 'v1-functions'; public const FUNCTIONS_CLASS_NAME = 'FunctionsV1'; - /** remove */ - public const USAGE_QUEUE_NAME = 'v1-usage'; - public const USAGE_CLASS_NAME = 'UsageV1'; - - public const USAGE_DUMP_QUEUE_NAME = 'v1-usage-dump'; - public const USAGE_DUMP_CLASS_NAME = 'UsageDumpV1'; - /** /remove */ - public const STATS_RESOURCES_QUEUE_NAME = 'v1-stats-resources'; public const STATS_RESOURCES_CLASS_NAME = 'StatsResourcesV1'; public const STATS_USAGE_QUEUE_NAME = 'v1-stats-usage'; public const STATS_USAGE_CLASS_NAME = 'StatsUsageV1'; - public const STATS_USAGE_DUMP_QUEUE_NAME = 'v1-stats-usage-dump'; - public const STATS_USAGE_DUMP_CLASS_NAME = 'StatsUsageDumpV1'; - public const WEBHOOK_QUEUE_NAME = 'v1-webhooks'; public const WEBHOOK_CLASS_NAME = 'WebhooksV1'; @@ -68,6 +57,9 @@ class Event protected ?string $userId = null; protected bool $paused = false; + /** @var bool Non-critical events will not throw an exception when enqueuing of the event fails. */ + protected bool $critical = true; + /** * @param Publisher $publisher * @return void @@ -351,6 +343,7 @@ class Event */ public function trigger(): string|bool { + if ($this->paused) { return false; } @@ -360,7 +353,15 @@ class Event // Merge the base payload with any trimmed values $payload = array_merge($this->preparePayload(), $this->trimPayload()); - return $this->publisher->enqueue($queue, $payload); + + try { + return $this->publisher->enqueue($queue, $payload); + } catch (\Throwable $th) { + if ($this->critical) { + throw $th; + } + return false; + } } /** diff --git a/src/Appwrite/Event/Realtime.php b/src/Appwrite/Event/Realtime.php index e6640e70f1..4d8c9a321b 100644 --- a/src/Appwrite/Event/Realtime.php +++ b/src/Appwrite/Event/Realtime.php @@ -2,15 +2,22 @@ namespace Appwrite\Event; +use Appwrite\Messaging\Adapter; use Appwrite\Messaging\Adapter\Realtime as RealtimeAdapter; use Utopia\Database\Document; +use Utopia\Database\Exception; class Realtime extends Event { protected array $subscribers = []; + private Adapter $realtime; + + protected bool $critical = false; + public function __construct() { + $this->realtime = new Adapter\Realtime(); } /** @@ -57,7 +64,7 @@ class Realtime extends Event * Execute Event. * * @return string|bool - * @throws InvalidArgumentException + * @throws Exception */ public function trigger(): string|bool { @@ -87,7 +94,7 @@ class Realtime extends Event : [$target['projectId'] ?? $this->getProject()->getId()]; foreach ($projectIds as $projectId) { - RealtimeAdapter::send( + $this->realtime->send( projectId: $projectId, payload: $this->getRealtimePayload(), events: $allEvents, diff --git a/src/Appwrite/Event/StatsResources.php b/src/Appwrite/Event/StatsResources.php index e7a3df97e0..c4f7ac1690 100644 --- a/src/Appwrite/Event/StatsResources.php +++ b/src/Appwrite/Event/StatsResources.php @@ -6,6 +6,8 @@ use Utopia\Queue\Publisher; class StatsResources extends Event { + protected bool $critical = false; + public function __construct(protected Publisher $publisher) { parent::__construct($publisher); diff --git a/src/Appwrite/Event/StatsUsage.php b/src/Appwrite/Event/StatsUsage.php index e259ba5e04..f6b1d695f4 100644 --- a/src/Appwrite/Event/StatsUsage.php +++ b/src/Appwrite/Event/StatsUsage.php @@ -11,6 +11,8 @@ class StatsUsage extends Event protected array $reduce = []; protected array $disabled = []; + protected bool $critical = false; + public function __construct(protected Publisher $publisher) { parent::__construct($publisher); diff --git a/src/Appwrite/Event/StatsUsageDump.php b/src/Appwrite/Event/StatsUsageDump.php deleted file mode 100644 index 0573a88040..0000000000 --- a/src/Appwrite/Event/StatsUsageDump.php +++ /dev/null @@ -1,44 +0,0 @@ -<?php - -namespace Appwrite\Event; - -use Utopia\Queue\Publisher; - -class StatsUsageDump extends Event -{ - protected array $stats; - - public function __construct(protected Publisher $publisher) - { - parent::__construct($publisher); - - $this - ->setQueue(Event::STATS_USAGE_DUMP_QUEUE_NAME) - ->setClass(Event::STATS_USAGE_DUMP_CLASS_NAME); - } - - /** - * Add Stats. - * - * @param array $stats - * @return self - */ - public function setStats(array $stats): self - { - $this->stats = $stats; - - return $this; - } - - /** - * Prepare the payload for the usage dump event. - * - * @return array - */ - protected function preparePayload(): array - { - return [ - 'stats' => $this->stats, - ]; - } -} diff --git a/src/Appwrite/Extend/Exception.php b/src/Appwrite/Extend/Exception.php index 9eae11538b..7df9134c9f 100644 --- a/src/Appwrite/Extend/Exception.php +++ b/src/Appwrite/Extend/Exception.php @@ -189,6 +189,7 @@ class Exception extends \Exception public const DATABASE_NOT_FOUND = 'database_not_found'; public const DATABASE_ALREADY_EXISTS = 'database_already_exists'; public const DATABASE_TIMEOUT = 'database_timeout'; + public const DATABASE_QUERY_ORDER_NULL = 'database_query_order_null'; /** Collections */ public const COLLECTION_NOT_FOUND = 'collection_not_found'; diff --git a/src/Appwrite/Messaging/Adapter.php b/src/Appwrite/Messaging/Adapter.php index 27dd7f68eb..40169bd1a9 100644 --- a/src/Appwrite/Messaging/Adapter.php +++ b/src/Appwrite/Messaging/Adapter.php @@ -6,5 +6,5 @@ abstract class Adapter { abstract public function subscribe(string $projectId, mixed $identifier, array $roles, array $channels): void; abstract public function unsubscribe(mixed $identifier): void; - abstract public static function send(string $projectId, array $payload, array $events, array $channels, array $roles, array $options): void; + abstract public function send(string $projectId, array $payload, array $events, array $channels, array $roles, array $options): void; } diff --git a/src/Appwrite/Messaging/Adapter/Realtime.php b/src/Appwrite/Messaging/Adapter/Realtime.php index 9b63c4fc11..568132ceb1 100644 --- a/src/Appwrite/Messaging/Adapter/Realtime.php +++ b/src/Appwrite/Messaging/Adapter/Realtime.php @@ -7,6 +7,7 @@ use Utopia\Database\DateTime; use Utopia\Database\Document; use Utopia\Database\Helpers\ID; use Utopia\Database\Helpers\Role; +use Utopia\Pools\Pool; class Realtime extends Adapter { @@ -35,6 +36,14 @@ class Realtime extends Adapter */ public array $subscriptions = []; + private Pool $pubsubPool; + + public function __construct() + { + global $register; + $this->pubsubPool = $register->get('pools')->get('pubsub'); + } + /** * Adds a subscription. * @@ -129,7 +138,7 @@ class Realtime extends Adapter * @param array $options * @return void */ - public static function send(string $projectId, array $payload, array $events, array $channels, array $roles, array $options = []): void + public function send(string $projectId, array $payload, array $events, array $channels, array $roles, array $options = []): void { if (empty($channels) || empty($roles) || empty($projectId)) { return; @@ -138,26 +147,20 @@ class Realtime extends Adapter $permissionsChanged = array_key_exists('permissionsChanged', $options) && $options['permissionsChanged']; $userId = array_key_exists('userId', $options) ? $options['userId'] : null; - global $register; - $pubsub = $register->get('pools')->get('pubsub')->pop(); - try { - /** @var \Appwrite\PubSub\Adapter $redis */ - $redis = $pubsub->getResource(); - $redis->publish('realtime', json_encode([ - 'project' => $projectId, - 'roles' => $roles, - 'permissionsChanged' => $permissionsChanged, - 'userId' => $userId, - 'data' => [ - 'events' => $events, - 'channels' => $channels, - 'timestamp' => DateTime::formatTz(DateTime::now()), - 'payload' => $payload - ] - ])); - } finally { - $pubsub->reclaim(); - } + $message = [ + 'project' => $projectId, + 'roles' => $roles, + 'permissionsChanged' => $permissionsChanged, + 'userId' => $userId, + 'data' => [ + 'events' => $events, + 'channels' => $channels, + 'timestamp' => DateTime::formatTz(DateTime::now()), + 'payload' => $payload + ] + ]; + + $this->pubsubPool->use(fn (\Appwrite\PubSub\Adapter $pubsub) => $pubsub->publish('realtime', json_encode($message))); } /** diff --git a/src/Appwrite/Migration/Version/V21.php b/src/Appwrite/Migration/Version/V21.php index 3f1bc0d228..46bd81a039 100644 --- a/src/Appwrite/Migration/Version/V21.php +++ b/src/Appwrite/Migration/Version/V21.php @@ -82,6 +82,14 @@ class V21 extends Migration Console::warning("'type' from {$id}: {$th->getMessage()}"); } break; + case 'migrations': + // Create destination attribute + try { + $this->createAttributeFromCollection($this->projectDB, $id, 'destination'); + } catch (Throwable $th) { + Console::warning("'destination' from {$id}: {$th->getMessage()}"); + } + break; case 'schedules': // Create data attribute try { @@ -91,7 +99,14 @@ class V21 extends Migration } break; - + case 'databases': + // Create originalId attribute + try { + $this->createAttributeFromCollection($this->projectDB, $id, 'originalId'); + } catch (Throwable $th) { + Console::warning("'originalId' from {$id}: {$th->getMessage()}"); + } + break; case 'functions': // Create scopes attribute try { diff --git a/src/Appwrite/Platform/Modules/Console/Http/Resources/Get.php b/src/Appwrite/Platform/Modules/Console/Http/Resources/Get.php index ec1c195d61..16a94dc00c 100644 --- a/src/Appwrite/Platform/Modules/Console/Http/Resources/Get.php +++ b/src/Appwrite/Platform/Modules/Console/Http/Resources/Get.php @@ -36,6 +36,7 @@ class Get extends Action ->label('scope', 'rules.read') ->label('sdk', new Method( namespace: 'console', + group: null, name: 'getResource', description: <<<EOT Check if a resource ID is available. diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Create.php b/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Create.php index 00c4f402a1..2d49f1ce34 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Create.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Create.php @@ -52,6 +52,7 @@ class Create extends Action ->label('audits.resource', 'function/{request.functionId}') ->label('sdk', new Method( namespace: 'functions', + group: 'deployments', name: 'createDeployment', description: <<<EOT Create a new function code deployment. Use this endpoint to upload a new version of your code function. To execute your newly uploaded code, you'll need to update the function's deployment to use your new deployment UID. diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Delete.php b/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Delete.php index b66ea30bb2..84878055d8 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Delete.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Delete.php @@ -41,6 +41,7 @@ class Delete extends Action ->label('audits.resource', 'function/{request.functionId}') ->label('sdk', new Method( namespace: 'functions', + group: 'deployments', name: 'deleteDeployment', description: <<<EOT Delete a code deployment by its unique ID. diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Download/Get.php b/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Download/Get.php index 94d86a2647..9456ff13a6 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Download/Get.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Download/Get.php @@ -33,11 +33,12 @@ class Get extends Action ->setHttpPath('/v1/functions/:functionId/deployments/:deploymentId/download') ->httpAlias('/v1/functions/:functionId/deployments/:deploymentId/build/download', ['type' => 'output']) ->groups(['api', 'functions']) - ->desc('Download deployment') + ->desc('Get deployment download') ->label('scope', 'functions.read') ->label('resourceType', RESOURCE_TYPE_FUNCTIONS) ->label('sdk', new Method( namespace: 'functions', + group: 'deployments', name: 'getDeploymentDownload', description: <<<EOT Get a function deployment content by its unique ID. The endpoint response return with a 'Content-Disposition: attachment' header that tells the browser to start downloading the file to user downloads directory. diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Duplicate/Create.php b/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Duplicate/Create.php index eb672dacf9..0bb4a3b9fb 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Duplicate/Create.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Duplicate/Create.php @@ -41,6 +41,7 @@ class Create extends Action ->label('audits.resource', 'function/{request.functionId}') ->label('sdk', new Method( namespace: 'functions', + group: 'deployments', name: 'createDuplicateDeployment', description: <<<EOT Create a new build for an existing function deployment. This endpoint allows you to rebuild a deployment with the updated function configuration, including its entrypoint and build commands if they have been modified. The build process will be queued and executed asynchronously. The original deployment's code will be preserved and used for the new build. diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Get.php b/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Get.php index 4efc2bd8b4..e9c5240f5c 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Get.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Get.php @@ -32,6 +32,7 @@ class Get extends Action ->label('resourceType', RESOURCE_TYPE_FUNCTIONS) ->label('sdk', new Method( namespace: 'functions', + group: 'deployments', name: 'getDeployment', description: <<<EOT Get a function deployment by its unique ID. diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Status/Update.php b/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Status/Update.php index ea7f67e9da..dd2e08fe54 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Status/Update.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Status/Update.php @@ -39,6 +39,7 @@ class Update extends Action ->label('audits.resource', 'function/{request.functionId}') ->label('sdk', new Method( namespace: 'functions', + group: 'deployments', name: 'updateDeploymentStatus', description: <<<EOT Cancel an ongoing function deployment build. If the build is already in progress, it will be stopped and marked as canceled. If the build hasn't started yet, it will be marked as canceled without executing. You cannot cancel builds that have already completed (status 'ready') or failed. The response includes the final build status and details. diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Template/Create.php b/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Template/Create.php index 98a975545d..2984bab99a 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Template/Create.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Template/Create.php @@ -46,6 +46,7 @@ class Create extends Base ->label('audits.resource', 'function/{request.functionId}') ->label('sdk', new Method( namespace: 'functions', + group: 'deployments', name: 'createTemplateDeployment', description: <<<EOT Create a deployment based on a template. diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Vcs/Create.php b/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Vcs/Create.php index 1e1b6ac1cc..48f3894bb2 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Vcs/Create.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Vcs/Create.php @@ -44,6 +44,7 @@ class Create extends Base ->label('audits.resource', 'function/{request.functionId}') ->label('sdk', new Method( namespace: 'functions', + group: 'deployments', name: 'createVcsDeployment', description: <<<EOT Create a deployment when a function is connected to VCS. diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Deployments/XList.php b/src/Appwrite/Platform/Modules/Functions/Http/Deployments/XList.php index 85247e63e4..38f1f38e89 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Deployments/XList.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Deployments/XList.php @@ -10,6 +10,7 @@ use Appwrite\Utopia\Database\Validator\Queries\Deployments; use Appwrite\Utopia\Response; use Utopia\Database\Database; use Utopia\Database\Document; +use Utopia\Database\Exception\Order as OrderException; use Utopia\Database\Exception\Query as QueryException; use Utopia\Database\Query; use Utopia\Database\Validator\Query\Cursor; @@ -38,6 +39,7 @@ class XList extends Action ->label('resourceType', RESOURCE_TYPE_FUNCTIONS) ->label('sdk', new Method( namespace: 'functions', + group: 'deployments', name: 'listDeployments', description: <<<EOT Get a list of all the function's code deployments. You can use the query params to filter your results. @@ -112,8 +114,12 @@ class XList extends Action $filterQueries = Query::groupByType($queries)['filters']; - $results = $dbForProject->find('deployments', $queries); - $total = $dbForProject->count('deployments', $filterQueries, APP_LIMIT_COUNT); + try { + $results = $dbForProject->find('deployments', $queries); + $total = $dbForProject->count('deployments', $filterQueries, APP_LIMIT_COUNT); + } catch (OrderException $e) { + throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order attribute '{$e->getAttribute()}' had a null value. Cursor pagination requires all documents order attribute values are non-null."); + } $response->dynamic(new Document([ 'deployments' => $results, diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Executions/Create.php b/src/Appwrite/Platform/Modules/Functions/Http/Executions/Create.php index 1c7e771430..f13e127040 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Executions/Create.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Executions/Create.php @@ -62,6 +62,7 @@ class Create extends Base ->label('resourceType', RESOURCE_TYPE_FUNCTIONS) ->label('sdk', new Method( namespace: 'functions', + group: 'executions', name: 'createExecution', description: <<<EOT Trigger a function execution. The returned object will return you the current execution status. You can ping the `Get Execution` endpoint to get updates on the current execution status. Once this endpoint is called, your function execution process will start asynchronously. @@ -451,15 +452,6 @@ class Create extends Base $execution = Authorization::skip(fn () => $dbForProject->createDocument('executions', $execution)); } - $roles = Authorization::getRoles(); - $isPrivilegedUser = Auth::isPrivilegedUser($roles); - $isAppUser = Auth::isAppUser($roles); - - if (!$isPrivilegedUser && !$isAppUser) { - $execution->setAttribute('logs', ''); - $execution->setAttribute('errors', ''); - } - $headers = []; foreach (($executionResponse['headers'] ?? []) as $key => $value) { $headers[] = ['name' => $key, 'value' => $value]; diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Executions/Delete.php b/src/Appwrite/Platform/Modules/Functions/Http/Executions/Delete.php index b22adb0565..cd85b5e534 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Executions/Delete.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Executions/Delete.php @@ -42,6 +42,7 @@ class Delete extends Base ->label('audits.resource', 'function/{request.functionId}') ->label('sdk', new Method( namespace: 'functions', + group: 'executions', name: 'deleteExecution', description: <<<EOT Delete a function execution by its unique ID. diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Executions/Get.php b/src/Appwrite/Platform/Modules/Functions/Http/Executions/Get.php index 6a92794767..892ce30f47 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Executions/Get.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Executions/Get.php @@ -35,6 +35,7 @@ class Get extends Base ->label('resourceType', RESOURCE_TYPE_FUNCTIONS) ->label('sdk', new Method( namespace: 'functions', + group: 'executions', name: 'getExecution', description: <<<EOT Get a function execution log by its unique ID. @@ -79,14 +80,6 @@ class Get extends Base throw new Exception(Exception::EXECUTION_NOT_FOUND); } - $roles = Authorization::getRoles(); - $isPrivilegedUser = Auth::isPrivilegedUser($roles); - $isAppUser = Auth::isAppUser($roles); - if (!$isPrivilegedUser && !$isAppUser) { - $execution->setAttribute('logs', ''); - $execution->setAttribute('errors', ''); - } - $response->dynamic($execution, Response::MODEL_EXECUTION); } } diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Executions/XList.php b/src/Appwrite/Platform/Modules/Functions/Http/Executions/XList.php index be1e16225c..a31e95b1c8 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Executions/XList.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Executions/XList.php @@ -12,6 +12,7 @@ use Appwrite\Utopia\Database\Validator\Queries\Executions; use Appwrite\Utopia\Response; use Utopia\Database\Database; use Utopia\Database\Document; +use Utopia\Database\Exception\Order as OrderException; use Utopia\Database\Exception\Query as QueryException; use Utopia\Database\Query; use Utopia\Database\Validator\Authorization; @@ -40,6 +41,7 @@ class XList extends Base ->label('resourceType', RESOURCE_TYPE_FUNCTIONS) ->label('sdk', new Method( namespace: 'functions', + group: 'executions', name: 'listExecutions', description: <<<EOT Get a list of all the current user function execution logs. You can use the query params to filter your results. @@ -111,18 +113,11 @@ class XList extends Base $filterQueries = Query::groupByType($queries)['filters']; - $results = $dbForProject->find('executions', $queries); - $total = $dbForProject->count('executions', $filterQueries, APP_LIMIT_COUNT); - - $roles = Authorization::getRoles(); - $isPrivilegedUser = Auth::isPrivilegedUser($roles); - $isAppUser = Auth::isAppUser($roles); - if (!$isPrivilegedUser && !$isAppUser) { - $results = array_map(function ($execution) { - $execution->setAttribute('logs', ''); - $execution->setAttribute('errors', ''); - return $execution; - }, $results); + try { + $results = $dbForProject->find('executions', $queries); + $total = $dbForProject->count('executions', $filterQueries, APP_LIMIT_COUNT); + } catch (OrderException $e) { + throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order attribute '{$e->getAttribute()}' had a null value. Cursor pagination requires all documents order attribute values are non-null."); } $response->dynamic(new Document([ diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Functions/Create.php b/src/Appwrite/Platform/Modules/Functions/Http/Functions/Create.php index 9436833dad..a56a56395e 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Functions/Create.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Functions/Create.php @@ -56,6 +56,7 @@ class Create extends Base ->label('audits.resource', 'function/{response.$id}') ->label('sdk', new Method( namespace: 'functions', + group: 'functions', name: 'create', description: <<<EOT Create a new function. You can pass a list of [permissions](https://appwrite.io/docs/permissions) to allow different project users or team with access to execute the function using the client API. diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Functions/Delete.php b/src/Appwrite/Platform/Modules/Functions/Http/Functions/Delete.php index 40112756ea..91da68538c 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Functions/Delete.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Functions/Delete.php @@ -41,6 +41,7 @@ class Delete extends Base ->label('audits.resource', 'function/{request.functionId}') ->label('sdk', new Method( namespace: 'functions', + group: 'functions', name: 'delete', description: <<<EOT Delete a function by its unique ID. diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Functions/Deployment/Update.php b/src/Appwrite/Platform/Modules/Functions/Http/Functions/Deployment/Update.php index c957a688e2..6de71cfae6 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Functions/Deployment/Update.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Functions/Deployment/Update.php @@ -42,6 +42,7 @@ class Update extends Base ->label('audits.resource', 'function/{request.functionId}') ->label('sdk', new Method( namespace: 'functions', + group: 'functions', name: 'updateFunctionDeployment', description: <<<EOT Update the function active deployment. Use this endpoint to switch the code deployment that should be used when visitor opens your function. diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Functions/Get.php b/src/Appwrite/Platform/Modules/Functions/Http/Functions/Get.php index fb58e9b2d1..9ce6560fd0 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Functions/Get.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Functions/Get.php @@ -33,6 +33,7 @@ class Get extends Base ->label('resourceType', RESOURCE_TYPE_FUNCTIONS) ->label('sdk', new Method( namespace: 'functions', + group: 'functions', name: 'get', description: <<<EOT Get a function by its unique ID. diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Functions/Update.php b/src/Appwrite/Platform/Modules/Functions/Http/Functions/Update.php index 3e4399f8db..4ad4d5a156 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Functions/Update.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Functions/Update.php @@ -60,6 +60,7 @@ class Update extends Base ->label('audits.resource', 'function/{response.$id}') ->label('sdk', new Method( namespace: 'functions', + group: 'functions', name: 'update', description: <<<EOT Update function by its unique ID. diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Functions/XList.php b/src/Appwrite/Platform/Modules/Functions/Http/Functions/XList.php index 6bcbb6cfbe..cd0eba2c50 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Functions/XList.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Functions/XList.php @@ -11,6 +11,7 @@ use Appwrite\Utopia\Database\Validator\Queries\Functions; use Appwrite\Utopia\Response; use Utopia\Database\Database; use Utopia\Database\Document; +use Utopia\Database\Exception\Order as OrderException; use Utopia\Database\Exception\Query as QueryException; use Utopia\Database\Query; use Utopia\Database\Validator\Query\Cursor; @@ -38,6 +39,7 @@ class XList extends Base ->label('resourceType', RESOURCE_TYPE_FUNCTIONS) ->label('sdk', new Method( namespace: 'functions', + group: 'functions', name: 'list', description: <<<EOT Get a list of all the project's functions. You can use the query params to filter your results. @@ -100,9 +102,16 @@ class XList extends Base $filterQueries = Query::groupByType($queries)['filters']; + try { + $functions = $dbForProject->find('functions', $queries); + $total = $dbForProject->count('functions', $filterQueries, APP_LIMIT_COUNT); + } catch (OrderException $e) { + throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order attribute '{$e->getAttribute()}' had a null value. Cursor pagination requires all documents order attribute values are non-null."); + } + $response->dynamic(new Document([ - 'functions' => $dbForProject->find('functions', $queries), - 'total' => $dbForProject->count('functions', $filterQueries, APP_LIMIT_COUNT), + 'functions' => $functions, + 'total' => $total, ]), Response::MODEL_FUNCTION_LIST); } } diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Runtimes/XList.php b/src/Appwrite/Platform/Modules/Functions/Http/Runtimes/XList.php index f00c4a0cd5..bfccff0479 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Runtimes/XList.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Runtimes/XList.php @@ -33,6 +33,7 @@ class XList extends Base ->label('resourceType', RESOURCE_TYPE_FUNCTIONS) ->label('sdk', new Method( namespace: 'functions', + group: 'runtimes', name: 'listRuntimes', description: <<<EOT Get a list of all runtimes that are currently active on your instance. diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Specifications/XList.php b/src/Appwrite/Platform/Modules/Functions/Http/Specifications/XList.php index 375c99966d..c211579165 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Specifications/XList.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Specifications/XList.php @@ -33,6 +33,7 @@ class XList extends Base ->label('resourceType', RESOURCE_TYPE_FUNCTIONS) ->label('sdk', new Method( namespace: 'functions', + group: 'runtimes', name: 'listSpecifications', description: <<<EOT List allowed function specifications for this instance. diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Templates/Get.php b/src/Appwrite/Platform/Modules/Functions/Http/Templates/Get.php index 8eb95b2026..237898f6fa 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Templates/Get.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Templates/Get.php @@ -34,6 +34,7 @@ class Get extends Base ->label('resourceType', RESOURCE_TYPE_FUNCTIONS) ->label('sdk', new Method( namespace: 'functions', + group: 'templates', name: 'getTemplate', description: <<<EOT Get a function template using ID. You can use template details in [createFunction](/docs/references/cloud/server-nodejs/functions#create) method. diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Templates/XList.php b/src/Appwrite/Platform/Modules/Functions/Http/Templates/XList.php index 7a165e6348..05b54a75d0 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Templates/XList.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Templates/XList.php @@ -35,6 +35,7 @@ class XList extends Base ->label('resourceType', RESOURCE_TYPE_FUNCTIONS) ->label('sdk', new Method( namespace: 'functions', + group: 'templates', name: 'listTemplates', description: <<<EOT List available function templates. You can use template details in [createFunction](/docs/references/cloud/server-nodejs/functions#create) method. diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Usage/Get.php b/src/Appwrite/Platform/Modules/Functions/Http/Usage/Get.php index 7f64fa8d8c..e0d659c9ba 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Usage/Get.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Usage/Get.php @@ -38,6 +38,7 @@ class Get extends Base ->label('resourceType', RESOURCE_TYPE_FUNCTIONS) ->label('sdk', new Method( namespace: 'functions', + group: null, name: 'getUsage', description: <<<EOT Get usage metrics and statistics for a for a specific function. View statistics including total deployments, builds, executions, storage usage, and compute time. The response includes both current totals and historical data for each metric. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, defaults to 30 days. diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Usage/XList.php b/src/Appwrite/Platform/Modules/Functions/Http/Usage/XList.php index e4a7c01bdf..e64fe9a600 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Usage/XList.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Usage/XList.php @@ -36,6 +36,7 @@ class XList extends Base ->label('resourceType', RESOURCE_TYPE_FUNCTIONS) ->label('sdk', new Method( namespace: 'functions', + group: null, name: 'listUsage', description: <<<EOT Get usage metrics and statistics for all functions in the project. View statistics including total deployments, builds, logs, storage usage, and compute time. The response includes both current totals and historical data for each metric. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, defaults to 30 days. diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Variables/Create.php b/src/Appwrite/Platform/Modules/Functions/Http/Variables/Create.php index 91f2870ce1..9300524c64 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Variables/Create.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Variables/Create.php @@ -44,6 +44,7 @@ class Create extends Base ->label('audits.resource', 'function/{request.functionId}') ->label('sdk', new Method( namespace: 'functions', + group: 'variables', name: 'createVariable', description: <<<EOT Create a new function environment variable. These variables can be accessed in the function at runtime as environment variables. diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Variables/Delete.php b/src/Appwrite/Platform/Modules/Functions/Http/Variables/Delete.php index 13bc8c41b6..3d6bfebcb9 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Variables/Delete.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Variables/Delete.php @@ -38,6 +38,7 @@ class Delete extends Base ->label('audits.resource', 'function/{request.functionId}') ->label('sdk', new Method( namespace: 'functions', + group: 'variables', name: 'deleteVariable', description: <<<EOT Delete a variable by its unique ID. diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Variables/Get.php b/src/Appwrite/Platform/Modules/Functions/Http/Variables/Get.php index eeb5c51f33..70cc66219a 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Variables/Get.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Variables/Get.php @@ -35,6 +35,7 @@ class Get extends Base 'sdk', new Method( namespace: 'functions', + group: 'variables', name: 'getVariable', description: <<<EOT Get a variable by its unique ID. diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Variables/Update.php b/src/Appwrite/Platform/Modules/Functions/Http/Variables/Update.php index 6f1bab8401..4102022267 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Variables/Update.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Variables/Update.php @@ -40,6 +40,7 @@ class Update extends Base ->label('audits.resource', 'function/{request.functionId}') ->label('sdk', new Method( namespace: 'functions', + group: 'variables', name: 'updateVariable', description: <<<EOT Update variable by its unique ID. diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Variables/XList.php b/src/Appwrite/Platform/Modules/Functions/Http/Variables/XList.php index 000e83a0c9..9c02cfe07c 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Variables/XList.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Variables/XList.php @@ -36,6 +36,7 @@ class XList extends Base 'sdk', new Method( namespace: 'functions', + group: 'variables', name: 'listVariables', description: <<<EOT Get a list of all variables of a specific function. diff --git a/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Create.php b/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Create.php index 9636a166c1..9758b8da93 100644 --- a/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Create.php +++ b/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Create.php @@ -37,6 +37,7 @@ class Create extends Action ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'devKeys', name: 'createDevKey', description: <<<EOT Create a new project dev key. Dev keys are project specific and allow you to bypass rate limits and get better error logging during development. Strictly meant for development purposes only. diff --git a/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Delete.php b/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Delete.php index 3adf26f816..f6cb966f50 100644 --- a/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Delete.php +++ b/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Delete.php @@ -31,6 +31,7 @@ class Delete extends Action ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'devKeys', name: 'deleteDevKey', description: <<<EOT Delete a project\'s dev key by its unique ID. Once deleted, the key will no longer allow bypassing of rate limits and better logging of errors. diff --git a/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Get.php b/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Get.php index c933c5be93..bd472b26e7 100644 --- a/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Get.php +++ b/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Get.php @@ -31,6 +31,7 @@ class Get extends Action ->label('scope', 'projects.read') ->label('sdk', new Method( namespace: 'projects', + group: 'devKeys', name: 'getDevKey', description: <<<EOT Get a project\'s dev key by its unique ID. Dev keys are project specific and allow you to bypass rate limits and get better error logging during development. diff --git a/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Update.php b/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Update.php index c556578bc2..8f66318376 100644 --- a/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Update.php +++ b/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/Update.php @@ -32,6 +32,7 @@ class Update extends Action ->label('scope', 'projects.write') ->label('sdk', new Method( namespace: 'projects', + group: 'devKeys', name: 'updateDevKey', description: <<<EOT Update a project\'s dev key by its unique ID. Use this endpoint to update a project\'s dev key name or expiration time.' diff --git a/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/XList.php b/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/XList.php index 0d3516558e..b1aeecdcde 100644 --- a/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/XList.php +++ b/src/Appwrite/Platform/Modules/Projects/Http/DevKeys/XList.php @@ -36,6 +36,7 @@ class XList extends Action ->label('scope', 'projects.read') ->label('sdk', new Method( namespace: 'projects', + group: 'devKeys', name: 'listDevKeys', description: <<<EOT List all the project\'s dev keys. Dev keys are project specific and allow you to bypass rate limits and get better error logging during development.' diff --git a/src/Appwrite/Platform/Modules/Proxy/Http/Rules/API/Create.php b/src/Appwrite/Platform/Modules/Proxy/Http/Rules/API/Create.php index b6349c3aea..443a5db35e 100644 --- a/src/Appwrite/Platform/Modules/Proxy/Http/Rules/API/Create.php +++ b/src/Appwrite/Platform/Modules/Proxy/Http/Rules/API/Create.php @@ -44,6 +44,7 @@ class Create extends Action ->label('audits.resource', 'rule/{response.$id}') ->label('sdk', new Method( namespace: 'proxy', + group: null, name: 'createAPIRule', description: <<<EOT Create a new proxy rule for serving Appwrite's API on custom domain. @@ -70,24 +71,39 @@ class Create extends Action public function action(string $domain, Response $response, Document $project, Certificate $queueForCertificates, Event $queueForEvents, Database $dbForPlatform) { - $mainDomain = System::getEnv('_APP_DOMAIN', ''); - $sitesDomain = System::getEnv('_APP_DOMAIN_SITES', ''); - $functionsDomain = System::getEnv('_APP_DOMAIN_FUNCTIONS', ''); - $deniedDomains = [ - $mainDomain, - $sitesDomain, - $functionsDomain, 'localhost', - APP_HOSTNAME_INTERNAL, + APP_HOSTNAME_INTERNAL ]; + $mainDomain = System::getEnv('_APP_DOMAIN', ''); + $deniedDomains[] = $mainDomain; + + $sitesDomain = System::getEnv('_APP_DOMAIN_SITES', ''); + if (!empty($sitesDomain)) { + $deniedDomains[] = $sitesDomain; + } + + $functionsDomain = System::getEnv('_APP_DOMAIN_FUNCTIONS', ''); + if (!empty($functionsDomain)) { + $deniedDomains[] = $functionsDomain; + } + + $denyListDomains = System::getEnv('_APP_CUSTOM_DOMAIN_DENY_LIST', ''); + $denyListDomains = \array_map('trim', explode(',', $denyListDomains)); + foreach ($denyListDomains as $denyListDomain) { + if (empty($denyListDomain)) { + continue; + } + $deniedDomains[] = $denyListDomain; + } + if (\in_array($domain, $deniedDomains)) { - throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'This domain name is not allowed. Please pick another one.'); + throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'This domain name is not allowed. Please use a different domain.'); } if (\str_starts_with($domain, 'commit-') || \str_starts_with($domain, 'branch-')) { - throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'This domain name is not allowed. Please pick another one.'); + throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'This domain name is not allowed. Please use a different domain.'); } try { diff --git a/src/Appwrite/Platform/Modules/Proxy/Http/Rules/Function/Create.php b/src/Appwrite/Platform/Modules/Proxy/Http/Rules/Function/Create.php index a85a4fa063..039f583150 100644 --- a/src/Appwrite/Platform/Modules/Proxy/Http/Rules/Function/Create.php +++ b/src/Appwrite/Platform/Modules/Proxy/Http/Rules/Function/Create.php @@ -46,6 +46,7 @@ class Create extends Action ->label('audits.resource', 'rule/{response.$id}') ->label('sdk', new Method( namespace: 'proxy', + group: null, name: 'createFunctionRule', description: <<<EOT Create a new proxy rule for executing Appwrite Function on custom domain. @@ -75,20 +76,39 @@ class Create extends Action public function action(string $domain, string $functionId, string $branch, Response $response, Document $project, Certificate $queueForCertificates, Event $queueForEvents, Database $dbForPlatform, Database $dbForProject) { - $mainDomain = System::getEnv('_APP_DOMAIN', ''); - $sitesDomain = System::getEnv('_APP_DOMAIN_SITES', ''); - $functionsDomain = System::getEnv('_APP_DOMAIN_FUNCTIONS', ''); - $deniedDomains = [ - $mainDomain, - $sitesDomain, - $functionsDomain, 'localhost', - APP_HOSTNAME_INTERNAL, + APP_HOSTNAME_INTERNAL ]; + $mainDomain = System::getEnv('_APP_DOMAIN', ''); + $deniedDomains[] = $mainDomain; + + $sitesDomain = System::getEnv('_APP_DOMAIN_SITES', ''); + if (!empty($sitesDomain)) { + $deniedDomains[] = $sitesDomain; + } + + $functionsDomain = System::getEnv('_APP_DOMAIN_FUNCTIONS', ''); + if (!empty($functionsDomain)) { + $deniedDomains[] = $functionsDomain; + } + + $denyListDomains = System::getEnv('_APP_CUSTOM_DOMAIN_DENY_LIST', ''); + $denyListDomains = \array_map('trim', explode(',', $denyListDomains)); + foreach ($denyListDomains as $denyListDomain) { + if (empty($denyListDomain)) { + continue; + } + $deniedDomains[] = $denyListDomain; + } + if (\in_array($domain, $deniedDomains)) { - throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'This domain name is not allowed. Please pick another one.'); + throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'This domain name is not allowed. Please use a different domain.'); + } + + if (\str_starts_with($domain, 'commit-') || \str_starts_with($domain, 'branch-')) { + throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'This domain name is not allowed. Please use a different domain.'); } try { diff --git a/src/Appwrite/Platform/Modules/Proxy/Http/Rules/Redirect/Create.php b/src/Appwrite/Platform/Modules/Proxy/Http/Rules/Redirect/Create.php index 58271ef08e..a693e3ec30 100644 --- a/src/Appwrite/Platform/Modules/Proxy/Http/Rules/Redirect/Create.php +++ b/src/Appwrite/Platform/Modules/Proxy/Http/Rules/Redirect/Create.php @@ -46,6 +46,7 @@ class Create extends Action ->label('audits.resource', 'rule/{response.$id}') ->label('sdk', new Method( namespace: 'proxy', + group: null, name: 'createRedirectRule', description: <<<EOT Create a new proxy rule for to redirect from custom domain to another domain. @@ -74,20 +75,39 @@ class Create extends Action public function action(string $domain, string $url, int $statusCode, Response $response, Document $project, Certificate $queueForCertificates, Event $queueForEvents, Database $dbForPlatform) { - $mainDomain = System::getEnv('_APP_DOMAIN', ''); - $sitesDomain = System::getEnv('_APP_DOMAIN_SITES', ''); - $functionsDomain = System::getEnv('_APP_DOMAIN_FUNCTIONS', ''); - $deniedDomains = [ - $mainDomain, - $sitesDomain, - $functionsDomain, 'localhost', - APP_HOSTNAME_INTERNAL, + APP_HOSTNAME_INTERNAL ]; + $mainDomain = System::getEnv('_APP_DOMAIN', ''); + $deniedDomains[] = $mainDomain; + + $sitesDomain = System::getEnv('_APP_DOMAIN_SITES', ''); + if (!empty($sitesDomain)) { + $deniedDomains[] = $sitesDomain; + } + + $functionsDomain = System::getEnv('_APP_DOMAIN_FUNCTIONS', ''); + if (!empty($functionsDomain)) { + $deniedDomains[] = $functionsDomain; + } + + $denyListDomains = System::getEnv('_APP_CUSTOM_DOMAIN_DENY_LIST', ''); + $denyListDomains = \array_map('trim', explode(',', $denyListDomains)); + foreach ($denyListDomains as $denyListDomain) { + if (empty($denyListDomain)) { + continue; + } + $deniedDomains[] = $denyListDomain; + } + if (\in_array($domain, $deniedDomains)) { - throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'This domain name is not allowed. Please pick another one.'); + throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'This domain name is not allowed. Please use a different domain.'); + } + + if (\str_starts_with($domain, 'commit-') || \str_starts_with($domain, 'branch-')) { + throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'This domain name is not allowed. Please use a different domain.'); } try { diff --git a/src/Appwrite/Platform/Modules/Proxy/Http/Rules/Site/Create.php b/src/Appwrite/Platform/Modules/Proxy/Http/Rules/Site/Create.php index 1a0cbe7fdc..ac55b709e8 100644 --- a/src/Appwrite/Platform/Modules/Proxy/Http/Rules/Site/Create.php +++ b/src/Appwrite/Platform/Modules/Proxy/Http/Rules/Site/Create.php @@ -46,6 +46,7 @@ class Create extends Action ->label('audits.resource', 'rule/{response.$id}') ->label('sdk', new Method( namespace: 'proxy', + group: null, name: 'createSiteRule', description: <<<EOT Create a new proxy rule for serving Appwrite Site on custom domain. @@ -75,20 +76,39 @@ class Create extends Action public function action(string $domain, string $siteId, string $branch, Response $response, Document $project, Certificate $queueForCertificates, Event $queueForEvents, Database $dbForPlatform, Database $dbForProject) { - $mainDomain = System::getEnv('_APP_DOMAIN', ''); - $sitesDomain = System::getEnv('_APP_DOMAIN_SITES', ''); - $functionsDomain = System::getEnv('_APP_DOMAIN_FUNCTIONS', ''); - $deniedDomains = [ - $mainDomain, - $sitesDomain, - $functionsDomain, 'localhost', - APP_HOSTNAME_INTERNAL, + APP_HOSTNAME_INTERNAL ]; + $mainDomain = System::getEnv('_APP_DOMAIN', ''); + $deniedDomains[] = $mainDomain; + + $sitesDomain = System::getEnv('_APP_DOMAIN_SITES', ''); + if (!empty($sitesDomain)) { + $deniedDomains[] = $sitesDomain; + } + + $functionsDomain = System::getEnv('_APP_DOMAIN_FUNCTIONS', ''); + if (!empty($functionsDomain)) { + $deniedDomains[] = $functionsDomain; + } + + $denyListDomains = System::getEnv('_APP_CUSTOM_DOMAIN_DENY_LIST', ''); + $denyListDomains = \array_map('trim', explode(',', $denyListDomains)); + foreach ($denyListDomains as $denyListDomain) { + if (empty($denyListDomain)) { + continue; + } + $deniedDomains[] = $denyListDomain; + } + if (\in_array($domain, $deniedDomains)) { - throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'This domain name is not allowed. Please pick another one.'); + throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'This domain name is not allowed. Please use a different domain.'); + } + + if (\str_starts_with($domain, 'commit-') || \str_starts_with($domain, 'branch-')) { + throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'This domain name is not allowed. Please use a different domain.'); } try { diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Create.php b/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Create.php index 0b45c42e4b..0f1e8d7d4a 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Create.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Create.php @@ -53,6 +53,7 @@ class Create extends Action ->label('audits.resource', 'site/{request.siteId}') ->label('sdk', new Method( namespace: 'sites', + group: 'deployments', name: 'createDeployment', description: <<<EOT Create a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the function's deployment to use your new deployment ID. diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Delete.php b/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Delete.php index 9d30b21a11..27db10c484 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Delete.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Delete.php @@ -41,6 +41,7 @@ class Delete extends Action ->label('audits.resource', 'site/{request.siteId}') ->label('sdk', new Method( namespace: 'sites', + group: 'deployments', name: 'deleteDeployment', description: <<<EOT Delete a site deployment by its unique ID. diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Download/Get.php b/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Download/Get.php index 77301a2aa1..e83af0bab6 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Download/Get.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Download/Get.php @@ -31,12 +31,13 @@ class Get extends Action $this ->setHttpMethod(Action::HTTP_REQUEST_METHOD_GET) ->setHttpPath('/v1/sites/:siteId/deployments/:deploymentId/download') - ->desc('Download deployment') + ->desc('Get deployment download') ->groups(['api', 'sites']) ->label('scope', 'sites.read') ->label('resourceType', RESOURCE_TYPE_SITES) ->label('sdk', new Method( namespace: 'sites', + group: 'deployments', name: 'getDeploymentDownload', description: <<<EOT Get a site deployment content by its unique ID. The endpoint response return with a 'Content-Disposition: attachment' header that tells the browser to start downloading the file to user downloads directory. diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Duplicate/Create.php b/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Duplicate/Create.php index 1b3b08b7e3..14ace4cd24 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Duplicate/Create.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Duplicate/Create.php @@ -41,6 +41,7 @@ class Create extends Action ->label('audits.resource', 'site/{request.siteId}') ->label('sdk', new Method( namespace: 'sites', + group: 'deployments', name: 'createDuplicateDeployment', description: <<<EOT Create a new build for an existing site deployment. This endpoint allows you to rebuild a deployment with the updated site configuration, including its commands and output directory if they have been modified. The build process will be queued and executed asynchronously. The original deployment's code will be preserved and used for the new build. diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Get.php b/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Get.php index 68a5b2619a..d280231159 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Get.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Get.php @@ -32,6 +32,7 @@ class Get extends Action ->label('resourceType', RESOURCE_TYPE_SITES) ->label('sdk', new Method( namespace: 'sites', + group: 'deployments', name: 'getDeployment', description: <<<EOT Get a site deployment by its unique ID. diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Status/Update.php b/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Status/Update.php index 7aade4e7ff..64a9b0426a 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Status/Update.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Status/Update.php @@ -37,6 +37,7 @@ class Update extends Action ->label('audits.resource', 'site/{request.siteId}') ->label('sdk', new Method( namespace: 'sites', + group: 'deployments', name: 'updateDeploymentStatus', description: <<<EOT Cancel an ongoing site deployment build. If the build is already in progress, it will be stopped and marked as canceled. If the build hasn't started yet, it will be marked as canceled without executing. You cannot cancel builds that have already completed (status 'ready') or failed. The response includes the final build status and details. diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Template/Create.php b/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Template/Create.php index f70455c466..095525ac1d 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Template/Create.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Template/Create.php @@ -48,6 +48,7 @@ class Create extends Base ->label('audits.resource', 'site/{request.siteId}') ->label('sdk', new Method( namespace: 'sites', + group: 'deployments', name: 'createTemplateDeployment', description: <<<EOT Create a deployment based on a template. diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Vcs/Create.php b/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Vcs/Create.php index b0585a27db..eb6fdf4094 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Vcs/Create.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Vcs/Create.php @@ -44,6 +44,7 @@ class Create extends Base ->label('audits.resource', 'site/{request.siteId}') ->label('sdk', new Method( namespace: 'sites', + group: 'deployments', name: 'createVcsDeployment', description: <<<EOT Create a deployment when a site is connected to VCS. diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Deployments/XList.php b/src/Appwrite/Platform/Modules/Sites/Http/Deployments/XList.php index e041554132..d7cfc1d3ad 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Deployments/XList.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Deployments/XList.php @@ -10,6 +10,7 @@ use Appwrite\Utopia\Database\Validator\Queries\Deployments; use Appwrite\Utopia\Response; use Utopia\Database\Database; use Utopia\Database\Document; +use Utopia\Database\Exception\Order as OrderException; use Utopia\Database\Exception\Query as QueryException; use Utopia\Database\Query; use Utopia\Database\Validator\Query\Cursor; @@ -38,6 +39,7 @@ class XList extends Action ->label('resourceType', RESOURCE_TYPE_SITES) ->label('sdk', new Method( namespace: 'sites', + group: 'deployments', name: 'listDeployments', description: <<<EOT Get a list of all the site's code deployments. You can use the query params to filter your results. @@ -107,8 +109,12 @@ class XList extends Action $filterQueries = Query::groupByType($queries)['filters']; - $results = $dbForProject->find('deployments', $queries); - $total = $dbForProject->count('deployments', $filterQueries, APP_LIMIT_COUNT); + try { + $results = $dbForProject->find('deployments', $queries); + $total = $dbForProject->count('deployments', $filterQueries, APP_LIMIT_COUNT); + } catch (OrderException $e) { + throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order attribute '{$e->getAttribute()}' had a null value. Cursor pagination requires all documents order attribute values are non-null."); + } $response->dynamic(new Document([ 'deployments' => $results, diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Frameworks/XList.php b/src/Appwrite/Platform/Modules/Sites/Http/Frameworks/XList.php index 6317ef7514..cf2bb8c62b 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Frameworks/XList.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Frameworks/XList.php @@ -32,6 +32,7 @@ class XList extends Base ->label('resourceType', RESOURCE_TYPE_SITES) ->label('sdk', new Method( namespace: 'sites', + group: 'frameworks', name: 'listFrameworks', description: <<<EOT Get a list of all frameworks that are currently available on the server instance. diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Logs/Delete.php b/src/Appwrite/Platform/Modules/Sites/Http/Logs/Delete.php index da13984adc..a411cee91f 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Logs/Delete.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Logs/Delete.php @@ -37,6 +37,7 @@ class Delete extends Base ->label('audits.resource', 'site/{request.siteId}') ->label('sdk', new Method( namespace: 'sites', + group: 'logs', name: 'deleteLog', description: <<<EOT Delete a site log by its unique ID. diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Logs/Get.php b/src/Appwrite/Platform/Modules/Sites/Http/Logs/Get.php index f640c164cc..3d1ace2d20 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Logs/Get.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Logs/Get.php @@ -33,6 +33,7 @@ class Get extends Base ->label('resourceType', RESOURCE_TYPE_SITES) ->label('sdk', new Method( namespace: 'sites', + group: 'logs', name: 'getLog', description: <<<EOT Get a site request log by its unique ID. diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Logs/XList.php b/src/Appwrite/Platform/Modules/Sites/Http/Logs/XList.php index 8a9630b28b..a873d32603 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Logs/XList.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Logs/XList.php @@ -12,6 +12,7 @@ use Appwrite\Utopia\Database\Validator\Queries\Logs; use Appwrite\Utopia\Response; use Utopia\Database\Database; use Utopia\Database\Document; +use Utopia\Database\Exception\Order as OrderException; use Utopia\Database\Exception\Query as QueryException; use Utopia\Database\Query; use Utopia\Database\Validator\Query\Cursor; @@ -39,6 +40,7 @@ class XList extends Base ->label('resourceType', RESOURCE_TYPE_SITES) ->label('sdk', new Method( namespace: 'sites', + group: 'logs', name: 'listLogs', description: <<<EOT Get a list of all site logs. You can use the query params to filter your results. @@ -103,8 +105,12 @@ class XList extends Base $filterQueries = Query::groupByType($queries)['filters']; - $results = $dbForProject->find('executions', $queries); - $total = $dbForProject->count('executions', $filterQueries, APP_LIMIT_COUNT); + try { + $results = $dbForProject->find('executions', $queries); + $total = $dbForProject->count('executions', $filterQueries, APP_LIMIT_COUNT); + } catch (OrderException $e) { + throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order attribute '{$e->getAttribute()}' had a null value. Cursor pagination requires all documents order attribute values are non-null."); + } $response->dynamic(new Document([ 'executions' => $results, diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Sites/Create.php b/src/Appwrite/Platform/Modules/Sites/Http/Sites/Create.php index c91ec449be..561cba0806 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Sites/Create.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Sites/Create.php @@ -49,6 +49,7 @@ class Create extends Base ->label('audits.resource', 'site/{response.$id}') ->label('sdk', new Method( namespace: 'sites', + group: 'sites', name: 'create', description: <<<EOT Create a new site. diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Sites/Delete.php b/src/Appwrite/Platform/Modules/Sites/Http/Sites/Delete.php index 68573d6674..37666215e5 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Sites/Delete.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Sites/Delete.php @@ -39,6 +39,7 @@ class Delete extends Base ->label('audits.resource', 'site/{request.siteId}') ->label('sdk', new Method( namespace: 'sites', + group: 'sites', name: 'delete', description: <<<EOT Delete a site by its unique ID. diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Sites/Deployment/Update.php b/src/Appwrite/Platform/Modules/Sites/Http/Sites/Deployment/Update.php index 7cfe1a50a2..7f1681c0f1 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Sites/Deployment/Update.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Sites/Deployment/Update.php @@ -39,6 +39,7 @@ class Update extends Base ->label('audits.resource', 'site/{request.siteId}') ->label('sdk', new Method( namespace: 'sites', + group: 'sites', name: 'updateSiteDeployment', description: <<<EOT Update the site active deployment. Use this endpoint to switch the code deployment that should be used when visitor opens your site. diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Sites/Get.php b/src/Appwrite/Platform/Modules/Sites/Http/Sites/Get.php index 103ab3f751..88ff5f1d51 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Sites/Get.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Sites/Get.php @@ -33,6 +33,7 @@ class Get extends Base ->label('resourceType', RESOURCE_TYPE_SITES) ->label('sdk', new Method( namespace: 'sites', + group: 'sites', name: 'get', description: <<<EOT Get a site by its unique ID. diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Sites/Update.php b/src/Appwrite/Platform/Modules/Sites/Http/Sites/Update.php index de220e174c..f2890efee8 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Sites/Update.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Sites/Update.php @@ -53,6 +53,7 @@ class Update extends Base ->label('audits.resource', 'site/{response.$id}') ->label('sdk', new Method( namespace: 'sites', + group: 'sites', name: 'update', description: <<<EOT Update site by its unique ID. diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Sites/XList.php b/src/Appwrite/Platform/Modules/Sites/Http/Sites/XList.php index 3237eba0be..0a3b257f59 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Sites/XList.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Sites/XList.php @@ -11,6 +11,7 @@ use Appwrite\Utopia\Database\Validator\Queries\Sites; use Appwrite\Utopia\Response; use Utopia\Database\Database; use Utopia\Database\Document; +use Utopia\Database\Exception\Order as OrderException; use Utopia\Database\Exception\Query as QueryException; use Utopia\Database\Query; use Utopia\Database\Validator\Query\Cursor; @@ -38,6 +39,7 @@ class XList extends Base ->label('resourceType', RESOURCE_TYPE_SITES) ->label('sdk', new Method( namespace: 'sites', + group: 'sites', name: 'list', description: <<<EOT Get a list of all the project's sites. You can use the query params to filter your results. @@ -96,9 +98,16 @@ class XList extends Base $filterQueries = Query::groupByType($queries)['filters']; + try { + $sites = $dbForProject->find('sites', $queries); + $total = $dbForProject->count('sites', $filterQueries, APP_LIMIT_COUNT); + } catch (OrderException $e) { + throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order attribute '{$e->getAttribute()}' had a null value. Cursor pagination requires all documents order attribute values are non-null."); + } + $response->dynamic(new Document([ - 'sites' => $dbForProject->find('sites', $queries), - 'total' => $dbForProject->count('sites', $filterQueries, APP_LIMIT_COUNT), + 'sites' => $sites, + 'total' => $total, ]), Response::MODEL_SITE_LIST); } } diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Specifications/XList.php b/src/Appwrite/Platform/Modules/Sites/Http/Specifications/XList.php index 63ee7bec10..b3c36521bf 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Specifications/XList.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Specifications/XList.php @@ -33,6 +33,7 @@ class XList extends Base ->label('resourceType', RESOURCE_TYPE_SITES) ->label('sdk', new Method( namespace: 'sites', + group: 'frameworks', name: 'listSpecifications', description: <<<EOT List allowed site specifications for this instance. diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Templates/Get.php b/src/Appwrite/Platform/Modules/Sites/Http/Templates/Get.php index 25183d768a..a4066fb787 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Templates/Get.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Templates/Get.php @@ -34,6 +34,7 @@ class Get extends Base ->label('resourceType', RESOURCE_TYPE_SITES) ->label('sdk', new Method( namespace: 'sites', + group: 'templates', name: 'getTemplate', description: <<<EOT Get a site template using ID. You can use template details in [createSite](/docs/references/cloud/server-nodejs/sites#create) method. diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Templates/XList.php b/src/Appwrite/Platform/Modules/Sites/Http/Templates/XList.php index e73f89d726..414ecc9987 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Templates/XList.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Templates/XList.php @@ -35,6 +35,7 @@ class XList extends Base ->label('resourceType', RESOURCE_TYPE_SITES) ->label('sdk', new Method( namespace: 'sites', + group: 'templates', name: 'listTemplates', description: <<<EOT List available site templates. You can use template details in [createSite](/docs/references/cloud/server-nodejs/sites#create) method. diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Usage/Get.php b/src/Appwrite/Platform/Modules/Sites/Http/Usage/Get.php index 158674aeba..8bf19a9c28 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Usage/Get.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Usage/Get.php @@ -38,6 +38,7 @@ class Get extends Base ->label('resourceType', RESOURCE_TYPE_SITES) ->label('sdk', new Method( namespace: 'sites', + group: null, name: 'getUsage', description: <<<EOT Get usage metrics and statistics for a for a specific site. View statistics including total deployments, builds, executions, storage usage, and compute time. The response includes both current totals and historical data for each metric. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, defaults to 30 days. diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Usage/XList.php b/src/Appwrite/Platform/Modules/Sites/Http/Usage/XList.php index 6f830b665e..e37d3e792e 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Usage/XList.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Usage/XList.php @@ -36,6 +36,7 @@ class XList extends Base ->label('resourceType', RESOURCE_TYPE_SITES) ->label('sdk', new Method( namespace: 'sites', + group: null, name: 'listUsage', description: <<<EOT Get usage metrics and statistics for all sites in the project. View statistics including total deployments, builds, logs, storage usage, and compute time. The response includes both current totals and historical data for each metric. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, defaults to 30 days. diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Variables/Create.php b/src/Appwrite/Platform/Modules/Sites/Http/Variables/Create.php index 13e7f80513..ff1a5c50ec 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Variables/Create.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Variables/Create.php @@ -42,6 +42,7 @@ class Create extends Base ->label('audits.resource', 'site/{request.siteId}') ->label('sdk', new Method( namespace: 'sites', + group: 'variables', name: 'createVariable', description: <<<EOT Create a new site variable. These variables can be accessed during build and runtime (server-side rendering) as environment variables. diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Variables/Delete.php b/src/Appwrite/Platform/Modules/Sites/Http/Variables/Delete.php index 458a34438e..e4594a7c3d 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Variables/Delete.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Variables/Delete.php @@ -36,6 +36,7 @@ class Delete extends Base ->label('audits.resource', 'site/{request.siteId}') ->label('sdk', new Method( namespace: 'sites', + group: 'variables', name: 'deleteVariable', description: <<<EOT Delete a variable by its unique ID. diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Variables/Get.php b/src/Appwrite/Platform/Modules/Sites/Http/Variables/Get.php index 1e56cc5b15..a14129d432 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Variables/Get.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Variables/Get.php @@ -35,6 +35,7 @@ class Get extends Base 'sdk', new Method( namespace: 'sites', + group: 'variables', name: 'getVariable', description: <<<EOT Get a variable by its unique ID. diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Variables/Update.php b/src/Appwrite/Platform/Modules/Sites/Http/Variables/Update.php index fa37432b5c..cd438a0ebb 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Variables/Update.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Variables/Update.php @@ -38,6 +38,7 @@ class Update extends Base ->label('resourceType', RESOURCE_TYPE_SITES) ->label('sdk', new Method( namespace: 'sites', + group: 'variables', name: 'updateVariable', description: <<<EOT Update variable by its unique ID. diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Variables/XList.php b/src/Appwrite/Platform/Modules/Sites/Http/Variables/XList.php index 2cc3fe8e54..15e21296a5 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Variables/XList.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Variables/XList.php @@ -36,6 +36,7 @@ class XList extends Base 'sdk', new Method( namespace: 'sites', + group: 'variables', name: 'listVariables', description: <<<EOT Get a list of all variables of a specific site. diff --git a/src/Appwrite/Platform/Modules/Storage/Http/Tokens/Buckets/Files/Create.php b/src/Appwrite/Platform/Modules/Storage/Http/Tokens/Buckets/Files/Create.php index c68573f79f..4529de7928 100644 --- a/src/Appwrite/Platform/Modules/Storage/Http/Tokens/Buckets/Files/Create.php +++ b/src/Appwrite/Platform/Modules/Storage/Http/Tokens/Buckets/Files/Create.php @@ -46,6 +46,7 @@ class Create extends Action ->label('abuse-time', APP_LIMIT_WRITE_RATE_PERIOD_DEFAULT) ->label('sdk', new Method( namespace: 'tokens', + group: 'files', name: 'createFileToken', description: <<<EOT Create a new token. A token is linked to a file or a bucket and manages permissions for those file(s). Token can be passed as a header or request get parameter. diff --git a/src/Appwrite/Platform/Modules/Storage/Http/Tokens/Buckets/Files/XList.php b/src/Appwrite/Platform/Modules/Storage/Http/Tokens/Buckets/Files/XList.php index 3b98c063e1..b9da122ef0 100644 --- a/src/Appwrite/Platform/Modules/Storage/Http/Tokens/Buckets/Files/XList.php +++ b/src/Appwrite/Platform/Modules/Storage/Http/Tokens/Buckets/Files/XList.php @@ -36,6 +36,7 @@ class XList extends Action ->label('usage.metric', 'tokens.requests.read') ->label('sdk', new Method( namespace: 'tokens', + group: 'files', name: 'list', description: <<<EOT List all the tokens created for a specific file or bucket. You can use the query params to filter your results. diff --git a/src/Appwrite/Platform/Modules/Storage/Http/Tokens/Delete.php b/src/Appwrite/Platform/Modules/Storage/Http/Tokens/Delete.php index bde45b8e1f..0e413b5e4d 100644 --- a/src/Appwrite/Platform/Modules/Storage/Http/Tokens/Delete.php +++ b/src/Appwrite/Platform/Modules/Storage/Http/Tokens/Delete.php @@ -40,6 +40,7 @@ class Delete extends Action ->label('abuse-time', APP_LIMIT_WRITE_RATE_PERIOD_DEFAULT) ->label('sdk', new Method( namespace: 'tokens', + group: 'tokens', name: 'delete', description: <<<EOT Delete a token by its unique ID. diff --git a/src/Appwrite/Platform/Modules/Storage/Http/Tokens/Get.php b/src/Appwrite/Platform/Modules/Storage/Http/Tokens/Get.php index 2d920a5ea9..605ea13960 100644 --- a/src/Appwrite/Platform/Modules/Storage/Http/Tokens/Get.php +++ b/src/Appwrite/Platform/Modules/Storage/Http/Tokens/Get.php @@ -33,6 +33,7 @@ class Get extends Action ->label('usage.params', ['tokenId:{request.tokenId}']) ->label('sdk', new Method( namespace: 'tokens', + group: 'tokens', name: 'get', description: <<<EOT Get a token by its unique ID. diff --git a/src/Appwrite/Platform/Modules/Storage/Http/Tokens/JWT/Get.php b/src/Appwrite/Platform/Modules/Storage/Http/Tokens/JWT/Get.php index f209908878..143be08e96 100644 --- a/src/Appwrite/Platform/Modules/Storage/Http/Tokens/JWT/Get.php +++ b/src/Appwrite/Platform/Modules/Storage/Http/Tokens/JWT/Get.php @@ -36,6 +36,7 @@ class Get extends Action ->label('usage.params', ['tokenId:{request.tokenId}']) ->label('sdk', new Method( namespace: 'tokens', + group: 'tokens', name: 'getJWT', description: <<<EOT Get a JWT based token by its unique ID. You can use the JWT to authenticate on behalf of the user. diff --git a/src/Appwrite/Platform/Modules/Storage/Http/Tokens/Update.php b/src/Appwrite/Platform/Modules/Storage/Http/Tokens/Update.php index fbf9a40996..742f059470 100644 --- a/src/Appwrite/Platform/Modules/Storage/Http/Tokens/Update.php +++ b/src/Appwrite/Platform/Modules/Storage/Http/Tokens/Update.php @@ -47,6 +47,7 @@ class Update extends Action ->label('abuse-time', APP_LIMIT_WRITE_RATE_PERIOD_DEFAULT) ->label('sdk', new Method( namespace: 'tokens', + group: 'tokens', name: 'update', description: <<<EOT Update a token by its unique ID. Use this endpoint to update a token's expiry date or permissions. diff --git a/src/Appwrite/Platform/Services/Workers.php b/src/Appwrite/Platform/Services/Workers.php index 5753170082..e22f402145 100644 --- a/src/Appwrite/Platform/Services/Workers.php +++ b/src/Appwrite/Platform/Services/Workers.php @@ -12,7 +12,6 @@ use Appwrite\Platform\Workers\Messaging; use Appwrite\Platform\Workers\Migrations; use Appwrite\Platform\Workers\StatsResources; use Appwrite\Platform\Workers\StatsUsage; -use Appwrite\Platform\Workers\StatsUsageDump; use Appwrite\Platform\Workers\Webhooks; use Utopia\Platform\Service; @@ -30,7 +29,6 @@ class Workers extends Service ->addAction(Mails::getName(), new Mails()) ->addAction(Messaging::getName(), new Messaging()) ->addAction(Webhooks::getName(), new Webhooks()) - ->addAction(StatsUsageDump::getName(), new StatsUsageDump()) ->addAction(StatsUsage::getName(), new StatsUsage()) ->addAction(Migrations::getName(), new Migrations()) ->addAction(StatsResources::getName(), new StatsResources()) diff --git a/src/Appwrite/Platform/Tasks/Maintenance.php b/src/Appwrite/Platform/Tasks/Maintenance.php index 198b701044..2c7bcff7e3 100644 --- a/src/Appwrite/Platform/Tasks/Maintenance.php +++ b/src/Appwrite/Platform/Tasks/Maintenance.php @@ -47,15 +47,20 @@ class Maintenance extends Action Console::info("[{$time}] Notifying workers with maintenance tasks every {$interval} seconds"); - $dbForPlatform->foreach('projects', function (Document $project) use ($queueForDeletes, $usageStatsRetentionHourly) { - $queueForDeletes - ->setType(DELETE_TYPE_MAINTENANCE) - ->setProject($project) - ->setUsageRetentionHourlyDateTime(DateTime::addSeconds(new \DateTime(), -1 * $usageStatsRetentionHourly)) - ->trigger(); - }, [ - Query::limit(100), - ]); + $dbForPlatform->foreach( + 'projects', + function (Document $project) use ($queueForDeletes, $usageStatsRetentionHourly) { + $queueForDeletes + ->setType(DELETE_TYPE_MAINTENANCE) + ->setProject($project) + ->setUsageRetentionHourlyDateTime(DateTime::addSeconds(new \DateTime(), -1 * $usageStatsRetentionHourly)) + ->trigger(); + }, + [ + Query::equal('region', [System::getEnv('_APP_REGION', 'default')]), + Query::limit(100), + ] + ); $queueForDeletes ->setType(DELETE_TYPE_MAINTENANCE) diff --git a/src/Appwrite/Platform/Tasks/Screenshot.php b/src/Appwrite/Platform/Tasks/Screenshot.php index 79593ab39b..3a9c9a64f5 100644 --- a/src/Appwrite/Platform/Tasks/Screenshot.php +++ b/src/Appwrite/Platform/Tasks/Screenshot.php @@ -224,8 +224,12 @@ class Screenshot extends Action $idLight = ''; $idDark = ''; - if ($templateId === 'starter-for-react-native') { - Console::warning("React Native template takes long to build, increasing waiting time ..."); + $slowTemplates = [ + 'starter-for-react-native', + 'playground-for-react-native' + ]; + if (\in_array($templateId, $slowTemplates)) { + Console::warning("Build for this template is slow, increasing waiting time ..."); $attempts = 180; // 15 min } diff --git a/src/Appwrite/Platform/Tasks/Specs.php b/src/Appwrite/Platform/Tasks/Specs.php index 1db018ce9d..73c445eaaf 100644 --- a/src/Appwrite/Platform/Tasks/Specs.php +++ b/src/Appwrite/Platform/Tasks/Specs.php @@ -290,6 +290,7 @@ class Specs extends Action ->setParam('name', APP_NAME) ->setParam('description', 'Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs)') ->setParam('endpoint', 'https://cloud.appwrite.io/v1') + ->setParam('endpoint.docs', 'https://<REGION>.cloud.appwrite.io/v1') ->setParam('version', APP_VERSION_STABLE) ->setParam('terms', $endpoint . '/policy/terms') ->setParam('support.email', $email) diff --git a/src/Appwrite/Platform/Tasks/StatsResources.php b/src/Appwrite/Platform/Tasks/StatsResources.php index ac3b9ead73..ca2a6860ff 100644 --- a/src/Appwrite/Platform/Tasks/StatsResources.php +++ b/src/Appwrite/Platform/Tasks/StatsResources.php @@ -67,7 +67,8 @@ class StatsResources extends Action * For each project that were accessed in last 24 hours */ $this->foreachDocument($this->dbForPlatform, 'projects', [ - Query::greaterThanEqual('accessedAt', DateTime::format($last24Hours)) + Query::greaterThanEqual('accessedAt', DateTime::format($last24Hours)), + Query::equal('region', [System::getEnv('_APP_REGION', 'default')]) ], function ($project) use ($queue) { $queue ->setProject($project) diff --git a/src/Appwrite/Platform/Workers/Databases.php b/src/Appwrite/Platform/Workers/Databases.php index 91d4681340..b2691b420e 100644 --- a/src/Appwrite/Platform/Workers/Databases.php +++ b/src/Appwrite/Platform/Workers/Databases.php @@ -570,22 +570,19 @@ class Databases extends Action $start = \microtime(true); try { - $documents = $database->deleteDocuments($collectionId, $queries); + $count = $database->deleteDocuments( + $collectionId, + $queries, + Database::DELETE_BATCH_SIZE, + $callback + ); } catch (\Throwable $th) { $tenant = $database->getSharedTables() ? 'Tenant:'.$database->getTenant() : ''; Console::error("Failed to delete documents for collection:{$database->getNamespace()}_{$collectionId} {$tenant} :{$th->getMessage()}"); return; } - if (\is_callable($callback)) { - foreach ($documents as $document) { - $callback($document); - } - } - $end = \microtime(true); - $count = \count($documents); - Console::info("Deleted {$count} documents by group in " . ($end - $start) . " seconds"); } diff --git a/src/Appwrite/Platform/Workers/Deletes.php b/src/Appwrite/Platform/Workers/Deletes.php index 89e7a61b6c..7076d33a64 100644 --- a/src/Appwrite/Platform/Workers/Deletes.php +++ b/src/Appwrite/Platform/Workers/Deletes.php @@ -511,21 +511,22 @@ class Deletes extends Action } /** - * @param Database $dbForPlatform - * @param Document $document - * @return void - * @throws Authorization - * @throws DatabaseException - * @throws Conflict - * @throws Restricted - * @throws Structure - * @throws Exception - */ - private function deleteProjectsByTeam(Database $dbForPlatform, callable $getProjectDB, CertificatesAdapter $certificates, Document $document): void + * @param Database $dbForPlatform + * @param Document $document + * @return void + * @throws Authorization + * @throws DatabaseException + * @throws Conflict + * @throws Restricted + * @throws Structure + * @throws Exception + */ + protected function deleteProjectsByTeam(Database $dbForPlatform, callable $getProjectDB, CertificatesAdapter $certificates, Document $document): void { $projects = $dbForPlatform->find('projects', [ - Query::equal('teamInternalId', [$document->getInternalId()]) + Query::equal('teamInternalId', [$document->getInternalId()]), + Query::equal('region', [System::getEnv('_APP_REGION', 'default')]) ]); foreach ($projects as $project) { @@ -1205,24 +1206,20 @@ class Deletes extends Action /** * deleteDocuments uses a cursor, we need to add a unique order by field or use default */ - try { - $documents = $database->deleteDocuments($collection, $queries); + $count = $database->deleteDocuments( + $collection, + $queries, + Database::DELETE_BATCH_SIZE, + $callback + ); } catch (Throwable $th) { $tenant = $database->getSharedTables() ? 'Tenant:'.$database->getTenant() : ''; Console::error("Failed to delete documents for collection:{$database->getNamespace()}_{$collection} {$tenant} :{$th->getMessage()}"); return; } - if (\is_callable($callback)) { - foreach ($documents as $document) { - $callback($document); - } - } - $end = \microtime(true); - $count = \count($documents); - Console::info("Deleted {$count} documents by group in " . ($end - $start) . " seconds"); } diff --git a/src/Appwrite/Platform/Workers/StatsResources.php b/src/Appwrite/Platform/Workers/StatsResources.php index 8b7c6df1ca..19d1223d95 100644 --- a/src/Appwrite/Platform/Workers/StatsResources.php +++ b/src/Appwrite/Platform/Workers/StatsResources.php @@ -70,7 +70,6 @@ class StatsResources extends Action } if (empty($project->getAttribute('database'))) { - var_dump($payload); return; } diff --git a/src/Appwrite/Platform/Workers/StatsUsage.php b/src/Appwrite/Platform/Workers/StatsUsage.php index b4f54db285..07131593e2 100644 --- a/src/Appwrite/Platform/Workers/StatsUsage.php +++ b/src/Appwrite/Platform/Workers/StatsUsage.php @@ -2,17 +2,22 @@ namespace Appwrite\Platform\Workers; -use Appwrite\Event\StatsUsageDump; use Exception; +use Throwable; use Utopia\CLI\Console; +use Utopia\Database\Database; use Utopia\Database\DateTime; use Utopia\Database\Document; use Utopia\Platform\Action; use Utopia\Queue\Message; +use Utopia\Registry\Registry; use Utopia\System\System; class StatsUsage extends Action { + /** + * In memory per project metrics calculation + */ private array $stats = []; private int $lastTriggeredTime = 0; private int $keys = 0; @@ -20,6 +25,77 @@ class StatsUsage extends Action private const BATCH_SIZE_DEVELOPMENT = 1; private const BATCH_SIZE_PRODUCTION = 10_000; + /** + * Stats for batch write separated per project + * @var array + */ + private array $projects = []; + + /** + * Array of stat documents to batch write to logsDB + * @var array + */ + private array $statDocuments = []; + + protected Registry $register; + + /** + * Metrics to skip writing to logsDB + * As these metrics are calculated separately + * by logs DB + * @var array + */ + protected array $skipBaseMetrics = [ + METRIC_DATABASES => true, + METRIC_BUCKETS => true, + METRIC_USERS => true, + METRIC_FUNCTIONS => true, + METRIC_TEAMS => true, + METRIC_MESSAGES => true, + METRIC_MAU => true, + METRIC_WEBHOOKS => true, + METRIC_PLATFORMS => true, + METRIC_PROVIDERS => true, + METRIC_TOPICS => true, + METRIC_KEYS => true, + METRIC_FILES => true, + METRIC_FILES_STORAGE => true, + METRIC_DEPLOYMENTS_STORAGE => true, + METRIC_BUILDS_STORAGE => true, + METRIC_DEPLOYMENTS => true, + METRIC_BUILDS => true, + METRIC_COLLECTIONS => true, + METRIC_DOCUMENTS => true, + METRIC_DATABASES_STORAGE => true, + ]; + + /** + * Skip metrics associated with parent IDs + * these need to be checked individually with `str_ends_with` + */ + protected array $skipParentIdMetrics = [ + '.files', + '.files.storage', + '.collections', + '.documents', + '.deployments', + '.deployments.storage', + '.builds', + '.builds.storage', + '.databases.storage' + ]; + + /** + * @var callable(): Database + */ + protected mixed $getLogsDB; + + protected array $periods = [ + '1h' => 'Y-m-d H:00', + '1d' => 'Y-m-d 00:00', + 'inf' => '0000-00-00 00:00' + ]; + public static function getName(): string { return 'stats-usage'; @@ -41,7 +117,8 @@ class StatsUsage extends Action ->desc('Stats usage worker') ->inject('message') ->inject('getProjectDB') - ->inject('queueForStatsUsageDump') + ->inject('getLogsDB') + ->inject('register') ->callback([$this, 'action']); $this->lastTriggeredTime = time(); @@ -49,14 +126,17 @@ class StatsUsage extends Action /** * @param Message $message - * @param callable $getProjectDB - * @param StatsUsageDump $queueForStatsUsageDump + * @param callable(): Database $getProjectDB + * @param callable(): Database $getLogsDB + * @param Registry $register * @return void * @throws \Utopia\Database\Exception * @throws Exception */ - public function action(Message $message, callable $getProjectDB, StatsUsageDump $queueForStatsUsageDump): void + public function action(Message $message, callable $getProjectDB, callable $getLogsDB, Registry $register): void { + $this->getLogsDB = $getLogsDB; + $this->register = $register; $payload = $message->getPayload() ?? []; if (empty($payload)) { throw new Exception('Missing payload'); @@ -98,9 +178,7 @@ class StatsUsage extends Action ) { Console::warning('[' . DateTime::now() . '] Aggregated ' . $this->keys . ' keys'); - $queueForStatsUsageDump - ->setStats($this->stats) - ->trigger(); + $this->commitToDB($getProjectDB); $this->stats = []; $this->keys = 0; @@ -114,7 +192,7 @@ class StatsUsage extends Action * @param Document $project * @param Document $document * @param array $metrics - * @param callable $getProjectDB + * @param callable(): Database $getProjectDB * @return void */ private function reduce(Document $project, Document $document, array &$metrics, callable $getProjectDB): void @@ -278,8 +356,128 @@ class StatsUsage extends Action default: break; } - } catch (\Throwable $e) { + } catch (Throwable $e) { console::error("[reducer] " . " {DateTime::now()} " . " {$project->getInternalId()} " . " {$e->getMessage()}"); } } + + /** + * Commit stats to DB + * @param callable(): Database $getProjectDB + * @return void + */ + public function commitToDb(callable $getProjectDB): void + { + foreach ($this->stats as $stats) { + $project = $stats['project'] ?? new Document([]); + $numberOfKeys = !empty($stats['keys']) ? count($stats['keys']) : 0; + $receivedAt = $stats['receivedAt'] ?? null; + if ($numberOfKeys === 0) { + continue; + } + + console::log('['.DateTime::now().'] Id: '.$project->getId(). ' InternalId: '.$project->getInternalId(). ' Db: '.$project->getAttribute('database').' ReceivedAt: '.$receivedAt. ' Keys: '.$numberOfKeys); + + try { + foreach ($stats['keys'] ?? [] as $key => $value) { + if ($value == 0) { + continue; + } + + foreach ($this->periods as $period => $format) { + $time = null; + + if ($period !== 'inf') { + $time = !empty($receivedAt) ? (new \DateTime($receivedAt))->format($format) : date($format, time()); + } + $id = \md5("{$time}_{$period}_{$key}"); + + $document = new Document([ + '$id' => $id, + 'period' => $period, + 'time' => $time, + 'metric' => $key, + 'value' => $value, + 'region' => System::getEnv('_APP_REGION', 'default'), + ]); + + + $this->projects[$project->getInternalId()]['project'] = new Document([ + '$id' => $project->getId(), + '$internalId' => $project->getInternalId(), + 'database' => $project->getAttribute('database'), + ]); + $this->projects[$project->getInternalId()]['stats'][] = $document; + + $this->prepareForLogsDB($project, $document); + } + } + } catch (Exception $e) { + console::error('[' . DateTime::now() . '] project [' . $project->getInternalId() . '] database [' . $project['database'] . '] ' . ' ' . $e->getMessage()); + } + } + + foreach ($this->projects as $internalId => $projectStats) { + if (empty($internalId)) { + continue; + } + try { + $dbForProject = $getProjectDB($projectStats['project']); + Console::log('Processing batch with ' . count($projectStats['stats']) . ' stats'); + $dbForProject->createOrUpdateDocumentsWithIncrease('stats', 'value', $projectStats['stats']); + Console::success('Batch successfully written to DB'); + + unset($this->projects[$internalId]); + } catch (Throwable $e) { + Console::error('Error processing stats: ' . $e->getMessage()); + } + } + + $this->writeToLogsDB(); + + } + + protected function prepareForLogsDB(Document $project, Document $stat) + { + if (System::getEnv('_APP_STATS_USAGE_DUAL_WRITING', 'disabled') === 'disabled') { + return; + } + if (array_key_exists($stat->getAttribute('metric'), $this->skipBaseMetrics)) { + return; + } + foreach ($this->skipParentIdMetrics as $skipMetric) { + if (str_ends_with($stat->getAttribute('metric'), $skipMetric)) { + return; + } + } + $documentClone = clone $stat; + $documentClone->setAttribute('$tenant', (int) $project->getInternalId()); + $this->statDocuments[] = $documentClone; + } + + protected function writeToLogsDB(): void + { + if (System::getEnv('_APP_STATS_USAGE_DUAL_WRITING', 'disabled') === 'disabled') { + Console::log('Dual Writing is disabled. Skipping...'); + return; + } + + $dbForLogs = call_user_func($this->getLogsDB); + $dbForLogs + ->setTenant(null) + ->setTenantPerDocument(true); + + try { + Console::log('Processing batch with ' . count($this->statDocuments) . ' stats'); + $dbForLogs->createOrUpdateDocumentsWithIncrease( + 'stats', + 'value', + $this->statDocuments + ); + Console::success('Usage logs pushed to Logs DB'); + } catch (Throwable $th) { + Console::error($th->getMessage()); + } + $this->register->get('pools')->get('logs')->reclaim(); + } } diff --git a/src/Appwrite/Platform/Workers/StatsUsageDump.php b/src/Appwrite/Platform/Workers/StatsUsageDump.php index 119a9e7288..b9d486e0d8 100644 --- a/src/Appwrite/Platform/Workers/StatsUsageDump.php +++ b/src/Appwrite/Platform/Workers/StatsUsageDump.php @@ -4,7 +4,6 @@ namespace Appwrite\Platform\Workers; use Appwrite\Extend\Exception; use Utopia\CLI\Console; -use Utopia\Database\Database; use Utopia\Database\DateTime; use Utopia\Database\Document; use Utopia\Platform\Action; @@ -12,6 +11,9 @@ use Utopia\Queue\Message; use Utopia\Registry\Registry; use Utopia\System\System; +/** + * TODO remove later + */ class StatsUsageDump extends Action { public const METRIC_COLLECTION_LEVEL_STORAGE = 4; @@ -135,11 +137,6 @@ class StatsUsageDump extends Action } if (str_contains($key, METRIC_DATABASES_STORAGE)) { - try { - $this->handleDatabaseStorage($key, $dbForProject, $project, $receivedAt); - } catch (\Exception $e) { - console::error('[' . DateTime::now() . '] failed to calculate database storage for key [' . $key . '] ' . $e->getMessage()); - } continue; } @@ -160,7 +157,7 @@ class StatsUsageDump extends Action 'region' => System::getEnv('_APP_REGION', 'default'), ]); - $documentClone = new Document($document->getArrayCopy()); + $documentClone = clone $document; $dbForProject->createOrUpdateDocumentsWithIncrease( 'stats', @@ -177,157 +174,6 @@ class StatsUsageDump extends Action } } - private function handleDatabaseStorage(string $key, Database $dbForProject, Document $project, string $receivedAt): void - { - $data = explode('.', $key); - $start = microtime(true); - - $updateMetric = function (Database $dbForProject, Document $project, int $value, string $key, string $period, string|null $time) use ($receivedAt) { - $id = \md5("{$time}_{$period}_{$key}"); - - $document = new Document([ - '$id' => $id, - 'period' => $period, - 'time' => $time, - 'metric' => $key, - 'value' => $value, - 'region' => System::getEnv('_APP_REGION', 'default'), - ]); - $documentClone = new Document($document->getArrayCopy()); - $dbForProject->createOrUpdateDocumentsWithIncrease( - 'stats', - 'value', - [$document] - ); - $this->writeToLogsDB($project, $documentClone); - }; - - foreach ($this->periods as $period => $format) { - $time = null; - - if ($period !== 'inf') { - $time = !empty($receivedAt) ? (new \DateTime($receivedAt))->format($format) : date($format, time()); - } - $id = \md5("{$time}_{$period}_{$key}"); - - $value = 0; - $previousValue = 0; - try { - $previousValue = ($dbForProject->getDocument('stats', $id))->getAttribute('value', 0); - } catch (\Exception $e) { - // No previous value - } - - switch (count($data)) { - // Collection Level - case self::METRIC_COLLECTION_LEVEL_STORAGE: - Console::log('[' . DateTime::now() . '] Collection Level Storage Calculation [' . $key . ']'); - $databaseInternalId = $data[0]; - $collectionInternalId = $data[1]; - - try { - $value = $dbForProject->getSizeOfCollection('database_' . $databaseInternalId . '_collection_' . $collectionInternalId); - } catch (\Exception $e) { - // Collection not found - if ($e->getMessage() !== 'Collection not found') { - throw $e; - } - } - - // Compare with previous value - $diff = $value - $previousValue; - - if ($diff === 0) { - break; - } - - // Update Collection - $updateMetric($dbForProject, $project, $diff, $key, $period, $time); - - // Update Database - $databaseKey = str_replace(['{databaseInternalId}'], [$data[0]], METRIC_DATABASE_ID_STORAGE); - $updateMetric($dbForProject, $project, $diff, $databaseKey, $period, $time); - - // Update Project - $projectKey = METRIC_DATABASES_STORAGE; - $updateMetric($dbForProject, $project, $diff, $projectKey, $period, $time); - break; - // Database Level - case self::METRIC_DATABASE_LEVEL_STORAGE: - Console::log('[' . DateTime::now() . '] Database Level Storage Calculation [' . $key . ']'); - $databaseInternalId = $data[0]; - - $collections = []; - try { - $collections = $dbForProject->find('database_' . $databaseInternalId); - } catch (\Exception $e) { - // Database not found - if ($e->getMessage() !== 'Collection not found') { - throw $e; - } - } - - foreach ($collections as $collection) { - try { - $value += $dbForProject->getSizeOfCollection('database_' . $databaseInternalId . '_collection_' . $collection->getInternalId()); - } catch (\Exception $e) { - // Collection not found - if ($e->getMessage() !== 'Collection not found') { - throw $e; - } - } - } - - $diff = $value - $previousValue; - - if ($diff === 0) { - break; - } - - // Update Database - $databaseKey = str_replace(['{databaseInternalId}'], [$data[0]], METRIC_DATABASE_ID_STORAGE); - $updateMetric($dbForProject, $project, $diff, $databaseKey, $period, $time); - - // Update Project - $projectKey = METRIC_DATABASES_STORAGE; - $updateMetric($dbForProject, $project, $diff, $projectKey, $period, $time); - break; - // Project Level - case self::METRIC_PROJECT_LEVEL_STORAGE: - Console::log('[' . DateTime::now() . '] Project Level Storage Calculation [' . $key . ']'); - // Get all project databases - $databases = $dbForProject->find('database'); - - // Recalculate all databases - foreach ($databases as $database) { - $collections = $dbForProject->find('database_' . $database->getInternalId()); - - foreach ($collections as $collection) { - try { - $value += $dbForProject->getSizeOfCollection('database_' . $database->getInternalId() . '_collection_' . $collection->getInternalId()); - } catch (\Exception $e) { - // Collection not found - if ($e->getMessage() !== 'Collection not found') { - throw $e; - } - } - } - } - - $diff = $value - $previousValue; - - // Update Project - $projectKey = METRIC_DATABASES_STORAGE; - $updateMetric($dbForProject, $project, $diff, $projectKey, $period, $time); - break; - } - } - - $end = microtime(true); - - console::log('[' . DateTime::now() . '] DB Storage Calculation [' . $key . '] took ' . (($end - $start) * 1000) . ' milliseconds'); - } - protected function writeToLogsDB(Document $project, Document $document): void { if (System::getEnv('_APP_STATS_USAGE_DUAL_WRITING', 'disabled') === 'disabled') { diff --git a/src/Appwrite/Platform/Workers/Webhooks.php b/src/Appwrite/Platform/Workers/Webhooks.php index 2066f690ac..b36f4cb67c 100644 --- a/src/Appwrite/Platform/Workers/Webhooks.php +++ b/src/Appwrite/Platform/Workers/Webhooks.php @@ -54,6 +54,8 @@ class Webhooks extends Action $this->errors = []; $payload = $message->getPayload() ?? []; + + if (empty($payload)) { throw new Exception('Missing payload'); } diff --git a/src/Appwrite/SDK/Method.php b/src/Appwrite/SDK/Method.php index 9b22b10004..5e10c56bad 100644 --- a/src/Appwrite/SDK/Method.php +++ b/src/Appwrite/SDK/Method.php @@ -16,6 +16,7 @@ class Method * Initialise a new SDK method * * @param string $namespace + * @param ?string $group * @param string $name * @param string $description * @param array<AuthType> $auth @@ -33,6 +34,7 @@ class Method */ public function __construct( protected string $namespace, + protected ?string $group, protected string $name, protected string $description, protected array $auth, @@ -128,6 +130,11 @@ class Method return $this->namespace; } + public function getGroup(): ?string + { + return $this->group; + } + public function getMethodName(): string { return $this->name; diff --git a/src/Appwrite/Specification/Format/OpenAPI3.php b/src/Appwrite/Specification/Format/OpenAPI3.php index 864caed4e1..4452f63f0f 100644 --- a/src/Appwrite/Specification/Format/OpenAPI3.php +++ b/src/Appwrite/Specification/Format/OpenAPI3.php @@ -84,6 +84,9 @@ class OpenAPI3 extends Format [ 'url' => $this->getParam('endpoint', ''), ], + [ + 'url' => $this->getParam('endpoint.docs', ''), + ], ], 'paths' => [], 'tags' => $this->services, @@ -188,6 +191,7 @@ class OpenAPI3 extends Format 'responses' => [], 'x-appwrite' => [ // Appwrite related metadata 'method' => $method, + 'group' => $sdk->getGroup(), 'weight' => $route->getOrder(), 'cookies' => $route->getLabel('sdk.cookies', false), 'type' => $sdk->getType()->value ?? '', diff --git a/src/Appwrite/Specification/Format/Swagger2.php b/src/Appwrite/Specification/Format/Swagger2.php index 3a7889275e..cb4b3e0b9b 100644 --- a/src/Appwrite/Specification/Format/Swagger2.php +++ b/src/Appwrite/Specification/Format/Swagger2.php @@ -80,6 +80,7 @@ class Swagger2 extends Format ], ], 'host' => \parse_url($this->getParam('endpoint', ''), PHP_URL_HOST), + 'x-host-docs' => \parse_url($this->getParam('endpoint.docs', ''), PHP_URL_HOST), 'basePath' => \parse_url($this->getParam('endpoint', ''), PHP_URL_PATH), 'schemes' => [\parse_url($this->getParam('endpoint', ''), PHP_URL_SCHEME)], 'consumes' => ['application/json', 'multipart/form-data'], @@ -136,7 +137,10 @@ class Swagger2 extends Format $sdk = $mainSdk; } - $consumes = [$sdk->getRequestType()]; + $consumes = []; + if (strtoupper($route->getMethod()) !== 'GET' && strtoupper($route->getMethod()) !== 'HEAD') { + $consumes = [$sdk->getRequestType()]; + } $method = $sdk->getMethodName() ?? \uniqid(); @@ -186,6 +190,7 @@ class Swagger2 extends Format 'responses' => [], 'x-appwrite' => [ // Appwrite related metadata 'method' => $method, + 'group' => $sdk->getGroup(), 'weight' => $route->getOrder(), 'cookies' => $route->getLabel('sdk.cookies', false), 'type' => $sdk->getType()->value ?? '', diff --git a/src/Appwrite/Utopia/Response.php b/src/Appwrite/Utopia/Response.php index 4bb6f2df19..3d69ac1291 100644 --- a/src/Appwrite/Utopia/Response.php +++ b/src/Appwrite/Utopia/Response.php @@ -2,6 +2,7 @@ namespace Appwrite\Utopia; +use Appwrite\Auth\Auth; use Appwrite\Utopia\Fetch\BodyMultipart; use Appwrite\Utopia\Response\Filter; use Appwrite\Utopia\Response\Model; @@ -124,6 +125,7 @@ use JsonException; use Swoole\Http\Response as SwooleHTTPResponse; // Keep last use Utopia\Database\Document; +use Utopia\Database\Validator\Authorization; use Utopia\Swoole\Response as SwooleResponse; /** @@ -355,6 +357,11 @@ class Response extends SwooleResponse */ protected array $payload = []; + /** + * @var bool + */ + protected static bool $showSensitive = false; + /** * Response constructor. * @@ -714,6 +721,16 @@ class Response extends SwooleResponse } } + if ($rule['sensitive']) { + $roles = Authorization::getRoles(); + $isPrivilegedUser = Auth::isPrivilegedUser($roles); + $isAppUser = Auth::isAppUser($roles); + + if ((!$isPrivilegedUser && !$isAppUser) && !self::$showSensitive) { + $data->setAttribute($key, ''); + } + } + $output[$key] = $data[$key]; } @@ -869,4 +886,20 @@ class Response extends SwooleResponse { $this->sendHeader($key, $value); } + + /** + * Static wrapper to show sensitive data in response + * + * @param callable The callback to show sensitive information for + * @return array + */ + public static function showSensitive(callable $callback): array + { + try { + self::$showSensitive = true; + return $callback(); + } finally { + self::$showSensitive = false; + } + } } diff --git a/src/Appwrite/Utopia/Response/Model.php b/src/Appwrite/Utopia/Response/Model.php index d14d1be0c1..32de9fa035 100644 --- a/src/Appwrite/Utopia/Response/Model.php +++ b/src/Appwrite/Utopia/Response/Model.php @@ -90,7 +90,8 @@ abstract class Model 'required' => true, 'array' => false, 'description' => '', - 'example' => '' + 'example' => '', + 'sensitive' => false ], $options); return $this; diff --git a/src/Appwrite/Utopia/Response/Model/Execution.php b/src/Appwrite/Utopia/Response/Model/Execution.php index 12790ec200..d7d30fe549 100644 --- a/src/Appwrite/Utopia/Response/Model/Execution.php +++ b/src/Appwrite/Utopia/Response/Model/Execution.php @@ -98,12 +98,14 @@ class Execution extends Model 'description' => 'Function logs. Includes the last 4,000 characters. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.', 'default' => '', 'example' => '', + 'sensitive' => true, ]) ->addRule('errors', [ 'type' => self::TYPE_STRING, 'description' => 'Function errors. Includes the last 4,000 characters. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.', 'default' => '', 'example' => '', + 'sensitive' => true, ]) ->addRule('duration', [ 'type' => self::TYPE_FLOAT, diff --git a/src/Appwrite/Utopia/Response/Model/Session.php b/src/Appwrite/Utopia/Response/Model/Session.php index 43331d754f..7173919a65 100644 --- a/src/Appwrite/Utopia/Response/Model/Session.php +++ b/src/Appwrite/Utopia/Response/Model/Session.php @@ -178,6 +178,7 @@ class Session extends Model 'description' => 'Secret used to authenticate the user. Only included if the request was made with an API key', 'default' => '', 'example' => '5e5bb8c16897e', + 'sensitive' => true, ]) ->addRule('mfaUpdatedAt', [ 'type' => self::TYPE_DATETIME, diff --git a/src/Appwrite/Utopia/Response/Model/Token.php b/src/Appwrite/Utopia/Response/Model/Token.php index fa041fabed..8313cc41a4 100644 --- a/src/Appwrite/Utopia/Response/Model/Token.php +++ b/src/Appwrite/Utopia/Response/Model/Token.php @@ -33,6 +33,7 @@ class Token extends Model 'description' => 'Token secret key. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.', 'default' => '', 'example' => '', + 'sensitive' => true, ]) ->addRule('expire', [ 'type' => self::TYPE_DATETIME, diff --git a/tests/e2e/General/UsageTest.php b/tests/e2e/General/UsageTest.php index 72bf747576..5549ef800d 100644 --- a/tests/e2e/General/UsageTest.php +++ b/tests/e2e/General/UsageTest.php @@ -6,7 +6,6 @@ use Appwrite\Platform\Modules\Compute\Specification; use Appwrite\Tests\Retry; use CURLFile; use DateTime; -use PHPUnit\Framework\ExpectationFailedException; use Tests\E2E\Client; use Tests\E2E\Scopes\ProjectCustom; use Tests\E2E\Scopes\Scope; @@ -16,7 +15,6 @@ use Tests\E2E\Services\Sites\SitesBase; use Utopia\Database\Helpers\ID; use Utopia\Database\Helpers\Permission; use Utopia\Database\Helpers\Role; -use Utopia\Database\Query; use Utopia\Database\Validator\Datetime as DatetimeValidator; use Utopia\System\System; @@ -202,7 +200,7 @@ class UsageTest extends Scope ); $this->assertEquals(200, $response['headers']['status-code']); - $this->assertEquals(31, count($response['body'])); + $this->assertGreaterThanOrEqual(31, count($response['body'])); $this->validateDates($response['body']['network']); $this->validateDates($response['body']['requests']); $this->validateDates($response['body']['users']); @@ -381,7 +379,7 @@ class UsageTest extends Scope ] ); - $this->assertEquals(31, count($response['body'])); + $this->assertGreaterThanOrEqual(31, count($response['body'])); $this->assertEquals(1, count($response['body']['requests'])); $this->assertEquals($requestsTotal, $response['body']['requests'][array_key_last($response['body']['requests'])]['value']); $this->validateDates($response['body']['requests']); @@ -602,7 +600,7 @@ class UsageTest extends Scope ] ); - $this->assertEquals(31, count($response['body'])); + $this->assertGreaterThanOrEqual(31, count($response['body'])); $this->assertEquals(1, count($response['body']['requests'])); $this->assertEquals(1, count($response['body']['network'])); $this->assertEquals($requestsTotal, $response['body']['requests'][array_key_last($response['body']['requests'])]['value']); @@ -647,255 +645,6 @@ class UsageTest extends Scope return $data; } - public function testDatabaseStoragePrepare(): array - { - $response = $this->client->call( - Client::METHOD_POST, - '/databases', - array_merge([ - 'content-type' => 'application/json', - 'x-appwrite-project' => $this->getProject()['$id'] - ], $this->getHeaders()), - [ - 'databaseId' => 'unique()', - 'name' => 'dbStorageStats', - ] - ); - - $this->assertNotEmpty($response['body']['$id']); - $databaseId = $response['body']['$id']; - - $response = $this->client->call( - Client::METHOD_POST, - '/databases/' . $databaseId . '/collections', - array_merge([ - 'content-type' => 'application/json', - 'x-appwrite-project' => $this->getProject()['$id'] - ], $this->getHeaders()), - [ - 'collectionId' => 'unique()', - 'name' => 'collectionStorageStats', - 'documentSecurity' => false, - 'permissions' => [ - Permission::read(Role::any()), - Permission::create(Role::any()), - Permission::update(Role::any()), - Permission::delete(Role::any()), - ], - ] - ); - - $this->assertNotEmpty($response['body']['$id']); - $collectionId = $response['body']['$id']; - - $response = $this->client->call( - Client::METHOD_POST, - '/databases/' . $databaseId . '/collections/' . $collectionId . '/attributes' . '/string', - array_merge([ - 'content-type' => 'application/json', - 'x-appwrite-project' => $this->getProject()['$id'] - ], $this->getHeaders()), - [ - 'key' => 'data', - 'size' => 100000, - 'required' => true, - ] - ); - - return [ - 'databaseId' => $databaseId, - 'collectionId' => $collectionId, - ]; - } - - // /** @depends testDatabaseStoragePrepare */ - // #[Retry(count: 1)] - // public function testDatabaseStorageStatsCreateDocument(array $data): array - // { - // $databaseId = $data['databaseId']; - // $collectionId = $data['collectionId']; - - // $originalProjectMetrics = $this->client->call( - // Client::METHOD_GET, - // '/project/usage', - // $this->getConsoleHeaders(), - // [ - // 'period' => '1d', - // 'startDate' => self::getToday(), - // 'endDate' => self::getTomorrow(), - // ] - // ); - - // $this->assertEquals(200, $originalProjectMetrics['headers']['status-code']); - // $this->assertArrayHasKey('databasesStorageTotal', $originalProjectMetrics['body']); - - // $originalProjectMetrics = $originalProjectMetrics['body']; - - // $originalDatabaseMetrics = $this->client->call( - // Client::METHOD_GET, - // '/databases/' . $databaseId . '/usage?range=30d', - // $this->getConsoleHeaders() - // ); - - // $this->assertEquals(200, $originalDatabaseMetrics['headers']['status-code']); - // $this->assertArrayHasKey('storageTotal', $originalDatabaseMetrics['body']); - // $originalDatabaseMetrics = $originalDatabaseMetrics['body']; - - // // Create documents - // for ($i = 0; $i < 100; $i++) { - // $response = $this->client->call( - // Client::METHOD_POST, - // '/databases/' . $databaseId . '/collections/' . $collectionId . '/documents', - // array_merge([ - // 'content-type' => 'application/json', - // 'x-appwrite-project' => $this->getProject()['$id'] - // ], $this->getHeaders()), - // [ - // 'documentId' => 'unique()', - // 'data' => ['data' => str_repeat('a', 10000)], - // ] - // ); - - // $this->assertEquals(201, $response['headers']['status-code']); - // } - - // for ($i = 0; $i < 3; $i++) { - // try { - // $newProjectMetrics = $this->client->call( - // Client::METHOD_GET, - // '/project/usage', - // $this->getConsoleHeaders(), - // [ - // 'period' => '1d', - // 'startDate' => self::getToday(), - // 'endDate' => self::getTomorrow(), - // ] - // ); - - // $this->assertEquals(200, $newProjectMetrics['headers']['status-code']); - // $this->assertArrayHasKey('databasesStorageTotal', $newProjectMetrics['body']); - // $this->assertGreaterThan($originalProjectMetrics['databasesStorageTotal'], $newProjectMetrics['body']['databasesStorageTotal']); - - // $newProjectMetrics = $newProjectMetrics['body']; - - // $newDatabaseMetrics = $this->client->call( - // Client::METHOD_GET, - // '/databases/' . $databaseId . '/usage?range=30d', - // $this->getConsoleHeaders() - // ); - - // $this->assertEquals(200, $newDatabaseMetrics['headers']['status-code']); - // $this->assertArrayHasKey('storageTotal', $newDatabaseMetrics['body']); - // $this->assertGreaterThan($originalDatabaseMetrics['storageTotal'], $newDatabaseMetrics['body']['storageTotal']); - - // $newDatabaseMetrics = $newDatabaseMetrics['body']; - - // return [ - // 'databaseId' => $databaseId, - // 'collectionId' => $collectionId, - // 'currentProjectMetrics' => $newProjectMetrics, - // 'currentDatabaseMetrics' => $newDatabaseMetrics, - // ]; - // } catch (ExpectationFailedException $e) { - // if ($i === 2) { - // throw $e; - // } - // continue; - // } - // } - // } - - // /** @depends testDatabaseStorageStatsCreateDocument */ - // #[Retry(count: 1)] - // public function testDatabaseStorageStatsDeleteDocument(array $data): array - // { - // $databaseId = $data['databaseId']; - // $collectionId = $data['collectionId']; - // $currentProjectMetrics = $data['currentProjectMetrics']; - // $currentDatabaseMetrics = $data['currentDatabaseMetrics']; - - // $documents = $this->client->call( - // Client::METHOD_GET, - // '/databases/' . $databaseId . '/collections/' . $collectionId . '/documents', - // array_merge([ - // 'x-appwrite-project' => $this->getProject()['$id'] - // ], $this->getHeaders()), - // [ - // 'queries' => [ - // Query::limit(50)->toString() - // ] - // ] - // ); - - // foreach ($documents['body']['documents'] as $document) { - // $response = $this->client->call( - // Client::METHOD_DELETE, - // '/databases/' . $databaseId . '/collections/' . $collectionId . '/documents/' . $document['$id'], - // array_merge([ - // 'x-appwrite-project' => $this->getProject()['$id'] - // ], $this->getHeaders()) - // ); - - // $this->assertEquals(204, $response['headers']['status-code']); - // } - - // for ($i = 0; $i < 3; $i++) { - // try { - // $newProjectMetrics = $this->client->call( - // Client::METHOD_GET, - // '/project/usage', - // $this->getConsoleHeaders(), - // [ - // 'period' => '1d', - // 'startDate' => self::getToday(), - // 'endDate' => self::getTomorrow(), - // ] - // ); - - // $this->assertEquals(200, $newProjectMetrics['headers']['status-code']); - // $this->assertArrayHasKey('databasesStorageTotal', $newProjectMetrics['body']); - // $this->assertLessThan($currentProjectMetrics['databasesStorageTotal'], $newProjectMetrics['body']['databasesStorageTotal']); - - // $newProjectMetrics = $newProjectMetrics['body']; - - // $newDatabaseMetrics = $this->client->call( - // Client::METHOD_GET, - // '/databases/' . $databaseId . '/usage?range=30d', - // $this->getConsoleHeaders() - // ); - - // $this->assertEquals(200, $newDatabaseMetrics['headers']['status-code']); - // $this->assertArrayHasKey('storageTotal', $newDatabaseMetrics['body']); - // $this->assertLessThan($currentDatabaseMetrics['storageTotal'], $newDatabaseMetrics['body']['storageTotal']); - - // $newDatabaseMetrics = $newDatabaseMetrics['body']; - - // return [ - // 'databaseId' => $databaseId, - // 'collectionId' => $collectionId, - // 'currentProjectMetrics' => $newProjectMetrics, - // 'currentDatabaseMetrics' => $newDatabaseMetrics, - // ]; - // } catch (ExpectationFailedException $e) { - // if ($i === 2) { - // throw $e; - // } - // continue; - // } - // } - - // $newProjectMetrics = $this->client->call( - // Client::METHOD_GET, - // '/project/usage', - // $this->getConsoleHeaders(), - // [ - // 'period' => '1d', - // 'startDate' => self::getToday(), - // 'endDate' => self::getTomorrow(), - // ] - // ); - // } - /** @depends testDatabaseStats */ public function testPrepareFunctionsStats(array $data): array { diff --git a/tests/e2e/Services/Databases/DatabasesBase.php b/tests/e2e/Services/Databases/DatabasesBase.php index 0f57f94515..0c7e1d386e 100644 --- a/tests/e2e/Services/Databases/DatabasesBase.php +++ b/tests/e2e/Services/Databases/DatabasesBase.php @@ -90,6 +90,12 @@ trait DatabasesBase */ public function testConsoleProject(array $data) { + if ($this->getSide() === 'server') { + // Server side can't get past the invalid key check anyway + $this->expectNotToPerformAssertions(); + return; + } + $response = $this->client->call( Client::METHOD_GET, '/databases/console/collections/' . $data['moviesId'] . '/documents', @@ -1635,9 +1641,54 @@ trait DatabasesBase $this->assertEquals(2019, $documents['body']['documents'][0]['releaseYear']); $this->assertCount(3, $documents['body']['documents']); + // changing description attribute to be null by default instead of empty string + $patchNull = $this->client->call(Client::METHOD_PATCH, '/databases/' . $databaseId . '/collections/' . $data['moviesId'] . '/attributes/string/description', array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + 'x-appwrite-key' => $this->getProject()['apiKey'] + ]), [ + 'default' => null, + 'required' => false, + ]); + // creating a dummy doc with null description + $document1 = $this->client->call(Client::METHOD_POST, '/databases/' . $databaseId . '/collections/' . $data['moviesId'] . '/documents', array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'documentId' => ID::unique(), + 'data' => [ + 'title' => 'Dummy', + 'releaseYear' => 1944, + 'birthDay' => '1975-06-12 14:12:55+02:00', + 'actors' => [ + 'Dummy', + ], + ] + ]); + + $this->assertEquals(201, $document1['headers']['status-code']); + // fetching docs with cursor after the dummy doc with order attr description which is null + $documentsPaginated = $this->client->call(Client::METHOD_GET, '/databases/' . $databaseId . '/collections/' . $data['moviesId'] . '/documents', array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'queries' => [ + Query::orderAsc('dummy')->toString(), + Query::cursorAfter(new Document(['$id' => $document1['body']['$id']]))->toString() + ], + ]); + // should throw 400 as the order attr description of the selected doc is null + $this->assertEquals(400, $documentsPaginated['headers']['status-code']); + + // deleting the dummy doc created + $this->client->call(Client::METHOD_DELETE, '/databases/' . $databaseId . '/collections/' . $data['moviesId'] . '/documents/' . $document1['body']['$id'], array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders())); return ['documents' => $documents['body']['documents'], 'databaseId' => $databaseId]; } + /** * @depends testListDocuments */ diff --git a/tests/e2e/Services/Health/HealthCustomServerTest.php b/tests/e2e/Services/Health/HealthCustomServerTest.php index 04b1408cd0..4b7062dc22 100644 --- a/tests/e2e/Services/Health/HealthCustomServerTest.php +++ b/tests/e2e/Services/Health/HealthCustomServerTest.php @@ -541,28 +541,4 @@ class HealthCustomServerTest extends Scope ], $this->getHeaders()), []); $this->assertEquals(503, $response['headers']['status-code']); } - - public function testStatsUsageDumpSuccess() - { - /** - * Test for SUCCESS - */ - $response = $this->client->call(Client::METHOD_GET, '/health/queue/stats-usage-dump', array_merge([ - 'content-type' => 'application/json', - 'x-appwrite-project' => $this->getProject()['$id'], - ], $this->getHeaders()), []); - - $this->assertEquals(200, $response['headers']['status-code']); - $this->assertIsInt($response['body']['size']); - $this->assertLessThan(100, $response['body']['size']); - - /** - * Test for FAILURE - */ - $response = $this->client->call(Client::METHOD_GET, '/health/queue/stats-usage-dump?threshold=0', array_merge([ - 'content-type' => 'application/json', - 'x-appwrite-project' => $this->getProject()['$id'], - ], $this->getHeaders()), []); - $this->assertEquals(503, $response['headers']['status-code']); - } } diff --git a/tests/e2e/Services/Projects/ProjectsConsoleClientTest.php b/tests/e2e/Services/Projects/ProjectsConsoleClientTest.php index c4a0975f06..c66a581b1a 100644 --- a/tests/e2e/Services/Projects/ProjectsConsoleClientTest.php +++ b/tests/e2e/Services/Projects/ProjectsConsoleClientTest.php @@ -2787,32 +2787,35 @@ class ProjectsConsoleClientTest extends Scope */ public function testValidateProjectKey($data): void { - $id = $data['projectId'] ?? ''; + $projectId = $data['projectId'] ?? ''; + $teamId = $data['teamId'] ?? ''; /** * Test for SUCCESS */ - $response = $this->client->call(Client::METHOD_POST, '/projects/' . $id . '/keys', array_merge([ + + // Expiring key + $response = $this->client->call(Client::METHOD_POST, '/projects/' . $projectId . '/keys', array_merge([ 'content-type' => 'application/json', 'x-appwrite-project' => $this->getProject()['$id'], ], $this->getHeaders()), [ 'name' => 'Key Test', - 'scopes' => ['health.read'], + 'scopes' => ['users.write'], 'expire' => DateTime::addSeconds(new \DateTime(), 3600), ]); - $response = $this->client->call(Client::METHOD_GET, '/health', [ + $response = $this->client->call(Client::METHOD_POST, '/users', [ 'content-type' => 'application/json', - 'x-appwrite-project' => $id, + 'x-appwrite-project' => $projectId, 'x-appwrite-key' => $response['body']['secret'] - ], []); + ], [ + 'userId' => ID::unique(), + ]); - $this->assertEquals(200, $response['headers']['status-code']); + $this->assertEquals(201, $response['headers']['status-code']); - /** - * Test for SUCCESS - */ - $response = $this->client->call(Client::METHOD_POST, '/projects/' . $id . '/keys', array_merge([ + // No expiry + $response = $this->client->call(Client::METHOD_POST, '/projects/' . $projectId . '/keys', array_merge([ 'content-type' => 'application/json', 'x-appwrite-project' => $this->getProject()['$id'], ], $this->getHeaders()), [ @@ -2823,7 +2826,7 @@ class ProjectsConsoleClientTest extends Scope $response = $this->client->call(Client::METHOD_GET, '/health', [ 'content-type' => 'application/json', - 'x-appwrite-project' => $id, + 'x-appwrite-project' => $projectId, 'x-appwrite-key' => $response['body']['secret'] ], []); @@ -2832,7 +2835,9 @@ class ProjectsConsoleClientTest extends Scope /** * Test for FAILURE */ - $response = $this->client->call(Client::METHOD_POST, '/projects/' . $id . '/keys', array_merge([ + + // Expired key + $response = $this->client->call(Client::METHOD_POST, '/projects/' . $projectId . '/keys', array_merge([ 'content-type' => 'application/json', 'x-appwrite-project' => $this->getProject()['$id'], ], $this->getHeaders()), [ @@ -2843,9 +2848,82 @@ class ProjectsConsoleClientTest extends Scope $response = $this->client->call(Client::METHOD_GET, '/health', [ 'content-type' => 'application/json', - 'x-appwrite-project' => $id, + 'x-appwrite-project' => $projectId, 'x-appwrite-key' => $response['body']['secret'] - ], []); + ]); + + $this->assertEquals(401, $response['headers']['status-code']); + + // Invalid key + $bucket = $this->client->call(Client::METHOD_POST, '/storage/buckets', array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $projectId, + 'x-appwrite-mode' => 'admin', + ], $this->getHeaders()), [ + 'bucketId' => ID::unique(), + 'name' => 'Test Bucket', + ]); + + $this->assertEquals(201, $bucket['headers']['status-code']); + $this->assertNotEmpty($bucket['body']['$id']); + + $bucketId = $bucket['body']['$id']; + + $response = $this->client->call(Client::METHOD_GET, "/storage/buckets/{$bucketId}/files", [ + 'content-type' => 'application/json', + 'x-appwrite-project' => $projectId, + 'x-appwrite-key' => 'invalid-key' + ]); + + $this->assertEquals(401, $response['headers']['status-code']); + + // Invalid scopes + $response = $this->client->call(Client::METHOD_POST, '/projects/' . $projectId . '/keys', array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'name' => 'Key Test', + 'scopes' => ['teams.read'], + 'expire' => DateTime::addSeconds(new \DateTime(), 3600), + ]); + + $response = $this->client->call(Client::METHOD_GET, '/users', [ + 'content-type' => 'application/json', + 'x-appwrite-project' => $projectId, + 'x-appwrite-key' => $response['body']['secret'] + ]); + + $this->assertEquals(401, $response['headers']['status-code']); + + // Invalid key from different project + $response = $this->client->call(Client::METHOD_POST, '/projects', array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'projectId' => ID::unique(), + 'name' => 'Project Test 2', + 'teamId' => $teamId, + 'region' => System::getEnv('_APP_REGION', 'default') + ]); + + $this->assertEquals(201, $response['headers']['status-code']); + + $project2Id = $response['body']['$id']; + + $response = $this->client->call(Client::METHOD_POST, '/projects/' . $project2Id . '/keys', array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'name' => 'Key Test', + 'scopes' => ['health.read'], + 'expire' => DateTime::addSeconds(new \DateTime(), 3600), + ]); + + $response = $this->client->call(Client::METHOD_GET, '/health', [ + 'content-type' => 'application/json', + 'x-appwrite-project' => $projectId, + 'x-appwrite-key' => $response['body']['secret'] + ]); $this->assertEquals(401, $response['headers']['status-code']); } diff --git a/tests/e2e/Services/Projects/ProjectsCustomServerTest.php b/tests/e2e/Services/Projects/ProjectsCustomServerTest.php index 6d9431290f..a01073f3a3 100644 --- a/tests/e2e/Services/Projects/ProjectsCustomServerTest.php +++ b/tests/e2e/Services/Projects/ProjectsCustomServerTest.php @@ -17,6 +17,8 @@ class ProjectsCustomServerTest extends Scope public function testCreateProjectRule() { + $testId = \uniqid(); + $headers = array_merge([ 'content-type' => 'application/json', 'x-appwrite-project' => $this->getProject()['$id'], @@ -25,21 +27,23 @@ class ProjectsCustomServerTest extends Scope ]); $response = $this->client->call(Client::METHOD_POST, '/proxy/rules/api', $headers, [ - 'domain' => 'api.appwrite.test', + 'domain' => $testId . '-api.appwrite.test', ]); + \var_dump($response); + $this->assertEquals(201, $response['headers']['status-code']); $response = $this->client->call(Client::METHOD_POST, '/proxy/rules/api', $headers, [ 'resourceType' => 'api', - 'domain' => 'abc.test.io', + 'domain' => $testId . '-abc.test.io', ]); $this->assertEquals(201, $response['headers']['status-code']); // duplicate rule $response2 = $this->client->call(Client::METHOD_POST, '/proxy/rules/api', $headers, [ - 'domain' => 'abc.test.io', + 'domain' => $testId . '-abc.test.io', ]); $this->assertEquals(409, $response2['headers']['status-code']); diff --git a/tests/e2e/Services/Proxy/ProxyCustomServerTest.php b/tests/e2e/Services/Proxy/ProxyCustomServerTest.php index 0ac2d9c186..3f7099e703 100644 --- a/tests/e2e/Services/Proxy/ProxyCustomServerTest.php +++ b/tests/e2e/Services/Proxy/ProxyCustomServerTest.php @@ -63,13 +63,20 @@ class ProxyCustomServerTest extends Scope { $domain = \uniqid() . '-vcs.myapp.com'; - $rule = $this->createAPIRule('commit-' . $domain); + $setup = $this->setupSite(); + $siteId = $setup['siteId']; + $deploymentId = $setup['deploymentId']; + + $this->assertNotEmpty($siteId); + $this->assertNotEmpty($deploymentId); + + $rule = $this->createSiteRule('commit-' . $domain, $siteId); $this->assertEquals(400, $rule['headers']['status-code']); - $rule = $this->createAPIRule('branch-' . $domain); + $rule = $this->createSiteRule('branch-' . $domain, $siteId); $this->assertEquals(400, $rule['headers']['status-code']); - $rule = $this->createAPIRule('anything-' . $domain); + $rule = $this->createSiteRule('anything-' . $domain, $siteId); $this->assertEquals(201, $rule['headers']['status-code']); $this->cleanupRule($rule['body']['$id']); } diff --git a/tests/e2e/Services/Sites/SitesConsoleClientTest.php b/tests/e2e/Services/Sites/SitesConsoleClientTest.php new file mode 100644 index 0000000000..3b9243ee77 --- /dev/null +++ b/tests/e2e/Services/Sites/SitesConsoleClientTest.php @@ -0,0 +1,101 @@ +<?php + +namespace Tests\E2E\Services\Projects; + +use Tests\E2E\Client; +use Tests\E2E\Scopes\ProjectCustom; +use Tests\E2E\Scopes\Scope; +use Tests\E2E\Scopes\SideConsole; +use Tests\E2E\Services\Sites\SitesBase; +use Utopia\Database\Helpers\ID; + +class SitesConsoleClientTest extends Scope +{ + use ProjectCustom; + use SideConsole; + use SitesBase; + + public function testSiteScreenshot(): void + { + $siteId = $this->setupSite([ + 'siteId' => ID::unique(), + 'name' => 'Themed site', + 'framework' => 'other', + 'adapter' => 'static', + 'buildRuntime' => 'static-1', + 'outputDirectory' => './', + 'buildCommand' => '', + 'installCommand' => '', + 'fallbackFile' => '', + ]); + + $this->assertNotEmpty($siteId); + + $domain = $this->setupSiteDomain($siteId); + + $deploymentId = $this->setupDeployment($siteId, [ + 'code' => $this->packageSite('static-themed'), + 'activate' => 'true' + ]); + + $this->assertNotEmpty($deploymentId); + + $domain = $this->getSiteDomain($siteId); + $this->assertNotEmpty($domain); + + $proxyClient = new Client(); + $proxyClient->setEndpoint('http://' . $domain); + + $response = $proxyClient->call(Client::METHOD_GET, '/'); + + $this->assertEquals(200, $response['headers']['status-code']); + $this->assertStringContainsString("Themed website", $response['body']); + $this->assertStringContainsString("@media (prefers-color-scheme: dark)", $response['body']); + + $deployment = $this->getDeployment($siteId, $deploymentId); + $this->assertEquals(200, $deployment['headers']['status-code']); + $this->assertNotEmpty($deployment['body']['screenshotLight']); + $this->assertNotEmpty($deployment['body']['screenshotDark']); + + $site = $this->getSite($siteId); + $this->assertEquals(200, $site['headers']['status-code']); + $this->assertEquals($deployment['body']['screenshotLight'], $site['body']['deploymentScreenshotLight']); + $this->assertEquals($deployment['body']['screenshotDark'], $site['body']['deploymentScreenshotDark']); + + $screenshotId = $deployment['body']['screenshotLight']; + $file = $this->client->call(Client::METHOD_GET, "/storage/buckets/screenshots/files/$screenshotId/view?project=console", array_merge($this->getHeaders(), [ + 'x-appwrite-mode' => 'default' // NOT ADMIN! + ])); + + $this->assertEquals(200, $file['headers']['status-code']); + $this->assertNotEmpty(200, $file['body']); + $this->assertGreaterThan(1, $file['headers']['content-length']); + $this->assertEquals('image/png', $file['headers']['content-type']); + + $screenshotHash = \md5($file['body']); + $this->assertNotEmpty($screenshotHash); + + $screenshotId = $deployment['body']['screenshotDark']; + $file = $this->client->call(Client::METHOD_GET, "/storage/buckets/screenshots/files/$screenshotId/view?project=console", array_merge($this->getHeaders(), [ + 'x-appwrite-mode' => 'default' // NOT ADMIN! + ])); + + $this->assertEquals(200, $file['headers']['status-code']); + $this->assertNotEmpty(200, $file['body']); + $this->assertGreaterThan(1, $file['headers']['content-length']); + $this->assertEquals('image/png', $file['headers']['content-type']); + + $screenshotDarkHash = \md5($file['body']); + $this->assertNotEmpty($screenshotDarkHash); + + $this->assertNotEquals($screenshotDarkHash, $screenshotHash); + + $file = $this->client->call(Client::METHOD_GET, "/storage/buckets/screenshots/files/$screenshotId/view?project=console"); + $this->assertEquals(404, $file['headers']['status-code']); + + $file = $this->client->call(Client::METHOD_GET, "/storage/buckets/screenshots/files/$screenshotId/view?project=console"); + $this->assertEquals(404, $file['headers']['status-code']); + + $this->cleanupSite($siteId); + } +} diff --git a/tests/e2e/Services/Sites/SitesCustomServerTest.php b/tests/e2e/Services/Sites/SitesCustomServerTest.php index 1775995216..5866bf2e27 100644 --- a/tests/e2e/Services/Sites/SitesCustomServerTest.php +++ b/tests/e2e/Services/Sites/SitesCustomServerTest.php @@ -1511,7 +1511,7 @@ class SitesCustomServerTest extends Scope public function testSiteTemplate(): void { - $template = $this->getTemplate('astro-starter'); + $template = $this->getTemplate('playground-for-astro'); $this->assertEquals(200, $template['headers']['status-code']); $template = $template['body']; @@ -1805,88 +1805,6 @@ class SitesCustomServerTest extends Scope $this->assertEquals('http://localhost', $response['headers']['access-control-allow-origin']); } - public function testSiteScreenshot(): void - { - $siteId = $this->setupSite([ - 'siteId' => ID::unique(), - 'name' => 'Themed site', - 'framework' => 'other', - 'adapter' => 'static', - 'buildRuntime' => 'static-1', - 'outputDirectory' => './', - 'buildCommand' => '', - 'installCommand' => '', - 'fallbackFile' => '', - ]); - - $this->assertNotEmpty($siteId); - - $domain = $this->setupSiteDomain($siteId); - - $deploymentId = $this->setupDeployment($siteId, [ - 'code' => $this->packageSite('static-themed'), - 'activate' => 'true' - ]); - - $this->assertNotEmpty($deploymentId); - - $domain = $this->getSiteDomain($siteId); - $this->assertNotEmpty($domain); - - $proxyClient = new Client(); - $proxyClient->setEndpoint('http://' . $domain); - - $response = $proxyClient->call(Client::METHOD_GET, '/'); - - $this->assertEquals(200, $response['headers']['status-code']); - $this->assertStringContainsString("Themed website", $response['body']); - $this->assertStringContainsString("@media (prefers-color-scheme: dark)", $response['body']); - - $deployment = $this->getDeployment($siteId, $deploymentId); - $this->assertEquals(200, $deployment['headers']['status-code']); - $this->assertNotEmpty($deployment['body']['screenshotLight']); - $this->assertNotEmpty($deployment['body']['screenshotDark']); - - $site = $this->getSite($siteId); - $this->assertEquals(200, $site['headers']['status-code']); - $this->assertEquals($deployment['body']['screenshotLight'], $site['body']['deploymentScreenshotLight']); - $this->assertEquals($deployment['body']['screenshotDark'], $site['body']['deploymentScreenshotDark']); - - $screenshotId = $deployment['body']['screenshotLight']; - $file = $this->client->call(Client::METHOD_GET, "/storage/buckets/screenshots/files/$screenshotId/view?project=console", array_merge([ - ], $this->getHeaders())); - - $this->assertEquals(200, $file['headers']['status-code']); - $this->assertNotEmpty(200, $file['body']); - $this->assertGreaterThan(1, $file['headers']['content-length']); - $this->assertEquals('image/png', $file['headers']['content-type']); - - $screenshotHash = \md5($file['body']); - $this->assertNotEmpty($screenshotHash); - - $screenshotId = $deployment['body']['screenshotDark']; - $file = $this->client->call(Client::METHOD_GET, "/storage/buckets/screenshots/files/$screenshotId/view?project=console", array_merge([ - ], $this->getHeaders())); - - $this->assertEquals(200, $file['headers']['status-code']); - $this->assertNotEmpty(200, $file['body']); - $this->assertGreaterThan(1, $file['headers']['content-length']); - $this->assertEquals('image/png', $file['headers']['content-type']); - - $screenshotDarkHash = \md5($file['body']); - $this->assertNotEmpty($screenshotDarkHash); - - $this->assertNotEquals($screenshotDarkHash, $screenshotHash); - - $file = $this->client->call(Client::METHOD_GET, "/storage/buckets/screenshots/files/$screenshotId/view?project=console"); - $this->assertEquals(404, $file['headers']['status-code']); - - $file = $this->client->call(Client::METHOD_GET, "/storage/buckets/screenshots/files/$screenshotId/view?project=console"); - $this->assertEquals(404, $file['headers']['status-code']); - - $this->cleanupSite($siteId); - } - public function testSiteDownload(): void { $siteId = $this->setupSite([ diff --git a/tests/unit/Utopia/RequestTest.php b/tests/unit/Utopia/RequestTest.php index e19fdbe01f..26273f154e 100644 --- a/tests/unit/Utopia/RequestTest.php +++ b/tests/unit/Utopia/RequestTest.php @@ -34,6 +34,7 @@ class RequestTest extends TestCase $route = new Route(Request::METHOD_GET, '/test'); $route->label('sdk', new Method( namespace: 'namespace', + group: 'group', name: 'method', description: 'description', auth: [],